var gl=Object.defineProperty;var dt=(e=>typeof require<"u"?require:typeof Proxy<"u"?new Proxy(e,{get:(t,r)=>(typeof require<"u"?require:t)[r]}):e)(function(e){if(typeof require<"u")return require.apply(this,arguments);throw Error('Dynamic require of "'+e+'" is not supported')});var Xi=(e,t)=>{for(var r in t)gl(e,r,{get:t[r],enumerable:!0})};var pl={};Xi(pl,{BaseError:()=>fe,BaseThrowable:()=>Er,BaseWarning:()=>we,Dialect:()=>Xe,PotentialLoopError:()=>It,Processor:()=>wn,SimpleProcessor:()=>Hi,TemplateDataError:()=>Lt,TemplateDataValidationError:()=>un,TemplateError:()=>kt,TemplateSyntaxError:()=>lt,default:()=>Tg,dialects:()=>Go,errors:()=>$r,lib:()=>Me,modules:()=>Wi,types:()=>b0});var bl=Object.create,vi=Object.defineProperty,yl=Object.getOwnPropertyDescriptor,vl=Object.getOwnPropertyNames,kl=Object.getPrototypeOf,xl=Object.prototype.hasOwnProperty,Gt=(e=>typeof dt<"u"?dt:typeof Proxy<"u"?new Proxy(e,{get:(t,r)=>(typeof dt<"u"?dt:t)[r]}):e)(function(e){if(typeof dt<"u")return dt.apply(this,arguments);throw Error('Dynamic require of "'+e+'" is not supported')}),T=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),on=(e,t)=>{for(var r in t)vi(e,r,{get:t[r],enumerable:!0})},wl=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let i of vl(t))!xl.call(e,i)&&i!==r&&vi(e,i,{get:()=>t[i],enumerable:!(n=yl(t,i))||n.enumerable});return e},sn=(e,t,r)=>(r=e!=null?bl(kl(e)):{},wl(t||!e||!e.__esModule?vi(r,"default",{value:e,enumerable:!0}):r,e)),$l=T((e,t)=>{"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,g,v){f=f||"",g=g||[],v=v||"";let y=h(g,v);return p(f,y)}function d(f,g){f=f||[],g=g||"";let v=h(f,g);return function(y){return p(y||"",v)}}c.init_streaming_mode=d;function h(f,g){return f=l(f),{allowable_tags:f,tag_replacement:g,state:i,tag_buffer:"",depth:0,in_quote_char:""}}function p(f,g){if(typeof f!="string")throw new TypeError("'html' parameter must be a string");let v=g.allowable_tags,y=g.tag_replacement,S=g.state,$=g.tag_buffer,k=g.depth,x=g.in_quote_char,w="";for(let E=0,A=f.length;E":if(x)break;if(k){k--;break}x="",S=i,$+=">",v.has(m($))?w+=$:w+=y,$="";break;case'"':case"'":_===x?x="":x=x||_,$+=_;break;case"-":$===""?($.slice(-2)=="--"&&(S=i),$=""):$+=_)}return g.state=S,g.tag_buffer=$,g.depth=k,g.in_quote_char=x,w}function l(f){let g=new Set;if(typeof f=="string"){let v;for(;v=o.exec(f);)g.add(v[1])}else!n.nonNative&&typeof f[n.iterator]=="function"?g=new Set(f):typeof f.forEach=="function"&&f.forEach(g.add,g);return g}function m(f){let g=u.exec(f);return g?g[1].toLowerCase():null}typeof define=="function"&&define.amd?define(function(){return c}):typeof t=="object"&&t.exports?t.exports=c:r.striptags=c})(e)}),ve=T(e=>{"use strict";e.__esModule=!0,e.extend=a,e.indexOf=c,e.escapeExpression=d,e.isEmpty=h,e.createFrame=p,e.blockParams=l,e.appendContextPath=m;var t={"&":"&","<":"<",">":">",'"':""","'":"'","`":"`","=":"="},r=/[&<>"'`=]/g,n=/[&<>"'`=]/;function i(f){return t[f]}function a(f){for(var g=1;g{"use strict";e.__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{"use strict";e.__esModule=!0;var r=ve();e.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)})},t.exports=e.default}),Sl=T((e,t)=>{"use strict";e.__esModule=!0;function r(s){return s&&s.__esModule?s:{default:s}}var n=ve(),i=Oe(),a=r(i);e.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=$,l.index=k,l.first=k===0,l.last=!!x,m&&(l.contextPath=m+$)),p=p+c(o[$],{data:l,blockParams:n.blockParams([o[$],$],[m+$,null])})}if(o&&typeof o=="object")if(n.isArray(o))for(var g=o.length;h{"use strict";e.__esModule=!0;function r(a){return a&&a.__esModule?a:{default:a}}var n=Oe(),i=r(n);e.default=function(a){a.registerHelper("helperMissing",function(){if(arguments.length!==1)throw new i.default('Missing helper: "'+arguments[arguments.length-1].name+'"')})},t.exports=e.default}),Cl=T((e,t)=>{"use strict";e.__esModule=!0;function r(s){return s&&s.__esModule?s:{default:s}}var n=ve(),i=Oe(),a=r(i);e.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})})},t.exports=e.default}),_l=T((e,t)=>{"use strict";e.__esModule=!0,e.default=function(r){r.registerHelper("log",function(){for(var n=[void 0],i=arguments[arguments.length-1],a=0;a{"use strict";e.__esModule=!0,e.default=function(r){r.registerHelper("lookup",function(n,i,a){return n&&a.lookupProperty(n,i)})},t.exports=e.default}),Bl=T((e,t)=>{"use strict";e.__esModule=!0;function r(s){return s&&s.__esModule?s:{default:s}}var n=ve(),i=Oe(),a=r(i);e.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])})})},t.exports=e.default}),Io=T(e=>{"use strict";e.__esModule=!0,e.registerDefaultHelpers=g,e.moveHelperToHooks=v;function t(y){return y&&y.__esModule?y:{default:y}}var r=El(),n=t(r),i=Sl(),a=t(i),s=Al(),o=t(s),u=Cl(),c=t(u),d=_l(),h=t(d),p=Dl(),l=t(p),m=Bl(),f=t(m);function g(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,S,$){y.helpers[S]&&(y.hooks[S]=y.helpers[S],$||(y.helpers[S]=void 0))}}),Ol=T((e,t)=>{"use strict";e.__esModule=!0;var r=ve();e.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})},t.exports=e.default}),Ml=T(e=>{"use strict";e.__esModule=!0,e.registerDefaultDecorators=i;function t(a){return a&&a.__esModule?a:{default:a}}var r=Ol(),n=t(r);function i(a){n.default(a)}}),Ro=T((e,t)=>{"use strict";e.__esModule=!0;var r=ve(),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{"use strict";e.__esModule=!0,e.createProtoAccessControl=s,e.resultIsAllowed=o,e.resetLoggedProperties=d;function t(h){return h&&h.__esModule?h:{default:h}}var r=ve(),n=Ro(),i=t(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. You can add a runtime option to disable the check or this warning: 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]})}}),ki=T(e=>{"use strict";e.__esModule=!0,e.HandlebarsEnvironment=f;function t(v){return v&&v.__esModule?v:{default:v}}var r=ve(),n=Oe(),i=t(n),a=Io(),s=Ml(),o=Ro(),u=t(o),c=qo(),d="4.7.9";e.VERSION=d;var h=8;e.COMPILER_REVISION=h;var p=7;e.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"};e.REVISION_CHANGES=l;var m="[object Object]";function f(v,y,S){this.helpers=v||{},this.partials=y||{},this.decorators=S||{},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 g=u.default.log;e.log=g,e.createFrame=r.createFrame,e.logger=u.default}),Fl=T((e,t)=>{"use strict";e.__esModule=!0;function r(n){this.string=n}r.prototype.toString=r.prototype.toHTML=function(){return""+this.string},e.default=r,t.exports=e.default}),Nl=T(e=>{"use strict";e.__esModule=!0,e.wrapHelper=t;function t(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=T(e=>{"use strict";e.__esModule=!0,e.checkRevision=h,e.template=p,e.wrapProgram=l,e.resolvePartial=m,e.invokePartial=f,e.noop=g;function t(x){return x&&x.__esModule?x:{default:x}}function r(x){if(x&&x.__esModule)return x;var w={};if(x!=null)for(var E in x)Object.prototype.hasOwnProperty.call(x,E)&&(w[E]=x[E]);return w.default=x,w}var n=ve(),i=r(n),a=Oe(),s=t(a),o=ki(),u=Io(),c=Nl(),d=qo();function h(x){var w=x&&x[0]||1,E=o.COMPILER_REVISION;if(!(w>=o.LAST_COMPATIBLE_COMPILER_REVISION&&w<=o.COMPILER_REVISION))if(w{"use strict";e.__esModule=!0,e.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}},t.exports=e.default}),Tl=T((e,t)=>{"use strict";e.__esModule=!0;function r(y){return y&&y.__esModule?y:{default:y}}function n(y){if(y&&y.__esModule)return y;var S={};if(y!=null)for(var $ in y)Object.prototype.hasOwnProperty.call(y,$)&&(S[$]=y[$]);return S.default=y,S}var i=ki(),a=n(i),s=Fl(),o=r(s),u=Oe(),c=r(u),d=ve(),h=n(d),p=Ll(),l=n(p),m=Vo(),f=r(m);function g(){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(S){return l.template(S,y)},y}var v=g();v.create=g,f.default(v),v.default=v,e.default=v,t.exports=e.default}),Uo=T((e,t)=>{"use strict";e.__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}}};e.default=r,t.exports=e.default}),Pl=T((e,t)=>{"use strict";e.__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,g=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 S=this.lexer.options&&this.lexer.options.ranges;typeof this.yy.parseError=="function"&&(this.parseError=this.yy.parseError);function $(I){u.length=u.length-2*I,c.length=c.length-I,d.length=d.length-I}function k(){var I;return I=o.lexer.lex()||1,typeof I!="number"&&(I=o.symbols_[I]||I),I}for(var x,w,E,A,_,D,B={},O,M,F,L;;){if(E=u[u.length-1],this.defaultActions[E]?A=this.defaultActions[E]:((x===null||typeof x>"u")&&(x=k()),A=h[E]&&h[E][x]),typeof A>"u"||!A.length||!A[0]){var V="";if(!f){L=[];for(O in h[E])this.terminals_[O]&&O>2&&L.push("'"+this.terminals_[O]+"'");this.lexer.showPosition?V="Parse error on line "+(l+1)+`: `+this.lexer.showPosition()+` Expecting `+L.join(", ")+", got '"+(this.terminals_[x]||x)+"'":V="Parse error on line "+(l+1)+": Unexpected "+(x==1?"end of input":"'"+(this.terminals_[x]||x)+"'"),this.parseError(V,{text:this.lexer.match,token:this.terminals_[x]||x,line:this.lexer.yylineno,loc:y,expected:L})}}if(A[0]instanceof Array&&A.length>1)throw new Error("Parse Error: multiple actions possible at state: "+E+", 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,w?(x=w,w=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],B.$=c[c.length-M],B._$={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},S&&(B._$.range=[d[d.length-(M||1)].range[0],d[d.length-1].range[1]]),D=this.performAction.call(B,p,m,l,this.yy,A[1],c,d),typeof D<"u")return D;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(B.$),d.push(B._$),F=h[u[u.length-2]][u[u.length-1]],u.push(F);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()+` `+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;mu[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. `+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})();e.default=r,t.exports=e.default}),xi=T((e,t)=>{"use strict";e.__esModule=!0;function r(c){return c&&c.__esModule?c:{default:c}}var n=Oe(),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{"use strict";e.__esModule=!0;function r(d){return d&&d.__esModule?d:{default:d}}var n=xi(),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{"use strict";e.__esModule=!0,e.SourceLocation=a,e.id=s,e.stripFlags=o,e.stripComment=u,e.preparePath=c,e.prepareMustache=d,e.prepareRawBlock=h,e.prepareBlock=p,e.prepareProgram=l,e.preparePartialBlock=m;function t(f){return f&&f.__esModule?f:{default:f}}var r=Oe(),n=t(r);function i(f,g){if(g=g.path?g.path.original:g,f.path.original!==g){var v={loc:f.path.loc};throw new n.default(f.path.original+" doesn't match "+g,v)}}function a(f,g){this.source=f,this.start={line:g.first_line,column:g.first_column},this.end={line:g.last_line,column:g.last_column}}function s(f){return/^\[.*\]$/.test(f)?f.substring(1,f.length-1):f}function o(f,g){return{open:f.charAt(2)==="~",close:g.charAt(g.length-3)==="~"}}function u(f){return f.replace(/^\{\{~?!-?-?/,"").replace(/-?-?~?\}\}$/,"")}function c(f,g,v){v=this.locInfo(v);for(var y=f?"@":"",S=[],$=0,k=0,x=g.length;k0)throw new n.default("Invalid path: "+y,{loc:v});w===".."&&$++}else S.push(w)}return{type:"PathExpression",data:f,depth:$,parts:S,original:y,loc:v}}function d(f,g,v,y,S,$){var k=y.charAt(3)||y.charAt(2),x=k!=="{"&&k!=="&",w=/\*/.test(y);return{type:w?"Decorator":"MustacheStatement",path:f,params:g,hash:v,escaped:x,strip:S,loc:this.locInfo($)}}function h(f,g,v,y){i(f,v),y=this.locInfo(y);var S={type:"Program",body:g,strip:{},loc:y};return{type:"BlockStatement",path:f.path,params:f.params,hash:f.hash,program:S,openStrip:{},inverseStrip:{},closeStrip:{},loc:y}}function p(f,g,v,y,S,$){y&&y.path&&i(f,y);var k=/\*/.test(f.open);g.blockParams=f.blockParams;var x=void 0,w=void 0;if(v){if(k)throw new n.default("Unexpected inverse block on decorator",v);v.chain&&(v.program.body[0].closeStrip=y.strip),w=v.strip,x=v.program}return S&&(S=x,x=g,g=S),{type:k?"DecoratorBlock":"BlockStatement",path:f.path,params:f.params,hash:f.hash,program:g,inverse:x,openStrip:f.strip,inverseStrip:w,closeStrip:y&&y.strip,loc:this.locInfo($)}}function l(f,g){if(!g&&f.length){var v=f[0].loc,y=f[f.length-1].loc;v&&y&&(g={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:g}}function m(f,g,v,y){return i(f,v),{type:"PartialBlockStatement",name:f.path,params:f.params,hash:f.hash,program:g,openStrip:f.strip,closeStrip:v&&v.strip,loc:this.locInfo(y)}}}),Il=T(e=>{"use strict";e.__esModule=!0,e.parseWithoutProcessing=l,e.parse=m;function t(y){if(y&&y.__esModule)return y;var S={};if(y!=null)for(var $ in y)Object.prototype.hasOwnProperty.call(y,$)&&(S[$]=y[$]);return S.default=y,S}function r(y){return y&&y.__esModule?y:{default:y}}var n=Pl(),i=r(n),a=zl(),s=r(a),o=jl(),u=t(o),c=Oe(),d=r(c),h=ve();e.parser=i.default;var p={};h.extend(p,u);function l(y,S){if(y.type==="Program")return f(y),y;i.default.yy=p,p.locInfo=function(k){return new p.SourceLocation(S&&S.srcName,k)};var $=i.default.parse(y);return $}function m(y,S){var $=l(y,S),k=new s.default(S);return k.accept($)}function f(y){g(y)}function g(y){if(y!=null){if(Array.isArray(y)){y.forEach(g);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 S=0;S=0}}),Rl=T(e=>{"use strict";e.__esModule=!0,e.Compiler=u,e.precompile=c,e.compile=d;function t(l){return l&&l.__esModule?l:{default:l}}var r=Oe(),n=t(r),i=ve(),a=Uo(),s=t(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;f1)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 g=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,g,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 g=l.path,v=g.parts[0],y=m!=null||f!=null;this.opcode("getContext",g.depth),this.opcode("pushProgram",m),this.opcode("pushProgram",f),g.strict=!0,this.accept(g),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 g=this.setupFullMustacheParams(l,m,f),v=l.path,y=v.parts[0];if(this.options.knownHelpers[y])this.opcode("invokeKnownHelper",g.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",g.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),g=!l.depth&&!f&&this.blockParamIndex(m);g?this.opcode("lookupBlockParam",g,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,g=m.length;for(this.opcode("pushHash");f=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 g=f.parse(l,m),v=new f.Compiler().compile(g,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 g=void 0;function v(){var S=f.parse(l,m),$=new f.Compiler().compile(S,m),k=new f.JavaScriptCompiler().compile($,m,void 0,!0);return f.template(k)}function y(S,$){return g||(g=v()),g.call(this,S,$)}return y._setup=function(S){return g||(g=v()),g._setup(S)},y._child=function(S,$,k,x){return g||(g=v()),g._child(S,$,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{var t="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split("");e.encode=function(r){if(0<=r&&r{var t=ql(),r=5,n=1<>1;return c?-d:d}e.encode=function(u){var c="",d,h=s(u);do d=h&i,h>>>=r,h>0&&(d|=a),c+=t.encode(d);while(h>0);return c},e.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=t.decode(u.charCodeAt(c++)),f===-1)throw new Error("Invalid base64 digit: "+u.charAt(c-1));m=!!(f&a),f&=i,p=p+(f<{function t($,k,x){if(k in $)return $[k];if(arguments.length===3)return x;throw new Error('"'+k+'" is a required argument.')}e.getArg=t;var r=/^(?:([\w+\-.]+):)?\/\/(?:(\w+:\w+)@)?([\w.-]*)(?::(\d+))?(.*)$/,n=/^data:.+\,.+$/;function i($){var k=$.match(r);return k?{scheme:k[1],auth:k[2],host:k[3],port:k[4],path:k[5]}:null}e.urlParse=i;function a($){var k="";return $.scheme&&(k+=$.scheme+":"),k+="//",$.auth&&(k+=$.auth+"@"),$.host&&(k+=$.host),$.port&&(k+=":"+$.port),$.path&&(k+=$.path),k}e.urlGenerate=a;function s($){var k=$,x=i($);if(x){if(!x.path)return $;k=x.path}for(var w=e.isAbsolute(k),E=k.split(/\/+/),A,_=0,D=E.length-1;D>=0;D--)A=E[D],A==="."?E.splice(D,1):A===".."?_++:_>0&&(A===""?(E.splice(D+1,_),_=0):(E.splice(D,2),_--));return k=E.join("/"),k===""&&(k=w?"/":"."),x?(x.path=k,a(x)):k}e.normalize=s;function o($,k){$===""&&($="."),k===""&&(k=".");var x=i(k),w=i($);if(w&&($=w.path||"/"),x&&!x.scheme)return w&&(x.scheme=w.scheme),a(x);if(x||k.match(n))return k;if(w&&!w.host&&!w.path)return w.host=k,a(w);var E=k.charAt(0)==="/"?k:s($.replace(/\/+$/,"")+"/"+k);return w?(w.path=E,a(w)):E}e.join=o,e.isAbsolute=function($){return $.charAt(0)==="/"||r.test($)};function u($,k){$===""&&($="."),$=$.replace(/\/$/,"");for(var x=0;k.indexOf($+"/")!==0;){var w=$.lastIndexOf("/");if(w<0||($=$.slice(0,w),$.match(/^([^\/]+:\/)?\/*$/)))return k;++x}return Array(x+1).join("../")+k.substr($.length+1)}e.relative=u;var c=(function(){var $=Object.create(null);return!("__proto__"in $)})();function d($){return $}function h($){return l($)?"$"+$:$}e.toSetString=c?d:h;function p($){return l($)?$.slice(1):$}e.fromSetString=c?d:p;function l($){if(!$)return!1;var k=$.length;if(k<9||$.charCodeAt(k-1)!==95||$.charCodeAt(k-2)!==95||$.charCodeAt(k-3)!==111||$.charCodeAt(k-4)!==116||$.charCodeAt(k-5)!==111||$.charCodeAt(k-6)!==114||$.charCodeAt(k-7)!==112||$.charCodeAt(k-8)!==95||$.charCodeAt(k-9)!==95)return!1;for(var x=k-10;x>=0;x--)if($.charCodeAt(x)!==36)return!1;return!0}function m($,k,x){var w=g($.source,k.source);return w!==0||(w=$.originalLine-k.originalLine,w!==0)||(w=$.originalColumn-k.originalColumn,w!==0||x)||(w=$.generatedColumn-k.generatedColumn,w!==0)||(w=$.generatedLine-k.generatedLine,w!==0)?w:g($.name,k.name)}e.compareByOriginalPositions=m;function f($,k,x){var w=$.generatedLine-k.generatedLine;return w!==0||(w=$.generatedColumn-k.generatedColumn,w!==0||x)||(w=g($.source,k.source),w!==0)||(w=$.originalLine-k.originalLine,w!==0)||(w=$.originalColumn-k.originalColumn,w!==0)?w:g($.name,k.name)}e.compareByGeneratedPositionsDeflated=f;function g($,k){return $===k?0:$===null?1:k===null?-1:$>k?1:-1}function v($,k){var x=$.generatedLine-k.generatedLine;return x!==0||(x=$.generatedColumn-k.generatedColumn,x!==0)||(x=g($.source,k.source),x!==0)||(x=$.originalLine-k.originalLine,x!==0)||(x=$.originalColumn-k.originalColumn,x!==0)?x:g($.name,k.name)}e.compareByGeneratedPositionsInflated=v;function y($){return JSON.parse($.replace(/^\)]}'[^\n]*\n/,""))}e.parseSourceMapInput=y;function S($,k,x){if(k=k||"",$&&($[$.length-1]!=="/"&&k[0]!=="/"&&($+="/"),k=$+k),x){var w=i(x);if(!w)throw new Error("sourceMapURL could not be parsed");if(w.path){var E=w.path.lastIndexOf("/");E>=0&&(w.path=w.path.substring(0,E+1))}k=o(a(w),k)}return s(k)}e.computeSourceURL=S}),Ho=T(e=>{var t=wr(),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=0)return s}else{var o=t.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{var t=wr();function r(i,a){var s=i.generatedLine,o=a.generatedLine,u=i.generatedColumn,c=a.generatedColumn;return o>s||o==s&&c>=u||t.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(t.compareByGeneratedPositionsInflated),this._sorted=!0),this._array},e.MappingList=n}),Zo=T(e=>{var t=Wo(),r=wr(),n=Ho().ArraySet,i=Vl().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 g=l.name;g!=null&&!p.has(g)&&p.add(g)},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,g,v=this._mappings.toArray(),y=0,S=v.length;y0){if(!r.compareByGeneratedPositionsInflated(m,v[y-1]))continue;l+=","}l+=t.encode(m.generatedColumn-s),s=m.generatedColumn,m.source!=null&&(g=this._sources.indexOf(m.source),l+=t.encode(g-h),h=g,l+=t.encode(m.originalLine-1-c),c=m.originalLine-1,l+=t.encode(m.originalColumn-u),u=m.originalColumn,m.name!=null&&(f=this._names.indexOf(m.name),l+=t.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())},e.SourceMapGenerator=a}),Ul=T(e=>{e.GREATEST_LOWER_BOUND=1,e.LEAST_UPPER_BOUND=2;function t(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?t(u,n,i,a,s,o):o==e.LEAST_UPPER_BOUND?n1?t(r,u,i,a,s,o):o==e.LEAST_UPPER_BOUND?u:r<0?-1:r}e.search=function(r,n,i,a){if(n.length===0)return-1;var s=t(-1,n.length,r,n,i,a||e.GREATEST_LOWER_BOUND);if(s<0)return-1;for(;s-1>=0&&i(n[s],n[s-1],!0)===0;)--s;return s}}),Wl=T(e=>{function t(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{var t=wr(),r=Ul(),n=Ho().ArraySet,i=Wo(),a=Wl().quickSort;function s(d,h){var p=d;return typeof d=="string"&&(p=t.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 g=this.sourceRoot;f.map(function(v){var y=v.source===null?null:this._sources.at(v.source);return y=t.computeSourceURL(g,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=t.getArg(d,"line"),p={source:t.getArg(d,"source"),originalLine:h,originalColumn:t.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",t.compareByOriginalPositions,r.LEAST_UPPER_BOUND);if(m>=0){var f=this._originalMappings[m];if(d.column===void 0)for(var g=f.originalLine;f&&f.originalLine===g;)l.push({line:t.getArg(f,"generatedLine",null),column:t.getArg(f,"generatedColumn",null),lastColumn:t.getArg(f,"lastGeneratedColumn",null)}),f=this._originalMappings[++m];else for(var v=f.originalColumn;f&&f.originalLine===h&&f.originalColumn==v;)l.push({line:t.getArg(f,"generatedLine",null),column:t.getArg(f,"generatedColumn",null),lastColumn:t.getArg(f,"lastGeneratedColumn",null)}),f=this._originalMappings[++m]}return l},e.SourceMapConsumer=s;function o(d,h){var p=d;typeof d=="string"&&(p=t.parseSourceMapInput(d));var l=t.getArg(p,"version"),m=t.getArg(p,"sources"),f=t.getArg(p,"names",[]),g=t.getArg(p,"sourceRoot",null),v=t.getArg(p,"sourcesContent",null),y=t.getArg(p,"mappings"),S=t.getArg(p,"file",null);if(l!=this._version)throw new Error("Unsupported version: "+l);g&&(g=t.normalize(g)),m=m.map(String).map(t.normalize).map(function($){return g&&t.isAbsolute(g)&&t.isAbsolute($)?t.relative(g,$):$}),this._names=n.fromArray(f.map(String),!0),this._sources=n.fromArray(m,!0),this._absoluteSources=this._sources.toArray().map(function($){return t.computeSourceURL(g,$,h)}),this.sourceRoot=g,this.sourcesContent=v,this._mappings=y,this._sourceMapURL=h,this.file=S}o.prototype=Object.create(s.prototype),o.prototype.consumer=s,o.prototype._findSourceIndex=function(d){var h=d;if(this.sourceRoot!=null&&(h=t.relative(this.sourceRoot,h)),this._sources.has(h))return this._sources.indexOf(h);var p;for(p=0;p1&&(E.source=g+_[1],g+=_[1],E.originalLine=m+_[2],m=E.originalLine,E.originalLine+=1,E.originalColumn=f+_[3],f=E.originalColumn,_.length>4&&(E.name=v+_[4],v+=_[4])),w.push(E),typeof E.originalLine=="number"&&x.push(E)}a(w,t.compareByGeneratedPositionsDeflated),this.__generatedMappings=w,a(x,t.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=0){var l=this._generatedMappings[p];if(l.generatedLine===h.generatedLine){var m=t.getArg(l,"source",null);m!==null&&(m=this._sources.at(m),m=t.computeSourceURL(this.sourceRoot,m,this._sourceMapURL));var f=t.getArg(l,"name",null);return f!==null&&(f=this._names.at(f)),{source:m,line:t.getArg(l,"originalLine",null),column:t.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=t.relative(this.sourceRoot,l));var m;if(this.sourceRoot!=null&&(m=t.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=t.getArg(d,"source");if(h=this._findSourceIndex(h),h<0)return{line:null,column:null,lastColumn:null};var p={source:h,originalLine:t.getArg(d,"line"),originalColumn:t.getArg(d,"column")},l=this._findMapping(p,this._originalMappings,"originalLine","originalColumn",t.compareByOriginalPositions,t.getArg(d,"bias",s.GREATEST_LOWER_BOUND));if(l>=0){var m=this._originalMappings[l];if(m.source===p.source)return{line:t.getArg(m,"generatedLine",null),column:t.getArg(m,"generatedColumn",null),lastColumn:t.getArg(m,"lastGeneratedColumn",null)}}return{line:null,column:null,lastColumn:null}},e.BasicSourceMapConsumer=o;function c(d,h){var p=d;typeof d=="string"&&(p=t.parseSourceMapInput(d));var l=t.getArg(p,"version"),m=t.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(g){if(g.url)throw new Error("Support for url field in sections not implemented.");var v=t.getArg(g,"offset"),y=t.getArg(v,"line"),S=t.getArg(v,"column");if(y{var t=Zo().SourceMapGenerator,r=wr(),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=$(),S=$()||"";return y+S;function $(){return p=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;c0){for(u=[],c=0;c{e.SourceMapGenerator=Zo().SourceMapGenerator,e.SourceMapConsumer=Hl().SourceMapConsumer,e.SourceNode=Zl().SourceNode}),Gl=T((e,t)=>{"use strict";e.__esModule=!0;var r=ve(),n=void 0;try{(typeof define!="function"||!define.amd)&&(i=Yl(),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{"use strict";e.__esModule=!0;function r(p){return p&&p.__esModule?p:{default:p}}var n=ki(),i=Oe(),a=r(i),s=ve(),o=Gl(),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 g=p.opcodes,v=void 0,y=void 0,S=void 0,$=void 0;for(S=0,$=g.length;S<$;S++)v=g[S],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(),`; `]),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) { `),this.decorators.push(`} `),this.decorators=this.decorators.merge()));var k=this.createFunctionContext(f);if(this.isChild)return k;var x={compiler:this.compilerInfo(),main:k};this.decorators&&(x.main_d=this.decorators,x.useDecorators=!0);var w=this.context,E=w.programs,A=w.decorators;for(S=0,$=E.length;S<$;S++)x[S]=E[S],A[S]&&(x[S+"_d"]=A[S],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 g=0;Object.keys(this.aliases).forEach(function(S){var $=l.aliases[S];$.children&&$.referenceCount>1&&(m+=", alias"+ ++g+"="+S,$.children[0]="alias"+g)}),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(","),`) { `,y,"}"])},mergeSource:function(p){var l=this.environment.isSimple,m=!this.forceBuffer,f=void 0,g=void 0,v=void 0,y=void 0;return this.source.each(function(S){S.appendToBuffer?(v?S.prepend(" + "):v=S,y=S):(v&&(g?v.prepend("buffer += "):f=!0,y.add(";"),v=y=void 0),g=!0,l||(m=!1))}),m?v?(v.prepend("return "),y.add(";")):g||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?"":`; `)),this.source.merge()},lookupPropertyFunctionVarDeclaration:function(){return` lookupProperty = container.lookupProperty || function(parent, propertyName) { if (Object.prototype.hasOwnProperty.call(parent, propertyName)) { return parent[propertyName]; } return undefined } `.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 g=0;!f&&this.options.compat&&!this.lastContext?this.push(this.depthedLookup(p[g++])):this.pushContext(),this.resolvePath("context",p,g,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,g){var v=this;if(this.options.strict||this.options.assumeObjects){this.push(h(this.options.strict&&g,this,l,m,p));return}for(var y=l.length,S=function(k){v.replaceStack(function(x){var w=v.nameLookup(x,l[k],p);return f?[" && ",w]:[" != null ? ",w," : ",x]})},$=m;$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{"use strict";e.__esModule=!0;function r(y){return y&&y.__esModule?y:{default:y}}var n=Tl(),i=r(n),a=Uo(),s=r(a),o=Il(),u=Rl(),c=Jl(),d=r(c),h=xi(),p=r(h),l=Vo(),m=r(l),f=i.default.create;function g(){var y=f();return y.compile=function(S,$){return u.compile(S,$,y)},y.precompile=function(S,$){return u.precompile(S,$,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=g();v.create=g,m.default(v),v.Visitor=p.default,v.default=v,e.default=v,t.exports=e.default}),Xl=T(e=>{"use strict";e.__esModule=!0,e.print=i,e.PrintVisitor=a;function t(s){return s&&s.__esModule?s:{default:s}}var r=xi(),n=t(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 "+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{"use strict";function t(r,n){r==null&&(r={});for(var i={},a=Object.keys(n),s=0,o=a.length;s{t.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:[]}}),t0=T((e,t)=>{t.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"}]}}),r0=T((e,t)=>{t.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:{}}}),n0=T((e,t)=>{t.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:[]}}),i0=T((e,t)=>{t.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"}]}}),a0=T((e,t)=>{t.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"}]}}),o0=T((e,t)=>{t.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"}}}),s0=T((e,t)=>{t.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:[]}}),u0=T((e,t)=>{t.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"}]}}),l0=T((e,t)=>{t.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:[]}}),c0=T((e,t)=>{t.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:[]}}),h0=T((e,t)=>{t.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]}]}}),d0=T((e,t)=>{t.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:[]}}),p0=T((e,t)=>{t.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:[]}}),f0=T((e,t)=>{t.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:[]}}),m0=T((e,t)=>{t.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:[]}}),g0=T((e,t)=>{"use strict";e=t.exports=u;var r=Ql(),n=["en","es","ar","az","pt","fr","eo","it","vi","tr","uk","ru","id"],i={en:e0(),es:t0(),ar:r0(),az:n0(),pt:i0(),ptPT:a0(),fr:o0(),eo:s0(),it:u0(),vi:l0(),tr:c0(),hu:h0(),enIndian:d0(),uk:p0(),ru:f0(),id:m0()};e.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 g=m;m=[],l=Object.keys(g);for(var v in l)m.push(g[l[v]]),l[v]=Math.pow(10,parseInt(l[v]))}var y=p.base,S=h.alternativeBase?p.alternativeBase[h.alternativeBase]:{};if(p.unitExceptions[d])return p.unitExceptions[d];if(S[d])return S[d];if(y[d])return y[d];if(d<100)return c(d,p,f,y,S,h);var $=d%100,k=[];$&&(h.noAnd&&!(p.andException&&p.andException[10])?k.push(u($,h)):k.push(p.unitSeparator+u($,h)));for(var x,v=0,w=m.length;v-1&&(f.useBaseExceptionWhenNoTrailingNumbers?v===0&&k.length:!0);_?k.push(E>1&&f.plural?f.plural:f.singular):k.push(S[E*l[v]]||y[E*l[v]]);continue}var D;if(typeof f=="string"?D=f:E===1||f.useSingularEnding&&E%10===1&&(!f.avoidEndingRules||f.avoidEndingRules.indexOf(E)<0)?D=f.singular:f.few&&(E>1&&E<5||f.useFewEnding&&E%10>1&&E%10<5&&(!f.avoidEndingRules||f.avoidEndingRules.indexOf(E)<0))?D=f.few:(D=f.plural&&(!f.avoidInNumberPlural||!$)?f.plural:f.singular,D=E===2&&f.dual?f.dual:D,D=E>10&&f.restrictedPlural?f.singular:D),f.avoidPrefixException&&f.avoidPrefixException.indexOf(E)>-1){k.push(D);continue}var B=p.unitExceptions[E],O=B||u(E,r.defaults({noAnd:!(p.andException&&p.andException[E]||f.andException)&&!0,alternativeBase:f.useAlternativeBase},h));d-=E*l[v],k.push(O+" "+D)}}var M=x*Math.floor(d/x),F=d-M;if(p.andWhenTrailing&&x&&0fe,BaseThrowable:()=>Er,BaseWarning:()=>we,PotentialLoopError:()=>It,TemplateDataError:()=>Lt,TemplateDataValidationError:()=>un,TemplateError:()=>kt,TemplateSyntaxError:()=>lt});var Er=class extends Error{name="BaseThrowable";constructor(e,t){super(e),t&&(this.stack=t)}},we=class extends Er{name="BaseWarning"},fe=class extends Er{name="BaseError"},It=class extends fe{name="PotentialLoopError";constructor(e="Potential loop detected: This might me an internal issue",t){super(e,t)}},kt=class extends fe{name="TemplateError"},lt=class extends kt{name="TemplateSyntaxError"},Lt=class extends kt{name="TemplateDataError"},un=class extends Lt{name="TemplateDataValidationError";constructor(e="The entered data is invalid: This might me an internal issue",t){super(e),t&&(this.fieldName=t)}},Go={};on(Go,{DIALECT_MACRO:()=>sl,Dialect:()=>Xe,StandardDialect:()=>ul,default:()=>d4});var Me={};on(Me,{DEFAULT_FIELD_TYPE:()=>vn,DEFAULT_MODEL_DEPTH:()=>jt,FilterHelper:()=>Ui,FlextH1SomewhereContentCollector:()=>Vu,FlextMacroCollector:()=>qu,HandlebarsCollector:()=>kn,HandlebarsCommentCollector:()=>ju,HandlebarsContentCollector:()=>Iu,HandlebarsPathCollector:()=>Ru,RegexHelper:()=>je,applyAbsoluteOrderToFields:()=>ol,applyValueOptionsToFields:()=>al,astToDataModel:()=>Yu,astToMacros:()=>Ii,astToPaths:()=>Hu,audit:()=>U,compare:()=>Yr,dataModelNodeToMetadata:()=>ji,defineModule:()=>Ue,delegateToCss:()=>Uu,delegateToHtml:()=>zi,delegateToHtmlH1:()=>Ku,ensureDate:()=>qi,ensureFieldName:()=>Qu,ensureFieldValue:()=>Vi,ensureNullableFieldMinMax:()=>gi,ensureNullableFieldMinMaxLength:()=>bi,ensureNullableFieldOrder:()=>el,ensureNullableString:()=>dr,ensureString:()=>xn,ensureTitle:()=>Xu,has:()=>fi,hbsToAst:()=>Pi,hbsToDelegate:()=>mi,hbsToDelegateValidationErrorsByMetadata:()=>Ri,inarr:()=>ke,isNumber:()=>De,isObject:()=>ge,isset:()=>de,macroToField:()=>nl,macroToFieldValueOption:()=>il,macroToModuleNames:()=>rl,macroTokenToMacroParam:()=>Gu,macroTokenToMacroParams:()=>Ju,matches:()=>yi,pathToDataModel:()=>Zu,pathToDataModelNode:()=>nn,stripHtml:()=>zu,sum:()=>tl,unique:()=>Wu,uno:()=>Pu});var xt=class extends Error{},y0=class extends xt{constructor(e){super(`Invalid DateTime: ${e.toMessage()}`)}},v0=class extends xt{constructor(e){super(`Invalid Interval: ${e.toMessage()}`)}},k0=class extends xt{constructor(e){super(`Invalid Duration: ${e.toMessage()}`)}},Ot=class extends xt{},Jo=class extends xt{constructor(e){super(`Invalid unit ${e}`)}},ce=class extends xt{},et=class extends xt{constructor(){super("Zone is an abstract class")}},N="numeric",Ie="short",xe="long",Gr={year:N,month:N,day:N},Ko={year:N,month:Ie,day:N},x0={year:N,month:Ie,day:N,weekday:Ie},Xo={year:N,month:xe,day:N},Qo={year:N,month:xe,day:N,weekday:xe},es={hour:N,minute:N},ts={hour:N,minute:N,second:N},rs={hour:N,minute:N,second:N,timeZoneName:Ie},ns={hour:N,minute:N,second:N,timeZoneName:xe},is={hour:N,minute:N,hourCycle:"h23"},as={hour:N,minute:N,second:N,hourCycle:"h23"},os={hour:N,minute:N,second:N,hourCycle:"h23",timeZoneName:Ie},ss={hour:N,minute:N,second:N,hourCycle:"h23",timeZoneName:xe},us={year:N,month:N,day:N,hour:N,minute:N},ls={year:N,month:N,day:N,hour:N,minute:N,second:N},cs={year:N,month:Ie,day:N,hour:N,minute:N},hs={year:N,month:Ie,day:N,hour:N,minute:N,second:N},w0={year:N,month:Ie,day:N,weekday:Ie,hour:N,minute:N},ds={year:N,month:xe,day:N,hour:N,minute:N,timeZoneName:Ie},ps={year:N,month:xe,day:N,hour:N,minute:N,second:N,timeZoneName:Ie},fs={year:N,month:xe,day:N,weekday:xe,hour:N,minute:N,timeZoneName:xe},ms={year:N,month:xe,day:N,weekday:xe,hour:N,minute:N,second:N,timeZoneName:xe},Sr=class{get type(){throw new et}get name(){throw new et}get ianaName(){return this.name}get isUniversal(){throw new et}offsetName(e,t){throw new et}formatOffset(e,t){throw new et}offset(e){throw new et}equals(e){throw new et}get isValid(){throw new et}},Sn=null,gs=class bs extends Sr{static get instance(){return Sn===null&&(Sn=new bs),Sn}get type(){return"system"}get name(){return new Intl.DateTimeFormat().resolvedOptions().timeZone}get isUniversal(){return!1}offsetName(t,{format:r,locale:n}){return _s(t,r,n)}formatOffset(t,r){return fr(this.offset(t),r)}offset(t){return-new Date(t).getTimezoneOffset()}equals(t){return t.type==="system"}get isValid(){return!0}},Hn=new Map;function $0(e){let t=Hn.get(e);return t===void 0&&(t=new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:e,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit",era:"short"}),Hn.set(e,t)),t}var E0={year:0,month:1,day:2,era:3,hour:4,minute:5,second:6};function S0(e,t){let r=e.format(t).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 A0(e,t){let r=e.formatToParts(t),n=[];for(let i=0;i=0?l:1e3+l,(h-p)/(60*1e3)}equals(t){return t.type==="iana"&&t.name===this.name}get isValid(){return this.valid}},Qi={};function C0(e,t={}){let r=JSON.stringify([e,t]),n=Qi[r];return n||(n=new Intl.ListFormat(e,t),Qi[r]=n),n}var Yn=new Map;function Gn(e,t={}){let r=JSON.stringify([e,t]),n=Yn.get(r);return n===void 0&&(n=new Intl.DateTimeFormat(e,t),Yn.set(r,n)),n}var Jn=new Map;function _0(e,t={}){let r=JSON.stringify([e,t]),n=Jn.get(r);return n===void 0&&(n=new Intl.NumberFormat(e,t),Jn.set(r,n)),n}var Kn=new Map;function D0(e,t={}){let{base:r,...n}=t,i=JSON.stringify([e,n]),a=Kn.get(i);return a===void 0&&(a=new Intl.RelativeTimeFormat(e,t),Kn.set(i,a)),a}var qr=null;function B0(){return qr||(qr=new Intl.DateTimeFormat().resolvedOptions().locale,qr)}var Xn=new Map;function ys(e){let t=Xn.get(e);return t===void 0&&(t=new Intl.DateTimeFormat(e).resolvedOptions(),Xn.set(e,t)),t}var Qn=new Map;function O0(e){let t=Qn.get(e);if(!t){let r=new Intl.Locale(e);t="getWeekInfo"in r?r.getWeekInfo():r.weekInfo,"minimalDays"in t||(t={...vs,...t}),Qn.set(e,t)}return t}function M0(e){let t=e.indexOf("-x-");t!==-1&&(e=e.substring(0,t));let r=e.indexOf("-u-");if(r===-1)return[e];{let n,i;try{n=Gn(e).resolvedOptions(),i=e}catch{let o=e.substring(0,r);n=Gn(o).resolvedOptions(),i=o}let{numberingSystem:a,calendar:s}=n;return[i,a,s]}}function F0(e,t,r){return(r||t)&&(e.includes("-u-")||(e+="-u"),r&&(e+=`-ca-${r}`),t&&(e+=`-nu-${t}`)),e}function N0(e){let t=[];for(let r=1;r<=12;r++){let n=H.utc(2009,r,1);t.push(e(n))}return t}function L0(e){let t=[];for(let r=1;r<=7;r++){let n=H.utc(2016,11,13+r);t.push(e(n))}return t}function Mr(e,t,r,n){let i=e.listingMode();return i==="error"?null:i==="en"?r(t):n(t)}function T0(e){return e.numberingSystem&&e.numberingSystem!=="latn"?!1:e.numberingSystem==="latn"||!e.locale||e.locale.startsWith("en")||ys(e.locale).numberingSystem==="latn"}var P0=class{constructor(e,t,r){this.padTo=r.padTo||0,this.floor=r.floor||!1;let{padTo:n,floor:i,...a}=r;if(!t||Object.keys(a).length>0){let s={useGrouping:!1,...r};r.padTo>0&&(s.minimumIntegerDigits=r.padTo),this.inf=_0(e,s)}}format(e){if(this.inf){let t=this.floor?Math.floor(e):e;return this.inf.format(t)}else{let t=this.floor?Math.floor(e):Ai(e,3);return ne(t,this.padTo)}}},z0=class{constructor(e,t,r){this.opts=r,this.originalZone=void 0;let n;if(this.opts.timeZone)this.dt=e;else if(e.zone.type==="fixed"){let a=-1*(e.offset/60),s=a>=0?`Etc/GMT+${a}`:`Etc/GMT${a}`;e.offset!==0&&Rt.create(s).valid?(n=s,this.dt=e):(n="UTC",this.dt=e.offset===0?e:e.setZone("UTC").plus({minutes:e.offset}),this.originalZone=e.zone)}else e.zone.type==="system"?this.dt=e:e.zone.type==="iana"?(this.dt=e,n=e.zone.name):(n="UTC",this.dt=e.setZone("UTC").plus({minutes:e.offset}),this.originalZone=e.zone);let i={...this.opts};i.timeZone=i.timeZone||n,this.dtf=Gn(t,i)}format(){return this.originalZone?this.formatToParts().map(({value:e})=>e).join(""):this.dtf.format(this.dt.toJSDate())}formatToParts(){let e=this.dtf.formatToParts(this.dt.toJSDate());return this.originalZone?e.map(t=>{if(t.type==="timeZoneName"){let r=this.originalZone.offsetName(this.dt.ts,{locale:this.dt.locale,format:this.opts.timeZoneName});return{...t,value:r}}else return t}):e}resolvedOptions(){return this.dtf.resolvedOptions()}},j0=class{constructor(e,t,r){this.opts={style:"long",...r},!t&&As()&&(this.rtf=D0(e,r))}format(e,t){return this.rtf?this.rtf.format(e,t):sc(t,e,this.opts.numeric,this.opts.style!=="long")}formatToParts(e,t){return this.rtf?this.rtf.formatToParts(e,t):[]}},vs={firstDay:1,minimalDays:4,weekend:[6,7]},Z=class ar{static fromOpts(t){return ar.create(t.locale,t.numberingSystem,t.outputCalendar,t.weekSettings,t.defaultToEN)}static create(t,r,n,i,a=!1){let s=t||K.defaultLocale,o=s||(a?"en-US":B0()),u=r||K.defaultNumberingSystem,c=n||K.defaultOutputCalendar,d=ti(i)||K.defaultWeekSettings;return new ar(o,u,c,d,s)}static resetCache(){qr=null,Yn.clear(),Jn.clear(),Kn.clear(),Xn.clear(),Qn.clear()}static fromObject({locale:t,numberingSystem:r,outputCalendar:n,weekSettings:i}={}){return ar.create(t,r,n,i)}constructor(t,r,n,i,a){let[s,o,u]=M0(t);this.locale=s,this.numberingSystem=r||o||null,this.outputCalendar=n||u||null,this.weekSettings=i,this.intl=F0(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=T0(this)),this.fastNumbersCached}listingMode(){let t=this.isEnglish(),r=(this.numberingSystem===null||this.numberingSystem==="latn")&&(this.outputCalendar===null||this.outputCalendar==="gregory");return t&&r?"en":"intl"}clone(t){return!t||Object.getOwnPropertyNames(t).length===0?this:ar.create(t.locale||this.specifiedLocale,t.numberingSystem||this.numberingSystem,t.outputCalendar||this.outputCalendar,ti(t.weekSettings)||this.weekSettings,t.defaultToEN||!1)}redefaultToEN(t={}){return this.clone({...t,defaultToEN:!0})}redefaultToSystem(t={}){return this.clone({...t,defaultToEN:!1})}months(t,r=!1){return Mr(this,t,Os,()=>{let n=this.intl==="ja"||this.intl.startsWith("ja-");r&=!n;let i=r?{month:t,day:"numeric"}:{month:t},a=r?"format":"standalone";if(!this.monthsCache[a][t]){let s=n?o=>this.dtFormatter(o,i).format():o=>this.extract(o,i,"month");this.monthsCache[a][t]=N0(s)}return this.monthsCache[a][t]})}weekdays(t,r=!1){return Mr(this,t,Ns,()=>{let n=r?{weekday:t,year:"numeric",month:"long",day:"numeric"}:{weekday:t},i=r?"format":"standalone";return this.weekdaysCache[i][t]||(this.weekdaysCache[i][t]=L0(a=>this.extract(a,n,"weekday"))),this.weekdaysCache[i][t]})}meridiems(){return Mr(this,void 0,()=>Ls,()=>{if(!this.meridiemCache){let t={hour:"numeric",hourCycle:"h12"};this.meridiemCache=[H.utc(2016,11,13,9),H.utc(2016,11,13,19)].map(r=>this.extract(r,t,"dayperiod"))}return this.meridiemCache})}eras(t){return Mr(this,t,Ts,()=>{let r={era:t};return this.eraCache[t]||(this.eraCache[t]=[H.utc(-40,1,1),H.utc(2017,1,1)].map(n=>this.extract(n,r,"era"))),this.eraCache[t]})}extract(t,r,n){let i=this.dtFormatter(t,r),a=i.formatToParts(),s=a.find(o=>o.type.toLowerCase()===n);return s?s.value:null}numberFormatter(t={}){return new P0(this.intl,t.forceSimple||this.fastNumbers,t)}dtFormatter(t,r={}){return new z0(t,this.intl,r)}relFormatter(t={}){return new j0(this.intl,this.isEnglish(),t)}listFormatter(t={}){return C0(this.intl,t)}isEnglish(){return this.locale==="en"||this.locale.toLowerCase()==="en-us"||ys(this.intl).locale.startsWith("en-us")}getWeekSettings(){return this.weekSettings?this.weekSettings:Cs()?O0(this.locale):vs}getStartOfWeek(){return this.getWeekSettings().firstDay}getMinDaysInFirstWeek(){return this.getWeekSettings().minimalDays}getWeekendDays(){return this.getWeekSettings().weekend}equals(t){return this.locale===t.locale&&this.numberingSystem===t.numberingSystem&&this.outputCalendar===t.outputCalendar}toString(){return`Locale(${this.locale}, ${this.numberingSystem}, ${this.outputCalendar})`}},Cn=null,Ye=class or extends Sr{static get utcInstance(){return Cn===null&&(Cn=new or(0)),Cn}static instance(t){return t===0?or.utcInstance:new or(t)}static parseSpecifier(t){if(t){let r=t.match(/^utc(?:([+-]\d{1,2})(?::(\d{2}))?)?$/i);if(r)return new or(hn(r[1],r[2]))}return null}constructor(t){super(),this.fixed=t}get type(){return"fixed"}get name(){return this.fixed===0?"UTC":`UTC${fr(this.fixed,"narrow")}`}get ianaName(){return this.fixed===0?"Etc/UTC":`Etc/GMT${fr(-this.fixed,"narrow")}`}offsetName(){return this.name}formatOffset(t,r){return fr(this.fixed,r)}get isUniversal(){return!0}offset(){return this.fixed}equals(t){return t.type==="fixed"&&t.fixed===this.fixed}get isValid(){return!0}},I0=class extends Sr{constructor(e){super(),this.zoneName=e}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 st(e,t){if(j(e)||e===null)return t;if(e instanceof Sr)return e;if(H0(e)){let r=e.toLowerCase();return r==="default"?t:r==="local"||r==="system"?gs.instance:r==="utc"||r==="gmt"?Ye.utcInstance:Ye.parseSpecifier(r)||Rt.create(e)}else return ut(e)?Ye.instance(e):typeof e=="object"&&"offset"in e&&typeof e.offset=="function"?e:new I0(e)}var wi={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"},ea={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]},R0=wi.hanidec.replace(/[\[|\]]/g,"").split("");function q0(e){let t=parseInt(e,10);if(isNaN(t)){t="";for(let r=0;r=a&&n<=s&&(t+=n-a)}}return parseInt(t,10)}else return t}var ei=new Map;function V0(){ei.clear()}function Ne({numberingSystem:e},t=""){let r=e||"latn",n=ei.get(r);n===void 0&&(n=new Map,ei.set(r,n));let i=n.get(t);return i===void 0&&(i=new RegExp(`${wi[r]}${t}`),n.set(t,i)),i}var ta=()=>Date.now(),ra="system",na=null,ia=null,aa=null,oa=60,sa,ua=null,K=class{static get now(){return ta}static set now(e){ta=e}static set defaultZone(e){ra=e}static get defaultZone(){return st(ra,gs.instance)}static get defaultLocale(){return na}static set defaultLocale(e){na=e}static get defaultNumberingSystem(){return ia}static set defaultNumberingSystem(e){ia=e}static get defaultOutputCalendar(){return aa}static set defaultOutputCalendar(e){aa=e}static get defaultWeekSettings(){return ua}static set defaultWeekSettings(e){ua=ti(e)}static get twoDigitCutoffYear(){return oa}static set twoDigitCutoffYear(e){oa=e%100}static get throwOnInvalid(){return sa}static set throwOnInvalid(e){sa=e}static resetCaches(){Z.resetCache(),Rt.resetCache(),H.resetCache(),V0()}},ze=class{constructor(e,t){this.reason=e,this.explanation=t}toMessage(){return this.explanation?`${this.reason}: ${this.explanation}`:this.reason}},ks=[0,31,59,90,120,151,181,212,243,273,304,334],xs=[0,31,60,91,121,152,182,213,244,274,305,335];function Ae(e,t){return new ze("unit out of range",`you specified ${t} (of type ${typeof t}) as a ${e}, which is invalid`)}function $i(e,t,r){let n=new Date(Date.UTC(e,t-1,r));e<100&&e>=0&&n.setUTCFullYear(n.getUTCFullYear()-1900);let i=n.getUTCDay();return i===0?7:i}function ws(e,t,r){return r+(Ar(e)?xs:ks)[t-1]}function $s(e,t){let r=Ar(e)?xs:ks,n=r.findIndex(a=>agr(n,t,r)?(c=n+1,u=1):c=n,{weekYear:c,weekNumber:u,weekday:o,...dn(e)}}function la(e,t=4,r=1){let{weekYear:n,weekNumber:i,weekday:a}=e,s=Ei($i(n,1,t),r),o=Ft(n),u=i*7+a-s-7+t,c;u<1?(c=n-1,u+=Ft(c)):u>o?(c=n+1,u-=Ft(n)):c=n;let{month:d,day:h}=$s(c,u);return{year:c,month:d,day:h,...dn(e)}}function _n(e){let{year:t,month:r,day:n}=e,i=ws(t,r,n);return{year:t,ordinal:i,...dn(e)}}function ca(e){let{year:t,ordinal:r}=e,{month:n,day:i}=$s(t,r);return{year:t,month:n,day:i,...dn(e)}}function ha(e,t){if(!j(e.localWeekday)||!j(e.localWeekNumber)||!j(e.localWeekYear)){if(!j(e.weekday)||!j(e.weekNumber)||!j(e.weekYear))throw new Ot("Cannot mix locale-based week fields with ISO-based week fields");return j(e.localWeekday)||(e.weekday=e.localWeekday),j(e.localWeekNumber)||(e.weekNumber=e.localWeekNumber),j(e.localWeekYear)||(e.weekYear=e.localWeekYear),delete e.localWeekday,delete e.localWeekNumber,delete e.localWeekYear,{minDaysInFirstWeek:t.getMinDaysInFirstWeek(),startOfWeek:t.getStartOfWeek()}}else return{minDaysInFirstWeek:4,startOfWeek:1}}function U0(e,t=4,r=1){let n=ln(e.weekYear),i=Ce(e.weekNumber,1,gr(e.weekYear,t,r)),a=Ce(e.weekday,1,7);return n?i?a?!1:Ae("weekday",e.weekday):Ae("week",e.weekNumber):Ae("weekYear",e.weekYear)}function W0(e){let t=ln(e.year),r=Ce(e.ordinal,1,Ft(e.year));return t?r?!1:Ae("ordinal",e.ordinal):Ae("year",e.year)}function Es(e){let t=ln(e.year),r=Ce(e.month,1,12),n=Ce(e.day,1,Kr(e.year,e.month));return t?r?n?!1:Ae("day",e.day):Ae("month",e.month):Ae("year",e.year)}function Ss(e){let{hour:t,minute:r,second:n,millisecond:i}=e,a=Ce(t,0,23)||t===24&&r===0&&n===0&&i===0,s=Ce(r,0,59),o=Ce(n,0,59),u=Ce(i,0,999);return a?s?o?u?!1:Ae("millisecond",i):Ae("second",n):Ae("minute",r):Ae("hour",t)}function j(e){return typeof e>"u"}function ut(e){return typeof e=="number"}function ln(e){return typeof e=="number"&&e%1===0}function H0(e){return typeof e=="string"}function Z0(e){return Object.prototype.toString.call(e)==="[object Date]"}function As(){try{return typeof Intl<"u"&&!!Intl.RelativeTimeFormat}catch{return!1}}function Cs(){try{return typeof Intl<"u"&&!!Intl.Locale&&("weekInfo"in Intl.Locale.prototype||"getWeekInfo"in Intl.Locale.prototype)}catch{return!1}}function Y0(e){return Array.isArray(e)?e:[e]}function da(e,t,r){if(e.length!==0)return e.reduce((n,i)=>{let a=[t(i),i];return n&&r(n[0],a[0])===n[0]?n:a},null)[1]}function G0(e,t){return t.reduce((r,n)=>(r[n]=e[n],r),{})}function Tt(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function ti(e){if(e==null)return null;if(typeof e!="object")throw new ce("Week settings must be an object");if(!Ce(e.firstDay,1,7)||!Ce(e.minimalDays,1,7)||!Array.isArray(e.weekend)||e.weekend.some(t=>!Ce(t,1,7)))throw new ce("Invalid week settings");return{firstDay:e.firstDay,minimalDays:e.minimalDays,weekend:Array.from(e.weekend)}}function Ce(e,t,r){return ln(e)&&e>=t&&e<=r}function J0(e,t){return e-t*Math.floor(e/t)}function ne(e,t=2){let r=e<0,n;return r?n="-"+(""+-e).padStart(t,"0"):n=(""+e).padStart(t,"0"),n}function ot(e){if(!(j(e)||e===null||e===""))return parseInt(e,10)}function pt(e){if(!(j(e)||e===null||e===""))return parseFloat(e)}function Si(e){if(!(j(e)||e===null||e==="")){let t=parseFloat("0."+e)*1e3;return Math.floor(t)}}function Ai(e,t,r="round"){let n=10**t;switch(r){case"expand":return e>0?Math.ceil(e*n)/n:Math.floor(e*n)/n;case"trunc":return Math.trunc(e*n)/n;case"round":return Math.round(e*n)/n;case"floor":return Math.floor(e*n)/n;case"ceil":return Math.ceil(e*n)/n;default:throw new RangeError(`Value rounding ${r} is out of range`)}}function Ar(e){return e%4===0&&(e%100!==0||e%400===0)}function Ft(e){return Ar(e)?366:365}function Kr(e,t){let r=J0(t-1,12)+1,n=e+(t-r)/12;return r===2?Ar(n)?29:28:[31,null,31,30,31,30,31,31,30,31,30,31][r-1]}function cn(e){let t=Date.UTC(e.year,e.month-1,e.day,e.hour,e.minute,e.second,e.millisecond);return e.year<100&&e.year>=0&&(t=new Date(t),t.setUTCFullYear(e.year,e.month-1,e.day)),+t}function pa(e,t,r){return-Ei($i(e,1,t),r)+t-1}function gr(e,t=4,r=1){let n=pa(e,t,r),i=pa(e+1,t,r);return(Ft(e)-n+i)/7}function ri(e){return e>99?e:e>K.twoDigitCutoffYear?1900+e:2e3+e}function _s(e,t,r,n=null){let i=new Date(e),a={hourCycle:"h23",year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit"};n&&(a.timeZone=n);let s={timeZoneName:t,...a},o=new Intl.DateTimeFormat(r,s).formatToParts(i).find(u=>u.type.toLowerCase()==="timezonename");return o?o.value:null}function hn(e,t){let r=parseInt(e,10);Number.isNaN(r)&&(r=0);let n=parseInt(t,10)||0,i=r<0||Object.is(r,-0)?-n:n;return r*60+i}function Ds(e){let t=Number(e);if(typeof e=="boolean"||e===""||!Number.isFinite(t))throw new ce(`Invalid unit value ${e}`);return t}function Xr(e,t){let r={};for(let n in e)if(Tt(e,n)){let i=e[n];if(i==null)continue;r[t(n)]=Ds(i)}return r}function fr(e,t){let r=Math.trunc(Math.abs(e/60)),n=Math.trunc(Math.abs(e%60)),i=e>=0?"+":"-";switch(t){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 ${t} is out of range for property format`)}}function dn(e){return G0(e,["hour","minute","second","millisecond"])}var K0=["January","February","March","April","May","June","July","August","September","October","November","December"],Bs=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],X0=["J","F","M","A","M","J","J","A","S","O","N","D"];function Os(e){switch(e){case"narrow":return[...X0];case"short":return[...Bs];case"long":return[...K0];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 Ms=["Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday"],Fs=["Mon","Tue","Wed","Thu","Fri","Sat","Sun"],Q0=["M","T","W","T","F","S","S"];function Ns(e){switch(e){case"narrow":return[...Q0];case"short":return[...Fs];case"long":return[...Ms];case"numeric":return["1","2","3","4","5","6","7"];default:return null}}var Ls=["AM","PM"],ec=["Before Christ","Anno Domini"],tc=["BC","AD"],rc=["B","A"];function Ts(e){switch(e){case"narrow":return[...rc];case"short":return[...tc];case"long":return[...ec];default:return null}}function nc(e){return Ls[e.hour<12?0:1]}function ic(e,t){return Ns(t)[e.weekday-1]}function ac(e,t){return Os(t)[e.month-1]}function oc(e,t){return Ts(t)[e.year<0?0:1]}function sc(e,t,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(e)===-1;if(r==="auto"&&a){let h=e==="days";switch(t){case 1:return h?"tomorrow":`next ${i[e][0]}`;case-1:return h?"yesterday":`last ${i[e][0]}`;case 0:return h?"today":`this ${i[e][0]}`}}let s=Object.is(t,-0)||t<0,o=Math.abs(t),u=o===1,c=i[e],d=n?u?c[1]:c[2]||c[1]:u?i[e][0]:e;return s?`${o} ${d} ago`:`in ${o} ${d}`}function fa(e,t){let r="";for(let n of e)n.literal?r+=n.val:r+=t(n.val);return r}var uc={D:Gr,DD:Ko,DDD:Xo,DDDD:Qo,t:es,tt:ts,ttt:rs,tttt:ns,T:is,TT:as,TTT:os,TTTT:ss,f:us,ff:cs,fff:ds,ffff:fs,F:ls,FF:hs,FFF:ps,FFFF:ms},Pe=class sr{static create(t,r={}){return new sr(t,r)}static parseFormat(t){let r=null,n="",i=!1,a=[];for(let s=0;s0||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(t){return uc[t]}constructor(t,r){this.opts=r,this.loc=t,this.systemLoc=null}formatWithSystemDefault(t,r){return this.systemLoc===null&&(this.systemLoc=this.loc.redefaultToSystem()),this.systemLoc.dtFormatter(t,{...this.opts,...r}).format()}dtFormatter(t,r={}){return this.loc.dtFormatter(t,{...this.opts,...r})}formatDateTime(t,r){return this.dtFormatter(t,r).format()}formatDateTimeParts(t,r){return this.dtFormatter(t,r).formatToParts()}formatInterval(t,r){return this.dtFormatter(t.start,r).dtf.formatRange(t.start.toJSDate(),t.end.toJSDate())}resolvedOptions(t,r){return this.dtFormatter(t,r).resolvedOptions()}num(t,r=0,n=void 0){if(this.opts.forceSimple)return ne(t,r);let i={...this.opts};return r>0&&(i.padTo=r),n&&(i.signDisplay=n),this.loc.numberFormatter(i).format(t)}formatDateTimeFromString(t,r){let n=this.loc.listingMode()==="en",i=this.loc.outputCalendar&&this.loc.outputCalendar!=="gregory",a=(l,m)=>this.loc.extract(t,l,m),s=l=>t.isOffsetFixed&&t.offset===0&&l.allowZ?"Z":t.isValid?t.zone.formatOffset(t.ts,l.format):"",o=()=>n?nc(t):a({hour:"numeric",hourCycle:"h12"},"dayperiod"),u=(l,m)=>n?ac(t,l):a(m?{month:l}:{month:l,day:"numeric"},"month"),c=(l,m)=>n?ic(t,l):a(m?{weekday:l}:{weekday:l,month:"long",day:"numeric"},"weekday"),d=l=>{let m=sr.macroTokenToFormatOpts(l);return m?this.formatWithSystemDefault(t,m):l},h=l=>n?oc(t,l):a({era:l},"era"),p=l=>{switch(l){case"S":return this.num(t.millisecond);case"u":case"SSS":return this.num(t.millisecond,3);case"s":return this.num(t.second);case"ss":return this.num(t.second,2);case"uu":return this.num(Math.floor(t.millisecond/10),2);case"uuu":return this.num(Math.floor(t.millisecond/100));case"m":return this.num(t.minute);case"mm":return this.num(t.minute,2);case"h":return this.num(t.hour%12===0?12:t.hour%12);case"hh":return this.num(t.hour%12===0?12:t.hour%12,2);case"H":return this.num(t.hour);case"HH":return this.num(t.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 t.zone.offsetName(t.ts,{format:"short",locale:this.loc.locale});case"ZZZZZ":return t.zone.offsetName(t.ts,{format:"long",locale:this.loc.locale});case"z":return t.zoneName;case"a":return o();case"d":return i?a({day:"numeric"},"day"):this.num(t.day);case"dd":return i?a({day:"2-digit"},"day"):this.num(t.day,2);case"c":return this.num(t.weekday);case"ccc":return c("short",!0);case"cccc":return c("long",!0);case"ccccc":return c("narrow",!0);case"E":return this.num(t.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(t.month);case"LL":return i?a({month:"2-digit",day:"numeric"},"month"):this.num(t.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(t.month);case"MM":return i?a({month:"2-digit"},"month"):this.num(t.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(t.year);case"yy":return i?a({year:"2-digit"},"year"):this.num(t.year.toString().slice(-2),2);case"yyyy":return i?a({year:"numeric"},"year"):this.num(t.year,4);case"yyyyyy":return i?a({year:"numeric"},"year"):this.num(t.year,6);case"G":return h("short");case"GG":return h("long");case"GGGGG":return h("narrow");case"kk":return this.num(t.weekYear.toString().slice(-2),2);case"kkkk":return this.num(t.weekYear,4);case"W":return this.num(t.weekNumber);case"WW":return this.num(t.weekNumber,2);case"n":return this.num(t.localWeekNumber);case"nn":return this.num(t.localWeekNumber,2);case"ii":return this.num(t.localWeekYear.toString().slice(-2),2);case"iiii":return this.num(t.localWeekYear,4);case"o":return this.num(t.ordinal);case"ooo":return this.num(t.ordinal,3);case"q":return this.num(t.quarter);case"qq":return this.num(t.quarter,2);case"X":return this.num(Math.floor(t.ts/1e3));case"x":return this.num(t.ts);default:return d(l)}};return fa(sr.parseFormat(r),p)}formatDurationFromString(t,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=sr.parseFormat(r),o=s.reduce((d,{literal:h,val:p})=>h?d:d.concat(p),[]),u=t.shiftTo(...o.map(i).filter(d=>d)),c={isNegativeDuration:u<0,largestUnit:Object.keys(u.values)[0]};return fa(s,a(u,c))}},Ps=/[A-Za-z_+-]{1,256}(?::?\/[A-Za-z0-9_+-]{1,256}(?:\/[A-Za-z0-9_+-]{1,256})?)?/;function qt(...e){let t=e.reduce((r,n)=>r+n.source,"");return RegExp(`^${t}$`)}function Vt(...e){return t=>e.reduce(([r,n,i],a)=>{let[s,o,u]=a(t,i);return[{...r,...s},o||n,u]},[{},null,1]).slice(0,2)}function Ut(e,...t){if(e==null)return[null,null];for(let[r,n]of t){let i=r.exec(e);if(i)return n(i)}return[null,null]}function zs(...e){return(t,r)=>{let n={},i;for(i=0;il!==void 0&&(m||l&&d)?-l:l;return[{years:p(pt(r)),months:p(pt(n)),weeks:p(pt(i)),days:p(pt(a)),hours:p(pt(s)),minutes:p(pt(o)),seconds:p(pt(u),u==="-0"),milliseconds:p(Si(c),h)}]}var xc={GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function Di(e,t,r,n,i,a,s){let o={year:t.length===2?ri(ot(t)):ot(t),month:Bs.indexOf(r)+1,day:ot(n),hour:ot(i),minute:ot(a)};return s&&(o.second=ot(s)),e&&(o.weekday=e.length>3?Ms.indexOf(e)+1:Fs.indexOf(e)+1),o}var wc=/^(?:(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 $c(e){let[,t,r,n,i,a,s,o,u,c,d,h]=e,p=Di(t,i,n,r,a,s,o),l;return u?l=xc[u]:c?l=0:l=hn(d,h),[p,new Ye(l)]}function Ec(e){return e.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").trim()}var Sc=/^(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$/,Ac=/^(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$/,Cc=/^(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 ma(e){let[,t,r,n,i,a,s,o]=e;return[Di(t,i,n,r,a,s,o),Ye.utcInstance]}function _c(e){let[,t,r,n,i,a,s,o]=e;return[Di(t,o,r,n,i,a,s),Ye.utcInstance]}var Dc=qt(cc,_i),Bc=qt(hc,_i),Oc=qt(dc,_i),Mc=qt(Is),qs=Vt(bc,Wt,Cr,_r),Fc=Vt(pc,Wt,Cr,_r),Nc=Vt(fc,Wt,Cr,_r),Lc=Vt(Wt,Cr,_r);function Tc(e){return Ut(e,[Dc,qs],[Bc,Fc],[Oc,Nc],[Mc,Lc])}function Pc(e){return Ut(Ec(e),[wc,$c])}function zc(e){return Ut(e,[Sc,ma],[Ac,ma],[Cc,_c])}function jc(e){return Ut(e,[vc,kc])}var Ic=Vt(Wt);function Rc(e){return Ut(e,[yc,Ic])}var qc=qt(mc,gc),Vc=qt(Rs),Uc=Vt(Wt,Cr,_r);function Wc(e){return Ut(e,[qc,qs],[Vc,Uc])}var ga="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}},Hc={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},Se=146097/400,Et=146097/4800,Zc={years:{quarters:4,months:12,weeks:Se/7,days:Se,hours:Se*24,minutes:Se*24*60,seconds:Se*24*60*60,milliseconds:Se*24*60*60*1e3},quarters:{months:3,weeks:Se/28,days:Se/4,hours:Se*24/4,minutes:Se*24*60/4,seconds:Se*24*60*60/4,milliseconds:Se*24*60*60*1e3/4},months:{weeks:Et/7,days:Et,hours:Et*24,minutes:Et*24*60,seconds:Et*24*60*60,milliseconds:Et*24*60*60*1e3},...Vs},mt=["years","quarters","months","weeks","days","hours","minutes","seconds","milliseconds"],Yc=mt.slice(0).reverse();function Ge(e,t,r=!1){let n={values:r?t.values:{...e.values,...t.values||{}},loc:e.loc.clone(t.loc),conversionAccuracy:t.conversionAccuracy||e.conversionAccuracy,matrix:t.matrix||e.matrix};return new he(n)}function Us(e,t){let r=t.milliseconds??0;for(let n of Yc.slice(1))t[n]&&(r+=t[n]*e[n].milliseconds);return r}function ba(e,t){let r=Us(e,t)<0?-1:1;mt.reduceRight((n,i)=>{if(j(t[i]))return n;if(n){let a=t[n]*r,s=e[i][n],o=Math.floor(a/s);t[i]+=o*r,t[n]-=o*s*r}return i},null),mt.reduce((n,i)=>{if(j(t[i]))return n;if(n){let a=t[n]%1;t[n]-=a,t[i]+=a*e[n][i]}return i},null)}function ya(e){let t={};for(let[r,n]of Object.entries(e))n!==0&&(t[r]=n);return t}var he=class ue{constructor(t){let r=t.conversionAccuracy==="longterm"||!1,n=r?Zc:Hc;t.matrix&&(n=t.matrix),this.values=t.values,this.loc=t.loc||Z.create(),this.conversionAccuracy=r?"longterm":"casual",this.invalid=t.invalid||null,this.matrix=n,this.isLuxonDuration=!0}static fromMillis(t,r){return ue.fromObject({milliseconds:t},r)}static fromObject(t,r={}){if(t==null||typeof t!="object")throw new ce(`Duration.fromObject: argument expected to be an object, got ${t===null?"null":typeof t}`);return new ue({values:Xr(t,ue.normalizeUnit),loc:Z.fromObject(r),conversionAccuracy:r.conversionAccuracy,matrix:r.matrix})}static fromDurationLike(t){if(ut(t))return ue.fromMillis(t);if(ue.isDuration(t))return t;if(typeof t=="object")return ue.fromObject(t);throw new ce(`Unknown duration argument ${t} of type ${typeof t}`)}static fromISO(t,r){let[n]=jc(t);return n?ue.fromObject(n,r):ue.invalid("unparsable",`the input "${t}" can't be parsed as ISO 8601`)}static fromISOTime(t,r){let[n]=Rc(t);return n?ue.fromObject(n,r):ue.invalid("unparsable",`the input "${t}" can't be parsed as ISO 8601`)}static invalid(t,r=null){if(!t)throw new ce("need to specify a reason the Duration is invalid");let n=t instanceof ze?t:new ze(t,r);if(K.throwOnInvalid)throw new k0(n);return new ue({invalid:n})}static normalizeUnit(t){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"}[t&&t.toLowerCase()];if(!r)throw new Jo(t);return r}static isDuration(t){return t&&t.isLuxonDuration||!1}get locale(){return this.isValid?this.loc.locale:null}get numberingSystem(){return this.isValid?this.loc.numberingSystem:null}toFormat(t,r={}){let n={...r,floor:r.round!==!1&&r.floor!==!1};return this.isValid?Pe.create(this.loc,n).formatDurationFromString(this,t):ga}toHuman(t={}){if(!this.isValid)return ga;let r=t.showZeros!==!1,n=mt.map(i=>{let a=this.values[i];return j(a)||a===0&&!r?null:this.loc.numberFormatter({style:"unit",unitDisplay:"long",...t,unit:i.slice(0,-1)}).format(a)}).filter(i=>i);return this.loc.listFormatter({type:"conjunction",style:t.listStyle||"narrow",...t}).format(n)}toObject(){return this.isValid?{...this.values}:{}}toISO(){if(!this.isValid)return null;let t="P";return this.years!==0&&(t+=this.years+"Y"),(this.months!==0||this.quarters!==0)&&(t+=this.months+this.quarters*3+"M"),this.weeks!==0&&(t+=this.weeks+"W"),this.days!==0&&(t+=this.days+"D"),(this.hours!==0||this.minutes!==0||this.seconds!==0||this.milliseconds!==0)&&(t+="T"),this.hours!==0&&(t+=this.hours+"H"),this.minutes!==0&&(t+=this.minutes+"M"),(this.seconds!==0||this.milliseconds!==0)&&(t+=Ai(this.seconds+this.milliseconds/1e3,3)+"S"),t==="P"&&(t+="T0S"),t}toISOTime(t={}){if(!this.isValid)return null;let r=this.toMillis();return r<0||r>=864e5?null:(t={suppressMilliseconds:!1,suppressSeconds:!1,includePrefix:!1,format:"extended",...t,includeOffset:!1},H.fromMillis(r,{zone:"UTC"}).toISOTime(t))}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?Us(this.matrix,this.values):NaN}valueOf(){return this.toMillis()}plus(t){if(!this.isValid)return this;let r=ue.fromDurationLike(t),n={};for(let i of mt)(Tt(r.values,i)||Tt(this.values,i))&&(n[i]=r.get(i)+this.get(i));return Ge(this,{values:n},!0)}minus(t){if(!this.isValid)return this;let r=ue.fromDurationLike(t);return this.plus(r.negate())}mapUnits(t){if(!this.isValid)return this;let r={};for(let n of Object.keys(this.values))r[n]=Ds(t(this.values[n],n));return Ge(this,{values:r},!0)}get(t){return this[ue.normalizeUnit(t)]}set(t){if(!this.isValid)return this;let r={...this.values,...Xr(t,ue.normalizeUnit)};return Ge(this,{values:r})}reconfigure({locale:t,numberingSystem:r,conversionAccuracy:n,matrix:i}={}){let a={loc:this.loc.clone({locale:t,numberingSystem:r}),matrix:i,conversionAccuracy:n};return Ge(this,a)}as(t){return this.isValid?this.shiftTo(t).get(t):NaN}normalize(){if(!this.isValid)return this;let t=this.toObject();return ba(this.matrix,t),Ge(this,{values:t},!0)}rescale(){if(!this.isValid)return this;let t=ya(this.normalize().shiftToAll().toObject());return Ge(this,{values:t},!0)}shiftTo(...t){if(!this.isValid)return this;if(t.length===0)return this;t=t.map(s=>ue.normalizeUnit(s));let r={},n={},i=this.toObject(),a;for(let s of mt)if(t.indexOf(s)>=0){a=s;let o=0;for(let c in n)o+=this.matrix[c][s]*n[c],n[c]=0;ut(i[s])&&(o+=i[s]);let u=Math.trunc(o);r[s]=u,n[s]=(o*1e3-u*1e3)/1e3}else ut(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 ba(this.matrix,r),Ge(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 t={};for(let r of Object.keys(this.values))t[r]=this.values[r]===0?0:-this.values[r];return Ge(this,{values:t},!0)}removeZeros(){if(!this.isValid)return this;let t=ya(this.values);return Ge(this,{values:t},!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(t){if(!this.isValid||!t.isValid||!this.loc.equals(t.loc))return!1;function r(n,i){return n===void 0||n===0?i===void 0||i===0:n===i}for(let n of mt)if(!r(this.values[n],t.values[n]))return!1;return!0}},St="Invalid Interval";function Gc(e,t){return!e||!e.isValid?Vr.invalid("missing or invalid start"):!t||!t.isValid?Vr.invalid("missing or invalid end"):tt:!1}isBefore(t){return this.isValid?this.e<=t:!1}contains(t){return this.isValid?this.s<=t&&this.e>t:!1}set({start:t,end:r}={}){return this.isValid?ae.fromDateTimes(t||this.s,r||this.e):this}splitAt(...t){if(!this.isValid)return[];let r=t.map(Jt).filter(s=>this.contains(s)).sort((s,o)=>s.toMillis()-o.toMillis()),n=[],{s:i}=this,a=0;for(;i+this.e?this.e:s;n.push(ae.fromDateTimes(i,o)),i=o,a+=1}return n}splitBy(t){let r=he.fromDurationLike(t);if(!this.isValid||!r.isValid||r.as("milliseconds")===0)return[];let{s:n}=this,i=1,a,s=[];for(;nu*i));a=+o>+this.e?this.e:o,s.push(ae.fromDateTimes(n,a)),n=a,i+=1}return s}divideEqually(t){return this.isValid?this.splitBy(this.length()/t).slice(0,t):[]}overlaps(t){return this.e>t.s&&this.s=t.e:!1}equals(t){return!this.isValid||!t.isValid?!1:this.s.equals(t.s)&&this.e.equals(t.e)}intersection(t){if(!this.isValid)return this;let r=this.s>t.s?this.s:t.s,n=this.e=n?null:ae.fromDateTimes(r,n)}union(t){if(!this.isValid)return this;let r=this.st.e?this.e:t.e;return ae.fromDateTimes(r,n)}static merge(t){let[r,n]=t.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(t){let r=null,n=0,i=[],a=t.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(ae.fromDateTimes(r,u.time)),r=null);return ae.merge(i)}difference(...t){return ae.xor([this].concat(t)).map(r=>this.intersection(r)).filter(r=>r&&!r.isEmpty())}toString(){return this.isValid?`[${this.s.toISO()} \u2013 ${this.e.toISO()})`:St}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`Interval { start: ${this.s.toISO()}, end: ${this.e.toISO()} }`:`Interval { Invalid, reason: ${this.invalidReason} }`}toLocaleString(t=Gr,r={}){return this.isValid?Pe.create(this.s.loc.clone(r),t).formatInterval(this):St}toISO(t){return this.isValid?`${this.s.toISO(t)}/${this.e.toISO(t)}`:St}toISODate(){return this.isValid?`${this.s.toISODate()}/${this.e.toISODate()}`:St}toISOTime(t){return this.isValid?`${this.s.toISOTime(t)}/${this.e.toISOTime(t)}`:St}toFormat(t,{separator:r=" \u2013 "}={}){return this.isValid?`${this.s.toFormat(t)}${r}${this.e.toFormat(t)}`:St}toDuration(t,r){return this.isValid?this.e.diff(this.s,t,r):he.invalid(this.invalidReason)}mapEndpoints(t){return ae.fromDateTimes(t(this.s),t(this.e))}},Fr=class{static hasDST(e=K.defaultZone){let t=H.now().setZone(e).set({month:12});return!e.isUniversal&&t.offset!==t.set({month:6}).offset}static isValidIANAZone(e){return Rt.isValidZone(e)}static normalizeZone(e){return st(e,K.defaultZone)}static getStartOfWeek({locale:e=null,locObj:t=null}={}){return(t||Z.create(e)).getStartOfWeek()}static getMinimumDaysInFirstWeek({locale:e=null,locObj:t=null}={}){return(t||Z.create(e)).getMinDaysInFirstWeek()}static getWeekendWeekdays({locale:e=null,locObj:t=null}={}){return(t||Z.create(e)).getWeekendDays().slice()}static months(e="long",{locale:t=null,numberingSystem:r=null,locObj:n=null,outputCalendar:i="gregory"}={}){return(n||Z.create(t,r,i)).months(e)}static monthsFormat(e="long",{locale:t=null,numberingSystem:r=null,locObj:n=null,outputCalendar:i="gregory"}={}){return(n||Z.create(t,r,i)).months(e,!0)}static weekdays(e="long",{locale:t=null,numberingSystem:r=null,locObj:n=null}={}){return(n||Z.create(t,r,null)).weekdays(e)}static weekdaysFormat(e="long",{locale:t=null,numberingSystem:r=null,locObj:n=null}={}){return(n||Z.create(t,r,null)).weekdays(e,!0)}static meridiems({locale:e=null}={}){return Z.create(e).meridiems()}static eras(e="short",{locale:t=null}={}){return Z.create(t,null,"gregory").eras(e)}static features(){return{relative:As(),localeWeek:Cs()}}};function va(e,t){let r=i=>i.toUTC(0,{keepLocalTime:!0}).startOf("day").valueOf(),n=r(t)-r(e);return Math.floor(he.fromMillis(n).as("days"))}function Jc(e,t,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=va(u,c);return(d-d%7)/7}],["days",va]],i={},a=e,s,o;for(let[u,c]of n)r.indexOf(u)>=0&&(s=u,i[u]=c(e,t),o=a.plus(i),o>t?(i[u]--,e=a.plus(i),e>t&&(o=e,i[u]--,e=a.plus(i))):e=o);return[e,i,o,s]}function Kc(e,t,r,n){let[i,a,s,o]=Jc(e,t,r),u=t-i,c=r.filter(h=>["hours","minutes","seconds","milliseconds"].indexOf(h)>=0);c.length===0&&(s0?he.fromMillis(u,n).shiftTo(...c).plus(d):d}var Xc="missing Intl.DateTimeFormat.formatToParts support";function W(e,t=r=>r){return{regex:e,deser:([r])=>t(q0(r))}}var Qc="\xA0",Ws=`[ ${Qc}]`,Hs=new RegExp(Ws,"g");function eh(e){return e.replace(/\./g,"\\.?").replace(Hs,Ws)}function ka(e){return e.replace(/\./g,"").replace(Hs," ").toLowerCase()}function Le(e,t){return e===null?null:{regex:RegExp(e.map(eh).join("|")),deser:([r])=>e.findIndex(n=>ka(r)===ka(n))+t}}function xa(e,t){return{regex:e,deser:([,r,n])=>hn(r,n),groups:t}}function Nr(e){return{regex:e,deser:([t])=>t}}function th(e){return e.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&")}function rh(e,t){let r=Ne(t),n=Ne(t,"{2}"),i=Ne(t,"{3}"),a=Ne(t,"{4}"),s=Ne(t,"{6}"),o=Ne(t,"{1,2}"),u=Ne(t,"{1,3}"),c=Ne(t,"{1,6}"),d=Ne(t,"{1,9}"),h=Ne(t,"{2,4}"),p=Ne(t,"{4,6}"),l=f=>({regex:RegExp(th(f.val)),deser:([g])=>g,literal:!0}),m=(f=>{if(e.literal)return l(f);switch(f.val){case"G":return Le(t.eras("short"),0);case"GG":return Le(t.eras("long"),0);case"y":return W(c);case"yy":return W(h,ri);case"yyyy":return W(a);case"yyyyy":return W(p);case"yyyyyy":return W(s);case"M":return W(o);case"MM":return W(n);case"MMM":return Le(t.months("short",!0),1);case"MMMM":return Le(t.months("long",!0),1);case"L":return W(o);case"LL":return W(n);case"LLL":return Le(t.months("short",!1),1);case"LLLL":return Le(t.months("long",!1),1);case"d":return W(o);case"dd":return W(n);case"o":return W(u);case"ooo":return W(i);case"HH":return W(n);case"H":return W(o);case"hh":return W(n);case"h":return W(o);case"mm":return W(n);case"m":return W(o);case"q":return W(o);case"qq":return W(n);case"s":return W(o);case"ss":return W(n);case"S":return W(u);case"SSS":return W(i);case"u":return Nr(d);case"uu":return Nr(o);case"uuu":return W(r);case"a":return Le(t.meridiems(),0);case"kkkk":return W(a);case"kk":return W(h,ri);case"W":return W(o);case"WW":return W(n);case"E":case"c":return W(r);case"EEE":return Le(t.weekdays("short",!1),1);case"EEEE":return Le(t.weekdays("long",!1),1);case"ccc":return Le(t.weekdays("short",!0),1);case"cccc":return Le(t.weekdays("long",!0),1);case"Z":case"ZZ":return xa(new RegExp(`([+-]${o.source})(?::(${n.source}))?`),2);case"ZZZ":return xa(new RegExp(`([+-]${o.source})(${n.source})?`),2);case"z":return Nr(/[a-z_+-/]{1,256}?/i);case" ":return Nr(/[^\S\n\r]/);default:return l(f)}})(e)||{invalidReason:Xc};return m.token=e,m}var nh={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 ih(e,t,r){let{type:n,value:i}=e;if(n==="literal"){let u=/^\s+$/.test(i);return{literal:!u,val:u?" ":i}}let a=t[n],s=n;n==="hour"&&(t.hour12!=null?s=t.hour12?"hour12":"hour24":t.hourCycle!=null?t.hourCycle==="h11"||t.hourCycle==="h12"?s="hour12":s="hour24":s=r.hour12?"hour12":"hour24");let o=nh[s];if(typeof o=="object"&&(o=o[a]),o)return{literal:!1,val:o}}function ah(e){return[`^${e.map(t=>t.regex).reduce((t,r)=>`${t}(${r.source})`,"")}$`,e]}function oh(e,t,r){let n=e.match(t);if(n){let i={},a=1;for(let s in r)if(Tt(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 sh(e){let t=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 j(e.z)||(r=Rt.create(e.z)),j(e.Z)||(r||(r=new Ye(e.Z)),n=e.Z),j(e.q)||(e.M=(e.q-1)*3+1),j(e.h)||(e.h<12&&e.a===1?e.h+=12:e.h===12&&e.a===0&&(e.h=0)),e.G===0&&e.y&&(e.y=-e.y),j(e.u)||(e.S=Si(e.u)),[Object.keys(e).reduce((i,a)=>{let s=t(a);return s&&(i[s]=e[a]),i},{}),r,n]}var Dn=null;function uh(){return Dn||(Dn=H.fromMillis(1555555555555)),Dn}function lh(e,t){if(e.literal)return e;let r=Pe.macroTokenToFormatOpts(e.val),n=Js(r,t);return n==null||n.includes(void 0)?e:n}function Zs(e,t){return Array.prototype.concat(...e.map(r=>lh(r,t)))}var Ys=class{constructor(e,t){if(this.locale=e,this.format=t,this.tokens=Zs(Pe.parseFormat(t),e),this.units=this.tokens.map(r=>rh(r,e)),this.disqualifyingUnit=this.units.find(r=>r.invalidReason),!this.disqualifyingUnit){let[r,n]=ah(this.units);this.regex=RegExp(r,"i"),this.handlers=n}}explainFromTokens(e){if(this.isValid){let[t,r]=oh(e,this.regex,this.handlers),[n,i,a]=r?sh(r):[null,null,void 0];if(Tt(r,"a")&&Tt(r,"H"))throw new Ot("Can't include meridiem when specifying 24-hour format");return{input:e,tokens:this.tokens,regex:this.regex,rawMatches:t,matches:r,result:n,zone:i,specificOffset:a}}else return{input:e,tokens:this.tokens,invalidReason:this.invalidReason}}get isValid(){return!this.disqualifyingUnit}get invalidReason(){return this.disqualifyingUnit?this.disqualifyingUnit.invalidReason:null}};function Gs(e,t,r){return new Ys(e,r).explainFromTokens(t)}function ch(e,t,r){let{result:n,zone:i,specificOffset:a,invalidReason:s}=Gs(e,t,r);return[n,i,a,s]}function Js(e,t){if(!e)return null;let r=Pe.create(t,e).dtFormatter(uh()),n=r.formatToParts(),i=r.resolvedOptions();return n.map(a=>ih(a,e,i))}var Bn="Invalid DateTime",wa=864e13;function ur(e){return new ze("unsupported zone",`the zone "${e.name}" is not supported`)}function On(e){return e.weekData===null&&(e.weekData=Jr(e.c)),e.weekData}function Mn(e){return e.localWeekData===null&&(e.localWeekData=Jr(e.c,e.loc.getMinDaysInFirstWeek(),e.loc.getStartOfWeek())),e.localWeekData}function ft(e,t){let r={ts:e.ts,zone:e.zone,c:e.c,o:e.o,loc:e.loc,invalid:e.invalid};return new H({...r,...t,old:r})}function Ks(e,t,r){let n=e-t*60*1e3,i=r.offset(n);if(t===i)return[n,t];n-=(i-t)*60*1e3;let a=r.offset(n);return i===a?[n,i]:[e-Math.min(i,a)*60*1e3,Math.max(i,a)]}function Lr(e,t){e+=t*60*1e3;let r=new Date(e);return{year:r.getUTCFullYear(),month:r.getUTCMonth()+1,day:r.getUTCDate(),hour:r.getUTCHours(),minute:r.getUTCMinutes(),second:r.getUTCSeconds(),millisecond:r.getUTCMilliseconds()}}function Ur(e,t,r){return Ks(cn(e),t,r)}function $a(e,t){let r=e.o,n=e.c.year+Math.trunc(t.years),i=e.c.month+Math.trunc(t.months)+Math.trunc(t.quarters)*3,a={...e.c,year:n,month:i,day:Math.min(e.c.day,Kr(n,i))+Math.trunc(t.days)+Math.trunc(t.weeks)*7},s=he.fromObject({years:t.years-Math.trunc(t.years),quarters:t.quarters-Math.trunc(t.quarters),months:t.months-Math.trunc(t.months),weeks:t.weeks-Math.trunc(t.weeks),days:t.days-Math.trunc(t.days),hours:t.hours,minutes:t.minutes,seconds:t.seconds,milliseconds:t.milliseconds}).as("milliseconds"),o=cn(a),[u,c]=Ks(o,r,e.zone);return s!==0&&(u+=s,c=e.zone.offset(u)),{ts:u,o:c}}function At(e,t,r,n,i,a){let{setZone:s,zone:o}=r;if(e&&Object.keys(e).length!==0||t){let u=t||o,c=H.fromObject(e,{...r,zone:u,specificOffset:a});return s?c:c.setZone(o)}else return H.invalid(new ze("unparsable",`the input "${i}" can't be parsed as ${n}`))}function Tr(e,t,r=!0){return e.isValid?Pe.create(Z.create("en-US"),{allowZ:r,forceSimple:!0}).formatDateTimeFromString(e,t):null}function Fn(e,t,r){let n=e.c.year>9999||e.c.year<0,i="";if(n&&e.c.year>=0&&(i+="+"),i+=ne(e.c.year,n?6:4),r==="year")return i;if(t){if(i+="-",i+=ne(e.c.month),r==="month")return i;i+="-"}else if(i+=ne(e.c.month),r==="month")return i;return i+=ne(e.c.day),i}function Ea(e,t,r,n,i,a,s){let o=!r||e.c.millisecond!==0||e.c.second!==0,u="";switch(s){case"day":case"month":case"year":break;default:if(u+=ne(e.c.hour),s==="hour")break;if(t){if(u+=":",u+=ne(e.c.minute),s==="minute")break;o&&(u+=":",u+=ne(e.c.second))}else{if(u+=ne(e.c.minute),s==="minute")break;o&&(u+=ne(e.c.second))}if(s==="second")break;o&&(!n||e.c.millisecond!==0)&&(u+=".",u+=ne(e.c.millisecond,3))}return i&&(e.isOffsetFixed&&e.offset===0&&!a?u+="Z":e.o<0?(u+="-",u+=ne(Math.trunc(-e.o/60)),u+=":",u+=ne(Math.trunc(-e.o%60))):(u+="+",u+=ne(Math.trunc(e.o/60)),u+=":",u+=ne(Math.trunc(e.o%60)))),a&&(u+="["+e.zone.ianaName+"]"),u}var Xs={month:1,day:1,hour:0,minute:0,second:0,millisecond:0},hh={weekNumber:1,weekday:1,hour:0,minute:0,second:0,millisecond:0},dh={ordinal:1,hour:0,minute:0,second:0,millisecond:0},Wr=["year","month","day","hour","minute","second","millisecond"],ph=["weekYear","weekNumber","weekday","hour","minute","second","millisecond"],fh=["year","ordinal","hour","minute","second","millisecond"];function Hr(e){let t={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"}[e.toLowerCase()];if(!t)throw new Jo(e);return t}function Sa(e){switch(e.toLowerCase()){case"localweekday":case"localweekdays":return"localWeekday";case"localweeknumber":case"localweeknumbers":return"localWeekNumber";case"localweekyear":case"localweekyears":return"localWeekYear";default:return Hr(e)}}function mh(e){if(lr===void 0&&(lr=K.now()),e.type!=="iana")return e.offset(lr);let t=e.name,r=ni.get(t);return r===void 0&&(r=e.offset(lr),ni.set(t,r)),r}function Aa(e,t){let r=st(t.zone,K.defaultZone);if(!r.isValid)return H.invalid(ur(r));let n=Z.fromObject(t),i,a;if(j(e.year))i=K.now();else{for(let u of Wr)j(e[u])&&(e[u]=Xs[u]);let s=Es(e)||Ss(e);if(s)return H.invalid(s);let o=mh(r);[i,a]=Ur(e,o,r)}return new H({ts:i,zone:r,loc:n,o:a})}function Ca(e,t,r){let n=j(r.round)?!0:r.round,i=j(r.rounding)?"trunc":r.rounding,a=(o,u)=>(o=Ai(o,n||r.calendary?0:2,r.calendary?"round":i),t.loc.clone(r).relFormatter(r).format(o,u)),s=o=>r.calendary?t.hasSame(e,o)?0:t.startOf(o).diff(e.startOf(o),o).get(o):t.diff(e,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(e>t?-0:0,r.units[r.units.length-1])}function _a(e){let t={},r;return e.length>0&&typeof e[e.length-1]=="object"?(t=e[e.length-1],r=Array.from(e).slice(0,e.length-1)):r=Array.from(e),[t,r]}var lr,ni=new Map,H=class G{constructor(t){let r=t.zone||K.defaultZone,n=t.invalid||(Number.isNaN(t.ts)?new ze("invalid input"):null)||(r.isValid?null:ur(r));this.ts=j(t.ts)?K.now():t.ts;let i=null,a=null;if(!n)if(t.old&&t.old.ts===this.ts&&t.old.zone.equals(r))[i,a]=[t.old.c,t.old.o];else{let s=ut(t.o)&&!t.old?t.o:r.offset(this.ts);i=Lr(this.ts,s),n=Number.isNaN(i.year)?new ze("invalid input"):null,i=n?null:i,a=n?null:s}this._zone=r,this.loc=t.loc||Z.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[t,r]=_a(arguments),[n,i,a,s,o,u,c]=r;return Aa({year:n,month:i,day:a,hour:s,minute:o,second:u,millisecond:c},t)}static utc(){let[t,r]=_a(arguments),[n,i,a,s,o,u,c]=r;return t.zone=Ye.utcInstance,Aa({year:n,month:i,day:a,hour:s,minute:o,second:u,millisecond:c},t)}static fromJSDate(t,r={}){let n=Z0(t)?t.valueOf():NaN;if(Number.isNaN(n))return G.invalid("invalid input");let i=st(r.zone,K.defaultZone);return i.isValid?new G({ts:n,zone:i,loc:Z.fromObject(r)}):G.invalid(ur(i))}static fromMillis(t,r={}){if(ut(t))return t<-wa||t>wa?G.invalid("Timestamp out of range"):new G({ts:t,zone:st(r.zone,K.defaultZone),loc:Z.fromObject(r)});throw new ce(`fromMillis requires a numerical input, but received a ${typeof t} with value ${t}`)}static fromSeconds(t,r={}){if(ut(t))return new G({ts:t*1e3,zone:st(r.zone,K.defaultZone),loc:Z.fromObject(r)});throw new ce("fromSeconds requires a numerical input")}static fromObject(t,r={}){t=t||{};let n=st(r.zone,K.defaultZone);if(!n.isValid)return G.invalid(ur(n));let i=Z.fromObject(r),a=Xr(t,Sa),{minDaysInFirstWeek:s,startOfWeek:o}=ha(a,i),u=K.now(),c=j(r.specificOffset)?n.offset(u):r.specificOffset,d=!j(a.ordinal),h=!j(a.year),p=!j(a.month)||!j(a.day),l=h||p,m=a.weekYear||a.weekNumber;if((l||d)&&m)throw new Ot("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(p&&d)throw new Ot("Can't mix ordinal dates with month/day");let f=m||a.weekday&&!l,g,v,y=Lr(u,c);f?(g=ph,v=hh,y=Jr(y,s,o)):d?(g=fh,v=dh,y=_n(y)):(g=Wr,v=Xs);let S=!1;for(let _ of g){let D=a[_];j(D)?S?a[_]=v[_]:a[_]=y[_]:S=!0}let $=f?U0(a,s,o):d?W0(a):Es(a),k=$||Ss(a);if(k)return G.invalid(k);let x=f?la(a,s,o):d?ca(a):a,[w,E]=Ur(x,c,n),A=new G({ts:w,zone:n,o:E,loc:i});return a.weekday&&l&&t.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(t,r={}){let[n,i]=Tc(t);return At(n,i,r,"ISO 8601",t)}static fromRFC2822(t,r={}){let[n,i]=Pc(t);return At(n,i,r,"RFC 2822",t)}static fromHTTP(t,r={}){let[n,i]=zc(t);return At(n,i,r,"HTTP",r)}static fromFormat(t,r,n={}){if(j(t)||j(r))throw new ce("fromFormat requires an input string and a format");let{locale:i=null,numberingSystem:a=null}=n,s=Z.fromOpts({locale:i,numberingSystem:a,defaultToEN:!0}),[o,u,c,d]=ch(s,t,r);return d?G.invalid(d):At(o,u,n,`format ${r}`,t,c)}static fromString(t,r,n={}){return G.fromFormat(t,r,n)}static fromSQL(t,r={}){let[n,i]=Wc(t);return At(n,i,r,"SQL",t)}static invalid(t,r=null){if(!t)throw new ce("need to specify a reason the DateTime is invalid");let n=t instanceof ze?t:new ze(t,r);if(K.throwOnInvalid)throw new y0(n);return new G({invalid:n})}static isDateTime(t){return t&&t.isLuxonDateTime||!1}static parseFormatForOpts(t,r={}){let n=Js(t,Z.fromObject(r));return n?n.map(i=>i?i.val:null).join(""):null}static expandFormat(t,r={}){return Zs(Pe.parseFormat(t),Z.fromObject(r)).map(n=>n.val).join("")}static resetCache(){lr=void 0,ni.clear()}get(t){return this[t]}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?On(this).weekYear:NaN}get weekNumber(){return this.isValid?On(this).weekNumber:NaN}get weekday(){return this.isValid?On(this).weekday:NaN}get isWeekend(){return this.isValid&&this.loc.getWeekendDays().includes(this.weekday)}get localWeekday(){return this.isValid?Mn(this).weekday:NaN}get localWeekNumber(){return this.isValid?Mn(this).weekNumber:NaN}get localWeekYear(){return this.isValid?Mn(this).weekYear:NaN}get ordinal(){return this.isValid?_n(this.c).ordinal:NaN}get monthShort(){return this.isValid?Fr.months("short",{locObj:this.loc})[this.month-1]:null}get monthLong(){return this.isValid?Fr.months("long",{locObj:this.loc})[this.month-1]:null}get weekdayShort(){return this.isValid?Fr.weekdays("short",{locObj:this.loc})[this.weekday-1]:null}get weekdayLong(){return this.isValid?Fr.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 t=864e5,r=6e4,n=cn(this.c),i=this.zone.offset(n-t),a=this.zone.offset(n+t),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=Lr(u,s),h=Lr(c,o);return d.hour===h.hour&&d.minute===h.minute&&d.second===h.second&&d.millisecond===h.millisecond?[ft(this,{ts:u}),ft(this,{ts:c})]:[this]}get isInLeapYear(){return Ar(this.year)}get daysInMonth(){return Kr(this.year,this.month)}get daysInYear(){return this.isValid?Ft(this.year):NaN}get weeksInWeekYear(){return this.isValid?gr(this.weekYear):NaN}get weeksInLocalWeekYear(){return this.isValid?gr(this.localWeekYear,this.loc.getMinDaysInFirstWeek(),this.loc.getStartOfWeek()):NaN}resolvedLocaleOptions(t={}){let{locale:r,numberingSystem:n,calendar:i}=Pe.create(this.loc.clone(t),t).resolvedOptions(this);return{locale:r,numberingSystem:n,outputCalendar:i}}toUTC(t=0,r={}){return this.setZone(Ye.instance(t),r)}toLocal(){return this.setZone(K.defaultZone)}setZone(t,{keepLocalTime:r=!1,keepCalendarTime:n=!1}={}){if(t=st(t,K.defaultZone),t.equals(this.zone))return this;if(t.isValid){let i=this.ts;if(r||n){let a=t.offset(this.ts),s=this.toObject();[i]=Ur(s,a,t)}return ft(this,{ts:i,zone:t})}else return G.invalid(ur(t))}reconfigure({locale:t,numberingSystem:r,outputCalendar:n}={}){let i=this.loc.clone({locale:t,numberingSystem:r,outputCalendar:n});return ft(this,{loc:i})}setLocale(t){return this.reconfigure({locale:t})}set(t){if(!this.isValid)return this;let r=Xr(t,Sa),{minDaysInFirstWeek:n,startOfWeek:i}=ha(r,this.loc),a=!j(r.weekYear)||!j(r.weekNumber)||!j(r.weekday),s=!j(r.ordinal),o=!j(r.year),u=!j(r.month)||!j(r.day),c=o||u,d=r.weekYear||r.weekNumber;if((c||s)&&d)throw new Ot("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(u&&s)throw new Ot("Can't mix ordinal dates with month/day");let h;a?h=la({...Jr(this.c,n,i),...r},n,i):j(r.ordinal)?(h={...this.toObject(),...r},j(r.day)&&(h.day=Math.min(Kr(h.year,h.month),h.day))):h=ca({..._n(this.c),...r});let[p,l]=Ur(h,this.o,this.zone);return ft(this,{ts:p,o:l})}plus(t){if(!this.isValid)return this;let r=he.fromDurationLike(t);return ft(this,$a(this,r))}minus(t){if(!this.isValid)return this;let r=he.fromDurationLike(t).negate();return ft(this,$a(this,r))}startOf(t,{useLocaleWeeks:r=!1}={}){if(!this.isValid)return this;let n={},i=he.normalizeUnit(t);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=3&&(u+="T"),u+=Ea(this,o,r,n,i,a,s),u}toISODate({format:t="extended",precision:r="day"}={}){return this.isValid?Fn(this,t==="extended",Hr(r)):null}toISOWeekDate(){return Tr(this,"kkkk-'W'WW-c")}toISOTime({suppressMilliseconds:t=!1,suppressSeconds:r=!1,includeOffset:n=!0,includePrefix:i=!1,extendedZone:a=!1,format:s="extended",precision:o="milliseconds"}={}){return this.isValid?(o=Hr(o),(i&&Wr.indexOf(o)>=3?"T":"")+Ea(this,s==="extended",r,t,n,a,o)):null}toRFC2822(){return Tr(this,"EEE, dd LLL yyyy HH:mm:ss ZZZ",!1)}toHTTP(){return Tr(this.toUTC(),"EEE, dd LLL yyyy HH:mm:ss 'GMT'")}toSQLDate(){return this.isValid?Fn(this,!0):null}toSQLTime({includeOffset:t=!0,includeZone:r=!1,includeOffsetSpace:n=!0}={}){let i="HH:mm:ss.SSS";return(r||t)&&(n&&(i+=" "),r?i+="z":t&&(i+="ZZ")),Tr(this,i,!0)}toSQL(t={}){return this.isValid?`${this.toSQLDate()} ${this.toSQLTime(t)}`:null}toString(){return this.isValid?this.toISO():Bn}[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(t={}){if(!this.isValid)return{};let r={...this.c};return t.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(t,r="milliseconds",n={}){if(!this.isValid||!t.isValid)return he.invalid("created by diffing an invalid DateTime");let i={locale:this.locale,numberingSystem:this.numberingSystem,...n},a=Y0(r).map(he.normalizeUnit),s=t.valueOf()>this.valueOf(),o=s?this:t,u=s?t:this,c=Kc(o,u,a,i);return s?c.negate():c}diffNow(t="milliseconds",r={}){return this.diff(G.now(),t,r)}until(t){return this.isValid?Vr.fromDateTimes(this,t):this}hasSame(t,r,n){if(!this.isValid)return!1;let i=t.valueOf(),a=this.setZone(t.zone,{keepLocalTime:!0});return a.startOf(r,n)<=i&&i<=a.endOf(r,n)}equals(t){return this.isValid&&t.isValid&&this.valueOf()===t.valueOf()&&this.zone.equals(t.zone)&&this.loc.equals(t.loc)}toRelative(t={}){if(!this.isValid)return null;let r=t.base||G.fromObject({},{zone:this.zone}),n=t.padding?thisr.valueOf(),Math.min)}static max(...t){if(!t.every(G.isDateTime))throw new ce("max requires all arguments be DateTimes");return da(t,r=>r.valueOf(),Math.max)}static fromFormatExplain(t,r,n={}){let{locale:i=null,numberingSystem:a=null}=n,s=Z.fromOpts({locale:i,numberingSystem:a,defaultToEN:!0});return Gs(s,t,r)}static fromStringExplain(t,r,n={}){return G.fromFormatExplain(t,r,n)}static buildFormatParser(t,r={}){let{locale:n=null,numberingSystem:i=null}=r,a=Z.fromOpts({locale:n,numberingSystem:i,defaultToEN:!0});return new Ys(a,t)}static fromFormatParser(t,r,n={}){if(j(t)||j(r))throw new ce("fromFormatParser requires an input string and a format parser");let{locale:i=null,numberingSystem:a=null}=n,s=Z.fromOpts({locale:i,numberingSystem:a,defaultToEN:!0});if(!s.equals(r.locale))throw new ce(`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(t);return d?G.invalid(d):At(o,u,n,`format ${r.format}`,t,c)}static get DATE_SHORT(){return Gr}static get DATE_MED(){return Ko}static get DATE_MED_WITH_WEEKDAY(){return x0}static get DATE_FULL(){return Xo}static get DATE_HUGE(){return Qo}static get TIME_SIMPLE(){return es}static get TIME_WITH_SECONDS(){return ts}static get TIME_WITH_SHORT_OFFSET(){return rs}static get TIME_WITH_LONG_OFFSET(){return ns}static get TIME_24_SIMPLE(){return is}static get TIME_24_WITH_SECONDS(){return as}static get TIME_24_WITH_SHORT_OFFSET(){return os}static get TIME_24_WITH_LONG_OFFSET(){return ss}static get DATETIME_SHORT(){return us}static get DATETIME_SHORT_WITH_SECONDS(){return ls}static get DATETIME_MED(){return cs}static get DATETIME_MED_WITH_SECONDS(){return hs}static get DATETIME_MED_WITH_WEEKDAY(){return w0}static get DATETIME_FULL(){return ds}static get DATETIME_FULL_WITH_SECONDS(){return ps}static get DATETIME_HUGE(){return fs}static get DATETIME_HUGE_WITH_SECONDS(){return ms}};function Jt(e){if(H.isDateTime(e))return e;if(e&&e.valueOf&&ut(e.valueOf()))return H.fromJSDate(e);if(e&&typeof e=="object")return H.fromObject(e);throw new ce(`Unknown datetime argument: ${e}, of type ${typeof e}`)}var ii="default",Qs="preflights",gh="shortcuts",bh="imports",yh={[bh]:-200,[Qs]:-100,[gh]:-10,[ii]:0},eu=/[\\:]?[\s'"`;{}]+/g;function vh(e){return e.split(eu)}var kh={name:"@unocss/core/extractor-split",order:0,extract({code:e}){return vh(e)}};function J(e=[]){return Array.isArray(e)?e:[e]}function Ze(e){return Array.from(new Set(e))}function Da(e,t){return e.reduce((r,n)=>(r.findIndex(i=>t(n,i))===-1&&r.push(n),r),[])}function te(e){return typeof e=="string"}var tu=class extends Set{constructor(e){if(super(),this._map=new Map,e)for(let t of e)this.add(t)}add(e){return this._map.set(e,(this._map.get(e)??0)+1),super.add(e)}delete(e){return this._map.has(e)?(this._map.delete(e),super.delete(e)):!1}clear(){this._map.clear(),super.clear()}getCount(e){return this._map.get(e)??0}setCount(e,t){return this._map.set(e,t),super.add(e)}};function Nn(e){return e instanceof tu}function br(e){return e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function Ke(e){let t=e.length,r=-1,n,i="",a=e.charCodeAt(0);for(;++r=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&&t===1&&n===45){i+=`\\${e.charAt(r)}`;continue}if(n>=128||n===45||n===95||n>=48&&n<=57||n>=65&&n<=90||n>=97&&n<=122){i+=e.charAt(r);continue}i+=`\\${e.charAt(r)}`}return i}var Ln=Ke;function xh(){return{events:{},emit(e,...t){(this.events[e]||[]).forEach(r=>r(...t))},on(e,t){return(this.events[e]=this.events[e]||[]).push(t),()=>this.events[e]=(this.events[e]||[]).filter(r=>r!==t)}}}var wh=/[\w\u00A0-\uFFFF%-?]/;function $h(e=""){return wh.test(e)}function Eh(e){return typeof e=="function"?{match:e}:e}function Ba(e){return e.length===3}function cr(e){return e!=null}function Sh(){}var Ah=class{constructor(){this._map=new Map}get(e,t){let r=this._map.get(e);if(r)return r.get(t)}getFallback(e,t,r){let n=this._map.get(e);return n||(n=new Map,this._map.set(e,n)),n.has(t)||n.set(t,r),n.get(t)}set(e,t,r){let n=this._map.get(e);return n||(n=new Map,this._map.set(e,n)),n.set(t,r),this}has(e,t){return this._map.get(e)?.has(t)}delete(e,t){return this._map.get(e)?.delete(t)||!1}deleteTop(e){return this._map.delete(e)}map(e){return Array.from(this._map.entries()).flatMap(([t,r])=>Array.from(r.entries()).map(([n,i])=>e(i,t,n)))}},Ch=class extends Map{getFallback(e,t){let r=this.get(e);return r===void 0?(this.set(e,t),t):r}map(e){let t=[];return this.forEach((r,n)=>{t.push(e(r,n))}),t}flatMap(e){let t=[];return this.forEach((r,n)=>{t.push(...e(r,n))}),t}};function Qr(e){return te(e)?e:(Array.isArray(e)?e:Object.entries(e)).filter(t=>t[1]!=null)}function _h(e){return Array.isArray(e)?e.some(t=>!Array.isArray(t)||Array.isArray(t[0]))?e.map(t=>Qr(t)):[e]:[Qr(e)]}function Dh(e){return e.filter(([t,r],n)=>{if(t.startsWith("$$"))return!1;for(let i=n-1;i>=0;i--)if(e[i][0]===t&&e[i][1]===r)return!1;return!0})}var Bh="__virtual_key__";function Tn(e){return e==null?"":Dh(e).map(([t,r])=>r!=null&&typeof r!="function"?t!=="__virtual_key__"?`${t}:${r};`:r:void 0).filter(Boolean).join("")}function Pr(e){return e&&typeof e=="object"&&!Array.isArray(e)}function yr(e,t,r=!1){let n=e,i=t;if(Array.isArray(i))return r&&Array.isArray(i)?[...n,...i]:[...i];let a={...n};return Pr(n)&&Pr(i)&&Object.keys(i).forEach(s=>{Pr(n[s])&&Pr(i[s])||Array.isArray(n[s])&&Array.isArray(i[s])?a[s]=yr(n[s],i[s],r):Object.assign(a,{[s]:i[s]})}),a}function mr(e){let t,r,n;if(Array.isArray(e)){for(r=Array.from({length:t=e.length});t--;)r[t]=(n=e[t])&&typeof n=="object"?mr(n):n;return r}if(Object.prototype.toString.call(e)==="[object Object]"){r={};for(t in e)t==="__proto__"?Object.defineProperty(r,t,{value:mr(e[t]),configurable:!0,enumerable:!0,writable:!0}):r[t]=(n=e[t])&&typeof n=="object"?mr(n):n;return r}return e}function Oh(e){return te(e[0])}function Mh(e){return te(e[0])}var zr={};function Fh(e=["-",":"]){let t=e.join("|");return zr[t]||(zr[t]=new RegExp(`((?:[!@*<~\\w+:_-]|\\[&?>?:?\\S*\\])+?)(${t})\\(((?:[~!<>\\w\\s:/\\\\,%#.$?-]|\\[[^\\]]*?\\])+?)\\)(?!\\s*?=>)`,"gm")),zr[t].lastIndex=0,zr[t]}function Nh(e,t=["-",":"],r=5){let n=Fh(t),i,a=e.toString(),s=new Set,o=new Map;do i=!1,a=a.replace(n,(c,d,h,p,l)=>{if(!t.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 g of[...p.matchAll(/\S+/g)]){let v=m+g.index,y=o.get(v)?.items;y?o.delete(v):y=[{offset:v,length:g[0].length,className:g[0]}];for(let S of y)S.className=S.className==="~"?h===":"?`${d}${h}~`:d:S.className.replace(/^(!?)(.*)/,`$1${d}${h}$2`),f.items.push(S)}return"$".repeat(c.length)}),r-=1;while(i&&r);let u;if(typeof e=="string"){u="";let c=0;for(let[d,h]of o)u+=e.slice(c,d),u+=h.items.map(p=>p.className).join(" "),c=d+h.length;u+=e.slice(c)}else{u=e;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 Lh(e,t=["-",":"],r=5){let n=Nh(e,t,r);return typeof e=="string"?n.expanded:e}var Oa=new Set;function Th(e){Oa.has(e)||(console.warn("[unocss]",e),Oa.add(e))}function ru(e){return J(e).flatMap(t=>Array.isArray(t)?[t]:Object.entries(t))}var Ma="_uno_resolved";async function Ph(e){let t=typeof e=="function"?await e():await e;if(Ma in t)return t;t={...t},Object.defineProperty(t,Ma,{value:!0,enumerable:!1});let r=t.shortcuts?ru(t.shortcuts):void 0;if(t.shortcuts=r,t.prefix||t.layer){let n=i=>{i[2]||(i[2]={});let a=i[2];a.prefix==null&&t.prefix&&(a.prefix=J(t.prefix)),a.layer==null&&t.layer&&(a.layer=t.layer)};r?.forEach(n),t.rules?.forEach(n)}return t}async function nu(e){let t=await Ph(e);return t.presets?[t,...(await Promise.all((t.presets||[]).flatMap(J).flatMap(nu))).flat()]:[t]}function zh(e){if(e.length===0)return{};let t=[],r=[],n=!1,i=[],a=[];for(let o of e){if(o.pipeline===!1){n=!0;break}else o.pipeline?.include&&t.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:Ze(Na(...t)),exclude:Ze(Na(...r))}};return i.length&&(s.filesystem=Ze(i.flat())),a.length&&(s.inline=Ze(a.flat())),s}async function Fa(e={},t={}){let r=Object.assign({},t,e),n=Da((await Promise.all((r.presets||[]).flatMap(J).flatMap(nu))).flat(),($,k)=>$.name===k.name),i=[...n.filter($=>$.enforce==="pre"),...n.filter($=>!$.enforce),...n.filter($=>$.enforce==="post")],a=[...i,r],s=[...a].reverse(),o=Object.assign({},yh,...a.map($=>$.layers));function u($){return Ze(a.flatMap(k=>J(k[$]||[])))}let c=u("extractors"),d=s.find($=>$.extractorDefault!==void 0)?.extractorDefault;d===void 0&&(d=kh),d&&!c.includes(d)&&c.unshift(d),c.sort(($,k)=>($.order||0)-(k.order||0));let h=u("rules"),p=h.length,l={},m=[];for(let[$,k]of h.entries()){let x=k[2]??(k[2]={});x.__index=$,Oh(k)?J(x.prefix??"").forEach(w=>{l[w+k[0]]=k}):m.unshift(k)}let f={templates:Ze(a.flatMap($=>J($.autocomplete?.templates))),extractors:a.flatMap($=>J($.autocomplete?.extractors)).sort(($,k)=>($.order||0)-(k.order||0)),shorthands:Ih(a.map($=>$.autocomplete?.shorthands||{}))},g=u("separators");g.length||(g=[":","-"]);let v=zh(u("content")),y={mergeSelectors:!0,warn:!0,sortLayers:$=>$,...r,blocklist:u("blocklist"),presets:i,envMode:r.envMode||"build",shortcutsLayer:r.shortcutsLayer||"shortcuts",layers:o,theme:jh(a.map($=>$.theme)),rules:h,rulesSize:p,rulesDynamic:m,rulesStaticMap:l,preprocess:u("preprocess"),postprocess:u("postprocess"),preflights:u("preflights"),autocomplete:f,variants:u("variants").map(Eh).sort(($,k)=>($.order||0)-(k.order||0)),shortcuts:ru(u("shortcuts")).reverse(),extractors:c,safelist:u("safelist"),separators:g,details:r.details??r.envMode==="dev",content:v,transformers:Da(u("transformers"),($,k)=>$.name===k.name)},S=u("extendTheme");for(let $ of S)y.theme=$(y.theme,y)||y.theme;for(let $ of a)$?.configResolved?.(y);return y}function jh(e){return e.map(t=>t?mr(t):{}).reduce((t,r)=>yr(t,r),{})}function Ih(e){return e.reduce((t,r)=>{let n={};for(let i in r){let a=r[i];Array.isArray(a)?n[i]=`(${a.join("|")})`:n[i]=a}return{...t,...n}},{})}function Na(...e){return e.flatMap(Rh)}function Rh(e){return Array.isArray(e)?e:e?[e]:[]}var qh="66.6.8",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"},Vh=class iu{constructor(t={},r={}){this.userConfig=t,this.defaults=r,this.version=qh,this.events=xh(),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=_h(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]=Bh;break}return[u.__index,n,c,h,d]})}}}static async create(t={},r={}){let n=new iu(t,r);return n.config=await Fa(n.userConfig,n.defaults),n.events.emit("config",n.config),n}async setConfig(t,r){t&&(r&&(this.defaults=r),this.userConfig=t,this.blocked.clear(),this.parentOrders.clear(),this.activatedRules.clear(),this.cache.clear(),this.config=await Fa(t,this.defaults),this.events.emit("config",this.config))}async applyExtractors(t,r,n=new Set){let i={original:t,code:t,id:r,extracted:n,envMode:this.config.envMode};for(let a of this.config.extractors){let s=await a.extract?.(i);if(s)if(Nn(s)&&Nn(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(t,r){let n={rawSelector:t,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(t,r){if(this.blocked.has(t))return;let n=`${t}${r?` ${r}`:""}`;if(this.cache.has(n))return this.cache.get(n);let i=this.config.preprocess.reduce((u,c)=>c(u)??u,t);if(this.isBlocked(i)){this.blocked.add(t),this.cache.set(n,null);return}let a=await this.matchVariants(t,i);if(a.every(u=>!u||this.isBlocked(u[1]))){this.blocked.add(t),this.cache.set(n,null);return}let s=async u=>{let c=this.makeContext(t,[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(cr)},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(t,r={}){let{id:n,scope:i,preflights:a=!0,safelist:s=!0,minify:o=!1,extendedInfo:u=!1}=r,c=te(t)?await this.applyExtractors(t,n,u?new tu:new Set):Array.isArray(t)?new Set(t):t;if(s){let w={generator:this,theme:this.config.theme};this.config.safelist.flatMap(E=>typeof E=="function"?E(w):E).forEach(E=>{let A=E.trim();A&&!c.has(A)&&c.add(A)})}let d=o?"":` `,h=new Set([ii]),p=u?new Map:new Set,l=new Map,m={},f=Array.from(c).map(async w=>{if(p.has(w))return;let E=await this.parseToken(w);if(E!=null){p instanceof Map?p.set(w,{data:E,count:Nn(c)?c.getCount(w):-1}):p.add(w);for(let A of E){let _=A[3]||"",D=A[4]?.layer;l.has(_)||l.set(_,[]),l.get(_).push(A),D&&h.add(D)}}});await Promise.all(f),await(async()=>{if(!a)return;let w={generator:this,theme:this.config.theme},E=new Set([]);this.config.preflights.forEach(({layer:A=Qs})=>{h.add(A),E.add(A)}),m=Object.fromEntries(await Promise.all(Array.from(E).map(async A=>[A,(await Promise.all(this.config.preflights.filter(_=>(_.layer||"preflights")===A).map(async _=>await _.getCSS(w)))).filter(Boolean).join(d)])))})();let g=w=>this.config.sortLayers(w.sort((E,A)=>(this.config.layers[E]??0)-(this.config.layers[A]??0)||E.localeCompare(A))),v=g(Array.from(h)),y={},S=this.config.outputToCssLayers,$=w=>{let E=w;return typeof S=="object"&&(E=S.cssLayerName?.(w)),E===null?null:E??w},k=(w=ii)=>{if(y[w])return y[w];let E=Array.from(l).sort((D,B)=>(this.parentOrders.get(D[0])??0)-(this.parentOrders.get(B[0])??0)||D[0]?.localeCompare(B[0]||"")||0).map(([D,B])=>{let O=B.length,M=B.filter(I=>(I[4]?.layer||"default")===w).sort((I,se)=>I[0]-se[0]||(I[4]?.sort||0)-(se[4]?.sort||0)||I[5]?.currentSelector?.localeCompare(se[5]?.currentSelector??"")||I[1]?.localeCompare(se[1]||"")||I[2]?.localeCompare(se[2]||"")||0).map(([,I,se,,ie,,$t])=>[[[(I&&!ie?.noScope?Hh(I,i):I)??"",ie?.sort??0]],se,!!($t??ie?.noMerge)]);if(!M.length)return;let F=M.reverse().map(([I,se,ie],$t)=>{if(!ie&&this.config.mergeSelectors)for(let Qe=$t+1;QeQe[1]-We[1]||Qe[0]?.localeCompare(We[0]||"")||0).map(Qe=>Qe[0]).filter(Boolean)):[];return Ki.length?`${Ki.join(`,${d}`)}{${se}}`:se}).filter(Boolean),L=Array.from(new Set(F)).reverse().join(d);if(!D)return L;let V=D.split(" $$ ");return`${V.join("{")}{${d}${L}${d}${"}".repeat(V.length)}`}).filter(Boolean).join(d);a&&(E=[m[w],E].filter(Boolean).join(d));let A;S&&E&&(A=$(w),A!==null&&(E=`@layer ${A}{${d}${E}${d}}`));let _=o?"":`/* layer: ${w}${A&&A!==w?`, alias: ${A}`:""} */${d}`;return y[w]=E?_+E:""},x=(w=v,E)=>{let A=w.filter(D=>!E?.includes(D)),_=A.map(k).filter(Boolean);if(S){let D=A;typeof S=="object"&&S.allLayers&&(D=g(Object.keys(this.config.layers))),D.length>0&&_.unshift(`@layer ${D.map($).filter(cr).join(", ")};`)}return _.join(d)};return{get css(){return x()},layers:v,matched:p,getLayers:x,getLayer:k,setLayer:async(w,E)=>{let A=await E(k(w));return y[w]=A,A}}}async matchVariants(t,r){let n={rawSelector:t,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],g=new Set(u);return g.add(d),[a[0],m,f,g]});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 "${t}"`)}return[a]};return await i([t,r||t,[],new Set])}applyVariants(t,r=t[4],n=t[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??Yh)({...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:Zh(n),pseudo:"",entries:t[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(cr)):d.push(p||h)}return d},[o])}constructCustomCSS(t,r,n){let i=Qr(r);return te(i)?i:this.applyVariants([0,n||t.rawSelector,i,void 0,t.variantHandlers]).map(({selector:a,entries:s,parent:o})=>{let u=`${a}{${Tn(s)}}`;return o?`${o}{${u}}`:u}).join("")}async parseUtil(t,r,n=!1,i){let a=te(t)?await this.matchVariants(t):[t],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,g]=l;if(g?.internal&&!n)continue;let v=c;if(g?.prefix){let k=J(g.prefix);if(i){let x=J(i);if(!k.some(w=>x.includes(w)))continue}else{let x=k.find(w=>c.startsWith(w));if(x==null)continue;v=c.slice(x.length)}}let y=v.match(m);if(!y)continue;let S=await f(y,h);if(!S)continue;if(typeof S!="string")if(Symbol.asyncIterator in S){let k=[];for await(let x of S)x&&k.push(x);S=k}else Symbol.iterator in S&&!Array.isArray(S)&&(S=Array.from(S).filter(cr));let $=this.resolveCSSResult(u,S,l,h);if($)return $}},o=(await Promise.all(a.map(u=>s(u)))).flat().filter(u=>!!u);if(o.length)return o}stringifyUtil(t,r){if(!t)return;if(Ba(t))return[[t[0],void 0,t[1],void 0,t[2],this.config.details?r:void 0,void 0]];let n=this.applyVariants(t),i=[];for(let a of n){let{selector:s,entries:o,parent:u,layer:c,sort:d,noMerge:h}=a,p=Tn(o);if(!p)continue;let{layer:l,sort:m,...f}=t[3]??{},g={...f,layer:c??l,sort:d??m};i.push([t[0],s,p,u,g,this.config.details?r:void 0,h])}return i}async expandShortcut(t,r,n=5){if(n===0)return;let i=this.config.details?c=>{r.shortcuts=r.shortcuts??[],r.shortcuts.push(c)}:Sh,a,s,o,u;for(let c of this.config.shortcuts){let d=t;if(c[2]?.prefix){let h=J(c[2].prefix).find(p=>t.startsWith(p));if(h==null)continue;d=t.slice(h.length)}if(Mh(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=Ze(J(s).filter(te).map(c=>Lh(c.trim()).split(/\s+/g)).flat()),u=J(s).filter(c=>!te(c)).map(c=>({handles:[],value:c}))),!s){let c=te(t)?await this.matchVariants(t):[t];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(t,r,n,i={layer:this.config.shortcutsLayer}){let a=new Ch,s=(await Promise.all(Ze(n).map(async d=>{let h=te(d)?await this.parseUtil(d,r,!0,i.prefix):[[Number.POSITIVE_INFINITY,"{inline}",Qr(d.value),void 0,d.handles]];return!h&&this.config.warn&&Th(`unmatched utility "${d}" in shortcut "${t[1]}"`),h||[]}))).flat(1).filter(Boolean).sort((d,h)=>d[0]-h[0]),[o,,u]=t,c=[];for(let d of s){if(Ba(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:g,noMerge:v,layer:y}of this.applyVariants(d,p,o))a.getFallback(y??i.layer,new Ah).getFallback(l,f,[[],d[0]])[0].push([m,!!(v??d[3]?.noMerge),g??0])}return c.concat(a.flatMap((d,h)=>d.map(([p,l],m,f)=>{let g=(v,y,S)=>{let $=Math.max(...S.map(x=>x[1])),k=S.map(x=>x[0]);return(v?[k.flat(1)]:k).map(x=>{let w=Tn(x);if(w)return[l,m,w,f,{...i,noMerge:y,sort:$,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])=>[...g(!1,y,v.filter(([S])=>S.some($=>$[0]===re.shortcutsNoMerge))),...g(!0,y,v.filter(([S])=>S.every($=>$[0]!==re.shortcutsNoMerge)))])}).flat(2).filter(Boolean)))}isBlocked(t){return!t||this.config.blocklist.map(r=>Array.isArray(r)?r[0]:r).some(r=>typeof r=="function"?r(t):te(r)?r===t:r.test(t))}getBlocked(t){let r=this.config.blocklist.find(n=>{let i=Array.isArray(n)?n[0]:n;return typeof i=="function"?i(t):te(i)?i===t:i.test(t)});return r?Array.isArray(r)?r:[r,void 0]:void 0}};async function Uh(e,t){return await Vh.create(e,t)}var au=/\s\$\$\s+/g;function Wh(e){return au.test(e)}function Hh(e,t){return Wh(e)?e.replace(au,t?` ${t} `:" "):t?`${t} ${e}`:e}var La=/^\[(.+?)(~?=)"(.*)"\]$/;function Zh(e){return La.test(e)?e.replace(La,(t,r,n,i)=>`[${Ln(r)}${n}"${Ln(i)}"]`):`.${Ln(e)}`}function Yh(e,t){return t(e)}var Gh=44,Jh=59,Ta="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",ou=new Uint8Array(64),Kh=new Uint8Array(128);for(let e=0;e>>=5,n>0&&(i|=32),e.write(ou[i])}while(n>0);return t}var Pa=1024*16,za=typeof TextDecoder<"u"?new TextDecoder:typeof Buffer<"u"?{decode(e){return Buffer.from(e.buffer,e.byteOffset,e.byteLength).toString()}}:{decode(e){let t="";for(let r=0;r0?t+za.decode(e.subarray(0,r)):t}};function Qh(e){let t=new Xh,r=0,n=0,i=0,a=0;for(let s=0;s0&&t.write(Jh),o.length===0)continue;let u=0;for(let c=0;c0&&t.write(Gh),u=Kt(t,d[0],u),d.length!==1&&(r=Kt(t,d[1],r),n=Kt(t,d[2],n),i=Kt(t,d[3],i),d.length!==4&&(a=Kt(t,d[4],a)))}}return t.flush()}var ja=class su{constructor(t){this.bits=t instanceof su?t.bits.slice():[]}add(t){this.bits[t>>5]|=1<<(t&31)}has(t){return!!(this.bits[t>>5]&1<<(t&31))}},Ia=class ai{constructor(t,r,n){this.start=t,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(t){this.outro+=t}appendRight(t){this.intro=this.intro+t}clone(){let t=new ai(this.start,this.end,this.original);return t.intro=this.intro,t.outro=this.outro,t.content=this.content,t.storeName=this.storeName,t.edited=this.edited,t}contains(t){return this.startglobalThis.btoa(unescape(encodeURIComponent(e))):typeof Buffer=="function"?e=>Buffer.from(e,"utf-8").toString("base64"):()=>{throw new Error("Unsupported environment: `window.btoa` or `Buffer` should be supported.")}}var td=ed(),rd=class{constructor(e){this.version=3,this.file=e.file,this.sources=e.sources,this.sourcesContent=e.sourcesContent,this.names=e.names,this.mappings=Qh(e.mappings),typeof e.x_google_ignoreList<"u"&&(this.x_google_ignoreList=e.x_google_ignoreList),typeof e.debugId<"u"&&(this.debugId=e.debugId)}toString(){return JSON.stringify(this)}toUrl(){return"data:application/json;charset=utf-8;base64,"+td(this.toString())}};function nd(e){let t=e.split(` `),r=t.filter(a=>/^\t+/.test(a)),n=t.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 id(e,t){let r=e.split(/[/\\]/),n=t.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 ad=Object.prototype.toString;function od(e){return ad.call(e)==="[object Object]"}function Ra(e){let t=e.split(` `),r=[];for(let n=0,i=0;n>1;n=0&&i>a;){let u=[this.generatedCodeColumn,e,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=t.indexOf(` `,a+1)}let o=[this.generatedCodeColumn,e,r.line,r.column];n>=0&&o.push(n),this.rawSegments.push(o),this.advance(t.slice(s+1))}else this.pending&&(this.rawSegments.push(this.pending),this.advance(t));this.pending=null}addUneditedChunk(e,t,r,n,i){let a=t.start,s=!0,o=!1;for(;a1){for(let r=0;r{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:t.file?t.file.split(/[/\\]/).pop():void 0,sources:[t.source?id(t.file||"",t.source):t.file||""],sourcesContent:t.includeContent?[this.original]:void 0,names:n,mappings:i.raw,x_google_ignoreList:this.ignoreList?[r]:void 0}}generateMap(t){return new rd(this.generateDecodedMap(t))}_ensureindentStr(){this.indentStr===void 0&&(this.indentStr=nd(this.original))}_getRawIndentString(){return this._ensureindentStr(),this.indentStr}getIndentString(){return this._ensureindentStr(),this.indentStr===null?" ":this.indentStr}indent(t,r){let n=/^[^\r\n]/gm;if(od(t)&&(r=t,t=void 0),t===void 0&&(this._ensureindentStr(),t=this.indentStr||" "),t==="")return this;r=r||{};let i={};r.exclude&&(typeof r.exclude[0]=="number"?[r.exclude]:r.exclude).forEach(c=>{for(let d=c[0];da?`${t}${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]===` `));else for(o=u.start;o=t&&n<=r)throw new Error("Cannot move a selection inside itself");this._split(t),this._split(r),this._split(n);let i=this.byStart[t],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(t,r,n,i){return i=i||{},this.update(t,r,n,{...i,overwrite:!i.contentOnly})}update(t,r,n,i){if(t=t+this.offset,r=r+this.offset,typeof n!="string")throw new TypeError("replacement content must be a string");if(this.original.length!==0){for(;t<0;)t+=this.original.length;for(;r<0;)r+=this.original.length}if(r>this.original.length)throw new Error("end is out of bounds");if(t===r)throw new Error("Cannot overwrite a zero-length range \u2013 use appendLeft or prependRight instead");this._split(t),this._split(r),i===!0&&(Ct.storeName||(console.warn("The final argument to magicString.overwrite(...) should be an options object. See https://github.com/rich-harris/magic-string"),Ct.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(t,r);Object.defineProperty(this.storedNames,c,{writable:!0,value:!0,enumerable:!0})}let o=this.byStart[t],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 Ia(t,r,"").edit(n,a);u.next=c,c.previous=u}return this}prepend(t){if(typeof t!="string")throw new TypeError("outro content must be a string");return this.intro=t+this.intro,this}prependLeft(t,r){if(t=t+this.offset,typeof r!="string")throw new TypeError("inserted content must be a string");this._split(t);let n=this.byEnd[t];return n?n.prependLeft(r):this.intro=r+this.intro,this}prependRight(t,r){if(t=t+this.offset,typeof r!="string")throw new TypeError("inserted content must be a string");this._split(t);let n=this.byStart[t];return n?n.prependRight(r):this.outro=r+this.outro,this}remove(t,r){if(t=t+this.offset,r=r+this.offset,this.original.length!==0){for(;t<0;)t+=this.original.length;for(;r<0;)r+=this.original.length}if(t===r)return this;if(t<0||r>this.original.length)throw new Error("Character is out of bounds");if(t>r)throw new Error("end must be greater than start");this._split(t),this._split(r);let n=this.byStart[t];for(;n;)n.intro="",n.outro="",n.edit(""),n=r>n.end?this.byStart[n.end]:null;return this}reset(t,r){if(t=t+this.offset,r=r+this.offset,this.original.length!==0){for(;t<0;)t+=this.original.length;for(;r<0;)r+=this.original.length}if(t===r)return this;if(t<0||r>this.original.length)throw new Error("Character is out of bounds");if(t>r)throw new Error("end must be greater than start");this._split(t),this._split(r);let n=this.byStart[t];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 t=this.lastChunk;do{if(t.outro.length)return t.outro[t.outro.length-1];if(t.content.length)return t.content[t.content.length-1];if(t.intro.length)return t.intro[t.intro.length-1]}while(t=t.previous);return this.intro.length?this.intro[this.intro.length-1]:""}lastLine(){let t=this.outro.lastIndexOf(Xt);if(t!==-1)return this.outro.substr(t+1);let r=this.outro,n=this.lastChunk;do{if(n.outro.length>0){if(t=n.outro.lastIndexOf(Xt),t!==-1)return n.outro.substr(t+1)+r;r=n.outro+r}if(n.content.length>0){if(t=n.content.lastIndexOf(Xt),t!==-1)return n.content.substr(t+1)+r;r=n.content+r}if(n.intro.length>0){if(t=n.intro.lastIndexOf(Xt),t!==-1)return n.intro.substr(t+1)+r;r=n.intro+r}}while(n=n.previous);return t=this.intro.lastIndexOf(Xt),t!==-1?this.intro.substr(t+1)+r:this.intro+r}slice(t=0,r=this.original.length-this.offset){if(t=t+this.offset,r=r+this.offset,this.original.length!==0){for(;t<0;)t+=this.original.length;for(;r<0;)r+=this.original.length}let n="",i=this.firstChunk;for(;i&&(i.start>t||i.end<=t);){if(i.start=r)return n;i=i.next}if(i&&i.edited&&i.start!==t)throw new Error(`Cannot use replaced character ${t} as slice start anchor.`);let a=i;for(;i;){i.intro&&(a!==i||i.start===t)&&(n+=i.intro);let s=i.start=r;if(s&&i.edited&&i.end!==r)throw new Error(`Cannot use replaced character ${r} as slice end anchor.`);let o=a===i?t-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(t,r){let n=this.clone();return n.remove(0,t),n.remove(r,n.original.length),n}_split(t){if(this.byStart[t]||this.byEnd[t])return;let r=this.lastSearchedChunk,n=r,i=t>r.end;for(;r;){if(r.contains(t))return this._splitChunk(r,t);if(r=i?this.byStart[r.end]:this.byEnd[r.start],r===n)return;n=r}}_splitChunk(t,r){if(t.edited&&t.content.length){let i=Ra(this.original)(r);throw new Error(`Cannot split a chunk that has already been edited (${i.line}:${i.column} \u2013 "${t.original}")`)}let n=t.split(r);return this.byEnd[r]=t,this.byStart[r]=n,this.byEnd[n.end]=n,t===this.lastChunk&&(this.lastChunk=n),this.lastSearchedChunk=t,!0}toString(){let t=this.intro,r=this.firstChunk;for(;r;)t+=r.toString(),r=r.next;return t+this.outro}isEmpty(){let t=this.firstChunk;do if(t.intro.length&&t.intro.trim()||t.content.length&&t.content.trim()||t.outro.length&&t.outro.trim())return!1;while(t=t.next);return!0}length(){let t=this.firstChunk,r=0;do r+=t.intro.length+t.content.length+t.outro.length;while(t=t.next);return r}trimLines(){return this.trim("[\\r\\n]")}trim(t){return this.trimStart(t).trimEnd(t)}trimEndAborted(t){let r=new RegExp((t||"\\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(t){return this.trimEndAborted(t),this}trimStartAborted(t){let r=new RegExp("^"+(t||"\\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(t){return this.trimStartAborted(t),this}hasChanged(){return this.original!==this.toString()}_replaceRegexp(t,r){function n(a,s){return typeof r=="string"?r.replace(/\$(\$|&|\d+)/g,(o,u)=>u==="$"?"$":u==="&"?a[0]:+u{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(t);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(t,r){let{original:n}=this,i=n.indexOf(t);return i!==-1&&(typeof r=="function"&&(r=r(t,i,n)),t!==r&&this.overwrite(i,i+t.length,r)),this}replace(t,r){return typeof t=="string"?this._replaceString(t,r):this._replaceRegexp(t,r)}_replaceAllString(t,r){let{original:n}=this,i=t.length;for(let a=n.indexOf(t);a!==-1;a=n.indexOf(t,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(t,r){if(typeof t=="string")return this._replaceAllString(t,r);if(!t.global)throw new TypeError("MagicString.prototype.replaceAll called with a non-global RegExp argument");return this._replaceRegexp(t,r)}};function Dr(e,t,r){if(e==="")return;let n=e.length,i=0,a=!1,s=0;for(let o=0;or)return;let o=pn(e,n,i,t);if(!o)return;let[u,c]=o;a.push(u),e=c}if(a.length>0)return a}var Bi=["hsl","hsla","hwb","lab","lch","oklab","oklch","rgb","rgba"],cd=["srgb","srgb-linear","display-p3","a98-rgb","prophoto-rgb","rec2020","lab","oklab","xyz","xyz-d50","xyz-d65"],hd=["hsl","hwb","lch","oklch"],dd=["shorter","longer","increasing","decreasing"],lu=["%alpha",""],cu=new RegExp(lu.map(e=>br(e)).join("|"),"g");function qa(e){return e?cd.some(t=>e.includes(t))||hd.some(t=>e.includes(t))||dd.some(t=>e.includes(t)):!1}function Mt(e=""){let t=pd(e);if(t==null||t===!1)return;let{type:r,components:n,alpha:i}=t,a=r.toLowerCase();if(n.length!==0&&!(Bi.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 vr(e,t){if(typeof e=="string")return e.replace(cu,`${t??1}`);let{components:r}=e,{alpha:n,type:i}=e;return n=t??n,i=i.toLowerCase(),["hsla","rgba"].includes(i)?`${i}(${r.join(", ")}${n==null?"":`, ${n}`})`:(n=n==null?"":` / ${n}`,Bi.includes(i)?`${i}(${r.join(" ")}${n})`:`color(${i} ${r.join(" ")}${n})`)}function pd(e){if(!e)return;let t=fd(e);if(t!=null||(t=md(e),t!=null)||(t=gd(e),t!=null)||(t=yd(e),t!=null)||(t=vd(e),t!=null))return t}function fd(e){let[,t]=e.match(/^#([\da-f]+)$/i)||[];if(t)switch(t.length){case 3:case 4:{let r=Array.from(t,n=>Number.parseInt(n,16)).map(n=>n<<4|n);return{type:"rgb",components:r.slice(0,3),alpha:t.length===3?void 0:Math.round(r[3]/255*100)/100}}case 6:case 8:{let r=Number.parseInt(t,16);return{type:"rgb",components:t.length===6?[r>>16&255,r>>8&255,r&255]:[r>>24&255,r>>16&255,r>>8&255],alpha:t.length===6?void 0:Math.round((r&255)/255*100)/100}}}}function md(e){let t={rebeccapurple:[102,51,153,1]}[e];if(t!=null)return{type:"rgb",components:t.slice(0,3),alpha:t[3]}}function gd(e){let t=e.match(/^(rgb|rgba|hsl|hsla)\((.+)\)$/i);if(!t)return;let[,r,n]=t,i=ct(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 bd=new RegExp(`^(${Bi.join("|")})\\((.+)\\)$`,"i");function yd(e){let t=e.match(bd);if(!t)return;let[,r,n]=t,i=hu(`${r} ${n}`);if(i){let{alpha:a,components:[s,...o]}=i;return{type:s,components:o,alpha:a}}}function vd(e){let t=e.match(/^color\((.+)\)$/);if(!t)return;let r=hu(t[1]);if(r){let{alpha:n,components:[i,...a]}=r;return{type:i,components:a,alpha:n}}}function hu(e){let t=ct(e," ");if(!t)return;let r=t.length;if(t[r-2]==="/")return{components:t.slice(0,r-2),alpha:t[r-1]};if(t[r-2]!=null&&(t[r-2].endsWith("/")||t[r-1].startsWith("/"))){let a=t.splice(r-2);t.push(a.join(" ")),--r}let n=ct(t[r-1],"/",2);if(!n)return;if(n.length===1||n[n.length-1]==="")return{components:t};let i=n.pop();return t[r-1]=n.join("/"),{components:t,alpha:i}}var kd=/theme\(\s*(['"])?(.*?)\1?\s*\)/g;function xd(e){return e.includes("theme(")&&e.includes(")")}function du(e,t,r=!0){let n=Array.from(e.toString().matchAll(kd));if(!n.length)return e;let i=new ld(e);for(let a of n){let s=a[2];if(!s)throw new Error("theme() expect exact one argument, but got 0");let o=wd(s,t,r);o&&i.overwrite(a.index,a.index+a[0].length,o)}return i.toString()}function wd(e,t,r=!0){let[n,i]=e.split("/"),a=n.trim().split(".").reduce((s,o)=>s?.[o],t);if(typeof a=="object"&&(a=a.DEFAULT),typeof a=="string"){if(i){let s=Mt(a);s&&(a=vr(s,i))}return a}else if(r)throw new Error(`theme of "${e}" did not found`)}function Va(e){var t;let r=((t=e.match(/^-?\d+\.?\d*/))===null||t===void 0?void 0:t[0])||"",n=e.slice(r.length);if(n==="px"){let i=Number.parseFloat(r)-.1;return Number.isNaN(i)?e:`${i}${n}`}return`calc(${e} - 0.1px)`}function $d(e){let t=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=e[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(e))Object.defineProperty(t,n,{enumerable:!0,configurable:!0,get(){return r(this,n)}});return t}var hr="__pseudo_placeholder__",Ht=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(${hr})`],["nth-last",`:nth-last-child(${hr})`],["nth-last-of-type",`:nth-last-of-type(${hr})`],["nth-of-type",`:nth-of-type(${hr})`],"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(e=>Array.isArray(e)?e:[e,`:${e}`])),pu=Object.keys(Ht),Zt=Object.fromEntries([["backdrop","::backdrop"]].map(e=>Array.isArray(e)?e:[e,`:${e}`])),fu=Object.keys(Zt),Ed=["not","is","where","has"],mu=Object.fromEntries([["selection",["::selection"," *::selection"]],["marker",["::marker"," *::marker"]]]),oi=Object.entries(Ht).filter(([,e])=>!e.startsWith("::")).map(([e])=>e).sort((e,t)=>t.length-e.length).join("|"),si=Object.entries(Zt).filter(([,e])=>!e.startsWith("::")).map(([e])=>e).sort((e,t)=>t.length-e.length).join("|"),gt=Ed.join("|"),Ua=Object.keys(mu).sort((e,t)=>t.length-e.length).join("|"),Sd=["::-webkit-resizer","::-webkit-scrollbar","::-webkit-scrollbar-button","::-webkit-scrollbar-corner","::-webkit-scrollbar-thumb","::-webkit-scrollbar-track","::-webkit-scrollbar-track-piece","::file-selector-button"],Wa=Object.entries(Ht).map(([e])=>e).sort((e,t)=>t.length-e.length).join("|"),Ha=Object.entries(Zt).map(([e])=>e).sort((e,t)=>t.length-e.length).join("|");function Ad(e,t,r,n){let{h:i,variantGetBracket:a}=n,s=new RegExp(`^(${br(t)}:)(\\S+)${br(r)}\\1`),o,u,c,d,h=m=>{var f;let g=a(`${e}-`,m,[]);if(!g)return;let[v,y]=g,S=i.bracket(v);if(S==null)return;let $=((f=y.split(o,1))===null||f===void 0?void 0:f[0])??"",k=`${t}${Ke($)}`;return[$,m.slice(m.length-(y.length-$.length-1)),S.includes("&")?S.replace(/&/g,k):`${k}${S}`]},p=m=>{let f=m.match(u)||m.match(c);if(!f)return;let[g,v,y]=f,S=f[3]??"",$=Ht[y]||Zt[y]||`:${y}`;return v&&($=`:${v}(${$})`),[S,m.slice(g.length),`${t}${Ke(S)}${$}`,y]},l=m=>{let f=m.match(d);if(!f)return;let[g,v,y]=f,S=f[3]??"",$=`:${v}(${y})`;return[S,m.slice(g.length),`${t}${Ke(S)}${$}`]};return{name:`pseudo:${e}`,match(m,f){if(o&&u&&c||(o=new RegExp(`(?:${f.generator.config.separators.join("|")})`),u=new RegExp(`^${e}-(?:(?:(${gt})-)?(${oi}))(?:(/[\\w-]+))?(?:${f.generator.config.separators.join("|")})`),c=new RegExp(`^${e}-(?:(?:(${gt})-)?(${si}))(?:(/[\\w-]+))?(?:${f.generator.config.separators.filter(k=>k!=="-").join("|")})`),d=new RegExp(`^${e}-(?:(${gt})-)?\\[(.+)\\](?:(/[\\w-]+))?(?:${f.generator.config.separators.filter(k=>k!=="-").join("|")})`)),!m.startsWith(e))return;let g=h(m)||p(m)||l(m);if(!g)return;let[v,y,S,$=""]=g;return{matcher:y,handle:(k,x)=>x({...k,prefix:`${S}${r}${k.prefix}`.replace(s,"$1$2:"),sort:pu.indexOf($)??fu.indexOf($)})}},multiPass:!0}}function Cd(e){let{h:t}=e,r,n,i;return[{name:"pseudo",match(a,s){r&&n||(r=new RegExp(`^(${Wa})(?:-(\\d+|\\[(\\w|[+-.])+\\]))?(?:${s.generator.config.separators.join("|")})`),n=new RegExp(`^(${Ha})(?:${s.generator.config.separators.filter(u=>u!=="-").join("|")})`));let o=a.match(r)||a.match(n);if(o){let u=Ht[o[1]]||Zt[o[1]]||`:${o[1]}`;if(o[2]){let d;o[2].startsWith("[")&&o[2].endsWith("]")?d=t.bracket(o[2]):d=o[2],d&&(u=u.replace(hr,d))}let c=pu.indexOf(o[1]);return c===-1&&(c=fu.indexOf(o[1])),c===-1&&(c=void 0),{matcher:a.slice(o[0].length),handle:(d,h)=>{let p=u.includes("::")&&!Sd.includes(u)?{pseudo:`${d.pseudo}${u}`}:{selector:`${d.selector}${u}`};return h({...d,...p,sort:c,noMerge:!0})}}}},multiPass:!0,autocomplete:`(${Wa}|${Ha}):`},{name:"pseudo:multi",match(a,s){i||(i=new RegExp(`^(${Ua})(?:${s.generator.config.separators.join("|")})`));let o=a.match(i);if(o)return mu[o[1]].map(u=>({matcher:a.slice(o[0].length),handle:(c,d)=>d({...c,pseudo:`${c.pseudo}${u}`})}))},multiPass:!1,autocomplete:`(${Ua}):`}]}function _d(e){let{getBracket:t,h:r}=e,n,i,a;return{match(s,o){n&&i||(n=new RegExp(`^(${gt})-(${oi})(?:${o.generator.config.separators.join("|")})`),i=new RegExp(`^(${gt})-(${si})(?:${o.generator.config.separators.filter(c=>c!=="-").join("|")})`),a=new RegExp(`^(${gt})-(\\[.+\\])(?:${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=t(u[2],"[","]")?r.bracket(u[2]):Ht[u[2]]||Zt[u[2]]||`:${u[2]}`;return{matcher:s.slice(u[0].length),selector:h=>`${h}:${c}(${d})`}}},multiPass:!0,autocomplete:`(${gt})-(${oi}|${si}):`}}function Dd(e,t){let r=!!e?.attributifyPseudo,n=e?.prefix??"";n=Ke((Array.isArray(n)?n:[n]).filter(Boolean)[0]??"");let i=(a,s)=>Ad(a,r?`[${n}${a}=""]`:`.${n}${a}`,s,t);return[i("group"," "),i("peer","~"),i("parent",">"),i("previous","+")]}var Bd=/(part-\[(.+)\]:)(.+)/;function Od(){return{match(e){let t=e.match(Bd);if(t){let r=`part(${t[2]})`;return{matcher:e.slice(t[1].length),selector:n=>`${n}::${r}`}}},multiPass:!0}}function Re(e,t,r={}){let n;return{name:e,match(i,a){n||(n=new RegExp(`^${br(e)}(?:${a.generator.config.separators.join("|")})`));let s=i.match(n);if(s){let o=i.slice(s[0].length),u=J(t).map(c=>({matcher:o,handle:(d,h)=>h({...d,...c(d)}),...r}));return u.length===1?u[0]:u}},autocomplete:`${e}:`}}function ye(e,t){let r;return{name:e,match(n,i){r||(r=new RegExp(`^${br(e)}(?:${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} $$ `:""}${t}`})}},autocomplete:`${e}:`}}function wt(e,t,r){if(t.startsWith(`${e}[`)){let[n,i]=Dr(t.slice(e.length),"[","]")??[];if(n&&i){for(let a of r)if(i.startsWith(a))return[n,i.slice(a.length),a];return[n,i,""]}}}function Fe(e,t,r){for(let n of J(e))if(t.startsWith(n)){let i=wt(n,t,r);if(i){let[a="",s=i[1]]=Fe("/",i[1],r)??[];return[i[0],s,a]}for(let a of r.filter(s=>s!=="/")){let s=t.indexOf(a,n.length);if(s!==-1){let o=t.indexOf("/",n.length),u=o===-1||s<=o;return[t.slice(n.length,u?s:o),t.slice(s+a.length),u?"":t.slice(o+1,s)]}}}}function Md(e){let t,r,n=2166136261;for(t=0,r=e.length;t>>0).toString(36)}`.slice(-6)}function Fd(e,t,r,n){for(let i of Array.from(e.matchAll(r)))if(i!=null){let a=i[0],s=`${n}${Md(a)}`;t.set(s,a),e=e.replace(a,s)}return e}function Nd(e,t){for(let[r,n]of t.entries())e=e.replaceAll(r,n);return e}var Ld=/\/\/#\s*sourceMappingURL=.*\n?/g;function Td(e){return e.includes("sourceMappingURL=")?e.replace(Ld,""):e}var Pd=/(?:[\w&:[\]-]|\[\S{1,64}=\S{1,64}\]){1,64}\[\\?['"]?\S{1,64}?['"]\]\]?[\w:-]{0,64}/g,zd=/\[(\\\W|[\w-]){1,64}:[^\s:]{0,64}?("\S{1,64}?"|'\S{1,64}?'|`\S{1,64}?`|[^\s:]{1,64}?)[^\s:]{0,64}?\)?\]/g,jd=/^\[(?:\\\W|[\w-]){1,64}:['"]?\S{1,64}?['"]?\]$/;function Id(e){let t=[];for(let i of e.matchAll(zd))i.index!==0&&!/^[\s'"`]/.test(e[i.index-1]??"")||t.push(i[0]);for(let i of e.matchAll(Pd))t.push(i[0]);let r=new Map,n="@unocss-skip-arbitrary-brackets";return e=Fd(e,r,/-\[(?!&.+?;)[^\]]*\]/g,n),e&&e.split(eu).forEach(i=>{i.includes(n)&&(i=Nd(i,r)),$h(i)&&!jd.test(i)&&t.push(i)}),t}function Rd(){return{name:"@unocss/extractor-arbitrary-variants",order:0,extract({code:e}){return Id(Td(e))}}}var gu=[["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"]],qd={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]},z=e=>e.toFixed(7).replace(/0+$/,"").replace(/\.$/,""),pe=e=>`${z(e/16)}rem`,b=(e,t)=>`${z(e/t)}em`,Vd={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":b(32,16),"margin-bottom":b(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)"}},ui={sm:{"font-size":pe(14),"line-height":z(24/14),p:{"margin-top":b(16,14),"margin-bottom":b(16,14)},'[class~="lead"]':{"font-size":b(18,14),"line-height":z(28/18),"margin-top":b(16,18),"margin-bottom":b(16,18)},blockquote:{"margin-top":b(24,18),"margin-bottom":b(24,18),"padding-inline-start":b(20,18)},h1:{"font-size":b(30,14),"margin-top":"0","margin-bottom":b(24,30),"line-height":z(36/30)},h2:{"font-size":b(20,14),"margin-top":b(32,20),"margin-bottom":b(16,20),"line-height":z(28/20)},h3:{"font-size":b(18,14),"margin-top":b(28,18),"margin-bottom":b(8,18),"line-height":z(28/18)},h4:{"margin-top":b(20,14),"margin-bottom":b(8,14),"line-height":z(20/14)},img:{"margin-top":b(24,14),"margin-bottom":b(24,14)},picture:{"margin-top":b(24,14),"margin-bottom":b(24,14)},"picture > img":{"margin-top":"0","margin-bottom":"0"},video:{"margin-top":b(24,14),"margin-bottom":b(24,14)},kbd:{"font-size":b(12,14),"border-radius":pe(5),"padding-top":b(2,14),"padding-inline-end":b(5,14),"padding-bottom":b(2,14),"padding-inline-start":b(5,14)},code:{"font-size":b(12,14)},"h2 code":{"font-size":b(18,20)},"h3 code":{"font-size":b(16,18)},pre:{"font-size":b(12,14),"line-height":z(20/12),"margin-top":b(20,12),"margin-bottom":b(20,12),"border-radius":pe(4),"padding-top":b(8,12),"padding-inline-end":b(12,12),"padding-bottom":b(8,12),"padding-inline-start":b(12,12)},ol:{"margin-top":b(16,14),"margin-bottom":b(16,14),"padding-inline-start":b(22,14)},ul:{"margin-top":b(16,14),"margin-bottom":b(16,14),"padding-inline-start":b(22,14)},li:{"margin-top":b(4,14),"margin-bottom":b(4,14)},"ol > li":{"padding-inline-start":b(6,14)},"ul > li":{"padding-inline-start":b(6,14)},"> ul > li p":{"margin-top":b(8,14),"margin-bottom":b(8,14)},"> ul > li > p:first-child":{"margin-top":b(16,14)},"> ul > li > p:last-child":{"margin-bottom":b(16,14)},"> ol > li > p:first-child":{"margin-top":b(16,14)},"> ol > li > p:last-child":{"margin-bottom":b(16,14)},"ul ul, ul ol, ol ul, ol ol":{"margin-top":b(8,14),"margin-bottom":b(8,14)},dl:{"margin-top":b(16,14),"margin-bottom":b(16,14)},dt:{"margin-top":b(16,14)},dd:{"margin-top":b(4,14),"padding-inline-start":b(22,14)},hr:{"margin-top":b(40,14),"margin-bottom":b(40,14)},"hr + *":{"margin-top":"0"},"h2 + *":{"margin-top":"0"},"h3 + *":{"margin-top":"0"},"h4 + *":{"margin-top":"0"},table:{"font-size":b(12,14),"line-height":z(18/12)},"thead th":{"padding-inline-end":b(12,12),"padding-bottom":b(8,12),"padding-inline-start":b(12,12)},"thead th:first-child":{"padding-inline-start":"0"},"thead th:last-child":{"padding-inline-end":"0"},"tbody td, tfoot td":{"padding-top":b(8,12),"padding-inline-end":b(12,12),"padding-bottom":b(8,12),"padding-inline-start":b(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":b(24,14),"margin-bottom":b(24,14)},"figure > *":{"margin-top":"0","margin-bottom":"0"},figcaption:{"font-size":b(12,14),"line-height":z(16/12),"margin-top":b(8,12)},"> :first-child":{"margin-top":"0"},"> :last-child":{"margin-bottom":"0"}},base:{"font-size":pe(16),"line-height":z(28/16),p:{"margin-top":b(20,16),"margin-bottom":b(20,16)},'[class~="lead"]':{"font-size":b(20,16),"line-height":z(32/20),"margin-top":b(24,20),"margin-bottom":b(24,20)},blockquote:{"margin-top":b(32,20),"margin-bottom":b(32,20),"padding-inline-start":b(20,20)},h1:{"font-size":b(36,16),"margin-top":"0","margin-bottom":b(32,36),"line-height":z(40/36)},h2:{"font-size":b(24,16),"margin-top":b(48,24),"margin-bottom":b(24,24),"line-height":z(32/24)},h3:{"font-size":b(20,16),"margin-top":b(32,20),"margin-bottom":b(12,20),"line-height":z(32/20)},h4:{"margin-top":b(24,16),"margin-bottom":b(8,16),"line-height":z(24/16)},img:{"margin-top":b(32,16),"margin-bottom":b(32,16)},picture:{"margin-top":b(32,16),"margin-bottom":b(32,16)},"picture > img":{"margin-top":"0","margin-bottom":"0"},video:{"margin-top":b(32,16),"margin-bottom":b(32,16)},kbd:{"font-size":b(14,16),"border-radius":pe(5),"padding-top":b(3,16),"padding-inline-end":b(6,16),"padding-bottom":b(3,16),"padding-inline-start":b(6,16)},code:{"font-size":b(14,16)},"h2 code":{"font-size":b(21,24)},"h3 code":{"font-size":b(18,20)},pre:{"font-size":b(14,16),"line-height":z(24/14),"margin-top":b(24,14),"margin-bottom":b(24,14),"border-radius":pe(6),"padding-top":b(12,14),"padding-inline-end":b(16,14),"padding-bottom":b(12,14),"padding-inline-start":b(16,14)},ol:{"margin-top":b(20,16),"margin-bottom":b(20,16),"padding-inline-start":b(26,16)},ul:{"margin-top":b(20,16),"margin-bottom":b(20,16),"padding-inline-start":b(26,16)},li:{"margin-top":b(8,16),"margin-bottom":b(8,16)},"ol > li":{"padding-inline-start":b(6,16)},"ul > li":{"padding-inline-start":b(6,16)},"> ul > li p":{"margin-top":b(12,16),"margin-bottom":b(12,16)},"> ul > li > p:first-child":{"margin-top":b(20,16)},"> ul > li > p:last-child":{"margin-bottom":b(20,16)},"> ol > li > p:first-child":{"margin-top":b(20,16)},"> ol > li > p:last-child":{"margin-bottom":b(20,16)},"ul ul, ul ol, ol ul, ol ol":{"margin-top":b(12,16),"margin-bottom":b(12,16)},dl:{"margin-top":b(20,16),"margin-bottom":b(20,16)},dt:{"margin-top":b(20,16)},dd:{"margin-top":b(8,16),"padding-inline-start":b(26,16)},hr:{"margin-top":b(48,16),"margin-bottom":b(48,16)},"hr + *":{"margin-top":"0"},"h2 + *":{"margin-top":"0"},"h3 + *":{"margin-top":"0"},"h4 + *":{"margin-top":"0"},table:{"font-size":b(14,16),"line-height":z(24/14)},"thead th":{"padding-inline-end":b(8,14),"padding-bottom":b(8,14),"padding-inline-start":b(8,14)},"thead th:first-child":{"padding-inline-start":"0"},"thead th:last-child":{"padding-inline-end":"0"},"tbody td, tfoot td":{"padding-top":b(8,14),"padding-inline-end":b(8,14),"padding-bottom":b(8,14),"padding-inline-start":b(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":b(32,16),"margin-bottom":b(32,16)},"figure > *":{"margin-top":"0","margin-bottom":"0"},figcaption:{"font-size":b(14,16),"line-height":z(20/14),"margin-top":b(12,14)},"> :first-child":{"margin-top":"0"},"> :last-child":{"margin-bottom":"0"}},lg:{"font-size":pe(18),"line-height":z(32/18),p:{"margin-top":b(24,18),"margin-bottom":b(24,18)},'[class~="lead"]':{"font-size":b(22,18),"line-height":z(32/22),"margin-top":b(24,22),"margin-bottom":b(24,22)},blockquote:{"margin-top":b(40,24),"margin-bottom":b(40,24),"padding-inline-start":b(24,24)},h1:{"font-size":b(48,18),"margin-top":"0","margin-bottom":b(40,48),"line-height":z(48/48)},h2:{"font-size":b(30,18),"margin-top":b(56,30),"margin-bottom":b(32,30),"line-height":z(40/30)},h3:{"font-size":b(24,18),"margin-top":b(40,24),"margin-bottom":b(16,24),"line-height":z(36/24)},h4:{"margin-top":b(32,18),"margin-bottom":b(8,18),"line-height":z(28/18)},img:{"margin-top":b(32,18),"margin-bottom":b(32,18)},picture:{"margin-top":b(32,18),"margin-bottom":b(32,18)},"picture > img":{"margin-top":"0","margin-bottom":"0"},video:{"margin-top":b(32,18),"margin-bottom":b(32,18)},kbd:{"font-size":b(16,18),"border-radius":pe(5),"padding-top":b(4,18),"padding-inline-end":b(8,18),"padding-bottom":b(4,18),"padding-inline-start":b(8,18)},code:{"font-size":b(16,18)},"h2 code":{"font-size":b(26,30)},"h3 code":{"font-size":b(21,24)},pre:{"font-size":b(16,18),"line-height":z(28/16),"margin-top":b(32,16),"margin-bottom":b(32,16),"border-radius":pe(6),"padding-top":b(16,16),"padding-inline-end":b(24,16),"padding-bottom":b(16,16),"padding-inline-start":b(24,16)},ol:{"margin-top":b(24,18),"margin-bottom":b(24,18),"padding-inline-start":b(28,18)},ul:{"margin-top":b(24,18),"margin-bottom":b(24,18),"padding-inline-start":b(28,18)},li:{"margin-top":b(12,18),"margin-bottom":b(12,18)},"ol > li":{"padding-inline-start":b(8,18)},"ul > li":{"padding-inline-start":b(8,18)},"> ul > li p":{"margin-top":b(16,18),"margin-bottom":b(16,18)},"> ul > li > p:first-child":{"margin-top":b(24,18)},"> ul > li > p:last-child":{"margin-bottom":b(24,18)},"> ol > li > p:first-child":{"margin-top":b(24,18)},"> ol > li > p:last-child":{"margin-bottom":b(24,18)},"ul ul, ul ol, ol ul, ol ol":{"margin-top":b(16,18),"margin-bottom":b(16,18)},dl:{"margin-top":b(24,18),"margin-bottom":b(24,18)},dt:{"margin-top":b(24,18)},dd:{"margin-top":b(12,18),"padding-inline-start":b(28,18)},hr:{"margin-top":b(56,18),"margin-bottom":b(56,18)},"hr + *":{"margin-top":"0"},"h2 + *":{"margin-top":"0"},"h3 + *":{"margin-top":"0"},"h4 + *":{"margin-top":"0"},table:{"font-size":b(16,18),"line-height":z(24/16)},"thead th":{"padding-inline-end":b(12,16),"padding-bottom":b(12,16),"padding-inline-start":b(12,16)},"thead th:first-child":{"padding-inline-start":"0"},"thead th:last-child":{"padding-inline-end":"0"},"tbody td, tfoot td":{"padding-top":b(12,16),"padding-inline-end":b(12,16),"padding-bottom":b(12,16),"padding-inline-start":b(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":b(32,18),"margin-bottom":b(32,18)},"figure > *":{"margin-top":"0","margin-bottom":"0"},figcaption:{"font-size":b(16,18),"line-height":z(24/16),"margin-top":b(16,16)},"> :first-child":{"margin-top":"0"},"> :last-child":{"margin-bottom":"0"}},xl:{"font-size":pe(20),"line-height":z(36/20),p:{"margin-top":b(24,20),"margin-bottom":b(24,20)},'[class~="lead"]':{"font-size":b(24,20),"line-height":z(36/24),"margin-top":b(24,24),"margin-bottom":b(24,24)},blockquote:{"margin-top":b(48,30),"margin-bottom":b(48,30),"padding-inline-start":b(32,30)},h1:{"font-size":b(56,20),"margin-top":"0","margin-bottom":b(48,56),"line-height":z(56/56)},h2:{"font-size":b(36,20),"margin-top":b(56,36),"margin-bottom":b(32,36),"line-height":z(40/36)},h3:{"font-size":b(30,20),"margin-top":b(48,30),"margin-bottom":b(20,30),"line-height":z(40/30)},h4:{"margin-top":b(36,20),"margin-bottom":b(12,20),"line-height":z(32/20)},img:{"margin-top":b(40,20),"margin-bottom":b(40,20)},picture:{"margin-top":b(40,20),"margin-bottom":b(40,20)},"picture > img":{"margin-top":"0","margin-bottom":"0"},video:{"margin-top":b(40,20),"margin-bottom":b(40,20)},kbd:{"font-size":b(18,20),"border-radius":pe(5),"padding-top":b(5,20),"padding-inline-end":b(8,20),"padding-bottom":b(5,20),"padding-inline-start":b(8,20)},code:{"font-size":b(18,20)},"h2 code":{"font-size":b(31,36)},"h3 code":{"font-size":b(27,30)},pre:{"font-size":b(18,20),"line-height":z(32/18),"margin-top":b(36,18),"margin-bottom":b(36,18),"border-radius":pe(8),"padding-top":b(20,18),"padding-inline-end":b(24,18),"padding-bottom":b(20,18),"padding-inline-start":b(24,18)},ol:{"margin-top":b(24,20),"margin-bottom":b(24,20),"padding-inline-start":b(32,20)},ul:{"margin-top":b(24,20),"margin-bottom":b(24,20),"padding-inline-start":b(32,20)},li:{"margin-top":b(12,20),"margin-bottom":b(12,20)},"ol > li":{"padding-inline-start":b(8,20)},"ul > li":{"padding-inline-start":b(8,20)},"> ul > li p":{"margin-top":b(16,20),"margin-bottom":b(16,20)},"> ul > li > p:first-child":{"margin-top":b(24,20)},"> ul > li > p:last-child":{"margin-bottom":b(24,20)},"> ol > li > p:first-child":{"margin-top":b(24,20)},"> ol > li > p:last-child":{"margin-bottom":b(24,20)},"ul ul, ul ol, ol ul, ol ol":{"margin-top":b(16,20),"margin-bottom":b(16,20)},dl:{"margin-top":b(24,20),"margin-bottom":b(24,20)},dt:{"margin-top":b(24,20)},dd:{"margin-top":b(12,20),"padding-inline-start":b(32,20)},hr:{"margin-top":b(56,20),"margin-bottom":b(56,20)},"hr + *":{"margin-top":"0"},"h2 + *":{"margin-top":"0"},"h3 + *":{"margin-top":"0"},"h4 + *":{"margin-top":"0"},table:{"font-size":b(18,20),"line-height":z(28/18)},"thead th":{"padding-inline-end":b(12,18),"padding-bottom":b(16,18),"padding-inline-start":b(12,18)},"thead th:first-child":{"padding-inline-start":"0"},"thead th:last-child":{"padding-inline-end":"0"},"tbody td, tfoot td":{"padding-top":b(16,18),"padding-inline-end":b(12,18),"padding-bottom":b(16,18),"padding-inline-start":b(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":b(40,20),"margin-bottom":b(40,20)},"figure > *":{"margin-top":"0","margin-bottom":"0"},figcaption:{"font-size":b(18,20),"line-height":z(28/18),"margin-top":b(18,18)},"> :first-child":{"margin-top":"0"},"> :last-child":{"margin-bottom":"0"}},"2xl":{"font-size":pe(24),"line-height":z(40/24),p:{"margin-top":b(32,24),"margin-bottom":b(32,24)},'[class~="lead"]':{"font-size":b(30,24),"line-height":z(44/30),"margin-top":b(32,30),"margin-bottom":b(32,30)},blockquote:{"margin-top":b(64,36),"margin-bottom":b(64,36),"padding-inline-start":b(40,36)},h1:{"font-size":b(64,24),"margin-top":"0","margin-bottom":b(56,64),"line-height":z(64/64)},h2:{"font-size":b(48,24),"margin-top":b(72,48),"margin-bottom":b(40,48),"line-height":z(52/48)},h3:{"font-size":b(36,24),"margin-top":b(56,36),"margin-bottom":b(24,36),"line-height":z(44/36)},h4:{"margin-top":b(40,24),"margin-bottom":b(16,24),"line-height":z(36/24)},img:{"margin-top":b(48,24),"margin-bottom":b(48,24)},picture:{"margin-top":b(48,24),"margin-bottom":b(48,24)},"picture > img":{"margin-top":"0","margin-bottom":"0"},video:{"margin-top":b(48,24),"margin-bottom":b(48,24)},kbd:{"font-size":b(20,24),"border-radius":pe(6),"padding-top":b(6,24),"padding-inline-end":b(8,24),"padding-bottom":b(6,24),"padding-inline-start":b(8,24)},code:{"font-size":b(20,24)},"h2 code":{"font-size":b(42,48)},"h3 code":{"font-size":b(32,36)},pre:{"font-size":b(20,24),"line-height":z(36/20),"margin-top":b(40,20),"margin-bottom":b(40,20),"border-radius":pe(8),"padding-top":b(24,20),"padding-inline-end":b(32,20),"padding-bottom":b(24,20),"padding-inline-start":b(32,20)},ol:{"margin-top":b(32,24),"margin-bottom":b(32,24),"padding-inline-start":b(38,24)},ul:{"margin-top":b(32,24),"margin-bottom":b(32,24),"padding-inline-start":b(38,24)},li:{"margin-top":b(12,24),"margin-bottom":b(12,24)},"ol > li":{"padding-inline-start":b(10,24)},"ul > li":{"padding-inline-start":b(10,24)},"> ul > li p":{"margin-top":b(20,24),"margin-bottom":b(20,24)},"> ul > li > p:first-child":{"margin-top":b(32,24)},"> ul > li > p:last-child":{"margin-bottom":b(32,24)},"> ol > li > p:first-child":{"margin-top":b(32,24)},"> ol > li > p:last-child":{"margin-bottom":b(32,24)},"ul ul, ul ol, ol ul, ol ol":{"margin-top":b(16,24),"margin-bottom":b(16,24)},dl:{"margin-top":b(32,24),"margin-bottom":b(32,24)},dt:{"margin-top":b(32,24)},dd:{"margin-top":b(12,24),"padding-inline-start":b(38,24)},hr:{"margin-top":b(72,24),"margin-bottom":b(72,24)},"hr + *":{"margin-top":"0"},"h2 + *":{"margin-top":"0"},"h3 + *":{"margin-top":"0"},"h4 + *":{"margin-top":"0"},table:{"font-size":b(20,24),"line-height":z(28/20)},"thead th":{"padding-inline-end":b(12,20),"padding-bottom":b(16,20),"padding-inline-start":b(12,20)},"thead th:first-child":{"padding-inline-start":"0"},"thead th:last-child":{"padding-inline-end":"0"},"tbody td, tfoot td":{"padding-top":b(16,20),"padding-inline-end":b(12,20),"padding-bottom":b(16,20),"padding-inline-start":b(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":b(48,24),"margin-bottom":b(48,24)},"figure > *":{"margin-top":"0","margin-bottom":"0"},figcaption:{"font-size":b(20,24),"line-height":z(32/20),"margin-top":b(20,20)},"> :first-child":{"margin-top":"0"},"> :last-child":{"margin-bottom":"0"}}};function Ud(e){let t=mr(qd);if(e)for(let r in e){let[n,i]=J(e[r]),[a,s]=t[r];t[r]=[n??a,i??s]}return t}function Wd(e){return e?yr(ui,e):ui}function Za(e,t){let r=t.selectorName||"prose",n=`:not(:where([class~="not-${r}"],[class~="not-${r}"] *))`,i=t.important===!0,a="";for(let[s,o]of Object.entries(e))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 Hd(e){for(let[t,...r]of gu)if(t===e)return r.length>0?r:[t]}var Zd=e=>{let t=e?.selectorName??"prose",r=e?.compatibility?.noColonNot||e?.compatibility?.noColonWhere,n=e?.cssVarPrefix??"--un-prose",i=Ud(e?.colorScheme),a=Wd(e?.sizeScheme),s=(h,p)=>{let l=yr(h,(typeof e?.cssExtend=="function"?e?.cssExtend(p):e?.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 e?.important=="string"&&(h=`${e.important} ${h}`),e?.compatibility?.noColonIs||(h=`:is(${h})`),h),u=new RegExp(`^${t}-default$`),c=new RegExp(`^${t}-([-\\w]+)$`),d=new RegExp(`^${t}-(${Object.keys(a).join("|")})$`);return{name:"@unocss/preset-typography",enforce:"post",layers:{typography:-20},shortcuts:[[t,[`${t}-default`,`${t}-gray`],{layer:"typography"}]],rules:[[u,(h,{symbols:p,theme:l})=>{let m=Za(s(yr(Vd,ui.base),l),e??{});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,[g,v])=>{let[y,S]=v,$=A=>m[A]??p[A]??A,k=$(y),x=$(S),w=`${n}-${g}`,E=`${n}-invert-${g}`;f[w]=vr(k,`var(${w}-opacity)`),f[E]=vr(x,`var(${E}-opacity)`);for(let[A,_]of[[k,`${w}-opacity`],[x,`${E}-opacity`]])lu.some(D=>A.includes(D))&&(f[_]="1");return f},{[l.selector]:o})},{layer:"typography",autocomplete:`${t}-$colors`}],[d,([,h],{symbols:p,theme:l})=>{let m=Za(s(a[h],l),e??{});return{[p.body]:m,[p.selector]:o}},{layer:"typography",autocomplete:`${t}-(${Object.keys(a).join("|")})`}],[`${t}-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(`${t}-`)){let p=new RegExp(`^${t}-(\\w+)[:-].+$`),l=h.match(p)?.[1];if(l){let m=Hd(l);if(m?.length)return{matcher:h.slice(t.length+l.length+2),selector:f=>{let g=`:not(:where([class~="not-${t}"],[class~="not-${t}"] *))`;return r?m.map(v=>`${f} ${v}`).join(","):`${f} :is(:where(${m})${g})`}}}}},autocomplete:`${t}-(${gu.map(h=>`${h[0]}:`).join("|")})`}]}};function Yd({important:e}){if(e==null||e===!1)return[];let t=r=>r.startsWith(":is(")&&r.endsWith(")")?r:r.includes("::")?r.replace(/(.*?)((?:\s\*)?::.*)/,":is($1)$2"):`:is(${r})`;return[r=>{r.layer!=="properties"&&(e===!0?r.entries.forEach(n=>{n[1]!=null&&!String(n[1]).endsWith("!important")&&(n[1]+=" !important")}):r.selector.startsWith(e)||(r.selector=`${e} ${t(r.selector)}`))}]}function Gd({variablePrefix:e}){return e!=="un-"?[t=>{t.layer==="properties"&&(t.selector=t.selector.replace(/^@property --un-/,`@property --${e}`)),t.entries.forEach(r=>{r[0]=r[0].replace(/^--un-/,`--${e}`),typeof r[1]=="string"&&(r[1]=r[1].replace(/var\(--un-/g,`var(--${e}`))})}]:[]}function Jd(e){return[Yd,Gd].flatMap(t=>t(e))}var Ya=Object.defineProperty,Kd=(e,t)=>{let r={};for(var n in e)Ya(r,n,{get:e[n],enumerable:!0});return t||Ya(r,Symbol.toStringTag,{value:"Module"}),r},Xd="@unocss/preset-wind4",Qd="$$mini-no-negative",fn={transparent:"transparent",current:"currentColor",inherit:"inherit"},qe={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"]},Ga={...qe,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"]},Zr={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"]},bu={x:["-x"],y:["-y"],z:["-z"],"":["-x","-y"]},ep=["x","y","z"],Ja=["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"],be=Object.assign({},...Ja.map(e=>({[e.replace(/ /,"-")]:e})),...Ja.map(e=>({[e.replace(/\b(\w)\w+/g,"$1").replace(/ /,"")]:e}))),ee=["inherit","initial","revert","revert-layer","unset"],Oi=/^(calc|clamp|min|max)\s*\((.+)\)(.*)/,tp=/^(var)\s*\((.+)\)(.*)/,mn=/^(-?\d*(?:\.\d+)?)(px|pt|pc|%|r?(?:em|ex|lh|cap|ch|ic)|(?:[sld]?v|cq)(?:[whib]|min|max)|in|cm|mm|rpx)?$/i,rp=/^(-?\d*(?:\.\d+)?)$/,yu=/^(px|[sld]?v[wh])$/i,vu={px:1,vw:100,vh:100,svw:100,svh:100,dvw:100,dvh:100,lvh:100,lvw:100},Mi=/^\[(color|image|length|size|position|quoted|string|number|family):/i,np=/,(?![^()]*\))/g,ip=/(?up,bracket:()=>fp,bracketOfColor:()=>mp,bracketOfFamily:()=>yp,bracketOfLength:()=>gp,bracketOfNumber:()=>vp,bracketOfPosition:()=>bp,cssvar:()=>kp,degree:()=>wp,fraction:()=>dp,global:()=>$p,none:()=>Ap,number:()=>ku,numberWithUnit:()=>sp,percent:()=>hp,position:()=>Sp,properties:()=>Ep,px:()=>cp,rem:()=>lp,time:()=>xp}),op=["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 Ve(e){return+e.toFixed(10)}function sp(e){let t=e.match(mn);if(!t)return;let[,r,n]=t,i=Number.parseFloat(r);if(n&&!Number.isNaN(i))return`${Ve(i)}${n}`}function up(e){if(e==="auto"||e==="a")return"auto"}function lp(e){if(!e)return;if(yu.test(e))return`${vu[e]}${e}`;let t=e.match(mn);if(!t)return;let[,r,n]=t,i=Number.parseFloat(r);if(!Number.isNaN(i))return i===0?"0":n?`${Ve(i)}${n}`:`${Ve(i/4)}rem`}function cp(e){if(yu.test(e))return`${vu[e]}${e}`;let t=e.match(mn);if(!t)return;let[,r,n]=t,i=Number.parseFloat(r);if(!Number.isNaN(i))return n?`${Ve(i)}${n}`:`${Ve(i)}px`}function ku(e){if(!rp.test(e))return;let t=Number.parseFloat(e);if(!Number.isNaN(t))return Ve(t)}function hp(e){e.endsWith("%")&&(e=e.slice(0,-1));let t=ku(e);if(t!=null)return`${t}%`}function dp(e){if(!e)return;if(e==="full")return"100%";let[t,r]=e.split("/"),n=Number.parseFloat(t)/Number.parseFloat(r);if(!Number.isNaN(n))return n===0?"0":`${Ve(n*100)}%`}function pp(e,t,r,n){let i=kr(e,t,r),a=typeof i=="object"&&"DEFAULT"in i;a&&r.push("DEFAULT");let s=a?i.DEFAULT:i,o=a&&t!=="spacing"?`${n}.DEFAULT`:n;return s!=null&&R(t,r.length?r:void 0),{val:s,varKey:o}}function vt(e,t,r){if(e&&e.startsWith("[")&&e.endsWith("]")){let n,i,a=e.match(Mi);if(!a)n=e.slice(1,-1);else{if(!t)i=a[1];else if(a[1]!==t)return;n=e.slice(a[0].length,-1)}if(!n||n==='=""')return;r&&(n=du(n,r));let s=Array.from(n.matchAll(ip));for(let u of s){let[c,d,h]=u;if(r){let[p,...l]=d.split("."),{val:m,varKey:f}=pp(r,p,l,d);if(m!=null){let g=`--${f.replaceAll(".","-")}`;if(h&&!h.startsWith(","))n=n.replace(c,`calc(var(${g}) * ${h.slice(1,-1)})`);else{let v=h?.slice(1);n=n.replace(c,`var(${g}${v?`, ${v}`:""})`)}continue}}n=n.replace(c,`var(${c})`)}let o=0;for(let u of n)if(u==="[")o+=1;else if(u==="]"&&(o-=1,o<0))return;if(o)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,u=>u.replace(/_/g,"\\_")).replace(/(^|[^\\])_/g,"$1 ").replace(/\\_/g,"_").replace(/(?:calc|clamp|max|min)\((.*)/g,u=>{let c=[];return u.replace(/var\((--.+?)[,)]/g,(d,h)=>(c.push(h),d.replace(h,"--un-calc"))).replace(/(-?\d*\.?\d(?!-\d.+[,)](?![^+\-/*])\D)(?:%|[a-z]+)?|\))([+\-/*])/g,"$1 $2 ").replace(/--un-calc/g,()=>c.shift())})}}function fp(e,t){return vt(e,void 0,t)}function mp(e,t){return vt(e,"color",t)}function gp(e,t){return vt(e,"length",t)||vt(e,"size",t)}function bp(e,t){return vt(e,"position",t)}function yp(e,t){return vt(e,"family",t)}function vp(e,t){return vt(e,"number",t)}function kp(e){if(e.startsWith("var("))return e;let t=e.match(/^(?:\$|--)([^\s'"`;{}]+)$/);if(t){let[r,n]=t[1].split(",");return`var(--${Ke(r)}${n?`, ${n}`:""})`}}function xp(e){let t=e.match(/^(-?[0-9.]+)(s|ms)?$/i);if(!t)return;let[,r,n]=t,i=Number.parseFloat(r);if(!Number.isNaN(i))return i===0&&!n?"0s":n?`${Ve(i)}${n}`:`${Ve(i)}ms`}function wp(e){let t=e.match(/^(-?[0-9.]+)(deg|rad|grad|turn)?$/i);if(!t)return;let[,r,n]=t,i=Number.parseFloat(r);if(!Number.isNaN(i))return i===0?"0deg":n?`${Ve(i)}${n}`:`${Ve(i)}deg`}function $p(e){if(ee.includes(e))return e}function Ep(e){if(e.split(",").every(t=>op.includes(t)))return e}function Sp(e){if(["top","left","right","bottom","center"].includes(e))return e}function Ap(e){if(e==="none")return"none"}var Cp=$d(ap),C=Cp;function _e(e,t){let r=C.number(e)??t;if(r!=null){let n=Number(r);return String(r).endsWith("%")&&(n=Number(String(r).slice(0,-1))/100),n}}function Y(e,t=qe,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 R("spacing"),t[i].map(c=>[r(e,c),`calc(var(--spacing) * ${u?"-":""}${o})`]);if(s.spacing&&a in s.spacing)return R("spacing",a),t[i].map(c=>[r(e,c),u?`calc(var(--${Ke(`spacing-${a}`)}) * -1)`:`var(--${Ke(`spacing-${a}`)})`]);if(o=C.bracket.cssvar.global.auto.fraction.rem(u?`-${a}`:a,s),o!=null)return t[i].map(c=>[r(e,c),o])}})}function gn(e,t){let r,[n,...i]=ct(e,["/",":"],3)??[];if(n!=null){let f=(n.match(Mi)??[])[1];(f==null||f==="color")&&(r=[n,...i])}if(!r)return;let a,[s,o,u]=r;qa(o)||qa(C.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=Ka(t,c);if(!h&&c.length>=2){let f=c.at(-1),g=c.at(-2);/^\d+$/.test(f)&&(h=Ka(t,c.slice(0,-2).concat([`${g}${f}`])))}let{no:p,keys:l,color:m}=h??{};if(!m){let f=C.bracketOfColor(s,t),g=f||s;if(C.numberWithUnit(g))return;/^#[\da-f]+$/i.test(g)?m=g:/^hex-[\da-fA-F]+$/.test(g)?m=`#${g.slice(4)}`:s.startsWith("$")&&(m=C.cssvar(s)),m=m||f}return{opacity:a,modifier:u&&C.bracket.cssvar(u)||u,name:d,no:p,color:m??fn[d],alpha:C.bracket.cssvar.percent(a??""),keys:l,get cssColor(){return Mt(this.color)}}}function Ka(e,t){let r,n,i,a=kr(e,"colors",t);if(typeof a=="object"?"DEFAULT"in a&&(r=a.DEFAULT,n="DEFAULT",i=[...t,n]):typeof a=="string"&&(r=a,i=t,n=t.at(-1)),!!r)return{color:r,no:n,keys:i}}function kr(e,t,r){let n=e[t];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 xu(e,t,r,n){if(!e)return;let{color:i,keys:a,alpha:s,modifier:o}=e,u=n?.generator.config.envMode==="dev"&&i?` /* ${i} */`:"",c={};if(i){let d=[c],h=i.includes("var("),p=Object.values(fn).includes(i);if(p&&!s)return c[t]=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[t]=`color-mix(${f}, ${m} ${s??`var(${l})`}, transparent)${u}`,d.push(P(l,{syntax:"",initialValue:"100%"})),!p){if(a&&!h&&(R("colors",a),!o)){let g=["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,[t]:`color-mix(in oklab, ${g}, transparent)${u}`})}n?.theme&&yn(i,n.theme)}return d}}function Q(e,t){return([,r],n)=>{let i=gn(r??"",n.theme);if(i)return xu(i,e,t,n)}}function Fi(e,t,r){let n=[];e=J(e);for(let i=0;iNumber.parseInt(a[1].replace(Xa,""))-Number.parseInt(s[1].replace(Xa,""))).map(([a,s])=>({point:a,size:s}));return Pn.set(e,i),i}function q(e,t){return ee.map(r=>[`${e}-${r}`,{[t??e]:r}])}function P(e,t={}){let{syntax:r="*",inherits:n=!1,initialValue:i}=t,a={[re.shortcutsNoMerge]:!0,[re.noMerge]:!0,[re.noScope]:!0,[re.variants]:()=>[{parent:"",layer:"properties",selector:()=>`@property ${e}`}],syntax:JSON.stringify(r),inherits:n?"true":"false"};return i!=null&&(a["initial-value"]=i),Dp(e,i?String(i):"initial"),a}function Br(e){return e!=null&&Oi.test(e)}function _p(e){return e[0]==="["&&e.slice(-1)==="]"&&(e=e.slice(1,-1)),Oi.test(e)||mn.test(e)}function li(e){return e.replace(/(?:^|\B)([A-Z])/g,"-$1").toLowerCase()}function wu(e,t=!1){return t?e.trim():e.trim().replace(/\s+/g," ").replace(/\/\*[\s\S]*?\*\//g,"")}var Pt=new Set([]);function R(e,t="DEFAULT"){let r=`${e}:${J(t).join("-")}`;Pt.has(r)||Pt.add(r)}function X(e,t){return`var(--${e}-${J(t).join("-")})`}function yn(e,t){if(e.startsWith("var(")){let r=e.match(/var\(--([\w-]+)(?:,.*)?\)/)?.[1];if(r){let[n,...i]=r.split("-"),a=kr(t,n,i);typeof a=="string"&&(R(n,i),yn(a,t))}}}var zt=new Map;function Dp(e,t){zt.has(e)||zt.set(e,t)}var Bp=[[/^@container(?:\/(\w+))?(?:-(normal))?$/,([,e,t])=>({"container-type":t??"inline-size","container-name":e})]],Op=/@media \(min-width: (.+)\)/,Mp=[[/^__container$/,(e,t)=>{let{theme:r,variantHandlers:n}=t,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(Op)?.[1];if(h){let p=(bn(t)??[]).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}]],Fp=[[/^(?:(\w+)[:-])?container$/,([,e],t)=>{let r=(bn(t)??[]).map(i=>i.point);if(e){if(!r.includes(e))return;r=r.slice(r.indexOf(e))}let n=r.map(i=>`${i}:__container`);return e||n.unshift("__container"),n}]],Qa={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(e=>[e,e]))},Np=[[/^(?:vertical|align|v)-(.+)$/,([,e])=>({"vertical-align":Qa[e]??C.bracket.cssvar.numberWithUnit(e)}),{autocomplete:[`(vertical|align|v)-(${Object.keys(Qa).join("|")})`,"(vertical|align|v)-"]}]],eo=["center","left","right","justify","start","end"],Lp=[...eo.map(e=>[`text-${e}`,{"text-align":e}]),...[...ee,...eo].map(e=>[`text-align-${e}`,{"text-align":e}])],Tp=[[/^(?:animate-)?keyframes-(.+)$/,([,e],{theme:t})=>{let r=t.animation?.keyframes?.[e];if(r)return[`@keyframes ${e}${r}`,{animation:e}]},{autocomplete:["animate-keyframes-$animation.keyframes","keyframes-$animation.keyframes"]}],[/^animate-(.+)$/,([,e],{theme:t})=>{let r=t.animation?.keyframes?.[e];if(r){let n=t.animation?.durations?.[e]??"1s",i=t.animation?.timingFns?.[e]??"linear",a=t.animation?.counts?.[e]??1,s=t.animation?.properties?.[e];return[`@keyframes ${e}${r}`,{animation:`${e} ${n} ${i} ${a}`,...s}]}return{animation:C.bracket.cssvar(e)}},{autocomplete:"animate-$animation.keyframes"}],[/^animate-name-(.+)/,([,e])=>({"animation-name":C.bracket.cssvar(e)??e})],[/^animate-duration-(.+)$/,([,e],{theme:t})=>({"animation-duration":t.duration?.[e||"DEFAULT"]??C.bracket.cssvar.time(e)}),{autocomplete:["animate-duration"]}],[/^animate-delay-(.+)$/,([,e],{theme:t})=>({"animation-delay":t.duration?.[e||"DEFAULT"]??C.bracket.cssvar.time(e)}),{autocomplete:["animate-delay"]}],[/^animate-ease(?:-(.+))?$/,([,e],{theme:t})=>({"animation-timing-function":t.ease?.[e||"DEFAULT"]??C.bracket.cssvar(e)}),{autocomplete:["animate-ease","animate-ease-$ease"]}],[/^animate-(fill-mode-|fill-|mode-)?(.+)$/,([,e,t])=>["none","forwards","backwards","both",e?ee:[]].includes(t)?{"animation-fill-mode":t}: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-)?(.+)$/,([,e,t])=>["normal","reverse","alternate","alternate-reverse",e?ee:[]].includes(t)?{"animation-direction":t}: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-)(.+)$/,([,e])=>({"animation-iteration-count":C.bracket.cssvar(e)??e.replace(/-/g,",")}),{autocomplete:["animate-(iteration|count|iteration-count)","animate-(iteration|count|iteration-count)-"]}],[/^animate-(play-state-|play-|state-)?(.+)$/,([,e,t])=>["paused","running",e?ee:[]].includes(t)?{"animation-play-state":t}: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"}],...q("animate","animation")],$u={"gradient-position":P("--un-gradient-position"),"gradient-from":P("--un-gradient-from",{syntax:"",initialValue:"#0000"}),"gradient-via":P("--un-gradient-via",{syntax:"",initialValue:"#0000"}),"gradient-to":P("--un-gradient-to",{syntax:"",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:"",initialValue:"0%"}),"gradient-via-position":P("--un-gradient-via-position",{syntax:"",initialValue:"50%"}),"gradient-to-position":P("--un-gradient-to-position",{syntax:"",initialValue:"100%"})};function to(e){let t="in oklab";if(e)if(e.startsWith("[")&&e.endsWith("]"))t=e.slice(1,-1);else switch(e){case"longer":case"shorter":case"increasing":case"decreasing":t=`in oklch ${e} hue`;break;default:t=`in ${e}`}return t}function Pp(){return function*([,e,t],{theme:r}){let n={},i=gn(t,r);if(i){let{color:a,keys:s,alpha:o}=i;if(a){if(Object.values(fn).includes(a))n[`--un-gradient-${e}`]=a;else{n[`--un-${e}-opacity`]=o;let u=s?X("colors",s):a;n[`--un-gradient-${e}`]=`color-mix(in oklab, ${u} var(--un-${e}-opacity), transparent)`,yield P(`--un-${e}-opacity`,{syntax:"",initialValue:"100%"})}s&&R("colors",s),r&&yn(a,r)}}else n[`--un-gradient-${e}`]=C.bracket.cssvar(t);if(n[`--un-gradient-${e}`]){switch(e){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($u))yield a}}}function zp(){return function*([,e,t]){yield{[`--un-gradient-${e}-position`]:`${C.bracket.cssvar.percent(t)}`};for(let r of Object.values($u))yield r}}var jp=[[/^bg-(linear|radial|conic)-([^/]+)(?:\/(.+))?$/,([,e,t,r])=>{let n;if(C.number(t)!=null?n=`from ${C.number(t)}deg ${to(r)};`:n=C.bracket(t),n)return{"--un-gradient-position":n,"background-image":`${e}-gradient(var(--un-gradient-stops))`}},{autocomplete:["bg-(linear|radial|conic)","(from|to|via)-$colors","(from|to|via)-(op|opacity)","(from|to|via)-(op|opacity)-"]}],[/^(from|via|to|stops)-(.+)$/,Pp()],[/^(from|via|to)-op(?:acity)?-?(.+)$/,([,e,t])=>({[`--un-${e}-opacity`]:C.bracket.percent(t)})],[/^(from|via|to)-([\d.]+%)$/,zp()],[/^bg-((?:repeating-)?(?:linear|radial|conic))$/,([,e])=>({"background-image":`${e}-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}))?(?:\/(.+))?$/,([,e,t,r])=>({"--un-gradient-position":`${t in be?`to ${be[t]} `:" "}${to(r)}`,"background-image":`${e==="gradient"?"linear":e}-gradient(var(--un-gradient-stops))`}),{autocomplete:["gradient","linear","radial","conic"].map(e=>`bg-${e}-to-(${Object.keys(be).filter(t=>t.length<=2&&Array.from(t).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"}],...q("box-decoration","box-decoration-break"),["bg-auto",{"background-size":"auto"}],["bg-cover",{"background-size":"cover"}],["bg-contain",{"background-size":"contain"}],[/^bg-size-(.+)$/,([,e])=>({"background-size":C.bracket.cssvar(e)})],["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(e=>[`bg-clip-${e}`,{"-webkit-background-clip":e,"background-clip":e}]),[/^bg-([-\w]{3,})$/,([,e])=>({"background-position":be[e]})],["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"}],...q("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"}],...q("bg-origin","background-origin")],ro=[[/^outline-(?:width-|size-)?(.+)$/,Eu,{autocomplete:"outline-(width|size)-"}],[/^outline-(?:color-)?(.+)$/,Ip,{autocomplete:"outline-$colors"}],[/^outline-op(?:acity)?-?(.+)$/,([,e])=>({"--un-outline-opacity":C.bracket.percent.cssvar(e)}),{autocomplete:"outline-(op|opacity)-"}],[/^outline-offset-(.+)$/,([,e])=>({"outline-offset":C.bracket.cssvar.global.px(e)}),{autocomplete:"outline-(offset)-"}],["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(e=>[`outline-${e}`,{"--un-outline-style":e,"outline-style":e}])];function*Eu([,e]){let t=C.bracket.cssvar.global.px(e);t!=null&&(yield{"outline-style":"var(--un-outline-style)","outline-width":t},yield P("--un-outline-style",{initialValue:"solid"}))}function*Ip(e,t){if(Br(C.bracket(e[1])))yield*Eu(e);else{let r=Q("outline-color","outline")(e,t);if(r)for(let n of r)yield n}}var Rp=[["appearance-auto",{"-webkit-appearance":"auto",appearance:"auto"}],["appearance-none",{"-webkit-appearance":"none",appearance:"none"}]];function qp(e){let t=C.bracket(e);return t&&C.properties(t)?t:C.properties.auto.cssvar.global(e)??{contents:"contents",scroll:"scroll-position"}[e]}var no=[[/^will-change-(.+)/,([,e])=>({"will-change":qp(e)})]],zn={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"},Vp=[[/^list-(.+?)(?:-(outside|inside))?$/,([,e,t])=>{let r=zn[e];if(r)return t?{"list-style-position":t,"list-style-type":r}:{"list-style-type":r}},{autocomplete:[`list-(${Object.keys(zn).join("|")})`,`list-(${Object.keys(zn).join("|")})-(outside|inside)`]}],["list-outside",{"list-style-position":"outside"}],["list-inside",{"list-style-position":"inside"}],["list-none",{"list-style-type":"none"}],[/^list-image-(.+)$/,([,e])=>{if(/^\[url\(.+\)\]$/.test(e))return{"list-style-image":C.bracket(e)}}],["list-image-none",{"list-style-image":"none"}],...q("list","list-style-type")],Up=[[/^accent-(.+)$/,Q("accent-color","accent"),{autocomplete:"accent-$colors"}],[/^accent-op(?:acity)?-?(.+)$/,([,e])=>({"--un-accent-opacity":C.bracket.percent(e)}),{autocomplete:["accent-(op|opacity)","accent-(op|opacity)-"]}]],Wp=[[/^caret-(.+)$/,Q("caret-color","caret"),{autocomplete:"caret-$colors"}],[/^caret-op(?:acity)?-?(.+)$/,([,e])=>({"--un-caret-opacity":C.bracket.percent(e)}),{autocomplete:["caret-(op|opacity)","caret-(op|opacity)-"]}]],Hp=[["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"]]]],Zp=[["overscroll-auto",{"overscroll-behavior":"auto"}],["overscroll-contain",{"overscroll-behavior":"contain"}],["overscroll-none",{"overscroll-behavior":"none"}],...q("overscroll","overscroll-behavior"),["overscroll-x-auto",{"overscroll-behavior-x":"auto"}],["overscroll-x-contain",{"overscroll-behavior-x":"contain"}],["overscroll-x-none",{"overscroll-behavior-x":"none"}],...q("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"}],...q("overscroll-y","overscroll-behavior-y")],Yp=[["scroll-auto",{"scroll-behavior":"auto"}],["scroll-smooth",{"scroll-behavior":"smooth"}],...q("scroll","scroll-behavior")],bt=["solid","dashed","dotted","double","hidden","none","groove","ridge","inset","outset",...ee],Gp=[[/^(?:border|b)()(?:-(.+))?$/,Te,{autocomplete:"(border|b)-"}],[/^(?:border|b)-([xy])(?:-(.+))?$/,Te],[/^(?:border|b)-([rltbse])(?:-(.+))?$/,Te],[/^(?:border|b)-(block|inline)(?:-(.+))?$/,Te],[/^(?:border|b)-([bi][se])(?:-(.+))?$/,Te],[/^(?:border|b)-()(?:width|size)-(.+)$/,Te,{autocomplete:["(border|b)-","(border|b)--"]}],[/^(?:border|b)-([xy])-(?:width|size)-(.+)$/,Te],[/^(?:border|b)-([rltbse])-(?:width|size)-(.+)$/,Te],[/^(?:border|b)-(block|inline)-(?:width|size)-(.+)$/,Te],[/^(?:border|b)-([bi][se])-(?:width|size)-(.+)$/,Te],[/^(?:border|b)-()(?:color-)?(.+)$/,Qt,{autocomplete:["(border|b)-$colors","(border|b)--$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)?-?(.+)$/,er,{autocomplete:"(border|b)-(op|opacity)-"}],[/^(?:border|b)-([xy])-op(?:acity)?-?(.+)$/,er],[/^(?:border|b)-([rltbse])-op(?:acity)?-?(.+)$/,er],[/^(?:border|b)-(block|inline)-op(?:acity)?-?(.+)$/,er],[/^(?:border|b)-([bi][se])-op(?:acity)?-?(.+)$/,er],[/^(?:border-|b-)?(?:rounded|rd)()(?:-(.+))?$/,tr,{autocomplete:["(border|b)-(rounded|rd)","(border|b)-(rounded|rd)-$radius","(rounded|rd)","(rounded|rd)-$radius"]}],[/^(?:border-|b-)?(?:rounded|rd)-([rltbse])(?:-(.+))?$/,tr],[/^(?:border-|b-)?(?:rounded|rd)-([rltb]{2})(?:-(.+))?$/,tr],[/^(?:border-|b-)?(?:rounded|rd)-([bise][se])(?:-(.+))?$/,tr],[/^(?:border-|b-)?(?:rounded|rd)-([bi][se]-[bi][se])(?:-(.+))?$/,tr],[/^(?:border|b)-(?:style-)?()(.+)$/,rr,{autocomplete:["(border|b)-style",`(border|b)-(${bt.join("|")})`,"(border|b)--style",`(border|b)--(${bt.join("|")})`,`(border|b)--style-(${bt.join("|")})`,`(border|b)-style-(${bt.join("|")})`]}],[/^(?:border|b)-([xy])-(?:style-)?(.+)$/,rr],[/^(?:border|b)-([rltbse])-(?:style-)?(.+)$/,rr],[/^(?:border|b)-(block|inline)-(?:style-)?(.+)$/,rr],[/^(?:border|b)-([bi][se])-(?:style-)?(.+)$/,rr]];function Jp(e){return([,t],r)=>{let n=gn(t,r.theme),i=xu(n,`border${e}-color`,`border${e}`,r);if(i){let a=i[0];return n?.color&&!Object.values(fn).includes(n.color)&&!n.alpha&&e&&e!==""&&(a[`--un-border${e}-opacity`]="var(--un-border-opacity)"),i}}}function Te([,e="",t="1"]){let r=C.bracket.cssvar.global.px(t);if(e in qe&&r!=null)return qe[e].map(n=>[`border${n}-width`,r])}function Qt([,e="",t],r){if(e in qe){if(Br(C.bracket(t)))return Te(["",e,t]);if(ht(t,r.theme)){let n=qe[e].map(i=>Jp(i)(["",t],r)).filter(cr);return[n.map(i=>i[0]).reduce((i,a)=>(Object.assign(i,a),i),{}),...n.flatMap(i=>i.slice(1))]}}}function er([,e="",t]){let r=C.bracket.percent.cssvar(t);if(e in qe&&r!=null)return qe[e].map(n=>[`--un-border${n}-opacity`,r])}function tr([,e="",t="DEFAULT"],{theme:r}){if(e in Zr){if(t==="full")return Zr[e].map(i=>[`border${i}-radius`,"calc(infinity * 1px)"]);let n=r.radius?.[t]??C.bracket.cssvar.global.fraction.rem(t);if(n!=null){let i=r.radius&&t in r.radius;return i&&R("radius",t),Zr[e].map(a=>[`border${a}-radius`,i?X("radius",t):n])}}}function rr([,e="",t]){if(bt.includes(t)&&e in qe)return[["--un-border-style",t],...qe[e].map(r=>[`border${r}-style`,t])]}var Kp=[[/^op(?:acity)?-?(.+)$/,([,e])=>({opacity:C.bracket.percent.cssvar(e)})]],Xp=/^\[url\(.+\)\]$/,Qp=/^\[(?:length|size):.+\]$/,e1=/^\[position:.+\]$/,t1=/^\[(?:linear|conic|radial)-gradient\(.+\)\]$/,r1=/^\[image:.+\]$/,n1=[[/^bg-(.+)$/,(...e)=>{let t=e[0][1];if(Xp.test(t))return{"--un-url":C.bracket(t),"background-image":"var(--un-url)"};if(Qp.test(t)&&C.bracketOfLength(t)!=null)return{"background-size":C.bracketOfLength(t).split(" ").map(r=>C.fraction.auto.px.cssvar(r)??r).join(" ")};if((_p(t)||e1.test(t))&&C.bracketOfPosition(t)!=null)return{"background-position":C.bracketOfPosition(t).split(" ").map(r=>C.position.fraction.auto.px.cssvar(r)??r).join(" ")};if(t1.test(t)||r1.test(t)){let r=C.bracket(t);if(r)return{"background-image":(r.startsWith("http")?`url(${r})`:C.cssvar(r))??r}}return Q("background-color","bg")(...e)},{autocomplete:"bg-$colors"}],[/^bg-op(?:acity)?-?(.+)$/,([,e])=>({"--un-bg-opacity":C.bracket.percent.cssvar(e)}),{autocomplete:"bg-(op|opacity)-"}]],i1=[[/^(?:color-)?scheme-(.+)$/,([,e])=>({"color-scheme":e.split("-").join(" ")})]],a1=[[/^columns-(.+)$/,([,e],{theme:t})=>t.container&&e in t.container?(R("container",e),{columns:X("container",e)}):{columns:C.bracket.numberWithUnit.number.cssvar(e)},{autocomplete:["columns-","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"}],...q("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"}],...q("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"}],...q("break-after")],io=["solid","double","dotted","dashed","wavy",...ee],o1=[[/^(?:decoration-)?(underline|overline|line-through)$/,([,e])=>({"text-decoration-line":e}),{autocomplete:"decoration-(underline|overline|line-through)"}],[/^(?:underline|decoration)-(?:size-)?(.+)$/,Su,{autocomplete:"(underline|decoration)-"}],[/^(?:underline|decoration)-(auto|from-font)$/,([,e])=>({"text-decoration-thickness":e}),{autocomplete:"(underline|decoration)-(auto|from-font)"}],[/^(?:underline|decoration)-(.+)$/,s1,{autocomplete:"(underline|decoration)-$colors"}],[/^(?:underline|decoration)-op(?:acity)?-?(.+)$/,([,e])=>({"--un-line-opacity":C.bracket.percent.cssvar(e)}),{autocomplete:"(underline|decoration)-(op|opacity)-"}],[/^(?:underline|decoration)-offset-(.+)$/,([,e])=>({"text-underline-offset":C.auto.bracket.cssvar.global.px(e)}),{autocomplete:"(underline|decoration)-(offset)-"}],...io.map(e=>[`underline-${e}`,{"text-decoration-style":e}]),...io.map(e=>[`decoration-${e}`,{"text-decoration-style":e}]),["no-underline",{"text-decoration":"none"}],["decoration-none",{"text-decoration":"none"}]];function Su([,e]){return{"text-decoration-thickness":C.bracket.cssvar.global.px(e)}}function s1(e,t){if(Br(C.bracket(e[1])))return Su(e);let r=Q("text-decoration-color","line")(e,t);if(r){let n=r[0];return n["-webkit-text-decoration-color"]=n["text-decoration-color"],r}}var u1=[[/^pa?()-?(.+)$/,Y("padding"),{autocomplete:["(m|p)","(m|p)-"]}],[/^p-?xy()()$/,Y("padding"),{autocomplete:"(m|p)-(xy)"}],[/^p-?([xy])(?:-?(.+))?$/,Y("padding")],[/^p-?([rltbse])(?:-?(.+))?$/,Y("padding"),{autocomplete:"(m|p)-"}],[/^p-(block|inline)(?:-(.+))?$/,Y("padding"),{autocomplete:"(m|p)-(block|inline)-"}],[/^p-?([bi][se])(?:-?(.+))?$/,Y("padding"),{autocomplete:"(m|p)-(bs|be|is|ie)-"}]],l1=[[/^ma?()-?(.+)$/,Y("margin")],[/^m-?xy()()$/,Y("margin")],[/^m-?([xy])(?:-?(.+))?$/,Y("margin")],[/^m-?([rltbse])(?:-?(.+))?$/,Y("margin")],[/^m-(block|inline)(?:-(.+))?$/,Y("margin")],[/^m-?([bi][se])(?:-?(.+))?$/,Y("margin")]],c1=[[/^space-([xy])-(.+)$/,h1,{autocomplete:["space-(x|y)","space-(x|y)-reverse","space-(x|y)-$spacing"]}],[/^space-([xy])-reverse$/,function*([e,t],{symbols:r}){yield{[r.variants]:[yt(e)],[`--un-space-${t}-reverse`]:"1"},yield P(`--un-space-${t}-reverse`,{initialValue:0})}]];function yt(e){return{matcher:e,handle:(t,r)=>r({...t,parent:`${t.parent?`${t.parent} $$ `:""}${t.selector}`,selector:":where(&>:not(:last-child))"})}}function*h1([e,t,r],{theme:n,symbols:i}){let a,s=_e(r);if(s!=null?(R("spacing"),a=`calc(var(--spacing) * ${s})`):a=n.spacing?.[r]??C.bracket.cssvar.auto.fraction.rem(r||"1"),a!=null){let o=qe[t==="x"?"inline":"block"].map((u,c)=>[`margin${u}`,`calc(${a} * ${c===0?`var(--un-space-${t}-reverse)`:`calc(1 - var(--un-space-${t}-reverse))`})`]);o&&(yield{[i.variants]:[yt(e)],[`--un-space-${t}-reverse`]:"0",...Object.fromEntries(o)},yield P(`--un-space-${t}-reverse`,{initialValue:0}))}}var d1=[[/^divide-(.+)$/,function*(e,t){let r=Q("border-color","divide")(e,t);r&&(yield{[t.symbols.variants]:[yt(e[0])],...r[0]},yield r[1])},{autocomplete:"divide-$colors"}],[/^divide-op(?:acity)?-?(.+)$/,function*([e,t],{symbols:r}){yield{[r.variants]:[yt(e)],"--un-divide-opacity":C.bracket.percent(t)}},{autocomplete:["divide-(op|opacity)","divide-(op|opacity)-"]}],[/^divide-?([xy])$/,ao,{autocomplete:["divide-(x|y)","divide-(x|y)-reverse"]}],[/^divide-?([xy])-?(.+)$/,ao],[/^divide-?([xy])-reverse$/,function*([e,t],{symbols:r}){yield{[r.variants]:[yt(e)],[`--un-divide-${t}-reverse`]:"1"},yield P(`--un-divide-${t}-reverse`,{initialValue:0})}],[new RegExp(`^divide-(${bt.join("|")})$`),function*([e,t],{symbols:r}){yield{[r.variants]:[yt(e)],"border-style":t}},{autocomplete:bt.map(e=>`divide-${e}`)}]];function*ao([e,t,r],{symbols:n}){let i=C.bracket.cssvar.px(r||"1");if(i!=null){i==="0"&&(i="0px");let a={x:["-left","-right"],y:["-top","-bottom"]}[t].map(s=>{let o=s.endsWith("left")||s.endsWith("top")?`calc(${i} * var(--un-divide-${t}-reverse))`:`calc(${i} * calc(1 - var(--un-divide-${t}-reverse)))`;return[[`border${s}-width`,o],[`border${s}-style`,"var(--un-border-style)"]]});a&&(yield{[n.variants]:[yt(e)],[`--un-divide-${t}-reverse`]:0,...Object.fromEntries(a.flat())},yield P(`--un-divide-${t}-reverse`,{initialValue:0}),yield P("--un-border-style",{initialValue:"solid"}))}}var Au=["blur","brightness","contrast","grayscale","hue-rotate","invert","saturate","sepia","drop-shadow"],ci=Au.map(e=>P(`--un-${e}`)),en=Au.map(e=>`var(--un-${e},)`).join(" "),Cu=["backdrop-blur","backdrop-brightness","backdrop-contrast","backdrop-grayscale","backdrop-hue-rotate","backdrop-invert","backdrop-opacity","backdrop-saturate","backdrop-sepia"],p1=Cu.map(e=>P(`--un-${e}`)),tn=Cu.map(e=>`var(--un-${e},)`).join(" ");function jn(e){let t=C.bracket.cssvar(e||"");if(t!=null||(t=e?C.percent(e):"100%",t!=null&&Number.parseFloat(t.slice(0,-1))<=100))return t}function Je(e,t){return([,r,n],{theme:i})=>{let a=t(n,i)??(n==="none"?"0":"");if(a!=="")return r?[{[`--un-${r}${e}`]:`${e}(${a})`,"-webkit-backdrop-filter":tn,"backdrop-filter":tn},...p1]:[{[`--un-${e}`]:`${e}(${a})`,filter:en},...ci]}}function f1(e,t){let[,r]=e,{theme:n}=t,i=[];r&&(i=ct(r,"/",2)??[],r.startsWith("/")&&(i=["",r.slice(1)]));let a=n.dropShadow?.[i[0]||"DEFAULT"],s=r?C.bracket.cssvar(r):void 0;if((a!=null||s!=null)&&!ht(s,n)){let o=i[1]?C.bracket.percent.cssvar(i[1]):void 0;return[{"--un-drop-shadow-opacity":o,"--un-drop-shadow":`drop-shadow(${Fi(a||s,"--un-drop-shadow-color",o).join(") drop-shadow(")})`,filter:en},...ci]}if(ht(r,n))return Q("--un-drop-shadow-color","drop-shadow")(e,t);if(a=C.bracket.cssvar(r)??(r==="none"?"":void 0),a!=null)return[{"--un-drop-shadow":a&&`drop-shadow(${a})`,filter:en},...ci]}var m1=[[/^(?:(backdrop-)|filter-)?blur(?:-(.+))?$/,Je("blur",(e,t)=>t.blur?.[e||"DEFAULT"]||C.bracket.cssvar.px(e)),{autocomplete:["(backdrop|filter)-blur-$blur","blur-$blur","filter-blur"]}],[/^(?:(backdrop-)|filter-)?brightness-(.+)$/,Je("brightness",e=>C.bracket.cssvar.percent(e)),{autocomplete:["(backdrop|filter)-brightness-","brightness-"]}],[/^(?:(backdrop-)|filter-)?contrast-(.+)$/,Je("contrast",e=>C.bracket.cssvar.percent(e)),{autocomplete:["(backdrop|filter)-contrast-","contrast-"]}],[/^(?:filter-)?drop-shadow(?:-?(.+))?$/,f1,{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)-","drop-shadow(-color)?-(op|opacity)-"]}],[/^(?:filter-)?drop-shadow-color-(.+)$/,Q("--un-drop-shadow-color","drop-shadow")],[/^(?:filter-)?drop-shadow(?:-color)?-op(?:acity)?-?(.+)$/,([,e])=>({"--un-drop-shadow-opacity":C.bracket.percent(e)})],[/^(?:(backdrop-)|filter-)?grayscale(?:-(.+))?$/,Je("grayscale",jn),{autocomplete:["(backdrop|filter)-grayscale","(backdrop|filter)-grayscale-","grayscale-"]}],[/^(?:(backdrop-)|filter-)?hue-rotate-(.+)$/,Je("hue-rotate",e=>C.bracket.cssvar.degree(e))],[/^(?:(backdrop-)|filter-)?invert(?:-(.+))?$/,Je("invert",jn),{autocomplete:["(backdrop|filter)-invert","(backdrop|filter)-invert-","invert-"]}],[/^(backdrop-)op(?:acity)?-(.+)$/,Je("opacity",e=>C.bracket.cssvar.percent(e)),{autocomplete:["backdrop-(op|opacity)","backdrop-(op|opacity)-"]}],[/^(?:(backdrop-)|filter-)?saturate-(.+)$/,Je("saturate",e=>C.bracket.cssvar.percent(e)),{autocomplete:["(backdrop|filter)-saturate","(backdrop|filter)-saturate-","saturate-"]}],[/^(?:(backdrop-)|filter-)?sepia(?:-(.+))?$/,Je("sepia",jn),{autocomplete:["(backdrop|filter)-sepia","(backdrop|filter)-sepia-","sepia-"]}],["filter",{filter:en}],["backdrop-filter",{"-webkit-backdrop-filter":tn,"backdrop-filter":tn}],["filter-none",{filter:"none"}],["backdrop-filter-none",{"-webkit-backdrop-filter":"none","backdrop-filter":"none"}],...ee.map(e=>[`filter-${e}`,{filter:e}]),...ee.map(e=>[`backdrop-filter-${e}`,{"-webkit-backdrop-filter":e,"backdrop-filter":e}])],g1=[["flex",{display:"flex"}],["inline-flex",{display:"inline-flex"}],["flex-inline",{display:"inline-flex"}],[/^flex-(.*)$/,([,e])=>({flex:C.bracket(e)!=null?C.bracket(e).split(" ").map(t=>C.cssvar.fraction(t)??t).join(" "):C.cssvar.fraction(e)})],["flex-1",{flex:"1 1 0%"}],["flex-auto",{flex:"1 1 auto"}],["flex-initial",{flex:"0 1 auto"}],["flex-none",{flex:"none"}],[/^(?:flex-)?shrink(?:-(.*))?$/,([,e=""])=>({"flex-shrink":C.bracket.cssvar.number(e)??1}),{autocomplete:["flex-shrink-","shrink-"]}],[/^(?:flex-)?grow(?:-(.*))?$/,([,e=""])=>({"flex-grow":C.bracket.cssvar.number(e)??1}),{autocomplete:["flex-grow-","grow-"]}],[/^(?:flex-)?basis-(.+)$/,([,e])=>{let t=_e(e);return t!=null?(R("spacing"),{"flex-basis":`calc(var(--spacing) * ${t})`}):{"flex-basis":C.bracket.cssvar.auto.fraction.rem(e)}},{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"}]],In={"":[""],x:["column-"],y:["row-"],col:["column-"],row:["row-"]},b1=[[/^(?:flex-|grid-)?gap-?()(.+)$/,Y("gap",In,(e,t)=>`${t}${e}`),{autocomplete:["gap-$spacing","gap-"]}],[/^(?:flex-|grid-)?gap-([xy])-?(.+)$/,Y("gap",In,(e,t)=>`${t}${e}`),{autocomplete:["gap-(x|y)-$spacing","gap-(x|y)-"]}],[/^(?:flex-|grid-)?gap-(col|row)-?(.+)$/,Y("gap",In,(e,t)=>`${t}${e}`),{autocomplete:["gap-(col|row)-$spacing","gap-(col|row)-"]}]];function He(e){return e.replace("col","column")}function y1(e){switch(e){case"min":return"min-content";case"max":return"max-content";case"fr":return"minmax(0,1fr)"}return C.bracket.cssvar.auto.rem(e)}var v1=[["grid",{display:"grid"}],["inline-grid",{display:"inline-grid"}],[/^(?:grid-)?(row|col)-(.+)$/,([,e,t])=>({[`grid-${He(e)}`]:C.bracket.number.cssvar.auto(t)})],[/^(?:grid-)?(row|col)-span-(.+)$/,([,e,t])=>{if(t==="full")return{[`grid-${He(e)}`]:"1/-1"};let r=C.bracket.number.cssvar(t);if(r!=null)return{[`grid-${He(e)}`]:`span ${r}/span ${r}`}},{autocomplete:"(grid-row|grid-col|row|col)-span-"}],[/^(?:grid-)?(row|col)-start-(.+)$/,([,e,t])=>({[`grid-${He(e)}-start`]:C.bracket.cssvar(t)??t})],[/^(?:grid-)?(row|col)-end-(.+)$/,([,e,t])=>({[`grid-${He(e)}-end`]:C.bracket.cssvar(t)??t}),{autocomplete:"(grid-row|grid-col|row|col)-(start|end)-"}],[/^(?:grid-)?auto-(rows|cols)-(.+)$/,([,e,t])=>({[`grid-auto-${He(e)}`]:y1(t)}),{autocomplete:"(grid-auto|auto)-(rows|cols)-"}],[/^(?:grid-auto-flow|auto-flow|grid-flow)-(.+)$/,([,e])=>({"grid-auto-flow":C.bracket.cssvar(e)})],[/^(?:grid-auto-flow|auto-flow|grid-flow)-(row|col|dense|row-dense|col-dense)$/,([,e])=>({"grid-auto-flow":He(e).replace("-"," ")}),{autocomplete:["(grid-auto-flow|auto-flow|grid-flow)-(row|col|dense|row-dense|col-dense)"]}],[/^(?:grid-)?(rows|cols)-(.+)$/,([,e,t])=>({[`grid-template-${He(e)}`]:C.bracket.cssvar(t)})],[/^(?:grid-)?(rows|cols)-minmax-([\w.-]+)$/,([,e,t])=>({[`grid-template-${He(e)}`]:`repeat(auto-fill,minmax(${t},1fr))`})],[/^(?:grid-)?(rows|cols)-(\d+)$/,([,e,t])=>({[`grid-template-${He(e)}`]:`repeat(${t},minmax(0,1fr))`}),{autocomplete:"(grid-rows|grid-cols|rows|cols)-"}],[/^grid-area(s)?-(.+)$/,([,e,t])=>e!=null?{"grid-template-areas":C.cssvar(t)??t.split("-").map(r=>`"${C.bracket(r)}"`).join(" ")}:{"grid-area":C.bracket.cssvar(t)}],["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"}]],jr=["auto","hidden","clip","visible","scroll","overlay",...ee],k1=[[/^(?:overflow|of)-(.+)$/,([,e])=>jr.includes(e)?{overflow:e}:void 0,{autocomplete:[`(overflow|of)-(${jr.join("|")})`,`(overflow|of)-(x|y)-(${jr.join("|")})`]}],[/^(?:overflow|of)-([xy])-(.+)$/,([,e,t])=>jr.includes(t)?{[`overflow-${e}`]:t}:void 0]],x1=[[/^line-clamp-(\d+)$/,([,e])=>({overflow:"hidden",display:"-webkit-box","-webkit-box-orient":"vertical","-webkit-line-clamp":e}),{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"}]],hi={t:["top"],b:["bottom"],l:["left"],r:["right"],x:["left","right"],y:["top","bottom"]},oo="linear-gradient(#fff, #fff)",w1={"mask-image":"var(--un-mask-linear), var(--un-mask-radial), var(--un-mask-conic)","mask-composite":"intersect"};function so([,e=""]){if(e in Zr)return{"mask-position":e.split("").flatMap(r=>hi[r]).join(" ")};let t=C.bracket.cssvar.global.position(e);if(t!==null)return{"mask-position":t}}function Rn([e,t="",r,n],i){let a={...w1},s=[];if(s.push(...["linear","radial","conic"].map(o=>P(`--un-mask-${o}`,{initialValue:oo}))),t in hi){a["--un-mask-linear"]="var(--un-mask-left), var(--un-mask-right), var(--un-mask-bottom), var(--un-mask-top)";for(let o of hi[t]){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?(R("spacing"),a[`--un-mask-${o}-${r}-position`]=`calc(var(--spacing) * ${C.bracket.cssvar.fraction.number(n)})`):a[`--un-mask-${o}-${r}-position`]=C.bracket.cssvar.fraction.rem(n),ht(n,i.theme)){let u=Q(`--un-mask-${o}-${r}-color`,li("colors"))([e,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:"",initialValue:u==="from"?"0%":"100%"}),P(`--un-mask-${o}-${u}-color`,{syntax:"",initialValue:u==="from"?"black":"transparent"})]))}s.push(...["top","right","bottom","left"].map(o=>P(`--un-mask-${o}`,{initialValue:oo})))}else{if(r==null)t==="radial"?(a["--un-mask-radial"]="radial-gradient(var(--un-mask-radial-stops, var(--un-mask-radial-size)))",a["--un-mask-radial-size"]=C.bracket.cssvar.rem(n)):(a[`--un-mask-${t}`]=`${t}-gradient(var(--un-mask-${t}-stops, var(--un-mask-${t}-position)))`,a[`--un-mask-${t}-position`]=_e(n)?`calc(1deg * ${C.bracket.cssvar.number(n)})`:C.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-${t}-stops`]=`${o[t]}var(--un-mask-${t}-position), var(--un-mask-${t}-from-color) var(--un-mask-${t}-from-position), var(--un-mask-${t}-to-color) var(--un-mask-${t}-to-position)`,a[`--un-mask-${t}`]=`${t}-gradient(var(--un-mask-${t}-stops))`,ht(n,i.theme)){let u=Q(`--un-mask-${t}-${r}-color`,li("colors"))([e,n],i);if(u){let[c,...d]=u;Object.assign(a,c),s.push(...d)}}else _e(n)!=null?(R("spacing"),a[`--un-mask-${t}-${r}-position`]=`calc(var(--spacing) * ${C.bracket.cssvar.fraction.number(n)})`):a[`--un-mask-${t}-${r}-position`]=C.bracket.cssvar.fraction.rem(n)}t==="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-${t}-position`,{initialValue:t==="radial"?"center":"0deg"}),P(`--un-mask-${t}-${o}-position`,{syntax:"",initialValue:o==="from"?"0%":"100%"}),P(`--un-mask-${t}-${o}-color`,{syntax:"",initialValue:o==="from"?"black":"transparent"})]))}return[a,...s]}function $1([,e=""]){let t=C.bracket.cssvar.global.fraction.rem(e);if(t!==null)return{"mask-size":t}}var E1=[["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-(.+)$/,([,e])=>({"mask-image":C.bracket.cssvar(e)})],[/^mask-(linear|radial|conic|[xytblr])-(from|to)()(?:-(.+))?$/,Rn,{autocomplete:["mask-(linear|radial|conic)-(from|to)-$colors","mask-(linear|radial|conic)-(from|to)-","mask-(linear|radial|conic)-(from|to)","mask-(linear|radial|conic)-","mask-(x|y|t|b|l|r)-(from|to)-$colors","mask-(x|y|t|b|l|r)-(from|to)-","mask-(x|y|t|b|l|r)-(from|to)","mask-(x|y|t|b|l|r)-"]}],[/^mask-(linear|radial|conic)-(from|to)?-?(.*)$/,Rn],[/^mask-([trblxy])-(from|to)-(.*)$/,Rn],["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,})$/,([,e])=>({"--un-mask-radial-position":be[e]}),{autocomplete:[`mask-radial-at-(${Object.keys(be).filter(e=>e.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})$/,so],[/^mask-([-\w]{3,})$/,([,e])=>({"mask-position":be[e]})],[/^mask-(?:position-|pos-)(.+)$/,so],["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-(.+)$/,$1],["mask-type-luminance",{"mask-type":"luminance"}],["mask-type-alpha",{"mask-type":"alpha"}]],S1=[[/^\$ placeholder-(.+)$/,Q("color","placeholder"),{autocomplete:"placeholder-$colors"}],[/^\$ placeholder-op(?:acity)?-?(.+)$/,([,e])=>({"--un-placeholder-opacity":C.bracket.percent(e)}),{autocomplete:["placeholder-(op|opacity)","placeholder-(op|opacity)-"]}]],A1=[[/^(?:position-|pos-)?(relative|absolute|fixed|sticky)$/,([,e])=>({position:e}),{autocomplete:["(position|pos)-","(position|pos)-",""]}],[/^(?:position-|pos-)([-\w]+)$/,([,e])=>ee.includes(e)?{position:e}:void 0],[/^(?:position-|pos-)?(static)$/,([,e])=>({position:e})]],_u=[["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"}],...q("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"}],...q("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"}],...q("justify-self")],C1=[[/^order-(.+)$/,([,e])=>({order:C.bracket.cssvar.number(e)})],["order-first",{order:"calc(-infinity)"}],["order-last",{order:"calc(infinity)"}],["order-none",{order:"0"}]],Du=[["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"}],...q("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"}],...q("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"}],...q("self","align-self")],Bu=[["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"}],...q("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"}],...q("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"}],...q("place-self")],_1=[..._u,...Du,...Bu].flatMap(([e,t])=>[[`flex-${e}`,t],[`grid-${e}`,t]]);function di(e){let t=_e(e);return t!=null?(R("spacing"),`calc(var(--spacing) * ${t})`):C.bracket.cssvar.global.auto.fraction.rem(e)}function nr([,e,t]){let r=di(t);if(r!=null&&e in Ga)return Ga[e].map(n=>[n.slice(1),r])}var D1=[[/^(?:position-|pos-)?inset-(.+)$/,([,e])=>({inset:di(e)}),{autocomplete:["(position|pos)-inset--$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)-(.+)$/,nr],[/^(?:position-|pos-)?inset-([xy])-(.+)$/,nr],[/^(?:position-|pos-)?inset-([rltbse])-(.+)$/,nr],[/^(?:position-|pos-)?inset-(block|inline)-(.+)$/,nr],[/^(?:position-|pos-)?inset-([bi][se])-(.+)$/,nr],[/^(?:position-|pos-)?(top|left|right|bottom)-(.+)$/,([,e,t])=>({[e]:di(t)})]],B1=[["float-left",{float:"left"}],["float-right",{float:"right"}],["float-start",{float:"inline-start"}],["float-end",{float:"inline-end"}],["float-none",{float:"none"}],...q("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"}],...q("clear")],O1=[[/^(?:position-|pos-)?z([\d.]+)$/,([,e])=>({"z-index":C.number(e)})],[/^(?:position-|pos-)?z-(.+)$/,([,e])=>({"z-index":C.bracket.cssvar.global.auto.number(e)}),{autocomplete:"z-"}]],M1=[["box-border",{"box-sizing":"border-box"}],["box-content",{"box-sizing":"content-box"}],...q("box","box-sizing")],F1=[[/^(where|\?)$/,(e,{constructCSS:t,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}} ${t({animation:"__un_qm 0.5s ease-in-out alternate infinite"})}`}]],pi={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:"",initialValue:"0px"}),ringOffsetColor:P("--un-ring-offset-color"),ringOffsetShadow:P("--un-ring-offset-shadow",{initialValue:"0 0 #0000"})},N1=[[/^shadow(?:-?(.+))?$/,uo("shadow"),{autocomplete:["shadow-$colors","shadow-$shadow"]}],[/^shadow-op(?:acity)?-?(.+)$/,([,e])=>({"--un-shadow-opacity":C.bracket.percent.cssvar(e)}),{autocomplete:"shadow-(op|opacity)-"}],[/^inset-shadow(?:-(.+))?$/,uo("insetShadow"),{autocomplete:["inset-shadow-$colors","inset-shadow-$insetShadow"]}],[/^inset-shadow-op(?:acity)?-?(.+)$/,([,e])=>({"--un-inset-shadow-opacity":C.bracket.percent.cssvar(e)}),{autocomplete:"shadow-(op|opacity)-"}]];function uo(e){return(t,r)=>{let[,n]=t,{theme:i}=r,a=[];n&&(a=ct(n,"/",2)??[],n.startsWith("/")&&(a=["",n.slice(1)]));let s=i[e]?.[a[0]||"DEFAULT"],o=n?C.bracket.cssvar(n):void 0,u=li(e);if((s!=null||o!=null)&&!ht(o,i)){let c=a[1]?C.bracket.percent.cssvar(a[1]):void 0;return[{[`--un-${u}-opacity`]:c,[`--un-${u}`]:Fi(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(pi)]}return Q(`--un-${u}-color`,u)(t,r)}}var L1=[[/^ring(?:-(.+))?$/,([,e])=>{let t=C.bracket.px(e||"1");if(t!=null)return[{"--un-ring-shadow":`var(--un-ring-inset,) 0 0 0 calc(${t} + 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(pi)]}],[/^ring-(.+)$/,Q("--un-ring-color","ring"),{autocomplete:"ring-$colors"}],[/^ring-op(?:acity)?-?(.+)$/,([,e])=>({"--un-ring-opacity":C.bracket.percent.cssvar(e)}),{autocomplete:"ring-(op|opacity)-"}],[/^inset-ring(?:-(.+))?$/,([,e])=>{let t=C.bracket.px(e||"1");if(t!=null)return[{"--un-inset-ring-shadow":`inset 0 0 0 ${t} 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(pi)]}],[/^inset-ring-(.+)$/,Q("--un-inset-ring-color","inset-ring"),{autocomplete:"inset-ring-$colors"}],[/^inset-ring-op(?:acity)?-?(.+)$/,([,e])=>({"--un-inset-ring-opacity":C.bracket.percent.cssvar(e)}),{autocomplete:"inset-ring-(op|opacity)-"}],[/^ring-offset(?:-(?:width-|size-)?(.+))?$/,([,e])=>{let t=C.bracket.cssvar.px(e||"1");if(t!=null)return{"--un-ring-offset-width":t,"--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)?-?(.+)$/,([,e])=>({"--un-ring-offset-opacity":C.bracket.percent.cssvar(e)}),{autocomplete:"ring-offset-(op|opacity)-"}],["ring-inset",{"--un-ring-inset":"inset"}]],T1=[...["x","y","both"].map(e=>[`snap-${e}`,[{"scroll-snap-type":`${e} var(--un-scroll-snap-strictness)`},P("--un-scroll-snap-strictness",{initialValue:"proximity"})]]),...["mandatory","proximity"].map(e=>[`snap-${e}`,[{"--un-scroll-snap-strictness":e},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?()-?(.+)$/,Y("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])-?(.+)$/,Y("scroll-margin")],[/^scroll-m-?([rltb])-?(.+)$/,Y("scroll-margin")],[/^scroll-m-(block|inline)-(.+)$/,Y("scroll-margin")],[/^scroll-m-?([bi][se])-?(.+)$/,Y("scroll-margin")],[/^scroll-pa?()-?(.+)$/,Y("scroll-padding")],[/^scroll-p-?([xy])-?(.+)$/,Y("scroll-padding")],[/^scroll-p-?([rltb])-?(.+)$/,Y("scroll-padding")],[/^scroll-p-(block|inline)-(.+)$/,Y("scroll-padding")],[/^scroll-p-?([bi][se])-?(.+)$/,Y("scroll-padding")]],P1={h:"height",w:"width",inline:"inline-size",block:"block-size"};function _t(e,t){return`${e||""}${P1[t]}`}function Ir(e,t,r){let n;for(let i of["container","spacing"])if(e[i]?.[r]){R(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=t==="w"?"100vw":"100vh";break}return!n&&C.number(r)!=null&&(R("spacing"),n=`calc(var(--spacing) * ${C.number(r)})`),n??C.bracket.cssvar.global.auto.none.fraction.rem(r,e)}var z1=[[/^size-(min-|max-)?(.+)$/,([,e,t],{theme:r})=>({[_t(e,"w")]:Ir(r,"w",t),[_t(e,"h")]:Ir(r,"h",t)})],[/^(?:size-)?(min-|max-)?([wh])-?(.+)$/,([,e,t,r],{theme:n})=>({[_t(e,t)]:Ir(n,t,r)})],[/^(?:size-)?(min-|max-)?(block|inline)-(.+)$/,([,e,t,r],{theme:n})=>({[_t(e,t)]:Ir(n,t,r)}),{autocomplete:["(w|h)-","(w|h)-(full|screen|fit|max|min)","(max|min)-(w|h)-","(max|min)-(w|h)-(full|screen|fit|max|min)","(block|inline)-","(block|inline)-(full|screen|fit|max|min)","(max|min)-(w|h|block|inline)","(max|min)-(w|h|block|inline)-","(max|min)-(w|h|block|inline)-(full|screen|fit|max|min)"]}],[/^(?:size-)?(min-|max-)?(h)-screen-(.+)$/,([,e,t,r],n)=>({[_t(e,t)]:lo(n,r,"verticalBreakpoint")})],[/^(?:size-)?(min-|max-)?(w)-screen-(.+)$/,([,e,t,r],n)=>({[_t(e,t)]:lo(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 lo(e,t,r="breakpoint"){let n=bn(e,r);if(n)return n.find(i=>i.point===t)?.size}function j1(e){if(/^\d+\/\d+$/.test(e))return e;switch(e){case"square":return"1/1";case"video":return"16/9"}return C.bracket.cssvar.global.auto.number(e)}var I1=[[/^(?:size-)?aspect-(?:ratio-)?(.+)$/,([,e])=>({"aspect-ratio":j1(e)}),{autocomplete:["aspect-(square|video|ratio)","aspect-ratio-(square|video)"]}]],R1=["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"],qn=["size","layout","paint","style"],q1=[["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-(.+)$/,([,e])=>({display:C.bracket.cssvar.global(e)})]],V1=[["visible",{visibility:"visible"}],["invisible",{visibility:"hidden"}],["collapse",{visibility:"collapse"}],["backface-visible",{"backface-visibility":"visible"}],["backface-hidden",{"backface-visibility":"hidden"}],...q("backface","backface-visibility")],U1=[[/^cursor-(.+)$/,([,e])=>({cursor:C.bracket.cssvar.global(e)})],...R1.map(e=>[`cursor-${e}`,{cursor:e}])],W1=[[/^contain-(.*)$/,([,e])=>C.bracket(e)!=null?{contain:C.bracket(e).split(" ").map(t=>C.cssvar.fraction(t)??t).join(" ")}:qn.includes(e)?[{"--un-contain-size":e,contain:qn.map(t=>`var(--un-contain-${t})`).join(" ")},...qn.map(t=>P(`--un-contain-${t}`))]:void 0],["contain-strict",{contain:"strict"}],["contain-content",{contain:"content"}],["contain-none",{contain:"none"}]],H1=[["pointer-events-auto",{"pointer-events":"auto"}],["pointer-events-none",{"pointer-events":"none"}],...q("pointer-events")],Z1=[["resize-x",{resize:"horizontal"}],["resize-y",{resize:"vertical"}],["resize",{resize:"both"}],["resize-none",{resize:"none"}],...q("resize")],Y1=[["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"}],...q("select","user-select")],G1=[[/^(?:whitespace-|ws-)([-\w]+)$/,([,e])=>["normal","nowrap","pre","pre-line","pre-wrap","break-spaces",...ee].includes(e)?{"white-space":e}:void 0,{autocomplete:"(whitespace|ws)-(normal|nowrap|pre|pre-line|pre-wrap|break-spaces)"}]],J1=[[/^intrinsic(?:-(block|inline|w|h))?(?:-size)?-(.+)$/,([,e,t])=>({[`contain-intrinsic-${{block:"block-size",inline:"inline-size",w:"width",h:"height"}[e]??"size"}`]:C.bracket.cssvar.global.fraction.rem(t)}),{autocomplete:["intrinsic-size-","intrinsic-","intrinsic-(block|inline|w|h)-"]}],["content-visibility-visible",{"content-visibility":"visible"}],["content-visibility-hidden",{"content-visibility":"hidden"}],["content-visibility-auto",{"content-visibility":"auto"}],...q("content-visibility")],K1=[[/^content-(.+)$/,([,e])=>{if(C.bracket.cssvar(e)!=null)return[{"--un-content":C.bracket.cssvar(e),content:"var(--un-content)"},P("--un-content",{initialValue:'""'})]}],["content-empty",{content:'""'}],["content-none",{content:"none"}]],X1=[["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"}]],Q1=[["text-wrap",{"text-wrap":"wrap"}],["text-nowrap",{"text-wrap":"nowrap"}],["text-balance",{"text-wrap":"balance"}],["text-pretty",{"text-wrap":"pretty"}]],ef=[["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"}]],tf=[["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"}],...q("case","text-transform")],rf=[["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"}]],nf=[["antialiased",{"-webkit-font-smoothing":"antialiased","-moz-osx-font-smoothing":"grayscale"}],["subpixel-antialiased",{"-webkit-font-smoothing":"auto","-moz-osx-font-smoothing":"auto"}]],af=[...["manual","auto","none",...ee].map(e=>[`hyphens-${e}`,{"-webkit-hyphens":e,"-ms-hyphens":e,hyphens:e}])],of=[["write-vertical-right",{"writing-mode":"vertical-rl"}],["write-vertical-left",{"writing-mode":"vertical-lr"}],["write-normal",{"writing-mode":"horizontal-tb"}],...q("write","writing-mode")],sf=[["write-orient-mixed",{"text-orientation":"mixed"}],["write-orient-sideways",{"text-orientation":"sideways"}],["write-orient-upright",{"text-orientation":"upright"}],...q("write-orient","text-orientation")],uf=[["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"}]],cf=[["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-(.+)$/,([,e])=>{if(be[e])return{"object-position":be[e]};if(C.bracketOfPosition(e)!=null)return{"object-position":C.bracketOfPosition(e).split(" ").map(t=>C.position.fraction.auto.px.cssvar(t)??t).join(" ")}},{autocomplete:`object-(${Object.keys(be).join("|")})`}]],hf=[["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"}],...q("bg-blend","background-blend")],df=[["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"}],...q("mix-blend")],pf=[["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"}]],ff=[["forced-color-adjust-auto",{"forced-color-adjust":"auto"}],["forced-color-adjust-none",{"forced-color-adjust":"none"}]],mf=[["field-sizing-fixed",{"field-sizing":"fixed"}],["field-sizing-content",{"field-sizing":"content"}]],gf=[[/^fill-(.+)$/,Q("fill","fill"),{autocomplete:"fill-$colors"}],[/^fill-op(?:acity)?-?(.+)$/,([,e])=>({"--un-fill-opacity":C.bracket.percent.cssvar(e)}),{autocomplete:"fill-(op|opacity)-"}],["fill-none",{fill:"none"}],[/^stroke-(?:width-|size-)?(.+)$/,Ou],[/^stroke-dash-(.+)$/,([,e])=>({"stroke-dasharray":C.bracket.cssvar.number(e)}),{autocomplete:"stroke-dash-"}],[/^stroke-offset-(.+)$/,([,e])=>({"stroke-dashoffset":C.bracket.cssvar.px.numberWithUnit(e)})],[/^stroke-(.+)$/,bf,{autocomplete:"stroke-$colors"}],[/^stroke-op(?:acity)?-?(.+)$/,([,e])=>({"--un-stroke-opacity":C.bracket.percent.cssvar(e)}),{autocomplete:"stroke-(op|opacity)-"}],["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([,e]){return{"stroke-width":C.bracket.cssvar.fraction.px.number(e)}}function bf(e,t){return Br(C.bracket(e[1]))?Ou(e):Q("stroke","stroke")(e,t)}var yf=[["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*([,e],{theme:t}){let r=co(e,t);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:"",initialValue:"0"})}},{autocomplete:["border-spacing","border-spacing-$spacing"]}],[/^border-spacing-([xy])-(.+)$/,function*([,e,t],{theme:r}){let n=co(t,r);if(n!=null){yield{[`--un-border-spacing-${e}`]: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:"",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 co(e,t){let r=t.spacing?.[e];if(!r){let n=_e(e);n!=null?(R("spacing"),r=`calc(var(--spacing) * ${n})`):r=C.bracket.cssvar.global.auto.fraction.rem(e)}return r}var Vn="var(--un-pan-x) var(--un-pan-y) var(--un-pinch-zoom)",Un=["pan-x","pan-y","pinch-zoom"].map(e=>P(`--un-${e}`)),vf=[[/^touch-pan-(x|left|right)$/,function*([,e]){yield{"--un-pan-x":`pan-${e}`,"touch-action":Vn};for(let t of Un)yield t},{autocomplete:["touch-pan","touch-pan-(x|left|right|y|up|down)"]}],[/^touch-pan-(y|up|down)$/,function*([,e]){yield{"--un-pan-y":`pan-${e}`,"touch-action":Vn};for(let t of Un)yield t}],[/^touch-pinch-zoom$/,function*(){yield{"--un-pinch-zoom":"pinch-zoom","touch-action":Vn};for(let e of Un)yield e}],["touch-auto",{"touch-action":"auto"}],["touch-manipulation",{"touch-action":"manipulation"}],["touch-none",{"touch-action":"none"}],...q("touch","touch-action")],Rr=["translate","rotate","scale"],Ni=["var(--un-rotate-x)","var(--un-rotate-y)","var(--un-rotate-z)","var(--un-skew-x)","var(--un-skew-y)"].join(" "),rn=Ni,kf=["translateZ(0)",Ni].join(" "),xf=[[/^(?:transform-)?origin-(.+)$/,([,e])=>({"transform-origin":be[e]??C.bracket.cssvar(e)}),{autocomplete:[`transform-origin-(${Object.keys(be).join("|")})`,`origin-(${Object.keys(be).join("|")})`]}],[/^(transform-)?perspect(?:ive)?-(.+)$/,([,e,t],{theme:r})=>{let n;if(r.perspective?.[t]?(R("perspective",t),n=X("perspective",t)):n=C.bracket.cssvar.px.numberWithUnit(t),n!=null)return e?{"--un-perspective":`perspective(${n})`,transform:`var(--un-perspective) ${rn}`}:{perspective:n}},{autocomplete:["perspective-","perspective-$perspective"]}],[/^(?:transform-)?perspect(?:ive)?-origin-(.+)$/,([,e])=>{let t=C.bracket.cssvar(e)??(e.length>=3?be[e]:void 0);if(t!=null)return{"perspective-origin":t}}],[/^(?:transform-)?translate-()(.+)$/,ho],[/^(?:transform-)?translate-([xyz])-(.+)$/,ho],[/^(?:transform-)?rotate-()(.+)$/,fo],[/^(?:transform-)?rotate-([xyz])-(.+)$/,fo],[/^(?:transform-)?skew-()(.+)$/,mo],[/^(?:transform-)?skew-([xy])-(.+)$/,mo,{autocomplete:["transform-skew-(x|y)-","skew-(x|y)-"]}],[/^(?:transform-)?scale-()(.+)$/,po],[/^(?:transform-)?scale-([xyz])-(.+)$/,po,{autocomplete:[`transform-(${Rr.join("|")})-`,`transform-(${Rr.join("|")})-(x|y|z)-`,`(${Rr.join("|")})-`,`(${Rr.join("|")})-(x|y|z)-`]}],["transform-3d",{"transform-style":"preserve-3d"}],["transform-flat",{"transform-style":"flat"}],[/^transform-(border|content|fill|stroke|view)$/,([,e])=>({"transform-box":`${e}-box`})],["transform",{transform:rn}],["transform-cpu",{transform:Ni}],["transform-gpu",{transform:kf}],["transform-none",{transform:"none"}],...q("transform")];function ho([,e,t]){let r=_e(t)??C.bracket.cssvar.none.fraction.rem(t);if(r!=null)return r==="none"?{translate:"none"}:(R("spacing"),[[...Li(e,typeof r=="number"?`calc(var(--spacing) * ${r})`:r,"translate"),["translate",`var(--un-translate-x) var(--un-translate-y)${e==="z"?" var(--un-translate-z)":""}`,Qd]],...["x","y","z"].map(n=>P(`--un-translate-${n}`,{initialValue:0}))])}function po([,e,t]){let r=C.bracket.cssvar.none.fraction.percent(t);if(r!=null)return r==="none"?{scale:"none"}:[[...Li(e,r,"scale"),["scale",`var(--un-scale-x) var(--un-scale-y)${e==="z"?" var(--un-scale-z)":""}`]],...["x","y","z"].map(n=>P(`--un-scale-${n}`,{initialValue:1}))]}function fo([,e="",t]){let r=C.bracket.cssvar.none.degree(t);if(r!=null)return r==="none"?{rotate:"none"}:e?[[...Li(e,r.endsWith("deg")?`rotate${e.toUpperCase()}(${r})`:r,"rotate"),["transform",rn]],...["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:C.bracket.cssvar.degree(t)}}function mo([,e,t]){let r=C.bracket.cssvar.degree(t),n=bu[e];if(r!=null&&n)return[[...n.map(i=>[`--un-skew${i}`,r.endsWith("deg")?`skew${i.slice(1).toUpperCase()}(${r})`:r]),["transform",rn]],...["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 Li(e,t,r){let n=t.split(np);return e||!e&&n.length===1?bu[e].map(i=>[`--un-${r}${i}`,t]):n.map((i,a)=>[`--un-${r}-${ep[a]}`,i])}function go(e,t){let r;if(C.cssvar(e)!=null)r=C.cssvar(e);else{e.startsWith("[")&&e.endsWith("]")&&(e=e.slice(1,-1));let n=e.split(",").map(i=>t.property?.[i]??C.properties(i));n.every(Boolean)&&(r=n.join(","))}return r}var wf=[[/^transition(?:-(\D+?))?(?:-(\d+))?$/,([,e,t],{theme:r})=>{R("default",["transition","timingFunction"]),R("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(!e&&!t)return{...n};if(e!=null){let i=go(e,r);if(i)return{"--un-duration":t&&C.time(t),...n,"transition-property":i}}else if(t!=null)return{"--un-duration":C.time(t),...n}}],[/^(?:transition-)?duration-(.+)$/,([,e])=>({"--un-duration":C.bracket.cssvar.time(e),"transition-duration":C.bracket.cssvar.time(e)})],[/^(?:transition-)?delay-(.+)$/,([,e])=>({"transition-delay":C.bracket.cssvar.time(e)})],[/^(?:transition-)?ease(?:-(.+))?$/,([,e="DEFAULT"],{theme:t})=>{let r;return t.ease?.[e]?(R("ease",e),r=X("ease",e)):r=C.bracket.cssvar(e),[{"--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-(.+)$/,([,e],{theme:t})=>{let r=C.global(e)||go(e,t);if(r)return{"transition-property":r}},{autocomplete:[`transition-property-(${[...ee].join("|")})`]}],["transition-none",{transition:"none"}],...q("transition"),["transition-discrete",{"transition-behavior":"allow-discrete"}],["transition-normal",{"transition-behavior":"normal"}]],$f=[[/^text-(.+)$/,Bf,{autocomplete:"text-$text"}],[/^(?:text|font)-size-(.+)$/,Mu,{autocomplete:"text-size-$text"}],[/^text-(?:color-)?(.+)$/,Of,{autocomplete:"text-$colors"}],[/^(?:color|c)-(.+)$/,Q("color","text")],[/^(?:text|color|c)-(.+)$/,([,e])=>ee.includes(e)?{color:e}:void 0,{autocomplete:`(text|color|c)-(${ee.join("|")})`}],[/^(?:text|color|c)-op(?:acity)?-?(.+)$/,([,e])=>({"--un-text-opacity":C.bracket.percent.cssvar(e)}),{autocomplete:"(text|color|c)-(op|opacity)-"}],[/^fw-?([^-]+)$/,([,e],{theme:t})=>{let r;return t.fontWeight?.[e]?(R("fontWeight",e),r=X("fontWeight",e)):r=C.bracket.cssvar.global.number(e),{"--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)-(.+)$/,([,e],{theme:t})=>{let r;if(t.leading?.[e]?(R("leading",e),r=X("leading",e)):_e(e)?(R("spacing"),r=`calc(var(--spacing) * ${_e(e)})`):r=C.bracket.cssvar.global.rem(e),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-(.+)$/,([,e])=>({"font-synthesis":C.bracket.cssvar.global(e)})],[/^(?:font-)?tracking-(.+)$/,([,e],{theme:t})=>{let r;return t.tracking?.[e]?(R("tracking",e),r=X("tracking",e)):r=C.bracket.cssvar.global.rem(e),{"--un-tracking":r,"letter-spacing":r}},{autocomplete:"tracking-$tracking"}],[/^(?:font-)?word-spacing-(.+)$/,([,e],{theme:t})=>{let r=t.tracking?.[e]?X("tracking",e):C.bracket.cssvar.global.rem(e);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-(.+)$/,([,e])=>({"font-stretch":C.bracket.cssvar.fraction.global(e)}),{autocomplete:"font-stretch-"}],[/^font-(.+)$/,([,e],{theme:t})=>{let r;if(t.font?.[e])return R("font",e),r=X("font",e),{"font-family":r};if(t.fontWeight?.[e])return R("fontWeight",e),r=X("fontWeight",e),{"--un-font-weight":r,"font-weight":r};if(r=C.number(e),r!=null)return{"--un-font-weight":r,"font-weight":r};if(r=C.bracketOfFamily(e),r!=null&&C.number(r)==null)return r=C.cssvar(r)??r,{"font-family":r};if(r=C.bracketOfNumber(e),r!=null)return r=C.cssvar.number(r),{"--un-font-weight":r,"font-weight":r};if(r=C.bracket(e),r!=null&&C.number(r)!=null){let n=C.number(r);return{"--un-font-weight":n,"font-weight":n}}if(r=C.bracket.cssvar.global(e),r!=null)return{"font-family":r}},{autocomplete:["font-$font","font-$fontWeight"]}]],Ef=[[/^tab(?:-(.+))?$/,([,e])=>{let t=C.bracket.cssvar.global.number(e||"4");if(t!=null)return{"-moz-tab-size":t,"-o-tab-size":t,"tab-size":t}}]],Sf=[[/^indent-(.+)$/,([,e])=>{let t=_e(e);if(t!=null)return R("spacing"),{"text-indent":`calc(var(--spacing) * ${t})`};if(t=C.bracket.cssvar.auto.global.rem(e),t!=null)return{"text-indent":t}}]],Af=[[/^text-stroke(?:-(.+))?$/,([,e="DEFAULT"],{theme:t})=>(t.textStrokeWidth?.[e]&&R("textStrokeWidth",e),{"-webkit-text-stroke-width":t.textStrokeWidth?.[e]?X("textStrokeWidth",e):C.bracket.cssvar.px(e)}),{autocomplete:"text-stroke-$textStrokeWidth"}],[/^text-stroke-(.+)$/,Q("-webkit-text-stroke-color","text-stroke"),{autocomplete:"text-stroke-$colors"}],[/^text-stroke-op(?:acity)?-?(.+)$/,([,e])=>({"--un-text-stroke-opacity":C.bracket.percent.cssvar(e)}),{autocomplete:"text-stroke-(op|opacity)-"}]];function Cf(e,t){let[,r]=e,{theme:n}=t,i=[];r&&(i=ct(r,"/",2)??[]);let a=n.textShadow?.[i[0]],s=r?C.bracket.cssvar(r):void 0;if((a!=null||s!=null)&&!ht(s,n)){let o=i[1]?C.bracket.percent.cssvar(i[1]):void 0;return{"--un-text-shadow-opacity":o,"--un-text-shadow":Fi(a||s,"--un-text-shadow-color",o).join(","),"text-shadow":"var(--un-text-shadow)"}}return Q("--un-text-shadow-color","text-shadow")(e,t)??{"text-shadow":C.bracket.cssvar.global(r)}}var _f=[[/^text-shadow-(.+)$/,Cf,{autocomplete:["text-shadow-$textShadow","text-shadow(-color)?-$colors","text-shadow(-color)?-(op|opacity)-"]}],[/^text-shadow-color-(.+)$/,Q("--un-text-shadow-color","text-shadow"),{autocomplete:"text-shadow-color-$colors"}],[/^text-shadow(?:-color)?-op(?:acity)?-?(.+)$/,([,e])=>({"--un-text-shadow-opacity":C.bracket.percent.cssvar(e)}),{autocomplete:"text-shadow(-color)?-(op|opacity)-"}]],tt=[P("--un-ordinal"),P("--un-slashed-zero"),P("--un-numeric-figure"),P("--un-numeric-spacing"),P("--un-numeric-fraction")],rt={"font-variant-numeric":"var(--un-ordinal,) var(--un-slashed-zero,) var(--un-numeric-figure,) var(--un-numeric-spacing,) var(--un-numeric-fraction,)"},Df=[["ordinal",[{"--un-ordinal":"ordinal",...rt},...tt]],["slashed-zero",[{"--un-slashed-zero":"slashed-zero",...rt},...tt]],["lining-nums",[{"--un-numeric-figure":"lining-nums",...rt},...tt]],["oldstyle-nums",[{"--un-numeric-figure":"oldstyle-nums",...rt},...tt]],["proportional-nums",[{"--un-numeric-spacing":"proportional-nums",...rt},...tt]],["tabular-nums",[{"--un-numeric-spacing":"tabular-nums",...rt},...tt]],["diagonal-fractions",[{"--un-numeric-fraction":"diagonal-fractions",...rt},...tt]],["stacked-fractions",[{"--un-numeric-fraction":"stacked-fractions",...rt},...tt]],["normal-nums",[{"font-variant-numeric":"normal"}]]];function Bf([,e="base"],{theme:t}){let r=Mf(e,"length");if(!r)return;let[n,i]=r,a=t.text?.[n],s;if(i&&(t.leading?.[i]?(R("leading",i),s=X("leading",i)):s=C.bracket.cssvar.global.rem(i)),a)return R("text",[n,"fontSize"]),R("text",[n,"lineHeight"]),a.letterSpacing&&R("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=C.bracketOfLength.rem(n);return s&&o?{"font-size":o,"line-height":s}:{"font-size":C.bracketOfLength.rem(e)}}function Mu([,e],{theme:t}){if(t.text?.[e]!=null)return R("text",[e,"fontSize"]),R("text",[e,"lineHeight"]),{"font-size":X("text",[e,"fontSize"]),"line-height":`var(--un-leading, ${X("text",[e,"lineHeight"])})`};{let r=C.bracket.cssvar.global.rem(e);if(r)return{"font-size":r}}}function Of(e,t){return Br(C.bracket(e[1]))?Mu(e,t):Q("color","text")(e,t)}function Mf(e,t){let[r,n]=pn(e,"[","]",["/",":"])??[];if(r!=null){let i=(r.match(Mi)??[])[1];if(i==null||i===t)return[r,n]}}var Ff={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"},Nf=[[/^(.+?)-(\$.+)$/,([,e,t])=>{let r=Ff[e];if(r)return{[r]:C.cssvar(t)}}]],Lf=[[/^\[(.*)\]$/,([e,t],{theme:r})=>{if(!t.includes(":"))return;let[n,...i]=t.split(":"),a=i.join(":");if(!Pf(t)&&/^[\w-]+$/.test(n)&&Tf(a)){let s=C.bracket(`[${a}]`,r);if(s)return{[n]:s}}}]];function Tf(e){let t=0;function r(n){for(;t({"view-transition-name":e})]],jf=[$f,Ef,Sf,Af,_f,l1,u1,Lp,Np,Rp,ro,no,Vp,Up,Wp,Hp,Zp,ro,Yp,no,Gp,n1,Kp,i1,Mp,Bp,o1,g1,b1,v1,z1,I1,q1,V1,U1,W1,H1,Z1,Y1,G1,J1,K1,X1,Q1,ef,tf,rf,nf,L1,N1,xf,wf,Nf,Lf,Du,M1,_1,B1,D1,_u,C1,Bu,A1,O1,k1,gf,Tp,jp,af,of,sf,ff,uf,lf,cf,hf,df,pf,E1,a1,m1,x1,S1,T1,yf,vf,Df,zf,c1,d1,mf,F1].flat(),If=[...Fp],Fu={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(Fu).forEach(e=>{typeof e!="string"&&e!==void 0&&(e.DEFAULT=e.DEFAULT||e[400])});var Rf={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"}},qf={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"'},Vf={DEFAULT:"8px",xs:"4px",sm:"8px",md:"12px",lg:"16px",xl:"24px","2xl":"40px","3xl":"64px"},Uf={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(",")},Wf={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"}},Hf={thin:"100",extralight:"200",light:"300",normal:"400",medium:"500",semibold:"600",bold:"700",extrabold:"800",black:"900"},Zf={tighter:"-0.05em",tight:"-0.025em",normal:"0em",wide:"0.025em",wider:"0.05em",widest:"0.1em"},Yf={none:"1",tight:"1.25",snug:"1.375",normal:"1.5",relaxed:"1.625",loose:"2"},Gf={DEFAULT:"1.5rem",none:"0",sm:"thin",md:"medium",lg:"thick"},Jf={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)"},Kf={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"},Xf={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"},Qf={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)"},em={"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)"},tm={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)"},rm={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)"]},nm={dramatic:"100px",near:"300px",normal:"500px",midrange:"800px",distant:"1200px"},im={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)"}},am={"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"},Nu={sm:"40rem",md:"48rem",lg:"64rem",xl:"80rem","2xl":"96rem"},om={...Nu},sm={grid:"(display: grid)"},um={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(",")}},cm={font:Uf,colors:Fu,spacing:Kf,breakpoint:Nu,verticalBreakpoint:om,text:Wf,fontWeight:Hf,tracking:Zf,leading:Yf,textStrokeWidth:Gf,radius:Xf,shadow:Qf,insetShadow:em,dropShadow:tm,textShadow:rm,ease:um,animation:Rf,blur:Vf,perspective:nm,property:lm,default:im,container:am,aria:qf,media:Jf,supports:sm},hm={name:"aria",match(e,t){let r=Fe("aria-",e,t.generator.config.separators);if(r){let[n,i]=r,a=C.bracket(n)??t.theme.aria?.[n]??"";if(a)return{matcher:i,selector:s=>`${s}[aria-${a}]`}}},multiPass:!0,autocomplete:"aria-$aria"};function Dt(e){return{name:`${e}-aria`,match(t,r){let n=Fe(`${e}-aria-`,t,r.generator.config.separators);if(n){let[i,a,s]=n,o=C.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[e]})}}}},multiPass:!0}}var dm=[Dt("group"),Dt("peer"),Dt("parent"),Dt("previous"),Dt("has"),Dt("in")],bo=/(max|min)-\[([^\]]*)\]:/;function pm(){let e={};return{name:"breakpoints",match(t,r){if(bo.test(t)){let i=t.match(bo);return{matcher:t.replace(i[0],""),handle:(a,s)=>s({...a,parent:`${a.parent?`${a.parent} $$ `:""}@media (${i[1]}-width: ${i[2]})`})}}let n=(bn(r)??[]).map(({point:i,size:a},s)=>[i,a,s]);for(let[i,a,s]of n){e[i]||(e[i]=new RegExp(`^((?:([al]t-|[<~]|max-))?${i}(?:${r.generator.config.separators.join("|")}))`));let o=t.match(e[i]);if(!o)continue;let[,u]=o,c=t.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: ${Va(a)})`,parentOrder:p})}):(p+=s+1,h&&sm({...l,parent:`${l.parent?`${l.parent} $$ `:""}@media (min-width: ${a}) and (max-width: ${Va(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 fm=[Re("*",e=>({selector:`${e.selector} > *`}),{order:-1}),Re("**",e=>({selector:`${e.selector} *`}),{order:-1})];function ir(e,t){return{name:`combinator:${e}`,match(r,n){if(!r.startsWith(e))return;let i=n.generator.config.separators,a=wt(`${e}-`,r,i);if(!a){for(let o of i)if(r.startsWith(`${e}${o}`)){a=["",r.slice(e.length+o.length)];break}if(!a)return}let s=C.bracket(a[0])??"";return s===""&&(s="*"),{matcher:a[1],selector:o=>`${o}${t}${s}`}},multiPass:!0}}var mm=[ir("all"," "),ir("children",">"),ir("next","+"),ir("sibling","+"),ir("siblings","~")],gm=[Re("svg",e=>({selector:`${e.selector} svg`}))],bm={name:"@",match(e,t){if(e.startsWith("@container"))return;let r=Fe("@",e,t.generator.config.separators);if(r){let[n,i,a]=r,s=C.bracket(n),o;if(s?o=C.numberWithUnit(s):o=t.theme.container?.[n]??"",o){let u=1e3+Object.keys(t.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 ym(e={}){if(e?.dark==="class"||typeof e.dark=="object"){let{dark:t=".dark",light:r=".light"}=typeof e.dark=="string"?{}:e.dark;return[Re("dark",n=>({prefix:`${t} $$ ${n.prefix}`})),Re("light",n=>({prefix:`${r} $$ ${n.prefix}`}))]}return[ye("dark","@media (prefers-color-scheme: dark)"),ye("light","@media (prefers-color-scheme: light)")]}var vm=[Re(".dark",e=>({prefix:`.dark $$ ${e.prefix}`})),Re(".light",e=>({prefix:`.light $$ ${e.prefix}`})),ye("@dark","@media (prefers-color-scheme: dark)"),ye("@light","@media (prefers-color-scheme: light)"),ye("not-dark","@media not (prefers-color-scheme: dark)")],km={name:"data",match(e,t){let r=Fe("data-",e,t.generator.config.separators);if(r){let[n,i]=r,a=C.bracket(n)??t.theme.data?.[n]??"";if(a)return{matcher:i,selector:s=>`${s}[data-${a}]`}}},multiPass:!0};function Bt(e){return{name:`${e}-data`,match(t,r){let n=Fe(`${e}-data-`,t,r.generator.config.separators);if(n){let[i,a,s]=n,o=C.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[e]})}}}},multiPass:!0}}var xm=[Bt("group"),Bt("peer"),Bt("parent"),Bt("previous"),Bt("has"),Bt("in")],wm=[Re("rtl",e=>({prefix:`[dir="rtl"] $$ ${e.prefix}`})),Re("ltr",e=>({prefix:`[dir="ltr"] $$ ${e.prefix}`}))];function $m(){let e;return{name:"important",match(t,r){e||(e=new RegExp(`^(important(?:${r.generator.config.separators.join("|")})|!)`));let n,i=t.match(e);if(i?n=t.slice(i[0].length):t.endsWith("!")&&(n=t.slice(0,-1)),n)return{matcher:n,body:a=>(a.forEach(s=>{s[1]!=null&&(s[1]+=" !important")}),a)}}}}var Em=Re("inert",e=>({parent:`${e.parent?`${e.parent} $$ `:""}${e.selector}`,selector:"&:is([inert],[inert] *)"})),Sm=ye("noscript","@media (scripting: none)"),Am={name:"scripting",match(e,t){let r=Fe(["script-","scripting-"],e,t.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)"]},Cm=ye("print","@media print"),_m={name:"media",match(e,t){let r=Fe("media-",e,t.generator.config.separators);if(r){let[n,i]=r,a=C.bracket(n)??"";if(a===""&&(a=t.theme.media?.[n]??""),a)return{matcher:i,handle:(s,o)=>o({...s,parent:`${s.parent?`${s.parent} $$ `:""}@media ${a}`})}}},multiPass:!0,autocomplete:"media-$media"},Dm=[ye("contrast-more","@media (prefers-contrast: more)"),ye("contrast-less","@media (prefers-contrast: less)")],Bm=[ye("motion-reduce","@media (prefers-reduced-motion: reduce)"),ye("motion-safe","@media (prefers-reduced-motion: no-preference)")],Om=[ye("landscape","@media (orientation: landscape)"),ye("portrait","@media (orientation: portrait)")],Mm=[ye("forced-colors","@media (forced-colors: active)")],Fm={name:"selector",match(e,t){let r=wt("selector-",e,t.generator.config.separators);if(r){let[n,i]=r,a=C.bracket(n);if(a)return{matcher:i,selector:()=>a}}}},Nm={name:"layer",match(e,t){let r=Fe("layer-",e,t.generator.config.separators);if(r){let[n,i]=r,a=C.bracket(n)??n;if(a)return{matcher:i,handle:(s,o)=>o({...s,parent:`${s.parent?`${s.parent} $$ `:""}@layer ${a}`})}}}},Lm={name:"uno-layer",match(e,t){let r=Fe("uno-layer-",e,t.generator.config.separators);if(r){let[n,i]=r,a=C.bracket(n)??n;if(a)return{matcher:i,layer:a}}}},Tm={name:"scope",match(e,t){let r=wt("scope-",e,t.generator.config.separators);if(r){let[n,i]=r,a=C.bracket(n);if(a)return{matcher:i,selector:s=>`${a} $$ ${s}`}}}},Pm={name:"variables",match(e,t){if(!e.startsWith("["))return;let[r,n]=Dr(e,"[","]")??[];if(!(r&&n))return;let i;for(let o of t.generator.config.separators)if(n.startsWith(o)){i=n.slice(o.length);break}if(i==null)return;let a=C.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},zm={name:"theme-variables",match(e,t){if(xd(e))return{matcher:e,handle(r,n){return n({...r,entries:JSON.parse(du(JSON.stringify(r.entries),t.theme))})}}}},jm=[Re("@hover",e=>({parent:`${e.parent?`${e.parent} $$ `:""}@media (hover: hover) and (pointer: fine)`,selector:`${e.selector||""}:hover`}))],Im={name:"implicit-group",match(e,t){let r=Fe("in-",e,t.generator.config.separators);if(r){let[n,i]=r,a=C.bracket(n)??n;if(a)return{matcher:i,handle:(s,o)=>o({...s,parent:`${s.parent?`${s.parent} $$ `:""}${s.selector}`,selector:`:where(*:is(${a})) &`})}}}},Lu=/^-?[0-9.]+(?:[a-z]+|%)?$/,Tu=/-?[0-9.]+(?:[a-z]+|%)?/,yo=/var\(--spacing(?:-[\w-]+)?\)\s*\*\s*(-?[0-9.]+(?:[a-z]+|%)?)/,Rm=[/\b(opacity|color|flex|backdrop-filter|^filter|^scale|transform|mask-image)\b/];function qm(e){let t=e.match(Oi)||e.match(tp);if(t){let[r,n]=pn(`(${t[2]})${t[3]}`,"(",")"," ")??[];if(r){let i=r.match(yo);if(i){let a=i[1],s=a.startsWith("-")?a.slice(1):`-${a}`,o=r.replace(yo,u=>u.replace(a,s));return`${t[1]}${o}${n?` ${n}`:""}`}return`calc(${t[1]}${r} * -1)${n?` ${n}`:""}`}}}var Vm=/\b(hue-rotate)\s*(\(.*)/;function Um(e){let t=e.match(Vm);if(t){let[r,n]=pn(t[2],"(",")"," ")??[];if(r){let i=Lu.test(r.slice(1,-1))?r.replace(Tu,a=>a.startsWith("-")?a.slice(1):`-${a}`):`(calc(${r} * -1))`;return`${t[1]}${i}${n?` ${n}`:""}`}}}var Wm={name:"negative",match(e){if(e.startsWith("-"))return{matcher:e.slice(1),body:t=>{if(t.some(n=>n[0]==="$$mini-no-negative"))return;let r=!1;for(let n of t){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"||Rm.some(c=>c.test(i)))continue;let u=qm(o)??Um(o)??(Lu.test(o)?o.replace(Tu,c=>c.startsWith("-")?c.slice(1):`-${c}`):void 0);!u||u===o||(n[1]=u,r=!0)}return r?t:[]}}}},Hm=(e,{theme:t})=>{let r=e.match(/^(.*)\b(placeholder-)(.+)$/);if(r){let[,n="",i,a]=r;if(ht(a,t)||Zm(a))return{matcher:`${n}placeholder-$ ${i}${a}`}}};function Zm(e){let t=e.match(/^op(?:acity)?-?(.+)$/);return t&&t[1]!=null?C.bracket.percent(t[1])!=null:!1}function Ym(){return Cd({getBracket:Dr,h:C,variantGetBracket:wt})}function Gm(){return _d({getBracket:Dr,h:C,variantGetBracket:wt})}function Jm(e={}){return Dd(e,{getBracket:Dr,h:C,variantGetBracket:wt})}var Km=Od(),Xm={name:"starting",match(e){if(e.startsWith("starting:"))return{matcher:e.slice(9),handle:(t,r)=>r({...t,parent:"@starting-style"})}}},Qm={name:"supports",match(e,t){let r=Fe("supports-",e,t.generator.config.separators);if(r){let[n,i]=r,a=C.bracket(n)??"";if(a===""&&(a=t.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 e4(e){return[hm,km,Nm,Fm,Lm,Wm,Xm,$m(),Qm,Sm,Am,Cm,_m,...Dm,...Bm,...Om,...Mm,pm(),...mm,...gm,Hm,...Ym(),Gm(),...Jm(e),Km,...ym(e),...vm,...wm,Tm,...fm,Em,bm,Pm,...xm,...dm,zm,...jm,Im].flat()}function t4(e){if(e.preflights?.property===!1)return;let t=typeof e.preflights?.property=="object"?e.preflights.property:void 0,r=t?.parent!==void 0?t.parent:"@supports ((-webkit-hyphens: none) and (not (margin-trim: inline))) or ((-moz-orient: inline) and (not (color:rgb(from red r g b))))",n=t?.selector??"*, ::before, ::after, ::backdrop",i=e.variablePrefix??"un-";return{getCSS:()=>{if(zt.size===0)return;let a=Array.from(zt.entries()).map(([s,o])=>`${s.replace(/^--un-/,`--${i}`)}:${o};`).join("");return r===!1?`${n}{${a}}`:`${r}{${n}{${a}}}`},layer:"properties"}}var r4=` /* 1. Prevent padding and border from affecting element width. (https://github.com/mozdevs/cssremedy/issues/4) 2. Remove default margins and padding 3. Reset all borders. */ *, ::after, ::before, ::backdrop, ::file-selector-button { box-sizing: border-box; /* 1 */ margin: 0; /* 2 */ padding: 0; /* 2 */ border: 0 solid; /* 3 */ } /* 1. Use a consistent sensible line-height in all browsers. 2. Prevent adjustments of font size after orientation changes in iOS. 3. Use a more readable tab size. 4. Use the user's configured \`sans\` font-family by default. 5. Use the user's configured \`sans\` font-feature-settings by default. 6. Use the user's configured \`sans\` font-variation-settings by default. 7. Disable tap highlights on iOS. */ html, :host { line-height: 1.5; /* 1 */ -webkit-text-size-adjust: 100%; /* 2 */ tab-size: 4; /* 3 */ font-family: var( --default-font-family, ui-sans-serif, system-ui, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji' ); /* 4 */ font-feature-settings: var(--default-font-featureSettings, normal); /* 5 */ font-variation-settings: var(--default-font-variationSettings, normal); /* 6 */ -webkit-tap-highlight-color: transparent; /* 7 */ } /* 1. Add the correct height in Firefox. 2. Correct the inheritance of border color in Firefox. (https://bugzilla.mozilla.org/show_bug.cgi?id=190655) 3. Reset the default border style to a 1px solid border. */ hr { height: 0; /* 1 */ color: inherit; /* 2 */ border-top-width: 1px; /* 3 */ } /* Add the correct text decoration in Chrome, Edge, and Safari. */ abbr:where([title]) { -webkit-text-decoration: underline dotted; text-decoration: underline dotted; } /* Remove the default font size and weight for headings. */ h1, h2, h3, h4, h5, h6 { font-size: inherit; font-weight: inherit; } /* Reset links to optimize for opt-in styling instead of opt-out. */ a { color: inherit; -webkit-text-decoration: inherit; text-decoration: inherit; } /* Add the correct font weight in Edge and Safari. */ b, strong { font-weight: bolder; } /* 1. Use the user's configured \`mono\` font-family by default. 2. Use the user's configured \`mono\` font-feature-settings by default. 3. Use the user's configured \`mono\` font-variation-settings by default. 4. Correct the odd \`em\` font sizing in all browsers. */ code, kbd, samp, pre { font-family: var( --default-monoFont-family, ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, 'Liberation Mono', 'Courier New', monospace ); /* 1 */ font-feature-settings: var(--default-monoFont-featureSettings, normal); /* 2 */ font-variation-settings: var(--default-monoFont-variationSettings, normal); /* 3 */ font-size: 1em; /* 4 */ } /* Add the correct font size in all browsers. */ small { font-size: 80%; } /* Prevent \`sub\` and \`sup\` elements from affecting the line height in all browsers. */ sub, sup { font-size: 75%; line-height: 0; position: relative; vertical-align: baseline; } sub { bottom: -0.25em; } sup { top: -0.5em; } /* 1. Remove text indentation from table contents in Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=999088, https://bugs.webkit.org/show_bug.cgi?id=201297) 2. Correct table border color inheritance in all Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=935729, https://bugs.webkit.org/show_bug.cgi?id=195016) 3. Remove gaps between table borders by default. */ table { text-indent: 0; /* 1 */ border-color: inherit; /* 2 */ border-collapse: collapse; /* 3 */ } /* Use the modern Firefox focus style for all focusable elements. */ :-moz-focusring { outline: auto; } /* Add the correct vertical alignment in Chrome and Firefox. */ progress { vertical-align: baseline; } /* Add the correct display in Chrome and Safari. */ summary { display: list-item; } /* Make lists unstyled by default. */ ol, ul, menu { list-style: none; } /* 1. Make replaced elements \`display: block\` by default. (https://github.com/mozdevs/cssremedy/issues/14) 2. Add \`vertical-align: middle\` to align replaced elements more sensibly by default. (https://github.com/jensimmons/cssremedy/issues/14#issuecomment-634934210) This can trigger a poorly considered lint error in some tools but is included by design. */ img, svg, video, canvas, audio, iframe, embed, object { display: block; /* 1 */ vertical-align: middle; /* 2 */ } /* Constrain images and videos to the parent width and preserve their intrinsic aspect ratio. (https://github.com/mozdevs/cssremedy/issues/14) */ img, video { max-width: 100%; height: auto; } /* 1. Inherit font styles in all browsers. 2. Remove border radius in all browsers. 3. Remove background color in all browsers. 4. Ensure consistent opacity for disabled states in all browsers. */ button, input, select, optgroup, textarea, ::file-selector-button { font: inherit; /* 1 */ font-feature-settings: inherit; /* 1 */ font-variation-settings: inherit; /* 1 */ letter-spacing: inherit; /* 1 */ color: inherit; /* 1 */ border-radius: 0; /* 2 */ background-color: transparent; /* 3 */ opacity: 1; /* 4 */ } /* Restore default font weight. */ :where(select:is([multiple], [size])) optgroup { font-weight: bolder; } /* Restore indentation. */ :where(select:is([multiple], [size])) optgroup option { padding-inline-start: 20px; } /* Restore space after button. */ ::file-selector-button { margin-inline-end: 4px; } /* Reset the default placeholder opacity in Firefox. (https://github.com/tailwindlabs/tailwindcss/issues/3300) */ ::placeholder { opacity: 1; } /* Set the default placeholder color to a semi-transparent version of the current text color in browsers that do not crash when using \`color-mix(\u2026)\` with \`currentcolor\`. (https://github.com/tailwindlabs/tailwindcss/issues/17194) */ @supports (not (-webkit-appearance: -apple-pay-button)) /* Not Safari */ or (contain-intrinsic-size: 1px) /* Safari 17+ */ { ::placeholder { color: color-mix(in oklab, currentcolor 50%, transparent); } } /* Prevent resizing textareas horizontally by default. */ textarea { resize: vertical; } /* Remove the inner padding in Chrome and Safari on macOS. */ ::-webkit-search-decoration { -webkit-appearance: none; } /* 1. Ensure date/time inputs have the same height when empty in iOS Safari. 2. Ensure text alignment can be changed on date/time inputs in iOS Safari. */ ::-webkit-date-and-time-value { min-height: 1lh; /* 1 */ text-align: inherit; /* 2 */ } /* Prevent height from changing on date/time inputs in macOS Safari when the input is set to \`display: block\`. */ ::-webkit-datetime-edit { display: inline-flex; } /* Remove excess padding from pseudo-elements in date/time inputs to ensure consistent height across browsers. */ ::-webkit-datetime-edit-fields-wrapper { padding: 0; } ::-webkit-datetime-edit, ::-webkit-datetime-edit-year-field, ::-webkit-datetime-edit-month-field, ::-webkit-datetime-edit-day-field, ::-webkit-datetime-edit-hour-field, ::-webkit-datetime-edit-minute-field, ::-webkit-datetime-edit-second-field, ::-webkit-datetime-edit-millisecond-field, ::-webkit-datetime-edit-meridiem-field { padding-block: 0; } /* Center dropdown marker shown on inputs with paired \`\`s in Chrome. (https://github.com/tailwindlabs/tailwindcss/issues/18499) */ ::-webkit-calendar-picker-indicator { line-height: 1; } /* Remove the additional \`:invalid\` styles in Firefox. (https://github.com/mozilla/gecko-dev/blob/2f9eacd9d3d995c937b4251a5557d95d494c9be1/layout/style/res/forms.css#L728-L737) */ :-moz-ui-invalid { box-shadow: none; } /* Correct the inability to style the border radius in iOS Safari. */ button, input:where([type='button'], [type='reset'], [type='submit']), ::file-selector-button { appearance: button; } /* Correct the cursor style of increment and decrement buttons in Safari. */ ::-webkit-inner-spin-button, ::-webkit-outer-spin-button { height: auto; } /* Make elements with the HTML hidden attribute stay hidden by default. */ [hidden]:where(:not([hidden~='until-found'])) { display: none !important; } `;function n4(e){if(e.preflights?.reset!==!1)return{getCSS:({generator:t})=>(R("font","sans"),R("font","mono"),R("default",["font","family"]),R("default",["monoFont","family"]),wu(r4,t.config.envMode==="dev")),layer:"base"}}var i4=["spacing","breakpoint","verticalBreakpoint","shadow","insetShadow","dropShadow","textShadow","animation","property","aria","media","supports","containers"];function a4(e,t){let r=new Map([["--spacing",e.spacing.DEFAULT]]),n=a=>a.replace(cu,"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 e)t.includes(a)&&i(e[a],a);return r}function o4(e){let t=typeof e.preflights?.theme=="boolean"||typeof e.preflights?.theme=="string"?{mode:e.preflights.theme??"on-demand"}:{mode:e.preflights?.theme?.mode??"on-demand",...e.preflights?.theme};return{layer:"theme",getCSS(r){let{theme:n,generator:i}=r,a=Ze(i.config.safelist.flatMap(d=>typeof d=="function"?d(r):d)),{mode:s,process:o}=t;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=kr(n,h,l);typeof m=="string"&&(R(h,l),yn(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?`${Ke(p)}: ${l};`:void 0).filter(Boolean);if(h.length!==0)return wu(` :root, :host { ${h.join(` `)} }`,i.config.envMode==="dev")};if(s==="on-demand"){if(Pt.size===0)return;u=Array.from(Pt).map(d=>{let[h,p]=d.split(":"),l=kr(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=>!i4.includes(h));u=Array.from(a4(n,d))}return c(u)}}}var s4=e=>[n4(e),o4(e),t4(e)].filter(Boolean),u4={position:["relative","absolute","fixed","sticky","static"],globalKeyword:ee},l4=(e={})=>(e.dark=e.dark??"class",e.attributifyPseudo=e.attributifyPseudo??!1,e.variablePrefix=e.variablePrefix??"un-",e.important=e.important??!1,{name:Xd,rules:jf,shortcuts:If,theme:cm,layers:{properties:-200,theme:-150,base:-100},preflights:s4(e),variants:e4(e),prefix:e.prefix,postprocess:Jd(e),extractorDefault:e.arbitraryVariants===!1?void 0:Rd(),autocomplete:{shorthands:u4},options:e,configResolved(){Pt.clear(),zt.clear()},meta:{themeDeps:Pt,propertyDeps:zt}}),c4=sn($l(),1),h4=`:host, :host *, :host::before, :host::after, :host *::before, :host *::after, :host::backdrop, :host *::backdrop { /* Opacity */ --un-bg-opacity: 100%; --un-text-opacity: 100%; --un-border-opacity: 100%; --un-outline-opacity: 100%; --un-ring-opacity: 100%; --un-divide-opacity: 100%; --un-placeholder-opacity: 100%; /* Gradients */ --un-gradient-position: initial; --un-gradient-from: #0000; --un-gradient-via: #0000; --un-gradient-to: #0000; --un-gradient-stops: initial; --un-gradient-via-stops: initial; --un-gradient-from-position: 0%; --un-gradient-via-position: 50%; --un-gradient-to-position: 100%; --un-from-opacity: 100%; --un-via-opacity: 100%; --un-to-opacity: 100%; /* Ring */ --un-ring-color: initial; --un-ring-shadow: 0 0 #0000; --un-ring-inset: initial; --un-ring-offset-width: 0px; --un-ring-offset-color: #fff; --un-ring-offset-shadow: 0 0 #0000; --un-inset-ring-color: initial; --un-inset-ring-shadow: 0 0 #0000; /* Shadow */ --un-shadow: 0 0 #0000; --un-shadow-color: initial; --un-inset-shadow: 0 0 #0000; --un-inset-shadow-color: initial;= /* Border, Outline */ --un-border-style: solid; --un-outline-style: solid; /* Font, Letter Spacing */ --un-font-weight: initial; --un-tracking: initial; /* Transforms */ --un-translate-x: 0; --un-translate-y: 0; --un-translate-z: 0; --un-rotate-x: rotateX(0); --un-rotate-y: rotateY(0); --un-rotate-z: rotateZ(0); --un-skew-x: skewX(0); --un-skew-y: skewY(0); --un-scale-x: 1; --un-scale-y: 1; --un-scale-z: 1; /* Filters */ --un-blur: initial; --un-brightness: initial; --un-contrast: initial; --un-grayscale: initial; --un-hue-rotate: initial; --un-invert: initial; --un-opacity: initial; --un-saturate: initial; --un-sepia: initial; --un-drop-shadow: initial; /* Backdrop */ --un-backdrop-blur: initial; --un-backdrop-brightness: initial; --un-backdrop-contrast: initial; --un-backdrop-grayscale: initial; --un-backdrop-hue-rotate: initial; --un-backdrop-invert: initial; --un-backdrop-opacity: initial; --un-backdrop-saturate: initial; --un-backdrop-sepia: initial; --un-backdrop-drop-shadow: initial; /* Transitions */ --un-duration: initial; --un-ease: initial; /* Other */ --un-content: ''; --un-divide-y-reverse: 0; --un-divide-x-reverse: 0; --un-space-x-reverse: 0; --un-space-y-reverse: 0; --un-default-border-color: #e5e7eb; } :host::before, :host::after, :host *::before, :host *::after { --un-content: ''; } `,Ti=sn(Yo(),1),Pu=Uh({presets:[l4(),Zd()],preflights:[{getCSS:()=>h4}],theme:{}}),jt=10,vn="string",zu=c4.default,kn=class extends Ti.default.Visitor{data=[];match=()=>!0;constructor(e){super(),e&&this.setMatchHandler(e)}onCollect(e){this.match(e)&&this.data.push(e)}setMatchHandler(e){return this.match=e,this}setAst(e){return this.accept(e),this}collect(e){return this.data=[],this.setAst(e),this.data}},ju=class extends kn{CommentStatement(e){return this.onCollect(e.value),super.CommentStatement(e)}},Iu=class extends kn{ContentStatement(e){return this.onCollect(e.value),super.ContentStatement(e)}},Ru=class extends kn{PathExpression(e){let t=e.original,r=n=>t===n;return r("if")||r("unless")||r("each")||r("with")?super.PathExpression(e):(this.onCollect(e.original),super.PathExpression(e))}},qu=class extends ju{match=Ui.macro},Vu=class extends Iu{match=Ui.htmlH1Somewhere};function ke(e,...t){return t.includes(e)}function fi(e,t){return e.hasOwnProperty(t)}function de(e){return!ke(e,null,void 0)}function De(e){return de(e)&&!isNaN(Number(e))}function ge(e){return typeof e=="object"&&e!==null}function U(e){return ge(e)?JSON.stringify(e):typeof e=="string"?`'${e}'`:String(e)}function Pi(e){return Ti.default.parse(e)}function mi(e){return Ti.default.compile(e)}function zi(e,t={},r={}){return e(t,{helpers:r})}async function Uu(e,t={},r={}){let n=r?.helpers??{},i=!!(r?.doGenerateGlobalStyles??!0),a=await Pu,s=zi(e,t,n),{css:o}=await a.generate(s,{preflights:i});return o}function Wu(e){return[...new Set(e)]}function Hu(e){let t=new Ru().collect(e);return Wu(t)}function nn(e,t=jt){if(t<=0)throw new It("Flext: Unable to get the model: The model is too deep");let[r,...n]=e?.split(".")??[],i={name:r};return n?.length>0&&(i.$=[nn(n?.join(".")||"",t-1)]),i}function Zu(e,t=jt){let r={name:"root",$:[nn(e,t)]};return r.addPath=(n,i=jt)=>{let a=nn(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 Yu(e){let[t,...r]=Hu(e),n=Zu(t);for(let i of r){let a=s=>i.startsWith(s);a(".")||a("/")||a("@")||a("this")||n.addPath(i)}return n}function ji(e,t,r={},n=jt){if(n<=0)throw new It("Flext: Unable to get data model: The data model is too deep");let i=w=>t?.find(E=>E?.name===w)??null,a=r?.fieldName??e?.name??null,s=i(a),o=s?.order??null,u=e?.$??[],c=u?.length?"object":s?.type??vn,d=e?.name??null,h=s?.label??null,p=s?.hint??null,l=s?.min??null,m=s?.max??null,f=s?.minLength??null,g=s?.maxLength??null,v=s?.options??null,y=s?.isRequired??null,S=[];for(let w of u){let E=w?.name??null;S.push(ji(w,t,{fieldName:a+"."+E},n-1))}let $=S.sort((w,E)=>{let A=w?.extra?.fieldName??null,_=i(A)??{},D=_?.order??null,B=_?.extra?.absoluteOrder??null,O=E?.extra?.fieldName??null,M=i(O)??{},F=M?.order??null,L=M?.extra?.absoluteOrder??null;return Yr(D,F)!==0?Yr(D,F):Yr(B,L)}),k=S?.length&&S.every(w=>w?.isRequired),x=de(y)?y:k;return{type:c,name:d,label:h,hint:p,min:l,max:m,minLength:f,maxLength:g,order:o,options:v,isRequired:x,extra:{fieldName:a},$}}function Gu(e){let t=s=>e?.match(s)??null,r=s=>{let o=s?.groups?.value??null;return{name:s?.groups?.name??o,value:o}},n=t(je.macroParam),i=t(je.macroNamedParam),a=t(je.macroSimpleParam);return n?r(n):i?r(i):a?r(a):null}function Ju(e,t=!0){let r=e?.match(je.macroParams)??[],n=[];for(let i of r){let a=Gu(i);if(a)n.push(a);else if(t)throw new we("Flext: Unable to parse the macros: Bad token: "+U(i))}return n}function Ii(e,t=!0){let r=new qu().collect(e),n=[];for(let i of r){let a=i?.trim()?.match(je.macro)??null;if(!a){if(t)throw new we("Flext: Unable to parse the macros: Bad macro: "+U(i));return null}let s=a?.groups?.name??null,o=a?.groups?.params??null,u=Ju(o,t);n.push({name:s,params:u})}return n}function Ku(e,t=!0){let r=new Vu().collect(e),n=[];for(let i of r){let a=i?.trim()?.match(je.htmlH1Somewhere)??null;if(!a){if(t)throw new we("Flext: Unable to parse H1: Bad HTML: "+U(i));return null}for(let s of a)n.push(String(s))}return n}function Ri(e,t,r=jt){if(r<=0)throw new It("Flext: Unable to verify the data: The data model is too deep");let n=[],i=o=>!ke(o,"",null,void 0),a=o=>String(o).length,s=(o,u)=>{n.push(new un(o,u))};for(let o of t){let u=o?.extra?.fieldName??null,c=u??o?.name??"Unknown",d=e[o.name]??null;if(!i(d)&&o?.isRequired){s(`Field '${c}' is required (${U(d)} is passed)`,u);continue}if(ke(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(ke(o?.type,"number","date")&&i(o?.max)&&i(d)&&o?.maxa(d)){s(`'${c}' field value is shorter than the range (${U(d)} is passed, the minimum is ${U(o?.minLength)})`,u);continue}if(!ke(o?.type,"object","array","mixed")&&i(o?.maxLength)&&i(d)&&o?.maxLengtha(d)){s(`'${c}' field value is shorter than the range (${U(d)} is passed, the minimum is ${U(o?.min)})`,u);continue}if(ke(o?.type,"string")&&De(o?.max)&&i(d)&&Number(o?.max){let c=new Date(o);if(isNaN(c.getTime())&&u)throw new we("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(de(c)&&de(d)&&de(h))return H.fromObject({year:c,month:d,day:h}).toJSDate();if(u)throw new fe("Flext: Unable to get date: The date is invalid: "+U(o));return null},s=(o,u=!0)=>{let c=H.fromISO(o);if(c.isValid)return c.toJSDate();if(u)throw new we("Flext: Unable to get date: The date is invalid: "+U(o));return null};return r?e:De(e)?i(e,t):n?a(e,t):s(e,t)}function Xu(e){let t=zu(String(e)).trim(),r=(n,i="")=>t=t.replace(n,i);return r(` `," "),r(/\s{2,}/mg," "),r(/[^\p{L}\d\s]/mgu),t.trim()}function Qu(e){let t=e,r=(n,i="")=>t=t.replace(n,i);return r("["),r("]"),t.trim()}function gi(e){return De(e)||ge(e)&&e instanceof Date?e:null}function bi(e){return De(e)?e:null}function el(e){return de(e)?Number(e):null}function Vi(e){if(typeof e!="string")try{return JSON.parse(e)}catch{return e??null}else return e??null}function tl(...e){return e.reduce((t,r)=>Number(t)+Number(r),0)}function yi(e,t){return!!String(t).trim().match(e)}function Yr(e,t){return!de(e)&&!de(t)?0:de(e)?de(t)?e-t:-1:1}function rl(e){return(e?.params??[]).map(t=>t?.value??null)}function nl(e){let t=e?.name??null,r=e?.params??[],[n,...i]=r,a=S=>{let $=i?.find(k=>k?.name===S)??null;return $&&$?.value?$?.value??null:$&&$?.name?!0:null},s=xn(a("type")??vn),o=dr(n?.value),u=dr(a("label")),c=dr(a("descr")),d=dr(a("hint")),h=gi(a("min")),p=gi(a("max")),l=bi(a("minLength")),m=bi(a("maxLength")),f=el(a("order")),g=Vi(a("value")),v=!!a("required");if(!o)throw new fe("Unable to get field: The 'name' param is not set: "+U(o));let y=Qu(o);return{type:s,name:y,label:u,descr:c,hint:d,min:h,max:p,minLength:l,maxLength:m,order:f,value:g,isRequired:v,extra:{macroName:t}}}function il(e){let t=e?.params??[],[r,...n]=t,i=p=>{let l=n?.find(m=>m?.name===p)??null;return l&&l?.value?l?.value??null:l&&l?.name?!0:null},a=xn(i("type")??vn),s=r?.value??null,o=i("for")??null,u=i("label")??null,c=i("descr")??null,d=Vi(i("value")??s),h=!!i("disabled");if(!s)throw new fe("Unable to get field option: The 'name' param is not set: "+U(s));if(!o)throw new fe(`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 al(e,t){let r=n=>e?.filter(i=>i?.fieldName===n)??[];for(let n of t)r(n.name)?.length&&(n.options=r(n.name))}function ol(e){for(let[t,r]of e.entries())r?.extra?r.extra.absoluteOrder=t:r.extra={absoluteOrder:t}}function Ue(e={}){return{helpers:e?.helpers??null}}var je=class{static firstChars=/\b\p{L}/gu;static dbDateStr=/^\d+-\d+-\d+$/;static macro=/^@(?.+?) (?.+)$/;static macroParams=/(?".+?")|(?[a-zA-Z0-9]+=".+?")|(?[a-zA-Z0-9]+)/gm;static macroParam=/^"(?.+)"$/;static macroNamedParam=/^(?.+)="(?.+)"$/;static macroSimpleParam=/^(?[a-zA-Z]+)$/;static htmlH1Somewhere=/\(?.*)\<\/h1.*?\>/gs},Ui=class{static macro(e){return yi(je.macro,e)}static htmlH1Somewhere(e){return yi(je.htmlH1Somewhere,e)}},sl="syntax",Xe=class{testAst(e,t){if(!this.name)throw new fe("Flext: Unable to test the template: 'name' param is not set in the dialect");let r=Ii(e)?.find(i=>i?.name===sl)??null;if(!r){if(t)throw new we("Flext: Unable to test the template: '@syntax' macro is not set");return!1}let[n]=r?.params??[];if(!n){if(t)throw new we("Flext: Unable to test the template: Bad '@syntax' macro");return!1}return this.aliases&&this.aliases?.length?n?.value===this.name||ke(n?.value,...this.aliases):n?.value===this.name}test(e,t){let r=ge(e)&&e?.body?e:Pi(String(e));return this.testAst(r,t)}templateToStandard(e){return e}},ul=class extends Xe{name="standard"},d4=Xe,Wi={};on(Wi,{array:()=>w4,cond:()=>D4,date:()=>j4,match:()=>q4,math:()=>J4,media:()=>K4,number:()=>ag,put:()=>lg,qr:()=>vg,string:()=>Og});function $e(e){let t=e?.args??[],r=e?.namedArgs??{},[n,i,a,...s]=t,{separator:o=" ",strict:u,all:c,start:d,end:h}=r;if(n==="check")return Array.isArray(i);if(!Array.isArray(i))throw new Lt(`Array: Unable to perform '${n}': The given value is not an array: ${U(i)}`);let p=(v,y)=>{let S=y?.split(".")??[],$=[];for(let k of v){let x=k;for(let w of S)x=x[w];$.push(x)}return $},l=v=>{let y=[];for(let S=v.length-1;S>=0;S--)y.push(v[S]);return y},m=(...v)=>{for(let y of v)if(u&&i?.indexOf(y)>=0||i?.some(S=>JSON.stringify(S)===JSON.stringify(y)))return!0;return!1},f=(...v)=>{for(let y of v)if(u&&i?.indexOf(y)<0||ge(y)&&!i?.some(S=>ge(S)&&JSON.stringify(S)===JSON.stringify(y))||!i?.some(S=>S==y))return!1;return!0},g=(...v)=>{let y=[];for(let S of v){if(!Array.isArray(S))throw new Lt(`Array: Unable to perform '${n}': The given param is not an array: ${U(a)}`);for(let $ of S)y.push($)}return y};switch(n){case"string":return i.join(o);case"destruct":return p(i,a);case"length":return i.length;case"empty":return i.length===0;case"reverse":return l(i);case"contains":return c?f(a,...s):m(a,...s);case"first":return i[0];case"last":return i[i.length-1];case"slice":return de(h)?i.slice(d,h):i.slice(d);case"concat":return g(i,a,...s);case"unique":return[...new Set(i)];default:return i}}function p4(e){let t=e?.args??[],[r]=t;return $e({...e,args:["string",r]})}function f4(e){let t=e?.args??[],[r,n]=t;return $e({...e,args:["destruct",r,n]})}function vo(e){let t=e?.args??[],[r]=t;return $e({...e,args:["length",r]})}function m4(e){let t=e?.args??[],[r]=t;return $e({...e,args:["empty",r]})}function g4(e){let t=e?.args??[],[r]=t;return $e({...e,args:["reverse",r]})}function b4(e){let t=e?.args??[],[r,...n]=t;return $e({...e,args:["contains",r,...n]})}function y4(e){let t=e?.args??[],r=e?.namedArgs??{},[n]=t,{start:i,end:a}=r;return de(a)?$e({...e,args:["slice",n],namedArgs:{...r,start:i,end:a}}):$e({...e,args:["slice",n],namedArgs:{...r,start:i}})}function v4(e){let t=e?.args??[],[r,...n]=t;return $e({...e,args:["concat",r,...n]})}function k4(e){let t=e?.args??[],[r]=t;return $e({...e,args:["unique",r]})}function x4(e){let t=e?.args??[],[r]=t;return $e({...e,args:["check",r]})}var w4=Ue({helpers:{op:$e,string:p4,destruct:f4,length:vo,len:vo,empty:m4,reverse:g4,contains:b4,slice:y4,concat:v4,unique:k4,check:x4,__default:$e}});function Be(e){let t=e?.args??[],r=e?.namedArgs??{},[n,i,a,...s]=t,{soft:o,inclusive:u}=r;if(n==="not")return!i;let c=(g,v)=>o&&ge(g)&&ge(v)?JSON.stringify(g)===JSON.stringify(v):o?g==v:g===v,d=(g,...v)=>{for(let y of v)if(o&&ge(g)&&ge(y)&&JSON.stringify(g)===JSON.stringify(y)||o&&g==y||g===y)return!1;return!0},h=(...g)=>g.reduce((v,y)=>v&&y),p=(...g)=>g.reduce((v,y)=>v||y),l=(g,v,y=!1)=>{if(De(g)&&y)return Number(g)>=Number(v);if(De(g))return Number(g)>Number(v);if(ge(g)&&g instanceof H&&y)return g>=v;if(ge(g)&&g instanceof H)return g>v;throw new kt(`Condition: Unable to perform '${i}': Unsupported type: ${U(typeof n)}`)},m=(g,v,y=!1)=>!l(g,v,!y),f=(g,v,y,S=!1)=>l(g,v,S)&&m(g,y,S);switch(i){case"equal":return c(n,a);case"notEqual":return d(n,a,...s);case"and":return h(n,a,...s);case"or":return p(n,a,...s);case"greater":return l(n,a);case"greaterOrEqual":return l(n,a,!0);case"less":return m(n,a);case"lessOrEqual":return m(n,a,!0);case"between":let[g]=s;return f(n,a,g,u);default:throw new lt("Condition: Unknown operation: "+U(i))}}function $4(e){let t=e?.args??[],[r]=t;return Be({...e,args:["not",r]})}function ko(e){let t=e?.args??[],[r,n]=t;return Be({...e,args:[r,"equal",n]})}function xo(e){let t=e?.args??[],[r,n,...i]=t;return Be({...e,args:[r,"notEqual",n,...i]})}function E4(e){let t=e?.args??[],[r,...n]=t;return Be({...e,args:[r,"and",...n]})}function S4(e){let t=e?.args??[],[r,...n]=t;return Be({...e,args:[r,"or",...n]})}function A4(e){let t=e?.args??[],[r,n]=t;return Be({...e,args:[r,"greater",n]})}function wo(e){let t=e?.args??[],[r,n]=t;return Be({...e,args:[r,"greaterOrEqual",n]})}function C4(e){let t=e?.args??[],[r,n]=t;return Be({...e,args:[r,"less",n]})}function $o(e){let t=e?.args??[],[r,n]=t;return Be({...e,args:[r,"lessOrEqual",n]})}function _4(e){let t=e?.args??[],[r,n,i]=t;return Be({...e,args:[r,"between",n,i]})}var D4=Ue({helpers:{op:Be,not:$4,equal:ko,eq:ko,notEqual:xo,notEq:xo,and:E4,or:S4,greater:A4,greaterOrEqual:wo,greaterOrEq:wo,less:C4,lessOrEqual:$o,lessOrEq:$o,between:_4,__default:Be}});function oe(e){let t=e?.flext??{},r=e?.args??[],n=e?.namedArgs??{},[i,a,s,o]=r,{padding:u,genitive:c,dayFormat:d,monthFormat:h,yearFormat:p,weekdayFormat:l,hoursFormat:m,minutesFormat:f,secondsFormat:g,timeZoneFormat:v,hours12:y,timeZone:S,lang:$}=n;if(!i)return null;let k=H.local();i!=="now"&&(k=H.fromJSDate(qi(i,!0))),(S||t?.timeZone)&&(k=k.setZone(S??t?.timeZone)),($||t?.lang)&&(k=k.setLocale($??t?.lang));let x=(D,B=2)=>String(D||"").padStart(Number(B),"0"),w=(D={})=>{let B=D?.day,O=D?.month,M=D?.year,F=D?.weekday,L=D?.hours,V=D?.minutes,I=D?.seconds,se=D?.timeZone,ie=!!D?.doUse12Hours;return D?.doUseGlobals??!0?k.toLocaleString({day:B??d,month:O??h,year:M??p,weekday:F??l,hour:L??m,minute:V??f,second:I??g,timeZoneName:se??v,hour12:!!(ie??y)}):k.toLocaleString({day:B,month:O,year:M,weekday:F,hour:L,minute:V,second:I,timeZoneName:se,hour12:ie})},E=(D={})=>(D?.doSubtract?k.minus.bind(k):k.plus.bind(k))({days:D?.days,months:D?.months,years:D?.years,weeks:D?.weeks,quarters:D?.quarters,hours:D?.hours,minutes:D?.minutes,seconds:D?.seconds,milliseconds:D?.milliseconds}),A=(D,B)=>{let O={};return O[B]=D,E(O)},_=(D,B)=>{let O={};return O[B]=D,E({...O,doSubtract:!0})};if(de(u))switch(a){case"seconds":return x(k.second,u);case"minutes":return x(k.minute,u);case"hours":return x(k.hour,u);case"day":return x(k.day,u);case"month":return x(k.month,u);case"year":return x(k.year,4);default:throw new lt(`Date: Operation ${U(a)} is not compatible with argument 'padding'`)}if(c){if(a==="monthText")return w({day:"numeric",month:"long",doUseGlobals:!1}).replace(/[^\p{L}]/gu,"").toLowerCase();throw new lt(`Date: Operation ${U(a)} is not compatible with argument 'genitive'`)}switch(a){case"day":return k.day;case"monthText":return w({month:"long",doUseGlobals:!1}).toLowerCase();case"month":return k.month;case"year":return k.year;case"hours":return k.hour;case"minutes":return k.minute;case"seconds":return k.second;case"format":return w();case"text":return w({day:d??"numeric",month:h??"long",year:p??"numeric"});case"startOf":return k.startOf(s);case"endOf":return k.endOf(s);case"unix":return k.toMillis();case"iso":return k.toISOTime();case"add":return A(s,o);case"subtract":return _(s,o);default:return k}}function B4(e){return oe({...e,args:["now"]})}function Eo(e){let t=e?.args??[],[r]=t,n=e?.namedArgs??{},i=n?.padding??2;return oe({...e,args:[r,"seconds"],namedArgs:{...n,padding:i}})}function So(e){let t=e?.args??[],[r]=t,n=e?.namedArgs??{},i=n?.padding??2;return oe({...e,args:[r,"minutes"],namedArgs:{...n,padding:i}})}function Ao(e){let t=e?.args??[],[r]=t,n=e?.namedArgs??{},i=n?.padding??2;return oe({...e,args:[r,"hours"],namedArgs:{...n,padding:i}})}function Co(e){let t=e?.args??[],[r]=t,n=e?.namedArgs??{},i=n?.padding??2;return oe({...e,args:[r,"day"],namedArgs:{...n,padding:i}})}function O4(e){let t=e?.args??[],[r]=t,n=e?.namedArgs??{},i=!n?.nominative;return oe({...e,args:[r,"monthText"],namedArgs:{...n,genitive:i}})}function _o(e){let t=e?.args??[],[r]=t,n=e?.namedArgs??{},i=n?.padding??2;return oe({...e,args:[r,"month"],namedArgs:{...n,padding:i}})}function M4(e){let t=e?.args??[],[r]=t,n=e?.namedArgs??{},i=n?.padding??2;return oe({...e,args:[r,"year"],namedArgs:{...n,padding:i}})}function ll(e){let t=e?.args??[],[r]=t;return oe({...e,args:[r,"format"]})}function F4(e){let t=e?.args??[],[r]=t;return oe({...e,args:[r,"text"]})}function N4(e){let t=e?.args??[],[r]=t;return oe({...e,args:[r,"unix"]})}function L4(e){let t=e?.args??[],[r,n]=t;return oe({...e,args:[r,"startOf",n]})}function T4(e){let t=e?.args??[],[r,n]=t;return oe({...e,args:[r,"endOf",n]})}function P4(e){let t=e?.args??[],[r]=t;return oe({...e,args:[r,"iso"]})}function z4(e){let t=e?.args??[],[r,n,i]=t;return oe({...e,args:[r,"add",n,i]})}function Do(e){let t=e?.args??[],[r,n,i]=t;return oe({...e,args:[r,"subtract",n,i]})}var j4=Ue({helpers:{op:oe,now:B4,seconds:Eo,second:Eo,minutes:So,minute:So,hours:Ao,hour:Ao,days:Co,day:Co,monthText:O4,months:_o,month:_o,year:M4,format:ll,text:F4,startOf:L4,endOf:T4,unix:N4,iso:P4,add:z4,subtract:Do,sub:Do,__default:oe}});function I4(e){let t=e?.args??[],[r]=t,n=e?.self??null,i=e?.getContent??null;return n.__flext_match_value=r,n.__flext_match_isCompleted=!1,i()}function cl(e){let t=e?.args??[],r=e?.self??null,n=r.__flext_match_value??null,i=e?.getContent??null;if(!r.__flext_match_isCompleted){for(let a of t)if(n===a)return r.__flext_match_isCompleted=!0,i()}return""}function R4(e){let t=(e?.self??null).__flext_match_value??null;return cl({...e,args:[t]})}var q4=Ue({helpers:{case:cl,fallback:R4,__default:I4}});function Ee(e){let t=e?.args??[],[r,n,i,...a]=t,s=(...u)=>{let[c,...d]=u,h=Math[c]??null;if(h)return h(...d);throw new lt("Math: Unknown operation: "+U(c))},o=(...u)=>{let c=[];for(let d of u)if(De(d))c.push(d);else if(Array.isArray(d)&&d.every(De))c.push(...d);else throw new fe("Math: Unable to sum: The given arguments are not numbers: "+U(u));return c};switch(n){case"plus":case"sum":return tl(...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(...t)}}function V4(e){let t=e?.args??[],[r,n,...i]=t;return Ee({...e,args:[r,"plus",n,...i]})}function U4(e){let t=e?.args??[],[r,n,...i]=t;return Ee({...e,args:[r,"sum",n,...i]})}function W4(e){let t=e?.args??[],[r,n]=t;return Ee({...e,args:[r,"minus",n]})}function Bo(e){let t=e?.args??[],[r,n]=t;return Ee({...e,args:[r,"multiply",n]})}function Oo(e){let t=e?.args??[],[r,n]=t;return Ee({...e,args:[r,"divide",n]})}function Mo(e){let t=e?.args??[],[r,n]=t;return Ee({...e,args:[r,"intDivide",n]})}function Fo(e){let t=e?.args??[],[r,n]=t;return Ee({...e,args:[r,"power",n]})}function H4(e){let t=e?.args??[],[r,n]=t,i=(a,s)=>Ee({...e,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 lt("Math: Unknown operation: "+U(n))}}function Z4(e){let t=e?.args??[],[r]=t;return Ee({...e,args:["sqrt",r]})}function Y4(e){let t=e?.args??[],[r]=t;return Ee({...e,args:["cbrt",r]})}function G4(e){let t=e?.args??[],[r]=t;return Ee({...e,args:["abs",r]})}var J4=Ue({helpers:{op:Ee,plus:V4,sum:U4,minus:W4,multiply:Bo,mul:Bo,divide:Oo,div:Oo,intDivide:Mo,intDiv:Mo,power:Fo,pow:Fo,round:H4,sqrt:Z4,cbrt:Y4,abs:G4,__default:Ee}});function No(e){let t=e?.flext??{},r=e?.args??[],[n]=r,i=(t?.assets??{})[n]??null;if(i)return URL.createObjectURL(i);throw new kt(`Media: Unable to get the asset: Asset '${n}' does not exist`)}var K4=Ue({helpers:{url:No,__default:No}}),X4=sn(g0(),1),Q4={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"}},eg={"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"},tg="en",rg={"kk-KZ":Q4};function an(e){let t=e?.flext??{},r=e?.args??[],n=e?.namedArgs??{},[i,a]=r,{strict:s,lang:o}=n,u=d=>eg[d]??rg[d]??null,c=u(o)??u(t?.lang)??tg;switch(i){case"text":return(0,X4.default)(Number(a),{lang:c});case"check":return s?typeof a=="number":De(a);default:return Number(i)}}function ng(e){let t=e?.args??[],[r]=t;return String(an({...e,args:["text",r]}))}function ig(e){let t=e?.args??[],[r]=t;return an({...e,args:["check",r]})}var ag=Ue({helpers:{op:an,text:ng,check:ig,__default:an}}),Lo=sn(Yo(),1),og="text-blue-500";function hl(e){let t=e?.flext??{},r=e?.args??[],[n,i]=r,a=e?.options??{},s=e?.namedArgs??{},o=e?.self??{},u=e?.getContent??ug,c=qi(n,!1);return c&&!De(n)&&!ke(n,!0,!1)?ll({flext:t,args:[c],options:a,namedArgs:{...s,fallback:i},self:o,getContent:u}):ge(n)?JSON.stringify(n,null,2):n??i??""}function sg(e){let t=(e?.namedArgs??{})?.color??og;return t?new Lo.SafeString(`${hl(e)}`):new Lo.SafeString(e)}function ug(){return null}var lg=Ue({helpers:{noColor:hl,__default:sg}}),Yt=function(e,t){let r=e,n=pr[t],i=null,a=0,s=null,o=[],u={},c=function(k,x){a=r*4+17,i=(function(w){let E=new Array(w);for(let A=0;A=7&&m(k),s==null&&(s=y(r,n,o)),g(s,x)},d=function(k,x){for(let w=-1;w<=7;w+=1)if(!(k+w<=-1||a<=k+w))for(let E=-1;E<=7;E+=1)x+E<=-1||a<=x+E||(0<=w&&w<=6&&(E==0||E==6)||0<=E&&E<=6&&(w==0||w==6)||2<=w&&w<=4&&2<=E&&E<=4?i[k+w][x+E]=!0:i[k+w][x+E]=!1)},h=function(){let k=0,x=0;for(let w=0;w<8;w+=1){c(!0,w);let E=it.getLostPoint(u);(w==0||k>E)&&(k=E,x=w)}return x},p=function(){for(let k=8;k>w&1)==1;i[Math.floor(w/3)][w%3+a-8-3]=E}for(let w=0;w<18;w+=1){let E=!k&&(x>>w&1)==1;i[w%3+a-8-3][Math.floor(w/3)]=E}},f=function(k,x){let w=n<<3|x,E=it.getBCHTypeInfo(w);for(let A=0;A<15;A+=1){let _=!k&&(E>>A&1)==1;A<6?i[A][8]=_:A<8?i[A+1][8]=_:i[a-15+A][8]=_}for(let A=0;A<15;A+=1){let _=!k&&(E>>A&1)==1;A<8?i[8][a-A-1]=_:A<9?i[8][15-A-1+1]=_:i[8][15-A-1]=_}i[a-8][8]=!k},g=function(k,x){let w=-1,E=a-1,A=7,_=0,D=it.getMaskFunction(x);for(let B=a-1;B>0;B-=2)for(B==6&&(B-=1);;){for(let O=0;O<2;O+=1)if(i[E][B-O]==null){let M=!1;_>>A&1)==1),D(E,B-O)&&(M=!M),i[E][B-O]=M,A-=1,A==-1&&(_+=1,A=7)}if(E+=w,E<0||a<=E){E-=w,w=-w;break}}},v=function(k,x){let w=0,E=0,A=0,_=new Array(x.length),D=new Array(x.length);for(let F=0;F=0?se.getAt($t):0}}let B=0;for(let F=0;F_*8)throw"code length overflow. ("+A.getLengthInBits()+">"+_*8+")";for(A.getLengthInBits()+4<=_*8&&A.put(0,4);A.getLengthInBits()%8!=0;)A.putBit(!1);for(;!(A.getLengthInBits()>=_*8||(A.put(236,8),A.getLengthInBits()>=_*8));)A.put(17,8);return v(A,E)};u.addData=function(k,x){x=x||"Byte";let w=null;switch(x){case"Numeric":w=cg(k);break;case"Alphanumeric":w=hg(k);break;case"Byte":w=dg(k);break;case"Kanji":w=pg(k);break;default:throw"mode:"+x}o.push(w),s=null},u.isDark=function(k,x){if(k<0||a<=k||x<0||a<=x)throw k+","+x;return i[k][x]},u.getModuleCount=function(){return a},u.make=function(){if(r<1){let k=1;for(;k<40;k++){let x=To.getRSBlocks(k,n),w=Po();for(let A=0;A"u"?k*4:x;let w="";w+='";for(let A=0;A';w+=""}return w+="",w+="
",w},u.createSvgTag=function(k,x,w,E){let A={};typeof arguments[0]=="object"&&(A=arguments[0],k=A.cellSize,x=A.margin,w=A.alt,E=A.title),k=k||2,x=typeof x>"u"?k*4:x,w=typeof w=="string"?{text:w}:w||{},w.text=w.text||null,w.id=w.text?w.id||"qrcode-description":null,E=typeof E=="string"?{text:E}:E||{},E.text=E.text||null,E.id=E.text?E.id||"qrcode-title":null;let _=u.getModuleCount()*k+x*2,D,B,O,M,F="",L;for(L="l"+k+",0 0,"+k+" -"+k+",0 0,-"+k+"z ",F+=''+S(E.text)+"":"",F+=w.text?''+S(w.text)+"":"",F+='',F+='"u"?k*4:x;let w=u.getModuleCount()*k+x*2,E=x,A=w-x;return bg(w,w,function(_,D){if(E<=_&&_"u"?k*4:x;let E=u.getModuleCount()*k+x*2,A="";return A+="",A};let S=function(k){let x="";for(let w=0;w":x+=">";break;case"&":x+="&";break;case'"':x+=""";break;default:x+=E;break}}return x},$=function(k){k=typeof k>"u"?2:k;let x=u.getModuleCount()*1+k*2,w=k,E=x-k,A,_,D,B,O,M={"\u2588\u2588":"\u2588","\u2588 ":"\u2580"," \u2588":"\u2584"," ":" "},F={"\u2588\u2588":"\u2580","\u2588 ":"\u2580"," \u2588":" "," ":" "},L="";for(A=0;A=E?F[O]:M[O];L+=` `}return x%2&&k>0?L.substring(0,L.length-x-1)+Array(x+1).join("\u2580"):L.substring(0,L.length-1)};return u.createASCII=function(k,x){if(k=k||1,k<2)return $(x);k-=1,x=typeof x>"u"?k*2:x;let w=u.getModuleCount()*k+x*2,E=x,A=w-x,_,D,B,O,M=Array(k+1).join("\u2588\u2588"),F=Array(k+1).join(" "),L="",V="";for(_=0;_>>8),a.push(u&255)):a.push(n)}}return a}};var le={MODE_NUMBER:1,MODE_ALPHA_NUM:2,MODE_8BIT_BYTE:4,MODE_KANJI:8},pr={L:1,M:0,Q:3,H:2},nt={PATTERN000:0,PATTERN001:1,PATTERN010:2,PATTERN011:3,PATTERN100:4,PATTERN101:5,PATTERN110:6,PATTERN111:7},it=(function(){let e=[[],[6,18],[6,22],[6,26],[6,30],[6,34],[6,22,38],[6,24,42],[6,26,46],[6,28,50],[6,30,54],[6,32,58],[6,34,62],[6,26,46,66],[6,26,48,70],[6,26,50,74],[6,30,54,78],[6,30,56,82],[6,30,58,86],[6,34,62,90],[6,28,50,72,94],[6,26,50,74,98],[6,30,54,78,102],[6,28,54,80,106],[6,32,58,84,110],[6,30,58,86,114],[6,34,62,90,118],[6,26,50,74,98,122],[6,30,54,78,102,126],[6,26,52,78,104,130],[6,30,56,82,108,134],[6,34,60,86,112,138],[6,30,58,86,114,142],[6,34,62,90,118,146],[6,30,54,78,102,126,150],[6,24,50,76,102,128,154],[6,28,54,80,106,132,158],[6,32,58,84,110,136,162],[6,26,54,82,110,138,166],[6,30,58,86,114,142,170]],t=1335,r=7973,n=21522,i={},a=function(s){let o=0;for(;s!=0;)o+=1,s>>>=1;return o};return i.getBCHTypeInfo=function(s){let o=s<<10;for(;a(o)-a(t)>=0;)o^=t<=0;)o^=r<5&&(u+=3+l-5)}for(let h=0;h=256;)n-=255;return e[n]},r})(),xr=function(e,t){if(typeof e.length>"u")throw e.length+"/"+t;let r=(function(){let i=0;for(;i"u")throw"bad rs block @ typeNumber:"+i+"/errorCorrectionLevel:"+a;let o=s.length/3,u=[];for(let c=0;c>>7-n%8&1)==1},r.put=function(n,i){for(let a=0;a>>i-a-1&1)==1)},r.getLengthInBits=function(){return t},r.putBit=function(n){let i=Math.floor(t/8);e.length<=i&&e.push(0),n&&(e[i]|=128>>>t%8),t+=1},r},cg=function(e){let t=le.MODE_NUMBER,r=e,n={};n.getMode=function(){return t},n.getLength=function(s){return r.length},n.write=function(s){let o=r,u=0;for(;u+2>>8&255)*192+(c&255),s.put(c,13),u+=2}if(u>>8)},t.writeBytes=function(r,n,i){n=n||0,i=i||r.length;for(let a=0;a0&&(r+=","),r+=e[n];return r+="]",r},t},fg=function(){let e=0,t=0,r=0,n="",i={},a=function(o){n+=String.fromCharCode(s(o&63))},s=function(o){if(o<0)throw"n:"+o;if(o<26)return 65+o;if(o<52)return 97+(o-26);if(o<62)return 48+(o-52);if(o==62)return 43;if(o==63)return 47;throw"n:"+o};return i.writeByte=function(o){for(e=e<<8|o&255,t+=8,r+=1;t>=6;)a(e>>>t-6),t-=6},i.flush=function(){if(t>0&&(a(e<<6-t),e=0,t=0),r%3!=0){let o=3-r%3;for(let u=0;u=t.length){if(i==0)return-1;throw"unexpected end of file./"+i}let u=t.charAt(r);if(r+=1,u=="=")return i=0,-1;u.match(/^\s$/)||(n=n<<6|s(u.charCodeAt(0)),i+=6)}let o=n>>>i-8&255;return i-=8,o};let s=function(o){if(65<=o&&o<=90)return o-65;if(97<=o&&o<=122)return o-97+26;if(48<=o&&o<=57)return o-48+52;if(o==43)return 62;if(o==47)return 63;throw"c:"+o};return a},gg=function(e,t){let r=e,n=t,i=new Array(e*t),a={};a.setPixel=function(c,d,h){i[d*r+c]=h},a.write=function(c){c.writeString("GIF87a"),c.writeShort(r),c.writeShort(n),c.writeByte(128),c.writeByte(0),c.writeByte(0),c.writeByte(0),c.writeByte(0),c.writeByte(0),c.writeByte(255),c.writeByte(255),c.writeByte(255),c.writeString(","),c.writeShort(0),c.writeShort(0),c.writeShort(r),c.writeShort(n),c.writeByte(0);let d=2,h=o(d);c.writeByte(d);let p=0;for(;h.length-p>255;)c.writeByte(255),c.writeBytes(h,p,255),p+=255;c.writeByte(h.length-p),c.writeBytes(h,p,h.length-p),c.writeByte(0),c.writeString(";")};let s=function(c){let d=c,h=0,p=0,l={};return l.write=function(m,f){if(m>>>f)throw"length over";for(;h+f>=8;)d.writeByte(255&(m<>>=8-h,p=0,h=0;p=m<0&&d.writeByte(p)},l},o=function(c){let d=1<g.toLowerCase().split(" ").map(v=>v.charAt(0).toUpperCase()+v.slice(1)).join(" "),p=g=>g.replace(je.firstChars,v=>v.toUpperCase()),l=(...g)=>{for(let v of g)if(u&&i?.toLowerCase()?.indexOf(v?.toLowerCase())>=0||i?.indexOf(v)>=0)return!0;return!1},m=(...g)=>{for(let v of g)if(u&&i?.toLowerCase()?.startsWith(v?.toLowerCase())||i?.startsWith(v))return!0;return!1},f=(...g)=>{for(let v of g)if(u&&i?.toLowerCase()?.endsWith(v?.toLowerCase())||i?.endsWith(v))return!0;return!1};switch(n){case"array":return i.split(o);case"json":return JSON.parse(i);case"trim":return i.trim();case"lower":return i.toLowerCase();case"upper":return i.toUpperCase();case"title":return h(i);case"capitalize":return p(i);case"slice":return de(d)?i.slice(c,d):i.slice(c);case"contains":return l(a,...s);case"starts":return m(a,...s);case"ends":return f(a,...s);case"check":return typeof i=="string";default:return n}}function kg(e){let t=e?.args??[],[r]=t;return me({...e,args:["array",r]})}function xg(e){let t=e?.args??[],[r]=t;return me({...e,args:["json",r]})}function wg(e){let t=e?.args??[],[r]=t;return me({...e,args:["trim",r]})}function $g(e){let t=e?.args??[],[r]=t;return me({...e,args:["lower",r]})}function Eg(e){let t=e?.args??[],[r]=t;return me({...e,args:["upper",r]})}function Sg(e){let t=e?.args??[],[r]=t;return me({...e,args:["title",r]})}function jo(e){let t=e?.args??[],[r]=t;return me({...e,args:["capitalize",r]})}function Ag(e){let t=e?.args??[],r=e?.namedArgs??{},[n]=t,{start:i,end:a}=r;return de(a)?me({...e,args:["slice",n],namedArgs:{...r,start:i,end:a}}):me({...e,args:["slice",n],namedArgs:{...r,start:i}})}function Cg(e){let t=e?.args??[],[r,...n]=t;return me({...e,args:["contains",r,...n]})}function _g(e){let t=e?.args??[],[r,...n]=t;return me({...e,args:["starts",r,...n]})}function Dg(e){let t=e?.args??[],[r,...n]=t;return me({...e,args:["ends",r,...n]})}function Bg(e){let t=e?.args??[],[r]=t;return me({...e,args:["check",r]})}var Og=Ue({helpers:{op:me,array:kg,json:xg,trim:wg,lower:$g,upper:Eg,title:Sg,capitalize:jo,name:jo,slice:Ag,contains:Cg,starts:_g,ends:Dg,check:Bg,__default:me}}),Mg="__default",Wn=10,Fg=new ul,Hi=class{preprocessFunc=Lg;parseFunc=Pi;constructor(e=null,t={},r={}){e&&this.setTemplate(e),this.setData({...this.data,...t}),this.setHelpers({...this.helpers,...r})}templateToProcessed(e){return this.preprocessFunc(e)}templateToAst(e){return this.parseFunc(e)}setTemplate(e){this.data={},this.helpers={};let t=this.templateToProcessed(e);return this.ast=this.templateToAst(t),this}setData(e){return this.data=e,this}setHelpers(e){return this.helpers=e,this}addHelper(e,t){return this.helpers[e]=t,this}setPreprocessHandler(e){return this.preprocessFunc=e,this}setParseHandler(e){return this.parseFunc=e,this}getHtml(e,t){let r=mi(this.ast);if(!r)throw new fe("Flext: Unable to get HTML: No template");return zi(r,e??this.data,t??this.helpers)}async getCss(e,t={}){let r=mi(this.ast),n=t?.helpers??{},i={...this.helpers,...n};if(!r)throw new fe("Flext: Unable to get CSS: No template");return await Uu(r,e??this.data,{...t,helpers:i})}get html(){return this.getHtml()}},wn=class extends Hi{getTitleFunc=Ku;getMacroFunc=Ii;constructor(e=null,t={},r={}){super(null,t,r),e&&this.setTemplate(e),this.setData({...this.data,...t}),this.setHelpers({...this.helpers,...r})}templateToProcessed(e){return(this.dialect??Fg).templateToStandard(e)}useModule(...e){for(let t of e)this.addModule(t,Wi[t]);return this}setTemplate(e){super.setTemplate(e),this.addAsset("__template",new Blob([e],{type:"text/plain"}));let[t]=this.getTitleFunc(this.ast),r=this.getMacroFunc(this.ast),{lang:n,timeZone:i,title:a,moduleNames:s,margins:o,lineHeight:u,fields:c}=Ng(r);return n&&this.setLang(n),i&&this.setTimeZone(i),(a||t)&&this.setTitle(a??Xu(t)),o&&this.setMargins(o),u&&this.setLineHeight(Number(u)),c&&c?.length&&this.setFields(c),this.useModule(...s),this}setDialect(e){return this.dialect=e,this}setLang(e){return this.lang=e?.trim()||"",this}setTitle(e){return this.title=e?.trim()||"",this}setTimeZone(e){return this.timeZone=e?.trim()||"",this}setMargins(e){return this.margins=e?.trim()||"",this}setLineHeight(e){return this.lineHeight=e,this}setAssets(e){return this.assets=e,this}addAsset(e,t){return this.assets||(this.assets={}),this.assets[e]=t,this}setFields(e){return this.fields=e,this}addModule(e,t){let r=t?.helpers??{};for(let n in r){if(!fi(r,n))continue;let i=r[n],a=n===Mg,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(e,o):this.addHelper(e+":"+n,o)}return this}setTitleHandler(e){return this.getTitleFunc=e,this}setMacroHandler(e){return this.getMacroFunc=e,this}getDataModel(e=Wn){let t=i=>{for(let a in this.helpers)if(fi(this.helpers,a)){if(i?.name===a)return!0}else continue;return!1},r=i=>!t(i),n=i=>ji(i,this.fields,{},e);return(Yu(this.ast)?.$??[]).filter(r).map(n)}getValidationErrors(e,t=Wn){return Ri(e??this.data,this.model,t)}getIsValid(e,t=Wn){return!this.getValidationErrors(e??this.data,t)?.length}get model(){return this.getDataModel()}get validationErrors(){return this.getValidationErrors()}get errors(){return this.validationErrors}get isValid(){return this.getIsValid()}};function Ng(e){let t=(...f)=>e?.filter(g=>ke(g?.name,...f))??null,r=f=>{let[g]=t(f),[v]=g?.params??[];return v?.value?.trim()??null},n=r("lang"),i=r("title"),a=r("timeZone"),s=t("use"),o=r("margins"),u=r("lineHeight"),c=t("option"),d=t("group","field"),h=c?.map(il)??null,p=d?.map(nl)??[];al(h,p),ol(p);let l=p.filter(f=>f?.extra?.macroName==="group");for(let f of l)f.type="object";let m=s.map(rl).flat();return{lang:n,timeZone:a,title:i,moduleNames:m,margins:o,lineHeight:u,fields:p}}function Lg(e){return e}var Tg=wn;var Or={};Xi(Or,{Latest:()=>$n,Legacy_1_0_beta4:()=>ml});var Zi=class extends Xe{name="latest";aliases=["1.0"]},$n=Zi;var En="{{!--",fl="syntax",Yi="v",Gi=class extends Xe{name="1.0.beta4";testAst(t,r){if(!this.name)throw new fe("Flext: Unable to test the template: 'name' param is not set in the dialect");let i=Me.astToMacros(t)?.find(s=>s?.name===Yi)??null;if(!i){if(r)throw new we("Flext: Unable to test the template: '@v' macro is not set");return!1}let[a]=i?.params??[];if(!a){if(r)throw new we("Flext: Unable to test the template: Bad '@v' macro");return!1}return this.aliases&&this.aliases?.length?a?.value===this.name||Me.inarr(a?.value,...this.aliases):a?.value===this.name}templateToStandard(t){let r=t,n=(i,a)=>{r=r.replace(i,a)};return n(En+" @"+Yi,En+" @"+fl),n(En+"@"+Yi,En+"@"+fl),r}},ml=Gi;var Pg="syntax",zg="v",jg=new $n,Ji=class extends wn{setTemplate(t){let r=Me.hbsToAst(t),i=Me.astToMacros(r)?.find(o=>Me.inarr(o?.name,Pg,zg))??null;if(!i)return this.setDialect(jg),super.setTemplate(t);let[a]=i?.params??[];if(!a)throw new $r.BaseError("Flext: Unable to set the template: Bad '@syntax' macro: "+Me.audit(i));let s=a?.value??null;if(!s)throw new $r.BaseError("Flext: Unable to set the template: Bad '@syntax' macro: "+Me.audit(i));for(let o in Or){if(!Me.has(Or,o))continue;let u=Or[o],c=new u;if(s===c?.name){this.setDialect(c);break}}return super.setTemplate(t)}};var e3=Ji;export{fe as BaseError,Er as BaseThrowable,we as BaseWarning,Pg as DIALECT_MACRO,Xe as Dialect,Ji as Flext,zg as LEGACY_DIALECT_MACRO,It as PotentialLoopError,wn as Processor,Hi as SimpleProcessor,Lt as TemplateDataError,un as TemplateDataValidationError,kt as TemplateError,lt as TemplateSyntaxError,pl as core,e3 as default,Or as dialects,jg as latestDialect}; //# sourceMappingURL=index.js.map