@budibase/string-templates 3.4.0 → 3.4.1
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/bundle.mjs +1 -1
- package/package.json +2 -2
package/dist/bundle.mjs
CHANGED
@@ -35,7 +35,7 @@ const toRegexRange=(e,t,r)=>{if(!1===isNumber$1(e))throw new TypeError("toRegexR
|
|
35
35
|
*
|
36
36
|
* Copyright (c) 2014-present, Jon Schlinkert.
|
37
37
|
* Licensed under the MIT License.
|
38
|
-
*/const isObject$2=e=>null!==e&&"object"==typeof e&&!Array.isArray(e),transform=e=>t=>!0===e?Number(t):String(t),isValidValue=e=>"number"==typeof e||"string"==typeof e&&""!==e,isNumber=e=>Number.isInteger(+e),zeros=e=>{let t=`${e}`,r=-1;if("-"===t[0]&&(t=t.slice(1)),"0"===t)return!1;for(;"0"===t[++r];);return r>0},stringify$1=(e,t,r)=>"string"==typeof e||"string"==typeof t||!0===r.stringify,pad=(e,t,r)=>{if(t>0){let r="-"===e[0]?"-":"";r&&(e=e.slice(1)),e=r+e.padStart(r?t-1:t,"0")}return!1===r?String(e):e},toMaxLen=(e,t)=>{let r="-"===e[0]?"-":"";for(r&&(e=e.slice(1),t--);e.length<t;)e="0"+e;return r?"-"+e:e},toSequence=(e,t,r)=>{e.negatives.sort(((e,t)=>e<t?-1:e>t?1:0)),e.positives.sort(((e,t)=>e<t?-1:e>t?1:0));let n,i=t.capture?"":"?:",o="",s="";return e.positives.length&&(o=e.positives.map((e=>toMaxLen(String(e),r))).join("|")),e.negatives.length&&(s=`-(${i}${e.negatives.map((e=>toMaxLen(String(e),r))).join("|")})`),n=o&&s?`${o}|${s}`:o||s,t.wrap?`(${i}${n})`:n},toRange=(e,t,r,n)=>{if(r)return toRegexRange_1(e,t,{wrap:!1,...n});let i=String.fromCharCode(e);return e===t?i:`[${i}-${String.fromCharCode(t)}]`},toRegex=(e,t,r)=>{if(Array.isArray(e)){let t=!0===r.wrap,n=r.capture?"":"?:";return t?`(${n}${e.join("|")})`:e.join("|")}return toRegexRange_1(e,t,r)},rangeError=(...e)=>new RangeError("Invalid range arguments: "+util.inspect(...e)),invalidRange=(e,t,r)=>{if(!0===r.strictRanges)throw rangeError([e,t]);return[]},invalidStep=(e,t)=>{if(!0===t.strictRanges)throw new TypeError(`Expected step "${e}" to be a number`);return[]},fillNumbers=(e,t,r=1,n={})=>{let i=Number(e),o=Number(t);if(!Number.isInteger(i)||!Number.isInteger(o)){if(!0===n.strictRanges)throw rangeError([e,t]);return[]}0===i&&(i=0),0===o&&(o=0);let s=i>o,a=String(e),u=String(t),c=String(r);r=Math.max(Math.abs(r),1);let l=zeros(a)||zeros(u)||zeros(c),p=l?Math.max(a.length,u.length,c.length):0,f=!1===l&&!1===stringify$1(e,t,n),h=n.transform||transform(f);if(n.toRegex&&1===r)return toRange(toMaxLen(e,p),toMaxLen(t,p),!0,n);let d={negatives:[],positives:[]},g=[],m=0;for(;s?i>=o:i<=o;)!0===n.toRegex&&r>1?d[(y=i)<0?"negatives":"positives"].push(Math.abs(y)):g.push(pad(h(i,m),p,f)),i=s?i-r:i+r,m++;var y;return!0===n.toRegex?r>1?toSequence(d,n,p):toRegex(g,null,{wrap:!1,...n}):g},fillLetters=(e,t,r=1,n={})=>{if(!isNumber(e)&&e.length>1||!isNumber(t)&&t.length>1)return invalidRange(e,t,n);let i=n.transform||(e=>String.fromCharCode(e)),o=`${e}`.charCodeAt(0),s=`${t}`.charCodeAt(0),a=o>s,u=Math.min(o,s),c=Math.max(o,s);if(n.toRegex&&1===r)return toRange(u,c,!1,n);let l=[],p=0;for(;a?o>=s:o<=s;)l.push(i(o,p)),o=a?o-r:o+r,p++;return!0===n.toRegex?toRegex(l,null,{wrap:!1,options:n}):l},fill=(e,t,r,n={})=>{if(null==t&&isValidValue(e))return[e];if(!isValidValue(e)||!isValidValue(t))return invalidRange(e,t,n);if("function"==typeof r)return fill(e,t,1,{transform:r});if(isObject$2(r))return fill(e,t,0,r);let i={...n};return!0===i.capture&&(i.wrap=!0),r=r||i.step||1,isNumber(r)?isNumber(e)&&isNumber(t)?fillNumbers(e,t,r,i):fillLetters(e,t,Math.max(Math.abs(r),1),i):null==r||isObject$2(r)?fill(e,t,1,r):invalidStep(r,i)};var fillRange=fill;const compile=(e,t={})=>{const r=(e,n={})=>{const i=utils$1.isInvalidBrace(n),o=!0===e.invalid&&!0===t.escapeInvalid,s=!0===i||!0===o,a=!0===t.escapeInvalid?"\\":"";let u="";if(!0===e.isOpen)return a+e.value;if(!0===e.isClose)return console.log("node.isClose",a,e.value),a+e.value;if("open"===e.type)return s?a+e.value:"(";if("close"===e.type)return s?a+e.value:")";if("comma"===e.type)return"comma"===e.prev.type?"":s?e.value:"|";if(e.value)return e.value;if(e.nodes&&e.ranges>0){const r=utils$1.reduce(e.nodes),n=fillRange(...r,{...t,wrap:!1,toRegex:!0,strictZeros:!0});if(0!==n.length)return r.length>1&&n.length>1?`(${n})`:n}if(e.nodes)for(const t of e.nodes)u+=r(t,e);return u};return r(e)};var compile_1=compile;const append=(e="",t="",r=!1)=>{const n=[];if(e=[].concat(e),!(t=[].concat(t)).length)return e;if(!e.length)return r?utils$1.flatten(t).map((e=>`{${e}}`)):t;for(const i of e)if(Array.isArray(i))for(const e of i)n.push(append(e,t,r));else for(let e of t)!0===r&&"string"==typeof e&&(e=`{${e}}`),n.push(Array.isArray(e)?append(i,e,r):i+e);return utils$1.flatten(n)},expand=(e,t={})=>{const r=void 0===t.rangeLimit?1e3:t.rangeLimit,n=(e,i={})=>{e.queue=[];let o=i,s=i.queue;for(;"brace"!==o.type&&"root"!==o.type&&o.parent;)o=o.parent,s=o.queue;if(e.invalid||e.dollar)return void s.push(append(s.pop(),stringify$2(e,t)));if("brace"===e.type&&!0!==e.invalid&&2===e.nodes.length)return void s.push(append(s.pop(),["{}"]));if(e.nodes&&e.ranges>0){const n=utils$1.reduce(e.nodes);if(utils$1.exceedsLimit(...n,t.step,r))throw new RangeError("expanded array length exceeds range limit. Use options.rangeLimit to increase or disable the limit.");let i=fillRange(...n,t);return 0===i.length&&(i=stringify$2(e,t)),s.push(append(s.pop(),i)),void(e.nodes=[])}const a=utils$1.encloseBrace(e);let u=e.queue,c=e;for(;"brace"!==c.type&&"root"!==c.type&&c.parent;)c=c.parent,u=c.queue;for(let t=0;t<e.nodes.length;t++){const r=e.nodes[t];"comma"!==r.type||"brace"!==e.type?"close"!==r.type?r.value&&"open"!==r.type?u.push(append(u.pop(),r.value)):r.nodes&&n(r,e):s.push(append(s.pop(),u,a)):(1===t&&u.push(""),u.push(""))}return u};return utils$1.flatten(n(e))};var expand_1=expand,constants$1={MAX_LENGTH:1e4,CHAR_0:"0",CHAR_9:"9",CHAR_UPPERCASE_A:"A",CHAR_LOWERCASE_A:"a",CHAR_UPPERCASE_Z:"Z",CHAR_LOWERCASE_Z:"z",CHAR_LEFT_PARENTHESES:"(",CHAR_RIGHT_PARENTHESES:")",CHAR_ASTERISK:"*",CHAR_AMPERSAND:"&",CHAR_AT:"@",CHAR_BACKSLASH:"\\",CHAR_BACKTICK:"`",CHAR_CARRIAGE_RETURN:"\r",CHAR_CIRCUMFLEX_ACCENT:"^",CHAR_COLON:":",CHAR_COMMA:",",CHAR_DOLLAR:"$",CHAR_DOT:".",CHAR_DOUBLE_QUOTE:'"',CHAR_EQUAL:"=",CHAR_EXCLAMATION_MARK:"!",CHAR_FORM_FEED:"\f",CHAR_FORWARD_SLASH:"/",CHAR_HASH:"#",CHAR_HYPHEN_MINUS:"-",CHAR_LEFT_ANGLE_BRACKET:"<",CHAR_LEFT_CURLY_BRACE:"{",CHAR_LEFT_SQUARE_BRACKET:"[",CHAR_LINE_FEED:"\n",CHAR_NO_BREAK_SPACE:" ",CHAR_PERCENT:"%",CHAR_PLUS:"+",CHAR_QUESTION_MARK:"?",CHAR_RIGHT_ANGLE_BRACKET:">",CHAR_RIGHT_CURLY_BRACE:"}",CHAR_RIGHT_SQUARE_BRACKET:"]",CHAR_SEMICOLON:";",CHAR_SINGLE_QUOTE:"'",CHAR_SPACE:" ",CHAR_TAB:"\t",CHAR_UNDERSCORE:"_",CHAR_VERTICAL_LINE:"|",CHAR_ZERO_WIDTH_NOBREAK_SPACE:"\ufeff"};const{MAX_LENGTH:MAX_LENGTH$1,CHAR_BACKSLASH:CHAR_BACKSLASH,CHAR_BACKTICK:CHAR_BACKTICK,CHAR_COMMA:CHAR_COMMA$1,CHAR_DOT:CHAR_DOT$1,CHAR_LEFT_PARENTHESES:CHAR_LEFT_PARENTHESES$1,CHAR_RIGHT_PARENTHESES:CHAR_RIGHT_PARENTHESES$1,CHAR_LEFT_CURLY_BRACE:CHAR_LEFT_CURLY_BRACE$1,CHAR_RIGHT_CURLY_BRACE:CHAR_RIGHT_CURLY_BRACE$1,CHAR_LEFT_SQUARE_BRACKET:CHAR_LEFT_SQUARE_BRACKET$1,CHAR_RIGHT_SQUARE_BRACKET:CHAR_RIGHT_SQUARE_BRACKET$1,CHAR_DOUBLE_QUOTE:CHAR_DOUBLE_QUOTE,CHAR_SINGLE_QUOTE:CHAR_SINGLE_QUOTE,CHAR_NO_BREAK_SPACE:CHAR_NO_BREAK_SPACE,CHAR_ZERO_WIDTH_NOBREAK_SPACE:CHAR_ZERO_WIDTH_NOBREAK_SPACE}=constants$1,parse$3=(e,t={})=>{if("string"!=typeof e)throw new TypeError("Expected a string");const r=t||{},n="number"==typeof r.maxLength?Math.min(MAX_LENGTH$1,r.maxLength):MAX_LENGTH$1;if(e.length>n)throw new SyntaxError(`Input length (${e.length}), exceeds max characters (${n})`);const i={type:"root",input:e,nodes:[]},o=[i];let s=i,a=i,u=0;const c=e.length;let l,p=0,f=0;const h=()=>e[p++],d=e=>{if("text"===e.type&&"dot"===a.type&&(a.type="text"),!a||"text"!==a.type||"text"!==e.type)return s.nodes.push(e),e.parent=s,e.prev=a,a=e,e;a.value+=e.value};for(d({type:"bos"});p<c;)if(s=o[o.length-1],l=h(),l!==CHAR_ZERO_WIDTH_NOBREAK_SPACE&&l!==CHAR_NO_BREAK_SPACE)if(l!==CHAR_BACKSLASH)if(l!==CHAR_RIGHT_SQUARE_BRACKET$1)if(l!==CHAR_LEFT_SQUARE_BRACKET$1)if(l!==CHAR_LEFT_PARENTHESES$1)if(l!==CHAR_RIGHT_PARENTHESES$1)if(l!==CHAR_DOUBLE_QUOTE&&l!==CHAR_SINGLE_QUOTE&&l!==CHAR_BACKTICK)if(l!==CHAR_LEFT_CURLY_BRACE$1)if(l!==CHAR_RIGHT_CURLY_BRACE$1)if(l===CHAR_COMMA$1&&f>0){if(s.ranges>0){s.ranges=0;const e=s.nodes.shift();s.nodes=[e,{type:"text",value:stringify$2(s)}]}d({type:"comma",value:l}),s.commas++}else if(l===CHAR_DOT$1&&f>0&&0===s.commas){const e=s.nodes;if(0===f||0===e.length){d({type:"text",value:l});continue}if("dot"===a.type){if(s.range=[],a.value+=l,a.type="range",3!==s.nodes.length&&5!==s.nodes.length){s.invalid=!0,s.ranges=0,a.type="text";continue}s.ranges++,s.args=[];continue}if("range"===a.type){e.pop();const t=e[e.length-1];t.value+=a.value+l,a=t,s.ranges--;continue}d({type:"dot",value:l})}else d({type:"text",value:l});else{if("brace"!==s.type){d({type:"text",value:l});continue}const e="close";s=o.pop(),s.close=!0,d({type:e,value:l}),f--,s=o[o.length-1]}else{f++;const e=a.value&&"$"===a.value.slice(-1)||!0===s.dollar;s=d({type:"brace",open:!0,close:!1,dollar:e,depth:f,commas:0,ranges:0,nodes:[]}),o.push(s),d({type:"open",value:l})}else{const e=l;let r;for(!0!==t.keepQuotes&&(l="");p<c&&(r=h());)if(r!==CHAR_BACKSLASH){if(r===e){!0===t.keepQuotes&&(l+=r);break}l+=r}else l+=r+h();d({type:"text",value:l})}else{if("paren"!==s.type){d({type:"text",value:l});continue}s=o.pop(),d({type:"text",value:l}),s=o[o.length-1]}else s=d({type:"paren",nodes:[]}),o.push(s),d({type:"text",value:l});else{let e;for(u++;p<c&&(e=h());)if(l+=e,e!==CHAR_LEFT_SQUARE_BRACKET$1)if(e!==CHAR_BACKSLASH){if(e===CHAR_RIGHT_SQUARE_BRACKET$1&&(u--,0===u))break}else l+=h();else u++;d({type:"text",value:l})}else d({type:"text",value:"\\"+l});else d({type:"text",value:(t.keepEscaping?l:"")+h()});do{if(s=o.pop(),"root"!==s.type){s.nodes.forEach((e=>{e.nodes||("open"===e.type&&(e.isOpen=!0),"close"===e.type&&(e.isClose=!0),e.nodes||(e.type="text"),e.invalid=!0)}));const e=o[o.length-1],t=e.nodes.indexOf(s);e.nodes.splice(t,1,...s.nodes)}}while(o.length>0);return d({type:"eos"}),i};var parse_1$2=parse$3;const braces=(e,t={})=>{let r=[];if(Array.isArray(e))for(const n of e){const e=braces.create(n,t);Array.isArray(e)?r.push(...e):r.push(e)}else r=[].concat(braces.create(e,t));return t&&!0===t.expand&&!0===t.nodupes&&(r=[...new Set(r)]),r};braces.parse=(e,t={})=>parse_1$2(e,t),braces.stringify=(e,t={})=>stringify$2("string"==typeof e?braces.parse(e,t):e,t),braces.compile=(e,t={})=>("string"==typeof e&&(e=braces.parse(e,t)),compile_1(e,t)),braces.expand=(e,t={})=>{"string"==typeof e&&(e=braces.parse(e,t));let r=expand_1(e,t);return!0===t.noempty&&(r=r.filter(Boolean)),!0===t.nodupes&&(r=[...new Set(r)]),r},braces.create=(e,t={})=>""===e||e.length<3?[e]:!0!==t.expand?braces.compile(e,t):braces.expand(e,t);var braces_1=braces,browser=createCommonjsModule((function(e){var t,r,n=e.exports={};function i(){throw new Error("setTimeout has not been defined")}function o(){throw new Error("clearTimeout has not been defined")}function s(e){if(t===setTimeout)return setTimeout(e,0);if((t===i||!t)&&setTimeout)return t=setTimeout,setTimeout(e,0);try{return t(e,0)}catch(r){try{return t.call(null,e,0)}catch(r){return t.call(this,e,0)}}}!function(){try{t="function"==typeof setTimeout?setTimeout:i}catch(e){t=i}try{r="function"==typeof clearTimeout?clearTimeout:o}catch(e){r=o}}();var a,u=[],c=!1,l=-1;function p(){c&&a&&(c=!1,a.length?u=a.concat(u):l=-1,u.length&&f())}function f(){if(!c){var e=s(p);c=!0;for(var t=u.length;t;){for(a=u,u=[];++l<t;)a&&a[l].run();l=-1,t=u.length}a=null,c=!1,function(e){if(r===clearTimeout)return clearTimeout(e);if((r===o||!r)&&clearTimeout)return r=clearTimeout,clearTimeout(e);try{return r(e)}catch(t){try{return r.call(null,e)}catch(t){return r.call(this,e)}}}(e)}}function h(e,t){this.fun=e,this.array=t}function d(){}n.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var r=1;r<arguments.length;r++)t[r-1]=arguments[r];u.push(new h(e,t)),1!==u.length||c||s(f)},h.prototype.run=function(){this.fun.apply(null,this.array)},n.title="browser",n.browser=!0,n.env={},n.argv=[],n.version="",n.versions={},n.on=d,n.addListener=d,n.once=d,n.off=d,n.removeListener=d,n.removeAllListeners=d,n.emit=d,n.prependListener=d,n.prependOnceListener=d,n.listeners=function(e){return[]},n.binding=function(e){throw new Error("process.binding is not supported")},n.cwd=function(){return"/"},n.chdir=function(e){throw new Error("process.chdir is not supported")},n.umask=function(){return 0}}));const WIN_SLASH="\\\\/",WIN_NO_SLASH=`[^${WIN_SLASH}]`,DOT_LITERAL="\\.",PLUS_LITERAL="\\+",QMARK_LITERAL="\\?",SLASH_LITERAL="\\/",ONE_CHAR="(?=.)",QMARK="[^/]",END_ANCHOR=`(?:${SLASH_LITERAL}|$)`,START_ANCHOR=`(?:^|${SLASH_LITERAL})`,DOTS_SLASH=`${DOT_LITERAL}{1,2}${END_ANCHOR}`,NO_DOT=`(?!${DOT_LITERAL})`,NO_DOTS=`(?!${START_ANCHOR}${DOTS_SLASH})`,NO_DOT_SLASH=`(?!${DOT_LITERAL}{0,1}${END_ANCHOR})`,NO_DOTS_SLASH=`(?!${DOTS_SLASH})`,QMARK_NO_DOT=`[^.${SLASH_LITERAL}]`,STAR=`${QMARK}*?`,POSIX_CHARS={DOT_LITERAL:DOT_LITERAL,PLUS_LITERAL:PLUS_LITERAL,QMARK_LITERAL:QMARK_LITERAL,SLASH_LITERAL:SLASH_LITERAL,ONE_CHAR:ONE_CHAR,QMARK:QMARK,END_ANCHOR:END_ANCHOR,DOTS_SLASH:DOTS_SLASH,NO_DOT:NO_DOT,NO_DOTS:NO_DOTS,NO_DOT_SLASH:NO_DOT_SLASH,NO_DOTS_SLASH:NO_DOTS_SLASH,QMARK_NO_DOT:QMARK_NO_DOT,STAR:STAR,START_ANCHOR:START_ANCHOR},WINDOWS_CHARS={...POSIX_CHARS,SLASH_LITERAL:`[${WIN_SLASH}]`,QMARK:WIN_NO_SLASH,STAR:`${WIN_NO_SLASH}*?`,DOTS_SLASH:`${DOT_LITERAL}{1,2}(?:[${WIN_SLASH}]|$)`,NO_DOT:`(?!${DOT_LITERAL})`,NO_DOTS:`(?!(?:^|[${WIN_SLASH}])${DOT_LITERAL}{1,2}(?:[${WIN_SLASH}]|$))`,NO_DOT_SLASH:`(?!${DOT_LITERAL}{0,1}(?:[${WIN_SLASH}]|$))`,NO_DOTS_SLASH:`(?!${DOT_LITERAL}{1,2}(?:[${WIN_SLASH}]|$))`,QMARK_NO_DOT:`[^.${WIN_SLASH}]`,START_ANCHOR:`(?:^|[${WIN_SLASH}])`,END_ANCHOR:`(?:[${WIN_SLASH}]|$)`},POSIX_REGEX_SOURCE$1={alnum:"a-zA-Z0-9",alpha:"a-zA-Z",ascii:"\\x00-\\x7F",blank:" \\t",cntrl:"\\x00-\\x1F\\x7F",digit:"0-9",graph:"\\x21-\\x7E",lower:"a-z",print:"\\x20-\\x7E ",punct:"\\-!\"#$%&'()\\*+,./:;<=>?@[\\]^_`{|}~",space:" \\t\\r\\n\\v\\f",upper:"A-Z",word:"A-Za-z0-9_",xdigit:"A-Fa-f0-9"};var constants={MAX_LENGTH:65536,POSIX_REGEX_SOURCE:POSIX_REGEX_SOURCE$1,REGEX_BACKSLASH:/\\(?![*+?^${}(|)[\]])/g,REGEX_NON_SPECIAL_CHARS:/^[^@![\].,$*+?^{}()|\\/]+/,REGEX_SPECIAL_CHARS:/[-*+?.^${}(|)[\]]/,REGEX_SPECIAL_CHARS_BACKREF:/(\\?)((\W)(\3*))/g,REGEX_SPECIAL_CHARS_GLOBAL:/([-*+?.^${}(|)[\]])/g,REGEX_REMOVE_BACKSLASH:/(?:\[.*?[^\\]\]|\\(?=.))/g,REPLACEMENTS:{"***":"*","**/**":"**","**/**/**":"**"},CHAR_0:48,CHAR_9:57,CHAR_UPPERCASE_A:65,CHAR_LOWERCASE_A:97,CHAR_UPPERCASE_Z:90,CHAR_LOWERCASE_Z:122,CHAR_LEFT_PARENTHESES:40,CHAR_RIGHT_PARENTHESES:41,CHAR_ASTERISK:42,CHAR_AMPERSAND:38,CHAR_AT:64,CHAR_BACKWARD_SLASH:92,CHAR_CARRIAGE_RETURN:13,CHAR_CIRCUMFLEX_ACCENT:94,CHAR_COLON:58,CHAR_COMMA:44,CHAR_DOT:46,CHAR_DOUBLE_QUOTE:34,CHAR_EQUAL:61,CHAR_EXCLAMATION_MARK:33,CHAR_FORM_FEED:12,CHAR_FORWARD_SLASH:47,CHAR_GRAVE_ACCENT:96,CHAR_HASH:35,CHAR_HYPHEN_MINUS:45,CHAR_LEFT_ANGLE_BRACKET:60,CHAR_LEFT_CURLY_BRACE:123,CHAR_LEFT_SQUARE_BRACKET:91,CHAR_LINE_FEED:10,CHAR_NO_BREAK_SPACE:160,CHAR_PERCENT:37,CHAR_PLUS:43,CHAR_QUESTION_MARK:63,CHAR_RIGHT_ANGLE_BRACKET:62,CHAR_RIGHT_CURLY_BRACE:125,CHAR_RIGHT_SQUARE_BRACKET:93,CHAR_SEMICOLON:59,CHAR_SINGLE_QUOTE:39,CHAR_SPACE:32,CHAR_TAB:9,CHAR_UNDERSCORE:95,CHAR_VERTICAL_LINE:124,CHAR_ZERO_WIDTH_NOBREAK_SPACE:65279,SEP:path.sep,extglobChars:e=>({"!":{type:"negate",open:"(?:(?!(?:",close:`))${e.STAR})`},"?":{type:"qmark",open:"(?:",close:")?"},"+":{type:"plus",open:"(?:",close:")+"},"*":{type:"star",open:"(?:",close:")*"},"@":{type:"at",open:"(?:",close:")"}}),globChars:e=>!0===e?WINDOWS_CHARS:POSIX_CHARS},utils=createCommonjsModule((function(e,t){const r="win32"===browser.platform,{REGEX_BACKSLASH:n,REGEX_REMOVE_BACKSLASH:i,REGEX_SPECIAL_CHARS:o,REGEX_SPECIAL_CHARS_GLOBAL:s}=constants;t.isObject=e=>null!==e&&"object"==typeof e&&!Array.isArray(e),t.hasRegexChars=e=>o.test(e),t.isRegexChar=e=>1===e.length&&t.hasRegexChars(e),t.escapeRegex=e=>e.replace(s,"\\$1"),t.toPosixSlashes=e=>e.replace(n,"/"),t.removeBackslashes=e=>e.replace(i,(e=>"\\"===e?"":e)),t.supportsLookbehinds=()=>{const e=browser.version.slice(1).split(".").map(Number);return 3===e.length&&e[0]>=9||8===e[0]&&e[1]>=10},t.isWindows=e=>e&&"boolean"==typeof e.windows?e.windows:!0===r||"\\"===path.sep,t.escapeLast=(e,r,n)=>{const i=e.lastIndexOf(r,n);return-1===i?e:"\\"===e[i-1]?t.escapeLast(e,r,i-1):`${e.slice(0,i)}\\${e.slice(i)}`},t.removePrefix=(e,t={})=>{let r=e;return r.startsWith("./")&&(r=r.slice(2),t.prefix="./"),r},t.wrapOutput=(e,t={},r={})=>{let n=`${r.contains?"":"^"}(?:${e})${r.contains?"":"$"}`;return!0===t.negated&&(n=`(?:^(?!${n}).*$)`),n}}));const{CHAR_ASTERISK:CHAR_ASTERISK,CHAR_AT:CHAR_AT,CHAR_BACKWARD_SLASH:CHAR_BACKWARD_SLASH,CHAR_COMMA:CHAR_COMMA,CHAR_DOT:CHAR_DOT,CHAR_EXCLAMATION_MARK:CHAR_EXCLAMATION_MARK,CHAR_FORWARD_SLASH:CHAR_FORWARD_SLASH,CHAR_LEFT_CURLY_BRACE:CHAR_LEFT_CURLY_BRACE,CHAR_LEFT_PARENTHESES:CHAR_LEFT_PARENTHESES,CHAR_LEFT_SQUARE_BRACKET:CHAR_LEFT_SQUARE_BRACKET,CHAR_PLUS:CHAR_PLUS,CHAR_QUESTION_MARK:CHAR_QUESTION_MARK,CHAR_RIGHT_CURLY_BRACE:CHAR_RIGHT_CURLY_BRACE,CHAR_RIGHT_PARENTHESES:CHAR_RIGHT_PARENTHESES,CHAR_RIGHT_SQUARE_BRACKET:CHAR_RIGHT_SQUARE_BRACKET}=constants,isPathSeparator=e=>e===CHAR_FORWARD_SLASH||e===CHAR_BACKWARD_SLASH,depth=e=>{!0!==e.isPrefix&&(e.depth=e.isGlobstar?1/0:1)},scan=(e,t)=>{const r=t||{},n=e.length-1,i=!0===r.parts||!0===r.scanToEnd,o=[],s=[],a=[];let u,c,l=e,p=-1,f=0,h=0,d=!1,g=!1,m=!1,y=!1,v=!1,b=!1,_=!1,A=!1,S=!1,w=!1,x=0,E={value:"",depth:0,isGlob:!1};const C=()=>p>=n,R=()=>(u=c,l.charCodeAt(++p));for(;p<n;){let e;if(c=R(),c!==CHAR_BACKWARD_SLASH){if(!0===b||c===CHAR_LEFT_CURLY_BRACE){for(x++;!0!==C()&&(c=R());)if(c!==CHAR_BACKWARD_SLASH)if(c!==CHAR_LEFT_CURLY_BRACE){if(!0!==b&&c===CHAR_DOT&&(c=R())===CHAR_DOT){if(d=E.isBrace=!0,m=E.isGlob=!0,w=!0,!0===i)continue;break}if(!0!==b&&c===CHAR_COMMA){if(d=E.isBrace=!0,m=E.isGlob=!0,w=!0,!0===i)continue;break}if(c===CHAR_RIGHT_CURLY_BRACE&&(x--,0===x)){b=!1,d=E.isBrace=!0,w=!0;break}}else x++;else _=E.backslashes=!0,R();if(!0===i)continue;break}if(c!==CHAR_FORWARD_SLASH){if(!0!==r.noext){if(!0===(c===CHAR_PLUS||c===CHAR_AT||c===CHAR_ASTERISK||c===CHAR_QUESTION_MARK||c===CHAR_EXCLAMATION_MARK)&&l.charCodeAt(p+1)===CHAR_LEFT_PARENTHESES){if(m=E.isGlob=!0,y=E.isExtglob=!0,w=!0,c===CHAR_EXCLAMATION_MARK&&p===f&&(S=!0),!0===i){for(;!0!==C()&&(c=R());)if(c!==CHAR_BACKWARD_SLASH){if(c===CHAR_RIGHT_PARENTHESES){m=E.isGlob=!0,w=!0;break}}else _=E.backslashes=!0,c=R();continue}break}}if(c===CHAR_ASTERISK){if(u===CHAR_ASTERISK&&(v=E.isGlobstar=!0),m=E.isGlob=!0,w=!0,!0===i)continue;break}if(c===CHAR_QUESTION_MARK){if(m=E.isGlob=!0,w=!0,!0===i)continue;break}if(c===CHAR_LEFT_SQUARE_BRACKET){for(;!0!==C()&&(e=R());)if(e!==CHAR_BACKWARD_SLASH){if(e===CHAR_RIGHT_SQUARE_BRACKET){g=E.isBracket=!0,m=E.isGlob=!0,w=!0;break}}else _=E.backslashes=!0,R();if(!0===i)continue;break}if(!0===r.nonegate||c!==CHAR_EXCLAMATION_MARK||p!==f){if(!0!==r.noparen&&c===CHAR_LEFT_PARENTHESES){if(m=E.isGlob=!0,!0===i){for(;!0!==C()&&(c=R());)if(c!==CHAR_LEFT_PARENTHESES){if(c===CHAR_RIGHT_PARENTHESES){w=!0;break}}else _=E.backslashes=!0,c=R();continue}break}if(!0===m){if(w=!0,!0===i)continue;break}}else A=E.negated=!0,f++}else{if(o.push(p),s.push(E),E={value:"",depth:0,isGlob:!1},!0===w)continue;if(u===CHAR_DOT&&p===f+1){f+=2;continue}h=p+1}}else _=E.backslashes=!0,c=R(),c===CHAR_LEFT_CURLY_BRACE&&(b=!0)}!0===r.noext&&(y=!1,m=!1);let k=l,$="",O="";f>0&&($=l.slice(0,f),l=l.slice(f),h-=f),k&&!0===m&&h>0?(k=l.slice(0,h),O=l.slice(h)):!0===m?(k="",O=l):k=l,k&&""!==k&&"/"!==k&&k!==l&&isPathSeparator(k.charCodeAt(k.length-1))&&(k=k.slice(0,-1)),!0===r.unescape&&(O&&(O=utils.removeBackslashes(O)),k&&!0===_&&(k=utils.removeBackslashes(k)));const L={prefix:$,input:e,start:f,base:k,glob:O,isBrace:d,isBracket:g,isGlob:m,isExtglob:y,isGlobstar:v,negated:A,negatedExtglob:S};if(!0===r.tokens&&(L.maxDepth=0,isPathSeparator(c)||s.push(E),L.tokens=s),!0===r.parts||!0===r.tokens){let t;for(let n=0;n<o.length;n++){const i=t?t+1:f,u=o[n],c=e.slice(i,u);r.tokens&&(0===n&&0!==f?(s[n].isPrefix=!0,s[n].value=$):s[n].value=c,depth(s[n]),L.maxDepth+=s[n].depth),0===n&&""===c||a.push(c),t=u}if(t&&t+1<e.length){const n=e.slice(t+1);a.push(n),r.tokens&&(s[s.length-1].value=n,depth(s[s.length-1]),L.maxDepth+=s[s.length-1].depth)}L.slashes=o,L.parts=a}return L};var scan_1=scan;const{MAX_LENGTH:MAX_LENGTH,POSIX_REGEX_SOURCE:POSIX_REGEX_SOURCE,REGEX_NON_SPECIAL_CHARS:REGEX_NON_SPECIAL_CHARS,REGEX_SPECIAL_CHARS_BACKREF:REGEX_SPECIAL_CHARS_BACKREF,REPLACEMENTS:REPLACEMENTS}=constants,expandRange=(e,t)=>{if("function"==typeof t.expandRange)return t.expandRange(...e,t);e.sort();const r=`[${e.join("-")}]`;try{new RegExp(r)}catch(t){return e.map((e=>utils.escapeRegex(e))).join("..")}return r},syntaxError=(e,t)=>`Missing ${e}: "${t}" - use "\\\\${t}" to match literal characters`,parse$2=(e,t)=>{if("string"!=typeof e)throw new TypeError("Expected a string");e=REPLACEMENTS[e]||e;const r={...t},n="number"==typeof r.maxLength?Math.min(MAX_LENGTH,r.maxLength):MAX_LENGTH;let i=e.length;if(i>n)throw new SyntaxError(`Input length: ${i}, exceeds maximum allowed length: ${n}`);const o={type:"bos",value:"",output:r.prepend||""},s=[o],a=r.capture?"":"?:",u=utils.isWindows(t),c=constants.globChars(u),l=constants.extglobChars(c),{DOT_LITERAL:p,PLUS_LITERAL:f,SLASH_LITERAL:h,ONE_CHAR:d,DOTS_SLASH:g,NO_DOT:m,NO_DOT_SLASH:y,NO_DOTS_SLASH:v,QMARK:b,QMARK_NO_DOT:_,STAR:A,START_ANCHOR:S}=c,w=e=>`(${a}(?:(?!${S}${e.dot?g:p}).)*?)`,x=r.dot?"":m,E=r.dot?b:_;let C=!0===r.bash?w(r):A;r.capture&&(C=`(${C})`),"boolean"==typeof r.noext&&(r.noextglob=r.noext);const R={input:e,index:-1,start:0,dot:!0===r.dot,consumed:"",output:"",prefix:"",backtrack:!1,negated:!1,brackets:0,braces:0,parens:0,quotes:0,globstar:!1,tokens:s};e=utils.removePrefix(e,R),i=e.length;const k=[],$=[],O=[];let L,B=o;const I=()=>R.index===i-1,P=R.peek=(t=1)=>e[R.index+t],T=R.advance=()=>e[++R.index]||"",M=()=>e.slice(R.index+1),N=(e="",t=0)=>{R.consumed+=e,R.index+=t},j=e=>{R.output+=null!=e.output?e.output:e.value,N(e.value)},U=()=>{let e=1;for(;"!"===P()&&("("!==P(2)||"?"===P(3));)T(),R.start++,e++;return e%2!=0&&(R.negated=!0,R.start++,!0)},H=e=>{R[e]++,O.push(e)},D=e=>{R[e]--,O.pop()},q=e=>{if("globstar"===B.type){const t=R.braces>0&&("comma"===e.type||"brace"===e.type),r=!0===e.extglob||k.length&&("pipe"===e.type||"paren"===e.type);"slash"===e.type||"paren"===e.type||t||r||(R.output=R.output.slice(0,-B.output.length),B.type="star",B.value="*",B.output=C,R.output+=B.output)}if(k.length&&"paren"!==e.type&&(k[k.length-1].inner+=e.value),(e.value||e.output)&&j(e),B&&"text"===B.type&&"text"===e.type)return B.value+=e.value,void(B.output=(B.output||"")+e.value);e.prev=B,s.push(e),B=e},F=(e,t)=>{const n={...l[t],conditions:1,inner:""};n.prev=B,n.parens=R.parens,n.output=R.output;const i=(r.capture?"(":"")+n.open;H("parens"),q({type:e,value:t,output:R.output?"":d}),q({type:"paren",extglob:!0,value:T(),output:i}),k.push(n)},W=e=>{let n,i=e.close+(r.capture?")":"");if("negate"===e.type){let o=C;if(e.inner&&e.inner.length>1&&e.inner.includes("/")&&(o=w(r)),(o!==C||I()||/^\)+$/.test(M()))&&(i=e.close=`)$))${o}`),e.inner.includes("*")&&(n=M())&&/^\.[^\\/.]+$/.test(n)){const r=parse$2(n,{...t,fastpaths:!1}).output;i=e.close=`)${r})${o})`}"bos"===e.prev.type&&(R.negatedExtglob=!0)}q({type:"paren",extglob:!0,value:L,output:i}),D("parens")};if(!1!==r.fastpaths&&!/(^[*!]|[/()[\]{}"])/.test(e)){let n=!1,i=e.replace(REGEX_SPECIAL_CHARS_BACKREF,((e,t,r,i,o,s)=>"\\"===i?(n=!0,e):"?"===i?t?t+i+(o?b.repeat(o.length):""):0===s?E+(o?b.repeat(o.length):""):b.repeat(r.length):"."===i?p.repeat(r.length):"*"===i?t?t+i+(o?C:""):C:t?e:`\\${e}`));return!0===n&&(i=!0===r.unescape?i.replace(/\\/g,""):i.replace(/\\+/g,(e=>e.length%2==0?"\\\\":e?"\\":""))),i===e&&!0===r.contains?(R.output=e,R):(R.output=utils.wrapOutput(i,R,t),R)}for(;!I();){if(L=T(),"\0"===L)continue;if("\\"===L){const e=P();if("/"===e&&!0!==r.bash)continue;if("."===e||";"===e)continue;if(!e){L+="\\",q({type:"text",value:L});continue}const t=/^\\+/.exec(M());let n=0;if(t&&t[0].length>2&&(n=t[0].length,R.index+=n,n%2!=0&&(L+="\\")),!0===r.unescape?L=T():L+=T(),0===R.brackets){q({type:"text",value:L});continue}}if(R.brackets>0&&("]"!==L||"["===B.value||"[^"===B.value)){if(!1!==r.posix&&":"===L){const e=B.value.slice(1);if(e.includes("[")&&(B.posix=!0,e.includes(":"))){const e=B.value.lastIndexOf("["),t=B.value.slice(0,e),r=B.value.slice(e+2),n=POSIX_REGEX_SOURCE[r];if(n){B.value=t+n,R.backtrack=!0,T(),o.output||1!==s.indexOf(B)||(o.output=d);continue}}}("["===L&&":"!==P()||"-"===L&&"]"===P())&&(L=`\\${L}`),"]"!==L||"["!==B.value&&"[^"!==B.value||(L=`\\${L}`),!0===r.posix&&"!"===L&&"["===B.value&&(L="^"),B.value+=L,j({value:L});continue}if(1===R.quotes&&'"'!==L){L=utils.escapeRegex(L),B.value+=L,j({value:L});continue}if('"'===L){R.quotes=1===R.quotes?0:1,!0===r.keepQuotes&&q({type:"text",value:L});continue}if("("===L){H("parens"),q({type:"paren",value:L});continue}if(")"===L){if(0===R.parens&&!0===r.strictBrackets)throw new SyntaxError(syntaxError("opening","("));const e=k[k.length-1];if(e&&R.parens===e.parens+1){W(k.pop());continue}q({type:"paren",value:L,output:R.parens?")":"\\)"}),D("parens");continue}if("["===L){if(!0!==r.nobracket&&M().includes("]"))H("brackets");else{if(!0!==r.nobracket&&!0===r.strictBrackets)throw new SyntaxError(syntaxError("closing","]"));L=`\\${L}`}q({type:"bracket",value:L});continue}if("]"===L){if(!0===r.nobracket||B&&"bracket"===B.type&&1===B.value.length){q({type:"text",value:L,output:`\\${L}`});continue}if(0===R.brackets){if(!0===r.strictBrackets)throw new SyntaxError(syntaxError("opening","["));q({type:"text",value:L,output:`\\${L}`});continue}D("brackets");const e=B.value.slice(1);if(!0===B.posix||"^"!==e[0]||e.includes("/")||(L=`/${L}`),B.value+=L,j({value:L}),!1===r.literalBrackets||utils.hasRegexChars(e))continue;const t=utils.escapeRegex(B.value);if(R.output=R.output.slice(0,-B.value.length),!0===r.literalBrackets){R.output+=t,B.value=t;continue}B.value=`(${a}${t}|${B.value})`,R.output+=B.value;continue}if("{"===L&&!0!==r.nobrace){H("braces");const e={type:"brace",value:L,output:"(",outputIndex:R.output.length,tokensIndex:R.tokens.length};$.push(e),q(e);continue}if("}"===L){const e=$[$.length-1];if(!0===r.nobrace||!e){q({type:"text",value:L,output:L});continue}let t=")";if(!0===e.dots){const e=s.slice(),n=[];for(let t=e.length-1;t>=0&&(s.pop(),"brace"!==e[t].type);t--)"dots"!==e[t].type&&n.unshift(e[t].value);t=expandRange(n,r),R.backtrack=!0}if(!0!==e.comma&&!0!==e.dots){const r=R.output.slice(0,e.outputIndex),n=R.tokens.slice(e.tokensIndex);e.value=e.output="\\{",L=t="\\}",R.output=r;for(const e of n)R.output+=e.output||e.value}q({type:"brace",value:L,output:t}),D("braces"),$.pop();continue}if("|"===L){k.length>0&&k[k.length-1].conditions++,q({type:"text",value:L});continue}if(","===L){let e=L;const t=$[$.length-1];t&&"braces"===O[O.length-1]&&(t.comma=!0,e="|"),q({type:"comma",value:L,output:e});continue}if("/"===L){if("dot"===B.type&&R.index===R.start+1){R.start=R.index+1,R.consumed="",R.output="",s.pop(),B=o;continue}q({type:"slash",value:L,output:h});continue}if("."===L){if(R.braces>0&&"dot"===B.type){"."===B.value&&(B.output=p);const e=$[$.length-1];B.type="dots",B.output+=L,B.value+=L,e.dots=!0;continue}if(R.braces+R.parens===0&&"bos"!==B.type&&"slash"!==B.type){q({type:"text",value:L,output:p});continue}q({type:"dot",value:L,output:p});continue}if("?"===L){if(!(B&&"("===B.value)&&!0!==r.noextglob&&"("===P()&&"?"!==P(2)){F("qmark",L);continue}if(B&&"paren"===B.type){const e=P();let t=L;if("<"===e&&!utils.supportsLookbehinds())throw new Error("Node.js v10 or higher is required for regex lookbehinds");("("===B.value&&!/[!=<:]/.test(e)||"<"===e&&!/<([!=]|\w+>)/.test(M()))&&(t=`\\${L}`),q({type:"text",value:L,output:t});continue}if(!0!==r.dot&&("slash"===B.type||"bos"===B.type)){q({type:"qmark",value:L,output:_});continue}q({type:"qmark",value:L,output:b});continue}if("!"===L){if(!0!==r.noextglob&&"("===P()&&("?"!==P(2)||!/[!=<:]/.test(P(3)))){F("negate",L);continue}if(!0!==r.nonegate&&0===R.index){U();continue}}if("+"===L){if(!0!==r.noextglob&&"("===P()&&"?"!==P(2)){F("plus",L);continue}if(B&&"("===B.value||!1===r.regex){q({type:"plus",value:L,output:f});continue}if(B&&("bracket"===B.type||"paren"===B.type||"brace"===B.type)||R.parens>0){q({type:"plus",value:L});continue}q({type:"plus",value:f});continue}if("@"===L){if(!0!==r.noextglob&&"("===P()&&"?"!==P(2)){q({type:"at",extglob:!0,value:L,output:""});continue}q({type:"text",value:L});continue}if("*"!==L){"$"!==L&&"^"!==L||(L=`\\${L}`);const e=REGEX_NON_SPECIAL_CHARS.exec(M());e&&(L+=e[0],R.index+=e[0].length),q({type:"text",value:L});continue}if(B&&("globstar"===B.type||!0===B.star)){B.type="star",B.star=!0,B.value+=L,B.output=C,R.backtrack=!0,R.globstar=!0,N(L);continue}let t=M();if(!0!==r.noextglob&&/^\([^?]/.test(t)){F("star",L);continue}if("star"===B.type){if(!0===r.noglobstar){N(L);continue}const n=B.prev,i=n.prev,o="slash"===n.type||"bos"===n.type,s=i&&("star"===i.type||"globstar"===i.type);if(!0===r.bash&&(!o||t[0]&&"/"!==t[0])){q({type:"star",value:L,output:""});continue}const a=R.braces>0&&("comma"===n.type||"brace"===n.type),u=k.length&&("pipe"===n.type||"paren"===n.type);if(!o&&"paren"!==n.type&&!a&&!u){q({type:"star",value:L,output:""});continue}for(;"/**"===t.slice(0,3);){const r=e[R.index+4];if(r&&"/"!==r)break;t=t.slice(3),N("/**",3)}if("bos"===n.type&&I()){B.type="globstar",B.value+=L,B.output=w(r),R.output=B.output,R.globstar=!0,N(L);continue}if("slash"===n.type&&"bos"!==n.prev.type&&!s&&I()){R.output=R.output.slice(0,-(n.output+B.output).length),n.output=`(?:${n.output}`,B.type="globstar",B.output=w(r)+(r.strictSlashes?")":"|$)"),B.value+=L,R.globstar=!0,R.output+=n.output+B.output,N(L);continue}if("slash"===n.type&&"bos"!==n.prev.type&&"/"===t[0]){const e=void 0!==t[1]?"|$":"";R.output=R.output.slice(0,-(n.output+B.output).length),n.output=`(?:${n.output}`,B.type="globstar",B.output=`${w(r)}${h}|${h}${e})`,B.value+=L,R.output+=n.output+B.output,R.globstar=!0,N(L+T()),q({type:"slash",value:"/",output:""});continue}if("bos"===n.type&&"/"===t[0]){B.type="globstar",B.value+=L,B.output=`(?:^|${h}|${w(r)}${h})`,R.output=B.output,R.globstar=!0,N(L+T()),q({type:"slash",value:"/",output:""});continue}R.output=R.output.slice(0,-B.output.length),B.type="globstar",B.output=w(r),B.value+=L,R.output+=B.output,R.globstar=!0,N(L);continue}const n={type:"star",value:L,output:C};!0!==r.bash?!B||"bracket"!==B.type&&"paren"!==B.type||!0!==r.regex?(R.index!==R.start&&"slash"!==B.type&&"dot"!==B.type||("dot"===B.type?(R.output+=y,B.output+=y):!0===r.dot?(R.output+=v,B.output+=v):(R.output+=x,B.output+=x),"*"!==P()&&(R.output+=d,B.output+=d)),q(n)):(n.output=L,q(n)):(n.output=".*?","bos"!==B.type&&"slash"!==B.type||(n.output=x+n.output),q(n))}for(;R.brackets>0;){if(!0===r.strictBrackets)throw new SyntaxError(syntaxError("closing","]"));R.output=utils.escapeLast(R.output,"["),D("brackets")}for(;R.parens>0;){if(!0===r.strictBrackets)throw new SyntaxError(syntaxError("closing",")"));R.output=utils.escapeLast(R.output,"("),D("parens")}for(;R.braces>0;){if(!0===r.strictBrackets)throw new SyntaxError(syntaxError("closing","}"));R.output=utils.escapeLast(R.output,"{"),D("braces")}if(!0===r.strictSlashes||"star"!==B.type&&"bracket"!==B.type||q({type:"maybe_slash",value:"",output:`${h}?`}),!0===R.backtrack){R.output="";for(const e of R.tokens)R.output+=null!=e.output?e.output:e.value,e.suffix&&(R.output+=e.suffix)}return R};parse$2.fastpaths=(e,t)=>{const r={...t},n="number"==typeof r.maxLength?Math.min(MAX_LENGTH,r.maxLength):MAX_LENGTH,i=e.length;if(i>n)throw new SyntaxError(`Input length: ${i}, exceeds maximum allowed length: ${n}`);e=REPLACEMENTS[e]||e;const o=utils.isWindows(t),{DOT_LITERAL:s,SLASH_LITERAL:a,ONE_CHAR:u,DOTS_SLASH:c,NO_DOT:l,NO_DOTS:p,NO_DOTS_SLASH:f,STAR:h,START_ANCHOR:d}=constants.globChars(o),g=r.dot?p:l,m=r.dot?f:l,y=r.capture?"":"?:";let v=!0===r.bash?".*?":h;r.capture&&(v=`(${v})`);const b=e=>!0===e.noglobstar?v:`(${y}(?:(?!${d}${e.dot?c:s}).)*?)`,_=e=>{switch(e){case"*":return`${g}${u}${v}`;case".*":return`${s}${u}${v}`;case"*.*":return`${g}${v}${s}${u}${v}`;case"*/*":return`${g}${v}${a}${u}${m}${v}`;case"**":return g+b(r);case"**/*":return`(?:${g}${b(r)}${a})?${m}${u}${v}`;case"**/*.*":return`(?:${g}${b(r)}${a})?${m}${v}${s}${u}${v}`;case"**/.*":return`(?:${g}${b(r)}${a})?${s}${u}${v}`;default:{const t=/^(.*?)\.(\w+)$/.exec(e);if(!t)return;const r=_(t[1]);if(!r)return;return r+s+t[2]}}},A=utils.removePrefix(e,{negated:!1,prefix:""});let S=_(A);return S&&!0!==r.strictSlashes&&(S+=`${a}?`),S};var parse_1$1=parse$2;const isObject$1=e=>e&&"object"==typeof e&&!Array.isArray(e),picomatch$1=(e,t,r=!1)=>{if(Array.isArray(e)){const n=e.map((e=>picomatch$1(e,t,r))),i=e=>{for(const t of n){const r=t(e);if(r)return r}return!1};return i}const n=isObject$1(e)&&e.tokens&&e.input;if(""===e||"string"!=typeof e&&!n)throw new TypeError("Expected pattern to be a non-empty string");const i=t||{},o=utils.isWindows(t),s=n?picomatch$1.compileRe(e,t):picomatch$1.makeRe(e,t,!1,!0),a=s.state;delete s.state;let u=()=>!1;if(i.ignore){const e={...t,ignore:null,onMatch:null,onResult:null};u=picomatch$1(i.ignore,e,r)}const c=(r,n=!1)=>{const{isMatch:c,match:l,output:p}=picomatch$1.test(r,s,t,{glob:e,posix:o}),f={glob:e,state:a,regex:s,posix:o,input:r,output:p,match:l,isMatch:c};return"function"==typeof i.onResult&&i.onResult(f),!1===c?(f.isMatch=!1,!!n&&f):u(r)?("function"==typeof i.onIgnore&&i.onIgnore(f),f.isMatch=!1,!!n&&f):("function"==typeof i.onMatch&&i.onMatch(f),!n||f)};return r&&(c.state=a),c};picomatch$1.test=(e,t,r,{glob:n,posix:i}={})=>{if("string"!=typeof e)throw new TypeError("Expected input to be a string");if(""===e)return{isMatch:!1,output:""};const o=r||{},s=o.format||(i?utils.toPosixSlashes:null);let a=e===n,u=a&&s?s(e):e;return!1===a&&(u=s?s(e):e,a=u===n),!1!==a&&!0!==o.capture||(a=!0===o.matchBase||!0===o.basename?picomatch$1.matchBase(e,t,r,i):t.exec(u)),{isMatch:Boolean(a),match:a,output:u}},picomatch$1.matchBase=(e,t,r,n=utils.isWindows(r))=>(t instanceof RegExp?t:picomatch$1.makeRe(t,r)).test(path.basename(e)),picomatch$1.isMatch=(e,t,r)=>picomatch$1(t,r)(e),picomatch$1.parse=(e,t)=>Array.isArray(e)?e.map((e=>picomatch$1.parse(e,t))):parse_1$1(e,{...t,fastpaths:!1}),picomatch$1.scan=(e,t)=>scan_1(e,t),picomatch$1.compileRe=(e,t,r=!1,n=!1)=>{if(!0===r)return e.output;const i=t||{},o=i.contains?"":"^",s=i.contains?"":"$";let a=`${o}(?:${e.output})${s}`;e&&!0===e.negated&&(a=`^(?!${a}).*$`);const u=picomatch$1.toRegex(a,t);return!0===n&&(u.state=e),u},picomatch$1.makeRe=(e,t={},r=!1,n=!1)=>{if(!e||"string"!=typeof e)throw new TypeError("Expected a non-empty string");let i={negated:!1,fastpaths:!0};return!1===t.fastpaths||"."!==e[0]&&"*"!==e[0]||(i.output=parse_1$1.fastpaths(e,t)),i.output||(i=parse_1$1(e,t)),picomatch$1.compileRe(i,t,r,n)},picomatch$1.toRegex=(e,t)=>{try{const r=t||{};return new RegExp(e,r.flags||(r.nocase?"i":""))}catch(e){if(t&&!0===t.debug)throw e;return/$^/}},picomatch$1.constants=constants;var picomatch_1=picomatch$1,picomatch=picomatch_1;const isEmptyString=e=>""===e||"./"===e,hasBraces=e=>{const t=e.indexOf("{");return t>-1&&e.indexOf("}",t)>-1},micromatch=(e,t,r)=>{t=[].concat(t),e=[].concat(e);let n=new Set,i=new Set,o=new Set,s=0,a=e=>{o.add(e.output),r&&r.onResult&&r.onResult(e)};for(let o=0;o<t.length;o++){let u=picomatch(String(t[o]),{...r,onResult:a},!0),c=u.state.negated||u.state.negatedExtglob;c&&s++;for(let t of e){let e=u(t,!0);(c?!e.isMatch:e.isMatch)&&(c?n.add(e.output):(n.delete(e.output),i.add(e.output)))}}let u=(s===t.length?[...o]:[...i]).filter((e=>!n.has(e)));if(r&&0===u.length){if(!0===r.failglob)throw new Error(`No matches found for "${t.join(", ")}"`);if(!0===r.nonull||!0===r.nullglob)return r.unescape?t.map((e=>e.replace(/\\/g,""))):t}return u};micromatch.match=micromatch,micromatch.matcher=(e,t)=>picomatch(e,t),micromatch.isMatch=(e,t,r)=>picomatch(t,r)(e),micromatch.any=micromatch.isMatch,micromatch.not=(e,t,r={})=>{t=[].concat(t).map(String);let n=new Set,i=[],o=new Set(micromatch(e,t,{...r,onResult:e=>{r.onResult&&r.onResult(e),i.push(e.output)}}));for(let e of i)o.has(e)||n.add(e);return[...n]},micromatch.contains=(e,t,r)=>{if("string"!=typeof e)throw new TypeError(`Expected a string: "${util.inspect(e)}"`);if(Array.isArray(t))return t.some((t=>micromatch.contains(e,t,r)));if("string"==typeof t){if(isEmptyString(e)||isEmptyString(t))return!1;if(e.includes(t)||e.startsWith("./")&&e.slice(2).includes(t))return!0}return micromatch.isMatch(e,t,{...r,contains:!0})},micromatch.matchKeys=(e,t,r)=>{if(!utils.isObject(e))throw new TypeError("Expected the first argument to be an object");let n=micromatch(Object.keys(e),t,r),i={};for(let t of n)i[t]=e[t];return i},micromatch.some=(e,t,r)=>{let n=[].concat(e);for(let e of[].concat(t)){let t=picomatch(String(e),r);if(n.some((e=>t(e))))return!0}return!1},micromatch.every=(e,t,r)=>{let n=[].concat(e);for(let e of[].concat(t)){let t=picomatch(String(e),r);if(!n.every((e=>t(e))))return!1}return!0},micromatch.all=(e,t,r)=>{if("string"!=typeof e)throw new TypeError(`Expected a string: "${util.inspect(e)}"`);return[].concat(t).every((t=>picomatch(t,r)(e)))},micromatch.capture=(e,t,r)=>{let n=utils.isWindows(r),i=picomatch.makeRe(String(e),{...r,capture:!0}).exec(n?utils.toPosixSlashes(t):t);if(i)return i.slice(1).map((e=>void 0===e?"":e))},micromatch.makeRe=(...e)=>picomatch.makeRe(...e),micromatch.scan=(...e)=>picomatch.scan(...e),micromatch.parse=(e,t)=>{let r=[];for(let n of[].concat(e||[]))for(let e of braces_1(String(n),t))r.push(picomatch.parse(e,t));return r},micromatch.braces=(e,t)=>{if("string"!=typeof e)throw new TypeError("Expected a string");return t&&!0===t.nobrace||!hasBraces(e)?[e]:braces_1(e,t)},micromatch.braceExpand=(e,t)=>{if("string"!=typeof e)throw new TypeError("Expected a string");return micromatch.braces(e,{...t,expand:!0})},micromatch.hasBraces=hasBraces;var micromatch_1=micromatch,match=createCommonjsModule((function(e){var t=e.exports;t.match=function(e,t,r,n){var i=handlebarsUtils.options(this,r,n);return"string"==typeof t&&(t=t.split(/, */)),micromatch_1(e,t,i)},t.isMatch=function(e,t,r,n){var i=handlebarsUtils.options(this,r,n);return micromatch_1.isMatch(e,t,i)},t.mm=function(){return console.log("the {{mm}} helper is depcrecated and will be removed"),console.log("in handlebars-helpers v1.0.0, please use the {{match}}"),console.log("helper instead."),t.match.apply(this,arguments)}})),math$1=createCommonjsModule((function(e){var t=e.exports;t.abs=function(e){if(isNaN(e))throw new TypeError("expected a number");return Math.abs(e)},t.add=function(e,t){return isNaN(e)||isNaN(t)?"string"==typeof e&&"string"==typeof t?e+t:"":Number(e)+Number(t)},t.avg=function(){const e=[].concat.apply([],arguments);return e.pop(),t.sum(e)/e.length},t.ceil=function(e){if(isNaN(e))throw new TypeError("expected a number");return Math.ceil(e)},t.divide=function(e,t){if(isNaN(e))throw new TypeError("expected the first argument to be a number");if(isNaN(t))throw new TypeError("expected the second argument to be a number");return Number(e)/Number(t)},t.floor=function(e){if(isNaN(e))throw new TypeError("expected a number");return Math.floor(e)},t.minus=function(e,t){if(isNaN(e))throw new TypeError("expected the first argument to be a number");if(isNaN(t))throw new TypeError("expected the second argument to be a number");return Number(e)-Number(t)},t.modulo=function(e,t){if(isNaN(e))throw new TypeError("expected the first argument to be a number");if(isNaN(t))throw new TypeError("expected the second argument to be a number");return Number(e)%Number(t)},t.multiply=function(e,t){if(isNaN(e))throw new TypeError("expected the first argument to be a number");if(isNaN(t))throw new TypeError("expected the second argument to be a number");return Number(e)*Number(t)},t.plus=function(e,t){if(isNaN(e))throw new TypeError("expected the first argument to be a number");if(isNaN(t))throw new TypeError("expected the second argument to be a number");return Number(e)+Number(t)},t.random=function(e,t){if(isNaN(e))throw new TypeError("expected minimum to be a number");if(isNaN(t))throw new TypeError("expected maximum to be a number");return utils$2.random(e,t)},t.remainder=function(e,t){return e%t},t.round=function(e){if(isNaN(e))throw new TypeError("expected a number");return Math.round(e)},t.subtract=function(e,t){if(isNaN(e))throw new TypeError("expected the first argument to be a number");if(isNaN(t))throw new TypeError("expected the second argument to be a number");return Number(e)-Number(t)},t.sum=function(){for(var e=[].concat.apply([],arguments),t=e.length,r=0;t--;)isNaN(e[t])||(r+=Number(e[t]));return r}})),misc=createCommonjsModule((function(e){var t=e.exports;t.frame=function(e,t){"object"==typeof e&&e.hash&&(e=(t=e).data);var r=createFrame(e);return"object"!=typeof t&&(t={}),r.extend(t.hash),t.fn(this,{data:r})},t.option=function(e,t,r){return getValue(handlebarsUtils.options(this,t,r),e)},t.noop=function(e){return e.fn(this)},t.typeOf=function(e){return typeof e},t.withHash=function(e){return e.hash&&Object.keys(e.hash).length?e.fn(e.hash):e.inverse(this)}})),number$1=createCommonjsModule((function(e){var t=e.exports;t.bytes=function(e,t,r){if(null==e)return"0 B";if(isNaN(e)&&!(e=e.length))return"0 B";isNaN(t)&&(t=2);var n=["B","kB","MB","GB","TB","PB","EB","ZB","YB"];t=Math.pow(10,t),e=Number(e);for(var i=n.length-1;i-- >=0;){var o=Math.pow(10,3*i);if(o<=e+1){e=Math.round(e*t/o)/t,e+=" "+n[i];break}}return e},t.addCommas=function(e){return e.toString().replace(/(\d)(?=(\d\d\d)+(?!\d))/g,"$1,")},t.phoneNumber=function(e){return"("+(e=e.toString()).substr(0,3)+") "+e.substr(3,3)+"-"+e.substr(6,4)},t.toAbbr=function(e,t){isNaN(e)&&(e=0),handlebarsUtils.isUndefined(t)&&(t=2),e=Number(e),t=Math.pow(10,t);for(var r=["k","m","b","t","q"],n=r.length-1;n>=0;){var i=Math.pow(10,3*(n+1));if(i<=e+1){e=Math.round(e*t/i)/t,e+=r[n];break}n--}return e},t.toExponential=function(e,t){return isNaN(e)&&(e=0),handlebarsUtils.isUndefined(t)&&(t=0),Number(e).toExponential(t)},t.toFixed=function(e,t){return isNaN(e)&&(e=0),isNaN(t)&&(t=0),Number(e).toFixed(t)},t.toFloat=function(e){return parseFloat(e)},t.toInt=function(e){return parseInt(e,10)},t.toPrecision=function(e,t){return isNaN(e)&&(e=0),isNaN(t)&&(t=1),Number(e).toPrecision(t)}})),toString={}.toString,isarray=Array.isArray||function(e){return"[object Array]"==toString.call(e)},isobject=function(e){return null!=e&&"object"==typeof e&&!1===isarray(e)},relative_1=relative;function relative(e,t,r){if("string"!=typeof e)throw new TypeError("relative expects a string.");if(""==e&&!t)return e;var n=arguments.length;1===n&&(t=e,e=browser.cwd(),r=null),2===n&&"boolean"==typeof t&&(t=e,e=browser.cwd(),r=!0),2===n&&"object"==typeof t&&(r=t,t=e,e=browser.cwd());var i=t,o=endsWith(e,"/"),s=endsWith(t,"/");e=unixify(e),t=unixify(t),o&&(e+="/"),isFile(e,r)&&(e=path.dirname(e));var a=path.relative(e,t);if(""===a)return".";var u=trimEnd(i,"/");return s&&(a===u||endsWith(a,u))&&(a+="/"),a}function unixify(e){return e.replace(/[\\\/]+/g,"/")}function trimEnd(e,t){return e.slice(0,e.length-t.length)}function endsWith(e,t){return e.slice(-t.length)[0]===t}function tryStats(e){try{return fs.statSync(e)}catch(e){}return null}function isDir(e,t){if(endsWith(e,"/"))return!0;if(null===t&&(t=tryStats(e)),isobject(t)&&"function"==typeof t.isDirectory)return t.isDirectory();var r=e.split("/"),n=r[r.length-1];return!n||-1===n.indexOf(".")}function isFile(e,t){return!0===t&&(t=tryStats(e)),!isDir(e,t)}relative.toBase=function(e,t){e=unixify(e);var r=(t=unixify(t)).slice(e.length);return"/"===r.charAt(0)&&(r=r.slice(1)),r};var path_1=createCommonjsModule((function(e){var t=e.exports;t.absolute=function(e,t){t=t||{data:{}};var r=handlebarsUtils.options(this,t),n=Object.assign({},t.data.root,r).cwd||browser.cwd();return path.resolve(n,e)},t.dirname=function(e,t){if("string"!=typeof e)throw new TypeError(handlebarsUtils.expectedType("filepath","string",e));return path.dirname(e)},t.relative=function(e,t){if("string"!=typeof e)throw new TypeError(handlebarsUtils.expectedType("first path","string",e));if("string"!=typeof t)throw new TypeError(handlebarsUtils.expectedType("second path","string",t));return relative_1(e,t)},t.basename=function(e){if("string"!=typeof e)throw new TypeError(handlebarsUtils.expectedType("filepath","string",e));return path.basename(e)},t.stem=function(e){if("string"!=typeof e)throw new TypeError(handlebarsUtils.expectedType("filepath","string",e));return path.basename(e,path.extname(e))},t.extname=function(e){if("string"!=typeof e)throw new TypeError(handlebarsUtils.expectedType("filepath","string",e));return path.extname(e)},t.resolve=function(e){var t=[].slice.call(arguments),r=handlebarsUtils.options(this,t.pop()),n=path.resolve(r.cwd||browser.cwd());return t.unshift(n),path.resolve.apply(path,t)},t.segments=function(e,t,r){if("string"!=typeof e)throw new TypeError(handlebarsUtils.expectedType("filepath","string",e));return e.split(/[\\\/]+/).slice(t,r).join("/")}})),regex$2=createCommonjsModule((function(e){var t=e.exports;t.toRegex=function(e,t,r){var n=handlebarsUtils.options({},t,r);return new RegExp(e,n.flags)},t.test=function(e,t){if("string"!=typeof e)return!1;if("regexp"!==kindOf$1(t))throw new TypeError("expected a regular expression");return t.test(e)}}));const lorem="Lorem ipsum dolor sit amet, consectetur adipiscing elit. Phasellus imperdiet, nulla et dictum interdum, nisi lorem egestas odio, vitae scelerisque enim ligula venenatis dolor. Maecenas nisl est, ultrices nec congue eget, auctor vitae massa. Fusce luctus vestibulum augue ut aliquet. Mauris ante ligula, facilisis sed ornare eu, lobortis in odio. Praesent convallis urna a lacus interdum ut hendrerit risus congue. Nunc sagittis dictum nisi, sed ullamcorper ipsum dignissim ac. In at libero sed nunc venenatis imperdiet sed ornare turpis. Donec vitae dui eget tellus gravida venenatis. Integer fringilla congue eros non fermentum. Sed dapibus pulvinar nibh tempor porta. \n\n Crase tempor malesuada magna a vehicula. Nam sollicitudin vel turpis id fermentum. Ut sit amet nisl ac nulla vulputate ultrices vitae vitae urna. Quisque eget odio ac lectus vestibulum faucibus eget in metus. In pellentesque faucibus vestibulum. Nulla at nulla justo, eget luctus tortor. Nulla facilisi. Donec vulputate interdum sollicitudin. Nunc lacinia auctor quam sed pellentesque. Aliquam dui mauris, mattis quis lacus id, pellentesque lobortis odio. \n\n Nullam malesuada erat ut turpis. Suspendisse urna nibh, viverra non, semper suscipit, posuere a, pede. Donec nec justo eget felis facilisis fermentum. Aliquam porttitor mauris sit amet orci. Aenean dignissim pellentesque felis. Phasellus ultrices nulla quis nibh. Quisque a lectus. Donec consectetuer ligula vulputate sem tristique cursus. Nam nulla quam, gravida non, commodo a, sodales sit amet, nisi. Praesent id justo in neque elementum ultrices. Sed malesuada augue eu sapien sodales congue. Nam ut dui. Quisque a lectus. Donec consectetuer ligula vulputate sem tristique cursus. Nam nulla quam, gravida non, commodo a, sodales sit amet, nisi. Proin vel ante a orci tempus eleifend ut et magna. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus luctus urna sed urna ultricies ac tempor dui sagittis. In condimentum facilisis porta. Sed nec diam eu diam mattis viverra. Nulla fringilla, orci ac euismod semper, magna diam porttitor mauris, quis sollicitudin sapien justo in libero. Vestibulum mollis mauris enim. Morbi euismod magna ac lorem rutrum elementum. Donec viverra auctor lobortis. Pellentesque eu est a nulla placerat dignissim. Morbi a enim in magna semper bibendum. Etiam scelerisque, nunc ac egestas consequat, odio nibh euismod nulla, eget auctor orci nibh vel nisi. Aliquam erat volutpat. Sed quis velit. Nulla facilisi. Nulla libero. Vivamus fermentum nibh in augue. Praesent a lacus at urna congue rutrum. Nulla enim eros, porttitor eu, tempus id, varius non, nibh. Vestibulum imperdiet nibh vel magna lacinia ultrices. Sed id ligula quis est convallis tempor. \n\n Aliquam erat volutpat. Integer aliquam ultrices nunc. Ut lectus dui, tincidunt ac, scelerisque ac, ultrices vitae, risus. Donec vehicula augue eu neque. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Mauris ut leo. Cras viverra metus rhoncus sem. Nulla et lectus vestibulum urna fringilla ultrices. Phasellus eu tellus sit amet tortor gravida placerat. Integer sapien est, iaculis in, pretium quis, viverra ac, nunc. Praesent eget sem vel leo ultrices bibendum. Aenean faucibus. Morbi dolor nulla, malesuada eu, pulvinar at, mollis ac, nulla. Curabitur vehicula nisi a magna. Sed nec libero. Phasellus nonummy magna. Sed et libero nec ligula blandit fringilla. Ut pretium tempus gravida. Proin lacinia justo vel ipsum varius eget auctor est iaculis. \n\n Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Fusce luctus vestibulum augue ut aliquet. Nunc sagittis dictum nisi, sed ullamcorper ipsum dignissim ac. In at libero sed nunc venenatis imperdiet sed ornare turpis. Donec vitae dui eget tellus gravida venenatis. Integer fringilla congue eros non fermentum. Sed dapibus pulvinar nibh tempor porta. \n\n Nam dui erat, auctor a, dignissim quis. Aenean dignissim pellentesque felis. Sed gravida ante at nunc dictum placerat. Donec placerat nisl magna, et faucibus arcu condimentum sed. Curabitur et eros ac orci vehicula vestibulum sit amet at nunc. Maecenas non diam cursus, tincidunt nisi vitae, hendrerit enim. Donec vulputate felis id felis dapibus fermentum. \n\n Nullam malesuada erat ut turpis. Suspendisse urna nibh, viverra non, semper suscipit, posuere a, pede. Donec nec justo eget felis facilisis fermentum. Aliquam porttitor mauris sit amet orci. Aenean dignissim pellentesque felis. Phasellus ultrices nulla quis nibh. Quisque a lectus. Donec consectetuer ligula vulputate sem tristique cursus. Nam nulla quam, gravida non, commodo a, sodales sit amet, nisi. Praesent id justo in neque elementum ultrices. Sed malesuada augue eu sapien sodales congue. Nam ut dui. Quisque a lectus. Donec consectetuer ligula vulputate sem tristique cursus. Nam nulla quam, gravida non, commodo a, sodales sit amet, nisi. \n\n Pellentesque sit amet mauris eget lectus commodo viverra. Donec vulputate interdum sollicitudin. Nunc lacinia auctor quam sed pellentesque. Aliquam dui mauris, mattis quis lacus id, pellentesque lobortis odio. Cras ultricies ligula sed magna dictum porta. Curabitur aliquet quam id dui posuere blandit. Nulla porttitor accumsan tincidunt. Donec sollicitudin molestie malesuada. Curabitur arcu erat, accumsan id imperdiet et, porttitor at sem. Sed porttitor lectus nibh. Pellentesque in ipsum id orci porta dapibus. Vestibulum ac diam sit amet quam vehicula elementum sed sit amet dui. \n\n Cras ultricies ligula sed magna dictum porta. Donec rutrum congue leo eget malesuada. Nulla quis lorem ut libero malesuada feugiat. Proin eget tortor risus. Nulla quis lorem ut libero malesuada feugiat. Proin eget tortor risus. Curabitur aliquet quam id dui posuere blandit. Vestibulum ac diam sit amet quam vehicula elementum sed sit amet dui. Pellentesque in ipsum id orci porta dapibus. Curabitur non nulla sit amet nisl tempus convallis quis ac lectus. Donec rutrum congue leo eget malesuada. Vivamus suscipit tortor eget felis porttitor volutpat. Nulla porttitor accumsan tincidunt. \n\n Donec sollicitudin molestie malesuada. Pellentesque in ipsum id orci porta dapibus. Curabitur non nulla sit amet nisl tempus convallis quis ac lectus. Nulla quis lorem ut libero malesuada feugiat. Proin eget tortor risus. Cras ultricies ligula sed magna dictum porta. Donec sollicitudin molestie malesuada. Pellentesque in ipsum id orci porta dapibus. Vestibulum ac diam sit amet quam vehicula elementum sed sit amet dui. Curabitur non nulla sit amet nisl tempus convallis quis ac lectus. Nulla quis lorem ut libero malesuada feugiat. Proin eget tortor risus. Curabitur aliquet quam id dui posuere blandit. \n\n Vestibulum ac diam sit amet quam vehicula elementum sed sit amet dui. Curabitur non nulla sit amet nisl tempus convallis quis ac lectus. Nulla quis lorem ut libero malesuada feugiat. Proin eget tortor risus. Cras ultricies ligula sed magna dictum porta. Donec sollicitudin molestie malesuada. Pellentesque in ipsum id orci porta dapibus. Vestibulum ac diam sit amet quam vehicula elementum sed sit amet dui. Curabitur non nulla sit amet nisl tempus convallis quis ac lectus. Nulla quis lorem ut libero malesuada feugiat. Proin eget tortor risus. \n\n Curabitur aliquet quam id dui posuere blandit. Vestibulum ac diam sit amet quam vehicula elementum sed sit amet dui. Pellentesque in ipsum id orci porta dapibus. Curabitur non nulla sit amet nisl tempus convallis quis ac lectus. Nulla quis lorem ut libero malesuada feugiat. Proin eget tortor risus. Cras ultricies ligula sed magna dictum porta. Donec sollicitudin molestie malesuada. Pellentesque in ipsum id orci porta dapibus. Vestibulum ac diam sit amet quam vehicula elementum sed sit amet dui. Curabitur non nulla sit amet nisl tempus convallis quis ac lectus. Nulla quis lorem ut libero malesuada feugiat. Proin eget tortor risus. Curabitur aliquet quam id dui posuere blandit. Vestibulum ac diam sit amet quam vehicula elementum sed sit amet dui.";var lorem_1=lorem,string$1=createCommonjsModule((function(e,t){var r=e.exports;r.append=function(e,t){return"string"==typeof e&&"string"==typeof t?e+t:e},r.camelcase=function(e){return"string"!=typeof e?"":utils$2.changecase(e,(function(e){return e.toUpperCase()}))},r.capitalize=function(e){return"string"!=typeof e?"":e.charAt(0).toUpperCase()+e.slice(1)},r.capitalizeAll=function(e){return"string"!=typeof e?"":handlebarsUtils.isString(e)?e.replace(/\w\S*/g,(function(e){return r.capitalize(e)})):void 0},r.center=function(e,t){if("string"!=typeof e)return"";for(var r="",n=0;n<t;)r+=" ",n++;return r+e+r},r.chop=function(e){return"string"!=typeof e?"":utils$2.chop(e)},r.dashcase=function(e){return"string"!=typeof e?"":utils$2.changecase(e,(function(e){return"-"+e}))},r.dotcase=function(e){return"string"!=typeof e?"":utils$2.changecase(e,(function(e){return"."+e}))},r.downcase=function(){return r.lowercase.apply(this,arguments)},r.ellipsis=function(e,t){if(handlebarsUtils.isString(e))return e.length<=t?e:r.truncate(e,t)+"…"},r.hyphenate=function(e){return"string"!=typeof e?"":e.split(" ").join("-")},r.isString=function(e){return"string"==typeof e},r.lowercase=function(e){return handlebarsUtils.isObject(e)&&e.fn?e.fn(this).toLowerCase():"string"!=typeof e?"":e.toLowerCase()},r.occurrences=function(e,t){if("string"!=typeof e)return"";for(var r=t.length,n=0,i=0;(n=e.indexOf(t,n))>-1;)i++,n+=r;return i},r.pascalcase=function(e){return"string"!=typeof e?"":(e=utils$2.changecase(e,(function(e){return e.toUpperCase()}))).charAt(0).toUpperCase()+e.slice(1)},r.pathcase=function(e){return"string"!=typeof e?"":utils$2.changecase(e,(function(e){return"/"+e}))},r.plusify=function(e,t){return"string"!=typeof e?"":(handlebarsUtils.isString(t)||(t=" "),e.split(t).join("+"))},r.prepend=function(e,t){return"string"==typeof e&&"string"==typeof t?t+e:e},r.raw=function(e){var t=e.fn();if(!1!==handlebarsUtils.options(this,e).escape)for(var r=0;-1!==(r=t.indexOf("{{",r));)"\\"!==t[r-1]&&(t=t.slice(0,r)+"\\"+t.slice(r)),r+=3;return t},r.remove=function(e,t){return"string"!=typeof e?"":handlebarsUtils.isString(t)?e.split(t).join(""):e},r.removeFirst=function(e,t){return"string"!=typeof e?"":handlebarsUtils.isString(t)?e.replace(t,""):e},r.replace=function(e,t,r){return"string"!=typeof e?"":handlebarsUtils.isString(t)?(handlebarsUtils.isString(r)||(r=""),e.split(t).join(r)):e},r.replaceFirst=function(e,t,r){return"string"!=typeof e?"":handlebarsUtils.isString(t)?(handlebarsUtils.isString(r)||(r=""),e.replace(t,r)):e},r.reverse=array$1.reverse,r.sentence=function(e){return"string"!=typeof e?"":e.replace(/((?:\S[^\.\?\!]*)[\.\?\!]*)/g,(function(e){return e.charAt(0).toUpperCase()+e.substr(1).toLowerCase()}))},r.snakecase=function(e){return"string"!=typeof e?"":utils$2.changecase(e,(function(e){return"_"+e}))},r.split=function(e,t){return"string"!=typeof e?"":(handlebarsUtils.isString(t)||(t=","),e.split(t))},r.startsWith=function(e,t,r){return r=[].slice.call(arguments).pop(),handlebarsUtils.isString(t)&&0===t.indexOf(e)?r.fn(this):"function"==typeof r.inverse?r.inverse(this):""},r.titleize=function(e){if("string"!=typeof e)return"";for(var r=e.replace(/[- _]+/g," ").split(" "),n=r.length,i=[],o=0;n--;){var s=r[o++];i.push(t.capitalize(s))}return i.join(" ")},r.trim=function(e){return"string"==typeof e?e.trim():""},r.trimLeft=function(e){if(handlebarsUtils.isString(e))return e.replace(/^\s+/,"")},r.trimRight=function(e){if(handlebarsUtils.isString(e))return e.replace(/\s+$/,"")},r.truncate=function(e,t,r){if(handlebarsUtils.isString(e))return"string"!=typeof r&&(r=""),e.length>t?e.slice(0,t-r.length)+r:e},r.truncateWords=function(e,t,r){if(handlebarsUtils.isString(e)&&!isNaN(t)){"string"!=typeof r&&(r="…");var n=Number(t),i=e.split(/[ \t]/);return n>=i.length?e:(i=i.slice(0,n)).join(" ").trim()+r}},r.upcase=function(){return r.uppercase.apply(this,arguments)},r.uppercase=function(e){return handlebarsUtils.isObject(e)&&e.fn?e.fn(this).toUpperCase():"string"!=typeof e?"":e.toUpperCase()},r.lorem=function(e){return(isNaN(e)||e<1||!e)&&(e=11),lorem_1.substring(0,e)}})),maxInt=2147483647,base=36,tMin=1,tMax=26,skew=38,damp=700,initialBias=72,initialN=128,delimiter="-",regexNonASCII=/[^\x20-\x7E]/,regexSeparators=/[\x2E\u3002\uFF0E\uFF61]/g,errors={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},baseMinusTMin=base-tMin,floor=Math.floor,stringFromCharCode=String.fromCharCode;function error(e){throw new RangeError(errors[e])}function map$1(e,t){for(var r=e.length,n=[];r--;)n[r]=t(e[r]);return n}function mapDomain(e,t){var r=e.split("@"),n="";return r.length>1&&(n=r[0]+"@",e=r[1]),n+map$1((e=e.replace(regexSeparators,".")).split("."),t).join(".")}function ucs2decode(e){for(var t,r,n=[],i=0,o=e.length;i<o;)(t=e.charCodeAt(i++))>=55296&&t<=56319&&i<o?56320==(64512&(r=e.charCodeAt(i++)))?n.push(((1023&t)<<10)+(1023&r)+65536):(n.push(t),i--):n.push(t);return n}function digitToBasic(e,t){return e+22+75*(e<26)-((0!=t)<<5)}function adapt(e,t,r){var n=0;for(e=r?floor(e/damp):e>>1,e+=floor(e/t);e>baseMinusTMin*tMax>>1;n+=base)e=floor(e/baseMinusTMin);return floor(n+(baseMinusTMin+1)*e/(e+skew))}function encode(e){var t,r,n,i,o,s,a,u,c,l,p,f,h,d,g,m=[];for(f=(e=ucs2decode(e)).length,t=initialN,r=0,o=initialBias,s=0;s<f;++s)(p=e[s])<128&&m.push(stringFromCharCode(p));for(n=i=m.length,i&&m.push(delimiter);n<f;){for(a=maxInt,s=0;s<f;++s)(p=e[s])>=t&&p<a&&(a=p);for(a-t>floor((maxInt-r)/(h=n+1))&&error("overflow"),r+=(a-t)*h,t=a,s=0;s<f;++s)if((p=e[s])<t&&++r>maxInt&&error("overflow"),p==t){for(u=r,c=base;!(u<(l=c<=o?tMin:c>=o+tMax?tMax:c-o));c+=base)g=u-l,d=base-l,m.push(stringFromCharCode(digitToBasic(l+g%d,0))),u=floor(g/d);m.push(stringFromCharCode(digitToBasic(u,0))),o=adapt(r,h,n==i),r=0,++n}++r,++t}return m.join("")}function toASCII(e){return mapDomain(e,(function(e){return regexNonASCII.test(e)?"xn--"+encode(e):e}))}function hasOwnProperty(e,t){return Object.prototype.hasOwnProperty.call(e,t)}var isArray=Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)};function stringifyPrimitive(e){switch(typeof e){case"string":return e;case"boolean":return e?"true":"false";case"number":return isFinite(e)?e:"";default:return""}}function stringify(e,t,r,n){return t=t||"&",r=r||"=",null===e&&(e=void 0),"object"==typeof e?map(objectKeys(e),(function(n){var i=encodeURIComponent(stringifyPrimitive(n))+r;return isArray(e[n])?map(e[n],(function(e){return i+encodeURIComponent(stringifyPrimitive(e))})).join(t):i+encodeURIComponent(stringifyPrimitive(e[n]))})).join(t):n?encodeURIComponent(stringifyPrimitive(n))+r+encodeURIComponent(stringifyPrimitive(e)):""}function map(e,t){if(e.map)return e.map(t);for(var r=[],n=0;n<e.length;n++)r.push(t(e[n],n));return r}var objectKeys=Object.keys||function(e){var t=[];for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.push(r);return t};function parse$1(e,t,r,n){t=t||"&",r=r||"=";var i={};if("string"!=typeof e||0===e.length)return i;var o=/\+/g;e=e.split(t);var s=1e3;n&&"number"==typeof n.maxKeys&&(s=n.maxKeys);var a=e.length;s>0&&a>s&&(a=s);for(var u=0;u<a;++u){var c,l,p,f,h=e[u].replace(o,"%20"),d=h.indexOf(r);d>=0?(c=h.substr(0,d),l=h.substr(d+1)):(c=h,l=""),p=decodeURIComponent(c),f=decodeURIComponent(l),hasOwnProperty(i,p)?isArray(i[p])?i[p].push(f):i[p]=[i[p],f]:i[p]=f}return i}var querystring={encode:stringify,stringify:stringify,decode:parse$1,parse:parse$1};const URL=global$1.URL,URLSearchParams=global$1.URLSearchParams;var url$1={parse:urlParse,resolve:urlResolve,resolveObject:urlResolveObject,fileURLToPath:urlFileURLToPath,format:urlFormat,Url:Url,URL:URL,URLSearchParams:URLSearchParams};function Url(){this.protocol=null,this.slashes=null,this.auth=null,this.host=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.query=null,this.pathname=null,this.path=null,this.href=null}var protocolPattern=/^([a-z0-9.+-]+:)/i,portPattern=/:[0-9]*$/,simplePathPattern=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,delims=["<",">",'"',"`"," ","\r","\n","\t"],unwise=["{","}","|","\\","^","`"].concat(delims),autoEscape=["'"].concat(unwise),nonHostChars=["%","/","?",";","#"].concat(autoEscape),hostEndingChars=["/","?","#"],hostnameMaxLen=255,hostnamePartPattern=/^[+a-z0-9A-Z_-]{0,63}$/,hostnamePartStart=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,unsafeProtocol={javascript:!0,"javascript:":!0},hostlessProtocol={javascript:!0,"javascript:":!0},slashedProtocol={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0};function urlParse(e,t,r){if(e&&isObject$4(e)&&e instanceof Url)return e;var n=new Url;return n.parse(e,t,r),n}function parse(e,t,r,n){if(!isString(t))throw new TypeError("Parameter 'url' must be a string, not "+typeof t);var i=t.indexOf("?"),o=-1!==i&&i<t.indexOf("#")?"?":"#",s=t.split(o);s[0]=s[0].replace(/\\/g,"/");var a=t=s.join(o);if(a=a.trim(),!n&&1===t.split("#").length){var u=simplePathPattern.exec(a);if(u)return e.path=a,e.href=a,e.pathname=u[1],u[2]?(e.search=u[2],e.query=r?parse$1(e.search.substr(1)):e.search.substr(1)):r&&(e.search="",e.query={}),e}var c,l,p,f,h=protocolPattern.exec(a);if(h){var d=(h=h[0]).toLowerCase();e.protocol=d,a=a.substr(h.length)}if(n||h||a.match(/^\/\/[^@\/]+@[^@\/]+/)){var g="//"===a.substr(0,2);!g||h&&hostlessProtocol[h]||(a=a.substr(2),e.slashes=!0)}if(!hostlessProtocol[h]&&(g||h&&!slashedProtocol[h])){var m,y,v=-1;for(c=0;c<hostEndingChars.length;c++)-1!==(l=a.indexOf(hostEndingChars[c]))&&(-1===v||l<v)&&(v=l);for(-1!==(y=-1===v?a.lastIndexOf("@"):a.lastIndexOf("@",v))&&(m=a.slice(0,y),a=a.slice(y+1),e.auth=decodeURIComponent(m)),v=-1,c=0;c<nonHostChars.length;c++)-1!==(l=a.indexOf(nonHostChars[c]))&&(-1===v||l<v)&&(v=l);-1===v&&(v=a.length),e.host=a.slice(0,v),a=a.slice(v),parseHost(e),e.hostname=e.hostname||"";var b="["===e.hostname[0]&&"]"===e.hostname[e.hostname.length-1];if(!b){var _=e.hostname.split(/\./);for(c=0,p=_.length;c<p;c++){var A=_[c];if(A&&!A.match(hostnamePartPattern)){for(var S="",w=0,x=A.length;w<x;w++)A.charCodeAt(w)>127?S+="x":S+=A[w];if(!S.match(hostnamePartPattern)){var E=_.slice(0,c),C=_.slice(c+1),R=A.match(hostnamePartStart);R&&(E.push(R[1]),C.unshift(R[2])),C.length&&(a="/"+C.join(".")+a),e.hostname=E.join(".");break}}}}e.hostname.length>hostnameMaxLen?e.hostname="":e.hostname=e.hostname.toLowerCase(),b||(e.hostname=toASCII(e.hostname)),f=e.port?":"+e.port:"";var k=e.hostname||"";e.host=k+f,e.href+=e.host,b&&(e.hostname=e.hostname.substr(1,e.hostname.length-2),"/"!==a[0]&&(a="/"+a))}if(!unsafeProtocol[d])for(c=0,p=autoEscape.length;c<p;c++){var $=autoEscape[c];if(-1!==a.indexOf($)){var O=encodeURIComponent($);O===$&&(O=escape($)),a=a.split($).join(O)}}var L=a.indexOf("#");-1!==L&&(e.hash=a.substr(L),a=a.slice(0,L));var B=a.indexOf("?");if(-1!==B?(e.search=a.substr(B),e.query=a.substr(B+1),r&&(e.query=parse$1(e.query)),a=a.slice(0,B)):r&&(e.search="",e.query={}),a&&(e.pathname=a),slashedProtocol[d]&&e.hostname&&!e.pathname&&(e.pathname="/"),e.pathname||e.search){f=e.pathname||"";var I=e.search||"";e.path=f+I}return e.href=format(e),e}function urlFileURLToPath(e){if("string"==typeof e)e=(new Url).parse(e);else if(!(e instanceof Url))throw new TypeError('The "path" argument must be of type string or an instance of URL. Received type '+typeof e+String(e));if("file:"!==e.protocol)throw new TypeError("The URL must be of scheme file");return getPathFromURLPosix(e)}function getPathFromURLPosix(e){const t=e.pathname;for(let e=0;e<t.length;e++)if("%"===t[e]){const r=32|t.codePointAt(e+2);if("2"===t[e+1]&&102===r)throw new TypeError("must not include encoded / characters")}return decodeURIComponent(t)}function urlFormat(e){return isString(e)&&(e=parse({},e)),format(e)}function format(e){var t=e.auth||"";t&&(t=(t=encodeURIComponent(t)).replace(/%3A/i,":"),t+="@");var r=e.protocol||"",n=e.pathname||"",i=e.hash||"",o=!1,s="";e.host?o=t+e.host:e.hostname&&(o=t+(-1===e.hostname.indexOf(":")?e.hostname:"["+this.hostname+"]"),e.port&&(o+=":"+e.port)),e.query&&isObject$4(e.query)&&Object.keys(e.query).length&&(s=stringify(e.query));var a=e.search||s&&"?"+s||"";return r&&":"!==r.substr(-1)&&(r+=":"),e.slashes||(!r||slashedProtocol[r])&&!1!==o?(o="//"+(o||""),n&&"/"!==n.charAt(0)&&(n="/"+n)):o||(o=""),i&&"#"!==i.charAt(0)&&(i="#"+i),a&&"?"!==a.charAt(0)&&(a="?"+a),n=n.replace(/[?#]/g,(function(e){return encodeURIComponent(e)})),r+o+n+(a=a.replace("#","%23"))+i}function urlResolve(e,t){return urlParse(e,!1,!0).resolve(t)}function urlResolveObject(e,t){return e?urlParse(e,!1,!0).resolveObject(t):t}function parseHost(e){var t=e.host,r=portPattern.exec(t);r&&(":"!==(r=r[0])&&(e.port=r.substr(1)),t=t.substr(0,t.length-r.length)),t&&(e.hostname=t)}Url.prototype.parse=function(e,t,r){return parse(this,e,t,r)},Url.prototype.format=function(){return format(this)},Url.prototype.resolve=function(e){return this.resolveObject(urlParse(e,!1,!0)).format()},Url.prototype.resolveObject=function(e){if(isString(e)){var t=new Url;t.parse(e,!1,!0),e=t}for(var r,n=new Url,i=Object.keys(this),o=0;o<i.length;o++){var s=i[o];n[s]=this[s]}if(n.hash=e.hash,""===e.href)return n.href=n.format(),n;if(e.slashes&&!e.protocol){for(var a=Object.keys(e),u=0;u<a.length;u++){var c=a[u];"protocol"!==c&&(n[c]=e[c])}return slashedProtocol[n.protocol]&&n.hostname&&!n.pathname&&(n.path=n.pathname="/"),n.href=n.format(),n}if(e.protocol&&e.protocol!==n.protocol){if(!slashedProtocol[e.protocol]){for(var l=Object.keys(e),p=0;p<l.length;p++){var f=l[p];n[f]=e[f]}return n.href=n.format(),n}if(n.protocol=e.protocol,e.host||hostlessProtocol[e.protocol])n.pathname=e.pathname;else{for(r=(e.pathname||"").split("/");r.length&&!(e.host=r.shift()););e.host||(e.host=""),e.hostname||(e.hostname=""),""!==r[0]&&r.unshift(""),r.length<2&&r.unshift(""),n.pathname=r.join("/")}if(n.search=e.search,n.query=e.query,n.host=e.host||"",n.auth=e.auth,n.hostname=e.hostname||e.host,n.port=e.port,n.pathname||n.search){var h=n.pathname||"",d=n.search||"";n.path=h+d}return n.slashes=n.slashes||e.slashes,n.href=n.format(),n}var g,m=n.pathname&&"/"===n.pathname.charAt(0),y=e.host||e.pathname&&"/"===e.pathname.charAt(0),v=y||m||n.host&&e.pathname,b=v,_=n.pathname&&n.pathname.split("/")||[],A=n.protocol&&!slashedProtocol[n.protocol];if(r=e.pathname&&e.pathname.split("/")||[],A&&(n.hostname="",n.port=null,n.host&&(""===_[0]?_[0]=n.host:_.unshift(n.host)),n.host="",e.protocol&&(e.hostname=null,e.port=null,e.host&&(""===r[0]?r[0]=e.host:r.unshift(e.host)),e.host=null),v=v&&(""===r[0]||""===_[0])),y)n.host=e.host||""===e.host?e.host:n.host,n.hostname=e.hostname||""===e.hostname?e.hostname:n.hostname,n.search=e.search,n.query=e.query,_=r;else if(r.length)_||(_=[]),_.pop(),_=_.concat(r),n.search=e.search,n.query=e.query;else if(!isNullOrUndefined(e.search))return A&&(n.hostname=n.host=_.shift(),(g=!!(n.host&&n.host.indexOf("@")>0)&&n.host.split("@"))&&(n.auth=g.shift(),n.host=n.hostname=g.shift())),n.search=e.search,n.query=e.query,isNull(n.pathname)&&isNull(n.search)||(n.path=(n.pathname?n.pathname:"")+(n.search?n.search:"")),n.href=n.format(),n;if(!_.length)return n.pathname=null,n.search?n.path="/"+n.search:n.path=null,n.href=n.format(),n;for(var S=_.slice(-1)[0],w=(n.host||e.host||_.length>1)&&("."===S||".."===S)||""===S,x=0,E=_.length;E>=0;E--)"."===(S=_[E])?_.splice(E,1):".."===S?(_.splice(E,1),x++):x&&(_.splice(E,1),x--);if(!v&&!b)for(;x--;x)_.unshift("..");!v||""===_[0]||_[0]&&"/"===_[0].charAt(0)||_.unshift(""),w&&"/"!==_.join("/").substr(-1)&&_.push("");var C=""===_[0]||_[0]&&"/"===_[0].charAt(0);return A&&(n.hostname=n.host=C?"":_.length?_.shift():"",(g=!!(n.host&&n.host.indexOf("@")>0)&&n.host.split("@"))&&(n.auth=g.shift(),n.host=n.hostname=g.shift())),(v=v||n.host&&_.length)&&!C&&_.unshift(""),_.length?n.pathname=_.join("/"):(n.pathname=null,n.path=null),isNull(n.pathname)&&isNull(n.search)||(n.path=(n.pathname?n.pathname:"")+(n.search?n.search:"")),n.auth=e.auth||n.auth,n.slashes=n.slashes||e.slashes,n.href=n.format(),n},Url.prototype.parseHost=function(){return parseHost(this)};var url_1=createCommonjsModule((function(e){var t=e.exports;t.encodeURI=function(e){if(handlebarsUtils.isString(e))return encodeURIComponent(e)},t.escape=function(e){if(handlebarsUtils.isString(e))return querystring.escape(e)},t.decodeURI=function(e){if(handlebarsUtils.isString(e))return decodeURIComponent(e)},t.urlResolve=function(e,t){return url$1.resolve(e,t)},t.urlParse=function(e){return url$1.parse(e)},t.stripQuerystring=function(e){if(handlebarsUtils.isString(e))return e.split("?")[0]},t.stripProtocol=function(e){if(handlebarsUtils.isString(e)){var t=url$1.parse(e);return t.protocol="",t.format()}}})),_default=rng;let getRandomValues;const rnds8=new Uint8Array(16);function rng(){if(!getRandomValues&&(getRandomValues="undefined"!=typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto),!getRandomValues))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return getRandomValues(rnds8)}var rng_1=Object.defineProperty({default:_default},"__esModule",{value:!0}),regex$1=createCommonjsModule((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i})),validate_1=createCommonjsModule((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,n=(r=regex$1)&&r.__esModule?r:{default:r};var i=function(e){return"string"==typeof e&&n.default.test(e)};t.default=i})),stringify_1=createCommonjsModule((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.unsafeStringify=o;var r,n=(r=validate_1)&&r.__esModule?r:{default:r};const i=[];for(let e=0;e<256;++e)i.push((e+256).toString(16).slice(1));function o(e,t=0){return i[e[t+0]]+i[e[t+1]]+i[e[t+2]]+i[e[t+3]]+"-"+i[e[t+4]]+i[e[t+5]]+"-"+i[e[t+6]]+i[e[t+7]]+"-"+i[e[t+8]]+i[e[t+9]]+"-"+i[e[t+10]]+i[e[t+11]]+i[e[t+12]]+i[e[t+13]]+i[e[t+14]]+i[e[t+15]]}var s=function(e,t=0){const r=o(e,t);if(!(0,n.default)(r))throw TypeError("Stringified UUID is invalid");return r};t.default=s})),v1_1=createCommonjsModule((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,n=(r=rng_1)&&r.__esModule?r:{default:r};let i,o,s=0,a=0;var u=function(e,t,r){let u=t&&r||0;const c=t||new Array(16);let l=(e=e||{}).node||i,p=void 0!==e.clockseq?e.clockseq:o;if(null==l||null==p){const t=e.random||(e.rng||n.default)();null==l&&(l=i=[1|t[0],t[1],t[2],t[3],t[4],t[5]]),null==p&&(p=o=16383&(t[6]<<8|t[7]))}let f=void 0!==e.msecs?e.msecs:Date.now(),h=void 0!==e.nsecs?e.nsecs:a+1;const d=f-s+(h-a)/1e4;if(d<0&&void 0===e.clockseq&&(p=p+1&16383),(d<0||f>s)&&void 0===e.nsecs&&(h=0),h>=1e4)throw new Error("uuid.v1(): Can't create more than 10M uuids/sec");s=f,a=h,o=p,f+=122192928e5;const g=(1e4*(268435455&f)+h)%4294967296;c[u++]=g>>>24&255,c[u++]=g>>>16&255,c[u++]=g>>>8&255,c[u++]=255&g;const m=f/4294967296*1e4&268435455;c[u++]=m>>>8&255,c[u++]=255&m,c[u++]=m>>>24&15|16,c[u++]=m>>>16&255,c[u++]=p>>>8|128,c[u++]=255&p;for(let e=0;e<6;++e)c[u+e]=l[e];return t||(0,stringify_1.unsafeStringify)(c)};t.default=u})),parse_1=createCommonjsModule((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,n=(r=validate_1)&&r.__esModule?r:{default:r};var i=function(e){if(!(0,n.default)(e))throw TypeError("Invalid UUID");let t;const r=new Uint8Array(16);return r[0]=(t=parseInt(e.slice(0,8),16))>>>24,r[1]=t>>>16&255,r[2]=t>>>8&255,r[3]=255&t,r[4]=(t=parseInt(e.slice(9,13),16))>>>8,r[5]=255&t,r[6]=(t=parseInt(e.slice(14,18),16))>>>8,r[7]=255&t,r[8]=(t=parseInt(e.slice(19,23),16))>>>8,r[9]=255&t,r[10]=(t=parseInt(e.slice(24,36),16))/1099511627776&255,r[11]=t/4294967296&255,r[12]=t>>>24&255,r[13]=t>>>16&255,r[14]=t>>>8&255,r[15]=255&t,r};t.default=i})),v35_1=createCommonjsModule((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.URL=t.DNS=void 0,t.default=function(e,t,r){function s(e,i,o,s){var a;if("string"==typeof e&&(e=function(e){e=unescape(encodeURIComponent(e));const t=[];for(let r=0;r<e.length;++r)t.push(e.charCodeAt(r));return t}(e)),"string"==typeof i&&(i=(0,n.default)(i)),16!==(null===(a=i)||void 0===a?void 0:a.length))throw TypeError("Namespace must be array-like (16 iterable integer values, 0-255)");let u=new Uint8Array(16+e.length);if(u.set(i),u.set(e,i.length),u=r(u),u[6]=15&u[6]|t,u[8]=63&u[8]|128,o){s=s||0;for(let e=0;e<16;++e)o[s+e]=u[e];return o}return(0,stringify_1.unsafeStringify)(u)}try{s.name=e}catch(e){}return s.DNS=i,s.URL=o,s};var r,n=(r=parse_1)&&r.__esModule?r:{default:r};const i="6ba7b810-9dad-11d1-80b4-00c04fd430c8";t.DNS=i;const o="6ba7b811-9dad-11d1-80b4-00c04fd430c8";t.URL=o})),md5_1=createCommonjsModule((function(e,t){function r(e){return 14+(e+64>>>9<<4)+1}function n(e,t){const r=(65535&e)+(65535&t);return(e>>16)+(t>>16)+(r>>16)<<16|65535&r}function i(e,t,r,i,o,s){return n((a=n(n(t,e),n(i,s)))<<(u=o)|a>>>32-u,r);var a,u}function o(e,t,r,n,o,s,a){return i(t&r|~t&n,e,t,o,s,a)}function s(e,t,r,n,o,s,a){return i(t&n|r&~n,e,t,o,s,a)}function a(e,t,r,n,o,s,a){return i(t^r^n,e,t,o,s,a)}function u(e,t,r,n,o,s,a){return i(r^(t|~n),e,t,o,s,a)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var c=function(e){if("string"==typeof e){const t=unescape(encodeURIComponent(e));e=new Uint8Array(t.length);for(let r=0;r<t.length;++r)e[r]=t.charCodeAt(r)}return function(e){const t=[],r=32*e.length,n="0123456789abcdef";for(let i=0;i<r;i+=8){const r=e[i>>5]>>>i%32&255,o=parseInt(n.charAt(r>>>4&15)+n.charAt(15&r),16);t.push(o)}return t}(function(e,t){e[t>>5]|=128<<t%32,e[r(t)-1]=t;let i=1732584193,c=-271733879,l=-1732584194,p=271733878;for(let t=0;t<e.length;t+=16){const r=i,f=c,h=l,d=p;i=o(i,c,l,p,e[t],7,-680876936),p=o(p,i,c,l,e[t+1],12,-389564586),l=o(l,p,i,c,e[t+2],17,606105819),c=o(c,l,p,i,e[t+3],22,-1044525330),i=o(i,c,l,p,e[t+4],7,-176418897),p=o(p,i,c,l,e[t+5],12,1200080426),l=o(l,p,i,c,e[t+6],17,-1473231341),c=o(c,l,p,i,e[t+7],22,-45705983),i=o(i,c,l,p,e[t+8],7,1770035416),p=o(p,i,c,l,e[t+9],12,-1958414417),l=o(l,p,i,c,e[t+10],17,-42063),c=o(c,l,p,i,e[t+11],22,-1990404162),i=o(i,c,l,p,e[t+12],7,1804603682),p=o(p,i,c,l,e[t+13],12,-40341101),l=o(l,p,i,c,e[t+14],17,-1502002290),c=o(c,l,p,i,e[t+15],22,1236535329),i=s(i,c,l,p,e[t+1],5,-165796510),p=s(p,i,c,l,e[t+6],9,-1069501632),l=s(l,p,i,c,e[t+11],14,643717713),c=s(c,l,p,i,e[t],20,-373897302),i=s(i,c,l,p,e[t+5],5,-701558691),p=s(p,i,c,l,e[t+10],9,38016083),l=s(l,p,i,c,e[t+15],14,-660478335),c=s(c,l,p,i,e[t+4],20,-405537848),i=s(i,c,l,p,e[t+9],5,568446438),p=s(p,i,c,l,e[t+14],9,-1019803690),l=s(l,p,i,c,e[t+3],14,-187363961),c=s(c,l,p,i,e[t+8],20,1163531501),i=s(i,c,l,p,e[t+13],5,-1444681467),p=s(p,i,c,l,e[t+2],9,-51403784),l=s(l,p,i,c,e[t+7],14,1735328473),c=s(c,l,p,i,e[t+12],20,-1926607734),i=a(i,c,l,p,e[t+5],4,-378558),p=a(p,i,c,l,e[t+8],11,-2022574463),l=a(l,p,i,c,e[t+11],16,1839030562),c=a(c,l,p,i,e[t+14],23,-35309556),i=a(i,c,l,p,e[t+1],4,-1530992060),p=a(p,i,c,l,e[t+4],11,1272893353),l=a(l,p,i,c,e[t+7],16,-155497632),c=a(c,l,p,i,e[t+10],23,-1094730640),i=a(i,c,l,p,e[t+13],4,681279174),p=a(p,i,c,l,e[t],11,-358537222),l=a(l,p,i,c,e[t+3],16,-722521979),c=a(c,l,p,i,e[t+6],23,76029189),i=a(i,c,l,p,e[t+9],4,-640364487),p=a(p,i,c,l,e[t+12],11,-421815835),l=a(l,p,i,c,e[t+15],16,530742520),c=a(c,l,p,i,e[t+2],23,-995338651),i=u(i,c,l,p,e[t],6,-198630844),p=u(p,i,c,l,e[t+7],10,1126891415),l=u(l,p,i,c,e[t+14],15,-1416354905),c=u(c,l,p,i,e[t+5],21,-57434055),i=u(i,c,l,p,e[t+12],6,1700485571),p=u(p,i,c,l,e[t+3],10,-1894986606),l=u(l,p,i,c,e[t+10],15,-1051523),c=u(c,l,p,i,e[t+1],21,-2054922799),i=u(i,c,l,p,e[t+8],6,1873313359),p=u(p,i,c,l,e[t+15],10,-30611744),l=u(l,p,i,c,e[t+6],15,-1560198380),c=u(c,l,p,i,e[t+13],21,1309151649),i=u(i,c,l,p,e[t+4],6,-145523070),p=u(p,i,c,l,e[t+11],10,-1120210379),l=u(l,p,i,c,e[t+2],15,718787259),c=u(c,l,p,i,e[t+9],21,-343485551),i=n(i,r),c=n(c,f),l=n(l,h),p=n(p,d)}return[i,c,l,p]}(function(e){if(0===e.length)return[];const t=8*e.length,n=new Uint32Array(r(t));for(let r=0;r<t;r+=8)n[r>>5]|=(255&e[r/8])<<r%32;return n}(e),8*e.length))};t.default=c})),v3_1=createCommonjsModule((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=i(v35_1),n=i(md5_1);function i(e){return e&&e.__esModule?e:{default:e}}var o=(0,r.default)("v3",48,n.default);t.default=o})),native=createCommonjsModule((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r={randomUUID:"undefined"!=typeof crypto&&crypto.randomUUID&&crypto.randomUUID.bind(crypto)};t.default=r})),v4_1=createCommonjsModule((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=i(native),n=i(rng_1);function i(e){return e&&e.__esModule?e:{default:e}}var o=function(e,t,i){if(r.default.randomUUID&&!t&&!e)return r.default.randomUUID();const o=(e=e||{}).random||(e.rng||n.default)();if(o[6]=15&o[6]|64,o[8]=63&o[8]|128,t){i=i||0;for(let e=0;e<16;++e)t[i+e]=o[e];return t}return(0,stringify_1.unsafeStringify)(o)};t.default=o})),sha1_1=createCommonjsModule((function(e,t){function r(e,t,r,n){switch(e){case 0:return t&r^~t&n;case 1:case 3:return t^r^n;case 2:return t&r^t&n^r&n}}function n(e,t){return e<<t|e>>>32-t}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=function(e){const t=[1518500249,1859775393,2400959708,3395469782],i=[1732584193,4023233417,2562383102,271733878,3285377520];if("string"==typeof e){const t=unescape(encodeURIComponent(e));e=[];for(let r=0;r<t.length;++r)e.push(t.charCodeAt(r))}else Array.isArray(e)||(e=Array.prototype.slice.call(e));e.push(128);const o=e.length/4+2,s=Math.ceil(o/16),a=new Array(s);for(let t=0;t<s;++t){const r=new Uint32Array(16);for(let n=0;n<16;++n)r[n]=e[64*t+4*n]<<24|e[64*t+4*n+1]<<16|e[64*t+4*n+2]<<8|e[64*t+4*n+3];a[t]=r}a[s-1][14]=8*(e.length-1)/Math.pow(2,32),a[s-1][14]=Math.floor(a[s-1][14]),a[s-1][15]=8*(e.length-1)&4294967295;for(let e=0;e<s;++e){const o=new Uint32Array(80);for(let t=0;t<16;++t)o[t]=a[e][t];for(let e=16;e<80;++e)o[e]=n(o[e-3]^o[e-8]^o[e-14]^o[e-16],1);let s=i[0],u=i[1],c=i[2],l=i[3],p=i[4];for(let e=0;e<80;++e){const i=Math.floor(e/20),a=n(s,5)+r(i,u,c,l)+p+t[i]+o[e]>>>0;p=l,l=c,c=n(u,30)>>>0,u=s,s=a}i[0]=i[0]+s>>>0,i[1]=i[1]+u>>>0,i[2]=i[2]+c>>>0,i[3]=i[3]+l>>>0,i[4]=i[4]+p>>>0}return[i[0]>>24&255,i[0]>>16&255,i[0]>>8&255,255&i[0],i[1]>>24&255,i[1]>>16&255,i[1]>>8&255,255&i[1],i[2]>>24&255,i[2]>>16&255,i[2]>>8&255,255&i[2],i[3]>>24&255,i[3]>>16&255,i[3]>>8&255,255&i[3],i[4]>>24&255,i[4]>>16&255,i[4]>>8&255,255&i[4]]};t.default=i})),v5_1=createCommonjsModule((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=i(v35_1),n=i(sha1_1);function i(e){return e&&e.__esModule?e:{default:e}}var o=(0,r.default)("v5",80,n.default);t.default=o})),nil=createCommonjsModule((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default="00000000-0000-0000-0000-000000000000"})),version_1=createCommonjsModule((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,n=(r=validate_1)&&r.__esModule?r:{default:r};var i=function(e){if(!(0,n.default)(e))throw TypeError("Invalid UUID");return parseInt(e.slice(14,15),16)};t.default=i})),commonjsBrowser=createCommonjsModule((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"NIL",{enumerable:!0,get:function(){return s.default}}),Object.defineProperty(t,"parse",{enumerable:!0,get:function(){return l.default}}),Object.defineProperty(t,"stringify",{enumerable:!0,get:function(){return c.default}}),Object.defineProperty(t,"v1",{enumerable:!0,get:function(){return r.default}}),Object.defineProperty(t,"v3",{enumerable:!0,get:function(){return n.default}}),Object.defineProperty(t,"v4",{enumerable:!0,get:function(){return i.default}}),Object.defineProperty(t,"v5",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(t,"validate",{enumerable:!0,get:function(){return u.default}}),Object.defineProperty(t,"version",{enumerable:!0,get:function(){return a.default}});var r=p(v1_1),n=p(v3_1),i=p(v4_1),o=p(v5_1),s=p(nil),a=p(version_1),u=p(validate_1),c=p(stringify_1),l=p(parse_1);function p(e){return e&&e.__esModule?e:{default:e}}})),uuid_1=createCommonjsModule((function(e){e.exports.uuid=function(){return commonjsBrowser.v4()}})),lib={array:array$1,code:code,collection:collection,comparison:comparison$1,html:html_1,i18n:i18n,inflection:inflection,match:match,math:math$1,misc:misc,number:number$1,object:object$1,path:path_1,regex:regex$2,string:string$1,url:url_1,uuid:uuid_1},handlebarsHelpers=createCommonjsModule((function(e){e.exports=function(t,r){"string"==typeof t?t=[t]:Array.isArray(t)||(r=t,t=null);var n=(r=r||{}).handlebars||r.hbs||handlebars;if(e.exports.handlebars=n,t)t.forEach((function(e){n.registerHelper(lib[e])}));else for(const e in lib){const t=lib[e];n.registerHelper(t)}return n.helpers};for(const t in lib){const r=lib[t];e.exports[t]=function(t){var n=(t=t||{}).handlebars||t.hbs||handlebars;return e.exports.handlebars=n,n.registerHelper(r),r}}e.exports.utils=utils$2})),dayjs_min=createCommonjsModule((function(e,t){e.exports=function(){var e=1e3,t=6e4,r=36e5,n="millisecond",i="second",o="minute",s="hour",a="day",u="week",c="month",l="quarter",p="year",f="date",h="Invalid Date",d=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,g=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,m={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(e){var t=["th","st","nd","rd"],r=e%100;return"["+e+(t[(r-20)%10]||t[r]||t[0])+"]"}},y=function(e,t,r){var n=String(e);return!n||n.length>=t?e:""+Array(t+1-n.length).join(r)+e},v={s:y,z:function(e){var t=-e.utcOffset(),r=Math.abs(t),n=Math.floor(r/60),i=r%60;return(t<=0?"+":"-")+y(n,2,"0")+":"+y(i,2,"0")},m:function e(t,r){if(t.date()<r.date())return-e(r,t);var n=12*(r.year()-t.year())+(r.month()-t.month()),i=t.clone().add(n,c),o=r-i<0,s=t.clone().add(n+(o?-1:1),c);return+(-(n+(r-i)/(o?i-s:s-i))||0)},a:function(e){return e<0?Math.ceil(e)||0:Math.floor(e)},p:function(e){return{M:c,y:p,w:u,d:a,D:f,h:s,m:o,s:i,ms:n,Q:l}[e]||String(e||"").toLowerCase().replace(/s$/,"")},u:function(e){return void 0===e}},b="en",_={};_[b]=m;var A="$isDayjsObject",S=function(e){return e instanceof C||!(!e||!e[A])},w=function e(t,r,n){var i;if(!t)return b;if("string"==typeof t){var o=t.toLowerCase();_[o]&&(i=o),r&&(_[o]=r,i=o);var s=t.split("-");if(!i&&s.length>1)return e(s[0])}else{var a=t.name;_[a]=t,i=a}return!n&&i&&(b=i),i||!n&&b},x=function(e,t){if(S(e))return e.clone();var r="object"==typeof t?t:{};return r.date=e,r.args=arguments,new C(r)},E=v;E.l=w,E.i=S,E.w=function(e,t){return x(e,{locale:t.$L,utc:t.$u,x:t.$x,$offset:t.$offset})};var C=function(){function m(e){this.$L=w(e.locale,null,!0),this.parse(e),this.$x=this.$x||e.x||{},this[A]=!0}var y=m.prototype;return y.parse=function(e){this.$d=function(e){var t=e.date,r=e.utc;if(null===t)return new Date(NaN);if(E.u(t))return new Date;if(t instanceof Date)return new Date(t);if("string"==typeof t&&!/Z$/i.test(t)){var n=t.match(d);if(n){var i=n[2]-1||0,o=(n[7]||"0").substring(0,3);return r?new Date(Date.UTC(n[1],i,n[3]||1,n[4]||0,n[5]||0,n[6]||0,o)):new Date(n[1],i,n[3]||1,n[4]||0,n[5]||0,n[6]||0,o)}}return new Date(t)}(e),this.init()},y.init=function(){var e=this.$d;this.$y=e.getFullYear(),this.$M=e.getMonth(),this.$D=e.getDate(),this.$W=e.getDay(),this.$H=e.getHours(),this.$m=e.getMinutes(),this.$s=e.getSeconds(),this.$ms=e.getMilliseconds()},y.$utils=function(){return E},y.isValid=function(){return!(this.$d.toString()===h)},y.isSame=function(e,t){var r=x(e);return this.startOf(t)<=r&&r<=this.endOf(t)},y.isAfter=function(e,t){return x(e)<this.startOf(t)},y.isBefore=function(e,t){return this.endOf(t)<x(e)},y.$g=function(e,t,r){return E.u(e)?this[t]:this.set(r,e)},y.unix=function(){return Math.floor(this.valueOf()/1e3)},y.valueOf=function(){return this.$d.getTime()},y.startOf=function(e,t){var r=this,n=!!E.u(t)||t,l=E.p(e),h=function(e,t){var i=E.w(r.$u?Date.UTC(r.$y,t,e):new Date(r.$y,t,e),r);return n?i:i.endOf(a)},d=function(e,t){return E.w(r.toDate()[e].apply(r.toDate("s"),(n?[0,0,0,0]:[23,59,59,999]).slice(t)),r)},g=this.$W,m=this.$M,y=this.$D,v="set"+(this.$u?"UTC":"");switch(l){case p:return n?h(1,0):h(31,11);case c:return n?h(1,m):h(0,m+1);case u:var b=this.$locale().weekStart||0,_=(g<b?g+7:g)-b;return h(n?y-_:y+(6-_),m);case a:case f:return d(v+"Hours",0);case s:return d(v+"Minutes",1);case o:return d(v+"Seconds",2);case i:return d(v+"Milliseconds",3);default:return this.clone()}},y.endOf=function(e){return this.startOf(e,!1)},y.$set=function(e,t){var r,u=E.p(e),l="set"+(this.$u?"UTC":""),h=(r={},r[a]=l+"Date",r[f]=l+"Date",r[c]=l+"Month",r[p]=l+"FullYear",r[s]=l+"Hours",r[o]=l+"Minutes",r[i]=l+"Seconds",r[n]=l+"Milliseconds",r)[u],d=u===a?this.$D+(t-this.$W):t;if(u===c||u===p){var g=this.clone().set(f,1);g.$d[h](d),g.init(),this.$d=g.set(f,Math.min(this.$D,g.daysInMonth())).$d}else h&&this.$d[h](d);return this.init(),this},y.set=function(e,t){return this.clone().$set(e,t)},y.get=function(e){return this[E.p(e)]()},y.add=function(n,l){var f,h=this;n=Number(n);var d=E.p(l),g=function(e){var t=x(h);return E.w(t.date(t.date()+Math.round(e*n)),h)};if(d===c)return this.set(c,this.$M+n);if(d===p)return this.set(p,this.$y+n);if(d===a)return g(1);if(d===u)return g(7);var m=(f={},f[o]=t,f[s]=r,f[i]=e,f)[d]||1,y=this.$d.getTime()+n*m;return E.w(y,this)},y.subtract=function(e,t){return this.add(-1*e,t)},y.format=function(e){var t=this,r=this.$locale();if(!this.isValid())return r.invalidDate||h;var n=e||"YYYY-MM-DDTHH:mm:ssZ",i=E.z(this),o=this.$H,s=this.$m,a=this.$M,u=r.weekdays,c=r.months,l=r.meridiem,p=function(e,r,i,o){return e&&(e[r]||e(t,n))||i[r].slice(0,o)},f=function(e){return E.s(o%12||12,e,"0")},d=l||function(e,t,r){var n=e<12?"AM":"PM";return r?n.toLowerCase():n};return n.replace(g,(function(e,n){return n||function(e){switch(e){case"YY":return String(t.$y).slice(-2);case"YYYY":return E.s(t.$y,4,"0");case"M":return a+1;case"MM":return E.s(a+1,2,"0");case"MMM":return p(r.monthsShort,a,c,3);case"MMMM":return p(c,a);case"D":return t.$D;case"DD":return E.s(t.$D,2,"0");case"d":return String(t.$W);case"dd":return p(r.weekdaysMin,t.$W,u,2);case"ddd":return p(r.weekdaysShort,t.$W,u,3);case"dddd":return u[t.$W];case"H":return String(o);case"HH":return E.s(o,2,"0");case"h":return f(1);case"hh":return f(2);case"a":return d(o,s,!0);case"A":return d(o,s,!1);case"m":return String(s);case"mm":return E.s(s,2,"0");case"s":return String(t.$s);case"ss":return E.s(t.$s,2,"0");case"SSS":return E.s(t.$ms,3,"0");case"Z":return i}return null}(e)||i.replace(":","")}))},y.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},y.diff=function(n,f,h){var d,g=this,m=E.p(f),y=x(n),v=(y.utcOffset()-this.utcOffset())*t,b=this-y,_=function(){return E.m(g,y)};switch(m){case p:d=_()/12;break;case c:d=_();break;case l:d=_()/3;break;case u:d=(b-v)/6048e5;break;case a:d=(b-v)/864e5;break;case s:d=b/r;break;case o:d=b/t;break;case i:d=b/e;break;default:d=b}return h?d:E.a(d)},y.daysInMonth=function(){return this.endOf(c).$D},y.$locale=function(){return _[this.$L]},y.locale=function(e,t){if(!e)return this.$L;var r=this.clone(),n=w(e,t,!0);return n&&(r.$L=n),r},y.clone=function(){return E.w(this.$d,this)},y.toDate=function(){return new Date(this.valueOf())},y.toJSON=function(){return this.isValid()?this.toISOString():null},y.toISOString=function(){return this.$d.toISOString()},y.toString=function(){return this.$d.toUTCString()},m}(),R=C.prototype;return x.prototype=R,[["$ms",n],["$s",i],["$m",o],["$H",s],["$W",a],["$M",c],["$y",p],["$D",f]].forEach((function(e){R[e[1]]=function(t){return this.$g(t,e[0],e[1])}})),x.extend=function(e,t){return e.$i||(e(t,C,x),e.$i=!0),x},x.locale=w,x.isDayjs=S,x.unix=function(e){return x(1e3*e)},x.en=_[b],x.Ls=_,x.p={},x}()})),duration$1=createCommonjsModule((function(e,t){var r,n,i,o,s,a,u,c,l,p,f,h,d,g,m,y,v,b,_,A;e.exports=(u=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,p=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/,f={years:c=31536e6,months:l=2628e6,days:a=864e5,hours:s=36e5,minutes:o=6e4,seconds:i=1e3,milliseconds:1,weeks:6048e5},h=function(e){return e instanceof _},d=function(e,t,r){return new _(e,r,t.$l)},g=function(e){return n.p(e)+"s"},m=function(e){return e<0},y=function(e){return m(e)?Math.ceil(e):Math.floor(e)},v=function(e){return Math.abs(e)},b=function(e,t){return e?m(e)?{negative:!0,format:""+v(e)+t}:{negative:!1,format:""+e+t}:{negative:!1,format:""}},_=function(){function e(e,t,r){var n=this;if(this.$d={},this.$l=r,void 0===e&&(this.$ms=0,this.parseFromMilliseconds()),t)return d(e*f[g(t)],this);if("number"==typeof e)return this.$ms=e,this.parseFromMilliseconds(),this;if("object"==typeof e)return Object.keys(e).forEach((function(t){n.$d[g(t)]=e[t]})),this.calMilliseconds(),this;if("string"==typeof e){var i=e.match(p);if(i){var o=i.slice(2).map((function(e){return null!=e?Number(e):0}));return this.$d.years=o[0],this.$d.months=o[1],this.$d.weeks=o[2],this.$d.days=o[3],this.$d.hours=o[4],this.$d.minutes=o[5],this.$d.seconds=o[6],this.calMilliseconds(),this}}return this}var t=e.prototype;return t.calMilliseconds=function(){var e=this;this.$ms=Object.keys(this.$d).reduce((function(t,r){return t+(e.$d[r]||0)*f[r]}),0)},t.parseFromMilliseconds=function(){var e=this.$ms;this.$d.years=y(e/c),e%=c,this.$d.months=y(e/l),e%=l,this.$d.days=y(e/a),e%=a,this.$d.hours=y(e/s),e%=s,this.$d.minutes=y(e/o),e%=o,this.$d.seconds=y(e/i),e%=i,this.$d.milliseconds=e},t.toISOString=function(){var e=b(this.$d.years,"Y"),t=b(this.$d.months,"M"),r=+this.$d.days||0;this.$d.weeks&&(r+=7*this.$d.weeks);var n=b(r,"D"),i=b(this.$d.hours,"H"),o=b(this.$d.minutes,"M"),s=this.$d.seconds||0;this.$d.milliseconds&&(s+=this.$d.milliseconds/1e3,s=Math.round(1e3*s)/1e3);var a=b(s,"S"),u=e.negative||t.negative||n.negative||i.negative||o.negative||a.negative,c=i.format||o.format||a.format?"T":"",l=(u?"-":"")+"P"+e.format+t.format+n.format+c+i.format+o.format+a.format;return"P"===l||"-P"===l?"P0D":l},t.toJSON=function(){return this.toISOString()},t.format=function(e){var t=e||"YYYY-MM-DDTHH:mm:ss",r={Y:this.$d.years,YY:n.s(this.$d.years,2,"0"),YYYY:n.s(this.$d.years,4,"0"),M:this.$d.months,MM:n.s(this.$d.months,2,"0"),D:this.$d.days,DD:n.s(this.$d.days,2,"0"),H:this.$d.hours,HH:n.s(this.$d.hours,2,"0"),m:this.$d.minutes,mm:n.s(this.$d.minutes,2,"0"),s:this.$d.seconds,ss:n.s(this.$d.seconds,2,"0"),SSS:n.s(this.$d.milliseconds,3,"0")};return t.replace(u,(function(e,t){return t||String(r[e])}))},t.as=function(e){return this.$ms/f[g(e)]},t.get=function(e){var t=this.$ms,r=g(e);return"milliseconds"===r?t%=1e3:t="weeks"===r?y(t/f[r]):this.$d[r],t||0},t.add=function(e,t,r){var n;return n=t?e*f[g(t)]:h(e)?e.$ms:d(e,this).$ms,d(this.$ms+n*(r?-1:1),this)},t.subtract=function(e,t){return this.add(e,t,!0)},t.locale=function(e){var t=this.clone();return t.$l=e,t},t.clone=function(){return d(this.$ms,this)},t.humanize=function(e){return r().add(this.$ms,"ms").locale(this.$l).fromNow(!e)},t.valueOf=function(){return this.asMilliseconds()},t.milliseconds=function(){return this.get("milliseconds")},t.asMilliseconds=function(){return this.as("milliseconds")},t.seconds=function(){return this.get("seconds")},t.asSeconds=function(){return this.as("seconds")},t.minutes=function(){return this.get("minutes")},t.asMinutes=function(){return this.as("minutes")},t.hours=function(){return this.get("hours")},t.asHours=function(){return this.as("hours")},t.days=function(){return this.get("days")},t.asDays=function(){return this.as("days")},t.weeks=function(){return this.get("weeks")},t.asWeeks=function(){return this.as("weeks")},t.months=function(){return this.get("months")},t.asMonths=function(){return this.as("months")},t.years=function(){return this.get("years")},t.asYears=function(){return this.as("years")},e}(),A=function(e,t,r){return e.add(t.years()*r,"y").add(t.months()*r,"M").add(t.days()*r,"d").add(t.hours()*r,"h").add(t.minutes()*r,"m").add(t.seconds()*r,"s").add(t.milliseconds()*r,"ms")},function(e,t,i){r=i,n=i().$utils(),i.duration=function(e,t){var r=i.locale();return d(e,{$l:r},t)},i.isDuration=h;var o=t.prototype.add,s=t.prototype.subtract;t.prototype.add=function(e,t){return h(e)?A(this,e,1):o.bind(this)(e,t)},t.prototype.subtract=function(e,t){return h(e)?A(this,e,-1):s.bind(this)(e,t)}})})),advancedFormat=createCommonjsModule((function(e,t){e.exports=function(e,t){var r=t.prototype,n=r.format;r.format=function(e){var t=this,r=this.$locale();if(!this.isValid())return n.bind(this)(e);var i=this.$utils(),o=(e||"YYYY-MM-DDTHH:mm:ssZ").replace(/\[([^\]]+)]|Q|wo|ww|w|WW|W|zzz|z|gggg|GGGG|Do|X|x|k{1,2}|S/g,(function(e){switch(e){case"Q":return Math.ceil((t.$M+1)/3);case"Do":return r.ordinal(t.$D);case"gggg":return t.weekYear();case"GGGG":return t.isoWeekYear();case"wo":return r.ordinal(t.week(),"W");case"w":case"ww":return i.s(t.week(),"w"===e?1:2,"0");case"W":case"WW":return i.s(t.isoWeek(),"W"===e?1:2,"0");case"k":case"kk":return i.s(String(0===t.$H?24:t.$H),"k"===e?1:2,"0");case"X":return Math.floor(t.$d.getTime()/1e3);case"x":return t.$d.getTime();case"z":return"["+t.offsetName()+"]";case"zzz":return"["+t.offsetName("long")+"]";default:return e}}));return n.bind(this)(o)}}})),isoWeek=createCommonjsModule((function(e,t){var r;e.exports=(r="day",function(e,t,n){var i=function(e){return e.add(4-e.isoWeekday(),r)},o=t.prototype;o.isoWeekYear=function(){return i(this).year()},o.isoWeek=function(e){if(!this.$utils().u(e))return this.add(7*(e-this.isoWeek()),r);var t,o,s,a=i(this),u=(t=this.isoWeekYear(),s=4-(o=(this.$u?n.utc:n)().year(t).startOf("year")).isoWeekday(),o.isoWeekday()>4&&(s+=7),o.add(s,r));return a.diff(u,"week")+1},o.isoWeekday=function(e){return this.$utils().u(e)?this.day()||7:this.day(this.day()%7?e:e-7)};var s=o.startOf;o.startOf=function(e,t){var r=this.$utils(),n=!!r.u(t)||t;return"isoweek"===r.p(e)?n?this.date(this.date()-(this.isoWeekday()-1)).startOf("day"):this.date(this.date()-1-(this.isoWeekday()-1)+7).endOf("day"):s.bind(this)(e,t)}})})),weekYear=createCommonjsModule((function(e,t){e.exports=function(e,t){t.prototype.weekYear=function(){var e=this.month(),t=this.week(),r=this.year();return 1===t&&11===e?r+1:0===e&&t>=52?r-1:r}}})),weekOfYear=createCommonjsModule((function(e,t){var r,n;e.exports=(r="week",n="year",function(e,t,i){var o=t.prototype;o.week=function(e){if(void 0===e&&(e=null),null!==e)return this.add(7*(e-this.week()),"day");var t=this.$locale().yearStart||1;if(11===this.month()&&this.date()>25){var o=i(this).startOf(n).add(1,n).date(t),s=i(this).endOf(r);if(o.isBefore(s))return 1}var a=i(this).startOf(n).date(t).startOf(r).subtract(1,"millisecond"),u=this.diff(a,r,!0);return u<0?i(this).startOf("week").week():Math.ceil(u)},o.weeks=function(e){return void 0===e&&(e=null),this.week(e)}})})),relativeTime=createCommonjsModule((function(e,t){e.exports=function(e,t,r){e=e||{};var n=t.prototype,i={future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"};function o(e,t,r,i){return n.fromToBase(e,t,r,i)}r.en.relativeTime=i,n.fromToBase=function(t,n,o,s,a){for(var u,c,l,p=o.$locale().relativeTime||i,f=e.thresholds||[{l:"s",r:44,d:"second"},{l:"m",r:89},{l:"mm",r:44,d:"minute"},{l:"h",r:89},{l:"hh",r:21,d:"hour"},{l:"d",r:35},{l:"dd",r:25,d:"day"},{l:"M",r:45},{l:"MM",r:10,d:"month"},{l:"y",r:17},{l:"yy",d:"year"}],h=f.length,d=0;d<h;d+=1){var g=f[d];g.d&&(u=s?r(t).diff(o,g.d,!0):o.diff(t,g.d,!0));var m=(e.rounding||Math.round)(Math.abs(u));if(l=u>0,m<=g.r||!g.r){m<=1&&d>0&&(g=f[d-1]);var y=p[g.l];a&&(m=a(""+m)),c="string"==typeof y?y.replace("%d",m):y(m,n,g.l,l);break}}if(n)return c;var v=l?p.future:p.past;return"function"==typeof v?v(c):v.replace("%s",c)},n.to=function(e,t){return o(e,t,this,!0)},n.from=function(e,t){return o(e,t,this)};var s=function(e){return e.$u?r.utc():r()};n.toNow=function(e){return this.to(s(this),e)},n.fromNow=function(e){return this.from(s(this),e)}}})),utc=createCommonjsModule((function(e,t){var r,n,i;e.exports=(r="minute",n=/[+-]\d\d(?::?\d\d)?/g,i=/([+-]|\d\d)/g,function(e,t,o){var s=t.prototype;o.utc=function(e){return new t({date:e,utc:!0,args:arguments})},s.utc=function(e){var t=o(this.toDate(),{locale:this.$L,utc:!0});return e?t.add(this.utcOffset(),r):t},s.local=function(){return o(this.toDate(),{locale:this.$L,utc:!1})};var a=s.parse;s.parse=function(e){e.utc&&(this.$u=!0),this.$utils().u(e.$offset)||(this.$offset=e.$offset),a.call(this,e)};var u=s.init;s.init=function(){if(this.$u){var e=this.$d;this.$y=e.getUTCFullYear(),this.$M=e.getUTCMonth(),this.$D=e.getUTCDate(),this.$W=e.getUTCDay(),this.$H=e.getUTCHours(),this.$m=e.getUTCMinutes(),this.$s=e.getUTCSeconds(),this.$ms=e.getUTCMilliseconds()}else u.call(this)};var c=s.utcOffset;s.utcOffset=function(e,t){var o=this.$utils().u;if(o(e))return this.$u?0:o(this.$offset)?c.call(this):this.$offset;if("string"==typeof e&&(e=function(e){void 0===e&&(e="");var t=e.match(n);if(!t)return null;var r=(""+t[0]).match(i)||["-",0,0],o=r[0],s=60*+r[1]+ +r[2];return 0===s?0:"+"===o?s:-s}(e),null===e))return this;var s=Math.abs(e)<=16?60*e:e,a=this;if(t)return a.$offset=s,a.$u=0===e,a;if(0!==e){var u=this.$u?this.toDate().getTimezoneOffset():-1*this.utcOffset();(a=this.local().add(s+u,r)).$offset=s,a.$x.$localOffset=u}else a=this.utc();return a};var l=s.format;s.format=function(e){var t=e||(this.$u?"YYYY-MM-DDTHH:mm:ss[Z]":"");return l.call(this,t)},s.valueOf=function(){var e=this.$utils().u(this.$offset)?0:this.$offset+(this.$x.$localOffset||this.$d.getTimezoneOffset());return this.$d.valueOf()-6e4*e},s.isUTC=function(){return!!this.$u},s.toISOString=function(){return this.toDate().toISOString()},s.toString=function(){return this.toDate().toUTCString()};var p=s.toDate;s.toDate=function(e){return"s"===e&&this.$offset?o(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate():p.call(this)};var f=s.diff;s.diff=function(e,t,r){if(e&&this.$u===e.$u)return f.call(this,e,t,r);var n=this.local(),i=o(e).local();return f.call(n,i,t,r)}})})),timezone=createCommonjsModule((function(e,t){var r,n;e.exports=(r={year:0,month:1,day:2,hour:3,minute:4,second:5},n={},function(e,t,i){var o,s=function(e,t,r){void 0===r&&(r={});var i=new Date(e),o=function(e,t){void 0===t&&(t={});var r=t.timeZoneName||"short",i=e+"|"+r,o=n[i];return o||(o=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",timeZoneName:r}),n[i]=o),o}(t,r);return o.formatToParts(i)},a=function(e,t){for(var n=s(e,t),o=[],a=0;a<n.length;a+=1){var u=n[a],c=u.type,l=u.value,p=r[c];p>=0&&(o[p]=parseInt(l,10))}var f=o[3],h=24===f?0:f,d=o[0]+"-"+o[1]+"-"+o[2]+" "+h+":"+o[4]+":"+o[5]+":000",g=+e;return(i.utc(d).valueOf()-(g-=g%1e3))/6e4},u=t.prototype;u.tz=function(e,t){void 0===e&&(e=o);var r,n=this.utcOffset(),s=this.toDate(),a=s.toLocaleString("en-US",{timeZone:e}),u=Math.round((s-new Date(a))/1e3/60),c=15*-Math.round(s.getTimezoneOffset()/15)-u;if(Number(c)){if(r=i(a,{locale:this.$L}).$set("millisecond",this.$ms).utcOffset(c,!0),t){var l=r.utcOffset();r=r.add(n-l,"minute")}}else r=this.utcOffset(0,t);return r.$x.$timezone=e,r},u.offsetName=function(e){var t=this.$x.$timezone||i.tz.guess(),r=s(this.valueOf(),t,{timeZoneName:e}).find((function(e){return"timezonename"===e.type.toLowerCase()}));return r&&r.value};var c=u.startOf;u.startOf=function(e,t){if(!this.$x||!this.$x.$timezone)return c.call(this,e,t);var r=i(this.format("YYYY-MM-DD HH:mm:ss:SSS"),{locale:this.$L});return c.call(r,e,t).tz(this.$x.$timezone,!0)},i.tz=function(e,t,r){var n=r&&t,s=r||t||o,u=a(+i(),s);if("string"!=typeof e)return i(e).tz(s);var c=function(e,t,r){var n=e-60*t*1e3,i=a(n,r);if(t===i)return[n,t];var o=a(n-=60*(i-t)*1e3,r);return i===o?[n,i]:[e-60*Math.min(i,o)*1e3,Math.max(i,o)]}(i.utc(e,n).valueOf(),u,s),l=c[0],p=c[1],f=i(l).utcOffset(p);return f.$x.$timezone=s,f},i.tz.guess=function(){return Intl.DateTimeFormat().resolvedOptions().timeZone},i.tz.setDefault=function(e){o=e}})}));function isOptions(e){return"object"==typeof e&&"object"==typeof e.hash}function isApp(e){return"object"==typeof e&&"object"==typeof e.options&&"object"==typeof e.app}function getContext(e,t,r){if(isOptions(e))return getContext({},t,e);if(isOptions(t))return getContext(e,r,t);const n=isApp(e)?e.context:{};isOptions(r=r||{})||(t=Object.assign({},t,r)),isOptions(r)&&!0===r.hash.root&&(t=Object.assign({},r.data.root,t));let i=Object.assign({},n,t,r.hash);return isApp(e)||(i=Object.assign({},e,i)),isApp(e)&&e.view&&e.view.data&&(i=Object.assign({},i,e.view.data)),i}function initialConfig(e,t,r){return isOptions(t)&&(r=t,t=null),isOptions(e)&&(r=e,t=null,e=null),{str:e,pattern:t,options:r}}function setLocale(e,t,r){const n=initialConfig(e,t,r),i=getContext(this,{lang:"en",date:new Date(n.str)},{});dayjs_min.locale(i.lang||i.language)}dayjs_min.extend(duration$1),dayjs_min.extend(advancedFormat),dayjs_min.extend(isoWeek),dayjs_min.extend(weekYear),dayjs_min.extend(weekOfYear),dayjs_min.extend(relativeTime),dayjs_min.extend(utc),dayjs_min.extend(timezone);const date$1=(e,t,r)=>{const n=initialConfig(e,t,r);if(null==n.str&&null==n.pattern)return dayjs_min.locale("en"),dayjs_min().format("MMMM DD, YYYY");setLocale(n.str,n.pattern,n.options);let i=dayjs_min(new Date(n.str));return i="string"==typeof n.options?"utc"===n.options.toLowerCase()?i.utc():i.tz(n.options):i.tz(dayjs_min.tz.guess()),""===n.pattern?i.toISOString():i.format(n.pattern)},duration=(e,t,r)=>{const n=initialConfig(e,t);setLocale(n.str,n.pattern);const i=dayjs_min.duration(n.str,n.pattern);return r&&!isOptions(r)?i.format(r):i.humanize()},HelperFunctionBuiltin=["#if","#unless","#each","#with","lookup","log","blockHelperMissing","each","helperMissing","if","unless","log","lookup","with"],EXTERNAL_FUNCTION_COLLECTIONS=["math","array","number","url","string","comparison","object","regex","uuid"],HelperFunctionNames={OBJECT:"object",ALL:"all",LITERAL:"literal",JS:"js"},LITERAL_MARKER="%LITERAL%",ADDED_HELPERS={date:date$1,duration:duration};function registerAll$1(e){for(let[t,r]of Object.entries(ADDED_HELPERS))e.registerHelper(t,r);let t=[];for(let r of EXTERNAL_FUNCTION_COLLECTIONS){let n=handlebarsHelpers[r]();for(let e of Object.entries(n)){const r=e[0];-1===HelperFunctionBuiltin.indexOf(r)&&-1===t.indexOf(r)&&t.push(r)}handlebarsHelpers[r]({handlebars:e})}externalHelperNames=t.concat(Object.keys(ADDED_HELPERS))}let externalHelperNames=[];function isJest(){return"jest"===browser.env.NODE_ENV||null!=browser.env.JEST_WORKER_ID&&"null"!==browser.env.JEST_WORKER_ID}function isTest(){return isJest()}const isTestingBackendJS=()=>browser&&browser.env.BACKEND_JS,setTestingBackendJS=()=>{browser.env.BACKEND_JS="1"},ALPHA_NUMERIC_REGEX=/^[A-Za-z0-9]+$/g,FIND_HBS_REGEX=/{{([^{].*?)}}/g,FIND_ANY_HBS_REGEX=/{?{{([^{].*?)}}}?/g,FIND_TRIPLE_HBS_REGEX=/{{{([^{].*?)}}}/g,isBackendService=()=>!(!isTest()||!isTestingBackendJS())||!isTest()&&"undefined"==typeof window,isJSAllowed=()=>browser&&!browser.env.NO_JS,findDoubleHbsInstances=e=>{let t=e;const r=new RegExp(FIND_HBS_REGEX),n=new RegExp(FIND_TRIPLE_HBS_REGEX),i=t.match(n);i&&i.forEach((e=>{t=t.replace(e,"")}));const o=t.match(r);return o||[]},isAlphaNumeric=e=>e.match(ALPHA_NUMERIC_REGEX),swapStrings=(e,t,r,n)=>e.slice(0,t)+n+e.slice(t+r),btoa=e=>Buffer.from(e,"utf-8").toString("base64"),atob=e=>Buffer.from(e,"base64").toString("utf-8"),prefixStrings=(e,t,r)=>{const n=t.map((e=>e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&"))),i=new RegExp(`\\b(${n.join("|")})\\b`,"g");return e.replace(i,`${r}$1`)};function frontendWrapJS(e){return`\n result = {\n result: null,\n error: null,\n };\n\n try {\n result.result = ${e};\n } catch (e) {\n result.error = e;\n }\n\n result;\n `}const externalCollections={math:math$1,array:array$1,number:number$1,url:url_1,string:string$1,comparison:comparison$1,object:object$1,regex:regex$2,uuid:uuid_1},helpersToRemoveForJs=["sortBy"],addedHelpers={date:date$1,duration:duration};let helpers;function getJsHelperList(){if(helpers)return helpers;helpers={};for(let e of Object.values(externalCollections))for(let[t,r]of Object.entries(e))helpers[t]=(...e)=>r(...e,{});helpers=Object.assign(Object.assign({},helpers),addedHelpers);for(const e of helpersToRemoveForJs)delete helpers[e];return Object.freeze(helpers),helpers}const iifeWrapper=e=>`(function(){\n${e}\n})();`;class JsTimeoutError extends Error{constructor(){super(JsTimeoutError.message),this.code=JsTimeoutError.code}}JsTimeoutError.message="Timed out while executing JS",JsTimeoutError.code="JS_TIMEOUT_ERROR";class UserScriptError extends Error{constructor(e){super(`error while running user-supplied JavaScript: ${e.toString()}`),this.userScriptError=e,this.code=UserScriptError.code}}UserScriptError.code="USER_SCRIPT_ERROR";
|
38
|
+
*/const isObject$2=e=>null!==e&&"object"==typeof e&&!Array.isArray(e),transform=e=>t=>!0===e?Number(t):String(t),isValidValue=e=>"number"==typeof e||"string"==typeof e&&""!==e,isNumber=e=>Number.isInteger(+e),zeros=e=>{let t=`${e}`,r=-1;if("-"===t[0]&&(t=t.slice(1)),"0"===t)return!1;for(;"0"===t[++r];);return r>0},stringify$1=(e,t,r)=>"string"==typeof e||"string"==typeof t||!0===r.stringify,pad=(e,t,r)=>{if(t>0){let r="-"===e[0]?"-":"";r&&(e=e.slice(1)),e=r+e.padStart(r?t-1:t,"0")}return!1===r?String(e):e},toMaxLen=(e,t)=>{let r="-"===e[0]?"-":"";for(r&&(e=e.slice(1),t--);e.length<t;)e="0"+e;return r?"-"+e:e},toSequence=(e,t,r)=>{e.negatives.sort(((e,t)=>e<t?-1:e>t?1:0)),e.positives.sort(((e,t)=>e<t?-1:e>t?1:0));let n,i=t.capture?"":"?:",o="",s="";return e.positives.length&&(o=e.positives.map((e=>toMaxLen(String(e),r))).join("|")),e.negatives.length&&(s=`-(${i}${e.negatives.map((e=>toMaxLen(String(e),r))).join("|")})`),n=o&&s?`${o}|${s}`:o||s,t.wrap?`(${i}${n})`:n},toRange=(e,t,r,n)=>{if(r)return toRegexRange_1(e,t,{wrap:!1,...n});let i=String.fromCharCode(e);return e===t?i:`[${i}-${String.fromCharCode(t)}]`},toRegex=(e,t,r)=>{if(Array.isArray(e)){let t=!0===r.wrap,n=r.capture?"":"?:";return t?`(${n}${e.join("|")})`:e.join("|")}return toRegexRange_1(e,t,r)},rangeError=(...e)=>new RangeError("Invalid range arguments: "+util.inspect(...e)),invalidRange=(e,t,r)=>{if(!0===r.strictRanges)throw rangeError([e,t]);return[]},invalidStep=(e,t)=>{if(!0===t.strictRanges)throw new TypeError(`Expected step "${e}" to be a number`);return[]},fillNumbers=(e,t,r=1,n={})=>{let i=Number(e),o=Number(t);if(!Number.isInteger(i)||!Number.isInteger(o)){if(!0===n.strictRanges)throw rangeError([e,t]);return[]}0===i&&(i=0),0===o&&(o=0);let s=i>o,a=String(e),u=String(t),c=String(r);r=Math.max(Math.abs(r),1);let l=zeros(a)||zeros(u)||zeros(c),p=l?Math.max(a.length,u.length,c.length):0,f=!1===l&&!1===stringify$1(e,t,n),h=n.transform||transform(f);if(n.toRegex&&1===r)return toRange(toMaxLen(e,p),toMaxLen(t,p),!0,n);let d={negatives:[],positives:[]},g=[],m=0;for(;s?i>=o:i<=o;)!0===n.toRegex&&r>1?d[(y=i)<0?"negatives":"positives"].push(Math.abs(y)):g.push(pad(h(i,m),p,f)),i=s?i-r:i+r,m++;var y;return!0===n.toRegex?r>1?toSequence(d,n,p):toRegex(g,null,{wrap:!1,...n}):g},fillLetters=(e,t,r=1,n={})=>{if(!isNumber(e)&&e.length>1||!isNumber(t)&&t.length>1)return invalidRange(e,t,n);let i=n.transform||(e=>String.fromCharCode(e)),o=`${e}`.charCodeAt(0),s=`${t}`.charCodeAt(0),a=o>s,u=Math.min(o,s),c=Math.max(o,s);if(n.toRegex&&1===r)return toRange(u,c,!1,n);let l=[],p=0;for(;a?o>=s:o<=s;)l.push(i(o,p)),o=a?o-r:o+r,p++;return!0===n.toRegex?toRegex(l,null,{wrap:!1,options:n}):l},fill=(e,t,r,n={})=>{if(null==t&&isValidValue(e))return[e];if(!isValidValue(e)||!isValidValue(t))return invalidRange(e,t,n);if("function"==typeof r)return fill(e,t,1,{transform:r});if(isObject$2(r))return fill(e,t,0,r);let i={...n};return!0===i.capture&&(i.wrap=!0),r=r||i.step||1,isNumber(r)?isNumber(e)&&isNumber(t)?fillNumbers(e,t,r,i):fillLetters(e,t,Math.max(Math.abs(r),1),i):null==r||isObject$2(r)?fill(e,t,1,r):invalidStep(r,i)};var fillRange=fill;const compile=(e,t={})=>{const r=(e,n={})=>{const i=utils$1.isInvalidBrace(n),o=!0===e.invalid&&!0===t.escapeInvalid,s=!0===i||!0===o,a=!0===t.escapeInvalid?"\\":"";let u="";if(!0===e.isOpen)return a+e.value;if(!0===e.isClose)return console.log("node.isClose",a,e.value),a+e.value;if("open"===e.type)return s?a+e.value:"(";if("close"===e.type)return s?a+e.value:")";if("comma"===e.type)return"comma"===e.prev.type?"":s?e.value:"|";if(e.value)return e.value;if(e.nodes&&e.ranges>0){const r=utils$1.reduce(e.nodes),n=fillRange(...r,{...t,wrap:!1,toRegex:!0,strictZeros:!0});if(0!==n.length)return r.length>1&&n.length>1?`(${n})`:n}if(e.nodes)for(const t of e.nodes)u+=r(t,e);return u};return r(e)};var compile_1=compile;const append=(e="",t="",r=!1)=>{const n=[];if(e=[].concat(e),!(t=[].concat(t)).length)return e;if(!e.length)return r?utils$1.flatten(t).map((e=>`{${e}}`)):t;for(const i of e)if(Array.isArray(i))for(const e of i)n.push(append(e,t,r));else for(let e of t)!0===r&&"string"==typeof e&&(e=`{${e}}`),n.push(Array.isArray(e)?append(i,e,r):i+e);return utils$1.flatten(n)},expand=(e,t={})=>{const r=void 0===t.rangeLimit?1e3:t.rangeLimit,n=(e,i={})=>{e.queue=[];let o=i,s=i.queue;for(;"brace"!==o.type&&"root"!==o.type&&o.parent;)o=o.parent,s=o.queue;if(e.invalid||e.dollar)return void s.push(append(s.pop(),stringify$2(e,t)));if("brace"===e.type&&!0!==e.invalid&&2===e.nodes.length)return void s.push(append(s.pop(),["{}"]));if(e.nodes&&e.ranges>0){const n=utils$1.reduce(e.nodes);if(utils$1.exceedsLimit(...n,t.step,r))throw new RangeError("expanded array length exceeds range limit. Use options.rangeLimit to increase or disable the limit.");let i=fillRange(...n,t);return 0===i.length&&(i=stringify$2(e,t)),s.push(append(s.pop(),i)),void(e.nodes=[])}const a=utils$1.encloseBrace(e);let u=e.queue,c=e;for(;"brace"!==c.type&&"root"!==c.type&&c.parent;)c=c.parent,u=c.queue;for(let t=0;t<e.nodes.length;t++){const r=e.nodes[t];"comma"!==r.type||"brace"!==e.type?"close"!==r.type?r.value&&"open"!==r.type?u.push(append(u.pop(),r.value)):r.nodes&&n(r,e):s.push(append(s.pop(),u,a)):(1===t&&u.push(""),u.push(""))}return u};return utils$1.flatten(n(e))};var expand_1=expand,constants$1={MAX_LENGTH:1e4,CHAR_0:"0",CHAR_9:"9",CHAR_UPPERCASE_A:"A",CHAR_LOWERCASE_A:"a",CHAR_UPPERCASE_Z:"Z",CHAR_LOWERCASE_Z:"z",CHAR_LEFT_PARENTHESES:"(",CHAR_RIGHT_PARENTHESES:")",CHAR_ASTERISK:"*",CHAR_AMPERSAND:"&",CHAR_AT:"@",CHAR_BACKSLASH:"\\",CHAR_BACKTICK:"`",CHAR_CARRIAGE_RETURN:"\r",CHAR_CIRCUMFLEX_ACCENT:"^",CHAR_COLON:":",CHAR_COMMA:",",CHAR_DOLLAR:"$",CHAR_DOT:".",CHAR_DOUBLE_QUOTE:'"',CHAR_EQUAL:"=",CHAR_EXCLAMATION_MARK:"!",CHAR_FORM_FEED:"\f",CHAR_FORWARD_SLASH:"/",CHAR_HASH:"#",CHAR_HYPHEN_MINUS:"-",CHAR_LEFT_ANGLE_BRACKET:"<",CHAR_LEFT_CURLY_BRACE:"{",CHAR_LEFT_SQUARE_BRACKET:"[",CHAR_LINE_FEED:"\n",CHAR_NO_BREAK_SPACE:" ",CHAR_PERCENT:"%",CHAR_PLUS:"+",CHAR_QUESTION_MARK:"?",CHAR_RIGHT_ANGLE_BRACKET:">",CHAR_RIGHT_CURLY_BRACE:"}",CHAR_RIGHT_SQUARE_BRACKET:"]",CHAR_SEMICOLON:";",CHAR_SINGLE_QUOTE:"'",CHAR_SPACE:" ",CHAR_TAB:"\t",CHAR_UNDERSCORE:"_",CHAR_VERTICAL_LINE:"|",CHAR_ZERO_WIDTH_NOBREAK_SPACE:"\ufeff"};const{MAX_LENGTH:MAX_LENGTH$1,CHAR_BACKSLASH:CHAR_BACKSLASH,CHAR_BACKTICK:CHAR_BACKTICK,CHAR_COMMA:CHAR_COMMA$1,CHAR_DOT:CHAR_DOT$1,CHAR_LEFT_PARENTHESES:CHAR_LEFT_PARENTHESES$1,CHAR_RIGHT_PARENTHESES:CHAR_RIGHT_PARENTHESES$1,CHAR_LEFT_CURLY_BRACE:CHAR_LEFT_CURLY_BRACE$1,CHAR_RIGHT_CURLY_BRACE:CHAR_RIGHT_CURLY_BRACE$1,CHAR_LEFT_SQUARE_BRACKET:CHAR_LEFT_SQUARE_BRACKET$1,CHAR_RIGHT_SQUARE_BRACKET:CHAR_RIGHT_SQUARE_BRACKET$1,CHAR_DOUBLE_QUOTE:CHAR_DOUBLE_QUOTE,CHAR_SINGLE_QUOTE:CHAR_SINGLE_QUOTE,CHAR_NO_BREAK_SPACE:CHAR_NO_BREAK_SPACE,CHAR_ZERO_WIDTH_NOBREAK_SPACE:CHAR_ZERO_WIDTH_NOBREAK_SPACE}=constants$1,parse$3=(e,t={})=>{if("string"!=typeof e)throw new TypeError("Expected a string");const r=t||{},n="number"==typeof r.maxLength?Math.min(MAX_LENGTH$1,r.maxLength):MAX_LENGTH$1;if(e.length>n)throw new SyntaxError(`Input length (${e.length}), exceeds max characters (${n})`);const i={type:"root",input:e,nodes:[]},o=[i];let s=i,a=i,u=0;const c=e.length;let l,p=0,f=0;const h=()=>e[p++],d=e=>{if("text"===e.type&&"dot"===a.type&&(a.type="text"),!a||"text"!==a.type||"text"!==e.type)return s.nodes.push(e),e.parent=s,e.prev=a,a=e,e;a.value+=e.value};for(d({type:"bos"});p<c;)if(s=o[o.length-1],l=h(),l!==CHAR_ZERO_WIDTH_NOBREAK_SPACE&&l!==CHAR_NO_BREAK_SPACE)if(l!==CHAR_BACKSLASH)if(l!==CHAR_RIGHT_SQUARE_BRACKET$1)if(l!==CHAR_LEFT_SQUARE_BRACKET$1)if(l!==CHAR_LEFT_PARENTHESES$1)if(l!==CHAR_RIGHT_PARENTHESES$1)if(l!==CHAR_DOUBLE_QUOTE&&l!==CHAR_SINGLE_QUOTE&&l!==CHAR_BACKTICK)if(l!==CHAR_LEFT_CURLY_BRACE$1)if(l!==CHAR_RIGHT_CURLY_BRACE$1)if(l===CHAR_COMMA$1&&f>0){if(s.ranges>0){s.ranges=0;const e=s.nodes.shift();s.nodes=[e,{type:"text",value:stringify$2(s)}]}d({type:"comma",value:l}),s.commas++}else if(l===CHAR_DOT$1&&f>0&&0===s.commas){const e=s.nodes;if(0===f||0===e.length){d({type:"text",value:l});continue}if("dot"===a.type){if(s.range=[],a.value+=l,a.type="range",3!==s.nodes.length&&5!==s.nodes.length){s.invalid=!0,s.ranges=0,a.type="text";continue}s.ranges++,s.args=[];continue}if("range"===a.type){e.pop();const t=e[e.length-1];t.value+=a.value+l,a=t,s.ranges--;continue}d({type:"dot",value:l})}else d({type:"text",value:l});else{if("brace"!==s.type){d({type:"text",value:l});continue}const e="close";s=o.pop(),s.close=!0,d({type:e,value:l}),f--,s=o[o.length-1]}else{f++;const e=a.value&&"$"===a.value.slice(-1)||!0===s.dollar;s=d({type:"brace",open:!0,close:!1,dollar:e,depth:f,commas:0,ranges:0,nodes:[]}),o.push(s),d({type:"open",value:l})}else{const e=l;let r;for(!0!==t.keepQuotes&&(l="");p<c&&(r=h());)if(r!==CHAR_BACKSLASH){if(r===e){!0===t.keepQuotes&&(l+=r);break}l+=r}else l+=r+h();d({type:"text",value:l})}else{if("paren"!==s.type){d({type:"text",value:l});continue}s=o.pop(),d({type:"text",value:l}),s=o[o.length-1]}else s=d({type:"paren",nodes:[]}),o.push(s),d({type:"text",value:l});else{let e;for(u++;p<c&&(e=h());)if(l+=e,e!==CHAR_LEFT_SQUARE_BRACKET$1)if(e!==CHAR_BACKSLASH){if(e===CHAR_RIGHT_SQUARE_BRACKET$1&&(u--,0===u))break}else l+=h();else u++;d({type:"text",value:l})}else d({type:"text",value:"\\"+l});else d({type:"text",value:(t.keepEscaping?l:"")+h()});do{if(s=o.pop(),"root"!==s.type){s.nodes.forEach((e=>{e.nodes||("open"===e.type&&(e.isOpen=!0),"close"===e.type&&(e.isClose=!0),e.nodes||(e.type="text"),e.invalid=!0)}));const e=o[o.length-1],t=e.nodes.indexOf(s);e.nodes.splice(t,1,...s.nodes)}}while(o.length>0);return d({type:"eos"}),i};var parse_1$2=parse$3;const braces=(e,t={})=>{let r=[];if(Array.isArray(e))for(const n of e){const e=braces.create(n,t);Array.isArray(e)?r.push(...e):r.push(e)}else r=[].concat(braces.create(e,t));return t&&!0===t.expand&&!0===t.nodupes&&(r=[...new Set(r)]),r};braces.parse=(e,t={})=>parse_1$2(e,t),braces.stringify=(e,t={})=>stringify$2("string"==typeof e?braces.parse(e,t):e,t),braces.compile=(e,t={})=>("string"==typeof e&&(e=braces.parse(e,t)),compile_1(e,t)),braces.expand=(e,t={})=>{"string"==typeof e&&(e=braces.parse(e,t));let r=expand_1(e,t);return!0===t.noempty&&(r=r.filter(Boolean)),!0===t.nodupes&&(r=[...new Set(r)]),r},braces.create=(e,t={})=>""===e||e.length<3?[e]:!0!==t.expand?braces.compile(e,t):braces.expand(e,t);var braces_1=braces,browser=createCommonjsModule((function(e){var t,r,n=e.exports={};function i(){throw new Error("setTimeout has not been defined")}function o(){throw new Error("clearTimeout has not been defined")}function s(e){if(t===setTimeout)return setTimeout(e,0);if((t===i||!t)&&setTimeout)return t=setTimeout,setTimeout(e,0);try{return t(e,0)}catch(r){try{return t.call(null,e,0)}catch(r){return t.call(this,e,0)}}}!function(){try{t="function"==typeof setTimeout?setTimeout:i}catch(e){t=i}try{r="function"==typeof clearTimeout?clearTimeout:o}catch(e){r=o}}();var a,u=[],c=!1,l=-1;function p(){c&&a&&(c=!1,a.length?u=a.concat(u):l=-1,u.length&&f())}function f(){if(!c){var e=s(p);c=!0;for(var t=u.length;t;){for(a=u,u=[];++l<t;)a&&a[l].run();l=-1,t=u.length}a=null,c=!1,function(e){if(r===clearTimeout)return clearTimeout(e);if((r===o||!r)&&clearTimeout)return r=clearTimeout,clearTimeout(e);try{return r(e)}catch(t){try{return r.call(null,e)}catch(t){return r.call(this,e)}}}(e)}}function h(e,t){this.fun=e,this.array=t}function d(){}n.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var r=1;r<arguments.length;r++)t[r-1]=arguments[r];u.push(new h(e,t)),1!==u.length||c||s(f)},h.prototype.run=function(){this.fun.apply(null,this.array)},n.title="browser",n.browser=!0,n.env={},n.argv=[],n.version="",n.versions={},n.on=d,n.addListener=d,n.once=d,n.off=d,n.removeListener=d,n.removeAllListeners=d,n.emit=d,n.prependListener=d,n.prependOnceListener=d,n.listeners=function(e){return[]},n.binding=function(e){throw new Error("process.binding is not supported")},n.cwd=function(){return"/"},n.chdir=function(e){throw new Error("process.chdir is not supported")},n.umask=function(){return 0}}));const WIN_SLASH="\\\\/",WIN_NO_SLASH=`[^${WIN_SLASH}]`,DOT_LITERAL="\\.",PLUS_LITERAL="\\+",QMARK_LITERAL="\\?",SLASH_LITERAL="\\/",ONE_CHAR="(?=.)",QMARK="[^/]",END_ANCHOR=`(?:${SLASH_LITERAL}|$)`,START_ANCHOR=`(?:^|${SLASH_LITERAL})`,DOTS_SLASH=`${DOT_LITERAL}{1,2}${END_ANCHOR}`,NO_DOT=`(?!${DOT_LITERAL})`,NO_DOTS=`(?!${START_ANCHOR}${DOTS_SLASH})`,NO_DOT_SLASH=`(?!${DOT_LITERAL}{0,1}${END_ANCHOR})`,NO_DOTS_SLASH=`(?!${DOTS_SLASH})`,QMARK_NO_DOT=`[^.${SLASH_LITERAL}]`,STAR=`${QMARK}*?`,POSIX_CHARS={DOT_LITERAL:DOT_LITERAL,PLUS_LITERAL:PLUS_LITERAL,QMARK_LITERAL:QMARK_LITERAL,SLASH_LITERAL:SLASH_LITERAL,ONE_CHAR:ONE_CHAR,QMARK:QMARK,END_ANCHOR:END_ANCHOR,DOTS_SLASH:DOTS_SLASH,NO_DOT:NO_DOT,NO_DOTS:NO_DOTS,NO_DOT_SLASH:NO_DOT_SLASH,NO_DOTS_SLASH:NO_DOTS_SLASH,QMARK_NO_DOT:QMARK_NO_DOT,STAR:STAR,START_ANCHOR:START_ANCHOR},WINDOWS_CHARS={...POSIX_CHARS,SLASH_LITERAL:`[${WIN_SLASH}]`,QMARK:WIN_NO_SLASH,STAR:`${WIN_NO_SLASH}*?`,DOTS_SLASH:`${DOT_LITERAL}{1,2}(?:[${WIN_SLASH}]|$)`,NO_DOT:`(?!${DOT_LITERAL})`,NO_DOTS:`(?!(?:^|[${WIN_SLASH}])${DOT_LITERAL}{1,2}(?:[${WIN_SLASH}]|$))`,NO_DOT_SLASH:`(?!${DOT_LITERAL}{0,1}(?:[${WIN_SLASH}]|$))`,NO_DOTS_SLASH:`(?!${DOT_LITERAL}{1,2}(?:[${WIN_SLASH}]|$))`,QMARK_NO_DOT:`[^.${WIN_SLASH}]`,START_ANCHOR:`(?:^|[${WIN_SLASH}])`,END_ANCHOR:`(?:[${WIN_SLASH}]|$)`},POSIX_REGEX_SOURCE$1={alnum:"a-zA-Z0-9",alpha:"a-zA-Z",ascii:"\\x00-\\x7F",blank:" \\t",cntrl:"\\x00-\\x1F\\x7F",digit:"0-9",graph:"\\x21-\\x7E",lower:"a-z",print:"\\x20-\\x7E ",punct:"\\-!\"#$%&'()\\*+,./:;<=>?@[\\]^_`{|}~",space:" \\t\\r\\n\\v\\f",upper:"A-Z",word:"A-Za-z0-9_",xdigit:"A-Fa-f0-9"};var constants={MAX_LENGTH:65536,POSIX_REGEX_SOURCE:POSIX_REGEX_SOURCE$1,REGEX_BACKSLASH:/\\(?![*+?^${}(|)[\]])/g,REGEX_NON_SPECIAL_CHARS:/^[^@![\].,$*+?^{}()|\\/]+/,REGEX_SPECIAL_CHARS:/[-*+?.^${}(|)[\]]/,REGEX_SPECIAL_CHARS_BACKREF:/(\\?)((\W)(\3*))/g,REGEX_SPECIAL_CHARS_GLOBAL:/([-*+?.^${}(|)[\]])/g,REGEX_REMOVE_BACKSLASH:/(?:\[.*?[^\\]\]|\\(?=.))/g,REPLACEMENTS:{"***":"*","**/**":"**","**/**/**":"**"},CHAR_0:48,CHAR_9:57,CHAR_UPPERCASE_A:65,CHAR_LOWERCASE_A:97,CHAR_UPPERCASE_Z:90,CHAR_LOWERCASE_Z:122,CHAR_LEFT_PARENTHESES:40,CHAR_RIGHT_PARENTHESES:41,CHAR_ASTERISK:42,CHAR_AMPERSAND:38,CHAR_AT:64,CHAR_BACKWARD_SLASH:92,CHAR_CARRIAGE_RETURN:13,CHAR_CIRCUMFLEX_ACCENT:94,CHAR_COLON:58,CHAR_COMMA:44,CHAR_DOT:46,CHAR_DOUBLE_QUOTE:34,CHAR_EQUAL:61,CHAR_EXCLAMATION_MARK:33,CHAR_FORM_FEED:12,CHAR_FORWARD_SLASH:47,CHAR_GRAVE_ACCENT:96,CHAR_HASH:35,CHAR_HYPHEN_MINUS:45,CHAR_LEFT_ANGLE_BRACKET:60,CHAR_LEFT_CURLY_BRACE:123,CHAR_LEFT_SQUARE_BRACKET:91,CHAR_LINE_FEED:10,CHAR_NO_BREAK_SPACE:160,CHAR_PERCENT:37,CHAR_PLUS:43,CHAR_QUESTION_MARK:63,CHAR_RIGHT_ANGLE_BRACKET:62,CHAR_RIGHT_CURLY_BRACE:125,CHAR_RIGHT_SQUARE_BRACKET:93,CHAR_SEMICOLON:59,CHAR_SINGLE_QUOTE:39,CHAR_SPACE:32,CHAR_TAB:9,CHAR_UNDERSCORE:95,CHAR_VERTICAL_LINE:124,CHAR_ZERO_WIDTH_NOBREAK_SPACE:65279,SEP:path.sep,extglobChars:e=>({"!":{type:"negate",open:"(?:(?!(?:",close:`))${e.STAR})`},"?":{type:"qmark",open:"(?:",close:")?"},"+":{type:"plus",open:"(?:",close:")+"},"*":{type:"star",open:"(?:",close:")*"},"@":{type:"at",open:"(?:",close:")"}}),globChars:e=>!0===e?WINDOWS_CHARS:POSIX_CHARS},utils=createCommonjsModule((function(e,t){const r="win32"===browser.platform,{REGEX_BACKSLASH:n,REGEX_REMOVE_BACKSLASH:i,REGEX_SPECIAL_CHARS:o,REGEX_SPECIAL_CHARS_GLOBAL:s}=constants;t.isObject=e=>null!==e&&"object"==typeof e&&!Array.isArray(e),t.hasRegexChars=e=>o.test(e),t.isRegexChar=e=>1===e.length&&t.hasRegexChars(e),t.escapeRegex=e=>e.replace(s,"\\$1"),t.toPosixSlashes=e=>e.replace(n,"/"),t.removeBackslashes=e=>e.replace(i,(e=>"\\"===e?"":e)),t.supportsLookbehinds=()=>{const e=browser.version.slice(1).split(".").map(Number);return 3===e.length&&e[0]>=9||8===e[0]&&e[1]>=10},t.isWindows=e=>e&&"boolean"==typeof e.windows?e.windows:!0===r||"\\"===path.sep,t.escapeLast=(e,r,n)=>{const i=e.lastIndexOf(r,n);return-1===i?e:"\\"===e[i-1]?t.escapeLast(e,r,i-1):`${e.slice(0,i)}\\${e.slice(i)}`},t.removePrefix=(e,t={})=>{let r=e;return r.startsWith("./")&&(r=r.slice(2),t.prefix="./"),r},t.wrapOutput=(e,t={},r={})=>{let n=`${r.contains?"":"^"}(?:${e})${r.contains?"":"$"}`;return!0===t.negated&&(n=`(?:^(?!${n}).*$)`),n}}));const{CHAR_ASTERISK:CHAR_ASTERISK,CHAR_AT:CHAR_AT,CHAR_BACKWARD_SLASH:CHAR_BACKWARD_SLASH,CHAR_COMMA:CHAR_COMMA,CHAR_DOT:CHAR_DOT,CHAR_EXCLAMATION_MARK:CHAR_EXCLAMATION_MARK,CHAR_FORWARD_SLASH:CHAR_FORWARD_SLASH,CHAR_LEFT_CURLY_BRACE:CHAR_LEFT_CURLY_BRACE,CHAR_LEFT_PARENTHESES:CHAR_LEFT_PARENTHESES,CHAR_LEFT_SQUARE_BRACKET:CHAR_LEFT_SQUARE_BRACKET,CHAR_PLUS:CHAR_PLUS,CHAR_QUESTION_MARK:CHAR_QUESTION_MARK,CHAR_RIGHT_CURLY_BRACE:CHAR_RIGHT_CURLY_BRACE,CHAR_RIGHT_PARENTHESES:CHAR_RIGHT_PARENTHESES,CHAR_RIGHT_SQUARE_BRACKET:CHAR_RIGHT_SQUARE_BRACKET}=constants,isPathSeparator=e=>e===CHAR_FORWARD_SLASH||e===CHAR_BACKWARD_SLASH,depth=e=>{!0!==e.isPrefix&&(e.depth=e.isGlobstar?1/0:1)},scan=(e,t)=>{const r=t||{},n=e.length-1,i=!0===r.parts||!0===r.scanToEnd,o=[],s=[],a=[];let u,c,l=e,p=-1,f=0,h=0,d=!1,g=!1,m=!1,y=!1,v=!1,b=!1,_=!1,A=!1,S=!1,w=!1,x=0,E={value:"",depth:0,isGlob:!1};const C=()=>p>=n,R=()=>(u=c,l.charCodeAt(++p));for(;p<n;){let e;if(c=R(),c!==CHAR_BACKWARD_SLASH){if(!0===b||c===CHAR_LEFT_CURLY_BRACE){for(x++;!0!==C()&&(c=R());)if(c!==CHAR_BACKWARD_SLASH)if(c!==CHAR_LEFT_CURLY_BRACE){if(!0!==b&&c===CHAR_DOT&&(c=R())===CHAR_DOT){if(d=E.isBrace=!0,m=E.isGlob=!0,w=!0,!0===i)continue;break}if(!0!==b&&c===CHAR_COMMA){if(d=E.isBrace=!0,m=E.isGlob=!0,w=!0,!0===i)continue;break}if(c===CHAR_RIGHT_CURLY_BRACE&&(x--,0===x)){b=!1,d=E.isBrace=!0,w=!0;break}}else x++;else _=E.backslashes=!0,R();if(!0===i)continue;break}if(c!==CHAR_FORWARD_SLASH){if(!0!==r.noext){if(!0===(c===CHAR_PLUS||c===CHAR_AT||c===CHAR_ASTERISK||c===CHAR_QUESTION_MARK||c===CHAR_EXCLAMATION_MARK)&&l.charCodeAt(p+1)===CHAR_LEFT_PARENTHESES){if(m=E.isGlob=!0,y=E.isExtglob=!0,w=!0,c===CHAR_EXCLAMATION_MARK&&p===f&&(S=!0),!0===i){for(;!0!==C()&&(c=R());)if(c!==CHAR_BACKWARD_SLASH){if(c===CHAR_RIGHT_PARENTHESES){m=E.isGlob=!0,w=!0;break}}else _=E.backslashes=!0,c=R();continue}break}}if(c===CHAR_ASTERISK){if(u===CHAR_ASTERISK&&(v=E.isGlobstar=!0),m=E.isGlob=!0,w=!0,!0===i)continue;break}if(c===CHAR_QUESTION_MARK){if(m=E.isGlob=!0,w=!0,!0===i)continue;break}if(c===CHAR_LEFT_SQUARE_BRACKET){for(;!0!==C()&&(e=R());)if(e!==CHAR_BACKWARD_SLASH){if(e===CHAR_RIGHT_SQUARE_BRACKET){g=E.isBracket=!0,m=E.isGlob=!0,w=!0;break}}else _=E.backslashes=!0,R();if(!0===i)continue;break}if(!0===r.nonegate||c!==CHAR_EXCLAMATION_MARK||p!==f){if(!0!==r.noparen&&c===CHAR_LEFT_PARENTHESES){if(m=E.isGlob=!0,!0===i){for(;!0!==C()&&(c=R());)if(c!==CHAR_LEFT_PARENTHESES){if(c===CHAR_RIGHT_PARENTHESES){w=!0;break}}else _=E.backslashes=!0,c=R();continue}break}if(!0===m){if(w=!0,!0===i)continue;break}}else A=E.negated=!0,f++}else{if(o.push(p),s.push(E),E={value:"",depth:0,isGlob:!1},!0===w)continue;if(u===CHAR_DOT&&p===f+1){f+=2;continue}h=p+1}}else _=E.backslashes=!0,c=R(),c===CHAR_LEFT_CURLY_BRACE&&(b=!0)}!0===r.noext&&(y=!1,m=!1);let k=l,$="",O="";f>0&&($=l.slice(0,f),l=l.slice(f),h-=f),k&&!0===m&&h>0?(k=l.slice(0,h),O=l.slice(h)):!0===m?(k="",O=l):k=l,k&&""!==k&&"/"!==k&&k!==l&&isPathSeparator(k.charCodeAt(k.length-1))&&(k=k.slice(0,-1)),!0===r.unescape&&(O&&(O=utils.removeBackslashes(O)),k&&!0===_&&(k=utils.removeBackslashes(k)));const L={prefix:$,input:e,start:f,base:k,glob:O,isBrace:d,isBracket:g,isGlob:m,isExtglob:y,isGlobstar:v,negated:A,negatedExtglob:S};if(!0===r.tokens&&(L.maxDepth=0,isPathSeparator(c)||s.push(E),L.tokens=s),!0===r.parts||!0===r.tokens){let t;for(let n=0;n<o.length;n++){const i=t?t+1:f,u=o[n],c=e.slice(i,u);r.tokens&&(0===n&&0!==f?(s[n].isPrefix=!0,s[n].value=$):s[n].value=c,depth(s[n]),L.maxDepth+=s[n].depth),0===n&&""===c||a.push(c),t=u}if(t&&t+1<e.length){const n=e.slice(t+1);a.push(n),r.tokens&&(s[s.length-1].value=n,depth(s[s.length-1]),L.maxDepth+=s[s.length-1].depth)}L.slashes=o,L.parts=a}return L};var scan_1=scan;const{MAX_LENGTH:MAX_LENGTH,POSIX_REGEX_SOURCE:POSIX_REGEX_SOURCE,REGEX_NON_SPECIAL_CHARS:REGEX_NON_SPECIAL_CHARS,REGEX_SPECIAL_CHARS_BACKREF:REGEX_SPECIAL_CHARS_BACKREF,REPLACEMENTS:REPLACEMENTS}=constants,expandRange=(e,t)=>{if("function"==typeof t.expandRange)return t.expandRange(...e,t);e.sort();const r=`[${e.join("-")}]`;try{new RegExp(r)}catch(t){return e.map((e=>utils.escapeRegex(e))).join("..")}return r},syntaxError=(e,t)=>`Missing ${e}: "${t}" - use "\\\\${t}" to match literal characters`,parse$2=(e,t)=>{if("string"!=typeof e)throw new TypeError("Expected a string");e=REPLACEMENTS[e]||e;const r={...t},n="number"==typeof r.maxLength?Math.min(MAX_LENGTH,r.maxLength):MAX_LENGTH;let i=e.length;if(i>n)throw new SyntaxError(`Input length: ${i}, exceeds maximum allowed length: ${n}`);const o={type:"bos",value:"",output:r.prepend||""},s=[o],a=r.capture?"":"?:",u=utils.isWindows(t),c=constants.globChars(u),l=constants.extglobChars(c),{DOT_LITERAL:p,PLUS_LITERAL:f,SLASH_LITERAL:h,ONE_CHAR:d,DOTS_SLASH:g,NO_DOT:m,NO_DOT_SLASH:y,NO_DOTS_SLASH:v,QMARK:b,QMARK_NO_DOT:_,STAR:A,START_ANCHOR:S}=c,w=e=>`(${a}(?:(?!${S}${e.dot?g:p}).)*?)`,x=r.dot?"":m,E=r.dot?b:_;let C=!0===r.bash?w(r):A;r.capture&&(C=`(${C})`),"boolean"==typeof r.noext&&(r.noextglob=r.noext);const R={input:e,index:-1,start:0,dot:!0===r.dot,consumed:"",output:"",prefix:"",backtrack:!1,negated:!1,brackets:0,braces:0,parens:0,quotes:0,globstar:!1,tokens:s};e=utils.removePrefix(e,R),i=e.length;const k=[],$=[],O=[];let L,B=o;const I=()=>R.index===i-1,P=R.peek=(t=1)=>e[R.index+t],T=R.advance=()=>e[++R.index]||"",M=()=>e.slice(R.index+1),N=(e="",t=0)=>{R.consumed+=e,R.index+=t},j=e=>{R.output+=null!=e.output?e.output:e.value,N(e.value)},U=()=>{let e=1;for(;"!"===P()&&("("!==P(2)||"?"===P(3));)T(),R.start++,e++;return e%2!=0&&(R.negated=!0,R.start++,!0)},H=e=>{R[e]++,O.push(e)},D=e=>{R[e]--,O.pop()},q=e=>{if("globstar"===B.type){const t=R.braces>0&&("comma"===e.type||"brace"===e.type),r=!0===e.extglob||k.length&&("pipe"===e.type||"paren"===e.type);"slash"===e.type||"paren"===e.type||t||r||(R.output=R.output.slice(0,-B.output.length),B.type="star",B.value="*",B.output=C,R.output+=B.output)}if(k.length&&"paren"!==e.type&&(k[k.length-1].inner+=e.value),(e.value||e.output)&&j(e),B&&"text"===B.type&&"text"===e.type)return B.value+=e.value,void(B.output=(B.output||"")+e.value);e.prev=B,s.push(e),B=e},F=(e,t)=>{const n={...l[t],conditions:1,inner:""};n.prev=B,n.parens=R.parens,n.output=R.output;const i=(r.capture?"(":"")+n.open;H("parens"),q({type:e,value:t,output:R.output?"":d}),q({type:"paren",extglob:!0,value:T(),output:i}),k.push(n)},W=e=>{let n,i=e.close+(r.capture?")":"");if("negate"===e.type){let o=C;if(e.inner&&e.inner.length>1&&e.inner.includes("/")&&(o=w(r)),(o!==C||I()||/^\)+$/.test(M()))&&(i=e.close=`)$))${o}`),e.inner.includes("*")&&(n=M())&&/^\.[^\\/.]+$/.test(n)){const r=parse$2(n,{...t,fastpaths:!1}).output;i=e.close=`)${r})${o})`}"bos"===e.prev.type&&(R.negatedExtglob=!0)}q({type:"paren",extglob:!0,value:L,output:i}),D("parens")};if(!1!==r.fastpaths&&!/(^[*!]|[/()[\]{}"])/.test(e)){let n=!1,i=e.replace(REGEX_SPECIAL_CHARS_BACKREF,((e,t,r,i,o,s)=>"\\"===i?(n=!0,e):"?"===i?t?t+i+(o?b.repeat(o.length):""):0===s?E+(o?b.repeat(o.length):""):b.repeat(r.length):"."===i?p.repeat(r.length):"*"===i?t?t+i+(o?C:""):C:t?e:`\\${e}`));return!0===n&&(i=!0===r.unescape?i.replace(/\\/g,""):i.replace(/\\+/g,(e=>e.length%2==0?"\\\\":e?"\\":""))),i===e&&!0===r.contains?(R.output=e,R):(R.output=utils.wrapOutput(i,R,t),R)}for(;!I();){if(L=T(),"\0"===L)continue;if("\\"===L){const e=P();if("/"===e&&!0!==r.bash)continue;if("."===e||";"===e)continue;if(!e){L+="\\",q({type:"text",value:L});continue}const t=/^\\+/.exec(M());let n=0;if(t&&t[0].length>2&&(n=t[0].length,R.index+=n,n%2!=0&&(L+="\\")),!0===r.unescape?L=T():L+=T(),0===R.brackets){q({type:"text",value:L});continue}}if(R.brackets>0&&("]"!==L||"["===B.value||"[^"===B.value)){if(!1!==r.posix&&":"===L){const e=B.value.slice(1);if(e.includes("[")&&(B.posix=!0,e.includes(":"))){const e=B.value.lastIndexOf("["),t=B.value.slice(0,e),r=B.value.slice(e+2),n=POSIX_REGEX_SOURCE[r];if(n){B.value=t+n,R.backtrack=!0,T(),o.output||1!==s.indexOf(B)||(o.output=d);continue}}}("["===L&&":"!==P()||"-"===L&&"]"===P())&&(L=`\\${L}`),"]"!==L||"["!==B.value&&"[^"!==B.value||(L=`\\${L}`),!0===r.posix&&"!"===L&&"["===B.value&&(L="^"),B.value+=L,j({value:L});continue}if(1===R.quotes&&'"'!==L){L=utils.escapeRegex(L),B.value+=L,j({value:L});continue}if('"'===L){R.quotes=1===R.quotes?0:1,!0===r.keepQuotes&&q({type:"text",value:L});continue}if("("===L){H("parens"),q({type:"paren",value:L});continue}if(")"===L){if(0===R.parens&&!0===r.strictBrackets)throw new SyntaxError(syntaxError("opening","("));const e=k[k.length-1];if(e&&R.parens===e.parens+1){W(k.pop());continue}q({type:"paren",value:L,output:R.parens?")":"\\)"}),D("parens");continue}if("["===L){if(!0!==r.nobracket&&M().includes("]"))H("brackets");else{if(!0!==r.nobracket&&!0===r.strictBrackets)throw new SyntaxError(syntaxError("closing","]"));L=`\\${L}`}q({type:"bracket",value:L});continue}if("]"===L){if(!0===r.nobracket||B&&"bracket"===B.type&&1===B.value.length){q({type:"text",value:L,output:`\\${L}`});continue}if(0===R.brackets){if(!0===r.strictBrackets)throw new SyntaxError(syntaxError("opening","["));q({type:"text",value:L,output:`\\${L}`});continue}D("brackets");const e=B.value.slice(1);if(!0===B.posix||"^"!==e[0]||e.includes("/")||(L=`/${L}`),B.value+=L,j({value:L}),!1===r.literalBrackets||utils.hasRegexChars(e))continue;const t=utils.escapeRegex(B.value);if(R.output=R.output.slice(0,-B.value.length),!0===r.literalBrackets){R.output+=t,B.value=t;continue}B.value=`(${a}${t}|${B.value})`,R.output+=B.value;continue}if("{"===L&&!0!==r.nobrace){H("braces");const e={type:"brace",value:L,output:"(",outputIndex:R.output.length,tokensIndex:R.tokens.length};$.push(e),q(e);continue}if("}"===L){const e=$[$.length-1];if(!0===r.nobrace||!e){q({type:"text",value:L,output:L});continue}let t=")";if(!0===e.dots){const e=s.slice(),n=[];for(let t=e.length-1;t>=0&&(s.pop(),"brace"!==e[t].type);t--)"dots"!==e[t].type&&n.unshift(e[t].value);t=expandRange(n,r),R.backtrack=!0}if(!0!==e.comma&&!0!==e.dots){const r=R.output.slice(0,e.outputIndex),n=R.tokens.slice(e.tokensIndex);e.value=e.output="\\{",L=t="\\}",R.output=r;for(const e of n)R.output+=e.output||e.value}q({type:"brace",value:L,output:t}),D("braces"),$.pop();continue}if("|"===L){k.length>0&&k[k.length-1].conditions++,q({type:"text",value:L});continue}if(","===L){let e=L;const t=$[$.length-1];t&&"braces"===O[O.length-1]&&(t.comma=!0,e="|"),q({type:"comma",value:L,output:e});continue}if("/"===L){if("dot"===B.type&&R.index===R.start+1){R.start=R.index+1,R.consumed="",R.output="",s.pop(),B=o;continue}q({type:"slash",value:L,output:h});continue}if("."===L){if(R.braces>0&&"dot"===B.type){"."===B.value&&(B.output=p);const e=$[$.length-1];B.type="dots",B.output+=L,B.value+=L,e.dots=!0;continue}if(R.braces+R.parens===0&&"bos"!==B.type&&"slash"!==B.type){q({type:"text",value:L,output:p});continue}q({type:"dot",value:L,output:p});continue}if("?"===L){if(!(B&&"("===B.value)&&!0!==r.noextglob&&"("===P()&&"?"!==P(2)){F("qmark",L);continue}if(B&&"paren"===B.type){const e=P();let t=L;if("<"===e&&!utils.supportsLookbehinds())throw new Error("Node.js v10 or higher is required for regex lookbehinds");("("===B.value&&!/[!=<:]/.test(e)||"<"===e&&!/<([!=]|\w+>)/.test(M()))&&(t=`\\${L}`),q({type:"text",value:L,output:t});continue}if(!0!==r.dot&&("slash"===B.type||"bos"===B.type)){q({type:"qmark",value:L,output:_});continue}q({type:"qmark",value:L,output:b});continue}if("!"===L){if(!0!==r.noextglob&&"("===P()&&("?"!==P(2)||!/[!=<:]/.test(P(3)))){F("negate",L);continue}if(!0!==r.nonegate&&0===R.index){U();continue}}if("+"===L){if(!0!==r.noextglob&&"("===P()&&"?"!==P(2)){F("plus",L);continue}if(B&&"("===B.value||!1===r.regex){q({type:"plus",value:L,output:f});continue}if(B&&("bracket"===B.type||"paren"===B.type||"brace"===B.type)||R.parens>0){q({type:"plus",value:L});continue}q({type:"plus",value:f});continue}if("@"===L){if(!0!==r.noextglob&&"("===P()&&"?"!==P(2)){q({type:"at",extglob:!0,value:L,output:""});continue}q({type:"text",value:L});continue}if("*"!==L){"$"!==L&&"^"!==L||(L=`\\${L}`);const e=REGEX_NON_SPECIAL_CHARS.exec(M());e&&(L+=e[0],R.index+=e[0].length),q({type:"text",value:L});continue}if(B&&("globstar"===B.type||!0===B.star)){B.type="star",B.star=!0,B.value+=L,B.output=C,R.backtrack=!0,R.globstar=!0,N(L);continue}let t=M();if(!0!==r.noextglob&&/^\([^?]/.test(t)){F("star",L);continue}if("star"===B.type){if(!0===r.noglobstar){N(L);continue}const n=B.prev,i=n.prev,o="slash"===n.type||"bos"===n.type,s=i&&("star"===i.type||"globstar"===i.type);if(!0===r.bash&&(!o||t[0]&&"/"!==t[0])){q({type:"star",value:L,output:""});continue}const a=R.braces>0&&("comma"===n.type||"brace"===n.type),u=k.length&&("pipe"===n.type||"paren"===n.type);if(!o&&"paren"!==n.type&&!a&&!u){q({type:"star",value:L,output:""});continue}for(;"/**"===t.slice(0,3);){const r=e[R.index+4];if(r&&"/"!==r)break;t=t.slice(3),N("/**",3)}if("bos"===n.type&&I()){B.type="globstar",B.value+=L,B.output=w(r),R.output=B.output,R.globstar=!0,N(L);continue}if("slash"===n.type&&"bos"!==n.prev.type&&!s&&I()){R.output=R.output.slice(0,-(n.output+B.output).length),n.output=`(?:${n.output}`,B.type="globstar",B.output=w(r)+(r.strictSlashes?")":"|$)"),B.value+=L,R.globstar=!0,R.output+=n.output+B.output,N(L);continue}if("slash"===n.type&&"bos"!==n.prev.type&&"/"===t[0]){const e=void 0!==t[1]?"|$":"";R.output=R.output.slice(0,-(n.output+B.output).length),n.output=`(?:${n.output}`,B.type="globstar",B.output=`${w(r)}${h}|${h}${e})`,B.value+=L,R.output+=n.output+B.output,R.globstar=!0,N(L+T()),q({type:"slash",value:"/",output:""});continue}if("bos"===n.type&&"/"===t[0]){B.type="globstar",B.value+=L,B.output=`(?:^|${h}|${w(r)}${h})`,R.output=B.output,R.globstar=!0,N(L+T()),q({type:"slash",value:"/",output:""});continue}R.output=R.output.slice(0,-B.output.length),B.type="globstar",B.output=w(r),B.value+=L,R.output+=B.output,R.globstar=!0,N(L);continue}const n={type:"star",value:L,output:C};!0!==r.bash?!B||"bracket"!==B.type&&"paren"!==B.type||!0!==r.regex?(R.index!==R.start&&"slash"!==B.type&&"dot"!==B.type||("dot"===B.type?(R.output+=y,B.output+=y):!0===r.dot?(R.output+=v,B.output+=v):(R.output+=x,B.output+=x),"*"!==P()&&(R.output+=d,B.output+=d)),q(n)):(n.output=L,q(n)):(n.output=".*?","bos"!==B.type&&"slash"!==B.type||(n.output=x+n.output),q(n))}for(;R.brackets>0;){if(!0===r.strictBrackets)throw new SyntaxError(syntaxError("closing","]"));R.output=utils.escapeLast(R.output,"["),D("brackets")}for(;R.parens>0;){if(!0===r.strictBrackets)throw new SyntaxError(syntaxError("closing",")"));R.output=utils.escapeLast(R.output,"("),D("parens")}for(;R.braces>0;){if(!0===r.strictBrackets)throw new SyntaxError(syntaxError("closing","}"));R.output=utils.escapeLast(R.output,"{"),D("braces")}if(!0===r.strictSlashes||"star"!==B.type&&"bracket"!==B.type||q({type:"maybe_slash",value:"",output:`${h}?`}),!0===R.backtrack){R.output="";for(const e of R.tokens)R.output+=null!=e.output?e.output:e.value,e.suffix&&(R.output+=e.suffix)}return R};parse$2.fastpaths=(e,t)=>{const r={...t},n="number"==typeof r.maxLength?Math.min(MAX_LENGTH,r.maxLength):MAX_LENGTH,i=e.length;if(i>n)throw new SyntaxError(`Input length: ${i}, exceeds maximum allowed length: ${n}`);e=REPLACEMENTS[e]||e;const o=utils.isWindows(t),{DOT_LITERAL:s,SLASH_LITERAL:a,ONE_CHAR:u,DOTS_SLASH:c,NO_DOT:l,NO_DOTS:p,NO_DOTS_SLASH:f,STAR:h,START_ANCHOR:d}=constants.globChars(o),g=r.dot?p:l,m=r.dot?f:l,y=r.capture?"":"?:";let v=!0===r.bash?".*?":h;r.capture&&(v=`(${v})`);const b=e=>!0===e.noglobstar?v:`(${y}(?:(?!${d}${e.dot?c:s}).)*?)`,_=e=>{switch(e){case"*":return`${g}${u}${v}`;case".*":return`${s}${u}${v}`;case"*.*":return`${g}${v}${s}${u}${v}`;case"*/*":return`${g}${v}${a}${u}${m}${v}`;case"**":return g+b(r);case"**/*":return`(?:${g}${b(r)}${a})?${m}${u}${v}`;case"**/*.*":return`(?:${g}${b(r)}${a})?${m}${v}${s}${u}${v}`;case"**/.*":return`(?:${g}${b(r)}${a})?${s}${u}${v}`;default:{const t=/^(.*?)\.(\w+)$/.exec(e);if(!t)return;const r=_(t[1]);if(!r)return;return r+s+t[2]}}},A=utils.removePrefix(e,{negated:!1,prefix:""});let S=_(A);return S&&!0!==r.strictSlashes&&(S+=`${a}?`),S};var parse_1$1=parse$2;const isObject$1=e=>e&&"object"==typeof e&&!Array.isArray(e),picomatch$1=(e,t,r=!1)=>{if(Array.isArray(e)){const n=e.map((e=>picomatch$1(e,t,r))),i=e=>{for(const t of n){const r=t(e);if(r)return r}return!1};return i}const n=isObject$1(e)&&e.tokens&&e.input;if(""===e||"string"!=typeof e&&!n)throw new TypeError("Expected pattern to be a non-empty string");const i=t||{},o=utils.isWindows(t),s=n?picomatch$1.compileRe(e,t):picomatch$1.makeRe(e,t,!1,!0),a=s.state;delete s.state;let u=()=>!1;if(i.ignore){const e={...t,ignore:null,onMatch:null,onResult:null};u=picomatch$1(i.ignore,e,r)}const c=(r,n=!1)=>{const{isMatch:c,match:l,output:p}=picomatch$1.test(r,s,t,{glob:e,posix:o}),f={glob:e,state:a,regex:s,posix:o,input:r,output:p,match:l,isMatch:c};return"function"==typeof i.onResult&&i.onResult(f),!1===c?(f.isMatch=!1,!!n&&f):u(r)?("function"==typeof i.onIgnore&&i.onIgnore(f),f.isMatch=!1,!!n&&f):("function"==typeof i.onMatch&&i.onMatch(f),!n||f)};return r&&(c.state=a),c};picomatch$1.test=(e,t,r,{glob:n,posix:i}={})=>{if("string"!=typeof e)throw new TypeError("Expected input to be a string");if(""===e)return{isMatch:!1,output:""};const o=r||{},s=o.format||(i?utils.toPosixSlashes:null);let a=e===n,u=a&&s?s(e):e;return!1===a&&(u=s?s(e):e,a=u===n),!1!==a&&!0!==o.capture||(a=!0===o.matchBase||!0===o.basename?picomatch$1.matchBase(e,t,r,i):t.exec(u)),{isMatch:Boolean(a),match:a,output:u}},picomatch$1.matchBase=(e,t,r,n=utils.isWindows(r))=>(t instanceof RegExp?t:picomatch$1.makeRe(t,r)).test(path.basename(e)),picomatch$1.isMatch=(e,t,r)=>picomatch$1(t,r)(e),picomatch$1.parse=(e,t)=>Array.isArray(e)?e.map((e=>picomatch$1.parse(e,t))):parse_1$1(e,{...t,fastpaths:!1}),picomatch$1.scan=(e,t)=>scan_1(e,t),picomatch$1.compileRe=(e,t,r=!1,n=!1)=>{if(!0===r)return e.output;const i=t||{},o=i.contains?"":"^",s=i.contains?"":"$";let a=`${o}(?:${e.output})${s}`;e&&!0===e.negated&&(a=`^(?!${a}).*$`);const u=picomatch$1.toRegex(a,t);return!0===n&&(u.state=e),u},picomatch$1.makeRe=(e,t={},r=!1,n=!1)=>{if(!e||"string"!=typeof e)throw new TypeError("Expected a non-empty string");let i={negated:!1,fastpaths:!0};return!1===t.fastpaths||"."!==e[0]&&"*"!==e[0]||(i.output=parse_1$1.fastpaths(e,t)),i.output||(i=parse_1$1(e,t)),picomatch$1.compileRe(i,t,r,n)},picomatch$1.toRegex=(e,t)=>{try{const r=t||{};return new RegExp(e,r.flags||(r.nocase?"i":""))}catch(e){if(t&&!0===t.debug)throw e;return/$^/}},picomatch$1.constants=constants;var picomatch_1=picomatch$1,picomatch=picomatch_1;const isEmptyString=e=>""===e||"./"===e,hasBraces=e=>{const t=e.indexOf("{");return t>-1&&e.indexOf("}",t)>-1},micromatch=(e,t,r)=>{t=[].concat(t),e=[].concat(e);let n=new Set,i=new Set,o=new Set,s=0,a=e=>{o.add(e.output),r&&r.onResult&&r.onResult(e)};for(let o=0;o<t.length;o++){let u=picomatch(String(t[o]),{...r,onResult:a},!0),c=u.state.negated||u.state.negatedExtglob;c&&s++;for(let t of e){let e=u(t,!0);(c?!e.isMatch:e.isMatch)&&(c?n.add(e.output):(n.delete(e.output),i.add(e.output)))}}let u=(s===t.length?[...o]:[...i]).filter((e=>!n.has(e)));if(r&&0===u.length){if(!0===r.failglob)throw new Error(`No matches found for "${t.join(", ")}"`);if(!0===r.nonull||!0===r.nullglob)return r.unescape?t.map((e=>e.replace(/\\/g,""))):t}return u};micromatch.match=micromatch,micromatch.matcher=(e,t)=>picomatch(e,t),micromatch.isMatch=(e,t,r)=>picomatch(t,r)(e),micromatch.any=micromatch.isMatch,micromatch.not=(e,t,r={})=>{t=[].concat(t).map(String);let n=new Set,i=[],o=new Set(micromatch(e,t,{...r,onResult:e=>{r.onResult&&r.onResult(e),i.push(e.output)}}));for(let e of i)o.has(e)||n.add(e);return[...n]},micromatch.contains=(e,t,r)=>{if("string"!=typeof e)throw new TypeError(`Expected a string: "${util.inspect(e)}"`);if(Array.isArray(t))return t.some((t=>micromatch.contains(e,t,r)));if("string"==typeof t){if(isEmptyString(e)||isEmptyString(t))return!1;if(e.includes(t)||e.startsWith("./")&&e.slice(2).includes(t))return!0}return micromatch.isMatch(e,t,{...r,contains:!0})},micromatch.matchKeys=(e,t,r)=>{if(!utils.isObject(e))throw new TypeError("Expected the first argument to be an object");let n=micromatch(Object.keys(e),t,r),i={};for(let t of n)i[t]=e[t];return i},micromatch.some=(e,t,r)=>{let n=[].concat(e);for(let e of[].concat(t)){let t=picomatch(String(e),r);if(n.some((e=>t(e))))return!0}return!1},micromatch.every=(e,t,r)=>{let n=[].concat(e);for(let e of[].concat(t)){let t=picomatch(String(e),r);if(!n.every((e=>t(e))))return!1}return!0},micromatch.all=(e,t,r)=>{if("string"!=typeof e)throw new TypeError(`Expected a string: "${util.inspect(e)}"`);return[].concat(t).every((t=>picomatch(t,r)(e)))},micromatch.capture=(e,t,r)=>{let n=utils.isWindows(r),i=picomatch.makeRe(String(e),{...r,capture:!0}).exec(n?utils.toPosixSlashes(t):t);if(i)return i.slice(1).map((e=>void 0===e?"":e))},micromatch.makeRe=(...e)=>picomatch.makeRe(...e),micromatch.scan=(...e)=>picomatch.scan(...e),micromatch.parse=(e,t)=>{let r=[];for(let n of[].concat(e||[]))for(let e of braces_1(String(n),t))r.push(picomatch.parse(e,t));return r},micromatch.braces=(e,t)=>{if("string"!=typeof e)throw new TypeError("Expected a string");return t&&!0===t.nobrace||!hasBraces(e)?[e]:braces_1(e,t)},micromatch.braceExpand=(e,t)=>{if("string"!=typeof e)throw new TypeError("Expected a string");return micromatch.braces(e,{...t,expand:!0})},micromatch.hasBraces=hasBraces;var micromatch_1=micromatch,match=createCommonjsModule((function(e){var t=e.exports;t.match=function(e,t,r,n){var i=handlebarsUtils.options(this,r,n);return"string"==typeof t&&(t=t.split(/, */)),micromatch_1(e,t,i)},t.isMatch=function(e,t,r,n){var i=handlebarsUtils.options(this,r,n);return micromatch_1.isMatch(e,t,i)},t.mm=function(){return console.log("the {{mm}} helper is depcrecated and will be removed"),console.log("in handlebars-helpers v1.0.0, please use the {{match}}"),console.log("helper instead."),t.match.apply(this,arguments)}})),math$1=createCommonjsModule((function(e){var t=e.exports;t.abs=function(e){if(isNaN(e))throw new TypeError("expected a number");return Math.abs(e)},t.add=function(e,t){return isNaN(e)||isNaN(t)?"string"==typeof e&&"string"==typeof t?e+t:"":Number(e)+Number(t)},t.avg=function(){const e=[].concat.apply([],arguments);return e.pop(),t.sum(e)/e.length},t.ceil=function(e){if(isNaN(e))throw new TypeError("expected a number");return Math.ceil(e)},t.divide=function(e,t){if(isNaN(e))throw new TypeError("expected the first argument to be a number");if(isNaN(t))throw new TypeError("expected the second argument to be a number");return Number(e)/Number(t)},t.floor=function(e){if(isNaN(e))throw new TypeError("expected a number");return Math.floor(e)},t.minus=function(e,t){if(isNaN(e))throw new TypeError("expected the first argument to be a number");if(isNaN(t))throw new TypeError("expected the second argument to be a number");return Number(e)-Number(t)},t.modulo=function(e,t){if(isNaN(e))throw new TypeError("expected the first argument to be a number");if(isNaN(t))throw new TypeError("expected the second argument to be a number");return Number(e)%Number(t)},t.multiply=function(e,t){if(isNaN(e))throw new TypeError("expected the first argument to be a number");if(isNaN(t))throw new TypeError("expected the second argument to be a number");return Number(e)*Number(t)},t.plus=function(e,t){if(isNaN(e))throw new TypeError("expected the first argument to be a number");if(isNaN(t))throw new TypeError("expected the second argument to be a number");return Number(e)+Number(t)},t.random=function(e,t){if(isNaN(e))throw new TypeError("expected minimum to be a number");if(isNaN(t))throw new TypeError("expected maximum to be a number");return utils$2.random(e,t)},t.remainder=function(e,t){return e%t},t.round=function(e){if(isNaN(e))throw new TypeError("expected a number");return Math.round(e)},t.subtract=function(e,t){if(isNaN(e))throw new TypeError("expected the first argument to be a number");if(isNaN(t))throw new TypeError("expected the second argument to be a number");return Number(e)-Number(t)},t.sum=function(){for(var e=[].concat.apply([],arguments),t=e.length,r=0;t--;)isNaN(e[t])||(r+=Number(e[t]));return r}})),misc=createCommonjsModule((function(e){var t=e.exports;t.frame=function(e,t){"object"==typeof e&&e.hash&&(e=(t=e).data);var r=createFrame(e);return"object"!=typeof t&&(t={}),r.extend(t.hash),t.fn(this,{data:r})},t.option=function(e,t,r){return getValue(handlebarsUtils.options(this,t,r),e)},t.noop=function(e){return e.fn(this)},t.typeOf=function(e){return typeof e},t.withHash=function(e){return e.hash&&Object.keys(e.hash).length?e.fn(e.hash):e.inverse(this)}})),number$1=createCommonjsModule((function(e){var t=e.exports;t.bytes=function(e,t,r){if(null==e)return"0 B";if(isNaN(e)&&!(e=e.length))return"0 B";isNaN(t)&&(t=2);var n=["B","kB","MB","GB","TB","PB","EB","ZB","YB"];t=Math.pow(10,t),e=Number(e);for(var i=n.length-1;i-- >=0;){var o=Math.pow(10,3*i);if(o<=e+1){e=Math.round(e*t/o)/t,e+=" "+n[i];break}}return e},t.addCommas=function(e){return e.toString().replace(/(\d)(?=(\d\d\d)+(?!\d))/g,"$1,")},t.phoneNumber=function(e){return"("+(e=e.toString()).substr(0,3)+") "+e.substr(3,3)+"-"+e.substr(6,4)},t.toAbbr=function(e,t){isNaN(e)&&(e=0),handlebarsUtils.isUndefined(t)&&(t=2),e=Number(e),t=Math.pow(10,t);for(var r=["k","m","b","t","q"],n=r.length-1;n>=0;){var i=Math.pow(10,3*(n+1));if(i<=e+1){e=Math.round(e*t/i)/t,e+=r[n];break}n--}return e},t.toExponential=function(e,t){return isNaN(e)&&(e=0),handlebarsUtils.isUndefined(t)&&(t=0),Number(e).toExponential(t)},t.toFixed=function(e,t){return isNaN(e)&&(e=0),isNaN(t)&&(t=0),Number(e).toFixed(t)},t.toFloat=function(e){return parseFloat(e)},t.toInt=function(e){return parseInt(e,10)},t.toPrecision=function(e,t){return isNaN(e)&&(e=0),isNaN(t)&&(t=1),Number(e).toPrecision(t)}})),toString={}.toString,isarray=Array.isArray||function(e){return"[object Array]"==toString.call(e)},isobject=function(e){return null!=e&&"object"==typeof e&&!1===isarray(e)},relative_1=relative;function relative(e,t,r){if("string"!=typeof e)throw new TypeError("relative expects a string.");if(""==e&&!t)return e;var n=arguments.length;1===n&&(t=e,e=browser.cwd(),r=null),2===n&&"boolean"==typeof t&&(t=e,e=browser.cwd(),r=!0),2===n&&"object"==typeof t&&(r=t,t=e,e=browser.cwd());var i=t,o=endsWith(e,"/"),s=endsWith(t,"/");e=unixify(e),t=unixify(t),o&&(e+="/"),isFile(e,r)&&(e=path.dirname(e));var a=path.relative(e,t);if(""===a)return".";var u=trimEnd(i,"/");return s&&(a===u||endsWith(a,u))&&(a+="/"),a}function unixify(e){return e.replace(/[\\\/]+/g,"/")}function trimEnd(e,t){return e.slice(0,e.length-t.length)}function endsWith(e,t){return e.slice(-t.length)[0]===t}function tryStats(e){try{return fs.statSync(e)}catch(e){}return null}function isDir(e,t){if(endsWith(e,"/"))return!0;if(null===t&&(t=tryStats(e)),isobject(t)&&"function"==typeof t.isDirectory)return t.isDirectory();var r=e.split("/"),n=r[r.length-1];return!n||-1===n.indexOf(".")}function isFile(e,t){return!0===t&&(t=tryStats(e)),!isDir(e,t)}relative.toBase=function(e,t){e=unixify(e);var r=(t=unixify(t)).slice(e.length);return"/"===r.charAt(0)&&(r=r.slice(1)),r};var path_1=createCommonjsModule((function(e){var t=e.exports;t.absolute=function(e,t){t=t||{data:{}};var r=handlebarsUtils.options(this,t),n=Object.assign({},t.data.root,r).cwd||browser.cwd();return path.resolve(n,e)},t.dirname=function(e,t){if("string"!=typeof e)throw new TypeError(handlebarsUtils.expectedType("filepath","string",e));return path.dirname(e)},t.relative=function(e,t){if("string"!=typeof e)throw new TypeError(handlebarsUtils.expectedType("first path","string",e));if("string"!=typeof t)throw new TypeError(handlebarsUtils.expectedType("second path","string",t));return relative_1(e,t)},t.basename=function(e){if("string"!=typeof e)throw new TypeError(handlebarsUtils.expectedType("filepath","string",e));return path.basename(e)},t.stem=function(e){if("string"!=typeof e)throw new TypeError(handlebarsUtils.expectedType("filepath","string",e));return path.basename(e,path.extname(e))},t.extname=function(e){if("string"!=typeof e)throw new TypeError(handlebarsUtils.expectedType("filepath","string",e));return path.extname(e)},t.resolve=function(e){var t=[].slice.call(arguments),r=handlebarsUtils.options(this,t.pop()),n=path.resolve(r.cwd||browser.cwd());return t.unshift(n),path.resolve.apply(path,t)},t.segments=function(e,t,r){if("string"!=typeof e)throw new TypeError(handlebarsUtils.expectedType("filepath","string",e));return e.split(/[\\\/]+/).slice(t,r).join("/")}})),regex$2=createCommonjsModule((function(e){var t=e.exports;t.toRegex=function(e,t,r){var n=handlebarsUtils.options({},t,r);return new RegExp(e,n.flags)},t.test=function(e,t){if("string"!=typeof e)return!1;if("regexp"!==kindOf$1(t))throw new TypeError("expected a regular expression");return t.test(e)}}));const lorem="Lorem ipsum dolor sit amet, consectetur adipiscing elit. Phasellus imperdiet, nulla et dictum interdum, nisi lorem egestas odio, vitae scelerisque enim ligula venenatis dolor. Maecenas nisl est, ultrices nec congue eget, auctor vitae massa. Fusce luctus vestibulum augue ut aliquet. Mauris ante ligula, facilisis sed ornare eu, lobortis in odio. Praesent convallis urna a lacus interdum ut hendrerit risus congue. Nunc sagittis dictum nisi, sed ullamcorper ipsum dignissim ac. In at libero sed nunc venenatis imperdiet sed ornare turpis. Donec vitae dui eget tellus gravida venenatis. Integer fringilla congue eros non fermentum. Sed dapibus pulvinar nibh tempor porta. \n\n Crase tempor malesuada magna a vehicula. Nam sollicitudin vel turpis id fermentum. Ut sit amet nisl ac nulla vulputate ultrices vitae vitae urna. Quisque eget odio ac lectus vestibulum faucibus eget in metus. In pellentesque faucibus vestibulum. Nulla at nulla justo, eget luctus tortor. Nulla facilisi. Donec vulputate interdum sollicitudin. Nunc lacinia auctor quam sed pellentesque. Aliquam dui mauris, mattis quis lacus id, pellentesque lobortis odio. \n\n Nullam malesuada erat ut turpis. Suspendisse urna nibh, viverra non, semper suscipit, posuere a, pede. Donec nec justo eget felis facilisis fermentum. Aliquam porttitor mauris sit amet orci. Aenean dignissim pellentesque felis. Phasellus ultrices nulla quis nibh. Quisque a lectus. Donec consectetuer ligula vulputate sem tristique cursus. Nam nulla quam, gravida non, commodo a, sodales sit amet, nisi. Praesent id justo in neque elementum ultrices. Sed malesuada augue eu sapien sodales congue. Nam ut dui. Quisque a lectus. Donec consectetuer ligula vulputate sem tristique cursus. Nam nulla quam, gravida non, commodo a, sodales sit amet, nisi. Proin vel ante a orci tempus eleifend ut et magna. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus luctus urna sed urna ultricies ac tempor dui sagittis. In condimentum facilisis porta. Sed nec diam eu diam mattis viverra. Nulla fringilla, orci ac euismod semper, magna diam porttitor mauris, quis sollicitudin sapien justo in libero. Vestibulum mollis mauris enim. Morbi euismod magna ac lorem rutrum elementum. Donec viverra auctor lobortis. Pellentesque eu est a nulla placerat dignissim. Morbi a enim in magna semper bibendum. Etiam scelerisque, nunc ac egestas consequat, odio nibh euismod nulla, eget auctor orci nibh vel nisi. Aliquam erat volutpat. Sed quis velit. Nulla facilisi. Nulla libero. Vivamus fermentum nibh in augue. Praesent a lacus at urna congue rutrum. Nulla enim eros, porttitor eu, tempus id, varius non, nibh. Vestibulum imperdiet nibh vel magna lacinia ultrices. Sed id ligula quis est convallis tempor. \n\n Aliquam erat volutpat. Integer aliquam ultrices nunc. Ut lectus dui, tincidunt ac, scelerisque ac, ultrices vitae, risus. Donec vehicula augue eu neque. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Mauris ut leo. Cras viverra metus rhoncus sem. Nulla et lectus vestibulum urna fringilla ultrices. Phasellus eu tellus sit amet tortor gravida placerat. Integer sapien est, iaculis in, pretium quis, viverra ac, nunc. Praesent eget sem vel leo ultrices bibendum. Aenean faucibus. Morbi dolor nulla, malesuada eu, pulvinar at, mollis ac, nulla. Curabitur vehicula nisi a magna. Sed nec libero. Phasellus nonummy magna. Sed et libero nec ligula blandit fringilla. Ut pretium tempus gravida. Proin lacinia justo vel ipsum varius eget auctor est iaculis. \n\n Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Fusce luctus vestibulum augue ut aliquet. Nunc sagittis dictum nisi, sed ullamcorper ipsum dignissim ac. In at libero sed nunc venenatis imperdiet sed ornare turpis. Donec vitae dui eget tellus gravida venenatis. Integer fringilla congue eros non fermentum. Sed dapibus pulvinar nibh tempor porta. \n\n Nam dui erat, auctor a, dignissim quis. Aenean dignissim pellentesque felis. Sed gravida ante at nunc dictum placerat. Donec placerat nisl magna, et faucibus arcu condimentum sed. Curabitur et eros ac orci vehicula vestibulum sit amet at nunc. Maecenas non diam cursus, tincidunt nisi vitae, hendrerit enim. Donec vulputate felis id felis dapibus fermentum. \n\n Nullam malesuada erat ut turpis. Suspendisse urna nibh, viverra non, semper suscipit, posuere a, pede. Donec nec justo eget felis facilisis fermentum. Aliquam porttitor mauris sit amet orci. Aenean dignissim pellentesque felis. Phasellus ultrices nulla quis nibh. Quisque a lectus. Donec consectetuer ligula vulputate sem tristique cursus. Nam nulla quam, gravida non, commodo a, sodales sit amet, nisi. Praesent id justo in neque elementum ultrices. Sed malesuada augue eu sapien sodales congue. Nam ut dui. Quisque a lectus. Donec consectetuer ligula vulputate sem tristique cursus. Nam nulla quam, gravida non, commodo a, sodales sit amet, nisi. \n\n Pellentesque sit amet mauris eget lectus commodo viverra. Donec vulputate interdum sollicitudin. Nunc lacinia auctor quam sed pellentesque. Aliquam dui mauris, mattis quis lacus id, pellentesque lobortis odio. Cras ultricies ligula sed magna dictum porta. Curabitur aliquet quam id dui posuere blandit. Nulla porttitor accumsan tincidunt. Donec sollicitudin molestie malesuada. Curabitur arcu erat, accumsan id imperdiet et, porttitor at sem. Sed porttitor lectus nibh. Pellentesque in ipsum id orci porta dapibus. Vestibulum ac diam sit amet quam vehicula elementum sed sit amet dui. \n\n Cras ultricies ligula sed magna dictum porta. Donec rutrum congue leo eget malesuada. Nulla quis lorem ut libero malesuada feugiat. Proin eget tortor risus. Nulla quis lorem ut libero malesuada feugiat. Proin eget tortor risus. Curabitur aliquet quam id dui posuere blandit. Vestibulum ac diam sit amet quam vehicula elementum sed sit amet dui. Pellentesque in ipsum id orci porta dapibus. Curabitur non nulla sit amet nisl tempus convallis quis ac lectus. Donec rutrum congue leo eget malesuada. Vivamus suscipit tortor eget felis porttitor volutpat. Nulla porttitor accumsan tincidunt. \n\n Donec sollicitudin molestie malesuada. Pellentesque in ipsum id orci porta dapibus. Curabitur non nulla sit amet nisl tempus convallis quis ac lectus. Nulla quis lorem ut libero malesuada feugiat. Proin eget tortor risus. Cras ultricies ligula sed magna dictum porta. Donec sollicitudin molestie malesuada. Pellentesque in ipsum id orci porta dapibus. Vestibulum ac diam sit amet quam vehicula elementum sed sit amet dui. Curabitur non nulla sit amet nisl tempus convallis quis ac lectus. Nulla quis lorem ut libero malesuada feugiat. Proin eget tortor risus. Curabitur aliquet quam id dui posuere blandit. \n\n Vestibulum ac diam sit amet quam vehicula elementum sed sit amet dui. Curabitur non nulla sit amet nisl tempus convallis quis ac lectus. Nulla quis lorem ut libero malesuada feugiat. Proin eget tortor risus. Cras ultricies ligula sed magna dictum porta. Donec sollicitudin molestie malesuada. Pellentesque in ipsum id orci porta dapibus. Vestibulum ac diam sit amet quam vehicula elementum sed sit amet dui. Curabitur non nulla sit amet nisl tempus convallis quis ac lectus. Nulla quis lorem ut libero malesuada feugiat. Proin eget tortor risus. \n\n Curabitur aliquet quam id dui posuere blandit. Vestibulum ac diam sit amet quam vehicula elementum sed sit amet dui. Pellentesque in ipsum id orci porta dapibus. Curabitur non nulla sit amet nisl tempus convallis quis ac lectus. Nulla quis lorem ut libero malesuada feugiat. Proin eget tortor risus. Cras ultricies ligula sed magna dictum porta. Donec sollicitudin molestie malesuada. Pellentesque in ipsum id orci porta dapibus. Vestibulum ac diam sit amet quam vehicula elementum sed sit amet dui. Curabitur non nulla sit amet nisl tempus convallis quis ac lectus. Nulla quis lorem ut libero malesuada feugiat. Proin eget tortor risus. Curabitur aliquet quam id dui posuere blandit. Vestibulum ac diam sit amet quam vehicula elementum sed sit amet dui.";var lorem_1=lorem,string$1=createCommonjsModule((function(e,t){var r=e.exports;r.append=function(e,t){return"string"==typeof e&&"string"==typeof t?e+t:e},r.camelcase=function(e){return"string"!=typeof e?"":utils$2.changecase(e,(function(e){return e.toUpperCase()}))},r.capitalize=function(e){return"string"!=typeof e?"":e.charAt(0).toUpperCase()+e.slice(1)},r.capitalizeAll=function(e){return"string"!=typeof e?"":handlebarsUtils.isString(e)?e.replace(/\w\S*/g,(function(e){return r.capitalize(e)})):void 0},r.center=function(e,t){if("string"!=typeof e)return"";for(var r="",n=0;n<t;)r+=" ",n++;return r+e+r},r.chop=function(e){return"string"!=typeof e?"":utils$2.chop(e)},r.dashcase=function(e){return"string"!=typeof e?"":utils$2.changecase(e,(function(e){return"-"+e}))},r.dotcase=function(e){return"string"!=typeof e?"":utils$2.changecase(e,(function(e){return"."+e}))},r.downcase=function(){return r.lowercase.apply(this,arguments)},r.ellipsis=function(e,t){if(handlebarsUtils.isString(e))return e.length<=t?e:r.truncate(e,t)+"…"},r.hyphenate=function(e){return"string"!=typeof e?"":e.split(" ").join("-")},r.isString=function(e){return"string"==typeof e},r.lowercase=function(e){return handlebarsUtils.isObject(e)&&e.fn?e.fn(this).toLowerCase():"string"!=typeof e?"":e.toLowerCase()},r.occurrences=function(e,t){if("string"!=typeof e)return"";for(var r=t.length,n=0,i=0;(n=e.indexOf(t,n))>-1;)i++,n+=r;return i},r.pascalcase=function(e){return"string"!=typeof e?"":(e=utils$2.changecase(e,(function(e){return e.toUpperCase()}))).charAt(0).toUpperCase()+e.slice(1)},r.pathcase=function(e){return"string"!=typeof e?"":utils$2.changecase(e,(function(e){return"/"+e}))},r.plusify=function(e,t){return"string"!=typeof e?"":(handlebarsUtils.isString(t)||(t=" "),e.split(t).join("+"))},r.prepend=function(e,t){return"string"==typeof e&&"string"==typeof t?t+e:e},r.raw=function(e){var t=e.fn();if(!1!==handlebarsUtils.options(this,e).escape)for(var r=0;-1!==(r=t.indexOf("{{",r));)"\\"!==t[r-1]&&(t=t.slice(0,r)+"\\"+t.slice(r)),r+=3;return t},r.remove=function(e,t){return"string"!=typeof e?"":handlebarsUtils.isString(t)?e.split(t).join(""):e},r.removeFirst=function(e,t){return"string"!=typeof e?"":handlebarsUtils.isString(t)?e.replace(t,""):e},r.replace=function(e,t,r){return"string"!=typeof e?"":handlebarsUtils.isString(t)?(handlebarsUtils.isString(r)||(r=""),e.split(t).join(r)):e},r.replaceFirst=function(e,t,r){return"string"!=typeof e?"":handlebarsUtils.isString(t)?(handlebarsUtils.isString(r)||(r=""),e.replace(t,r)):e},r.reverse=array$1.reverse,r.sentence=function(e){return"string"!=typeof e?"":e.replace(/((?:\S[^\.\?\!]*)[\.\?\!]*)/g,(function(e){return e.charAt(0).toUpperCase()+e.substr(1).toLowerCase()}))},r.snakecase=function(e){return"string"!=typeof e?"":utils$2.changecase(e,(function(e){return"_"+e}))},r.split=function(e,t){return"string"!=typeof e?"":(handlebarsUtils.isString(t)||(t=","),e.split(t))},r.startsWith=function(e,t,r){return r=[].slice.call(arguments).pop(),handlebarsUtils.isString(t)&&0===t.indexOf(e)?r.fn(this):"function"==typeof r.inverse?r.inverse(this):""},r.titleize=function(e){if("string"!=typeof e)return"";for(var r=e.replace(/[- _]+/g," ").split(" "),n=r.length,i=[],o=0;n--;){var s=r[o++];i.push(t.capitalize(s))}return i.join(" ")},r.trim=function(e){return"string"==typeof e?e.trim():""},r.trimLeft=function(e){if(handlebarsUtils.isString(e))return e.replace(/^\s+/,"")},r.trimRight=function(e){if(handlebarsUtils.isString(e))return e.replace(/\s+$/,"")},r.truncate=function(e,t,r){if(handlebarsUtils.isString(e))return"string"!=typeof r&&(r=""),e.length>t?e.slice(0,t-r.length)+r:e},r.truncateWords=function(e,t,r){if(handlebarsUtils.isString(e)&&!isNaN(t)){"string"!=typeof r&&(r="…");var n=Number(t),i=e.split(/[ \t]/);return n>=i.length?e:(i=i.slice(0,n)).join(" ").trim()+r}},r.upcase=function(){return r.uppercase.apply(this,arguments)},r.uppercase=function(e){return handlebarsUtils.isObject(e)&&e.fn?e.fn(this).toUpperCase():"string"!=typeof e?"":e.toUpperCase()},r.lorem=function(e){return(isNaN(e)||e<1||!e)&&(e=11),lorem_1.substring(0,e)}})),maxInt=2147483647,base=36,tMin=1,tMax=26,skew=38,damp=700,initialBias=72,initialN=128,delimiter="-",regexNonASCII=/[^\x20-\x7E]/,regexSeparators=/[\x2E\u3002\uFF0E\uFF61]/g,errors={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},baseMinusTMin=base-tMin,floor=Math.floor,stringFromCharCode=String.fromCharCode;function error(e){throw new RangeError(errors[e])}function map$1(e,t){for(var r=e.length,n=[];r--;)n[r]=t(e[r]);return n}function mapDomain(e,t){var r=e.split("@"),n="";return r.length>1&&(n=r[0]+"@",e=r[1]),n+map$1((e=e.replace(regexSeparators,".")).split("."),t).join(".")}function ucs2decode(e){for(var t,r,n=[],i=0,o=e.length;i<o;)(t=e.charCodeAt(i++))>=55296&&t<=56319&&i<o?56320==(64512&(r=e.charCodeAt(i++)))?n.push(((1023&t)<<10)+(1023&r)+65536):(n.push(t),i--):n.push(t);return n}function digitToBasic(e,t){return e+22+75*(e<26)-((0!=t)<<5)}function adapt(e,t,r){var n=0;for(e=r?floor(e/damp):e>>1,e+=floor(e/t);e>baseMinusTMin*tMax>>1;n+=base)e=floor(e/baseMinusTMin);return floor(n+(baseMinusTMin+1)*e/(e+skew))}function encode(e){var t,r,n,i,o,s,a,u,c,l,p,f,h,d,g,m=[];for(f=(e=ucs2decode(e)).length,t=initialN,r=0,o=initialBias,s=0;s<f;++s)(p=e[s])<128&&m.push(stringFromCharCode(p));for(n=i=m.length,i&&m.push(delimiter);n<f;){for(a=maxInt,s=0;s<f;++s)(p=e[s])>=t&&p<a&&(a=p);for(a-t>floor((maxInt-r)/(h=n+1))&&error("overflow"),r+=(a-t)*h,t=a,s=0;s<f;++s)if((p=e[s])<t&&++r>maxInt&&error("overflow"),p==t){for(u=r,c=base;!(u<(l=c<=o?tMin:c>=o+tMax?tMax:c-o));c+=base)g=u-l,d=base-l,m.push(stringFromCharCode(digitToBasic(l+g%d,0))),u=floor(g/d);m.push(stringFromCharCode(digitToBasic(u,0))),o=adapt(r,h,n==i),r=0,++n}++r,++t}return m.join("")}function toASCII(e){return mapDomain(e,(function(e){return regexNonASCII.test(e)?"xn--"+encode(e):e}))}function hasOwnProperty(e,t){return Object.prototype.hasOwnProperty.call(e,t)}var isArray=Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)};function stringifyPrimitive(e){switch(typeof e){case"string":return e;case"boolean":return e?"true":"false";case"number":return isFinite(e)?e:"";default:return""}}function stringify(e,t,r,n){return t=t||"&",r=r||"=",null===e&&(e=void 0),"object"==typeof e?map(objectKeys(e),(function(n){var i=encodeURIComponent(stringifyPrimitive(n))+r;return isArray(e[n])?map(e[n],(function(e){return i+encodeURIComponent(stringifyPrimitive(e))})).join(t):i+encodeURIComponent(stringifyPrimitive(e[n]))})).join(t):n?encodeURIComponent(stringifyPrimitive(n))+r+encodeURIComponent(stringifyPrimitive(e)):""}function map(e,t){if(e.map)return e.map(t);for(var r=[],n=0;n<e.length;n++)r.push(t(e[n],n));return r}var objectKeys=Object.keys||function(e){var t=[];for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.push(r);return t};function parse$1(e,t,r,n){t=t||"&",r=r||"=";var i={};if("string"!=typeof e||0===e.length)return i;var o=/\+/g;e=e.split(t);var s=1e3;n&&"number"==typeof n.maxKeys&&(s=n.maxKeys);var a=e.length;s>0&&a>s&&(a=s);for(var u=0;u<a;++u){var c,l,p,f,h=e[u].replace(o,"%20"),d=h.indexOf(r);d>=0?(c=h.substr(0,d),l=h.substr(d+1)):(c=h,l=""),p=decodeURIComponent(c),f=decodeURIComponent(l),hasOwnProperty(i,p)?isArray(i[p])?i[p].push(f):i[p]=[i[p],f]:i[p]=f}return i}var querystring={encode:stringify,stringify:stringify,decode:parse$1,parse:parse$1};const URL=global$1.URL,URLSearchParams=global$1.URLSearchParams;var url$1={parse:urlParse,resolve:urlResolve,resolveObject:urlResolveObject,fileURLToPath:urlFileURLToPath,format:urlFormat,Url:Url,URL:URL,URLSearchParams:URLSearchParams};function Url(){this.protocol=null,this.slashes=null,this.auth=null,this.host=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.query=null,this.pathname=null,this.path=null,this.href=null}var protocolPattern=/^([a-z0-9.+-]+:)/i,portPattern=/:[0-9]*$/,simplePathPattern=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,delims=["<",">",'"',"`"," ","\r","\n","\t"],unwise=["{","}","|","\\","^","`"].concat(delims),autoEscape=["'"].concat(unwise),nonHostChars=["%","/","?",";","#"].concat(autoEscape),hostEndingChars=["/","?","#"],hostnameMaxLen=255,hostnamePartPattern=/^[+a-z0-9A-Z_-]{0,63}$/,hostnamePartStart=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,unsafeProtocol={javascript:!0,"javascript:":!0},hostlessProtocol={javascript:!0,"javascript:":!0},slashedProtocol={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0};function urlParse(e,t,r){if(e&&isObject$4(e)&&e instanceof Url)return e;var n=new Url;return n.parse(e,t,r),n}function parse(e,t,r,n){if(!isString(t))throw new TypeError("Parameter 'url' must be a string, not "+typeof t);var i=t.indexOf("?"),o=-1!==i&&i<t.indexOf("#")?"?":"#",s=t.split(o);s[0]=s[0].replace(/\\/g,"/");var a=t=s.join(o);if(a=a.trim(),!n&&1===t.split("#").length){var u=simplePathPattern.exec(a);if(u)return e.path=a,e.href=a,e.pathname=u[1],u[2]?(e.search=u[2],e.query=r?parse$1(e.search.substr(1)):e.search.substr(1)):r&&(e.search="",e.query={}),e}var c,l,p,f,h=protocolPattern.exec(a);if(h){var d=(h=h[0]).toLowerCase();e.protocol=d,a=a.substr(h.length)}if(n||h||a.match(/^\/\/[^@\/]+@[^@\/]+/)){var g="//"===a.substr(0,2);!g||h&&hostlessProtocol[h]||(a=a.substr(2),e.slashes=!0)}if(!hostlessProtocol[h]&&(g||h&&!slashedProtocol[h])){var m,y,v=-1;for(c=0;c<hostEndingChars.length;c++)-1!==(l=a.indexOf(hostEndingChars[c]))&&(-1===v||l<v)&&(v=l);for(-1!==(y=-1===v?a.lastIndexOf("@"):a.lastIndexOf("@",v))&&(m=a.slice(0,y),a=a.slice(y+1),e.auth=decodeURIComponent(m)),v=-1,c=0;c<nonHostChars.length;c++)-1!==(l=a.indexOf(nonHostChars[c]))&&(-1===v||l<v)&&(v=l);-1===v&&(v=a.length),e.host=a.slice(0,v),a=a.slice(v),parseHost(e),e.hostname=e.hostname||"";var b="["===e.hostname[0]&&"]"===e.hostname[e.hostname.length-1];if(!b){var _=e.hostname.split(/\./);for(c=0,p=_.length;c<p;c++){var A=_[c];if(A&&!A.match(hostnamePartPattern)){for(var S="",w=0,x=A.length;w<x;w++)A.charCodeAt(w)>127?S+="x":S+=A[w];if(!S.match(hostnamePartPattern)){var E=_.slice(0,c),C=_.slice(c+1),R=A.match(hostnamePartStart);R&&(E.push(R[1]),C.unshift(R[2])),C.length&&(a="/"+C.join(".")+a),e.hostname=E.join(".");break}}}}e.hostname.length>hostnameMaxLen?e.hostname="":e.hostname=e.hostname.toLowerCase(),b||(e.hostname=toASCII(e.hostname)),f=e.port?":"+e.port:"";var k=e.hostname||"";e.host=k+f,e.href+=e.host,b&&(e.hostname=e.hostname.substr(1,e.hostname.length-2),"/"!==a[0]&&(a="/"+a))}if(!unsafeProtocol[d])for(c=0,p=autoEscape.length;c<p;c++){var $=autoEscape[c];if(-1!==a.indexOf($)){var O=encodeURIComponent($);O===$&&(O=escape($)),a=a.split($).join(O)}}var L=a.indexOf("#");-1!==L&&(e.hash=a.substr(L),a=a.slice(0,L));var B=a.indexOf("?");if(-1!==B?(e.search=a.substr(B),e.query=a.substr(B+1),r&&(e.query=parse$1(e.query)),a=a.slice(0,B)):r&&(e.search="",e.query={}),a&&(e.pathname=a),slashedProtocol[d]&&e.hostname&&!e.pathname&&(e.pathname="/"),e.pathname||e.search){f=e.pathname||"";var I=e.search||"";e.path=f+I}return e.href=format(e),e}function urlFileURLToPath(e){if("string"==typeof e)e=(new Url).parse(e);else if(!(e instanceof Url))throw new TypeError('The "path" argument must be of type string or an instance of URL. Received type '+typeof e+String(e));if("file:"!==e.protocol)throw new TypeError("The URL must be of scheme file");return getPathFromURLPosix(e)}function getPathFromURLPosix(e){const t=e.pathname;for(let e=0;e<t.length;e++)if("%"===t[e]){const r=32|t.codePointAt(e+2);if("2"===t[e+1]&&102===r)throw new TypeError("must not include encoded / characters")}return decodeURIComponent(t)}function urlFormat(e){return isString(e)&&(e=parse({},e)),format(e)}function format(e){var t=e.auth||"";t&&(t=(t=encodeURIComponent(t)).replace(/%3A/i,":"),t+="@");var r=e.protocol||"",n=e.pathname||"",i=e.hash||"",o=!1,s="";e.host?o=t+e.host:e.hostname&&(o=t+(-1===e.hostname.indexOf(":")?e.hostname:"["+this.hostname+"]"),e.port&&(o+=":"+e.port)),e.query&&isObject$4(e.query)&&Object.keys(e.query).length&&(s=stringify(e.query));var a=e.search||s&&"?"+s||"";return r&&":"!==r.substr(-1)&&(r+=":"),e.slashes||(!r||slashedProtocol[r])&&!1!==o?(o="//"+(o||""),n&&"/"!==n.charAt(0)&&(n="/"+n)):o||(o=""),i&&"#"!==i.charAt(0)&&(i="#"+i),a&&"?"!==a.charAt(0)&&(a="?"+a),n=n.replace(/[?#]/g,(function(e){return encodeURIComponent(e)})),r+o+n+(a=a.replace("#","%23"))+i}function urlResolve(e,t){return urlParse(e,!1,!0).resolve(t)}function urlResolveObject(e,t){return e?urlParse(e,!1,!0).resolveObject(t):t}function parseHost(e){var t=e.host,r=portPattern.exec(t);r&&(":"!==(r=r[0])&&(e.port=r.substr(1)),t=t.substr(0,t.length-r.length)),t&&(e.hostname=t)}Url.prototype.parse=function(e,t,r){return parse(this,e,t,r)},Url.prototype.format=function(){return format(this)},Url.prototype.resolve=function(e){return this.resolveObject(urlParse(e,!1,!0)).format()},Url.prototype.resolveObject=function(e){if(isString(e)){var t=new Url;t.parse(e,!1,!0),e=t}for(var r,n=new Url,i=Object.keys(this),o=0;o<i.length;o++){var s=i[o];n[s]=this[s]}if(n.hash=e.hash,""===e.href)return n.href=n.format(),n;if(e.slashes&&!e.protocol){for(var a=Object.keys(e),u=0;u<a.length;u++){var c=a[u];"protocol"!==c&&(n[c]=e[c])}return slashedProtocol[n.protocol]&&n.hostname&&!n.pathname&&(n.path=n.pathname="/"),n.href=n.format(),n}if(e.protocol&&e.protocol!==n.protocol){if(!slashedProtocol[e.protocol]){for(var l=Object.keys(e),p=0;p<l.length;p++){var f=l[p];n[f]=e[f]}return n.href=n.format(),n}if(n.protocol=e.protocol,e.host||hostlessProtocol[e.protocol])n.pathname=e.pathname;else{for(r=(e.pathname||"").split("/");r.length&&!(e.host=r.shift()););e.host||(e.host=""),e.hostname||(e.hostname=""),""!==r[0]&&r.unshift(""),r.length<2&&r.unshift(""),n.pathname=r.join("/")}if(n.search=e.search,n.query=e.query,n.host=e.host||"",n.auth=e.auth,n.hostname=e.hostname||e.host,n.port=e.port,n.pathname||n.search){var h=n.pathname||"",d=n.search||"";n.path=h+d}return n.slashes=n.slashes||e.slashes,n.href=n.format(),n}var g,m=n.pathname&&"/"===n.pathname.charAt(0),y=e.host||e.pathname&&"/"===e.pathname.charAt(0),v=y||m||n.host&&e.pathname,b=v,_=n.pathname&&n.pathname.split("/")||[],A=n.protocol&&!slashedProtocol[n.protocol];if(r=e.pathname&&e.pathname.split("/")||[],A&&(n.hostname="",n.port=null,n.host&&(""===_[0]?_[0]=n.host:_.unshift(n.host)),n.host="",e.protocol&&(e.hostname=null,e.port=null,e.host&&(""===r[0]?r[0]=e.host:r.unshift(e.host)),e.host=null),v=v&&(""===r[0]||""===_[0])),y)n.host=e.host||""===e.host?e.host:n.host,n.hostname=e.hostname||""===e.hostname?e.hostname:n.hostname,n.search=e.search,n.query=e.query,_=r;else if(r.length)_||(_=[]),_.pop(),_=_.concat(r),n.search=e.search,n.query=e.query;else if(!isNullOrUndefined(e.search))return A&&(n.hostname=n.host=_.shift(),(g=!!(n.host&&n.host.indexOf("@")>0)&&n.host.split("@"))&&(n.auth=g.shift(),n.host=n.hostname=g.shift())),n.search=e.search,n.query=e.query,isNull(n.pathname)&&isNull(n.search)||(n.path=(n.pathname?n.pathname:"")+(n.search?n.search:"")),n.href=n.format(),n;if(!_.length)return n.pathname=null,n.search?n.path="/"+n.search:n.path=null,n.href=n.format(),n;for(var S=_.slice(-1)[0],w=(n.host||e.host||_.length>1)&&("."===S||".."===S)||""===S,x=0,E=_.length;E>=0;E--)"."===(S=_[E])?_.splice(E,1):".."===S?(_.splice(E,1),x++):x&&(_.splice(E,1),x--);if(!v&&!b)for(;x--;x)_.unshift("..");!v||""===_[0]||_[0]&&"/"===_[0].charAt(0)||_.unshift(""),w&&"/"!==_.join("/").substr(-1)&&_.push("");var C=""===_[0]||_[0]&&"/"===_[0].charAt(0);return A&&(n.hostname=n.host=C?"":_.length?_.shift():"",(g=!!(n.host&&n.host.indexOf("@")>0)&&n.host.split("@"))&&(n.auth=g.shift(),n.host=n.hostname=g.shift())),(v=v||n.host&&_.length)&&!C&&_.unshift(""),_.length?n.pathname=_.join("/"):(n.pathname=null,n.path=null),isNull(n.pathname)&&isNull(n.search)||(n.path=(n.pathname?n.pathname:"")+(n.search?n.search:"")),n.auth=e.auth||n.auth,n.slashes=n.slashes||e.slashes,n.href=n.format(),n},Url.prototype.parseHost=function(){return parseHost(this)};var url_1=createCommonjsModule((function(e){var t=e.exports;t.encodeURI=function(e){if(handlebarsUtils.isString(e))return encodeURIComponent(e)},t.escape=function(e){if(handlebarsUtils.isString(e))return querystring.escape(e)},t.decodeURI=function(e){if(handlebarsUtils.isString(e))return decodeURIComponent(e)},t.urlResolve=function(e,t){return url$1.resolve(e,t)},t.urlParse=function(e){return url$1.parse(e)},t.stripQuerystring=function(e){if(handlebarsUtils.isString(e))return e.split("?")[0]},t.stripProtocol=function(e){if(handlebarsUtils.isString(e)){var t=url$1.parse(e);return t.protocol="",t.format()}}})),_default=rng;let getRandomValues;const rnds8=new Uint8Array(16);function rng(){if(!getRandomValues&&(getRandomValues="undefined"!=typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto),!getRandomValues))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return getRandomValues(rnds8)}var rng_1=Object.defineProperty({default:_default},"__esModule",{value:!0}),regex$1=createCommonjsModule((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i})),validate_1=createCommonjsModule((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,n=(r=regex$1)&&r.__esModule?r:{default:r};var i=function(e){return"string"==typeof e&&n.default.test(e)};t.default=i})),stringify_1=createCommonjsModule((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.unsafeStringify=o;var r,n=(r=validate_1)&&r.__esModule?r:{default:r};const i=[];for(let e=0;e<256;++e)i.push((e+256).toString(16).slice(1));function o(e,t=0){return i[e[t+0]]+i[e[t+1]]+i[e[t+2]]+i[e[t+3]]+"-"+i[e[t+4]]+i[e[t+5]]+"-"+i[e[t+6]]+i[e[t+7]]+"-"+i[e[t+8]]+i[e[t+9]]+"-"+i[e[t+10]]+i[e[t+11]]+i[e[t+12]]+i[e[t+13]]+i[e[t+14]]+i[e[t+15]]}var s=function(e,t=0){const r=o(e,t);if(!(0,n.default)(r))throw TypeError("Stringified UUID is invalid");return r};t.default=s})),v1_1=createCommonjsModule((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,n=(r=rng_1)&&r.__esModule?r:{default:r};let i,o,s=0,a=0;var u=function(e,t,r){let u=t&&r||0;const c=t||new Array(16);let l=(e=e||{}).node||i,p=void 0!==e.clockseq?e.clockseq:o;if(null==l||null==p){const t=e.random||(e.rng||n.default)();null==l&&(l=i=[1|t[0],t[1],t[2],t[3],t[4],t[5]]),null==p&&(p=o=16383&(t[6]<<8|t[7]))}let f=void 0!==e.msecs?e.msecs:Date.now(),h=void 0!==e.nsecs?e.nsecs:a+1;const d=f-s+(h-a)/1e4;if(d<0&&void 0===e.clockseq&&(p=p+1&16383),(d<0||f>s)&&void 0===e.nsecs&&(h=0),h>=1e4)throw new Error("uuid.v1(): Can't create more than 10M uuids/sec");s=f,a=h,o=p,f+=122192928e5;const g=(1e4*(268435455&f)+h)%4294967296;c[u++]=g>>>24&255,c[u++]=g>>>16&255,c[u++]=g>>>8&255,c[u++]=255&g;const m=f/4294967296*1e4&268435455;c[u++]=m>>>8&255,c[u++]=255&m,c[u++]=m>>>24&15|16,c[u++]=m>>>16&255,c[u++]=p>>>8|128,c[u++]=255&p;for(let e=0;e<6;++e)c[u+e]=l[e];return t||(0,stringify_1.unsafeStringify)(c)};t.default=u})),parse_1=createCommonjsModule((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,n=(r=validate_1)&&r.__esModule?r:{default:r};var i=function(e){if(!(0,n.default)(e))throw TypeError("Invalid UUID");let t;const r=new Uint8Array(16);return r[0]=(t=parseInt(e.slice(0,8),16))>>>24,r[1]=t>>>16&255,r[2]=t>>>8&255,r[3]=255&t,r[4]=(t=parseInt(e.slice(9,13),16))>>>8,r[5]=255&t,r[6]=(t=parseInt(e.slice(14,18),16))>>>8,r[7]=255&t,r[8]=(t=parseInt(e.slice(19,23),16))>>>8,r[9]=255&t,r[10]=(t=parseInt(e.slice(24,36),16))/1099511627776&255,r[11]=t/4294967296&255,r[12]=t>>>24&255,r[13]=t>>>16&255,r[14]=t>>>8&255,r[15]=255&t,r};t.default=i})),v35_1=createCommonjsModule((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.URL=t.DNS=void 0,t.default=function(e,t,r){function s(e,i,o,s){var a;if("string"==typeof e&&(e=function(e){e=unescape(encodeURIComponent(e));const t=[];for(let r=0;r<e.length;++r)t.push(e.charCodeAt(r));return t}(e)),"string"==typeof i&&(i=(0,n.default)(i)),16!==(null===(a=i)||void 0===a?void 0:a.length))throw TypeError("Namespace must be array-like (16 iterable integer values, 0-255)");let u=new Uint8Array(16+e.length);if(u.set(i),u.set(e,i.length),u=r(u),u[6]=15&u[6]|t,u[8]=63&u[8]|128,o){s=s||0;for(let e=0;e<16;++e)o[s+e]=u[e];return o}return(0,stringify_1.unsafeStringify)(u)}try{s.name=e}catch(e){}return s.DNS=i,s.URL=o,s};var r,n=(r=parse_1)&&r.__esModule?r:{default:r};const i="6ba7b810-9dad-11d1-80b4-00c04fd430c8";t.DNS=i;const o="6ba7b811-9dad-11d1-80b4-00c04fd430c8";t.URL=o})),md5_1=createCommonjsModule((function(e,t){function r(e){return 14+(e+64>>>9<<4)+1}function n(e,t){const r=(65535&e)+(65535&t);return(e>>16)+(t>>16)+(r>>16)<<16|65535&r}function i(e,t,r,i,o,s){return n((a=n(n(t,e),n(i,s)))<<(u=o)|a>>>32-u,r);var a,u}function o(e,t,r,n,o,s,a){return i(t&r|~t&n,e,t,o,s,a)}function s(e,t,r,n,o,s,a){return i(t&n|r&~n,e,t,o,s,a)}function a(e,t,r,n,o,s,a){return i(t^r^n,e,t,o,s,a)}function u(e,t,r,n,o,s,a){return i(r^(t|~n),e,t,o,s,a)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var c=function(e){if("string"==typeof e){const t=unescape(encodeURIComponent(e));e=new Uint8Array(t.length);for(let r=0;r<t.length;++r)e[r]=t.charCodeAt(r)}return function(e){const t=[],r=32*e.length,n="0123456789abcdef";for(let i=0;i<r;i+=8){const r=e[i>>5]>>>i%32&255,o=parseInt(n.charAt(r>>>4&15)+n.charAt(15&r),16);t.push(o)}return t}(function(e,t){e[t>>5]|=128<<t%32,e[r(t)-1]=t;let i=1732584193,c=-271733879,l=-1732584194,p=271733878;for(let t=0;t<e.length;t+=16){const r=i,f=c,h=l,d=p;i=o(i,c,l,p,e[t],7,-680876936),p=o(p,i,c,l,e[t+1],12,-389564586),l=o(l,p,i,c,e[t+2],17,606105819),c=o(c,l,p,i,e[t+3],22,-1044525330),i=o(i,c,l,p,e[t+4],7,-176418897),p=o(p,i,c,l,e[t+5],12,1200080426),l=o(l,p,i,c,e[t+6],17,-1473231341),c=o(c,l,p,i,e[t+7],22,-45705983),i=o(i,c,l,p,e[t+8],7,1770035416),p=o(p,i,c,l,e[t+9],12,-1958414417),l=o(l,p,i,c,e[t+10],17,-42063),c=o(c,l,p,i,e[t+11],22,-1990404162),i=o(i,c,l,p,e[t+12],7,1804603682),p=o(p,i,c,l,e[t+13],12,-40341101),l=o(l,p,i,c,e[t+14],17,-1502002290),c=o(c,l,p,i,e[t+15],22,1236535329),i=s(i,c,l,p,e[t+1],5,-165796510),p=s(p,i,c,l,e[t+6],9,-1069501632),l=s(l,p,i,c,e[t+11],14,643717713),c=s(c,l,p,i,e[t],20,-373897302),i=s(i,c,l,p,e[t+5],5,-701558691),p=s(p,i,c,l,e[t+10],9,38016083),l=s(l,p,i,c,e[t+15],14,-660478335),c=s(c,l,p,i,e[t+4],20,-405537848),i=s(i,c,l,p,e[t+9],5,568446438),p=s(p,i,c,l,e[t+14],9,-1019803690),l=s(l,p,i,c,e[t+3],14,-187363961),c=s(c,l,p,i,e[t+8],20,1163531501),i=s(i,c,l,p,e[t+13],5,-1444681467),p=s(p,i,c,l,e[t+2],9,-51403784),l=s(l,p,i,c,e[t+7],14,1735328473),c=s(c,l,p,i,e[t+12],20,-1926607734),i=a(i,c,l,p,e[t+5],4,-378558),p=a(p,i,c,l,e[t+8],11,-2022574463),l=a(l,p,i,c,e[t+11],16,1839030562),c=a(c,l,p,i,e[t+14],23,-35309556),i=a(i,c,l,p,e[t+1],4,-1530992060),p=a(p,i,c,l,e[t+4],11,1272893353),l=a(l,p,i,c,e[t+7],16,-155497632),c=a(c,l,p,i,e[t+10],23,-1094730640),i=a(i,c,l,p,e[t+13],4,681279174),p=a(p,i,c,l,e[t],11,-358537222),l=a(l,p,i,c,e[t+3],16,-722521979),c=a(c,l,p,i,e[t+6],23,76029189),i=a(i,c,l,p,e[t+9],4,-640364487),p=a(p,i,c,l,e[t+12],11,-421815835),l=a(l,p,i,c,e[t+15],16,530742520),c=a(c,l,p,i,e[t+2],23,-995338651),i=u(i,c,l,p,e[t],6,-198630844),p=u(p,i,c,l,e[t+7],10,1126891415),l=u(l,p,i,c,e[t+14],15,-1416354905),c=u(c,l,p,i,e[t+5],21,-57434055),i=u(i,c,l,p,e[t+12],6,1700485571),p=u(p,i,c,l,e[t+3],10,-1894986606),l=u(l,p,i,c,e[t+10],15,-1051523),c=u(c,l,p,i,e[t+1],21,-2054922799),i=u(i,c,l,p,e[t+8],6,1873313359),p=u(p,i,c,l,e[t+15],10,-30611744),l=u(l,p,i,c,e[t+6],15,-1560198380),c=u(c,l,p,i,e[t+13],21,1309151649),i=u(i,c,l,p,e[t+4],6,-145523070),p=u(p,i,c,l,e[t+11],10,-1120210379),l=u(l,p,i,c,e[t+2],15,718787259),c=u(c,l,p,i,e[t+9],21,-343485551),i=n(i,r),c=n(c,f),l=n(l,h),p=n(p,d)}return[i,c,l,p]}(function(e){if(0===e.length)return[];const t=8*e.length,n=new Uint32Array(r(t));for(let r=0;r<t;r+=8)n[r>>5]|=(255&e[r/8])<<r%32;return n}(e),8*e.length))};t.default=c})),v3_1=createCommonjsModule((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=i(v35_1),n=i(md5_1);function i(e){return e&&e.__esModule?e:{default:e}}var o=(0,r.default)("v3",48,n.default);t.default=o})),native=createCommonjsModule((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r={randomUUID:"undefined"!=typeof crypto&&crypto.randomUUID&&crypto.randomUUID.bind(crypto)};t.default=r})),v4_1=createCommonjsModule((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=i(native),n=i(rng_1);function i(e){return e&&e.__esModule?e:{default:e}}var o=function(e,t,i){if(r.default.randomUUID&&!t&&!e)return r.default.randomUUID();const o=(e=e||{}).random||(e.rng||n.default)();if(o[6]=15&o[6]|64,o[8]=63&o[8]|128,t){i=i||0;for(let e=0;e<16;++e)t[i+e]=o[e];return t}return(0,stringify_1.unsafeStringify)(o)};t.default=o})),sha1_1=createCommonjsModule((function(e,t){function r(e,t,r,n){switch(e){case 0:return t&r^~t&n;case 1:case 3:return t^r^n;case 2:return t&r^t&n^r&n}}function n(e,t){return e<<t|e>>>32-t}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=function(e){const t=[1518500249,1859775393,2400959708,3395469782],i=[1732584193,4023233417,2562383102,271733878,3285377520];if("string"==typeof e){const t=unescape(encodeURIComponent(e));e=[];for(let r=0;r<t.length;++r)e.push(t.charCodeAt(r))}else Array.isArray(e)||(e=Array.prototype.slice.call(e));e.push(128);const o=e.length/4+2,s=Math.ceil(o/16),a=new Array(s);for(let t=0;t<s;++t){const r=new Uint32Array(16);for(let n=0;n<16;++n)r[n]=e[64*t+4*n]<<24|e[64*t+4*n+1]<<16|e[64*t+4*n+2]<<8|e[64*t+4*n+3];a[t]=r}a[s-1][14]=8*(e.length-1)/Math.pow(2,32),a[s-1][14]=Math.floor(a[s-1][14]),a[s-1][15]=8*(e.length-1)&4294967295;for(let e=0;e<s;++e){const o=new Uint32Array(80);for(let t=0;t<16;++t)o[t]=a[e][t];for(let e=16;e<80;++e)o[e]=n(o[e-3]^o[e-8]^o[e-14]^o[e-16],1);let s=i[0],u=i[1],c=i[2],l=i[3],p=i[4];for(let e=0;e<80;++e){const i=Math.floor(e/20),a=n(s,5)+r(i,u,c,l)+p+t[i]+o[e]>>>0;p=l,l=c,c=n(u,30)>>>0,u=s,s=a}i[0]=i[0]+s>>>0,i[1]=i[1]+u>>>0,i[2]=i[2]+c>>>0,i[3]=i[3]+l>>>0,i[4]=i[4]+p>>>0}return[i[0]>>24&255,i[0]>>16&255,i[0]>>8&255,255&i[0],i[1]>>24&255,i[1]>>16&255,i[1]>>8&255,255&i[1],i[2]>>24&255,i[2]>>16&255,i[2]>>8&255,255&i[2],i[3]>>24&255,i[3]>>16&255,i[3]>>8&255,255&i[3],i[4]>>24&255,i[4]>>16&255,i[4]>>8&255,255&i[4]]};t.default=i})),v5_1=createCommonjsModule((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=i(v35_1),n=i(sha1_1);function i(e){return e&&e.__esModule?e:{default:e}}var o=(0,r.default)("v5",80,n.default);t.default=o})),nil=createCommonjsModule((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default="00000000-0000-0000-0000-000000000000"})),version_1=createCommonjsModule((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,n=(r=validate_1)&&r.__esModule?r:{default:r};var i=function(e){if(!(0,n.default)(e))throw TypeError("Invalid UUID");return parseInt(e.slice(14,15),16)};t.default=i})),commonjsBrowser=createCommonjsModule((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"NIL",{enumerable:!0,get:function(){return s.default}}),Object.defineProperty(t,"parse",{enumerable:!0,get:function(){return l.default}}),Object.defineProperty(t,"stringify",{enumerable:!0,get:function(){return c.default}}),Object.defineProperty(t,"v1",{enumerable:!0,get:function(){return r.default}}),Object.defineProperty(t,"v3",{enumerable:!0,get:function(){return n.default}}),Object.defineProperty(t,"v4",{enumerable:!0,get:function(){return i.default}}),Object.defineProperty(t,"v5",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(t,"validate",{enumerable:!0,get:function(){return u.default}}),Object.defineProperty(t,"version",{enumerable:!0,get:function(){return a.default}});var r=p(v1_1),n=p(v3_1),i=p(v4_1),o=p(v5_1),s=p(nil),a=p(version_1),u=p(validate_1),c=p(stringify_1),l=p(parse_1);function p(e){return e&&e.__esModule?e:{default:e}}})),uuid$1=commonjsBrowser,uuid_1=createCommonjsModule((function(e){e.exports.uuid=function(){return uuid$1.v4()}})),lib={array:array$1,code:code,collection:collection,comparison:comparison$1,html:html_1,i18n:i18n,inflection:inflection,match:match,math:math$1,misc:misc,number:number$1,object:object$1,path:path_1,regex:regex$2,string:string$1,url:url_1,uuid:uuid_1},handlebarsHelpers=createCommonjsModule((function(e){e.exports=function(t,r){"string"==typeof t?t=[t]:Array.isArray(t)||(r=t,t=null);var n=(r=r||{}).handlebars||r.hbs||handlebars;if(e.exports.handlebars=n,t)t.forEach((function(e){n.registerHelper(lib[e])}));else for(const e in lib){const t=lib[e];n.registerHelper(t)}return n.helpers};for(const t in lib){const r=lib[t];e.exports[t]=function(t){var n=(t=t||{}).handlebars||t.hbs||handlebars;return e.exports.handlebars=n,n.registerHelper(r),r}}e.exports.utils=utils$2})),dayjs_min=createCommonjsModule((function(e,t){e.exports=function(){var e=1e3,t=6e4,r=36e5,n="millisecond",i="second",o="minute",s="hour",a="day",u="week",c="month",l="quarter",p="year",f="date",h="Invalid Date",d=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,g=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,m={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(e){var t=["th","st","nd","rd"],r=e%100;return"["+e+(t[(r-20)%10]||t[r]||t[0])+"]"}},y=function(e,t,r){var n=String(e);return!n||n.length>=t?e:""+Array(t+1-n.length).join(r)+e},v={s:y,z:function(e){var t=-e.utcOffset(),r=Math.abs(t),n=Math.floor(r/60),i=r%60;return(t<=0?"+":"-")+y(n,2,"0")+":"+y(i,2,"0")},m:function e(t,r){if(t.date()<r.date())return-e(r,t);var n=12*(r.year()-t.year())+(r.month()-t.month()),i=t.clone().add(n,c),o=r-i<0,s=t.clone().add(n+(o?-1:1),c);return+(-(n+(r-i)/(o?i-s:s-i))||0)},a:function(e){return e<0?Math.ceil(e)||0:Math.floor(e)},p:function(e){return{M:c,y:p,w:u,d:a,D:f,h:s,m:o,s:i,ms:n,Q:l}[e]||String(e||"").toLowerCase().replace(/s$/,"")},u:function(e){return void 0===e}},b="en",_={};_[b]=m;var A="$isDayjsObject",S=function(e){return e instanceof C||!(!e||!e[A])},w=function e(t,r,n){var i;if(!t)return b;if("string"==typeof t){var o=t.toLowerCase();_[o]&&(i=o),r&&(_[o]=r,i=o);var s=t.split("-");if(!i&&s.length>1)return e(s[0])}else{var a=t.name;_[a]=t,i=a}return!n&&i&&(b=i),i||!n&&b},x=function(e,t){if(S(e))return e.clone();var r="object"==typeof t?t:{};return r.date=e,r.args=arguments,new C(r)},E=v;E.l=w,E.i=S,E.w=function(e,t){return x(e,{locale:t.$L,utc:t.$u,x:t.$x,$offset:t.$offset})};var C=function(){function m(e){this.$L=w(e.locale,null,!0),this.parse(e),this.$x=this.$x||e.x||{},this[A]=!0}var y=m.prototype;return y.parse=function(e){this.$d=function(e){var t=e.date,r=e.utc;if(null===t)return new Date(NaN);if(E.u(t))return new Date;if(t instanceof Date)return new Date(t);if("string"==typeof t&&!/Z$/i.test(t)){var n=t.match(d);if(n){var i=n[2]-1||0,o=(n[7]||"0").substring(0,3);return r?new Date(Date.UTC(n[1],i,n[3]||1,n[4]||0,n[5]||0,n[6]||0,o)):new Date(n[1],i,n[3]||1,n[4]||0,n[5]||0,n[6]||0,o)}}return new Date(t)}(e),this.init()},y.init=function(){var e=this.$d;this.$y=e.getFullYear(),this.$M=e.getMonth(),this.$D=e.getDate(),this.$W=e.getDay(),this.$H=e.getHours(),this.$m=e.getMinutes(),this.$s=e.getSeconds(),this.$ms=e.getMilliseconds()},y.$utils=function(){return E},y.isValid=function(){return!(this.$d.toString()===h)},y.isSame=function(e,t){var r=x(e);return this.startOf(t)<=r&&r<=this.endOf(t)},y.isAfter=function(e,t){return x(e)<this.startOf(t)},y.isBefore=function(e,t){return this.endOf(t)<x(e)},y.$g=function(e,t,r){return E.u(e)?this[t]:this.set(r,e)},y.unix=function(){return Math.floor(this.valueOf()/1e3)},y.valueOf=function(){return this.$d.getTime()},y.startOf=function(e,t){var r=this,n=!!E.u(t)||t,l=E.p(e),h=function(e,t){var i=E.w(r.$u?Date.UTC(r.$y,t,e):new Date(r.$y,t,e),r);return n?i:i.endOf(a)},d=function(e,t){return E.w(r.toDate()[e].apply(r.toDate("s"),(n?[0,0,0,0]:[23,59,59,999]).slice(t)),r)},g=this.$W,m=this.$M,y=this.$D,v="set"+(this.$u?"UTC":"");switch(l){case p:return n?h(1,0):h(31,11);case c:return n?h(1,m):h(0,m+1);case u:var b=this.$locale().weekStart||0,_=(g<b?g+7:g)-b;return h(n?y-_:y+(6-_),m);case a:case f:return d(v+"Hours",0);case s:return d(v+"Minutes",1);case o:return d(v+"Seconds",2);case i:return d(v+"Milliseconds",3);default:return this.clone()}},y.endOf=function(e){return this.startOf(e,!1)},y.$set=function(e,t){var r,u=E.p(e),l="set"+(this.$u?"UTC":""),h=(r={},r[a]=l+"Date",r[f]=l+"Date",r[c]=l+"Month",r[p]=l+"FullYear",r[s]=l+"Hours",r[o]=l+"Minutes",r[i]=l+"Seconds",r[n]=l+"Milliseconds",r)[u],d=u===a?this.$D+(t-this.$W):t;if(u===c||u===p){var g=this.clone().set(f,1);g.$d[h](d),g.init(),this.$d=g.set(f,Math.min(this.$D,g.daysInMonth())).$d}else h&&this.$d[h](d);return this.init(),this},y.set=function(e,t){return this.clone().$set(e,t)},y.get=function(e){return this[E.p(e)]()},y.add=function(n,l){var f,h=this;n=Number(n);var d=E.p(l),g=function(e){var t=x(h);return E.w(t.date(t.date()+Math.round(e*n)),h)};if(d===c)return this.set(c,this.$M+n);if(d===p)return this.set(p,this.$y+n);if(d===a)return g(1);if(d===u)return g(7);var m=(f={},f[o]=t,f[s]=r,f[i]=e,f)[d]||1,y=this.$d.getTime()+n*m;return E.w(y,this)},y.subtract=function(e,t){return this.add(-1*e,t)},y.format=function(e){var t=this,r=this.$locale();if(!this.isValid())return r.invalidDate||h;var n=e||"YYYY-MM-DDTHH:mm:ssZ",i=E.z(this),o=this.$H,s=this.$m,a=this.$M,u=r.weekdays,c=r.months,l=r.meridiem,p=function(e,r,i,o){return e&&(e[r]||e(t,n))||i[r].slice(0,o)},f=function(e){return E.s(o%12||12,e,"0")},d=l||function(e,t,r){var n=e<12?"AM":"PM";return r?n.toLowerCase():n};return n.replace(g,(function(e,n){return n||function(e){switch(e){case"YY":return String(t.$y).slice(-2);case"YYYY":return E.s(t.$y,4,"0");case"M":return a+1;case"MM":return E.s(a+1,2,"0");case"MMM":return p(r.monthsShort,a,c,3);case"MMMM":return p(c,a);case"D":return t.$D;case"DD":return E.s(t.$D,2,"0");case"d":return String(t.$W);case"dd":return p(r.weekdaysMin,t.$W,u,2);case"ddd":return p(r.weekdaysShort,t.$W,u,3);case"dddd":return u[t.$W];case"H":return String(o);case"HH":return E.s(o,2,"0");case"h":return f(1);case"hh":return f(2);case"a":return d(o,s,!0);case"A":return d(o,s,!1);case"m":return String(s);case"mm":return E.s(s,2,"0");case"s":return String(t.$s);case"ss":return E.s(t.$s,2,"0");case"SSS":return E.s(t.$ms,3,"0");case"Z":return i}return null}(e)||i.replace(":","")}))},y.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},y.diff=function(n,f,h){var d,g=this,m=E.p(f),y=x(n),v=(y.utcOffset()-this.utcOffset())*t,b=this-y,_=function(){return E.m(g,y)};switch(m){case p:d=_()/12;break;case c:d=_();break;case l:d=_()/3;break;case u:d=(b-v)/6048e5;break;case a:d=(b-v)/864e5;break;case s:d=b/r;break;case o:d=b/t;break;case i:d=b/e;break;default:d=b}return h?d:E.a(d)},y.daysInMonth=function(){return this.endOf(c).$D},y.$locale=function(){return _[this.$L]},y.locale=function(e,t){if(!e)return this.$L;var r=this.clone(),n=w(e,t,!0);return n&&(r.$L=n),r},y.clone=function(){return E.w(this.$d,this)},y.toDate=function(){return new Date(this.valueOf())},y.toJSON=function(){return this.isValid()?this.toISOString():null},y.toISOString=function(){return this.$d.toISOString()},y.toString=function(){return this.$d.toUTCString()},m}(),R=C.prototype;return x.prototype=R,[["$ms",n],["$s",i],["$m",o],["$H",s],["$W",a],["$M",c],["$y",p],["$D",f]].forEach((function(e){R[e[1]]=function(t){return this.$g(t,e[0],e[1])}})),x.extend=function(e,t){return e.$i||(e(t,C,x),e.$i=!0),x},x.locale=w,x.isDayjs=S,x.unix=function(e){return x(1e3*e)},x.en=_[b],x.Ls=_,x.p={},x}()})),duration$1=createCommonjsModule((function(e,t){var r,n,i,o,s,a,u,c,l,p,f,h,d,g,m,y,v,b,_,A;e.exports=(u=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,p=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/,f={years:c=31536e6,months:l=2628e6,days:a=864e5,hours:s=36e5,minutes:o=6e4,seconds:i=1e3,milliseconds:1,weeks:6048e5},h=function(e){return e instanceof _},d=function(e,t,r){return new _(e,r,t.$l)},g=function(e){return n.p(e)+"s"},m=function(e){return e<0},y=function(e){return m(e)?Math.ceil(e):Math.floor(e)},v=function(e){return Math.abs(e)},b=function(e,t){return e?m(e)?{negative:!0,format:""+v(e)+t}:{negative:!1,format:""+e+t}:{negative:!1,format:""}},_=function(){function e(e,t,r){var n=this;if(this.$d={},this.$l=r,void 0===e&&(this.$ms=0,this.parseFromMilliseconds()),t)return d(e*f[g(t)],this);if("number"==typeof e)return this.$ms=e,this.parseFromMilliseconds(),this;if("object"==typeof e)return Object.keys(e).forEach((function(t){n.$d[g(t)]=e[t]})),this.calMilliseconds(),this;if("string"==typeof e){var i=e.match(p);if(i){var o=i.slice(2).map((function(e){return null!=e?Number(e):0}));return this.$d.years=o[0],this.$d.months=o[1],this.$d.weeks=o[2],this.$d.days=o[3],this.$d.hours=o[4],this.$d.minutes=o[5],this.$d.seconds=o[6],this.calMilliseconds(),this}}return this}var t=e.prototype;return t.calMilliseconds=function(){var e=this;this.$ms=Object.keys(this.$d).reduce((function(t,r){return t+(e.$d[r]||0)*f[r]}),0)},t.parseFromMilliseconds=function(){var e=this.$ms;this.$d.years=y(e/c),e%=c,this.$d.months=y(e/l),e%=l,this.$d.days=y(e/a),e%=a,this.$d.hours=y(e/s),e%=s,this.$d.minutes=y(e/o),e%=o,this.$d.seconds=y(e/i),e%=i,this.$d.milliseconds=e},t.toISOString=function(){var e=b(this.$d.years,"Y"),t=b(this.$d.months,"M"),r=+this.$d.days||0;this.$d.weeks&&(r+=7*this.$d.weeks);var n=b(r,"D"),i=b(this.$d.hours,"H"),o=b(this.$d.minutes,"M"),s=this.$d.seconds||0;this.$d.milliseconds&&(s+=this.$d.milliseconds/1e3,s=Math.round(1e3*s)/1e3);var a=b(s,"S"),u=e.negative||t.negative||n.negative||i.negative||o.negative||a.negative,c=i.format||o.format||a.format?"T":"",l=(u?"-":"")+"P"+e.format+t.format+n.format+c+i.format+o.format+a.format;return"P"===l||"-P"===l?"P0D":l},t.toJSON=function(){return this.toISOString()},t.format=function(e){var t=e||"YYYY-MM-DDTHH:mm:ss",r={Y:this.$d.years,YY:n.s(this.$d.years,2,"0"),YYYY:n.s(this.$d.years,4,"0"),M:this.$d.months,MM:n.s(this.$d.months,2,"0"),D:this.$d.days,DD:n.s(this.$d.days,2,"0"),H:this.$d.hours,HH:n.s(this.$d.hours,2,"0"),m:this.$d.minutes,mm:n.s(this.$d.minutes,2,"0"),s:this.$d.seconds,ss:n.s(this.$d.seconds,2,"0"),SSS:n.s(this.$d.milliseconds,3,"0")};return t.replace(u,(function(e,t){return t||String(r[e])}))},t.as=function(e){return this.$ms/f[g(e)]},t.get=function(e){var t=this.$ms,r=g(e);return"milliseconds"===r?t%=1e3:t="weeks"===r?y(t/f[r]):this.$d[r],t||0},t.add=function(e,t,r){var n;return n=t?e*f[g(t)]:h(e)?e.$ms:d(e,this).$ms,d(this.$ms+n*(r?-1:1),this)},t.subtract=function(e,t){return this.add(e,t,!0)},t.locale=function(e){var t=this.clone();return t.$l=e,t},t.clone=function(){return d(this.$ms,this)},t.humanize=function(e){return r().add(this.$ms,"ms").locale(this.$l).fromNow(!e)},t.valueOf=function(){return this.asMilliseconds()},t.milliseconds=function(){return this.get("milliseconds")},t.asMilliseconds=function(){return this.as("milliseconds")},t.seconds=function(){return this.get("seconds")},t.asSeconds=function(){return this.as("seconds")},t.minutes=function(){return this.get("minutes")},t.asMinutes=function(){return this.as("minutes")},t.hours=function(){return this.get("hours")},t.asHours=function(){return this.as("hours")},t.days=function(){return this.get("days")},t.asDays=function(){return this.as("days")},t.weeks=function(){return this.get("weeks")},t.asWeeks=function(){return this.as("weeks")},t.months=function(){return this.get("months")},t.asMonths=function(){return this.as("months")},t.years=function(){return this.get("years")},t.asYears=function(){return this.as("years")},e}(),A=function(e,t,r){return e.add(t.years()*r,"y").add(t.months()*r,"M").add(t.days()*r,"d").add(t.hours()*r,"h").add(t.minutes()*r,"m").add(t.seconds()*r,"s").add(t.milliseconds()*r,"ms")},function(e,t,i){r=i,n=i().$utils(),i.duration=function(e,t){var r=i.locale();return d(e,{$l:r},t)},i.isDuration=h;var o=t.prototype.add,s=t.prototype.subtract;t.prototype.add=function(e,t){return h(e)?A(this,e,1):o.bind(this)(e,t)},t.prototype.subtract=function(e,t){return h(e)?A(this,e,-1):s.bind(this)(e,t)}})})),advancedFormat=createCommonjsModule((function(e,t){e.exports=function(e,t){var r=t.prototype,n=r.format;r.format=function(e){var t=this,r=this.$locale();if(!this.isValid())return n.bind(this)(e);var i=this.$utils(),o=(e||"YYYY-MM-DDTHH:mm:ssZ").replace(/\[([^\]]+)]|Q|wo|ww|w|WW|W|zzz|z|gggg|GGGG|Do|X|x|k{1,2}|S/g,(function(e){switch(e){case"Q":return Math.ceil((t.$M+1)/3);case"Do":return r.ordinal(t.$D);case"gggg":return t.weekYear();case"GGGG":return t.isoWeekYear();case"wo":return r.ordinal(t.week(),"W");case"w":case"ww":return i.s(t.week(),"w"===e?1:2,"0");case"W":case"WW":return i.s(t.isoWeek(),"W"===e?1:2,"0");case"k":case"kk":return i.s(String(0===t.$H?24:t.$H),"k"===e?1:2,"0");case"X":return Math.floor(t.$d.getTime()/1e3);case"x":return t.$d.getTime();case"z":return"["+t.offsetName()+"]";case"zzz":return"["+t.offsetName("long")+"]";default:return e}}));return n.bind(this)(o)}}})),isoWeek=createCommonjsModule((function(e,t){var r;e.exports=(r="day",function(e,t,n){var i=function(e){return e.add(4-e.isoWeekday(),r)},o=t.prototype;o.isoWeekYear=function(){return i(this).year()},o.isoWeek=function(e){if(!this.$utils().u(e))return this.add(7*(e-this.isoWeek()),r);var t,o,s,a=i(this),u=(t=this.isoWeekYear(),s=4-(o=(this.$u?n.utc:n)().year(t).startOf("year")).isoWeekday(),o.isoWeekday()>4&&(s+=7),o.add(s,r));return a.diff(u,"week")+1},o.isoWeekday=function(e){return this.$utils().u(e)?this.day()||7:this.day(this.day()%7?e:e-7)};var s=o.startOf;o.startOf=function(e,t){var r=this.$utils(),n=!!r.u(t)||t;return"isoweek"===r.p(e)?n?this.date(this.date()-(this.isoWeekday()-1)).startOf("day"):this.date(this.date()-1-(this.isoWeekday()-1)+7).endOf("day"):s.bind(this)(e,t)}})})),weekYear=createCommonjsModule((function(e,t){e.exports=function(e,t){t.prototype.weekYear=function(){var e=this.month(),t=this.week(),r=this.year();return 1===t&&11===e?r+1:0===e&&t>=52?r-1:r}}})),weekOfYear=createCommonjsModule((function(e,t){var r,n;e.exports=(r="week",n="year",function(e,t,i){var o=t.prototype;o.week=function(e){if(void 0===e&&(e=null),null!==e)return this.add(7*(e-this.week()),"day");var t=this.$locale().yearStart||1;if(11===this.month()&&this.date()>25){var o=i(this).startOf(n).add(1,n).date(t),s=i(this).endOf(r);if(o.isBefore(s))return 1}var a=i(this).startOf(n).date(t).startOf(r).subtract(1,"millisecond"),u=this.diff(a,r,!0);return u<0?i(this).startOf("week").week():Math.ceil(u)},o.weeks=function(e){return void 0===e&&(e=null),this.week(e)}})})),relativeTime=createCommonjsModule((function(e,t){e.exports=function(e,t,r){e=e||{};var n=t.prototype,i={future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"};function o(e,t,r,i){return n.fromToBase(e,t,r,i)}r.en.relativeTime=i,n.fromToBase=function(t,n,o,s,a){for(var u,c,l,p=o.$locale().relativeTime||i,f=e.thresholds||[{l:"s",r:44,d:"second"},{l:"m",r:89},{l:"mm",r:44,d:"minute"},{l:"h",r:89},{l:"hh",r:21,d:"hour"},{l:"d",r:35},{l:"dd",r:25,d:"day"},{l:"M",r:45},{l:"MM",r:10,d:"month"},{l:"y",r:17},{l:"yy",d:"year"}],h=f.length,d=0;d<h;d+=1){var g=f[d];g.d&&(u=s?r(t).diff(o,g.d,!0):o.diff(t,g.d,!0));var m=(e.rounding||Math.round)(Math.abs(u));if(l=u>0,m<=g.r||!g.r){m<=1&&d>0&&(g=f[d-1]);var y=p[g.l];a&&(m=a(""+m)),c="string"==typeof y?y.replace("%d",m):y(m,n,g.l,l);break}}if(n)return c;var v=l?p.future:p.past;return"function"==typeof v?v(c):v.replace("%s",c)},n.to=function(e,t){return o(e,t,this,!0)},n.from=function(e,t){return o(e,t,this)};var s=function(e){return e.$u?r.utc():r()};n.toNow=function(e){return this.to(s(this),e)},n.fromNow=function(e){return this.from(s(this),e)}}})),utc=createCommonjsModule((function(e,t){var r,n,i;e.exports=(r="minute",n=/[+-]\d\d(?::?\d\d)?/g,i=/([+-]|\d\d)/g,function(e,t,o){var s=t.prototype;o.utc=function(e){return new t({date:e,utc:!0,args:arguments})},s.utc=function(e){var t=o(this.toDate(),{locale:this.$L,utc:!0});return e?t.add(this.utcOffset(),r):t},s.local=function(){return o(this.toDate(),{locale:this.$L,utc:!1})};var a=s.parse;s.parse=function(e){e.utc&&(this.$u=!0),this.$utils().u(e.$offset)||(this.$offset=e.$offset),a.call(this,e)};var u=s.init;s.init=function(){if(this.$u){var e=this.$d;this.$y=e.getUTCFullYear(),this.$M=e.getUTCMonth(),this.$D=e.getUTCDate(),this.$W=e.getUTCDay(),this.$H=e.getUTCHours(),this.$m=e.getUTCMinutes(),this.$s=e.getUTCSeconds(),this.$ms=e.getUTCMilliseconds()}else u.call(this)};var c=s.utcOffset;s.utcOffset=function(e,t){var o=this.$utils().u;if(o(e))return this.$u?0:o(this.$offset)?c.call(this):this.$offset;if("string"==typeof e&&(e=function(e){void 0===e&&(e="");var t=e.match(n);if(!t)return null;var r=(""+t[0]).match(i)||["-",0,0],o=r[0],s=60*+r[1]+ +r[2];return 0===s?0:"+"===o?s:-s}(e),null===e))return this;var s=Math.abs(e)<=16?60*e:e,a=this;if(t)return a.$offset=s,a.$u=0===e,a;if(0!==e){var u=this.$u?this.toDate().getTimezoneOffset():-1*this.utcOffset();(a=this.local().add(s+u,r)).$offset=s,a.$x.$localOffset=u}else a=this.utc();return a};var l=s.format;s.format=function(e){var t=e||(this.$u?"YYYY-MM-DDTHH:mm:ss[Z]":"");return l.call(this,t)},s.valueOf=function(){var e=this.$utils().u(this.$offset)?0:this.$offset+(this.$x.$localOffset||this.$d.getTimezoneOffset());return this.$d.valueOf()-6e4*e},s.isUTC=function(){return!!this.$u},s.toISOString=function(){return this.toDate().toISOString()},s.toString=function(){return this.toDate().toUTCString()};var p=s.toDate;s.toDate=function(e){return"s"===e&&this.$offset?o(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate():p.call(this)};var f=s.diff;s.diff=function(e,t,r){if(e&&this.$u===e.$u)return f.call(this,e,t,r);var n=this.local(),i=o(e).local();return f.call(n,i,t,r)}})})),timezone=createCommonjsModule((function(e,t){var r,n;e.exports=(r={year:0,month:1,day:2,hour:3,minute:4,second:5},n={},function(e,t,i){var o,s=function(e,t,r){void 0===r&&(r={});var i=new Date(e),o=function(e,t){void 0===t&&(t={});var r=t.timeZoneName||"short",i=e+"|"+r,o=n[i];return o||(o=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",timeZoneName:r}),n[i]=o),o}(t,r);return o.formatToParts(i)},a=function(e,t){for(var n=s(e,t),o=[],a=0;a<n.length;a+=1){var u=n[a],c=u.type,l=u.value,p=r[c];p>=0&&(o[p]=parseInt(l,10))}var f=o[3],h=24===f?0:f,d=o[0]+"-"+o[1]+"-"+o[2]+" "+h+":"+o[4]+":"+o[5]+":000",g=+e;return(i.utc(d).valueOf()-(g-=g%1e3))/6e4},u=t.prototype;u.tz=function(e,t){void 0===e&&(e=o);var r,n=this.utcOffset(),s=this.toDate(),a=s.toLocaleString("en-US",{timeZone:e}),u=Math.round((s-new Date(a))/1e3/60),c=15*-Math.round(s.getTimezoneOffset()/15)-u;if(Number(c)){if(r=i(a,{locale:this.$L}).$set("millisecond",this.$ms).utcOffset(c,!0),t){var l=r.utcOffset();r=r.add(n-l,"minute")}}else r=this.utcOffset(0,t);return r.$x.$timezone=e,r},u.offsetName=function(e){var t=this.$x.$timezone||i.tz.guess(),r=s(this.valueOf(),t,{timeZoneName:e}).find((function(e){return"timezonename"===e.type.toLowerCase()}));return r&&r.value};var c=u.startOf;u.startOf=function(e,t){if(!this.$x||!this.$x.$timezone)return c.call(this,e,t);var r=i(this.format("YYYY-MM-DD HH:mm:ss:SSS"),{locale:this.$L});return c.call(r,e,t).tz(this.$x.$timezone,!0)},i.tz=function(e,t,r){var n=r&&t,s=r||t||o,u=a(+i(),s);if("string"!=typeof e)return i(e).tz(s);var c=function(e,t,r){var n=e-60*t*1e3,i=a(n,r);if(t===i)return[n,t];var o=a(n-=60*(i-t)*1e3,r);return i===o?[n,i]:[e-60*Math.min(i,o)*1e3,Math.max(i,o)]}(i.utc(e,n).valueOf(),u,s),l=c[0],p=c[1],f=i(l).utcOffset(p);return f.$x.$timezone=s,f},i.tz.guess=function(){return Intl.DateTimeFormat().resolvedOptions().timeZone},i.tz.setDefault=function(e){o=e}})}));function isOptions(e){return"object"==typeof e&&"object"==typeof e.hash}function isApp(e){return"object"==typeof e&&"object"==typeof e.options&&"object"==typeof e.app}function getContext(e,t,r){if(isOptions(e))return getContext({},t,e);if(isOptions(t))return getContext(e,r,t);const n=isApp(e)?e.context:{};isOptions(r=r||{})||(t=Object.assign({},t,r)),isOptions(r)&&!0===r.hash.root&&(t=Object.assign({},r.data.root,t));let i=Object.assign({},n,t,r.hash);return isApp(e)||(i=Object.assign({},e,i)),isApp(e)&&e.view&&e.view.data&&(i=Object.assign({},i,e.view.data)),i}function initialConfig(e,t,r){return isOptions(t)&&(r=t,t=null),isOptions(e)&&(r=e,t=null,e=null),{str:e,pattern:t,options:r}}function setLocale(e,t,r){const n=initialConfig(e,t,r),i=getContext(this,{lang:"en",date:new Date(n.str)},{});dayjs_min.locale(i.lang||i.language)}dayjs_min.extend(duration$1),dayjs_min.extend(advancedFormat),dayjs_min.extend(isoWeek),dayjs_min.extend(weekYear),dayjs_min.extend(weekOfYear),dayjs_min.extend(relativeTime),dayjs_min.extend(utc),dayjs_min.extend(timezone);const date$1=(e,t,r)=>{const n=initialConfig(e,t,r);if(null==n.str&&null==n.pattern)return dayjs_min.locale("en"),dayjs_min().format("MMMM DD, YYYY");setLocale(n.str,n.pattern,n.options);let i=dayjs_min(new Date(n.str));return i="string"==typeof n.options?"utc"===n.options.toLowerCase()?i.utc():i.tz(n.options):i.tz(dayjs_min.tz.guess()),""===n.pattern?i.toISOString():i.format(n.pattern)},duration=(e,t,r)=>{const n=initialConfig(e,t);setLocale(n.str,n.pattern);const i=dayjs_min.duration(n.str,n.pattern);return r&&!isOptions(r)?i.format(r):i.humanize()},HelperFunctionBuiltin=["#if","#unless","#each","#with","lookup","log","blockHelperMissing","each","helperMissing","if","unless","log","lookup","with"],EXTERNAL_FUNCTION_COLLECTIONS=["math","array","number","url","string","comparison","object","regex","uuid"],HelperFunctionNames={OBJECT:"object",ALL:"all",LITERAL:"literal",JS:"js"},LITERAL_MARKER="%LITERAL%",ADDED_HELPERS={date:date$1,duration:duration};function registerAll$1(e){for(let[t,r]of Object.entries(ADDED_HELPERS))e.registerHelper(t,r);let t=[];for(let r of EXTERNAL_FUNCTION_COLLECTIONS){let n=handlebarsHelpers[r]();for(let e of Object.entries(n)){const r=e[0];-1===HelperFunctionBuiltin.indexOf(r)&&-1===t.indexOf(r)&&t.push(r)}handlebarsHelpers[r]({handlebars:e})}externalHelperNames=t.concat(Object.keys(ADDED_HELPERS))}let externalHelperNames=[];function isJest(){return"jest"===browser.env.NODE_ENV||null!=browser.env.JEST_WORKER_ID&&"null"!==browser.env.JEST_WORKER_ID}function isTest(){return isJest()}const isTestingBackendJS=()=>browser&&browser.env.BACKEND_JS,setTestingBackendJS=()=>{browser.env.BACKEND_JS="1"},ALPHA_NUMERIC_REGEX=/^[A-Za-z0-9]+$/g,FIND_HBS_REGEX=/{{([^{].*?)}}/g,FIND_ANY_HBS_REGEX=/{?{{([^{].*?)}}}?/g,FIND_TRIPLE_HBS_REGEX=/{{{([^{].*?)}}}/g,isBackendService=()=>!(!isTest()||!isTestingBackendJS())||!isTest()&&"undefined"==typeof window,isJSAllowed=()=>browser&&!browser.env.NO_JS,findDoubleHbsInstances=e=>{let t=e;const r=new RegExp(FIND_HBS_REGEX),n=new RegExp(FIND_TRIPLE_HBS_REGEX),i=t.match(n);i&&i.forEach((e=>{t=t.replace(e,"")}));const o=t.match(r);return o||[]},isAlphaNumeric=e=>e.match(ALPHA_NUMERIC_REGEX),swapStrings=(e,t,r,n)=>e.slice(0,t)+n+e.slice(t+r),btoa=e=>Buffer.from(e,"utf-8").toString("base64"),atob=e=>Buffer.from(e,"base64").toString("utf-8"),prefixStrings=(e,t,r)=>{const n=t.map((e=>e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&"))),i=new RegExp(`\\b(${n.join("|")})\\b`,"g");return e.replace(i,`${r}$1`)};function frontendWrapJS(e){return`\n result = {\n result: null,\n error: null,\n };\n\n try {\n result.result = ${e};\n } catch (e) {\n result.error = e;\n }\n\n result;\n `}const externalCollections={math:math$1,array:array$1,number:number$1,url:url_1,string:string$1,comparison:comparison$1,object:object$1,regex:regex$2,uuid:uuid_1},helpersToRemoveForJs=["sortBy"],addedHelpers={date:date$1,duration:duration};let helpers;function getJsHelperList(){if(helpers)return helpers;helpers={};for(let e of Object.values(externalCollections))for(let[t,r]of Object.entries(e))helpers[t]=(...e)=>r(...e,{});helpers=Object.assign(Object.assign({},helpers),addedHelpers);for(const e of helpersToRemoveForJs)delete helpers[e];return Object.freeze(helpers),helpers}const iifeWrapper=e=>`(function(){\n${e}\n})();`;class JsTimeoutError extends Error{constructor(){super(JsTimeoutError.message),this.code=JsTimeoutError.code}}JsTimeoutError.message="Timed out while executing JS",JsTimeoutError.code="JS_TIMEOUT_ERROR";class UserScriptError extends Error{constructor(e){super(`error while running user-supplied JavaScript: ${e.toString()}`),this.userScriptError=e,this.code=UserScriptError.code}}UserScriptError.code="USER_SCRIPT_ERROR";
|
39
39
|
/**
|
40
40
|
* @license
|
41
41
|
* Lodash <https://lodash.com/>
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@budibase/string-templates",
|
3
|
-
"version": "3.4.
|
3
|
+
"version": "3.4.1",
|
4
4
|
"description": "Handlebars wrapper for Budibase templating.",
|
5
5
|
"main": "dist/bundle.cjs",
|
6
6
|
"module": "dist/bundle.mjs",
|
@@ -42,5 +42,5 @@
|
|
42
42
|
"ts-jest": "29.1.1",
|
43
43
|
"typescript": "5.7.2"
|
44
44
|
},
|
45
|
-
"gitHead": "
|
45
|
+
"gitHead": "981ad8df214145efca562e441f1f9d1cf647d339"
|
46
46
|
}
|