@trustme24/flext 2.0.0 → 2.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -1,17 +1,17 @@
1
- var Uu=Object.defineProperty;var it=(t=>typeof require<"u"?require:typeof Proxy<"u"?new Proxy(t,{get:(e,r)=>(typeof require<"u"?require:e)[r]}):t)(function(t){if(typeof require<"u")return require.apply(this,arguments);throw Error('Dynamic require of "'+t+'" is not supported')});var qi=(t,e)=>{for(var r in e)Uu(t,r,{get:e[r],enumerable:!0})};var Ru={};qi(Ru,{BaseError:()=>me,BaseThrowable:()=>hr,BaseWarning:()=>Re,Dialect:()=>Pe,PotentialLoopError:()=>Dt,Processor:()=>pn,SimpleProcessor:()=>zi,TemplateDataValidationError:()=>Xr,TemplateError:()=>Ot,TemplateSyntaxError:()=>He,default:()=>R4,dialects:()=>So,errors:()=>dr,lib:()=>nt,modules:()=>Li,types:()=>Wl});var Wu=Object.create,ci=Object.defineProperty,Hu=Object.getOwnPropertyDescriptor,Zu=Object.getOwnPropertyNames,Yu=Object.getPrototypeOf,Gu=Object.prototype.hasOwnProperty,jt=(t=>typeof it<"u"?it:typeof Proxy<"u"?new Proxy(t,{get:(e,r)=>(typeof it<"u"?it:e)[r]}):t)(function(t){if(typeof it<"u")return it.apply(this,arguments);throw Error('Dynamic require of "'+t+'" is not supported')}),N=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports),Jr=(t,e)=>{for(var r in e)ci(t,r,{get:e[r],enumerable:!0})},Ju=(t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of Zu(e))!Gu.call(t,i)&&i!==r&&ci(t,i,{get:()=>e[i],enumerable:!(n=Hu(e,i))||n.enumerable});return t},Kr=(t,e,r)=>(r=t!=null?Wu(Yu(t)):{},Ju(e||!t||!t.__esModule?ci(r,"default",{value:t,enumerable:!0}):r,t)),Ku=N((t,e)=>{"use strict";(function(r){if(typeof n!="function"){var n=function(f){return f};n.nonNative=!0}let i=n("plaintext"),a=n("html"),s=n("comment"),o=/<(\w*)>/g,u=/<\/?([^\s\/>]+)/;function c(f,b,v){f=f||"",b=b||[],v=v||"";let y=h(b,v);return p(f,y)}function d(f,b){f=f||[],b=b||"";let v=h(f,b);return function(y){return p(y||"",v)}}c.init_streaming_mode=d;function h(f,b){return f=l(f),{allowable_tags:f,tag_replacement:b,state:i,tag_buffer:"",depth:0,in_quote_char:""}}function p(f,b){if(typeof f!="string")throw new TypeError("'html' parameter must be a string");let v=b.allowable_tags,y=b.tag_replacement,w=b.state,k=b.tag_buffer,$=b.depth,x=b.in_quote_char,S="";for(let _=0,A=f.length;_<A;_++){let C=f[_];if(w===i)C==="<"?(w=a,k+=C):S+=C;else if(w===a)switch(C){case"<":if(x)break;$++;break;case">":if(x)break;if($){$--;break}x="",w=i,k+=">",v.has(m(k))?S+=k:S+=y,k="";break;case'"':case"'":C===x?x="":x=x||C,k+=C;break;case"-":k==="<!-"&&(w=s),k+=C;break;case" ":case`
2
- `:if(k==="<"){w=i,S+="< ",k="";break}k+=C;break;default:k+=C;break}else w===s&&(C===">"?(k.slice(-2)=="--"&&(w=i),k=""):k+=C)}return b.state=w,b.tag_buffer=k,b.depth=$,b.in_quote_char=x,S}function l(f){let b=new Set;if(typeof f=="string"){let v;for(;v=o.exec(f);)b.add(v[1])}else!n.nonNative&&typeof f[n.iterator]=="function"?b=new Set(f):typeof f.forEach=="function"&&f.forEach(b.add,b);return b}function m(f){let b=u.exec(f);return b?b[1].toLowerCase():null}typeof define=="function"&&define.amd?define(function(){return c}):typeof e=="object"&&e.exports?e.exports=c:r.striptags=c})(t)}),he=N(t=>{"use strict";t.__esModule=!0,t.extend=a,t.indexOf=c,t.escapeExpression=d,t.isEmpty=h,t.createFrame=p,t.blockParams=l,t.appendContextPath=m;var e={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#x27;","`":"&#x60;","=":"&#x3D;"},r=/[&<>"'`=]/g,n=/[&<>"'`=]/;function i(f){return e[f]}function a(f){for(var b=1;b<arguments.length;b++)for(var v in arguments[b])Object.prototype.hasOwnProperty.call(arguments[b],v)&&(f[v]=arguments[b][v]);return f}var s=Object.prototype.toString;t.toString=s;var o=function(f){return typeof f=="function"};o(/x/)&&(t.isFunction=o=function(f){return typeof f=="function"&&s.call(f)==="[object Function]"}),t.isFunction=o;var u=Array.isArray||function(f){return f&&typeof f=="object"?s.call(f)==="[object Array]":!1};t.isArray=u;function c(f,b){for(var v=0,y=f.length;v<y;v++)if(f[v]===b)return v;return-1}function d(f){if(typeof f!="string"){if(f&&f.toHTML)return f.toHTML();if(f==null)return"";if(!f)return f+"";f=""+f}return n.test(f)?f.replace(r,i):f}function h(f){return!f&&f!==0?!0:!!(u(f)&&f.length===0)}function p(f){var b=a({},f);return b._parent=f,b}function l(f,b){return f.path=b,f}function m(f,b){return(f?f+".":"")+b}}),$e=N((t,e)=>{"use strict";t.__esModule=!0;var r=["description","fileName","lineNumber","endLineNumber","message","name","number","stack"];function n(i,a){var s=a&&a.loc,o=void 0,u=void 0,c=void 0,d=void 0;s&&(o=s.start.line,u=s.end.line,c=s.start.column,d=s.end.column,i+=" - "+o+":"+c);for(var h=Error.prototype.constructor.call(this,i),p=0;p<r.length;p++)this[r[p]]=h[r[p]];Error.captureStackTrace&&Error.captureStackTrace(this,n);try{s&&(this.lineNumber=o,this.endLineNumber=u,Object.defineProperty?(Object.defineProperty(this,"column",{value:c,enumerable:!0}),Object.defineProperty(this,"endColumn",{value:d,enumerable:!0})):(this.column=c,this.endColumn=d))}catch{}}n.prototype=new Error,t.default=n,e.exports=t.default}),Xu=N((t,e)=>{"use strict";t.__esModule=!0;var r=he();t.default=function(n){n.registerHelper("blockHelperMissing",function(i,a){var s=a.inverse,o=a.fn;if(i===!0)return o(this);if(i===!1||i==null)return s(this);if(r.isArray(i))return i.length>0?(a.ids&&(a.ids=[a.name]),n.helpers.each(i,a)):s(this);if(a.data&&a.ids){var u=r.createFrame(a.data);u.contextPath=r.appendContextPath(a.data.contextPath,a.name),a={data:u}}return o(i,a)})},e.exports=t.default}),Qu=N((t,e)=>{"use strict";t.__esModule=!0;function r(s){return s&&s.__esModule?s:{default:s}}var n=he(),i=$e(),a=r(i);t.default=function(s){s.registerHelper("each",function(o,u){if(!u)throw new a.default("Must pass iterator to #each");var c=u.fn,d=u.inverse,h=0,p="",l=void 0,m=void 0;u.data&&u.ids&&(m=n.appendContextPath(u.data.contextPath,u.ids[0])+"."),n.isFunction(o)&&(o=o.call(this)),u.data&&(l=n.createFrame(u.data));function f(k,$,x){l&&(l.key=k,l.index=$,l.first=$===0,l.last=!!x,m&&(l.contextPath=m+k)),p=p+c(o[k],{data:l,blockParams:n.blockParams([o[k],k],[m+k,null])})}if(o&&typeof o=="object")if(n.isArray(o))for(var b=o.length;h<b;h++)h in o&&f(h,h,h===o.length-1);else if(typeof Symbol=="function"&&o[Symbol.iterator]){for(var v=[],y=o[Symbol.iterator](),w=y.next();!w.done;w=y.next())v.push(w.value);o=v;for(var b=o.length;h<b;h++)f(h,h,h===o.length-1)}else(function(){var k=void 0;Object.keys(o).forEach(function($){k!==void 0&&f(k,h-1),k=$,h++}),k!==void 0&&f(k,h-1,!0)})();return h===0&&(p=d(this)),p})},e.exports=t.default}),el=N((t,e)=>{"use strict";t.__esModule=!0;function r(a){return a&&a.__esModule?a:{default:a}}var n=$e(),i=r(n);t.default=function(a){a.registerHelper("helperMissing",function(){if(arguments.length!==1)throw new i.default('Missing helper: "'+arguments[arguments.length-1].name+'"')})},e.exports=t.default}),tl=N((t,e)=>{"use strict";t.__esModule=!0;function r(s){return s&&s.__esModule?s:{default:s}}var n=he(),i=$e(),a=r(i);t.default=function(s){s.registerHelper("if",function(o,u){if(arguments.length!=2)throw new a.default("#if requires exactly one argument");return n.isFunction(o)&&(o=o.call(this)),!u.hash.includeZero&&!o||n.isEmpty(o)?u.inverse(this):u.fn(this)}),s.registerHelper("unless",function(o,u){if(arguments.length!=2)throw new a.default("#unless requires exactly one argument");return s.helpers.if.call(this,o,{fn:u.inverse,inverse:u.fn,hash:u.hash})})},e.exports=t.default}),rl=N((t,e)=>{"use strict";t.__esModule=!0,t.default=function(r){r.registerHelper("log",function(){for(var n=[void 0],i=arguments[arguments.length-1],a=0;a<arguments.length-1;a++)n.push(arguments[a]);var s=1;i.hash.level!=null?s=i.hash.level:i.data&&i.data.level!=null&&(s=i.data.level),n[0]=s,r.log.apply(r,n)})},e.exports=t.default}),nl=N((t,e)=>{"use strict";t.__esModule=!0,t.default=function(r){r.registerHelper("lookup",function(n,i,a){return n&&a.lookupProperty(n,i)})},e.exports=t.default}),il=N((t,e)=>{"use strict";t.__esModule=!0;function r(s){return s&&s.__esModule?s:{default:s}}var n=he(),i=$e(),a=r(i);t.default=function(s){s.registerHelper("with",function(o,u){if(arguments.length!=2)throw new a.default("#with requires exactly one argument");n.isFunction(o)&&(o=o.call(this));var c=u.fn;if(n.isEmpty(o))return u.inverse(this);var d=u.data;return u.data&&u.ids&&(d=n.createFrame(u.data),d.contextPath=n.appendContextPath(u.data.contextPath,u.ids[0])),c(o,{data:d,blockParams:n.blockParams([o],[d&&d.contextPath])})})},e.exports=t.default}),go=N(t=>{"use strict";t.__esModule=!0,t.registerDefaultHelpers=b,t.moveHelperToHooks=v;function e(y){return y&&y.__esModule?y:{default:y}}var r=Xu(),n=e(r),i=Qu(),a=e(i),s=el(),o=e(s),u=tl(),c=e(u),d=rl(),h=e(d),p=nl(),l=e(p),m=il(),f=e(m);function b(y){n.default(y),a.default(y),o.default(y),c.default(y),h.default(y),l.default(y),f.default(y)}function v(y,w,k){y.helpers[w]&&(y.hooks[w]=y.helpers[w],k||(y.helpers[w]=void 0))}}),al=N((t,e)=>{"use strict";t.__esModule=!0;var r=he();t.default=function(n){n.registerDecorator("inline",function(i,a,s,o){var u=i;return a.partials||(a.partials={},u=function(c,d){var h=s.partials;s.partials=r.extend({},h,a.partials);var p=i(c,d);return s.partials=h,p}),a.partials[o.args[0]]=o.fn,u})},e.exports=t.default}),ol=N(t=>{"use strict";t.__esModule=!0,t.registerDefaultDecorators=i;function e(a){return a&&a.__esModule?a:{default:a}}var r=al(),n=e(r);function i(a){n.default(a)}}),bo=N((t,e)=>{"use strict";t.__esModule=!0;var r=he(),n={methodMap:["debug","info","warn","error"],level:"info",lookupLevel:function(i){if(typeof i=="string"){var a=r.indexOf(n.methodMap,i.toLowerCase());a>=0?i=a:i=parseInt(i,10)}return i},log:function(i){if(i=n.lookupLevel(i),typeof console<"u"&&n.lookupLevel(n.level)<=i){var a=n.methodMap[i];console[a]||(a="log");for(var s=arguments.length,o=Array(s>1?s-1:0),u=1;u<s;u++)o[u-1]=arguments[u];console[a].apply(console,o)}}};t.default=n,e.exports=t.default}),yo=N(t=>{"use strict";t.__esModule=!0,t.createProtoAccessControl=s,t.resultIsAllowed=o,t.resetLoggedProperties=d;function e(h){return h&&h.__esModule?h:{default:h}}var r=he(),n=bo(),i=e(n),a=Object.create(null);function s(h){var p=Object.create(null);p.__proto__=!1,r.extend(p,h.allowedProtoProperties);var l=Object.create(null);return l.constructor=!1,l.__defineGetter__=!1,l.__defineSetter__=!1,l.__lookupGetter__=!1,l.__lookupSetter__=!1,r.extend(l,h.allowedProtoMethods),{properties:{whitelist:p,defaultValue:h.allowProtoPropertiesByDefault},methods:{whitelist:l,defaultValue:h.allowProtoMethodsByDefault}}}function o(h,p,l){return u(typeof h=="function"?p.methods:p.properties,l)}function u(h,p){return h.whitelist[p]!==void 0?h.whitelist[p]===!0:h.defaultValue!==void 0?h.defaultValue:(c(p),!1)}function c(h){a[h]!==!0&&(a[h]=!0,i.default.log("error",'Handlebars: Access has been denied to resolve the property "'+h+`" because it is not an "own property" of its parent.
1
+ var Wu=Object.defineProperty;var it=(t=>typeof require<"u"?require:typeof Proxy<"u"?new Proxy(t,{get:(e,r)=>(typeof require<"u"?require:e)[r]}):t)(function(t){if(typeof require<"u")return require.apply(this,arguments);throw Error('Dynamic require of "'+t+'" is not supported')});var Ui=(t,e)=>{for(var r in e)Wu(t,r,{get:e[r],enumerable:!0})};var Vu={};Ui(Vu,{BaseError:()=>le,BaseThrowable:()=>hr,BaseWarning:()=>ge,Dialect:()=>Ge,PotentialLoopError:()=>Dt,Processor:()=>pn,SimpleProcessor:()=>Ti,TemplateDataValidationError:()=>Xr,TemplateError:()=>Ot,TemplateSyntaxError:()=>He,default:()=>V4,dialects:()=>_o,errors:()=>dr,lib:()=>Se,modules:()=>zi,types:()=>Hl});var Hu=Object.create,di=Object.defineProperty,Zu=Object.getOwnPropertyDescriptor,Gu=Object.getOwnPropertyNames,Yu=Object.getPrototypeOf,Ju=Object.prototype.hasOwnProperty,jt=(t=>typeof it<"u"?it:typeof Proxy<"u"?new Proxy(t,{get:(e,r)=>(typeof it<"u"?it:e)[r]}):t)(function(t){if(typeof it<"u")return it.apply(this,arguments);throw Error('Dynamic require of "'+t+'" is not supported')}),N=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports),Jr=(t,e)=>{for(var r in e)di(t,r,{get:e[r],enumerable:!0})},Ku=(t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of Gu(e))!Ju.call(t,i)&&i!==r&&di(t,i,{get:()=>e[i],enumerable:!(n=Zu(e,i))||n.enumerable});return t},Kr=(t,e,r)=>(r=t!=null?Hu(Yu(t)):{},Ku(e||!t||!t.__esModule?di(r,"default",{value:t,enumerable:!0}):r,t)),Xu=N((t,e)=>{"use strict";(function(r){if(typeof n!="function"){var n=function(f){return f};n.nonNative=!0}let i=n("plaintext"),a=n("html"),s=n("comment"),o=/<(\w*)>/g,u=/<\/?([^\s\/>]+)/;function c(f,b,v){f=f||"",b=b||[],v=v||"";let y=h(b,v);return p(f,y)}function d(f,b){f=f||[],b=b||"";let v=h(f,b);return function(y){return p(y||"",v)}}c.init_streaming_mode=d;function h(f,b){return f=l(f),{allowable_tags:f,tag_replacement:b,state:i,tag_buffer:"",depth:0,in_quote_char:""}}function p(f,b){if(typeof f!="string")throw new TypeError("'html' parameter must be a string");let v=b.allowable_tags,y=b.tag_replacement,w=b.state,k=b.tag_buffer,$=b.depth,x=b.in_quote_char,S="";for(let _=0,C=f.length;_<C;_++){let A=f[_];if(w===i)A==="<"?(w=a,k+=A):S+=A;else if(w===a)switch(A){case"<":if(x)break;$++;break;case">":if(x)break;if($){$--;break}x="",w=i,k+=">",v.has(m(k))?S+=k:S+=y,k="";break;case'"':case"'":A===x?x="":x=x||A,k+=A;break;case"-":k==="<!-"&&(w=s),k+=A;break;case" ":case`
2
+ `:if(k==="<"){w=i,S+="< ",k="";break}k+=A;break;default:k+=A;break}else w===s&&(A===">"?(k.slice(-2)=="--"&&(w=i),k=""):k+=A)}return b.state=w,b.tag_buffer=k,b.depth=$,b.in_quote_char=x,S}function l(f){let b=new Set;if(typeof f=="string"){let v;for(;v=o.exec(f);)b.add(v[1])}else!n.nonNative&&typeof f[n.iterator]=="function"?b=new Set(f):typeof f.forEach=="function"&&f.forEach(b.add,b);return b}function m(f){let b=u.exec(f);return b?b[1].toLowerCase():null}typeof define=="function"&&define.amd?define(function(){return c}):typeof e=="object"&&e.exports?e.exports=c:r.striptags=c})(t)}),pe=N(t=>{"use strict";t.__esModule=!0,t.extend=a,t.indexOf=c,t.escapeExpression=d,t.isEmpty=h,t.createFrame=p,t.blockParams=l,t.appendContextPath=m;var e={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#x27;","`":"&#x60;","=":"&#x3D;"},r=/[&<>"'`=]/g,n=/[&<>"'`=]/;function i(f){return e[f]}function a(f){for(var b=1;b<arguments.length;b++)for(var v in arguments[b])Object.prototype.hasOwnProperty.call(arguments[b],v)&&(f[v]=arguments[b][v]);return f}var s=Object.prototype.toString;t.toString=s;var o=function(f){return typeof f=="function"};o(/x/)&&(t.isFunction=o=function(f){return typeof f=="function"&&s.call(f)==="[object Function]"}),t.isFunction=o;var u=Array.isArray||function(f){return f&&typeof f=="object"?s.call(f)==="[object Array]":!1};t.isArray=u;function c(f,b){for(var v=0,y=f.length;v<y;v++)if(f[v]===b)return v;return-1}function d(f){if(typeof f!="string"){if(f&&f.toHTML)return f.toHTML();if(f==null)return"";if(!f)return f+"";f=""+f}return n.test(f)?f.replace(r,i):f}function h(f){return!f&&f!==0?!0:!!(u(f)&&f.length===0)}function p(f){var b=a({},f);return b._parent=f,b}function l(f,b){return f.path=b,f}function m(f,b){return(f?f+".":"")+b}}),Ee=N((t,e)=>{"use strict";t.__esModule=!0;var r=["description","fileName","lineNumber","endLineNumber","message","name","number","stack"];function n(i,a){var s=a&&a.loc,o=void 0,u=void 0,c=void 0,d=void 0;s&&(o=s.start.line,u=s.end.line,c=s.start.column,d=s.end.column,i+=" - "+o+":"+c);for(var h=Error.prototype.constructor.call(this,i),p=0;p<r.length;p++)this[r[p]]=h[r[p]];Error.captureStackTrace&&Error.captureStackTrace(this,n);try{s&&(this.lineNumber=o,this.endLineNumber=u,Object.defineProperty?(Object.defineProperty(this,"column",{value:c,enumerable:!0}),Object.defineProperty(this,"endColumn",{value:d,enumerable:!0})):(this.column=c,this.endColumn=d))}catch{}}n.prototype=new Error,t.default=n,e.exports=t.default}),Qu=N((t,e)=>{"use strict";t.__esModule=!0;var r=pe();t.default=function(n){n.registerHelper("blockHelperMissing",function(i,a){var s=a.inverse,o=a.fn;if(i===!0)return o(this);if(i===!1||i==null)return s(this);if(r.isArray(i))return i.length>0?(a.ids&&(a.ids=[a.name]),n.helpers.each(i,a)):s(this);if(a.data&&a.ids){var u=r.createFrame(a.data);u.contextPath=r.appendContextPath(a.data.contextPath,a.name),a={data:u}}return o(i,a)})},e.exports=t.default}),el=N((t,e)=>{"use strict";t.__esModule=!0;function r(s){return s&&s.__esModule?s:{default:s}}var n=pe(),i=Ee(),a=r(i);t.default=function(s){s.registerHelper("each",function(o,u){if(!u)throw new a.default("Must pass iterator to #each");var c=u.fn,d=u.inverse,h=0,p="",l=void 0,m=void 0;u.data&&u.ids&&(m=n.appendContextPath(u.data.contextPath,u.ids[0])+"."),n.isFunction(o)&&(o=o.call(this)),u.data&&(l=n.createFrame(u.data));function f(k,$,x){l&&(l.key=k,l.index=$,l.first=$===0,l.last=!!x,m&&(l.contextPath=m+k)),p=p+c(o[k],{data:l,blockParams:n.blockParams([o[k],k],[m+k,null])})}if(o&&typeof o=="object")if(n.isArray(o))for(var b=o.length;h<b;h++)h in o&&f(h,h,h===o.length-1);else if(typeof Symbol=="function"&&o[Symbol.iterator]){for(var v=[],y=o[Symbol.iterator](),w=y.next();!w.done;w=y.next())v.push(w.value);o=v;for(var b=o.length;h<b;h++)f(h,h,h===o.length-1)}else(function(){var k=void 0;Object.keys(o).forEach(function($){k!==void 0&&f(k,h-1),k=$,h++}),k!==void 0&&f(k,h-1,!0)})();return h===0&&(p=d(this)),p})},e.exports=t.default}),tl=N((t,e)=>{"use strict";t.__esModule=!0;function r(a){return a&&a.__esModule?a:{default:a}}var n=Ee(),i=r(n);t.default=function(a){a.registerHelper("helperMissing",function(){if(arguments.length!==1)throw new i.default('Missing helper: "'+arguments[arguments.length-1].name+'"')})},e.exports=t.default}),rl=N((t,e)=>{"use strict";t.__esModule=!0;function r(s){return s&&s.__esModule?s:{default:s}}var n=pe(),i=Ee(),a=r(i);t.default=function(s){s.registerHelper("if",function(o,u){if(arguments.length!=2)throw new a.default("#if requires exactly one argument");return n.isFunction(o)&&(o=o.call(this)),!u.hash.includeZero&&!o||n.isEmpty(o)?u.inverse(this):u.fn(this)}),s.registerHelper("unless",function(o,u){if(arguments.length!=2)throw new a.default("#unless requires exactly one argument");return s.helpers.if.call(this,o,{fn:u.inverse,inverse:u.fn,hash:u.hash})})},e.exports=t.default}),nl=N((t,e)=>{"use strict";t.__esModule=!0,t.default=function(r){r.registerHelper("log",function(){for(var n=[void 0],i=arguments[arguments.length-1],a=0;a<arguments.length-1;a++)n.push(arguments[a]);var s=1;i.hash.level!=null?s=i.hash.level:i.data&&i.data.level!=null&&(s=i.data.level),n[0]=s,r.log.apply(r,n)})},e.exports=t.default}),il=N((t,e)=>{"use strict";t.__esModule=!0,t.default=function(r){r.registerHelper("lookup",function(n,i,a){return n&&a.lookupProperty(n,i)})},e.exports=t.default}),al=N((t,e)=>{"use strict";t.__esModule=!0;function r(s){return s&&s.__esModule?s:{default:s}}var n=pe(),i=Ee(),a=r(i);t.default=function(s){s.registerHelper("with",function(o,u){if(arguments.length!=2)throw new a.default("#with requires exactly one argument");n.isFunction(o)&&(o=o.call(this));var c=u.fn;if(n.isEmpty(o))return u.inverse(this);var d=u.data;return u.data&&u.ids&&(d=n.createFrame(u.data),d.contextPath=n.appendContextPath(u.data.contextPath,u.ids[0])),c(o,{data:d,blockParams:n.blockParams([o],[d&&d.contextPath])})})},e.exports=t.default}),bo=N(t=>{"use strict";t.__esModule=!0,t.registerDefaultHelpers=b,t.moveHelperToHooks=v;function e(y){return y&&y.__esModule?y:{default:y}}var r=Qu(),n=e(r),i=el(),a=e(i),s=tl(),o=e(s),u=rl(),c=e(u),d=nl(),h=e(d),p=il(),l=e(p),m=al(),f=e(m);function b(y){n.default(y),a.default(y),o.default(y),c.default(y),h.default(y),l.default(y),f.default(y)}function v(y,w,k){y.helpers[w]&&(y.hooks[w]=y.helpers[w],k||(y.helpers[w]=void 0))}}),ol=N((t,e)=>{"use strict";t.__esModule=!0;var r=pe();t.default=function(n){n.registerDecorator("inline",function(i,a,s,o){var u=i;return a.partials||(a.partials={},u=function(c,d){var h=s.partials;s.partials=r.extend({},h,a.partials);var p=i(c,d);return s.partials=h,p}),a.partials[o.args[0]]=o.fn,u})},e.exports=t.default}),sl=N(t=>{"use strict";t.__esModule=!0,t.registerDefaultDecorators=i;function e(a){return a&&a.__esModule?a:{default:a}}var r=ol(),n=e(r);function i(a){n.default(a)}}),yo=N((t,e)=>{"use strict";t.__esModule=!0;var r=pe(),n={methodMap:["debug","info","warn","error"],level:"info",lookupLevel:function(i){if(typeof i=="string"){var a=r.indexOf(n.methodMap,i.toLowerCase());a>=0?i=a:i=parseInt(i,10)}return i},log:function(i){if(i=n.lookupLevel(i),typeof console<"u"&&n.lookupLevel(n.level)<=i){var a=n.methodMap[i];console[a]||(a="log");for(var s=arguments.length,o=Array(s>1?s-1:0),u=1;u<s;u++)o[u-1]=arguments[u];console[a].apply(console,o)}}};t.default=n,e.exports=t.default}),vo=N(t=>{"use strict";t.__esModule=!0,t.createProtoAccessControl=s,t.resultIsAllowed=o,t.resetLoggedProperties=d;function e(h){return h&&h.__esModule?h:{default:h}}var r=pe(),n=yo(),i=e(n),a=Object.create(null);function s(h){var p=Object.create(null);p.__proto__=!1,r.extend(p,h.allowedProtoProperties);var l=Object.create(null);return l.constructor=!1,l.__defineGetter__=!1,l.__defineSetter__=!1,l.__lookupGetter__=!1,l.__lookupSetter__=!1,r.extend(l,h.allowedProtoMethods),{properties:{whitelist:p,defaultValue:h.allowProtoPropertiesByDefault},methods:{whitelist:l,defaultValue:h.allowProtoMethodsByDefault}}}function o(h,p,l){return u(typeof h=="function"?p.methods:p.properties,l)}function u(h,p){return h.whitelist[p]!==void 0?h.whitelist[p]===!0:h.defaultValue!==void 0?h.defaultValue:(c(p),!1)}function c(h){a[h]!==!0&&(a[h]=!0,i.default.log("error",'Handlebars: Access has been denied to resolve the property "'+h+`" because it is not an "own property" of its parent.
3
3
  You can add a runtime option to disable the check or this warning:
4
- See https://handlebarsjs.com/api-reference/runtime-options.html#options-to-control-prototype-access for details`))}function d(){Object.keys(a).forEach(function(h){delete a[h]})}}),di=N(t=>{"use strict";t.__esModule=!0,t.HandlebarsEnvironment=f;function e(v){return v&&v.__esModule?v:{default:v}}var r=he(),n=$e(),i=e(n),a=go(),s=ol(),o=bo(),u=e(o),c=yo(),d="4.7.9";t.VERSION=d;var h=8;t.COMPILER_REVISION=h;var p=7;t.LAST_COMPATIBLE_COMPILER_REVISION=p;var l={1:"<= 1.0.rc.2",2:"== 1.0.0-rc.3",3:"== 1.0.0-rc.4",4:"== 1.x.x",5:"== 2.0.0-alpha.x",6:">= 2.0.0-beta.1",7:">= 4.0.0 <4.3.0",8:">= 4.3.0"};t.REVISION_CHANGES=l;var m="[object Object]";function f(v,y,w){this.helpers=v||{},this.partials=y||{},this.decorators=w||{},a.registerDefaultHelpers(this),s.registerDefaultDecorators(this)}f.prototype={constructor:f,logger:u.default,log:u.default.log,registerHelper:function(v,y){if(r.toString.call(v)===m){if(y)throw new i.default("Arg not supported with multiple helpers");r.extend(this.helpers,v)}else this.helpers[v]=y},unregisterHelper:function(v){delete this.helpers[v]},registerPartial:function(v,y){if(r.toString.call(v)===m)r.extend(this.partials,v);else{if(typeof y>"u")throw new i.default('Attempting to register a partial called "'+v+'" as undefined');this.partials[v]=y}},unregisterPartial:function(v){delete this.partials[v]},registerDecorator:function(v,y){if(r.toString.call(v)===m){if(y)throw new i.default("Arg not supported with multiple decorators");r.extend(this.decorators,v)}else this.decorators[v]=y},unregisterDecorator:function(v){delete this.decorators[v]},resetLoggedPropertyAccesses:function(){c.resetLoggedProperties()}};var b=u.default.log;t.log=b,t.createFrame=r.createFrame,t.logger=u.default}),sl=N((t,e)=>{"use strict";t.__esModule=!0;function r(n){this.string=n}r.prototype.toString=r.prototype.toHTML=function(){return""+this.string},t.default=r,e.exports=t.default}),ul=N(t=>{"use strict";t.__esModule=!0,t.wrapHelper=e;function e(r,n){if(typeof r!="function")return r;var i=function(){var a=arguments[arguments.length-1];return arguments[arguments.length-1]=n(a),r.apply(this,arguments)};return i}}),ll=N(t=>{"use strict";t.__esModule=!0,t.checkRevision=h,t.template=p,t.wrapProgram=l,t.resolvePartial=m,t.invokePartial=f,t.noop=b;function e(x){return x&&x.__esModule?x:{default:x}}function r(x){if(x&&x.__esModule)return x;var S={};if(x!=null)for(var _ in x)Object.prototype.hasOwnProperty.call(x,_)&&(S[_]=x[_]);return S.default=x,S}var n=he(),i=r(n),a=$e(),s=e(a),o=di(),u=go(),c=ul(),d=yo();function h(x){var S=x&&x[0]||1,_=o.COMPILER_REVISION;if(!(S>=o.LAST_COMPATIBLE_COMPILER_REVISION&&S<=o.COMPILER_REVISION))if(S<o.LAST_COMPATIBLE_COMPILER_REVISION){var A=o.REVISION_CHANGES[_],C=o.REVISION_CHANGES[S];throw new s.default("Template was precompiled with an older version of Handlebars than the current runtime. Please update your precompiler to a newer version ("+A+") or downgrade your runtime to an older version ("+C+").")}else throw new s.default("Template was precompiled with a newer version of Handlebars than the current runtime. Please update your runtime to a newer version ("+x[1]+").")}function p(x,S){if(!S)throw new s.default("No environment passed to template");if(!x||!x.main)throw new s.default("Unknown template object: "+typeof x);x.main.decorator=x.main_d,S.VM.checkRevision(x.compiler);var _=x.compiler&&x.compiler[0]===7;function A(D,B,M){M.hash&&(B=i.extend({},B,M.hash),M.ids&&(M.ids[0]=!0)),D=S.VM.resolvePartial.call(this,D,B,M),M.hooks=this.hooks,M.protoAccessControl=this.protoAccessControl;var R=S.VM.invokePartial.call(this,D,B,M);if(R==null&&S.compile&&(M.partials[M.name]=S.compile(D,x.compilerOptions,S),R=M.partials[M.name](B,M)),R!=null){if(M.indent){for(var V=R.split(`
5
- `),Y=0,j=V.length;Y<j&&!(!V[Y]&&Y+1===j);Y++)V[Y]=M.indent+V[Y];R=V.join(`
6
- `)}return R}else throw new s.default("The partial "+M.name+" could not be compiled when running in runtime-only mode")}var C={strict:function(D,B,M){if(!D||!(B in D))throw new s.default('"'+B+'" not defined in '+D,{loc:M});return C.lookupProperty(D,B)},lookupProperty:function(D,B){var M=D[B];if(M==null||Object.prototype.hasOwnProperty.call(D,B)||d.resultIsAllowed(M,C.protoAccessControl,B))return M},lookup:function(D,B){for(var M=D.length,R=0;R<M;R++){var V=D[R]&&C.lookupProperty(D[R],B);if(V!=null)return V}},lambda:function(D,B){return typeof D=="function"?D.call(B):D},escapeExpression:i.escapeExpression,invokePartial:A,fn:function(D){var B=x[D];return B.decorator=x[D+"_d"],B},programs:[],program:function(D,B,M,R,V){var Y=this.programs[D],j=this.fn(D);return B||V||R||M?Y=l(this,D,j,B,M,R,V):Y||(Y=this.programs[D]=l(this,D,j)),Y},data:function(D,B){for(;D&&B--;)D=D._parent;return D},mergeIfNeeded:function(D,B){var M=D||B;return D&&B&&D!==B&&(M=i.extend({},B,D)),M},nullContext:Object.seal({}),noop:S.VM.noop,compilerInfo:x.compiler};function F(D){var B=arguments.length<=1||arguments[1]===void 0?{}:arguments[1],M=B.data;F._setup(B),!B.partial&&x.useData&&(M=y(D,M));var R=void 0,V=x.useBlockParams?[]:void 0;x.useDepths&&(B.depths?R=D!=B.depths[0]?[D].concat(B.depths):B.depths:R=[D]);function Y(j){return""+x.main(C,j,C.helpers,C.partials,M,V,R)}return Y=w(x.main,Y,C,B.depths||[],M,V),Y(D,B)}return F.isTop=!0,F._setup=function(D){if(D.partial)C.protoAccessControl=D.protoAccessControl,C.helpers=D.helpers,C.partials=D.partials,C.decorators=D.decorators,C.hooks=D.hooks;else{var B={};k(B,S.helpers,C),k(B,D.helpers,C),C.helpers=B,x.usePartial&&(C.partials=C.mergeIfNeeded(D.partials,S.partials)),(x.usePartial||x.useDecorators)&&(C.decorators=i.extend({},S.decorators,D.decorators)),C.hooks={},C.protoAccessControl=d.createProtoAccessControl(D);var M=D.allowCallsToHelperMissing||_;u.moveHelperToHooks(C,"helperMissing",M),u.moveHelperToHooks(C,"blockHelperMissing",M)}},F._child=function(D,B,M,R){if(x.useBlockParams&&!M)throw new s.default("must pass block params");if(x.useDepths&&!R)throw new s.default("must pass parent depths");return l(C,D,x[D],B,0,M,R)},F}function l(x,S,_,A,C,F,D){function B(M){var R=arguments.length<=1||arguments[1]===void 0?{}:arguments[1],V=D;return D&&M!=D[0]&&!(M===x.nullContext&&D[0]===null)&&(V=[M].concat(D)),_(x,M,x.helpers,x.partials,R.data||A,F&&[R.blockParams].concat(F),V)}return B=w(_,B,x,D,A,F),B.program=S,B.depth=D?D.length:0,B.blockParams=C||0,B}function m(x,S,_){return x?!x.call&&!_.name&&(_.name=x,x=v(_.partials,x)):_.name==="@partial-block"?x=v(_.data,"partial-block"):x=v(_.partials,_.name),x}function f(x,S,_){var A=v(_.data,"partial-block");_.partial=!0,_.ids&&(_.data.contextPath=_.ids[0]||_.data.contextPath);var C=void 0;if(_.fn&&_.fn!==b&&(function(){_.data=o.createFrame(_.data);var F=_.fn;C=_.data["partial-block"]=function(D){var B=arguments.length<=1||arguments[1]===void 0?{}:arguments[1];return B.data=o.createFrame(B.data),B.data["partial-block"]=A,F(D,B)},F.partials&&(_.partials=i.extend({},_.partials,F.partials))})(),x===void 0&&C&&(x=C),x===void 0)throw new s.default("The partial "+_.name+" could not be found");if(x instanceof Function)return x(S,_)}function b(){return""}function v(x,S){if(x&&Object.prototype.hasOwnProperty.call(x,S))return x[S]}function y(x,S){return(!S||!("root"in S))&&(S=S?o.createFrame(S):{},S.root=x),S}function w(x,S,_,A,C,F){if(x.decorator){var D={};S=x.decorator(S,D,_,A&&A[0],C,F,A),i.extend(S,D)}return S}function k(x,S,_){S&&Object.keys(S).forEach(function(A){var C=S[A];x[A]=$(C,_)})}function $(x,S){var _=S.lookupProperty;return c.wrapHelper(x,function(A){return A.lookupProperty=_,A})}}),vo=N((t,e)=>{"use strict";t.__esModule=!0,t.default=function(r){(function(){typeof globalThis!="object"&&(Object.prototype.__defineGetter__("__magic__",function(){return this}),__magic__.globalThis=__magic__,delete Object.prototype.__magic__)})();var n=globalThis.Handlebars;r.noConflict=function(){return globalThis.Handlebars===r&&(globalThis.Handlebars=n),r}},e.exports=t.default}),cl=N((t,e)=>{"use strict";t.__esModule=!0;function r(y){return y&&y.__esModule?y:{default:y}}function n(y){if(y&&y.__esModule)return y;var w={};if(y!=null)for(var k in y)Object.prototype.hasOwnProperty.call(y,k)&&(w[k]=y[k]);return w.default=y,w}var i=di(),a=n(i),s=sl(),o=r(s),u=$e(),c=r(u),d=he(),h=n(d),p=ll(),l=n(p),m=vo(),f=r(m);function b(){var y=new a.HandlebarsEnvironment;return h.extend(y,a),y.SafeString=o.default,y.Exception=c.default,y.Utils=h,y.escapeExpression=h.escapeExpression,y.VM=l,y.template=function(w){return l.template(w,y)},y}var v=b();v.create=b,f.default(v),v.default=v,t.default=v,e.exports=t.default}),ko=N((t,e)=>{"use strict";t.__esModule=!0;var r={helpers:{helperExpression:function(n){return n.type==="SubExpression"||(n.type==="MustacheStatement"||n.type==="BlockStatement")&&!!(n.params&&n.params.length||n.hash)},scopedId:function(n){return/^\.|this\b/.test(n.original)},simpleId:function(n){return n.parts.length===1&&!r.helpers.scopedId(n)&&!n.depth}}};t.default=r,e.exports=t.default}),dl=N((t,e)=>{"use strict";t.__esModule=!0;var r=(function(){var n={trace:function(){},yy:{},symbols_:{error:2,root:3,program:4,EOF:5,program_repetition0:6,statement:7,mustache:8,block:9,rawBlock:10,partial:11,partialBlock:12,content:13,COMMENT:14,CONTENT:15,openRawBlock:16,rawBlock_repetition0:17,END_RAW_BLOCK:18,OPEN_RAW_BLOCK:19,helperName:20,openRawBlock_repetition0:21,openRawBlock_option0:22,CLOSE_RAW_BLOCK:23,openBlock:24,block_option0:25,closeBlock:26,openInverse:27,block_option1:28,OPEN_BLOCK:29,openBlock_repetition0:30,openBlock_option0:31,openBlock_option1:32,CLOSE:33,OPEN_INVERSE:34,openInverse_repetition0:35,openInverse_option0:36,openInverse_option1:37,openInverseChain:38,OPEN_INVERSE_CHAIN:39,openInverseChain_repetition0:40,openInverseChain_option0:41,openInverseChain_option1:42,inverseAndProgram:43,INVERSE:44,inverseChain:45,inverseChain_option0:46,OPEN_ENDBLOCK:47,OPEN:48,mustache_repetition0:49,mustache_option0:50,OPEN_UNESCAPED:51,mustache_repetition1:52,mustache_option1:53,CLOSE_UNESCAPED:54,OPEN_PARTIAL:55,partialName:56,partial_repetition0:57,partial_option0:58,openPartialBlock:59,OPEN_PARTIAL_BLOCK:60,openPartialBlock_repetition0:61,openPartialBlock_option0:62,param:63,sexpr:64,OPEN_SEXPR:65,sexpr_repetition0:66,sexpr_option0:67,CLOSE_SEXPR:68,hash:69,hash_repetition_plus0:70,hashSegment:71,ID:72,EQUALS:73,blockParams:74,OPEN_BLOCK_PARAMS:75,blockParams_repetition_plus0:76,CLOSE_BLOCK_PARAMS:77,path:78,dataName:79,STRING:80,NUMBER:81,BOOLEAN:82,UNDEFINED:83,NULL:84,DATA:85,pathSegments:86,SEP:87,$accept:0,$end:1},terminals_:{2:"error",5:"EOF",14:"COMMENT",15:"CONTENT",18:"END_RAW_BLOCK",19:"OPEN_RAW_BLOCK",23:"CLOSE_RAW_BLOCK",29:"OPEN_BLOCK",33:"CLOSE",34:"OPEN_INVERSE",39:"OPEN_INVERSE_CHAIN",44:"INVERSE",47:"OPEN_ENDBLOCK",48:"OPEN",51:"OPEN_UNESCAPED",54:"CLOSE_UNESCAPED",55:"OPEN_PARTIAL",60:"OPEN_PARTIAL_BLOCK",65:"OPEN_SEXPR",68:"CLOSE_SEXPR",72:"ID",73:"EQUALS",75:"OPEN_BLOCK_PARAMS",77:"CLOSE_BLOCK_PARAMS",80:"STRING",81:"NUMBER",82:"BOOLEAN",83:"UNDEFINED",84:"NULL",85:"DATA",87:"SEP"},productions_:[0,[3,2],[4,1],[7,1],[7,1],[7,1],[7,1],[7,1],[7,1],[7,1],[13,1],[10,3],[16,5],[9,4],[9,4],[24,6],[27,6],[38,6],[43,2],[45,3],[45,1],[26,3],[8,5],[8,5],[11,5],[12,3],[59,5],[63,1],[63,1],[64,5],[69,1],[71,3],[74,3],[20,1],[20,1],[20,1],[20,1],[20,1],[20,1],[20,1],[56,1],[56,1],[79,2],[78,1],[86,3],[86,1],[6,0],[6,2],[17,0],[17,2],[21,0],[21,2],[22,0],[22,1],[25,0],[25,1],[28,0],[28,1],[30,0],[30,2],[31,0],[31,1],[32,0],[32,1],[35,0],[35,2],[36,0],[36,1],[37,0],[37,1],[40,0],[40,2],[41,0],[41,1],[42,0],[42,1],[46,0],[46,1],[49,0],[49,2],[50,0],[50,1],[52,0],[52,2],[53,0],[53,1],[57,0],[57,2],[58,0],[58,1],[61,0],[61,2],[62,0],[62,1],[66,0],[66,2],[67,0],[67,1],[70,1],[70,2],[76,1],[76,2]],performAction:function(s,o,u,c,d,h,p){var l=h.length-1;switch(d){case 1:return h[l-1];case 2:this.$=c.prepareProgram(h[l]);break;case 3:this.$=h[l];break;case 4:this.$=h[l];break;case 5:this.$=h[l];break;case 6:this.$=h[l];break;case 7:this.$=h[l];break;case 8:this.$=h[l];break;case 9:this.$={type:"CommentStatement",value:c.stripComment(h[l]),strip:c.stripFlags(h[l],h[l]),loc:c.locInfo(this._$)};break;case 10:this.$={type:"ContentStatement",original:h[l],value:h[l],loc:c.locInfo(this._$)};break;case 11:this.$=c.prepareRawBlock(h[l-2],h[l-1],h[l],this._$);break;case 12:this.$={path:h[l-3],params:h[l-2],hash:h[l-1]};break;case 13:this.$=c.prepareBlock(h[l-3],h[l-2],h[l-1],h[l],!1,this._$);break;case 14:this.$=c.prepareBlock(h[l-3],h[l-2],h[l-1],h[l],!0,this._$);break;case 15:this.$={open:h[l-5],path:h[l-4],params:h[l-3],hash:h[l-2],blockParams:h[l-1],strip:c.stripFlags(h[l-5],h[l])};break;case 16:this.$={path:h[l-4],params:h[l-3],hash:h[l-2],blockParams:h[l-1],strip:c.stripFlags(h[l-5],h[l])};break;case 17:this.$={path:h[l-4],params:h[l-3],hash:h[l-2],blockParams:h[l-1],strip:c.stripFlags(h[l-5],h[l])};break;case 18:this.$={strip:c.stripFlags(h[l-1],h[l-1]),program:h[l]};break;case 19:var m=c.prepareBlock(h[l-2],h[l-1],h[l],h[l],!1,this._$),f=c.prepareProgram([m],h[l-1].loc);f.chained=!0,this.$={strip:h[l-2].strip,program:f,chain:!0};break;case 20:this.$=h[l];break;case 21:this.$={path:h[l-1],strip:c.stripFlags(h[l-2],h[l])};break;case 22:this.$=c.prepareMustache(h[l-3],h[l-2],h[l-1],h[l-4],c.stripFlags(h[l-4],h[l]),this._$);break;case 23:this.$=c.prepareMustache(h[l-3],h[l-2],h[l-1],h[l-4],c.stripFlags(h[l-4],h[l]),this._$);break;case 24:this.$={type:"PartialStatement",name:h[l-3],params:h[l-2],hash:h[l-1],indent:"",strip:c.stripFlags(h[l-4],h[l]),loc:c.locInfo(this._$)};break;case 25:this.$=c.preparePartialBlock(h[l-2],h[l-1],h[l],this._$);break;case 26:this.$={path:h[l-3],params:h[l-2],hash:h[l-1],strip:c.stripFlags(h[l-4],h[l])};break;case 27:this.$=h[l];break;case 28:this.$=h[l];break;case 29:this.$={type:"SubExpression",path:h[l-3],params:h[l-2],hash:h[l-1],loc:c.locInfo(this._$)};break;case 30:this.$={type:"Hash",pairs:h[l],loc:c.locInfo(this._$)};break;case 31:this.$={type:"HashPair",key:c.id(h[l-2]),value:h[l],loc:c.locInfo(this._$)};break;case 32:this.$=c.id(h[l-1]);break;case 33:this.$=h[l];break;case 34:this.$=h[l];break;case 35:this.$={type:"StringLiteral",value:h[l],original:h[l],loc:c.locInfo(this._$)};break;case 36:this.$={type:"NumberLiteral",value:Number(h[l]),original:Number(h[l]),loc:c.locInfo(this._$)};break;case 37:this.$={type:"BooleanLiteral",value:h[l]==="true",original:h[l]==="true",loc:c.locInfo(this._$)};break;case 38:this.$={type:"UndefinedLiteral",original:void 0,value:void 0,loc:c.locInfo(this._$)};break;case 39:this.$={type:"NullLiteral",original:null,value:null,loc:c.locInfo(this._$)};break;case 40:this.$=h[l];break;case 41:this.$=h[l];break;case 42:this.$=c.preparePath(!0,h[l],this._$);break;case 43:this.$=c.preparePath(!1,h[l],this._$);break;case 44:h[l-2].push({part:c.id(h[l]),original:h[l],separator:h[l-1]}),this.$=h[l-2];break;case 45:this.$=[{part:c.id(h[l]),original:h[l]}];break;case 46:this.$=[];break;case 47:h[l-1].push(h[l]);break;case 48:this.$=[];break;case 49:h[l-1].push(h[l]);break;case 50:this.$=[];break;case 51:h[l-1].push(h[l]);break;case 58:this.$=[];break;case 59:h[l-1].push(h[l]);break;case 64:this.$=[];break;case 65:h[l-1].push(h[l]);break;case 70:this.$=[];break;case 71:h[l-1].push(h[l]);break;case 78:this.$=[];break;case 79:h[l-1].push(h[l]);break;case 82:this.$=[];break;case 83:h[l-1].push(h[l]);break;case 86:this.$=[];break;case 87:h[l-1].push(h[l]);break;case 90:this.$=[];break;case 91:h[l-1].push(h[l]);break;case 94:this.$=[];break;case 95:h[l-1].push(h[l]);break;case 98:this.$=[h[l]];break;case 99:h[l-1].push(h[l]);break;case 100:this.$=[h[l]];break;case 101:h[l-1].push(h[l]);break}},table:[{3:1,4:2,5:[2,46],6:3,14:[2,46],15:[2,46],19:[2,46],29:[2,46],34:[2,46],48:[2,46],51:[2,46],55:[2,46],60:[2,46]},{1:[3]},{5:[1,4]},{5:[2,2],7:5,8:6,9:7,10:8,11:9,12:10,13:11,14:[1,12],15:[1,20],16:17,19:[1,23],24:15,27:16,29:[1,21],34:[1,22],39:[2,2],44:[2,2],47:[2,2],48:[1,13],51:[1,14],55:[1,18],59:19,60:[1,24]},{1:[2,1]},{5:[2,47],14:[2,47],15:[2,47],19:[2,47],29:[2,47],34:[2,47],39:[2,47],44:[2,47],47:[2,47],48:[2,47],51:[2,47],55:[2,47],60:[2,47]},{5:[2,3],14:[2,3],15:[2,3],19:[2,3],29:[2,3],34:[2,3],39:[2,3],44:[2,3],47:[2,3],48:[2,3],51:[2,3],55:[2,3],60:[2,3]},{5:[2,4],14:[2,4],15:[2,4],19:[2,4],29:[2,4],34:[2,4],39:[2,4],44:[2,4],47:[2,4],48:[2,4],51:[2,4],55:[2,4],60:[2,4]},{5:[2,5],14:[2,5],15:[2,5],19:[2,5],29:[2,5],34:[2,5],39:[2,5],44:[2,5],47:[2,5],48:[2,5],51:[2,5],55:[2,5],60:[2,5]},{5:[2,6],14:[2,6],15:[2,6],19:[2,6],29:[2,6],34:[2,6],39:[2,6],44:[2,6],47:[2,6],48:[2,6],51:[2,6],55:[2,6],60:[2,6]},{5:[2,7],14:[2,7],15:[2,7],19:[2,7],29:[2,7],34:[2,7],39:[2,7],44:[2,7],47:[2,7],48:[2,7],51:[2,7],55:[2,7],60:[2,7]},{5:[2,8],14:[2,8],15:[2,8],19:[2,8],29:[2,8],34:[2,8],39:[2,8],44:[2,8],47:[2,8],48:[2,8],51:[2,8],55:[2,8],60:[2,8]},{5:[2,9],14:[2,9],15:[2,9],19:[2,9],29:[2,9],34:[2,9],39:[2,9],44:[2,9],47:[2,9],48:[2,9],51:[2,9],55:[2,9],60:[2,9]},{20:25,72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{20:36,72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{4:37,6:3,14:[2,46],15:[2,46],19:[2,46],29:[2,46],34:[2,46],39:[2,46],44:[2,46],47:[2,46],48:[2,46],51:[2,46],55:[2,46],60:[2,46]},{4:38,6:3,14:[2,46],15:[2,46],19:[2,46],29:[2,46],34:[2,46],44:[2,46],47:[2,46],48:[2,46],51:[2,46],55:[2,46],60:[2,46]},{15:[2,48],17:39,18:[2,48]},{20:41,56:40,64:42,65:[1,43],72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{4:44,6:3,14:[2,46],15:[2,46],19:[2,46],29:[2,46],34:[2,46],47:[2,46],48:[2,46],51:[2,46],55:[2,46],60:[2,46]},{5:[2,10],14:[2,10],15:[2,10],18:[2,10],19:[2,10],29:[2,10],34:[2,10],39:[2,10],44:[2,10],47:[2,10],48:[2,10],51:[2,10],55:[2,10],60:[2,10]},{20:45,72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{20:46,72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{20:47,72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{20:41,56:48,64:42,65:[1,43],72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{33:[2,78],49:49,65:[2,78],72:[2,78],80:[2,78],81:[2,78],82:[2,78],83:[2,78],84:[2,78],85:[2,78]},{23:[2,33],33:[2,33],54:[2,33],65:[2,33],68:[2,33],72:[2,33],75:[2,33],80:[2,33],81:[2,33],82:[2,33],83:[2,33],84:[2,33],85:[2,33]},{23:[2,34],33:[2,34],54:[2,34],65:[2,34],68:[2,34],72:[2,34],75:[2,34],80:[2,34],81:[2,34],82:[2,34],83:[2,34],84:[2,34],85:[2,34]},{23:[2,35],33:[2,35],54:[2,35],65:[2,35],68:[2,35],72:[2,35],75:[2,35],80:[2,35],81:[2,35],82:[2,35],83:[2,35],84:[2,35],85:[2,35]},{23:[2,36],33:[2,36],54:[2,36],65:[2,36],68:[2,36],72:[2,36],75:[2,36],80:[2,36],81:[2,36],82:[2,36],83:[2,36],84:[2,36],85:[2,36]},{23:[2,37],33:[2,37],54:[2,37],65:[2,37],68:[2,37],72:[2,37],75:[2,37],80:[2,37],81:[2,37],82:[2,37],83:[2,37],84:[2,37],85:[2,37]},{23:[2,38],33:[2,38],54:[2,38],65:[2,38],68:[2,38],72:[2,38],75:[2,38],80:[2,38],81:[2,38],82:[2,38],83:[2,38],84:[2,38],85:[2,38]},{23:[2,39],33:[2,39],54:[2,39],65:[2,39],68:[2,39],72:[2,39],75:[2,39],80:[2,39],81:[2,39],82:[2,39],83:[2,39],84:[2,39],85:[2,39]},{23:[2,43],33:[2,43],54:[2,43],65:[2,43],68:[2,43],72:[2,43],75:[2,43],80:[2,43],81:[2,43],82:[2,43],83:[2,43],84:[2,43],85:[2,43],87:[1,50]},{72:[1,35],86:51},{23:[2,45],33:[2,45],54:[2,45],65:[2,45],68:[2,45],72:[2,45],75:[2,45],80:[2,45],81:[2,45],82:[2,45],83:[2,45],84:[2,45],85:[2,45],87:[2,45]},{52:52,54:[2,82],65:[2,82],72:[2,82],80:[2,82],81:[2,82],82:[2,82],83:[2,82],84:[2,82],85:[2,82]},{25:53,38:55,39:[1,57],43:56,44:[1,58],45:54,47:[2,54]},{28:59,43:60,44:[1,58],47:[2,56]},{13:62,15:[1,20],18:[1,61]},{33:[2,86],57:63,65:[2,86],72:[2,86],80:[2,86],81:[2,86],82:[2,86],83:[2,86],84:[2,86],85:[2,86]},{33:[2,40],65:[2,40],72:[2,40],80:[2,40],81:[2,40],82:[2,40],83:[2,40],84:[2,40],85:[2,40]},{33:[2,41],65:[2,41],72:[2,41],80:[2,41],81:[2,41],82:[2,41],83:[2,41],84:[2,41],85:[2,41]},{20:64,72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{26:65,47:[1,66]},{30:67,33:[2,58],65:[2,58],72:[2,58],75:[2,58],80:[2,58],81:[2,58],82:[2,58],83:[2,58],84:[2,58],85:[2,58]},{33:[2,64],35:68,65:[2,64],72:[2,64],75:[2,64],80:[2,64],81:[2,64],82:[2,64],83:[2,64],84:[2,64],85:[2,64]},{21:69,23:[2,50],65:[2,50],72:[2,50],80:[2,50],81:[2,50],82:[2,50],83:[2,50],84:[2,50],85:[2,50]},{33:[2,90],61:70,65:[2,90],72:[2,90],80:[2,90],81:[2,90],82:[2,90],83:[2,90],84:[2,90],85:[2,90]},{20:74,33:[2,80],50:71,63:72,64:75,65:[1,43],69:73,70:76,71:77,72:[1,78],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{72:[1,79]},{23:[2,42],33:[2,42],54:[2,42],65:[2,42],68:[2,42],72:[2,42],75:[2,42],80:[2,42],81:[2,42],82:[2,42],83:[2,42],84:[2,42],85:[2,42],87:[1,50]},{20:74,53:80,54:[2,84],63:81,64:75,65:[1,43],69:82,70:76,71:77,72:[1,78],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{26:83,47:[1,66]},{47:[2,55]},{4:84,6:3,14:[2,46],15:[2,46],19:[2,46],29:[2,46],34:[2,46],39:[2,46],44:[2,46],47:[2,46],48:[2,46],51:[2,46],55:[2,46],60:[2,46]},{47:[2,20]},{20:85,72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{4:86,6:3,14:[2,46],15:[2,46],19:[2,46],29:[2,46],34:[2,46],47:[2,46],48:[2,46],51:[2,46],55:[2,46],60:[2,46]},{26:87,47:[1,66]},{47:[2,57]},{5:[2,11],14:[2,11],15:[2,11],19:[2,11],29:[2,11],34:[2,11],39:[2,11],44:[2,11],47:[2,11],48:[2,11],51:[2,11],55:[2,11],60:[2,11]},{15:[2,49],18:[2,49]},{20:74,33:[2,88],58:88,63:89,64:75,65:[1,43],69:90,70:76,71:77,72:[1,78],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{65:[2,94],66:91,68:[2,94],72:[2,94],80:[2,94],81:[2,94],82:[2,94],83:[2,94],84:[2,94],85:[2,94]},{5:[2,25],14:[2,25],15:[2,25],19:[2,25],29:[2,25],34:[2,25],39:[2,25],44:[2,25],47:[2,25],48:[2,25],51:[2,25],55:[2,25],60:[2,25]},{20:92,72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{20:74,31:93,33:[2,60],63:94,64:75,65:[1,43],69:95,70:76,71:77,72:[1,78],75:[2,60],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{20:74,33:[2,66],36:96,63:97,64:75,65:[1,43],69:98,70:76,71:77,72:[1,78],75:[2,66],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{20:74,22:99,23:[2,52],63:100,64:75,65:[1,43],69:101,70:76,71:77,72:[1,78],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{20:74,33:[2,92],62:102,63:103,64:75,65:[1,43],69:104,70:76,71:77,72:[1,78],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{33:[1,105]},{33:[2,79],65:[2,79],72:[2,79],80:[2,79],81:[2,79],82:[2,79],83:[2,79],84:[2,79],85:[2,79]},{33:[2,81]},{23:[2,27],33:[2,27],54:[2,27],65:[2,27],68:[2,27],72:[2,27],75:[2,27],80:[2,27],81:[2,27],82:[2,27],83:[2,27],84:[2,27],85:[2,27]},{23:[2,28],33:[2,28],54:[2,28],65:[2,28],68:[2,28],72:[2,28],75:[2,28],80:[2,28],81:[2,28],82:[2,28],83:[2,28],84:[2,28],85:[2,28]},{23:[2,30],33:[2,30],54:[2,30],68:[2,30],71:106,72:[1,107],75:[2,30]},{23:[2,98],33:[2,98],54:[2,98],68:[2,98],72:[2,98],75:[2,98]},{23:[2,45],33:[2,45],54:[2,45],65:[2,45],68:[2,45],72:[2,45],73:[1,108],75:[2,45],80:[2,45],81:[2,45],82:[2,45],83:[2,45],84:[2,45],85:[2,45],87:[2,45]},{23:[2,44],33:[2,44],54:[2,44],65:[2,44],68:[2,44],72:[2,44],75:[2,44],80:[2,44],81:[2,44],82:[2,44],83:[2,44],84:[2,44],85:[2,44],87:[2,44]},{54:[1,109]},{54:[2,83],65:[2,83],72:[2,83],80:[2,83],81:[2,83],82:[2,83],83:[2,83],84:[2,83],85:[2,83]},{54:[2,85]},{5:[2,13],14:[2,13],15:[2,13],19:[2,13],29:[2,13],34:[2,13],39:[2,13],44:[2,13],47:[2,13],48:[2,13],51:[2,13],55:[2,13],60:[2,13]},{38:55,39:[1,57],43:56,44:[1,58],45:111,46:110,47:[2,76]},{33:[2,70],40:112,65:[2,70],72:[2,70],75:[2,70],80:[2,70],81:[2,70],82:[2,70],83:[2,70],84:[2,70],85:[2,70]},{47:[2,18]},{5:[2,14],14:[2,14],15:[2,14],19:[2,14],29:[2,14],34:[2,14],39:[2,14],44:[2,14],47:[2,14],48:[2,14],51:[2,14],55:[2,14],60:[2,14]},{33:[1,113]},{33:[2,87],65:[2,87],72:[2,87],80:[2,87],81:[2,87],82:[2,87],83:[2,87],84:[2,87],85:[2,87]},{33:[2,89]},{20:74,63:115,64:75,65:[1,43],67:114,68:[2,96],69:116,70:76,71:77,72:[1,78],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{33:[1,117]},{32:118,33:[2,62],74:119,75:[1,120]},{33:[2,59],65:[2,59],72:[2,59],75:[2,59],80:[2,59],81:[2,59],82:[2,59],83:[2,59],84:[2,59],85:[2,59]},{33:[2,61],75:[2,61]},{33:[2,68],37:121,74:122,75:[1,120]},{33:[2,65],65:[2,65],72:[2,65],75:[2,65],80:[2,65],81:[2,65],82:[2,65],83:[2,65],84:[2,65],85:[2,65]},{33:[2,67],75:[2,67]},{23:[1,123]},{23:[2,51],65:[2,51],72:[2,51],80:[2,51],81:[2,51],82:[2,51],83:[2,51],84:[2,51],85:[2,51]},{23:[2,53]},{33:[1,124]},{33:[2,91],65:[2,91],72:[2,91],80:[2,91],81:[2,91],82:[2,91],83:[2,91],84:[2,91],85:[2,91]},{33:[2,93]},{5:[2,22],14:[2,22],15:[2,22],19:[2,22],29:[2,22],34:[2,22],39:[2,22],44:[2,22],47:[2,22],48:[2,22],51:[2,22],55:[2,22],60:[2,22]},{23:[2,99],33:[2,99],54:[2,99],68:[2,99],72:[2,99],75:[2,99]},{73:[1,108]},{20:74,63:125,64:75,65:[1,43],72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{5:[2,23],14:[2,23],15:[2,23],19:[2,23],29:[2,23],34:[2,23],39:[2,23],44:[2,23],47:[2,23],48:[2,23],51:[2,23],55:[2,23],60:[2,23]},{47:[2,19]},{47:[2,77]},{20:74,33:[2,72],41:126,63:127,64:75,65:[1,43],69:128,70:76,71:77,72:[1,78],75:[2,72],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{5:[2,24],14:[2,24],15:[2,24],19:[2,24],29:[2,24],34:[2,24],39:[2,24],44:[2,24],47:[2,24],48:[2,24],51:[2,24],55:[2,24],60:[2,24]},{68:[1,129]},{65:[2,95],68:[2,95],72:[2,95],80:[2,95],81:[2,95],82:[2,95],83:[2,95],84:[2,95],85:[2,95]},{68:[2,97]},{5:[2,21],14:[2,21],15:[2,21],19:[2,21],29:[2,21],34:[2,21],39:[2,21],44:[2,21],47:[2,21],48:[2,21],51:[2,21],55:[2,21],60:[2,21]},{33:[1,130]},{33:[2,63]},{72:[1,132],76:131},{33:[1,133]},{33:[2,69]},{15:[2,12],18:[2,12]},{14:[2,26],15:[2,26],19:[2,26],29:[2,26],34:[2,26],47:[2,26],48:[2,26],51:[2,26],55:[2,26],60:[2,26]},{23:[2,31],33:[2,31],54:[2,31],68:[2,31],72:[2,31],75:[2,31]},{33:[2,74],42:134,74:135,75:[1,120]},{33:[2,71],65:[2,71],72:[2,71],75:[2,71],80:[2,71],81:[2,71],82:[2,71],83:[2,71],84:[2,71],85:[2,71]},{33:[2,73],75:[2,73]},{23:[2,29],33:[2,29],54:[2,29],65:[2,29],68:[2,29],72:[2,29],75:[2,29],80:[2,29],81:[2,29],82:[2,29],83:[2,29],84:[2,29],85:[2,29]},{14:[2,15],15:[2,15],19:[2,15],29:[2,15],34:[2,15],39:[2,15],44:[2,15],47:[2,15],48:[2,15],51:[2,15],55:[2,15],60:[2,15]},{72:[1,137],77:[1,136]},{72:[2,100],77:[2,100]},{14:[2,16],15:[2,16],19:[2,16],29:[2,16],34:[2,16],44:[2,16],47:[2,16],48:[2,16],51:[2,16],55:[2,16],60:[2,16]},{33:[1,138]},{33:[2,75]},{33:[2,32]},{72:[2,101],77:[2,101]},{14:[2,17],15:[2,17],19:[2,17],29:[2,17],34:[2,17],39:[2,17],44:[2,17],47:[2,17],48:[2,17],51:[2,17],55:[2,17],60:[2,17]}],defaultActions:{4:[2,1],54:[2,55],56:[2,20],60:[2,57],73:[2,81],82:[2,85],86:[2,18],90:[2,89],101:[2,53],104:[2,93],110:[2,19],111:[2,77],116:[2,97],119:[2,63],122:[2,69],135:[2,75],136:[2,32]},parseError:function(s,o){throw new Error(s)},parse:function(s){var o=this,u=[0],c=[null],d=[],h=this.table,p="",l=0,m=0,f=0,b=2,v=1;this.lexer.setInput(s),this.lexer.yy=this.yy,this.yy.lexer=this.lexer,this.yy.parser=this,typeof this.lexer.yylloc>"u"&&(this.lexer.yylloc={});var y=this.lexer.yylloc;d.push(y);var w=this.lexer.options&&this.lexer.options.ranges;typeof this.yy.parseError=="function"&&(this.parseError=this.yy.parseError);function k(j){u.length=u.length-2*j,c.length=c.length-j,d.length=d.length-j}function $(){var j;return j=o.lexer.lex()||1,typeof j!="number"&&(j=o.symbols_[j]||j),j}for(var x,S,_,A,C,F,D={},B,M,R,V;;){if(_=u[u.length-1],this.defaultActions[_]?A=this.defaultActions[_]:((x===null||typeof x>"u")&&(x=$()),A=h[_]&&h[_][x]),typeof A>"u"||!A.length||!A[0]){var Y="";if(!f){V=[];for(B in h[_])this.terminals_[B]&&B>2&&V.push("'"+this.terminals_[B]+"'");this.lexer.showPosition?Y="Parse error on line "+(l+1)+`:
4
+ See https://handlebarsjs.com/api-reference/runtime-options.html#options-to-control-prototype-access for details`))}function d(){Object.keys(a).forEach(function(h){delete a[h]})}}),hi=N(t=>{"use strict";t.__esModule=!0,t.HandlebarsEnvironment=f;function e(v){return v&&v.__esModule?v:{default:v}}var r=pe(),n=Ee(),i=e(n),a=bo(),s=sl(),o=yo(),u=e(o),c=vo(),d="4.7.9";t.VERSION=d;var h=8;t.COMPILER_REVISION=h;var p=7;t.LAST_COMPATIBLE_COMPILER_REVISION=p;var l={1:"<= 1.0.rc.2",2:"== 1.0.0-rc.3",3:"== 1.0.0-rc.4",4:"== 1.x.x",5:"== 2.0.0-alpha.x",6:">= 2.0.0-beta.1",7:">= 4.0.0 <4.3.0",8:">= 4.3.0"};t.REVISION_CHANGES=l;var m="[object Object]";function f(v,y,w){this.helpers=v||{},this.partials=y||{},this.decorators=w||{},a.registerDefaultHelpers(this),s.registerDefaultDecorators(this)}f.prototype={constructor:f,logger:u.default,log:u.default.log,registerHelper:function(v,y){if(r.toString.call(v)===m){if(y)throw new i.default("Arg not supported with multiple helpers");r.extend(this.helpers,v)}else this.helpers[v]=y},unregisterHelper:function(v){delete this.helpers[v]},registerPartial:function(v,y){if(r.toString.call(v)===m)r.extend(this.partials,v);else{if(typeof y>"u")throw new i.default('Attempting to register a partial called "'+v+'" as undefined');this.partials[v]=y}},unregisterPartial:function(v){delete this.partials[v]},registerDecorator:function(v,y){if(r.toString.call(v)===m){if(y)throw new i.default("Arg not supported with multiple decorators");r.extend(this.decorators,v)}else this.decorators[v]=y},unregisterDecorator:function(v){delete this.decorators[v]},resetLoggedPropertyAccesses:function(){c.resetLoggedProperties()}};var b=u.default.log;t.log=b,t.createFrame=r.createFrame,t.logger=u.default}),ul=N((t,e)=>{"use strict";t.__esModule=!0;function r(n){this.string=n}r.prototype.toString=r.prototype.toHTML=function(){return""+this.string},t.default=r,e.exports=t.default}),ll=N(t=>{"use strict";t.__esModule=!0,t.wrapHelper=e;function e(r,n){if(typeof r!="function")return r;var i=function(){var a=arguments[arguments.length-1];return arguments[arguments.length-1]=n(a),r.apply(this,arguments)};return i}}),cl=N(t=>{"use strict";t.__esModule=!0,t.checkRevision=h,t.template=p,t.wrapProgram=l,t.resolvePartial=m,t.invokePartial=f,t.noop=b;function e(x){return x&&x.__esModule?x:{default:x}}function r(x){if(x&&x.__esModule)return x;var S={};if(x!=null)for(var _ in x)Object.prototype.hasOwnProperty.call(x,_)&&(S[_]=x[_]);return S.default=x,S}var n=pe(),i=r(n),a=Ee(),s=e(a),o=hi(),u=bo(),c=ll(),d=vo();function h(x){var S=x&&x[0]||1,_=o.COMPILER_REVISION;if(!(S>=o.LAST_COMPATIBLE_COMPILER_REVISION&&S<=o.COMPILER_REVISION))if(S<o.LAST_COMPATIBLE_COMPILER_REVISION){var C=o.REVISION_CHANGES[_],A=o.REVISION_CHANGES[S];throw new s.default("Template was precompiled with an older version of Handlebars than the current runtime. Please update your precompiler to a newer version ("+C+") or downgrade your runtime to an older version ("+A+").")}else throw new s.default("Template was precompiled with a newer version of Handlebars than the current runtime. Please update your runtime to a newer version ("+x[1]+").")}function p(x,S){if(!S)throw new s.default("No environment passed to template");if(!x||!x.main)throw new s.default("Unknown template object: "+typeof x);x.main.decorator=x.main_d,S.VM.checkRevision(x.compiler);var _=x.compiler&&x.compiler[0]===7;function C(D,B,M){M.hash&&(B=i.extend({},B,M.hash),M.ids&&(M.ids[0]=!0)),D=S.VM.resolvePartial.call(this,D,B,M),M.hooks=this.hooks,M.protoAccessControl=this.protoAccessControl;var R=S.VM.invokePartial.call(this,D,B,M);if(R==null&&S.compile&&(M.partials[M.name]=S.compile(D,x.compilerOptions,S),R=M.partials[M.name](B,M)),R!=null){if(M.indent){for(var V=R.split(`
5
+ `),G=0,j=V.length;G<j&&!(!V[G]&&G+1===j);G++)V[G]=M.indent+V[G];R=V.join(`
6
+ `)}return R}else throw new s.default("The partial "+M.name+" could not be compiled when running in runtime-only mode")}var A={strict:function(D,B,M){if(!D||!(B in D))throw new s.default('"'+B+'" not defined in '+D,{loc:M});return A.lookupProperty(D,B)},lookupProperty:function(D,B){var M=D[B];if(M==null||Object.prototype.hasOwnProperty.call(D,B)||d.resultIsAllowed(M,A.protoAccessControl,B))return M},lookup:function(D,B){for(var M=D.length,R=0;R<M;R++){var V=D[R]&&A.lookupProperty(D[R],B);if(V!=null)return V}},lambda:function(D,B){return typeof D=="function"?D.call(B):D},escapeExpression:i.escapeExpression,invokePartial:C,fn:function(D){var B=x[D];return B.decorator=x[D+"_d"],B},programs:[],program:function(D,B,M,R,V){var G=this.programs[D],j=this.fn(D);return B||V||R||M?G=l(this,D,j,B,M,R,V):G||(G=this.programs[D]=l(this,D,j)),G},data:function(D,B){for(;D&&B--;)D=D._parent;return D},mergeIfNeeded:function(D,B){var M=D||B;return D&&B&&D!==B&&(M=i.extend({},B,D)),M},nullContext:Object.seal({}),noop:S.VM.noop,compilerInfo:x.compiler};function F(D){var B=arguments.length<=1||arguments[1]===void 0?{}:arguments[1],M=B.data;F._setup(B),!B.partial&&x.useData&&(M=y(D,M));var R=void 0,V=x.useBlockParams?[]:void 0;x.useDepths&&(B.depths?R=D!=B.depths[0]?[D].concat(B.depths):B.depths:R=[D]);function G(j){return""+x.main(A,j,A.helpers,A.partials,M,V,R)}return G=w(x.main,G,A,B.depths||[],M,V),G(D,B)}return F.isTop=!0,F._setup=function(D){if(D.partial)A.protoAccessControl=D.protoAccessControl,A.helpers=D.helpers,A.partials=D.partials,A.decorators=D.decorators,A.hooks=D.hooks;else{var B={};k(B,S.helpers,A),k(B,D.helpers,A),A.helpers=B,x.usePartial&&(A.partials=A.mergeIfNeeded(D.partials,S.partials)),(x.usePartial||x.useDecorators)&&(A.decorators=i.extend({},S.decorators,D.decorators)),A.hooks={},A.protoAccessControl=d.createProtoAccessControl(D);var M=D.allowCallsToHelperMissing||_;u.moveHelperToHooks(A,"helperMissing",M),u.moveHelperToHooks(A,"blockHelperMissing",M)}},F._child=function(D,B,M,R){if(x.useBlockParams&&!M)throw new s.default("must pass block params");if(x.useDepths&&!R)throw new s.default("must pass parent depths");return l(A,D,x[D],B,0,M,R)},F}function l(x,S,_,C,A,F,D){function B(M){var R=arguments.length<=1||arguments[1]===void 0?{}:arguments[1],V=D;return D&&M!=D[0]&&!(M===x.nullContext&&D[0]===null)&&(V=[M].concat(D)),_(x,M,x.helpers,x.partials,R.data||C,F&&[R.blockParams].concat(F),V)}return B=w(_,B,x,D,C,F),B.program=S,B.depth=D?D.length:0,B.blockParams=A||0,B}function m(x,S,_){return x?!x.call&&!_.name&&(_.name=x,x=v(_.partials,x)):_.name==="@partial-block"?x=v(_.data,"partial-block"):x=v(_.partials,_.name),x}function f(x,S,_){var C=v(_.data,"partial-block");_.partial=!0,_.ids&&(_.data.contextPath=_.ids[0]||_.data.contextPath);var A=void 0;if(_.fn&&_.fn!==b&&(function(){_.data=o.createFrame(_.data);var F=_.fn;A=_.data["partial-block"]=function(D){var B=arguments.length<=1||arguments[1]===void 0?{}:arguments[1];return B.data=o.createFrame(B.data),B.data["partial-block"]=C,F(D,B)},F.partials&&(_.partials=i.extend({},_.partials,F.partials))})(),x===void 0&&A&&(x=A),x===void 0)throw new s.default("The partial "+_.name+" could not be found");if(x instanceof Function)return x(S,_)}function b(){return""}function v(x,S){if(x&&Object.prototype.hasOwnProperty.call(x,S))return x[S]}function y(x,S){return(!S||!("root"in S))&&(S=S?o.createFrame(S):{},S.root=x),S}function w(x,S,_,C,A,F){if(x.decorator){var D={};S=x.decorator(S,D,_,C&&C[0],A,F,C),i.extend(S,D)}return S}function k(x,S,_){S&&Object.keys(S).forEach(function(C){var A=S[C];x[C]=$(A,_)})}function $(x,S){var _=S.lookupProperty;return c.wrapHelper(x,function(C){return C.lookupProperty=_,C})}}),ko=N((t,e)=>{"use strict";t.__esModule=!0,t.default=function(r){(function(){typeof globalThis!="object"&&(Object.prototype.__defineGetter__("__magic__",function(){return this}),__magic__.globalThis=__magic__,delete Object.prototype.__magic__)})();var n=globalThis.Handlebars;r.noConflict=function(){return globalThis.Handlebars===r&&(globalThis.Handlebars=n),r}},e.exports=t.default}),dl=N((t,e)=>{"use strict";t.__esModule=!0;function r(y){return y&&y.__esModule?y:{default:y}}function n(y){if(y&&y.__esModule)return y;var w={};if(y!=null)for(var k in y)Object.prototype.hasOwnProperty.call(y,k)&&(w[k]=y[k]);return w.default=y,w}var i=hi(),a=n(i),s=ul(),o=r(s),u=Ee(),c=r(u),d=pe(),h=n(d),p=cl(),l=n(p),m=ko(),f=r(m);function b(){var y=new a.HandlebarsEnvironment;return h.extend(y,a),y.SafeString=o.default,y.Exception=c.default,y.Utils=h,y.escapeExpression=h.escapeExpression,y.VM=l,y.template=function(w){return l.template(w,y)},y}var v=b();v.create=b,f.default(v),v.default=v,t.default=v,e.exports=t.default}),xo=N((t,e)=>{"use strict";t.__esModule=!0;var r={helpers:{helperExpression:function(n){return n.type==="SubExpression"||(n.type==="MustacheStatement"||n.type==="BlockStatement")&&!!(n.params&&n.params.length||n.hash)},scopedId:function(n){return/^\.|this\b/.test(n.original)},simpleId:function(n){return n.parts.length===1&&!r.helpers.scopedId(n)&&!n.depth}}};t.default=r,e.exports=t.default}),hl=N((t,e)=>{"use strict";t.__esModule=!0;var r=(function(){var n={trace:function(){},yy:{},symbols_:{error:2,root:3,program:4,EOF:5,program_repetition0:6,statement:7,mustache:8,block:9,rawBlock:10,partial:11,partialBlock:12,content:13,COMMENT:14,CONTENT:15,openRawBlock:16,rawBlock_repetition0:17,END_RAW_BLOCK:18,OPEN_RAW_BLOCK:19,helperName:20,openRawBlock_repetition0:21,openRawBlock_option0:22,CLOSE_RAW_BLOCK:23,openBlock:24,block_option0:25,closeBlock:26,openInverse:27,block_option1:28,OPEN_BLOCK:29,openBlock_repetition0:30,openBlock_option0:31,openBlock_option1:32,CLOSE:33,OPEN_INVERSE:34,openInverse_repetition0:35,openInverse_option0:36,openInverse_option1:37,openInverseChain:38,OPEN_INVERSE_CHAIN:39,openInverseChain_repetition0:40,openInverseChain_option0:41,openInverseChain_option1:42,inverseAndProgram:43,INVERSE:44,inverseChain:45,inverseChain_option0:46,OPEN_ENDBLOCK:47,OPEN:48,mustache_repetition0:49,mustache_option0:50,OPEN_UNESCAPED:51,mustache_repetition1:52,mustache_option1:53,CLOSE_UNESCAPED:54,OPEN_PARTIAL:55,partialName:56,partial_repetition0:57,partial_option0:58,openPartialBlock:59,OPEN_PARTIAL_BLOCK:60,openPartialBlock_repetition0:61,openPartialBlock_option0:62,param:63,sexpr:64,OPEN_SEXPR:65,sexpr_repetition0:66,sexpr_option0:67,CLOSE_SEXPR:68,hash:69,hash_repetition_plus0:70,hashSegment:71,ID:72,EQUALS:73,blockParams:74,OPEN_BLOCK_PARAMS:75,blockParams_repetition_plus0:76,CLOSE_BLOCK_PARAMS:77,path:78,dataName:79,STRING:80,NUMBER:81,BOOLEAN:82,UNDEFINED:83,NULL:84,DATA:85,pathSegments:86,SEP:87,$accept:0,$end:1},terminals_:{2:"error",5:"EOF",14:"COMMENT",15:"CONTENT",18:"END_RAW_BLOCK",19:"OPEN_RAW_BLOCK",23:"CLOSE_RAW_BLOCK",29:"OPEN_BLOCK",33:"CLOSE",34:"OPEN_INVERSE",39:"OPEN_INVERSE_CHAIN",44:"INVERSE",47:"OPEN_ENDBLOCK",48:"OPEN",51:"OPEN_UNESCAPED",54:"CLOSE_UNESCAPED",55:"OPEN_PARTIAL",60:"OPEN_PARTIAL_BLOCK",65:"OPEN_SEXPR",68:"CLOSE_SEXPR",72:"ID",73:"EQUALS",75:"OPEN_BLOCK_PARAMS",77:"CLOSE_BLOCK_PARAMS",80:"STRING",81:"NUMBER",82:"BOOLEAN",83:"UNDEFINED",84:"NULL",85:"DATA",87:"SEP"},productions_:[0,[3,2],[4,1],[7,1],[7,1],[7,1],[7,1],[7,1],[7,1],[7,1],[13,1],[10,3],[16,5],[9,4],[9,4],[24,6],[27,6],[38,6],[43,2],[45,3],[45,1],[26,3],[8,5],[8,5],[11,5],[12,3],[59,5],[63,1],[63,1],[64,5],[69,1],[71,3],[74,3],[20,1],[20,1],[20,1],[20,1],[20,1],[20,1],[20,1],[56,1],[56,1],[79,2],[78,1],[86,3],[86,1],[6,0],[6,2],[17,0],[17,2],[21,0],[21,2],[22,0],[22,1],[25,0],[25,1],[28,0],[28,1],[30,0],[30,2],[31,0],[31,1],[32,0],[32,1],[35,0],[35,2],[36,0],[36,1],[37,0],[37,1],[40,0],[40,2],[41,0],[41,1],[42,0],[42,1],[46,0],[46,1],[49,0],[49,2],[50,0],[50,1],[52,0],[52,2],[53,0],[53,1],[57,0],[57,2],[58,0],[58,1],[61,0],[61,2],[62,0],[62,1],[66,0],[66,2],[67,0],[67,1],[70,1],[70,2],[76,1],[76,2]],performAction:function(s,o,u,c,d,h,p){var l=h.length-1;switch(d){case 1:return h[l-1];case 2:this.$=c.prepareProgram(h[l]);break;case 3:this.$=h[l];break;case 4:this.$=h[l];break;case 5:this.$=h[l];break;case 6:this.$=h[l];break;case 7:this.$=h[l];break;case 8:this.$=h[l];break;case 9:this.$={type:"CommentStatement",value:c.stripComment(h[l]),strip:c.stripFlags(h[l],h[l]),loc:c.locInfo(this._$)};break;case 10:this.$={type:"ContentStatement",original:h[l],value:h[l],loc:c.locInfo(this._$)};break;case 11:this.$=c.prepareRawBlock(h[l-2],h[l-1],h[l],this._$);break;case 12:this.$={path:h[l-3],params:h[l-2],hash:h[l-1]};break;case 13:this.$=c.prepareBlock(h[l-3],h[l-2],h[l-1],h[l],!1,this._$);break;case 14:this.$=c.prepareBlock(h[l-3],h[l-2],h[l-1],h[l],!0,this._$);break;case 15:this.$={open:h[l-5],path:h[l-4],params:h[l-3],hash:h[l-2],blockParams:h[l-1],strip:c.stripFlags(h[l-5],h[l])};break;case 16:this.$={path:h[l-4],params:h[l-3],hash:h[l-2],blockParams:h[l-1],strip:c.stripFlags(h[l-5],h[l])};break;case 17:this.$={path:h[l-4],params:h[l-3],hash:h[l-2],blockParams:h[l-1],strip:c.stripFlags(h[l-5],h[l])};break;case 18:this.$={strip:c.stripFlags(h[l-1],h[l-1]),program:h[l]};break;case 19:var m=c.prepareBlock(h[l-2],h[l-1],h[l],h[l],!1,this._$),f=c.prepareProgram([m],h[l-1].loc);f.chained=!0,this.$={strip:h[l-2].strip,program:f,chain:!0};break;case 20:this.$=h[l];break;case 21:this.$={path:h[l-1],strip:c.stripFlags(h[l-2],h[l])};break;case 22:this.$=c.prepareMustache(h[l-3],h[l-2],h[l-1],h[l-4],c.stripFlags(h[l-4],h[l]),this._$);break;case 23:this.$=c.prepareMustache(h[l-3],h[l-2],h[l-1],h[l-4],c.stripFlags(h[l-4],h[l]),this._$);break;case 24:this.$={type:"PartialStatement",name:h[l-3],params:h[l-2],hash:h[l-1],indent:"",strip:c.stripFlags(h[l-4],h[l]),loc:c.locInfo(this._$)};break;case 25:this.$=c.preparePartialBlock(h[l-2],h[l-1],h[l],this._$);break;case 26:this.$={path:h[l-3],params:h[l-2],hash:h[l-1],strip:c.stripFlags(h[l-4],h[l])};break;case 27:this.$=h[l];break;case 28:this.$=h[l];break;case 29:this.$={type:"SubExpression",path:h[l-3],params:h[l-2],hash:h[l-1],loc:c.locInfo(this._$)};break;case 30:this.$={type:"Hash",pairs:h[l],loc:c.locInfo(this._$)};break;case 31:this.$={type:"HashPair",key:c.id(h[l-2]),value:h[l],loc:c.locInfo(this._$)};break;case 32:this.$=c.id(h[l-1]);break;case 33:this.$=h[l];break;case 34:this.$=h[l];break;case 35:this.$={type:"StringLiteral",value:h[l],original:h[l],loc:c.locInfo(this._$)};break;case 36:this.$={type:"NumberLiteral",value:Number(h[l]),original:Number(h[l]),loc:c.locInfo(this._$)};break;case 37:this.$={type:"BooleanLiteral",value:h[l]==="true",original:h[l]==="true",loc:c.locInfo(this._$)};break;case 38:this.$={type:"UndefinedLiteral",original:void 0,value:void 0,loc:c.locInfo(this._$)};break;case 39:this.$={type:"NullLiteral",original:null,value:null,loc:c.locInfo(this._$)};break;case 40:this.$=h[l];break;case 41:this.$=h[l];break;case 42:this.$=c.preparePath(!0,h[l],this._$);break;case 43:this.$=c.preparePath(!1,h[l],this._$);break;case 44:h[l-2].push({part:c.id(h[l]),original:h[l],separator:h[l-1]}),this.$=h[l-2];break;case 45:this.$=[{part:c.id(h[l]),original:h[l]}];break;case 46:this.$=[];break;case 47:h[l-1].push(h[l]);break;case 48:this.$=[];break;case 49:h[l-1].push(h[l]);break;case 50:this.$=[];break;case 51:h[l-1].push(h[l]);break;case 58:this.$=[];break;case 59:h[l-1].push(h[l]);break;case 64:this.$=[];break;case 65:h[l-1].push(h[l]);break;case 70:this.$=[];break;case 71:h[l-1].push(h[l]);break;case 78:this.$=[];break;case 79:h[l-1].push(h[l]);break;case 82:this.$=[];break;case 83:h[l-1].push(h[l]);break;case 86:this.$=[];break;case 87:h[l-1].push(h[l]);break;case 90:this.$=[];break;case 91:h[l-1].push(h[l]);break;case 94:this.$=[];break;case 95:h[l-1].push(h[l]);break;case 98:this.$=[h[l]];break;case 99:h[l-1].push(h[l]);break;case 100:this.$=[h[l]];break;case 101:h[l-1].push(h[l]);break}},table:[{3:1,4:2,5:[2,46],6:3,14:[2,46],15:[2,46],19:[2,46],29:[2,46],34:[2,46],48:[2,46],51:[2,46],55:[2,46],60:[2,46]},{1:[3]},{5:[1,4]},{5:[2,2],7:5,8:6,9:7,10:8,11:9,12:10,13:11,14:[1,12],15:[1,20],16:17,19:[1,23],24:15,27:16,29:[1,21],34:[1,22],39:[2,2],44:[2,2],47:[2,2],48:[1,13],51:[1,14],55:[1,18],59:19,60:[1,24]},{1:[2,1]},{5:[2,47],14:[2,47],15:[2,47],19:[2,47],29:[2,47],34:[2,47],39:[2,47],44:[2,47],47:[2,47],48:[2,47],51:[2,47],55:[2,47],60:[2,47]},{5:[2,3],14:[2,3],15:[2,3],19:[2,3],29:[2,3],34:[2,3],39:[2,3],44:[2,3],47:[2,3],48:[2,3],51:[2,3],55:[2,3],60:[2,3]},{5:[2,4],14:[2,4],15:[2,4],19:[2,4],29:[2,4],34:[2,4],39:[2,4],44:[2,4],47:[2,4],48:[2,4],51:[2,4],55:[2,4],60:[2,4]},{5:[2,5],14:[2,5],15:[2,5],19:[2,5],29:[2,5],34:[2,5],39:[2,5],44:[2,5],47:[2,5],48:[2,5],51:[2,5],55:[2,5],60:[2,5]},{5:[2,6],14:[2,6],15:[2,6],19:[2,6],29:[2,6],34:[2,6],39:[2,6],44:[2,6],47:[2,6],48:[2,6],51:[2,6],55:[2,6],60:[2,6]},{5:[2,7],14:[2,7],15:[2,7],19:[2,7],29:[2,7],34:[2,7],39:[2,7],44:[2,7],47:[2,7],48:[2,7],51:[2,7],55:[2,7],60:[2,7]},{5:[2,8],14:[2,8],15:[2,8],19:[2,8],29:[2,8],34:[2,8],39:[2,8],44:[2,8],47:[2,8],48:[2,8],51:[2,8],55:[2,8],60:[2,8]},{5:[2,9],14:[2,9],15:[2,9],19:[2,9],29:[2,9],34:[2,9],39:[2,9],44:[2,9],47:[2,9],48:[2,9],51:[2,9],55:[2,9],60:[2,9]},{20:25,72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{20:36,72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{4:37,6:3,14:[2,46],15:[2,46],19:[2,46],29:[2,46],34:[2,46],39:[2,46],44:[2,46],47:[2,46],48:[2,46],51:[2,46],55:[2,46],60:[2,46]},{4:38,6:3,14:[2,46],15:[2,46],19:[2,46],29:[2,46],34:[2,46],44:[2,46],47:[2,46],48:[2,46],51:[2,46],55:[2,46],60:[2,46]},{15:[2,48],17:39,18:[2,48]},{20:41,56:40,64:42,65:[1,43],72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{4:44,6:3,14:[2,46],15:[2,46],19:[2,46],29:[2,46],34:[2,46],47:[2,46],48:[2,46],51:[2,46],55:[2,46],60:[2,46]},{5:[2,10],14:[2,10],15:[2,10],18:[2,10],19:[2,10],29:[2,10],34:[2,10],39:[2,10],44:[2,10],47:[2,10],48:[2,10],51:[2,10],55:[2,10],60:[2,10]},{20:45,72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{20:46,72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{20:47,72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{20:41,56:48,64:42,65:[1,43],72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{33:[2,78],49:49,65:[2,78],72:[2,78],80:[2,78],81:[2,78],82:[2,78],83:[2,78],84:[2,78],85:[2,78]},{23:[2,33],33:[2,33],54:[2,33],65:[2,33],68:[2,33],72:[2,33],75:[2,33],80:[2,33],81:[2,33],82:[2,33],83:[2,33],84:[2,33],85:[2,33]},{23:[2,34],33:[2,34],54:[2,34],65:[2,34],68:[2,34],72:[2,34],75:[2,34],80:[2,34],81:[2,34],82:[2,34],83:[2,34],84:[2,34],85:[2,34]},{23:[2,35],33:[2,35],54:[2,35],65:[2,35],68:[2,35],72:[2,35],75:[2,35],80:[2,35],81:[2,35],82:[2,35],83:[2,35],84:[2,35],85:[2,35]},{23:[2,36],33:[2,36],54:[2,36],65:[2,36],68:[2,36],72:[2,36],75:[2,36],80:[2,36],81:[2,36],82:[2,36],83:[2,36],84:[2,36],85:[2,36]},{23:[2,37],33:[2,37],54:[2,37],65:[2,37],68:[2,37],72:[2,37],75:[2,37],80:[2,37],81:[2,37],82:[2,37],83:[2,37],84:[2,37],85:[2,37]},{23:[2,38],33:[2,38],54:[2,38],65:[2,38],68:[2,38],72:[2,38],75:[2,38],80:[2,38],81:[2,38],82:[2,38],83:[2,38],84:[2,38],85:[2,38]},{23:[2,39],33:[2,39],54:[2,39],65:[2,39],68:[2,39],72:[2,39],75:[2,39],80:[2,39],81:[2,39],82:[2,39],83:[2,39],84:[2,39],85:[2,39]},{23:[2,43],33:[2,43],54:[2,43],65:[2,43],68:[2,43],72:[2,43],75:[2,43],80:[2,43],81:[2,43],82:[2,43],83:[2,43],84:[2,43],85:[2,43],87:[1,50]},{72:[1,35],86:51},{23:[2,45],33:[2,45],54:[2,45],65:[2,45],68:[2,45],72:[2,45],75:[2,45],80:[2,45],81:[2,45],82:[2,45],83:[2,45],84:[2,45],85:[2,45],87:[2,45]},{52:52,54:[2,82],65:[2,82],72:[2,82],80:[2,82],81:[2,82],82:[2,82],83:[2,82],84:[2,82],85:[2,82]},{25:53,38:55,39:[1,57],43:56,44:[1,58],45:54,47:[2,54]},{28:59,43:60,44:[1,58],47:[2,56]},{13:62,15:[1,20],18:[1,61]},{33:[2,86],57:63,65:[2,86],72:[2,86],80:[2,86],81:[2,86],82:[2,86],83:[2,86],84:[2,86],85:[2,86]},{33:[2,40],65:[2,40],72:[2,40],80:[2,40],81:[2,40],82:[2,40],83:[2,40],84:[2,40],85:[2,40]},{33:[2,41],65:[2,41],72:[2,41],80:[2,41],81:[2,41],82:[2,41],83:[2,41],84:[2,41],85:[2,41]},{20:64,72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{26:65,47:[1,66]},{30:67,33:[2,58],65:[2,58],72:[2,58],75:[2,58],80:[2,58],81:[2,58],82:[2,58],83:[2,58],84:[2,58],85:[2,58]},{33:[2,64],35:68,65:[2,64],72:[2,64],75:[2,64],80:[2,64],81:[2,64],82:[2,64],83:[2,64],84:[2,64],85:[2,64]},{21:69,23:[2,50],65:[2,50],72:[2,50],80:[2,50],81:[2,50],82:[2,50],83:[2,50],84:[2,50],85:[2,50]},{33:[2,90],61:70,65:[2,90],72:[2,90],80:[2,90],81:[2,90],82:[2,90],83:[2,90],84:[2,90],85:[2,90]},{20:74,33:[2,80],50:71,63:72,64:75,65:[1,43],69:73,70:76,71:77,72:[1,78],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{72:[1,79]},{23:[2,42],33:[2,42],54:[2,42],65:[2,42],68:[2,42],72:[2,42],75:[2,42],80:[2,42],81:[2,42],82:[2,42],83:[2,42],84:[2,42],85:[2,42],87:[1,50]},{20:74,53:80,54:[2,84],63:81,64:75,65:[1,43],69:82,70:76,71:77,72:[1,78],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{26:83,47:[1,66]},{47:[2,55]},{4:84,6:3,14:[2,46],15:[2,46],19:[2,46],29:[2,46],34:[2,46],39:[2,46],44:[2,46],47:[2,46],48:[2,46],51:[2,46],55:[2,46],60:[2,46]},{47:[2,20]},{20:85,72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{4:86,6:3,14:[2,46],15:[2,46],19:[2,46],29:[2,46],34:[2,46],47:[2,46],48:[2,46],51:[2,46],55:[2,46],60:[2,46]},{26:87,47:[1,66]},{47:[2,57]},{5:[2,11],14:[2,11],15:[2,11],19:[2,11],29:[2,11],34:[2,11],39:[2,11],44:[2,11],47:[2,11],48:[2,11],51:[2,11],55:[2,11],60:[2,11]},{15:[2,49],18:[2,49]},{20:74,33:[2,88],58:88,63:89,64:75,65:[1,43],69:90,70:76,71:77,72:[1,78],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{65:[2,94],66:91,68:[2,94],72:[2,94],80:[2,94],81:[2,94],82:[2,94],83:[2,94],84:[2,94],85:[2,94]},{5:[2,25],14:[2,25],15:[2,25],19:[2,25],29:[2,25],34:[2,25],39:[2,25],44:[2,25],47:[2,25],48:[2,25],51:[2,25],55:[2,25],60:[2,25]},{20:92,72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{20:74,31:93,33:[2,60],63:94,64:75,65:[1,43],69:95,70:76,71:77,72:[1,78],75:[2,60],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{20:74,33:[2,66],36:96,63:97,64:75,65:[1,43],69:98,70:76,71:77,72:[1,78],75:[2,66],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{20:74,22:99,23:[2,52],63:100,64:75,65:[1,43],69:101,70:76,71:77,72:[1,78],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{20:74,33:[2,92],62:102,63:103,64:75,65:[1,43],69:104,70:76,71:77,72:[1,78],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{33:[1,105]},{33:[2,79],65:[2,79],72:[2,79],80:[2,79],81:[2,79],82:[2,79],83:[2,79],84:[2,79],85:[2,79]},{33:[2,81]},{23:[2,27],33:[2,27],54:[2,27],65:[2,27],68:[2,27],72:[2,27],75:[2,27],80:[2,27],81:[2,27],82:[2,27],83:[2,27],84:[2,27],85:[2,27]},{23:[2,28],33:[2,28],54:[2,28],65:[2,28],68:[2,28],72:[2,28],75:[2,28],80:[2,28],81:[2,28],82:[2,28],83:[2,28],84:[2,28],85:[2,28]},{23:[2,30],33:[2,30],54:[2,30],68:[2,30],71:106,72:[1,107],75:[2,30]},{23:[2,98],33:[2,98],54:[2,98],68:[2,98],72:[2,98],75:[2,98]},{23:[2,45],33:[2,45],54:[2,45],65:[2,45],68:[2,45],72:[2,45],73:[1,108],75:[2,45],80:[2,45],81:[2,45],82:[2,45],83:[2,45],84:[2,45],85:[2,45],87:[2,45]},{23:[2,44],33:[2,44],54:[2,44],65:[2,44],68:[2,44],72:[2,44],75:[2,44],80:[2,44],81:[2,44],82:[2,44],83:[2,44],84:[2,44],85:[2,44],87:[2,44]},{54:[1,109]},{54:[2,83],65:[2,83],72:[2,83],80:[2,83],81:[2,83],82:[2,83],83:[2,83],84:[2,83],85:[2,83]},{54:[2,85]},{5:[2,13],14:[2,13],15:[2,13],19:[2,13],29:[2,13],34:[2,13],39:[2,13],44:[2,13],47:[2,13],48:[2,13],51:[2,13],55:[2,13],60:[2,13]},{38:55,39:[1,57],43:56,44:[1,58],45:111,46:110,47:[2,76]},{33:[2,70],40:112,65:[2,70],72:[2,70],75:[2,70],80:[2,70],81:[2,70],82:[2,70],83:[2,70],84:[2,70],85:[2,70]},{47:[2,18]},{5:[2,14],14:[2,14],15:[2,14],19:[2,14],29:[2,14],34:[2,14],39:[2,14],44:[2,14],47:[2,14],48:[2,14],51:[2,14],55:[2,14],60:[2,14]},{33:[1,113]},{33:[2,87],65:[2,87],72:[2,87],80:[2,87],81:[2,87],82:[2,87],83:[2,87],84:[2,87],85:[2,87]},{33:[2,89]},{20:74,63:115,64:75,65:[1,43],67:114,68:[2,96],69:116,70:76,71:77,72:[1,78],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{33:[1,117]},{32:118,33:[2,62],74:119,75:[1,120]},{33:[2,59],65:[2,59],72:[2,59],75:[2,59],80:[2,59],81:[2,59],82:[2,59],83:[2,59],84:[2,59],85:[2,59]},{33:[2,61],75:[2,61]},{33:[2,68],37:121,74:122,75:[1,120]},{33:[2,65],65:[2,65],72:[2,65],75:[2,65],80:[2,65],81:[2,65],82:[2,65],83:[2,65],84:[2,65],85:[2,65]},{33:[2,67],75:[2,67]},{23:[1,123]},{23:[2,51],65:[2,51],72:[2,51],80:[2,51],81:[2,51],82:[2,51],83:[2,51],84:[2,51],85:[2,51]},{23:[2,53]},{33:[1,124]},{33:[2,91],65:[2,91],72:[2,91],80:[2,91],81:[2,91],82:[2,91],83:[2,91],84:[2,91],85:[2,91]},{33:[2,93]},{5:[2,22],14:[2,22],15:[2,22],19:[2,22],29:[2,22],34:[2,22],39:[2,22],44:[2,22],47:[2,22],48:[2,22],51:[2,22],55:[2,22],60:[2,22]},{23:[2,99],33:[2,99],54:[2,99],68:[2,99],72:[2,99],75:[2,99]},{73:[1,108]},{20:74,63:125,64:75,65:[1,43],72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{5:[2,23],14:[2,23],15:[2,23],19:[2,23],29:[2,23],34:[2,23],39:[2,23],44:[2,23],47:[2,23],48:[2,23],51:[2,23],55:[2,23],60:[2,23]},{47:[2,19]},{47:[2,77]},{20:74,33:[2,72],41:126,63:127,64:75,65:[1,43],69:128,70:76,71:77,72:[1,78],75:[2,72],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{5:[2,24],14:[2,24],15:[2,24],19:[2,24],29:[2,24],34:[2,24],39:[2,24],44:[2,24],47:[2,24],48:[2,24],51:[2,24],55:[2,24],60:[2,24]},{68:[1,129]},{65:[2,95],68:[2,95],72:[2,95],80:[2,95],81:[2,95],82:[2,95],83:[2,95],84:[2,95],85:[2,95]},{68:[2,97]},{5:[2,21],14:[2,21],15:[2,21],19:[2,21],29:[2,21],34:[2,21],39:[2,21],44:[2,21],47:[2,21],48:[2,21],51:[2,21],55:[2,21],60:[2,21]},{33:[1,130]},{33:[2,63]},{72:[1,132],76:131},{33:[1,133]},{33:[2,69]},{15:[2,12],18:[2,12]},{14:[2,26],15:[2,26],19:[2,26],29:[2,26],34:[2,26],47:[2,26],48:[2,26],51:[2,26],55:[2,26],60:[2,26]},{23:[2,31],33:[2,31],54:[2,31],68:[2,31],72:[2,31],75:[2,31]},{33:[2,74],42:134,74:135,75:[1,120]},{33:[2,71],65:[2,71],72:[2,71],75:[2,71],80:[2,71],81:[2,71],82:[2,71],83:[2,71],84:[2,71],85:[2,71]},{33:[2,73],75:[2,73]},{23:[2,29],33:[2,29],54:[2,29],65:[2,29],68:[2,29],72:[2,29],75:[2,29],80:[2,29],81:[2,29],82:[2,29],83:[2,29],84:[2,29],85:[2,29]},{14:[2,15],15:[2,15],19:[2,15],29:[2,15],34:[2,15],39:[2,15],44:[2,15],47:[2,15],48:[2,15],51:[2,15],55:[2,15],60:[2,15]},{72:[1,137],77:[1,136]},{72:[2,100],77:[2,100]},{14:[2,16],15:[2,16],19:[2,16],29:[2,16],34:[2,16],44:[2,16],47:[2,16],48:[2,16],51:[2,16],55:[2,16],60:[2,16]},{33:[1,138]},{33:[2,75]},{33:[2,32]},{72:[2,101],77:[2,101]},{14:[2,17],15:[2,17],19:[2,17],29:[2,17],34:[2,17],39:[2,17],44:[2,17],47:[2,17],48:[2,17],51:[2,17],55:[2,17],60:[2,17]}],defaultActions:{4:[2,1],54:[2,55],56:[2,20],60:[2,57],73:[2,81],82:[2,85],86:[2,18],90:[2,89],101:[2,53],104:[2,93],110:[2,19],111:[2,77],116:[2,97],119:[2,63],122:[2,69],135:[2,75],136:[2,32]},parseError:function(s,o){throw new Error(s)},parse:function(s){var o=this,u=[0],c=[null],d=[],h=this.table,p="",l=0,m=0,f=0,b=2,v=1;this.lexer.setInput(s),this.lexer.yy=this.yy,this.yy.lexer=this.lexer,this.yy.parser=this,typeof this.lexer.yylloc>"u"&&(this.lexer.yylloc={});var y=this.lexer.yylloc;d.push(y);var w=this.lexer.options&&this.lexer.options.ranges;typeof this.yy.parseError=="function"&&(this.parseError=this.yy.parseError);function k(j){u.length=u.length-2*j,c.length=c.length-j,d.length=d.length-j}function $(){var j;return j=o.lexer.lex()||1,typeof j!="number"&&(j=o.symbols_[j]||j),j}for(var x,S,_,C,A,F,D={},B,M,R,V;;){if(_=u[u.length-1],this.defaultActions[_]?C=this.defaultActions[_]:((x===null||typeof x>"u")&&(x=$()),C=h[_]&&h[_][x]),typeof C>"u"||!C.length||!C[0]){var G="";if(!f){V=[];for(B in h[_])this.terminals_[B]&&B>2&&V.push("'"+this.terminals_[B]+"'");this.lexer.showPosition?G="Parse error on line "+(l+1)+`:
7
7
  `+this.lexer.showPosition()+`
8
- Expecting `+V.join(", ")+", got '"+(this.terminals_[x]||x)+"'":Y="Parse error on line "+(l+1)+": Unexpected "+(x==1?"end of input":"'"+(this.terminals_[x]||x)+"'"),this.parseError(Y,{text:this.lexer.match,token:this.terminals_[x]||x,line:this.lexer.yylineno,loc:y,expected:V})}}if(A[0]instanceof Array&&A.length>1)throw new Error("Parse Error: multiple actions possible at state: "+_+", token: "+x);switch(A[0]){case 1:u.push(x),c.push(this.lexer.yytext),d.push(this.lexer.yylloc),u.push(A[1]),x=null,S?(x=S,S=null):(m=this.lexer.yyleng,p=this.lexer.yytext,l=this.lexer.yylineno,y=this.lexer.yylloc,f>0&&f--);break;case 2:if(M=this.productions_[A[1]][1],D.$=c[c.length-M],D._$={first_line:d[d.length-(M||1)].first_line,last_line:d[d.length-1].last_line,first_column:d[d.length-(M||1)].first_column,last_column:d[d.length-1].last_column},w&&(D._$.range=[d[d.length-(M||1)].range[0],d[d.length-1].range[1]]),F=this.performAction.call(D,p,m,l,this.yy,A[1],c,d),typeof F<"u")return F;M&&(u=u.slice(0,-1*M*2),c=c.slice(0,-1*M),d=d.slice(0,-1*M)),u.push(this.productions_[A[1]][0]),c.push(D.$),d.push(D._$),R=h[u[u.length-2]][u[u.length-1]],u.push(R);break;case 3:return!0}}return!0}},i=(function(){var s={EOF:1,parseError:function(o,u){if(this.yy.parser)this.yy.parser.parseError(o,u);else throw new Error(o)},setInput:function(o){return this._input=o,this._more=this._less=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var o=this._input[0];this.yytext+=o,this.yyleng++,this.offset++,this.match+=o,this.matched+=o;var u=o.match(/(?:\r\n?|\n).*/g);return u?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),o},unput:function(o){var u=o.length,c=o.split(/(?:\r\n?|\n)/g);this._input=o+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-u-1),this.offset-=u;var d=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),c.length-1&&(this.yylineno-=c.length-1);var h=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:c?(c.length===d.length?this.yylloc.first_column:0)+d[d.length-c.length].length-c[0].length:this.yylloc.first_column-u},this.options.ranges&&(this.yylloc.range=[h[0],h[0]+this.yyleng-u]),this},more:function(){return this._more=!0,this},less:function(o){this.unput(this.match.slice(o))},pastInput:function(){var o=this.matched.substr(0,this.matched.length-this.match.length);return(o.length>20?"...":"")+o.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var o=this.match;return o.length<20&&(o+=this._input.substr(0,20-o.length)),(o.substr(0,20)+(o.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var o=this.pastInput(),u=new Array(o.length+1).join("-");return o+this.upcomingInput()+`
8
+ Expecting `+V.join(", ")+", got '"+(this.terminals_[x]||x)+"'":G="Parse error on line "+(l+1)+": Unexpected "+(x==1?"end of input":"'"+(this.terminals_[x]||x)+"'"),this.parseError(G,{text:this.lexer.match,token:this.terminals_[x]||x,line:this.lexer.yylineno,loc:y,expected:V})}}if(C[0]instanceof Array&&C.length>1)throw new Error("Parse Error: multiple actions possible at state: "+_+", token: "+x);switch(C[0]){case 1:u.push(x),c.push(this.lexer.yytext),d.push(this.lexer.yylloc),u.push(C[1]),x=null,S?(x=S,S=null):(m=this.lexer.yyleng,p=this.lexer.yytext,l=this.lexer.yylineno,y=this.lexer.yylloc,f>0&&f--);break;case 2:if(M=this.productions_[C[1]][1],D.$=c[c.length-M],D._$={first_line:d[d.length-(M||1)].first_line,last_line:d[d.length-1].last_line,first_column:d[d.length-(M||1)].first_column,last_column:d[d.length-1].last_column},w&&(D._$.range=[d[d.length-(M||1)].range[0],d[d.length-1].range[1]]),F=this.performAction.call(D,p,m,l,this.yy,C[1],c,d),typeof F<"u")return F;M&&(u=u.slice(0,-1*M*2),c=c.slice(0,-1*M),d=d.slice(0,-1*M)),u.push(this.productions_[C[1]][0]),c.push(D.$),d.push(D._$),R=h[u[u.length-2]][u[u.length-1]],u.push(R);break;case 3:return!0}}return!0}},i=(function(){var s={EOF:1,parseError:function(o,u){if(this.yy.parser)this.yy.parser.parseError(o,u);else throw new Error(o)},setInput:function(o){return this._input=o,this._more=this._less=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var o=this._input[0];this.yytext+=o,this.yyleng++,this.offset++,this.match+=o,this.matched+=o;var u=o.match(/(?:\r\n?|\n).*/g);return u?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),o},unput:function(o){var u=o.length,c=o.split(/(?:\r\n?|\n)/g);this._input=o+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-u-1),this.offset-=u;var d=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),c.length-1&&(this.yylineno-=c.length-1);var h=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:c?(c.length===d.length?this.yylloc.first_column:0)+d[d.length-c.length].length-c[0].length:this.yylloc.first_column-u},this.options.ranges&&(this.yylloc.range=[h[0],h[0]+this.yyleng-u]),this},more:function(){return this._more=!0,this},less:function(o){this.unput(this.match.slice(o))},pastInput:function(){var o=this.matched.substr(0,this.matched.length-this.match.length);return(o.length>20?"...":"")+o.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var o=this.match;return o.length<20&&(o+=this._input.substr(0,20-o.length)),(o.substr(0,20)+(o.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var o=this.pastInput(),u=new Array(o.length+1).join("-");return o+this.upcomingInput()+`
9
9
  `+u+"^"},next:function(){if(this.done)return this.EOF;this._input||(this.done=!0);var o,u,c,d,h,p;this._more||(this.yytext="",this.match="");for(var l=this._currentRules(),m=0;m<l.length&&(c=this._input.match(this.rules[l[m]]),!(c&&(!u||c[0].length>u[0].length)&&(u=c,d=m,!this.options.flex)));m++);return u?(p=u[0].match(/(?:\r\n?|\n).*/g),p&&(this.yylineno+=p.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:p?p[p.length-1].length-p[p.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+u[0].length},this.yytext+=u[0],this.match+=u[0],this.matches=u,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._input=this._input.slice(u[0].length),this.matched+=u[0],o=this.performAction.call(this,this.yy,this,l[d],this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),o||void 0):this._input===""?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+`. Unrecognized text.
10
- `+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){var o=this.next();return typeof o<"u"?o:this.lex()},begin:function(o){this.conditionStack.push(o)},popState:function(){return this.conditionStack.pop()},_currentRules:function(){return this.conditions[this.conditionStack[this.conditionStack.length-1]].rules},topState:function(){return this.conditionStack[this.conditionStack.length-2]},pushState:function(o){this.begin(o)}};return s.options={},s.performAction=function(o,u,c,d){function h(l,m){return u.yytext=u.yytext.substring(l,u.yyleng-m+l)}var p=d;switch(c){case 0:if(u.yytext.slice(-2)==="\\\\"?(h(0,1),this.begin("mu")):u.yytext.slice(-1)==="\\"?(h(0,1),this.begin("emu")):this.begin("mu"),u.yytext)return 15;break;case 1:return 15;case 2:return this.popState(),15;case 3:return this.begin("raw"),15;case 4:return this.popState(),this.conditionStack[this.conditionStack.length-1]==="raw"?15:(h(5,9),"END_RAW_BLOCK");case 5:return 15;case 6:return this.popState(),14;case 7:return 65;case 8:return 68;case 9:return 19;case 10:return this.popState(),this.begin("raw"),23;case 11:return 55;case 12:return 60;case 13:return 29;case 14:return 47;case 15:return this.popState(),44;case 16:return this.popState(),44;case 17:return 34;case 18:return 39;case 19:return 51;case 20:return 48;case 21:this.unput(u.yytext),this.popState(),this.begin("com");break;case 22:return this.popState(),14;case 23:return 48;case 24:return 73;case 25:return 72;case 26:return 72;case 27:return 87;case 28:break;case 29:return this.popState(),54;case 30:return this.popState(),33;case 31:return u.yytext=h(1,2).replace(/\\"/g,'"'),80;case 32:return u.yytext=h(1,2).replace(/\\'/g,"'"),80;case 33:return 85;case 34:return 82;case 35:return 82;case 36:return 83;case 37:return 84;case 38:return 81;case 39:return 75;case 40:return 77;case 41:return 72;case 42:return u.yytext=u.yytext.replace(/\\([\\\]])/g,"$1"),72;case 43:return"INVALID";case 44:return 5}},s.rules=[/^(?:[^\x00]*?(?=(\{\{)))/,/^(?:[^\x00]+)/,/^(?:[^\x00]{2,}?(?=(\{\{|\\\{\{|\\\\\{\{|$)))/,/^(?:\{\{\{\{(?=[^\/]))/,/^(?:\{\{\{\{\/[^\s!"#%-,\.\/;->@\[-\^`\{-~]+(?=[=}\s\/.])\}\}\}\})/,/^(?:[^\x00]+?(?=(\{\{\{\{)))/,/^(?:[\s\S]*?--(~)?\}\})/,/^(?:\()/,/^(?:\))/,/^(?:\{\{\{\{)/,/^(?:\}\}\}\})/,/^(?:\{\{(~)?>)/,/^(?:\{\{(~)?#>)/,/^(?:\{\{(~)?#\*?)/,/^(?:\{\{(~)?\/)/,/^(?:\{\{(~)?\^\s*(~)?\}\})/,/^(?:\{\{(~)?\s*else\s*(~)?\}\})/,/^(?:\{\{(~)?\^)/,/^(?:\{\{(~)?\s*else\b)/,/^(?:\{\{(~)?\{)/,/^(?:\{\{(~)?&)/,/^(?:\{\{(~)?!--)/,/^(?:\{\{(~)?![\s\S]*?\}\})/,/^(?:\{\{(~)?\*?)/,/^(?:=)/,/^(?:\.\.)/,/^(?:\.(?=([=~}\s\/.)|])))/,/^(?:[\/.])/,/^(?:\s+)/,/^(?:\}(~)?\}\})/,/^(?:(~)?\}\})/,/^(?:"(\\["]|[^"])*")/,/^(?:'(\\[']|[^'])*')/,/^(?:@)/,/^(?:true(?=([~}\s)])))/,/^(?:false(?=([~}\s)])))/,/^(?:undefined(?=([~}\s)])))/,/^(?:null(?=([~}\s)])))/,/^(?:-?[0-9]+(?:\.[0-9]+)?(?=([~}\s)])))/,/^(?:as\s+\|)/,/^(?:\|)/,/^(?:([^\s!"#%-,\.\/;->@\[-\^`\{-~]+(?=([=~}\s\/.)|]))))/,/^(?:\[(\\\]|[^\]])*\])/,/^(?:.)/,/^(?:$)/],s.conditions={mu:{rules:[7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44],inclusive:!1},emu:{rules:[2],inclusive:!1},com:{rules:[6],inclusive:!1},raw:{rules:[3,4,5],inclusive:!1},INITIAL:{rules:[0,1,44],inclusive:!0}},s})();n.lexer=i;function a(){this.yy={}}return a.prototype=n,n.Parser=a,new a})();t.default=r,e.exports=t.default}),hi=N((t,e)=>{"use strict";t.__esModule=!0;function r(c){return c&&c.__esModule?c:{default:c}}var n=$e(),i=r(n);function a(){this.parents=[]}a.prototype={constructor:a,mutating:!1,acceptKey:function(c,d){var h=this.accept(c[d]);if(this.mutating){if(h&&!a.prototype[h.type])throw new i.default('Unexpected node type "'+h.type+'" found when accepting '+d+" on "+c.type);c[d]=h}},acceptRequired:function(c,d){if(this.acceptKey(c,d),!c[d])throw new i.default(c.type+" requires "+d)},acceptArray:function(c){for(var d=0,h=c.length;d<h;d++)this.acceptKey(c,d),c[d]||(c.splice(d,1),d--,h--)},accept:function(c){if(c){if(!this[c.type])throw new i.default("Unknown type: "+c.type,c);this.current&&this.parents.unshift(this.current),this.current=c;var d=this[c.type](c);if(this.current=this.parents.shift(),!this.mutating||d)return d;if(d!==!1)return c}},Program:function(c){this.acceptArray(c.body)},MustacheStatement:s,Decorator:s,BlockStatement:o,DecoratorBlock:o,PartialStatement:u,PartialBlockStatement:function(c){u.call(this,c),this.acceptKey(c,"program")},ContentStatement:function(){},CommentStatement:function(){},SubExpression:s,PathExpression:function(){},StringLiteral:function(){},NumberLiteral:function(){},BooleanLiteral:function(){},UndefinedLiteral:function(){},NullLiteral:function(){},Hash:function(c){this.acceptArray(c.pairs)},HashPair:function(c){this.acceptRequired(c,"value")}};function s(c){this.acceptRequired(c,"path"),this.acceptArray(c.params),this.acceptKey(c,"hash")}function o(c){s.call(this,c),this.acceptKey(c,"program"),this.acceptKey(c,"inverse")}function u(c){this.acceptRequired(c,"name"),this.acceptArray(c.params),this.acceptKey(c,"hash")}t.default=a,e.exports=t.default}),hl=N((t,e)=>{"use strict";t.__esModule=!0;function r(d){return d&&d.__esModule?d:{default:d}}var n=hi(),i=r(n);function a(){var d=arguments.length<=0||arguments[0]===void 0?{}:arguments[0];this.options=d}a.prototype=new i.default,a.prototype.Program=function(d){var h=!this.options.ignoreStandalone,p=!this.isRootSeen;this.isRootSeen=!0;for(var l=d.body,m=0,f=l.length;m<f;m++){var b=l[m],v=this.accept(b);if(v){var y=s(l,m,p),w=o(l,m,p),k=v.openStandalone&&y,$=v.closeStandalone&&w,x=v.inlineStandalone&&y&&w;v.close&&u(l,m,!0),v.open&&c(l,m,!0),h&&x&&(u(l,m),c(l,m)&&b.type==="PartialStatement"&&(b.indent=/([ \t]+$)/.exec(l[m-1].original)[1])),h&&k&&(u((b.program||b.inverse).body),c(l,m)),h&&$&&(u(l,m),c((b.inverse||b.program).body))}}return d},a.prototype.BlockStatement=a.prototype.DecoratorBlock=a.prototype.PartialBlockStatement=function(d){this.accept(d.program),this.accept(d.inverse);var h=d.program||d.inverse,p=d.program&&d.inverse,l=p,m=p;if(p&&p.chained)for(l=p.body[0].program;m.chained;)m=m.body[m.body.length-1].program;var f={open:d.openStrip.open,close:d.closeStrip.close,openStandalone:o(h.body),closeStandalone:s((l||h).body)};if(d.openStrip.close&&u(h.body,null,!0),p){var b=d.inverseStrip;b.open&&c(h.body,null,!0),b.close&&u(l.body,null,!0),d.closeStrip.open&&c(m.body,null,!0),!this.options.ignoreStandalone&&s(h.body)&&o(l.body)&&(c(h.body),u(l.body))}else d.closeStrip.open&&c(h.body,null,!0);return f},a.prototype.Decorator=a.prototype.MustacheStatement=function(d){return d.strip},a.prototype.PartialStatement=a.prototype.CommentStatement=function(d){var h=d.strip||{};return{inlineStandalone:!0,open:h.open,close:h.close}};function s(d,h,p){h===void 0&&(h=d.length);var l=d[h-1],m=d[h-2];if(!l)return p;if(l.type==="ContentStatement")return(m||!p?/\r?\n\s*?$/:/(^|\r?\n)\s*?$/).test(l.original)}function o(d,h,p){h===void 0&&(h=-1);var l=d[h+1],m=d[h+2];if(!l)return p;if(l.type==="ContentStatement")return(m||!p?/^\s*?\r?\n/:/^\s*?(\r?\n|$)/).test(l.original)}function u(d,h,p){var l=d[h==null?0:h+1];if(!(!l||l.type!=="ContentStatement"||!p&&l.rightStripped)){var m=l.value;l.value=l.value.replace(p?/^\s+/:/^[ \t]*\r?\n?/,""),l.rightStripped=l.value!==m}}function c(d,h,p){var l=d[h==null?d.length-1:h-1];if(!(!l||l.type!=="ContentStatement"||!p&&l.leftStripped)){var m=l.value;return l.value=l.value.replace(p?/\s+$/:/[ \t]+$/,""),l.leftStripped=l.value!==m,l.leftStripped}}t.default=a,e.exports=t.default}),pl=N(t=>{"use strict";t.__esModule=!0,t.SourceLocation=a,t.id=s,t.stripFlags=o,t.stripComment=u,t.preparePath=c,t.prepareMustache=d,t.prepareRawBlock=h,t.prepareBlock=p,t.prepareProgram=l,t.preparePartialBlock=m;function e(f){return f&&f.__esModule?f:{default:f}}var r=$e(),n=e(r);function i(f,b){if(b=b.path?b.path.original:b,f.path.original!==b){var v={loc:f.path.loc};throw new n.default(f.path.original+" doesn't match "+b,v)}}function a(f,b){this.source=f,this.start={line:b.first_line,column:b.first_column},this.end={line:b.last_line,column:b.last_column}}function s(f){return/^\[.*\]$/.test(f)?f.substring(1,f.length-1):f}function o(f,b){return{open:f.charAt(2)==="~",close:b.charAt(b.length-3)==="~"}}function u(f){return f.replace(/^\{\{~?!-?-?/,"").replace(/-?-?~?\}\}$/,"")}function c(f,b,v){v=this.locInfo(v);for(var y=f?"@":"",w=[],k=0,$=0,x=b.length;$<x;$++){var S=b[$].part,_=b[$].original!==S;if(y+=(b[$].separator||"")+S,!_&&(S===".."||S==="."||S==="this")){if(w.length>0)throw new n.default("Invalid path: "+y,{loc:v});S===".."&&k++}else w.push(S)}return{type:"PathExpression",data:f,depth:k,parts:w,original:y,loc:v}}function d(f,b,v,y,w,k){var $=y.charAt(3)||y.charAt(2),x=$!=="{"&&$!=="&",S=/\*/.test(y);return{type:S?"Decorator":"MustacheStatement",path:f,params:b,hash:v,escaped:x,strip:w,loc:this.locInfo(k)}}function h(f,b,v,y){i(f,v),y=this.locInfo(y);var w={type:"Program",body:b,strip:{},loc:y};return{type:"BlockStatement",path:f.path,params:f.params,hash:f.hash,program:w,openStrip:{},inverseStrip:{},closeStrip:{},loc:y}}function p(f,b,v,y,w,k){y&&y.path&&i(f,y);var $=/\*/.test(f.open);b.blockParams=f.blockParams;var x=void 0,S=void 0;if(v){if($)throw new n.default("Unexpected inverse block on decorator",v);v.chain&&(v.program.body[0].closeStrip=y.strip),S=v.strip,x=v.program}return w&&(w=x,x=b,b=w),{type:$?"DecoratorBlock":"BlockStatement",path:f.path,params:f.params,hash:f.hash,program:b,inverse:x,openStrip:f.strip,inverseStrip:S,closeStrip:y&&y.strip,loc:this.locInfo(k)}}function l(f,b){if(!b&&f.length){var v=f[0].loc,y=f[f.length-1].loc;v&&y&&(b={source:v.source,start:{line:v.start.line,column:v.start.column},end:{line:y.end.line,column:y.end.column}})}return{type:"Program",body:f,strip:{},loc:b}}function m(f,b,v,y){return i(f,v),{type:"PartialBlockStatement",name:f.path,params:f.params,hash:f.hash,program:b,openStrip:f.strip,closeStrip:v&&v.strip,loc:this.locInfo(y)}}}),fl=N(t=>{"use strict";t.__esModule=!0,t.parseWithoutProcessing=l,t.parse=m;function e(y){if(y&&y.__esModule)return y;var w={};if(y!=null)for(var k in y)Object.prototype.hasOwnProperty.call(y,k)&&(w[k]=y[k]);return w.default=y,w}function r(y){return y&&y.__esModule?y:{default:y}}var n=dl(),i=r(n),a=hl(),s=r(a),o=pl(),u=e(o),c=$e(),d=r(c),h=he();t.parser=i.default;var p={};h.extend(p,u);function l(y,w){if(y.type==="Program")return f(y),y;i.default.yy=p,p.locInfo=function($){return new p.SourceLocation(w&&w.srcName,$)};var k=i.default.parse(y);return k}function m(y,w){var k=l(y,w),$=new s.default(w);return $.accept(k)}function f(y){b(y)}function b(y){if(y!=null){if(Array.isArray(y)){y.forEach(b);return}if(typeof y=="object"){if(y.type==="PathExpression"){if(!v(y.depth))throw new d.default("Invalid AST: PathExpression.depth must be an integer");if(!Array.isArray(y.parts))throw new d.default("Invalid AST: PathExpression.parts must be an array");for(var w=0;w<y.parts.length;w++)if(typeof y.parts[w]!="string")throw new d.default("Invalid AST: PathExpression.parts must only contain strings")}else if(y.type==="NumberLiteral"){if(typeof y.value!="number"||!isFinite(y.value))throw new d.default("Invalid AST: NumberLiteral.value must be a number")}else if(y.type==="BooleanLiteral"&&typeof y.value!="boolean")throw new d.default("Invalid AST: BooleanLiteral.value must be a boolean");Object.keys(y).forEach(function(k){k!=="loc"&&b(y[k])})}}}function v(y){return typeof y=="number"&&isFinite(y)&&Math.floor(y)===y&&y>=0}}),ml=N(t=>{"use strict";t.__esModule=!0,t.Compiler=u,t.precompile=c,t.compile=d;function e(l){return l&&l.__esModule?l:{default:l}}var r=$e(),n=e(r),i=he(),a=ko(),s=e(a),o=[].slice;function u(){}u.prototype={compiler:u,equals:function(l){var m=this.opcodes.length;if(l.opcodes.length!==m)return!1;for(var f=0;f<m;f++){var b=this.opcodes[f],v=l.opcodes[f];if(b.opcode!==v.opcode||!h(b.args,v.args))return!1}m=this.children.length;for(var f=0;f<m;f++)if(!this.children[f].equals(l.children[f]))return!1;return!0},guid:0,compile:function(l,m){return this.sourceNode=[],this.opcodes=[],this.children=[],this.options=m,this.stringParams=m.stringParams,this.trackIds=m.trackIds,m.blockParams=m.blockParams||[],m.knownHelpers=i.extend(Object.create(null),{helperMissing:!0,blockHelperMissing:!0,each:!0,if:!0,unless:!0,with:!0,log:!0,lookup:!0},m.knownHelpers),this.accept(l)},compileProgram:function(l){var m=new this.compiler,f=m.compile(l,this.options),b=this.guid++;return this.usePartial=this.usePartial||f.usePartial,this.children[b]=f,this.useDepths=this.useDepths||f.useDepths,b},accept:function(l){if(!this[l.type])throw new n.default("Unknown type: "+l.type,l);this.sourceNode.unshift(l);var m=this[l.type](l);return this.sourceNode.shift(),m},Program:function(l){this.options.blockParams.unshift(l.blockParams);for(var m=l.body,f=m.length,b=0;b<f;b++)this.accept(m[b]);return this.options.blockParams.shift(),this.isSimple=f===1,this.blockParams=l.blockParams?l.blockParams.length:0,this},BlockStatement:function(l){p(l);var m=l.program,f=l.inverse;m=m&&this.compileProgram(m),f=f&&this.compileProgram(f);var b=this.classifySexpr(l);b==="helper"?this.helperSexpr(l,m,f):b==="simple"?(this.simpleSexpr(l),this.opcode("pushProgram",m),this.opcode("pushProgram",f),this.opcode("emptyHash"),this.opcode("blockValue",l.path.original)):(this.ambiguousSexpr(l,m,f),this.opcode("pushProgram",m),this.opcode("pushProgram",f),this.opcode("emptyHash"),this.opcode("ambiguousBlockValue")),this.opcode("append")},DecoratorBlock:function(l){var m=l.program&&this.compileProgram(l.program),f=this.setupFullMustacheParams(l,m,void 0),b=l.path;this.useDecorators=!0,this.opcode("registerDecorator",f.length,b.original)},PartialStatement:function(l){this.usePartial=!0;var m=l.program;m&&(m=this.compileProgram(l.program));var f=l.params;if(f.length>1)throw new n.default("Unsupported number of partial arguments: "+f.length,l);f.length||(this.options.explicitPartialContext?this.opcode("pushLiteral","undefined"):f.push({type:"PathExpression",parts:[],depth:0}));var b=l.name.original,v=l.name.type==="SubExpression";v&&this.accept(l.name),this.setupFullMustacheParams(l,m,void 0,!0);var y=l.indent||"";this.options.preventIndent&&y&&(this.opcode("appendContent",y),y=""),this.opcode("invokePartial",v,b,y),this.opcode("append")},PartialBlockStatement:function(l){this.PartialStatement(l)},MustacheStatement:function(l){this.SubExpression(l),l.escaped&&!this.options.noEscape?this.opcode("appendEscaped"):this.opcode("append")},Decorator:function(l){this.DecoratorBlock(l)},ContentStatement:function(l){l.value&&this.opcode("appendContent",l.value)},CommentStatement:function(){},SubExpression:function(l){p(l);var m=this.classifySexpr(l);m==="simple"?this.simpleSexpr(l):m==="helper"?this.helperSexpr(l):this.ambiguousSexpr(l)},ambiguousSexpr:function(l,m,f){var b=l.path,v=b.parts[0],y=m!=null||f!=null;this.opcode("getContext",b.depth),this.opcode("pushProgram",m),this.opcode("pushProgram",f),b.strict=!0,this.accept(b),this.opcode("invokeAmbiguous",v,y)},simpleSexpr:function(l){var m=l.path;m.strict=!0,this.accept(m),this.opcode("resolvePossibleLambda")},helperSexpr:function(l,m,f){var b=this.setupFullMustacheParams(l,m,f),v=l.path,y=v.parts[0];if(this.options.knownHelpers[y])this.opcode("invokeKnownHelper",b.length,y);else{if(this.options.knownHelpersOnly)throw new n.default("You specified knownHelpersOnly, but used the unknown helper "+y,l);v.strict=!0,v.falsy=!0,this.accept(v),this.opcode("invokeHelper",b.length,v.original,s.default.helpers.simpleId(v))}},PathExpression:function(l){this.addDepth(l.depth),this.opcode("getContext",l.depth);var m=l.parts[0],f=s.default.helpers.scopedId(l),b=!l.depth&&!f&&this.blockParamIndex(m);b?this.opcode("lookupBlockParam",b,l.parts):m?l.data?(this.options.data=!0,this.opcode("lookupData",l.depth,l.parts,l.strict)):this.opcode("lookupOnContext",l.parts,l.falsy,l.strict,f):this.opcode("pushContext")},StringLiteral:function(l){this.opcode("pushString",l.value)},NumberLiteral:function(l){this.opcode("pushLiteral",l.value)},BooleanLiteral:function(l){this.opcode("pushLiteral",l.value)},UndefinedLiteral:function(){this.opcode("pushLiteral","undefined")},NullLiteral:function(){this.opcode("pushLiteral","null")},Hash:function(l){var m=l.pairs,f=0,b=m.length;for(this.opcode("pushHash");f<b;f++)this.pushParam(m[f].value);for(;f--;)this.opcode("assignToHash",m[f].key);this.opcode("popHash")},opcode:function(l){this.opcodes.push({opcode:l,args:o.call(arguments,1),loc:this.sourceNode[0].loc})},addDepth:function(l){l&&(this.useDepths=!0)},classifySexpr:function(l){var m=s.default.helpers.simpleId(l.path),f=m&&!!this.blockParamIndex(l.path.parts[0]),b=!f&&s.default.helpers.helperExpression(l),v=!f&&(b||m);if(v&&!b){var y=l.path.parts[0],w=this.options;w.knownHelpers[y]?b=!0:w.knownHelpersOnly&&(v=!1)}return b?"helper":v?"ambiguous":"simple"},pushParams:function(l){for(var m=0,f=l.length;m<f;m++)this.pushParam(l[m])},pushParam:function(l){var m=l.value!=null?l.value:l.original||"";if(this.stringParams)m.replace&&(m=m.replace(/^(\.?\.\/)*/g,"").replace(/\//g,".")),l.depth&&this.addDepth(l.depth),this.opcode("getContext",l.depth||0),this.opcode("pushStringParam",m,l.type),l.type==="SubExpression"&&this.accept(l);else{if(this.trackIds){var f=void 0;if(l.parts&&!s.default.helpers.scopedId(l)&&!l.depth&&(f=this.blockParamIndex(l.parts[0])),f){var b=l.parts.slice(1).join(".");this.opcode("pushId","BlockParam",f,b)}else m=l.original||m,m.replace&&(m=m.replace(/^this(?:\.|$)/,"").replace(/^\.\//,"").replace(/^\.$/,"")),this.opcode("pushId",l.type,m)}this.accept(l)}},setupFullMustacheParams:function(l,m,f,b){var v=l.params;return this.pushParams(v),this.opcode("pushProgram",m),this.opcode("pushProgram",f),l.hash?this.accept(l.hash):this.opcode("emptyHash",b),v},blockParamIndex:function(l){for(var m=0,f=this.options.blockParams.length;m<f;m++){var b=this.options.blockParams[m],v=b&&i.indexOf(b,l);if(b&&v>=0)return[m,v]}}};function c(l,m,f){if(l==null||typeof l!="string"&&l.type!=="Program")throw new n.default("You must pass a string or Handlebars AST to Handlebars.precompile. You passed "+l);m=m||{},"data"in m||(m.data=!0),m.compat&&(m.useDepths=!0);var b=f.parse(l,m),v=new f.Compiler().compile(b,m);return new f.JavaScriptCompiler().compile(v,m)}function d(l,m,f){if(m===void 0&&(m={}),l==null||typeof l!="string"&&l.type!=="Program")throw new n.default("You must pass a string or Handlebars AST to Handlebars.compile. You passed "+l);m=i.extend({},m),"data"in m||(m.data=!0),m.compat&&(m.useDepths=!0);var b=void 0;function v(){var w=f.parse(l,m),k=new f.Compiler().compile(w,m),$=new f.JavaScriptCompiler().compile(k,m,void 0,!0);return f.template($)}function y(w,k){return b||(b=v()),b.call(this,w,k)}return y._setup=function(w){return b||(b=v()),b._setup(w)},y._child=function(w,k,$,x){return b||(b=v()),b._child(w,k,$,x)},y}function h(l,m){if(l===m)return!0;if(i.isArray(l)&&i.isArray(m)&&l.length===m.length){for(var f=0;f<l.length;f++)if(!h(l[f],m[f]))return!1;return!0}}function p(l){if(!l.path.parts){var m=l.path;l.path={type:"PathExpression",data:!1,depth:0,parts:[m.original+""],original:m.original+"",loc:m.loc}}}}),gl=N(t=>{var e="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split("");t.encode=function(r){if(0<=r&&r<e.length)return e[r];throw new TypeError("Must be between 0 and 63: "+r)},t.decode=function(r){var n=65,i=90,a=97,s=122,o=48,u=57,c=43,d=47,h=26,p=52;return n<=r&&r<=i?r-n:a<=r&&r<=s?r-a+h:o<=r&&r<=u?r-o+p:r==c?62:r==d?63:-1}}),xo=N(t=>{var e=gl(),r=5,n=1<<r,i=n-1,a=n;function s(u){return u<0?(-u<<1)+1:(u<<1)+0}function o(u){var c=(u&1)===1,d=u>>1;return c?-d:d}t.encode=function(u){var c="",d,h=s(u);do d=h&i,h>>>=r,h>0&&(d|=a),c+=e.encode(d);while(h>0);return c},t.decode=function(u,c,d){var h=u.length,p=0,l=0,m,f;do{if(c>=h)throw new Error("Expected more digits in base 64 VLQ value.");if(f=e.decode(u.charCodeAt(c++)),f===-1)throw new Error("Invalid base64 digit: "+u.charAt(c-1));m=!!(f&a),f&=i,p=p+(f<<l),l+=r}while(m);d.value=o(p),d.rest=c}}),cr=N(t=>{function e(k,$,x){if($ in k)return k[$];if(arguments.length===3)return x;throw new Error('"'+$+'" is a required argument.')}t.getArg=e;var r=/^(?:([\w+\-.]+):)?\/\/(?:(\w+:\w+)@)?([\w.-]*)(?::(\d+))?(.*)$/,n=/^data:.+\,.+$/;function i(k){var $=k.match(r);return $?{scheme:$[1],auth:$[2],host:$[3],port:$[4],path:$[5]}:null}t.urlParse=i;function a(k){var $="";return k.scheme&&($+=k.scheme+":"),$+="//",k.auth&&($+=k.auth+"@"),k.host&&($+=k.host),k.port&&($+=":"+k.port),k.path&&($+=k.path),$}t.urlGenerate=a;function s(k){var $=k,x=i(k);if(x){if(!x.path)return k;$=x.path}for(var S=t.isAbsolute($),_=$.split(/\/+/),A,C=0,F=_.length-1;F>=0;F--)A=_[F],A==="."?_.splice(F,1):A===".."?C++:C>0&&(A===""?(_.splice(F+1,C),C=0):(_.splice(F,2),C--));return $=_.join("/"),$===""&&($=S?"/":"."),x?(x.path=$,a(x)):$}t.normalize=s;function o(k,$){k===""&&(k="."),$===""&&($=".");var x=i($),S=i(k);if(S&&(k=S.path||"/"),x&&!x.scheme)return S&&(x.scheme=S.scheme),a(x);if(x||$.match(n))return $;if(S&&!S.host&&!S.path)return S.host=$,a(S);var _=$.charAt(0)==="/"?$:s(k.replace(/\/+$/,"")+"/"+$);return S?(S.path=_,a(S)):_}t.join=o,t.isAbsolute=function(k){return k.charAt(0)==="/"||r.test(k)};function u(k,$){k===""&&(k="."),k=k.replace(/\/$/,"");for(var x=0;$.indexOf(k+"/")!==0;){var S=k.lastIndexOf("/");if(S<0||(k=k.slice(0,S),k.match(/^([^\/]+:\/)?\/*$/)))return $;++x}return Array(x+1).join("../")+$.substr(k.length+1)}t.relative=u;var c=(function(){var k=Object.create(null);return!("__proto__"in k)})();function d(k){return k}function h(k){return l(k)?"$"+k:k}t.toSetString=c?d:h;function p(k){return l(k)?k.slice(1):k}t.fromSetString=c?d:p;function l(k){if(!k)return!1;var $=k.length;if($<9||k.charCodeAt($-1)!==95||k.charCodeAt($-2)!==95||k.charCodeAt($-3)!==111||k.charCodeAt($-4)!==116||k.charCodeAt($-5)!==111||k.charCodeAt($-6)!==114||k.charCodeAt($-7)!==112||k.charCodeAt($-8)!==95||k.charCodeAt($-9)!==95)return!1;for(var x=$-10;x>=0;x--)if(k.charCodeAt(x)!==36)return!1;return!0}function m(k,$,x){var S=b(k.source,$.source);return S!==0||(S=k.originalLine-$.originalLine,S!==0)||(S=k.originalColumn-$.originalColumn,S!==0||x)||(S=k.generatedColumn-$.generatedColumn,S!==0)||(S=k.generatedLine-$.generatedLine,S!==0)?S:b(k.name,$.name)}t.compareByOriginalPositions=m;function f(k,$,x){var S=k.generatedLine-$.generatedLine;return S!==0||(S=k.generatedColumn-$.generatedColumn,S!==0||x)||(S=b(k.source,$.source),S!==0)||(S=k.originalLine-$.originalLine,S!==0)||(S=k.originalColumn-$.originalColumn,S!==0)?S:b(k.name,$.name)}t.compareByGeneratedPositionsDeflated=f;function b(k,$){return k===$?0:k===null?1:$===null?-1:k>$?1:-1}function v(k,$){var x=k.generatedLine-$.generatedLine;return x!==0||(x=k.generatedColumn-$.generatedColumn,x!==0)||(x=b(k.source,$.source),x!==0)||(x=k.originalLine-$.originalLine,x!==0)||(x=k.originalColumn-$.originalColumn,x!==0)?x:b(k.name,$.name)}t.compareByGeneratedPositionsInflated=v;function y(k){return JSON.parse(k.replace(/^\)]}'[^\n]*\n/,""))}t.parseSourceMapInput=y;function w(k,$,x){if($=$||"",k&&(k[k.length-1]!=="/"&&$[0]!=="/"&&(k+="/"),$=k+$),x){var S=i(x);if(!S)throw new Error("sourceMapURL could not be parsed");if(S.path){var _=S.path.lastIndexOf("/");_>=0&&(S.path=S.path.substring(0,_+1))}$=o(a(S),$)}return s($)}t.computeSourceURL=w}),wo=N(t=>{var e=cr(),r=Object.prototype.hasOwnProperty,n=typeof Map<"u";function i(){this._array=[],this._set=n?new Map:Object.create(null)}i.fromArray=function(a,s){for(var o=new i,u=0,c=a.length;u<c;u++)o.add(a[u],s);return o},i.prototype.size=function(){return n?this._set.size:Object.getOwnPropertyNames(this._set).length},i.prototype.add=function(a,s){var o=n?a:e.toSetString(a),u=n?this.has(a):r.call(this._set,o),c=this._array.length;(!u||s)&&this._array.push(a),u||(n?this._set.set(a,c):this._set[o]=c)},i.prototype.has=function(a){if(n)return this._set.has(a);var s=e.toSetString(a);return r.call(this._set,s)},i.prototype.indexOf=function(a){if(n){var s=this._set.get(a);if(s>=0)return s}else{var o=e.toSetString(a);if(r.call(this._set,o))return this._set[o]}throw new Error('"'+a+'" is not in the set.')},i.prototype.at=function(a){if(a>=0&&a<this._array.length)return this._array[a];throw new Error("No element indexed by "+a)},i.prototype.toArray=function(){return this._array.slice()},t.ArraySet=i}),bl=N(t=>{var e=cr();function r(i,a){var s=i.generatedLine,o=a.generatedLine,u=i.generatedColumn,c=a.generatedColumn;return o>s||o==s&&c>=u||e.compareByGeneratedPositionsInflated(i,a)<=0}function n(){this._array=[],this._sorted=!0,this._last={generatedLine:-1,generatedColumn:0}}n.prototype.unsortedForEach=function(i,a){this._array.forEach(i,a)},n.prototype.add=function(i){r(this._last,i)?(this._last=i,this._array.push(i)):(this._sorted=!1,this._array.push(i))},n.prototype.toArray=function(){return this._sorted||(this._array.sort(e.compareByGeneratedPositionsInflated),this._sorted=!0),this._array},t.MappingList=n}),$o=N(t=>{var e=xo(),r=cr(),n=wo().ArraySet,i=bl().MappingList;function a(s){s||(s={}),this._file=r.getArg(s,"file",null),this._sourceRoot=r.getArg(s,"sourceRoot",null),this._skipValidation=r.getArg(s,"skipValidation",!1),this._sources=new n,this._names=new n,this._mappings=new i,this._sourcesContents=null}a.prototype._version=3,a.fromSourceMap=function(s){var o=s.sourceRoot,u=new a({file:s.file,sourceRoot:o});return s.eachMapping(function(c){var d={generated:{line:c.generatedLine,column:c.generatedColumn}};c.source!=null&&(d.source=c.source,o!=null&&(d.source=r.relative(o,d.source)),d.original={line:c.originalLine,column:c.originalColumn},c.name!=null&&(d.name=c.name)),u.addMapping(d)}),s.sources.forEach(function(c){var d=c;o!==null&&(d=r.relative(o,c)),u._sources.has(d)||u._sources.add(d);var h=s.sourceContentFor(c);h!=null&&u.setSourceContent(c,h)}),u},a.prototype.addMapping=function(s){var o=r.getArg(s,"generated"),u=r.getArg(s,"original",null),c=r.getArg(s,"source",null),d=r.getArg(s,"name",null);this._skipValidation||this._validateMapping(o,u,c,d),c!=null&&(c=String(c),this._sources.has(c)||this._sources.add(c)),d!=null&&(d=String(d),this._names.has(d)||this._names.add(d)),this._mappings.add({generatedLine:o.line,generatedColumn:o.column,originalLine:u!=null&&u.line,originalColumn:u!=null&&u.column,source:c,name:d})},a.prototype.setSourceContent=function(s,o){var u=s;this._sourceRoot!=null&&(u=r.relative(this._sourceRoot,u)),o!=null?(this._sourcesContents||(this._sourcesContents=Object.create(null)),this._sourcesContents[r.toSetString(u)]=o):this._sourcesContents&&(delete this._sourcesContents[r.toSetString(u)],Object.keys(this._sourcesContents).length===0&&(this._sourcesContents=null))},a.prototype.applySourceMap=function(s,o,u){var c=o;if(o==null){if(s.file==null)throw new Error(`SourceMapGenerator.prototype.applySourceMap requires either an explicit source file, or the source map's "file" property. Both were omitted.`);c=s.file}var d=this._sourceRoot;d!=null&&(c=r.relative(d,c));var h=new n,p=new n;this._mappings.unsortedForEach(function(l){if(l.source===c&&l.originalLine!=null){var m=s.originalPositionFor({line:l.originalLine,column:l.originalColumn});m.source!=null&&(l.source=m.source,u!=null&&(l.source=r.join(u,l.source)),d!=null&&(l.source=r.relative(d,l.source)),l.originalLine=m.line,l.originalColumn=m.column,m.name!=null&&(l.name=m.name))}var f=l.source;f!=null&&!h.has(f)&&h.add(f);var b=l.name;b!=null&&!p.has(b)&&p.add(b)},this),this._sources=h,this._names=p,s.sources.forEach(function(l){var m=s.sourceContentFor(l);m!=null&&(u!=null&&(l=r.join(u,l)),d!=null&&(l=r.relative(d,l)),this.setSourceContent(l,m))},this)},a.prototype._validateMapping=function(s,o,u,c){if(o&&typeof o.line!="number"&&typeof o.column!="number")throw new Error("original.line and original.column are not numbers -- you probably meant to omit the original mapping entirely and only map the generated position. If so, pass null for the original mapping instead of an object with empty or null values.");if(!(s&&"line"in s&&"column"in s&&s.line>0&&s.column>=0&&!o&&!u&&!c)){if(s&&"line"in s&&"column"in s&&o&&"line"in o&&"column"in o&&s.line>0&&s.column>=0&&o.line>0&&o.column>=0&&u)return;throw new Error("Invalid mapping: "+JSON.stringify({generated:s,source:u,original:o,name:c}))}},a.prototype._serializeMappings=function(){for(var s=0,o=1,u=0,c=0,d=0,h=0,p="",l,m,f,b,v=this._mappings.toArray(),y=0,w=v.length;y<w;y++){if(m=v[y],l="",m.generatedLine!==o)for(s=0;m.generatedLine!==o;)l+=";",o++;else if(y>0){if(!r.compareByGeneratedPositionsInflated(m,v[y-1]))continue;l+=","}l+=e.encode(m.generatedColumn-s),s=m.generatedColumn,m.source!=null&&(b=this._sources.indexOf(m.source),l+=e.encode(b-h),h=b,l+=e.encode(m.originalLine-1-c),c=m.originalLine-1,l+=e.encode(m.originalColumn-u),u=m.originalColumn,m.name!=null&&(f=this._names.indexOf(m.name),l+=e.encode(f-d),d=f)),p+=l}return p},a.prototype._generateSourcesContent=function(s,o){return s.map(function(u){if(!this._sourcesContents)return null;o!=null&&(u=r.relative(o,u));var c=r.toSetString(u);return Object.prototype.hasOwnProperty.call(this._sourcesContents,c)?this._sourcesContents[c]:null},this)},a.prototype.toJSON=function(){var s={version:this._version,sources:this._sources.toArray(),names:this._names.toArray(),mappings:this._serializeMappings()};return this._file!=null&&(s.file=this._file),this._sourceRoot!=null&&(s.sourceRoot=this._sourceRoot),this._sourcesContents&&(s.sourcesContent=this._generateSourcesContent(s.sources,s.sourceRoot)),s},a.prototype.toString=function(){return JSON.stringify(this.toJSON())},t.SourceMapGenerator=a}),yl=N(t=>{t.GREATEST_LOWER_BOUND=1,t.LEAST_UPPER_BOUND=2;function e(r,n,i,a,s,o){var u=Math.floor((n-r)/2)+r,c=s(i,a[u],!0);return c===0?u:c>0?n-u>1?e(u,n,i,a,s,o):o==t.LEAST_UPPER_BOUND?n<a.length?n:-1:u:u-r>1?e(r,u,i,a,s,o):o==t.LEAST_UPPER_BOUND?u:r<0?-1:r}t.search=function(r,n,i,a){if(n.length===0)return-1;var s=e(-1,n.length,r,n,i,a||t.GREATEST_LOWER_BOUND);if(s<0)return-1;for(;s-1>=0&&i(n[s],n[s-1],!0)===0;)--s;return s}}),vl=N(t=>{function e(i,a,s){var o=i[a];i[a]=i[s],i[s]=o}function r(i,a){return Math.round(i+Math.random()*(a-i))}function n(i,a,s,o){if(s<o){var u=r(s,o),c=s-1;e(i,u,o);for(var d=i[o],h=s;h<o;h++)a(i[h],d)<=0&&(c+=1,e(i,c,h));e(i,c+1,h);var p=c+1;n(i,a,s,p-1),n(i,a,p+1,o)}}t.quickSort=function(i,a){n(i,a,0,i.length-1)}}),kl=N(t=>{var e=cr(),r=yl(),n=wo().ArraySet,i=xo(),a=vl().quickSort;function s(d,h){var p=d;return typeof d=="string"&&(p=e.parseSourceMapInput(d)),p.sections!=null?new c(p,h):new o(p,h)}s.fromSourceMap=function(d,h){return o.fromSourceMap(d,h)},s.prototype._version=3,s.prototype.__generatedMappings=null,Object.defineProperty(s.prototype,"_generatedMappings",{configurable:!0,enumerable:!0,get:function(){return this.__generatedMappings||this._parseMappings(this._mappings,this.sourceRoot),this.__generatedMappings}}),s.prototype.__originalMappings=null,Object.defineProperty(s.prototype,"_originalMappings",{configurable:!0,enumerable:!0,get:function(){return this.__originalMappings||this._parseMappings(this._mappings,this.sourceRoot),this.__originalMappings}}),s.prototype._charIsMappingSeparator=function(d,h){var p=d.charAt(h);return p===";"||p===","},s.prototype._parseMappings=function(d,h){throw new Error("Subclasses must implement _parseMappings")},s.GENERATED_ORDER=1,s.ORIGINAL_ORDER=2,s.GREATEST_LOWER_BOUND=1,s.LEAST_UPPER_BOUND=2,s.prototype.eachMapping=function(d,h,p){var l=h||null,m=p||s.GENERATED_ORDER,f;switch(m){case s.GENERATED_ORDER:f=this._generatedMappings;break;case s.ORIGINAL_ORDER:f=this._originalMappings;break;default:throw new Error("Unknown order of iteration.")}var b=this.sourceRoot;f.map(function(v){var y=v.source===null?null:this._sources.at(v.source);return y=e.computeSourceURL(b,y,this._sourceMapURL),{source:y,generatedLine:v.generatedLine,generatedColumn:v.generatedColumn,originalLine:v.originalLine,originalColumn:v.originalColumn,name:v.name===null?null:this._names.at(v.name)}},this).forEach(d,l)},s.prototype.allGeneratedPositionsFor=function(d){var h=e.getArg(d,"line"),p={source:e.getArg(d,"source"),originalLine:h,originalColumn:e.getArg(d,"column",0)};if(p.source=this._findSourceIndex(p.source),p.source<0)return[];var l=[],m=this._findMapping(p,this._originalMappings,"originalLine","originalColumn",e.compareByOriginalPositions,r.LEAST_UPPER_BOUND);if(m>=0){var f=this._originalMappings[m];if(d.column===void 0)for(var b=f.originalLine;f&&f.originalLine===b;)l.push({line:e.getArg(f,"generatedLine",null),column:e.getArg(f,"generatedColumn",null),lastColumn:e.getArg(f,"lastGeneratedColumn",null)}),f=this._originalMappings[++m];else for(var v=f.originalColumn;f&&f.originalLine===h&&f.originalColumn==v;)l.push({line:e.getArg(f,"generatedLine",null),column:e.getArg(f,"generatedColumn",null),lastColumn:e.getArg(f,"lastGeneratedColumn",null)}),f=this._originalMappings[++m]}return l},t.SourceMapConsumer=s;function o(d,h){var p=d;typeof d=="string"&&(p=e.parseSourceMapInput(d));var l=e.getArg(p,"version"),m=e.getArg(p,"sources"),f=e.getArg(p,"names",[]),b=e.getArg(p,"sourceRoot",null),v=e.getArg(p,"sourcesContent",null),y=e.getArg(p,"mappings"),w=e.getArg(p,"file",null);if(l!=this._version)throw new Error("Unsupported version: "+l);b&&(b=e.normalize(b)),m=m.map(String).map(e.normalize).map(function(k){return b&&e.isAbsolute(b)&&e.isAbsolute(k)?e.relative(b,k):k}),this._names=n.fromArray(f.map(String),!0),this._sources=n.fromArray(m,!0),this._absoluteSources=this._sources.toArray().map(function(k){return e.computeSourceURL(b,k,h)}),this.sourceRoot=b,this.sourcesContent=v,this._mappings=y,this._sourceMapURL=h,this.file=w}o.prototype=Object.create(s.prototype),o.prototype.consumer=s,o.prototype._findSourceIndex=function(d){var h=d;if(this.sourceRoot!=null&&(h=e.relative(this.sourceRoot,h)),this._sources.has(h))return this._sources.indexOf(h);var p;for(p=0;p<this._absoluteSources.length;++p)if(this._absoluteSources[p]==d)return p;return-1},o.fromSourceMap=function(d,h){var p=Object.create(o.prototype),l=p._names=n.fromArray(d._names.toArray(),!0),m=p._sources=n.fromArray(d._sources.toArray(),!0);p.sourceRoot=d._sourceRoot,p.sourcesContent=d._generateSourcesContent(p._sources.toArray(),p.sourceRoot),p.file=d._file,p._sourceMapURL=h,p._absoluteSources=p._sources.toArray().map(function(x){return e.computeSourceURL(p.sourceRoot,x,h)});for(var f=d._mappings.toArray().slice(),b=p.__generatedMappings=[],v=p.__originalMappings=[],y=0,w=f.length;y<w;y++){var k=f[y],$=new u;$.generatedLine=k.generatedLine,$.generatedColumn=k.generatedColumn,k.source&&($.source=m.indexOf(k.source),$.originalLine=k.originalLine,$.originalColumn=k.originalColumn,k.name&&($.name=l.indexOf(k.name)),v.push($)),b.push($)}return a(p.__originalMappings,e.compareByOriginalPositions),p},o.prototype._version=3,Object.defineProperty(o.prototype,"sources",{get:function(){return this._absoluteSources.slice()}});function u(){this.generatedLine=0,this.generatedColumn=0,this.source=null,this.originalLine=null,this.originalColumn=null,this.name=null}o.prototype._parseMappings=function(d,h){for(var p=1,l=0,m=0,f=0,b=0,v=0,y=d.length,w=0,k={},$={},x=[],S=[],_,A,C,F,D;w<y;)if(d.charAt(w)===";")p++,w++,l=0;else if(d.charAt(w)===",")w++;else{for(_=new u,_.generatedLine=p,F=w;F<y&&!this._charIsMappingSeparator(d,F);F++);if(A=d.slice(w,F),C=k[A],C)w+=A.length;else{for(C=[];w<F;)i.decode(d,w,$),D=$.value,w=$.rest,C.push(D);if(C.length===2)throw new Error("Found a source, but no line and column");if(C.length===3)throw new Error("Found a source and line, but no column");k[A]=C}_.generatedColumn=l+C[0],l=_.generatedColumn,C.length>1&&(_.source=b+C[1],b+=C[1],_.originalLine=m+C[2],m=_.originalLine,_.originalLine+=1,_.originalColumn=f+C[3],f=_.originalColumn,C.length>4&&(_.name=v+C[4],v+=C[4])),S.push(_),typeof _.originalLine=="number"&&x.push(_)}a(S,e.compareByGeneratedPositionsDeflated),this.__generatedMappings=S,a(x,e.compareByOriginalPositions),this.__originalMappings=x},o.prototype._findMapping=function(d,h,p,l,m,f){if(d[p]<=0)throw new TypeError("Line must be greater than or equal to 1, got "+d[p]);if(d[l]<0)throw new TypeError("Column must be greater than or equal to 0, got "+d[l]);return r.search(d,h,m,f)},o.prototype.computeColumnSpans=function(){for(var d=0;d<this._generatedMappings.length;++d){var h=this._generatedMappings[d];if(d+1<this._generatedMappings.length){var p=this._generatedMappings[d+1];if(h.generatedLine===p.generatedLine){h.lastGeneratedColumn=p.generatedColumn-1;continue}}h.lastGeneratedColumn=1/0}},o.prototype.originalPositionFor=function(d){var h={generatedLine:e.getArg(d,"line"),generatedColumn:e.getArg(d,"column")},p=this._findMapping(h,this._generatedMappings,"generatedLine","generatedColumn",e.compareByGeneratedPositionsDeflated,e.getArg(d,"bias",s.GREATEST_LOWER_BOUND));if(p>=0){var l=this._generatedMappings[p];if(l.generatedLine===h.generatedLine){var m=e.getArg(l,"source",null);m!==null&&(m=this._sources.at(m),m=e.computeSourceURL(this.sourceRoot,m,this._sourceMapURL));var f=e.getArg(l,"name",null);return f!==null&&(f=this._names.at(f)),{source:m,line:e.getArg(l,"originalLine",null),column:e.getArg(l,"originalColumn",null),name:f}}}return{source:null,line:null,column:null,name:null}},o.prototype.hasContentsOfAllSources=function(){return this.sourcesContent?this.sourcesContent.length>=this._sources.size()&&!this.sourcesContent.some(function(d){return d==null}):!1},o.prototype.sourceContentFor=function(d,h){if(!this.sourcesContent)return null;var p=this._findSourceIndex(d);if(p>=0)return this.sourcesContent[p];var l=d;this.sourceRoot!=null&&(l=e.relative(this.sourceRoot,l));var m;if(this.sourceRoot!=null&&(m=e.urlParse(this.sourceRoot))){var f=l.replace(/^file:\/\//,"");if(m.scheme=="file"&&this._sources.has(f))return this.sourcesContent[this._sources.indexOf(f)];if((!m.path||m.path=="/")&&this._sources.has("/"+l))return this.sourcesContent[this._sources.indexOf("/"+l)]}if(h)return null;throw new Error('"'+l+'" is not in the SourceMap.')},o.prototype.generatedPositionFor=function(d){var h=e.getArg(d,"source");if(h=this._findSourceIndex(h),h<0)return{line:null,column:null,lastColumn:null};var p={source:h,originalLine:e.getArg(d,"line"),originalColumn:e.getArg(d,"column")},l=this._findMapping(p,this._originalMappings,"originalLine","originalColumn",e.compareByOriginalPositions,e.getArg(d,"bias",s.GREATEST_LOWER_BOUND));if(l>=0){var m=this._originalMappings[l];if(m.source===p.source)return{line:e.getArg(m,"generatedLine",null),column:e.getArg(m,"generatedColumn",null),lastColumn:e.getArg(m,"lastGeneratedColumn",null)}}return{line:null,column:null,lastColumn:null}},t.BasicSourceMapConsumer=o;function c(d,h){var p=d;typeof d=="string"&&(p=e.parseSourceMapInput(d));var l=e.getArg(p,"version"),m=e.getArg(p,"sections");if(l!=this._version)throw new Error("Unsupported version: "+l);this._sources=new n,this._names=new n;var f={line:-1,column:0};this._sections=m.map(function(b){if(b.url)throw new Error("Support for url field in sections not implemented.");var v=e.getArg(b,"offset"),y=e.getArg(v,"line"),w=e.getArg(v,"column");if(y<f.line||y===f.line&&w<f.column)throw new Error("Section offsets must be ordered and non-overlapping.");return f=v,{generatedOffset:{generatedLine:y+1,generatedColumn:w+1},consumer:new s(e.getArg(b,"map"),h)}})}c.prototype=Object.create(s.prototype),c.prototype.constructor=s,c.prototype._version=3,Object.defineProperty(c.prototype,"sources",{get:function(){for(var d=[],h=0;h<this._sections.length;h++)for(var p=0;p<this._sections[h].consumer.sources.length;p++)d.push(this._sections[h].consumer.sources[p]);return d}}),c.prototype.originalPositionFor=function(d){var h={generatedLine:e.getArg(d,"line"),generatedColumn:e.getArg(d,"column")},p=r.search(h,this._sections,function(m,f){var b=m.generatedLine-f.generatedOffset.generatedLine;return b||m.generatedColumn-f.generatedOffset.generatedColumn}),l=this._sections[p];return l?l.consumer.originalPositionFor({line:h.generatedLine-(l.generatedOffset.generatedLine-1),column:h.generatedColumn-(l.generatedOffset.generatedLine===h.generatedLine?l.generatedOffset.generatedColumn-1:0),bias:d.bias}):{source:null,line:null,column:null,name:null}},c.prototype.hasContentsOfAllSources=function(){return this._sections.every(function(d){return d.consumer.hasContentsOfAllSources()})},c.prototype.sourceContentFor=function(d,h){for(var p=0;p<this._sections.length;p++){var l=this._sections[p],m=l.consumer.sourceContentFor(d,!0);if(m)return m}if(h)return null;throw new Error('"'+d+'" is not in the SourceMap.')},c.prototype.generatedPositionFor=function(d){for(var h=0;h<this._sections.length;h++){var p=this._sections[h];if(p.consumer._findSourceIndex(e.getArg(d,"source"))!==-1){var l=p.consumer.generatedPositionFor(d);if(l){var m={line:l.line+(p.generatedOffset.generatedLine-1),column:l.column+(p.generatedOffset.generatedLine===l.line?p.generatedOffset.generatedColumn-1:0)};return m}}}return{line:null,column:null}},c.prototype._parseMappings=function(d,h){this.__generatedMappings=[],this.__originalMappings=[];for(var p=0;p<this._sections.length;p++)for(var l=this._sections[p],m=l.consumer._generatedMappings,f=0;f<m.length;f++){var b=m[f],v=l.consumer._sources.at(b.source);v=e.computeSourceURL(l.consumer.sourceRoot,v,this._sourceMapURL),this._sources.add(v),v=this._sources.indexOf(v);var y=null;b.name&&(y=l.consumer._names.at(b.name),this._names.add(y),y=this._names.indexOf(y));var w={source:v,generatedLine:b.generatedLine+(l.generatedOffset.generatedLine-1),generatedColumn:b.generatedColumn+(l.generatedOffset.generatedLine===b.generatedLine?l.generatedOffset.generatedColumn-1:0),originalLine:b.originalLine,originalColumn:b.originalColumn,name:y};this.__generatedMappings.push(w),typeof w.originalLine=="number"&&this.__originalMappings.push(w)}a(this.__generatedMappings,e.compareByGeneratedPositionsDeflated),a(this.__originalMappings,e.compareByOriginalPositions)},t.IndexedSourceMapConsumer=c}),xl=N(t=>{var e=$o().SourceMapGenerator,r=cr(),n=/(\r?\n)/,i=10,a="$$$isSourceNode$$$";function s(o,u,c,d,h){this.children=[],this.sourceContents={},this.line=o??null,this.column=u??null,this.source=c??null,this.name=h??null,this[a]=!0,d!=null&&this.add(d)}s.fromStringWithSourceMap=function(o,u,c){var d=new s,h=o.split(n),p=0,l=function(){var y=k(),w=k()||"";return y+w;function k(){return p<h.length?h[p++]:void 0}},m=1,f=0,b=null;return u.eachMapping(function(y){if(b!==null)if(m<y.generatedLine)v(b,l()),m++,f=0;else{var w=h[p]||"",k=w.substr(0,y.generatedColumn-f);h[p]=w.substr(y.generatedColumn-f),f=y.generatedColumn,v(b,k),b=y;return}for(;m<y.generatedLine;)d.add(l()),m++;if(f<y.generatedColumn){var w=h[p]||"";d.add(w.substr(0,y.generatedColumn)),h[p]=w.substr(y.generatedColumn),f=y.generatedColumn}b=y},this),p<h.length&&(b&&v(b,l()),d.add(h.splice(p).join(""))),u.sources.forEach(function(y){var w=u.sourceContentFor(y);w!=null&&(c!=null&&(y=r.join(c,y)),d.setSourceContent(y,w))}),d;function v(y,w){if(y===null||y.source===void 0)d.add(w);else{var k=c?r.join(c,y.source):y.source;d.add(new s(y.originalLine,y.originalColumn,k,w,y.name))}}},s.prototype.add=function(o){if(Array.isArray(o))o.forEach(function(u){this.add(u)},this);else if(o[a]||typeof o=="string")o&&this.children.push(o);else throw new TypeError("Expected a SourceNode, string, or an array of SourceNodes and strings. Got "+o);return this},s.prototype.prepend=function(o){if(Array.isArray(o))for(var u=o.length-1;u>=0;u--)this.prepend(o[u]);else if(o[a]||typeof o=="string")this.children.unshift(o);else throw new TypeError("Expected a SourceNode, string, or an array of SourceNodes and strings. Got "+o);return this},s.prototype.walk=function(o){for(var u,c=0,d=this.children.length;c<d;c++)u=this.children[c],u[a]?u.walk(o):u!==""&&o(u,{source:this.source,line:this.line,column:this.column,name:this.name})},s.prototype.join=function(o){var u,c,d=this.children.length;if(d>0){for(u=[],c=0;c<d-1;c++)u.push(this.children[c]),u.push(o);u.push(this.children[c]),this.children=u}return this},s.prototype.replaceRight=function(o,u){var c=this.children[this.children.length-1];return c[a]?c.replaceRight(o,u):typeof c=="string"?this.children[this.children.length-1]=c.replace(o,u):this.children.push("".replace(o,u)),this},s.prototype.setSourceContent=function(o,u){this.sourceContents[r.toSetString(o)]=u},s.prototype.walkSourceContents=function(o){for(var u=0,c=this.children.length;u<c;u++)this.children[u][a]&&this.children[u].walkSourceContents(o);for(var d=Object.keys(this.sourceContents),u=0,c=d.length;u<c;u++)o(r.fromSetString(d[u]),this.sourceContents[d[u]])},s.prototype.toString=function(){var o="";return this.walk(function(u){o+=u}),o},s.prototype.toStringWithSourceMap=function(o){var u={code:"",line:1,column:0},c=new e(o),d=!1,h=null,p=null,l=null,m=null;return this.walk(function(f,b){u.code+=f,b.source!==null&&b.line!==null&&b.column!==null?((h!==b.source||p!==b.line||l!==b.column||m!==b.name)&&c.addMapping({source:b.source,original:{line:b.line,column:b.column},generated:{line:u.line,column:u.column},name:b.name}),h=b.source,p=b.line,l=b.column,m=b.name,d=!0):d&&(c.addMapping({generated:{line:u.line,column:u.column}}),h=null,d=!1);for(var v=0,y=f.length;v<y;v++)f.charCodeAt(v)===i?(u.line++,u.column=0,v+1===y?(h=null,d=!1):d&&c.addMapping({source:b.source,original:{line:b.line,column:b.column},generated:{line:u.line,column:u.column},name:b.name})):u.column++}),this.walkSourceContents(function(f,b){c.setSourceContent(f,b)}),{code:u.code,map:c}},t.SourceNode=s}),wl=N(t=>{t.SourceMapGenerator=$o().SourceMapGenerator,t.SourceMapConsumer=kl().SourceMapConsumer,t.SourceNode=xl().SourceNode}),$l=N((t,e)=>{"use strict";t.__esModule=!0;var r=he(),n=void 0;try{(typeof define!="function"||!define.amd)&&(i=wl(),n=i.SourceNode)}catch{}var i;n||(n=function(o,u,c,d){this.src="",d&&this.add(d)},n.prototype={add:function(o){r.isArray(o)&&(o=o.join("")),this.src+=o},prepend:function(o){r.isArray(o)&&(o=o.join("")),this.src=o+this.src},toStringWithSourceMap:function(){return{code:this.toString()}},toString:function(){return this.src}});function a(o,u,c){if(r.isArray(o)){for(var d=[],h=0,p=o.length;h<p;h++)d.push(u.wrap(o[h],c));return d}else if(typeof o=="boolean"||typeof o=="number")return o+"";return o}function s(o){this.srcFile=o,this.source=[]}s.prototype={isEmpty:function(){return!this.source.length},prepend:function(o,u){this.source.unshift(this.wrap(o,u))},push:function(o,u){this.source.push(this.wrap(o,u))},merge:function(){var o=this.empty();return this.each(function(u){o.add([" ",u,`
11
- `])}),o},each:function(o){for(var u=0,c=this.source.length;u<c;u++)o(this.source[u])},empty:function(){var o=this.currentLocation||{start:{}};return new n(o.start.line,o.start.column,this.srcFile)},wrap:function(o){var u=arguments.length<=1||arguments[1]===void 0?this.currentLocation||{start:{}}:arguments[1];return o instanceof n?o:(o=a(o,this,u),new n(u.start.line,u.start.column,this.srcFile,o))},functionCall:function(o,u,c){return c=this.generateList(c),this.wrap([o,u?"."+u+"(":"(",c,")"])},quotedString:function(o){return'"'+(o+"").replace(/\\/g,"\\\\").replace(/"/g,'\\"').replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029")+'"'},objectLiteral:function(o){var u=this,c=[];Object.keys(o).forEach(function(h){var p=a(o[h],u);p!=="undefined"&&c.push([u.quotedString(h),":",p])});var d=this.generateList(c);return d.prepend("{"),d.add("}"),d},generateList:function(o){for(var u=this.empty(),c=0,d=o.length;c<d;c++)c&&u.add(","),u.add(a(o[c],this));return u},generateArray:function(o){var u=this.generateList(o);return u.prepend("["),u.add("]"),u}},t.default=s,e.exports=t.default}),El=N((t,e)=>{"use strict";t.__esModule=!0;function r(p){return p&&p.__esModule?p:{default:p}}var n=di(),i=$e(),a=r(i),s=he(),o=$l(),u=r(o);function c(p){this.value=p}function d(){}d.prototype={nameLookup:function(p,l){return this.internalNameLookup(p,l)},depthedLookup:function(p){return[this.aliasable("container.lookup"),"(depths, ",JSON.stringify(p),")"]},compilerInfo:function(){var p=n.COMPILER_REVISION,l=n.REVISION_CHANGES[p];return[p,l]},appendToBuffer:function(p,l,m){return s.isArray(p)||(p=[p]),p=this.source.wrap(p,l),this.environment.isSimple?["return ",p,";"]:m?["buffer += ",p,";"]:(p.appendToBuffer=!0,p)},initializeBuffer:function(){return this.quotedString("")},internalNameLookup:function(p,l){return this.lookupPropertyFunctionIsUsed=!0,["lookupProperty(",p,",",JSON.stringify(l),")"]},lookupPropertyFunctionIsUsed:!1,compile:function(p,l,m,f){this.environment=p,this.options=l,this.stringParams=this.options.stringParams,this.trackIds=this.options.trackIds,this.precompile=!f,this.name=this.environment.name,this.isChild=!!m,this.context=m||{decorators:[],programs:[],environments:[]},this.preamble(),this.stackSlot=0,this.stackVars=[],this.aliases={},this.registers={list:[]},this.hashes=[],this.compileStack=[],this.inlineStack=[],this.blockParams=[],this.compileChildren(p,l),this.useDepths=this.useDepths||p.useDepths||p.useDecorators||this.options.compat,this.useBlockParams=this.useBlockParams||p.useBlockParams;var b=p.opcodes,v=void 0,y=void 0,w=void 0,k=void 0;for(w=0,k=b.length;w<k;w++)v=b[w],this.source.currentLocation=v.loc,y=y||v.loc,this[v.opcode].apply(this,v.args);if(this.source.currentLocation=y,this.pushSource(""),this.stackSlot||this.inlineStack.length||this.compileStack.length)throw new a.default("Compile completed with content left on stack");this.decorators.isEmpty()?this.decorators=void 0:(this.useDecorators=!0,this.decorators.prepend(["var decorators = container.decorators, ",this.lookupPropertyFunctionVarDeclaration(),`;
10
+ `+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){var o=this.next();return typeof o<"u"?o:this.lex()},begin:function(o){this.conditionStack.push(o)},popState:function(){return this.conditionStack.pop()},_currentRules:function(){return this.conditions[this.conditionStack[this.conditionStack.length-1]].rules},topState:function(){return this.conditionStack[this.conditionStack.length-2]},pushState:function(o){this.begin(o)}};return s.options={},s.performAction=function(o,u,c,d){function h(l,m){return u.yytext=u.yytext.substring(l,u.yyleng-m+l)}var p=d;switch(c){case 0:if(u.yytext.slice(-2)==="\\\\"?(h(0,1),this.begin("mu")):u.yytext.slice(-1)==="\\"?(h(0,1),this.begin("emu")):this.begin("mu"),u.yytext)return 15;break;case 1:return 15;case 2:return this.popState(),15;case 3:return this.begin("raw"),15;case 4:return this.popState(),this.conditionStack[this.conditionStack.length-1]==="raw"?15:(h(5,9),"END_RAW_BLOCK");case 5:return 15;case 6:return this.popState(),14;case 7:return 65;case 8:return 68;case 9:return 19;case 10:return this.popState(),this.begin("raw"),23;case 11:return 55;case 12:return 60;case 13:return 29;case 14:return 47;case 15:return this.popState(),44;case 16:return this.popState(),44;case 17:return 34;case 18:return 39;case 19:return 51;case 20:return 48;case 21:this.unput(u.yytext),this.popState(),this.begin("com");break;case 22:return this.popState(),14;case 23:return 48;case 24:return 73;case 25:return 72;case 26:return 72;case 27:return 87;case 28:break;case 29:return this.popState(),54;case 30:return this.popState(),33;case 31:return u.yytext=h(1,2).replace(/\\"/g,'"'),80;case 32:return u.yytext=h(1,2).replace(/\\'/g,"'"),80;case 33:return 85;case 34:return 82;case 35:return 82;case 36:return 83;case 37:return 84;case 38:return 81;case 39:return 75;case 40:return 77;case 41:return 72;case 42:return u.yytext=u.yytext.replace(/\\([\\\]])/g,"$1"),72;case 43:return"INVALID";case 44:return 5}},s.rules=[/^(?:[^\x00]*?(?=(\{\{)))/,/^(?:[^\x00]+)/,/^(?:[^\x00]{2,}?(?=(\{\{|\\\{\{|\\\\\{\{|$)))/,/^(?:\{\{\{\{(?=[^\/]))/,/^(?:\{\{\{\{\/[^\s!"#%-,\.\/;->@\[-\^`\{-~]+(?=[=}\s\/.])\}\}\}\})/,/^(?:[^\x00]+?(?=(\{\{\{\{)))/,/^(?:[\s\S]*?--(~)?\}\})/,/^(?:\()/,/^(?:\))/,/^(?:\{\{\{\{)/,/^(?:\}\}\}\})/,/^(?:\{\{(~)?>)/,/^(?:\{\{(~)?#>)/,/^(?:\{\{(~)?#\*?)/,/^(?:\{\{(~)?\/)/,/^(?:\{\{(~)?\^\s*(~)?\}\})/,/^(?:\{\{(~)?\s*else\s*(~)?\}\})/,/^(?:\{\{(~)?\^)/,/^(?:\{\{(~)?\s*else\b)/,/^(?:\{\{(~)?\{)/,/^(?:\{\{(~)?&)/,/^(?:\{\{(~)?!--)/,/^(?:\{\{(~)?![\s\S]*?\}\})/,/^(?:\{\{(~)?\*?)/,/^(?:=)/,/^(?:\.\.)/,/^(?:\.(?=([=~}\s\/.)|])))/,/^(?:[\/.])/,/^(?:\s+)/,/^(?:\}(~)?\}\})/,/^(?:(~)?\}\})/,/^(?:"(\\["]|[^"])*")/,/^(?:'(\\[']|[^'])*')/,/^(?:@)/,/^(?:true(?=([~}\s)])))/,/^(?:false(?=([~}\s)])))/,/^(?:undefined(?=([~}\s)])))/,/^(?:null(?=([~}\s)])))/,/^(?:-?[0-9]+(?:\.[0-9]+)?(?=([~}\s)])))/,/^(?:as\s+\|)/,/^(?:\|)/,/^(?:([^\s!"#%-,\.\/;->@\[-\^`\{-~]+(?=([=~}\s\/.)|]))))/,/^(?:\[(\\\]|[^\]])*\])/,/^(?:.)/,/^(?:$)/],s.conditions={mu:{rules:[7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44],inclusive:!1},emu:{rules:[2],inclusive:!1},com:{rules:[6],inclusive:!1},raw:{rules:[3,4,5],inclusive:!1},INITIAL:{rules:[0,1,44],inclusive:!0}},s})();n.lexer=i;function a(){this.yy={}}return a.prototype=n,n.Parser=a,new a})();t.default=r,e.exports=t.default}),pi=N((t,e)=>{"use strict";t.__esModule=!0;function r(c){return c&&c.__esModule?c:{default:c}}var n=Ee(),i=r(n);function a(){this.parents=[]}a.prototype={constructor:a,mutating:!1,acceptKey:function(c,d){var h=this.accept(c[d]);if(this.mutating){if(h&&!a.prototype[h.type])throw new i.default('Unexpected node type "'+h.type+'" found when accepting '+d+" on "+c.type);c[d]=h}},acceptRequired:function(c,d){if(this.acceptKey(c,d),!c[d])throw new i.default(c.type+" requires "+d)},acceptArray:function(c){for(var d=0,h=c.length;d<h;d++)this.acceptKey(c,d),c[d]||(c.splice(d,1),d--,h--)},accept:function(c){if(c){if(!this[c.type])throw new i.default("Unknown type: "+c.type,c);this.current&&this.parents.unshift(this.current),this.current=c;var d=this[c.type](c);if(this.current=this.parents.shift(),!this.mutating||d)return d;if(d!==!1)return c}},Program:function(c){this.acceptArray(c.body)},MustacheStatement:s,Decorator:s,BlockStatement:o,DecoratorBlock:o,PartialStatement:u,PartialBlockStatement:function(c){u.call(this,c),this.acceptKey(c,"program")},ContentStatement:function(){},CommentStatement:function(){},SubExpression:s,PathExpression:function(){},StringLiteral:function(){},NumberLiteral:function(){},BooleanLiteral:function(){},UndefinedLiteral:function(){},NullLiteral:function(){},Hash:function(c){this.acceptArray(c.pairs)},HashPair:function(c){this.acceptRequired(c,"value")}};function s(c){this.acceptRequired(c,"path"),this.acceptArray(c.params),this.acceptKey(c,"hash")}function o(c){s.call(this,c),this.acceptKey(c,"program"),this.acceptKey(c,"inverse")}function u(c){this.acceptRequired(c,"name"),this.acceptArray(c.params),this.acceptKey(c,"hash")}t.default=a,e.exports=t.default}),pl=N((t,e)=>{"use strict";t.__esModule=!0;function r(d){return d&&d.__esModule?d:{default:d}}var n=pi(),i=r(n);function a(){var d=arguments.length<=0||arguments[0]===void 0?{}:arguments[0];this.options=d}a.prototype=new i.default,a.prototype.Program=function(d){var h=!this.options.ignoreStandalone,p=!this.isRootSeen;this.isRootSeen=!0;for(var l=d.body,m=0,f=l.length;m<f;m++){var b=l[m],v=this.accept(b);if(v){var y=s(l,m,p),w=o(l,m,p),k=v.openStandalone&&y,$=v.closeStandalone&&w,x=v.inlineStandalone&&y&&w;v.close&&u(l,m,!0),v.open&&c(l,m,!0),h&&x&&(u(l,m),c(l,m)&&b.type==="PartialStatement"&&(b.indent=/([ \t]+$)/.exec(l[m-1].original)[1])),h&&k&&(u((b.program||b.inverse).body),c(l,m)),h&&$&&(u(l,m),c((b.inverse||b.program).body))}}return d},a.prototype.BlockStatement=a.prototype.DecoratorBlock=a.prototype.PartialBlockStatement=function(d){this.accept(d.program),this.accept(d.inverse);var h=d.program||d.inverse,p=d.program&&d.inverse,l=p,m=p;if(p&&p.chained)for(l=p.body[0].program;m.chained;)m=m.body[m.body.length-1].program;var f={open:d.openStrip.open,close:d.closeStrip.close,openStandalone:o(h.body),closeStandalone:s((l||h).body)};if(d.openStrip.close&&u(h.body,null,!0),p){var b=d.inverseStrip;b.open&&c(h.body,null,!0),b.close&&u(l.body,null,!0),d.closeStrip.open&&c(m.body,null,!0),!this.options.ignoreStandalone&&s(h.body)&&o(l.body)&&(c(h.body),u(l.body))}else d.closeStrip.open&&c(h.body,null,!0);return f},a.prototype.Decorator=a.prototype.MustacheStatement=function(d){return d.strip},a.prototype.PartialStatement=a.prototype.CommentStatement=function(d){var h=d.strip||{};return{inlineStandalone:!0,open:h.open,close:h.close}};function s(d,h,p){h===void 0&&(h=d.length);var l=d[h-1],m=d[h-2];if(!l)return p;if(l.type==="ContentStatement")return(m||!p?/\r?\n\s*?$/:/(^|\r?\n)\s*?$/).test(l.original)}function o(d,h,p){h===void 0&&(h=-1);var l=d[h+1],m=d[h+2];if(!l)return p;if(l.type==="ContentStatement")return(m||!p?/^\s*?\r?\n/:/^\s*?(\r?\n|$)/).test(l.original)}function u(d,h,p){var l=d[h==null?0:h+1];if(!(!l||l.type!=="ContentStatement"||!p&&l.rightStripped)){var m=l.value;l.value=l.value.replace(p?/^\s+/:/^[ \t]*\r?\n?/,""),l.rightStripped=l.value!==m}}function c(d,h,p){var l=d[h==null?d.length-1:h-1];if(!(!l||l.type!=="ContentStatement"||!p&&l.leftStripped)){var m=l.value;return l.value=l.value.replace(p?/\s+$/:/[ \t]+$/,""),l.leftStripped=l.value!==m,l.leftStripped}}t.default=a,e.exports=t.default}),fl=N(t=>{"use strict";t.__esModule=!0,t.SourceLocation=a,t.id=s,t.stripFlags=o,t.stripComment=u,t.preparePath=c,t.prepareMustache=d,t.prepareRawBlock=h,t.prepareBlock=p,t.prepareProgram=l,t.preparePartialBlock=m;function e(f){return f&&f.__esModule?f:{default:f}}var r=Ee(),n=e(r);function i(f,b){if(b=b.path?b.path.original:b,f.path.original!==b){var v={loc:f.path.loc};throw new n.default(f.path.original+" doesn't match "+b,v)}}function a(f,b){this.source=f,this.start={line:b.first_line,column:b.first_column},this.end={line:b.last_line,column:b.last_column}}function s(f){return/^\[.*\]$/.test(f)?f.substring(1,f.length-1):f}function o(f,b){return{open:f.charAt(2)==="~",close:b.charAt(b.length-3)==="~"}}function u(f){return f.replace(/^\{\{~?!-?-?/,"").replace(/-?-?~?\}\}$/,"")}function c(f,b,v){v=this.locInfo(v);for(var y=f?"@":"",w=[],k=0,$=0,x=b.length;$<x;$++){var S=b[$].part,_=b[$].original!==S;if(y+=(b[$].separator||"")+S,!_&&(S===".."||S==="."||S==="this")){if(w.length>0)throw new n.default("Invalid path: "+y,{loc:v});S===".."&&k++}else w.push(S)}return{type:"PathExpression",data:f,depth:k,parts:w,original:y,loc:v}}function d(f,b,v,y,w,k){var $=y.charAt(3)||y.charAt(2),x=$!=="{"&&$!=="&",S=/\*/.test(y);return{type:S?"Decorator":"MustacheStatement",path:f,params:b,hash:v,escaped:x,strip:w,loc:this.locInfo(k)}}function h(f,b,v,y){i(f,v),y=this.locInfo(y);var w={type:"Program",body:b,strip:{},loc:y};return{type:"BlockStatement",path:f.path,params:f.params,hash:f.hash,program:w,openStrip:{},inverseStrip:{},closeStrip:{},loc:y}}function p(f,b,v,y,w,k){y&&y.path&&i(f,y);var $=/\*/.test(f.open);b.blockParams=f.blockParams;var x=void 0,S=void 0;if(v){if($)throw new n.default("Unexpected inverse block on decorator",v);v.chain&&(v.program.body[0].closeStrip=y.strip),S=v.strip,x=v.program}return w&&(w=x,x=b,b=w),{type:$?"DecoratorBlock":"BlockStatement",path:f.path,params:f.params,hash:f.hash,program:b,inverse:x,openStrip:f.strip,inverseStrip:S,closeStrip:y&&y.strip,loc:this.locInfo(k)}}function l(f,b){if(!b&&f.length){var v=f[0].loc,y=f[f.length-1].loc;v&&y&&(b={source:v.source,start:{line:v.start.line,column:v.start.column},end:{line:y.end.line,column:y.end.column}})}return{type:"Program",body:f,strip:{},loc:b}}function m(f,b,v,y){return i(f,v),{type:"PartialBlockStatement",name:f.path,params:f.params,hash:f.hash,program:b,openStrip:f.strip,closeStrip:v&&v.strip,loc:this.locInfo(y)}}}),ml=N(t=>{"use strict";t.__esModule=!0,t.parseWithoutProcessing=l,t.parse=m;function e(y){if(y&&y.__esModule)return y;var w={};if(y!=null)for(var k in y)Object.prototype.hasOwnProperty.call(y,k)&&(w[k]=y[k]);return w.default=y,w}function r(y){return y&&y.__esModule?y:{default:y}}var n=hl(),i=r(n),a=pl(),s=r(a),o=fl(),u=e(o),c=Ee(),d=r(c),h=pe();t.parser=i.default;var p={};h.extend(p,u);function l(y,w){if(y.type==="Program")return f(y),y;i.default.yy=p,p.locInfo=function($){return new p.SourceLocation(w&&w.srcName,$)};var k=i.default.parse(y);return k}function m(y,w){var k=l(y,w),$=new s.default(w);return $.accept(k)}function f(y){b(y)}function b(y){if(y!=null){if(Array.isArray(y)){y.forEach(b);return}if(typeof y=="object"){if(y.type==="PathExpression"){if(!v(y.depth))throw new d.default("Invalid AST: PathExpression.depth must be an integer");if(!Array.isArray(y.parts))throw new d.default("Invalid AST: PathExpression.parts must be an array");for(var w=0;w<y.parts.length;w++)if(typeof y.parts[w]!="string")throw new d.default("Invalid AST: PathExpression.parts must only contain strings")}else if(y.type==="NumberLiteral"){if(typeof y.value!="number"||!isFinite(y.value))throw new d.default("Invalid AST: NumberLiteral.value must be a number")}else if(y.type==="BooleanLiteral"&&typeof y.value!="boolean")throw new d.default("Invalid AST: BooleanLiteral.value must be a boolean");Object.keys(y).forEach(function(k){k!=="loc"&&b(y[k])})}}}function v(y){return typeof y=="number"&&isFinite(y)&&Math.floor(y)===y&&y>=0}}),gl=N(t=>{"use strict";t.__esModule=!0,t.Compiler=u,t.precompile=c,t.compile=d;function e(l){return l&&l.__esModule?l:{default:l}}var r=Ee(),n=e(r),i=pe(),a=xo(),s=e(a),o=[].slice;function u(){}u.prototype={compiler:u,equals:function(l){var m=this.opcodes.length;if(l.opcodes.length!==m)return!1;for(var f=0;f<m;f++){var b=this.opcodes[f],v=l.opcodes[f];if(b.opcode!==v.opcode||!h(b.args,v.args))return!1}m=this.children.length;for(var f=0;f<m;f++)if(!this.children[f].equals(l.children[f]))return!1;return!0},guid:0,compile:function(l,m){return this.sourceNode=[],this.opcodes=[],this.children=[],this.options=m,this.stringParams=m.stringParams,this.trackIds=m.trackIds,m.blockParams=m.blockParams||[],m.knownHelpers=i.extend(Object.create(null),{helperMissing:!0,blockHelperMissing:!0,each:!0,if:!0,unless:!0,with:!0,log:!0,lookup:!0},m.knownHelpers),this.accept(l)},compileProgram:function(l){var m=new this.compiler,f=m.compile(l,this.options),b=this.guid++;return this.usePartial=this.usePartial||f.usePartial,this.children[b]=f,this.useDepths=this.useDepths||f.useDepths,b},accept:function(l){if(!this[l.type])throw new n.default("Unknown type: "+l.type,l);this.sourceNode.unshift(l);var m=this[l.type](l);return this.sourceNode.shift(),m},Program:function(l){this.options.blockParams.unshift(l.blockParams);for(var m=l.body,f=m.length,b=0;b<f;b++)this.accept(m[b]);return this.options.blockParams.shift(),this.isSimple=f===1,this.blockParams=l.blockParams?l.blockParams.length:0,this},BlockStatement:function(l){p(l);var m=l.program,f=l.inverse;m=m&&this.compileProgram(m),f=f&&this.compileProgram(f);var b=this.classifySexpr(l);b==="helper"?this.helperSexpr(l,m,f):b==="simple"?(this.simpleSexpr(l),this.opcode("pushProgram",m),this.opcode("pushProgram",f),this.opcode("emptyHash"),this.opcode("blockValue",l.path.original)):(this.ambiguousSexpr(l,m,f),this.opcode("pushProgram",m),this.opcode("pushProgram",f),this.opcode("emptyHash"),this.opcode("ambiguousBlockValue")),this.opcode("append")},DecoratorBlock:function(l){var m=l.program&&this.compileProgram(l.program),f=this.setupFullMustacheParams(l,m,void 0),b=l.path;this.useDecorators=!0,this.opcode("registerDecorator",f.length,b.original)},PartialStatement:function(l){this.usePartial=!0;var m=l.program;m&&(m=this.compileProgram(l.program));var f=l.params;if(f.length>1)throw new n.default("Unsupported number of partial arguments: "+f.length,l);f.length||(this.options.explicitPartialContext?this.opcode("pushLiteral","undefined"):f.push({type:"PathExpression",parts:[],depth:0}));var b=l.name.original,v=l.name.type==="SubExpression";v&&this.accept(l.name),this.setupFullMustacheParams(l,m,void 0,!0);var y=l.indent||"";this.options.preventIndent&&y&&(this.opcode("appendContent",y),y=""),this.opcode("invokePartial",v,b,y),this.opcode("append")},PartialBlockStatement:function(l){this.PartialStatement(l)},MustacheStatement:function(l){this.SubExpression(l),l.escaped&&!this.options.noEscape?this.opcode("appendEscaped"):this.opcode("append")},Decorator:function(l){this.DecoratorBlock(l)},ContentStatement:function(l){l.value&&this.opcode("appendContent",l.value)},CommentStatement:function(){},SubExpression:function(l){p(l);var m=this.classifySexpr(l);m==="simple"?this.simpleSexpr(l):m==="helper"?this.helperSexpr(l):this.ambiguousSexpr(l)},ambiguousSexpr:function(l,m,f){var b=l.path,v=b.parts[0],y=m!=null||f!=null;this.opcode("getContext",b.depth),this.opcode("pushProgram",m),this.opcode("pushProgram",f),b.strict=!0,this.accept(b),this.opcode("invokeAmbiguous",v,y)},simpleSexpr:function(l){var m=l.path;m.strict=!0,this.accept(m),this.opcode("resolvePossibleLambda")},helperSexpr:function(l,m,f){var b=this.setupFullMustacheParams(l,m,f),v=l.path,y=v.parts[0];if(this.options.knownHelpers[y])this.opcode("invokeKnownHelper",b.length,y);else{if(this.options.knownHelpersOnly)throw new n.default("You specified knownHelpersOnly, but used the unknown helper "+y,l);v.strict=!0,v.falsy=!0,this.accept(v),this.opcode("invokeHelper",b.length,v.original,s.default.helpers.simpleId(v))}},PathExpression:function(l){this.addDepth(l.depth),this.opcode("getContext",l.depth);var m=l.parts[0],f=s.default.helpers.scopedId(l),b=!l.depth&&!f&&this.blockParamIndex(m);b?this.opcode("lookupBlockParam",b,l.parts):m?l.data?(this.options.data=!0,this.opcode("lookupData",l.depth,l.parts,l.strict)):this.opcode("lookupOnContext",l.parts,l.falsy,l.strict,f):this.opcode("pushContext")},StringLiteral:function(l){this.opcode("pushString",l.value)},NumberLiteral:function(l){this.opcode("pushLiteral",l.value)},BooleanLiteral:function(l){this.opcode("pushLiteral",l.value)},UndefinedLiteral:function(){this.opcode("pushLiteral","undefined")},NullLiteral:function(){this.opcode("pushLiteral","null")},Hash:function(l){var m=l.pairs,f=0,b=m.length;for(this.opcode("pushHash");f<b;f++)this.pushParam(m[f].value);for(;f--;)this.opcode("assignToHash",m[f].key);this.opcode("popHash")},opcode:function(l){this.opcodes.push({opcode:l,args:o.call(arguments,1),loc:this.sourceNode[0].loc})},addDepth:function(l){l&&(this.useDepths=!0)},classifySexpr:function(l){var m=s.default.helpers.simpleId(l.path),f=m&&!!this.blockParamIndex(l.path.parts[0]),b=!f&&s.default.helpers.helperExpression(l),v=!f&&(b||m);if(v&&!b){var y=l.path.parts[0],w=this.options;w.knownHelpers[y]?b=!0:w.knownHelpersOnly&&(v=!1)}return b?"helper":v?"ambiguous":"simple"},pushParams:function(l){for(var m=0,f=l.length;m<f;m++)this.pushParam(l[m])},pushParam:function(l){var m=l.value!=null?l.value:l.original||"";if(this.stringParams)m.replace&&(m=m.replace(/^(\.?\.\/)*/g,"").replace(/\//g,".")),l.depth&&this.addDepth(l.depth),this.opcode("getContext",l.depth||0),this.opcode("pushStringParam",m,l.type),l.type==="SubExpression"&&this.accept(l);else{if(this.trackIds){var f=void 0;if(l.parts&&!s.default.helpers.scopedId(l)&&!l.depth&&(f=this.blockParamIndex(l.parts[0])),f){var b=l.parts.slice(1).join(".");this.opcode("pushId","BlockParam",f,b)}else m=l.original||m,m.replace&&(m=m.replace(/^this(?:\.|$)/,"").replace(/^\.\//,"").replace(/^\.$/,"")),this.opcode("pushId",l.type,m)}this.accept(l)}},setupFullMustacheParams:function(l,m,f,b){var v=l.params;return this.pushParams(v),this.opcode("pushProgram",m),this.opcode("pushProgram",f),l.hash?this.accept(l.hash):this.opcode("emptyHash",b),v},blockParamIndex:function(l){for(var m=0,f=this.options.blockParams.length;m<f;m++){var b=this.options.blockParams[m],v=b&&i.indexOf(b,l);if(b&&v>=0)return[m,v]}}};function c(l,m,f){if(l==null||typeof l!="string"&&l.type!=="Program")throw new n.default("You must pass a string or Handlebars AST to Handlebars.precompile. You passed "+l);m=m||{},"data"in m||(m.data=!0),m.compat&&(m.useDepths=!0);var b=f.parse(l,m),v=new f.Compiler().compile(b,m);return new f.JavaScriptCompiler().compile(v,m)}function d(l,m,f){if(m===void 0&&(m={}),l==null||typeof l!="string"&&l.type!=="Program")throw new n.default("You must pass a string or Handlebars AST to Handlebars.compile. You passed "+l);m=i.extend({},m),"data"in m||(m.data=!0),m.compat&&(m.useDepths=!0);var b=void 0;function v(){var w=f.parse(l,m),k=new f.Compiler().compile(w,m),$=new f.JavaScriptCompiler().compile(k,m,void 0,!0);return f.template($)}function y(w,k){return b||(b=v()),b.call(this,w,k)}return y._setup=function(w){return b||(b=v()),b._setup(w)},y._child=function(w,k,$,x){return b||(b=v()),b._child(w,k,$,x)},y}function h(l,m){if(l===m)return!0;if(i.isArray(l)&&i.isArray(m)&&l.length===m.length){for(var f=0;f<l.length;f++)if(!h(l[f],m[f]))return!1;return!0}}function p(l){if(!l.path.parts){var m=l.path;l.path={type:"PathExpression",data:!1,depth:0,parts:[m.original+""],original:m.original+"",loc:m.loc}}}}),bl=N(t=>{var e="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split("");t.encode=function(r){if(0<=r&&r<e.length)return e[r];throw new TypeError("Must be between 0 and 63: "+r)},t.decode=function(r){var n=65,i=90,a=97,s=122,o=48,u=57,c=43,d=47,h=26,p=52;return n<=r&&r<=i?r-n:a<=r&&r<=s?r-a+h:o<=r&&r<=u?r-o+p:r==c?62:r==d?63:-1}}),wo=N(t=>{var e=bl(),r=5,n=1<<r,i=n-1,a=n;function s(u){return u<0?(-u<<1)+1:(u<<1)+0}function o(u){var c=(u&1)===1,d=u>>1;return c?-d:d}t.encode=function(u){var c="",d,h=s(u);do d=h&i,h>>>=r,h>0&&(d|=a),c+=e.encode(d);while(h>0);return c},t.decode=function(u,c,d){var h=u.length,p=0,l=0,m,f;do{if(c>=h)throw new Error("Expected more digits in base 64 VLQ value.");if(f=e.decode(u.charCodeAt(c++)),f===-1)throw new Error("Invalid base64 digit: "+u.charAt(c-1));m=!!(f&a),f&=i,p=p+(f<<l),l+=r}while(m);d.value=o(p),d.rest=c}}),cr=N(t=>{function e(k,$,x){if($ in k)return k[$];if(arguments.length===3)return x;throw new Error('"'+$+'" is a required argument.')}t.getArg=e;var r=/^(?:([\w+\-.]+):)?\/\/(?:(\w+:\w+)@)?([\w.-]*)(?::(\d+))?(.*)$/,n=/^data:.+\,.+$/;function i(k){var $=k.match(r);return $?{scheme:$[1],auth:$[2],host:$[3],port:$[4],path:$[5]}:null}t.urlParse=i;function a(k){var $="";return k.scheme&&($+=k.scheme+":"),$+="//",k.auth&&($+=k.auth+"@"),k.host&&($+=k.host),k.port&&($+=":"+k.port),k.path&&($+=k.path),$}t.urlGenerate=a;function s(k){var $=k,x=i(k);if(x){if(!x.path)return k;$=x.path}for(var S=t.isAbsolute($),_=$.split(/\/+/),C,A=0,F=_.length-1;F>=0;F--)C=_[F],C==="."?_.splice(F,1):C===".."?A++:A>0&&(C===""?(_.splice(F+1,A),A=0):(_.splice(F,2),A--));return $=_.join("/"),$===""&&($=S?"/":"."),x?(x.path=$,a(x)):$}t.normalize=s;function o(k,$){k===""&&(k="."),$===""&&($=".");var x=i($),S=i(k);if(S&&(k=S.path||"/"),x&&!x.scheme)return S&&(x.scheme=S.scheme),a(x);if(x||$.match(n))return $;if(S&&!S.host&&!S.path)return S.host=$,a(S);var _=$.charAt(0)==="/"?$:s(k.replace(/\/+$/,"")+"/"+$);return S?(S.path=_,a(S)):_}t.join=o,t.isAbsolute=function(k){return k.charAt(0)==="/"||r.test(k)};function u(k,$){k===""&&(k="."),k=k.replace(/\/$/,"");for(var x=0;$.indexOf(k+"/")!==0;){var S=k.lastIndexOf("/");if(S<0||(k=k.slice(0,S),k.match(/^([^\/]+:\/)?\/*$/)))return $;++x}return Array(x+1).join("../")+$.substr(k.length+1)}t.relative=u;var c=(function(){var k=Object.create(null);return!("__proto__"in k)})();function d(k){return k}function h(k){return l(k)?"$"+k:k}t.toSetString=c?d:h;function p(k){return l(k)?k.slice(1):k}t.fromSetString=c?d:p;function l(k){if(!k)return!1;var $=k.length;if($<9||k.charCodeAt($-1)!==95||k.charCodeAt($-2)!==95||k.charCodeAt($-3)!==111||k.charCodeAt($-4)!==116||k.charCodeAt($-5)!==111||k.charCodeAt($-6)!==114||k.charCodeAt($-7)!==112||k.charCodeAt($-8)!==95||k.charCodeAt($-9)!==95)return!1;for(var x=$-10;x>=0;x--)if(k.charCodeAt(x)!==36)return!1;return!0}function m(k,$,x){var S=b(k.source,$.source);return S!==0||(S=k.originalLine-$.originalLine,S!==0)||(S=k.originalColumn-$.originalColumn,S!==0||x)||(S=k.generatedColumn-$.generatedColumn,S!==0)||(S=k.generatedLine-$.generatedLine,S!==0)?S:b(k.name,$.name)}t.compareByOriginalPositions=m;function f(k,$,x){var S=k.generatedLine-$.generatedLine;return S!==0||(S=k.generatedColumn-$.generatedColumn,S!==0||x)||(S=b(k.source,$.source),S!==0)||(S=k.originalLine-$.originalLine,S!==0)||(S=k.originalColumn-$.originalColumn,S!==0)?S:b(k.name,$.name)}t.compareByGeneratedPositionsDeflated=f;function b(k,$){return k===$?0:k===null?1:$===null?-1:k>$?1:-1}function v(k,$){var x=k.generatedLine-$.generatedLine;return x!==0||(x=k.generatedColumn-$.generatedColumn,x!==0)||(x=b(k.source,$.source),x!==0)||(x=k.originalLine-$.originalLine,x!==0)||(x=k.originalColumn-$.originalColumn,x!==0)?x:b(k.name,$.name)}t.compareByGeneratedPositionsInflated=v;function y(k){return JSON.parse(k.replace(/^\)]}'[^\n]*\n/,""))}t.parseSourceMapInput=y;function w(k,$,x){if($=$||"",k&&(k[k.length-1]!=="/"&&$[0]!=="/"&&(k+="/"),$=k+$),x){var S=i(x);if(!S)throw new Error("sourceMapURL could not be parsed");if(S.path){var _=S.path.lastIndexOf("/");_>=0&&(S.path=S.path.substring(0,_+1))}$=o(a(S),$)}return s($)}t.computeSourceURL=w}),$o=N(t=>{var e=cr(),r=Object.prototype.hasOwnProperty,n=typeof Map<"u";function i(){this._array=[],this._set=n?new Map:Object.create(null)}i.fromArray=function(a,s){for(var o=new i,u=0,c=a.length;u<c;u++)o.add(a[u],s);return o},i.prototype.size=function(){return n?this._set.size:Object.getOwnPropertyNames(this._set).length},i.prototype.add=function(a,s){var o=n?a:e.toSetString(a),u=n?this.has(a):r.call(this._set,o),c=this._array.length;(!u||s)&&this._array.push(a),u||(n?this._set.set(a,c):this._set[o]=c)},i.prototype.has=function(a){if(n)return this._set.has(a);var s=e.toSetString(a);return r.call(this._set,s)},i.prototype.indexOf=function(a){if(n){var s=this._set.get(a);if(s>=0)return s}else{var o=e.toSetString(a);if(r.call(this._set,o))return this._set[o]}throw new Error('"'+a+'" is not in the set.')},i.prototype.at=function(a){if(a>=0&&a<this._array.length)return this._array[a];throw new Error("No element indexed by "+a)},i.prototype.toArray=function(){return this._array.slice()},t.ArraySet=i}),yl=N(t=>{var e=cr();function r(i,a){var s=i.generatedLine,o=a.generatedLine,u=i.generatedColumn,c=a.generatedColumn;return o>s||o==s&&c>=u||e.compareByGeneratedPositionsInflated(i,a)<=0}function n(){this._array=[],this._sorted=!0,this._last={generatedLine:-1,generatedColumn:0}}n.prototype.unsortedForEach=function(i,a){this._array.forEach(i,a)},n.prototype.add=function(i){r(this._last,i)?(this._last=i,this._array.push(i)):(this._sorted=!1,this._array.push(i))},n.prototype.toArray=function(){return this._sorted||(this._array.sort(e.compareByGeneratedPositionsInflated),this._sorted=!0),this._array},t.MappingList=n}),Eo=N(t=>{var e=wo(),r=cr(),n=$o().ArraySet,i=yl().MappingList;function a(s){s||(s={}),this._file=r.getArg(s,"file",null),this._sourceRoot=r.getArg(s,"sourceRoot",null),this._skipValidation=r.getArg(s,"skipValidation",!1),this._sources=new n,this._names=new n,this._mappings=new i,this._sourcesContents=null}a.prototype._version=3,a.fromSourceMap=function(s){var o=s.sourceRoot,u=new a({file:s.file,sourceRoot:o});return s.eachMapping(function(c){var d={generated:{line:c.generatedLine,column:c.generatedColumn}};c.source!=null&&(d.source=c.source,o!=null&&(d.source=r.relative(o,d.source)),d.original={line:c.originalLine,column:c.originalColumn},c.name!=null&&(d.name=c.name)),u.addMapping(d)}),s.sources.forEach(function(c){var d=c;o!==null&&(d=r.relative(o,c)),u._sources.has(d)||u._sources.add(d);var h=s.sourceContentFor(c);h!=null&&u.setSourceContent(c,h)}),u},a.prototype.addMapping=function(s){var o=r.getArg(s,"generated"),u=r.getArg(s,"original",null),c=r.getArg(s,"source",null),d=r.getArg(s,"name",null);this._skipValidation||this._validateMapping(o,u,c,d),c!=null&&(c=String(c),this._sources.has(c)||this._sources.add(c)),d!=null&&(d=String(d),this._names.has(d)||this._names.add(d)),this._mappings.add({generatedLine:o.line,generatedColumn:o.column,originalLine:u!=null&&u.line,originalColumn:u!=null&&u.column,source:c,name:d})},a.prototype.setSourceContent=function(s,o){var u=s;this._sourceRoot!=null&&(u=r.relative(this._sourceRoot,u)),o!=null?(this._sourcesContents||(this._sourcesContents=Object.create(null)),this._sourcesContents[r.toSetString(u)]=o):this._sourcesContents&&(delete this._sourcesContents[r.toSetString(u)],Object.keys(this._sourcesContents).length===0&&(this._sourcesContents=null))},a.prototype.applySourceMap=function(s,o,u){var c=o;if(o==null){if(s.file==null)throw new Error(`SourceMapGenerator.prototype.applySourceMap requires either an explicit source file, or the source map's "file" property. Both were omitted.`);c=s.file}var d=this._sourceRoot;d!=null&&(c=r.relative(d,c));var h=new n,p=new n;this._mappings.unsortedForEach(function(l){if(l.source===c&&l.originalLine!=null){var m=s.originalPositionFor({line:l.originalLine,column:l.originalColumn});m.source!=null&&(l.source=m.source,u!=null&&(l.source=r.join(u,l.source)),d!=null&&(l.source=r.relative(d,l.source)),l.originalLine=m.line,l.originalColumn=m.column,m.name!=null&&(l.name=m.name))}var f=l.source;f!=null&&!h.has(f)&&h.add(f);var b=l.name;b!=null&&!p.has(b)&&p.add(b)},this),this._sources=h,this._names=p,s.sources.forEach(function(l){var m=s.sourceContentFor(l);m!=null&&(u!=null&&(l=r.join(u,l)),d!=null&&(l=r.relative(d,l)),this.setSourceContent(l,m))},this)},a.prototype._validateMapping=function(s,o,u,c){if(o&&typeof o.line!="number"&&typeof o.column!="number")throw new Error("original.line and original.column are not numbers -- you probably meant to omit the original mapping entirely and only map the generated position. If so, pass null for the original mapping instead of an object with empty or null values.");if(!(s&&"line"in s&&"column"in s&&s.line>0&&s.column>=0&&!o&&!u&&!c)){if(s&&"line"in s&&"column"in s&&o&&"line"in o&&"column"in o&&s.line>0&&s.column>=0&&o.line>0&&o.column>=0&&u)return;throw new Error("Invalid mapping: "+JSON.stringify({generated:s,source:u,original:o,name:c}))}},a.prototype._serializeMappings=function(){for(var s=0,o=1,u=0,c=0,d=0,h=0,p="",l,m,f,b,v=this._mappings.toArray(),y=0,w=v.length;y<w;y++){if(m=v[y],l="",m.generatedLine!==o)for(s=0;m.generatedLine!==o;)l+=";",o++;else if(y>0){if(!r.compareByGeneratedPositionsInflated(m,v[y-1]))continue;l+=","}l+=e.encode(m.generatedColumn-s),s=m.generatedColumn,m.source!=null&&(b=this._sources.indexOf(m.source),l+=e.encode(b-h),h=b,l+=e.encode(m.originalLine-1-c),c=m.originalLine-1,l+=e.encode(m.originalColumn-u),u=m.originalColumn,m.name!=null&&(f=this._names.indexOf(m.name),l+=e.encode(f-d),d=f)),p+=l}return p},a.prototype._generateSourcesContent=function(s,o){return s.map(function(u){if(!this._sourcesContents)return null;o!=null&&(u=r.relative(o,u));var c=r.toSetString(u);return Object.prototype.hasOwnProperty.call(this._sourcesContents,c)?this._sourcesContents[c]:null},this)},a.prototype.toJSON=function(){var s={version:this._version,sources:this._sources.toArray(),names:this._names.toArray(),mappings:this._serializeMappings()};return this._file!=null&&(s.file=this._file),this._sourceRoot!=null&&(s.sourceRoot=this._sourceRoot),this._sourcesContents&&(s.sourcesContent=this._generateSourcesContent(s.sources,s.sourceRoot)),s},a.prototype.toString=function(){return JSON.stringify(this.toJSON())},t.SourceMapGenerator=a}),vl=N(t=>{t.GREATEST_LOWER_BOUND=1,t.LEAST_UPPER_BOUND=2;function e(r,n,i,a,s,o){var u=Math.floor((n-r)/2)+r,c=s(i,a[u],!0);return c===0?u:c>0?n-u>1?e(u,n,i,a,s,o):o==t.LEAST_UPPER_BOUND?n<a.length?n:-1:u:u-r>1?e(r,u,i,a,s,o):o==t.LEAST_UPPER_BOUND?u:r<0?-1:r}t.search=function(r,n,i,a){if(n.length===0)return-1;var s=e(-1,n.length,r,n,i,a||t.GREATEST_LOWER_BOUND);if(s<0)return-1;for(;s-1>=0&&i(n[s],n[s-1],!0)===0;)--s;return s}}),kl=N(t=>{function e(i,a,s){var o=i[a];i[a]=i[s],i[s]=o}function r(i,a){return Math.round(i+Math.random()*(a-i))}function n(i,a,s,o){if(s<o){var u=r(s,o),c=s-1;e(i,u,o);for(var d=i[o],h=s;h<o;h++)a(i[h],d)<=0&&(c+=1,e(i,c,h));e(i,c+1,h);var p=c+1;n(i,a,s,p-1),n(i,a,p+1,o)}}t.quickSort=function(i,a){n(i,a,0,i.length-1)}}),xl=N(t=>{var e=cr(),r=vl(),n=$o().ArraySet,i=wo(),a=kl().quickSort;function s(d,h){var p=d;return typeof d=="string"&&(p=e.parseSourceMapInput(d)),p.sections!=null?new c(p,h):new o(p,h)}s.fromSourceMap=function(d,h){return o.fromSourceMap(d,h)},s.prototype._version=3,s.prototype.__generatedMappings=null,Object.defineProperty(s.prototype,"_generatedMappings",{configurable:!0,enumerable:!0,get:function(){return this.__generatedMappings||this._parseMappings(this._mappings,this.sourceRoot),this.__generatedMappings}}),s.prototype.__originalMappings=null,Object.defineProperty(s.prototype,"_originalMappings",{configurable:!0,enumerable:!0,get:function(){return this.__originalMappings||this._parseMappings(this._mappings,this.sourceRoot),this.__originalMappings}}),s.prototype._charIsMappingSeparator=function(d,h){var p=d.charAt(h);return p===";"||p===","},s.prototype._parseMappings=function(d,h){throw new Error("Subclasses must implement _parseMappings")},s.GENERATED_ORDER=1,s.ORIGINAL_ORDER=2,s.GREATEST_LOWER_BOUND=1,s.LEAST_UPPER_BOUND=2,s.prototype.eachMapping=function(d,h,p){var l=h||null,m=p||s.GENERATED_ORDER,f;switch(m){case s.GENERATED_ORDER:f=this._generatedMappings;break;case s.ORIGINAL_ORDER:f=this._originalMappings;break;default:throw new Error("Unknown order of iteration.")}var b=this.sourceRoot;f.map(function(v){var y=v.source===null?null:this._sources.at(v.source);return y=e.computeSourceURL(b,y,this._sourceMapURL),{source:y,generatedLine:v.generatedLine,generatedColumn:v.generatedColumn,originalLine:v.originalLine,originalColumn:v.originalColumn,name:v.name===null?null:this._names.at(v.name)}},this).forEach(d,l)},s.prototype.allGeneratedPositionsFor=function(d){var h=e.getArg(d,"line"),p={source:e.getArg(d,"source"),originalLine:h,originalColumn:e.getArg(d,"column",0)};if(p.source=this._findSourceIndex(p.source),p.source<0)return[];var l=[],m=this._findMapping(p,this._originalMappings,"originalLine","originalColumn",e.compareByOriginalPositions,r.LEAST_UPPER_BOUND);if(m>=0){var f=this._originalMappings[m];if(d.column===void 0)for(var b=f.originalLine;f&&f.originalLine===b;)l.push({line:e.getArg(f,"generatedLine",null),column:e.getArg(f,"generatedColumn",null),lastColumn:e.getArg(f,"lastGeneratedColumn",null)}),f=this._originalMappings[++m];else for(var v=f.originalColumn;f&&f.originalLine===h&&f.originalColumn==v;)l.push({line:e.getArg(f,"generatedLine",null),column:e.getArg(f,"generatedColumn",null),lastColumn:e.getArg(f,"lastGeneratedColumn",null)}),f=this._originalMappings[++m]}return l},t.SourceMapConsumer=s;function o(d,h){var p=d;typeof d=="string"&&(p=e.parseSourceMapInput(d));var l=e.getArg(p,"version"),m=e.getArg(p,"sources"),f=e.getArg(p,"names",[]),b=e.getArg(p,"sourceRoot",null),v=e.getArg(p,"sourcesContent",null),y=e.getArg(p,"mappings"),w=e.getArg(p,"file",null);if(l!=this._version)throw new Error("Unsupported version: "+l);b&&(b=e.normalize(b)),m=m.map(String).map(e.normalize).map(function(k){return b&&e.isAbsolute(b)&&e.isAbsolute(k)?e.relative(b,k):k}),this._names=n.fromArray(f.map(String),!0),this._sources=n.fromArray(m,!0),this._absoluteSources=this._sources.toArray().map(function(k){return e.computeSourceURL(b,k,h)}),this.sourceRoot=b,this.sourcesContent=v,this._mappings=y,this._sourceMapURL=h,this.file=w}o.prototype=Object.create(s.prototype),o.prototype.consumer=s,o.prototype._findSourceIndex=function(d){var h=d;if(this.sourceRoot!=null&&(h=e.relative(this.sourceRoot,h)),this._sources.has(h))return this._sources.indexOf(h);var p;for(p=0;p<this._absoluteSources.length;++p)if(this._absoluteSources[p]==d)return p;return-1},o.fromSourceMap=function(d,h){var p=Object.create(o.prototype),l=p._names=n.fromArray(d._names.toArray(),!0),m=p._sources=n.fromArray(d._sources.toArray(),!0);p.sourceRoot=d._sourceRoot,p.sourcesContent=d._generateSourcesContent(p._sources.toArray(),p.sourceRoot),p.file=d._file,p._sourceMapURL=h,p._absoluteSources=p._sources.toArray().map(function(x){return e.computeSourceURL(p.sourceRoot,x,h)});for(var f=d._mappings.toArray().slice(),b=p.__generatedMappings=[],v=p.__originalMappings=[],y=0,w=f.length;y<w;y++){var k=f[y],$=new u;$.generatedLine=k.generatedLine,$.generatedColumn=k.generatedColumn,k.source&&($.source=m.indexOf(k.source),$.originalLine=k.originalLine,$.originalColumn=k.originalColumn,k.name&&($.name=l.indexOf(k.name)),v.push($)),b.push($)}return a(p.__originalMappings,e.compareByOriginalPositions),p},o.prototype._version=3,Object.defineProperty(o.prototype,"sources",{get:function(){return this._absoluteSources.slice()}});function u(){this.generatedLine=0,this.generatedColumn=0,this.source=null,this.originalLine=null,this.originalColumn=null,this.name=null}o.prototype._parseMappings=function(d,h){for(var p=1,l=0,m=0,f=0,b=0,v=0,y=d.length,w=0,k={},$={},x=[],S=[],_,C,A,F,D;w<y;)if(d.charAt(w)===";")p++,w++,l=0;else if(d.charAt(w)===",")w++;else{for(_=new u,_.generatedLine=p,F=w;F<y&&!this._charIsMappingSeparator(d,F);F++);if(C=d.slice(w,F),A=k[C],A)w+=C.length;else{for(A=[];w<F;)i.decode(d,w,$),D=$.value,w=$.rest,A.push(D);if(A.length===2)throw new Error("Found a source, but no line and column");if(A.length===3)throw new Error("Found a source and line, but no column");k[C]=A}_.generatedColumn=l+A[0],l=_.generatedColumn,A.length>1&&(_.source=b+A[1],b+=A[1],_.originalLine=m+A[2],m=_.originalLine,_.originalLine+=1,_.originalColumn=f+A[3],f=_.originalColumn,A.length>4&&(_.name=v+A[4],v+=A[4])),S.push(_),typeof _.originalLine=="number"&&x.push(_)}a(S,e.compareByGeneratedPositionsDeflated),this.__generatedMappings=S,a(x,e.compareByOriginalPositions),this.__originalMappings=x},o.prototype._findMapping=function(d,h,p,l,m,f){if(d[p]<=0)throw new TypeError("Line must be greater than or equal to 1, got "+d[p]);if(d[l]<0)throw new TypeError("Column must be greater than or equal to 0, got "+d[l]);return r.search(d,h,m,f)},o.prototype.computeColumnSpans=function(){for(var d=0;d<this._generatedMappings.length;++d){var h=this._generatedMappings[d];if(d+1<this._generatedMappings.length){var p=this._generatedMappings[d+1];if(h.generatedLine===p.generatedLine){h.lastGeneratedColumn=p.generatedColumn-1;continue}}h.lastGeneratedColumn=1/0}},o.prototype.originalPositionFor=function(d){var h={generatedLine:e.getArg(d,"line"),generatedColumn:e.getArg(d,"column")},p=this._findMapping(h,this._generatedMappings,"generatedLine","generatedColumn",e.compareByGeneratedPositionsDeflated,e.getArg(d,"bias",s.GREATEST_LOWER_BOUND));if(p>=0){var l=this._generatedMappings[p];if(l.generatedLine===h.generatedLine){var m=e.getArg(l,"source",null);m!==null&&(m=this._sources.at(m),m=e.computeSourceURL(this.sourceRoot,m,this._sourceMapURL));var f=e.getArg(l,"name",null);return f!==null&&(f=this._names.at(f)),{source:m,line:e.getArg(l,"originalLine",null),column:e.getArg(l,"originalColumn",null),name:f}}}return{source:null,line:null,column:null,name:null}},o.prototype.hasContentsOfAllSources=function(){return this.sourcesContent?this.sourcesContent.length>=this._sources.size()&&!this.sourcesContent.some(function(d){return d==null}):!1},o.prototype.sourceContentFor=function(d,h){if(!this.sourcesContent)return null;var p=this._findSourceIndex(d);if(p>=0)return this.sourcesContent[p];var l=d;this.sourceRoot!=null&&(l=e.relative(this.sourceRoot,l));var m;if(this.sourceRoot!=null&&(m=e.urlParse(this.sourceRoot))){var f=l.replace(/^file:\/\//,"");if(m.scheme=="file"&&this._sources.has(f))return this.sourcesContent[this._sources.indexOf(f)];if((!m.path||m.path=="/")&&this._sources.has("/"+l))return this.sourcesContent[this._sources.indexOf("/"+l)]}if(h)return null;throw new Error('"'+l+'" is not in the SourceMap.')},o.prototype.generatedPositionFor=function(d){var h=e.getArg(d,"source");if(h=this._findSourceIndex(h),h<0)return{line:null,column:null,lastColumn:null};var p={source:h,originalLine:e.getArg(d,"line"),originalColumn:e.getArg(d,"column")},l=this._findMapping(p,this._originalMappings,"originalLine","originalColumn",e.compareByOriginalPositions,e.getArg(d,"bias",s.GREATEST_LOWER_BOUND));if(l>=0){var m=this._originalMappings[l];if(m.source===p.source)return{line:e.getArg(m,"generatedLine",null),column:e.getArg(m,"generatedColumn",null),lastColumn:e.getArg(m,"lastGeneratedColumn",null)}}return{line:null,column:null,lastColumn:null}},t.BasicSourceMapConsumer=o;function c(d,h){var p=d;typeof d=="string"&&(p=e.parseSourceMapInput(d));var l=e.getArg(p,"version"),m=e.getArg(p,"sections");if(l!=this._version)throw new Error("Unsupported version: "+l);this._sources=new n,this._names=new n;var f={line:-1,column:0};this._sections=m.map(function(b){if(b.url)throw new Error("Support for url field in sections not implemented.");var v=e.getArg(b,"offset"),y=e.getArg(v,"line"),w=e.getArg(v,"column");if(y<f.line||y===f.line&&w<f.column)throw new Error("Section offsets must be ordered and non-overlapping.");return f=v,{generatedOffset:{generatedLine:y+1,generatedColumn:w+1},consumer:new s(e.getArg(b,"map"),h)}})}c.prototype=Object.create(s.prototype),c.prototype.constructor=s,c.prototype._version=3,Object.defineProperty(c.prototype,"sources",{get:function(){for(var d=[],h=0;h<this._sections.length;h++)for(var p=0;p<this._sections[h].consumer.sources.length;p++)d.push(this._sections[h].consumer.sources[p]);return d}}),c.prototype.originalPositionFor=function(d){var h={generatedLine:e.getArg(d,"line"),generatedColumn:e.getArg(d,"column")},p=r.search(h,this._sections,function(m,f){var b=m.generatedLine-f.generatedOffset.generatedLine;return b||m.generatedColumn-f.generatedOffset.generatedColumn}),l=this._sections[p];return l?l.consumer.originalPositionFor({line:h.generatedLine-(l.generatedOffset.generatedLine-1),column:h.generatedColumn-(l.generatedOffset.generatedLine===h.generatedLine?l.generatedOffset.generatedColumn-1:0),bias:d.bias}):{source:null,line:null,column:null,name:null}},c.prototype.hasContentsOfAllSources=function(){return this._sections.every(function(d){return d.consumer.hasContentsOfAllSources()})},c.prototype.sourceContentFor=function(d,h){for(var p=0;p<this._sections.length;p++){var l=this._sections[p],m=l.consumer.sourceContentFor(d,!0);if(m)return m}if(h)return null;throw new Error('"'+d+'" is not in the SourceMap.')},c.prototype.generatedPositionFor=function(d){for(var h=0;h<this._sections.length;h++){var p=this._sections[h];if(p.consumer._findSourceIndex(e.getArg(d,"source"))!==-1){var l=p.consumer.generatedPositionFor(d);if(l){var m={line:l.line+(p.generatedOffset.generatedLine-1),column:l.column+(p.generatedOffset.generatedLine===l.line?p.generatedOffset.generatedColumn-1:0)};return m}}}return{line:null,column:null}},c.prototype._parseMappings=function(d,h){this.__generatedMappings=[],this.__originalMappings=[];for(var p=0;p<this._sections.length;p++)for(var l=this._sections[p],m=l.consumer._generatedMappings,f=0;f<m.length;f++){var b=m[f],v=l.consumer._sources.at(b.source);v=e.computeSourceURL(l.consumer.sourceRoot,v,this._sourceMapURL),this._sources.add(v),v=this._sources.indexOf(v);var y=null;b.name&&(y=l.consumer._names.at(b.name),this._names.add(y),y=this._names.indexOf(y));var w={source:v,generatedLine:b.generatedLine+(l.generatedOffset.generatedLine-1),generatedColumn:b.generatedColumn+(l.generatedOffset.generatedLine===b.generatedLine?l.generatedOffset.generatedColumn-1:0),originalLine:b.originalLine,originalColumn:b.originalColumn,name:y};this.__generatedMappings.push(w),typeof w.originalLine=="number"&&this.__originalMappings.push(w)}a(this.__generatedMappings,e.compareByGeneratedPositionsDeflated),a(this.__originalMappings,e.compareByOriginalPositions)},t.IndexedSourceMapConsumer=c}),wl=N(t=>{var e=Eo().SourceMapGenerator,r=cr(),n=/(\r?\n)/,i=10,a="$$$isSourceNode$$$";function s(o,u,c,d,h){this.children=[],this.sourceContents={},this.line=o??null,this.column=u??null,this.source=c??null,this.name=h??null,this[a]=!0,d!=null&&this.add(d)}s.fromStringWithSourceMap=function(o,u,c){var d=new s,h=o.split(n),p=0,l=function(){var y=k(),w=k()||"";return y+w;function k(){return p<h.length?h[p++]:void 0}},m=1,f=0,b=null;return u.eachMapping(function(y){if(b!==null)if(m<y.generatedLine)v(b,l()),m++,f=0;else{var w=h[p]||"",k=w.substr(0,y.generatedColumn-f);h[p]=w.substr(y.generatedColumn-f),f=y.generatedColumn,v(b,k),b=y;return}for(;m<y.generatedLine;)d.add(l()),m++;if(f<y.generatedColumn){var w=h[p]||"";d.add(w.substr(0,y.generatedColumn)),h[p]=w.substr(y.generatedColumn),f=y.generatedColumn}b=y},this),p<h.length&&(b&&v(b,l()),d.add(h.splice(p).join(""))),u.sources.forEach(function(y){var w=u.sourceContentFor(y);w!=null&&(c!=null&&(y=r.join(c,y)),d.setSourceContent(y,w))}),d;function v(y,w){if(y===null||y.source===void 0)d.add(w);else{var k=c?r.join(c,y.source):y.source;d.add(new s(y.originalLine,y.originalColumn,k,w,y.name))}}},s.prototype.add=function(o){if(Array.isArray(o))o.forEach(function(u){this.add(u)},this);else if(o[a]||typeof o=="string")o&&this.children.push(o);else throw new TypeError("Expected a SourceNode, string, or an array of SourceNodes and strings. Got "+o);return this},s.prototype.prepend=function(o){if(Array.isArray(o))for(var u=o.length-1;u>=0;u--)this.prepend(o[u]);else if(o[a]||typeof o=="string")this.children.unshift(o);else throw new TypeError("Expected a SourceNode, string, or an array of SourceNodes and strings. Got "+o);return this},s.prototype.walk=function(o){for(var u,c=0,d=this.children.length;c<d;c++)u=this.children[c],u[a]?u.walk(o):u!==""&&o(u,{source:this.source,line:this.line,column:this.column,name:this.name})},s.prototype.join=function(o){var u,c,d=this.children.length;if(d>0){for(u=[],c=0;c<d-1;c++)u.push(this.children[c]),u.push(o);u.push(this.children[c]),this.children=u}return this},s.prototype.replaceRight=function(o,u){var c=this.children[this.children.length-1];return c[a]?c.replaceRight(o,u):typeof c=="string"?this.children[this.children.length-1]=c.replace(o,u):this.children.push("".replace(o,u)),this},s.prototype.setSourceContent=function(o,u){this.sourceContents[r.toSetString(o)]=u},s.prototype.walkSourceContents=function(o){for(var u=0,c=this.children.length;u<c;u++)this.children[u][a]&&this.children[u].walkSourceContents(o);for(var d=Object.keys(this.sourceContents),u=0,c=d.length;u<c;u++)o(r.fromSetString(d[u]),this.sourceContents[d[u]])},s.prototype.toString=function(){var o="";return this.walk(function(u){o+=u}),o},s.prototype.toStringWithSourceMap=function(o){var u={code:"",line:1,column:0},c=new e(o),d=!1,h=null,p=null,l=null,m=null;return this.walk(function(f,b){u.code+=f,b.source!==null&&b.line!==null&&b.column!==null?((h!==b.source||p!==b.line||l!==b.column||m!==b.name)&&c.addMapping({source:b.source,original:{line:b.line,column:b.column},generated:{line:u.line,column:u.column},name:b.name}),h=b.source,p=b.line,l=b.column,m=b.name,d=!0):d&&(c.addMapping({generated:{line:u.line,column:u.column}}),h=null,d=!1);for(var v=0,y=f.length;v<y;v++)f.charCodeAt(v)===i?(u.line++,u.column=0,v+1===y?(h=null,d=!1):d&&c.addMapping({source:b.source,original:{line:b.line,column:b.column},generated:{line:u.line,column:u.column},name:b.name})):u.column++}),this.walkSourceContents(function(f,b){c.setSourceContent(f,b)}),{code:u.code,map:c}},t.SourceNode=s}),$l=N(t=>{t.SourceMapGenerator=Eo().SourceMapGenerator,t.SourceMapConsumer=xl().SourceMapConsumer,t.SourceNode=wl().SourceNode}),El=N((t,e)=>{"use strict";t.__esModule=!0;var r=pe(),n=void 0;try{(typeof define!="function"||!define.amd)&&(i=$l(),n=i.SourceNode)}catch{}var i;n||(n=function(o,u,c,d){this.src="",d&&this.add(d)},n.prototype={add:function(o){r.isArray(o)&&(o=o.join("")),this.src+=o},prepend:function(o){r.isArray(o)&&(o=o.join("")),this.src=o+this.src},toStringWithSourceMap:function(){return{code:this.toString()}},toString:function(){return this.src}});function a(o,u,c){if(r.isArray(o)){for(var d=[],h=0,p=o.length;h<p;h++)d.push(u.wrap(o[h],c));return d}else if(typeof o=="boolean"||typeof o=="number")return o+"";return o}function s(o){this.srcFile=o,this.source=[]}s.prototype={isEmpty:function(){return!this.source.length},prepend:function(o,u){this.source.unshift(this.wrap(o,u))},push:function(o,u){this.source.push(this.wrap(o,u))},merge:function(){var o=this.empty();return this.each(function(u){o.add([" ",u,`
11
+ `])}),o},each:function(o){for(var u=0,c=this.source.length;u<c;u++)o(this.source[u])},empty:function(){var o=this.currentLocation||{start:{}};return new n(o.start.line,o.start.column,this.srcFile)},wrap:function(o){var u=arguments.length<=1||arguments[1]===void 0?this.currentLocation||{start:{}}:arguments[1];return o instanceof n?o:(o=a(o,this,u),new n(u.start.line,u.start.column,this.srcFile,o))},functionCall:function(o,u,c){return c=this.generateList(c),this.wrap([o,u?"."+u+"(":"(",c,")"])},quotedString:function(o){return'"'+(o+"").replace(/\\/g,"\\\\").replace(/"/g,'\\"').replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029")+'"'},objectLiteral:function(o){var u=this,c=[];Object.keys(o).forEach(function(h){var p=a(o[h],u);p!=="undefined"&&c.push([u.quotedString(h),":",p])});var d=this.generateList(c);return d.prepend("{"),d.add("}"),d},generateList:function(o){for(var u=this.empty(),c=0,d=o.length;c<d;c++)c&&u.add(","),u.add(a(o[c],this));return u},generateArray:function(o){var u=this.generateList(o);return u.prepend("["),u.add("]"),u}},t.default=s,e.exports=t.default}),Sl=N((t,e)=>{"use strict";t.__esModule=!0;function r(p){return p&&p.__esModule?p:{default:p}}var n=hi(),i=Ee(),a=r(i),s=pe(),o=El(),u=r(o);function c(p){this.value=p}function d(){}d.prototype={nameLookup:function(p,l){return this.internalNameLookup(p,l)},depthedLookup:function(p){return[this.aliasable("container.lookup"),"(depths, ",JSON.stringify(p),")"]},compilerInfo:function(){var p=n.COMPILER_REVISION,l=n.REVISION_CHANGES[p];return[p,l]},appendToBuffer:function(p,l,m){return s.isArray(p)||(p=[p]),p=this.source.wrap(p,l),this.environment.isSimple?["return ",p,";"]:m?["buffer += ",p,";"]:(p.appendToBuffer=!0,p)},initializeBuffer:function(){return this.quotedString("")},internalNameLookup:function(p,l){return this.lookupPropertyFunctionIsUsed=!0,["lookupProperty(",p,",",JSON.stringify(l),")"]},lookupPropertyFunctionIsUsed:!1,compile:function(p,l,m,f){this.environment=p,this.options=l,this.stringParams=this.options.stringParams,this.trackIds=this.options.trackIds,this.precompile=!f,this.name=this.environment.name,this.isChild=!!m,this.context=m||{decorators:[],programs:[],environments:[]},this.preamble(),this.stackSlot=0,this.stackVars=[],this.aliases={},this.registers={list:[]},this.hashes=[],this.compileStack=[],this.inlineStack=[],this.blockParams=[],this.compileChildren(p,l),this.useDepths=this.useDepths||p.useDepths||p.useDecorators||this.options.compat,this.useBlockParams=this.useBlockParams||p.useBlockParams;var b=p.opcodes,v=void 0,y=void 0,w=void 0,k=void 0;for(w=0,k=b.length;w<k;w++)v=b[w],this.source.currentLocation=v.loc,y=y||v.loc,this[v.opcode].apply(this,v.args);if(this.source.currentLocation=y,this.pushSource(""),this.stackSlot||this.inlineStack.length||this.compileStack.length)throw new a.default("Compile completed with content left on stack");this.decorators.isEmpty()?this.decorators=void 0:(this.useDecorators=!0,this.decorators.prepend(["var decorators = container.decorators, ",this.lookupPropertyFunctionVarDeclaration(),`;
12
12
  `]),this.decorators.push("return fn;"),f?this.decorators=Function.apply(this,["fn","props","container","depth0","data","blockParams","depths",this.decorators.merge()]):(this.decorators.prepend(`function(fn, props, container, depth0, data, blockParams, depths) {
13
13
  `),this.decorators.push(`}
14
- `),this.decorators=this.decorators.merge()));var $=this.createFunctionContext(f);if(this.isChild)return $;var x={compiler:this.compilerInfo(),main:$};this.decorators&&(x.main_d=this.decorators,x.useDecorators=!0);var S=this.context,_=S.programs,A=S.decorators;for(w=0,k=_.length;w<k;w++)x[w]=_[w],A[w]&&(x[w+"_d"]=A[w],x.useDecorators=!0);return this.environment.usePartial&&(x.usePartial=!0),this.options.data&&(x.useData=!0),this.useDepths&&(x.useDepths=!0),this.useBlockParams&&(x.useBlockParams=!0),this.options.compat&&(x.compat=!0),f?x.compilerOptions=this.options:(x.compiler=JSON.stringify(x.compiler),this.source.currentLocation={start:{line:1,column:0}},x=this.objectLiteral(x),l.srcName?(x=x.toStringWithSourceMap({file:l.destName}),x.map=x.map&&x.map.toString()):x=x.toString()),x},preamble:function(){this.lastContext=0,this.source=new u.default(this.options.srcName),this.decorators=new u.default(this.options.srcName)},createFunctionContext:function(p){var l=this,m="",f=this.stackVars.concat(this.registers.list);f.length>0&&(m+=", "+f.join(", "));var b=0;Object.keys(this.aliases).forEach(function(w){var k=l.aliases[w];k.children&&k.referenceCount>1&&(m+=", alias"+ ++b+"="+w,k.children[0]="alias"+b)}),this.lookupPropertyFunctionIsUsed&&(m+=", "+this.lookupPropertyFunctionVarDeclaration());var v=["container","depth0","helpers","partials","data"];(this.useBlockParams||this.useDepths)&&v.push("blockParams"),this.useDepths&&v.push("depths");var y=this.mergeSource(m);return p?(v.push(y),Function.apply(this,v)):this.source.wrap(["function(",v.join(","),`) {
14
+ `),this.decorators=this.decorators.merge()));var $=this.createFunctionContext(f);if(this.isChild)return $;var x={compiler:this.compilerInfo(),main:$};this.decorators&&(x.main_d=this.decorators,x.useDecorators=!0);var S=this.context,_=S.programs,C=S.decorators;for(w=0,k=_.length;w<k;w++)x[w]=_[w],C[w]&&(x[w+"_d"]=C[w],x.useDecorators=!0);return this.environment.usePartial&&(x.usePartial=!0),this.options.data&&(x.useData=!0),this.useDepths&&(x.useDepths=!0),this.useBlockParams&&(x.useBlockParams=!0),this.options.compat&&(x.compat=!0),f?x.compilerOptions=this.options:(x.compiler=JSON.stringify(x.compiler),this.source.currentLocation={start:{line:1,column:0}},x=this.objectLiteral(x),l.srcName?(x=x.toStringWithSourceMap({file:l.destName}),x.map=x.map&&x.map.toString()):x=x.toString()),x},preamble:function(){this.lastContext=0,this.source=new u.default(this.options.srcName),this.decorators=new u.default(this.options.srcName)},createFunctionContext:function(p){var l=this,m="",f=this.stackVars.concat(this.registers.list);f.length>0&&(m+=", "+f.join(", "));var b=0;Object.keys(this.aliases).forEach(function(w){var k=l.aliases[w];k.children&&k.referenceCount>1&&(m+=", alias"+ ++b+"="+w,k.children[0]="alias"+b)}),this.lookupPropertyFunctionIsUsed&&(m+=", "+this.lookupPropertyFunctionVarDeclaration());var v=["container","depth0","helpers","partials","data"];(this.useBlockParams||this.useDepths)&&v.push("blockParams"),this.useDepths&&v.push("depths");var y=this.mergeSource(m);return p?(v.push(y),Function.apply(this,v)):this.source.wrap(["function(",v.join(","),`) {
15
15
  `,y,"}"])},mergeSource:function(p){var l=this.environment.isSimple,m=!this.forceBuffer,f=void 0,b=void 0,v=void 0,y=void 0;return this.source.each(function(w){w.appendToBuffer?(v?w.prepend(" + "):v=w,y=w):(v&&(b?v.prepend("buffer += "):f=!0,y.add(";"),v=y=void 0),b=!0,l||(m=!1))}),m?v?(v.prepend("return "),y.add(";")):b||this.source.push('return "";'):(p+=", buffer = "+(f?"":this.initializeBuffer()),v?(v.prepend("return buffer + "),y.add(";")):this.source.push("return buffer;")),p&&this.source.prepend("var "+p.substring(2)+(f?"":`;
16
16
  `)),this.source.merge()},lookupPropertyFunctionVarDeclaration:function(){return`
17
17
  lookupProperty = container.lookupProperty || function(parent, propertyName) {
@@ -20,18 +20,18 @@ Expecting `+V.join(", ")+", got '"+(this.terminals_[x]||x)+"'":Y="Parse error on
20
20
  }
21
21
  return undefined
22
22
  }
23
- `.trim()},blockValue:function(p){var l=this.aliasable("container.hooks.blockHelperMissing"),m=[this.contextName(0)];this.setupHelperArgs(p,0,m);var f=this.popStack();m.splice(1,0,f),this.push(this.source.functionCall(l,"call",m))},ambiguousBlockValue:function(){var p=this.aliasable("container.hooks.blockHelperMissing"),l=[this.contextName(0)];this.setupHelperArgs("",0,l,!0),this.flushInline();var m=this.topStack();l.splice(1,0,m),this.pushSource(["if (!",this.lastHelper,") { ",m," = ",this.source.functionCall(p,"call",l),"}"])},appendContent:function(p){this.pendingContent?p=this.pendingContent+p:this.pendingLocation=this.source.currentLocation,this.pendingContent=p},append:function(){if(this.isInline())this.replaceStack(function(l){return[" != null ? ",l,' : ""']}),this.pushSource(this.appendToBuffer(this.popStack()));else{var p=this.popStack();this.pushSource(["if (",p," != null) { ",this.appendToBuffer(p,void 0,!0)," }"]),this.environment.isSimple&&this.pushSource(["else { ",this.appendToBuffer("''",void 0,!0)," }"])}},appendEscaped:function(){this.pushSource(this.appendToBuffer([this.aliasable("container.escapeExpression"),"(",this.popStack(),")"]))},getContext:function(p){this.lastContext=p},pushContext:function(){this.pushStackLiteral(this.contextName(this.lastContext))},lookupOnContext:function(p,l,m,f){var b=0;!f&&this.options.compat&&!this.lastContext?this.push(this.depthedLookup(p[b++])):this.pushContext(),this.resolvePath("context",p,b,l,m)},lookupBlockParam:function(p,l){this.useBlockParams=!0,this.push(["blockParams[",p[0],"][",p[1],"]"]),this.resolvePath("context",l,1)},lookupData:function(p,l,m){p?this.pushStackLiteral("container.data(data, "+p+")"):this.pushStackLiteral("data"),this.resolvePath("data",l,0,!0,m)},resolvePath:function(p,l,m,f,b){var v=this;if(this.options.strict||this.options.assumeObjects){this.push(h(this.options.strict&&b,this,l,m,p));return}for(var y=l.length,w=function($){v.replaceStack(function(x){var S=v.nameLookup(x,l[$],p);return f?[" && ",S]:[" != null ? ",S," : ",x]})},k=m;k<y;k++)w(k)},resolvePossibleLambda:function(){this.push([this.aliasable("container.lambda"),"(",this.popStack(),", ",this.contextName(0),")"])},pushStringParam:function(p,l){this.pushContext(),this.pushString(l),l!=="SubExpression"&&(typeof p=="string"?this.pushString(p):this.pushStackLiteral(p))},emptyHash:function(p){this.trackIds&&this.push("{}"),this.stringParams&&(this.push("{}"),this.push("{}")),this.pushStackLiteral(p?"undefined":"{}")},pushHash:function(){this.hash&&this.hashes.push(this.hash),this.hash={values:{},types:[],contexts:[],ids:[]}},popHash:function(){var p=this.hash;this.hash=this.hashes.pop(),this.trackIds&&this.push(this.objectLiteral(p.ids)),this.stringParams&&(this.push(this.objectLiteral(p.contexts)),this.push(this.objectLiteral(p.types))),this.push(this.objectLiteral(p.values))},pushString:function(p){this.pushStackLiteral(this.quotedString(p))},pushLiteral:function(p){this.pushStackLiteral(p)},pushProgram:function(p){p!=null?this.pushStackLiteral(this.programExpression(p)):this.pushStackLiteral(null)},registerDecorator:function(p,l){var m=this.nameLookup("decorators",l,"decorator"),f=this.setupHelperArgs(l,p);this.decorators.push(["var decorator = ",m,";"]),this.decorators.push(['if (typeof decorator !== "function") { throw new Error(',this.quotedString('Missing decorator: "'+l+'"'),"); }"]),this.decorators.push(["fn = ",this.decorators.functionCall("decorator","",["fn","props","container",f])," || fn;"])},invokeHelper:function(p,l,m){var f=this.popStack(),b=this.setupHelper(p,l),v=[];m&&v.push(b.name),v.push(f),this.options.strict||v.push(this.aliasable("container.hooks.helperMissing"));var y=["(",this.itemsSeparatedBy(v,"||"),")"],w=this.source.functionCall(y,"call",b.callParams);this.push(w)},itemsSeparatedBy:function(p,l){var m=[];m.push(p[0]);for(var f=1;f<p.length;f++)m.push(l,p[f]);return m},invokeKnownHelper:function(p,l){var m=this.setupHelper(p,l);this.push(this.source.functionCall(m.name,"call",m.callParams))},invokeAmbiguous:function(p,l){this.useRegister("helper");var m=this.popStack();this.emptyHash();var f=this.setupHelper(0,p,l),b=this.lastHelper=this.nameLookup("helpers",p,"helper"),v=["(","(helper = ",b," || ",m,")"];this.options.strict||(v[0]="(helper = ",v.push(" != null ? helper : ",this.aliasable("container.hooks.helperMissing"))),this.push(["(",v,f.paramsInit?["),(",f.paramsInit]:[],"),","(typeof helper === ",this.aliasable('"function"')," ? ",this.source.functionCall("helper","call",f.callParams)," : helper))"])},invokePartial:function(p,l,m){var f=[],b=this.setupParams(l,1,f);p&&(l=this.popStack(),delete b.name),m&&(b.indent=JSON.stringify(m)),b.helpers="helpers",b.partials="partials",b.decorators="container.decorators",p?f.unshift(l):f.unshift(this.nameLookup("partials",l,"partial")),this.options.compat&&(b.depths="depths"),b=this.objectLiteral(b),f.push(b),this.push(this.source.functionCall("container.invokePartial","",f))},assignToHash:function(p){var l=this.popStack(),m=void 0,f=void 0,b=void 0;this.trackIds&&(b=this.popStack()),this.stringParams&&(f=this.popStack(),m=this.popStack());var v=this.hash;m&&(v.contexts[p]=m),f&&(v.types[p]=f),b&&(v.ids[p]=b),v.values[p]=l},pushId:function(p,l,m){p==="BlockParam"?this.pushStackLiteral("blockParams["+l[0]+"].path["+l[1]+"]"+(m?" + "+JSON.stringify("."+m):"")):p==="PathExpression"?this.pushString(l):p==="SubExpression"?this.pushStackLiteral("true"):this.pushStackLiteral("null")},compiler:d,compileChildren:function(p,l){for(var m=p.children,f=void 0,b=void 0,v=0,y=m.length;v<y;v++){f=m[v],b=new this.compiler;var w=this.matchExistingProgram(f);if(w==null){var k=this.context.programs.push("")-1;f.index=k,f.name="program"+k,this.context.programs[k]=b.compile(f,l,this.context,!this.precompile),this.context.decorators[k]=b.decorators,this.context.environments[k]=f,this.useDepths=this.useDepths||b.useDepths,this.useBlockParams=this.useBlockParams||b.useBlockParams,f.useDepths=this.useDepths,f.useBlockParams=this.useBlockParams}else f.index=w.index,f.name="program"+w.index,this.useDepths=this.useDepths||w.useDepths,this.useBlockParams=this.useBlockParams||w.useBlockParams}},matchExistingProgram:function(p){for(var l=0,m=this.context.environments.length;l<m;l++){var f=this.context.environments[l];if(f&&f.equals(p))return f}},programExpression:function(p){var l=this.environment.children[p],m=[l.index,"data",l.blockParams];return(this.useBlockParams||this.useDepths)&&m.push("blockParams"),this.useDepths&&m.push("depths"),"container.program("+m.join(", ")+")"},useRegister:function(p){this.registers[p]||(this.registers[p]=!0,this.registers.list.push(p))},push:function(p){return p instanceof c||(p=this.source.wrap(p)),this.inlineStack.push(p),p},pushStackLiteral:function(p){this.push(new c(p))},pushSource:function(p){this.pendingContent&&(this.source.push(this.appendToBuffer(this.source.quotedString(this.pendingContent),this.pendingLocation)),this.pendingContent=void 0),p&&this.source.push(p)},replaceStack:function(p){var l=["("],m=void 0,f=void 0,b=void 0;if(!this.isInline())throw new a.default("replaceStack on non-inline");var v=this.popStack(!0);if(v instanceof c)m=[v.value],l=["(",m],b=!0;else{f=!0;var y=this.incrStack();l=["((",this.push(y)," = ",v,")"],m=this.topStack()}var w=p.call(this,m);b||this.popStack(),f&&this.stackSlot--,this.push(l.concat(w,")"))},incrStack:function(){return this.stackSlot++,this.stackSlot>this.stackVars.length&&this.stackVars.push("stack"+this.stackSlot),this.topStackName()},topStackName:function(){return"stack"+this.stackSlot},flushInline:function(){var p=this.inlineStack;this.inlineStack=[];for(var l=0,m=p.length;l<m;l++){var f=p[l];if(f instanceof c)this.compileStack.push(f);else{var b=this.incrStack();this.pushSource([b," = ",f,";"]),this.compileStack.push(b)}}},isInline:function(){return this.inlineStack.length},popStack:function(p){var l=this.isInline(),m=(l?this.inlineStack:this.compileStack).pop();if(!p&&m instanceof c)return m.value;if(!l){if(!this.stackSlot)throw new a.default("Invalid stack pop");this.stackSlot--}return m},topStack:function(){var p=this.isInline()?this.inlineStack:this.compileStack,l=p[p.length-1];return l instanceof c?l.value:l},contextName:function(p){return this.useDepths&&p?"depths["+p+"]":"depth"+p},quotedString:function(p){return this.source.quotedString(p)},objectLiteral:function(p){return this.source.objectLiteral(p)},aliasable:function(p){var l=this.aliases[p];return l?(l.referenceCount++,l):(l=this.aliases[p]=this.source.wrap(p),l.aliasable=!0,l.referenceCount=1,l)},setupHelper:function(p,l,m){var f=[],b=this.setupHelperArgs(l,p,f,m),v=this.nameLookup("helpers",l,"helper"),y=this.aliasable(this.contextName(0)+" != null ? "+this.contextName(0)+" : (container.nullContext || {})");return{params:f,paramsInit:b,name:v,callParams:[y].concat(f)}},setupParams:function(p,l,m){var f={},b=[],v=[],y=[],w=!m,k=void 0;w&&(m=[]),f.name=this.quotedString(p),f.hash=this.popStack(),this.trackIds&&(f.hashIds=this.popStack()),this.stringParams&&(f.hashTypes=this.popStack(),f.hashContexts=this.popStack());var $=this.popStack(),x=this.popStack();(x||$)&&(f.fn=x||"container.noop",f.inverse=$||"container.noop");for(var S=l;S--;)k=this.popStack(),m[S]=k,this.trackIds&&(y[S]=this.popStack()),this.stringParams&&(v[S]=this.popStack(),b[S]=this.popStack());return w&&(f.args=this.source.generateArray(m)),this.trackIds&&(f.ids=this.source.generateArray(y)),this.stringParams&&(f.types=this.source.generateArray(v),f.contexts=this.source.generateArray(b)),this.options.data&&(f.data="data"),this.useBlockParams&&(f.blockParams="blockParams"),f},setupHelperArgs:function(p,l,m,f){var b=this.setupParams(p,l,m);return b.loc=JSON.stringify(this.source.currentLocation),b=this.objectLiteral(b),f?(this.useRegister("options"),m.push("options"),["options=",b]):m?(m.push(b),""):b}},(function(){for(var p="break else new var case finally return void catch for switch while continue function this with default if throw delete in try do instanceof typeof abstract enum int short boolean export interface static byte extends long super char final native synchronized class float package throws const goto private transient debugger implements protected volatile double import public let yield await null true false".split(" "),l=d.RESERVED_WORDS={},m=0,f=p.length;m<f;m++)l[p[m]]=!0})(),d.isValidJavaScriptVariableName=function(p){return!d.RESERVED_WORDS[p]&&/^[a-zA-Z_$][0-9a-zA-Z_$]*$/.test(p)};function h(p,l,m,f,b){var v=l.popStack(),y=m.length;p&&y--;for(var w=f;w<y;w++)v=l.nameLookup(v,m[w],b);return p?[l.aliasable("container.strict"),"(",v,", ",l.quotedString(m[y]),", ",JSON.stringify(l.source.currentLocation)," )"]:v}t.default=d,e.exports=t.default}),Sl=N((t,e)=>{"use strict";t.__esModule=!0;function r(y){return y&&y.__esModule?y:{default:y}}var n=cl(),i=r(n),a=ko(),s=r(a),o=fl(),u=ml(),c=El(),d=r(c),h=hi(),p=r(h),l=vo(),m=r(l),f=i.default.create;function b(){var y=f();return y.compile=function(w,k){return u.compile(w,k,y)},y.precompile=function(w,k){return u.precompile(w,k,y)},y.AST=s.default,y.Compiler=u.Compiler,y.JavaScriptCompiler=d.default,y.Parser=o.parser,y.parse=o.parse,y.parseWithoutProcessing=o.parseWithoutProcessing,y}var v=b();v.create=b,m.default(v),v.Visitor=p.default,v.default=v,t.default=v,e.exports=t.default}),_l=N(t=>{"use strict";t.__esModule=!0,t.print=i,t.PrintVisitor=a;function e(s){return s&&s.__esModule?s:{default:s}}var r=hi(),n=e(r);function i(s){return new a().accept(s)}function a(){this.padding=0}a.prototype=new n.default,a.prototype.pad=function(s){for(var o="",u=0,c=this.padding;u<c;u++)o+=" ";return o+=s+`
24
- `,o},a.prototype.Program=function(s){var o="",u=s.body,c=void 0,d=void 0;if(s.blockParams){var h="BLOCK PARAMS: [";for(c=0,d=s.blockParams.length;c<d;c++)h+=" "+s.blockParams[c];h+=" ]",o+=this.pad(h)}for(c=0,d=u.length;c<d;c++)o+=this.accept(u[c]);return this.padding--,o},a.prototype.MustacheStatement=function(s){return this.pad("{{ "+this.SubExpression(s)+" }}")},a.prototype.Decorator=function(s){return this.pad("{{ DIRECTIVE "+this.SubExpression(s)+" }}")},a.prototype.BlockStatement=a.prototype.DecoratorBlock=function(s){var o="";return o+=this.pad((s.type==="DecoratorBlock"?"DIRECTIVE ":"")+"BLOCK:"),this.padding++,o+=this.pad(this.SubExpression(s)),s.program&&(o+=this.pad("PROGRAM:"),this.padding++,o+=this.accept(s.program),this.padding--),s.inverse&&(s.program&&this.padding++,o+=this.pad("{{^}}"),this.padding++,o+=this.accept(s.inverse),this.padding--,s.program&&this.padding--),this.padding--,o},a.prototype.PartialStatement=function(s){var o="PARTIAL:"+s.name.original;return s.params[0]&&(o+=" "+this.accept(s.params[0])),s.hash&&(o+=" "+this.accept(s.hash)),this.pad("{{> "+o+" }}")},a.prototype.PartialBlockStatement=function(s){var o="PARTIAL BLOCK:"+s.name.original;return s.params[0]&&(o+=" "+this.accept(s.params[0])),s.hash&&(o+=" "+this.accept(s.hash)),o+=" "+this.pad("PROGRAM:"),this.padding++,o+=this.accept(s.program),this.padding--,this.pad("{{> "+o+" }}")},a.prototype.ContentStatement=function(s){return this.pad("CONTENT[ '"+s.value+"' ]")},a.prototype.CommentStatement=function(s){return this.pad("{{! '"+s.value+"' }}")},a.prototype.SubExpression=function(s){for(var o=s.params,u=[],c=void 0,d=0,h=o.length;d<h;d++)u.push(this.accept(o[d]));return o="["+u.join(", ")+"]",c=s.hash?" "+this.accept(s.hash):"",this.accept(s.path)+" "+o+c},a.prototype.PathExpression=function(s){var o=s.parts.join("/");return(s.data?"@":"")+"PATH:"+o},a.prototype.StringLiteral=function(s){return'"'+s.value+'"'},a.prototype.NumberLiteral=function(s){return"NUMBER{"+s.value+"}"},a.prototype.BooleanLiteral=function(s){return"BOOLEAN{"+s.value+"}"},a.prototype.UndefinedLiteral=function(){return"UNDEFINED"},a.prototype.NullLiteral=function(){return"NULL"},a.prototype.Hash=function(s){for(var o=s.pairs,u=[],c=0,d=o.length;c<d;c++)u.push(this.accept(o[c]));return"HASH{"+u.join(", ")+"}"},a.prototype.HashPair=function(s){return s.key+"="+this.accept(s.value)}}),Eo=N((t,e)=>{var r=Sl().default,n=_l();r.PrintVisitor=n.PrintVisitor,r.print=n.print,e.exports=r;function i(a,s){var o=jt("fs"),u=o.readFileSync(s,"utf8");a.exports=r.compile(u)}typeof jt<"u"&&jt.extensions&&(jt.extensions[".handlebars"]=i,jt.extensions[".hbs"]=i)}),Cl=N(t=>{"use strict";function e(r,n){r==null&&(r={});for(var i={},a=Object.keys(n),s=0,o=a.length;s<o;s++){var u=a[s];i[u]=r[u]||n[u]}return i}t.defaults=e}),Al=N((t,e)=>{e.exports={useLongScale:!1,baseSeparator:"-",unitSeparator:"and ",base:{0:"zero",1:"one",2:"two",3:"three",4:"four",5:"five",6:"six",7:"seven",8:"eight",9:"nine",10:"ten",11:"eleven",12:"twelve",13:"thirteen",14:"fourteen",15:"fifteen",16:"sixteen",17:"seventeen",18:"eighteen",19:"nineteen",20:"twenty",30:"thirty",40:"forty",50:"fifty",60:"sixty",70:"seventy",80:"eighty",90:"ninety"},units:["hundred","thousand","million","billion","trillion","quadrillion","quintillion","sextillion","septillion","octillion","nonillion","decillion","undecillion","duodecillion","tredecillion","quattuordecillion","quindecillion"],unitExceptions:[]}}),Dl=N((t,e)=>{e.exports={useLongScale:!0,baseSeparator:" y ",unitSeparator:"",base:{0:"cero",1:"uno",2:"dos",3:"tres",4:"cuatro",5:"cinco",6:"seis",7:"siete",8:"ocho",9:"nueve",10:"diez",11:"once",12:"doce",13:"trece",14:"catorce",15:"quince",16:"diecis\xE9is",17:"diecisiete",18:"dieciocho",19:"diecinueve",20:"veinte",21:"veintiuno",22:"veintid\xF3s",23:"veintitr\xE9s",24:"veinticuatro",25:"veinticinco",26:"veintis\xE9is",27:"veintisiete",28:"veintiocho",29:"veintinueve",30:"treinta",40:"cuarenta",50:"cincuenta",60:"sesenta",70:"setenta",80:"ochenta",90:"noventa",100:"cien",200:"doscientos",300:"trescientos",400:"cuatrocientos",500:"quinientos",600:"seiscientos",700:"setecientos",800:"ochocientos",900:"novecientos",1e3:"mil"},unitExceptions:{1e6:"un mill\xF3n","1000000000000":"un bill\xF3n","1000000000000000000":"un trill\xF3n","1000000000000000000000000":"un cuatrillones","1000000000000000000000000000000":"un quintill\xF3n","1000000000000000000000000000000000000":"un sextill\xF3n","1000000000000000000000000000000000000000000":"un septill\xF3n","1000000000000000000000000000000000000000000000000":"un octill\xF3n","1000000000000000000000000000000000000000000000000000000":"un nonill\xF3n","1000000000000000000000000000000000000000000000000000000000000":"un decill\xF3n","1000000000000000000000000000000000000000000000000000000000000000000":"un undecill\xF3n","1000000000000000000000000000000000000000000000000000000000000000000000000":"un duodecill\xF3n","1000000000000000000000000000000000000000000000000000000000000000000000000000000":"un tredecill\xF3n","1000000000000000000000000000000000000000000000000000000000000000000000000000000000000":"un cuatordecill\xF3n","1000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000":"un quindecill\xF3n"},units:[{singular:"ciento",useBaseInstead:!0,useBaseException:[1],useBaseExceptionWhenNoTrailingNumbers:!0},{singular:"mil",avoidPrefixException:[1]},{singular:"mill\xF3n",plural:"millones"},{singular:"bill\xF3n",plural:"billones"},{singular:"trill\xF3n",plural:"trillones"},{singular:"cuatrill\xF3n",plural:"cuatrillones"},{singular:"quintill\xF3n",plural:"quintillones"},{singular:"sextill\xF3n",plural:"sextillones"},{singular:"septill\xF3n",plural:"septillones"},{singular:"octill\xF3n",plural:"octillones"},{singular:"nonill\xF3n",plural:"nonillones"},{singular:"decill\xF3n",plural:"decillones"},{singular:"undecill\xF3n",plural:"undecillones"},{singular:"duodecill\xF3n",plural:"duodecillones"},{singular:"tredecill\xF3n",plural:"tredecillones"},{singular:"cuatrodecill\xF3n",plural:"cuatrodecillones"},{singular:"quindecill\xF3n",plural:"quindecillones"}]}}),Ol=N((t,e)=>{e.exports={useLongScale:!1,baseSeparator:"",unitSeparator:"",allSeparator:"\u0648",base:{0:"\u0635\u0641\u0631",1:"\u0648\u0627\u062D\u062F",2:"\u0627\u062B\u0646\u0627\u0646",3:"\u062B\u0644\u0627\u062B\u0629",4:"\u0623\u0631\u0628\u0639\u0629",5:"\u062E\u0645\u0633\u0629",6:"\u0633\u062A\u0629",7:"\u0633\u0628\u0639\u0629",8:"\u062B\u0645\u0627\u0646\u064A\u0629",9:"\u062A\u0633\u0639\u0629",10:"\u0639\u0634\u0631\u0629",11:"\u0623\u062D\u062F \u0639\u0634\u0631",12:"\u0625\u062B\u0646\u0627 \u0639\u0634\u0631",13:"\u062B\u0644\u0627\u062B\u0629 \u0639\u0634\u0631",14:"\u0623\u0631\u0628\u0639\u0629 \u0639\u0634\u0631",15:"\u062E\u0645\u0633\u0629 \u0639\u0634\u0631",16:"\u0633\u062A\u0629 \u0639\u0634\u0631",17:"\u0633\u0628\u0639\u0629 \u0639\u0634\u0631",18:"\u062B\u0645\u0627\u0646\u064A\u0629 \u0639\u0634\u0631",19:"\u062A\u0633\u0639\u0629 \u0639\u0634\u0631",20:"\u0639\u0634\u0631\u0648\u0646",21:"\u0648\u0627\u062D\u062F \u0648\u0639\u0634\u0631\u0648\u0646",22:"\u0627\u062B\u0646\u0627\u0646 \u0648\u0639\u0634\u0631\u0648\u0646",23:"\u062B\u0644\u0627\u062B\u0629 \u0648\u0639\u0634\u0631\u0648\u0646",24:"\u0623\u0631\u0628\u0639\u0629 \u0648\u0639\u0634\u0631\u0648\u0646",25:"\u062E\u0645\u0633\u0629 \u0648\u0639\u0634\u0631\u0648\u0646",26:"\u0633\u062A\u0629 \u0648\u0639\u0634\u0631\u0648\u0646",27:"\u0633\u0628\u0639\u0629 \u0648\u0639\u0634\u0631\u0648\u0646",28:"\u062B\u0645\u0627\u0646\u064A\u0629 \u0648\u0639\u0634\u0631\u0648\u0646",29:"\u062A\u0633\u0639\u0629 \u0648\u0639\u0634\u0631\u0648\u0646",30:"\u062B\u0644\u0627\u062B\u0648\u0646",31:"\u0648\u0627\u062D\u062F \u0648\u062B\u0644\u0627\u062B\u0648\u0646",32:"\u0627\u062B\u0646\u0627\u0646 \u0648\u062B\u0644\u0627\u062B\u0648\u0646",33:"\u062B\u0644\u0627\u062B\u0629 \u0648\u062B\u0644\u0627\u062B\u0648\u0646",34:"\u0623\u0631\u0628\u0639\u0629 \u0648\u062B\u0644\u0627\u062B\u0648\u0646",35:"\u062E\u0645\u0633\u0629 \u0648\u062B\u0644\u0627\u062B\u0648\u0646",36:"\u0633\u062A\u0629 \u0648\u062B\u0644\u0627\u062B\u0648\u0646",37:"\u0633\u0628\u0639\u0629 \u0648\u062B\u0644\u0627\u062B\u0648\u0646",38:"\u062B\u0645\u0627\u0646\u064A\u0629 \u0648\u062B\u0644\u0627\u062B\u0648\u0646",39:"\u062A\u0633\u0639\u0629 \u0648\u062B\u0644\u0627\u062B\u0648\u0646",40:"\u0623\u0631\u0628\u0639\u0648\u0646",41:"\u0648\u0627\u062D\u062F \u0648\u0623\u0631\u0628\u0639\u0648\u0646",42:"\u0627\u062B\u0646\u0627\u0646 \u0648\u0623\u0631\u0628\u0639\u0648\u0646",43:"\u062B\u0644\u0627\u062B\u0629 \u0648\u0623\u0631\u0628\u0639\u0648\u0646",44:"\u0623\u0631\u0628\u0639\u0629 \u0648\u0623\u0631\u0628\u0639\u0648\u0646",45:"\u062E\u0645\u0633\u0629 \u0648\u0623\u0631\u0628\u0639\u0648\u0646",46:"\u0633\u062A\u0629 \u0648\u0623\u0631\u0628\u0639\u0648\u0646",47:"\u0633\u0628\u0639\u0629 \u0648\u0623\u0631\u0628\u0639\u0648\u0646",48:"\u062B\u0645\u0627\u0646\u064A\u0629 \u0648\u0623\u0631\u0628\u0639\u0648\u0646",49:"\u062A\u0633\u0639\u0629 \u0648\u0623\u0631\u0628\u0639\u0648\u0646",50:"\u062E\u0645\u0633\u0648\u0646",51:"\u0648\u0627\u062D\u062F \u0648\u062E\u0645\u0633\u0648\u0646",52:"\u0627\u062B\u0646\u0627\u0646 \u0648\u062E\u0645\u0633\u0648\u0646",53:"\u062B\u0644\u0627\u062B\u0629 \u0648\u062E\u0645\u0633\u0648\u0646",54:"\u0623\u0631\u0628\u0639\u0629 \u0648\u062E\u0645\u0633\u0648\u0646",55:"\u062E\u0645\u0633\u0629 \u0648\u062E\u0645\u0633\u0648\u0646",56:"\u0633\u062A\u0629 \u0648\u062E\u0645\u0633\u0648\u0646",57:"\u0633\u0628\u0639\u0629 \u0648\u062E\u0645\u0633\u0648\u0646",58:"\u062B\u0645\u0627\u0646\u064A\u0629 \u0648\u062E\u0645\u0633\u0648\u0646",59:"\u062A\u0633\u0639\u0629 \u0648\u062E\u0645\u0633\u0648\u0646",60:"\u0633\u062A\u0648\u0646",61:"\u0648\u0627\u062D\u062F \u0648\u0633\u062A\u0648\u0646",62:"\u0627\u062B\u0646\u0627\u0646 \u0648\u0633\u062A\u0648\u0646",63:"\u062B\u0644\u0627\u062B\u0629 \u0648\u0633\u062A\u0648\u0646",64:"\u0623\u0631\u0628\u0639\u0629 \u0648\u0633\u062A\u0648\u0646",65:"\u062E\u0645\u0633\u0629 \u0648\u0633\u062A\u0648\u0646",66:"\u0633\u062A\u0629 \u0648\u0633\u062A\u0648\u0646",67:"\u0633\u0628\u0639\u0629 \u0648\u0633\u062A\u0648\u0646",68:"\u062B\u0645\u0627\u0646\u064A\u0629 \u0648\u0633\u062A\u0648\u0646",69:"\u062A\u0633\u0639\u0629 \u0648\u0633\u062A\u0648\u0646",70:"\u0633\u0628\u0639\u0648\u0646",71:"\u0648\u0627\u062D\u062F \u0648\u0633\u0628\u0639\u0648\u0646",72:"\u0627\u062B\u0646\u0627\u0646 \u0648\u0633\u0628\u0639\u0648\u0646",73:"\u062B\u0644\u0627\u062B\u0629 \u0648\u0633\u0628\u0639\u0648\u0646",74:"\u0623\u0631\u0628\u0639\u0629 \u0648\u0633\u0628\u0639\u0648\u0646",75:"\u062E\u0645\u0633\u0629 \u0648\u0633\u0628\u0639\u0648\u0646",76:"\u0633\u062A\u0629 \u0648\u0633\u0628\u0639\u0648\u0646",77:"\u0633\u0628\u0639\u0629 \u0648\u0633\u0628\u0639\u0648\u0646",78:"\u062B\u0645\u0627\u0646\u064A\u0629 \u0648\u0633\u0628\u0639\u0648\u0646",79:"\u062A\u0633\u0639\u0629 \u0648\u0633\u0628\u0639\u0648\u0646",80:"\u062B\u0645\u0627\u0646\u0648\u0646",81:"\u0648\u0627\u062D\u062F \u0648\u062B\u0645\u0627\u0646\u0648\u0646",82:"\u0627\u062B\u0646\u0627\u0646 \u0648\u062B\u0645\u0627\u0646\u0648\u0646",83:"\u062B\u0644\u0627\u062B\u0629 \u0648\u062B\u0645\u0627\u0646\u0648\u0646",84:"\u0623\u0631\u0628\u0639\u0629 \u0648\u062B\u0645\u0627\u0646\u0648\u0646",85:"\u062E\u0645\u0633\u0629 \u0648\u062B\u0645\u0627\u0646\u0648\u0646",86:"\u0633\u062A\u0629 \u0648\u062B\u0645\u0627\u0646\u0648\u0646",87:"\u0633\u0628\u0639\u0629 \u0648\u062B\u0645\u0627\u0646\u0648\u0646",88:"\u062B\u0645\u0627\u0646\u064A\u0629 \u0648\u062B\u0645\u0627\u0646\u0648\u0646",89:"\u062A\u0633\u0639\u0629 \u0648\u062B\u0645\u0627\u0646\u0648\u0646",90:"\u062A\u0633\u0639\u0648\u0646",91:"\u0648\u0627\u062D\u062F \u0648\u062A\u0633\u0639\u0648\u0646",92:"\u0627\u062B\u0646\u0627\u0646 \u0648\u062A\u0633\u0639\u0648\u0646",93:"\u062B\u0644\u0627\u062B\u0629 \u0648\u062A\u0633\u0639\u0648\u0646",94:"\u0623\u0631\u0628\u0639\u0629 \u0648\u062A\u0633\u0639\u0648\u0646",95:"\u062E\u0645\u0633\u0629 \u0648\u062A\u0633\u0639\u0648\u0646",96:"\u0633\u062A\u0629 \u0648\u062A\u0633\u0639\u0648\u0646",97:"\u0633\u0628\u0639\u0629 \u0648\u062A\u0633\u0639\u0648\u0646",98:"\u062B\u0645\u0627\u0646\u064A\u0629 \u0648\u062A\u0633\u0639\u0648\u0646",99:"\u062A\u0633\u0639\u0629 \u0648\u062A\u0633\u0639\u0648\u0646",200:"\u0645\u0627\u0626\u062A\u0627\u0646",300:"\u062B\u0644\u0627\u062B\u0645\u0627\u0626\u0629",400:"\u0623\u0631\u0628\u0639\u0645\u0627\u0626\u0629",500:"\u062E\u0645\u0633\u0645\u0627\u0626\u0629",600:"\u0633\u062A\u0645\u0627\u0626\u0629",700:"\u0633\u0628\u0639\u0645\u0627\u0626\u0629",800:"\u062B\u0645\u0627\u0646\u0645\u0627\u0626\u0629",900:"\u062A\u0633\u0639\u0645\u0627\u0626\u0629"},units:[{singular:"\u0645\u0627\u0626\u0629",useBaseInstead:!0,useBaseException:[1]},{singular:"\u0623\u0644\u0641",dual:"\u0623\u0644\u0641\u0627\u0646",plural:"\u0622\u0644\u0627\u0641",restrictedPlural:!0,avoidPrefixException:[1,2]},{singular:"\u0645\u0644\u064A\u0648\u0646",dual:"\u0645\u0644\u064A\u0648\u0646\u0627\u0646",plural:"\u0645\u0644\u0627\u064A\u064A\u0646",restrictedPlural:!0,avoidPrefixException:[1,2]},{singular:"\u0645\u0644\u064A\u0627\u0631",dual:"\u0645\u0644\u064A\u0627\u0631\u0627\u0646",plural:"\u0645\u0644\u0627\u064A\u064A\u0631",restrictedPlural:!0,avoidPrefixException:[1,2]},{singular:"\u062A\u0631\u064A\u0644\u064A\u0648\u0646",avoidPrefixException:[1]},{singular:"\u0643\u0648\u0627\u062F\u0631\u064A\u0644\u064A\u0648\u0646",avoidPrefixException:[1]},{singular:"\u0643\u0648\u064A\u0646\u062A\u0644\u064A\u0648\u0646",avoidPrefixException:[1]},{singular:"\u0633\u0643\u0633\u062A\u0644\u064A\u0648\u0646",avoidPrefixException:[1]},{singular:"\u0633\u0628\u062A\u064A\u0644\u0644\u064A\u0648\u0646",avoidPrefixException:[1]},{singular:"\u0623\u0648\u0643\u062A\u064A\u0644\u064A\u0648\u0646",avoidPrefixException:[1]},{singular:"\u0646\u0648\u0646\u064A\u0644\u0644\u064A\u0648\u0646",avoidPrefixException:[1]},{singular:"\u062F\u0634\u064A\u0644\u064A\u0648\u0646",avoidPrefixException:[1]},{singular:"\u0623\u0648\u0646\u062F\u0634\u064A\u0644\u0644\u064A\u0648\u0646",avoidPrefixException:[1]},{singular:"\u062F\u0648\u062F\u0634\u064A\u0644\u064A\u0648\u0646",avoidPrefixException:[1]},{singular:"\u062A\u0631\u064A\u062F\u0634\u064A\u0644\u064A\u0648\u0646",avoidPrefixException:[1]},{singular:"\u0643\u0648\u0627\u062A\u0648\u0631\u062F\u0634\u064A\u0644\u064A\u0648\u0646",avoidPrefixException:[1]},{singular:"\u0643\u0648\u064A\u0646\u062F\u0634\u064A\u0644\u064A\u0648\u0646",avoidPrefixException:[1]}],unitExceptions:{}}}),Bl=N((t,e)=>{e.exports={useLongScale:!1,baseSeparator:" ",unitSeparator:"",base:{0:"s\u0131f\u0131r",1:"bir",2:"iki",3:"\xFC\xE7",4:"d\xF6rd",5:"be\u015F",6:"alt\u0131",7:"yeddi",8:"s\u0259kkiz",9:"doqquz",10:"on",20:"iyirmi",30:"otuz",40:"q\u0131rx",50:"\u0259lli",60:"altm\u0131\u015F",70:"yetmi\u015F",80:"s\u0259ks\u0259n",90:"doxsan"},units:[{singular:"y\xFCz",avoidPrefixException:[1]},{singular:"min",avoidPrefixException:[1]},"milyon","milyard","trilyon","kvadrilyon","kentilyon","sekstilyon","septilyon","oktilyon","nonilyon","desilyon","andesilyon","dodesilyon","tredesilyon","katordesilyon","kendesilyon"],unitExceptions:[]}}),Fl=N((t,e)=>{e.exports={useLongScale:!1,baseSeparator:" e ",unitSeparator:"e ",andWhenTrailing:!0,base:{0:"zero",1:"um",2:"dois",3:"tr\xEAs",4:"quatro",5:"cinco",6:"seis",7:"sete",8:"oito",9:"nove",10:"dez",11:"onze",12:"doze",13:"treze",14:"catorze",15:"quinze",16:"dezesseis",17:"dezessete",18:"dezoito",19:"dezenove",20:"vinte",30:"trinta",40:"quarenta",50:"cinquenta",60:"sessenta",70:"setenta",80:"oitenta",90:"noventa",100:"cem",200:"duzentos",300:"trezentos",400:"quatrocentos",500:"quinhentos",600:"seiscentos",700:"setecentos",800:"oitocentos",900:"novecentos",1e3:"mil"},unitExceptions:{1:"um"},units:[{singular:"cento",useBaseInstead:!0,useBaseException:[1],useBaseExceptionWhenNoTrailingNumbers:!0,andException:!0},{singular:"mil",avoidPrefixException:[1],andException:!0},{singular:"milh\xE3o",plural:"milh\xF5es"},{singular:"bilh\xE3o",plural:"bilh\xF5es"},{singular:"trilh\xE3o",plural:"trilh\xF5es"},{singular:"quadrilh\xE3o",plural:"quadrilh\xE3o"},{singular:"quintilh\xE3o",plural:"quintilh\xF5es"},{singular:"sextilh\xE3o",plural:"sextilh\xF5es"},{singular:"septilh\xE3o",plural:"septilh\xF5es"},{singular:"octilh\xE3o",plural:"octilh\xF5es"},{singular:"nonilh\xE3o",plural:"nonilh\xF5es"},{singular:"decilh\xE3o",plural:"decilh\xF5es"},{singular:"undecilh\xE3o",plural:"undecilh\xF5es"},{singular:"doudecilh\xE3o",plural:"doudecilh\xF5es"},{singular:"tredecilh\xE3o",plural:"tredecilh\xF5es"}]}}),Ml=N((t,e)=>{e.exports={useLongScale:!0,baseSeparator:" e ",unitSeparator:"e ",andWhenTrailing:!0,base:{0:"zero",1:"um",2:"dois",3:"tr\xEAs",4:"quatro",5:"cinco",6:"seis",7:"sete",8:"oito",9:"nove",10:"dez",11:"onze",12:"doze",13:"treze",14:"catorze",15:"quinze",16:"dezasseis",17:"dezassete",18:"dezoito",19:"dezanove",20:"vinte",30:"trinta",40:"quarenta",50:"cinquenta",60:"sessenta",70:"setenta",80:"oitenta",90:"noventa",100:"cem",200:"duzentos",300:"trezentos",400:"quatrocentos",500:"quinhentos",600:"seiscentos",700:"setecentos",800:"oitocentos",900:"novecentos",1e3:"mil"},unitExceptions:{1:"um"},units:[{singular:"cento",useBaseInstead:!0,useBaseException:[1],useBaseExceptionWhenNoTrailingNumbers:!0,andException:!0},{singular:"mil",avoidPrefixException:[1],andException:!0},{singular:"milh\xE3o",plural:"milh\xF5es"},{singular:"bili\xE3o",plural:"bili\xF5es"},{singular:"trili\xE3o",plural:"trili\xF5es"},{singular:"quadrili\xE3o",plural:"quadrili\xF5es"},{singular:"quintili\xE3o",plural:"quintili\xF5es"},{singular:"sextili\xE3o",plural:"sextili\xF5es"},{singular:"septili\xE3o",plural:"septili\xF5es"},{singular:"octili\xE3o",plural:"octili\xF5es"},{singular:"nonili\xE3o",plural:"nonili\xF5es"},{singular:"decili\xE3o",plural:"decili\xF5es"}]}}),Nl=N((t,e)=>{e.exports={useLongScale:!1,baseSeparator:"-",unitSeparator:"",base:{0:"z\xE9ro",1:"un",2:"deux",3:"trois",4:"quatre",5:"cinq",6:"six",7:"sept",8:"huit",9:"neuf",10:"dix",11:"onze",12:"douze",13:"treize",14:"quatorze",15:"quinze",16:"seize",17:"dix-sept",18:"dix-huit",19:"dix-neuf",20:"vingt",30:"trente",40:"quarante",50:"cinquante",60:"soixante",70:"soixante-dix",80:"quatre-vingt",90:"quatre-vingt-dix"},units:[{singular:"cent",plural:"cents",avoidInNumberPlural:!0,avoidPrefixException:[1]},{singular:"mille",avoidPrefixException:[1]},{singular:"million",plural:"millions"},{singular:"milliard",plural:"milliards"},{singular:"billion",plural:"billions"},{singular:"billiard",plural:"billiards"},{singular:"trillion",plural:"trillions"},{singular:"trilliard",plural:"trilliards"},{singular:"quadrillion",plural:"quadrillions"},{singular:"quadrilliard",plural:"quadrilliards"},{singular:"quintillion",plural:"quintillions"},{singular:"quintilliard",plural:"quintilliards"},{singular:"sextillion",plural:"sextillions"},{singular:"sextilliard",plural:"sextilliards"},{singular:"septillion",plural:"septillions"},{singular:"septilliard",plural:"septilliards"},{singular:"octillion",plural:"octillions"}],unitExceptions:{21:"vingt et un",31:"trente et un",41:"quarante et un",51:"cinquante et un",61:"soixante et un",71:"soixante et onze",72:"soixante-douze",73:"soixante-treize",74:"soixante-quatorze",75:"soixante-quinze",76:"soixante-seize",77:"soixante-dix-sept",78:"soixante-dix-huit",79:"soixante-dix-neuf",80:"quatre-vingts",91:"quatre-vingt-onze",92:"quatre-vingt-douze",93:"quatre-vingt-treize",94:"quatre-vingt-quatorze",95:"quatre-vingt-quinze",96:"quatre-vingt-seize",97:"quatre-vingt-dix-sept",98:"quatre-vingt-dix-huit",99:"quatre-vingt-dix-neuf"}}}),Pl=N((t,e)=>{e.exports={useLongScale:!1,baseSeparator:" ",unitSeparator:"",base:{0:"nulo",1:"unu",2:"du",3:"tri",4:"kvar",5:"kvin",6:"ses",7:"sep",8:"ok",9:"na\u016D",10:"dek",20:"dudek",30:"tridek",40:"kvardek",50:"kvindek",60:"sesdek",70:"sepdek",80:"okdek",90:"na\u016Ddek",100:"cent",200:"ducent",300:"tricent",400:"kvarcent",500:"kvincent",600:"sescent",700:"sepcent",800:"okcent",900:"na\u016Dcent"},units:[{useBaseInstead:!0,useBaseException:[]},{singular:"mil",avoidPrefixException:[1]},{singular:"miliono",plural:"milionoj",avoidPrefixException:[1]},{singular:"miliardo",plural:"miliardoj",avoidPrefixException:[1]},{singular:"biliono",plural:"bilionoj",avoidPrefixException:[1]}],unitExceptions:[]}}),Ll=N((t,e)=>{e.exports={useLongScale:!1,baseSeparator:"",unitSeparator:"",generalSeparator:"",wordSeparator:"",base:{0:"zero",1:"uno",2:"due",3:"tre",4:"quattro",5:"cinque",6:"sei",7:"sette",8:"otto",9:"nove",10:"dieci",11:"undici",12:"dodici",13:"tredici",14:"quattordici",15:"quindici",16:"sedici",17:"diciassette",18:"diciotto",19:"diciannove",20:"venti",21:"ventuno",23:"ventitr\xE9",28:"ventotto",30:"trenta",31:"trentuno",33:"trentatr\xE9",38:"trentotto",40:"quaranta",41:"quarantuno",43:"quaranta\xADtr\xE9",48:"quarantotto",50:"cinquanta",51:"cinquantuno",53:"cinquantatr\xE9",58:"cinquantotto",60:"sessanta",61:"sessantuno",63:"sessanta\xADtr\xE9",68:"sessantotto",70:"settanta",71:"settantuno",73:"settantatr\xE9",78:"settantotto",80:"ottanta",81:"ottantuno",83:"ottantatr\xE9",88:"ottantotto",90:"novanta",91:"novantuno",93:"novantatr\xE9",98:"novantotto",100:"cento",101:"centuno",108:"centootto",180:"centottanta",201:"duecentuno",301:"tre\xADcent\xADuno",401:"quattro\xADcent\xADuno",501:"cinque\xADcent\xADuno",601:"sei\xADcent\xADuno",701:"sette\xADcent\xADuno",801:"otto\xADcent\xADuno",901:"nove\xADcent\xADuno"},unitExceptions:{1:"un"},units:[{singular:"cento",avoidPrefixException:[1]},{singular:"mille",plural:"mila",avoidPrefixException:[1]},{singular:"milione",plural:"milioni"},{singular:"miliardo",plural:"miliardi"},{singular:"bilione",plural:"bilioni"},{singular:"biliardo",plural:"biliardi"},{singular:"trilione",plural:"trilioni"},{singular:"triliardo",plural:"triliardi"},{singular:"quadrilione",plural:"quadrilioni"},{singular:"quadriliardo",plural:"quadriliardi"}]}}),zl=N((t,e)=>{e.exports={useLongScale:!1,baseSeparator:" ",unitSeparator:"v\xE0 ",base:{0:"kh\xF4ng",1:"m\u1ED9t",2:"hai",3:"ba",4:"b\u1ED1n",5:"n\u0103m",6:"s\xE1u",7:"b\u1EA3y",8:"t\xE1m",9:"ch\xEDn",10:"m\u01B0\u1EDDi",15:"m\u01B0\u1EDDi l\u0103m",20:"hai m\u01B0\u01A1i",21:"hai m\u01B0\u01A1i m\u1ED1t",25:"hai m\u01B0\u01A1i l\u0103m",30:"ba m\u01B0\u01A1i",31:"ba m\u01B0\u01A1i m\u1ED1t",40:"b\u1ED1n m\u01B0\u01A1i",41:"b\u1ED1n m\u01B0\u01A1i m\u1ED1t",45:"b\u1ED1n m\u01B0\u01A1i l\u0103m",50:"n\u0103m m\u01B0\u01A1i",51:"n\u0103m m\u01B0\u01A1i m\u1ED1t",55:"n\u0103m m\u01B0\u01A1i l\u0103m",60:"s\xE1u m\u01B0\u01A1i",61:"s\xE1u m\u01B0\u01A1i m\u1ED1t",65:"s\xE1u m\u01B0\u01A1i l\u0103m",70:"b\u1EA3y m\u01B0\u01A1i",71:"b\u1EA3y m\u01B0\u01A1i m\u1ED1t",75:"b\u1EA3y m\u01B0\u01A1i l\u0103m",80:"t\xE1m m\u01B0\u01A1i",81:"t\xE1m m\u01B0\u01A1i m\u1ED1t",85:"t\xE1m m\u01B0\u01A1i l\u0103m",90:"ch\xEDn m\u01B0\u01A1i",91:"ch\xEDn m\u01B0\u01A1i m\u1ED1t",95:"ch\xEDn m\u01B0\u01A1i l\u0103m"},units:["tr\u0103m","ng\xE0n","tri\u1EC7u","t\u1EF7","ngh\xECn t\u1EF7"],unitExceptions:[]}}),Tl=N((t,e)=>{e.exports={useLongScale:!1,baseSeparator:" ",unitSeparator:"",base:{0:"s\u0131f\u0131r",1:"bir",2:"iki",3:"\xFC\xE7",4:"d\xF6rt",5:"be\u015F",6:"alt\u0131",7:"yedi",8:"sekiz",9:"dokuz",10:"on",20:"yirmi",30:"otuz",40:"k\u0131rk",50:"elli",60:"altm\u0131\u015F",70:"yetmi\u015F",80:"seksen",90:"doksan"},units:[{singular:"y\xFCz",avoidPrefixException:[1]},{singular:"bin",avoidPrefixException:[1]},"milyon","milyar","trilyon","katrilyon","kentilyon","sekstilyon","septilyon","oktilyon","nonilyon","desilyon","andesilyon","dodesilyon","tredesilyon","katordesilyon","kendesilyon"],unitExceptions:[]}}),jl=N((t,e)=>{e.exports={useLongScale:!0,baseSeparator:"",unitSeparator:"\xE9s ",base:{0:"nulla",1:"egy",2:"kett\u0151",3:"h\xE1rom",4:"n\xE9gy",5:"\xF6t",6:"hat",7:"h\xE9t",8:"nyolc",9:"kilenc",10:"t\xEDz",11:"tizenegy",12:"tizenkett\u0151",13:"tizenh\xE1rom",14:"tizenn\xE9gy",15:"tizen\xF6t",16:"tizenhat",17:"tizenh\xE9t",18:"tizennyolc",19:"tizenkilenc",20:"h\xFAsz",21:"huszonegy",22:"huszonkett\u0151",23:"huszonh\xE1rom",24:"huszonn\xE9gy",25:"huszon\xF6t",26:"huszonhat",27:"huszonh\xE9t",28:"huszonnyolc",29:"huszonkilenc",30:"harminc",40:"negyven",50:"\xF6tven",60:"hatvan",70:"hetven",80:"nyolcvan",90:"kilencven",100:"sz\xE1z",200:"k\xE9tsz\xE1z",300:"h\xE1romsz\xE1z",400:"n\xE9gysz\xE1z",500:"\xF6tsz\xE1z",600:"hatsz\xE1z",700:"h\xE9tsz\xE1z",800:"nyolcsz\xE1z",900:"kilencsz\xE1z",1e3:"ezer"},unitExceptions:{1:"egy"},units:[{singular:"sz\xE1z",useBaseInstead:!0,useBaseException:[1]},{singular:"ezer",avoidPrefixException:[1]},{singular:"milli\xF3",avoidPrefixException:[1]},{singular:"milli\xE1rd",avoidPrefixException:[1]},{singular:"-billi\xF3",avoidPrefixException:[1]},{singular:"billi\xE1rd",avoidPrefixException:[1]},{singular:"trilli\xF3",avoidPrefixException:[1]},{singular:"trilli\xE1rd",avoidPrefixException:[1]},{singular:"kvadrilli\xF3",avoidPrefixException:[1]},{singular:"kvadrilli\xE1rd",avoidPrefixException:[1]},{singular:"kvintilli\xF3",avoidPrefixException:[1]},{singular:"kvintilli\xE1rd",avoidPrefixException:[1]},{singular:"szextilli\xF3",avoidPrefixException:[1]},{singular:"szeptilli\xF3",avoidPrefixException:[1]},{singular:"oktilli\xF3",avoidPrefixException:[1]},{singular:"nonilli\xF3",avoidPrefixException:[1]}]}}),Il=N((t,e)=>{e.exports={useLongScale:!1,baseSeparator:"-",unitSeparator:"and ",base:{0:"zero",1:"one",2:"two",3:"three",4:"four",5:"five",6:"six",7:"seven",8:"eight",9:"nine",10:"ten",11:"eleven",12:"twelve",13:"thirteen",14:"fourteen",15:"fifteen",16:"sixteen",17:"seventeen",18:"eighteen",19:"nineteen",20:"twenty",30:"thirty",40:"forty",50:"fifty",60:"sixty",70:"seventy",80:"eighty",90:"ninety"},units:{2:"hundred",3:"thousand",5:"lakh",7:"crore"},unitExceptions:[]}}),Rl=N((t,e)=>{e.exports={useLongScale:!1,baseSeparator:" ",unitSeparator:"",base:{0:"\u043D\u0443\u043B\u044C",1:"\u043E\u0434\u0438\u043D",2:"\u0434\u0432\u0430",3:"\u0442\u0440\u0438",4:"\u0447\u043E\u0442\u0438\u0440\u0438",5:"\u043F\u2019\u044F\u0442\u044C",6:"\u0448\u0456\u0441\u0442\u044C",7:"\u0441\u0456\u043C",8:"\u0432\u0456\u0441\u0456\u043C",9:"\u0434\u0435\u0432\u2019\u044F\u0442\u044C",10:"\u0434\u0435\u0441\u044F\u0442\u044C",11:"\u043E\u0434\u0438\u043D\u0430\u0434\u0446\u044F\u0442\u044C",12:"\u0434\u0432\u0430\u043D\u0430\u0434\u0446\u044F\u0442\u044C",13:"\u0442\u0440\u0438\u043D\u0430\u0434\u0446\u044F\u0442\u044C",14:"\u0447\u043E\u0442\u0438\u0440\u043D\u0430\u0434\u0446\u044F\u0442\u044C",15:"\u043F\u2019\u044F\u0442\u043D\u0430\u0434\u0446\u044F\u0442\u044C",16:"\u0448\u0456\u0441\u0442\u043D\u0430\u0434\u0446\u044F\u0442\u044C",17:"\u0441\u0456\u043C\u043D\u0430\u0434\u0446\u044F\u0442\u044C",18:"\u0432\u0456\u0441\u0456\u043C\u043D\u0430\u0434\u0446\u044F\u0442\u044C",19:"\u0434\u0435\u0432\u2019\u044F\u0442\u043D\u0430\u0434\u0446\u044F\u0442\u044C",20:"\u0434\u0432\u0430\u0434\u0446\u044F\u0442\u044C",30:"\u0442\u0440\u0438\u0434\u0446\u044F\u0442\u044C",40:"\u0441\u043E\u0440\u043E\u043A",50:"\u043F\u2019\u044F\u0442\u0434\u0435\u0441\u044F\u0442",60:"\u0448\u0456\u0441\u0442\u0434\u0435\u0441\u044F\u0442",70:"\u0441\u0456\u043C\u0434\u0435\u0441\u044F\u0442",80:"\u0432\u0456\u0441\u0456\u043C\u0434\u0435\u0441\u044F\u0442",90:"\u0434\u0435\u0432\u2019\u044F\u043D\u043E\u0441\u0442\u043E",100:"\u0441\u0442\u043E",200:"\u0434\u0432\u0456\u0441\u0442\u0456",300:"\u0442\u0440\u0438\u0441\u0442\u0430",400:"\u0447\u043E\u0442\u0438\u0440\u0438\u0441\u0442\u0430",500:"\u043F\u2019\u044F\u0442\u0441\u043E\u0442",600:"\u0448\u0456\u0441\u0442\u0441\u043E\u0442",700:"\u0441\u0456\u043C\u0441\u043E\u0442",800:"\u0432\u0456\u0441\u0456\u043C\u0441\u043E\u0442",900:"\u0434\u0435\u0432\u2019\u044F\u0442\u0441\u043E\u0442"},alternativeBase:{feminine:{1:"\u043E\u0434\u043D\u0430",2:"\u0434\u0432\u0456"}},units:[{useBaseInstead:!0,useBaseException:[]},{singular:"\u0442\u0438\u0441\u044F\u0447\u0430",few:"\u0442\u0438\u0441\u044F\u0447\u0456",plural:"\u0442\u0438\u0441\u044F\u0447",useAlternativeBase:"feminine",useSingularEnding:!0,useFewEnding:!0,avoidEndingRules:[11,12,13,14,111,112,113,114,211,212,213,214,311,312,313,314,411,412,413,414,511,512,513,514,611,612,613,614,711,712,713,714,811,812,813,814,911,912,913,914]},{singular:"\u043C\u0456\u043B\u044C\u0439\u043E\u043D",few:"\u043C\u0456\u043B\u044C\u0439\u043E\u043D\u0438",plural:"\u043C\u0456\u043B\u044C\u0439\u043E\u043D\u0456\u0432",useSingularEnding:!0,useFewEnding:!0,avoidEndingRules:[11,12,13,14,111,112,113,114,211,212,213,214,311,312,313,314,411,412,413,414,511,512,513,514,611,612,613,614,711,712,713,714,811,812,813,814,911,912,913,914]},{singular:"\u043C\u0456\u043B\u044C\u044F\u0440\u0434",few:"\u043C\u0456\u043B\u044C\u044F\u0440\u0434\u0438",plural:"\u043C\u0456\u043B\u044C\u044F\u0440\u0434\u0456\u0432",useSingularEnding:!0,useFewEnding:!0,avoidEndingRules:[11,12,13,14,111,112,113,114,211,212,213,214,311,312,313,314,411,412,413,414,511,512,513,514,611,612,613,614,711,712,713,714,811,812,813,814,911,912,913,914]},{singular:"\u0442\u0440\u0438\u043B\u044C\u0439\u043E\u043D",few:"\u0442\u0440\u0438\u043B\u044C\u0439\u043E\u043D\u0438",plural:"\u0442\u0440\u0438\u043B\u044C\u0439\u043E\u043D\u0456\u0432",useSingularEnding:!0,useFewEnding:!0,avoidEndingRules:[11,12,13,14,111,112,113,114,211,212,213,214,311,312,313,314,411,412,413,414,511,512,513,514,611,612,613,614,711,712,713,714,811,812,813,814,911,912,913,914]},{singular:"\u043A\u0432\u0430\u0434\u0440\u0438\u043B\u044C\u0439\u043E\u043D",few:"\u043A\u0432\u0430\u0434\u0440\u0438\u043B\u044C\u0439\u043E\u043D\u0438",plural:"\u043A\u0432\u0430\u0434\u0440\u0438\u043B\u044C\u0439\u043E\u043D\u0456\u0432",useSingularEnding:!0,useFewEnding:!0,avoidEndingRules:[11,12,13,14,111,112,113,114,211,212,213,214,311,312,313,314,411,412,413,414,511,512,513,514,611,612,613,614,711,712,713,714,811,812,813,814,911,912,913,914]},{singular:"\u043A\u0432\u0456\u043D\u0442\u0438\u043B\u044C\u0439\u043E\u043D",few:"\u043A\u0432\u0456\u043D\u0442\u0438\u043B\u044C\u0439\u043E\u043D\u0438",plural:"\u043A\u0432\u0456\u043D\u0442\u0438\u043B\u044C\u0439\u043E\u043D\u0456\u0432",useSingularEnding:!0,useFewEnding:!0,avoidEndingRules:[11,12,13,14,111,112,113,114,211,212,213,214,311,312,313,314,411,412,413,414,511,512,513,514,611,612,613,614,711,712,713,714,811,812,813,814,911,912,913,914]},{singular:"\u0441\u0435\u043A\u0441\u0442\u0438\u043B\u044C\u0439\u043E\u043D",few:"\u0441\u0435\u043A\u0441\u0442\u0438\u043B\u044C\u0439\u043E\u043D\u0438",plural:"\u0441\u0435\u043A\u0441\u0442\u0438\u043B\u044C\u0439\u043E\u043D\u0456\u0432",useSingularEnding:!0,useFewEnding:!0,avoidEndingRules:[11,12,13,14,111,112,113,114,211,212,213,214,311,312,313,314,411,412,413,414,511,512,513,514,611,612,613,614,711,712,713,714,811,812,813,814,911,912,913,914]},{singular:"\u0441\u0435\u043F\u0442\u0456\u043B\u043B\u0456\u043E\u043D",few:"\u0441\u0435\u043F\u0442\u0456\u043B\u043B\u0456\u043E\u043D\u0438",plural:"\u0441\u0435\u043F\u0442\u0456\u043B\u043B\u0456\u043E\u043D\u0456\u0432",useSingularEnding:!0,useFewEnding:!0,avoidEndingRules:[11,12,13,14,111,112,113,114,211,212,213,214,311,312,313,314,411,412,413,414,511,512,513,514,611,612,613,614,711,712,713,714,811,812,813,814,911,912,913,914]},{singular:"\u043E\u043A\u0442\u0456\u043B\u043B\u0456\u043E\u043D",few:"\u043E\u043A\u0442\u0456\u043B\u043B\u0456\u043E\u043D\u0438",plural:"\u043E\u043A\u0442\u0456\u043B\u043B\u0456\u043E\u043D\u0456\u0432",useSingularEnding:!0,useFewEnding:!0,avoidEndingRules:[11,12,13,14,111,112,113,114,211,212,213,214,311,312,313,314,411,412,413,414,511,512,513,514,611,612,613,614,711,712,713,714,811,812,813,814,911,912,913,914]},{singular:"\u043D\u043E\u043D\u0456\u043B\u043B\u0456\u043E\u043D",few:"\u043D\u043E\u043D\u0456\u043B\u043B\u0456\u043E\u043D\u0438",plural:"\u043D\u043E\u043D\u0456\u043B\u043B\u0456\u043E\u043D\u0456\u0432",useSingularEnding:!0,useFewEnding:!0,avoidEndingRules:[11,12,13,14,111,112,113,114,211,212,213,214,311,312,313,314,411,412,413,414,511,512,513,514,611,612,613,614,711,712,713,714,811,812,813,814,911,912,913,914]},{singular:"\u0434\u0435\u0446\u0456\u043B\u043B\u0456\u043E\u043D",few:"\u0434\u0435\u0446\u0456\u043B\u043B\u0456\u043E\u043D\u0438",plural:"\u0434\u0435\u0446\u0456\u043B\u043B\u0456\u043E\u043D\u0456\u0432",useSingularEnding:!0,useFewEnding:!0,avoidEndingRules:[11,12,13,14,111,112,113,114,211,212,213,214,311,312,313,314,411,412,413,414,511,512,513,514,611,612,613,614,711,712,713,714,811,812,813,814,911,912,913,914]},{singular:"\u0443\u043D\u0434\u0435\u0446\u0456\u043B\u043B\u0456\u043E\u043D",few:"\u0443\u043D\u0434\u0435\u0446\u0456\u043B\u043B\u0456\u043E\u043D\u0438",plural:"\u0443\u043D\u0434\u0435\u0446\u0456\u043B\u043B\u0456\u043E\u043D\u0456\u0432",useSingularEnding:!0,useFewEnding:!0,avoidEndingRules:[11,12,13,14,111,112,113,114,211,212,213,214,311,312,313,314,411,412,413,414,511,512,513,514,611,612,613,614,711,712,713,714,811,812,813,814,911,912,913,914]},{singular:"\u0434\u0443\u043E\u0434\u0435\u0446\u0456\u043B\u043B\u0456\u043E\u043D",few:"\u0434\u0443\u043E\u0434\u0435\u0446\u0456\u043B\u043B\u0456\u043E\u043D\u0438",plural:"\u0434\u0443\u043E\u0434\u0435\u0446\u0456\u043B\u043B\u0456\u043E\u043D\u0456\u0432",useSingularEnding:!0,useFewEnding:!0,avoidEndingRules:[11,12,13,14,111,112,113,114,211,212,213,214,311,312,313,314,411,412,413,414,511,512,513,514,611,612,613,614,711,712,713,714,811,812,813,814,911,912,913,914]},{singular:"\u0442\u0440\u0435\u0434\u0435\u0446\u0456\u043B\u043B\u0456\u043E\u043D",few:"\u0442\u0440\u0435\u0434\u0435\u0446\u0456\u043B\u043B\u0456\u043E\u043D\u0438",plural:"\u0442\u0440\u0435\u0434\u0435\u0446\u0456\u043B\u043B\u0456\u043E\u043D\u0456\u0432",useSingularEnding:!0,useFewEnding:!0,avoidEndingRules:[11,12,13,14,111,112,113,114,211,212,213,214,311,312,313,314,411,412,413,414,511,512,513,514,611,612,613,614,711,712,713,714,811,812,813,814,911,912,913,914]},{singular:"\u043A\u0432\u0430\u0442\u0443\u043E\u0440\u0434\u0435\u0446\u0456\u043B\u043B\u0456\u043E\u043D",few:"\u043A\u0432\u0430\u0442\u0443\u043E\u0440\u0434\u0435\u0446\u0456\u043B\u043B\u0456\u043E\u043D\u0438",plural:"\u043A\u0432\u0430\u0442\u0443\u043E\u0440\u0434\u0435\u0446\u0456\u043B\u043B\u0456\u043E\u043D\u0456\u0432",useSingularEnding:!0,useFewEnding:!0,avoidEndingRules:[11,12,13,14,111,112,113,114,211,212,213,214,311,312,313,314,411,412,413,414,511,512,513,514,611,612,613,614,711,712,713,714,811,812,813,814,911,912,913,914]},{singular:"\u043A\u0432\u0456\u043D\u0434\u0435\u0446\u0456\u043B\u043B\u0456\u043E\u043D",few:"\u043A\u0432\u0456\u043D\u0434\u0435\u0446\u0456\u043B\u043B\u0456\u043E\u043D\u0438",plural:"\u043A\u0432\u0456\u043D\u0434\u0435\u0446\u0456\u043B\u043B\u0456\u043E\u043D\u0456\u0432",useSingularEnding:!0,useFewEnding:!0,avoidEndingRules:[11,12,13,14,111,112,113,114,211,212,213,214,311,312,313,314,411,412,413,414,511,512,513,514,611,612,613,614,711,712,713,714,811,812,813,814,911,912,913,914]}],unitExceptions:[]}}),Vl=N((t,e)=>{e.exports={useLongScale:!1,baseSeparator:" ",unitSeparator:"",base:{0:"\u043D\u043E\u043B\u044C",1:"\u043E\u0434\u0438\u043D",2:"\u0434\u0432\u0430",3:"\u0442\u0440\u0438",4:"\u0447\u0435\u0442\u044B\u0440\u0435",5:"\u043F\u044F\u0442\u044C",6:"\u0448\u0435\u0441\u0442\u044C",7:"\u0441\u0435\u043C\u044C",8:"\u0432\u043E\u0441\u0435\u043C\u044C",9:"\u0434\u0435\u0432\u044F\u0442\u044C",10:"\u0434\u0435\u0441\u044F\u0442\u044C",11:"\u043E\u0434\u0438\u043D\u0430\u0434\u0446\u0430\u0442\u044C",12:"\u0434\u0432\u0435\u043D\u0430\u0434\u0446\u0430\u0442\u044C",13:"\u0442\u0440\u0438\u043D\u0430\u0434\u0446\u0430\u0442\u044C",14:"\u0447\u0435\u0442\u044B\u0440\u043D\u0430\u0434\u0446\u0430\u0442\u044C",15:"\u043F\u044F\u0442\u043D\u0430\u0434\u0446\u0430\u0442\u044C",16:"\u0448\u0435\u0441\u0442\u043D\u0430\u0434\u0446\u0430\u0442\u044C",17:"\u0441\u0435\u043C\u043D\u0430\u0434\u0446\u0430\u0442\u044C",18:"\u0432\u043E\u0441\u0435\u043C\u043D\u0430\u0434\u0446\u0430\u0442\u044C",19:"\u0434\u0435\u0432\u044F\u0442\u043D\u0430\u0434\u0446\u0430\u0442\u044C",20:"\u0434\u0432\u0430\u0434\u0446\u0430\u0442\u044C",30:"\u0442\u0440\u0438\u0434\u0446\u0430\u0442\u044C",40:"\u0441\u043E\u0440\u043E\u043A",50:"\u043F\u044F\u0442\u044C\u0434\u0435\u0441\u044F\u0442",60:"\u0448\u0435\u0441\u0442\u044C\u0434\u0435\u0441\u044F\u0442",70:"\u0441\u0435\u043C\u044C\u0434\u0435\u0441\u044F\u0442",80:"\u0432\u043E\u0441\u0435\u043C\u044C\u0434\u0435\u0441\u044F\u0442",90:"\u0434\u0435\u0432\u044F\u043D\u043E\u0441\u0442\u043E",100:"\u0441\u0442\u043E",200:"\u0434\u0432\u0435\u0441\u0442\u0438",300:"\u0442\u0440\u0438\u0441\u0442\u0430",400:"\u0447\u0435\u0442\u044B\u0440\u0435\u0441\u0442\u0430",500:"\u043F\u044F\u0442\u044C\u0441\u043E\u0442",600:"\u0448\u0435\u0441\u0442\u044C\u0441\u043E\u0442",700:"\u0441\u0435\u043C\u044C\u0441\u043E\u0442",800:"\u0432\u043E\u0441\u0435\u043C\u044C\u0441\u043E\u0442",900:"\u0434\u0435\u0432\u044F\u0442\u044C\u0441\u043E\u0442"},alternativeBase:{feminine:{1:"\u043E\u0434\u043D\u0430",2:"\u0434\u0432\u0435"}},units:[{useBaseInstead:!0,useBaseException:[]},{singular:"\u0442\u044B\u0441\u044F\u0447\u0430",few:"\u0442\u044B\u0441\u044F\u0447\u0438",plural:"\u0442\u044B\u0441\u044F\u0447",useAlternativeBase:"feminine",useSingularEnding:!0,useFewEnding:!0,avoidEndingRules:[11,12,13,14,111,112,113,114,211,212,213,214,311,312,313,314,411,412,413,414,511,512,513,514,611,612,613,614,711,712,713,714,811,812,813,814,911,912,913,914]},{singular:"\u043C\u0438\u043B\u043B\u0438\u043E\u043D",few:"\u043C\u0438\u043B\u043B\u0438\u043E\u043D\u0430",plural:"\u043C\u0438\u043B\u043B\u0438\u043E\u043D\u043E\u0432",useSingularEnding:!0,useFewEnding:!0,avoidEndingRules:[11,12,13,14,111,112,113,114,211,212,213,214,311,312,313,314,411,412,413,414,511,512,513,514,611,612,613,614,711,712,713,714,811,812,813,814,911,912,913,914]},{singular:"\u043C\u0438\u043B\u043B\u0438\u0430\u0440\u0434",few:"\u043C\u0438\u043B\u043B\u0438\u0430\u0440\u0434\u0430",plural:"\u043C\u0438\u043B\u043B\u0438\u0430\u0440\u0434\u043E\u0432",useSingularEnding:!0,useFewEnding:!0,avoidEndingRules:[11,12,13,14,111,112,113,114,211,212,213,214,311,312,313,314,411,412,413,414,511,512,513,514,611,612,613,614,711,712,713,714,811,812,813,814,911,912,913,914]},{singular:"\u0442\u0440\u0438\u043B\u043B\u0438\u043E\u043D",few:"\u0442\u0440\u0438\u043B\u043B\u0438\u043E\u043D\u0430",plural:"\u0442\u0440\u0438\u043B\u043B\u0438\u043E\u043D\u043E\u0432",useSingularEnding:!0,useFewEnding:!0,avoidEndingRules:[11,12,13,14,111,112,113,114,211,212,213,214,311,312,313,314,411,412,413,414,511,512,513,514,611,612,613,614,711,712,713,714,811,812,813,814,911,912,913,914]},{singular:"\u043A\u0432\u0430\u0434\u0440\u0438\u043B\u044C\u043E\u043D",few:"\u043A\u0432\u0430\u0434\u0440\u0438\u043B\u043B\u0438\u043E\u043D",plural:"\u043A\u0432\u0430\u0434\u0440\u0438\u043B\u043E\u043D",useSingularEnding:!0,useFewEnding:!0,avoidEndingRules:[11,12,13,14,111,112,113,114,211,212,213,214,311,312,313,314,411,412,413,414,511,512,513,514,611,612,613,614,711,712,713,714,811,812,813,814,911,912,913,914]},{singular:"\u043A\u0432\u0438\u043D\u0442\u0438\u043B\u043B\u0438\u043E\u043D",few:"\u043A\u0432\u0438\u043D\u0442\u0438\u043B\u043B\u0438\u043E\u043D\u0430",plural:"\u043A\u0432\u0438\u043D\u0442\u0438\u043B\u044C\u043E\u043D\u043E\u0432",useSingularEnding:!0,useFewEnding:!0,avoidEndingRules:[11,12,13,14,111,112,113,114,211,212,213,214,311,312,313,314,411,412,413,414,511,512,513,514,611,612,613,614,711,712,713,714,811,812,813,814,911,912,913,914]},{singular:"\u0441\u0435\u043A\u0441\u0442\u0438\u043B\u043B\u0438\u043E\u043D\u043E\u0432",few:"\u0441\u0435\u043A\u0441\u0442\u0438\u043B\u044C\u043E\u043D\u0430",plural:"\u0441\u0435\u043A\u0441\u0442\u0438\u043B\u043B\u0438\u043E\u043D\u043E\u0432",useSingularEnding:!0,useFewEnding:!0,avoidEndingRules:[11,12,13,14,111,112,113,114,211,212,213,214,311,312,313,314,411,412,413,414,511,512,513,514,611,612,613,614,711,712,713,714,811,812,813,814,911,912,913,914]},{singular:"\u0441\u0435\u043F\u0442\u0438\u043B\u043B\u0438\u043E\u043D",few:"\u0441\u0435\u043F\u0442\u0438\u043B\u043B\u0438\u043E\u043D\u0430",plural:"\u0441\u0435\u043F\u0442\u0438\u043B\u043B\u0438\u043E\u043D\u043E\u0432",useSingularEnding:!0,useFewEnding:!0,avoidEndingRules:[11,12,13,14,111,112,113,114,211,212,213,214,311,312,313,314,411,412,413,414,511,512,513,514,611,612,613,614,711,712,713,714,811,812,813,814,911,912,913,914]},{singular:"\u043E\u043A\u0442\u0438\u043B\u043B\u0438\u043E\u043D",few:"\u043E\u043A\u0442\u0438\u043B\u043B\u0438\u043E\u043D\u0430",plural:"\u043E\u043A\u0442\u0438\u043B\u043B\u0438\u043E\u043D\u043E\u0432",useSingularEnding:!0,useFewEnding:!0,avoidEndingRules:[11,12,13,14,111,112,113,114,211,212,213,214,311,312,313,314,411,412,413,414,511,512,513,514,611,612,613,614,711,712,713,714,811,812,813,814,911,912,913,914]},{singular:"\u043D\u043E\u043D\u0438\u043B\u043B\u0438\u043E\u043D",few:"\u043D\u043E\u043D\u0438\u043B\u043B\u0438\u043E\u043D\u0430",plural:"\u043D\u043E\u043D\u0438\u043B\u043B\u0438\u043E\u043D\u043E\u0432",useSingularEnding:!0,useFewEnding:!0,avoidEndingRules:[11,12,13,14,111,112,113,114,211,212,213,214,311,312,313,314,411,412,413,414,511,512,513,514,611,612,613,614,711,712,713,714,811,812,813,814,911,912,913,914]},{singular:"\u0434\u0435\u0446\u0438\u043B\u043B\u0438\u043E\u043D",few:"\u0434\u0435\u0446\u0438\u043B\u043B\u0438\u043E\u043D\u0430",plural:"\u0434\u0435\u0446\u0438\u043B\u043B\u0438\u043E\u043D\u043E\u0432",useSingularEnding:!0,useFewEnding:!0,avoidEndingRules:[11,12,13,14,111,112,113,114,211,212,213,214,311,312,313,314,411,412,413,414,511,512,513,514,611,612,613,614,711,712,713,714,811,812,813,814,911,912,913,914]},{singular:"\u0443\u043D\u0434\u0435\u0446\u0438\u043B\u043B\u0438\u043E\u043D",few:"\u0443\u043D\u0434\u0435\u0446\u0438\u043B\u043B\u0438\u043E\u043D\u0430",plural:"\u0443\u043D\u0434\u0435\u0446\u0438\u043B\u043B\u0438\u043E\u043D\u0438\u0432",useSingularEnding:!0,useFewEnding:!0,avoidEndingRules:[11,12,13,14,111,112,113,114,211,212,213,214,311,312,313,314,411,412,413,414,511,512,513,514,611,612,613,614,711,712,713,714,811,812,813,814,911,912,913,914]},{singular:"\u0434\u0443\u043E\u0434\u0435\u0446\u0438\u043B\u043B\u0438\u043E\u043D",few:"\u0434\u0443\u043E\u0434\u0435\u0446\u0438\u043B\u043B\u0438\u043E\u043D\u0430",plural:"\u0434\u0443\u043E\u0434\u0435\u0446\u0438\u043B\u043B\u0438\u043E\u043D\u0438\u0432",useSingularEnding:!0,useFewEnding:!0,avoidEndingRules:[11,12,13,14,111,112,113,114,211,212,213,214,311,312,313,314,411,412,413,414,511,512,513,514,611,612,613,614,711,712,713,714,811,812,813,814,911,912,913,914]},{singular:"\u0442\u0440\u0435\u0434\u0435\u0446\u0438\u043B\u043B\u0438\u043E\u043D",few:"\u0442\u0440\u0435\u0434\u0435\u0446\u0438\u043B\u043B\u0438\u043E\u043D\u0430",plural:"\u0442\u0440\u0435\u0434\u0435\u0446\u0438\u043B\u043B\u0438\u043E\u043D\u0438\u0432",useSingularEnding:!0,useFewEnding:!0,avoidEndingRules:[11,12,13,14,111,112,113,114,211,212,213,214,311,312,313,314,411,412,413,414,511,512,513,514,611,612,613,614,711,712,713,714,811,812,813,814,911,912,913,914]},{singular:"\u043A\u0432\u0430\u0442\u0443\u043E\u0440\u0434\u0435\u0446\u0438\u043B\u043B\u0438\u043E\u043D",few:"\u043A\u0432\u0430\u0442\u0443\u043E\u0440\u0434\u0435\u0446\u0438\u043B\u043B\u0438\u043E\u043D\u0430",plural:"\u043A\u0432\u0430\u0442\u0443\u043E\u0440\u0434\u0435\u0446\u0438\u043B\u043B\u0438\u043E\u043D\u0438\u0432",useSingularEnding:!0,useFewEnding:!0,avoidEndingRules:[11,12,13,14,111,112,113,114,211,212,213,214,311,312,313,314,411,412,413,414,511,512,513,514,611,612,613,614,711,712,713,714,811,812,813,814,911,912,913,914]},{singular:"\u043A\u0432\u0438\u043D\u0434\u0435\u0446\u0438\u043B\u043B\u0438\u043E\u043D",few:"\u043A\u0432\u0438\u043D\u0434\u0435\u0446\u0438\u043B\u043B\u0438\u043E\u043D\u0430",plural:"\u043A\u0432\u0438\u043D\u0434\u0435\u0446\u0438\u043B\u043B\u0438\u043E\u043D\u0438\u0432",useSingularEnding:!0,useFewEnding:!0,avoidEndingRules:[11,12,13,14,111,112,113,114,211,212,213,214,311,312,313,314,411,412,413,414,511,512,513,514,611,612,613,614,711,712,713,714,811,812,813,814,911,912,913,914]}],unitExceptions:[]}}),ql=N((t,e)=>{e.exports={useLongScale:!1,baseSeparator:" ",unitSeparator:"",base:{0:"nol",1:"satu",2:"dua",3:"tiga",4:"empat",5:"lima",6:"enam",7:"tujuh",8:"delapan",9:"sembilan",10:"sepuluh",11:"sebelas",12:"dua belas",13:"tiga belas",14:"empat belas",15:"lima belas",16:"enam belas",17:"tujuh belas",18:"delapan belas",19:"sembilan belas",20:"dua puluh",30:"tiga puluh",40:"empat puluh",50:"lima puluh",60:"enam puluh",70:"tujuh puluh",80:"delapan puluh",90:"sembilan puluh"},units:[{singular:"seratus",plural:"ratus",avoidPrefixException:[1]},{singular:"seribu",plural:"ribu",avoidPrefixException:[1]},"juta","miliar","triliun","kuadiliun"],unitExceptions:[]}}),Ul=N((t,e)=>{"use strict";t=e.exports=u;var r=Cl(),n=["en","es","ar","az","pt","fr","eo","it","vi","tr","uk","ru","id"],i={en:Al(),es:Dl(),ar:Ol(),az:Bl(),pt:Fl(),ptPT:Ml(),fr:Nl(),eo:Pl(),it:Ll(),vi:zl(),tr:Tl(),hu:jl(),enIndian:Il(),uk:Rl(),ru:Vl(),id:ql()};t.i18n=i;var a=[100];for(s=1;s<=16;s++)a.push(Math.pow(10,s*3));var s,o=[100,1e3];for(s=1;s<=15;s++)o.push(Math.pow(10,s*6));u.defaults={noAnd:!1,alternativeBase:null,lang:"en"};function u(d,h){if(h=h||{},h=r.defaults(h,u.defaults),d<0)return"";d=Math.round(+d);var p=typeof h.lang=="string"?i[h.lang]:h.lang;p||(n.indexOf(u.defaults.lang)<0&&(u.defaults.lang="en"),p=i[u.defaults.lang]);var l=p.useLongScale?o:a,m=p.units,f;if(!(m instanceof Array)){var b=m;m=[],l=Object.keys(b);for(var v in l)m.push(b[l[v]]),l[v]=Math.pow(10,parseInt(l[v]))}var y=p.base,w=h.alternativeBase?p.alternativeBase[h.alternativeBase]:{};if(p.unitExceptions[d])return p.unitExceptions[d];if(w[d])return w[d];if(y[d])return y[d];if(d<100)return c(d,p,f,y,w,h);var k=d%100,$=[];k&&(h.noAnd&&!(p.andException&&p.andException[10])?$.push(u(k,h)):$.push(p.unitSeparator+u(k,h)));for(var x,v=0,S=m.length;v<S;v++){var _=Math.floor(d/l[v]),A;if(v===S-1?A=1e6:A=l[v+1]/l[v],_%=A,f=m[v],!!_){if(x=l[v],f.useBaseInstead){var C=f.useBaseException.indexOf(_)>-1&&(f.useBaseExceptionWhenNoTrailingNumbers?v===0&&$.length:!0);C?$.push(_>1&&f.plural?f.plural:f.singular):$.push(w[_*l[v]]||y[_*l[v]]);continue}var F;if(typeof f=="string"?F=f:_===1||f.useSingularEnding&&_%10===1&&(!f.avoidEndingRules||f.avoidEndingRules.indexOf(_)<0)?F=f.singular:f.few&&(_>1&&_<5||f.useFewEnding&&_%10>1&&_%10<5&&(!f.avoidEndingRules||f.avoidEndingRules.indexOf(_)<0))?F=f.few:(F=f.plural&&(!f.avoidInNumberPlural||!k)?f.plural:f.singular,F=_===2&&f.dual?f.dual:F,F=_>10&&f.restrictedPlural?f.singular:F),f.avoidPrefixException&&f.avoidPrefixException.indexOf(_)>-1){$.push(F);continue}var D=p.unitExceptions[_],B=D||u(_,r.defaults({noAnd:!(p.andException&&p.andException[_]||f.andException)&&!0,alternativeBase:f.useAlternativeBase},h));d-=_*l[v],$.push(B+" "+F)}}var M=x*Math.floor(d/x),R=d-M;if(p.andWhenTrailing&&x&&0<R&&$[0].indexOf(p.unitSeparator)!==0&&($=[$[0],p.unitSeparator.replace(/\s+$/,"")].concat($.slice(1))),p.allSeparator)for(var V=0;V<$.length-1;V++)$[V]=p.allSeparator+$[V];var Y=$.reverse().join(" ");return Y}function c(d,h,p,l,m,f){var b=Math.floor(d/10)*10;return p=d-b,p?m[b]||l[b]+h.baseSeparator+u(p,f):m[b]||l[b]}}),Wl={},dr={};Jr(dr,{BaseError:()=>me,BaseThrowable:()=>hr,BaseWarning:()=>Re,PotentialLoopError:()=>Dt,TemplateDataValidationError:()=>Xr,TemplateError:()=>Ot,TemplateSyntaxError:()=>He});var hr=class extends Error{name="BaseThrowable";constructor(t,e){super(t),e&&(this.stack=e)}},Re=class extends hr{name="BaseWarning"},me=class extends hr{name="BaseError"},Dt=class extends me{name="PotentialLoopError";constructor(t="Potential loop detected: This might me an internal issue",e){super(t,e)}},Ot=class extends me{name="TemplateError"},He=class extends Ot{name="TemplateSyntaxError"},Xr=class extends Ot{name="TemplateDataValidationError";constructor(t="The entered data is invalid: This might me an internal issue",e){super(t),e&&(this.fieldName=e)}},So={};Jr(So,{DIALECT_MACRO:()=>Lu,Dialect:()=>Pe,StandardDialect:()=>zu,default:()=>j1});var nt={};Jr(nt,{DEFAULT_FIELD_TYPE:()=>cn,DEFAULT_MODEL_DEPTH:()=>At,FilterHelper:()=>Pi,FlextH1SomewhereContentCollector:()=>yu,FlextMacroCollector:()=>bu,HandlebarsCollector:()=>dn,HandlebarsCommentCollector:()=>fu,HandlebarsContentCollector:()=>mu,HandlebarsPathCollector:()=>gu,RegexHelper:()=>Ie,applyAbsoluteOrderToFields:()=>Pu,applyValueOptionsToFields:()=>Nu,astToDataModel:()=>$u,astToMacros:()=>Bi,astToPaths:()=>xu,audit:()=>U,compare:()=>zr,dataModelNodeToMetadata:()=>Oi,defineModule:()=>qe,delegateToCss:()=>vu,delegateToHtml:()=>Di,delegateToHtmlH1:()=>_u,ensureDate:()=>Mi,ensureFieldName:()=>Au,ensureFieldValue:()=>Ni,ensureNullableFieldMinMax:()=>si,ensureNullableFieldMinMaxLength:()=>ui,ensureNullableFieldOrder:()=>Du,ensureNullableString:()=>rr,ensureString:()=>hn,ensureTitle:()=>Cu,has:()=>ai,hbsToAst:()=>Ai,hbsToDelegate:()=>oi,hbsToDelegateValidationErrorsByMetadata:()=>Fi,inarr:()=>pe,isNumber:()=>Ve,isObject:()=>vr,isset:()=>ke,macroToField:()=>Fu,macroToFieldValueOption:()=>Mu,macroToModuleNames:()=>Bu,macroTokenToMacroParam:()=>Eu,macroTokenToMacroParams:()=>Su,matches:()=>li,pathToDataModel:()=>wu,pathToDataModelNode:()=>Hr,stripHtml:()=>pu,sum:()=>Ou,unique:()=>ku,uno:()=>hu});var ht=class extends Error{},Hl=class extends ht{constructor(t){super(`Invalid DateTime: ${t.toMessage()}`)}},Zl=class extends ht{constructor(t){super(`Invalid Interval: ${t.toMessage()}`)}},Yl=class extends ht{constructor(t){super(`Invalid Duration: ${t.toMessage()}`)}},xt=class extends ht{},_o=class extends ht{constructor(t){super(`Invalid unit ${t}`)}},oe=class extends ht{},Ge=class extends ht{constructor(){super("Zone is an abstract class")}},O="numeric",Be="short",fe="long",Tr={year:O,month:O,day:O},Co={year:O,month:Be,day:O},Gl={year:O,month:Be,day:O,weekday:Be},Ao={year:O,month:fe,day:O},Do={year:O,month:fe,day:O,weekday:fe},Oo={hour:O,minute:O},Bo={hour:O,minute:O,second:O},Fo={hour:O,minute:O,second:O,timeZoneName:Be},Mo={hour:O,minute:O,second:O,timeZoneName:fe},No={hour:O,minute:O,hourCycle:"h23"},Po={hour:O,minute:O,second:O,hourCycle:"h23"},Lo={hour:O,minute:O,second:O,hourCycle:"h23",timeZoneName:Be},zo={hour:O,minute:O,second:O,hourCycle:"h23",timeZoneName:fe},To={year:O,month:O,day:O,hour:O,minute:O},jo={year:O,month:O,day:O,hour:O,minute:O,second:O},Io={year:O,month:Be,day:O,hour:O,minute:O},Ro={year:O,month:Be,day:O,hour:O,minute:O,second:O},Jl={year:O,month:Be,day:O,weekday:Be,hour:O,minute:O},Vo={year:O,month:fe,day:O,hour:O,minute:O,timeZoneName:Be},qo={year:O,month:fe,day:O,hour:O,minute:O,second:O,timeZoneName:Be},Uo={year:O,month:fe,day:O,weekday:fe,hour:O,minute:O,timeZoneName:fe},Wo={year:O,month:fe,day:O,weekday:fe,hour:O,minute:O,second:O,timeZoneName:fe},pr=class{get type(){throw new Ge}get name(){throw new Ge}get ianaName(){return this.name}get isUniversal(){throw new Ge}offsetName(t,e){throw new Ge}formatOffset(t,e){throw new Ge}offset(t){throw new Ge}equals(t){throw new Ge}get isValid(){throw new Ge}},gn=null,Ho=class Zo extends pr{static get instance(){return gn===null&&(gn=new Zo),gn}get type(){return"system"}get name(){return new Intl.DateTimeFormat().resolvedOptions().timeZone}get isUniversal(){return!1}offsetName(e,{format:r,locale:n}){return is(e,r,n)}formatOffset(e,r){return nr(this.offset(e),r)}offset(e){return-new Date(e).getTimezoneOffset()}equals(e){return e.type==="system"}get isValid(){return!0}},zn=new Map;function Kl(t){let e=zn.get(t);return e===void 0&&(e=new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:t,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit",era:"short"}),zn.set(t,e)),e}var Xl={year:0,month:1,day:2,era:3,hour:4,minute:5,second:6};function Ql(t,e){let r=t.format(e).replace(/\u200E/g,""),n=/(\d+)\/(\d+)\/(\d+) (AD|BC),? (\d+):(\d+):(\d+)/.exec(r),[,i,a,s,o,u,c,d]=n;return[s,i,a,o,u,c,d]}function e0(t,e){let r=t.formatToParts(e),n=[];for(let i=0;i<r.length;i++){let{type:a,value:s}=r[i],o=Xl[a];a==="era"?n[o]=s:z(o)||(n[o]=parseInt(s,10))}return n}var bn=new Map,Bt=class Tn extends pr{static create(e){let r=bn.get(e);return r===void 0&&bn.set(e,r=new Tn(e)),r}static resetCache(){bn.clear(),zn.clear()}static isValidSpecifier(e){return this.isValidZone(e)}static isValidZone(e){if(!e)return!1;try{return new Intl.DateTimeFormat("en-US",{timeZone:e}).format(),!0}catch{return!1}}constructor(e){super(),this.zoneName=e,this.valid=Tn.isValidZone(e)}get type(){return"iana"}get name(){return this.zoneName}get isUniversal(){return!1}offsetName(e,{format:r,locale:n}){return is(e,r,n,this.name)}formatOffset(e,r){return nr(this.offset(e),r)}offset(e){if(!this.valid)return NaN;let r=new Date(e);if(isNaN(r))return NaN;let n=Kl(this.name),[i,a,s,o,u,c,d]=n.formatToParts?e0(n,r):Ql(n,r);o==="BC"&&(i=-Math.abs(i)+1);let h=en({year:i,month:a,day:s,hour:u===24?0:u,minute:c,second:d,millisecond:0}),p=+r,l=p%1e3;return p-=l>=0?l:1e3+l,(h-p)/(60*1e3)}equals(e){return e.type==="iana"&&e.name===this.name}get isValid(){return this.valid}},Ui={};function t0(t,e={}){let r=JSON.stringify([t,e]),n=Ui[r];return n||(n=new Intl.ListFormat(t,e),Ui[r]=n),n}var jn=new Map;function In(t,e={}){let r=JSON.stringify([t,e]),n=jn.get(r);return n===void 0&&(n=new Intl.DateTimeFormat(t,e),jn.set(r,n)),n}var Rn=new Map;function r0(t,e={}){let r=JSON.stringify([t,e]),n=Rn.get(r);return n===void 0&&(n=new Intl.NumberFormat(t,e),Rn.set(r,n)),n}var Vn=new Map;function n0(t,e={}){let{base:r,...n}=e,i=JSON.stringify([t,n]),a=Vn.get(i);return a===void 0&&(a=new Intl.RelativeTimeFormat(t,e),Vn.set(i,a)),a}var Br=null;function i0(){return Br||(Br=new Intl.DateTimeFormat().resolvedOptions().locale,Br)}var qn=new Map;function Yo(t){let e=qn.get(t);return e===void 0&&(e=new Intl.DateTimeFormat(t).resolvedOptions(),qn.set(t,e)),e}var Un=new Map;function a0(t){let e=Un.get(t);if(!e){let r=new Intl.Locale(t);e="getWeekInfo"in r?r.getWeekInfo():r.weekInfo,"minimalDays"in e||(e={...Go,...e}),Un.set(t,e)}return e}function o0(t){let e=t.indexOf("-x-");e!==-1&&(t=t.substring(0,e));let r=t.indexOf("-u-");if(r===-1)return[t];{let n,i;try{n=In(t).resolvedOptions(),i=t}catch{let o=t.substring(0,r);n=In(o).resolvedOptions(),i=o}let{numberingSystem:a,calendar:s}=n;return[i,a,s]}}function s0(t,e,r){return(r||e)&&(t.includes("-u-")||(t+="-u"),r&&(t+=`-ca-${r}`),e&&(t+=`-nu-${e}`)),t}function u0(t){let e=[];for(let r=1;r<=12;r++){let n=Z.utc(2009,r,1);e.push(t(n))}return e}function l0(t){let e=[];for(let r=1;r<=7;r++){let n=Z.utc(2016,11,13+r);e.push(t(n))}return e}function xr(t,e,r,n){let i=t.listingMode();return i==="error"?null:i==="en"?r(e):n(e)}function c0(t){return t.numberingSystem&&t.numberingSystem!=="latn"?!1:t.numberingSystem==="latn"||!t.locale||t.locale.startsWith("en")||Yo(t.locale).numberingSystem==="latn"}var d0=class{constructor(t,e,r){this.padTo=r.padTo||0,this.floor=r.floor||!1;let{padTo:n,floor:i,...a}=r;if(!e||Object.keys(a).length>0){let s={useGrouping:!1,...r};r.padTo>0&&(s.minimumIntegerDigits=r.padTo),this.inf=r0(t,s)}}format(t){if(this.inf){let e=this.floor?Math.floor(t):t;return this.inf.format(e)}else{let e=this.floor?Math.floor(t):bi(t,3);return ne(e,this.padTo)}}},h0=class{constructor(t,e,r){this.opts=r,this.originalZone=void 0;let n;if(this.opts.timeZone)this.dt=t;else if(t.zone.type==="fixed"){let a=-1*(t.offset/60),s=a>=0?`Etc/GMT+${a}`:`Etc/GMT${a}`;t.offset!==0&&Bt.create(s).valid?(n=s,this.dt=t):(n="UTC",this.dt=t.offset===0?t:t.setZone("UTC").plus({minutes:t.offset}),this.originalZone=t.zone)}else t.zone.type==="system"?this.dt=t:t.zone.type==="iana"?(this.dt=t,n=t.zone.name):(n="UTC",this.dt=t.setZone("UTC").plus({minutes:t.offset}),this.originalZone=t.zone);let i={...this.opts};i.timeZone=i.timeZone||n,this.dtf=In(e,i)}format(){return this.originalZone?this.formatToParts().map(({value:t})=>t).join(""):this.dtf.format(this.dt.toJSDate())}formatToParts(){let t=this.dtf.formatToParts(this.dt.toJSDate());return this.originalZone?t.map(e=>{if(e.type==="timeZoneName"){let r=this.originalZone.offsetName(this.dt.ts,{locale:this.dt.locale,format:this.opts.timeZoneName});return{...e,value:r}}else return e}):t}resolvedOptions(){return this.dtf.resolvedOptions()}},p0=class{constructor(t,e,r){this.opts={style:"long",...r},!e&&rs()&&(this.rtf=n0(t,r))}format(t,e){return this.rtf?this.rtf.format(t,e):P0(e,t,this.opts.numeric,this.opts.style!=="long")}formatToParts(t,e){return this.rtf?this.rtf.formatToParts(t,e):[]}},Go={firstDay:1,minimalDays:4,weekend:[6,7]},W=class Gt{static fromOpts(e){return Gt.create(e.locale,e.numberingSystem,e.outputCalendar,e.weekSettings,e.defaultToEN)}static create(e,r,n,i,a=!1){let s=e||K.defaultLocale,o=s||(a?"en-US":i0()),u=r||K.defaultNumberingSystem,c=n||K.defaultOutputCalendar,d=Hn(i)||K.defaultWeekSettings;return new Gt(o,u,c,d,s)}static resetCache(){Br=null,jn.clear(),Rn.clear(),Vn.clear(),qn.clear(),Un.clear()}static fromObject({locale:e,numberingSystem:r,outputCalendar:n,weekSettings:i}={}){return Gt.create(e,r,n,i)}constructor(e,r,n,i,a){let[s,o,u]=o0(e);this.locale=s,this.numberingSystem=r||o||null,this.outputCalendar=n||u||null,this.weekSettings=i,this.intl=s0(this.locale,this.numberingSystem,this.outputCalendar),this.weekdaysCache={format:{},standalone:{}},this.monthsCache={format:{},standalone:{}},this.meridiemCache=null,this.eraCache={},this.specifiedLocale=a,this.fastNumbersCached=null}get fastNumbers(){return this.fastNumbersCached==null&&(this.fastNumbersCached=c0(this)),this.fastNumbersCached}listingMode(){let e=this.isEnglish(),r=(this.numberingSystem===null||this.numberingSystem==="latn")&&(this.outputCalendar===null||this.outputCalendar==="gregory");return e&&r?"en":"intl"}clone(e){return!e||Object.getOwnPropertyNames(e).length===0?this:Gt.create(e.locale||this.specifiedLocale,e.numberingSystem||this.numberingSystem,e.outputCalendar||this.outputCalendar,Hn(e.weekSettings)||this.weekSettings,e.defaultToEN||!1)}redefaultToEN(e={}){return this.clone({...e,defaultToEN:!0})}redefaultToSystem(e={}){return this.clone({...e,defaultToEN:!1})}months(e,r=!1){return xr(this,e,ss,()=>{let n=this.intl==="ja"||this.intl.startsWith("ja-");r&=!n;let i=r?{month:e,day:"numeric"}:{month:e},a=r?"format":"standalone";if(!this.monthsCache[a][e]){let s=n?o=>this.dtFormatter(o,i).format():o=>this.extract(o,i,"month");this.monthsCache[a][e]=u0(s)}return this.monthsCache[a][e]})}weekdays(e,r=!1){return xr(this,e,cs,()=>{let n=r?{weekday:e,year:"numeric",month:"long",day:"numeric"}:{weekday:e},i=r?"format":"standalone";return this.weekdaysCache[i][e]||(this.weekdaysCache[i][e]=l0(a=>this.extract(a,n,"weekday"))),this.weekdaysCache[i][e]})}meridiems(){return xr(this,void 0,()=>ds,()=>{if(!this.meridiemCache){let e={hour:"numeric",hourCycle:"h12"};this.meridiemCache=[Z.utc(2016,11,13,9),Z.utc(2016,11,13,19)].map(r=>this.extract(r,e,"dayperiod"))}return this.meridiemCache})}eras(e){return xr(this,e,hs,()=>{let r={era:e};return this.eraCache[e]||(this.eraCache[e]=[Z.utc(-40,1,1),Z.utc(2017,1,1)].map(n=>this.extract(n,r,"era"))),this.eraCache[e]})}extract(e,r,n){let i=this.dtFormatter(e,r),a=i.formatToParts(),s=a.find(o=>o.type.toLowerCase()===n);return s?s.value:null}numberFormatter(e={}){return new d0(this.intl,e.forceSimple||this.fastNumbers,e)}dtFormatter(e,r={}){return new h0(e,this.intl,r)}relFormatter(e={}){return new p0(this.intl,this.isEnglish(),e)}listFormatter(e={}){return t0(this.intl,e)}isEnglish(){return this.locale==="en"||this.locale.toLowerCase()==="en-us"||Yo(this.intl).locale.startsWith("en-us")}getWeekSettings(){return this.weekSettings?this.weekSettings:ns()?a0(this.locale):Go}getStartOfWeek(){return this.getWeekSettings().firstDay}getMinDaysInFirstWeek(){return this.getWeekSettings().minimalDays}getWeekendDays(){return this.getWeekSettings().weekend}equals(e){return this.locale===e.locale&&this.numberingSystem===e.numberingSystem&&this.outputCalendar===e.outputCalendar}toString(){return`Locale(${this.locale}, ${this.numberingSystem}, ${this.outputCalendar})`}},yn=null,je=class Jt extends pr{static get utcInstance(){return yn===null&&(yn=new Jt(0)),yn}static instance(e){return e===0?Jt.utcInstance:new Jt(e)}static parseSpecifier(e){if(e){let r=e.match(/^utc(?:([+-]\d{1,2})(?::(\d{2}))?)?$/i);if(r)return new Jt(tn(r[1],r[2]))}return null}constructor(e){super(),this.fixed=e}get type(){return"fixed"}get name(){return this.fixed===0?"UTC":`UTC${nr(this.fixed,"narrow")}`}get ianaName(){return this.fixed===0?"Etc/UTC":`Etc/GMT${nr(-this.fixed,"narrow")}`}offsetName(){return this.name}formatOffset(e,r){return nr(this.fixed,r)}get isUniversal(){return!0}offset(){return this.fixed}equals(e){return e.type==="fixed"&&e.fixed===this.fixed}get isValid(){return!0}},f0=class extends pr{constructor(t){super(),this.zoneName=t}get type(){return"invalid"}get name(){return this.zoneName}get isUniversal(){return!1}offsetName(){return null}formatOffset(){return""}offset(){return NaN}equals(){return!1}get isValid(){return!1}};function Qe(t,e){if(z(t)||t===null)return e;if(t instanceof pr)return t;if(k0(t)){let r=t.toLowerCase();return r==="default"?e:r==="local"||r==="system"?Ho.instance:r==="utc"||r==="gmt"?je.utcInstance:je.parseSpecifier(r)||Bt.create(t)}else return et(t)?je.instance(t):typeof t=="object"&&"offset"in t&&typeof t.offset=="function"?t:new f0(t)}var pi={arab:"[\u0660-\u0669]",arabext:"[\u06F0-\u06F9]",bali:"[\u1B50-\u1B59]",beng:"[\u09E6-\u09EF]",deva:"[\u0966-\u096F]",fullwide:"[\uFF10-\uFF19]",gujr:"[\u0AE6-\u0AEF]",hanidec:"[\u3007|\u4E00|\u4E8C|\u4E09|\u56DB|\u4E94|\u516D|\u4E03|\u516B|\u4E5D]",khmr:"[\u17E0-\u17E9]",knda:"[\u0CE6-\u0CEF]",laoo:"[\u0ED0-\u0ED9]",limb:"[\u1946-\u194F]",mlym:"[\u0D66-\u0D6F]",mong:"[\u1810-\u1819]",mymr:"[\u1040-\u1049]",orya:"[\u0B66-\u0B6F]",tamldec:"[\u0BE6-\u0BEF]",telu:"[\u0C66-\u0C6F]",thai:"[\u0E50-\u0E59]",tibt:"[\u0F20-\u0F29]",latn:"\\d"},Wi={arab:[1632,1641],arabext:[1776,1785],bali:[6992,7001],beng:[2534,2543],deva:[2406,2415],fullwide:[65296,65303],gujr:[2790,2799],khmr:[6112,6121],knda:[3302,3311],laoo:[3792,3801],limb:[6470,6479],mlym:[3430,3439],mong:[6160,6169],mymr:[4160,4169],orya:[2918,2927],tamldec:[3046,3055],telu:[3174,3183],thai:[3664,3673],tibt:[3872,3881]},m0=pi.hanidec.replace(/[\[|\]]/g,"").split("");function g0(t){let e=parseInt(t,10);if(isNaN(e)){e="";for(let r=0;r<t.length;r++){let n=t.charCodeAt(r);if(t[r].search(pi.hanidec)!==-1)e+=m0.indexOf(t[r]);else for(let i in Wi){let[a,s]=Wi[i];n>=a&&n<=s&&(e+=n-a)}}return parseInt(e,10)}else return e}var Wn=new Map;function b0(){Wn.clear()}function _e({numberingSystem:t},e=""){let r=t||"latn",n=Wn.get(r);n===void 0&&(n=new Map,Wn.set(r,n));let i=n.get(e);return i===void 0&&(i=new RegExp(`${pi[r]}${e}`),n.set(e,i)),i}var Hi=()=>Date.now(),Zi="system",Yi=null,Gi=null,Ji=null,Ki=60,Xi,Qi=null,K=class{static get now(){return Hi}static set now(t){Hi=t}static set defaultZone(t){Zi=t}static get defaultZone(){return Qe(Zi,Ho.instance)}static get defaultLocale(){return Yi}static set defaultLocale(t){Yi=t}static get defaultNumberingSystem(){return Gi}static set defaultNumberingSystem(t){Gi=t}static get defaultOutputCalendar(){return Ji}static set defaultOutputCalendar(t){Ji=t}static get defaultWeekSettings(){return Qi}static set defaultWeekSettings(t){Qi=Hn(t)}static get twoDigitCutoffYear(){return Ki}static set twoDigitCutoffYear(t){Ki=t%100}static get throwOnInvalid(){return Xi}static set throwOnInvalid(t){Xi=t}static resetCaches(){W.resetCache(),Bt.resetCache(),Z.resetCache(),b0()}},Oe=class{constructor(t,e){this.reason=t,this.explanation=e}toMessage(){return this.explanation?`${this.reason}: ${this.explanation}`:this.reason}},Jo=[0,31,59,90,120,151,181,212,243,273,304,334],Ko=[0,31,60,91,121,152,182,213,244,274,305,335];function ye(t,e){return new Oe("unit out of range",`you specified ${e} (of type ${typeof e}) as a ${t}, which is invalid`)}function fi(t,e,r){let n=new Date(Date.UTC(t,e-1,r));t<100&&t>=0&&n.setUTCFullYear(n.getUTCFullYear()-1900);let i=n.getUTCDay();return i===0?7:i}function Xo(t,e,r){return r+(fr(t)?Ko:Jo)[e-1]}function Qo(t,e){let r=fr(t)?Ko:Jo,n=r.findIndex(a=>a<e),i=e-r[n];return{month:n+1,day:i}}function mi(t,e){return(t-e+7)%7+1}function jr(t,e=4,r=1){let{year:n,month:i,day:a}=t,s=Xo(n,i,a),o=mi(fi(n,i,a),r),u=Math.floor((s-o+14-e)/7),c;return u<1?(c=n-1,u=ar(c,e,r)):u>ar(n,e,r)?(c=n+1,u=1):c=n,{weekYear:c,weekNumber:u,weekday:o,...rn(t)}}function ea(t,e=4,r=1){let{weekYear:n,weekNumber:i,weekday:a}=t,s=mi(fi(n,1,e),r),o=$t(n),u=i*7+a-s-7+e,c;u<1?(c=n-1,u+=$t(c)):u>o?(c=n+1,u-=$t(n)):c=n;let{month:d,day:h}=Qo(c,u);return{year:c,month:d,day:h,...rn(t)}}function vn(t){let{year:e,month:r,day:n}=t,i=Xo(e,r,n);return{year:e,ordinal:i,...rn(t)}}function ta(t){let{year:e,ordinal:r}=t,{month:n,day:i}=Qo(e,r);return{year:e,month:n,day:i,...rn(t)}}function ra(t,e){if(!z(t.localWeekday)||!z(t.localWeekNumber)||!z(t.localWeekYear)){if(!z(t.weekday)||!z(t.weekNumber)||!z(t.weekYear))throw new xt("Cannot mix locale-based week fields with ISO-based week fields");return z(t.localWeekday)||(t.weekday=t.localWeekday),z(t.localWeekNumber)||(t.weekNumber=t.localWeekNumber),z(t.localWeekYear)||(t.weekYear=t.localWeekYear),delete t.localWeekday,delete t.localWeekNumber,delete t.localWeekYear,{minDaysInFirstWeek:e.getMinDaysInFirstWeek(),startOfWeek:e.getStartOfWeek()}}else return{minDaysInFirstWeek:4,startOfWeek:1}}function y0(t,e=4,r=1){let n=Qr(t.weekYear),i=ve(t.weekNumber,1,ar(t.weekYear,e,r)),a=ve(t.weekday,1,7);return n?i?a?!1:ye("weekday",t.weekday):ye("week",t.weekNumber):ye("weekYear",t.weekYear)}function v0(t){let e=Qr(t.year),r=ve(t.ordinal,1,$t(t.year));return e?r?!1:ye("ordinal",t.ordinal):ye("year",t.year)}function es(t){let e=Qr(t.year),r=ve(t.month,1,12),n=ve(t.day,1,Ir(t.year,t.month));return e?r?n?!1:ye("day",t.day):ye("month",t.month):ye("year",t.year)}function ts(t){let{hour:e,minute:r,second:n,millisecond:i}=t,a=ve(e,0,23)||e===24&&r===0&&n===0&&i===0,s=ve(r,0,59),o=ve(n,0,59),u=ve(i,0,999);return a?s?o?u?!1:ye("millisecond",i):ye("second",n):ye("minute",r):ye("hour",e)}function z(t){return typeof t>"u"}function et(t){return typeof t=="number"}function Qr(t){return typeof t=="number"&&t%1===0}function k0(t){return typeof t=="string"}function x0(t){return Object.prototype.toString.call(t)==="[object Date]"}function rs(){try{return typeof Intl<"u"&&!!Intl.RelativeTimeFormat}catch{return!1}}function ns(){try{return typeof Intl<"u"&&!!Intl.Locale&&("weekInfo"in Intl.Locale.prototype||"getWeekInfo"in Intl.Locale.prototype)}catch{return!1}}function w0(t){return Array.isArray(t)?t:[t]}function na(t,e,r){if(t.length!==0)return t.reduce((n,i)=>{let a=[e(i),i];return n&&r(n[0],a[0])===n[0]?n:a},null)[1]}function $0(t,e){return e.reduce((r,n)=>(r[n]=t[n],r),{})}function St(t,e){return Object.prototype.hasOwnProperty.call(t,e)}function Hn(t){if(t==null)return null;if(typeof t!="object")throw new oe("Week settings must be an object");if(!ve(t.firstDay,1,7)||!ve(t.minimalDays,1,7)||!Array.isArray(t.weekend)||t.weekend.some(e=>!ve(e,1,7)))throw new oe("Invalid week settings");return{firstDay:t.firstDay,minimalDays:t.minimalDays,weekend:Array.from(t.weekend)}}function ve(t,e,r){return Qr(t)&&t>=e&&t<=r}function E0(t,e){return t-e*Math.floor(t/e)}function ne(t,e=2){let r=t<0,n;return r?n="-"+(""+-t).padStart(e,"0"):n=(""+t).padStart(e,"0"),n}function Xe(t){if(!(z(t)||t===null||t===""))return parseInt(t,10)}function at(t){if(!(z(t)||t===null||t===""))return parseFloat(t)}function gi(t){if(!(z(t)||t===null||t==="")){let e=parseFloat("0."+t)*1e3;return Math.floor(e)}}function bi(t,e,r="round"){let n=10**e;switch(r){case"expand":return t>0?Math.ceil(t*n)/n:Math.floor(t*n)/n;case"trunc":return Math.trunc(t*n)/n;case"round":return Math.round(t*n)/n;case"floor":return Math.floor(t*n)/n;case"ceil":return Math.ceil(t*n)/n;default:throw new RangeError(`Value rounding ${r} is out of range`)}}function fr(t){return t%4===0&&(t%100!==0||t%400===0)}function $t(t){return fr(t)?366:365}function Ir(t,e){let r=E0(e-1,12)+1,n=t+(e-r)/12;return r===2?fr(n)?29:28:[31,null,31,30,31,30,31,31,30,31,30,31][r-1]}function en(t){let e=Date.UTC(t.year,t.month-1,t.day,t.hour,t.minute,t.second,t.millisecond);return t.year<100&&t.year>=0&&(e=new Date(e),e.setUTCFullYear(t.year,t.month-1,t.day)),+e}function ia(t,e,r){return-mi(fi(t,1,e),r)+e-1}function ar(t,e=4,r=1){let n=ia(t,e,r),i=ia(t+1,e,r);return($t(t)-n+i)/7}function Zn(t){return t>99?t:t>K.twoDigitCutoffYear?1900+t:2e3+t}function is(t,e,r,n=null){let i=new Date(t),a={hourCycle:"h23",year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit"};n&&(a.timeZone=n);let s={timeZoneName:e,...a},o=new Intl.DateTimeFormat(r,s).formatToParts(i).find(u=>u.type.toLowerCase()==="timezonename");return o?o.value:null}function tn(t,e){let r=parseInt(t,10);Number.isNaN(r)&&(r=0);let n=parseInt(e,10)||0,i=r<0||Object.is(r,-0)?-n:n;return r*60+i}function as(t){let e=Number(t);if(typeof t=="boolean"||t===""||!Number.isFinite(e))throw new oe(`Invalid unit value ${t}`);return e}function Rr(t,e){let r={};for(let n in t)if(St(t,n)){let i=t[n];if(i==null)continue;r[e(n)]=as(i)}return r}function nr(t,e){let r=Math.trunc(Math.abs(t/60)),n=Math.trunc(Math.abs(t%60)),i=t>=0?"+":"-";switch(e){case"short":return`${i}${ne(r,2)}:${ne(n,2)}`;case"narrow":return`${i}${r}${n>0?`:${n}`:""}`;case"techie":return`${i}${ne(r,2)}${ne(n,2)}`;default:throw new RangeError(`Value format ${e} is out of range for property format`)}}function rn(t){return $0(t,["hour","minute","second","millisecond"])}var S0=["January","February","March","April","May","June","July","August","September","October","November","December"],os=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],_0=["J","F","M","A","M","J","J","A","S","O","N","D"];function ss(t){switch(t){case"narrow":return[..._0];case"short":return[...os];case"long":return[...S0];case"numeric":return["1","2","3","4","5","6","7","8","9","10","11","12"];case"2-digit":return["01","02","03","04","05","06","07","08","09","10","11","12"];default:return null}}var us=["Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday"],ls=["Mon","Tue","Wed","Thu","Fri","Sat","Sun"],C0=["M","T","W","T","F","S","S"];function cs(t){switch(t){case"narrow":return[...C0];case"short":return[...ls];case"long":return[...us];case"numeric":return["1","2","3","4","5","6","7"];default:return null}}var ds=["AM","PM"],A0=["Before Christ","Anno Domini"],D0=["BC","AD"],O0=["B","A"];function hs(t){switch(t){case"narrow":return[...O0];case"short":return[...D0];case"long":return[...A0];default:return null}}function B0(t){return ds[t.hour<12?0:1]}function F0(t,e){return cs(e)[t.weekday-1]}function M0(t,e){return ss(e)[t.month-1]}function N0(t,e){return hs(e)[t.year<0?0:1]}function P0(t,e,r="always",n=!1){let i={years:["year","yr."],quarters:["quarter","qtr."],months:["month","mo."],weeks:["week","wk."],days:["day","day","days"],hours:["hour","hr."],minutes:["minute","min."],seconds:["second","sec."]},a=["hours","minutes","seconds"].indexOf(t)===-1;if(r==="auto"&&a){let h=t==="days";switch(e){case 1:return h?"tomorrow":`next ${i[t][0]}`;case-1:return h?"yesterday":`last ${i[t][0]}`;case 0:return h?"today":`this ${i[t][0]}`}}let s=Object.is(e,-0)||e<0,o=Math.abs(e),u=o===1,c=i[t],d=n?u?c[1]:c[2]||c[1]:u?i[t][0]:t;return s?`${o} ${d} ago`:`in ${o} ${d}`}function aa(t,e){let r="";for(let n of t)n.literal?r+=n.val:r+=e(n.val);return r}var L0={D:Tr,DD:Co,DDD:Ao,DDDD:Do,t:Oo,tt:Bo,ttt:Fo,tttt:Mo,T:No,TT:Po,TTT:Lo,TTTT:zo,f:To,ff:Io,fff:Vo,ffff:Uo,F:jo,FF:Ro,FFF:qo,FFFF:Wo},De=class Kt{static create(e,r={}){return new Kt(e,r)}static parseFormat(e){let r=null,n="",i=!1,a=[];for(let s=0;s<e.length;s++){let o=e.charAt(s);o==="'"?((n.length>0||i)&&a.push({literal:i||/^\s+$/.test(n),val:n===""?"'":n}),r=null,n="",i=!i):i||o===r?n+=o:(n.length>0&&a.push({literal:/^\s+$/.test(n),val:n}),n=o,r=o)}return n.length>0&&a.push({literal:i||/^\s+$/.test(n),val:n}),a}static macroTokenToFormatOpts(e){return L0[e]}constructor(e,r){this.opts=r,this.loc=e,this.systemLoc=null}formatWithSystemDefault(e,r){return this.systemLoc===null&&(this.systemLoc=this.loc.redefaultToSystem()),this.systemLoc.dtFormatter(e,{...this.opts,...r}).format()}dtFormatter(e,r={}){return this.loc.dtFormatter(e,{...this.opts,...r})}formatDateTime(e,r){return this.dtFormatter(e,r).format()}formatDateTimeParts(e,r){return this.dtFormatter(e,r).formatToParts()}formatInterval(e,r){return this.dtFormatter(e.start,r).dtf.formatRange(e.start.toJSDate(),e.end.toJSDate())}resolvedOptions(e,r){return this.dtFormatter(e,r).resolvedOptions()}num(e,r=0,n=void 0){if(this.opts.forceSimple)return ne(e,r);let i={...this.opts};return r>0&&(i.padTo=r),n&&(i.signDisplay=n),this.loc.numberFormatter(i).format(e)}formatDateTimeFromString(e,r){let n=this.loc.listingMode()==="en",i=this.loc.outputCalendar&&this.loc.outputCalendar!=="gregory",a=(l,m)=>this.loc.extract(e,l,m),s=l=>e.isOffsetFixed&&e.offset===0&&l.allowZ?"Z":e.isValid?e.zone.formatOffset(e.ts,l.format):"",o=()=>n?B0(e):a({hour:"numeric",hourCycle:"h12"},"dayperiod"),u=(l,m)=>n?M0(e,l):a(m?{month:l}:{month:l,day:"numeric"},"month"),c=(l,m)=>n?F0(e,l):a(m?{weekday:l}:{weekday:l,month:"long",day:"numeric"},"weekday"),d=l=>{let m=Kt.macroTokenToFormatOpts(l);return m?this.formatWithSystemDefault(e,m):l},h=l=>n?N0(e,l):a({era:l},"era"),p=l=>{switch(l){case"S":return this.num(e.millisecond);case"u":case"SSS":return this.num(e.millisecond,3);case"s":return this.num(e.second);case"ss":return this.num(e.second,2);case"uu":return this.num(Math.floor(e.millisecond/10),2);case"uuu":return this.num(Math.floor(e.millisecond/100));case"m":return this.num(e.minute);case"mm":return this.num(e.minute,2);case"h":return this.num(e.hour%12===0?12:e.hour%12);case"hh":return this.num(e.hour%12===0?12:e.hour%12,2);case"H":return this.num(e.hour);case"HH":return this.num(e.hour,2);case"Z":return s({format:"narrow",allowZ:this.opts.allowZ});case"ZZ":return s({format:"short",allowZ:this.opts.allowZ});case"ZZZ":return s({format:"techie",allowZ:this.opts.allowZ});case"ZZZZ":return e.zone.offsetName(e.ts,{format:"short",locale:this.loc.locale});case"ZZZZZ":return e.zone.offsetName(e.ts,{format:"long",locale:this.loc.locale});case"z":return e.zoneName;case"a":return o();case"d":return i?a({day:"numeric"},"day"):this.num(e.day);case"dd":return i?a({day:"2-digit"},"day"):this.num(e.day,2);case"c":return this.num(e.weekday);case"ccc":return c("short",!0);case"cccc":return c("long",!0);case"ccccc":return c("narrow",!0);case"E":return this.num(e.weekday);case"EEE":return c("short",!1);case"EEEE":return c("long",!1);case"EEEEE":return c("narrow",!1);case"L":return i?a({month:"numeric",day:"numeric"},"month"):this.num(e.month);case"LL":return i?a({month:"2-digit",day:"numeric"},"month"):this.num(e.month,2);case"LLL":return u("short",!0);case"LLLL":return u("long",!0);case"LLLLL":return u("narrow",!0);case"M":return i?a({month:"numeric"},"month"):this.num(e.month);case"MM":return i?a({month:"2-digit"},"month"):this.num(e.month,2);case"MMM":return u("short",!1);case"MMMM":return u("long",!1);case"MMMMM":return u("narrow",!1);case"y":return i?a({year:"numeric"},"year"):this.num(e.year);case"yy":return i?a({year:"2-digit"},"year"):this.num(e.year.toString().slice(-2),2);case"yyyy":return i?a({year:"numeric"},"year"):this.num(e.year,4);case"yyyyyy":return i?a({year:"numeric"},"year"):this.num(e.year,6);case"G":return h("short");case"GG":return h("long");case"GGGGG":return h("narrow");case"kk":return this.num(e.weekYear.toString().slice(-2),2);case"kkkk":return this.num(e.weekYear,4);case"W":return this.num(e.weekNumber);case"WW":return this.num(e.weekNumber,2);case"n":return this.num(e.localWeekNumber);case"nn":return this.num(e.localWeekNumber,2);case"ii":return this.num(e.localWeekYear.toString().slice(-2),2);case"iiii":return this.num(e.localWeekYear,4);case"o":return this.num(e.ordinal);case"ooo":return this.num(e.ordinal,3);case"q":return this.num(e.quarter);case"qq":return this.num(e.quarter,2);case"X":return this.num(Math.floor(e.ts/1e3));case"x":return this.num(e.ts);default:return d(l)}};return aa(Kt.parseFormat(r),p)}formatDurationFromString(e,r){let n=this.opts.signMode==="negativeLargestOnly"?-1:1,i=d=>{switch(d[0]){case"S":return"milliseconds";case"s":return"seconds";case"m":return"minutes";case"h":return"hours";case"d":return"days";case"w":return"weeks";case"M":return"months";case"y":return"years";default:return null}},a=(d,h)=>p=>{let l=i(p);if(l){let m=h.isNegativeDuration&&l!==h.largestUnit?n:1,f;return this.opts.signMode==="negativeLargestOnly"&&l!==h.largestUnit?f="never":this.opts.signMode==="all"?f="always":f="auto",this.num(d.get(l)*m,p.length,f)}else return p},s=Kt.parseFormat(r),o=s.reduce((d,{literal:h,val:p})=>h?d:d.concat(p),[]),u=e.shiftTo(...o.map(i).filter(d=>d)),c={isNegativeDuration:u<0,largestUnit:Object.keys(u.values)[0]};return aa(s,a(u,c))}},ps=/[A-Za-z_+-]{1,256}(?::?\/[A-Za-z0-9_+-]{1,256}(?:\/[A-Za-z0-9_+-]{1,256})?)?/;function Ft(...t){let e=t.reduce((r,n)=>r+n.source,"");return RegExp(`^${e}$`)}function Mt(...t){return e=>t.reduce(([r,n,i],a)=>{let[s,o,u]=a(e,i);return[{...r,...s},o||n,u]},[{},null,1]).slice(0,2)}function Nt(t,...e){if(t==null)return[null,null];for(let[r,n]of e){let i=r.exec(t);if(i)return n(i)}return[null,null]}function fs(...t){return(e,r)=>{let n={},i;for(i=0;i<t.length;i++)n[t[i]]=Xe(e[r+i]);return[n,null,r+i]}}var ms=/(?:([Zz])|([+-]\d\d)(?::?(\d\d))?)/,z0=`(?:${ms.source}?(?:\\[(${ps.source})\\])?)?`,yi=/(\d\d)(?::?(\d\d)(?::?(\d\d)(?:[.,](\d{1,30}))?)?)?/,gs=RegExp(`${yi.source}${z0}`),vi=RegExp(`(?:[Tt]${gs.source})?`),T0=/([+-]\d{6}|\d{4})(?:-?(\d\d)(?:-?(\d\d))?)?/,j0=/(\d{4})-?W(\d\d)(?:-?(\d))?/,I0=/(\d{4})-?(\d{3})/,R0=fs("weekYear","weekNumber","weekDay"),V0=fs("year","ordinal"),q0=/(\d{4})-(\d\d)-(\d\d)/,bs=RegExp(`${yi.source} ?(?:${ms.source}|(${ps.source}))?`),U0=RegExp(`(?: ${bs.source})?`);function Et(t,e,r){let n=t[e];return z(n)?r:Xe(n)}function W0(t,e){return[{year:Et(t,e),month:Et(t,e+1,1),day:Et(t,e+2,1)},null,e+3]}function Pt(t,e){return[{hours:Et(t,e,0),minutes:Et(t,e+1,0),seconds:Et(t,e+2,0),milliseconds:gi(t[e+3])},null,e+4]}function mr(t,e){let r=!t[e]&&!t[e+1],n=tn(t[e+1],t[e+2]),i=r?null:je.instance(n);return[{},i,e+3]}function gr(t,e){let r=t[e]?Bt.create(t[e]):null;return[{},r,e+1]}var H0=RegExp(`^T?${yi.source}$`),Z0=/^-?P(?:(?:(-?\d{1,20}(?:\.\d{1,20})?)Y)?(?:(-?\d{1,20}(?:\.\d{1,20})?)M)?(?:(-?\d{1,20}(?:\.\d{1,20})?)W)?(?:(-?\d{1,20}(?:\.\d{1,20})?)D)?(?:T(?:(-?\d{1,20}(?:\.\d{1,20})?)H)?(?:(-?\d{1,20}(?:\.\d{1,20})?)M)?(?:(-?\d{1,20})(?:[.,](-?\d{1,20}))?S)?)?)$/;function Y0(t){let[e,r,n,i,a,s,o,u,c]=t,d=e[0]==="-",h=u&&u[0]==="-",p=(l,m=!1)=>l!==void 0&&(m||l&&d)?-l:l;return[{years:p(at(r)),months:p(at(n)),weeks:p(at(i)),days:p(at(a)),hours:p(at(s)),minutes:p(at(o)),seconds:p(at(u),u==="-0"),milliseconds:p(gi(c),h)}]}var G0={GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function ki(t,e,r,n,i,a,s){let o={year:e.length===2?Zn(Xe(e)):Xe(e),month:os.indexOf(r)+1,day:Xe(n),hour:Xe(i),minute:Xe(a)};return s&&(o.second=Xe(s)),t&&(o.weekday=t.length>3?us.indexOf(t)+1:ls.indexOf(t)+1),o}var J0=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|(?:([+-]\d\d)(\d\d)))$/;function K0(t){let[,e,r,n,i,a,s,o,u,c,d,h]=t,p=ki(e,i,n,r,a,s,o),l;return u?l=G0[u]:c?l=0:l=tn(d,h),[p,new je(l)]}function X0(t){return t.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").trim()}var Q0=/^(Mon|Tue|Wed|Thu|Fri|Sat|Sun), (\d\d) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) (\d{4}) (\d\d):(\d\d):(\d\d) GMT$/,ec=/^(Monday|Tuesday|Wednesday|Thursday|Friday|Saturday|Sunday), (\d\d)-(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)-(\d\d) (\d\d):(\d\d):(\d\d) GMT$/,tc=/^(Mon|Tue|Wed|Thu|Fri|Sat|Sun) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) ( \d|\d\d) (\d\d):(\d\d):(\d\d) (\d{4})$/;function oa(t){let[,e,r,n,i,a,s,o]=t;return[ki(e,i,n,r,a,s,o),je.utcInstance]}function rc(t){let[,e,r,n,i,a,s,o]=t;return[ki(e,o,r,n,i,a,s),je.utcInstance]}var nc=Ft(T0,vi),ic=Ft(j0,vi),ac=Ft(I0,vi),oc=Ft(gs),ys=Mt(W0,Pt,mr,gr),sc=Mt(R0,Pt,mr,gr),uc=Mt(V0,Pt,mr,gr),lc=Mt(Pt,mr,gr);function cc(t){return Nt(t,[nc,ys],[ic,sc],[ac,uc],[oc,lc])}function dc(t){return Nt(X0(t),[J0,K0])}function hc(t){return Nt(t,[Q0,oa],[ec,oa],[tc,rc])}function pc(t){return Nt(t,[Z0,Y0])}var fc=Mt(Pt);function mc(t){return Nt(t,[H0,fc])}var gc=Ft(q0,U0),bc=Ft(bs),yc=Mt(Pt,mr,gr);function vc(t){return Nt(t,[gc,ys],[bc,yc])}var sa="Invalid Duration",vs={weeks:{days:7,hours:168,minutes:10080,seconds:10080*60,milliseconds:10080*60*1e3},days:{hours:24,minutes:1440,seconds:1440*60,milliseconds:1440*60*1e3},hours:{minutes:60,seconds:3600,milliseconds:3600*1e3},minutes:{seconds:60,milliseconds:60*1e3},seconds:{milliseconds:1e3}},kc={years:{quarters:4,months:12,weeks:52,days:365,hours:365*24,minutes:365*24*60,seconds:365*24*60*60,milliseconds:365*24*60*60*1e3},quarters:{months:3,weeks:13,days:91,hours:2184,minutes:2184*60,seconds:2184*60*60,milliseconds:2184*60*60*1e3},months:{weeks:4,days:30,hours:720,minutes:720*60,seconds:720*60*60,milliseconds:720*60*60*1e3},...vs},be=146097/400,ft=146097/4800,xc={years:{quarters:4,months:12,weeks:be/7,days:be,hours:be*24,minutes:be*24*60,seconds:be*24*60*60,milliseconds:be*24*60*60*1e3},quarters:{months:3,weeks:be/28,days:be/4,hours:be*24/4,minutes:be*24*60/4,seconds:be*24*60*60/4,milliseconds:be*24*60*60*1e3/4},months:{weeks:ft/7,days:ft,hours:ft*24,minutes:ft*24*60,seconds:ft*24*60*60,milliseconds:ft*24*60*60*1e3},...vs},st=["years","quarters","months","weeks","days","hours","minutes","seconds","milliseconds"],wc=st.slice(0).reverse();function Ue(t,e,r=!1){let n={values:r?e.values:{...t.values,...e.values||{}},loc:t.loc.clone(e.loc),conversionAccuracy:e.conversionAccuracy||t.conversionAccuracy,matrix:e.matrix||t.matrix};return new se(n)}function ks(t,e){let r=e.milliseconds??0;for(let n of wc.slice(1))e[n]&&(r+=e[n]*t[n].milliseconds);return r}function ua(t,e){let r=ks(t,e)<0?-1:1;st.reduceRight((n,i)=>{if(z(e[i]))return n;if(n){let a=e[n]*r,s=t[i][n],o=Math.floor(a/s);e[i]+=o*r,e[n]-=o*s*r}return i},null),st.reduce((n,i)=>{if(z(e[i]))return n;if(n){let a=e[n]%1;e[n]-=a,e[i]+=a*t[n][i]}return i},null)}function la(t){let e={};for(let[r,n]of Object.entries(t))n!==0&&(e[r]=n);return e}var se=class ae{constructor(e){let r=e.conversionAccuracy==="longterm"||!1,n=r?xc:kc;e.matrix&&(n=e.matrix),this.values=e.values,this.loc=e.loc||W.create(),this.conversionAccuracy=r?"longterm":"casual",this.invalid=e.invalid||null,this.matrix=n,this.isLuxonDuration=!0}static fromMillis(e,r){return ae.fromObject({milliseconds:e},r)}static fromObject(e,r={}){if(e==null||typeof e!="object")throw new oe(`Duration.fromObject: argument expected to be an object, got ${e===null?"null":typeof e}`);return new ae({values:Rr(e,ae.normalizeUnit),loc:W.fromObject(r),conversionAccuracy:r.conversionAccuracy,matrix:r.matrix})}static fromDurationLike(e){if(et(e))return ae.fromMillis(e);if(ae.isDuration(e))return e;if(typeof e=="object")return ae.fromObject(e);throw new oe(`Unknown duration argument ${e} of type ${typeof e}`)}static fromISO(e,r){let[n]=pc(e);return n?ae.fromObject(n,r):ae.invalid("unparsable",`the input "${e}" can't be parsed as ISO 8601`)}static fromISOTime(e,r){let[n]=mc(e);return n?ae.fromObject(n,r):ae.invalid("unparsable",`the input "${e}" can't be parsed as ISO 8601`)}static invalid(e,r=null){if(!e)throw new oe("need to specify a reason the Duration is invalid");let n=e instanceof Oe?e:new Oe(e,r);if(K.throwOnInvalid)throw new Yl(n);return new ae({invalid:n})}static normalizeUnit(e){let r={year:"years",years:"years",quarter:"quarters",quarters:"quarters",month:"months",months:"months",week:"weeks",weeks:"weeks",day:"days",days:"days",hour:"hours",hours:"hours",minute:"minutes",minutes:"minutes",second:"seconds",seconds:"seconds",millisecond:"milliseconds",milliseconds:"milliseconds"}[e&&e.toLowerCase()];if(!r)throw new _o(e);return r}static isDuration(e){return e&&e.isLuxonDuration||!1}get locale(){return this.isValid?this.loc.locale:null}get numberingSystem(){return this.isValid?this.loc.numberingSystem:null}toFormat(e,r={}){let n={...r,floor:r.round!==!1&&r.floor!==!1};return this.isValid?De.create(this.loc,n).formatDurationFromString(this,e):sa}toHuman(e={}){if(!this.isValid)return sa;let r=e.showZeros!==!1,n=st.map(i=>{let a=this.values[i];return z(a)||a===0&&!r?null:this.loc.numberFormatter({style:"unit",unitDisplay:"long",...e,unit:i.slice(0,-1)}).format(a)}).filter(i=>i);return this.loc.listFormatter({type:"conjunction",style:e.listStyle||"narrow",...e}).format(n)}toObject(){return this.isValid?{...this.values}:{}}toISO(){if(!this.isValid)return null;let e="P";return this.years!==0&&(e+=this.years+"Y"),(this.months!==0||this.quarters!==0)&&(e+=this.months+this.quarters*3+"M"),this.weeks!==0&&(e+=this.weeks+"W"),this.days!==0&&(e+=this.days+"D"),(this.hours!==0||this.minutes!==0||this.seconds!==0||this.milliseconds!==0)&&(e+="T"),this.hours!==0&&(e+=this.hours+"H"),this.minutes!==0&&(e+=this.minutes+"M"),(this.seconds!==0||this.milliseconds!==0)&&(e+=bi(this.seconds+this.milliseconds/1e3,3)+"S"),e==="P"&&(e+="T0S"),e}toISOTime(e={}){if(!this.isValid)return null;let r=this.toMillis();return r<0||r>=864e5?null:(e={suppressMilliseconds:!1,suppressSeconds:!1,includePrefix:!1,format:"extended",...e,includeOffset:!1},Z.fromMillis(r,{zone:"UTC"}).toISOTime(e))}toJSON(){return this.toISO()}toString(){return this.toISO()}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`Duration { values: ${JSON.stringify(this.values)} }`:`Duration { Invalid, reason: ${this.invalidReason} }`}toMillis(){return this.isValid?ks(this.matrix,this.values):NaN}valueOf(){return this.toMillis()}plus(e){if(!this.isValid)return this;let r=ae.fromDurationLike(e),n={};for(let i of st)(St(r.values,i)||St(this.values,i))&&(n[i]=r.get(i)+this.get(i));return Ue(this,{values:n},!0)}minus(e){if(!this.isValid)return this;let r=ae.fromDurationLike(e);return this.plus(r.negate())}mapUnits(e){if(!this.isValid)return this;let r={};for(let n of Object.keys(this.values))r[n]=as(e(this.values[n],n));return Ue(this,{values:r},!0)}get(e){return this[ae.normalizeUnit(e)]}set(e){if(!this.isValid)return this;let r={...this.values,...Rr(e,ae.normalizeUnit)};return Ue(this,{values:r})}reconfigure({locale:e,numberingSystem:r,conversionAccuracy:n,matrix:i}={}){let a={loc:this.loc.clone({locale:e,numberingSystem:r}),matrix:i,conversionAccuracy:n};return Ue(this,a)}as(e){return this.isValid?this.shiftTo(e).get(e):NaN}normalize(){if(!this.isValid)return this;let e=this.toObject();return ua(this.matrix,e),Ue(this,{values:e},!0)}rescale(){if(!this.isValid)return this;let e=la(this.normalize().shiftToAll().toObject());return Ue(this,{values:e},!0)}shiftTo(...e){if(!this.isValid)return this;if(e.length===0)return this;e=e.map(s=>ae.normalizeUnit(s));let r={},n={},i=this.toObject(),a;for(let s of st)if(e.indexOf(s)>=0){a=s;let o=0;for(let c in n)o+=this.matrix[c][s]*n[c],n[c]=0;et(i[s])&&(o+=i[s]);let u=Math.trunc(o);r[s]=u,n[s]=(o*1e3-u*1e3)/1e3}else et(i[s])&&(n[s]=i[s]);for(let s in n)n[s]!==0&&(r[a]+=s===a?n[s]:n[s]/this.matrix[a][s]);return ua(this.matrix,r),Ue(this,{values:r},!0)}shiftToAll(){return this.isValid?this.shiftTo("years","months","weeks","days","hours","minutes","seconds","milliseconds"):this}negate(){if(!this.isValid)return this;let e={};for(let r of Object.keys(this.values))e[r]=this.values[r]===0?0:-this.values[r];return Ue(this,{values:e},!0)}removeZeros(){if(!this.isValid)return this;let e=la(this.values);return Ue(this,{values:e},!0)}get years(){return this.isValid?this.values.years||0:NaN}get quarters(){return this.isValid?this.values.quarters||0:NaN}get months(){return this.isValid?this.values.months||0:NaN}get weeks(){return this.isValid?this.values.weeks||0:NaN}get days(){return this.isValid?this.values.days||0:NaN}get hours(){return this.isValid?this.values.hours||0:NaN}get minutes(){return this.isValid?this.values.minutes||0:NaN}get seconds(){return this.isValid?this.values.seconds||0:NaN}get milliseconds(){return this.isValid?this.values.milliseconds||0:NaN}get isValid(){return this.invalid===null}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}equals(e){if(!this.isValid||!e.isValid||!this.loc.equals(e.loc))return!1;function r(n,i){return n===void 0||n===0?i===void 0||i===0:n===i}for(let n of st)if(!r(this.values[n],e.values[n]))return!1;return!0}},mt="Invalid Interval";function $c(t,e){return!t||!t.isValid?Fr.invalid("missing or invalid start"):!e||!e.isValid?Fr.invalid("missing or invalid end"):e<t?Fr.invalid("end before start",`The end of an interval must be after its start, but you had start=${t.toISO()} and end=${e.toISO()}`):null}var Fr=class ie{constructor(e){this.s=e.start,this.e=e.end,this.invalid=e.invalid||null,this.isLuxonInterval=!0}static invalid(e,r=null){if(!e)throw new oe("need to specify a reason the Interval is invalid");let n=e instanceof Oe?e:new Oe(e,r);if(K.throwOnInvalid)throw new Zl(n);return new ie({invalid:n})}static fromDateTimes(e,r){let n=It(e),i=It(r);return $c(n,i)??new ie({start:n,end:i})}static after(e,r){let n=se.fromDurationLike(r),i=It(e);return ie.fromDateTimes(i,i.plus(n))}static before(e,r){let n=se.fromDurationLike(r),i=It(e);return ie.fromDateTimes(i.minus(n),i)}static fromISO(e,r){let[n,i]=(e||"").split("/",2);if(n&&i){let a,s;try{a=Z.fromISO(n,r),s=a.isValid}catch{s=!1}let o,u;try{o=Z.fromISO(i,r),u=o.isValid}catch{u=!1}if(s&&u)return ie.fromDateTimes(a,o);if(s){let c=se.fromISO(i,r);if(c.isValid)return ie.after(a,c)}else if(u){let c=se.fromISO(n,r);if(c.isValid)return ie.before(o,c)}}return ie.invalid("unparsable",`the input "${e}" can't be parsed as ISO 8601`)}static isInterval(e){return e&&e.isLuxonInterval||!1}get start(){return this.isValid?this.s:null}get end(){return this.isValid?this.e:null}get lastDateTime(){return this.isValid&&this.e?this.e.minus(1):null}get isValid(){return this.invalidReason===null}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}length(e="milliseconds"){return this.isValid?this.toDuration(e).get(e):NaN}count(e="milliseconds",r){if(!this.isValid)return NaN;let n=this.start.startOf(e,r),i;return r?.useLocaleWeeks?i=this.end.reconfigure({locale:n.locale}):i=this.end,i=i.startOf(e,r),Math.floor(i.diff(n,e).get(e))+(i.valueOf()!==this.end.valueOf())}hasSame(e){return this.isValid?this.isEmpty()||this.e.minus(1).hasSame(this.s,e):!1}isEmpty(){return this.s.valueOf()===this.e.valueOf()}isAfter(e){return this.isValid?this.s>e:!1}isBefore(e){return this.isValid?this.e<=e:!1}contains(e){return this.isValid?this.s<=e&&this.e>e:!1}set({start:e,end:r}={}){return this.isValid?ie.fromDateTimes(e||this.s,r||this.e):this}splitAt(...e){if(!this.isValid)return[];let r=e.map(It).filter(s=>this.contains(s)).sort((s,o)=>s.toMillis()-o.toMillis()),n=[],{s:i}=this,a=0;for(;i<this.e;){let s=r[a]||this.e,o=+s>+this.e?this.e:s;n.push(ie.fromDateTimes(i,o)),i=o,a+=1}return n}splitBy(e){let r=se.fromDurationLike(e);if(!this.isValid||!r.isValid||r.as("milliseconds")===0)return[];let{s:n}=this,i=1,a,s=[];for(;n<this.e;){let o=this.start.plus(r.mapUnits(u=>u*i));a=+o>+this.e?this.e:o,s.push(ie.fromDateTimes(n,a)),n=a,i+=1}return s}divideEqually(e){return this.isValid?this.splitBy(this.length()/e).slice(0,e):[]}overlaps(e){return this.e>e.s&&this.s<e.e}abutsStart(e){return this.isValid?+this.e==+e.s:!1}abutsEnd(e){return this.isValid?+e.e==+this.s:!1}engulfs(e){return this.isValid?this.s<=e.s&&this.e>=e.e:!1}equals(e){return!this.isValid||!e.isValid?!1:this.s.equals(e.s)&&this.e.equals(e.e)}intersection(e){if(!this.isValid)return this;let r=this.s>e.s?this.s:e.s,n=this.e<e.e?this.e:e.e;return r>=n?null:ie.fromDateTimes(r,n)}union(e){if(!this.isValid)return this;let r=this.s<e.s?this.s:e.s,n=this.e>e.e?this.e:e.e;return ie.fromDateTimes(r,n)}static merge(e){let[r,n]=e.sort((i,a)=>i.s-a.s).reduce(([i,a],s)=>a?a.overlaps(s)||a.abutsStart(s)?[i,a.union(s)]:[i.concat([a]),s]:[i,s],[[],null]);return n&&r.push(n),r}static xor(e){let r=null,n=0,i=[],a=e.map(u=>[{time:u.s,type:"s"},{time:u.e,type:"e"}]),s=Array.prototype.concat(...a),o=s.sort((u,c)=>u.time-c.time);for(let u of o)n+=u.type==="s"?1:-1,n===1?r=u.time:(r&&+r!=+u.time&&i.push(ie.fromDateTimes(r,u.time)),r=null);return ie.merge(i)}difference(...e){return ie.xor([this].concat(e)).map(r=>this.intersection(r)).filter(r=>r&&!r.isEmpty())}toString(){return this.isValid?`[${this.s.toISO()} \u2013 ${this.e.toISO()})`:mt}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`Interval { start: ${this.s.toISO()}, end: ${this.e.toISO()} }`:`Interval { Invalid, reason: ${this.invalidReason} }`}toLocaleString(e=Tr,r={}){return this.isValid?De.create(this.s.loc.clone(r),e).formatInterval(this):mt}toISO(e){return this.isValid?`${this.s.toISO(e)}/${this.e.toISO(e)}`:mt}toISODate(){return this.isValid?`${this.s.toISODate()}/${this.e.toISODate()}`:mt}toISOTime(e){return this.isValid?`${this.s.toISOTime(e)}/${this.e.toISOTime(e)}`:mt}toFormat(e,{separator:r=" \u2013 "}={}){return this.isValid?`${this.s.toFormat(e)}${r}${this.e.toFormat(e)}`:mt}toDuration(e,r){return this.isValid?this.e.diff(this.s,e,r):se.invalid(this.invalidReason)}mapEndpoints(e){return ie.fromDateTimes(e(this.s),e(this.e))}},wr=class{static hasDST(t=K.defaultZone){let e=Z.now().setZone(t).set({month:12});return!t.isUniversal&&e.offset!==e.set({month:6}).offset}static isValidIANAZone(t){return Bt.isValidZone(t)}static normalizeZone(t){return Qe(t,K.defaultZone)}static getStartOfWeek({locale:t=null,locObj:e=null}={}){return(e||W.create(t)).getStartOfWeek()}static getMinimumDaysInFirstWeek({locale:t=null,locObj:e=null}={}){return(e||W.create(t)).getMinDaysInFirstWeek()}static getWeekendWeekdays({locale:t=null,locObj:e=null}={}){return(e||W.create(t)).getWeekendDays().slice()}static months(t="long",{locale:e=null,numberingSystem:r=null,locObj:n=null,outputCalendar:i="gregory"}={}){return(n||W.create(e,r,i)).months(t)}static monthsFormat(t="long",{locale:e=null,numberingSystem:r=null,locObj:n=null,outputCalendar:i="gregory"}={}){return(n||W.create(e,r,i)).months(t,!0)}static weekdays(t="long",{locale:e=null,numberingSystem:r=null,locObj:n=null}={}){return(n||W.create(e,r,null)).weekdays(t)}static weekdaysFormat(t="long",{locale:e=null,numberingSystem:r=null,locObj:n=null}={}){return(n||W.create(e,r,null)).weekdays(t,!0)}static meridiems({locale:t=null}={}){return W.create(t).meridiems()}static eras(t="short",{locale:e=null}={}){return W.create(e,null,"gregory").eras(t)}static features(){return{relative:rs(),localeWeek:ns()}}};function ca(t,e){let r=i=>i.toUTC(0,{keepLocalTime:!0}).startOf("day").valueOf(),n=r(e)-r(t);return Math.floor(se.fromMillis(n).as("days"))}function Ec(t,e,r){let n=[["years",(u,c)=>c.year-u.year],["quarters",(u,c)=>c.quarter-u.quarter+(c.year-u.year)*4],["months",(u,c)=>c.month-u.month+(c.year-u.year)*12],["weeks",(u,c)=>{let d=ca(u,c);return(d-d%7)/7}],["days",ca]],i={},a=t,s,o;for(let[u,c]of n)r.indexOf(u)>=0&&(s=u,i[u]=c(t,e),o=a.plus(i),o>e?(i[u]--,t=a.plus(i),t>e&&(o=t,i[u]--,t=a.plus(i))):t=o);return[t,i,o,s]}function Sc(t,e,r,n){let[i,a,s,o]=Ec(t,e,r),u=e-i,c=r.filter(h=>["hours","minutes","seconds","milliseconds"].indexOf(h)>=0);c.length===0&&(s<e&&(s=i.plus({[o]:1})),s!==i&&(a[o]=(a[o]||0)+u/(s-i)));let d=se.fromObject(a,n);return c.length>0?se.fromMillis(u,n).shiftTo(...c).plus(d):d}var _c="missing Intl.DateTimeFormat.formatToParts support";function q(t,e=r=>r){return{regex:t,deser:([r])=>e(g0(r))}}var Cc="\xA0",xs=`[ ${Cc}]`,ws=new RegExp(xs,"g");function Ac(t){return t.replace(/\./g,"\\.?").replace(ws,xs)}function da(t){return t.replace(/\./g,"").replace(ws," ").toLowerCase()}function Ce(t,e){return t===null?null:{regex:RegExp(t.map(Ac).join("|")),deser:([r])=>t.findIndex(n=>da(r)===da(n))+e}}function ha(t,e){return{regex:t,deser:([,r,n])=>tn(r,n),groups:e}}function $r(t){return{regex:t,deser:([e])=>e}}function Dc(t){return t.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&")}function Oc(t,e){let r=_e(e),n=_e(e,"{2}"),i=_e(e,"{3}"),a=_e(e,"{4}"),s=_e(e,"{6}"),o=_e(e,"{1,2}"),u=_e(e,"{1,3}"),c=_e(e,"{1,6}"),d=_e(e,"{1,9}"),h=_e(e,"{2,4}"),p=_e(e,"{4,6}"),l=f=>({regex:RegExp(Dc(f.val)),deser:([b])=>b,literal:!0}),m=(f=>{if(t.literal)return l(f);switch(f.val){case"G":return Ce(e.eras("short"),0);case"GG":return Ce(e.eras("long"),0);case"y":return q(c);case"yy":return q(h,Zn);case"yyyy":return q(a);case"yyyyy":return q(p);case"yyyyyy":return q(s);case"M":return q(o);case"MM":return q(n);case"MMM":return Ce(e.months("short",!0),1);case"MMMM":return Ce(e.months("long",!0),1);case"L":return q(o);case"LL":return q(n);case"LLL":return Ce(e.months("short",!1),1);case"LLLL":return Ce(e.months("long",!1),1);case"d":return q(o);case"dd":return q(n);case"o":return q(u);case"ooo":return q(i);case"HH":return q(n);case"H":return q(o);case"hh":return q(n);case"h":return q(o);case"mm":return q(n);case"m":return q(o);case"q":return q(o);case"qq":return q(n);case"s":return q(o);case"ss":return q(n);case"S":return q(u);case"SSS":return q(i);case"u":return $r(d);case"uu":return $r(o);case"uuu":return q(r);case"a":return Ce(e.meridiems(),0);case"kkkk":return q(a);case"kk":return q(h,Zn);case"W":return q(o);case"WW":return q(n);case"E":case"c":return q(r);case"EEE":return Ce(e.weekdays("short",!1),1);case"EEEE":return Ce(e.weekdays("long",!1),1);case"ccc":return Ce(e.weekdays("short",!0),1);case"cccc":return Ce(e.weekdays("long",!0),1);case"Z":case"ZZ":return ha(new RegExp(`([+-]${o.source})(?::(${n.source}))?`),2);case"ZZZ":return ha(new RegExp(`([+-]${o.source})(${n.source})?`),2);case"z":return $r(/[a-z_+-/]{1,256}?/i);case" ":return $r(/[^\S\n\r]/);default:return l(f)}})(t)||{invalidReason:_c};return m.token=t,m}var Bc={year:{"2-digit":"yy",numeric:"yyyyy"},month:{numeric:"M","2-digit":"MM",short:"MMM",long:"MMMM"},day:{numeric:"d","2-digit":"dd"},weekday:{short:"EEE",long:"EEEE"},dayperiod:"a",dayPeriod:"a",hour12:{numeric:"h","2-digit":"hh"},hour24:{numeric:"H","2-digit":"HH"},minute:{numeric:"m","2-digit":"mm"},second:{numeric:"s","2-digit":"ss"},timeZoneName:{long:"ZZZZZ",short:"ZZZ"}};function Fc(t,e,r){let{type:n,value:i}=t;if(n==="literal"){let u=/^\s+$/.test(i);return{literal:!u,val:u?" ":i}}let a=e[n],s=n;n==="hour"&&(e.hour12!=null?s=e.hour12?"hour12":"hour24":e.hourCycle!=null?e.hourCycle==="h11"||e.hourCycle==="h12"?s="hour12":s="hour24":s=r.hour12?"hour12":"hour24");let o=Bc[s];if(typeof o=="object"&&(o=o[a]),o)return{literal:!1,val:o}}function Mc(t){return[`^${t.map(e=>e.regex).reduce((e,r)=>`${e}(${r.source})`,"")}$`,t]}function Nc(t,e,r){let n=t.match(e);if(n){let i={},a=1;for(let s in r)if(St(r,s)){let o=r[s],u=o.groups?o.groups+1:1;!o.literal&&o.token&&(i[o.token.val[0]]=o.deser(n.slice(a,a+u))),a+=u}return[n,i]}else return[n,{}]}function Pc(t){let e=i=>{switch(i){case"S":return"millisecond";case"s":return"second";case"m":return"minute";case"h":case"H":return"hour";case"d":return"day";case"o":return"ordinal";case"L":case"M":return"month";case"y":return"year";case"E":case"c":return"weekday";case"W":return"weekNumber";case"k":return"weekYear";case"q":return"quarter";default:return null}},r=null,n;return z(t.z)||(r=Bt.create(t.z)),z(t.Z)||(r||(r=new je(t.Z)),n=t.Z),z(t.q)||(t.M=(t.q-1)*3+1),z(t.h)||(t.h<12&&t.a===1?t.h+=12:t.h===12&&t.a===0&&(t.h=0)),t.G===0&&t.y&&(t.y=-t.y),z(t.u)||(t.S=gi(t.u)),[Object.keys(t).reduce((i,a)=>{let s=e(a);return s&&(i[s]=t[a]),i},{}),r,n]}var kn=null;function Lc(){return kn||(kn=Z.fromMillis(1555555555555)),kn}function zc(t,e){if(t.literal)return t;let r=De.macroTokenToFormatOpts(t.val),n=_s(r,e);return n==null||n.includes(void 0)?t:n}function $s(t,e){return Array.prototype.concat(...t.map(r=>zc(r,e)))}var Es=class{constructor(t,e){if(this.locale=t,this.format=e,this.tokens=$s(De.parseFormat(e),t),this.units=this.tokens.map(r=>Oc(r,t)),this.disqualifyingUnit=this.units.find(r=>r.invalidReason),!this.disqualifyingUnit){let[r,n]=Mc(this.units);this.regex=RegExp(r,"i"),this.handlers=n}}explainFromTokens(t){if(this.isValid){let[e,r]=Nc(t,this.regex,this.handlers),[n,i,a]=r?Pc(r):[null,null,void 0];if(St(r,"a")&&St(r,"H"))throw new xt("Can't include meridiem when specifying 24-hour format");return{input:t,tokens:this.tokens,regex:this.regex,rawMatches:e,matches:r,result:n,zone:i,specificOffset:a}}else return{input:t,tokens:this.tokens,invalidReason:this.invalidReason}}get isValid(){return!this.disqualifyingUnit}get invalidReason(){return this.disqualifyingUnit?this.disqualifyingUnit.invalidReason:null}};function Ss(t,e,r){return new Es(t,r).explainFromTokens(e)}function Tc(t,e,r){let{result:n,zone:i,specificOffset:a,invalidReason:s}=Ss(t,e,r);return[n,i,a,s]}function _s(t,e){if(!t)return null;let r=De.create(e,t).dtFormatter(Lc()),n=r.formatToParts(),i=r.resolvedOptions();return n.map(a=>Fc(a,t,i))}var xn="Invalid DateTime",pa=864e13;function Xt(t){return new Oe("unsupported zone",`the zone "${t.name}" is not supported`)}function wn(t){return t.weekData===null&&(t.weekData=jr(t.c)),t.weekData}function $n(t){return t.localWeekData===null&&(t.localWeekData=jr(t.c,t.loc.getMinDaysInFirstWeek(),t.loc.getStartOfWeek())),t.localWeekData}function ot(t,e){let r={ts:t.ts,zone:t.zone,c:t.c,o:t.o,loc:t.loc,invalid:t.invalid};return new Z({...r,...e,old:r})}function Cs(t,e,r){let n=t-e*60*1e3,i=r.offset(n);if(e===i)return[n,e];n-=(i-e)*60*1e3;let a=r.offset(n);return i===a?[n,i]:[t-Math.min(i,a)*60*1e3,Math.max(i,a)]}function Er(t,e){t+=e*60*1e3;let r=new Date(t);return{year:r.getUTCFullYear(),month:r.getUTCMonth()+1,day:r.getUTCDate(),hour:r.getUTCHours(),minute:r.getUTCMinutes(),second:r.getUTCSeconds(),millisecond:r.getUTCMilliseconds()}}function Mr(t,e,r){return Cs(en(t),e,r)}function fa(t,e){let r=t.o,n=t.c.year+Math.trunc(e.years),i=t.c.month+Math.trunc(e.months)+Math.trunc(e.quarters)*3,a={...t.c,year:n,month:i,day:Math.min(t.c.day,Ir(n,i))+Math.trunc(e.days)+Math.trunc(e.weeks)*7},s=se.fromObject({years:e.years-Math.trunc(e.years),quarters:e.quarters-Math.trunc(e.quarters),months:e.months-Math.trunc(e.months),weeks:e.weeks-Math.trunc(e.weeks),days:e.days-Math.trunc(e.days),hours:e.hours,minutes:e.minutes,seconds:e.seconds,milliseconds:e.milliseconds}).as("milliseconds"),o=en(a),[u,c]=Cs(o,r,t.zone);return s!==0&&(u+=s,c=t.zone.offset(u)),{ts:u,o:c}}function gt(t,e,r,n,i,a){let{setZone:s,zone:o}=r;if(t&&Object.keys(t).length!==0||e){let u=e||o,c=Z.fromObject(t,{...r,zone:u,specificOffset:a});return s?c:c.setZone(o)}else return Z.invalid(new Oe("unparsable",`the input "${i}" can't be parsed as ${n}`))}function Sr(t,e,r=!0){return t.isValid?De.create(W.create("en-US"),{allowZ:r,forceSimple:!0}).formatDateTimeFromString(t,e):null}function En(t,e,r){let n=t.c.year>9999||t.c.year<0,i="";if(n&&t.c.year>=0&&(i+="+"),i+=ne(t.c.year,n?6:4),r==="year")return i;if(e){if(i+="-",i+=ne(t.c.month),r==="month")return i;i+="-"}else if(i+=ne(t.c.month),r==="month")return i;return i+=ne(t.c.day),i}function ma(t,e,r,n,i,a,s){let o=!r||t.c.millisecond!==0||t.c.second!==0,u="";switch(s){case"day":case"month":case"year":break;default:if(u+=ne(t.c.hour),s==="hour")break;if(e){if(u+=":",u+=ne(t.c.minute),s==="minute")break;o&&(u+=":",u+=ne(t.c.second))}else{if(u+=ne(t.c.minute),s==="minute")break;o&&(u+=ne(t.c.second))}if(s==="second")break;o&&(!n||t.c.millisecond!==0)&&(u+=".",u+=ne(t.c.millisecond,3))}return i&&(t.isOffsetFixed&&t.offset===0&&!a?u+="Z":t.o<0?(u+="-",u+=ne(Math.trunc(-t.o/60)),u+=":",u+=ne(Math.trunc(-t.o%60))):(u+="+",u+=ne(Math.trunc(t.o/60)),u+=":",u+=ne(Math.trunc(t.o%60)))),a&&(u+="["+t.zone.ianaName+"]"),u}var As={month:1,day:1,hour:0,minute:0,second:0,millisecond:0},jc={weekNumber:1,weekday:1,hour:0,minute:0,second:0,millisecond:0},Ic={ordinal:1,hour:0,minute:0,second:0,millisecond:0},Nr=["year","month","day","hour","minute","second","millisecond"],Rc=["weekYear","weekNumber","weekday","hour","minute","second","millisecond"],Vc=["year","ordinal","hour","minute","second","millisecond"];function Pr(t){let e={year:"year",years:"year",month:"month",months:"month",day:"day",days:"day",hour:"hour",hours:"hour",minute:"minute",minutes:"minute",quarter:"quarter",quarters:"quarter",second:"second",seconds:"second",millisecond:"millisecond",milliseconds:"millisecond",weekday:"weekday",weekdays:"weekday",weeknumber:"weekNumber",weeksnumber:"weekNumber",weeknumbers:"weekNumber",weekyear:"weekYear",weekyears:"weekYear",ordinal:"ordinal"}[t.toLowerCase()];if(!e)throw new _o(t);return e}function ga(t){switch(t.toLowerCase()){case"localweekday":case"localweekdays":return"localWeekday";case"localweeknumber":case"localweeknumbers":return"localWeekNumber";case"localweekyear":case"localweekyears":return"localWeekYear";default:return Pr(t)}}function qc(t){if(Qt===void 0&&(Qt=K.now()),t.type!=="iana")return t.offset(Qt);let e=t.name,r=Yn.get(e);return r===void 0&&(r=t.offset(Qt),Yn.set(e,r)),r}function ba(t,e){let r=Qe(e.zone,K.defaultZone);if(!r.isValid)return Z.invalid(Xt(r));let n=W.fromObject(e),i,a;if(z(t.year))i=K.now();else{for(let u of Nr)z(t[u])&&(t[u]=As[u]);let s=es(t)||ts(t);if(s)return Z.invalid(s);let o=qc(r);[i,a]=Mr(t,o,r)}return new Z({ts:i,zone:r,loc:n,o:a})}function ya(t,e,r){let n=z(r.round)?!0:r.round,i=z(r.rounding)?"trunc":r.rounding,a=(o,u)=>(o=bi(o,n||r.calendary?0:2,r.calendary?"round":i),e.loc.clone(r).relFormatter(r).format(o,u)),s=o=>r.calendary?e.hasSame(t,o)?0:e.startOf(o).diff(t.startOf(o),o).get(o):e.diff(t,o).get(o);if(r.unit)return a(s(r.unit),r.unit);for(let o of r.units){let u=s(o);if(Math.abs(u)>=1)return a(u,o)}return a(t>e?-0:0,r.units[r.units.length-1])}function va(t){let e={},r;return t.length>0&&typeof t[t.length-1]=="object"?(e=t[t.length-1],r=Array.from(t).slice(0,t.length-1)):r=Array.from(t),[e,r]}var Qt,Yn=new Map,Z=class G{constructor(e){let r=e.zone||K.defaultZone,n=e.invalid||(Number.isNaN(e.ts)?new Oe("invalid input"):null)||(r.isValid?null:Xt(r));this.ts=z(e.ts)?K.now():e.ts;let i=null,a=null;if(!n)if(e.old&&e.old.ts===this.ts&&e.old.zone.equals(r))[i,a]=[e.old.c,e.old.o];else{let s=et(e.o)&&!e.old?e.o:r.offset(this.ts);i=Er(this.ts,s),n=Number.isNaN(i.year)?new Oe("invalid input"):null,i=n?null:i,a=n?null:s}this._zone=r,this.loc=e.loc||W.create(),this.invalid=n,this.weekData=null,this.localWeekData=null,this.c=i,this.o=a,this.isLuxonDateTime=!0}static now(){return new G({})}static local(){let[e,r]=va(arguments),[n,i,a,s,o,u,c]=r;return ba({year:n,month:i,day:a,hour:s,minute:o,second:u,millisecond:c},e)}static utc(){let[e,r]=va(arguments),[n,i,a,s,o,u,c]=r;return e.zone=je.utcInstance,ba({year:n,month:i,day:a,hour:s,minute:o,second:u,millisecond:c},e)}static fromJSDate(e,r={}){let n=x0(e)?e.valueOf():NaN;if(Number.isNaN(n))return G.invalid("invalid input");let i=Qe(r.zone,K.defaultZone);return i.isValid?new G({ts:n,zone:i,loc:W.fromObject(r)}):G.invalid(Xt(i))}static fromMillis(e,r={}){if(et(e))return e<-pa||e>pa?G.invalid("Timestamp out of range"):new G({ts:e,zone:Qe(r.zone,K.defaultZone),loc:W.fromObject(r)});throw new oe(`fromMillis requires a numerical input, but received a ${typeof e} with value ${e}`)}static fromSeconds(e,r={}){if(et(e))return new G({ts:e*1e3,zone:Qe(r.zone,K.defaultZone),loc:W.fromObject(r)});throw new oe("fromSeconds requires a numerical input")}static fromObject(e,r={}){e=e||{};let n=Qe(r.zone,K.defaultZone);if(!n.isValid)return G.invalid(Xt(n));let i=W.fromObject(r),a=Rr(e,ga),{minDaysInFirstWeek:s,startOfWeek:o}=ra(a,i),u=K.now(),c=z(r.specificOffset)?n.offset(u):r.specificOffset,d=!z(a.ordinal),h=!z(a.year),p=!z(a.month)||!z(a.day),l=h||p,m=a.weekYear||a.weekNumber;if((l||d)&&m)throw new xt("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(p&&d)throw new xt("Can't mix ordinal dates with month/day");let f=m||a.weekday&&!l,b,v,y=Er(u,c);f?(b=Rc,v=jc,y=jr(y,s,o)):d?(b=Vc,v=Ic,y=vn(y)):(b=Nr,v=As);let w=!1;for(let C of b){let F=a[C];z(F)?w?a[C]=v[C]:a[C]=y[C]:w=!0}let k=f?y0(a,s,o):d?v0(a):es(a),$=k||ts(a);if($)return G.invalid($);let x=f?ea(a,s,o):d?ta(a):a,[S,_]=Mr(x,c,n),A=new G({ts:S,zone:n,o:_,loc:i});return a.weekday&&l&&e.weekday!==A.weekday?G.invalid("mismatched weekday",`you can't specify both a weekday of ${a.weekday} and a date of ${A.toISO()}`):A.isValid?A:G.invalid(A.invalid)}static fromISO(e,r={}){let[n,i]=cc(e);return gt(n,i,r,"ISO 8601",e)}static fromRFC2822(e,r={}){let[n,i]=dc(e);return gt(n,i,r,"RFC 2822",e)}static fromHTTP(e,r={}){let[n,i]=hc(e);return gt(n,i,r,"HTTP",r)}static fromFormat(e,r,n={}){if(z(e)||z(r))throw new oe("fromFormat requires an input string and a format");let{locale:i=null,numberingSystem:a=null}=n,s=W.fromOpts({locale:i,numberingSystem:a,defaultToEN:!0}),[o,u,c,d]=Tc(s,e,r);return d?G.invalid(d):gt(o,u,n,`format ${r}`,e,c)}static fromString(e,r,n={}){return G.fromFormat(e,r,n)}static fromSQL(e,r={}){let[n,i]=vc(e);return gt(n,i,r,"SQL",e)}static invalid(e,r=null){if(!e)throw new oe("need to specify a reason the DateTime is invalid");let n=e instanceof Oe?e:new Oe(e,r);if(K.throwOnInvalid)throw new Hl(n);return new G({invalid:n})}static isDateTime(e){return e&&e.isLuxonDateTime||!1}static parseFormatForOpts(e,r={}){let n=_s(e,W.fromObject(r));return n?n.map(i=>i?i.val:null).join(""):null}static expandFormat(e,r={}){return $s(De.parseFormat(e),W.fromObject(r)).map(n=>n.val).join("")}static resetCache(){Qt=void 0,Yn.clear()}get(e){return this[e]}get isValid(){return this.invalid===null}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}get locale(){return this.isValid?this.loc.locale:null}get numberingSystem(){return this.isValid?this.loc.numberingSystem:null}get outputCalendar(){return this.isValid?this.loc.outputCalendar:null}get zone(){return this._zone}get zoneName(){return this.isValid?this.zone.name:null}get year(){return this.isValid?this.c.year:NaN}get quarter(){return this.isValid?Math.ceil(this.c.month/3):NaN}get month(){return this.isValid?this.c.month:NaN}get day(){return this.isValid?this.c.day:NaN}get hour(){return this.isValid?this.c.hour:NaN}get minute(){return this.isValid?this.c.minute:NaN}get second(){return this.isValid?this.c.second:NaN}get millisecond(){return this.isValid?this.c.millisecond:NaN}get weekYear(){return this.isValid?wn(this).weekYear:NaN}get weekNumber(){return this.isValid?wn(this).weekNumber:NaN}get weekday(){return this.isValid?wn(this).weekday:NaN}get isWeekend(){return this.isValid&&this.loc.getWeekendDays().includes(this.weekday)}get localWeekday(){return this.isValid?$n(this).weekday:NaN}get localWeekNumber(){return this.isValid?$n(this).weekNumber:NaN}get localWeekYear(){return this.isValid?$n(this).weekYear:NaN}get ordinal(){return this.isValid?vn(this.c).ordinal:NaN}get monthShort(){return this.isValid?wr.months("short",{locObj:this.loc})[this.month-1]:null}get monthLong(){return this.isValid?wr.months("long",{locObj:this.loc})[this.month-1]:null}get weekdayShort(){return this.isValid?wr.weekdays("short",{locObj:this.loc})[this.weekday-1]:null}get weekdayLong(){return this.isValid?wr.weekdays("long",{locObj:this.loc})[this.weekday-1]:null}get offset(){return this.isValid?+this.o:NaN}get offsetNameShort(){return this.isValid?this.zone.offsetName(this.ts,{format:"short",locale:this.locale}):null}get offsetNameLong(){return this.isValid?this.zone.offsetName(this.ts,{format:"long",locale:this.locale}):null}get isOffsetFixed(){return this.isValid?this.zone.isUniversal:null}get isInDST(){return this.isOffsetFixed?!1:this.offset>this.set({month:1,day:1}).offset||this.offset>this.set({month:5}).offset}getPossibleOffsets(){if(!this.isValid||this.isOffsetFixed)return[this];let e=864e5,r=6e4,n=en(this.c),i=this.zone.offset(n-e),a=this.zone.offset(n+e),s=this.zone.offset(n-i*r),o=this.zone.offset(n-a*r);if(s===o)return[this];let u=n-s*r,c=n-o*r,d=Er(u,s),h=Er(c,o);return d.hour===h.hour&&d.minute===h.minute&&d.second===h.second&&d.millisecond===h.millisecond?[ot(this,{ts:u}),ot(this,{ts:c})]:[this]}get isInLeapYear(){return fr(this.year)}get daysInMonth(){return Ir(this.year,this.month)}get daysInYear(){return this.isValid?$t(this.year):NaN}get weeksInWeekYear(){return this.isValid?ar(this.weekYear):NaN}get weeksInLocalWeekYear(){return this.isValid?ar(this.localWeekYear,this.loc.getMinDaysInFirstWeek(),this.loc.getStartOfWeek()):NaN}resolvedLocaleOptions(e={}){let{locale:r,numberingSystem:n,calendar:i}=De.create(this.loc.clone(e),e).resolvedOptions(this);return{locale:r,numberingSystem:n,outputCalendar:i}}toUTC(e=0,r={}){return this.setZone(je.instance(e),r)}toLocal(){return this.setZone(K.defaultZone)}setZone(e,{keepLocalTime:r=!1,keepCalendarTime:n=!1}={}){if(e=Qe(e,K.defaultZone),e.equals(this.zone))return this;if(e.isValid){let i=this.ts;if(r||n){let a=e.offset(this.ts),s=this.toObject();[i]=Mr(s,a,e)}return ot(this,{ts:i,zone:e})}else return G.invalid(Xt(e))}reconfigure({locale:e,numberingSystem:r,outputCalendar:n}={}){let i=this.loc.clone({locale:e,numberingSystem:r,outputCalendar:n});return ot(this,{loc:i})}setLocale(e){return this.reconfigure({locale:e})}set(e){if(!this.isValid)return this;let r=Rr(e,ga),{minDaysInFirstWeek:n,startOfWeek:i}=ra(r,this.loc),a=!z(r.weekYear)||!z(r.weekNumber)||!z(r.weekday),s=!z(r.ordinal),o=!z(r.year),u=!z(r.month)||!z(r.day),c=o||u,d=r.weekYear||r.weekNumber;if((c||s)&&d)throw new xt("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(u&&s)throw new xt("Can't mix ordinal dates with month/day");let h;a?h=ea({...jr(this.c,n,i),...r},n,i):z(r.ordinal)?(h={...this.toObject(),...r},z(r.day)&&(h.day=Math.min(Ir(h.year,h.month),h.day))):h=ta({...vn(this.c),...r});let[p,l]=Mr(h,this.o,this.zone);return ot(this,{ts:p,o:l})}plus(e){if(!this.isValid)return this;let r=se.fromDurationLike(e);return ot(this,fa(this,r))}minus(e){if(!this.isValid)return this;let r=se.fromDurationLike(e).negate();return ot(this,fa(this,r))}startOf(e,{useLocaleWeeks:r=!1}={}){if(!this.isValid)return this;let n={},i=se.normalizeUnit(e);switch(i){case"years":n.month=1;case"quarters":case"months":n.day=1;case"weeks":case"days":n.hour=0;case"hours":n.minute=0;case"minutes":n.second=0;case"seconds":n.millisecond=0;break}if(i==="weeks")if(r){let a=this.loc.getStartOfWeek(),{weekday:s}=this;s<a&&(n.weekNumber=this.weekNumber-1),n.weekday=a}else n.weekday=1;if(i==="quarters"){let a=Math.ceil(this.month/3);n.month=(a-1)*3+1}return this.set(n)}endOf(e,r){return this.isValid?this.plus({[e]:1}).startOf(e,r).minus(1):this}toFormat(e,r={}){return this.isValid?De.create(this.loc.redefaultToEN(r)).formatDateTimeFromString(this,e):xn}toLocaleString(e=Tr,r={}){return this.isValid?De.create(this.loc.clone(r),e).formatDateTime(this):xn}toLocaleParts(e={}){return this.isValid?De.create(this.loc.clone(e),e).formatDateTimeParts(this):[]}toISO({format:e="extended",suppressSeconds:r=!1,suppressMilliseconds:n=!1,includeOffset:i=!0,extendedZone:a=!1,precision:s="milliseconds"}={}){if(!this.isValid)return null;s=Pr(s);let o=e==="extended",u=En(this,o,s);return Nr.indexOf(s)>=3&&(u+="T"),u+=ma(this,o,r,n,i,a,s),u}toISODate({format:e="extended",precision:r="day"}={}){return this.isValid?En(this,e==="extended",Pr(r)):null}toISOWeekDate(){return Sr(this,"kkkk-'W'WW-c")}toISOTime({suppressMilliseconds:e=!1,suppressSeconds:r=!1,includeOffset:n=!0,includePrefix:i=!1,extendedZone:a=!1,format:s="extended",precision:o="milliseconds"}={}){return this.isValid?(o=Pr(o),(i&&Nr.indexOf(o)>=3?"T":"")+ma(this,s==="extended",r,e,n,a,o)):null}toRFC2822(){return Sr(this,"EEE, dd LLL yyyy HH:mm:ss ZZZ",!1)}toHTTP(){return Sr(this.toUTC(),"EEE, dd LLL yyyy HH:mm:ss 'GMT'")}toSQLDate(){return this.isValid?En(this,!0):null}toSQLTime({includeOffset:e=!0,includeZone:r=!1,includeOffsetSpace:n=!0}={}){let i="HH:mm:ss.SSS";return(r||e)&&(n&&(i+=" "),r?i+="z":e&&(i+="ZZ")),Sr(this,i,!0)}toSQL(e={}){return this.isValid?`${this.toSQLDate()} ${this.toSQLTime(e)}`:null}toString(){return this.isValid?this.toISO():xn}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`DateTime { ts: ${this.toISO()}, zone: ${this.zone.name}, locale: ${this.locale} }`:`DateTime { Invalid, reason: ${this.invalidReason} }`}valueOf(){return this.toMillis()}toMillis(){return this.isValid?this.ts:NaN}toSeconds(){return this.isValid?this.ts/1e3:NaN}toUnixInteger(){return this.isValid?Math.floor(this.ts/1e3):NaN}toJSON(){return this.toISO()}toBSON(){return this.toJSDate()}toObject(e={}){if(!this.isValid)return{};let r={...this.c};return e.includeConfig&&(r.outputCalendar=this.outputCalendar,r.numberingSystem=this.loc.numberingSystem,r.locale=this.loc.locale),r}toJSDate(){return new Date(this.isValid?this.ts:NaN)}diff(e,r="milliseconds",n={}){if(!this.isValid||!e.isValid)return se.invalid("created by diffing an invalid DateTime");let i={locale:this.locale,numberingSystem:this.numberingSystem,...n},a=w0(r).map(se.normalizeUnit),s=e.valueOf()>this.valueOf(),o=s?this:e,u=s?e:this,c=Sc(o,u,a,i);return s?c.negate():c}diffNow(e="milliseconds",r={}){return this.diff(G.now(),e,r)}until(e){return this.isValid?Fr.fromDateTimes(this,e):this}hasSame(e,r,n){if(!this.isValid)return!1;let i=e.valueOf(),a=this.setZone(e.zone,{keepLocalTime:!0});return a.startOf(r,n)<=i&&i<=a.endOf(r,n)}equals(e){return this.isValid&&e.isValid&&this.valueOf()===e.valueOf()&&this.zone.equals(e.zone)&&this.loc.equals(e.loc)}toRelative(e={}){if(!this.isValid)return null;let r=e.base||G.fromObject({},{zone:this.zone}),n=e.padding?this<r?-e.padding:e.padding:0,i=["years","months","days","hours","minutes","seconds"],a=e.unit;return Array.isArray(e.unit)&&(i=e.unit,a=void 0),ya(r,this.plus(n),{...e,numeric:"always",units:i,unit:a})}toRelativeCalendar(e={}){return this.isValid?ya(e.base||G.fromObject({},{zone:this.zone}),this,{...e,numeric:"auto",units:["years","months","days"],calendary:!0}):null}static min(...e){if(!e.every(G.isDateTime))throw new oe("min requires all arguments be DateTimes");return na(e,r=>r.valueOf(),Math.min)}static max(...e){if(!e.every(G.isDateTime))throw new oe("max requires all arguments be DateTimes");return na(e,r=>r.valueOf(),Math.max)}static fromFormatExplain(e,r,n={}){let{locale:i=null,numberingSystem:a=null}=n,s=W.fromOpts({locale:i,numberingSystem:a,defaultToEN:!0});return Ss(s,e,r)}static fromStringExplain(e,r,n={}){return G.fromFormatExplain(e,r,n)}static buildFormatParser(e,r={}){let{locale:n=null,numberingSystem:i=null}=r,a=W.fromOpts({locale:n,numberingSystem:i,defaultToEN:!0});return new Es(a,e)}static fromFormatParser(e,r,n={}){if(z(e)||z(r))throw new oe("fromFormatParser requires an input string and a format parser");let{locale:i=null,numberingSystem:a=null}=n,s=W.fromOpts({locale:i,numberingSystem:a,defaultToEN:!0});if(!s.equals(r.locale))throw new oe(`fromFormatParser called with a locale of ${s}, but the format parser was created for ${r.locale}`);let{result:o,zone:u,specificOffset:c,invalidReason:d}=r.explainFromTokens(e);return d?G.invalid(d):gt(o,u,n,`format ${r.format}`,e,c)}static get DATE_SHORT(){return Tr}static get DATE_MED(){return Co}static get DATE_MED_WITH_WEEKDAY(){return Gl}static get DATE_FULL(){return Ao}static get DATE_HUGE(){return Do}static get TIME_SIMPLE(){return Oo}static get TIME_WITH_SECONDS(){return Bo}static get TIME_WITH_SHORT_OFFSET(){return Fo}static get TIME_WITH_LONG_OFFSET(){return Mo}static get TIME_24_SIMPLE(){return No}static get TIME_24_WITH_SECONDS(){return Po}static get TIME_24_WITH_SHORT_OFFSET(){return Lo}static get TIME_24_WITH_LONG_OFFSET(){return zo}static get DATETIME_SHORT(){return To}static get DATETIME_SHORT_WITH_SECONDS(){return jo}static get DATETIME_MED(){return Io}static get DATETIME_MED_WITH_SECONDS(){return Ro}static get DATETIME_MED_WITH_WEEKDAY(){return Jl}static get DATETIME_FULL(){return Vo}static get DATETIME_FULL_WITH_SECONDS(){return qo}static get DATETIME_HUGE(){return Uo}static get DATETIME_HUGE_WITH_SECONDS(){return Wo}};function It(t){if(Z.isDateTime(t))return t;if(t&&t.valueOf&&et(t.valueOf()))return Z.fromJSDate(t);if(t&&typeof t=="object")return Z.fromObject(t);throw new oe(`Unknown datetime argument: ${t}, of type ${typeof t}`)}var Gn="default",Ds="preflights",Uc="shortcuts",Wc="imports",Hc={[Wc]:-200,[Ds]:-100,[Uc]:-10,[Gn]:0},Os=/[\\:]?[\s'"`;{}]+/g;function Zc(t){return t.split(Os)}var Yc={name:"@unocss/core/extractor-split",order:0,extract({code:t}){return Zc(t)}};function J(t=[]){return Array.isArray(t)?t:[t]}function Te(t){return Array.from(new Set(t))}function ka(t,e){return t.reduce((r,n)=>(r.findIndex(i=>e(n,i))===-1&&r.push(n),r),[])}function te(t){return typeof t=="string"}var Bs=class extends Set{constructor(t){if(super(),this._map=new Map,t)for(let e of t)this.add(e)}add(t){return this._map.set(t,(this._map.get(t)??0)+1),super.add(t)}delete(t){return this._map.has(t)?(this._map.delete(t),super.delete(t)):!1}clear(){this._map.clear(),super.clear()}getCount(t){return this._map.get(t)??0}setCount(t,e){return this._map.set(t,e),super.add(t)}};function Sn(t){return t instanceof Bs}function or(t){return t.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function xe(t){let e=t.length,r=-1,n,i="",a=t.charCodeAt(0);for(;++r<e;){if(n=t.charCodeAt(r),n===0){i+="\uFFFD";continue}if(n===37){i+="\\%";continue}if(n===44){i+="\\,";continue}if(n>=1&&n<=31||n===127||r===0&&n>=48&&n<=57||r===1&&n>=48&&n<=57&&a===45){i+=`\\${n.toString(16)} `;continue}if(r===0&&e===1&&n===45){i+=`\\${t.charAt(r)}`;continue}if(n>=128||n===45||n===95||n>=48&&n<=57||n>=65&&n<=90||n>=97&&n<=122){i+=t.charAt(r);continue}i+=`\\${t.charAt(r)}`}return i}var _n=xe;function Gc(){return{events:{},emit(t,...e){(this.events[t]||[]).forEach(r=>r(...e))},on(t,e){return(this.events[t]=this.events[t]||[]).push(e),()=>this.events[t]=(this.events[t]||[]).filter(r=>r!==e)}}}var Jc=/[\w\u00A0-\uFFFF%-?]/;function Kc(t=""){return Jc.test(t)}function Xc(t){return typeof t=="function"?{match:t}:t}function xa(t){return t.length===3}function er(t){return t!=null}function Qc(){}var ed=class{constructor(){this._map=new Map}get(t,e){let r=this._map.get(t);if(r)return r.get(e)}getFallback(t,e,r){let n=this._map.get(t);return n||(n=new Map,this._map.set(t,n)),n.has(e)||n.set(e,r),n.get(e)}set(t,e,r){let n=this._map.get(t);return n||(n=new Map,this._map.set(t,n)),n.set(e,r),this}has(t,e){return this._map.get(t)?.has(e)}delete(t,e){return this._map.get(t)?.delete(e)||!1}deleteTop(t){return this._map.delete(t)}map(t){return Array.from(this._map.entries()).flatMap(([e,r])=>Array.from(r.entries()).map(([n,i])=>t(i,e,n)))}},td=class extends Map{getFallback(t,e){let r=this.get(t);return r===void 0?(this.set(t,e),e):r}map(t){let e=[];return this.forEach((r,n)=>{e.push(t(r,n))}),e}flatMap(t){let e=[];return this.forEach((r,n)=>{e.push(...t(r,n))}),e}};function Vr(t){return te(t)?t:(Array.isArray(t)?t:Object.entries(t)).filter(e=>e[1]!=null)}function rd(t){return Array.isArray(t)?t.find(e=>!Array.isArray(e)||Array.isArray(e[0]))?t.map(e=>Vr(e)):[t]:[Vr(t)]}function nd(t){return t.filter(([e,r],n)=>{if(e.startsWith("$$"))return!1;for(let i=n-1;i>=0;i--)if(t[i][0]===e&&t[i][1]===r)return!1;return!0})}var id="__virtual_key__";function Cn(t){return t==null?"":nd(t).map(([e,r])=>r!=null&&typeof r!="function"?e!=="__virtual_key__"?`${e}:${r};`:r:void 0).filter(Boolean).join("")}function _r(t){return t&&typeof t=="object"&&!Array.isArray(t)}function sr(t,e,r=!1){let n=t,i=e;if(Array.isArray(i))return r&&Array.isArray(i)?[...n,...i]:[...i];let a={...n};return _r(n)&&_r(i)&&Object.keys(i).forEach(s=>{_r(n[s])&&_r(i[s])||Array.isArray(n[s])&&Array.isArray(i[s])?a[s]=sr(n[s],i[s],r):Object.assign(a,{[s]:i[s]})}),a}function ir(t){let e,r,n;if(Array.isArray(t)){for(r=Array.from({length:e=t.length});e--;)r[e]=(n=t[e])&&typeof n=="object"?ir(n):n;return r}if(Object.prototype.toString.call(t)==="[object Object]"){r={};for(e in t)e==="__proto__"?Object.defineProperty(r,e,{value:ir(t[e]),configurable:!0,enumerable:!0,writable:!0}):r[e]=(n=t[e])&&typeof n=="object"?ir(n):n;return r}return t}function ad(t){return te(t[0])}function od(t){return te(t[0])}var Cr={};function sd(t=["-",":"]){let e=t.join("|");return Cr[e]||(Cr[e]=new RegExp(`((?:[!@*<~\\w+:_-]|\\[&?>?:?\\S*\\])+?)(${e})\\(((?:[~!<>\\w\\s:/\\\\,%#.$?-]|\\[[^\\]]*?\\])+?)\\)(?!\\s*?=>)`,"gm")),Cr[e].lastIndex=0,Cr[e]}function ud(t,e=["-",":"],r=5){let n=sd(e),i,a=t.toString(),s=new Set,o=new Map;do i=!1,a=a.replace(n,(c,d,h,p,l)=>{if(!e.includes(h))return c;i=!0,s.add(d+h);let m=l+d.length+h.length+1,f={length:c.length,items:[]};o.set(l,f);for(let b of[...p.matchAll(/\S+/g)]){let v=m+b.index,y=o.get(v)?.items;y?o.delete(v):y=[{offset:v,length:b[0].length,className:b[0]}];for(let w of y)w.className=w.className==="~"?h===":"?`${d}${h}~`:d:w.className.replace(/^(!?)(.*)/,`$1${d}${h}$2`),f.items.push(w)}return"$".repeat(c.length)}),r-=1;while(i&&r);let u;if(typeof t=="string"){u="";let c=0;for(let[d,h]of o)u+=t.slice(c,d),u+=h.items.map(p=>p.className).join(" "),c=d+h.length;u+=t.slice(c)}else{u=t;for(let[c,d]of o)u.overwrite(c,c+d.length,d.items.map(h=>h.className).join(" "))}return{prefixes:Array.from(s),hasChanged:i,groupsByOffset:o,get expanded(){return u.toString()}}}function ld(t,e=["-",":"],r=5){let n=ud(t,e,r);return typeof t=="string"?n.expanded:t}var wa=new Set;function cd(t){wa.has(t)||(console.warn("[unocss]",t),wa.add(t))}function Fs(t){return J(t).flatMap(e=>Array.isArray(e)?[e]:Object.entries(e))}var $a="_uno_resolved";async function dd(t){let e=typeof t=="function"?await t():await t;if($a in e)return e;e={...e},Object.defineProperty(e,$a,{value:!0,enumerable:!1});let r=e.shortcuts?Fs(e.shortcuts):void 0;if(e.shortcuts=r,e.prefix||e.layer){let n=i=>{i[2]||(i[2]={});let a=i[2];a.prefix==null&&e.prefix&&(a.prefix=J(e.prefix)),a.layer==null&&e.layer&&(a.layer=e.layer)};r?.forEach(n),e.rules?.forEach(n)}return e}async function Ms(t){let e=await dd(t);return e.presets?[e,...(await Promise.all((e.presets||[]).flatMap(J).flatMap(Ms))).flat()]:[e]}function hd(t){if(t.length===0)return{};let e=[],r=[],n=!1,i=[],a=[];for(let o of t){if(o.pipeline===!1){n=!0;break}else o.pipeline?.include&&e.push(o.pipeline.include),o.pipeline?.exclude&&r.push(o.pipeline.exclude);o.filesystem&&i.push(o.filesystem),o.inline&&a.push(o.inline)}let s={pipeline:n?!1:{include:Te(Sa(...e)),exclude:Te(Sa(...r))}};return i.length&&(s.filesystem=Te(i.flat())),a.length&&(s.inline=Te(a.flat())),s}async function Ea(t={},e={}){let r=Object.assign({},e,t),n=ka((await Promise.all((r.presets||[]).flatMap(J).flatMap(Ms))).flat(),(k,$)=>k.name===$.name),i=[...n.filter(k=>k.enforce==="pre"),...n.filter(k=>!k.enforce),...n.filter(k=>k.enforce==="post")],a=[...i,r],s=[...a].reverse(),o=Object.assign({},Hc,...a.map(k=>k.layers));function u(k){return Te(a.flatMap($=>J($[k]||[])))}let c=u("extractors"),d=s.find(k=>k.extractorDefault!==void 0)?.extractorDefault;d===void 0&&(d=Yc),d&&!c.includes(d)&&c.unshift(d),c.sort((k,$)=>(k.order||0)-($.order||0));let h=u("rules"),p=h.length,l={},m=[];for(let[k,$]of h.entries()){let x=$[2]??($[2]={});x.__index=k,ad($)?J(x.prefix??"").forEach(S=>{l[S+$[0]]=$}):m.unshift($)}let f={templates:Te(a.flatMap(k=>J(k.autocomplete?.templates))),extractors:a.flatMap(k=>J(k.autocomplete?.extractors)).sort((k,$)=>(k.order||0)-($.order||0)),shorthands:fd(a.map(k=>k.autocomplete?.shorthands||{}))},b=u("separators");b.length||(b=[":","-"]);let v=hd(u("content")),y={mergeSelectors:!0,warn:!0,sortLayers:k=>k,...r,blocklist:u("blocklist"),presets:i,envMode:r.envMode||"build",shortcutsLayer:r.shortcutsLayer||"shortcuts",layers:o,theme:pd(a.map(k=>k.theme)),rules:h,rulesSize:p,rulesDynamic:m,rulesStaticMap:l,preprocess:u("preprocess"),postprocess:u("postprocess"),preflights:u("preflights"),autocomplete:f,variants:u("variants").map(Xc).sort((k,$)=>(k.order||0)-($.order||0)),shortcuts:Fs(u("shortcuts")).reverse(),extractors:c,safelist:u("safelist"),separators:b,details:r.details??r.envMode==="dev",content:v,transformers:ka(u("transformers"),(k,$)=>k.name===$.name)},w=u("extendTheme");for(let k of w)y.theme=k(y.theme,y)||y.theme;for(let k of a)k?.configResolved?.(y);return y}function pd(t){return t.map(e=>e?ir(e):{}).reduce((e,r)=>sr(e,r),{})}function fd(t){return t.reduce((e,r)=>{let n={};for(let i in r){let a=r[i];Array.isArray(a)?n[i]=`(${a.join("|")})`:n[i]=a}return{...e,...n}},{})}function Sa(...t){return t.flatMap(md)}function md(t){return Array.isArray(t)?t:t?[t]:[]}var gd="66.6.7",re={shortcutsNoMerge:"$$symbol-shortcut-no-merge",noMerge:"$$symbol-no-merge",noScope:"$$symbol-no-scope",variants:"$$symbol-variants",parent:"$$symbol-parent",selector:"$$symbol-selector",layer:"$$symbol-layer",sort:"$$symbol-sort",body:"$$symbol-body"},bd=class Ns{constructor(e={},r={}){this.userConfig=e,this.defaults=r,this.version=gd,this.events=Gc(),this.config=void 0,this.cache=new Map,this.blocked=new Set,this.parentOrders=new Map,this.activatedRules=new Set,this.resolveCSSResult=(n,i,a,s)=>{let o=rd(i).filter(u=>u.length);if(o.length){this.config.details&&s.rules.push(a),s.generator.activatedRules.add(a);let u=a[2];return o.map(c=>{if(te(c))return[u.__index,c,u];let d=s.variantHandlers,h=u,p=m=>{d=[m,...d]},l=m=>{h={...h,...m}};for(let m of c)switch(m[0]){case re.variants:typeof m[1]=="function"?d=m[1](d)||d:d=[...J(m[1]),...d];break;case re.parent:p({parent:m[1]});break;case re.selector:p({selector:m[1]});break;case re.layer:p({layer:m[1]});break;case re.sort:l({sort:m[1]});break;case re.noMerge:l({noMerge:m[1]});break;case re.noScope:l({noScope:m[1]});break;case re.body:m[0]=id;break}return[u.__index,n,c,h,d]})}}}static async create(e={},r={}){let n=new Ns(e,r);return n.config=await Ea(n.userConfig,n.defaults),n.events.emit("config",n.config),n}async setConfig(e,r){e&&(r&&(this.defaults=r),this.userConfig=e,this.blocked.clear(),this.parentOrders.clear(),this.activatedRules.clear(),this.cache.clear(),this.config=await Ea(e,this.defaults),this.events.emit("config",this.config))}async applyExtractors(e,r,n=new Set){let i={original:e,code:e,id:r,extracted:n,envMode:this.config.envMode};for(let a of this.config.extractors){let s=await a.extract?.(i);if(s)if(Sn(s)&&Sn(n))for(let o of s)n.setCount(o,n.getCount(o)+s.getCount(o));else for(let o of s)n.add(o)}return n}makeContext(e,r){let n={rawSelector:e,currentSelector:r[1],theme:this.config.theme,generator:this,symbols:re,variantHandlers:r[2],constructCSS:(...i)=>this.constructCustomCSS(n,...i),variantMatch:r};return n}async parseToken(e,r){if(this.blocked.has(e))return;let n=`${e}${r?` ${r}`:""}`;if(this.cache.has(n))return this.cache.get(n);let i=this.config.preprocess.reduce((u,c)=>c(u)??u,e);if(this.isBlocked(i)){this.blocked.add(e),this.cache.set(n,null);return}let a=await this.matchVariants(e,i);if(a.every(u=>!u||this.isBlocked(u[1]))){this.blocked.add(e),this.cache.set(n,null);return}let s=async u=>{let c=this.makeContext(e,[r||u[0],u[1],u[2],u[3]]);this.config.details&&(c.variants=[...u[3]]);let d=await this.expandShortcut(c.currentSelector,c);return d?await this.stringifyShortcuts(c.variantMatch,c,d[0],d[1]):(await this.parseUtil(c.variantMatch,c))?.flatMap(h=>this.stringifyUtil(h,c)).filter(er)},o=(await Promise.all(a.map(u=>s(u)))).flat().filter(u=>!!u);if(o?.length)return this.cache.set(n,o),o;this.cache.set(n,null)}async generate(e,r={}){let{id:n,scope:i,preflights:a=!0,safelist:s=!0,minify:o=!1,extendedInfo:u=!1}=r,c=te(e)?await this.applyExtractors(e,n,u?new Bs:new Set):Array.isArray(e)?new Set(e):e;if(s){let S={generator:this,theme:this.config.theme};this.config.safelist.flatMap(_=>typeof _=="function"?_(S):_).forEach(_=>{let A=_.trim();A&&!c.has(A)&&c.add(A)})}let d=o?"":`
25
- `,h=new Set([Gn]),p=u?new Map:new Set,l=new Map,m={},f=Array.from(c).map(async S=>{if(p.has(S))return;let _=await this.parseToken(S);if(_!=null){p instanceof Map?p.set(S,{data:_,count:Sn(c)?c.getCount(S):-1}):p.add(S);for(let A of _){let C=A[3]||"",F=A[4]?.layer;l.has(C)||l.set(C,[]),l.get(C).push(A),F&&h.add(F)}}});await Promise.all(f),await(async()=>{if(!a)return;let S={generator:this,theme:this.config.theme},_=new Set([]);this.config.preflights.forEach(({layer:A=Ds})=>{h.add(A),_.add(A)}),m=Object.fromEntries(await Promise.all(Array.from(_).map(async A=>[A,(await Promise.all(this.config.preflights.filter(C=>(C.layer||"preflights")===A).map(async C=>await C.getCSS(S)))).filter(Boolean).join(d)])))})();let b=S=>this.config.sortLayers(S.sort((_,A)=>(this.config.layers[_]??0)-(this.config.layers[A]??0)||_.localeCompare(A))),v=b(Array.from(h)),y={},w=this.config.outputToCssLayers,k=S=>{let _=S;return typeof w=="object"&&(_=w.cssLayerName?.(S)),_===null?null:_??S},$=(S=Gn)=>{if(y[S])return y[S];let _=Array.from(l).sort((F,D)=>(this.parentOrders.get(F[0])??0)-(this.parentOrders.get(D[0])??0)||F[0]?.localeCompare(D[0]||"")||0).map(([F,D])=>{let B=D.length,M=D.filter(j=>(j[4]?.layer||"default")===S).sort((j,Se)=>j[0]-Se[0]||(j[4]?.sort||0)-(Se[4]?.sort||0)||j[5]?.currentSelector?.localeCompare(Se[5]?.currentSelector??"")||j[1]?.localeCompare(Se[1]||"")||j[2]?.localeCompare(Se[2]||"")||0).map(([,j,Se,,Tt,,mn])=>[[[(j&&!Tt?.noScope?kd(j,i):j)??"",Tt?.sort??0]],Se,!!(mn??Tt?.noMerge)]);if(!M.length)return;let R=M.reverse().map(([j,Se,Tt],mn)=>{if(!Tt&&this.config.mergeSelectors)for(let Ye=mn+1;Ye<B;Ye++){let Le=M[Ye];if(Le&&!Le[2]&&(j&&Le[0]||j==null&&Le[0]==null)&&Le[1]===Se)return j&&Le[0]&&Le[0].push(...j),null}let Vi=j?Te(j.sort((Ye,Le)=>Ye[1]-Le[1]||Ye[0]?.localeCompare(Le[0]||"")||0).map(Ye=>Ye[0]).filter(Boolean)):[];return Vi.length?`${Vi.join(`,${d}`)}{${Se}}`:Se}).filter(Boolean),V=Array.from(new Set(R)).reverse().join(d);if(!F)return V;let Y=F.split(" $$ ");return`${Y.join("{")}{${d}${V}${d}${"}".repeat(Y.length)}`}).filter(Boolean).join(d);a&&(_=[m[S],_].filter(Boolean).join(d));let A;w&&_&&(A=k(S),A!==null&&(_=`@layer ${A}{${d}${_}${d}}`));let C=o?"":`/* layer: ${S}${A&&A!==S?`, alias: ${A}`:""} */${d}`;return y[S]=_?C+_:""},x=(S=v,_)=>{let A=S.filter(F=>!_?.includes(F)),C=A.map($).filter(Boolean);if(w){let F=A;typeof w=="object"&&w.allLayers&&(F=b(Object.keys(this.config.layers))),F.length>0&&C.unshift(`@layer ${F.map(k).filter(er).join(", ")};`)}return C.join(d)};return{get css(){return x()},layers:v,matched:p,getLayers:x,getLayer:$,setLayer:async(S,_)=>{let A=await _($(S));return y[S]=A,A}}}async matchVariants(e,r){let n={rawSelector:e,theme:this.config.theme,generator:this},i=async a=>{let s=!0,[,,o,u]=a;for(;s;){s=!1;let c=a[1];for(let d of this.config.variants){if(!d.multiPass&&u.has(d))continue;let h=await d.match(c,n);if(h){if(te(h)){if(h===c)continue;h={matcher:h}}if(Array.isArray(h)){if(!h.length)continue;if(h.length===1)h=h[0];else{if(d.multiPass)throw new Error("multiPass can not be used together with array return variants");let p=h.map(l=>{let m=l.matcher??c,f=[l,...o],b=new Set(u);return b.add(d),[a[0],m,f,b]});return(await Promise.all(p.map(l=>i(l)))).flat()}}a[1]=h.matcher??c,o.unshift(h),u.add(d),s=!0;break}}if(!s)break;if(o.length>500)throw new Error(`Too many variants applied to "${e}"`)}return[a]};return await i([e,r||e,[],new Set])}applyVariants(e,r=e[4],n=e[1]){let i=r.slice().sort((u,c)=>(u.order||0)-(c.order||0)).reduceRight((u,c)=>d=>{let h=c.body?.(d.entries)||d.entries,p=Array.isArray(c.parent)?c.parent:[c.parent,void 0],l=c.selector?.(d.selector,h);return(c.handle??wd)({...d,entries:h,selector:l||d.selector,parent:p[0]||d.parent,parentOrder:p[1]||d.parentOrder,layer:c.layer||d.layer,sort:c.sort||d.sort},u)},u=>u)({prefix:"",selector:xd(n),pseudo:"",entries:e[2]}),{parent:a,parentOrder:s}=i;a!=null&&s!=null&&this.parentOrders.set(a,s);let o={selector:[i.prefix,i.selector,i.pseudo].join(""),entries:i.entries,parent:a,layer:i.layer,sort:i.sort,noMerge:i.noMerge};return this.config.postprocess.reduce((u,c)=>{let d=[];for(let h of u){let p=c(h);Array.isArray(p)?d.push(...p.filter(er)):d.push(p||h)}return d},[o])}constructCustomCSS(e,r,n){let i=Vr(r);return te(i)?i:this.applyVariants([0,n||e.rawSelector,i,void 0,e.variantHandlers]).map(({selector:a,entries:s,parent:o})=>{let u=`${a}{${Cn(s)}}`;return o?`${o}{${u}}`:u}).join("")}async parseUtil(e,r,n=!1,i){let a=te(e)?await this.matchVariants(e):[e],s=async([u,c,d])=>{this.config.details&&(r.rules=r.rules??[]);let h={...r,variantHandlers:d},p=this.config.rulesStaticMap[c];if(p&&p[1]&&(n||!p[2]?.internal))return this.resolveCSSResult(u,p[1],p,h);for(let l of this.config.rulesDynamic){let[m,f,b]=l;if(b?.internal&&!n)continue;let v=c;if(b?.prefix){let $=J(b.prefix);if(i){let x=J(i);if(!$.some(S=>x.includes(S)))continue}else{let x=$.find(S=>c.startsWith(S));if(x==null)continue;v=c.slice(x.length)}}let y=v.match(m);if(!y)continue;let w=await f(y,h);if(!w)continue;if(typeof w!="string")if(Symbol.asyncIterator in w){let $=[];for await(let x of w)x&&$.push(x);w=$}else Symbol.iterator in w&&!Array.isArray(w)&&(w=Array.from(w).filter(er));let k=this.resolveCSSResult(u,w,l,h);if(k)return k}},o=(await Promise.all(a.map(u=>s(u)))).flat().filter(u=>!!u);if(o.length)return o}stringifyUtil(e,r){if(!e)return;if(xa(e))return[[e[0],void 0,e[1],void 0,e[2],this.config.details?r:void 0,void 0]];let n=this.applyVariants(e),i=[];for(let a of n){let{selector:s,entries:o,parent:u,layer:c,sort:d,noMerge:h}=a,p=Cn(o);if(!p)continue;let{layer:l,sort:m,...f}=e[3]??{},b={...f,layer:c??l,sort:d??m};i.push([e[0],s,p,u,b,this.config.details?r:void 0,h])}return i}async expandShortcut(e,r,n=5){if(n===0)return;let i=this.config.details?c=>{r.shortcuts=r.shortcuts??[],r.shortcuts.push(c)}:Qc,a,s,o,u;for(let c of this.config.shortcuts){let d=e;if(c[2]?.prefix){let h=J(c[2].prefix).find(p=>e.startsWith(p));if(h==null)continue;d=e.slice(h.length)}if(od(c)){if(c[0]===d){a=a||c[2],s=c[1],i(c);break}}else{let h=d.match(c[0]);if(h&&(s=c[1](h,r)),s){a=a||c[2],i(c);break}}}if(s&&(o=Te(J(s).filter(te).map(c=>ld(c.trim()).split(/\s+/g)).flat()),u=J(s).filter(c=>!te(c)).map(c=>({handles:[],value:c}))),!s){let c=te(e)?await this.matchVariants(e):[e];for(let d of c){let[h,p,l]=d;if(h!==p){let m=await this.expandShortcut(p,r,n-1);m&&(o=m[0].filter(te).map(f=>h.replace(p,f)),u=m[0].filter(f=>!te(f)).map(f=>({handles:[...f.handles,...l],value:f.value})))}}}if(!(!o?.length&&!u?.length))return[[await Promise.all(J(o).map(async c=>(await this.expandShortcut(c,r,n-1))?.[0]||[c])),u].flat(2).filter(c=>!!c),a]}async stringifyShortcuts(e,r,n,i={layer:this.config.shortcutsLayer}){let a=new td,s=(await Promise.all(Te(n).map(async d=>{let h=te(d)?await this.parseUtil(d,r,!0,i.prefix):[[Number.POSITIVE_INFINITY,"{inline}",Vr(d.value),void 0,d.handles]];return!h&&this.config.warn&&cd(`unmatched utility "${d}" in shortcut "${e[1]}"`),h||[]}))).flat(1).filter(Boolean).sort((d,h)=>d[0]-h[0]),[o,,u]=e,c=[];for(let d of s){if(xa(d)){c.push([d[0],void 0,d[1],void 0,d[2],r,void 0]);continue}let h=Object.fromEntries(d[2])[re.shortcutsNoMerge],p=[...d[4],...h?[]:u];for(let{selector:l,entries:m,parent:f,sort:b,noMerge:v,layer:y}of this.applyVariants(d,p,o))a.getFallback(y??i.layer,new ed).getFallback(l,f,[[],d[0]])[0].push([m,!!(v??d[3]?.noMerge),b??0])}return c.concat(a.flatMap((d,h)=>d.map(([p,l],m,f)=>{let b=(v,y,w)=>{let k=Math.max(...w.map(x=>x[1])),$=w.map(x=>x[0]);return(v?[$.flat(1)]:$).map(x=>{let S=Cn(x);if(S)return[l,m,S,f,{...i,noMerge:y,sort:k,layer:h},r,void 0]})};return[[p.filter(([,v])=>v).map(([v,,y])=>[v,y]),!0],[p.filter(([,v])=>!v).map(([v,,y])=>[v,y]),!1]].map(([v,y])=>[...b(!1,y,v.filter(([w])=>w.some(k=>k[0]===re.shortcutsNoMerge))),...b(!0,y,v.filter(([w])=>w.every(k=>k[0]!==re.shortcutsNoMerge)))])}).flat(2).filter(Boolean)))}isBlocked(e){return!e||this.config.blocklist.map(r=>Array.isArray(r)?r[0]:r).some(r=>typeof r=="function"?r(e):te(r)?r===e:r.test(e))}getBlocked(e){let r=this.config.blocklist.find(n=>{let i=Array.isArray(n)?n[0]:n;return typeof i=="function"?i(e):te(i)?i===e:i.test(e)});return r?Array.isArray(r)?r:[r,void 0]:void 0}};async function yd(t,e){return await bd.create(t,e)}var Ps=/\s\$\$\s+/g;function vd(t){return Ps.test(t)}function kd(t,e){return vd(t)?t.replace(Ps,e?` ${e} `:" "):e?`${e} ${t}`:t}var _a=/^\[(.+?)(~?=)"(.*)"\]$/;function xd(t){return _a.test(t)?t.replace(_a,(e,r,n,i)=>`[${_n(r)}${n}"${_n(i)}"]`):`.${_n(t)}`}function wd(t,e){return e(t)}var $d=44,Ed=59,Ca="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",Ls=new Uint8Array(64),Sd=new Uint8Array(128);for(let t=0;t<Ca.length;t++){let e=Ca.charCodeAt(t);Ls[t]=e,Sd[e]=t}function Rt(t,e,r){let n=e-r;n=n<0?-n<<1|1:n<<1;do{let i=n&31;n>>>=5,n>0&&(i|=32),t.write(Ls[i])}while(n>0);return e}var Aa=1024*16,Da=typeof TextDecoder<"u"?new TextDecoder:typeof Buffer<"u"?{decode(t){return Buffer.from(t.buffer,t.byteOffset,t.byteLength).toString()}}:{decode(t){let e="";for(let r=0;r<t.length;r++)e+=String.fromCharCode(t[r]);return e}},_d=class{constructor(){this.pos=0,this.out="",this.buffer=new Uint8Array(Aa)}write(t){let{buffer:e}=this;e[this.pos++]=t,this.pos===Aa&&(this.out+=Da.decode(e),this.pos=0)}flush(){let{buffer:t,out:e,pos:r}=this;return r>0?e+Da.decode(t.subarray(0,r)):e}};function Cd(t){let e=new _d,r=0,n=0,i=0,a=0;for(let s=0;s<t.length;s++){let o=t[s];if(s>0&&e.write(Ed),o.length===0)continue;let u=0;for(let c=0;c<o.length;c++){let d=o[c];c>0&&e.write($d),u=Rt(e,d[0],u),d.length!==1&&(r=Rt(e,d[1],r),n=Rt(e,d[2],n),i=Rt(e,d[3],i),d.length!==4&&(a=Rt(e,d[4],a)))}}return e.flush()}var Oa=class zs{constructor(e){this.bits=e instanceof zs?e.bits.slice():[]}add(e){this.bits[e>>5]|=1<<(e&31)}has(e){return!!(this.bits[e>>5]&1<<(e&31))}},Ba=class Jn{constructor(e,r,n){this.start=e,this.end=r,this.original=n,this.intro="",this.outro="",this.content=n,this.storeName=!1,this.edited=!1,this.previous=null,this.next=null}appendLeft(e){this.outro+=e}appendRight(e){this.intro=this.intro+e}clone(){let e=new Jn(this.start,this.end,this.original);return e.intro=this.intro,e.outro=this.outro,e.content=this.content,e.storeName=this.storeName,e.edited=this.edited,e}contains(e){return this.start<e&&e<this.end}eachNext(e){let r=this;for(;r;)e(r),r=r.next}eachPrevious(e){let r=this;for(;r;)e(r),r=r.previous}edit(e,r,n){return this.content=e,n||(this.intro="",this.outro=""),this.storeName=r,this.edited=!0,this}prependLeft(e){this.outro=e+this.outro}prependRight(e){this.intro=e+this.intro}reset(){this.intro="",this.outro="",this.edited&&(this.content=this.original,this.storeName=!1,this.edited=!1)}split(e){let r=e-this.start,n=this.original.slice(0,r),i=this.original.slice(r);this.original=n;let a=new Jn(e,this.end,i);return a.outro=this.outro,this.outro="",this.end=e,this.edited?(a.edit("",!1),this.content=""):this.content=n,a.next=this.next,a.next&&(a.next.previous=a),a.previous=this,this.next=a,a}toString(){return this.intro+this.content+this.outro}trimEnd(e){if(this.outro=this.outro.replace(e,""),this.outro.length)return!0;let r=this.content.replace(e,"");if(r.length)return r!==this.content&&(this.split(this.start+r.length).edit("",void 0,!0),this.edited&&this.edit(r,this.storeName,!0)),!0;if(this.edit("",void 0,!0),this.intro=this.intro.replace(e,""),this.intro.length)return!0}trimStart(e){if(this.intro=this.intro.replace(e,""),this.intro.length)return!0;let r=this.content.replace(e,"");if(r.length){if(r!==this.content){let n=this.split(this.end-r.length);this.edited&&n.edit(r,this.storeName,!0),this.edit("",void 0,!0)}return!0}else if(this.edit("",void 0,!0),this.outro=this.outro.replace(e,""),this.outro.length)return!0}};function Ad(){return typeof globalThis<"u"&&typeof globalThis.btoa=="function"?t=>globalThis.btoa(unescape(encodeURIComponent(t))):typeof Buffer=="function"?t=>Buffer.from(t,"utf-8").toString("base64"):()=>{throw new Error("Unsupported environment: `window.btoa` or `Buffer` should be supported.")}}var Dd=Ad(),Od=class{constructor(t){this.version=3,this.file=t.file,this.sources=t.sources,this.sourcesContent=t.sourcesContent,this.names=t.names,this.mappings=Cd(t.mappings),typeof t.x_google_ignoreList<"u"&&(this.x_google_ignoreList=t.x_google_ignoreList),typeof t.debugId<"u"&&(this.debugId=t.debugId)}toString(){return JSON.stringify(this)}toUrl(){return"data:application/json;charset=utf-8;base64,"+Dd(this.toString())}};function Bd(t){let e=t.split(`
26
- `),r=e.filter(a=>/^\t+/.test(a)),n=e.filter(a=>/^ {2,}/.test(a));if(r.length===0&&n.length===0)return null;if(r.length>=n.length)return" ";let i=n.reduce((a,s)=>{let o=/^ +/.exec(s)[0].length;return Math.min(o,a)},1/0);return new Array(i+1).join(" ")}function Fd(t,e){let r=t.split(/[/\\]/),n=e.split(/[/\\]/);for(r.pop();r[0]===n[0];)r.shift(),n.shift();if(r.length){let i=r.length;for(;i--;)r[i]=".."}return r.concat(n).join("/")}var Md=Object.prototype.toString;function Nd(t){return Md.call(t)==="[object Object]"}function Fa(t){let e=t.split(`
27
- `),r=[];for(let n=0,i=0;n<e.length;n++)r.push(i),i+=e[n].length+1;return function(n){let i=0,a=r.length;for(;i<a;){let u=i+a>>1;n<r[u]?a=u:i=u+1}let s=i-1,o=n-r[s];return{line:s,column:o}}}var Pd=/\w/,Ld=class{constructor(t){this.hires=t,this.generatedCodeLine=0,this.generatedCodeColumn=0,this.raw=[],this.rawSegments=this.raw[this.generatedCodeLine]=[],this.pending=null}addEdit(t,e,r,n){if(e.length){let i=e.length-1,a=e.indexOf(`
23
+ `.trim()},blockValue:function(p){var l=this.aliasable("container.hooks.blockHelperMissing"),m=[this.contextName(0)];this.setupHelperArgs(p,0,m);var f=this.popStack();m.splice(1,0,f),this.push(this.source.functionCall(l,"call",m))},ambiguousBlockValue:function(){var p=this.aliasable("container.hooks.blockHelperMissing"),l=[this.contextName(0)];this.setupHelperArgs("",0,l,!0),this.flushInline();var m=this.topStack();l.splice(1,0,m),this.pushSource(["if (!",this.lastHelper,") { ",m," = ",this.source.functionCall(p,"call",l),"}"])},appendContent:function(p){this.pendingContent?p=this.pendingContent+p:this.pendingLocation=this.source.currentLocation,this.pendingContent=p},append:function(){if(this.isInline())this.replaceStack(function(l){return[" != null ? ",l,' : ""']}),this.pushSource(this.appendToBuffer(this.popStack()));else{var p=this.popStack();this.pushSource(["if (",p," != null) { ",this.appendToBuffer(p,void 0,!0)," }"]),this.environment.isSimple&&this.pushSource(["else { ",this.appendToBuffer("''",void 0,!0)," }"])}},appendEscaped:function(){this.pushSource(this.appendToBuffer([this.aliasable("container.escapeExpression"),"(",this.popStack(),")"]))},getContext:function(p){this.lastContext=p},pushContext:function(){this.pushStackLiteral(this.contextName(this.lastContext))},lookupOnContext:function(p,l,m,f){var b=0;!f&&this.options.compat&&!this.lastContext?this.push(this.depthedLookup(p[b++])):this.pushContext(),this.resolvePath("context",p,b,l,m)},lookupBlockParam:function(p,l){this.useBlockParams=!0,this.push(["blockParams[",p[0],"][",p[1],"]"]),this.resolvePath("context",l,1)},lookupData:function(p,l,m){p?this.pushStackLiteral("container.data(data, "+p+")"):this.pushStackLiteral("data"),this.resolvePath("data",l,0,!0,m)},resolvePath:function(p,l,m,f,b){var v=this;if(this.options.strict||this.options.assumeObjects){this.push(h(this.options.strict&&b,this,l,m,p));return}for(var y=l.length,w=function($){v.replaceStack(function(x){var S=v.nameLookup(x,l[$],p);return f?[" && ",S]:[" != null ? ",S," : ",x]})},k=m;k<y;k++)w(k)},resolvePossibleLambda:function(){this.push([this.aliasable("container.lambda"),"(",this.popStack(),", ",this.contextName(0),")"])},pushStringParam:function(p,l){this.pushContext(),this.pushString(l),l!=="SubExpression"&&(typeof p=="string"?this.pushString(p):this.pushStackLiteral(p))},emptyHash:function(p){this.trackIds&&this.push("{}"),this.stringParams&&(this.push("{}"),this.push("{}")),this.pushStackLiteral(p?"undefined":"{}")},pushHash:function(){this.hash&&this.hashes.push(this.hash),this.hash={values:{},types:[],contexts:[],ids:[]}},popHash:function(){var p=this.hash;this.hash=this.hashes.pop(),this.trackIds&&this.push(this.objectLiteral(p.ids)),this.stringParams&&(this.push(this.objectLiteral(p.contexts)),this.push(this.objectLiteral(p.types))),this.push(this.objectLiteral(p.values))},pushString:function(p){this.pushStackLiteral(this.quotedString(p))},pushLiteral:function(p){this.pushStackLiteral(p)},pushProgram:function(p){p!=null?this.pushStackLiteral(this.programExpression(p)):this.pushStackLiteral(null)},registerDecorator:function(p,l){var m=this.nameLookup("decorators",l,"decorator"),f=this.setupHelperArgs(l,p);this.decorators.push(["var decorator = ",m,";"]),this.decorators.push(['if (typeof decorator !== "function") { throw new Error(',this.quotedString('Missing decorator: "'+l+'"'),"); }"]),this.decorators.push(["fn = ",this.decorators.functionCall("decorator","",["fn","props","container",f])," || fn;"])},invokeHelper:function(p,l,m){var f=this.popStack(),b=this.setupHelper(p,l),v=[];m&&v.push(b.name),v.push(f),this.options.strict||v.push(this.aliasable("container.hooks.helperMissing"));var y=["(",this.itemsSeparatedBy(v,"||"),")"],w=this.source.functionCall(y,"call",b.callParams);this.push(w)},itemsSeparatedBy:function(p,l){var m=[];m.push(p[0]);for(var f=1;f<p.length;f++)m.push(l,p[f]);return m},invokeKnownHelper:function(p,l){var m=this.setupHelper(p,l);this.push(this.source.functionCall(m.name,"call",m.callParams))},invokeAmbiguous:function(p,l){this.useRegister("helper");var m=this.popStack();this.emptyHash();var f=this.setupHelper(0,p,l),b=this.lastHelper=this.nameLookup("helpers",p,"helper"),v=["(","(helper = ",b," || ",m,")"];this.options.strict||(v[0]="(helper = ",v.push(" != null ? helper : ",this.aliasable("container.hooks.helperMissing"))),this.push(["(",v,f.paramsInit?["),(",f.paramsInit]:[],"),","(typeof helper === ",this.aliasable('"function"')," ? ",this.source.functionCall("helper","call",f.callParams)," : helper))"])},invokePartial:function(p,l,m){var f=[],b=this.setupParams(l,1,f);p&&(l=this.popStack(),delete b.name),m&&(b.indent=JSON.stringify(m)),b.helpers="helpers",b.partials="partials",b.decorators="container.decorators",p?f.unshift(l):f.unshift(this.nameLookup("partials",l,"partial")),this.options.compat&&(b.depths="depths"),b=this.objectLiteral(b),f.push(b),this.push(this.source.functionCall("container.invokePartial","",f))},assignToHash:function(p){var l=this.popStack(),m=void 0,f=void 0,b=void 0;this.trackIds&&(b=this.popStack()),this.stringParams&&(f=this.popStack(),m=this.popStack());var v=this.hash;m&&(v.contexts[p]=m),f&&(v.types[p]=f),b&&(v.ids[p]=b),v.values[p]=l},pushId:function(p,l,m){p==="BlockParam"?this.pushStackLiteral("blockParams["+l[0]+"].path["+l[1]+"]"+(m?" + "+JSON.stringify("."+m):"")):p==="PathExpression"?this.pushString(l):p==="SubExpression"?this.pushStackLiteral("true"):this.pushStackLiteral("null")},compiler:d,compileChildren:function(p,l){for(var m=p.children,f=void 0,b=void 0,v=0,y=m.length;v<y;v++){f=m[v],b=new this.compiler;var w=this.matchExistingProgram(f);if(w==null){var k=this.context.programs.push("")-1;f.index=k,f.name="program"+k,this.context.programs[k]=b.compile(f,l,this.context,!this.precompile),this.context.decorators[k]=b.decorators,this.context.environments[k]=f,this.useDepths=this.useDepths||b.useDepths,this.useBlockParams=this.useBlockParams||b.useBlockParams,f.useDepths=this.useDepths,f.useBlockParams=this.useBlockParams}else f.index=w.index,f.name="program"+w.index,this.useDepths=this.useDepths||w.useDepths,this.useBlockParams=this.useBlockParams||w.useBlockParams}},matchExistingProgram:function(p){for(var l=0,m=this.context.environments.length;l<m;l++){var f=this.context.environments[l];if(f&&f.equals(p))return f}},programExpression:function(p){var l=this.environment.children[p],m=[l.index,"data",l.blockParams];return(this.useBlockParams||this.useDepths)&&m.push("blockParams"),this.useDepths&&m.push("depths"),"container.program("+m.join(", ")+")"},useRegister:function(p){this.registers[p]||(this.registers[p]=!0,this.registers.list.push(p))},push:function(p){return p instanceof c||(p=this.source.wrap(p)),this.inlineStack.push(p),p},pushStackLiteral:function(p){this.push(new c(p))},pushSource:function(p){this.pendingContent&&(this.source.push(this.appendToBuffer(this.source.quotedString(this.pendingContent),this.pendingLocation)),this.pendingContent=void 0),p&&this.source.push(p)},replaceStack:function(p){var l=["("],m=void 0,f=void 0,b=void 0;if(!this.isInline())throw new a.default("replaceStack on non-inline");var v=this.popStack(!0);if(v instanceof c)m=[v.value],l=["(",m],b=!0;else{f=!0;var y=this.incrStack();l=["((",this.push(y)," = ",v,")"],m=this.topStack()}var w=p.call(this,m);b||this.popStack(),f&&this.stackSlot--,this.push(l.concat(w,")"))},incrStack:function(){return this.stackSlot++,this.stackSlot>this.stackVars.length&&this.stackVars.push("stack"+this.stackSlot),this.topStackName()},topStackName:function(){return"stack"+this.stackSlot},flushInline:function(){var p=this.inlineStack;this.inlineStack=[];for(var l=0,m=p.length;l<m;l++){var f=p[l];if(f instanceof c)this.compileStack.push(f);else{var b=this.incrStack();this.pushSource([b," = ",f,";"]),this.compileStack.push(b)}}},isInline:function(){return this.inlineStack.length},popStack:function(p){var l=this.isInline(),m=(l?this.inlineStack:this.compileStack).pop();if(!p&&m instanceof c)return m.value;if(!l){if(!this.stackSlot)throw new a.default("Invalid stack pop");this.stackSlot--}return m},topStack:function(){var p=this.isInline()?this.inlineStack:this.compileStack,l=p[p.length-1];return l instanceof c?l.value:l},contextName:function(p){return this.useDepths&&p?"depths["+p+"]":"depth"+p},quotedString:function(p){return this.source.quotedString(p)},objectLiteral:function(p){return this.source.objectLiteral(p)},aliasable:function(p){var l=this.aliases[p];return l?(l.referenceCount++,l):(l=this.aliases[p]=this.source.wrap(p),l.aliasable=!0,l.referenceCount=1,l)},setupHelper:function(p,l,m){var f=[],b=this.setupHelperArgs(l,p,f,m),v=this.nameLookup("helpers",l,"helper"),y=this.aliasable(this.contextName(0)+" != null ? "+this.contextName(0)+" : (container.nullContext || {})");return{params:f,paramsInit:b,name:v,callParams:[y].concat(f)}},setupParams:function(p,l,m){var f={},b=[],v=[],y=[],w=!m,k=void 0;w&&(m=[]),f.name=this.quotedString(p),f.hash=this.popStack(),this.trackIds&&(f.hashIds=this.popStack()),this.stringParams&&(f.hashTypes=this.popStack(),f.hashContexts=this.popStack());var $=this.popStack(),x=this.popStack();(x||$)&&(f.fn=x||"container.noop",f.inverse=$||"container.noop");for(var S=l;S--;)k=this.popStack(),m[S]=k,this.trackIds&&(y[S]=this.popStack()),this.stringParams&&(v[S]=this.popStack(),b[S]=this.popStack());return w&&(f.args=this.source.generateArray(m)),this.trackIds&&(f.ids=this.source.generateArray(y)),this.stringParams&&(f.types=this.source.generateArray(v),f.contexts=this.source.generateArray(b)),this.options.data&&(f.data="data"),this.useBlockParams&&(f.blockParams="blockParams"),f},setupHelperArgs:function(p,l,m,f){var b=this.setupParams(p,l,m);return b.loc=JSON.stringify(this.source.currentLocation),b=this.objectLiteral(b),f?(this.useRegister("options"),m.push("options"),["options=",b]):m?(m.push(b),""):b}},(function(){for(var p="break else new var case finally return void catch for switch while continue function this with default if throw delete in try do instanceof typeof abstract enum int short boolean export interface static byte extends long super char final native synchronized class float package throws const goto private transient debugger implements protected volatile double import public let yield await null true false".split(" "),l=d.RESERVED_WORDS={},m=0,f=p.length;m<f;m++)l[p[m]]=!0})(),d.isValidJavaScriptVariableName=function(p){return!d.RESERVED_WORDS[p]&&/^[a-zA-Z_$][0-9a-zA-Z_$]*$/.test(p)};function h(p,l,m,f,b){var v=l.popStack(),y=m.length;p&&y--;for(var w=f;w<y;w++)v=l.nameLookup(v,m[w],b);return p?[l.aliasable("container.strict"),"(",v,", ",l.quotedString(m[y]),", ",JSON.stringify(l.source.currentLocation)," )"]:v}t.default=d,e.exports=t.default}),_l=N((t,e)=>{"use strict";t.__esModule=!0;function r(y){return y&&y.__esModule?y:{default:y}}var n=dl(),i=r(n),a=xo(),s=r(a),o=ml(),u=gl(),c=Sl(),d=r(c),h=pi(),p=r(h),l=ko(),m=r(l),f=i.default.create;function b(){var y=f();return y.compile=function(w,k){return u.compile(w,k,y)},y.precompile=function(w,k){return u.precompile(w,k,y)},y.AST=s.default,y.Compiler=u.Compiler,y.JavaScriptCompiler=d.default,y.Parser=o.parser,y.parse=o.parse,y.parseWithoutProcessing=o.parseWithoutProcessing,y}var v=b();v.create=b,m.default(v),v.Visitor=p.default,v.default=v,t.default=v,e.exports=t.default}),Al=N(t=>{"use strict";t.__esModule=!0,t.print=i,t.PrintVisitor=a;function e(s){return s&&s.__esModule?s:{default:s}}var r=pi(),n=e(r);function i(s){return new a().accept(s)}function a(){this.padding=0}a.prototype=new n.default,a.prototype.pad=function(s){for(var o="",u=0,c=this.padding;u<c;u++)o+=" ";return o+=s+`
24
+ `,o},a.prototype.Program=function(s){var o="",u=s.body,c=void 0,d=void 0;if(s.blockParams){var h="BLOCK PARAMS: [";for(c=0,d=s.blockParams.length;c<d;c++)h+=" "+s.blockParams[c];h+=" ]",o+=this.pad(h)}for(c=0,d=u.length;c<d;c++)o+=this.accept(u[c]);return this.padding--,o},a.prototype.MustacheStatement=function(s){return this.pad("{{ "+this.SubExpression(s)+" }}")},a.prototype.Decorator=function(s){return this.pad("{{ DIRECTIVE "+this.SubExpression(s)+" }}")},a.prototype.BlockStatement=a.prototype.DecoratorBlock=function(s){var o="";return o+=this.pad((s.type==="DecoratorBlock"?"DIRECTIVE ":"")+"BLOCK:"),this.padding++,o+=this.pad(this.SubExpression(s)),s.program&&(o+=this.pad("PROGRAM:"),this.padding++,o+=this.accept(s.program),this.padding--),s.inverse&&(s.program&&this.padding++,o+=this.pad("{{^}}"),this.padding++,o+=this.accept(s.inverse),this.padding--,s.program&&this.padding--),this.padding--,o},a.prototype.PartialStatement=function(s){var o="PARTIAL:"+s.name.original;return s.params[0]&&(o+=" "+this.accept(s.params[0])),s.hash&&(o+=" "+this.accept(s.hash)),this.pad("{{> "+o+" }}")},a.prototype.PartialBlockStatement=function(s){var o="PARTIAL BLOCK:"+s.name.original;return s.params[0]&&(o+=" "+this.accept(s.params[0])),s.hash&&(o+=" "+this.accept(s.hash)),o+=" "+this.pad("PROGRAM:"),this.padding++,o+=this.accept(s.program),this.padding--,this.pad("{{> "+o+" }}")},a.prototype.ContentStatement=function(s){return this.pad("CONTENT[ '"+s.value+"' ]")},a.prototype.CommentStatement=function(s){return this.pad("{{! '"+s.value+"' }}")},a.prototype.SubExpression=function(s){for(var o=s.params,u=[],c=void 0,d=0,h=o.length;d<h;d++)u.push(this.accept(o[d]));return o="["+u.join(", ")+"]",c=s.hash?" "+this.accept(s.hash):"",this.accept(s.path)+" "+o+c},a.prototype.PathExpression=function(s){var o=s.parts.join("/");return(s.data?"@":"")+"PATH:"+o},a.prototype.StringLiteral=function(s){return'"'+s.value+'"'},a.prototype.NumberLiteral=function(s){return"NUMBER{"+s.value+"}"},a.prototype.BooleanLiteral=function(s){return"BOOLEAN{"+s.value+"}"},a.prototype.UndefinedLiteral=function(){return"UNDEFINED"},a.prototype.NullLiteral=function(){return"NULL"},a.prototype.Hash=function(s){for(var o=s.pairs,u=[],c=0,d=o.length;c<d;c++)u.push(this.accept(o[c]));return"HASH{"+u.join(", ")+"}"},a.prototype.HashPair=function(s){return s.key+"="+this.accept(s.value)}}),So=N((t,e)=>{var r=_l().default,n=Al();r.PrintVisitor=n.PrintVisitor,r.print=n.print,e.exports=r;function i(a,s){var o=jt("fs"),u=o.readFileSync(s,"utf8");a.exports=r.compile(u)}typeof jt<"u"&&jt.extensions&&(jt.extensions[".handlebars"]=i,jt.extensions[".hbs"]=i)}),Cl=N(t=>{"use strict";function e(r,n){r==null&&(r={});for(var i={},a=Object.keys(n),s=0,o=a.length;s<o;s++){var u=a[s];i[u]=r[u]||n[u]}return i}t.defaults=e}),Dl=N((t,e)=>{e.exports={useLongScale:!1,baseSeparator:"-",unitSeparator:"and ",base:{0:"zero",1:"one",2:"two",3:"three",4:"four",5:"five",6:"six",7:"seven",8:"eight",9:"nine",10:"ten",11:"eleven",12:"twelve",13:"thirteen",14:"fourteen",15:"fifteen",16:"sixteen",17:"seventeen",18:"eighteen",19:"nineteen",20:"twenty",30:"thirty",40:"forty",50:"fifty",60:"sixty",70:"seventy",80:"eighty",90:"ninety"},units:["hundred","thousand","million","billion","trillion","quadrillion","quintillion","sextillion","septillion","octillion","nonillion","decillion","undecillion","duodecillion","tredecillion","quattuordecillion","quindecillion"],unitExceptions:[]}}),Ol=N((t,e)=>{e.exports={useLongScale:!0,baseSeparator:" y ",unitSeparator:"",base:{0:"cero",1:"uno",2:"dos",3:"tres",4:"cuatro",5:"cinco",6:"seis",7:"siete",8:"ocho",9:"nueve",10:"diez",11:"once",12:"doce",13:"trece",14:"catorce",15:"quince",16:"diecis\xE9is",17:"diecisiete",18:"dieciocho",19:"diecinueve",20:"veinte",21:"veintiuno",22:"veintid\xF3s",23:"veintitr\xE9s",24:"veinticuatro",25:"veinticinco",26:"veintis\xE9is",27:"veintisiete",28:"veintiocho",29:"veintinueve",30:"treinta",40:"cuarenta",50:"cincuenta",60:"sesenta",70:"setenta",80:"ochenta",90:"noventa",100:"cien",200:"doscientos",300:"trescientos",400:"cuatrocientos",500:"quinientos",600:"seiscientos",700:"setecientos",800:"ochocientos",900:"novecientos",1e3:"mil"},unitExceptions:{1e6:"un mill\xF3n","1000000000000":"un bill\xF3n","1000000000000000000":"un trill\xF3n","1000000000000000000000000":"un cuatrillones","1000000000000000000000000000000":"un quintill\xF3n","1000000000000000000000000000000000000":"un sextill\xF3n","1000000000000000000000000000000000000000000":"un septill\xF3n","1000000000000000000000000000000000000000000000000":"un octill\xF3n","1000000000000000000000000000000000000000000000000000000":"un nonill\xF3n","1000000000000000000000000000000000000000000000000000000000000":"un decill\xF3n","1000000000000000000000000000000000000000000000000000000000000000000":"un undecill\xF3n","1000000000000000000000000000000000000000000000000000000000000000000000000":"un duodecill\xF3n","1000000000000000000000000000000000000000000000000000000000000000000000000000000":"un tredecill\xF3n","1000000000000000000000000000000000000000000000000000000000000000000000000000000000000":"un cuatordecill\xF3n","1000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000":"un quindecill\xF3n"},units:[{singular:"ciento",useBaseInstead:!0,useBaseException:[1],useBaseExceptionWhenNoTrailingNumbers:!0},{singular:"mil",avoidPrefixException:[1]},{singular:"mill\xF3n",plural:"millones"},{singular:"bill\xF3n",plural:"billones"},{singular:"trill\xF3n",plural:"trillones"},{singular:"cuatrill\xF3n",plural:"cuatrillones"},{singular:"quintill\xF3n",plural:"quintillones"},{singular:"sextill\xF3n",plural:"sextillones"},{singular:"septill\xF3n",plural:"septillones"},{singular:"octill\xF3n",plural:"octillones"},{singular:"nonill\xF3n",plural:"nonillones"},{singular:"decill\xF3n",plural:"decillones"},{singular:"undecill\xF3n",plural:"undecillones"},{singular:"duodecill\xF3n",plural:"duodecillones"},{singular:"tredecill\xF3n",plural:"tredecillones"},{singular:"cuatrodecill\xF3n",plural:"cuatrodecillones"},{singular:"quindecill\xF3n",plural:"quindecillones"}]}}),Bl=N((t,e)=>{e.exports={useLongScale:!1,baseSeparator:"",unitSeparator:"",allSeparator:"\u0648",base:{0:"\u0635\u0641\u0631",1:"\u0648\u0627\u062D\u062F",2:"\u0627\u062B\u0646\u0627\u0646",3:"\u062B\u0644\u0627\u062B\u0629",4:"\u0623\u0631\u0628\u0639\u0629",5:"\u062E\u0645\u0633\u0629",6:"\u0633\u062A\u0629",7:"\u0633\u0628\u0639\u0629",8:"\u062B\u0645\u0627\u0646\u064A\u0629",9:"\u062A\u0633\u0639\u0629",10:"\u0639\u0634\u0631\u0629",11:"\u0623\u062D\u062F \u0639\u0634\u0631",12:"\u0625\u062B\u0646\u0627 \u0639\u0634\u0631",13:"\u062B\u0644\u0627\u062B\u0629 \u0639\u0634\u0631",14:"\u0623\u0631\u0628\u0639\u0629 \u0639\u0634\u0631",15:"\u062E\u0645\u0633\u0629 \u0639\u0634\u0631",16:"\u0633\u062A\u0629 \u0639\u0634\u0631",17:"\u0633\u0628\u0639\u0629 \u0639\u0634\u0631",18:"\u062B\u0645\u0627\u0646\u064A\u0629 \u0639\u0634\u0631",19:"\u062A\u0633\u0639\u0629 \u0639\u0634\u0631",20:"\u0639\u0634\u0631\u0648\u0646",21:"\u0648\u0627\u062D\u062F \u0648\u0639\u0634\u0631\u0648\u0646",22:"\u0627\u062B\u0646\u0627\u0646 \u0648\u0639\u0634\u0631\u0648\u0646",23:"\u062B\u0644\u0627\u062B\u0629 \u0648\u0639\u0634\u0631\u0648\u0646",24:"\u0623\u0631\u0628\u0639\u0629 \u0648\u0639\u0634\u0631\u0648\u0646",25:"\u062E\u0645\u0633\u0629 \u0648\u0639\u0634\u0631\u0648\u0646",26:"\u0633\u062A\u0629 \u0648\u0639\u0634\u0631\u0648\u0646",27:"\u0633\u0628\u0639\u0629 \u0648\u0639\u0634\u0631\u0648\u0646",28:"\u062B\u0645\u0627\u0646\u064A\u0629 \u0648\u0639\u0634\u0631\u0648\u0646",29:"\u062A\u0633\u0639\u0629 \u0648\u0639\u0634\u0631\u0648\u0646",30:"\u062B\u0644\u0627\u062B\u0648\u0646",31:"\u0648\u0627\u062D\u062F \u0648\u062B\u0644\u0627\u062B\u0648\u0646",32:"\u0627\u062B\u0646\u0627\u0646 \u0648\u062B\u0644\u0627\u062B\u0648\u0646",33:"\u062B\u0644\u0627\u062B\u0629 \u0648\u062B\u0644\u0627\u062B\u0648\u0646",34:"\u0623\u0631\u0628\u0639\u0629 \u0648\u062B\u0644\u0627\u062B\u0648\u0646",35:"\u062E\u0645\u0633\u0629 \u0648\u062B\u0644\u0627\u062B\u0648\u0646",36:"\u0633\u062A\u0629 \u0648\u062B\u0644\u0627\u062B\u0648\u0646",37:"\u0633\u0628\u0639\u0629 \u0648\u062B\u0644\u0627\u062B\u0648\u0646",38:"\u062B\u0645\u0627\u0646\u064A\u0629 \u0648\u062B\u0644\u0627\u062B\u0648\u0646",39:"\u062A\u0633\u0639\u0629 \u0648\u062B\u0644\u0627\u062B\u0648\u0646",40:"\u0623\u0631\u0628\u0639\u0648\u0646",41:"\u0648\u0627\u062D\u062F \u0648\u0623\u0631\u0628\u0639\u0648\u0646",42:"\u0627\u062B\u0646\u0627\u0646 \u0648\u0623\u0631\u0628\u0639\u0648\u0646",43:"\u062B\u0644\u0627\u062B\u0629 \u0648\u0623\u0631\u0628\u0639\u0648\u0646",44:"\u0623\u0631\u0628\u0639\u0629 \u0648\u0623\u0631\u0628\u0639\u0648\u0646",45:"\u062E\u0645\u0633\u0629 \u0648\u0623\u0631\u0628\u0639\u0648\u0646",46:"\u0633\u062A\u0629 \u0648\u0623\u0631\u0628\u0639\u0648\u0646",47:"\u0633\u0628\u0639\u0629 \u0648\u0623\u0631\u0628\u0639\u0648\u0646",48:"\u062B\u0645\u0627\u0646\u064A\u0629 \u0648\u0623\u0631\u0628\u0639\u0648\u0646",49:"\u062A\u0633\u0639\u0629 \u0648\u0623\u0631\u0628\u0639\u0648\u0646",50:"\u062E\u0645\u0633\u0648\u0646",51:"\u0648\u0627\u062D\u062F \u0648\u062E\u0645\u0633\u0648\u0646",52:"\u0627\u062B\u0646\u0627\u0646 \u0648\u062E\u0645\u0633\u0648\u0646",53:"\u062B\u0644\u0627\u062B\u0629 \u0648\u062E\u0645\u0633\u0648\u0646",54:"\u0623\u0631\u0628\u0639\u0629 \u0648\u062E\u0645\u0633\u0648\u0646",55:"\u062E\u0645\u0633\u0629 \u0648\u062E\u0645\u0633\u0648\u0646",56:"\u0633\u062A\u0629 \u0648\u062E\u0645\u0633\u0648\u0646",57:"\u0633\u0628\u0639\u0629 \u0648\u062E\u0645\u0633\u0648\u0646",58:"\u062B\u0645\u0627\u0646\u064A\u0629 \u0648\u062E\u0645\u0633\u0648\u0646",59:"\u062A\u0633\u0639\u0629 \u0648\u062E\u0645\u0633\u0648\u0646",60:"\u0633\u062A\u0648\u0646",61:"\u0648\u0627\u062D\u062F \u0648\u0633\u062A\u0648\u0646",62:"\u0627\u062B\u0646\u0627\u0646 \u0648\u0633\u062A\u0648\u0646",63:"\u062B\u0644\u0627\u062B\u0629 \u0648\u0633\u062A\u0648\u0646",64:"\u0623\u0631\u0628\u0639\u0629 \u0648\u0633\u062A\u0648\u0646",65:"\u062E\u0645\u0633\u0629 \u0648\u0633\u062A\u0648\u0646",66:"\u0633\u062A\u0629 \u0648\u0633\u062A\u0648\u0646",67:"\u0633\u0628\u0639\u0629 \u0648\u0633\u062A\u0648\u0646",68:"\u062B\u0645\u0627\u0646\u064A\u0629 \u0648\u0633\u062A\u0648\u0646",69:"\u062A\u0633\u0639\u0629 \u0648\u0633\u062A\u0648\u0646",70:"\u0633\u0628\u0639\u0648\u0646",71:"\u0648\u0627\u062D\u062F \u0648\u0633\u0628\u0639\u0648\u0646",72:"\u0627\u062B\u0646\u0627\u0646 \u0648\u0633\u0628\u0639\u0648\u0646",73:"\u062B\u0644\u0627\u062B\u0629 \u0648\u0633\u0628\u0639\u0648\u0646",74:"\u0623\u0631\u0628\u0639\u0629 \u0648\u0633\u0628\u0639\u0648\u0646",75:"\u062E\u0645\u0633\u0629 \u0648\u0633\u0628\u0639\u0648\u0646",76:"\u0633\u062A\u0629 \u0648\u0633\u0628\u0639\u0648\u0646",77:"\u0633\u0628\u0639\u0629 \u0648\u0633\u0628\u0639\u0648\u0646",78:"\u062B\u0645\u0627\u0646\u064A\u0629 \u0648\u0633\u0628\u0639\u0648\u0646",79:"\u062A\u0633\u0639\u0629 \u0648\u0633\u0628\u0639\u0648\u0646",80:"\u062B\u0645\u0627\u0646\u0648\u0646",81:"\u0648\u0627\u062D\u062F \u0648\u062B\u0645\u0627\u0646\u0648\u0646",82:"\u0627\u062B\u0646\u0627\u0646 \u0648\u062B\u0645\u0627\u0646\u0648\u0646",83:"\u062B\u0644\u0627\u062B\u0629 \u0648\u062B\u0645\u0627\u0646\u0648\u0646",84:"\u0623\u0631\u0628\u0639\u0629 \u0648\u062B\u0645\u0627\u0646\u0648\u0646",85:"\u062E\u0645\u0633\u0629 \u0648\u062B\u0645\u0627\u0646\u0648\u0646",86:"\u0633\u062A\u0629 \u0648\u062B\u0645\u0627\u0646\u0648\u0646",87:"\u0633\u0628\u0639\u0629 \u0648\u062B\u0645\u0627\u0646\u0648\u0646",88:"\u062B\u0645\u0627\u0646\u064A\u0629 \u0648\u062B\u0645\u0627\u0646\u0648\u0646",89:"\u062A\u0633\u0639\u0629 \u0648\u062B\u0645\u0627\u0646\u0648\u0646",90:"\u062A\u0633\u0639\u0648\u0646",91:"\u0648\u0627\u062D\u062F \u0648\u062A\u0633\u0639\u0648\u0646",92:"\u0627\u062B\u0646\u0627\u0646 \u0648\u062A\u0633\u0639\u0648\u0646",93:"\u062B\u0644\u0627\u062B\u0629 \u0648\u062A\u0633\u0639\u0648\u0646",94:"\u0623\u0631\u0628\u0639\u0629 \u0648\u062A\u0633\u0639\u0648\u0646",95:"\u062E\u0645\u0633\u0629 \u0648\u062A\u0633\u0639\u0648\u0646",96:"\u0633\u062A\u0629 \u0648\u062A\u0633\u0639\u0648\u0646",97:"\u0633\u0628\u0639\u0629 \u0648\u062A\u0633\u0639\u0648\u0646",98:"\u062B\u0645\u0627\u0646\u064A\u0629 \u0648\u062A\u0633\u0639\u0648\u0646",99:"\u062A\u0633\u0639\u0629 \u0648\u062A\u0633\u0639\u0648\u0646",200:"\u0645\u0627\u0626\u062A\u0627\u0646",300:"\u062B\u0644\u0627\u062B\u0645\u0627\u0626\u0629",400:"\u0623\u0631\u0628\u0639\u0645\u0627\u0626\u0629",500:"\u062E\u0645\u0633\u0645\u0627\u0626\u0629",600:"\u0633\u062A\u0645\u0627\u0626\u0629",700:"\u0633\u0628\u0639\u0645\u0627\u0626\u0629",800:"\u062B\u0645\u0627\u0646\u0645\u0627\u0626\u0629",900:"\u062A\u0633\u0639\u0645\u0627\u0626\u0629"},units:[{singular:"\u0645\u0627\u0626\u0629",useBaseInstead:!0,useBaseException:[1]},{singular:"\u0623\u0644\u0641",dual:"\u0623\u0644\u0641\u0627\u0646",plural:"\u0622\u0644\u0627\u0641",restrictedPlural:!0,avoidPrefixException:[1,2]},{singular:"\u0645\u0644\u064A\u0648\u0646",dual:"\u0645\u0644\u064A\u0648\u0646\u0627\u0646",plural:"\u0645\u0644\u0627\u064A\u064A\u0646",restrictedPlural:!0,avoidPrefixException:[1,2]},{singular:"\u0645\u0644\u064A\u0627\u0631",dual:"\u0645\u0644\u064A\u0627\u0631\u0627\u0646",plural:"\u0645\u0644\u0627\u064A\u064A\u0631",restrictedPlural:!0,avoidPrefixException:[1,2]},{singular:"\u062A\u0631\u064A\u0644\u064A\u0648\u0646",avoidPrefixException:[1]},{singular:"\u0643\u0648\u0627\u062F\u0631\u064A\u0644\u064A\u0648\u0646",avoidPrefixException:[1]},{singular:"\u0643\u0648\u064A\u0646\u062A\u0644\u064A\u0648\u0646",avoidPrefixException:[1]},{singular:"\u0633\u0643\u0633\u062A\u0644\u064A\u0648\u0646",avoidPrefixException:[1]},{singular:"\u0633\u0628\u062A\u064A\u0644\u0644\u064A\u0648\u0646",avoidPrefixException:[1]},{singular:"\u0623\u0648\u0643\u062A\u064A\u0644\u064A\u0648\u0646",avoidPrefixException:[1]},{singular:"\u0646\u0648\u0646\u064A\u0644\u0644\u064A\u0648\u0646",avoidPrefixException:[1]},{singular:"\u062F\u0634\u064A\u0644\u064A\u0648\u0646",avoidPrefixException:[1]},{singular:"\u0623\u0648\u0646\u062F\u0634\u064A\u0644\u0644\u064A\u0648\u0646",avoidPrefixException:[1]},{singular:"\u062F\u0648\u062F\u0634\u064A\u0644\u064A\u0648\u0646",avoidPrefixException:[1]},{singular:"\u062A\u0631\u064A\u062F\u0634\u064A\u0644\u064A\u0648\u0646",avoidPrefixException:[1]},{singular:"\u0643\u0648\u0627\u062A\u0648\u0631\u062F\u0634\u064A\u0644\u064A\u0648\u0646",avoidPrefixException:[1]},{singular:"\u0643\u0648\u064A\u0646\u062F\u0634\u064A\u0644\u064A\u0648\u0646",avoidPrefixException:[1]}],unitExceptions:{}}}),Fl=N((t,e)=>{e.exports={useLongScale:!1,baseSeparator:" ",unitSeparator:"",base:{0:"s\u0131f\u0131r",1:"bir",2:"iki",3:"\xFC\xE7",4:"d\xF6rd",5:"be\u015F",6:"alt\u0131",7:"yeddi",8:"s\u0259kkiz",9:"doqquz",10:"on",20:"iyirmi",30:"otuz",40:"q\u0131rx",50:"\u0259lli",60:"altm\u0131\u015F",70:"yetmi\u015F",80:"s\u0259ks\u0259n",90:"doxsan"},units:[{singular:"y\xFCz",avoidPrefixException:[1]},{singular:"min",avoidPrefixException:[1]},"milyon","milyard","trilyon","kvadrilyon","kentilyon","sekstilyon","septilyon","oktilyon","nonilyon","desilyon","andesilyon","dodesilyon","tredesilyon","katordesilyon","kendesilyon"],unitExceptions:[]}}),Ml=N((t,e)=>{e.exports={useLongScale:!1,baseSeparator:" e ",unitSeparator:"e ",andWhenTrailing:!0,base:{0:"zero",1:"um",2:"dois",3:"tr\xEAs",4:"quatro",5:"cinco",6:"seis",7:"sete",8:"oito",9:"nove",10:"dez",11:"onze",12:"doze",13:"treze",14:"catorze",15:"quinze",16:"dezesseis",17:"dezessete",18:"dezoito",19:"dezenove",20:"vinte",30:"trinta",40:"quarenta",50:"cinquenta",60:"sessenta",70:"setenta",80:"oitenta",90:"noventa",100:"cem",200:"duzentos",300:"trezentos",400:"quatrocentos",500:"quinhentos",600:"seiscentos",700:"setecentos",800:"oitocentos",900:"novecentos",1e3:"mil"},unitExceptions:{1:"um"},units:[{singular:"cento",useBaseInstead:!0,useBaseException:[1],useBaseExceptionWhenNoTrailingNumbers:!0,andException:!0},{singular:"mil",avoidPrefixException:[1],andException:!0},{singular:"milh\xE3o",plural:"milh\xF5es"},{singular:"bilh\xE3o",plural:"bilh\xF5es"},{singular:"trilh\xE3o",plural:"trilh\xF5es"},{singular:"quadrilh\xE3o",plural:"quadrilh\xE3o"},{singular:"quintilh\xE3o",plural:"quintilh\xF5es"},{singular:"sextilh\xE3o",plural:"sextilh\xF5es"},{singular:"septilh\xE3o",plural:"septilh\xF5es"},{singular:"octilh\xE3o",plural:"octilh\xF5es"},{singular:"nonilh\xE3o",plural:"nonilh\xF5es"},{singular:"decilh\xE3o",plural:"decilh\xF5es"},{singular:"undecilh\xE3o",plural:"undecilh\xF5es"},{singular:"doudecilh\xE3o",plural:"doudecilh\xF5es"},{singular:"tredecilh\xE3o",plural:"tredecilh\xF5es"}]}}),Nl=N((t,e)=>{e.exports={useLongScale:!0,baseSeparator:" e ",unitSeparator:"e ",andWhenTrailing:!0,base:{0:"zero",1:"um",2:"dois",3:"tr\xEAs",4:"quatro",5:"cinco",6:"seis",7:"sete",8:"oito",9:"nove",10:"dez",11:"onze",12:"doze",13:"treze",14:"catorze",15:"quinze",16:"dezasseis",17:"dezassete",18:"dezoito",19:"dezanove",20:"vinte",30:"trinta",40:"quarenta",50:"cinquenta",60:"sessenta",70:"setenta",80:"oitenta",90:"noventa",100:"cem",200:"duzentos",300:"trezentos",400:"quatrocentos",500:"quinhentos",600:"seiscentos",700:"setecentos",800:"oitocentos",900:"novecentos",1e3:"mil"},unitExceptions:{1:"um"},units:[{singular:"cento",useBaseInstead:!0,useBaseException:[1],useBaseExceptionWhenNoTrailingNumbers:!0,andException:!0},{singular:"mil",avoidPrefixException:[1],andException:!0},{singular:"milh\xE3o",plural:"milh\xF5es"},{singular:"bili\xE3o",plural:"bili\xF5es"},{singular:"trili\xE3o",plural:"trili\xF5es"},{singular:"quadrili\xE3o",plural:"quadrili\xF5es"},{singular:"quintili\xE3o",plural:"quintili\xF5es"},{singular:"sextili\xE3o",plural:"sextili\xF5es"},{singular:"septili\xE3o",plural:"septili\xF5es"},{singular:"octili\xE3o",plural:"octili\xF5es"},{singular:"nonili\xE3o",plural:"nonili\xF5es"},{singular:"decili\xE3o",plural:"decili\xF5es"}]}}),Ll=N((t,e)=>{e.exports={useLongScale:!1,baseSeparator:"-",unitSeparator:"",base:{0:"z\xE9ro",1:"un",2:"deux",3:"trois",4:"quatre",5:"cinq",6:"six",7:"sept",8:"huit",9:"neuf",10:"dix",11:"onze",12:"douze",13:"treize",14:"quatorze",15:"quinze",16:"seize",17:"dix-sept",18:"dix-huit",19:"dix-neuf",20:"vingt",30:"trente",40:"quarante",50:"cinquante",60:"soixante",70:"soixante-dix",80:"quatre-vingt",90:"quatre-vingt-dix"},units:[{singular:"cent",plural:"cents",avoidInNumberPlural:!0,avoidPrefixException:[1]},{singular:"mille",avoidPrefixException:[1]},{singular:"million",plural:"millions"},{singular:"milliard",plural:"milliards"},{singular:"billion",plural:"billions"},{singular:"billiard",plural:"billiards"},{singular:"trillion",plural:"trillions"},{singular:"trilliard",plural:"trilliards"},{singular:"quadrillion",plural:"quadrillions"},{singular:"quadrilliard",plural:"quadrilliards"},{singular:"quintillion",plural:"quintillions"},{singular:"quintilliard",plural:"quintilliards"},{singular:"sextillion",plural:"sextillions"},{singular:"sextilliard",plural:"sextilliards"},{singular:"septillion",plural:"septillions"},{singular:"septilliard",plural:"septilliards"},{singular:"octillion",plural:"octillions"}],unitExceptions:{21:"vingt et un",31:"trente et un",41:"quarante et un",51:"cinquante et un",61:"soixante et un",71:"soixante et onze",72:"soixante-douze",73:"soixante-treize",74:"soixante-quatorze",75:"soixante-quinze",76:"soixante-seize",77:"soixante-dix-sept",78:"soixante-dix-huit",79:"soixante-dix-neuf",80:"quatre-vingts",91:"quatre-vingt-onze",92:"quatre-vingt-douze",93:"quatre-vingt-treize",94:"quatre-vingt-quatorze",95:"quatre-vingt-quinze",96:"quatre-vingt-seize",97:"quatre-vingt-dix-sept",98:"quatre-vingt-dix-huit",99:"quatre-vingt-dix-neuf"}}}),Pl=N((t,e)=>{e.exports={useLongScale:!1,baseSeparator:" ",unitSeparator:"",base:{0:"nulo",1:"unu",2:"du",3:"tri",4:"kvar",5:"kvin",6:"ses",7:"sep",8:"ok",9:"na\u016D",10:"dek",20:"dudek",30:"tridek",40:"kvardek",50:"kvindek",60:"sesdek",70:"sepdek",80:"okdek",90:"na\u016Ddek",100:"cent",200:"ducent",300:"tricent",400:"kvarcent",500:"kvincent",600:"sescent",700:"sepcent",800:"okcent",900:"na\u016Dcent"},units:[{useBaseInstead:!0,useBaseException:[]},{singular:"mil",avoidPrefixException:[1]},{singular:"miliono",plural:"milionoj",avoidPrefixException:[1]},{singular:"miliardo",plural:"miliardoj",avoidPrefixException:[1]},{singular:"biliono",plural:"bilionoj",avoidPrefixException:[1]}],unitExceptions:[]}}),zl=N((t,e)=>{e.exports={useLongScale:!1,baseSeparator:"",unitSeparator:"",generalSeparator:"",wordSeparator:"",base:{0:"zero",1:"uno",2:"due",3:"tre",4:"quattro",5:"cinque",6:"sei",7:"sette",8:"otto",9:"nove",10:"dieci",11:"undici",12:"dodici",13:"tredici",14:"quattordici",15:"quindici",16:"sedici",17:"diciassette",18:"diciotto",19:"diciannove",20:"venti",21:"ventuno",23:"ventitr\xE9",28:"ventotto",30:"trenta",31:"trentuno",33:"trentatr\xE9",38:"trentotto",40:"quaranta",41:"quarantuno",43:"quaranta\xADtr\xE9",48:"quarantotto",50:"cinquanta",51:"cinquantuno",53:"cinquantatr\xE9",58:"cinquantotto",60:"sessanta",61:"sessantuno",63:"sessanta\xADtr\xE9",68:"sessantotto",70:"settanta",71:"settantuno",73:"settantatr\xE9",78:"settantotto",80:"ottanta",81:"ottantuno",83:"ottantatr\xE9",88:"ottantotto",90:"novanta",91:"novantuno",93:"novantatr\xE9",98:"novantotto",100:"cento",101:"centuno",108:"centootto",180:"centottanta",201:"duecentuno",301:"tre\xADcent\xADuno",401:"quattro\xADcent\xADuno",501:"cinque\xADcent\xADuno",601:"sei\xADcent\xADuno",701:"sette\xADcent\xADuno",801:"otto\xADcent\xADuno",901:"nove\xADcent\xADuno"},unitExceptions:{1:"un"},units:[{singular:"cento",avoidPrefixException:[1]},{singular:"mille",plural:"mila",avoidPrefixException:[1]},{singular:"milione",plural:"milioni"},{singular:"miliardo",plural:"miliardi"},{singular:"bilione",plural:"bilioni"},{singular:"biliardo",plural:"biliardi"},{singular:"trilione",plural:"trilioni"},{singular:"triliardo",plural:"triliardi"},{singular:"quadrilione",plural:"quadrilioni"},{singular:"quadriliardo",plural:"quadriliardi"}]}}),Tl=N((t,e)=>{e.exports={useLongScale:!1,baseSeparator:" ",unitSeparator:"v\xE0 ",base:{0:"kh\xF4ng",1:"m\u1ED9t",2:"hai",3:"ba",4:"b\u1ED1n",5:"n\u0103m",6:"s\xE1u",7:"b\u1EA3y",8:"t\xE1m",9:"ch\xEDn",10:"m\u01B0\u1EDDi",15:"m\u01B0\u1EDDi l\u0103m",20:"hai m\u01B0\u01A1i",21:"hai m\u01B0\u01A1i m\u1ED1t",25:"hai m\u01B0\u01A1i l\u0103m",30:"ba m\u01B0\u01A1i",31:"ba m\u01B0\u01A1i m\u1ED1t",40:"b\u1ED1n m\u01B0\u01A1i",41:"b\u1ED1n m\u01B0\u01A1i m\u1ED1t",45:"b\u1ED1n m\u01B0\u01A1i l\u0103m",50:"n\u0103m m\u01B0\u01A1i",51:"n\u0103m m\u01B0\u01A1i m\u1ED1t",55:"n\u0103m m\u01B0\u01A1i l\u0103m",60:"s\xE1u m\u01B0\u01A1i",61:"s\xE1u m\u01B0\u01A1i m\u1ED1t",65:"s\xE1u m\u01B0\u01A1i l\u0103m",70:"b\u1EA3y m\u01B0\u01A1i",71:"b\u1EA3y m\u01B0\u01A1i m\u1ED1t",75:"b\u1EA3y m\u01B0\u01A1i l\u0103m",80:"t\xE1m m\u01B0\u01A1i",81:"t\xE1m m\u01B0\u01A1i m\u1ED1t",85:"t\xE1m m\u01B0\u01A1i l\u0103m",90:"ch\xEDn m\u01B0\u01A1i",91:"ch\xEDn m\u01B0\u01A1i m\u1ED1t",95:"ch\xEDn m\u01B0\u01A1i l\u0103m"},units:["tr\u0103m","ng\xE0n","tri\u1EC7u","t\u1EF7","ngh\xECn t\u1EF7"],unitExceptions:[]}}),jl=N((t,e)=>{e.exports={useLongScale:!1,baseSeparator:" ",unitSeparator:"",base:{0:"s\u0131f\u0131r",1:"bir",2:"iki",3:"\xFC\xE7",4:"d\xF6rt",5:"be\u015F",6:"alt\u0131",7:"yedi",8:"sekiz",9:"dokuz",10:"on",20:"yirmi",30:"otuz",40:"k\u0131rk",50:"elli",60:"altm\u0131\u015F",70:"yetmi\u015F",80:"seksen",90:"doksan"},units:[{singular:"y\xFCz",avoidPrefixException:[1]},{singular:"bin",avoidPrefixException:[1]},"milyon","milyar","trilyon","katrilyon","kentilyon","sekstilyon","septilyon","oktilyon","nonilyon","desilyon","andesilyon","dodesilyon","tredesilyon","katordesilyon","kendesilyon"],unitExceptions:[]}}),Il=N((t,e)=>{e.exports={useLongScale:!0,baseSeparator:"",unitSeparator:"\xE9s ",base:{0:"nulla",1:"egy",2:"kett\u0151",3:"h\xE1rom",4:"n\xE9gy",5:"\xF6t",6:"hat",7:"h\xE9t",8:"nyolc",9:"kilenc",10:"t\xEDz",11:"tizenegy",12:"tizenkett\u0151",13:"tizenh\xE1rom",14:"tizenn\xE9gy",15:"tizen\xF6t",16:"tizenhat",17:"tizenh\xE9t",18:"tizennyolc",19:"tizenkilenc",20:"h\xFAsz",21:"huszonegy",22:"huszonkett\u0151",23:"huszonh\xE1rom",24:"huszonn\xE9gy",25:"huszon\xF6t",26:"huszonhat",27:"huszonh\xE9t",28:"huszonnyolc",29:"huszonkilenc",30:"harminc",40:"negyven",50:"\xF6tven",60:"hatvan",70:"hetven",80:"nyolcvan",90:"kilencven",100:"sz\xE1z",200:"k\xE9tsz\xE1z",300:"h\xE1romsz\xE1z",400:"n\xE9gysz\xE1z",500:"\xF6tsz\xE1z",600:"hatsz\xE1z",700:"h\xE9tsz\xE1z",800:"nyolcsz\xE1z",900:"kilencsz\xE1z",1e3:"ezer"},unitExceptions:{1:"egy"},units:[{singular:"sz\xE1z",useBaseInstead:!0,useBaseException:[1]},{singular:"ezer",avoidPrefixException:[1]},{singular:"milli\xF3",avoidPrefixException:[1]},{singular:"milli\xE1rd",avoidPrefixException:[1]},{singular:"-billi\xF3",avoidPrefixException:[1]},{singular:"billi\xE1rd",avoidPrefixException:[1]},{singular:"trilli\xF3",avoidPrefixException:[1]},{singular:"trilli\xE1rd",avoidPrefixException:[1]},{singular:"kvadrilli\xF3",avoidPrefixException:[1]},{singular:"kvadrilli\xE1rd",avoidPrefixException:[1]},{singular:"kvintilli\xF3",avoidPrefixException:[1]},{singular:"kvintilli\xE1rd",avoidPrefixException:[1]},{singular:"szextilli\xF3",avoidPrefixException:[1]},{singular:"szeptilli\xF3",avoidPrefixException:[1]},{singular:"oktilli\xF3",avoidPrefixException:[1]},{singular:"nonilli\xF3",avoidPrefixException:[1]}]}}),Rl=N((t,e)=>{e.exports={useLongScale:!1,baseSeparator:"-",unitSeparator:"and ",base:{0:"zero",1:"one",2:"two",3:"three",4:"four",5:"five",6:"six",7:"seven",8:"eight",9:"nine",10:"ten",11:"eleven",12:"twelve",13:"thirteen",14:"fourteen",15:"fifteen",16:"sixteen",17:"seventeen",18:"eighteen",19:"nineteen",20:"twenty",30:"thirty",40:"forty",50:"fifty",60:"sixty",70:"seventy",80:"eighty",90:"ninety"},units:{2:"hundred",3:"thousand",5:"lakh",7:"crore"},unitExceptions:[]}}),Vl=N((t,e)=>{e.exports={useLongScale:!1,baseSeparator:" ",unitSeparator:"",base:{0:"\u043D\u0443\u043B\u044C",1:"\u043E\u0434\u0438\u043D",2:"\u0434\u0432\u0430",3:"\u0442\u0440\u0438",4:"\u0447\u043E\u0442\u0438\u0440\u0438",5:"\u043F\u2019\u044F\u0442\u044C",6:"\u0448\u0456\u0441\u0442\u044C",7:"\u0441\u0456\u043C",8:"\u0432\u0456\u0441\u0456\u043C",9:"\u0434\u0435\u0432\u2019\u044F\u0442\u044C",10:"\u0434\u0435\u0441\u044F\u0442\u044C",11:"\u043E\u0434\u0438\u043D\u0430\u0434\u0446\u044F\u0442\u044C",12:"\u0434\u0432\u0430\u043D\u0430\u0434\u0446\u044F\u0442\u044C",13:"\u0442\u0440\u0438\u043D\u0430\u0434\u0446\u044F\u0442\u044C",14:"\u0447\u043E\u0442\u0438\u0440\u043D\u0430\u0434\u0446\u044F\u0442\u044C",15:"\u043F\u2019\u044F\u0442\u043D\u0430\u0434\u0446\u044F\u0442\u044C",16:"\u0448\u0456\u0441\u0442\u043D\u0430\u0434\u0446\u044F\u0442\u044C",17:"\u0441\u0456\u043C\u043D\u0430\u0434\u0446\u044F\u0442\u044C",18:"\u0432\u0456\u0441\u0456\u043C\u043D\u0430\u0434\u0446\u044F\u0442\u044C",19:"\u0434\u0435\u0432\u2019\u044F\u0442\u043D\u0430\u0434\u0446\u044F\u0442\u044C",20:"\u0434\u0432\u0430\u0434\u0446\u044F\u0442\u044C",30:"\u0442\u0440\u0438\u0434\u0446\u044F\u0442\u044C",40:"\u0441\u043E\u0440\u043E\u043A",50:"\u043F\u2019\u044F\u0442\u0434\u0435\u0441\u044F\u0442",60:"\u0448\u0456\u0441\u0442\u0434\u0435\u0441\u044F\u0442",70:"\u0441\u0456\u043C\u0434\u0435\u0441\u044F\u0442",80:"\u0432\u0456\u0441\u0456\u043C\u0434\u0435\u0441\u044F\u0442",90:"\u0434\u0435\u0432\u2019\u044F\u043D\u043E\u0441\u0442\u043E",100:"\u0441\u0442\u043E",200:"\u0434\u0432\u0456\u0441\u0442\u0456",300:"\u0442\u0440\u0438\u0441\u0442\u0430",400:"\u0447\u043E\u0442\u0438\u0440\u0438\u0441\u0442\u0430",500:"\u043F\u2019\u044F\u0442\u0441\u043E\u0442",600:"\u0448\u0456\u0441\u0442\u0441\u043E\u0442",700:"\u0441\u0456\u043C\u0441\u043E\u0442",800:"\u0432\u0456\u0441\u0456\u043C\u0441\u043E\u0442",900:"\u0434\u0435\u0432\u2019\u044F\u0442\u0441\u043E\u0442"},alternativeBase:{feminine:{1:"\u043E\u0434\u043D\u0430",2:"\u0434\u0432\u0456"}},units:[{useBaseInstead:!0,useBaseException:[]},{singular:"\u0442\u0438\u0441\u044F\u0447\u0430",few:"\u0442\u0438\u0441\u044F\u0447\u0456",plural:"\u0442\u0438\u0441\u044F\u0447",useAlternativeBase:"feminine",useSingularEnding:!0,useFewEnding:!0,avoidEndingRules:[11,12,13,14,111,112,113,114,211,212,213,214,311,312,313,314,411,412,413,414,511,512,513,514,611,612,613,614,711,712,713,714,811,812,813,814,911,912,913,914]},{singular:"\u043C\u0456\u043B\u044C\u0439\u043E\u043D",few:"\u043C\u0456\u043B\u044C\u0439\u043E\u043D\u0438",plural:"\u043C\u0456\u043B\u044C\u0439\u043E\u043D\u0456\u0432",useSingularEnding:!0,useFewEnding:!0,avoidEndingRules:[11,12,13,14,111,112,113,114,211,212,213,214,311,312,313,314,411,412,413,414,511,512,513,514,611,612,613,614,711,712,713,714,811,812,813,814,911,912,913,914]},{singular:"\u043C\u0456\u043B\u044C\u044F\u0440\u0434",few:"\u043C\u0456\u043B\u044C\u044F\u0440\u0434\u0438",plural:"\u043C\u0456\u043B\u044C\u044F\u0440\u0434\u0456\u0432",useSingularEnding:!0,useFewEnding:!0,avoidEndingRules:[11,12,13,14,111,112,113,114,211,212,213,214,311,312,313,314,411,412,413,414,511,512,513,514,611,612,613,614,711,712,713,714,811,812,813,814,911,912,913,914]},{singular:"\u0442\u0440\u0438\u043B\u044C\u0439\u043E\u043D",few:"\u0442\u0440\u0438\u043B\u044C\u0439\u043E\u043D\u0438",plural:"\u0442\u0440\u0438\u043B\u044C\u0439\u043E\u043D\u0456\u0432",useSingularEnding:!0,useFewEnding:!0,avoidEndingRules:[11,12,13,14,111,112,113,114,211,212,213,214,311,312,313,314,411,412,413,414,511,512,513,514,611,612,613,614,711,712,713,714,811,812,813,814,911,912,913,914]},{singular:"\u043A\u0432\u0430\u0434\u0440\u0438\u043B\u044C\u0439\u043E\u043D",few:"\u043A\u0432\u0430\u0434\u0440\u0438\u043B\u044C\u0439\u043E\u043D\u0438",plural:"\u043A\u0432\u0430\u0434\u0440\u0438\u043B\u044C\u0439\u043E\u043D\u0456\u0432",useSingularEnding:!0,useFewEnding:!0,avoidEndingRules:[11,12,13,14,111,112,113,114,211,212,213,214,311,312,313,314,411,412,413,414,511,512,513,514,611,612,613,614,711,712,713,714,811,812,813,814,911,912,913,914]},{singular:"\u043A\u0432\u0456\u043D\u0442\u0438\u043B\u044C\u0439\u043E\u043D",few:"\u043A\u0432\u0456\u043D\u0442\u0438\u043B\u044C\u0439\u043E\u043D\u0438",plural:"\u043A\u0432\u0456\u043D\u0442\u0438\u043B\u044C\u0439\u043E\u043D\u0456\u0432",useSingularEnding:!0,useFewEnding:!0,avoidEndingRules:[11,12,13,14,111,112,113,114,211,212,213,214,311,312,313,314,411,412,413,414,511,512,513,514,611,612,613,614,711,712,713,714,811,812,813,814,911,912,913,914]},{singular:"\u0441\u0435\u043A\u0441\u0442\u0438\u043B\u044C\u0439\u043E\u043D",few:"\u0441\u0435\u043A\u0441\u0442\u0438\u043B\u044C\u0439\u043E\u043D\u0438",plural:"\u0441\u0435\u043A\u0441\u0442\u0438\u043B\u044C\u0439\u043E\u043D\u0456\u0432",useSingularEnding:!0,useFewEnding:!0,avoidEndingRules:[11,12,13,14,111,112,113,114,211,212,213,214,311,312,313,314,411,412,413,414,511,512,513,514,611,612,613,614,711,712,713,714,811,812,813,814,911,912,913,914]},{singular:"\u0441\u0435\u043F\u0442\u0456\u043B\u043B\u0456\u043E\u043D",few:"\u0441\u0435\u043F\u0442\u0456\u043B\u043B\u0456\u043E\u043D\u0438",plural:"\u0441\u0435\u043F\u0442\u0456\u043B\u043B\u0456\u043E\u043D\u0456\u0432",useSingularEnding:!0,useFewEnding:!0,avoidEndingRules:[11,12,13,14,111,112,113,114,211,212,213,214,311,312,313,314,411,412,413,414,511,512,513,514,611,612,613,614,711,712,713,714,811,812,813,814,911,912,913,914]},{singular:"\u043E\u043A\u0442\u0456\u043B\u043B\u0456\u043E\u043D",few:"\u043E\u043A\u0442\u0456\u043B\u043B\u0456\u043E\u043D\u0438",plural:"\u043E\u043A\u0442\u0456\u043B\u043B\u0456\u043E\u043D\u0456\u0432",useSingularEnding:!0,useFewEnding:!0,avoidEndingRules:[11,12,13,14,111,112,113,114,211,212,213,214,311,312,313,314,411,412,413,414,511,512,513,514,611,612,613,614,711,712,713,714,811,812,813,814,911,912,913,914]},{singular:"\u043D\u043E\u043D\u0456\u043B\u043B\u0456\u043E\u043D",few:"\u043D\u043E\u043D\u0456\u043B\u043B\u0456\u043E\u043D\u0438",plural:"\u043D\u043E\u043D\u0456\u043B\u043B\u0456\u043E\u043D\u0456\u0432",useSingularEnding:!0,useFewEnding:!0,avoidEndingRules:[11,12,13,14,111,112,113,114,211,212,213,214,311,312,313,314,411,412,413,414,511,512,513,514,611,612,613,614,711,712,713,714,811,812,813,814,911,912,913,914]},{singular:"\u0434\u0435\u0446\u0456\u043B\u043B\u0456\u043E\u043D",few:"\u0434\u0435\u0446\u0456\u043B\u043B\u0456\u043E\u043D\u0438",plural:"\u0434\u0435\u0446\u0456\u043B\u043B\u0456\u043E\u043D\u0456\u0432",useSingularEnding:!0,useFewEnding:!0,avoidEndingRules:[11,12,13,14,111,112,113,114,211,212,213,214,311,312,313,314,411,412,413,414,511,512,513,514,611,612,613,614,711,712,713,714,811,812,813,814,911,912,913,914]},{singular:"\u0443\u043D\u0434\u0435\u0446\u0456\u043B\u043B\u0456\u043E\u043D",few:"\u0443\u043D\u0434\u0435\u0446\u0456\u043B\u043B\u0456\u043E\u043D\u0438",plural:"\u0443\u043D\u0434\u0435\u0446\u0456\u043B\u043B\u0456\u043E\u043D\u0456\u0432",useSingularEnding:!0,useFewEnding:!0,avoidEndingRules:[11,12,13,14,111,112,113,114,211,212,213,214,311,312,313,314,411,412,413,414,511,512,513,514,611,612,613,614,711,712,713,714,811,812,813,814,911,912,913,914]},{singular:"\u0434\u0443\u043E\u0434\u0435\u0446\u0456\u043B\u043B\u0456\u043E\u043D",few:"\u0434\u0443\u043E\u0434\u0435\u0446\u0456\u043B\u043B\u0456\u043E\u043D\u0438",plural:"\u0434\u0443\u043E\u0434\u0435\u0446\u0456\u043B\u043B\u0456\u043E\u043D\u0456\u0432",useSingularEnding:!0,useFewEnding:!0,avoidEndingRules:[11,12,13,14,111,112,113,114,211,212,213,214,311,312,313,314,411,412,413,414,511,512,513,514,611,612,613,614,711,712,713,714,811,812,813,814,911,912,913,914]},{singular:"\u0442\u0440\u0435\u0434\u0435\u0446\u0456\u043B\u043B\u0456\u043E\u043D",few:"\u0442\u0440\u0435\u0434\u0435\u0446\u0456\u043B\u043B\u0456\u043E\u043D\u0438",plural:"\u0442\u0440\u0435\u0434\u0435\u0446\u0456\u043B\u043B\u0456\u043E\u043D\u0456\u0432",useSingularEnding:!0,useFewEnding:!0,avoidEndingRules:[11,12,13,14,111,112,113,114,211,212,213,214,311,312,313,314,411,412,413,414,511,512,513,514,611,612,613,614,711,712,713,714,811,812,813,814,911,912,913,914]},{singular:"\u043A\u0432\u0430\u0442\u0443\u043E\u0440\u0434\u0435\u0446\u0456\u043B\u043B\u0456\u043E\u043D",few:"\u043A\u0432\u0430\u0442\u0443\u043E\u0440\u0434\u0435\u0446\u0456\u043B\u043B\u0456\u043E\u043D\u0438",plural:"\u043A\u0432\u0430\u0442\u0443\u043E\u0440\u0434\u0435\u0446\u0456\u043B\u043B\u0456\u043E\u043D\u0456\u0432",useSingularEnding:!0,useFewEnding:!0,avoidEndingRules:[11,12,13,14,111,112,113,114,211,212,213,214,311,312,313,314,411,412,413,414,511,512,513,514,611,612,613,614,711,712,713,714,811,812,813,814,911,912,913,914]},{singular:"\u043A\u0432\u0456\u043D\u0434\u0435\u0446\u0456\u043B\u043B\u0456\u043E\u043D",few:"\u043A\u0432\u0456\u043D\u0434\u0435\u0446\u0456\u043B\u043B\u0456\u043E\u043D\u0438",plural:"\u043A\u0432\u0456\u043D\u0434\u0435\u0446\u0456\u043B\u043B\u0456\u043E\u043D\u0456\u0432",useSingularEnding:!0,useFewEnding:!0,avoidEndingRules:[11,12,13,14,111,112,113,114,211,212,213,214,311,312,313,314,411,412,413,414,511,512,513,514,611,612,613,614,711,712,713,714,811,812,813,814,911,912,913,914]}],unitExceptions:[]}}),ql=N((t,e)=>{e.exports={useLongScale:!1,baseSeparator:" ",unitSeparator:"",base:{0:"\u043D\u043E\u043B\u044C",1:"\u043E\u0434\u0438\u043D",2:"\u0434\u0432\u0430",3:"\u0442\u0440\u0438",4:"\u0447\u0435\u0442\u044B\u0440\u0435",5:"\u043F\u044F\u0442\u044C",6:"\u0448\u0435\u0441\u0442\u044C",7:"\u0441\u0435\u043C\u044C",8:"\u0432\u043E\u0441\u0435\u043C\u044C",9:"\u0434\u0435\u0432\u044F\u0442\u044C",10:"\u0434\u0435\u0441\u044F\u0442\u044C",11:"\u043E\u0434\u0438\u043D\u0430\u0434\u0446\u0430\u0442\u044C",12:"\u0434\u0432\u0435\u043D\u0430\u0434\u0446\u0430\u0442\u044C",13:"\u0442\u0440\u0438\u043D\u0430\u0434\u0446\u0430\u0442\u044C",14:"\u0447\u0435\u0442\u044B\u0440\u043D\u0430\u0434\u0446\u0430\u0442\u044C",15:"\u043F\u044F\u0442\u043D\u0430\u0434\u0446\u0430\u0442\u044C",16:"\u0448\u0435\u0441\u0442\u043D\u0430\u0434\u0446\u0430\u0442\u044C",17:"\u0441\u0435\u043C\u043D\u0430\u0434\u0446\u0430\u0442\u044C",18:"\u0432\u043E\u0441\u0435\u043C\u043D\u0430\u0434\u0446\u0430\u0442\u044C",19:"\u0434\u0435\u0432\u044F\u0442\u043D\u0430\u0434\u0446\u0430\u0442\u044C",20:"\u0434\u0432\u0430\u0434\u0446\u0430\u0442\u044C",30:"\u0442\u0440\u0438\u0434\u0446\u0430\u0442\u044C",40:"\u0441\u043E\u0440\u043E\u043A",50:"\u043F\u044F\u0442\u044C\u0434\u0435\u0441\u044F\u0442",60:"\u0448\u0435\u0441\u0442\u044C\u0434\u0435\u0441\u044F\u0442",70:"\u0441\u0435\u043C\u044C\u0434\u0435\u0441\u044F\u0442",80:"\u0432\u043E\u0441\u0435\u043C\u044C\u0434\u0435\u0441\u044F\u0442",90:"\u0434\u0435\u0432\u044F\u043D\u043E\u0441\u0442\u043E",100:"\u0441\u0442\u043E",200:"\u0434\u0432\u0435\u0441\u0442\u0438",300:"\u0442\u0440\u0438\u0441\u0442\u0430",400:"\u0447\u0435\u0442\u044B\u0440\u0435\u0441\u0442\u0430",500:"\u043F\u044F\u0442\u044C\u0441\u043E\u0442",600:"\u0448\u0435\u0441\u0442\u044C\u0441\u043E\u0442",700:"\u0441\u0435\u043C\u044C\u0441\u043E\u0442",800:"\u0432\u043E\u0441\u0435\u043C\u044C\u0441\u043E\u0442",900:"\u0434\u0435\u0432\u044F\u0442\u044C\u0441\u043E\u0442"},alternativeBase:{feminine:{1:"\u043E\u0434\u043D\u0430",2:"\u0434\u0432\u0435"}},units:[{useBaseInstead:!0,useBaseException:[]},{singular:"\u0442\u044B\u0441\u044F\u0447\u0430",few:"\u0442\u044B\u0441\u044F\u0447\u0438",plural:"\u0442\u044B\u0441\u044F\u0447",useAlternativeBase:"feminine",useSingularEnding:!0,useFewEnding:!0,avoidEndingRules:[11,12,13,14,111,112,113,114,211,212,213,214,311,312,313,314,411,412,413,414,511,512,513,514,611,612,613,614,711,712,713,714,811,812,813,814,911,912,913,914]},{singular:"\u043C\u0438\u043B\u043B\u0438\u043E\u043D",few:"\u043C\u0438\u043B\u043B\u0438\u043E\u043D\u0430",plural:"\u043C\u0438\u043B\u043B\u0438\u043E\u043D\u043E\u0432",useSingularEnding:!0,useFewEnding:!0,avoidEndingRules:[11,12,13,14,111,112,113,114,211,212,213,214,311,312,313,314,411,412,413,414,511,512,513,514,611,612,613,614,711,712,713,714,811,812,813,814,911,912,913,914]},{singular:"\u043C\u0438\u043B\u043B\u0438\u0430\u0440\u0434",few:"\u043C\u0438\u043B\u043B\u0438\u0430\u0440\u0434\u0430",plural:"\u043C\u0438\u043B\u043B\u0438\u0430\u0440\u0434\u043E\u0432",useSingularEnding:!0,useFewEnding:!0,avoidEndingRules:[11,12,13,14,111,112,113,114,211,212,213,214,311,312,313,314,411,412,413,414,511,512,513,514,611,612,613,614,711,712,713,714,811,812,813,814,911,912,913,914]},{singular:"\u0442\u0440\u0438\u043B\u043B\u0438\u043E\u043D",few:"\u0442\u0440\u0438\u043B\u043B\u0438\u043E\u043D\u0430",plural:"\u0442\u0440\u0438\u043B\u043B\u0438\u043E\u043D\u043E\u0432",useSingularEnding:!0,useFewEnding:!0,avoidEndingRules:[11,12,13,14,111,112,113,114,211,212,213,214,311,312,313,314,411,412,413,414,511,512,513,514,611,612,613,614,711,712,713,714,811,812,813,814,911,912,913,914]},{singular:"\u043A\u0432\u0430\u0434\u0440\u0438\u043B\u044C\u043E\u043D",few:"\u043A\u0432\u0430\u0434\u0440\u0438\u043B\u043B\u0438\u043E\u043D",plural:"\u043A\u0432\u0430\u0434\u0440\u0438\u043B\u043E\u043D",useSingularEnding:!0,useFewEnding:!0,avoidEndingRules:[11,12,13,14,111,112,113,114,211,212,213,214,311,312,313,314,411,412,413,414,511,512,513,514,611,612,613,614,711,712,713,714,811,812,813,814,911,912,913,914]},{singular:"\u043A\u0432\u0438\u043D\u0442\u0438\u043B\u043B\u0438\u043E\u043D",few:"\u043A\u0432\u0438\u043D\u0442\u0438\u043B\u043B\u0438\u043E\u043D\u0430",plural:"\u043A\u0432\u0438\u043D\u0442\u0438\u043B\u044C\u043E\u043D\u043E\u0432",useSingularEnding:!0,useFewEnding:!0,avoidEndingRules:[11,12,13,14,111,112,113,114,211,212,213,214,311,312,313,314,411,412,413,414,511,512,513,514,611,612,613,614,711,712,713,714,811,812,813,814,911,912,913,914]},{singular:"\u0441\u0435\u043A\u0441\u0442\u0438\u043B\u043B\u0438\u043E\u043D\u043E\u0432",few:"\u0441\u0435\u043A\u0441\u0442\u0438\u043B\u044C\u043E\u043D\u0430",plural:"\u0441\u0435\u043A\u0441\u0442\u0438\u043B\u043B\u0438\u043E\u043D\u043E\u0432",useSingularEnding:!0,useFewEnding:!0,avoidEndingRules:[11,12,13,14,111,112,113,114,211,212,213,214,311,312,313,314,411,412,413,414,511,512,513,514,611,612,613,614,711,712,713,714,811,812,813,814,911,912,913,914]},{singular:"\u0441\u0435\u043F\u0442\u0438\u043B\u043B\u0438\u043E\u043D",few:"\u0441\u0435\u043F\u0442\u0438\u043B\u043B\u0438\u043E\u043D\u0430",plural:"\u0441\u0435\u043F\u0442\u0438\u043B\u043B\u0438\u043E\u043D\u043E\u0432",useSingularEnding:!0,useFewEnding:!0,avoidEndingRules:[11,12,13,14,111,112,113,114,211,212,213,214,311,312,313,314,411,412,413,414,511,512,513,514,611,612,613,614,711,712,713,714,811,812,813,814,911,912,913,914]},{singular:"\u043E\u043A\u0442\u0438\u043B\u043B\u0438\u043E\u043D",few:"\u043E\u043A\u0442\u0438\u043B\u043B\u0438\u043E\u043D\u0430",plural:"\u043E\u043A\u0442\u0438\u043B\u043B\u0438\u043E\u043D\u043E\u0432",useSingularEnding:!0,useFewEnding:!0,avoidEndingRules:[11,12,13,14,111,112,113,114,211,212,213,214,311,312,313,314,411,412,413,414,511,512,513,514,611,612,613,614,711,712,713,714,811,812,813,814,911,912,913,914]},{singular:"\u043D\u043E\u043D\u0438\u043B\u043B\u0438\u043E\u043D",few:"\u043D\u043E\u043D\u0438\u043B\u043B\u0438\u043E\u043D\u0430",plural:"\u043D\u043E\u043D\u0438\u043B\u043B\u0438\u043E\u043D\u043E\u0432",useSingularEnding:!0,useFewEnding:!0,avoidEndingRules:[11,12,13,14,111,112,113,114,211,212,213,214,311,312,313,314,411,412,413,414,511,512,513,514,611,612,613,614,711,712,713,714,811,812,813,814,911,912,913,914]},{singular:"\u0434\u0435\u0446\u0438\u043B\u043B\u0438\u043E\u043D",few:"\u0434\u0435\u0446\u0438\u043B\u043B\u0438\u043E\u043D\u0430",plural:"\u0434\u0435\u0446\u0438\u043B\u043B\u0438\u043E\u043D\u043E\u0432",useSingularEnding:!0,useFewEnding:!0,avoidEndingRules:[11,12,13,14,111,112,113,114,211,212,213,214,311,312,313,314,411,412,413,414,511,512,513,514,611,612,613,614,711,712,713,714,811,812,813,814,911,912,913,914]},{singular:"\u0443\u043D\u0434\u0435\u0446\u0438\u043B\u043B\u0438\u043E\u043D",few:"\u0443\u043D\u0434\u0435\u0446\u0438\u043B\u043B\u0438\u043E\u043D\u0430",plural:"\u0443\u043D\u0434\u0435\u0446\u0438\u043B\u043B\u0438\u043E\u043D\u0438\u0432",useSingularEnding:!0,useFewEnding:!0,avoidEndingRules:[11,12,13,14,111,112,113,114,211,212,213,214,311,312,313,314,411,412,413,414,511,512,513,514,611,612,613,614,711,712,713,714,811,812,813,814,911,912,913,914]},{singular:"\u0434\u0443\u043E\u0434\u0435\u0446\u0438\u043B\u043B\u0438\u043E\u043D",few:"\u0434\u0443\u043E\u0434\u0435\u0446\u0438\u043B\u043B\u0438\u043E\u043D\u0430",plural:"\u0434\u0443\u043E\u0434\u0435\u0446\u0438\u043B\u043B\u0438\u043E\u043D\u0438\u0432",useSingularEnding:!0,useFewEnding:!0,avoidEndingRules:[11,12,13,14,111,112,113,114,211,212,213,214,311,312,313,314,411,412,413,414,511,512,513,514,611,612,613,614,711,712,713,714,811,812,813,814,911,912,913,914]},{singular:"\u0442\u0440\u0435\u0434\u0435\u0446\u0438\u043B\u043B\u0438\u043E\u043D",few:"\u0442\u0440\u0435\u0434\u0435\u0446\u0438\u043B\u043B\u0438\u043E\u043D\u0430",plural:"\u0442\u0440\u0435\u0434\u0435\u0446\u0438\u043B\u043B\u0438\u043E\u043D\u0438\u0432",useSingularEnding:!0,useFewEnding:!0,avoidEndingRules:[11,12,13,14,111,112,113,114,211,212,213,214,311,312,313,314,411,412,413,414,511,512,513,514,611,612,613,614,711,712,713,714,811,812,813,814,911,912,913,914]},{singular:"\u043A\u0432\u0430\u0442\u0443\u043E\u0440\u0434\u0435\u0446\u0438\u043B\u043B\u0438\u043E\u043D",few:"\u043A\u0432\u0430\u0442\u0443\u043E\u0440\u0434\u0435\u0446\u0438\u043B\u043B\u0438\u043E\u043D\u0430",plural:"\u043A\u0432\u0430\u0442\u0443\u043E\u0440\u0434\u0435\u0446\u0438\u043B\u043B\u0438\u043E\u043D\u0438\u0432",useSingularEnding:!0,useFewEnding:!0,avoidEndingRules:[11,12,13,14,111,112,113,114,211,212,213,214,311,312,313,314,411,412,413,414,511,512,513,514,611,612,613,614,711,712,713,714,811,812,813,814,911,912,913,914]},{singular:"\u043A\u0432\u0438\u043D\u0434\u0435\u0446\u0438\u043B\u043B\u0438\u043E\u043D",few:"\u043A\u0432\u0438\u043D\u0434\u0435\u0446\u0438\u043B\u043B\u0438\u043E\u043D\u0430",plural:"\u043A\u0432\u0438\u043D\u0434\u0435\u0446\u0438\u043B\u043B\u0438\u043E\u043D\u0438\u0432",useSingularEnding:!0,useFewEnding:!0,avoidEndingRules:[11,12,13,14,111,112,113,114,211,212,213,214,311,312,313,314,411,412,413,414,511,512,513,514,611,612,613,614,711,712,713,714,811,812,813,814,911,912,913,914]}],unitExceptions:[]}}),Ul=N((t,e)=>{e.exports={useLongScale:!1,baseSeparator:" ",unitSeparator:"",base:{0:"nol",1:"satu",2:"dua",3:"tiga",4:"empat",5:"lima",6:"enam",7:"tujuh",8:"delapan",9:"sembilan",10:"sepuluh",11:"sebelas",12:"dua belas",13:"tiga belas",14:"empat belas",15:"lima belas",16:"enam belas",17:"tujuh belas",18:"delapan belas",19:"sembilan belas",20:"dua puluh",30:"tiga puluh",40:"empat puluh",50:"lima puluh",60:"enam puluh",70:"tujuh puluh",80:"delapan puluh",90:"sembilan puluh"},units:[{singular:"seratus",plural:"ratus",avoidPrefixException:[1]},{singular:"seribu",plural:"ribu",avoidPrefixException:[1]},"juta","miliar","triliun","kuadiliun"],unitExceptions:[]}}),Wl=N((t,e)=>{"use strict";t=e.exports=u;var r=Cl(),n=["en","es","ar","az","pt","fr","eo","it","vi","tr","uk","ru","id"],i={en:Dl(),es:Ol(),ar:Bl(),az:Fl(),pt:Ml(),ptPT:Nl(),fr:Ll(),eo:Pl(),it:zl(),vi:Tl(),tr:jl(),hu:Il(),enIndian:Rl(),uk:Vl(),ru:ql(),id:Ul()};t.i18n=i;var a=[100];for(s=1;s<=16;s++)a.push(Math.pow(10,s*3));var s,o=[100,1e3];for(s=1;s<=15;s++)o.push(Math.pow(10,s*6));u.defaults={noAnd:!1,alternativeBase:null,lang:"en"};function u(d,h){if(h=h||{},h=r.defaults(h,u.defaults),d<0)return"";d=Math.round(+d);var p=typeof h.lang=="string"?i[h.lang]:h.lang;p||(n.indexOf(u.defaults.lang)<0&&(u.defaults.lang="en"),p=i[u.defaults.lang]);var l=p.useLongScale?o:a,m=p.units,f;if(!(m instanceof Array)){var b=m;m=[],l=Object.keys(b);for(var v in l)m.push(b[l[v]]),l[v]=Math.pow(10,parseInt(l[v]))}var y=p.base,w=h.alternativeBase?p.alternativeBase[h.alternativeBase]:{};if(p.unitExceptions[d])return p.unitExceptions[d];if(w[d])return w[d];if(y[d])return y[d];if(d<100)return c(d,p,f,y,w,h);var k=d%100,$=[];k&&(h.noAnd&&!(p.andException&&p.andException[10])?$.push(u(k,h)):$.push(p.unitSeparator+u(k,h)));for(var x,v=0,S=m.length;v<S;v++){var _=Math.floor(d/l[v]),C;if(v===S-1?C=1e6:C=l[v+1]/l[v],_%=C,f=m[v],!!_){if(x=l[v],f.useBaseInstead){var A=f.useBaseException.indexOf(_)>-1&&(f.useBaseExceptionWhenNoTrailingNumbers?v===0&&$.length:!0);A?$.push(_>1&&f.plural?f.plural:f.singular):$.push(w[_*l[v]]||y[_*l[v]]);continue}var F;if(typeof f=="string"?F=f:_===1||f.useSingularEnding&&_%10===1&&(!f.avoidEndingRules||f.avoidEndingRules.indexOf(_)<0)?F=f.singular:f.few&&(_>1&&_<5||f.useFewEnding&&_%10>1&&_%10<5&&(!f.avoidEndingRules||f.avoidEndingRules.indexOf(_)<0))?F=f.few:(F=f.plural&&(!f.avoidInNumberPlural||!k)?f.plural:f.singular,F=_===2&&f.dual?f.dual:F,F=_>10&&f.restrictedPlural?f.singular:F),f.avoidPrefixException&&f.avoidPrefixException.indexOf(_)>-1){$.push(F);continue}var D=p.unitExceptions[_],B=D||u(_,r.defaults({noAnd:!(p.andException&&p.andException[_]||f.andException)&&!0,alternativeBase:f.useAlternativeBase},h));d-=_*l[v],$.push(B+" "+F)}}var M=x*Math.floor(d/x),R=d-M;if(p.andWhenTrailing&&x&&0<R&&$[0].indexOf(p.unitSeparator)!==0&&($=[$[0],p.unitSeparator.replace(/\s+$/,"")].concat($.slice(1))),p.allSeparator)for(var V=0;V<$.length-1;V++)$[V]=p.allSeparator+$[V];var G=$.reverse().join(" ");return G}function c(d,h,p,l,m,f){var b=Math.floor(d/10)*10;return p=d-b,p?m[b]||l[b]+h.baseSeparator+u(p,f):m[b]||l[b]}}),Hl={},dr={};Jr(dr,{BaseError:()=>le,BaseThrowable:()=>hr,BaseWarning:()=>ge,PotentialLoopError:()=>Dt,TemplateDataValidationError:()=>Xr,TemplateError:()=>Ot,TemplateSyntaxError:()=>He});var hr=class extends Error{name="BaseThrowable";constructor(t,e){super(t),e&&(this.stack=e)}},ge=class extends hr{name="BaseWarning"},le=class extends hr{name="BaseError"},Dt=class extends le{name="PotentialLoopError";constructor(t="Potential loop detected: This might me an internal issue",e){super(t,e)}},Ot=class extends le{name="TemplateError"},He=class extends Ot{name="TemplateSyntaxError"},Xr=class extends Ot{name="TemplateDataValidationError";constructor(t="The entered data is invalid: This might me an internal issue",e){super(t),e&&(this.fieldName=e)}},_o={};Jr(_o,{DIALECT_MACRO:()=>zu,Dialect:()=>Ge,StandardDialect:()=>Tu,default:()=>I1});var Se={};Jr(Se,{DEFAULT_FIELD_TYPE:()=>cn,DEFAULT_MODEL_DEPTH:()=>Ct,FilterHelper:()=>Pi,FlextH1SomewhereContentCollector:()=>vu,FlextMacroCollector:()=>yu,HandlebarsCollector:()=>dn,HandlebarsCommentCollector:()=>mu,HandlebarsContentCollector:()=>gu,HandlebarsPathCollector:()=>bu,RegexHelper:()=>Re,applyAbsoluteOrderToFields:()=>Pu,applyValueOptionsToFields:()=>Lu,astToDataModel:()=>Eu,astToMacros:()=>Fi,astToPaths:()=>wu,audit:()=>U,compare:()=>zr,dataModelNodeToMetadata:()=>Bi,defineModule:()=>qe,delegateToCss:()=>ku,delegateToHtml:()=>Oi,delegateToHtmlH1:()=>Au,ensureDate:()=>Ni,ensureFieldName:()=>Du,ensureFieldValue:()=>Li,ensureNullableFieldMinMax:()=>ui,ensureNullableFieldMinMaxLength:()=>li,ensureNullableFieldOrder:()=>Ou,ensureNullableString:()=>rr,ensureString:()=>hn,ensureTitle:()=>Cu,has:()=>oi,hbsToAst:()=>Di,hbsToDelegate:()=>si,hbsToDelegateValidationErrorsByMetadata:()=>Mi,inarr:()=>fe,isNumber:()=>Ve,isObject:()=>vr,isset:()=>xe,macroToField:()=>Mu,macroToFieldValueOption:()=>Nu,macroToModuleNames:()=>Fu,macroTokenToMacroParam:()=>Su,macroTokenToMacroParams:()=>_u,matches:()=>ci,pathToDataModel:()=>$u,pathToDataModelNode:()=>Hr,stripHtml:()=>fu,sum:()=>Bu,unique:()=>xu,uno:()=>pu});var ht=class extends Error{},Zl=class extends ht{constructor(t){super(`Invalid DateTime: ${t.toMessage()}`)}},Gl=class extends ht{constructor(t){super(`Invalid Interval: ${t.toMessage()}`)}},Yl=class extends ht{constructor(t){super(`Invalid Duration: ${t.toMessage()}`)}},xt=class extends ht{},Ao=class extends ht{constructor(t){super(`Invalid unit ${t}`)}},oe=class extends ht{},Je=class extends ht{constructor(){super("Zone is an abstract class")}},O="numeric",Me="short",me="long",Tr={year:O,month:O,day:O},Co={year:O,month:Me,day:O},Jl={year:O,month:Me,day:O,weekday:Me},Do={year:O,month:me,day:O},Oo={year:O,month:me,day:O,weekday:me},Bo={hour:O,minute:O},Fo={hour:O,minute:O,second:O},Mo={hour:O,minute:O,second:O,timeZoneName:Me},No={hour:O,minute:O,second:O,timeZoneName:me},Lo={hour:O,minute:O,hourCycle:"h23"},Po={hour:O,minute:O,second:O,hourCycle:"h23"},zo={hour:O,minute:O,second:O,hourCycle:"h23",timeZoneName:Me},To={hour:O,minute:O,second:O,hourCycle:"h23",timeZoneName:me},jo={year:O,month:O,day:O,hour:O,minute:O},Io={year:O,month:O,day:O,hour:O,minute:O,second:O},Ro={year:O,month:Me,day:O,hour:O,minute:O},Vo={year:O,month:Me,day:O,hour:O,minute:O,second:O},Kl={year:O,month:Me,day:O,weekday:Me,hour:O,minute:O},qo={year:O,month:me,day:O,hour:O,minute:O,timeZoneName:Me},Uo={year:O,month:me,day:O,hour:O,minute:O,second:O,timeZoneName:Me},Wo={year:O,month:me,day:O,weekday:me,hour:O,minute:O,timeZoneName:me},Ho={year:O,month:me,day:O,weekday:me,hour:O,minute:O,second:O,timeZoneName:me},pr=class{get type(){throw new Je}get name(){throw new Je}get ianaName(){return this.name}get isUniversal(){throw new Je}offsetName(t,e){throw new Je}formatOffset(t,e){throw new Je}offset(t){throw new Je}equals(t){throw new Je}get isValid(){throw new Je}},bn=null,Zo=class Go extends pr{static get instance(){return bn===null&&(bn=new Go),bn}get type(){return"system"}get name(){return new Intl.DateTimeFormat().resolvedOptions().timeZone}get isUniversal(){return!1}offsetName(e,{format:r,locale:n}){return as(e,r,n)}formatOffset(e,r){return nr(this.offset(e),r)}offset(e){return-new Date(e).getTimezoneOffset()}equals(e){return e.type==="system"}get isValid(){return!0}},Tn=new Map;function Xl(t){let e=Tn.get(t);return e===void 0&&(e=new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:t,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit",era:"short"}),Tn.set(t,e)),e}var Ql={year:0,month:1,day:2,era:3,hour:4,minute:5,second:6};function e0(t,e){let r=t.format(e).replace(/\u200E/g,""),n=/(\d+)\/(\d+)\/(\d+) (AD|BC),? (\d+):(\d+):(\d+)/.exec(r),[,i,a,s,o,u,c,d]=n;return[s,i,a,o,u,c,d]}function t0(t,e){let r=t.formatToParts(e),n=[];for(let i=0;i<r.length;i++){let{type:a,value:s}=r[i],o=Ql[a];a==="era"?n[o]=s:z(o)||(n[o]=parseInt(s,10))}return n}var yn=new Map,Bt=class jn extends pr{static create(e){let r=yn.get(e);return r===void 0&&yn.set(e,r=new jn(e)),r}static resetCache(){yn.clear(),Tn.clear()}static isValidSpecifier(e){return this.isValidZone(e)}static isValidZone(e){if(!e)return!1;try{return new Intl.DateTimeFormat("en-US",{timeZone:e}).format(),!0}catch{return!1}}constructor(e){super(),this.zoneName=e,this.valid=jn.isValidZone(e)}get type(){return"iana"}get name(){return this.zoneName}get isUniversal(){return!1}offsetName(e,{format:r,locale:n}){return as(e,r,n,this.name)}formatOffset(e,r){return nr(this.offset(e),r)}offset(e){if(!this.valid)return NaN;let r=new Date(e);if(isNaN(r))return NaN;let n=Xl(this.name),[i,a,s,o,u,c,d]=n.formatToParts?t0(n,r):e0(n,r);o==="BC"&&(i=-Math.abs(i)+1);let h=en({year:i,month:a,day:s,hour:u===24?0:u,minute:c,second:d,millisecond:0}),p=+r,l=p%1e3;return p-=l>=0?l:1e3+l,(h-p)/(60*1e3)}equals(e){return e.type==="iana"&&e.name===this.name}get isValid(){return this.valid}},Wi={};function r0(t,e={}){let r=JSON.stringify([t,e]),n=Wi[r];return n||(n=new Intl.ListFormat(t,e),Wi[r]=n),n}var In=new Map;function Rn(t,e={}){let r=JSON.stringify([t,e]),n=In.get(r);return n===void 0&&(n=new Intl.DateTimeFormat(t,e),In.set(r,n)),n}var Vn=new Map;function n0(t,e={}){let r=JSON.stringify([t,e]),n=Vn.get(r);return n===void 0&&(n=new Intl.NumberFormat(t,e),Vn.set(r,n)),n}var qn=new Map;function i0(t,e={}){let{base:r,...n}=e,i=JSON.stringify([t,n]),a=qn.get(i);return a===void 0&&(a=new Intl.RelativeTimeFormat(t,e),qn.set(i,a)),a}var Br=null;function a0(){return Br||(Br=new Intl.DateTimeFormat().resolvedOptions().locale,Br)}var Un=new Map;function Yo(t){let e=Un.get(t);return e===void 0&&(e=new Intl.DateTimeFormat(t).resolvedOptions(),Un.set(t,e)),e}var Wn=new Map;function o0(t){let e=Wn.get(t);if(!e){let r=new Intl.Locale(t);e="getWeekInfo"in r?r.getWeekInfo():r.weekInfo,"minimalDays"in e||(e={...Jo,...e}),Wn.set(t,e)}return e}function s0(t){let e=t.indexOf("-x-");e!==-1&&(t=t.substring(0,e));let r=t.indexOf("-u-");if(r===-1)return[t];{let n,i;try{n=Rn(t).resolvedOptions(),i=t}catch{let o=t.substring(0,r);n=Rn(o).resolvedOptions(),i=o}let{numberingSystem:a,calendar:s}=n;return[i,a,s]}}function u0(t,e,r){return(r||e)&&(t.includes("-u-")||(t+="-u"),r&&(t+=`-ca-${r}`),e&&(t+=`-nu-${e}`)),t}function l0(t){let e=[];for(let r=1;r<=12;r++){let n=Z.utc(2009,r,1);e.push(t(n))}return e}function c0(t){let e=[];for(let r=1;r<=7;r++){let n=Z.utc(2016,11,13+r);e.push(t(n))}return e}function xr(t,e,r,n){let i=t.listingMode();return i==="error"?null:i==="en"?r(e):n(e)}function d0(t){return t.numberingSystem&&t.numberingSystem!=="latn"?!1:t.numberingSystem==="latn"||!t.locale||t.locale.startsWith("en")||Yo(t.locale).numberingSystem==="latn"}var h0=class{constructor(t,e,r){this.padTo=r.padTo||0,this.floor=r.floor||!1;let{padTo:n,floor:i,...a}=r;if(!e||Object.keys(a).length>0){let s={useGrouping:!1,...r};r.padTo>0&&(s.minimumIntegerDigits=r.padTo),this.inf=n0(t,s)}}format(t){if(this.inf){let e=this.floor?Math.floor(t):t;return this.inf.format(e)}else{let e=this.floor?Math.floor(t):yi(t,3);return ne(e,this.padTo)}}},p0=class{constructor(t,e,r){this.opts=r,this.originalZone=void 0;let n;if(this.opts.timeZone)this.dt=t;else if(t.zone.type==="fixed"){let a=-1*(t.offset/60),s=a>=0?`Etc/GMT+${a}`:`Etc/GMT${a}`;t.offset!==0&&Bt.create(s).valid?(n=s,this.dt=t):(n="UTC",this.dt=t.offset===0?t:t.setZone("UTC").plus({minutes:t.offset}),this.originalZone=t.zone)}else t.zone.type==="system"?this.dt=t:t.zone.type==="iana"?(this.dt=t,n=t.zone.name):(n="UTC",this.dt=t.setZone("UTC").plus({minutes:t.offset}),this.originalZone=t.zone);let i={...this.opts};i.timeZone=i.timeZone||n,this.dtf=Rn(e,i)}format(){return this.originalZone?this.formatToParts().map(({value:t})=>t).join(""):this.dtf.format(this.dt.toJSDate())}formatToParts(){let t=this.dtf.formatToParts(this.dt.toJSDate());return this.originalZone?t.map(e=>{if(e.type==="timeZoneName"){let r=this.originalZone.offsetName(this.dt.ts,{locale:this.dt.locale,format:this.opts.timeZoneName});return{...e,value:r}}else return e}):t}resolvedOptions(){return this.dtf.resolvedOptions()}},f0=class{constructor(t,e,r){this.opts={style:"long",...r},!e&&ns()&&(this.rtf=i0(t,r))}format(t,e){return this.rtf?this.rtf.format(t,e):P0(e,t,this.opts.numeric,this.opts.style!=="long")}formatToParts(t,e){return this.rtf?this.rtf.formatToParts(t,e):[]}},Jo={firstDay:1,minimalDays:4,weekend:[6,7]},W=class Yt{static fromOpts(e){return Yt.create(e.locale,e.numberingSystem,e.outputCalendar,e.weekSettings,e.defaultToEN)}static create(e,r,n,i,a=!1){let s=e||K.defaultLocale,o=s||(a?"en-US":a0()),u=r||K.defaultNumberingSystem,c=n||K.defaultOutputCalendar,d=Zn(i)||K.defaultWeekSettings;return new Yt(o,u,c,d,s)}static resetCache(){Br=null,In.clear(),Vn.clear(),qn.clear(),Un.clear(),Wn.clear()}static fromObject({locale:e,numberingSystem:r,outputCalendar:n,weekSettings:i}={}){return Yt.create(e,r,n,i)}constructor(e,r,n,i,a){let[s,o,u]=s0(e);this.locale=s,this.numberingSystem=r||o||null,this.outputCalendar=n||u||null,this.weekSettings=i,this.intl=u0(this.locale,this.numberingSystem,this.outputCalendar),this.weekdaysCache={format:{},standalone:{}},this.monthsCache={format:{},standalone:{}},this.meridiemCache=null,this.eraCache={},this.specifiedLocale=a,this.fastNumbersCached=null}get fastNumbers(){return this.fastNumbersCached==null&&(this.fastNumbersCached=d0(this)),this.fastNumbersCached}listingMode(){let e=this.isEnglish(),r=(this.numberingSystem===null||this.numberingSystem==="latn")&&(this.outputCalendar===null||this.outputCalendar==="gregory");return e&&r?"en":"intl"}clone(e){return!e||Object.getOwnPropertyNames(e).length===0?this:Yt.create(e.locale||this.specifiedLocale,e.numberingSystem||this.numberingSystem,e.outputCalendar||this.outputCalendar,Zn(e.weekSettings)||this.weekSettings,e.defaultToEN||!1)}redefaultToEN(e={}){return this.clone({...e,defaultToEN:!0})}redefaultToSystem(e={}){return this.clone({...e,defaultToEN:!1})}months(e,r=!1){return xr(this,e,us,()=>{let n=this.intl==="ja"||this.intl.startsWith("ja-");r&=!n;let i=r?{month:e,day:"numeric"}:{month:e},a=r?"format":"standalone";if(!this.monthsCache[a][e]){let s=n?o=>this.dtFormatter(o,i).format():o=>this.extract(o,i,"month");this.monthsCache[a][e]=l0(s)}return this.monthsCache[a][e]})}weekdays(e,r=!1){return xr(this,e,ds,()=>{let n=r?{weekday:e,year:"numeric",month:"long",day:"numeric"}:{weekday:e},i=r?"format":"standalone";return this.weekdaysCache[i][e]||(this.weekdaysCache[i][e]=c0(a=>this.extract(a,n,"weekday"))),this.weekdaysCache[i][e]})}meridiems(){return xr(this,void 0,()=>hs,()=>{if(!this.meridiemCache){let e={hour:"numeric",hourCycle:"h12"};this.meridiemCache=[Z.utc(2016,11,13,9),Z.utc(2016,11,13,19)].map(r=>this.extract(r,e,"dayperiod"))}return this.meridiemCache})}eras(e){return xr(this,e,ps,()=>{let r={era:e};return this.eraCache[e]||(this.eraCache[e]=[Z.utc(-40,1,1),Z.utc(2017,1,1)].map(n=>this.extract(n,r,"era"))),this.eraCache[e]})}extract(e,r,n){let i=this.dtFormatter(e,r),a=i.formatToParts(),s=a.find(o=>o.type.toLowerCase()===n);return s?s.value:null}numberFormatter(e={}){return new h0(this.intl,e.forceSimple||this.fastNumbers,e)}dtFormatter(e,r={}){return new p0(e,this.intl,r)}relFormatter(e={}){return new f0(this.intl,this.isEnglish(),e)}listFormatter(e={}){return r0(this.intl,e)}isEnglish(){return this.locale==="en"||this.locale.toLowerCase()==="en-us"||Yo(this.intl).locale.startsWith("en-us")}getWeekSettings(){return this.weekSettings?this.weekSettings:is()?o0(this.locale):Jo}getStartOfWeek(){return this.getWeekSettings().firstDay}getMinDaysInFirstWeek(){return this.getWeekSettings().minimalDays}getWeekendDays(){return this.getWeekSettings().weekend}equals(e){return this.locale===e.locale&&this.numberingSystem===e.numberingSystem&&this.outputCalendar===e.outputCalendar}toString(){return`Locale(${this.locale}, ${this.numberingSystem}, ${this.outputCalendar})`}},vn=null,Ie=class Jt extends pr{static get utcInstance(){return vn===null&&(vn=new Jt(0)),vn}static instance(e){return e===0?Jt.utcInstance:new Jt(e)}static parseSpecifier(e){if(e){let r=e.match(/^utc(?:([+-]\d{1,2})(?::(\d{2}))?)?$/i);if(r)return new Jt(tn(r[1],r[2]))}return null}constructor(e){super(),this.fixed=e}get type(){return"fixed"}get name(){return this.fixed===0?"UTC":`UTC${nr(this.fixed,"narrow")}`}get ianaName(){return this.fixed===0?"Etc/UTC":`Etc/GMT${nr(-this.fixed,"narrow")}`}offsetName(){return this.name}formatOffset(e,r){return nr(this.fixed,r)}get isUniversal(){return!0}offset(){return this.fixed}equals(e){return e.type==="fixed"&&e.fixed===this.fixed}get isValid(){return!0}},m0=class extends pr{constructor(t){super(),this.zoneName=t}get type(){return"invalid"}get name(){return this.zoneName}get isUniversal(){return!1}offsetName(){return null}formatOffset(){return""}offset(){return NaN}equals(){return!1}get isValid(){return!1}};function et(t,e){if(z(t)||t===null)return e;if(t instanceof pr)return t;if(x0(t)){let r=t.toLowerCase();return r==="default"?e:r==="local"||r==="system"?Zo.instance:r==="utc"||r==="gmt"?Ie.utcInstance:Ie.parseSpecifier(r)||Bt.create(t)}else return tt(t)?Ie.instance(t):typeof t=="object"&&"offset"in t&&typeof t.offset=="function"?t:new m0(t)}var fi={arab:"[\u0660-\u0669]",arabext:"[\u06F0-\u06F9]",bali:"[\u1B50-\u1B59]",beng:"[\u09E6-\u09EF]",deva:"[\u0966-\u096F]",fullwide:"[\uFF10-\uFF19]",gujr:"[\u0AE6-\u0AEF]",hanidec:"[\u3007|\u4E00|\u4E8C|\u4E09|\u56DB|\u4E94|\u516D|\u4E03|\u516B|\u4E5D]",khmr:"[\u17E0-\u17E9]",knda:"[\u0CE6-\u0CEF]",laoo:"[\u0ED0-\u0ED9]",limb:"[\u1946-\u194F]",mlym:"[\u0D66-\u0D6F]",mong:"[\u1810-\u1819]",mymr:"[\u1040-\u1049]",orya:"[\u0B66-\u0B6F]",tamldec:"[\u0BE6-\u0BEF]",telu:"[\u0C66-\u0C6F]",thai:"[\u0E50-\u0E59]",tibt:"[\u0F20-\u0F29]",latn:"\\d"},Hi={arab:[1632,1641],arabext:[1776,1785],bali:[6992,7001],beng:[2534,2543],deva:[2406,2415],fullwide:[65296,65303],gujr:[2790,2799],khmr:[6112,6121],knda:[3302,3311],laoo:[3792,3801],limb:[6470,6479],mlym:[3430,3439],mong:[6160,6169],mymr:[4160,4169],orya:[2918,2927],tamldec:[3046,3055],telu:[3174,3183],thai:[3664,3673],tibt:[3872,3881]},g0=fi.hanidec.replace(/[\[|\]]/g,"").split("");function b0(t){let e=parseInt(t,10);if(isNaN(e)){e="";for(let r=0;r<t.length;r++){let n=t.charCodeAt(r);if(t[r].search(fi.hanidec)!==-1)e+=g0.indexOf(t[r]);else for(let i in Hi){let[a,s]=Hi[i];n>=a&&n<=s&&(e+=n-a)}}return parseInt(e,10)}else return e}var Hn=new Map;function y0(){Hn.clear()}function Ce({numberingSystem:t},e=""){let r=t||"latn",n=Hn.get(r);n===void 0&&(n=new Map,Hn.set(r,n));let i=n.get(e);return i===void 0&&(i=new RegExp(`${fi[r]}${e}`),n.set(e,i)),i}var Zi=()=>Date.now(),Gi="system",Yi=null,Ji=null,Ki=null,Xi=60,Qi,ea=null,K=class{static get now(){return Zi}static set now(t){Zi=t}static set defaultZone(t){Gi=t}static get defaultZone(){return et(Gi,Zo.instance)}static get defaultLocale(){return Yi}static set defaultLocale(t){Yi=t}static get defaultNumberingSystem(){return Ji}static set defaultNumberingSystem(t){Ji=t}static get defaultOutputCalendar(){return Ki}static set defaultOutputCalendar(t){Ki=t}static get defaultWeekSettings(){return ea}static set defaultWeekSettings(t){ea=Zn(t)}static get twoDigitCutoffYear(){return Xi}static set twoDigitCutoffYear(t){Xi=t%100}static get throwOnInvalid(){return Qi}static set throwOnInvalid(t){Qi=t}static resetCaches(){W.resetCache(),Bt.resetCache(),Z.resetCache(),y0()}},Fe=class{constructor(t,e){this.reason=t,this.explanation=e}toMessage(){return this.explanation?`${this.reason}: ${this.explanation}`:this.reason}},Ko=[0,31,59,90,120,151,181,212,243,273,304,334],Xo=[0,31,60,91,121,152,182,213,244,274,305,335];function ve(t,e){return new Fe("unit out of range",`you specified ${e} (of type ${typeof e}) as a ${t}, which is invalid`)}function mi(t,e,r){let n=new Date(Date.UTC(t,e-1,r));t<100&&t>=0&&n.setUTCFullYear(n.getUTCFullYear()-1900);let i=n.getUTCDay();return i===0?7:i}function Qo(t,e,r){return r+(fr(t)?Xo:Ko)[e-1]}function es(t,e){let r=fr(t)?Xo:Ko,n=r.findIndex(a=>a<e),i=e-r[n];return{month:n+1,day:i}}function gi(t,e){return(t-e+7)%7+1}function jr(t,e=4,r=1){let{year:n,month:i,day:a}=t,s=Qo(n,i,a),o=gi(mi(n,i,a),r),u=Math.floor((s-o+14-e)/7),c;return u<1?(c=n-1,u=ar(c,e,r)):u>ar(n,e,r)?(c=n+1,u=1):c=n,{weekYear:c,weekNumber:u,weekday:o,...rn(t)}}function ta(t,e=4,r=1){let{weekYear:n,weekNumber:i,weekday:a}=t,s=gi(mi(n,1,e),r),o=$t(n),u=i*7+a-s-7+e,c;u<1?(c=n-1,u+=$t(c)):u>o?(c=n+1,u-=$t(n)):c=n;let{month:d,day:h}=es(c,u);return{year:c,month:d,day:h,...rn(t)}}function kn(t){let{year:e,month:r,day:n}=t,i=Qo(e,r,n);return{year:e,ordinal:i,...rn(t)}}function ra(t){let{year:e,ordinal:r}=t,{month:n,day:i}=es(e,r);return{year:e,month:n,day:i,...rn(t)}}function na(t,e){if(!z(t.localWeekday)||!z(t.localWeekNumber)||!z(t.localWeekYear)){if(!z(t.weekday)||!z(t.weekNumber)||!z(t.weekYear))throw new xt("Cannot mix locale-based week fields with ISO-based week fields");return z(t.localWeekday)||(t.weekday=t.localWeekday),z(t.localWeekNumber)||(t.weekNumber=t.localWeekNumber),z(t.localWeekYear)||(t.weekYear=t.localWeekYear),delete t.localWeekday,delete t.localWeekNumber,delete t.localWeekYear,{minDaysInFirstWeek:e.getMinDaysInFirstWeek(),startOfWeek:e.getStartOfWeek()}}else return{minDaysInFirstWeek:4,startOfWeek:1}}function v0(t,e=4,r=1){let n=Qr(t.weekYear),i=ke(t.weekNumber,1,ar(t.weekYear,e,r)),a=ke(t.weekday,1,7);return n?i?a?!1:ve("weekday",t.weekday):ve("week",t.weekNumber):ve("weekYear",t.weekYear)}function k0(t){let e=Qr(t.year),r=ke(t.ordinal,1,$t(t.year));return e?r?!1:ve("ordinal",t.ordinal):ve("year",t.year)}function ts(t){let e=Qr(t.year),r=ke(t.month,1,12),n=ke(t.day,1,Ir(t.year,t.month));return e?r?n?!1:ve("day",t.day):ve("month",t.month):ve("year",t.year)}function rs(t){let{hour:e,minute:r,second:n,millisecond:i}=t,a=ke(e,0,23)||e===24&&r===0&&n===0&&i===0,s=ke(r,0,59),o=ke(n,0,59),u=ke(i,0,999);return a?s?o?u?!1:ve("millisecond",i):ve("second",n):ve("minute",r):ve("hour",e)}function z(t){return typeof t>"u"}function tt(t){return typeof t=="number"}function Qr(t){return typeof t=="number"&&t%1===0}function x0(t){return typeof t=="string"}function w0(t){return Object.prototype.toString.call(t)==="[object Date]"}function ns(){try{return typeof Intl<"u"&&!!Intl.RelativeTimeFormat}catch{return!1}}function is(){try{return typeof Intl<"u"&&!!Intl.Locale&&("weekInfo"in Intl.Locale.prototype||"getWeekInfo"in Intl.Locale.prototype)}catch{return!1}}function $0(t){return Array.isArray(t)?t:[t]}function ia(t,e,r){if(t.length!==0)return t.reduce((n,i)=>{let a=[e(i),i];return n&&r(n[0],a[0])===n[0]?n:a},null)[1]}function E0(t,e){return e.reduce((r,n)=>(r[n]=t[n],r),{})}function St(t,e){return Object.prototype.hasOwnProperty.call(t,e)}function Zn(t){if(t==null)return null;if(typeof t!="object")throw new oe("Week settings must be an object");if(!ke(t.firstDay,1,7)||!ke(t.minimalDays,1,7)||!Array.isArray(t.weekend)||t.weekend.some(e=>!ke(e,1,7)))throw new oe("Invalid week settings");return{firstDay:t.firstDay,minimalDays:t.minimalDays,weekend:Array.from(t.weekend)}}function ke(t,e,r){return Qr(t)&&t>=e&&t<=r}function S0(t,e){return t-e*Math.floor(t/e)}function ne(t,e=2){let r=t<0,n;return r?n="-"+(""+-t).padStart(e,"0"):n=(""+t).padStart(e,"0"),n}function Qe(t){if(!(z(t)||t===null||t===""))return parseInt(t,10)}function at(t){if(!(z(t)||t===null||t===""))return parseFloat(t)}function bi(t){if(!(z(t)||t===null||t==="")){let e=parseFloat("0."+t)*1e3;return Math.floor(e)}}function yi(t,e,r="round"){let n=10**e;switch(r){case"expand":return t>0?Math.ceil(t*n)/n:Math.floor(t*n)/n;case"trunc":return Math.trunc(t*n)/n;case"round":return Math.round(t*n)/n;case"floor":return Math.floor(t*n)/n;case"ceil":return Math.ceil(t*n)/n;default:throw new RangeError(`Value rounding ${r} is out of range`)}}function fr(t){return t%4===0&&(t%100!==0||t%400===0)}function $t(t){return fr(t)?366:365}function Ir(t,e){let r=S0(e-1,12)+1,n=t+(e-r)/12;return r===2?fr(n)?29:28:[31,null,31,30,31,30,31,31,30,31,30,31][r-1]}function en(t){let e=Date.UTC(t.year,t.month-1,t.day,t.hour,t.minute,t.second,t.millisecond);return t.year<100&&t.year>=0&&(e=new Date(e),e.setUTCFullYear(t.year,t.month-1,t.day)),+e}function aa(t,e,r){return-gi(mi(t,1,e),r)+e-1}function ar(t,e=4,r=1){let n=aa(t,e,r),i=aa(t+1,e,r);return($t(t)-n+i)/7}function Gn(t){return t>99?t:t>K.twoDigitCutoffYear?1900+t:2e3+t}function as(t,e,r,n=null){let i=new Date(t),a={hourCycle:"h23",year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit"};n&&(a.timeZone=n);let s={timeZoneName:e,...a},o=new Intl.DateTimeFormat(r,s).formatToParts(i).find(u=>u.type.toLowerCase()==="timezonename");return o?o.value:null}function tn(t,e){let r=parseInt(t,10);Number.isNaN(r)&&(r=0);let n=parseInt(e,10)||0,i=r<0||Object.is(r,-0)?-n:n;return r*60+i}function os(t){let e=Number(t);if(typeof t=="boolean"||t===""||!Number.isFinite(e))throw new oe(`Invalid unit value ${t}`);return e}function Rr(t,e){let r={};for(let n in t)if(St(t,n)){let i=t[n];if(i==null)continue;r[e(n)]=os(i)}return r}function nr(t,e){let r=Math.trunc(Math.abs(t/60)),n=Math.trunc(Math.abs(t%60)),i=t>=0?"+":"-";switch(e){case"short":return`${i}${ne(r,2)}:${ne(n,2)}`;case"narrow":return`${i}${r}${n>0?`:${n}`:""}`;case"techie":return`${i}${ne(r,2)}${ne(n,2)}`;default:throw new RangeError(`Value format ${e} is out of range for property format`)}}function rn(t){return E0(t,["hour","minute","second","millisecond"])}var _0=["January","February","March","April","May","June","July","August","September","October","November","December"],ss=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],A0=["J","F","M","A","M","J","J","A","S","O","N","D"];function us(t){switch(t){case"narrow":return[...A0];case"short":return[...ss];case"long":return[..._0];case"numeric":return["1","2","3","4","5","6","7","8","9","10","11","12"];case"2-digit":return["01","02","03","04","05","06","07","08","09","10","11","12"];default:return null}}var ls=["Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday"],cs=["Mon","Tue","Wed","Thu","Fri","Sat","Sun"],C0=["M","T","W","T","F","S","S"];function ds(t){switch(t){case"narrow":return[...C0];case"short":return[...cs];case"long":return[...ls];case"numeric":return["1","2","3","4","5","6","7"];default:return null}}var hs=["AM","PM"],D0=["Before Christ","Anno Domini"],O0=["BC","AD"],B0=["B","A"];function ps(t){switch(t){case"narrow":return[...B0];case"short":return[...O0];case"long":return[...D0];default:return null}}function F0(t){return hs[t.hour<12?0:1]}function M0(t,e){return ds(e)[t.weekday-1]}function N0(t,e){return us(e)[t.month-1]}function L0(t,e){return ps(e)[t.year<0?0:1]}function P0(t,e,r="always",n=!1){let i={years:["year","yr."],quarters:["quarter","qtr."],months:["month","mo."],weeks:["week","wk."],days:["day","day","days"],hours:["hour","hr."],minutes:["minute","min."],seconds:["second","sec."]},a=["hours","minutes","seconds"].indexOf(t)===-1;if(r==="auto"&&a){let h=t==="days";switch(e){case 1:return h?"tomorrow":`next ${i[t][0]}`;case-1:return h?"yesterday":`last ${i[t][0]}`;case 0:return h?"today":`this ${i[t][0]}`}}let s=Object.is(e,-0)||e<0,o=Math.abs(e),u=o===1,c=i[t],d=n?u?c[1]:c[2]||c[1]:u?i[t][0]:t;return s?`${o} ${d} ago`:`in ${o} ${d}`}function oa(t,e){let r="";for(let n of t)n.literal?r+=n.val:r+=e(n.val);return r}var z0={D:Tr,DD:Co,DDD:Do,DDDD:Oo,t:Bo,tt:Fo,ttt:Mo,tttt:No,T:Lo,TT:Po,TTT:zo,TTTT:To,f:jo,ff:Ro,fff:qo,ffff:Wo,F:Io,FF:Vo,FFF:Uo,FFFF:Ho},Be=class Kt{static create(e,r={}){return new Kt(e,r)}static parseFormat(e){let r=null,n="",i=!1,a=[];for(let s=0;s<e.length;s++){let o=e.charAt(s);o==="'"?((n.length>0||i)&&a.push({literal:i||/^\s+$/.test(n),val:n===""?"'":n}),r=null,n="",i=!i):i||o===r?n+=o:(n.length>0&&a.push({literal:/^\s+$/.test(n),val:n}),n=o,r=o)}return n.length>0&&a.push({literal:i||/^\s+$/.test(n),val:n}),a}static macroTokenToFormatOpts(e){return z0[e]}constructor(e,r){this.opts=r,this.loc=e,this.systemLoc=null}formatWithSystemDefault(e,r){return this.systemLoc===null&&(this.systemLoc=this.loc.redefaultToSystem()),this.systemLoc.dtFormatter(e,{...this.opts,...r}).format()}dtFormatter(e,r={}){return this.loc.dtFormatter(e,{...this.opts,...r})}formatDateTime(e,r){return this.dtFormatter(e,r).format()}formatDateTimeParts(e,r){return this.dtFormatter(e,r).formatToParts()}formatInterval(e,r){return this.dtFormatter(e.start,r).dtf.formatRange(e.start.toJSDate(),e.end.toJSDate())}resolvedOptions(e,r){return this.dtFormatter(e,r).resolvedOptions()}num(e,r=0,n=void 0){if(this.opts.forceSimple)return ne(e,r);let i={...this.opts};return r>0&&(i.padTo=r),n&&(i.signDisplay=n),this.loc.numberFormatter(i).format(e)}formatDateTimeFromString(e,r){let n=this.loc.listingMode()==="en",i=this.loc.outputCalendar&&this.loc.outputCalendar!=="gregory",a=(l,m)=>this.loc.extract(e,l,m),s=l=>e.isOffsetFixed&&e.offset===0&&l.allowZ?"Z":e.isValid?e.zone.formatOffset(e.ts,l.format):"",o=()=>n?F0(e):a({hour:"numeric",hourCycle:"h12"},"dayperiod"),u=(l,m)=>n?N0(e,l):a(m?{month:l}:{month:l,day:"numeric"},"month"),c=(l,m)=>n?M0(e,l):a(m?{weekday:l}:{weekday:l,month:"long",day:"numeric"},"weekday"),d=l=>{let m=Kt.macroTokenToFormatOpts(l);return m?this.formatWithSystemDefault(e,m):l},h=l=>n?L0(e,l):a({era:l},"era"),p=l=>{switch(l){case"S":return this.num(e.millisecond);case"u":case"SSS":return this.num(e.millisecond,3);case"s":return this.num(e.second);case"ss":return this.num(e.second,2);case"uu":return this.num(Math.floor(e.millisecond/10),2);case"uuu":return this.num(Math.floor(e.millisecond/100));case"m":return this.num(e.minute);case"mm":return this.num(e.minute,2);case"h":return this.num(e.hour%12===0?12:e.hour%12);case"hh":return this.num(e.hour%12===0?12:e.hour%12,2);case"H":return this.num(e.hour);case"HH":return this.num(e.hour,2);case"Z":return s({format:"narrow",allowZ:this.opts.allowZ});case"ZZ":return s({format:"short",allowZ:this.opts.allowZ});case"ZZZ":return s({format:"techie",allowZ:this.opts.allowZ});case"ZZZZ":return e.zone.offsetName(e.ts,{format:"short",locale:this.loc.locale});case"ZZZZZ":return e.zone.offsetName(e.ts,{format:"long",locale:this.loc.locale});case"z":return e.zoneName;case"a":return o();case"d":return i?a({day:"numeric"},"day"):this.num(e.day);case"dd":return i?a({day:"2-digit"},"day"):this.num(e.day,2);case"c":return this.num(e.weekday);case"ccc":return c("short",!0);case"cccc":return c("long",!0);case"ccccc":return c("narrow",!0);case"E":return this.num(e.weekday);case"EEE":return c("short",!1);case"EEEE":return c("long",!1);case"EEEEE":return c("narrow",!1);case"L":return i?a({month:"numeric",day:"numeric"},"month"):this.num(e.month);case"LL":return i?a({month:"2-digit",day:"numeric"},"month"):this.num(e.month,2);case"LLL":return u("short",!0);case"LLLL":return u("long",!0);case"LLLLL":return u("narrow",!0);case"M":return i?a({month:"numeric"},"month"):this.num(e.month);case"MM":return i?a({month:"2-digit"},"month"):this.num(e.month,2);case"MMM":return u("short",!1);case"MMMM":return u("long",!1);case"MMMMM":return u("narrow",!1);case"y":return i?a({year:"numeric"},"year"):this.num(e.year);case"yy":return i?a({year:"2-digit"},"year"):this.num(e.year.toString().slice(-2),2);case"yyyy":return i?a({year:"numeric"},"year"):this.num(e.year,4);case"yyyyyy":return i?a({year:"numeric"},"year"):this.num(e.year,6);case"G":return h("short");case"GG":return h("long");case"GGGGG":return h("narrow");case"kk":return this.num(e.weekYear.toString().slice(-2),2);case"kkkk":return this.num(e.weekYear,4);case"W":return this.num(e.weekNumber);case"WW":return this.num(e.weekNumber,2);case"n":return this.num(e.localWeekNumber);case"nn":return this.num(e.localWeekNumber,2);case"ii":return this.num(e.localWeekYear.toString().slice(-2),2);case"iiii":return this.num(e.localWeekYear,4);case"o":return this.num(e.ordinal);case"ooo":return this.num(e.ordinal,3);case"q":return this.num(e.quarter);case"qq":return this.num(e.quarter,2);case"X":return this.num(Math.floor(e.ts/1e3));case"x":return this.num(e.ts);default:return d(l)}};return oa(Kt.parseFormat(r),p)}formatDurationFromString(e,r){let n=this.opts.signMode==="negativeLargestOnly"?-1:1,i=d=>{switch(d[0]){case"S":return"milliseconds";case"s":return"seconds";case"m":return"minutes";case"h":return"hours";case"d":return"days";case"w":return"weeks";case"M":return"months";case"y":return"years";default:return null}},a=(d,h)=>p=>{let l=i(p);if(l){let m=h.isNegativeDuration&&l!==h.largestUnit?n:1,f;return this.opts.signMode==="negativeLargestOnly"&&l!==h.largestUnit?f="never":this.opts.signMode==="all"?f="always":f="auto",this.num(d.get(l)*m,p.length,f)}else return p},s=Kt.parseFormat(r),o=s.reduce((d,{literal:h,val:p})=>h?d:d.concat(p),[]),u=e.shiftTo(...o.map(i).filter(d=>d)),c={isNegativeDuration:u<0,largestUnit:Object.keys(u.values)[0]};return oa(s,a(u,c))}},fs=/[A-Za-z_+-]{1,256}(?::?\/[A-Za-z0-9_+-]{1,256}(?:\/[A-Za-z0-9_+-]{1,256})?)?/;function Ft(...t){let e=t.reduce((r,n)=>r+n.source,"");return RegExp(`^${e}$`)}function Mt(...t){return e=>t.reduce(([r,n,i],a)=>{let[s,o,u]=a(e,i);return[{...r,...s},o||n,u]},[{},null,1]).slice(0,2)}function Nt(t,...e){if(t==null)return[null,null];for(let[r,n]of e){let i=r.exec(t);if(i)return n(i)}return[null,null]}function ms(...t){return(e,r)=>{let n={},i;for(i=0;i<t.length;i++)n[t[i]]=Qe(e[r+i]);return[n,null,r+i]}}var gs=/(?:([Zz])|([+-]\d\d)(?::?(\d\d))?)/,T0=`(?:${gs.source}?(?:\\[(${fs.source})\\])?)?`,vi=/(\d\d)(?::?(\d\d)(?::?(\d\d)(?:[.,](\d{1,30}))?)?)?/,bs=RegExp(`${vi.source}${T0}`),ki=RegExp(`(?:[Tt]${bs.source})?`),j0=/([+-]\d{6}|\d{4})(?:-?(\d\d)(?:-?(\d\d))?)?/,I0=/(\d{4})-?W(\d\d)(?:-?(\d))?/,R0=/(\d{4})-?(\d{3})/,V0=ms("weekYear","weekNumber","weekDay"),q0=ms("year","ordinal"),U0=/(\d{4})-(\d\d)-(\d\d)/,ys=RegExp(`${vi.source} ?(?:${gs.source}|(${fs.source}))?`),W0=RegExp(`(?: ${ys.source})?`);function Et(t,e,r){let n=t[e];return z(n)?r:Qe(n)}function H0(t,e){return[{year:Et(t,e),month:Et(t,e+1,1),day:Et(t,e+2,1)},null,e+3]}function Lt(t,e){return[{hours:Et(t,e,0),minutes:Et(t,e+1,0),seconds:Et(t,e+2,0),milliseconds:bi(t[e+3])},null,e+4]}function mr(t,e){let r=!t[e]&&!t[e+1],n=tn(t[e+1],t[e+2]),i=r?null:Ie.instance(n);return[{},i,e+3]}function gr(t,e){let r=t[e]?Bt.create(t[e]):null;return[{},r,e+1]}var Z0=RegExp(`^T?${vi.source}$`),G0=/^-?P(?:(?:(-?\d{1,20}(?:\.\d{1,20})?)Y)?(?:(-?\d{1,20}(?:\.\d{1,20})?)M)?(?:(-?\d{1,20}(?:\.\d{1,20})?)W)?(?:(-?\d{1,20}(?:\.\d{1,20})?)D)?(?:T(?:(-?\d{1,20}(?:\.\d{1,20})?)H)?(?:(-?\d{1,20}(?:\.\d{1,20})?)M)?(?:(-?\d{1,20})(?:[.,](-?\d{1,20}))?S)?)?)$/;function Y0(t){let[e,r,n,i,a,s,o,u,c]=t,d=e[0]==="-",h=u&&u[0]==="-",p=(l,m=!1)=>l!==void 0&&(m||l&&d)?-l:l;return[{years:p(at(r)),months:p(at(n)),weeks:p(at(i)),days:p(at(a)),hours:p(at(s)),minutes:p(at(o)),seconds:p(at(u),u==="-0"),milliseconds:p(bi(c),h)}]}var J0={GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function xi(t,e,r,n,i,a,s){let o={year:e.length===2?Gn(Qe(e)):Qe(e),month:ss.indexOf(r)+1,day:Qe(n),hour:Qe(i),minute:Qe(a)};return s&&(o.second=Qe(s)),t&&(o.weekday=t.length>3?ls.indexOf(t)+1:cs.indexOf(t)+1),o}var K0=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|(?:([+-]\d\d)(\d\d)))$/;function X0(t){let[,e,r,n,i,a,s,o,u,c,d,h]=t,p=xi(e,i,n,r,a,s,o),l;return u?l=J0[u]:c?l=0:l=tn(d,h),[p,new Ie(l)]}function Q0(t){return t.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").trim()}var ec=/^(Mon|Tue|Wed|Thu|Fri|Sat|Sun), (\d\d) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) (\d{4}) (\d\d):(\d\d):(\d\d) GMT$/,tc=/^(Monday|Tuesday|Wednesday|Thursday|Friday|Saturday|Sunday), (\d\d)-(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)-(\d\d) (\d\d):(\d\d):(\d\d) GMT$/,rc=/^(Mon|Tue|Wed|Thu|Fri|Sat|Sun) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) ( \d|\d\d) (\d\d):(\d\d):(\d\d) (\d{4})$/;function sa(t){let[,e,r,n,i,a,s,o]=t;return[xi(e,i,n,r,a,s,o),Ie.utcInstance]}function nc(t){let[,e,r,n,i,a,s,o]=t;return[xi(e,o,r,n,i,a,s),Ie.utcInstance]}var ic=Ft(j0,ki),ac=Ft(I0,ki),oc=Ft(R0,ki),sc=Ft(bs),vs=Mt(H0,Lt,mr,gr),uc=Mt(V0,Lt,mr,gr),lc=Mt(q0,Lt,mr,gr),cc=Mt(Lt,mr,gr);function dc(t){return Nt(t,[ic,vs],[ac,uc],[oc,lc],[sc,cc])}function hc(t){return Nt(Q0(t),[K0,X0])}function pc(t){return Nt(t,[ec,sa],[tc,sa],[rc,nc])}function fc(t){return Nt(t,[G0,Y0])}var mc=Mt(Lt);function gc(t){return Nt(t,[Z0,mc])}var bc=Ft(U0,W0),yc=Ft(ys),vc=Mt(Lt,mr,gr);function kc(t){return Nt(t,[bc,vs],[yc,vc])}var ua="Invalid Duration",ks={weeks:{days:7,hours:168,minutes:10080,seconds:10080*60,milliseconds:10080*60*1e3},days:{hours:24,minutes:1440,seconds:1440*60,milliseconds:1440*60*1e3},hours:{minutes:60,seconds:3600,milliseconds:3600*1e3},minutes:{seconds:60,milliseconds:60*1e3},seconds:{milliseconds:1e3}},xc={years:{quarters:4,months:12,weeks:52,days:365,hours:365*24,minutes:365*24*60,seconds:365*24*60*60,milliseconds:365*24*60*60*1e3},quarters:{months:3,weeks:13,days:91,hours:2184,minutes:2184*60,seconds:2184*60*60,milliseconds:2184*60*60*1e3},months:{weeks:4,days:30,hours:720,minutes:720*60,seconds:720*60*60,milliseconds:720*60*60*1e3},...ks},ye=146097/400,ft=146097/4800,wc={years:{quarters:4,months:12,weeks:ye/7,days:ye,hours:ye*24,minutes:ye*24*60,seconds:ye*24*60*60,milliseconds:ye*24*60*60*1e3},quarters:{months:3,weeks:ye/28,days:ye/4,hours:ye*24/4,minutes:ye*24*60/4,seconds:ye*24*60*60/4,milliseconds:ye*24*60*60*1e3/4},months:{weeks:ft/7,days:ft,hours:ft*24,minutes:ft*24*60,seconds:ft*24*60*60,milliseconds:ft*24*60*60*1e3},...ks},st=["years","quarters","months","weeks","days","hours","minutes","seconds","milliseconds"],$c=st.slice(0).reverse();function Ue(t,e,r=!1){let n={values:r?e.values:{...t.values,...e.values||{}},loc:t.loc.clone(e.loc),conversionAccuracy:e.conversionAccuracy||t.conversionAccuracy,matrix:e.matrix||t.matrix};return new se(n)}function xs(t,e){let r=e.milliseconds??0;for(let n of $c.slice(1))e[n]&&(r+=e[n]*t[n].milliseconds);return r}function la(t,e){let r=xs(t,e)<0?-1:1;st.reduceRight((n,i)=>{if(z(e[i]))return n;if(n){let a=e[n]*r,s=t[i][n],o=Math.floor(a/s);e[i]+=o*r,e[n]-=o*s*r}return i},null),st.reduce((n,i)=>{if(z(e[i]))return n;if(n){let a=e[n]%1;e[n]-=a,e[i]+=a*t[n][i]}return i},null)}function ca(t){let e={};for(let[r,n]of Object.entries(t))n!==0&&(e[r]=n);return e}var se=class ae{constructor(e){let r=e.conversionAccuracy==="longterm"||!1,n=r?wc:xc;e.matrix&&(n=e.matrix),this.values=e.values,this.loc=e.loc||W.create(),this.conversionAccuracy=r?"longterm":"casual",this.invalid=e.invalid||null,this.matrix=n,this.isLuxonDuration=!0}static fromMillis(e,r){return ae.fromObject({milliseconds:e},r)}static fromObject(e,r={}){if(e==null||typeof e!="object")throw new oe(`Duration.fromObject: argument expected to be an object, got ${e===null?"null":typeof e}`);return new ae({values:Rr(e,ae.normalizeUnit),loc:W.fromObject(r),conversionAccuracy:r.conversionAccuracy,matrix:r.matrix})}static fromDurationLike(e){if(tt(e))return ae.fromMillis(e);if(ae.isDuration(e))return e;if(typeof e=="object")return ae.fromObject(e);throw new oe(`Unknown duration argument ${e} of type ${typeof e}`)}static fromISO(e,r){let[n]=fc(e);return n?ae.fromObject(n,r):ae.invalid("unparsable",`the input "${e}" can't be parsed as ISO 8601`)}static fromISOTime(e,r){let[n]=gc(e);return n?ae.fromObject(n,r):ae.invalid("unparsable",`the input "${e}" can't be parsed as ISO 8601`)}static invalid(e,r=null){if(!e)throw new oe("need to specify a reason the Duration is invalid");let n=e instanceof Fe?e:new Fe(e,r);if(K.throwOnInvalid)throw new Yl(n);return new ae({invalid:n})}static normalizeUnit(e){let r={year:"years",years:"years",quarter:"quarters",quarters:"quarters",month:"months",months:"months",week:"weeks",weeks:"weeks",day:"days",days:"days",hour:"hours",hours:"hours",minute:"minutes",minutes:"minutes",second:"seconds",seconds:"seconds",millisecond:"milliseconds",milliseconds:"milliseconds"}[e&&e.toLowerCase()];if(!r)throw new Ao(e);return r}static isDuration(e){return e&&e.isLuxonDuration||!1}get locale(){return this.isValid?this.loc.locale:null}get numberingSystem(){return this.isValid?this.loc.numberingSystem:null}toFormat(e,r={}){let n={...r,floor:r.round!==!1&&r.floor!==!1};return this.isValid?Be.create(this.loc,n).formatDurationFromString(this,e):ua}toHuman(e={}){if(!this.isValid)return ua;let r=e.showZeros!==!1,n=st.map(i=>{let a=this.values[i];return z(a)||a===0&&!r?null:this.loc.numberFormatter({style:"unit",unitDisplay:"long",...e,unit:i.slice(0,-1)}).format(a)}).filter(i=>i);return this.loc.listFormatter({type:"conjunction",style:e.listStyle||"narrow",...e}).format(n)}toObject(){return this.isValid?{...this.values}:{}}toISO(){if(!this.isValid)return null;let e="P";return this.years!==0&&(e+=this.years+"Y"),(this.months!==0||this.quarters!==0)&&(e+=this.months+this.quarters*3+"M"),this.weeks!==0&&(e+=this.weeks+"W"),this.days!==0&&(e+=this.days+"D"),(this.hours!==0||this.minutes!==0||this.seconds!==0||this.milliseconds!==0)&&(e+="T"),this.hours!==0&&(e+=this.hours+"H"),this.minutes!==0&&(e+=this.minutes+"M"),(this.seconds!==0||this.milliseconds!==0)&&(e+=yi(this.seconds+this.milliseconds/1e3,3)+"S"),e==="P"&&(e+="T0S"),e}toISOTime(e={}){if(!this.isValid)return null;let r=this.toMillis();return r<0||r>=864e5?null:(e={suppressMilliseconds:!1,suppressSeconds:!1,includePrefix:!1,format:"extended",...e,includeOffset:!1},Z.fromMillis(r,{zone:"UTC"}).toISOTime(e))}toJSON(){return this.toISO()}toString(){return this.toISO()}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`Duration { values: ${JSON.stringify(this.values)} }`:`Duration { Invalid, reason: ${this.invalidReason} }`}toMillis(){return this.isValid?xs(this.matrix,this.values):NaN}valueOf(){return this.toMillis()}plus(e){if(!this.isValid)return this;let r=ae.fromDurationLike(e),n={};for(let i of st)(St(r.values,i)||St(this.values,i))&&(n[i]=r.get(i)+this.get(i));return Ue(this,{values:n},!0)}minus(e){if(!this.isValid)return this;let r=ae.fromDurationLike(e);return this.plus(r.negate())}mapUnits(e){if(!this.isValid)return this;let r={};for(let n of Object.keys(this.values))r[n]=os(e(this.values[n],n));return Ue(this,{values:r},!0)}get(e){return this[ae.normalizeUnit(e)]}set(e){if(!this.isValid)return this;let r={...this.values,...Rr(e,ae.normalizeUnit)};return Ue(this,{values:r})}reconfigure({locale:e,numberingSystem:r,conversionAccuracy:n,matrix:i}={}){let a={loc:this.loc.clone({locale:e,numberingSystem:r}),matrix:i,conversionAccuracy:n};return Ue(this,a)}as(e){return this.isValid?this.shiftTo(e).get(e):NaN}normalize(){if(!this.isValid)return this;let e=this.toObject();return la(this.matrix,e),Ue(this,{values:e},!0)}rescale(){if(!this.isValid)return this;let e=ca(this.normalize().shiftToAll().toObject());return Ue(this,{values:e},!0)}shiftTo(...e){if(!this.isValid)return this;if(e.length===0)return this;e=e.map(s=>ae.normalizeUnit(s));let r={},n={},i=this.toObject(),a;for(let s of st)if(e.indexOf(s)>=0){a=s;let o=0;for(let c in n)o+=this.matrix[c][s]*n[c],n[c]=0;tt(i[s])&&(o+=i[s]);let u=Math.trunc(o);r[s]=u,n[s]=(o*1e3-u*1e3)/1e3}else tt(i[s])&&(n[s]=i[s]);for(let s in n)n[s]!==0&&(r[a]+=s===a?n[s]:n[s]/this.matrix[a][s]);return la(this.matrix,r),Ue(this,{values:r},!0)}shiftToAll(){return this.isValid?this.shiftTo("years","months","weeks","days","hours","minutes","seconds","milliseconds"):this}negate(){if(!this.isValid)return this;let e={};for(let r of Object.keys(this.values))e[r]=this.values[r]===0?0:-this.values[r];return Ue(this,{values:e},!0)}removeZeros(){if(!this.isValid)return this;let e=ca(this.values);return Ue(this,{values:e},!0)}get years(){return this.isValid?this.values.years||0:NaN}get quarters(){return this.isValid?this.values.quarters||0:NaN}get months(){return this.isValid?this.values.months||0:NaN}get weeks(){return this.isValid?this.values.weeks||0:NaN}get days(){return this.isValid?this.values.days||0:NaN}get hours(){return this.isValid?this.values.hours||0:NaN}get minutes(){return this.isValid?this.values.minutes||0:NaN}get seconds(){return this.isValid?this.values.seconds||0:NaN}get milliseconds(){return this.isValid?this.values.milliseconds||0:NaN}get isValid(){return this.invalid===null}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}equals(e){if(!this.isValid||!e.isValid||!this.loc.equals(e.loc))return!1;function r(n,i){return n===void 0||n===0?i===void 0||i===0:n===i}for(let n of st)if(!r(this.values[n],e.values[n]))return!1;return!0}},mt="Invalid Interval";function Ec(t,e){return!t||!t.isValid?Fr.invalid("missing or invalid start"):!e||!e.isValid?Fr.invalid("missing or invalid end"):e<t?Fr.invalid("end before start",`The end of an interval must be after its start, but you had start=${t.toISO()} and end=${e.toISO()}`):null}var Fr=class ie{constructor(e){this.s=e.start,this.e=e.end,this.invalid=e.invalid||null,this.isLuxonInterval=!0}static invalid(e,r=null){if(!e)throw new oe("need to specify a reason the Interval is invalid");let n=e instanceof Fe?e:new Fe(e,r);if(K.throwOnInvalid)throw new Gl(n);return new ie({invalid:n})}static fromDateTimes(e,r){let n=It(e),i=It(r);return Ec(n,i)??new ie({start:n,end:i})}static after(e,r){let n=se.fromDurationLike(r),i=It(e);return ie.fromDateTimes(i,i.plus(n))}static before(e,r){let n=se.fromDurationLike(r),i=It(e);return ie.fromDateTimes(i.minus(n),i)}static fromISO(e,r){let[n,i]=(e||"").split("/",2);if(n&&i){let a,s;try{a=Z.fromISO(n,r),s=a.isValid}catch{s=!1}let o,u;try{o=Z.fromISO(i,r),u=o.isValid}catch{u=!1}if(s&&u)return ie.fromDateTimes(a,o);if(s){let c=se.fromISO(i,r);if(c.isValid)return ie.after(a,c)}else if(u){let c=se.fromISO(n,r);if(c.isValid)return ie.before(o,c)}}return ie.invalid("unparsable",`the input "${e}" can't be parsed as ISO 8601`)}static isInterval(e){return e&&e.isLuxonInterval||!1}get start(){return this.isValid?this.s:null}get end(){return this.isValid?this.e:null}get lastDateTime(){return this.isValid&&this.e?this.e.minus(1):null}get isValid(){return this.invalidReason===null}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}length(e="milliseconds"){return this.isValid?this.toDuration(e).get(e):NaN}count(e="milliseconds",r){if(!this.isValid)return NaN;let n=this.start.startOf(e,r),i;return r?.useLocaleWeeks?i=this.end.reconfigure({locale:n.locale}):i=this.end,i=i.startOf(e,r),Math.floor(i.diff(n,e).get(e))+(i.valueOf()!==this.end.valueOf())}hasSame(e){return this.isValid?this.isEmpty()||this.e.minus(1).hasSame(this.s,e):!1}isEmpty(){return this.s.valueOf()===this.e.valueOf()}isAfter(e){return this.isValid?this.s>e:!1}isBefore(e){return this.isValid?this.e<=e:!1}contains(e){return this.isValid?this.s<=e&&this.e>e:!1}set({start:e,end:r}={}){return this.isValid?ie.fromDateTimes(e||this.s,r||this.e):this}splitAt(...e){if(!this.isValid)return[];let r=e.map(It).filter(s=>this.contains(s)).sort((s,o)=>s.toMillis()-o.toMillis()),n=[],{s:i}=this,a=0;for(;i<this.e;){let s=r[a]||this.e,o=+s>+this.e?this.e:s;n.push(ie.fromDateTimes(i,o)),i=o,a+=1}return n}splitBy(e){let r=se.fromDurationLike(e);if(!this.isValid||!r.isValid||r.as("milliseconds")===0)return[];let{s:n}=this,i=1,a,s=[];for(;n<this.e;){let o=this.start.plus(r.mapUnits(u=>u*i));a=+o>+this.e?this.e:o,s.push(ie.fromDateTimes(n,a)),n=a,i+=1}return s}divideEqually(e){return this.isValid?this.splitBy(this.length()/e).slice(0,e):[]}overlaps(e){return this.e>e.s&&this.s<e.e}abutsStart(e){return this.isValid?+this.e==+e.s:!1}abutsEnd(e){return this.isValid?+e.e==+this.s:!1}engulfs(e){return this.isValid?this.s<=e.s&&this.e>=e.e:!1}equals(e){return!this.isValid||!e.isValid?!1:this.s.equals(e.s)&&this.e.equals(e.e)}intersection(e){if(!this.isValid)return this;let r=this.s>e.s?this.s:e.s,n=this.e<e.e?this.e:e.e;return r>=n?null:ie.fromDateTimes(r,n)}union(e){if(!this.isValid)return this;let r=this.s<e.s?this.s:e.s,n=this.e>e.e?this.e:e.e;return ie.fromDateTimes(r,n)}static merge(e){let[r,n]=e.sort((i,a)=>i.s-a.s).reduce(([i,a],s)=>a?a.overlaps(s)||a.abutsStart(s)?[i,a.union(s)]:[i.concat([a]),s]:[i,s],[[],null]);return n&&r.push(n),r}static xor(e){let r=null,n=0,i=[],a=e.map(u=>[{time:u.s,type:"s"},{time:u.e,type:"e"}]),s=Array.prototype.concat(...a),o=s.sort((u,c)=>u.time-c.time);for(let u of o)n+=u.type==="s"?1:-1,n===1?r=u.time:(r&&+r!=+u.time&&i.push(ie.fromDateTimes(r,u.time)),r=null);return ie.merge(i)}difference(...e){return ie.xor([this].concat(e)).map(r=>this.intersection(r)).filter(r=>r&&!r.isEmpty())}toString(){return this.isValid?`[${this.s.toISO()} \u2013 ${this.e.toISO()})`:mt}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`Interval { start: ${this.s.toISO()}, end: ${this.e.toISO()} }`:`Interval { Invalid, reason: ${this.invalidReason} }`}toLocaleString(e=Tr,r={}){return this.isValid?Be.create(this.s.loc.clone(r),e).formatInterval(this):mt}toISO(e){return this.isValid?`${this.s.toISO(e)}/${this.e.toISO(e)}`:mt}toISODate(){return this.isValid?`${this.s.toISODate()}/${this.e.toISODate()}`:mt}toISOTime(e){return this.isValid?`${this.s.toISOTime(e)}/${this.e.toISOTime(e)}`:mt}toFormat(e,{separator:r=" \u2013 "}={}){return this.isValid?`${this.s.toFormat(e)}${r}${this.e.toFormat(e)}`:mt}toDuration(e,r){return this.isValid?this.e.diff(this.s,e,r):se.invalid(this.invalidReason)}mapEndpoints(e){return ie.fromDateTimes(e(this.s),e(this.e))}},wr=class{static hasDST(t=K.defaultZone){let e=Z.now().setZone(t).set({month:12});return!t.isUniversal&&e.offset!==e.set({month:6}).offset}static isValidIANAZone(t){return Bt.isValidZone(t)}static normalizeZone(t){return et(t,K.defaultZone)}static getStartOfWeek({locale:t=null,locObj:e=null}={}){return(e||W.create(t)).getStartOfWeek()}static getMinimumDaysInFirstWeek({locale:t=null,locObj:e=null}={}){return(e||W.create(t)).getMinDaysInFirstWeek()}static getWeekendWeekdays({locale:t=null,locObj:e=null}={}){return(e||W.create(t)).getWeekendDays().slice()}static months(t="long",{locale:e=null,numberingSystem:r=null,locObj:n=null,outputCalendar:i="gregory"}={}){return(n||W.create(e,r,i)).months(t)}static monthsFormat(t="long",{locale:e=null,numberingSystem:r=null,locObj:n=null,outputCalendar:i="gregory"}={}){return(n||W.create(e,r,i)).months(t,!0)}static weekdays(t="long",{locale:e=null,numberingSystem:r=null,locObj:n=null}={}){return(n||W.create(e,r,null)).weekdays(t)}static weekdaysFormat(t="long",{locale:e=null,numberingSystem:r=null,locObj:n=null}={}){return(n||W.create(e,r,null)).weekdays(t,!0)}static meridiems({locale:t=null}={}){return W.create(t).meridiems()}static eras(t="short",{locale:e=null}={}){return W.create(e,null,"gregory").eras(t)}static features(){return{relative:ns(),localeWeek:is()}}};function da(t,e){let r=i=>i.toUTC(0,{keepLocalTime:!0}).startOf("day").valueOf(),n=r(e)-r(t);return Math.floor(se.fromMillis(n).as("days"))}function Sc(t,e,r){let n=[["years",(u,c)=>c.year-u.year],["quarters",(u,c)=>c.quarter-u.quarter+(c.year-u.year)*4],["months",(u,c)=>c.month-u.month+(c.year-u.year)*12],["weeks",(u,c)=>{let d=da(u,c);return(d-d%7)/7}],["days",da]],i={},a=t,s,o;for(let[u,c]of n)r.indexOf(u)>=0&&(s=u,i[u]=c(t,e),o=a.plus(i),o>e?(i[u]--,t=a.plus(i),t>e&&(o=t,i[u]--,t=a.plus(i))):t=o);return[t,i,o,s]}function _c(t,e,r,n){let[i,a,s,o]=Sc(t,e,r),u=e-i,c=r.filter(h=>["hours","minutes","seconds","milliseconds"].indexOf(h)>=0);c.length===0&&(s<e&&(s=i.plus({[o]:1})),s!==i&&(a[o]=(a[o]||0)+u/(s-i)));let d=se.fromObject(a,n);return c.length>0?se.fromMillis(u,n).shiftTo(...c).plus(d):d}var Ac="missing Intl.DateTimeFormat.formatToParts support";function q(t,e=r=>r){return{regex:t,deser:([r])=>e(b0(r))}}var Cc="\xA0",ws=`[ ${Cc}]`,$s=new RegExp(ws,"g");function Dc(t){return t.replace(/\./g,"\\.?").replace($s,ws)}function ha(t){return t.replace(/\./g,"").replace($s," ").toLowerCase()}function De(t,e){return t===null?null:{regex:RegExp(t.map(Dc).join("|")),deser:([r])=>t.findIndex(n=>ha(r)===ha(n))+e}}function pa(t,e){return{regex:t,deser:([,r,n])=>tn(r,n),groups:e}}function $r(t){return{regex:t,deser:([e])=>e}}function Oc(t){return t.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&")}function Bc(t,e){let r=Ce(e),n=Ce(e,"{2}"),i=Ce(e,"{3}"),a=Ce(e,"{4}"),s=Ce(e,"{6}"),o=Ce(e,"{1,2}"),u=Ce(e,"{1,3}"),c=Ce(e,"{1,6}"),d=Ce(e,"{1,9}"),h=Ce(e,"{2,4}"),p=Ce(e,"{4,6}"),l=f=>({regex:RegExp(Oc(f.val)),deser:([b])=>b,literal:!0}),m=(f=>{if(t.literal)return l(f);switch(f.val){case"G":return De(e.eras("short"),0);case"GG":return De(e.eras("long"),0);case"y":return q(c);case"yy":return q(h,Gn);case"yyyy":return q(a);case"yyyyy":return q(p);case"yyyyyy":return q(s);case"M":return q(o);case"MM":return q(n);case"MMM":return De(e.months("short",!0),1);case"MMMM":return De(e.months("long",!0),1);case"L":return q(o);case"LL":return q(n);case"LLL":return De(e.months("short",!1),1);case"LLLL":return De(e.months("long",!1),1);case"d":return q(o);case"dd":return q(n);case"o":return q(u);case"ooo":return q(i);case"HH":return q(n);case"H":return q(o);case"hh":return q(n);case"h":return q(o);case"mm":return q(n);case"m":return q(o);case"q":return q(o);case"qq":return q(n);case"s":return q(o);case"ss":return q(n);case"S":return q(u);case"SSS":return q(i);case"u":return $r(d);case"uu":return $r(o);case"uuu":return q(r);case"a":return De(e.meridiems(),0);case"kkkk":return q(a);case"kk":return q(h,Gn);case"W":return q(o);case"WW":return q(n);case"E":case"c":return q(r);case"EEE":return De(e.weekdays("short",!1),1);case"EEEE":return De(e.weekdays("long",!1),1);case"ccc":return De(e.weekdays("short",!0),1);case"cccc":return De(e.weekdays("long",!0),1);case"Z":case"ZZ":return pa(new RegExp(`([+-]${o.source})(?::(${n.source}))?`),2);case"ZZZ":return pa(new RegExp(`([+-]${o.source})(${n.source})?`),2);case"z":return $r(/[a-z_+-/]{1,256}?/i);case" ":return $r(/[^\S\n\r]/);default:return l(f)}})(t)||{invalidReason:Ac};return m.token=t,m}var Fc={year:{"2-digit":"yy",numeric:"yyyyy"},month:{numeric:"M","2-digit":"MM",short:"MMM",long:"MMMM"},day:{numeric:"d","2-digit":"dd"},weekday:{short:"EEE",long:"EEEE"},dayperiod:"a",dayPeriod:"a",hour12:{numeric:"h","2-digit":"hh"},hour24:{numeric:"H","2-digit":"HH"},minute:{numeric:"m","2-digit":"mm"},second:{numeric:"s","2-digit":"ss"},timeZoneName:{long:"ZZZZZ",short:"ZZZ"}};function Mc(t,e,r){let{type:n,value:i}=t;if(n==="literal"){let u=/^\s+$/.test(i);return{literal:!u,val:u?" ":i}}let a=e[n],s=n;n==="hour"&&(e.hour12!=null?s=e.hour12?"hour12":"hour24":e.hourCycle!=null?e.hourCycle==="h11"||e.hourCycle==="h12"?s="hour12":s="hour24":s=r.hour12?"hour12":"hour24");let o=Fc[s];if(typeof o=="object"&&(o=o[a]),o)return{literal:!1,val:o}}function Nc(t){return[`^${t.map(e=>e.regex).reduce((e,r)=>`${e}(${r.source})`,"")}$`,t]}function Lc(t,e,r){let n=t.match(e);if(n){let i={},a=1;for(let s in r)if(St(r,s)){let o=r[s],u=o.groups?o.groups+1:1;!o.literal&&o.token&&(i[o.token.val[0]]=o.deser(n.slice(a,a+u))),a+=u}return[n,i]}else return[n,{}]}function Pc(t){let e=i=>{switch(i){case"S":return"millisecond";case"s":return"second";case"m":return"minute";case"h":case"H":return"hour";case"d":return"day";case"o":return"ordinal";case"L":case"M":return"month";case"y":return"year";case"E":case"c":return"weekday";case"W":return"weekNumber";case"k":return"weekYear";case"q":return"quarter";default:return null}},r=null,n;return z(t.z)||(r=Bt.create(t.z)),z(t.Z)||(r||(r=new Ie(t.Z)),n=t.Z),z(t.q)||(t.M=(t.q-1)*3+1),z(t.h)||(t.h<12&&t.a===1?t.h+=12:t.h===12&&t.a===0&&(t.h=0)),t.G===0&&t.y&&(t.y=-t.y),z(t.u)||(t.S=bi(t.u)),[Object.keys(t).reduce((i,a)=>{let s=e(a);return s&&(i[s]=t[a]),i},{}),r,n]}var xn=null;function zc(){return xn||(xn=Z.fromMillis(1555555555555)),xn}function Tc(t,e){if(t.literal)return t;let r=Be.macroTokenToFormatOpts(t.val),n=As(r,e);return n==null||n.includes(void 0)?t:n}function Es(t,e){return Array.prototype.concat(...t.map(r=>Tc(r,e)))}var Ss=class{constructor(t,e){if(this.locale=t,this.format=e,this.tokens=Es(Be.parseFormat(e),t),this.units=this.tokens.map(r=>Bc(r,t)),this.disqualifyingUnit=this.units.find(r=>r.invalidReason),!this.disqualifyingUnit){let[r,n]=Nc(this.units);this.regex=RegExp(r,"i"),this.handlers=n}}explainFromTokens(t){if(this.isValid){let[e,r]=Lc(t,this.regex,this.handlers),[n,i,a]=r?Pc(r):[null,null,void 0];if(St(r,"a")&&St(r,"H"))throw new xt("Can't include meridiem when specifying 24-hour format");return{input:t,tokens:this.tokens,regex:this.regex,rawMatches:e,matches:r,result:n,zone:i,specificOffset:a}}else return{input:t,tokens:this.tokens,invalidReason:this.invalidReason}}get isValid(){return!this.disqualifyingUnit}get invalidReason(){return this.disqualifyingUnit?this.disqualifyingUnit.invalidReason:null}};function _s(t,e,r){return new Ss(t,r).explainFromTokens(e)}function jc(t,e,r){let{result:n,zone:i,specificOffset:a,invalidReason:s}=_s(t,e,r);return[n,i,a,s]}function As(t,e){if(!t)return null;let r=Be.create(e,t).dtFormatter(zc()),n=r.formatToParts(),i=r.resolvedOptions();return n.map(a=>Mc(a,t,i))}var wn="Invalid DateTime",fa=864e13;function Xt(t){return new Fe("unsupported zone",`the zone "${t.name}" is not supported`)}function $n(t){return t.weekData===null&&(t.weekData=jr(t.c)),t.weekData}function En(t){return t.localWeekData===null&&(t.localWeekData=jr(t.c,t.loc.getMinDaysInFirstWeek(),t.loc.getStartOfWeek())),t.localWeekData}function ot(t,e){let r={ts:t.ts,zone:t.zone,c:t.c,o:t.o,loc:t.loc,invalid:t.invalid};return new Z({...r,...e,old:r})}function Cs(t,e,r){let n=t-e*60*1e3,i=r.offset(n);if(e===i)return[n,e];n-=(i-e)*60*1e3;let a=r.offset(n);return i===a?[n,i]:[t-Math.min(i,a)*60*1e3,Math.max(i,a)]}function Er(t,e){t+=e*60*1e3;let r=new Date(t);return{year:r.getUTCFullYear(),month:r.getUTCMonth()+1,day:r.getUTCDate(),hour:r.getUTCHours(),minute:r.getUTCMinutes(),second:r.getUTCSeconds(),millisecond:r.getUTCMilliseconds()}}function Mr(t,e,r){return Cs(en(t),e,r)}function ma(t,e){let r=t.o,n=t.c.year+Math.trunc(e.years),i=t.c.month+Math.trunc(e.months)+Math.trunc(e.quarters)*3,a={...t.c,year:n,month:i,day:Math.min(t.c.day,Ir(n,i))+Math.trunc(e.days)+Math.trunc(e.weeks)*7},s=se.fromObject({years:e.years-Math.trunc(e.years),quarters:e.quarters-Math.trunc(e.quarters),months:e.months-Math.trunc(e.months),weeks:e.weeks-Math.trunc(e.weeks),days:e.days-Math.trunc(e.days),hours:e.hours,minutes:e.minutes,seconds:e.seconds,milliseconds:e.milliseconds}).as("milliseconds"),o=en(a),[u,c]=Cs(o,r,t.zone);return s!==0&&(u+=s,c=t.zone.offset(u)),{ts:u,o:c}}function gt(t,e,r,n,i,a){let{setZone:s,zone:o}=r;if(t&&Object.keys(t).length!==0||e){let u=e||o,c=Z.fromObject(t,{...r,zone:u,specificOffset:a});return s?c:c.setZone(o)}else return Z.invalid(new Fe("unparsable",`the input "${i}" can't be parsed as ${n}`))}function Sr(t,e,r=!0){return t.isValid?Be.create(W.create("en-US"),{allowZ:r,forceSimple:!0}).formatDateTimeFromString(t,e):null}function Sn(t,e,r){let n=t.c.year>9999||t.c.year<0,i="";if(n&&t.c.year>=0&&(i+="+"),i+=ne(t.c.year,n?6:4),r==="year")return i;if(e){if(i+="-",i+=ne(t.c.month),r==="month")return i;i+="-"}else if(i+=ne(t.c.month),r==="month")return i;return i+=ne(t.c.day),i}function ga(t,e,r,n,i,a,s){let o=!r||t.c.millisecond!==0||t.c.second!==0,u="";switch(s){case"day":case"month":case"year":break;default:if(u+=ne(t.c.hour),s==="hour")break;if(e){if(u+=":",u+=ne(t.c.minute),s==="minute")break;o&&(u+=":",u+=ne(t.c.second))}else{if(u+=ne(t.c.minute),s==="minute")break;o&&(u+=ne(t.c.second))}if(s==="second")break;o&&(!n||t.c.millisecond!==0)&&(u+=".",u+=ne(t.c.millisecond,3))}return i&&(t.isOffsetFixed&&t.offset===0&&!a?u+="Z":t.o<0?(u+="-",u+=ne(Math.trunc(-t.o/60)),u+=":",u+=ne(Math.trunc(-t.o%60))):(u+="+",u+=ne(Math.trunc(t.o/60)),u+=":",u+=ne(Math.trunc(t.o%60)))),a&&(u+="["+t.zone.ianaName+"]"),u}var Ds={month:1,day:1,hour:0,minute:0,second:0,millisecond:0},Ic={weekNumber:1,weekday:1,hour:0,minute:0,second:0,millisecond:0},Rc={ordinal:1,hour:0,minute:0,second:0,millisecond:0},Nr=["year","month","day","hour","minute","second","millisecond"],Vc=["weekYear","weekNumber","weekday","hour","minute","second","millisecond"],qc=["year","ordinal","hour","minute","second","millisecond"];function Lr(t){let e={year:"year",years:"year",month:"month",months:"month",day:"day",days:"day",hour:"hour",hours:"hour",minute:"minute",minutes:"minute",quarter:"quarter",quarters:"quarter",second:"second",seconds:"second",millisecond:"millisecond",milliseconds:"millisecond",weekday:"weekday",weekdays:"weekday",weeknumber:"weekNumber",weeksnumber:"weekNumber",weeknumbers:"weekNumber",weekyear:"weekYear",weekyears:"weekYear",ordinal:"ordinal"}[t.toLowerCase()];if(!e)throw new Ao(t);return e}function ba(t){switch(t.toLowerCase()){case"localweekday":case"localweekdays":return"localWeekday";case"localweeknumber":case"localweeknumbers":return"localWeekNumber";case"localweekyear":case"localweekyears":return"localWeekYear";default:return Lr(t)}}function Uc(t){if(Qt===void 0&&(Qt=K.now()),t.type!=="iana")return t.offset(Qt);let e=t.name,r=Yn.get(e);return r===void 0&&(r=t.offset(Qt),Yn.set(e,r)),r}function ya(t,e){let r=et(e.zone,K.defaultZone);if(!r.isValid)return Z.invalid(Xt(r));let n=W.fromObject(e),i,a;if(z(t.year))i=K.now();else{for(let u of Nr)z(t[u])&&(t[u]=Ds[u]);let s=ts(t)||rs(t);if(s)return Z.invalid(s);let o=Uc(r);[i,a]=Mr(t,o,r)}return new Z({ts:i,zone:r,loc:n,o:a})}function va(t,e,r){let n=z(r.round)?!0:r.round,i=z(r.rounding)?"trunc":r.rounding,a=(o,u)=>(o=yi(o,n||r.calendary?0:2,r.calendary?"round":i),e.loc.clone(r).relFormatter(r).format(o,u)),s=o=>r.calendary?e.hasSame(t,o)?0:e.startOf(o).diff(t.startOf(o),o).get(o):e.diff(t,o).get(o);if(r.unit)return a(s(r.unit),r.unit);for(let o of r.units){let u=s(o);if(Math.abs(u)>=1)return a(u,o)}return a(t>e?-0:0,r.units[r.units.length-1])}function ka(t){let e={},r;return t.length>0&&typeof t[t.length-1]=="object"?(e=t[t.length-1],r=Array.from(t).slice(0,t.length-1)):r=Array.from(t),[e,r]}var Qt,Yn=new Map,Z=class Y{constructor(e){let r=e.zone||K.defaultZone,n=e.invalid||(Number.isNaN(e.ts)?new Fe("invalid input"):null)||(r.isValid?null:Xt(r));this.ts=z(e.ts)?K.now():e.ts;let i=null,a=null;if(!n)if(e.old&&e.old.ts===this.ts&&e.old.zone.equals(r))[i,a]=[e.old.c,e.old.o];else{let s=tt(e.o)&&!e.old?e.o:r.offset(this.ts);i=Er(this.ts,s),n=Number.isNaN(i.year)?new Fe("invalid input"):null,i=n?null:i,a=n?null:s}this._zone=r,this.loc=e.loc||W.create(),this.invalid=n,this.weekData=null,this.localWeekData=null,this.c=i,this.o=a,this.isLuxonDateTime=!0}static now(){return new Y({})}static local(){let[e,r]=ka(arguments),[n,i,a,s,o,u,c]=r;return ya({year:n,month:i,day:a,hour:s,minute:o,second:u,millisecond:c},e)}static utc(){let[e,r]=ka(arguments),[n,i,a,s,o,u,c]=r;return e.zone=Ie.utcInstance,ya({year:n,month:i,day:a,hour:s,minute:o,second:u,millisecond:c},e)}static fromJSDate(e,r={}){let n=w0(e)?e.valueOf():NaN;if(Number.isNaN(n))return Y.invalid("invalid input");let i=et(r.zone,K.defaultZone);return i.isValid?new Y({ts:n,zone:i,loc:W.fromObject(r)}):Y.invalid(Xt(i))}static fromMillis(e,r={}){if(tt(e))return e<-fa||e>fa?Y.invalid("Timestamp out of range"):new Y({ts:e,zone:et(r.zone,K.defaultZone),loc:W.fromObject(r)});throw new oe(`fromMillis requires a numerical input, but received a ${typeof e} with value ${e}`)}static fromSeconds(e,r={}){if(tt(e))return new Y({ts:e*1e3,zone:et(r.zone,K.defaultZone),loc:W.fromObject(r)});throw new oe("fromSeconds requires a numerical input")}static fromObject(e,r={}){e=e||{};let n=et(r.zone,K.defaultZone);if(!n.isValid)return Y.invalid(Xt(n));let i=W.fromObject(r),a=Rr(e,ba),{minDaysInFirstWeek:s,startOfWeek:o}=na(a,i),u=K.now(),c=z(r.specificOffset)?n.offset(u):r.specificOffset,d=!z(a.ordinal),h=!z(a.year),p=!z(a.month)||!z(a.day),l=h||p,m=a.weekYear||a.weekNumber;if((l||d)&&m)throw new xt("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(p&&d)throw new xt("Can't mix ordinal dates with month/day");let f=m||a.weekday&&!l,b,v,y=Er(u,c);f?(b=Vc,v=Ic,y=jr(y,s,o)):d?(b=qc,v=Rc,y=kn(y)):(b=Nr,v=Ds);let w=!1;for(let A of b){let F=a[A];z(F)?w?a[A]=v[A]:a[A]=y[A]:w=!0}let k=f?v0(a,s,o):d?k0(a):ts(a),$=k||rs(a);if($)return Y.invalid($);let x=f?ta(a,s,o):d?ra(a):a,[S,_]=Mr(x,c,n),C=new Y({ts:S,zone:n,o:_,loc:i});return a.weekday&&l&&e.weekday!==C.weekday?Y.invalid("mismatched weekday",`you can't specify both a weekday of ${a.weekday} and a date of ${C.toISO()}`):C.isValid?C:Y.invalid(C.invalid)}static fromISO(e,r={}){let[n,i]=dc(e);return gt(n,i,r,"ISO 8601",e)}static fromRFC2822(e,r={}){let[n,i]=hc(e);return gt(n,i,r,"RFC 2822",e)}static fromHTTP(e,r={}){let[n,i]=pc(e);return gt(n,i,r,"HTTP",r)}static fromFormat(e,r,n={}){if(z(e)||z(r))throw new oe("fromFormat requires an input string and a format");let{locale:i=null,numberingSystem:a=null}=n,s=W.fromOpts({locale:i,numberingSystem:a,defaultToEN:!0}),[o,u,c,d]=jc(s,e,r);return d?Y.invalid(d):gt(o,u,n,`format ${r}`,e,c)}static fromString(e,r,n={}){return Y.fromFormat(e,r,n)}static fromSQL(e,r={}){let[n,i]=kc(e);return gt(n,i,r,"SQL",e)}static invalid(e,r=null){if(!e)throw new oe("need to specify a reason the DateTime is invalid");let n=e instanceof Fe?e:new Fe(e,r);if(K.throwOnInvalid)throw new Zl(n);return new Y({invalid:n})}static isDateTime(e){return e&&e.isLuxonDateTime||!1}static parseFormatForOpts(e,r={}){let n=As(e,W.fromObject(r));return n?n.map(i=>i?i.val:null).join(""):null}static expandFormat(e,r={}){return Es(Be.parseFormat(e),W.fromObject(r)).map(n=>n.val).join("")}static resetCache(){Qt=void 0,Yn.clear()}get(e){return this[e]}get isValid(){return this.invalid===null}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}get locale(){return this.isValid?this.loc.locale:null}get numberingSystem(){return this.isValid?this.loc.numberingSystem:null}get outputCalendar(){return this.isValid?this.loc.outputCalendar:null}get zone(){return this._zone}get zoneName(){return this.isValid?this.zone.name:null}get year(){return this.isValid?this.c.year:NaN}get quarter(){return this.isValid?Math.ceil(this.c.month/3):NaN}get month(){return this.isValid?this.c.month:NaN}get day(){return this.isValid?this.c.day:NaN}get hour(){return this.isValid?this.c.hour:NaN}get minute(){return this.isValid?this.c.minute:NaN}get second(){return this.isValid?this.c.second:NaN}get millisecond(){return this.isValid?this.c.millisecond:NaN}get weekYear(){return this.isValid?$n(this).weekYear:NaN}get weekNumber(){return this.isValid?$n(this).weekNumber:NaN}get weekday(){return this.isValid?$n(this).weekday:NaN}get isWeekend(){return this.isValid&&this.loc.getWeekendDays().includes(this.weekday)}get localWeekday(){return this.isValid?En(this).weekday:NaN}get localWeekNumber(){return this.isValid?En(this).weekNumber:NaN}get localWeekYear(){return this.isValid?En(this).weekYear:NaN}get ordinal(){return this.isValid?kn(this.c).ordinal:NaN}get monthShort(){return this.isValid?wr.months("short",{locObj:this.loc})[this.month-1]:null}get monthLong(){return this.isValid?wr.months("long",{locObj:this.loc})[this.month-1]:null}get weekdayShort(){return this.isValid?wr.weekdays("short",{locObj:this.loc})[this.weekday-1]:null}get weekdayLong(){return this.isValid?wr.weekdays("long",{locObj:this.loc})[this.weekday-1]:null}get offset(){return this.isValid?+this.o:NaN}get offsetNameShort(){return this.isValid?this.zone.offsetName(this.ts,{format:"short",locale:this.locale}):null}get offsetNameLong(){return this.isValid?this.zone.offsetName(this.ts,{format:"long",locale:this.locale}):null}get isOffsetFixed(){return this.isValid?this.zone.isUniversal:null}get isInDST(){return this.isOffsetFixed?!1:this.offset>this.set({month:1,day:1}).offset||this.offset>this.set({month:5}).offset}getPossibleOffsets(){if(!this.isValid||this.isOffsetFixed)return[this];let e=864e5,r=6e4,n=en(this.c),i=this.zone.offset(n-e),a=this.zone.offset(n+e),s=this.zone.offset(n-i*r),o=this.zone.offset(n-a*r);if(s===o)return[this];let u=n-s*r,c=n-o*r,d=Er(u,s),h=Er(c,o);return d.hour===h.hour&&d.minute===h.minute&&d.second===h.second&&d.millisecond===h.millisecond?[ot(this,{ts:u}),ot(this,{ts:c})]:[this]}get isInLeapYear(){return fr(this.year)}get daysInMonth(){return Ir(this.year,this.month)}get daysInYear(){return this.isValid?$t(this.year):NaN}get weeksInWeekYear(){return this.isValid?ar(this.weekYear):NaN}get weeksInLocalWeekYear(){return this.isValid?ar(this.localWeekYear,this.loc.getMinDaysInFirstWeek(),this.loc.getStartOfWeek()):NaN}resolvedLocaleOptions(e={}){let{locale:r,numberingSystem:n,calendar:i}=Be.create(this.loc.clone(e),e).resolvedOptions(this);return{locale:r,numberingSystem:n,outputCalendar:i}}toUTC(e=0,r={}){return this.setZone(Ie.instance(e),r)}toLocal(){return this.setZone(K.defaultZone)}setZone(e,{keepLocalTime:r=!1,keepCalendarTime:n=!1}={}){if(e=et(e,K.defaultZone),e.equals(this.zone))return this;if(e.isValid){let i=this.ts;if(r||n){let a=e.offset(this.ts),s=this.toObject();[i]=Mr(s,a,e)}return ot(this,{ts:i,zone:e})}else return Y.invalid(Xt(e))}reconfigure({locale:e,numberingSystem:r,outputCalendar:n}={}){let i=this.loc.clone({locale:e,numberingSystem:r,outputCalendar:n});return ot(this,{loc:i})}setLocale(e){return this.reconfigure({locale:e})}set(e){if(!this.isValid)return this;let r=Rr(e,ba),{minDaysInFirstWeek:n,startOfWeek:i}=na(r,this.loc),a=!z(r.weekYear)||!z(r.weekNumber)||!z(r.weekday),s=!z(r.ordinal),o=!z(r.year),u=!z(r.month)||!z(r.day),c=o||u,d=r.weekYear||r.weekNumber;if((c||s)&&d)throw new xt("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(u&&s)throw new xt("Can't mix ordinal dates with month/day");let h;a?h=ta({...jr(this.c,n,i),...r},n,i):z(r.ordinal)?(h={...this.toObject(),...r},z(r.day)&&(h.day=Math.min(Ir(h.year,h.month),h.day))):h=ra({...kn(this.c),...r});let[p,l]=Mr(h,this.o,this.zone);return ot(this,{ts:p,o:l})}plus(e){if(!this.isValid)return this;let r=se.fromDurationLike(e);return ot(this,ma(this,r))}minus(e){if(!this.isValid)return this;let r=se.fromDurationLike(e).negate();return ot(this,ma(this,r))}startOf(e,{useLocaleWeeks:r=!1}={}){if(!this.isValid)return this;let n={},i=se.normalizeUnit(e);switch(i){case"years":n.month=1;case"quarters":case"months":n.day=1;case"weeks":case"days":n.hour=0;case"hours":n.minute=0;case"minutes":n.second=0;case"seconds":n.millisecond=0;break}if(i==="weeks")if(r){let a=this.loc.getStartOfWeek(),{weekday:s}=this;s<a&&(n.weekNumber=this.weekNumber-1),n.weekday=a}else n.weekday=1;if(i==="quarters"){let a=Math.ceil(this.month/3);n.month=(a-1)*3+1}return this.set(n)}endOf(e,r){return this.isValid?this.plus({[e]:1}).startOf(e,r).minus(1):this}toFormat(e,r={}){return this.isValid?Be.create(this.loc.redefaultToEN(r)).formatDateTimeFromString(this,e):wn}toLocaleString(e=Tr,r={}){return this.isValid?Be.create(this.loc.clone(r),e).formatDateTime(this):wn}toLocaleParts(e={}){return this.isValid?Be.create(this.loc.clone(e),e).formatDateTimeParts(this):[]}toISO({format:e="extended",suppressSeconds:r=!1,suppressMilliseconds:n=!1,includeOffset:i=!0,extendedZone:a=!1,precision:s="milliseconds"}={}){if(!this.isValid)return null;s=Lr(s);let o=e==="extended",u=Sn(this,o,s);return Nr.indexOf(s)>=3&&(u+="T"),u+=ga(this,o,r,n,i,a,s),u}toISODate({format:e="extended",precision:r="day"}={}){return this.isValid?Sn(this,e==="extended",Lr(r)):null}toISOWeekDate(){return Sr(this,"kkkk-'W'WW-c")}toISOTime({suppressMilliseconds:e=!1,suppressSeconds:r=!1,includeOffset:n=!0,includePrefix:i=!1,extendedZone:a=!1,format:s="extended",precision:o="milliseconds"}={}){return this.isValid?(o=Lr(o),(i&&Nr.indexOf(o)>=3?"T":"")+ga(this,s==="extended",r,e,n,a,o)):null}toRFC2822(){return Sr(this,"EEE, dd LLL yyyy HH:mm:ss ZZZ",!1)}toHTTP(){return Sr(this.toUTC(),"EEE, dd LLL yyyy HH:mm:ss 'GMT'")}toSQLDate(){return this.isValid?Sn(this,!0):null}toSQLTime({includeOffset:e=!0,includeZone:r=!1,includeOffsetSpace:n=!0}={}){let i="HH:mm:ss.SSS";return(r||e)&&(n&&(i+=" "),r?i+="z":e&&(i+="ZZ")),Sr(this,i,!0)}toSQL(e={}){return this.isValid?`${this.toSQLDate()} ${this.toSQLTime(e)}`:null}toString(){return this.isValid?this.toISO():wn}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`DateTime { ts: ${this.toISO()}, zone: ${this.zone.name}, locale: ${this.locale} }`:`DateTime { Invalid, reason: ${this.invalidReason} }`}valueOf(){return this.toMillis()}toMillis(){return this.isValid?this.ts:NaN}toSeconds(){return this.isValid?this.ts/1e3:NaN}toUnixInteger(){return this.isValid?Math.floor(this.ts/1e3):NaN}toJSON(){return this.toISO()}toBSON(){return this.toJSDate()}toObject(e={}){if(!this.isValid)return{};let r={...this.c};return e.includeConfig&&(r.outputCalendar=this.outputCalendar,r.numberingSystem=this.loc.numberingSystem,r.locale=this.loc.locale),r}toJSDate(){return new Date(this.isValid?this.ts:NaN)}diff(e,r="milliseconds",n={}){if(!this.isValid||!e.isValid)return se.invalid("created by diffing an invalid DateTime");let i={locale:this.locale,numberingSystem:this.numberingSystem,...n},a=$0(r).map(se.normalizeUnit),s=e.valueOf()>this.valueOf(),o=s?this:e,u=s?e:this,c=_c(o,u,a,i);return s?c.negate():c}diffNow(e="milliseconds",r={}){return this.diff(Y.now(),e,r)}until(e){return this.isValid?Fr.fromDateTimes(this,e):this}hasSame(e,r,n){if(!this.isValid)return!1;let i=e.valueOf(),a=this.setZone(e.zone,{keepLocalTime:!0});return a.startOf(r,n)<=i&&i<=a.endOf(r,n)}equals(e){return this.isValid&&e.isValid&&this.valueOf()===e.valueOf()&&this.zone.equals(e.zone)&&this.loc.equals(e.loc)}toRelative(e={}){if(!this.isValid)return null;let r=e.base||Y.fromObject({},{zone:this.zone}),n=e.padding?this<r?-e.padding:e.padding:0,i=["years","months","days","hours","minutes","seconds"],a=e.unit;return Array.isArray(e.unit)&&(i=e.unit,a=void 0),va(r,this.plus(n),{...e,numeric:"always",units:i,unit:a})}toRelativeCalendar(e={}){return this.isValid?va(e.base||Y.fromObject({},{zone:this.zone}),this,{...e,numeric:"auto",units:["years","months","days"],calendary:!0}):null}static min(...e){if(!e.every(Y.isDateTime))throw new oe("min requires all arguments be DateTimes");return ia(e,r=>r.valueOf(),Math.min)}static max(...e){if(!e.every(Y.isDateTime))throw new oe("max requires all arguments be DateTimes");return ia(e,r=>r.valueOf(),Math.max)}static fromFormatExplain(e,r,n={}){let{locale:i=null,numberingSystem:a=null}=n,s=W.fromOpts({locale:i,numberingSystem:a,defaultToEN:!0});return _s(s,e,r)}static fromStringExplain(e,r,n={}){return Y.fromFormatExplain(e,r,n)}static buildFormatParser(e,r={}){let{locale:n=null,numberingSystem:i=null}=r,a=W.fromOpts({locale:n,numberingSystem:i,defaultToEN:!0});return new Ss(a,e)}static fromFormatParser(e,r,n={}){if(z(e)||z(r))throw new oe("fromFormatParser requires an input string and a format parser");let{locale:i=null,numberingSystem:a=null}=n,s=W.fromOpts({locale:i,numberingSystem:a,defaultToEN:!0});if(!s.equals(r.locale))throw new oe(`fromFormatParser called with a locale of ${s}, but the format parser was created for ${r.locale}`);let{result:o,zone:u,specificOffset:c,invalidReason:d}=r.explainFromTokens(e);return d?Y.invalid(d):gt(o,u,n,`format ${r.format}`,e,c)}static get DATE_SHORT(){return Tr}static get DATE_MED(){return Co}static get DATE_MED_WITH_WEEKDAY(){return Jl}static get DATE_FULL(){return Do}static get DATE_HUGE(){return Oo}static get TIME_SIMPLE(){return Bo}static get TIME_WITH_SECONDS(){return Fo}static get TIME_WITH_SHORT_OFFSET(){return Mo}static get TIME_WITH_LONG_OFFSET(){return No}static get TIME_24_SIMPLE(){return Lo}static get TIME_24_WITH_SECONDS(){return Po}static get TIME_24_WITH_SHORT_OFFSET(){return zo}static get TIME_24_WITH_LONG_OFFSET(){return To}static get DATETIME_SHORT(){return jo}static get DATETIME_SHORT_WITH_SECONDS(){return Io}static get DATETIME_MED(){return Ro}static get DATETIME_MED_WITH_SECONDS(){return Vo}static get DATETIME_MED_WITH_WEEKDAY(){return Kl}static get DATETIME_FULL(){return qo}static get DATETIME_FULL_WITH_SECONDS(){return Uo}static get DATETIME_HUGE(){return Wo}static get DATETIME_HUGE_WITH_SECONDS(){return Ho}};function It(t){if(Z.isDateTime(t))return t;if(t&&t.valueOf&&tt(t.valueOf()))return Z.fromJSDate(t);if(t&&typeof t=="object")return Z.fromObject(t);throw new oe(`Unknown datetime argument: ${t}, of type ${typeof t}`)}var Jn="default",Os="preflights",Wc="shortcuts",Hc="imports",Zc={[Hc]:-200,[Os]:-100,[Wc]:-10,[Jn]:0},Bs=/[\\:]?[\s'"`;{}]+/g;function Gc(t){return t.split(Bs)}var Yc={name:"@unocss/core/extractor-split",order:0,extract({code:t}){return Gc(t)}};function J(t=[]){return Array.isArray(t)?t:[t]}function je(t){return Array.from(new Set(t))}function xa(t,e){return t.reduce((r,n)=>(r.findIndex(i=>e(n,i))===-1&&r.push(n),r),[])}function te(t){return typeof t=="string"}var Fs=class extends Set{constructor(t){if(super(),this._map=new Map,t)for(let e of t)this.add(e)}add(t){return this._map.set(t,(this._map.get(t)??0)+1),super.add(t)}delete(t){return this._map.has(t)?(this._map.delete(t),super.delete(t)):!1}clear(){this._map.clear(),super.clear()}getCount(t){return this._map.get(t)??0}setCount(t,e){return this._map.set(t,e),super.add(t)}};function _n(t){return t instanceof Fs}function or(t){return t.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function we(t){let e=t.length,r=-1,n,i="",a=t.charCodeAt(0);for(;++r<e;){if(n=t.charCodeAt(r),n===0){i+="\uFFFD";continue}if(n===37){i+="\\%";continue}if(n===44){i+="\\,";continue}if(n>=1&&n<=31||n===127||r===0&&n>=48&&n<=57||r===1&&n>=48&&n<=57&&a===45){i+=`\\${n.toString(16)} `;continue}if(r===0&&e===1&&n===45){i+=`\\${t.charAt(r)}`;continue}if(n>=128||n===45||n===95||n>=48&&n<=57||n>=65&&n<=90||n>=97&&n<=122){i+=t.charAt(r);continue}i+=`\\${t.charAt(r)}`}return i}var An=we;function Jc(){return{events:{},emit(t,...e){(this.events[t]||[]).forEach(r=>r(...e))},on(t,e){return(this.events[t]=this.events[t]||[]).push(e),()=>this.events[t]=(this.events[t]||[]).filter(r=>r!==e)}}}var Kc=/[\w\u00A0-\uFFFF%-?]/;function Xc(t=""){return Kc.test(t)}function Qc(t){return typeof t=="function"?{match:t}:t}function wa(t){return t.length===3}function er(t){return t!=null}function ed(){}var td=class{constructor(){this._map=new Map}get(t,e){let r=this._map.get(t);if(r)return r.get(e)}getFallback(t,e,r){let n=this._map.get(t);return n||(n=new Map,this._map.set(t,n)),n.has(e)||n.set(e,r),n.get(e)}set(t,e,r){let n=this._map.get(t);return n||(n=new Map,this._map.set(t,n)),n.set(e,r),this}has(t,e){return this._map.get(t)?.has(e)}delete(t,e){return this._map.get(t)?.delete(e)||!1}deleteTop(t){return this._map.delete(t)}map(t){return Array.from(this._map.entries()).flatMap(([e,r])=>Array.from(r.entries()).map(([n,i])=>t(i,e,n)))}},rd=class extends Map{getFallback(t,e){let r=this.get(t);return r===void 0?(this.set(t,e),e):r}map(t){let e=[];return this.forEach((r,n)=>{e.push(t(r,n))}),e}flatMap(t){let e=[];return this.forEach((r,n)=>{e.push(...t(r,n))}),e}};function Vr(t){return te(t)?t:(Array.isArray(t)?t:Object.entries(t)).filter(e=>e[1]!=null)}function nd(t){return Array.isArray(t)?t.find(e=>!Array.isArray(e)||Array.isArray(e[0]))?t.map(e=>Vr(e)):[t]:[Vr(t)]}function id(t){return t.filter(([e,r],n)=>{if(e.startsWith("$$"))return!1;for(let i=n-1;i>=0;i--)if(t[i][0]===e&&t[i][1]===r)return!1;return!0})}var ad="__virtual_key__";function Cn(t){return t==null?"":id(t).map(([e,r])=>r!=null&&typeof r!="function"?e!=="__virtual_key__"?`${e}:${r};`:r:void 0).filter(Boolean).join("")}function _r(t){return t&&typeof t=="object"&&!Array.isArray(t)}function sr(t,e,r=!1){let n=t,i=e;if(Array.isArray(i))return r&&Array.isArray(i)?[...n,...i]:[...i];let a={...n};return _r(n)&&_r(i)&&Object.keys(i).forEach(s=>{_r(n[s])&&_r(i[s])||Array.isArray(n[s])&&Array.isArray(i[s])?a[s]=sr(n[s],i[s],r):Object.assign(a,{[s]:i[s]})}),a}function ir(t){let e,r,n;if(Array.isArray(t)){for(r=Array.from({length:e=t.length});e--;)r[e]=(n=t[e])&&typeof n=="object"?ir(n):n;return r}if(Object.prototype.toString.call(t)==="[object Object]"){r={};for(e in t)e==="__proto__"?Object.defineProperty(r,e,{value:ir(t[e]),configurable:!0,enumerable:!0,writable:!0}):r[e]=(n=t[e])&&typeof n=="object"?ir(n):n;return r}return t}function od(t){return te(t[0])}function sd(t){return te(t[0])}var Ar={};function ud(t=["-",":"]){let e=t.join("|");return Ar[e]||(Ar[e]=new RegExp(`((?:[!@*<~\\w+:_-]|\\[&?>?:?\\S*\\])+?)(${e})\\(((?:[~!<>\\w\\s:/\\\\,%#.$?-]|\\[[^\\]]*?\\])+?)\\)(?!\\s*?=>)`,"gm")),Ar[e].lastIndex=0,Ar[e]}function ld(t,e=["-",":"],r=5){let n=ud(e),i,a=t.toString(),s=new Set,o=new Map;do i=!1,a=a.replace(n,(c,d,h,p,l)=>{if(!e.includes(h))return c;i=!0,s.add(d+h);let m=l+d.length+h.length+1,f={length:c.length,items:[]};o.set(l,f);for(let b of[...p.matchAll(/\S+/g)]){let v=m+b.index,y=o.get(v)?.items;y?o.delete(v):y=[{offset:v,length:b[0].length,className:b[0]}];for(let w of y)w.className=w.className==="~"?h===":"?`${d}${h}~`:d:w.className.replace(/^(!?)(.*)/,`$1${d}${h}$2`),f.items.push(w)}return"$".repeat(c.length)}),r-=1;while(i&&r);let u;if(typeof t=="string"){u="";let c=0;for(let[d,h]of o)u+=t.slice(c,d),u+=h.items.map(p=>p.className).join(" "),c=d+h.length;u+=t.slice(c)}else{u=t;for(let[c,d]of o)u.overwrite(c,c+d.length,d.items.map(h=>h.className).join(" "))}return{prefixes:Array.from(s),hasChanged:i,groupsByOffset:o,get expanded(){return u.toString()}}}function cd(t,e=["-",":"],r=5){let n=ld(t,e,r);return typeof t=="string"?n.expanded:t}var $a=new Set;function dd(t){$a.has(t)||(console.warn("[unocss]",t),$a.add(t))}function Ms(t){return J(t).flatMap(e=>Array.isArray(e)?[e]:Object.entries(e))}var Ea="_uno_resolved";async function hd(t){let e=typeof t=="function"?await t():await t;if(Ea in e)return e;e={...e},Object.defineProperty(e,Ea,{value:!0,enumerable:!1});let r=e.shortcuts?Ms(e.shortcuts):void 0;if(e.shortcuts=r,e.prefix||e.layer){let n=i=>{i[2]||(i[2]={});let a=i[2];a.prefix==null&&e.prefix&&(a.prefix=J(e.prefix)),a.layer==null&&e.layer&&(a.layer=e.layer)};r?.forEach(n),e.rules?.forEach(n)}return e}async function Ns(t){let e=await hd(t);return e.presets?[e,...(await Promise.all((e.presets||[]).flatMap(J).flatMap(Ns))).flat()]:[e]}function pd(t){if(t.length===0)return{};let e=[],r=[],n=!1,i=[],a=[];for(let o of t){if(o.pipeline===!1){n=!0;break}else o.pipeline?.include&&e.push(o.pipeline.include),o.pipeline?.exclude&&r.push(o.pipeline.exclude);o.filesystem&&i.push(o.filesystem),o.inline&&a.push(o.inline)}let s={pipeline:n?!1:{include:je(_a(...e)),exclude:je(_a(...r))}};return i.length&&(s.filesystem=je(i.flat())),a.length&&(s.inline=je(a.flat())),s}async function Sa(t={},e={}){let r=Object.assign({},e,t),n=xa((await Promise.all((r.presets||[]).flatMap(J).flatMap(Ns))).flat(),(k,$)=>k.name===$.name),i=[...n.filter(k=>k.enforce==="pre"),...n.filter(k=>!k.enforce),...n.filter(k=>k.enforce==="post")],a=[...i,r],s=[...a].reverse(),o=Object.assign({},Zc,...a.map(k=>k.layers));function u(k){return je(a.flatMap($=>J($[k]||[])))}let c=u("extractors"),d=s.find(k=>k.extractorDefault!==void 0)?.extractorDefault;d===void 0&&(d=Yc),d&&!c.includes(d)&&c.unshift(d),c.sort((k,$)=>(k.order||0)-($.order||0));let h=u("rules"),p=h.length,l={},m=[];for(let[k,$]of h.entries()){let x=$[2]??($[2]={});x.__index=k,od($)?J(x.prefix??"").forEach(S=>{l[S+$[0]]=$}):m.unshift($)}let f={templates:je(a.flatMap(k=>J(k.autocomplete?.templates))),extractors:a.flatMap(k=>J(k.autocomplete?.extractors)).sort((k,$)=>(k.order||0)-($.order||0)),shorthands:md(a.map(k=>k.autocomplete?.shorthands||{}))},b=u("separators");b.length||(b=[":","-"]);let v=pd(u("content")),y={mergeSelectors:!0,warn:!0,sortLayers:k=>k,...r,blocklist:u("blocklist"),presets:i,envMode:r.envMode||"build",shortcutsLayer:r.shortcutsLayer||"shortcuts",layers:o,theme:fd(a.map(k=>k.theme)),rules:h,rulesSize:p,rulesDynamic:m,rulesStaticMap:l,preprocess:u("preprocess"),postprocess:u("postprocess"),preflights:u("preflights"),autocomplete:f,variants:u("variants").map(Qc).sort((k,$)=>(k.order||0)-($.order||0)),shortcuts:Ms(u("shortcuts")).reverse(),extractors:c,safelist:u("safelist"),separators:b,details:r.details??r.envMode==="dev",content:v,transformers:xa(u("transformers"),(k,$)=>k.name===$.name)},w=u("extendTheme");for(let k of w)y.theme=k(y.theme,y)||y.theme;for(let k of a)k?.configResolved?.(y);return y}function fd(t){return t.map(e=>e?ir(e):{}).reduce((e,r)=>sr(e,r),{})}function md(t){return t.reduce((e,r)=>{let n={};for(let i in r){let a=r[i];Array.isArray(a)?n[i]=`(${a.join("|")})`:n[i]=a}return{...e,...n}},{})}function _a(...t){return t.flatMap(gd)}function gd(t){return Array.isArray(t)?t:t?[t]:[]}var bd="66.6.7",re={shortcutsNoMerge:"$$symbol-shortcut-no-merge",noMerge:"$$symbol-no-merge",noScope:"$$symbol-no-scope",variants:"$$symbol-variants",parent:"$$symbol-parent",selector:"$$symbol-selector",layer:"$$symbol-layer",sort:"$$symbol-sort",body:"$$symbol-body"},yd=class Ls{constructor(e={},r={}){this.userConfig=e,this.defaults=r,this.version=bd,this.events=Jc(),this.config=void 0,this.cache=new Map,this.blocked=new Set,this.parentOrders=new Map,this.activatedRules=new Set,this.resolveCSSResult=(n,i,a,s)=>{let o=nd(i).filter(u=>u.length);if(o.length){this.config.details&&s.rules.push(a),s.generator.activatedRules.add(a);let u=a[2];return o.map(c=>{if(te(c))return[u.__index,c,u];let d=s.variantHandlers,h=u,p=m=>{d=[m,...d]},l=m=>{h={...h,...m}};for(let m of c)switch(m[0]){case re.variants:typeof m[1]=="function"?d=m[1](d)||d:d=[...J(m[1]),...d];break;case re.parent:p({parent:m[1]});break;case re.selector:p({selector:m[1]});break;case re.layer:p({layer:m[1]});break;case re.sort:l({sort:m[1]});break;case re.noMerge:l({noMerge:m[1]});break;case re.noScope:l({noScope:m[1]});break;case re.body:m[0]=ad;break}return[u.__index,n,c,h,d]})}}}static async create(e={},r={}){let n=new Ls(e,r);return n.config=await Sa(n.userConfig,n.defaults),n.events.emit("config",n.config),n}async setConfig(e,r){e&&(r&&(this.defaults=r),this.userConfig=e,this.blocked.clear(),this.parentOrders.clear(),this.activatedRules.clear(),this.cache.clear(),this.config=await Sa(e,this.defaults),this.events.emit("config",this.config))}async applyExtractors(e,r,n=new Set){let i={original:e,code:e,id:r,extracted:n,envMode:this.config.envMode};for(let a of this.config.extractors){let s=await a.extract?.(i);if(s)if(_n(s)&&_n(n))for(let o of s)n.setCount(o,n.getCount(o)+s.getCount(o));else for(let o of s)n.add(o)}return n}makeContext(e,r){let n={rawSelector:e,currentSelector:r[1],theme:this.config.theme,generator:this,symbols:re,variantHandlers:r[2],constructCSS:(...i)=>this.constructCustomCSS(n,...i),variantMatch:r};return n}async parseToken(e,r){if(this.blocked.has(e))return;let n=`${e}${r?` ${r}`:""}`;if(this.cache.has(n))return this.cache.get(n);let i=this.config.preprocess.reduce((u,c)=>c(u)??u,e);if(this.isBlocked(i)){this.blocked.add(e),this.cache.set(n,null);return}let a=await this.matchVariants(e,i);if(a.every(u=>!u||this.isBlocked(u[1]))){this.blocked.add(e),this.cache.set(n,null);return}let s=async u=>{let c=this.makeContext(e,[r||u[0],u[1],u[2],u[3]]);this.config.details&&(c.variants=[...u[3]]);let d=await this.expandShortcut(c.currentSelector,c);return d?await this.stringifyShortcuts(c.variantMatch,c,d[0],d[1]):(await this.parseUtil(c.variantMatch,c))?.flatMap(h=>this.stringifyUtil(h,c)).filter(er)},o=(await Promise.all(a.map(u=>s(u)))).flat().filter(u=>!!u);if(o?.length)return this.cache.set(n,o),o;this.cache.set(n,null)}async generate(e,r={}){let{id:n,scope:i,preflights:a=!0,safelist:s=!0,minify:o=!1,extendedInfo:u=!1}=r,c=te(e)?await this.applyExtractors(e,n,u?new Fs:new Set):Array.isArray(e)?new Set(e):e;if(s){let S={generator:this,theme:this.config.theme};this.config.safelist.flatMap(_=>typeof _=="function"?_(S):_).forEach(_=>{let C=_.trim();C&&!c.has(C)&&c.add(C)})}let d=o?"":`
25
+ `,h=new Set([Jn]),p=u?new Map:new Set,l=new Map,m={},f=Array.from(c).map(async S=>{if(p.has(S))return;let _=await this.parseToken(S);if(_!=null){p instanceof Map?p.set(S,{data:_,count:_n(c)?c.getCount(S):-1}):p.add(S);for(let C of _){let A=C[3]||"",F=C[4]?.layer;l.has(A)||l.set(A,[]),l.get(A).push(C),F&&h.add(F)}}});await Promise.all(f),await(async()=>{if(!a)return;let S={generator:this,theme:this.config.theme},_=new Set([]);this.config.preflights.forEach(({layer:C=Os})=>{h.add(C),_.add(C)}),m=Object.fromEntries(await Promise.all(Array.from(_).map(async C=>[C,(await Promise.all(this.config.preflights.filter(A=>(A.layer||"preflights")===C).map(async A=>await A.getCSS(S)))).filter(Boolean).join(d)])))})();let b=S=>this.config.sortLayers(S.sort((_,C)=>(this.config.layers[_]??0)-(this.config.layers[C]??0)||_.localeCompare(C))),v=b(Array.from(h)),y={},w=this.config.outputToCssLayers,k=S=>{let _=S;return typeof w=="object"&&(_=w.cssLayerName?.(S)),_===null?null:_??S},$=(S=Jn)=>{if(y[S])return y[S];let _=Array.from(l).sort((F,D)=>(this.parentOrders.get(F[0])??0)-(this.parentOrders.get(D[0])??0)||F[0]?.localeCompare(D[0]||"")||0).map(([F,D])=>{let B=D.length,M=D.filter(j=>(j[4]?.layer||"default")===S).sort((j,Ae)=>j[0]-Ae[0]||(j[4]?.sort||0)-(Ae[4]?.sort||0)||j[5]?.currentSelector?.localeCompare(Ae[5]?.currentSelector??"")||j[1]?.localeCompare(Ae[1]||"")||j[2]?.localeCompare(Ae[2]||"")||0).map(([,j,Ae,,Tt,,gn])=>[[[(j&&!Tt?.noScope?xd(j,i):j)??"",Tt?.sort??0]],Ae,!!(gn??Tt?.noMerge)]);if(!M.length)return;let R=M.reverse().map(([j,Ae,Tt],gn)=>{if(!Tt&&this.config.mergeSelectors)for(let Ye=gn+1;Ye<B;Ye++){let ze=M[Ye];if(ze&&!ze[2]&&(j&&ze[0]||j==null&&ze[0]==null)&&ze[1]===Ae)return j&&ze[0]&&ze[0].push(...j),null}let qi=j?je(j.sort((Ye,ze)=>Ye[1]-ze[1]||Ye[0]?.localeCompare(ze[0]||"")||0).map(Ye=>Ye[0]).filter(Boolean)):[];return qi.length?`${qi.join(`,${d}`)}{${Ae}}`:Ae}).filter(Boolean),V=Array.from(new Set(R)).reverse().join(d);if(!F)return V;let G=F.split(" $$ ");return`${G.join("{")}{${d}${V}${d}${"}".repeat(G.length)}`}).filter(Boolean).join(d);a&&(_=[m[S],_].filter(Boolean).join(d));let C;w&&_&&(C=k(S),C!==null&&(_=`@layer ${C}{${d}${_}${d}}`));let A=o?"":`/* layer: ${S}${C&&C!==S?`, alias: ${C}`:""} */${d}`;return y[S]=_?A+_:""},x=(S=v,_)=>{let C=S.filter(F=>!_?.includes(F)),A=C.map($).filter(Boolean);if(w){let F=C;typeof w=="object"&&w.allLayers&&(F=b(Object.keys(this.config.layers))),F.length>0&&A.unshift(`@layer ${F.map(k).filter(er).join(", ")};`)}return A.join(d)};return{get css(){return x()},layers:v,matched:p,getLayers:x,getLayer:$,setLayer:async(S,_)=>{let C=await _($(S));return y[S]=C,C}}}async matchVariants(e,r){let n={rawSelector:e,theme:this.config.theme,generator:this},i=async a=>{let s=!0,[,,o,u]=a;for(;s;){s=!1;let c=a[1];for(let d of this.config.variants){if(!d.multiPass&&u.has(d))continue;let h=await d.match(c,n);if(h){if(te(h)){if(h===c)continue;h={matcher:h}}if(Array.isArray(h)){if(!h.length)continue;if(h.length===1)h=h[0];else{if(d.multiPass)throw new Error("multiPass can not be used together with array return variants");let p=h.map(l=>{let m=l.matcher??c,f=[l,...o],b=new Set(u);return b.add(d),[a[0],m,f,b]});return(await Promise.all(p.map(l=>i(l)))).flat()}}a[1]=h.matcher??c,o.unshift(h),u.add(d),s=!0;break}}if(!s)break;if(o.length>500)throw new Error(`Too many variants applied to "${e}"`)}return[a]};return await i([e,r||e,[],new Set])}applyVariants(e,r=e[4],n=e[1]){let i=r.slice().sort((u,c)=>(u.order||0)-(c.order||0)).reduceRight((u,c)=>d=>{let h=c.body?.(d.entries)||d.entries,p=Array.isArray(c.parent)?c.parent:[c.parent,void 0],l=c.selector?.(d.selector,h);return(c.handle??$d)({...d,entries:h,selector:l||d.selector,parent:p[0]||d.parent,parentOrder:p[1]||d.parentOrder,layer:c.layer||d.layer,sort:c.sort||d.sort},u)},u=>u)({prefix:"",selector:wd(n),pseudo:"",entries:e[2]}),{parent:a,parentOrder:s}=i;a!=null&&s!=null&&this.parentOrders.set(a,s);let o={selector:[i.prefix,i.selector,i.pseudo].join(""),entries:i.entries,parent:a,layer:i.layer,sort:i.sort,noMerge:i.noMerge};return this.config.postprocess.reduce((u,c)=>{let d=[];for(let h of u){let p=c(h);Array.isArray(p)?d.push(...p.filter(er)):d.push(p||h)}return d},[o])}constructCustomCSS(e,r,n){let i=Vr(r);return te(i)?i:this.applyVariants([0,n||e.rawSelector,i,void 0,e.variantHandlers]).map(({selector:a,entries:s,parent:o})=>{let u=`${a}{${Cn(s)}}`;return o?`${o}{${u}}`:u}).join("")}async parseUtil(e,r,n=!1,i){let a=te(e)?await this.matchVariants(e):[e],s=async([u,c,d])=>{this.config.details&&(r.rules=r.rules??[]);let h={...r,variantHandlers:d},p=this.config.rulesStaticMap[c];if(p&&p[1]&&(n||!p[2]?.internal))return this.resolveCSSResult(u,p[1],p,h);for(let l of this.config.rulesDynamic){let[m,f,b]=l;if(b?.internal&&!n)continue;let v=c;if(b?.prefix){let $=J(b.prefix);if(i){let x=J(i);if(!$.some(S=>x.includes(S)))continue}else{let x=$.find(S=>c.startsWith(S));if(x==null)continue;v=c.slice(x.length)}}let y=v.match(m);if(!y)continue;let w=await f(y,h);if(!w)continue;if(typeof w!="string")if(Symbol.asyncIterator in w){let $=[];for await(let x of w)x&&$.push(x);w=$}else Symbol.iterator in w&&!Array.isArray(w)&&(w=Array.from(w).filter(er));let k=this.resolveCSSResult(u,w,l,h);if(k)return k}},o=(await Promise.all(a.map(u=>s(u)))).flat().filter(u=>!!u);if(o.length)return o}stringifyUtil(e,r){if(!e)return;if(wa(e))return[[e[0],void 0,e[1],void 0,e[2],this.config.details?r:void 0,void 0]];let n=this.applyVariants(e),i=[];for(let a of n){let{selector:s,entries:o,parent:u,layer:c,sort:d,noMerge:h}=a,p=Cn(o);if(!p)continue;let{layer:l,sort:m,...f}=e[3]??{},b={...f,layer:c??l,sort:d??m};i.push([e[0],s,p,u,b,this.config.details?r:void 0,h])}return i}async expandShortcut(e,r,n=5){if(n===0)return;let i=this.config.details?c=>{r.shortcuts=r.shortcuts??[],r.shortcuts.push(c)}:ed,a,s,o,u;for(let c of this.config.shortcuts){let d=e;if(c[2]?.prefix){let h=J(c[2].prefix).find(p=>e.startsWith(p));if(h==null)continue;d=e.slice(h.length)}if(sd(c)){if(c[0]===d){a=a||c[2],s=c[1],i(c);break}}else{let h=d.match(c[0]);if(h&&(s=c[1](h,r)),s){a=a||c[2],i(c);break}}}if(s&&(o=je(J(s).filter(te).map(c=>cd(c.trim()).split(/\s+/g)).flat()),u=J(s).filter(c=>!te(c)).map(c=>({handles:[],value:c}))),!s){let c=te(e)?await this.matchVariants(e):[e];for(let d of c){let[h,p,l]=d;if(h!==p){let m=await this.expandShortcut(p,r,n-1);m&&(o=m[0].filter(te).map(f=>h.replace(p,f)),u=m[0].filter(f=>!te(f)).map(f=>({handles:[...f.handles,...l],value:f.value})))}}}if(!(!o?.length&&!u?.length))return[[await Promise.all(J(o).map(async c=>(await this.expandShortcut(c,r,n-1))?.[0]||[c])),u].flat(2).filter(c=>!!c),a]}async stringifyShortcuts(e,r,n,i={layer:this.config.shortcutsLayer}){let a=new rd,s=(await Promise.all(je(n).map(async d=>{let h=te(d)?await this.parseUtil(d,r,!0,i.prefix):[[Number.POSITIVE_INFINITY,"{inline}",Vr(d.value),void 0,d.handles]];return!h&&this.config.warn&&dd(`unmatched utility "${d}" in shortcut "${e[1]}"`),h||[]}))).flat(1).filter(Boolean).sort((d,h)=>d[0]-h[0]),[o,,u]=e,c=[];for(let d of s){if(wa(d)){c.push([d[0],void 0,d[1],void 0,d[2],r,void 0]);continue}let h=Object.fromEntries(d[2])[re.shortcutsNoMerge],p=[...d[4],...h?[]:u];for(let{selector:l,entries:m,parent:f,sort:b,noMerge:v,layer:y}of this.applyVariants(d,p,o))a.getFallback(y??i.layer,new td).getFallback(l,f,[[],d[0]])[0].push([m,!!(v??d[3]?.noMerge),b??0])}return c.concat(a.flatMap((d,h)=>d.map(([p,l],m,f)=>{let b=(v,y,w)=>{let k=Math.max(...w.map(x=>x[1])),$=w.map(x=>x[0]);return(v?[$.flat(1)]:$).map(x=>{let S=Cn(x);if(S)return[l,m,S,f,{...i,noMerge:y,sort:k,layer:h},r,void 0]})};return[[p.filter(([,v])=>v).map(([v,,y])=>[v,y]),!0],[p.filter(([,v])=>!v).map(([v,,y])=>[v,y]),!1]].map(([v,y])=>[...b(!1,y,v.filter(([w])=>w.some(k=>k[0]===re.shortcutsNoMerge))),...b(!0,y,v.filter(([w])=>w.every(k=>k[0]!==re.shortcutsNoMerge)))])}).flat(2).filter(Boolean)))}isBlocked(e){return!e||this.config.blocklist.map(r=>Array.isArray(r)?r[0]:r).some(r=>typeof r=="function"?r(e):te(r)?r===e:r.test(e))}getBlocked(e){let r=this.config.blocklist.find(n=>{let i=Array.isArray(n)?n[0]:n;return typeof i=="function"?i(e):te(i)?i===e:i.test(e)});return r?Array.isArray(r)?r:[r,void 0]:void 0}};async function vd(t,e){return await yd.create(t,e)}var Ps=/\s\$\$\s+/g;function kd(t){return Ps.test(t)}function xd(t,e){return kd(t)?t.replace(Ps,e?` ${e} `:" "):e?`${e} ${t}`:t}var Aa=/^\[(.+?)(~?=)"(.*)"\]$/;function wd(t){return Aa.test(t)?t.replace(Aa,(e,r,n,i)=>`[${An(r)}${n}"${An(i)}"]`):`.${An(t)}`}function $d(t,e){return e(t)}var Ed=44,Sd=59,Ca="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",zs=new Uint8Array(64),_d=new Uint8Array(128);for(let t=0;t<Ca.length;t++){let e=Ca.charCodeAt(t);zs[t]=e,_d[e]=t}function Rt(t,e,r){let n=e-r;n=n<0?-n<<1|1:n<<1;do{let i=n&31;n>>>=5,n>0&&(i|=32),t.write(zs[i])}while(n>0);return e}var Da=1024*16,Oa=typeof TextDecoder<"u"?new TextDecoder:typeof Buffer<"u"?{decode(t){return Buffer.from(t.buffer,t.byteOffset,t.byteLength).toString()}}:{decode(t){let e="";for(let r=0;r<t.length;r++)e+=String.fromCharCode(t[r]);return e}},Ad=class{constructor(){this.pos=0,this.out="",this.buffer=new Uint8Array(Da)}write(t){let{buffer:e}=this;e[this.pos++]=t,this.pos===Da&&(this.out+=Oa.decode(e),this.pos=0)}flush(){let{buffer:t,out:e,pos:r}=this;return r>0?e+Oa.decode(t.subarray(0,r)):e}};function Cd(t){let e=new Ad,r=0,n=0,i=0,a=0;for(let s=0;s<t.length;s++){let o=t[s];if(s>0&&e.write(Sd),o.length===0)continue;let u=0;for(let c=0;c<o.length;c++){let d=o[c];c>0&&e.write(Ed),u=Rt(e,d[0],u),d.length!==1&&(r=Rt(e,d[1],r),n=Rt(e,d[2],n),i=Rt(e,d[3],i),d.length!==4&&(a=Rt(e,d[4],a)))}}return e.flush()}var Ba=class Ts{constructor(e){this.bits=e instanceof Ts?e.bits.slice():[]}add(e){this.bits[e>>5]|=1<<(e&31)}has(e){return!!(this.bits[e>>5]&1<<(e&31))}},Fa=class Kn{constructor(e,r,n){this.start=e,this.end=r,this.original=n,this.intro="",this.outro="",this.content=n,this.storeName=!1,this.edited=!1,this.previous=null,this.next=null}appendLeft(e){this.outro+=e}appendRight(e){this.intro=this.intro+e}clone(){let e=new Kn(this.start,this.end,this.original);return e.intro=this.intro,e.outro=this.outro,e.content=this.content,e.storeName=this.storeName,e.edited=this.edited,e}contains(e){return this.start<e&&e<this.end}eachNext(e){let r=this;for(;r;)e(r),r=r.next}eachPrevious(e){let r=this;for(;r;)e(r),r=r.previous}edit(e,r,n){return this.content=e,n||(this.intro="",this.outro=""),this.storeName=r,this.edited=!0,this}prependLeft(e){this.outro=e+this.outro}prependRight(e){this.intro=e+this.intro}reset(){this.intro="",this.outro="",this.edited&&(this.content=this.original,this.storeName=!1,this.edited=!1)}split(e){let r=e-this.start,n=this.original.slice(0,r),i=this.original.slice(r);this.original=n;let a=new Kn(e,this.end,i);return a.outro=this.outro,this.outro="",this.end=e,this.edited?(a.edit("",!1),this.content=""):this.content=n,a.next=this.next,a.next&&(a.next.previous=a),a.previous=this,this.next=a,a}toString(){return this.intro+this.content+this.outro}trimEnd(e){if(this.outro=this.outro.replace(e,""),this.outro.length)return!0;let r=this.content.replace(e,"");if(r.length)return r!==this.content&&(this.split(this.start+r.length).edit("",void 0,!0),this.edited&&this.edit(r,this.storeName,!0)),!0;if(this.edit("",void 0,!0),this.intro=this.intro.replace(e,""),this.intro.length)return!0}trimStart(e){if(this.intro=this.intro.replace(e,""),this.intro.length)return!0;let r=this.content.replace(e,"");if(r.length){if(r!==this.content){let n=this.split(this.end-r.length);this.edited&&n.edit(r,this.storeName,!0),this.edit("",void 0,!0)}return!0}else if(this.edit("",void 0,!0),this.outro=this.outro.replace(e,""),this.outro.length)return!0}};function Dd(){return typeof globalThis<"u"&&typeof globalThis.btoa=="function"?t=>globalThis.btoa(unescape(encodeURIComponent(t))):typeof Buffer=="function"?t=>Buffer.from(t,"utf-8").toString("base64"):()=>{throw new Error("Unsupported environment: `window.btoa` or `Buffer` should be supported.")}}var Od=Dd(),Bd=class{constructor(t){this.version=3,this.file=t.file,this.sources=t.sources,this.sourcesContent=t.sourcesContent,this.names=t.names,this.mappings=Cd(t.mappings),typeof t.x_google_ignoreList<"u"&&(this.x_google_ignoreList=t.x_google_ignoreList),typeof t.debugId<"u"&&(this.debugId=t.debugId)}toString(){return JSON.stringify(this)}toUrl(){return"data:application/json;charset=utf-8;base64,"+Od(this.toString())}};function Fd(t){let e=t.split(`
26
+ `),r=e.filter(a=>/^\t+/.test(a)),n=e.filter(a=>/^ {2,}/.test(a));if(r.length===0&&n.length===0)return null;if(r.length>=n.length)return" ";let i=n.reduce((a,s)=>{let o=/^ +/.exec(s)[0].length;return Math.min(o,a)},1/0);return new Array(i+1).join(" ")}function Md(t,e){let r=t.split(/[/\\]/),n=e.split(/[/\\]/);for(r.pop();r[0]===n[0];)r.shift(),n.shift();if(r.length){let i=r.length;for(;i--;)r[i]=".."}return r.concat(n).join("/")}var Nd=Object.prototype.toString;function Ld(t){return Nd.call(t)==="[object Object]"}function Ma(t){let e=t.split(`
27
+ `),r=[];for(let n=0,i=0;n<e.length;n++)r.push(i),i+=e[n].length+1;return function(n){let i=0,a=r.length;for(;i<a;){let u=i+a>>1;n<r[u]?a=u:i=u+1}let s=i-1,o=n-r[s];return{line:s,column:o}}}var Pd=/\w/,zd=class{constructor(t){this.hires=t,this.generatedCodeLine=0,this.generatedCodeColumn=0,this.raw=[],this.rawSegments=this.raw[this.generatedCodeLine]=[],this.pending=null}addEdit(t,e,r,n){if(e.length){let i=e.length-1,a=e.indexOf(`
28
28
  `,0),s=-1;for(;a>=0&&i>a;){let u=[this.generatedCodeColumn,t,r.line,r.column];n>=0&&u.push(n),this.rawSegments.push(u),this.generatedCodeLine+=1,this.raw[this.generatedCodeLine]=this.rawSegments=[],this.generatedCodeColumn=0,s=a,a=e.indexOf(`
29
29
  `,a+1)}let o=[this.generatedCodeColumn,t,r.line,r.column];n>=0&&o.push(n),this.rawSegments.push(o),this.advance(e.slice(s+1))}else this.pending&&(this.rawSegments.push(this.pending),this.advance(e));this.pending=null}addUneditedChunk(t,e,r,n,i){let a=e.start,s=!0,o=!1;for(;a<e.end;){if(r[a]===`
30
30
  `)n.line+=1,n.column=0,this.generatedCodeLine+=1,this.raw[this.generatedCodeLine]=this.rawSegments=[],this.generatedCodeColumn=0,s=!0,o=!1;else{if(this.hires||s||i.has(a)){let u=[this.generatedCodeColumn,t,n.line,n.column];this.hires==="boundary"?Pd.test(r[a])?o||(this.rawSegments.push(u),o=!0):(this.rawSegments.push(u),o=!1):this.rawSegments.push(u)}n.column+=1,this.generatedCodeColumn+=1,s=!1}a+=1}this.pending=null}advance(t){if(!t)return;let e=t.split(`
31
31
  `);if(e.length>1){for(let r=0;r<e.length-1;r++)this.generatedCodeLine++,this.raw[this.generatedCodeLine]=this.rawSegments=[];this.generatedCodeColumn=0}this.generatedCodeColumn+=e[e.length-1].length}},Vt=`
32
- `,bt={insertLeft:!1,insertRight:!1,storeName:!1},zd=class Ts{constructor(e,r={}){let n=new Ba(0,e.length,e);Object.defineProperties(this,{original:{writable:!0,value:e},outro:{writable:!0,value:""},intro:{writable:!0,value:""},firstChunk:{writable:!0,value:n},lastChunk:{writable:!0,value:n},lastSearchedChunk:{writable:!0,value:n},byStart:{writable:!0,value:{}},byEnd:{writable:!0,value:{}},filename:{writable:!0,value:r.filename},indentExclusionRanges:{writable:!0,value:r.indentExclusionRanges},sourcemapLocations:{writable:!0,value:new Oa},storedNames:{writable:!0,value:{}},indentStr:{writable:!0,value:void 0},ignoreList:{writable:!0,value:r.ignoreList},offset:{writable:!0,value:r.offset||0}}),this.byStart[0]=n,this.byEnd[e.length]=n}addSourcemapLocation(e){this.sourcemapLocations.add(e)}append(e){if(typeof e!="string")throw new TypeError("outro content must be a string");return this.outro+=e,this}appendLeft(e,r){if(e=e+this.offset,typeof r!="string")throw new TypeError("inserted content must be a string");this._split(e);let n=this.byEnd[e];return n?n.appendLeft(r):this.intro+=r,this}appendRight(e,r){if(e=e+this.offset,typeof r!="string")throw new TypeError("inserted content must be a string");this._split(e);let n=this.byStart[e];return n?n.appendRight(r):this.outro+=r,this}clone(){let e=new Ts(this.original,{filename:this.filename,offset:this.offset}),r=this.firstChunk,n=e.firstChunk=e.lastSearchedChunk=r.clone();for(;r;){e.byStart[n.start]=n,e.byEnd[n.end]=n;let i=r.next,a=i&&i.clone();a&&(n.next=a,a.previous=n,n=a),r=i}return e.lastChunk=n,this.indentExclusionRanges&&(e.indentExclusionRanges=this.indentExclusionRanges.slice()),e.sourcemapLocations=new Oa(this.sourcemapLocations),e.intro=this.intro,e.outro=this.outro,e}generateDecodedMap(e){e=e||{};let r=0,n=Object.keys(this.storedNames),i=new Ld(e.hires),a=Fa(this.original);return this.intro&&i.advance(this.intro),this.firstChunk.eachNext(s=>{let o=a(s.start);s.intro.length&&i.advance(s.intro),s.edited?i.addEdit(r,s.content,o,s.storeName?n.indexOf(s.original):-1):i.addUneditedChunk(r,s,this.original,o,this.sourcemapLocations),s.outro.length&&i.advance(s.outro)}),this.outro&&i.advance(this.outro),{file:e.file?e.file.split(/[/\\]/).pop():void 0,sources:[e.source?Fd(e.file||"",e.source):e.file||""],sourcesContent:e.includeContent?[this.original]:void 0,names:n,mappings:i.raw,x_google_ignoreList:this.ignoreList?[r]:void 0}}generateMap(e){return new Od(this.generateDecodedMap(e))}_ensureindentStr(){this.indentStr===void 0&&(this.indentStr=Bd(this.original))}_getRawIndentString(){return this._ensureindentStr(),this.indentStr}getIndentString(){return this._ensureindentStr(),this.indentStr===null?" ":this.indentStr}indent(e,r){let n=/^[^\r\n]/gm;if(Nd(e)&&(r=e,e=void 0),e===void 0&&(this._ensureindentStr(),e=this.indentStr||" "),e==="")return this;r=r||{};let i={};r.exclude&&(typeof r.exclude[0]=="number"?[r.exclude]:r.exclude).forEach(c=>{for(let d=c[0];d<c[1];d+=1)i[d]=!0});let a=r.indentStart!==!1,s=c=>a?`${e}${c}`:(a=!0,c);this.intro=this.intro.replace(n,s);let o=0,u=this.firstChunk;for(;u;){let c=u.end;if(u.edited)i[o]||(u.content=u.content.replace(n,s),u.content.length&&(a=u.content[u.content.length-1]===`
32
+ `,bt={insertLeft:!1,insertRight:!1,storeName:!1},Td=class js{constructor(e,r={}){let n=new Fa(0,e.length,e);Object.defineProperties(this,{original:{writable:!0,value:e},outro:{writable:!0,value:""},intro:{writable:!0,value:""},firstChunk:{writable:!0,value:n},lastChunk:{writable:!0,value:n},lastSearchedChunk:{writable:!0,value:n},byStart:{writable:!0,value:{}},byEnd:{writable:!0,value:{}},filename:{writable:!0,value:r.filename},indentExclusionRanges:{writable:!0,value:r.indentExclusionRanges},sourcemapLocations:{writable:!0,value:new Ba},storedNames:{writable:!0,value:{}},indentStr:{writable:!0,value:void 0},ignoreList:{writable:!0,value:r.ignoreList},offset:{writable:!0,value:r.offset||0}}),this.byStart[0]=n,this.byEnd[e.length]=n}addSourcemapLocation(e){this.sourcemapLocations.add(e)}append(e){if(typeof e!="string")throw new TypeError("outro content must be a string");return this.outro+=e,this}appendLeft(e,r){if(e=e+this.offset,typeof r!="string")throw new TypeError("inserted content must be a string");this._split(e);let n=this.byEnd[e];return n?n.appendLeft(r):this.intro+=r,this}appendRight(e,r){if(e=e+this.offset,typeof r!="string")throw new TypeError("inserted content must be a string");this._split(e);let n=this.byStart[e];return n?n.appendRight(r):this.outro+=r,this}clone(){let e=new js(this.original,{filename:this.filename,offset:this.offset}),r=this.firstChunk,n=e.firstChunk=e.lastSearchedChunk=r.clone();for(;r;){e.byStart[n.start]=n,e.byEnd[n.end]=n;let i=r.next,a=i&&i.clone();a&&(n.next=a,a.previous=n,n=a),r=i}return e.lastChunk=n,this.indentExclusionRanges&&(e.indentExclusionRanges=this.indentExclusionRanges.slice()),e.sourcemapLocations=new Ba(this.sourcemapLocations),e.intro=this.intro,e.outro=this.outro,e}generateDecodedMap(e){e=e||{};let r=0,n=Object.keys(this.storedNames),i=new zd(e.hires),a=Ma(this.original);return this.intro&&i.advance(this.intro),this.firstChunk.eachNext(s=>{let o=a(s.start);s.intro.length&&i.advance(s.intro),s.edited?i.addEdit(r,s.content,o,s.storeName?n.indexOf(s.original):-1):i.addUneditedChunk(r,s,this.original,o,this.sourcemapLocations),s.outro.length&&i.advance(s.outro)}),this.outro&&i.advance(this.outro),{file:e.file?e.file.split(/[/\\]/).pop():void 0,sources:[e.source?Md(e.file||"",e.source):e.file||""],sourcesContent:e.includeContent?[this.original]:void 0,names:n,mappings:i.raw,x_google_ignoreList:this.ignoreList?[r]:void 0}}generateMap(e){return new Bd(this.generateDecodedMap(e))}_ensureindentStr(){this.indentStr===void 0&&(this.indentStr=Fd(this.original))}_getRawIndentString(){return this._ensureindentStr(),this.indentStr}getIndentString(){return this._ensureindentStr(),this.indentStr===null?" ":this.indentStr}indent(e,r){let n=/^[^\r\n]/gm;if(Ld(e)&&(r=e,e=void 0),e===void 0&&(this._ensureindentStr(),e=this.indentStr||" "),e==="")return this;r=r||{};let i={};r.exclude&&(typeof r.exclude[0]=="number"?[r.exclude]:r.exclude).forEach(c=>{for(let d=c[0];d<c[1];d+=1)i[d]=!0});let a=r.indentStart!==!1,s=c=>a?`${e}${c}`:(a=!0,c);this.intro=this.intro.replace(n,s);let o=0,u=this.firstChunk;for(;u;){let c=u.end;if(u.edited)i[o]||(u.content=u.content.replace(n,s),u.content.length&&(a=u.content[u.content.length-1]===`
33
33
  `));else for(o=u.start;o<c;){if(!i[o]){let d=this.original[o];d===`
34
- `?a=!0:d!=="\r"&&a&&(a=!1,o===u.start||(this._splitChunk(u,o),u=u.next),u.prependRight(e))}o+=1}o=u.end,u=u.next}return this.outro=this.outro.replace(n,s),this}insert(){throw new Error("magicString.insert(...) is deprecated. Use prependRight(...) or appendLeft(...)")}insertLeft(e,r){return bt.insertLeft||(console.warn("magicString.insertLeft(...) is deprecated. Use magicString.appendLeft(...) instead"),bt.insertLeft=!0),this.appendLeft(e,r)}insertRight(e,r){return bt.insertRight||(console.warn("magicString.insertRight(...) is deprecated. Use magicString.prependRight(...) instead"),bt.insertRight=!0),this.prependRight(e,r)}move(e,r,n){if(e=e+this.offset,r=r+this.offset,n=n+this.offset,n>=e&&n<=r)throw new Error("Cannot move a selection inside itself");this._split(e),this._split(r),this._split(n);let i=this.byStart[e],a=this.byEnd[r],s=i.previous,o=a.next,u=this.byStart[n];if(!u&&a===this.lastChunk)return this;let c=u?u.previous:this.lastChunk;return s&&(s.next=o),o&&(o.previous=s),c&&(c.next=i),u&&(u.previous=a),i.previous||(this.firstChunk=a.next),a.next||(this.lastChunk=i.previous,this.lastChunk.next=null),i.previous=c,a.next=u||null,c||(this.firstChunk=i),u||(this.lastChunk=a),this}overwrite(e,r,n,i){return i=i||{},this.update(e,r,n,{...i,overwrite:!i.contentOnly})}update(e,r,n,i){if(e=e+this.offset,r=r+this.offset,typeof n!="string")throw new TypeError("replacement content must be a string");if(this.original.length!==0){for(;e<0;)e+=this.original.length;for(;r<0;)r+=this.original.length}if(r>this.original.length)throw new Error("end is out of bounds");if(e===r)throw new Error("Cannot overwrite a zero-length range \u2013 use appendLeft or prependRight instead");this._split(e),this._split(r),i===!0&&(bt.storeName||(console.warn("The final argument to magicString.overwrite(...) should be an options object. See https://github.com/rich-harris/magic-string"),bt.storeName=!0),i={storeName:!0});let a=i!==void 0?i.storeName:!1,s=i!==void 0?i.overwrite:!1;if(a){let c=this.original.slice(e,r);Object.defineProperty(this.storedNames,c,{writable:!0,value:!0,enumerable:!0})}let o=this.byStart[e],u=this.byEnd[r];if(o){let c=o;for(;c!==u;){if(c.next!==this.byStart[c.end])throw new Error("Cannot overwrite across a split point");c=c.next,c.edit("",!1)}o.edit(n,a,!s)}else{let c=new Ba(e,r,"").edit(n,a);u.next=c,c.previous=u}return this}prepend(e){if(typeof e!="string")throw new TypeError("outro content must be a string");return this.intro=e+this.intro,this}prependLeft(e,r){if(e=e+this.offset,typeof r!="string")throw new TypeError("inserted content must be a string");this._split(e);let n=this.byEnd[e];return n?n.prependLeft(r):this.intro=r+this.intro,this}prependRight(e,r){if(e=e+this.offset,typeof r!="string")throw new TypeError("inserted content must be a string");this._split(e);let n=this.byStart[e];return n?n.prependRight(r):this.outro=r+this.outro,this}remove(e,r){if(e=e+this.offset,r=r+this.offset,this.original.length!==0){for(;e<0;)e+=this.original.length;for(;r<0;)r+=this.original.length}if(e===r)return this;if(e<0||r>this.original.length)throw new Error("Character is out of bounds");if(e>r)throw new Error("end must be greater than start");this._split(e),this._split(r);let n=this.byStart[e];for(;n;)n.intro="",n.outro="",n.edit(""),n=r>n.end?this.byStart[n.end]:null;return this}reset(e,r){if(e=e+this.offset,r=r+this.offset,this.original.length!==0){for(;e<0;)e+=this.original.length;for(;r<0;)r+=this.original.length}if(e===r)return this;if(e<0||r>this.original.length)throw new Error("Character is out of bounds");if(e>r)throw new Error("end must be greater than start");this._split(e),this._split(r);let n=this.byStart[e];for(;n;)n.reset(),n=r>n.end?this.byStart[n.end]:null;return this}lastChar(){if(this.outro.length)return this.outro[this.outro.length-1];let e=this.lastChunk;do{if(e.outro.length)return e.outro[e.outro.length-1];if(e.content.length)return e.content[e.content.length-1];if(e.intro.length)return e.intro[e.intro.length-1]}while(e=e.previous);return this.intro.length?this.intro[this.intro.length-1]:""}lastLine(){let e=this.outro.lastIndexOf(Vt);if(e!==-1)return this.outro.substr(e+1);let r=this.outro,n=this.lastChunk;do{if(n.outro.length>0){if(e=n.outro.lastIndexOf(Vt),e!==-1)return n.outro.substr(e+1)+r;r=n.outro+r}if(n.content.length>0){if(e=n.content.lastIndexOf(Vt),e!==-1)return n.content.substr(e+1)+r;r=n.content+r}if(n.intro.length>0){if(e=n.intro.lastIndexOf(Vt),e!==-1)return n.intro.substr(e+1)+r;r=n.intro+r}}while(n=n.previous);return e=this.intro.lastIndexOf(Vt),e!==-1?this.intro.substr(e+1)+r:this.intro+r}slice(e=0,r=this.original.length-this.offset){if(e=e+this.offset,r=r+this.offset,this.original.length!==0){for(;e<0;)e+=this.original.length;for(;r<0;)r+=this.original.length}let n="",i=this.firstChunk;for(;i&&(i.start>e||i.end<=e);){if(i.start<r&&i.end>=r)return n;i=i.next}if(i&&i.edited&&i.start!==e)throw new Error(`Cannot use replaced character ${e} as slice start anchor.`);let a=i;for(;i;){i.intro&&(a!==i||i.start===e)&&(n+=i.intro);let s=i.start<r&&i.end>=r;if(s&&i.edited&&i.end!==r)throw new Error(`Cannot use replaced character ${r} as slice end anchor.`);let o=a===i?e-i.start:0,u=s?i.content.length+r-i.end:i.content.length;if(n+=i.content.slice(o,u),i.outro&&(!s||i.end===r)&&(n+=i.outro),s)break;i=i.next}return n}snip(e,r){let n=this.clone();return n.remove(0,e),n.remove(r,n.original.length),n}_split(e){if(this.byStart[e]||this.byEnd[e])return;let r=this.lastSearchedChunk,n=r,i=e>r.end;for(;r;){if(r.contains(e))return this._splitChunk(r,e);if(r=i?this.byStart[r.end]:this.byEnd[r.start],r===n)return;n=r}}_splitChunk(e,r){if(e.edited&&e.content.length){let i=Fa(this.original)(r);throw new Error(`Cannot split a chunk that has already been edited (${i.line}:${i.column} \u2013 "${e.original}")`)}let n=e.split(r);return this.byEnd[r]=e,this.byStart[r]=n,this.byEnd[n.end]=n,e===this.lastChunk&&(this.lastChunk=n),this.lastSearchedChunk=e,!0}toString(){let e=this.intro,r=this.firstChunk;for(;r;)e+=r.toString(),r=r.next;return e+this.outro}isEmpty(){let e=this.firstChunk;do if(e.intro.length&&e.intro.trim()||e.content.length&&e.content.trim()||e.outro.length&&e.outro.trim())return!1;while(e=e.next);return!0}length(){let e=this.firstChunk,r=0;do r+=e.intro.length+e.content.length+e.outro.length;while(e=e.next);return r}trimLines(){return this.trim("[\\r\\n]")}trim(e){return this.trimStart(e).trimEnd(e)}trimEndAborted(e){let r=new RegExp((e||"\\s")+"+$");if(this.outro=this.outro.replace(r,""),this.outro.length)return!0;let n=this.lastChunk;do{let i=n.end,a=n.trimEnd(r);if(n.end!==i&&(this.lastChunk===n&&(this.lastChunk=n.next),this.byEnd[n.end]=n,this.byStart[n.next.start]=n.next,this.byEnd[n.next.end]=n.next),a)return!0;n=n.previous}while(n);return!1}trimEnd(e){return this.trimEndAborted(e),this}trimStartAborted(e){let r=new RegExp("^"+(e||"\\s")+"+");if(this.intro=this.intro.replace(r,""),this.intro.length)return!0;let n=this.firstChunk;do{let i=n.end,a=n.trimStart(r);if(n.end!==i&&(n===this.lastChunk&&(this.lastChunk=n.next),this.byEnd[n.end]=n,this.byStart[n.next.start]=n.next,this.byEnd[n.next.end]=n.next),a)return!0;n=n.next}while(n);return!1}trimStart(e){return this.trimStartAborted(e),this}hasChanged(){return this.original!==this.toString()}_replaceRegexp(e,r){function n(a,s){return typeof r=="string"?r.replace(/\$(\$|&|\d+)/g,(o,u)=>u==="$"?"$":u==="&"?a[0]:+u<a.length?a[+u]:`$${u}`):r(...a,a.index,s,a.groups)}function i(a,s){let o,u=[];for(;o=a.exec(s);)u.push(o);return u}if(e.global)i(e,this.original).forEach(a=>{if(a.index!=null){let s=n(a,this.original);s!==a[0]&&this.overwrite(a.index,a.index+a[0].length,s)}});else{let a=this.original.match(e);if(a&&a.index!=null){let s=n(a,this.original);s!==a[0]&&this.overwrite(a.index,a.index+a[0].length,s)}}return this}_replaceString(e,r){let{original:n}=this,i=n.indexOf(e);return i!==-1&&(typeof r=="function"&&(r=r(e,i,n)),e!==r&&this.overwrite(i,i+e.length,r)),this}replace(e,r){return typeof e=="string"?this._replaceString(e,r):this._replaceRegexp(e,r)}_replaceAllString(e,r){let{original:n}=this,i=e.length;for(let a=n.indexOf(e);a!==-1;a=n.indexOf(e,a+i)){let s=n.slice(a,a+i),o=r;typeof r=="function"&&(o=r(s,a,n)),s!==o&&this.overwrite(a,a+i,o)}return this}replaceAll(e,r){if(typeof e=="string")return this._replaceAllString(e,r);if(!e.global)throw new TypeError("MagicString.prototype.replaceAll called with a non-global RegExp argument");return this._replaceRegexp(e,r)}};function br(t,e,r){if(t==="")return;let n=t.length,i=0,a=!1,s=0;for(let o=0;o<n;o++)switch(t[o]){case e:a||(a=!0,s=o),i++;break;case r:if(--i,i<0)return;if(i===0)return[t.slice(s,o+1),t.slice(o+1),t.slice(0,s)];break}}function nn(t,e,r,n){if(t===""||(te(n)&&(n=[n]),n.length===0))return;let i=t.length,a=0;for(let s=0;s<i;s++)switch(t[s]){case e:a++;break;case r:if(--a<0)return;break;default:for(let o of n){let u=o.length;if(u&&o===t.slice(s,s+u)&&a===0)return s===0||s===i-u?void 0:[t.slice(0,s),t.slice(s+u)]}}return[t,""]}function tt(t,e,r,n="(",i=")"){r=r??10;let a=[],s=0;for(;t!=="";){if(++s>r)return;let o=nn(t,n,i,e);if(!o)return;let[u,c]=o;a.push(u),t=c}if(a.length>0)return a}var xi=["hsl","hsla","hwb","lab","lch","oklab","oklch","rgb","rgba"],Td=["srgb","srgb-linear","display-p3","a98-rgb","prophoto-rgb","rec2020","lab","oklab","xyz","xyz-d50","xyz-d65"],jd=["hsl","hwb","lch","oklch"],Id=["shorter","longer","increasing","decreasing"],js=["%alpha","<alpha-value>"],Is=new RegExp(js.map(t=>or(t)).join("|"),"g");function Ma(t){return t?Td.some(e=>t.includes(e))||jd.some(e=>t.includes(e))||Id.some(e=>t.includes(e)):!1}function wt(t=""){let e=Rd(t);if(e==null||e===!1)return;let{type:r,components:n,alpha:i}=e,a=r.toLowerCase();if(n.length!==0&&!(xi.includes(a)&&![1,3].includes(n.length)))return{type:a,components:n.map(s=>typeof s=="string"?s.trim():s),alpha:typeof i=="string"?i.trim():i}}function ur(t,e){if(typeof t=="string")return t.replace(Is,`${e??1}`);let{components:r}=t,{alpha:n,type:i}=t;return n=e??n,i=i.toLowerCase(),["hsla","rgba"].includes(i)?`${i}(${r.join(", ")}${n==null?"":`, ${n}`})`:(n=n==null?"":` / ${n}`,xi.includes(i)?`${i}(${r.join(" ")}${n})`:`color(${i} ${r.join(" ")}${n})`)}function Rd(t){if(!t)return;let e=Vd(t);if(e!=null||(e=qd(t),e!=null)||(e=Ud(t),e!=null)||(e=Hd(t),e!=null)||(e=Zd(t),e!=null))return e}function Vd(t){let[,e]=t.match(/^#([\da-f]+)$/i)||[];if(e)switch(e.length){case 3:case 4:{let r=Array.from(e,n=>Number.parseInt(n,16)).map(n=>n<<4|n);return{type:"rgb",components:r.slice(0,3),alpha:e.length===3?void 0:Math.round(r[3]/255*100)/100}}case 6:case 8:{let r=Number.parseInt(e,16);return{type:"rgb",components:e.length===6?[r>>16&255,r>>8&255,r&255]:[r>>24&255,r>>16&255,r>>8&255],alpha:e.length===6?void 0:Math.round((r&255)/255*100)/100}}}}function qd(t){let e={rebeccapurple:[102,51,153,1]}[t];if(e!=null)return{type:"rgb",components:e.slice(0,3),alpha:e[3]}}function Ud(t){let e=t.match(/^(rgb|rgba|hsl|hsla)\((.+)\)$/i);if(!e)return;let[,r,n]=e,i=tt(n,",",5);if(i){if([3,4].includes(i.length))return{type:r,components:i.slice(0,3),alpha:i[3]};if(i.length!==1)return!1}}var Wd=new RegExp(`^(${xi.join("|")})\\((.+)\\)$`,"i");function Hd(t){let e=t.match(Wd);if(!e)return;let[,r,n]=e,i=Rs(`${r} ${n}`);if(i){let{alpha:a,components:[s,...o]}=i;return{type:s,components:o,alpha:a}}}function Zd(t){let e=t.match(/^color\((.+)\)$/);if(!e)return;let r=Rs(e[1]);if(r){let{alpha:n,components:[i,...a]}=r;return{type:i,components:a,alpha:n}}}function Rs(t){let e=tt(t," ");if(!e)return;let r=e.length;if(e[r-2]==="/")return{components:e.slice(0,r-2),alpha:e[r-1]};if(e[r-2]!=null&&(e[r-2].endsWith("/")||e[r-1].startsWith("/"))){let a=e.splice(r-2);e.push(a.join(" ")),--r}let n=tt(e[r-1],"/",2);if(!n)return;if(n.length===1||n[n.length-1]==="")return{components:e};let i=n.pop();return e[r-1]=n.join("/"),{components:e,alpha:i}}var Yd=/theme\(\s*(['"])?(.*?)\1?\s*\)/g;function Gd(t){return t.includes("theme(")&&t.includes(")")}function Jd(t,e,r=!0){let n=Array.from(t.toString().matchAll(Yd));if(!n.length)return t;let i=new zd(t);for(let a of n){let s=a[2];if(!s)throw new Error("theme() expect exact one argument, but got 0");let o=Kd(s,e,r);o&&i.overwrite(a.index,a.index+a[0].length,o)}return i.toString()}function Kd(t,e,r=!0){let[n,i]=t.split("/"),a=n.trim().split(".").reduce((s,o)=>s?.[o],e);if(typeof a=="object"&&(a=a.DEFAULT),typeof a=="string"){if(i){let s=wt(a);s&&(a=ur(s,i))}return a}else if(r)throw new Error(`theme of "${t}" did not found`)}function Na(t){var e;let r=((e=t.match(/^-?\d+\.?\d*/))===null||e===void 0?void 0:e[0])||"",n=t.slice(r.length);if(n==="px"){let i=Number.parseFloat(r)-.1;return Number.isNaN(i)?t:`${i}${n}`}return`calc(${t} - 0.1px)`}function Xd(t){let e=function(n,i){var a;let s=((a=this.__options)===null||a===void 0?void 0:a.sequence)||[];this.__options.sequence=[];for(let o of s){let u=t[o](n,i);if(u!=null)return u}};function r(n,i){return n.__options||(n.__options={sequence:[]}),n.__options.sequence.push(i),n}for(let n of Object.keys(t))Object.defineProperty(e,n,{enumerable:!0,configurable:!0,get(){return r(this,n)}});return e}var tr="__pseudo_placeholder__",Lt=Object.fromEntries([["first-letter","::first-letter"],["first-line","::first-line"],"any-link","link","visited","target",["open","[open]"],"default","checked","indeterminate","placeholder-shown","autofill","optional","required","valid","invalid","user-valid","user-invalid","in-range","out-of-range","read-only","read-write","empty","focus-within","hover","focus","focus-visible","active","enabled","disabled","popover-open","root","empty",["even-of-type",":nth-of-type(even)"],["even",":nth-child(even)"],["odd-of-type",":nth-of-type(odd)"],["odd",":nth-child(odd)"],["nth",`:nth-child(${tr})`],["nth-last",`:nth-last-child(${tr})`],["nth-last-of-type",`:nth-last-of-type(${tr})`],["nth-of-type",`:nth-of-type(${tr})`],"first-of-type",["first",":first-child"],"last-of-type",["last",":last-child"],"only-child","only-of-type",["backdrop-element","::backdrop"],["placeholder","::placeholder"],["before","::before"],["after","::after"],["file","::file-selector-button"],["details-content","::details-content"]].map(t=>Array.isArray(t)?t:[t,`:${t}`])),Vs=Object.keys(Lt),zt=Object.fromEntries([["backdrop","::backdrop"]].map(t=>Array.isArray(t)?t:[t,`:${t}`])),qs=Object.keys(zt),Qd=["not","is","where","has"],Us=Object.fromEntries([["selection",["::selection"," *::selection"]],["marker",["::marker"," *::marker"]]]),Kn=Object.entries(Lt).filter(([,t])=>!t.startsWith("::")).map(([t])=>t).sort((t,e)=>e.length-t.length).join("|"),Xn=Object.entries(zt).filter(([,t])=>!t.startsWith("::")).map(([t])=>t).sort((t,e)=>e.length-t.length).join("|"),ut=Qd.join("|"),Pa=Object.keys(Us).sort((t,e)=>e.length-t.length).join("|"),eh=["::-webkit-resizer","::-webkit-scrollbar","::-webkit-scrollbar-button","::-webkit-scrollbar-corner","::-webkit-scrollbar-thumb","::-webkit-scrollbar-track","::-webkit-scrollbar-track-piece","::file-selector-button"],La=Object.entries(Lt).map(([t])=>t).sort((t,e)=>e.length-t.length).join("|"),za=Object.entries(zt).map(([t])=>t).sort((t,e)=>e.length-t.length).join("|");function th(t,e,r,n){let{h:i,variantGetBracket:a}=n,s=new RegExp(`^(${or(e)}:)(\\S+)${or(r)}\\1`),o,u,c,d,h=m=>{var f;let b=a(`${t}-`,m,[]);if(!b)return;let[v,y]=b,w=i.bracket(v);if(w==null)return;let k=((f=y.split(o,1))===null||f===void 0?void 0:f[0])??"",$=`${e}${xe(k)}`;return[k,m.slice(m.length-(y.length-k.length-1)),w.includes("&")?w.replace(/&/g,$):`${$}${w}`]},p=m=>{let f=m.match(u)||m.match(c);if(!f)return;let[b,v,y]=f,w=f[3]??"",k=Lt[y]||zt[y]||`:${y}`;return v&&(k=`:${v}(${k})`),[w,m.slice(b.length),`${e}${xe(w)}${k}`,y]},l=m=>{let f=m.match(d);if(!f)return;let[b,v,y]=f,w=f[3]??"",k=`:${v}(${y})`;return[w,m.slice(b.length),`${e}${xe(w)}${k}`]};return{name:`pseudo:${t}`,match(m,f){if(o&&u&&c||(o=new RegExp(`(?:${f.generator.config.separators.join("|")})`),u=new RegExp(`^${t}-(?:(?:(${ut})-)?(${Kn}))(?:(/[\\w-]+))?(?:${f.generator.config.separators.join("|")})`),c=new RegExp(`^${t}-(?:(?:(${ut})-)?(${Xn}))(?:(/[\\w-]+))?(?:${f.generator.config.separators.filter($=>$!=="-").join("|")})`),d=new RegExp(`^${t}-(?:(${ut})-)?\\[(.+)\\](?:(/[\\w-]+))?(?:${f.generator.config.separators.filter($=>$!=="-").join("|")})`)),!m.startsWith(t))return;let b=h(m)||p(m)||l(m);if(!b)return;let[v,y,w,k=""]=b;return{matcher:y,handle:($,x)=>x({...$,prefix:`${w}${r}${$.prefix}`.replace(s,"$1$2:"),sort:Vs.indexOf(k)??qs.indexOf(k)})}},multiPass:!0}}function rh(t){let{h:e}=t,r,n,i;return[{name:"pseudo",match(a,s){r&&n||(r=new RegExp(`^(${La})(?:-(\\d+|\\[(\\w|[+-.])+\\]))?(?:${s.generator.config.separators.join("|")})`),n=new RegExp(`^(${za})(?:${s.generator.config.separators.filter(u=>u!=="-").join("|")})`));let o=a.match(r)||a.match(n);if(o){let u=Lt[o[1]]||zt[o[1]]||`:${o[1]}`;if(o[2]){let d;o[2].startsWith("[")&&o[2].endsWith("]")?d=e.bracket(o[2]):d=o[2],d&&(u=u.replace(tr,d))}let c=Vs.indexOf(o[1]);return c===-1&&(c=qs.indexOf(o[1])),c===-1&&(c=void 0),{matcher:a.slice(o[0].length),handle:(d,h)=>{let p=u.includes("::")&&!eh.includes(u)?{pseudo:`${d.pseudo}${u}`}:{selector:`${d.selector}${u}`};return h({...d,...p,sort:c,noMerge:!0})}}}},multiPass:!0,autocomplete:`(${La}|${za}):`},{name:"pseudo:multi",match(a,s){i||(i=new RegExp(`^(${Pa})(?:${s.generator.config.separators.join("|")})`));let o=a.match(i);if(o)return Us[o[1]].map(u=>({matcher:a.slice(o[0].length),handle:(c,d)=>d({...c,pseudo:`${c.pseudo}${u}`})}))},multiPass:!1,autocomplete:`(${Pa}):`}]}function nh(t){let{getBracket:e,h:r}=t,n,i,a;return{match(s,o){n&&i||(n=new RegExp(`^(${ut})-(${Kn})(?:${o.generator.config.separators.join("|")})`),i=new RegExp(`^(${ut})-(${Xn})(?:${o.generator.config.separators.filter(c=>c!=="-").join("|")})`),a=new RegExp(`^(${ut})-(\\[.+\\])(?:${o.generator.config.separators.filter(c=>c!=="-").join("|")})`));let u=s.match(n)||s.match(i)||s.match(a);if(u){let c=u[1],d=e(u[2],"[","]")?r.bracket(u[2]):Lt[u[2]]||zt[u[2]]||`:${u[2]}`;return{matcher:s.slice(u[0].length),selector:h=>`${h}:${c}(${d})`}}},multiPass:!0,autocomplete:`(${ut})-(${Kn}|${Xn}):`}}function ih(t,e){let r=!!t?.attributifyPseudo,n=t?.prefix??"";n=xe((Array.isArray(n)?n:[n]).filter(Boolean)[0]??"");let i=(a,s)=>th(a,r?`[${n}${a}=""]`:`.${n}${a}`,s,e);return[i("group"," "),i("peer","~"),i("parent",">"),i("previous","+")]}var ah=/(part-\[(.+)\]:)(.+)/;function oh(){return{match(t){let e=t.match(ah);if(e){let r=`part(${e[2]})`;return{matcher:t.slice(e[1].length),selector:n=>`${n}::${r}`}}},multiPass:!0}}function Fe(t,e,r={}){let n;return{name:t,match(i,a){n||(n=new RegExp(`^${or(t)}(?:${a.generator.config.separators.join("|")})`));let s=i.match(n);if(s){let o=i.slice(s[0].length),u=J(e).map(c=>({matcher:o,handle:(d,h)=>h({...d,...c(d)}),...r}));return u.length===1?u[0]:u}},autocomplete:`${t}:`}}function ce(t,e){let r;return{name:t,match(n,i){r||(r=new RegExp(`^${or(t)}(?:${i.generator.config.separators.join("|")})`));let a=n.match(r);if(a)return{matcher:n.slice(a[0].length),handle:(s,o)=>o({...s,parent:`${s.parent?`${s.parent} $$ `:""}${e}`})}},autocomplete:`${t}:`}}function pt(t,e,r){if(e.startsWith(`${t}[`)){let[n,i]=br(e.slice(t.length),"[","]")??[];if(n&&i){for(let a of r)if(i.startsWith(a))return[n,i.slice(a.length),a];return[n,i,""]}}}function Ee(t,e,r){for(let n of J(t))if(e.startsWith(n)){let i=pt(n,e,r);if(i){let[a="",s=i[1]]=Ee("/",i[1],r)??[];return[i[0],s,a]}for(let a of r.filter(s=>s!=="/")){let s=e.indexOf(a,n.length);if(s!==-1){let o=e.indexOf("/",n.length),u=o===-1||s<=o;return[e.slice(n.length,u?s:o),e.slice(s+a.length),u?"":e.slice(o+1,s)]}}}}function sh(t){let e,r,n=2166136261;for(e=0,r=t.length;e<r;e++)n^=t.charCodeAt(e),n+=(n<<1)+(n<<4)+(n<<7)+(n<<8)+(n<<24);return`00000${(n>>>0).toString(36)}`.slice(-6)}function uh(t,e,r,n){for(let i of Array.from(t.matchAll(r)))if(i!=null){let a=i[0],s=`${n}${sh(a)}`;e.set(s,a),t=t.replace(a,s)}return t}function lh(t,e){for(let[r,n]of e.entries())t=t.replaceAll(r,n);return t}var ch=/\/\/#\s*sourceMappingURL=.*\n?/g;function dh(t){return t.includes("sourceMappingURL=")?t.replace(ch,""):t}var hh=/(?:[\w&:[\]-]|\[\S{1,64}=\S{1,64}\]){1,64}\[\\?['"]?\S{1,64}?['"]\]\]?[\w:-]{0,64}/g,ph=/\[(\\\W|[\w-]){1,64}:[^\s:]{0,64}?("\S{1,64}?"|'\S{1,64}?'|`\S{1,64}?`|[^\s:]{1,64}?)[^\s:]{0,64}?\)?\]/g,fh=/^\[(?:\\\W|[\w-]){1,64}:['"]?\S{1,64}?['"]?\]$/;function mh(t){let e=[];for(let i of t.matchAll(ph))i.index!==0&&!/^[\s'"`]/.test(t[i.index-1]??"")||e.push(i[0]);for(let i of t.matchAll(hh))e.push(i[0]);let r=new Map,n="@unocss-skip-arbitrary-brackets";return t=uh(t,r,/-\[(?!&.+?;)[^\]]*\]/g,n),t&&t.split(Os).forEach(i=>{i.includes(n)&&(i=lh(i,r)),Kc(i)&&!fh.test(i)&&e.push(i)}),e}function gh(){return{name:"@unocss/extractor-arbitrary-variants",order:0,extract({code:t}){return mh(dh(t))}}}var Ws=[["headings","h1","h2","h3","h4","h5","h6","th"],["h1"],["h2"],["h3"],["h4"],["h5"],["h6"],["p"],["a"],["blockquote"],["figure"],["figcaption"],["strong"],["em"],["kbd"],["code"],["pre"],["ol"],["ul"],["li"],["table"],["thead"],["tr"],["th"],["td"],["img"],["video"],["hr"]],bh={body:[700,300],headings:[900,"white"],lead:[600,400],links:[900,"white"],bold:[900,"white"],counters:[500,400],bullets:[300,600],hr:[200,700],quotes:[900,100],"quote-borders":[200,700],captions:[500,400],kbd:[900,"white"],"kbd-shadows":[900,"white"],code:[900,"white"],"pre-code":[200,300],"pre-bg":[800,"rgb(0 0 0 / 50%)"],"th-borders":[300,600],"td-borders":[200,700]},L=t=>t.toFixed(7).replace(/0+$/,"").replace(/\.$/,""),ue=t=>`${L(t/16)}rem`,g=(t,e)=>`${L(t/e)}em`,yh={color:"var(--un-prose-body)","max-width":"65ch",p:{},'[class~="lead"]':{color:"var(--un-prose-lead)"},a:{color:"var(--un-prose-links)","text-decoration":"underline","font-weight":"500"},strong:{color:"var(--un-prose-bold)","font-weight":"600"},"a strong":{color:"inherit"},"blockquote strong":{color:"inherit"},"thead th strong":{color:"inherit"},ol:{"list-style-type":"decimal"},'ol[type="A"]':{"list-style-type":"upper-alpha"},'ol[type="a"]':{"list-style-type":"lower-alpha"},'ol[type="A" s]':{"list-style-type":"upper-alpha"},'ol[type="a" s]':{"list-style-type":"lower-alpha"},'ol[type="I"]':{"list-style-type":"upper-roman"},'ol[type="i"]':{"list-style-type":"lower-roman"},'ol[type="I" s]':{"list-style-type":"upper-roman"},'ol[type="i" s]':{"list-style-type":"lower-roman"},'ol[type="1"]':{"list-style-type":"decimal"},ul:{"list-style-type":"disc"},"ol > li::marker":{"font-weight":"400",color:"var(--un-prose-counters)"},"ul > li::marker":{color:"var(--un-prose-bullets)"},dt:{color:"var(--un-prose-headings)","font-weight":"600"},hr:{"border-color":"var(--un-prose-hr)","border-top-width":"1px"},blockquote:{"font-weight":"500","font-style":"italic",color:"var(--un-prose-quotes)","border-inline-start-width":"0.25rem","border-inline-start-color":"var(--un-prose-quote-borders)",quotes:'"\\201C""\\201D""\\2018""\\2019"'},"blockquote p:first-of-type::before":{content:"open-quote"},"blockquote p:last-of-type::after":{content:"close-quote"},h1:{color:"var(--un-prose-headings)","font-weight":"800"},"h1 strong":{"font-weight":"900",color:"inherit"},h2:{color:"var(--un-prose-headings)","font-weight":"700"},"h2 strong":{"font-weight":"800",color:"inherit"},h3:{color:"var(--un-prose-headings)","font-weight":"600"},"h3 strong":{"font-weight":"700",color:"inherit"},h4:{color:"var(--un-prose-headings)","font-weight":"600"},"h4 strong":{"font-weight":"700",color:"inherit"},img:{},picture:{display:"block"},video:{},kbd:{"font-weight":"500","font-family":"inherit",color:"var(--un-prose-kbd)","box-shadow":"0 0 0 1px rgb(var(--un-prose-kbd-shadows) / 10%), 0 3px 0 rgb(var(--un-prose-kbd-shadows) / 10%)"},code:{color:"var(--un-prose-code)","font-weight":"600"},"code::before":{content:'"`"'},"code::after":{content:'"`"'},"a code":{color:"inherit"},"h1 code":{color:"inherit"},"h2 code":{color:"inherit"},"h3 code":{color:"inherit"},"h4 code":{color:"inherit"},"blockquote code":{color:"inherit"},"thead th code":{color:"inherit"},pre:{color:"var(--un-prose-pre-code)","background-color":"var(--un-prose-pre-bg)","overflow-x":"auto","font-weight":"400"},"pre code":{"background-color":"transparent","border-width":"0","border-radius":"0",padding:"0","font-weight":"inherit",color:"inherit","font-size":"inherit","font-family":"inherit","line-height":"inherit"},"pre code::before":{content:"none"},"pre code::after":{content:"none"},table:{width:"100%","table-layout":"auto","margin-top":g(32,16),"margin-bottom":g(32,16)},thead:{"border-bottom-width":"1px","border-bottom-color":"var(--un-prose-th-borders)"},"thead th":{color:"var(--un-prose-headings)","font-weight":"600","vertical-align":"bottom"},"tbody tr":{"border-bottom-width":"1px","border-bottom-color":"var(--un-prose-td-borders)"},"tbody tr:last-child":{"border-bottom-width":"0"},"tbody td":{"vertical-align":"baseline"},tfoot:{"border-top-width":"1px","border-top-color":"var(--un-prose-th-borders)"},"tfoot td":{"vertical-align":"top"},"th, td":{"text-align":"start"},"figure > *":{},figcaption:{color:"var(--un-prose-captions)"}},Qn={sm:{"font-size":ue(14),"line-height":L(24/14),p:{"margin-top":g(16,14),"margin-bottom":g(16,14)},'[class~="lead"]':{"font-size":g(18,14),"line-height":L(28/18),"margin-top":g(16,18),"margin-bottom":g(16,18)},blockquote:{"margin-top":g(24,18),"margin-bottom":g(24,18),"padding-inline-start":g(20,18)},h1:{"font-size":g(30,14),"margin-top":"0","margin-bottom":g(24,30),"line-height":L(36/30)},h2:{"font-size":g(20,14),"margin-top":g(32,20),"margin-bottom":g(16,20),"line-height":L(28/20)},h3:{"font-size":g(18,14),"margin-top":g(28,18),"margin-bottom":g(8,18),"line-height":L(28/18)},h4:{"margin-top":g(20,14),"margin-bottom":g(8,14),"line-height":L(20/14)},img:{"margin-top":g(24,14),"margin-bottom":g(24,14)},picture:{"margin-top":g(24,14),"margin-bottom":g(24,14)},"picture > img":{"margin-top":"0","margin-bottom":"0"},video:{"margin-top":g(24,14),"margin-bottom":g(24,14)},kbd:{"font-size":g(12,14),"border-radius":ue(5),"padding-top":g(2,14),"padding-inline-end":g(5,14),"padding-bottom":g(2,14),"padding-inline-start":g(5,14)},code:{"font-size":g(12,14)},"h2 code":{"font-size":g(18,20)},"h3 code":{"font-size":g(16,18)},pre:{"font-size":g(12,14),"line-height":L(20/12),"margin-top":g(20,12),"margin-bottom":g(20,12),"border-radius":ue(4),"padding-top":g(8,12),"padding-inline-end":g(12,12),"padding-bottom":g(8,12),"padding-inline-start":g(12,12)},ol:{"margin-top":g(16,14),"margin-bottom":g(16,14),"padding-inline-start":g(22,14)},ul:{"margin-top":g(16,14),"margin-bottom":g(16,14),"padding-inline-start":g(22,14)},li:{"margin-top":g(4,14),"margin-bottom":g(4,14)},"ol > li":{"padding-inline-start":g(6,14)},"ul > li":{"padding-inline-start":g(6,14)},"> ul > li p":{"margin-top":g(8,14),"margin-bottom":g(8,14)},"> ul > li > p:first-child":{"margin-top":g(16,14)},"> ul > li > p:last-child":{"margin-bottom":g(16,14)},"> ol > li > p:first-child":{"margin-top":g(16,14)},"> ol > li > p:last-child":{"margin-bottom":g(16,14)},"ul ul, ul ol, ol ul, ol ol":{"margin-top":g(8,14),"margin-bottom":g(8,14)},dl:{"margin-top":g(16,14),"margin-bottom":g(16,14)},dt:{"margin-top":g(16,14)},dd:{"margin-top":g(4,14),"padding-inline-start":g(22,14)},hr:{"margin-top":g(40,14),"margin-bottom":g(40,14)},"hr + *":{"margin-top":"0"},"h2 + *":{"margin-top":"0"},"h3 + *":{"margin-top":"0"},"h4 + *":{"margin-top":"0"},table:{"font-size":g(12,14),"line-height":L(18/12)},"thead th":{"padding-inline-end":g(12,12),"padding-bottom":g(8,12),"padding-inline-start":g(12,12)},"thead th:first-child":{"padding-inline-start":"0"},"thead th:last-child":{"padding-inline-end":"0"},"tbody td, tfoot td":{"padding-top":g(8,12),"padding-inline-end":g(12,12),"padding-bottom":g(8,12),"padding-inline-start":g(12,12)},"tbody td:first-child, tfoot td:first-child":{"padding-inline-start":"0"},"tbody td:last-child, tfoot td:last-child":{"padding-inline-end":"0"},figure:{"margin-top":g(24,14),"margin-bottom":g(24,14)},"figure > *":{"margin-top":"0","margin-bottom":"0"},figcaption:{"font-size":g(12,14),"line-height":L(16/12),"margin-top":g(8,12)},"> :first-child":{"margin-top":"0"},"> :last-child":{"margin-bottom":"0"}},base:{"font-size":ue(16),"line-height":L(28/16),p:{"margin-top":g(20,16),"margin-bottom":g(20,16)},'[class~="lead"]':{"font-size":g(20,16),"line-height":L(32/20),"margin-top":g(24,20),"margin-bottom":g(24,20)},blockquote:{"margin-top":g(32,20),"margin-bottom":g(32,20),"padding-inline-start":g(20,20)},h1:{"font-size":g(36,16),"margin-top":"0","margin-bottom":g(32,36),"line-height":L(40/36)},h2:{"font-size":g(24,16),"margin-top":g(48,24),"margin-bottom":g(24,24),"line-height":L(32/24)},h3:{"font-size":g(20,16),"margin-top":g(32,20),"margin-bottom":g(12,20),"line-height":L(32/20)},h4:{"margin-top":g(24,16),"margin-bottom":g(8,16),"line-height":L(24/16)},img:{"margin-top":g(32,16),"margin-bottom":g(32,16)},picture:{"margin-top":g(32,16),"margin-bottom":g(32,16)},"picture > img":{"margin-top":"0","margin-bottom":"0"},video:{"margin-top":g(32,16),"margin-bottom":g(32,16)},kbd:{"font-size":g(14,16),"border-radius":ue(5),"padding-top":g(3,16),"padding-inline-end":g(6,16),"padding-bottom":g(3,16),"padding-inline-start":g(6,16)},code:{"font-size":g(14,16)},"h2 code":{"font-size":g(21,24)},"h3 code":{"font-size":g(18,20)},pre:{"font-size":g(14,16),"line-height":L(24/14),"margin-top":g(24,14),"margin-bottom":g(24,14),"border-radius":ue(6),"padding-top":g(12,14),"padding-inline-end":g(16,14),"padding-bottom":g(12,14),"padding-inline-start":g(16,14)},ol:{"margin-top":g(20,16),"margin-bottom":g(20,16),"padding-inline-start":g(26,16)},ul:{"margin-top":g(20,16),"margin-bottom":g(20,16),"padding-inline-start":g(26,16)},li:{"margin-top":g(8,16),"margin-bottom":g(8,16)},"ol > li":{"padding-inline-start":g(6,16)},"ul > li":{"padding-inline-start":g(6,16)},"> ul > li p":{"margin-top":g(12,16),"margin-bottom":g(12,16)},"> ul > li > p:first-child":{"margin-top":g(20,16)},"> ul > li > p:last-child":{"margin-bottom":g(20,16)},"> ol > li > p:first-child":{"margin-top":g(20,16)},"> ol > li > p:last-child":{"margin-bottom":g(20,16)},"ul ul, ul ol, ol ul, ol ol":{"margin-top":g(12,16),"margin-bottom":g(12,16)},dl:{"margin-top":g(20,16),"margin-bottom":g(20,16)},dt:{"margin-top":g(20,16)},dd:{"margin-top":g(8,16),"padding-inline-start":g(26,16)},hr:{"margin-top":g(48,16),"margin-bottom":g(48,16)},"hr + *":{"margin-top":"0"},"h2 + *":{"margin-top":"0"},"h3 + *":{"margin-top":"0"},"h4 + *":{"margin-top":"0"},table:{"font-size":g(14,16),"line-height":L(24/14)},"thead th":{"padding-inline-end":g(8,14),"padding-bottom":g(8,14),"padding-inline-start":g(8,14)},"thead th:first-child":{"padding-inline-start":"0"},"thead th:last-child":{"padding-inline-end":"0"},"tbody td, tfoot td":{"padding-top":g(8,14),"padding-inline-end":g(8,14),"padding-bottom":g(8,14),"padding-inline-start":g(8,14)},"tbody td:first-child, tfoot td:first-child":{"padding-inline-start":"0"},"tbody td:last-child, tfoot td:last-child":{"padding-inline-end":"0"},figure:{"margin-top":g(32,16),"margin-bottom":g(32,16)},"figure > *":{"margin-top":"0","margin-bottom":"0"},figcaption:{"font-size":g(14,16),"line-height":L(20/14),"margin-top":g(12,14)},"> :first-child":{"margin-top":"0"},"> :last-child":{"margin-bottom":"0"}},lg:{"font-size":ue(18),"line-height":L(32/18),p:{"margin-top":g(24,18),"margin-bottom":g(24,18)},'[class~="lead"]':{"font-size":g(22,18),"line-height":L(32/22),"margin-top":g(24,22),"margin-bottom":g(24,22)},blockquote:{"margin-top":g(40,24),"margin-bottom":g(40,24),"padding-inline-start":g(24,24)},h1:{"font-size":g(48,18),"margin-top":"0","margin-bottom":g(40,48),"line-height":L(48/48)},h2:{"font-size":g(30,18),"margin-top":g(56,30),"margin-bottom":g(32,30),"line-height":L(40/30)},h3:{"font-size":g(24,18),"margin-top":g(40,24),"margin-bottom":g(16,24),"line-height":L(36/24)},h4:{"margin-top":g(32,18),"margin-bottom":g(8,18),"line-height":L(28/18)},img:{"margin-top":g(32,18),"margin-bottom":g(32,18)},picture:{"margin-top":g(32,18),"margin-bottom":g(32,18)},"picture > img":{"margin-top":"0","margin-bottom":"0"},video:{"margin-top":g(32,18),"margin-bottom":g(32,18)},kbd:{"font-size":g(16,18),"border-radius":ue(5),"padding-top":g(4,18),"padding-inline-end":g(8,18),"padding-bottom":g(4,18),"padding-inline-start":g(8,18)},code:{"font-size":g(16,18)},"h2 code":{"font-size":g(26,30)},"h3 code":{"font-size":g(21,24)},pre:{"font-size":g(16,18),"line-height":L(28/16),"margin-top":g(32,16),"margin-bottom":g(32,16),"border-radius":ue(6),"padding-top":g(16,16),"padding-inline-end":g(24,16),"padding-bottom":g(16,16),"padding-inline-start":g(24,16)},ol:{"margin-top":g(24,18),"margin-bottom":g(24,18),"padding-inline-start":g(28,18)},ul:{"margin-top":g(24,18),"margin-bottom":g(24,18),"padding-inline-start":g(28,18)},li:{"margin-top":g(12,18),"margin-bottom":g(12,18)},"ol > li":{"padding-inline-start":g(8,18)},"ul > li":{"padding-inline-start":g(8,18)},"> ul > li p":{"margin-top":g(16,18),"margin-bottom":g(16,18)},"> ul > li > p:first-child":{"margin-top":g(24,18)},"> ul > li > p:last-child":{"margin-bottom":g(24,18)},"> ol > li > p:first-child":{"margin-top":g(24,18)},"> ol > li > p:last-child":{"margin-bottom":g(24,18)},"ul ul, ul ol, ol ul, ol ol":{"margin-top":g(16,18),"margin-bottom":g(16,18)},dl:{"margin-top":g(24,18),"margin-bottom":g(24,18)},dt:{"margin-top":g(24,18)},dd:{"margin-top":g(12,18),"padding-inline-start":g(28,18)},hr:{"margin-top":g(56,18),"margin-bottom":g(56,18)},"hr + *":{"margin-top":"0"},"h2 + *":{"margin-top":"0"},"h3 + *":{"margin-top":"0"},"h4 + *":{"margin-top":"0"},table:{"font-size":g(16,18),"line-height":L(24/16)},"thead th":{"padding-inline-end":g(12,16),"padding-bottom":g(12,16),"padding-inline-start":g(12,16)},"thead th:first-child":{"padding-inline-start":"0"},"thead th:last-child":{"padding-inline-end":"0"},"tbody td, tfoot td":{"padding-top":g(12,16),"padding-inline-end":g(12,16),"padding-bottom":g(12,16),"padding-inline-start":g(12,16)},"tbody td:first-child, tfoot td:first-child":{"padding-inline-start":"0"},"tbody td:last-child, tfoot td:last-child":{"padding-inline-end":"0"},figure:{"margin-top":g(32,18),"margin-bottom":g(32,18)},"figure > *":{"margin-top":"0","margin-bottom":"0"},figcaption:{"font-size":g(16,18),"line-height":L(24/16),"margin-top":g(16,16)},"> :first-child":{"margin-top":"0"},"> :last-child":{"margin-bottom":"0"}},xl:{"font-size":ue(20),"line-height":L(36/20),p:{"margin-top":g(24,20),"margin-bottom":g(24,20)},'[class~="lead"]':{"font-size":g(24,20),"line-height":L(36/24),"margin-top":g(24,24),"margin-bottom":g(24,24)},blockquote:{"margin-top":g(48,30),"margin-bottom":g(48,30),"padding-inline-start":g(32,30)},h1:{"font-size":g(56,20),"margin-top":"0","margin-bottom":g(48,56),"line-height":L(56/56)},h2:{"font-size":g(36,20),"margin-top":g(56,36),"margin-bottom":g(32,36),"line-height":L(40/36)},h3:{"font-size":g(30,20),"margin-top":g(48,30),"margin-bottom":g(20,30),"line-height":L(40/30)},h4:{"margin-top":g(36,20),"margin-bottom":g(12,20),"line-height":L(32/20)},img:{"margin-top":g(40,20),"margin-bottom":g(40,20)},picture:{"margin-top":g(40,20),"margin-bottom":g(40,20)},"picture > img":{"margin-top":"0","margin-bottom":"0"},video:{"margin-top":g(40,20),"margin-bottom":g(40,20)},kbd:{"font-size":g(18,20),"border-radius":ue(5),"padding-top":g(5,20),"padding-inline-end":g(8,20),"padding-bottom":g(5,20),"padding-inline-start":g(8,20)},code:{"font-size":g(18,20)},"h2 code":{"font-size":g(31,36)},"h3 code":{"font-size":g(27,30)},pre:{"font-size":g(18,20),"line-height":L(32/18),"margin-top":g(36,18),"margin-bottom":g(36,18),"border-radius":ue(8),"padding-top":g(20,18),"padding-inline-end":g(24,18),"padding-bottom":g(20,18),"padding-inline-start":g(24,18)},ol:{"margin-top":g(24,20),"margin-bottom":g(24,20),"padding-inline-start":g(32,20)},ul:{"margin-top":g(24,20),"margin-bottom":g(24,20),"padding-inline-start":g(32,20)},li:{"margin-top":g(12,20),"margin-bottom":g(12,20)},"ol > li":{"padding-inline-start":g(8,20)},"ul > li":{"padding-inline-start":g(8,20)},"> ul > li p":{"margin-top":g(16,20),"margin-bottom":g(16,20)},"> ul > li > p:first-child":{"margin-top":g(24,20)},"> ul > li > p:last-child":{"margin-bottom":g(24,20)},"> ol > li > p:first-child":{"margin-top":g(24,20)},"> ol > li > p:last-child":{"margin-bottom":g(24,20)},"ul ul, ul ol, ol ul, ol ol":{"margin-top":g(16,20),"margin-bottom":g(16,20)},dl:{"margin-top":g(24,20),"margin-bottom":g(24,20)},dt:{"margin-top":g(24,20)},dd:{"margin-top":g(12,20),"padding-inline-start":g(32,20)},hr:{"margin-top":g(56,20),"margin-bottom":g(56,20)},"hr + *":{"margin-top":"0"},"h2 + *":{"margin-top":"0"},"h3 + *":{"margin-top":"0"},"h4 + *":{"margin-top":"0"},table:{"font-size":g(18,20),"line-height":L(28/18)},"thead th":{"padding-inline-end":g(12,18),"padding-bottom":g(16,18),"padding-inline-start":g(12,18)},"thead th:first-child":{"padding-inline-start":"0"},"thead th:last-child":{"padding-inline-end":"0"},"tbody td, tfoot td":{"padding-top":g(16,18),"padding-inline-end":g(12,18),"padding-bottom":g(16,18),"padding-inline-start":g(12,18)},"tbody td:first-child, tfoot td:first-child":{"padding-inline-start":"0"},"tbody td:last-child, tfoot td:last-child":{"padding-inline-end":"0"},figure:{"margin-top":g(40,20),"margin-bottom":g(40,20)},"figure > *":{"margin-top":"0","margin-bottom":"0"},figcaption:{"font-size":g(18,20),"line-height":L(28/18),"margin-top":g(18,18)},"> :first-child":{"margin-top":"0"},"> :last-child":{"margin-bottom":"0"}},"2xl":{"font-size":ue(24),"line-height":L(40/24),p:{"margin-top":g(32,24),"margin-bottom":g(32,24)},'[class~="lead"]':{"font-size":g(30,24),"line-height":L(44/30),"margin-top":g(32,30),"margin-bottom":g(32,30)},blockquote:{"margin-top":g(64,36),"margin-bottom":g(64,36),"padding-inline-start":g(40,36)},h1:{"font-size":g(64,24),"margin-top":"0","margin-bottom":g(56,64),"line-height":L(64/64)},h2:{"font-size":g(48,24),"margin-top":g(72,48),"margin-bottom":g(40,48),"line-height":L(52/48)},h3:{"font-size":g(36,24),"margin-top":g(56,36),"margin-bottom":g(24,36),"line-height":L(44/36)},h4:{"margin-top":g(40,24),"margin-bottom":g(16,24),"line-height":L(36/24)},img:{"margin-top":g(48,24),"margin-bottom":g(48,24)},picture:{"margin-top":g(48,24),"margin-bottom":g(48,24)},"picture > img":{"margin-top":"0","margin-bottom":"0"},video:{"margin-top":g(48,24),"margin-bottom":g(48,24)},kbd:{"font-size":g(20,24),"border-radius":ue(6),"padding-top":g(6,24),"padding-inline-end":g(8,24),"padding-bottom":g(6,24),"padding-inline-start":g(8,24)},code:{"font-size":g(20,24)},"h2 code":{"font-size":g(42,48)},"h3 code":{"font-size":g(32,36)},pre:{"font-size":g(20,24),"line-height":L(36/20),"margin-top":g(40,20),"margin-bottom":g(40,20),"border-radius":ue(8),"padding-top":g(24,20),"padding-inline-end":g(32,20),"padding-bottom":g(24,20),"padding-inline-start":g(32,20)},ol:{"margin-top":g(32,24),"margin-bottom":g(32,24),"padding-inline-start":g(38,24)},ul:{"margin-top":g(32,24),"margin-bottom":g(32,24),"padding-inline-start":g(38,24)},li:{"margin-top":g(12,24),"margin-bottom":g(12,24)},"ol > li":{"padding-inline-start":g(10,24)},"ul > li":{"padding-inline-start":g(10,24)},"> ul > li p":{"margin-top":g(20,24),"margin-bottom":g(20,24)},"> ul > li > p:first-child":{"margin-top":g(32,24)},"> ul > li > p:last-child":{"margin-bottom":g(32,24)},"> ol > li > p:first-child":{"margin-top":g(32,24)},"> ol > li > p:last-child":{"margin-bottom":g(32,24)},"ul ul, ul ol, ol ul, ol ol":{"margin-top":g(16,24),"margin-bottom":g(16,24)},dl:{"margin-top":g(32,24),"margin-bottom":g(32,24)},dt:{"margin-top":g(32,24)},dd:{"margin-top":g(12,24),"padding-inline-start":g(38,24)},hr:{"margin-top":g(72,24),"margin-bottom":g(72,24)},"hr + *":{"margin-top":"0"},"h2 + *":{"margin-top":"0"},"h3 + *":{"margin-top":"0"},"h4 + *":{"margin-top":"0"},table:{"font-size":g(20,24),"line-height":L(28/20)},"thead th":{"padding-inline-end":g(12,20),"padding-bottom":g(16,20),"padding-inline-start":g(12,20)},"thead th:first-child":{"padding-inline-start":"0"},"thead th:last-child":{"padding-inline-end":"0"},"tbody td, tfoot td":{"padding-top":g(16,20),"padding-inline-end":g(12,20),"padding-bottom":g(16,20),"padding-inline-start":g(12,20)},"tbody td:first-child, tfoot td:first-child":{"padding-inline-start":"0"},"tbody td:last-child, tfoot td:last-child":{"padding-inline-end":"0"},figure:{"margin-top":g(48,24),"margin-bottom":g(48,24)},"figure > *":{"margin-top":"0","margin-bottom":"0"},figcaption:{"font-size":g(20,24),"line-height":L(32/20),"margin-top":g(20,20)},"> :first-child":{"margin-top":"0"},"> :last-child":{"margin-bottom":"0"}}};function vh(t){let e=ir(bh);if(t)for(let r in t){let[n,i]=J(t[r]),[a,s]=e[r];e[r]=[n??a,i??s]}return e}function kh(t){return t?sr(Qn,t):Qn}function Ta(t,e){let r=e.selectorName||"prose",n=`:not(:where([class~="not-${r}"],[class~="not-${r}"] *))`,i=e.important===!0,a="";for(let[s,o]of Object.entries(t))if(typeof o!="object")a+=`${s}:${o}${i?" !important":""};`;else{let[u,c]=s.split("::"),d=`:where(${u})${n}${c?`::${c}`:""}`;a+=`${d} {`;for(let[h,p]of Object.entries(o))a+=`${h}:${p}${i?" !important":""};`;a+="}"}return a}function xh(t){for(let[e,...r]of Ws)if(e===t)return r.length>0?r:[e]}var wh=t=>{let e=t?.selectorName??"prose",r=t?.compatibility?.noColonNot||t?.compatibility?.noColonWhere,n=t?.cssVarPrefix??"--un-prose",i=vh(t?.colorScheme),a=kh(t?.sizeScheme),s=(h,p)=>{let l=sr(h,(typeof t?.cssExtend=="function"?t?.cssExtend(p):t?.cssExtend)??{});for(let m in l){let f=l[m];(f==null||typeof f=="object"&&Object.keys(f).length===0)&&delete l[m]}return l},o=h=>(typeof t?.important=="string"&&(h=`${t.important} ${h}`),t?.compatibility?.noColonIs||(h=`:is(${h})`),h),u=new RegExp(`^${e}-default$`),c=new RegExp(`^${e}-([-\\w]+)$`),d=new RegExp(`^${e}-(${Object.keys(a).join("|")})$`);return{name:"@unocss/preset-typography",enforce:"post",layers:{typography:-20},shortcuts:[[e,[`${e}-default`,`${e}-gray`],{layer:"typography"}]],rules:[[u,(h,{symbols:p,theme:l})=>{let m=Ta(s(sr(yh,Qn.base),l),t??{});return{[p.body]:m,[p.selector]:o}},{layer:"typography",autocomplete:"prose",internal:!0}],[c,([,h],{theme:p,symbols:l})=>{let m=p.colors?.[h];if(!(!m||typeof m!="object"))return["red","orange","amber","yellow","lime","green","emerald","teal","cyan","sky","blue","indigo","violet","purple","fuchsia","pink","rose"].includes(h)?{[`${n}-links`]:m[600],[`${n}-invert-links`]:m[500],[l.selector]:o}:Object.entries(i).reduce((f,[b,v])=>{let[y,w]=v,k=A=>m[A]??p[A]??A,$=k(y),x=k(w),S=`${n}-${b}`,_=`${n}-invert-${b}`;f[S]=ur($,`var(${S}-opacity)`),f[_]=ur(x,`var(${_}-opacity)`);for(let[A,C]of[[$,`${S}-opacity`],[x,`${_}-opacity`]])js.some(F=>A.includes(F))&&(f[C]="1");return f},{[l.selector]:o})},{layer:"typography",autocomplete:`${e}-$colors`}],[d,([,h],{symbols:p,theme:l})=>{let m=Ta(s(a[h],l),t??{});return{[p.body]:m,[p.selector]:o}},{layer:"typography",autocomplete:`${e}-(${Object.keys(a).join("|")})`}],[`${e}-invert`,[{[`${n}-body`]:`var(${n}-invert-body)`,[`${n}-headings`]:`var(${n}-invert-headings)`,[`${n}-lead`]:`var(${n}-invert-lead)`,[`${n}-links`]:`var(${n}-invert-links)`,[`${n}-bold`]:`var(${n}-invert-bold)`,[`${n}-counters`]:`var(${n}-invert-counters)`,[`${n}-bullets`]:`var(${n}-invert-bullets)`,[`${n}-hr`]:`var(${n}-invert-hr)`,[`${n}-quotes`]:`var(${n}-invert-quotes)`,[`${n}-quote-borders`]:`var(${n}-invert-quote-borders)`,[`${n}-captions`]:`var(${n}-invert-captions)`,[`${n}-kbd`]:`var(${n}-invert-kbd)`,[`${n}-kbd-shadows`]:`var(${n}-invert-kbd-shadows)`,[`${n}-code`]:`var(${n}-invert-code)`,[`${n}-pre-code`]:`var(${n}-invert-pre-code)`,[`${n}-pre-bg`]:`var(${n}-invert-pre-bg)`,[`${n}-th-borders`]:`var(${n}-invert-th-borders)`,[`${n}-td-borders`]:`var(${n}-invert-td-borders)`,[re.selector]:o}],{layer:"typography"}]],variants:[{name:"typography element modifiers",match:h=>{if(h.startsWith(`${e}-`)){let p=new RegExp(`^${e}-(\\w+)[:-].+$`),l=h.match(p)?.[1];if(l){let m=xh(l);if(m?.length)return{matcher:h.slice(e.length+l.length+2),selector:f=>{let b=`:not(:where([class~="not-${e}"],[class~="not-${e}"] *))`;return r?m.map(v=>`${f} ${v}`).join(","):`${f} :is(:where(${m})${b})`}}}}},autocomplete:`${e}-(${Ws.map(h=>`${h[0]}:`).join("|")})`}]}};function $h({important:t}){if(t==null||t===!1)return[];let e=r=>r.startsWith(":is(")&&r.endsWith(")")?r:r.includes("::")?r.replace(/(.*?)((?:\s\*)?::.*)/,":is($1)$2"):`:is(${r})`;return[r=>{r.layer!=="properties"&&(t===!0?r.entries.forEach(n=>{n[1]!=null&&!String(n[1]).endsWith("!important")&&(n[1]+=" !important")}):r.selector.startsWith(t)||(r.selector=`${t} ${e(r.selector)}`))}]}function Eh({variablePrefix:t}){return t!=="un-"?[e=>{e.layer==="properties"&&(e.selector=e.selector.replace(/^@property --un-/,`@property --${t}`)),e.entries.forEach(r=>{r[0]=r[0].replace(/^--un-/,`--${t}`),typeof r[1]=="string"&&(r[1]=r[1].replace(/var\(--un-/g,`var(--${t}`))})}]:[]}function Sh(t){return[$h,Eh].flatMap(e=>e(t))}var ja=Object.defineProperty,_h=(t,e)=>{let r={};for(var n in t)ja(r,n,{get:t[n],enumerable:!0});return e||ja(r,Symbol.toStringTag,{value:"Module"}),r},Ch="@unocss/preset-wind4",Ah="$$mini-no-negative",an={transparent:"transparent",current:"currentColor",inherit:"inherit"},Me={l:["-left"],r:["-right"],t:["-top"],b:["-bottom"],s:["-inline-start"],e:["-inline-end"],x:["-inline"],y:["-block"],"":[""],bs:["-block-start"],be:["-block-end"],is:["-inline-start"],ie:["-inline-end"],block:["-block-start","-block-end"],inline:["-inline-start","-inline-end"]},Ia={...Me,x:["-inset-inline"],y:["-inset-block"],s:["-inset-inline-start"],start:["-inset-inline-start"],e:["-inset-inline-end"],end:["-inset-inline-end"],bs:["-inset-block-start"],be:["-inset-block-end"],is:["-inset-inline-start"],ie:["-inset-inline-end"],block:["-inset-block-start","-inset-block-end"],inline:["-inset-inline-start","-inset-inline-end"]},Lr={l:["-top-left","-bottom-left"],r:["-top-right","-bottom-right"],t:["-top-left","-top-right"],b:["-bottom-left","-bottom-right"],tl:["-top-left"],lt:["-top-left"],tr:["-top-right"],rt:["-top-right"],bl:["-bottom-left"],lb:["-bottom-left"],br:["-bottom-right"],rb:["-bottom-right"],"":[""],bs:["-start-start","-start-end"],be:["-end-start","-end-end"],s:["-end-start","-start-start"],is:["-end-start","-start-start"],e:["-start-end","-end-end"],ie:["-start-end","-end-end"],ss:["-start-start"],"bs-is":["-start-start"],"is-bs":["-start-start"],se:["-start-end"],"bs-ie":["-start-end"],"ie-bs":["-start-end"],es:["-end-start"],"be-is":["-end-start"],"is-be":["-end-start"],ee:["-end-end"],"be-ie":["-end-end"],"ie-be":["-end-end"]},Hs={x:["-x"],y:["-y"],z:["-z"],"":["-x","-y"]},Dh=["x","y","z"],Ra=["top","top center","top left","top right","bottom","bottom center","bottom left","bottom right","left","left center","left top","left bottom","right","right center","right top","right bottom","center","center top","center bottom","center left","center right","center center"],le=Object.assign({},...Ra.map(t=>({[t.replace(/ /,"-")]:t})),...Ra.map(t=>({[t.replace(/\b(\w)\w+/g,"$1").replace(/ /,"")]:t}))),ee=["inherit","initial","revert","revert-layer","unset"],wi=/^(calc|clamp|min|max)\s*\((.+)\)(.*)/,Oh=/^(var)\s*\((.+)\)(.*)/,on=/^(-?\d*(?:\.\d+)?)(px|pt|pc|%|r?(?:em|ex|lh|cap|ch|ic)|(?:[sld]?v|cq)(?:[whib]|min|max)|in|cm|mm|rpx)?$/i,Bh=/^(-?\d*(?:\.\d+)?)$/,Zs=/^(px|[sld]?v[wh])$/i,Ys={px:1,vw:100,vh:100,svw:100,svh:100,dvw:100,dvh:100,lvh:100,lvw:100},$i=/^\[(color|image|length|size|position|quoted|string|number|family):/i,Fh=/,(?![^()]*\))/g,Mh=_h({auto:()=>Lh,bracket:()=>Rh,bracketOfColor:()=>Vh,bracketOfFamily:()=>Wh,bracketOfLength:()=>qh,bracketOfNumber:()=>Hh,bracketOfPosition:()=>Uh,cssvar:()=>Zh,degree:()=>Gh,fraction:()=>Ih,global:()=>Jh,none:()=>Qh,number:()=>Gs,numberWithUnit:()=>Ph,percent:()=>jh,position:()=>Xh,properties:()=>Kh,px:()=>Th,rem:()=>zh,time:()=>Yh}),Nh=["color","border-color","background-color","outline-color","text-decoration-color","flex-grow","flex","flex-shrink","grid","grid-template-columns","grid-template-rows","caret-color","font","gap","opacity","visibility","z-index","font-weight","zoom","text-shadow","transform","box-shadow","border","background-position","left","right","top","bottom","object-position","max-height","min-height","max-width","min-width","height","width","border-width","margin","padding","outline-width","outline-offset","font-size","line-height","text-indent","vertical-align","border-spacing","letter-spacing","word-spacing","stroke","filter","backdrop-filter","fill","mask","mask-size","mask-border","clip-path","clip","border-radius"];function Ne(t){return+t.toFixed(10)}function Ph(t){let e=t.match(on);if(!e)return;let[,r,n]=e,i=Number.parseFloat(r);if(n&&!Number.isNaN(i))return`${Ne(i)}${n}`}function Lh(t){if(t==="auto"||t==="a")return"auto"}function zh(t){if(!t)return;if(Zs.test(t))return`${Ys[t]}${t}`;let e=t.match(on);if(!e)return;let[,r,n]=e,i=Number.parseFloat(r);if(!Number.isNaN(i))return i===0?"0":n?`${Ne(i)}${n}`:`${Ne(i/4)}rem`}function Th(t){if(Zs.test(t))return`${Ys[t]}${t}`;let e=t.match(on);if(!e)return;let[,r,n]=e,i=Number.parseFloat(r);if(!Number.isNaN(i))return n?`${Ne(i)}${n}`:`${Ne(i)}px`}function Gs(t){if(!Bh.test(t))return;let e=Number.parseFloat(t);if(!Number.isNaN(e))return Ne(e)}function jh(t){t.endsWith("%")&&(t=t.slice(0,-1));let e=Gs(t);if(e!=null)return`${e}%`}function Ih(t){if(!t)return;if(t==="full")return"100%";let[e,r]=t.split("/"),n=Number.parseFloat(e)/Number.parseFloat(r);if(!Number.isNaN(n))return n===0?"0":`${Ne(n*100)}%`}function Va(t,e,r,n){let i=lr(n,e,r),a=typeof i=="object"&&"DEFAULT"in i;a&&r.push("DEFAULT");let s=a?i.DEFAULT:i,o=a&&e!=="spacing"?`${t}.DEFAULT`:t;return s!=null&&T(e,r.length?r:void 0),{val:s,varKey:o}}function dt(t,e,r){if(t&&t.startsWith("[")&&t.endsWith("]")){let n,i,a=t.match($i);if(!a)n=t.slice(1,-1);else{if(!e)i=a[1];else if(a[1]!==e)return;n=t.slice(a[0].length,-1)}if(!n||n==='=""')return;if(n.startsWith("--")){let o=n.match(/^--([\w.-]+)\(([^)]+)\)$/);if(o!=null&&r){let[,u,c]=o,[d,...h]=u.split("."),{val:p,varKey:l}=Va(u,d,h,r);p!=null&&(n=`calc(var(--${xe(l.replaceAll(".","-"))}) * ${c})`)}else{let[u,c]=n.slice(2).split(","),d=c?`, ${c}`:"",h=xe(u);if(r){let[p,...l]=u.split("."),{val:m,varKey:f}=Va(u,p,l,r);n=m!=null?`var(--${xe(f.replaceAll(".","-"))}${d})`:`var(--${h}${d})`}else n=`var(--${h}${d})`}}let s=0;for(let o of n)if(o==="[")s+=1;else if(o==="]"&&(s-=1,s<0))return;if(s)return;switch(i){case"string":return n.replace(/(^|[^\\])_/g,"$1 ").replace(/\\_/g,"_");case"quoted":return n.replace(/(^|[^\\])_/g,"$1 ").replace(/\\_/g,"_").replace(/(["\\])/g,"\\$1").replace(/^(.+)$/,'"$1"')}return n.replace(/(url\(.*?\))/g,o=>o.replace(/_/g,"\\_")).replace(/(^|[^\\])_/g,"$1 ").replace(/\\_/g,"_").replace(/(?:calc|clamp|max|min)\((.*)/g,o=>{let u=[];return o.replace(/var\((--.+?)[,)]/g,(c,d)=>(u.push(d),c.replace(d,"--un-calc"))).replace(/(-?\d*\.?\d(?!-\d.+[,)](?![^+\-/*])\D)(?:%|[a-z]+)?|\))([+\-/*])/g,"$1 $2 ").replace(/--un-calc/g,()=>u.shift())})}}function Rh(t,e){return dt(t,void 0,e)}function Vh(t,e){return dt(t,"color",e)}function qh(t,e){return dt(t,"length",e)||dt(t,"size",e)}function Uh(t,e){return dt(t,"position",e)}function Wh(t,e){return dt(t,"family",e)}function Hh(t,e){return dt(t,"number",e)}function Zh(t){if(t.startsWith("var("))return t;let e=t.match(/^(?:\$|--)([^\s'"`;{}]+)$/);if(e){let[r,n]=e[1].split(",");return`var(--${xe(r)}${n?`, ${n}`:""})`}}function Yh(t){let e=t.match(/^(-?[0-9.]+)(s|ms)?$/i);if(!e)return;let[,r,n]=e,i=Number.parseFloat(r);if(!Number.isNaN(i))return i===0&&!n?"0s":n?`${Ne(i)}${n}`:`${Ne(i)}ms`}function Gh(t){let e=t.match(/^(-?[0-9.]+)(deg|rad|grad|turn)?$/i);if(!e)return;let[,r,n]=e,i=Number.parseFloat(r);if(!Number.isNaN(i))return i===0?"0deg":n?`${Ne(i)}${n}`:`${Ne(i)}deg`}function Jh(t){if(ee.includes(t))return t}function Kh(t){if(t.split(",").every(e=>Nh.includes(e)))return t}function Xh(t){if(["top","left","right","bottom","center"].includes(t))return t}function Qh(t){if(t==="none")return"none"}var ep=Xd(Mh),E=ep;function we(t,e){let r=E.number(t)??e;if(r!=null){let n=Number(r);return String(r).endsWith("%")&&(n=Number(String(r).slice(0,-1))/100),n}}function H(t,e=Me,r=(n,i)=>`${n}${i}`){return(([n,i,a="4"],{theme:s})=>{if(a!=null&&i!=null){let o,u=a.startsWith("-");if(u&&(a=a.slice(1)),o=we(a),o!=null&&!Number.isNaN(o))return T("spacing"),e[i].map(c=>[r(t,c),`calc(var(--spacing) * ${u?"-":""}${o})`]);if(s.spacing&&a in s.spacing)return T("spacing",a),e[i].map(c=>[r(t,c),u?`calc(var(--${xe(`spacing-${a}`)}) * -1)`:`var(--${xe(`spacing-${a}`)})`]);if(o=E.bracket.cssvar.global.auto.fraction.rem(u?`-${a}`:a,s),o!=null)return e[i].map(c=>[r(t,c),o])}})}function sn(t,e){let r,[n,...i]=tt(t,["/",":"],3)??[];if(n!=null){let f=(n.match($i)??[])[1];(f==null||f==="color")&&(r=[n,...i])}if(!r)return;let a,[s,o,u]=r;Ma(o)||Ma(E.bracket(o??""))?u=o:a=o;let c=s.replace(/([a-z])(\d)(?![-_a-z])/g,"$1-$2").split(/-/g),[d]=c;if(!d)return;let h=qa(e,c);if(!h&&c.length>=2){let f=c.at(-1),b=c.at(-2);/^\d+$/.test(f)&&(h=qa(e,c.slice(0,-2).concat([`${b}${f}`])))}let{no:p,keys:l,color:m}=h??{};if(!m){let f=E.bracketOfColor(s,e),b=f||s;if(E.numberWithUnit(b))return;/^#[\da-f]+$/i.test(b)?m=b:/^hex-[\da-fA-F]+$/.test(b)?m=`#${b.slice(4)}`:s.startsWith("$")&&(m=E.cssvar(s)),m=m||f}return{opacity:a,modifier:u&&E.bracket.cssvar(u)||u,name:d,no:p,color:m??an[d],alpha:E.bracket.cssvar.percent(a??""),keys:l,get cssColor(){return wt(this.color)}}}function qa(t,e){let r,n,i,a=lr(t,"colors",e);if(typeof a=="object"?"DEFAULT"in a&&(r=a.DEFAULT,n="DEFAULT",i=[...e,n]):typeof a=="string"&&(r=a,i=e,n=e.at(-1)),!!r)return{color:r,no:n,keys:i}}function lr(t,e,r){let n=t[e];function i(a,s){if(s.length===0)return a;if(!(!a||typeof a!="object"))for(let o=s.length;o>0;o--){let u=s.slice(0,o).join("-");if(u in a){let c=a[u];return o===s.length?c:i(c,s.slice(o))}}}return i(n,r)}function Js(t,e,r,n){if(!t)return;let{color:i,keys:a,alpha:s,modifier:o}=t,u=n?.generator.config.envMode==="dev"&&i?` /* ${i} */`:"",c={};if(i){let d=[c],h=i.includes("var("),p=Object.values(an).includes(i);if(p&&!s)return c[e]=i,d;let l=`--un-${r}-opacity`,m=a&&!h&&!p?X("colors",a):i,f=o??(a?"in srgb":"in oklab");if(!f.startsWith("in ")&&!f.startsWith("var(")&&(f=`in ${f}`),c[e]=`color-mix(${f}, ${m} ${s??`var(${l})`}, transparent)${u}`,d.push(P(l,{syntax:"<percentage>",initialValue:"100%"})),!p){if(a&&!h&&(T("colors",a),!o)){let b=["shadow","inset-shadow","text-shadow","drop-shadow"].includes(r)?`${s?`color-mix(in oklab, ${m} ${s}, transparent)`:`${m}`} var(${l})`:`${m} ${s??`var(${l})`}`;d.push({[re.parent]:"@supports (color: color-mix(in lab, red, red))",[re.noMerge]:!0,[e]:`color-mix(in oklab, ${b}, transparent)${u}`})}n?.theme&&ln(i,n.theme)}return d}}function Q(t,e){return([,r],n)=>{let i=sn(r??"",n.theme);if(i)return Js(i,t,e,n)}}function Ei(t,e,r){let n=[];t=J(t);for(let i=0;i<t.length;i++){let a=tt(t[i]," ",6);if(!a||a.length<3)return t;let s=!1,o=a.indexOf("inset");o!==-1&&(a.splice(o,1),s=!0);let u="",c=a.at(-1);if(wt(a.at(0))){let d=wt(a.shift());d&&(u=ur(d))}else if(wt(c)){let d=wt(a.pop());d&&(u=ur(d))}else if(c&&c.startsWith("var(")){let d=a.pop();d&&(u=d)}n.push(`${s?"inset ":""}${a.join(" ")} var(${e}, ${r?`oklab(from ${u} l a b / ${r})`:u})`)}return n}function rt(t,e){return t!=null&&!!sn(t,e)?.color}var Ua=/[a-z]+/gi,An=new WeakMap;function un({theme:t,generator:e},r="breakpoint"){let n=e?.userConfig?.theme?.[r]||t[r];if(!n)return;if(An.has(t))return An.get(t);let i=Object.entries(n).sort((a,s)=>Number.parseInt(a[1].replace(Ua,""))-Number.parseInt(s[1].replace(Ua,""))).map(([a,s])=>({point:a,size:s}));return An.set(t,i),i}function I(t,e){return ee.map(r=>[`${t}-${r}`,{[e??t]:r}])}function P(t,e={}){let{syntax:r="*",inherits:n=!1,initialValue:i}=e,a={[re.shortcutsNoMerge]:!0,[re.noMerge]:!0,[re.noScope]:!0,[re.variants]:()=>[{parent:"",layer:"properties",selector:()=>`@property ${t}`}],syntax:JSON.stringify(r),inherits:n?"true":"false"};return i!=null&&(a["initial-value"]=i),rp(t,i?String(i):"initial"),a}function yr(t){return t!=null&&wi.test(t)}function tp(t){return t[0]==="["&&t.slice(-1)==="]"&&(t=t.slice(1,-1)),wi.test(t)||on.test(t)}function ei(t){return t.replace(/(?:^|\B)([A-Z])/g,"-$1").toLowerCase()}function Ks(t,e=!1){return e?t.trim():t.trim().replace(/\s+/g," ").replace(/\/\*[\s\S]*?\*\//g,"")}var _t=new Set([]);function T(t,e="DEFAULT"){let r=`${t}:${J(e).join("-")}`;_t.has(r)||_t.add(r)}function X(t,e){return`var(--${t}-${J(e).join("-")})`}function ln(t,e){if(t.startsWith("var(")){let r=t.match(/var\(--([\w-]+)(?:,.*)?\)/)?.[1];if(r){let[n,...i]=r.split("-"),a=lr(e,n,i);typeof a=="string"&&(T(n,i),ln(a,e))}}}var Ct=new Map;function rp(t,e){Ct.has(t)||Ct.set(t,e)}var np=[[/^@container(?:\/(\w+))?(?:-(normal))?$/,([,t,e])=>({"container-type":e??"inline-size","container-name":t})]],ip=/@media \(min-width: (.+)\)/,ap=[[/^__container$/,(t,e)=>{let{theme:r,variantHandlers:n}=e,i=r.containers?.padding,a;te(i)?a=i:a=i?.DEFAULT;let s=r.containers?.maxWidth,o;for(let c of n){let d=c.handle?.({},h=>h)?.parent;if(te(d)){let h=d.match(ip)?.[1];if(h){let p=(un(e)??[]).find(l=>l.size===h)?.point;s?p&&(o=s?.[p]):o=h,p&&!te(i)&&(a=i?.[p]??a)}}}let u={"max-width":o};return n.length||(u.width="100%"),r.containers?.center&&(u["margin-left"]="auto",u["margin-right"]="auto"),i&&(u["padding-left"]=a,u["padding-right"]=a),u},{internal:!0}]],op=[[/^(?:(\w+)[:-])?container$/,([,t],e)=>{let r=(un(e)??[]).map(i=>i.point);if(t){if(!r.includes(t))return;r=r.slice(r.indexOf(t))}let n=r.map(i=>`${i}:__container`);return t||n.unshift("__container"),n}]],Wa={mid:"middle",base:"baseline",btm:"bottom",baseline:"baseline",top:"top",start:"top",middle:"middle",bottom:"bottom",end:"bottom","text-top":"text-top","text-bottom":"text-bottom",sub:"sub",super:"super",...Object.fromEntries(ee.map(t=>[t,t]))},sp=[[/^(?:vertical|align|v)-(.+)$/,([,t])=>({"vertical-align":Wa[t]??E.bracket.cssvar.numberWithUnit(t)}),{autocomplete:[`(vertical|align|v)-(${Object.keys(Wa).join("|")})`,"(vertical|align|v)-<percentage>"]}]],Ha=["center","left","right","justify","start","end"],up=[...Ha.map(t=>[`text-${t}`,{"text-align":t}]),...[...ee,...Ha].map(t=>[`text-align-${t}`,{"text-align":t}])],lp=[[/^(?:animate-)?keyframes-(.+)$/,([,t],{theme:e})=>{let r=e.animation?.keyframes?.[t];if(r)return[`@keyframes ${t}${r}`,{animation:t}]},{autocomplete:["animate-keyframes-$animation.keyframes","keyframes-$animation.keyframes"]}],[/^animate-(.+)$/,([,t],{theme:e})=>{let r=e.animation?.keyframes?.[t];if(r){let n=e.animation?.durations?.[t]??"1s",i=e.animation?.timingFns?.[t]??"linear",a=e.animation?.counts?.[t]??1,s=e.animation?.properties?.[t];return[`@keyframes ${t}${r}`,{animation:`${t} ${n} ${i} ${a}`,...s}]}return{animation:E.bracket.cssvar(t)}},{autocomplete:"animate-$animation.keyframes"}],[/^animate-name-(.+)/,([,t])=>({"animation-name":E.bracket.cssvar(t)??t})],[/^animate-duration-(.+)$/,([,t],{theme:e})=>({"animation-duration":e.duration?.[t||"DEFAULT"]??E.bracket.cssvar.time(t)}),{autocomplete:["animate-duration"]}],[/^animate-delay-(.+)$/,([,t],{theme:e})=>({"animation-delay":e.duration?.[t||"DEFAULT"]??E.bracket.cssvar.time(t)}),{autocomplete:["animate-delay"]}],[/^animate-ease(?:-(.+))?$/,([,t],{theme:e})=>({"animation-timing-function":e.ease?.[t||"DEFAULT"]??E.bracket.cssvar(t)}),{autocomplete:["animate-ease","animate-ease-$ease"]}],[/^animate-(fill-mode-|fill-|mode-)?(.+)$/,([,t,e])=>["none","forwards","backwards","both",t?ee:[]].includes(e)?{"animation-fill-mode":e}:void 0,{autocomplete:["animate-(fill|mode|fill-mode)","animate-(fill|mode|fill-mode)-(none|forwards|backwards|both|inherit|initial|revert|revert-layer|unset)","animate-(none|forwards|backwards|both|inherit|initial|revert|revert-layer|unset)"]}],[/^animate-(direction-)?(.+)$/,([,t,e])=>["normal","reverse","alternate","alternate-reverse",t?ee:[]].includes(e)?{"animation-direction":e}:void 0,{autocomplete:["animate-direction","animate-direction-(normal|reverse|alternate|alternate-reverse|inherit|initial|revert|revert-layer|unset)","animate-(normal|reverse|alternate|alternate-reverse|inherit|initial|revert|revert-layer|unset)"]}],[/^animate-(?:iteration-count-|iteration-|count-)(.+)$/,([,t])=>({"animation-iteration-count":E.bracket.cssvar(t)??t.replace(/-/g,",")}),{autocomplete:["animate-(iteration|count|iteration-count)","animate-(iteration|count|iteration-count)-<num>"]}],[/^animate-(play-state-|play-|state-)?(.+)$/,([,t,e])=>["paused","running",t?ee:[]].includes(e)?{"animation-play-state":e}:void 0,{autocomplete:["animate-(play|state|play-state)","animate-(play|state|play-state)-(paused|running|inherit|initial|revert|revert-layer|unset)","animate-(paused|running|inherit|initial|revert|revert-layer|unset)"]}],["animate-none",{animation:"none"}],...I("animate","animation")],Xs={"gradient-position":P("--un-gradient-position"),"gradient-from":P("--un-gradient-from",{syntax:"<color>",initialValue:"#0000"}),"gradient-via":P("--un-gradient-via",{syntax:"<color>",initialValue:"#0000"}),"gradient-to":P("--un-gradient-to",{syntax:"<color>",initialValue:"#0000"}),"gradient-stops":P("--un-gradient-stops"),"gradient-via-stops":P("--un-gradient-via-stops"),"gradient-from-position":P("--un-gradient-from-position",{syntax:"<length-percentage>",initialValue:"0%"}),"gradient-via-position":P("--un-gradient-via-position",{syntax:"<length-percentage>",initialValue:"50%"}),"gradient-to-position":P("--un-gradient-to-position",{syntax:"<length-percentage>",initialValue:"100%"})};function Za(t){let e="in oklab";if(t)if(t.startsWith("[")&&t.endsWith("]"))e=t.slice(1,-1);else switch(t){case"longer":case"shorter":case"increasing":case"decreasing":e=`in oklch ${t} hue`;break;default:e=`in ${t}`}return e}function cp(){return function*([,t,e],{theme:r}){let n={},i=sn(e,r);if(i){let{color:a,keys:s,alpha:o}=i;if(a){if(Object.values(an).includes(a))n[`--un-gradient-${t}`]=a;else{n[`--un-${t}-opacity`]=o;let u=s?X("colors",s):a;n[`--un-gradient-${t}`]=`color-mix(in oklab, ${u} var(--un-${t}-opacity), transparent)`,yield P(`--un-${t}-opacity`,{syntax:"<percentage>",initialValue:"100%"})}s&&T("colors",s),r&&ln(a,r)}}else n[`--un-gradient-${t}`]=E.bracket.cssvar(e);if(n[`--un-gradient-${t}`]){switch(t){case"from":yield{...n,"--un-gradient-stops":"var(--un-gradient-via-stops, var(--un-gradient-position), var(--un-gradient-from) var(--un-gradient-from-position), var(--un-gradient-to) var(--un-gradient-to-position))"};break;case"via":yield{...n,"--un-gradient-via-stops":"var(--un-gradient-position), var(--un-gradient-from) var(--un-gradient-from-position), var(--un-gradient-via) var(--un-gradient-via-position), var(--un-gradient-to) var(--un-gradient-to-position)","--un-gradient-stops":"var(--un-gradient-via-stops)"};break;case"to":yield{...n,"--un-gradient-stops":"var(--un-gradient-via-stops, var(--un-gradient-position), var(--un-gradient-from) var(--un-gradient-from-position), var(--un-gradient-to) var(--un-gradient-to-position))"};break;case"stops":yield{...n};break}for(let a of Object.values(Xs))yield a}}}function dp(){return function*([,t,e]){yield{[`--un-gradient-${t}-position`]:`${E.bracket.cssvar.percent(e)}`};for(let r of Object.values(Xs))yield r}}var hp=[[/^bg-(linear|radial|conic)-([^/]+)(?:\/(.+))?$/,([,t,e,r])=>{let n;if(E.number(e)!=null?n=`from ${E.number(e)}deg ${Za(r)};`:n=E.bracket(e),n)return{"--un-gradient-position":n,"background-image":`${t}-gradient(var(--un-gradient-stops))`}},{autocomplete:["bg-(linear|radial|conic)","(from|to|via)-$colors","(from|to|via)-(op|opacity)","(from|to|via)-(op|opacity)-<percent>"]}],[/^(from|via|to|stops)-(.+)$/,cp()],[/^(from|via|to)-op(?:acity)?-?(.+)$/,([,t,e])=>({[`--un-${t}-opacity`]:E.bracket.percent(e)})],[/^(from|via|to)-([\d.]+%)$/,dp()],[/^bg-((?:repeating-)?(?:linear|radial|conic))$/,([,t])=>({"background-image":`${t}-gradient(var(--un-gradient, var(--un-gradient-stops, rgb(255 255 255 / 0))))`}),{autocomplete:["bg-gradient-repeating","bg-gradient-(linear|radial|conic)","bg-gradient-repeating-(linear|radial|conic)"]}],[/^bg-(gradient|linear|radial|conic)(?:-to-([rltb]{1,2}))?(?:\/(.+))?$/,([,t,e,r])=>({"--un-gradient-position":`${e in le?`to ${le[e]} `:" "}${Za(r)}`,"background-image":`${t==="gradient"?"linear":t}-gradient(var(--un-gradient-stops))`}),{autocomplete:["gradient","linear","radial","conic"].map(t=>`bg-${t}-to-(${Object.keys(le).filter(e=>e.length<=2&&Array.from(e).every(r=>"rltb".includes(r))).join("|")})`)}],["bg-none",{"background-image":"none"}],["box-decoration-slice",{"box-decoration-break":"slice"}],["box-decoration-clone",{"box-decoration-break":"clone"}],...I("box-decoration","box-decoration-break"),["bg-auto",{"background-size":"auto"}],["bg-cover",{"background-size":"cover"}],["bg-contain",{"background-size":"contain"}],[/^bg-size-(.+)$/,([,t])=>({"background-size":E.bracket.cssvar(t)})],["bg-fixed",{"background-attachment":"fixed"}],["bg-local",{"background-attachment":"local"}],["bg-scroll",{"background-attachment":"scroll"}],["bg-clip-border",{"-webkit-background-clip":"border-box","background-clip":"border-box"}],["bg-clip-content",{"-webkit-background-clip":"content-box","background-clip":"content-box"}],["bg-clip-padding",{"-webkit-background-clip":"padding-box","background-clip":"padding-box"}],["bg-clip-text",{"-webkit-background-clip":"text","background-clip":"text"}],...ee.map(t=>[`bg-clip-${t}`,{"-webkit-background-clip":t,"background-clip":t}]),[/^bg-([-\w]{3,})$/,([,t])=>({"background-position":le[t]})],["bg-repeat",{"background-repeat":"repeat"}],["bg-no-repeat",{"background-repeat":"no-repeat"}],["bg-repeat-x",{"background-repeat":"repeat-x"}],["bg-repeat-y",{"background-repeat":"repeat-y"}],["bg-repeat-round",{"background-repeat":"round"}],["bg-repeat-space",{"background-repeat":"space"}],...I("bg-repeat","background-repeat"),["bg-origin-border",{"background-origin":"border-box"}],["bg-origin-padding",{"background-origin":"padding-box"}],["bg-origin-content",{"background-origin":"content-box"}],...I("bg-origin","background-origin")],Ya=[[/^outline-(?:width-|size-)?(.+)$/,Qs,{autocomplete:"outline-(width|size)-<num>"}],[/^outline-(?:color-)?(.+)$/,pp,{autocomplete:"outline-$colors"}],[/^outline-op(?:acity)?-?(.+)$/,([,t])=>({"--un-outline-opacity":E.bracket.percent.cssvar(t)}),{autocomplete:"outline-(op|opacity)-<percent>"}],[/^outline-offset-(.+)$/,([,t])=>({"outline-offset":E.bracket.cssvar.global.px(t)}),{autocomplete:"outline-(offset)-<num>"}],["outline-offset-none",{"outline-offset":"0"}],["outline",[{"outline-style":"var(--un-outline-style)","outline-width":"1px"},P("--un-outline-style",{initialValue:"solid"})]],["outline-hidden",[{"outline-style":"none"},{[re.parent]:"@media (forced-colors: active)",outline:"2px solid transparent","outline-offset":"2px"}]],["outline-none",{"--un-outline-style":"none","outline-style":"none"}],...["auto","dashed","dotted","double","solid","groove","ridge","inset","outset",...ee].map(t=>[`outline-${t}`,{"--un-outline-style":t,"outline-style":t}])];function*Qs([,t]){let e=E.bracket.cssvar.global.px(t);e!=null&&(yield{"outline-style":"var(--un-outline-style)","outline-width":e},yield P("--un-outline-style",{initialValue:"solid"}))}function*pp(t,e){if(yr(E.bracket(t[1])))yield*Qs(t);else{let r=Q("outline-color","outline")(t,e);if(r)for(let n of r)yield n}}var fp=[["appearance-auto",{"-webkit-appearance":"auto",appearance:"auto"}],["appearance-none",{"-webkit-appearance":"none",appearance:"none"}]];function mp(t){let e=E.bracket(t);return e&&E.properties(e)?e:E.properties.auto.cssvar.global(t)??{contents:"contents",scroll:"scroll-position"}[t]}var Ga=[[/^will-change-(.+)/,([,t])=>({"will-change":mp(t)})]],Dn={disc:"disc",circle:"circle",square:"square",decimal:"decimal","zero-decimal":"decimal-leading-zero",greek:"lower-greek",roman:"lower-roman","upper-roman":"upper-roman",alpha:"lower-alpha","upper-alpha":"upper-alpha",latin:"lower-latin","upper-latin":"upper-latin"},gp=[[/^list-(.+?)(?:-(outside|inside))?$/,([,t,e])=>{let r=Dn[t];if(r)return e?{"list-style-position":e,"list-style-type":r}:{"list-style-type":r}},{autocomplete:[`list-(${Object.keys(Dn).join("|")})`,`list-(${Object.keys(Dn).join("|")})-(outside|inside)`]}],["list-outside",{"list-style-position":"outside"}],["list-inside",{"list-style-position":"inside"}],["list-none",{"list-style-type":"none"}],[/^list-image-(.+)$/,([,t])=>{if(/^\[url\(.+\)\]$/.test(t))return{"list-style-image":E.bracket(t)}}],["list-image-none",{"list-style-image":"none"}],...I("list","list-style-type")],bp=[[/^accent-(.+)$/,Q("accent-color","accent"),{autocomplete:"accent-$colors"}],[/^accent-op(?:acity)?-?(.+)$/,([,t])=>({"--un-accent-opacity":E.bracket.percent(t)}),{autocomplete:["accent-(op|opacity)","accent-(op|opacity)-<percent>"]}]],yp=[[/^caret-(.+)$/,Q("caret-color","caret"),{autocomplete:"caret-$colors"}],[/^caret-op(?:acity)?-?(.+)$/,([,t])=>({"--un-caret-opacity":E.bracket.percent(t)}),{autocomplete:["caret-(op|opacity)","caret-(op|opacity)-<percent>"]}]],vp=[["image-render-auto",{"image-rendering":"auto"}],["image-render-edge",{"image-rendering":"crisp-edges"}],["image-render-pixel",[["-ms-interpolation-mode","nearest-neighbor"],["image-rendering","-webkit-optimize-contrast"],["image-rendering","-moz-crisp-edges"],["image-rendering","-o-pixelated"],["image-rendering","pixelated"]]]],kp=[["overscroll-auto",{"overscroll-behavior":"auto"}],["overscroll-contain",{"overscroll-behavior":"contain"}],["overscroll-none",{"overscroll-behavior":"none"}],...I("overscroll","overscroll-behavior"),["overscroll-x-auto",{"overscroll-behavior-x":"auto"}],["overscroll-x-contain",{"overscroll-behavior-x":"contain"}],["overscroll-x-none",{"overscroll-behavior-x":"none"}],...I("overscroll-x","overscroll-behavior-x"),["overscroll-y-auto",{"overscroll-behavior-y":"auto"}],["overscroll-y-contain",{"overscroll-behavior-y":"contain"}],["overscroll-y-none",{"overscroll-behavior-y":"none"}],...I("overscroll-y","overscroll-behavior-y")],xp=[["scroll-auto",{"scroll-behavior":"auto"}],["scroll-smooth",{"scroll-behavior":"smooth"}],...I("scroll","scroll-behavior")],lt=["solid","dashed","dotted","double","hidden","none","groove","ridge","inset","outset",...ee],wp=[[/^(?:border|b)()(?:-(.+))?$/,Ae,{autocomplete:"(border|b)-<directions>"}],[/^(?:border|b)-([xy])(?:-(.+))?$/,Ae],[/^(?:border|b)-([rltbse])(?:-(.+))?$/,Ae],[/^(?:border|b)-(block|inline)(?:-(.+))?$/,Ae],[/^(?:border|b)-([bi][se])(?:-(.+))?$/,Ae],[/^(?:border|b)-()(?:width|size)-(.+)$/,Ae,{autocomplete:["(border|b)-<num>","(border|b)-<directions>-<num>"]}],[/^(?:border|b)-([xy])-(?:width|size)-(.+)$/,Ae],[/^(?:border|b)-([rltbse])-(?:width|size)-(.+)$/,Ae],[/^(?:border|b)-(block|inline)-(?:width|size)-(.+)$/,Ae],[/^(?:border|b)-([bi][se])-(?:width|size)-(.+)$/,Ae],[/^(?:border|b)-()(?:color-)?(.+)$/,qt,{autocomplete:["(border|b)-$colors","(border|b)-<directions>-$colors"]}],[/^(?:border|b)-([xy])-(?:color-)?(.+)$/,qt],[/^(?:border|b)-([rltbse])-(?:color-)?(.+)$/,qt],[/^(?:border|b)-(block|inline)-(?:color-)?(.+)$/,qt],[/^(?:border|b)-([bi][se])-(?:color-)?(.+)$/,qt],[/^(?:border|b)-()op(?:acity)?-?(.+)$/,Ut,{autocomplete:"(border|b)-(op|opacity)-<percent>"}],[/^(?:border|b)-([xy])-op(?:acity)?-?(.+)$/,Ut],[/^(?:border|b)-([rltbse])-op(?:acity)?-?(.+)$/,Ut],[/^(?:border|b)-(block|inline)-op(?:acity)?-?(.+)$/,Ut],[/^(?:border|b)-([bi][se])-op(?:acity)?-?(.+)$/,Ut],[/^(?:border-|b-)?(?:rounded|rd)()(?:-(.+))?$/,Wt,{autocomplete:["(border|b)-(rounded|rd)","(border|b)-(rounded|rd)-$radius","(rounded|rd)","(rounded|rd)-$radius"]}],[/^(?:border-|b-)?(?:rounded|rd)-([rltbse])(?:-(.+))?$/,Wt],[/^(?:border-|b-)?(?:rounded|rd)-([rltb]{2})(?:-(.+))?$/,Wt],[/^(?:border-|b-)?(?:rounded|rd)-([bise][se])(?:-(.+))?$/,Wt],[/^(?:border-|b-)?(?:rounded|rd)-([bi][se]-[bi][se])(?:-(.+))?$/,Wt],[/^(?:border|b)-(?:style-)?()(.+)$/,Ht,{autocomplete:["(border|b)-style",`(border|b)-(${lt.join("|")})`,"(border|b)-<directions>-style",`(border|b)-<directions>-(${lt.join("|")})`,`(border|b)-<directions>-style-(${lt.join("|")})`,`(border|b)-style-(${lt.join("|")})`]}],[/^(?:border|b)-([xy])-(?:style-)?(.+)$/,Ht],[/^(?:border|b)-([rltbse])-(?:style-)?(.+)$/,Ht],[/^(?:border|b)-(block|inline)-(?:style-)?(.+)$/,Ht],[/^(?:border|b)-([bi][se])-(?:style-)?(.+)$/,Ht]];function $p(t){return([,e],r)=>{let n=sn(e,r.theme),i=Js(n,`border${t}-color`,`border${t}`,r);if(i){let a=i[0];return n?.color&&!Object.values(an).includes(n.color)&&!n.alpha&&t&&t!==""&&(a[`--un-border${t}-opacity`]="var(--un-border-opacity)"),i}}}function Ae([,t="",e="1"]){let r=E.bracket.cssvar.global.px(e);if(t in Me&&r!=null)return Me[t].map(n=>[`border${n}-width`,r])}function qt([,t="",e],r){if(t in Me){if(yr(E.bracket(e)))return Ae(["",t,e]);if(rt(e,r.theme)){let n=Me[t].map(i=>$p(i)(["",e],r)).filter(er);return[n.map(i=>i[0]).reduce((i,a)=>(Object.assign(i,a),i),{}),...n.flatMap(i=>i.slice(1))]}}}function Ut([,t="",e]){let r=E.bracket.percent.cssvar(e);if(t in Me&&r!=null)return Me[t].map(n=>[`--un-border${n}-opacity`,r])}function Wt([,t="",e="DEFAULT"],{theme:r}){if(t in Lr){if(e==="full")return Lr[t].map(i=>[`border${i}-radius`,"calc(infinity * 1px)"]);let n=r.radius?.[e]??E.bracket.cssvar.global.fraction.rem(e);if(n!=null){let i=r.radius&&e in r.radius;return i&&T("radius",e),Lr[t].map(a=>[`border${a}-radius`,i?X("radius",e):n])}}}function Ht([,t="",e]){if(lt.includes(e)&&t in Me)return[["--un-border-style",e],...Me[t].map(r=>[`border${r}-style`,e])]}var Ep=[[/^op(?:acity)?-?(.+)$/,([,t])=>({opacity:E.bracket.percent.cssvar(t)})]],Sp=/^\[url\(.+\)\]$/,_p=/^\[(?:length|size):.+\]$/,Cp=/^\[position:.+\]$/,Ap=/^\[(?:linear|conic|radial)-gradient\(.+\)\]$/,Dp=/^\[image:.+\]$/,Op=[[/^bg-(.+)$/,(...t)=>{let e=t[0][1];if(Sp.test(e))return{"--un-url":E.bracket(e),"background-image":"var(--un-url)"};if(_p.test(e)&&E.bracketOfLength(e)!=null)return{"background-size":E.bracketOfLength(e).split(" ").map(r=>E.fraction.auto.px.cssvar(r)??r).join(" ")};if((tp(e)||Cp.test(e))&&E.bracketOfPosition(e)!=null)return{"background-position":E.bracketOfPosition(e).split(" ").map(r=>E.position.fraction.auto.px.cssvar(r)??r).join(" ")};if(Ap.test(e)||Dp.test(e)){let r=E.bracket(e);if(r)return{"background-image":(r.startsWith("http")?`url(${r})`:E.cssvar(r))??r}}return Q("background-color","bg")(...t)},{autocomplete:"bg-$colors"}],[/^bg-op(?:acity)?-?(.+)$/,([,t])=>({"--un-bg-opacity":E.bracket.percent.cssvar(t)}),{autocomplete:"bg-(op|opacity)-<percent>"}]],Bp=[[/^(?:color-)?scheme-(.+)$/,([,t])=>({"color-scheme":t.split("-").join(" ")})]],Fp=[[/^columns-(.+)$/,([,t],{theme:e})=>e.container&&t in e.container?(T("container",t),{columns:X("container",t)}):{columns:E.bracket.numberWithUnit.number.cssvar(t)},{autocomplete:["columns-<num>","columns-$container"]}],["columns-auto",{columns:"auto"}],["break-before-auto",{"break-before":"auto"}],["break-before-avoid",{"break-before":"avoid"}],["break-before-all",{"break-before":"all"}],["break-before-avoid-page",{"break-before":"avoid-page"}],["break-before-page",{"break-before":"page"}],["break-before-left",{"break-before":"left"}],["break-before-right",{"break-before":"right"}],["break-before-column",{"break-before":"column"}],...I("break-before"),["break-inside-auto",{"break-inside":"auto"}],["break-inside-avoid",{"break-inside":"avoid"}],["break-inside-avoid-page",{"break-inside":"avoid-page"}],["break-inside-avoid-column",{"break-inside":"avoid-column"}],...I("break-inside"),["break-after-auto",{"break-after":"auto"}],["break-after-avoid",{"break-after":"avoid"}],["break-after-all",{"break-after":"all"}],["break-after-avoid-page",{"break-after":"avoid-page"}],["break-after-page",{"break-after":"page"}],["break-after-left",{"break-after":"left"}],["break-after-right",{"break-after":"right"}],["break-after-column",{"break-after":"column"}],...I("break-after")],Ja=["solid","double","dotted","dashed","wavy",...ee],Mp=[[/^(?:decoration-)?(underline|overline|line-through)$/,([,t])=>({"text-decoration-line":t}),{autocomplete:"decoration-(underline|overline|line-through)"}],[/^(?:underline|decoration)-(?:size-)?(.+)$/,eu,{autocomplete:"(underline|decoration)-<num>"}],[/^(?:underline|decoration)-(auto|from-font)$/,([,t])=>({"text-decoration-thickness":t}),{autocomplete:"(underline|decoration)-(auto|from-font)"}],[/^(?:underline|decoration)-(.+)$/,Np,{autocomplete:"(underline|decoration)-$colors"}],[/^(?:underline|decoration)-op(?:acity)?-?(.+)$/,([,t])=>({"--un-line-opacity":E.bracket.percent.cssvar(t)}),{autocomplete:"(underline|decoration)-(op|opacity)-<percent>"}],[/^(?:underline|decoration)-offset-(.+)$/,([,t])=>({"text-underline-offset":E.auto.bracket.cssvar.global.px(t)}),{autocomplete:"(underline|decoration)-(offset)-<num>"}],...Ja.map(t=>[`underline-${t}`,{"text-decoration-style":t}]),...Ja.map(t=>[`decoration-${t}`,{"text-decoration-style":t}]),["no-underline",{"text-decoration":"none"}],["decoration-none",{"text-decoration":"none"}]];function eu([,t]){return{"text-decoration-thickness":E.bracket.cssvar.global.px(t)}}function Np(t,e){if(yr(E.bracket(t[1])))return eu(t);let r=Q("text-decoration-color","line")(t,e);if(r){let n=r[0];return n["-webkit-text-decoration-color"]=n["text-decoration-color"],r}}var Pp=[[/^pa?()-?(.+)$/,H("padding"),{autocomplete:["(m|p)<num>","(m|p)-<num>"]}],[/^p-?xy()()$/,H("padding"),{autocomplete:"(m|p)-(xy)"}],[/^p-?([xy])(?:-?(.+))?$/,H("padding")],[/^p-?([rltbse])(?:-?(.+))?$/,H("padding"),{autocomplete:"(m|p)<directions>-<num>"}],[/^p-(block|inline)(?:-(.+))?$/,H("padding"),{autocomplete:"(m|p)-(block|inline)-<num>"}],[/^p-?([bi][se])(?:-?(.+))?$/,H("padding"),{autocomplete:"(m|p)-(bs|be|is|ie)-<num>"}]],Lp=[[/^ma?()-?(.+)$/,H("margin")],[/^m-?xy()()$/,H("margin")],[/^m-?([xy])(?:-?(.+))?$/,H("margin")],[/^m-?([rltbse])(?:-?(.+))?$/,H("margin")],[/^m-(block|inline)(?:-(.+))?$/,H("margin")],[/^m-?([bi][se])(?:-?(.+))?$/,H("margin")]],zp=[[/^space-([xy])-(.+)$/,Tp,{autocomplete:["space-(x|y)","space-(x|y)-reverse","space-(x|y)-$spacing"]}],[/^space-([xy])-reverse$/,function*([t,e],{symbols:r}){yield{[r.variants]:[ct(t)],[`--un-space-${e}-reverse`]:"1"},yield P(`--un-space-${e}-reverse`,{initialValue:0})}]];function ct(t){return{matcher:t,handle:(e,r)=>r({...e,parent:`${e.parent?`${e.parent} $$ `:""}${e.selector}`,selector:":where(&>:not(:last-child))"})}}function*Tp([t,e,r],{theme:n,symbols:i}){let a,s=we(r);if(s!=null?(T("spacing"),a=`calc(var(--spacing) * ${s})`):a=n.spacing?.[r]??E.bracket.cssvar.auto.fraction.rem(r||"1"),a!=null){let o=Me[e==="x"?"inline":"block"].map((u,c)=>[`margin${u}`,`calc(${a} * ${c===0?`var(--un-space-${e}-reverse)`:`calc(1 - var(--un-space-${e}-reverse))`})`]);o&&(yield{[i.variants]:[ct(t)],[`--un-space-${e}-reverse`]:"0",...Object.fromEntries(o)},yield P(`--un-space-${e}-reverse`,{initialValue:0}))}}var jp=[[/^divide-(.+)$/,function*(t,e){let r=Q("border-color","divide")(t,e);r&&(yield{[e.symbols.variants]:[ct(t[0])],...r[0]},yield r[1])},{autocomplete:"divide-$colors"}],[/^divide-op(?:acity)?-?(.+)$/,function*([t,e],{symbols:r}){yield{[r.variants]:[ct(t)],"--un-divide-opacity":E.bracket.percent(e)}},{autocomplete:["divide-(op|opacity)","divide-(op|opacity)-<percent>"]}],[/^divide-?([xy])$/,Ka,{autocomplete:["divide-(x|y)","divide-(x|y)-reverse"]}],[/^divide-?([xy])-?(.+)$/,Ka],[/^divide-?([xy])-reverse$/,function*([t,e],{symbols:r}){yield{[r.variants]:[ct(t)],[`--un-divide-${e}-reverse`]:"1"},yield P(`--un-divide-${e}-reverse`,{initialValue:0})}],[new RegExp(`^divide-(${lt.join("|")})$`),function*([t,e],{symbols:r}){yield{[r.variants]:[ct(t)],"border-style":e}},{autocomplete:lt.map(t=>`divide-${t}`)}]];function*Ka([t,e,r],{symbols:n}){let i=E.bracket.cssvar.px(r||"1");if(i!=null){i==="0"&&(i="0px");let a={x:["-left","-right"],y:["-top","-bottom"]}[e].map(s=>{let o=s.endsWith("left")||s.endsWith("top")?`calc(${i} * var(--un-divide-${e}-reverse))`:`calc(${i} * calc(1 - var(--un-divide-${e}-reverse)))`;return[[`border${s}-width`,o],[`border${s}-style`,"var(--un-border-style)"]]});a&&(yield{[n.variants]:[ct(t)],[`--un-divide-${e}-reverse`]:0,...Object.fromEntries(a.flat())},yield P(`--un-divide-${e}-reverse`,{initialValue:0}),yield P("--un-border-style",{initialValue:"solid"}))}}var tu=["blur","brightness","contrast","grayscale","hue-rotate","invert","saturate","sepia","drop-shadow"],ti=tu.map(t=>P(`--un-${t}`)),qr=tu.map(t=>`var(--un-${t},)`).join(" "),ru=["backdrop-blur","backdrop-brightness","backdrop-contrast","backdrop-grayscale","backdrop-hue-rotate","backdrop-invert","backdrop-opacity","backdrop-saturate","backdrop-sepia"],Ip=ru.map(t=>P(`--un-${t}`)),Ur=ru.map(t=>`var(--un-${t},)`).join(" ");function On(t){let e=E.bracket.cssvar(t||"");if(e!=null||(e=t?E.percent(t):"100%",e!=null&&Number.parseFloat(e.slice(0,-1))<=100))return e}function We(t,e){return([,r,n],{theme:i})=>{let a=e(n,i)??(n==="none"?"0":"");if(a!=="")return r?[{[`--un-${r}${t}`]:`${t}(${a})`,"-webkit-backdrop-filter":Ur,"backdrop-filter":Ur},...Ip]:[{[`--un-${t}`]:`${t}(${a})`,filter:qr},...ti]}}function Rp(t,e){let[,r]=t,{theme:n}=e,i=[];r&&(i=tt(r,"/",2)??[],r.startsWith("/")&&(i=["",r.slice(1)]));let a=n.dropShadow?.[i[0]||"DEFAULT"],s=r?E.bracket.cssvar(r):void 0;if((a!=null||s!=null)&&!rt(s,n)){let o=i[1]?E.bracket.percent.cssvar(i[1]):void 0;return[{"--un-drop-shadow-opacity":o,"--un-drop-shadow":`drop-shadow(${Ei(a||s,"--un-drop-shadow-color",o).join(") drop-shadow(")})`,filter:qr},...ti]}if(rt(r,n))return Q("--un-drop-shadow-color","drop-shadow")(t,e);if(a=E.bracket.cssvar(r)??(r==="none"?"":void 0),a!=null)return[{"--un-drop-shadow":a&&`drop-shadow(${a})`,filter:qr},...ti]}var Vp=[[/^(?:(backdrop-)|filter-)?blur(?:-(.+))?$/,We("blur",(t,e)=>e.blur?.[t||"DEFAULT"]||E.bracket.cssvar.px(t)),{autocomplete:["(backdrop|filter)-blur-$blur","blur-$blur","filter-blur"]}],[/^(?:(backdrop-)|filter-)?brightness-(.+)$/,We("brightness",t=>E.bracket.cssvar.percent(t)),{autocomplete:["(backdrop|filter)-brightness-<percent>","brightness-<percent>"]}],[/^(?:(backdrop-)|filter-)?contrast-(.+)$/,We("contrast",t=>E.bracket.cssvar.percent(t)),{autocomplete:["(backdrop|filter)-contrast-<percent>","contrast-<percent>"]}],[/^(?:filter-)?drop-shadow(?:-?(.+))?$/,Rp,{autocomplete:["filter-drop","filter-drop-shadow","filter-drop-shadow-color","drop-shadow","drop-shadow-color","filter-drop-shadow-$dropShadow","drop-shadow-$dropShadow","filter-drop-shadow-$colors","drop-shadow-$colors","filter-drop-shadow-color-$colors","drop-shadow-color-$colors","filter-drop-shadow-color-(op|opacity)","drop-shadow-color-(op|opacity)","filter-drop-shadow-color-(op|opacity)-<percent>","drop-shadow(-color)?-(op|opacity)-<percent>"]}],[/^(?:filter-)?drop-shadow-color-(.+)$/,Q("--un-drop-shadow-color","drop-shadow")],[/^(?:filter-)?drop-shadow(?:-color)?-op(?:acity)?-?(.+)$/,([,t])=>({"--un-drop-shadow-opacity":E.bracket.percent(t)})],[/^(?:(backdrop-)|filter-)?grayscale(?:-(.+))?$/,We("grayscale",On),{autocomplete:["(backdrop|filter)-grayscale","(backdrop|filter)-grayscale-<percent>","grayscale-<percent>"]}],[/^(?:(backdrop-)|filter-)?hue-rotate-(.+)$/,We("hue-rotate",t=>E.bracket.cssvar.degree(t))],[/^(?:(backdrop-)|filter-)?invert(?:-(.+))?$/,We("invert",On),{autocomplete:["(backdrop|filter)-invert","(backdrop|filter)-invert-<percent>","invert-<percent>"]}],[/^(backdrop-)op(?:acity)?-(.+)$/,We("opacity",t=>E.bracket.cssvar.percent(t)),{autocomplete:["backdrop-(op|opacity)","backdrop-(op|opacity)-<percent>"]}],[/^(?:(backdrop-)|filter-)?saturate-(.+)$/,We("saturate",t=>E.bracket.cssvar.percent(t)),{autocomplete:["(backdrop|filter)-saturate","(backdrop|filter)-saturate-<percent>","saturate-<percent>"]}],[/^(?:(backdrop-)|filter-)?sepia(?:-(.+))?$/,We("sepia",On),{autocomplete:["(backdrop|filter)-sepia","(backdrop|filter)-sepia-<percent>","sepia-<percent>"]}],["filter",{filter:qr}],["backdrop-filter",{"-webkit-backdrop-filter":Ur,"backdrop-filter":Ur}],["filter-none",{filter:"none"}],["backdrop-filter-none",{"-webkit-backdrop-filter":"none","backdrop-filter":"none"}],...ee.map(t=>[`filter-${t}`,{filter:t}]),...ee.map(t=>[`backdrop-filter-${t}`,{"-webkit-backdrop-filter":t,"backdrop-filter":t}])],qp=[["flex",{display:"flex"}],["inline-flex",{display:"inline-flex"}],["flex-inline",{display:"inline-flex"}],[/^flex-(.*)$/,([,t])=>({flex:E.bracket(t)!=null?E.bracket(t).split(" ").map(e=>E.cssvar.fraction(e)??e).join(" "):E.cssvar.fraction(t)})],["flex-1",{flex:"1 1 0%"}],["flex-auto",{flex:"1 1 auto"}],["flex-initial",{flex:"0 1 auto"}],["flex-none",{flex:"none"}],[/^(?:flex-)?shrink(?:-(.*))?$/,([,t=""])=>({"flex-shrink":E.bracket.cssvar.number(t)??1}),{autocomplete:["flex-shrink-<num>","shrink-<num>"]}],[/^(?:flex-)?grow(?:-(.*))?$/,([,t=""])=>({"flex-grow":E.bracket.cssvar.number(t)??1}),{autocomplete:["flex-grow-<num>","grow-<num>"]}],[/^(?:flex-)?basis-(.+)$/,([,t])=>{let e=we(t);return e!=null?(T("spacing"),{"flex-basis":`calc(var(--spacing) * ${e})`}):{"flex-basis":E.bracket.cssvar.auto.fraction.rem(t)}},{autocomplete:["flex-basis-$spacing","basis-$spacing"]}],["flex-row",{"flex-direction":"row"}],["flex-row-reverse",{"flex-direction":"row-reverse"}],["flex-col",{"flex-direction":"column"}],["flex-col-reverse",{"flex-direction":"column-reverse"}],["flex-wrap",{"flex-wrap":"wrap"}],["flex-wrap-reverse",{"flex-wrap":"wrap-reverse"}],["flex-nowrap",{"flex-wrap":"nowrap"}]],Bn={"":[""],x:["column-"],y:["row-"],col:["column-"],row:["row-"]},Up=[[/^(?:flex-|grid-)?gap-?()(.+)$/,H("gap",Bn,(t,e)=>`${e}${t}`),{autocomplete:["gap-$spacing","gap-<num>"]}],[/^(?:flex-|grid-)?gap-([xy])-?(.+)$/,H("gap",Bn,(t,e)=>`${e}${t}`),{autocomplete:["gap-(x|y)-$spacing","gap-(x|y)-<num>"]}],[/^(?:flex-|grid-)?gap-(col|row)-?(.+)$/,H("gap",Bn,(t,e)=>`${e}${t}`),{autocomplete:["gap-(col|row)-$spacing","gap-(col|row)-<num>"]}]];function ze(t){return t.replace("col","column")}function Wp(t){switch(t){case"min":return"min-content";case"max":return"max-content";case"fr":return"minmax(0,1fr)"}return E.bracket.cssvar.auto.rem(t)}var Hp=[["grid",{display:"grid"}],["inline-grid",{display:"inline-grid"}],[/^(?:grid-)?(row|col)-(.+)$/,([,t,e])=>({[`grid-${ze(t)}`]:E.bracket.number.cssvar.auto(e)})],[/^(?:grid-)?(row|col)-span-(.+)$/,([,t,e])=>{if(e==="full")return{[`grid-${ze(t)}`]:"1/-1"};let r=E.bracket.number.cssvar(e);if(r!=null)return{[`grid-${ze(t)}`]:`span ${r}/span ${r}`}},{autocomplete:"(grid-row|grid-col|row|col)-span-<num>"}],[/^(?:grid-)?(row|col)-start-(.+)$/,([,t,e])=>({[`grid-${ze(t)}-start`]:E.bracket.cssvar(e)??e})],[/^(?:grid-)?(row|col)-end-(.+)$/,([,t,e])=>({[`grid-${ze(t)}-end`]:E.bracket.cssvar(e)??e}),{autocomplete:"(grid-row|grid-col|row|col)-(start|end)-<num>"}],[/^(?:grid-)?auto-(rows|cols)-(.+)$/,([,t,e])=>({[`grid-auto-${ze(t)}`]:Wp(e)}),{autocomplete:"(grid-auto|auto)-(rows|cols)-<num>"}],[/^(?:grid-auto-flow|auto-flow|grid-flow)-(.+)$/,([,t])=>({"grid-auto-flow":E.bracket.cssvar(t)})],[/^(?:grid-auto-flow|auto-flow|grid-flow)-(row|col|dense|row-dense|col-dense)$/,([,t])=>({"grid-auto-flow":ze(t).replace("-"," ")}),{autocomplete:["(grid-auto-flow|auto-flow|grid-flow)-(row|col|dense|row-dense|col-dense)"]}],[/^(?:grid-)?(rows|cols)-(.+)$/,([,t,e])=>({[`grid-template-${ze(t)}`]:E.bracket.cssvar(e)})],[/^(?:grid-)?(rows|cols)-minmax-([\w.-]+)$/,([,t,e])=>({[`grid-template-${ze(t)}`]:`repeat(auto-fill,minmax(${e},1fr))`})],[/^(?:grid-)?(rows|cols)-(\d+)$/,([,t,e])=>({[`grid-template-${ze(t)}`]:`repeat(${e},minmax(0,1fr))`}),{autocomplete:"(grid-rows|grid-cols|rows|cols)-<num>"}],[/^grid-area(s)?-(.+)$/,([,t,e])=>t!=null?{"grid-template-areas":E.cssvar(e)??e.split("-").map(r=>`"${E.bracket(r)}"`).join(" ")}:{"grid-area":E.bracket.cssvar(e)}],["grid-rows-none",{"grid-template-rows":"none"}],["grid-cols-none",{"grid-template-columns":"none"}],["grid-rows-subgrid",{"grid-template-rows":"subgrid"}],["grid-cols-subgrid",{"grid-template-columns":"subgrid"}]],Ar=["auto","hidden","clip","visible","scroll","overlay",...ee],Zp=[[/^(?:overflow|of)-(.+)$/,([,t])=>Ar.includes(t)?{overflow:t}:void 0,{autocomplete:[`(overflow|of)-(${Ar.join("|")})`,`(overflow|of)-(x|y)-(${Ar.join("|")})`]}],[/^(?:overflow|of)-([xy])-(.+)$/,([,t,e])=>Ar.includes(e)?{[`overflow-${t}`]:e}:void 0]],Yp=[[/^line-clamp-(\d+)$/,([,t])=>({overflow:"hidden",display:"-webkit-box","-webkit-box-orient":"vertical","-webkit-line-clamp":t}),{autocomplete:["line-clamp","line-clamp-(1|2|3|4|5|6|none)"]}],["line-clamp-none",{overflow:"visible",display:"block","-webkit-box-orient":"horizontal","-webkit-line-clamp":"unset"}]],ri={t:["top"],b:["bottom"],l:["left"],r:["right"],x:["left","right"],y:["top","bottom"]},Xa="linear-gradient(#fff, #fff)",Gp={"mask-image":"var(--un-mask-linear), var(--un-mask-radial), var(--un-mask-conic)","mask-composite":"intersect"};function Qa([,t=""]){if(t in Lr)return{"mask-position":t.split("").flatMap(r=>ri[r]).join(" ")};let e=E.bracket.cssvar.global.position(t);if(e!==null)return{"mask-position":e}}function Fn([t,e="",r,n],i){let a={...Gp},s=[];if(s.push(...["linear","radial","conic"].map(o=>P(`--un-mask-${o}`,{initialValue:Xa}))),e in ri){a["--un-mask-linear"]="var(--un-mask-left), var(--un-mask-right), var(--un-mask-bottom), var(--un-mask-top)";for(let o of ri[e]){if(a[`--un-mask-${o}`]=`linear-gradient(to ${o}, var(--un-mask-${o}-from-color) var(--un-mask-${o}-from-position), var(--un-mask-${o}-to-color) var(--un-mask-${o}-to-position))`,we(n)!=null?(T("spacing"),a[`--un-mask-${o}-${r}-position`]=`calc(var(--spacing) * ${E.bracket.cssvar.fraction.number(n)})`):a[`--un-mask-${o}-${r}-position`]=E.bracket.cssvar.fraction.rem(n),rt(n,i.theme)){let u=Q(`--un-mask-${o}-${r}-color`,ei("colors"))([t,n],i);if(u){let[c,...d]=u;Object.assign(a,c),s.push(...d)}}s.push(...["from","to"].flatMap(u=>[P(`--un-mask-${o}-${u}-position`,{syntax:"<length-percentage>",initialValue:u==="from"?"0%":"100%"}),P(`--un-mask-${o}-${u}-color`,{syntax:"<color>",initialValue:u==="from"?"black":"transparent"})]))}s.push(...["top","right","bottom","left"].map(o=>P(`--un-mask-${o}`,{initialValue:Xa})))}else{if(r==null)e==="radial"?(a["--un-mask-radial"]="radial-gradient(var(--un-mask-radial-stops, var(--un-mask-radial-size)))",a["--un-mask-radial-size"]=E.bracket.cssvar.rem(n)):(a[`--un-mask-${e}`]=`${e}-gradient(var(--un-mask-${e}-stops, var(--un-mask-${e}-position)))`,a[`--un-mask-${e}-position`]=we(n)?`calc(1deg * ${E.bracket.cssvar.number(n)})`:E.bracket.cssvar.fraction(n));else{let o={linear:"",radial:"var(--un-mask-radial-shape) var(--un-mask-radial-size) at ",conic:"from "};if(a[`--un-mask-${e}-stops`]=`${o[e]}var(--un-mask-${e}-position), var(--un-mask-${e}-from-color) var(--un-mask-${e}-from-position), var(--un-mask-${e}-to-color) var(--un-mask-${e}-to-position)`,a[`--un-mask-${e}`]=`${e}-gradient(var(--un-mask-${e}-stops))`,rt(n,i.theme)){let u=Q(`--un-mask-${e}-${r}-color`,ei("colors"))([t,n],i);if(u){let[c,...d]=u;Object.assign(a,c),s.push(...d)}}else we(n)!=null?(T("spacing"),a[`--un-mask-${e}-${r}-position`]=`calc(var(--spacing) * ${E.bracket.cssvar.fraction.number(n)})`):a[`--un-mask-${e}-${r}-position`]=E.bracket.cssvar.fraction.rem(n)}e==="radial"&&s.push(P("--un-mask-radial-shape",{initialValue:"ellipse"}),P("--un-mask-radial-size",{initialValue:"farthest-corner"})),s.push(...["from","to"].flatMap(o=>[P(`--un-mask-${e}-position`,{initialValue:e==="radial"?"center":"0deg"}),P(`--un-mask-${e}-${o}-position`,{syntax:"<length-percentage>",initialValue:o==="from"?"0%":"100%"}),P(`--un-mask-${e}-${o}-color`,{syntax:"<color>",initialValue:o==="from"?"black":"transparent"})]))}return[a,...s]}function Jp([,t=""]){let e=E.bracket.cssvar.global.fraction.rem(t);if(e!==null)return{"mask-size":e}}var Kp=[["mask-clip-border",{"mask-clip":"border-box"}],["mask-clip-padding",{"mask-clip":"padding-box"}],["mask-clip-content",{"mask-clip":"content-box"}],["mask-clip-fill",{"mask-clip":"fill-box"}],["mask-clip-stroke",{"mask-clip":"stroke-box"}],["mask-clip-view",{"mask-clip":"view-box"}],["mask-no-clip",{"mask-clip":"no-clip"}],["mask-add",{"mask-composite":"add"}],["mask-subtract",{"mask-composite":"subtract"}],["mask-intersect",{"mask-composite":"intersect"}],["mask-exclude",{"mask-composite":"exclude"}],[/^mask-(.+)$/,([,t])=>({"mask-image":E.bracket.cssvar(t)})],[/^mask-(linear|radial|conic|[xytblr])-(from|to)()(?:-(.+))?$/,Fn,{autocomplete:["mask-(linear|radial|conic)-(from|to)-$colors","mask-(linear|radial|conic)-(from|to)-<percentage>","mask-(linear|radial|conic)-(from|to)","mask-(linear|radial|conic)-<percent>","mask-(x|y|t|b|l|r)-(from|to)-$colors","mask-(x|y|t|b|l|r)-(from|to)-<percentage>","mask-(x|y|t|b|l|r)-(from|to)","mask-(x|y|t|b|l|r)-<percent>"]}],[/^mask-(linear|radial|conic)-(from|to)?-?(.*)$/,Fn],[/^mask-([trblxy])-(from|to)-(.*)$/,Fn],["mask-none",{"mask-image":"none"}],["mask-radial-circle",{"--un-mask-radial-shape":"circle"}],["mask-radial-ellipse",{"--un-mask-radial-shape":"ellipse"}],["mask-radial-closest-side",{"--un-mask-radial-size":"closest-side"}],["mask-radial-closest-corner",{"--un-mask-radial-size":"closest-corner"}],["mask-radial-farthest-side",{"--un-mask-radial-size":"farthest-side"}],["mask-radial-farthest-corner",{"--un-mask-radial-size":"farthest-corner"}],[/^mask-radial-at-([-\w]{3,})$/,([,t])=>({"--un-mask-radial-position":le[t]}),{autocomplete:[`mask-radial-at-(${Object.keys(le).filter(t=>t.length>2).join("|")})`]}],["mask-alpha",{"mask-mode":"alpha"}],["mask-luminance",{"mask-mode":"luminance"}],["mask-match",{"mask-mode":"match-source"}],["mask-origin-border",{"mask-origin":"border-box"}],["mask-origin-padding",{"mask-origin":"padding-box"}],["mask-origin-content",{"mask-origin":"content-box"}],["mask-origin-fill",{"mask-origin":"fill-box"}],["mask-origin-stroke",{"mask-origin":"stroke-box"}],["mask-origin-view",{"mask-origin":"view-box"}],[/^mask-([rltb]{1,2})$/,Qa],[/^mask-([-\w]{3,})$/,([,t])=>({"mask-position":le[t]})],[/^mask-(?:position-|pos-)(.+)$/,Qa],["mask-repeat",{"mask-repeat":"repeat"}],["mask-no-repeat",{"mask-repeat":"no-repeat"}],["mask-repeat-x",{"mask-repeat":"repeat-x"}],["mask-repeat-y",{"mask-repeat":"repeat-y"}],["mask-repeat-space",{"mask-repeat":"space"}],["mask-repeat-round",{"mask-repeat":"round"}],["mask-auto",{"mask-size":"auto"}],["mask-cover",{"mask-size":"cover"}],["mask-contain",{"mask-size":"contain"}],[/^mask-size-(.+)$/,Jp],["mask-type-luminance",{"mask-type":"luminance"}],["mask-type-alpha",{"mask-type":"alpha"}]],Xp=[[/^\$ placeholder-(.+)$/,Q("color","placeholder"),{autocomplete:"placeholder-$colors"}],[/^\$ placeholder-op(?:acity)?-?(.+)$/,([,t])=>({"--un-placeholder-opacity":E.bracket.percent(t)}),{autocomplete:["placeholder-(op|opacity)","placeholder-(op|opacity)-<percent>"]}]],Qp=[[/^(?:position-|pos-)?(relative|absolute|fixed|sticky)$/,([,t])=>({position:t}),{autocomplete:["(position|pos)-<position>","(position|pos)-<globalKeyword>","<position>"]}],[/^(?:position-|pos-)([-\w]+)$/,([,t])=>ee.includes(t)?{position:t}:void 0],[/^(?:position-|pos-)?(static)$/,([,t])=>({position:t})]],nu=[["justify-start",{"justify-content":"flex-start"}],["justify-end",{"justify-content":"flex-end"}],["justify-center",{"justify-content":"center"}],["justify-between",{"justify-content":"space-between"}],["justify-around",{"justify-content":"space-around"}],["justify-evenly",{"justify-content":"space-evenly"}],["justify-stretch",{"justify-content":"stretch"}],["justify-left",{"justify-content":"left"}],["justify-right",{"justify-content":"right"}],["justify-center-safe",{"justify-content":"safe center"}],["justify-end-safe",{"justify-content":"safe flex-end"}],["justify-normal",{"justify-content":"normal"}],...I("justify","justify-content"),["justify-items-start",{"justify-items":"start"}],["justify-items-end",{"justify-items":"end"}],["justify-items-center",{"justify-items":"center"}],["justify-items-stretch",{"justify-items":"stretch"}],["justify-items-center-safe",{"justify-items":"safe center"}],["justify-items-end-safe",{"justify-items":"safe flex-end"}],...I("justify-items"),["justify-self-auto",{"justify-self":"auto"}],["justify-self-start",{"justify-self":"start"}],["justify-self-end",{"justify-self":"end"}],["justify-self-center",{"justify-self":"center"}],["justify-self-stretch",{"justify-self":"stretch"}],["justify-self-baseline",{"justify-self":"baseline"}],["justify-self-center-safe",{"justify-self":"safe center"}],["justify-self-end-safe",{"justify-self":"safe flex-end"}],...I("justify-self")],ef=[[/^order-(.+)$/,([,t])=>({order:E.bracket.cssvar.number(t)})],["order-first",{order:"calc(-infinity)"}],["order-last",{order:"calc(infinity)"}],["order-none",{order:"0"}]],iu=[["content-center",{"align-content":"center"}],["content-start",{"align-content":"flex-start"}],["content-end",{"align-content":"flex-end"}],["content-between",{"align-content":"space-between"}],["content-around",{"align-content":"space-around"}],["content-evenly",{"align-content":"space-evenly"}],["content-baseline",{"align-content":"baseline"}],["content-center-safe",{"align-content":"safe center"}],["content-end-safe",{"align-content":"safe flex-end"}],["content-stretch",{"align-content":"stretch"}],["content-normal",{"align-content":"normal"}],...I("content","align-content"),["items-start",{"align-items":"flex-start"}],["items-end",{"align-items":"flex-end"}],["items-center",{"align-items":"center"}],["items-baseline",{"align-items":"baseline"}],["items-stretch",{"align-items":"stretch"}],["items-baseline-last",{"align-items":"last baseline"}],["items-center-safe",{"align-items":"safe center"}],["items-end-safe",{"align-items":"safe flex-end"}],...I("items","align-items"),["self-auto",{"align-self":"auto"}],["self-start",{"align-self":"flex-start"}],["self-end",{"align-self":"flex-end"}],["self-center",{"align-self":"center"}],["self-stretch",{"align-self":"stretch"}],["self-baseline",{"align-self":"baseline"}],["self-baseline-last",{"align-self":"last baseline"}],["self-center-safe",{"align-self":"safe center"}],["self-end-safe",{"align-self":"safe flex-end"}],...I("self","align-self")],au=[["place-content-center",{"place-content":"center"}],["place-content-start",{"place-content":"start"}],["place-content-end",{"place-content":"end"}],["place-content-between",{"place-content":"space-between"}],["place-content-around",{"place-content":"space-around"}],["place-content-evenly",{"place-content":"space-evenly"}],["place-content-stretch",{"place-content":"stretch"}],["place-content-baseline",{"place-content":"baseline"}],["place-content-center-safe",{"place-content":"safe center"}],["place-content-end-safe",{"place-content":"safe flex-end"}],...I("place-content"),["place-items-start",{"place-items":"start"}],["place-items-end",{"place-items":"end"}],["place-items-center",{"place-items":"center"}],["place-items-stretch",{"place-items":"stretch"}],["place-items-baseline",{"place-items":"baseline"}],["place-items-center-safe",{"place-items":"safe center"}],["place-items-end-safe",{"place-items":"safe flex-end"}],...I("place-items"),["place-self-auto",{"place-self":"auto"}],["place-self-start",{"place-self":"start"}],["place-self-end",{"place-self":"end"}],["place-self-center",{"place-self":"center"}],["place-self-stretch",{"place-self":"stretch"}],["place-self-center-safe",{"place-self":"safe center"}],["place-self-end-safe",{"place-self":"safe flex-end"}],...I("place-self")],tf=[...nu,...iu,...au].flatMap(([t,e])=>[[`flex-${t}`,e],[`grid-${t}`,e]]);function ni(t){let e=we(t);return e!=null?(T("spacing"),`calc(var(--spacing) * ${e})`):E.bracket.cssvar.global.auto.fraction.rem(t)}function Zt([,t,e]){let r=ni(e);if(r!=null&&t in Ia)return Ia[t].map(n=>[n.slice(1),r])}var rf=[[/^(?:position-|pos-)?inset-(.+)$/,([,t])=>({inset:ni(t)}),{autocomplete:["(position|pos)-inset-<directions>-$spacing","(position|pos)-inset-(block|inline)-$spacing","(position|pos)-inset-(bs|be|is|ie)-$spacing","(position|pos)-(top|left|right|bottom)-$spacing"]}],[/^(?:position-|pos-)?(start|end)-(.+)$/,Zt],[/^(?:position-|pos-)?inset-([xy])-(.+)$/,Zt],[/^(?:position-|pos-)?inset-([rltbse])-(.+)$/,Zt],[/^(?:position-|pos-)?inset-(block|inline)-(.+)$/,Zt],[/^(?:position-|pos-)?inset-([bi][se])-(.+)$/,Zt],[/^(?:position-|pos-)?(top|left|right|bottom)-(.+)$/,([,t,e])=>({[t]:ni(e)})]],nf=[["float-left",{float:"left"}],["float-right",{float:"right"}],["float-start",{float:"inline-start"}],["float-end",{float:"inline-end"}],["float-none",{float:"none"}],...I("float"),["clear-left",{clear:"left"}],["clear-right",{clear:"right"}],["clear-both",{clear:"both"}],["clear-start",{clear:"inline-start"}],["clear-end",{clear:"inline-end"}],["clear-none",{clear:"none"}],...I("clear")],af=[[/^(?:position-|pos-)?z([\d.]+)$/,([,t])=>({"z-index":E.number(t)})],[/^(?:position-|pos-)?z-(.+)$/,([,t])=>({"z-index":E.bracket.cssvar.global.auto.number(t)}),{autocomplete:"z-<num>"}]],of=[["box-border",{"box-sizing":"border-box"}],["box-content",{"box-sizing":"content-box"}],...I("box","box-sizing")],sf=[[/^(where|\?)$/,(t,{constructCSS:e,generator:r})=>{if(r.userConfig.envMode==="dev")return`@keyframes __un_qm{0%{box-shadow:inset 4px 4px #ff1e90, inset -4px -4px #ff1e90}100%{box-shadow:inset 8px 8px #3399ff, inset -8px -8px #3399ff}} ${e({animation:"__un_qm 0.5s ease-in-out alternate infinite"})}`}]],ii={shadow:P("--un-shadow",{initialValue:"0 0 #0000"}),shadowColor:P("--un-shadow-color"),insetShadow:P("--un-inset-shadow",{initialValue:"0 0 #0000"}),insetShadowColor:P("--un-inset-shadow-color"),ringColor:P("--un-ring-color"),ringShadow:P("--un-ring-shadow",{initialValue:"0 0 #0000"}),insetRingColor:P("--un-inset-ring-color"),insetRingShadow:P("--un-inset-ring-shadow",{initialValue:"0 0 #0000"}),ringInset:P("--un-ring-inset"),ringOffsetWidth:P("--un-ring-offset-width",{syntax:"<length>",initialValue:"0px"}),ringOffsetColor:P("--un-ring-offset-color"),ringOffsetShadow:P("--un-ring-offset-shadow",{initialValue:"0 0 #0000"})},uf=[[/^shadow(?:-?(.+))?$/,eo("shadow"),{autocomplete:["shadow-$colors","shadow-$shadow"]}],[/^shadow-op(?:acity)?-?(.+)$/,([,t])=>({"--un-shadow-opacity":E.bracket.percent.cssvar(t)}),{autocomplete:"shadow-(op|opacity)-<percent>"}],[/^inset-shadow(?:-(.+))?$/,eo("insetShadow"),{autocomplete:["inset-shadow-$colors","inset-shadow-$insetShadow"]}],[/^inset-shadow-op(?:acity)?-?(.+)$/,([,t])=>({"--un-inset-shadow-opacity":E.bracket.percent.cssvar(t)}),{autocomplete:"shadow-(op|opacity)-<percent>"}]];function eo(t){return(e,r)=>{let[,n]=e,{theme:i}=r,a=[];n&&(a=tt(n,"/",2)??[],n.startsWith("/")&&(a=["",n.slice(1)]));let s=i[t]?.[a[0]||"DEFAULT"],o=n?E.bracket.cssvar(n):void 0,u=ei(t);if((s!=null||o!=null)&&!rt(o,i)){let c=a[1]?E.bracket.percent.cssvar(a[1]):void 0;return[{[`--un-${u}-opacity`]:c,[`--un-${u}`]:Ei(s||o,`--un-${u}-color`,c).join(","),"box-shadow":"var(--un-inset-shadow), var(--un-inset-ring-shadow), var(--un-ring-offset-shadow), var(--un-ring-shadow), var(--un-shadow)"},...Object.values(ii)]}return Q(`--un-${u}-color`,u)(e,r)}}var lf=[[/^ring(?:-(.+))?$/,([,t])=>{let e=E.bracket.px(t||"1");if(e!=null)return[{"--un-ring-shadow":`var(--un-ring-inset,) 0 0 0 calc(${e} + var(--un-ring-offset-width)) var(--un-ring-color, currentColor)`,"box-shadow":"var(--un-inset-shadow), var(--un-inset-ring-shadow), var(--un-ring-offset-shadow), var(--un-ring-shadow), var(--un-shadow)"},...Object.values(ii)]}],[/^ring-(.+)$/,Q("--un-ring-color","ring"),{autocomplete:"ring-$colors"}],[/^ring-op(?:acity)?-?(.+)$/,([,t])=>({"--un-ring-opacity":E.bracket.percent.cssvar(t)}),{autocomplete:"ring-(op|opacity)-<percent>"}],[/^inset-ring(?:-(.+))?$/,([,t])=>{let e=E.bracket.px(t||"1");if(e!=null)return[{"--un-inset-ring-shadow":`inset 0 0 0 ${e} var(--un-inset-ring-color, currentColor)`,"box-shadow":"var(--un-inset-shadow), var(--un-inset-ring-shadow), var(--un-ring-offset-shadow), var(--un-ring-shadow), var(--un-shadow)"},...Object.values(ii)]}],[/^inset-ring-(.+)$/,Q("--un-inset-ring-color","inset-ring"),{autocomplete:"inset-ring-$colors"}],[/^inset-ring-op(?:acity)?-?(.+)$/,([,t])=>({"--un-inset-ring-opacity":E.bracket.percent.cssvar(t)}),{autocomplete:"inset-ring-(op|opacity)-<percent>"}],[/^ring-offset(?:-(?:width-|size-)?(.+))?$/,([,t])=>{let e=E.bracket.cssvar.px(t||"1");if(e!=null)return{"--un-ring-offset-width":e,"--un-ring-offset-shadow":"var(--un-ring-inset,) 0 0 0 var(--un-ring-offset-width) var(--un-ring-offset-color)"}},{autocomplete:"ring-offset-$colors"}],[/^ring-offset-(.+)$/,Q("--un-ring-offset-color","ring-offset"),{autocomplete:"ring-offset-$colors"}],[/^ring-offset-op(?:acity)?-?(.+)$/,([,t])=>({"--un-ring-offset-opacity":E.bracket.percent.cssvar(t)}),{autocomplete:"ring-offset-(op|opacity)-<percent>"}],["ring-inset",{"--un-ring-inset":"inset"}]],cf=[...["x","y","both"].map(t=>[`snap-${t}`,[{"scroll-snap-type":`${t} var(--un-scroll-snap-strictness)`},P("--un-scroll-snap-strictness",{initialValue:"proximity"})]]),...["mandatory","proximity"].map(t=>[`snap-${t}`,[{"--un-scroll-snap-strictness":t},P("--un-scroll-snap-strictness",{initialValue:"proximity"})]]),["snap-none",{"scroll-snap-type":"none"}],["snap-start",{"scroll-snap-align":"start"}],["snap-end",{"scroll-snap-align":"end"}],["snap-center",{"scroll-snap-align":"center"}],["snap-align-none",{"scroll-snap-align":"none"}],["snap-normal",{"scroll-snap-stop":"normal"}],["snap-always",{"scroll-snap-stop":"always"}],[/^scroll-ma?()-?(.+)$/,H("scroll-margin"),{autocomplete:["scroll-(m|p|ma|pa|block|inline)","scroll-(m|p|ma|pa|block|inline)-$spacing","scroll-(m|p|ma|pa|block|inline)-(x|y|r|l|t|b|bs|be|is|ie)","scroll-(m|p|ma|pa|block|inline)-(x|y|r|l|t|b|bs|be|is|ie)-$spacing"]}],[/^scroll-m-?([xy])-?(.+)$/,H("scroll-margin")],[/^scroll-m-?([rltb])-?(.+)$/,H("scroll-margin")],[/^scroll-m-(block|inline)-(.+)$/,H("scroll-margin")],[/^scroll-m-?([bi][se])-?(.+)$/,H("scroll-margin")],[/^scroll-pa?()-?(.+)$/,H("scroll-padding")],[/^scroll-p-?([xy])-?(.+)$/,H("scroll-padding")],[/^scroll-p-?([rltb])-?(.+)$/,H("scroll-padding")],[/^scroll-p-(block|inline)-(.+)$/,H("scroll-padding")],[/^scroll-p-?([bi][se])-?(.+)$/,H("scroll-padding")]],df={h:"height",w:"width",inline:"inline-size",block:"block-size"};function yt(t,e){return`${t||""}${df[e]}`}function Dr(t,e,r){let n;for(let i of["container","spacing"])if(t[i]?.[r]){T(i,r),n=X(i,r);break}if(!n)switch(r){case"fit":case"max":case"min":n=`${r}-content`;break;case"stretch":n="stretch";break;case"screen":n=e==="w"?"100vw":"100vh";break}return!n&&E.number(r)!=null&&(T("spacing"),n=`calc(var(--spacing) * ${E.number(r)})`),n??E.bracket.cssvar.global.auto.none.fraction.rem(r)}var hf=[[/^size-(min-|max-)?(.+)$/,([,t,e],{theme:r})=>({[yt(t,"w")]:Dr(r,"w",e),[yt(t,"h")]:Dr(r,"h",e)})],[/^(?:size-)?(min-|max-)?([wh])-?(.+)$/,([,t,e,r],{theme:n})=>({[yt(t,e)]:Dr(n,e,r)})],[/^(?:size-)?(min-|max-)?(block|inline)-(.+)$/,([,t,e,r],{theme:n})=>({[yt(t,e)]:Dr(n,e,r)}),{autocomplete:["(w|h)-<num>","(w|h)-(full|screen|fit|max|min)","(max|min)-(w|h)-<num>","(max|min)-(w|h)-(full|screen|fit|max|min)","(block|inline)-<num>","(block|inline)-(full|screen|fit|max|min)","(max|min)-(w|h|block|inline)","(max|min)-(w|h|block|inline)-<num>","(max|min)-(w|h|block|inline)-(full|screen|fit|max|min)"]}],[/^(?:size-)?(min-|max-)?(h)-screen-(.+)$/,([,t,e,r],n)=>({[yt(t,e)]:to(n,r,"verticalBreakpoint")})],[/^(?:size-)?(min-|max-)?(w)-screen-(.+)$/,([,t,e,r],n)=>({[yt(t,e)]:to(n,r)}),{autocomplete:["(w|h)-screen","(min|max)-(w|h)-screen","h-screen-$breakpoint","(min|max)-h-screen-$breakpoint","w-screen-$breakpoint","(min|max)-w-screen-$breakpoint"]}]];function to(t,e,r="breakpoint"){let n=un(t,r);if(n)return n.find(i=>i.point===e)?.size}function pf(t){if(/^\d+\/\d+$/.test(t))return t;switch(t){case"square":return"1/1";case"video":return"16/9"}return E.bracket.cssvar.global.auto.number(t)}var ff=[[/^(?:size-)?aspect-(?:ratio-)?(.+)$/,([,t])=>({"aspect-ratio":pf(t)}),{autocomplete:["aspect-(square|video|ratio)","aspect-ratio-(square|video)"]}]],mf=["auto","default","none","context-menu","help","pointer","progress","wait","cell","crosshair","text","vertical-text","alias","copy","move","no-drop","not-allowed","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out"],Mn=["size","layout","paint","style"],gf=[["inline",{display:"inline"}],["block",{display:"block"}],["inline-block",{display:"inline-block"}],["contents",{display:"contents"}],["flow-root",{display:"flow-root"}],["list-item",{display:"list-item"}],["hidden",{display:"none"}],[/^display-(.+)$/,([,t])=>({display:E.bracket.cssvar.global(t)})]],bf=[["visible",{visibility:"visible"}],["invisible",{visibility:"hidden"}],["collapse",{visibility:"collapse"}],["backface-visible",{"backface-visibility":"visible"}],["backface-hidden",{"backface-visibility":"hidden"}],...I("backface","backface-visibility")],yf=[[/^cursor-(.+)$/,([,t])=>({cursor:E.bracket.cssvar.global(t)})],...mf.map(t=>[`cursor-${t}`,{cursor:t}])],vf=[[/^contain-(.*)$/,([,t])=>E.bracket(t)!=null?{contain:E.bracket(t).split(" ").map(e=>E.cssvar.fraction(e)??e).join(" ")}:Mn.includes(t)?[{"--un-contain-size":t,contain:Mn.map(e=>`var(--un-contain-${e})`).join(" ")},...Mn.map(e=>P(`--un-contain-${e}`))]:void 0],["contain-strict",{contain:"strict"}],["contain-content",{contain:"content"}],["contain-none",{contain:"none"}]],kf=[["pointer-events-auto",{"pointer-events":"auto"}],["pointer-events-none",{"pointer-events":"none"}],...I("pointer-events")],xf=[["resize-x",{resize:"horizontal"}],["resize-y",{resize:"vertical"}],["resize",{resize:"both"}],["resize-none",{resize:"none"}],...I("resize")],wf=[["select-auto",{"-webkit-user-select":"auto","user-select":"auto"}],["select-all",{"-webkit-user-select":"all","user-select":"all"}],["select-text",{"-webkit-user-select":"text","user-select":"text"}],["select-none",{"-webkit-user-select":"none","user-select":"none"}],...I("select","user-select")],$f=[[/^(?:whitespace-|ws-)([-\w]+)$/,([,t])=>["normal","nowrap","pre","pre-line","pre-wrap","break-spaces",...ee].includes(t)?{"white-space":t}:void 0,{autocomplete:"(whitespace|ws)-(normal|nowrap|pre|pre-line|pre-wrap|break-spaces)"}]],Ef=[[/^intrinsic(?:-(block|inline|w|h))?(?:-size)?-(.+)$/,([,t,e])=>({[`contain-intrinsic-${{block:"block-size",inline:"inline-size",w:"width",h:"height"}[t]??"size"}`]:E.bracket.cssvar.global.fraction.rem(e)}),{autocomplete:["intrinsic-size-<num>","intrinsic-<num>","intrinsic-(block|inline|w|h)-<num>"]}],["content-visibility-visible",{"content-visibility":"visible"}],["content-visibility-hidden",{"content-visibility":"hidden"}],["content-visibility-auto",{"content-visibility":"auto"}],...I("content-visibility")],Sf=[[/^content-(.+)$/,([,t])=>{if(E.bracket.cssvar(t)!=null)return[{"--un-content":E.bracket.cssvar(t),content:"var(--un-content)"},P("--un-content",{initialValue:'""'})]}],["content-empty",{content:'""'}],["content-none",{content:"none"}]],_f=[["break-normal",{"overflow-wrap":"normal","word-break":"normal"}],["break-words",{"overflow-wrap":"break-word"}],["break-all",{"word-break":"break-all"}],["break-keep",{"word-break":"keep-all"}],["break-anywhere",{"overflow-wrap":"anywhere"}],["wrap-break-word",{"overflow-wrap":"break-word"}],["wrap-anywhere",{"overflow-wrap":"anywhere"}],["wrap-normal",{"overflow-wrap":"normal"}]],Cf=[["text-wrap",{"text-wrap":"wrap"}],["text-nowrap",{"text-wrap":"nowrap"}],["text-balance",{"text-wrap":"balance"}],["text-pretty",{"text-wrap":"pretty"}]],Af=[["truncate",{overflow:"hidden","text-overflow":"ellipsis","white-space":"nowrap"}],["text-truncate",{overflow:"hidden","text-overflow":"ellipsis","white-space":"nowrap"}],["text-ellipsis",{"text-overflow":"ellipsis"}],["text-clip",{"text-overflow":"clip"}]],Df=[["case-upper",{"text-transform":"uppercase"}],["case-lower",{"text-transform":"lowercase"}],["case-capital",{"text-transform":"capitalize"}],["case-normal",{"text-transform":"none"}],["uppercase",{"text-transform":"uppercase"}],["lowercase",{"text-transform":"lowercase"}],["capitalize",{"text-transform":"capitalize"}],["normal-case",{"text-transform":"none"}],...I("case","text-transform")],Of=[["italic",{"font-style":"italic"}],["not-italic",{"font-style":"normal"}],["font-italic",{"font-style":"italic"}],["font-not-italic",{"font-style":"normal"}],["oblique",{"font-style":"oblique"}],["not-oblique",{"font-style":"normal"}],["font-oblique",{"font-style":"oblique"}],["font-not-oblique",{"font-style":"normal"}]],Bf=[["antialiased",{"-webkit-font-smoothing":"antialiased","-moz-osx-font-smoothing":"grayscale"}],["subpixel-antialiased",{"-webkit-font-smoothing":"auto","-moz-osx-font-smoothing":"auto"}]],Ff=[...["manual","auto","none",...ee].map(t=>[`hyphens-${t}`,{"-webkit-hyphens":t,"-ms-hyphens":t,hyphens:t}])],Mf=[["write-vertical-right",{"writing-mode":"vertical-rl"}],["write-vertical-left",{"writing-mode":"vertical-lr"}],["write-normal",{"writing-mode":"horizontal-tb"}],...I("write","writing-mode")],Nf=[["write-orient-mixed",{"text-orientation":"mixed"}],["write-orient-sideways",{"text-orientation":"sideways"}],["write-orient-upright",{"text-orientation":"upright"}],...I("write-orient","text-orientation")],Pf=[["sr-only",{position:"absolute",width:"1px",height:"1px",padding:"0",margin:"-1px",overflow:"hidden",clip:"rect(0,0,0,0)","white-space":"nowrap","border-width":0}],["not-sr-only",{position:"static",width:"auto",height:"auto",padding:"0",margin:"0",overflow:"visible",clip:"auto","white-space":"normal"}]],Lf=[["isolate",{isolation:"isolate"}],["isolate-auto",{isolation:"auto"}],["isolation-auto",{isolation:"auto"}]],zf=[["object-cover",{"object-fit":"cover"}],["object-contain",{"object-fit":"contain"}],["object-fill",{"object-fit":"fill"}],["object-scale-down",{"object-fit":"scale-down"}],["object-none",{"object-fit":"none"}],[/^object-(.+)$/,([,t])=>{if(le[t])return{"object-position":le[t]};if(E.bracketOfPosition(t)!=null)return{"object-position":E.bracketOfPosition(t).split(" ").map(e=>E.position.fraction.auto.px.cssvar(e)??e).join(" ")}},{autocomplete:`object-(${Object.keys(le).join("|")})`}]],Tf=[["bg-blend-multiply",{"background-blend-mode":"multiply"}],["bg-blend-screen",{"background-blend-mode":"screen"}],["bg-blend-overlay",{"background-blend-mode":"overlay"}],["bg-blend-darken",{"background-blend-mode":"darken"}],["bg-blend-lighten",{"background-blend-mode":"lighten"}],["bg-blend-color-dodge",{"background-blend-mode":"color-dodge"}],["bg-blend-color-burn",{"background-blend-mode":"color-burn"}],["bg-blend-hard-light",{"background-blend-mode":"hard-light"}],["bg-blend-soft-light",{"background-blend-mode":"soft-light"}],["bg-blend-difference",{"background-blend-mode":"difference"}],["bg-blend-exclusion",{"background-blend-mode":"exclusion"}],["bg-blend-hue",{"background-blend-mode":"hue"}],["bg-blend-saturation",{"background-blend-mode":"saturation"}],["bg-blend-color",{"background-blend-mode":"color"}],["bg-blend-luminosity",{"background-blend-mode":"luminosity"}],["bg-blend-normal",{"background-blend-mode":"normal"}],...I("bg-blend","background-blend")],jf=[["mix-blend-multiply",{"mix-blend-mode":"multiply"}],["mix-blend-screen",{"mix-blend-mode":"screen"}],["mix-blend-overlay",{"mix-blend-mode":"overlay"}],["mix-blend-darken",{"mix-blend-mode":"darken"}],["mix-blend-lighten",{"mix-blend-mode":"lighten"}],["mix-blend-color-dodge",{"mix-blend-mode":"color-dodge"}],["mix-blend-color-burn",{"mix-blend-mode":"color-burn"}],["mix-blend-hard-light",{"mix-blend-mode":"hard-light"}],["mix-blend-soft-light",{"mix-blend-mode":"soft-light"}],["mix-blend-difference",{"mix-blend-mode":"difference"}],["mix-blend-exclusion",{"mix-blend-mode":"exclusion"}],["mix-blend-hue",{"mix-blend-mode":"hue"}],["mix-blend-saturation",{"mix-blend-mode":"saturation"}],["mix-blend-color",{"mix-blend-mode":"color"}],["mix-blend-luminosity",{"mix-blend-mode":"luminosity"}],["mix-blend-plus-lighter",{"mix-blend-mode":"plus-lighter"}],["mix-blend-normal",{"mix-blend-mode":"normal"}],...I("mix-blend")],If=[["min-h-dvh",{"min-height":"100dvh"}],["min-h-svh",{"min-height":"100svh"}],["min-h-lvh",{"min-height":"100lvh"}],["h-dvh",{height:"100dvh"}],["h-svh",{height:"100svh"}],["h-lvh",{height:"100lvh"}],["max-h-dvh",{"max-height":"100dvh"}],["max-h-svh",{"max-height":"100svh"}],["max-h-lvh",{"max-height":"100lvh"}]],Rf=[["forced-color-adjust-auto",{"forced-color-adjust":"auto"}],["forced-color-adjust-none",{"forced-color-adjust":"none"}]],Vf=[["field-sizing-fixed",{"field-sizing":"fixed"}],["field-sizing-content",{"field-sizing":"content"}]],qf=[[/^fill-(.+)$/,Q("fill","fill"),{autocomplete:"fill-$colors"}],[/^fill-op(?:acity)?-?(.+)$/,([,t])=>({"--un-fill-opacity":E.bracket.percent.cssvar(t)}),{autocomplete:"fill-(op|opacity)-<percent>"}],["fill-none",{fill:"none"}],[/^stroke-(?:width-|size-)?(.+)$/,ou],[/^stroke-dash-(.+)$/,([,t])=>({"stroke-dasharray":E.bracket.cssvar.number(t)}),{autocomplete:"stroke-dash-<num>"}],[/^stroke-offset-(.+)$/,([,t])=>({"stroke-dashoffset":E.bracket.cssvar.px.numberWithUnit(t)})],[/^stroke-(.+)$/,Uf,{autocomplete:"stroke-$colors"}],[/^stroke-op(?:acity)?-?(.+)$/,([,t])=>({"--un-stroke-opacity":E.bracket.percent.cssvar(t)}),{autocomplete:"stroke-(op|opacity)-<percent>"}],["stroke-cap-square",{"stroke-linecap":"square"}],["stroke-cap-round",{"stroke-linecap":"round"}],["stroke-cap-auto",{"stroke-linecap":"butt"}],["stroke-join-arcs",{"stroke-linejoin":"arcs"}],["stroke-join-bevel",{"stroke-linejoin":"bevel"}],["stroke-join-clip",{"stroke-linejoin":"miter-clip"}],["stroke-join-round",{"stroke-linejoin":"round"}],["stroke-join-auto",{"stroke-linejoin":"miter"}],["stroke-none",{stroke:"none"}]];function ou([,t]){return{"stroke-width":E.bracket.cssvar.fraction.px.number(t)}}function Uf(t,e){return yr(E.bracket(t[1]))?ou(t):Q("stroke","stroke")(t,e)}var Wf=[["inline-table",{display:"inline-table"}],["table",{display:"table"}],["table-caption",{display:"table-caption"}],["table-cell",{display:"table-cell"}],["table-column",{display:"table-column"}],["table-column-group",{display:"table-column-group"}],["table-footer-group",{display:"table-footer-group"}],["table-header-group",{display:"table-header-group"}],["table-row",{display:"table-row"}],["table-row-group",{display:"table-row-group"}],["border-collapse",{"border-collapse":"collapse"}],["border-separate",{"border-collapse":"separate"}],[/^border-spacing-(.+)$/,function*([,t],{theme:e}){let r=ro(t,e);if(r!=null){yield{"--un-border-spacing-x":r,"--un-border-spacing-y":r,"border-spacing":"var(--un-border-spacing-x) var(--un-border-spacing-y)"};for(let n of["x","y"])yield P(`--un-border-spacing-${n}`,{syntax:"<length>",initialValue:"0"})}},{autocomplete:["border-spacing","border-spacing-$spacing"]}],[/^border-spacing-([xy])-(.+)$/,function*([,t,e],{theme:r}){let n=ro(e,r);if(n!=null){yield{[`--un-border-spacing-${t}`]:n,"border-spacing":"var(--un-border-spacing-x) var(--un-border-spacing-y)"};for(let i of["x","y"])yield P(`--un-border-spacing-${i}`,{syntax:"<length>",initialValue:"0"})}},{autocomplete:["border-spacing-(x|y)","border-spacing-(x|y)-$spacing"]}],["caption-top",{"caption-side":"top"}],["caption-bottom",{"caption-side":"bottom"}],["table-auto",{"table-layout":"auto"}],["table-fixed",{"table-layout":"fixed"}],["table-empty-cells-visible",{"empty-cells":"show"}],["table-empty-cells-hidden",{"empty-cells":"hide"}]];function ro(t,e){let r=e.spacing?.[t];if(!r){let n=we(t);n!=null?(T("spacing"),r=`calc(var(--spacing) * ${n})`):r=E.bracket.cssvar.global.auto.fraction.rem(t)}return r}var Nn="var(--un-pan-x) var(--un-pan-y) var(--un-pinch-zoom)",Pn=["pan-x","pan-y","pinch-zoom"].map(t=>P(`--un-${t}`)),Hf=[[/^touch-pan-(x|left|right)$/,function*([,t]){yield{"--un-pan-x":`pan-${t}`,"touch-action":Nn};for(let e of Pn)yield e},{autocomplete:["touch-pan","touch-pan-(x|left|right|y|up|down)"]}],[/^touch-pan-(y|up|down)$/,function*([,t]){yield{"--un-pan-y":`pan-${t}`,"touch-action":Nn};for(let e of Pn)yield e}],[/^touch-pinch-zoom$/,function*(){yield{"--un-pinch-zoom":"pinch-zoom","touch-action":Nn};for(let t of Pn)yield t}],["touch-auto",{"touch-action":"auto"}],["touch-manipulation",{"touch-action":"manipulation"}],["touch-none",{"touch-action":"none"}],...I("touch","touch-action")],Or=["translate","rotate","scale"],Si=["var(--un-rotate-x)","var(--un-rotate-y)","var(--un-rotate-z)","var(--un-skew-x)","var(--un-skew-y)"].join(" "),Wr=Si,Zf=["translateZ(0)",Si].join(" "),Yf=[[/^(?:transform-)?origin-(.+)$/,([,t])=>({"transform-origin":le[t]??E.bracket.cssvar(t)}),{autocomplete:[`transform-origin-(${Object.keys(le).join("|")})`,`origin-(${Object.keys(le).join("|")})`]}],[/^(transform-)?perspect(?:ive)?-(.+)$/,([,t,e],{theme:r})=>{let n;if(r.perspective?.[e]?(T("perspective",e),n=X("perspective",e)):n=E.bracket.cssvar.px.numberWithUnit(e),n!=null)return t?{"--un-perspective":`perspective(${n})`,transform:`var(--un-perspective) ${Wr}`}:{perspective:n}},{autocomplete:["perspective-<num>","perspective-$perspective"]}],[/^(?:transform-)?perspect(?:ive)?-origin-(.+)$/,([,t])=>{let e=E.bracket.cssvar(t)??(t.length>=3?le[t]:void 0);if(e!=null)return{"perspective-origin":e}}],[/^(?:transform-)?translate-()(.+)$/,no],[/^(?:transform-)?translate-([xyz])-(.+)$/,no],[/^(?:transform-)?rotate-()(.+)$/,ao],[/^(?:transform-)?rotate-([xyz])-(.+)$/,ao],[/^(?:transform-)?skew-()(.+)$/,oo],[/^(?:transform-)?skew-([xy])-(.+)$/,oo,{autocomplete:["transform-skew-(x|y)-<percent>","skew-(x|y)-<percent>"]}],[/^(?:transform-)?scale-()(.+)$/,io],[/^(?:transform-)?scale-([xyz])-(.+)$/,io,{autocomplete:[`transform-(${Or.join("|")})-<percent>`,`transform-(${Or.join("|")})-(x|y|z)-<percent>`,`(${Or.join("|")})-<percent>`,`(${Or.join("|")})-(x|y|z)-<percent>`]}],["transform-3d",{"transform-style":"preserve-3d"}],["transform-flat",{"transform-style":"flat"}],[/^transform-(border|content|fill|stroke|view)$/,([,t])=>({"transform-box":`${t}-box`})],["transform",{transform:Wr}],["transform-cpu",{transform:Si}],["transform-gpu",{transform:Zf}],["transform-none",{transform:"none"}],...I("transform")];function no([,t,e]){let r=we(e)??E.bracket.cssvar.none.fraction.rem(e);if(r!=null)return r==="none"?{translate:"none"}:(T("spacing"),[[..._i(t,typeof r=="number"?`calc(var(--spacing) * ${r})`:r,"translate"),["translate",`var(--un-translate-x) var(--un-translate-y)${t==="z"?" var(--un-translate-z)":""}`,Ah]],...["x","y","z"].map(n=>P(`--un-translate-${n}`,{initialValue:0}))])}function io([,t,e]){let r=E.bracket.cssvar.none.fraction.percent(e);if(r!=null)return r==="none"?{scale:"none"}:[[..._i(t,r,"scale"),["scale",`var(--un-scale-x) var(--un-scale-y)${t==="z"?" var(--un-scale-z)":""}`]],...["x","y","z"].map(n=>P(`--un-scale-${n}`,{initialValue:1}))]}function ao([,t="",e]){let r=E.bracket.cssvar.none.degree(e);if(r!=null)return r==="none"?{rotate:"none"}:t?[[..._i(t,r.endsWith("deg")?`rotate${t.toUpperCase()}(${r})`:r,"rotate"),["transform",Wr]],...["x","y","z"].map(n=>P(`--un-rotate-${n}`,{initialValue:`rotate${n.toUpperCase()}(0)`})),...["x","y"].map(n=>P(`--un-skew-${n}`,{initialValue:`skew${n.toUpperCase()}(0)`}))]:{rotate:E.bracket.cssvar.degree(e)}}function oo([,t,e]){let r=E.bracket.cssvar.degree(e),n=Hs[t];if(r!=null&&n)return[[...n.map(i=>[`--un-skew${i}`,r.endsWith("deg")?`skew${i.slice(1).toUpperCase()}(${r})`:r]),["transform",Wr]],...["x","y","z"].map(i=>P(`--un-rotate-${i}`,{initialValue:`rotate${i.toUpperCase()}(0)`})),...["x","y"].map(i=>P(`--un-skew-${i}`,{initialValue:`skew${i.toUpperCase()}(0)`}))]}function _i(t,e,r){let n=e.split(Fh);return t||!t&&n.length===1?Hs[t].map(i=>[`--un-${r}${i}`,e]):n.map((i,a)=>[`--un-${r}-${Dh[a]}`,i])}function so(t,e){let r;if(E.cssvar(t)!=null)r=E.cssvar(t);else{t.startsWith("[")&&t.endsWith("]")&&(t=t.slice(1,-1));let n=t.split(",").map(i=>e.property?.[i]??E.properties(i));n.every(Boolean)&&(r=n.join(","))}return r}var Gf=[[/^transition(?:-(\D+?))?(?:-(\d+))?$/,([,t,e],{theme:r})=>{T("default",["transition","timingFunction"]),T("default",["transition","duration"]);let n={"transition-property":r.property?.DEFAULT,"transition-timing-function":`var(--un-ease, ${X("default",["transition","timingFunction"])})`,"transition-duration":`var(--un-duration, ${X("default",["transition","duration"])})`};if(!t&&!e)return{...n};if(t!=null){let i=so(t,r);if(i)return{"--un-duration":e&&E.time(e),...n,"transition-property":i}}else if(e!=null)return{"--un-duration":E.time(e),...n}}],[/^(?:transition-)?duration-(.+)$/,([,t])=>({"--un-duration":E.bracket.cssvar.time(t),"transition-duration":E.bracket.cssvar.time(t)})],[/^(?:transition-)?delay-(.+)$/,([,t])=>({"transition-delay":E.bracket.cssvar.time(t)})],[/^(?:transition-)?ease(?:-(.+))?$/,([,t="DEFAULT"],{theme:e})=>{let r;return e.ease?.[t]?(T("ease",t),r=X("ease",t)):r=E.bracket.cssvar(t),[{"--un-ease":r,"transition-timing-function":r},P("--un-ease")]},{autocomplete:["transition-ease-(linear|in|out|in-out)","ease-(linear|in|out|in-out)"]}],[/^(?:transition-)?property-(.+)$/,([,t],{theme:e})=>{let r=E.global(t)||so(t,e);if(r)return{"transition-property":r}},{autocomplete:[`transition-property-(${[...ee].join("|")})`]}],["transition-none",{transition:"none"}],...I("transition"),["transition-discrete",{"transition-behavior":"allow-discrete"}],["transition-normal",{"transition-behavior":"normal"}]],Jf=[[/^text-(.+)$/,nm,{autocomplete:"text-$text"}],[/^(?:text|font)-size-(.+)$/,su,{autocomplete:"text-size-$text"}],[/^text-(?:color-)?(.+)$/,im,{autocomplete:"text-$colors"}],[/^(?:color|c)-(.+)$/,Q("color","text")],[/^(?:text|color|c)-(.+)$/,([,t])=>ee.includes(t)?{color:t}:void 0,{autocomplete:`(text|color|c)-(${ee.join("|")})`}],[/^(?:text|color|c)-op(?:acity)?-?(.+)$/,([,t])=>({"--un-text-opacity":E.bracket.percent.cssvar(t)}),{autocomplete:"(text|color|c)-(op|opacity)-<percent>"}],[/^fw-?([^-]+)$/,([,t],{theme:e})=>{let r;return e.fontWeight?.[t]?(T("fontWeight",t),r=X("fontWeight",t)):r=E.bracket.cssvar.global.number(t),{"--un-font-weight":r,"font-weight":r}},{autocomplete:["(font|fw)-(100|200|300|400|500|600|700|800|900)","(font|fw)-$fontWeight"]}],[/^(?:font-)?(?:leading|lh|line-height)-(.+)$/,([,t],{theme:e})=>{let r;if(e.leading?.[t]?(T("leading",t),r=X("leading",t)):we(t)?(T("spacing"),r=`calc(var(--spacing) * ${we(t)})`):r=E.bracket.cssvar.global.rem(t),r!=null)return[{"--un-leading":r,"line-height":r},P("--un-leading")]},{autocomplete:"(leading|lh|line-height)-$leading"}],["font-synthesis-weight",{"font-synthesis":"weight"}],["font-synthesis-style",{"font-synthesis":"style"}],["font-synthesis-small-caps",{"font-synthesis":"small-caps"}],["font-synthesis-none",{"font-synthesis":"none"}],[/^font-synthesis-(.+)$/,([,t])=>({"font-synthesis":E.bracket.cssvar.global(t)})],[/^(?:font-)?tracking-(.+)$/,([,t],{theme:e})=>{let r;return e.tracking?.[t]?(T("tracking",t),r=X("tracking",t)):r=E.bracket.cssvar.global.rem(t),{"--un-tracking":r,"letter-spacing":r}},{autocomplete:"tracking-$tracking"}],[/^(?:font-)?word-spacing-(.+)$/,([,t],{theme:e})=>{let r=e.tracking?.[t]?X("tracking",t):E.bracket.cssvar.global.rem(t);return{"--un-word-spacing":r,"word-spacing":r}},{autocomplete:"word-spacing-$spacing"}],["font-stretch-normal",{"font-stretch":"normal"}],["font-stretch-ultra-condensed",{"font-stretch":"ultra-condensed"}],["font-stretch-extra-condensed",{"font-stretch":"extra-condensed"}],["font-stretch-condensed",{"font-stretch":"condensed"}],["font-stretch-semi-condensed",{"font-stretch":"semi-condensed"}],["font-stretch-semi-expanded",{"font-stretch":"semi-expanded"}],["font-stretch-expanded",{"font-stretch":"expanded"}],["font-stretch-extra-expanded",{"font-stretch":"extra-expanded"}],["font-stretch-ultra-expanded",{"font-stretch":"ultra-expanded"}],[/^font-stretch-(.+)$/,([,t])=>({"font-stretch":E.bracket.cssvar.fraction.global(t)}),{autocomplete:"font-stretch-<percentage>"}],[/^font-(.+)$/,([,t],{theme:e})=>{let r;if(e.font?.[t])return T("font",t),r=X("font",t),{"font-family":r};if(e.fontWeight?.[t])return T("fontWeight",t),r=X("fontWeight",t),{"--un-font-weight":r,"font-weight":r};if(r=E.number(t),r!=null)return{"--un-font-weight":r,"font-weight":r};if(r=E.bracketOfFamily(t),r!=null&&E.number(r)==null)return r=E.cssvar(r)??r,{"font-family":r};if(r=E.bracketOfNumber(t),r!=null)return r=E.cssvar.number(r),{"--un-font-weight":r,"font-weight":r};if(r=E.bracket(t),r!=null&&E.number(r)!=null){let n=E.number(r);return{"--un-font-weight":n,"font-weight":n}}if(r=E.bracket.cssvar.global(t),r!=null)return{"font-family":r}},{autocomplete:["font-$font","font-$fontWeight"]}]],Kf=[[/^tab(?:-(.+))?$/,([,t])=>{let e=E.bracket.cssvar.global.number(t||"4");if(e!=null)return{"-moz-tab-size":e,"-o-tab-size":e,"tab-size":e}}]],Xf=[[/^indent-(.+)$/,([,t])=>{let e=we(t);if(e!=null)return T("spacing"),{"text-indent":`calc(var(--spacing) * ${e})`};if(e=E.bracket.cssvar.auto.global.rem(t),e!=null)return{"text-indent":e}}]],Qf=[[/^text-stroke(?:-(.+))?$/,([,t="DEFAULT"],{theme:e})=>(e.textStrokeWidth?.[t]&&T("textStrokeWidth",t),{"-webkit-text-stroke-width":e.textStrokeWidth?.[t]?X("textStrokeWidth",t):E.bracket.cssvar.px(t)}),{autocomplete:"text-stroke-$textStrokeWidth"}],[/^text-stroke-(.+)$/,Q("-webkit-text-stroke-color","text-stroke"),{autocomplete:"text-stroke-$colors"}],[/^text-stroke-op(?:acity)?-?(.+)$/,([,t])=>({"--un-text-stroke-opacity":E.bracket.percent.cssvar(t)}),{autocomplete:"text-stroke-(op|opacity)-<percent>"}]];function em(t,e){let[,r]=t,{theme:n}=e,i=[];r&&(i=tt(r,"/",2)??[]);let a=n.textShadow?.[i[0]],s=r?E.bracket.cssvar(r):void 0;if((a!=null||s!=null)&&!rt(s,n)){let o=i[1]?E.bracket.percent.cssvar(i[1]):void 0;return{"--un-text-shadow-opacity":o,"--un-text-shadow":Ei(a||s,"--un-text-shadow-color",o).join(","),"text-shadow":"var(--un-text-shadow)"}}return Q("--un-text-shadow-color","text-shadow")(t,e)??{"text-shadow":E.bracket.cssvar.global(r)}}var tm=[[/^text-shadow-(.+)$/,em,{autocomplete:["text-shadow-$textShadow","text-shadow(-color)?-$colors","text-shadow(-color)?-(op|opacity)-<percent>"]}],[/^text-shadow-color-(.+)$/,Q("--un-text-shadow-color","text-shadow"),{autocomplete:"text-shadow-color-$colors"}],[/^text-shadow(?:-color)?-op(?:acity)?-?(.+)$/,([,t])=>({"--un-text-shadow-opacity":E.bracket.percent.cssvar(t)}),{autocomplete:"text-shadow(-color)?-(op|opacity)-<percent>"}]],Je=[P("--un-ordinal"),P("--un-slashed-zero"),P("--un-numeric-figure"),P("--un-numeric-spacing"),P("--un-numeric-fraction")],Ke={"font-variant-numeric":"var(--un-ordinal,) var(--un-slashed-zero,) var(--un-numeric-figure,) var(--un-numeric-spacing,) var(--un-numeric-fraction,)"},rm=[["ordinal",[{"--un-ordinal":"ordinal",...Ke},...Je]],["slashed-zero",[{"--un-slashed-zero":"slashed-zero",...Ke},...Je]],["lining-nums",[{"--un-numeric-figure":"lining-nums",...Ke},...Je]],["oldstyle-nums",[{"--un-numeric-figure":"oldstyle-nums",...Ke},...Je]],["proportional-nums",[{"--un-numeric-spacing":"proportional-nums",...Ke},...Je]],["tabular-nums",[{"--un-numeric-spacing":"tabular-nums",...Ke},...Je]],["diagonal-fractions",[{"--un-numeric-fraction":"diagonal-fractions",...Ke},...Je]],["stacked-fractions",[{"--un-numeric-fraction":"stacked-fractions",...Ke},...Je]],["normal-nums",[{"font-variant-numeric":"normal"}]]];function nm([,t="base"],{theme:e}){let r=am(t,"length");if(!r)return;let[n,i]=r,a=e.text?.[n],s;if(i&&(e.leading?.[i]?(T("leading",i),s=X("leading",i)):s=E.bracket.cssvar.global.rem(i)),a)return T("text",[n,"fontSize"]),T("text",[n,"lineHeight"]),a.letterSpacing&&T("text",[n,"letterSpacing"]),{"font-size":X("text",[n,"fontSize"]),"line-height":s??`var(--un-leading, ${X("text",[n,"lineHeight"])})`,"letter-spacing":a.letterSpacing?X("text",[n,"letterSpacing"]):void 0};let o=E.bracketOfLength.rem(n);return s&&o?{"font-size":o,"line-height":s}:{"font-size":E.bracketOfLength.rem(t)}}function su([,t],{theme:e}){if(e.text?.[t]!=null)return T("text",[t,"fontSize"]),T("text",[t,"lineHeight"]),{"font-size":X("text",[t,"fontSize"]),"line-height":`var(--un-leading, ${X("text",[t,"lineHeight"])})`};{let r=E.bracket.cssvar.global.rem(t);if(r)return{"font-size":r}}}function im(t,e){return yr(E.bracket(t[1]))?su(t,e):Q("color","text")(t,e)}function am(t,e){let[r,n]=nn(t,"[","]",["/",":"])??[];if(r!=null){let i=(r.match($i)??[])[1];if(i==null||i===e)return[r,n]}}var om={backface:"backface-visibility",break:"word-break",case:"text-transform",content:"align-content",fw:"font-weight",items:"align-items",justify:"justify-content",select:"user-select",self:"align-self",vertical:"vertical-align",visible:"visibility",whitespace:"white-space",ws:"white-space","bg-blend":"background-blend-mode","bg-clip":"-webkit-background-clip","bg-image":"background-image","bg-origin":"background-origin","bg-position":"background-position","bg-repeat":"background-repeat","bg-size":"background-size","mix-blend":"mix-blend-mode",object:"object-fit","object-position":"object-position",write:"writing-mode","write-orient":"text-orientation"},sm=[[/^(.+?)-(\$.+)$/,([,t,e])=>{let r=om[t];if(r)return{[r]:E.cssvar(e)}}]],um=[[/^\[(.*)\]$/,([t,e],{theme:r})=>{if(!e.includes(":"))return;let[n,...i]=e.split(":"),a=i.join(":");if(!cm(e)&&/^[\w-]+$/.test(n)&&lm(a)){let s=E.bracket(`[${a}]`,r);if(s)return{[n]:s}}}]];function lm(t){let e=0;function r(n){for(;e<t.length;)if(e+=1,t[e]===n)return!0;return!1}for(e=0;e<t.length;e++){let n=t[e];if("\"`'".includes(n)){if(!r(n))return!1}else if(n==="("){if(!r(")"))return!1}else if("[]{}:".includes(n))return!1}return!0}function cm(t){if(!t.includes("://"))return!1;try{return new URL(t).host!==""}catch{return!1}}var dm=[[/^view-transition-([\w-]+)$/,([,t])=>({"view-transition-name":t})]],hm=[Jf,Kf,Xf,Qf,tm,Lp,Pp,up,sp,fp,Ya,Ga,gp,bp,yp,vp,kp,Ya,xp,Ga,wp,Op,Ep,Bp,ap,np,Mp,qp,Up,Hp,hf,ff,gf,bf,yf,vf,kf,xf,wf,$f,Ef,Sf,_f,Cf,Af,Df,Of,Bf,lf,uf,Yf,Gf,sm,um,iu,of,tf,nf,rf,nu,ef,au,Qp,af,Zp,qf,lp,hp,Ff,Mf,Nf,Rf,Pf,Lf,zf,Tf,jf,If,Kp,Fp,Vp,Yp,Xp,cf,Wf,Hf,rm,dm,zp,jp,Vf,sf].flat(),pm=[...op],uu={black:"#000",white:"#fff",slate:{50:"oklch(98.4% 0.003 247.858)",100:"oklch(96.8% 0.007 247.896)",200:"oklch(92.9% 0.013 255.508)",300:"oklch(86.9% 0.022 252.894)",400:"oklch(70.4% 0.04 256.788)",500:"oklch(55.4% 0.046 257.417)",600:"oklch(44.6% 0.043 257.281)",700:"oklch(37.2% 0.044 257.287)",800:"oklch(27.9% 0.041 260.031)",900:"oklch(20.8% 0.042 265.755)",950:"oklch(12.9% 0.042 264.695)"},gray:{50:"oklch(98.5% 0.002 247.839)",100:"oklch(96.7% 0.003 264.542)",200:"oklch(92.8% 0.006 264.531)",300:"oklch(87.2% 0.01 258.338)",400:"oklch(70.7% 0.022 261.325)",500:"oklch(55.1% 0.027 264.364)",600:"oklch(44.6% 0.03 256.802)",700:"oklch(37.3% 0.034 259.733)",800:"oklch(27.8% 0.033 256.848)",900:"oklch(21% 0.034 264.665)",950:"oklch(13% 0.028 261.692)"},zinc:{50:"oklch(98.5% 0 0)",100:"oklch(96.7% 0.001 286.375)",200:"oklch(92% 0.004 286.32)",300:"oklch(87.1% 0.006 286.286)",400:"oklch(70.5% 0.015 286.067)",500:"oklch(55.2% 0.016 285.938)",600:"oklch(44.2% 0.017 285.786)",700:"oklch(37% 0.013 285.805)",800:"oklch(27.4% 0.006 286.033)",900:"oklch(21% 0.006 285.885)",950:"oklch(14.1% 0.005 285.823)"},neutral:{50:"oklch(98.5% 0 0)",100:"oklch(97% 0 0)",200:"oklch(92.2% 0 0)",300:"oklch(87% 0 0)",400:"oklch(70.8% 0 0)",500:"oklch(55.6% 0 0)",600:"oklch(43.9% 0 0)",700:"oklch(37.1% 0 0)",800:"oklch(26.9% 0 0)",900:"oklch(20.5% 0 0)",950:"oklch(14.5% 0 0)"},stone:{50:"oklch(98.5% 0.001 106.423)",100:"oklch(97% 0.001 106.424)",200:"oklch(92.3% 0.003 48.717)",300:"oklch(86.9% 0.005 56.366)",400:"oklch(70.9% 0.01 56.259)",500:"oklch(55.3% 0.013 58.071)",600:"oklch(44.4% 0.011 73.639)",700:"oklch(37.4% 0.01 67.558)",800:"oklch(26.8% 0.007 34.298)",900:"oklch(21.6% 0.006 56.043)",950:"oklch(14.7% 0.004 49.25)"},mauve:{50:"oklch(98.5% 0 0)",100:"oklch(96% 0.003 325.6)",200:"oklch(92.2% 0.005 325.62)",300:"oklch(86.5% 0.012 325.68)",400:"oklch(71.1% 0.019 323.02)",500:"oklch(54.2% 0.034 322.5)",600:"oklch(43.5% 0.029 321.78)",700:"oklch(36.4% 0.029 323.89)",800:"oklch(26.3% 0.024 320.12)",900:"oklch(21.2% 0.019 322.12)",950:"oklch(14.5% 0.008 326)"},olive:{50:"oklch(98.8% 0.003 106.5)",100:"oklch(96.6% 0.005 106.5)",200:"oklch(93% 0.007 106.5)",300:"oklch(88% 0.011 106.6)",400:"oklch(73.7% 0.021 106.9)",500:"oklch(58% 0.031 107.3)",600:"oklch(46.6% 0.025 107.3)",700:"oklch(39.4% 0.023 107.4)",800:"oklch(28.6% 0.016 107.4)",900:"oklch(22.8% 0.013 107.4)",950:"oklch(15.3% 0.006 107.1)"},mist:{50:"oklch(98.7% 0.002 197.1)",100:"oklch(96.3% 0.002 197.1)",200:"oklch(92.5% 0.005 214.3)",300:"oklch(87.2% 0.007 219.6)",400:"oklch(72.3% 0.014 214.4)",500:"oklch(56% 0.021 213.5)",600:"oklch(45% 0.017 213.2)",700:"oklch(37.8% 0.015 216)",800:"oklch(27.5% 0.011 216.9)",900:"oklch(21.8% 0.008 223.9)",950:"oklch(14.8% 0.004 228.8)"},taupe:{50:"oklch(98.6% 0.002 67.8)",100:"oklch(96% 0.002 17.2)",200:"oklch(92.2% 0.005 34.3)",300:"oklch(86.8% 0.007 39.5)",400:"oklch(71.4% 0.014 41.2)",500:"oklch(54.7% 0.021 43.1)",600:"oklch(43.8% 0.017 39.3)",700:"oklch(36.7% 0.016 35.7)",800:"oklch(26.8% 0.011 36.5)",900:"oklch(21.4% 0.009 43.1)",950:"oklch(14.7% 0.004 49.3)"},red:{50:"oklch(97.1% 0.013 17.38)",100:"oklch(93.6% 0.032 17.717)",200:"oklch(88.5% 0.062 18.334)",300:"oklch(80.8% 0.114 19.571)",400:"oklch(70.4% 0.191 22.216)",500:"oklch(63.7% 0.237 25.331)",600:"oklch(57.7% 0.245 27.325)",700:"oklch(50.5% 0.213 27.518)",800:"oklch(44.4% 0.177 26.899)",900:"oklch(39.6% 0.141 25.723)",950:"oklch(25.8% 0.092 26.042)"},orange:{50:"oklch(98% 0.016 73.684)",100:"oklch(95.4% 0.038 75.164)",200:"oklch(90.1% 0.076 70.697)",300:"oklch(83.7% 0.128 66.29)",400:"oklch(75% 0.183 55.934)",500:"oklch(70.5% 0.213 47.604)",600:"oklch(64.6% 0.222 41.116)",700:"oklch(55.3% 0.195 38.402)",800:"oklch(47% 0.157 37.304)",900:"oklch(40.8% 0.123 38.172)",950:"oklch(26.6% 0.079 36.259)"},amber:{50:"oklch(98.7% 0.022 95.277)",100:"oklch(96.2% 0.059 95.617)",200:"oklch(92.4% 0.12 95.746)",300:"oklch(87.9% 0.169 91.605)",400:"oklch(82.8% 0.189 84.429)",500:"oklch(76.9% 0.188 70.08)",600:"oklch(66.6% 0.179 58.318)",700:"oklch(55.5% 0.163 48.998)",800:"oklch(47.3% 0.137 46.201)",900:"oklch(41.4% 0.112 45.904)",950:"oklch(27.9% 0.077 45.635)"},yellow:{50:"oklch(98.7% 0.026 102.212)",100:"oklch(97.3% 0.071 103.193)",200:"oklch(94.5% 0.129 101.54)",300:"oklch(90.5% 0.182 98.111)",400:"oklch(85.2% 0.199 91.936)",500:"oklch(79.5% 0.184 86.047)",600:"oklch(68.1% 0.162 75.834)",700:"oklch(55.4% 0.135 66.442)",800:"oklch(47.6% 0.114 61.907)",900:"oklch(42.1% 0.095 57.708)",950:"oklch(28.6% 0.066 53.813)"},lime:{50:"oklch(98.6% 0.031 120.757)",100:"oklch(96.7% 0.067 122.328)",200:"oklch(93.8% 0.127 124.321)",300:"oklch(89.7% 0.196 126.665)",400:"oklch(84.1% 0.238 128.85)",500:"oklch(76.8% 0.233 130.85)",600:"oklch(64.8% 0.2 131.684)",700:"oklch(53.2% 0.157 131.589)",800:"oklch(45.3% 0.124 130.933)",900:"oklch(40.5% 0.101 131.063)",950:"oklch(27.4% 0.072 132.109)"},green:{50:"oklch(98.2% 0.018 155.826)",100:"oklch(96.2% 0.044 156.743)",200:"oklch(92.5% 0.084 155.995)",300:"oklch(87.1% 0.15 154.449)",400:"oklch(79.2% 0.209 151.711)",500:"oklch(72.3% 0.219 149.579)",600:"oklch(62.7% 0.194 149.214)",700:"oklch(52.7% 0.154 150.069)",800:"oklch(44.8% 0.119 151.328)",900:"oklch(39.3% 0.095 152.535)",950:"oklch(26.6% 0.065 152.934)"},emerald:{50:"oklch(97.9% 0.021 166.113)",100:"oklch(95% 0.052 163.051)",200:"oklch(90.5% 0.093 164.15)",300:"oklch(84.5% 0.143 164.978)",400:"oklch(76.5% 0.177 163.223)",500:"oklch(69.6% 0.17 162.48)",600:"oklch(59.6% 0.145 163.225)",700:"oklch(50.8% 0.118 165.612)",800:"oklch(43.2% 0.095 166.913)",900:"oklch(37.8% 0.077 168.94)",950:"oklch(26.2% 0.051 172.552)"},teal:{50:"oklch(98.4% 0.014 180.72)",100:"oklch(95.3% 0.051 180.801)",200:"oklch(91% 0.096 180.426)",300:"oklch(85.5% 0.138 181.071)",400:"oklch(77.7% 0.152 181.912)",500:"oklch(70.4% 0.14 182.503)",600:"oklch(60% 0.118 184.704)",700:"oklch(51.1% 0.096 186.391)",800:"oklch(43.7% 0.078 188.216)",900:"oklch(38.6% 0.063 188.416)",950:"oklch(27.7% 0.046 192.524)"},cyan:{50:"oklch(98.4% 0.019 200.873)",100:"oklch(95.6% 0.045 203.388)",200:"oklch(91.7% 0.08 205.041)",300:"oklch(86.5% 0.127 207.078)",400:"oklch(78.9% 0.154 211.53)",500:"oklch(71.5% 0.143 215.221)",600:"oklch(60.9% 0.126 221.723)",700:"oklch(52% 0.105 223.128)",800:"oklch(45% 0.085 224.283)",900:"oklch(39.8% 0.07 227.392)",950:"oklch(30.2% 0.056 229.695)"},sky:{50:"oklch(97.7% 0.013 236.62)",100:"oklch(95.1% 0.026 236.824)",200:"oklch(90.1% 0.058 230.902)",300:"oklch(82.8% 0.111 230.318)",400:"oklch(74.6% 0.16 232.661)",500:"oklch(68.5% 0.169 237.323)",600:"oklch(58.8% 0.158 241.966)",700:"oklch(50% 0.134 242.749)",800:"oklch(44.3% 0.11 240.79)",900:"oklch(39.1% 0.09 240.876)",950:"oklch(29.3% 0.066 243.157)"},blue:{50:"oklch(97% 0.014 254.604)",100:"oklch(93.2% 0.032 255.585)",200:"oklch(88.2% 0.059 254.128)",300:"oklch(80.9% 0.105 251.813)",400:"oklch(70.7% 0.165 254.624)",500:"oklch(62.3% 0.214 259.815)",600:"oklch(54.6% 0.245 262.881)",700:"oklch(48.8% 0.243 264.376)",800:"oklch(42.4% 0.199 265.638)",900:"oklch(37.9% 0.146 265.522)",950:"oklch(28.2% 0.091 267.935)"},indigo:{50:"oklch(96.2% 0.018 272.314)",100:"oklch(93% 0.034 272.788)",200:"oklch(87% 0.065 274.039)",300:"oklch(78.5% 0.115 274.713)",400:"oklch(67.3% 0.182 276.935)",500:"oklch(58.5% 0.233 277.117)",600:"oklch(51.1% 0.262 276.966)",700:"oklch(45.7% 0.24 277.023)",800:"oklch(39.8% 0.195 277.366)",900:"oklch(35.9% 0.144 278.697)",950:"oklch(25.7% 0.09 281.288)"},violet:{50:"oklch(96.9% 0.016 293.756)",100:"oklch(94.3% 0.029 294.588)",200:"oklch(89.4% 0.057 293.283)",300:"oklch(81.1% 0.111 293.571)",400:"oklch(70.2% 0.183 293.541)",500:"oklch(60.6% 0.25 292.717)",600:"oklch(54.1% 0.281 293.009)",700:"oklch(49.1% 0.27 292.581)",800:"oklch(43.2% 0.232 292.759)",900:"oklch(38% 0.189 293.745)",950:"oklch(28.3% 0.141 291.089)"},purple:{50:"oklch(97.7% 0.014 308.299)",100:"oklch(94.6% 0.033 307.174)",200:"oklch(90.2% 0.063 306.703)",300:"oklch(82.7% 0.119 306.383)",400:"oklch(71.4% 0.203 305.504)",500:"oklch(62.7% 0.265 303.9)",600:"oklch(55.8% 0.288 302.321)",700:"oklch(49.6% 0.265 301.924)",800:"oklch(43.8% 0.218 303.724)",900:"oklch(38.1% 0.176 304.987)",950:"oklch(29.1% 0.149 302.717)"},fuchsia:{50:"oklch(97.7% 0.017 320.058)",100:"oklch(95.2% 0.037 318.852)",200:"oklch(90.3% 0.076 319.62)",300:"oklch(83.3% 0.145 321.434)",400:"oklch(74% 0.238 322.16)",500:"oklch(66.7% 0.295 322.15)",600:"oklch(59.1% 0.293 322.896)",700:"oklch(51.8% 0.253 323.949)",800:"oklch(45.2% 0.211 324.591)",900:"oklch(40.1% 0.17 325.612)",950:"oklch(29.3% 0.136 325.661)"},pink:{50:"oklch(97.1% 0.014 343.198)",100:"oklch(94.8% 0.028 342.258)",200:"oklch(89.9% 0.061 343.231)",300:"oklch(82.3% 0.12 346.018)",400:"oklch(71.8% 0.202 349.761)",500:"oklch(65.6% 0.241 354.308)",600:"oklch(59.2% 0.249 0.584)",700:"oklch(52.5% 0.223 3.958)",800:"oklch(45.9% 0.187 3.815)",900:"oklch(40.8% 0.153 2.432)",950:"oklch(28.4% 0.109 3.907)"},rose:{50:"oklch(96.9% 0.015 12.422)",100:"oklch(94.1% 0.03 12.58)",200:"oklch(89.2% 0.058 10.001)",300:"oklch(81% 0.117 11.638)",400:"oklch(71.2% 0.194 13.428)",500:"oklch(64.5% 0.246 16.439)",600:"oklch(58.6% 0.253 17.585)",700:"oklch(51.4% 0.222 16.935)",800:"oklch(45.5% 0.188 13.697)",900:"oklch(41% 0.159 10.272)",950:"oklch(27.1% 0.105 12.094)"},light:{50:"oklch(99.4% 0 0)",100:"oklch(99.11% 0 0)",200:"oklch(98.51% 0 0)",300:"oklch(98.16% 0.0017 247.84)",400:"oklch(97.31% 0 0)",500:"oklch(96.12% 0 0)",600:"oklch(96.32% 0.0034 247.86)",700:"oklch(94.17% 0.0052 247.88)",800:"oklch(91.09% 0.007 247.9)",900:"oklch(90.72% 0.0051 228.82)",950:"oklch(89.23% 0.006 239.83)"},dark:{50:"oklch(40.91% 0 0)",100:"oklch(35.62% 0 0)",200:"oklch(31.71% 0 0)",300:"oklch(29.72% 0 0)",400:"oklch(25.2% 0 0)",500:"oklch(23.93% 0 0)",600:"oklch(22.73% 0.0038 286.09)",700:"oklch(22.21% 0 0)",800:"oklch(20.9% 0 0)",900:"oklch(16.84% 0 0)",950:"oklch(13.44% 0 0)"}};Object.values(uu).forEach(t=>{typeof t!="string"&&t!==void 0&&(t.DEFAULT=t.DEFAULT||t[400])});var fm={keyframes:{pulse:"{0%, 100% {opacity:1} 50% {opacity:.5}}",bounce:"{0%, 100% {transform:translateY(-25%);animation-timing-function:cubic-bezier(0.8,0,1,1)} 50% {transform:translateY(0);animation-timing-function:cubic-bezier(0,0,0.2,1)}}",spin:"{from{transform:rotate(0deg)}to{transform:rotate(360deg)}}",ping:"{0%{transform:scale(1);opacity:1}75%,100%{transform:scale(2);opacity:0}}","bounce-alt":"{from,20%,53%,80%,to{animation-timing-function:cubic-bezier(0.215,0.61,0.355,1);transform:translate3d(0,0,0)}40%,43%{animation-timing-function:cubic-bezier(0.755,0.05,0.855,0.06);transform:translate3d(0,-30px,0)}70%{animation-timing-function:cubic-bezier(0.755,0.05,0.855,0.06);transform:translate3d(0,-15px,0)}90%{transform:translate3d(0,-4px,0)}}",flash:"{from,50%,to{opacity:1}25%,75%{opacity:0}}","pulse-alt":"{from{transform:scale3d(1,1,1)}50%{transform:scale3d(1.05,1.05,1.05)}to{transform:scale3d(1,1,1)}}","rubber-band":"{from{transform:scale3d(1,1,1)}30%{transform:scale3d(1.25,0.75,1)}40%{transform:scale3d(0.75,1.25,1)}50%{transform:scale3d(1.15,0.85,1)}65%{transform:scale3d(0.95,1.05,1)}75%{transform:scale3d(1.05,0.95,1)}to{transform:scale3d(1,1,1)}}","shake-x":"{from,to{transform:translate3d(0,0,0)}10%,30%,50%,70%,90%{transform:translate3d(-10px,0,0)}20%,40%,60%,80%{transform:translate3d(10px,0,0)}}","shake-y":"{from,to{transform:translate3d(0,0,0)}10%,30%,50%,70%,90%{transform:translate3d(0,-10px,0)}20%,40%,60%,80%{transform:translate3d(0,10px,0)}}","head-shake":"{0%{transform:translateX(0)}6.5%{transform:translateX(-6px) rotateY(-9deg)}18.5%{transform:translateX(5px) rotateY(7deg)}31.5%{transform:translateX(-3px) rotateY(-5deg)}43.5%{transform:translateX(2px) rotateY(3deg)}50%{transform:translateX(0)}}",swing:"{20%{transform:rotate3d(0,0,1,15deg)}40%{transform:rotate3d(0,0,1,-10deg)}60%{transform:rotate3d(0,0,1,5deg)}80%{transform:rotate3d(0,0,1,-5deg)}to{transform:rotate3d(0,0,1,0deg)}}",tada:"{from{transform:scale3d(1,1,1)}10%,20%{transform:scale3d(0.9,0.9,0.9) rotate3d(0,0,1,-3deg)}30%,50%,70%,90%{transform:scale3d(1.1,1.1,1.1) rotate3d(0,0,1,3deg)}40%,60%,80%{transform:scale3d(1.1,1.1,1.1) rotate3d(0,0,1,-3deg)}to{transform:scale3d(1,1,1)}}",wobble:"{from{transform:translate3d(0,0,0)}15%{transform:translate3d(-25%,0,0) rotate3d(0,0,1,-5deg)}30%{transform:translate3d(20%,0,0) rotate3d(0,0,1,3deg)}45%{transform:translate3d(-15%,0,0) rotate3d(0,0,1,-3deg)}60%{transform:translate3d(10%,0,0) rotate3d(0,0,1,2deg)}75%{transform:translate3d(-5%,0,0) rotate3d(0,0,1,-1deg)}to{transform:translate3d(0,0,0)}}",jello:"{from,11.1%,to{transform:translate3d(0,0,0)}22.2%{transform:skewX(-12.5deg) skewY(-12.5deg)}33.3%{transform:skewX(6.25deg) skewY(6.25deg)}44.4%{transform:skewX(-3.125deg)skewY(-3.125deg)}55.5%{transform:skewX(1.5625deg) skewY(1.5625deg)}66.6%{transform:skewX(-0.78125deg) skewY(-0.78125deg)}77.7%{transform:skewX(0.390625deg) skewY(0.390625deg)}88.8%{transform:skewX(-0.1953125deg) skewY(-0.1953125deg)}}","heart-beat":"{0%{transform:scale(1)}14%{transform:scale(1.3)}28%{transform:scale(1)}42%{transform:scale(1.3)}70%{transform:scale(1)}}",hinge:"{0%{transform-origin:top left;animation-timing-function:ease-in-out}20%,60%{transform:rotate3d(0,0,1,80deg);transform-origin:top left;animation-timing-function:ease-in-out}40%,80%{transform:rotate3d(0,0,1,60deg);transform-origin:top left;animation-timing-function:ease-in-out}to{transform:translate3d(0,700px,0);opacity:0}}","jack-in-the-box":"{from{opacity:0;transform-origin:center bottom;transform:scale(0.1) rotate(30deg)}50%{transform:rotate(-10deg)}70%{transform:rotate(3deg)}to{transform:scale(1)}}","light-speed-in-left":"{from{opacity:0;transform:translate3d(-100%,0,0) skewX(-30deg)}60%{opacity:1;transform:skewX(20deg)}80%{transform:skewX(-5deg)}to{transform:translate3d(0,0,0)}}","light-speed-in-right":"{from{opacity:0;transform:translate3d(100%,0,0) skewX(-30deg)}60%{opacity:1;transform:skewX(20deg)}80%{transform:skewX(-5deg)}to{transform:translate3d(0,0,0)}}","light-speed-out-left":"{from{opacity:1}to{opacity:0;transform:translate3d(-100%,0,0) skewX(30deg)}}","light-speed-out-right":"{from{opacity:1}to{opacity:0;transform:translate3d(100%,0,0) skewX(30deg)}}",flip:"{from{transform:perspective(400px) scale3d(1,1,1) translate3d(0,0,0) rotate3d(0,1,0,-360deg);animation-timing-function:ease-out}40%{transform:perspective(400px) scale3d(1,1,1) translate3d(0,0,150px) rotate3d(0,1,0,-190deg);animation-timing-function:ease-out}50%{transform:perspective(400px) scale3d(1,1,1) translate3d(0,0,150px) rotate3d(0,1,0,-170deg);animation-timing-function:ease-in}80%{transform:perspective(400px) scale3d(0.95,0.95,0.95) translate3d(0,0,0) rotate3d(0,1,0,0deg);animation-timing-function:ease-in}to{transform:perspective(400px) scale3d(1,1,1) translate3d(0,0,0) rotate3d(0,1,0,0deg);animation-timing-function:ease-in}}","flip-in-x":"{from{transform:perspective(400px) rotate3d(1,0,0,90deg);animation-timing-function:ease-in;opacity:0}40%{transform:perspective(400px) rotate3d(1,0,0,-20deg);animation-timing-function:ease-in}60%{transform:perspective(400px) rotate3d(1,0,0,10deg);opacity:1}80%{transform:perspective(400px) rotate3d(1,0,0,-5deg)}to{transform:perspective(400px)}}","flip-in-y":"{from{transform:perspective(400px) rotate3d(0,1,0,90deg);animation-timing-function:ease-in;opacity:0}40%{transform:perspective(400px) rotate3d(0,1,0,-20deg);animation-timing-function:ease-in}60%{transform:perspective(400px) rotate3d(0,1,0,10deg);opacity:1}80%{transform:perspective(400px) rotate3d(0,1,0,-5deg)}to{transform:perspective(400px)}}","flip-out-x":"{from{transform:perspective(400px)}30%{transform:perspective(400px) rotate3d(1,0,0,-20deg);opacity:1}to{transform:perspective(400px) rotate3d(1,0,0,90deg);opacity:0}}","flip-out-y":"{from{transform:perspective(400px)}30%{transform:perspective(400px) rotate3d(0,1,0,-15deg);opacity:1}to{transform:perspective(400px) rotate3d(0,1,0,90deg);opacity:0}}","rotate-in":"{from{transform-origin:center;transform:rotate3d(0,0,1,-200deg);opacity:0}to{transform-origin:center;transform:translate3d(0,0,0);opacity:1}}","rotate-in-down-left":"{from{transform-origin:left bottom;transform:rotate3d(0,0,1,-45deg);opacity:0}to{transform-origin:left bottom;transform:translate3d(0,0,0);opacity:1}}","rotate-in-down-right":"{from{transform-origin:right bottom;transform:rotate3d(0,0,1,45deg);opacity:0}to{transform-origin:right bottom;transform:translate3d(0,0,0);opacity:1}}","rotate-in-up-left":"{from{transform-origin:left top;transform:rotate3d(0,0,1,45deg);opacity:0}to{transform-origin:left top;transform:translate3d(0,0,0);opacity:1}}","rotate-in-up-right":"{from{transform-origin:right bottom;transform:rotate3d(0,0,1,-90deg);opacity:0}to{transform-origin:right bottom;transform:translate3d(0,0,0);opacity:1}}","rotate-out":"{from{transform-origin:center;opacity:1}to{transform-origin:center;transform:rotate3d(0,0,1,200deg);opacity:0}}","rotate-out-down-left":"{from{transform-origin:left bottom;opacity:1}to{transform-origin:left bottom;transform:rotate3d(0,0,1,45deg);opacity:0}}","rotate-out-down-right":"{from{transform-origin:right bottom;opacity:1}to{transform-origin:right bottom;transform:rotate3d(0,0,1,-45deg);opacity:0}}","rotate-out-up-left":"{from{transform-origin:left bottom;opacity:1}to{transform-origin:left bottom;transform:rotate3d(0,0,1,-45deg);opacity:0}}","rotate-out-up-right":"{from{transform-origin:right bottom;opacity:1}to{transform-origin:left bottom;transform:rotate3d(0,0,1,90deg);opacity:0}}","roll-in":"{from{opacity:0;transform:translate3d(-100%,0,0) rotate3d(0,0,1,-120deg)}to{opacity:1;transform:translate3d(0,0,0)}}","roll-out":"{from{opacity:1}to{opacity:0;transform:translate3d(100%,0,0) rotate3d(0,0,1,120deg)}}","zoom-in":"{from{opacity:0;transform:scale3d(0.3,0.3,0.3)}50%{opacity:1}}","zoom-in-down":"{from{opacity:0;transform:scale3d(0.1,0.1,0.1) translate3d(0,-1000px,0);animation-timing-function:cubic-bezier(0.55,0.055,0.675,0.19)}60%{opacity:1;transform:scale3d(0.475,0.475,0.475) translate3d(0,60px,0);animation-timing-function:cubic-bezier(0.175,0.885,0.32,1)}}","zoom-in-left":"{from{opacity:0;transform:scale3d(0.1,0.1,0.1) translate3d(-1000px,0,0);animation-timing-function:cubic-bezier(0.55,0.055,0.675,0.19)}60%{opacity:1;transform:scale3d(0.475,0.475,0.475) translate3d(10px,0,0);animation-timing-function:cubic-bezier(0.175,0.885,0.32,1)}}","zoom-in-right":"{from{opacity:0;transform:scale3d(0.1,0.1,0.1) translate3d(1000px,0,0);animation-timing-function:cubic-bezier(0.55,0.055,0.675,0.19)}60%{opacity:1;transform:scale3d(0.475,0.475,0.475) translate3d(-10px,0,0);animation-timing-function:cubic-bezier(0.175,0.885,0.32,1)}}","zoom-in-up":"{from{opacity:0;transform:scale3d(0.1,0.1,0.1) translate3d(0,1000px,0);animation-timing-function:cubic-bezier(0.55,0.055,0.675,0.19)}60%{opacity:1;transform:scale3d(0.475,0.475,0.475) translate3d(0,-60px,0);animation-timing-function:cubic-bezier(0.175,0.885,0.32,1)}}","zoom-out":"{from{opacity:1}50%{opacity:0;transform:scale3d(0.3,0.3,0.3)}to{opacity:0}}","zoom-out-down":"{40%{opacity:1;transform:scale3d(0.475,0.475,0.475) translate3d(0,-60px,0);animation-timing-function:cubic-bezier(0.55,0.055,0.675,0.19)}to{opacity:0;transform:scale3d(0.1,0.1,0.1) translate3d(0,2000px,0);transform-origin:center bottom;animation-timing-function:cubic-bezier(0.175,0.885,0.32,1)}}","zoom-out-left":"{40%{opacity:1;transform:scale3d(0.475,0.475,0.475) translate3d(42px,0,0)}to{opacity:0;transform:scale(0.1) translate3d(-2000px,0,0);transform-origin:left center}}","zoom-out-right":"{40%{opacity:1;transform:scale3d(0.475,0.475,0.475) translate3d(-42px,0,0)}to{opacity:0;transform:scale(0.1) translate3d(2000px,0,0);transform-origin:right center}}","zoom-out-up":"{40%{opacity:1;transform:scale3d(0.475,0.475,0.475) translate3d(0,60px,0);animation-timing-function:cubic-bezier(0.55,0.055,0.675,0.19)}to{opacity:0;transform:scale3d(0.1,0.1,0.1) translate3d(0,-2000px,0);transform-origin:center bottom;animation-timing-function:cubic-bezier(0.175,0.885,0.32,1)}}","bounce-in":"{from,20%,40%,60%,80%,to{animation-timing-function:ease-in-out}0%{opacity:0;transform:scale3d(0.3,0.3,0.3)}20%{transform:scale3d(1.1,1.1,1.1)}40%{transform:scale3d(0.9,0.9,0.9)}60%{transform:scale3d(1.03,1.03,1.03);opacity:1}80%{transform:scale3d(0.97,0.97,0.97)}to{opacity:1;transform:scale3d(1,1,1)}}","bounce-in-down":"{from,60%,75%,90%,to{animation-timing-function:cubic-bezier(0.215,0.61,0.355,1)}0%{opacity:0;transform:translate3d(0,-3000px,0)}60%{opacity:1;transform:translate3d(0,25px,0)}75%{transform:translate3d(0,-10px,0)}90%{transform:translate3d(0,5px,0)}to{transform:translate3d(0,0,0)}}","bounce-in-left":"{from,60%,75%,90%,to{animation-timing-function:cubic-bezier(0.215,0.61,0.355,1)}0%{opacity:0;transform:translate3d(-3000px,0,0)}60%{opacity:1;transform:translate3d(25px,0,0)}75%{transform:translate3d(-10px,0,0)}90%{transform:translate3d(5px,0,0)}to{transform:translate3d(0,0,0)}}","bounce-in-right":"{from,60%,75%,90%,to{animation-timing-function:cubic-bezier(0.215,0.61,0.355,1)}0%{opacity:0;transform:translate3d(3000px,0,0)}60%{opacity:1;transform:translate3d(-25px,0,0)}75%{transform:translate3d(10px,0,0)}90%{transform:translate3d(-5px,0,0)}to{transform:translate3d(0,0,0)}}","bounce-in-up":"{from,60%,75%,90%,to{animation-timing-function:cubic-bezier(0.215,0.61,0.355,1)}0%{opacity:0;transform:translate3d(0,3000px,0)}60%{opacity:1;transform:translate3d(0,-20px,0)}75%{transform:translate3d(0,10px,0)}90%{transform:translate3d(0,-5px,0)}to{transform:translate3d(0,0,0)}}","bounce-out":"{20%{transform:scale3d(0.9,0.9,0.9)}50%,55%{opacity:1;transform:scale3d(1.1,1.1,1.1)}to{opacity:0;transform:scale3d(0.3,0.3,0.3)}}","bounce-out-down":"{20%{transform:translate3d(0,10px,0)}40%,45%{opacity:1;transform:translate3d(0,-20px,0)}to{opacity:0;transform:translate3d(0,2000px,0)}}","bounce-out-left":"{20%{opacity:1;transform:translate3d(20px,0,0)}to{opacity:0;transform:translate3d(-2000px,0,0)}}","bounce-out-right":"{20%{opacity:1;transform:translate3d(-20px,0,0)}to{opacity:0;transform:translate3d(2000px,0,0)}}","bounce-out-up":"{20%{transform:translate3d(0,-10px,0)}40%,45%{opacity:1;transform:translate3d(0,20px,0)}to{opacity:0;transform:translate3d(0,-2000px,0)}}","slide-in-down":"{from{transform:translate3d(0,-100%,0);visibility:visible}to{transform:translate3d(0,0,0)}}","slide-in-left":"{from{transform:translate3d(-100%,0,0);visibility:visible}to{transform:translate3d(0,0,0)}}","slide-in-right":"{from{transform:translate3d(100%,0,0);visibility:visible}to{transform:translate3d(0,0,0)}}","slide-in-up":"{from{transform:translate3d(0,100%,0);visibility:visible}to{transform:translate3d(0,0,0)}}","slide-out-down":"{from{transform:translate3d(0,0,0)}to{visibility:hidden;transform:translate3d(0,100%,0)}}","slide-out-left":"{from{transform:translate3d(0,0,0)}to{visibility:hidden;transform:translate3d(-100%,0,0)}}","slide-out-right":"{from{transform:translate3d(0,0,0)}to{visibility:hidden;transform:translate3d(100%,0,0)}}","slide-out-up":"{from{transform:translate3d(0,0,0)}to{visibility:hidden;transform:translate3d(0,-100%,0)}}","fade-in":"{from{opacity:0}to{opacity:1}}","fade-in-down":"{from{opacity:0;transform:translate3d(0,-100%,0)}to{opacity:1;transform:translate3d(0,0,0)}}","fade-in-down-big":"{from{opacity:0;transform:translate3d(0,-2000px,0)}to{opacity:1;transform:translate3d(0,0,0)}}","fade-in-left":"{from{opacity:0;transform:translate3d(-100%,0,0)}to{opacity:1;transform:translate3d(0,0,0)}}","fade-in-left-big":"{from{opacity:0;transform:translate3d(-2000px,0,0)}to{opacity:1;transform:translate3d(0,0,0)}}","fade-in-right":"{from{opacity:0;transform:translate3d(100%,0,0)}to{opacity:1;transform:translate3d(0,0,0)}}","fade-in-right-big":"{from{opacity:0;transform:translate3d(2000px,0,0)}to{opacity:1;transform:translate3d(0,0,0)}}","fade-in-up":"{from{opacity:0;transform:translate3d(0,100%,0)}to{opacity:1;transform:translate3d(0,0,0)}}","fade-in-up-big":"{from{opacity:0;transform:translate3d(0,2000px,0)}to{opacity:1;transform:translate3d(0,0,0)}}","fade-in-top-left":"{from{opacity:0;transform:translate3d(-100%,-100%,0)}to{opacity:1;transform:translate3d(0,0,0)}}","fade-in-top-right":"{from{opacity:0;transform:translate3d(100%,-100%,0)}to{opacity:1;transform:translate3d(0,0,0)}}","fade-in-bottom-left":"{from{opacity:0;transform:translate3d(-100%,100%,0)}to{opacity:1;transform:translate3d(0,0,0)}}","fade-in-bottom-right":"{from{opacity:0;transform:translate3d(100%,100%,0)}to{opacity:1;transform:translate3d(0,0,0)}}","fade-out":"{from{opacity:1}to{opacity:0}}","fade-out-down":"{from{opacity:1}to{opacity:0;transform:translate3d(0,100%,0)}}","fade-out-down-big":"{from{opacity:1}to{opacity:0;transform:translate3d(0,2000px,0)}}","fade-out-left":"{from{opacity:1}to{opacity:0;transform:translate3d(-100%,0,0)}}","fade-out-left-big":"{from{opacity:1}to{opacity:0;transform:translate3d(-2000px,0,0)}}","fade-out-right":"{from{opacity:1}to{opacity:0;transform:translate3d(100%,0,0)}}","fade-out-right-big":"{from{opacity:1}to{opacity:0;transform:translate3d(2000px,0,0)}}","fade-out-up":"{from{opacity:1}to{opacity:0;transform:translate3d(0,-100%,0)}}","fade-out-up-big":"{from{opacity:1}to{opacity:0;transform:translate3d(0,-2000px,0)}}","fade-out-top-left":"{from{opacity:1;transform:translate3d(0,0,0)}to{opacity:0;transform:translate3d(-100%,-100%,0)}}","fade-out-top-right":"{from{opacity:1;transform:translate3d(0,0,0)}to{opacity:0;transform:translate3d(100%,-100%,0)}}","fade-out-bottom-left":"{from{opacity:1;transform:translate3d(0,0,0)}to{opacity:0;transform:translate3d(-100%,100%,0)}}","fade-out-bottom-right":"{from{opacity:1;transform:translate3d(0,0,0)}to{opacity:0;transform:translate3d(100%,100%,0)}}","back-in-up":"{0%{opacity:0.7;transform:translateY(1200px) scale(0.7)}80%{opacity:0.7;transform:translateY(0px) scale(0.7)}100%{opacity:1;transform:scale(1)}}","back-in-down":"{0%{opacity:0.7;transform:translateY(-1200px) scale(0.7)}80%{opacity:0.7;transform:translateY(0px) scale(0.7)}100%{opacity:1;transform:scale(1)}}","back-in-right":"{0%{opacity:0.7;transform:translateX(2000px) scale(0.7)}80%{opacity:0.7;transform:translateY(0px) scale(0.7)}100%{opacity:1;transform:scale(1)}}","back-in-left":"{0%{opacity:0.7;transform:translateX(-2000px) scale(0.7)}80%{opacity:0.7;transform:translateX(0px) scale(0.7)}100%{opacity:1;transform:scale(1)}}","back-out-up":"{0%{opacity:1;transform:scale(1)}80%{opacity:0.7;transform:translateY(0px) scale(0.7)}100%{opacity:0.7;transform:translateY(-700px) scale(0.7)}}","back-out-down":"{0%{opacity:1;transform:scale(1)}80%{opacity:0.7;transform:translateY(0px) scale(0.7)}100%{opacity:0.7;transform:translateY(700px) scale(0.7)}}","back-out-right":"{0%{opacity:1;transform:scale(1)}80%{opacity:0.7;transform:translateY(0px) scale(0.7)}100%{opacity:0.7;transform:translateX(2000px) scale(0.7)}}","back-out-left":"{0%{opacity:1;transform:scale(1)}80%{opacity:0.7;transform:translateX(-2000px) scale(0.7)}100%{opacity:0.7;transform:translateY(-700px) scale(0.7)}}"},durations:{pulse:"2s","heart-beat":"1.3s","bounce-in":"0.75s","bounce-out":"0.75s","flip-out-x":"0.75s","flip-out-y":"0.75s",hinge:"2s"},timingFns:{pulse:"cubic-bezier(0.4,0,.6,1)",ping:"cubic-bezier(0,0,.2,1)","head-shake":"ease-in-out","heart-beat":"ease-in-out","pulse-alt":"ease-in-out","light-speed-in-left":"ease-out","light-speed-in-right":"ease-out","light-speed-out-left":"ease-in","light-speed-out-right":"ease-in"},properties:{"bounce-alt":{"transform-origin":"center bottom"},jello:{"transform-origin":"center"},swing:{"transform-origin":"top center"},flip:{"backface-visibility":"visible"},"flip-in-x":{"backface-visibility":"visible !important"},"flip-in-y":{"backface-visibility":"visible !important"},"flip-out-x":{"backface-visibility":"visible !important"},"flip-out-y":{"backface-visibility":"visible !important"},"rotate-in":{"transform-origin":"center"},"rotate-in-down-left":{"transform-origin":"left bottom"},"rotate-in-down-right":{"transform-origin":"right bottom"},"rotate-in-up-left":{"transform-origin":"left bottom"},"rotate-in-up-right":{"transform-origin":"right bottom"},"rotate-out":{"transform-origin":"center"},"rotate-out-down-left":{"transform-origin":"left bottom"},"rotate-out-down-right":{"transform-origin":"right bottom"},"rotate-out-up-left":{"transform-origin":"left bottom"},"rotate-out-up-right":{"transform-origin":"right bottom"},hinge:{"transform-origin":"top left"},"zoom-out-down":{"transform-origin":"center bottom"},"zoom-out-left":{"transform-origin":"left center"},"zoom-out-right":{"transform-origin":"right center"},"zoom-out-up":{"transform-origin":"center bottom"}},counts:{spin:"infinite",ping:"infinite",pulse:"infinite","pulse-alt":"infinite",bounce:"infinite","bounce-alt":"infinite"},category:{pulse:"Attention Seekers",bounce:"Attention Seekers",spin:"Attention Seekers",ping:"Attention Seekers","bounce-alt":"Attention Seekers",flash:"Attention Seekers","pulse-alt":"Attention Seekers","rubber-band":"Attention Seekers","shake-x":"Attention Seekers","shake-y":"Attention Seekers","head-shake":"Attention Seekers",swing:"Attention Seekers",tada:"Attention Seekers",wobble:"Attention Seekers",jello:"Attention Seekers","heart-beat":"Attention Seekers",hinge:"Specials","jack-in-the-box":"Specials","light-speed-in-left":"Lightspeed","light-speed-in-right":"Lightspeed","light-speed-out-left":"Lightspeed","light-speed-out-right":"Lightspeed",flip:"Flippers","flip-in-x":"Flippers","flip-in-y":"Flippers","flip-out-x":"Flippers","flip-out-y":"Flippers","rotate-in":"Rotating Entrances","rotate-in-down-left":"Rotating Entrances","rotate-in-down-right":"Rotating Entrances","rotate-in-up-left":"Rotating Entrances","rotate-in-up-right":"Rotating Entrances","rotate-out":"Rotating Exits","rotate-out-down-left":"Rotating Exits","rotate-out-down-right":"Rotating Exits","rotate-out-up-left":"Rotating Exits","rotate-out-up-right":"Rotating Exits","roll-in":"Specials","roll-out":"Specials","zoom-in":"Zooming Entrances","zoom-in-down":"Zooming Entrances","zoom-in-left":"Zooming Entrances","zoom-in-right":"Zooming Entrances","zoom-in-up":"Zooming Entrances","zoom-out":"Zooming Exits","zoom-out-down":"Zooming Exits","zoom-out-left":"Zooming Exits","zoom-out-right":"Zooming Exits","zoom-out-up":"Zooming Exits","bounce-in":"Bouncing Entrances","bounce-in-down":"Bouncing Entrances","bounce-in-left":"Bouncing Entrances","bounce-in-right":"Bouncing Entrances","bounce-in-up":"Bouncing Entrances","bounce-out":"Bouncing Exits","bounce-out-down":"Bouncing Exits","bounce-out-left":"Bouncing Exits","bounce-out-right":"Bouncing Exits","bounce-out-up":"Bouncing Exits","slide-in-down":"Sliding Entrances","slide-in-left":"Sliding Entrances","slide-in-right":"Sliding Entrances","slide-in-up":"Sliding Entrances","slide-out-down":"Sliding Exits","slide-out-left":"Sliding Exits","slide-out-right":"Sliding Exits","slide-out-up":"Sliding Exits","fade-in":"Fading Entrances","fade-in-down":"Fading Entrances","fade-in-down-big":"Fading Entrances","fade-in-left":"Fading Entrances","fade-in-left-big":"Fading Entrances","fade-in-right":"Fading Entrances","fade-in-right-big":"Fading Entrances","fade-in-up":"Fading Entrances","fade-in-up-big":"Fading Entrances","fade-in-top-left":"Fading Entrances","fade-in-top-right":"Fading Entrances","fade-in-bottom-left":"Fading Entrances","fade-in-bottom-right":"Fading Entrances","fade-out":"Fading Exits","fade-out-down":"Fading Exits","fade-out-down-big":"Fading Exits","fade-out-left":"Fading Exits","fade-out-left-big":"Fading Exits","fade-out-right":"Fading Exits","fade-out-right-big":"Fading Exits","fade-out-up":"Fading Exits","fade-out-up-big":"Fading Exits","fade-out-top-left":"Fading Exits","fade-out-top-right":"Fading Exits","fade-out-bottom-left":"Fading Exits","fade-out-bottom-right":"Fading Exits","back-in-up":"Back Entrances","back-in-down":"Back Entrances","back-in-right":"Back Entrances","back-in-left":"Back Entrances","back-out-up":"Back Exits","back-out-down":"Back Exits","back-out-right":"Back Exits","back-out-left":"Back Exits"}},mm={busy:'busy="true"',checked:'checked="true"',disabled:'disabled="true"',expanded:'expanded="true"',hidden:'hidden="true"',pressed:'pressed="true"',readonly:'readonly="true"',required:'required="true"',selected:'selected="true"'},gm={DEFAULT:"8px",xs:"4px",sm:"8px",md:"12px",lg:"16px",xl:"24px","2xl":"40px","3xl":"64px"},bm={sans:["ui-sans-serif","system-ui","-apple-system","BlinkMacSystemFont",'"Segoe UI"',"Roboto",'"Helvetica Neue"',"Arial",'"Noto Sans"',"sans-serif",'"Apple Color Emoji"','"Segoe UI Emoji"','"Segoe UI Symbol"','"Noto Color Emoji"'].join(","),serif:["ui-serif","Georgia","Cambria",'"Times New Roman"',"Times","serif"].join(","),mono:["ui-monospace","SFMono-Regular","Menlo","Monaco","Consolas",'"Liberation Mono"','"Courier New"',"monospace"].join(",")},ym={xs:{fontSize:"0.75rem",lineHeight:"1rem"},sm:{fontSize:"0.875rem",lineHeight:"1.25rem"},base:{fontSize:"1rem",lineHeight:"1.5rem"},lg:{fontSize:"1.125rem",lineHeight:"1.75rem"},xl:{fontSize:"1.25rem",lineHeight:"1.75rem"},"2xl":{fontSize:"1.5rem",lineHeight:"2rem"},"3xl":{fontSize:"1.875rem",lineHeight:"2.25rem"},"4xl":{fontSize:"2.25rem",lineHeight:"2.5rem"},"5xl":{fontSize:"3rem",lineHeight:"1"},"6xl":{fontSize:"3.75rem",lineHeight:"1"},"7xl":{fontSize:"4.5rem",lineHeight:"1"},"8xl":{fontSize:"6rem",lineHeight:"1"},"9xl":{fontSize:"8rem",lineHeight:"1"}},vm={thin:"100",extralight:"200",light:"300",normal:"400",medium:"500",semibold:"600",bold:"700",extrabold:"800",black:"900"},km={tighter:"-0.05em",tight:"-0.025em",normal:"0em",wide:"0.025em",wider:"0.05em",widest:"0.1em"},xm={none:"1",tight:"1.25",snug:"1.375",normal:"1.5",relaxed:"1.625",loose:"2"},wm={DEFAULT:"1.5rem",none:"0",sm:"thin",md:"medium",lg:"thick"},$m={portrait:"(orientation: portrait)",landscape:"(orientation: landscape)",os_dark:"(prefers-color-scheme: dark)",os_light:"(prefers-color-scheme: light)",motion_ok:"(prefers-reduced-motion: no-preference)",motion_not_ok:"(prefers-reduced-motion: reduce)",high_contrast:"(prefers-contrast: high)",low_contrast:"(prefers-contrast: low)",opacity_ok:"(prefers-reduced-transparency: no-preference)",opacity_not_ok:"(prefers-reduced-transparency: reduce)",use_data_ok:"(prefers-reduced-data: no-preference)",use_data_not_ok:"(prefers-reduced-data: reduce)",touch:"(hover: none) and (pointer: coarse)",stylus:"(hover: none) and (pointer: fine)",pointer:"(hover) and (pointer: coarse)",mouse:"(hover) and (pointer: fine)",hd_color:"(dynamic-range: high)"},Em={DEFAULT:"0.25rem",xs:"0.75rem",sm:"0.875rem",lg:"1.125rem",xl:"1.25rem","2xl":"1.5rem","3xl":"1.875rem","4xl":"2.25rem","5xl":"3rem","6xl":"3.75rem","7xl":"4.5rem","8xl":"6rem","9xl":"8rem"},Sm={DEFAULT:"0.25rem",none:"0",xs:"0.125rem",sm:"0.25rem",md:"0.375rem",lg:"0.5rem",xl:"0.75rem","2xl":"1rem","3xl":"1.5rem","4xl":"2rem"},_m={DEFAULT:["0 1px 3px 0 rgb(0 0 0 / 0.1)","0 1px 2px -1px rgb(0 0 0 / 0.1)"],"2xs":"0 1px rgb(0 0 0 / 0.05)",xs:"0 1px 2px 0 rgb(0 0 0 / 0.05)",sm:["0 1px 3px 0 rgb(0 0 0 / 0.1)","0 1px 2px -1px rgb(0 0 0 / 0.1)"],md:["0 4px 6px -1px rgb(0 0 0 / 0.1)","0 2px 4px -2px rgb(0 0 0 / 0.1)"],lg:["0 10px 15px -3px rgb(0 0 0 / 0.1)","0 4px 6px -4px rgb(0 0 0 / 0.1)"],xl:["0 20px 25px -5px rgb(0 0 0 / 0.1)","0 8px 10px -6px rgb(0 0 0 / 0.1)"],"2xl":"0 25px 50px -12px rgb(0 0 0 / 0.25)",none:"0 0 rgb(0 0 0 / 0)",inner:"inset 0 2px 4px 0 rgb(0 0 0 / 0.05)"},Cm={"2xs":"inset 0 1px rgb(0 0 0 / 0.05)",xs:"inset 0 1px 1px rgb(0 0 0 / 0.05)",sm:"inset 0 2px 4px rgb(0 0 0 / 0.05)",none:"0 0 rgb(0 0 0 / 0)"},Am={DEFAULT:["0 1px 2px rgb(0 0 0 / 0.1)","0 1px 1px rgb(0 0 0 / 0.06)"],xs:"0 1px 1px rgb(0 0 0 / 0.05)",sm:"0 1px 2px rgb(0 0 0 / 0.15)",md:"0 3px 3px rgb(0 0 0 / 0.12)",lg:"0 4px 4px rgb(0 0 0 / 0.15)",xl:"0 9px 7px rgb(0 0 0 / 0.1)","2xl":"0 25px 25px rgb(0 0 0 / 0.15)"},Dm={none:"0 0 rgb(0 0 0 / 0)","2xs":"0 1px 0 rgb(0 0 0 / 0.15)",xs:"0 1px 1px rgb(0 0 0 / 0.2)",sm:["0 1px 0 rgb(0 0 0 / 0.075)","0 1px 1px rgb(0 0 0 / 0.075)","0 2px 2px rgb(0 0 0 / 0.075)"],md:["0 1px 1px rgb(0 0 0 / 0.1)","0 1px 2px rgb(0 0 0 / 0.1)","0 2px 4px rgb(0 0 0 / 0.1)"],lg:["0 1px 2px rgb(0 0 0 / 0.1)","0 3px 2px rgb(0 0 0 / 0.1)","0 4px 8px rgb(0 0 0 / 0.1)"]},Om={dramatic:"100px",near:"300px",normal:"500px",midrange:"800px",distant:"1200px"},Bm={transition:{duration:"150ms",timingFunction:"cubic-bezier(0.4, 0, 0.2, 1)"},font:{family:"var(--font-sans)",featureSettings:"var(--font-sans--font-feature-settings)",variationSettings:"var(--font-sans--font-variation-settings)"},monoFont:{family:"var(--font-mono)",featureSettings:"var(--font-mono--font-feature-settings)",variationSettings:"var(--font-mono--font-variation-settings)"}},Fm={"3xs":"16rem","2xs":"18rem",xs:"20rem",sm:"24rem",md:"28rem",lg:"32rem",xl:"36rem","2xl":"42rem","3xl":"48rem","4xl":"56rem","5xl":"64rem","6xl":"72rem","7xl":"80rem",prose:"65ch"},lu={sm:"40rem",md:"48rem",lg:"64rem",xl:"80rem","2xl":"96rem"},Mm={...lu},Nm={grid:"(display: grid)"},Pm={linear:"linear",in:"cubic-bezier(0.4, 0, 1, 1)",out:"cubic-bezier(0, 0, 0.2, 1)","in-out":"cubic-bezier(0.4, 0, 0.2, 1)",DEFAULT:"cubic-bezier(0.4, 0, 0.2, 1)"},Lm={none:"none",all:"all",colors:["color","background-color","border-color","text-decoration-color","fill","stroke","--un-gradient-from","--un-gradient-via","--un-gradient-to"].join(","),opacity:"opacity",shadow:"box-shadow",transform:["transform","translate","scale","rotate"].join(","),get DEFAULT(){return[this.colors,this.opacity,this.shadow,this.transform,"filter","-webkit-backdrop-filter","backdrop-filter"].join(",")}},zm={font:bm,colors:uu,spacing:Em,breakpoint:lu,verticalBreakpoint:Mm,text:ym,fontWeight:vm,tracking:km,leading:xm,textStrokeWidth:wm,radius:Sm,shadow:_m,insetShadow:Cm,dropShadow:Am,textShadow:Dm,ease:Pm,animation:fm,blur:gm,perspective:Om,property:Lm,default:Bm,container:Fm,aria:mm,media:$m,supports:Nm},Tm={name:"aria",match(t,e){let r=Ee("aria-",t,e.generator.config.separators);if(r){let[n,i]=r,a=E.bracket(n)??e.theme.aria?.[n]??"";if(a)return{matcher:i,selector:s=>`${s}[aria-${a}]`}}},multiPass:!0,autocomplete:"aria-$aria"};function vt(t){return{name:`${t}-aria`,match(e,r){let n=Ee(`${t}-aria-`,e,r.generator.config.separators);if(n){let[i,a,s]=n,o=E.bracket(i)??r.theme.aria?.[i]??"";if(o){let u={group:`&:is(:where(.group${s?`\\/${s}`:""})[aria-${o}] *)`,peer:`&:is(:where(.peer${s?`\\/${s}`:""})[aria-${o}] ~ *)`,previous:`:where(*[aria-${o}] + &)`,parent:`:where(*[aria-${o}] > &)`,has:`&:has(*[aria-${o}])`,in:`:where(*[aria-${o}]) &`};return{matcher:a,handle:(c,d)=>d({...c,parent:`${c.parent?`${c.parent} $$ `:""}${c.selector}`,selector:u[t]})}}}},multiPass:!0}}var jm=[vt("group"),vt("peer"),vt("parent"),vt("previous"),vt("has"),vt("in")],uo=/(max|min)-\[([^\]]*)\]:/;function Im(){let t={};return{name:"breakpoints",match(e,r){if(uo.test(e)){let i=e.match(uo);return{matcher:e.replace(i[0],""),handle:(a,s)=>s({...a,parent:`${a.parent?`${a.parent} $$ `:""}@media (${i[1]}-width: ${i[2]})`})}}let n=(un(r)??[]).map(({point:i,size:a},s)=>[i,a,s]);for(let[i,a,s]of n){t[i]||(t[i]=new RegExp(`^((?:([al]t-|[<~]|max-))?${i}(?:${r.generator.config.separators.join("|")}))`));let o=e.match(t[i]);if(!o)continue;let[,u]=o,c=e.slice(u.length);if(c==="container")continue;let d=u.startsWith("lt-")||u.startsWith("<")||u.startsWith("max-"),h=u.startsWith("at-")||u.startsWith("~"),p=3e3;return d?(p-=s+1,{matcher:c,handle:(l,m)=>m({...l,parent:`${l.parent?`${l.parent} $$ `:""}@media (max-width: ${Na(a)})`,parentOrder:p})}):(p+=s+1,h&&s<n.length-1?{matcher:c,handle:(l,m)=>m({...l,parent:`${l.parent?`${l.parent} $$ `:""}@media (min-width: ${a}) and (max-width: ${Na(n[s+1][1])})`,parentOrder:p})}:{matcher:c,handle:(l,m)=>m({...l,parent:`${l.parent?`${l.parent} $$ `:""}@media (min-width: ${a})`,parentOrder:p})})}},multiPass:!0,autocomplete:"(at-|lt-|max-|)$breakpoint:"}}var Rm=[Fe("*",t=>({selector:`${t.selector} > *`}),{order:-1}),Fe("**",t=>({selector:`${t.selector} *`}),{order:-1})];function Yt(t,e){return{name:`combinator:${t}`,match(r,n){if(!r.startsWith(t))return;let i=n.generator.config.separators,a=pt(`${t}-`,r,i);if(!a){for(let o of i)if(r.startsWith(`${t}${o}`)){a=["",r.slice(t.length+o.length)];break}if(!a)return}let s=E.bracket(a[0])??"";return s===""&&(s="*"),{matcher:a[1],selector:o=>`${o}${e}${s}`}},multiPass:!0}}var Vm=[Yt("all"," "),Yt("children",">"),Yt("next","+"),Yt("sibling","+"),Yt("siblings","~")],qm=[Fe("svg",t=>({selector:`${t.selector} svg`}))],Um={name:"@",match(t,e){if(t.startsWith("@container"))return;let r=Ee("@",t,e.generator.config.separators);if(r){let[n,i,a]=r,s=E.bracket(n),o;if(s?o=E.numberWithUnit(s):o=e.theme.container?.[n]??"",o){let u=1e3+Object.keys(e.theme.container??{}).indexOf(n);return a&&(u+=1e3),{matcher:i,handle:(c,d)=>d({...c,parent:`${c.parent?`${c.parent} $$ `:""}@container${a?` ${a} `:" "}(min-width: ${o})`,parentOrder:u})}}}},multiPass:!0};function Wm(t={}){if(t?.dark==="class"||typeof t.dark=="object"){let{dark:e=".dark",light:r=".light"}=typeof t.dark=="string"?{}:t.dark;return[Fe("dark",n=>({prefix:`${e} $$ ${n.prefix}`})),Fe("light",n=>({prefix:`${r} $$ ${n.prefix}`}))]}return[ce("dark","@media (prefers-color-scheme: dark)"),ce("light","@media (prefers-color-scheme: light)")]}var Hm=[Fe(".dark",t=>({prefix:`.dark $$ ${t.prefix}`})),Fe(".light",t=>({prefix:`.light $$ ${t.prefix}`})),ce("@dark","@media (prefers-color-scheme: dark)"),ce("@light","@media (prefers-color-scheme: light)"),ce("not-dark","@media not (prefers-color-scheme: dark)")],Zm={name:"data",match(t,e){let r=Ee("data-",t,e.generator.config.separators);if(r){let[n,i]=r,a=E.bracket(n)??e.theme.data?.[n]??"";if(a)return{matcher:i,selector:s=>`${s}[data-${a}]`}}},multiPass:!0};function kt(t){return{name:`${t}-data`,match(e,r){let n=Ee(`${t}-data-`,e,r.generator.config.separators);if(n){let[i,a,s]=n,o=E.bracket(i)??r.theme.data?.[i]??"";if(o){let u={group:`&:is(:where(.group${s?`\\/${s}`:""})[data-${o}] *)`,peer:`&:is(:where(.peer${s?`\\/${s}`:""})[data-${o}] ~ *)`,previous:`:where(*[data-${o}] + &)`,parent:`:where(*[data-${o}] > &)`,has:`&:has(*[data-${o}])`,in:`:where(*[data-${o}]) &`};return{matcher:a,handle:(c,d)=>d({...c,parent:`${c.parent?`${c.parent} $$ `:""}${c.selector}`,selector:u[t]})}}}},multiPass:!0}}var Ym=[kt("group"),kt("peer"),kt("parent"),kt("previous"),kt("has"),kt("in")],Gm=[Fe("rtl",t=>({prefix:`[dir="rtl"] $$ ${t.prefix}`})),Fe("ltr",t=>({prefix:`[dir="ltr"] $$ ${t.prefix}`}))];function Jm(){let t;return{name:"important",match(e,r){t||(t=new RegExp(`^(important(?:${r.generator.config.separators.join("|")})|!)`));let n,i=e.match(t);if(i?n=e.slice(i[0].length):e.endsWith("!")&&(n=e.slice(0,-1)),n)return{matcher:n,body:a=>(a.forEach(s=>{s[1]!=null&&(s[1]+=" !important")}),a)}}}}var Km=Fe("inert",t=>({parent:`${t.parent?`${t.parent} $$ `:""}${t.selector}`,selector:"&:is([inert],[inert] *)"})),Xm=ce("noscript","@media (scripting: none)"),Qm={name:"scripting",match(t,e){let r=Ee(["script-","scripting-"],t,e.generator.config.separators);if(r){let[n,i]=r;if(["none","initial-only","enabled"].includes(n))return{matcher:i,handle:(a,s)=>s({...a,parent:`${a.parent?`${a.parent} $$ `:""}@media (scripting: ${n})`})}}},multiPass:!0,autocomplete:["(scripting|script)-(none|initial-only|enabled)"]},e1=ce("print","@media print"),t1={name:"media",match(t,e){let r=Ee("media-",t,e.generator.config.separators);if(r){let[n,i]=r,a=E.bracket(n)??"";if(a===""&&(a=e.theme.media?.[n]??""),a)return{matcher:i,handle:(s,o)=>o({...s,parent:`${s.parent?`${s.parent} $$ `:""}@media ${a}`})}}},multiPass:!0,autocomplete:"media-$media"},r1=[ce("contrast-more","@media (prefers-contrast: more)"),ce("contrast-less","@media (prefers-contrast: less)")],n1=[ce("motion-reduce","@media (prefers-reduced-motion: reduce)"),ce("motion-safe","@media (prefers-reduced-motion: no-preference)")],i1=[ce("landscape","@media (orientation: landscape)"),ce("portrait","@media (orientation: portrait)")],a1=[ce("forced-colors","@media (forced-colors: active)")],o1={name:"selector",match(t,e){let r=pt("selector-",t,e.generator.config.separators);if(r){let[n,i]=r,a=E.bracket(n);if(a)return{matcher:i,selector:()=>a}}}},s1={name:"layer",match(t,e){let r=Ee("layer-",t,e.generator.config.separators);if(r){let[n,i]=r,a=E.bracket(n)??n;if(a)return{matcher:i,handle:(s,o)=>o({...s,parent:`${s.parent?`${s.parent} $$ `:""}@layer ${a}`})}}}},u1={name:"uno-layer",match(t,e){let r=Ee("uno-layer-",t,e.generator.config.separators);if(r){let[n,i]=r,a=E.bracket(n)??n;if(a)return{matcher:i,layer:a}}}},l1={name:"scope",match(t,e){let r=pt("scope-",t,e.generator.config.separators);if(r){let[n,i]=r,a=E.bracket(n);if(a)return{matcher:i,selector:s=>`${a} $$ ${s}`}}}},c1={name:"variables",match(t,e){if(!t.startsWith("["))return;let[r,n]=br(t,"[","]")??[];if(!(r&&n))return;let i;for(let o of e.generator.config.separators)if(n.startsWith(o)){i=n.slice(o.length);break}if(i==null)return;let a=E.bracket(r)??"",s=a.startsWith("@");if(s||a.includes("&"))return{matcher:i,handle(o,u){let c=s?{parent:`${o.parent?`${o.parent} $$ `:""}${a}`}:{selector:a.replace(/&/g,o.selector)};return u({...o,...c})}}},multiPass:!0},d1={name:"theme-variables",match(t,e){if(Gd(t))return{matcher:t,handle(r,n){return n({...r,entries:JSON.parse(Jd(JSON.stringify(r.entries),e.theme))})}}}},h1=[Fe("@hover",t=>({parent:`${t.parent?`${t.parent} $$ `:""}@media (hover: hover) and (pointer: fine)`,selector:`${t.selector||""}:hover`}))],p1={name:"implicit-group",match(t,e){let r=Ee("in-",t,e.generator.config.separators);if(r){let[n,i]=r,a=E.bracket(n)??n;if(a)return{matcher:i,handle:(s,o)=>o({...s,parent:`${s.parent?`${s.parent} $$ `:""}${s.selector}`,selector:`:where(*:is(${a})) &`})}}}},cu=/^-?[0-9.]+(?:[a-z]+|%)?$/,du=/-?[0-9.]+(?:[a-z]+|%)?/,lo=/var\(--spacing(?:-[\w-]+)?\)\s*\*\s*(-?[0-9.]+(?:[a-z]+|%)?)/,f1=[/\b(opacity|color|flex|backdrop-filter|^filter|^scale|transform|mask-image)\b/];function m1(t){let e=t.match(wi)||t.match(Oh);if(e){let[r,n]=nn(`(${e[2]})${e[3]}`,"(",")"," ")??[];if(r){let i=r.match(lo);if(i){let a=i[1],s=a.startsWith("-")?a.slice(1):`-${a}`,o=r.replace(lo,u=>u.replace(a,s));return`${e[1]}${o}${n?` ${n}`:""}`}return`calc(${e[1]}${r} * -1)${n?` ${n}`:""}`}}}var g1=/\b(hue-rotate)\s*(\(.*)/;function b1(t){let e=t.match(g1);if(e){let[r,n]=nn(e[2],"(",")"," ")??[];if(r){let i=cu.test(r.slice(1,-1))?r.replace(du,a=>a.startsWith("-")?a.slice(1):`-${a}`):`(calc(${r} * -1))`;return`${e[1]}${i}${n?` ${n}`:""}`}}}var y1={name:"negative",match(t){if(t.startsWith("-"))return{matcher:t.slice(1),body:e=>{if(e.find(n=>n[0]==="$$mini-no-negative"))return;let r=!1;for(let n of e){let[i,a,s]=n;if(typeof a=="object"||s&&J(s).includes("$$mini-no-negative"))continue;let o=a?.toString();if(!o||o==="0"||f1.some(c=>c.test(i)))continue;let u=m1(o)??b1(o)??(cu.test(o)?o.replace(du,c=>c.startsWith("-")?c.slice(1):`-${c}`):void 0);!u||u===o||(n[1]=u,r=!0)}return r?e:[]}}}},v1=(t,{theme:e})=>{let r=t.match(/^(.*)\b(placeholder-)(.+)$/);if(r){let[,n="",i,a]=r;if(rt(a,e)||k1(a))return{matcher:`${n}placeholder-$ ${i}${a}`}}};function k1(t){let e=t.match(/^op(?:acity)?-?(.+)$/);return e&&e[1]!=null?E.bracket.percent(e[1])!=null:!1}function x1(){return rh({getBracket:br,h:E,variantGetBracket:pt})}function w1(){return nh({getBracket:br,h:E,variantGetBracket:pt})}function $1(t={}){return ih(t,{getBracket:br,h:E,variantGetBracket:pt})}var E1=oh(),S1={name:"starting",match(t){if(t.startsWith("starting:"))return{matcher:t.slice(9),handle:(e,r)=>r({...e,parent:"@starting-style"})}}},_1={name:"supports",match(t,e){let r=Ee("supports-",t,e.generator.config.separators);if(r){let[n,i]=r,a=E.bracket(n)??"";if(a===""&&(a=e.theme.supports?.[n]??""),a)return a.startsWith("(")&&a.endsWith(")")||(a=`(${a})`),{matcher:i,handle:(s,o)=>o({...s,parent:`${s.parent?`${s.parent} $$ `:""}@supports ${a}`})}}},multiPass:!0};function C1(t){return[Tm,Zm,s1,o1,u1,y1,S1,Jm(),_1,Xm,Qm,e1,t1,...r1,...n1,...i1,...a1,Im(),...Vm,...qm,v1,...x1(),w1(),...$1(t),E1,...Wm(t),...Hm,...Gm,l1,...Rm,Km,Um,c1,...Ym,...jm,d1,...h1,p1].flat()}function A1(t){if(t.preflights?.property===!1)return;let e=typeof t.preflights?.property=="object"?t.preflights.property:void 0,r=e?.parent!==void 0?e.parent:"@supports ((-webkit-hyphens: none) and (not (margin-trim: inline))) or ((-moz-orient: inline) and (not (color:rgb(from red r g b))))",n=e?.selector??"*, ::before, ::after, ::backdrop",i=t.variablePrefix??"un-";return{getCSS:()=>{if(Ct.size===0)return;let a=Array.from(Ct.entries()).map(([s,o])=>`${s.replace(/^--un-/,`--${i}`)}:${o};`).join("");return r===!1?`${n}{${a}}`:`${r}{${n}{${a}}}`},layer:"properties"}}var D1=`
34
+ `?a=!0:d!=="\r"&&a&&(a=!1,o===u.start||(this._splitChunk(u,o),u=u.next),u.prependRight(e))}o+=1}o=u.end,u=u.next}return this.outro=this.outro.replace(n,s),this}insert(){throw new Error("magicString.insert(...) is deprecated. Use prependRight(...) or appendLeft(...)")}insertLeft(e,r){return bt.insertLeft||(console.warn("magicString.insertLeft(...) is deprecated. Use magicString.appendLeft(...) instead"),bt.insertLeft=!0),this.appendLeft(e,r)}insertRight(e,r){return bt.insertRight||(console.warn("magicString.insertRight(...) is deprecated. Use magicString.prependRight(...) instead"),bt.insertRight=!0),this.prependRight(e,r)}move(e,r,n){if(e=e+this.offset,r=r+this.offset,n=n+this.offset,n>=e&&n<=r)throw new Error("Cannot move a selection inside itself");this._split(e),this._split(r),this._split(n);let i=this.byStart[e],a=this.byEnd[r],s=i.previous,o=a.next,u=this.byStart[n];if(!u&&a===this.lastChunk)return this;let c=u?u.previous:this.lastChunk;return s&&(s.next=o),o&&(o.previous=s),c&&(c.next=i),u&&(u.previous=a),i.previous||(this.firstChunk=a.next),a.next||(this.lastChunk=i.previous,this.lastChunk.next=null),i.previous=c,a.next=u||null,c||(this.firstChunk=i),u||(this.lastChunk=a),this}overwrite(e,r,n,i){return i=i||{},this.update(e,r,n,{...i,overwrite:!i.contentOnly})}update(e,r,n,i){if(e=e+this.offset,r=r+this.offset,typeof n!="string")throw new TypeError("replacement content must be a string");if(this.original.length!==0){for(;e<0;)e+=this.original.length;for(;r<0;)r+=this.original.length}if(r>this.original.length)throw new Error("end is out of bounds");if(e===r)throw new Error("Cannot overwrite a zero-length range \u2013 use appendLeft or prependRight instead");this._split(e),this._split(r),i===!0&&(bt.storeName||(console.warn("The final argument to magicString.overwrite(...) should be an options object. See https://github.com/rich-harris/magic-string"),bt.storeName=!0),i={storeName:!0});let a=i!==void 0?i.storeName:!1,s=i!==void 0?i.overwrite:!1;if(a){let c=this.original.slice(e,r);Object.defineProperty(this.storedNames,c,{writable:!0,value:!0,enumerable:!0})}let o=this.byStart[e],u=this.byEnd[r];if(o){let c=o;for(;c!==u;){if(c.next!==this.byStart[c.end])throw new Error("Cannot overwrite across a split point");c=c.next,c.edit("",!1)}o.edit(n,a,!s)}else{let c=new Fa(e,r,"").edit(n,a);u.next=c,c.previous=u}return this}prepend(e){if(typeof e!="string")throw new TypeError("outro content must be a string");return this.intro=e+this.intro,this}prependLeft(e,r){if(e=e+this.offset,typeof r!="string")throw new TypeError("inserted content must be a string");this._split(e);let n=this.byEnd[e];return n?n.prependLeft(r):this.intro=r+this.intro,this}prependRight(e,r){if(e=e+this.offset,typeof r!="string")throw new TypeError("inserted content must be a string");this._split(e);let n=this.byStart[e];return n?n.prependRight(r):this.outro=r+this.outro,this}remove(e,r){if(e=e+this.offset,r=r+this.offset,this.original.length!==0){for(;e<0;)e+=this.original.length;for(;r<0;)r+=this.original.length}if(e===r)return this;if(e<0||r>this.original.length)throw new Error("Character is out of bounds");if(e>r)throw new Error("end must be greater than start");this._split(e),this._split(r);let n=this.byStart[e];for(;n;)n.intro="",n.outro="",n.edit(""),n=r>n.end?this.byStart[n.end]:null;return this}reset(e,r){if(e=e+this.offset,r=r+this.offset,this.original.length!==0){for(;e<0;)e+=this.original.length;for(;r<0;)r+=this.original.length}if(e===r)return this;if(e<0||r>this.original.length)throw new Error("Character is out of bounds");if(e>r)throw new Error("end must be greater than start");this._split(e),this._split(r);let n=this.byStart[e];for(;n;)n.reset(),n=r>n.end?this.byStart[n.end]:null;return this}lastChar(){if(this.outro.length)return this.outro[this.outro.length-1];let e=this.lastChunk;do{if(e.outro.length)return e.outro[e.outro.length-1];if(e.content.length)return e.content[e.content.length-1];if(e.intro.length)return e.intro[e.intro.length-1]}while(e=e.previous);return this.intro.length?this.intro[this.intro.length-1]:""}lastLine(){let e=this.outro.lastIndexOf(Vt);if(e!==-1)return this.outro.substr(e+1);let r=this.outro,n=this.lastChunk;do{if(n.outro.length>0){if(e=n.outro.lastIndexOf(Vt),e!==-1)return n.outro.substr(e+1)+r;r=n.outro+r}if(n.content.length>0){if(e=n.content.lastIndexOf(Vt),e!==-1)return n.content.substr(e+1)+r;r=n.content+r}if(n.intro.length>0){if(e=n.intro.lastIndexOf(Vt),e!==-1)return n.intro.substr(e+1)+r;r=n.intro+r}}while(n=n.previous);return e=this.intro.lastIndexOf(Vt),e!==-1?this.intro.substr(e+1)+r:this.intro+r}slice(e=0,r=this.original.length-this.offset){if(e=e+this.offset,r=r+this.offset,this.original.length!==0){for(;e<0;)e+=this.original.length;for(;r<0;)r+=this.original.length}let n="",i=this.firstChunk;for(;i&&(i.start>e||i.end<=e);){if(i.start<r&&i.end>=r)return n;i=i.next}if(i&&i.edited&&i.start!==e)throw new Error(`Cannot use replaced character ${e} as slice start anchor.`);let a=i;for(;i;){i.intro&&(a!==i||i.start===e)&&(n+=i.intro);let s=i.start<r&&i.end>=r;if(s&&i.edited&&i.end!==r)throw new Error(`Cannot use replaced character ${r} as slice end anchor.`);let o=a===i?e-i.start:0,u=s?i.content.length+r-i.end:i.content.length;if(n+=i.content.slice(o,u),i.outro&&(!s||i.end===r)&&(n+=i.outro),s)break;i=i.next}return n}snip(e,r){let n=this.clone();return n.remove(0,e),n.remove(r,n.original.length),n}_split(e){if(this.byStart[e]||this.byEnd[e])return;let r=this.lastSearchedChunk,n=r,i=e>r.end;for(;r;){if(r.contains(e))return this._splitChunk(r,e);if(r=i?this.byStart[r.end]:this.byEnd[r.start],r===n)return;n=r}}_splitChunk(e,r){if(e.edited&&e.content.length){let i=Ma(this.original)(r);throw new Error(`Cannot split a chunk that has already been edited (${i.line}:${i.column} \u2013 "${e.original}")`)}let n=e.split(r);return this.byEnd[r]=e,this.byStart[r]=n,this.byEnd[n.end]=n,e===this.lastChunk&&(this.lastChunk=n),this.lastSearchedChunk=e,!0}toString(){let e=this.intro,r=this.firstChunk;for(;r;)e+=r.toString(),r=r.next;return e+this.outro}isEmpty(){let e=this.firstChunk;do if(e.intro.length&&e.intro.trim()||e.content.length&&e.content.trim()||e.outro.length&&e.outro.trim())return!1;while(e=e.next);return!0}length(){let e=this.firstChunk,r=0;do r+=e.intro.length+e.content.length+e.outro.length;while(e=e.next);return r}trimLines(){return this.trim("[\\r\\n]")}trim(e){return this.trimStart(e).trimEnd(e)}trimEndAborted(e){let r=new RegExp((e||"\\s")+"+$");if(this.outro=this.outro.replace(r,""),this.outro.length)return!0;let n=this.lastChunk;do{let i=n.end,a=n.trimEnd(r);if(n.end!==i&&(this.lastChunk===n&&(this.lastChunk=n.next),this.byEnd[n.end]=n,this.byStart[n.next.start]=n.next,this.byEnd[n.next.end]=n.next),a)return!0;n=n.previous}while(n);return!1}trimEnd(e){return this.trimEndAborted(e),this}trimStartAborted(e){let r=new RegExp("^"+(e||"\\s")+"+");if(this.intro=this.intro.replace(r,""),this.intro.length)return!0;let n=this.firstChunk;do{let i=n.end,a=n.trimStart(r);if(n.end!==i&&(n===this.lastChunk&&(this.lastChunk=n.next),this.byEnd[n.end]=n,this.byStart[n.next.start]=n.next,this.byEnd[n.next.end]=n.next),a)return!0;n=n.next}while(n);return!1}trimStart(e){return this.trimStartAborted(e),this}hasChanged(){return this.original!==this.toString()}_replaceRegexp(e,r){function n(a,s){return typeof r=="string"?r.replace(/\$(\$|&|\d+)/g,(o,u)=>u==="$"?"$":u==="&"?a[0]:+u<a.length?a[+u]:`$${u}`):r(...a,a.index,s,a.groups)}function i(a,s){let o,u=[];for(;o=a.exec(s);)u.push(o);return u}if(e.global)i(e,this.original).forEach(a=>{if(a.index!=null){let s=n(a,this.original);s!==a[0]&&this.overwrite(a.index,a.index+a[0].length,s)}});else{let a=this.original.match(e);if(a&&a.index!=null){let s=n(a,this.original);s!==a[0]&&this.overwrite(a.index,a.index+a[0].length,s)}}return this}_replaceString(e,r){let{original:n}=this,i=n.indexOf(e);return i!==-1&&(typeof r=="function"&&(r=r(e,i,n)),e!==r&&this.overwrite(i,i+e.length,r)),this}replace(e,r){return typeof e=="string"?this._replaceString(e,r):this._replaceRegexp(e,r)}_replaceAllString(e,r){let{original:n}=this,i=e.length;for(let a=n.indexOf(e);a!==-1;a=n.indexOf(e,a+i)){let s=n.slice(a,a+i),o=r;typeof r=="function"&&(o=r(s,a,n)),s!==o&&this.overwrite(a,a+i,o)}return this}replaceAll(e,r){if(typeof e=="string")return this._replaceAllString(e,r);if(!e.global)throw new TypeError("MagicString.prototype.replaceAll called with a non-global RegExp argument");return this._replaceRegexp(e,r)}};function br(t,e,r){if(t==="")return;let n=t.length,i=0,a=!1,s=0;for(let o=0;o<n;o++)switch(t[o]){case e:a||(a=!0,s=o),i++;break;case r:if(--i,i<0)return;if(i===0)return[t.slice(s,o+1),t.slice(o+1),t.slice(0,s)];break}}function nn(t,e,r,n){if(t===""||(te(n)&&(n=[n]),n.length===0))return;let i=t.length,a=0;for(let s=0;s<i;s++)switch(t[s]){case e:a++;break;case r:if(--a<0)return;break;default:for(let o of n){let u=o.length;if(u&&o===t.slice(s,s+u)&&a===0)return s===0||s===i-u?void 0:[t.slice(0,s),t.slice(s+u)]}}return[t,""]}function rt(t,e,r,n="(",i=")"){r=r??10;let a=[],s=0;for(;t!=="";){if(++s>r)return;let o=nn(t,n,i,e);if(!o)return;let[u,c]=o;a.push(u),t=c}if(a.length>0)return a}var wi=["hsl","hsla","hwb","lab","lch","oklab","oklch","rgb","rgba"],jd=["srgb","srgb-linear","display-p3","a98-rgb","prophoto-rgb","rec2020","lab","oklab","xyz","xyz-d50","xyz-d65"],Id=["hsl","hwb","lch","oklch"],Rd=["shorter","longer","increasing","decreasing"],Is=["%alpha","<alpha-value>"],Rs=new RegExp(Is.map(t=>or(t)).join("|"),"g");function Na(t){return t?jd.some(e=>t.includes(e))||Id.some(e=>t.includes(e))||Rd.some(e=>t.includes(e)):!1}function wt(t=""){let e=Vd(t);if(e==null||e===!1)return;let{type:r,components:n,alpha:i}=e,a=r.toLowerCase();if(n.length!==0&&!(wi.includes(a)&&![1,3].includes(n.length)))return{type:a,components:n.map(s=>typeof s=="string"?s.trim():s),alpha:typeof i=="string"?i.trim():i}}function ur(t,e){if(typeof t=="string")return t.replace(Rs,`${e??1}`);let{components:r}=t,{alpha:n,type:i}=t;return n=e??n,i=i.toLowerCase(),["hsla","rgba"].includes(i)?`${i}(${r.join(", ")}${n==null?"":`, ${n}`})`:(n=n==null?"":` / ${n}`,wi.includes(i)?`${i}(${r.join(" ")}${n})`:`color(${i} ${r.join(" ")}${n})`)}function Vd(t){if(!t)return;let e=qd(t);if(e!=null||(e=Ud(t),e!=null)||(e=Wd(t),e!=null)||(e=Zd(t),e!=null)||(e=Gd(t),e!=null))return e}function qd(t){let[,e]=t.match(/^#([\da-f]+)$/i)||[];if(e)switch(e.length){case 3:case 4:{let r=Array.from(e,n=>Number.parseInt(n,16)).map(n=>n<<4|n);return{type:"rgb",components:r.slice(0,3),alpha:e.length===3?void 0:Math.round(r[3]/255*100)/100}}case 6:case 8:{let r=Number.parseInt(e,16);return{type:"rgb",components:e.length===6?[r>>16&255,r>>8&255,r&255]:[r>>24&255,r>>16&255,r>>8&255],alpha:e.length===6?void 0:Math.round((r&255)/255*100)/100}}}}function Ud(t){let e={rebeccapurple:[102,51,153,1]}[t];if(e!=null)return{type:"rgb",components:e.slice(0,3),alpha:e[3]}}function Wd(t){let e=t.match(/^(rgb|rgba|hsl|hsla)\((.+)\)$/i);if(!e)return;let[,r,n]=e,i=rt(n,",",5);if(i){if([3,4].includes(i.length))return{type:r,components:i.slice(0,3),alpha:i[3]};if(i.length!==1)return!1}}var Hd=new RegExp(`^(${wi.join("|")})\\((.+)\\)$`,"i");function Zd(t){let e=t.match(Hd);if(!e)return;let[,r,n]=e,i=Vs(`${r} ${n}`);if(i){let{alpha:a,components:[s,...o]}=i;return{type:s,components:o,alpha:a}}}function Gd(t){let e=t.match(/^color\((.+)\)$/);if(!e)return;let r=Vs(e[1]);if(r){let{alpha:n,components:[i,...a]}=r;return{type:i,components:a,alpha:n}}}function Vs(t){let e=rt(t," ");if(!e)return;let r=e.length;if(e[r-2]==="/")return{components:e.slice(0,r-2),alpha:e[r-1]};if(e[r-2]!=null&&(e[r-2].endsWith("/")||e[r-1].startsWith("/"))){let a=e.splice(r-2);e.push(a.join(" ")),--r}let n=rt(e[r-1],"/",2);if(!n)return;if(n.length===1||n[n.length-1]==="")return{components:e};let i=n.pop();return e[r-1]=n.join("/"),{components:e,alpha:i}}var Yd=/theme\(\s*(['"])?(.*?)\1?\s*\)/g;function Jd(t){return t.includes("theme(")&&t.includes(")")}function Kd(t,e,r=!0){let n=Array.from(t.toString().matchAll(Yd));if(!n.length)return t;let i=new Td(t);for(let a of n){let s=a[2];if(!s)throw new Error("theme() expect exact one argument, but got 0");let o=Xd(s,e,r);o&&i.overwrite(a.index,a.index+a[0].length,o)}return i.toString()}function Xd(t,e,r=!0){let[n,i]=t.split("/"),a=n.trim().split(".").reduce((s,o)=>s?.[o],e);if(typeof a=="object"&&(a=a.DEFAULT),typeof a=="string"){if(i){let s=wt(a);s&&(a=ur(s,i))}return a}else if(r)throw new Error(`theme of "${t}" did not found`)}function La(t){var e;let r=((e=t.match(/^-?\d+\.?\d*/))===null||e===void 0?void 0:e[0])||"",n=t.slice(r.length);if(n==="px"){let i=Number.parseFloat(r)-.1;return Number.isNaN(i)?t:`${i}${n}`}return`calc(${t} - 0.1px)`}function Qd(t){let e=function(n,i){var a;let s=((a=this.__options)===null||a===void 0?void 0:a.sequence)||[];this.__options.sequence=[];for(let o of s){let u=t[o](n,i);if(u!=null)return u}};function r(n,i){return n.__options||(n.__options={sequence:[]}),n.__options.sequence.push(i),n}for(let n of Object.keys(t))Object.defineProperty(e,n,{enumerable:!0,configurable:!0,get(){return r(this,n)}});return e}var tr="__pseudo_placeholder__",Pt=Object.fromEntries([["first-letter","::first-letter"],["first-line","::first-line"],"any-link","link","visited","target",["open","[open]"],"default","checked","indeterminate","placeholder-shown","autofill","optional","required","valid","invalid","user-valid","user-invalid","in-range","out-of-range","read-only","read-write","empty","focus-within","hover","focus","focus-visible","active","enabled","disabled","popover-open","root","empty",["even-of-type",":nth-of-type(even)"],["even",":nth-child(even)"],["odd-of-type",":nth-of-type(odd)"],["odd",":nth-child(odd)"],["nth",`:nth-child(${tr})`],["nth-last",`:nth-last-child(${tr})`],["nth-last-of-type",`:nth-last-of-type(${tr})`],["nth-of-type",`:nth-of-type(${tr})`],"first-of-type",["first",":first-child"],"last-of-type",["last",":last-child"],"only-child","only-of-type",["backdrop-element","::backdrop"],["placeholder","::placeholder"],["before","::before"],["after","::after"],["file","::file-selector-button"],["details-content","::details-content"]].map(t=>Array.isArray(t)?t:[t,`:${t}`])),qs=Object.keys(Pt),zt=Object.fromEntries([["backdrop","::backdrop"]].map(t=>Array.isArray(t)?t:[t,`:${t}`])),Us=Object.keys(zt),eh=["not","is","where","has"],Ws=Object.fromEntries([["selection",["::selection"," *::selection"]],["marker",["::marker"," *::marker"]]]),Xn=Object.entries(Pt).filter(([,t])=>!t.startsWith("::")).map(([t])=>t).sort((t,e)=>e.length-t.length).join("|"),Qn=Object.entries(zt).filter(([,t])=>!t.startsWith("::")).map(([t])=>t).sort((t,e)=>e.length-t.length).join("|"),ut=eh.join("|"),Pa=Object.keys(Ws).sort((t,e)=>e.length-t.length).join("|"),th=["::-webkit-resizer","::-webkit-scrollbar","::-webkit-scrollbar-button","::-webkit-scrollbar-corner","::-webkit-scrollbar-thumb","::-webkit-scrollbar-track","::-webkit-scrollbar-track-piece","::file-selector-button"],za=Object.entries(Pt).map(([t])=>t).sort((t,e)=>e.length-t.length).join("|"),Ta=Object.entries(zt).map(([t])=>t).sort((t,e)=>e.length-t.length).join("|");function rh(t,e,r,n){let{h:i,variantGetBracket:a}=n,s=new RegExp(`^(${or(e)}:)(\\S+)${or(r)}\\1`),o,u,c,d,h=m=>{var f;let b=a(`${t}-`,m,[]);if(!b)return;let[v,y]=b,w=i.bracket(v);if(w==null)return;let k=((f=y.split(o,1))===null||f===void 0?void 0:f[0])??"",$=`${e}${we(k)}`;return[k,m.slice(m.length-(y.length-k.length-1)),w.includes("&")?w.replace(/&/g,$):`${$}${w}`]},p=m=>{let f=m.match(u)||m.match(c);if(!f)return;let[b,v,y]=f,w=f[3]??"",k=Pt[y]||zt[y]||`:${y}`;return v&&(k=`:${v}(${k})`),[w,m.slice(b.length),`${e}${we(w)}${k}`,y]},l=m=>{let f=m.match(d);if(!f)return;let[b,v,y]=f,w=f[3]??"",k=`:${v}(${y})`;return[w,m.slice(b.length),`${e}${we(w)}${k}`]};return{name:`pseudo:${t}`,match(m,f){if(o&&u&&c||(o=new RegExp(`(?:${f.generator.config.separators.join("|")})`),u=new RegExp(`^${t}-(?:(?:(${ut})-)?(${Xn}))(?:(/[\\w-]+))?(?:${f.generator.config.separators.join("|")})`),c=new RegExp(`^${t}-(?:(?:(${ut})-)?(${Qn}))(?:(/[\\w-]+))?(?:${f.generator.config.separators.filter($=>$!=="-").join("|")})`),d=new RegExp(`^${t}-(?:(${ut})-)?\\[(.+)\\](?:(/[\\w-]+))?(?:${f.generator.config.separators.filter($=>$!=="-").join("|")})`)),!m.startsWith(t))return;let b=h(m)||p(m)||l(m);if(!b)return;let[v,y,w,k=""]=b;return{matcher:y,handle:($,x)=>x({...$,prefix:`${w}${r}${$.prefix}`.replace(s,"$1$2:"),sort:qs.indexOf(k)??Us.indexOf(k)})}},multiPass:!0}}function nh(t){let{h:e}=t,r,n,i;return[{name:"pseudo",match(a,s){r&&n||(r=new RegExp(`^(${za})(?:-(\\d+|\\[(\\w|[+-.])+\\]))?(?:${s.generator.config.separators.join("|")})`),n=new RegExp(`^(${Ta})(?:${s.generator.config.separators.filter(u=>u!=="-").join("|")})`));let o=a.match(r)||a.match(n);if(o){let u=Pt[o[1]]||zt[o[1]]||`:${o[1]}`;if(o[2]){let d;o[2].startsWith("[")&&o[2].endsWith("]")?d=e.bracket(o[2]):d=o[2],d&&(u=u.replace(tr,d))}let c=qs.indexOf(o[1]);return c===-1&&(c=Us.indexOf(o[1])),c===-1&&(c=void 0),{matcher:a.slice(o[0].length),handle:(d,h)=>{let p=u.includes("::")&&!th.includes(u)?{pseudo:`${d.pseudo}${u}`}:{selector:`${d.selector}${u}`};return h({...d,...p,sort:c,noMerge:!0})}}}},multiPass:!0,autocomplete:`(${za}|${Ta}):`},{name:"pseudo:multi",match(a,s){i||(i=new RegExp(`^(${Pa})(?:${s.generator.config.separators.join("|")})`));let o=a.match(i);if(o)return Ws[o[1]].map(u=>({matcher:a.slice(o[0].length),handle:(c,d)=>d({...c,pseudo:`${c.pseudo}${u}`})}))},multiPass:!1,autocomplete:`(${Pa}):`}]}function ih(t){let{getBracket:e,h:r}=t,n,i,a;return{match(s,o){n&&i||(n=new RegExp(`^(${ut})-(${Xn})(?:${o.generator.config.separators.join("|")})`),i=new RegExp(`^(${ut})-(${Qn})(?:${o.generator.config.separators.filter(c=>c!=="-").join("|")})`),a=new RegExp(`^(${ut})-(\\[.+\\])(?:${o.generator.config.separators.filter(c=>c!=="-").join("|")})`));let u=s.match(n)||s.match(i)||s.match(a);if(u){let c=u[1],d=e(u[2],"[","]")?r.bracket(u[2]):Pt[u[2]]||zt[u[2]]||`:${u[2]}`;return{matcher:s.slice(u[0].length),selector:h=>`${h}:${c}(${d})`}}},multiPass:!0,autocomplete:`(${ut})-(${Xn}|${Qn}):`}}function ah(t,e){let r=!!t?.attributifyPseudo,n=t?.prefix??"";n=we((Array.isArray(n)?n:[n]).filter(Boolean)[0]??"");let i=(a,s)=>rh(a,r?`[${n}${a}=""]`:`.${n}${a}`,s,e);return[i("group"," "),i("peer","~"),i("parent",">"),i("previous","+")]}var oh=/(part-\[(.+)\]:)(.+)/;function sh(){return{match(t){let e=t.match(oh);if(e){let r=`part(${e[2]})`;return{matcher:t.slice(e[1].length),selector:n=>`${n}::${r}`}}},multiPass:!0}}function Ne(t,e,r={}){let n;return{name:t,match(i,a){n||(n=new RegExp(`^${or(t)}(?:${a.generator.config.separators.join("|")})`));let s=i.match(n);if(s){let o=i.slice(s[0].length),u=J(e).map(c=>({matcher:o,handle:(d,h)=>h({...d,...c(d)}),...r}));return u.length===1?u[0]:u}},autocomplete:`${t}:`}}function de(t,e){let r;return{name:t,match(n,i){r||(r=new RegExp(`^${or(t)}(?:${i.generator.config.separators.join("|")})`));let a=n.match(r);if(a)return{matcher:n.slice(a[0].length),handle:(s,o)=>o({...s,parent:`${s.parent?`${s.parent} $$ `:""}${e}`})}},autocomplete:`${t}:`}}function pt(t,e,r){if(e.startsWith(`${t}[`)){let[n,i]=br(e.slice(t.length),"[","]")??[];if(n&&i){for(let a of r)if(i.startsWith(a))return[n,i.slice(a.length),a];return[n,i,""]}}}function _e(t,e,r){for(let n of J(t))if(e.startsWith(n)){let i=pt(n,e,r);if(i){let[a="",s=i[1]]=_e("/",i[1],r)??[];return[i[0],s,a]}for(let a of r.filter(s=>s!=="/")){let s=e.indexOf(a,n.length);if(s!==-1){let o=e.indexOf("/",n.length),u=o===-1||s<=o;return[e.slice(n.length,u?s:o),e.slice(s+a.length),u?"":e.slice(o+1,s)]}}}}function uh(t){let e,r,n=2166136261;for(e=0,r=t.length;e<r;e++)n^=t.charCodeAt(e),n+=(n<<1)+(n<<4)+(n<<7)+(n<<8)+(n<<24);return`00000${(n>>>0).toString(36)}`.slice(-6)}function lh(t,e,r,n){for(let i of Array.from(t.matchAll(r)))if(i!=null){let a=i[0],s=`${n}${uh(a)}`;e.set(s,a),t=t.replace(a,s)}return t}function ch(t,e){for(let[r,n]of e.entries())t=t.replaceAll(r,n);return t}var dh=/\/\/#\s*sourceMappingURL=.*\n?/g;function hh(t){return t.includes("sourceMappingURL=")?t.replace(dh,""):t}var ph=/(?:[\w&:[\]-]|\[\S{1,64}=\S{1,64}\]){1,64}\[\\?['"]?\S{1,64}?['"]\]\]?[\w:-]{0,64}/g,fh=/\[(\\\W|[\w-]){1,64}:[^\s:]{0,64}?("\S{1,64}?"|'\S{1,64}?'|`\S{1,64}?`|[^\s:]{1,64}?)[^\s:]{0,64}?\)?\]/g,mh=/^\[(?:\\\W|[\w-]){1,64}:['"]?\S{1,64}?['"]?\]$/;function gh(t){let e=[];for(let i of t.matchAll(fh))i.index!==0&&!/^[\s'"`]/.test(t[i.index-1]??"")||e.push(i[0]);for(let i of t.matchAll(ph))e.push(i[0]);let r=new Map,n="@unocss-skip-arbitrary-brackets";return t=lh(t,r,/-\[(?!&.+?;)[^\]]*\]/g,n),t&&t.split(Bs).forEach(i=>{i.includes(n)&&(i=ch(i,r)),Xc(i)&&!mh.test(i)&&e.push(i)}),e}function bh(){return{name:"@unocss/extractor-arbitrary-variants",order:0,extract({code:t}){return gh(hh(t))}}}var Hs=[["headings","h1","h2","h3","h4","h5","h6","th"],["h1"],["h2"],["h3"],["h4"],["h5"],["h6"],["p"],["a"],["blockquote"],["figure"],["figcaption"],["strong"],["em"],["kbd"],["code"],["pre"],["ol"],["ul"],["li"],["table"],["thead"],["tr"],["th"],["td"],["img"],["video"],["hr"]],yh={body:[700,300],headings:[900,"white"],lead:[600,400],links:[900,"white"],bold:[900,"white"],counters:[500,400],bullets:[300,600],hr:[200,700],quotes:[900,100],"quote-borders":[200,700],captions:[500,400],kbd:[900,"white"],"kbd-shadows":[900,"white"],code:[900,"white"],"pre-code":[200,300],"pre-bg":[800,"rgb(0 0 0 / 50%)"],"th-borders":[300,600],"td-borders":[200,700]},P=t=>t.toFixed(7).replace(/0+$/,"").replace(/\.$/,""),ue=t=>`${P(t/16)}rem`,g=(t,e)=>`${P(t/e)}em`,vh={color:"var(--un-prose-body)","max-width":"65ch",p:{},'[class~="lead"]':{color:"var(--un-prose-lead)"},a:{color:"var(--un-prose-links)","text-decoration":"underline","font-weight":"500"},strong:{color:"var(--un-prose-bold)","font-weight":"600"},"a strong":{color:"inherit"},"blockquote strong":{color:"inherit"},"thead th strong":{color:"inherit"},ol:{"list-style-type":"decimal"},'ol[type="A"]':{"list-style-type":"upper-alpha"},'ol[type="a"]':{"list-style-type":"lower-alpha"},'ol[type="A" s]':{"list-style-type":"upper-alpha"},'ol[type="a" s]':{"list-style-type":"lower-alpha"},'ol[type="I"]':{"list-style-type":"upper-roman"},'ol[type="i"]':{"list-style-type":"lower-roman"},'ol[type="I" s]':{"list-style-type":"upper-roman"},'ol[type="i" s]':{"list-style-type":"lower-roman"},'ol[type="1"]':{"list-style-type":"decimal"},ul:{"list-style-type":"disc"},"ol > li::marker":{"font-weight":"400",color:"var(--un-prose-counters)"},"ul > li::marker":{color:"var(--un-prose-bullets)"},dt:{color:"var(--un-prose-headings)","font-weight":"600"},hr:{"border-color":"var(--un-prose-hr)","border-top-width":"1px"},blockquote:{"font-weight":"500","font-style":"italic",color:"var(--un-prose-quotes)","border-inline-start-width":"0.25rem","border-inline-start-color":"var(--un-prose-quote-borders)",quotes:'"\\201C""\\201D""\\2018""\\2019"'},"blockquote p:first-of-type::before":{content:"open-quote"},"blockquote p:last-of-type::after":{content:"close-quote"},h1:{color:"var(--un-prose-headings)","font-weight":"800"},"h1 strong":{"font-weight":"900",color:"inherit"},h2:{color:"var(--un-prose-headings)","font-weight":"700"},"h2 strong":{"font-weight":"800",color:"inherit"},h3:{color:"var(--un-prose-headings)","font-weight":"600"},"h3 strong":{"font-weight":"700",color:"inherit"},h4:{color:"var(--un-prose-headings)","font-weight":"600"},"h4 strong":{"font-weight":"700",color:"inherit"},img:{},picture:{display:"block"},video:{},kbd:{"font-weight":"500","font-family":"inherit",color:"var(--un-prose-kbd)","box-shadow":"0 0 0 1px rgb(var(--un-prose-kbd-shadows) / 10%), 0 3px 0 rgb(var(--un-prose-kbd-shadows) / 10%)"},code:{color:"var(--un-prose-code)","font-weight":"600"},"code::before":{content:'"`"'},"code::after":{content:'"`"'},"a code":{color:"inherit"},"h1 code":{color:"inherit"},"h2 code":{color:"inherit"},"h3 code":{color:"inherit"},"h4 code":{color:"inherit"},"blockquote code":{color:"inherit"},"thead th code":{color:"inherit"},pre:{color:"var(--un-prose-pre-code)","background-color":"var(--un-prose-pre-bg)","overflow-x":"auto","font-weight":"400"},"pre code":{"background-color":"transparent","border-width":"0","border-radius":"0",padding:"0","font-weight":"inherit",color:"inherit","font-size":"inherit","font-family":"inherit","line-height":"inherit"},"pre code::before":{content:"none"},"pre code::after":{content:"none"},table:{width:"100%","table-layout":"auto","margin-top":g(32,16),"margin-bottom":g(32,16)},thead:{"border-bottom-width":"1px","border-bottom-color":"var(--un-prose-th-borders)"},"thead th":{color:"var(--un-prose-headings)","font-weight":"600","vertical-align":"bottom"},"tbody tr":{"border-bottom-width":"1px","border-bottom-color":"var(--un-prose-td-borders)"},"tbody tr:last-child":{"border-bottom-width":"0"},"tbody td":{"vertical-align":"baseline"},tfoot:{"border-top-width":"1px","border-top-color":"var(--un-prose-th-borders)"},"tfoot td":{"vertical-align":"top"},"th, td":{"text-align":"start"},"figure > *":{},figcaption:{color:"var(--un-prose-captions)"}},ei={sm:{"font-size":ue(14),"line-height":P(24/14),p:{"margin-top":g(16,14),"margin-bottom":g(16,14)},'[class~="lead"]':{"font-size":g(18,14),"line-height":P(28/18),"margin-top":g(16,18),"margin-bottom":g(16,18)},blockquote:{"margin-top":g(24,18),"margin-bottom":g(24,18),"padding-inline-start":g(20,18)},h1:{"font-size":g(30,14),"margin-top":"0","margin-bottom":g(24,30),"line-height":P(36/30)},h2:{"font-size":g(20,14),"margin-top":g(32,20),"margin-bottom":g(16,20),"line-height":P(28/20)},h3:{"font-size":g(18,14),"margin-top":g(28,18),"margin-bottom":g(8,18),"line-height":P(28/18)},h4:{"margin-top":g(20,14),"margin-bottom":g(8,14),"line-height":P(20/14)},img:{"margin-top":g(24,14),"margin-bottom":g(24,14)},picture:{"margin-top":g(24,14),"margin-bottom":g(24,14)},"picture > img":{"margin-top":"0","margin-bottom":"0"},video:{"margin-top":g(24,14),"margin-bottom":g(24,14)},kbd:{"font-size":g(12,14),"border-radius":ue(5),"padding-top":g(2,14),"padding-inline-end":g(5,14),"padding-bottom":g(2,14),"padding-inline-start":g(5,14)},code:{"font-size":g(12,14)},"h2 code":{"font-size":g(18,20)},"h3 code":{"font-size":g(16,18)},pre:{"font-size":g(12,14),"line-height":P(20/12),"margin-top":g(20,12),"margin-bottom":g(20,12),"border-radius":ue(4),"padding-top":g(8,12),"padding-inline-end":g(12,12),"padding-bottom":g(8,12),"padding-inline-start":g(12,12)},ol:{"margin-top":g(16,14),"margin-bottom":g(16,14),"padding-inline-start":g(22,14)},ul:{"margin-top":g(16,14),"margin-bottom":g(16,14),"padding-inline-start":g(22,14)},li:{"margin-top":g(4,14),"margin-bottom":g(4,14)},"ol > li":{"padding-inline-start":g(6,14)},"ul > li":{"padding-inline-start":g(6,14)},"> ul > li p":{"margin-top":g(8,14),"margin-bottom":g(8,14)},"> ul > li > p:first-child":{"margin-top":g(16,14)},"> ul > li > p:last-child":{"margin-bottom":g(16,14)},"> ol > li > p:first-child":{"margin-top":g(16,14)},"> ol > li > p:last-child":{"margin-bottom":g(16,14)},"ul ul, ul ol, ol ul, ol ol":{"margin-top":g(8,14),"margin-bottom":g(8,14)},dl:{"margin-top":g(16,14),"margin-bottom":g(16,14)},dt:{"margin-top":g(16,14)},dd:{"margin-top":g(4,14),"padding-inline-start":g(22,14)},hr:{"margin-top":g(40,14),"margin-bottom":g(40,14)},"hr + *":{"margin-top":"0"},"h2 + *":{"margin-top":"0"},"h3 + *":{"margin-top":"0"},"h4 + *":{"margin-top":"0"},table:{"font-size":g(12,14),"line-height":P(18/12)},"thead th":{"padding-inline-end":g(12,12),"padding-bottom":g(8,12),"padding-inline-start":g(12,12)},"thead th:first-child":{"padding-inline-start":"0"},"thead th:last-child":{"padding-inline-end":"0"},"tbody td, tfoot td":{"padding-top":g(8,12),"padding-inline-end":g(12,12),"padding-bottom":g(8,12),"padding-inline-start":g(12,12)},"tbody td:first-child, tfoot td:first-child":{"padding-inline-start":"0"},"tbody td:last-child, tfoot td:last-child":{"padding-inline-end":"0"},figure:{"margin-top":g(24,14),"margin-bottom":g(24,14)},"figure > *":{"margin-top":"0","margin-bottom":"0"},figcaption:{"font-size":g(12,14),"line-height":P(16/12),"margin-top":g(8,12)},"> :first-child":{"margin-top":"0"},"> :last-child":{"margin-bottom":"0"}},base:{"font-size":ue(16),"line-height":P(28/16),p:{"margin-top":g(20,16),"margin-bottom":g(20,16)},'[class~="lead"]':{"font-size":g(20,16),"line-height":P(32/20),"margin-top":g(24,20),"margin-bottom":g(24,20)},blockquote:{"margin-top":g(32,20),"margin-bottom":g(32,20),"padding-inline-start":g(20,20)},h1:{"font-size":g(36,16),"margin-top":"0","margin-bottom":g(32,36),"line-height":P(40/36)},h2:{"font-size":g(24,16),"margin-top":g(48,24),"margin-bottom":g(24,24),"line-height":P(32/24)},h3:{"font-size":g(20,16),"margin-top":g(32,20),"margin-bottom":g(12,20),"line-height":P(32/20)},h4:{"margin-top":g(24,16),"margin-bottom":g(8,16),"line-height":P(24/16)},img:{"margin-top":g(32,16),"margin-bottom":g(32,16)},picture:{"margin-top":g(32,16),"margin-bottom":g(32,16)},"picture > img":{"margin-top":"0","margin-bottom":"0"},video:{"margin-top":g(32,16),"margin-bottom":g(32,16)},kbd:{"font-size":g(14,16),"border-radius":ue(5),"padding-top":g(3,16),"padding-inline-end":g(6,16),"padding-bottom":g(3,16),"padding-inline-start":g(6,16)},code:{"font-size":g(14,16)},"h2 code":{"font-size":g(21,24)},"h3 code":{"font-size":g(18,20)},pre:{"font-size":g(14,16),"line-height":P(24/14),"margin-top":g(24,14),"margin-bottom":g(24,14),"border-radius":ue(6),"padding-top":g(12,14),"padding-inline-end":g(16,14),"padding-bottom":g(12,14),"padding-inline-start":g(16,14)},ol:{"margin-top":g(20,16),"margin-bottom":g(20,16),"padding-inline-start":g(26,16)},ul:{"margin-top":g(20,16),"margin-bottom":g(20,16),"padding-inline-start":g(26,16)},li:{"margin-top":g(8,16),"margin-bottom":g(8,16)},"ol > li":{"padding-inline-start":g(6,16)},"ul > li":{"padding-inline-start":g(6,16)},"> ul > li p":{"margin-top":g(12,16),"margin-bottom":g(12,16)},"> ul > li > p:first-child":{"margin-top":g(20,16)},"> ul > li > p:last-child":{"margin-bottom":g(20,16)},"> ol > li > p:first-child":{"margin-top":g(20,16)},"> ol > li > p:last-child":{"margin-bottom":g(20,16)},"ul ul, ul ol, ol ul, ol ol":{"margin-top":g(12,16),"margin-bottom":g(12,16)},dl:{"margin-top":g(20,16),"margin-bottom":g(20,16)},dt:{"margin-top":g(20,16)},dd:{"margin-top":g(8,16),"padding-inline-start":g(26,16)},hr:{"margin-top":g(48,16),"margin-bottom":g(48,16)},"hr + *":{"margin-top":"0"},"h2 + *":{"margin-top":"0"},"h3 + *":{"margin-top":"0"},"h4 + *":{"margin-top":"0"},table:{"font-size":g(14,16),"line-height":P(24/14)},"thead th":{"padding-inline-end":g(8,14),"padding-bottom":g(8,14),"padding-inline-start":g(8,14)},"thead th:first-child":{"padding-inline-start":"0"},"thead th:last-child":{"padding-inline-end":"0"},"tbody td, tfoot td":{"padding-top":g(8,14),"padding-inline-end":g(8,14),"padding-bottom":g(8,14),"padding-inline-start":g(8,14)},"tbody td:first-child, tfoot td:first-child":{"padding-inline-start":"0"},"tbody td:last-child, tfoot td:last-child":{"padding-inline-end":"0"},figure:{"margin-top":g(32,16),"margin-bottom":g(32,16)},"figure > *":{"margin-top":"0","margin-bottom":"0"},figcaption:{"font-size":g(14,16),"line-height":P(20/14),"margin-top":g(12,14)},"> :first-child":{"margin-top":"0"},"> :last-child":{"margin-bottom":"0"}},lg:{"font-size":ue(18),"line-height":P(32/18),p:{"margin-top":g(24,18),"margin-bottom":g(24,18)},'[class~="lead"]':{"font-size":g(22,18),"line-height":P(32/22),"margin-top":g(24,22),"margin-bottom":g(24,22)},blockquote:{"margin-top":g(40,24),"margin-bottom":g(40,24),"padding-inline-start":g(24,24)},h1:{"font-size":g(48,18),"margin-top":"0","margin-bottom":g(40,48),"line-height":P(48/48)},h2:{"font-size":g(30,18),"margin-top":g(56,30),"margin-bottom":g(32,30),"line-height":P(40/30)},h3:{"font-size":g(24,18),"margin-top":g(40,24),"margin-bottom":g(16,24),"line-height":P(36/24)},h4:{"margin-top":g(32,18),"margin-bottom":g(8,18),"line-height":P(28/18)},img:{"margin-top":g(32,18),"margin-bottom":g(32,18)},picture:{"margin-top":g(32,18),"margin-bottom":g(32,18)},"picture > img":{"margin-top":"0","margin-bottom":"0"},video:{"margin-top":g(32,18),"margin-bottom":g(32,18)},kbd:{"font-size":g(16,18),"border-radius":ue(5),"padding-top":g(4,18),"padding-inline-end":g(8,18),"padding-bottom":g(4,18),"padding-inline-start":g(8,18)},code:{"font-size":g(16,18)},"h2 code":{"font-size":g(26,30)},"h3 code":{"font-size":g(21,24)},pre:{"font-size":g(16,18),"line-height":P(28/16),"margin-top":g(32,16),"margin-bottom":g(32,16),"border-radius":ue(6),"padding-top":g(16,16),"padding-inline-end":g(24,16),"padding-bottom":g(16,16),"padding-inline-start":g(24,16)},ol:{"margin-top":g(24,18),"margin-bottom":g(24,18),"padding-inline-start":g(28,18)},ul:{"margin-top":g(24,18),"margin-bottom":g(24,18),"padding-inline-start":g(28,18)},li:{"margin-top":g(12,18),"margin-bottom":g(12,18)},"ol > li":{"padding-inline-start":g(8,18)},"ul > li":{"padding-inline-start":g(8,18)},"> ul > li p":{"margin-top":g(16,18),"margin-bottom":g(16,18)},"> ul > li > p:first-child":{"margin-top":g(24,18)},"> ul > li > p:last-child":{"margin-bottom":g(24,18)},"> ol > li > p:first-child":{"margin-top":g(24,18)},"> ol > li > p:last-child":{"margin-bottom":g(24,18)},"ul ul, ul ol, ol ul, ol ol":{"margin-top":g(16,18),"margin-bottom":g(16,18)},dl:{"margin-top":g(24,18),"margin-bottom":g(24,18)},dt:{"margin-top":g(24,18)},dd:{"margin-top":g(12,18),"padding-inline-start":g(28,18)},hr:{"margin-top":g(56,18),"margin-bottom":g(56,18)},"hr + *":{"margin-top":"0"},"h2 + *":{"margin-top":"0"},"h3 + *":{"margin-top":"0"},"h4 + *":{"margin-top":"0"},table:{"font-size":g(16,18),"line-height":P(24/16)},"thead th":{"padding-inline-end":g(12,16),"padding-bottom":g(12,16),"padding-inline-start":g(12,16)},"thead th:first-child":{"padding-inline-start":"0"},"thead th:last-child":{"padding-inline-end":"0"},"tbody td, tfoot td":{"padding-top":g(12,16),"padding-inline-end":g(12,16),"padding-bottom":g(12,16),"padding-inline-start":g(12,16)},"tbody td:first-child, tfoot td:first-child":{"padding-inline-start":"0"},"tbody td:last-child, tfoot td:last-child":{"padding-inline-end":"0"},figure:{"margin-top":g(32,18),"margin-bottom":g(32,18)},"figure > *":{"margin-top":"0","margin-bottom":"0"},figcaption:{"font-size":g(16,18),"line-height":P(24/16),"margin-top":g(16,16)},"> :first-child":{"margin-top":"0"},"> :last-child":{"margin-bottom":"0"}},xl:{"font-size":ue(20),"line-height":P(36/20),p:{"margin-top":g(24,20),"margin-bottom":g(24,20)},'[class~="lead"]':{"font-size":g(24,20),"line-height":P(36/24),"margin-top":g(24,24),"margin-bottom":g(24,24)},blockquote:{"margin-top":g(48,30),"margin-bottom":g(48,30),"padding-inline-start":g(32,30)},h1:{"font-size":g(56,20),"margin-top":"0","margin-bottom":g(48,56),"line-height":P(56/56)},h2:{"font-size":g(36,20),"margin-top":g(56,36),"margin-bottom":g(32,36),"line-height":P(40/36)},h3:{"font-size":g(30,20),"margin-top":g(48,30),"margin-bottom":g(20,30),"line-height":P(40/30)},h4:{"margin-top":g(36,20),"margin-bottom":g(12,20),"line-height":P(32/20)},img:{"margin-top":g(40,20),"margin-bottom":g(40,20)},picture:{"margin-top":g(40,20),"margin-bottom":g(40,20)},"picture > img":{"margin-top":"0","margin-bottom":"0"},video:{"margin-top":g(40,20),"margin-bottom":g(40,20)},kbd:{"font-size":g(18,20),"border-radius":ue(5),"padding-top":g(5,20),"padding-inline-end":g(8,20),"padding-bottom":g(5,20),"padding-inline-start":g(8,20)},code:{"font-size":g(18,20)},"h2 code":{"font-size":g(31,36)},"h3 code":{"font-size":g(27,30)},pre:{"font-size":g(18,20),"line-height":P(32/18),"margin-top":g(36,18),"margin-bottom":g(36,18),"border-radius":ue(8),"padding-top":g(20,18),"padding-inline-end":g(24,18),"padding-bottom":g(20,18),"padding-inline-start":g(24,18)},ol:{"margin-top":g(24,20),"margin-bottom":g(24,20),"padding-inline-start":g(32,20)},ul:{"margin-top":g(24,20),"margin-bottom":g(24,20),"padding-inline-start":g(32,20)},li:{"margin-top":g(12,20),"margin-bottom":g(12,20)},"ol > li":{"padding-inline-start":g(8,20)},"ul > li":{"padding-inline-start":g(8,20)},"> ul > li p":{"margin-top":g(16,20),"margin-bottom":g(16,20)},"> ul > li > p:first-child":{"margin-top":g(24,20)},"> ul > li > p:last-child":{"margin-bottom":g(24,20)},"> ol > li > p:first-child":{"margin-top":g(24,20)},"> ol > li > p:last-child":{"margin-bottom":g(24,20)},"ul ul, ul ol, ol ul, ol ol":{"margin-top":g(16,20),"margin-bottom":g(16,20)},dl:{"margin-top":g(24,20),"margin-bottom":g(24,20)},dt:{"margin-top":g(24,20)},dd:{"margin-top":g(12,20),"padding-inline-start":g(32,20)},hr:{"margin-top":g(56,20),"margin-bottom":g(56,20)},"hr + *":{"margin-top":"0"},"h2 + *":{"margin-top":"0"},"h3 + *":{"margin-top":"0"},"h4 + *":{"margin-top":"0"},table:{"font-size":g(18,20),"line-height":P(28/18)},"thead th":{"padding-inline-end":g(12,18),"padding-bottom":g(16,18),"padding-inline-start":g(12,18)},"thead th:first-child":{"padding-inline-start":"0"},"thead th:last-child":{"padding-inline-end":"0"},"tbody td, tfoot td":{"padding-top":g(16,18),"padding-inline-end":g(12,18),"padding-bottom":g(16,18),"padding-inline-start":g(12,18)},"tbody td:first-child, tfoot td:first-child":{"padding-inline-start":"0"},"tbody td:last-child, tfoot td:last-child":{"padding-inline-end":"0"},figure:{"margin-top":g(40,20),"margin-bottom":g(40,20)},"figure > *":{"margin-top":"0","margin-bottom":"0"},figcaption:{"font-size":g(18,20),"line-height":P(28/18),"margin-top":g(18,18)},"> :first-child":{"margin-top":"0"},"> :last-child":{"margin-bottom":"0"}},"2xl":{"font-size":ue(24),"line-height":P(40/24),p:{"margin-top":g(32,24),"margin-bottom":g(32,24)},'[class~="lead"]':{"font-size":g(30,24),"line-height":P(44/30),"margin-top":g(32,30),"margin-bottom":g(32,30)},blockquote:{"margin-top":g(64,36),"margin-bottom":g(64,36),"padding-inline-start":g(40,36)},h1:{"font-size":g(64,24),"margin-top":"0","margin-bottom":g(56,64),"line-height":P(64/64)},h2:{"font-size":g(48,24),"margin-top":g(72,48),"margin-bottom":g(40,48),"line-height":P(52/48)},h3:{"font-size":g(36,24),"margin-top":g(56,36),"margin-bottom":g(24,36),"line-height":P(44/36)},h4:{"margin-top":g(40,24),"margin-bottom":g(16,24),"line-height":P(36/24)},img:{"margin-top":g(48,24),"margin-bottom":g(48,24)},picture:{"margin-top":g(48,24),"margin-bottom":g(48,24)},"picture > img":{"margin-top":"0","margin-bottom":"0"},video:{"margin-top":g(48,24),"margin-bottom":g(48,24)},kbd:{"font-size":g(20,24),"border-radius":ue(6),"padding-top":g(6,24),"padding-inline-end":g(8,24),"padding-bottom":g(6,24),"padding-inline-start":g(8,24)},code:{"font-size":g(20,24)},"h2 code":{"font-size":g(42,48)},"h3 code":{"font-size":g(32,36)},pre:{"font-size":g(20,24),"line-height":P(36/20),"margin-top":g(40,20),"margin-bottom":g(40,20),"border-radius":ue(8),"padding-top":g(24,20),"padding-inline-end":g(32,20),"padding-bottom":g(24,20),"padding-inline-start":g(32,20)},ol:{"margin-top":g(32,24),"margin-bottom":g(32,24),"padding-inline-start":g(38,24)},ul:{"margin-top":g(32,24),"margin-bottom":g(32,24),"padding-inline-start":g(38,24)},li:{"margin-top":g(12,24),"margin-bottom":g(12,24)},"ol > li":{"padding-inline-start":g(10,24)},"ul > li":{"padding-inline-start":g(10,24)},"> ul > li p":{"margin-top":g(20,24),"margin-bottom":g(20,24)},"> ul > li > p:first-child":{"margin-top":g(32,24)},"> ul > li > p:last-child":{"margin-bottom":g(32,24)},"> ol > li > p:first-child":{"margin-top":g(32,24)},"> ol > li > p:last-child":{"margin-bottom":g(32,24)},"ul ul, ul ol, ol ul, ol ol":{"margin-top":g(16,24),"margin-bottom":g(16,24)},dl:{"margin-top":g(32,24),"margin-bottom":g(32,24)},dt:{"margin-top":g(32,24)},dd:{"margin-top":g(12,24),"padding-inline-start":g(38,24)},hr:{"margin-top":g(72,24),"margin-bottom":g(72,24)},"hr + *":{"margin-top":"0"},"h2 + *":{"margin-top":"0"},"h3 + *":{"margin-top":"0"},"h4 + *":{"margin-top":"0"},table:{"font-size":g(20,24),"line-height":P(28/20)},"thead th":{"padding-inline-end":g(12,20),"padding-bottom":g(16,20),"padding-inline-start":g(12,20)},"thead th:first-child":{"padding-inline-start":"0"},"thead th:last-child":{"padding-inline-end":"0"},"tbody td, tfoot td":{"padding-top":g(16,20),"padding-inline-end":g(12,20),"padding-bottom":g(16,20),"padding-inline-start":g(12,20)},"tbody td:first-child, tfoot td:first-child":{"padding-inline-start":"0"},"tbody td:last-child, tfoot td:last-child":{"padding-inline-end":"0"},figure:{"margin-top":g(48,24),"margin-bottom":g(48,24)},"figure > *":{"margin-top":"0","margin-bottom":"0"},figcaption:{"font-size":g(20,24),"line-height":P(32/20),"margin-top":g(20,20)},"> :first-child":{"margin-top":"0"},"> :last-child":{"margin-bottom":"0"}}};function kh(t){let e=ir(yh);if(t)for(let r in t){let[n,i]=J(t[r]),[a,s]=e[r];e[r]=[n??a,i??s]}return e}function xh(t){return t?sr(ei,t):ei}function ja(t,e){let r=e.selectorName||"prose",n=`:not(:where([class~="not-${r}"],[class~="not-${r}"] *))`,i=e.important===!0,a="";for(let[s,o]of Object.entries(t))if(typeof o!="object")a+=`${s}:${o}${i?" !important":""};`;else{let[u,c]=s.split("::"),d=`:where(${u})${n}${c?`::${c}`:""}`;a+=`${d} {`;for(let[h,p]of Object.entries(o))a+=`${h}:${p}${i?" !important":""};`;a+="}"}return a}function wh(t){for(let[e,...r]of Hs)if(e===t)return r.length>0?r:[e]}var $h=t=>{let e=t?.selectorName??"prose",r=t?.compatibility?.noColonNot||t?.compatibility?.noColonWhere,n=t?.cssVarPrefix??"--un-prose",i=kh(t?.colorScheme),a=xh(t?.sizeScheme),s=(h,p)=>{let l=sr(h,(typeof t?.cssExtend=="function"?t?.cssExtend(p):t?.cssExtend)??{});for(let m in l){let f=l[m];(f==null||typeof f=="object"&&Object.keys(f).length===0)&&delete l[m]}return l},o=h=>(typeof t?.important=="string"&&(h=`${t.important} ${h}`),t?.compatibility?.noColonIs||(h=`:is(${h})`),h),u=new RegExp(`^${e}-default$`),c=new RegExp(`^${e}-([-\\w]+)$`),d=new RegExp(`^${e}-(${Object.keys(a).join("|")})$`);return{name:"@unocss/preset-typography",enforce:"post",layers:{typography:-20},shortcuts:[[e,[`${e}-default`,`${e}-gray`],{layer:"typography"}]],rules:[[u,(h,{symbols:p,theme:l})=>{let m=ja(s(sr(vh,ei.base),l),t??{});return{[p.body]:m,[p.selector]:o}},{layer:"typography",autocomplete:"prose",internal:!0}],[c,([,h],{theme:p,symbols:l})=>{let m=p.colors?.[h];if(!(!m||typeof m!="object"))return["red","orange","amber","yellow","lime","green","emerald","teal","cyan","sky","blue","indigo","violet","purple","fuchsia","pink","rose"].includes(h)?{[`${n}-links`]:m[600],[`${n}-invert-links`]:m[500],[l.selector]:o}:Object.entries(i).reduce((f,[b,v])=>{let[y,w]=v,k=C=>m[C]??p[C]??C,$=k(y),x=k(w),S=`${n}-${b}`,_=`${n}-invert-${b}`;f[S]=ur($,`var(${S}-opacity)`),f[_]=ur(x,`var(${_}-opacity)`);for(let[C,A]of[[$,`${S}-opacity`],[x,`${_}-opacity`]])Is.some(F=>C.includes(F))&&(f[A]="1");return f},{[l.selector]:o})},{layer:"typography",autocomplete:`${e}-$colors`}],[d,([,h],{symbols:p,theme:l})=>{let m=ja(s(a[h],l),t??{});return{[p.body]:m,[p.selector]:o}},{layer:"typography",autocomplete:`${e}-(${Object.keys(a).join("|")})`}],[`${e}-invert`,[{[`${n}-body`]:`var(${n}-invert-body)`,[`${n}-headings`]:`var(${n}-invert-headings)`,[`${n}-lead`]:`var(${n}-invert-lead)`,[`${n}-links`]:`var(${n}-invert-links)`,[`${n}-bold`]:`var(${n}-invert-bold)`,[`${n}-counters`]:`var(${n}-invert-counters)`,[`${n}-bullets`]:`var(${n}-invert-bullets)`,[`${n}-hr`]:`var(${n}-invert-hr)`,[`${n}-quotes`]:`var(${n}-invert-quotes)`,[`${n}-quote-borders`]:`var(${n}-invert-quote-borders)`,[`${n}-captions`]:`var(${n}-invert-captions)`,[`${n}-kbd`]:`var(${n}-invert-kbd)`,[`${n}-kbd-shadows`]:`var(${n}-invert-kbd-shadows)`,[`${n}-code`]:`var(${n}-invert-code)`,[`${n}-pre-code`]:`var(${n}-invert-pre-code)`,[`${n}-pre-bg`]:`var(${n}-invert-pre-bg)`,[`${n}-th-borders`]:`var(${n}-invert-th-borders)`,[`${n}-td-borders`]:`var(${n}-invert-td-borders)`,[re.selector]:o}],{layer:"typography"}]],variants:[{name:"typography element modifiers",match:h=>{if(h.startsWith(`${e}-`)){let p=new RegExp(`^${e}-(\\w+)[:-].+$`),l=h.match(p)?.[1];if(l){let m=wh(l);if(m?.length)return{matcher:h.slice(e.length+l.length+2),selector:f=>{let b=`:not(:where([class~="not-${e}"],[class~="not-${e}"] *))`;return r?m.map(v=>`${f} ${v}`).join(","):`${f} :is(:where(${m})${b})`}}}}},autocomplete:`${e}-(${Hs.map(h=>`${h[0]}:`).join("|")})`}]}};function Eh({important:t}){if(t==null||t===!1)return[];let e=r=>r.startsWith(":is(")&&r.endsWith(")")?r:r.includes("::")?r.replace(/(.*?)((?:\s\*)?::.*)/,":is($1)$2"):`:is(${r})`;return[r=>{r.layer!=="properties"&&(t===!0?r.entries.forEach(n=>{n[1]!=null&&!String(n[1]).endsWith("!important")&&(n[1]+=" !important")}):r.selector.startsWith(t)||(r.selector=`${t} ${e(r.selector)}`))}]}function Sh({variablePrefix:t}){return t!=="un-"?[e=>{e.layer==="properties"&&(e.selector=e.selector.replace(/^@property --un-/,`@property --${t}`)),e.entries.forEach(r=>{r[0]=r[0].replace(/^--un-/,`--${t}`),typeof r[1]=="string"&&(r[1]=r[1].replace(/var\(--un-/g,`var(--${t}`))})}]:[]}function _h(t){return[Eh,Sh].flatMap(e=>e(t))}var Ia=Object.defineProperty,Ah=(t,e)=>{let r={};for(var n in t)Ia(r,n,{get:t[n],enumerable:!0});return e||Ia(r,Symbol.toStringTag,{value:"Module"}),r},Ch="@unocss/preset-wind4",Dh="$$mini-no-negative",an={transparent:"transparent",current:"currentColor",inherit:"inherit"},Le={l:["-left"],r:["-right"],t:["-top"],b:["-bottom"],s:["-inline-start"],e:["-inline-end"],x:["-inline"],y:["-block"],"":[""],bs:["-block-start"],be:["-block-end"],is:["-inline-start"],ie:["-inline-end"],block:["-block-start","-block-end"],inline:["-inline-start","-inline-end"]},Ra={...Le,x:["-inset-inline"],y:["-inset-block"],s:["-inset-inline-start"],start:["-inset-inline-start"],e:["-inset-inline-end"],end:["-inset-inline-end"],bs:["-inset-block-start"],be:["-inset-block-end"],is:["-inset-inline-start"],ie:["-inset-inline-end"],block:["-inset-block-start","-inset-block-end"],inline:["-inset-inline-start","-inset-inline-end"]},Pr={l:["-top-left","-bottom-left"],r:["-top-right","-bottom-right"],t:["-top-left","-top-right"],b:["-bottom-left","-bottom-right"],tl:["-top-left"],lt:["-top-left"],tr:["-top-right"],rt:["-top-right"],bl:["-bottom-left"],lb:["-bottom-left"],br:["-bottom-right"],rb:["-bottom-right"],"":[""],bs:["-start-start","-start-end"],be:["-end-start","-end-end"],s:["-end-start","-start-start"],is:["-end-start","-start-start"],e:["-start-end","-end-end"],ie:["-start-end","-end-end"],ss:["-start-start"],"bs-is":["-start-start"],"is-bs":["-start-start"],se:["-start-end"],"bs-ie":["-start-end"],"ie-bs":["-start-end"],es:["-end-start"],"be-is":["-end-start"],"is-be":["-end-start"],ee:["-end-end"],"be-ie":["-end-end"],"ie-be":["-end-end"]},Zs={x:["-x"],y:["-y"],z:["-z"],"":["-x","-y"]},Oh=["x","y","z"],Va=["top","top center","top left","top right","bottom","bottom center","bottom left","bottom right","left","left center","left top","left bottom","right","right center","right top","right bottom","center","center top","center bottom","center left","center right","center center"],ce=Object.assign({},...Va.map(t=>({[t.replace(/ /,"-")]:t})),...Va.map(t=>({[t.replace(/\b(\w)\w+/g,"$1").replace(/ /,"")]:t}))),ee=["inherit","initial","revert","revert-layer","unset"],$i=/^(calc|clamp|min|max)\s*\((.+)\)(.*)/,Bh=/^(var)\s*\((.+)\)(.*)/,on=/^(-?\d*(?:\.\d+)?)(px|pt|pc|%|r?(?:em|ex|lh|cap|ch|ic)|(?:[sld]?v|cq)(?:[whib]|min|max)|in|cm|mm|rpx)?$/i,Fh=/^(-?\d*(?:\.\d+)?)$/,Gs=/^(px|[sld]?v[wh])$/i,Ys={px:1,vw:100,vh:100,svw:100,svh:100,dvw:100,dvh:100,lvh:100,lvw:100},Ei=/^\[(color|image|length|size|position|quoted|string|number|family):/i,Mh=/,(?![^()]*\))/g,Nh=Ah({auto:()=>zh,bracket:()=>Vh,bracketOfColor:()=>qh,bracketOfFamily:()=>Hh,bracketOfLength:()=>Uh,bracketOfNumber:()=>Zh,bracketOfPosition:()=>Wh,cssvar:()=>Gh,degree:()=>Jh,fraction:()=>Rh,global:()=>Kh,none:()=>ep,number:()=>Js,numberWithUnit:()=>Ph,percent:()=>Ih,position:()=>Qh,properties:()=>Xh,px:()=>jh,rem:()=>Th,time:()=>Yh}),Lh=["color","border-color","background-color","outline-color","text-decoration-color","flex-grow","flex","flex-shrink","grid","grid-template-columns","grid-template-rows","caret-color","font","gap","opacity","visibility","z-index","font-weight","zoom","text-shadow","transform","box-shadow","border","background-position","left","right","top","bottom","object-position","max-height","min-height","max-width","min-width","height","width","border-width","margin","padding","outline-width","outline-offset","font-size","line-height","text-indent","vertical-align","border-spacing","letter-spacing","word-spacing","stroke","filter","backdrop-filter","fill","mask","mask-size","mask-border","clip-path","clip","border-radius"];function Pe(t){return+t.toFixed(10)}function Ph(t){let e=t.match(on);if(!e)return;let[,r,n]=e,i=Number.parseFloat(r);if(n&&!Number.isNaN(i))return`${Pe(i)}${n}`}function zh(t){if(t==="auto"||t==="a")return"auto"}function Th(t){if(!t)return;if(Gs.test(t))return`${Ys[t]}${t}`;let e=t.match(on);if(!e)return;let[,r,n]=e,i=Number.parseFloat(r);if(!Number.isNaN(i))return i===0?"0":n?`${Pe(i)}${n}`:`${Pe(i/4)}rem`}function jh(t){if(Gs.test(t))return`${Ys[t]}${t}`;let e=t.match(on);if(!e)return;let[,r,n]=e,i=Number.parseFloat(r);if(!Number.isNaN(i))return n?`${Pe(i)}${n}`:`${Pe(i)}px`}function Js(t){if(!Fh.test(t))return;let e=Number.parseFloat(t);if(!Number.isNaN(e))return Pe(e)}function Ih(t){t.endsWith("%")&&(t=t.slice(0,-1));let e=Js(t);if(e!=null)return`${e}%`}function Rh(t){if(!t)return;if(t==="full")return"100%";let[e,r]=t.split("/"),n=Number.parseFloat(e)/Number.parseFloat(r);if(!Number.isNaN(n))return n===0?"0":`${Pe(n*100)}%`}function qa(t,e,r,n){let i=lr(n,e,r),a=typeof i=="object"&&"DEFAULT"in i;a&&r.push("DEFAULT");let s=a?i.DEFAULT:i,o=a&&e!=="spacing"?`${t}.DEFAULT`:t;return s!=null&&T(e,r.length?r:void 0),{val:s,varKey:o}}function dt(t,e,r){if(t&&t.startsWith("[")&&t.endsWith("]")){let n,i,a=t.match(Ei);if(!a)n=t.slice(1,-1);else{if(!e)i=a[1];else if(a[1]!==e)return;n=t.slice(a[0].length,-1)}if(!n||n==='=""')return;if(n.startsWith("--")){let o=n.match(/^--([\w.-]+)\(([^)]+)\)$/);if(o!=null&&r){let[,u,c]=o,[d,...h]=u.split("."),{val:p,varKey:l}=qa(u,d,h,r);p!=null&&(n=`calc(var(--${we(l.replaceAll(".","-"))}) * ${c})`)}else{let[u,c]=n.slice(2).split(","),d=c?`, ${c}`:"",h=we(u);if(r){let[p,...l]=u.split("."),{val:m,varKey:f}=qa(u,p,l,r);n=m!=null?`var(--${we(f.replaceAll(".","-"))}${d})`:`var(--${h}${d})`}else n=`var(--${h}${d})`}}let s=0;for(let o of n)if(o==="[")s+=1;else if(o==="]"&&(s-=1,s<0))return;if(s)return;switch(i){case"string":return n.replace(/(^|[^\\])_/g,"$1 ").replace(/\\_/g,"_");case"quoted":return n.replace(/(^|[^\\])_/g,"$1 ").replace(/\\_/g,"_").replace(/(["\\])/g,"\\$1").replace(/^(.+)$/,'"$1"')}return n.replace(/(url\(.*?\))/g,o=>o.replace(/_/g,"\\_")).replace(/(^|[^\\])_/g,"$1 ").replace(/\\_/g,"_").replace(/(?:calc|clamp|max|min)\((.*)/g,o=>{let u=[];return o.replace(/var\((--.+?)[,)]/g,(c,d)=>(u.push(d),c.replace(d,"--un-calc"))).replace(/(-?\d*\.?\d(?!-\d.+[,)](?![^+\-/*])\D)(?:%|[a-z]+)?|\))([+\-/*])/g,"$1 $2 ").replace(/--un-calc/g,()=>u.shift())})}}function Vh(t,e){return dt(t,void 0,e)}function qh(t,e){return dt(t,"color",e)}function Uh(t,e){return dt(t,"length",e)||dt(t,"size",e)}function Wh(t,e){return dt(t,"position",e)}function Hh(t,e){return dt(t,"family",e)}function Zh(t,e){return dt(t,"number",e)}function Gh(t){if(t.startsWith("var("))return t;let e=t.match(/^(?:\$|--)([^\s'"`;{}]+)$/);if(e){let[r,n]=e[1].split(",");return`var(--${we(r)}${n?`, ${n}`:""})`}}function Yh(t){let e=t.match(/^(-?[0-9.]+)(s|ms)?$/i);if(!e)return;let[,r,n]=e,i=Number.parseFloat(r);if(!Number.isNaN(i))return i===0&&!n?"0s":n?`${Pe(i)}${n}`:`${Pe(i)}ms`}function Jh(t){let e=t.match(/^(-?[0-9.]+)(deg|rad|grad|turn)?$/i);if(!e)return;let[,r,n]=e,i=Number.parseFloat(r);if(!Number.isNaN(i))return i===0?"0deg":n?`${Pe(i)}${n}`:`${Pe(i)}deg`}function Kh(t){if(ee.includes(t))return t}function Xh(t){if(t.split(",").every(e=>Lh.includes(e)))return t}function Qh(t){if(["top","left","right","bottom","center"].includes(t))return t}function ep(t){if(t==="none")return"none"}var tp=Qd(Nh),E=tp;function $e(t,e){let r=E.number(t)??e;if(r!=null){let n=Number(r);return String(r).endsWith("%")&&(n=Number(String(r).slice(0,-1))/100),n}}function H(t,e=Le,r=(n,i)=>`${n}${i}`){return(([n,i,a="4"],{theme:s})=>{if(a!=null&&i!=null){let o,u=a.startsWith("-");if(u&&(a=a.slice(1)),o=$e(a),o!=null&&!Number.isNaN(o))return T("spacing"),e[i].map(c=>[r(t,c),`calc(var(--spacing) * ${u?"-":""}${o})`]);if(s.spacing&&a in s.spacing)return T("spacing",a),e[i].map(c=>[r(t,c),u?`calc(var(--${we(`spacing-${a}`)}) * -1)`:`var(--${we(`spacing-${a}`)})`]);if(o=E.bracket.cssvar.global.auto.fraction.rem(u?`-${a}`:a,s),o!=null)return e[i].map(c=>[r(t,c),o])}})}function sn(t,e){let r,[n,...i]=rt(t,["/",":"],3)??[];if(n!=null){let f=(n.match(Ei)??[])[1];(f==null||f==="color")&&(r=[n,...i])}if(!r)return;let a,[s,o,u]=r;Na(o)||Na(E.bracket(o??""))?u=o:a=o;let c=s.replace(/([a-z])(\d)(?![-_a-z])/g,"$1-$2").split(/-/g),[d]=c;if(!d)return;let h=Ua(e,c);if(!h&&c.length>=2){let f=c.at(-1),b=c.at(-2);/^\d+$/.test(f)&&(h=Ua(e,c.slice(0,-2).concat([`${b}${f}`])))}let{no:p,keys:l,color:m}=h??{};if(!m){let f=E.bracketOfColor(s,e),b=f||s;if(E.numberWithUnit(b))return;/^#[\da-f]+$/i.test(b)?m=b:/^hex-[\da-fA-F]+$/.test(b)?m=`#${b.slice(4)}`:s.startsWith("$")&&(m=E.cssvar(s)),m=m||f}return{opacity:a,modifier:u&&E.bracket.cssvar(u)||u,name:d,no:p,color:m??an[d],alpha:E.bracket.cssvar.percent(a??""),keys:l,get cssColor(){return wt(this.color)}}}function Ua(t,e){let r,n,i,a=lr(t,"colors",e);if(typeof a=="object"?"DEFAULT"in a&&(r=a.DEFAULT,n="DEFAULT",i=[...e,n]):typeof a=="string"&&(r=a,i=e,n=e.at(-1)),!!r)return{color:r,no:n,keys:i}}function lr(t,e,r){let n=t[e];function i(a,s){if(s.length===0)return a;if(!(!a||typeof a!="object"))for(let o=s.length;o>0;o--){let u=s.slice(0,o).join("-");if(u in a){let c=a[u];return o===s.length?c:i(c,s.slice(o))}}}return i(n,r)}function Ks(t,e,r,n){if(!t)return;let{color:i,keys:a,alpha:s,modifier:o}=t,u=n?.generator.config.envMode==="dev"&&i?` /* ${i} */`:"",c={};if(i){let d=[c],h=i.includes("var("),p=Object.values(an).includes(i);if(p&&!s)return c[e]=i,d;let l=`--un-${r}-opacity`,m=a&&!h&&!p?X("colors",a):i,f=o??(a?"in srgb":"in oklab");if(!f.startsWith("in ")&&!f.startsWith("var(")&&(f=`in ${f}`),c[e]=`color-mix(${f}, ${m} ${s??`var(${l})`}, transparent)${u}`,d.push(L(l,{syntax:"<percentage>",initialValue:"100%"})),!p){if(a&&!h&&(T("colors",a),!o)){let b=["shadow","inset-shadow","text-shadow","drop-shadow"].includes(r)?`${s?`color-mix(in oklab, ${m} ${s}, transparent)`:`${m}`} var(${l})`:`${m} ${s??`var(${l})`}`;d.push({[re.parent]:"@supports (color: color-mix(in lab, red, red))",[re.noMerge]:!0,[e]:`color-mix(in oklab, ${b}, transparent)${u}`})}n?.theme&&ln(i,n.theme)}return d}}function Q(t,e){return([,r],n)=>{let i=sn(r??"",n.theme);if(i)return Ks(i,t,e,n)}}function Si(t,e,r){let n=[];t=J(t);for(let i=0;i<t.length;i++){let a=rt(t[i]," ",6);if(!a||a.length<3)return t;let s=!1,o=a.indexOf("inset");o!==-1&&(a.splice(o,1),s=!0);let u="",c=a.at(-1);if(wt(a.at(0))){let d=wt(a.shift());d&&(u=ur(d))}else if(wt(c)){let d=wt(a.pop());d&&(u=ur(d))}else if(c&&c.startsWith("var(")){let d=a.pop();d&&(u=d)}n.push(`${s?"inset ":""}${a.join(" ")} var(${e}, ${r?`oklab(from ${u} l a b / ${r})`:u})`)}return n}function nt(t,e){return t!=null&&!!sn(t,e)?.color}var Wa=/[a-z]+/gi,Dn=new WeakMap;function un({theme:t,generator:e},r="breakpoint"){let n=e?.userConfig?.theme?.[r]||t[r];if(!n)return;if(Dn.has(t))return Dn.get(t);let i=Object.entries(n).sort((a,s)=>Number.parseInt(a[1].replace(Wa,""))-Number.parseInt(s[1].replace(Wa,""))).map(([a,s])=>({point:a,size:s}));return Dn.set(t,i),i}function I(t,e){return ee.map(r=>[`${t}-${r}`,{[e??t]:r}])}function L(t,e={}){let{syntax:r="*",inherits:n=!1,initialValue:i}=e,a={[re.shortcutsNoMerge]:!0,[re.noMerge]:!0,[re.noScope]:!0,[re.variants]:()=>[{parent:"",layer:"properties",selector:()=>`@property ${t}`}],syntax:JSON.stringify(r),inherits:n?"true":"false"};return i!=null&&(a["initial-value"]=i),np(t,i?String(i):"initial"),a}function yr(t){return t!=null&&$i.test(t)}function rp(t){return t[0]==="["&&t.slice(-1)==="]"&&(t=t.slice(1,-1)),$i.test(t)||on.test(t)}function ti(t){return t.replace(/(?:^|\B)([A-Z])/g,"-$1").toLowerCase()}function Xs(t,e=!1){return e?t.trim():t.trim().replace(/\s+/g," ").replace(/\/\*[\s\S]*?\*\//g,"")}var _t=new Set([]);function T(t,e="DEFAULT"){let r=`${t}:${J(e).join("-")}`;_t.has(r)||_t.add(r)}function X(t,e){return`var(--${t}-${J(e).join("-")})`}function ln(t,e){if(t.startsWith("var(")){let r=t.match(/var\(--([\w-]+)(?:,.*)?\)/)?.[1];if(r){let[n,...i]=r.split("-"),a=lr(e,n,i);typeof a=="string"&&(T(n,i),ln(a,e))}}}var At=new Map;function np(t,e){At.has(t)||At.set(t,e)}var ip=[[/^@container(?:\/(\w+))?(?:-(normal))?$/,([,t,e])=>({"container-type":e??"inline-size","container-name":t})]],ap=/@media \(min-width: (.+)\)/,op=[[/^__container$/,(t,e)=>{let{theme:r,variantHandlers:n}=e,i=r.containers?.padding,a;te(i)?a=i:a=i?.DEFAULT;let s=r.containers?.maxWidth,o;for(let c of n){let d=c.handle?.({},h=>h)?.parent;if(te(d)){let h=d.match(ap)?.[1];if(h){let p=(un(e)??[]).find(l=>l.size===h)?.point;s?p&&(o=s?.[p]):o=h,p&&!te(i)&&(a=i?.[p]??a)}}}let u={"max-width":o};return n.length||(u.width="100%"),r.containers?.center&&(u["margin-left"]="auto",u["margin-right"]="auto"),i&&(u["padding-left"]=a,u["padding-right"]=a),u},{internal:!0}]],sp=[[/^(?:(\w+)[:-])?container$/,([,t],e)=>{let r=(un(e)??[]).map(i=>i.point);if(t){if(!r.includes(t))return;r=r.slice(r.indexOf(t))}let n=r.map(i=>`${i}:__container`);return t||n.unshift("__container"),n}]],Ha={mid:"middle",base:"baseline",btm:"bottom",baseline:"baseline",top:"top",start:"top",middle:"middle",bottom:"bottom",end:"bottom","text-top":"text-top","text-bottom":"text-bottom",sub:"sub",super:"super",...Object.fromEntries(ee.map(t=>[t,t]))},up=[[/^(?:vertical|align|v)-(.+)$/,([,t])=>({"vertical-align":Ha[t]??E.bracket.cssvar.numberWithUnit(t)}),{autocomplete:[`(vertical|align|v)-(${Object.keys(Ha).join("|")})`,"(vertical|align|v)-<percentage>"]}]],Za=["center","left","right","justify","start","end"],lp=[...Za.map(t=>[`text-${t}`,{"text-align":t}]),...[...ee,...Za].map(t=>[`text-align-${t}`,{"text-align":t}])],cp=[[/^(?:animate-)?keyframes-(.+)$/,([,t],{theme:e})=>{let r=e.animation?.keyframes?.[t];if(r)return[`@keyframes ${t}${r}`,{animation:t}]},{autocomplete:["animate-keyframes-$animation.keyframes","keyframes-$animation.keyframes"]}],[/^animate-(.+)$/,([,t],{theme:e})=>{let r=e.animation?.keyframes?.[t];if(r){let n=e.animation?.durations?.[t]??"1s",i=e.animation?.timingFns?.[t]??"linear",a=e.animation?.counts?.[t]??1,s=e.animation?.properties?.[t];return[`@keyframes ${t}${r}`,{animation:`${t} ${n} ${i} ${a}`,...s}]}return{animation:E.bracket.cssvar(t)}},{autocomplete:"animate-$animation.keyframes"}],[/^animate-name-(.+)/,([,t])=>({"animation-name":E.bracket.cssvar(t)??t})],[/^animate-duration-(.+)$/,([,t],{theme:e})=>({"animation-duration":e.duration?.[t||"DEFAULT"]??E.bracket.cssvar.time(t)}),{autocomplete:["animate-duration"]}],[/^animate-delay-(.+)$/,([,t],{theme:e})=>({"animation-delay":e.duration?.[t||"DEFAULT"]??E.bracket.cssvar.time(t)}),{autocomplete:["animate-delay"]}],[/^animate-ease(?:-(.+))?$/,([,t],{theme:e})=>({"animation-timing-function":e.ease?.[t||"DEFAULT"]??E.bracket.cssvar(t)}),{autocomplete:["animate-ease","animate-ease-$ease"]}],[/^animate-(fill-mode-|fill-|mode-)?(.+)$/,([,t,e])=>["none","forwards","backwards","both",t?ee:[]].includes(e)?{"animation-fill-mode":e}:void 0,{autocomplete:["animate-(fill|mode|fill-mode)","animate-(fill|mode|fill-mode)-(none|forwards|backwards|both|inherit|initial|revert|revert-layer|unset)","animate-(none|forwards|backwards|both|inherit|initial|revert|revert-layer|unset)"]}],[/^animate-(direction-)?(.+)$/,([,t,e])=>["normal","reverse","alternate","alternate-reverse",t?ee:[]].includes(e)?{"animation-direction":e}:void 0,{autocomplete:["animate-direction","animate-direction-(normal|reverse|alternate|alternate-reverse|inherit|initial|revert|revert-layer|unset)","animate-(normal|reverse|alternate|alternate-reverse|inherit|initial|revert|revert-layer|unset)"]}],[/^animate-(?:iteration-count-|iteration-|count-)(.+)$/,([,t])=>({"animation-iteration-count":E.bracket.cssvar(t)??t.replace(/-/g,",")}),{autocomplete:["animate-(iteration|count|iteration-count)","animate-(iteration|count|iteration-count)-<num>"]}],[/^animate-(play-state-|play-|state-)?(.+)$/,([,t,e])=>["paused","running",t?ee:[]].includes(e)?{"animation-play-state":e}:void 0,{autocomplete:["animate-(play|state|play-state)","animate-(play|state|play-state)-(paused|running|inherit|initial|revert|revert-layer|unset)","animate-(paused|running|inherit|initial|revert|revert-layer|unset)"]}],["animate-none",{animation:"none"}],...I("animate","animation")],Qs={"gradient-position":L("--un-gradient-position"),"gradient-from":L("--un-gradient-from",{syntax:"<color>",initialValue:"#0000"}),"gradient-via":L("--un-gradient-via",{syntax:"<color>",initialValue:"#0000"}),"gradient-to":L("--un-gradient-to",{syntax:"<color>",initialValue:"#0000"}),"gradient-stops":L("--un-gradient-stops"),"gradient-via-stops":L("--un-gradient-via-stops"),"gradient-from-position":L("--un-gradient-from-position",{syntax:"<length-percentage>",initialValue:"0%"}),"gradient-via-position":L("--un-gradient-via-position",{syntax:"<length-percentage>",initialValue:"50%"}),"gradient-to-position":L("--un-gradient-to-position",{syntax:"<length-percentage>",initialValue:"100%"})};function Ga(t){let e="in oklab";if(t)if(t.startsWith("[")&&t.endsWith("]"))e=t.slice(1,-1);else switch(t){case"longer":case"shorter":case"increasing":case"decreasing":e=`in oklch ${t} hue`;break;default:e=`in ${t}`}return e}function dp(){return function*([,t,e],{theme:r}){let n={},i=sn(e,r);if(i){let{color:a,keys:s,alpha:o}=i;if(a){if(Object.values(an).includes(a))n[`--un-gradient-${t}`]=a;else{n[`--un-${t}-opacity`]=o;let u=s?X("colors",s):a;n[`--un-gradient-${t}`]=`color-mix(in oklab, ${u} var(--un-${t}-opacity), transparent)`,yield L(`--un-${t}-opacity`,{syntax:"<percentage>",initialValue:"100%"})}s&&T("colors",s),r&&ln(a,r)}}else n[`--un-gradient-${t}`]=E.bracket.cssvar(e);if(n[`--un-gradient-${t}`]){switch(t){case"from":yield{...n,"--un-gradient-stops":"var(--un-gradient-via-stops, var(--un-gradient-position), var(--un-gradient-from) var(--un-gradient-from-position), var(--un-gradient-to) var(--un-gradient-to-position))"};break;case"via":yield{...n,"--un-gradient-via-stops":"var(--un-gradient-position), var(--un-gradient-from) var(--un-gradient-from-position), var(--un-gradient-via) var(--un-gradient-via-position), var(--un-gradient-to) var(--un-gradient-to-position)","--un-gradient-stops":"var(--un-gradient-via-stops)"};break;case"to":yield{...n,"--un-gradient-stops":"var(--un-gradient-via-stops, var(--un-gradient-position), var(--un-gradient-from) var(--un-gradient-from-position), var(--un-gradient-to) var(--un-gradient-to-position))"};break;case"stops":yield{...n};break}for(let a of Object.values(Qs))yield a}}}function hp(){return function*([,t,e]){yield{[`--un-gradient-${t}-position`]:`${E.bracket.cssvar.percent(e)}`};for(let r of Object.values(Qs))yield r}}var pp=[[/^bg-(linear|radial|conic)-([^/]+)(?:\/(.+))?$/,([,t,e,r])=>{let n;if(E.number(e)!=null?n=`from ${E.number(e)}deg ${Ga(r)};`:n=E.bracket(e),n)return{"--un-gradient-position":n,"background-image":`${t}-gradient(var(--un-gradient-stops))`}},{autocomplete:["bg-(linear|radial|conic)","(from|to|via)-$colors","(from|to|via)-(op|opacity)","(from|to|via)-(op|opacity)-<percent>"]}],[/^(from|via|to|stops)-(.+)$/,dp()],[/^(from|via|to)-op(?:acity)?-?(.+)$/,([,t,e])=>({[`--un-${t}-opacity`]:E.bracket.percent(e)})],[/^(from|via|to)-([\d.]+%)$/,hp()],[/^bg-((?:repeating-)?(?:linear|radial|conic))$/,([,t])=>({"background-image":`${t}-gradient(var(--un-gradient, var(--un-gradient-stops, rgb(255 255 255 / 0))))`}),{autocomplete:["bg-gradient-repeating","bg-gradient-(linear|radial|conic)","bg-gradient-repeating-(linear|radial|conic)"]}],[/^bg-(gradient|linear|radial|conic)(?:-to-([rltb]{1,2}))?(?:\/(.+))?$/,([,t,e,r])=>({"--un-gradient-position":`${e in ce?`to ${ce[e]} `:" "}${Ga(r)}`,"background-image":`${t==="gradient"?"linear":t}-gradient(var(--un-gradient-stops))`}),{autocomplete:["gradient","linear","radial","conic"].map(t=>`bg-${t}-to-(${Object.keys(ce).filter(e=>e.length<=2&&Array.from(e).every(r=>"rltb".includes(r))).join("|")})`)}],["bg-none",{"background-image":"none"}],["box-decoration-slice",{"box-decoration-break":"slice"}],["box-decoration-clone",{"box-decoration-break":"clone"}],...I("box-decoration","box-decoration-break"),["bg-auto",{"background-size":"auto"}],["bg-cover",{"background-size":"cover"}],["bg-contain",{"background-size":"contain"}],[/^bg-size-(.+)$/,([,t])=>({"background-size":E.bracket.cssvar(t)})],["bg-fixed",{"background-attachment":"fixed"}],["bg-local",{"background-attachment":"local"}],["bg-scroll",{"background-attachment":"scroll"}],["bg-clip-border",{"-webkit-background-clip":"border-box","background-clip":"border-box"}],["bg-clip-content",{"-webkit-background-clip":"content-box","background-clip":"content-box"}],["bg-clip-padding",{"-webkit-background-clip":"padding-box","background-clip":"padding-box"}],["bg-clip-text",{"-webkit-background-clip":"text","background-clip":"text"}],...ee.map(t=>[`bg-clip-${t}`,{"-webkit-background-clip":t,"background-clip":t}]),[/^bg-([-\w]{3,})$/,([,t])=>({"background-position":ce[t]})],["bg-repeat",{"background-repeat":"repeat"}],["bg-no-repeat",{"background-repeat":"no-repeat"}],["bg-repeat-x",{"background-repeat":"repeat-x"}],["bg-repeat-y",{"background-repeat":"repeat-y"}],["bg-repeat-round",{"background-repeat":"round"}],["bg-repeat-space",{"background-repeat":"space"}],...I("bg-repeat","background-repeat"),["bg-origin-border",{"background-origin":"border-box"}],["bg-origin-padding",{"background-origin":"padding-box"}],["bg-origin-content",{"background-origin":"content-box"}],...I("bg-origin","background-origin")],Ya=[[/^outline-(?:width-|size-)?(.+)$/,eu,{autocomplete:"outline-(width|size)-<num>"}],[/^outline-(?:color-)?(.+)$/,fp,{autocomplete:"outline-$colors"}],[/^outline-op(?:acity)?-?(.+)$/,([,t])=>({"--un-outline-opacity":E.bracket.percent.cssvar(t)}),{autocomplete:"outline-(op|opacity)-<percent>"}],[/^outline-offset-(.+)$/,([,t])=>({"outline-offset":E.bracket.cssvar.global.px(t)}),{autocomplete:"outline-(offset)-<num>"}],["outline-offset-none",{"outline-offset":"0"}],["outline",[{"outline-style":"var(--un-outline-style)","outline-width":"1px"},L("--un-outline-style",{initialValue:"solid"})]],["outline-hidden",[{"outline-style":"none"},{[re.parent]:"@media (forced-colors: active)",outline:"2px solid transparent","outline-offset":"2px"}]],["outline-none",{"--un-outline-style":"none","outline-style":"none"}],...["auto","dashed","dotted","double","solid","groove","ridge","inset","outset",...ee].map(t=>[`outline-${t}`,{"--un-outline-style":t,"outline-style":t}])];function*eu([,t]){let e=E.bracket.cssvar.global.px(t);e!=null&&(yield{"outline-style":"var(--un-outline-style)","outline-width":e},yield L("--un-outline-style",{initialValue:"solid"}))}function*fp(t,e){if(yr(E.bracket(t[1])))yield*eu(t);else{let r=Q("outline-color","outline")(t,e);if(r)for(let n of r)yield n}}var mp=[["appearance-auto",{"-webkit-appearance":"auto",appearance:"auto"}],["appearance-none",{"-webkit-appearance":"none",appearance:"none"}]];function gp(t){let e=E.bracket(t);return e&&E.properties(e)?e:E.properties.auto.cssvar.global(t)??{contents:"contents",scroll:"scroll-position"}[t]}var Ja=[[/^will-change-(.+)/,([,t])=>({"will-change":gp(t)})]],On={disc:"disc",circle:"circle",square:"square",decimal:"decimal","zero-decimal":"decimal-leading-zero",greek:"lower-greek",roman:"lower-roman","upper-roman":"upper-roman",alpha:"lower-alpha","upper-alpha":"upper-alpha",latin:"lower-latin","upper-latin":"upper-latin"},bp=[[/^list-(.+?)(?:-(outside|inside))?$/,([,t,e])=>{let r=On[t];if(r)return e?{"list-style-position":e,"list-style-type":r}:{"list-style-type":r}},{autocomplete:[`list-(${Object.keys(On).join("|")})`,`list-(${Object.keys(On).join("|")})-(outside|inside)`]}],["list-outside",{"list-style-position":"outside"}],["list-inside",{"list-style-position":"inside"}],["list-none",{"list-style-type":"none"}],[/^list-image-(.+)$/,([,t])=>{if(/^\[url\(.+\)\]$/.test(t))return{"list-style-image":E.bracket(t)}}],["list-image-none",{"list-style-image":"none"}],...I("list","list-style-type")],yp=[[/^accent-(.+)$/,Q("accent-color","accent"),{autocomplete:"accent-$colors"}],[/^accent-op(?:acity)?-?(.+)$/,([,t])=>({"--un-accent-opacity":E.bracket.percent(t)}),{autocomplete:["accent-(op|opacity)","accent-(op|opacity)-<percent>"]}]],vp=[[/^caret-(.+)$/,Q("caret-color","caret"),{autocomplete:"caret-$colors"}],[/^caret-op(?:acity)?-?(.+)$/,([,t])=>({"--un-caret-opacity":E.bracket.percent(t)}),{autocomplete:["caret-(op|opacity)","caret-(op|opacity)-<percent>"]}]],kp=[["image-render-auto",{"image-rendering":"auto"}],["image-render-edge",{"image-rendering":"crisp-edges"}],["image-render-pixel",[["-ms-interpolation-mode","nearest-neighbor"],["image-rendering","-webkit-optimize-contrast"],["image-rendering","-moz-crisp-edges"],["image-rendering","-o-pixelated"],["image-rendering","pixelated"]]]],xp=[["overscroll-auto",{"overscroll-behavior":"auto"}],["overscroll-contain",{"overscroll-behavior":"contain"}],["overscroll-none",{"overscroll-behavior":"none"}],...I("overscroll","overscroll-behavior"),["overscroll-x-auto",{"overscroll-behavior-x":"auto"}],["overscroll-x-contain",{"overscroll-behavior-x":"contain"}],["overscroll-x-none",{"overscroll-behavior-x":"none"}],...I("overscroll-x","overscroll-behavior-x"),["overscroll-y-auto",{"overscroll-behavior-y":"auto"}],["overscroll-y-contain",{"overscroll-behavior-y":"contain"}],["overscroll-y-none",{"overscroll-behavior-y":"none"}],...I("overscroll-y","overscroll-behavior-y")],wp=[["scroll-auto",{"scroll-behavior":"auto"}],["scroll-smooth",{"scroll-behavior":"smooth"}],...I("scroll","scroll-behavior")],lt=["solid","dashed","dotted","double","hidden","none","groove","ridge","inset","outset",...ee],$p=[[/^(?:border|b)()(?:-(.+))?$/,Oe,{autocomplete:"(border|b)-<directions>"}],[/^(?:border|b)-([xy])(?:-(.+))?$/,Oe],[/^(?:border|b)-([rltbse])(?:-(.+))?$/,Oe],[/^(?:border|b)-(block|inline)(?:-(.+))?$/,Oe],[/^(?:border|b)-([bi][se])(?:-(.+))?$/,Oe],[/^(?:border|b)-()(?:width|size)-(.+)$/,Oe,{autocomplete:["(border|b)-<num>","(border|b)-<directions>-<num>"]}],[/^(?:border|b)-([xy])-(?:width|size)-(.+)$/,Oe],[/^(?:border|b)-([rltbse])-(?:width|size)-(.+)$/,Oe],[/^(?:border|b)-(block|inline)-(?:width|size)-(.+)$/,Oe],[/^(?:border|b)-([bi][se])-(?:width|size)-(.+)$/,Oe],[/^(?:border|b)-()(?:color-)?(.+)$/,qt,{autocomplete:["(border|b)-$colors","(border|b)-<directions>-$colors"]}],[/^(?:border|b)-([xy])-(?:color-)?(.+)$/,qt],[/^(?:border|b)-([rltbse])-(?:color-)?(.+)$/,qt],[/^(?:border|b)-(block|inline)-(?:color-)?(.+)$/,qt],[/^(?:border|b)-([bi][se])-(?:color-)?(.+)$/,qt],[/^(?:border|b)-()op(?:acity)?-?(.+)$/,Ut,{autocomplete:"(border|b)-(op|opacity)-<percent>"}],[/^(?:border|b)-([xy])-op(?:acity)?-?(.+)$/,Ut],[/^(?:border|b)-([rltbse])-op(?:acity)?-?(.+)$/,Ut],[/^(?:border|b)-(block|inline)-op(?:acity)?-?(.+)$/,Ut],[/^(?:border|b)-([bi][se])-op(?:acity)?-?(.+)$/,Ut],[/^(?:border-|b-)?(?:rounded|rd)()(?:-(.+))?$/,Wt,{autocomplete:["(border|b)-(rounded|rd)","(border|b)-(rounded|rd)-$radius","(rounded|rd)","(rounded|rd)-$radius"]}],[/^(?:border-|b-)?(?:rounded|rd)-([rltbse])(?:-(.+))?$/,Wt],[/^(?:border-|b-)?(?:rounded|rd)-([rltb]{2})(?:-(.+))?$/,Wt],[/^(?:border-|b-)?(?:rounded|rd)-([bise][se])(?:-(.+))?$/,Wt],[/^(?:border-|b-)?(?:rounded|rd)-([bi][se]-[bi][se])(?:-(.+))?$/,Wt],[/^(?:border|b)-(?:style-)?()(.+)$/,Ht,{autocomplete:["(border|b)-style",`(border|b)-(${lt.join("|")})`,"(border|b)-<directions>-style",`(border|b)-<directions>-(${lt.join("|")})`,`(border|b)-<directions>-style-(${lt.join("|")})`,`(border|b)-style-(${lt.join("|")})`]}],[/^(?:border|b)-([xy])-(?:style-)?(.+)$/,Ht],[/^(?:border|b)-([rltbse])-(?:style-)?(.+)$/,Ht],[/^(?:border|b)-(block|inline)-(?:style-)?(.+)$/,Ht],[/^(?:border|b)-([bi][se])-(?:style-)?(.+)$/,Ht]];function Ep(t){return([,e],r)=>{let n=sn(e,r.theme),i=Ks(n,`border${t}-color`,`border${t}`,r);if(i){let a=i[0];return n?.color&&!Object.values(an).includes(n.color)&&!n.alpha&&t&&t!==""&&(a[`--un-border${t}-opacity`]="var(--un-border-opacity)"),i}}}function Oe([,t="",e="1"]){let r=E.bracket.cssvar.global.px(e);if(t in Le&&r!=null)return Le[t].map(n=>[`border${n}-width`,r])}function qt([,t="",e],r){if(t in Le){if(yr(E.bracket(e)))return Oe(["",t,e]);if(nt(e,r.theme)){let n=Le[t].map(i=>Ep(i)(["",e],r)).filter(er);return[n.map(i=>i[0]).reduce((i,a)=>(Object.assign(i,a),i),{}),...n.flatMap(i=>i.slice(1))]}}}function Ut([,t="",e]){let r=E.bracket.percent.cssvar(e);if(t in Le&&r!=null)return Le[t].map(n=>[`--un-border${n}-opacity`,r])}function Wt([,t="",e="DEFAULT"],{theme:r}){if(t in Pr){if(e==="full")return Pr[t].map(i=>[`border${i}-radius`,"calc(infinity * 1px)"]);let n=r.radius?.[e]??E.bracket.cssvar.global.fraction.rem(e);if(n!=null){let i=r.radius&&e in r.radius;return i&&T("radius",e),Pr[t].map(a=>[`border${a}-radius`,i?X("radius",e):n])}}}function Ht([,t="",e]){if(lt.includes(e)&&t in Le)return[["--un-border-style",e],...Le[t].map(r=>[`border${r}-style`,e])]}var Sp=[[/^op(?:acity)?-?(.+)$/,([,t])=>({opacity:E.bracket.percent.cssvar(t)})]],_p=/^\[url\(.+\)\]$/,Ap=/^\[(?:length|size):.+\]$/,Cp=/^\[position:.+\]$/,Dp=/^\[(?:linear|conic|radial)-gradient\(.+\)\]$/,Op=/^\[image:.+\]$/,Bp=[[/^bg-(.+)$/,(...t)=>{let e=t[0][1];if(_p.test(e))return{"--un-url":E.bracket(e),"background-image":"var(--un-url)"};if(Ap.test(e)&&E.bracketOfLength(e)!=null)return{"background-size":E.bracketOfLength(e).split(" ").map(r=>E.fraction.auto.px.cssvar(r)??r).join(" ")};if((rp(e)||Cp.test(e))&&E.bracketOfPosition(e)!=null)return{"background-position":E.bracketOfPosition(e).split(" ").map(r=>E.position.fraction.auto.px.cssvar(r)??r).join(" ")};if(Dp.test(e)||Op.test(e)){let r=E.bracket(e);if(r)return{"background-image":(r.startsWith("http")?`url(${r})`:E.cssvar(r))??r}}return Q("background-color","bg")(...t)},{autocomplete:"bg-$colors"}],[/^bg-op(?:acity)?-?(.+)$/,([,t])=>({"--un-bg-opacity":E.bracket.percent.cssvar(t)}),{autocomplete:"bg-(op|opacity)-<percent>"}]],Fp=[[/^(?:color-)?scheme-(.+)$/,([,t])=>({"color-scheme":t.split("-").join(" ")})]],Mp=[[/^columns-(.+)$/,([,t],{theme:e})=>e.container&&t in e.container?(T("container",t),{columns:X("container",t)}):{columns:E.bracket.numberWithUnit.number.cssvar(t)},{autocomplete:["columns-<num>","columns-$container"]}],["columns-auto",{columns:"auto"}],["break-before-auto",{"break-before":"auto"}],["break-before-avoid",{"break-before":"avoid"}],["break-before-all",{"break-before":"all"}],["break-before-avoid-page",{"break-before":"avoid-page"}],["break-before-page",{"break-before":"page"}],["break-before-left",{"break-before":"left"}],["break-before-right",{"break-before":"right"}],["break-before-column",{"break-before":"column"}],...I("break-before"),["break-inside-auto",{"break-inside":"auto"}],["break-inside-avoid",{"break-inside":"avoid"}],["break-inside-avoid-page",{"break-inside":"avoid-page"}],["break-inside-avoid-column",{"break-inside":"avoid-column"}],...I("break-inside"),["break-after-auto",{"break-after":"auto"}],["break-after-avoid",{"break-after":"avoid"}],["break-after-all",{"break-after":"all"}],["break-after-avoid-page",{"break-after":"avoid-page"}],["break-after-page",{"break-after":"page"}],["break-after-left",{"break-after":"left"}],["break-after-right",{"break-after":"right"}],["break-after-column",{"break-after":"column"}],...I("break-after")],Ka=["solid","double","dotted","dashed","wavy",...ee],Np=[[/^(?:decoration-)?(underline|overline|line-through)$/,([,t])=>({"text-decoration-line":t}),{autocomplete:"decoration-(underline|overline|line-through)"}],[/^(?:underline|decoration)-(?:size-)?(.+)$/,tu,{autocomplete:"(underline|decoration)-<num>"}],[/^(?:underline|decoration)-(auto|from-font)$/,([,t])=>({"text-decoration-thickness":t}),{autocomplete:"(underline|decoration)-(auto|from-font)"}],[/^(?:underline|decoration)-(.+)$/,Lp,{autocomplete:"(underline|decoration)-$colors"}],[/^(?:underline|decoration)-op(?:acity)?-?(.+)$/,([,t])=>({"--un-line-opacity":E.bracket.percent.cssvar(t)}),{autocomplete:"(underline|decoration)-(op|opacity)-<percent>"}],[/^(?:underline|decoration)-offset-(.+)$/,([,t])=>({"text-underline-offset":E.auto.bracket.cssvar.global.px(t)}),{autocomplete:"(underline|decoration)-(offset)-<num>"}],...Ka.map(t=>[`underline-${t}`,{"text-decoration-style":t}]),...Ka.map(t=>[`decoration-${t}`,{"text-decoration-style":t}]),["no-underline",{"text-decoration":"none"}],["decoration-none",{"text-decoration":"none"}]];function tu([,t]){return{"text-decoration-thickness":E.bracket.cssvar.global.px(t)}}function Lp(t,e){if(yr(E.bracket(t[1])))return tu(t);let r=Q("text-decoration-color","line")(t,e);if(r){let n=r[0];return n["-webkit-text-decoration-color"]=n["text-decoration-color"],r}}var Pp=[[/^pa?()-?(.+)$/,H("padding"),{autocomplete:["(m|p)<num>","(m|p)-<num>"]}],[/^p-?xy()()$/,H("padding"),{autocomplete:"(m|p)-(xy)"}],[/^p-?([xy])(?:-?(.+))?$/,H("padding")],[/^p-?([rltbse])(?:-?(.+))?$/,H("padding"),{autocomplete:"(m|p)<directions>-<num>"}],[/^p-(block|inline)(?:-(.+))?$/,H("padding"),{autocomplete:"(m|p)-(block|inline)-<num>"}],[/^p-?([bi][se])(?:-?(.+))?$/,H("padding"),{autocomplete:"(m|p)-(bs|be|is|ie)-<num>"}]],zp=[[/^ma?()-?(.+)$/,H("margin")],[/^m-?xy()()$/,H("margin")],[/^m-?([xy])(?:-?(.+))?$/,H("margin")],[/^m-?([rltbse])(?:-?(.+))?$/,H("margin")],[/^m-(block|inline)(?:-(.+))?$/,H("margin")],[/^m-?([bi][se])(?:-?(.+))?$/,H("margin")]],Tp=[[/^space-([xy])-(.+)$/,jp,{autocomplete:["space-(x|y)","space-(x|y)-reverse","space-(x|y)-$spacing"]}],[/^space-([xy])-reverse$/,function*([t,e],{symbols:r}){yield{[r.variants]:[ct(t)],[`--un-space-${e}-reverse`]:"1"},yield L(`--un-space-${e}-reverse`,{initialValue:0})}]];function ct(t){return{matcher:t,handle:(e,r)=>r({...e,parent:`${e.parent?`${e.parent} $$ `:""}${e.selector}`,selector:":where(&>:not(:last-child))"})}}function*jp([t,e,r],{theme:n,symbols:i}){let a,s=$e(r);if(s!=null?(T("spacing"),a=`calc(var(--spacing) * ${s})`):a=n.spacing?.[r]??E.bracket.cssvar.auto.fraction.rem(r||"1"),a!=null){let o=Le[e==="x"?"inline":"block"].map((u,c)=>[`margin${u}`,`calc(${a} * ${c===0?`var(--un-space-${e}-reverse)`:`calc(1 - var(--un-space-${e}-reverse))`})`]);o&&(yield{[i.variants]:[ct(t)],[`--un-space-${e}-reverse`]:"0",...Object.fromEntries(o)},yield L(`--un-space-${e}-reverse`,{initialValue:0}))}}var Ip=[[/^divide-(.+)$/,function*(t,e){let r=Q("border-color","divide")(t,e);r&&(yield{[e.symbols.variants]:[ct(t[0])],...r[0]},yield r[1])},{autocomplete:"divide-$colors"}],[/^divide-op(?:acity)?-?(.+)$/,function*([t,e],{symbols:r}){yield{[r.variants]:[ct(t)],"--un-divide-opacity":E.bracket.percent(e)}},{autocomplete:["divide-(op|opacity)","divide-(op|opacity)-<percent>"]}],[/^divide-?([xy])$/,Xa,{autocomplete:["divide-(x|y)","divide-(x|y)-reverse"]}],[/^divide-?([xy])-?(.+)$/,Xa],[/^divide-?([xy])-reverse$/,function*([t,e],{symbols:r}){yield{[r.variants]:[ct(t)],[`--un-divide-${e}-reverse`]:"1"},yield L(`--un-divide-${e}-reverse`,{initialValue:0})}],[new RegExp(`^divide-(${lt.join("|")})$`),function*([t,e],{symbols:r}){yield{[r.variants]:[ct(t)],"border-style":e}},{autocomplete:lt.map(t=>`divide-${t}`)}]];function*Xa([t,e,r],{symbols:n}){let i=E.bracket.cssvar.px(r||"1");if(i!=null){i==="0"&&(i="0px");let a={x:["-left","-right"],y:["-top","-bottom"]}[e].map(s=>{let o=s.endsWith("left")||s.endsWith("top")?`calc(${i} * var(--un-divide-${e}-reverse))`:`calc(${i} * calc(1 - var(--un-divide-${e}-reverse)))`;return[[`border${s}-width`,o],[`border${s}-style`,"var(--un-border-style)"]]});a&&(yield{[n.variants]:[ct(t)],[`--un-divide-${e}-reverse`]:0,...Object.fromEntries(a.flat())},yield L(`--un-divide-${e}-reverse`,{initialValue:0}),yield L("--un-border-style",{initialValue:"solid"}))}}var ru=["blur","brightness","contrast","grayscale","hue-rotate","invert","saturate","sepia","drop-shadow"],ri=ru.map(t=>L(`--un-${t}`)),qr=ru.map(t=>`var(--un-${t},)`).join(" "),nu=["backdrop-blur","backdrop-brightness","backdrop-contrast","backdrop-grayscale","backdrop-hue-rotate","backdrop-invert","backdrop-opacity","backdrop-saturate","backdrop-sepia"],Rp=nu.map(t=>L(`--un-${t}`)),Ur=nu.map(t=>`var(--un-${t},)`).join(" ");function Bn(t){let e=E.bracket.cssvar(t||"");if(e!=null||(e=t?E.percent(t):"100%",e!=null&&Number.parseFloat(e.slice(0,-1))<=100))return e}function We(t,e){return([,r,n],{theme:i})=>{let a=e(n,i)??(n==="none"?"0":"");if(a!=="")return r?[{[`--un-${r}${t}`]:`${t}(${a})`,"-webkit-backdrop-filter":Ur,"backdrop-filter":Ur},...Rp]:[{[`--un-${t}`]:`${t}(${a})`,filter:qr},...ri]}}function Vp(t,e){let[,r]=t,{theme:n}=e,i=[];r&&(i=rt(r,"/",2)??[],r.startsWith("/")&&(i=["",r.slice(1)]));let a=n.dropShadow?.[i[0]||"DEFAULT"],s=r?E.bracket.cssvar(r):void 0;if((a!=null||s!=null)&&!nt(s,n)){let o=i[1]?E.bracket.percent.cssvar(i[1]):void 0;return[{"--un-drop-shadow-opacity":o,"--un-drop-shadow":`drop-shadow(${Si(a||s,"--un-drop-shadow-color",o).join(") drop-shadow(")})`,filter:qr},...ri]}if(nt(r,n))return Q("--un-drop-shadow-color","drop-shadow")(t,e);if(a=E.bracket.cssvar(r)??(r==="none"?"":void 0),a!=null)return[{"--un-drop-shadow":a&&`drop-shadow(${a})`,filter:qr},...ri]}var qp=[[/^(?:(backdrop-)|filter-)?blur(?:-(.+))?$/,We("blur",(t,e)=>e.blur?.[t||"DEFAULT"]||E.bracket.cssvar.px(t)),{autocomplete:["(backdrop|filter)-blur-$blur","blur-$blur","filter-blur"]}],[/^(?:(backdrop-)|filter-)?brightness-(.+)$/,We("brightness",t=>E.bracket.cssvar.percent(t)),{autocomplete:["(backdrop|filter)-brightness-<percent>","brightness-<percent>"]}],[/^(?:(backdrop-)|filter-)?contrast-(.+)$/,We("contrast",t=>E.bracket.cssvar.percent(t)),{autocomplete:["(backdrop|filter)-contrast-<percent>","contrast-<percent>"]}],[/^(?:filter-)?drop-shadow(?:-?(.+))?$/,Vp,{autocomplete:["filter-drop","filter-drop-shadow","filter-drop-shadow-color","drop-shadow","drop-shadow-color","filter-drop-shadow-$dropShadow","drop-shadow-$dropShadow","filter-drop-shadow-$colors","drop-shadow-$colors","filter-drop-shadow-color-$colors","drop-shadow-color-$colors","filter-drop-shadow-color-(op|opacity)","drop-shadow-color-(op|opacity)","filter-drop-shadow-color-(op|opacity)-<percent>","drop-shadow(-color)?-(op|opacity)-<percent>"]}],[/^(?:filter-)?drop-shadow-color-(.+)$/,Q("--un-drop-shadow-color","drop-shadow")],[/^(?:filter-)?drop-shadow(?:-color)?-op(?:acity)?-?(.+)$/,([,t])=>({"--un-drop-shadow-opacity":E.bracket.percent(t)})],[/^(?:(backdrop-)|filter-)?grayscale(?:-(.+))?$/,We("grayscale",Bn),{autocomplete:["(backdrop|filter)-grayscale","(backdrop|filter)-grayscale-<percent>","grayscale-<percent>"]}],[/^(?:(backdrop-)|filter-)?hue-rotate-(.+)$/,We("hue-rotate",t=>E.bracket.cssvar.degree(t))],[/^(?:(backdrop-)|filter-)?invert(?:-(.+))?$/,We("invert",Bn),{autocomplete:["(backdrop|filter)-invert","(backdrop|filter)-invert-<percent>","invert-<percent>"]}],[/^(backdrop-)op(?:acity)?-(.+)$/,We("opacity",t=>E.bracket.cssvar.percent(t)),{autocomplete:["backdrop-(op|opacity)","backdrop-(op|opacity)-<percent>"]}],[/^(?:(backdrop-)|filter-)?saturate-(.+)$/,We("saturate",t=>E.bracket.cssvar.percent(t)),{autocomplete:["(backdrop|filter)-saturate","(backdrop|filter)-saturate-<percent>","saturate-<percent>"]}],[/^(?:(backdrop-)|filter-)?sepia(?:-(.+))?$/,We("sepia",Bn),{autocomplete:["(backdrop|filter)-sepia","(backdrop|filter)-sepia-<percent>","sepia-<percent>"]}],["filter",{filter:qr}],["backdrop-filter",{"-webkit-backdrop-filter":Ur,"backdrop-filter":Ur}],["filter-none",{filter:"none"}],["backdrop-filter-none",{"-webkit-backdrop-filter":"none","backdrop-filter":"none"}],...ee.map(t=>[`filter-${t}`,{filter:t}]),...ee.map(t=>[`backdrop-filter-${t}`,{"-webkit-backdrop-filter":t,"backdrop-filter":t}])],Up=[["flex",{display:"flex"}],["inline-flex",{display:"inline-flex"}],["flex-inline",{display:"inline-flex"}],[/^flex-(.*)$/,([,t])=>({flex:E.bracket(t)!=null?E.bracket(t).split(" ").map(e=>E.cssvar.fraction(e)??e).join(" "):E.cssvar.fraction(t)})],["flex-1",{flex:"1 1 0%"}],["flex-auto",{flex:"1 1 auto"}],["flex-initial",{flex:"0 1 auto"}],["flex-none",{flex:"none"}],[/^(?:flex-)?shrink(?:-(.*))?$/,([,t=""])=>({"flex-shrink":E.bracket.cssvar.number(t)??1}),{autocomplete:["flex-shrink-<num>","shrink-<num>"]}],[/^(?:flex-)?grow(?:-(.*))?$/,([,t=""])=>({"flex-grow":E.bracket.cssvar.number(t)??1}),{autocomplete:["flex-grow-<num>","grow-<num>"]}],[/^(?:flex-)?basis-(.+)$/,([,t])=>{let e=$e(t);return e!=null?(T("spacing"),{"flex-basis":`calc(var(--spacing) * ${e})`}):{"flex-basis":E.bracket.cssvar.auto.fraction.rem(t)}},{autocomplete:["flex-basis-$spacing","basis-$spacing"]}],["flex-row",{"flex-direction":"row"}],["flex-row-reverse",{"flex-direction":"row-reverse"}],["flex-col",{"flex-direction":"column"}],["flex-col-reverse",{"flex-direction":"column-reverse"}],["flex-wrap",{"flex-wrap":"wrap"}],["flex-wrap-reverse",{"flex-wrap":"wrap-reverse"}],["flex-nowrap",{"flex-wrap":"nowrap"}]],Fn={"":[""],x:["column-"],y:["row-"],col:["column-"],row:["row-"]},Wp=[[/^(?:flex-|grid-)?gap-?()(.+)$/,H("gap",Fn,(t,e)=>`${e}${t}`),{autocomplete:["gap-$spacing","gap-<num>"]}],[/^(?:flex-|grid-)?gap-([xy])-?(.+)$/,H("gap",Fn,(t,e)=>`${e}${t}`),{autocomplete:["gap-(x|y)-$spacing","gap-(x|y)-<num>"]}],[/^(?:flex-|grid-)?gap-(col|row)-?(.+)$/,H("gap",Fn,(t,e)=>`${e}${t}`),{autocomplete:["gap-(col|row)-$spacing","gap-(col|row)-<num>"]}]];function Te(t){return t.replace("col","column")}function Hp(t){switch(t){case"min":return"min-content";case"max":return"max-content";case"fr":return"minmax(0,1fr)"}return E.bracket.cssvar.auto.rem(t)}var Zp=[["grid",{display:"grid"}],["inline-grid",{display:"inline-grid"}],[/^(?:grid-)?(row|col)-(.+)$/,([,t,e])=>({[`grid-${Te(t)}`]:E.bracket.number.cssvar.auto(e)})],[/^(?:grid-)?(row|col)-span-(.+)$/,([,t,e])=>{if(e==="full")return{[`grid-${Te(t)}`]:"1/-1"};let r=E.bracket.number.cssvar(e);if(r!=null)return{[`grid-${Te(t)}`]:`span ${r}/span ${r}`}},{autocomplete:"(grid-row|grid-col|row|col)-span-<num>"}],[/^(?:grid-)?(row|col)-start-(.+)$/,([,t,e])=>({[`grid-${Te(t)}-start`]:E.bracket.cssvar(e)??e})],[/^(?:grid-)?(row|col)-end-(.+)$/,([,t,e])=>({[`grid-${Te(t)}-end`]:E.bracket.cssvar(e)??e}),{autocomplete:"(grid-row|grid-col|row|col)-(start|end)-<num>"}],[/^(?:grid-)?auto-(rows|cols)-(.+)$/,([,t,e])=>({[`grid-auto-${Te(t)}`]:Hp(e)}),{autocomplete:"(grid-auto|auto)-(rows|cols)-<num>"}],[/^(?:grid-auto-flow|auto-flow|grid-flow)-(.+)$/,([,t])=>({"grid-auto-flow":E.bracket.cssvar(t)})],[/^(?:grid-auto-flow|auto-flow|grid-flow)-(row|col|dense|row-dense|col-dense)$/,([,t])=>({"grid-auto-flow":Te(t).replace("-"," ")}),{autocomplete:["(grid-auto-flow|auto-flow|grid-flow)-(row|col|dense|row-dense|col-dense)"]}],[/^(?:grid-)?(rows|cols)-(.+)$/,([,t,e])=>({[`grid-template-${Te(t)}`]:E.bracket.cssvar(e)})],[/^(?:grid-)?(rows|cols)-minmax-([\w.-]+)$/,([,t,e])=>({[`grid-template-${Te(t)}`]:`repeat(auto-fill,minmax(${e},1fr))`})],[/^(?:grid-)?(rows|cols)-(\d+)$/,([,t,e])=>({[`grid-template-${Te(t)}`]:`repeat(${e},minmax(0,1fr))`}),{autocomplete:"(grid-rows|grid-cols|rows|cols)-<num>"}],[/^grid-area(s)?-(.+)$/,([,t,e])=>t!=null?{"grid-template-areas":E.cssvar(e)??e.split("-").map(r=>`"${E.bracket(r)}"`).join(" ")}:{"grid-area":E.bracket.cssvar(e)}],["grid-rows-none",{"grid-template-rows":"none"}],["grid-cols-none",{"grid-template-columns":"none"}],["grid-rows-subgrid",{"grid-template-rows":"subgrid"}],["grid-cols-subgrid",{"grid-template-columns":"subgrid"}]],Cr=["auto","hidden","clip","visible","scroll","overlay",...ee],Gp=[[/^(?:overflow|of)-(.+)$/,([,t])=>Cr.includes(t)?{overflow:t}:void 0,{autocomplete:[`(overflow|of)-(${Cr.join("|")})`,`(overflow|of)-(x|y)-(${Cr.join("|")})`]}],[/^(?:overflow|of)-([xy])-(.+)$/,([,t,e])=>Cr.includes(e)?{[`overflow-${t}`]:e}:void 0]],Yp=[[/^line-clamp-(\d+)$/,([,t])=>({overflow:"hidden",display:"-webkit-box","-webkit-box-orient":"vertical","-webkit-line-clamp":t}),{autocomplete:["line-clamp","line-clamp-(1|2|3|4|5|6|none)"]}],["line-clamp-none",{overflow:"visible",display:"block","-webkit-box-orient":"horizontal","-webkit-line-clamp":"unset"}]],ni={t:["top"],b:["bottom"],l:["left"],r:["right"],x:["left","right"],y:["top","bottom"]},Qa="linear-gradient(#fff, #fff)",Jp={"mask-image":"var(--un-mask-linear), var(--un-mask-radial), var(--un-mask-conic)","mask-composite":"intersect"};function eo([,t=""]){if(t in Pr)return{"mask-position":t.split("").flatMap(r=>ni[r]).join(" ")};let e=E.bracket.cssvar.global.position(t);if(e!==null)return{"mask-position":e}}function Mn([t,e="",r,n],i){let a={...Jp},s=[];if(s.push(...["linear","radial","conic"].map(o=>L(`--un-mask-${o}`,{initialValue:Qa}))),e in ni){a["--un-mask-linear"]="var(--un-mask-left), var(--un-mask-right), var(--un-mask-bottom), var(--un-mask-top)";for(let o of ni[e]){if(a[`--un-mask-${o}`]=`linear-gradient(to ${o}, var(--un-mask-${o}-from-color) var(--un-mask-${o}-from-position), var(--un-mask-${o}-to-color) var(--un-mask-${o}-to-position))`,$e(n)!=null?(T("spacing"),a[`--un-mask-${o}-${r}-position`]=`calc(var(--spacing) * ${E.bracket.cssvar.fraction.number(n)})`):a[`--un-mask-${o}-${r}-position`]=E.bracket.cssvar.fraction.rem(n),nt(n,i.theme)){let u=Q(`--un-mask-${o}-${r}-color`,ti("colors"))([t,n],i);if(u){let[c,...d]=u;Object.assign(a,c),s.push(...d)}}s.push(...["from","to"].flatMap(u=>[L(`--un-mask-${o}-${u}-position`,{syntax:"<length-percentage>",initialValue:u==="from"?"0%":"100%"}),L(`--un-mask-${o}-${u}-color`,{syntax:"<color>",initialValue:u==="from"?"black":"transparent"})]))}s.push(...["top","right","bottom","left"].map(o=>L(`--un-mask-${o}`,{initialValue:Qa})))}else{if(r==null)e==="radial"?(a["--un-mask-radial"]="radial-gradient(var(--un-mask-radial-stops, var(--un-mask-radial-size)))",a["--un-mask-radial-size"]=E.bracket.cssvar.rem(n)):(a[`--un-mask-${e}`]=`${e}-gradient(var(--un-mask-${e}-stops, var(--un-mask-${e}-position)))`,a[`--un-mask-${e}-position`]=$e(n)?`calc(1deg * ${E.bracket.cssvar.number(n)})`:E.bracket.cssvar.fraction(n));else{let o={linear:"",radial:"var(--un-mask-radial-shape) var(--un-mask-radial-size) at ",conic:"from "};if(a[`--un-mask-${e}-stops`]=`${o[e]}var(--un-mask-${e}-position), var(--un-mask-${e}-from-color) var(--un-mask-${e}-from-position), var(--un-mask-${e}-to-color) var(--un-mask-${e}-to-position)`,a[`--un-mask-${e}`]=`${e}-gradient(var(--un-mask-${e}-stops))`,nt(n,i.theme)){let u=Q(`--un-mask-${e}-${r}-color`,ti("colors"))([t,n],i);if(u){let[c,...d]=u;Object.assign(a,c),s.push(...d)}}else $e(n)!=null?(T("spacing"),a[`--un-mask-${e}-${r}-position`]=`calc(var(--spacing) * ${E.bracket.cssvar.fraction.number(n)})`):a[`--un-mask-${e}-${r}-position`]=E.bracket.cssvar.fraction.rem(n)}e==="radial"&&s.push(L("--un-mask-radial-shape",{initialValue:"ellipse"}),L("--un-mask-radial-size",{initialValue:"farthest-corner"})),s.push(...["from","to"].flatMap(o=>[L(`--un-mask-${e}-position`,{initialValue:e==="radial"?"center":"0deg"}),L(`--un-mask-${e}-${o}-position`,{syntax:"<length-percentage>",initialValue:o==="from"?"0%":"100%"}),L(`--un-mask-${e}-${o}-color`,{syntax:"<color>",initialValue:o==="from"?"black":"transparent"})]))}return[a,...s]}function Kp([,t=""]){let e=E.bracket.cssvar.global.fraction.rem(t);if(e!==null)return{"mask-size":e}}var Xp=[["mask-clip-border",{"mask-clip":"border-box"}],["mask-clip-padding",{"mask-clip":"padding-box"}],["mask-clip-content",{"mask-clip":"content-box"}],["mask-clip-fill",{"mask-clip":"fill-box"}],["mask-clip-stroke",{"mask-clip":"stroke-box"}],["mask-clip-view",{"mask-clip":"view-box"}],["mask-no-clip",{"mask-clip":"no-clip"}],["mask-add",{"mask-composite":"add"}],["mask-subtract",{"mask-composite":"subtract"}],["mask-intersect",{"mask-composite":"intersect"}],["mask-exclude",{"mask-composite":"exclude"}],[/^mask-(.+)$/,([,t])=>({"mask-image":E.bracket.cssvar(t)})],[/^mask-(linear|radial|conic|[xytblr])-(from|to)()(?:-(.+))?$/,Mn,{autocomplete:["mask-(linear|radial|conic)-(from|to)-$colors","mask-(linear|radial|conic)-(from|to)-<percentage>","mask-(linear|radial|conic)-(from|to)","mask-(linear|radial|conic)-<percent>","mask-(x|y|t|b|l|r)-(from|to)-$colors","mask-(x|y|t|b|l|r)-(from|to)-<percentage>","mask-(x|y|t|b|l|r)-(from|to)","mask-(x|y|t|b|l|r)-<percent>"]}],[/^mask-(linear|radial|conic)-(from|to)?-?(.*)$/,Mn],[/^mask-([trblxy])-(from|to)-(.*)$/,Mn],["mask-none",{"mask-image":"none"}],["mask-radial-circle",{"--un-mask-radial-shape":"circle"}],["mask-radial-ellipse",{"--un-mask-radial-shape":"ellipse"}],["mask-radial-closest-side",{"--un-mask-radial-size":"closest-side"}],["mask-radial-closest-corner",{"--un-mask-radial-size":"closest-corner"}],["mask-radial-farthest-side",{"--un-mask-radial-size":"farthest-side"}],["mask-radial-farthest-corner",{"--un-mask-radial-size":"farthest-corner"}],[/^mask-radial-at-([-\w]{3,})$/,([,t])=>({"--un-mask-radial-position":ce[t]}),{autocomplete:[`mask-radial-at-(${Object.keys(ce).filter(t=>t.length>2).join("|")})`]}],["mask-alpha",{"mask-mode":"alpha"}],["mask-luminance",{"mask-mode":"luminance"}],["mask-match",{"mask-mode":"match-source"}],["mask-origin-border",{"mask-origin":"border-box"}],["mask-origin-padding",{"mask-origin":"padding-box"}],["mask-origin-content",{"mask-origin":"content-box"}],["mask-origin-fill",{"mask-origin":"fill-box"}],["mask-origin-stroke",{"mask-origin":"stroke-box"}],["mask-origin-view",{"mask-origin":"view-box"}],[/^mask-([rltb]{1,2})$/,eo],[/^mask-([-\w]{3,})$/,([,t])=>({"mask-position":ce[t]})],[/^mask-(?:position-|pos-)(.+)$/,eo],["mask-repeat",{"mask-repeat":"repeat"}],["mask-no-repeat",{"mask-repeat":"no-repeat"}],["mask-repeat-x",{"mask-repeat":"repeat-x"}],["mask-repeat-y",{"mask-repeat":"repeat-y"}],["mask-repeat-space",{"mask-repeat":"space"}],["mask-repeat-round",{"mask-repeat":"round"}],["mask-auto",{"mask-size":"auto"}],["mask-cover",{"mask-size":"cover"}],["mask-contain",{"mask-size":"contain"}],[/^mask-size-(.+)$/,Kp],["mask-type-luminance",{"mask-type":"luminance"}],["mask-type-alpha",{"mask-type":"alpha"}]],Qp=[[/^\$ placeholder-(.+)$/,Q("color","placeholder"),{autocomplete:"placeholder-$colors"}],[/^\$ placeholder-op(?:acity)?-?(.+)$/,([,t])=>({"--un-placeholder-opacity":E.bracket.percent(t)}),{autocomplete:["placeholder-(op|opacity)","placeholder-(op|opacity)-<percent>"]}]],ef=[[/^(?:position-|pos-)?(relative|absolute|fixed|sticky)$/,([,t])=>({position:t}),{autocomplete:["(position|pos)-<position>","(position|pos)-<globalKeyword>","<position>"]}],[/^(?:position-|pos-)([-\w]+)$/,([,t])=>ee.includes(t)?{position:t}:void 0],[/^(?:position-|pos-)?(static)$/,([,t])=>({position:t})]],iu=[["justify-start",{"justify-content":"flex-start"}],["justify-end",{"justify-content":"flex-end"}],["justify-center",{"justify-content":"center"}],["justify-between",{"justify-content":"space-between"}],["justify-around",{"justify-content":"space-around"}],["justify-evenly",{"justify-content":"space-evenly"}],["justify-stretch",{"justify-content":"stretch"}],["justify-left",{"justify-content":"left"}],["justify-right",{"justify-content":"right"}],["justify-center-safe",{"justify-content":"safe center"}],["justify-end-safe",{"justify-content":"safe flex-end"}],["justify-normal",{"justify-content":"normal"}],...I("justify","justify-content"),["justify-items-start",{"justify-items":"start"}],["justify-items-end",{"justify-items":"end"}],["justify-items-center",{"justify-items":"center"}],["justify-items-stretch",{"justify-items":"stretch"}],["justify-items-center-safe",{"justify-items":"safe center"}],["justify-items-end-safe",{"justify-items":"safe flex-end"}],...I("justify-items"),["justify-self-auto",{"justify-self":"auto"}],["justify-self-start",{"justify-self":"start"}],["justify-self-end",{"justify-self":"end"}],["justify-self-center",{"justify-self":"center"}],["justify-self-stretch",{"justify-self":"stretch"}],["justify-self-baseline",{"justify-self":"baseline"}],["justify-self-center-safe",{"justify-self":"safe center"}],["justify-self-end-safe",{"justify-self":"safe flex-end"}],...I("justify-self")],tf=[[/^order-(.+)$/,([,t])=>({order:E.bracket.cssvar.number(t)})],["order-first",{order:"calc(-infinity)"}],["order-last",{order:"calc(infinity)"}],["order-none",{order:"0"}]],au=[["content-center",{"align-content":"center"}],["content-start",{"align-content":"flex-start"}],["content-end",{"align-content":"flex-end"}],["content-between",{"align-content":"space-between"}],["content-around",{"align-content":"space-around"}],["content-evenly",{"align-content":"space-evenly"}],["content-baseline",{"align-content":"baseline"}],["content-center-safe",{"align-content":"safe center"}],["content-end-safe",{"align-content":"safe flex-end"}],["content-stretch",{"align-content":"stretch"}],["content-normal",{"align-content":"normal"}],...I("content","align-content"),["items-start",{"align-items":"flex-start"}],["items-end",{"align-items":"flex-end"}],["items-center",{"align-items":"center"}],["items-baseline",{"align-items":"baseline"}],["items-stretch",{"align-items":"stretch"}],["items-baseline-last",{"align-items":"last baseline"}],["items-center-safe",{"align-items":"safe center"}],["items-end-safe",{"align-items":"safe flex-end"}],...I("items","align-items"),["self-auto",{"align-self":"auto"}],["self-start",{"align-self":"flex-start"}],["self-end",{"align-self":"flex-end"}],["self-center",{"align-self":"center"}],["self-stretch",{"align-self":"stretch"}],["self-baseline",{"align-self":"baseline"}],["self-baseline-last",{"align-self":"last baseline"}],["self-center-safe",{"align-self":"safe center"}],["self-end-safe",{"align-self":"safe flex-end"}],...I("self","align-self")],ou=[["place-content-center",{"place-content":"center"}],["place-content-start",{"place-content":"start"}],["place-content-end",{"place-content":"end"}],["place-content-between",{"place-content":"space-between"}],["place-content-around",{"place-content":"space-around"}],["place-content-evenly",{"place-content":"space-evenly"}],["place-content-stretch",{"place-content":"stretch"}],["place-content-baseline",{"place-content":"baseline"}],["place-content-center-safe",{"place-content":"safe center"}],["place-content-end-safe",{"place-content":"safe flex-end"}],...I("place-content"),["place-items-start",{"place-items":"start"}],["place-items-end",{"place-items":"end"}],["place-items-center",{"place-items":"center"}],["place-items-stretch",{"place-items":"stretch"}],["place-items-baseline",{"place-items":"baseline"}],["place-items-center-safe",{"place-items":"safe center"}],["place-items-end-safe",{"place-items":"safe flex-end"}],...I("place-items"),["place-self-auto",{"place-self":"auto"}],["place-self-start",{"place-self":"start"}],["place-self-end",{"place-self":"end"}],["place-self-center",{"place-self":"center"}],["place-self-stretch",{"place-self":"stretch"}],["place-self-center-safe",{"place-self":"safe center"}],["place-self-end-safe",{"place-self":"safe flex-end"}],...I("place-self")],rf=[...iu,...au,...ou].flatMap(([t,e])=>[[`flex-${t}`,e],[`grid-${t}`,e]]);function ii(t){let e=$e(t);return e!=null?(T("spacing"),`calc(var(--spacing) * ${e})`):E.bracket.cssvar.global.auto.fraction.rem(t)}function Zt([,t,e]){let r=ii(e);if(r!=null&&t in Ra)return Ra[t].map(n=>[n.slice(1),r])}var nf=[[/^(?:position-|pos-)?inset-(.+)$/,([,t])=>({inset:ii(t)}),{autocomplete:["(position|pos)-inset-<directions>-$spacing","(position|pos)-inset-(block|inline)-$spacing","(position|pos)-inset-(bs|be|is|ie)-$spacing","(position|pos)-(top|left|right|bottom)-$spacing"]}],[/^(?:position-|pos-)?(start|end)-(.+)$/,Zt],[/^(?:position-|pos-)?inset-([xy])-(.+)$/,Zt],[/^(?:position-|pos-)?inset-([rltbse])-(.+)$/,Zt],[/^(?:position-|pos-)?inset-(block|inline)-(.+)$/,Zt],[/^(?:position-|pos-)?inset-([bi][se])-(.+)$/,Zt],[/^(?:position-|pos-)?(top|left|right|bottom)-(.+)$/,([,t,e])=>({[t]:ii(e)})]],af=[["float-left",{float:"left"}],["float-right",{float:"right"}],["float-start",{float:"inline-start"}],["float-end",{float:"inline-end"}],["float-none",{float:"none"}],...I("float"),["clear-left",{clear:"left"}],["clear-right",{clear:"right"}],["clear-both",{clear:"both"}],["clear-start",{clear:"inline-start"}],["clear-end",{clear:"inline-end"}],["clear-none",{clear:"none"}],...I("clear")],of=[[/^(?:position-|pos-)?z([\d.]+)$/,([,t])=>({"z-index":E.number(t)})],[/^(?:position-|pos-)?z-(.+)$/,([,t])=>({"z-index":E.bracket.cssvar.global.auto.number(t)}),{autocomplete:"z-<num>"}]],sf=[["box-border",{"box-sizing":"border-box"}],["box-content",{"box-sizing":"content-box"}],...I("box","box-sizing")],uf=[[/^(where|\?)$/,(t,{constructCSS:e,generator:r})=>{if(r.userConfig.envMode==="dev")return`@keyframes __un_qm{0%{box-shadow:inset 4px 4px #ff1e90, inset -4px -4px #ff1e90}100%{box-shadow:inset 8px 8px #3399ff, inset -8px -8px #3399ff}} ${e({animation:"__un_qm 0.5s ease-in-out alternate infinite"})}`}]],ai={shadow:L("--un-shadow",{initialValue:"0 0 #0000"}),shadowColor:L("--un-shadow-color"),insetShadow:L("--un-inset-shadow",{initialValue:"0 0 #0000"}),insetShadowColor:L("--un-inset-shadow-color"),ringColor:L("--un-ring-color"),ringShadow:L("--un-ring-shadow",{initialValue:"0 0 #0000"}),insetRingColor:L("--un-inset-ring-color"),insetRingShadow:L("--un-inset-ring-shadow",{initialValue:"0 0 #0000"}),ringInset:L("--un-ring-inset"),ringOffsetWidth:L("--un-ring-offset-width",{syntax:"<length>",initialValue:"0px"}),ringOffsetColor:L("--un-ring-offset-color"),ringOffsetShadow:L("--un-ring-offset-shadow",{initialValue:"0 0 #0000"})},lf=[[/^shadow(?:-?(.+))?$/,to("shadow"),{autocomplete:["shadow-$colors","shadow-$shadow"]}],[/^shadow-op(?:acity)?-?(.+)$/,([,t])=>({"--un-shadow-opacity":E.bracket.percent.cssvar(t)}),{autocomplete:"shadow-(op|opacity)-<percent>"}],[/^inset-shadow(?:-(.+))?$/,to("insetShadow"),{autocomplete:["inset-shadow-$colors","inset-shadow-$insetShadow"]}],[/^inset-shadow-op(?:acity)?-?(.+)$/,([,t])=>({"--un-inset-shadow-opacity":E.bracket.percent.cssvar(t)}),{autocomplete:"shadow-(op|opacity)-<percent>"}]];function to(t){return(e,r)=>{let[,n]=e,{theme:i}=r,a=[];n&&(a=rt(n,"/",2)??[],n.startsWith("/")&&(a=["",n.slice(1)]));let s=i[t]?.[a[0]||"DEFAULT"],o=n?E.bracket.cssvar(n):void 0,u=ti(t);if((s!=null||o!=null)&&!nt(o,i)){let c=a[1]?E.bracket.percent.cssvar(a[1]):void 0;return[{[`--un-${u}-opacity`]:c,[`--un-${u}`]:Si(s||o,`--un-${u}-color`,c).join(","),"box-shadow":"var(--un-inset-shadow), var(--un-inset-ring-shadow), var(--un-ring-offset-shadow), var(--un-ring-shadow), var(--un-shadow)"},...Object.values(ai)]}return Q(`--un-${u}-color`,u)(e,r)}}var cf=[[/^ring(?:-(.+))?$/,([,t])=>{let e=E.bracket.px(t||"1");if(e!=null)return[{"--un-ring-shadow":`var(--un-ring-inset,) 0 0 0 calc(${e} + var(--un-ring-offset-width)) var(--un-ring-color, currentColor)`,"box-shadow":"var(--un-inset-shadow), var(--un-inset-ring-shadow), var(--un-ring-offset-shadow), var(--un-ring-shadow), var(--un-shadow)"},...Object.values(ai)]}],[/^ring-(.+)$/,Q("--un-ring-color","ring"),{autocomplete:"ring-$colors"}],[/^ring-op(?:acity)?-?(.+)$/,([,t])=>({"--un-ring-opacity":E.bracket.percent.cssvar(t)}),{autocomplete:"ring-(op|opacity)-<percent>"}],[/^inset-ring(?:-(.+))?$/,([,t])=>{let e=E.bracket.px(t||"1");if(e!=null)return[{"--un-inset-ring-shadow":`inset 0 0 0 ${e} var(--un-inset-ring-color, currentColor)`,"box-shadow":"var(--un-inset-shadow), var(--un-inset-ring-shadow), var(--un-ring-offset-shadow), var(--un-ring-shadow), var(--un-shadow)"},...Object.values(ai)]}],[/^inset-ring-(.+)$/,Q("--un-inset-ring-color","inset-ring"),{autocomplete:"inset-ring-$colors"}],[/^inset-ring-op(?:acity)?-?(.+)$/,([,t])=>({"--un-inset-ring-opacity":E.bracket.percent.cssvar(t)}),{autocomplete:"inset-ring-(op|opacity)-<percent>"}],[/^ring-offset(?:-(?:width-|size-)?(.+))?$/,([,t])=>{let e=E.bracket.cssvar.px(t||"1");if(e!=null)return{"--un-ring-offset-width":e,"--un-ring-offset-shadow":"var(--un-ring-inset,) 0 0 0 var(--un-ring-offset-width) var(--un-ring-offset-color)"}},{autocomplete:"ring-offset-$colors"}],[/^ring-offset-(.+)$/,Q("--un-ring-offset-color","ring-offset"),{autocomplete:"ring-offset-$colors"}],[/^ring-offset-op(?:acity)?-?(.+)$/,([,t])=>({"--un-ring-offset-opacity":E.bracket.percent.cssvar(t)}),{autocomplete:"ring-offset-(op|opacity)-<percent>"}],["ring-inset",{"--un-ring-inset":"inset"}]],df=[...["x","y","both"].map(t=>[`snap-${t}`,[{"scroll-snap-type":`${t} var(--un-scroll-snap-strictness)`},L("--un-scroll-snap-strictness",{initialValue:"proximity"})]]),...["mandatory","proximity"].map(t=>[`snap-${t}`,[{"--un-scroll-snap-strictness":t},L("--un-scroll-snap-strictness",{initialValue:"proximity"})]]),["snap-none",{"scroll-snap-type":"none"}],["snap-start",{"scroll-snap-align":"start"}],["snap-end",{"scroll-snap-align":"end"}],["snap-center",{"scroll-snap-align":"center"}],["snap-align-none",{"scroll-snap-align":"none"}],["snap-normal",{"scroll-snap-stop":"normal"}],["snap-always",{"scroll-snap-stop":"always"}],[/^scroll-ma?()-?(.+)$/,H("scroll-margin"),{autocomplete:["scroll-(m|p|ma|pa|block|inline)","scroll-(m|p|ma|pa|block|inline)-$spacing","scroll-(m|p|ma|pa|block|inline)-(x|y|r|l|t|b|bs|be|is|ie)","scroll-(m|p|ma|pa|block|inline)-(x|y|r|l|t|b|bs|be|is|ie)-$spacing"]}],[/^scroll-m-?([xy])-?(.+)$/,H("scroll-margin")],[/^scroll-m-?([rltb])-?(.+)$/,H("scroll-margin")],[/^scroll-m-(block|inline)-(.+)$/,H("scroll-margin")],[/^scroll-m-?([bi][se])-?(.+)$/,H("scroll-margin")],[/^scroll-pa?()-?(.+)$/,H("scroll-padding")],[/^scroll-p-?([xy])-?(.+)$/,H("scroll-padding")],[/^scroll-p-?([rltb])-?(.+)$/,H("scroll-padding")],[/^scroll-p-(block|inline)-(.+)$/,H("scroll-padding")],[/^scroll-p-?([bi][se])-?(.+)$/,H("scroll-padding")]],hf={h:"height",w:"width",inline:"inline-size",block:"block-size"};function yt(t,e){return`${t||""}${hf[e]}`}function Dr(t,e,r){let n;for(let i of["container","spacing"])if(t[i]?.[r]){T(i,r),n=X(i,r);break}if(!n)switch(r){case"fit":case"max":case"min":n=`${r}-content`;break;case"stretch":n="stretch";break;case"screen":n=e==="w"?"100vw":"100vh";break}return!n&&E.number(r)!=null&&(T("spacing"),n=`calc(var(--spacing) * ${E.number(r)})`),n??E.bracket.cssvar.global.auto.none.fraction.rem(r)}var pf=[[/^size-(min-|max-)?(.+)$/,([,t,e],{theme:r})=>({[yt(t,"w")]:Dr(r,"w",e),[yt(t,"h")]:Dr(r,"h",e)})],[/^(?:size-)?(min-|max-)?([wh])-?(.+)$/,([,t,e,r],{theme:n})=>({[yt(t,e)]:Dr(n,e,r)})],[/^(?:size-)?(min-|max-)?(block|inline)-(.+)$/,([,t,e,r],{theme:n})=>({[yt(t,e)]:Dr(n,e,r)}),{autocomplete:["(w|h)-<num>","(w|h)-(full|screen|fit|max|min)","(max|min)-(w|h)-<num>","(max|min)-(w|h)-(full|screen|fit|max|min)","(block|inline)-<num>","(block|inline)-(full|screen|fit|max|min)","(max|min)-(w|h|block|inline)","(max|min)-(w|h|block|inline)-<num>","(max|min)-(w|h|block|inline)-(full|screen|fit|max|min)"]}],[/^(?:size-)?(min-|max-)?(h)-screen-(.+)$/,([,t,e,r],n)=>({[yt(t,e)]:ro(n,r,"verticalBreakpoint")})],[/^(?:size-)?(min-|max-)?(w)-screen-(.+)$/,([,t,e,r],n)=>({[yt(t,e)]:ro(n,r)}),{autocomplete:["(w|h)-screen","(min|max)-(w|h)-screen","h-screen-$breakpoint","(min|max)-h-screen-$breakpoint","w-screen-$breakpoint","(min|max)-w-screen-$breakpoint"]}]];function ro(t,e,r="breakpoint"){let n=un(t,r);if(n)return n.find(i=>i.point===e)?.size}function ff(t){if(/^\d+\/\d+$/.test(t))return t;switch(t){case"square":return"1/1";case"video":return"16/9"}return E.bracket.cssvar.global.auto.number(t)}var mf=[[/^(?:size-)?aspect-(?:ratio-)?(.+)$/,([,t])=>({"aspect-ratio":ff(t)}),{autocomplete:["aspect-(square|video|ratio)","aspect-ratio-(square|video)"]}]],gf=["auto","default","none","context-menu","help","pointer","progress","wait","cell","crosshair","text","vertical-text","alias","copy","move","no-drop","not-allowed","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out"],Nn=["size","layout","paint","style"],bf=[["inline",{display:"inline"}],["block",{display:"block"}],["inline-block",{display:"inline-block"}],["contents",{display:"contents"}],["flow-root",{display:"flow-root"}],["list-item",{display:"list-item"}],["hidden",{display:"none"}],[/^display-(.+)$/,([,t])=>({display:E.bracket.cssvar.global(t)})]],yf=[["visible",{visibility:"visible"}],["invisible",{visibility:"hidden"}],["collapse",{visibility:"collapse"}],["backface-visible",{"backface-visibility":"visible"}],["backface-hidden",{"backface-visibility":"hidden"}],...I("backface","backface-visibility")],vf=[[/^cursor-(.+)$/,([,t])=>({cursor:E.bracket.cssvar.global(t)})],...gf.map(t=>[`cursor-${t}`,{cursor:t}])],kf=[[/^contain-(.*)$/,([,t])=>E.bracket(t)!=null?{contain:E.bracket(t).split(" ").map(e=>E.cssvar.fraction(e)??e).join(" ")}:Nn.includes(t)?[{"--un-contain-size":t,contain:Nn.map(e=>`var(--un-contain-${e})`).join(" ")},...Nn.map(e=>L(`--un-contain-${e}`))]:void 0],["contain-strict",{contain:"strict"}],["contain-content",{contain:"content"}],["contain-none",{contain:"none"}]],xf=[["pointer-events-auto",{"pointer-events":"auto"}],["pointer-events-none",{"pointer-events":"none"}],...I("pointer-events")],wf=[["resize-x",{resize:"horizontal"}],["resize-y",{resize:"vertical"}],["resize",{resize:"both"}],["resize-none",{resize:"none"}],...I("resize")],$f=[["select-auto",{"-webkit-user-select":"auto","user-select":"auto"}],["select-all",{"-webkit-user-select":"all","user-select":"all"}],["select-text",{"-webkit-user-select":"text","user-select":"text"}],["select-none",{"-webkit-user-select":"none","user-select":"none"}],...I("select","user-select")],Ef=[[/^(?:whitespace-|ws-)([-\w]+)$/,([,t])=>["normal","nowrap","pre","pre-line","pre-wrap","break-spaces",...ee].includes(t)?{"white-space":t}:void 0,{autocomplete:"(whitespace|ws)-(normal|nowrap|pre|pre-line|pre-wrap|break-spaces)"}]],Sf=[[/^intrinsic(?:-(block|inline|w|h))?(?:-size)?-(.+)$/,([,t,e])=>({[`contain-intrinsic-${{block:"block-size",inline:"inline-size",w:"width",h:"height"}[t]??"size"}`]:E.bracket.cssvar.global.fraction.rem(e)}),{autocomplete:["intrinsic-size-<num>","intrinsic-<num>","intrinsic-(block|inline|w|h)-<num>"]}],["content-visibility-visible",{"content-visibility":"visible"}],["content-visibility-hidden",{"content-visibility":"hidden"}],["content-visibility-auto",{"content-visibility":"auto"}],...I("content-visibility")],_f=[[/^content-(.+)$/,([,t])=>{if(E.bracket.cssvar(t)!=null)return[{"--un-content":E.bracket.cssvar(t),content:"var(--un-content)"},L("--un-content",{initialValue:'""'})]}],["content-empty",{content:'""'}],["content-none",{content:"none"}]],Af=[["break-normal",{"overflow-wrap":"normal","word-break":"normal"}],["break-words",{"overflow-wrap":"break-word"}],["break-all",{"word-break":"break-all"}],["break-keep",{"word-break":"keep-all"}],["break-anywhere",{"overflow-wrap":"anywhere"}],["wrap-break-word",{"overflow-wrap":"break-word"}],["wrap-anywhere",{"overflow-wrap":"anywhere"}],["wrap-normal",{"overflow-wrap":"normal"}]],Cf=[["text-wrap",{"text-wrap":"wrap"}],["text-nowrap",{"text-wrap":"nowrap"}],["text-balance",{"text-wrap":"balance"}],["text-pretty",{"text-wrap":"pretty"}]],Df=[["truncate",{overflow:"hidden","text-overflow":"ellipsis","white-space":"nowrap"}],["text-truncate",{overflow:"hidden","text-overflow":"ellipsis","white-space":"nowrap"}],["text-ellipsis",{"text-overflow":"ellipsis"}],["text-clip",{"text-overflow":"clip"}]],Of=[["case-upper",{"text-transform":"uppercase"}],["case-lower",{"text-transform":"lowercase"}],["case-capital",{"text-transform":"capitalize"}],["case-normal",{"text-transform":"none"}],["uppercase",{"text-transform":"uppercase"}],["lowercase",{"text-transform":"lowercase"}],["capitalize",{"text-transform":"capitalize"}],["normal-case",{"text-transform":"none"}],...I("case","text-transform")],Bf=[["italic",{"font-style":"italic"}],["not-italic",{"font-style":"normal"}],["font-italic",{"font-style":"italic"}],["font-not-italic",{"font-style":"normal"}],["oblique",{"font-style":"oblique"}],["not-oblique",{"font-style":"normal"}],["font-oblique",{"font-style":"oblique"}],["font-not-oblique",{"font-style":"normal"}]],Ff=[["antialiased",{"-webkit-font-smoothing":"antialiased","-moz-osx-font-smoothing":"grayscale"}],["subpixel-antialiased",{"-webkit-font-smoothing":"auto","-moz-osx-font-smoothing":"auto"}]],Mf=[...["manual","auto","none",...ee].map(t=>[`hyphens-${t}`,{"-webkit-hyphens":t,"-ms-hyphens":t,hyphens:t}])],Nf=[["write-vertical-right",{"writing-mode":"vertical-rl"}],["write-vertical-left",{"writing-mode":"vertical-lr"}],["write-normal",{"writing-mode":"horizontal-tb"}],...I("write","writing-mode")],Lf=[["write-orient-mixed",{"text-orientation":"mixed"}],["write-orient-sideways",{"text-orientation":"sideways"}],["write-orient-upright",{"text-orientation":"upright"}],...I("write-orient","text-orientation")],Pf=[["sr-only",{position:"absolute",width:"1px",height:"1px",padding:"0",margin:"-1px",overflow:"hidden",clip:"rect(0,0,0,0)","white-space":"nowrap","border-width":0}],["not-sr-only",{position:"static",width:"auto",height:"auto",padding:"0",margin:"0",overflow:"visible",clip:"auto","white-space":"normal"}]],zf=[["isolate",{isolation:"isolate"}],["isolate-auto",{isolation:"auto"}],["isolation-auto",{isolation:"auto"}]],Tf=[["object-cover",{"object-fit":"cover"}],["object-contain",{"object-fit":"contain"}],["object-fill",{"object-fit":"fill"}],["object-scale-down",{"object-fit":"scale-down"}],["object-none",{"object-fit":"none"}],[/^object-(.+)$/,([,t])=>{if(ce[t])return{"object-position":ce[t]};if(E.bracketOfPosition(t)!=null)return{"object-position":E.bracketOfPosition(t).split(" ").map(e=>E.position.fraction.auto.px.cssvar(e)??e).join(" ")}},{autocomplete:`object-(${Object.keys(ce).join("|")})`}]],jf=[["bg-blend-multiply",{"background-blend-mode":"multiply"}],["bg-blend-screen",{"background-blend-mode":"screen"}],["bg-blend-overlay",{"background-blend-mode":"overlay"}],["bg-blend-darken",{"background-blend-mode":"darken"}],["bg-blend-lighten",{"background-blend-mode":"lighten"}],["bg-blend-color-dodge",{"background-blend-mode":"color-dodge"}],["bg-blend-color-burn",{"background-blend-mode":"color-burn"}],["bg-blend-hard-light",{"background-blend-mode":"hard-light"}],["bg-blend-soft-light",{"background-blend-mode":"soft-light"}],["bg-blend-difference",{"background-blend-mode":"difference"}],["bg-blend-exclusion",{"background-blend-mode":"exclusion"}],["bg-blend-hue",{"background-blend-mode":"hue"}],["bg-blend-saturation",{"background-blend-mode":"saturation"}],["bg-blend-color",{"background-blend-mode":"color"}],["bg-blend-luminosity",{"background-blend-mode":"luminosity"}],["bg-blend-normal",{"background-blend-mode":"normal"}],...I("bg-blend","background-blend")],If=[["mix-blend-multiply",{"mix-blend-mode":"multiply"}],["mix-blend-screen",{"mix-blend-mode":"screen"}],["mix-blend-overlay",{"mix-blend-mode":"overlay"}],["mix-blend-darken",{"mix-blend-mode":"darken"}],["mix-blend-lighten",{"mix-blend-mode":"lighten"}],["mix-blend-color-dodge",{"mix-blend-mode":"color-dodge"}],["mix-blend-color-burn",{"mix-blend-mode":"color-burn"}],["mix-blend-hard-light",{"mix-blend-mode":"hard-light"}],["mix-blend-soft-light",{"mix-blend-mode":"soft-light"}],["mix-blend-difference",{"mix-blend-mode":"difference"}],["mix-blend-exclusion",{"mix-blend-mode":"exclusion"}],["mix-blend-hue",{"mix-blend-mode":"hue"}],["mix-blend-saturation",{"mix-blend-mode":"saturation"}],["mix-blend-color",{"mix-blend-mode":"color"}],["mix-blend-luminosity",{"mix-blend-mode":"luminosity"}],["mix-blend-plus-lighter",{"mix-blend-mode":"plus-lighter"}],["mix-blend-normal",{"mix-blend-mode":"normal"}],...I("mix-blend")],Rf=[["min-h-dvh",{"min-height":"100dvh"}],["min-h-svh",{"min-height":"100svh"}],["min-h-lvh",{"min-height":"100lvh"}],["h-dvh",{height:"100dvh"}],["h-svh",{height:"100svh"}],["h-lvh",{height:"100lvh"}],["max-h-dvh",{"max-height":"100dvh"}],["max-h-svh",{"max-height":"100svh"}],["max-h-lvh",{"max-height":"100lvh"}]],Vf=[["forced-color-adjust-auto",{"forced-color-adjust":"auto"}],["forced-color-adjust-none",{"forced-color-adjust":"none"}]],qf=[["field-sizing-fixed",{"field-sizing":"fixed"}],["field-sizing-content",{"field-sizing":"content"}]],Uf=[[/^fill-(.+)$/,Q("fill","fill"),{autocomplete:"fill-$colors"}],[/^fill-op(?:acity)?-?(.+)$/,([,t])=>({"--un-fill-opacity":E.bracket.percent.cssvar(t)}),{autocomplete:"fill-(op|opacity)-<percent>"}],["fill-none",{fill:"none"}],[/^stroke-(?:width-|size-)?(.+)$/,su],[/^stroke-dash-(.+)$/,([,t])=>({"stroke-dasharray":E.bracket.cssvar.number(t)}),{autocomplete:"stroke-dash-<num>"}],[/^stroke-offset-(.+)$/,([,t])=>({"stroke-dashoffset":E.bracket.cssvar.px.numberWithUnit(t)})],[/^stroke-(.+)$/,Wf,{autocomplete:"stroke-$colors"}],[/^stroke-op(?:acity)?-?(.+)$/,([,t])=>({"--un-stroke-opacity":E.bracket.percent.cssvar(t)}),{autocomplete:"stroke-(op|opacity)-<percent>"}],["stroke-cap-square",{"stroke-linecap":"square"}],["stroke-cap-round",{"stroke-linecap":"round"}],["stroke-cap-auto",{"stroke-linecap":"butt"}],["stroke-join-arcs",{"stroke-linejoin":"arcs"}],["stroke-join-bevel",{"stroke-linejoin":"bevel"}],["stroke-join-clip",{"stroke-linejoin":"miter-clip"}],["stroke-join-round",{"stroke-linejoin":"round"}],["stroke-join-auto",{"stroke-linejoin":"miter"}],["stroke-none",{stroke:"none"}]];function su([,t]){return{"stroke-width":E.bracket.cssvar.fraction.px.number(t)}}function Wf(t,e){return yr(E.bracket(t[1]))?su(t):Q("stroke","stroke")(t,e)}var Hf=[["inline-table",{display:"inline-table"}],["table",{display:"table"}],["table-caption",{display:"table-caption"}],["table-cell",{display:"table-cell"}],["table-column",{display:"table-column"}],["table-column-group",{display:"table-column-group"}],["table-footer-group",{display:"table-footer-group"}],["table-header-group",{display:"table-header-group"}],["table-row",{display:"table-row"}],["table-row-group",{display:"table-row-group"}],["border-collapse",{"border-collapse":"collapse"}],["border-separate",{"border-collapse":"separate"}],[/^border-spacing-(.+)$/,function*([,t],{theme:e}){let r=no(t,e);if(r!=null){yield{"--un-border-spacing-x":r,"--un-border-spacing-y":r,"border-spacing":"var(--un-border-spacing-x) var(--un-border-spacing-y)"};for(let n of["x","y"])yield L(`--un-border-spacing-${n}`,{syntax:"<length>",initialValue:"0"})}},{autocomplete:["border-spacing","border-spacing-$spacing"]}],[/^border-spacing-([xy])-(.+)$/,function*([,t,e],{theme:r}){let n=no(e,r);if(n!=null){yield{[`--un-border-spacing-${t}`]:n,"border-spacing":"var(--un-border-spacing-x) var(--un-border-spacing-y)"};for(let i of["x","y"])yield L(`--un-border-spacing-${i}`,{syntax:"<length>",initialValue:"0"})}},{autocomplete:["border-spacing-(x|y)","border-spacing-(x|y)-$spacing"]}],["caption-top",{"caption-side":"top"}],["caption-bottom",{"caption-side":"bottom"}],["table-auto",{"table-layout":"auto"}],["table-fixed",{"table-layout":"fixed"}],["table-empty-cells-visible",{"empty-cells":"show"}],["table-empty-cells-hidden",{"empty-cells":"hide"}]];function no(t,e){let r=e.spacing?.[t];if(!r){let n=$e(t);n!=null?(T("spacing"),r=`calc(var(--spacing) * ${n})`):r=E.bracket.cssvar.global.auto.fraction.rem(t)}return r}var Ln="var(--un-pan-x) var(--un-pan-y) var(--un-pinch-zoom)",Pn=["pan-x","pan-y","pinch-zoom"].map(t=>L(`--un-${t}`)),Zf=[[/^touch-pan-(x|left|right)$/,function*([,t]){yield{"--un-pan-x":`pan-${t}`,"touch-action":Ln};for(let e of Pn)yield e},{autocomplete:["touch-pan","touch-pan-(x|left|right|y|up|down)"]}],[/^touch-pan-(y|up|down)$/,function*([,t]){yield{"--un-pan-y":`pan-${t}`,"touch-action":Ln};for(let e of Pn)yield e}],[/^touch-pinch-zoom$/,function*(){yield{"--un-pinch-zoom":"pinch-zoom","touch-action":Ln};for(let t of Pn)yield t}],["touch-auto",{"touch-action":"auto"}],["touch-manipulation",{"touch-action":"manipulation"}],["touch-none",{"touch-action":"none"}],...I("touch","touch-action")],Or=["translate","rotate","scale"],_i=["var(--un-rotate-x)","var(--un-rotate-y)","var(--un-rotate-z)","var(--un-skew-x)","var(--un-skew-y)"].join(" "),Wr=_i,Gf=["translateZ(0)",_i].join(" "),Yf=[[/^(?:transform-)?origin-(.+)$/,([,t])=>({"transform-origin":ce[t]??E.bracket.cssvar(t)}),{autocomplete:[`transform-origin-(${Object.keys(ce).join("|")})`,`origin-(${Object.keys(ce).join("|")})`]}],[/^(transform-)?perspect(?:ive)?-(.+)$/,([,t,e],{theme:r})=>{let n;if(r.perspective?.[e]?(T("perspective",e),n=X("perspective",e)):n=E.bracket.cssvar.px.numberWithUnit(e),n!=null)return t?{"--un-perspective":`perspective(${n})`,transform:`var(--un-perspective) ${Wr}`}:{perspective:n}},{autocomplete:["perspective-<num>","perspective-$perspective"]}],[/^(?:transform-)?perspect(?:ive)?-origin-(.+)$/,([,t])=>{let e=E.bracket.cssvar(t)??(t.length>=3?ce[t]:void 0);if(e!=null)return{"perspective-origin":e}}],[/^(?:transform-)?translate-()(.+)$/,io],[/^(?:transform-)?translate-([xyz])-(.+)$/,io],[/^(?:transform-)?rotate-()(.+)$/,oo],[/^(?:transform-)?rotate-([xyz])-(.+)$/,oo],[/^(?:transform-)?skew-()(.+)$/,so],[/^(?:transform-)?skew-([xy])-(.+)$/,so,{autocomplete:["transform-skew-(x|y)-<percent>","skew-(x|y)-<percent>"]}],[/^(?:transform-)?scale-()(.+)$/,ao],[/^(?:transform-)?scale-([xyz])-(.+)$/,ao,{autocomplete:[`transform-(${Or.join("|")})-<percent>`,`transform-(${Or.join("|")})-(x|y|z)-<percent>`,`(${Or.join("|")})-<percent>`,`(${Or.join("|")})-(x|y|z)-<percent>`]}],["transform-3d",{"transform-style":"preserve-3d"}],["transform-flat",{"transform-style":"flat"}],[/^transform-(border|content|fill|stroke|view)$/,([,t])=>({"transform-box":`${t}-box`})],["transform",{transform:Wr}],["transform-cpu",{transform:_i}],["transform-gpu",{transform:Gf}],["transform-none",{transform:"none"}],...I("transform")];function io([,t,e]){let r=$e(e)??E.bracket.cssvar.none.fraction.rem(e);if(r!=null)return r==="none"?{translate:"none"}:(T("spacing"),[[...Ai(t,typeof r=="number"?`calc(var(--spacing) * ${r})`:r,"translate"),["translate",`var(--un-translate-x) var(--un-translate-y)${t==="z"?" var(--un-translate-z)":""}`,Dh]],...["x","y","z"].map(n=>L(`--un-translate-${n}`,{initialValue:0}))])}function ao([,t,e]){let r=E.bracket.cssvar.none.fraction.percent(e);if(r!=null)return r==="none"?{scale:"none"}:[[...Ai(t,r,"scale"),["scale",`var(--un-scale-x) var(--un-scale-y)${t==="z"?" var(--un-scale-z)":""}`]],...["x","y","z"].map(n=>L(`--un-scale-${n}`,{initialValue:1}))]}function oo([,t="",e]){let r=E.bracket.cssvar.none.degree(e);if(r!=null)return r==="none"?{rotate:"none"}:t?[[...Ai(t,r.endsWith("deg")?`rotate${t.toUpperCase()}(${r})`:r,"rotate"),["transform",Wr]],...["x","y","z"].map(n=>L(`--un-rotate-${n}`,{initialValue:`rotate${n.toUpperCase()}(0)`})),...["x","y"].map(n=>L(`--un-skew-${n}`,{initialValue:`skew${n.toUpperCase()}(0)`}))]:{rotate:E.bracket.cssvar.degree(e)}}function so([,t,e]){let r=E.bracket.cssvar.degree(e),n=Zs[t];if(r!=null&&n)return[[...n.map(i=>[`--un-skew${i}`,r.endsWith("deg")?`skew${i.slice(1).toUpperCase()}(${r})`:r]),["transform",Wr]],...["x","y","z"].map(i=>L(`--un-rotate-${i}`,{initialValue:`rotate${i.toUpperCase()}(0)`})),...["x","y"].map(i=>L(`--un-skew-${i}`,{initialValue:`skew${i.toUpperCase()}(0)`}))]}function Ai(t,e,r){let n=e.split(Mh);return t||!t&&n.length===1?Zs[t].map(i=>[`--un-${r}${i}`,e]):n.map((i,a)=>[`--un-${r}-${Oh[a]}`,i])}function uo(t,e){let r;if(E.cssvar(t)!=null)r=E.cssvar(t);else{t.startsWith("[")&&t.endsWith("]")&&(t=t.slice(1,-1));let n=t.split(",").map(i=>e.property?.[i]??E.properties(i));n.every(Boolean)&&(r=n.join(","))}return r}var Jf=[[/^transition(?:-(\D+?))?(?:-(\d+))?$/,([,t,e],{theme:r})=>{T("default",["transition","timingFunction"]),T("default",["transition","duration"]);let n={"transition-property":r.property?.DEFAULT,"transition-timing-function":`var(--un-ease, ${X("default",["transition","timingFunction"])})`,"transition-duration":`var(--un-duration, ${X("default",["transition","duration"])})`};if(!t&&!e)return{...n};if(t!=null){let i=uo(t,r);if(i)return{"--un-duration":e&&E.time(e),...n,"transition-property":i}}else if(e!=null)return{"--un-duration":E.time(e),...n}}],[/^(?:transition-)?duration-(.+)$/,([,t])=>({"--un-duration":E.bracket.cssvar.time(t),"transition-duration":E.bracket.cssvar.time(t)})],[/^(?:transition-)?delay-(.+)$/,([,t])=>({"transition-delay":E.bracket.cssvar.time(t)})],[/^(?:transition-)?ease(?:-(.+))?$/,([,t="DEFAULT"],{theme:e})=>{let r;return e.ease?.[t]?(T("ease",t),r=X("ease",t)):r=E.bracket.cssvar(t),[{"--un-ease":r,"transition-timing-function":r},L("--un-ease")]},{autocomplete:["transition-ease-(linear|in|out|in-out)","ease-(linear|in|out|in-out)"]}],[/^(?:transition-)?property-(.+)$/,([,t],{theme:e})=>{let r=E.global(t)||uo(t,e);if(r)return{"transition-property":r}},{autocomplete:[`transition-property-(${[...ee].join("|")})`]}],["transition-none",{transition:"none"}],...I("transition"),["transition-discrete",{"transition-behavior":"allow-discrete"}],["transition-normal",{"transition-behavior":"normal"}]],Kf=[[/^text-(.+)$/,im,{autocomplete:"text-$text"}],[/^(?:text|font)-size-(.+)$/,uu,{autocomplete:"text-size-$text"}],[/^text-(?:color-)?(.+)$/,am,{autocomplete:"text-$colors"}],[/^(?:color|c)-(.+)$/,Q("color","text")],[/^(?:text|color|c)-(.+)$/,([,t])=>ee.includes(t)?{color:t}:void 0,{autocomplete:`(text|color|c)-(${ee.join("|")})`}],[/^(?:text|color|c)-op(?:acity)?-?(.+)$/,([,t])=>({"--un-text-opacity":E.bracket.percent.cssvar(t)}),{autocomplete:"(text|color|c)-(op|opacity)-<percent>"}],[/^fw-?([^-]+)$/,([,t],{theme:e})=>{let r;return e.fontWeight?.[t]?(T("fontWeight",t),r=X("fontWeight",t)):r=E.bracket.cssvar.global.number(t),{"--un-font-weight":r,"font-weight":r}},{autocomplete:["(font|fw)-(100|200|300|400|500|600|700|800|900)","(font|fw)-$fontWeight"]}],[/^(?:font-)?(?:leading|lh|line-height)-(.+)$/,([,t],{theme:e})=>{let r;if(e.leading?.[t]?(T("leading",t),r=X("leading",t)):$e(t)?(T("spacing"),r=`calc(var(--spacing) * ${$e(t)})`):r=E.bracket.cssvar.global.rem(t),r!=null)return[{"--un-leading":r,"line-height":r},L("--un-leading")]},{autocomplete:"(leading|lh|line-height)-$leading"}],["font-synthesis-weight",{"font-synthesis":"weight"}],["font-synthesis-style",{"font-synthesis":"style"}],["font-synthesis-small-caps",{"font-synthesis":"small-caps"}],["font-synthesis-none",{"font-synthesis":"none"}],[/^font-synthesis-(.+)$/,([,t])=>({"font-synthesis":E.bracket.cssvar.global(t)})],[/^(?:font-)?tracking-(.+)$/,([,t],{theme:e})=>{let r;return e.tracking?.[t]?(T("tracking",t),r=X("tracking",t)):r=E.bracket.cssvar.global.rem(t),{"--un-tracking":r,"letter-spacing":r}},{autocomplete:"tracking-$tracking"}],[/^(?:font-)?word-spacing-(.+)$/,([,t],{theme:e})=>{let r=e.tracking?.[t]?X("tracking",t):E.bracket.cssvar.global.rem(t);return{"--un-word-spacing":r,"word-spacing":r}},{autocomplete:"word-spacing-$spacing"}],["font-stretch-normal",{"font-stretch":"normal"}],["font-stretch-ultra-condensed",{"font-stretch":"ultra-condensed"}],["font-stretch-extra-condensed",{"font-stretch":"extra-condensed"}],["font-stretch-condensed",{"font-stretch":"condensed"}],["font-stretch-semi-condensed",{"font-stretch":"semi-condensed"}],["font-stretch-semi-expanded",{"font-stretch":"semi-expanded"}],["font-stretch-expanded",{"font-stretch":"expanded"}],["font-stretch-extra-expanded",{"font-stretch":"extra-expanded"}],["font-stretch-ultra-expanded",{"font-stretch":"ultra-expanded"}],[/^font-stretch-(.+)$/,([,t])=>({"font-stretch":E.bracket.cssvar.fraction.global(t)}),{autocomplete:"font-stretch-<percentage>"}],[/^font-(.+)$/,([,t],{theme:e})=>{let r;if(e.font?.[t])return T("font",t),r=X("font",t),{"font-family":r};if(e.fontWeight?.[t])return T("fontWeight",t),r=X("fontWeight",t),{"--un-font-weight":r,"font-weight":r};if(r=E.number(t),r!=null)return{"--un-font-weight":r,"font-weight":r};if(r=E.bracketOfFamily(t),r!=null&&E.number(r)==null)return r=E.cssvar(r)??r,{"font-family":r};if(r=E.bracketOfNumber(t),r!=null)return r=E.cssvar.number(r),{"--un-font-weight":r,"font-weight":r};if(r=E.bracket(t),r!=null&&E.number(r)!=null){let n=E.number(r);return{"--un-font-weight":n,"font-weight":n}}if(r=E.bracket.cssvar.global(t),r!=null)return{"font-family":r}},{autocomplete:["font-$font","font-$fontWeight"]}]],Xf=[[/^tab(?:-(.+))?$/,([,t])=>{let e=E.bracket.cssvar.global.number(t||"4");if(e!=null)return{"-moz-tab-size":e,"-o-tab-size":e,"tab-size":e}}]],Qf=[[/^indent-(.+)$/,([,t])=>{let e=$e(t);if(e!=null)return T("spacing"),{"text-indent":`calc(var(--spacing) * ${e})`};if(e=E.bracket.cssvar.auto.global.rem(t),e!=null)return{"text-indent":e}}]],em=[[/^text-stroke(?:-(.+))?$/,([,t="DEFAULT"],{theme:e})=>(e.textStrokeWidth?.[t]&&T("textStrokeWidth",t),{"-webkit-text-stroke-width":e.textStrokeWidth?.[t]?X("textStrokeWidth",t):E.bracket.cssvar.px(t)}),{autocomplete:"text-stroke-$textStrokeWidth"}],[/^text-stroke-(.+)$/,Q("-webkit-text-stroke-color","text-stroke"),{autocomplete:"text-stroke-$colors"}],[/^text-stroke-op(?:acity)?-?(.+)$/,([,t])=>({"--un-text-stroke-opacity":E.bracket.percent.cssvar(t)}),{autocomplete:"text-stroke-(op|opacity)-<percent>"}]];function tm(t,e){let[,r]=t,{theme:n}=e,i=[];r&&(i=rt(r,"/",2)??[]);let a=n.textShadow?.[i[0]],s=r?E.bracket.cssvar(r):void 0;if((a!=null||s!=null)&&!nt(s,n)){let o=i[1]?E.bracket.percent.cssvar(i[1]):void 0;return{"--un-text-shadow-opacity":o,"--un-text-shadow":Si(a||s,"--un-text-shadow-color",o).join(","),"text-shadow":"var(--un-text-shadow)"}}return Q("--un-text-shadow-color","text-shadow")(t,e)??{"text-shadow":E.bracket.cssvar.global(r)}}var rm=[[/^text-shadow-(.+)$/,tm,{autocomplete:["text-shadow-$textShadow","text-shadow(-color)?-$colors","text-shadow(-color)?-(op|opacity)-<percent>"]}],[/^text-shadow-color-(.+)$/,Q("--un-text-shadow-color","text-shadow"),{autocomplete:"text-shadow-color-$colors"}],[/^text-shadow(?:-color)?-op(?:acity)?-?(.+)$/,([,t])=>({"--un-text-shadow-opacity":E.bracket.percent.cssvar(t)}),{autocomplete:"text-shadow(-color)?-(op|opacity)-<percent>"}]],Ke=[L("--un-ordinal"),L("--un-slashed-zero"),L("--un-numeric-figure"),L("--un-numeric-spacing"),L("--un-numeric-fraction")],Xe={"font-variant-numeric":"var(--un-ordinal,) var(--un-slashed-zero,) var(--un-numeric-figure,) var(--un-numeric-spacing,) var(--un-numeric-fraction,)"},nm=[["ordinal",[{"--un-ordinal":"ordinal",...Xe},...Ke]],["slashed-zero",[{"--un-slashed-zero":"slashed-zero",...Xe},...Ke]],["lining-nums",[{"--un-numeric-figure":"lining-nums",...Xe},...Ke]],["oldstyle-nums",[{"--un-numeric-figure":"oldstyle-nums",...Xe},...Ke]],["proportional-nums",[{"--un-numeric-spacing":"proportional-nums",...Xe},...Ke]],["tabular-nums",[{"--un-numeric-spacing":"tabular-nums",...Xe},...Ke]],["diagonal-fractions",[{"--un-numeric-fraction":"diagonal-fractions",...Xe},...Ke]],["stacked-fractions",[{"--un-numeric-fraction":"stacked-fractions",...Xe},...Ke]],["normal-nums",[{"font-variant-numeric":"normal"}]]];function im([,t="base"],{theme:e}){let r=om(t,"length");if(!r)return;let[n,i]=r,a=e.text?.[n],s;if(i&&(e.leading?.[i]?(T("leading",i),s=X("leading",i)):s=E.bracket.cssvar.global.rem(i)),a)return T("text",[n,"fontSize"]),T("text",[n,"lineHeight"]),a.letterSpacing&&T("text",[n,"letterSpacing"]),{"font-size":X("text",[n,"fontSize"]),"line-height":s??`var(--un-leading, ${X("text",[n,"lineHeight"])})`,"letter-spacing":a.letterSpacing?X("text",[n,"letterSpacing"]):void 0};let o=E.bracketOfLength.rem(n);return s&&o?{"font-size":o,"line-height":s}:{"font-size":E.bracketOfLength.rem(t)}}function uu([,t],{theme:e}){if(e.text?.[t]!=null)return T("text",[t,"fontSize"]),T("text",[t,"lineHeight"]),{"font-size":X("text",[t,"fontSize"]),"line-height":`var(--un-leading, ${X("text",[t,"lineHeight"])})`};{let r=E.bracket.cssvar.global.rem(t);if(r)return{"font-size":r}}}function am(t,e){return yr(E.bracket(t[1]))?uu(t,e):Q("color","text")(t,e)}function om(t,e){let[r,n]=nn(t,"[","]",["/",":"])??[];if(r!=null){let i=(r.match(Ei)??[])[1];if(i==null||i===e)return[r,n]}}var sm={backface:"backface-visibility",break:"word-break",case:"text-transform",content:"align-content",fw:"font-weight",items:"align-items",justify:"justify-content",select:"user-select",self:"align-self",vertical:"vertical-align",visible:"visibility",whitespace:"white-space",ws:"white-space","bg-blend":"background-blend-mode","bg-clip":"-webkit-background-clip","bg-image":"background-image","bg-origin":"background-origin","bg-position":"background-position","bg-repeat":"background-repeat","bg-size":"background-size","mix-blend":"mix-blend-mode",object:"object-fit","object-position":"object-position",write:"writing-mode","write-orient":"text-orientation"},um=[[/^(.+?)-(\$.+)$/,([,t,e])=>{let r=sm[t];if(r)return{[r]:E.cssvar(e)}}]],lm=[[/^\[(.*)\]$/,([t,e],{theme:r})=>{if(!e.includes(":"))return;let[n,...i]=e.split(":"),a=i.join(":");if(!dm(e)&&/^[\w-]+$/.test(n)&&cm(a)){let s=E.bracket(`[${a}]`,r);if(s)return{[n]:s}}}]];function cm(t){let e=0;function r(n){for(;e<t.length;)if(e+=1,t[e]===n)return!0;return!1}for(e=0;e<t.length;e++){let n=t[e];if("\"`'".includes(n)){if(!r(n))return!1}else if(n==="("){if(!r(")"))return!1}else if("[]{}:".includes(n))return!1}return!0}function dm(t){if(!t.includes("://"))return!1;try{return new URL(t).host!==""}catch{return!1}}var hm=[[/^view-transition-([\w-]+)$/,([,t])=>({"view-transition-name":t})]],pm=[Kf,Xf,Qf,em,rm,zp,Pp,lp,up,mp,Ya,Ja,bp,yp,vp,kp,xp,Ya,wp,Ja,$p,Bp,Sp,Fp,op,ip,Np,Up,Wp,Zp,pf,mf,bf,yf,vf,kf,xf,wf,$f,Ef,Sf,_f,Af,Cf,Df,Of,Bf,Ff,cf,lf,Yf,Jf,um,lm,au,sf,rf,af,nf,iu,tf,ou,ef,of,Gp,Uf,cp,pp,Mf,Nf,Lf,Vf,Pf,zf,Tf,jf,If,Rf,Xp,Mp,qp,Yp,Qp,df,Hf,Zf,nm,hm,Tp,Ip,qf,uf].flat(),fm=[...sp],lu={black:"#000",white:"#fff",slate:{50:"oklch(98.4% 0.003 247.858)",100:"oklch(96.8% 0.007 247.896)",200:"oklch(92.9% 0.013 255.508)",300:"oklch(86.9% 0.022 252.894)",400:"oklch(70.4% 0.04 256.788)",500:"oklch(55.4% 0.046 257.417)",600:"oklch(44.6% 0.043 257.281)",700:"oklch(37.2% 0.044 257.287)",800:"oklch(27.9% 0.041 260.031)",900:"oklch(20.8% 0.042 265.755)",950:"oklch(12.9% 0.042 264.695)"},gray:{50:"oklch(98.5% 0.002 247.839)",100:"oklch(96.7% 0.003 264.542)",200:"oklch(92.8% 0.006 264.531)",300:"oklch(87.2% 0.01 258.338)",400:"oklch(70.7% 0.022 261.325)",500:"oklch(55.1% 0.027 264.364)",600:"oklch(44.6% 0.03 256.802)",700:"oklch(37.3% 0.034 259.733)",800:"oklch(27.8% 0.033 256.848)",900:"oklch(21% 0.034 264.665)",950:"oklch(13% 0.028 261.692)"},zinc:{50:"oklch(98.5% 0 0)",100:"oklch(96.7% 0.001 286.375)",200:"oklch(92% 0.004 286.32)",300:"oklch(87.1% 0.006 286.286)",400:"oklch(70.5% 0.015 286.067)",500:"oklch(55.2% 0.016 285.938)",600:"oklch(44.2% 0.017 285.786)",700:"oklch(37% 0.013 285.805)",800:"oklch(27.4% 0.006 286.033)",900:"oklch(21% 0.006 285.885)",950:"oklch(14.1% 0.005 285.823)"},neutral:{50:"oklch(98.5% 0 0)",100:"oklch(97% 0 0)",200:"oklch(92.2% 0 0)",300:"oklch(87% 0 0)",400:"oklch(70.8% 0 0)",500:"oklch(55.6% 0 0)",600:"oklch(43.9% 0 0)",700:"oklch(37.1% 0 0)",800:"oklch(26.9% 0 0)",900:"oklch(20.5% 0 0)",950:"oklch(14.5% 0 0)"},stone:{50:"oklch(98.5% 0.001 106.423)",100:"oklch(97% 0.001 106.424)",200:"oklch(92.3% 0.003 48.717)",300:"oklch(86.9% 0.005 56.366)",400:"oklch(70.9% 0.01 56.259)",500:"oklch(55.3% 0.013 58.071)",600:"oklch(44.4% 0.011 73.639)",700:"oklch(37.4% 0.01 67.558)",800:"oklch(26.8% 0.007 34.298)",900:"oklch(21.6% 0.006 56.043)",950:"oklch(14.7% 0.004 49.25)"},mauve:{50:"oklch(98.5% 0 0)",100:"oklch(96% 0.003 325.6)",200:"oklch(92.2% 0.005 325.62)",300:"oklch(86.5% 0.012 325.68)",400:"oklch(71.1% 0.019 323.02)",500:"oklch(54.2% 0.034 322.5)",600:"oklch(43.5% 0.029 321.78)",700:"oklch(36.4% 0.029 323.89)",800:"oklch(26.3% 0.024 320.12)",900:"oklch(21.2% 0.019 322.12)",950:"oklch(14.5% 0.008 326)"},olive:{50:"oklch(98.8% 0.003 106.5)",100:"oklch(96.6% 0.005 106.5)",200:"oklch(93% 0.007 106.5)",300:"oklch(88% 0.011 106.6)",400:"oklch(73.7% 0.021 106.9)",500:"oklch(58% 0.031 107.3)",600:"oklch(46.6% 0.025 107.3)",700:"oklch(39.4% 0.023 107.4)",800:"oklch(28.6% 0.016 107.4)",900:"oklch(22.8% 0.013 107.4)",950:"oklch(15.3% 0.006 107.1)"},mist:{50:"oklch(98.7% 0.002 197.1)",100:"oklch(96.3% 0.002 197.1)",200:"oklch(92.5% 0.005 214.3)",300:"oklch(87.2% 0.007 219.6)",400:"oklch(72.3% 0.014 214.4)",500:"oklch(56% 0.021 213.5)",600:"oklch(45% 0.017 213.2)",700:"oklch(37.8% 0.015 216)",800:"oklch(27.5% 0.011 216.9)",900:"oklch(21.8% 0.008 223.9)",950:"oklch(14.8% 0.004 228.8)"},taupe:{50:"oklch(98.6% 0.002 67.8)",100:"oklch(96% 0.002 17.2)",200:"oklch(92.2% 0.005 34.3)",300:"oklch(86.8% 0.007 39.5)",400:"oklch(71.4% 0.014 41.2)",500:"oklch(54.7% 0.021 43.1)",600:"oklch(43.8% 0.017 39.3)",700:"oklch(36.7% 0.016 35.7)",800:"oklch(26.8% 0.011 36.5)",900:"oklch(21.4% 0.009 43.1)",950:"oklch(14.7% 0.004 49.3)"},red:{50:"oklch(97.1% 0.013 17.38)",100:"oklch(93.6% 0.032 17.717)",200:"oklch(88.5% 0.062 18.334)",300:"oklch(80.8% 0.114 19.571)",400:"oklch(70.4% 0.191 22.216)",500:"oklch(63.7% 0.237 25.331)",600:"oklch(57.7% 0.245 27.325)",700:"oklch(50.5% 0.213 27.518)",800:"oklch(44.4% 0.177 26.899)",900:"oklch(39.6% 0.141 25.723)",950:"oklch(25.8% 0.092 26.042)"},orange:{50:"oklch(98% 0.016 73.684)",100:"oklch(95.4% 0.038 75.164)",200:"oklch(90.1% 0.076 70.697)",300:"oklch(83.7% 0.128 66.29)",400:"oklch(75% 0.183 55.934)",500:"oklch(70.5% 0.213 47.604)",600:"oklch(64.6% 0.222 41.116)",700:"oklch(55.3% 0.195 38.402)",800:"oklch(47% 0.157 37.304)",900:"oklch(40.8% 0.123 38.172)",950:"oklch(26.6% 0.079 36.259)"},amber:{50:"oklch(98.7% 0.022 95.277)",100:"oklch(96.2% 0.059 95.617)",200:"oklch(92.4% 0.12 95.746)",300:"oklch(87.9% 0.169 91.605)",400:"oklch(82.8% 0.189 84.429)",500:"oklch(76.9% 0.188 70.08)",600:"oklch(66.6% 0.179 58.318)",700:"oklch(55.5% 0.163 48.998)",800:"oklch(47.3% 0.137 46.201)",900:"oklch(41.4% 0.112 45.904)",950:"oklch(27.9% 0.077 45.635)"},yellow:{50:"oklch(98.7% 0.026 102.212)",100:"oklch(97.3% 0.071 103.193)",200:"oklch(94.5% 0.129 101.54)",300:"oklch(90.5% 0.182 98.111)",400:"oklch(85.2% 0.199 91.936)",500:"oklch(79.5% 0.184 86.047)",600:"oklch(68.1% 0.162 75.834)",700:"oklch(55.4% 0.135 66.442)",800:"oklch(47.6% 0.114 61.907)",900:"oklch(42.1% 0.095 57.708)",950:"oklch(28.6% 0.066 53.813)"},lime:{50:"oklch(98.6% 0.031 120.757)",100:"oklch(96.7% 0.067 122.328)",200:"oklch(93.8% 0.127 124.321)",300:"oklch(89.7% 0.196 126.665)",400:"oklch(84.1% 0.238 128.85)",500:"oklch(76.8% 0.233 130.85)",600:"oklch(64.8% 0.2 131.684)",700:"oklch(53.2% 0.157 131.589)",800:"oklch(45.3% 0.124 130.933)",900:"oklch(40.5% 0.101 131.063)",950:"oklch(27.4% 0.072 132.109)"},green:{50:"oklch(98.2% 0.018 155.826)",100:"oklch(96.2% 0.044 156.743)",200:"oklch(92.5% 0.084 155.995)",300:"oklch(87.1% 0.15 154.449)",400:"oklch(79.2% 0.209 151.711)",500:"oklch(72.3% 0.219 149.579)",600:"oklch(62.7% 0.194 149.214)",700:"oklch(52.7% 0.154 150.069)",800:"oklch(44.8% 0.119 151.328)",900:"oklch(39.3% 0.095 152.535)",950:"oklch(26.6% 0.065 152.934)"},emerald:{50:"oklch(97.9% 0.021 166.113)",100:"oklch(95% 0.052 163.051)",200:"oklch(90.5% 0.093 164.15)",300:"oklch(84.5% 0.143 164.978)",400:"oklch(76.5% 0.177 163.223)",500:"oklch(69.6% 0.17 162.48)",600:"oklch(59.6% 0.145 163.225)",700:"oklch(50.8% 0.118 165.612)",800:"oklch(43.2% 0.095 166.913)",900:"oklch(37.8% 0.077 168.94)",950:"oklch(26.2% 0.051 172.552)"},teal:{50:"oklch(98.4% 0.014 180.72)",100:"oklch(95.3% 0.051 180.801)",200:"oklch(91% 0.096 180.426)",300:"oklch(85.5% 0.138 181.071)",400:"oklch(77.7% 0.152 181.912)",500:"oklch(70.4% 0.14 182.503)",600:"oklch(60% 0.118 184.704)",700:"oklch(51.1% 0.096 186.391)",800:"oklch(43.7% 0.078 188.216)",900:"oklch(38.6% 0.063 188.416)",950:"oklch(27.7% 0.046 192.524)"},cyan:{50:"oklch(98.4% 0.019 200.873)",100:"oklch(95.6% 0.045 203.388)",200:"oklch(91.7% 0.08 205.041)",300:"oklch(86.5% 0.127 207.078)",400:"oklch(78.9% 0.154 211.53)",500:"oklch(71.5% 0.143 215.221)",600:"oklch(60.9% 0.126 221.723)",700:"oklch(52% 0.105 223.128)",800:"oklch(45% 0.085 224.283)",900:"oklch(39.8% 0.07 227.392)",950:"oklch(30.2% 0.056 229.695)"},sky:{50:"oklch(97.7% 0.013 236.62)",100:"oklch(95.1% 0.026 236.824)",200:"oklch(90.1% 0.058 230.902)",300:"oklch(82.8% 0.111 230.318)",400:"oklch(74.6% 0.16 232.661)",500:"oklch(68.5% 0.169 237.323)",600:"oklch(58.8% 0.158 241.966)",700:"oklch(50% 0.134 242.749)",800:"oklch(44.3% 0.11 240.79)",900:"oklch(39.1% 0.09 240.876)",950:"oklch(29.3% 0.066 243.157)"},blue:{50:"oklch(97% 0.014 254.604)",100:"oklch(93.2% 0.032 255.585)",200:"oklch(88.2% 0.059 254.128)",300:"oklch(80.9% 0.105 251.813)",400:"oklch(70.7% 0.165 254.624)",500:"oklch(62.3% 0.214 259.815)",600:"oklch(54.6% 0.245 262.881)",700:"oklch(48.8% 0.243 264.376)",800:"oklch(42.4% 0.199 265.638)",900:"oklch(37.9% 0.146 265.522)",950:"oklch(28.2% 0.091 267.935)"},indigo:{50:"oklch(96.2% 0.018 272.314)",100:"oklch(93% 0.034 272.788)",200:"oklch(87% 0.065 274.039)",300:"oklch(78.5% 0.115 274.713)",400:"oklch(67.3% 0.182 276.935)",500:"oklch(58.5% 0.233 277.117)",600:"oklch(51.1% 0.262 276.966)",700:"oklch(45.7% 0.24 277.023)",800:"oklch(39.8% 0.195 277.366)",900:"oklch(35.9% 0.144 278.697)",950:"oklch(25.7% 0.09 281.288)"},violet:{50:"oklch(96.9% 0.016 293.756)",100:"oklch(94.3% 0.029 294.588)",200:"oklch(89.4% 0.057 293.283)",300:"oklch(81.1% 0.111 293.571)",400:"oklch(70.2% 0.183 293.541)",500:"oklch(60.6% 0.25 292.717)",600:"oklch(54.1% 0.281 293.009)",700:"oklch(49.1% 0.27 292.581)",800:"oklch(43.2% 0.232 292.759)",900:"oklch(38% 0.189 293.745)",950:"oklch(28.3% 0.141 291.089)"},purple:{50:"oklch(97.7% 0.014 308.299)",100:"oklch(94.6% 0.033 307.174)",200:"oklch(90.2% 0.063 306.703)",300:"oklch(82.7% 0.119 306.383)",400:"oklch(71.4% 0.203 305.504)",500:"oklch(62.7% 0.265 303.9)",600:"oklch(55.8% 0.288 302.321)",700:"oklch(49.6% 0.265 301.924)",800:"oklch(43.8% 0.218 303.724)",900:"oklch(38.1% 0.176 304.987)",950:"oklch(29.1% 0.149 302.717)"},fuchsia:{50:"oklch(97.7% 0.017 320.058)",100:"oklch(95.2% 0.037 318.852)",200:"oklch(90.3% 0.076 319.62)",300:"oklch(83.3% 0.145 321.434)",400:"oklch(74% 0.238 322.16)",500:"oklch(66.7% 0.295 322.15)",600:"oklch(59.1% 0.293 322.896)",700:"oklch(51.8% 0.253 323.949)",800:"oklch(45.2% 0.211 324.591)",900:"oklch(40.1% 0.17 325.612)",950:"oklch(29.3% 0.136 325.661)"},pink:{50:"oklch(97.1% 0.014 343.198)",100:"oklch(94.8% 0.028 342.258)",200:"oklch(89.9% 0.061 343.231)",300:"oklch(82.3% 0.12 346.018)",400:"oklch(71.8% 0.202 349.761)",500:"oklch(65.6% 0.241 354.308)",600:"oklch(59.2% 0.249 0.584)",700:"oklch(52.5% 0.223 3.958)",800:"oklch(45.9% 0.187 3.815)",900:"oklch(40.8% 0.153 2.432)",950:"oklch(28.4% 0.109 3.907)"},rose:{50:"oklch(96.9% 0.015 12.422)",100:"oklch(94.1% 0.03 12.58)",200:"oklch(89.2% 0.058 10.001)",300:"oklch(81% 0.117 11.638)",400:"oklch(71.2% 0.194 13.428)",500:"oklch(64.5% 0.246 16.439)",600:"oklch(58.6% 0.253 17.585)",700:"oklch(51.4% 0.222 16.935)",800:"oklch(45.5% 0.188 13.697)",900:"oklch(41% 0.159 10.272)",950:"oklch(27.1% 0.105 12.094)"},light:{50:"oklch(99.4% 0 0)",100:"oklch(99.11% 0 0)",200:"oklch(98.51% 0 0)",300:"oklch(98.16% 0.0017 247.84)",400:"oklch(97.31% 0 0)",500:"oklch(96.12% 0 0)",600:"oklch(96.32% 0.0034 247.86)",700:"oklch(94.17% 0.0052 247.88)",800:"oklch(91.09% 0.007 247.9)",900:"oklch(90.72% 0.0051 228.82)",950:"oklch(89.23% 0.006 239.83)"},dark:{50:"oklch(40.91% 0 0)",100:"oklch(35.62% 0 0)",200:"oklch(31.71% 0 0)",300:"oklch(29.72% 0 0)",400:"oklch(25.2% 0 0)",500:"oklch(23.93% 0 0)",600:"oklch(22.73% 0.0038 286.09)",700:"oklch(22.21% 0 0)",800:"oklch(20.9% 0 0)",900:"oklch(16.84% 0 0)",950:"oklch(13.44% 0 0)"}};Object.values(lu).forEach(t=>{typeof t!="string"&&t!==void 0&&(t.DEFAULT=t.DEFAULT||t[400])});var mm={keyframes:{pulse:"{0%, 100% {opacity:1} 50% {opacity:.5}}",bounce:"{0%, 100% {transform:translateY(-25%);animation-timing-function:cubic-bezier(0.8,0,1,1)} 50% {transform:translateY(0);animation-timing-function:cubic-bezier(0,0,0.2,1)}}",spin:"{from{transform:rotate(0deg)}to{transform:rotate(360deg)}}",ping:"{0%{transform:scale(1);opacity:1}75%,100%{transform:scale(2);opacity:0}}","bounce-alt":"{from,20%,53%,80%,to{animation-timing-function:cubic-bezier(0.215,0.61,0.355,1);transform:translate3d(0,0,0)}40%,43%{animation-timing-function:cubic-bezier(0.755,0.05,0.855,0.06);transform:translate3d(0,-30px,0)}70%{animation-timing-function:cubic-bezier(0.755,0.05,0.855,0.06);transform:translate3d(0,-15px,0)}90%{transform:translate3d(0,-4px,0)}}",flash:"{from,50%,to{opacity:1}25%,75%{opacity:0}}","pulse-alt":"{from{transform:scale3d(1,1,1)}50%{transform:scale3d(1.05,1.05,1.05)}to{transform:scale3d(1,1,1)}}","rubber-band":"{from{transform:scale3d(1,1,1)}30%{transform:scale3d(1.25,0.75,1)}40%{transform:scale3d(0.75,1.25,1)}50%{transform:scale3d(1.15,0.85,1)}65%{transform:scale3d(0.95,1.05,1)}75%{transform:scale3d(1.05,0.95,1)}to{transform:scale3d(1,1,1)}}","shake-x":"{from,to{transform:translate3d(0,0,0)}10%,30%,50%,70%,90%{transform:translate3d(-10px,0,0)}20%,40%,60%,80%{transform:translate3d(10px,0,0)}}","shake-y":"{from,to{transform:translate3d(0,0,0)}10%,30%,50%,70%,90%{transform:translate3d(0,-10px,0)}20%,40%,60%,80%{transform:translate3d(0,10px,0)}}","head-shake":"{0%{transform:translateX(0)}6.5%{transform:translateX(-6px) rotateY(-9deg)}18.5%{transform:translateX(5px) rotateY(7deg)}31.5%{transform:translateX(-3px) rotateY(-5deg)}43.5%{transform:translateX(2px) rotateY(3deg)}50%{transform:translateX(0)}}",swing:"{20%{transform:rotate3d(0,0,1,15deg)}40%{transform:rotate3d(0,0,1,-10deg)}60%{transform:rotate3d(0,0,1,5deg)}80%{transform:rotate3d(0,0,1,-5deg)}to{transform:rotate3d(0,0,1,0deg)}}",tada:"{from{transform:scale3d(1,1,1)}10%,20%{transform:scale3d(0.9,0.9,0.9) rotate3d(0,0,1,-3deg)}30%,50%,70%,90%{transform:scale3d(1.1,1.1,1.1) rotate3d(0,0,1,3deg)}40%,60%,80%{transform:scale3d(1.1,1.1,1.1) rotate3d(0,0,1,-3deg)}to{transform:scale3d(1,1,1)}}",wobble:"{from{transform:translate3d(0,0,0)}15%{transform:translate3d(-25%,0,0) rotate3d(0,0,1,-5deg)}30%{transform:translate3d(20%,0,0) rotate3d(0,0,1,3deg)}45%{transform:translate3d(-15%,0,0) rotate3d(0,0,1,-3deg)}60%{transform:translate3d(10%,0,0) rotate3d(0,0,1,2deg)}75%{transform:translate3d(-5%,0,0) rotate3d(0,0,1,-1deg)}to{transform:translate3d(0,0,0)}}",jello:"{from,11.1%,to{transform:translate3d(0,0,0)}22.2%{transform:skewX(-12.5deg) skewY(-12.5deg)}33.3%{transform:skewX(6.25deg) skewY(6.25deg)}44.4%{transform:skewX(-3.125deg)skewY(-3.125deg)}55.5%{transform:skewX(1.5625deg) skewY(1.5625deg)}66.6%{transform:skewX(-0.78125deg) skewY(-0.78125deg)}77.7%{transform:skewX(0.390625deg) skewY(0.390625deg)}88.8%{transform:skewX(-0.1953125deg) skewY(-0.1953125deg)}}","heart-beat":"{0%{transform:scale(1)}14%{transform:scale(1.3)}28%{transform:scale(1)}42%{transform:scale(1.3)}70%{transform:scale(1)}}",hinge:"{0%{transform-origin:top left;animation-timing-function:ease-in-out}20%,60%{transform:rotate3d(0,0,1,80deg);transform-origin:top left;animation-timing-function:ease-in-out}40%,80%{transform:rotate3d(0,0,1,60deg);transform-origin:top left;animation-timing-function:ease-in-out}to{transform:translate3d(0,700px,0);opacity:0}}","jack-in-the-box":"{from{opacity:0;transform-origin:center bottom;transform:scale(0.1) rotate(30deg)}50%{transform:rotate(-10deg)}70%{transform:rotate(3deg)}to{transform:scale(1)}}","light-speed-in-left":"{from{opacity:0;transform:translate3d(-100%,0,0) skewX(-30deg)}60%{opacity:1;transform:skewX(20deg)}80%{transform:skewX(-5deg)}to{transform:translate3d(0,0,0)}}","light-speed-in-right":"{from{opacity:0;transform:translate3d(100%,0,0) skewX(-30deg)}60%{opacity:1;transform:skewX(20deg)}80%{transform:skewX(-5deg)}to{transform:translate3d(0,0,0)}}","light-speed-out-left":"{from{opacity:1}to{opacity:0;transform:translate3d(-100%,0,0) skewX(30deg)}}","light-speed-out-right":"{from{opacity:1}to{opacity:0;transform:translate3d(100%,0,0) skewX(30deg)}}",flip:"{from{transform:perspective(400px) scale3d(1,1,1) translate3d(0,0,0) rotate3d(0,1,0,-360deg);animation-timing-function:ease-out}40%{transform:perspective(400px) scale3d(1,1,1) translate3d(0,0,150px) rotate3d(0,1,0,-190deg);animation-timing-function:ease-out}50%{transform:perspective(400px) scale3d(1,1,1) translate3d(0,0,150px) rotate3d(0,1,0,-170deg);animation-timing-function:ease-in}80%{transform:perspective(400px) scale3d(0.95,0.95,0.95) translate3d(0,0,0) rotate3d(0,1,0,0deg);animation-timing-function:ease-in}to{transform:perspective(400px) scale3d(1,1,1) translate3d(0,0,0) rotate3d(0,1,0,0deg);animation-timing-function:ease-in}}","flip-in-x":"{from{transform:perspective(400px) rotate3d(1,0,0,90deg);animation-timing-function:ease-in;opacity:0}40%{transform:perspective(400px) rotate3d(1,0,0,-20deg);animation-timing-function:ease-in}60%{transform:perspective(400px) rotate3d(1,0,0,10deg);opacity:1}80%{transform:perspective(400px) rotate3d(1,0,0,-5deg)}to{transform:perspective(400px)}}","flip-in-y":"{from{transform:perspective(400px) rotate3d(0,1,0,90deg);animation-timing-function:ease-in;opacity:0}40%{transform:perspective(400px) rotate3d(0,1,0,-20deg);animation-timing-function:ease-in}60%{transform:perspective(400px) rotate3d(0,1,0,10deg);opacity:1}80%{transform:perspective(400px) rotate3d(0,1,0,-5deg)}to{transform:perspective(400px)}}","flip-out-x":"{from{transform:perspective(400px)}30%{transform:perspective(400px) rotate3d(1,0,0,-20deg);opacity:1}to{transform:perspective(400px) rotate3d(1,0,0,90deg);opacity:0}}","flip-out-y":"{from{transform:perspective(400px)}30%{transform:perspective(400px) rotate3d(0,1,0,-15deg);opacity:1}to{transform:perspective(400px) rotate3d(0,1,0,90deg);opacity:0}}","rotate-in":"{from{transform-origin:center;transform:rotate3d(0,0,1,-200deg);opacity:0}to{transform-origin:center;transform:translate3d(0,0,0);opacity:1}}","rotate-in-down-left":"{from{transform-origin:left bottom;transform:rotate3d(0,0,1,-45deg);opacity:0}to{transform-origin:left bottom;transform:translate3d(0,0,0);opacity:1}}","rotate-in-down-right":"{from{transform-origin:right bottom;transform:rotate3d(0,0,1,45deg);opacity:0}to{transform-origin:right bottom;transform:translate3d(0,0,0);opacity:1}}","rotate-in-up-left":"{from{transform-origin:left top;transform:rotate3d(0,0,1,45deg);opacity:0}to{transform-origin:left top;transform:translate3d(0,0,0);opacity:1}}","rotate-in-up-right":"{from{transform-origin:right bottom;transform:rotate3d(0,0,1,-90deg);opacity:0}to{transform-origin:right bottom;transform:translate3d(0,0,0);opacity:1}}","rotate-out":"{from{transform-origin:center;opacity:1}to{transform-origin:center;transform:rotate3d(0,0,1,200deg);opacity:0}}","rotate-out-down-left":"{from{transform-origin:left bottom;opacity:1}to{transform-origin:left bottom;transform:rotate3d(0,0,1,45deg);opacity:0}}","rotate-out-down-right":"{from{transform-origin:right bottom;opacity:1}to{transform-origin:right bottom;transform:rotate3d(0,0,1,-45deg);opacity:0}}","rotate-out-up-left":"{from{transform-origin:left bottom;opacity:1}to{transform-origin:left bottom;transform:rotate3d(0,0,1,-45deg);opacity:0}}","rotate-out-up-right":"{from{transform-origin:right bottom;opacity:1}to{transform-origin:left bottom;transform:rotate3d(0,0,1,90deg);opacity:0}}","roll-in":"{from{opacity:0;transform:translate3d(-100%,0,0) rotate3d(0,0,1,-120deg)}to{opacity:1;transform:translate3d(0,0,0)}}","roll-out":"{from{opacity:1}to{opacity:0;transform:translate3d(100%,0,0) rotate3d(0,0,1,120deg)}}","zoom-in":"{from{opacity:0;transform:scale3d(0.3,0.3,0.3)}50%{opacity:1}}","zoom-in-down":"{from{opacity:0;transform:scale3d(0.1,0.1,0.1) translate3d(0,-1000px,0);animation-timing-function:cubic-bezier(0.55,0.055,0.675,0.19)}60%{opacity:1;transform:scale3d(0.475,0.475,0.475) translate3d(0,60px,0);animation-timing-function:cubic-bezier(0.175,0.885,0.32,1)}}","zoom-in-left":"{from{opacity:0;transform:scale3d(0.1,0.1,0.1) translate3d(-1000px,0,0);animation-timing-function:cubic-bezier(0.55,0.055,0.675,0.19)}60%{opacity:1;transform:scale3d(0.475,0.475,0.475) translate3d(10px,0,0);animation-timing-function:cubic-bezier(0.175,0.885,0.32,1)}}","zoom-in-right":"{from{opacity:0;transform:scale3d(0.1,0.1,0.1) translate3d(1000px,0,0);animation-timing-function:cubic-bezier(0.55,0.055,0.675,0.19)}60%{opacity:1;transform:scale3d(0.475,0.475,0.475) translate3d(-10px,0,0);animation-timing-function:cubic-bezier(0.175,0.885,0.32,1)}}","zoom-in-up":"{from{opacity:0;transform:scale3d(0.1,0.1,0.1) translate3d(0,1000px,0);animation-timing-function:cubic-bezier(0.55,0.055,0.675,0.19)}60%{opacity:1;transform:scale3d(0.475,0.475,0.475) translate3d(0,-60px,0);animation-timing-function:cubic-bezier(0.175,0.885,0.32,1)}}","zoom-out":"{from{opacity:1}50%{opacity:0;transform:scale3d(0.3,0.3,0.3)}to{opacity:0}}","zoom-out-down":"{40%{opacity:1;transform:scale3d(0.475,0.475,0.475) translate3d(0,-60px,0);animation-timing-function:cubic-bezier(0.55,0.055,0.675,0.19)}to{opacity:0;transform:scale3d(0.1,0.1,0.1) translate3d(0,2000px,0);transform-origin:center bottom;animation-timing-function:cubic-bezier(0.175,0.885,0.32,1)}}","zoom-out-left":"{40%{opacity:1;transform:scale3d(0.475,0.475,0.475) translate3d(42px,0,0)}to{opacity:0;transform:scale(0.1) translate3d(-2000px,0,0);transform-origin:left center}}","zoom-out-right":"{40%{opacity:1;transform:scale3d(0.475,0.475,0.475) translate3d(-42px,0,0)}to{opacity:0;transform:scale(0.1) translate3d(2000px,0,0);transform-origin:right center}}","zoom-out-up":"{40%{opacity:1;transform:scale3d(0.475,0.475,0.475) translate3d(0,60px,0);animation-timing-function:cubic-bezier(0.55,0.055,0.675,0.19)}to{opacity:0;transform:scale3d(0.1,0.1,0.1) translate3d(0,-2000px,0);transform-origin:center bottom;animation-timing-function:cubic-bezier(0.175,0.885,0.32,1)}}","bounce-in":"{from,20%,40%,60%,80%,to{animation-timing-function:ease-in-out}0%{opacity:0;transform:scale3d(0.3,0.3,0.3)}20%{transform:scale3d(1.1,1.1,1.1)}40%{transform:scale3d(0.9,0.9,0.9)}60%{transform:scale3d(1.03,1.03,1.03);opacity:1}80%{transform:scale3d(0.97,0.97,0.97)}to{opacity:1;transform:scale3d(1,1,1)}}","bounce-in-down":"{from,60%,75%,90%,to{animation-timing-function:cubic-bezier(0.215,0.61,0.355,1)}0%{opacity:0;transform:translate3d(0,-3000px,0)}60%{opacity:1;transform:translate3d(0,25px,0)}75%{transform:translate3d(0,-10px,0)}90%{transform:translate3d(0,5px,0)}to{transform:translate3d(0,0,0)}}","bounce-in-left":"{from,60%,75%,90%,to{animation-timing-function:cubic-bezier(0.215,0.61,0.355,1)}0%{opacity:0;transform:translate3d(-3000px,0,0)}60%{opacity:1;transform:translate3d(25px,0,0)}75%{transform:translate3d(-10px,0,0)}90%{transform:translate3d(5px,0,0)}to{transform:translate3d(0,0,0)}}","bounce-in-right":"{from,60%,75%,90%,to{animation-timing-function:cubic-bezier(0.215,0.61,0.355,1)}0%{opacity:0;transform:translate3d(3000px,0,0)}60%{opacity:1;transform:translate3d(-25px,0,0)}75%{transform:translate3d(10px,0,0)}90%{transform:translate3d(-5px,0,0)}to{transform:translate3d(0,0,0)}}","bounce-in-up":"{from,60%,75%,90%,to{animation-timing-function:cubic-bezier(0.215,0.61,0.355,1)}0%{opacity:0;transform:translate3d(0,3000px,0)}60%{opacity:1;transform:translate3d(0,-20px,0)}75%{transform:translate3d(0,10px,0)}90%{transform:translate3d(0,-5px,0)}to{transform:translate3d(0,0,0)}}","bounce-out":"{20%{transform:scale3d(0.9,0.9,0.9)}50%,55%{opacity:1;transform:scale3d(1.1,1.1,1.1)}to{opacity:0;transform:scale3d(0.3,0.3,0.3)}}","bounce-out-down":"{20%{transform:translate3d(0,10px,0)}40%,45%{opacity:1;transform:translate3d(0,-20px,0)}to{opacity:0;transform:translate3d(0,2000px,0)}}","bounce-out-left":"{20%{opacity:1;transform:translate3d(20px,0,0)}to{opacity:0;transform:translate3d(-2000px,0,0)}}","bounce-out-right":"{20%{opacity:1;transform:translate3d(-20px,0,0)}to{opacity:0;transform:translate3d(2000px,0,0)}}","bounce-out-up":"{20%{transform:translate3d(0,-10px,0)}40%,45%{opacity:1;transform:translate3d(0,20px,0)}to{opacity:0;transform:translate3d(0,-2000px,0)}}","slide-in-down":"{from{transform:translate3d(0,-100%,0);visibility:visible}to{transform:translate3d(0,0,0)}}","slide-in-left":"{from{transform:translate3d(-100%,0,0);visibility:visible}to{transform:translate3d(0,0,0)}}","slide-in-right":"{from{transform:translate3d(100%,0,0);visibility:visible}to{transform:translate3d(0,0,0)}}","slide-in-up":"{from{transform:translate3d(0,100%,0);visibility:visible}to{transform:translate3d(0,0,0)}}","slide-out-down":"{from{transform:translate3d(0,0,0)}to{visibility:hidden;transform:translate3d(0,100%,0)}}","slide-out-left":"{from{transform:translate3d(0,0,0)}to{visibility:hidden;transform:translate3d(-100%,0,0)}}","slide-out-right":"{from{transform:translate3d(0,0,0)}to{visibility:hidden;transform:translate3d(100%,0,0)}}","slide-out-up":"{from{transform:translate3d(0,0,0)}to{visibility:hidden;transform:translate3d(0,-100%,0)}}","fade-in":"{from{opacity:0}to{opacity:1}}","fade-in-down":"{from{opacity:0;transform:translate3d(0,-100%,0)}to{opacity:1;transform:translate3d(0,0,0)}}","fade-in-down-big":"{from{opacity:0;transform:translate3d(0,-2000px,0)}to{opacity:1;transform:translate3d(0,0,0)}}","fade-in-left":"{from{opacity:0;transform:translate3d(-100%,0,0)}to{opacity:1;transform:translate3d(0,0,0)}}","fade-in-left-big":"{from{opacity:0;transform:translate3d(-2000px,0,0)}to{opacity:1;transform:translate3d(0,0,0)}}","fade-in-right":"{from{opacity:0;transform:translate3d(100%,0,0)}to{opacity:1;transform:translate3d(0,0,0)}}","fade-in-right-big":"{from{opacity:0;transform:translate3d(2000px,0,0)}to{opacity:1;transform:translate3d(0,0,0)}}","fade-in-up":"{from{opacity:0;transform:translate3d(0,100%,0)}to{opacity:1;transform:translate3d(0,0,0)}}","fade-in-up-big":"{from{opacity:0;transform:translate3d(0,2000px,0)}to{opacity:1;transform:translate3d(0,0,0)}}","fade-in-top-left":"{from{opacity:0;transform:translate3d(-100%,-100%,0)}to{opacity:1;transform:translate3d(0,0,0)}}","fade-in-top-right":"{from{opacity:0;transform:translate3d(100%,-100%,0)}to{opacity:1;transform:translate3d(0,0,0)}}","fade-in-bottom-left":"{from{opacity:0;transform:translate3d(-100%,100%,0)}to{opacity:1;transform:translate3d(0,0,0)}}","fade-in-bottom-right":"{from{opacity:0;transform:translate3d(100%,100%,0)}to{opacity:1;transform:translate3d(0,0,0)}}","fade-out":"{from{opacity:1}to{opacity:0}}","fade-out-down":"{from{opacity:1}to{opacity:0;transform:translate3d(0,100%,0)}}","fade-out-down-big":"{from{opacity:1}to{opacity:0;transform:translate3d(0,2000px,0)}}","fade-out-left":"{from{opacity:1}to{opacity:0;transform:translate3d(-100%,0,0)}}","fade-out-left-big":"{from{opacity:1}to{opacity:0;transform:translate3d(-2000px,0,0)}}","fade-out-right":"{from{opacity:1}to{opacity:0;transform:translate3d(100%,0,0)}}","fade-out-right-big":"{from{opacity:1}to{opacity:0;transform:translate3d(2000px,0,0)}}","fade-out-up":"{from{opacity:1}to{opacity:0;transform:translate3d(0,-100%,0)}}","fade-out-up-big":"{from{opacity:1}to{opacity:0;transform:translate3d(0,-2000px,0)}}","fade-out-top-left":"{from{opacity:1;transform:translate3d(0,0,0)}to{opacity:0;transform:translate3d(-100%,-100%,0)}}","fade-out-top-right":"{from{opacity:1;transform:translate3d(0,0,0)}to{opacity:0;transform:translate3d(100%,-100%,0)}}","fade-out-bottom-left":"{from{opacity:1;transform:translate3d(0,0,0)}to{opacity:0;transform:translate3d(-100%,100%,0)}}","fade-out-bottom-right":"{from{opacity:1;transform:translate3d(0,0,0)}to{opacity:0;transform:translate3d(100%,100%,0)}}","back-in-up":"{0%{opacity:0.7;transform:translateY(1200px) scale(0.7)}80%{opacity:0.7;transform:translateY(0px) scale(0.7)}100%{opacity:1;transform:scale(1)}}","back-in-down":"{0%{opacity:0.7;transform:translateY(-1200px) scale(0.7)}80%{opacity:0.7;transform:translateY(0px) scale(0.7)}100%{opacity:1;transform:scale(1)}}","back-in-right":"{0%{opacity:0.7;transform:translateX(2000px) scale(0.7)}80%{opacity:0.7;transform:translateY(0px) scale(0.7)}100%{opacity:1;transform:scale(1)}}","back-in-left":"{0%{opacity:0.7;transform:translateX(-2000px) scale(0.7)}80%{opacity:0.7;transform:translateX(0px) scale(0.7)}100%{opacity:1;transform:scale(1)}}","back-out-up":"{0%{opacity:1;transform:scale(1)}80%{opacity:0.7;transform:translateY(0px) scale(0.7)}100%{opacity:0.7;transform:translateY(-700px) scale(0.7)}}","back-out-down":"{0%{opacity:1;transform:scale(1)}80%{opacity:0.7;transform:translateY(0px) scale(0.7)}100%{opacity:0.7;transform:translateY(700px) scale(0.7)}}","back-out-right":"{0%{opacity:1;transform:scale(1)}80%{opacity:0.7;transform:translateY(0px) scale(0.7)}100%{opacity:0.7;transform:translateX(2000px) scale(0.7)}}","back-out-left":"{0%{opacity:1;transform:scale(1)}80%{opacity:0.7;transform:translateX(-2000px) scale(0.7)}100%{opacity:0.7;transform:translateY(-700px) scale(0.7)}}"},durations:{pulse:"2s","heart-beat":"1.3s","bounce-in":"0.75s","bounce-out":"0.75s","flip-out-x":"0.75s","flip-out-y":"0.75s",hinge:"2s"},timingFns:{pulse:"cubic-bezier(0.4,0,.6,1)",ping:"cubic-bezier(0,0,.2,1)","head-shake":"ease-in-out","heart-beat":"ease-in-out","pulse-alt":"ease-in-out","light-speed-in-left":"ease-out","light-speed-in-right":"ease-out","light-speed-out-left":"ease-in","light-speed-out-right":"ease-in"},properties:{"bounce-alt":{"transform-origin":"center bottom"},jello:{"transform-origin":"center"},swing:{"transform-origin":"top center"},flip:{"backface-visibility":"visible"},"flip-in-x":{"backface-visibility":"visible !important"},"flip-in-y":{"backface-visibility":"visible !important"},"flip-out-x":{"backface-visibility":"visible !important"},"flip-out-y":{"backface-visibility":"visible !important"},"rotate-in":{"transform-origin":"center"},"rotate-in-down-left":{"transform-origin":"left bottom"},"rotate-in-down-right":{"transform-origin":"right bottom"},"rotate-in-up-left":{"transform-origin":"left bottom"},"rotate-in-up-right":{"transform-origin":"right bottom"},"rotate-out":{"transform-origin":"center"},"rotate-out-down-left":{"transform-origin":"left bottom"},"rotate-out-down-right":{"transform-origin":"right bottom"},"rotate-out-up-left":{"transform-origin":"left bottom"},"rotate-out-up-right":{"transform-origin":"right bottom"},hinge:{"transform-origin":"top left"},"zoom-out-down":{"transform-origin":"center bottom"},"zoom-out-left":{"transform-origin":"left center"},"zoom-out-right":{"transform-origin":"right center"},"zoom-out-up":{"transform-origin":"center bottom"}},counts:{spin:"infinite",ping:"infinite",pulse:"infinite","pulse-alt":"infinite",bounce:"infinite","bounce-alt":"infinite"},category:{pulse:"Attention Seekers",bounce:"Attention Seekers",spin:"Attention Seekers",ping:"Attention Seekers","bounce-alt":"Attention Seekers",flash:"Attention Seekers","pulse-alt":"Attention Seekers","rubber-band":"Attention Seekers","shake-x":"Attention Seekers","shake-y":"Attention Seekers","head-shake":"Attention Seekers",swing:"Attention Seekers",tada:"Attention Seekers",wobble:"Attention Seekers",jello:"Attention Seekers","heart-beat":"Attention Seekers",hinge:"Specials","jack-in-the-box":"Specials","light-speed-in-left":"Lightspeed","light-speed-in-right":"Lightspeed","light-speed-out-left":"Lightspeed","light-speed-out-right":"Lightspeed",flip:"Flippers","flip-in-x":"Flippers","flip-in-y":"Flippers","flip-out-x":"Flippers","flip-out-y":"Flippers","rotate-in":"Rotating Entrances","rotate-in-down-left":"Rotating Entrances","rotate-in-down-right":"Rotating Entrances","rotate-in-up-left":"Rotating Entrances","rotate-in-up-right":"Rotating Entrances","rotate-out":"Rotating Exits","rotate-out-down-left":"Rotating Exits","rotate-out-down-right":"Rotating Exits","rotate-out-up-left":"Rotating Exits","rotate-out-up-right":"Rotating Exits","roll-in":"Specials","roll-out":"Specials","zoom-in":"Zooming Entrances","zoom-in-down":"Zooming Entrances","zoom-in-left":"Zooming Entrances","zoom-in-right":"Zooming Entrances","zoom-in-up":"Zooming Entrances","zoom-out":"Zooming Exits","zoom-out-down":"Zooming Exits","zoom-out-left":"Zooming Exits","zoom-out-right":"Zooming Exits","zoom-out-up":"Zooming Exits","bounce-in":"Bouncing Entrances","bounce-in-down":"Bouncing Entrances","bounce-in-left":"Bouncing Entrances","bounce-in-right":"Bouncing Entrances","bounce-in-up":"Bouncing Entrances","bounce-out":"Bouncing Exits","bounce-out-down":"Bouncing Exits","bounce-out-left":"Bouncing Exits","bounce-out-right":"Bouncing Exits","bounce-out-up":"Bouncing Exits","slide-in-down":"Sliding Entrances","slide-in-left":"Sliding Entrances","slide-in-right":"Sliding Entrances","slide-in-up":"Sliding Entrances","slide-out-down":"Sliding Exits","slide-out-left":"Sliding Exits","slide-out-right":"Sliding Exits","slide-out-up":"Sliding Exits","fade-in":"Fading Entrances","fade-in-down":"Fading Entrances","fade-in-down-big":"Fading Entrances","fade-in-left":"Fading Entrances","fade-in-left-big":"Fading Entrances","fade-in-right":"Fading Entrances","fade-in-right-big":"Fading Entrances","fade-in-up":"Fading Entrances","fade-in-up-big":"Fading Entrances","fade-in-top-left":"Fading Entrances","fade-in-top-right":"Fading Entrances","fade-in-bottom-left":"Fading Entrances","fade-in-bottom-right":"Fading Entrances","fade-out":"Fading Exits","fade-out-down":"Fading Exits","fade-out-down-big":"Fading Exits","fade-out-left":"Fading Exits","fade-out-left-big":"Fading Exits","fade-out-right":"Fading Exits","fade-out-right-big":"Fading Exits","fade-out-up":"Fading Exits","fade-out-up-big":"Fading Exits","fade-out-top-left":"Fading Exits","fade-out-top-right":"Fading Exits","fade-out-bottom-left":"Fading Exits","fade-out-bottom-right":"Fading Exits","back-in-up":"Back Entrances","back-in-down":"Back Entrances","back-in-right":"Back Entrances","back-in-left":"Back Entrances","back-out-up":"Back Exits","back-out-down":"Back Exits","back-out-right":"Back Exits","back-out-left":"Back Exits"}},gm={busy:'busy="true"',checked:'checked="true"',disabled:'disabled="true"',expanded:'expanded="true"',hidden:'hidden="true"',pressed:'pressed="true"',readonly:'readonly="true"',required:'required="true"',selected:'selected="true"'},bm={DEFAULT:"8px",xs:"4px",sm:"8px",md:"12px",lg:"16px",xl:"24px","2xl":"40px","3xl":"64px"},ym={sans:["ui-sans-serif","system-ui","-apple-system","BlinkMacSystemFont",'"Segoe UI"',"Roboto",'"Helvetica Neue"',"Arial",'"Noto Sans"',"sans-serif",'"Apple Color Emoji"','"Segoe UI Emoji"','"Segoe UI Symbol"','"Noto Color Emoji"'].join(","),serif:["ui-serif","Georgia","Cambria",'"Times New Roman"',"Times","serif"].join(","),mono:["ui-monospace","SFMono-Regular","Menlo","Monaco","Consolas",'"Liberation Mono"','"Courier New"',"monospace"].join(",")},vm={xs:{fontSize:"0.75rem",lineHeight:"1rem"},sm:{fontSize:"0.875rem",lineHeight:"1.25rem"},base:{fontSize:"1rem",lineHeight:"1.5rem"},lg:{fontSize:"1.125rem",lineHeight:"1.75rem"},xl:{fontSize:"1.25rem",lineHeight:"1.75rem"},"2xl":{fontSize:"1.5rem",lineHeight:"2rem"},"3xl":{fontSize:"1.875rem",lineHeight:"2.25rem"},"4xl":{fontSize:"2.25rem",lineHeight:"2.5rem"},"5xl":{fontSize:"3rem",lineHeight:"1"},"6xl":{fontSize:"3.75rem",lineHeight:"1"},"7xl":{fontSize:"4.5rem",lineHeight:"1"},"8xl":{fontSize:"6rem",lineHeight:"1"},"9xl":{fontSize:"8rem",lineHeight:"1"}},km={thin:"100",extralight:"200",light:"300",normal:"400",medium:"500",semibold:"600",bold:"700",extrabold:"800",black:"900"},xm={tighter:"-0.05em",tight:"-0.025em",normal:"0em",wide:"0.025em",wider:"0.05em",widest:"0.1em"},wm={none:"1",tight:"1.25",snug:"1.375",normal:"1.5",relaxed:"1.625",loose:"2"},$m={DEFAULT:"1.5rem",none:"0",sm:"thin",md:"medium",lg:"thick"},Em={portrait:"(orientation: portrait)",landscape:"(orientation: landscape)",os_dark:"(prefers-color-scheme: dark)",os_light:"(prefers-color-scheme: light)",motion_ok:"(prefers-reduced-motion: no-preference)",motion_not_ok:"(prefers-reduced-motion: reduce)",high_contrast:"(prefers-contrast: high)",low_contrast:"(prefers-contrast: low)",opacity_ok:"(prefers-reduced-transparency: no-preference)",opacity_not_ok:"(prefers-reduced-transparency: reduce)",use_data_ok:"(prefers-reduced-data: no-preference)",use_data_not_ok:"(prefers-reduced-data: reduce)",touch:"(hover: none) and (pointer: coarse)",stylus:"(hover: none) and (pointer: fine)",pointer:"(hover) and (pointer: coarse)",mouse:"(hover) and (pointer: fine)",hd_color:"(dynamic-range: high)"},Sm={DEFAULT:"0.25rem",xs:"0.75rem",sm:"0.875rem",lg:"1.125rem",xl:"1.25rem","2xl":"1.5rem","3xl":"1.875rem","4xl":"2.25rem","5xl":"3rem","6xl":"3.75rem","7xl":"4.5rem","8xl":"6rem","9xl":"8rem"},_m={DEFAULT:"0.25rem",none:"0",xs:"0.125rem",sm:"0.25rem",md:"0.375rem",lg:"0.5rem",xl:"0.75rem","2xl":"1rem","3xl":"1.5rem","4xl":"2rem"},Am={DEFAULT:["0 1px 3px 0 rgb(0 0 0 / 0.1)","0 1px 2px -1px rgb(0 0 0 / 0.1)"],"2xs":"0 1px rgb(0 0 0 / 0.05)",xs:"0 1px 2px 0 rgb(0 0 0 / 0.05)",sm:["0 1px 3px 0 rgb(0 0 0 / 0.1)","0 1px 2px -1px rgb(0 0 0 / 0.1)"],md:["0 4px 6px -1px rgb(0 0 0 / 0.1)","0 2px 4px -2px rgb(0 0 0 / 0.1)"],lg:["0 10px 15px -3px rgb(0 0 0 / 0.1)","0 4px 6px -4px rgb(0 0 0 / 0.1)"],xl:["0 20px 25px -5px rgb(0 0 0 / 0.1)","0 8px 10px -6px rgb(0 0 0 / 0.1)"],"2xl":"0 25px 50px -12px rgb(0 0 0 / 0.25)",none:"0 0 rgb(0 0 0 / 0)",inner:"inset 0 2px 4px 0 rgb(0 0 0 / 0.05)"},Cm={"2xs":"inset 0 1px rgb(0 0 0 / 0.05)",xs:"inset 0 1px 1px rgb(0 0 0 / 0.05)",sm:"inset 0 2px 4px rgb(0 0 0 / 0.05)",none:"0 0 rgb(0 0 0 / 0)"},Dm={DEFAULT:["0 1px 2px rgb(0 0 0 / 0.1)","0 1px 1px rgb(0 0 0 / 0.06)"],xs:"0 1px 1px rgb(0 0 0 / 0.05)",sm:"0 1px 2px rgb(0 0 0 / 0.15)",md:"0 3px 3px rgb(0 0 0 / 0.12)",lg:"0 4px 4px rgb(0 0 0 / 0.15)",xl:"0 9px 7px rgb(0 0 0 / 0.1)","2xl":"0 25px 25px rgb(0 0 0 / 0.15)"},Om={none:"0 0 rgb(0 0 0 / 0)","2xs":"0 1px 0 rgb(0 0 0 / 0.15)",xs:"0 1px 1px rgb(0 0 0 / 0.2)",sm:["0 1px 0 rgb(0 0 0 / 0.075)","0 1px 1px rgb(0 0 0 / 0.075)","0 2px 2px rgb(0 0 0 / 0.075)"],md:["0 1px 1px rgb(0 0 0 / 0.1)","0 1px 2px rgb(0 0 0 / 0.1)","0 2px 4px rgb(0 0 0 / 0.1)"],lg:["0 1px 2px rgb(0 0 0 / 0.1)","0 3px 2px rgb(0 0 0 / 0.1)","0 4px 8px rgb(0 0 0 / 0.1)"]},Bm={dramatic:"100px",near:"300px",normal:"500px",midrange:"800px",distant:"1200px"},Fm={transition:{duration:"150ms",timingFunction:"cubic-bezier(0.4, 0, 0.2, 1)"},font:{family:"var(--font-sans)",featureSettings:"var(--font-sans--font-feature-settings)",variationSettings:"var(--font-sans--font-variation-settings)"},monoFont:{family:"var(--font-mono)",featureSettings:"var(--font-mono--font-feature-settings)",variationSettings:"var(--font-mono--font-variation-settings)"}},Mm={"3xs":"16rem","2xs":"18rem",xs:"20rem",sm:"24rem",md:"28rem",lg:"32rem",xl:"36rem","2xl":"42rem","3xl":"48rem","4xl":"56rem","5xl":"64rem","6xl":"72rem","7xl":"80rem",prose:"65ch"},cu={sm:"40rem",md:"48rem",lg:"64rem",xl:"80rem","2xl":"96rem"},Nm={...cu},Lm={grid:"(display: grid)"},Pm={linear:"linear",in:"cubic-bezier(0.4, 0, 1, 1)",out:"cubic-bezier(0, 0, 0.2, 1)","in-out":"cubic-bezier(0.4, 0, 0.2, 1)",DEFAULT:"cubic-bezier(0.4, 0, 0.2, 1)"},zm={none:"none",all:"all",colors:["color","background-color","border-color","text-decoration-color","fill","stroke","--un-gradient-from","--un-gradient-via","--un-gradient-to"].join(","),opacity:"opacity",shadow:"box-shadow",transform:["transform","translate","scale","rotate"].join(","),get DEFAULT(){return[this.colors,this.opacity,this.shadow,this.transform,"filter","-webkit-backdrop-filter","backdrop-filter"].join(",")}},Tm={font:ym,colors:lu,spacing:Sm,breakpoint:cu,verticalBreakpoint:Nm,text:vm,fontWeight:km,tracking:xm,leading:wm,textStrokeWidth:$m,radius:_m,shadow:Am,insetShadow:Cm,dropShadow:Dm,textShadow:Om,ease:Pm,animation:mm,blur:bm,perspective:Bm,property:zm,default:Fm,container:Mm,aria:gm,media:Em,supports:Lm},jm={name:"aria",match(t,e){let r=_e("aria-",t,e.generator.config.separators);if(r){let[n,i]=r,a=E.bracket(n)??e.theme.aria?.[n]??"";if(a)return{matcher:i,selector:s=>`${s}[aria-${a}]`}}},multiPass:!0,autocomplete:"aria-$aria"};function vt(t){return{name:`${t}-aria`,match(e,r){let n=_e(`${t}-aria-`,e,r.generator.config.separators);if(n){let[i,a,s]=n,o=E.bracket(i)??r.theme.aria?.[i]??"";if(o){let u={group:`&:is(:where(.group${s?`\\/${s}`:""})[aria-${o}] *)`,peer:`&:is(:where(.peer${s?`\\/${s}`:""})[aria-${o}] ~ *)`,previous:`:where(*[aria-${o}] + &)`,parent:`:where(*[aria-${o}] > &)`,has:`&:has(*[aria-${o}])`,in:`:where(*[aria-${o}]) &`};return{matcher:a,handle:(c,d)=>d({...c,parent:`${c.parent?`${c.parent} $$ `:""}${c.selector}`,selector:u[t]})}}}},multiPass:!0}}var Im=[vt("group"),vt("peer"),vt("parent"),vt("previous"),vt("has"),vt("in")],lo=/(max|min)-\[([^\]]*)\]:/;function Rm(){let t={};return{name:"breakpoints",match(e,r){if(lo.test(e)){let i=e.match(lo);return{matcher:e.replace(i[0],""),handle:(a,s)=>s({...a,parent:`${a.parent?`${a.parent} $$ `:""}@media (${i[1]}-width: ${i[2]})`})}}let n=(un(r)??[]).map(({point:i,size:a},s)=>[i,a,s]);for(let[i,a,s]of n){t[i]||(t[i]=new RegExp(`^((?:([al]t-|[<~]|max-))?${i}(?:${r.generator.config.separators.join("|")}))`));let o=e.match(t[i]);if(!o)continue;let[,u]=o,c=e.slice(u.length);if(c==="container")continue;let d=u.startsWith("lt-")||u.startsWith("<")||u.startsWith("max-"),h=u.startsWith("at-")||u.startsWith("~"),p=3e3;return d?(p-=s+1,{matcher:c,handle:(l,m)=>m({...l,parent:`${l.parent?`${l.parent} $$ `:""}@media (max-width: ${La(a)})`,parentOrder:p})}):(p+=s+1,h&&s<n.length-1?{matcher:c,handle:(l,m)=>m({...l,parent:`${l.parent?`${l.parent} $$ `:""}@media (min-width: ${a}) and (max-width: ${La(n[s+1][1])})`,parentOrder:p})}:{matcher:c,handle:(l,m)=>m({...l,parent:`${l.parent?`${l.parent} $$ `:""}@media (min-width: ${a})`,parentOrder:p})})}},multiPass:!0,autocomplete:"(at-|lt-|max-|)$breakpoint:"}}var Vm=[Ne("*",t=>({selector:`${t.selector} > *`}),{order:-1}),Ne("**",t=>({selector:`${t.selector} *`}),{order:-1})];function Gt(t,e){return{name:`combinator:${t}`,match(r,n){if(!r.startsWith(t))return;let i=n.generator.config.separators,a=pt(`${t}-`,r,i);if(!a){for(let o of i)if(r.startsWith(`${t}${o}`)){a=["",r.slice(t.length+o.length)];break}if(!a)return}let s=E.bracket(a[0])??"";return s===""&&(s="*"),{matcher:a[1],selector:o=>`${o}${e}${s}`}},multiPass:!0}}var qm=[Gt("all"," "),Gt("children",">"),Gt("next","+"),Gt("sibling","+"),Gt("siblings","~")],Um=[Ne("svg",t=>({selector:`${t.selector} svg`}))],Wm={name:"@",match(t,e){if(t.startsWith("@container"))return;let r=_e("@",t,e.generator.config.separators);if(r){let[n,i,a]=r,s=E.bracket(n),o;if(s?o=E.numberWithUnit(s):o=e.theme.container?.[n]??"",o){let u=1e3+Object.keys(e.theme.container??{}).indexOf(n);return a&&(u+=1e3),{matcher:i,handle:(c,d)=>d({...c,parent:`${c.parent?`${c.parent} $$ `:""}@container${a?` ${a} `:" "}(min-width: ${o})`,parentOrder:u})}}}},multiPass:!0};function Hm(t={}){if(t?.dark==="class"||typeof t.dark=="object"){let{dark:e=".dark",light:r=".light"}=typeof t.dark=="string"?{}:t.dark;return[Ne("dark",n=>({prefix:`${e} $$ ${n.prefix}`})),Ne("light",n=>({prefix:`${r} $$ ${n.prefix}`}))]}return[de("dark","@media (prefers-color-scheme: dark)"),de("light","@media (prefers-color-scheme: light)")]}var Zm=[Ne(".dark",t=>({prefix:`.dark $$ ${t.prefix}`})),Ne(".light",t=>({prefix:`.light $$ ${t.prefix}`})),de("@dark","@media (prefers-color-scheme: dark)"),de("@light","@media (prefers-color-scheme: light)"),de("not-dark","@media not (prefers-color-scheme: dark)")],Gm={name:"data",match(t,e){let r=_e("data-",t,e.generator.config.separators);if(r){let[n,i]=r,a=E.bracket(n)??e.theme.data?.[n]??"";if(a)return{matcher:i,selector:s=>`${s}[data-${a}]`}}},multiPass:!0};function kt(t){return{name:`${t}-data`,match(e,r){let n=_e(`${t}-data-`,e,r.generator.config.separators);if(n){let[i,a,s]=n,o=E.bracket(i)??r.theme.data?.[i]??"";if(o){let u={group:`&:is(:where(.group${s?`\\/${s}`:""})[data-${o}] *)`,peer:`&:is(:where(.peer${s?`\\/${s}`:""})[data-${o}] ~ *)`,previous:`:where(*[data-${o}] + &)`,parent:`:where(*[data-${o}] > &)`,has:`&:has(*[data-${o}])`,in:`:where(*[data-${o}]) &`};return{matcher:a,handle:(c,d)=>d({...c,parent:`${c.parent?`${c.parent} $$ `:""}${c.selector}`,selector:u[t]})}}}},multiPass:!0}}var Ym=[kt("group"),kt("peer"),kt("parent"),kt("previous"),kt("has"),kt("in")],Jm=[Ne("rtl",t=>({prefix:`[dir="rtl"] $$ ${t.prefix}`})),Ne("ltr",t=>({prefix:`[dir="ltr"] $$ ${t.prefix}`}))];function Km(){let t;return{name:"important",match(e,r){t||(t=new RegExp(`^(important(?:${r.generator.config.separators.join("|")})|!)`));let n,i=e.match(t);if(i?n=e.slice(i[0].length):e.endsWith("!")&&(n=e.slice(0,-1)),n)return{matcher:n,body:a=>(a.forEach(s=>{s[1]!=null&&(s[1]+=" !important")}),a)}}}}var Xm=Ne("inert",t=>({parent:`${t.parent?`${t.parent} $$ `:""}${t.selector}`,selector:"&:is([inert],[inert] *)"})),Qm=de("noscript","@media (scripting: none)"),e1={name:"scripting",match(t,e){let r=_e(["script-","scripting-"],t,e.generator.config.separators);if(r){let[n,i]=r;if(["none","initial-only","enabled"].includes(n))return{matcher:i,handle:(a,s)=>s({...a,parent:`${a.parent?`${a.parent} $$ `:""}@media (scripting: ${n})`})}}},multiPass:!0,autocomplete:["(scripting|script)-(none|initial-only|enabled)"]},t1=de("print","@media print"),r1={name:"media",match(t,e){let r=_e("media-",t,e.generator.config.separators);if(r){let[n,i]=r,a=E.bracket(n)??"";if(a===""&&(a=e.theme.media?.[n]??""),a)return{matcher:i,handle:(s,o)=>o({...s,parent:`${s.parent?`${s.parent} $$ `:""}@media ${a}`})}}},multiPass:!0,autocomplete:"media-$media"},n1=[de("contrast-more","@media (prefers-contrast: more)"),de("contrast-less","@media (prefers-contrast: less)")],i1=[de("motion-reduce","@media (prefers-reduced-motion: reduce)"),de("motion-safe","@media (prefers-reduced-motion: no-preference)")],a1=[de("landscape","@media (orientation: landscape)"),de("portrait","@media (orientation: portrait)")],o1=[de("forced-colors","@media (forced-colors: active)")],s1={name:"selector",match(t,e){let r=pt("selector-",t,e.generator.config.separators);if(r){let[n,i]=r,a=E.bracket(n);if(a)return{matcher:i,selector:()=>a}}}},u1={name:"layer",match(t,e){let r=_e("layer-",t,e.generator.config.separators);if(r){let[n,i]=r,a=E.bracket(n)??n;if(a)return{matcher:i,handle:(s,o)=>o({...s,parent:`${s.parent?`${s.parent} $$ `:""}@layer ${a}`})}}}},l1={name:"uno-layer",match(t,e){let r=_e("uno-layer-",t,e.generator.config.separators);if(r){let[n,i]=r,a=E.bracket(n)??n;if(a)return{matcher:i,layer:a}}}},c1={name:"scope",match(t,e){let r=pt("scope-",t,e.generator.config.separators);if(r){let[n,i]=r,a=E.bracket(n);if(a)return{matcher:i,selector:s=>`${a} $$ ${s}`}}}},d1={name:"variables",match(t,e){if(!t.startsWith("["))return;let[r,n]=br(t,"[","]")??[];if(!(r&&n))return;let i;for(let o of e.generator.config.separators)if(n.startsWith(o)){i=n.slice(o.length);break}if(i==null)return;let a=E.bracket(r)??"",s=a.startsWith("@");if(s||a.includes("&"))return{matcher:i,handle(o,u){let c=s?{parent:`${o.parent?`${o.parent} $$ `:""}${a}`}:{selector:a.replace(/&/g,o.selector)};return u({...o,...c})}}},multiPass:!0},h1={name:"theme-variables",match(t,e){if(Jd(t))return{matcher:t,handle(r,n){return n({...r,entries:JSON.parse(Kd(JSON.stringify(r.entries),e.theme))})}}}},p1=[Ne("@hover",t=>({parent:`${t.parent?`${t.parent} $$ `:""}@media (hover: hover) and (pointer: fine)`,selector:`${t.selector||""}:hover`}))],f1={name:"implicit-group",match(t,e){let r=_e("in-",t,e.generator.config.separators);if(r){let[n,i]=r,a=E.bracket(n)??n;if(a)return{matcher:i,handle:(s,o)=>o({...s,parent:`${s.parent?`${s.parent} $$ `:""}${s.selector}`,selector:`:where(*:is(${a})) &`})}}}},du=/^-?[0-9.]+(?:[a-z]+|%)?$/,hu=/-?[0-9.]+(?:[a-z]+|%)?/,co=/var\(--spacing(?:-[\w-]+)?\)\s*\*\s*(-?[0-9.]+(?:[a-z]+|%)?)/,m1=[/\b(opacity|color|flex|backdrop-filter|^filter|^scale|transform|mask-image)\b/];function g1(t){let e=t.match($i)||t.match(Bh);if(e){let[r,n]=nn(`(${e[2]})${e[3]}`,"(",")"," ")??[];if(r){let i=r.match(co);if(i){let a=i[1],s=a.startsWith("-")?a.slice(1):`-${a}`,o=r.replace(co,u=>u.replace(a,s));return`${e[1]}${o}${n?` ${n}`:""}`}return`calc(${e[1]}${r} * -1)${n?` ${n}`:""}`}}}var b1=/\b(hue-rotate)\s*(\(.*)/;function y1(t){let e=t.match(b1);if(e){let[r,n]=nn(e[2],"(",")"," ")??[];if(r){let i=du.test(r.slice(1,-1))?r.replace(hu,a=>a.startsWith("-")?a.slice(1):`-${a}`):`(calc(${r} * -1))`;return`${e[1]}${i}${n?` ${n}`:""}`}}}var v1={name:"negative",match(t){if(t.startsWith("-"))return{matcher:t.slice(1),body:e=>{if(e.find(n=>n[0]==="$$mini-no-negative"))return;let r=!1;for(let n of e){let[i,a,s]=n;if(typeof a=="object"||s&&J(s).includes("$$mini-no-negative"))continue;let o=a?.toString();if(!o||o==="0"||m1.some(c=>c.test(i)))continue;let u=g1(o)??y1(o)??(du.test(o)?o.replace(hu,c=>c.startsWith("-")?c.slice(1):`-${c}`):void 0);!u||u===o||(n[1]=u,r=!0)}return r?e:[]}}}},k1=(t,{theme:e})=>{let r=t.match(/^(.*)\b(placeholder-)(.+)$/);if(r){let[,n="",i,a]=r;if(nt(a,e)||x1(a))return{matcher:`${n}placeholder-$ ${i}${a}`}}};function x1(t){let e=t.match(/^op(?:acity)?-?(.+)$/);return e&&e[1]!=null?E.bracket.percent(e[1])!=null:!1}function w1(){return nh({getBracket:br,h:E,variantGetBracket:pt})}function $1(){return ih({getBracket:br,h:E,variantGetBracket:pt})}function E1(t={}){return ah(t,{getBracket:br,h:E,variantGetBracket:pt})}var S1=sh(),_1={name:"starting",match(t){if(t.startsWith("starting:"))return{matcher:t.slice(9),handle:(e,r)=>r({...e,parent:"@starting-style"})}}},A1={name:"supports",match(t,e){let r=_e("supports-",t,e.generator.config.separators);if(r){let[n,i]=r,a=E.bracket(n)??"";if(a===""&&(a=e.theme.supports?.[n]??""),a)return a.startsWith("(")&&a.endsWith(")")||(a=`(${a})`),{matcher:i,handle:(s,o)=>o({...s,parent:`${s.parent?`${s.parent} $$ `:""}@supports ${a}`})}}},multiPass:!0};function C1(t){return[jm,Gm,u1,s1,l1,v1,_1,Km(),A1,Qm,e1,t1,r1,...n1,...i1,...a1,...o1,Rm(),...qm,...Um,k1,...w1(),$1(),...E1(t),S1,...Hm(t),...Zm,...Jm,c1,...Vm,Xm,Wm,d1,...Ym,...Im,h1,...p1,f1].flat()}function D1(t){if(t.preflights?.property===!1)return;let e=typeof t.preflights?.property=="object"?t.preflights.property:void 0,r=e?.parent!==void 0?e.parent:"@supports ((-webkit-hyphens: none) and (not (margin-trim: inline))) or ((-moz-orient: inline) and (not (color:rgb(from red r g b))))",n=e?.selector??"*, ::before, ::after, ::backdrop",i=t.variablePrefix??"un-";return{getCSS:()=>{if(At.size===0)return;let a=Array.from(At.entries()).map(([s,o])=>`${s.replace(/^--un-/,`--${i}`)}:${o};`).join("");return r===!1?`${n}{${a}}`:`${r}{${n}{${a}}}`},layer:"properties"}}var O1=`
35
35
  /*
36
36
  1. Prevent padding and border from affecting element width. (https://github.com/mozdevs/cssremedy/issues/4)
37
37
  2. Remove default margins and padding
@@ -425,11 +425,11 @@ input:where([type='button'], [type='reset'], [type='submit']),
425
425
  [hidden]:where(:not([hidden~='until-found'])) {
426
426
  display: none !important;
427
427
  }
428
- `;function O1(t){if(t.preflights?.reset!==!1)return{getCSS:({generator:e})=>(T("font","sans"),T("font","mono"),T("default",["font","family"]),T("default",["monoFont","family"]),Ks(D1,e.config.envMode==="dev")),layer:"base"}}var B1=["spacing","breakpoint","verticalBreakpoint","shadow","insetShadow","dropShadow","textShadow","animation","property","aria","media","supports","containers"];function F1(t,e){let r=new Map([["--spacing",t.spacing.DEFAULT]]),n=a=>a.replace(Is,"1");function i(a,s){for(let o in a)Array.isArray(a[o])?r.set(`--${s}-${o}`,n(a[o].join(","))):typeof a[o]=="object"?i(a[o],`${s}-${o}`):r.set(`--${s}-${o}`,n(a[o]))}for(let a in t)e.includes(a)&&i(t[a],a);return r}function M1(t){let e=typeof t.preflights?.theme=="boolean"||typeof t.preflights?.theme=="string"?{mode:t.preflights.theme??"on-demand"}:{mode:t.preflights?.theme?.mode??"on-demand",...t.preflights?.theme};return{layer:"theme",getCSS(r){let{theme:n,generator:i}=r,a=Te(i.config.safelist.flatMap(d=>typeof d=="function"?d(r):d)),{mode:s,process:o}=e;if(s===!1)return;if(a.length>0)for(let d of a){let[h,...p]=d.trim().split(":");if(h in n&&p.length<=1){let l=p.length===0?["DEFAULT"]:p[0].split("-"),m=lr(n,h,l);typeof m=="string"&&(T(h,l),ln(m,n))}}let u,c=d=>{if(o)for(let p of d)for(let l of J(o))l(p,r);let h=d.map(([p,l])=>p&&l?`${xe(p)}: ${l};`:void 0).filter(Boolean);if(h.length!==0)return Ks(`
428
+ `;function B1(t){if(t.preflights?.reset!==!1)return{getCSS:({generator:e})=>(T("font","sans"),T("font","mono"),T("default",["font","family"]),T("default",["monoFont","family"]),Xs(O1,e.config.envMode==="dev")),layer:"base"}}var F1=["spacing","breakpoint","verticalBreakpoint","shadow","insetShadow","dropShadow","textShadow","animation","property","aria","media","supports","containers"];function M1(t,e){let r=new Map([["--spacing",t.spacing.DEFAULT]]),n=a=>a.replace(Rs,"1");function i(a,s){for(let o in a)Array.isArray(a[o])?r.set(`--${s}-${o}`,n(a[o].join(","))):typeof a[o]=="object"?i(a[o],`${s}-${o}`):r.set(`--${s}-${o}`,n(a[o]))}for(let a in t)e.includes(a)&&i(t[a],a);return r}function N1(t){let e=typeof t.preflights?.theme=="boolean"||typeof t.preflights?.theme=="string"?{mode:t.preflights.theme??"on-demand"}:{mode:t.preflights?.theme?.mode??"on-demand",...t.preflights?.theme};return{layer:"theme",getCSS(r){let{theme:n,generator:i}=r,a=je(i.config.safelist.flatMap(d=>typeof d=="function"?d(r):d)),{mode:s,process:o}=e;if(s===!1)return;if(a.length>0)for(let d of a){let[h,...p]=d.trim().split(":");if(h in n&&p.length<=1){let l=p.length===0?["DEFAULT"]:p[0].split("-"),m=lr(n,h,l);typeof m=="string"&&(T(h,l),ln(m,n))}}let u,c=d=>{if(o)for(let p of d)for(let l of J(o))l(p,r);let h=d.map(([p,l])=>p&&l?`${we(p)}: ${l};`:void 0).filter(Boolean);if(h.length!==0)return Xs(`
429
429
  :root, :host {
430
430
  ${h.join(`
431
431
  `)}
432
- }`,i.config.envMode==="dev")};if(s==="on-demand"){if(_t.size===0)return;u=Array.from(_t).map(d=>{let[h,p]=d.split(":"),l=lr(n,h,p.split("-"));if(typeof l=="string")return[`--${h}${`${h==="spacing"&&p==="DEFAULT"?"":`-${p}`}`}`,l]}).filter(Boolean)}else{let d=Object.keys(n).filter(h=>!B1.includes(h));u=Array.from(F1(n,d))}return c(u)}}}var N1=t=>[O1(t),M1(t),A1(t)].filter(Boolean),P1={position:["relative","absolute","fixed","sticky","static"],globalKeyword:ee},L1=(t={})=>(t.dark=t.dark??"class",t.attributifyPseudo=t.attributifyPseudo??!1,t.variablePrefix=t.variablePrefix??"un-",t.important=t.important??!1,{name:Ch,rules:hm,shortcuts:pm,theme:zm,layers:{properties:-200,theme:-150,base:-100},preflights:N1(t),variants:C1(t),prefix:t.prefix,postprocess:Sh(t),extractorDefault:t.arbitraryVariants===!1?void 0:gh(),autocomplete:{shorthands:P1},options:t,configResolved(){_t.clear(),Ct.clear()},meta:{themeDeps:_t,propertyDeps:Ct}}),z1=Kr(Ku(),1),T1=`:host,
432
+ }`,i.config.envMode==="dev")};if(s==="on-demand"){if(_t.size===0)return;u=Array.from(_t).map(d=>{let[h,p]=d.split(":"),l=lr(n,h,p.split("-"));if(typeof l=="string")return[`--${h}${`${h==="spacing"&&p==="DEFAULT"?"":`-${p}`}`}`,l]}).filter(Boolean)}else{let d=Object.keys(n).filter(h=>!F1.includes(h));u=Array.from(M1(n,d))}return c(u)}}}var L1=t=>[B1(t),N1(t),D1(t)].filter(Boolean),P1={position:["relative","absolute","fixed","sticky","static"],globalKeyword:ee},z1=(t={})=>(t.dark=t.dark??"class",t.attributifyPseudo=t.attributifyPseudo??!1,t.variablePrefix=t.variablePrefix??"un-",t.important=t.important??!1,{name:Ch,rules:pm,shortcuts:fm,theme:Tm,layers:{properties:-200,theme:-150,base:-100},preflights:L1(t),variants:C1(t),prefix:t.prefix,postprocess:_h(t),extractorDefault:t.arbitraryVariants===!1?void 0:bh(),autocomplete:{shorthands:P1},options:t,configResolved(){_t.clear(),At.clear()},meta:{themeDeps:_t,propertyDeps:At}}),T1=Kr(Xu(),1),j1=`:host,
433
433
  :host *,
434
434
  :host::before,
435
435
  :host::after,
@@ -562,6 +562,6 @@ ${h.join(`
562
562
  :host *::after {
563
563
  --un-content: '';
564
564
  }
565
- `,Ci=Kr(Eo(),1),hu=yd({presets:[L1(),wh()],preflights:[{getCSS:()=>T1}],theme:{}}),At=10,cn="string",pu=z1.default,dn=class extends Ci.default.Visitor{data=[];match=()=>!0;constructor(t){super(),t&&this.setMatchHandler(t)}onCollect(t){this.match(t)&&this.data.push(t)}setMatchHandler(t){return this.match=t,this}setAst(t){return this.accept(t),this}collect(t){return this.data=[],this.setAst(t),this.data}},fu=class extends dn{CommentStatement(t){return this.onCollect(t.value),super.CommentStatement(t)}},mu=class extends dn{ContentStatement(t){return this.onCollect(t.value),super.ContentStatement(t)}},gu=class extends dn{PathExpression(t){let e=t.original,r=n=>e===n;return r("if")||r("unless")||r("each")||r("with")?super.PathExpression(t):(this.onCollect(t.original),super.PathExpression(t))}},bu=class extends fu{match=Pi.macro},yu=class extends mu{match=Pi.htmlH1Somewhere};function pe(t,...e){return e.includes(t)}function ai(t,e){return t.hasOwnProperty(e)}function ke(t){return!pe(t,null,void 0)}function Ve(t){return ke(t)&&!isNaN(Number(t))}function vr(t){return typeof t=="object"&&t!==null}function U(t){return vr(t)?JSON.stringify(t):typeof t=="string"?`'${t}'`:String(t)}function Ai(t){return Ci.default.parse(t)}function oi(t){return Ci.default.compile(t)}function Di(t,e={},r={}){return t(e,{helpers:r})}async function vu(t,e={},r={}){let n=r?.helpers??{},i=!!(r?.doGenerateGlobalStyles??!0),a=await hu,s=Di(t,e,n),{css:o}=await a.generate(s,{preflights:i});return o}function ku(t){return[...new Set(t)]}function xu(t){let e=new gu().collect(t);return ku(e)}function Hr(t,e=At){if(e<=0)throw new Dt("Flext: Unable to get the model: The model is too deep");let[r,...n]=t?.split(".")??[],i={name:r};return n?.length>0&&(i.$=[Hr(n?.join(".")||"",e-1)]),i}function wu(t,e=At){let r={name:"root",$:[Hr(t,e)]};return r.addPath=(n,i=At)=>{let a=Hr(n,i),s=r,o=a;for(let u=0;u<99;u++){if(!o)return;let c=s?.$??[],d=null;for(let p of c)o?.name===p?.name&&(d=p);if(!d){s.$=[...c,o];return}let[h]=o.$??[];s=d,o=h??null}},r}function $u(t){let[e,...r]=xu(t),n=wu(e);for(let i of r){let a=s=>i.startsWith(s);a(".")||a("/")||a("@")||a("this")||n.addPath(i)}return n}function Oi(t,e,r={},n=At){if(n<=0)throw new Dt("Flext: Unable to get data model: The data model is too deep");let i=S=>e?.find(_=>_?.name===S)??null,a=r?.fieldName??t?.name??null,s=i(a),o=s?.order??null,u=t?.$??[],c=u?.length?"object":s?.type??cn,d=t?.name??null,h=s?.label??null,p=s?.hint??null,l=s?.min??null,m=s?.max??null,f=s?.minLength??null,b=s?.maxLength??null,v=s?.options??null,y=s?.isRequired??null,w=[];for(let S of u){let _=S?.name??null;w.push(Oi(S,e,{fieldName:a+"."+_},n-1))}let k=w.sort((S,_)=>{let A=S?.extra?.fieldName??null,C=i(A)??{},F=C?.order??null,D=C?.extra?.absoluteOrder??null,B=_?.extra?.fieldName??null,M=i(B)??{},R=M?.order??null,V=M?.extra?.absoluteOrder??null;return zr(F,R)!==0?zr(F,R):zr(D,V)}),$=w?.length&&w.every(S=>S?.isRequired),x=ke(y)?y:$;return{type:c,name:d,label:h,hint:p,min:l,max:m,minLength:f,maxLength:b,order:o,options:v,isRequired:x,extra:{fieldName:a},$:k}}function Eu(t){let e=s=>t?.match(s)??null,r=s=>{let o=s?.groups?.value??null;return{name:s?.groups?.name??o,value:o}},n=e(Ie.macroParam),i=e(Ie.macroNamedParam),a=e(Ie.macroSimpleParam);return n?r(n):i?r(i):a?r(a):null}function Su(t,e=!0){let r=t?.match(Ie.macroParams)??[],n=[];for(let i of r){let a=Eu(i);if(a)n.push(a);else if(e)throw new Re("Flext: Unable to parse the macros: Bad token: "+U(i))}return n}function Bi(t,e=!0){let r=new bu().collect(t),n=[];for(let i of r){let a=i?.trim()?.match(Ie.macro)??null;if(!a){if(e)throw new Re("Flext: Unable to parse the macros: Bad macro: "+U(i));return null}let s=a?.groups?.name??null,o=a?.groups?.params??null,u=Su(o,e);n.push({name:s,params:u})}return n}function _u(t,e=!0){let r=new yu().collect(t),n=[];for(let i of r){let a=i?.trim()?.match(Ie.htmlH1Somewhere)??null;if(!a){if(e)throw new Re("Flext: Unable to parse H1: Bad HTML: "+U(i));return null}for(let s of a)n.push(String(s))}return n}function Fi(t,e,r=At){if(r<=0)throw new Dt("Flext: Unable to verify the data: The data model is too deep");let n=[],i=o=>!pe(o,"",null,void 0),a=o=>String(o).length,s=(o,u)=>{n.push(new Xr(o,u))};for(let o of e){let u=o?.extra?.fieldName??null,c=u??o?.name??"Unknown",d=t[o.name]??null;if(!i(d)&&o?.isRequired){s(`Field '${c}' is required (${U(d)} is passed)`,u);continue}if(pe(o?.type,"number","date")&&i(o?.min)&&i(d)&&o?.min>d){s(`'${c}' field value is less than the range (${U(d)} is passed, the minimum is ${U(o?.min)})`,u);continue}if(pe(o?.type,"number","date")&&i(o?.max)&&i(d)&&o?.max<d){s(`'${c}' field value is greater than the range (${U(d)} is passed, the maximum is ${U(o?.max)})`,u);continue}if(!pe(o?.type,"object","array","mixed")&&i(o?.minLength)&&i(d)&&o?.minLength>a(d)){s(`'${c}' field value is shorter than the range (${U(d)} is passed, the minimum is ${U(o?.minLength)})`,u);continue}if(!pe(o?.type,"object","array","mixed")&&i(o?.maxLength)&&i(d)&&o?.maxLength<a(d)){s(`'${c}' field value is longer than the range (${U(d)} is passed, the maximum is ${U(o?.maxLength)})`,u);continue}if(pe(o?.type,"string")&&Ve(o?.min)&&i(d)&&Number(o?.min)>a(d)){s(`'${c}' field value is shorter than the range (${U(d)} is passed, the minimum is ${U(o?.min)})`,u);continue}if(pe(o?.type,"string")&&Ve(o?.max)&&i(d)&&Number(o?.max)<a(d)){s(`'${c}' field value is longer than the range (${U(d)} is passed, the maximum is ${U(o?.max)})`,u);continue}n.push(...Fi(d??{},o.$,r-1))}return n}function hn(t){return String(t??"")}function rr(t){return pe(t,null,void 0)?null:hn(t)}function Mi(t,e=!0){let r=vr(t)&&t instanceof Date,n=typeof t=="string"&&Ie.dbDateStr.test(t),i=(o,u=!0)=>{let c=new Date(o);if(isNaN(c.getTime())&&u)throw new Re("Flext: Unable to get date: The date is invalid: "+U(o));return isNaN(c.getTime())?null:c},a=(o,u=!0)=>{let[c,d,h]=o?.split("-")?.map(Number)??[];if(ke(c)&&ke(d)&&ke(h))return Z.fromObject({year:c,month:d,day:h}).toJSDate();if(u)throw new me("Flext: Unable to get date: The date is invalid: "+U(o));return null},s=(o,u=!0)=>{let c=Z.fromISO(o);if(c.isValid)return c.toJSDate();if(u)throw new Re("Flext: Unable to get date: The date is invalid: "+U(o));return null};return r?t:Ve(t)?i(t,e):n?a(t,e):s(t,e)}function Cu(t){let e=pu(String(t)).trim(),r=(n,i="")=>e=e.replace(n,i);return r(`
566
- `," "),r(/\s{2,}/mg," "),r(/[^\p{L}\d\s]/mgu),e.trim()}function Au(t){let e=t,r=(n,i="")=>e=e.replace(n,i);return r("["),r("]"),e.trim()}function si(t){return Ve(t)||vr(t)&&t instanceof Date?t:null}function ui(t){return Ve(t)?t:null}function Du(t){return ke(t)?Number(t):null}function Ni(t){if(typeof t!="string")try{return JSON.parse(t)}catch{return t??null}else return t??null}function Ou(...t){return t.reduce((e,r)=>Number(e)+Number(r),0)}function li(t,e){return!!String(e).trim().match(t)}function zr(t,e){return!ke(t)&&!ke(e)?0:ke(t)?ke(e)?t-e:-1:1}function Bu(t){return(t?.params??[]).map(e=>e?.value??null)}function Fu(t){let e=t?.name??null,r=t?.params??[],[n,...i]=r,a=w=>{let k=i?.find($=>$?.name===w)??null;return k&&k?.value?k?.value??null:k&&k?.name?!0:null},s=hn(a("type")??cn),o=rr(n?.value),u=rr(a("label")),c=rr(a("descr")),d=rr(a("hint")),h=si(a("min")),p=si(a("max")),l=ui(a("minLength")),m=ui(a("maxLength")),f=Du(a("order")),b=Ni(a("value")),v=!!a("required");if(!o)throw new me("Unable to get field: The 'name' param is not set: "+U(o));let y=Au(o);return{type:s,name:y,label:u,descr:c,hint:d,min:h,max:p,minLength:l,maxLength:m,order:f,value:b,isRequired:v,extra:{macroName:e}}}function Mu(t){let e=t?.params??[],[r,...n]=e,i=p=>{let l=n?.find(m=>m?.name===p)??null;return l&&l?.value?l?.value??null:l&&l?.name?!0:null},a=hn(i("type")??cn),s=r?.value??null,o=i("for")??null,u=i("label")??null,c=i("descr")??null,d=Ni(i("value")??s),h=!!i("disabled");if(!s)throw new me("Unable to get field option: The 'name' param is not set: "+U(s));if(!o)throw new me(`Unable to get field option '${s}': The 'for' param is not set: `+U(s));return{type:a,name:s,fieldName:o,label:u,descr:c,value:d,isDisabled:h}}function Nu(t,e){let r=n=>t?.filter(i=>i?.fieldName===n)??[];for(let n of e)r(n.name)?.length&&(n.options=r(n.name))}function Pu(t){for(let[e,r]of t.entries())r?.extra?r.extra.absoluteOrder=e:r.extra={absoluteOrder:e}}function qe(t={}){return{helpers:t?.helpers??null}}var Ie=class{static dbDateStr=/^\d+-\d+-\d+$/;static macro=/^@(?<name>.+?) (?<params>.+)$/;static macroParams=/(?<param>".+?")|(?<namedParam>[a-zA-Z0-9]+=".+?")|(?<simplaeParam>[a-zA-Z0-9]+)/gm;static macroParam=/^"(?<value>.+)"$/;static macroNamedParam=/^(?<name>.+)="(?<value>.+)"$/;static macroSimpleParam=/^(?<name>[a-zA-Z]+)$/;static htmlH1Somewhere=/\<h1.*?\>(?<value>.*)\<\/h1.*?\>/gs},Pi=class{static macro(t){return li(Ie.macro,t)}static htmlH1Somewhere(t){return li(Ie.htmlH1Somewhere,t)}},Lu="syntax",Pe=class{testAst(t,e){if(!this.name)throw new me("Flext: Unable to test the template: 'name' param is not set in the dialect");let r=Bi(t)?.find(i=>i?.name===Lu)??null;if(!r){if(e)throw new Re("Flext: Unable to test the template: '@syntax' macro is not set");return!1}let[n]=r?.params??[];if(!n){if(e)throw new Re("Flext: Unable to test the template: Bad '@syntax' macro");return!1}return this.aliases&&this.aliases?.length?n?.value===this.name||pe(n?.value,...this.aliases):n?.value===this.name}test(t,e){let r=vr(t)&&t?.body?t:Ai(String(t));return this.testAst(r,e)}templateToStandard(t){return t}},zu=class extends Pe{name="standard"},j1=Pe,Li={};Jr(Li,{array:()=>V1,cond:()=>J1,date:()=>u4,match:()=>d4,math:()=>k4,media:()=>x4,number:()=>D4,put:()=>M4,string:()=>L4});function Zr(t){let e=t?.args??[],[r,n,i]=e,a=(s,o)=>{let u=o?.split(".")??[],c=[];for(let d of s){let h=d;for(let p of u)h=h[p];c.push(h)}return c};switch(r){case"destruct":return a(n,i);case"check":return Array.isArray(n);default:return r}}function I1(t){let e=t?.args??[],[r,n]=e;return Zr({...t,args:["destruct",r,n]})}function R1(t){let e=t?.args??[],[r]=e;return Zr({...t,args:["check",r]})}var V1=qe({helpers:{op:Zr,destruct:I1,check:R1,__default:Zr}});function Ze(t){let e=t?.args??[],r=t?.namedArgs??{},[n,i,a,...s]=e,{soft:o}=r;if(n==="not")return!i;if(o)switch(i){case"equal":return n==a;case"notEqual":return n!=a;default:throw new He("Condition: Unknown operation: "+U(i))}let u=(...d)=>d.reduce((h,p)=>h&&p),c=(...d)=>d.reduce((h,p)=>h||p);switch(i){case"equal":return n===a;case"notEqual":return n!==a;case"and":return u(n,a,...s);case"or":return c(n,a,...s);case"greater":return Number(n)>Number(a);case"less":return Number(n)<Number(a);default:throw new He("Condition: Unknown operation: "+U(i))}}function q1(t){let e=t?.args??[],[r]=e;return Ze({...t,args:["not",r]})}function U1(t){let e=t?.args??[],[r,n]=e;return Ze({...t,args:[r,"equal",n]})}function W1(t){let e=t?.args??[],[r,n]=e;return Ze({...t,args:[r,"notEqual",n]})}function H1(t){let e=t?.args??[],[r,...n]=e;return Ze({...t,args:[r,"and",...n]})}function Z1(t){let e=t?.args??[],[r,...n]=e;return Ze({...t,args:[r,"or",...n]})}function Y1(t){let e=t?.args??[],[r,n]=e;return Ze({...t,args:[r,"greater",n]})}function G1(t){let e=t?.args??[],[r,n]=e;return Ze({...t,args:[r,"less",n]})}var J1=qe({helpers:{op:Ze,not:q1,equal:U1,notEqual:W1,and:H1,or:Z1,greater:Y1,less:G1,__default:Ze}});function de(t){let e=t?.flext??{},r=t?.args??[],n=t?.namedArgs??{},[i,a]=r,{padding:s,genitive:o,timeZone:u,lang:c}=n;if(!i)return null;let d=Z.local();i!=="now"&&(d=Z.fromJSDate(Mi(i,!0))),(u||e?.timeZone)&&(d=d.setZone(u??e?.timeZone)),(c||e?.lang)&&(d=d.setLocale(c??e?.lang));let h=(p,l=2)=>String(p||"").padStart(Number(l),"0");if(ke(s))switch(a){case"seconds":return h(d.second,s);case"minutes":return h(d.minute,s);case"hours":return h(d.hour,s);case"day":return h(d.day,s);case"month":return h(d.month,s);case"year":return h(d.year,4);default:throw new He(`Date: Operation ${U(a)} is not compatible with argument 'padding'`)}if(o){if(a==="monthText")return d.toLocaleString({day:"numeric",month:"long"}).replace(/[^\p{L}]/gu,"").toLowerCase();throw new He(`Date: Operation ${U(a)} is not compatible with argument 'genitive'`)}switch(a){case"seconds":return d.second;case"minutes":return d.minute;case"hours":return d.hour;case"day":return d.day;case"month":return d.month;case"monthText":return d.toLocaleString({month:"long"}).toLowerCase();case"year":return d.year;case"format":return d.toLocaleString();case"text":return d.toLocaleString({day:"numeric",month:"long",year:"numeric"});case"unix":return d.toMillis();case"iso":return d.toISOTime();default:return d}}function K1(t){return de({...t,args:["now"]})}function X1(t){let e=t?.args??[],[r]=e,n=t?.namedArgs??{},i=n?.padding??2;return de({...t,args:[r,"seconds"],namedArgs:{...n,padding:i}})}function Q1(t){let e=t?.args??[],[r]=e,n=t?.namedArgs??{},i=n?.padding??2;return de({...t,args:[r,"minutes"],namedArgs:{...n,padding:i}})}function e4(t){let e=t?.args??[],[r]=e,n=t?.namedArgs??{},i=n?.padding??2;return de({...t,args:[r,"hours"],namedArgs:{...n,padding:i}})}function t4(t){let e=t?.args??[],[r]=e,n=t?.namedArgs??{},i=n?.padding??2;return de({...t,args:[r,"day"],namedArgs:{...n,padding:i}})}function r4(t){let e=t?.args??[],[r]=e,n=t?.namedArgs??{},i=n?.padding??2;return de({...t,args:[r,"month"],namedArgs:{...n,padding:i}})}function n4(t){let e=t?.args??[],[r]=e,n=t?.namedArgs??{},i=!n?.nominative;return de({...t,args:[r,"monthText"],namedArgs:{...n,genitive:i}})}function i4(t){let e=t?.args??[],[r]=e,n=t?.namedArgs??{},i=n?.padding??2;return de({...t,args:[r,"year"],namedArgs:{...n,padding:i}})}function Tu(t){let e=t?.args??[],[r]=e;return de({...t,args:[r,"format"]})}function a4(t){let e=t?.args??[],[r]=e;return de({...t,args:[r,"text"]})}function o4(t){let e=t?.args??[],[r]=e;return de({...t,args:[r,"unix"]})}function s4(t){let e=t?.args??[],[r]=e;return de({...t,args:[r,"iso"]})}var u4=qe({helpers:{op:de,now:K1,seconds:X1,minutes:Q1,hours:e4,day:t4,month:r4,monthText:n4,year:i4,format:Tu,text:a4,unix:o4,iso:s4,__default:de}});function l4(t){let e=t?.args??[],[r]=e,n=t?.self??null,i=t?.getContent??null;return n.__flext_match_value=r,n.__flext_match_isCompleted=!1,i()}function ju(t){let e=t?.args??[],r=t?.self??null,n=r.__flext_match_value??null,i=t?.getContent??null;if(!r.__flext_match_isCompleted){for(let a of e)if(n===a)return r.__flext_match_isCompleted=!0,i()}return""}function c4(t){let e=(t?.self??null).__flext_match_value??null;return ju({...t,args:[e]})}var d4=qe({helpers:{case:ju,fallback:c4,__default:l4}});function ge(t){let e=t?.args??[],[r,n,i,...a]=e,s=(...u)=>{let[c,...d]=u,h=Math[c]??null;if(h)return h(...d);throw new He("Math: Unknown operation: "+U(c))},o=(...u)=>{let c=[];for(let d of u)if(Ve(d))c.push(d);else if(Array.isArray(d)&&d.every(Ve))c.push(...d);else throw new me("Math: Unable to sum: The given arguments are not numbers: "+U(u));return c};switch(n){case"plus":case"sum":return Ou(...o(r,i||0,...a));case"minus":return Number(r)-Number(i||0);case"multiply":return Number(r)*Number(i||1);case"divide":return Number(r)/Number(i||1);case"intDivide":return Number(r)%Number(i||1);case"power":return Number(r)**Number(i||1);default:return s(...e)}}function h4(t){let e=t?.args??[],[r,n,...i]=e;return ge({...t,args:[r,"plus",n,...i]})}function p4(t){let e=t?.args??[],[r,n,...i]=e;return ge({...t,args:[r,"sum",n,...i]})}function f4(t){let e=t?.args??[],[r,n]=e;return ge({...t,args:[r,"minus",n]})}function co(t){let e=t?.args??[],[r,n]=e;return ge({...t,args:[r,"multiply",n]})}function ho(t){let e=t?.args??[],[r,n]=e;return ge({...t,args:[r,"divide",n]})}function m4(t){let e=t?.args??[],[r,n]=e;return ge({...t,args:[r,"intDivide",n]})}function po(t){let e=t?.args??[],[r,n]=e;return ge({...t,args:[r,"power",n]})}function g4(t){let e=t?.args??[],[r,n]=e,i=(a,s)=>ge({...t,args:[a,s]});if(!n)return i("round",r);switch(n){case"floor":return i("floor",r);case"ceil":return i("ceil",r);case"trunc":return i("trunc",r);default:throw new He("Math: Unknown operation: "+U(n))}}function b4(t){let e=t?.args??[],[r]=e;return ge({...t,args:["sqrt",r]})}function y4(t){let e=t?.args??[],[r]=e;return ge({...t,args:["cbrt",r]})}function v4(t){let e=t?.args??[],[r]=e;return ge({...t,args:["abs",r]})}var k4=qe({helpers:{op:ge,plus:h4,sum:p4,minus:f4,mul:co,multiply:co,div:ho,divide:ho,intDivide:m4,pow:po,power:po,round:g4,sqrt:b4,cbrt:y4,abs:v4,__default:ge}});function fo(t){let e=t?.flext??{},r=t?.args??[],[n]=r,i=(e?.assets??{})[n]??null;if(i)return URL.createObjectURL(i);throw new Ot(`Media: Unable to get the asset: Asset '${n}' does not exist`)}var x4=qe({helpers:{url:fo,__default:fo}}),w4=Kr(Ul(),1),$4={useLongScale:!1,baseSeparator:" ",unitSeparator:" ",base:{0:"\u043D\u04E9\u043B",1:"\u0431\u0456\u0440",2:"\u0435\u043A\u0456",3:"\u04AF\u0448",4:"\u0442\u04E9\u0440\u0442",5:"\u0431\u0435\u0441",6:"\u0430\u043B\u0442\u044B",7:"\u0436\u0435\u0442\u0456",8:"\u0441\u0435\u0433\u0456\u0437",9:"\u0442\u043E\u0493\u044B\u0437",10:"\u043E\u043D",11:"\u043E\u043D \u0431\u0456\u0440",12:"\u043E\u043D \u0435\u043A\u0456",13:"\u043E\u043D \u04AF\u0448",14:"\u043E\u043D \u0442\u04E9\u0440\u0442",15:"\u043E\u043D \u0431\u0435\u0441",16:"\u043E\u043D \u0430\u043B\u0442\u044B",17:"\u043E\u043D \u0436\u0435\u0442\u0456",18:"\u043E\u043D \u0441\u0435\u0433\u0456\u0437",19:"\u043E\u043D \u0442\u043E\u0493\u044B\u0437",20:"\u0436\u0438\u044B\u0440\u043C\u0430",30:"\u043E\u0442\u044B\u0437",40:"\u049B\u044B\u0440\u044B\u049B",50:"\u0435\u043B\u0443",60:"\u0430\u043B\u043F\u044B\u0441",70:"\u0436\u0435\u0442\u043F\u0456\u0441",80:"\u0441\u0435\u043A\u0441\u0435\u043D",90:"\u0442\u043E\u049B\u0441\u0430\u043D",100:"\u0436\u04AF\u0437",200:"\u0435\u043A\u0456 \u0436\u04AF\u0437",300:"\u04AF\u0448 \u0436\u04AF\u0437",400:"\u0442\u04E9\u0440\u0442 \u0436\u04AF\u0437",500:"\u0431\u0435\u0441 \u0436\u04AF\u0437",600:"\u0430\u043B\u0442\u044B \u0436\u04AF\u0437",700:"\u0436\u0435\u0442\u0456 \u0436\u04AF\u0437",800:"\u0441\u0435\u0433\u0456\u0437 \u0436\u04AF\u0437",900:"\u0442\u043E\u0493\u044B\u0437 \u0436\u04AF\u0437"},alternativeBase:{},units:[{useBaseInstead:!0,useBaseException:[]},{singular:"\u043C\u044B\u04A3",plural:"\u043C\u044B\u04A3"},{singular:"\u043C\u0438\u043B\u043B\u0438\u043E\u043D",plural:"\u043C\u0438\u043B\u043B\u0438\u043E\u043D"},{singular:"\u043C\u0438\u043B\u043B\u0438\u0430\u0440\u0434",plural:"\u043C\u0438\u043B\u043B\u0438\u0430\u0440\u0434"},{singular:"\u0442\u0440\u0438\u043B\u043B\u0438\u043E\u043D",plural:"\u0442\u0440\u0438\u043B\u043B\u0438\u043E\u043D"},{singular:"\u043A\u0432\u0430\u0434\u0440\u0438\u043B\u043B\u0438\u043E\u043D",plural:"\u043A\u0432\u0430\u0434\u0440\u0438\u043B\u043B\u0438\u043E\u043D"},{singular:"\u043A\u0432\u0438\u043D\u0442\u0438\u043B\u043B\u0438\u043E\u043D",plural:"\u043A\u0432\u0438\u043D\u0442\u0438\u043B\u043B\u0438\u043E\u043D"},{singular:"\u0441\u0435\u043A\u0441\u0442\u0438\u043B\u043B\u0438\u043E\u043D",plural:"\u0441\u0435\u043A\u0441\u0442\u0438\u043B\u043B\u0438\u043E\u043D"},{singular:"\u0441\u0435\u043F\u0442\u0438\u043B\u043B\u0438\u043E\u043D",plural:"\u0441\u0435\u043F\u0442\u0438\u043B\u043B\u0438\u043E\u043D"},{singular:"\u043E\u043A\u0442\u0438\u043B\u043B\u0438\u043E\u043D",plural:"\u043E\u043A\u0442\u0438\u043B\u043B\u0438\u043E\u043D"},{singular:"\u043D\u043E\u043D\u0438\u043B\u043B\u0438\u043E\u043D",plural:"\u043D\u043E\u043D\u0438\u043B\u043B\u0438\u043E\u043D"},{singular:"\u0434\u0435\u0446\u0438\u043B\u043B\u0438\u043E\u043D",plural:"\u0434\u0435\u0446\u0438\u043B\u043B\u0438\u043E\u043D"}],unitExceptions:{1e3:"\u043C\u044B\u04A3"}},E4={"ar-EG":"ar","az-AZ":"az","en-IN":"enIndian","en-GB":"uk","en-US":"en",eo:"eo","es-ES":"es","fr-FR":"fr","id-ID":"id","pt-BR":"pt","pt-PT":"ptPT","ru-RU":"ru","tr-TR":"tr","vi-VN":"vi"},S4="en",_4={"kk-KZ":$4};function Yr(t){let e=t?.flext??{},r=t?.args??[],n=t?.namedArgs??{},[i,a]=r,{lang:s,strict:o}=n,u=d=>E4[d]??_4[d]??null,c=u(s)??u(e?.lang)??S4;switch(i){case"text":return(0,w4.default)(Number(a),{lang:c});case"check":return o?typeof a=="number":Ve(a);default:return Number(i)}}function C4(t){let e=t?.args??[],[r]=e;return String(Yr({...t,args:["text",r]}))}function A4(t){let e=t?.args??[],[r]=e;return Yr({...t,args:["check",r]})}var D4=qe({helpers:{op:Yr,text:C4,check:A4,__default:Yr}}),mo=Kr(Eo(),1),O4="text-blue-500";function Iu(t){let e=t?.flext??{},r=t?.args??[],[n,i]=r,a=t?.options??{},s=t?.namedArgs??{},o=t?.self??{},u=t?.getContent??F4,c=Mi(n,!1);return c&&!Ve(n)&&!pe(n,!0,!1)?Tu({flext:e,args:[c],options:a,namedArgs:{...s,fallback:i},self:o,getContent:u}):n??i??""}function B4(t){let e=(t?.namedArgs??{})?.color??O4;return e?new mo.SafeString(`<span class="${e}">${Iu(t)}</span>`):new mo.SafeString(t)}function F4(){return null}var M4=qe({helpers:{noColor:Iu,__default:B4}});function Gr(t){let e=t?.args??[],[r,n]=e;switch(r){case"json":return JSON.parse(n);case"check":return typeof n=="string";default:return r}}function N4(t){let e=t?.args??[],[r]=e;return Gr({...t,args:["json",r]})}function P4(t){let e=t?.args??[],[r]=e;return Gr({...t,args:["check",r]})}var L4=qe({helpers:{op:Gr,json:N4,check:P4,__default:Gr}}),z4="__default",Ln=10,T4=new zu,zi=class{preprocessFunc=I4;parseFunc=Ai;constructor(t=null,e={},r={}){t&&this.setTemplate(t),this.setData({...this.data,...e}),this.setHelpers({...this.helpers,...r})}templateToProcessed(t){return this.preprocessFunc(t)}templateToAst(t){return this.parseFunc(t)}setTemplate(t){this.data={},this.helpers={};let e=this.templateToProcessed(t);return this.ast=this.templateToAst(e),this}setData(t){return this.data=t,this}setHelpers(t){return this.helpers=t,this}addHelper(t,e){return this.helpers[t]=e,this}setPreprocessHandler(t){return this.preprocessFunc=t,this}setParseHandler(t){return this.parseFunc=t,this}getHtml(t,e){let r=oi(this.ast);if(!r)throw new me("Flext: Unable to get HTML: No template");return Di(r,t??this.data,e??this.helpers)}async getCss(t,e={}){let r=oi(this.ast),n=e?.helpers??{},i={...this.helpers,...n};if(!r)throw new me("Flext: Unable to get CSS: No template");return await vu(r,t??this.data,{...e,helpers:i})}get html(){return this.getHtml()}},pn=class extends zi{getTitleFunc=_u;getMacroFunc=Bi;constructor(t=null,e={},r={}){super(null,e,r),t&&this.setTemplate(t),this.setData({...this.data,...e}),this.setHelpers({...this.helpers,...r})}templateToProcessed(t){return(this.dialect??T4).templateToStandard(t)}useModule(...t){for(let e of t)this.addModule(e,Li[e]);return this}setTemplate(t){super.setTemplate(t),this.addAsset("__template",new Blob([t],{type:"text/plain"}));let[e]=this.getTitleFunc(this.ast),r=this.getMacroFunc(this.ast),{lang:n,timeZone:i,title:a,moduleNames:s,margins:o,lineHeight:u,fields:c}=j4(r);return n&&this.setLang(n),i&&this.setTimeZone(i),(a||e)&&this.setTitle(a??Cu(e)),o&&this.setMargins(o),u&&this.setLineHeight(Number(u)),c&&c?.length&&this.setFields(c),this.useModule(...s),this}setDialect(t){return this.dialect=t,this}setLang(t){return this.lang=t,this}setTitle(t){return this.title=t,this}setTimeZone(t){return this.timeZone=t,this}setMargins(t){return this.margins=t,this}setLineHeight(t){return this.lineHeight=t,this}setAssets(t){return this.assets=t,this}addAsset(t,e){return this.assets||(this.assets={}),this.assets[t]=e,this}setFields(t){return this.fields=t,this}addModule(t,e){let r=e?.helpers??{};for(let n in r){if(!ai(r,n))continue;let i=r[n],a=n===z4,s=this,o=function(...u){let c=u?.slice(0,-1)??[],d=u[u.length-1]??{},h=d?.hash??{},p=this;return i({flext:s,args:c,options:d,namedArgs:h,self:p,getContent:()=>d?.fn(p)??null})};a?this.addHelper(t,o):this.addHelper(t+":"+n,o)}return this}setTitleHandler(t){return this.getTitleFunc=t,this}setMacroHandler(t){return this.getMacroFunc=t,this}getDataModel(t=Ln){let e=i=>{for(let a in this.helpers)if(ai(this.helpers,a)){if(i?.name===a)return!0}else continue;return!1},r=i=>!e(i),n=i=>Oi(i,this.fields,{},t);return($u(this.ast)?.$??[]).filter(r).map(n)}getValidationErrors(t,e=Ln){return Fi(t??this.data,this.model,e)}getIsValid(t,e=Ln){return!this.getValidationErrors(t??this.data,e)?.length}get model(){return this.getDataModel()}get validationErrors(){return this.getValidationErrors()}get errors(){return this.validationErrors}get isValid(){return this.getIsValid()}};function j4(t){let e=(...f)=>t?.filter(b=>pe(b?.name,...f))??null,r=f=>{let[b]=e(f),[v]=b?.params??[];return v?.value??null},n=r("lang"),i=r("title"),a=r("timeZone"),s=e("use"),o=r("margins"),u=r("lineHeight"),c=e("option"),d=e("group","field"),h=c?.map(Mu)??null,p=d?.map(Fu)??[];Nu(h,p),Pu(p);let l=p.filter(f=>f?.extra?.macroName==="group");for(let f of l)f.type="object";let m=s.map(Bu).flat();return{lang:n,timeZone:a,title:i,moduleNames:m,margins:o,lineHeight:u,fields:p}}function I4(t){return t}var R4=pn;var kr={};qi(kr,{Latest:()=>fn,Legacy_1_0_beta3:()=>Vu,Legacy_1_0_beta4:()=>qu});var Ti=class extends Pe{name="latest";aliases=["1.0"]},fn=Ti;var ji=class extends Pe{name="1.0.beta3"},Vu=ji;var Ii=class extends Pe{name="1.0.beta4"},qu=Ii;var V4=new fn,Ri=class extends pn{setTemplate(e){let r=nt.hbsToAst(e),i=nt.astToMacros(r)?.find(o=>o?.name==="syntax")??null;if(!i)return this.setDialect(V4),super.setTemplate(e);let[a]=i?.params??[];if(!a)throw new dr.BaseError("Flext: Unable to set the template: Bad '@syntax' macro: "+nt.audit(i));let s=a?.value??null;if(!s)throw new dr.BaseError("Flext: Unable to set the template: Bad '@syntax' macro: "+nt.audit(i));for(let o in kr){if(!nt.has(kr,o))continue;let u=kr[o],c=new u;if(s===c?.name){this.setDialect(c);break}}return super.setTemplate(e)}};var n2=Ri;export{me as BaseError,hr as BaseThrowable,Re as BaseWarning,Pe as Dialect,Ri as Flext,Dt as PotentialLoopError,pn as Processor,zi as SimpleProcessor,Xr as TemplateDataValidationError,Ot as TemplateError,He as TemplateSyntaxError,Ru as core,n2 as default,kr as dialects,V4 as latestDialect};
565
+ `,Ci=Kr(So(),1),pu=vd({presets:[z1(),$h()],preflights:[{getCSS:()=>j1}],theme:{}}),Ct=10,cn="string",fu=T1.default,dn=class extends Ci.default.Visitor{data=[];match=()=>!0;constructor(t){super(),t&&this.setMatchHandler(t)}onCollect(t){this.match(t)&&this.data.push(t)}setMatchHandler(t){return this.match=t,this}setAst(t){return this.accept(t),this}collect(t){return this.data=[],this.setAst(t),this.data}},mu=class extends dn{CommentStatement(t){return this.onCollect(t.value),super.CommentStatement(t)}},gu=class extends dn{ContentStatement(t){return this.onCollect(t.value),super.ContentStatement(t)}},bu=class extends dn{PathExpression(t){let e=t.original,r=n=>e===n;return r("if")||r("unless")||r("each")||r("with")?super.PathExpression(t):(this.onCollect(t.original),super.PathExpression(t))}},yu=class extends mu{match=Pi.macro},vu=class extends gu{match=Pi.htmlH1Somewhere};function fe(t,...e){return e.includes(t)}function oi(t,e){return t.hasOwnProperty(e)}function xe(t){return!fe(t,null,void 0)}function Ve(t){return xe(t)&&!isNaN(Number(t))}function vr(t){return typeof t=="object"&&t!==null}function U(t){return vr(t)?JSON.stringify(t):typeof t=="string"?`'${t}'`:String(t)}function Di(t){return Ci.default.parse(t)}function si(t){return Ci.default.compile(t)}function Oi(t,e={},r={}){return t(e,{helpers:r})}async function ku(t,e={},r={}){let n=r?.helpers??{},i=!!(r?.doGenerateGlobalStyles??!0),a=await pu,s=Oi(t,e,n),{css:o}=await a.generate(s,{preflights:i});return o}function xu(t){return[...new Set(t)]}function wu(t){let e=new bu().collect(t);return xu(e)}function Hr(t,e=Ct){if(e<=0)throw new Dt("Flext: Unable to get the model: The model is too deep");let[r,...n]=t?.split(".")??[],i={name:r};return n?.length>0&&(i.$=[Hr(n?.join(".")||"",e-1)]),i}function $u(t,e=Ct){let r={name:"root",$:[Hr(t,e)]};return r.addPath=(n,i=Ct)=>{let a=Hr(n,i),s=r,o=a;for(let u=0;u<99;u++){if(!o)return;let c=s?.$??[],d=null;for(let p of c)o?.name===p?.name&&(d=p);if(!d){s.$=[...c,o];return}let[h]=o.$??[];s=d,o=h??null}},r}function Eu(t){let[e,...r]=wu(t),n=$u(e);for(let i of r){let a=s=>i.startsWith(s);a(".")||a("/")||a("@")||a("this")||n.addPath(i)}return n}function Bi(t,e,r={},n=Ct){if(n<=0)throw new Dt("Flext: Unable to get data model: The data model is too deep");let i=S=>e?.find(_=>_?.name===S)??null,a=r?.fieldName??t?.name??null,s=i(a),o=s?.order??null,u=t?.$??[],c=u?.length?"object":s?.type??cn,d=t?.name??null,h=s?.label??null,p=s?.hint??null,l=s?.min??null,m=s?.max??null,f=s?.minLength??null,b=s?.maxLength??null,v=s?.options??null,y=s?.isRequired??null,w=[];for(let S of u){let _=S?.name??null;w.push(Bi(S,e,{fieldName:a+"."+_},n-1))}let k=w.sort((S,_)=>{let C=S?.extra?.fieldName??null,A=i(C)??{},F=A?.order??null,D=A?.extra?.absoluteOrder??null,B=_?.extra?.fieldName??null,M=i(B)??{},R=M?.order??null,V=M?.extra?.absoluteOrder??null;return zr(F,R)!==0?zr(F,R):zr(D,V)}),$=w?.length&&w.every(S=>S?.isRequired),x=xe(y)?y:$;return{type:c,name:d,label:h,hint:p,min:l,max:m,minLength:f,maxLength:b,order:o,options:v,isRequired:x,extra:{fieldName:a},$:k}}function Su(t){let e=s=>t?.match(s)??null,r=s=>{let o=s?.groups?.value??null;return{name:s?.groups?.name??o,value:o}},n=e(Re.macroParam),i=e(Re.macroNamedParam),a=e(Re.macroSimpleParam);return n?r(n):i?r(i):a?r(a):null}function _u(t,e=!0){let r=t?.match(Re.macroParams)??[],n=[];for(let i of r){let a=Su(i);if(a)n.push(a);else if(e)throw new ge("Flext: Unable to parse the macros: Bad token: "+U(i))}return n}function Fi(t,e=!0){let r=new yu().collect(t),n=[];for(let i of r){let a=i?.trim()?.match(Re.macro)??null;if(!a){if(e)throw new ge("Flext: Unable to parse the macros: Bad macro: "+U(i));return null}let s=a?.groups?.name??null,o=a?.groups?.params??null,u=_u(o,e);n.push({name:s,params:u})}return n}function Au(t,e=!0){let r=new vu().collect(t),n=[];for(let i of r){let a=i?.trim()?.match(Re.htmlH1Somewhere)??null;if(!a){if(e)throw new ge("Flext: Unable to parse H1: Bad HTML: "+U(i));return null}for(let s of a)n.push(String(s))}return n}function Mi(t,e,r=Ct){if(r<=0)throw new Dt("Flext: Unable to verify the data: The data model is too deep");let n=[],i=o=>!fe(o,"",null,void 0),a=o=>String(o).length,s=(o,u)=>{n.push(new Xr(o,u))};for(let o of e){let u=o?.extra?.fieldName??null,c=u??o?.name??"Unknown",d=t[o.name]??null;if(!i(d)&&o?.isRequired){s(`Field '${c}' is required (${U(d)} is passed)`,u);continue}if(fe(o?.type,"number","date")&&i(o?.min)&&i(d)&&o?.min>d){s(`'${c}' field value is less than the range (${U(d)} is passed, the minimum is ${U(o?.min)})`,u);continue}if(fe(o?.type,"number","date")&&i(o?.max)&&i(d)&&o?.max<d){s(`'${c}' field value is greater than the range (${U(d)} is passed, the maximum is ${U(o?.max)})`,u);continue}if(!fe(o?.type,"object","array","mixed")&&i(o?.minLength)&&i(d)&&o?.minLength>a(d)){s(`'${c}' field value is shorter than the range (${U(d)} is passed, the minimum is ${U(o?.minLength)})`,u);continue}if(!fe(o?.type,"object","array","mixed")&&i(o?.maxLength)&&i(d)&&o?.maxLength<a(d)){s(`'${c}' field value is longer than the range (${U(d)} is passed, the maximum is ${U(o?.maxLength)})`,u);continue}if(fe(o?.type,"string")&&Ve(o?.min)&&i(d)&&Number(o?.min)>a(d)){s(`'${c}' field value is shorter than the range (${U(d)} is passed, the minimum is ${U(o?.min)})`,u);continue}if(fe(o?.type,"string")&&Ve(o?.max)&&i(d)&&Number(o?.max)<a(d)){s(`'${c}' field value is longer than the range (${U(d)} is passed, the maximum is ${U(o?.max)})`,u);continue}n.push(...Mi(d??{},o.$,r-1))}return n}function hn(t){return String(t??"")}function rr(t){return fe(t,null,void 0)?null:hn(t)}function Ni(t,e=!0){let r=vr(t)&&t instanceof Date,n=typeof t=="string"&&Re.dbDateStr.test(t),i=(o,u=!0)=>{let c=new Date(o);if(isNaN(c.getTime())&&u)throw new ge("Flext: Unable to get date: The date is invalid: "+U(o));return isNaN(c.getTime())?null:c},a=(o,u=!0)=>{let[c,d,h]=o?.split("-")?.map(Number)??[];if(xe(c)&&xe(d)&&xe(h))return Z.fromObject({year:c,month:d,day:h}).toJSDate();if(u)throw new le("Flext: Unable to get date: The date is invalid: "+U(o));return null},s=(o,u=!0)=>{let c=Z.fromISO(o);if(c.isValid)return c.toJSDate();if(u)throw new ge("Flext: Unable to get date: The date is invalid: "+U(o));return null};return r?t:Ve(t)?i(t,e):n?a(t,e):s(t,e)}function Cu(t){let e=fu(String(t)).trim(),r=(n,i="")=>e=e.replace(n,i);return r(`
566
+ `," "),r(/\s{2,}/mg," "),r(/[^\p{L}\d\s]/mgu),e.trim()}function Du(t){let e=t,r=(n,i="")=>e=e.replace(n,i);return r("["),r("]"),e.trim()}function ui(t){return Ve(t)||vr(t)&&t instanceof Date?t:null}function li(t){return Ve(t)?t:null}function Ou(t){return xe(t)?Number(t):null}function Li(t){if(typeof t!="string")try{return JSON.parse(t)}catch{return t??null}else return t??null}function Bu(...t){return t.reduce((e,r)=>Number(e)+Number(r),0)}function ci(t,e){return!!String(e).trim().match(t)}function zr(t,e){return!xe(t)&&!xe(e)?0:xe(t)?xe(e)?t-e:-1:1}function Fu(t){return(t?.params??[]).map(e=>e?.value??null)}function Mu(t){let e=t?.name??null,r=t?.params??[],[n,...i]=r,a=w=>{let k=i?.find($=>$?.name===w)??null;return k&&k?.value?k?.value??null:k&&k?.name?!0:null},s=hn(a("type")??cn),o=rr(n?.value),u=rr(a("label")),c=rr(a("descr")),d=rr(a("hint")),h=ui(a("min")),p=ui(a("max")),l=li(a("minLength")),m=li(a("maxLength")),f=Ou(a("order")),b=Li(a("value")),v=!!a("required");if(!o)throw new le("Unable to get field: The 'name' param is not set: "+U(o));let y=Du(o);return{type:s,name:y,label:u,descr:c,hint:d,min:h,max:p,minLength:l,maxLength:m,order:f,value:b,isRequired:v,extra:{macroName:e}}}function Nu(t){let e=t?.params??[],[r,...n]=e,i=p=>{let l=n?.find(m=>m?.name===p)??null;return l&&l?.value?l?.value??null:l&&l?.name?!0:null},a=hn(i("type")??cn),s=r?.value??null,o=i("for")??null,u=i("label")??null,c=i("descr")??null,d=Li(i("value")??s),h=!!i("disabled");if(!s)throw new le("Unable to get field option: The 'name' param is not set: "+U(s));if(!o)throw new le(`Unable to get field option '${s}': The 'for' param is not set: `+U(s));return{type:a,name:s,fieldName:o,label:u,descr:c,value:d,isDisabled:h}}function Lu(t,e){let r=n=>t?.filter(i=>i?.fieldName===n)??[];for(let n of e)r(n.name)?.length&&(n.options=r(n.name))}function Pu(t){for(let[e,r]of t.entries())r?.extra?r.extra.absoluteOrder=e:r.extra={absoluteOrder:e}}function qe(t={}){return{helpers:t?.helpers??null}}var Re=class{static dbDateStr=/^\d+-\d+-\d+$/;static macro=/^@(?<name>.+?) (?<params>.+)$/;static macroParams=/(?<param>".+?")|(?<namedParam>[a-zA-Z0-9]+=".+?")|(?<simplaeParam>[a-zA-Z0-9]+)/gm;static macroParam=/^"(?<value>.+)"$/;static macroNamedParam=/^(?<name>.+)="(?<value>.+)"$/;static macroSimpleParam=/^(?<name>[a-zA-Z]+)$/;static htmlH1Somewhere=/\<h1.*?\>(?<value>.*)\<\/h1.*?\>/gs},Pi=class{static macro(t){return ci(Re.macro,t)}static htmlH1Somewhere(t){return ci(Re.htmlH1Somewhere,t)}},zu="syntax",Ge=class{testAst(t,e){if(!this.name)throw new le("Flext: Unable to test the template: 'name' param is not set in the dialect");let r=Fi(t)?.find(i=>i?.name===zu)??null;if(!r){if(e)throw new ge("Flext: Unable to test the template: '@syntax' macro is not set");return!1}let[n]=r?.params??[];if(!n){if(e)throw new ge("Flext: Unable to test the template: Bad '@syntax' macro");return!1}return this.aliases&&this.aliases?.length?n?.value===this.name||fe(n?.value,...this.aliases):n?.value===this.name}test(t,e){let r=vr(t)&&t?.body?t:Di(String(t));return this.testAst(r,e)}templateToStandard(t){return t}},Tu=class extends Ge{name="standard"},I1=Ge,zi={};Jr(zi,{array:()=>q1,cond:()=>K1,date:()=>l4,match:()=>h4,math:()=>x4,media:()=>w4,number:()=>O4,put:()=>N4,string:()=>z4});function Zr(t){let e=t?.args??[],[r,n,i]=e,a=(s,o)=>{let u=o?.split(".")??[],c=[];for(let d of s){let h=d;for(let p of u)h=h[p];c.push(h)}return c};switch(r){case"destruct":return a(n,i);case"check":return Array.isArray(n);default:return r}}function R1(t){let e=t?.args??[],[r,n]=e;return Zr({...t,args:["destruct",r,n]})}function V1(t){let e=t?.args??[],[r]=e;return Zr({...t,args:["check",r]})}var q1=qe({helpers:{op:Zr,destruct:R1,check:V1,__default:Zr}});function Ze(t){let e=t?.args??[],r=t?.namedArgs??{},[n,i,a,...s]=e,{soft:o}=r;if(n==="not")return!i;if(o)switch(i){case"equal":return n==a;case"notEqual":return n!=a;default:throw new He("Condition: Unknown operation: "+U(i))}let u=(...d)=>d.reduce((h,p)=>h&&p),c=(...d)=>d.reduce((h,p)=>h||p);switch(i){case"equal":return n===a;case"notEqual":return n!==a;case"and":return u(n,a,...s);case"or":return c(n,a,...s);case"greater":return Number(n)>Number(a);case"less":return Number(n)<Number(a);default:throw new He("Condition: Unknown operation: "+U(i))}}function U1(t){let e=t?.args??[],[r]=e;return Ze({...t,args:["not",r]})}function W1(t){let e=t?.args??[],[r,n]=e;return Ze({...t,args:[r,"equal",n]})}function H1(t){let e=t?.args??[],[r,n]=e;return Ze({...t,args:[r,"notEqual",n]})}function Z1(t){let e=t?.args??[],[r,...n]=e;return Ze({...t,args:[r,"and",...n]})}function G1(t){let e=t?.args??[],[r,...n]=e;return Ze({...t,args:[r,"or",...n]})}function Y1(t){let e=t?.args??[],[r,n]=e;return Ze({...t,args:[r,"greater",n]})}function J1(t){let e=t?.args??[],[r,n]=e;return Ze({...t,args:[r,"less",n]})}var K1=qe({helpers:{op:Ze,not:U1,equal:W1,notEqual:H1,and:Z1,or:G1,greater:Y1,less:J1,__default:Ze}});function he(t){let e=t?.flext??{},r=t?.args??[],n=t?.namedArgs??{},[i,a]=r,{padding:s,genitive:o,timeZone:u,lang:c}=n;if(!i)return null;let d=Z.local();i!=="now"&&(d=Z.fromJSDate(Ni(i,!0))),(u||e?.timeZone)&&(d=d.setZone(u??e?.timeZone)),(c||e?.lang)&&(d=d.setLocale(c??e?.lang));let h=(p,l=2)=>String(p||"").padStart(Number(l),"0");if(xe(s))switch(a){case"seconds":return h(d.second,s);case"minutes":return h(d.minute,s);case"hours":return h(d.hour,s);case"day":return h(d.day,s);case"month":return h(d.month,s);case"year":return h(d.year,4);default:throw new He(`Date: Operation ${U(a)} is not compatible with argument 'padding'`)}if(o){if(a==="monthText")return d.toLocaleString({day:"numeric",month:"long"}).replace(/[^\p{L}]/gu,"").toLowerCase();throw new He(`Date: Operation ${U(a)} is not compatible with argument 'genitive'`)}switch(a){case"seconds":return d.second;case"minutes":return d.minute;case"hours":return d.hour;case"day":return d.day;case"month":return d.month;case"monthText":return d.toLocaleString({month:"long"}).toLowerCase();case"year":return d.year;case"format":return d.toLocaleString();case"text":return d.toLocaleString({day:"numeric",month:"long",year:"numeric"});case"unix":return d.toMillis();case"iso":return d.toISOTime();default:return d}}function X1(t){return he({...t,args:["now"]})}function Q1(t){let e=t?.args??[],[r]=e,n=t?.namedArgs??{},i=n?.padding??2;return he({...t,args:[r,"seconds"],namedArgs:{...n,padding:i}})}function e4(t){let e=t?.args??[],[r]=e,n=t?.namedArgs??{},i=n?.padding??2;return he({...t,args:[r,"minutes"],namedArgs:{...n,padding:i}})}function t4(t){let e=t?.args??[],[r]=e,n=t?.namedArgs??{},i=n?.padding??2;return he({...t,args:[r,"hours"],namedArgs:{...n,padding:i}})}function r4(t){let e=t?.args??[],[r]=e,n=t?.namedArgs??{},i=n?.padding??2;return he({...t,args:[r,"day"],namedArgs:{...n,padding:i}})}function n4(t){let e=t?.args??[],[r]=e,n=t?.namedArgs??{},i=n?.padding??2;return he({...t,args:[r,"month"],namedArgs:{...n,padding:i}})}function i4(t){let e=t?.args??[],[r]=e,n=t?.namedArgs??{},i=!n?.nominative;return he({...t,args:[r,"monthText"],namedArgs:{...n,genitive:i}})}function a4(t){let e=t?.args??[],[r]=e,n=t?.namedArgs??{},i=n?.padding??2;return he({...t,args:[r,"year"],namedArgs:{...n,padding:i}})}function ju(t){let e=t?.args??[],[r]=e;return he({...t,args:[r,"format"]})}function o4(t){let e=t?.args??[],[r]=e;return he({...t,args:[r,"text"]})}function s4(t){let e=t?.args??[],[r]=e;return he({...t,args:[r,"unix"]})}function u4(t){let e=t?.args??[],[r]=e;return he({...t,args:[r,"iso"]})}var l4=qe({helpers:{op:he,now:X1,seconds:Q1,minutes:e4,hours:t4,day:r4,month:n4,monthText:i4,year:a4,format:ju,text:o4,unix:s4,iso:u4,__default:he}});function c4(t){let e=t?.args??[],[r]=e,n=t?.self??null,i=t?.getContent??null;return n.__flext_match_value=r,n.__flext_match_isCompleted=!1,i()}function Iu(t){let e=t?.args??[],r=t?.self??null,n=r.__flext_match_value??null,i=t?.getContent??null;if(!r.__flext_match_isCompleted){for(let a of e)if(n===a)return r.__flext_match_isCompleted=!0,i()}return""}function d4(t){let e=(t?.self??null).__flext_match_value??null;return Iu({...t,args:[e]})}var h4=qe({helpers:{case:Iu,fallback:d4,__default:c4}});function be(t){let e=t?.args??[],[r,n,i,...a]=e,s=(...u)=>{let[c,...d]=u,h=Math[c]??null;if(h)return h(...d);throw new He("Math: Unknown operation: "+U(c))},o=(...u)=>{let c=[];for(let d of u)if(Ve(d))c.push(d);else if(Array.isArray(d)&&d.every(Ve))c.push(...d);else throw new le("Math: Unable to sum: The given arguments are not numbers: "+U(u));return c};switch(n){case"plus":case"sum":return Bu(...o(r,i||0,...a));case"minus":return Number(r)-Number(i||0);case"multiply":return Number(r)*Number(i||1);case"divide":return Number(r)/Number(i||1);case"intDivide":return Number(r)%Number(i||1);case"power":return Number(r)**Number(i||1);default:return s(...e)}}function p4(t){let e=t?.args??[],[r,n,...i]=e;return be({...t,args:[r,"plus",n,...i]})}function f4(t){let e=t?.args??[],[r,n,...i]=e;return be({...t,args:[r,"sum",n,...i]})}function m4(t){let e=t?.args??[],[r,n]=e;return be({...t,args:[r,"minus",n]})}function ho(t){let e=t?.args??[],[r,n]=e;return be({...t,args:[r,"multiply",n]})}function po(t){let e=t?.args??[],[r,n]=e;return be({...t,args:[r,"divide",n]})}function g4(t){let e=t?.args??[],[r,n]=e;return be({...t,args:[r,"intDivide",n]})}function fo(t){let e=t?.args??[],[r,n]=e;return be({...t,args:[r,"power",n]})}function b4(t){let e=t?.args??[],[r,n]=e,i=(a,s)=>be({...t,args:[a,s]});if(!n)return i("round",r);switch(n){case"floor":return i("floor",r);case"ceil":return i("ceil",r);case"trunc":return i("trunc",r);default:throw new He("Math: Unknown operation: "+U(n))}}function y4(t){let e=t?.args??[],[r]=e;return be({...t,args:["sqrt",r]})}function v4(t){let e=t?.args??[],[r]=e;return be({...t,args:["cbrt",r]})}function k4(t){let e=t?.args??[],[r]=e;return be({...t,args:["abs",r]})}var x4=qe({helpers:{op:be,plus:p4,sum:f4,minus:m4,mul:ho,multiply:ho,div:po,divide:po,intDivide:g4,pow:fo,power:fo,round:b4,sqrt:y4,cbrt:v4,abs:k4,__default:be}});function mo(t){let e=t?.flext??{},r=t?.args??[],[n]=r,i=(e?.assets??{})[n]??null;if(i)return URL.createObjectURL(i);throw new Ot(`Media: Unable to get the asset: Asset '${n}' does not exist`)}var w4=qe({helpers:{url:mo,__default:mo}}),$4=Kr(Wl(),1),E4={useLongScale:!1,baseSeparator:" ",unitSeparator:" ",base:{0:"\u043D\u04E9\u043B",1:"\u0431\u0456\u0440",2:"\u0435\u043A\u0456",3:"\u04AF\u0448",4:"\u0442\u04E9\u0440\u0442",5:"\u0431\u0435\u0441",6:"\u0430\u043B\u0442\u044B",7:"\u0436\u0435\u0442\u0456",8:"\u0441\u0435\u0433\u0456\u0437",9:"\u0442\u043E\u0493\u044B\u0437",10:"\u043E\u043D",11:"\u043E\u043D \u0431\u0456\u0440",12:"\u043E\u043D \u0435\u043A\u0456",13:"\u043E\u043D \u04AF\u0448",14:"\u043E\u043D \u0442\u04E9\u0440\u0442",15:"\u043E\u043D \u0431\u0435\u0441",16:"\u043E\u043D \u0430\u043B\u0442\u044B",17:"\u043E\u043D \u0436\u0435\u0442\u0456",18:"\u043E\u043D \u0441\u0435\u0433\u0456\u0437",19:"\u043E\u043D \u0442\u043E\u0493\u044B\u0437",20:"\u0436\u0438\u044B\u0440\u043C\u0430",30:"\u043E\u0442\u044B\u0437",40:"\u049B\u044B\u0440\u044B\u049B",50:"\u0435\u043B\u0443",60:"\u0430\u043B\u043F\u044B\u0441",70:"\u0436\u0435\u0442\u043F\u0456\u0441",80:"\u0441\u0435\u043A\u0441\u0435\u043D",90:"\u0442\u043E\u049B\u0441\u0430\u043D",100:"\u0436\u04AF\u0437",200:"\u0435\u043A\u0456 \u0436\u04AF\u0437",300:"\u04AF\u0448 \u0436\u04AF\u0437",400:"\u0442\u04E9\u0440\u0442 \u0436\u04AF\u0437",500:"\u0431\u0435\u0441 \u0436\u04AF\u0437",600:"\u0430\u043B\u0442\u044B \u0436\u04AF\u0437",700:"\u0436\u0435\u0442\u0456 \u0436\u04AF\u0437",800:"\u0441\u0435\u0433\u0456\u0437 \u0436\u04AF\u0437",900:"\u0442\u043E\u0493\u044B\u0437 \u0436\u04AF\u0437"},alternativeBase:{},units:[{useBaseInstead:!0,useBaseException:[]},{singular:"\u043C\u044B\u04A3",plural:"\u043C\u044B\u04A3"},{singular:"\u043C\u0438\u043B\u043B\u0438\u043E\u043D",plural:"\u043C\u0438\u043B\u043B\u0438\u043E\u043D"},{singular:"\u043C\u0438\u043B\u043B\u0438\u0430\u0440\u0434",plural:"\u043C\u0438\u043B\u043B\u0438\u0430\u0440\u0434"},{singular:"\u0442\u0440\u0438\u043B\u043B\u0438\u043E\u043D",plural:"\u0442\u0440\u0438\u043B\u043B\u0438\u043E\u043D"},{singular:"\u043A\u0432\u0430\u0434\u0440\u0438\u043B\u043B\u0438\u043E\u043D",plural:"\u043A\u0432\u0430\u0434\u0440\u0438\u043B\u043B\u0438\u043E\u043D"},{singular:"\u043A\u0432\u0438\u043D\u0442\u0438\u043B\u043B\u0438\u043E\u043D",plural:"\u043A\u0432\u0438\u043D\u0442\u0438\u043B\u043B\u0438\u043E\u043D"},{singular:"\u0441\u0435\u043A\u0441\u0442\u0438\u043B\u043B\u0438\u043E\u043D",plural:"\u0441\u0435\u043A\u0441\u0442\u0438\u043B\u043B\u0438\u043E\u043D"},{singular:"\u0441\u0435\u043F\u0442\u0438\u043B\u043B\u0438\u043E\u043D",plural:"\u0441\u0435\u043F\u0442\u0438\u043B\u043B\u0438\u043E\u043D"},{singular:"\u043E\u043A\u0442\u0438\u043B\u043B\u0438\u043E\u043D",plural:"\u043E\u043A\u0442\u0438\u043B\u043B\u0438\u043E\u043D"},{singular:"\u043D\u043E\u043D\u0438\u043B\u043B\u0438\u043E\u043D",plural:"\u043D\u043E\u043D\u0438\u043B\u043B\u0438\u043E\u043D"},{singular:"\u0434\u0435\u0446\u0438\u043B\u043B\u0438\u043E\u043D",plural:"\u0434\u0435\u0446\u0438\u043B\u043B\u0438\u043E\u043D"}],unitExceptions:{1e3:"\u043C\u044B\u04A3"}},S4={"ar-EG":"ar","az-AZ":"az","en-IN":"enIndian","en-GB":"uk","en-US":"en",eo:"eo","es-ES":"es","fr-FR":"fr","id-ID":"id","pt-BR":"pt","pt-PT":"ptPT","ru-RU":"ru","tr-TR":"tr","vi-VN":"vi"},_4="en",A4={"kk-KZ":E4};function Gr(t){let e=t?.flext??{},r=t?.args??[],n=t?.namedArgs??{},[i,a]=r,{lang:s,strict:o}=n,u=d=>S4[d]??A4[d]??null,c=u(s)??u(e?.lang)??_4;switch(i){case"text":return(0,$4.default)(Number(a),{lang:c});case"check":return o?typeof a=="number":Ve(a);default:return Number(i)}}function C4(t){let e=t?.args??[],[r]=e;return String(Gr({...t,args:["text",r]}))}function D4(t){let e=t?.args??[],[r]=e;return Gr({...t,args:["check",r]})}var O4=qe({helpers:{op:Gr,text:C4,check:D4,__default:Gr}}),go=Kr(So(),1),B4="text-blue-500";function Ru(t){let e=t?.flext??{},r=t?.args??[],[n,i]=r,a=t?.options??{},s=t?.namedArgs??{},o=t?.self??{},u=t?.getContent??M4,c=Ni(n,!1);return c&&!Ve(n)&&!fe(n,!0,!1)?ju({flext:e,args:[c],options:a,namedArgs:{...s,fallback:i},self:o,getContent:u}):n??i??""}function F4(t){let e=(t?.namedArgs??{})?.color??B4;return e?new go.SafeString(`<span class="${e}">${Ru(t)}</span>`):new go.SafeString(t)}function M4(){return null}var N4=qe({helpers:{noColor:Ru,__default:F4}});function Yr(t){let e=t?.args??[],[r,n]=e;switch(r){case"json":return JSON.parse(n);case"check":return typeof n=="string";default:return r}}function L4(t){let e=t?.args??[],[r]=e;return Yr({...t,args:["json",r]})}function P4(t){let e=t?.args??[],[r]=e;return Yr({...t,args:["check",r]})}var z4=qe({helpers:{op:Yr,json:L4,check:P4,__default:Yr}}),T4="__default",zn=10,j4=new Tu,Ti=class{preprocessFunc=R4;parseFunc=Di;constructor(t=null,e={},r={}){t&&this.setTemplate(t),this.setData({...this.data,...e}),this.setHelpers({...this.helpers,...r})}templateToProcessed(t){return this.preprocessFunc(t)}templateToAst(t){return this.parseFunc(t)}setTemplate(t){this.data={},this.helpers={};let e=this.templateToProcessed(t);return this.ast=this.templateToAst(e),this}setData(t){return this.data=t,this}setHelpers(t){return this.helpers=t,this}addHelper(t,e){return this.helpers[t]=e,this}setPreprocessHandler(t){return this.preprocessFunc=t,this}setParseHandler(t){return this.parseFunc=t,this}getHtml(t,e){let r=si(this.ast);if(!r)throw new le("Flext: Unable to get HTML: No template");return Oi(r,t??this.data,e??this.helpers)}async getCss(t,e={}){let r=si(this.ast),n=e?.helpers??{},i={...this.helpers,...n};if(!r)throw new le("Flext: Unable to get CSS: No template");return await ku(r,t??this.data,{...e,helpers:i})}get html(){return this.getHtml()}},pn=class extends Ti{getTitleFunc=Au;getMacroFunc=Fi;constructor(t=null,e={},r={}){super(null,e,r),t&&this.setTemplate(t),this.setData({...this.data,...e}),this.setHelpers({...this.helpers,...r})}templateToProcessed(t){return(this.dialect??j4).templateToStandard(t)}useModule(...t){for(let e of t)this.addModule(e,zi[e]);return this}setTemplate(t){super.setTemplate(t),this.addAsset("__template",new Blob([t],{type:"text/plain"}));let[e]=this.getTitleFunc(this.ast),r=this.getMacroFunc(this.ast),{lang:n,timeZone:i,title:a,moduleNames:s,margins:o,lineHeight:u,fields:c}=I4(r);return n&&this.setLang(n),i&&this.setTimeZone(i),(a||e)&&this.setTitle(a??Cu(e)),o&&this.setMargins(o),u&&this.setLineHeight(Number(u)),c&&c?.length&&this.setFields(c),this.useModule(...s),this}setDialect(t){return this.dialect=t,this}setLang(t){return this.lang=t,this}setTitle(t){return this.title=t,this}setTimeZone(t){return this.timeZone=t,this}setMargins(t){return this.margins=t,this}setLineHeight(t){return this.lineHeight=t,this}setAssets(t){return this.assets=t,this}addAsset(t,e){return this.assets||(this.assets={}),this.assets[t]=e,this}setFields(t){return this.fields=t,this}addModule(t,e){let r=e?.helpers??{};for(let n in r){if(!oi(r,n))continue;let i=r[n],a=n===T4,s=this,o=function(...u){let c=u?.slice(0,-1)??[],d=u[u.length-1]??{},h=d?.hash??{},p=this;return i({flext:s,args:c,options:d,namedArgs:h,self:p,getContent:()=>d?.fn(p)??null})};a?this.addHelper(t,o):this.addHelper(t+":"+n,o)}return this}setTitleHandler(t){return this.getTitleFunc=t,this}setMacroHandler(t){return this.getMacroFunc=t,this}getDataModel(t=zn){let e=i=>{for(let a in this.helpers)if(oi(this.helpers,a)){if(i?.name===a)return!0}else continue;return!1},r=i=>!e(i),n=i=>Bi(i,this.fields,{},t);return(Eu(this.ast)?.$??[]).filter(r).map(n)}getValidationErrors(t,e=zn){return Mi(t??this.data,this.model,e)}getIsValid(t,e=zn){return!this.getValidationErrors(t??this.data,e)?.length}get model(){return this.getDataModel()}get validationErrors(){return this.getValidationErrors()}get errors(){return this.validationErrors}get isValid(){return this.getIsValid()}};function I4(t){let e=(...f)=>t?.filter(b=>fe(b?.name,...f))??null,r=f=>{let[b]=e(f),[v]=b?.params??[];return v?.value??null},n=r("lang"),i=r("title"),a=r("timeZone"),s=e("use"),o=r("margins"),u=r("lineHeight"),c=e("option"),d=e("group","field"),h=c?.map(Nu)??null,p=d?.map(Mu)??[];Lu(h,p),Pu(p);let l=p.filter(f=>f?.extra?.macroName==="group");for(let f of l)f.type="object";let m=s.map(Fu).flat();return{lang:n,timeZone:a,title:i,moduleNames:m,margins:o,lineHeight:u,fields:p}}function R4(t){return t}var V4=pn;var kr={};Ui(kr,{Latest:()=>fn,Legacy_1_0_beta4:()=>Uu});var ji=class extends Ge{name="latest";aliases=["1.0"]},fn=ji;var mn="{{!--",qu="syntax",Ii="v",Ri=class extends Ge{name="1.0.beta4";testAst(e,r){if(!this.name)throw new le("Flext: Unable to test the template: 'name' param is not set in the dialect");let i=Se.astToMacros(e)?.find(s=>s?.name===Ii)??null;if(!i){if(r)throw new ge("Flext: Unable to test the template: '@v' macro is not set");return!1}let[a]=i?.params??[];if(!a){if(r)throw new ge("Flext: Unable to test the template: Bad '@v' macro");return!1}return this.aliases&&this.aliases?.length?a?.value===this.name||Se.inarr(a?.value,...this.aliases):a?.value===this.name}templateToStandard(e){let r=e,n=(i,a)=>{r=r.replace(i,a)};return n(mn+" @"+Ii,mn+" @"+qu),n(mn+"@"+Ii,mn+"@"+qu),r}},Uu=Ri;var q4="syntax",U4="v",W4=new fn,Vi=class extends pn{setTemplate(e){let r=Se.hbsToAst(e),i=Se.astToMacros(r)?.find(o=>Se.inarr(o?.name,q4,U4))??null;if(!i)return this.setDialect(W4),super.setTemplate(e);let[a]=i?.params??[];if(!a)throw new dr.BaseError("Flext: Unable to set the template: Bad '@syntax' macro: "+Se.audit(i));let s=a?.value??null;if(!s)throw new dr.BaseError("Flext: Unable to set the template: Bad '@syntax' macro: "+Se.audit(i));for(let o in kr){if(!Se.has(kr,o))continue;let u=kr[o],c=new u;if(s===c?.name){this.setDialect(c);break}}return super.setTemplate(e)}};var i2=Vi;export{le as BaseError,hr as BaseThrowable,ge as BaseWarning,q4 as DIALECT_MACRO,Ge as Dialect,Vi as Flext,U4 as LEGACY_DIALECT_MACRO,Dt as PotentialLoopError,pn as Processor,Ti as SimpleProcessor,Xr as TemplateDataValidationError,Ot as TemplateError,He as TemplateSyntaxError,Vu as core,i2 as default,kr as dialects,W4 as latestDialect};
567
567
  //# sourceMappingURL=index.js.map