startup-ui 0.5.0 → 0.5.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (41) hide show
  1. package/dist/index.css +1 -1
  2. package/dist/startup-ui.cjs.js +18 -26
  3. package/dist/startup-ui.cjs.js.map +1 -1
  4. package/dist/startup-ui.es.js +6978 -9944
  5. package/dist/startup-ui.es.js.map +1 -1
  6. package/dist/types/components/SActionBar.vue.d.ts.map +1 -1
  7. package/dist/types/components/SButton.vue.d.ts.map +1 -1
  8. package/dist/types/components/SCanvas.vue.d.ts.map +1 -1
  9. package/dist/types/components/SCheckbox.vue.d.ts.map +1 -1
  10. package/dist/types/components/SCheckboxGroup.vue.d.ts.map +1 -1
  11. package/dist/types/components/SConfirm/SConfirm.vue.d.ts.map +1 -1
  12. package/dist/types/components/SCopyText.vue.d.ts.map +1 -1
  13. package/dist/types/components/SDashboard.vue.d.ts.map +1 -1
  14. package/dist/types/components/SDashboardItem.vue.d.ts.map +1 -1
  15. package/dist/types/components/SDialog.vue.d.ts.map +1 -1
  16. package/dist/types/components/SDropdownMenu.vue.d.ts.map +1 -1
  17. package/dist/types/components/SFilterGroup.vue.d.ts.map +1 -1
  18. package/dist/types/components/SFooter.vue.d.ts.map +1 -1
  19. package/dist/types/components/SForm.vue.d.ts.map +1 -1
  20. package/dist/types/components/SFormRow.vue.d.ts.map +1 -1
  21. package/dist/types/components/SImagePreview.vue.d.ts.map +1 -1
  22. package/dist/types/components/SInput.vue.d.ts.map +1 -1
  23. package/dist/types/components/SNote.vue.d.ts.map +1 -1
  24. package/dist/types/components/SProgressbar.vue.d.ts.map +1 -1
  25. package/dist/types/components/SRadio.vue.d.ts.map +1 -1
  26. package/dist/types/components/SRadioGroup.vue.d.ts.map +1 -1
  27. package/dist/types/components/SSelect.vue.d.ts.map +1 -1
  28. package/dist/types/components/SStat.vue.d.ts.map +1 -1
  29. package/dist/types/components/SStatus.vue.d.ts.map +1 -1
  30. package/dist/types/components/SSwitch.vue.d.ts.map +1 -1
  31. package/dist/types/components/STable.vue.d.ts.map +1 -1
  32. package/dist/types/components/STag.vue.d.ts.map +1 -1
  33. package/dist/types/components/STimeline.vue.d.ts.map +1 -1
  34. package/dist/types/components/SToggle.vue.d.ts.map +1 -1
  35. package/dist/types/components/SToggleGroup.vue.d.ts.map +1 -1
  36. package/dist/types/components/STooltip.vue.d.ts.map +1 -1
  37. package/dist/types/components/STree.vue.d.ts.map +1 -1
  38. package/dist/types/components/SUpload.vue.d.ts.map +1 -1
  39. package/dist/types/index.d.ts +2 -0
  40. package/dist/types/index.d.ts.map +1 -1
  41. package/package.json +3 -2
@@ -1,24 +1,11 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const a=require("vue"),Ct=require("@vueuse/core"),lf=require("@tinymce/tinymce-vue");require("tinymce/tinymce");require("tinymce/skins/ui/oxide/skin.min.css");require("tinymce/skins/ui/oxide/content.min.css");function yl(e,t){return function(){return e.apply(t,arguments)}}const{toString:cf}=Object.prototype,{getPrototypeOf:ci}=Object,{iterator:Qn,toStringTag:vl}=Symbol,Zn=(e=>t=>{const r=cf.call(t);return e[r]||(e[r]=r.slice(8,-1).toLowerCase())})(Object.create(null)),ze=e=>(e=e.toLowerCase(),t=>Zn(t)===e),ea=e=>t=>typeof t===e,{isArray:or}=Array,er=ea("undefined");function zr(e){return e!==null&&!er(e)&&e.constructor!==null&&!er(e.constructor)&&Ce(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const gl=ze("ArrayBuffer");function uf(e){let t;return typeof ArrayBuffer!="undefined"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&gl(e.buffer),t}const ff=ea("string"),Ce=ea("function"),bl=ea("number"),Hr=e=>e!==null&&typeof e=="object",df=e=>e===!0||e===!1,Cn=e=>{if(Zn(e)!=="object")return!1;const t=ci(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(vl in e)&&!(Qn in e)},pf=e=>{if(!Hr(e)||zr(e))return!1;try{return Object.keys(e).length===0&&Object.getPrototypeOf(e)===Object.prototype}catch{return!1}},mf=ze("Date"),hf=ze("File"),yf=ze("Blob"),vf=ze("FileList"),gf=e=>Hr(e)&&Ce(e.pipe),bf=e=>{let t;return e&&(typeof FormData=="function"&&e instanceof FormData||Ce(e.append)&&((t=Zn(e))==="formdata"||t==="object"&&Ce(e.toString)&&e.toString()==="[object FormData]"))},Sf=ze("URLSearchParams"),[wf,Ef,kf,Af]=["ReadableStream","Request","Response","Headers"].map(ze),xf=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function Wr(e,t,{allOwnKeys:r=!1}={}){if(e===null||typeof e=="undefined")return;let n,o;if(typeof e!="object"&&(e=[e]),or(e))for(n=0,o=e.length;n<o;n++)t.call(null,e[n],n,e);else{if(zr(e))return;const i=r?Object.getOwnPropertyNames(e):Object.keys(e),s=i.length;let c;for(n=0;n<s;n++)c=i[n],t.call(null,e[c],c,e)}}function Sl(e,t){if(zr(e))return null;t=t.toLowerCase();const r=Object.keys(e);let n=r.length,o;for(;n-- >0;)if(o=r[n],t===o.toLowerCase())return o;return null}const xt=typeof globalThis!="undefined"?globalThis:typeof self!="undefined"?self:typeof window!="undefined"?window:global,wl=e=>!er(e)&&e!==xt;function Mo(){const{caseless:e,skipUndefined:t}=wl(this)&&this||{},r={},n=(o,i)=>{const s=e&&Sl(r,i)||i;Cn(r[s])&&Cn(o)?r[s]=Mo(r[s],o):Cn(o)?r[s]=Mo({},o):or(o)?r[s]=o.slice():(!t||!er(o))&&(r[s]=o)};for(let o=0,i=arguments.length;o<i;o++)arguments[o]&&Wr(arguments[o],n);return r}const Of=(e,t,r,{allOwnKeys:n}={})=>(Wr(t,(o,i)=>{r&&Ce(o)?e[i]=yl(o,r):e[i]=o},{allOwnKeys:n}),e),_f=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),$f=(e,t,r,n)=>{e.prototype=Object.create(t.prototype,n),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),r&&Object.assign(e.prototype,r)},Cf=(e,t,r,n)=>{let o,i,s;const c={};if(t=t||{},e==null)return t;do{for(o=Object.getOwnPropertyNames(e),i=o.length;i-- >0;)s=o[i],(!n||n(s,e,t))&&!c[s]&&(t[s]=e[s],c[s]=!0);e=r!==!1&&ci(e)}while(e&&(!r||r(e,t))&&e!==Object.prototype);return t},Tf=(e,t,r)=>{e=String(e),(r===void 0||r>e.length)&&(r=e.length),r-=t.length;const n=e.indexOf(t,r);return n!==-1&&n===r},Nf=e=>{if(!e)return null;if(or(e))return e;let t=e.length;if(!bl(t))return null;const r=new Array(t);for(;t-- >0;)r[t]=e[t];return r},Pf=(e=>t=>e&&t instanceof e)(typeof Uint8Array!="undefined"&&ci(Uint8Array)),Bf=(e,t)=>{const n=(e&&e[Qn]).call(e);let o;for(;(o=n.next())&&!o.done;){const i=o.value;t.call(e,i[0],i[1])}},If=(e,t)=>{let r;const n=[];for(;(r=e.exec(t))!==null;)n.push(r);return n},Mf=ze("HTMLFormElement"),Ff=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(r,n,o){return n.toUpperCase()+o}),Mi=(({hasOwnProperty:e})=>(t,r)=>e.call(t,r))(Object.prototype),Rf=ze("RegExp"),El=(e,t)=>{const r=Object.getOwnPropertyDescriptors(e),n={};Wr(r,(o,i)=>{let s;(s=t(o,i,e))!==!1&&(n[i]=s||o)}),Object.defineProperties(e,n)},Df=e=>{El(e,(t,r)=>{if(Ce(e)&&["arguments","caller","callee"].indexOf(r)!==-1)return!1;const n=e[r];if(Ce(n)){if(t.enumerable=!1,"writable"in t){t.writable=!1;return}t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+r+"'")})}})},jf=(e,t)=>{const r={},n=o=>{o.forEach(i=>{r[i]=!0})};return or(e)?n(e):n(String(e).split(t)),r},Lf=()=>{},Vf=(e,t)=>e!=null&&Number.isFinite(e=+e)?e:t;function Uf(e){return!!(e&&Ce(e.append)&&e[vl]==="FormData"&&e[Qn])}const zf=e=>{const t=new Array(10),r=(n,o)=>{if(Hr(n)){if(t.indexOf(n)>=0)return;if(zr(n))return n;if(!("toJSON"in n)){t[o]=n;const i=or(n)?[]:{};return Wr(n,(s,c)=>{const u=r(s,o+1);!er(u)&&(i[c]=u)}),t[o]=void 0,i}}return n};return r(e,0)},Hf=ze("AsyncFunction"),Wf=e=>e&&(Hr(e)||Ce(e))&&Ce(e.then)&&Ce(e.catch),kl=((e,t)=>e?setImmediate:t?((r,n)=>(xt.addEventListener("message",({source:o,data:i})=>{o===xt&&i===r&&n.length&&n.shift()()},!1),o=>{n.push(o),xt.postMessage(r,"*")}))(`axios@${Math.random()}`,[]):r=>setTimeout(r))(typeof setImmediate=="function",Ce(xt.postMessage)),qf=typeof queueMicrotask!="undefined"?queueMicrotask.bind(xt):typeof process!="undefined"&&process.nextTick||kl,Yf=e=>e!=null&&Ce(e[Qn]),E={isArray:or,isArrayBuffer:gl,isBuffer:zr,isFormData:bf,isArrayBufferView:uf,isString:ff,isNumber:bl,isBoolean:df,isObject:Hr,isPlainObject:Cn,isEmptyObject:pf,isReadableStream:wf,isRequest:Ef,isResponse:kf,isHeaders:Af,isUndefined:er,isDate:mf,isFile:hf,isBlob:yf,isRegExp:Rf,isFunction:Ce,isStream:gf,isURLSearchParams:Sf,isTypedArray:Pf,isFileList:vf,forEach:Wr,merge:Mo,extend:Of,trim:xf,stripBOM:_f,inherits:$f,toFlatObject:Cf,kindOf:Zn,kindOfTest:ze,endsWith:Tf,toArray:Nf,forEachEntry:Bf,matchAll:If,isHTMLForm:Mf,hasOwnProperty:Mi,hasOwnProp:Mi,reduceDescriptors:El,freezeMethods:Df,toObjectSet:jf,toCamelCase:Ff,noop:Lf,toFiniteNumber:Vf,findKey:Sl,global:xt,isContextDefined:wl,isSpecCompliantForm:Uf,toJSONObject:zf,isAsyncFn:Hf,isThenable:Wf,setImmediate:kl,asap:qf,isIterable:Yf};function G(e,t,r,n,o){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=e,this.name="AxiosError",t&&(this.code=t),r&&(this.config=r),n&&(this.request=n),o&&(this.response=o,this.status=o.status?o.status:null)}E.inherits(G,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:E.toJSONObject(this.config),code:this.code,status:this.status}}});const Al=G.prototype,xl={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(e=>{xl[e]={value:e}});Object.defineProperties(G,xl);Object.defineProperty(Al,"isAxiosError",{value:!0});G.from=(e,t,r,n,o,i)=>{const s=Object.create(Al);E.toFlatObject(e,s,function(d){return d!==Error.prototype},f=>f!=="isAxiosError");const c=e&&e.message?e.message:"Error",u=t==null&&e?e.code:t;return G.call(s,c,u,r,n,o),e&&s.cause==null&&Object.defineProperty(s,"cause",{value:e,configurable:!0}),s.name=e&&e.name||"Error",i&&Object.assign(s,i),s};const Gf=null;function Fo(e){return E.isPlainObject(e)||E.isArray(e)}function Ol(e){return E.endsWith(e,"[]")?e.slice(0,-2):e}function Fi(e,t,r){return e?e.concat(t).map(function(o,i){return o=Ol(o),!r&&i?"["+o+"]":o}).join(r?".":""):t}function Kf(e){return E.isArray(e)&&!e.some(Fo)}const Jf=E.toFlatObject(E,{},null,function(t){return/^is[A-Z]/.test(t)});function ta(e,t,r){if(!E.isObject(e))throw new TypeError("target must be an object");t=t||new FormData,r=E.toFlatObject(r,{metaTokens:!0,dots:!1,indexes:!1},!1,function(y,b){return!E.isUndefined(b[y])});const n=r.metaTokens,o=r.visitor||d,i=r.dots,s=r.indexes,u=(r.Blob||typeof Blob!="undefined"&&Blob)&&E.isSpecCompliantForm(t);if(!E.isFunction(o))throw new TypeError("visitor must be a function");function f(m){if(m===null)return"";if(E.isDate(m))return m.toISOString();if(E.isBoolean(m))return m.toString();if(!u&&E.isBlob(m))throw new G("Blob is not supported. Use a Buffer instead.");return E.isArrayBuffer(m)||E.isTypedArray(m)?u&&typeof Blob=="function"?new Blob([m]):Buffer.from(m):m}function d(m,y,b){let S=m;if(m&&!b&&typeof m=="object"){if(E.endsWith(y,"{}"))y=n?y:y.slice(0,-2),m=JSON.stringify(m);else if(E.isArray(m)&&Kf(m)||(E.isFileList(m)||E.endsWith(y,"[]"))&&(S=E.toArray(m)))return y=Ol(y),S.forEach(function(O,M){!(E.isUndefined(O)||O===null)&&t.append(s===!0?Fi([y],M,i):s===null?y:y+"[]",f(O))}),!1}return Fo(m)?!0:(t.append(Fi(b,y,i),f(m)),!1)}const h=[],v=Object.assign(Jf,{defaultVisitor:d,convertValue:f,isVisitable:Fo});function w(m,y){if(!E.isUndefined(m)){if(h.indexOf(m)!==-1)throw Error("Circular reference detected in "+y.join("."));h.push(m),E.forEach(m,function(S,k){(!(E.isUndefined(S)||S===null)&&o.call(t,S,E.isString(k)?k.trim():k,y,v))===!0&&w(S,y?y.concat(k):[k])}),h.pop()}}if(!E.isObject(e))throw new TypeError("data must be an object");return w(e),t}function Ri(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(n){return t[n]})}function ui(e,t){this._pairs=[],e&&ta(e,this,t)}const _l=ui.prototype;_l.append=function(t,r){this._pairs.push([t,r])};_l.toString=function(t){const r=t?function(n){return t.call(this,n,Ri)}:Ri;return this._pairs.map(function(o){return r(o[0])+"="+r(o[1])},"").join("&")};function Xf(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+")}function $l(e,t,r){if(!t)return e;const n=r&&r.encode||Xf;E.isFunction(r)&&(r={serialize:r});const o=r&&r.serialize;let i;if(o?i=o(t,r):i=E.isURLSearchParams(t)?t.toString():new ui(t,r).toString(n),i){const s=e.indexOf("#");s!==-1&&(e=e.slice(0,s)),e+=(e.indexOf("?")===-1?"?":"&")+i}return e}class Di{constructor(){this.handlers=[]}use(t,r,n){return this.handlers.push({fulfilled:t,rejected:r,synchronous:n?n.synchronous:!1,runWhen:n?n.runWhen:null}),this.handlers.length-1}eject(t){this.handlers[t]&&(this.handlers[t]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(t){E.forEach(this.handlers,function(n){n!==null&&t(n)})}}const Cl={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},Qf=typeof URLSearchParams!="undefined"?URLSearchParams:ui,Zf=typeof FormData!="undefined"?FormData:null,ed=typeof Blob!="undefined"?Blob:null,td={isBrowser:!0,classes:{URLSearchParams:Qf,FormData:Zf,Blob:ed},protocols:["http","https","file","blob","url","data"]},fi=typeof window!="undefined"&&typeof document!="undefined",Ro=typeof navigator=="object"&&navigator||void 0,rd=fi&&(!Ro||["ReactNative","NativeScript","NS"].indexOf(Ro.product)<0),nd=typeof WorkerGlobalScope!="undefined"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",ad=fi&&window.location.href||"http://localhost",od=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:fi,hasStandardBrowserEnv:rd,hasStandardBrowserWebWorkerEnv:nd,navigator:Ro,origin:ad},Symbol.toStringTag,{value:"Module"})),ke={...od,...td};function id(e,t){return ta(e,new ke.classes.URLSearchParams,{visitor:function(r,n,o,i){return ke.isNode&&E.isBuffer(r)?(this.append(n,r.toString("base64")),!1):i.defaultVisitor.apply(this,arguments)},...t})}function sd(e){return E.matchAll(/\w+|\[(\w*)]/g,e).map(t=>t[0]==="[]"?"":t[1]||t[0])}function ld(e){const t={},r=Object.keys(e);let n;const o=r.length;let i;for(n=0;n<o;n++)i=r[n],t[i]=e[i];return t}function Tl(e){function t(r,n,o,i){let s=r[i++];if(s==="__proto__")return!0;const c=Number.isFinite(+s),u=i>=r.length;return s=!s&&E.isArray(o)?o.length:s,u?(E.hasOwnProp(o,s)?o[s]=[o[s],n]:o[s]=n,!c):((!o[s]||!E.isObject(o[s]))&&(o[s]=[]),t(r,n,o[s],i)&&E.isArray(o[s])&&(o[s]=ld(o[s])),!c)}if(E.isFormData(e)&&E.isFunction(e.entries)){const r={};return E.forEachEntry(e,(n,o)=>{t(sd(n),o,r,0)}),r}return null}function cd(e,t,r){if(E.isString(e))try{return(t||JSON.parse)(e),E.trim(e)}catch(n){if(n.name!=="SyntaxError")throw n}return(r||JSON.stringify)(e)}const qr={transitional:Cl,adapter:["xhr","http","fetch"],transformRequest:[function(t,r){const n=r.getContentType()||"",o=n.indexOf("application/json")>-1,i=E.isObject(t);if(i&&E.isHTMLForm(t)&&(t=new FormData(t)),E.isFormData(t))return o?JSON.stringify(Tl(t)):t;if(E.isArrayBuffer(t)||E.isBuffer(t)||E.isStream(t)||E.isFile(t)||E.isBlob(t)||E.isReadableStream(t))return t;if(E.isArrayBufferView(t))return t.buffer;if(E.isURLSearchParams(t))return r.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let c;if(i){if(n.indexOf("application/x-www-form-urlencoded")>-1)return id(t,this.formSerializer).toString();if((c=E.isFileList(t))||n.indexOf("multipart/form-data")>-1){const u=this.env&&this.env.FormData;return ta(c?{"files[]":t}:t,u&&new u,this.formSerializer)}}return i||o?(r.setContentType("application/json",!1),cd(t)):t}],transformResponse:[function(t){const r=this.transitional||qr.transitional,n=r&&r.forcedJSONParsing,o=this.responseType==="json";if(E.isResponse(t)||E.isReadableStream(t))return t;if(t&&E.isString(t)&&(n&&!this.responseType||o)){const s=!(r&&r.silentJSONParsing)&&o;try{return JSON.parse(t,this.parseReviver)}catch(c){if(s)throw c.name==="SyntaxError"?G.from(c,G.ERR_BAD_RESPONSE,this,null,this.response):c}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:ke.classes.FormData,Blob:ke.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};E.forEach(["delete","get","head","post","put","patch"],e=>{qr.headers[e]={}});const ud=E.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),fd=e=>{const t={};let r,n,o;return e&&e.split(`
2
- `).forEach(function(s){o=s.indexOf(":"),r=s.substring(0,o).trim().toLowerCase(),n=s.substring(o+1).trim(),!(!r||t[r]&&ud[r])&&(r==="set-cookie"?t[r]?t[r].push(n):t[r]=[n]:t[r]=t[r]?t[r]+", "+n:n)}),t},ji=Symbol("internals");function Or(e){return e&&String(e).trim().toLowerCase()}function Tn(e){return e===!1||e==null?e:E.isArray(e)?e.map(Tn):String(e)}function dd(e){const t=Object.create(null),r=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let n;for(;n=r.exec(e);)t[n[1]]=n[2];return t}const pd=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function eo(e,t,r,n,o){if(E.isFunction(n))return n.call(this,t,r);if(o&&(t=r),!!E.isString(t)){if(E.isString(n))return t.indexOf(n)!==-1;if(E.isRegExp(n))return n.test(t)}}function md(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,r,n)=>r.toUpperCase()+n)}function hd(e,t){const r=E.toCamelCase(" "+t);["get","set","has"].forEach(n=>{Object.defineProperty(e,n+r,{value:function(o,i,s){return this[n].call(this,t,o,i,s)},configurable:!0})})}let Te=class{constructor(t){t&&this.set(t)}set(t,r,n){const o=this;function i(c,u,f){const d=Or(u);if(!d)throw new Error("header name must be a non-empty string");const h=E.findKey(o,d);(!h||o[h]===void 0||f===!0||f===void 0&&o[h]!==!1)&&(o[h||u]=Tn(c))}const s=(c,u)=>E.forEach(c,(f,d)=>i(f,d,u));if(E.isPlainObject(t)||t instanceof this.constructor)s(t,r);else if(E.isString(t)&&(t=t.trim())&&!pd(t))s(fd(t),r);else if(E.isObject(t)&&E.isIterable(t)){let c={},u,f;for(const d of t){if(!E.isArray(d))throw TypeError("Object iterator must return a key-value pair");c[f=d[0]]=(u=c[f])?E.isArray(u)?[...u,d[1]]:[u,d[1]]:d[1]}s(c,r)}else t!=null&&i(r,t,n);return this}get(t,r){if(t=Or(t),t){const n=E.findKey(this,t);if(n){const o=this[n];if(!r)return o;if(r===!0)return dd(o);if(E.isFunction(r))return r.call(this,o,n);if(E.isRegExp(r))return r.exec(o);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,r){if(t=Or(t),t){const n=E.findKey(this,t);return!!(n&&this[n]!==void 0&&(!r||eo(this,this[n],n,r)))}return!1}delete(t,r){const n=this;let o=!1;function i(s){if(s=Or(s),s){const c=E.findKey(n,s);c&&(!r||eo(n,n[c],c,r))&&(delete n[c],o=!0)}}return E.isArray(t)?t.forEach(i):i(t),o}clear(t){const r=Object.keys(this);let n=r.length,o=!1;for(;n--;){const i=r[n];(!t||eo(this,this[i],i,t,!0))&&(delete this[i],o=!0)}return o}normalize(t){const r=this,n={};return E.forEach(this,(o,i)=>{const s=E.findKey(n,i);if(s){r[s]=Tn(o),delete r[i];return}const c=t?md(i):String(i).trim();c!==i&&delete r[i],r[c]=Tn(o),n[c]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const r=Object.create(null);return E.forEach(this,(n,o)=>{n!=null&&n!==!1&&(r[o]=t&&E.isArray(n)?n.join(", "):n)}),r}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([t,r])=>t+": "+r).join(`
3
- `)}getSetCookie(){return this.get("set-cookie")||[]}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...r){const n=new this(t);return r.forEach(o=>n.set(o)),n}static accessor(t){const n=(this[ji]=this[ji]={accessors:{}}).accessors,o=this.prototype;function i(s){const c=Or(s);n[c]||(hd(o,s),n[c]=!0)}return E.isArray(t)?t.forEach(i):i(t),this}};Te.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);E.reduceDescriptors(Te.prototype,({value:e},t)=>{let r=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(n){this[r]=n}}});E.freezeMethods(Te);function to(e,t){const r=this||qr,n=t||r,o=Te.from(n.headers);let i=n.data;return E.forEach(e,function(c){i=c.call(r,i,o.normalize(),t?t.status:void 0)}),o.normalize(),i}function Nl(e){return!!(e&&e.__CANCEL__)}function ir(e,t,r){G.call(this,e==null?"canceled":e,G.ERR_CANCELED,t,r),this.name="CanceledError"}E.inherits(ir,G,{__CANCEL__:!0});function Pl(e,t,r){const n=r.config.validateStatus;!r.status||!n||n(r.status)?e(r):t(new G("Request failed with status code "+r.status,[G.ERR_BAD_REQUEST,G.ERR_BAD_RESPONSE][Math.floor(r.status/100)-4],r.config,r.request,r))}function yd(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function vd(e,t){e=e||10;const r=new Array(e),n=new Array(e);let o=0,i=0,s;return t=t!==void 0?t:1e3,function(u){const f=Date.now(),d=n[i];s||(s=f),r[o]=u,n[o]=f;let h=i,v=0;for(;h!==o;)v+=r[h++],h=h%e;if(o=(o+1)%e,o===i&&(i=(i+1)%e),f-s<t)return;const w=d&&f-d;return w?Math.round(v*1e3/w):void 0}}function gd(e,t){let r=0,n=1e3/t,o,i;const s=(f,d=Date.now())=>{r=d,o=null,i&&(clearTimeout(i),i=null),e(...f)};return[(...f)=>{const d=Date.now(),h=d-r;h>=n?s(f,d):(o=f,i||(i=setTimeout(()=>{i=null,s(o)},n-h)))},()=>o&&s(o)]}const jn=(e,t,r=3)=>{let n=0;const o=vd(50,250);return gd(i=>{const s=i.loaded,c=i.lengthComputable?i.total:void 0,u=s-n,f=o(u),d=s<=c;n=s;const h={loaded:s,total:c,progress:c?s/c:void 0,bytes:u,rate:f||void 0,estimated:f&&c&&d?(c-s)/f:void 0,event:i,lengthComputable:c!=null,[t?"download":"upload"]:!0};e(h)},r)},Li=(e,t)=>{const r=e!=null;return[n=>t[0]({lengthComputable:r,total:e,loaded:n}),t[1]]},Vi=e=>(...t)=>E.asap(()=>e(...t)),bd=ke.hasStandardBrowserEnv?((e,t)=>r=>(r=new URL(r,ke.origin),e.protocol===r.protocol&&e.host===r.host&&(t||e.port===r.port)))(new URL(ke.origin),ke.navigator&&/(msie|trident)/i.test(ke.navigator.userAgent)):()=>!0,Sd=ke.hasStandardBrowserEnv?{write(e,t,r,n,o,i,s){if(typeof document=="undefined")return;const c=[`${e}=${encodeURIComponent(t)}`];E.isNumber(r)&&c.push(`expires=${new Date(r).toUTCString()}`),E.isString(n)&&c.push(`path=${n}`),E.isString(o)&&c.push(`domain=${o}`),i===!0&&c.push("secure"),E.isString(s)&&c.push(`SameSite=${s}`),document.cookie=c.join("; ")},read(e){if(typeof document=="undefined")return null;const t=document.cookie.match(new RegExp("(?:^|; )"+e+"=([^;]*)"));return t?decodeURIComponent(t[1]):null},remove(e){this.write(e,"",Date.now()-864e5,"/")}}:{write(){},read(){return null},remove(){}};function wd(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function Ed(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}function Bl(e,t,r){let n=!wd(t);return e&&(n||r==!1)?Ed(e,t):t}const Ui=e=>e instanceof Te?{...e}:e;function Tt(e,t){t=t||{};const r={};function n(f,d,h,v){return E.isPlainObject(f)&&E.isPlainObject(d)?E.merge.call({caseless:v},f,d):E.isPlainObject(d)?E.merge({},d):E.isArray(d)?d.slice():d}function o(f,d,h,v){if(E.isUndefined(d)){if(!E.isUndefined(f))return n(void 0,f,h,v)}else return n(f,d,h,v)}function i(f,d){if(!E.isUndefined(d))return n(void 0,d)}function s(f,d){if(E.isUndefined(d)){if(!E.isUndefined(f))return n(void 0,f)}else return n(void 0,d)}function c(f,d,h){if(h in t)return n(f,d);if(h in e)return n(void 0,f)}const u={url:i,method:i,data:i,baseURL:s,transformRequest:s,transformResponse:s,paramsSerializer:s,timeout:s,timeoutMessage:s,withCredentials:s,withXSRFToken:s,adapter:s,responseType:s,xsrfCookieName:s,xsrfHeaderName:s,onUploadProgress:s,onDownloadProgress:s,decompress:s,maxContentLength:s,maxBodyLength:s,beforeRedirect:s,transport:s,httpAgent:s,httpsAgent:s,cancelToken:s,socketPath:s,responseEncoding:s,validateStatus:c,headers:(f,d,h)=>o(Ui(f),Ui(d),h,!0)};return E.forEach(Object.keys({...e,...t}),function(d){const h=u[d]||o,v=h(e[d],t[d],d);E.isUndefined(v)&&h!==c||(r[d]=v)}),r}const Il=e=>{const t=Tt({},e);let{data:r,withXSRFToken:n,xsrfHeaderName:o,xsrfCookieName:i,headers:s,auth:c}=t;if(t.headers=s=Te.from(s),t.url=$l(Bl(t.baseURL,t.url,t.allowAbsoluteUrls),e.params,e.paramsSerializer),c&&s.set("Authorization","Basic "+btoa((c.username||"")+":"+(c.password?unescape(encodeURIComponent(c.password)):""))),E.isFormData(r)){if(ke.hasStandardBrowserEnv||ke.hasStandardBrowserWebWorkerEnv)s.setContentType(void 0);else if(E.isFunction(r.getHeaders)){const u=r.getHeaders(),f=["content-type","content-length"];Object.entries(u).forEach(([d,h])=>{f.includes(d.toLowerCase())&&s.set(d,h)})}}if(ke.hasStandardBrowserEnv&&(n&&E.isFunction(n)&&(n=n(t)),n||n!==!1&&bd(t.url))){const u=o&&i&&Sd.read(i);u&&s.set(o,u)}return t},kd=typeof XMLHttpRequest!="undefined",Ad=kd&&function(e){return new Promise(function(r,n){const o=Il(e);let i=o.data;const s=Te.from(o.headers).normalize();let{responseType:c,onUploadProgress:u,onDownloadProgress:f}=o,d,h,v,w,m;function y(){w&&w(),m&&m(),o.cancelToken&&o.cancelToken.unsubscribe(d),o.signal&&o.signal.removeEventListener("abort",d)}let b=new XMLHttpRequest;b.open(o.method.toUpperCase(),o.url,!0),b.timeout=o.timeout;function S(){if(!b)return;const O=Te.from("getAllResponseHeaders"in b&&b.getAllResponseHeaders()),R={data:!c||c==="text"||c==="json"?b.responseText:b.response,status:b.status,statusText:b.statusText,headers:O,config:e,request:b};Pl(function(j){r(j),y()},function(j){n(j),y()},R),b=null}"onloadend"in b?b.onloadend=S:b.onreadystatechange=function(){!b||b.readyState!==4||b.status===0&&!(b.responseURL&&b.responseURL.indexOf("file:")===0)||setTimeout(S)},b.onabort=function(){b&&(n(new G("Request aborted",G.ECONNABORTED,e,b)),b=null)},b.onerror=function(M){const R=M&&M.message?M.message:"Network Error",I=new G(R,G.ERR_NETWORK,e,b);I.event=M||null,n(I),b=null},b.ontimeout=function(){let M=o.timeout?"timeout of "+o.timeout+"ms exceeded":"timeout exceeded";const R=o.transitional||Cl;o.timeoutErrorMessage&&(M=o.timeoutErrorMessage),n(new G(M,R.clarifyTimeoutError?G.ETIMEDOUT:G.ECONNABORTED,e,b)),b=null},i===void 0&&s.setContentType(null),"setRequestHeader"in b&&E.forEach(s.toJSON(),function(M,R){b.setRequestHeader(R,M)}),E.isUndefined(o.withCredentials)||(b.withCredentials=!!o.withCredentials),c&&c!=="json"&&(b.responseType=o.responseType),f&&([v,m]=jn(f,!0),b.addEventListener("progress",v)),u&&b.upload&&([h,w]=jn(u),b.upload.addEventListener("progress",h),b.upload.addEventListener("loadend",w)),(o.cancelToken||o.signal)&&(d=O=>{b&&(n(!O||O.type?new ir(null,e,b):O),b.abort(),b=null)},o.cancelToken&&o.cancelToken.subscribe(d),o.signal&&(o.signal.aborted?d():o.signal.addEventListener("abort",d)));const k=yd(o.url);if(k&&ke.protocols.indexOf(k)===-1){n(new G("Unsupported protocol "+k+":",G.ERR_BAD_REQUEST,e));return}b.send(i||null)})},xd=(e,t)=>{const{length:r}=e=e?e.filter(Boolean):[];if(t||r){let n=new AbortController,o;const i=function(f){if(!o){o=!0,c();const d=f instanceof Error?f:this.reason;n.abort(d instanceof G?d:new ir(d instanceof Error?d.message:d))}};let s=t&&setTimeout(()=>{s=null,i(new G(`timeout ${t} of ms exceeded`,G.ETIMEDOUT))},t);const c=()=>{e&&(s&&clearTimeout(s),s=null,e.forEach(f=>{f.unsubscribe?f.unsubscribe(i):f.removeEventListener("abort",i)}),e=null)};e.forEach(f=>f.addEventListener("abort",i));const{signal:u}=n;return u.unsubscribe=()=>E.asap(c),u}},Od=function*(e,t){let r=e.byteLength;if(r<t){yield e;return}let n=0,o;for(;n<r;)o=n+t,yield e.slice(n,o),n=o},_d=async function*(e,t){for await(const r of $d(e))yield*Od(r,t)},$d=async function*(e){if(e[Symbol.asyncIterator]){yield*e;return}const t=e.getReader();try{for(;;){const{done:r,value:n}=await t.read();if(r)break;yield n}}finally{await t.cancel()}},zi=(e,t,r,n)=>{const o=_d(e,t);let i=0,s,c=u=>{s||(s=!0,n&&n(u))};return new ReadableStream({async pull(u){try{const{done:f,value:d}=await o.next();if(f){c(),u.close();return}let h=d.byteLength;if(r){let v=i+=h;r(v)}u.enqueue(new Uint8Array(d))}catch(f){throw c(f),f}},cancel(u){return c(u),o.return()}},{highWaterMark:2})},Hi=64*1024,{isFunction:Sn}=E,Cd=(({Request:e,Response:t})=>({Request:e,Response:t}))(E.global),{ReadableStream:Wi,TextEncoder:qi}=E.global,Yi=(e,...t)=>{try{return!!e(...t)}catch{return!1}},Td=e=>{e=E.merge.call({skipUndefined:!0},Cd,e);const{fetch:t,Request:r,Response:n}=e,o=t?Sn(t):typeof fetch=="function",i=Sn(r),s=Sn(n);if(!o)return!1;const c=o&&Sn(Wi),u=o&&(typeof qi=="function"?(m=>y=>m.encode(y))(new qi):async m=>new Uint8Array(await new r(m).arrayBuffer())),f=i&&c&&Yi(()=>{let m=!1;const y=new r(ke.origin,{body:new Wi,method:"POST",get duplex(){return m=!0,"half"}}).headers.has("Content-Type");return m&&!y}),d=s&&c&&Yi(()=>E.isReadableStream(new n("").body)),h={stream:d&&(m=>m.body)};o&&["text","arrayBuffer","blob","formData","stream"].forEach(m=>{!h[m]&&(h[m]=(y,b)=>{let S=y&&y[m];if(S)return S.call(y);throw new G(`Response type '${m}' is not supported`,G.ERR_NOT_SUPPORT,b)})});const v=async m=>{if(m==null)return 0;if(E.isBlob(m))return m.size;if(E.isSpecCompliantForm(m))return(await new r(ke.origin,{method:"POST",body:m}).arrayBuffer()).byteLength;if(E.isArrayBufferView(m)||E.isArrayBuffer(m))return m.byteLength;if(E.isURLSearchParams(m)&&(m=m+""),E.isString(m))return(await u(m)).byteLength},w=async(m,y)=>{const b=E.toFiniteNumber(m.getContentLength());return b==null?v(y):b};return async m=>{let{url:y,method:b,data:S,signal:k,cancelToken:O,timeout:M,onDownloadProgress:R,onUploadProgress:I,responseType:j,headers:W,withCredentials:D="same-origin",fetchOptions:_}=Il(m),$=t||fetch;j=j?(j+"").toLowerCase():"text";let L=xd([k,O&&O.toAbortSignal()],M),C=null;const B=L&&L.unsubscribe&&(()=>{L.unsubscribe()});let T;try{if(I&&f&&b!=="get"&&b!=="head"&&(T=await w(W,S))!==0){let X=new r(y,{method:"POST",body:S,duplex:"half"}),te;if(E.isFormData(S)&&(te=X.headers.get("content-type"))&&W.setContentType(te),X.body){const[Z,ae]=Li(T,jn(Vi(I)));S=zi(X.body,Hi,Z,ae)}}E.isString(D)||(D=D?"include":"omit");const x=i&&"credentials"in r.prototype,V={..._,signal:L,method:b.toUpperCase(),headers:W.normalize().toJSON(),body:S,duplex:"half",credentials:x?D:void 0};C=i&&new r(y,V);let N=await(i?$(C,_):$(y,V));const U=d&&(j==="stream"||j==="response");if(d&&(R||U&&B)){const X={};["status","statusText","headers"].forEach(q=>{X[q]=N[q]});const te=E.toFiniteNumber(N.headers.get("content-length")),[Z,ae]=R&&Li(te,jn(Vi(R),!0))||[];N=new n(zi(N.body,Hi,Z,()=>{ae&&ae(),B&&B()}),X)}j=j||"text";let F=await h[E.findKey(h,j)||"text"](N,m);return!U&&B&&B(),await new Promise((X,te)=>{Pl(X,te,{data:F,headers:Te.from(N.headers),status:N.status,statusText:N.statusText,config:m,request:C})})}catch(x){throw B&&B(),x&&x.name==="TypeError"&&/Load failed|fetch/i.test(x.message)?Object.assign(new G("Network Error",G.ERR_NETWORK,m,C),{cause:x.cause||x}):G.from(x,x&&x.code,m,C)}}},Nd=new Map,Ml=e=>{let t=e&&e.env||{};const{fetch:r,Request:n,Response:o}=t,i=[n,o,r];let s=i.length,c=s,u,f,d=Nd;for(;c--;)u=i[c],f=d.get(u),f===void 0&&d.set(u,f=c?new Map:Td(t)),d=f;return f};Ml();const di={http:Gf,xhr:Ad,fetch:{get:Ml}};E.forEach(di,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch{}Object.defineProperty(e,"adapterName",{value:t})}});const Gi=e=>`- ${e}`,Pd=e=>E.isFunction(e)||e===null||e===!1;function Bd(e,t){e=E.isArray(e)?e:[e];const{length:r}=e;let n,o;const i={};for(let s=0;s<r;s++){n=e[s];let c;if(o=n,!Pd(n)&&(o=di[(c=String(n)).toLowerCase()],o===void 0))throw new G(`Unknown adapter '${c}'`);if(o&&(E.isFunction(o)||(o=o.get(t))))break;i[c||"#"+s]=o}if(!o){const s=Object.entries(i).map(([u,f])=>`adapter ${u} `+(f===!1?"is not supported by the environment":"is not available in the build"));let c=r?s.length>1?`since :
4
- `+s.map(Gi).join(`
5
- `):" "+Gi(s[0]):"as no adapter specified";throw new G("There is no suitable adapter to dispatch the request "+c,"ERR_NOT_SUPPORT")}return o}const Fl={getAdapter:Bd,adapters:di};function ro(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new ir(null,e)}function Ki(e){return ro(e),e.headers=Te.from(e.headers),e.data=to.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),Fl.getAdapter(e.adapter||qr.adapter,e)(e).then(function(n){return ro(e),n.data=to.call(e,e.transformResponse,n),n.headers=Te.from(n.headers),n},function(n){return Nl(n)||(ro(e),n&&n.response&&(n.response.data=to.call(e,e.transformResponse,n.response),n.response.headers=Te.from(n.response.headers))),Promise.reject(n)})}const Rl="1.13.2",ra={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{ra[e]=function(n){return typeof n===e||"a"+(t<1?"n ":" ")+e}});const Ji={};ra.transitional=function(t,r,n){function o(i,s){return"[Axios v"+Rl+"] Transitional option '"+i+"'"+s+(n?". "+n:"")}return(i,s,c)=>{if(t===!1)throw new G(o(s," has been removed"+(r?" in "+r:"")),G.ERR_DEPRECATED);return r&&!Ji[s]&&(Ji[s]=!0,console.warn(o(s," has been deprecated since v"+r+" and will be removed in the near future"))),t?t(i,s,c):!0}};ra.spelling=function(t){return(r,n)=>(console.warn(`${n} is likely a misspelling of ${t}`),!0)};function Id(e,t,r){if(typeof e!="object")throw new G("options must be an object",G.ERR_BAD_OPTION_VALUE);const n=Object.keys(e);let o=n.length;for(;o-- >0;){const i=n[o],s=t[i];if(s){const c=e[i],u=c===void 0||s(c,i,e);if(u!==!0)throw new G("option "+i+" must be "+u,G.ERR_BAD_OPTION_VALUE);continue}if(r!==!0)throw new G("Unknown option "+i,G.ERR_BAD_OPTION)}}const Nn={assertOptions:Id,validators:ra},Ge=Nn.validators;let _t=class{constructor(t){this.defaults=t||{},this.interceptors={request:new Di,response:new Di}}async request(t,r){try{return await this._request(t,r)}catch(n){if(n instanceof Error){let o={};Error.captureStackTrace?Error.captureStackTrace(o):o=new Error;const i=o.stack?o.stack.replace(/^.+\n/,""):"";try{n.stack?i&&!String(n.stack).endsWith(i.replace(/^.+\n.+\n/,""))&&(n.stack+=`
6
- `+i):n.stack=i}catch{}}throw n}}_request(t,r){typeof t=="string"?(r=r||{},r.url=t):r=t||{},r=Tt(this.defaults,r);const{transitional:n,paramsSerializer:o,headers:i}=r;n!==void 0&&Nn.assertOptions(n,{silentJSONParsing:Ge.transitional(Ge.boolean),forcedJSONParsing:Ge.transitional(Ge.boolean),clarifyTimeoutError:Ge.transitional(Ge.boolean)},!1),o!=null&&(E.isFunction(o)?r.paramsSerializer={serialize:o}:Nn.assertOptions(o,{encode:Ge.function,serialize:Ge.function},!0)),r.allowAbsoluteUrls!==void 0||(this.defaults.allowAbsoluteUrls!==void 0?r.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls:r.allowAbsoluteUrls=!0),Nn.assertOptions(r,{baseUrl:Ge.spelling("baseURL"),withXsrfToken:Ge.spelling("withXSRFToken")},!0),r.method=(r.method||this.defaults.method||"get").toLowerCase();let s=i&&E.merge(i.common,i[r.method]);i&&E.forEach(["delete","get","head","post","put","patch","common"],m=>{delete i[m]}),r.headers=Te.concat(s,i);const c=[];let u=!0;this.interceptors.request.forEach(function(y){typeof y.runWhen=="function"&&y.runWhen(r)===!1||(u=u&&y.synchronous,c.unshift(y.fulfilled,y.rejected))});const f=[];this.interceptors.response.forEach(function(y){f.push(y.fulfilled,y.rejected)});let d,h=0,v;if(!u){const m=[Ki.bind(this),void 0];for(m.unshift(...c),m.push(...f),v=m.length,d=Promise.resolve(r);h<v;)d=d.then(m[h++],m[h++]);return d}v=c.length;let w=r;for(;h<v;){const m=c[h++],y=c[h++];try{w=m(w)}catch(b){y.call(this,b);break}}try{d=Ki.call(this,w)}catch(m){return Promise.reject(m)}for(h=0,v=f.length;h<v;)d=d.then(f[h++],f[h++]);return d}getUri(t){t=Tt(this.defaults,t);const r=Bl(t.baseURL,t.url,t.allowAbsoluteUrls);return $l(r,t.params,t.paramsSerializer)}};E.forEach(["delete","get","head","options"],function(t){_t.prototype[t]=function(r,n){return this.request(Tt(n||{},{method:t,url:r,data:(n||{}).data}))}});E.forEach(["post","put","patch"],function(t){function r(n){return function(i,s,c){return this.request(Tt(c||{},{method:t,headers:n?{"Content-Type":"multipart/form-data"}:{},url:i,data:s}))}}_t.prototype[t]=r(),_t.prototype[t+"Form"]=r(!0)});let Md=class Dl{constructor(t){if(typeof t!="function")throw new TypeError("executor must be a function.");let r;this.promise=new Promise(function(i){r=i});const n=this;this.promise.then(o=>{if(!n._listeners)return;let i=n._listeners.length;for(;i-- >0;)n._listeners[i](o);n._listeners=null}),this.promise.then=o=>{let i;const s=new Promise(c=>{n.subscribe(c),i=c}).then(o);return s.cancel=function(){n.unsubscribe(i)},s},t(function(i,s,c){n.reason||(n.reason=new ir(i,s,c),r(n.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(t){if(this.reason){t(this.reason);return}this._listeners?this._listeners.push(t):this._listeners=[t]}unsubscribe(t){if(!this._listeners)return;const r=this._listeners.indexOf(t);r!==-1&&this._listeners.splice(r,1)}toAbortSignal(){const t=new AbortController,r=n=>{t.abort(n)};return this.subscribe(r),t.signal.unsubscribe=()=>this.unsubscribe(r),t.signal}static source(){let t;return{token:new Dl(function(o){t=o}),cancel:t}}};function Fd(e){return function(r){return e.apply(null,r)}}function Rd(e){return E.isObject(e)&&e.isAxiosError===!0}const Do={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511,WebServerIsDown:521,ConnectionTimedOut:522,OriginIsUnreachable:523,TimeoutOccurred:524,SslHandshakeFailed:525,InvalidSslCertificate:526};Object.entries(Do).forEach(([e,t])=>{Do[t]=e});function jl(e){const t=new _t(e),r=yl(_t.prototype.request,t);return E.extend(r,_t.prototype,t,{allOwnKeys:!0}),E.extend(r,t,null,{allOwnKeys:!0}),r.create=function(o){return jl(Tt(e,o))},r}const se=jl(qr);se.Axios=_t;se.CanceledError=ir;se.CancelToken=Md;se.isCancel=Nl;se.VERSION=Rl;se.toFormData=ta;se.AxiosError=G;se.Cancel=se.CanceledError;se.all=function(t){return Promise.all(t)};se.spread=Fd;se.isAxiosError=Rd;se.mergeConfig=Tt;se.AxiosHeaders=Te;se.formToJSON=e=>Tl(E.isHTMLForm(e)?new FormData(e):e);se.getAdapter=Fl.getAdapter;se.HttpStatusCode=Do;se.default=se;const{Axios:F0,AxiosError:R0,CanceledError:D0,isCancel:j0,CancelToken:L0,VERSION:V0,all:U0,Cancel:z0,isAxiosError:H0,spread:W0,toFormData:q0,AxiosHeaders:Y0,HttpStatusCode:G0,formToJSON:K0,getAdapter:J0,mergeConfig:X0}=se;var Ae=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{};function na(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function Dd(e){if(e.__esModule)return e;var t=e.default;if(typeof t=="function"){var r=function n(){return this instanceof n?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};r.prototype=t.prototype}else r={};return Object.defineProperty(r,"__esModule",{value:!0}),Object.keys(e).forEach(function(n){var o=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(r,n,o.get?o:{enumerable:!0,get:function(){return e[n]}})}),r}var jd=function(t){return Ld(t)&&!Vd(t)};function Ld(e){return!!e&&typeof e=="object"}function Vd(e){var t=Object.prototype.toString.call(e);return t==="[object RegExp]"||t==="[object Date]"||Hd(e)}var Ud=typeof Symbol=="function"&&Symbol.for,zd=Ud?Symbol.for("react.element"):60103;function Hd(e){return e.$$typeof===zd}function Wd(e){return Array.isArray(e)?[]:{}}function jr(e,t){return t.clone!==!1&&t.isMergeableObject(e)?tr(Wd(e),e,t):e}function qd(e,t,r){return e.concat(t).map(function(n){return jr(n,r)})}function Yd(e,t){if(!t.customMerge)return tr;var r=t.customMerge(e);return typeof r=="function"?r:tr}function Gd(e){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e).filter(function(t){return Object.propertyIsEnumerable.call(e,t)}):[]}function Xi(e){return Object.keys(e).concat(Gd(e))}function Ll(e,t){try{return t in e}catch{return!1}}function Kd(e,t){return Ll(e,t)&&!(Object.hasOwnProperty.call(e,t)&&Object.propertyIsEnumerable.call(e,t))}function Jd(e,t,r){var n={};return r.isMergeableObject(e)&&Xi(e).forEach(function(o){n[o]=jr(e[o],r)}),Xi(t).forEach(function(o){Kd(e,o)||(Ll(e,o)&&r.isMergeableObject(t[o])?n[o]=Yd(o,r)(e[o],t[o],r):n[o]=jr(t[o],r))}),n}function tr(e,t,r){r=r||{},r.arrayMerge=r.arrayMerge||qd,r.isMergeableObject=r.isMergeableObject||jd,r.cloneUnlessOtherwiseSpecified=jr;var n=Array.isArray(t),o=Array.isArray(e),i=n===o;return i?n?r.arrayMerge(e,t,r):Jd(e,t,r):jr(t,r)}tr.all=function(t,r){if(!Array.isArray(t))throw new Error("first argument should be an array");return t.reduce(function(n,o){return tr(n,o,r)},{})};var Xd=tr,Qd=Xd;const Zd=na(Qd);var sr=TypeError;const ep={},tp=Object.freeze(Object.defineProperty({__proto__:null,default:ep},Symbol.toStringTag,{value:"Module"})),rp=Dd(tp);var pi=typeof Map=="function"&&Map.prototype,no=Object.getOwnPropertyDescriptor&&pi?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,Ln=pi&&no&&typeof no.get=="function"?no.get:null,Qi=pi&&Map.prototype.forEach,mi=typeof Set=="function"&&Set.prototype,ao=Object.getOwnPropertyDescriptor&&mi?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,Vn=mi&&ao&&typeof ao.get=="function"?ao.get:null,Zi=mi&&Set.prototype.forEach,np=typeof WeakMap=="function"&&WeakMap.prototype,Pr=np?WeakMap.prototype.has:null,ap=typeof WeakSet=="function"&&WeakSet.prototype,Br=ap?WeakSet.prototype.has:null,op=typeof WeakRef=="function"&&WeakRef.prototype,es=op?WeakRef.prototype.deref:null,ip=Boolean.prototype.valueOf,sp=Object.prototype.toString,lp=Function.prototype.toString,cp=String.prototype.match,hi=String.prototype.slice,ft=String.prototype.replace,up=String.prototype.toUpperCase,ts=String.prototype.toLowerCase,Vl=RegExp.prototype.test,rs=Array.prototype.concat,Xe=Array.prototype.join,fp=Array.prototype.slice,ns=Math.floor,jo=typeof BigInt=="function"?BigInt.prototype.valueOf:null,oo=Object.getOwnPropertySymbols,Lo=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Symbol.prototype.toString:null,rr=typeof Symbol=="function"&&typeof Symbol.iterator=="object",Ir=typeof Symbol=="function"&&Symbol.toStringTag&&(typeof Symbol.toStringTag===rr||!0)?Symbol.toStringTag:null,Ul=Object.prototype.propertyIsEnumerable,as=(typeof Reflect=="function"?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(e){return e.__proto__}:null);function os(e,t){if(e===1/0||e===-1/0||e!==e||e&&e>-1e3&&e<1e3||Vl.call(/e/,t))return t;var r=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if(typeof e=="number"){var n=e<0?-ns(-e):ns(e);if(n!==e){var o=String(n),i=hi.call(t,o.length+1);return ft.call(o,r,"$&_")+"."+ft.call(ft.call(i,/([0-9]{3})/g,"$&_"),/_$/,"")}}return ft.call(t,r,"$&_")}var Vo=rp,is=Vo.custom,ss=Wl(is)?is:null,zl={__proto__:null,double:'"',single:"'"},dp={__proto__:null,double:/(["\\])/g,single:/(['\\])/g},aa=function e(t,r,n,o){var i=r||{};if(at(i,"quoteStyle")&&!at(zl,i.quoteStyle))throw new TypeError('option "quoteStyle" must be "single" or "double"');if(at(i,"maxStringLength")&&(typeof i.maxStringLength=="number"?i.maxStringLength<0&&i.maxStringLength!==1/0:i.maxStringLength!==null))throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var s=at(i,"customInspect")?i.customInspect:!0;if(typeof s!="boolean"&&s!=="symbol")throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(at(i,"indent")&&i.indent!==null&&i.indent!==" "&&!(parseInt(i.indent,10)===i.indent&&i.indent>0))throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`');if(at(i,"numericSeparator")&&typeof i.numericSeparator!="boolean")throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');var c=i.numericSeparator;if(typeof t=="undefined")return"undefined";if(t===null)return"null";if(typeof t=="boolean")return t?"true":"false";if(typeof t=="string")return Yl(t,i);if(typeof t=="number"){if(t===0)return 1/0/t>0?"0":"-0";var u=String(t);return c?os(t,u):u}if(typeof t=="bigint"){var f=String(t)+"n";return c?os(t,f):f}var d=typeof i.depth=="undefined"?5:i.depth;if(typeof n=="undefined"&&(n=0),n>=d&&d>0&&typeof t=="object")return Uo(t)?"[Array]":"[Object]";var h=Tp(i,n);if(typeof o=="undefined")o=[];else if(ql(o,t)>=0)return"[Circular]";function v(C,B,T){if(B&&(o=fp.call(o),o.push(B)),T){var x={depth:i.depth};return at(i,"quoteStyle")&&(x.quoteStyle=i.quoteStyle),e(C,x,n+1,o)}return e(C,i,n+1,o)}if(typeof t=="function"&&!ls(t)){var w=wp(t),m=wn(t,v);return"[Function"+(w?": "+w:" (anonymous)")+"]"+(m.length>0?" { "+Xe.call(m,", ")+" }":"")}if(Wl(t)){var y=rr?ft.call(String(t),/^(Symbol\(.*\))_[^)]*$/,"$1"):Lo.call(t);return typeof t=="object"&&!rr?_r(y):y}if(_p(t)){for(var b="<"+ts.call(String(t.nodeName)),S=t.attributes||[],k=0;k<S.length;k++)b+=" "+S[k].name+"="+Hl(pp(S[k].value),"double",i);return b+=">",t.childNodes&&t.childNodes.length&&(b+="..."),b+="</"+ts.call(String(t.nodeName))+">",b}if(Uo(t)){if(t.length===0)return"[]";var O=wn(t,v);return h&&!Cp(O)?"["+zo(O,h)+"]":"[ "+Xe.call(O,", ")+" ]"}if(hp(t)){var M=wn(t,v);return!("cause"in Error.prototype)&&"cause"in t&&!Ul.call(t,"cause")?"{ ["+String(t)+"] "+Xe.call(rs.call("[cause]: "+v(t.cause),M),", ")+" }":M.length===0?"["+String(t)+"]":"{ ["+String(t)+"] "+Xe.call(M,", ")+" }"}if(typeof t=="object"&&s){if(ss&&typeof t[ss]=="function"&&Vo)return Vo(t,{depth:d-n});if(s!=="symbol"&&typeof t.inspect=="function")return t.inspect()}if(Ep(t)){var R=[];return Qi&&Qi.call(t,function(C,B){R.push(v(B,t,!0)+" => "+v(C,t))}),cs("Map",Ln.call(t),R,h)}if(xp(t)){var I=[];return Zi&&Zi.call(t,function(C){I.push(v(C,t))}),cs("Set",Vn.call(t),I,h)}if(kp(t))return io("WeakMap");if(Op(t))return io("WeakSet");if(Ap(t))return io("WeakRef");if(vp(t))return _r(v(Number(t)));if(bp(t))return _r(v(jo.call(t)));if(gp(t))return _r(ip.call(t));if(yp(t))return _r(v(String(t)));if(typeof window!="undefined"&&t===window)return"{ [object Window] }";if(typeof globalThis!="undefined"&&t===globalThis||typeof Ae!="undefined"&&t===Ae)return"{ [object globalThis] }";if(!mp(t)&&!ls(t)){var j=wn(t,v),W=as?as(t)===Object.prototype:t instanceof Object||t.constructor===Object,D=t instanceof Object?"":"null prototype",_=!W&&Ir&&Object(t)===t&&Ir in t?hi.call(yt(t),8,-1):D?"Object":"",$=W||typeof t.constructor!="function"?"":t.constructor.name?t.constructor.name+" ":"",L=$+(_||D?"["+Xe.call(rs.call([],_||[],D||[]),": ")+"] ":"");return j.length===0?L+"{}":h?L+"{"+zo(j,h)+"}":L+"{ "+Xe.call(j,", ")+" }"}return String(t)};function Hl(e,t,r){var n=r.quoteStyle||t,o=zl[n];return o+e+o}function pp(e){return ft.call(String(e),/"/g,"&quot;")}function It(e){return!Ir||!(typeof e=="object"&&(Ir in e||typeof e[Ir]!="undefined"))}function Uo(e){return yt(e)==="[object Array]"&&It(e)}function mp(e){return yt(e)==="[object Date]"&&It(e)}function ls(e){return yt(e)==="[object RegExp]"&&It(e)}function hp(e){return yt(e)==="[object Error]"&&It(e)}function yp(e){return yt(e)==="[object String]"&&It(e)}function vp(e){return yt(e)==="[object Number]"&&It(e)}function gp(e){return yt(e)==="[object Boolean]"&&It(e)}function Wl(e){if(rr)return e&&typeof e=="object"&&e instanceof Symbol;if(typeof e=="symbol")return!0;if(!e||typeof e!="object"||!Lo)return!1;try{return Lo.call(e),!0}catch{}return!1}function bp(e){if(!e||typeof e!="object"||!jo)return!1;try{return jo.call(e),!0}catch{}return!1}var Sp=Object.prototype.hasOwnProperty||function(e){return e in this};function at(e,t){return Sp.call(e,t)}function yt(e){return sp.call(e)}function wp(e){if(e.name)return e.name;var t=cp.call(lp.call(e),/^function\s*([\w$]+)/);return t?t[1]:null}function ql(e,t){if(e.indexOf)return e.indexOf(t);for(var r=0,n=e.length;r<n;r++)if(e[r]===t)return r;return-1}function Ep(e){if(!Ln||!e||typeof e!="object")return!1;try{Ln.call(e);try{Vn.call(e)}catch{return!0}return e instanceof Map}catch{}return!1}function kp(e){if(!Pr||!e||typeof e!="object")return!1;try{Pr.call(e,Pr);try{Br.call(e,Br)}catch{return!0}return e instanceof WeakMap}catch{}return!1}function Ap(e){if(!es||!e||typeof e!="object")return!1;try{return es.call(e),!0}catch{}return!1}function xp(e){if(!Vn||!e||typeof e!="object")return!1;try{Vn.call(e);try{Ln.call(e)}catch{return!0}return e instanceof Set}catch{}return!1}function Op(e){if(!Br||!e||typeof e!="object")return!1;try{Br.call(e,Br);try{Pr.call(e,Pr)}catch{return!0}return e instanceof WeakSet}catch{}return!1}function _p(e){return!e||typeof e!="object"?!1:typeof HTMLElement!="undefined"&&e instanceof HTMLElement?!0:typeof e.nodeName=="string"&&typeof e.getAttribute=="function"}function Yl(e,t){if(e.length>t.maxStringLength){var r=e.length-t.maxStringLength,n="... "+r+" more character"+(r>1?"s":"");return Yl(hi.call(e,0,t.maxStringLength),t)+n}var o=dp[t.quoteStyle||"single"];o.lastIndex=0;var i=ft.call(ft.call(e,o,"\\$1"),/[\x00-\x1f]/g,$p);return Hl(i,"single",t)}function $p(e){var t=e.charCodeAt(0),r={8:"b",9:"t",10:"n",12:"f",13:"r"}[t];return r?"\\"+r:"\\x"+(t<16?"0":"")+up.call(t.toString(16))}function _r(e){return"Object("+e+")"}function io(e){return e+" { ? }"}function cs(e,t,r,n){var o=n?zo(r,n):Xe.call(r,", ");return e+" ("+t+") {"+o+"}"}function Cp(e){for(var t=0;t<e.length;t++)if(ql(e[t],`
7
- `)>=0)return!1;return!0}function Tp(e,t){var r;if(e.indent===" ")r=" ";else if(typeof e.indent=="number"&&e.indent>0)r=Xe.call(Array(e.indent+1)," ");else return null;return{base:r,prev:Xe.call(Array(t+1),r)}}function zo(e,t){if(e.length===0)return"";var r=`
8
- `+t.prev+t.base;return r+Xe.call(e,","+r)+`
9
- `+t.prev}function wn(e,t){var r=Uo(e),n=[];if(r){n.length=e.length;for(var o=0;o<e.length;o++)n[o]=at(e,o)?t(e[o],e):""}var i=typeof oo=="function"?oo(e):[],s;if(rr){s={};for(var c=0;c<i.length;c++)s["$"+i[c]]=i[c]}for(var u in e)at(e,u)&&(r&&String(Number(u))===u&&u<e.length||rr&&s["$"+u]instanceof Symbol||(Vl.call(/[^\w$]/,u)?n.push(t(u,e)+": "+t(e[u],e)):n.push(u+": "+t(e[u],e))));if(typeof oo=="function")for(var f=0;f<i.length;f++)Ul.call(e,i[f])&&n.push("["+t(i[f])+"]: "+t(e[i[f]],e));return n}var Np=aa,Pp=sr,oa=function(e,t,r){for(var n=e,o;(o=n.next)!=null;n=o)if(o.key===t)return n.next=o.next,r||(o.next=e.next,e.next=o),o},Bp=function(e,t){if(e){var r=oa(e,t);return r&&r.value}},Ip=function(e,t,r){var n=oa(e,t);n?n.value=r:e.next={key:t,next:e.next,value:r}},Mp=function(e,t){return e?!!oa(e,t):!1},Fp=function(e,t){if(e)return oa(e,t,!0)},Rp=function(){var t,r={assert:function(n){if(!r.has(n))throw new Pp("Side channel does not contain "+Np(n))},delete:function(n){var o=t&&t.next,i=Fp(t,n);return i&&o&&o===i&&(t=void 0),!!i},get:function(n){return Bp(t,n)},has:function(n){return Mp(t,n)},set:function(n,o){t||(t={next:void 0}),Ip(t,n,o)}};return r},Gl=Object,Dp=Error,jp=EvalError,Lp=RangeError,Vp=ReferenceError,Up=SyntaxError,zp=URIError,Hp=Math.abs,Wp=Math.floor,qp=Math.max,Yp=Math.min,Gp=Math.pow,Kp=Math.round,Jp=Number.isNaN||function(t){return t!==t},Xp=Jp,Qp=function(t){return Xp(t)||t===0?t:t<0?-1:1},Zp=Object.getOwnPropertyDescriptor,Pn=Zp;if(Pn)try{Pn([],"length")}catch{Pn=null}var Kl=Pn,Bn=Object.defineProperty||!1;if(Bn)try{Bn({},"a",{value:1})}catch{Bn=!1}var em=Bn,so,us;function tm(){return us||(us=1,so=function(){if(typeof Symbol!="function"||typeof Object.getOwnPropertySymbols!="function")return!1;if(typeof Symbol.iterator=="symbol")return!0;var t={},r=Symbol("test"),n=Object(r);if(typeof r=="string"||Object.prototype.toString.call(r)!=="[object Symbol]"||Object.prototype.toString.call(n)!=="[object Symbol]")return!1;var o=42;t[r]=o;for(var i in t)return!1;if(typeof Object.keys=="function"&&Object.keys(t).length!==0||typeof Object.getOwnPropertyNames=="function"&&Object.getOwnPropertyNames(t).length!==0)return!1;var s=Object.getOwnPropertySymbols(t);if(s.length!==1||s[0]!==r||!Object.prototype.propertyIsEnumerable.call(t,r))return!1;if(typeof Object.getOwnPropertyDescriptor=="function"){var c=Object.getOwnPropertyDescriptor(t,r);if(c.value!==o||c.enumerable!==!0)return!1}return!0}),so}var lo,fs;function rm(){if(fs)return lo;fs=1;var e=typeof Symbol!="undefined"&&Symbol,t=tm();return lo=function(){return typeof e!="function"||typeof Symbol!="function"||typeof e("foo")!="symbol"||typeof Symbol("bar")!="symbol"?!1:t()},lo}var co,ds;function Jl(){return ds||(ds=1,co=typeof Reflect!="undefined"&&Reflect.getPrototypeOf||null),co}var uo,ps;function Xl(){if(ps)return uo;ps=1;var e=Gl;return uo=e.getPrototypeOf||null,uo}var fo,ms;function nm(){if(ms)return fo;ms=1;var e="Function.prototype.bind called on incompatible ",t=Object.prototype.toString,r=Math.max,n="[object Function]",o=function(u,f){for(var d=[],h=0;h<u.length;h+=1)d[h]=u[h];for(var v=0;v<f.length;v+=1)d[v+u.length]=f[v];return d},i=function(u,f){for(var d=[],h=f,v=0;h<u.length;h+=1,v+=1)d[v]=u[h];return d},s=function(c,u){for(var f="",d=0;d<c.length;d+=1)f+=c[d],d+1<c.length&&(f+=u);return f};return fo=function(u){var f=this;if(typeof f!="function"||t.apply(f)!==n)throw new TypeError(e+f);for(var d=i(arguments,1),h,v=function(){if(this instanceof h){var S=f.apply(this,o(d,arguments));return Object(S)===S?S:this}return f.apply(u,o(d,arguments))},w=r(0,f.length-d.length),m=[],y=0;y<w;y++)m[y]="$"+y;if(h=Function("binder","return function ("+s(m,",")+"){ return binder.apply(this,arguments); }")(v),f.prototype){var b=function(){};b.prototype=f.prototype,h.prototype=new b,b.prototype=null}return h},fo}var po,hs;function ia(){if(hs)return po;hs=1;var e=nm();return po=Function.prototype.bind||e,po}var mo,ys;function yi(){return ys||(ys=1,mo=Function.prototype.call),mo}var ho,vs;function Ql(){return vs||(vs=1,ho=Function.prototype.apply),ho}var am=typeof Reflect!="undefined"&&Reflect&&Reflect.apply,om=ia(),im=Ql(),sm=yi(),lm=am,cm=lm||om.call(sm,im),um=ia(),fm=sr,dm=yi(),pm=cm,Zl=function(t){if(t.length<1||typeof t[0]!="function")throw new fm("a function is required");return pm(um,dm,t)},yo,gs;function mm(){if(gs)return yo;gs=1;var e=Zl,t=Kl,r;try{r=[].__proto__===Array.prototype}catch(s){if(!s||typeof s!="object"||!("code"in s)||s.code!=="ERR_PROTO_ACCESS")throw s}var n=!!r&&t&&t(Object.prototype,"__proto__"),o=Object,i=o.getPrototypeOf;return yo=n&&typeof n.get=="function"?e([n.get]):typeof i=="function"?function(c){return i(c==null?c:o(c))}:!1,yo}var vo,bs;function hm(){if(bs)return vo;bs=1;var e=Jl(),t=Xl(),r=mm();return vo=e?function(o){return e(o)}:t?function(o){if(!o||typeof o!="object"&&typeof o!="function")throw new TypeError("getProto: not an object");return t(o)}:r?function(o){return r(o)}:null,vo}var go,Ss;function ym(){if(Ss)return go;Ss=1;var e=Function.prototype.call,t=Object.prototype.hasOwnProperty,r=ia();return go=r.call(e,t),go}var Q,vm=Gl,gm=Dp,bm=jp,Sm=Lp,wm=Vp,nr=Up,Qt=sr,Em=zp,km=Hp,Am=Wp,xm=qp,Om=Yp,_m=Gp,$m=Kp,Cm=Qp,ec=Function,bo=function(e){try{return ec('"use strict"; return ('+e+").constructor;")()}catch{}},Lr=Kl,Tm=em,So=function(){throw new Qt},Nm=Lr?function(){try{return arguments.callee,So}catch{try{return Lr(arguments,"callee").get}catch{return So}}}():So,qt=rm()(),me=hm(),Pm=Xl(),Bm=Jl(),tc=Ql(),Yr=yi(),Jt={},Im=typeof Uint8Array=="undefined"||!me?Q:me(Uint8Array),$t={__proto__:null,"%AggregateError%":typeof AggregateError=="undefined"?Q:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer=="undefined"?Q:ArrayBuffer,"%ArrayIteratorPrototype%":qt&&me?me([][Symbol.iterator]()):Q,"%AsyncFromSyncIteratorPrototype%":Q,"%AsyncFunction%":Jt,"%AsyncGenerator%":Jt,"%AsyncGeneratorFunction%":Jt,"%AsyncIteratorPrototype%":Jt,"%Atomics%":typeof Atomics=="undefined"?Q:Atomics,"%BigInt%":typeof BigInt=="undefined"?Q:BigInt,"%BigInt64Array%":typeof BigInt64Array=="undefined"?Q:BigInt64Array,"%BigUint64Array%":typeof BigUint64Array=="undefined"?Q:BigUint64Array,"%Boolean%":Boolean,"%DataView%":typeof DataView=="undefined"?Q:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":gm,"%eval%":eval,"%EvalError%":bm,"%Float16Array%":typeof Float16Array=="undefined"?Q:Float16Array,"%Float32Array%":typeof Float32Array=="undefined"?Q:Float32Array,"%Float64Array%":typeof Float64Array=="undefined"?Q:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry=="undefined"?Q:FinalizationRegistry,"%Function%":ec,"%GeneratorFunction%":Jt,"%Int8Array%":typeof Int8Array=="undefined"?Q:Int8Array,"%Int16Array%":typeof Int16Array=="undefined"?Q:Int16Array,"%Int32Array%":typeof Int32Array=="undefined"?Q:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":qt&&me?me(me([][Symbol.iterator]())):Q,"%JSON%":typeof JSON=="object"?JSON:Q,"%Map%":typeof Map=="undefined"?Q:Map,"%MapIteratorPrototype%":typeof Map=="undefined"||!qt||!me?Q:me(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":vm,"%Object.getOwnPropertyDescriptor%":Lr,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise=="undefined"?Q:Promise,"%Proxy%":typeof Proxy=="undefined"?Q:Proxy,"%RangeError%":Sm,"%ReferenceError%":wm,"%Reflect%":typeof Reflect=="undefined"?Q:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set=="undefined"?Q:Set,"%SetIteratorPrototype%":typeof Set=="undefined"||!qt||!me?Q:me(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer=="undefined"?Q:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":qt&&me?me(""[Symbol.iterator]()):Q,"%Symbol%":qt?Symbol:Q,"%SyntaxError%":nr,"%ThrowTypeError%":Nm,"%TypedArray%":Im,"%TypeError%":Qt,"%Uint8Array%":typeof Uint8Array=="undefined"?Q:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray=="undefined"?Q:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array=="undefined"?Q:Uint16Array,"%Uint32Array%":typeof Uint32Array=="undefined"?Q:Uint32Array,"%URIError%":Em,"%WeakMap%":typeof WeakMap=="undefined"?Q:WeakMap,"%WeakRef%":typeof WeakRef=="undefined"?Q:WeakRef,"%WeakSet%":typeof WeakSet=="undefined"?Q:WeakSet,"%Function.prototype.call%":Yr,"%Function.prototype.apply%":tc,"%Object.defineProperty%":Tm,"%Object.getPrototypeOf%":Pm,"%Math.abs%":km,"%Math.floor%":Am,"%Math.max%":xm,"%Math.min%":Om,"%Math.pow%":_m,"%Math.round%":$m,"%Math.sign%":Cm,"%Reflect.getPrototypeOf%":Bm};if(me)try{null.error}catch(e){var Mm=me(me(e));$t["%Error.prototype%"]=Mm}var Fm=function e(t){var r;if(t==="%AsyncFunction%")r=bo("async function () {}");else if(t==="%GeneratorFunction%")r=bo("function* () {}");else if(t==="%AsyncGeneratorFunction%")r=bo("async function* () {}");else if(t==="%AsyncGenerator%"){var n=e("%AsyncGeneratorFunction%");n&&(r=n.prototype)}else if(t==="%AsyncIteratorPrototype%"){var o=e("%AsyncGenerator%");o&&me&&(r=me(o.prototype))}return $t[t]=r,r},ws={__proto__:null,"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},Gr=ia(),Un=ym(),Rm=Gr.call(Yr,Array.prototype.concat),Dm=Gr.call(tc,Array.prototype.splice),Es=Gr.call(Yr,String.prototype.replace),zn=Gr.call(Yr,String.prototype.slice),jm=Gr.call(Yr,RegExp.prototype.exec),Lm=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,Vm=/\\(\\)?/g,Um=function(t){var r=zn(t,0,1),n=zn(t,-1);if(r==="%"&&n!=="%")throw new nr("invalid intrinsic syntax, expected closing `%`");if(n==="%"&&r!=="%")throw new nr("invalid intrinsic syntax, expected opening `%`");var o=[];return Es(t,Lm,function(i,s,c,u){o[o.length]=c?Es(u,Vm,"$1"):s||i}),o},zm=function(t,r){var n=t,o;if(Un(ws,n)&&(o=ws[n],n="%"+o[0]+"%"),Un($t,n)){var i=$t[n];if(i===Jt&&(i=Fm(n)),typeof i=="undefined"&&!r)throw new Qt("intrinsic "+t+" exists, but is not available. Please file an issue!");return{alias:o,name:n,value:i}}throw new nr("intrinsic "+t+" does not exist!")},vi=function(t,r){if(typeof t!="string"||t.length===0)throw new Qt("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof r!="boolean")throw new Qt('"allowMissing" argument must be a boolean');if(jm(/^%?[^%]*%?$/,t)===null)throw new nr("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var n=Um(t),o=n.length>0?n[0]:"",i=zm("%"+o+"%",r),s=i.name,c=i.value,u=!1,f=i.alias;f&&(o=f[0],Dm(n,Rm([0,1],f)));for(var d=1,h=!0;d<n.length;d+=1){var v=n[d],w=zn(v,0,1),m=zn(v,-1);if((w==='"'||w==="'"||w==="`"||m==='"'||m==="'"||m==="`")&&w!==m)throw new nr("property names with quotes must have matching quotes");if((v==="constructor"||!h)&&(u=!0),o+="."+v,s="%"+o+"%",Un($t,s))c=$t[s];else if(c!=null){if(!(v in c)){if(!r)throw new Qt("base intrinsic for "+t+" exists, but the property is not available.");return}if(Lr&&d+1>=n.length){var y=Lr(c,v);h=!!y,h&&"get"in y&&!("originalValue"in y.get)?c=y.get:c=c[v]}else h=Un(c,v),c=c[v];h&&!u&&($t[s]=c)}}return c},rc=vi,nc=Zl,Hm=nc([rc("%String.prototype.indexOf%")]),ac=function(t,r){var n=rc(t,!!r);return typeof n=="function"&&Hm(t,".prototype.")>-1?nc([n]):n},Wm=vi,Kr=ac,qm=aa,Ym=sr,ks=Wm("%Map%",!0),Gm=Kr("Map.prototype.get",!0),Km=Kr("Map.prototype.set",!0),Jm=Kr("Map.prototype.has",!0),Xm=Kr("Map.prototype.delete",!0),Qm=Kr("Map.prototype.size",!0),oc=!!ks&&function(){var t,r={assert:function(n){if(!r.has(n))throw new Ym("Side channel does not contain "+qm(n))},delete:function(n){if(t){var o=Xm(t,n);return Qm(t)===0&&(t=void 0),o}return!1},get:function(n){if(t)return Gm(t,n)},has:function(n){return t?Jm(t,n):!1},set:function(n,o){t||(t=new ks),Km(t,n,o)}};return r},Zm=vi,sa=ac,eh=aa,En=oc,th=sr,Yt=Zm("%WeakMap%",!0),rh=sa("WeakMap.prototype.get",!0),nh=sa("WeakMap.prototype.set",!0),ah=sa("WeakMap.prototype.has",!0),oh=sa("WeakMap.prototype.delete",!0),ih=Yt?function(){var t,r,n={assert:function(o){if(!n.has(o))throw new th("Side channel does not contain "+eh(o))},delete:function(o){if(Yt&&o&&(typeof o=="object"||typeof o=="function")){if(t)return oh(t,o)}else if(En&&r)return r.delete(o);return!1},get:function(o){return Yt&&o&&(typeof o=="object"||typeof o=="function")&&t?rh(t,o):r&&r.get(o)},has:function(o){return Yt&&o&&(typeof o=="object"||typeof o=="function")&&t?ah(t,o):!!r&&r.has(o)},set:function(o,i){Yt&&o&&(typeof o=="object"||typeof o=="function")?(t||(t=new Yt),nh(t,o,i)):En&&(r||(r=En()),r.set(o,i))}};return n}:En,sh=sr,lh=aa,ch=Rp,uh=oc,fh=ih,dh=fh||uh||ch,ph=function(){var t,r={assert:function(n){if(!r.has(n))throw new sh("Side channel does not contain "+lh(n))},delete:function(n){return!!t&&t.delete(n)},get:function(n){return t&&t.get(n)},has:function(n){return!!t&&t.has(n)},set:function(n,o){t||(t=dh()),t.set(n,o)}};return r},mh=String.prototype.replace,hh=/%20/g,wo={RFC1738:"RFC1738",RFC3986:"RFC3986"},gi={default:wo.RFC3986,formatters:{RFC1738:function(e){return mh.call(e,hh,"+")},RFC3986:function(e){return String(e)}},RFC1738:wo.RFC1738,RFC3986:wo.RFC3986},yh=gi,Eo=Object.prototype.hasOwnProperty,At=Array.isArray,Ke=function(){for(var e=[],t=0;t<256;++t)e.push("%"+((t<16?"0":"")+t.toString(16)).toUpperCase());return e}(),vh=function(t){for(;t.length>1;){var r=t.pop(),n=r.obj[r.prop];if(At(n)){for(var o=[],i=0;i<n.length;++i)typeof n[i]!="undefined"&&o.push(n[i]);r.obj[r.prop]=o}}},ic=function(t,r){for(var n=r&&r.plainObjects?{__proto__:null}:{},o=0;o<t.length;++o)typeof t[o]!="undefined"&&(n[o]=t[o]);return n},gh=function e(t,r,n){if(!r)return t;if(typeof r!="object"&&typeof r!="function"){if(At(t))t.push(r);else if(t&&typeof t=="object")(n&&(n.plainObjects||n.allowPrototypes)||!Eo.call(Object.prototype,r))&&(t[r]=!0);else return[t,r];return t}if(!t||typeof t!="object")return[t].concat(r);var o=t;return At(t)&&!At(r)&&(o=ic(t,n)),At(t)&&At(r)?(r.forEach(function(i,s){if(Eo.call(t,s)){var c=t[s];c&&typeof c=="object"&&i&&typeof i=="object"?t[s]=e(c,i,n):t.push(i)}else t[s]=i}),t):Object.keys(r).reduce(function(i,s){var c=r[s];return Eo.call(i,s)?i[s]=e(i[s],c,n):i[s]=c,i},o)},bh=function(t,r){return Object.keys(r).reduce(function(n,o){return n[o]=r[o],n},t)},Sh=function(e,t,r){var n=e.replace(/\+/g," ");if(r==="iso-8859-1")return n.replace(/%[0-9a-f]{2}/gi,unescape);try{return decodeURIComponent(n)}catch{return n}},ko=1024,wh=function(t,r,n,o,i){if(t.length===0)return t;var s=t;if(typeof t=="symbol"?s=Symbol.prototype.toString.call(t):typeof t!="string"&&(s=String(t)),n==="iso-8859-1")return escape(s).replace(/%u[0-9a-f]{4}/gi,function(w){return"%26%23"+parseInt(w.slice(2),16)+"%3B"});for(var c="",u=0;u<s.length;u+=ko){for(var f=s.length>=ko?s.slice(u,u+ko):s,d=[],h=0;h<f.length;++h){var v=f.charCodeAt(h);if(v===45||v===46||v===95||v===126||v>=48&&v<=57||v>=65&&v<=90||v>=97&&v<=122||i===yh.RFC1738&&(v===40||v===41)){d[d.length]=f.charAt(h);continue}if(v<128){d[d.length]=Ke[v];continue}if(v<2048){d[d.length]=Ke[192|v>>6]+Ke[128|v&63];continue}if(v<55296||v>=57344){d[d.length]=Ke[224|v>>12]+Ke[128|v>>6&63]+Ke[128|v&63];continue}h+=1,v=65536+((v&1023)<<10|f.charCodeAt(h)&1023),d[d.length]=Ke[240|v>>18]+Ke[128|v>>12&63]+Ke[128|v>>6&63]+Ke[128|v&63]}c+=d.join("")}return c},Eh=function(t){for(var r=[{obj:{o:t},prop:"o"}],n=[],o=0;o<r.length;++o)for(var i=r[o],s=i.obj[i.prop],c=Object.keys(s),u=0;u<c.length;++u){var f=c[u],d=s[f];typeof d=="object"&&d!==null&&n.indexOf(d)===-1&&(r.push({obj:s,prop:f}),n.push(d))}return vh(r),t},kh=function(t){return Object.prototype.toString.call(t)==="[object RegExp]"},Ah=function(t){return!t||typeof t!="object"?!1:!!(t.constructor&&t.constructor.isBuffer&&t.constructor.isBuffer(t))},xh=function(t,r){return[].concat(t,r)},Oh=function(t,r){if(At(t)){for(var n=[],o=0;o<t.length;o+=1)n.push(r(t[o]));return n}return r(t)},sc={arrayToObject:ic,assign:bh,combine:xh,compact:Eh,decode:Sh,encode:wh,isBuffer:Ah,isRegExp:kh,maybeMap:Oh,merge:gh},lc=ph,In=sc,Mr=gi,_h=Object.prototype.hasOwnProperty,cc={brackets:function(t){return t+"[]"},comma:"comma",indices:function(t,r){return t+"["+r+"]"},repeat:function(t){return t}},Je=Array.isArray,$h=Array.prototype.push,uc=function(e,t){$h.apply(e,Je(t)?t:[t])},Ch=Date.prototype.toISOString,As=Mr.default,pe={addQueryPrefix:!1,allowDots:!1,allowEmptyArrays:!1,arrayFormat:"indices",charset:"utf-8",charsetSentinel:!1,commaRoundTrip:!1,delimiter:"&",encode:!0,encodeDotInKeys:!1,encoder:In.encode,encodeValuesOnly:!1,filter:void 0,format:As,formatter:Mr.formatters[As],indices:!1,serializeDate:function(t){return Ch.call(t)},skipNulls:!1,strictNullHandling:!1},Th=function(t){return typeof t=="string"||typeof t=="number"||typeof t=="boolean"||typeof t=="symbol"||typeof t=="bigint"},Ao={},Nh=function e(t,r,n,o,i,s,c,u,f,d,h,v,w,m,y,b,S,k){for(var O=t,M=k,R=0,I=!1;(M=M.get(Ao))!==void 0&&!I;){var j=M.get(t);if(R+=1,typeof j!="undefined"){if(j===R)throw new RangeError("Cyclic object value");I=!0}typeof M.get(Ao)=="undefined"&&(R=0)}if(typeof d=="function"?O=d(r,O):O instanceof Date?O=w(O):n==="comma"&&Je(O)&&(O=In.maybeMap(O,function(F){return F instanceof Date?w(F):F})),O===null){if(s)return f&&!b?f(r,pe.encoder,S,"key",m):r;O=""}if(Th(O)||In.isBuffer(O)){if(f){var W=b?r:f(r,pe.encoder,S,"key",m);return[y(W)+"="+y(f(O,pe.encoder,S,"value",m))]}return[y(r)+"="+y(String(O))]}var D=[];if(typeof O=="undefined")return D;var _;if(n==="comma"&&Je(O))b&&f&&(O=In.maybeMap(O,f)),_=[{value:O.length>0?O.join(",")||null:void 0}];else if(Je(d))_=d;else{var $=Object.keys(O);_=h?$.sort(h):$}var L=u?String(r).replace(/\./g,"%2E"):String(r),C=o&&Je(O)&&O.length===1?L+"[]":L;if(i&&Je(O)&&O.length===0)return C+"[]";for(var B=0;B<_.length;++B){var T=_[B],x=typeof T=="object"&&T&&typeof T.value!="undefined"?T.value:O[T];if(!(c&&x===null)){var V=v&&u?String(T).replace(/\./g,"%2E"):String(T),N=Je(O)?typeof n=="function"?n(C,V):C:C+(v?"."+V:"["+V+"]");k.set(t,R);var U=lc();U.set(Ao,k),uc(D,e(x,N,n,o,i,s,c,u,n==="comma"&&b&&Je(O)?null:f,d,h,v,w,m,y,b,S,U))}}return D},Ph=function(t){if(!t)return pe;if(typeof t.allowEmptyArrays!="undefined"&&typeof t.allowEmptyArrays!="boolean")throw new TypeError("`allowEmptyArrays` option can only be `true` or `false`, when provided");if(typeof t.encodeDotInKeys!="undefined"&&typeof t.encodeDotInKeys!="boolean")throw new TypeError("`encodeDotInKeys` option can only be `true` or `false`, when provided");if(t.encoder!==null&&typeof t.encoder!="undefined"&&typeof t.encoder!="function")throw new TypeError("Encoder has to be a function.");var r=t.charset||pe.charset;if(typeof t.charset!="undefined"&&t.charset!=="utf-8"&&t.charset!=="iso-8859-1")throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var n=Mr.default;if(typeof t.format!="undefined"){if(!_h.call(Mr.formatters,t.format))throw new TypeError("Unknown format option provided.");n=t.format}var o=Mr.formatters[n],i=pe.filter;(typeof t.filter=="function"||Je(t.filter))&&(i=t.filter);var s;if(t.arrayFormat in cc?s=t.arrayFormat:"indices"in t?s=t.indices?"indices":"repeat":s=pe.arrayFormat,"commaRoundTrip"in t&&typeof t.commaRoundTrip!="boolean")throw new TypeError("`commaRoundTrip` must be a boolean, or absent");var c=typeof t.allowDots=="undefined"?t.encodeDotInKeys===!0?!0:pe.allowDots:!!t.allowDots;return{addQueryPrefix:typeof t.addQueryPrefix=="boolean"?t.addQueryPrefix:pe.addQueryPrefix,allowDots:c,allowEmptyArrays:typeof t.allowEmptyArrays=="boolean"?!!t.allowEmptyArrays:pe.allowEmptyArrays,arrayFormat:s,charset:r,charsetSentinel:typeof t.charsetSentinel=="boolean"?t.charsetSentinel:pe.charsetSentinel,commaRoundTrip:!!t.commaRoundTrip,delimiter:typeof t.delimiter=="undefined"?pe.delimiter:t.delimiter,encode:typeof t.encode=="boolean"?t.encode:pe.encode,encodeDotInKeys:typeof t.encodeDotInKeys=="boolean"?t.encodeDotInKeys:pe.encodeDotInKeys,encoder:typeof t.encoder=="function"?t.encoder:pe.encoder,encodeValuesOnly:typeof t.encodeValuesOnly=="boolean"?t.encodeValuesOnly:pe.encodeValuesOnly,filter:i,format:n,formatter:o,serializeDate:typeof t.serializeDate=="function"?t.serializeDate:pe.serializeDate,skipNulls:typeof t.skipNulls=="boolean"?t.skipNulls:pe.skipNulls,sort:typeof t.sort=="function"?t.sort:null,strictNullHandling:typeof t.strictNullHandling=="boolean"?t.strictNullHandling:pe.strictNullHandling}},Bh=function(e,t){var r=e,n=Ph(t),o,i;typeof n.filter=="function"?(i=n.filter,r=i("",r)):Je(n.filter)&&(i=n.filter,o=i);var s=[];if(typeof r!="object"||r===null)return"";var c=cc[n.arrayFormat],u=c==="comma"&&n.commaRoundTrip;o||(o=Object.keys(r)),n.sort&&o.sort(n.sort);for(var f=lc(),d=0;d<o.length;++d){var h=o[d],v=r[h];n.skipNulls&&v===null||uc(s,Nh(v,h,c,u,n.allowEmptyArrays,n.strictNullHandling,n.skipNulls,n.encodeDotInKeys,n.encode?n.encoder:null,n.filter,n.sort,n.allowDots,n.serializeDate,n.format,n.formatter,n.encodeValuesOnly,n.charset,f))}var w=s.join(n.delimiter),m=n.addQueryPrefix===!0?"?":"";return n.charsetSentinel&&(n.charset==="iso-8859-1"?m+="utf8=%26%2310003%3B&":m+="utf8=%E2%9C%93&"),w.length>0?m+w:""},Nt=sc,Ho=Object.prototype.hasOwnProperty,xs=Array.isArray,le={allowDots:!1,allowEmptyArrays:!1,allowPrototypes:!1,allowSparse:!1,arrayLimit:20,charset:"utf-8",charsetSentinel:!1,comma:!1,decodeDotInKeys:!1,decoder:Nt.decode,delimiter:"&",depth:5,duplicates:"combine",ignoreQueryPrefix:!1,interpretNumericEntities:!1,parameterLimit:1e3,parseArrays:!0,plainObjects:!1,strictDepth:!1,strictNullHandling:!1,throwOnLimitExceeded:!1},Ih=function(e){return e.replace(/&#(\d+);/g,function(t,r){return String.fromCharCode(parseInt(r,10))})},fc=function(e,t,r){if(e&&typeof e=="string"&&t.comma&&e.indexOf(",")>-1)return e.split(",");if(t.throwOnLimitExceeded&&r>=t.arrayLimit)throw new RangeError("Array limit exceeded. Only "+t.arrayLimit+" element"+(t.arrayLimit===1?"":"s")+" allowed in an array.");return e},Mh="utf8=%26%2310003%3B",Fh="utf8=%E2%9C%93",Rh=function(t,r){var n={__proto__:null},o=r.ignoreQueryPrefix?t.replace(/^\?/,""):t;o=o.replace(/%5B/gi,"[").replace(/%5D/gi,"]");var i=r.parameterLimit===1/0?void 0:r.parameterLimit,s=o.split(r.delimiter,r.throwOnLimitExceeded?i+1:i);if(r.throwOnLimitExceeded&&s.length>i)throw new RangeError("Parameter limit exceeded. Only "+i+" parameter"+(i===1?"":"s")+" allowed.");var c=-1,u,f=r.charset;if(r.charsetSentinel)for(u=0;u<s.length;++u)s[u].indexOf("utf8=")===0&&(s[u]===Fh?f="utf-8":s[u]===Mh&&(f="iso-8859-1"),c=u,u=s.length);for(u=0;u<s.length;++u)if(u!==c){var d=s[u],h=d.indexOf("]="),v=h===-1?d.indexOf("="):h+1,w,m;v===-1?(w=r.decoder(d,le.decoder,f,"key"),m=r.strictNullHandling?null:""):(w=r.decoder(d.slice(0,v),le.decoder,f,"key"),m=Nt.maybeMap(fc(d.slice(v+1),r,xs(n[w])?n[w].length:0),function(b){return r.decoder(b,le.decoder,f,"value")})),m&&r.interpretNumericEntities&&f==="iso-8859-1"&&(m=Ih(String(m))),d.indexOf("[]=")>-1&&(m=xs(m)?[m]:m);var y=Ho.call(n,w);y&&r.duplicates==="combine"?n[w]=Nt.combine(n[w],m):(!y||r.duplicates==="last")&&(n[w]=m)}return n},Dh=function(e,t,r,n){var o=0;if(e.length>0&&e[e.length-1]==="[]"){var i=e.slice(0,-1).join("");o=Array.isArray(t)&&t[i]?t[i].length:0}for(var s=n?t:fc(t,r,o),c=e.length-1;c>=0;--c){var u,f=e[c];if(f==="[]"&&r.parseArrays)u=r.allowEmptyArrays&&(s===""||r.strictNullHandling&&s===null)?[]:Nt.combine([],s);else{u=r.plainObjects?{__proto__:null}:{};var d=f.charAt(0)==="["&&f.charAt(f.length-1)==="]"?f.slice(1,-1):f,h=r.decodeDotInKeys?d.replace(/%2E/g,"."):d,v=parseInt(h,10);!r.parseArrays&&h===""?u={0:s}:!isNaN(v)&&f!==h&&String(v)===h&&v>=0&&r.parseArrays&&v<=r.arrayLimit?(u=[],u[v]=s):h!=="__proto__"&&(u[h]=s)}s=u}return s},jh=function(t,r,n,o){if(t){var i=n.allowDots?t.replace(/\.([^.[]+)/g,"[$1]"):t,s=/(\[[^[\]]*])/,c=/(\[[^[\]]*])/g,u=n.depth>0&&s.exec(i),f=u?i.slice(0,u.index):i,d=[];if(f){if(!n.plainObjects&&Ho.call(Object.prototype,f)&&!n.allowPrototypes)return;d.push(f)}for(var h=0;n.depth>0&&(u=c.exec(i))!==null&&h<n.depth;){if(h+=1,!n.plainObjects&&Ho.call(Object.prototype,u[1].slice(1,-1))&&!n.allowPrototypes)return;d.push(u[1])}if(u){if(n.strictDepth===!0)throw new RangeError("Input depth exceeded depth option of "+n.depth+" and strictDepth is true");d.push("["+i.slice(u.index)+"]")}return Dh(d,r,n,o)}},Lh=function(t){if(!t)return le;if(typeof t.allowEmptyArrays!="undefined"&&typeof t.allowEmptyArrays!="boolean")throw new TypeError("`allowEmptyArrays` option can only be `true` or `false`, when provided");if(typeof t.decodeDotInKeys!="undefined"&&typeof t.decodeDotInKeys!="boolean")throw new TypeError("`decodeDotInKeys` option can only be `true` or `false`, when provided");if(t.decoder!==null&&typeof t.decoder!="undefined"&&typeof t.decoder!="function")throw new TypeError("Decoder has to be a function.");if(typeof t.charset!="undefined"&&t.charset!=="utf-8"&&t.charset!=="iso-8859-1")throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");if(typeof t.throwOnLimitExceeded!="undefined"&&typeof t.throwOnLimitExceeded!="boolean")throw new TypeError("`throwOnLimitExceeded` option must be a boolean");var r=typeof t.charset=="undefined"?le.charset:t.charset,n=typeof t.duplicates=="undefined"?le.duplicates:t.duplicates;if(n!=="combine"&&n!=="first"&&n!=="last")throw new TypeError("The duplicates option must be either combine, first, or last");var o=typeof t.allowDots=="undefined"?t.decodeDotInKeys===!0?!0:le.allowDots:!!t.allowDots;return{allowDots:o,allowEmptyArrays:typeof t.allowEmptyArrays=="boolean"?!!t.allowEmptyArrays:le.allowEmptyArrays,allowPrototypes:typeof t.allowPrototypes=="boolean"?t.allowPrototypes:le.allowPrototypes,allowSparse:typeof t.allowSparse=="boolean"?t.allowSparse:le.allowSparse,arrayLimit:typeof t.arrayLimit=="number"?t.arrayLimit:le.arrayLimit,charset:r,charsetSentinel:typeof t.charsetSentinel=="boolean"?t.charsetSentinel:le.charsetSentinel,comma:typeof t.comma=="boolean"?t.comma:le.comma,decodeDotInKeys:typeof t.decodeDotInKeys=="boolean"?t.decodeDotInKeys:le.decodeDotInKeys,decoder:typeof t.decoder=="function"?t.decoder:le.decoder,delimiter:typeof t.delimiter=="string"||Nt.isRegExp(t.delimiter)?t.delimiter:le.delimiter,depth:typeof t.depth=="number"||t.depth===!1?+t.depth:le.depth,duplicates:n,ignoreQueryPrefix:t.ignoreQueryPrefix===!0,interpretNumericEntities:typeof t.interpretNumericEntities=="boolean"?t.interpretNumericEntities:le.interpretNumericEntities,parameterLimit:typeof t.parameterLimit=="number"?t.parameterLimit:le.parameterLimit,parseArrays:t.parseArrays!==!1,plainObjects:typeof t.plainObjects=="boolean"?t.plainObjects:le.plainObjects,strictDepth:typeof t.strictDepth=="boolean"?!!t.strictDepth:le.strictDepth,strictNullHandling:typeof t.strictNullHandling=="boolean"?t.strictNullHandling:le.strictNullHandling,throwOnLimitExceeded:typeof t.throwOnLimitExceeded=="boolean"?t.throwOnLimitExceeded:!1}},Vh=function(e,t){var r=Lh(t);if(e===""||e===null||typeof e=="undefined")return r.plainObjects?{__proto__:null}:{};for(var n=typeof e=="string"?Rh(e,r):e,o=r.plainObjects?{__proto__:null}:{},i=Object.keys(n),s=0;s<i.length;++s){var c=i[s],u=jh(c,n[c],r,typeof e=="string");o=Nt.merge(o,u,r)}return r.allowSparse===!0?o:Nt.compact(o)},Uh=Bh,zh=Vh,Hh=gi,Os={formats:Hh,parse:zh,stringify:Uh},Wh={exports:{}};/* NProgress, (c) 2013, 2014 Rico Sta. Cruz - http://ricostacruz.com/nprogress
10
- * @license MIT */(function(e,t){(function(r,n){e.exports=n()})(Ae,function(){var r={};r.version="0.2.0";var n=r.settings={minimum:.08,easing:"ease",positionUsing:"",speed:200,trickle:!0,trickleRate:.02,trickleSpeed:800,showSpinner:!0,barSelector:'[role="bar"]',spinnerSelector:'[role="spinner"]',parent:"body",template:'<div class="bar" role="bar"><div class="peg"></div></div><div class="spinner" role="spinner"><div class="spinner-icon"></div></div>'};r.configure=function(m){var y,b;for(y in m)b=m[y],b!==void 0&&m.hasOwnProperty(y)&&(n[y]=b);return this},r.status=null,r.set=function(m){var y=r.isStarted();m=o(m,n.minimum,1),r.status=m===1?null:m;var b=r.render(!y),S=b.querySelector(n.barSelector),k=n.speed,O=n.easing;return b.offsetWidth,c(function(M){n.positionUsing===""&&(n.positionUsing=r.getPositioningCSS()),u(S,s(m,k,O)),m===1?(u(b,{transition:"none",opacity:1}),b.offsetWidth,setTimeout(function(){u(b,{transition:"all "+k+"ms linear",opacity:0}),setTimeout(function(){r.remove(),M()},k)},k)):setTimeout(M,k)}),this},r.isStarted=function(){return typeof r.status=="number"},r.start=function(){r.status||r.set(0);var m=function(){setTimeout(function(){r.status&&(r.trickle(),m())},n.trickleSpeed)};return n.trickle&&m(),this},r.done=function(m){return!m&&!r.status?this:r.inc(.3+.5*Math.random()).set(1)},r.inc=function(m){var y=r.status;return y?(typeof m!="number"&&(m=(1-y)*o(Math.random()*y,.1,.95)),y=o(y+m,0,.994),r.set(y)):r.start()},r.trickle=function(){return r.inc(Math.random()*n.trickleRate)},function(){var m=0,y=0;r.promise=function(b){return!b||b.state()==="resolved"?this:(y===0&&r.start(),m++,y++,b.always(function(){y--,y===0?(m=0,r.done()):r.set((m-y)/m)}),this)}}(),r.render=function(m){if(r.isRendered())return document.getElementById("nprogress");d(document.documentElement,"nprogress-busy");var y=document.createElement("div");y.id="nprogress",y.innerHTML=n.template;var b=y.querySelector(n.barSelector),S=m?"-100":i(r.status||0),k=document.querySelector(n.parent),O;return u(b,{transition:"all 0 linear",transform:"translate3d("+S+"%,0,0)"}),n.showSpinner||(O=y.querySelector(n.spinnerSelector),O&&w(O)),k!=document.body&&d(k,"nprogress-custom-parent"),k.appendChild(y),y},r.remove=function(){h(document.documentElement,"nprogress-busy"),h(document.querySelector(n.parent),"nprogress-custom-parent");var m=document.getElementById("nprogress");m&&w(m)},r.isRendered=function(){return!!document.getElementById("nprogress")},r.getPositioningCSS=function(){var m=document.body.style,y="WebkitTransform"in m?"Webkit":"MozTransform"in m?"Moz":"msTransform"in m?"ms":"OTransform"in m?"O":"";return y+"Perspective"in m?"translate3d":y+"Transform"in m?"translate":"margin"};function o(m,y,b){return m<y?y:m>b?b:m}function i(m){return(-1+m)*100}function s(m,y,b){var S;return n.positionUsing==="translate3d"?S={transform:"translate3d("+i(m)+"%,0,0)"}:n.positionUsing==="translate"?S={transform:"translate("+i(m)+"%,0)"}:S={"margin-left":i(m)+"%"},S.transition="all "+y+"ms "+b,S}var c=function(){var m=[];function y(){var b=m.shift();b&&b(y)}return function(b){m.push(b),m.length==1&&y()}}(),u=function(){var m=["Webkit","O","Moz","ms"],y={};function b(M){return M.replace(/^-ms-/,"ms-").replace(/-([\da-z])/gi,function(R,I){return I.toUpperCase()})}function S(M){var R=document.body.style;if(M in R)return M;for(var I=m.length,j=M.charAt(0).toUpperCase()+M.slice(1),W;I--;)if(W=m[I]+j,W in R)return W;return M}function k(M){return M=b(M),y[M]||(y[M]=S(M))}function O(M,R,I){R=k(R),M.style[R]=I}return function(M,R){var I=arguments,j,W;if(I.length==2)for(j in R)W=R[j],W!==void 0&&R.hasOwnProperty(j)&&O(M,j,W);else O(M,I[1],I[2])}}();function f(m,y){var b=typeof m=="string"?m:v(m);return b.indexOf(" "+y+" ")>=0}function d(m,y){var b=v(m),S=b+y;f(b,y)||(m.className=S.substring(1))}function h(m,y){var b=v(m),S;f(m,y)&&(S=b.replace(" "+y+" "," "),m.className=S.substring(1,S.length-1))}function v(m){return(" "+(m.className||"")+" ").replace(/\s+/gi," ")}function w(m){m&&m.parentNode&&m.parentNode.removeChild(m)}return r})})(Wh);function dc(e,t){let r;return function(...n){clearTimeout(r),r=setTimeout(()=>e.apply(this,n),t)}}function st(e,t){return document.dispatchEvent(new CustomEvent(`inertia:${e}`,t))}var qh=e=>st("before",{cancelable:!0,detail:{visit:e}}),Yh=e=>st("error",{detail:{errors:e}}),Gh=e=>st("exception",{cancelable:!0,detail:{exception:e}}),_s=e=>st("finish",{detail:{visit:e}}),Kh=e=>st("invalid",{cancelable:!0,detail:{response:e}}),$r=e=>st("navigate",{detail:{page:e}}),Jh=e=>st("progress",{detail:{progress:e}}),Xh=e=>st("start",{detail:{visit:e}}),Qh=e=>st("success",{detail:{page:e}});function Wo(e){return e instanceof File||e instanceof Blob||e instanceof FileList&&e.length>0||e instanceof FormData&&Array.from(e.values()).some(t=>Wo(t))||typeof e=="object"&&e!==null&&Object.values(e).some(t=>Wo(t))}function pc(e,t=new FormData,r=null){e=e||{};for(let n in e)Object.prototype.hasOwnProperty.call(e,n)&&hc(t,mc(r,n),e[n]);return t}function mc(e,t){return e?e+"["+t+"]":t}function hc(e,t,r){if(Array.isArray(r))return Array.from(r.keys()).forEach(n=>hc(e,mc(t,n.toString()),r[n]));if(r instanceof Date)return e.append(t,r.toISOString());if(r instanceof File)return e.append(t,r,r.name);if(r instanceof Blob)return e.append(t,r);if(typeof r=="boolean")return e.append(t,r?"1":"0");if(typeof r=="string")return e.append(t,r);if(typeof r=="number")return e.append(t,`${r}`);if(r==null)return e.append(t,"");pc(r,e,t)}var Zh={modal:null,listener:null,show(e){typeof e=="object"&&(e=`All Inertia requests must receive a valid Inertia response, however a plain JSON response was received.<hr>${JSON.stringify(e)}`);let t=document.createElement("html");t.innerHTML=e,t.querySelectorAll("a").forEach(n=>n.setAttribute("target","_top")),this.modal=document.createElement("div"),this.modal.style.position="fixed",this.modal.style.width="100vw",this.modal.style.height="100vh",this.modal.style.padding="50px",this.modal.style.boxSizing="border-box",this.modal.style.backgroundColor="rgba(0, 0, 0, .6)",this.modal.style.zIndex=2e5,this.modal.addEventListener("click",()=>this.hide());let r=document.createElement("iframe");if(r.style.backgroundColor="white",r.style.borderRadius="5px",r.style.width="100%",r.style.height="100%",this.modal.appendChild(r),document.body.prepend(this.modal),document.body.style.overflow="hidden",!r.contentWindow)throw new Error("iframe not yet ready.");r.contentWindow.document.open(),r.contentWindow.document.write(t.outerHTML),r.contentWindow.document.close(),this.listener=this.hideOnEscape.bind(this),document.addEventListener("keydown",this.listener)},hide(){this.modal.outerHTML="",this.modal=null,document.body.style.overflow="visible",document.removeEventListener("keydown",this.listener)},hideOnEscape(e){e.keyCode===27&&this.hide()}};function Gt(e){return new URL(e.toString(),window.location.toString())}function yc(e,t,r,n="brackets"){let o=/^https?:\/\//.test(t.toString()),i=o||t.toString().startsWith("/"),s=!i&&!t.toString().startsWith("#")&&!t.toString().startsWith("?"),c=t.toString().includes("?")||e==="get"&&Object.keys(r).length,u=t.toString().includes("#"),f=new URL(t.toString(),"http://localhost");return e==="get"&&Object.keys(r).length&&(f.search=Os.stringify(Zd(Os.parse(f.search,{ignoreQueryPrefix:!0}),r),{encodeValuesOnly:!0,arrayFormat:n}),r={}),[[o?`${f.protocol}//${f.host}`:"",i?f.pathname:"",s?f.pathname.substring(1):"",c?f.search:"",u?f.hash:""].join(""),r]}function Cr(e){return e=new URL(e.href),e.hash="",e}var Mn=typeof window>"u",$s=!Mn&&/CriOS/.test(window.navigator.userAgent),Cs=e=>{requestAnimationFrame(()=>{requestAnimationFrame(e)})},ey=class{constructor(){this.visitId=null}init({initialPage:t,resolveComponent:r,swapComponent:n}){this.page=t,this.resolveComponent=r,this.swapComponent=n,this.setNavigationType(),this.clearRememberedStateOnReload(),this.isBackForwardVisit()?this.handleBackForwardVisit(this.page):this.isLocationVisit()?this.handleLocationVisit(this.page):this.handleInitialPageVisit(this.page),this.setupEventListeners()}setNavigationType(){this.navigationType=window.performance&&window.performance.getEntriesByType&&window.performance.getEntriesByType("navigation").length>0?window.performance.getEntriesByType("navigation")[0].type:"navigate"}clearRememberedStateOnReload(){var t;this.navigationType==="reload"&&((t=window.history.state)!=null&&t.rememberedState)&&delete window.history.state.rememberedState}handleInitialPageVisit(t){let r=window.location.hash;this.page.url.includes(r)||(this.page.url+=r),this.setPage(t,{preserveScroll:!0,preserveState:!0}).then(()=>$r(t))}setupEventListeners(){window.addEventListener("popstate",this.handlePopstateEvent.bind(this)),document.addEventListener("scroll",dc(this.handleScrollEvent.bind(this),100),!0)}scrollRegions(){return document.querySelectorAll("[scroll-region]")}handleScrollEvent(t){typeof t.target.hasAttribute=="function"&&t.target.hasAttribute("scroll-region")&&this.saveScrollPositions()}saveScrollPositions(){this.replaceState({...this.page,scrollRegions:Array.from(this.scrollRegions()).map(t=>({top:t.scrollTop,left:t.scrollLeft}))})}resetScrollPositions(){Cs(()=>{var t;window.scrollTo(0,0),this.scrollRegions().forEach(r=>{typeof r.scrollTo=="function"?r.scrollTo(0,0):(r.scrollTop=0,r.scrollLeft=0)}),this.saveScrollPositions(),window.location.hash&&((t=document.getElementById(window.location.hash.slice(1)))==null||t.scrollIntoView())})}restoreScrollPositions(){Cs(()=>{this.page.scrollRegions&&this.scrollRegions().forEach((t,r)=>{let n=this.page.scrollRegions[r];if(n)typeof t.scrollTo=="function"?t.scrollTo(n.left,n.top):(t.scrollTop=n.top,t.scrollLeft=n.left);else return})})}isBackForwardVisit(){return window.history.state&&this.navigationType==="back_forward"}handleBackForwardVisit(t){window.history.state.version=t.version,this.setPage(window.history.state,{preserveScroll:!0,preserveState:!0}).then(()=>{this.restoreScrollPositions(),$r(t)})}locationVisit(t,r){try{let n={preserveScroll:r};window.sessionStorage.setItem("inertiaLocationVisit",JSON.stringify(n)),window.location.href=t.href,Cr(window.location).href===Cr(t).href&&window.location.reload()}catch{return!1}}isLocationVisit(){try{return window.sessionStorage.getItem("inertiaLocationVisit")!==null}catch{return!1}}handleLocationVisit(t){var n,o,i,s;let r=JSON.parse(window.sessionStorage.getItem("inertiaLocationVisit")||"");window.sessionStorage.removeItem("inertiaLocationVisit"),t.url+=window.location.hash,t.rememberedState=(o=(n=window.history.state)==null?void 0:n.rememberedState)!=null?o:{},t.scrollRegions=(s=(i=window.history.state)==null?void 0:i.scrollRegions)!=null?s:[],this.setPage(t,{preserveScroll:r.preserveScroll,preserveState:!0}).then(()=>{r.preserveScroll&&this.restoreScrollPositions(),$r(t)})}isLocationVisitResponse(t){return!!(t&&t.status===409&&t.headers["x-inertia-location"])}isInertiaResponse(t){return!!(t!=null&&t.headers["x-inertia"])}createVisitId(){return this.visitId={},this.visitId}cancelVisit(t,{cancelled:r=!1,interrupted:n=!1}){t&&!t.completed&&!t.cancelled&&!t.interrupted&&(t.cancelToken.abort(),t.onCancel(),t.completed=!1,t.cancelled=r,t.interrupted=n,_s(t),t.onFinish(t))}finishVisit(t){!t.cancelled&&!t.interrupted&&(t.completed=!0,t.cancelled=!1,t.interrupted=!1,_s(t),t.onFinish(t))}resolvePreserveOption(t,r){return typeof t=="function"?t(r):t==="errors"?Object.keys(r.props.errors||{}).length>0:t}cancel(){this.activeVisit&&this.cancelVisit(this.activeVisit,{cancelled:!0})}visit(t,{method:r="get",data:n={},replace:o=!1,preserveScroll:i=!1,preserveState:s=!1,only:c=[],except:u=[],headers:f={},errorBag:d="",forceFormData:h=!1,onCancelToken:v=()=>{},onBefore:w=()=>{},onStart:m=()=>{},onProgress:y=()=>{},onFinish:b=()=>{},onCancel:S=()=>{},onSuccess:k=()=>{},onError:O=()=>{},queryStringArrayFormat:M="brackets"}={}){let R=typeof t=="string"?Gt(t):t;if((Wo(n)||h)&&!(n instanceof FormData)&&(n=pc(n)),!(n instanceof FormData)){let[D,_]=yc(r,R,n,M);R=Gt(D),n=_}let I={url:R,method:r,data:n,replace:o,preserveScroll:i,preserveState:s,only:c,except:u,headers:f,errorBag:d,forceFormData:h,queryStringArrayFormat:M,cancelled:!1,completed:!1,interrupted:!1};if(w(I)===!1||!qh(I))return;this.activeVisit&&this.cancelVisit(this.activeVisit,{interrupted:!0}),this.saveScrollPositions();let j=this.createVisitId();this.activeVisit={...I,onCancelToken:v,onBefore:w,onStart:m,onProgress:y,onFinish:b,onCancel:S,onSuccess:k,onError:O,queryStringArrayFormat:M,cancelToken:new AbortController},v({cancel:()=>{this.activeVisit&&this.cancelVisit(this.activeVisit,{cancelled:!0})}}),Xh(I),m(I);let W=!!(c.length||u.length);se({method:r,url:Cr(R).href,data:r==="get"?{}:n,params:r==="get"?n:{},signal:this.activeVisit.cancelToken.signal,headers:{...f,Accept:"text/html, application/xhtml+xml","X-Requested-With":"XMLHttpRequest","X-Inertia":!0,...W?{"X-Inertia-Partial-Component":this.page.component}:{},...c.length?{"X-Inertia-Partial-Data":c.join(",")}:{},...u.length?{"X-Inertia-Partial-Except":u.join(",")}:{},...d&&d.length?{"X-Inertia-Error-Bag":d}:{},...this.page.version?{"X-Inertia-Version":this.page.version}:{}},onUploadProgress:D=>{n instanceof FormData&&(D.percentage=D.progress?Math.round(D.progress*100):0,Jh(D),y(D))}}).then(D=>{var C;if(!this.isInertiaResponse(D))return Promise.reject({response:D});let _=D.data;W&&_.component===this.page.component&&(_.props={...this.page.props,..._.props}),i=this.resolvePreserveOption(i,_),s=this.resolvePreserveOption(s,_),s&&((C=window.history.state)!=null&&C.rememberedState)&&_.component===this.page.component&&(_.rememberedState=window.history.state.rememberedState);let $=R,L=Gt(_.url);return $.hash&&!L.hash&&Cr($).href===L.href&&(L.hash=$.hash,_.url=L.href),this.setPage(_,{visitId:j,replace:o,preserveScroll:i,preserveState:s})}).then(()=>{let D=this.page.props.errors||{};if(Object.keys(D).length>0){let _=d?D[d]?D[d]:{}:D;return Yh(_),O(_)}return Qh(this.page),k(this.page)}).catch(D=>{if(this.isInertiaResponse(D.response))return this.setPage(D.response.data,{visitId:j});if(this.isLocationVisitResponse(D.response)){let _=Gt(D.response.headers["x-inertia-location"]),$=R;$.hash&&!_.hash&&Cr($).href===_.href&&(_.hash=$.hash),this.locationVisit(_,i===!0)}else if(D.response)Kh(D.response)&&Zh.show(D.response.data);else return Promise.reject(D)}).then(()=>{this.activeVisit&&this.finishVisit(this.activeVisit)}).catch(D=>{if(!se.isCancel(D)){let _=Gh(D);if(this.activeVisit&&this.finishVisit(this.activeVisit),_)return Promise.reject(D)}})}setPage(t,{visitId:r=this.createVisitId(),replace:n=!1,preserveScroll:o=!1,preserveState:i=!1}={}){return Promise.resolve(this.resolveComponent(t.component)).then(s=>{r===this.visitId&&(t.scrollRegions=this.page.scrollRegions||[],t.rememberedState=t.rememberedState||{},n=n||Gt(t.url).href===window.location.href,n?this.replaceState(t):this.pushState(t),this.swapComponent({component:s,page:t,preserveState:i}).then(()=>{o?this.restoreScrollPositions():this.resetScrollPositions(),n||$r(t)}))})}pushState(t){this.page=t,$s?setTimeout(()=>window.history.pushState(t,"",t.url)):window.history.pushState(t,"",t.url)}replaceState(t){this.page=t,$s?setTimeout(()=>window.history.replaceState(t,"",t.url)):window.history.replaceState(t,"",t.url)}handlePopstateEvent(t){if(t.state!==null){let r=t.state,n=this.createVisitId();Promise.resolve(this.resolveComponent(r.component)).then(o=>{n===this.visitId&&(this.page=r,this.swapComponent({component:o,page:r,preserveState:!1}).then(()=>{this.restoreScrollPositions(),$r(r)}))})}else{let r=Gt(this.page.url);r.hash=window.location.hash,this.replaceState({...this.page,url:r.href}),this.resetScrollPositions()}}get(t,r={},n={}){return this.visit(t,{...n,method:"get",data:r})}reload(t={}){return this.visit(window.location.href,{...t,preserveScroll:!0,preserveState:!0})}replace(t,r={}){var n;return console.warn(`Inertia.replace() has been deprecated and will be removed in a future release. Please use Inertia.${(n=r.method)!=null?n:"get"}() instead.`),this.visit(t,{preserveState:!0,...r,replace:!0})}post(t,r={},n={}){return this.visit(t,{preserveState:!0,...n,method:"post",data:r})}put(t,r={},n={}){return this.visit(t,{preserveState:!0,...n,method:"put",data:r})}patch(t,r={},n={}){return this.visit(t,{preserveState:!0,...n,method:"patch",data:r})}delete(t,r={}){return this.visit(t,{preserveState:!0,...r,method:"delete"})}remember(t,r="default"){var n;Mn||this.replaceState({...this.page,rememberedState:{...(n=this.page)==null?void 0:n.rememberedState,[r]:t}})}restore(t="default"){var r,n;if(!Mn)return(n=(r=window.history.state)==null?void 0:r.rememberedState)==null?void 0:n[t]}on(t,r){if(Mn)return()=>{};let n=o=>{let i=r(o);o.cancelable&&!o.defaultPrevented&&i===!1&&o.preventDefault()};return document.addEventListener(`inertia:${t}`,n),()=>document.removeEventListener(`inertia:${t}`,n)}},ty={buildDOMElement(e){let t=document.createElement("template");t.innerHTML=e;let r=t.content.firstChild;if(!e.startsWith("<script "))return r;let n=document.createElement("script");return n.innerHTML=r.innerHTML,r.getAttributeNames().forEach(o=>{n.setAttribute(o,r.getAttribute(o)||"")}),n},isInertiaManagedElement(e){return e.nodeType===Node.ELEMENT_NODE&&e.getAttribute("inertia")!==null},findMatchingElementIndex(e,t){let r=e.getAttribute("inertia");return r!==null?t.findIndex(n=>n.getAttribute("inertia")===r):-1},update:dc(function(e){let t=e.map(r=>this.buildDOMElement(r));Array.from(document.head.childNodes).filter(r=>this.isInertiaManagedElement(r)).forEach(r=>{var i,s;let n=this.findMatchingElementIndex(r,t);if(n===-1){(i=r==null?void 0:r.parentNode)==null||i.removeChild(r);return}let o=t.splice(n,1)[0];o&&!r.isEqualNode(o)&&((s=r==null?void 0:r.parentNode)==null||s.replaceChild(o,r))}),t.forEach(r=>document.head.appendChild(r))},1)};function ry(e,t,r){let n={},o=0;function i(){let d=o+=1;return n[d]=[],d.toString()}function s(d){d===null||Object.keys(n).indexOf(d)===-1||(delete n[d],f())}function c(d,h=[]){d!==null&&Object.keys(n).indexOf(d)>-1&&(n[d]=h),f()}function u(){let d=t(""),h={...d?{title:`<title inertia="">${d}</title>`}:{}},v=Object.values(n).reduce((w,m)=>w.concat(m),[]).reduce((w,m)=>{if(m.indexOf("<")===-1)return w;if(m.indexOf("<title ")===0){let b=m.match(/(<title [^>]+>)(.*?)(<\/title>)/);return w.title=b?`${b[1]}${t(b[2])}${b[3]}`:m,w}let y=m.match(/ inertia="[^"]+"/);return y?w[y[0]]=m:w[Object.keys(w).length]=m,w},h);return Object.values(v)}function f(){e?r(u()):ty.update(u())}return f(),{forceUpdate:f,createProvider:function(){let d=i();return{update:h=>c(d,h),disconnect:()=>s(d)}}}}function ny(e){let t=e.currentTarget.tagName.toLowerCase()==="a";return!(e.target&&(e==null?void 0:e.target).isContentEditable||e.defaultPrevented||t&&e.altKey||t&&e.ctrlKey||t&&e.metaKey||t&&e.shiftKey||t&&"button"in e&&e.button!==0)}var dt=new ey,Hn={exports:{}};Hn.exports;(function(e,t){var r=200,n="__lodash_hash_undefined__",o=9007199254740991,i="[object Arguments]",s="[object Array]",c="[object Boolean]",u="[object Date]",f="[object Error]",d="[object Function]",h="[object GeneratorFunction]",v="[object Map]",w="[object Number]",m="[object Object]",y="[object Promise]",b="[object RegExp]",S="[object Set]",k="[object String]",O="[object Symbol]",M="[object WeakMap]",R="[object ArrayBuffer]",I="[object DataView]",j="[object Float32Array]",W="[object Float64Array]",D="[object Int8Array]",_="[object Int16Array]",$="[object Int32Array]",L="[object Uint8Array]",C="[object Uint8ClampedArray]",B="[object Uint16Array]",T="[object Uint32Array]",x=/[\\^$.*+?()[\]{}|]/g,V=/\w*$/,N=/^\[object .+?Constructor\]$/,U=/^(?:0|[1-9]\d*)$/,F={};F[i]=F[s]=F[R]=F[I]=F[c]=F[u]=F[j]=F[W]=F[D]=F[_]=F[$]=F[v]=F[w]=F[m]=F[b]=F[S]=F[k]=F[O]=F[L]=F[C]=F[B]=F[T]=!0,F[f]=F[d]=F[M]=!1;var X=typeof Ae=="object"&&Ae&&Ae.Object===Object&&Ae,te=typeof self=="object"&&self&&self.Object===Object&&self,Z=X||te||Function("return this")(),ae=t&&!t.nodeType&&t,q=ae&&!0&&e&&!e.nodeType&&e,Me=q&&q.exports===ae;function Fe(l,p){return l.set(p[0],p[1]),l}function he(l,p){return l.add(p),l}function Be(l,p){for(var g=-1,A=l?l.length:0;++g<A&&p(l[g],g,l)!==!1;);return l}function fe(l,p){for(var g=-1,A=p.length,Y=l.length;++g<A;)l[Y+g]=p[g];return l}function Oe(l,p,g,A){for(var Y=-1,z=l?l.length:0;++Y<z;)g=p(g,l[Y],Y,l);return g}function Re(l,p){for(var g=-1,A=Array(l);++g<l;)A[g]=p(g);return A}function Ze(l,p){return l==null?void 0:l[p]}function cr(l){var p=!1;if(l!=null&&typeof l.toString!="function")try{p=!!(l+"")}catch{}return p}function Zr(l){var p=-1,g=Array(l.size);return l.forEach(function(A,Y){g[++p]=[Y,A]}),g}function ur(l,p){return function(g){return l(p(g))}}function en(l){var p=-1,g=Array(l.size);return l.forEach(function(A){g[++p]=A}),g}var pa=Array.prototype,ma=Function.prototype,Mt=Object.prototype,fr=Z["__core-js_shared__"],tn=function(){var l=/[^.]+$/.exec(fr&&fr.keys&&fr.keys.IE_PROTO||"");return l?"Symbol(src)_1."+l:""}(),rn=ma.toString,He=Mt.hasOwnProperty,Ft=Mt.toString,ha=RegExp("^"+rn.call(He).replace(x,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),vt=Me?Z.Buffer:void 0,Rt=Z.Symbol,dr=Z.Uint8Array,Ie=ur(Object.getPrototypeOf,Object),nn=Object.create,an=Mt.propertyIsEnumerable,ya=pa.splice,pr=Object.getOwnPropertySymbols,Dt=vt?vt.isBuffer:void 0,on=ur(Object.keys,Object),jt=je(Z,"DataView"),gt=je(Z,"Map"),De=je(Z,"Promise"),Lt=je(Z,"Set"),mr=je(Z,"WeakMap"),bt=je(Object,"create"),hr=xe(jt),St=xe(gt),yr=xe(De),vr=xe(Lt),gr=xe(mr),ct=Rt?Rt.prototype:void 0,sn=ct?ct.valueOf:void 0;function et(l){var p=-1,g=l?l.length:0;for(this.clear();++p<g;){var A=l[p];this.set(A[0],A[1])}}function va(){this.__data__=bt?bt(null):{}}function ga(l){return this.has(l)&&delete this.__data__[l]}function ba(l){var p=this.__data__;if(bt){var g=p[l];return g===n?void 0:g}return He.call(p,l)?p[l]:void 0}function ln(l){var p=this.__data__;return bt?p[l]!==void 0:He.call(p,l)}function br(l,p){var g=this.__data__;return g[l]=bt&&p===void 0?n:p,this}et.prototype.clear=va,et.prototype.delete=ga,et.prototype.get=ba,et.prototype.has=ln,et.prototype.set=br;function ye(l){var p=-1,g=l?l.length:0;for(this.clear();++p<g;){var A=l[p];this.set(A[0],A[1])}}function Sa(){this.__data__=[]}function wa(l){var p=this.__data__,g=Ut(p,l);if(g<0)return!1;var A=p.length-1;return g==A?p.pop():ya.call(p,g,1),!0}function Ea(l){var p=this.__data__,g=Ut(p,l);return g<0?void 0:p[g][1]}function ka(l){return Ut(this.__data__,l)>-1}function Aa(l,p){var g=this.__data__,A=Ut(g,l);return A<0?g.push([l,p]):g[A][1]=p,this}ye.prototype.clear=Sa,ye.prototype.delete=wa,ye.prototype.get=Ea,ye.prototype.has=ka,ye.prototype.set=Aa;function be(l){var p=-1,g=l?l.length:0;for(this.clear();++p<g;){var A=l[p];this.set(A[0],A[1])}}function xa(){this.__data__={hash:new et,map:new(gt||ye),string:new et}}function Oa(l){return Et(this,l).delete(l)}function _a(l){return Et(this,l).get(l)}function $a(l){return Et(this,l).has(l)}function Ca(l,p){return Et(this,l).set(l,p),this}be.prototype.clear=xa,be.prototype.delete=Oa,be.prototype.get=_a,be.prototype.has=$a,be.prototype.set=Ca;function _e(l){this.__data__=new ye(l)}function Ta(){this.__data__=new ye}function Na(l){return this.__data__.delete(l)}function Pa(l){return this.__data__.get(l)}function Ba(l){return this.__data__.has(l)}function Ia(l,p){var g=this.__data__;if(g instanceof ye){var A=g.__data__;if(!gt||A.length<r-1)return A.push([l,p]),this;g=this.__data__=new be(A)}return g.set(l,p),this}_e.prototype.clear=Ta,_e.prototype.delete=Na,_e.prototype.get=Pa,_e.prototype.has=Ba,_e.prototype.set=Ia;function Vt(l,p){var g=kr(l)||Ht(l)?Re(l.length,String):[],A=g.length,Y=!!A;for(var z in l)He.call(l,z)&&!(Y&&(z=="length"||Ga(z,A)))&&g.push(z);return g}function cn(l,p,g){var A=l[p];(!(He.call(l,p)&&mn(A,g))||g===void 0&&!(p in l))&&(l[p]=g)}function Ut(l,p){for(var g=l.length;g--;)if(mn(l[g][0],p))return g;return-1}function We(l,p){return l&&Er(p,xr(p),l)}function Sr(l,p,g,A,Y,z,re){var ee;if(A&&(ee=z?A(l,Y,z,re):A(l)),ee!==void 0)return ee;if(!Ye(l))return l;var ue=kr(l);if(ue){if(ee=qa(l),!p)return za(l,ee)}else{var ne=rt(l),Se=ne==d||ne==h;if(hn(l))return zt(l,p);if(ne==m||ne==i||Se&&!z){if(cr(l))return z?l:{};if(ee=qe(Se?{}:l),!p)return Ha(l,We(ee,l))}else{if(!F[ne])return z?l:{};ee=Ya(l,ne,Sr,p)}}re||(re=new _e);var $e=re.get(l);if($e)return $e;if(re.set(l,ee),!ue)var de=g?Wa(l):xr(l);return Be(de||l,function(we,ve){de&&(ve=we,we=l[ve]),cn(ee,ve,Sr(we,p,g,A,ve,l,re))}),ee}function Ma(l){return Ye(l)?nn(l):{}}function Fa(l,p,g){var A=p(l);return kr(l)?A:fe(A,g(l))}function Ra(l){return Ft.call(l)}function Da(l){if(!Ye(l)||Ja(l))return!1;var p=Ar(l)||cr(l)?ha:N;return p.test(xe(l))}function ja(l){if(!dn(l))return on(l);var p=[];for(var g in Object(l))He.call(l,g)&&g!="constructor"&&p.push(g);return p}function zt(l,p){if(p)return l.slice();var g=new l.constructor(l.length);return l.copy(g),g}function wr(l){var p=new l.constructor(l.byteLength);return new dr(p).set(new dr(l)),p}function wt(l,p){var g=p?wr(l.buffer):l.buffer;return new l.constructor(g,l.byteOffset,l.byteLength)}function un(l,p,g){var A=p?g(Zr(l),!0):Zr(l);return Oe(A,Fe,new l.constructor)}function fn(l){var p=new l.constructor(l.source,V.exec(l));return p.lastIndex=l.lastIndex,p}function La(l,p,g){var A=p?g(en(l),!0):en(l);return Oe(A,he,new l.constructor)}function Va(l){return sn?Object(sn.call(l)):{}}function Ua(l,p){var g=p?wr(l.buffer):l.buffer;return new l.constructor(g,l.byteOffset,l.length)}function za(l,p){var g=-1,A=l.length;for(p||(p=Array(A));++g<A;)p[g]=l[g];return p}function Er(l,p,g,A){g||(g={});for(var Y=-1,z=p.length;++Y<z;){var re=p[Y],ee=void 0;cn(g,re,ee===void 0?l[re]:ee)}return g}function Ha(l,p){return Er(l,tt(l),p)}function Wa(l){return Fa(l,xr,tt)}function Et(l,p){var g=l.__data__;return Ka(p)?g[typeof p=="string"?"string":"hash"]:g.map}function je(l,p){var g=Ze(l,p);return Da(g)?g:void 0}var tt=pr?ur(pr,Object):Qa,rt=Ra;(jt&&rt(new jt(new ArrayBuffer(1)))!=I||gt&&rt(new gt)!=v||De&&rt(De.resolve())!=y||Lt&&rt(new Lt)!=S||mr&&rt(new mr)!=M)&&(rt=function(l){var p=Ft.call(l),g=p==m?l.constructor:void 0,A=g?xe(g):void 0;if(A)switch(A){case hr:return I;case St:return v;case yr:return y;case vr:return S;case gr:return M}return p});function qa(l){var p=l.length,g=l.constructor(p);return p&&typeof l[0]=="string"&&He.call(l,"index")&&(g.index=l.index,g.input=l.input),g}function qe(l){return typeof l.constructor=="function"&&!dn(l)?Ma(Ie(l)):{}}function Ya(l,p,g,A){var Y=l.constructor;switch(p){case R:return wr(l);case c:case u:return new Y(+l);case I:return wt(l,A);case j:case W:case D:case _:case $:case L:case C:case B:case T:return Ua(l,A);case v:return un(l,A,g);case w:case k:return new Y(l);case b:return fn(l);case S:return La(l,A,g);case O:return Va(l)}}function Ga(l,p){return p=p==null?o:p,!!p&&(typeof l=="number"||U.test(l))&&l>-1&&l%1==0&&l<p}function Ka(l){var p=typeof l;return p=="string"||p=="number"||p=="symbol"||p=="boolean"?l!=="__proto__":l===null}function Ja(l){return!!tn&&tn in l}function dn(l){var p=l&&l.constructor,g=typeof p=="function"&&p.prototype||Mt;return l===g}function xe(l){if(l!=null){try{return rn.call(l)}catch{}try{return l+""}catch{}}return""}function pn(l){return Sr(l,!0,!0)}function mn(l,p){return l===p||l!==l&&p!==p}function Ht(l){return Xa(l)&&He.call(l,"callee")&&(!an.call(l,"callee")||Ft.call(l)==i)}var kr=Array.isArray;function Wt(l){return l!=null&&yn(l.length)&&!Ar(l)}function Xa(l){return vn(l)&&Wt(l)}var hn=Dt||Za;function Ar(l){var p=Ye(l)?Ft.call(l):"";return p==d||p==h}function yn(l){return typeof l=="number"&&l>-1&&l%1==0&&l<=o}function Ye(l){var p=typeof l;return!!l&&(p=="object"||p=="function")}function vn(l){return!!l&&typeof l=="object"}function xr(l){return Wt(l)?Vt(l):ja(l)}function Qa(){return[]}function Za(){return!1}e.exports=pn})(Hn,Hn.exports);var ay=Hn.exports;const oy=na(ay);var Wn={exports:{}};Wn.exports;(function(e,t){var r=200,n="__lodash_hash_undefined__",o=1,i=2,s=9007199254740991,c="[object Arguments]",u="[object Array]",f="[object AsyncFunction]",d="[object Boolean]",h="[object Date]",v="[object Error]",w="[object Function]",m="[object GeneratorFunction]",y="[object Map]",b="[object Number]",S="[object Null]",k="[object Object]",O="[object Promise]",M="[object Proxy]",R="[object RegExp]",I="[object Set]",j="[object String]",W="[object Symbol]",D="[object Undefined]",_="[object WeakMap]",$="[object ArrayBuffer]",L="[object DataView]",C="[object Float32Array]",B="[object Float64Array]",T="[object Int8Array]",x="[object Int16Array]",V="[object Int32Array]",N="[object Uint8Array]",U="[object Uint8ClampedArray]",F="[object Uint16Array]",X="[object Uint32Array]",te=/[\\^$.*+?()[\]{}|]/g,Z=/^\[object .+?Constructor\]$/,ae=/^(?:0|[1-9]\d*)$/,q={};q[C]=q[B]=q[T]=q[x]=q[V]=q[N]=q[U]=q[F]=q[X]=!0,q[c]=q[u]=q[$]=q[d]=q[L]=q[h]=q[v]=q[w]=q[y]=q[b]=q[k]=q[R]=q[I]=q[j]=q[_]=!1;var Me=typeof Ae=="object"&&Ae&&Ae.Object===Object&&Ae,Fe=typeof self=="object"&&self&&self.Object===Object&&self,he=Me||Fe||Function("return this")(),Be=t&&!t.nodeType&&t,fe=Be&&!0&&e&&!e.nodeType&&e,Oe=fe&&fe.exports===Be,Re=Oe&&Me.process,Ze=function(){try{return Re&&Re.binding&&Re.binding("util")}catch{}}(),cr=Ze&&Ze.isTypedArray;function Zr(l,p){for(var g=-1,A=l==null?0:l.length,Y=0,z=[];++g<A;){var re=l[g];p(re,g,l)&&(z[Y++]=re)}return z}function ur(l,p){for(var g=-1,A=p.length,Y=l.length;++g<A;)l[Y+g]=p[g];return l}function en(l,p){for(var g=-1,A=l==null?0:l.length;++g<A;)if(p(l[g],g,l))return!0;return!1}function pa(l,p){for(var g=-1,A=Array(l);++g<l;)A[g]=p(g);return A}function ma(l){return function(p){return l(p)}}function Mt(l,p){return l.has(p)}function fr(l,p){return l==null?void 0:l[p]}function tn(l){var p=-1,g=Array(l.size);return l.forEach(function(A,Y){g[++p]=[Y,A]}),g}function rn(l,p){return function(g){return l(p(g))}}function He(l){var p=-1,g=Array(l.size);return l.forEach(function(A){g[++p]=A}),g}var Ft=Array.prototype,ha=Function.prototype,vt=Object.prototype,Rt=he["__core-js_shared__"],dr=ha.toString,Ie=vt.hasOwnProperty,nn=function(){var l=/[^.]+$/.exec(Rt&&Rt.keys&&Rt.keys.IE_PROTO||"");return l?"Symbol(src)_1."+l:""}(),an=vt.toString,ya=RegExp("^"+dr.call(Ie).replace(te,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),pr=Oe?he.Buffer:void 0,Dt=he.Symbol,on=he.Uint8Array,jt=vt.propertyIsEnumerable,gt=Ft.splice,De=Dt?Dt.toStringTag:void 0,Lt=Object.getOwnPropertySymbols,mr=pr?pr.isBuffer:void 0,bt=rn(Object.keys,Object),hr=tt(he,"DataView"),St=tt(he,"Map"),yr=tt(he,"Promise"),vr=tt(he,"Set"),gr=tt(he,"WeakMap"),ct=tt(Object,"create"),sn=xe(hr),et=xe(St),va=xe(yr),ga=xe(vr),ba=xe(gr),ln=Dt?Dt.prototype:void 0,br=ln?ln.valueOf:void 0;function ye(l){var p=-1,g=l==null?0:l.length;for(this.clear();++p<g;){var A=l[p];this.set(A[0],A[1])}}function Sa(){this.__data__=ct?ct(null):{},this.size=0}function wa(l){var p=this.has(l)&&delete this.__data__[l];return this.size-=p?1:0,p}function Ea(l){var p=this.__data__;if(ct){var g=p[l];return g===n?void 0:g}return Ie.call(p,l)?p[l]:void 0}function ka(l){var p=this.__data__;return ct?p[l]!==void 0:Ie.call(p,l)}function Aa(l,p){var g=this.__data__;return this.size+=this.has(l)?0:1,g[l]=ct&&p===void 0?n:p,this}ye.prototype.clear=Sa,ye.prototype.delete=wa,ye.prototype.get=Ea,ye.prototype.has=ka,ye.prototype.set=Aa;function be(l){var p=-1,g=l==null?0:l.length;for(this.clear();++p<g;){var A=l[p];this.set(A[0],A[1])}}function xa(){this.__data__=[],this.size=0}function Oa(l){var p=this.__data__,g=zt(p,l);if(g<0)return!1;var A=p.length-1;return g==A?p.pop():gt.call(p,g,1),--this.size,!0}function _a(l){var p=this.__data__,g=zt(p,l);return g<0?void 0:p[g][1]}function $a(l){return zt(this.__data__,l)>-1}function Ca(l,p){var g=this.__data__,A=zt(g,l);return A<0?(++this.size,g.push([l,p])):g[A][1]=p,this}be.prototype.clear=xa,be.prototype.delete=Oa,be.prototype.get=_a,be.prototype.has=$a,be.prototype.set=Ca;function _e(l){var p=-1,g=l==null?0:l.length;for(this.clear();++p<g;){var A=l[p];this.set(A[0],A[1])}}function Ta(){this.size=0,this.__data__={hash:new ye,map:new(St||be),string:new ye}}function Na(l){var p=je(this,l).delete(l);return this.size-=p?1:0,p}function Pa(l){return je(this,l).get(l)}function Ba(l){return je(this,l).has(l)}function Ia(l,p){var g=je(this,l),A=g.size;return g.set(l,p),this.size+=g.size==A?0:1,this}_e.prototype.clear=Ta,_e.prototype.delete=Na,_e.prototype.get=Pa,_e.prototype.has=Ba,_e.prototype.set=Ia;function Vt(l){var p=-1,g=l==null?0:l.length;for(this.__data__=new _e;++p<g;)this.add(l[p])}function cn(l){return this.__data__.set(l,n),this}function Ut(l){return this.__data__.has(l)}Vt.prototype.add=Vt.prototype.push=cn,Vt.prototype.has=Ut;function We(l){var p=this.__data__=new be(l);this.size=p.size}function Sr(){this.__data__=new be,this.size=0}function Ma(l){var p=this.__data__,g=p.delete(l);return this.size=p.size,g}function Fa(l){return this.__data__.get(l)}function Ra(l){return this.__data__.has(l)}function Da(l,p){var g=this.__data__;if(g instanceof be){var A=g.__data__;if(!St||A.length<r-1)return A.push([l,p]),this.size=++g.size,this;g=this.__data__=new _e(A)}return g.set(l,p),this.size=g.size,this}We.prototype.clear=Sr,We.prototype.delete=Ma,We.prototype.get=Fa,We.prototype.has=Ra,We.prototype.set=Da;function ja(l,p){var g=Ht(l),A=!g&&mn(l),Y=!g&&!A&&Wt(l),z=!g&&!A&&!Y&&vn(l),re=g||A||Y||z,ee=re?pa(l.length,String):[],ue=ee.length;for(var ne in l)Ie.call(l,ne)&&!(re&&(ne=="length"||Y&&(ne=="offset"||ne=="parent")||z&&(ne=="buffer"||ne=="byteLength"||ne=="byteOffset")||Ya(ne,ue)))&&ee.push(ne);return ee}function zt(l,p){for(var g=l.length;g--;)if(pn(l[g][0],p))return g;return-1}function wr(l,p,g){var A=p(l);return Ht(l)?A:ur(A,g(l))}function wt(l){return l==null?l===void 0?D:S:De&&De in Object(l)?rt(l):dn(l)}function un(l){return Ye(l)&&wt(l)==c}function fn(l,p,g,A,Y){return l===p?!0:l==null||p==null||!Ye(l)&&!Ye(p)?l!==l&&p!==p:La(l,p,g,A,fn,Y)}function La(l,p,g,A,Y,z){var re=Ht(l),ee=Ht(p),ue=re?u:qe(l),ne=ee?u:qe(p);ue=ue==c?k:ue,ne=ne==c?k:ne;var Se=ue==k,$e=ne==k,de=ue==ne;if(de&&Wt(l)){if(!Wt(p))return!1;re=!0,Se=!1}if(de&&!Se)return z||(z=new We),re||vn(l)?Er(l,p,g,A,Y,z):Ha(l,p,ue,g,A,Y,z);if(!(g&o)){var we=Se&&Ie.call(l,"__wrapped__"),ve=$e&&Ie.call(p,"__wrapped__");if(we||ve){var ut=we?l.value():l,nt=ve?p.value():p;return z||(z=new We),Y(ut,nt,g,A,z)}}return de?(z||(z=new We),Wa(l,p,g,A,Y,z)):!1}function Va(l){if(!yn(l)||Ka(l))return!1;var p=hn(l)?ya:Z;return p.test(xe(l))}function Ua(l){return Ye(l)&&Ar(l.length)&&!!q[wt(l)]}function za(l){if(!Ja(l))return bt(l);var p=[];for(var g in Object(l))Ie.call(l,g)&&g!="constructor"&&p.push(g);return p}function Er(l,p,g,A,Y,z){var re=g&o,ee=l.length,ue=p.length;if(ee!=ue&&!(re&&ue>ee))return!1;var ne=z.get(l);if(ne&&z.get(p))return ne==p;var Se=-1,$e=!0,de=g&i?new Vt:void 0;for(z.set(l,p),z.set(p,l);++Se<ee;){var we=l[Se],ve=p[Se];if(A)var ut=re?A(ve,we,Se,p,l,z):A(we,ve,Se,l,p,z);if(ut!==void 0){if(ut)continue;$e=!1;break}if(de){if(!en(p,function(nt,kt){if(!Mt(de,kt)&&(we===nt||Y(we,nt,g,A,z)))return de.push(kt)})){$e=!1;break}}else if(!(we===ve||Y(we,ve,g,A,z))){$e=!1;break}}return z.delete(l),z.delete(p),$e}function Ha(l,p,g,A,Y,z,re){switch(g){case L:if(l.byteLength!=p.byteLength||l.byteOffset!=p.byteOffset)return!1;l=l.buffer,p=p.buffer;case $:return!(l.byteLength!=p.byteLength||!z(new on(l),new on(p)));case d:case h:case b:return pn(+l,+p);case v:return l.name==p.name&&l.message==p.message;case R:case j:return l==p+"";case y:var ee=tn;case I:var ue=A&o;if(ee||(ee=He),l.size!=p.size&&!ue)return!1;var ne=re.get(l);if(ne)return ne==p;A|=i,re.set(l,p);var Se=Er(ee(l),ee(p),A,Y,z,re);return re.delete(l),Se;case W:if(br)return br.call(l)==br.call(p)}return!1}function Wa(l,p,g,A,Y,z){var re=g&o,ee=Et(l),ue=ee.length,ne=Et(p),Se=ne.length;if(ue!=Se&&!re)return!1;for(var $e=ue;$e--;){var de=ee[$e];if(!(re?de in p:Ie.call(p,de)))return!1}var we=z.get(l);if(we&&z.get(p))return we==p;var ve=!0;z.set(l,p),z.set(p,l);for(var ut=re;++$e<ue;){de=ee[$e];var nt=l[de],kt=p[de];if(A)var Ii=re?A(kt,nt,de,p,l,z):A(nt,kt,de,l,p,z);if(!(Ii===void 0?nt===kt||Y(nt,kt,g,A,z):Ii)){ve=!1;break}ut||(ut=de=="constructor")}if(ve&&!ut){var gn=l.constructor,bn=p.constructor;gn!=bn&&"constructor"in l&&"constructor"in p&&!(typeof gn=="function"&&gn instanceof gn&&typeof bn=="function"&&bn instanceof bn)&&(ve=!1)}return z.delete(l),z.delete(p),ve}function Et(l){return wr(l,xr,qa)}function je(l,p){var g=l.__data__;return Ga(p)?g[typeof p=="string"?"string":"hash"]:g.map}function tt(l,p){var g=fr(l,p);return Va(g)?g:void 0}function rt(l){var p=Ie.call(l,De),g=l[De];try{l[De]=void 0;var A=!0}catch{}var Y=an.call(l);return A&&(p?l[De]=g:delete l[De]),Y}var qa=Lt?function(l){return l==null?[]:(l=Object(l),Zr(Lt(l),function(p){return jt.call(l,p)}))}:Qa,qe=wt;(hr&&qe(new hr(new ArrayBuffer(1)))!=L||St&&qe(new St)!=y||yr&&qe(yr.resolve())!=O||vr&&qe(new vr)!=I||gr&&qe(new gr)!=_)&&(qe=function(l){var p=wt(l),g=p==k?l.constructor:void 0,A=g?xe(g):"";if(A)switch(A){case sn:return L;case et:return y;case va:return O;case ga:return I;case ba:return _}return p});function Ya(l,p){return p=p==null?s:p,!!p&&(typeof l=="number"||ae.test(l))&&l>-1&&l%1==0&&l<p}function Ga(l){var p=typeof l;return p=="string"||p=="number"||p=="symbol"||p=="boolean"?l!=="__proto__":l===null}function Ka(l){return!!nn&&nn in l}function Ja(l){var p=l&&l.constructor,g=typeof p=="function"&&p.prototype||vt;return l===g}function dn(l){return an.call(l)}function xe(l){if(l!=null){try{return dr.call(l)}catch{}try{return l+""}catch{}}return""}function pn(l,p){return l===p||l!==l&&p!==p}var mn=un(function(){return arguments}())?un:function(l){return Ye(l)&&Ie.call(l,"callee")&&!jt.call(l,"callee")},Ht=Array.isArray;function kr(l){return l!=null&&Ar(l.length)&&!hn(l)}var Wt=mr||Za;function Xa(l,p){return fn(l,p)}function hn(l){if(!yn(l))return!1;var p=wt(l);return p==w||p==m||p==f||p==M}function Ar(l){return typeof l=="number"&&l>-1&&l%1==0&&l<=s}function yn(l){var p=typeof l;return l!=null&&(p=="object"||p=="function")}function Ye(l){return l!=null&&typeof l=="object"}var vn=cr?ma(cr):Ua;function xr(l){return kr(l)?ja(l):za(l)}function Qa(){return[]}function Za(){return!1}e.exports=Xa})(Wn,Wn.exports);Wn.exports;var Ne=a.ref(null),kn=a.ref(null),xo=a.shallowRef(null),An=a.ref(null),Ts=null;a.defineComponent({name:"Inertia",props:{initialPage:{type:Object,required:!0},initialComponent:{type:Object,required:!1},resolveComponent:{type:Function,required:!1},titleCallback:{type:Function,required:!1,default:e=>e},onHeadUpdate:{type:Function,required:!1,default:()=>()=>{}}},setup({initialPage:e,initialComponent:t,resolveComponent:r,titleCallback:n,onHeadUpdate:o}){Ne.value=t?a.markRaw(t):null,kn.value=e,An.value=null;let i=typeof window>"u";return Ts=ry(i,n,o),i||(dt.init({initialPage:e,resolveComponent:r,swapComponent:async s=>{Ne.value=a.markRaw(s.component),kn.value=s.page,An.value=s.preserveState?An.value:Date.now()}}),dt.on("navigate",()=>Ts.forceUpdate())),()=>{if(Ne.value){Ne.value.inheritAttrs=!!Ne.value.inheritAttrs;let s=a.h(Ne.value,{...kn.value.props,key:An.value});return xo.value&&(Ne.value.layout=xo.value,xo.value=null),Ne.value.layout?typeof Ne.value.layout=="function"?Ne.value.layout(a.h,s):(Array.isArray(Ne.value.layout)?Ne.value.layout:[Ne.value.layout]).concat(s).reverse().reduce((c,u)=>(u.inheritAttrs=!!u.inheritAttrs,a.h(u,{...kn.value.props},()=>c))):s}}}});a.defineComponent({props:{title:{type:String,required:!1}},data(){return{provider:this.$headManager.createProvider()}},beforeUnmount(){this.provider.disconnect()},methods:{isUnaryTag(e){return["area","base","br","col","embed","hr","img","input","keygen","link","meta","param","source","track","wbr"].indexOf(e.type)>-1},renderTagStart(e){e.props=e.props||{},e.props.inertia=e.props["head-key"]!==void 0?e.props["head-key"]:"";let t=Object.keys(e.props).reduce((r,n)=>{let o=e.props[n];return["key","head-key"].includes(n)?r:o===""?r+` ${n}`:r+` ${n}="${o}"`},"");return`<${e.type}${t}>`},renderTagChildren(e){return typeof e.children=="string"?e.children:e.children.reduce((t,r)=>t+this.renderTag(r),"")},isFunctionNode(e){return typeof e.type=="function"},isComponentNode(e){return typeof e.type=="object"},isCommentNode(e){return/(comment|cmt)/i.test(e.type.toString())},isFragmentNode(e){return/(fragment|fgt|symbol\(\))/i.test(e.type.toString())},isTextNode(e){return/(text|txt)/i.test(e.type.toString())},renderTag(e){if(this.isTextNode(e))return e.children;if(this.isFragmentNode(e)||this.isCommentNode(e))return"";let t=this.renderTagStart(e);return e.children&&(t+=this.renderTagChildren(e)),this.isUnaryTag(e)||(t+=`</${e.type}>`),t},addTitleElement(e){return this.title&&!e.find(t=>t.startsWith("<title"))&&e.push(`<title inertia>${this.title}</title>`),e},renderNodes(e){return this.addTitleElement(e.flatMap(t=>this.resolveNode(t)).map(t=>this.renderTag(t)).filter(t=>t))},resolveNode(e){return this.isFunctionNode(e)?this.resolveNode(e.type()):this.isComponentNode(e)?(console.warn("Using components in the <Head> component is not supported."),[]):this.isTextNode(e)&&e.children?e:this.isFragmentNode(e)&&e.children?e.children.flatMap(t=>this.resolveNode(t)):this.isCommentNode(e)?[]:e}},render(){this.provider.update(this.renderNodes(this.$slots.default?this.$slots.default():[]))}});var iy=a.defineComponent({name:"Link",props:{as:{type:String,default:"a"},data:{type:Object,default:()=>({})},href:{type:String,required:!0},method:{type:String,default:"get"},replace:{type:Boolean,default:!1},preserveScroll:{type:Boolean,default:!1},preserveState:{type:Boolean,default:null},only:{type:Array,default:()=>[]},except:{type:Array,default:()=>[]},headers:{type:Object,default:()=>({})},queryStringArrayFormat:{type:String,default:"brackets"}},setup(e,{slots:t,attrs:r}){return()=>{let n=e.as.toLowerCase(),o=e.method.toLowerCase(),[i,s]=yc(o,e.href||"",e.data,e.queryStringArrayFormat);return n==="a"&&o!=="get"&&console.warn(`Creating POST/PUT/PATCH/DELETE <a> links is discouraged as it causes "Open Link in New Tab/Window" accessibility issues.
11
-
12
- Please specify a more appropriate element using the "as" attribute. For example:
13
-
14
- <Link href="${i}" method="${o}" as="button">...</Link>`),a.h(e.as,{...r,...n==="a"?{href:i}:{},onClick:c=>{var u;ny(c)&&(c.preventDefault(),dt.visit(i,{data:s,method:o,replace:e.replace,preserveScroll:e.preserveScroll,preserveState:(u=e.preserveState)!=null?u:o!=="get",only:e.only,except:e.except,headers:e.headers,onCancelToken:r.onCancelToken||(()=>({})),onBefore:r.onBefore||(()=>({})),onStart:r.onStart||(()=>({})),onProgress:r.onProgress||(()=>({})),onFinish:r.onFinish||(()=>({})),onCancel:r.onCancel||(()=>({})),onSuccess:r.onSuccess||(()=>({})),onError:r.onError||(()=>({}))}))}},t)}}}),Ns=iy;function sy(e,t){if(typeof e=="object"&&e!==null&&e.__rememberable===!1)return e;let r=dt.restore(t),n=a.isReactive(e)?a.reactive:a.ref,o=typeof e.__remember=="function"&&typeof e.__restore=="function",i=n(r===void 0?e:o?e.__restore(r):r);return a.watch(i,s=>{dt.remember(oy(o?e.__remember():s),t)},{immediate:!0,deep:!0}),i}const vc={__name:"SForm",props:a.mergeModels({method:{type:String,default:"post"},action:String,titlesAtLeft:Boolean,loading:Boolean,titlesWidth:{type:[Number,String],default:220},errors:{type:Object,required:!1}},{modelValue:{},modelModifiers:{}}),emits:a.mergeModels(["submit","update:modelValue"],["update:modelValue"]),setup(e,{emit:t}){const r=e,n=t,o=a.getCurrentInstance(),i=a.computed(()=>{var h;return!!((h=o==null?void 0:o.vnode.props)!=null&&h.onSubmit)}),s=a.useModel(e,"modelValue"),c=a.ref({...r.errors});a.watch(()=>r.errors,h=>{c.value={...h}});const u=a.ref(r.loading);function f(h){var v;i.value?n("submit",h):(u.value=!0,dt.visit(r.action,{method:(v=r.method)!=null?v:"post",data:s.value,preserveScroll:!0,preserveState:!0,onError:w=>c.value=d(w),onFinish:()=>u.value=!1}))}const d=function(h){const v=JSON.parse(JSON.stringify(h));return Object.keys(v).forEach(w=>{w.includes(".")&&!v[w.split(".")[0]]&&(v[w.split(".")[0]]=v[w])}),v};return a.provide("formModel",s.value),a.provide("formErrors",c),a.provide("titlesWidth",r.titlesWidth),(h,v)=>(a.openBlock(),a.createElementBlock("form",{class:a.normalizeClass(["s-form",{titles_at_left:e.titlesAtLeft,loading:u.value||e.loading}]),onSubmit:a.withModifiers(f,["prevent"])},[a.renderSlot(h.$slots,"default")],34))}},ly={class:"s-formrow-input-wrapper"},cy={key:2,class:"s-formrow-hint"},uy={key:3,class:"s-formrow-hint"},fy={key:0,class:"s-formrow-error"},gc={__name:"SFormRow",props:{class:String,name:String,title:String,hint:String},setup(e,{expose:t}){const r=e,n=a.inject("formModel"),o=a.computed({get:()=>n==null?void 0:n[r.name],set:v=>{n&&(n[r.name]=v)}}),i=a.inject("formErrors"),s=a.computed(()=>{var v;return(v=i.value[r.name])!=null?v:""}),c=a.inject("titlesWidth"),u=a.useSlots(),f=a.computed(()=>{var w;return(((w=u.default)==null?void 0:w.call(u))||[]).map(m=>{var b;if(typeof m.type!="object")return m;const y=(b=m.props)==null?void 0:b.type;return a.cloneVNode(m,{modelValue:o.value,"onUpdate:modelValue":S=>{y==="number"?o.value=S===""?null:Number(S):o.value=S}})})}),d=a.useTemplateRef("input");function h(){const v=d.value.querySelector("input, textarea");v&&v.focus()}return t({focus:h}),(v,w)=>{var m;return a.openBlock(),a.createElementBlock("div",{class:a.normalizeClass(["s-formrow",{error:s.value!==""}])},[v.$slots.title?(a.openBlock(),a.createElementBlock("div",{key:0,class:"s-formrow-title",style:a.normalizeStyle({width:a.unref(c)?a.unref(c)+"px":null})},[a.renderSlot(v.$slots,"title")],4)):(a.openBlock(),a.createElementBlock("div",{key:1,class:"s-formrow-title",onClick:h,style:a.normalizeStyle({width:a.unref(c)?a.unref(c)+"px":null})},a.toDisplayString((m=e.title)!=null?m:""),5)),a.createElementVNode("div",ly,[a.createElementVNode("div",{class:"s-formrow-input",ref_key:"input",ref:d},[e.name?(a.openBlock(!0),a.createElementBlock(a.Fragment,{key:0},a.renderList(f.value,(y,b)=>(a.openBlock(),a.createBlock(a.resolveDynamicComponent(y),{key:b}))),128)):a.renderSlot(v.$slots,"default",{key:1}),v.$slots.hint?(a.openBlock(),a.createElementBlock("div",cy,[a.renderSlot(v.$slots,"hint")])):a.createCommentVNode("",!0),e.hint?(a.openBlock(),a.createElementBlock("div",uy,a.toDisplayString(e.hint),1)):a.createCommentVNode("",!0)],512),s.value?(a.openBlock(),a.createElementBlock("div",fy,a.toDisplayString(Array.isArray(s.value)?s.value.join(""):s.value),1)):a.createCommentVNode("",!0)])],2)}}},dy={key:0,class:"s-input-prefix"},py=["rows","disabled","placeholder"],my=["type","placeholder","disabled"],hy={key:3,class:"s-input-suffix"},bc={__name:"SInput",props:a.mergeModels({modelValue:{type:[Number,String]},type:{type:String,default:"text",validator:e=>["text","string","number","email","password","textarea","search"].includes(e)},placeholder:String,prefix:String,suffix:String,disabled:{type:Boolean,default:!1},rows:{type:Number,default:3},inputStyle:[String,Object,Array]},{modelValue:{},modelModifiers:{}}),emits:a.mergeModels(["change"],["update:modelValue"]),setup(e,{emit:t}){const r=e,n=a.useModel(e,"modelValue"),o=a.useSlots(),i=a.computed(()=>r.prefix||o.prefix),s=a.computed(()=>r.suffix||o.suffix);return(c,u)=>(a.openBlock(),a.createElementBlock("div",{class:a.normalizeClass(["s-input",{"has-prefix":i.value,"has-suffix":s.value}])},[i.value?(a.openBlock(),a.createElementBlock("span",dy,[e.prefix?(a.openBlock(),a.createElementBlock(a.Fragment,{key:0},[a.createTextVNode(a.toDisplayString(e.prefix),1)],64)):a.renderSlot(c.$slots,"prefix",{key:1})])):a.createCommentVNode("",!0),e.type==="textarea"?a.withDirectives((a.openBlock(),a.createElementBlock("textarea",{key:1,class:"s-input-field","onUpdate:modelValue":u[0]||(u[0]=f=>n.value=f),rows:e.rows,disabled:e.disabled,placeholder:e.placeholder,onInput:u[1]||(u[1]=f=>c.$emit("change",f.target.value)),style:a.normalizeStyle(e.inputStyle)},null,44,py)),[[a.vModelText,n.value]]):a.withDirectives((a.openBlock(),a.createElementBlock("input",{key:2,class:"s-input-field",type:e.type,"onUpdate:modelValue":u[2]||(u[2]=f=>n.value=f),placeholder:e.placeholder,disabled:e.disabled,onInput:u[3]||(u[3]=f=>c.$emit("change",f.target.value)),style:a.normalizeStyle(e.inputStyle)},null,44,my)),[[a.vModelDynamic,n.value]]),s.value?(a.openBlock(),a.createElementBlock("span",hy,[e.suffix?(a.openBlock(),a.createElementBlock(a.Fragment,{key:0},[a.createTextVNode(a.toDisplayString(e.suffix),1)],64)):a.renderSlot(c.$slots,"suffix",{key:1})])):a.createCommentVNode("",!0)],2))}},yy=["placeholder"],vy={key:1,class:"s-select-field-label"},gy=["onClick"],by=["onClick"],Sy={key:1,class:"s-select-options-list"},wy=["onClick"],Ey={key:2,class:"s-select-options-nodata"},bi={__name:"SSelect",props:a.mergeModels({options:{type:[Object,Array],required:!0},placeholder:String,filterable:Boolean,disabled:Boolean,clearable:Boolean,inline:Boolean,virtual:{type:Boolean,default:!1},virtualScrollSize:{type:Number,default:10},useTeleport:{type:Boolean,default:!1}},{modelValue:{},modelModifiers:{}}),emits:a.mergeModels(["change","filter"],["update:modelValue"]),setup(e,{emit:t}){var L;const r=e,n=t,o=a.useModel(e,"modelValue"),i=Ct.templateRef("selectRef"),s=a.useAttrs(),c=a.computed(()=>{var C;return((C=s.class)==null?void 0:C.includes("s-custom-select"))||""}),u=C=>C instanceof Array?JSON.parse(JSON.stringify(C)):Object.entries(C),f=a.ref(u((L=r.options)!=null?L:{}));a.watch(()=>r.options,C=>{f.value=u(C!=null?C:{})});const d=a.ref(35),h=a.ref(0),v=a.computed(()=>`${f.value.length*d.value}px`),w=a.computed(()=>f.value.length===0?[]:r.virtual?f.value.slice(h.value,h.value+r.virtualScrollSize):f.value),m=a.ref(!1),y=a.ref(null),b=a.ref(null),S=a.ref(null),k=a.computed(()=>{if(o.value===null)return r.placeholder;const C=f.value.find(([B,T])=>B==o.value);return C===void 0?r.placeholder:C[1]});function O(C){const B=C.target.scrollTop;h.value=Math.floor(B/d.value)}a.watch(S,C=>{M(),n("filter",C)});function M(){if(S.value==""){f.value=u(r.options);return}f.value=u(r.options).filter(([C,B])=>B.toLowerCase().includes(S.value.toLowerCase()))}function R(C){i.value&&!i.value.contains(C.target)&&(m.value=!1)}function I(C){S.value="",o.value=C,n("change",C),m.value=!1}function j(C){const B=y.value.offsetHeight+Math.max(20,f.value.length*d.value),T=window.innerHeight-C.bottom,x=C.top;return T<B&&x>B?"drop-up":"drop-down"}const W=a.ref({});function D(){const C=i.value.getBoundingClientRect();b.value=j(C),i.value&&r.useTeleport&&(W.value={position:"absolute",left:`${C.left+window.scrollX}px`,zIndex:9999,width:`${C.width}px`},b.value==="drop-up"?W.value.bottom=`${window.innerHeight-C.bottom+C.height}px`:W.value.top=`${C.bottom+window.scrollY}px`)}a.watch(m,C=>{C&&D()});function _(C){m.value=!m.value}function $(){o.value=null,n("change",null)}return a.onMounted(()=>{document.addEventListener("click",R),a.nextTick(()=>{const C=i.value.getBoundingClientRect();b.value=j(C)})}),a.onBeforeUnmount(()=>{document.removeEventListener("click",R)}),(C,B)=>{const T=a.resolveComponent("FontAwesomeIcon");return a.openBlock(),a.createElementBlock("div",{class:a.normalizeClass(["s-select",[c.value,{disabled:e.disabled,inline:e.inline}]]),ref:"selectRef"},[a.createElementVNode("div",{class:a.normalizeClass(["s-select-field",{selecting:m.value}]),onClick:_},[e.filterable?a.withDirectives((a.openBlock(),a.createElementBlock("input",{key:0,"onUpdate:modelValue":B[0]||(B[0]=x=>S.value=x),class:"s-select-field-filter",placeholder:k.value},null,8,yy)),[[a.vModelText,S.value]]):(a.openBlock(),a.createElementBlock("div",vy,[C.$slots.value&&e.modelValue?a.renderSlot(C.$slots,"value",{key:0,value:e.modelValue}):(a.openBlock(),a.createElementBlock(a.Fragment,{key:1},[a.createTextVNode(a.toDisplayString(k.value),1)],64))])),e.clearable&&o.value?(a.openBlock(),a.createElementBlock("div",{key:2,class:"s-select-clear",onClick:a.withModifiers($,["stop","prevent"])},[a.createVNode(T,{icon:"xmark"})])):a.createCommentVNode("",!0),a.createElementVNode("div",{class:a.normalizeClass(["s-select-dropdown",{rotated:m.value}])},[a.createVNode(T,{class:"s-select-dropdown-chevron",icon:"chevron-down"})],2)],2),(a.openBlock(),a.createBlock(a.Teleport,{disabled:!e.useTeleport,to:"body"},[a.createElementVNode("div",{class:a.normalizeClass(["s-select-options",[m.value?"open":"",b.value,{teleported:e.useTeleport}]]),style:a.normalizeStyle(W.value),ref_key:"dropdownRef",ref:y,onScroll:O},[C.$slots.option?(a.openBlock(),a.createElementBlock("ul",{key:0,class:"s-select-options-list",style:a.normalizeStyle({height:v.value})},[(a.openBlock(!0),a.createElementBlock(a.Fragment,null,a.renderList(w.value,([x,V])=>(a.openBlock(),a.createElementBlock("li",{key:x,onClick:a.withModifiers(N=>I(x),["stop"]),class:a.normalizeClass([{selected:x===o.value||!(x||o.value)},"s-select-options-item"])},[a.renderSlot(C.$slots,"option",{option:{label:V,value:x}})],10,gy))),128))],4)):w.value.length?(a.openBlock(),a.createElementBlock(a.Fragment,{key:1},[e.virtual?(a.openBlock(),a.createElementBlock("div",{key:0,class:"s-select-scroll-container",style:a.normalizeStyle({maxHeight:d.value*e.virtualScrollSize-20+"px",position:"relative"}),onScroll:O,ref:"scrollContainer"},[a.createElementVNode("div",{style:a.normalizeStyle({height:v.value})},null,4),(a.openBlock(!0),a.createElementBlock(a.Fragment,null,a.renderList(w.value,([x,V],N)=>(a.openBlock(),a.createElementBlock("div",{key:x,style:a.normalizeStyle({position:"absolute",top:d.value*(h.value+N)+"px",left:0,right:0,height:d.value+"px"}),class:a.normalizeClass(["s-select-options-item",{selected:x==o.value}]),onClick:a.withModifiers(U=>I(x),["stop"])},[C.$slots.option?a.renderSlot(C.$slots,"option",{key:0,option:C.option}):(a.openBlock(),a.createElementBlock(a.Fragment,{key:1},[a.createTextVNode(a.toDisplayString(V),1)],64))],14,by))),128))],36)):(a.openBlock(),a.createElementBlock("ul",Sy,[(a.openBlock(!0),a.createElementBlock(a.Fragment,null,a.renderList(w.value,([x,V])=>(a.openBlock(),a.createElementBlock("li",{key:x,onClick:a.withModifiers(N=>I(x),["stop"]),class:a.normalizeClass([{selected:x===o.value||!(x||o.value)},"s-select-options-item"])},a.toDisplayString(V),11,wy))),128))]))],64)):(a.openBlock(),a.createElementBlock("div",Ey,"Нет данных"))],38)],8,["disabled"]))],2)}}};/*!
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const n=require("vue"),_e=require("@inertiajs/vue3"),xe=require("@vueuse/core"),qo=require("@tinymce/tinymce-vue");require("tinymce/tinymce");require("tinymce/skins/ui/oxide/skin.min.css");require("tinymce/skins/ui/oxide/content.min.css");const Tr={__name:"SForm",props:n.mergeModels({method:{type:String,default:"post"},action:String,titlesAtLeft:Boolean,loading:Boolean,titlesWidth:{type:[Number,String],default:220},errors:{type:Object,required:!1}},{modelValue:{},modelModifiers:{}}),emits:n.mergeModels(["submit","update:modelValue"],["update:modelValue"]),setup(e,{emit:t}){const r=e,a=t,o=n.getCurrentInstance(),s=n.computed(()=>{var d;return!!((d=o==null?void 0:o.vnode.props)!=null&&d.onSubmit)}),i=n.useModel(e,"modelValue"),l=n.ref({...r.errors});n.watch(()=>r.errors,d=>{l.value={...d}});const c=n.ref(r.loading);function u(d){var h;s.value?a("submit",d):(c.value=!0,_e.router.visit(r.action,{method:(h=r.method)!=null?h:"post",data:i.value,preserveScroll:!0,preserveState:!0,onError:b=>l.value=f(b),onFinish:()=>c.value=!1}))}const f=function(d){const h=JSON.parse(JSON.stringify(d));return Object.keys(h).forEach(b=>{b.includes(".")&&!h[b.split(".")[0]]&&(h[b.split(".")[0]]=h[b])}),h};return n.provide("formModel",i.value),n.provide("formErrors",l),n.provide("titlesWidth",r.titlesWidth),(d,h)=>(n.openBlock(),n.createElementBlock("form",{class:n.normalizeClass(["s-form",{titles_at_left:e.titlesAtLeft,loading:c.value||e.loading}]),onSubmit:n.withModifiers(u,["prevent"])},[n.renderSlot(d.$slots,"default")],34))}},Jo={class:"s-formrow-input-wrapper"},Ko={key:2,class:"s-formrow-hint"},Go={key:3,class:"s-formrow-hint"},Xo={key:0,class:"s-formrow-error"},_r={__name:"SFormRow",props:{class:String,name:String,title:String,hint:String},setup(e,{expose:t}){const r=e,a=n.inject("formModel"),o=n.computed({get:()=>a==null?void 0:a[r.name],set:h=>{a&&(a[r.name]=h)}}),s=n.inject("formErrors"),i=n.computed(()=>{var h;return(h=s.value[r.name])!=null?h:""}),l=n.inject("titlesWidth"),c=n.useSlots(),u=n.computed(()=>{var b;return(((b=c.default)==null?void 0:b.call(c))||[]).map(m=>{var g;if(typeof m.type!="object")return m;const p=(g=m.props)==null?void 0:g.type;return n.cloneVNode(m,{modelValue:o.value,"onUpdate:modelValue":v=>{p==="number"?o.value=v===""?null:Number(v):o.value=v}})})}),f=n.useTemplateRef("input");function d(){const h=f.value.querySelector("input, textarea");h&&h.focus()}return t({focus:d}),(h,b)=>{var m;return n.openBlock(),n.createElementBlock("div",{class:n.normalizeClass(["s-formrow",{error:i.value!==""}])},[h.$slots.title?(n.openBlock(),n.createElementBlock("div",{key:0,class:"s-formrow-title",style:n.normalizeStyle({width:n.unref(l)?n.unref(l)+"px":null})},[n.renderSlot(h.$slots,"title")],4)):(n.openBlock(),n.createElementBlock("div",{key:1,class:"s-formrow-title",onClick:d,style:n.normalizeStyle({width:n.unref(l)?n.unref(l)+"px":null})},n.toDisplayString((m=e.title)!=null?m:""),5)),n.createElementVNode("div",Jo,[n.createElementVNode("div",{class:"s-formrow-input",ref_key:"input",ref:f},[e.name?(n.openBlock(!0),n.createElementBlock(n.Fragment,{key:0},n.renderList(u.value,(p,g)=>(n.openBlock(),n.createBlock(n.resolveDynamicComponent(p),{key:g}))),128)):n.renderSlot(h.$slots,"default",{key:1}),h.$slots.hint?(n.openBlock(),n.createElementBlock("div",Ko,[n.renderSlot(h.$slots,"hint")])):n.createCommentVNode("",!0),e.hint?(n.openBlock(),n.createElementBlock("div",Go,n.toDisplayString(e.hint),1)):n.createCommentVNode("",!0)],512),i.value?(n.openBlock(),n.createElementBlock("div",Xo,n.toDisplayString(Array.isArray(i.value)?i.value.join(""):i.value),1)):n.createCommentVNode("",!0)])],2)}}},Zo={key:0,class:"s-input-prefix"},Qo=["rows","disabled","placeholder"],es=["type","placeholder","disabled"],ts={key:3,class:"s-input-suffix"},Pr={__name:"SInput",props:n.mergeModels({modelValue:{type:[Number,String]},type:{type:String,default:"text",validator:e=>["text","string","number","email","password","textarea","search"].includes(e)},placeholder:String,prefix:String,suffix:String,disabled:{type:Boolean,default:!1},rows:{type:Number,default:3},inputStyle:[String,Object,Array]},{modelValue:{},modelModifiers:{}}),emits:n.mergeModels(["change"],["update:modelValue"]),setup(e,{emit:t}){const r=e,a=n.useModel(e,"modelValue"),o=n.useSlots(),s=n.computed(()=>r.prefix||o.prefix),i=n.computed(()=>r.suffix||o.suffix);return(l,c)=>(n.openBlock(),n.createElementBlock("div",{class:n.normalizeClass(["s-input",{"has-prefix":s.value,"has-suffix":i.value}])},[s.value?(n.openBlock(),n.createElementBlock("span",Zo,[e.prefix?(n.openBlock(),n.createElementBlock(n.Fragment,{key:0},[n.createTextVNode(n.toDisplayString(e.prefix),1)],64)):n.renderSlot(l.$slots,"prefix",{key:1})])):n.createCommentVNode("",!0),e.type==="textarea"?n.withDirectives((n.openBlock(),n.createElementBlock("textarea",{key:1,class:"s-input-field","onUpdate:modelValue":c[0]||(c[0]=u=>a.value=u),rows:e.rows,disabled:e.disabled,placeholder:e.placeholder,onInput:c[1]||(c[1]=u=>l.$emit("change",u.target.value)),style:n.normalizeStyle(e.inputStyle)},null,44,Qo)),[[n.vModelText,a.value]]):n.withDirectives((n.openBlock(),n.createElementBlock("input",{key:2,class:"s-input-field",type:e.type,"onUpdate:modelValue":c[2]||(c[2]=u=>a.value=u),placeholder:e.placeholder,disabled:e.disabled,onInput:c[3]||(c[3]=u=>l.$emit("change",u.target.value)),style:n.normalizeStyle(e.inputStyle)},null,44,es)),[[n.vModelDynamic,a.value]]),i.value?(n.openBlock(),n.createElementBlock("span",ts,[e.suffix?(n.openBlock(),n.createElementBlock(n.Fragment,{key:0},[n.createTextVNode(n.toDisplayString(e.suffix),1)],64)):n.renderSlot(l.$slots,"suffix",{key:1})])):n.createCommentVNode("",!0)],2))}},ns=["placeholder"],rs={key:1,class:"s-select-field-label"},as=["onClick"],os=["onClick"],ss={key:1,class:"s-select-options-list"},is=["onClick"],ls={key:2,class:"s-select-options-nodata"},fn={__name:"SSelect",props:n.mergeModels({options:{type:[Object,Array],required:!0},placeholder:String,filterable:Boolean,disabled:Boolean,clearable:Boolean,inline:Boolean,virtual:{type:Boolean,default:!1},virtualScrollSize:{type:Number,default:10},useTeleport:{type:Boolean,default:!1}},{modelValue:{},modelModifiers:{}}),emits:n.mergeModels(["change","filter"],["update:modelValue"]),setup(e,{emit:t}){var _;const r=e,a=t,o=n.useModel(e,"modelValue"),s=xe.templateRef("selectRef"),i=n.useAttrs(),l=n.computed(()=>{var C;return((C=i.class)==null?void 0:C.includes("s-custom-select"))||""}),c=C=>C instanceof Array?JSON.parse(JSON.stringify(C)):Object.entries(C),u=n.ref(c((_=r.options)!=null?_:{}));n.watch(()=>r.options,C=>{u.value=c(C!=null?C:{})});const f=n.ref(35),d=n.ref(0),h=n.computed(()=>`${u.value.length*f.value}px`),b=n.computed(()=>u.value.length===0?[]:r.virtual?u.value.slice(d.value,d.value+r.virtualScrollSize):u.value),m=n.ref(!1),p=n.ref(null),g=n.ref(null),v=n.ref(null),S=n.computed(()=>{if(o.value===null)return r.placeholder;const C=u.value.find(([B,$])=>B==o.value);return C===void 0?r.placeholder:C[1]});function O(C){const B=C.target.scrollTop;d.value=Math.floor(B/f.value)}n.watch(v,C=>{R(),a("filter",C)});function R(){if(v.value==""){u.value=c(r.options);return}u.value=c(r.options).filter(([C,B])=>B.toLowerCase().includes(v.value.toLowerCase()))}function I(C){s.value&&!s.value.contains(C.target)&&(m.value=!1)}function F(C){v.value="",o.value=C,a("change",C),m.value=!1}function M(C){const B=p.value.offsetHeight+Math.max(20,u.value.length*f.value),$=window.innerHeight-C.bottom,k=C.top;return $<B&&k>B?"drop-up":"drop-down"}const W=n.ref({});function z(){const C=s.value.getBoundingClientRect();g.value=M(C),s.value&&r.useTeleport&&(W.value={position:"absolute",left:`${C.left+window.scrollX}px`,zIndex:9999,width:`${C.width}px`},g.value==="drop-up"?W.value.bottom=`${window.innerHeight-C.bottom+C.height}px`:W.value.top=`${C.bottom+window.scrollY}px`)}n.watch(m,C=>{C&&z()});function N(C){m.value=!m.value}function E(){o.value=null,a("change",null)}return n.onMounted(()=>{document.addEventListener("click",I),n.nextTick(()=>{const C=s.value.getBoundingClientRect();g.value=M(C)})}),n.onBeforeUnmount(()=>{document.removeEventListener("click",I)}),(C,B)=>{const $=n.resolveComponent("FontAwesomeIcon");return n.openBlock(),n.createElementBlock("div",{class:n.normalizeClass(["s-select",[l.value,{disabled:e.disabled,inline:e.inline}]]),ref:"selectRef"},[n.createElementVNode("div",{class:n.normalizeClass(["s-select-field",{selecting:m.value}]),onClick:N},[e.filterable?n.withDirectives((n.openBlock(),n.createElementBlock("input",{key:0,"onUpdate:modelValue":B[0]||(B[0]=k=>v.value=k),class:"s-select-field-filter",placeholder:S.value},null,8,ns)),[[n.vModelText,v.value]]):(n.openBlock(),n.createElementBlock("div",rs,[C.$slots.value&&e.modelValue?n.renderSlot(C.$slots,"value",{key:0,value:e.modelValue}):(n.openBlock(),n.createElementBlock(n.Fragment,{key:1},[n.createTextVNode(n.toDisplayString(S.value),1)],64))])),e.clearable&&o.value?(n.openBlock(),n.createElementBlock("div",{key:2,class:"s-select-clear",onClick:n.withModifiers(E,["stop","prevent"])},[n.createVNode($,{icon:"xmark"})])):n.createCommentVNode("",!0),n.createElementVNode("div",{class:n.normalizeClass(["s-select-dropdown",{rotated:m.value}])},[n.createVNode($,{class:"s-select-dropdown-chevron",icon:"chevron-down"})],2)],2),(n.openBlock(),n.createBlock(n.Teleport,{disabled:!e.useTeleport,to:"body"},[n.createElementVNode("div",{class:n.normalizeClass(["s-select-options",[m.value?"open":"",g.value,{teleported:e.useTeleport}]]),style:n.normalizeStyle(W.value),ref_key:"dropdownRef",ref:p,onScroll:O},[C.$slots.option?(n.openBlock(),n.createElementBlock("ul",{key:0,class:"s-select-options-list",style:n.normalizeStyle({height:h.value})},[(n.openBlock(!0),n.createElementBlock(n.Fragment,null,n.renderList(b.value,([k,A])=>(n.openBlock(),n.createElementBlock("li",{key:k,onClick:n.withModifiers(x=>F(k),["stop"]),class:n.normalizeClass([{selected:k===o.value||!(k||o.value)},"s-select-options-item"])},[n.renderSlot(C.$slots,"option",{option:{label:A,value:k}})],10,as))),128))],4)):b.value.length?(n.openBlock(),n.createElementBlock(n.Fragment,{key:1},[e.virtual?(n.openBlock(),n.createElementBlock("div",{key:0,class:"s-select-scroll-container",style:n.normalizeStyle({maxHeight:f.value*e.virtualScrollSize-20+"px",position:"relative"}),onScroll:O,ref:"scrollContainer"},[n.createElementVNode("div",{style:n.normalizeStyle({height:h.value})},null,4),(n.openBlock(!0),n.createElementBlock(n.Fragment,null,n.renderList(b.value,([k,A],x)=>(n.openBlock(),n.createElementBlock("div",{key:k,style:n.normalizeStyle({position:"absolute",top:f.value*(d.value+x)+"px",left:0,right:0,height:f.value+"px"}),class:n.normalizeClass(["s-select-options-item",{selected:k==o.value}]),onClick:n.withModifiers(T=>F(k),["stop"])},[C.$slots.option?n.renderSlot(C.$slots,"option",{key:0,option:C.option}):(n.openBlock(),n.createElementBlock(n.Fragment,{key:1},[n.createTextVNode(n.toDisplayString(A),1)],64))],14,os))),128))],36)):(n.openBlock(),n.createElementBlock("ul",ss,[(n.openBlock(!0),n.createElementBlock(n.Fragment,null,n.renderList(b.value,([k,A])=>(n.openBlock(),n.createElementBlock("li",{key:k,onClick:n.withModifiers(x=>F(k),["stop"]),class:n.normalizeClass([{selected:k===o.value||!(k||o.value)},"s-select-options-item"])},n.toDisplayString(A),11,is))),128))]))],64)):(n.openBlock(),n.createElementBlock("div",ls,"Нет данных"))],38)],8,["disabled"]))],2)}}};/*!
15
2
  * Font Awesome Free 7.1.0 by @fontawesome - https://fontawesome.com
16
3
  * License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License)
17
4
  * Copyright 2025 Fonticons, Inc.
18
- */function qo(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function ky(e){if(Array.isArray(e))return e}function Ay(e){if(Array.isArray(e))return qo(e)}function xy(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Oy(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,Sc(n.key),n)}}function _y(e,t,r){return t&&Oy(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e}function Fn(e,t){var r=typeof Symbol!="undefined"&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=Si(e))||t){r&&(e=r);var n=0,o=function(){};return{s:o,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(u){throw u},f:o}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
19
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var i,s=!0,c=!1;return{s:function(){r=r.call(e)},n:function(){var u=r.next();return s=u.done,u},e:function(u){c=!0,i=u},f:function(){try{s||r.return==null||r.return()}finally{if(c)throw i}}}}function K(e,t,r){return(t=Sc(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function $y(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function Cy(e,t){var r=e==null?null:typeof Symbol!="undefined"&&e[Symbol.iterator]||e["@@iterator"];if(r!=null){var n,o,i,s,c=[],u=!0,f=!1;try{if(i=(r=r.call(e)).next,t===0){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=i.call(r)).done)&&(c.push(n.value),c.length!==t);u=!0);}catch(d){f=!0,o=d}finally{try{if(!u&&r.return!=null&&(s=r.return(),Object(s)!==s))return}finally{if(f)throw o}}return c}}function Ty(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
20
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Ny(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
21
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Ps(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),r.push.apply(r,n)}return r}function P(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?Ps(Object(r),!0).forEach(function(n){K(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Ps(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function la(e,t){return ky(e)||Cy(e,t)||Si(e,t)||Ty()}function Ue(e){return Ay(e)||$y(e)||Si(e)||Ny()}function Py(e,t){if(typeof e!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t);if(typeof n!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function Sc(e){var t=Py(e,"string");return typeof t=="symbol"?t:t+""}function qn(e){"@babel/helpers - typeof";return qn=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},qn(e)}function Si(e,t){if(e){if(typeof e=="string")return qo(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)?qo(e,t):void 0}}var Bs=function(){},wi={},wc={},Ec=null,kc={mark:Bs,measure:Bs};try{typeof window!="undefined"&&(wi=window),typeof document!="undefined"&&(wc=document),typeof MutationObserver!="undefined"&&(Ec=MutationObserver),typeof performance!="undefined"&&(kc=performance)}catch{}var By=wi.navigator||{},Is=By.userAgent,Ms=Is===void 0?"":Is,pt=wi,oe=wc,Fs=Ec,xn=kc;pt.document;var lt=!!oe.documentElement&&!!oe.head&&typeof oe.addEventListener=="function"&&typeof oe.createElement=="function",Ac=~Ms.indexOf("MSIE")||~Ms.indexOf("Trident/"),Oo,Iy=/fa(k|kd|s|r|l|t|d|dr|dl|dt|b|slr|slpr|wsb|tl|ns|nds|es|jr|jfr|jdr|usb|ufsb|udsb|cr|ss|sr|sl|st|sds|sdr|sdl|sdt)?[\-\ ]/,My=/Font ?Awesome ?([567 ]*)(Solid|Regular|Light|Thin|Duotone|Brands|Free|Pro|Sharp Duotone|Sharp|Kit|Notdog Duo|Notdog|Chisel|Etch|Thumbprint|Jelly Fill|Jelly Duo|Jelly|Utility|Utility Fill|Utility Duo|Slab Press|Slab|Whiteboard)?.*/i,xc={classic:{fa:"solid",fas:"solid","fa-solid":"solid",far:"regular","fa-regular":"regular",fal:"light","fa-light":"light",fat:"thin","fa-thin":"thin",fab:"brands","fa-brands":"brands"},duotone:{fa:"solid",fad:"solid","fa-solid":"solid","fa-duotone":"solid",fadr:"regular","fa-regular":"regular",fadl:"light","fa-light":"light",fadt:"thin","fa-thin":"thin"},sharp:{fa:"solid",fass:"solid","fa-solid":"solid",fasr:"regular","fa-regular":"regular",fasl:"light","fa-light":"light",fast:"thin","fa-thin":"thin"},"sharp-duotone":{fa:"solid",fasds:"solid","fa-solid":"solid",fasdr:"regular","fa-regular":"regular",fasdl:"light","fa-light":"light",fasdt:"thin","fa-thin":"thin"},slab:{"fa-regular":"regular",faslr:"regular"},"slab-press":{"fa-regular":"regular",faslpr:"regular"},thumbprint:{"fa-light":"light",fatl:"light"},whiteboard:{"fa-semibold":"semibold",fawsb:"semibold"},notdog:{"fa-solid":"solid",fans:"solid"},"notdog-duo":{"fa-solid":"solid",fands:"solid"},etch:{"fa-solid":"solid",faes:"solid"},jelly:{"fa-regular":"regular",fajr:"regular"},"jelly-fill":{"fa-regular":"regular",fajfr:"regular"},"jelly-duo":{"fa-regular":"regular",fajdr:"regular"},chisel:{"fa-regular":"regular",facr:"regular"},utility:{"fa-semibold":"semibold",fausb:"semibold"},"utility-duo":{"fa-semibold":"semibold",faudsb:"semibold"},"utility-fill":{"fa-semibold":"semibold",faufsb:"semibold"}},Fy={GROUP:"duotone-group",PRIMARY:"primary",SECONDARY:"secondary"},Oc=["fa-classic","fa-duotone","fa-sharp","fa-sharp-duotone","fa-thumbprint","fa-whiteboard","fa-notdog","fa-notdog-duo","fa-chisel","fa-etch","fa-jelly","fa-jelly-fill","fa-jelly-duo","fa-slab","fa-slab-press","fa-utility","fa-utility-duo","fa-utility-fill"],ge="classic",Jr="duotone",_c="sharp",$c="sharp-duotone",Cc="chisel",Tc="etch",Nc="jelly",Pc="jelly-duo",Bc="jelly-fill",Ic="notdog",Mc="notdog-duo",Fc="slab",Rc="slab-press",Dc="thumbprint",jc="utility",Lc="utility-duo",Vc="utility-fill",Uc="whiteboard",Ry="Classic",Dy="Duotone",jy="Sharp",Ly="Sharp Duotone",Vy="Chisel",Uy="Etch",zy="Jelly",Hy="Jelly Duo",Wy="Jelly Fill",qy="Notdog",Yy="Notdog Duo",Gy="Slab",Ky="Slab Press",Jy="Thumbprint",Xy="Utility",Qy="Utility Duo",Zy="Utility Fill",ev="Whiteboard",zc=[ge,Jr,_c,$c,Cc,Tc,Nc,Pc,Bc,Ic,Mc,Fc,Rc,Dc,jc,Lc,Vc,Uc];Oo={},K(K(K(K(K(K(K(K(K(K(Oo,ge,Ry),Jr,Dy),_c,jy),$c,Ly),Cc,Vy),Tc,Uy),Nc,zy),Pc,Hy),Bc,Wy),Ic,qy),K(K(K(K(K(K(K(K(Oo,Mc,Yy),Fc,Gy),Rc,Ky),Dc,Jy),jc,Xy),Lc,Qy),Vc,Zy),Uc,ev);var tv={classic:{900:"fas",400:"far",normal:"far",300:"fal",100:"fat"},duotone:{900:"fad",400:"fadr",300:"fadl",100:"fadt"},sharp:{900:"fass",400:"fasr",300:"fasl",100:"fast"},"sharp-duotone":{900:"fasds",400:"fasdr",300:"fasdl",100:"fasdt"},slab:{400:"faslr"},"slab-press":{400:"faslpr"},whiteboard:{600:"fawsb"},thumbprint:{300:"fatl"},notdog:{900:"fans"},"notdog-duo":{900:"fands"},etch:{900:"faes"},chisel:{400:"facr"},jelly:{400:"fajr"},"jelly-fill":{400:"fajfr"},"jelly-duo":{400:"fajdr"},utility:{600:"fausb"},"utility-duo":{600:"faudsb"},"utility-fill":{600:"faufsb"}},rv={"Font Awesome 7 Free":{900:"fas",400:"far"},"Font Awesome 7 Pro":{900:"fas",400:"far",normal:"far",300:"fal",100:"fat"},"Font Awesome 7 Brands":{400:"fab",normal:"fab"},"Font Awesome 7 Duotone":{900:"fad",400:"fadr",normal:"fadr",300:"fadl",100:"fadt"},"Font Awesome 7 Sharp":{900:"fass",400:"fasr",normal:"fasr",300:"fasl",100:"fast"},"Font Awesome 7 Sharp Duotone":{900:"fasds",400:"fasdr",normal:"fasdr",300:"fasdl",100:"fasdt"},"Font Awesome 7 Jelly":{400:"fajr",normal:"fajr"},"Font Awesome 7 Jelly Fill":{400:"fajfr",normal:"fajfr"},"Font Awesome 7 Jelly Duo":{400:"fajdr",normal:"fajdr"},"Font Awesome 7 Slab":{400:"faslr",normal:"faslr"},"Font Awesome 7 Slab Press":{400:"faslpr",normal:"faslpr"},"Font Awesome 7 Thumbprint":{300:"fatl",normal:"fatl"},"Font Awesome 7 Notdog":{900:"fans",normal:"fans"},"Font Awesome 7 Notdog Duo":{900:"fands",normal:"fands"},"Font Awesome 7 Etch":{900:"faes",normal:"faes"},"Font Awesome 7 Chisel":{400:"facr",normal:"facr"},"Font Awesome 7 Whiteboard":{600:"fawsb",normal:"fawsb"},"Font Awesome 7 Utility":{600:"fausb",normal:"fausb"},"Font Awesome 7 Utility Duo":{600:"faudsb",normal:"faudsb"},"Font Awesome 7 Utility Fill":{600:"faufsb",normal:"faufsb"}},nv=new Map([["classic",{defaultShortPrefixId:"fas",defaultStyleId:"solid",styleIds:["solid","regular","light","thin","brands"],futureStyleIds:[],defaultFontWeight:900}],["duotone",{defaultShortPrefixId:"fad",defaultStyleId:"solid",styleIds:["solid","regular","light","thin"],futureStyleIds:[],defaultFontWeight:900}],["sharp",{defaultShortPrefixId:"fass",defaultStyleId:"solid",styleIds:["solid","regular","light","thin"],futureStyleIds:[],defaultFontWeight:900}],["sharp-duotone",{defaultShortPrefixId:"fasds",defaultStyleId:"solid",styleIds:["solid","regular","light","thin"],futureStyleIds:[],defaultFontWeight:900}],["chisel",{defaultShortPrefixId:"facr",defaultStyleId:"regular",styleIds:["regular"],futureStyleIds:[],defaultFontWeight:400}],["etch",{defaultShortPrefixId:"faes",defaultStyleId:"solid",styleIds:["solid"],futureStyleIds:[],defaultFontWeight:900}],["jelly",{defaultShortPrefixId:"fajr",defaultStyleId:"regular",styleIds:["regular"],futureStyleIds:[],defaultFontWeight:400}],["jelly-duo",{defaultShortPrefixId:"fajdr",defaultStyleId:"regular",styleIds:["regular"],futureStyleIds:[],defaultFontWeight:400}],["jelly-fill",{defaultShortPrefixId:"fajfr",defaultStyleId:"regular",styleIds:["regular"],futureStyleIds:[],defaultFontWeight:400}],["notdog",{defaultShortPrefixId:"fans",defaultStyleId:"solid",styleIds:["solid"],futureStyleIds:[],defaultFontWeight:900}],["notdog-duo",{defaultShortPrefixId:"fands",defaultStyleId:"solid",styleIds:["solid"],futureStyleIds:[],defaultFontWeight:900}],["slab",{defaultShortPrefixId:"faslr",defaultStyleId:"regular",styleIds:["regular"],futureStyleIds:[],defaultFontWeight:400}],["slab-press",{defaultShortPrefixId:"faslpr",defaultStyleId:"regular",styleIds:["regular"],futureStyleIds:[],defaultFontWeight:400}],["thumbprint",{defaultShortPrefixId:"fatl",defaultStyleId:"light",styleIds:["light"],futureStyleIds:[],defaultFontWeight:300}],["utility",{defaultShortPrefixId:"fausb",defaultStyleId:"semibold",styleIds:["semibold"],futureStyleIds:[],defaultFontWeight:600}],["utility-duo",{defaultShortPrefixId:"faudsb",defaultStyleId:"semibold",styleIds:["semibold"],futureStyleIds:[],defaultFontWeight:600}],["utility-fill",{defaultShortPrefixId:"faufsb",defaultStyleId:"semibold",styleIds:["semibold"],futureStyleIds:[],defaultFontWeight:600}],["whiteboard",{defaultShortPrefixId:"fawsb",defaultStyleId:"semibold",styleIds:["semibold"],futureStyleIds:[],defaultFontWeight:600}]]),av={chisel:{regular:"facr"},classic:{brands:"fab",light:"fal",regular:"far",solid:"fas",thin:"fat"},duotone:{light:"fadl",regular:"fadr",solid:"fad",thin:"fadt"},etch:{solid:"faes"},jelly:{regular:"fajr"},"jelly-duo":{regular:"fajdr"},"jelly-fill":{regular:"fajfr"},notdog:{solid:"fans"},"notdog-duo":{solid:"fands"},sharp:{light:"fasl",regular:"fasr",solid:"fass",thin:"fast"},"sharp-duotone":{light:"fasdl",regular:"fasdr",solid:"fasds",thin:"fasdt"},slab:{regular:"faslr"},"slab-press":{regular:"faslpr"},thumbprint:{light:"fatl"},utility:{semibold:"fausb"},"utility-duo":{semibold:"faudsb"},"utility-fill":{semibold:"faufsb"},whiteboard:{semibold:"fawsb"}},Hc=["fak","fa-kit","fakd","fa-kit-duotone"],Rs={kit:{fak:"kit","fa-kit":"kit"},"kit-duotone":{fakd:"kit-duotone","fa-kit-duotone":"kit-duotone"}},ov=["kit"],iv="kit",sv="kit-duotone",lv="Kit",cv="Kit Duotone";K(K({},iv,lv),sv,cv);var uv={kit:{"fa-kit":"fak"}},fv={"Font Awesome Kit":{400:"fak",normal:"fak"},"Font Awesome Kit Duotone":{400:"fakd",normal:"fakd"}},dv={kit:{fak:"fa-kit"}},Ds={kit:{kit:"fak"},"kit-duotone":{"kit-duotone":"fakd"}},_o,On={GROUP:"duotone-group",SWAP_OPACITY:"swap-opacity",PRIMARY:"primary",SECONDARY:"secondary"},pv=["fa-classic","fa-duotone","fa-sharp","fa-sharp-duotone","fa-thumbprint","fa-whiteboard","fa-notdog","fa-notdog-duo","fa-chisel","fa-etch","fa-jelly","fa-jelly-fill","fa-jelly-duo","fa-slab","fa-slab-press","fa-utility","fa-utility-duo","fa-utility-fill"],mv="classic",hv="duotone",yv="sharp",vv="sharp-duotone",gv="chisel",bv="etch",Sv="jelly",wv="jelly-duo",Ev="jelly-fill",kv="notdog",Av="notdog-duo",xv="slab",Ov="slab-press",_v="thumbprint",$v="utility",Cv="utility-duo",Tv="utility-fill",Nv="whiteboard",Pv="Classic",Bv="Duotone",Iv="Sharp",Mv="Sharp Duotone",Fv="Chisel",Rv="Etch",Dv="Jelly",jv="Jelly Duo",Lv="Jelly Fill",Vv="Notdog",Uv="Notdog Duo",zv="Slab",Hv="Slab Press",Wv="Thumbprint",qv="Utility",Yv="Utility Duo",Gv="Utility Fill",Kv="Whiteboard";_o={},K(K(K(K(K(K(K(K(K(K(_o,mv,Pv),hv,Bv),yv,Iv),vv,Mv),gv,Fv),bv,Rv),Sv,Dv),wv,jv),Ev,Lv),kv,Vv),K(K(K(K(K(K(K(K(_o,Av,Uv),xv,zv),Ov,Hv),_v,Wv),$v,qv),Cv,Yv),Tv,Gv),Nv,Kv);var Jv="kit",Xv="kit-duotone",Qv="Kit",Zv="Kit Duotone";K(K({},Jv,Qv),Xv,Zv);var eg={classic:{"fa-brands":"fab","fa-duotone":"fad","fa-light":"fal","fa-regular":"far","fa-solid":"fas","fa-thin":"fat"},duotone:{"fa-regular":"fadr","fa-light":"fadl","fa-thin":"fadt"},sharp:{"fa-solid":"fass","fa-regular":"fasr","fa-light":"fasl","fa-thin":"fast"},"sharp-duotone":{"fa-solid":"fasds","fa-regular":"fasdr","fa-light":"fasdl","fa-thin":"fasdt"},slab:{"fa-regular":"faslr"},"slab-press":{"fa-regular":"faslpr"},whiteboard:{"fa-semibold":"fawsb"},thumbprint:{"fa-light":"fatl"},notdog:{"fa-solid":"fans"},"notdog-duo":{"fa-solid":"fands"},etch:{"fa-solid":"faes"},jelly:{"fa-regular":"fajr"},"jelly-fill":{"fa-regular":"fajfr"},"jelly-duo":{"fa-regular":"fajdr"},chisel:{"fa-regular":"facr"},utility:{"fa-semibold":"fausb"},"utility-duo":{"fa-semibold":"faudsb"},"utility-fill":{"fa-semibold":"faufsb"}},tg={classic:["fas","far","fal","fat","fad"],duotone:["fadr","fadl","fadt"],sharp:["fass","fasr","fasl","fast"],"sharp-duotone":["fasds","fasdr","fasdl","fasdt"],slab:["faslr"],"slab-press":["faslpr"],whiteboard:["fawsb"],thumbprint:["fatl"],notdog:["fans"],"notdog-duo":["fands"],etch:["faes"],jelly:["fajr"],"jelly-fill":["fajfr"],"jelly-duo":["fajdr"],chisel:["facr"],utility:["fausb"],"utility-duo":["faudsb"],"utility-fill":["faufsb"]},Yo={classic:{fab:"fa-brands",fad:"fa-duotone",fal:"fa-light",far:"fa-regular",fas:"fa-solid",fat:"fa-thin"},duotone:{fadr:"fa-regular",fadl:"fa-light",fadt:"fa-thin"},sharp:{fass:"fa-solid",fasr:"fa-regular",fasl:"fa-light",fast:"fa-thin"},"sharp-duotone":{fasds:"fa-solid",fasdr:"fa-regular",fasdl:"fa-light",fasdt:"fa-thin"},slab:{faslr:"fa-regular"},"slab-press":{faslpr:"fa-regular"},whiteboard:{fawsb:"fa-semibold"},thumbprint:{fatl:"fa-light"},notdog:{fans:"fa-solid"},"notdog-duo":{fands:"fa-solid"},etch:{faes:"fa-solid"},jelly:{fajr:"fa-regular"},"jelly-fill":{fajfr:"fa-regular"},"jelly-duo":{fajdr:"fa-regular"},chisel:{facr:"fa-regular"},utility:{fausb:"fa-semibold"},"utility-duo":{faudsb:"fa-semibold"},"utility-fill":{faufsb:"fa-semibold"}},rg=["fa-solid","fa-regular","fa-light","fa-thin","fa-duotone","fa-brands","fa-semibold"],Wc=["fa","fas","far","fal","fat","fad","fadr","fadl","fadt","fab","fass","fasr","fasl","fast","fasds","fasdr","fasdl","fasdt","faslr","faslpr","fawsb","fatl","fans","fands","faes","fajr","fajfr","fajdr","facr","fausb","faudsb","faufsb"].concat(pv,rg),ng=["solid","regular","light","thin","duotone","brands","semibold"],qc=[1,2,3,4,5,6,7,8,9,10],ag=qc.concat([11,12,13,14,15,16,17,18,19,20]),og=["aw","fw","pull-left","pull-right"],ig=[].concat(Ue(Object.keys(tg)),ng,og,["2xs","xs","sm","lg","xl","2xl","beat","border","fade","beat-fade","bounce","flip-both","flip-horizontal","flip-vertical","flip","inverse","layers","layers-bottom-left","layers-bottom-right","layers-counter","layers-text","layers-top-left","layers-top-right","li","pull-end","pull-start","pulse","rotate-180","rotate-270","rotate-90","rotate-by","shake","spin-pulse","spin-reverse","spin","stack-1x","stack-2x","stack","ul","width-auto","width-fixed",On.GROUP,On.SWAP_OPACITY,On.PRIMARY,On.SECONDARY]).concat(qc.map(function(e){return"".concat(e,"x")})).concat(ag.map(function(e){return"w-".concat(e)})),sg={"Font Awesome 5 Free":{900:"fas",400:"far"},"Font Awesome 5 Pro":{900:"fas",400:"far",normal:"far",300:"fal"},"Font Awesome 5 Brands":{400:"fab",normal:"fab"},"Font Awesome 5 Duotone":{900:"fad"}},ot="___FONT_AWESOME___",Go=16,Yc="fa",Gc="svg-inline--fa",Pt="data-fa-i2svg",Ko="data-fa-pseudo-element",lg="data-fa-pseudo-element-pending",Ei="data-prefix",ki="data-icon",js="fontawesome-i2svg",cg="async",ug=["HTML","HEAD","STYLE","SCRIPT"],Kc=["::before","::after",":before",":after"],Jc=function(){try{return process.env.NODE_ENV==="production"}catch{return!1}}();function Xr(e){return new Proxy(e,{get:function(r,n){return n in r?r[n]:r[ge]}})}var Xc=P({},xc);Xc[ge]=P(P(P(P({},{"fa-duotone":"duotone"}),xc[ge]),Rs.kit),Rs["kit-duotone"]);var fg=Xr(Xc),Jo=P({},av);Jo[ge]=P(P(P(P({},{duotone:"fad"}),Jo[ge]),Ds.kit),Ds["kit-duotone"]);var Ls=Xr(Jo),Xo=P({},Yo);Xo[ge]=P(P({},Xo[ge]),dv.kit);var Ai=Xr(Xo),Qo=P({},eg);Qo[ge]=P(P({},Qo[ge]),uv.kit);Xr(Qo);var dg=Iy,Qc="fa-layers-text",pg=My,mg=P({},tv);Xr(mg);var hg=["class","data-prefix","data-icon","data-fa-transform","data-fa-mask"],$o=Fy,yg=[].concat(Ue(ov),Ue(ig)),Fr=pt.FontAwesomeConfig||{};function vg(e){var t=oe.querySelector("script["+e+"]");if(t)return t.getAttribute(e)}function gg(e){return e===""?!0:e==="false"?!1:e==="true"?!0:e}if(oe&&typeof oe.querySelector=="function"){var bg=[["data-family-prefix","familyPrefix"],["data-css-prefix","cssPrefix"],["data-family-default","familyDefault"],["data-style-default","styleDefault"],["data-replacement-class","replacementClass"],["data-auto-replace-svg","autoReplaceSvg"],["data-auto-add-css","autoAddCss"],["data-search-pseudo-elements","searchPseudoElements"],["data-search-pseudo-elements-warnings","searchPseudoElementsWarnings"],["data-search-pseudo-elements-full-scan","searchPseudoElementsFullScan"],["data-observe-mutations","observeMutations"],["data-mutate-approach","mutateApproach"],["data-keep-original-source","keepOriginalSource"],["data-measure-performance","measurePerformance"],["data-show-missing-icons","showMissingIcons"]];bg.forEach(function(e){var t=la(e,2),r=t[0],n=t[1],o=gg(vg(r));o!=null&&(Fr[n]=o)})}var Zc={styleDefault:"solid",familyDefault:ge,cssPrefix:Yc,replacementClass:Gc,autoReplaceSvg:!0,autoAddCss:!0,searchPseudoElements:!1,searchPseudoElementsWarnings:!0,searchPseudoElementsFullScan:!1,observeMutations:!0,mutateApproach:"async",keepOriginalSource:!0,measurePerformance:!1,showMissingIcons:!0};Fr.familyPrefix&&(Fr.cssPrefix=Fr.familyPrefix);var ar=P(P({},Zc),Fr);ar.autoReplaceSvg||(ar.observeMutations=!1);var H={};Object.keys(Zc).forEach(function(e){Object.defineProperty(H,e,{enumerable:!0,set:function(r){ar[e]=r,Rr.forEach(function(n){return n(H)})},get:function(){return ar[e]}})});Object.defineProperty(H,"familyPrefix",{enumerable:!0,set:function(t){ar.cssPrefix=t,Rr.forEach(function(r){return r(H)})},get:function(){return ar.cssPrefix}});pt.FontAwesomeConfig=H;var Rr=[];function Sg(e){return Rr.push(e),function(){Rr.splice(Rr.indexOf(e),1)}}var Kt=Go,Qe={size:16,x:0,y:0,rotate:0,flipX:!1,flipY:!1};function wg(e){if(!(!e||!lt)){var t=oe.createElement("style");t.setAttribute("type","text/css"),t.innerHTML=e;for(var r=oe.head.childNodes,n=null,o=r.length-1;o>-1;o--){var i=r[o],s=(i.tagName||"").toUpperCase();["STYLE","LINK"].indexOf(s)>-1&&(n=i)}return oe.head.insertBefore(t,n),e}}var Eg="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ";function Vs(){for(var e=12,t="";e-- >0;)t+=Eg[Math.random()*62|0];return t}function lr(e){for(var t=[],r=(e||[]).length>>>0;r--;)t[r]=e[r];return t}function xi(e){return e.classList?lr(e.classList):(e.getAttribute("class")||"").split(" ").filter(function(t){return t})}function eu(e){return"".concat(e).replace(/&/g,"&amp;").replace(/"/g,"&quot;").replace(/'/g,"&#39;").replace(/</g,"&lt;").replace(/>/g,"&gt;")}function kg(e){return Object.keys(e||{}).reduce(function(t,r){return t+"".concat(r,'="').concat(eu(e[r]),'" ')},"").trim()}function ca(e){return Object.keys(e||{}).reduce(function(t,r){return t+"".concat(r,": ").concat(e[r].trim(),";")},"")}function Oi(e){return e.size!==Qe.size||e.x!==Qe.x||e.y!==Qe.y||e.rotate!==Qe.rotate||e.flipX||e.flipY}function Ag(e){var t=e.transform,r=e.containerWidth,n=e.iconWidth,o={transform:"translate(".concat(r/2," 256)")},i="translate(".concat(t.x*32,", ").concat(t.y*32,") "),s="scale(".concat(t.size/16*(t.flipX?-1:1),", ").concat(t.size/16*(t.flipY?-1:1),") "),c="rotate(".concat(t.rotate," 0 0)"),u={transform:"".concat(i," ").concat(s," ").concat(c)},f={transform:"translate(".concat(n/2*-1," -256)")};return{outer:o,inner:u,path:f}}function xg(e){var t=e.transform,r=e.width,n=r===void 0?Go:r,o=e.height,i=o===void 0?Go:o,s="";return Ac?s+="translate(".concat(t.x/Kt-n/2,"em, ").concat(t.y/Kt-i/2,"em) "):s+="translate(calc(-50% + ".concat(t.x/Kt,"em), calc(-50% + ").concat(t.y/Kt,"em)) "),s+="scale(".concat(t.size/Kt*(t.flipX?-1:1),", ").concat(t.size/Kt*(t.flipY?-1:1),") "),s+="rotate(".concat(t.rotate,"deg) "),s}var Og=`:root, :host {
5
+ */function Ut(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,a=Array(t);r<t;r++)a[r]=e[r];return a}function cs(e){if(Array.isArray(e))return e}function us(e){if(Array.isArray(e))return Ut(e)}function fs(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ds(e,t){for(var r=0;r<t.length;r++){var a=t[r];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,Mr(a.key),a)}}function ms(e,t,r){return t&&ds(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e}function lt(e,t){var r=typeof Symbol!="undefined"&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=dn(e))||t){r&&(e=r);var a=0,o=function(){};return{s:o,n:function(){return a>=e.length?{done:!0}:{done:!1,value:e[a++]}},e:function(c){throw c},f:o}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
6
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var s,i=!0,l=!1;return{s:function(){r=r.call(e)},n:function(){var c=r.next();return i=c.done,c},e:function(c){l=!0,s=c},f:function(){try{i||r.return==null||r.return()}finally{if(l)throw s}}}}function V(e,t,r){return(t=Mr(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ps(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function hs(e,t){var r=e==null?null:typeof Symbol!="undefined"&&e[Symbol.iterator]||e["@@iterator"];if(r!=null){var a,o,s,i,l=[],c=!0,u=!1;try{if(s=(r=r.call(e)).next,t===0){if(Object(r)!==r)return;c=!1}else for(;!(c=(a=s.call(r)).done)&&(l.push(a.value),l.length!==t);c=!0);}catch(f){u=!0,o=f}finally{try{if(!c&&r.return!=null&&(i=r.return(),Object(i)!==i))return}finally{if(u)throw o}}return l}}function vs(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
7
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function gs(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
8
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Tn(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),r.push.apply(r,a)}return r}function w(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?Tn(Object(r),!0).forEach(function(a){V(e,a,r[a])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Tn(Object(r)).forEach(function(a){Object.defineProperty(e,a,Object.getOwnPropertyDescriptor(r,a))})}return e}function St(e,t){return cs(e)||hs(e,t)||dn(e,t)||vs()}function le(e){return us(e)||ps(e)||dn(e)||gs()}function ys(e,t){if(typeof e!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var a=r.call(e,t);if(typeof a!="object")return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function Mr(e){var t=ys(e,"string");return typeof t=="symbol"?t:t+""}function pt(e){"@babel/helpers - typeof";return pt=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},pt(e)}function dn(e,t){if(e){if(typeof e=="string")return Ut(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)?Ut(e,t):void 0}}var _n=function(){},mn={},Fr={},Dr=null,Ir={mark:_n,measure:_n};try{typeof window!="undefined"&&(mn=window),typeof document!="undefined"&&(Fr=document),typeof MutationObserver!="undefined"&&(Dr=MutationObserver),typeof performance!="undefined"&&(Ir=performance)}catch{}var bs=mn.navigator||{},Pn=bs.userAgent,Mn=Pn===void 0?"":Pn,ve=mn,Y=Fr,Fn=Dr,rt=Ir;ve.document;var pe=!!Y.documentElement&&!!Y.head&&typeof Y.addEventListener=="function"&&typeof Y.createElement=="function",Rr=~Mn.indexOf("MSIE")||~Mn.indexOf("Trident/"),Tt,ks=/fa(k|kd|s|r|l|t|d|dr|dl|dt|b|slr|slpr|wsb|tl|ns|nds|es|jr|jfr|jdr|usb|ufsb|udsb|cr|ss|sr|sl|st|sds|sdr|sdl|sdt)?[\-\ ]/,Ss=/Font ?Awesome ?([567 ]*)(Solid|Regular|Light|Thin|Duotone|Brands|Free|Pro|Sharp Duotone|Sharp|Kit|Notdog Duo|Notdog|Chisel|Etch|Thumbprint|Jelly Fill|Jelly Duo|Jelly|Utility|Utility Fill|Utility Duo|Slab Press|Slab|Whiteboard)?.*/i,jr={classic:{fa:"solid",fas:"solid","fa-solid":"solid",far:"regular","fa-regular":"regular",fal:"light","fa-light":"light",fat:"thin","fa-thin":"thin",fab:"brands","fa-brands":"brands"},duotone:{fa:"solid",fad:"solid","fa-solid":"solid","fa-duotone":"solid",fadr:"regular","fa-regular":"regular",fadl:"light","fa-light":"light",fadt:"thin","fa-thin":"thin"},sharp:{fa:"solid",fass:"solid","fa-solid":"solid",fasr:"regular","fa-regular":"regular",fasl:"light","fa-light":"light",fast:"thin","fa-thin":"thin"},"sharp-duotone":{fa:"solid",fasds:"solid","fa-solid":"solid",fasdr:"regular","fa-regular":"regular",fasdl:"light","fa-light":"light",fasdt:"thin","fa-thin":"thin"},slab:{"fa-regular":"regular",faslr:"regular"},"slab-press":{"fa-regular":"regular",faslpr:"regular"},thumbprint:{"fa-light":"light",fatl:"light"},whiteboard:{"fa-semibold":"semibold",fawsb:"semibold"},notdog:{"fa-solid":"solid",fans:"solid"},"notdog-duo":{"fa-solid":"solid",fands:"solid"},etch:{"fa-solid":"solid",faes:"solid"},jelly:{"fa-regular":"regular",fajr:"regular"},"jelly-fill":{"fa-regular":"regular",fajfr:"regular"},"jelly-duo":{"fa-regular":"regular",fajdr:"regular"},chisel:{"fa-regular":"regular",facr:"regular"},utility:{"fa-semibold":"semibold",fausb:"semibold"},"utility-duo":{"fa-semibold":"semibold",faudsb:"semibold"},"utility-fill":{"fa-semibold":"semibold",faufsb:"semibold"}},ws={GROUP:"duotone-group",PRIMARY:"primary",SECONDARY:"secondary"},Vr=["fa-classic","fa-duotone","fa-sharp","fa-sharp-duotone","fa-thumbprint","fa-whiteboard","fa-notdog","fa-notdog-duo","fa-chisel","fa-etch","fa-jelly","fa-jelly-fill","fa-jelly-duo","fa-slab","fa-slab-press","fa-utility","fa-utility-duo","fa-utility-fill"],Z="classic",Ke="duotone",Lr="sharp",zr="sharp-duotone",Ur="chisel",Hr="etch",Wr="jelly",Yr="jelly-duo",qr="jelly-fill",Jr="notdog",Kr="notdog-duo",Gr="slab",Xr="slab-press",Zr="thumbprint",Qr="utility",ea="utility-duo",ta="utility-fill",na="whiteboard",Es="Classic",xs="Duotone",$s="Sharp",Cs="Sharp Duotone",Ns="Chisel",Bs="Etch",As="Jelly",Os="Jelly Duo",Ts="Jelly Fill",_s="Notdog",Ps="Notdog Duo",Ms="Slab",Fs="Slab Press",Ds="Thumbprint",Is="Utility",Rs="Utility Duo",js="Utility Fill",Vs="Whiteboard",ra=[Z,Ke,Lr,zr,Ur,Hr,Wr,Yr,qr,Jr,Kr,Gr,Xr,Zr,Qr,ea,ta,na];Tt={},V(V(V(V(V(V(V(V(V(V(Tt,Z,Es),Ke,xs),Lr,$s),zr,Cs),Ur,Ns),Hr,Bs),Wr,As),Yr,Os),qr,Ts),Jr,_s),V(V(V(V(V(V(V(V(Tt,Kr,Ps),Gr,Ms),Xr,Fs),Zr,Ds),Qr,Is),ea,Rs),ta,js),na,Vs);var Ls={classic:{900:"fas",400:"far",normal:"far",300:"fal",100:"fat"},duotone:{900:"fad",400:"fadr",300:"fadl",100:"fadt"},sharp:{900:"fass",400:"fasr",300:"fasl",100:"fast"},"sharp-duotone":{900:"fasds",400:"fasdr",300:"fasdl",100:"fasdt"},slab:{400:"faslr"},"slab-press":{400:"faslpr"},whiteboard:{600:"fawsb"},thumbprint:{300:"fatl"},notdog:{900:"fans"},"notdog-duo":{900:"fands"},etch:{900:"faes"},chisel:{400:"facr"},jelly:{400:"fajr"},"jelly-fill":{400:"fajfr"},"jelly-duo":{400:"fajdr"},utility:{600:"fausb"},"utility-duo":{600:"faudsb"},"utility-fill":{600:"faufsb"}},zs={"Font Awesome 7 Free":{900:"fas",400:"far"},"Font Awesome 7 Pro":{900:"fas",400:"far",normal:"far",300:"fal",100:"fat"},"Font Awesome 7 Brands":{400:"fab",normal:"fab"},"Font Awesome 7 Duotone":{900:"fad",400:"fadr",normal:"fadr",300:"fadl",100:"fadt"},"Font Awesome 7 Sharp":{900:"fass",400:"fasr",normal:"fasr",300:"fasl",100:"fast"},"Font Awesome 7 Sharp Duotone":{900:"fasds",400:"fasdr",normal:"fasdr",300:"fasdl",100:"fasdt"},"Font Awesome 7 Jelly":{400:"fajr",normal:"fajr"},"Font Awesome 7 Jelly Fill":{400:"fajfr",normal:"fajfr"},"Font Awesome 7 Jelly Duo":{400:"fajdr",normal:"fajdr"},"Font Awesome 7 Slab":{400:"faslr",normal:"faslr"},"Font Awesome 7 Slab Press":{400:"faslpr",normal:"faslpr"},"Font Awesome 7 Thumbprint":{300:"fatl",normal:"fatl"},"Font Awesome 7 Notdog":{900:"fans",normal:"fans"},"Font Awesome 7 Notdog Duo":{900:"fands",normal:"fands"},"Font Awesome 7 Etch":{900:"faes",normal:"faes"},"Font Awesome 7 Chisel":{400:"facr",normal:"facr"},"Font Awesome 7 Whiteboard":{600:"fawsb",normal:"fawsb"},"Font Awesome 7 Utility":{600:"fausb",normal:"fausb"},"Font Awesome 7 Utility Duo":{600:"faudsb",normal:"faudsb"},"Font Awesome 7 Utility Fill":{600:"faufsb",normal:"faufsb"}},Us=new Map([["classic",{defaultShortPrefixId:"fas",defaultStyleId:"solid",styleIds:["solid","regular","light","thin","brands"],futureStyleIds:[],defaultFontWeight:900}],["duotone",{defaultShortPrefixId:"fad",defaultStyleId:"solid",styleIds:["solid","regular","light","thin"],futureStyleIds:[],defaultFontWeight:900}],["sharp",{defaultShortPrefixId:"fass",defaultStyleId:"solid",styleIds:["solid","regular","light","thin"],futureStyleIds:[],defaultFontWeight:900}],["sharp-duotone",{defaultShortPrefixId:"fasds",defaultStyleId:"solid",styleIds:["solid","regular","light","thin"],futureStyleIds:[],defaultFontWeight:900}],["chisel",{defaultShortPrefixId:"facr",defaultStyleId:"regular",styleIds:["regular"],futureStyleIds:[],defaultFontWeight:400}],["etch",{defaultShortPrefixId:"faes",defaultStyleId:"solid",styleIds:["solid"],futureStyleIds:[],defaultFontWeight:900}],["jelly",{defaultShortPrefixId:"fajr",defaultStyleId:"regular",styleIds:["regular"],futureStyleIds:[],defaultFontWeight:400}],["jelly-duo",{defaultShortPrefixId:"fajdr",defaultStyleId:"regular",styleIds:["regular"],futureStyleIds:[],defaultFontWeight:400}],["jelly-fill",{defaultShortPrefixId:"fajfr",defaultStyleId:"regular",styleIds:["regular"],futureStyleIds:[],defaultFontWeight:400}],["notdog",{defaultShortPrefixId:"fans",defaultStyleId:"solid",styleIds:["solid"],futureStyleIds:[],defaultFontWeight:900}],["notdog-duo",{defaultShortPrefixId:"fands",defaultStyleId:"solid",styleIds:["solid"],futureStyleIds:[],defaultFontWeight:900}],["slab",{defaultShortPrefixId:"faslr",defaultStyleId:"regular",styleIds:["regular"],futureStyleIds:[],defaultFontWeight:400}],["slab-press",{defaultShortPrefixId:"faslpr",defaultStyleId:"regular",styleIds:["regular"],futureStyleIds:[],defaultFontWeight:400}],["thumbprint",{defaultShortPrefixId:"fatl",defaultStyleId:"light",styleIds:["light"],futureStyleIds:[],defaultFontWeight:300}],["utility",{defaultShortPrefixId:"fausb",defaultStyleId:"semibold",styleIds:["semibold"],futureStyleIds:[],defaultFontWeight:600}],["utility-duo",{defaultShortPrefixId:"faudsb",defaultStyleId:"semibold",styleIds:["semibold"],futureStyleIds:[],defaultFontWeight:600}],["utility-fill",{defaultShortPrefixId:"faufsb",defaultStyleId:"semibold",styleIds:["semibold"],futureStyleIds:[],defaultFontWeight:600}],["whiteboard",{defaultShortPrefixId:"fawsb",defaultStyleId:"semibold",styleIds:["semibold"],futureStyleIds:[],defaultFontWeight:600}]]),Hs={chisel:{regular:"facr"},classic:{brands:"fab",light:"fal",regular:"far",solid:"fas",thin:"fat"},duotone:{light:"fadl",regular:"fadr",solid:"fad",thin:"fadt"},etch:{solid:"faes"},jelly:{regular:"fajr"},"jelly-duo":{regular:"fajdr"},"jelly-fill":{regular:"fajfr"},notdog:{solid:"fans"},"notdog-duo":{solid:"fands"},sharp:{light:"fasl",regular:"fasr",solid:"fass",thin:"fast"},"sharp-duotone":{light:"fasdl",regular:"fasdr",solid:"fasds",thin:"fasdt"},slab:{regular:"faslr"},"slab-press":{regular:"faslpr"},thumbprint:{light:"fatl"},utility:{semibold:"fausb"},"utility-duo":{semibold:"faudsb"},"utility-fill":{semibold:"faufsb"},whiteboard:{semibold:"fawsb"}},aa=["fak","fa-kit","fakd","fa-kit-duotone"],Dn={kit:{fak:"kit","fa-kit":"kit"},"kit-duotone":{fakd:"kit-duotone","fa-kit-duotone":"kit-duotone"}},Ws=["kit"],Ys="kit",qs="kit-duotone",Js="Kit",Ks="Kit Duotone";V(V({},Ys,Js),qs,Ks);var Gs={kit:{"fa-kit":"fak"}},Xs={"Font Awesome Kit":{400:"fak",normal:"fak"},"Font Awesome Kit Duotone":{400:"fakd",normal:"fakd"}},Zs={kit:{fak:"fa-kit"}},In={kit:{kit:"fak"},"kit-duotone":{"kit-duotone":"fakd"}},_t,at={GROUP:"duotone-group",SWAP_OPACITY:"swap-opacity",PRIMARY:"primary",SECONDARY:"secondary"},Qs=["fa-classic","fa-duotone","fa-sharp","fa-sharp-duotone","fa-thumbprint","fa-whiteboard","fa-notdog","fa-notdog-duo","fa-chisel","fa-etch","fa-jelly","fa-jelly-fill","fa-jelly-duo","fa-slab","fa-slab-press","fa-utility","fa-utility-duo","fa-utility-fill"],ei="classic",ti="duotone",ni="sharp",ri="sharp-duotone",ai="chisel",oi="etch",si="jelly",ii="jelly-duo",li="jelly-fill",ci="notdog",ui="notdog-duo",fi="slab",di="slab-press",mi="thumbprint",pi="utility",hi="utility-duo",vi="utility-fill",gi="whiteboard",yi="Classic",bi="Duotone",ki="Sharp",Si="Sharp Duotone",wi="Chisel",Ei="Etch",xi="Jelly",$i="Jelly Duo",Ci="Jelly Fill",Ni="Notdog",Bi="Notdog Duo",Ai="Slab",Oi="Slab Press",Ti="Thumbprint",_i="Utility",Pi="Utility Duo",Mi="Utility Fill",Fi="Whiteboard";_t={},V(V(V(V(V(V(V(V(V(V(_t,ei,yi),ti,bi),ni,ki),ri,Si),ai,wi),oi,Ei),si,xi),ii,$i),li,Ci),ci,Ni),V(V(V(V(V(V(V(V(_t,ui,Bi),fi,Ai),di,Oi),mi,Ti),pi,_i),hi,Pi),vi,Mi),gi,Fi);var Di="kit",Ii="kit-duotone",Ri="Kit",ji="Kit Duotone";V(V({},Di,Ri),Ii,ji);var Vi={classic:{"fa-brands":"fab","fa-duotone":"fad","fa-light":"fal","fa-regular":"far","fa-solid":"fas","fa-thin":"fat"},duotone:{"fa-regular":"fadr","fa-light":"fadl","fa-thin":"fadt"},sharp:{"fa-solid":"fass","fa-regular":"fasr","fa-light":"fasl","fa-thin":"fast"},"sharp-duotone":{"fa-solid":"fasds","fa-regular":"fasdr","fa-light":"fasdl","fa-thin":"fasdt"},slab:{"fa-regular":"faslr"},"slab-press":{"fa-regular":"faslpr"},whiteboard:{"fa-semibold":"fawsb"},thumbprint:{"fa-light":"fatl"},notdog:{"fa-solid":"fans"},"notdog-duo":{"fa-solid":"fands"},etch:{"fa-solid":"faes"},jelly:{"fa-regular":"fajr"},"jelly-fill":{"fa-regular":"fajfr"},"jelly-duo":{"fa-regular":"fajdr"},chisel:{"fa-regular":"facr"},utility:{"fa-semibold":"fausb"},"utility-duo":{"fa-semibold":"faudsb"},"utility-fill":{"fa-semibold":"faufsb"}},Li={classic:["fas","far","fal","fat","fad"],duotone:["fadr","fadl","fadt"],sharp:["fass","fasr","fasl","fast"],"sharp-duotone":["fasds","fasdr","fasdl","fasdt"],slab:["faslr"],"slab-press":["faslpr"],whiteboard:["fawsb"],thumbprint:["fatl"],notdog:["fans"],"notdog-duo":["fands"],etch:["faes"],jelly:["fajr"],"jelly-fill":["fajfr"],"jelly-duo":["fajdr"],chisel:["facr"],utility:["fausb"],"utility-duo":["faudsb"],"utility-fill":["faufsb"]},Ht={classic:{fab:"fa-brands",fad:"fa-duotone",fal:"fa-light",far:"fa-regular",fas:"fa-solid",fat:"fa-thin"},duotone:{fadr:"fa-regular",fadl:"fa-light",fadt:"fa-thin"},sharp:{fass:"fa-solid",fasr:"fa-regular",fasl:"fa-light",fast:"fa-thin"},"sharp-duotone":{fasds:"fa-solid",fasdr:"fa-regular",fasdl:"fa-light",fasdt:"fa-thin"},slab:{faslr:"fa-regular"},"slab-press":{faslpr:"fa-regular"},whiteboard:{fawsb:"fa-semibold"},thumbprint:{fatl:"fa-light"},notdog:{fans:"fa-solid"},"notdog-duo":{fands:"fa-solid"},etch:{faes:"fa-solid"},jelly:{fajr:"fa-regular"},"jelly-fill":{fajfr:"fa-regular"},"jelly-duo":{fajdr:"fa-regular"},chisel:{facr:"fa-regular"},utility:{fausb:"fa-semibold"},"utility-duo":{faudsb:"fa-semibold"},"utility-fill":{faufsb:"fa-semibold"}},zi=["fa-solid","fa-regular","fa-light","fa-thin","fa-duotone","fa-brands","fa-semibold"],oa=["fa","fas","far","fal","fat","fad","fadr","fadl","fadt","fab","fass","fasr","fasl","fast","fasds","fasdr","fasdl","fasdt","faslr","faslpr","fawsb","fatl","fans","fands","faes","fajr","fajfr","fajdr","facr","fausb","faudsb","faufsb"].concat(Qs,zi),Ui=["solid","regular","light","thin","duotone","brands","semibold"],sa=[1,2,3,4,5,6,7,8,9,10],Hi=sa.concat([11,12,13,14,15,16,17,18,19,20]),Wi=["aw","fw","pull-left","pull-right"],Yi=[].concat(le(Object.keys(Li)),Ui,Wi,["2xs","xs","sm","lg","xl","2xl","beat","border","fade","beat-fade","bounce","flip-both","flip-horizontal","flip-vertical","flip","inverse","layers","layers-bottom-left","layers-bottom-right","layers-counter","layers-text","layers-top-left","layers-top-right","li","pull-end","pull-start","pulse","rotate-180","rotate-270","rotate-90","rotate-by","shake","spin-pulse","spin-reverse","spin","stack-1x","stack-2x","stack","ul","width-auto","width-fixed",at.GROUP,at.SWAP_OPACITY,at.PRIMARY,at.SECONDARY]).concat(sa.map(function(e){return"".concat(e,"x")})).concat(Hi.map(function(e){return"w-".concat(e)})),qi={"Font Awesome 5 Free":{900:"fas",400:"far"},"Font Awesome 5 Pro":{900:"fas",400:"far",normal:"far",300:"fal"},"Font Awesome 5 Brands":{400:"fab",normal:"fab"},"Font Awesome 5 Duotone":{900:"fad"}},de="___FONT_AWESOME___",Wt=16,ia="fa",la="svg-inline--fa",$e="data-fa-i2svg",Yt="data-fa-pseudo-element",Ji="data-fa-pseudo-element-pending",pn="data-prefix",hn="data-icon",Rn="fontawesome-i2svg",Ki="async",Gi=["HTML","HEAD","STYLE","SCRIPT"],ca=["::before","::after",":before",":after"],ua=function(){try{return process.env.NODE_ENV==="production"}catch{return!1}}();function Ge(e){return new Proxy(e,{get:function(r,a){return a in r?r[a]:r[Z]}})}var fa=w({},jr);fa[Z]=w(w(w(w({},{"fa-duotone":"duotone"}),jr[Z]),Dn.kit),Dn["kit-duotone"]);var Xi=Ge(fa),qt=w({},Hs);qt[Z]=w(w(w(w({},{duotone:"fad"}),qt[Z]),In.kit),In["kit-duotone"]);var jn=Ge(qt),Jt=w({},Ht);Jt[Z]=w(w({},Jt[Z]),Zs.kit);var vn=Ge(Jt),Kt=w({},Vi);Kt[Z]=w(w({},Kt[Z]),Gs.kit);Ge(Kt);var Zi=ks,da="fa-layers-text",Qi=Ss,el=w({},Ls);Ge(el);var tl=["class","data-prefix","data-icon","data-fa-transform","data-fa-mask"],Pt=ws,nl=[].concat(le(Ws),le(Yi)),He=ve.FontAwesomeConfig||{};function rl(e){var t=Y.querySelector("script["+e+"]");if(t)return t.getAttribute(e)}function al(e){return e===""?!0:e==="false"?!1:e==="true"?!0:e}if(Y&&typeof Y.querySelector=="function"){var ol=[["data-family-prefix","familyPrefix"],["data-css-prefix","cssPrefix"],["data-family-default","familyDefault"],["data-style-default","styleDefault"],["data-replacement-class","replacementClass"],["data-auto-replace-svg","autoReplaceSvg"],["data-auto-add-css","autoAddCss"],["data-search-pseudo-elements","searchPseudoElements"],["data-search-pseudo-elements-warnings","searchPseudoElementsWarnings"],["data-search-pseudo-elements-full-scan","searchPseudoElementsFullScan"],["data-observe-mutations","observeMutations"],["data-mutate-approach","mutateApproach"],["data-keep-original-source","keepOriginalSource"],["data-measure-performance","measurePerformance"],["data-show-missing-icons","showMissingIcons"]];ol.forEach(function(e){var t=St(e,2),r=t[0],a=t[1],o=al(rl(r));o!=null&&(He[a]=o)})}var ma={styleDefault:"solid",familyDefault:Z,cssPrefix:ia,replacementClass:la,autoReplaceSvg:!0,autoAddCss:!0,searchPseudoElements:!1,searchPseudoElementsWarnings:!0,searchPseudoElementsFullScan:!1,observeMutations:!0,mutateApproach:"async",keepOriginalSource:!0,measurePerformance:!1,showMissingIcons:!0};He.familyPrefix&&(He.cssPrefix=He.familyPrefix);var Pe=w(w({},ma),He);Pe.autoReplaceSvg||(Pe.observeMutations=!1);var P={};Object.keys(ma).forEach(function(e){Object.defineProperty(P,e,{enumerable:!0,set:function(r){Pe[e]=r,We.forEach(function(a){return a(P)})},get:function(){return Pe[e]}})});Object.defineProperty(P,"familyPrefix",{enumerable:!0,set:function(t){Pe.cssPrefix=t,We.forEach(function(r){return r(P)})},get:function(){return Pe.cssPrefix}});ve.FontAwesomeConfig=P;var We=[];function sl(e){return We.push(e),function(){We.splice(We.indexOf(e),1)}}var Ae=Wt,fe={size:16,x:0,y:0,rotate:0,flipX:!1,flipY:!1};function il(e){if(!(!e||!pe)){var t=Y.createElement("style");t.setAttribute("type","text/css"),t.innerHTML=e;for(var r=Y.head.childNodes,a=null,o=r.length-1;o>-1;o--){var s=r[o],i=(s.tagName||"").toUpperCase();["STYLE","LINK"].indexOf(i)>-1&&(a=s)}return Y.head.insertBefore(t,a),e}}var ll="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ";function Vn(){for(var e=12,t="";e-- >0;)t+=ll[Math.random()*62|0];return t}function Fe(e){for(var t=[],r=(e||[]).length>>>0;r--;)t[r]=e[r];return t}function gn(e){return e.classList?Fe(e.classList):(e.getAttribute("class")||"").split(" ").filter(function(t){return t})}function pa(e){return"".concat(e).replace(/&/g,"&amp;").replace(/"/g,"&quot;").replace(/'/g,"&#39;").replace(/</g,"&lt;").replace(/>/g,"&gt;")}function cl(e){return Object.keys(e||{}).reduce(function(t,r){return t+"".concat(r,'="').concat(pa(e[r]),'" ')},"").trim()}function wt(e){return Object.keys(e||{}).reduce(function(t,r){return t+"".concat(r,": ").concat(e[r].trim(),";")},"")}function yn(e){return e.size!==fe.size||e.x!==fe.x||e.y!==fe.y||e.rotate!==fe.rotate||e.flipX||e.flipY}function ul(e){var t=e.transform,r=e.containerWidth,a=e.iconWidth,o={transform:"translate(".concat(r/2," 256)")},s="translate(".concat(t.x*32,", ").concat(t.y*32,") "),i="scale(".concat(t.size/16*(t.flipX?-1:1),", ").concat(t.size/16*(t.flipY?-1:1),") "),l="rotate(".concat(t.rotate," 0 0)"),c={transform:"".concat(s," ").concat(i," ").concat(l)},u={transform:"translate(".concat(a/2*-1," -256)")};return{outer:o,inner:c,path:u}}function fl(e){var t=e.transform,r=e.width,a=r===void 0?Wt:r,o=e.height,s=o===void 0?Wt:o,i="";return Rr?i+="translate(".concat(t.x/Ae-a/2,"em, ").concat(t.y/Ae-s/2,"em) "):i+="translate(calc(-50% + ".concat(t.x/Ae,"em), calc(-50% + ").concat(t.y/Ae,"em)) "),i+="scale(".concat(t.size/Ae*(t.flipX?-1:1),", ").concat(t.size/Ae*(t.flipY?-1:1),") "),i+="rotate(".concat(t.rotate,"deg) "),i}var dl=`:root, :host {
22
9
  --fa-font-solid: normal 900 1em/1 "Font Awesome 7 Free";
23
10
  --fa-font-regular: normal 400 1em/1 "Font Awesome 7 Free";
24
11
  --fa-font-light: normal 300 1em/1 "Font Awesome 7 Pro";
@@ -568,11 +555,16 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
568
555
  margin: auto;
569
556
  position: absolute;
570
557
  z-index: var(--fa-stack-z-index, auto);
571
- }`;function tu(){var e=Yc,t=Gc,r=H.cssPrefix,n=H.replacementClass,o=Og;if(r!==e||n!==t){var i=new RegExp("\\.".concat(e,"\\-"),"g"),s=new RegExp("\\--".concat(e,"\\-"),"g"),c=new RegExp("\\.".concat(t),"g");o=o.replace(i,".".concat(r,"-")).replace(s,"--".concat(r,"-")).replace(c,".".concat(n))}return o}var Us=!1;function Co(){H.autoAddCss&&!Us&&(wg(tu()),Us=!0)}var _g={mixout:function(){return{dom:{css:tu,insertCss:Co}}},hooks:function(){return{beforeDOMElementCreation:function(){Co()},beforeI2svg:function(){Co()}}}},it=pt||{};it[ot]||(it[ot]={});it[ot].styles||(it[ot].styles={});it[ot].hooks||(it[ot].hooks={});it[ot].shims||(it[ot].shims=[]);var Ve=it[ot],ru=[],nu=function(){oe.removeEventListener("DOMContentLoaded",nu),Yn=1,ru.map(function(t){return t()})},Yn=!1;lt&&(Yn=(oe.documentElement.doScroll?/^loaded|^c/:/^loaded|^i|^c/).test(oe.readyState),Yn||oe.addEventListener("DOMContentLoaded",nu));function $g(e){lt&&(Yn?setTimeout(e,0):ru.push(e))}function Qr(e){var t=e.tag,r=e.attributes,n=r===void 0?{}:r,o=e.children,i=o===void 0?[]:o;return typeof e=="string"?eu(e):"<".concat(t," ").concat(kg(n),">").concat(i.map(Qr).join(""),"</").concat(t,">")}function zs(e,t,r){if(e&&e[t]&&e[t][r])return{prefix:t,iconName:r,icon:e[t][r]}}var To=function(t,r,n,o){var i=Object.keys(t),s=i.length,c=r,u,f,d;for(n===void 0?(u=1,d=t[i[0]]):(u=0,d=n);u<s;u++)f=i[u],d=c(d,t[f],f,t);return d};function au(e){return Ue(e).length!==1?null:e.codePointAt(0).toString(16)}function Hs(e){return Object.keys(e).reduce(function(t,r){var n=e[r],o=!!n.icon;return o?t[n.iconName]=n.icon:t[r]=n,t},{})}function Zo(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},n=r.skipHooks,o=n===void 0?!1:n,i=Hs(t);typeof Ve.hooks.addPack=="function"&&!o?Ve.hooks.addPack(e,Hs(t)):Ve.styles[e]=P(P({},Ve.styles[e]||{}),i),e==="fas"&&Zo("fa",t)}var Vr=Ve.styles,Cg=Ve.shims,ou=Object.keys(Ai),Tg=ou.reduce(function(e,t){return e[t]=Object.keys(Ai[t]),e},{}),_i=null,iu={},su={},lu={},cu={},uu={};function Ng(e){return~yg.indexOf(e)}function Pg(e,t){var r=t.split("-"),n=r[0],o=r.slice(1).join("-");return n===e&&o!==""&&!Ng(o)?o:null}var fu=function(){var t=function(i){return To(Vr,function(s,c,u){return s[u]=To(c,i,{}),s},{})};iu=t(function(o,i,s){if(i[3]&&(o[i[3]]=s),i[2]){var c=i[2].filter(function(u){return typeof u=="number"});c.forEach(function(u){o[u.toString(16)]=s})}return o}),su=t(function(o,i,s){if(o[s]=s,i[2]){var c=i[2].filter(function(u){return typeof u=="string"});c.forEach(function(u){o[u]=s})}return o}),uu=t(function(o,i,s){var c=i[2];return o[s]=s,c.forEach(function(u){o[u]=s}),o});var r="far"in Vr||H.autoFetchSvg,n=To(Cg,function(o,i){var s=i[0],c=i[1],u=i[2];return c==="far"&&!r&&(c="fas"),typeof s=="string"&&(o.names[s]={prefix:c,iconName:u}),typeof s=="number"&&(o.unicodes[s.toString(16)]={prefix:c,iconName:u}),o},{names:{},unicodes:{}});lu=n.names,cu=n.unicodes,_i=ua(H.styleDefault,{family:H.familyDefault})};Sg(function(e){_i=ua(e.styleDefault,{family:H.familyDefault})});fu();function $i(e,t){return(iu[e]||{})[t]}function Bg(e,t){return(su[e]||{})[t]}function Ot(e,t){return(uu[e]||{})[t]}function du(e){return lu[e]||{prefix:null,iconName:null}}function Ig(e){var t=cu[e],r=$i("fas",e);return t||(r?{prefix:"fas",iconName:r}:null)||{prefix:null,iconName:null}}function mt(){return _i}var pu=function(){return{prefix:null,iconName:null,rest:[]}};function Mg(e){var t=ge,r=ou.reduce(function(n,o){return n[o]="".concat(H.cssPrefix,"-").concat(o),n},{});return zc.forEach(function(n){(e.includes(r[n])||e.some(function(o){return Tg[n].includes(o)}))&&(t=n)}),t}function ua(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.family,n=r===void 0?ge:r,o=fg[n][e];if(n===Jr&&!e)return"fad";var i=Ls[n][e]||Ls[n][o],s=e in Ve.styles?e:null,c=i||s||null;return c}function Fg(e){var t=[],r=null;return e.forEach(function(n){var o=Pg(H.cssPrefix,n);o?r=o:n&&t.push(n)}),{iconName:r,rest:t}}function Ws(e){return e.sort().filter(function(t,r,n){return n.indexOf(t)===r})}var qs=Wc.concat(Hc);function fa(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.skipLookups,n=r===void 0?!1:r,o=null,i=Ws(e.filter(function(w){return qs.includes(w)})),s=Ws(e.filter(function(w){return!qs.includes(w)})),c=i.filter(function(w){return o=w,!Oc.includes(w)}),u=la(c,1),f=u[0],d=f===void 0?null:f,h=Mg(i),v=P(P({},Fg(s)),{},{prefix:ua(d,{family:h})});return P(P(P({},v),Lg({values:e,family:h,styles:Vr,config:H,canonical:v,givenPrefix:o})),Rg(n,o,v))}function Rg(e,t,r){var n=r.prefix,o=r.iconName;if(e||!n||!o)return{prefix:n,iconName:o};var i=t==="fa"?du(o):{},s=Ot(n,o);return o=i.iconName||s||o,n=i.prefix||n,n==="far"&&!Vr.far&&Vr.fas&&!H.autoFetchSvg&&(n="fas"),{prefix:n,iconName:o}}var Dg=zc.filter(function(e){return e!==ge||e!==Jr}),jg=Object.keys(Yo).filter(function(e){return e!==ge}).map(function(e){return Object.keys(Yo[e])}).flat();function Lg(e){var t=e.values,r=e.family,n=e.canonical,o=e.givenPrefix,i=o===void 0?"":o,s=e.styles,c=s===void 0?{}:s,u=e.config,f=u===void 0?{}:u,d=r===Jr,h=t.includes("fa-duotone")||t.includes("fad"),v=f.familyDefault==="duotone",w=n.prefix==="fad"||n.prefix==="fa-duotone";if(!d&&(h||v||w)&&(n.prefix="fad"),(t.includes("fa-brands")||t.includes("fab"))&&(n.prefix="fab"),!n.prefix&&Dg.includes(r)){var m=Object.keys(c).find(function(b){return jg.includes(b)});if(m||f.autoFetchSvg){var y=nv.get(r).defaultShortPrefixId;n.prefix=y,n.iconName=Ot(n.prefix,n.iconName)||n.iconName}}return(n.prefix==="fa"||i==="fa")&&(n.prefix=mt()||"fas"),n}var Vg=function(){function e(){xy(this,e),this.definitions={}}return _y(e,[{key:"add",value:function(){for(var r=this,n=arguments.length,o=new Array(n),i=0;i<n;i++)o[i]=arguments[i];var s=o.reduce(this._pullDefinitions,{});Object.keys(s).forEach(function(c){r.definitions[c]=P(P({},r.definitions[c]||{}),s[c]),Zo(c,s[c]);var u=Ai[ge][c];u&&Zo(u,s[c]),fu()})}},{key:"reset",value:function(){this.definitions={}}},{key:"_pullDefinitions",value:function(r,n){var o=n.prefix&&n.iconName&&n.icon?{0:n}:n;return Object.keys(o).map(function(i){var s=o[i],c=s.prefix,u=s.iconName,f=s.icon,d=f[2];r[c]||(r[c]={}),d.length>0&&d.forEach(function(h){typeof h=="string"&&(r[c][h]=f)}),r[c][u]=f}),r}}])}(),Ys=[],Xt={},Zt={},Ug=Object.keys(Zt);function zg(e,t){var r=t.mixoutsTo;return Ys=e,Xt={},Object.keys(Zt).forEach(function(n){Ug.indexOf(n)===-1&&delete Zt[n]}),Ys.forEach(function(n){var o=n.mixout?n.mixout():{};if(Object.keys(o).forEach(function(s){typeof o[s]=="function"&&(r[s]=o[s]),qn(o[s])==="object"&&Object.keys(o[s]).forEach(function(c){r[s]||(r[s]={}),r[s][c]=o[s][c]})}),n.hooks){var i=n.hooks();Object.keys(i).forEach(function(s){Xt[s]||(Xt[s]=[]),Xt[s].push(i[s])})}n.provides&&n.provides(Zt)}),r}function ei(e,t){for(var r=arguments.length,n=new Array(r>2?r-2:0),o=2;o<r;o++)n[o-2]=arguments[o];var i=Xt[e]||[];return i.forEach(function(s){t=s.apply(null,[t].concat(n))}),t}function Bt(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];var o=Xt[e]||[];o.forEach(function(i){i.apply(null,r)})}function ht(){var e=arguments[0],t=Array.prototype.slice.call(arguments,1);return Zt[e]?Zt[e].apply(null,t):void 0}function ti(e){e.prefix==="fa"&&(e.prefix="fas");var t=e.iconName,r=e.prefix||mt();if(t)return t=Ot(r,t)||t,zs(mu.definitions,r,t)||zs(Ve.styles,r,t)}var mu=new Vg,Hg=function(){H.autoReplaceSvg=!1,H.observeMutations=!1,Bt("noAuto")},Wg={i2svg:function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return lt?(Bt("beforeI2svg",t),ht("pseudoElements2svg",t),ht("i2svg",t)):Promise.reject(new Error("Operation requires a DOM of some kind."))},watch:function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},r=t.autoReplaceSvgRoot;H.autoReplaceSvg===!1&&(H.autoReplaceSvg=!0),H.observeMutations=!0,$g(function(){Yg({autoReplaceSvgRoot:r}),Bt("watch",t)})}},qg={icon:function(t){if(t===null)return null;if(qn(t)==="object"&&t.prefix&&t.iconName)return{prefix:t.prefix,iconName:Ot(t.prefix,t.iconName)||t.iconName};if(Array.isArray(t)&&t.length===2){var r=t[1].indexOf("fa-")===0?t[1].slice(3):t[1],n=ua(t[0]);return{prefix:n,iconName:Ot(n,r)||r}}if(typeof t=="string"&&(t.indexOf("".concat(H.cssPrefix,"-"))>-1||t.match(dg))){var o=fa(t.split(" "),{skipLookups:!0});return{prefix:o.prefix||mt(),iconName:Ot(o.prefix,o.iconName)||o.iconName}}if(typeof t=="string"){var i=mt();return{prefix:i,iconName:Ot(i,t)||t}}}},Pe={noAuto:Hg,config:H,dom:Wg,parse:qg,library:mu,findIconDefinition:ti,toHtml:Qr},Yg=function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},r=t.autoReplaceSvgRoot,n=r===void 0?oe:r;(Object.keys(Ve.styles).length>0||H.autoFetchSvg)&&lt&&H.autoReplaceSvg&&Pe.dom.i2svg({node:n})};function da(e,t){return Object.defineProperty(e,"abstract",{get:t}),Object.defineProperty(e,"html",{get:function(){return e.abstract.map(function(n){return Qr(n)})}}),Object.defineProperty(e,"node",{get:function(){if(lt){var n=oe.createElement("div");return n.innerHTML=e.html,n.children}}}),e}function Gg(e){var t=e.children,r=e.main,n=e.mask,o=e.attributes,i=e.styles,s=e.transform;if(Oi(s)&&r.found&&!n.found){var c=r.width,u=r.height,f={x:c/u/2,y:.5};o.style=ca(P(P({},i),{},{"transform-origin":"".concat(f.x+s.x/16,"em ").concat(f.y+s.y/16,"em")}))}return[{tag:"svg",attributes:o,children:t}]}function Kg(e){var t=e.prefix,r=e.iconName,n=e.children,o=e.attributes,i=e.symbol,s=i===!0?"".concat(t,"-").concat(H.cssPrefix,"-").concat(r):i;return[{tag:"svg",attributes:{style:"display: none;"},children:[{tag:"symbol",attributes:P(P({},o),{},{id:s}),children:n}]}]}function Jg(e){var t=["aria-label","aria-labelledby","title","role"];return t.some(function(r){return r in e})}function Ci(e){var t=e.icons,r=t.main,n=t.mask,o=e.prefix,i=e.iconName,s=e.transform,c=e.symbol,u=e.maskId,f=e.extra,d=e.watchable,h=d===void 0?!1:d,v=n.found?n:r,w=v.width,m=v.height,y=[H.replacementClass,i?"".concat(H.cssPrefix,"-").concat(i):""].filter(function(R){return f.classes.indexOf(R)===-1}).filter(function(R){return R!==""||!!R}).concat(f.classes).join(" "),b={children:[],attributes:P(P({},f.attributes),{},{"data-prefix":o,"data-icon":i,class:y,role:f.attributes.role||"img",viewBox:"0 0 ".concat(w," ").concat(m)})};!Jg(f.attributes)&&!f.attributes["aria-hidden"]&&(b.attributes["aria-hidden"]="true"),h&&(b.attributes[Pt]="");var S=P(P({},b),{},{prefix:o,iconName:i,main:r,mask:n,maskId:u,transform:s,symbol:c,styles:P({},f.styles)}),k=n.found&&r.found?ht("generateAbstractMask",S)||{children:[],attributes:{}}:ht("generateAbstractIcon",S)||{children:[],attributes:{}},O=k.children,M=k.attributes;return S.children=O,S.attributes=M,c?Kg(S):Gg(S)}function Gs(e){var t=e.content,r=e.width,n=e.height,o=e.transform,i=e.extra,s=e.watchable,c=s===void 0?!1:s,u=P(P({},i.attributes),{},{class:i.classes.join(" ")});c&&(u[Pt]="");var f=P({},i.styles);Oi(o)&&(f.transform=xg({transform:o,width:r,height:n}),f["-webkit-transform"]=f.transform);var d=ca(f);d.length>0&&(u.style=d);var h=[];return h.push({tag:"span",attributes:u,children:[t]}),h}function Xg(e){var t=e.content,r=e.extra,n=P(P({},r.attributes),{},{class:r.classes.join(" ")}),o=ca(r.styles);o.length>0&&(n.style=o);var i=[];return i.push({tag:"span",attributes:n,children:[t]}),i}var No=Ve.styles;function ri(e){var t=e[0],r=e[1],n=e.slice(4),o=la(n,1),i=o[0],s=null;return Array.isArray(i)?s={tag:"g",attributes:{class:"".concat(H.cssPrefix,"-").concat($o.GROUP)},children:[{tag:"path",attributes:{class:"".concat(H.cssPrefix,"-").concat($o.SECONDARY),fill:"currentColor",d:i[0]}},{tag:"path",attributes:{class:"".concat(H.cssPrefix,"-").concat($o.PRIMARY),fill:"currentColor",d:i[1]}}]}:s={tag:"path",attributes:{fill:"currentColor",d:i}},{found:!0,width:t,height:r,icon:s}}var Qg={found:!1,width:512,height:512};function Zg(e,t){!Jc&&!H.showMissingIcons&&e&&console.error('Icon with name "'.concat(e,'" and prefix "').concat(t,'" is missing.'))}function ni(e,t){var r=t;return t==="fa"&&H.styleDefault!==null&&(t=mt()),new Promise(function(n,o){if(r==="fa"){var i=du(e)||{};e=i.iconName||e,t=i.prefix||t}if(e&&t&&No[t]&&No[t][e]){var s=No[t][e];return n(ri(s))}Zg(e,t),n(P(P({},Qg),{},{icon:H.showMissingIcons&&e?ht("missingIconAbstract")||{}:{}}))})}var Ks=function(){},ai=H.measurePerformance&&xn&&xn.mark&&xn.measure?xn:{mark:Ks,measure:Ks},Nr='FA "7.1.0"',eb=function(t){return ai.mark("".concat(Nr," ").concat(t," begins")),function(){return hu(t)}},hu=function(t){ai.mark("".concat(Nr," ").concat(t," ends")),ai.measure("".concat(Nr," ").concat(t),"".concat(Nr," ").concat(t," begins"),"".concat(Nr," ").concat(t," ends"))},Ti={begin:eb,end:hu},Rn=function(){};function Js(e){var t=e.getAttribute?e.getAttribute(Pt):null;return typeof t=="string"}function tb(e){var t=e.getAttribute?e.getAttribute(Ei):null,r=e.getAttribute?e.getAttribute(ki):null;return t&&r}function rb(e){return e&&e.classList&&e.classList.contains&&e.classList.contains(H.replacementClass)}function nb(){if(H.autoReplaceSvg===!0)return Dn.replace;var e=Dn[H.autoReplaceSvg];return e||Dn.replace}function ab(e){return oe.createElementNS("http://www.w3.org/2000/svg",e)}function ob(e){return oe.createElement(e)}function yu(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.ceFn,n=r===void 0?e.tag==="svg"?ab:ob:r;if(typeof e=="string")return oe.createTextNode(e);var o=n(e.tag);Object.keys(e.attributes||[]).forEach(function(s){o.setAttribute(s,e.attributes[s])});var i=e.children||[];return i.forEach(function(s){o.appendChild(yu(s,{ceFn:n}))}),o}function ib(e){var t=" ".concat(e.outerHTML," ");return t="".concat(t,"Font Awesome fontawesome.com "),t}var Dn={replace:function(t){var r=t[0];if(r.parentNode)if(t[1].forEach(function(o){r.parentNode.insertBefore(yu(o),r)}),r.getAttribute(Pt)===null&&H.keepOriginalSource){var n=oe.createComment(ib(r));r.parentNode.replaceChild(n,r)}else r.remove()},nest:function(t){var r=t[0],n=t[1];if(~xi(r).indexOf(H.replacementClass))return Dn.replace(t);var o=new RegExp("".concat(H.cssPrefix,"-.*"));if(delete n[0].attributes.id,n[0].attributes.class){var i=n[0].attributes.class.split(" ").reduce(function(c,u){return u===H.replacementClass||u.match(o)?c.toSvg.push(u):c.toNode.push(u),c},{toNode:[],toSvg:[]});n[0].attributes.class=i.toSvg.join(" "),i.toNode.length===0?r.removeAttribute("class"):r.setAttribute("class",i.toNode.join(" "))}var s=n.map(function(c){return Qr(c)}).join(`
572
- `);r.setAttribute(Pt,""),r.innerHTML=s}};function Xs(e){e()}function vu(e,t){var r=typeof t=="function"?t:Rn;if(e.length===0)r();else{var n=Xs;H.mutateApproach===cg&&(n=pt.requestAnimationFrame||Xs),n(function(){var o=nb(),i=Ti.begin("mutate");e.map(o),i(),r()})}}var Ni=!1;function gu(){Ni=!0}function oi(){Ni=!1}var Gn=null;function Qs(e){if(Fs&&H.observeMutations){var t=e.treeCallback,r=t===void 0?Rn:t,n=e.nodeCallback,o=n===void 0?Rn:n,i=e.pseudoElementsCallback,s=i===void 0?Rn:i,c=e.observeMutationsRoot,u=c===void 0?oe:c;Gn=new Fs(function(f){if(!Ni){var d=mt();lr(f).forEach(function(h){if(h.type==="childList"&&h.addedNodes.length>0&&!Js(h.addedNodes[0])&&(H.searchPseudoElements&&s(h.target),r(h.target)),h.type==="attributes"&&h.target.parentNode&&H.searchPseudoElements&&s([h.target],!0),h.type==="attributes"&&Js(h.target)&&~hg.indexOf(h.attributeName))if(h.attributeName==="class"&&tb(h.target)){var v=fa(xi(h.target)),w=v.prefix,m=v.iconName;h.target.setAttribute(Ei,w||d),m&&h.target.setAttribute(ki,m)}else rb(h.target)&&o(h.target)})}}),lt&&Gn.observe(u,{childList:!0,attributes:!0,characterData:!0,subtree:!0})}}function sb(){Gn&&Gn.disconnect()}function lb(e){var t=e.getAttribute("style"),r=[];return t&&(r=t.split(";").reduce(function(n,o){var i=o.split(":"),s=i[0],c=i.slice(1);return s&&c.length>0&&(n[s]=c.join(":").trim()),n},{})),r}function cb(e){var t=e.getAttribute("data-prefix"),r=e.getAttribute("data-icon"),n=e.innerText!==void 0?e.innerText.trim():"",o=fa(xi(e));return o.prefix||(o.prefix=mt()),t&&r&&(o.prefix=t,o.iconName=r),o.iconName&&o.prefix||(o.prefix&&n.length>0&&(o.iconName=Bg(o.prefix,e.innerText)||$i(o.prefix,au(e.innerText))),!o.iconName&&H.autoFetchSvg&&e.firstChild&&e.firstChild.nodeType===Node.TEXT_NODE&&(o.iconName=e.firstChild.data)),o}function ub(e){var t=lr(e.attributes).reduce(function(r,n){return r.name!=="class"&&r.name!=="style"&&(r[n.name]=n.value),r},{});return t}function fb(){return{iconName:null,prefix:null,transform:Qe,symbol:!1,mask:{iconName:null,prefix:null,rest:[]},maskId:null,extra:{classes:[],styles:{},attributes:{}}}}function Zs(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{styleParser:!0},r=cb(e),n=r.iconName,o=r.prefix,i=r.rest,s=ub(e),c=ei("parseNodeAttributes",{},e),u=t.styleParser?lb(e):[];return P({iconName:n,prefix:o,transform:Qe,mask:{iconName:null,prefix:null,rest:[]},maskId:null,symbol:!1,extra:{classes:i,styles:u,attributes:s}},c)}var db=Ve.styles;function bu(e){var t=H.autoReplaceSvg==="nest"?Zs(e,{styleParser:!1}):Zs(e);return~t.extra.classes.indexOf(Qc)?ht("generateLayersText",e,t):ht("generateSvgReplacementMutation",e,t)}function pb(){return[].concat(Ue(Hc),Ue(Wc))}function el(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;if(!lt)return Promise.resolve();var r=oe.documentElement.classList,n=function(h){return r.add("".concat(js,"-").concat(h))},o=function(h){return r.remove("".concat(js,"-").concat(h))},i=H.autoFetchSvg?pb():Oc.concat(Object.keys(db));i.includes("fa")||i.push("fa");var s=[".".concat(Qc,":not([").concat(Pt,"])")].concat(i.map(function(d){return".".concat(d,":not([").concat(Pt,"])")})).join(", ");if(s.length===0)return Promise.resolve();var c=[];try{c=lr(e.querySelectorAll(s))}catch{}if(c.length>0)n("pending"),o("complete");else return Promise.resolve();var u=Ti.begin("onTree"),f=c.reduce(function(d,h){try{var v=bu(h);v&&d.push(v)}catch(w){Jc||w.name==="MissingIcon"&&console.error(w)}return d},[]);return new Promise(function(d,h){Promise.all(f).then(function(v){vu(v,function(){n("active"),n("complete"),o("pending"),typeof t=="function"&&t(),u(),d()})}).catch(function(v){u(),h(v)})})}function mb(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;bu(e).then(function(r){r&&vu([r],t)})}function hb(e){return function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=(t||{}).icon?t:ti(t||{}),o=r.mask;return o&&(o=(o||{}).icon?o:ti(o||{})),e(n,P(P({},r),{},{mask:o}))}}var yb=function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=r.transform,o=n===void 0?Qe:n,i=r.symbol,s=i===void 0?!1:i,c=r.mask,u=c===void 0?null:c,f=r.maskId,d=f===void 0?null:f,h=r.classes,v=h===void 0?[]:h,w=r.attributes,m=w===void 0?{}:w,y=r.styles,b=y===void 0?{}:y;if(t){var S=t.prefix,k=t.iconName,O=t.icon;return da(P({type:"icon"},t),function(){return Bt("beforeDOMElementCreation",{iconDefinition:t,params:r}),Ci({icons:{main:ri(O),mask:u?ri(u.icon):{found:!1,width:null,height:null,icon:{}}},prefix:S,iconName:k,transform:P(P({},Qe),o),symbol:s,maskId:d,extra:{attributes:m,styles:b,classes:v}})})}},vb={mixout:function(){return{icon:hb(yb)}},hooks:function(){return{mutationObserverCallbacks:function(r){return r.treeCallback=el,r.nodeCallback=mb,r}}},provides:function(t){t.i2svg=function(r){var n=r.node,o=n===void 0?oe:n,i=r.callback,s=i===void 0?function(){}:i;return el(o,s)},t.generateSvgReplacementMutation=function(r,n){var o=n.iconName,i=n.prefix,s=n.transform,c=n.symbol,u=n.mask,f=n.maskId,d=n.extra;return new Promise(function(h,v){Promise.all([ni(o,i),u.iconName?ni(u.iconName,u.prefix):Promise.resolve({found:!1,width:512,height:512,icon:{}})]).then(function(w){var m=la(w,2),y=m[0],b=m[1];h([r,Ci({icons:{main:y,mask:b},prefix:i,iconName:o,transform:s,symbol:c,maskId:f,extra:d,watchable:!0})])}).catch(v)})},t.generateAbstractIcon=function(r){var n=r.children,o=r.attributes,i=r.main,s=r.transform,c=r.styles,u=ca(c);u.length>0&&(o.style=u);var f;return Oi(s)&&(f=ht("generateAbstractTransformGrouping",{main:i,transform:s,containerWidth:i.width,iconWidth:i.width})),n.push(f||i.icon),{children:n,attributes:o}}}},gb={mixout:function(){return{layer:function(r){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},o=n.classes,i=o===void 0?[]:o;return da({type:"layer"},function(){Bt("beforeDOMElementCreation",{assembler:r,params:n});var s=[];return r(function(c){Array.isArray(c)?c.map(function(u){s=s.concat(u.abstract)}):s=s.concat(c.abstract)}),[{tag:"span",attributes:{class:["".concat(H.cssPrefix,"-layers")].concat(Ue(i)).join(" ")},children:s}]})}}}},bb={mixout:function(){return{counter:function(r){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};n.title;var o=n.classes,i=o===void 0?[]:o,s=n.attributes,c=s===void 0?{}:s,u=n.styles,f=u===void 0?{}:u;return da({type:"counter",content:r},function(){return Bt("beforeDOMElementCreation",{content:r,params:n}),Xg({content:r.toString(),extra:{attributes:c,styles:f,classes:["".concat(H.cssPrefix,"-layers-counter")].concat(Ue(i))}})})}}}},Sb={mixout:function(){return{text:function(r){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},o=n.transform,i=o===void 0?Qe:o,s=n.classes,c=s===void 0?[]:s,u=n.attributes,f=u===void 0?{}:u,d=n.styles,h=d===void 0?{}:d;return da({type:"text",content:r},function(){return Bt("beforeDOMElementCreation",{content:r,params:n}),Gs({content:r,transform:P(P({},Qe),i),extra:{attributes:f,styles:h,classes:["".concat(H.cssPrefix,"-layers-text")].concat(Ue(c))}})})}}},provides:function(t){t.generateLayersText=function(r,n){var o=n.transform,i=n.extra,s=null,c=null;if(Ac){var u=parseInt(getComputedStyle(r).fontSize,10),f=r.getBoundingClientRect();s=f.width/u,c=f.height/u}return Promise.resolve([r,Gs({content:r.innerHTML,width:s,height:c,transform:o,extra:i,watchable:!0})])}}},Su=new RegExp('"',"ug"),tl=[1105920,1112319],rl=P(P(P(P({},{FontAwesome:{normal:"fas",400:"fas"}}),rv),sg),fv),ii=Object.keys(rl).reduce(function(e,t){return e[t.toLowerCase()]=rl[t],e},{}),wb=Object.keys(ii).reduce(function(e,t){var r=ii[t];return e[t]=r[900]||Ue(Object.entries(r))[0][1],e},{});function Eb(e){var t=e.replace(Su,"");return au(Ue(t)[0]||"")}function kb(e){var t=e.getPropertyValue("font-feature-settings").includes("ss01"),r=e.getPropertyValue("content"),n=r.replace(Su,""),o=n.codePointAt(0),i=o>=tl[0]&&o<=tl[1],s=n.length===2?n[0]===n[1]:!1;return i||s||t}function Ab(e,t){var r=e.replace(/^['"]|['"]$/g,"").toLowerCase(),n=parseInt(t),o=isNaN(n)?"normal":n;return(ii[r]||{})[o]||wb[r]}function nl(e,t){var r="".concat(lg).concat(t.replace(":","-"));return new Promise(function(n,o){if(e.getAttribute(r)!==null)return n();var i=lr(e.children),s=i.filter(function(I){return I.getAttribute(Ko)===t})[0],c=pt.getComputedStyle(e,t),u=c.getPropertyValue("font-family"),f=u.match(pg),d=c.getPropertyValue("font-weight"),h=c.getPropertyValue("content");if(s&&!f)return e.removeChild(s),n();if(f&&h!=="none"&&h!==""){var v=c.getPropertyValue("content"),w=Ab(u,d),m=Eb(v),y=f[0].startsWith("FontAwesome"),b=kb(c),S=$i(w,m),k=S;if(y){var O=Ig(m);O.iconName&&O.prefix&&(S=O.iconName,w=O.prefix)}if(S&&!b&&(!s||s.getAttribute(Ei)!==w||s.getAttribute(ki)!==k)){e.setAttribute(r,k),s&&e.removeChild(s);var M=fb(),R=M.extra;R.attributes[Ko]=t,ni(S,w).then(function(I){var j=Ci(P(P({},M),{},{icons:{main:I,mask:pu()},prefix:w,iconName:k,extra:R,watchable:!0})),W=oe.createElementNS("http://www.w3.org/2000/svg","svg");t==="::before"?e.insertBefore(W,e.firstChild):e.appendChild(W),W.outerHTML=j.map(function(D){return Qr(D)}).join(`
573
- `),e.removeAttribute(r),n()}).catch(o)}else n()}else n()})}function xb(e){return Promise.all([nl(e,"::before"),nl(e,"::after")])}function Ob(e){return e.parentNode!==document.head&&!~ug.indexOf(e.tagName.toUpperCase())&&!e.getAttribute(Ko)&&(!e.parentNode||e.parentNode.tagName!=="svg")}var _b=function(t){return!!t&&Kc.some(function(r){return t.includes(r)})},$b=function(t){if(!t)return[];var r=new Set,n=t.split(/,(?![^()]*\))/).map(function(u){return u.trim()});n=n.flatMap(function(u){return u.includes("(")?u:u.split(",").map(function(f){return f.trim()})});var o=Fn(n),i;try{for(o.s();!(i=o.n()).done;){var s=i.value;if(_b(s)){var c=Kc.reduce(function(u,f){return u.replace(f,"")},s);c!==""&&c!=="*"&&r.add(c)}}}catch(u){o.e(u)}finally{o.f()}return r};function al(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;if(lt){var r;if(t)r=e;else if(H.searchPseudoElementsFullScan)r=e.querySelectorAll("*");else{var n=new Set,o=Fn(document.styleSheets),i;try{for(o.s();!(i=o.n()).done;){var s=i.value;try{var c=Fn(s.cssRules),u;try{for(c.s();!(u=c.n()).done;){var f=u.value,d=$b(f.selectorText),h=Fn(d),v;try{for(h.s();!(v=h.n()).done;){var w=v.value;n.add(w)}}catch(y){h.e(y)}finally{h.f()}}}catch(y){c.e(y)}finally{c.f()}}catch(y){H.searchPseudoElementsWarnings&&console.warn("Font Awesome: cannot parse stylesheet: ".concat(s.href," (").concat(y.message,`)
574
- If it declares any Font Awesome CSS pseudo-elements, they will not be rendered as SVG icons. Add crossorigin="anonymous" to the <link>, enable searchPseudoElementsFullScan for slower but more thorough DOM parsing, or suppress this warning by setting searchPseudoElementsWarnings to false.`))}}}catch(y){o.e(y)}finally{o.f()}if(!n.size)return;var m=Array.from(n).join(", ");try{r=e.querySelectorAll(m)}catch{}}return new Promise(function(y,b){var S=lr(r).filter(Ob).map(xb),k=Ti.begin("searchPseudoElements");gu(),Promise.all(S).then(function(){k(),oi(),y()}).catch(function(){k(),oi(),b()})})}}var Cb={hooks:function(){return{mutationObserverCallbacks:function(r){return r.pseudoElementsCallback=al,r}}},provides:function(t){t.pseudoElements2svg=function(r){var n=r.node,o=n===void 0?oe:n;H.searchPseudoElements&&al(o)}}},ol=!1,Tb={mixout:function(){return{dom:{unwatch:function(){gu(),ol=!0}}}},hooks:function(){return{bootstrap:function(){Qs(ei("mutationObserverCallbacks",{}))},noAuto:function(){sb()},watch:function(r){var n=r.observeMutationsRoot;ol?oi():Qs(ei("mutationObserverCallbacks",{observeMutationsRoot:n}))}}}},il=function(t){var r={size:16,x:0,y:0,flipX:!1,flipY:!1,rotate:0};return t.toLowerCase().split(" ").reduce(function(n,o){var i=o.toLowerCase().split("-"),s=i[0],c=i.slice(1).join("-");if(s&&c==="h")return n.flipX=!0,n;if(s&&c==="v")return n.flipY=!0,n;if(c=parseFloat(c),isNaN(c))return n;switch(s){case"grow":n.size=n.size+c;break;case"shrink":n.size=n.size-c;break;case"left":n.x=n.x-c;break;case"right":n.x=n.x+c;break;case"up":n.y=n.y-c;break;case"down":n.y=n.y+c;break;case"rotate":n.rotate=n.rotate+c;break}return n},r)},Nb={mixout:function(){return{parse:{transform:function(r){return il(r)}}}},hooks:function(){return{parseNodeAttributes:function(r,n){var o=n.getAttribute("data-fa-transform");return o&&(r.transform=il(o)),r}}},provides:function(t){t.generateAbstractTransformGrouping=function(r){var n=r.main,o=r.transform,i=r.containerWidth,s=r.iconWidth,c={transform:"translate(".concat(i/2," 256)")},u="translate(".concat(o.x*32,", ").concat(o.y*32,") "),f="scale(".concat(o.size/16*(o.flipX?-1:1),", ").concat(o.size/16*(o.flipY?-1:1),") "),d="rotate(".concat(o.rotate," 0 0)"),h={transform:"".concat(u," ").concat(f," ").concat(d)},v={transform:"translate(".concat(s/2*-1," -256)")},w={outer:c,inner:h,path:v};return{tag:"g",attributes:P({},w.outer),children:[{tag:"g",attributes:P({},w.inner),children:[{tag:n.icon.tag,children:n.icon.children,attributes:P(P({},n.icon.attributes),w.path)}]}]}}}},Po={x:0,y:0,width:"100%",height:"100%"};function sl(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;return e.attributes&&(e.attributes.fill||t)&&(e.attributes.fill="black"),e}function Pb(e){return e.tag==="g"?e.children:[e]}var Bb={hooks:function(){return{parseNodeAttributes:function(r,n){var o=n.getAttribute("data-fa-mask"),i=o?fa(o.split(" ").map(function(s){return s.trim()})):pu();return i.prefix||(i.prefix=mt()),r.mask=i,r.maskId=n.getAttribute("data-fa-mask-id"),r}}},provides:function(t){t.generateAbstractMask=function(r){var n=r.children,o=r.attributes,i=r.main,s=r.mask,c=r.maskId,u=r.transform,f=i.width,d=i.icon,h=s.width,v=s.icon,w=Ag({transform:u,containerWidth:h,iconWidth:f}),m={tag:"rect",attributes:P(P({},Po),{},{fill:"white"})},y=d.children?{children:d.children.map(sl)}:{},b={tag:"g",attributes:P({},w.inner),children:[sl(P({tag:d.tag,attributes:P(P({},d.attributes),w.path)},y))]},S={tag:"g",attributes:P({},w.outer),children:[b]},k="mask-".concat(c||Vs()),O="clip-".concat(c||Vs()),M={tag:"mask",attributes:P(P({},Po),{},{id:k,maskUnits:"userSpaceOnUse",maskContentUnits:"userSpaceOnUse"}),children:[m,S]},R={tag:"defs",children:[{tag:"clipPath",attributes:{id:O},children:Pb(v)},M]};return n.push(R,{tag:"rect",attributes:P({fill:"currentColor","clip-path":"url(#".concat(O,")"),mask:"url(#".concat(k,")")},Po)}),{children:n,attributes:o}}}},Ib={provides:function(t){var r=!1;pt.matchMedia&&(r=pt.matchMedia("(prefers-reduced-motion: reduce)").matches),t.missingIconAbstract=function(){var n=[],o={fill:"currentColor"},i={attributeType:"XML",repeatCount:"indefinite",dur:"2s"};n.push({tag:"path",attributes:P(P({},o),{},{d:"M156.5,447.7l-12.6,29.5c-18.7-9.5-35.9-21.2-51.5-34.9l22.7-22.7C127.6,430.5,141.5,440,156.5,447.7z M40.6,272H8.5 c1.4,21.2,5.4,41.7,11.7,61.1L50,321.2C45.1,305.5,41.8,289,40.6,272z M40.6,240c1.4-18.8,5.2-37,11.1-54.1l-29.5-12.6 C14.7,194.3,10,216.7,8.5,240H40.6z M64.3,156.5c7.8-14.9,17.2-28.8,28.1-41.5L69.7,92.3c-13.7,15.6-25.5,32.8-34.9,51.5 L64.3,156.5z M397,419.6c-13.9,12-29.4,22.3-46.1,30.4l11.9,29.8c20.7-9.9,39.8-22.6,56.9-37.6L397,419.6z M115,92.4 c13.9-12,29.4-22.3,46.1-30.4l-11.9-29.8c-20.7,9.9-39.8,22.6-56.8,37.6L115,92.4z M447.7,355.5c-7.8,14.9-17.2,28.8-28.1,41.5 l22.7,22.7c13.7-15.6,25.5-32.9,34.9-51.5L447.7,355.5z M471.4,272c-1.4,18.8-5.2,37-11.1,54.1l29.5,12.6 c7.5-21.1,12.2-43.5,13.6-66.8H471.4z M321.2,462c-15.7,5-32.2,8.2-49.2,9.4v32.1c21.2-1.4,41.7-5.4,61.1-11.7L321.2,462z M240,471.4c-18.8-1.4-37-5.2-54.1-11.1l-12.6,29.5c21.1,7.5,43.5,12.2,66.8,13.6V471.4z M462,190.8c5,15.7,8.2,32.2,9.4,49.2h32.1 c-1.4-21.2-5.4-41.7-11.7-61.1L462,190.8z M92.4,397c-12-13.9-22.3-29.4-30.4-46.1l-29.8,11.9c9.9,20.7,22.6,39.8,37.6,56.9 L92.4,397z M272,40.6c18.8,1.4,36.9,5.2,54.1,11.1l12.6-29.5C317.7,14.7,295.3,10,272,8.5V40.6z M190.8,50 c15.7-5,32.2-8.2,49.2-9.4V8.5c-21.2,1.4-41.7,5.4-61.1,11.7L190.8,50z M442.3,92.3L419.6,115c12,13.9,22.3,29.4,30.5,46.1 l29.8-11.9C470,128.5,457.3,109.4,442.3,92.3z M397,92.4l22.7-22.7c-15.6-13.7-32.8-25.5-51.5-34.9l-12.6,29.5 C370.4,72.1,384.4,81.5,397,92.4z"})});var s=P(P({},i),{},{attributeName:"opacity"}),c={tag:"circle",attributes:P(P({},o),{},{cx:"256",cy:"364",r:"28"}),children:[]};return r||c.children.push({tag:"animate",attributes:P(P({},i),{},{attributeName:"r",values:"28;14;28;28;14;28;"})},{tag:"animate",attributes:P(P({},s),{},{values:"1;0;1;1;0;1;"})}),n.push(c),n.push({tag:"path",attributes:P(P({},o),{},{opacity:"1",d:"M263.7,312h-16c-6.6,0-12-5.4-12-12c0-71,77.4-63.9,77.4-107.8c0-20-17.8-40.2-57.4-40.2c-29.1,0-44.3,9.6-59.2,28.7 c-3.9,5-11.1,6-16.2,2.4l-13.1-9.2c-5.6-3.9-6.9-11.8-2.6-17.2c21.2-27.2,46.4-44.7,91.2-44.7c52.3,0,97.4,29.8,97.4,80.2 c0,67.6-77.4,63.5-77.4,107.8C275.7,306.6,270.3,312,263.7,312z"}),children:r?[]:[{tag:"animate",attributes:P(P({},s),{},{values:"1;0;0;0;0;1;"})}]}),r||n.push({tag:"path",attributes:P(P({},o),{},{opacity:"0",d:"M232.5,134.5l7,168c0.3,6.4,5.6,11.5,12,11.5h9c6.4,0,11.7-5.1,12-11.5l7-168c0.3-6.8-5.2-12.5-12-12.5h-23 C237.7,122,232.2,127.7,232.5,134.5z"}),children:[{tag:"animate",attributes:P(P({},s),{},{values:"0;0;1;1;0;0;"})}]}),{tag:"g",attributes:{class:"missing"},children:n}}}},Mb={hooks:function(){return{parseNodeAttributes:function(r,n){var o=n.getAttribute("data-fa-symbol"),i=o===null?!1:o===""?!0:o;return r.symbol=i,r}}}},Fb=[_g,vb,gb,bb,Sb,Cb,Tb,Nb,Bb,Ib,Mb];zg(Fb,{mixoutsTo:Pe});Pe.noAuto;var wu=Pe.config;Pe.library;Pe.dom;var Kn=Pe.parse;Pe.findIconDefinition;Pe.toHtml;var Rb=Pe.icon;Pe.layer;var Db=Pe.text;Pe.counter;function si(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function jb(e){if(Array.isArray(e))return si(e)}function Ee(e,t,r){return(t=Wb(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Lb(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function Vb(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
575
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function ll(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),r.push.apply(r,n)}return r}function Le(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?ll(Object(r),!0).forEach(function(n){Ee(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):ll(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function Ub(e,t){if(e==null)return{};var r,n,o=zb(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)===-1&&{}.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}function zb(e,t){if(e==null)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(t.indexOf(n)!==-1)continue;r[n]=e[n]}return r}function li(e){return jb(e)||Lb(e)||qb(e)||Vb()}function Hb(e,t){if(typeof e!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t);if(typeof n!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function Wb(e){var t=Hb(e,"string");return typeof t=="symbol"?t:t+""}function Jn(e){"@babel/helpers - typeof";return Jn=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Jn(e)}function qb(e,t){if(e){if(typeof e=="string")return si(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)?si(e,t):void 0}}function Dr(e,t){return Array.isArray(t)&&t.length>0||!Array.isArray(t)&&t?Ee({},e,t):{}}function Yb(e){var t,r=(t={"fa-spin":e.spin,"fa-pulse":e.pulse,"fa-fw":e.fixedWidth,"fa-border":e.border,"fa-li":e.listItem,"fa-inverse":e.inverse,"fa-flip":e.flip===!0,"fa-flip-horizontal":e.flip==="horizontal"||e.flip==="both","fa-flip-vertical":e.flip==="vertical"||e.flip==="both"},Ee(Ee(Ee(Ee(Ee(Ee(Ee(Ee(Ee(Ee(t,"fa-".concat(e.size),e.size!==null),"fa-rotate-".concat(e.rotation),e.rotation!==null),"fa-rotate-by",e.rotateBy),"fa-pull-".concat(e.pull),e.pull!==null),"fa-swap-opacity",e.swapOpacity),"fa-bounce",e.bounce),"fa-shake",e.shake),"fa-beat",e.beat),"fa-fade",e.fade),"fa-beat-fade",e.beatFade),Ee(Ee(Ee(Ee(t,"fa-flash",e.flash),"fa-spin-pulse",e.spinPulse),"fa-spin-reverse",e.spinReverse),"fa-width-auto",e.widthAuto));return Object.keys(r).map(function(n){return r[n]?n:null}).filter(function(n){return n})}var Gb=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{},Eu={exports:{}};(function(e){(function(t){var r=function(S,k,O){if(!f(k)||h(k)||v(k)||w(k)||u(k))return k;var M,R=0,I=0;if(d(k))for(M=[],I=k.length;R<I;R++)M.push(r(S,k[R],O));else{M={};for(var j in k)Object.prototype.hasOwnProperty.call(k,j)&&(M[S(j,O)]=r(S,k[j],O))}return M},n=function(S,k){k=k||{};var O=k.separator||"_",M=k.split||/(?=[A-Z])/;return S.split(M).join(O)},o=function(S){return m(S)?S:(S=S.replace(/[\-_\s]+(.)?/g,function(k,O){return O?O.toUpperCase():""}),S.substr(0,1).toLowerCase()+S.substr(1))},i=function(S){var k=o(S);return k.substr(0,1).toUpperCase()+k.substr(1)},s=function(S,k){return n(S,k).toLowerCase()},c=Object.prototype.toString,u=function(S){return typeof S=="function"},f=function(S){return S===Object(S)},d=function(S){return c.call(S)=="[object Array]"},h=function(S){return c.call(S)=="[object Date]"},v=function(S){return c.call(S)=="[object RegExp]"},w=function(S){return c.call(S)=="[object Boolean]"},m=function(S){return S=S-0,S===S},y=function(S,k){var O=k&&"process"in k?k.process:k;return typeof O!="function"?S:function(M,R){return O(M,S,R)}},b={camelize:o,decamelize:s,pascalize:i,depascalize:s,camelizeKeys:function(S,k){return r(y(o,k),S)},decamelizeKeys:function(S,k){return r(y(s,k),S,k)},pascalizeKeys:function(S,k){return r(y(i,k),S)},depascalizeKeys:function(){return this.decamelizeKeys.apply(this,arguments)}};e.exports?e.exports=b:t.humps=b})(Gb)})(Eu);var Kb=Eu.exports,Jb=["class","style"];function Xb(e){return e.split(";").map(function(t){return t.trim()}).filter(function(t){return t}).reduce(function(t,r){var n=r.indexOf(":"),o=Kb.camelize(r.slice(0,n)),i=r.slice(n+1).trim();return t[o]=i,t},{})}function Qb(e){return e.split(/\s+/).reduce(function(t,r){return t[r]=!0,t},{})}function Pi(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};if(typeof e=="string")return e;var n=(e.children||[]).map(function(u){return Pi(u)}),o=Object.keys(e.attributes||{}).reduce(function(u,f){var d=e.attributes[f];switch(f){case"class":u.class=Qb(d);break;case"style":u.style=Xb(d);break;default:u.attrs[f]=d}return u},{attrs:{},class:{},style:{}});r.class;var i=r.style,s=i===void 0?{}:i,c=Ub(r,Jb);return a.h(e.tag,Le(Le(Le({},t),{},{class:o.class,style:Le(Le({},o.style),s)},o.attrs),c),n)}var ku=!1;try{ku=process.env.NODE_ENV==="production"}catch{}function Zb(){if(!ku&&console&&typeof console.error=="function"){var e;(e=console).error.apply(e,arguments)}}function cl(e){if(e&&Jn(e)==="object"&&e.prefix&&e.iconName&&e.icon)return e;if(Kn.icon)return Kn.icon(e);if(e===null)return null;if(Jn(e)==="object"&&e.prefix&&e.iconName)return e;if(Array.isArray(e)&&e.length===2)return{prefix:e[0],iconName:e[1]};if(typeof e=="string")return{prefix:"fas",iconName:e}}var ie=a.defineComponent({name:"FontAwesomeIcon",props:{border:{type:Boolean,default:!1},fixedWidth:{type:Boolean,default:!1},flip:{type:[Boolean,String],default:!1,validator:function(t){return[!0,!1,"horizontal","vertical","both"].indexOf(t)>-1}},icon:{type:[Object,Array,String],required:!0},mask:{type:[Object,Array,String],default:null},maskId:{type:String,default:null},listItem:{type:Boolean,default:!1},pull:{type:String,default:null,validator:function(t){return["right","left"].indexOf(t)>-1}},pulse:{type:Boolean,default:!1},rotation:{type:[String,Number],default:null,validator:function(t){return[90,180,270].indexOf(Number.parseInt(t,10))>-1}},rotateBy:{type:Boolean,default:!1},swapOpacity:{type:Boolean,default:!1},size:{type:String,default:null,validator:function(t){return["2xs","xs","sm","lg","xl","2xl","1x","2x","3x","4x","5x","6x","7x","8x","9x","10x"].indexOf(t)>-1}},spin:{type:Boolean,default:!1},transform:{type:[String,Object],default:null},symbol:{type:[Boolean,String],default:!1},title:{type:String,default:null},titleId:{type:String,default:null},inverse:{type:Boolean,default:!1},bounce:{type:Boolean,default:!1},shake:{type:Boolean,default:!1},beat:{type:Boolean,default:!1},fade:{type:Boolean,default:!1},beatFade:{type:Boolean,default:!1},flash:{type:Boolean,default:!1},spinPulse:{type:Boolean,default:!1},spinReverse:{type:Boolean,default:!1},widthAuto:{type:Boolean,default:!1}},setup:function(t,r){var n=r.attrs,o=a.computed(function(){return cl(t.icon)}),i=a.computed(function(){return Dr("classes",Yb(t))}),s=a.computed(function(){return Dr("transform",typeof t.transform=="string"?Kn.transform(t.transform):t.transform)}),c=a.computed(function(){return Dr("mask",cl(t.mask))}),u=a.computed(function(){var d=Le(Le(Le(Le({},i.value),s.value),c.value),{},{symbol:t.symbol,maskId:t.maskId});return d.title=t.title,d.titleId=t.titleId,Rb(o.value,d)});a.watch(u,function(d){if(!d)return Zb("Could not find one or more icon(s)",o.value,c.value)},{immediate:!0});var f=a.computed(function(){return u.value?Pi(u.value.abstract[0],{},n):null});return function(){return f.value}}});a.defineComponent({name:"FontAwesomeLayers",props:{fixedWidth:{type:Boolean,default:!1}},setup:function(t,r){var n=r.slots,o=wu.familyPrefix,i=a.computed(function(){return["".concat(o,"-layers")].concat(li(t.fixedWidth?["".concat(o,"-fw")]:[]))});return function(){return a.h("div",{class:i.value},n.default?n.default():[])}}});a.defineComponent({name:"FontAwesomeLayersText",props:{value:{type:[String,Number],default:""},transform:{type:[String,Object],default:null},counter:{type:Boolean,default:!1},position:{type:String,default:null,validator:function(t){return["bottom-left","bottom-right","top-left","top-right"].indexOf(t)>-1}}},setup:function(t,r){var n=r.attrs,o=wu.familyPrefix,i=a.computed(function(){return Dr("classes",[].concat(li(t.counter?["".concat(o,"-layers-counter")]:[]),li(t.position?["".concat(o,"-layers-").concat(t.position)]:[])))}),s=a.computed(function(){return Dr("transform",typeof t.transform=="string"?Kn.transform(t.transform):t.transform)}),c=a.computed(function(){var f=Db(t.value.toString(),Le(Le({},s.value),i.value)),d=f.abstract;return t.counter&&(d[0].attributes.class=d[0].attributes.class.replace("fa-layers-text","")),d[0]}),u=a.computed(function(){return Pi(c.value,{},n)});return function(){return u.value}}});const eS=["value","disabled"],tS={class:"s-checkbox-label"},Au={__name:"SCheckbox",props:a.mergeModels({value:[String,Number],disabled:Boolean},{modelValue:{},modelModifiers:{}}),emits:a.mergeModels(["change"],["update:modelValue"]),setup(e,{emit:t}){const r=e,n=a.useModel(e,"modelValue"),o=a.inject("groupValue",null),i=a.computed({get(){var u;return o!=null&&r.value!=null?(u=o.value.includes(r.value))!=null?u:!1:n.value},set(u){o&&r.value!=null&&(o.value.includes(r.value)?o.value.splice(o.value.indexOf(r.value),1):o.value.push(r.value)),n.value=u}}),s=t;function c(){r.disabled||(i.value=!i.value,s("change",i.value))}return(u,f)=>(a.openBlock(),a.createElementBlock("div",{class:a.normalizeClass(["s-checkbox",{disabled:e.disabled}]),onClick:c},[a.createElementVNode("div",{class:a.normalizeClass(["s-checkbox-box",{checked:i.value}])},[a.createElementVNode("input",{class:"s-checkbox-box-input",type:"checkbox",value:i.value,disabled:e.disabled},null,8,eS),a.createVNode(a.unref(ie),{icon:"check",class:"checked-icon"})],2),a.createElementVNode("div",tS,[a.renderSlot(u.$slots,"default")])],2))}},rS=["value"],nS={class:"s-radio-text"},Xn={__name:"SRadio",props:{value:{type:[Number,String,Boolean],required:!0},disabled:Boolean,labelClass:String},emits:["change"],setup(e,{emit:t}){const r=e,n=t,o=a.inject("sRadioGroupModel"),i=a.computed({get:()=>{const s=["",null,void 0];return s.includes(r.value)&&s.includes(o.value)?r.value:o.value},set:s=>{r.disabled||(o.value=s)}});return(s,c)=>(a.openBlock(),a.createElementBlock("label",{class:a.normalizeClass(["s-radio",[e.labelClass,{disabled:e.disabled}]])},[a.withDirectives(a.createElementVNode("input",{type:"radio",value:e.value,"onUpdate:modelValue":c[0]||(c[0]=u=>i.value=u),onChange:c[1]||(c[1]=u=>n("change",e.value))},null,40,rS),[[a.vModelRadio,i.value]]),a.createElementVNode("span",nS,[a.renderSlot(s.$slots,"default")])],2))}},aS={class:"s-radiogroup"},oS=["innerHTML"],xu={__name:"SRadioGroup",props:a.mergeModels({options:Object,buttons:Boolean,vertical:Boolean,placeholder:String},{modelValue:{},modelModifiers:{}}),emits:a.mergeModels(["change"],["update:modelValue"]),setup(e,{emit:t}){const r=e,n=t,o=a.useModel(e,"modelValue"),i=a.computed(()=>!r.options||Object.values(r.options)===0?{}:Object.entries(r.options).map(([s,c])=>{let u=s;return s==="true"&&(u=!0),s==="false"&&(u=!1),!isNaN(s)&&s!==""&&(u=Number(s)),{value:u,title:c}}));return a.onMounted(()=>{var s;o.value===null&&Object.values((s=r.options)!=null?s:{}).length&&(o.value=Object.keys(r.options)[0])}),a.provide("sRadioGroupModel",o),a.watch(o,s=>{n("change",s)}),(s,c)=>(a.openBlock(),a.createElementBlock("div",aS,[a.createElementVNode("div",{class:a.normalizeClass(["s-radiogroup-container",{buttons:e.buttons,vertical:e.vertical}])},[e.placeholder?(a.openBlock(),a.createBlock(Xn,{key:0,value:""},{default:a.withCtx(()=>[a.createTextVNode(a.toDisplayString(e.placeholder),1)]),_:1})):a.createCommentVNode("",!0),Object.values(s.$slots).length?a.renderSlot(s.$slots,"default",{key:1}):a.createCommentVNode("",!0),(a.openBlock(!0),a.createElementBlock(a.Fragment,null,a.renderList(i.value,({value:u,title:f})=>(a.openBlock(),a.createBlock(Xn,{key:u,value:u},{default:a.withCtx(()=>[a.createElementVNode("span",{innerHTML:f},null,8,oS)]),_:2},1032,["value"]))),128))],2)]))}},iS={class:"s-switch-control",id:"s-switch"},sS={class:"s-switch-label"},Ou={__name:"SSwitch",props:a.mergeModels({disabled:Boolean,trueValue:{type:[Boolean,String,Number],default:!0},falseValue:{type:[Boolean,String,Number],default:!1}},{modelValue:{},modelModifiers:{}}),emits:["update:modelValue"],setup(e){const t=e,r=a.useModel(e,"modelValue");a.onMounted(()=>{r.value=r.value===t.trueValue?t.trueValue:t.falseValue});function n(){t.disabled||(r.value=r.value===t.trueValue?t.falseValue:t.trueValue)}return(o,i)=>(a.openBlock(),a.createElementBlock("div",{class:a.normalizeClass(["s-switch",{active:r.value===e.trueValue,disabled:e.disabled}]),onClick:n},[a.createElementVNode("div",iS,[i[1]||(i[1]=a.createElementVNode("div",{class:"s-switch-control-activearea"},[a.createElementVNode("div",{class:"s-switch-control-activearea-button"})],-1)),a.withDirectives(a.createElementVNode("input",{type:"checkbox","onUpdate:modelValue":i[0]||(i[0]=s=>r.value=s)},null,512),[[a.vModelCheckbox,r.value]])]),a.createElementVNode("label",sS,[a.renderSlot(o.$slots,"default")])],2))}};var _u={exports:{}};(function(e,t){(function(r,n){e.exports=n()})(Ae,function(){var r=1e3,n=6e4,o=36e5,i="millisecond",s="second",c="minute",u="hour",f="day",d="week",h="month",v="quarter",w="year",m="date",y="Invalid Date",b=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,S=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,k={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(B){var T=["th","st","nd","rd"],x=B%100;return"["+B+(T[(x-20)%10]||T[x]||T[0])+"]"}},O=function(B,T,x){var V=String(B);return!V||V.length>=T?B:""+Array(T+1-V.length).join(x)+B},M={s:O,z:function(B){var T=-B.utcOffset(),x=Math.abs(T),V=Math.floor(x/60),N=x%60;return(T<=0?"+":"-")+O(V,2,"0")+":"+O(N,2,"0")},m:function B(T,x){if(T.date()<x.date())return-B(x,T);var V=12*(x.year()-T.year())+(x.month()-T.month()),N=T.clone().add(V,h),U=x-N<0,F=T.clone().add(V+(U?-1:1),h);return+(-(V+(x-N)/(U?N-F:F-N))||0)},a:function(B){return B<0?Math.ceil(B)||0:Math.floor(B)},p:function(B){return{M:h,y:w,w:d,d:f,D:m,h:u,m:c,s,ms:i,Q:v}[B]||String(B||"").toLowerCase().replace(/s$/,"")},u:function(B){return B===void 0}},R="en",I={};I[R]=k;var j="$isDayjsObject",W=function(B){return B instanceof L||!(!B||!B[j])},D=function B(T,x,V){var N;if(!T)return R;if(typeof T=="string"){var U=T.toLowerCase();I[U]&&(N=U),x&&(I[U]=x,N=U);var F=T.split("-");if(!N&&F.length>1)return B(F[0])}else{var X=T.name;I[X]=T,N=X}return!V&&N&&(R=N),N||!V&&R},_=function(B,T){if(W(B))return B.clone();var x=typeof T=="object"?T:{};return x.date=B,x.args=arguments,new L(x)},$=M;$.l=D,$.i=W,$.w=function(B,T){return _(B,{locale:T.$L,utc:T.$u,x:T.$x,$offset:T.$offset})};var L=function(){function B(x){this.$L=D(x.locale,null,!0),this.parse(x),this.$x=this.$x||x.x||{},this[j]=!0}var T=B.prototype;return T.parse=function(x){this.$d=function(V){var N=V.date,U=V.utc;if(N===null)return new Date(NaN);if($.u(N))return new Date;if(N instanceof Date)return new Date(N);if(typeof N=="string"&&!/Z$/i.test(N)){var F=N.match(b);if(F){var X=F[2]-1||0,te=(F[7]||"0").substring(0,3);return U?new Date(Date.UTC(F[1],X,F[3]||1,F[4]||0,F[5]||0,F[6]||0,te)):new Date(F[1],X,F[3]||1,F[4]||0,F[5]||0,F[6]||0,te)}}return new Date(N)}(x),this.init()},T.init=function(){var x=this.$d;this.$y=x.getFullYear(),this.$M=x.getMonth(),this.$D=x.getDate(),this.$W=x.getDay(),this.$H=x.getHours(),this.$m=x.getMinutes(),this.$s=x.getSeconds(),this.$ms=x.getMilliseconds()},T.$utils=function(){return $},T.isValid=function(){return this.$d.toString()!==y},T.isSame=function(x,V){var N=_(x);return this.startOf(V)<=N&&N<=this.endOf(V)},T.isAfter=function(x,V){return _(x)<this.startOf(V)},T.isBefore=function(x,V){return this.endOf(V)<_(x)},T.$g=function(x,V,N){return $.u(x)?this[V]:this.set(N,x)},T.unix=function(){return Math.floor(this.valueOf()/1e3)},T.valueOf=function(){return this.$d.getTime()},T.startOf=function(x,V){var N=this,U=!!$.u(V)||V,F=$.p(x),X=function(Be,fe){var Oe=$.w(N.$u?Date.UTC(N.$y,fe,Be):new Date(N.$y,fe,Be),N);return U?Oe:Oe.endOf(f)},te=function(Be,fe){return $.w(N.toDate()[Be].apply(N.toDate("s"),(U?[0,0,0,0]:[23,59,59,999]).slice(fe)),N)},Z=this.$W,ae=this.$M,q=this.$D,Me="set"+(this.$u?"UTC":"");switch(F){case w:return U?X(1,0):X(31,11);case h:return U?X(1,ae):X(0,ae+1);case d:var Fe=this.$locale().weekStart||0,he=(Z<Fe?Z+7:Z)-Fe;return X(U?q-he:q+(6-he),ae);case f:case m:return te(Me+"Hours",0);case u:return te(Me+"Minutes",1);case c:return te(Me+"Seconds",2);case s:return te(Me+"Milliseconds",3);default:return this.clone()}},T.endOf=function(x){return this.startOf(x,!1)},T.$set=function(x,V){var N,U=$.p(x),F="set"+(this.$u?"UTC":""),X=(N={},N[f]=F+"Date",N[m]=F+"Date",N[h]=F+"Month",N[w]=F+"FullYear",N[u]=F+"Hours",N[c]=F+"Minutes",N[s]=F+"Seconds",N[i]=F+"Milliseconds",N)[U],te=U===f?this.$D+(V-this.$W):V;if(U===h||U===w){var Z=this.clone().set(m,1);Z.$d[X](te),Z.init(),this.$d=Z.set(m,Math.min(this.$D,Z.daysInMonth())).$d}else X&&this.$d[X](te);return this.init(),this},T.set=function(x,V){return this.clone().$set(x,V)},T.get=function(x){return this[$.p(x)]()},T.add=function(x,V){var N,U=this;x=Number(x);var F=$.p(V),X=function(ae){var q=_(U);return $.w(q.date(q.date()+Math.round(ae*x)),U)};if(F===h)return this.set(h,this.$M+x);if(F===w)return this.set(w,this.$y+x);if(F===f)return X(1);if(F===d)return X(7);var te=(N={},N[c]=n,N[u]=o,N[s]=r,N)[F]||1,Z=this.$d.getTime()+x*te;return $.w(Z,this)},T.subtract=function(x,V){return this.add(-1*x,V)},T.format=function(x){var V=this,N=this.$locale();if(!this.isValid())return N.invalidDate||y;var U=x||"YYYY-MM-DDTHH:mm:ssZ",F=$.z(this),X=this.$H,te=this.$m,Z=this.$M,ae=N.weekdays,q=N.months,Me=N.meridiem,Fe=function(fe,Oe,Re,Ze){return fe&&(fe[Oe]||fe(V,U))||Re[Oe].slice(0,Ze)},he=function(fe){return $.s(X%12||12,fe,"0")},Be=Me||function(fe,Oe,Re){var Ze=fe<12?"AM":"PM";return Re?Ze.toLowerCase():Ze};return U.replace(S,function(fe,Oe){return Oe||function(Re){switch(Re){case"YY":return String(V.$y).slice(-2);case"YYYY":return $.s(V.$y,4,"0");case"M":return Z+1;case"MM":return $.s(Z+1,2,"0");case"MMM":return Fe(N.monthsShort,Z,q,3);case"MMMM":return Fe(q,Z);case"D":return V.$D;case"DD":return $.s(V.$D,2,"0");case"d":return String(V.$W);case"dd":return Fe(N.weekdaysMin,V.$W,ae,2);case"ddd":return Fe(N.weekdaysShort,V.$W,ae,3);case"dddd":return ae[V.$W];case"H":return String(X);case"HH":return $.s(X,2,"0");case"h":return he(1);case"hh":return he(2);case"a":return Be(X,te,!0);case"A":return Be(X,te,!1);case"m":return String(te);case"mm":return $.s(te,2,"0");case"s":return String(V.$s);case"ss":return $.s(V.$s,2,"0");case"SSS":return $.s(V.$ms,3,"0");case"Z":return F}return null}(fe)||F.replace(":","")})},T.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},T.diff=function(x,V,N){var U,F=this,X=$.p(V),te=_(x),Z=(te.utcOffset()-this.utcOffset())*n,ae=this-te,q=function(){return $.m(F,te)};switch(X){case w:U=q()/12;break;case h:U=q();break;case v:U=q()/3;break;case d:U=(ae-Z)/6048e5;break;case f:U=(ae-Z)/864e5;break;case u:U=ae/o;break;case c:U=ae/n;break;case s:U=ae/r;break;default:U=ae}return N?U:$.a(U)},T.daysInMonth=function(){return this.endOf(h).$D},T.$locale=function(){return I[this.$L]},T.locale=function(x,V){if(!x)return this.$L;var N=this.clone(),U=D(x,V,!0);return U&&(N.$L=U),N},T.clone=function(){return $.w(this.$d,this)},T.toDate=function(){return new Date(this.valueOf())},T.toJSON=function(){return this.isValid()?this.toISOString():null},T.toISOString=function(){return this.$d.toISOString()},T.toString=function(){return this.$d.toUTCString()},B}(),C=L.prototype;return _.prototype=C,[["$ms",i],["$s",s],["$m",c],["$H",u],["$W",f],["$M",h],["$y",w],["$D",m]].forEach(function(B){C[B[1]]=function(T){return this.$g(T,B[0],B[1])}}),_.extend=function(B,T){return B.$i||(B(T,L,_),B.$i=!0),_},_.locale=D,_.isDayjs=W,_.unix=function(B){return _(1e3*B)},_.en=I[R],_.Ls=I,_.p={},_})})(_u);var lS=_u.exports;const ce=na(lS),cS={key:0,class:"s-datepicker-radio"},uS={class:"s-datepicker-main"},fS={class:"s-datepicker-input"},dS=["value"],pS={class:"s-datepicker-input-icon"},mS={class:"s-datepicker-calendar-header-data"},hS={class:"calendar-grid"},yS=["onMousedown","onMouseover"],vS={key:0,class:"splitter"},$u={__name:"SDatePicker",props:a.mergeModels({range:Boolean,valueFormat:{type:String,default:"YYYYMMDD"},inputFormat:{type:String,default:"DD.MM.YYYY"},min:String,max:String,numberOfMonths:Number,weekDayNames:{type:Array,default(){return["Пн","Вт","Ср","Чт","Пт","Сб","Вс"]}},monthNames:{type:Array,default(){return["Январь","Февраль","Март","Апрель","Май","Июнь","Июль","Август","Сентябрь","Октябрь","Ноябрь","Декабрь"]}},buttons:Object},{modelValue:{},modelModifiers:{}}),emits:a.mergeModels(["update:modelValue","selectedInterval"],["update:modelValue"]),setup(e,{emit:t}){const r=e,n=a.useModel(e,"modelValue"),o=a.computed(()=>{let _=n.value;if(_===null&&r.buttons){const[$,L]=Object.values(r.buttons)[0].split("-");_=[$,L]}return r.valueFormat==="YYYYMMDD"||_===null?JSON.parse(JSON.stringify(_)):Array.isArray(_)?_.map($=>ce($,r.valueFormat).format("YYYYMMDD")):ce(_,r.valueFormat).format("YYYYMMDD")}),i=a.computed({get:()=>{var _,$;return($=(_=o.value)==null?void 0:_.join("-"))!=null?$:""},set:_=>{n.value=_.split("-")}}),s=a.computed(()=>{var _;return(_=r.numberOfMonths)!=null?_:r.range?2:1}),c=a.computed(()=>r.range&&Array.isArray(o.value)?o.value.filter(Boolean).map(_=>ce(_,r.valueFormat).format(r.inputFormat)).join(" — "):o.value?ce(o.value,r.valueFormat).format(r.inputFormat):"Дата не выбрана"),u=a.ref(ce().format("YYYY")),f=a.ref(ce().format("MM")),d=a.computed(()=>{const _=[];for(let $=0;$<s.value;$++){let L=u.value+Math.floor((f.value-1+$)/12),C=(f.value-1+$)%12+1,B=(ce().year(L).month(C-1).startOf("month").day()+6)%7,T=ce().year(L).month(C-2).daysInMonth(),x=ce().year(L).month(C-1).daysInMonth(),V=(7-(x+B)%7)%7;_.push({year:L,month:C,daysInMonth:x,daysInPreviousMonth:T,previousMonthDaysTail:B,leadingNextMonthDays:V})}return _});function h(){u.value=f.value===1?u.value-1:u.value,f.value=f.value===1?12:f.value-1}function v(){u.value=f.value===12?u.value+1:u.value,f.value=f.value===12?1:f.value+1}const w=(_,$,L)=>_+($<10?"0":"")+$+(L<10?"0":"")+L,m=a.ref(!1);a.watch(m,_=>{if(_===!1)return;const $=n.value instanceof Array?n.value[0]:n.value;if($===null){f.value=ce().month()+1,u.value=ce().year();return}f.value=ce($,r.valueFormat).month()+1,u.value=ce($,r.valueFormat).year()});const y=(_,$,L)=>o.value instanceof Array?j.value?j.value===w(_,$,L):o.value.includes(w(_,$,L)):o.value===w(_,$,L),b=a.ref(null),S=(_,$,L)=>b.value=w(_,$,L),k=()=>b.value=null,O=a.computed(()=>{if(!r.range)return null;if(j.value){if(!b.value)return null;const _=j.value<b.value?j.value:b.value,$=j.value<b.value?b.value:j.value;return[_,$]}else if(o.value)return o.value;return null}),M=function(_,$,L){return O.value&&O.value[0]<=w(_,$,L)&&O.value[1]>=w(_,$,L)};function R(_,$,L){const C=r.min?ce(r.min,"YYYY-MM-DD"):null,B=r.max?ce(r.max,"YYYY-MM-DD"):null,T=ce().year(_).month($-1).date(L);return T.isBefore(C,"day")||T.isAfter(B,"day")}function I(_,$,L){return ce().year(_).month($-1).date(L).isSame(ce(),"day")}const j=a.ref(null);function W(_,$,L){if(!R(_,$,L))if(!r.range)n.value=ce().year(_).month($-1).date(L).format(r.valueFormat),m.value=!1;else if(!j.value)j.value=w(_,$,L);else{const C=w(_,$,L);let B=j.value<C?j.value:C,T=j.value<C?C:j.value;r.valueFormat!=="YYYYMMDD"&&(B=ce(B,"YYYYMMDD").format(r.valueFormat),T=ce(T,"YYYYMMDD").format(r.valueFormat)),n.value=[B,T],j.value=null,m.value=!1}}Ct.useEventListener(document,"mousedown",_=>{m.value=!1,j.value=null});const D=a.computed(()=>r.buttons?Object.fromEntries(Object.entries(r.buttons).map(([_,$])=>[$,_])):[]);return(_,$)=>(a.openBlock(),a.createElementBlock("div",{class:"s-datepicker",onClick:$[3]||($[3]=L=>m.value=!m.value),onMousedown:$[4]||($[4]=a.withModifiers(()=>{},["prevent","stop"]))},[e.buttons&&Object.values(e.buttons).length?(a.openBlock(),a.createElementBlock("div",cS,[a.createVNode(xu,{modelValue:i.value,"onUpdate:modelValue":$[0]||($[0]=L=>i.value=L),options:D.value,buttons:""},null,8,["modelValue","options"])])):a.createCommentVNode("",!0),a.createElementVNode("div",uS,[a.createElementVNode("div",fS,[a.createElementVNode("input",{readonly:"",value:c.value},null,8,dS),a.createElementVNode("span",pS,[a.createVNode(a.unref(ie),{icon:["far","calendar"]})])]),m.value?(a.openBlock(),a.createElementBlock("div",{key:0,class:"s-datepicker-calendar",onClick:$[2]||($[2]=a.withModifiers(()=>{},["stop"]))},[(a.openBlock(!0),a.createElementBlock(a.Fragment,null,a.renderList(d.value,({month:L,year:C,daysInMonth:B,leadingNextMonthDays:T,previousMonthDaysTail:x,daysInPreviousMonth:V},N)=>(a.openBlock(),a.createElementBlock("div",{class:"s-datepicker-calendar-page",key:`${C}${L}`},[a.createElementVNode("div",null,[a.createElementVNode("div",{class:a.normalizeClass(["s-datepicker-calendar-header",{centered:N!==0&&N!==d.value.length-1}])},[N===0?(a.openBlock(),a.createElementBlock("div",{key:0,class:"s-datepicker-calendar-header-controls",onClick:h},[a.createVNode(a.unref(ie),{icon:"chevron-left"})])):a.createCommentVNode("",!0),a.createElementVNode("div",mS,a.toDisplayString(e.monthNames[L-1])+" "+a.toDisplayString(C),1),N===d.value.length-1?(a.openBlock(),a.createElementBlock("div",{key:1,class:"s-datepicker-calendar-header-controls",onClick:v},[a.createVNode(a.unref(ie),{icon:"chevron-right"})])):a.createCommentVNode("",!0)],2),a.createElementVNode("div",hS,[(a.openBlock(!0),a.createElementBlock(a.Fragment,null,a.renderList(e.weekDayNames,(U,F)=>(a.openBlock(),a.createElementBlock("span",{key:F,class:"day-name"},a.toDisplayString(U),1))),128)),(a.openBlock(!0),a.createElementBlock(a.Fragment,null,a.renderList(x,U=>(a.openBlock(),a.createElementBlock("div",{key:w(C,L,U),class:"day blocked"},a.toDisplayString(U+V-x),1))),128)),(a.openBlock(!0),a.createElementBlock(a.Fragment,null,a.renderList(B,U=>(a.openBlock(),a.createElementBlock("div",{key:w(C,L,U),class:a.normalizeClass(["day",{selected:y(C,L,U),inrange:M(C,L,U),today:I(C,L,U),blocked:R(C,L,U)}]),onMousedown:F=>W(C,L,U),onMouseover:F=>S(C,L,U),onMouseout:$[1]||($[1]=F=>k())},a.toDisplayString(U),43,yS))),128)),(a.openBlock(!0),a.createElementBlock(a.Fragment,null,a.renderList(T,U=>(a.openBlock(),a.createElementBlock("div",{key:w(C,L,U),class:"day blocked"},a.toDisplayString(U),1))),128))])]),N!==d.value.length-1?(a.openBlock(),a.createElementBlock("div",vS)):a.createCommentVNode("",!0)]))),128))])):a.createCommentVNode("",!0)])],32))}},gS={class:"s-htmleditor"},Cu={__name:"SHtmlEditor",props:a.mergeModels({uploadUrl:String,placeholder:String},{modelValue:{},modelModifiers:{}}),emits:a.mergeModels(["changeContent"],["update:modelValue"]),setup(e,{emit:t}){const r=t,n=e,o=a.useModel(e,"modelValue"),i=a.ref({license_key:"mit",selector:"textarea",height:500,placeholder:n.placeholder||"",menubar:!1,body_class:"g-html",block_formats:`
558
+ }`;function ha(){var e=ia,t=la,r=P.cssPrefix,a=P.replacementClass,o=dl;if(r!==e||a!==t){var s=new RegExp("\\.".concat(e,"\\-"),"g"),i=new RegExp("\\--".concat(e,"\\-"),"g"),l=new RegExp("\\.".concat(t),"g");o=o.replace(s,".".concat(r,"-")).replace(i,"--".concat(r,"-")).replace(l,".".concat(a))}return o}var Ln=!1;function Mt(){P.autoAddCss&&!Ln&&(il(ha()),Ln=!0)}var ml={mixout:function(){return{dom:{css:ha,insertCss:Mt}}},hooks:function(){return{beforeDOMElementCreation:function(){Mt()},beforeI2svg:function(){Mt()}}}},me=ve||{};me[de]||(me[de]={});me[de].styles||(me[de].styles={});me[de].hooks||(me[de].hooks={});me[de].shims||(me[de].shims=[]);var ie=me[de],va=[],ga=function(){Y.removeEventListener("DOMContentLoaded",ga),ht=1,va.map(function(t){return t()})},ht=!1;pe&&(ht=(Y.documentElement.doScroll?/^loaded|^c/:/^loaded|^i|^c/).test(Y.readyState),ht||Y.addEventListener("DOMContentLoaded",ga));function pl(e){pe&&(ht?setTimeout(e,0):va.push(e))}function Xe(e){var t=e.tag,r=e.attributes,a=r===void 0?{}:r,o=e.children,s=o===void 0?[]:o;return typeof e=="string"?pa(e):"<".concat(t," ").concat(cl(a),">").concat(s.map(Xe).join(""),"</").concat(t,">")}function zn(e,t,r){if(e&&e[t]&&e[t][r])return{prefix:t,iconName:r,icon:e[t][r]}}var Ft=function(t,r,a,o){var s=Object.keys(t),i=s.length,l=r,c,u,f;for(a===void 0?(c=1,f=t[s[0]]):(c=0,f=a);c<i;c++)u=s[c],f=l(f,t[u],u,t);return f};function ya(e){return le(e).length!==1?null:e.codePointAt(0).toString(16)}function Un(e){return Object.keys(e).reduce(function(t,r){var a=e[r],o=!!a.icon;return o?t[a.iconName]=a.icon:t[r]=a,t},{})}function Gt(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},a=r.skipHooks,o=a===void 0?!1:a,s=Un(t);typeof ie.hooks.addPack=="function"&&!o?ie.hooks.addPack(e,Un(t)):ie.styles[e]=w(w({},ie.styles[e]||{}),s),e==="fas"&&Gt("fa",t)}var qe=ie.styles,hl=ie.shims,ba=Object.keys(vn),vl=ba.reduce(function(e,t){return e[t]=Object.keys(vn[t]),e},{}),bn=null,ka={},Sa={},wa={},Ea={},xa={};function gl(e){return~nl.indexOf(e)}function yl(e,t){var r=t.split("-"),a=r[0],o=r.slice(1).join("-");return a===e&&o!==""&&!gl(o)?o:null}var $a=function(){var t=function(s){return Ft(qe,function(i,l,c){return i[c]=Ft(l,s,{}),i},{})};ka=t(function(o,s,i){if(s[3]&&(o[s[3]]=i),s[2]){var l=s[2].filter(function(c){return typeof c=="number"});l.forEach(function(c){o[c.toString(16)]=i})}return o}),Sa=t(function(o,s,i){if(o[i]=i,s[2]){var l=s[2].filter(function(c){return typeof c=="string"});l.forEach(function(c){o[c]=i})}return o}),xa=t(function(o,s,i){var l=s[2];return o[i]=i,l.forEach(function(c){o[c]=i}),o});var r="far"in qe||P.autoFetchSvg,a=Ft(hl,function(o,s){var i=s[0],l=s[1],c=s[2];return l==="far"&&!r&&(l="fas"),typeof i=="string"&&(o.names[i]={prefix:l,iconName:c}),typeof i=="number"&&(o.unicodes[i.toString(16)]={prefix:l,iconName:c}),o},{names:{},unicodes:{}});wa=a.names,Ea=a.unicodes,bn=Et(P.styleDefault,{family:P.familyDefault})};sl(function(e){bn=Et(e.styleDefault,{family:P.familyDefault})});$a();function kn(e,t){return(ka[e]||{})[t]}function bl(e,t){return(Sa[e]||{})[t]}function Se(e,t){return(xa[e]||{})[t]}function Ca(e){return wa[e]||{prefix:null,iconName:null}}function kl(e){var t=Ea[e],r=kn("fas",e);return t||(r?{prefix:"fas",iconName:r}:null)||{prefix:null,iconName:null}}function ge(){return bn}var Na=function(){return{prefix:null,iconName:null,rest:[]}};function Sl(e){var t=Z,r=ba.reduce(function(a,o){return a[o]="".concat(P.cssPrefix,"-").concat(o),a},{});return ra.forEach(function(a){(e.includes(r[a])||e.some(function(o){return vl[a].includes(o)}))&&(t=a)}),t}function Et(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.family,a=r===void 0?Z:r,o=Xi[a][e];if(a===Ke&&!e)return"fad";var s=jn[a][e]||jn[a][o],i=e in ie.styles?e:null,l=s||i||null;return l}function wl(e){var t=[],r=null;return e.forEach(function(a){var o=yl(P.cssPrefix,a);o?r=o:a&&t.push(a)}),{iconName:r,rest:t}}function Hn(e){return e.sort().filter(function(t,r,a){return a.indexOf(t)===r})}var Wn=oa.concat(aa);function xt(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.skipLookups,a=r===void 0?!1:r,o=null,s=Hn(e.filter(function(b){return Wn.includes(b)})),i=Hn(e.filter(function(b){return!Wn.includes(b)})),l=s.filter(function(b){return o=b,!Vr.includes(b)}),c=St(l,1),u=c[0],f=u===void 0?null:u,d=Sl(s),h=w(w({},wl(i)),{},{prefix:Et(f,{family:d})});return w(w(w({},h),Cl({values:e,family:d,styles:qe,config:P,canonical:h,givenPrefix:o})),El(a,o,h))}function El(e,t,r){var a=r.prefix,o=r.iconName;if(e||!a||!o)return{prefix:a,iconName:o};var s=t==="fa"?Ca(o):{},i=Se(a,o);return o=s.iconName||i||o,a=s.prefix||a,a==="far"&&!qe.far&&qe.fas&&!P.autoFetchSvg&&(a="fas"),{prefix:a,iconName:o}}var xl=ra.filter(function(e){return e!==Z||e!==Ke}),$l=Object.keys(Ht).filter(function(e){return e!==Z}).map(function(e){return Object.keys(Ht[e])}).flat();function Cl(e){var t=e.values,r=e.family,a=e.canonical,o=e.givenPrefix,s=o===void 0?"":o,i=e.styles,l=i===void 0?{}:i,c=e.config,u=c===void 0?{}:c,f=r===Ke,d=t.includes("fa-duotone")||t.includes("fad"),h=u.familyDefault==="duotone",b=a.prefix==="fad"||a.prefix==="fa-duotone";if(!f&&(d||h||b)&&(a.prefix="fad"),(t.includes("fa-brands")||t.includes("fab"))&&(a.prefix="fab"),!a.prefix&&xl.includes(r)){var m=Object.keys(l).find(function(g){return $l.includes(g)});if(m||u.autoFetchSvg){var p=Us.get(r).defaultShortPrefixId;a.prefix=p,a.iconName=Se(a.prefix,a.iconName)||a.iconName}}return(a.prefix==="fa"||s==="fa")&&(a.prefix=ge()||"fas"),a}var Nl=function(){function e(){fs(this,e),this.definitions={}}return ms(e,[{key:"add",value:function(){for(var r=this,a=arguments.length,o=new Array(a),s=0;s<a;s++)o[s]=arguments[s];var i=o.reduce(this._pullDefinitions,{});Object.keys(i).forEach(function(l){r.definitions[l]=w(w({},r.definitions[l]||{}),i[l]),Gt(l,i[l]);var c=vn[Z][l];c&&Gt(c,i[l]),$a()})}},{key:"reset",value:function(){this.definitions={}}},{key:"_pullDefinitions",value:function(r,a){var o=a.prefix&&a.iconName&&a.icon?{0:a}:a;return Object.keys(o).map(function(s){var i=o[s],l=i.prefix,c=i.iconName,u=i.icon,f=u[2];r[l]||(r[l]={}),f.length>0&&f.forEach(function(d){typeof d=="string"&&(r[l][d]=u)}),r[l][c]=u}),r}}])}(),Yn=[],Oe={},Te={},Bl=Object.keys(Te);function Al(e,t){var r=t.mixoutsTo;return Yn=e,Oe={},Object.keys(Te).forEach(function(a){Bl.indexOf(a)===-1&&delete Te[a]}),Yn.forEach(function(a){var o=a.mixout?a.mixout():{};if(Object.keys(o).forEach(function(i){typeof o[i]=="function"&&(r[i]=o[i]),pt(o[i])==="object"&&Object.keys(o[i]).forEach(function(l){r[i]||(r[i]={}),r[i][l]=o[i][l]})}),a.hooks){var s=a.hooks();Object.keys(s).forEach(function(i){Oe[i]||(Oe[i]=[]),Oe[i].push(s[i])})}a.provides&&a.provides(Te)}),r}function Xt(e,t){for(var r=arguments.length,a=new Array(r>2?r-2:0),o=2;o<r;o++)a[o-2]=arguments[o];var s=Oe[e]||[];return s.forEach(function(i){t=i.apply(null,[t].concat(a))}),t}function Ce(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),a=1;a<t;a++)r[a-1]=arguments[a];var o=Oe[e]||[];o.forEach(function(s){s.apply(null,r)})}function ye(){var e=arguments[0],t=Array.prototype.slice.call(arguments,1);return Te[e]?Te[e].apply(null,t):void 0}function Zt(e){e.prefix==="fa"&&(e.prefix="fas");var t=e.iconName,r=e.prefix||ge();if(t)return t=Se(r,t)||t,zn(Ba.definitions,r,t)||zn(ie.styles,r,t)}var Ba=new Nl,Ol=function(){P.autoReplaceSvg=!1,P.observeMutations=!1,Ce("noAuto")},Tl={i2svg:function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return pe?(Ce("beforeI2svg",t),ye("pseudoElements2svg",t),ye("i2svg",t)):Promise.reject(new Error("Operation requires a DOM of some kind."))},watch:function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},r=t.autoReplaceSvgRoot;P.autoReplaceSvg===!1&&(P.autoReplaceSvg=!0),P.observeMutations=!0,pl(function(){Pl({autoReplaceSvgRoot:r}),Ce("watch",t)})}},_l={icon:function(t){if(t===null)return null;if(pt(t)==="object"&&t.prefix&&t.iconName)return{prefix:t.prefix,iconName:Se(t.prefix,t.iconName)||t.iconName};if(Array.isArray(t)&&t.length===2){var r=t[1].indexOf("fa-")===0?t[1].slice(3):t[1],a=Et(t[0]);return{prefix:a,iconName:Se(a,r)||r}}if(typeof t=="string"&&(t.indexOf("".concat(P.cssPrefix,"-"))>-1||t.match(Zi))){var o=xt(t.split(" "),{skipLookups:!0});return{prefix:o.prefix||ge(),iconName:Se(o.prefix,o.iconName)||o.iconName}}if(typeof t=="string"){var s=ge();return{prefix:s,iconName:Se(s,t)||t}}}},oe={noAuto:Ol,config:P,dom:Tl,parse:_l,library:Ba,findIconDefinition:Zt,toHtml:Xe},Pl=function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},r=t.autoReplaceSvgRoot,a=r===void 0?Y:r;(Object.keys(ie.styles).length>0||P.autoFetchSvg)&&pe&&P.autoReplaceSvg&&oe.dom.i2svg({node:a})};function $t(e,t){return Object.defineProperty(e,"abstract",{get:t}),Object.defineProperty(e,"html",{get:function(){return e.abstract.map(function(a){return Xe(a)})}}),Object.defineProperty(e,"node",{get:function(){if(pe){var a=Y.createElement("div");return a.innerHTML=e.html,a.children}}}),e}function Ml(e){var t=e.children,r=e.main,a=e.mask,o=e.attributes,s=e.styles,i=e.transform;if(yn(i)&&r.found&&!a.found){var l=r.width,c=r.height,u={x:l/c/2,y:.5};o.style=wt(w(w({},s),{},{"transform-origin":"".concat(u.x+i.x/16,"em ").concat(u.y+i.y/16,"em")}))}return[{tag:"svg",attributes:o,children:t}]}function Fl(e){var t=e.prefix,r=e.iconName,a=e.children,o=e.attributes,s=e.symbol,i=s===!0?"".concat(t,"-").concat(P.cssPrefix,"-").concat(r):s;return[{tag:"svg",attributes:{style:"display: none;"},children:[{tag:"symbol",attributes:w(w({},o),{},{id:i}),children:a}]}]}function Dl(e){var t=["aria-label","aria-labelledby","title","role"];return t.some(function(r){return r in e})}function Sn(e){var t=e.icons,r=t.main,a=t.mask,o=e.prefix,s=e.iconName,i=e.transform,l=e.symbol,c=e.maskId,u=e.extra,f=e.watchable,d=f===void 0?!1:f,h=a.found?a:r,b=h.width,m=h.height,p=[P.replacementClass,s?"".concat(P.cssPrefix,"-").concat(s):""].filter(function(I){return u.classes.indexOf(I)===-1}).filter(function(I){return I!==""||!!I}).concat(u.classes).join(" "),g={children:[],attributes:w(w({},u.attributes),{},{"data-prefix":o,"data-icon":s,class:p,role:u.attributes.role||"img",viewBox:"0 0 ".concat(b," ").concat(m)})};!Dl(u.attributes)&&!u.attributes["aria-hidden"]&&(g.attributes["aria-hidden"]="true"),d&&(g.attributes[$e]="");var v=w(w({},g),{},{prefix:o,iconName:s,main:r,mask:a,maskId:c,transform:i,symbol:l,styles:w({},u.styles)}),S=a.found&&r.found?ye("generateAbstractMask",v)||{children:[],attributes:{}}:ye("generateAbstractIcon",v)||{children:[],attributes:{}},O=S.children,R=S.attributes;return v.children=O,v.attributes=R,l?Fl(v):Ml(v)}function qn(e){var t=e.content,r=e.width,a=e.height,o=e.transform,s=e.extra,i=e.watchable,l=i===void 0?!1:i,c=w(w({},s.attributes),{},{class:s.classes.join(" ")});l&&(c[$e]="");var u=w({},s.styles);yn(o)&&(u.transform=fl({transform:o,width:r,height:a}),u["-webkit-transform"]=u.transform);var f=wt(u);f.length>0&&(c.style=f);var d=[];return d.push({tag:"span",attributes:c,children:[t]}),d}function Il(e){var t=e.content,r=e.extra,a=w(w({},r.attributes),{},{class:r.classes.join(" ")}),o=wt(r.styles);o.length>0&&(a.style=o);var s=[];return s.push({tag:"span",attributes:a,children:[t]}),s}var Dt=ie.styles;function Qt(e){var t=e[0],r=e[1],a=e.slice(4),o=St(a,1),s=o[0],i=null;return Array.isArray(s)?i={tag:"g",attributes:{class:"".concat(P.cssPrefix,"-").concat(Pt.GROUP)},children:[{tag:"path",attributes:{class:"".concat(P.cssPrefix,"-").concat(Pt.SECONDARY),fill:"currentColor",d:s[0]}},{tag:"path",attributes:{class:"".concat(P.cssPrefix,"-").concat(Pt.PRIMARY),fill:"currentColor",d:s[1]}}]}:i={tag:"path",attributes:{fill:"currentColor",d:s}},{found:!0,width:t,height:r,icon:i}}var Rl={found:!1,width:512,height:512};function jl(e,t){!ua&&!P.showMissingIcons&&e&&console.error('Icon with name "'.concat(e,'" and prefix "').concat(t,'" is missing.'))}function en(e,t){var r=t;return t==="fa"&&P.styleDefault!==null&&(t=ge()),new Promise(function(a,o){if(r==="fa"){var s=Ca(e)||{};e=s.iconName||e,t=s.prefix||t}if(e&&t&&Dt[t]&&Dt[t][e]){var i=Dt[t][e];return a(Qt(i))}jl(e,t),a(w(w({},Rl),{},{icon:P.showMissingIcons&&e?ye("missingIconAbstract")||{}:{}}))})}var Jn=function(){},tn=P.measurePerformance&&rt&&rt.mark&&rt.measure?rt:{mark:Jn,measure:Jn},ze='FA "7.1.0"',Vl=function(t){return tn.mark("".concat(ze," ").concat(t," begins")),function(){return Aa(t)}},Aa=function(t){tn.mark("".concat(ze," ").concat(t," ends")),tn.measure("".concat(ze," ").concat(t),"".concat(ze," ").concat(t," begins"),"".concat(ze," ").concat(t," ends"))},wn={begin:Vl,end:Aa},ct=function(){};function Kn(e){var t=e.getAttribute?e.getAttribute($e):null;return typeof t=="string"}function Ll(e){var t=e.getAttribute?e.getAttribute(pn):null,r=e.getAttribute?e.getAttribute(hn):null;return t&&r}function zl(e){return e&&e.classList&&e.classList.contains&&e.classList.contains(P.replacementClass)}function Ul(){if(P.autoReplaceSvg===!0)return ut.replace;var e=ut[P.autoReplaceSvg];return e||ut.replace}function Hl(e){return Y.createElementNS("http://www.w3.org/2000/svg",e)}function Wl(e){return Y.createElement(e)}function Oa(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.ceFn,a=r===void 0?e.tag==="svg"?Hl:Wl:r;if(typeof e=="string")return Y.createTextNode(e);var o=a(e.tag);Object.keys(e.attributes||[]).forEach(function(i){o.setAttribute(i,e.attributes[i])});var s=e.children||[];return s.forEach(function(i){o.appendChild(Oa(i,{ceFn:a}))}),o}function Yl(e){var t=" ".concat(e.outerHTML," ");return t="".concat(t,"Font Awesome fontawesome.com "),t}var ut={replace:function(t){var r=t[0];if(r.parentNode)if(t[1].forEach(function(o){r.parentNode.insertBefore(Oa(o),r)}),r.getAttribute($e)===null&&P.keepOriginalSource){var a=Y.createComment(Yl(r));r.parentNode.replaceChild(a,r)}else r.remove()},nest:function(t){var r=t[0],a=t[1];if(~gn(r).indexOf(P.replacementClass))return ut.replace(t);var o=new RegExp("".concat(P.cssPrefix,"-.*"));if(delete a[0].attributes.id,a[0].attributes.class){var s=a[0].attributes.class.split(" ").reduce(function(l,c){return c===P.replacementClass||c.match(o)?l.toSvg.push(c):l.toNode.push(c),l},{toNode:[],toSvg:[]});a[0].attributes.class=s.toSvg.join(" "),s.toNode.length===0?r.removeAttribute("class"):r.setAttribute("class",s.toNode.join(" "))}var i=a.map(function(l){return Xe(l)}).join(`
559
+ `);r.setAttribute($e,""),r.innerHTML=i}};function Gn(e){e()}function Ta(e,t){var r=typeof t=="function"?t:ct;if(e.length===0)r();else{var a=Gn;P.mutateApproach===Ki&&(a=ve.requestAnimationFrame||Gn),a(function(){var o=Ul(),s=wn.begin("mutate");e.map(o),s(),r()})}}var En=!1;function _a(){En=!0}function nn(){En=!1}var vt=null;function Xn(e){if(Fn&&P.observeMutations){var t=e.treeCallback,r=t===void 0?ct:t,a=e.nodeCallback,o=a===void 0?ct:a,s=e.pseudoElementsCallback,i=s===void 0?ct:s,l=e.observeMutationsRoot,c=l===void 0?Y:l;vt=new Fn(function(u){if(!En){var f=ge();Fe(u).forEach(function(d){if(d.type==="childList"&&d.addedNodes.length>0&&!Kn(d.addedNodes[0])&&(P.searchPseudoElements&&i(d.target),r(d.target)),d.type==="attributes"&&d.target.parentNode&&P.searchPseudoElements&&i([d.target],!0),d.type==="attributes"&&Kn(d.target)&&~tl.indexOf(d.attributeName))if(d.attributeName==="class"&&Ll(d.target)){var h=xt(gn(d.target)),b=h.prefix,m=h.iconName;d.target.setAttribute(pn,b||f),m&&d.target.setAttribute(hn,m)}else zl(d.target)&&o(d.target)})}}),pe&&vt.observe(c,{childList:!0,attributes:!0,characterData:!0,subtree:!0})}}function ql(){vt&&vt.disconnect()}function Jl(e){var t=e.getAttribute("style"),r=[];return t&&(r=t.split(";").reduce(function(a,o){var s=o.split(":"),i=s[0],l=s.slice(1);return i&&l.length>0&&(a[i]=l.join(":").trim()),a},{})),r}function Kl(e){var t=e.getAttribute("data-prefix"),r=e.getAttribute("data-icon"),a=e.innerText!==void 0?e.innerText.trim():"",o=xt(gn(e));return o.prefix||(o.prefix=ge()),t&&r&&(o.prefix=t,o.iconName=r),o.iconName&&o.prefix||(o.prefix&&a.length>0&&(o.iconName=bl(o.prefix,e.innerText)||kn(o.prefix,ya(e.innerText))),!o.iconName&&P.autoFetchSvg&&e.firstChild&&e.firstChild.nodeType===Node.TEXT_NODE&&(o.iconName=e.firstChild.data)),o}function Gl(e){var t=Fe(e.attributes).reduce(function(r,a){return r.name!=="class"&&r.name!=="style"&&(r[a.name]=a.value),r},{});return t}function Xl(){return{iconName:null,prefix:null,transform:fe,symbol:!1,mask:{iconName:null,prefix:null,rest:[]},maskId:null,extra:{classes:[],styles:{},attributes:{}}}}function Zn(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{styleParser:!0},r=Kl(e),a=r.iconName,o=r.prefix,s=r.rest,i=Gl(e),l=Xt("parseNodeAttributes",{},e),c=t.styleParser?Jl(e):[];return w({iconName:a,prefix:o,transform:fe,mask:{iconName:null,prefix:null,rest:[]},maskId:null,symbol:!1,extra:{classes:s,styles:c,attributes:i}},l)}var Zl=ie.styles;function Pa(e){var t=P.autoReplaceSvg==="nest"?Zn(e,{styleParser:!1}):Zn(e);return~t.extra.classes.indexOf(da)?ye("generateLayersText",e,t):ye("generateSvgReplacementMutation",e,t)}function Ql(){return[].concat(le(aa),le(oa))}function Qn(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;if(!pe)return Promise.resolve();var r=Y.documentElement.classList,a=function(d){return r.add("".concat(Rn,"-").concat(d))},o=function(d){return r.remove("".concat(Rn,"-").concat(d))},s=P.autoFetchSvg?Ql():Vr.concat(Object.keys(Zl));s.includes("fa")||s.push("fa");var i=[".".concat(da,":not([").concat($e,"])")].concat(s.map(function(f){return".".concat(f,":not([").concat($e,"])")})).join(", ");if(i.length===0)return Promise.resolve();var l=[];try{l=Fe(e.querySelectorAll(i))}catch{}if(l.length>0)a("pending"),o("complete");else return Promise.resolve();var c=wn.begin("onTree"),u=l.reduce(function(f,d){try{var h=Pa(d);h&&f.push(h)}catch(b){ua||b.name==="MissingIcon"&&console.error(b)}return f},[]);return new Promise(function(f,d){Promise.all(u).then(function(h){Ta(h,function(){a("active"),a("complete"),o("pending"),typeof t=="function"&&t(),c(),f()})}).catch(function(h){c(),d(h)})})}function ec(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;Pa(e).then(function(r){r&&Ta([r],t)})}function tc(e){return function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},a=(t||{}).icon?t:Zt(t||{}),o=r.mask;return o&&(o=(o||{}).icon?o:Zt(o||{})),e(a,w(w({},r),{},{mask:o}))}}var nc=function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},a=r.transform,o=a===void 0?fe:a,s=r.symbol,i=s===void 0?!1:s,l=r.mask,c=l===void 0?null:l,u=r.maskId,f=u===void 0?null:u,d=r.classes,h=d===void 0?[]:d,b=r.attributes,m=b===void 0?{}:b,p=r.styles,g=p===void 0?{}:p;if(t){var v=t.prefix,S=t.iconName,O=t.icon;return $t(w({type:"icon"},t),function(){return Ce("beforeDOMElementCreation",{iconDefinition:t,params:r}),Sn({icons:{main:Qt(O),mask:c?Qt(c.icon):{found:!1,width:null,height:null,icon:{}}},prefix:v,iconName:S,transform:w(w({},fe),o),symbol:i,maskId:f,extra:{attributes:m,styles:g,classes:h}})})}},rc={mixout:function(){return{icon:tc(nc)}},hooks:function(){return{mutationObserverCallbacks:function(r){return r.treeCallback=Qn,r.nodeCallback=ec,r}}},provides:function(t){t.i2svg=function(r){var a=r.node,o=a===void 0?Y:a,s=r.callback,i=s===void 0?function(){}:s;return Qn(o,i)},t.generateSvgReplacementMutation=function(r,a){var o=a.iconName,s=a.prefix,i=a.transform,l=a.symbol,c=a.mask,u=a.maskId,f=a.extra;return new Promise(function(d,h){Promise.all([en(o,s),c.iconName?en(c.iconName,c.prefix):Promise.resolve({found:!1,width:512,height:512,icon:{}})]).then(function(b){var m=St(b,2),p=m[0],g=m[1];d([r,Sn({icons:{main:p,mask:g},prefix:s,iconName:o,transform:i,symbol:l,maskId:u,extra:f,watchable:!0})])}).catch(h)})},t.generateAbstractIcon=function(r){var a=r.children,o=r.attributes,s=r.main,i=r.transform,l=r.styles,c=wt(l);c.length>0&&(o.style=c);var u;return yn(i)&&(u=ye("generateAbstractTransformGrouping",{main:s,transform:i,containerWidth:s.width,iconWidth:s.width})),a.push(u||s.icon),{children:a,attributes:o}}}},ac={mixout:function(){return{layer:function(r){var a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},o=a.classes,s=o===void 0?[]:o;return $t({type:"layer"},function(){Ce("beforeDOMElementCreation",{assembler:r,params:a});var i=[];return r(function(l){Array.isArray(l)?l.map(function(c){i=i.concat(c.abstract)}):i=i.concat(l.abstract)}),[{tag:"span",attributes:{class:["".concat(P.cssPrefix,"-layers")].concat(le(s)).join(" ")},children:i}]})}}}},oc={mixout:function(){return{counter:function(r){var a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};a.title;var o=a.classes,s=o===void 0?[]:o,i=a.attributes,l=i===void 0?{}:i,c=a.styles,u=c===void 0?{}:c;return $t({type:"counter",content:r},function(){return Ce("beforeDOMElementCreation",{content:r,params:a}),Il({content:r.toString(),extra:{attributes:l,styles:u,classes:["".concat(P.cssPrefix,"-layers-counter")].concat(le(s))}})})}}}},sc={mixout:function(){return{text:function(r){var a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},o=a.transform,s=o===void 0?fe:o,i=a.classes,l=i===void 0?[]:i,c=a.attributes,u=c===void 0?{}:c,f=a.styles,d=f===void 0?{}:f;return $t({type:"text",content:r},function(){return Ce("beforeDOMElementCreation",{content:r,params:a}),qn({content:r,transform:w(w({},fe),s),extra:{attributes:u,styles:d,classes:["".concat(P.cssPrefix,"-layers-text")].concat(le(l))}})})}}},provides:function(t){t.generateLayersText=function(r,a){var o=a.transform,s=a.extra,i=null,l=null;if(Rr){var c=parseInt(getComputedStyle(r).fontSize,10),u=r.getBoundingClientRect();i=u.width/c,l=u.height/c}return Promise.resolve([r,qn({content:r.innerHTML,width:i,height:l,transform:o,extra:s,watchable:!0})])}}},Ma=new RegExp('"',"ug"),er=[1105920,1112319],tr=w(w(w(w({},{FontAwesome:{normal:"fas",400:"fas"}}),zs),qi),Xs),rn=Object.keys(tr).reduce(function(e,t){return e[t.toLowerCase()]=tr[t],e},{}),ic=Object.keys(rn).reduce(function(e,t){var r=rn[t];return e[t]=r[900]||le(Object.entries(r))[0][1],e},{});function lc(e){var t=e.replace(Ma,"");return ya(le(t)[0]||"")}function cc(e){var t=e.getPropertyValue("font-feature-settings").includes("ss01"),r=e.getPropertyValue("content"),a=r.replace(Ma,""),o=a.codePointAt(0),s=o>=er[0]&&o<=er[1],i=a.length===2?a[0]===a[1]:!1;return s||i||t}function uc(e,t){var r=e.replace(/^['"]|['"]$/g,"").toLowerCase(),a=parseInt(t),o=isNaN(a)?"normal":a;return(rn[r]||{})[o]||ic[r]}function nr(e,t){var r="".concat(Ji).concat(t.replace(":","-"));return new Promise(function(a,o){if(e.getAttribute(r)!==null)return a();var s=Fe(e.children),i=s.filter(function(F){return F.getAttribute(Yt)===t})[0],l=ve.getComputedStyle(e,t),c=l.getPropertyValue("font-family"),u=c.match(Qi),f=l.getPropertyValue("font-weight"),d=l.getPropertyValue("content");if(i&&!u)return e.removeChild(i),a();if(u&&d!=="none"&&d!==""){var h=l.getPropertyValue("content"),b=uc(c,f),m=lc(h),p=u[0].startsWith("FontAwesome"),g=cc(l),v=kn(b,m),S=v;if(p){var O=kl(m);O.iconName&&O.prefix&&(v=O.iconName,b=O.prefix)}if(v&&!g&&(!i||i.getAttribute(pn)!==b||i.getAttribute(hn)!==S)){e.setAttribute(r,S),i&&e.removeChild(i);var R=Xl(),I=R.extra;I.attributes[Yt]=t,en(v,b).then(function(F){var M=Sn(w(w({},R),{},{icons:{main:F,mask:Na()},prefix:b,iconName:S,extra:I,watchable:!0})),W=Y.createElementNS("http://www.w3.org/2000/svg","svg");t==="::before"?e.insertBefore(W,e.firstChild):e.appendChild(W),W.outerHTML=M.map(function(z){return Xe(z)}).join(`
560
+ `),e.removeAttribute(r),a()}).catch(o)}else a()}else a()})}function fc(e){return Promise.all([nr(e,"::before"),nr(e,"::after")])}function dc(e){return e.parentNode!==document.head&&!~Gi.indexOf(e.tagName.toUpperCase())&&!e.getAttribute(Yt)&&(!e.parentNode||e.parentNode.tagName!=="svg")}var mc=function(t){return!!t&&ca.some(function(r){return t.includes(r)})},pc=function(t){if(!t)return[];var r=new Set,a=t.split(/,(?![^()]*\))/).map(function(c){return c.trim()});a=a.flatMap(function(c){return c.includes("(")?c:c.split(",").map(function(u){return u.trim()})});var o=lt(a),s;try{for(o.s();!(s=o.n()).done;){var i=s.value;if(mc(i)){var l=ca.reduce(function(c,u){return c.replace(u,"")},i);l!==""&&l!=="*"&&r.add(l)}}}catch(c){o.e(c)}finally{o.f()}return r};function rr(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;if(pe){var r;if(t)r=e;else if(P.searchPseudoElementsFullScan)r=e.querySelectorAll("*");else{var a=new Set,o=lt(document.styleSheets),s;try{for(o.s();!(s=o.n()).done;){var i=s.value;try{var l=lt(i.cssRules),c;try{for(l.s();!(c=l.n()).done;){var u=c.value,f=pc(u.selectorText),d=lt(f),h;try{for(d.s();!(h=d.n()).done;){var b=h.value;a.add(b)}}catch(p){d.e(p)}finally{d.f()}}}catch(p){l.e(p)}finally{l.f()}}catch(p){P.searchPseudoElementsWarnings&&console.warn("Font Awesome: cannot parse stylesheet: ".concat(i.href," (").concat(p.message,`)
561
+ If it declares any Font Awesome CSS pseudo-elements, they will not be rendered as SVG icons. Add crossorigin="anonymous" to the <link>, enable searchPseudoElementsFullScan for slower but more thorough DOM parsing, or suppress this warning by setting searchPseudoElementsWarnings to false.`))}}}catch(p){o.e(p)}finally{o.f()}if(!a.size)return;var m=Array.from(a).join(", ");try{r=e.querySelectorAll(m)}catch{}}return new Promise(function(p,g){var v=Fe(r).filter(dc).map(fc),S=wn.begin("searchPseudoElements");_a(),Promise.all(v).then(function(){S(),nn(),p()}).catch(function(){S(),nn(),g()})})}}var hc={hooks:function(){return{mutationObserverCallbacks:function(r){return r.pseudoElementsCallback=rr,r}}},provides:function(t){t.pseudoElements2svg=function(r){var a=r.node,o=a===void 0?Y:a;P.searchPseudoElements&&rr(o)}}},ar=!1,vc={mixout:function(){return{dom:{unwatch:function(){_a(),ar=!0}}}},hooks:function(){return{bootstrap:function(){Xn(Xt("mutationObserverCallbacks",{}))},noAuto:function(){ql()},watch:function(r){var a=r.observeMutationsRoot;ar?nn():Xn(Xt("mutationObserverCallbacks",{observeMutationsRoot:a}))}}}},or=function(t){var r={size:16,x:0,y:0,flipX:!1,flipY:!1,rotate:0};return t.toLowerCase().split(" ").reduce(function(a,o){var s=o.toLowerCase().split("-"),i=s[0],l=s.slice(1).join("-");if(i&&l==="h")return a.flipX=!0,a;if(i&&l==="v")return a.flipY=!0,a;if(l=parseFloat(l),isNaN(l))return a;switch(i){case"grow":a.size=a.size+l;break;case"shrink":a.size=a.size-l;break;case"left":a.x=a.x-l;break;case"right":a.x=a.x+l;break;case"up":a.y=a.y-l;break;case"down":a.y=a.y+l;break;case"rotate":a.rotate=a.rotate+l;break}return a},r)},gc={mixout:function(){return{parse:{transform:function(r){return or(r)}}}},hooks:function(){return{parseNodeAttributes:function(r,a){var o=a.getAttribute("data-fa-transform");return o&&(r.transform=or(o)),r}}},provides:function(t){t.generateAbstractTransformGrouping=function(r){var a=r.main,o=r.transform,s=r.containerWidth,i=r.iconWidth,l={transform:"translate(".concat(s/2," 256)")},c="translate(".concat(o.x*32,", ").concat(o.y*32,") "),u="scale(".concat(o.size/16*(o.flipX?-1:1),", ").concat(o.size/16*(o.flipY?-1:1),") "),f="rotate(".concat(o.rotate," 0 0)"),d={transform:"".concat(c," ").concat(u," ").concat(f)},h={transform:"translate(".concat(i/2*-1," -256)")},b={outer:l,inner:d,path:h};return{tag:"g",attributes:w({},b.outer),children:[{tag:"g",attributes:w({},b.inner),children:[{tag:a.icon.tag,children:a.icon.children,attributes:w(w({},a.icon.attributes),b.path)}]}]}}}},It={x:0,y:0,width:"100%",height:"100%"};function sr(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;return e.attributes&&(e.attributes.fill||t)&&(e.attributes.fill="black"),e}function yc(e){return e.tag==="g"?e.children:[e]}var bc={hooks:function(){return{parseNodeAttributes:function(r,a){var o=a.getAttribute("data-fa-mask"),s=o?xt(o.split(" ").map(function(i){return i.trim()})):Na();return s.prefix||(s.prefix=ge()),r.mask=s,r.maskId=a.getAttribute("data-fa-mask-id"),r}}},provides:function(t){t.generateAbstractMask=function(r){var a=r.children,o=r.attributes,s=r.main,i=r.mask,l=r.maskId,c=r.transform,u=s.width,f=s.icon,d=i.width,h=i.icon,b=ul({transform:c,containerWidth:d,iconWidth:u}),m={tag:"rect",attributes:w(w({},It),{},{fill:"white"})},p=f.children?{children:f.children.map(sr)}:{},g={tag:"g",attributes:w({},b.inner),children:[sr(w({tag:f.tag,attributes:w(w({},f.attributes),b.path)},p))]},v={tag:"g",attributes:w({},b.outer),children:[g]},S="mask-".concat(l||Vn()),O="clip-".concat(l||Vn()),R={tag:"mask",attributes:w(w({},It),{},{id:S,maskUnits:"userSpaceOnUse",maskContentUnits:"userSpaceOnUse"}),children:[m,v]},I={tag:"defs",children:[{tag:"clipPath",attributes:{id:O},children:yc(h)},R]};return a.push(I,{tag:"rect",attributes:w({fill:"currentColor","clip-path":"url(#".concat(O,")"),mask:"url(#".concat(S,")")},It)}),{children:a,attributes:o}}}},kc={provides:function(t){var r=!1;ve.matchMedia&&(r=ve.matchMedia("(prefers-reduced-motion: reduce)").matches),t.missingIconAbstract=function(){var a=[],o={fill:"currentColor"},s={attributeType:"XML",repeatCount:"indefinite",dur:"2s"};a.push({tag:"path",attributes:w(w({},o),{},{d:"M156.5,447.7l-12.6,29.5c-18.7-9.5-35.9-21.2-51.5-34.9l22.7-22.7C127.6,430.5,141.5,440,156.5,447.7z M40.6,272H8.5 c1.4,21.2,5.4,41.7,11.7,61.1L50,321.2C45.1,305.5,41.8,289,40.6,272z M40.6,240c1.4-18.8,5.2-37,11.1-54.1l-29.5-12.6 C14.7,194.3,10,216.7,8.5,240H40.6z M64.3,156.5c7.8-14.9,17.2-28.8,28.1-41.5L69.7,92.3c-13.7,15.6-25.5,32.8-34.9,51.5 L64.3,156.5z M397,419.6c-13.9,12-29.4,22.3-46.1,30.4l11.9,29.8c20.7-9.9,39.8-22.6,56.9-37.6L397,419.6z M115,92.4 c13.9-12,29.4-22.3,46.1-30.4l-11.9-29.8c-20.7,9.9-39.8,22.6-56.8,37.6L115,92.4z M447.7,355.5c-7.8,14.9-17.2,28.8-28.1,41.5 l22.7,22.7c13.7-15.6,25.5-32.9,34.9-51.5L447.7,355.5z M471.4,272c-1.4,18.8-5.2,37-11.1,54.1l29.5,12.6 c7.5-21.1,12.2-43.5,13.6-66.8H471.4z M321.2,462c-15.7,5-32.2,8.2-49.2,9.4v32.1c21.2-1.4,41.7-5.4,61.1-11.7L321.2,462z M240,471.4c-18.8-1.4-37-5.2-54.1-11.1l-12.6,29.5c21.1,7.5,43.5,12.2,66.8,13.6V471.4z M462,190.8c5,15.7,8.2,32.2,9.4,49.2h32.1 c-1.4-21.2-5.4-41.7-11.7-61.1L462,190.8z M92.4,397c-12-13.9-22.3-29.4-30.4-46.1l-29.8,11.9c9.9,20.7,22.6,39.8,37.6,56.9 L92.4,397z M272,40.6c18.8,1.4,36.9,5.2,54.1,11.1l12.6-29.5C317.7,14.7,295.3,10,272,8.5V40.6z M190.8,50 c15.7-5,32.2-8.2,49.2-9.4V8.5c-21.2,1.4-41.7,5.4-61.1,11.7L190.8,50z M442.3,92.3L419.6,115c12,13.9,22.3,29.4,30.5,46.1 l29.8-11.9C470,128.5,457.3,109.4,442.3,92.3z M397,92.4l22.7-22.7c-15.6-13.7-32.8-25.5-51.5-34.9l-12.6,29.5 C370.4,72.1,384.4,81.5,397,92.4z"})});var i=w(w({},s),{},{attributeName:"opacity"}),l={tag:"circle",attributes:w(w({},o),{},{cx:"256",cy:"364",r:"28"}),children:[]};return r||l.children.push({tag:"animate",attributes:w(w({},s),{},{attributeName:"r",values:"28;14;28;28;14;28;"})},{tag:"animate",attributes:w(w({},i),{},{values:"1;0;1;1;0;1;"})}),a.push(l),a.push({tag:"path",attributes:w(w({},o),{},{opacity:"1",d:"M263.7,312h-16c-6.6,0-12-5.4-12-12c0-71,77.4-63.9,77.4-107.8c0-20-17.8-40.2-57.4-40.2c-29.1,0-44.3,9.6-59.2,28.7 c-3.9,5-11.1,6-16.2,2.4l-13.1-9.2c-5.6-3.9-6.9-11.8-2.6-17.2c21.2-27.2,46.4-44.7,91.2-44.7c52.3,0,97.4,29.8,97.4,80.2 c0,67.6-77.4,63.5-77.4,107.8C275.7,306.6,270.3,312,263.7,312z"}),children:r?[]:[{tag:"animate",attributes:w(w({},i),{},{values:"1;0;0;0;0;1;"})}]}),r||a.push({tag:"path",attributes:w(w({},o),{},{opacity:"0",d:"M232.5,134.5l7,168c0.3,6.4,5.6,11.5,12,11.5h9c6.4,0,11.7-5.1,12-11.5l7-168c0.3-6.8-5.2-12.5-12-12.5h-23 C237.7,122,232.2,127.7,232.5,134.5z"}),children:[{tag:"animate",attributes:w(w({},i),{},{values:"0;0;1;1;0;0;"})}]}),{tag:"g",attributes:{class:"missing"},children:a}}}},Sc={hooks:function(){return{parseNodeAttributes:function(r,a){var o=a.getAttribute("data-fa-symbol"),s=o===null?!1:o===""?!0:o;return r.symbol=s,r}}}},wc=[ml,rc,ac,oc,sc,hc,vc,gc,bc,kc,Sc];Al(wc,{mixoutsTo:oe});oe.noAuto;var Fa=oe.config;oe.library;oe.dom;var gt=oe.parse;oe.findIconDefinition;oe.toHtml;var Ec=oe.icon;oe.layer;var xc=oe.text;oe.counter;function an(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,a=Array(t);r<t;r++)a[r]=e[r];return a}function $c(e){if(Array.isArray(e))return an(e)}function Q(e,t,r){return(t=Tc(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Cc(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function Nc(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
562
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function ir(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),r.push.apply(r,a)}return r}function se(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?ir(Object(r),!0).forEach(function(a){Q(e,a,r[a])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):ir(Object(r)).forEach(function(a){Object.defineProperty(e,a,Object.getOwnPropertyDescriptor(r,a))})}return e}function Bc(e,t){if(e==null)return{};var r,a,o=Ac(e,t);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);for(a=0;a<s.length;a++)r=s[a],t.indexOf(r)===-1&&{}.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}function Ac(e,t){if(e==null)return{};var r={};for(var a in e)if({}.hasOwnProperty.call(e,a)){if(t.indexOf(a)!==-1)continue;r[a]=e[a]}return r}function on(e){return $c(e)||Cc(e)||_c(e)||Nc()}function Oc(e,t){if(typeof e!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var a=r.call(e,t);if(typeof a!="object")return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function Tc(e){var t=Oc(e,"string");return typeof t=="symbol"?t:t+""}function yt(e){"@babel/helpers - typeof";return yt=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},yt(e)}function _c(e,t){if(e){if(typeof e=="string")return an(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)?an(e,t):void 0}}function Ye(e,t){return Array.isArray(t)&&t.length>0||!Array.isArray(t)&&t?Q({},e,t):{}}function Pc(e){var t,r=(t={"fa-spin":e.spin,"fa-pulse":e.pulse,"fa-fw":e.fixedWidth,"fa-border":e.border,"fa-li":e.listItem,"fa-inverse":e.inverse,"fa-flip":e.flip===!0,"fa-flip-horizontal":e.flip==="horizontal"||e.flip==="both","fa-flip-vertical":e.flip==="vertical"||e.flip==="both"},Q(Q(Q(Q(Q(Q(Q(Q(Q(Q(t,"fa-".concat(e.size),e.size!==null),"fa-rotate-".concat(e.rotation),e.rotation!==null),"fa-rotate-by",e.rotateBy),"fa-pull-".concat(e.pull),e.pull!==null),"fa-swap-opacity",e.swapOpacity),"fa-bounce",e.bounce),"fa-shake",e.shake),"fa-beat",e.beat),"fa-fade",e.fade),"fa-beat-fade",e.beatFade),Q(Q(Q(Q(t,"fa-flash",e.flash),"fa-spin-pulse",e.spinPulse),"fa-spin-reverse",e.spinReverse),"fa-width-auto",e.widthAuto));return Object.keys(r).map(function(a){return r[a]?a:null}).filter(function(a){return a})}var Mc=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{},Da={exports:{}};(function(e){(function(t){var r=function(v,S,O){if(!u(S)||d(S)||h(S)||b(S)||c(S))return S;var R,I=0,F=0;if(f(S))for(R=[],F=S.length;I<F;I++)R.push(r(v,S[I],O));else{R={};for(var M in S)Object.prototype.hasOwnProperty.call(S,M)&&(R[v(M,O)]=r(v,S[M],O))}return R},a=function(v,S){S=S||{};var O=S.separator||"_",R=S.split||/(?=[A-Z])/;return v.split(R).join(O)},o=function(v){return m(v)?v:(v=v.replace(/[\-_\s]+(.)?/g,function(S,O){return O?O.toUpperCase():""}),v.substr(0,1).toLowerCase()+v.substr(1))},s=function(v){var S=o(v);return S.substr(0,1).toUpperCase()+S.substr(1)},i=function(v,S){return a(v,S).toLowerCase()},l=Object.prototype.toString,c=function(v){return typeof v=="function"},u=function(v){return v===Object(v)},f=function(v){return l.call(v)=="[object Array]"},d=function(v){return l.call(v)=="[object Date]"},h=function(v){return l.call(v)=="[object RegExp]"},b=function(v){return l.call(v)=="[object Boolean]"},m=function(v){return v=v-0,v===v},p=function(v,S){var O=S&&"process"in S?S.process:S;return typeof O!="function"?v:function(R,I){return O(R,v,I)}},g={camelize:o,decamelize:i,pascalize:s,depascalize:i,camelizeKeys:function(v,S){return r(p(o,S),v)},decamelizeKeys:function(v,S){return r(p(i,S),v,S)},pascalizeKeys:function(v,S){return r(p(s,S),v)},depascalizeKeys:function(){return this.decamelizeKeys.apply(this,arguments)}};e.exports?e.exports=g:t.humps=g})(Mc)})(Da);var Fc=Da.exports,Dc=["class","style"];function Ic(e){return e.split(";").map(function(t){return t.trim()}).filter(function(t){return t}).reduce(function(t,r){var a=r.indexOf(":"),o=Fc.camelize(r.slice(0,a)),s=r.slice(a+1).trim();return t[o]=s,t},{})}function Rc(e){return e.split(/\s+/).reduce(function(t,r){return t[r]=!0,t},{})}function xn(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};if(typeof e=="string")return e;var a=(e.children||[]).map(function(c){return xn(c)}),o=Object.keys(e.attributes||{}).reduce(function(c,u){var f=e.attributes[u];switch(u){case"class":c.class=Rc(f);break;case"style":c.style=Ic(f);break;default:c.attrs[u]=f}return c},{attrs:{},class:{},style:{}});r.class;var s=r.style,i=s===void 0?{}:s,l=Bc(r,Dc);return n.h(e.tag,se(se(se({},t),{},{class:o.class,style:se(se({},o.style),i)},o.attrs),l),a)}var Ia=!1;try{Ia=process.env.NODE_ENV==="production"}catch{}function jc(){if(!Ia&&console&&typeof console.error=="function"){var e;(e=console).error.apply(e,arguments)}}function lr(e){if(e&&yt(e)==="object"&&e.prefix&&e.iconName&&e.icon)return e;if(gt.icon)return gt.icon(e);if(e===null)return null;if(yt(e)==="object"&&e.prefix&&e.iconName)return e;if(Array.isArray(e)&&e.length===2)return{prefix:e[0],iconName:e[1]};if(typeof e=="string")return{prefix:"fas",iconName:e}}var q=n.defineComponent({name:"FontAwesomeIcon",props:{border:{type:Boolean,default:!1},fixedWidth:{type:Boolean,default:!1},flip:{type:[Boolean,String],default:!1,validator:function(t){return[!0,!1,"horizontal","vertical","both"].indexOf(t)>-1}},icon:{type:[Object,Array,String],required:!0},mask:{type:[Object,Array,String],default:null},maskId:{type:String,default:null},listItem:{type:Boolean,default:!1},pull:{type:String,default:null,validator:function(t){return["right","left"].indexOf(t)>-1}},pulse:{type:Boolean,default:!1},rotation:{type:[String,Number],default:null,validator:function(t){return[90,180,270].indexOf(Number.parseInt(t,10))>-1}},rotateBy:{type:Boolean,default:!1},swapOpacity:{type:Boolean,default:!1},size:{type:String,default:null,validator:function(t){return["2xs","xs","sm","lg","xl","2xl","1x","2x","3x","4x","5x","6x","7x","8x","9x","10x"].indexOf(t)>-1}},spin:{type:Boolean,default:!1},transform:{type:[String,Object],default:null},symbol:{type:[Boolean,String],default:!1},title:{type:String,default:null},titleId:{type:String,default:null},inverse:{type:Boolean,default:!1},bounce:{type:Boolean,default:!1},shake:{type:Boolean,default:!1},beat:{type:Boolean,default:!1},fade:{type:Boolean,default:!1},beatFade:{type:Boolean,default:!1},flash:{type:Boolean,default:!1},spinPulse:{type:Boolean,default:!1},spinReverse:{type:Boolean,default:!1},widthAuto:{type:Boolean,default:!1}},setup:function(t,r){var a=r.attrs,o=n.computed(function(){return lr(t.icon)}),s=n.computed(function(){return Ye("classes",Pc(t))}),i=n.computed(function(){return Ye("transform",typeof t.transform=="string"?gt.transform(t.transform):t.transform)}),l=n.computed(function(){return Ye("mask",lr(t.mask))}),c=n.computed(function(){var f=se(se(se(se({},s.value),i.value),l.value),{},{symbol:t.symbol,maskId:t.maskId});return f.title=t.title,f.titleId=t.titleId,Ec(o.value,f)});n.watch(c,function(f){if(!f)return jc("Could not find one or more icon(s)",o.value,l.value)},{immediate:!0});var u=n.computed(function(){return c.value?xn(c.value.abstract[0],{},a):null});return function(){return u.value}}});n.defineComponent({name:"FontAwesomeLayers",props:{fixedWidth:{type:Boolean,default:!1}},setup:function(t,r){var a=r.slots,o=Fa.familyPrefix,s=n.computed(function(){return["".concat(o,"-layers")].concat(on(t.fixedWidth?["".concat(o,"-fw")]:[]))});return function(){return n.h("div",{class:s.value},a.default?a.default():[])}}});n.defineComponent({name:"FontAwesomeLayersText",props:{value:{type:[String,Number],default:""},transform:{type:[String,Object],default:null},counter:{type:Boolean,default:!1},position:{type:String,default:null,validator:function(t){return["bottom-left","bottom-right","top-left","top-right"].indexOf(t)>-1}}},setup:function(t,r){var a=r.attrs,o=Fa.familyPrefix,s=n.computed(function(){return Ye("classes",[].concat(on(t.counter?["".concat(o,"-layers-counter")]:[]),on(t.position?["".concat(o,"-layers-").concat(t.position)]:[])))}),i=n.computed(function(){return Ye("transform",typeof t.transform=="string"?gt.transform(t.transform):t.transform)}),l=n.computed(function(){var u=xc(t.value.toString(),se(se({},i.value),s.value)),f=u.abstract;return t.counter&&(f[0].attributes.class=f[0].attributes.class.replace("fa-layers-text","")),f[0]}),c=n.computed(function(){return xn(l.value,{},a)});return function(){return c.value}}});const Vc=["value","disabled"],Lc={class:"s-checkbox-label"},Ra={__name:"SCheckbox",props:n.mergeModels({value:[String,Number],disabled:Boolean},{modelValue:{},modelModifiers:{}}),emits:n.mergeModels(["change"],["update:modelValue"]),setup(e,{emit:t}){const r=e,a=n.useModel(e,"modelValue"),o=n.inject("groupValue",null),s=n.computed({get(){var c;return o!=null&&r.value!=null?(c=o.value.includes(r.value))!=null?c:!1:a.value},set(c){o&&r.value!=null&&(o.value.includes(r.value)?o.value.splice(o.value.indexOf(r.value),1):o.value.push(r.value)),a.value=c}}),i=t;function l(){r.disabled||(s.value=!s.value,i("change",s.value))}return(c,u)=>(n.openBlock(),n.createElementBlock("div",{class:n.normalizeClass(["s-checkbox",{disabled:e.disabled}]),onClick:l},[n.createElementVNode("div",{class:n.normalizeClass(["s-checkbox-box",{checked:s.value}])},[n.createElementVNode("input",{class:"s-checkbox-box-input",type:"checkbox",value:s.value,disabled:e.disabled},null,8,Vc),n.createVNode(n.unref(q),{icon:"check",class:"checked-icon"})],2),n.createElementVNode("div",Lc,[n.renderSlot(c.$slots,"default")])],2))}},zc=["value"],Uc={class:"s-radio-text"},bt={__name:"SRadio",props:{value:{type:[Number,String,Boolean],required:!0},disabled:Boolean,labelClass:String},emits:["change"],setup(e,{emit:t}){const r=e,a=t,o=n.inject("sRadioGroupModel"),s=n.computed({get:()=>{const i=["",null,void 0];return i.includes(r.value)&&i.includes(o.value)?r.value:o.value},set:i=>{r.disabled||(o.value=i)}});return(i,l)=>(n.openBlock(),n.createElementBlock("label",{class:n.normalizeClass(["s-radio",[e.labelClass,{disabled:e.disabled}]])},[n.withDirectives(n.createElementVNode("input",{type:"radio",value:e.value,"onUpdate:modelValue":l[0]||(l[0]=c=>s.value=c),onChange:l[1]||(l[1]=c=>a("change",e.value))},null,40,zc),[[n.vModelRadio,s.value]]),n.createElementVNode("span",Uc,[n.renderSlot(i.$slots,"default")])],2))}},Hc={class:"s-radiogroup"},Wc=["innerHTML"],$n={__name:"SRadioGroup",props:n.mergeModels({options:Object,buttons:Boolean,vertical:Boolean,placeholder:String},{modelValue:{},modelModifiers:{}}),emits:n.mergeModels(["change"],["update:modelValue"]),setup(e,{emit:t}){const r=e,a=t,o=n.useModel(e,"modelValue"),s=n.computed(()=>!r.options||Object.values(r.options)===0?{}:Object.entries(r.options).map(([i,l])=>{let c=i;return i==="true"&&(c=!0),i==="false"&&(c=!1),!isNaN(i)&&i!==""&&(c=Number(i)),{value:c,title:l}}));return n.onMounted(()=>{var i;o.value===null&&Object.values((i=r.options)!=null?i:{}).length&&(o.value=Object.keys(r.options)[0])}),n.provide("sRadioGroupModel",o),n.watch(o,i=>{a("change",i)}),(i,l)=>(n.openBlock(),n.createElementBlock("div",Hc,[n.createElementVNode("div",{class:n.normalizeClass(["s-radiogroup-container",{buttons:e.buttons,vertical:e.vertical}])},[e.placeholder?(n.openBlock(),n.createBlock(bt,{key:0,value:""},{default:n.withCtx(()=>[n.createTextVNode(n.toDisplayString(e.placeholder),1)]),_:1})):n.createCommentVNode("",!0),Object.values(i.$slots).length?n.renderSlot(i.$slots,"default",{key:1}):n.createCommentVNode("",!0),(n.openBlock(!0),n.createElementBlock(n.Fragment,null,n.renderList(s.value,({value:c,title:u})=>(n.openBlock(),n.createBlock(bt,{key:c,value:c},{default:n.withCtx(()=>[n.createElementVNode("span",{innerHTML:u},null,8,Wc)]),_:2},1032,["value"]))),128))],2)]))}},Yc={class:"s-switch-control",id:"s-switch"},qc={class:"s-switch-label"},ja={__name:"SSwitch",props:n.mergeModels({disabled:Boolean,trueValue:{type:[Boolean,String,Number],default:!0},falseValue:{type:[Boolean,String,Number],default:!1}},{modelValue:{},modelModifiers:{}}),emits:["update:modelValue"],setup(e){const t=e,r=n.useModel(e,"modelValue");n.onMounted(()=>{r.value=r.value===t.trueValue?t.trueValue:t.falseValue});function a(){t.disabled||(r.value=r.value===t.trueValue?t.falseValue:t.trueValue)}return(o,s)=>(n.openBlock(),n.createElementBlock("div",{class:n.normalizeClass(["s-switch",{active:r.value===e.trueValue,disabled:e.disabled}]),onClick:a},[n.createElementVNode("div",Yc,[s[1]||(s[1]=n.createElementVNode("div",{class:"s-switch-control-activearea"},[n.createElementVNode("div",{class:"s-switch-control-activearea-button"})],-1)),n.withDirectives(n.createElementVNode("input",{type:"checkbox","onUpdate:modelValue":s[0]||(s[0]=i=>r.value=i)},null,512),[[n.vModelCheckbox,r.value]])]),n.createElementVNode("label",qc,[n.renderSlot(o.$slots,"default")])],2))}};var Ue=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{};function Va(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var La={exports:{}};(function(e,t){(function(r,a){e.exports=a()})(Ue,function(){var r=1e3,a=6e4,o=36e5,s="millisecond",i="second",l="minute",c="hour",u="day",f="week",d="month",h="quarter",b="year",m="date",p="Invalid Date",g=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,v=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,S={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(B){var $=["th","st","nd","rd"],k=B%100;return"["+B+($[(k-20)%10]||$[k]||$[0])+"]"}},O=function(B,$,k){var A=String(B);return!A||A.length>=$?B:""+Array($+1-A.length).join(k)+B},R={s:O,z:function(B){var $=-B.utcOffset(),k=Math.abs($),A=Math.floor(k/60),x=k%60;return($<=0?"+":"-")+O(A,2,"0")+":"+O(x,2,"0")},m:function B($,k){if($.date()<k.date())return-B(k,$);var A=12*(k.year()-$.year())+(k.month()-$.month()),x=$.clone().add(A,d),T=k-x<0,D=$.clone().add(A+(T?-1:1),d);return+(-(A+(k-x)/(T?x-D:D-x))||0)},a:function(B){return B<0?Math.ceil(B)||0:Math.floor(B)},p:function(B){return{M:d,y:b,w:f,d:u,D:m,h:c,m:l,s:i,ms:s,Q:h}[B]||String(B||"").toLowerCase().replace(/s$/,"")},u:function(B){return B===void 0}},I="en",F={};F[I]=S;var M="$isDayjsObject",W=function(B){return B instanceof _||!(!B||!B[M])},z=function B($,k,A){var x;if(!$)return I;if(typeof $=="string"){var T=$.toLowerCase();F[T]&&(x=T),k&&(F[T]=k,x=T);var D=$.split("-");if(!x&&D.length>1)return B(D[0])}else{var U=$.name;F[U]=$,x=U}return!A&&x&&(I=x),x||!A&&I},N=function(B,$){if(W(B))return B.clone();var k=typeof $=="object"?$:{};return k.date=B,k.args=arguments,new _(k)},E=R;E.l=z,E.i=W,E.w=function(B,$){return N(B,{locale:$.$L,utc:$.$u,x:$.$x,$offset:$.$offset})};var _=function(){function B(k){this.$L=z(k.locale,null,!0),this.parse(k),this.$x=this.$x||k.x||{},this[M]=!0}var $=B.prototype;return $.parse=function(k){this.$d=function(A){var x=A.date,T=A.utc;if(x===null)return new Date(NaN);if(E.u(x))return new Date;if(x instanceof Date)return new Date(x);if(typeof x=="string"&&!/Z$/i.test(x)){var D=x.match(g);if(D){var U=D[2]-1||0,H=(D[7]||"0").substring(0,3);return T?new Date(Date.UTC(D[1],U,D[3]||1,D[4]||0,D[5]||0,D[6]||0,H)):new Date(D[1],U,D[3]||1,D[4]||0,D[5]||0,D[6]||0,H)}}return new Date(x)}(k),this.init()},$.init=function(){var k=this.$d;this.$y=k.getFullYear(),this.$M=k.getMonth(),this.$D=k.getDate(),this.$W=k.getDay(),this.$H=k.getHours(),this.$m=k.getMinutes(),this.$s=k.getSeconds(),this.$ms=k.getMilliseconds()},$.$utils=function(){return E},$.isValid=function(){return this.$d.toString()!==p},$.isSame=function(k,A){var x=N(k);return this.startOf(A)<=x&&x<=this.endOf(A)},$.isAfter=function(k,A){return N(k)<this.startOf(A)},$.isBefore=function(k,A){return this.endOf(A)<N(k)},$.$g=function(k,A,x){return E.u(k)?this[A]:this.set(x,k)},$.unix=function(){return Math.floor(this.valueOf()/1e3)},$.valueOf=function(){return this.$d.getTime()},$.startOf=function(k,A){var x=this,T=!!E.u(A)||A,D=E.p(k),U=function(ke,ne){var he=E.w(x.$u?Date.UTC(x.$y,ne,ke):new Date(x.$y,ne,ke),x);return T?he:he.endOf(u)},H=function(ke,ne){return E.w(x.toDate()[ke].apply(x.toDate("s"),(T?[0,0,0,0]:[23,59,59,999]).slice(ne)),x)},J=this.$W,K=this.$M,te=this.$D,Be="set"+(this.$u?"UTC":"");switch(D){case b:return T?U(1,0):U(31,11);case d:return T?U(1,K):U(0,K+1);case f:var be=this.$locale().weekStart||0,Re=(J<be?J+7:J)-be;return U(T?te-Re:te+(6-Re),K);case u:case m:return H(Be+"Hours",0);case c:return H(Be+"Minutes",1);case l:return H(Be+"Seconds",2);case i:return H(Be+"Milliseconds",3);default:return this.clone()}},$.endOf=function(k){return this.startOf(k,!1)},$.$set=function(k,A){var x,T=E.p(k),D="set"+(this.$u?"UTC":""),U=(x={},x[u]=D+"Date",x[m]=D+"Date",x[d]=D+"Month",x[b]=D+"FullYear",x[c]=D+"Hours",x[l]=D+"Minutes",x[i]=D+"Seconds",x[s]=D+"Milliseconds",x)[T],H=T===u?this.$D+(A-this.$W):A;if(T===d||T===b){var J=this.clone().set(m,1);J.$d[U](H),J.init(),this.$d=J.set(m,Math.min(this.$D,J.daysInMonth())).$d}else U&&this.$d[U](H);return this.init(),this},$.set=function(k,A){return this.clone().$set(k,A)},$.get=function(k){return this[E.p(k)]()},$.add=function(k,A){var x,T=this;k=Number(k);var D=E.p(A),U=function(K){var te=N(T);return E.w(te.date(te.date()+Math.round(K*k)),T)};if(D===d)return this.set(d,this.$M+k);if(D===b)return this.set(b,this.$y+k);if(D===u)return U(1);if(D===f)return U(7);var H=(x={},x[l]=a,x[c]=o,x[i]=r,x)[D]||1,J=this.$d.getTime()+k*H;return E.w(J,this)},$.subtract=function(k,A){return this.add(-1*k,A)},$.format=function(k){var A=this,x=this.$locale();if(!this.isValid())return x.invalidDate||p;var T=k||"YYYY-MM-DDTHH:mm:ssZ",D=E.z(this),U=this.$H,H=this.$m,J=this.$M,K=x.weekdays,te=x.months,Be=x.meridiem,be=function(ne,he,je,nt){return ne&&(ne[he]||ne(A,T))||je[he].slice(0,nt)},Re=function(ne){return E.s(U%12||12,ne,"0")},ke=Be||function(ne,he,je){var nt=ne<12?"AM":"PM";return je?nt.toLowerCase():nt};return T.replace(v,function(ne,he){return he||function(je){switch(je){case"YY":return String(A.$y).slice(-2);case"YYYY":return E.s(A.$y,4,"0");case"M":return J+1;case"MM":return E.s(J+1,2,"0");case"MMM":return be(x.monthsShort,J,te,3);case"MMMM":return be(te,J);case"D":return A.$D;case"DD":return E.s(A.$D,2,"0");case"d":return String(A.$W);case"dd":return be(x.weekdaysMin,A.$W,K,2);case"ddd":return be(x.weekdaysShort,A.$W,K,3);case"dddd":return K[A.$W];case"H":return String(U);case"HH":return E.s(U,2,"0");case"h":return Re(1);case"hh":return Re(2);case"a":return ke(U,H,!0);case"A":return ke(U,H,!1);case"m":return String(H);case"mm":return E.s(H,2,"0");case"s":return String(A.$s);case"ss":return E.s(A.$s,2,"0");case"SSS":return E.s(A.$ms,3,"0");case"Z":return D}return null}(ne)||D.replace(":","")})},$.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},$.diff=function(k,A,x){var T,D=this,U=E.p(A),H=N(k),J=(H.utcOffset()-this.utcOffset())*a,K=this-H,te=function(){return E.m(D,H)};switch(U){case b:T=te()/12;break;case d:T=te();break;case h:T=te()/3;break;case f:T=(K-J)/6048e5;break;case u:T=(K-J)/864e5;break;case c:T=K/o;break;case l:T=K/a;break;case i:T=K/r;break;default:T=K}return x?T:E.a(T)},$.daysInMonth=function(){return this.endOf(d).$D},$.$locale=function(){return F[this.$L]},$.locale=function(k,A){if(!k)return this.$L;var x=this.clone(),T=z(k,A,!0);return T&&(x.$L=T),x},$.clone=function(){return E.w(this.$d,this)},$.toDate=function(){return new Date(this.valueOf())},$.toJSON=function(){return this.isValid()?this.toISOString():null},$.toISOString=function(){return this.$d.toISOString()},$.toString=function(){return this.$d.toUTCString()},B}(),C=_.prototype;return N.prototype=C,[["$ms",s],["$s",i],["$m",l],["$H",c],["$W",u],["$M",d],["$y",b],["$D",m]].forEach(function(B){C[B[1]]=function($){return this.$g($,B[0],B[1])}}),N.extend=function(B,$){return B.$i||(B($,_,N),B.$i=!0),N},N.locale=z,N.isDayjs=W,N.unix=function(B){return N(1e3*B)},N.en=F[I],N.Ls=F,N.p={},N})})(La);var Jc=La.exports;const G=Va(Jc),Kc={key:0,class:"s-datepicker-radio"},Gc={class:"s-datepicker-main"},Xc={class:"s-datepicker-input"},Zc=["value"],Qc={class:"s-datepicker-input-icon"},eu={class:"s-datepicker-calendar-header-data"},tu={class:"calendar-grid"},nu=["onMousedown","onMouseover"],ru={key:0,class:"splitter"},za={__name:"SDatePicker",props:n.mergeModels({range:Boolean,valueFormat:{type:String,default:"YYYYMMDD"},inputFormat:{type:String,default:"DD.MM.YYYY"},min:String,max:String,numberOfMonths:Number,weekDayNames:{type:Array,default(){return["Пн","Вт","Ср","Чт","Пт","Сб","Вс"]}},monthNames:{type:Array,default(){return["Январь","Февраль","Март","Апрель","Май","Июнь","Июль","Август","Сентябрь","Октябрь","Ноябрь","Декабрь"]}},buttons:Object},{modelValue:{},modelModifiers:{}}),emits:n.mergeModels(["update:modelValue","selectedInterval"],["update:modelValue"]),setup(e,{emit:t}){const r=e,a=n.useModel(e,"modelValue"),o=n.computed(()=>{let N=a.value;if(N===null&&r.buttons){const[E,_]=Object.values(r.buttons)[0].split("-");N=[E,_]}return r.valueFormat==="YYYYMMDD"||N===null?JSON.parse(JSON.stringify(N)):Array.isArray(N)?N.map(E=>G(E,r.valueFormat).format("YYYYMMDD")):G(N,r.valueFormat).format("YYYYMMDD")}),s=n.computed({get:()=>{var N,E;return(E=(N=o.value)==null?void 0:N.join("-"))!=null?E:""},set:N=>{a.value=N.split("-")}}),i=n.computed(()=>{var N;return(N=r.numberOfMonths)!=null?N:r.range?2:1}),l=n.computed(()=>r.range&&Array.isArray(o.value)?o.value.filter(Boolean).map(N=>G(N,r.valueFormat).format(r.inputFormat)).join(" — "):o.value?G(o.value,r.valueFormat).format(r.inputFormat):"Дата не выбрана"),c=n.ref(G().format("YYYY")),u=n.ref(G().format("MM")),f=n.computed(()=>{const N=[];for(let E=0;E<i.value;E++){let _=c.value+Math.floor((u.value-1+E)/12),C=(u.value-1+E)%12+1,B=(G().year(_).month(C-1).startOf("month").day()+6)%7,$=G().year(_).month(C-2).daysInMonth(),k=G().year(_).month(C-1).daysInMonth(),A=(7-(k+B)%7)%7;N.push({year:_,month:C,daysInMonth:k,daysInPreviousMonth:$,previousMonthDaysTail:B,leadingNextMonthDays:A})}return N});function d(){c.value=u.value===1?c.value-1:c.value,u.value=u.value===1?12:u.value-1}function h(){c.value=u.value===12?c.value+1:c.value,u.value=u.value===12?1:u.value+1}const b=(N,E,_)=>N+(E<10?"0":"")+E+(_<10?"0":"")+_,m=n.ref(!1);n.watch(m,N=>{if(N===!1)return;const E=a.value instanceof Array?a.value[0]:a.value;if(E===null){u.value=G().month()+1,c.value=G().year();return}u.value=G(E,r.valueFormat).month()+1,c.value=G(E,r.valueFormat).year()});const p=(N,E,_)=>o.value instanceof Array?M.value?M.value===b(N,E,_):o.value.includes(b(N,E,_)):o.value===b(N,E,_),g=n.ref(null),v=(N,E,_)=>g.value=b(N,E,_),S=()=>g.value=null,O=n.computed(()=>{if(!r.range)return null;if(M.value){if(!g.value)return null;const N=M.value<g.value?M.value:g.value,E=M.value<g.value?g.value:M.value;return[N,E]}else if(o.value)return o.value;return null}),R=function(N,E,_){return O.value&&O.value[0]<=b(N,E,_)&&O.value[1]>=b(N,E,_)};function I(N,E,_){const C=r.min?G(r.min,"YYYY-MM-DD"):null,B=r.max?G(r.max,"YYYY-MM-DD"):null,$=G().year(N).month(E-1).date(_);return $.isBefore(C,"day")||$.isAfter(B,"day")}function F(N,E,_){return G().year(N).month(E-1).date(_).isSame(G(),"day")}const M=n.ref(null);function W(N,E,_){if(!I(N,E,_))if(!r.range)a.value=G().year(N).month(E-1).date(_).format(r.valueFormat),m.value=!1;else if(!M.value)M.value=b(N,E,_);else{const C=b(N,E,_);let B=M.value<C?M.value:C,$=M.value<C?C:M.value;r.valueFormat!=="YYYYMMDD"&&(B=G(B,"YYYYMMDD").format(r.valueFormat),$=G($,"YYYYMMDD").format(r.valueFormat)),a.value=[B,$],M.value=null,m.value=!1}}xe.useEventListener(document,"mousedown",N=>{m.value=!1,M.value=null});const z=n.computed(()=>r.buttons?Object.fromEntries(Object.entries(r.buttons).map(([N,E])=>[E,N])):[]);return(N,E)=>(n.openBlock(),n.createElementBlock("div",{class:"s-datepicker",onClick:E[3]||(E[3]=_=>m.value=!m.value),onMousedown:E[4]||(E[4]=n.withModifiers(()=>{},["prevent","stop"]))},[e.buttons&&Object.values(e.buttons).length?(n.openBlock(),n.createElementBlock("div",Kc,[n.createVNode($n,{modelValue:s.value,"onUpdate:modelValue":E[0]||(E[0]=_=>s.value=_),options:z.value,buttons:""},null,8,["modelValue","options"])])):n.createCommentVNode("",!0),n.createElementVNode("div",Gc,[n.createElementVNode("div",Xc,[n.createElementVNode("input",{readonly:"",value:l.value},null,8,Zc),n.createElementVNode("span",Qc,[n.createVNode(n.unref(q),{icon:["far","calendar"]})])]),m.value?(n.openBlock(),n.createElementBlock("div",{key:0,class:"s-datepicker-calendar",onClick:E[2]||(E[2]=n.withModifiers(()=>{},["stop"]))},[(n.openBlock(!0),n.createElementBlock(n.Fragment,null,n.renderList(f.value,({month:_,year:C,daysInMonth:B,leadingNextMonthDays:$,previousMonthDaysTail:k,daysInPreviousMonth:A},x)=>(n.openBlock(),n.createElementBlock("div",{class:"s-datepicker-calendar-page",key:`${C}${_}`},[n.createElementVNode("div",null,[n.createElementVNode("div",{class:n.normalizeClass(["s-datepicker-calendar-header",{centered:x!==0&&x!==f.value.length-1}])},[x===0?(n.openBlock(),n.createElementBlock("div",{key:0,class:"s-datepicker-calendar-header-controls",onClick:d},[n.createVNode(n.unref(q),{icon:"chevron-left"})])):n.createCommentVNode("",!0),n.createElementVNode("div",eu,n.toDisplayString(e.monthNames[_-1])+" "+n.toDisplayString(C),1),x===f.value.length-1?(n.openBlock(),n.createElementBlock("div",{key:1,class:"s-datepicker-calendar-header-controls",onClick:h},[n.createVNode(n.unref(q),{icon:"chevron-right"})])):n.createCommentVNode("",!0)],2),n.createElementVNode("div",tu,[(n.openBlock(!0),n.createElementBlock(n.Fragment,null,n.renderList(e.weekDayNames,(T,D)=>(n.openBlock(),n.createElementBlock("span",{key:D,class:"day-name"},n.toDisplayString(T),1))),128)),(n.openBlock(!0),n.createElementBlock(n.Fragment,null,n.renderList(k,T=>(n.openBlock(),n.createElementBlock("div",{key:b(C,_,T),class:"day blocked"},n.toDisplayString(T+A-k),1))),128)),(n.openBlock(!0),n.createElementBlock(n.Fragment,null,n.renderList(B,T=>(n.openBlock(),n.createElementBlock("div",{key:b(C,_,T),class:n.normalizeClass(["day",{selected:p(C,_,T),inrange:R(C,_,T),today:F(C,_,T),blocked:I(C,_,T)}]),onMousedown:D=>W(C,_,T),onMouseover:D=>v(C,_,T),onMouseout:E[1]||(E[1]=D=>S())},n.toDisplayString(T),43,nu))),128)),(n.openBlock(!0),n.createElementBlock(n.Fragment,null,n.renderList($,T=>(n.openBlock(),n.createElementBlock("div",{key:b(C,_,T),class:"day blocked"},n.toDisplayString(T),1))),128))])]),x!==f.value.length-1?(n.openBlock(),n.createElementBlock("div",ru)):n.createCommentVNode("",!0)]))),128))])):n.createCommentVNode("",!0)])],32))}};function Ua(e,t){return function(){return e.apply(t,arguments)}}const{toString:au}=Object.prototype,{getPrototypeOf:Cn}=Object,{iterator:Ct,toStringTag:Ha}=Symbol,Nt=(e=>t=>{const r=au.call(t);return e[r]||(e[r]=r.slice(8,-1).toLowerCase())})(Object.create(null)),ce=e=>(e=e.toLowerCase(),t=>Nt(t)===e),Bt=e=>t=>typeof t===e,{isArray:De}=Array,Me=Bt("undefined");function Ze(e){return e!==null&&!Me(e)&&e.constructor!==null&&!Me(e.constructor)&&re(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const Wa=ce("ArrayBuffer");function ou(e){let t;return typeof ArrayBuffer!="undefined"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&Wa(e.buffer),t}const su=Bt("string"),re=Bt("function"),Ya=Bt("number"),Qe=e=>e!==null&&typeof e=="object",iu=e=>e===!0||e===!1,ft=e=>{if(Nt(e)!=="object")return!1;const t=Cn(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Ha in e)&&!(Ct in e)},lu=e=>{if(!Qe(e)||Ze(e))return!1;try{return Object.keys(e).length===0&&Object.getPrototypeOf(e)===Object.prototype}catch{return!1}},cu=ce("Date"),uu=ce("File"),fu=ce("Blob"),du=ce("FileList"),mu=e=>Qe(e)&&re(e.pipe),pu=e=>{let t;return e&&(typeof FormData=="function"&&e instanceof FormData||re(e.append)&&((t=Nt(e))==="formdata"||t==="object"&&re(e.toString)&&e.toString()==="[object FormData]"))},hu=ce("URLSearchParams"),[vu,gu,yu,bu]=["ReadableStream","Request","Response","Headers"].map(ce),ku=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function et(e,t,{allOwnKeys:r=!1}={}){if(e===null||typeof e=="undefined")return;let a,o;if(typeof e!="object"&&(e=[e]),De(e))for(a=0,o=e.length;a<o;a++)t.call(null,e[a],a,e);else{if(Ze(e))return;const s=r?Object.getOwnPropertyNames(e):Object.keys(e),i=s.length;let l;for(a=0;a<i;a++)l=s[a],t.call(null,e[l],l,e)}}function qa(e,t){if(Ze(e))return null;t=t.toLowerCase();const r=Object.keys(e);let a=r.length,o;for(;a-- >0;)if(o=r[a],t===o.toLowerCase())return o;return null}const we=typeof globalThis!="undefined"?globalThis:typeof self!="undefined"?self:typeof window!="undefined"?window:global,Ja=e=>!Me(e)&&e!==we;function sn(){const{caseless:e,skipUndefined:t}=Ja(this)&&this||{},r={},a=(o,s)=>{const i=e&&qa(r,s)||s;ft(r[i])&&ft(o)?r[i]=sn(r[i],o):ft(o)?r[i]=sn({},o):De(o)?r[i]=o.slice():(!t||!Me(o))&&(r[i]=o)};for(let o=0,s=arguments.length;o<s;o++)arguments[o]&&et(arguments[o],a);return r}const Su=(e,t,r,{allOwnKeys:a}={})=>(et(t,(o,s)=>{r&&re(o)?e[s]=Ua(o,r):e[s]=o},{allOwnKeys:a}),e),wu=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),Eu=(e,t,r,a)=>{e.prototype=Object.create(t.prototype,a),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),r&&Object.assign(e.prototype,r)},xu=(e,t,r,a)=>{let o,s,i;const l={};if(t=t||{},e==null)return t;do{for(o=Object.getOwnPropertyNames(e),s=o.length;s-- >0;)i=o[s],(!a||a(i,e,t))&&!l[i]&&(t[i]=e[i],l[i]=!0);e=r!==!1&&Cn(e)}while(e&&(!r||r(e,t))&&e!==Object.prototype);return t},$u=(e,t,r)=>{e=String(e),(r===void 0||r>e.length)&&(r=e.length),r-=t.length;const a=e.indexOf(t,r);return a!==-1&&a===r},Cu=e=>{if(!e)return null;if(De(e))return e;let t=e.length;if(!Ya(t))return null;const r=new Array(t);for(;t-- >0;)r[t]=e[t];return r},Nu=(e=>t=>e&&t instanceof e)(typeof Uint8Array!="undefined"&&Cn(Uint8Array)),Bu=(e,t)=>{const a=(e&&e[Ct]).call(e);let o;for(;(o=a.next())&&!o.done;){const s=o.value;t.call(e,s[0],s[1])}},Au=(e,t)=>{let r;const a=[];for(;(r=e.exec(t))!==null;)a.push(r);return a},Ou=ce("HTMLFormElement"),Tu=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(r,a,o){return a.toUpperCase()+o}),cr=(({hasOwnProperty:e})=>(t,r)=>e.call(t,r))(Object.prototype),_u=ce("RegExp"),Ka=(e,t)=>{const r=Object.getOwnPropertyDescriptors(e),a={};et(r,(o,s)=>{let i;(i=t(o,s,e))!==!1&&(a[s]=i||o)}),Object.defineProperties(e,a)},Pu=e=>{Ka(e,(t,r)=>{if(re(e)&&["arguments","caller","callee"].indexOf(r)!==-1)return!1;const a=e[r];if(re(a)){if(t.enumerable=!1,"writable"in t){t.writable=!1;return}t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+r+"'")})}})},Mu=(e,t)=>{const r={},a=o=>{o.forEach(s=>{r[s]=!0})};return De(e)?a(e):a(String(e).split(t)),r},Fu=()=>{},Du=(e,t)=>e!=null&&Number.isFinite(e=+e)?e:t;function Iu(e){return!!(e&&re(e.append)&&e[Ha]==="FormData"&&e[Ct])}const Ru=e=>{const t=new Array(10),r=(a,o)=>{if(Qe(a)){if(t.indexOf(a)>=0)return;if(Ze(a))return a;if(!("toJSON"in a)){t[o]=a;const s=De(a)?[]:{};return et(a,(i,l)=>{const c=r(i,o+1);!Me(c)&&(s[l]=c)}),t[o]=void 0,s}}return a};return r(e,0)},ju=ce("AsyncFunction"),Vu=e=>e&&(Qe(e)||re(e))&&re(e.then)&&re(e.catch),Ga=((e,t)=>e?setImmediate:t?((r,a)=>(we.addEventListener("message",({source:o,data:s})=>{o===we&&s===r&&a.length&&a.shift()()},!1),o=>{a.push(o),we.postMessage(r,"*")}))(`axios@${Math.random()}`,[]):r=>setTimeout(r))(typeof setImmediate=="function",re(we.postMessage)),Lu=typeof queueMicrotask!="undefined"?queueMicrotask.bind(we):typeof process!="undefined"&&process.nextTick||Ga,zu=e=>e!=null&&re(e[Ct]),y={isArray:De,isArrayBuffer:Wa,isBuffer:Ze,isFormData:pu,isArrayBufferView:ou,isString:su,isNumber:Ya,isBoolean:iu,isObject:Qe,isPlainObject:ft,isEmptyObject:lu,isReadableStream:vu,isRequest:gu,isResponse:yu,isHeaders:bu,isUndefined:Me,isDate:cu,isFile:uu,isBlob:fu,isRegExp:_u,isFunction:re,isStream:mu,isURLSearchParams:hu,isTypedArray:Nu,isFileList:du,forEach:et,merge:sn,extend:Su,trim:ku,stripBOM:wu,inherits:Eu,toFlatObject:xu,kindOf:Nt,kindOfTest:ce,endsWith:$u,toArray:Cu,forEachEntry:Bu,matchAll:Au,isHTMLForm:Ou,hasOwnProperty:cr,hasOwnProp:cr,reduceDescriptors:Ka,freezeMethods:Pu,toObjectSet:Mu,toCamelCase:Tu,noop:Fu,toFiniteNumber:Du,findKey:qa,global:we,isContextDefined:Ja,isSpecCompliantForm:Iu,toJSONObject:Ru,isAsyncFn:ju,isThenable:Vu,setImmediate:Ga,asap:Lu,isIterable:zu};function j(e,t,r,a,o){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=e,this.name="AxiosError",t&&(this.code=t),r&&(this.config=r),a&&(this.request=a),o&&(this.response=o,this.status=o.status?o.status:null)}y.inherits(j,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:y.toJSONObject(this.config),code:this.code,status:this.status}}});const Xa=j.prototype,Za={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(e=>{Za[e]={value:e}});Object.defineProperties(j,Za);Object.defineProperty(Xa,"isAxiosError",{value:!0});j.from=(e,t,r,a,o,s)=>{const i=Object.create(Xa);y.toFlatObject(e,i,function(f){return f!==Error.prototype},u=>u!=="isAxiosError");const l=e&&e.message?e.message:"Error",c=t==null&&e?e.code:t;return j.call(i,l,c,r,a,o),e&&i.cause==null&&Object.defineProperty(i,"cause",{value:e,configurable:!0}),i.name=e&&e.name||"Error",s&&Object.assign(i,s),i};const Uu=null;function ln(e){return y.isPlainObject(e)||y.isArray(e)}function Qa(e){return y.endsWith(e,"[]")?e.slice(0,-2):e}function ur(e,t,r){return e?e.concat(t).map(function(o,s){return o=Qa(o),!r&&s?"["+o+"]":o}).join(r?".":""):t}function Hu(e){return y.isArray(e)&&!e.some(ln)}const Wu=y.toFlatObject(y,{},null,function(t){return/^is[A-Z]/.test(t)});function At(e,t,r){if(!y.isObject(e))throw new TypeError("target must be an object");t=t||new FormData,r=y.toFlatObject(r,{metaTokens:!0,dots:!1,indexes:!1},!1,function(p,g){return!y.isUndefined(g[p])});const a=r.metaTokens,o=r.visitor||f,s=r.dots,i=r.indexes,c=(r.Blob||typeof Blob!="undefined"&&Blob)&&y.isSpecCompliantForm(t);if(!y.isFunction(o))throw new TypeError("visitor must be a function");function u(m){if(m===null)return"";if(y.isDate(m))return m.toISOString();if(y.isBoolean(m))return m.toString();if(!c&&y.isBlob(m))throw new j("Blob is not supported. Use a Buffer instead.");return y.isArrayBuffer(m)||y.isTypedArray(m)?c&&typeof Blob=="function"?new Blob([m]):Buffer.from(m):m}function f(m,p,g){let v=m;if(m&&!g&&typeof m=="object"){if(y.endsWith(p,"{}"))p=a?p:p.slice(0,-2),m=JSON.stringify(m);else if(y.isArray(m)&&Hu(m)||(y.isFileList(m)||y.endsWith(p,"[]"))&&(v=y.toArray(m)))return p=Qa(p),v.forEach(function(O,R){!(y.isUndefined(O)||O===null)&&t.append(i===!0?ur([p],R,s):i===null?p:p+"[]",u(O))}),!1}return ln(m)?!0:(t.append(ur(g,p,s),u(m)),!1)}const d=[],h=Object.assign(Wu,{defaultVisitor:f,convertValue:u,isVisitable:ln});function b(m,p){if(!y.isUndefined(m)){if(d.indexOf(m)!==-1)throw Error("Circular reference detected in "+p.join("."));d.push(m),y.forEach(m,function(v,S){(!(y.isUndefined(v)||v===null)&&o.call(t,v,y.isString(S)?S.trim():S,p,h))===!0&&b(v,p?p.concat(S):[S])}),d.pop()}}if(!y.isObject(e))throw new TypeError("data must be an object");return b(e),t}function fr(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(a){return t[a]})}function Nn(e,t){this._pairs=[],e&&At(e,this,t)}const eo=Nn.prototype;eo.append=function(t,r){this._pairs.push([t,r])};eo.toString=function(t){const r=t?function(a){return t.call(this,a,fr)}:fr;return this._pairs.map(function(o){return r(o[0])+"="+r(o[1])},"").join("&")};function Yu(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+")}function to(e,t,r){if(!t)return e;const a=r&&r.encode||Yu;y.isFunction(r)&&(r={serialize:r});const o=r&&r.serialize;let s;if(o?s=o(t,r):s=y.isURLSearchParams(t)?t.toString():new Nn(t,r).toString(a),s){const i=e.indexOf("#");i!==-1&&(e=e.slice(0,i)),e+=(e.indexOf("?")===-1?"?":"&")+s}return e}class dr{constructor(){this.handlers=[]}use(t,r,a){return this.handlers.push({fulfilled:t,rejected:r,synchronous:a?a.synchronous:!1,runWhen:a?a.runWhen:null}),this.handlers.length-1}eject(t){this.handlers[t]&&(this.handlers[t]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(t){y.forEach(this.handlers,function(a){a!==null&&t(a)})}}const no={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},qu=typeof URLSearchParams!="undefined"?URLSearchParams:Nn,Ju=typeof FormData!="undefined"?FormData:null,Ku=typeof Blob!="undefined"?Blob:null,Gu={isBrowser:!0,classes:{URLSearchParams:qu,FormData:Ju,Blob:Ku},protocols:["http","https","file","blob","url","data"]},Bn=typeof window!="undefined"&&typeof document!="undefined",cn=typeof navigator=="object"&&navigator||void 0,Xu=Bn&&(!cn||["ReactNative","NativeScript","NS"].indexOf(cn.product)<0),Zu=typeof WorkerGlobalScope!="undefined"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",Qu=Bn&&window.location.href||"http://localhost",ef=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:Bn,hasStandardBrowserEnv:Xu,hasStandardBrowserWebWorkerEnv:Zu,navigator:cn,origin:Qu},Symbol.toStringTag,{value:"Module"})),ee={...ef,...Gu};function tf(e,t){return At(e,new ee.classes.URLSearchParams,{visitor:function(r,a,o,s){return ee.isNode&&y.isBuffer(r)?(this.append(a,r.toString("base64")),!1):s.defaultVisitor.apply(this,arguments)},...t})}function nf(e){return y.matchAll(/\w+|\[(\w*)]/g,e).map(t=>t[0]==="[]"?"":t[1]||t[0])}function rf(e){const t={},r=Object.keys(e);let a;const o=r.length;let s;for(a=0;a<o;a++)s=r[a],t[s]=e[s];return t}function ro(e){function t(r,a,o,s){let i=r[s++];if(i==="__proto__")return!0;const l=Number.isFinite(+i),c=s>=r.length;return i=!i&&y.isArray(o)?o.length:i,c?(y.hasOwnProp(o,i)?o[i]=[o[i],a]:o[i]=a,!l):((!o[i]||!y.isObject(o[i]))&&(o[i]=[]),t(r,a,o[i],s)&&y.isArray(o[i])&&(o[i]=rf(o[i])),!l)}if(y.isFormData(e)&&y.isFunction(e.entries)){const r={};return y.forEachEntry(e,(a,o)=>{t(nf(a),o,r,0)}),r}return null}function af(e,t,r){if(y.isString(e))try{return(t||JSON.parse)(e),y.trim(e)}catch(a){if(a.name!=="SyntaxError")throw a}return(r||JSON.stringify)(e)}const tt={transitional:no,adapter:["xhr","http","fetch"],transformRequest:[function(t,r){const a=r.getContentType()||"",o=a.indexOf("application/json")>-1,s=y.isObject(t);if(s&&y.isHTMLForm(t)&&(t=new FormData(t)),y.isFormData(t))return o?JSON.stringify(ro(t)):t;if(y.isArrayBuffer(t)||y.isBuffer(t)||y.isStream(t)||y.isFile(t)||y.isBlob(t)||y.isReadableStream(t))return t;if(y.isArrayBufferView(t))return t.buffer;if(y.isURLSearchParams(t))return r.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let l;if(s){if(a.indexOf("application/x-www-form-urlencoded")>-1)return tf(t,this.formSerializer).toString();if((l=y.isFileList(t))||a.indexOf("multipart/form-data")>-1){const c=this.env&&this.env.FormData;return At(l?{"files[]":t}:t,c&&new c,this.formSerializer)}}return s||o?(r.setContentType("application/json",!1),af(t)):t}],transformResponse:[function(t){const r=this.transitional||tt.transitional,a=r&&r.forcedJSONParsing,o=this.responseType==="json";if(y.isResponse(t)||y.isReadableStream(t))return t;if(t&&y.isString(t)&&(a&&!this.responseType||o)){const i=!(r&&r.silentJSONParsing)&&o;try{return JSON.parse(t,this.parseReviver)}catch(l){if(i)throw l.name==="SyntaxError"?j.from(l,j.ERR_BAD_RESPONSE,this,null,this.response):l}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:ee.classes.FormData,Blob:ee.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};y.forEach(["delete","get","head","post","put","patch"],e=>{tt.headers[e]={}});const of=y.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),sf=e=>{const t={};let r,a,o;return e&&e.split(`
563
+ `).forEach(function(i){o=i.indexOf(":"),r=i.substring(0,o).trim().toLowerCase(),a=i.substring(o+1).trim(),!(!r||t[r]&&of[r])&&(r==="set-cookie"?t[r]?t[r].push(a):t[r]=[a]:t[r]=t[r]?t[r]+", "+a:a)}),t},mr=Symbol("internals");function Ve(e){return e&&String(e).trim().toLowerCase()}function dt(e){return e===!1||e==null?e:y.isArray(e)?e.map(dt):String(e)}function lf(e){const t=Object.create(null),r=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let a;for(;a=r.exec(e);)t[a[1]]=a[2];return t}const cf=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function Rt(e,t,r,a,o){if(y.isFunction(a))return a.call(this,t,r);if(o&&(t=r),!!y.isString(t)){if(y.isString(a))return t.indexOf(a)!==-1;if(y.isRegExp(a))return a.test(t)}}function uf(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,r,a)=>r.toUpperCase()+a)}function ff(e,t){const r=y.toCamelCase(" "+t);["get","set","has"].forEach(a=>{Object.defineProperty(e,a+r,{value:function(o,s,i){return this[a].call(this,t,o,s,i)},configurable:!0})})}let ae=class{constructor(t){t&&this.set(t)}set(t,r,a){const o=this;function s(l,c,u){const f=Ve(c);if(!f)throw new Error("header name must be a non-empty string");const d=y.findKey(o,f);(!d||o[d]===void 0||u===!0||u===void 0&&o[d]!==!1)&&(o[d||c]=dt(l))}const i=(l,c)=>y.forEach(l,(u,f)=>s(u,f,c));if(y.isPlainObject(t)||t instanceof this.constructor)i(t,r);else if(y.isString(t)&&(t=t.trim())&&!cf(t))i(sf(t),r);else if(y.isObject(t)&&y.isIterable(t)){let l={},c,u;for(const f of t){if(!y.isArray(f))throw TypeError("Object iterator must return a key-value pair");l[u=f[0]]=(c=l[u])?y.isArray(c)?[...c,f[1]]:[c,f[1]]:f[1]}i(l,r)}else t!=null&&s(r,t,a);return this}get(t,r){if(t=Ve(t),t){const a=y.findKey(this,t);if(a){const o=this[a];if(!r)return o;if(r===!0)return lf(o);if(y.isFunction(r))return r.call(this,o,a);if(y.isRegExp(r))return r.exec(o);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,r){if(t=Ve(t),t){const a=y.findKey(this,t);return!!(a&&this[a]!==void 0&&(!r||Rt(this,this[a],a,r)))}return!1}delete(t,r){const a=this;let o=!1;function s(i){if(i=Ve(i),i){const l=y.findKey(a,i);l&&(!r||Rt(a,a[l],l,r))&&(delete a[l],o=!0)}}return y.isArray(t)?t.forEach(s):s(t),o}clear(t){const r=Object.keys(this);let a=r.length,o=!1;for(;a--;){const s=r[a];(!t||Rt(this,this[s],s,t,!0))&&(delete this[s],o=!0)}return o}normalize(t){const r=this,a={};return y.forEach(this,(o,s)=>{const i=y.findKey(a,s);if(i){r[i]=dt(o),delete r[s];return}const l=t?uf(s):String(s).trim();l!==s&&delete r[s],r[l]=dt(o),a[l]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const r=Object.create(null);return y.forEach(this,(a,o)=>{a!=null&&a!==!1&&(r[o]=t&&y.isArray(a)?a.join(", "):a)}),r}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([t,r])=>t+": "+r).join(`
564
+ `)}getSetCookie(){return this.get("set-cookie")||[]}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...r){const a=new this(t);return r.forEach(o=>a.set(o)),a}static accessor(t){const a=(this[mr]=this[mr]={accessors:{}}).accessors,o=this.prototype;function s(i){const l=Ve(i);a[l]||(ff(o,i),a[l]=!0)}return y.isArray(t)?t.forEach(s):s(t),this}};ae.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);y.reduceDescriptors(ae.prototype,({value:e},t)=>{let r=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(a){this[r]=a}}});y.freezeMethods(ae);function jt(e,t){const r=this||tt,a=t||r,o=ae.from(a.headers);let s=a.data;return y.forEach(e,function(l){s=l.call(r,s,o.normalize(),t?t.status:void 0)}),o.normalize(),s}function ao(e){return!!(e&&e.__CANCEL__)}function Ie(e,t,r){j.call(this,e==null?"canceled":e,j.ERR_CANCELED,t,r),this.name="CanceledError"}y.inherits(Ie,j,{__CANCEL__:!0});function oo(e,t,r){const a=r.config.validateStatus;!r.status||!a||a(r.status)?e(r):t(new j("Request failed with status code "+r.status,[j.ERR_BAD_REQUEST,j.ERR_BAD_RESPONSE][Math.floor(r.status/100)-4],r.config,r.request,r))}function df(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function mf(e,t){e=e||10;const r=new Array(e),a=new Array(e);let o=0,s=0,i;return t=t!==void 0?t:1e3,function(c){const u=Date.now(),f=a[s];i||(i=u),r[o]=c,a[o]=u;let d=s,h=0;for(;d!==o;)h+=r[d++],d=d%e;if(o=(o+1)%e,o===s&&(s=(s+1)%e),u-i<t)return;const b=f&&u-f;return b?Math.round(h*1e3/b):void 0}}function pf(e,t){let r=0,a=1e3/t,o,s;const i=(u,f=Date.now())=>{r=f,o=null,s&&(clearTimeout(s),s=null),e(...u)};return[(...u)=>{const f=Date.now(),d=f-r;d>=a?i(u,f):(o=u,s||(s=setTimeout(()=>{s=null,i(o)},a-d)))},()=>o&&i(o)]}const kt=(e,t,r=3)=>{let a=0;const o=mf(50,250);return pf(s=>{const i=s.loaded,l=s.lengthComputable?s.total:void 0,c=i-a,u=o(c),f=i<=l;a=i;const d={loaded:i,total:l,progress:l?i/l:void 0,bytes:c,rate:u||void 0,estimated:u&&l&&f?(l-i)/u:void 0,event:s,lengthComputable:l!=null,[t?"download":"upload"]:!0};e(d)},r)},pr=(e,t)=>{const r=e!=null;return[a=>t[0]({lengthComputable:r,total:e,loaded:a}),t[1]]},hr=e=>(...t)=>y.asap(()=>e(...t)),hf=ee.hasStandardBrowserEnv?((e,t)=>r=>(r=new URL(r,ee.origin),e.protocol===r.protocol&&e.host===r.host&&(t||e.port===r.port)))(new URL(ee.origin),ee.navigator&&/(msie|trident)/i.test(ee.navigator.userAgent)):()=>!0,vf=ee.hasStandardBrowserEnv?{write(e,t,r,a,o,s,i){if(typeof document=="undefined")return;const l=[`${e}=${encodeURIComponent(t)}`];y.isNumber(r)&&l.push(`expires=${new Date(r).toUTCString()}`),y.isString(a)&&l.push(`path=${a}`),y.isString(o)&&l.push(`domain=${o}`),s===!0&&l.push("secure"),y.isString(i)&&l.push(`SameSite=${i}`),document.cookie=l.join("; ")},read(e){if(typeof document=="undefined")return null;const t=document.cookie.match(new RegExp("(?:^|; )"+e+"=([^;]*)"));return t?decodeURIComponent(t[1]):null},remove(e){this.write(e,"",Date.now()-864e5,"/")}}:{write(){},read(){return null},remove(){}};function gf(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function yf(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}function so(e,t,r){let a=!gf(t);return e&&(a||r==!1)?yf(e,t):t}const vr=e=>e instanceof ae?{...e}:e;function Ne(e,t){t=t||{};const r={};function a(u,f,d,h){return y.isPlainObject(u)&&y.isPlainObject(f)?y.merge.call({caseless:h},u,f):y.isPlainObject(f)?y.merge({},f):y.isArray(f)?f.slice():f}function o(u,f,d,h){if(y.isUndefined(f)){if(!y.isUndefined(u))return a(void 0,u,d,h)}else return a(u,f,d,h)}function s(u,f){if(!y.isUndefined(f))return a(void 0,f)}function i(u,f){if(y.isUndefined(f)){if(!y.isUndefined(u))return a(void 0,u)}else return a(void 0,f)}function l(u,f,d){if(d in t)return a(u,f);if(d in e)return a(void 0,u)}const c={url:s,method:s,data:s,baseURL:i,transformRequest:i,transformResponse:i,paramsSerializer:i,timeout:i,timeoutMessage:i,withCredentials:i,withXSRFToken:i,adapter:i,responseType:i,xsrfCookieName:i,xsrfHeaderName:i,onUploadProgress:i,onDownloadProgress:i,decompress:i,maxContentLength:i,maxBodyLength:i,beforeRedirect:i,transport:i,httpAgent:i,httpsAgent:i,cancelToken:i,socketPath:i,responseEncoding:i,validateStatus:l,headers:(u,f,d)=>o(vr(u),vr(f),d,!0)};return y.forEach(Object.keys({...e,...t}),function(f){const d=c[f]||o,h=d(e[f],t[f],f);y.isUndefined(h)&&d!==l||(r[f]=h)}),r}const io=e=>{const t=Ne({},e);let{data:r,withXSRFToken:a,xsrfHeaderName:o,xsrfCookieName:s,headers:i,auth:l}=t;if(t.headers=i=ae.from(i),t.url=to(so(t.baseURL,t.url,t.allowAbsoluteUrls),e.params,e.paramsSerializer),l&&i.set("Authorization","Basic "+btoa((l.username||"")+":"+(l.password?unescape(encodeURIComponent(l.password)):""))),y.isFormData(r)){if(ee.hasStandardBrowserEnv||ee.hasStandardBrowserWebWorkerEnv)i.setContentType(void 0);else if(y.isFunction(r.getHeaders)){const c=r.getHeaders(),u=["content-type","content-length"];Object.entries(c).forEach(([f,d])=>{u.includes(f.toLowerCase())&&i.set(f,d)})}}if(ee.hasStandardBrowserEnv&&(a&&y.isFunction(a)&&(a=a(t)),a||a!==!1&&hf(t.url))){const c=o&&s&&vf.read(s);c&&i.set(o,c)}return t},bf=typeof XMLHttpRequest!="undefined",kf=bf&&function(e){return new Promise(function(r,a){const o=io(e);let s=o.data;const i=ae.from(o.headers).normalize();let{responseType:l,onUploadProgress:c,onDownloadProgress:u}=o,f,d,h,b,m;function p(){b&&b(),m&&m(),o.cancelToken&&o.cancelToken.unsubscribe(f),o.signal&&o.signal.removeEventListener("abort",f)}let g=new XMLHttpRequest;g.open(o.method.toUpperCase(),o.url,!0),g.timeout=o.timeout;function v(){if(!g)return;const O=ae.from("getAllResponseHeaders"in g&&g.getAllResponseHeaders()),I={data:!l||l==="text"||l==="json"?g.responseText:g.response,status:g.status,statusText:g.statusText,headers:O,config:e,request:g};oo(function(M){r(M),p()},function(M){a(M),p()},I),g=null}"onloadend"in g?g.onloadend=v:g.onreadystatechange=function(){!g||g.readyState!==4||g.status===0&&!(g.responseURL&&g.responseURL.indexOf("file:")===0)||setTimeout(v)},g.onabort=function(){g&&(a(new j("Request aborted",j.ECONNABORTED,e,g)),g=null)},g.onerror=function(R){const I=R&&R.message?R.message:"Network Error",F=new j(I,j.ERR_NETWORK,e,g);F.event=R||null,a(F),g=null},g.ontimeout=function(){let R=o.timeout?"timeout of "+o.timeout+"ms exceeded":"timeout exceeded";const I=o.transitional||no;o.timeoutErrorMessage&&(R=o.timeoutErrorMessage),a(new j(R,I.clarifyTimeoutError?j.ETIMEDOUT:j.ECONNABORTED,e,g)),g=null},s===void 0&&i.setContentType(null),"setRequestHeader"in g&&y.forEach(i.toJSON(),function(R,I){g.setRequestHeader(I,R)}),y.isUndefined(o.withCredentials)||(g.withCredentials=!!o.withCredentials),l&&l!=="json"&&(g.responseType=o.responseType),u&&([h,m]=kt(u,!0),g.addEventListener("progress",h)),c&&g.upload&&([d,b]=kt(c),g.upload.addEventListener("progress",d),g.upload.addEventListener("loadend",b)),(o.cancelToken||o.signal)&&(f=O=>{g&&(a(!O||O.type?new Ie(null,e,g):O),g.abort(),g=null)},o.cancelToken&&o.cancelToken.subscribe(f),o.signal&&(o.signal.aborted?f():o.signal.addEventListener("abort",f)));const S=df(o.url);if(S&&ee.protocols.indexOf(S)===-1){a(new j("Unsupported protocol "+S+":",j.ERR_BAD_REQUEST,e));return}g.send(s||null)})},Sf=(e,t)=>{const{length:r}=e=e?e.filter(Boolean):[];if(t||r){let a=new AbortController,o;const s=function(u){if(!o){o=!0,l();const f=u instanceof Error?u:this.reason;a.abort(f instanceof j?f:new Ie(f instanceof Error?f.message:f))}};let i=t&&setTimeout(()=>{i=null,s(new j(`timeout ${t} of ms exceeded`,j.ETIMEDOUT))},t);const l=()=>{e&&(i&&clearTimeout(i),i=null,e.forEach(u=>{u.unsubscribe?u.unsubscribe(s):u.removeEventListener("abort",s)}),e=null)};e.forEach(u=>u.addEventListener("abort",s));const{signal:c}=a;return c.unsubscribe=()=>y.asap(l),c}},wf=function*(e,t){let r=e.byteLength;if(r<t){yield e;return}let a=0,o;for(;a<r;)o=a+t,yield e.slice(a,o),a=o},Ef=async function*(e,t){for await(const r of xf(e))yield*wf(r,t)},xf=async function*(e){if(e[Symbol.asyncIterator]){yield*e;return}const t=e.getReader();try{for(;;){const{done:r,value:a}=await t.read();if(r)break;yield a}}finally{await t.cancel()}},gr=(e,t,r,a)=>{const o=Ef(e,t);let s=0,i,l=c=>{i||(i=!0,a&&a(c))};return new ReadableStream({async pull(c){try{const{done:u,value:f}=await o.next();if(u){l(),c.close();return}let d=f.byteLength;if(r){let h=s+=d;r(h)}c.enqueue(new Uint8Array(f))}catch(u){throw l(u),u}},cancel(c){return l(c),o.return()}},{highWaterMark:2})},yr=64*1024,{isFunction:ot}=y,$f=(({Request:e,Response:t})=>({Request:e,Response:t}))(y.global),{ReadableStream:br,TextEncoder:kr}=y.global,Sr=(e,...t)=>{try{return!!e(...t)}catch{return!1}},Cf=e=>{e=y.merge.call({skipUndefined:!0},$f,e);const{fetch:t,Request:r,Response:a}=e,o=t?ot(t):typeof fetch=="function",s=ot(r),i=ot(a);if(!o)return!1;const l=o&&ot(br),c=o&&(typeof kr=="function"?(m=>p=>m.encode(p))(new kr):async m=>new Uint8Array(await new r(m).arrayBuffer())),u=s&&l&&Sr(()=>{let m=!1;const p=new r(ee.origin,{body:new br,method:"POST",get duplex(){return m=!0,"half"}}).headers.has("Content-Type");return m&&!p}),f=i&&l&&Sr(()=>y.isReadableStream(new a("").body)),d={stream:f&&(m=>m.body)};o&&["text","arrayBuffer","blob","formData","stream"].forEach(m=>{!d[m]&&(d[m]=(p,g)=>{let v=p&&p[m];if(v)return v.call(p);throw new j(`Response type '${m}' is not supported`,j.ERR_NOT_SUPPORT,g)})});const h=async m=>{if(m==null)return 0;if(y.isBlob(m))return m.size;if(y.isSpecCompliantForm(m))return(await new r(ee.origin,{method:"POST",body:m}).arrayBuffer()).byteLength;if(y.isArrayBufferView(m)||y.isArrayBuffer(m))return m.byteLength;if(y.isURLSearchParams(m)&&(m=m+""),y.isString(m))return(await c(m)).byteLength},b=async(m,p)=>{const g=y.toFiniteNumber(m.getContentLength());return g==null?h(p):g};return async m=>{let{url:p,method:g,data:v,signal:S,cancelToken:O,timeout:R,onDownloadProgress:I,onUploadProgress:F,responseType:M,headers:W,withCredentials:z="same-origin",fetchOptions:N}=io(m),E=t||fetch;M=M?(M+"").toLowerCase():"text";let _=Sf([S,O&&O.toAbortSignal()],R),C=null;const B=_&&_.unsubscribe&&(()=>{_.unsubscribe()});let $;try{if(F&&u&&g!=="get"&&g!=="head"&&($=await b(W,v))!==0){let U=new r(p,{method:"POST",body:v,duplex:"half"}),H;if(y.isFormData(v)&&(H=U.headers.get("content-type"))&&W.setContentType(H),U.body){const[J,K]=pr($,kt(hr(F)));v=gr(U.body,yr,J,K)}}y.isString(z)||(z=z?"include":"omit");const k=s&&"credentials"in r.prototype,A={...N,signal:_,method:g.toUpperCase(),headers:W.normalize().toJSON(),body:v,duplex:"half",credentials:k?z:void 0};C=s&&new r(p,A);let x=await(s?E(C,N):E(p,A));const T=f&&(M==="stream"||M==="response");if(f&&(I||T&&B)){const U={};["status","statusText","headers"].forEach(te=>{U[te]=x[te]});const H=y.toFiniteNumber(x.headers.get("content-length")),[J,K]=I&&pr(H,kt(hr(I),!0))||[];x=new a(gr(x.body,yr,J,()=>{K&&K(),B&&B()}),U)}M=M||"text";let D=await d[y.findKey(d,M)||"text"](x,m);return!T&&B&&B(),await new Promise((U,H)=>{oo(U,H,{data:D,headers:ae.from(x.headers),status:x.status,statusText:x.statusText,config:m,request:C})})}catch(k){throw B&&B(),k&&k.name==="TypeError"&&/Load failed|fetch/i.test(k.message)?Object.assign(new j("Network Error",j.ERR_NETWORK,m,C),{cause:k.cause||k}):j.from(k,k&&k.code,m,C)}}},Nf=new Map,lo=e=>{let t=e&&e.env||{};const{fetch:r,Request:a,Response:o}=t,s=[a,o,r];let i=s.length,l=i,c,u,f=Nf;for(;l--;)c=s[l],u=f.get(c),u===void 0&&f.set(c,u=l?new Map:Cf(t)),f=u;return u};lo();const An={http:Uu,xhr:kf,fetch:{get:lo}};y.forEach(An,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch{}Object.defineProperty(e,"adapterName",{value:t})}});const wr=e=>`- ${e}`,Bf=e=>y.isFunction(e)||e===null||e===!1;function Af(e,t){e=y.isArray(e)?e:[e];const{length:r}=e;let a,o;const s={};for(let i=0;i<r;i++){a=e[i];let l;if(o=a,!Bf(a)&&(o=An[(l=String(a)).toLowerCase()],o===void 0))throw new j(`Unknown adapter '${l}'`);if(o&&(y.isFunction(o)||(o=o.get(t))))break;s[l||"#"+i]=o}if(!o){const i=Object.entries(s).map(([c,u])=>`adapter ${c} `+(u===!1?"is not supported by the environment":"is not available in the build"));let l=r?i.length>1?`since :
565
+ `+i.map(wr).join(`
566
+ `):" "+wr(i[0]):"as no adapter specified";throw new j("There is no suitable adapter to dispatch the request "+l,"ERR_NOT_SUPPORT")}return o}const co={getAdapter:Af,adapters:An};function Vt(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new Ie(null,e)}function Er(e){return Vt(e),e.headers=ae.from(e.headers),e.data=jt.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),co.getAdapter(e.adapter||tt.adapter,e)(e).then(function(a){return Vt(e),a.data=jt.call(e,e.transformResponse,a),a.headers=ae.from(a.headers),a},function(a){return ao(a)||(Vt(e),a&&a.response&&(a.response.data=jt.call(e,e.transformResponse,a.response),a.response.headers=ae.from(a.response.headers))),Promise.reject(a)})}const uo="1.13.2",Ot={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{Ot[e]=function(a){return typeof a===e||"a"+(t<1?"n ":" ")+e}});const xr={};Ot.transitional=function(t,r,a){function o(s,i){return"[Axios v"+uo+"] Transitional option '"+s+"'"+i+(a?". "+a:"")}return(s,i,l)=>{if(t===!1)throw new j(o(i," has been removed"+(r?" in "+r:"")),j.ERR_DEPRECATED);return r&&!xr[i]&&(xr[i]=!0,console.warn(o(i," has been deprecated since v"+r+" and will be removed in the near future"))),t?t(s,i,l):!0}};Ot.spelling=function(t){return(r,a)=>(console.warn(`${a} is likely a misspelling of ${t}`),!0)};function Of(e,t,r){if(typeof e!="object")throw new j("options must be an object",j.ERR_BAD_OPTION_VALUE);const a=Object.keys(e);let o=a.length;for(;o-- >0;){const s=a[o],i=t[s];if(i){const l=e[s],c=l===void 0||i(l,s,e);if(c!==!0)throw new j("option "+s+" must be "+c,j.ERR_BAD_OPTION_VALUE);continue}if(r!==!0)throw new j("Unknown option "+s,j.ERR_BAD_OPTION)}}const mt={assertOptions:Of,validators:Ot},ue=mt.validators;let Ee=class{constructor(t){this.defaults=t||{},this.interceptors={request:new dr,response:new dr}}async request(t,r){try{return await this._request(t,r)}catch(a){if(a instanceof Error){let o={};Error.captureStackTrace?Error.captureStackTrace(o):o=new Error;const s=o.stack?o.stack.replace(/^.+\n/,""):"";try{a.stack?s&&!String(a.stack).endsWith(s.replace(/^.+\n.+\n/,""))&&(a.stack+=`
567
+ `+s):a.stack=s}catch{}}throw a}}_request(t,r){typeof t=="string"?(r=r||{},r.url=t):r=t||{},r=Ne(this.defaults,r);const{transitional:a,paramsSerializer:o,headers:s}=r;a!==void 0&&mt.assertOptions(a,{silentJSONParsing:ue.transitional(ue.boolean),forcedJSONParsing:ue.transitional(ue.boolean),clarifyTimeoutError:ue.transitional(ue.boolean)},!1),o!=null&&(y.isFunction(o)?r.paramsSerializer={serialize:o}:mt.assertOptions(o,{encode:ue.function,serialize:ue.function},!0)),r.allowAbsoluteUrls!==void 0||(this.defaults.allowAbsoluteUrls!==void 0?r.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls:r.allowAbsoluteUrls=!0),mt.assertOptions(r,{baseUrl:ue.spelling("baseURL"),withXsrfToken:ue.spelling("withXSRFToken")},!0),r.method=(r.method||this.defaults.method||"get").toLowerCase();let i=s&&y.merge(s.common,s[r.method]);s&&y.forEach(["delete","get","head","post","put","patch","common"],m=>{delete s[m]}),r.headers=ae.concat(i,s);const l=[];let c=!0;this.interceptors.request.forEach(function(p){typeof p.runWhen=="function"&&p.runWhen(r)===!1||(c=c&&p.synchronous,l.unshift(p.fulfilled,p.rejected))});const u=[];this.interceptors.response.forEach(function(p){u.push(p.fulfilled,p.rejected)});let f,d=0,h;if(!c){const m=[Er.bind(this),void 0];for(m.unshift(...l),m.push(...u),h=m.length,f=Promise.resolve(r);d<h;)f=f.then(m[d++],m[d++]);return f}h=l.length;let b=r;for(;d<h;){const m=l[d++],p=l[d++];try{b=m(b)}catch(g){p.call(this,g);break}}try{f=Er.call(this,b)}catch(m){return Promise.reject(m)}for(d=0,h=u.length;d<h;)f=f.then(u[d++],u[d++]);return f}getUri(t){t=Ne(this.defaults,t);const r=so(t.baseURL,t.url,t.allowAbsoluteUrls);return to(r,t.params,t.paramsSerializer)}};y.forEach(["delete","get","head","options"],function(t){Ee.prototype[t]=function(r,a){return this.request(Ne(a||{},{method:t,url:r,data:(a||{}).data}))}});y.forEach(["post","put","patch"],function(t){function r(a){return function(s,i,l){return this.request(Ne(l||{},{method:t,headers:a?{"Content-Type":"multipart/form-data"}:{},url:s,data:i}))}}Ee.prototype[t]=r(),Ee.prototype[t+"Form"]=r(!0)});let Tf=class fo{constructor(t){if(typeof t!="function")throw new TypeError("executor must be a function.");let r;this.promise=new Promise(function(s){r=s});const a=this;this.promise.then(o=>{if(!a._listeners)return;let s=a._listeners.length;for(;s-- >0;)a._listeners[s](o);a._listeners=null}),this.promise.then=o=>{let s;const i=new Promise(l=>{a.subscribe(l),s=l}).then(o);return i.cancel=function(){a.unsubscribe(s)},i},t(function(s,i,l){a.reason||(a.reason=new Ie(s,i,l),r(a.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(t){if(this.reason){t(this.reason);return}this._listeners?this._listeners.push(t):this._listeners=[t]}unsubscribe(t){if(!this._listeners)return;const r=this._listeners.indexOf(t);r!==-1&&this._listeners.splice(r,1)}toAbortSignal(){const t=new AbortController,r=a=>{t.abort(a)};return this.subscribe(r),t.signal.unsubscribe=()=>this.unsubscribe(r),t.signal}static source(){let t;return{token:new fo(function(o){t=o}),cancel:t}}};function _f(e){return function(r){return e.apply(null,r)}}function Pf(e){return y.isObject(e)&&e.isAxiosError===!0}const un={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511,WebServerIsDown:521,ConnectionTimedOut:522,OriginIsUnreachable:523,TimeoutOccurred:524,SslHandshakeFailed:525,InvalidSslCertificate:526};Object.entries(un).forEach(([e,t])=>{un[t]=e});function mo(e){const t=new Ee(e),r=Ua(Ee.prototype.request,t);return y.extend(r,Ee.prototype,t,{allOwnKeys:!0}),y.extend(r,t,null,{allOwnKeys:!0}),r.create=function(o){return mo(Ne(e,o))},r}const X=mo(tt);X.Axios=Ee;X.CanceledError=Ie;X.CancelToken=Tf;X.isCancel=ao;X.VERSION=uo;X.toFormData=At;X.AxiosError=j;X.Cancel=X.CanceledError;X.all=function(t){return Promise.all(t)};X.spread=_f;X.isAxiosError=Pf;X.mergeConfig=Ne;X.AxiosHeaders=ae;X.formToJSON=e=>ro(y.isHTMLForm(e)?new FormData(e):e);X.getAdapter=co.getAdapter;X.HttpStatusCode=un;X.default=X;const{Axios:Xm,AxiosError:Zm,CanceledError:Qm,isCancel:ep,CancelToken:tp,VERSION:np,all:rp,Cancel:ap,isAxiosError:op,spread:sp,toFormData:ip,AxiosHeaders:lp,HttpStatusCode:cp,formToJSON:up,getAdapter:fp,mergeConfig:dp}=X,Mf={class:"s-htmleditor"},po={__name:"SHtmlEditor",props:n.mergeModels({uploadUrl:String,placeholder:String},{modelValue:{},modelModifiers:{}}),emits:n.mergeModels(["changeContent"],["update:modelValue"]),setup(e,{emit:t}){const r=t,a=e,o=n.useModel(e,"modelValue"),s=n.ref({license_key:"mit",selector:"textarea",height:500,placeholder:a.placeholder||"",menubar:!1,body_class:"g-html",block_formats:`
576
568
  Обычный текст=p;
577
569
  Заголовок 1=h1;
578
570
  Заголовок 2=h2;
@@ -669,12 +661,12 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
669
661
 
670
662
  .s-img-bg.s-img-border img {
671
663
  border: 1px solid #d1d1d1;
672
- }`,skin_url:"/tinymce/skins/ui/oxide",plugins:["advlist","lists","link","image","charmap","fullscreen","insertdatetime","media","table","autolink","code"],toolbar:"blocks | bullist numlist | link image | media | fullscreen code ",branding:!1,promotion:!1,base_url:"/tinymce",suffix:".min",service_worker:!1,external_plugins:{},license_validator:()=>!0,images_upload_handler:function(u,f){return s(u)},convert_urls:!1,images_reuse_filename:!0,images_upload_url:n.uploadUrl,automatic_uploads:!0,resize_img_proportional:!0,image_dimensions:!0,image_class_list:[{title:"None",value:""},{title:"Background",value:"s-img-bg"},{title:"Border",value:"s-img-bg s-img-border"},{title:"Stretched",value:"s-img-bg s-img-fullwidth"}],media_live_embeds:!0,media_filter_html:!1,media_url_resolver:function(u,f,d){const h=/https:\/\/kinescope\.io\/embed\/([a-zA-Z0-9]+)/,v=u.url.match(h);if(v){const m=`<iframe
673
- src="https://kinescope.io/embed/${v[1]}"
664
+ }`,skin_url:"/tinymce/skins/ui/oxide",plugins:["advlist","lists","link","image","charmap","fullscreen","insertdatetime","media","table","autolink","code"],toolbar:"blocks | bullist numlist | link image | media | fullscreen code ",branding:!1,promotion:!1,base_url:"/tinymce",suffix:".min",service_worker:!1,external_plugins:{},license_validator:()=>!0,images_upload_handler:function(c,u){return i(c)},convert_urls:!1,images_reuse_filename:!0,images_upload_url:a.uploadUrl,automatic_uploads:!0,resize_img_proportional:!0,image_dimensions:!0,image_class_list:[{title:"None",value:""},{title:"Background",value:"s-img-bg"},{title:"Border",value:"s-img-bg s-img-border"},{title:"Stretched",value:"s-img-bg s-img-fullwidth"}],media_live_embeds:!0,media_filter_html:!1,media_url_resolver:function(c,u,f){const d=/https:\/\/kinescope\.io\/embed\/([a-zA-Z0-9]+)/,h=c.url.match(d);if(h){const m=`<iframe
665
+ src="https://kinescope.io/embed/${h[1]}"
674
666
  width="1280"
675
667
  height="720"
676
668
  frameborder="0"
677
669
  allow="autoplay; fullscreen; picture-in-picture; encrypted-media; gyroscope; accelerometer"
678
670
  allowfullscreen>
679
- </iframe>`;f({html:m})}else f({html:""})},formats:{note:{block:"div",classes:["s-note","note"]},attention:{block:"div",classes:["s-note","attention"]},success:{block:"div",classes:["s-note","success"]},error:{block:"div",classes:["s-note","error"]}},setup(u){const f=v=>{const w=v.parentNode;return!!(w&&w.tagName&&w.tagName.toLowerCase()==="div"&&w.firstElementChild===v&&w.children.length===1)},d=v=>{if(!v||!v.parentNode||f(v))return;const w=u.getDoc(),m=v.parentNode,y=v.getAttribute&&v.getAttribute("class")||"";u.undoManager.transact(()=>{const b=w.createElement("div");y&&(b.className=y,v.removeAttribute("class")),m.insertBefore(b,v),b.appendChild(v)});try{u.nodeChanged()}catch{}},h=v=>{if(!v||!v.querySelectorAll)return;v.querySelectorAll("img").forEach(m=>{try{d(m)}catch{}})};u.on("init",()=>{const v=u.getDoc();if(!v)return;const w=u.insertContent.bind(u);u.insertContent=(y,b)=>{if(typeof y=="string"&&y.includes("<img")){const S=v.createElement("div");S.innerHTML=y,h(S),y=S.innerHTML}return w(y,b)},u.on("PastePostProcess",y=>{h(y.node)});const m=new MutationObserver(y=>{u.undoManager.transact(()=>{for(const b of y)if(b.type==="childList")b.addedNodes.forEach(S=>{if(S.nodeType!==1)return;(S.tagName&&S.tagName.toLowerCase())==="img"?d(S):h(S)});else if(b.type==="attributes"&&b.attributeName==="class"){const S=b.target;if(S&&S.tagName&&S.tagName.toLowerCase()==="img"){if(!f(S)&&(S.getAttribute("class")||"").trim())d(S);else if((S.getAttribute("class")||"").trim()){const k=S.parentNode,O=S.getAttribute&&S.getAttribute("class")||"";O&&(k.className=O,S.removeAttribute("class"))}}}});try{u.nodeChanged()}catch{}});m.observe(u.getBody(),{childList:!0,subtree:!0,attributes:!0,attributeFilter:["class"]}),u.on("remove",()=>m.disconnect())})}});async function s(u,f){const d=new FormData;d.append("file",u.blob(),u.filename());try{return(await se.post(n.uploadUrl,d)).data.location}catch(h){throw console.error("Upload error:",h),new Error("Image upload failed: "+h.message)}}function c(){r("changeContent")}return(u,f)=>(a.openBlock(),a.createElementBlock("div",gS,[a.createVNode(a.unref(lf),{init:i.value,modelValue:o.value,"onUpdate:modelValue":[f[0]||(f[0]=d=>o.value=d),c]},null,8,["init","modelValue"])]))}},Ur={__name:"SButton",props:{outlined:Boolean,transparent:Boolean,fullwidth:Boolean,small:Boolean,disabled:Boolean,loading:Boolean,color:String,is:[String,Object,Function]},setup(e){const t=e,r=a.inject("formModel",null),n=a.useAttrs(),o=a.computed(()=>t.is?t.is:n.href?"a":r?"button":"div"),i=a.computed(()=>["s-button",t.outlined&&"outlined",t.transparent&&"transparent",t.disabled&&"disabled",t.fullwidth&&"fullwidth",t.small&&"small",t.loading&&"loading",t.color&&`color_${t.color}`]);return(s,c)=>(a.openBlock(),a.createBlock(a.resolveDynamicComponent(o.value),{class:a.normalizeClass(i.value)},{default:a.withCtx(()=>[a.renderSlot(s.$slots,"default")]),_:3},8,["class"]))}},bS={class:"s-upload"},SS={class:"s-upload-header"},wS=["multiple","accept"],ES={key:0,class:"s-upload-content"},Tu={__name:"SUpload",props:a.mergeModels({url:String,accept:String,maxFileSize:Number,multiple:Boolean},{modelValue:{},modelModifiers:{}}),emits:a.mergeModels(["select","clear"],["update:modelValue"]),setup(e,{expose:t,emit:r}){const n=e,o=a.useModel(e,"modelValue"),i=r,s=a.useTemplateRef("fileInput"),c=()=>{s.value.click()},u=a.computed(()=>o.value?(Array.isArray(o.value)?o.value:[o.value]).map(y=>y instanceof File?y.name:y):[]);function f(m){const y=Array.from(m.target.files||[]).filter(d);if(y.length&&!u.value.includes(m.target.files[0].name)){if(n.multiple){const b=Array.isArray(o.value)?[...o.value]:[];o.value=[...b,...y]}else o.value=y[0];i("select",o.value)}}function d(m){return!(n.accept&&!h(m)||n.maxFileSize&&m.size>n.maxFileSize)}function h(m){const y=n.accept.split(",").map(S=>S.trim()),b="."+m.name.split(".").pop();return y.includes(b)}function v(m){Array.isArray(o.value)?o.value=o.value.filter(y=>y instanceof File?y.name!==m:y!==m):o.value=null}function w(){o.value=n.multiple?[]:null,i("clear")}return t({clear:w,remove:v}),(m,y)=>(a.openBlock(),a.createElementBlock("div",bS,[a.createElementVNode("div",SS,[m.$slots.header?a.renderSlot(m.$slots,"header",{key:0,choose:c,clear:w,files:o.value}):(a.openBlock(),a.createBlock(Ur,{key:1,class:"s-upload-button",outlined:"",onClick:a.withModifiers(c,["prevent"])},{default:a.withCtx(()=>[a.createVNode(a.unref(ie),{class:"s-upload-button-icon",icon:"plus"}),y[0]||(y[0]=a.createTextVNode("Выберите файл ",-1))]),_:1})),a.createElementVNode("input",{ref_key:"fileInput",ref:s,class:"s-upload-hiddeninput",type:"file",multiple:e.multiple,accept:e.accept,onChange:f},null,40,wS)]),u.value.length?(a.openBlock(),a.createElementBlock("div",ES,[m.$slots.preview?a.renderSlot(m.$slots,"preview",{key:0,files:u.value,remove:v}):(a.openBlock(!0),a.createElementBlock(a.Fragment,{key:1},a.renderList(u.value,(b,S)=>(a.openBlock(),a.createElementBlock("div",{key:`${b}-${S}`,class:"s-upload-content-item"},[a.createElementVNode("span",null,a.toDisplayString(b),1),a.createVNode(a.unref(ie),{icon:"xmark",class:"delete",onClick:k=>v(b)},null,8,["onClick"])]))),128))])):a.createCommentVNode("",!0),a.renderSlot(m.$slots,"default")]))}};function kS(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}var Nu=kS,AS=typeof Ae=="object"&&Ae&&Ae.Object===Object&&Ae,xS=AS,OS=xS,_S=typeof self=="object"&&self&&self.Object===Object&&self,$S=OS||_S||Function("return this")(),Pu=$S,CS=Pu,TS=function(){return CS.Date.now()},NS=TS,PS=/\s/;function BS(e){for(var t=e.length;t--&&PS.test(e.charAt(t)););return t}var IS=BS,MS=IS,FS=/^\s+/;function RS(e){return e&&e.slice(0,MS(e)+1).replace(FS,"")}var DS=RS,jS=Pu,LS=jS.Symbol,Bu=LS,ul=Bu,Iu=Object.prototype,VS=Iu.hasOwnProperty,US=Iu.toString,Tr=ul?ul.toStringTag:void 0;function zS(e){var t=VS.call(e,Tr),r=e[Tr];try{e[Tr]=void 0;var n=!0}catch{}var o=US.call(e);return n&&(t?e[Tr]=r:delete e[Tr]),o}var HS=zS,WS=Object.prototype,qS=WS.toString;function YS(e){return qS.call(e)}var GS=YS,fl=Bu,KS=HS,JS=GS,XS="[object Null]",QS="[object Undefined]",dl=fl?fl.toStringTag:void 0;function ZS(e){return e==null?e===void 0?QS:XS:dl&&dl in Object(e)?KS(e):JS(e)}var e1=ZS;function t1(e){return e!=null&&typeof e=="object"}var r1=t1,n1=e1,a1=r1,o1="[object Symbol]";function i1(e){return typeof e=="symbol"||a1(e)&&n1(e)==o1}var s1=i1,l1=DS,pl=Nu,c1=s1,ml=NaN,u1=/^[-+]0x[0-9a-f]+$/i,f1=/^0b[01]+$/i,d1=/^0o[0-7]+$/i,p1=parseInt;function m1(e){if(typeof e=="number")return e;if(c1(e))return ml;if(pl(e)){var t=typeof e.valueOf=="function"?e.valueOf():e;e=pl(t)?t+"":t}if(typeof e!="string")return e===0?e:+e;e=l1(e);var r=f1.test(e);return r||d1.test(e)?p1(e.slice(2),r?2:8):u1.test(e)?ml:+e}var h1=m1,y1=Nu,Bo=NS,hl=h1,v1="Expected a function",g1=Math.max,b1=Math.min;function S1(e,t,r){var n,o,i,s,c,u,f=0,d=!1,h=!1,v=!0;if(typeof e!="function")throw new TypeError(v1);t=hl(t)||0,y1(r)&&(d=!!r.leading,h="maxWait"in r,i=h?g1(hl(r.maxWait)||0,t):i,v="trailing"in r?!!r.trailing:v);function w(I){var j=n,W=o;return n=o=void 0,f=I,s=e.apply(W,j),s}function m(I){return f=I,c=setTimeout(S,t),d?w(I):s}function y(I){var j=I-u,W=I-f,D=t-j;return h?b1(D,i-W):D}function b(I){var j=I-u,W=I-f;return u===void 0||j>=t||j<0||h&&W>=i}function S(){var I=Bo();if(b(I))return k(I);c=setTimeout(S,y(I))}function k(I){return c=void 0,v&&n?w(I):(n=o=void 0,s)}function O(){c!==void 0&&clearTimeout(c),f=0,n=u=o=c=void 0}function M(){return c===void 0?s:k(Bo())}function R(){var I=Bo(),j=b(I);if(n=arguments,o=this,u=I,j){if(c===void 0)return m(u);if(h)return clearTimeout(c),c=setTimeout(S,t),w(u)}return c===void 0&&(c=setTimeout(S,t)),s}return R.cancel=O,R.flush=M,R}var w1=S1;const E1=na(w1),k1={class:"s-filter"},Mu={__name:"SFilter",props:{name:String,debounce:Number},setup(e){const t=e,r=a.inject("params",{}),n=a.useSlots(),o=a.ref(()=>{});a.watch(()=>[t.debounce,t.name],([c,u])=>{o.value=E1(f=>{r.value[u]=f},c!=null?c:0)},{immediate:!0});const i=a.ref(null),s=a.computed(()=>{var u;return(((u=n.default)==null?void 0:u.call(n))||[]).map(f=>{var d;return typeof f.type!="object"?f:(i.value=(d=r==null?void 0:r.value[t.name])!=null?d:null,i.value&&f.type.__name==="SDatePicker"&&f.props.range!==null&&(i.value=i.value.split("-")),a.cloneVNode(f,{modelValue:i.value,"onUpdate:modelValue":h=>{const v=Array.isArray(h)?h.join("-"):h;o.value(v)}}))})});return(c,u)=>(a.openBlock(),a.createElementBlock("div",k1,[e.name?(a.openBlock(!0),a.createElementBlock(a.Fragment,{key:0},a.renderList(s.value,(f,d)=>(a.openBlock(),a.createBlock(a.resolveDynamicComponent(f),{key:d}))),128)):a.createCommentVNode("",!0)]))}},A1={class:"s-filtergroup"},x1={__name:"SFilterGroup",setup(e){function t(){const i=new URLSearchParams(window.location.search);return Object.fromEntries(i.entries())}const r=a.ref({...t()});a.provide("params",r);const n=i=>{const s=Object.fromEntries(Object.entries(i).filter(([c,u])=>!["",null,void 0,!1].includes(u)&&c!=="page"));dt.get(window.location.pathname,new URLSearchParams(s),{preserveScroll:!0,preserveState:!0,replace:!0})};a.watch(r,i=>{n(i)},{deep:!0});const o=()=>{r.value={...t()}};return a.onMounted(()=>window.addEventListener("popstate",o)),a.onBeforeUnmount(()=>window.removeEventListener("popstate",o)),(i,s)=>(a.openBlock(),a.createElementBlock("div",A1,[a.renderSlot(i.$slots,"default")]))}},O1={key:0,ref:"theadRef"},_1={key:0},$1={key:0,class:"s-table-nodata"},C1={colspan:"100"},T1={key:1},N1={key:0},Fu={__name:"STable",props:{data:[Array,Object],hoverable:Boolean,striped:Boolean,nodata:{type:String,default:"Ничего не найдено"},scroll:{type:[String,null],default:null}},setup(e){const t=e,r=a.computed(()=>t.data?t.data instanceof Array?t.data.length===0:Object.values(t.data).length===0:!1);return(n,o)=>(a.openBlock(),a.createElementBlock("div",{class:a.normalizeClass(["s-table",{hoverable:e.hoverable,striped:e.striped,scrollon_top:t.scroll==="top"}])},[a.createElementVNode("table",null,[n.$slots.header||n.$slots.headers?(a.openBlock(),a.createElementBlock("thead",O1,[n.$slots.header?(a.openBlock(),a.createElementBlock("tr",_1,[a.renderSlot(n.$slots,"header")])):n.$slots.headers?a.renderSlot(n.$slots,"headers",{key:1}):a.createCommentVNode("",!0)],512)):a.createCommentVNode("",!0),a.createElementVNode("tbody",null,[n.$slots.row?(a.openBlock(),a.createElementBlock(a.Fragment,{key:0},[r.value?(a.openBlock(),a.createElementBlock("tr",$1,[a.createElementVNode("td",C1,[a.renderSlot(n.$slots,"nodata",{},()=>[a.createTextVNode(a.toDisplayString(e.nodata),1)])])])):a.createCommentVNode("",!0),(a.openBlock(!0),a.createElementBlock(a.Fragment,null,a.renderList(e.data,(i,s)=>(a.openBlock(),a.createElementBlock("tr",{key:`${s}-stable`},[a.renderSlot(n.$slots,"row",{row:i,index:s})]))),128))],64)):a.renderSlot(n.$slots,"default",{key:1})]),n.$slots.footer||n.$slots.footers?(a.openBlock(),a.createElementBlock("tfoot",T1,[n.$slots.footer?(a.openBlock(),a.createElementBlock("tr",N1,[a.renderSlot(n.$slots,"footer")])):a.createCommentVNode("",!0),n.$slots.footers?a.renderSlot(n.$slots,"footers",{key:1}):a.createCommentVNode("",!0)])):a.createCommentVNode("",!0)])],2))}},P1={key:0,class:"s-pagination-links"},B1=["innerHTML"],I1={class:"s-pagination-options"},M1={key:0,class:"s-options-pagination-perPage"},F1={key:1,class:"s-options-pagination-shown-counter"},R1={class:"s-pagination-options-shown-counter-range"},Ru={__name:"SPagination",props:{url:{type:String,default(){return location.pathname}},links:Object,total:Number,preserveScroll:{type:Boolean,default:!0},preserveState:{type:Boolean,default:!1},perPageOptions:Array,per_page:Number,from:Number,to:Number},setup(e){const t=e,r=a.ref(t.per_page);function n(){const i=location.search.substring(1),s=i?JSON.parse('{"'+decodeURI(i).replace(/"/g,'\\"').replace(/&/g,'","').replace(/=/g,'":"')+'"}'):{};delete s.page,s.perpage=r.value,dt.get(t.url,s,{preserveScroll:t.preserveScroll})}const o=t.perPageOptions?Object.entries(t.perPageOptions).reduce((i,[s,c])=>(i[parseInt(c)]=`По ${c}`,i),{}):null;return(i,s)=>{const c=a.resolveComponent("Link");return a.openBlock(),a.createElementBlock("div",{class:a.normalizeClass(["s-pagination",{"s-pagination-right":e.links.length<=3}])},[e.links.length>3?(a.openBlock(),a.createElementBlock("div",P1,[(a.openBlock(!0),a.createElementBlock(a.Fragment,null,a.renderList(e.links,(u,f)=>(a.openBlock(),a.createElementBlock(a.Fragment,{key:f},[u.url&&!u.active?(a.openBlock(),a.createBlock(c,{key:0,class:a.normalizeClass({active:u.active}),innerHTML:u.label,href:u.url?u.url.replace(/[\?\&]page\=1$/,""):"","preserve-scroll":e.preserveScroll,"preserve-state":e.preserveState},null,8,["class","innerHTML","href","preserve-scroll","preserve-state"])):(a.openBlock(),a.createElementBlock("span",{key:1,class:a.normalizeClass({active:u.active}),innerHTML:u.label},null,10,B1))],64))),128))])):a.createCommentVNode("",!0),a.createElementVNode("div",I1,[e.perPageOptions?(a.openBlock(),a.createElementBlock("div",M1,[a.createVNode(bi,{modelValue:r.value,"onUpdate:modelValue":s[0]||(s[0]=u=>r.value=u),options:a.unref(o),onChange:n},null,8,["modelValue","options"])])):a.createCommentVNode("",!0),e.from&&e.to&&e.total?(a.openBlock(),a.createElementBlock("div",F1,[s[1]||(s[1]=a.createTextVNode(" Показаны: ",-1)),a.createElementVNode("span",R1,a.toDisplayString(e.from)+" - "+a.toDisplayString(e.to),1),a.createTextVNode(" из "+a.toDisplayString(e.total),1)])):a.createCommentVNode("",!0)])],2)}}},D1=["onClick","onDragstart","draggable","onDragover","onDrop"],Du={__name:"STree",props:a.mergeModels({data:{type:Array,required:!0},expandedKeys:{type:Array,default:[]},draggable:Boolean,selectable:Boolean,storeExpandedKeysTo:String},{modelValue:{},modelModifiers:{}}),emits:a.mergeModels(["dragstart","drop","change"],["update:modelValue"]),setup(e,{emit:t}){const r=e,n=t,o=a.useModel(e,"modelValue");let i=a.inject("sharedExpandedKeys",null);if(i===null){const y=r.storeExpandedKeysTo?JSON.parse(localStorage.getItem(r.storeExpandedKeysTo)):null;i=a.ref(y!=null?y:[...r.expandedKeys]),a.provide("sharedExpandedKeys",i)}a.watch(i,y=>{r.storeExpandedKeysTo&&localStorage.setItem(r.storeExpandedKeysTo,JSON.stringify(y))},{deep:!0});const s=a.inject("sharedDropTarget",a.ref(null));s.value||a.provide("sharedDropTarget",s);const c=a.inject("draggingNode",a.ref(null));c.value||a.provide("draggingNode",c);function u(y){r.selectable&&o.value!==y.id?(o.value=y.id,n("change",y)):f(y)}function f(y){if(i.value.includes(y.id)){const b=m(y);i.value=i.value.filter(S=>!b.includes(S)&&S!==y.id)}else i.value.push(y.id)}function d(y,b){c.value=y,i.value=i.value.filter(S=>S!==y.id),n("dragstart",y,b)}function h(y,b){var O;if(((O=c.value)==null?void 0:O.id)===y.id){s.value=null;return}const S=b.currentTarget.getBoundingClientRect(),k=b.clientY-S.top;k>=S.height*.35&&k<=S.height*.65?s.value={id:y.id,position:"center",relation:"inner"}:k<S.height*.35?s.value={id:y.id,position:"top",relation:"before"}:s.value={id:y.id,position:"bottom",relation:"after"}}function v(y){const b=y.currentTarget.getBoundingClientRect();if(y.clientY<b.top){if(r.data.length>0){const S=r.data[0];s.value={id:S.id,relation:"before"}}return}if(y.clientY>b.bottom){if(r.data.length>0){const S=r.data[r.data.length-1];s.value={id:S.id,relation:"after"}}return}s.value=null}function w(y,b){var k;if(c.value.id===y.id)return;const S=(k=s.value)==null?void 0:k.relation;n("drop",y,b,S),c.value=null,s.value=null}function m(y){let b=[];if(y.children)for(let S of y.children)b=b.concat(m(S));return b}return(y,b)=>{const S=a.resolveComponent("STree",!0);return a.openBlock(),a.createElementBlock("div",{class:"s-tree",onDragleave:v},[(a.openBlock(!0),a.createElementBlock(a.Fragment,null,a.renderList(e.data,k=>{var O,M,R,I,j,W;return a.openBlock(),a.createElementBlock(a.Fragment,{key:k.id},[a.createElementVNode("div",{class:a.normalizeClass(["s-tree-cell",{selected:o.value===k.id,expanded:a.unref(i).includes(k.id),dropTarget:((O=a.unref(s))==null?void 0:O.id)===k.id&&((M=a.unref(s))==null?void 0:M.position)==="center",dropTargetTop:((R=a.unref(s))==null?void 0:R.id)===k.id&&((I=a.unref(s))==null?void 0:I.position)==="top",dropTargetBottom:((j=a.unref(s))==null?void 0:j.id)===k.id&&((W=a.unref(s))==null?void 0:W.position)==="bottom"}]),onClick:a.withModifiers(D=>u(k),["stop"]),onDragstart:D=>d(k,D),draggable:e.draggable,onDragover:a.withModifiers(D=>h(k,D),["prevent"]),onDrop:D=>w(k,D)},[k.children&&k.children.length?(a.openBlock(),a.createBlock(a.unref(ie),{key:0,class:"s-tree-toggle",icon:"caret-right",onClick:a.withModifiers(D=>f(k),["stop"])},null,8,["onClick"])):a.createCommentVNode("",!0),y.$slots.node?a.renderSlot(y.$slots,"node",{key:1,node:k}):(a.openBlock(),a.createElementBlock(a.Fragment,{key:2},[a.createTextVNode(a.toDisplayString(k.label),1)],64))],42,D1),k.children&&a.unref(i).includes(k.id)?(a.openBlock(),a.createBlock(S,{key:0,modelValue:o.value,"onUpdate:modelValue":b[0]||(b[0]=D=>o.value=D),draggable:e.draggable,data:k.children,onDragstart:(D,_)=>n("dragstart",D,_),onDrop:b[1]||(b[1]=(D,_,$)=>n("drop",D,_,$)),selectable:e.selectable,onChange:D=>n("change",D)},a.createSlots({_:2},[y.$slots.node?{name:"node",fn:a.withCtx(({node:D})=>[a.renderSlot(y.$slots,"node",{node:D})]),key:"0"}:void 0]),1032,["modelValue","draggable","data","onDragstart","selectable","onChange"])):a.createCommentVNode("",!0)],64)}),128))],32)}}},j1={key:0,class:"s-confirm"},L1={class:"s-confirm-dialog-body"},V1=["innerHTML"],U1={class:"s-confirm-buttons"},z1={__name:"SConfirm",setup(e,{expose:t}){const r=a.ref(!1),n=a.ref(""),o={title:"Необходимо подтверждение",cancelLabel:"Нет",acceptLabel:"Да",onAccept:()=>{},onCancel:()=>{}},i=a.ref({}),s=a.useTemplateRef("$dialog"),c=a.useTemplateRef("$header"),{x:u,y:f,style:d}=Ct.useDraggable(s,{handle:c});function h(m,y){n.value=m,i.value={...o,...y},r.value=!0,a.nextTick(()=>{var S;const b=(S=s.value)==null?void 0:S.getBoundingClientRect();b&&(u.value=window.innerWidth/2-b.width/2,f.value=window.innerHeight/2-b.height/2)})}function v(){i.value.onAccept(),i.value={},r.value=!1}function w(){i.value.onCancel(),i.value={},r.value=!1}return t({open:h}),(m,y)=>(a.openBlock(),a.createBlock(a.Teleport,{to:"body"},[r.value?(a.openBlock(),a.createElementBlock("div",j1,[a.createElementVNode("div",{class:"s-confirm-dialog",style:a.normalizeStyle(a.unref(d)),ref_key:"$dialog",ref:s},[a.createElementVNode("div",{class:"s-confirm-dialog-header",ref_key:"$header",ref:c},[a.createElementVNode("h2",null,a.toDisplayString(i.value.title),1),a.createVNode(a.unref(ie),{icon:"xmark",onClick:y[0]||(y[0]=b=>r.value=!1)})],512),a.createElementVNode("div",L1,[a.createElementVNode("p",{innerHTML:n.value},null,8,V1),a.createElementVNode("div",U1,[a.createVNode(Ur,{outlined:"",onClick:w},{default:a.withCtx(()=>[a.createTextVNode(a.toDisplayString(i.value.cancelLabel),1)]),_:1}),a.createVNode(Ur,{color:"red",onClick:v},{default:a.withCtx(()=>[a.createTextVNode(a.toDisplayString(i.value.acceptLabel),1)]),_:1})])])],4),a.createElementVNode("div",{class:"s-confirm-background",onClick:w})])):a.createCommentVNode("",!0)]))}};let _n;function H1(){if(_n)return _n;const e=document.createElement("div"),t=a.createVNode(z1);return a.render(t,e),document.body.appendChild(e.firstChild),_n=t.component.exposed,_n}const Bi={open(e,t={}){return H1().open(e,t)}},ju={__name:"SActionIcon",props:{icon:{type:[String,Array],required:!0},danger:Boolean,confirm:String,confirmTitle:{type:String,default:"Необходимо подтверждение"},is:[String,Object,Function]},emits:["click"],setup(e,{emit:t}){const r=e,n=t,o=a.useAttrs(),i=a.computed(()=>r.is?r.is:o.href?"a":"div");function s(){r.confirm?Bi.open(r.confirm,{title:r.confirmTitle,onAccept:()=>n("click")}):n("click")}return(c,u)=>(a.openBlock(),a.createBlock(a.resolveDynamicComponent(i.value),{class:a.normalizeClass(["s-actionicon",{danger:e.danger}]),onClick:s},{default:a.withCtx(()=>[a.createVNode(a.unref(ie),{icon:e.icon},null,8,["icon"])]),_:1},8,["class"]))}},W1={class:"s-tooltip"},Lu={__name:"STooltip",props:{at:{type:String,default:null,validator:e=>["top","bottom","right","left"].includes(e)},icon:{type:[String,Array],default:"circle-question"}},setup(e){const t=e,r=a.ref(!1),n=a.useTemplateRef("$tooltip"),o=a.useTemplateRef("$icon"),i=a.ref({}),s=a.ref(null);function c(){r.value||(r.value=!0,a.nextTick(()=>d()),document.addEventListener("mousemove",f),document.addEventListener("touchstart",f))}function u(){document.removeEventListener("mousemove",f),document.removeEventListener("touchstart",f),r.value=!1}function f(h){!o.value.contains(h.target)&&!n.value.contains(h.target)&&u()}function d(){const h=o.value.getBoundingClientRect(),v=n.value.getBoundingClientRect(),w={top:()=>({top:`${h.top-v.height+window.scrollY-5}px`,left:`${h.left+h.width/2-v.width/2}px`}),right:()=>({top:`${h.top+h.height/2+window.scrollY}px`,transform:"translateY(-50%)",left:`${h.right+8}px`}),bottom:()=>({top:`${h.bottom+window.scrollY+5}px`,left:`${h.left+h.width/2-v.width/2}px`}),left:()=>({top:`${h.top+h.height/2+window.scrollY}px`,transform:"translateY(-50%)",left:`${h.left-v.width-8}px`})};if(t.at){i.value=w[t.at](),s.value=t.at;return}window.innerHeight-h.top>v.height+10?(i.value=w.bottom(),s.value="bottom"):h.top>v.height+10?(i.value=w.top(),s.value="top"):window.innerWidth-h.right>v.width+10?(i.value=w.right(),s.value="right"):h.left>v.width+10?(i.value=w.left(),s.value="left"):(i.value=w.bottom(),s.value="bottom")}return(h,v)=>(a.openBlock(),a.createElementBlock("div",W1,[a.createElementVNode("div",{ref_key:"$icon",ref:o,onMouseenter:c,onTouchstart:c},[a.renderSlot(h.$slots,"icon",{},()=>[a.createVNode(a.unref(ie),{icon:e.icon,class:"s-tooltip-icon"},null,8,["icon"])]),v[0]||(v[0]=a.createElementVNode("div",{class:"s-tooltip-hoverarea"},null,-1))],544),r.value?(a.openBlock(),a.createBlock(a.Teleport,{key:0,to:"body"},[a.createElementVNode("div",{class:"s-tooltip-container",style:a.normalizeStyle(i.value)},[a.createElementVNode("div",{class:a.normalizeClass(["s-tooltip-text",[s.value]]),ref_key:"$tooltip",ref:n},[a.renderSlot(h.$slots,"default")],2)],4)])):a.createCommentVNode("",!0)]))}},q1={key:1,class:"s-note-title"},Vu={__name:"SNote",props:{icon:String,title:String,gray:Boolean,attention:Boolean,success:Boolean,error:Boolean},setup(e){return(t,r)=>(a.openBlock(),a.createElementBlock("div",{class:a.normalizeClass(["s-note",{gray:e.gray,attention:e.attention,success:e.success,error:e.error,has_icon:e.icon}])},[e.icon?(a.openBlock(),a.createBlock(a.unref(ie),{key:0,icon:e.icon},null,8,["icon"])):a.createCommentVNode("",!0),e.title?(a.openBlock(),a.createElementBlock("div",q1,a.toDisplayString(e.title),1)):a.createCommentVNode("",!0),a.renderSlot(t.$slots,"default")],2))}},Y1={class:"s-toggle-body"},Uu=a.defineComponent({__name:"SToggle",props:{title:String,opened:{type:Boolean,default:!1},color:{type:String,default:"bg"}},setup(e){const t=e,r=a.getCurrentInstance(),n=r==null?void 0:r.uid,o=a.ref(!!t.opened),i=a.inject("openedItem",a.ref(null)),s=a.inject("isMultiple",a.ref(!1));function c(){if(!s.value&&i){if(i.value===n){o.value=!1,i.value=null;return}i.value=n}o.value=!o.value}return a.onMounted(()=>{t.opened&&i&&(i.value=n)}),i&&a.watch(i,(u,f)=>{o.value=u===n&&u!==f}),(u,f)=>(a.openBlock(),a.createElementBlock("div",{class:a.normalizeClass(["s-toggle",[{opened:o.value},e.color]])},[a.createElementVNode("div",{class:"s-toggle-title",onClick:c},[a.renderSlot(u.$slots,"title",{},()=>[a.createTextVNode(a.toDisplayString(e.title),1)]),a.createVNode(a.unref(ie),{icon:o.value?"chevron-up":"chevron-down"},null,8,["icon"])]),a.createElementVNode("div",Y1,[a.renderSlot(u.$slots,"default")])],2))}}),G1={class:"s-togglegroup"},zu={__name:"SToggleGroup",props:{multiple:Boolean},setup(e){const t=e,r=a.ref(null),n=a.computed(()=>t.multiple);return a.provide("openedItem",r),a.provide("isMultiple",n),(o,i)=>(a.openBlock(),a.createElementBlock("div",G1,[a.renderSlot(o.$slots,"default")]))}},K1={class:"s-dialog"},J1={class:"s-dialog-window-body"},Hu={__name:"SDialog",props:a.mergeModels({title:String,width:String,notModal:Boolean},{modelValue:{},modelModifiers:{}}),emits:a.mergeModels(["overlay-click","hide"],["update:modelValue"]),setup(e,{emit:t}){const r=e,n=t,o=a.useModel(e,"modelValue"),i=a.useTemplateRef("$window"),s=a.useTemplateRef("$header"),{x:c,y:u,style:f}=Ct.useDraggable(i,{handle:s}),d=()=>{var y;const m=(y=i.value)==null?void 0:y.getBoundingClientRect();m&&(c.value=document.documentElement.clientWidth/2-m.width/2,u.value=document.documentElement.clientHeight/2-m.height/2)},h=function(m){if(!m){window.removeEventListener("resize",d);return}window.addEventListener("resize",d),d(),a.nextTick(()=>{d()})};a.onBeforeMount(()=>h(o.value)),a.watch(o,h);function v(){n("overlay-click")||w()}function w(){o.value=!1,n("hide")}return(m,y)=>(a.openBlock(),a.createElementBlock("template",null,[o.value?(a.openBlock(),a.createBlock(a.Teleport,{key:0,to:"body"},[a.createElementVNode("div",K1,[a.createElementVNode("div",{ref_key:"$window",ref:i,style:a.normalizeStyle([{width:r.width},a.unref(f)]),class:"s-dialog-window"},[a.createElementVNode("div",{class:"s-dialog-window-header",ref_key:"$header",ref:s},[a.createElementVNode("h2",null,a.toDisplayString(e.title),1),a.createVNode(a.unref(ie),{icon:"xmark",onClick:w})],512),a.createElementVNode("div",J1,[a.renderSlot(m.$slots,"default")])],4),e.notModal?a.createCommentVNode("",!0):(a.openBlock(),a.createElementBlock("div",{key:0,class:"s-dialog-background",onClick:v}))])])):a.createCommentVNode("",!0)]))}},X1=["src"],Q1={class:"s-imagepreview-icon"},Z1=["src"],Wu={__name:"SImagePreview",props:{src:String,preview:String},setup(e){const t=a.ref(!1);function r(){t.value=!1,o.value=0}const n=a.useTemplateRef("$window"),o=a.ref(0);Ct.useResizeObserver(n,d=>{const{height:h}=d[0].contentRect;o.value=h});const{x:i,y:s,style:c}=Ct.useDraggable(n,{preventDefault:!0,stopPropagation:!0}),u=()=>{var h;const d=(h=n.value)==null?void 0:h.getBoundingClientRect();d&&(i.value=document.documentElement.clientWidth/2-d.width/2,s.value=document.documentElement.clientHeight/2-d.height/2)},f=function(d){if(!d){window.removeEventListener("resize",u);return}window.addEventListener("resize",u),a.nextTick(()=>{u()})};return a.watch(o,f),(d,h)=>(a.openBlock(),a.createElementBlock("div",{class:"s-imagepreview",onClick:h[0]||(h[0]=a.withModifiers(v=>t.value=!0,["prevent"]))},[a.renderSlot(d.$slots,"preview",{},()=>{var v;return[a.createElementVNode("img",{src:(v=e.preview)!=null?v:e.src},null,8,X1)]}),a.createElementVNode("div",Q1,[a.renderSlot(d.$slots,"icon",{},()=>[a.createVNode(a.unref(ie),{icon:"magnifying-glass-plus"})])]),t.value?(a.openBlock(),a.createBlock(a.Teleport,{key:0,to:"body"},[a.createElementVNode("div",{class:"s-imagepreview-fullimg",ref_key:"$window",ref:n,style:a.normalizeStyle([a.unref(c)])},[a.createElementVNode("img",{src:e.src},null,8,Z1)],4),a.createElementVNode("div",{class:"s-imagepreview-closeicon",onClick:r},[a.createVNode(a.unref(ie),{icon:"xmark"})]),a.createElementVNode("div",{class:"s-imagepreview-background",onClick:r})])):a.createCommentVNode("",!0)]))}},e0=["innerHTML"],t0={__name:"SAlert",setup(e,{expose:t}){const r=a.ref(null),n=a.ref(!1),o=a.ref("type_info"),i=(f,d={})=>{var h;r.value=f,n.value=!0,d.type&&(o.value="type_"+d.type),setTimeout(()=>{n.value=!1},(h=d.closeAfter)!=null?h:3e3)};return t({success:(f,d)=>i(f,{...d,type:"success"}),info:(f,d)=>i(f,{...d,type:"info"}),error:(f,d)=>i(f,{...d,type:"error"}),open:i}),(f,d)=>(a.openBlock(),a.createBlock(a.Teleport,{to:"body"},[a.createVNode(a.Transition,{name:"fade"},{default:a.withCtx(()=>[n.value?(a.openBlock(),a.createElementBlock("div",{key:0,class:a.normalizeClass(["s-alert",[o.value]]),innerHTML:r.value,onClick:d[0]||(d[0]=h=>n.value=!1)},null,10,e0)):a.createCommentVNode("",!0)]),_:1})]))}};let $n;function Io(){if($n)return $n;const e=document.createElement("div"),t=a.createVNode(t0);return a.render(t,e),document.body.appendChild(e.firstChild),$n=t.component.exposed,$n}const qu={success(e,t={}){return Io().success(e,t)},error(e,t={}){return Io().error(e,t)},info(e,t={}){return Io().info(e,t)}},Yu=a.defineComponent({__name:"STag",props:{color:{}},setup(e){return(t,r)=>(a.openBlock(),a.createElementBlock("div",{class:a.normalizeClass(["s-tag",e.color])},[a.renderSlot(t.$slots,"default")],2))}}),Gu=a.defineComponent({__name:"SStatus",props:{color:{},icon:{}},setup(e){return(t,r)=>(a.openBlock(),a.createElementBlock("div",{class:a.normalizeClass(["s-status",e.color])},[e.icon?(a.openBlock(),a.createBlock(a.unref(ie),{key:0,icon:e.icon,class:"mr-2"},null,8,["icon"])):a.createCommentVNode("",!0),a.renderSlot(t.$slots,"default")],2))}}),r0={class:"s-actionbar"},Ku=Object.assign({name:"SActionBar"},{__name:"SActionBar",setup(e){return(t,r)=>(a.openBlock(),a.createBlock(a.Teleport,{to:"body"},[a.createElementVNode("div",r0,[a.renderSlot(t.$slots,"default")])]))}}),n0={class:"s-progressbar"},a0={class:"s-progressbar-title"},o0={class:"s-progressbar-bar"},Ju={__name:"SProgressbar",props:{label:String,percentage:Number},setup(e){const t=e,r=a.computed(()=>t.percentage<5?"right":"left");return(n,o)=>(a.openBlock(),a.createElementBlock("div",n0,[a.createElementVNode("div",a0,[a.renderSlot(n.$slots,"default")]),a.createElementVNode("div",o0,[a.createElementVNode("div",{class:"s-progressbar-completed",style:a.normalizeStyle({width:e.percentage+"%"})},[a.createElementVNode("div",{class:a.normalizeClass(`at_${r.value}`)},a.toDisplayString(parseInt(e.percentage))+"%",3)],4)])]))}},i0={class:"s-copytext-text"},s0={key:1,class:"s-copytext layout_input"},l0={class:"s-copytext-text"},Xu={__name:"SCopyText",props:{href:String,size:{type:String,default:"normal"},layout:{type:String,default:"input"},copytext:String},setup(e){let t=a.useSlots();const{copy:r,copied:n,isSupported:o}=Ct.useClipboard(),i=a.computed(()=>t.default()[0].children);return(s,c)=>e.layout==="inline"?(a.openBlock(),a.createElementBlock("div",{key:0,class:a.normalizeClass(["s-copytext layout_inline",{success:a.unref(n)}]),title:"Скопировать",onClick:c[0]||(c[0]=u=>{var f;return a.unref(r)((f=e.copytext)!=null?f:i.value)})},[a.createElementVNode("div",i0,[a.renderSlot(s.$slots,"default")]),a.unref(o)?(a.openBlock(),a.createBlock(a.unref(ie),{key:0,icon:a.unref(n)?"check":"copy"},null,8,["icon"])):a.createCommentVNode("",!0)],2)):(a.openBlock(),a.createElementBlock("div",s0,[a.createElementVNode("div",l0,[a.renderSlot(s.$slots,"default")]),a.unref(o)?(a.openBlock(),a.createBlock(a.unref(ie),{key:0,icon:a.unref(n)?"check":"copy",class:a.normalizeClass({success:a.unref(n)}),title:"Скопировать",onClick:c[1]||(c[1]=u=>{var f;return a.unref(r)((f=e.copytext)!=null?f:i.value)})},null,8,["icon","class"])):a.createCommentVNode("",!0)]))}},c0={class:"s-timeline"},u0={class:"s-timeline-item"},Qu={__name:"STimeline",props:{items:Array,keyBy:{type:[Function,String],default:"id"}},setup(e){const t=e;function r(n,o){return typeof t.keyBy=="function"?t.keyBy(n,o):typeof t.keyBy=="string"&&n&&t.keyBy in n?n[t.keyBy]:o}return(n,o)=>(a.openBlock(),a.createElementBlock("div",c0,[(a.openBlock(!0),a.createElementBlock(a.Fragment,null,a.renderList(e.items,(i,s)=>(a.openBlock(),a.createElementBlock("div",{class:"s-timeline-row",key:r(i,s)},[o[0]||(o[0]=a.createElementVNode("div",{class:"s-timeline-decorator"},[a.createElementVNode("div",{class:"s-timeline-decorator-marker"}),a.createElementVNode("div",{class:"s-timeline-decorator-line"})],-1)),a.createElementVNode("div",u0,[a.renderSlot(n.$slots,"item",{item:i,index:s},()=>[a.createTextVNode(a.toDisplayString(i),1)])])]))),128))]))}},f0={class:"s-dashboard"},Zu=Object.assign({name:"SDashboard"},{__name:"SDashboard",setup(e){return(t,r)=>(a.openBlock(),a.createElementBlock("div",f0,[a.renderSlot(t.$slots,"default")]))}}),d0={key:0,class:"s-dashboard-item-header"},p0={class:"s-dashboard-item-title"},m0={key:0,class:"s-dashboard-item-extra"},ef={__name:"SDashboardItem",props:{title:String,maxContentHeight:[String,Number],gray:Boolean,green:Boolean,red:Boolean},setup(e){const t=e,r=a.computed(()=>t.maxContentHeight?"max-height: "+parseInt(t.maxContentHeight)+"px":"");return(n,o)=>(a.openBlock(),a.createElementBlock("div",{class:a.normalizeClass(["s-dashboard-item",{gray:e.gray,green:e.green,red:e.red}])},[e.title||n.$slots.title||n.$slots.extra?(a.openBlock(),a.createElementBlock("div",d0,[a.createElementVNode("div",p0,[a.renderSlot(n.$slots,"title",{},()=>[a.createTextVNode(a.toDisplayString(e.title),1)])]),n.$slots.extra?(a.openBlock(),a.createElementBlock("div",m0,[a.renderSlot(n.$slots,"extra")])):a.createCommentVNode("",!0)])):a.createCommentVNode("",!0),a.createElementVNode("div",{class:a.normalizeClass(["s-dashboard-item-content",[e.maxContentHeight&&"has_scroll"]]),style:a.normalizeStyle(r.value)},[a.renderSlot(n.$slots,"default")],6)],2))}},h0={class:"s-stat-title"},y0={class:"s-stat-value"},tf={__name:"SStat",props:{title:String,value:[String,Number],nowrap:Boolean,large:Boolean,wide:Boolean},setup(e){return(t,r)=>(a.openBlock(),a.createElementBlock("div",{class:a.normalizeClass(["s-stat",{nowrap:e.nowrap,large:e.large,wide:e.wide}])},[a.createElementVNode("div",h0,[a.renderSlot(t.$slots,"title",{},()=>[a.createTextVNode(a.toDisplayString(e.title),1)])]),a.createElementVNode("div",y0,[a.renderSlot(t.$slots,"default",{},()=>[a.createTextVNode(a.toDisplayString(e.value),1)])])],2))}},v0={class:"s-canvas"},g0={key:0,class:"s-canvas-header"},b0={key:1,class:"s-canvas-subheader"},S0={class:"s-main"},w0={class:"s-section"},E0={class:"s-section-h"},k0={key:0,class:"affix-wrapper",style:"top: 20px"},A0={class:"s-canvas-content"},rf={__name:"SCanvas",props:{hasStickySidebar:{type:Boolean,default:!1},sidebarMobileTitle:{type:String,default:"Содержание"}},setup(e){const t=a.ref(!1);return(r,n)=>(a.openBlock(),a.createElementBlock("div",v0,[r.$slots.header?(a.openBlock(),a.createElementBlock("header",g0,[a.renderSlot(r.$slots,"header")])):a.createCommentVNode("",!0),r.$slots.subheader?(a.openBlock(),a.createElementBlock("div",b0,[a.renderSlot(r.$slots,"subheader")])):a.createCommentVNode("",!0),a.renderSlot(r.$slots,"default"),a.createElementVNode("div",S0,[a.createElementVNode("section",w0,[a.createElementVNode("div",E0,[r.$slots.sidebar?(a.openBlock(),a.createElementBlock("div",{key:0,class:a.normalizeClass(["s-canvas-subheader-mobile",{opened:t.value}])},[a.createElementVNode("div",{class:"s-canvas-subheader-mobile-burger",onClick:n[0]||(n[0]=o=>t.value=!t.value)},[a.createVNode(a.unref(ie),{icon:"bars"}),a.createTextVNode(" "+a.toDisplayString(e.sidebarMobileTitle),1)])],2)):a.createCommentVNode("",!0),r.$slots.sidebar?(a.openBlock(),a.createElementBlock("aside",{key:1,class:a.normalizeClass(["s-canvas-sidebar",{"mobile-opened":t.value}])},[e.hasStickySidebar?(a.openBlock(),a.createElementBlock("div",k0,[a.renderSlot(r.$slots,"sidebar")])):a.renderSlot(r.$slots,"sidebar",{key:1})],2)):a.createCommentVNode("",!0),a.createElementVNode("div",A0,[a.renderSlot(r.$slots,"content")])])])])]))}},x0={class:"s-footer"},nf=Object.assign({name:"SFooter"},{__name:"SFooter",setup(e){return(t,r)=>(a.openBlock(),a.createElementBlock("div",x0,[a.renderSlot(t.$slots,"default")]))}}),O0={key:1},af={__name:"SDropdownMenu",props:{links:{type:Array,default:()=>[]},placeholder:{type:String,default:"Перейти к"},label:String,labelLink:String},setup(e){const t=e,r=a.computed(()=>{for(let d of t.links)if(d.active)return JSON.parse(JSON.stringify(d));return null}),n=a.computed(()=>{var d;return(d=t.label)!=null?d:r.value?r.value.label:t.placeholder}),o=a.computed(()=>{var d,h;return(h=t.labelLink)!=null?h:(d=r.value)==null?void 0:d.url}),i=a.computed(()=>o.value?Ns:"span"),s=a.useTemplateRef("$container"),c=a.useTemplateRef("$list"),u=a.ref("right"),f=async()=>{await a.nextTick();const d=s.value.getBoundingClientRect().x,h=c.value.getBoundingClientRect().width;u.value=h+10>d?"left":"right"};return(d,h)=>(a.openBlock(),a.createElementBlock("div",{class:"s-dropdownmenu",onPointerenter:f,ref_key:"$container",ref:s},[(a.openBlock(),a.createBlock(a.resolveDynamicComponent(i.value),{class:"s-dropdownmenu-label",href:e.labelLink},{default:a.withCtx(()=>[d.$slots.label?a.renderSlot(d.$slots,"label",{key:0}):(a.openBlock(),a.createElementBlock("span",O0,a.toDisplayString(n.value),1)),a.createVNode(a.unref(ie),{icon:"caret-down"})]),_:3},8,["href"])),a.createElementVNode("div",{class:a.normalizeClass(["s-dropdownmenu-list",[u.value]]),ref_key:"$list",ref:c},[e.links?(a.openBlock(!0),a.createElementBlock(a.Fragment,{key:0},a.renderList(e.links,v=>(a.openBlock(),a.createBlock(a.unref(Ns),{key:v.label,href:v.url,class:a.normalizeClass({active:v.active})},{default:a.withCtx(()=>[a.createTextVNode(a.toDisplayString(v.label),1)]),_:2},1032,["href","class"]))),128)):a.createCommentVNode("",!0),a.renderSlot(d.$slots,"default")],2)],544))}},_0={class:"s-horizontalmenu"},$0={key:1,class:"s-horizontalmenu-label"},C0={key:2,class:"s-horizontalmenu-children"},of={__name:"SHorizontalMenu",props:{links:Object},setup(e){return(t,r)=>{const n=a.resolveComponent("Link"),o=a.resolveComponent("SHorizontalMenu",!0);return a.openBlock(),a.createElementBlock("div",_0,[(a.openBlock(!0),a.createElementBlock(a.Fragment,null,a.renderList(e.links,i=>(a.openBlock(),a.createElementBlock("div",{class:a.normalizeClass(["s-horizontalmenu-item",[i.className,i.active?"active":""]]),key:i.label},[i.url?(a.openBlock(),a.createBlock(n,{key:0,class:"s-horizontalmenu-label",href:i.url},{default:a.withCtx(()=>[a.createTextVNode(a.toDisplayString(i.label),1)]),_:2},1032,["href"])):(a.openBlock(),a.createElementBlock("div",$0,a.toDisplayString(i.label),1)),i.children?(a.openBlock(),a.createElementBlock("div",C0,[a.createVNode(o,{links:i.children},null,8,["links"])])):a.createCommentVNode("",!0)],2))),128))])}}},T0={class:"s-verticalmenu"},N0=["onClick"],P0=["onClick"],sf={__name:"SVerticalMenu",props:{links:Object},setup(e){const t=e,r=function(i){let s=[];for(let c of i){const u=c.children?r(c.children):[];u.length&&(s=s.concat(u)),(c.active||u.length)&&s.push(c.id)}return s},n=sy(r(t.links),"OpenedSidebarItems"),o=function(i){n.value=n.value.includes(i)?n.value.filter(s=>s!==i):[...n.value,i]};return(i,s)=>{const c=a.resolveComponent("Link"),u=a.resolveComponent("SVerticalMenu",!0);return a.openBlock(),a.createElementBlock("div",T0,[(a.openBlock(!0),a.createElementBlock(a.Fragment,null,a.renderList(e.links,f=>(a.openBlock(),a.createElementBlock("div",{class:a.normalizeClass(["s-verticalmenu-item",[f.className,f.active?"active":"",f.type?"type_"+f.type:""]]),key:f.label},[f.url?(a.openBlock(),a.createElementBlock(a.Fragment,{key:0},[f.children?(a.openBlock(),a.createElementBlock("div",{key:0,class:a.normalizeClass(["s-verticalmenu-toggler",{"is-opened":a.unref(n).includes(f.id)}]),onClick:d=>o(f.id)},[a.createVNode(a.unref(ie),{icon:"fa-angle-right"})],10,N0)):a.createCommentVNode("",!0),a.createVNode(c,{class:a.normalizeClass(["s-verticalmenu-label",{"not-published":f.isPublished!==void 0&&!f.isPublished}]),href:f.url},{default:a.withCtx(()=>[a.createTextVNode(a.toDisplayString(f.label)+" ",1),f.isPublished!==void 0&&!f.isPublished?(a.openBlock(),a.createBlock(a.unref(ie),{key:0,icon:"eye-slash"})):a.createCommentVNode("",!0)]),_:2},1032,["class","href"])],64)):(a.openBlock(),a.createElementBlock("div",{key:1,class:a.normalizeClass(["s-verticalmenu-label",{"not-published":f.isPublished!==void 0&&!f.isPublished}]),onClick:d=>o(f.id)},[f.children?(a.openBlock(),a.createElementBlock("div",{key:0,class:a.normalizeClass(["s-verticalmenu-toggler",{"is-opened":a.unref(n).includes(f.id)}])},[a.createVNode(a.unref(ie),{icon:"fa-angle-right"})],2)):a.createCommentVNode("",!0),a.createTextVNode(" "+a.toDisplayString(f.label)+" ",1),f.isPublished!==void 0&&!f.isPublished?(a.openBlock(),a.createBlock(a.unref(ie),{key:1,icon:"eye-slash"})):a.createCommentVNode("",!0)],10,P0)),f.children?(a.openBlock(),a.createElementBlock("div",{key:2,class:a.normalizeClass(["s-verticalmenu-children",{"is-opened":a.unref(n).includes(f.id)}])},[a.createVNode(u,{links:f.children},null,8,["links"])],2)):a.createCommentVNode("",!0)],2))),128))])}}},J=[];J.push(vc);J.push(gc);J.push(bc);J.push(bi);J.push(Au);J.push(Xn);J.push(xu);J.push(Ou);J.push($u);J.push(Cu);J.push(Tu);J.push(Mu);J.push(x1);J.push(Fu);J.push(Ru);J.push(Du);J.push(Ur);J.push(ju);J.push(Lu);J.push(Vu);J.push(Uu);J.push(zu);J.push(Hu);J.push(Wu);J.push(Bi);J.push(qu);J.push(Yu);J.push(Gu);J.push(Ku);J.push(Ju);J.push(Xu);J.push(Qu);J.push(Zu);J.push(ef);J.push(tf);J.push(rf);J.push(nf);J.push(af);J.push(of);J.push(sf);const B0={install(e){J.forEach(t=>{var n,o;const r=(o=(n=t.name)!=null?n:t.__name)!=null?o:"Unnamed";e.component(r,t)})}};exports.SActionBar=Ku;exports.SActionIcon=ju;exports.SAlert=qu;exports.SButton=Ur;exports.SCanvas=rf;exports.SCheckbox=Au;exports.SConfirm=Bi;exports.SCopyText=Xu;exports.SDashboard=Zu;exports.SDashboardItem=ef;exports.SDatePicker=$u;exports.SDialog=Hu;exports.SDropdownMenu=af;exports.SFilter=Mu;exports.SFooter=nf;exports.SForm=vc;exports.SFormRow=gc;exports.SHorizontalMenu=of;exports.SHtmlEditor=Cu;exports.SImagePreview=Wu;exports.SInput=bc;exports.SNote=Vu;exports.SPagination=Ru;exports.SProgressBar=Ju;exports.SRadio=Xn;exports.SSelect=bi;exports.SStat=tf;exports.SStatus=Gu;exports.SSwitch=Ou;exports.STable=Fu;exports.STag=Yu;exports.STimeline=Qu;exports.SToggle=Uu;exports.SToggleGroup=zu;exports.STooltip=Lu;exports.STree=Du;exports.SUpload=Tu;exports.SVerticalMenu=sf;exports.default=B0;
671
+ </iframe>`;u({html:m})}else u({html:""})},formats:{note:{block:"div",classes:["s-note","note"]},attention:{block:"div",classes:["s-note","attention"]},success:{block:"div",classes:["s-note","success"]},error:{block:"div",classes:["s-note","error"]}},setup(c){const u=h=>{const b=h.parentNode;return!!(b&&b.tagName&&b.tagName.toLowerCase()==="div"&&b.firstElementChild===h&&b.children.length===1)},f=h=>{if(!h||!h.parentNode||u(h))return;const b=c.getDoc(),m=h.parentNode,p=h.getAttribute&&h.getAttribute("class")||"";c.undoManager.transact(()=>{const g=b.createElement("div");p&&(g.className=p,h.removeAttribute("class")),m.insertBefore(g,h),g.appendChild(h)});try{c.nodeChanged()}catch{}},d=h=>{if(!h||!h.querySelectorAll)return;h.querySelectorAll("img").forEach(m=>{try{f(m)}catch{}})};c.on("init",()=>{const h=c.getDoc();if(!h)return;const b=c.insertContent.bind(c);c.insertContent=(p,g)=>{if(typeof p=="string"&&p.includes("<img")){const v=h.createElement("div");v.innerHTML=p,d(v),p=v.innerHTML}return b(p,g)},c.on("PastePostProcess",p=>{d(p.node)});const m=new MutationObserver(p=>{c.undoManager.transact(()=>{for(const g of p)if(g.type==="childList")g.addedNodes.forEach(v=>{if(v.nodeType!==1)return;(v.tagName&&v.tagName.toLowerCase())==="img"?f(v):d(v)});else if(g.type==="attributes"&&g.attributeName==="class"){const v=g.target;if(v&&v.tagName&&v.tagName.toLowerCase()==="img"){if(!u(v)&&(v.getAttribute("class")||"").trim())f(v);else if((v.getAttribute("class")||"").trim()){const S=v.parentNode,O=v.getAttribute&&v.getAttribute("class")||"";O&&(S.className=O,v.removeAttribute("class"))}}}});try{c.nodeChanged()}catch{}});m.observe(c.getBody(),{childList:!0,subtree:!0,attributes:!0,attributeFilter:["class"]}),c.on("remove",()=>m.disconnect())})}});async function i(c,u){const f=new FormData;f.append("file",c.blob(),c.filename());try{return(await X.post(a.uploadUrl,f)).data.location}catch(d){throw console.error("Upload error:",d),new Error("Image upload failed: "+d.message)}}function l(){r("changeContent")}return(c,u)=>(n.openBlock(),n.createElementBlock("div",Mf,[n.createVNode(n.unref(qo),{init:s.value,modelValue:o.value,"onUpdate:modelValue":[u[0]||(u[0]=f=>o.value=f),l]},null,8,["init","modelValue"])]))}},Je={__name:"SButton",props:{outlined:Boolean,transparent:Boolean,fullwidth:Boolean,small:Boolean,disabled:Boolean,loading:Boolean,color:String,is:[String,Object,Function]},setup(e){const t=e,r=n.inject("formModel",null),a=n.useAttrs(),o=n.computed(()=>t.is?t.is:a.href?"a":r?"button":"div"),s=n.computed(()=>["s-button",t.outlined&&"outlined",t.transparent&&"transparent",t.disabled&&"disabled",t.fullwidth&&"fullwidth",t.small&&"small",t.loading&&"loading",t.color&&`color_${t.color}`]);return(i,l)=>(n.openBlock(),n.createBlock(n.resolveDynamicComponent(o.value),{class:n.normalizeClass(s.value)},{default:n.withCtx(()=>[n.renderSlot(i.$slots,"default")]),_:3},8,["class"]))}},Ff={class:"s-upload"},Df={class:"s-upload-header"},If=["multiple","accept"],Rf={key:0,class:"s-upload-content"},ho={__name:"SUpload",props:n.mergeModels({url:String,accept:String,maxFileSize:Number,multiple:Boolean},{modelValue:{},modelModifiers:{}}),emits:n.mergeModels(["select","clear"],["update:modelValue"]),setup(e,{expose:t,emit:r}){const a=e,o=n.useModel(e,"modelValue"),s=r,i=n.useTemplateRef("fileInput"),l=()=>{i.value.click()},c=n.computed(()=>o.value?(Array.isArray(o.value)?o.value:[o.value]).map(p=>p instanceof File?p.name:p):[]);function u(m){const p=Array.from(m.target.files||[]).filter(f);if(p.length&&!c.value.includes(m.target.files[0].name)){if(a.multiple){const g=Array.isArray(o.value)?[...o.value]:[];o.value=[...g,...p]}else o.value=p[0];s("select",o.value)}}function f(m){return!(a.accept&&!d(m)||a.maxFileSize&&m.size>a.maxFileSize)}function d(m){const p=a.accept.split(",").map(v=>v.trim()),g="."+m.name.split(".").pop();return p.includes(g)}function h(m){Array.isArray(o.value)?o.value=o.value.filter(p=>p instanceof File?p.name!==m:p!==m):o.value=null}function b(){o.value=a.multiple?[]:null,s("clear")}return t({clear:b,remove:h}),(m,p)=>(n.openBlock(),n.createElementBlock("div",Ff,[n.createElementVNode("div",Df,[m.$slots.header?n.renderSlot(m.$slots,"header",{key:0,choose:l,clear:b,files:o.value}):(n.openBlock(),n.createBlock(Je,{key:1,class:"s-upload-button",outlined:"",onClick:n.withModifiers(l,["prevent"])},{default:n.withCtx(()=>[n.createVNode(n.unref(q),{class:"s-upload-button-icon",icon:"plus"}),p[0]||(p[0]=n.createTextVNode("Выберите файл ",-1))]),_:1})),n.createElementVNode("input",{ref_key:"fileInput",ref:i,class:"s-upload-hiddeninput",type:"file",multiple:e.multiple,accept:e.accept,onChange:u},null,40,If)]),c.value.length?(n.openBlock(),n.createElementBlock("div",Rf,[m.$slots.preview?n.renderSlot(m.$slots,"preview",{key:0,files:c.value,remove:h}):(n.openBlock(!0),n.createElementBlock(n.Fragment,{key:1},n.renderList(c.value,(g,v)=>(n.openBlock(),n.createElementBlock("div",{key:`${g}-${v}`,class:"s-upload-content-item"},[n.createElementVNode("span",null,n.toDisplayString(g),1),n.createVNode(n.unref(q),{icon:"xmark",class:"delete",onClick:S=>h(g)},null,8,["onClick"])]))),128))])):n.createCommentVNode("",!0),n.renderSlot(m.$slots,"default")]))}};function jf(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}var vo=jf,Vf=typeof Ue=="object"&&Ue&&Ue.Object===Object&&Ue,Lf=Vf,zf=Lf,Uf=typeof self=="object"&&self&&self.Object===Object&&self,Hf=zf||Uf||Function("return this")(),go=Hf,Wf=go,Yf=function(){return Wf.Date.now()},qf=Yf,Jf=/\s/;function Kf(e){for(var t=e.length;t--&&Jf.test(e.charAt(t)););return t}var Gf=Kf,Xf=Gf,Zf=/^\s+/;function Qf(e){return e&&e.slice(0,Xf(e)+1).replace(Zf,"")}var ed=Qf,td=go,nd=td.Symbol,yo=nd,$r=yo,bo=Object.prototype,rd=bo.hasOwnProperty,ad=bo.toString,Le=$r?$r.toStringTag:void 0;function od(e){var t=rd.call(e,Le),r=e[Le];try{e[Le]=void 0;var a=!0}catch{}var o=ad.call(e);return a&&(t?e[Le]=r:delete e[Le]),o}var sd=od,id=Object.prototype,ld=id.toString;function cd(e){return ld.call(e)}var ud=cd,Cr=yo,fd=sd,dd=ud,md="[object Null]",pd="[object Undefined]",Nr=Cr?Cr.toStringTag:void 0;function hd(e){return e==null?e===void 0?pd:md:Nr&&Nr in Object(e)?fd(e):dd(e)}var vd=hd;function gd(e){return e!=null&&typeof e=="object"}var yd=gd,bd=vd,kd=yd,Sd="[object Symbol]";function wd(e){return typeof e=="symbol"||kd(e)&&bd(e)==Sd}var Ed=wd,xd=ed,Br=vo,$d=Ed,Ar=NaN,Cd=/^[-+]0x[0-9a-f]+$/i,Nd=/^0b[01]+$/i,Bd=/^0o[0-7]+$/i,Ad=parseInt;function Od(e){if(typeof e=="number")return e;if($d(e))return Ar;if(Br(e)){var t=typeof e.valueOf=="function"?e.valueOf():e;e=Br(t)?t+"":t}if(typeof e!="string")return e===0?e:+e;e=xd(e);var r=Nd.test(e);return r||Bd.test(e)?Ad(e.slice(2),r?2:8):Cd.test(e)?Ar:+e}var Td=Od,_d=vo,Lt=qf,Or=Td,Pd="Expected a function",Md=Math.max,Fd=Math.min;function Dd(e,t,r){var a,o,s,i,l,c,u=0,f=!1,d=!1,h=!0;if(typeof e!="function")throw new TypeError(Pd);t=Or(t)||0,_d(r)&&(f=!!r.leading,d="maxWait"in r,s=d?Md(Or(r.maxWait)||0,t):s,h="trailing"in r?!!r.trailing:h);function b(F){var M=a,W=o;return a=o=void 0,u=F,i=e.apply(W,M),i}function m(F){return u=F,l=setTimeout(v,t),f?b(F):i}function p(F){var M=F-c,W=F-u,z=t-M;return d?Fd(z,s-W):z}function g(F){var M=F-c,W=F-u;return c===void 0||M>=t||M<0||d&&W>=s}function v(){var F=Lt();if(g(F))return S(F);l=setTimeout(v,p(F))}function S(F){return l=void 0,h&&a?b(F):(a=o=void 0,i)}function O(){l!==void 0&&clearTimeout(l),u=0,a=c=o=l=void 0}function R(){return l===void 0?i:S(Lt())}function I(){var F=Lt(),M=g(F);if(a=arguments,o=this,c=F,M){if(l===void 0)return m(c);if(d)return clearTimeout(l),l=setTimeout(v,t),b(c)}return l===void 0&&(l=setTimeout(v,t)),i}return I.cancel=O,I.flush=R,I}var Id=Dd;const Rd=Va(Id),jd={class:"s-filter"},ko={__name:"SFilter",props:{name:String,debounce:Number},setup(e){const t=e,r=n.inject("params",{}),a=n.useSlots(),o=n.ref(()=>{});n.watch(()=>[t.debounce,t.name],([l,c])=>{o.value=Rd(u=>{r.value[c]=u},l!=null?l:0)},{immediate:!0});const s=n.ref(null),i=n.computed(()=>{var c;return(((c=a.default)==null?void 0:c.call(a))||[]).map(u=>{var f;return typeof u.type!="object"?u:(s.value=(f=r==null?void 0:r.value[t.name])!=null?f:null,s.value&&u.type.__name==="SDatePicker"&&u.props.range!==null&&(s.value=s.value.split("-")),n.cloneVNode(u,{modelValue:s.value,"onUpdate:modelValue":d=>{const h=Array.isArray(d)?d.join("-"):d;o.value(h)}}))})});return(l,c)=>(n.openBlock(),n.createElementBlock("div",jd,[e.name?(n.openBlock(!0),n.createElementBlock(n.Fragment,{key:0},n.renderList(i.value,(u,f)=>(n.openBlock(),n.createBlock(n.resolveDynamicComponent(u),{key:f}))),128)):n.createCommentVNode("",!0)]))}},Vd={class:"s-filtergroup"},So={__name:"SFilterGroup",setup(e){function t(){const s=new URLSearchParams(window.location.search);return Object.fromEntries(s.entries())}const r=n.ref({...t()});n.provide("params",r);const a=s=>{const i=Object.fromEntries(Object.entries(s).filter(([l,c])=>!["",null,void 0,!1].includes(c)&&l!=="page"));_e.router.get(window.location.pathname,new URLSearchParams(i),{preserveScroll:!0,preserveState:!0,replace:!0})};n.watch(r,s=>{a(s)},{deep:!0});const o=()=>{r.value={...t()}};return n.onMounted(()=>window.addEventListener("popstate",o)),n.onBeforeUnmount(()=>window.removeEventListener("popstate",o)),(s,i)=>(n.openBlock(),n.createElementBlock("div",Vd,[n.renderSlot(s.$slots,"default")]))}},Ld={key:0,ref:"theadRef"},zd={key:0},Ud={key:0,class:"s-table-nodata"},Hd={colspan:"100"},Wd={key:1},Yd={key:0},wo={__name:"STable",props:{data:[Array,Object],hoverable:Boolean,striped:Boolean,nodata:{type:String,default:"Ничего не найдено"},scroll:{type:[String,null],default:null}},setup(e){const t=e,r=n.computed(()=>t.data?t.data instanceof Array?t.data.length===0:Object.values(t.data).length===0:!1);return(a,o)=>(n.openBlock(),n.createElementBlock("div",{class:n.normalizeClass(["s-table",{hoverable:e.hoverable,striped:e.striped,scrollon_top:t.scroll==="top"}])},[n.createElementVNode("table",null,[a.$slots.header||a.$slots.headers?(n.openBlock(),n.createElementBlock("thead",Ld,[a.$slots.header?(n.openBlock(),n.createElementBlock("tr",zd,[n.renderSlot(a.$slots,"header")])):a.$slots.headers?n.renderSlot(a.$slots,"headers",{key:1}):n.createCommentVNode("",!0)],512)):n.createCommentVNode("",!0),n.createElementVNode("tbody",null,[a.$slots.row?(n.openBlock(),n.createElementBlock(n.Fragment,{key:0},[r.value?(n.openBlock(),n.createElementBlock("tr",Ud,[n.createElementVNode("td",Hd,[n.renderSlot(a.$slots,"nodata",{},()=>[n.createTextVNode(n.toDisplayString(e.nodata),1)])])])):n.createCommentVNode("",!0),(n.openBlock(!0),n.createElementBlock(n.Fragment,null,n.renderList(e.data,(s,i)=>(n.openBlock(),n.createElementBlock("tr",{key:`${i}-stable`},[n.renderSlot(a.$slots,"row",{row:s,index:i})]))),128))],64)):n.renderSlot(a.$slots,"default",{key:1})]),a.$slots.footer||a.$slots.footers?(n.openBlock(),n.createElementBlock("tfoot",Wd,[a.$slots.footer?(n.openBlock(),n.createElementBlock("tr",Yd,[n.renderSlot(a.$slots,"footer")])):n.createCommentVNode("",!0),a.$slots.footers?n.renderSlot(a.$slots,"footers",{key:1}):n.createCommentVNode("",!0)])):n.createCommentVNode("",!0)])],2))}},qd={key:0,class:"s-pagination-links"},Jd=["innerHTML"],Kd={class:"s-pagination-options"},Gd={key:0,class:"s-options-pagination-perPage"},Xd={key:1,class:"s-options-pagination-shown-counter"},Zd={class:"s-pagination-options-shown-counter-range"},Eo={__name:"SPagination",props:{url:{type:String,default(){return location.pathname}},links:Object,total:Number,preserveScroll:{type:Boolean,default:!0},preserveState:{type:Boolean,default:!1},perPageOptions:Array,per_page:Number,from:Number,to:Number},setup(e){const t=e,r=n.ref(t.per_page);function a(){const s=location.search.substring(1),i=s?JSON.parse('{"'+decodeURI(s).replace(/"/g,'\\"').replace(/&/g,'","').replace(/=/g,'":"')+'"}'):{};delete i.page,i.perpage=r.value,_e.router.get(t.url,i,{preserveScroll:t.preserveScroll})}const o=t.perPageOptions?Object.entries(t.perPageOptions).reduce((s,[i,l])=>(s[parseInt(l)]=`По ${l}`,s),{}):null;return(s,i)=>{const l=n.resolveComponent("Link");return n.openBlock(),n.createElementBlock("div",{class:n.normalizeClass(["s-pagination",{"s-pagination-right":e.links.length<=3}])},[e.links.length>3?(n.openBlock(),n.createElementBlock("div",qd,[(n.openBlock(!0),n.createElementBlock(n.Fragment,null,n.renderList(e.links,(c,u)=>(n.openBlock(),n.createElementBlock(n.Fragment,{key:u},[c.url&&!c.active?(n.openBlock(),n.createBlock(l,{key:0,class:n.normalizeClass({active:c.active}),innerHTML:c.label,href:c.url?c.url.replace(/[\?\&]page\=1$/,""):"","preserve-scroll":e.preserveScroll,"preserve-state":e.preserveState},null,8,["class","innerHTML","href","preserve-scroll","preserve-state"])):(n.openBlock(),n.createElementBlock("span",{key:1,class:n.normalizeClass({active:c.active}),innerHTML:c.label},null,10,Jd))],64))),128))])):n.createCommentVNode("",!0),n.createElementVNode("div",Kd,[e.perPageOptions?(n.openBlock(),n.createElementBlock("div",Gd,[n.createVNode(fn,{modelValue:r.value,"onUpdate:modelValue":i[0]||(i[0]=c=>r.value=c),options:n.unref(o),onChange:a},null,8,["modelValue","options"])])):n.createCommentVNode("",!0),e.from&&e.to&&e.total?(n.openBlock(),n.createElementBlock("div",Xd,[i[1]||(i[1]=n.createTextVNode(" Показаны: ",-1)),n.createElementVNode("span",Zd,n.toDisplayString(e.from)+" - "+n.toDisplayString(e.to),1),n.createTextVNode(" из "+n.toDisplayString(e.total),1)])):n.createCommentVNode("",!0)])],2)}}},Qd=["onClick","onDragstart","draggable","onDragover","onDrop"],xo={__name:"STree",props:n.mergeModels({data:{type:Array,required:!0},expandedKeys:{type:Array,default:[]},draggable:Boolean,selectable:Boolean,storeExpandedKeysTo:String},{modelValue:{},modelModifiers:{}}),emits:n.mergeModels(["dragstart","drop","change"],["update:modelValue"]),setup(e,{emit:t}){const r=e,a=t,o=n.useModel(e,"modelValue");let s=n.inject("sharedExpandedKeys",null);if(s===null){const p=r.storeExpandedKeysTo?JSON.parse(localStorage.getItem(r.storeExpandedKeysTo)):null;s=n.ref(p!=null?p:[...r.expandedKeys]),n.provide("sharedExpandedKeys",s)}n.watch(s,p=>{r.storeExpandedKeysTo&&localStorage.setItem(r.storeExpandedKeysTo,JSON.stringify(p))},{deep:!0});const i=n.inject("sharedDropTarget",n.ref(null));i.value||n.provide("sharedDropTarget",i);const l=n.inject("draggingNode",n.ref(null));l.value||n.provide("draggingNode",l);function c(p){r.selectable&&o.value!==p.id?(o.value=p.id,a("change",p)):u(p)}function u(p){if(s.value.includes(p.id)){const g=m(p);s.value=s.value.filter(v=>!g.includes(v)&&v!==p.id)}else s.value.push(p.id)}function f(p,g){l.value=p,s.value=s.value.filter(v=>v!==p.id),a("dragstart",p,g)}function d(p,g){var O;if(((O=l.value)==null?void 0:O.id)===p.id){i.value=null;return}const v=g.currentTarget.getBoundingClientRect(),S=g.clientY-v.top;S>=v.height*.35&&S<=v.height*.65?i.value={id:p.id,position:"center",relation:"inner"}:S<v.height*.35?i.value={id:p.id,position:"top",relation:"before"}:i.value={id:p.id,position:"bottom",relation:"after"}}function h(p){const g=p.currentTarget.getBoundingClientRect();if(p.clientY<g.top){if(r.data.length>0){const v=r.data[0];i.value={id:v.id,relation:"before"}}return}if(p.clientY>g.bottom){if(r.data.length>0){const v=r.data[r.data.length-1];i.value={id:v.id,relation:"after"}}return}i.value=null}function b(p,g){var S;if(l.value.id===p.id)return;const v=(S=i.value)==null?void 0:S.relation;a("drop",p,g,v),l.value=null,i.value=null}function m(p){let g=[];if(p.children)for(let v of p.children)g=g.concat(m(v));return g}return(p,g)=>{const v=n.resolveComponent("STree",!0);return n.openBlock(),n.createElementBlock("div",{class:"s-tree",onDragleave:h},[(n.openBlock(!0),n.createElementBlock(n.Fragment,null,n.renderList(e.data,S=>{var O,R,I,F,M,W;return n.openBlock(),n.createElementBlock(n.Fragment,{key:S.id},[n.createElementVNode("div",{class:n.normalizeClass(["s-tree-cell",{selected:o.value===S.id,expanded:n.unref(s).includes(S.id),dropTarget:((O=n.unref(i))==null?void 0:O.id)===S.id&&((R=n.unref(i))==null?void 0:R.position)==="center",dropTargetTop:((I=n.unref(i))==null?void 0:I.id)===S.id&&((F=n.unref(i))==null?void 0:F.position)==="top",dropTargetBottom:((M=n.unref(i))==null?void 0:M.id)===S.id&&((W=n.unref(i))==null?void 0:W.position)==="bottom"}]),onClick:n.withModifiers(z=>c(S),["stop"]),onDragstart:z=>f(S,z),draggable:e.draggable,onDragover:n.withModifiers(z=>d(S,z),["prevent"]),onDrop:z=>b(S,z)},[S.children&&S.children.length?(n.openBlock(),n.createBlock(n.unref(q),{key:0,class:"s-tree-toggle",icon:"caret-right",onClick:n.withModifiers(z=>u(S),["stop"])},null,8,["onClick"])):n.createCommentVNode("",!0),p.$slots.node?n.renderSlot(p.$slots,"node",{key:1,node:S}):(n.openBlock(),n.createElementBlock(n.Fragment,{key:2},[n.createTextVNode(n.toDisplayString(S.label),1)],64))],42,Qd),S.children&&n.unref(s).includes(S.id)?(n.openBlock(),n.createBlock(v,{key:0,modelValue:o.value,"onUpdate:modelValue":g[0]||(g[0]=z=>o.value=z),draggable:e.draggable,data:S.children,onDragstart:(z,N)=>a("dragstart",z,N),onDrop:g[1]||(g[1]=(z,N,E)=>a("drop",z,N,E)),selectable:e.selectable,onChange:z=>a("change",z)},n.createSlots({_:2},[p.$slots.node?{name:"node",fn:n.withCtx(({node:z})=>[n.renderSlot(p.$slots,"node",{node:z})]),key:"0"}:void 0]),1032,["modelValue","draggable","data","onDragstart","selectable","onChange"])):n.createCommentVNode("",!0)],64)}),128))],32)}}},em={key:0,class:"s-confirm"},tm={class:"s-confirm-dialog-body"},nm=["innerHTML"],rm={class:"s-confirm-buttons"},am={__name:"SConfirm",setup(e,{expose:t}){const r=n.ref(!1),a=n.ref(""),o={title:"Необходимо подтверждение",cancelLabel:"Нет",acceptLabel:"Да",onAccept:()=>{},onCancel:()=>{}},s=n.ref({}),i=n.useTemplateRef("$dialog"),l=n.useTemplateRef("$header"),{x:c,y:u,style:f}=xe.useDraggable(i,{handle:l});function d(m,p){a.value=m,s.value={...o,...p},r.value=!0,n.nextTick(()=>{var v;const g=(v=i.value)==null?void 0:v.getBoundingClientRect();g&&(c.value=window.innerWidth/2-g.width/2,u.value=window.innerHeight/2-g.height/2)})}function h(){s.value.onAccept(),s.value={},r.value=!1}function b(){s.value.onCancel(),s.value={},r.value=!1}return t({open:d}),(m,p)=>(n.openBlock(),n.createBlock(n.Teleport,{to:"body"},[r.value?(n.openBlock(),n.createElementBlock("div",em,[n.createElementVNode("div",{class:"s-confirm-dialog",style:n.normalizeStyle(n.unref(f)),ref_key:"$dialog",ref:i},[n.createElementVNode("div",{class:"s-confirm-dialog-header",ref_key:"$header",ref:l},[n.createElementVNode("h2",null,n.toDisplayString(s.value.title),1),n.createVNode(n.unref(q),{icon:"xmark",onClick:p[0]||(p[0]=g=>r.value=!1)})],512),n.createElementVNode("div",tm,[n.createElementVNode("p",{innerHTML:a.value},null,8,nm),n.createElementVNode("div",rm,[n.createVNode(Je,{outlined:"",onClick:b},{default:n.withCtx(()=>[n.createTextVNode(n.toDisplayString(s.value.cancelLabel),1)]),_:1}),n.createVNode(Je,{color:"red",onClick:h},{default:n.withCtx(()=>[n.createTextVNode(n.toDisplayString(s.value.acceptLabel),1)]),_:1})])])],4),n.createElementVNode("div",{class:"s-confirm-background",onClick:b})])):n.createCommentVNode("",!0)]))}};let st;function om(){if(st)return st;const e=document.createElement("div"),t=n.createVNode(am);return n.render(t,e),document.body.appendChild(e.firstChild),st=t.component.exposed,st}const On={open(e,t={}){return om().open(e,t)}},$o={__name:"SActionIcon",props:{icon:{type:[String,Array],required:!0},danger:Boolean,confirm:String,confirmTitle:{type:String,default:"Необходимо подтверждение"},is:[String,Object,Function]},emits:["click"],setup(e,{emit:t}){const r=e,a=t,o=n.useAttrs(),s=n.computed(()=>r.is?r.is:o.href?"a":"div");function i(){r.confirm?On.open(r.confirm,{title:r.confirmTitle,onAccept:()=>a("click")}):a("click")}return(l,c)=>(n.openBlock(),n.createBlock(n.resolveDynamicComponent(s.value),{class:n.normalizeClass(["s-actionicon",{danger:e.danger}]),onClick:i},{default:n.withCtx(()=>[n.createVNode(n.unref(q),{icon:e.icon},null,8,["icon"])]),_:1},8,["class"]))}},sm={class:"s-tooltip"},Co={__name:"STooltip",props:{at:{type:String,default:null,validator:e=>["top","bottom","right","left"].includes(e)},icon:{type:[String,Array],default:"circle-question"}},setup(e){const t=e,r=n.ref(!1),a=n.useTemplateRef("$tooltip"),o=n.useTemplateRef("$icon"),s=n.ref({}),i=n.ref(null);function l(){r.value||(r.value=!0,n.nextTick(()=>f()),document.addEventListener("mousemove",u),document.addEventListener("touchstart",u))}function c(){document.removeEventListener("mousemove",u),document.removeEventListener("touchstart",u),r.value=!1}function u(d){!o.value.contains(d.target)&&!a.value.contains(d.target)&&c()}function f(){const d=o.value.getBoundingClientRect(),h=a.value.getBoundingClientRect(),b={top:()=>({top:`${d.top-h.height+window.scrollY-5}px`,left:`${d.left+d.width/2-h.width/2}px`}),right:()=>({top:`${d.top+d.height/2+window.scrollY}px`,transform:"translateY(-50%)",left:`${d.right+8}px`}),bottom:()=>({top:`${d.bottom+window.scrollY+5}px`,left:`${d.left+d.width/2-h.width/2}px`}),left:()=>({top:`${d.top+d.height/2+window.scrollY}px`,transform:"translateY(-50%)",left:`${d.left-h.width-8}px`})};if(t.at){s.value=b[t.at](),i.value=t.at;return}window.innerHeight-d.top>h.height+10?(s.value=b.bottom(),i.value="bottom"):d.top>h.height+10?(s.value=b.top(),i.value="top"):window.innerWidth-d.right>h.width+10?(s.value=b.right(),i.value="right"):d.left>h.width+10?(s.value=b.left(),i.value="left"):(s.value=b.bottom(),i.value="bottom")}return(d,h)=>(n.openBlock(),n.createElementBlock("div",sm,[n.createElementVNode("div",{ref_key:"$icon",ref:o,onMouseenter:l,onTouchstart:l},[n.renderSlot(d.$slots,"icon",{},()=>[n.createVNode(n.unref(q),{icon:e.icon,class:"s-tooltip-icon"},null,8,["icon"])]),h[0]||(h[0]=n.createElementVNode("div",{class:"s-tooltip-hoverarea"},null,-1))],544),r.value?(n.openBlock(),n.createBlock(n.Teleport,{key:0,to:"body"},[n.createElementVNode("div",{class:"s-tooltip-container",style:n.normalizeStyle(s.value)},[n.createElementVNode("div",{class:n.normalizeClass(["s-tooltip-text",[i.value]]),ref_key:"$tooltip",ref:a},[n.renderSlot(d.$slots,"default")],2)],4)])):n.createCommentVNode("",!0)]))}},im={key:1,class:"s-note-title"},No={__name:"SNote",props:{icon:String,title:String,gray:Boolean,attention:Boolean,success:Boolean,error:Boolean},setup(e){return(t,r)=>(n.openBlock(),n.createElementBlock("div",{class:n.normalizeClass(["s-note",{gray:e.gray,attention:e.attention,success:e.success,error:e.error,has_icon:e.icon}])},[e.icon?(n.openBlock(),n.createBlock(n.unref(q),{key:0,icon:e.icon},null,8,["icon"])):n.createCommentVNode("",!0),e.title?(n.openBlock(),n.createElementBlock("div",im,n.toDisplayString(e.title),1)):n.createCommentVNode("",!0),n.renderSlot(t.$slots,"default")],2))}},lm={class:"s-toggle-body"},Bo=n.defineComponent({__name:"SToggle",props:{title:String,opened:{type:Boolean,default:!1},color:{type:String,default:"bg"}},setup(e){const t=e,r=n.getCurrentInstance(),a=r==null?void 0:r.uid,o=n.ref(!!t.opened),s=n.inject("openedItem",n.ref(null)),i=n.inject("isMultiple",n.ref(!1));function l(){if(!i.value&&s){if(s.value===a){o.value=!1,s.value=null;return}s.value=a}o.value=!o.value}return n.onMounted(()=>{t.opened&&s&&(s.value=a)}),s&&n.watch(s,(c,u)=>{o.value=c===a&&c!==u}),(c,u)=>(n.openBlock(),n.createElementBlock("div",{class:n.normalizeClass(["s-toggle",[{opened:o.value},e.color]])},[n.createElementVNode("div",{class:"s-toggle-title",onClick:l},[n.renderSlot(c.$slots,"title",{},()=>[n.createTextVNode(n.toDisplayString(e.title),1)]),n.createVNode(n.unref(q),{icon:o.value?"chevron-up":"chevron-down"},null,8,["icon"])]),n.createElementVNode("div",lm,[n.renderSlot(c.$slots,"default")])],2))}}),cm={class:"s-togglegroup"},Ao={__name:"SToggleGroup",props:{multiple:Boolean},setup(e){const t=e,r=n.ref(null),a=n.computed(()=>t.multiple);return n.provide("openedItem",r),n.provide("isMultiple",a),(o,s)=>(n.openBlock(),n.createElementBlock("div",cm,[n.renderSlot(o.$slots,"default")]))}},um={class:"s-dialog"},fm={class:"s-dialog-window-body"},Oo={__name:"SDialog",props:n.mergeModels({title:String,width:String,notModal:Boolean},{modelValue:{},modelModifiers:{}}),emits:n.mergeModels(["overlay-click","hide"],["update:modelValue"]),setup(e,{emit:t}){const r=e,a=t,o=n.useModel(e,"modelValue"),s=n.useTemplateRef("$window"),i=n.useTemplateRef("$header"),{x:l,y:c,style:u}=xe.useDraggable(s,{handle:i}),f=()=>{var p;const m=(p=s.value)==null?void 0:p.getBoundingClientRect();m&&(l.value=document.documentElement.clientWidth/2-m.width/2,c.value=document.documentElement.clientHeight/2-m.height/2)},d=function(m){if(!m){window.removeEventListener("resize",f);return}window.addEventListener("resize",f),f(),n.nextTick(()=>{f()})};n.onBeforeMount(()=>d(o.value)),n.watch(o,d);function h(){a("overlay-click")||b()}function b(){o.value=!1,a("hide")}return(m,p)=>(n.openBlock(),n.createElementBlock("template",null,[o.value?(n.openBlock(),n.createBlock(n.Teleport,{key:0,to:"body"},[n.createElementVNode("div",um,[n.createElementVNode("div",{ref_key:"$window",ref:s,style:n.normalizeStyle([{width:r.width},n.unref(u)]),class:"s-dialog-window"},[n.createElementVNode("div",{class:"s-dialog-window-header",ref_key:"$header",ref:i},[n.createElementVNode("h2",null,n.toDisplayString(e.title),1),n.createVNode(n.unref(q),{icon:"xmark",onClick:b})],512),n.createElementVNode("div",fm,[n.renderSlot(m.$slots,"default")])],4),e.notModal?n.createCommentVNode("",!0):(n.openBlock(),n.createElementBlock("div",{key:0,class:"s-dialog-background",onClick:h}))])])):n.createCommentVNode("",!0)]))}},dm=["src"],mm={class:"s-imagepreview-icon"},pm=["src"],To={__name:"SImagePreview",props:{src:String,preview:String},setup(e){const t=n.ref(!1);function r(){t.value=!1,o.value=0}const a=n.useTemplateRef("$window"),o=n.ref(0);xe.useResizeObserver(a,f=>{const{height:d}=f[0].contentRect;o.value=d});const{x:s,y:i,style:l}=xe.useDraggable(a,{preventDefault:!0,stopPropagation:!0}),c=()=>{var d;const f=(d=a.value)==null?void 0:d.getBoundingClientRect();f&&(s.value=document.documentElement.clientWidth/2-f.width/2,i.value=document.documentElement.clientHeight/2-f.height/2)},u=function(f){if(!f){window.removeEventListener("resize",c);return}window.addEventListener("resize",c),n.nextTick(()=>{c()})};return n.watch(o,u),(f,d)=>(n.openBlock(),n.createElementBlock("div",{class:"s-imagepreview",onClick:d[0]||(d[0]=n.withModifiers(h=>t.value=!0,["prevent"]))},[n.renderSlot(f.$slots,"preview",{},()=>{var h;return[n.createElementVNode("img",{src:(h=e.preview)!=null?h:e.src},null,8,dm)]}),n.createElementVNode("div",mm,[n.renderSlot(f.$slots,"icon",{},()=>[n.createVNode(n.unref(q),{icon:"magnifying-glass-plus"})])]),t.value?(n.openBlock(),n.createBlock(n.Teleport,{key:0,to:"body"},[n.createElementVNode("div",{class:"s-imagepreview-fullimg",ref_key:"$window",ref:a,style:n.normalizeStyle([n.unref(l)])},[n.createElementVNode("img",{src:e.src},null,8,pm)],4),n.createElementVNode("div",{class:"s-imagepreview-closeicon",onClick:r},[n.createVNode(n.unref(q),{icon:"xmark"})]),n.createElementVNode("div",{class:"s-imagepreview-background",onClick:r})])):n.createCommentVNode("",!0)]))}},hm=["innerHTML"],vm={__name:"SAlert",setup(e,{expose:t}){const r=n.ref(null),a=n.ref(!1),o=n.ref("type_info"),s=(u,f={})=>{var d;r.value=u,a.value=!0,f.type&&(o.value="type_"+f.type),setTimeout(()=>{a.value=!1},(d=f.closeAfter)!=null?d:3e3)};return t({success:(u,f)=>s(u,{...f,type:"success"}),info:(u,f)=>s(u,{...f,type:"info"}),error:(u,f)=>s(u,{...f,type:"error"}),open:s}),(u,f)=>(n.openBlock(),n.createBlock(n.Teleport,{to:"body"},[n.createVNode(n.Transition,{name:"fade"},{default:n.withCtx(()=>[a.value?(n.openBlock(),n.createElementBlock("div",{key:0,class:n.normalizeClass(["s-alert",[o.value]]),innerHTML:r.value,onClick:f[0]||(f[0]=d=>a.value=!1)},null,10,hm)):n.createCommentVNode("",!0)]),_:1})]))}};let it;function zt(){if(it)return it;const e=document.createElement("div"),t=n.createVNode(vm);return n.render(t,e),document.body.appendChild(e.firstChild),it=t.component.exposed,it}const _o={success(e,t={}){return zt().success(e,t)},error(e,t={}){return zt().error(e,t)},info(e,t={}){return zt().info(e,t)}},Po=n.defineComponent({__name:"STag",props:{color:{}},setup(e){return(t,r)=>(n.openBlock(),n.createElementBlock("div",{class:n.normalizeClass(["s-tag",e.color])},[n.renderSlot(t.$slots,"default")],2))}}),Mo=n.defineComponent({__name:"SStatus",props:{color:{},icon:{}},setup(e){return(t,r)=>(n.openBlock(),n.createElementBlock("div",{class:n.normalizeClass(["s-status",e.color])},[e.icon?(n.openBlock(),n.createBlock(n.unref(q),{key:0,icon:e.icon,class:"mr-2"},null,8,["icon"])):n.createCommentVNode("",!0),n.renderSlot(t.$slots,"default")],2))}}),gm={class:"s-actionbar"},Fo=Object.assign({name:"SActionBar"},{__name:"SActionBar",setup(e){return(t,r)=>(n.openBlock(),n.createBlock(n.Teleport,{to:"body"},[n.createElementVNode("div",gm,[n.renderSlot(t.$slots,"default")])]))}}),ym={class:"s-progressbar"},bm={class:"s-progressbar-title"},km={class:"s-progressbar-bar"},Do={__name:"SProgressbar",props:{label:String,percentage:Number},setup(e){const t=e,r=n.computed(()=>t.percentage<5?"right":"left");return(a,o)=>(n.openBlock(),n.createElementBlock("div",ym,[n.createElementVNode("div",bm,[n.renderSlot(a.$slots,"default")]),n.createElementVNode("div",km,[n.createElementVNode("div",{class:"s-progressbar-completed",style:n.normalizeStyle({width:e.percentage+"%"})},[n.createElementVNode("div",{class:n.normalizeClass(`at_${r.value}`)},n.toDisplayString(parseInt(e.percentage))+"%",3)],4)])]))}},Sm={class:"s-copytext-text"},wm={key:1,class:"s-copytext layout_input"},Em={class:"s-copytext-text"},Io={__name:"SCopyText",props:{href:String,size:{type:String,default:"normal"},layout:{type:String,default:"input"},copytext:String},setup(e){let t=n.useSlots();const{copy:r,copied:a,isSupported:o}=xe.useClipboard(),s=n.computed(()=>t.default()[0].children);return(i,l)=>e.layout==="inline"?(n.openBlock(),n.createElementBlock("div",{key:0,class:n.normalizeClass(["s-copytext layout_inline",{success:n.unref(a)}]),title:"Скопировать",onClick:l[0]||(l[0]=c=>{var u;return n.unref(r)((u=e.copytext)!=null?u:s.value)})},[n.createElementVNode("div",Sm,[n.renderSlot(i.$slots,"default")]),n.unref(o)?(n.openBlock(),n.createBlock(n.unref(q),{key:0,icon:n.unref(a)?"check":"copy"},null,8,["icon"])):n.createCommentVNode("",!0)],2)):(n.openBlock(),n.createElementBlock("div",wm,[n.createElementVNode("div",Em,[n.renderSlot(i.$slots,"default")]),n.unref(o)?(n.openBlock(),n.createBlock(n.unref(q),{key:0,icon:n.unref(a)?"check":"copy",class:n.normalizeClass({success:n.unref(a)}),title:"Скопировать",onClick:l[1]||(l[1]=c=>{var u;return n.unref(r)((u=e.copytext)!=null?u:s.value)})},null,8,["icon","class"])):n.createCommentVNode("",!0)]))}},xm={class:"s-timeline"},$m={class:"s-timeline-item"},Ro={__name:"STimeline",props:{items:Array,keyBy:{type:[Function,String],default:"id"}},setup(e){const t=e;function r(a,o){return typeof t.keyBy=="function"?t.keyBy(a,o):typeof t.keyBy=="string"&&a&&t.keyBy in a?a[t.keyBy]:o}return(a,o)=>(n.openBlock(),n.createElementBlock("div",xm,[(n.openBlock(!0),n.createElementBlock(n.Fragment,null,n.renderList(e.items,(s,i)=>(n.openBlock(),n.createElementBlock("div",{class:"s-timeline-row",key:r(s,i)},[o[0]||(o[0]=n.createElementVNode("div",{class:"s-timeline-decorator"},[n.createElementVNode("div",{class:"s-timeline-decorator-marker"}),n.createElementVNode("div",{class:"s-timeline-decorator-line"})],-1)),n.createElementVNode("div",$m,[n.renderSlot(a.$slots,"item",{item:s,index:i},()=>[n.createTextVNode(n.toDisplayString(s),1)])])]))),128))]))}},Cm={class:"s-dashboard"},jo=Object.assign({name:"SDashboard"},{__name:"SDashboard",setup(e){return(t,r)=>(n.openBlock(),n.createElementBlock("div",Cm,[n.renderSlot(t.$slots,"default")]))}}),Nm={key:0,class:"s-dashboard-item-header"},Bm={class:"s-dashboard-item-title"},Am={key:0,class:"s-dashboard-item-extra"},Vo={__name:"SDashboardItem",props:{title:String,maxContentHeight:[String,Number],gray:Boolean,green:Boolean,red:Boolean},setup(e){const t=e,r=n.computed(()=>t.maxContentHeight?"max-height: "+parseInt(t.maxContentHeight)+"px":"");return(a,o)=>(n.openBlock(),n.createElementBlock("div",{class:n.normalizeClass(["s-dashboard-item",{gray:e.gray,green:e.green,red:e.red}])},[e.title||a.$slots.title||a.$slots.extra?(n.openBlock(),n.createElementBlock("div",Nm,[n.createElementVNode("div",Bm,[n.renderSlot(a.$slots,"title",{},()=>[n.createTextVNode(n.toDisplayString(e.title),1)])]),a.$slots.extra?(n.openBlock(),n.createElementBlock("div",Am,[n.renderSlot(a.$slots,"extra")])):n.createCommentVNode("",!0)])):n.createCommentVNode("",!0),n.createElementVNode("div",{class:n.normalizeClass(["s-dashboard-item-content",[e.maxContentHeight&&"has_scroll"]]),style:n.normalizeStyle(r.value)},[n.renderSlot(a.$slots,"default")],6)],2))}},Om={class:"s-stat-title"},Tm={class:"s-stat-value"},Lo={__name:"SStat",props:{title:String,value:[String,Number],nowrap:Boolean,large:Boolean,wide:Boolean},setup(e){return(t,r)=>(n.openBlock(),n.createElementBlock("div",{class:n.normalizeClass(["s-stat",{nowrap:e.nowrap,large:e.large,wide:e.wide}])},[n.createElementVNode("div",Om,[n.renderSlot(t.$slots,"title",{},()=>[n.createTextVNode(n.toDisplayString(e.title),1)])]),n.createElementVNode("div",Tm,[n.renderSlot(t.$slots,"default",{},()=>[n.createTextVNode(n.toDisplayString(e.value),1)])])],2))}},_m={class:"s-canvas"},Pm={key:0,class:"s-canvas-header"},Mm={key:1,class:"s-canvas-subheader"},Fm={class:"s-main"},Dm={class:"s-section"},Im={class:"s-section-h"},Rm={key:0,class:"affix-wrapper",style:"top: 20px"},jm={class:"s-canvas-content"},zo={__name:"SCanvas",props:{hasStickySidebar:{type:Boolean,default:!1},sidebarMobileTitle:{type:String,default:"Содержание"}},setup(e){const t=n.ref(!1);return(r,a)=>(n.openBlock(),n.createElementBlock("div",_m,[r.$slots.header?(n.openBlock(),n.createElementBlock("header",Pm,[n.renderSlot(r.$slots,"header")])):n.createCommentVNode("",!0),r.$slots.subheader?(n.openBlock(),n.createElementBlock("div",Mm,[n.renderSlot(r.$slots,"subheader")])):n.createCommentVNode("",!0),n.renderSlot(r.$slots,"default"),n.createElementVNode("div",Fm,[n.createElementVNode("section",Dm,[n.createElementVNode("div",Im,[r.$slots.sidebar?(n.openBlock(),n.createElementBlock("div",{key:0,class:n.normalizeClass(["s-canvas-subheader-mobile",{opened:t.value}])},[n.createElementVNode("div",{class:"s-canvas-subheader-mobile-burger",onClick:a[0]||(a[0]=o=>t.value=!t.value)},[n.createVNode(n.unref(q),{icon:"bars"}),n.createTextVNode(" "+n.toDisplayString(e.sidebarMobileTitle),1)])],2)):n.createCommentVNode("",!0),r.$slots.sidebar?(n.openBlock(),n.createElementBlock("aside",{key:1,class:n.normalizeClass(["s-canvas-sidebar",{"mobile-opened":t.value}])},[e.hasStickySidebar?(n.openBlock(),n.createElementBlock("div",Rm,[n.renderSlot(r.$slots,"sidebar")])):n.renderSlot(r.$slots,"sidebar",{key:1})],2)):n.createCommentVNode("",!0),n.createElementVNode("div",jm,[n.renderSlot(r.$slots,"content")])])])])]))}},Vm={class:"s-footer"},Uo=Object.assign({name:"SFooter"},{__name:"SFooter",setup(e){return(t,r)=>(n.openBlock(),n.createElementBlock("div",Vm,[n.renderSlot(t.$slots,"default")]))}}),Lm={key:1},Ho={__name:"SDropdownMenu",props:{links:{type:Array,default:()=>[]},placeholder:{type:String,default:"Перейти к"},label:String,labelLink:String},setup(e){const t=e,r=n.computed(()=>{for(let f of t.links)if(f.active)return JSON.parse(JSON.stringify(f));return null}),a=n.computed(()=>{var f;return(f=t.label)!=null?f:r.value?r.value.label:t.placeholder}),o=n.computed(()=>{var f,d;return(d=t.labelLink)!=null?d:(f=r.value)==null?void 0:f.url}),s=n.computed(()=>o.value?_e.Link:"span"),i=n.useTemplateRef("$container"),l=n.useTemplateRef("$list"),c=n.ref("right"),u=async()=>{await n.nextTick();const f=i.value.getBoundingClientRect().x,d=l.value.getBoundingClientRect().width;c.value=d+10>f?"left":"right"};return(f,d)=>(n.openBlock(),n.createElementBlock("div",{class:"s-dropdownmenu",onPointerenter:u,ref_key:"$container",ref:i},[(n.openBlock(),n.createBlock(n.resolveDynamicComponent(s.value),{class:"s-dropdownmenu-label",href:e.labelLink},{default:n.withCtx(()=>[f.$slots.label?n.renderSlot(f.$slots,"label",{key:0}):(n.openBlock(),n.createElementBlock("span",Lm,n.toDisplayString(a.value),1)),n.createVNode(n.unref(q),{icon:"caret-down"})]),_:3},8,["href"])),n.createElementVNode("div",{class:n.normalizeClass(["s-dropdownmenu-list",[c.value]]),ref_key:"$list",ref:l},[e.links?(n.openBlock(!0),n.createElementBlock(n.Fragment,{key:0},n.renderList(e.links,h=>(n.openBlock(),n.createBlock(n.unref(_e.Link),{key:h.label,href:h.url,class:n.normalizeClass({active:h.active})},{default:n.withCtx(()=>[n.createTextVNode(n.toDisplayString(h.label),1)]),_:2},1032,["href","class"]))),128)):n.createCommentVNode("",!0),n.renderSlot(f.$slots,"default")],2)],544))}},zm={class:"s-horizontalmenu"},Um={key:1,class:"s-horizontalmenu-label"},Hm={key:2,class:"s-horizontalmenu-children"},Wo={__name:"SHorizontalMenu",props:{links:Object},setup(e){return(t,r)=>{const a=n.resolveComponent("Link"),o=n.resolveComponent("SHorizontalMenu",!0);return n.openBlock(),n.createElementBlock("div",zm,[(n.openBlock(!0),n.createElementBlock(n.Fragment,null,n.renderList(e.links,s=>(n.openBlock(),n.createElementBlock("div",{class:n.normalizeClass(["s-horizontalmenu-item",[s.className,s.active?"active":""]]),key:s.label},[s.url?(n.openBlock(),n.createBlock(a,{key:0,class:"s-horizontalmenu-label",href:s.url},{default:n.withCtx(()=>[n.createTextVNode(n.toDisplayString(s.label),1)]),_:2},1032,["href"])):(n.openBlock(),n.createElementBlock("div",Um,n.toDisplayString(s.label),1)),s.children?(n.openBlock(),n.createElementBlock("div",Hm,[n.createVNode(o,{links:s.children},null,8,["links"])])):n.createCommentVNode("",!0)],2))),128))])}}},Wm={class:"s-verticalmenu"},Ym=["onClick"],qm=["onClick"],Yo={__name:"SVerticalMenu",props:{links:Object},setup(e){const t=e,r=function(s){let i=[];for(let l of s){const c=l.children?r(l.children):[];c.length&&(i=i.concat(c)),(l.active||c.length)&&i.push(l.id)}return i},a=_e.useRemember(r(t.links),"OpenedSidebarItems"),o=function(s){a.value=a.value.includes(s)?a.value.filter(i=>i!==s):[...a.value,s]};return(s,i)=>{const l=n.resolveComponent("Link"),c=n.resolveComponent("SVerticalMenu",!0);return n.openBlock(),n.createElementBlock("div",Wm,[(n.openBlock(!0),n.createElementBlock(n.Fragment,null,n.renderList(e.links,u=>(n.openBlock(),n.createElementBlock("div",{class:n.normalizeClass(["s-verticalmenu-item",[u.className,u.active?"active":"",u.type?"type_"+u.type:""]]),key:u.label},[u.url?(n.openBlock(),n.createElementBlock(n.Fragment,{key:0},[u.children?(n.openBlock(),n.createElementBlock("div",{key:0,class:n.normalizeClass(["s-verticalmenu-toggler",{"is-opened":n.unref(a).includes(u.id)}]),onClick:f=>o(u.id)},[n.createVNode(n.unref(q),{icon:"fa-angle-right"})],10,Ym)):n.createCommentVNode("",!0),n.createVNode(l,{class:n.normalizeClass(["s-verticalmenu-label",{"not-published":u.isPublished!==void 0&&!u.isPublished}]),href:u.url},{default:n.withCtx(()=>[n.createTextVNode(n.toDisplayString(u.label)+" ",1),u.isPublished!==void 0&&!u.isPublished?(n.openBlock(),n.createBlock(n.unref(q),{key:0,icon:"eye-slash"})):n.createCommentVNode("",!0)]),_:2},1032,["class","href"])],64)):(n.openBlock(),n.createElementBlock("div",{key:1,class:n.normalizeClass(["s-verticalmenu-label",{"not-published":u.isPublished!==void 0&&!u.isPublished}]),onClick:f=>o(u.id)},[u.children?(n.openBlock(),n.createElementBlock("div",{key:0,class:n.normalizeClass(["s-verticalmenu-toggler",{"is-opened":n.unref(a).includes(u.id)}])},[n.createVNode(n.unref(q),{icon:"fa-angle-right"})],2)):n.createCommentVNode("",!0),n.createTextVNode(" "+n.toDisplayString(u.label)+" ",1),u.isPublished!==void 0&&!u.isPublished?(n.openBlock(),n.createBlock(n.unref(q),{key:1,icon:"eye-slash"})):n.createCommentVNode("",!0)],10,qm)),u.children?(n.openBlock(),n.createElementBlock("div",{key:2,class:n.normalizeClass(["s-verticalmenu-children",{"is-opened":n.unref(a).includes(u.id)}])},[n.createVNode(c,{links:u.children},null,8,["links"])],2)):n.createCommentVNode("",!0)],2))),128))])}}},L=[];L.push(Tr);L.push(_r);L.push(Pr);L.push(fn);L.push(Ra);L.push(bt);L.push($n);L.push(ja);L.push(za);L.push(po);L.push(ho);L.push(ko);L.push(So);L.push(wo);L.push(Eo);L.push(xo);L.push(Je);L.push($o);L.push(Co);L.push(No);L.push(Bo);L.push(Ao);L.push(Oo);L.push(To);L.push(On);L.push(_o);L.push(Po);L.push(Mo);L.push(Fo);L.push(Do);L.push(Io);L.push(Ro);L.push(jo);L.push(Vo);L.push(Lo);L.push(zo);L.push(Uo);L.push(Ho);L.push(Wo);L.push(Yo);const Jm={install(e){L.forEach(t=>{var a,o;const r=(o=(a=t.name)!=null?a:t.__name)!=null?o:"Unnamed";e.component(r,t)})}};exports.SActionBar=Fo;exports.SActionIcon=$o;exports.SAlert=_o;exports.SButton=Je;exports.SCanvas=zo;exports.SCheckbox=Ra;exports.SConfirm=On;exports.SCopyText=Io;exports.SDashboard=jo;exports.SDashboardItem=Vo;exports.SDatePicker=za;exports.SDialog=Oo;exports.SDropdownMenu=Ho;exports.SFilter=ko;exports.SFilterGroup=So;exports.SFooter=Uo;exports.SForm=Tr;exports.SFormRow=_r;exports.SHorizontalMenu=Wo;exports.SHtmlEditor=po;exports.SImagePreview=To;exports.SInput=Pr;exports.SNote=No;exports.SPagination=Eo;exports.SProgressBar=Do;exports.SRadio=bt;exports.SRadioGroup=$n;exports.SSelect=fn;exports.SStat=Lo;exports.SStatus=Mo;exports.SSwitch=ja;exports.STable=wo;exports.STag=Po;exports.STimeline=Ro;exports.SToggle=Bo;exports.SToggleGroup=Ao;exports.STooltip=Co;exports.STree=xo;exports.SUpload=ho;exports.SVerticalMenu=Yo;exports.default=Jm;
680
672
  //# sourceMappingURL=startup-ui.cjs.js.map