(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-vendors"],{"00b4":function(e,t,n){"use strict";n("ac1f");var r=n("23e7"),i=n("da84"),o=n("c65b"),s=n("e330"),a=n("1626"),u=n("861d"),l=function(){var e=!1,t=/[ac]/;return t.exec=function(){return e=!0,/./.exec.apply(this,arguments)},!0===t.test("abc")&&e}(),c=i.Error,p=s(/./.test);r({target:"RegExp",proto:!0,forced:!l},{test:function(e){var t=this.exec;if(!a(t))return p(this,e);var n=o(t,this,e);if(null!==n&&!u(n))throw new c("RegExp exec method returned something other than an Object or null");return!!n}})},"00bb":function(e,t,n){(function(t,r,i){e.exports=r(n("21bf"),n("38ba"))})(0,(function(e){return e.mode.CFB=function(){var t=e.lib.BlockCipherMode.extend();function n(e,t,n,r){var i,o=this._iv;o?(i=o.slice(0),this._iv=void 0):i=this._prevBlock,r.encryptBlock(i,0);for(var s=0;s0?this.children[this.children.length-1]:null},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"childNodes",{get:function(){return this.children},set:function(e){this.children=e},enumerable:!1,configurable:!0}),t}(a);t.NodeWithChildren=f;var h=function(e){function t(t){return e.call(this,o.ElementType.Root,t)||this}return r(t,e),t}(f);t.Document=h;var d=function(e){function t(t,n,r,i){void 0===r&&(r=[]),void 0===i&&(i="script"===t?o.ElementType.Script:"style"===t?o.ElementType.Style:o.ElementType.Tag);var s=e.call(this,i,r)||this;return s.name=t,s.attribs=n,s}return r(t,e),Object.defineProperty(t.prototype,"tagName",{get:function(){return this.name},set:function(e){this.name=e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"attributes",{get:function(){var e=this;return Object.keys(this.attribs).map((function(t){var n,r;return{name:t,value:e.attribs[t],namespace:null===(n=e["x-attribsNamespace"])||void 0===n?void 0:n[t],prefix:null===(r=e["x-attribsPrefix"])||void 0===r?void 0:r[t]}}))},enumerable:!1,configurable:!0}),t}(f);function m(e){return(0,o.isTag)(e)}function g(e){return e.type===o.ElementType.CDATA}function y(e){return e.type===o.ElementType.Text}function v(e){return e.type===o.ElementType.Comment}function b(e){return e.type===o.ElementType.Directive}function D(e){return e.type===o.ElementType.Root}function w(e){return Object.prototype.hasOwnProperty.call(e,"children")}function C(e,t){var n;if(void 0===t&&(t=!1),y(e))n=new l(e.data);else if(v(e))n=new c(e.data);else if(m(e)){var r=t?x(e.children):[],s=new d(e.name,i({},e.attribs),r);r.forEach((function(e){return e.parent=s})),e["x-attribsNamespace"]&&(s["x-attribsNamespace"]=i({},e["x-attribsNamespace"])),e["x-attribsPrefix"]&&(s["x-attribsPrefix"]=i({},e["x-attribsPrefix"])),n=s}else if(g(e)){r=t?x(e.children):[];var a=new f(o.ElementType.CDATA,r);r.forEach((function(e){return e.parent=a})),n=a}else if(D(e)){r=t?x(e.children):[];var u=new h(r);r.forEach((function(e){return e.parent=u})),e["x-mode"]&&(u["x-mode"]=e["x-mode"]),n=u}else{if(!b(e))throw new Error("Not implemented yet: "+e.type);var w=new p(e.name,e.data);null!=e["x-name"]&&(w["x-name"]=e["x-name"],w["x-publicId"]=e["x-publicId"],w["x-systemId"]=e["x-systemId"]),n=w}return n.startIndex=e.startIndex,n.endIndex=e.endIndex,n}function x(e){for(var t=e.map((function(e){return C(e,!0)})),n=1;n=r){const n=this.treeAdapter.getAttrList(e).length,r=this.treeAdapter.getTagName(e),o=this.treeAdapter.getNamespaceURI(e);for(let e=this.length-1;e>=0;e--){const s=this.entries[e];if(s.type===i.MARKER_ENTRY)break;const a=s.element,u=this.treeAdapter.getAttrList(a),l=this.treeAdapter.getTagName(a)===r&&this.treeAdapter.getNamespaceURI(a)===o&&u.length===n;l&&t.push({idx:e,attrs:u})}}return t.length=r-1;e--)this.entries.splice(t[e].idx,1),this.length--}}insertMarker(){this.entries.push({type:i.MARKER_ENTRY}),this.length++}pushElement(e,t){this._ensureNoahArkCondition(e),this.entries.push({type:i.ELEMENT_ENTRY,element:e,token:t}),this.length++}insertElementAfterBookmark(e,t){let n=this.length-1;for(;n>=0;n--)if(this.entries[n]===this.bookmark)break;this.entries.splice(n+1,0,{type:i.ELEMENT_ENTRY,element:e,token:t}),this.length++}removeEntry(e){for(let t=this.length-1;t>=0;t--)if(this.entries[t]===e){this.entries.splice(t,1),this.length--;break}}clearToLastMarker(){while(this.length){const e=this.entries.pop();if(this.length--,e.type===i.MARKER_ENTRY)break}}getElementEntryInScopeWithTagName(e){for(let t=this.length-1;t>=0;t--){const n=this.entries[t];if(n.type===i.MARKER_ENTRY)return null;if(this.treeAdapter.getTagName(n.element)===e)return n}return null}getElementEntry(e){for(let t=this.length-1;t>=0;t--){const n=this.entries[t];if(n.type===i.ELEMENT_ENTRY&&n.element===e)return n}return null}}i.MARKER_ENTRY="MARKER_ENTRY",i.ELEMENT_ENTRY="ELEMENT_ENTRY",e.exports=i},"0366":function(e,t,n){var r=n("e330"),i=n("59ed"),o=r(r.bind);e.exports=function(e,t){return i(e),void 0===t?e:o?o(e,t):function(){return e.apply(t,arguments)}}},"03d6":function(e,t,n){var r=n("9c0e"),i=n("6ca1"),o=n("39ad")(!1),s=n("5a94")("IE_PROTO");e.exports=function(e,t){var n,a=i(e),u=0,l=[];for(n in a)n!=s&&r(a,n)&&l.push(n);while(t.length>u)r(a,n=t[u++])&&(~o(l,n)||l.push(n));return l}},"03e2":function(e,t,n){"use strict";(function(t){var r=n("74b3"),i=n("d779"),o=n("0f22"),s=n("76da");function a(e){return encodeURIComponent(e).replace(/!/g,"%21").replace(/'/g,"%27").replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/\*/g,"%2A")}function u(e,t){var n=[];for(var r in e)e.hasOwnProperty(r)&&n.push(t?a(r).toLowerCase():r);return n.sort((function(e,t){return e=e.toLowerCase(),t=t.toLowerCase(),e===t?0:e>t?1:-1}))}var l=function(e){var t,n,r,i=[],o=u(e);for(t=0;tparseInt(t[n])?1:-1;return 0},t=function(t){var n=(t.match(/Chrome\/([.\d]+)/)||[])[1],r=(t.match(/QBCore\/([.\d]+)/)||[])[1],i=(t.match(/QQBrowser\/([.\d]+)/)||[])[1],o=n&&e(n,"53.0.2785.116")<0&&r&&e(r,"3.53.991.400")<0&&i&&e(i,"9.0.2524.400")<=0||!1;return o};return t(navigator&&navigator.userAgent)}(),b=function(e,t,n,r,i){var o;if(e.slice?o=e.slice(t,n):e.mozSlice?o=e.mozSlice(t,n):e.webkitSlice&&(o=e.webkitSlice(t,n)),r&&v){var s=new FileReader;s.onload=function(e){o=null,i(new Blob([s.result]))},s.readAsArrayBuffer(o)}else i(o)},D=function(e,t,n,r){n=n||m,e?"string"===typeof t?n(q.md5(t,!0)):Blob&&t instanceof Blob?q.getFileMd5(t,(function(e,t){n(t)}),r):n():n()},w=1048576,C=function(e,t,n){var i=e.size,o=0,s=r.getCtx(),a=function(r){if(r>=i){var u=s.digest("hex");t(null,u)}else{var l=Math.min(i,r+w);q.fileSlice(e,r,l,!1,(function(e){y(e,(function(t){e=null,s=s.update(t,!0),o+=t.length,t=null,n&&n({loaded:o,total:i,percent:Math.round(o/i*1e4)/1e4}),a(r+w)}))}))}};a(0)};function x(e){return O(e,(function(e){return"object"===typeof e&&null!==e?x(e):e}))}function E(e,t,n){return e&&t in e?e[t]:n}function _(e,t){return A(t,(function(n,r){e[r]=t[r]})),e}function k(e){return e instanceof Array}function T(e,t){for(var n=!1,r=0;r-1,a=!o||o.indexOf("{Region}")>-1;if(e.indexOf("Bucket")>-1||"deleteMultipleObject"===e||"multipartList"===e||"listObjectVersions"===e){if(s&&!n)return"Bucket";if(a&&!r)return"Region"}else if(e.indexOf("Object")>-1||e.indexOf("multipart")>-1||"sliceUploadFile"===e||"abortUploadTask"===e){if(s&&!n)return"Bucket";if(a&&!r)return"Region";if(!i)return"Key"}return!1},M=function(e,t){if(t=_({},t),"getAuth"!==e&&"getV4Auth"!==e&&"getObjectUrl"!==e){var n=t.Headers||{};if(t&&"object"===typeof t){(function(){for(var e in t)t.hasOwnProperty(e)&&e.indexOf("x-cos-")>-1&&(n[e]=t[e])})();var r={"x-cos-mfa":"MFA","Content-MD5":"ContentMD5","Content-Length":"ContentLength","Content-Type":"ContentType",Expect:"Expect",Expires:"Expires","Cache-Control":"CacheControl","Content-Disposition":"ContentDisposition","Content-Encoding":"ContentEncoding",Range:"Range","If-Modified-Since":"IfModifiedSince","If-Unmodified-Since":"IfUnmodifiedSince","If-Match":"IfMatch","If-None-Match":"IfNoneMatch","x-cos-copy-source":"CopySource","x-cos-copy-source-Range":"CopySourceRange","x-cos-metadata-directive":"MetadataDirective","x-cos-copy-source-If-Modified-Since":"CopySourceIfModifiedSince","x-cos-copy-source-If-Unmodified-Since":"CopySourceIfUnmodifiedSince","x-cos-copy-source-If-Match":"CopySourceIfMatch","x-cos-copy-source-If-None-Match":"CopySourceIfNoneMatch","x-cos-acl":"ACL","x-cos-grant-read":"GrantRead","x-cos-grant-write":"GrantWrite","x-cos-grant-full-control":"GrantFullControl","x-cos-grant-read-acp":"GrantReadAcp","x-cos-grant-write-acp":"GrantWriteAcp","x-cos-storage-class":"StorageClass","x-cos-traffic-limit":"TrafficLimit","x-cos-mime-limit":"MimeLimit","x-cos-server-side-encryption-customer-algorithm":"SSECustomerAlgorithm","x-cos-server-side-encryption-customer-key":"SSECustomerKey","x-cos-server-side-encryption-customer-key-MD5":"SSECustomerKeyMD5","x-cos-server-side-encryption":"ServerSideEncryption","x-cos-server-side-encryption-cos-kms-key-id":"SSEKMSKeyId","x-cos-server-side-encryption-context":"SSEContext"};q.each(r,(function(e,r){void 0!==t[e]&&(n[r]=t[e])})),t.Headers=g(n)}}return t},L=function(e,t){return function(n,r){var i=this;"function"===typeof n&&(r=n,n={}),n=M(e,n);var o=function(e){return e&&e.headers&&(e.headers["x-cos-request-id"]&&(e.RequestId=e.headers["x-cos-request-id"]),e.headers["x-cos-version-id"]&&(e.VersionId=e.headers["x-cos-version-id"]),e.headers["x-cos-delete-marker"]&&(e.DeleteMarker=e.headers["x-cos-delete-marker"])),e},s=function(e,t){r&&r(o(e),o(t))},a=function(){if("getService"!==e&&"abortUploadTask"!==e){var t=P.call(i,e,n);if(t)return"missing param "+t;if(n.Region){if(i.options.CompatibilityMode){if(!/^([a-z\d-.]+)$/.test(n.Region))return"Region format error."}else{if(n.Region.indexOf("cos.")>-1)return'param Region should not be start with "cos."';if(!/^([a-z\d-]+)$/.test(n.Region))return"Region format error."}i.options.CompatibilityMode||-1!==n.Region.indexOf("-")||"yfb"===n.Region||"default"===n.Region||"accelerate"===n.Region||console.warn("warning: param Region format error, find help here: https://cloud.tencent.com/document/product/436/6224")}if(n.Bucket){if(!/^([a-z\d-]+)-(\d+)$/.test(n.Bucket))if(n.AppId)n.Bucket=n.Bucket+"-"+n.AppId;else{if(!i.options.AppId)return'Bucket should format as "test-1250000000".';n.Bucket=n.Bucket+"-"+i.options.AppId}n.AppId&&(console.warn('warning: AppId has been deprecated, Please put it at the end of parameter Bucket(E.g Bucket:"test-1250000000" ).'),delete n.AppId)}!i.options.UseRawKey&&n.Key&&"/"===n.Key.substr(0,1)&&(n.Key=n.Key.substr(1))}},u=a(),l="getAuth"===e||"getObjectUrl"===e;if(window.Promise&&!l&&!r)return new Promise((function(e,o){if(r=function(t,n){t?o(t):e(n)},u)return s(q.error(new Error(u)));t.call(i,n,s)}));if(u)return s(q.error(new Error(u)));var c=t.call(i,n,s);return l?c:void 0}},j=function(e,t){var n,r,i=this,o=0,s=0,a=Date.now();function u(){if(r=0,t&&"function"===typeof t){n=Date.now();var i,u=Math.max(0,Math.round((s-o)/((n-a)/1e3)*100)/100)||0;i=0===s&&0===e?1:Math.floor(s/e*100)/100||0,a=n,o=s;try{t({loaded:s,total:e,speed:u,percent:i})}catch(l){}}}return function(t,n){if(t&&(s=t.loaded,e=t.total),n)clearTimeout(r),u();else{if(r)return;r=setTimeout(u,i.options.ProgressInterval)}}},B=function(e,t,n){var r;"string"===typeof t.Body?t.Body=new Blob([t.Body],{type:"text/plain"}):t.Body instanceof ArrayBuffer&&(t.Body=new Blob([t.Body])),t.Body&&(t.Body instanceof Blob||"[object File]"===t.Body.toString()||"[object Blob]"===t.Body.toString())?(r=t.Body.size,t.ContentLength=r,n(null,r)):n(q.error(new Error("params body format error, Only allow File|Blob|String.")))},R=function(e){return Date.now()+(e||0)},$=function(e,t){var n=e;return e.message=e.message||null,"string"===typeof t?(e.error=t,e.message=t):"object"===typeof t&&null!==t&&(_(e,t),(t.code||t.name)&&(e.code=t.code||t.name),t.message&&(e.message=t.message),t.stack&&(e.stack=t.stack)),"function"===typeof Object.defineProperty&&(Object.defineProperty(e,"name",{writable:!0,enumerable:!1}),Object.defineProperty(e,"message",{enumerable:!0})),e.name=t&&t.name||e.name||e.code||"Error",e.code||(e.code=e.name),e.error||(e.error=x(n)),e},H=function(){return"object"!==typeof window&&"object"===typeof t&&!0},U=function(e){return/^https?:\/\/([^/]+\.)?ci\.[^/]+/.test(e)},q={noop:m,formatParams:M,apiWrapper:L,xml2json:o,json2xml:s,md5:r,clearKey:g,fileSlice:b,getBodyMd5:D,getFileMd5:C,binaryBase64:N,extend:_,isArray:k,isInArray:T,makeArray:S,each:A,map:O,filter:F,clone:x,attr:E,uuid:I,camSafeUrlEncode:a,throttleOnProgress:j,getFileSize:B,getSkewTime:R,error:$,obj2str:l,getAuth:c,parseSelectPayload:h,getSourceParams:d,isBrowser:!0,isNode:H,isCIHost:U};e.exports=q}).call(this,n("4362"))},"04d1":function(e,t,n){var r=n("342f"),i=r.match(/firefox\/(\d+)/i);e.exports=!!i&&+i[1]},"051a":function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.escapeUTF8=t.escape=t.encodeNonAsciiHTML=t.encodeHTML=t.encodeXML=void 0;var i=r(n("f5f2")),o=c(i.default),s=p(o);t.encodeXML=b(o);var a=r(n("c560")),u=c(a.default),l=p(u);function c(e){return Object.keys(e).sort().reduce((function(t,n){return t[e[n]]="&"+n+";",t}),{})}function p(e){for(var t=[],n=[],r=0,i=Object.keys(e);r1?h(e):e.charCodeAt(0)).toString(16).toUpperCase()+";"}function m(e,t){return function(n){return n.replace(t,(function(t){return e[t]})).replace(f,d)}}var g=new RegExp(s.source+"|"+f.source,"g");function y(e){return e.replace(g,d)}function v(e){return e.replace(s,d)}function b(e){return function(t){return t.replace(g,(function(t){return e[t]||d(t)}))}}t.escape=y,t.escapeUTF8=v},"051b":function(e,t,n){var r=n("1a14"),i=n("10db");e.exports=n("0bad")?function(e,t,n){return r.f(e,t,i(1,n))}:function(e,t,n){return e[t]=n,e}},"057f":function(e,t,n){var r=n("c6b6"),i=n("fc6a"),o=n("241c").f,s=n("f36a"),a="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],u=function(e){try{return o(e)}catch(t){return s(a)}};e.exports.f=function(e){return a&&"Window"==r(e)?u(e):o(i(e))}},"05f5":function(e,t,n){var r=n("7a41"),i=n("ef08").document,o=r(i)&&r(i.createElement);e.exports=function(e){return o?i.createElement(e):{}}},"06cf":function(e,t,n){var r=n("83ab"),i=n("c65b"),o=n("d1e7"),s=n("5c6c"),a=n("fc6a"),u=n("a04b"),l=n("1a2d"),c=n("0cfb"),p=Object.getOwnPropertyDescriptor;t.f=r?p:function(e,t){if(e=a(e),t=u(t),c)try{return p(e,t)}catch(n){}if(l(e,t))return s(!i(o.f,e,t),e[t])}},"072d":function(e,t,n){"use strict";var r=n("0bad"),i=n("9876"),o=n("fed5"),s=n("1917"),a=n("0983"),u=n("9fbb"),l=Object.assign;e.exports=!l||n("4b8b")((function(){var e={},t={},n=Symbol(),r="abcdefghijklmnopqrst";return e[n]=7,r.split("").forEach((function(e){t[e]=e})),7!=l({},e)[n]||Object.keys(l({},t)).join("")!=r}))?function(e,t){var n=a(e),l=arguments.length,c=1,p=o.f,f=s.f;while(l>c){var h,d=u(arguments[c++]),m=p?i(d).concat(p(d)):i(d),g=m.length,y=0;while(g>y)h=m[y++],r&&!f.call(d,h)||(n[h]=d[h])}return n}:l},"0744":function(e,t,n){"use strict";e.exports=function(e,t){return t=t||Object.create(null),[e,t].reduce((e,t)=>(Object.keys(t).forEach(n=>{e[n]=t[n]}),e),Object.create(null))}},"07fa":function(e,t,n){var r=n("50c4");e.exports=function(e){return r(e.length)}},"0869":function(e,t,n){"use strict";const r=n("1f05");class i extends r{constructor(e){super(e),this.preprocessor=e,this.isEol=!1,this.lineStartPos=0,this.droppedBufferSize=0,this.offset=0,this.col=0,this.line=1}_getOverriddenMethods(e,t){return{advance(){const n=this.pos+1,r=this.html[n];return e.isEol&&(e.isEol=!1,e.line++,e.lineStartPos=n),("\n"===r||"\r"===r&&"\n"!==this.html[n+1])&&(e.isEol=!0),e.col=n-e.lineStartPos+1,e.offset=e.droppedBufferSize+n,t.advance.call(this)},retreat(){t.retreat.call(this),e.isEol=!1,e.col=this.pos-e.lineStartPos+1},dropParsedChunk(){const n=this.pos;t.dropParsedChunk.call(this);const r=n-this.pos;e.lineStartPos-=r,e.droppedBufferSize+=r,e.offset=e.droppedBufferSize+this.pos}}}}e.exports=i},"0983":function(e,t,n){var r=n("c901");e.exports=function(e){return Object(r(e))}},"0a06":function(e,t,n){"use strict";var r=n("c532"),i=n("30b5"),o=n("f6b4"),s=n("5270"),a=n("4a7b"),u=n("848b"),l=u.validators;function c(e){this.defaults=e,this.interceptors={request:new o,response:new o}}c.prototype.request=function(e){"string"===typeof e?(e=arguments[1]||{},e.url=arguments[0]):e=e||{},e=a(this.defaults,e),e.method?e.method=e.method.toLowerCase():this.defaults.method?e.method=this.defaults.method.toLowerCase():e.method="get";var t=e.transitional;void 0!==t&&u.assertOptions(t,{silentJSONParsing:l.transitional(l.boolean,"1.0.0"),forcedJSONParsing:l.transitional(l.boolean,"1.0.0"),clarifyTimeoutError:l.transitional(l.boolean,"1.0.0")},!1);var n=[],r=!0;this.interceptors.request.forEach((function(t){"function"===typeof t.runWhen&&!1===t.runWhen(e)||(r=r&&t.synchronous,n.unshift(t.fulfilled,t.rejected))}));var i,o=[];if(this.interceptors.response.forEach((function(e){o.push(e.fulfilled,e.rejected)})),!r){var c=[s,void 0];Array.prototype.unshift.apply(c,n),c=c.concat(o),i=Promise.resolve(e);while(c.length)i=i.then(c.shift(),c.shift());return i}var p=e;while(n.length){var f=n.shift(),h=n.shift();try{p=f(p)}catch(d){h(d);break}}try{i=s(p)}catch(d){return Promise.reject(d)}while(o.length)i=i.then(o.shift(),o.shift());return i},c.prototype.getUri=function(e){return e=a(this.defaults,e),i(e.url,e.params,e.paramsSerializer).replace(/^\?/,"")},r.forEach(["delete","get","head","options"],(function(e){c.prototype[e]=function(t,n){return this.request(a(n||{},{method:e,url:t,data:(n||{}).data}))}})),r.forEach(["post","put","patch"],(function(e){c.prototype[e]=function(t,n,r){return this.request(a(r||{},{method:e,url:t,data:n}))}})),e.exports=c},"0ae0":function(e,t){var n=function(e){var t={},n=function(e){return!t[e]&&(t[e]=[]),t[e]};e.on=function(e,t){"task-list-update"===e&&console.warn('warning: Event "'+e+'" has been deprecated. Please use "list-update" instead.'),n(e).push(t)},e.off=function(e,t){for(var r=n(e),i=r.length-1;i>=0;i--)t===r[i]&&r.splice(i,1)},e.emit=function(e,t){for(var r=n(e).map((function(e){return e})),i=0;il)u.call(e,s=a[l++])&&t.push(s)}return t}},"0b42":function(e,t,n){var r=n("da84"),i=n("e8b5"),o=n("68ee"),s=n("861d"),a=n("b622"),u=a("species"),l=r.Array;e.exports=function(e){var t;return i(e)&&(t=e.constructor,o(t)&&(t===l||i(t.prototype))?t=void 0:s(t)&&(t=t[u],null===t&&(t=void 0))),void 0===t?l:t}},"0b99":function(e,t,n){"use strict";var r=n("19fa")(!0);n("393a")(String,"String",(function(e){this._t=String(e),this._i=0}),(function(){var e,t=this._t,n=this._i;return n>=t.length?{value:void 0,done:!0}:(e=r(t,n),this._i+=e.length,{value:e,done:!1})}))},"0bad":function(e,t,n){e.exports=!n("4b8b")((function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a}))},"0bfb":function(e,t,n){var r,i,o,s,a=!1,u=!1,l=n("115b")("parse"),c=n("c415");function p(e,t){var n,a;t||(t={}),r=!!t.comments,o=!!t.position,i=0,s=Array.isArray(e)?e.slice():c(e);var p,f=[];u&&(n=Date.now());while(p=h())a=w(p),a&&f.push(a);return u&&l("ran in",Date.now()-n+"ms"),{type:"stylesheet",stylesheet:{rules:f}}}function f(e,t){var n;t||(t={});for(var r=["type","name","value"],i={},s=0;s]*>)/g,c=/\$([$&'`]|\d{1,2})/g;e.exports=function(e,t,n,r,p,f){var h=n+e.length,d=r.length,m=c;return void 0!==p&&(p=i(p),m=l),a(f,m,(function(i,a){var l;switch(s(a,0)){case"$":return"$";case"&":return e;case"`":return u(t,0,n);case"'":return u(t,h);case"<":l=p[u(a,1,-1)];break;default:var c=+a;if(0===c)return i;if(c>d){var f=o(c/10);return 0===f?i:f<=d?void 0===r[f-1]?s(a,1):r[f-1]+s(a,1):i}l=r[c-1]}return void 0===l?"":l}))}},"0ccb":function(e,t,n){var r=n("e330"),i=n("50c4"),o=n("577e"),s=n("1148"),a=n("1d80"),u=r(s),l=r("".slice),c=Math.ceil,p=function(e){return function(t,n,r){var s,p,f=o(a(t)),h=i(n),d=f.length,m=void 0===r?" ":o(r);return h<=d||""==m?f:(s=h-d,p=u(m,c(s/m.length)),p.length>s&&(p=l(p,0,s)),e?f+p:p+f)}};e.exports={start:p(!1),end:p(!0)}},"0cfb":function(e,t,n){var r=n("83ab"),i=n("d039"),o=n("cc12");e.exports=!r&&!i((function(){return 7!=Object.defineProperty(o("div"),"a",{get:function(){return 7}}).a}))},"0d3b":function(e,t,n){var r=n("d039"),i=n("b622"),o=n("c430"),s=i("iterator");e.exports=!r((function(){var e=new URL("b?a=1&b=2&c=3","http://a"),t=e.searchParams,n="";return e.pathname="c%20d",t.forEach((function(e,r){t["delete"]("b"),n+=r+e})),o&&!e.toJSON||!t.sort||"http://a/c%20d?a=1&c=3"!==e.href||"3"!==t.get("c")||"a=1"!==String(new URLSearchParams("?a=1"))||!t[s]||"a"!==new URL("https://a@b").username||"b"!==new URLSearchParams(new URLSearchParams("a=b")).get("a")||"xn--e1aybc"!==new URL("http://тест").host||"#%D0%B1"!==new URL("http://a#б").hash||"a1c3"!==n||"x"!==new URL("http://x",void 0).host}))},"0d51":function(e,t,n){var r=n("da84"),i=r.String;e.exports=function(e){try{return i(e)}catch(t){return"Object"}}},"0db5":function(e,t,n){var r,i,o=n("03e2"),s="cos_sdk_upload_cache",a=2592e3,u=function(){try{var e=JSON.parse(localStorage.getItem(s))}catch(t){}e||(e=[]),r=e},l=function(){try{localStorage.setItem(s,JSON.stringify(r))}catch(e){}},c=function(){if(!r){u.call(this);for(var e=!1,t=Math.round(Date.now()/1e3),n=r.length-1;n>=0;n--){var i=r[n][2];(!i||i+a=0;i--){var o=r[i];o[0]===e&&o[1]===t&&r.splice(i,1)}r.unshift([e,t,Math.round(Date.now()/1e3)]),r.length>n&&r.splice(n),p()}},removeUploadId:function(e){c.call(this),delete f.using[e];for(var t=r.length-1;t>=0;t--)r[t][1]===e&&r.splice(t,1);p()}};e.exports=f},"0df6":function(e,t,n){"use strict";e.exports=function(e){return function(t){return e.apply(null,t)}}},"0e15":function(e,t,n){var r=n("597f");e.exports=function(e,t,n){return void 0===n?r(e,t,!1):r(e,n,!1!==t)}},"0e54":function(e,t,n){(function(t,n){e.exports=n()})(0,(function(){"use strict";function e(e,t){for(var n=0;ne.length)&&(t=e.length);for(var n=0,r=new Array(t);n=e.length?{done:!0}:{done:!1,value:e[i++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o={exports:{}};function s(){return{baseUrl:null,breaks:!1,extensions:null,gfm:!0,headerIds:!0,headerPrefix:"",highlight:null,langPrefix:"language-",mangle:!0,pedantic:!1,renderer:null,sanitize:!1,sanitizer:null,silent:!1,smartLists:!1,smartypants:!1,tokenizer:null,walkTokens:null,xhtml:!1}}function a(e){o.exports.defaults=e}o.exports={defaults:s(),getDefaults:s,changeDefaults:a};var u=/[&<>"']/,l=/[&<>"']/g,c=/[<>"']|&(?!#?\w+;)/,p=/[<>"']|&(?!#?\w+;)/g,f={"&":"&","<":"<",">":">",'"':""","'":"'"},h=function(e){return f[e]};function d(e,t){if(t){if(u.test(e))return e.replace(l,h)}else if(c.test(e))return e.replace(p,h);return e}var m=/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/gi;function g(e){return e.replace(m,(function(e,t){return t=t.toLowerCase(),"colon"===t?":":"#"===t.charAt(0)?"x"===t.charAt(1)?String.fromCharCode(parseInt(t.substring(2),16)):String.fromCharCode(+t.substring(1)):""}))}var y=/(^|[^\[])\^/g;function v(e,t){e=e.source||e,t=t||"";var n={replace:function(t,r){return r=r.source||r,r=r.replace(y,"$1"),e=e.replace(t,r),n},getRegex:function(){return new RegExp(e,t)}};return n}var b=/[^\w:]/g,D=/^$|^[a-z][a-z0-9+.-]*:|^[?#]/i;function w(e,t,n){if(e){var r;try{r=decodeURIComponent(g(n)).replace(b,"").toLowerCase()}catch(i){return null}if(0===r.indexOf("javascript:")||0===r.indexOf("vbscript:")||0===r.indexOf("data:"))return null}t&&!D.test(n)&&(n=k(t,n));try{n=encodeURI(n).replace(/%25/g,"%")}catch(i){return null}return n}var C={},x=/^[^:]+:\/*[^/]*$/,E=/^([^:]+:)[\s\S]*$/,_=/^([^:]+:\/*[^/]*)[\s\S]*$/;function k(e,t){C[" "+e]||(x.test(e)?C[" "+e]=e+"/":C[" "+e]=O(e,"/",!0)),e=C[" "+e];var n=-1===e.indexOf(":");return"//"===t.substring(0,2)?n?t:e.replace(E,"$1")+t:"/"===t.charAt(0)?n?t:e.replace(_,"$1")+t:e+t}var T={exec:function(){}};function S(e){for(var t,n,r=1;r=0&&"\\"===n[i])r=!r;return r?"|":" |"})),r=n.split(/ \|/),i=0;if(r.length>t)r.splice(t);else while(r.length1)1&t&&(n+=e),t>>=1,e+=e;return n+e}var P={escape:d,unescape:g,edit:v,cleanUrl:w,resolveUrl:k,noopTest:T,merge:S,splitCells:A,rtrim:O,findClosingBracket:F,checkSanitizeDeprecation:N,repeatString:I},M=o.exports.defaults,L=P.rtrim,j=P.splitCells,B=P.escape,R=P.findClosingBracket;function $(e,t,n){var r=t.href,i=t.title?B(t.title):null,o=e[1].replace(/\\([\[\]])/g,"$1");return"!"!==e[0].charAt(0)?{type:"link",raw:n,href:r,title:i,text:o}:{type:"image",raw:n,href:r,title:i,text:B(o)}}function H(e,t){var n=e.match(/^(\s+)(?:```)/);if(null===n)return t;var r=n[1];return t.split("\n").map((function(e){var t=e.match(/^\s+/);if(null===t)return e;var n=t[0];return n.length>=r.length?e.slice(r.length):e})).join("\n")}var U=function(){function e(e){this.options=e||M}var t=e.prototype;return t.space=function(e){var t=this.rules.block.newline.exec(e);if(t)return t[0].length>1?{type:"space",raw:t[0]}:{raw:"\n"}},t.code=function(e){var t=this.rules.block.code.exec(e);if(t){var n=t[0].replace(/^ {1,4}/gm,"");return{type:"code",raw:t[0],codeBlockStyle:"indented",text:this.options.pedantic?n:L(n,"\n")}}},t.fences=function(e){var t=this.rules.block.fences.exec(e);if(t){var n=t[0],r=H(n,t[3]||"");return{type:"code",raw:n,lang:t[2]?t[2].trim():t[2],text:r}}},t.heading=function(e){var t=this.rules.block.heading.exec(e);if(t){var n=t[2].trim();if(/#$/.test(n)){var r=L(n,"#");this.options.pedantic?n=r.trim():r&&!/ $/.test(r)||(n=r.trim())}return{type:"heading",raw:t[0],depth:t[1].length,text:n}}},t.nptable=function(e){var t=this.rules.block.nptable.exec(e);if(t){var n={type:"table",header:j(t[1].replace(/^ *| *\| *$/g,"")),align:t[2].replace(/^ *|\| *$/g,"").split(/ *\| */),cells:t[3]?t[3].replace(/\n$/,"").split("\n"):[],raw:t[0]};if(n.header.length===n.align.length){var r,i=n.align.length;for(r=0;r ?/gm,"");return{type:"blockquote",raw:t[0],text:n}}},t.list=function(e){var t=this.rules.block.list.exec(e);if(t){var n,r,i,o,s,a,u,l,c,p=t[0],f=t[2],h=f.length>1,d={type:"list",raw:p,ordered:h,start:h?+f.slice(0,-1):"",loose:!1,items:[]},m=t[0].match(this.rules.block.item),g=!1,y=m.length;i=this.rules.block.listItemStart.exec(m[0]);for(var v=0;vi[1].length:o[1].length>=i[0].length||o[1].length>3){m.splice(v,2,m[v]+(!this.options.pedantic&&o[1].length/i.test(r[0])&&(t=!1),!n&&/^<(pre|code|kbd|script)(\s|>)/i.test(r[0])?n=!0:n&&/^<\/(pre|code|kbd|script)(\s|>)/i.test(r[0])&&(n=!1),{type:this.options.sanitize?"text":"html",raw:r[0],inLink:t,inRawBlock:n,text:this.options.sanitize?this.options.sanitizer?this.options.sanitizer(r[0]):B(r[0]):r[0]}},t.link=function(e){var t=this.rules.inline.link.exec(e);if(t){var n=t[2].trim();if(!this.options.pedantic&&/^$/.test(n))return;var r=L(n.slice(0,-1),"\\");if((n.length-r.length)%2===0)return}else{var i=R(t[2],"()");if(i>-1){var o=0===t[0].indexOf("!")?5:4,s=o+t[1].length+i;t[2]=t[2].substring(0,i),t[0]=t[0].substring(0,s).trim(),t[3]=""}}var a=t[2],u="";if(this.options.pedantic){var l=/^([^'"]*[^\s])\s+(['"])(.*)\2/.exec(a);l&&(a=l[1],u=l[3])}else u=t[3]?t[3].slice(1,-1):"";return a=a.trim(),/^$/.test(n)?a.slice(1):a.slice(1,-1)),$(t,{href:a?a.replace(this.rules.inline._escapes,"$1"):a,title:u?u.replace(this.rules.inline._escapes,"$1"):u},t[0])}},t.reflink=function(e,t){var n;if((n=this.rules.inline.reflink.exec(e))||(n=this.rules.inline.nolink.exec(e))){var r=(n[2]||n[1]).replace(/\s+/g," ");if(r=t[r.toLowerCase()],!r||!r.href){var i=n[0].charAt(0);return{type:"text",raw:i,text:i}}return $(n,r,n[0])}},t.emStrong=function(e,t,n){void 0===n&&(n="");var r=this.rules.inline.emStrong.lDelim.exec(e);if(r&&(!r[3]||!n.match(/(?:[0-9A-Za-z\xAA\xB2\xB3\xB5\xB9\xBA\xBC-\xBE\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0560-\u0588\u05D0-\u05EA\u05EF-\u05F2\u0620-\u064A\u0660-\u0669\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07C0-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u08A0-\u08B4\u08B6-\u08C7\u0904-\u0939\u093D\u0950\u0958-\u0961\u0966-\u096F\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09E6-\u09F1\u09F4-\u09F9\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A66-\u0A6F\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AE6-\u0AEF\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B66-\u0B6F\u0B71-\u0B77\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0BE6-\u0BF2\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C60\u0C61\u0C66-\u0C6F\u0C78-\u0C7E\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CE6-\u0CEF\u0CF1\u0CF2\u0D04-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D58-\u0D61\u0D66-\u0D78\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DE6-\u0DEF\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E50-\u0E59\u0E81\u0E82\u0E84\u0E86-\u0E8A\u0E8C-\u0EA3\u0EA5\u0EA7-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0ED0-\u0ED9\u0EDC-\u0EDF\u0F00\u0F20-\u0F33\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F-\u1049\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u1090-\u1099\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1369-\u137C\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u17E0-\u17E9\u17F0-\u17F9\u1810-\u1819\u1820-\u1878\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1946-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u19D0-\u19DA\u1A00-\u1A16\u1A20-\u1A54\u1A80-\u1A89\u1A90-\u1A99\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B50-\u1B59\u1B83-\u1BA0\u1BAE-\u1BE5\u1C00-\u1C23\u1C40-\u1C49\u1C4D-\u1C7D\u1C80-\u1C88\u1C90-\u1CBA\u1CBD-\u1CBF\u1CE9-\u1CEC\u1CEE-\u1CF3\u1CF5\u1CF6\u1CFA\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2070\u2071\u2074-\u2079\u207F-\u2089\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2150-\u2189\u2460-\u249B\u24EA-\u24FF\u2776-\u2793\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2CFD\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312F\u3131-\u318E\u3192-\u3195\u31A0-\u31BF\u31F0-\u31FF\u3220-\u3229\u3248-\u324F\u3251-\u325F\u3280-\u3289\u32B1-\u32BF\u3400-\u4DBF\u4E00-\u9FFC\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7BF\uA7C2-\uA7CA\uA7F5-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA830-\uA835\uA840-\uA873\uA882-\uA8B3\uA8D0-\uA8D9\uA8F2-\uA8F7\uA8FB\uA8FD\uA8FE\uA900-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF-\uA9D9\uA9E0-\uA9E4\uA9E6-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA50-\uAA59\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB69\uAB70-\uABE2\uABF0-\uABF9\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF10-\uFF19\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD07-\uDD33\uDD40-\uDD78\uDD8A\uDD8B\uDE80-\uDE9C\uDEA0-\uDED0\uDEE1-\uDEFB\uDF00-\uDF23\uDF2D-\uDF4A\uDF50-\uDF75\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDCA0-\uDCA9\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC58-\uDC76\uDC79-\uDC9E\uDCA7-\uDCAF\uDCE0-\uDCF2\uDCF4\uDCF5\uDCFB-\uDD1B\uDD20-\uDD39\uDD80-\uDDB7\uDDBC-\uDDCF\uDDD2-\uDE00\uDE10-\uDE13\uDE15-\uDE17\uDE19-\uDE35\uDE40-\uDE48\uDE60-\uDE7E\uDE80-\uDE9F\uDEC0-\uDEC7\uDEC9-\uDEE4\uDEEB-\uDEEF\uDF00-\uDF35\uDF40-\uDF55\uDF58-\uDF72\uDF78-\uDF91\uDFA9-\uDFAF]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2\uDCFA-\uDD23\uDD30-\uDD39\uDE60-\uDE7E\uDE80-\uDEA9\uDEB0\uDEB1\uDF00-\uDF27\uDF30-\uDF45\uDF51-\uDF54\uDFB0-\uDFCB\uDFE0-\uDFF6]|\uD804[\uDC03-\uDC37\uDC52-\uDC6F\uDC83-\uDCAF\uDCD0-\uDCE8\uDCF0-\uDCF9\uDD03-\uDD26\uDD36-\uDD3F\uDD44\uDD47\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDD0-\uDDDA\uDDDC\uDDE1-\uDDF4\uDE00-\uDE11\uDE13-\uDE2B\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDEF0-\uDEF9\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61]|\uD805[\uDC00-\uDC34\uDC47-\uDC4A\uDC50-\uDC59\uDC5F-\uDC61\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDCD0-\uDCD9\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE50-\uDE59\uDE80-\uDEAA\uDEB8\uDEC0-\uDEC9\uDF00-\uDF1A\uDF30-\uDF3B]|\uD806[\uDC00-\uDC2B\uDCA0-\uDCF2\uDCFF-\uDD06\uDD09\uDD0C-\uDD13\uDD15\uDD16\uDD18-\uDD2F\uDD3F\uDD41\uDD50-\uDD59\uDDA0-\uDDA7\uDDAA-\uDDD0\uDDE1\uDDE3\uDE00\uDE0B-\uDE32\uDE3A\uDE50\uDE5C-\uDE89\uDE9D\uDEC0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC2E\uDC40\uDC50-\uDC6C\uDC72-\uDC8F\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD30\uDD46\uDD50-\uDD59\uDD60-\uDD65\uDD67\uDD68\uDD6A-\uDD89\uDD98\uDDA0-\uDDA9\uDEE0-\uDEF2\uDFB0\uDFC0-\uDFD4]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD81C-\uD820\uD822\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879\uD880-\uD883][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE60-\uDE69\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF50-\uDF59\uDF5B-\uDF61\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDE40-\uDE96\uDF00-\uDF4A\uDF50\uDF93-\uDF9F\uDFE0\uDFE1\uDFE3]|\uD821[\uDC00-\uDFF7]|\uD823[\uDC00-\uDCD5\uDD00-\uDD08]|\uD82C[\uDC00-\uDD1E\uDD50-\uDD52\uDD64-\uDD67\uDD70-\uDEFB]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD834[\uDEE0-\uDEF3\uDF60-\uDF78]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB\uDFCE-\uDFFF]|\uD838[\uDD00-\uDD2C\uDD37-\uDD3D\uDD40-\uDD49\uDD4E\uDEC0-\uDEEB\uDEF0-\uDEF9]|\uD83A[\uDC00-\uDCC4\uDCC7-\uDCCF\uDD00-\uDD43\uDD4B\uDD50-\uDD59]|\uD83B[\uDC71-\uDCAB\uDCAD-\uDCAF\uDCB1-\uDCB4\uDD01-\uDD2D\uDD2F-\uDD3D\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD83C[\uDD00-\uDD0C]|\uD83E[\uDFF0-\uDFF9]|\uD869[\uDC00-\uDEDD\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0]|\uD87E[\uDC00-\uDE1D]|\uD884[\uDC00-\uDF4A])/))){var i=r[1]||r[2]||"";if(!i||i&&(""===n||this.rules.inline.punctuation.exec(n))){var o,s,a=r[0].length-1,u=a,l=0,c="*"===r[0][0]?this.rules.inline.emStrong.rDelimAst:this.rules.inline.emStrong.rDelimUnd;c.lastIndex=0,t=t.slice(-1*e.length+a);while(null!=(r=c.exec(t)))if(o=r[1]||r[2]||r[3]||r[4]||r[5]||r[6],o)if(s=o.length,r[3]||r[4])u+=s;else if(!((r[5]||r[6])&&a%3)||(a+s)%3){if(u-=s,!(u>0))return s=Math.min(s,s+u+l),Math.min(a,s)%2?{type:"em",raw:e.slice(0,a+r.index+s+1),text:e.slice(1,a+r.index+s)}:{type:"strong",raw:e.slice(0,a+r.index+s+1),text:e.slice(2,a+r.index+s-1)}}else l+=s}}},t.codespan=function(e){var t=this.rules.inline.code.exec(e);if(t){var n=t[2].replace(/\n/g," "),r=/[^ ]/.test(n),i=/^ /.test(n)&&/ $/.test(n);return r&&i&&(n=n.substring(1,n.length-1)),n=B(n,!0),{type:"codespan",raw:t[0],text:n}}},t.br=function(e){var t=this.rules.inline.br.exec(e);if(t)return{type:"br",raw:t[0]}},t.del=function(e){var t=this.rules.inline.del.exec(e);if(t)return{type:"del",raw:t[0],text:t[2]}},t.autolink=function(e,t){var n,r,i=this.rules.inline.autolink.exec(e);if(i)return"@"===i[2]?(n=B(this.options.mangle?t(i[1]):i[1]),r="mailto:"+n):(n=B(i[1]),r=n),{type:"link",raw:i[0],text:n,href:r,tokens:[{type:"text",raw:n,text:n}]}},t.url=function(e,t){var n;if(n=this.rules.inline.url.exec(e)){var r,i;if("@"===n[2])r=B(this.options.mangle?t(n[0]):n[0]),i="mailto:"+r;else{var o;do{o=n[0],n[0]=this.rules.inline._backpedal.exec(n[0])[0]}while(o!==n[0]);r=B(n[0]),i="www."===n[1]?"http://"+r:r}return{type:"link",raw:n[0],text:r,href:i,tokens:[{type:"text",raw:r,text:r}]}}},t.inlineText=function(e,t,n){var r,i=this.rules.inline.text.exec(e);if(i)return r=t?this.options.sanitize?this.options.sanitizer?this.options.sanitizer(i[0]):B(i[0]):i[0]:B(this.options.smartypants?n(i[0]):i[0]),{type:"text",raw:i[0],text:r}},e}(),q=P.noopTest,z=P.edit,V=P.merge,W={newline:/^(?: *(?:\n|$))+/,code:/^( {4}[^\n]+(?:\n(?: *(?:\n|$))*)?)+/,fences:/^ {0,3}(`{3,}(?=[^`\n]*\n)|~{3,})([^\n]*)\n(?:|([\s\S]*?)\n)(?: {0,3}\1[~`]* *(?:\n+|$)|$)/,hr:/^ {0,3}((?:- *){3,}|(?:_ *){3,}|(?:\* *){3,})(?:\n+|$)/,heading:/^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/,blockquote:/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/,list:/^( {0,3})(bull) [\s\S]+?(?:hr|def|\n{2,}(?! )(?! {0,3}bull )\n*|\s*$)/,html:"^ {0,3}(?:<(script|pre|style|textarea)[\\s>][\\s\\S]*?(?:[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?(?:\\?>\\n*|$)|\\n*|$)|\\n*|$)|)[\\s\\S]*?(?:(?:\\n *)+\\n|$)|<(?!script|pre|style|textarea)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n *)+\\n|$)|(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n *)+\\n|$))",def:/^ {0,3}\[(label)\]: *\n? *]+)>?(?:(?: +\n? *| *\n *)(title))? *(?:\n+|$)/,nptable:q,table:q,lheading:/^([^\n]+)\n {0,3}(=+|-+) *(?:\n+|$)/,_paragraph:/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html| +\n)[^\n]+)*)/,text:/^[^\n]+/,_label:/(?!\s*\])(?:\\[\[\]]|[^\[\]])+/,_title:/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/};W.def=z(W.def).replace("label",W._label).replace("title",W._title).getRegex(),W.bullet=/(?:[*+-]|\d{1,9}[.)])/,W.item=/^( *)(bull) ?[^\n]*(?:\n(?! *bull ?)[^\n]*)*/,W.item=z(W.item,"gm").replace(/bull/g,W.bullet).getRegex(),W.listItemStart=z(/^( *)(bull) */).replace("bull",W.bullet).getRegex(),W.list=z(W.list).replace(/bull/g,W.bullet).replace("hr","\\n+(?=\\1?(?:(?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$))").replace("def","\\n+(?="+W.def.source+")").getRegex(),W._tag="address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|section|source|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul",W._comment=/|$)/,W.html=z(W.html,"i").replace("comment",W._comment).replace("tag",W._tag).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(),W.paragraph=z(W._paragraph).replace("hr",W.hr).replace("heading"," {0,3}#{1,6} ").replace("|lheading","").replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html",")|<(?:script|pre|style|textarea|!--)").replace("tag",W._tag).getRegex(),W.blockquote=z(W.blockquote).replace("paragraph",W.paragraph).getRegex(),W.normal=V({},W),W.gfm=V({},W.normal,{nptable:"^ *([^|\\n ].*\\|.*)\\n {0,3}([-:]+ *\\|[-| :]*)(?:\\n((?:(?!\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)",table:"^ *\\|(.+)\\n {0,3}\\|?( *[-:]+[-| :]*)(?:\\n *((?:(?!\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)"}),W.gfm.nptable=z(W.gfm.nptable).replace("hr",W.hr).replace("heading"," {0,3}#{1,6} ").replace("blockquote"," {0,3}>").replace("code"," {4}[^\\n]").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html",")|<(?:script|pre|style|textarea|!--)").replace("tag",W._tag).getRegex(),W.gfm.table=z(W.gfm.table).replace("hr",W.hr).replace("heading"," {0,3}#{1,6} ").replace("blockquote"," {0,3}>").replace("code"," {4}[^\\n]").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html",")|<(?:script|pre|style|textarea|!--)").replace("tag",W._tag).getRegex(),W.pedantic=V({},W.normal,{html:z("^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+? *(?:\\n{2,}|\\s*$)|\\s]*)*?/?> *(?:\\n{2,}|\\s*$))").replace("comment",W._comment).replace(/tag/g,"(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b").getRegex(),def:/^ *\[([^\]]+)\]: *]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/,heading:/^(#{1,6})(.*)(?:\n+|$)/,fences:q,paragraph:z(W.normal._paragraph).replace("hr",W.hr).replace("heading"," *#{1,6} *[^\n]").replace("lheading",W.lheading).replace("blockquote"," {0,3}>").replace("|fences","").replace("|list","").replace("|html","").getRegex()});var G={escape:/^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,autolink:/^<(scheme:[^\s\x00-\x1f<>]*|email)>/,url:q,tag:"^comment|^|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^|^",link:/^!?\[(label)\]\(\s*(href)(?:\s+(title))?\s*\)/,reflink:/^!?\[(label)\]\[(?!\s*\])((?:\\[\[\]]?|[^\[\]\\])+)\]/,nolink:/^!?\[(?!\s*\])((?:\[[^\[\]]*\]|\\[\[\]]|[^\[\]])*)\](?:\[\])?/,reflinkSearch:"reflink|nolink(?!\\()",emStrong:{lDelim:/^(?:\*+(?:([punct_])|[^\s*]))|^_+(?:([punct*])|([^\s_]))/,rDelimAst:/\_\_[^_*]*?\*[^_*]*?\_\_|[punct_](\*+)(?=[\s]|$)|[^punct*_\s](\*+)(?=[punct_\s]|$)|[punct_\s](\*+)(?=[^punct*_\s])|[\s](\*+)(?=[punct_])|[punct_](\*+)(?=[punct_])|[^punct*_\s](\*+)(?=[^punct*_\s])/,rDelimUnd:/\*\*[^_*]*?\_[^_*]*?\*\*|[punct*](\_+)(?=[\s]|$)|[^punct*_\s](\_+)(?=[punct*\s]|$)|[punct*\s](\_+)(?=[^punct*_\s])|[\s](\_+)(?=[punct*])|[punct*](\_+)(?=[punct*])/},code:/^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/,br:/^( {2,}|\\)\n(?!\s*$)/,del:q,text:/^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\?@\\[\\]`^{|}~"};G.punctuation=z(G.punctuation).replace(/punctuation/g,G._punctuation).getRegex(),G.blockSkip=/\[[^\]]*?\]\([^\)]*?\)|`[^`]*?`|<[^>]*?>/g,G.escapedEmSt=/\\\*|\\_/g,G._comment=z(W._comment).replace("(?:--\x3e|$)","--\x3e").getRegex(),G.emStrong.lDelim=z(G.emStrong.lDelim).replace(/punct/g,G._punctuation).getRegex(),G.emStrong.rDelimAst=z(G.emStrong.rDelimAst,"g").replace(/punct/g,G._punctuation).getRegex(),G.emStrong.rDelimUnd=z(G.emStrong.rDelimUnd,"g").replace(/punct/g,G._punctuation).getRegex(),G._escapes=/\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/g,G._scheme=/[a-zA-Z][a-zA-Z0-9+.-]{1,31}/,G._email=/[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+(@)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+(?![-_])/,G.autolink=z(G.autolink).replace("scheme",G._scheme).replace("email",G._email).getRegex(),G._attribute=/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/,G.tag=z(G.tag).replace("comment",G._comment).replace("attribute",G._attribute).getRegex(),G._label=/(?:\[(?:\\.|[^\[\]\\])*\]|\\.|`[^`]*`|[^\[\]\\`])*?/,G._href=/<(?:\\.|[^\n<>\\])+>|[^\s\x00-\x1f]*/,G._title=/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/,G.link=z(G.link).replace("label",G._label).replace("href",G._href).replace("title",G._title).getRegex(),G.reflink=z(G.reflink).replace("label",G._label).getRegex(),G.reflinkSearch=z(G.reflinkSearch,"g").replace("reflink",G.reflink).replace("nolink",G.nolink).getRegex(),G.normal=V({},G),G.pedantic=V({},G.normal,{strong:{start:/^__|\*\*/,middle:/^__(?=\S)([\s\S]*?\S)__(?!_)|^\*\*(?=\S)([\s\S]*?\S)\*\*(?!\*)/,endAst:/\*\*(?!\*)/g,endUnd:/__(?!_)/g},em:{start:/^_|\*/,middle:/^()\*(?=\S)([\s\S]*?\S)\*(?!\*)|^_(?=\S)([\s\S]*?\S)_(?!_)/,endAst:/\*(?!\*)/g,endUnd:/_(?!_)/g},link:z(/^!?\[(label)\]\((.*?)\)/).replace("label",G._label).getRegex(),reflink:z(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label",G._label).getRegex()}),G.gfm=V({},G.normal,{escape:z(G.escape).replace("])","~|])").getRegex(),_extended_email:/[A-Za-z0-9._+-]+(@)[a-zA-Z0-9-_]+(?:\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![-_])/,url:/^((?:ftp|https?):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/,_backpedal:/(?:[^?!.,:;*_~()&]+|\([^)]*\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_~)]+(?!$))+/,del:/^(~~?)(?=[^\s~])([\s\S]*?[^\s~])\1(?=[^~]|$)/,text:/^([`~]+|[^`~])(?:(?= {2,}\n)|(?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)|[\s\S]*?(?:(?=[\\.5&&(n="x"+n.toString(16)),r+="&#"+n+";";return r}var ne=function(){function e(e){this.tokens=[],this.tokens.links=Object.create(null),this.options=e||X,this.options.tokenizer=this.options.tokenizer||new Y,this.tokenizer=this.options.tokenizer,this.tokenizer.options=this.options;var t={block:J.normal,inline:Q.normal};this.options.pedantic?(t.block=J.pedantic,t.inline=Q.pedantic):this.options.gfm&&(t.block=J.gfm,this.options.breaks?t.inline=Q.breaks:t.inline=Q.gfm),this.tokenizer.rules=t}e.lex=function(t,n){var r=new e(n);return r.lex(t)},e.lexInline=function(t,n){var r=new e(n);return r.inlineTokens(t)};var n=e.prototype;return n.lex=function(e){return e=e.replace(/\r\n|\r/g,"\n").replace(/\t/g," "),this.blockTokens(e,this.tokens,!0),this.inline(this.tokens),this.tokens},n.blockTokens=function(e,t,n){var r,i,o,s,a,u,l=this;void 0===t&&(t=[]),void 0===n&&(n=!0),this.options.pedantic&&(e=e.replace(/^ +$/gm,""));while(e)if(!(this.options.extensions&&this.options.extensions.block&&this.options.extensions.block.some((function(n){return!!(r=n.call(l,e,t))&&(e=e.substring(r.raw.length),t.push(r),!0)}))))if(r=this.tokenizer.space(e))e=e.substring(r.raw.length),r.type&&t.push(r);else if(r=this.tokenizer.code(e))e=e.substring(r.raw.length),s=t[t.length-1],s&&"paragraph"===s.type?(s.raw+="\n"+r.raw,s.text+="\n"+r.text):t.push(r);else if(r=this.tokenizer.fences(e))e=e.substring(r.raw.length),t.push(r);else if(r=this.tokenizer.heading(e))e=e.substring(r.raw.length),t.push(r);else if(r=this.tokenizer.nptable(e))e=e.substring(r.raw.length),t.push(r);else if(r=this.tokenizer.hr(e))e=e.substring(r.raw.length),t.push(r);else if(r=this.tokenizer.blockquote(e))e=e.substring(r.raw.length),r.tokens=this.blockTokens(r.text,[],n),t.push(r);else if(r=this.tokenizer.list(e)){for(e=e.substring(r.raw.length),o=r.items.length,i=0;i=0&&(t=Math.min(t,r))})),t<1/0&&t>=0&&(a=e.substring(0,t+1))}(),n&&(r=this.tokenizer.paragraph(a)))s=t[t.length-1],u&&"paragraph"===s.type?(s.raw+="\n"+r.raw,s.text+="\n"+r.text):t.push(r),u=a.length!==e.length,e=e.substring(r.raw.length);else if(r=this.tokenizer.text(e))e=e.substring(r.raw.length),s=t[t.length-1],s&&"text"===s.type?(s.raw+="\n"+r.raw,s.text+="\n"+r.text):t.push(r);else if(e){var c="Infinite loop on byte: "+e.charCodeAt(0);if(this.options.silent){console.error(c);break}throw new Error(c)}return t},n.inline=function(e){var t,n,r,i,o,s,a=e.length;for(t=0;t0)while(null!=(u=this.tokenizer.rules.inline.reflinkSearch.exec(p)))f.includes(u[0].slice(u[0].lastIndexOf("[")+1,-1))&&(p=p.slice(0,u.index)+"["+Z("a",u[0].length-2)+"]"+p.slice(this.tokenizer.rules.inline.reflinkSearch.lastIndex))}while(null!=(u=this.tokenizer.rules.inline.blockSkip.exec(p)))p=p.slice(0,u.index)+"["+Z("a",u[0].length-2)+"]"+p.slice(this.tokenizer.rules.inline.blockSkip.lastIndex);while(null!=(u=this.tokenizer.rules.inline.escapedEmSt.exec(p)))p=p.slice(0,u.index)+"++"+p.slice(this.tokenizer.rules.inline.escapedEmSt.lastIndex);while(e)if(l||(c=""),l=!1,!(this.options.extensions&&this.options.extensions.inline&&this.options.extensions.inline.some((function(n){return!!(i=n.call(a,e,t))&&(e=e.substring(i.raw.length),t.push(i),!0)}))))if(i=this.tokenizer.escape(e))e=e.substring(i.raw.length),t.push(i);else if(i=this.tokenizer.tag(e,n,r))e=e.substring(i.raw.length),n=i.inLink,r=i.inRawBlock,o=t[t.length-1],o&&"text"===i.type&&"text"===o.type?(o.raw+=i.raw,o.text+=i.text):t.push(i);else if(i=this.tokenizer.link(e))e=e.substring(i.raw.length),"link"===i.type&&(i.tokens=this.inlineTokens(i.text,[],!0,r)),t.push(i);else if(i=this.tokenizer.reflink(e,this.tokens.links))e=e.substring(i.raw.length),o=t[t.length-1],"link"===i.type?(i.tokens=this.inlineTokens(i.text,[],!0,r),t.push(i)):o&&"text"===i.type&&"text"===o.type?(o.raw+=i.raw,o.text+=i.text):t.push(i);else if(i=this.tokenizer.emStrong(e,p,c))e=e.substring(i.raw.length),i.tokens=this.inlineTokens(i.text,[],n,r),t.push(i);else if(i=this.tokenizer.codespan(e))e=e.substring(i.raw.length),t.push(i);else if(i=this.tokenizer.br(e))e=e.substring(i.raw.length),t.push(i);else if(i=this.tokenizer.del(e))e=e.substring(i.raw.length),i.tokens=this.inlineTokens(i.text,[],n,r),t.push(i);else if(i=this.tokenizer.autolink(e,te))e=e.substring(i.raw.length),t.push(i);else if(n||!(i=this.tokenizer.url(e,te))){if(s=e,this.options.extensions&&this.options.extensions.startInline&&function(){var t=1/0,n=e.slice(1),r=void 0;a.options.extensions.startInline.forEach((function(e){r=e.call(this,n),"number"===typeof r&&r>=0&&(t=Math.min(t,r))})),t<1/0&&t>=0&&(s=e.substring(0,t+1))}(),i=this.tokenizer.inlineText(s,r,ee))e=e.substring(i.raw.length),"_"!==i.raw.slice(-1)&&(c=i.raw.slice(-1)),l=!0,o=t[t.length-1],o&&"text"===o.type?(o.raw+=i.raw,o.text+=i.text):t.push(i);else if(e){var h="Infinite loop on byte: "+e.charCodeAt(0);if(this.options.silent){console.error(h);break}throw new Error(h)}}else e=e.substring(i.raw.length),t.push(i);return t},t(e,null,[{key:"rules",get:function(){return{block:J,inline:Q}}}]),e}(),re=o.exports.defaults,ie=P.cleanUrl,oe=P.escape,se=function(){function e(e){this.options=e||re}var t=e.prototype;return t.code=function(e,t,n){var r=(t||"").match(/\S*/)[0];if(this.options.highlight){var i=this.options.highlight(e,r);null!=i&&i!==e&&(n=!0,e=i)}return e=e.replace(/\n$/,"")+"\n",r?'
'+(n?e:oe(e,!0))+"
\n":"
"+(n?e:oe(e,!0))+"
\n"},t.blockquote=function(e){return"
\n"+e+"
\n"},t.html=function(e){return e},t.heading=function(e,t,n,r){return this.options.headerIds?"'+e+"\n":""+e+"\n"},t.hr=function(){return this.options.xhtml?"
\n":"
\n"},t.list=function(e,t,n){var r=t?"ol":"ul",i=t&&1!==n?' start="'+n+'"':"";return"<"+r+i+">\n"+e+"\n"},t.listitem=function(e){return"
  • "+e+"
  • \n"},t.checkbox=function(e){return" "},t.paragraph=function(e){return"

    "+e+"

    \n"},t.table=function(e,t){return t&&(t=""+t+""),"\n\n"+e+"\n"+t+"
    \n"},t.tablerow=function(e){return"\n"+e+"\n"},t.tablecell=function(e,t){var n=t.header?"th":"td",r=t.align?"<"+n+' align="'+t.align+'">':"<"+n+">";return r+e+"\n"},t.strong=function(e){return""+e+""},t.em=function(e){return""+e+""},t.codespan=function(e){return""+e+""},t.br=function(){return this.options.xhtml?"
    ":"
    "},t.del=function(e){return""+e+""},t.link=function(e,t,n){if(e=ie(this.options.sanitize,this.options.baseUrl,e),null===e)return n;var r='",r},t.image=function(e,t,n){if(e=ie(this.options.sanitize,this.options.baseUrl,e),null===e)return n;var r=''+n+'":">",r},t.text=function(e){return e},e}(),ae=function(){function e(){}var t=e.prototype;return t.strong=function(e){return e},t.em=function(e){return e},t.codespan=function(e){return e},t.del=function(e){return e},t.html=function(e){return e},t.text=function(e){return e},t.link=function(e,t,n){return""+n},t.image=function(e,t,n){return""+n},t.br=function(){return""},e}(),ue=function(){function e(){this.seen={}}var t=e.prototype;return t.serialize=function(e){return e.toLowerCase().trim().replace(/<[!\/a-z].*?>/gi,"").replace(/[\u2000-\u206F\u2E00-\u2E7F\\'!"#$%&()*+,./:;<=>?@[\]^`{|}~]/g,"").replace(/\s/g,"-")},t.getNextSafeSlug=function(e,t){var n=e,r=0;if(this.seen.hasOwnProperty(n)){r=this.seen[e];do{r++,n=e+"-"+r}while(this.seen.hasOwnProperty(n))}return t||(this.seen[e]=r,this.seen[n]=0),n},t.slug=function(e,t){void 0===t&&(t={});var n=this.serialize(e);return this.getNextSafeSlug(n,t.dryrun)},e}(),le=se,ce=ae,pe=ue,fe=o.exports.defaults,he=P.unescape,de=function(){function e(e){this.options=e||fe,this.options.renderer=this.options.renderer||new le,this.renderer=this.options.renderer,this.renderer.options=this.options,this.textRenderer=new ce,this.slugger=new pe}e.parse=function(t,n){var r=new e(n);return r.parse(t)},e.parseInline=function(t,n){var r=new e(n);return r.parseInline(t)};var t=e.prototype;return t.parse=function(e,t){void 0===t&&(t=!0);var n,r,i,o,s,a,u,l,c,p,f,h,d,m,g,y,v,b,D,w="",C=e.length;for(n=0;n0&&"text"===g.tokens[0].type?(g.tokens[0].text=b+" "+g.tokens[0].text,g.tokens[0].tokens&&g.tokens[0].tokens.length>0&&"text"===g.tokens[0].tokens[0].type&&(g.tokens[0].tokens[0].text=b+" "+g.tokens[0].tokens[0].text)):g.tokens.unshift({type:"text",text:b}):m+=b),m+=this.parse(g.tokens,d),c+=this.renderer.listitem(m,v,y);w+=this.renderer.list(c,f,h);continue;case"html":w+=this.renderer.html(p.text);continue;case"paragraph":w+=this.renderer.paragraph(this.parseInline(p.tokens));continue;case"text":c=p.tokens?this.parseInline(p.tokens):p.text;while(n+1An error occurred:

    "+xe(u.message+"",!0)+"
    ";throw u}}Te.options=Te.setOptions=function(e){return we(Te.defaults,e),_e(Te.defaults),Te},Te.getDefaults=Ee,Te.defaults=ke,Te.use=function(){for(var e=this,t=arguments.length,n=new Array(t),r=0;rAn error occurred:

    "+xe(r.message+"",!0)+"
    ";throw r}},Te.Parser=ge,Te.parser=ge.parse,Te.Renderer=ve,Te.TextRenderer=be,Te.Lexer=me,Te.lexer=me.lex,Te.Tokenizer=ye,Te.Slugger=De,Te.parse=Te;var Se=Te;return Se}))},"0f22":function(e,t,n){var r=n("29d8").DOMParser,i=function(){this.version="1.3.5";var e={mergeCDATA:!0,normalize:!0,stripElemPrefix:!0},t=new RegExp(/(?!xmlns)^.*:/);new RegExp(/^\s+|\s+$/g);return this.grokType=function(e){return/^\s*$/.test(e)?null:/^(?:true|false)$/i.test(e)?"true"===e.toLowerCase():isFinite(e)?parseFloat(e):e},this.parseString=function(e,t){if(e){var n=this.stringToXML(e);return n.getElementsByTagName("parsererror").length?null:this.parseXML(n,t)}return null},this.parseXML=function(n,r){for(var o in r)e[o]=r[o];var s={},a=0,u="",l=n.childNodes.length;if(l)for(var c,p,f,h=0;hb)","g");return"b"!==e.exec("b").groups.a||"bc"!=="b".replace(e,"$
    c")}))},1098:function(e,t,n){"use strict";t.__esModule=!0;var r=n("17ed"),i=u(r),o=n("f893"),s=u(o),a="function"===typeof s.default&&"symbol"===typeof i.default?function(e){return typeof e}:function(e){return e&&"function"===typeof s.default&&e.constructor===s.default&&e!==s.default.prototype?"symbol":typeof e};function u(e){return e&&e.__esModule?e:{default:e}}t.default="function"===typeof s.default&&"symbol"===a(i.default)?function(e){return"undefined"===typeof e?"undefined":a(e)}:function(e){return e&&"function"===typeof s.default&&e.constructor===s.default&&e!==s.default.prototype?"symbol":"undefined"===typeof e?"undefined":a(e)}},"10b2":function(e,t,n){(function(e){e(n("56b3"))})((function(e){var t={pairs:"()[]{}''\"\"",closeBefore:")]}'\":;>",triples:"",explode:"[]{}"},n=e.Pos;function r(e,n){return"pairs"==n&&"string"==typeof e?e:"object"==typeof e&&null!=e[n]?e[n]:t[n]}e.defineOption("autoCloseBrackets",!1,(function(t,n,s){s&&s!=e.Init&&(t.removeKeyMap(i),t.state.closeBrackets=null),n&&(o(r(n,"pairs")),t.state.closeBrackets=n,t.addKeyMap(i))}));var i={Backspace:u,Enter:l};function o(e){for(var t=0;t=0;u--){var c=s[u].head;t.replaceRange("",n(c.line,c.ch-1),n(c.line,c.ch+1),"+delete")}}function l(t){var n=a(t),i=n&&r(n,"explode");if(!i||t.getOption("disableInput"))return e.Pass;for(var o=t.listSelections(),s=0;s0?{line:s.head.line,ch:s.head.ch+t}:{line:s.head.line-1};n.push({anchor:a,head:a})}e.setSelections(n,i)}function p(t){var r=e.cmpPos(t.anchor,t.head)>0;return{anchor:new n(t.anchor.line,t.anchor.ch+(r?-1:1)),head:new n(t.head.line,t.head.ch+(r?1:-1))}}function f(t,i){var o=a(t);if(!o||t.getOption("disableInput"))return e.Pass;var s=r(o,"pairs"),u=s.indexOf(i);if(-1==u)return e.Pass;for(var l,f=r(o,"closeBefore"),h=r(o,"triples"),m=s.charAt(u+1)==i,g=t.listSelections(),y=u%2==0,v=0;v1&&h.indexOf(i)>=0&&t.getRange(n(w.line,w.ch-2),w)==i+i){if(w.ch>2&&/\bstring/.test(t.getTokenTypeAt(n(w.line,w.ch-2))))return e.Pass;b="addFour"}else if(m){var x=0==w.ch?" ":t.getRange(n(w.line,w.ch-1),w);if(e.isWordChar(C)||x==i||e.isWordChar(x))return e.Pass;b="both"}else{if(!y||!(0===C.length||/\s/.test(C)||f.indexOf(C)>-1))return e.Pass;b="both"}else b=m&&d(t,w)?"both":h.indexOf(i)>=0&&t.getRange(w,n(w.line,w.ch+3))==i+i+i?"skipThree":"skip";if(l){if(l!=b)return e.Pass}else l=b}var E=u%2?s.charAt(u-1):i,_=u%2?i:s.charAt(u+1);t.operation((function(){if("skip"==l)c(t,1);else if("skipThree"==l)c(t,3);else if("surround"==l){for(var e=t.getSelections(),n=0;n>>24)|4278255360&(i<<24|i>>>8)}var o,s,h,D,w,C,x,E,_,k,T,S=this._hash.words,A=p.words,O=f.words,F=a.words,N=u.words,I=l.words,P=c.words;C=o=S[0],x=s=S[1],E=h=S[2],_=D=S[3],k=w=S[4];for(n=0;n<80;n+=1)T=o+e[t+F[n]]|0,T+=n<16?d(s,h,D)+A[0]:n<32?m(s,h,D)+A[1]:n<48?g(s,h,D)+A[2]:n<64?y(s,h,D)+A[3]:v(s,h,D)+A[4],T|=0,T=b(T,I[n]),T=T+w|0,o=w,w=D,D=b(h,10),h=s,s=T,T=C+e[t+N[n]]|0,T+=n<16?v(x,E,_)+O[0]:n<32?y(x,E,_)+O[1]:n<48?g(x,E,_)+O[2]:n<64?m(x,E,_)+O[3]:d(x,E,_)+O[4],T|=0,T=b(T,P[n]),T=T+k|0,C=k,k=_,_=b(E,10),E=x,x=T;T=S[1]+h+_|0,S[1]=S[2]+D+k|0,S[2]=S[3]+w+C|0,S[3]=S[4]+o+x|0,S[4]=S[0]+s+E|0,S[0]=T},_doFinalize:function(){var e=this._data,t=e.words,n=8*this._nDataBytes,r=8*e.sigBytes;t[r>>>5]|=128<<24-r%32,t[14+(r+64>>>9<<4)]=16711935&(n<<8|n>>>24)|4278255360&(n<<24|n>>>8),e.sigBytes=4*(t.length+1),this._process();for(var i=this._hash,o=i.words,s=0;s<5;s++){var a=o[s];o[s]=16711935&(a<<8|a>>>24)|4278255360&(a<<24|a>>>8)}return i},clone:function(){var e=o.clone.call(this);return e._hash=this._hash.clone(),e}});function d(e,t,n){return e^t^n}function m(e,t,n){return e&t|~e&n}function g(e,t,n){return(e|~t)^n}function y(e,t,n){return e&n|t&~n}function v(e,t,n){return e^(t|~n)}function b(e,t){return e<>>32-t}n.RIPEMD160=o._createHelper(h),n.HmacRIPEMD160=o._createHmacHelper(h)}(Math),e.RIPEMD160}))},"10db":function(e,t){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},"111b":function(e,t,n){(function(e){e(n("56b3"),n("7b00"))})((function(e){"use strict";var t={active:1,after:1,before:1,checked:1,default:1,disabled:1,empty:1,enabled:1,"first-child":1,"first-letter":1,"first-line":1,"first-of-type":1,focus:1,hover:1,"in-range":1,indeterminate:1,invalid:1,lang:1,"last-child":1,"last-of-type":1,link:1,not:1,"nth-child":1,"nth-last-child":1,"nth-last-of-type":1,"nth-of-type":1,"only-of-type":1,"only-child":1,optional:1,"out-of-range":1,placeholder:1,"read-only":1,"read-write":1,required:1,root:1,selection:1,target:1,valid:1,visited:1};e.registerHelper("hint","css",(function(n){var r=n.getCursor(),i=n.getTokenAt(r),o=e.innerMode(n.getMode(),i.state);if("css"==o.mode.name){if("keyword"==i.type&&0=="!important".indexOf(i.string))return{list:["!important"],from:e.Pos(r.line,i.start),to:e.Pos(r.line,i.end)};var s=i.start,a=r.ch,u=i.string.slice(0,a-s);/[^\w$_-]/.test(u)&&(u="",s=a=r.ch);var l=e.resolveMode("text/css"),c=[],p=o.state.state;return"pseudo"==p||"variable-3"==i.type?f(t):"block"==p||"maybeprop"==p?f(l.propertyKeywords):"prop"==p||"parens"==p||"at"==p||"params"==p?(f(l.valueKeywords),f(l.colorKeywords)):"media"!=p&&"media_parens"!=p||(f(l.mediaTypes),f(l.mediaFeatures)),c.length?{list:c,from:e.Pos(r.line,s),to:e.Pos(r.line,a)}:void 0}function f(e){for(var t in e)u&&0!=t.lastIndexOf(u,0)||c.push(t)}}))}))},1132:function(e,t,n){(function(t,r){e.exports=r(n("21bf"))})(0,(function(e){return function(){var t=e,n=t.lib,r=n.WordArray,i=t.enc;i.Base64={stringify:function(e){var t=e.words,n=e.sigBytes,r=this._map;e.clamp();for(var i=[],o=0;o>>2]>>>24-o%4*8&255,a=t[o+1>>>2]>>>24-(o+1)%4*8&255,u=t[o+2>>>2]>>>24-(o+2)%4*8&255,l=s<<16|a<<8|u,c=0;c<4&&o+.75*c>>6*(3-c)&63));var p=r.charAt(64);if(p)while(i.length%4)i.push(p);return i.join("")},parse:function(e){var t=e.length,n=this._map,r=this._reverseMap;if(!r){r=this._reverseMap=[];for(var i=0;i>>6-s%4*2,l=a|u;i[o>>>2]|=l<<24-o%4*8,o++}return r.create(i,o)}}(),e.enc.Base64}))},1148:function(e,t,n){"use strict";var r=n("da84"),i=n("5926"),o=n("577e"),s=n("1d80"),a=r.RangeError;e.exports=function(e){var t=o(s(this)),n="",r=i(e);if(r<0||r==1/0)throw a("Wrong number of repetitions");for(;r>0;(r>>>=1)&&(t+=t))1&r&&(n+=t);return n}},"115b":function(e,t,n){(function(t){function n(e){return r.bind(null,e)}function r(e){var n=[].slice.call(arguments,1);n.unshift("["+e+"]"),t.stderr.write(n.join(" ")+"\n")}e.exports=n}).call(this,n("4362"))},1276:function(e,t,n){"use strict";var r=n("2ba4"),i=n("c65b"),o=n("e330"),s=n("d784"),a=n("44e7"),u=n("825a"),l=n("1d80"),c=n("4840"),p=n("8aa5"),f=n("50c4"),h=n("577e"),d=n("dc4a"),m=n("f36a"),g=n("14c3"),y=n("9263"),v=n("9f7f"),b=n("d039"),D=v.UNSUPPORTED_Y,w=4294967295,C=Math.min,x=[].push,E=o(/./.exec),_=o(x),k=o("".slice),T=!b((function(){var e=/(?:)/,t=e.exec;e.exec=function(){return t.apply(this,arguments)};var n="ab".split(e);return 2!==n.length||"a"!==n[0]||"b"!==n[1]}));s("split",(function(e,t,n){var o;return o="c"=="abbc".split(/(b)*/)[1]||4!="test".split(/(?:)/,-1).length||2!="ab".split(/(?:ab)*/).length||4!=".".split(/(.?)(.?)/).length||".".split(/()()/).length>1||"".split(/.?/).length?function(e,n){var o=h(l(this)),s=void 0===n?w:n>>>0;if(0===s)return[];if(void 0===e)return[o];if(!a(e))return i(t,o,e,s);var u,c,p,f=[],d=(e.ignoreCase?"i":"")+(e.multiline?"m":"")+(e.unicode?"u":"")+(e.sticky?"y":""),g=0,v=new RegExp(e.source,d+"g");while(u=i(y,v,o)){if(c=v.lastIndex,c>g&&(_(f,k(o,g,u.index)),u.length>1&&u.index=s))break;v.lastIndex===u.index&&v.lastIndex++}return g===o.length?!p&&E(v,"")||_(f,""):_(f,k(o,g)),f.length>s?m(f,0,s):f}:"0".split(void 0,0).length?function(e,n){return void 0===e&&0===n?[]:i(t,this,e,n)}:t,[function(t,n){var r=l(this),s=void 0==t?void 0:d(t,e);return s?i(s,t,r,n):i(o,h(r),t,n)},function(e,r){var i=u(this),s=h(e),a=n(o,i,s,r,o!==t);if(a.done)return a.value;var l=c(i,RegExp),d=i.unicode,m=(i.ignoreCase?"i":"")+(i.multiline?"m":"")+(i.unicode?"u":"")+(D?"g":"y"),y=new l(D?"^(?:"+i.source+")":i,m),v=void 0===r?w:r>>>0;if(0===v)return[];if(0===s.length)return null===g(y,s)?[s]:[];var b=0,x=0,E=[];while(x>>24)|4278255360&(e[n]<<24|e[n]>>>8);var r=this._X=[e[0],e[3]<<16|e[2]>>>16,e[1],e[0]<<16|e[3]>>>16,e[2],e[1]<<16|e[0]>>>16,e[3],e[2]<<16|e[1]>>>16],i=this._C=[e[2]<<16|e[2]>>>16,4294901760&e[0]|65535&e[1],e[3]<<16|e[3]>>>16,4294901760&e[1]|65535&e[2],e[0]<<16|e[0]>>>16,4294901760&e[2]|65535&e[3],e[1]<<16|e[1]>>>16,4294901760&e[3]|65535&e[0]];this._b=0;for(n=0;n<4;n++)l.call(this);for(n=0;n<8;n++)i[n]^=r[n+4&7];if(t){var o=t.words,s=o[0],a=o[1],u=16711935&(s<<8|s>>>24)|4278255360&(s<<24|s>>>8),c=16711935&(a<<8|a>>>24)|4278255360&(a<<24|a>>>8),p=u>>>16|4294901760&c,f=c<<16|65535&u;i[0]^=u,i[1]^=p,i[2]^=c,i[3]^=f,i[4]^=u,i[5]^=p,i[6]^=c,i[7]^=f;for(n=0;n<4;n++)l.call(this)}},_doProcessBlock:function(e,t){var n=this._X;l.call(this),o[0]=n[0]^n[5]>>>16^n[3]<<16,o[1]=n[2]^n[7]>>>16^n[5]<<16,o[2]=n[4]^n[1]>>>16^n[7]<<16,o[3]=n[6]^n[3]>>>16^n[1]<<16;for(var r=0;r<4;r++)o[r]=16711935&(o[r]<<8|o[r]>>>24)|4278255360&(o[r]<<24|o[r]>>>8),e[t+r]^=o[r]},blockSize:4,ivSize:2});function l(){for(var e=this._X,t=this._C,n=0;n<8;n++)s[n]=t[n];t[0]=t[0]+1295307597+this._b|0,t[1]=t[1]+3545052371+(t[0]>>>0>>0?1:0)|0,t[2]=t[2]+886263092+(t[1]>>>0>>0?1:0)|0,t[3]=t[3]+1295307597+(t[2]>>>0>>0?1:0)|0,t[4]=t[4]+3545052371+(t[3]>>>0>>0?1:0)|0,t[5]=t[5]+886263092+(t[4]>>>0>>0?1:0)|0,t[6]=t[6]+1295307597+(t[5]>>>0>>0?1:0)|0,t[7]=t[7]+3545052371+(t[6]>>>0>>0?1:0)|0,this._b=t[7]>>>0>>0?1:0;for(n=0;n<8;n++){var r=e[n]+t[n],i=65535&r,o=r>>>16,u=((i*i>>>17)+i*o>>>15)+o*o,l=((4294901760&r)*r|0)+((65535&r)*r|0);a[n]=u^l}e[0]=a[0]+(a[7]<<16|a[7]>>>16)+(a[6]<<16|a[6]>>>16)|0,e[1]=a[1]+(a[0]<<8|a[0]>>>24)+a[7]|0,e[2]=a[2]+(a[1]<<16|a[1]>>>16)+(a[0]<<16|a[0]>>>16)|0,e[3]=a[3]+(a[2]<<8|a[2]>>>24)+a[1]|0,e[4]=a[4]+(a[3]<<16|a[3]>>>16)+(a[2]<<16|a[2]>>>16)|0,e[5]=a[5]+(a[4]<<8|a[4]>>>24)+a[3]|0,e[6]=a[6]+(a[5]<<16|a[5]>>>16)+(a[4]<<16|a[4]>>>16)|0,e[7]=a[7]+(a[6]<<8|a[6]>>>24)+a[5]|0}t.Rabbit=r._createHelper(u)}(),e.Rabbit}))},"13d6":function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.filters=void 0;var i=r(n("dbba")),o=n("99e4");function s(e,t){return function(n){var r=t.getParent(n);return null!=r&&t.isTag(r)&&e(n)}}function a(e){return function(t,n,r){var i=r.adapter,s=i[e];return"function"!==typeof s?o.falseFunc:function(e){return s(e)&&t(e)}}}t.filters={contains:function(e,t,n){var r=n.adapter;return function(n){return e(n)&&r.getText(n).includes(t)}},icontains:function(e,t,n){var r=n.adapter,i=t.toLowerCase();return function(t){return e(t)&&r.getText(t).toLowerCase().includes(i)}},"nth-child":function(e,t,n){var r=n.adapter,a=n.equals,u=i.default(t);return u===o.falseFunc?o.falseFunc:u===o.trueFunc?s(e,r):function(t){for(var n=r.getSiblings(t),i=0,o=0;o=0;o--){if(a(t,n[o]))break;r.isTag(n[o])&&i++}return u(i)&&e(t)}},"nth-of-type":function(e,t,n){var r=n.adapter,a=n.equals,u=i.default(t);return u===o.falseFunc?o.falseFunc:u===o.trueFunc?s(e,r):function(t){for(var n=r.getSiblings(t),i=0,o=0;o=0;o--){var s=n[o];if(a(t,s))break;r.isTag(s)&&r.getName(s)===r.getName(t)&&i++}return u(i)&&e(t)}},root:function(e,t,n){var r=n.adapter;return function(t){var n=r.getParent(t);return(null==n||!r.isTag(n))&&e(t)}},scope:function(e,n,r,i){var o=r.equals;return i&&0!==i.length?1===i.length?function(t){return o(i[0],t)&&e(t)}:function(t){return i.includes(t)&&e(t)}:t.filters.root(e,n,r)},hover:a("isHovered"),visited:a("isVisited"),active:a("isActive")}},1431:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.root=t.parseHTML=t.merge=t.contains=void 0;var r=n("9ab4");r.__exportStar(n("4feb"),t),r.__exportStar(n("e363"),t);var i=n("e363");t.default=i.load([]);var o=r.__importStar(n("d116"));t.contains=o.contains,t.merge=o.merge,t.parseHTML=o.parseHTML,t.root=o.root},"14c3":function(e,t,n){var r=n("da84"),i=n("c65b"),o=n("825a"),s=n("1626"),a=n("c6b6"),u=n("9263"),l=r.TypeError;e.exports=function(e,t){var n=e.exec;if(s(n)){var r=i(n,e,t);return null!==r&&o(r),r}if("RegExp"===a(e))return i(u,e,t);throw l("RegExp#exec called on incompatible receiver")}},"14e9":function(e,t,n){e.exports=function(e){var t={};function n(r){if(t[r])return t[r].exports;var i=t[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"===typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)n.d(r,i,function(t){return e[t]}.bind(null,i));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e["default"]}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="/dist/",n(n.s=132)}({132:function(e,t,n){"use strict";n.r(t);var r=n(16),i=n(38),o=n.n(i),s=n(3),a=n(2),u={vertical:{offset:"offsetHeight",scroll:"scrollTop",scrollSize:"scrollHeight",size:"height",key:"vertical",axis:"Y",client:"clientY",direction:"top"},horizontal:{offset:"offsetWidth",scroll:"scrollLeft",scrollSize:"scrollWidth",size:"width",key:"horizontal",axis:"X",client:"clientX",direction:"left"}};function l(e){var t=e.move,n=e.size,r=e.bar,i={},o="translate"+r.axis+"("+t+"%)";return i[r.size]=n,i.transform=o,i.msTransform=o,i.webkitTransform=o,i}var c={name:"Bar",props:{vertical:Boolean,size:String,move:Number},computed:{bar:function(){return u[this.vertical?"vertical":"horizontal"]},wrap:function(){return this.$parent.wrap}},render:function(e){var t=this.size,n=this.move,r=this.bar;return e("div",{class:["el-scrollbar__bar","is-"+r.key],on:{mousedown:this.clickTrackHandler}},[e("div",{ref:"thumb",class:"el-scrollbar__thumb",on:{mousedown:this.clickThumbHandler},style:l({size:t,move:n,bar:r})})])},methods:{clickThumbHandler:function(e){e.ctrlKey||2===e.button||(this.startDrag(e),this[this.bar.axis]=e.currentTarget[this.bar.offset]-(e[this.bar.client]-e.currentTarget.getBoundingClientRect()[this.bar.direction]))},clickTrackHandler:function(e){var t=Math.abs(e.target.getBoundingClientRect()[this.bar.direction]-e[this.bar.client]),n=this.$refs.thumb[this.bar.offset]/2,r=100*(t-n)/this.$el[this.bar.offset];this.wrap[this.bar.scroll]=r*this.wrap[this.bar.scrollSize]/100},startDrag:function(e){e.stopImmediatePropagation(),this.cursorDown=!0,Object(a["on"])(document,"mousemove",this.mouseMoveDocumentHandler),Object(a["on"])(document,"mouseup",this.mouseUpDocumentHandler),document.onselectstart=function(){return!1}},mouseMoveDocumentHandler:function(e){if(!1!==this.cursorDown){var t=this[this.bar.axis];if(t){var n=-1*(this.$el.getBoundingClientRect()[this.bar.direction]-e[this.bar.client]),r=this.$refs.thumb[this.bar.offset]-t,i=100*(n-r)/this.$el[this.bar.offset];this.wrap[this.bar.scroll]=i*this.wrap[this.bar.scrollSize]/100}}},mouseUpDocumentHandler:function(e){this.cursorDown=!1,this[this.bar.axis]=0,Object(a["off"])(document,"mousemove",this.mouseMoveDocumentHandler),document.onselectstart=null}},destroyed:function(){Object(a["off"])(document,"mouseup",this.mouseUpDocumentHandler)}},p={name:"ElScrollbar",components:{Bar:c},props:{native:Boolean,wrapStyle:{},wrapClass:{},viewClass:{},viewStyle:{},noresize:Boolean,tag:{type:String,default:"div"}},data:function(){return{sizeWidth:"0",sizeHeight:"0",moveX:0,moveY:0}},computed:{wrap:function(){return this.$refs.wrap}},render:function(e){var t=o()(),n=this.wrapStyle;if(t){var r="-"+t+"px",i="margin-bottom: "+r+"; margin-right: "+r+";";Array.isArray(this.wrapStyle)?(n=Object(s["toObject"])(this.wrapStyle),n.marginRight=n.marginBottom=r):"string"===typeof this.wrapStyle?n+=i:n=i}var a=e(this.tag,{class:["el-scrollbar__view",this.viewClass],style:this.viewStyle,ref:"resize"},this.$slots.default),u=e("div",{ref:"wrap",style:n,on:{scroll:this.handleScroll},class:[this.wrapClass,"el-scrollbar__wrap",t?"":"el-scrollbar__wrap--hidden-default"]},[[a]]),l=void 0;return l=this.native?[e("div",{ref:"wrap",class:[this.wrapClass,"el-scrollbar__wrap"],style:n},[[a]])]:[u,e(c,{attrs:{move:this.moveX,size:this.sizeWidth}}),e(c,{attrs:{vertical:!0,move:this.moveY,size:this.sizeHeight}})],e("div",{class:"el-scrollbar"},l)},methods:{handleScroll:function(){var e=this.wrap;this.moveY=100*e.scrollTop/e.clientHeight,this.moveX=100*e.scrollLeft/e.clientWidth},update:function(){var e=void 0,t=void 0,n=this.wrap;n&&(e=100*n.clientHeight/n.scrollHeight,t=100*n.clientWidth/n.scrollWidth,this.sizeHeight=e<100?e+"%":"",this.sizeWidth=t<100?t+"%":"")}},mounted:function(){this.native||(this.$nextTick(this.update),!this.noresize&&Object(r["addResizeListener"])(this.$refs.resize,this.update))},beforeDestroy:function(){this.native||!this.noresize&&Object(r["removeResizeListener"])(this.$refs.resize,this.update)},install:function(e){e.component(p.name,p)}};t["default"]=p},16:function(e,t){e.exports=n("4010")},2:function(e,t){e.exports=n("5924")},3:function(e,t){e.exports=n("8122")},38:function(e,t){e.exports=n("e62d")}})},"159b":function(e,t,n){var r=n("da84"),i=n("fdbc"),o=n("785a"),s=n("17c2"),a=n("9112"),u=function(e){if(e&&e.forEach!==s)try{a(e,"forEach",s)}catch(t){e.forEach=s}};for(var l in i)i[l]&&u(r[l]&&r[l].prototype);u(o)},1609:function(e,t){e.exports=function(e){if("function"!=typeof e)throw TypeError(e+" is not a function!");return e}},1626:function(e,t){e.exports=function(e){return"function"==typeof e}},"164b":function(e,t,n){"use strict";var r=n("03e2"),i=n("0ae0"),o=n("e263"),s=n("75f1"),a=n("1ac6"),u={AppId:"",SecretId:"",SecretKey:"",SecurityToken:"",ChunkRetryTimes:2,FileParallelLimit:3,ChunkParallelLimit:3,ChunkSize:1048576,SliceSize:1048576,CopyChunkParallelLimit:20,CopyChunkSize:10485760,CopySliceSize:10485760,MaxPartNumber:1e4,ProgressInterval:1e3,Domain:"",ServiceDomain:"",Protocol:"",CompatibilityMode:!1,ForcePathStyle:!1,UseRawKey:!1,Timeout:0,CorrectClockSkew:!0,SystemClockOffset:0,UploadCheckContentMd5:!1,UploadQueueSize:1e4,UploadAddMetaMd5:!1,UploadIdCacheLimit:50,UseAccelerate:!1},l=function(e){this.options=r.extend(r.clone(u),e||{}),this.options.FileParallelLimit=Math.max(1,this.options.FileParallelLimit),this.options.ChunkParallelLimit=Math.max(1,this.options.ChunkParallelLimit),this.options.ChunkRetryTimes=Math.max(0,this.options.ChunkRetryTimes),this.options.ChunkSize=Math.max(1048576,this.options.ChunkSize),this.options.CopyChunkParallelLimit=Math.max(1,this.options.CopyChunkParallelLimit),this.options.CopyChunkSize=Math.max(1048576,this.options.CopyChunkSize),this.options.CopySliceSize=Math.max(0,this.options.CopySliceSize),this.options.MaxPartNumber=Math.max(1024,Math.min(1e4,this.options.MaxPartNumber)),this.options.Timeout=Math.max(0,this.options.Timeout),this.options.AppId&&console.warn('warning: AppId has been deprecated, Please put it at the end of parameter Bucket(E.g: "test-1250000000").'),r.isNode()&&(console.warn("warning: cos-js-sdk-v5 不支持 nodejs 环境使用,请改用 cos-nodejs-sdk-v5,参考文档: https://cloud.tencent.com/document/product/436/8629"),console.warn("warning: cos-js-sdk-v5 does not support nodejs environment. Please use cos-nodejs-sdk-v5 instead. See: https://cloud.tencent.com/document/product/436/8629")),i.init(this),o.init(this)};s.init(l,o),a.init(l,o),l.util={md5:r.md5,xml2json:r.xml2json,json2xml:r.json2xml},l.getAuthorization=r.getAuth,l.version="1.3.1",e.exports=l},"17c2":function(e,t,n){"use strict";var r=n("b727").forEach,i=n("a640"),o=i("forEach");e.exports=o?[].forEach:function(e){return r(this,e,arguments.length>1?arguments[1]:void 0)}},"17e1":function(e,t,n){(function(t,r){e.exports=r(n("21bf"))})(0,(function(e){return function(){if("function"==typeof ArrayBuffer){var t=e,n=t.lib,r=n.WordArray,i=r.init,o=r.init=function(e){if(e instanceof ArrayBuffer&&(e=new Uint8Array(e)),(e instanceof Int8Array||"undefined"!==typeof Uint8ClampedArray&&e instanceof Uint8ClampedArray||e instanceof Int16Array||e instanceof Uint16Array||e instanceof Int32Array||e instanceof Uint32Array||e instanceof Float32Array||e instanceof Float64Array)&&(e=new Uint8Array(e.buffer,e.byteOffset,e.byteLength)),e instanceof Uint8Array){for(var t=e.byteLength,n=[],r=0;r>>2]|=e[r]<<24-r%4*8;i.call(this,n,t)}else i.apply(this,arguments)};o.prototype=r}}(),e.lib.WordArray}))},"17ed":function(e,t,n){e.exports={default:n("511f"),__esModule:!0}},1836:function(e,t,n){var r=n("6ca1"),i=n("6438").f,o={}.toString,s="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],a=function(e){try{return i(e)}catch(t){return s.slice()}};e.exports.f=function(e){return s&&"[object Window]"==o.call(e)?a(e):i(r(e))}},1917:function(e,t){t.f={}.propertyIsEnumerable},"191b":function(e,t,n){(function(t,r,i){e.exports=r(n("21bf"),n("94f8"))})(0,(function(e){return function(){var t=e,n=t.lib,r=n.WordArray,i=t.algo,o=i.SHA256,s=i.SHA224=o.extend({_doReset:function(){this._hash=new r.init([3238371032,914150663,812702999,4144912697,4290775857,1750603025,1694076839,3204075428])},_doFinalize:function(){var e=o._doFinalize.call(this);return e.sigBytes-=4,e}});t.SHA224=o._createHelper(s),t.HmacSHA224=o._createHmacHelper(s)}(),e.SHA224}))},"19aa":function(e,t,n){var r=n("da84"),i=n("3a9b"),o=r.TypeError;e.exports=function(e,t){if(i(t,e))return e;throw o("Incorrect invocation")}},"19fa":function(e,t,n){var r=n("fc5e"),i=n("c901");e.exports=function(e){return function(t,n){var o,s,a=String(i(t)),u=r(n),l=a.length;return u<0||u>=l?e?"":void 0:(o=a.charCodeAt(u),o<55296||o>56319||u+1===l||(s=a.charCodeAt(u+1))<56320||s>57343?e?a.charAt(u):o:e?a.slice(u,u+2):s-56320+(o-55296<<10)+65536)}}},"1a14":function(e,t,n){var r=n("77e9"),i=n("faf5"),o=n("3397"),s=Object.defineProperty;t.f=n("0bad")?Object.defineProperty:function(e,t,n){if(r(e),t=o(t,!0),r(n),i)try{return s(e,t,n)}catch(a){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(e[t]=n.value),e}},"1a2d":function(e,t,n){var r=n("e330"),i=n("7b0b"),o=r({}.hasOwnProperty);e.exports=Object.hasOwn||function(e,t){return o(i(e),t)}},"1a4f":function(e,t,n){"use strict";const r=n("7c10"),{DOCUMENT_MODE:i}=n("5305"),o={element:1,text:3,cdata:4,comment:8},s={tagName:"name",childNodes:"children",parentNode:"parent",previousSibling:"prev",nextSibling:"next",nodeValue:"data"};class a{constructor(e){for(const t of Object.keys(e))this[t]=e[t]}get firstChild(){const e=this.children;return e&&e[0]||null}get lastChild(){const e=this.children;return e&&e[e.length-1]||null}get nodeType(){return o[this.type]||o.element}}Object.keys(s).forEach(e=>{const t=s[e];Object.defineProperty(a.prototype,e,{get:function(){return this[t]||null},set:function(e){return this[t]=e,e}})}),t.createDocument=function(){return new a({type:"root",name:"root",parent:null,prev:null,next:null,children:[],"x-mode":i.NO_QUIRKS})},t.createDocumentFragment=function(){return new a({type:"root",name:"root",parent:null,prev:null,next:null,children:[]})},t.createElement=function(e,t,n){const r=Object.create(null),i=Object.create(null),o=Object.create(null);for(let s=0;sy)return t(null,!1);if(n>1){var r=Math.max(e[0].Size,e[1].Size);if(r!==g)return t(null,!1)}var i=function(r){if(r=o.length)C.emit("has_and_check_upload_id",t);else{var i=o[e];if(!s.isInArray(t,i))return r.removeUploadId.call(h,i),void l(e+1);r.using[i]?l(e+1):c.call(h,{Bucket:a,Region:u,Key:p,UploadId:i},(function(t,o){h._isRunningTask(n)&&(t?(r.removeUploadId.call(h,i),l(e+1)):C.emit("upload_id_available",{UploadId:i,PartList:o.PartList}))}))}};l(0)}else C.emit("has_and_check_upload_id",t)})),C.on("get_remote_upload_id_list",(function(){l.call(h,{Bucket:a,Region:u,Key:p},(function(t,i){if(h._isRunningTask(n)){if(t)return C.emit("error",t);var o=s.filter(i.UploadList,(function(e){return e.Key===p&&(!f||e.StorageClass.toUpperCase()===f.toUpperCase())})).reverse().map((function(e){return e.UploadId||e.UploadID}));if(o.length)C.emit("seek_local_avail_upload_id",o);else{var u,l=r.getFileId(e.Body,e.ChunkSize,a,p);l&&(u=r.getUploadIdList.call(h,l))&&s.each(u,(function(e){r.removeUploadId.call(h,e)})),C.emit("no_available_upload_id")}}}))})),C.emit("get_remote_upload_id_list")}function l(e,t){var n=this,r=[],i={Bucket:e.Bucket,Region:e.Region,Prefix:e.Key},o=function(){n.multipartList(i,(function(e,n){if(e)return t(e);r.push.apply(r,n.Upload||[]),"true"===n.IsTruncated?(i.KeyMarker=n.NextKeyMarker,i.UploadIdMarker=n.NextUploadIdMarker,o()):t(null,{UploadList:r})}))};o()}function c(e,t){var n=this,r=[],i={Bucket:e.Bucket,Region:e.Region,Key:e.Key,UploadId:e.UploadId},o=function(){n.multipartListPart(i,(function(e,n){if(e)return t(e);r.push.apply(r,n.Part||[]),"true"===n.IsTruncated?(i.PartNumberMarker=n.NextPartNumberMarker,o()):t(null,{PartList:r})}))};o()}function p(e,t){var n=this,r=e.TaskId,o=e.Bucket,a=e.Region,u=e.Key,l=e.UploadData,c=e.FileSize,p=e.SliceSize,h=Math.min(e.AsyncLimit||n.options.ChunkParallelLimit||1,256),d=e.Body,m=Math.ceil(c/p),g=0,y=e.ServerSideEncryption,v=e.Headers,b=s.filter(l.PartList,(function(e){return e["Uploaded"]&&(g+=e["PartNumber"]>=m&&c%p||p),!e["Uploaded"]})),D=e.onProgress;i.eachLimit(b,h,(function(e,t){if(n._isRunningTask(r)){var i=e["PartNumber"],s=Math.min(c,e["PartNumber"]*p)-(e["PartNumber"]-1)*p,h=0;f.call(n,{TaskId:r,Bucket:o,Region:a,Key:u,SliceSize:p,FileSize:c,PartNumber:i,ServerSideEncryption:y,Body:d,UploadData:l,Headers:v,onProgress:function(e){g+=e.loaded-h,h=e.loaded,D({loaded:g,total:c})}},(function(i,o){n._isRunningTask(r)&&(i||o.ETag||(i='get ETag error, please add "ETag" to CORS ExposeHeader setting.( 获取ETag失败,请在CORS ExposeHeader设置中添加ETag,请参考文档:https://cloud.tencent.com/document/product/436/13318 )'),i?g-=h:(g+=s-h,e.ETag=o.ETag),D({loaded:g,total:c}),t(i||null,o))}))}}),(function(e){if(n._isRunningTask(r))return e?t(e):void t(null,{UploadId:l.UploadId,SliceList:l.PartList})}))}function f(e,t){var n=this,r=e.TaskId,o=e.Bucket,a=e.Region,u=e.Key,l=e.FileSize,c=e.Body,p=1*e.PartNumber,f=e.SliceSize,h=e.ServerSideEncryption,d=e.UploadData,m=e.Headers||{},g=n.options.ChunkRetryTimes+1,y=f*(p-1),v=f,b=y+f;b>l&&(b=l,v=b-y);var D=["x-cos-traffic-limit","x-cos-mime-limit"],w={};s.each(m,(function(e,t){D.indexOf(t)>-1&&(w[t]=e)}));var C=d.PartList[p-1];i.retry(g,(function(t){n._isRunningTask(r)&&s.fileSlice(c,y,b,!0,(function(i){n.multipartUpload({TaskId:r,Bucket:o,Region:a,Key:u,ContentLength:v,PartNumber:p,UploadId:d.UploadId,ServerSideEncryption:h,Body:i,Headers:w,onProgress:e.onProgress},(function(e,i){if(n._isRunningTask(r))return e?t(e):(C.Uploaded=!0,t(null,i))}))}))}),(function(e,i){if(n._isRunningTask(r))return t(e,i)}))}function h(e,t){var n=e.Bucket,r=e.Region,o=e.Key,s=e.UploadId,a=e.SliceList,u=this,l=this.options.ChunkRetryTimes+1,c=e.Headers,p=a.map((function(e){return{PartNumber:e.PartNumber,ETag:e.ETag}}));i.retry(l,(function(e){u.multipartComplete({Bucket:n,Region:r,Key:o,UploadId:s,Parts:p,Headers:c},e)}),(function(e,n){t(e,n)}))}function d(e,t){var n=e.Bucket,r=e.Region,i=e.Key,a=e.UploadId,u=e.Level||"task",c=e.AsyncLimit,p=this,f=new o;if(f.on("error",(function(e){return t(e)})),f.on("get_abort_array",(function(o){m.call(p,{Bucket:n,Region:r,Key:i,Headers:e.Headers,AsyncLimit:c,AbortArray:o},t)})),"bucket"===u)l.call(p,{Bucket:n,Region:r},(function(e,n){if(e)return t(e);f.emit("get_abort_array",n.UploadList||[])}));else if("file"===u){if(!i)return t(s.error(new Error("abort_upload_task_no_key")));l.call(p,{Bucket:n,Region:r,Key:i},(function(e,n){if(e)return t(e);f.emit("get_abort_array",n.UploadList||[])}))}else{if("task"!==u)return t(s.error(new Error("abort_unknown_level")));if(!a)return t(s.error(new Error("abort_upload_task_no_id")));if(!i)return t(s.error(new Error("abort_upload_task_no_key")));f.emit("get_abort_array",[{Key:i,UploadId:a}])}}function m(e,t){var n=e.Bucket,r=e.Region,o=e.Key,s=e.AbortArray,a=e.AsyncLimit||1,u=this,l=0,c=new Array(s.length);i.eachLimit(s,a,(function(t,i){var s=l;if(o&&o!==t.Key)return c[s]={error:{KeyNotMatch:!0}},void i(null);var a=t.UploadId||t.UploadID;u.multipartAbort({Bucket:n,Region:r,Key:t.Key,Headers:e.Headers,UploadId:a},(function(e){var o={Bucket:n,Region:r,Key:t.Key,UploadId:a};c[s]={error:e,task:o},i(null)})),l++}),(function(e){if(e)return t(e);for(var n=[],r=[],i=0,o=c.length;ir?"sliceUploadFile":"putObject";i.push({api:h,params:e,callback:f}),n._addTasks(i)}function y(e,t){var n=this,r=void 0===e.SliceSize?n.options.SliceSize:e.SliceSize,i=0,o=0,a=s.throttleOnProgress.call(n,o,e.onProgress),u=e.files.length,l=e.onFileFinish,c=Array(u),p=function(e,n,r){a(null,!0),l&&l(e,n,r),c[r.Index]={options:r,error:e,data:n},--u<=0&&t&&t(null,{files:c})},f=[];s.each(e.files,(function(e,t){(function(){var n=e.Body,u=n.size||n.length||0,l={Index:t,TaskId:""};i+=u,s.each(e,(function(e,t){"object"!==typeof e&&"function"!==typeof e&&(l[t]=e)}));var c=e.onTaskReady,h=function(e){l.TaskId=e,c&&c(e)};e.onTaskReady=h;var d=0,m=e.onProgress,g=function(e){o=o-d+e.loaded,d=e.loaded,m&&m(e),a({loaded:o,total:i})};e.onProgress=g;var y=e.onFileFinish,v=function(e,t){y&&y(e,t),p&&p(e,t,l)},b=u>r?"sliceUploadFile":"putObject";f.push({api:b,params:e,callback:v})})()})),n._addTasks(f)}function v(e,t){var n=new o,r=this,a=e.Bucket,u=e.Region,l=e.Key,c=e.CopySource,p=s.getSourceParams.call(this,c);if(p){var f=p.Bucket,h=p.Region,d=decodeURIComponent(p.Key),m=void 0===e.CopySliceSize?r.options.CopySliceSize:e.CopySliceSize;m=Math.max(0,m);var g,y,v=e.CopyChunkSize||this.options.CopyChunkSize,D=this.options.CopyChunkParallelLimit,w=0;n.on("copy_slice_complete",(function(n){var i={};s.each(e.Headers,(function(e,t){0===t.toLowerCase().indexOf("x-cos-meta-")&&(i[t]=e)}));var o=s.map(n.PartList,(function(e){return{PartNumber:e.PartNumber,ETag:e.ETag}}));r.multipartComplete({Bucket:a,Region:u,Key:l,UploadId:n.UploadId,Parts:o},(function(e,n){if(e)return y(null,!0),t(e);y({loaded:g,total:g},!0),t(null,n)}))})),n.on("get_copy_data_finish",(function(e){i.eachLimit(e.PartList,D,(function(t,n){var i=t.PartNumber,o=t.CopySourceRange,s=t.end-t.start;b.call(r,{Bucket:a,Region:u,Key:l,CopySource:c,UploadId:e.UploadId,PartNumber:i,CopySourceRange:o},(function(e,r){if(e)return n(e);w+=s,y({loaded:w,total:g}),t.ETag=r.ETag,n(e||null,r)}))}),(function(r){if(r)return y(null,!0),t(r);n.emit("copy_slice_complete",e)}))})),n.on("get_file_size_finish",(function(i){var o;if(function(){for(var t=[1,2,4,8,16,32,64,128,256,512,1024,2048,4096,5120],n=1048576,i=0;in.length&&(u[t]=e)})),n.emit("get_file_size_finish",u)}else t(s.error(new Error('get Content-Length error, please add "Content-Length" to CORS ExposeHeader setting.( 获取Content-Length失败,请在CORS ExposeHeader设置中添加Content-Length,请参考文档:https://cloud.tencent.com/document/product/436/13318 )')))}))}else t(s.error(new Error("CopySource format error")))}function b(e,t){var n=e.TaskId,r=e.Bucket,o=e.Region,s=e.Key,a=e.CopySource,u=e.UploadId,l=1*e.PartNumber,c=e.CopySourceRange,p=this.options.ChunkRetryTimes+1,f=this;i.retry(p,(function(e){f.uploadPartCopy({TaskId:n,Bucket:r,Region:o,Key:s,CopySource:a,UploadId:u,PartNumber:l,CopySourceRange:c},(function(t,n){e(t||null,n)}))}),(function(e,n){return t(e,n)}))}var D={sliceUploadFile:a,abortUploadTask:d,uploadFile:g,uploadFiles:y,sliceCopyFile:v};e.exports.init=function(e,t){t.transferToTaskMethod(D,"sliceUploadFile"),s.each(D,(function(t,n){e.prototype[n]=s.apiWrapper(n,t)}))}},"1be4":function(e,t,n){var r=n("d066");e.exports=r("document","documentElement")},"1c7e":function(e,t,n){var r=n("b622"),i=r("iterator"),o=!1;try{var s=0,a={next:function(){return{done:!!s++}},return:function(){o=!0}};a[i]=function(){return this},Array.from(a,(function(){throw 2}))}catch(u){}e.exports=function(e,t){if(!t&&!o)return!1;var n=!1;try{var r={};r[i]=function(){return{next:function(){return{done:n=!0}}}},e(r)}catch(u){}return n}},"1cdc":function(e,t,n){var r=n("342f");e.exports=/(?:ipad|iphone|ipod).*applewebkit/i.test(r)},"1d2b":function(e,t,n){"use strict";e.exports=function(e,t){return function(){for(var n=new Array(arguments.length),r=0;r=51||!r((function(){var t=[],n=t.constructor={};return n[s]=function(){return{foo:1}},1!==t[e](Boolean).foo}))}},"1f05":function(e,t,n){"use strict";class r{constructor(e){const t={},n=this._getOverriddenMethods(this,t);for(const r of Object.keys(n))"function"===typeof n[r]&&(t[r]=e[r],e[r]=n[r])}_getOverriddenMethods(){throw new Error("Not implemented")}}r.install=function(e,t,n){e.__mixins||(e.__mixins=[]);for(let i=0;i0)throw new Error("Invalid string. Length must be a multiple of 4");var n=e.indexOf("=");-1===n&&(n=t);var r=n===t?0:4-n%4;return[n,r]}function c(e){var t=l(e),n=t[0],r=t[1];return 3*(n+r)/4-r}function p(e,t,n){return 3*(t+n)/4-n}function f(e){var t,n,r=l(e),s=r[0],a=r[1],u=new o(p(e,s,a)),c=0,f=a>0?s-4:s;for(n=0;n>16&255,u[c++]=t>>8&255,u[c++]=255&t;return 2===a&&(t=i[e.charCodeAt(n)]<<2|i[e.charCodeAt(n+1)]>>4,u[c++]=255&t),1===a&&(t=i[e.charCodeAt(n)]<<10|i[e.charCodeAt(n+1)]<<4|i[e.charCodeAt(n+2)]>>2,u[c++]=t>>8&255,u[c++]=255&t),u}function h(e){return r[e>>18&63]+r[e>>12&63]+r[e>>6&63]+r[63&e]}function d(e,t,n){for(var r,i=[],o=t;ou?u:a+s));return 1===i?(t=e[n-1],o.push(r[t>>2]+r[t<<4&63]+"==")):2===i&&(t=(e[n-2]<<8)+e[n-1],o.push(r[t>>10]+r[t>>4&63]+r[t<<2&63]+"=")),o.join("")}i["-".charCodeAt(0)]=62,i["_".charCodeAt(0)]=63},2158:function(e,t,n){"use strict";const{DOCUMENT_MODE:r}=n("5305");t.createDocument=function(){return{nodeName:"#document",mode:r.NO_QUIRKS,childNodes:[]}},t.createDocumentFragment=function(){return{nodeName:"#document-fragment",childNodes:[]}},t.createElement=function(e,t,n){return{nodeName:e,tagName:e,attrs:n,namespaceURI:t,childNodes:[],parentNode:null}},t.createCommentNode=function(e){return{nodeName:"#comment",data:e,parentNode:null}};const i=function(e){return{nodeName:"#text",value:e,parentNode:null}},o=t.appendChild=function(e,t){e.childNodes.push(t),t.parentNode=e},s=t.insertBefore=function(e,t,n){const r=e.childNodes.indexOf(n);e.childNodes.splice(r,0,t),t.parentNode=e};t.setTemplateContent=function(e,t){e.content=t},t.getTemplateContent=function(e){return e.content},t.setDocumentType=function(e,t,n,r){let i=null;for(let o=0;o>>2]>>>24-o%4*8&255;t[r+o>>>2]|=s<<24-(r+o)%4*8}else for(var a=0;a>>2]=n[a>>>2];return this.sigBytes+=i,this},clamp:function(){var t=this.words,n=this.sigBytes;t[n>>>2]&=4294967295<<32-n%4*8,t.length=e.ceil(n/4)},clone:function(){var e=l.clone.call(this);return e.words=this.words.slice(0),e},random:function(e){for(var t=[],n=0;n>>2]>>>24-i%4*8&255;r.push((o>>>4).toString(16)),r.push((15&o).toString(16))}return r.join("")},parse:function(e){for(var t=e.length,n=[],r=0;r>>3]|=parseInt(e.substr(r,2),16)<<24-r%8*4;return new c.init(n,t/2)}},h=p.Latin1={stringify:function(e){for(var t=e.words,n=e.sigBytes,r=[],i=0;i>>2]>>>24-i%4*8&255;r.push(String.fromCharCode(o))}return r.join("")},parse:function(e){for(var t=e.length,n=[],r=0;r>>2]|=(255&e.charCodeAt(r))<<24-r%4*8;return new c.init(n,t)}},d=p.Utf8={stringify:function(e){try{return decodeURIComponent(escape(h.stringify(e)))}catch(t){throw new Error("Malformed UTF-8 data")}},parse:function(e){return h.parse(unescape(encodeURIComponent(e)))}},m=u.BufferedBlockAlgorithm=l.extend({reset:function(){this._data=new c.init,this._nDataBytes=0},_append:function(e){"string"==typeof e&&(e=d.parse(e)),this._data.concat(e),this._nDataBytes+=e.sigBytes},_process:function(t){var n,r=this._data,i=r.words,o=r.sigBytes,s=this.blockSize,a=4*s,u=o/a;u=t?e.ceil(u):e.max((0|u)-this._minBufferSize,0);var l=u*s,p=e.min(4*l,o);if(l){for(var f=0;fv;v++)if(D=A(e[v]),D&&c(g,D))return D;return new m(!1)}r=p(e,y)}w=r.next;while(!(C=o(w,r)).done){try{D=A(C.value)}catch(O){h(r,"throw",O)}if("object"==typeof D&&D&&c(g,D))return D}return new m(!1)}},"23cb":function(e,t,n){var r=n("5926"),i=Math.max,o=Math.min;e.exports=function(e,t){var n=r(e);return n<0?i(n+t,0):o(n,t)}},"23e7":function(e,t,n){var r=n("da84"),i=n("06cf").f,o=n("9112"),s=n("6eeb"),a=n("ce4e"),u=n("e893"),l=n("94ca");e.exports=function(e,t){var n,c,p,f,h,d,m=e.target,g=e.global,y=e.stat;if(c=g?r:y?r[m]||a(m,{}):(r[m]||{}).prototype,c)for(p in t){if(h=t[p],e.noTargetGet?(d=i(c,p),f=d&&d.value):f=c[p],n=l(g?p:m+(y?".":"#")+p,e.forced),!n&&void 0!==f){if(typeof h==typeof f)continue;u(h,f)}(e.sham||f&&f.sham)&&o(h,"sham",!0),s(c,p,h,e)}}},"241c":function(e,t,n){var r=n("ca84"),i=n("7839"),o=i.concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return r(e,o)}},2444:function(e,t,n){"use strict";(function(t){var r=n("c532"),i=n("c8af"),o=n("387f"),s={"Content-Type":"application/x-www-form-urlencoded"};function a(e,t){!r.isUndefined(e)&&r.isUndefined(e["Content-Type"])&&(e["Content-Type"]=t)}function u(){var e;return("undefined"!==typeof XMLHttpRequest||"undefined"!==typeof t&&"[object process]"===Object.prototype.toString.call(t))&&(e=n("b50d")),e}function l(e,t,n){if(r.isString(e))try{return(t||JSON.parse)(e),r.trim(e)}catch(i){if("SyntaxError"!==i.name)throw i}return(n||JSON.stringify)(e)}var c={transitional:{silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},adapter:u(),transformRequest:[function(e,t){return i(t,"Accept"),i(t,"Content-Type"),r.isFormData(e)||r.isArrayBuffer(e)||r.isBuffer(e)||r.isStream(e)||r.isFile(e)||r.isBlob(e)?e:r.isArrayBufferView(e)?e.buffer:r.isURLSearchParams(e)?(a(t,"application/x-www-form-urlencoded;charset=utf-8"),e.toString()):r.isObject(e)||t&&"application/json"===t["Content-Type"]?(a(t,"application/json"),l(e)):e}],transformResponse:[function(e){var t=this.transitional,n=t&&t.silentJSONParsing,i=t&&t.forcedJSONParsing,s=!n&&"json"===this.responseType;if(s||i&&r.isString(e)&&e.length)try{return JSON.parse(e)}catch(a){if(s){if("SyntaxError"===a.name)throw o(a,this,"E_JSON_PARSE");throw a}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};r.forEach(["delete","get","head"],(function(e){c.headers[e]={}})),r.forEach(["post","put","patch"],(function(e){c.headers[e]=r.merge(s)})),e.exports=c}).call(this,n("4362"))},2504:function(e){e.exports=JSON.parse('{"0":65533,"128":8364,"130":8218,"131":402,"132":8222,"133":8230,"134":8224,"135":8225,"136":710,"137":8240,"138":352,"139":8249,"140":338,"142":381,"145":8216,"146":8217,"147":8220,"148":8221,"149":8226,"150":8211,"151":8212,"152":732,"153":8482,"154":353,"155":8250,"156":339,"158":382,"159":376}')},2532:function(e,t,n){"use strict";var r=n("23e7"),i=n("e330"),o=n("5a34"),s=n("1d80"),a=n("577e"),u=n("ab13"),l=i("".indexOf);r({target:"String",proto:!0,forced:!u("includes")},{includes:function(e){return!!~l(a(s(this)),a(o(e)),arguments.length>1?arguments[1]:void 0)}})},2562:function(e,t,n){"use strict";var r=/([-.*+?^${}()|[\]\/\\])/g,i=/\\/g,o=function(e){return(e+"").replace(r,"\\$1")},s=function(e){return(e+"").replace(i,"")},a=RegExp("^(?:\\s*(,)\\s*|\\s*(+)\\s*|(\\s+)|(+|\\*)|\\#(+)|\\.(+)|\\[\\s*(+)(?:\\s*([*^$!~|]?=)(?:\\s*(?:([\"']?)(.*?)\\9)))?\\s*\\](?!\\])|(:+)(+)(?:\\((?:(?:([\"'])([^\\13]*)\\13)|((?:\\([^)]+\\)|[^()]*)+))\\))?)".replace(//,"["+o(">+~`!@$%^&={}\\;/g,"(?:[\\w\\u00a1-\\uFFFF-]|\\\\[^\\s0-9a-f])").replace(//g,"(?:[:\\w\\u00a1-\\uFFFF-]|\\\\[^\\s0-9a-f])")),u=function(e){this.combinator=e||" ",this.tag="*"};u.prototype.toString=function(){if(!this.raw){var e,t,n="";if(n+=this.tag||"*",this.id&&(n+="#"+this.id),this.classes&&(n+="."+this.classList.join(".")),this.attributes)for(e=0;t=this.attributes[e++];)n+="["+t.name+(t.operator?t.operator+'"'+t.value+'"':"")+"]";if(this.pseudos)for(e=0;t=this.pseudos[e++];)n+=":"+t.name,t.value&&(n+="("+t.value+")");this.raw=n}return this.raw};var l=function(){this.length=0};l.prototype.toString=function(){if(!this.raw){for(var e,t="",n=0;e=this[n++];)1!==n&&(t+=" ")," "!==e.combinator&&(t+=e.combinator+" "),t+=e;this.raw=t}return this.raw};var c=function(e,t,n,r,i,a,c,p,f,h,d,m,g,y,v,b){var D,w;if((t||!this.length)&&(D=this[this.length++]=new l,t))return"";if(D||(D=this[this.length-1]),(n||r||!D.length)&&(w=D[D.length++]=new u(n)),w||(w=D[D.length-1]),i)w.tag=s(i);else if(a)w.id=s(a);else if(c){var C=s(c),x=w.classes||(w.classes={});if(!x[C]){x[C]=o(c);var E=w.classList||(w.classList=[]);E.push(C),E.sort()}}else g?(b=b||v,(w.pseudos||(w.pseudos=[])).push({type:1==m.length?"class":"element",name:s(g),escapedName:o(g),value:b?s(b):null,escapedValue:b?o(b):null})):p&&(d=d?o(d):null,(w.attributes||(w.attributes=[])).push({operator:f,name:s(p),escapedName:o(p),value:d?s(d):null,escapedValue:d?o(d):null}));return""},p=function(e){this.length=0;var t,n=this,r=e;while(e){if(t=e.replace(a,(function(){return c.apply(n,arguments)})),t===e)throw new Error(r+" is an invalid expression");e=t}};p.prototype.toString=function(){if(!this.raw){for(var e,t=[],n=0;e=this[n++];)t.push(e);this.raw=t.join(", ")}return this.raw};var f={},h=function(e){return null==e?null:(e=(""+e).replace(/^\s+|\s+$/g,""),f[e]||(f[e]=new p(e)))};e.exports=h},2567:function(e,t,n){"use strict";var r=this&&this.__spreadArray||function(e,t){for(var n=0,r=t.length,i=e.length;n0&&(this.timeoutPending=setTimeout((function(){e.showPopper=!1}),this.hideAfter)))},handleClosePopper:function(){this.enterable&&this.expectedState||this.manual||(clearTimeout(this.timeout),this.timeoutPending&&clearTimeout(this.timeoutPending),this.showPopper=!1,this.disabled&&this.doDestroy())},setExpectedState:function(e){!1===e&&clearTimeout(this.timeoutPending),this.expectedState=e},getFirstElement:function(){var e=this.$slots.default;if(!Array.isArray(e))return null;for(var t=null,n=0;n=t+n||t?new java.lang.String(e,t,n)+"":e}function l(e,t){e.currentElement?e.currentElement.appendChild(t):e.doc.appendChild(t)}r.prototype.parseFromString=function(e,t){var n=this.options,r=new c,s=n.domBuilder||new o,a=n.errorHandler,u=n.locator,l=n.xmlns||{},p={lt:"<",gt:">",amp:"&",quot:'"',apos:"'"};return u&&s.setDocumentLocator(u),r.errorHandler=i(a,s,u),r.domBuilder=n.domBuilder||s,/\/x?html?$/.test(t)&&(p.nbsp=" ",p.copy="©",l[""]="http://www.w3.org/1999/xhtml"),l.xml=l.xml||"http://www.w3.org/XML/1998/namespace",e?r.parse(e,l,p):r.errorHandler.error("invalid doc source"),s.doc},o.prototype={startDocument:function(){this.doc=(new p).createDocument(null,null,null),this.locator&&(this.doc.documentURI=this.locator.systemId)},startElement:function(e,t,n,r){var i=this.doc,o=i.createElementNS(e,n||t),a=r.length;l(this,o),this.currentElement=o,this.locator&&s(this.locator,o);for(var u=0;uu&&(e.scrollTop=s-e.clientHeight)}else e.scrollTop=0}},"2a62":function(e,t,n){var r=n("c65b"),i=n("825a"),o=n("dc4a");e.exports=function(e,t,n){var s,a;i(e);try{if(s=o(e,"return"),!s){if("throw"===t)throw n;return n}s=r(s,e)}catch(u){a=!0,s=u}if("throw"===t)throw n;if(a)throw s;return i(s),n}},"2a66":function(e,t,n){(function(t,r,i){e.exports=r(n("21bf"),n("38ba"))})(0,(function(e){return e.pad.ZeroPadding={pad:function(e,t){var n=4*t;e.clamp(),e.sigBytes+=n-(e.sigBytes%n||n)},unpad:function(e){var t=e.words,n=e.sigBytes-1;for(n=e.sigBytes-1;n>=0;n--)if(t[n>>>2]>>>24-n%4*8&255){e.sigBytes=n+1;break}}},e.pad.ZeroPadding}))},"2b0e":function(e,t,n){"use strict";n.r(t),function(e){ /*! * Vue.js v2.6.14 * (c) 2014-2021 Evan You * Released under the MIT License. */ var n=Object.freeze({});function r(e){return void 0===e||null===e}function i(e){return void 0!==e&&null!==e}function o(e){return!0===e}function s(e){return!1===e}function a(e){return"string"===typeof e||"number"===typeof e||"symbol"===typeof e||"boolean"===typeof e}function u(e){return null!==e&&"object"===typeof e}var l=Object.prototype.toString;function c(e){return"[object Object]"===l.call(e)}function p(e){return"[object RegExp]"===l.call(e)}function f(e){var t=parseFloat(String(e));return t>=0&&Math.floor(t)===t&&isFinite(e)}function h(e){return i(e)&&"function"===typeof e.then&&"function"===typeof e.catch}function d(e){return null==e?"":Array.isArray(e)||c(e)&&e.toString===l?JSON.stringify(e,null,2):String(e)}function m(e){var t=parseFloat(e);return isNaN(t)?e:t}function g(e,t){for(var n=Object.create(null),r=e.split(","),i=0;i-1)return e.splice(n,1)}}var b=Object.prototype.hasOwnProperty;function D(e,t){return b.call(e,t)}function w(e){var t=Object.create(null);return function(n){var r=t[n];return r||(t[n]=e(n))}}var C=/-(\w)/g,x=w((function(e){return e.replace(C,(function(e,t){return t?t.toUpperCase():""}))})),E=w((function(e){return e.charAt(0).toUpperCase()+e.slice(1)})),_=/\B([A-Z])/g,k=w((function(e){return e.replace(_,"-$1").toLowerCase()}));function T(e,t){function n(n){var r=arguments.length;return r?r>1?e.apply(t,arguments):e.call(t,n):e.call(t)}return n._length=e.length,n}function S(e,t){return e.bind(t)}var A=Function.prototype.bind?S:T;function O(e,t){t=t||0;var n=e.length-t,r=new Array(n);while(n--)r[n]=e[n+t];return r}function F(e,t){for(var n in t)e[n]=t[n];return e}function N(e){for(var t={},n=0;n0,ne=Z&&Z.indexOf("edge/")>0,re=(Z&&Z.indexOf("android"),Z&&/iphone|ipad|ipod|ios/.test(Z)||"ios"===Q),ie=(Z&&/chrome\/\d+/.test(Z),Z&&/phantomjs/.test(Z),Z&&Z.match(/firefox\/(\d+)/)),oe={}.watch,se=!1;if(X)try{var ae={};Object.defineProperty(ae,"passive",{get:function(){se=!0}}),window.addEventListener("test-passive",null,ae)}catch(Es){}var ue=function(){return void 0===K&&(K=!X&&!J&&"undefined"!==typeof e&&(e["process"]&&"server"===e["process"].env.VUE_ENV)),K},le=X&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__;function ce(e){return"function"===typeof e&&/native code/.test(e.toString())}var pe,fe="undefined"!==typeof Symbol&&ce(Symbol)&&"undefined"!==typeof Reflect&&ce(Reflect.ownKeys);pe="undefined"!==typeof Set&&ce(Set)?Set:function(){function e(){this.set=Object.create(null)}return e.prototype.has=function(e){return!0===this.set[e]},e.prototype.add=function(e){this.set[e]=!0},e.prototype.clear=function(){this.set=Object.create(null)},e}();var he=I,de=0,me=function(){this.id=de++,this.subs=[]};me.prototype.addSub=function(e){this.subs.push(e)},me.prototype.removeSub=function(e){v(this.subs,e)},me.prototype.depend=function(){me.target&&me.target.addDep(this)},me.prototype.notify=function(){var e=this.subs.slice();for(var t=0,n=e.length;t-1)if(o&&!D(i,"default"))s=!1;else if(""===s||s===k(e)){var u=tt(String,i.type);(u<0||a0&&(s=St(s,(t||"")+"_"+n),Tt(s[0])&&Tt(l)&&(c[u]=Ce(l.text+s[0].text),s.shift()),c.push.apply(c,s)):a(s)?Tt(l)?c[u]=Ce(l.text+s):""!==s&&c.push(Ce(s)):Tt(s)&&Tt(l)?c[u]=Ce(l.text+s.text):(o(e._isVList)&&i(s.tag)&&r(s.key)&&i(t)&&(s.key="__vlist"+t+"_"+n+"__"),c.push(s)));return c}function At(e){var t=e.$options.provide;t&&(e._provided="function"===typeof t?t.call(e):t)}function Ot(e){var t=Ft(e.$options.inject,e);t&&(Ae(!1),Object.keys(t).forEach((function(n){Pe(e,n,t[n])})),Ae(!0))}function Ft(e,t){if(e){for(var n=Object.create(null),r=fe?Reflect.ownKeys(e):Object.keys(e),i=0;i0,s=e?!!e.$stable:!o,a=e&&e.$key;if(e){if(e._normalized)return e._normalized;if(s&&r&&r!==n&&a===r.$key&&!o&&!r.$hasNormal)return r;for(var u in i={},e)e[u]&&"$"!==u[0]&&(i[u]=Lt(t,u,e[u]))}else i={};for(var l in t)l in i||(i[l]=jt(t,l));return e&&Object.isExtensible(e)&&(e._normalized=i),V(i,"$stable",s),V(i,"$key",a),V(i,"$hasNormal",o),i}function Lt(e,t,n){var r=function(){var e=arguments.length?n.apply(null,arguments):n({});e=e&&"object"===typeof e&&!Array.isArray(e)?[e]:kt(e);var t=e&&e[0];return e&&(!t||1===e.length&&t.isComment&&!Pt(t))?void 0:e};return n.proxy&&Object.defineProperty(e,t,{get:r,enumerable:!0,configurable:!0}),r}function jt(e,t){return function(){return e[t]}}function Bt(e,t){var n,r,o,s,a;if(Array.isArray(e)||"string"===typeof e)for(n=new Array(e.length),r=0,o=e.length;r1?O(n):n;for(var r=O(arguments,1),i='event handler for "'+e+'"',o=0,s=n.length;odocument.createEvent("Event").timeStamp&&(Yn=function(){return Xn.now()})}function Jn(){var e,t;for(Kn=Yn(),Vn=!0,Hn.sort((function(e,t){return e.id-t.id})),Wn=0;WnWn&&Hn[n].id>e.id)n--;Hn.splice(n+1,0,e)}else Hn.push(e);zn||(zn=!0,mt(Jn))}}var nr=0,rr=function(e,t,n,r,i){this.vm=e,i&&(e._watcher=this),e._watchers.push(this),r?(this.deep=!!r.deep,this.user=!!r.user,this.lazy=!!r.lazy,this.sync=!!r.sync,this.before=r.before):this.deep=this.user=this.lazy=this.sync=!1,this.cb=n,this.id=++nr,this.active=!0,this.dirty=this.lazy,this.deps=[],this.newDeps=[],this.depIds=new pe,this.newDepIds=new pe,this.expression="","function"===typeof t?this.getter=t:(this.getter=G(t),this.getter||(this.getter=I)),this.value=this.lazy?void 0:this.get()};rr.prototype.get=function(){var e;ye(this);var t=this.vm;try{e=this.getter.call(t,t)}catch(Es){if(!this.user)throw Es;nt(Es,t,'getter for watcher "'+this.expression+'"')}finally{this.deep&&yt(e),ve(),this.cleanupDeps()}return e},rr.prototype.addDep=function(e){var t=e.id;this.newDepIds.has(t)||(this.newDepIds.add(t),this.newDeps.push(e),this.depIds.has(t)||e.addSub(this))},rr.prototype.cleanupDeps=function(){var e=this.deps.length;while(e--){var t=this.deps[e];this.newDepIds.has(t.id)||t.removeSub(this)}var n=this.depIds;this.depIds=this.newDepIds,this.newDepIds=n,this.newDepIds.clear(),n=this.deps,this.deps=this.newDeps,this.newDeps=n,this.newDeps.length=0},rr.prototype.update=function(){this.lazy?this.dirty=!0:this.sync?this.run():tr(this)},rr.prototype.run=function(){if(this.active){var e=this.get();if(e!==this.value||u(e)||this.deep){var t=this.value;if(this.value=e,this.user){var n='callback for watcher "'+this.expression+'"';rt(this.cb,this.vm,[e,t],this.vm,n)}else this.cb.call(this.vm,e,t)}}},rr.prototype.evaluate=function(){this.value=this.get(),this.dirty=!1},rr.prototype.depend=function(){var e=this.deps.length;while(e--)this.deps[e].depend()},rr.prototype.teardown=function(){if(this.active){this.vm._isBeingDestroyed||v(this.vm._watchers,this);var e=this.deps.length;while(e--)this.deps[e].removeSub(this);this.active=!1}};var ir={enumerable:!0,configurable:!0,get:I,set:I};function or(e,t,n){ir.get=function(){return this[t][n]},ir.set=function(e){this[t][n]=e},Object.defineProperty(e,n,ir)}function sr(e){e._watchers=[];var t=e.$options;t.props&&ar(e,t.props),t.methods&&mr(e,t.methods),t.data?ur(e):Ie(e._data={},!0),t.computed&&pr(e,t.computed),t.watch&&t.watch!==oe&&gr(e,t.watch)}function ar(e,t){var n=e.$options.propsData||{},r=e._props={},i=e.$options._propKeys=[],o=!e.$parent;o||Ae(!1);var s=function(o){i.push(o);var s=Xe(o,t,n,e);Pe(r,o,s),o in e||or(e,"_props",o)};for(var a in t)s(a);Ae(!0)}function ur(e){var t=e.$options.data;t=e._data="function"===typeof t?lr(t,e):t||{},c(t)||(t={});var n=Object.keys(t),r=e.$options.props,i=(e.$options.methods,n.length);while(i--){var o=n[i];0,r&&D(r,o)||z(o)||or(e,"_data",o)}Ie(t,!0)}function lr(e,t){ye();try{return e.call(t,t)}catch(Es){return nt(Es,t,"data()"),{}}finally{ve()}}var cr={lazy:!0};function pr(e,t){var n=e._computedWatchers=Object.create(null),r=ue();for(var i in t){var o=t[i],s="function"===typeof o?o:o.get;0,r||(n[i]=new rr(e,s||I,I,cr)),i in e||fr(e,i,o)}}function fr(e,t,n){var r=!ue();"function"===typeof n?(ir.get=r?hr(t):dr(n),ir.set=I):(ir.get=n.get?r&&!1!==n.cache?hr(t):dr(n.get):I,ir.set=n.set||I),Object.defineProperty(e,t,ir)}function hr(e){return function(){var t=this._computedWatchers&&this._computedWatchers[e];if(t)return t.dirty&&t.evaluate(),me.target&&t.depend(),t.value}}function dr(e){return function(){return e.call(this,this)}}function mr(e,t){e.$options.props;for(var n in t)e[n]="function"!==typeof t[n]?I:A(t[n],e)}function gr(e,t){for(var n in t){var r=t[n];if(Array.isArray(r))for(var i=0;i-1)return this;var n=O(arguments,1);return n.unshift(this),"function"===typeof e.install?e.install.apply(e,n):"function"===typeof e&&e.apply(null,n),t.push(e),this}}function kr(e){e.mixin=function(e){return this.options=Ke(this.options,e),this}}function Tr(e){e.cid=0;var t=1;e.extend=function(e){e=e||{};var n=this,r=n.cid,i=e._Ctor||(e._Ctor={});if(i[r])return i[r];var o=e.name||n.options.name;var s=function(e){this._init(e)};return s.prototype=Object.create(n.prototype),s.prototype.constructor=s,s.cid=t++,s.options=Ke(n.options,e),s["super"]=n,s.options.props&&Sr(s),s.options.computed&&Ar(s),s.extend=n.extend,s.mixin=n.mixin,s.use=n.use,$.forEach((function(e){s[e]=n[e]})),o&&(s.options.components[o]=s),s.superOptions=n.options,s.extendOptions=e,s.sealedOptions=F({},s.options),i[r]=s,s}}function Sr(e){var t=e.options.props;for(var n in t)or(e.prototype,"_props",n)}function Ar(e){var t=e.options.computed;for(var n in t)fr(e.prototype,n,t[n])}function Or(e){$.forEach((function(t){e[t]=function(e,n){return n?("component"===t&&c(n)&&(n.name=n.name||e,n=this.options._base.extend(n)),"directive"===t&&"function"===typeof n&&(n={bind:n,update:n}),this.options[t+"s"][e]=n,n):this.options[t+"s"][e]}}))}function Fr(e){return e&&(e.Ctor.options.name||e.tag)}function Nr(e,t){return Array.isArray(e)?e.indexOf(t)>-1:"string"===typeof e?e.split(",").indexOf(t)>-1:!!p(e)&&e.test(t)}function Ir(e,t){var n=e.cache,r=e.keys,i=e._vnode;for(var o in n){var s=n[o];if(s){var a=s.name;a&&!t(a)&&Pr(n,o,r,i)}}}function Pr(e,t,n,r){var i=e[t];!i||r&&i.tag===r.tag||i.componentInstance.$destroy(),e[t]=null,v(n,t)}Dr(Er),vr(Er),On(Er),Pn(Er),Dn(Er);var Mr=[String,RegExp,Array],Lr={name:"keep-alive",abstract:!0,props:{include:Mr,exclude:Mr,max:[String,Number]},methods:{cacheVNode:function(){var e=this,t=e.cache,n=e.keys,r=e.vnodeToCache,i=e.keyToCache;if(r){var o=r.tag,s=r.componentInstance,a=r.componentOptions;t[i]={name:Fr(a),tag:o,componentInstance:s},n.push(i),this.max&&n.length>parseInt(this.max)&&Pr(t,n[0],n,this._vnode),this.vnodeToCache=null}}},created:function(){this.cache=Object.create(null),this.keys=[]},destroyed:function(){for(var e in this.cache)Pr(this.cache,e,this.keys)},mounted:function(){var e=this;this.cacheVNode(),this.$watch("include",(function(t){Ir(e,(function(e){return Nr(t,e)}))})),this.$watch("exclude",(function(t){Ir(e,(function(e){return!Nr(t,e)}))}))},updated:function(){this.cacheVNode()},render:function(){var e=this.$slots.default,t=En(e),n=t&&t.componentOptions;if(n){var r=Fr(n),i=this,o=i.include,s=i.exclude;if(o&&(!r||!Nr(o,r))||s&&r&&Nr(s,r))return t;var a=this,u=a.cache,l=a.keys,c=null==t.key?n.Ctor.cid+(n.tag?"::"+n.tag:""):t.key;u[c]?(t.componentInstance=u[c].componentInstance,v(l,c),l.push(c)):(this.vnodeToCache=t,this.keyToCache=c),t.data.keepAlive=!0}return t||e&&e[0]}},jr={KeepAlive:Lr};function Br(e){var t={get:function(){return U}};Object.defineProperty(e,"config",t),e.util={warn:he,extend:F,mergeOptions:Ke,defineReactive:Pe},e.set=Me,e.delete=Le,e.nextTick=mt,e.observable=function(e){return Ie(e),e},e.options=Object.create(null),$.forEach((function(t){e.options[t+"s"]=Object.create(null)})),e.options._base=e,F(e.options.components,jr),_r(e),kr(e),Tr(e),Or(e)}Br(Er),Object.defineProperty(Er.prototype,"$isServer",{get:ue}),Object.defineProperty(Er.prototype,"$ssrContext",{get:function(){return this.$vnode&&this.$vnode.ssrContext}}),Object.defineProperty(Er,"FunctionalRenderContext",{value:Zt}),Er.version="2.6.14";var Rr=g("style,class"),$r=g("input,textarea,option,select,progress"),Hr=function(e,t,n){return"value"===n&&$r(e)&&"button"!==t||"selected"===n&&"option"===e||"checked"===n&&"input"===e||"muted"===n&&"video"===e},Ur=g("contenteditable,draggable,spellcheck"),qr=g("events,caret,typing,plaintext-only"),zr=function(e,t){return Yr(t)||"false"===t?"false":"contenteditable"===e&&qr(t)?t:"true"},Vr=g("allowfullscreen,async,autofocus,autoplay,checked,compact,controls,declare,default,defaultchecked,defaultmuted,defaultselected,defer,disabled,enabled,formnovalidate,hidden,indeterminate,inert,ismap,itemscope,loop,multiple,muted,nohref,noresize,noshade,novalidate,nowrap,open,pauseonexit,readonly,required,reversed,scoped,seamless,selected,sortable,truespeed,typemustmatch,visible"),Wr="http://www.w3.org/1999/xlink",Gr=function(e){return":"===e.charAt(5)&&"xlink"===e.slice(0,5)},Kr=function(e){return Gr(e)?e.slice(6,e.length):""},Yr=function(e){return null==e||!1===e};function Xr(e){var t=e.data,n=e,r=e;while(i(r.componentInstance))r=r.componentInstance._vnode,r&&r.data&&(t=Jr(r.data,t));while(i(n=n.parent))n&&n.data&&(t=Jr(t,n.data));return Qr(t.staticClass,t.class)}function Jr(e,t){return{staticClass:Zr(e.staticClass,t.staticClass),class:i(e.class)?[e.class,t.class]:t.class}}function Qr(e,t){return i(e)||i(t)?Zr(e,ei(t)):""}function Zr(e,t){return e?t?e+" "+t:e:t||""}function ei(e){return Array.isArray(e)?ti(e):u(e)?ni(e):"string"===typeof e?e:""}function ti(e){for(var t,n="",r=0,o=e.length;r-1?ui[e]=t.constructor===window.HTMLUnknownElement||t.constructor===window.HTMLElement:ui[e]=/HTMLUnknownElement/.test(t.toString())}var ci=g("text,number,password,search,email,tel,url");function pi(e){if("string"===typeof e){var t=document.querySelector(e);return t||document.createElement("div")}return e}function fi(e,t){var n=document.createElement(e);return"select"!==e||t.data&&t.data.attrs&&void 0!==t.data.attrs.multiple&&n.setAttribute("multiple","multiple"),n}function hi(e,t){return document.createElementNS(ri[e],t)}function di(e){return document.createTextNode(e)}function mi(e){return document.createComment(e)}function gi(e,t,n){e.insertBefore(t,n)}function yi(e,t){e.removeChild(t)}function vi(e,t){e.appendChild(t)}function bi(e){return e.parentNode}function Di(e){return e.nextSibling}function wi(e){return e.tagName}function Ci(e,t){e.textContent=t}function xi(e,t){e.setAttribute(t,"")}var Ei=Object.freeze({createElement:fi,createElementNS:hi,createTextNode:di,createComment:mi,insertBefore:gi,removeChild:yi,appendChild:vi,parentNode:bi,nextSibling:Di,tagName:wi,setTextContent:Ci,setStyleScope:xi}),_i={create:function(e,t){ki(t)},update:function(e,t){e.data.ref!==t.data.ref&&(ki(e,!0),ki(t))},destroy:function(e){ki(e,!0)}};function ki(e,t){var n=e.data.ref;if(i(n)){var r=e.context,o=e.componentInstance||e.elm,s=r.$refs;t?Array.isArray(s[n])?v(s[n],o):s[n]===o&&(s[n]=void 0):e.data.refInFor?Array.isArray(s[n])?s[n].indexOf(o)<0&&s[n].push(o):s[n]=[o]:s[n]=o}}var Ti=new be("",{},[]),Si=["create","activate","update","remove","destroy"];function Ai(e,t){return e.key===t.key&&e.asyncFactory===t.asyncFactory&&(e.tag===t.tag&&e.isComment===t.isComment&&i(e.data)===i(t.data)&&Oi(e,t)||o(e.isAsyncPlaceholder)&&r(t.asyncFactory.error))}function Oi(e,t){if("input"!==e.tag)return!0;var n,r=i(n=e.data)&&i(n=n.attrs)&&n.type,o=i(n=t.data)&&i(n=n.attrs)&&n.type;return r===o||ci(r)&&ci(o)}function Fi(e,t,n){var r,o,s={};for(r=t;r<=n;++r)o=e[r].key,i(o)&&(s[o]=r);return s}function Ni(e){var t,n,s={},u=e.modules,l=e.nodeOps;for(t=0;tm?(p=r(n[v+1])?null:n[v+1].elm,x(e,p,n,d,v,o)):d>v&&_(t,f,m)}function S(e,t,n,r){for(var o=n;o-1?qi(e,t,n):Vr(t)?Yr(n)?e.removeAttribute(t):(n="allowfullscreen"===t&&"EMBED"===e.tagName?"true":t,e.setAttribute(t,n)):Ur(t)?e.setAttribute(t,zr(t,n)):Gr(t)?Yr(n)?e.removeAttributeNS(Wr,Kr(t)):e.setAttributeNS(Wr,t,n):qi(e,t,n)}function qi(e,t,n){if(Yr(n))e.removeAttribute(t);else{if(ee&&!te&&"TEXTAREA"===e.tagName&&"placeholder"===t&&""!==n&&!e.__ieph){var r=function(t){t.stopImmediatePropagation(),e.removeEventListener("input",r)};e.addEventListener("input",r),e.__ieph=!0}e.setAttribute(t,n)}}var zi={create:Hi,update:Hi};function Vi(e,t){var n=t.elm,o=t.data,s=e.data;if(!(r(o.staticClass)&&r(o.class)&&(r(s)||r(s.staticClass)&&r(s.class)))){var a=Xr(t),u=n._transitionClasses;i(u)&&(a=Zr(a,ei(u))),a!==n._prevClass&&(n.setAttribute("class",a),n._prevClass=a)}}var Wi,Gi={create:Vi,update:Vi},Ki="__r",Yi="__c";function Xi(e){if(i(e[Ki])){var t=ee?"change":"input";e[t]=[].concat(e[Ki],e[t]||[]),delete e[Ki]}i(e[Yi])&&(e.change=[].concat(e[Yi],e.change||[]),delete e[Yi])}function Ji(e,t,n){var r=Wi;return function i(){var o=t.apply(null,arguments);null!==o&&eo(e,i,n,r)}}var Qi=at&&!(ie&&Number(ie[1])<=53);function Zi(e,t,n,r){if(Qi){var i=Kn,o=t;t=o._wrapper=function(e){if(e.target===e.currentTarget||e.timeStamp>=i||e.timeStamp<=0||e.target.ownerDocument!==document)return o.apply(this,arguments)}}Wi.addEventListener(e,t,se?{capture:n,passive:r}:n)}function eo(e,t,n,r){(r||Wi).removeEventListener(e,t._wrapper||t,n)}function to(e,t){if(!r(e.data.on)||!r(t.data.on)){var n=t.data.on||{},i=e.data.on||{};Wi=t.elm,Xi(n),wt(n,i,Zi,eo,Ji,t.context),Wi=void 0}}var no,ro={create:to,update:to};function io(e,t){if(!r(e.data.domProps)||!r(t.data.domProps)){var n,o,s=t.elm,a=e.data.domProps||{},u=t.data.domProps||{};for(n in i(u.__ob__)&&(u=t.data.domProps=F({},u)),a)n in u||(s[n]="");for(n in u){if(o=u[n],"textContent"===n||"innerHTML"===n){if(t.children&&(t.children.length=0),o===a[n])continue;1===s.childNodes.length&&s.removeChild(s.childNodes[0])}if("value"===n&&"PROGRESS"!==s.tagName){s._value=o;var l=r(o)?"":String(o);oo(s,l)&&(s.value=l)}else if("innerHTML"===n&&oi(s.tagName)&&r(s.innerHTML)){no=no||document.createElement("div"),no.innerHTML=""+o+"";var c=no.firstChild;while(s.firstChild)s.removeChild(s.firstChild);while(c.firstChild)s.appendChild(c.firstChild)}else if(o!==a[n])try{s[n]=o}catch(Es){}}}}function oo(e,t){return!e.composing&&("OPTION"===e.tagName||so(e,t)||ao(e,t))}function so(e,t){var n=!0;try{n=document.activeElement!==e}catch(Es){}return n&&e.value!==t}function ao(e,t){var n=e.value,r=e._vModifiers;if(i(r)){if(r.number)return m(n)!==m(t);if(r.trim)return n.trim()!==t.trim()}return n!==t}var uo={create:io,update:io},lo=w((function(e){var t={},n=/;(?![^(]*\))/g,r=/:(.+)/;return e.split(n).forEach((function(e){if(e){var n=e.split(r);n.length>1&&(t[n[0].trim()]=n[1].trim())}})),t}));function co(e){var t=po(e.style);return e.staticStyle?F(e.staticStyle,t):t}function po(e){return Array.isArray(e)?N(e):"string"===typeof e?lo(e):e}function fo(e,t){var n,r={};if(t){var i=e;while(i.componentInstance)i=i.componentInstance._vnode,i&&i.data&&(n=co(i.data))&&F(r,n)}(n=co(e.data))&&F(r,n);var o=e;while(o=o.parent)o.data&&(n=co(o.data))&&F(r,n);return r}var ho,mo=/^--/,go=/\s*!important$/,yo=function(e,t,n){if(mo.test(t))e.style.setProperty(t,n);else if(go.test(n))e.style.setProperty(k(t),n.replace(go,""),"important");else{var r=bo(t);if(Array.isArray(n))for(var i=0,o=n.length;i-1?t.split(Co).forEach((function(t){return e.classList.add(t)})):e.classList.add(t);else{var n=" "+(e.getAttribute("class")||"")+" ";n.indexOf(" "+t+" ")<0&&e.setAttribute("class",(n+t).trim())}}function Eo(e,t){if(t&&(t=t.trim()))if(e.classList)t.indexOf(" ")>-1?t.split(Co).forEach((function(t){return e.classList.remove(t)})):e.classList.remove(t),e.classList.length||e.removeAttribute("class");else{var n=" "+(e.getAttribute("class")||"")+" ",r=" "+t+" ";while(n.indexOf(r)>=0)n=n.replace(r," ");n=n.trim(),n?e.setAttribute("class",n):e.removeAttribute("class")}}function _o(e){if(e){if("object"===typeof e){var t={};return!1!==e.css&&F(t,ko(e.name||"v")),F(t,e),t}return"string"===typeof e?ko(e):void 0}}var ko=w((function(e){return{enterClass:e+"-enter",enterToClass:e+"-enter-to",enterActiveClass:e+"-enter-active",leaveClass:e+"-leave",leaveToClass:e+"-leave-to",leaveActiveClass:e+"-leave-active"}})),To=X&&!te,So="transition",Ao="animation",Oo="transition",Fo="transitionend",No="animation",Io="animationend";To&&(void 0===window.ontransitionend&&void 0!==window.onwebkittransitionend&&(Oo="WebkitTransition",Fo="webkitTransitionEnd"),void 0===window.onanimationend&&void 0!==window.onwebkitanimationend&&(No="WebkitAnimation",Io="webkitAnimationEnd"));var Po=X?window.requestAnimationFrame?window.requestAnimationFrame.bind(window):setTimeout:function(e){return e()};function Mo(e){Po((function(){Po(e)}))}function Lo(e,t){var n=e._transitionClasses||(e._transitionClasses=[]);n.indexOf(t)<0&&(n.push(t),xo(e,t))}function jo(e,t){e._transitionClasses&&v(e._transitionClasses,t),Eo(e,t)}function Bo(e,t,n){var r=$o(e,t),i=r.type,o=r.timeout,s=r.propCount;if(!i)return n();var a=i===So?Fo:Io,u=0,l=function(){e.removeEventListener(a,c),n()},c=function(t){t.target===e&&++u>=s&&l()};setTimeout((function(){u0&&(n=So,c=s,p=o.length):t===Ao?l>0&&(n=Ao,c=l,p=u.length):(c=Math.max(s,l),n=c>0?s>l?So:Ao:null,p=n?n===So?o.length:u.length:0);var f=n===So&&Ro.test(r[Oo+"Property"]);return{type:n,timeout:c,propCount:p,hasTransform:f}}function Ho(e,t){while(e.length1}function Go(e,t){!0!==t.data.show&&qo(t)}var Ko=X?{create:Go,activate:Go,remove:function(e,t){!0!==e.data.show?zo(e,t):t()}}:{},Yo=[zi,Gi,ro,uo,wo,Ko],Xo=Yo.concat($i),Jo=Ni({nodeOps:Ei,modules:Xo});te&&document.addEventListener("selectionchange",(function(){var e=document.activeElement;e&&e.vmodel&&os(e,"input")}));var Qo={inserted:function(e,t,n,r){"select"===n.tag?(r.elm&&!r.elm._vOptions?Ct(n,"postpatch",(function(){Qo.componentUpdated(e,t,n)})):Zo(e,t,n.context),e._vOptions=[].map.call(e.options,ns)):("textarea"===n.tag||ci(e.type))&&(e._vModifiers=t.modifiers,t.modifiers.lazy||(e.addEventListener("compositionstart",rs),e.addEventListener("compositionend",is),e.addEventListener("change",is),te&&(e.vmodel=!0)))},componentUpdated:function(e,t,n){if("select"===n.tag){Zo(e,t,n.context);var r=e._vOptions,i=e._vOptions=[].map.call(e.options,ns);if(i.some((function(e,t){return!L(e,r[t])}))){var o=e.multiple?t.value.some((function(e){return ts(e,i)})):t.value!==t.oldValue&&ts(t.value,i);o&&os(e,"change")}}}};function Zo(e,t,n){es(e,t,n),(ee||ne)&&setTimeout((function(){es(e,t,n)}),0)}function es(e,t,n){var r=t.value,i=e.multiple;if(!i||Array.isArray(r)){for(var o,s,a=0,u=e.options.length;a-1,s.selected!==o&&(s.selected=o);else if(L(ns(s),r))return void(e.selectedIndex!==a&&(e.selectedIndex=a));i||(e.selectedIndex=-1)}}function ts(e,t){return t.every((function(t){return!L(t,e)}))}function ns(e){return"_value"in e?e._value:e.value}function rs(e){e.target.composing=!0}function is(e){e.target.composing&&(e.target.composing=!1,os(e.target,"input"))}function os(e,t){var n=document.createEvent("HTMLEvents");n.initEvent(t,!0,!0),e.dispatchEvent(n)}function ss(e){return!e.componentInstance||e.data&&e.data.transition?e:ss(e.componentInstance._vnode)}var as={bind:function(e,t,n){var r=t.value;n=ss(n);var i=n.data&&n.data.transition,o=e.__vOriginalDisplay="none"===e.style.display?"":e.style.display;r&&i?(n.data.show=!0,qo(n,(function(){e.style.display=o}))):e.style.display=r?o:"none"},update:function(e,t,n){var r=t.value,i=t.oldValue;if(!r!==!i){n=ss(n);var o=n.data&&n.data.transition;o?(n.data.show=!0,r?qo(n,(function(){e.style.display=e.__vOriginalDisplay})):zo(n,(function(){e.style.display="none"}))):e.style.display=r?e.__vOriginalDisplay:"none"}},unbind:function(e,t,n,r,i){i||(e.style.display=e.__vOriginalDisplay)}},us={model:Qo,show:as},ls={name:String,appear:Boolean,css:Boolean,mode:String,type:String,enterClass:String,leaveClass:String,enterToClass:String,leaveToClass:String,enterActiveClass:String,leaveActiveClass:String,appearClass:String,appearActiveClass:String,appearToClass:String,duration:[Number,String,Object]};function cs(e){var t=e&&e.componentOptions;return t&&t.Ctor.options.abstract?cs(En(t.children)):e}function ps(e){var t={},n=e.$options;for(var r in n.propsData)t[r]=e[r];var i=n._parentListeners;for(var o in i)t[x(o)]=i[o];return t}function fs(e,t){if(/\d-keep-alive$/.test(t.tag))return e("keep-alive",{props:t.componentOptions.propsData})}function hs(e){while(e=e.parent)if(e.data.transition)return!0}function ds(e,t){return t.key===e.key&&t.tag===e.tag}var ms=function(e){return e.tag||Pt(e)},gs=function(e){return"show"===e.name},ys={name:"transition",props:ls,abstract:!0,render:function(e){var t=this,n=this.$slots.default;if(n&&(n=n.filter(ms),n.length)){0;var r=this.mode;0;var i=n[0];if(hs(this.$vnode))return i;var o=cs(i);if(!o)return i;if(this._leaving)return fs(e,i);var s="__transition-"+this._uid+"-";o.key=null==o.key?o.isComment?s+"comment":s+o.tag:a(o.key)?0===String(o.key).indexOf(s)?o.key:s+o.key:o.key;var u=(o.data||(o.data={})).transition=ps(this),l=this._vnode,c=cs(l);if(o.data.directives&&o.data.directives.some(gs)&&(o.data.show=!0),c&&c.data&&!ds(o,c)&&!Pt(c)&&(!c.componentInstance||!c.componentInstance._vnode.isComment)){var p=c.data.transition=F({},u);if("out-in"===r)return this._leaving=!0,Ct(p,"afterLeave",(function(){t._leaving=!1,t.$forceUpdate()})),fs(e,i);if("in-out"===r){if(Pt(o))return l;var f,h=function(){f()};Ct(u,"afterEnter",h),Ct(u,"enterCancelled",h),Ct(p,"delayLeave",(function(e){f=e}))}}return i}}},vs=F({tag:String,moveClass:String},ls);delete vs.mode;var bs={props:vs,beforeMount:function(){var e=this,t=this._update;this._update=function(n,r){var i=Nn(e);e.__patch__(e._vnode,e.kept,!1,!0),e._vnode=e.kept,i(),t.call(e,n,r)}},render:function(e){for(var t=this.tag||this.$vnode.data.tag||"span",n=Object.create(null),r=this.prevChildren=this.children,i=this.$slots.default||[],o=this.children=[],s=ps(this),a=0;a?@[\\\]^|]/,re=/[\0\t\n\r #/:<>?@[\\\]^|]/,ie=/^[\u0000-\u0020]+|[\u0000-\u0020]+$/g,oe=/[\t\n\r]/g,se=function(e,t){var n,r,i;if("["==I(t,0)){if("]"!=I(t,t.length-1))return G;if(n=ue(U(t,1,-1)),!n)return G;e.host=n}else if(ye(e)){if(t=b(t),P(ne,t))return G;if(n=ae(t),null===n)return G;e.host=n}else{if(P(re,t))return G;for(n="",r=g(t),i=0;i4)return e;for(n=[],r=0;r1&&"0"==I(i,0)&&(o=P(Q,i)?16:8,i=U(i,8==o?1:2)),""===i)s=0;else{if(!P(10==o?ee:8==o?Z:te,i))return e;s=O(i,o)}B(n,s)}for(r=0;r=N(256,5-t))return null}else if(s>255)return null;for(a=j(n),r=0;r6)return;r=0;while(f()){if(i=null,r>0){if(!("."==f()&&r<4))return;p++}if(!P(J,f()))return;while(P(J,f())){if(o=O(f(),10),null===i)i=o;else{if(0==i)return;i=10*i+o}if(i>255)return;p++}u[l]=256*u[l]+i,r++,2!=r&&4!=r||l++}if(4!=r)return;break}if(":"==f()){if(p++,!f())return}else if(f())return;u[l++]=t}else{if(null!==c)return;p++,l++,c=l}}if(null!==c){s=l-c,l=7;while(0!=l&&s>0)a=u[l],u[l--]=u[c+s-1],u[c+--s]=a}else if(8!=l)return;return u},le=function(e){for(var t=null,n=1,r=null,i=0,o=0;o<8;o++)0!==e[o]?(i>n&&(t=r,n=i),r=null,i=0):(null===r&&(r=o),++i);return i>n&&(t=r,n=i),t},ce=function(e){var t,n,r,i;if("number"==typeof e){for(t=[],n=0;n<4;n++)z(t,e%256),e=F(e/256);return M(t,".")}if("object"==typeof e){for(t="",r=le(e),n=0;n<8;n++)i&&0===e[n]||(i&&(i=!1),r===n?(t+=n?":":"::",i=!0):(t+=L(e[n],16),n<7&&(t+=":")));return"["+t+"]"}return e},pe={},fe=m({},pe,{" ":1,'"':1,"<":1,">":1,"`":1}),he=m({},fe,{"#":1,"?":1,"{":1,"}":1}),de=m({},he,{"/":1,":":1,";":1,"=":1,"@":1,"[":1,"\\":1,"]":1,"^":1,"|":1}),me=function(e,t){var n=v(e,0);return n>32&&n<127&&!d(t,e)?e:encodeURIComponent(e)},ge={ftp:21,file:null,http:80,https:443,ws:80,wss:443},ye=function(e){return d(ge,e.scheme)},ve=function(e){return""!=e.username||""!=e.password},be=function(e){return!e.host||e.cannotBeABaseURL||"file"==e.scheme},De=function(e,t){var n;return 2==e.length&&P(Y,I(e,0))&&(":"==(n=I(e,1))||!t&&"|"==n)},we=function(e){var t;return e.length>1&&De(U(e,0,2))&&(2==e.length||"/"===(t=I(e,2))||"\\"===t||"?"===t||"#"===t)},Ce=function(e){var t=e.path,n=t.length;!n||"file"==e.scheme&&1==n&&De(t[0],!0)||t.length--},xe=function(e){return"."===e||"%2e"===q(e)},Ee=function(e){return e=q(e),".."===e||"%2e."===e||".%2e"===e||"%2e%2e"===e},_e={},ke={},Te={},Se={},Ae={},Oe={},Fe={},Ne={},Ie={},Pe={},Me={},Le={},je={},Be={},Re={},$e={},He={},Ue={},qe={},ze={},Ve={},We=function(e,t,n,i){var o,s,a,u,l=n||_e,c=0,p="",f=!1,h=!1,m=!1;n||(e.scheme="",e.username="",e.password="",e.host=null,e.port=null,e.path=[],e.query=null,e.fragment=null,e.cannotBeABaseURL=!1,t=R(t,ie,"")),t=R(t,oe,""),o=g(t);while(c<=o.length){switch(s=o[c],l){case _e:if(!s||!P(Y,s)){if(n)return W;l=Te;continue}p+=q(s),l=ke;break;case ke:if(s&&(P(X,s)||"+"==s||"-"==s||"."==s))p+=q(s);else{if(":"!=s){if(n)return W;p="",l=Te,c=0;continue}if(n&&(ye(e)!=d(ge,p)||"file"==p&&(ve(e)||null!==e.port)||"file"==e.scheme&&!e.host))return;if(e.scheme=p,n)return void(ye(e)&&ge[e.scheme]==e.port&&(e.port=null));p="","file"==e.scheme?l=Be:ye(e)&&i&&i.scheme==e.scheme?l=Se:ye(e)?l=Ne:"/"==o[c+1]?(l=Ae,c++):(e.cannotBeABaseURL=!0,B(e.path,""),l=qe)}break;case Te:if(!i||i.cannotBeABaseURL&&"#"!=s)return W;if(i.cannotBeABaseURL&&"#"==s){e.scheme=i.scheme,e.path=y(i.path),e.query=i.query,e.fragment="",e.cannotBeABaseURL=!0,l=Ve;break}l="file"==i.scheme?Be:Oe;continue;case Se:if("/"!=s||"/"!=o[c+1]){l=Oe;continue}l=Ie,c++;break;case Ae:if("/"==s){l=Pe;break}l=Ue;continue;case Oe:if(e.scheme=i.scheme,s==r)e.username=i.username,e.password=i.password,e.host=i.host,e.port=i.port,e.path=y(i.path),e.query=i.query;else if("/"==s||"\\"==s&&ye(e))l=Fe;else if("?"==s)e.username=i.username,e.password=i.password,e.host=i.host,e.port=i.port,e.path=y(i.path),e.query="",l=ze;else{if("#"!=s){e.username=i.username,e.password=i.password,e.host=i.host,e.port=i.port,e.path=y(i.path),e.path.length--,l=Ue;continue}e.username=i.username,e.password=i.password,e.host=i.host,e.port=i.port,e.path=y(i.path),e.query=i.query,e.fragment="",l=Ve}break;case Fe:if(!ye(e)||"/"!=s&&"\\"!=s){if("/"!=s){e.username=i.username,e.password=i.password,e.host=i.host,e.port=i.port,l=Ue;continue}l=Pe}else l=Ie;break;case Ne:if(l=Ie,"/"!=s||"/"!=I(p,c+1))continue;c++;break;case Ie:if("/"!=s&&"\\"!=s){l=Pe;continue}break;case Pe:if("@"==s){f&&(p="%40"+p),f=!0,a=g(p);for(var v=0;v65535)return K;e.port=ye(e)&&w===ge[e.scheme]?null:w,p=""}if(n)return;l=He;continue}return K}p+=s;break;case Be:if(e.scheme="file","/"==s||"\\"==s)l=Re;else{if(!i||"file"!=i.scheme){l=Ue;continue}if(s==r)e.host=i.host,e.path=y(i.path),e.query=i.query;else if("?"==s)e.host=i.host,e.path=y(i.path),e.query="",l=ze;else{if("#"!=s){we(M(y(o,c),""))||(e.host=i.host,e.path=y(i.path),Ce(e)),l=Ue;continue}e.host=i.host,e.path=y(i.path),e.query=i.query,e.fragment="",l=Ve}}break;case Re:if("/"==s||"\\"==s){l=$e;break}i&&"file"==i.scheme&&!we(M(y(o,c),""))&&(De(i.path[0],!0)?B(e.path,i.path[0]):e.host=i.host),l=Ue;continue;case $e:if(s==r||"/"==s||"\\"==s||"?"==s||"#"==s){if(!n&&De(p))l=Ue;else if(""==p){if(e.host="",n)return;l=He}else{if(u=se(e,p),u)return u;if("localhost"==e.host&&(e.host=""),n)return;p="",l=He}continue}p+=s;break;case He:if(ye(e)){if(l=Ue,"/"!=s&&"\\"!=s)continue}else if(n||"?"!=s)if(n||"#"!=s){if(s!=r&&(l=Ue,"/"!=s))continue}else e.fragment="",l=Ve;else e.query="",l=ze;break;case Ue:if(s==r||"/"==s||"\\"==s&&ye(e)||!n&&("?"==s||"#"==s)){if(Ee(p)?(Ce(e),"/"==s||"\\"==s&&ye(e)||B(e.path,"")):xe(p)?"/"==s||"\\"==s&&ye(e)||B(e.path,""):("file"==e.scheme&&!e.path.length&&De(p)&&(e.host&&(e.host=""),p=I(p,0)+":"),B(e.path,p)),p="","file"==e.scheme&&(s==r||"?"==s||"#"==s))while(e.path.length>1&&""===e.path[0])$(e.path);"?"==s?(e.query="",l=ze):"#"==s&&(e.fragment="",l=Ve)}else p+=me(s,he);break;case qe:"?"==s?(e.query="",l=ze):"#"==s?(e.fragment="",l=Ve):s!=r&&(e.path[0]+=me(s,pe));break;case ze:n||"#"!=s?s!=r&&("'"==s&&ye(e)?e.query+="%27":e.query+="#"==s?"%23":me(s,pe)):(e.fragment="",l=Ve);break;case Ve:s!=r&&(e.fragment+=me(s,fe));break}c++}},Ge=function(e){var t,n,r=h(this,Ke),i=arguments.length>1?arguments[1]:void 0,s=D(e),a=E(r,{type:"URL"});if(void 0!==i)try{t=_(i)}catch(p){if(n=We(t={},D(i)),n)throw A(n)}if(n=We(a,s,null,t),n)throw A(n);var u=a.searchParams=new k,c=T(u);c.updateSearchParams(a.query),c.updateURL=function(){a.query=D(u)||null},o||(r.href=l(Ye,r),r.origin=l(Xe,r),r.protocol=l(Je,r),r.username=l(Qe,r),r.password=l(Ze,r),r.host=l(et,r),r.hostname=l(tt,r),r.port=l(nt,r),r.pathname=l(rt,r),r.search=l(it,r),r.searchParams=l(ot,r),r.hash=l(st,r))},Ke=Ge.prototype,Ye=function(){var e=_(this),t=e.scheme,n=e.username,r=e.password,i=e.host,o=e.port,s=e.path,a=e.query,u=e.fragment,l=t+":";return null!==i?(l+="//",ve(e)&&(l+=n+(r?":"+r:"")+"@"),l+=ce(i),null!==o&&(l+=":"+o)):"file"==t&&(l+="//"),l+=e.cannotBeABaseURL?s[0]:s.length?"/"+M(s,"/"):"",null!==a&&(l+="?"+a),null!==u&&(l+="#"+u),l},Xe=function(){var e=_(this),t=e.scheme,n=e.port;if("blob"==t)try{return new Ge(t.path[0]).origin}catch(r){return"null"}return"file"!=t&&ye(e)?t+"://"+ce(e.host)+(null!==n?":"+n:""):"null"},Je=function(){return _(this).scheme+":"},Qe=function(){return _(this).username},Ze=function(){return _(this).password},et=function(){var e=_(this),t=e.host,n=e.port;return null===t?"":null===n?ce(t):ce(t)+":"+n},tt=function(){var e=_(this).host;return null===e?"":ce(e)},nt=function(){var e=_(this).port;return null===e?"":D(e)},rt=function(){var e=_(this),t=e.path;return e.cannotBeABaseURL?t[0]:t.length?"/"+M(t,"/"):""},it=function(){var e=_(this).query;return e?"?"+e:""},ot=function(){return _(this).searchParams},st=function(){var e=_(this).fragment;return e?"#"+e:""},at=function(e,t){return{get:e,set:t,configurable:!0,enumerable:!0}};if(o&&p(Ke,{href:at(Ye,(function(e){var t=_(this),n=D(e),r=We(t,n);if(r)throw A(r);T(t.searchParams).updateSearchParams(t.query)})),origin:at(Xe),protocol:at(Je,(function(e){var t=_(this);We(t,D(e)+":",_e)})),username:at(Qe,(function(e){var t=_(this),n=g(D(e));if(!be(t)){t.username="";for(var r=0;r1?arguments[1]:void 0,t.length)),r=a(e);return f?f(t,r,n):h(t,n,n+r.length)===r}})},"2cf4":function(e,t,n){var r,i,o,s,a=n("da84"),u=n("2ba4"),l=n("0366"),c=n("1626"),p=n("1a2d"),f=n("d039"),h=n("1be4"),d=n("f36a"),m=n("cc12"),g=n("1cdc"),y=n("605d"),v=a.setImmediate,b=a.clearImmediate,D=a.process,w=a.Dispatch,C=a.Function,x=a.MessageChannel,E=a.String,_=0,k={},T="onreadystatechange";try{r=a.location}catch(N){}var S=function(e){if(p(k,e)){var t=k[e];delete k[e],t()}},A=function(e){return function(){S(e)}},O=function(e){S(e.data)},F=function(e){a.postMessage(E(e),r.protocol+"//"+r.host)};v&&b||(v=function(e){var t=d(arguments,1);return k[++_]=function(){u(c(e)?e:C(e),void 0,t)},i(_),_},b=function(e){delete k[e]},y?i=function(e){D.nextTick(A(e))}:w&&w.now?i=function(e){w.now(A(e))}:x&&!g?(o=new x,s=o.port2,o.port1.onmessage=O,i=l(s.postMessage,s)):a.addEventListener&&c(a.postMessage)&&!a.importScripts&&r&&"file:"!==r.protocol&&!f(F)?(i=F,a.addEventListener("message",O,!1)):i=T in m("script")?function(e){h.appendChild(m("script"))[T]=function(){h.removeChild(this),S(e)}}:function(e){setTimeout(A(e),0)}),e.exports={set:v,clear:b}},"2d00":function(e,t,n){var r,i,o=n("da84"),s=n("342f"),a=o.process,u=o.Deno,l=a&&a.versions||u&&u.version,c=l&&l.v8;c&&(r=c.split("."),i=r[0]>0&&r[0]<4?1:+(r[0]+r[1])),!i&&s&&(r=s.match(/Edge\/(\d+)/),(!r||r[1]>=74)&&(r=s.match(/Chrome\/(\d+)/),r&&(i=+r[1]))),e.exports=i},"2d83":function(e,t,n){"use strict";var r=n("387f");e.exports=function(e,t,n,i,o){var s=new Error(e);return r(s,t,n,i,o)}},"2e67":function(e,t,n){"use strict";e.exports=function(e){return!(!e||!e.__CANCEL__)}},"2e90":function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.compileToken=t.compileUnsafe=t.compile=void 0;var i=n("e09b"),o=n("99e4"),s=r(n("50ea")),a=n("ee17"),u=n("fce4"),l=n("2567");function c(e,t,n){var r=p(e,t,n);return l.ensureIsTag(r,t.adapter)}function p(e,t,n){var r="string"===typeof e?i.parse(e,t):e;return y(r,t,n)}function f(e){return"pseudo"===e.type&&("scope"===e.name||Array.isArray(e.data)&&e.data.some((function(e){return e.some(f)})))}t.compile=c,t.compileUnsafe=p;var h={type:"descendant"},d={type:"_flexibleDescendant"},m={type:"pseudo",name:"scope",data:null};function g(e,t,n){for(var r=t.adapter,i=!!(null===n||void 0===n?void 0:n.every((function(e){var t=r.isTag(e)&&r.getParent(e);return e===l.PLACEHOLDER_ELEMENT||t&&r.isTag(t)}))),o=0,s=e;o0&&a.isTraversal(u[0])&&"descendant"!==u[0].type);else{if(!i||u.some(f))continue;u.unshift(h)}u.unshift(m)}}function y(e,t,n){var r;e=e.filter((function(e){return e.length>0})),e.forEach(s.default),n=null!==(r=t.context)&&void 0!==r?r:n;var i=Array.isArray(n),a=n&&(Array.isArray(n)?n:[n]);g(e,t,a);var u=!1,l=e.map((function(e){if(e.length>=2){var n=e[0],r=e[1];"pseudo"!==n.type||"scope"!==n.name||(i&&"descendant"===r.type?e[1]=d:"adjacent"!==r.type&&"sibling"!==r.type||(u=!0))}return v(e,t,a)})).reduce(b,o.falseFunc);return l.shouldTestNextSiblings=u,l}function v(e,t,n){var r;return e.reduce((function(e,r){return e===o.falseFunc?o.falseFunc:u.compileGeneralSelector(e,r,t,n,y)}),null!==(r=t.rootFunc)&&void 0!==r?r:o.trueFunc)}function b(e,t){return t===o.falseFunc||e===o.trueFunc?e:e===o.falseFunc||t===o.trueFunc?t:function(n){return e(n)||t(n)}}t.compileToken=y},"2e99":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.compilePseudoSelector=t.aliases=t.pseudos=t.filters=void 0;var r=n("99e4"),i=n("e09b"),o=n("13d6");Object.defineProperty(t,"filters",{enumerable:!0,get:function(){return o.filters}});var s=n("95bd");Object.defineProperty(t,"pseudos",{enumerable:!0,get:function(){return s.pseudos}});var a=n("5ebc");Object.defineProperty(t,"aliases",{enumerable:!0,get:function(){return a.aliases}});var u=n("2567");function l(e,t,n,l,c){var p=t.name,f=t.data;if(Array.isArray(f))return u.subselects[p](e,f,n,l,c);if(p in a.aliases){if(null!=f)throw new Error("Pseudo "+p+" doesn't have any arguments");var h=i.parse(a.aliases[p],n);return u.subselects.is(e,h,n,l,c)}if(p in o.filters)return o.filters[p](e,f,n,l);if(p in s.pseudos){var d=s.pseudos[p];return s.verifyPseudoArgs(d,p,f),d===r.falseFunc?r.falseFunc:e===r.trueFunc?function(e){return d(e,n,f)}:function(t){return d(t,n,f)&&e(t)}}throw new Error("unmatched pseudo-class :"+p)}t.compilePseudoSelector=l},"2f62":function(e,t,n){"use strict";(function(e){ /*! * vuex v3.6.2 * (c) 2021 Evan You * @license MIT */ function r(e){var t=Number(e.version.split(".")[0]);if(t>=2)e.mixin({beforeCreate:r});else{var n=e.prototype._init;e.prototype._init=function(e){void 0===e&&(e={}),e.init=e.init?[r].concat(e.init):r,n.call(this,e)}}function r(){var e=this.$options;e.store?this.$store="function"===typeof e.store?e.store():e.store:e.parent&&e.parent.$store&&(this.$store=e.parent.$store)}}n.d(t,"b",(function(){return P})),n.d(t,"c",(function(){return I}));var i="undefined"!==typeof window?window:"undefined"!==typeof e?e:{},o=i.__VUE_DEVTOOLS_GLOBAL_HOOK__;function s(e){o&&(e._devtoolHook=o,o.emit("vuex:init",e),o.on("vuex:travel-to-state",(function(t){e.replaceState(t)})),e.subscribe((function(e,t){o.emit("vuex:mutation",e,t)}),{prepend:!0}),e.subscribeAction((function(e,t){o.emit("vuex:action",e,t)}),{prepend:!0}))}function a(e,t){return e.filter(t)[0]}function u(e,t){if(void 0===t&&(t=[]),null===e||"object"!==typeof e)return e;var n=a(t,(function(t){return t.original===e}));if(n)return n.copy;var r=Array.isArray(e)?[]:{};return t.push({original:e,copy:r}),Object.keys(e).forEach((function(n){r[n]=u(e[n],t)})),r}function l(e,t){Object.keys(e).forEach((function(n){return t(e[n],n)}))}function c(e){return null!==e&&"object"===typeof e}function p(e){return e&&"function"===typeof e.then}function f(e,t){return function(){return e(t)}}var h=function(e,t){this.runtime=t,this._children=Object.create(null),this._rawModule=e;var n=e.state;this.state=("function"===typeof n?n():n)||{}},d={namespaced:{configurable:!0}};d.namespaced.get=function(){return!!this._rawModule.namespaced},h.prototype.addChild=function(e,t){this._children[e]=t},h.prototype.removeChild=function(e){delete this._children[e]},h.prototype.getChild=function(e){return this._children[e]},h.prototype.hasChild=function(e){return e in this._children},h.prototype.update=function(e){this._rawModule.namespaced=e.namespaced,e.actions&&(this._rawModule.actions=e.actions),e.mutations&&(this._rawModule.mutations=e.mutations),e.getters&&(this._rawModule.getters=e.getters)},h.prototype.forEachChild=function(e){l(this._children,e)},h.prototype.forEachGetter=function(e){this._rawModule.getters&&l(this._rawModule.getters,e)},h.prototype.forEachAction=function(e){this._rawModule.actions&&l(this._rawModule.actions,e)},h.prototype.forEachMutation=function(e){this._rawModule.mutations&&l(this._rawModule.mutations,e)},Object.defineProperties(h.prototype,d);var m=function(e){this.register([],e,!1)};function g(e,t,n){if(t.update(n),n.modules)for(var r in n.modules){if(!t.getChild(r))return void 0;g(e.concat(r),t.getChild(r),n.modules[r])}}m.prototype.get=function(e){return e.reduce((function(e,t){return e.getChild(t)}),this.root)},m.prototype.getNamespace=function(e){var t=this.root;return e.reduce((function(e,n){return t=t.getChild(n),e+(t.namespaced?n+"/":"")}),"")},m.prototype.update=function(e){g([],this.root,e)},m.prototype.register=function(e,t,n){var r=this;void 0===n&&(n=!0);var i=new h(t,n);if(0===e.length)this.root=i;else{var o=this.get(e.slice(0,-1));o.addChild(e[e.length-1],i)}t.modules&&l(t.modules,(function(t,i){r.register(e.concat(i),t,n)}))},m.prototype.unregister=function(e){var t=this.get(e.slice(0,-1)),n=e[e.length-1],r=t.getChild(n);r&&r.runtime&&t.removeChild(n)},m.prototype.isRegistered=function(e){var t=this.get(e.slice(0,-1)),n=e[e.length-1];return!!t&&t.hasChild(n)};var y;var v=function(e){var t=this;void 0===e&&(e={}),!y&&"undefined"!==typeof window&&window.Vue&&N(window.Vue);var n=e.plugins;void 0===n&&(n=[]);var r=e.strict;void 0===r&&(r=!1),this._committing=!1,this._actions=Object.create(null),this._actionSubscribers=[],this._mutations=Object.create(null),this._wrappedGetters=Object.create(null),this._modules=new m(e),this._modulesNamespaceMap=Object.create(null),this._subscribers=[],this._watcherVM=new y,this._makeLocalGettersCache=Object.create(null);var i=this,o=this,a=o.dispatch,u=o.commit;this.dispatch=function(e,t){return a.call(i,e,t)},this.commit=function(e,t,n){return u.call(i,e,t,n)},this.strict=r;var l=this._modules.root.state;x(this,l,[],this._modules.root),C(this,l),n.forEach((function(e){return e(t)}));var c=void 0!==e.devtools?e.devtools:y.config.devtools;c&&s(this)},b={state:{configurable:!0}};function D(e,t,n){return t.indexOf(e)<0&&(n&&n.prepend?t.unshift(e):t.push(e)),function(){var n=t.indexOf(e);n>-1&&t.splice(n,1)}}function w(e,t){e._actions=Object.create(null),e._mutations=Object.create(null),e._wrappedGetters=Object.create(null),e._modulesNamespaceMap=Object.create(null);var n=e.state;x(e,n,[],e._modules.root,!0),C(e,n,t)}function C(e,t,n){var r=e._vm;e.getters={},e._makeLocalGettersCache=Object.create(null);var i=e._wrappedGetters,o={};l(i,(function(t,n){o[n]=f(t,e),Object.defineProperty(e.getters,n,{get:function(){return e._vm[n]},enumerable:!0})}));var s=y.config.silent;y.config.silent=!0,e._vm=new y({data:{$$state:t},computed:o}),y.config.silent=s,e.strict&&A(e),r&&(n&&e._withCommit((function(){r._data.$$state=null})),y.nextTick((function(){return r.$destroy()})))}function x(e,t,n,r,i){var o=!n.length,s=e._modules.getNamespace(n);if(r.namespaced&&(e._modulesNamespaceMap[s],e._modulesNamespaceMap[s]=r),!o&&!i){var a=O(t,n.slice(0,-1)),u=n[n.length-1];e._withCommit((function(){y.set(a,u,r.state)}))}var l=r.context=E(e,s,n);r.forEachMutation((function(t,n){var r=s+n;k(e,r,t,l)})),r.forEachAction((function(t,n){var r=t.root?n:s+n,i=t.handler||t;T(e,r,i,l)})),r.forEachGetter((function(t,n){var r=s+n;S(e,r,t,l)})),r.forEachChild((function(r,o){x(e,t,n.concat(o),r,i)}))}function E(e,t,n){var r=""===t,i={dispatch:r?e.dispatch:function(n,r,i){var o=F(n,r,i),s=o.payload,a=o.options,u=o.type;return a&&a.root||(u=t+u),e.dispatch(u,s)},commit:r?e.commit:function(n,r,i){var o=F(n,r,i),s=o.payload,a=o.options,u=o.type;a&&a.root||(u=t+u),e.commit(u,s,a)}};return Object.defineProperties(i,{getters:{get:r?function(){return e.getters}:function(){return _(e,t)}},state:{get:function(){return O(e.state,n)}}}),i}function _(e,t){if(!e._makeLocalGettersCache[t]){var n={},r=t.length;Object.keys(e.getters).forEach((function(i){if(i.slice(0,r)===t){var o=i.slice(r);Object.defineProperty(n,o,{get:function(){return e.getters[i]},enumerable:!0})}})),e._makeLocalGettersCache[t]=n}return e._makeLocalGettersCache[t]}function k(e,t,n,r){var i=e._mutations[t]||(e._mutations[t]=[]);i.push((function(t){n.call(e,r.state,t)}))}function T(e,t,n,r){var i=e._actions[t]||(e._actions[t]=[]);i.push((function(t){var i=n.call(e,{dispatch:r.dispatch,commit:r.commit,getters:r.getters,state:r.state,rootGetters:e.getters,rootState:e.state},t);return p(i)||(i=Promise.resolve(i)),e._devtoolHook?i.catch((function(t){throw e._devtoolHook.emit("vuex:error",t),t})):i}))}function S(e,t,n,r){e._wrappedGetters[t]||(e._wrappedGetters[t]=function(e){return n(r.state,r.getters,e.state,e.getters)})}function A(e){e._vm.$watch((function(){return this._data.$$state}),(function(){0}),{deep:!0,sync:!0})}function O(e,t){return t.reduce((function(e,t){return e[t]}),e)}function F(e,t,n){return c(e)&&e.type&&(n=t,t=e,e=e.type),{type:e,payload:t,options:n}}function N(e){y&&e===y||(y=e,r(y))}b.state.get=function(){return this._vm._data.$$state},b.state.set=function(e){0},v.prototype.commit=function(e,t,n){var r=this,i=F(e,t,n),o=i.type,s=i.payload,a=(i.options,{type:o,payload:s}),u=this._mutations[o];u&&(this._withCommit((function(){u.forEach((function(e){e(s)}))})),this._subscribers.slice().forEach((function(e){return e(a,r.state)})))},v.prototype.dispatch=function(e,t){var n=this,r=F(e,t),i=r.type,o=r.payload,s={type:i,payload:o},a=this._actions[i];if(a){try{this._actionSubscribers.slice().filter((function(e){return e.before})).forEach((function(e){return e.before(s,n.state)}))}catch(l){0}var u=a.length>1?Promise.all(a.map((function(e){return e(o)}))):a[0](o);return new Promise((function(e,t){u.then((function(t){try{n._actionSubscribers.filter((function(e){return e.after})).forEach((function(e){return e.after(s,n.state)}))}catch(l){0}e(t)}),(function(e){try{n._actionSubscribers.filter((function(e){return e.error})).forEach((function(t){return t.error(s,n.state,e)}))}catch(l){0}t(e)}))}))}},v.prototype.subscribe=function(e,t){return D(e,this._subscribers,t)},v.prototype.subscribeAction=function(e,t){var n="function"===typeof e?{before:e}:e;return D(n,this._actionSubscribers,t)},v.prototype.watch=function(e,t,n){var r=this;return this._watcherVM.$watch((function(){return e(r.state,r.getters)}),t,n)},v.prototype.replaceState=function(e){var t=this;this._withCommit((function(){t._vm._data.$$state=e}))},v.prototype.registerModule=function(e,t,n){void 0===n&&(n={}),"string"===typeof e&&(e=[e]),this._modules.register(e,t),x(this,this.state,e,this._modules.get(e),n.preserveState),C(this,this.state)},v.prototype.unregisterModule=function(e){var t=this;"string"===typeof e&&(e=[e]),this._modules.unregister(e),this._withCommit((function(){var n=O(t.state,e.slice(0,-1));y.delete(n,e[e.length-1])})),w(this)},v.prototype.hasModule=function(e){return"string"===typeof e&&(e=[e]),this._modules.isRegistered(e)},v.prototype.hotUpdate=function(e){this._modules.update(e),w(this,!0)},v.prototype._withCommit=function(e){var t=this._committing;this._committing=!0,e(),this._committing=t},Object.defineProperties(v.prototype,b);var I=$((function(e,t){var n={};return B(t).forEach((function(t){var r=t.key,i=t.val;n[r]=function(){var t=this.$store.state,n=this.$store.getters;if(e){var r=H(this.$store,"mapState",e);if(!r)return;t=r.context.state,n=r.context.getters}return"function"===typeof i?i.call(this,t,n):t[i]},n[r].vuex=!0})),n})),P=$((function(e,t){var n={};return B(t).forEach((function(t){var r=t.key,i=t.val;n[r]=function(){var t=[],n=arguments.length;while(n--)t[n]=arguments[n];var r=this.$store.commit;if(e){var o=H(this.$store,"mapMutations",e);if(!o)return;r=o.context.commit}return"function"===typeof i?i.apply(this,[r].concat(t)):r.apply(this.$store,[i].concat(t))}})),n})),M=$((function(e,t){var n={};return B(t).forEach((function(t){var r=t.key,i=t.val;i=e+i,n[r]=function(){if(!e||H(this.$store,"mapGetters",e))return this.$store.getters[i]},n[r].vuex=!0})),n})),L=$((function(e,t){var n={};return B(t).forEach((function(t){var r=t.key,i=t.val;n[r]=function(){var t=[],n=arguments.length;while(n--)t[n]=arguments[n];var r=this.$store.dispatch;if(e){var o=H(this.$store,"mapActions",e);if(!o)return;r=o.context.dispatch}return"function"===typeof i?i.apply(this,[r].concat(t)):r.apply(this.$store,[i].concat(t))}})),n})),j=function(e){return{mapState:I.bind(null,e),mapGetters:M.bind(null,e),mapMutations:P.bind(null,e),mapActions:L.bind(null,e)}};function B(e){return R(e)?Array.isArray(e)?e.map((function(e){return{key:e,val:e}})):Object.keys(e).map((function(t){return{key:t,val:e[t]}})):[]}function R(e){return Array.isArray(e)||c(e)}function $(e){return function(t,n){return"string"!==typeof t?(n=t,t=""):"/"!==t.charAt(t.length-1)&&(t+="/"),e(t,n)}}function H(e,t,n){var r=e._modulesNamespaceMap[n];return r}function U(e){void 0===e&&(e={});var t=e.collapsed;void 0===t&&(t=!0);var n=e.filter;void 0===n&&(n=function(e,t,n){return!0});var r=e.transformer;void 0===r&&(r=function(e){return e});var i=e.mutationTransformer;void 0===i&&(i=function(e){return e});var o=e.actionFilter;void 0===o&&(o=function(e,t){return!0});var s=e.actionTransformer;void 0===s&&(s=function(e){return e});var a=e.logMutations;void 0===a&&(a=!0);var l=e.logActions;void 0===l&&(l=!0);var c=e.logger;return void 0===c&&(c=console),function(e){var p=u(e.state);"undefined"!==typeof c&&(a&&e.subscribe((function(e,o){var s=u(o);if(n(e,p,s)){var a=V(),l=i(e),f="mutation "+e.type+a;q(c,f,t),c.log("%c prev state","color: #9E9E9E; font-weight: bold",r(p)),c.log("%c mutation","color: #03A9F4; font-weight: bold",l),c.log("%c next state","color: #4CAF50; font-weight: bold",r(s)),z(c)}p=s})),l&&e.subscribeAction((function(e,n){if(o(e,n)){var r=V(),i=s(e),a="action "+e.type+r;q(c,a,t),c.log("%c action","color: #03A9F4; font-weight: bold",i),z(c)}})))}}function q(e,t,n){var r=n?e.groupCollapsed:e.group;try{r.call(e,t)}catch(i){e.log(t)}}function z(e){try{e.groupEnd()}catch(t){e.log("—— log end ——")}}function V(){var e=new Date;return" @ "+G(e.getHours(),2)+":"+G(e.getMinutes(),2)+":"+G(e.getSeconds(),2)+"."+G(e.getMilliseconds(),3)}function W(e,t){return new Array(t+1).join(e)}function G(e,t){return W("0",t-e.toString().length)+e}var K={Store:v,install:N,version:"3.6.2",mapState:I,mapMutations:P,mapGetters:M,mapActions:L,createNamespacedHelpers:j,createLogger:U};t["a"]=K}).call(this,n("c8ba"))},"2f9a":function(e,t){e.exports=function(){}},"301c":function(e,t,n){n("e198")("asyncIterator")},"30b5":function(e,t,n){"use strict";var r=n("c532");function i(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}e.exports=function(e,t,n){if(!t)return e;var o;if(n)o=n(t);else if(r.isURLSearchParams(t))o=t.toString();else{var s=[];r.forEach(t,(function(e,t){null!==e&&"undefined"!==typeof e&&(r.isArray(e)?t+="[]":e=[e],r.forEach(e,(function(e){r.isDate(e)?e=e.toISOString():r.isObject(e)&&(e=JSON.stringify(e)),s.push(i(t)+"="+i(e))})))})),o=s.join("&")}if(o){var a=e.indexOf("#");-1!==a&&(e=e.slice(0,a)),e+=(-1===e.indexOf("?")?"?":"&")+o}return e}},"31c5":function(e,t,n){(function(e){e(n("56b3"))})((function(e){"use strict";var t="CodeMirror-activeline",n="CodeMirror-activeline-background",r="CodeMirror-activeline-gutter";function i(e){for(var i=0;ie.length?n:e})),l.value=e.join(p)}else l.value=e.join(n.slice(a,a+l.count));a+=l.count,l.added||(u+=l.count)}}var f=t[s-1];return s>1&&"string"==typeof f.value&&(f.added||f.removed)&&e.equals("",f.value)&&(t[s-2].value+=f.value,t.pop()),t}function i(e){return{newPos:e.newPos,components:e.components.slice(0)}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=n,n.prototype={diff:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},o=n.callback;"function"==typeof n&&(o=n,n={}),this.options=n;var s=this;function a(e){return o?(setTimeout((function(){o(void 0,e)}),0),!0):e}e=this.castInput(e),t=this.castInput(t),e=this.removeEmpty(this.tokenize(e));var u=(t=this.removeEmpty(this.tokenize(t))).length,l=e.length,c=1,p=u+l,f=[{newPos:-1,components:[]}],h=this.extractCommon(f[0],t,e,0);if(f[0].newPos+1>=u&&h+1>=l)return a([{value:this.join(t),count:t.length}]);function d(){for(var n=-1*c;n<=c;n+=2){var o=void 0,p=f[n-1],h=f[n+1],d=(h?h.newPos:0)-n;p&&(f[n-1]=void 0);var m=p&&p.newPos+1=u&&d+1>=l)return a(r(s,o.components,t,e,s.useLongestToken));f[n]=o}else f[n]=void 0}c++}if(o)!function e(){setTimeout((function(){if(c>p)return o();d()||e()}),0)}();else for(;c<=p;){var m=d();if(m)return m}},pushComponent:function(e,t,n){var r=e[e.length-1];r&&r.added===t&&r.removed===n?e[e.length-1]={count:r.count+1,added:t,removed:n}:e.push({count:1,added:t,removed:n})},extractCommon:function(e,t,n,r){for(var i=t.length,o=n.length,s=e.newPos,a=s-r,u=0;s+1=74)&&(o=N.match(/Chrome\/(\d+)/))&&(s=o[1]);var j=s&&+s,B=!!Object.getOwnPropertySymbols&&!y((function(){var e=Symbol();return!String(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&j&&j<41})),R=B&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,$=R?function(e){return"symbol"==typeof e}:function(e){var t=F("Symbol");return"function"==typeof t&&Object(e)instanceof t},H=function(e,t){try{Object.defineProperty(g,e,{value:t,configurable:!0,writable:!0})}catch(r){g[e]=t}return t},U="__core-js_shared__",q=g[U]||H(U,{}),z=i((function(e){(e.exports=function(e,t){return q[e]||(q[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.17.3",mode:"global",copyright:"© 2021 Denis Pushkarev (zloirock.ru)"})})),V=function(e){return Object(T(e))},W={}.hasOwnProperty,G=Object.hasOwn||function(e,t){return W.call(V(e),t)},K=0,Y=Math.random(),X=function(e){return"Symbol("+String(void 0===e?"":e)+")_"+(++K+Y).toString(36)},J=z("wks"),Q=g.Symbol,Z=R?Q:Q&&Q.withoutSetter||X,ee=function(e){return G(J,e)&&(B||"string"==typeof J[e])||(B&&G(Q,e)?J[e]=Q[e]:J[e]=Z("Symbol."+e)),J[e]},te=ee("toPrimitive"),ne=function(e,t){if(!A(e)||$(e))return e;var n,r=e[te];if(void 0!==r){if(void 0===t&&(t="default"),n=r.call(e,t),!A(n)||$(n))return n;throw TypeError("Can't convert object to primitive value")}return void 0===t&&(t="number"),function(e,t){var n,r;if("string"===t&&"function"==typeof(n=e.toString)&&!A(r=n.call(e)))return r;if("function"==typeof(n=e.valueOf)&&!A(r=n.call(e)))return r;if("string"!==t&&"function"==typeof(n=e.toString)&&!A(r=n.call(e)))return r;throw TypeError("Can't convert object to primitive value")}(e,t)},re=function(e){var t=ne(e,"string");return $(t)?t:String(t)},ie=g.document,oe=A(ie)&&A(ie.createElement),se=!v&&!y((function(){return 7!=Object.defineProperty((e="div",oe?ie.createElement(e):{}),"a",{get:function(){return 7}}).a;var e})),ae=Object.getOwnPropertyDescriptor,ue={f:v?ae:function(e,t){if(e=S(e),t=re(t),se)try{return ae(e,t)}catch(e){}if(G(e,t))return C(!w.f.call(e,t),e[t])}},le=function(e){if(!A(e))throw TypeError(String(e)+" is not an object");return e},ce=Object.defineProperty,pe={f:v?ce:function(e,t,n){if(le(e),t=re(t),le(n),se)try{return ce(e,t,n)}catch(e){}if("get"in n||"set"in n)throw TypeError("Accessors not supported");return"value"in n&&(e[t]=n.value),e}},fe=v?function(e,t,n){return pe.f(e,t,C(1,n))}:function(e,t,n){return e[t]=n,e},he=Function.toString;"function"!=typeof q.inspectSource&&(q.inspectSource=function(e){return he.call(e)});var de,me,ge,ye,ve=q.inspectSource,be=g.WeakMap,De="function"==typeof be&&/native code/.test(ve(be)),we=z("keys"),Ce={},xe="Object already initialized",Ee=g.WeakMap;if(De||q.state){var _e=q.state||(q.state=new Ee),ke=_e.get,Te=_e.has,Se=_e.set;de=function(e,t){if(Te.call(_e,e))throw new TypeError(xe);return t.facade=e,Se.call(_e,e,t),t},me=function(e){return ke.call(_e,e)||{}},ge=function(e){return Te.call(_e,e)}}else{var Ae=we[ye="state"]||(we[ye]=X(ye));Ce[Ae]=!0,de=function(e,t){if(G(e,Ae))throw new TypeError(xe);return t.facade=e,fe(e,Ae,t),t},me=function(e){return G(e,Ae)?e[Ae]:{}},ge=function(e){return G(e,Ae)}}var Oe,Fe,Ne={set:de,get:me,has:ge,enforce:function(e){return ge(e)?me(e):de(e,{})},getterFor:function(e){return function(t){var n;if(!A(t)||(n=me(t)).type!==e)throw TypeError("Incompatible receiver, "+e+" required");return n}}},Ie=i((function(e){var t=Ne.get,n=Ne.enforce,r=String(String).split("String");(e.exports=function(e,t,i,o){var s,a=!!o&&!!o.unsafe,u=!!o&&!!o.enumerable,l=!!o&&!!o.noTargetGet;"function"==typeof i&&("string"!=typeof t||G(i,"name")||fe(i,"name",t),(s=n(i)).source||(s.source=r.join("string"==typeof t?t:""))),e!==g?(a?!l&&e[t]&&(u=!0):delete e[t],u?e[t]=i:fe(e,t,i)):u?e[t]=i:H(t,i)})(Function.prototype,"toString",(function(){return"function"==typeof this&&t(this).source||ve(this)}))})),Pe=Math.ceil,Me=Math.floor,Le=function(e){return isNaN(e=+e)?0:(e>0?Me:Pe)(e)},je=Math.min,Be=function(e){return e>0?je(Le(e),9007199254740991):0},Re=Math.max,$e=Math.min,He=function(e){return function(t,n,r){var i,o=S(t),s=Be(o.length),a=function(e,t){var n=Le(e);return n<0?Re(n+t,0):$e(n,t)}(r,s);if(e&&n!=n){for(;s>a;)if((i=o[a++])!=i)return!0}else for(;s>a;a++)if((e||a in o)&&o[a]===n)return e||a||0;return!e&&-1}},Ue={includes:He(!0),indexOf:He(!1)}.indexOf,qe=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"].concat("length","prototype"),ze={f:Object.getOwnPropertyNames||function(e){return function(e,t){var n,r=S(e),i=0,o=[];for(n in r)!G(Ce,n)&&G(r,n)&&o.push(n);for(;t.length>i;)G(r,n=t[i++])&&(~Ue(o,n)||o.push(n));return o}(e,qe)}},Ve={f:Object.getOwnPropertySymbols},We=F("Reflect","ownKeys")||function(e){var t=ze.f(le(e)),n=Ve.f;return n?t.concat(n(e)):t},Ge=function(e,t){for(var n=We(t),r=pe.f,i=ue.f,o=0;o0;)e[r]=e[--r];r!==o++&&(e[r]=n)}return e},ut=function(e,t,n){for(var r=e.length,i=t.length,o=0,s=0,a=[];o3)){if(ft)return!0;if(dt)return dt<603;var e,t,n,r,i="";for(e=65;e<76;e++){switch(t=String.fromCharCode(e),e){case 66:case 69:case 70:case 72:n=3;break;case 68:case 71:n=4;break;default:n=2}for(r=0;r<47;r++)mt.push({k:t+r,v:n})}for(mt.sort((function(e,t){return t.v-e.v})),r=0;rit(n)?1:-1}}(e))).length,r=0;r1&&void 0!==arguments[1]?arguments[1]:{},n=e.split(/\r\n|[\n\v\f\r\x85]/),r=e.match(/\r\n|[\n\v\f\r\x85]/g)||[],i=[],o=0;function s(){var e={};for(i.push(e);o2&&void 0!==arguments[2]?arguments[2]:{};if("string"==typeof t&&(t=(0,_t.parsePatch)(t)),Array.isArray(t)){if(t.length>1)throw new Error("applyPatch only works with a single input.");t=t[0]}var r,i,o=e.split(/\r\n|[\n\v\f\r\x85]/),s=e.match(/\r\n|[\n\v\f\r\x85]/g)||[],a=t.hunks,u=n.compareLine||function(e,t,n,r){return t===r},l=0,c=n.fuzzFactor||0,p=0,f=0;function h(e,t){for(var n=0;n0?r[0]:" ",s=r.length>0?r.substr(1):r;if(" "===i||"-"===i){if(!u(t+1,o[t],i,s)&&++l>c)return!1;t++}}return!0}for(var d=0;d0?_[0]:" ",T=_.length>0?_.substr(1):_,S=C.linedelimiters[E];if(" "===k)x++;else if("-"===k)o.splice(x,1),s.splice(x,1);else if("+"===k)o.splice(x,0,T),s.splice(x,0,S),x++;else if("\\"===k){var A=C.lines[E-1]?C.lines[E-1][0]:null;"+"===A?r=!0:"-"===A&&(i=!0)}}}if(r)for(;!o[o.length-1];)o.pop(),s.pop();else i&&(o.push(""),s.push("\n"));for(var O=0;Oe.length)&&(t=e.length);for(var n=0,r=new Array(t);n0?u(f.lines.slice(-s.context)):[],c-=h.length,p-=h.length)}(o=h).push.apply(o,Lt(i.map((function(e){return(t.added?"+":"-")+e})))),t.added?m+=i.length:d+=i.length}else{if(c)if(i.length<=2*s.context&&e=a.length-2&&i.length<=s.context){var D=/\n$/.test(n),w=/\n$/.test(r),C=0==i.length&&h.length>b.oldLines;!D&&C&&n.length>0&&h.splice(b.oldLines,0,"\\ No newline at end of file"),(D||C)&&w||h.push("\\ No newline at end of file")}l.push(b),c=0,p=0,h=[]}d+=i.length,m+=i.length}},y=0;ye.length)return!1;for(var n=0;ne.length)&&(t=e.length);for(var n=0,r=new Array(t);n"):r.removed&&t.push(""),t.push(yn(r.value)),r.added?t.push(""):r.removed&&t.push("")}return t.join("")};function yn(e){var t=e;return(t=(t=(t=t.replace(/&/g,"&")).replace(//g,">")).replace(/"/g,""")}var vn=Object.defineProperty({convertChangesToXML:gn},"__esModule",{value:!0}),bn=i((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Diff",{enumerable:!0,get:function(){return n.default}}),Object.defineProperty(t,"diffChars",{enumerable:!0,get:function(){return u.diffChars}}),Object.defineProperty(t,"diffWords",{enumerable:!0,get:function(){return p.diffWords}}),Object.defineProperty(t,"diffWordsWithSpace",{enumerable:!0,get:function(){return p.diffWordsWithSpace}}),Object.defineProperty(t,"diffLines",{enumerable:!0,get:function(){return f.diffLines}}),Object.defineProperty(t,"diffTrimmedLines",{enumerable:!0,get:function(){return f.diffTrimmedLines}}),Object.defineProperty(t,"diffSentences",{enumerable:!0,get:function(){return h.diffSentences}}),Object.defineProperty(t,"diffCss",{enumerable:!0,get:function(){return d.diffCss}}),Object.defineProperty(t,"diffJson",{enumerable:!0,get:function(){return Ct.diffJson}}),Object.defineProperty(t,"canonicalize",{enumerable:!0,get:function(){return Ct.canonicalize}}),Object.defineProperty(t,"diffArrays",{enumerable:!0,get:function(){return xt.diffArrays}}),Object.defineProperty(t,"applyPatch",{enumerable:!0,get:function(){return Ft.applyPatch}}),Object.defineProperty(t,"applyPatches",{enumerable:!0,get:function(){return Ft.applyPatches}}),Object.defineProperty(t,"parsePatch",{enumerable:!0,get:function(){return _t.parsePatch}}),Object.defineProperty(t,"merge",{enumerable:!0,get:function(){return hn.merge}}),Object.defineProperty(t,"structuredPatch",{enumerable:!0,get:function(){return Ht.structuredPatch}}),Object.defineProperty(t,"createTwoFilesPatch",{enumerable:!0,get:function(){return Ht.createTwoFilesPatch}}),Object.defineProperty(t,"createPatch",{enumerable:!0,get:function(){return Ht.createPatch}}),Object.defineProperty(t,"convertChangesToDMP",{enumerable:!0,get:function(){return mn.convertChangesToDMP}}),Object.defineProperty(t,"convertChangesToXML",{enumerable:!0,get:function(){return vn.convertChangesToXML}});var n=function(e){return e&&e.__esModule?e:{default:e}}(a)}));function Dn(e){return{type:"concat",parts:e}}function wn(e){return{type:"indent",contents:e}}function Cn(e,t){return{type:"align",contents:t,n:e}}function xn(e,t={}){return{type:"group",id:t.id,contents:e,break:Boolean(t.shouldBreak),expandedStates:t.expandedStates}}const En={type:"break-parent"},_n={type:"line",hard:!0},kn={type:"line",hard:!0,literal:!0},Tn=Dn([_n,En]),Sn=Dn([kn,En]);var An={concat:Dn,join:function(e,t){const n=[];for(let r=0;r0){for(let e=0;e"string"==typeof e?e.replace((({onlyFirst:e=!1}={})=>{const t=["[\\u001B\\u009B][[\\]()#;?]*(?:(?:(?:[a-zA-Z\\d]*(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]*)*)?\\u0007)","(?:(?:\\d{1,4}(?:;\\d{0,4})*)?[\\dA-PR-TZcf-ntqry=><~]))"].join("|");return new RegExp(t,e?void 0:"g")})(),""):e;const Fn=e=>!Number.isNaN(e)&&e>=4352&&(e<=4447||9001===e||9002===e||11904<=e&&e<=12871&&12351!==e||12880<=e&&e<=19903||19968<=e&&e<=42182||43360<=e&&e<=43388||44032<=e&&e<=55203||63744<=e&&e<=64255||65040<=e&&e<=65049||65072<=e&&e<=65131||65281<=e&&e<=65376||65504<=e&&e<=65510||110592<=e&&e<=110593||127488<=e&&e<=127569||131072<=e&&e<=262141);var Nn=Fn,In=Fn;Nn.default=In;const Pn=e=>{if("string"!=typeof e||0===e.length)return 0;if(0===(e=On(e)).length)return 0;e=e.replace(/\uD83C\uDFF4\uDB40\uDC67\uDB40\uDC62(?:\uDB40\uDC65\uDB40\uDC6E\uDB40\uDC67|\uDB40\uDC73\uDB40\uDC63\uDB40\uDC74|\uDB40\uDC77\uDB40\uDC6C\uDB40\uDC73)\uDB40\uDC7F|\uD83D\uDC68(?:\uD83C\uDFFC\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68\uD83C\uDFFB|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFF\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFE])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFE\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFD])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFD\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB\uDFFC])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\u200D(?:\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83D\uDC68|(?:\uD83D[\uDC68\uDC69])\u200D(?:\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67]))|\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67])|(?:\uD83D[\uDC68\uDC69])\u200D(?:\uD83D[\uDC66\uDC67])|[\u2695\u2696\u2708]\uFE0F|\uD83D[\uDC66\uDC67]|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|(?:\uD83C\uDFFB\u200D[\u2695\u2696\u2708]|\uD83C\uDFFF\u200D[\u2695\u2696\u2708]|\uD83C\uDFFE\u200D[\u2695\u2696\u2708]|\uD83C\uDFFD\u200D[\u2695\u2696\u2708]|\uD83C\uDFFC\u200D[\u2695\u2696\u2708])\uFE0F|\uD83C\uDFFB\u200D(?:\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C[\uDFFB-\uDFFF])|(?:\uD83E\uDDD1\uD83C\uDFFB\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFC\u200D\uD83E\uDD1D\u200D\uD83D\uDC69)\uD83C\uDFFB|\uD83E\uDDD1(?:\uD83C\uDFFF\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1(?:\uD83C[\uDFFB-\uDFFF])|\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1)|(?:\uD83E\uDDD1\uD83C\uDFFE\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFF\u200D\uD83E\uDD1D\u200D(?:\uD83D[\uDC68\uDC69]))(?:\uD83C[\uDFFB-\uDFFE])|(?:\uD83E\uDDD1\uD83C\uDFFC\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFD\u200D\uD83E\uDD1D\u200D\uD83D\uDC69)(?:\uD83C[\uDFFB\uDFFC])|\uD83D\uDC69(?:\uD83C\uDFFE\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFD\uDFFF])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFC\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB\uDFFD-\uDFFF])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFB\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFC-\uDFFF])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFD\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\u200D(?:\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D(?:\uD83D[\uDC68\uDC69])|\uD83D[\uDC68\uDC69])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFF\u200D(?:\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD]))|\uD83D\uDC69\u200D\uD83D\uDC69\u200D(?:\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67]))|(?:\uD83E\uDDD1\uD83C\uDFFD\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFE\u200D\uD83E\uDD1D\u200D\uD83D\uDC69)(?:\uD83C[\uDFFB-\uDFFD])|\uD83D\uDC69\u200D\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC69\u200D\uD83D\uDC69\u200D(?:\uD83D[\uDC66\uDC67])|(?:\uD83D\uDC41\uFE0F\u200D\uD83D\uDDE8|\uD83D\uDC69(?:\uD83C\uDFFF\u200D[\u2695\u2696\u2708]|\uD83C\uDFFE\u200D[\u2695\u2696\u2708]|\uD83C\uDFFC\u200D[\u2695\u2696\u2708]|\uD83C\uDFFB\u200D[\u2695\u2696\u2708]|\uD83C\uDFFD\u200D[\u2695\u2696\u2708]|\u200D[\u2695\u2696\u2708])|(?:(?:\u26F9|\uD83C[\uDFCB\uDFCC]|\uD83D\uDD75)\uFE0F|\uD83D\uDC6F|\uD83E[\uDD3C\uDDDE\uDDDF])\u200D[\u2640\u2642]|(?:\u26F9|\uD83C[\uDFCB\uDFCC]|\uD83D\uDD75)(?:\uD83C[\uDFFB-\uDFFF])\u200D[\u2640\u2642]|(?:\uD83C[\uDFC3\uDFC4\uDFCA]|\uD83D[\uDC6E\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6]|\uD83E[\uDD26\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD-\uDDCF\uDDD6-\uDDDD])(?:(?:\uD83C[\uDFFB-\uDFFF])\u200D[\u2640\u2642]|\u200D[\u2640\u2642])|\uD83C\uDFF4\u200D\u2620)\uFE0F|\uD83D\uDC69\u200D\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67])|\uD83C\uDFF3\uFE0F\u200D\uD83C\uDF08|\uD83D\uDC15\u200D\uD83E\uDDBA|\uD83D\uDC69\u200D\uD83D\uDC66|\uD83D\uDC69\u200D\uD83D\uDC67|\uD83C\uDDFD\uD83C\uDDF0|\uD83C\uDDF4\uD83C\uDDF2|\uD83C\uDDF6\uD83C\uDDE6|[#\*0-9]\uFE0F\u20E3|\uD83C\uDDE7(?:\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEF\uDDF1-\uDDF4\uDDF6-\uDDF9\uDDFB\uDDFC\uDDFE\uDDFF])|\uD83C\uDDF9(?:\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDED\uDDEF-\uDDF4\uDDF7\uDDF9\uDDFB\uDDFC\uDDFF])|\uD83C\uDDEA(?:\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDED\uDDF7-\uDDFA])|\uD83E\uDDD1(?:\uD83C[\uDFFB-\uDFFF])|\uD83C\uDDF7(?:\uD83C[\uDDEA\uDDF4\uDDF8\uDDFA\uDDFC])|\uD83D\uDC69(?:\uD83C[\uDFFB-\uDFFF])|\uD83C\uDDF2(?:\uD83C[\uDDE6\uDDE8-\uDDED\uDDF0-\uDDFF])|\uD83C\uDDE6(?:\uD83C[\uDDE8-\uDDEC\uDDEE\uDDF1\uDDF2\uDDF4\uDDF6-\uDDFA\uDDFC\uDDFD\uDDFF])|\uD83C\uDDF0(?:\uD83C[\uDDEA\uDDEC-\uDDEE\uDDF2\uDDF3\uDDF5\uDDF7\uDDFC\uDDFE\uDDFF])|\uD83C\uDDED(?:\uD83C[\uDDF0\uDDF2\uDDF3\uDDF7\uDDF9\uDDFA])|\uD83C\uDDE9(?:\uD83C[\uDDEA\uDDEC\uDDEF\uDDF0\uDDF2\uDDF4\uDDFF])|\uD83C\uDDFE(?:\uD83C[\uDDEA\uDDF9])|\uD83C\uDDEC(?:\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEE\uDDF1-\uDDF3\uDDF5-\uDDFA\uDDFC\uDDFE])|\uD83C\uDDF8(?:\uD83C[\uDDE6-\uDDEA\uDDEC-\uDDF4\uDDF7-\uDDF9\uDDFB\uDDFD-\uDDFF])|\uD83C\uDDEB(?:\uD83C[\uDDEE-\uDDF0\uDDF2\uDDF4\uDDF7])|\uD83C\uDDF5(?:\uD83C[\uDDE6\uDDEA-\uDDED\uDDF0-\uDDF3\uDDF7-\uDDF9\uDDFC\uDDFE])|\uD83C\uDDFB(?:\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDEE\uDDF3\uDDFA])|\uD83C\uDDF3(?:\uD83C[\uDDE6\uDDE8\uDDEA-\uDDEC\uDDEE\uDDF1\uDDF4\uDDF5\uDDF7\uDDFA\uDDFF])|\uD83C\uDDE8(?:\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDEE\uDDF0-\uDDF5\uDDF7\uDDFA-\uDDFF])|\uD83C\uDDF1(?:\uD83C[\uDDE6-\uDDE8\uDDEE\uDDF0\uDDF7-\uDDFB\uDDFE])|\uD83C\uDDFF(?:\uD83C[\uDDE6\uDDF2\uDDFC])|\uD83C\uDDFC(?:\uD83C[\uDDEB\uDDF8])|\uD83C\uDDFA(?:\uD83C[\uDDE6\uDDEC\uDDF2\uDDF3\uDDF8\uDDFE\uDDFF])|\uD83C\uDDEE(?:\uD83C[\uDDE8-\uDDEA\uDDF1-\uDDF4\uDDF6-\uDDF9])|\uD83C\uDDEF(?:\uD83C[\uDDEA\uDDF2\uDDF4\uDDF5])|(?:\uD83C[\uDFC3\uDFC4\uDFCA]|\uD83D[\uDC6E\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6]|\uD83E[\uDD26\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD-\uDDCF\uDDD6-\uDDDD])(?:\uD83C[\uDFFB-\uDFFF])|(?:\u26F9|\uD83C[\uDFCB\uDFCC]|\uD83D\uDD75)(?:\uD83C[\uDFFB-\uDFFF])|(?:[\u261D\u270A-\u270D]|\uD83C[\uDF85\uDFC2\uDFC7]|\uD83D[\uDC42\uDC43\uDC46-\uDC50\uDC66\uDC67\uDC6B-\uDC6D\uDC70\uDC72\uDC74-\uDC76\uDC78\uDC7C\uDC83\uDC85\uDCAA\uDD74\uDD7A\uDD90\uDD95\uDD96\uDE4C\uDE4F\uDEC0\uDECC]|\uD83E[\uDD0F\uDD18-\uDD1C\uDD1E\uDD1F\uDD30-\uDD36\uDDB5\uDDB6\uDDBB\uDDD2-\uDDD5])(?:\uD83C[\uDFFB-\uDFFF])|(?:[\u231A\u231B\u23E9-\u23EC\u23F0\u23F3\u25FD\u25FE\u2614\u2615\u2648-\u2653\u267F\u2693\u26A1\u26AA\u26AB\u26BD\u26BE\u26C4\u26C5\u26CE\u26D4\u26EA\u26F2\u26F3\u26F5\u26FA\u26FD\u2705\u270A\u270B\u2728\u274C\u274E\u2753-\u2755\u2757\u2795-\u2797\u27B0\u27BF\u2B1B\u2B1C\u2B50\u2B55]|\uD83C[\uDC04\uDCCF\uDD8E\uDD91-\uDD9A\uDDE6-\uDDFF\uDE01\uDE1A\uDE2F\uDE32-\uDE36\uDE38-\uDE3A\uDE50\uDE51\uDF00-\uDF20\uDF2D-\uDF35\uDF37-\uDF7C\uDF7E-\uDF93\uDFA0-\uDFCA\uDFCF-\uDFD3\uDFE0-\uDFF0\uDFF4\uDFF8-\uDFFF]|\uD83D[\uDC00-\uDC3E\uDC40\uDC42-\uDCFC\uDCFF-\uDD3D\uDD4B-\uDD4E\uDD50-\uDD67\uDD7A\uDD95\uDD96\uDDA4\uDDFB-\uDE4F\uDE80-\uDEC5\uDECC\uDED0-\uDED2\uDED5\uDEEB\uDEEC\uDEF4-\uDEFA\uDFE0-\uDFEB]|\uD83E[\uDD0D-\uDD3A\uDD3C-\uDD45\uDD47-\uDD71\uDD73-\uDD76\uDD7A-\uDDA2\uDDA5-\uDDAA\uDDAE-\uDDCA\uDDCD-\uDDFF\uDE70-\uDE73\uDE78-\uDE7A\uDE80-\uDE82\uDE90-\uDE95])|(?:[#\*0-9\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u231A\u231B\u2328\u23CF\u23E9-\u23F3\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB-\u25FE\u2600-\u2604\u260E\u2611\u2614\u2615\u2618\u261D\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638-\u263A\u2640\u2642\u2648-\u2653\u265F\u2660\u2663\u2665\u2666\u2668\u267B\u267E\u267F\u2692-\u2697\u2699\u269B\u269C\u26A0\u26A1\u26AA\u26AB\u26B0\u26B1\u26BD\u26BE\u26C4\u26C5\u26C8\u26CE\u26CF\u26D1\u26D3\u26D4\u26E9\u26EA\u26F0-\u26F5\u26F7-\u26FA\u26FD\u2702\u2705\u2708-\u270D\u270F\u2712\u2714\u2716\u271D\u2721\u2728\u2733\u2734\u2744\u2747\u274C\u274E\u2753-\u2755\u2757\u2763\u2764\u2795-\u2797\u27A1\u27B0\u27BF\u2934\u2935\u2B05-\u2B07\u2B1B\u2B1C\u2B50\u2B55\u3030\u303D\u3297\u3299]|\uD83C[\uDC04\uDCCF\uDD70\uDD71\uDD7E\uDD7F\uDD8E\uDD91-\uDD9A\uDDE6-\uDDFF\uDE01\uDE02\uDE1A\uDE2F\uDE32-\uDE3A\uDE50\uDE51\uDF00-\uDF21\uDF24-\uDF93\uDF96\uDF97\uDF99-\uDF9B\uDF9E-\uDFF0\uDFF3-\uDFF5\uDFF7-\uDFFF]|\uD83D[\uDC00-\uDCFD\uDCFF-\uDD3D\uDD49-\uDD4E\uDD50-\uDD67\uDD6F\uDD70\uDD73-\uDD7A\uDD87\uDD8A-\uDD8D\uDD90\uDD95\uDD96\uDDA4\uDDA5\uDDA8\uDDB1\uDDB2\uDDBC\uDDC2-\uDDC4\uDDD1-\uDDD3\uDDDC-\uDDDE\uDDE1\uDDE3\uDDE8\uDDEF\uDDF3\uDDFA-\uDE4F\uDE80-\uDEC5\uDECB-\uDED2\uDED5\uDEE0-\uDEE5\uDEE9\uDEEB\uDEEC\uDEF0\uDEF3-\uDEFA\uDFE0-\uDFEB]|\uD83E[\uDD0D-\uDD3A\uDD3C-\uDD45\uDD47-\uDD71\uDD73-\uDD76\uDD7A-\uDDA2\uDDA5-\uDDAA\uDDAE-\uDDCA\uDDCD-\uDDFF\uDE70-\uDE73\uDE78-\uDE7A\uDE80-\uDE82\uDE90-\uDE95])\uFE0F|(?:[\u261D\u26F9\u270A-\u270D]|\uD83C[\uDF85\uDFC2-\uDFC4\uDFC7\uDFCA-\uDFCC]|\uD83D[\uDC42\uDC43\uDC46-\uDC50\uDC66-\uDC78\uDC7C\uDC81-\uDC83\uDC85-\uDC87\uDC8F\uDC91\uDCAA\uDD74\uDD75\uDD7A\uDD90\uDD95\uDD96\uDE45-\uDE47\uDE4B-\uDE4F\uDEA3\uDEB4-\uDEB6\uDEC0\uDECC]|\uD83E[\uDD0F\uDD18-\uDD1F\uDD26\uDD30-\uDD39\uDD3C-\uDD3E\uDDB5\uDDB6\uDDB8\uDDB9\uDDBB\uDDCD-\uDDCF\uDDD1-\uDDDD])/g," ");let t=0;for(let n=0;n=127&&r<=159||r>=768&&r<=879||(r>65535&&n++,t+=Nn(r)?2:1)}return t};var Mn=Pn,Ln=Pn;Mn.default=Ln;var jn=e=>{if("string"!=typeof e)throw new TypeError("Expected a string");return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")},Bn=e=>e[e.length-1];function Rn(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}var $n=Array.isArray||function(e){return"Array"==E(e)},Hn=function(e,t,n){if(rt(e),void 0===t)return e;switch(n){case 0:return function(){return e.call(t)};case 1:return function(n){return e.call(t,n)};case 2:return function(n,r){return e.call(t,n,r)};case 3:return function(n,r,i){return e.call(t,n,r,i)}}return function(){return e.apply(t,arguments)}},Un=function(e,t,n,r,i,o,s,a){for(var u,l=i,c=0,p=!!s&&Hn(s,a,3);c0&&$n(u))l=Un(e,t,u,Be(u.length),l,o-1)-1;else{if(l>=9007199254740991)throw TypeError("Exceed the acceptable array length");e[l]=u}l++}c++}return l},qn=Un,zn=ee("species"),Vn=function(e,t){return new(function(e){var t;return $n(e)&&("function"!=typeof(t=e.constructor)||t!==Array&&!$n(t.prototype)?A(t)&&null===(t=t[zn])&&(t=void 0):t=void 0),void 0===t?Array:t}(e))(0===t?0:t)};nt({target:"Array",proto:!0},{flatMap:function(e){var t,n=V(this),r=Be(n.length);return rt(e),(t=Vn(n,0)).length=qn(t,n,n,r,0,1,e,arguments.length>1?arguments[1]:void 0),t}});var Wn={},Gn=ee("iterator"),Kn=Array.prototype,Yn={};Yn[ee("toStringTag")]="z";var Xn="[object z]"===String(Yn),Jn=ee("toStringTag"),Qn="Arguments"==E(function(){return arguments}()),Zn=Xn?E:function(e){var t,n,r;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=function(e,t){try{return e[t]}catch(e){}}(t=Object(e),Jn))?n:Qn?E(t):"Object"==(r=E(t))&&"function"==typeof t.callee?"Arguments":r},er=ee("iterator"),tr=function(e){if(null!=e)return e[er]||e["@@iterator"]||Wn[Zn(e)]},nr=function(e,t,n){var r,i;le(e);try{if(void 0===(r=e.return)){if("throw"===t)throw n;return n}r=r.call(e)}catch(e){i=!0,r=e}if("throw"===t)throw n;if(i)throw r;return le(r),n},rr=function(e,t){this.stopped=e,this.result=t},ir=function(e,t,n){var r,i,o,s,a,u,l,c,p=n&&n.that,f=!(!n||!n.AS_ENTRIES),h=!(!n||!n.IS_ITERATOR),d=!(!n||!n.INTERRUPTED),m=Hn(t,p,1+f+d),g=function(e){return r&&nr(r,"normal",e),new rr(!0,e)},y=function(e){return f?(le(e),d?m(e[0],e[1],g):m(e[0],e[1])):d?m(e,g):m(e)};if(h)r=e;else{if("function"!=typeof(i=tr(e)))throw TypeError("Target is not iterable");if(void 0!==(c=i)&&(Wn.Array===c||Kn[Gn]===c)){for(o=0,s=Be(e.length);s>o;o++)if((a=y(e[o]))&&a instanceof rr)return a;return new rr(!1)}r=function(e,t){var n=arguments.length<2?tr(e):t;if("function"!=typeof n)throw TypeError(String(e)+" is not iterable");return le(n.call(e))}(e,i)}for(u=r.next;!(l=u.call(r)).done;){try{a=y(l.value)}catch(e){nr(r,"throw",e)}if("object"==typeof a&&a&&a instanceof rr)return a}return new rr(!1)};nt({target:"Object",stat:!0},{fromEntries:function(e){var t={};return ir(e,(function(e,n){!function(e,t,n){var r=re(t);r in e?pe.f(e,r,C(0,n)):e[r]=n}(t,e,n)}),{AS_ENTRIES:!0}),t}});var or=void 0!==or?or:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{};function sr(){throw new Error("setTimeout has not been defined")}function ar(){throw new Error("clearTimeout has not been defined")}var ur=sr,lr=ar;function cr(e){if(ur===setTimeout)return setTimeout(e,0);if((ur===sr||!ur)&&setTimeout)return ur=setTimeout,setTimeout(e,0);try{return ur(e,0)}catch(n){try{return ur.call(null,e,0)}catch(n){return ur.call(this,e,0)}}}"function"==typeof or.setTimeout&&(ur=setTimeout),"function"==typeof or.clearTimeout&&(lr=clearTimeout);var pr,fr=[],hr=!1,dr=-1;function mr(){hr&&pr&&(hr=!1,pr.length?fr=pr.concat(fr):dr=-1,fr.length&&gr())}function gr(){if(!hr){var e=cr(mr);hr=!0;for(var t=fr.length;t;){for(pr=fr,fr=[];++dr1)for(var n=1;nconsole.error("SEMVER",...e):()=>{},Fr={SEMVER_SPEC_VERSION:"2.0.0",MAX_LENGTH:256,MAX_SAFE_INTEGER:Number.MAX_SAFE_INTEGER||9007199254740991,MAX_SAFE_COMPONENT_LENGTH:16},Nr=i((function(e,t){const{MAX_SAFE_COMPONENT_LENGTH:n}=Fr,r=(t=e.exports={}).re=[],i=t.src=[],o=t.t={};let s=0;const a=(e,t,n)=>{const a=s++;Or(a,t),o[e]=a,i[a]=t,r[a]=new RegExp(t,n?"g":void 0)};a("NUMERICIDENTIFIER","0|[1-9]\\d*"),a("NUMERICIDENTIFIERLOOSE","[0-9]+"),a("NONNUMERICIDENTIFIER","\\d*[a-zA-Z-][a-zA-Z0-9-]*"),a("MAINVERSION",`(${i[o.NUMERICIDENTIFIER]})\\.(${i[o.NUMERICIDENTIFIER]})\\.(${i[o.NUMERICIDENTIFIER]})`),a("MAINVERSIONLOOSE",`(${i[o.NUMERICIDENTIFIERLOOSE]})\\.(${i[o.NUMERICIDENTIFIERLOOSE]})\\.(${i[o.NUMERICIDENTIFIERLOOSE]})`),a("PRERELEASEIDENTIFIER",`(?:${i[o.NUMERICIDENTIFIER]}|${i[o.NONNUMERICIDENTIFIER]})`),a("PRERELEASEIDENTIFIERLOOSE",`(?:${i[o.NUMERICIDENTIFIERLOOSE]}|${i[o.NONNUMERICIDENTIFIER]})`),a("PRERELEASE",`(?:-(${i[o.PRERELEASEIDENTIFIER]}(?:\\.${i[o.PRERELEASEIDENTIFIER]})*))`),a("PRERELEASELOOSE",`(?:-?(${i[o.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${i[o.PRERELEASEIDENTIFIERLOOSE]})*))`),a("BUILDIDENTIFIER","[0-9A-Za-z-]+"),a("BUILD",`(?:\\+(${i[o.BUILDIDENTIFIER]}(?:\\.${i[o.BUILDIDENTIFIER]})*))`),a("FULLPLAIN",`v?${i[o.MAINVERSION]}${i[o.PRERELEASE]}?${i[o.BUILD]}?`),a("FULL",`^${i[o.FULLPLAIN]}$`),a("LOOSEPLAIN",`[v=\\s]*${i[o.MAINVERSIONLOOSE]}${i[o.PRERELEASELOOSE]}?${i[o.BUILD]}?`),a("LOOSE",`^${i[o.LOOSEPLAIN]}$`),a("GTLT","((?:<|>)?=?)"),a("XRANGEIDENTIFIERLOOSE",i[o.NUMERICIDENTIFIERLOOSE]+"|x|X|\\*"),a("XRANGEIDENTIFIER",i[o.NUMERICIDENTIFIER]+"|x|X|\\*"),a("XRANGEPLAIN",`[v=\\s]*(${i[o.XRANGEIDENTIFIER]})(?:\\.(${i[o.XRANGEIDENTIFIER]})(?:\\.(${i[o.XRANGEIDENTIFIER]})(?:${i[o.PRERELEASE]})?${i[o.BUILD]}?)?)?`),a("XRANGEPLAINLOOSE",`[v=\\s]*(${i[o.XRANGEIDENTIFIERLOOSE]})(?:\\.(${i[o.XRANGEIDENTIFIERLOOSE]})(?:\\.(${i[o.XRANGEIDENTIFIERLOOSE]})(?:${i[o.PRERELEASELOOSE]})?${i[o.BUILD]}?)?)?`),a("XRANGE",`^${i[o.GTLT]}\\s*${i[o.XRANGEPLAIN]}$`),a("XRANGELOOSE",`^${i[o.GTLT]}\\s*${i[o.XRANGEPLAINLOOSE]}$`),a("COERCE",`(^|[^\\d])(\\d{1,${n}})(?:\\.(\\d{1,${n}}))?(?:\\.(\\d{1,${n}}))?(?:$|[^\\d])`),a("COERCERTL",i[o.COERCE],!0),a("LONETILDE","(?:~>?)"),a("TILDETRIM",`(\\s*)${i[o.LONETILDE]}\\s+`,!0),t.tildeTrimReplace="$1~",a("TILDE",`^${i[o.LONETILDE]}${i[o.XRANGEPLAIN]}$`),a("TILDELOOSE",`^${i[o.LONETILDE]}${i[o.XRANGEPLAINLOOSE]}$`),a("LONECARET","(?:\\^)"),a("CARETTRIM",`(\\s*)${i[o.LONECARET]}\\s+`,!0),t.caretTrimReplace="$1^",a("CARET",`^${i[o.LONECARET]}${i[o.XRANGEPLAIN]}$`),a("CARETLOOSE",`^${i[o.LONECARET]}${i[o.XRANGEPLAINLOOSE]}$`),a("COMPARATORLOOSE",`^${i[o.GTLT]}\\s*(${i[o.LOOSEPLAIN]})$|^$`),a("COMPARATOR",`^${i[o.GTLT]}\\s*(${i[o.FULLPLAIN]})$|^$`),a("COMPARATORTRIM",`(\\s*)${i[o.GTLT]}\\s*(${i[o.LOOSEPLAIN]}|${i[o.XRANGEPLAIN]})`,!0),t.comparatorTrimReplace="$1$2$3",a("HYPHENRANGE",`^\\s*(${i[o.XRANGEPLAIN]})\\s+-\\s+(${i[o.XRANGEPLAIN]})\\s*$`),a("HYPHENRANGELOOSE",`^\\s*(${i[o.XRANGEPLAINLOOSE]})\\s+-\\s+(${i[o.XRANGEPLAINLOOSE]})\\s*$`),a("STAR","(<|>)?=?\\s*\\*"),a("GTE0","^\\s*>=\\s*0.0.0\\s*$"),a("GTE0PRE","^\\s*>=\\s*0.0.0-0\\s*$")}));const Ir=["includePrerelease","loose","rtl"];var Pr=e=>e?"object"!=typeof e?{loose:!0}:Ir.filter(t=>e[t]).reduce((e,t)=>(e[t]=!0,e),{}):{};const Mr=/^[0-9]+$/,Lr=(e,t)=>{const n=Mr.test(e),r=Mr.test(t);return n&&r&&(e=+e,t=+t),e===t?0:n&&!r?-1:r&&!n?1:eLr(t,e)};const{MAX_LENGTH:Br,MAX_SAFE_INTEGER:Rr}=Fr,{re:$r,t:Hr}=Nr,{compareIdentifiers:Ur}=jr;class qr{constructor(e,t){if(t=Pr(t),e instanceof qr){if(e.loose===!!t.loose&&e.includePrerelease===!!t.includePrerelease)return e;e=e.version}else if("string"!=typeof e)throw new TypeError("Invalid Version: "+e);if(e.length>Br)throw new TypeError(`version is longer than ${Br} characters`);Or("SemVer",e,t),this.options=t,this.loose=!!t.loose,this.includePrerelease=!!t.includePrerelease;const n=e.trim().match(t.loose?$r[Hr.LOOSE]:$r[Hr.FULL]);if(!n)throw new TypeError("Invalid Version: "+e);if(this.raw=e,this.major=+n[1],this.minor=+n[2],this.patch=+n[3],this.major>Rr||this.major<0)throw new TypeError("Invalid major version");if(this.minor>Rr||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>Rr||this.patch<0)throw new TypeError("Invalid patch version");n[4]?this.prerelease=n[4].split(".").map(e=>{if(/^[0-9]+$/.test(e)){const t=+e;if(t>=0&&t=0;)"number"==typeof this.prerelease[e]&&(this.prerelease[e]++,e=-2);-1===e&&this.prerelease.push(0)}t&&(this.prerelease[0]===t?isNaN(this.prerelease[1])&&(this.prerelease=[t,0]):this.prerelease=[t,0]);break;default:throw new Error("invalid increment argument: "+e)}return this.format(),this.raw=this.version,this}}var zr=qr,Vr=(e,t,n)=>new zr(e,n).compare(new zr(t,n)),Wr=(e,t,n)=>Vr(e,t,n)<0,Gr=(e,t,n)=>Vr(e,t,n)>=0,Kr=i((function(e,t){function n(){for(var e=[],t=0;t"string"==typeof e||"function"==typeof e,choices:[{value:"flow",description:"Flow"},{value:"babel",since:"1.16.0",description:"JavaScript"},{value:"babel-flow",since:"1.16.0",description:"Flow"},{value:"babel-ts",since:"2.0.0",description:"TypeScript"},{value:"typescript",since:"1.4.0",description:"TypeScript"},{value:"espree",since:"2.2.0",description:"JavaScript"},{value:"meriyah",since:"2.2.0",description:"JavaScript"},{value:"css",since:"1.7.1",description:"CSS"},{value:"less",since:"1.7.1",description:"Less"},{value:"scss",since:"1.7.1",description:"SCSS"},{value:"json",since:"1.5.0",description:"JSON"},{value:"json5",since:"1.13.0",description:"JSON5"},{value:"json-stringify",since:"1.13.0",description:"JSON.stringify"},{value:"graphql",since:"1.5.0",description:"GraphQL"},{value:"markdown",since:"1.8.0",description:"Markdown"},{value:"mdx",since:"1.15.0",description:"MDX"},{value:"vue",since:"1.10.0",description:"Vue"},{value:"yaml",since:"1.14.0",description:"YAML"},{value:"glimmer",since:"2.3.0",description:"Ember / Handlebars"},{value:"html",since:"1.15.0",description:"HTML"},{value:"angular",since:"1.15.0",description:"Angular"},{value:"lwc",since:"1.17.0",description:"Lightning Web Components"}]},plugins:{since:"1.10.0",type:"path",array:!0,default:[{value:[]}],category:Zr,description:"Add a plugin. Multiple plugins can be passed as separate `--plugin`s.",exception:e=>"string"==typeof e||"object"==typeof e,cliName:"plugin",cliCategory:Xr},pluginSearchDirs:{since:"1.13.0",type:"path",array:!0,default:[{value:[]}],category:Zr,description:Yr` Custom directory that contains prettier plugins in node_modules subdirectory. Overrides default behavior when plugins are searched relatively to the location of Prettier. Multiple values are accepted. `,exception:e=>"string"==typeof e||"object"==typeof e,cliName:"plugin-search-dir",cliCategory:Xr},printWidth:{since:"0.0.0",category:Zr,type:"int",default:80,description:"The line length where Prettier will try wrap.",range:{start:0,end:Number.POSITIVE_INFINITY,step:1}},rangeEnd:{since:"1.4.0",category:ei,type:"int",default:Number.POSITIVE_INFINITY,range:{start:0,end:Number.POSITIVE_INFINITY,step:1},description:Yr` Format code ending at a given character offset (exclusive). The range will extend forwards to the end of the selected statement. This option cannot be used with --cursor-offset. `,cliCategory:Jr},rangeStart:{since:"1.4.0",category:ei,type:"int",default:0,range:{start:0,end:Number.POSITIVE_INFINITY,step:1},description:Yr` Format code starting at a given character offset. The range will extend backwards to the start of the first line containing the selected statement. This option cannot be used with --cursor-offset. `,cliCategory:Jr},requirePragma:{since:"1.7.0",category:ei,type:"boolean",default:!1,description:Yr` Require either '@prettier' or '@format' to be present in the file's first docblock comment in order for it to be formatted. `,cliCategory:Qr},tabWidth:{type:"int",category:Zr,default:2,description:"Number of spaces per indentation level.",range:{start:0,end:Number.POSITIVE_INFINITY,step:1}},useTabs:{since:"1.0.0",category:Zr,type:"boolean",default:!1,description:"Indent with tabs instead of spaces."},embeddedLanguageFormatting:{since:"2.1.0",category:Zr,type:"choice",default:[{since:"2.1.0",value:"auto"}],description:"Control how Prettier formats quoted code embedded in the file.",choices:[{value:"auto",description:"Format embedded code if Prettier can automatically identify it."},{value:"off",description:"Never automatically format embedded code."}]}},ni=["cliName","cliCategory","cliDescription"],ri={compare:Vr,lt:Wr,gte:Gr},ii=e.version,oi={CATEGORY_CONFIG:Xr,CATEGORY_EDITOR:Jr,CATEGORY_FORMAT:"Format",CATEGORY_OTHER:Qr,CATEGORY_OUTPUT:"Output",CATEGORY_GLOBAL:Zr,CATEGORY_SPECIAL:ei,options:ti}.options;var si={getSupportInfo:function({plugins:e=[],showUnreleased:t=!1,showDeprecated:n=!1,showInternal:r=!1}={}){const i=ii.split("-",1)[0],o=e.flatMap(e=>e.languages||[]).filter(a),s=((e,t)=>Object.entries(e).map(([e,n])=>Object.assign({[t]:e},n)))(Object.assign({},...e.map(({options:e})=>e),oi),"name").filter(e=>a(e)&&u(e)).sort((e,t)=>e.name===t.name?0:e.name{t=Object.assign({},t),Array.isArray(t.default)&&(t.default=1===t.default.length?t.default[0].value:t.default.filter(a).sort((e,t)=>ri.compare(t.since,e.since))[0].value),Array.isArray(t.choices)&&(t.choices=t.choices.filter(e=>a(e)&&u(e)),"parser"===t.name&&function(e,t,n){const r=new Set(e.choices.map(e=>e.value));for(const i of t)if(i.parsers)for(const t of i.parsers)if(!r.has(t)){r.add(t);const o=n.find(e=>e.parsers&&e.parsers[t]);let s=i.name;o&&o.name&&(s+=` (plugin: ${o.name})`),e.choices.push({value:t,description:s})}}(t,o,e));const n=Object.fromEntries(e.filter(e=>e.defaultOptions&&void 0!==e.defaultOptions[t.name]).map(e=>[e.name,e.defaultOptions[t.name]]));return Object.assign(Object.assign({},t),{},{pluginDefaults:n})});return{languages:o,options:s};function a(e){return t||!("since"in e)||e.since&&ri.gte(i,e.since)}function u(e){return n||!("deprecated"in e)||e.deprecated&&ri.lt(i,e.deprecated)}}};const{getSupportInfo:ai}=si,ui=/[^\x20-\x7F]/;function li(e){return(t,n,r)=>{const i=r&&r.backwards;if(!1===n)return!1;const{length:o}=t;let s=n;for(;s>=0&&s(n.match(s.regex)||[]).length?s.quote:o.quote),a}function xi(e,t,n){const r='"'===t?"'":'"',i=e.replace(/\\(.)|(["'])/gs,(e,i,o)=>i===r?i:o===t?"\\"+o:o||(n&&/^[^\n\r"'0-7\\bfnrt-vx\u2028\u2029]$/.test(i)?i:"\\"+i));return t+i+t}function Ei(e,t){(e.comments||(e.comments=[])).push(t),t.printed=!1,t.nodeDescription=function(e){const t=e.type||e.kind||"(unknown type)";let n=String(e.name||e.id&&("object"==typeof e.id?e.id.name:e.id)||e.key&&("object"==typeof e.key?e.key.name:e.key)||e.value&&("object"==typeof e.value?"":String(e.value))||e.operator||"");return n.length>20&&(n=n.slice(0,19)+"…"),t+(n?" "+n:"")}(e)}var _i={inferParserByLanguage:function(e,t){const{languages:n}=ai({plugins:t.plugins}),r=n.find(({name:t})=>t.toLowerCase()===e)||n.find(({aliases:t})=>Array.isArray(t)&&t.includes(e))||n.find(({extensions:t})=>Array.isArray(t)&&t.includes("."+e));return r&&r.parsers[0]},getStringWidth:function(e){return e?ui.test(e)?Mn(e):e.length:0},getMaxContinuousCount:function(e,t){const n=e.match(new RegExp(`(${jn(t)})+`,"g"));return null===n?0:n.reduce((e,n)=>Math.max(e,n.length/t.length),0)},getMinNotPresentContinuousCount:function(e,t){const n=e.match(new RegExp(`(${jn(t)})+`,"g"));if(null===n)return 0;const r=new Map;let i=0;for(const o of n){const e=o.length/t.length;r.set(e,!0),e>i&&(i=e)}for(let o=1;oe[e.length-2],getLast:Bn,getNextNonSpaceNonCommentCharacterIndexWithStartIndex:bi,getNextNonSpaceNonCommentCharacterIndex:Di,getNextNonSpaceNonCommentCharacter:function(e,t,n){return e.charAt(Di(e,t,n))},skip:li,skipWhitespace:ci,skipSpaces:pi,skipToLineEnd:fi,skipEverythingButNewLine:hi,skipInlineComment:di,skipTrailingComment:mi,skipNewline:gi,isNextLineEmptyAfterIndex:vi,isNextLineEmpty:function(e,t,n){return vi(e,n(t))},isPreviousLineEmpty:function(e,t,n){let r=n(t)-1;return r=pi(e,r,{backwards:!0}),r=gi(e,r,{backwards:!0}),r=pi(e,r,{backwards:!0}),r!==gi(e,r,{backwards:!0})},hasNewline:yi,hasNewlineInRange:function(e,t,n){for(let r=t;r0},createGroupIdMapper:function(e){const t=new WeakMap;return function(n){return t.has(n)||t.set(n,Symbol(e)),t.get(n)}}},ki={guessEndOfLine:function(e){const t=e.indexOf("\r");return t>=0?"\n"===e.charAt(t+1)?"crlf":"cr":"lf"},convertEndOfLineToChars:function(e){switch(e){case"cr":return"\r";case"crlf":return"\r\n";default:return"\n"}},countEndOfLineChars:function(e,t){let n;if("\n"===t)n=/\n/g;else if("\r"===t)n=/\r/g;else{if("\r\n"!==t)throw new Error(`Unexpected "eol" ${JSON.stringify(t)}.`);n=/\r\n/g}const r=e.match(n);return r?r.length:0},normalizeEndOfLine:function(e){return e.replace(/\r\n?/g,"\n")}};const{literalline:Ti,join:Si}=An,Ai=e=>Array.isArray(e)||e&&"concat"===e.type,Oi=e=>{if(Array.isArray(e))return e;if("concat"!==e.type&&"fill"!==e.type)throw new Error("Expect doc type to be `concat` or `fill`.");return e.parts},Fi={};function Ni(e,t,n,r){const i=[e];for(;i.length>0;){const e=i.pop();if(e!==Fi){if(n&&i.push(e,Fi),!t||!1!==t(e))if(Ai(e)||"fill"===e.type){const t=Oi(e);for(let e=t.length-1;e>=0;--e)i.push(t[e])}else if("if-break"===e.type)e.flatContents&&i.push(e.flatContents),e.breakContents&&i.push(e.breakContents);else if("group"===e.type&&e.expandedStates)if(r)for(let t=e.expandedStates.length-1;t>=0;--t)i.push(e.expandedStates[t]);else i.push(e.contents);else e.contents&&i.push(e.contents)}else n(i.pop())}}function Ii(e,t){const n=new Map;return r(e);function r(e){if(n.has(e))return n.get(e);const i=function(e){if(Array.isArray(e))return t(e.map(r));if("concat"===e.type||"fill"===e.type){const n=e.parts.map(r);return t(Object.assign(Object.assign({},e),{},{parts:n}))}if("if-break"===e.type){const n=e.breakContents&&r(e.breakContents),i=e.flatContents&&r(e.flatContents);return t(Object.assign(Object.assign({},e),{},{breakContents:n,flatContents:i}))}if("group"===e.type&&e.expandedStates){const n=e.expandedStates.map(r),i=n[0];return t(Object.assign(Object.assign({},e),{},{contents:i,expandedStates:n}))}if(e.contents){const n=r(e.contents);return t(Object.assign(Object.assign({},e),{},{contents:n}))}return t(e)}(e);return n.set(e,i),i}}function Pi(e,t,n){let r=n,i=!1;return Ni(e,(function(e){const n=t(e);if(void 0!==n&&(i=!0,r=n),i)return!1})),r}function Mi(e){return!("group"!==e.type||!e.break)||!("line"!==e.type||!e.hard)||"break-parent"===e.type||void 0}function Li(e){if(e.length>0){const t=Bn(e);t.expandedStates||t.break||(t.break="propagated")}return null}function ji(e){return"line"!==e.type||e.hard?"if-break"===e.type?e.flatContents||"":e:e.soft?"":" "}const Bi=(e,t)=>e&&"line"===e.type&&e.hard&&t&&"break-parent"===t.type;function Ri(e){if(!e)return e;if(Ai(e)||"fill"===e.type){const t=Oi(e);for(;t.length>1&&Bi(...t.slice(-2));)t.length-=2;if(t.length>0){const e=Ri(Bn(t));t[t.length-1]=e}return Array.isArray(e)?t:Object.assign(Object.assign({},e),{},{parts:t})}switch(e.type){case"align":case"indent":case"indent-if-break":case"group":case"line-suffix":case"label":{const t=Ri(e.contents);return Object.assign(Object.assign({},e),{},{contents:t})}case"if-break":{const t=Ri(e.breakContents),n=Ri(e.flatContents);return Object.assign(Object.assign({},e),{},{breakContents:t,flatContents:n})}}return e}function $i(e){return Ii(e,e=>function(e){switch(e.type){case"fill":if(0===e.parts.length||e.parts.every(e=>""===e))return"";break;case"group":if(!(e.contents||e.id||e.break||e.expandedStates))return"";if("group"===e.contents.type&&e.contents.id===e.id&&e.contents.break===e.break&&e.contents.expandedStates===e.expandedStates)return e.contents;break;case"align":case"indent":case"indent-if-break":case"line-suffix":if(!e.contents)return"";break;case"if-break":if(!e.flatContents&&!e.breakContents)return""}if(!Ai(e))return e;const t=[];for(const n of Oi(e)){if(!n)continue;const[e,...r]=Ai(n)?Oi(n):[n];"string"==typeof e&&"string"==typeof Bn(t)?t[t.length-1]+=e:t.push(e),t.push(...r)}return 0===t.length?"":1===t.length?t[0]:Array.isArray(e)?t:Object.assign(Object.assign({},e),{},{parts:t})}(e))}function Hi(e){const t=[],n=e.filter(Boolean);for(;n.length>0;){const e=n.shift();e&&(Ai(e)?n.unshift(...Oi(e)):t.length>0&&"string"==typeof Bn(t)&&"string"==typeof e?t[t.length-1]+=e:t.push(e))}return t}function Ui(e,t=Ti){return Si(t,e.split("\n")).parts}var qi={isConcat:Ai,getDocParts:Oi,willBreak:function(e){return Pi(e,Mi,!1)},traverseDoc:Ni,findInDoc:Pi,mapDoc:Ii,propagateBreaks:function(e){const t=new Set,n=[];Ni(e,(function(e){if("break-parent"===e.type&&Li(n),"group"===e.type){if(n.push(e),t.has(e))return!1;t.add(e)}}),(function(e){"group"===e.type&&n.pop().break&&Li(n)}),!0)},removeLines:function(e){return Ii(e,ji)},stripTrailingHardline:function(e){return Ri($i(e))},normalizeParts:Hi,normalizeDoc:function(e){return Ii(e,e=>Array.isArray(e)?Hi(e):e.parts?Object.assign(Object.assign({},e),{},{parts:Hi(e.parts)}):e)},cleanDoc:$i,replaceTextEndOfLine:Ui,replaceEndOfLine:function(e){return Ii(e,e=>"string"==typeof e&&e.includes("\n")?Ui(e):e)}};const{getStringWidth:zi,getLast:Vi}=_i,{convertEndOfLineToChars:Wi}=ki,{fill:Gi,cursor:Ki,indent:Yi}=An,{isConcat:Xi,getDocParts:Ji}=qi;let Qi;function Zi(e,t){return to(e,{type:"indent"},t)}function eo(e,t,n){return t===Number.NEGATIVE_INFINITY?e.root||{value:"",length:0,queue:[]}:t<0?to(e,{type:"dedent"},n):t?"root"===t.type?Object.assign(Object.assign({},e),{},{root:e}):to(e,{type:"string"==typeof t?"stringAlign":"numberAlign",n:t},n):e}function to(e,t,n){const r="dedent"===t.type?e.queue.slice(0,-1):[...e.queue,t];let i="",o=0,s=0,a=0;for(const h of r)switch(h.type){case"indent":c(),n.useTabs?u(1):l(n.tabWidth);break;case"stringAlign":c(),i+=h.n,o+=h.n.length;break;case"numberAlign":s+=1,a+=h.n;break;default:throw new Error(`Unexpected type '${h.type}'`)}return p(),Object.assign(Object.assign({},e),{},{value:i,length:o,queue:r});function u(e){i+="\t".repeat(e),o+=n.tabWidth*e}function l(e){i+=" ".repeat(e),o+=e}function c(){n.useTabs?function(){s>0&&u(s),f()}():p()}function p(){a>0&&l(a),f()}function f(){s=0,a=0}}function no(e){if(0===e.length)return 0;let t=0;for(;e.length>0&&"string"==typeof Vi(e)&&/^[\t ]*$/.test(Vi(e));)t+=e.pop().length;if(e.length>0&&"string"==typeof Vi(e)){const n=Vi(e).replace(/[\t ]*$/,"");t+=Vi(e).length-n.length,e[e.length-1]=n}return t}function ro(e,t,n,r,i,o){let s=t.length;const a=[e],u=[];for(;n>=0;){if(0===a.length){if(0===s)return!0;a.push(t[s-1]),s--;continue}const[e,l,c]=a.pop();if("string"==typeof c)u.push(c),n-=zi(c);else if(Xi(c)){const t=Ji(c);for(let n=t.length-1;n>=0;n--)a.push([e,l,t[n]])}else switch(c.type){case"indent":a.push([Zi(e,r),l,c.contents]);break;case"align":a.push([eo(e,c.n,r),l,c.contents]);break;case"trim":n+=no(u);break;case"group":{if(o&&c.break)return!1;const t=c.break?1:l;a.push([e,t,c.expandedStates&&1===t?Vi(c.expandedStates):c.contents]),c.id&&(Qi[c.id]=t);break}case"fill":for(let t=c.parts.length-1;t>=0;t--)a.push([e,l,c.parts[t]]);break;case"if-break":case"indent-if-break":{const t=c.groupId?Qi[c.groupId]:l;if(1===t){const t="if-break"===c.type?c.breakContents:c.negate?c.contents:Yi(c.contents);t&&a.push([e,l,t])}if(2===t){const t="if-break"===c.type?c.flatContents:c.negate?Yi(c.contents):c.contents;t&&a.push([e,l,t])}break}case"line":switch(l){case 2:if(!c.hard){c.soft||(u.push(" "),n-=1);break}return!0;case 1:return!0}break;case"line-suffix":i=!0;break;case"line-suffix-boundary":if(i)return!1;break;case"label":a.push([e,l,c.contents])}}return!1}var io={printDocToString:function(e,t){Qi={};const n=t.printWidth,r=Wi(t.endOfLine);let i=0;const o=[[{value:"",length:0,queue:[]},1,e]],s=[];let a=!1,u=[];for(;o.length>0;){const[e,l,c]=o.pop();if("string"==typeof c){const e="\n"!==r?c.replace(/\n/g,r):c;s.push(e),i+=zi(e)}else if(Xi(c)){const t=Ji(c);for(let n=t.length-1;n>=0;n--)o.push([e,l,t[n]])}else switch(c.type){case"cursor":s.push(Ki.placeholder);break;case"indent":o.push([Zi(e,t),l,c.contents]);break;case"align":o.push([eo(e,c.n,t),l,c.contents]);break;case"trim":i-=no(s);break;case"group":switch(l){case 2:if(!a){o.push([e,c.break?1:2,c.contents]);break}case 1:{a=!1;const r=[e,2,c.contents],s=n-i,l=u.length>0;if(!c.break&&ro(r,o,s,t,l))o.push(r);else if(c.expandedStates){const n=Vi(c.expandedStates);if(c.break){o.push([e,1,n]);break}for(let r=1;r=c.expandedStates.length){o.push([e,1,n]);break}{const n=[e,2,c.expandedStates[r]];if(ro(n,o,s,t,l)){o.push(n);break}}}}else o.push([e,1,c.contents]);break}}c.id&&(Qi[c.id]=Vi(o)[1]);break;case"fill":{const r=n-i,{parts:s}=c;if(0===s.length)break;const[a,p]=s,f=[e,2,a],h=[e,1,a],d=ro(f,[],r,t,u.length>0,!0);if(1===s.length){d?o.push(f):o.push(h);break}const m=[e,2,p],g=[e,1,p];if(2===s.length){d?o.push(m,f):o.push(g,h);break}s.splice(0,2);const y=[e,l,Gi(s)];ro([e,2,[a,p,s[0]]],[],r,t,u.length>0,!0)?o.push(y,m,f):d?o.push(y,g,f):o.push(y,g,h);break}case"if-break":case"indent-if-break":{const t=c.groupId?Qi[c.groupId]:l;if(1===t){const t="if-break"===c.type?c.breakContents:c.negate?c.contents:Yi(c.contents);t&&o.push([e,l,t])}if(2===t){const t="if-break"===c.type?c.flatContents:c.negate?Yi(c.contents):c.contents;t&&o.push([e,l,t])}break}case"line-suffix":u.push([e,l,c.contents]);break;case"line-suffix-boundary":u.length>0&&o.push([e,l,{type:"line",hard:!0}]);break;case"line":switch(l){case 2:if(!c.hard){c.soft||(s.push(" "),i+=1);break}a=!0;case 1:if(u.length>0){o.push([e,l,c],...u.reverse()),u=[];break}c.literal?e.root?(s.push(r,e.root.value),i=e.root.length):(s.push(r),i=0):(i-=no(s),s.push(r+e.value),i=e.length)}break;case"label":o.push([e,l,c.contents])}0===o.length&&u.length>0&&(o.push(...u.reverse()),u=[])}const l=s.indexOf(Ki.placeholder);if(-1!==l){const e=s.indexOf(Ki.placeholder,l+1),t=s.slice(0,l).join(""),n=s.slice(l+1,e).join("");return{formatted:t+n+s.slice(e+1).join(""),cursorNodeStart:t.length,cursorNodeText:n}}return{formatted:s.join("")}}};const{isConcat:oo,getDocParts:so}=qi;function ao(e){if(!e)return"";if(oo(e)){const t=[];for(const n of so(e))if(oo(n))t.push(...ao(n).parts);else{const e=ao(n);""!==e&&t.push(e)}return{type:"concat",parts:t}}return"if-break"===e.type?Object.assign(Object.assign({},e),{},{breakContents:ao(e.breakContents),flatContents:ao(e.flatContents)}):"group"===e.type?Object.assign(Object.assign({},e),{},{contents:ao(e.contents),expandedStates:e.expandedStates&&e.expandedStates.map(ao)}):"fill"===e.type?{type:"fill",parts:e.parts.map(ao)}:e.contents?Object.assign(Object.assign({},e),{},{contents:ao(e.contents)}):e}var uo={builders:An,printer:io,utils:qi,debug:{printDocToDebug:function(e){const t=Object.create(null),n=new Set;return function e(t,n,i){if("string"==typeof t)return JSON.stringify(t);if(oo(t)){const n=so(t).map(e).filter(Boolean);return 1===n.length?n[0]:`[${n.join(", ")}]`}if("line"===t.type){const e=Array.isArray(i)&&i[n+1]&&"break-parent"===i[n+1].type;return t.literal?e?"literalline":"literallineWithoutBreakParent":t.hard?e?"hardline":"hardlineWithoutBreakParent":t.soft?"softline":"line"}if("break-parent"===t.type)return Array.isArray(i)&&i[n-1]&&"line"===i[n-1].type&&i[n-1].hard?void 0:"breakParent";if("trim"===t.type)return"trim";if("indent"===t.type)return"indent("+e(t.contents)+")";if("align"===t.type)return t.n===Number.NEGATIVE_INFINITY?"dedentToRoot("+e(t.contents)+")":t.n<0?"dedent("+e(t.contents)+")":"root"===t.n.type?"markAsRoot("+e(t.contents)+")":"align("+JSON.stringify(t.n)+", "+e(t.contents)+")";if("if-break"===t.type)return"ifBreak("+e(t.breakContents)+(t.flatContents?", "+e(t.flatContents):"")+(t.groupId?(t.flatContents?"":', ""')+`, { groupId: ${r(t.groupId)} }`:"")+")";if("indent-if-break"===t.type){const n=[];t.negate&&n.push("negate: true"),t.groupId&&n.push("groupId: "+r(t.groupId));const i=n.length>0?`, { ${n.join(", ")} }`:"";return`indentIfBreak(${e(t.contents)}${i})`}if("group"===t.type){const n=[];t.break&&"propagated"!==t.break&&n.push("shouldBreak: true"),t.id&&n.push("id: "+r(t.id));const i=n.length>0?`, { ${n.join(", ")} }`:"";return t.expandedStates?`conditionalGroup([${t.expandedStates.map(t=>e(t)).join(",")}]${i})`:`group(${e(t.contents)}${i})`}if("fill"===t.type)return`fill([${t.parts.map(t=>e(t)).join(", ")}])`;if("line-suffix"===t.type)return"lineSuffix("+e(t.contents)+")";if("line-suffix-boundary"===t.type)return"lineSuffixBoundary";if("label"===t.type)return`label(${JSON.stringify(t.label)}, ${e(t.contents)})`;throw new Error("Unknown doc type "+t.type)}(ao(e));function r(e){if("symbol"!=typeof e)return JSON.stringify(String(e));if(e in t)return t[e];const r=String(e).slice(7,-1)||"symbol";for(let i=0;;i++){const o=r+(i>0?" #"+i:"");if(!n.has(o))return n.add(o),t[e]=`Symbol.for(${JSON.stringify(o)})`}}}}},lo=Object.freeze({__proto__:null,default:{}});function co(e,t){for(var n=0,r=e.length-1;r>=0;r--){var i=e[r];"."===i?e.splice(r,1):".."===i?(e.splice(r,1),n++):n&&(e.splice(r,1),n--)}if(t)for(;n--;n)e.unshift("..");return e}var po=/^(\/?|)([\s\S]*?)((?:\.{1,2}|[^\/]+?|)(\.[^.\/]*|))(?:[\/]*)$/,fo=function(e){return po.exec(e).slice(1)};function ho(){for(var e="",t=!1,n=arguments.length-1;n>=-1&&!t;n--){var r=n>=0?arguments[n]:"/";if("string"!=typeof r)throw new TypeError("Arguments to path.resolve must be strings");r&&(e=r+"/"+e,t="/"===r.charAt(0))}return(t?"/":"")+(e=co(xo(e.split("/"),(function(e){return!!e})),!t).join("/"))||"."}function mo(e){var t=go(e),n="/"===Eo(e,-1);return(e=co(xo(e.split("/"),(function(e){return!!e})),!t).join("/"))||t||(e="."),e&&n&&(e+="/"),(t?"/":"")+e}function go(e){return"/"===e.charAt(0)}function yo(){var e=Array.prototype.slice.call(arguments,0);return mo(xo(e,(function(e,t){if("string"!=typeof e)throw new TypeError("Arguments to path.join must be strings");return e})).join("/"))}function vo(e,t){function n(e){for(var t=0;t=0&&""===e[n];n--);return t>n?[]:e.slice(t,n-t+1)}e=ho(e).substr(1),t=ho(t).substr(1);for(var r=n(e.split("/")),i=n(t.split("/")),o=Math.min(r.length,i.length),s=o,a=0;a>18&63]+ko[i>>12&63]+ko[i>>6&63]+ko[63&i]);return o.join("")}function No(e){var t;Ao||Oo();for(var n=e.length,r=n%3,i="",o=[],s=16383,a=0,u=n-r;au?u:a+s));return 1===r?(t=e[n-1],i+=ko[t>>2],i+=ko[t<<4&63],i+="=="):2===r&&(t=(e[n-2]<<8)+e[n-1],i+=ko[t>>10],i+=ko[t>>4&63],i+=ko[t<<2&63],i+="="),o.push(i),o.join("")}function Io(e,t,n,r,i){var o,s,a=8*i-r-1,u=(1<>1,c=-7,p=n?i-1:0,f=n?-1:1,h=e[t+p];for(p+=f,o=h&(1<<-c)-1,h>>=-c,c+=a;c>0;o=256*o+e[t+p],p+=f,c-=8);for(s=o&(1<<-c)-1,o>>=-c,c+=r;c>0;s=256*s+e[t+p],p+=f,c-=8);if(0===o)o=1-l;else{if(o===u)return s?NaN:1/0*(h?-1:1);s+=Math.pow(2,r),o-=l}return(h?-1:1)*s*Math.pow(2,o-r)}function Po(e,t,n,r,i,o){var s,a,u,l=8*o-i-1,c=(1<>1,f=23===i?Math.pow(2,-24)-Math.pow(2,-77):0,h=r?0:o-1,d=r?1:-1,m=t<0||0===t&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(a=isNaN(t)?1:0,s=c):(s=Math.floor(Math.log(t)/Math.LN2),t*(u=Math.pow(2,-s))<1&&(s--,u*=2),(t+=s+p>=1?f/u:f*Math.pow(2,1-p))*u>=2&&(s++,u/=2),s+p>=c?(a=0,s=c):s+p>=1?(a=(t*u-1)*Math.pow(2,i),s+=p):(a=t*Math.pow(2,p-1)*Math.pow(2,i),s=0));i>=8;e[n+h]=255&a,h+=d,a/=256,i-=8);for(s=s<0;e[n+h]=255&s,h+=d,s/=256,l-=8);e[n+h-d]|=128*m}var Mo={}.toString,Lo=Array.isArray||function(e){return"[object Array]"==Mo.call(e)};function jo(){return Ro.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function Bo(e,t){if(jo()=jo())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+jo().toString(16)+" bytes");return 0|e}function Vo(e){return!(null==e||!e._isBuffer)}function Wo(e,t){if(Vo(e))return e.length;if("undefined"!=typeof ArrayBuffer&&"function"==typeof ArrayBuffer.isView&&(ArrayBuffer.isView(e)||e instanceof ArrayBuffer))return e.byteLength;"string"!=typeof e&&(e=""+e);var n=e.length;if(0===n)return 0;for(var r=!1;;)switch(t){case"ascii":case"latin1":case"binary":return n;case"utf8":case"utf-8":case void 0:return bs(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*n;case"hex":return n>>>1;case"base64":return Ds(e).length;default:if(r)return bs(e).length;t=(""+t).toLowerCase(),r=!0}}function Go(e,t,n){var r=!1;if((void 0===t||t<0)&&(t=0),t>this.length)return"";if((void 0===n||n>this.length)&&(n=this.length),n<=0)return"";if((n>>>=0)<=(t>>>=0))return"";for(e||(e="utf8");;)switch(e){case"hex":return us(this,t,n);case"utf8":case"utf-8":return is(this,t,n);case"ascii":return ss(this,t,n);case"latin1":case"binary":return as(this,t,n);case"base64":return rs(this,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return ls(this,t,n);default:if(r)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),r=!0}}function Ko(e,t,n){var r=e[t];e[t]=e[n],e[n]=r}function Yo(e,t,n,r,i){if(0===e.length)return-1;if("string"==typeof n?(r=n,n=0):n>2147483647?n=2147483647:n<-2147483648&&(n=-2147483648),n=+n,isNaN(n)&&(n=i?0:e.length-1),n<0&&(n=e.length+n),n>=e.length){if(i)return-1;n=e.length-1}else if(n<0){if(!i)return-1;n=0}if("string"==typeof t&&(t=Ro.from(t,r)),Vo(t))return 0===t.length?-1:Xo(e,t,n,r,i);if("number"==typeof t)return t&=255,Ro.TYPED_ARRAY_SUPPORT&&"function"==typeof Uint8Array.prototype.indexOf?i?Uint8Array.prototype.indexOf.call(e,t,n):Uint8Array.prototype.lastIndexOf.call(e,t,n):Xo(e,[t],n,r,i);throw new TypeError("val must be string, number or Buffer")}function Xo(e,t,n,r,i){var o,s=1,a=e.length,u=t.length;if(void 0!==r&&("ucs2"===(r=String(r).toLowerCase())||"ucs-2"===r||"utf16le"===r||"utf-16le"===r)){if(e.length<2||t.length<2)return-1;s=2,a/=2,u/=2,n/=2}function l(e,t){return 1===s?e[t]:e.readUInt16BE(t*s)}if(i){var c=-1;for(o=n;oa&&(n=a-u),o=n;o>=0;o--){for(var p=!0,f=0;fi&&(r=i):r=i;var o=t.length;if(o%2!=0)throw new TypeError("Invalid hex string");r>o/2&&(r=o/2);for(var s=0;s>8,i=n%256,o.push(i),o.push(r);return o}(t,e.length-n),e,n,r)}function rs(e,t,n){return 0===t&&n===e.length?No(e):No(e.slice(t,n))}function is(e,t,n){n=Math.min(e.length,n);for(var r=[],i=t;i239?4:l>223?3:l>191?2:1;if(i+p<=n)switch(p){case 1:l<128&&(c=l);break;case 2:128==(192&(o=e[i+1]))&&(u=(31&l)<<6|63&o)>127&&(c=u);break;case 3:o=e[i+1],s=e[i+2],128==(192&o)&&128==(192&s)&&(u=(15&l)<<12|(63&o)<<6|63&s)>2047&&(u<55296||u>57343)&&(c=u);break;case 4:o=e[i+1],s=e[i+2],a=e[i+3],128==(192&o)&&128==(192&s)&&128==(192&a)&&(u=(15&l)<<18|(63&o)<<12|(63&s)<<6|63&a)>65535&&u<1114112&&(c=u)}null===c?(c=65533,p=1):c>65535&&(c-=65536,r.push(c>>>10&1023|55296),c=56320|1023&c),r.push(c),i+=p}return function(e){var t=e.length;if(t<=os)return String.fromCharCode.apply(String,e);for(var n="",r=0;r0&&(e=this.toString("hex",0,50).match(/.{2}/g).join(" "),this.length>50&&(e+=" ... ")),""},Ro.prototype.compare=function(e,t,n,r,i){if(!Vo(e))throw new TypeError("Argument must be a Buffer");if(void 0===t&&(t=0),void 0===n&&(n=e?e.length:0),void 0===r&&(r=0),void 0===i&&(i=this.length),t<0||n>e.length||r<0||i>this.length)throw new RangeError("out of range index");if(r>=i&&t>=n)return 0;if(r>=i)return-1;if(t>=n)return 1;if(this===e)return 0;for(var o=(i>>>=0)-(r>>>=0),s=(n>>>=0)-(t>>>=0),a=Math.min(o,s),u=this.slice(r,i),l=e.slice(t,n),c=0;ci)&&(n=i),e.length>0&&(n<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");r||(r="utf8");for(var o=!1;;)switch(r){case"hex":return Jo(this,e,t,n);case"utf8":case"utf-8":return Qo(this,e,t,n);case"ascii":return Zo(this,e,t,n);case"latin1":case"binary":return es(this,e,t,n);case"base64":return ts(this,e,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return ns(this,e,t,n);default:if(o)throw new TypeError("Unknown encoding: "+r);r=(""+r).toLowerCase(),o=!0}},Ro.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var os=4096;function ss(e,t,n){var r="";n=Math.min(e.length,n);for(var i=t;ir)&&(n=r);for(var i="",o=t;on)throw new RangeError("Trying to access beyond buffer length")}function ps(e,t,n,r,i,o){if(!Vo(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(t>i||te.length)throw new RangeError("Index out of range")}function fs(e,t,n,r){t<0&&(t=65535+t+1);for(var i=0,o=Math.min(e.length-n,2);i>>8*(r?i:1-i)}function hs(e,t,n,r){t<0&&(t=4294967295+t+1);for(var i=0,o=Math.min(e.length-n,4);i>>8*(r?i:3-i)&255}function ds(e,t,n,r,i,o){if(n+r>e.length)throw new RangeError("Index out of range");if(n<0)throw new RangeError("Index out of range")}function ms(e,t,n,r,i){return i||ds(e,0,n,4),Po(e,t,n,r,23,4),n+4}function gs(e,t,n,r,i){return i||ds(e,0,n,8),Po(e,t,n,r,52,8),n+8}Ro.prototype.slice=function(e,t){var n,r=this.length;if((e=~~e)<0?(e+=r)<0&&(e=0):e>r&&(e=r),(t=void 0===t?r:~~t)<0?(t+=r)<0&&(t=0):t>r&&(t=r),t0&&(i*=256);)r+=this[e+--t]*i;return r},Ro.prototype.readUInt8=function(e,t){return t||cs(e,1,this.length),this[e]},Ro.prototype.readUInt16LE=function(e,t){return t||cs(e,2,this.length),this[e]|this[e+1]<<8},Ro.prototype.readUInt16BE=function(e,t){return t||cs(e,2,this.length),this[e]<<8|this[e+1]},Ro.prototype.readUInt32LE=function(e,t){return t||cs(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},Ro.prototype.readUInt32BE=function(e,t){return t||cs(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},Ro.prototype.readIntLE=function(e,t,n){e|=0,t|=0,n||cs(e,t,this.length);for(var r=this[e],i=1,o=0;++o=(i*=128)&&(r-=Math.pow(2,8*t)),r},Ro.prototype.readIntBE=function(e,t,n){e|=0,t|=0,n||cs(e,t,this.length);for(var r=t,i=1,o=this[e+--r];r>0&&(i*=256);)o+=this[e+--r]*i;return o>=(i*=128)&&(o-=Math.pow(2,8*t)),o},Ro.prototype.readInt8=function(e,t){return t||cs(e,1,this.length),128&this[e]?-1*(255-this[e]+1):this[e]},Ro.prototype.readInt16LE=function(e,t){t||cs(e,2,this.length);var n=this[e]|this[e+1]<<8;return 32768&n?4294901760|n:n},Ro.prototype.readInt16BE=function(e,t){t||cs(e,2,this.length);var n=this[e+1]|this[e]<<8;return 32768&n?4294901760|n:n},Ro.prototype.readInt32LE=function(e,t){return t||cs(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},Ro.prototype.readInt32BE=function(e,t){return t||cs(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},Ro.prototype.readFloatLE=function(e,t){return t||cs(e,4,this.length),Io(this,e,!0,23,4)},Ro.prototype.readFloatBE=function(e,t){return t||cs(e,4,this.length),Io(this,e,!1,23,4)},Ro.prototype.readDoubleLE=function(e,t){return t||cs(e,8,this.length),Io(this,e,!0,52,8)},Ro.prototype.readDoubleBE=function(e,t){return t||cs(e,8,this.length),Io(this,e,!1,52,8)},Ro.prototype.writeUIntLE=function(e,t,n,r){e=+e,t|=0,n|=0,r||ps(this,e,t,n,Math.pow(2,8*n)-1,0);var i=1,o=0;for(this[t]=255&e;++o=0&&(o*=256);)this[t+i]=e/o&255;return t+n},Ro.prototype.writeUInt8=function(e,t,n){return e=+e,t|=0,n||ps(this,e,t,1,255,0),Ro.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),this[t]=255&e,t+1},Ro.prototype.writeUInt16LE=function(e,t,n){return e=+e,t|=0,n||ps(this,e,t,2,65535,0),Ro.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):fs(this,e,t,!0),t+2},Ro.prototype.writeUInt16BE=function(e,t,n){return e=+e,t|=0,n||ps(this,e,t,2,65535,0),Ro.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):fs(this,e,t,!1),t+2},Ro.prototype.writeUInt32LE=function(e,t,n){return e=+e,t|=0,n||ps(this,e,t,4,4294967295,0),Ro.TYPED_ARRAY_SUPPORT?(this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e):hs(this,e,t,!0),t+4},Ro.prototype.writeUInt32BE=function(e,t,n){return e=+e,t|=0,n||ps(this,e,t,4,4294967295,0),Ro.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):hs(this,e,t,!1),t+4},Ro.prototype.writeIntLE=function(e,t,n,r){if(e=+e,t|=0,!r){var i=Math.pow(2,8*n-1);ps(this,e,t,n,i-1,-i)}var o=0,s=1,a=0;for(this[t]=255&e;++o>0)-a&255;return t+n},Ro.prototype.writeIntBE=function(e,t,n,r){if(e=+e,t|=0,!r){var i=Math.pow(2,8*n-1);ps(this,e,t,n,i-1,-i)}var o=n-1,s=1,a=0;for(this[t+o]=255&e;--o>=0&&(s*=256);)e<0&&0===a&&0!==this[t+o+1]&&(a=1),this[t+o]=(e/s>>0)-a&255;return t+n},Ro.prototype.writeInt8=function(e,t,n){return e=+e,t|=0,n||ps(this,e,t,1,127,-128),Ro.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),e<0&&(e=255+e+1),this[t]=255&e,t+1},Ro.prototype.writeInt16LE=function(e,t,n){return e=+e,t|=0,n||ps(this,e,t,2,32767,-32768),Ro.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):fs(this,e,t,!0),t+2},Ro.prototype.writeInt16BE=function(e,t,n){return e=+e,t|=0,n||ps(this,e,t,2,32767,-32768),Ro.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):fs(this,e,t,!1),t+2},Ro.prototype.writeInt32LE=function(e,t,n){return e=+e,t|=0,n||ps(this,e,t,4,2147483647,-2147483648),Ro.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24):hs(this,e,t,!0),t+4},Ro.prototype.writeInt32BE=function(e,t,n){return e=+e,t|=0,n||ps(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),Ro.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):hs(this,e,t,!1),t+4},Ro.prototype.writeFloatLE=function(e,t,n){return ms(this,e,t,!0,n)},Ro.prototype.writeFloatBE=function(e,t,n){return ms(this,e,t,!1,n)},Ro.prototype.writeDoubleLE=function(e,t,n){return gs(this,e,t,!0,n)},Ro.prototype.writeDoubleBE=function(e,t,n){return gs(this,e,t,!1,n)},Ro.prototype.copy=function(e,t,n,r){if(n||(n=0),r||0===r||(r=this.length),t>=e.length&&(t=e.length),t||(t=0),r>0&&r=this.length)throw new RangeError("sourceStart out of bounds");if(r<0)throw new RangeError("sourceEnd out of bounds");r>this.length&&(r=this.length),e.length-t=0;--i)e[i+t]=this[i+n];else if(o<1e3||!Ro.TYPED_ARRAY_SUPPORT)for(i=0;i>>=0,n=void 0===n?this.length:n>>>0,e||(e=0),"number"==typeof e)for(o=t;o55295&&n<57344){if(!i){if(n>56319){(t-=3)>-1&&o.push(239,191,189);continue}if(s+1===r){(t-=3)>-1&&o.push(239,191,189);continue}i=n;continue}if(n<56320){(t-=3)>-1&&o.push(239,191,189),i=n;continue}n=65536+(i-55296<<10|n-56320)}else i&&(t-=3)>-1&&o.push(239,191,189);if(i=null,n<128){if((t-=1)<0)break;o.push(n)}else if(n<2048){if((t-=2)<0)break;o.push(n>>6|192,63&n|128)}else if(n<65536){if((t-=3)<0)break;o.push(n>>12|224,n>>6&63|128,63&n|128)}else{if(!(n<1114112))throw new Error("Invalid code point");if((t-=4)<0)break;o.push(n>>18|240,n>>12&63|128,n>>6&63|128,63&n|128)}}return o}function Ds(e){return function(e){var t,n,r,i,o,s;Ao||Oo();var a=e.length;if(a%4>0)throw new Error("Invalid string. Length must be a multiple of 4");o="="===e[a-2]?2:"="===e[a-1]?1:0,s=new So(3*a/4-o),r=o>0?a-4:a;var u=0;for(t=0,n=0;t>16&255,s[u++]=i>>8&255,s[u++]=255&i;return 2===o?(i=To[e.charCodeAt(t)]<<2|To[e.charCodeAt(t+1)]>>4,s[u++]=255&i):1===o&&(i=To[e.charCodeAt(t)]<<10|To[e.charCodeAt(t+1)]<<4|To[e.charCodeAt(t+2)]>>2,s[u++]=i>>8&255,s[u++]=255&i),s}(function(e){if((e=function(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")}(e).replace(ys,"")).length<2)return"";for(;e.length%4!=0;)e+="=";return e}(e))}function ws(e,t,n,r){for(var i=0;i=t.length||i>=e.length);++i)t[i+n]=e[i];return i}function Cs(e){return null!=e&&(!!e._isBuffer||xs(e)||function(e){return"function"==typeof e.readFloatLE&&"function"==typeof e.slice&&xs(e.slice(0,0))}(e))}function xs(e){return!!e.constructor&&"function"==typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)}var Es=r(lo),_s=class{constructor(e,t){(t=t||{}).readChunk||(t.readChunk=1024),t.newLineCharacter?t.newLineCharacter=t.newLineCharacter.charCodeAt(0):t.newLineCharacter=10,this.fd="number"==typeof e?e:Es.openSync(e,"r"),this.options=t,this.newLineCharacter=t.newLineCharacter,this.reset()}_searchInBuffer(e,t){let n=-1;for(let r=0;r<=e.length;r++)if(e[r]===t){n=r;break}return n}reset(){this.eofReached=!1,this.linesCache=[],this.fdPosition=0}close(){Es.closeSync(this.fd),this.fd=null}_extractLines(e){let t;const n=[];let r=0,i=0;for(;;){let o=e[r++];if(o===this.newLineCharacter)t=e.slice(i,r),n.push(t),i=r;else if(void 0===o)break}let o=e.slice(i,r);return o.length&&n.push(o),n}_readChunk(e){let t,n=0;const r=[];do{const e=new Ro(this.options.readChunk);t=Es.readSync(this.fd,e,0,this.options.readChunk,this.fdPosition),n+=t,this.fdPosition=this.fdPosition+t,r.push(e)}while(t&&-1===this._searchInBuffer(r[r.length-1],this.options.newLineCharacter));let i=Ro.concat(r);return t=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function Ps(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,i,o=n.call(e),s=[];try{for(;(void 0===t||t-- >0)&&!(r=o.next()).done;)s.push(r.value)}catch(e){i={error:e}}finally{try{r&&!r.done&&(n=o.return)&&n.call(o)}finally{if(i)throw i.error}}return s}function Ms(e){return this instanceof Ms?(this.v=e,this):new Ms(e)}var Ls=Object.freeze({__proto__:null,__extends:function(e,t){function n(){this.constructor=e}Fs(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)},get __assign(){return Ns},__rest:function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(r=Object.getOwnPropertySymbols(e);i=0;a--)(i=e[a])&&(s=(o<3?i(s):o>3?i(t,n,s):i(t,n))||s);return o>3&&s&&Object.defineProperty(t,n,s),s},__param:function(e,t){return function(n,r){t(n,r,e)}},__metadata:function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)},__awaiter:function(e,t,n,r){return new(n||(n=Promise))((function(i,o){function s(e){try{u(r.next(e))}catch(e){o(e)}}function a(e){try{u(r.throw(e))}catch(e){o(e)}}function u(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(s,a)}u((r=r.apply(e,t||[])).next())}))},__generator:function(e,t){var n,r,i,o,s={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:a(0),throw:a(1),return:a(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function a(o){return function(a){return function(o){if(n)throw new TypeError("Generator is already executing.");for(;s;)try{if(n=1,r&&(i=2&o[0]?r.return:o[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,o[1])).done)return i;switch(r=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return s.label++,{value:o[1],done:!1};case 5:s.label++,r=o[1],o=[0];continue;case 7:o=s.ops.pop(),s.trys.pop();continue;default:if(i=s.trys,!((i=i.length>0&&i[i.length-1])||6!==o[0]&&2!==o[0])){s=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]1||a(e,t)}))})}function a(e,t){try{(n=i[e](t)).value instanceof Ms?Promise.resolve(n.value.v).then(u,l):c(o[0][2],n)}catch(e){c(o[0][3],e)}var n}function u(e){a("next",e)}function l(e){a("throw",e)}function c(e,t){e(t),o.shift(),o.length&&a(o[0][0],o[0][1])}},__asyncDelegator:function(e){var t,n;return t={},r("next"),r("throw",(function(e){throw e})),r("return"),t[Symbol.iterator]=function(){return this},t;function r(r,i){t[r]=e[r]?function(t){return(n=!n)?{value:Ms(e[r](t)),done:"return"===r}:i?i(t):t}:i}},__asyncValues:function(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t,n=e[Symbol.asyncIterator];return n?n.call(e):(e=Is(e),t={},r("next"),r("throw"),r("return"),t[Symbol.asyncIterator]=function(){return this},t);function r(n){t[n]=e[n]&&function(t){return new Promise((function(r,i){(function(e,t,n,r){Promise.resolve(r).then((function(t){e({value:t,done:n})}),t)})(r,i,(t=e[n](t)).done,t.value)}))}}},__makeTemplateObject:function(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e},__importStar:function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t},__importDefault:function(e){return e&&e.__esModule?e:{default:e}},__classPrivateFieldGet:function(e,t){if(!t.has(e))throw new TypeError("attempted to get private field on non-instance");return t.get(e)},__classPrivateFieldSet:function(e,t,n){if(!t.has(e))throw new TypeError("attempted to set private field on non-instance");return t.set(e,n),n}}),js=i((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.apiDescriptor={key:e=>/^[$_a-zA-Z][$_a-zA-Z0-9]*$/.test(e)?e:JSON.stringify(e),value(e){if(null===e||"object"!=typeof e)return JSON.stringify(e);if(Array.isArray(e))return`[${e.map(e=>t.apiDescriptor.value(e)).join(", ")}]`;const n=Object.keys(e);return 0===n.length?"{}":`{ ${n.map(n=>`${t.apiDescriptor.key(n)}: ${t.apiDescriptor.value(e[n])}`).join(", ")} }`},pair:({key:e,value:n})=>t.apiDescriptor.value({[e]:n})}})),Bs=i((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),Ls.__exportStar(js,t)})),Rs=/[|\\{}()[\]^$+*?.]/g,$s=function(e){if("string"!=typeof e)throw new TypeError("Expected a string");return e.replace(Rs,"\\$&")},Hs={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]},Us=i((function(e){var t={};for(var n in Hs)Hs.hasOwnProperty(n)&&(t[Hs[n]]=n);var r=e.exports={rgb:{channels:3,labels:"rgb"},hsl:{channels:3,labels:"hsl"},hsv:{channels:3,labels:"hsv"},hwb:{channels:3,labels:"hwb"},cmyk:{channels:4,labels:"cmyk"},xyz:{channels:3,labels:"xyz"},lab:{channels:3,labels:"lab"},lch:{channels:3,labels:"lch"},hex:{channels:1,labels:["hex"]},keyword:{channels:1,labels:["keyword"]},ansi16:{channels:1,labels:["ansi16"]},ansi256:{channels:1,labels:["ansi256"]},hcg:{channels:3,labels:["h","c","g"]},apple:{channels:3,labels:["r16","g16","b16"]},gray:{channels:1,labels:["gray"]}};for(var i in r)if(r.hasOwnProperty(i)){if(!("channels"in r[i]))throw new Error("missing channels property: "+i);if(!("labels"in r[i]))throw new Error("missing channel labels property: "+i);if(r[i].labels.length!==r[i].channels)throw new Error("channel and label counts mismatch: "+i);var o=r[i].channels,s=r[i].labels;delete r[i].channels,delete r[i].labels,Object.defineProperty(r[i],"channels",{value:o}),Object.defineProperty(r[i],"labels",{value:s})}r.rgb.hsl=function(e){var t,n,r=e[0]/255,i=e[1]/255,o=e[2]/255,s=Math.min(r,i,o),a=Math.max(r,i,o),u=a-s;return a===s?t=0:r===a?t=(i-o)/u:i===a?t=2+(o-r)/u:o===a&&(t=4+(r-i)/u),(t=Math.min(60*t,360))<0&&(t+=360),n=(s+a)/2,[t,100*(a===s?0:n<=.5?u/(a+s):u/(2-a-s)),100*n]},r.rgb.hsv=function(e){var t,n,r,i,o,s=e[0]/255,a=e[1]/255,u=e[2]/255,l=Math.max(s,a,u),c=l-Math.min(s,a,u),p=function(e){return(l-e)/6/c+.5};return 0===c?i=o=0:(o=c/l,t=p(s),n=p(a),r=p(u),s===l?i=r-n:a===l?i=1/3+t-r:u===l&&(i=2/3+n-t),i<0?i+=1:i>1&&(i-=1)),[360*i,100*o,100*l]},r.rgb.hwb=function(e){var t=e[0],n=e[1],i=e[2];return[r.rgb.hsl(e)[0],1/255*Math.min(t,Math.min(n,i))*100,100*(i=1-1/255*Math.max(t,Math.max(n,i)))]},r.rgb.cmyk=function(e){var t,n=e[0]/255,r=e[1]/255,i=e[2]/255;return[100*((1-n-(t=Math.min(1-n,1-r,1-i)))/(1-t)||0),100*((1-r-t)/(1-t)||0),100*((1-i-t)/(1-t)||0),100*t]},r.rgb.keyword=function(e){var n=t[e];if(n)return n;var r,i,o,s=1/0;for(var a in Hs)if(Hs.hasOwnProperty(a)){var u=Hs[a],l=(i=e,o=u,Math.pow(i[0]-o[0],2)+Math.pow(i[1]-o[1],2)+Math.pow(i[2]-o[2],2));l.04045?Math.pow((t+.055)/1.055,2.4):t/12.92)+.3576*(n=n>.04045?Math.pow((n+.055)/1.055,2.4):n/12.92)+.1805*(r=r>.04045?Math.pow((r+.055)/1.055,2.4):r/12.92)),100*(.2126*t+.7152*n+.0722*r),100*(.0193*t+.1192*n+.9505*r)]},r.rgb.lab=function(e){var t=r.rgb.xyz(e),n=t[0],i=t[1],o=t[2];return i/=100,o/=108.883,n=(n/=95.047)>.008856?Math.pow(n,1/3):7.787*n+16/116,[116*(i=i>.008856?Math.pow(i,1/3):7.787*i+16/116)-16,500*(n-i),200*(i-(o=o>.008856?Math.pow(o,1/3):7.787*o+16/116))]},r.hsl.rgb=function(e){var t,n,r,i,o,s=e[0]/360,a=e[1]/100,u=e[2]/100;if(0===a)return[o=255*u,o,o];t=2*u-(n=u<.5?u*(1+a):u+a-u*a),i=[0,0,0];for(var l=0;l<3;l++)(r=s+1/3*-(l-1))<0&&r++,r>1&&r--,o=6*r<1?t+6*(n-t)*r:2*r<1?n:3*r<2?t+(n-t)*(2/3-r)*6:t,i[l]=255*o;return i},r.hsl.hsv=function(e){var t=e[0],n=e[1]/100,r=e[2]/100,i=n,o=Math.max(r,.01);return n*=(r*=2)<=1?r:2-r,i*=o<=1?o:2-o,[t,100*(0===r?2*i/(o+i):2*n/(r+n)),(r+n)/2*100]},r.hsv.rgb=function(e){var t=e[0]/60,n=e[1]/100,r=e[2]/100,i=Math.floor(t)%6,o=t-Math.floor(t),s=255*r*(1-n),a=255*r*(1-n*o),u=255*r*(1-n*(1-o));switch(r*=255,i){case 0:return[r,u,s];case 1:return[a,r,s];case 2:return[s,r,u];case 3:return[s,a,r];case 4:return[u,s,r];case 5:return[r,s,a]}},r.hsv.hsl=function(e){var t,n,r,i=e[0],o=e[1]/100,s=e[2]/100,a=Math.max(s,.01);return r=(2-o)*s,n=o*a,[i,100*(n=(n/=(t=(2-o)*a)<=1?t:2-t)||0),100*(r/=2)]},r.hwb.rgb=function(e){var t,n,r,i,o,s,a,u=e[0]/360,l=e[1]/100,c=e[2]/100,p=l+c;switch(p>1&&(l/=p,c/=p),r=6*u-(t=Math.floor(6*u)),0!=(1&t)&&(r=1-r),i=l+r*((n=1-c)-l),t){default:case 6:case 0:o=n,s=i,a=l;break;case 1:o=i,s=n,a=l;break;case 2:o=l,s=n,a=i;break;case 3:o=l,s=i,a=n;break;case 4:o=i,s=l,a=n;break;case 5:o=n,s=l,a=i}return[255*o,255*s,255*a]},r.cmyk.rgb=function(e){var t=e[0]/100,n=e[1]/100,r=e[2]/100,i=e[3]/100;return[255*(1-Math.min(1,t*(1-i)+i)),255*(1-Math.min(1,n*(1-i)+i)),255*(1-Math.min(1,r*(1-i)+i))]},r.xyz.rgb=function(e){var t,n,r,i=e[0]/100,o=e[1]/100,s=e[2]/100;return n=-.9689*i+1.8758*o+.0415*s,r=.0557*i+-.204*o+1.057*s,t=(t=3.2406*i+-1.5372*o+-.4986*s)>.0031308?1.055*Math.pow(t,1/2.4)-.055:12.92*t,n=n>.0031308?1.055*Math.pow(n,1/2.4)-.055:12.92*n,r=r>.0031308?1.055*Math.pow(r,1/2.4)-.055:12.92*r,[255*(t=Math.min(Math.max(0,t),1)),255*(n=Math.min(Math.max(0,n),1)),255*(r=Math.min(Math.max(0,r),1))]},r.xyz.lab=function(e){var t=e[0],n=e[1],r=e[2];return n/=100,r/=108.883,t=(t/=95.047)>.008856?Math.pow(t,1/3):7.787*t+16/116,[116*(n=n>.008856?Math.pow(n,1/3):7.787*n+16/116)-16,500*(t-n),200*(n-(r=r>.008856?Math.pow(r,1/3):7.787*r+16/116))]},r.lab.xyz=function(e){var t,n,r,i=e[0];t=e[1]/500+(n=(i+16)/116),r=n-e[2]/200;var o=Math.pow(n,3),s=Math.pow(t,3),a=Math.pow(r,3);return n=o>.008856?o:(n-16/116)/7.787,t=s>.008856?s:(t-16/116)/7.787,r=a>.008856?a:(r-16/116)/7.787,[t*=95.047,n*=100,r*=108.883]},r.lab.lch=function(e){var t,n=e[0],r=e[1],i=e[2];return(t=360*Math.atan2(i,r)/2/Math.PI)<0&&(t+=360),[n,Math.sqrt(r*r+i*i),t]},r.lch.lab=function(e){var t,n=e[0],r=e[1];return t=e[2]/360*2*Math.PI,[n,r*Math.cos(t),r*Math.sin(t)]},r.rgb.ansi16=function(e){var t=e[0],n=e[1],i=e[2],o=1 in arguments?arguments[1]:r.rgb.hsv(e)[2];if(0===(o=Math.round(o/50)))return 30;var s=30+(Math.round(i/255)<<2|Math.round(n/255)<<1|Math.round(t/255));return 2===o&&(s+=60),s},r.hsv.ansi16=function(e){return r.rgb.ansi16(r.hsv.rgb(e),e[2])},r.rgb.ansi256=function(e){var t=e[0],n=e[1],r=e[2];return t===n&&n===r?t<8?16:t>248?231:Math.round((t-8)/247*24)+232:16+36*Math.round(t/255*5)+6*Math.round(n/255*5)+Math.round(r/255*5)},r.ansi16.rgb=function(e){var t=e%10;if(0===t||7===t)return e>50&&(t+=3.5),[t=t/10.5*255,t,t];var n=.5*(1+~~(e>50));return[(1&t)*n*255,(t>>1&1)*n*255,(t>>2&1)*n*255]},r.ansi256.rgb=function(e){if(e>=232){var t=10*(e-232)+8;return[t,t,t]}var n;return e-=16,[Math.floor(e/36)/5*255,Math.floor((n=e%36)/6)/5*255,n%6/5*255]},r.rgb.hex=function(e){var t=(((255&Math.round(e[0]))<<16)+((255&Math.round(e[1]))<<8)+(255&Math.round(e[2]))).toString(16).toUpperCase();return"000000".substring(t.length)+t},r.hex.rgb=function(e){var t=e.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!t)return[0,0,0];var n=t[0];3===t[0].length&&(n=n.split("").map((function(e){return e+e})).join(""));var r=parseInt(n,16);return[r>>16&255,r>>8&255,255&r]},r.rgb.hcg=function(e){var t,n=e[0]/255,r=e[1]/255,i=e[2]/255,o=Math.max(Math.max(n,r),i),s=Math.min(Math.min(n,r),i),a=o-s;return t=a<=0?0:o===n?(r-i)/a%6:o===r?2+(i-n)/a:4+(n-r)/a+4,t/=6,[360*(t%=1),100*a,100*(a<1?s/(1-a):0)]},r.hsl.hcg=function(e){var t=e[1]/100,n=e[2]/100,r=1,i=0;return(r=n<.5?2*t*n:2*t*(1-n))<1&&(i=(n-.5*r)/(1-r)),[e[0],100*r,100*i]},r.hsv.hcg=function(e){var t=e[1]/100,n=e[2]/100,r=t*n,i=0;return r<1&&(i=(n-r)/(1-r)),[e[0],100*r,100*i]},r.hcg.rgb=function(e){var t=e[0]/360,n=e[1]/100,r=e[2]/100;if(0===n)return[255*r,255*r,255*r];var i,o=[0,0,0],s=t%1*6,a=s%1,u=1-a;switch(Math.floor(s)){case 0:o[0]=1,o[1]=a,o[2]=0;break;case 1:o[0]=u,o[1]=1,o[2]=0;break;case 2:o[0]=0,o[1]=1,o[2]=a;break;case 3:o[0]=0,o[1]=u,o[2]=1;break;case 4:o[0]=a,o[1]=0,o[2]=1;break;default:o[0]=1,o[1]=0,o[2]=u}return i=(1-n)*r,[255*(n*o[0]+i),255*(n*o[1]+i),255*(n*o[2]+i)]},r.hcg.hsv=function(e){var t=e[1]/100,n=t+e[2]/100*(1-t),r=0;return n>0&&(r=t/n),[e[0],100*r,100*n]},r.hcg.hsl=function(e){var t=e[1]/100,n=e[2]/100*(1-t)+.5*t,r=0;return n>0&&n<.5?r=t/(2*n):n>=.5&&n<1&&(r=t/(2*(1-n))),[e[0],100*r,100*n]},r.hcg.hwb=function(e){var t=e[1]/100,n=t+e[2]/100*(1-t);return[e[0],100*(n-t),100*(1-n)]},r.hwb.hcg=function(e){var t=e[1]/100,n=1-e[2]/100,r=n-t,i=0;return r<1&&(i=(n-r)/(1-r)),[e[0],100*r,100*i]},r.apple.rgb=function(e){return[e[0]/65535*255,e[1]/65535*255,e[2]/65535*255]},r.rgb.apple=function(e){return[e[0]/255*65535,e[1]/255*65535,e[2]/255*65535]},r.gray.rgb=function(e){return[e[0]/100*255,e[0]/100*255,e[0]/100*255]},r.gray.hsl=r.gray.hsv=function(e){return[0,0,e[0]]},r.gray.hwb=function(e){return[0,100,e[0]]},r.gray.cmyk=function(e){return[0,0,0,e[0]]},r.gray.lab=function(e){return[e[0],0,0]},r.gray.hex=function(e){var t=255&Math.round(e[0]/100*255),n=((t<<16)+(t<<8)+t).toString(16).toUpperCase();return"000000".substring(n.length)+n},r.rgb.gray=function(e){return[(e[0]+e[1]+e[2])/3/255*100]}}));function qs(e){var t=function(){for(var e={},t=Object.keys(Us),n=t.length,r=0;r1&&(t=Array.prototype.slice.call(arguments));var n=e(t);if("object"==typeof n)for(var r=n.length,i=0;i1&&(t=Array.prototype.slice.call(arguments)),e(t))};return"conversion"in e&&(t.conversion=e.conversion),t}(r)}))}));var Gs,Ks=Ws,Ys=i((function(e){const t=(e,t)=>function(){const n=e.apply(Ks,arguments);return`[${n+t}m`},n=(e,t)=>function(){const n=e.apply(Ks,arguments);return`[${38+t};5;${n}m`},r=(e,t)=>function(){const n=e.apply(Ks,arguments);return`[${38+t};2;${n[0]};${n[1]};${n[2]}m`};Object.defineProperty(e,"exports",{enumerable:!0,get:function(){const e=new Map,i={modifier:{reset:[0,0],bold:[1,22],dim:[2,22],italic:[3,23],underline:[4,24],inverse:[7,27],hidden:[8,28],strikethrough:[9,29]},color:{black:[30,39],red:[31,39],green:[32,39],yellow:[33,39],blue:[34,39],magenta:[35,39],cyan:[36,39],white:[37,39],gray:[90,39],redBright:[91,39],greenBright:[92,39],yellowBright:[93,39],blueBright:[94,39],magentaBright:[95,39],cyanBright:[96,39],whiteBright:[97,39]},bgColor:{bgBlack:[40,49],bgRed:[41,49],bgGreen:[42,49],bgYellow:[43,49],bgBlue:[44,49],bgMagenta:[45,49],bgCyan:[46,49],bgWhite:[47,49],bgBlackBright:[100,49],bgRedBright:[101,49],bgGreenBright:[102,49],bgYellowBright:[103,49],bgBlueBright:[104,49],bgMagentaBright:[105,49],bgCyanBright:[106,49],bgWhiteBright:[107,49]}};i.color.grey=i.color.gray;for(const t of Object.keys(i)){const n=i[t];for(const t of Object.keys(n)){const r=n[t];i[t]={open:`[${r[0]}m`,close:`[${r[1]}m`},n[t]=i[t],e.set(r[0],r[1])}Object.defineProperty(i,t,{value:n,enumerable:!1}),Object.defineProperty(i,"codes",{value:e,enumerable:!1})}const o=e=>e,s=(e,t,n)=>[e,t,n];i.color.close="",i.bgColor.close="",i.color.ansi={ansi:t(o,0)},i.color.ansi256={ansi256:n(o,0)},i.color.ansi16m={rgb:r(s,0)},i.bgColor.ansi={ansi:t(o,10)},i.bgColor.ansi256={ansi256:n(o,10)},i.bgColor.ansi16m={rgb:r(s,10)};for(let a of Object.keys(Ks)){if("object"!=typeof Ks[a])continue;const e=Ks[a];"ansi16"===a&&(a="ansi"),"ansi16"in e&&(i.color.ansi[a]=t(e.ansi16,0),i.bgColor.ansi[a]=t(e.ansi16,10)),"ansi256"in e&&(i.color.ansi256[a]=n(e.ansi256,0),i.bgColor.ansi256[a]=n(e.ansi256,10)),"rgb"in e&&(i.color.ansi16m[a]=r(e.rgb,0),i.bgColor.ansi16m[a]=r(e.rgb,10))}return i}})}));function Xs(){if(void 0===Gs){var e=new ArrayBuffer(2),t=new Uint8Array(e),n=new Uint16Array(e);if(t[0]=1,t[1]=2,258===n[0])Gs="BE";else{if(513!==n[0])throw new Error("unable to figure out endianess");Gs="LE"}}return Gs}function Js(){return void 0!==or.location?or.location.hostname:""}function Qs(){return[]}function Zs(){return 0}function ea(){return Number.MAX_VALUE}function ta(){return Number.MAX_VALUE}function na(){return[]}function ra(){return"Browser"}function ia(){return void 0!==or.navigator?or.navigator.appVersion:""}function oa(){}function sa(){}function aa(){return"javascript"}function ua(){return"browser"}function la(){return"/tmp"}var ca=la,pa={EOL:"\n",arch:aa,platform:ua,tmpdir:ca,tmpDir:la,networkInterfaces:oa,getNetworkInterfaces:sa,release:ia,type:ra,cpus:na,totalmem:ta,freemem:ea,uptime:Zs,loadavg:Qs,hostname:Js,endianness:Xs},fa=(e,t)=>{t=t||Ar.argv;const n=e.startsWith("-")?"":1===e.length?"-":"--",r=t.indexOf(n+e),i=t.indexOf("--");return-1!==r&&(-1===i||r=2,has16m:e>=3}}(function(e){if(!1===ma)return 0;if(fa("color=16m")||fa("color=full")||fa("color=truecolor"))return 3;if(fa("color=256"))return 2;if(e&&!e.isTTY&&!0!==ma)return 0;const t=ma?1:0;if("win32"===Ar.platform){const e=ha.release().split(".");return Number(Ar.versions.node.split(".")[0])>=8&&Number(e[0])>=10&&Number(e[2])>=10586?Number(e[2])>=14931?3:2:1}if("CI"in da)return["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI"].some(e=>e in da)||"codeship"===da.CI_NAME?1:t;if("TEAMCITY_VERSION"in da)return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(da.TEAMCITY_VERSION)?1:0;if("truecolor"===da.COLORTERM)return 3;if("TERM_PROGRAM"in da){const e=parseInt((da.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(da.TERM_PROGRAM){case"iTerm.app":return e>=3?3:2;case"Apple_Terminal":return 2}}return/-256(color)?$/i.test(da.TERM)?2:/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(da.TERM)||"COLORTERM"in da?1:(da.TERM,t)}(e))}fa("no-color")||fa("no-colors")||fa("color=false")?ma=!1:(fa("color")||fa("colors")||fa("color=true")||fa("color=always"))&&(ma=!0),"FORCE_COLOR"in da&&(ma=0===da.FORCE_COLOR.length||0!==parseInt(da.FORCE_COLOR,10));var ya={supportsColor:ga,stdout:ga(Ar.stdout),stderr:ga(Ar.stderr)};const va=/(?:\\(u[a-f\d]{4}|x[a-f\d]{2}|.))|(?:\{(~)?(\w+(?:\([^)]*\))?(?:\.\w+(?:\([^)]*\))?)*)(?:[ \t]|(?=\r?\n)))|(\})|((?:.|[\r\n\f])+?)/gi,ba=/(?:^|\.)(\w+)(?:\(([^)]*)\))?/g,Da=/^(['"])((?:\\.|(?!\1)[^\\])*)\1$/,wa=/\\(u[a-f\d]{4}|x[a-f\d]{2}|.)|([^\\])/gi,Ca=new Map([["n","\n"],["r","\r"],["t","\t"],["b","\b"],["f","\f"],["v","\v"],["0","\0"],["\\","\\"],["e",""],["a",""]]);function xa(e){return"u"===e[0]&&5===e.length||"x"===e[0]&&3===e.length?String.fromCharCode(parseInt(e.slice(1),16)):Ca.get(e)||e}function Ea(e,t){const n=[],r=t.trim().split(/\s*,\s*/g);let i;for(const o of r)if(isNaN(o)){if(!(i=o.match(Da)))throw new Error(`Invalid Chalk template style argument: ${o} (in style '${e}')`);n.push(i[2].replace(wa,(e,t,n)=>t?xa(t):n))}else n.push(Number(o));return n}function _a(e){ba.lastIndex=0;const t=[];let n;for(;null!==(n=ba.exec(e));){const e=n[1];if(n[2]){const r=Ea(e,n[2]);t.push([e].concat(r))}else t.push([e])}return t}function ka(e,t){const n={};for(const i of t)for(const e of i.styles)n[e[0]]=i.inverse?null:e.slice(1);let r=e;for(const i of Object.keys(n))if(Array.isArray(n[i])){if(!(i in r))throw new Error("Unknown Chalk style: "+i);r=n[i].length>0?r[i].apply(r,n[i]):r[i]}return r}var Ta=(e,t)=>{const n=[],r=[];let i=[];if(t.replace(va,(t,o,s,a,u,l)=>{if(o)i.push(xa(o));else if(a){const t=i.join("");i=[],r.push(0===n.length?t:ka(e,n)(t)),n.push({inverse:s,styles:_a(a)})}else if(u){if(0===n.length)throw new Error("Found extraneous } in Chalk template literal");r.push(ka(e,n)(i.join(""))),i=[],n.pop()}else i.push(l)}),r.push(i.join("")),n.length>0){const e=`Chalk template literal is missing ${n.length} closing bracket${1===n.length?"":"s"} (\`}\`)`;throw new Error(e)}return r.join("")},Sa=i((function(e){const t=ya.stdout,n="win32"===Ar.platform&&!(Ar.env.TERM||"").toLowerCase().startsWith("xterm"),r=["ansi","ansi","ansi256","ansi16m"],i=new Set(["gray"]),o=Object.create(null);function s(e,n){n=n||{};const r=t?t.level:0;e.level=void 0===n.level?r:n.level,e.enabled="enabled"in n?n.enabled:e.level>0}function a(e){if(!this||!(this instanceof a)||this.template){const t={};return s(t,e),t.template=function(){const e=[].slice.call(arguments);return p.apply(null,[t.template].concat(e))},Object.setPrototypeOf(t,a.prototype),Object.setPrototypeOf(t.template,t),t.template.constructor=a,t.template}s(this,e)}n&&(Ys.blue.open="");for(const f of Object.keys(Ys))Ys[f].closeRe=new RegExp($s(Ys[f].close),"g"),o[f]={get(){const e=Ys[f];return l.call(this,this._styles?this._styles.concat(e):[e],this._empty,f)}};o.visible={get(){return l.call(this,this._styles||[],!0,"visible")}},Ys.color.closeRe=new RegExp($s(Ys.color.close),"g");for(const f of Object.keys(Ys.color.ansi))i.has(f)||(o[f]={get(){const e=this.level;return function(){const t=Ys.color[r[e]][f].apply(null,arguments),n={open:t,close:Ys.color.close,closeRe:Ys.color.closeRe};return l.call(this,this._styles?this._styles.concat(n):[n],this._empty,f)}}});Ys.bgColor.closeRe=new RegExp($s(Ys.bgColor.close),"g");for(const f of Object.keys(Ys.bgColor.ansi))i.has(f)||(o["bg"+f[0].toUpperCase()+f.slice(1)]={get(){const e=this.level;return function(){const t=Ys.bgColor[r[e]][f].apply(null,arguments),n={open:t,close:Ys.bgColor.close,closeRe:Ys.bgColor.closeRe};return l.call(this,this._styles?this._styles.concat(n):[n],this._empty,f)}}});const u=Object.defineProperties(()=>{},o);function l(e,t,n){const r=function(){return c.apply(r,arguments)};r._styles=e,r._empty=t;const i=this;return Object.defineProperty(r,"level",{enumerable:!0,get:()=>i.level,set(e){i.level=e}}),Object.defineProperty(r,"enabled",{enumerable:!0,get:()=>i.enabled,set(e){i.enabled=e}}),r.hasGrey=this.hasGrey||"gray"===n||"grey"===n,r.__proto__=u,r}function c(){const e=arguments,t=e.length;let r=String(arguments[0]);if(0===t)return"";if(t>1)for(let n=1;n{const r=[Sa.default.yellow("string"==typeof e?n.key(e):n.pair(e))+" is deprecated"];return t&&r.push("we now treat it as "+Sa.default.blue("string"==typeof t?n.key(t):n.pair(t))),r.join("; ")+"."}},"__esModule",{value:!0}),Oa=i((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),Ls.__exportStar(Aa,t)})),Fa=Object.defineProperty({commonInvalidHandler:(e,t,n)=>[`Invalid ${Sa.default.red(n.descriptor.key(e))} value.`,`Expected ${Sa.default.blue(n.schemas[e].expected(n))},`,`but received ${Sa.default.red(n.descriptor.value(t))}.`].join(" ")},"__esModule",{value:!0}),Na=i((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),Ls.__exportStar(Fa,t)})),Ia=[],Pa=[],Ma=Object.defineProperty({levenUnknownHandler:(e,t,{descriptor:n,logger:r,schemas:i})=>{const o=[`Ignored unknown option ${Sa.default.yellow(n.pair({key:e,value:t}))}.`],s=Object.keys(i).sort().find(t=>function(e,t){if(e===t)return 0;var n=e;e.length>t.length&&(e=t,t=n);var r=e.length,i=t.length;if(0===r)return i;if(0===i)return r;for(;r>0&&e.charCodeAt(~-r)===t.charCodeAt(~-i);)r--,i--;if(0===r)return i;for(var o,s,a,u,l=0;ls?u>s?s+1:u:u>a?a+1:u;return s}(e,t)<3);s&&o.push(`Did you mean ${Sa.default.blue(n.key(s))}?`),r.warn(o.join(" "))}},"__esModule",{value:!0}),La=i((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),Ls.__exportStar(Ma,t)})),ja=i((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),Ls.__exportStar(Oa,t),Ls.__exportStar(Na,t),Ls.__exportStar(La,t)}));const Ba=["default","expected","validate","deprecated","forward","redirect","overlap","preprocess","postprocess"];function Ra(e,t){const n=new e(t),r=Object.create(n);for(const i of Ba)i in t&&(r[i]=qa(t[i],n,Ha.prototype[i].length));return r}var $a=Ra;class Ha{constructor(e){this.name=e.name}static create(e){return Ra(this,e)}default(e){}expected(e){return"nothing"}validate(e,t){return!1}deprecated(e,t){return!1}forward(e,t){}redirect(e,t){}overlap(e,t,n){return e}preprocess(e,t){return e}postprocess(e,t){return e}}var Ua=Ha;function qa(e,t,n){return"function"==typeof e?(...r)=>e(...r.slice(0,n-1),t,...r.slice(n-1)):()=>e}var za=Object.defineProperty({createSchema:$a,Schema:Ua},"__esModule",{value:!0});class Va extends za.Schema{constructor(e){super(e),this._sourceName=e.sourceName}expected(e){return e.schemas[this._sourceName].expected(e)}validate(e,t){return t.schemas[this._sourceName].validate(e,t)}redirect(e,t){return this._sourceName}}var Wa=Va,Ga=Object.defineProperty({AliasSchema:Wa},"__esModule",{value:!0});class Ka extends za.Schema{expected(){return"anything"}validate(){return!0}}var Ya=Ka,Xa=Object.defineProperty({AnySchema:Ya},"__esModule",{value:!0});class Ja extends za.Schema{constructor(e){var{valueSchema:t,name:n=t.name}=e,r=Ls.__rest(e,["valueSchema","name"]);super(Object.assign({},r,{name:n})),this._valueSchema=t}expected(e){return"an array of "+this._valueSchema.expected(e)}validate(e,t){if(!Array.isArray(e))return!1;const n=[];for(const r of e){const e=t.normalizeValidateResult(this._valueSchema.validate(r,t),r);!0!==e&&n.push(e.value)}return 0===n.length||{value:n}}deprecated(e,t){const n=[];for(const r of e){const e=t.normalizeDeprecatedResult(this._valueSchema.deprecated(r,t),r);!1!==e&&n.push(...e.map(({value:e})=>({value:[e]})))}return n}forward(e,t){const n=[];for(const r of e){const e=t.normalizeForwardResult(this._valueSchema.forward(r,t),r);n.push(...e.map(Za))}return n}redirect(e,t){const n=[],r=[];for(const i of e){const e=t.normalizeRedirectResult(this._valueSchema.redirect(i,t),i);"remain"in e&&n.push(e.remain),r.push(...e.redirect.map(Za))}return 0===n.length?{redirect:r}:{redirect:r,remain:n}}overlap(e,t){return e.concat(t)}}var Qa=Ja;function Za({from:e,to:t}){return{from:[e],to:t}}var eu=Object.defineProperty({ArraySchema:Qa},"__esModule",{value:!0});class tu extends za.Schema{expected(){return"true or false"}validate(e){return"boolean"==typeof e}}var nu=tu,ru=Object.defineProperty({BooleanSchema:nu},"__esModule",{value:!0}),iu=function(e,t){const n=Object.create(null);for(const r of e){const e=r[t];if(n[e])throw new Error(`Duplicate ${t} ${JSON.stringify(e)}`);n[e]=r}return n},ou=function(e,t){const n=new Map;for(const r of e){const e=r[t];if(n.has(e))throw new Error(`Duplicate ${t} ${JSON.stringify(e)}`);n.set(e,r)}return n},su=function(){const e=Object.create(null);return t=>{const n=JSON.stringify(t);return!!e[n]||(e[n]=!0,!1)}},au=function(e,t){const n=[],r=[];for(const i of e)t(i)?n.push(i):r.push(i);return[n,r]},uu=function(e){return e===Math.floor(e)},lu=function(e,t){if(e===t)return 0;const n=typeof e,r=typeof t,i=["undefined","object","boolean","number","string"];return n!==r?i.indexOf(n)-i.indexOf(r):"string"!==n?Number(e)-Number(t):e.localeCompare(t)},cu=function(e){return void 0===e?{}:e},pu=function(e,t){return!0===e||(!1===e?{value:t}:e)},fu=function(e,t,n=!1){return!1!==e&&(!0===e?!!n||[{value:t}]:"value"in e?[e]:0!==e.length&&e)};function hu(e,t){return"string"==typeof e||"key"in e?{from:t,to:e}:"from"in e?{from:e.from,to:e.to}:{from:t,to:e.to}}var du=hu;function mu(e,t){return void 0===e?[]:Array.isArray(e)?e.map(e=>hu(e,t)):[hu(e,t)]}var gu=mu,yu=function(e,t){const n=mu("object"==typeof e&&"redirect"in e?e.redirect:e,t);return 0===n.length?{remain:t,redirect:n}:"object"==typeof e&&"remain"in e?{remain:e.remain,redirect:n}:{redirect:n}},vu=Object.defineProperty({recordFromArray:iu,mapFromArray:ou,createAutoChecklist:su,partition:au,isInt:uu,comparePrimitive:lu,normalizeDefaultResult:cu,normalizeValidateResult:pu,normalizeDeprecatedResult:fu,normalizeTransferResult:du,normalizeForwardResult:gu,normalizeRedirectResult:yu},"__esModule",{value:!0});class bu extends za.Schema{constructor(e){super(e),this._choices=vu.mapFromArray(e.choices.map(e=>e&&"object"==typeof e?e:{value:e}),"value")}expected({descriptor:e}){const t=Array.from(this._choices.keys()).map(e=>this._choices.get(e)).filter(e=>!e.deprecated).map(e=>e.value).sort(vu.comparePrimitive).map(e.value),n=t.slice(0,-2),r=t.slice(-2);return n.concat(r.join(" or ")).join(", ")}validate(e){return this._choices.has(e)}deprecated(e){const t=this._choices.get(e);return!(!t||!t.deprecated)&&{value:e}}forward(e){const t=this._choices.get(e);return t?t.forward:void 0}redirect(e){const t=this._choices.get(e);return t?t.redirect:void 0}}var Du=bu,wu=Object.defineProperty({ChoiceSchema:Du},"__esModule",{value:!0});class Cu extends za.Schema{expected(){return"a number"}validate(e,t){return"number"==typeof e}}var xu=Cu,Eu=Object.defineProperty({NumberSchema:xu},"__esModule",{value:!0});class _u extends Eu.NumberSchema{expected(){return"an integer"}validate(e,t){return!0===t.normalizeValidateResult(super.validate(e,t),e)&&vu.isInt(e)}}var ku=_u,Tu=Object.defineProperty({IntegerSchema:ku},"__esModule",{value:!0});class Su extends za.Schema{expected(){return"a string"}validate(e){return"string"==typeof e}}var Au=Su,Ou=Object.defineProperty({StringSchema:Au},"__esModule",{value:!0}),Fu=i((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),Ls.__exportStar(Ga,t),Ls.__exportStar(Xa,t),Ls.__exportStar(eu,t),Ls.__exportStar(ru,t),Ls.__exportStar(wu,t),Ls.__exportStar(Tu,t),Ls.__exportStar(Eu,t),Ls.__exportStar(Ou,t)})),Nu=js.apiDescriptor,Iu=Ma.levenUnknownHandler,Pu=Na.commonInvalidHandler,Mu=Aa.commonDeprecatedHandler,Lu=Object.defineProperty({defaultDescriptor:Nu,defaultUnknownHandler:Iu,defaultInvalidHandler:Pu,defaultDeprecatedHandler:Mu},"__esModule",{value:!0});class ju{constructor(e,t){const{logger:n=console,descriptor:r=Lu.defaultDescriptor,unknown:i=Lu.defaultUnknownHandler,invalid:o=Lu.defaultInvalidHandler,deprecated:s=Lu.defaultDeprecatedHandler}=t||{};this._utils={descriptor:r,logger:n||{warn:()=>{}},schemas:vu.recordFromArray(e,"name"),normalizeDefaultResult:vu.normalizeDefaultResult,normalizeDeprecatedResult:vu.normalizeDeprecatedResult,normalizeForwardResult:vu.normalizeForwardResult,normalizeRedirectResult:vu.normalizeRedirectResult,normalizeValidateResult:vu.normalizeValidateResult},this._unknownHandler=i,this._invalidHandler=o,this._deprecatedHandler=s,this.cleanHistory()}cleanHistory(){this._hasDeprecationWarned=vu.createAutoChecklist()}normalize(e){const t={},n=[e],r=()=>{for(;0!==n.length;){const e=n.shift(),r=this._applyNormalization(e,t);n.push(...r)}};r();for(const i of Object.keys(this._utils.schemas)){const e=this._utils.schemas[i];if(!(i in t)){const t=vu.normalizeDefaultResult(e.default(this._utils));"value"in t&&n.push({[i]:t.value})}}r();for(const i of Object.keys(this._utils.schemas)){const e=this._utils.schemas[i];i in t&&(t[i]=e.postprocess(t[i],this._utils))}return t}_applyNormalization(e,t){const n=[],[r,i]=vu.partition(Object.keys(e),e=>e in this._utils.schemas);for(const o of r){const r=this._utils.schemas[o],i=r.preprocess(e[o],this._utils),s=vu.normalizeValidateResult(r.validate(i,this._utils),i);if(!0!==s){const{value:e}=s,t=this._invalidHandler(o,e,this._utils);throw"string"==typeof t?new Error(t):t}const a=({from:e,to:t})=>{n.push("string"==typeof t?{[t]:e}:{[t.key]:t.value})},u=({value:e,redirectTo:t})=>{const n=vu.normalizeDeprecatedResult(r.deprecated(e,this._utils),i,!0);if(!1!==n)if(!0===n)this._hasDeprecationWarned(o)||this._utils.logger.warn(this._deprecatedHandler(o,t,this._utils));else for(const{value:r}of n){const e={key:o,value:r};if(!this._hasDeprecationWarned(e)){const n="string"==typeof t?{key:t,value:r}:t;this._utils.logger.warn(this._deprecatedHandler(e,n,this._utils))}}};vu.normalizeForwardResult(r.forward(i,this._utils),i).forEach(a);const l=vu.normalizeRedirectResult(r.redirect(i,this._utils),i);if(l.redirect.forEach(a),"remain"in l){const e=l.remain;t[o]=o in t?r.overlap(t[o],e,this._utils):e,u({value:e})}for(const{from:e,to:t}of l.redirect)u({value:e,redirectTo:t})}for(const o of i){const r=e[o],i=this._unknownHandler(o,r,this._utils);if(i)for(const e of Object.keys(i)){const r={[e]:i[e]};e in this._utils.schemas?n.push(r):Object.assign(t,r)}}return n}}var Bu=ju,Ru=Object.defineProperty({normalize:(e,t,n)=>new ju(t,n).normalize(e),Normalizer:Bu},"__esModule",{value:!0}),$u=i((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),Ls.__exportStar(Bs,t),Ls.__exportStar(ja,t),Ls.__exportStar(Fu,t),Ls.__exportStar(Ru,t),Ls.__exportStar(za,t)}));const Hu=[],Uu=[],qu=(e,t)=>{if(e===t)return 0;const n=e;e.length>t.length&&(e=t,t=n);let r=e.length,i=t.length;for(;r>0&&e.charCodeAt(~-r)===t.charCodeAt(~-i);)r--,i--;let o,s,a,u,l=0;for(;ls?u>s?s+1:u:u>a?a+1:u;return s};var zu=qu,Vu=qu;zu.default=Vu;var Wu={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]};const Gu={};for(const t of Object.keys(Wu))Gu[Wu[t]]=t;const Ku={rgb:{channels:3,labels:"rgb"},hsl:{channels:3,labels:"hsl"},hsv:{channels:3,labels:"hsv"},hwb:{channels:3,labels:"hwb"},cmyk:{channels:4,labels:"cmyk"},xyz:{channels:3,labels:"xyz"},lab:{channels:3,labels:"lab"},lch:{channels:3,labels:"lch"},hex:{channels:1,labels:["hex"]},keyword:{channels:1,labels:["keyword"]},ansi16:{channels:1,labels:["ansi16"]},ansi256:{channels:1,labels:["ansi256"]},hcg:{channels:3,labels:["h","c","g"]},apple:{channels:3,labels:["r16","g16","b16"]},gray:{channels:1,labels:["gray"]}};var Yu=Ku;for(const t of Object.keys(Ku)){if(!("channels"in Ku[t]))throw new Error("missing channels property: "+t);if(!("labels"in Ku[t]))throw new Error("missing channel labels property: "+t);if(Ku[t].labels.length!==Ku[t].channels)throw new Error("channel and label counts mismatch: "+t);const{channels:e,labels:n}=Ku[t];delete Ku[t].channels,delete Ku[t].labels,Object.defineProperty(Ku[t],"channels",{value:e}),Object.defineProperty(Ku[t],"labels",{value:n})}function Xu(e){const t=function(){const e={},t=Object.keys(Yu);for(let n=t.length,r=0;r1&&(i-=1)),[360*i,100*o,100*l]},Ku.rgb.hwb=function(e){const t=e[0],n=e[1];let r=e[2];const i=Ku.rgb.hsl(e)[0],o=1/255*Math.min(t,Math.min(n,r));return r=1-1/255*Math.max(t,Math.max(n,r)),[i,100*o,100*r]},Ku.rgb.cmyk=function(e){const t=e[0]/255,n=e[1]/255,r=e[2]/255,i=Math.min(1-t,1-n,1-r);return[100*((1-t-i)/(1-i)||0),100*((1-n-i)/(1-i)||0),100*((1-r-i)/(1-i)||0),100*i]},Ku.rgb.keyword=function(e){const t=Gu[e];if(t)return t;let n,r=1/0;for(const s of Object.keys(Wu)){const t=(o=Wu[s],((i=e)[0]-o[0])**2+(i[1]-o[1])**2+(i[2]-o[2])**2);t.04045?((t+.055)/1.055)**2.4:t/12.92,n=n>.04045?((n+.055)/1.055)**2.4:n/12.92,r=r>.04045?((r+.055)/1.055)**2.4:r/12.92,[100*(.4124*t+.3576*n+.1805*r),100*(.2126*t+.7152*n+.0722*r),100*(.0193*t+.1192*n+.9505*r)]},Ku.rgb.lab=function(e){const t=Ku.rgb.xyz(e);let n=t[0],r=t[1],i=t[2];return n/=95.047,r/=100,i/=108.883,n=n>.008856?n**(1/3):7.787*n+16/116,r=r>.008856?r**(1/3):7.787*r+16/116,i=i>.008856?i**(1/3):7.787*i+16/116,[116*r-16,500*(n-r),200*(r-i)]},Ku.hsl.rgb=function(e){const t=e[0]/360,n=e[1]/100,r=e[2]/100;let i,o,s;if(0===n)return s=255*r,[s,s,s];i=r<.5?r*(1+n):r+n-r*n;const a=2*r-i,u=[0,0,0];for(let l=0;l<3;l++)o=t+1/3*-(l-1),o<0&&o++,o>1&&o--,s=6*o<1?a+6*(i-a)*o:2*o<1?i:3*o<2?a+(i-a)*(2/3-o)*6:a,u[l]=255*s;return u},Ku.hsl.hsv=function(e){const t=e[0];let n=e[1]/100,r=e[2]/100,i=n;const o=Math.max(r,.01);return r*=2,n*=r<=1?r:2-r,i*=o<=1?o:2-o,[t,100*(0===r?2*i/(o+i):2*n/(r+n)),(r+n)/2*100]},Ku.hsv.rgb=function(e){const t=e[0]/60,n=e[1]/100;let r=e[2]/100;const i=Math.floor(t)%6,o=t-Math.floor(t),s=255*r*(1-n),a=255*r*(1-n*o),u=255*r*(1-n*(1-o));switch(r*=255,i){case 0:return[r,u,s];case 1:return[a,r,s];case 2:return[s,r,u];case 3:return[s,a,r];case 4:return[u,s,r];case 5:return[r,s,a]}},Ku.hsv.hsl=function(e){const t=e[0],n=e[1]/100,r=e[2]/100,i=Math.max(r,.01);let o,s;s=(2-n)*r;const a=(2-n)*i;return o=n*i,o/=a<=1?a:2-a,o=o||0,s/=2,[t,100*o,100*s]},Ku.hwb.rgb=function(e){const t=e[0]/360;let n=e[1]/100,r=e[2]/100;const i=n+r;let o;i>1&&(n/=i,r/=i);const s=Math.floor(6*t),a=1-r;o=6*t-s,0!=(1&s)&&(o=1-o);const u=n+o*(a-n);let l,c,p;switch(s){default:case 6:case 0:l=a,c=u,p=n;break;case 1:l=u,c=a,p=n;break;case 2:l=n,c=a,p=u;break;case 3:l=n,c=u,p=a;break;case 4:l=u,c=n,p=a;break;case 5:l=a,c=n,p=u}return[255*l,255*c,255*p]},Ku.cmyk.rgb=function(e){const t=e[0]/100,n=e[1]/100,r=e[2]/100,i=e[3]/100;return[255*(1-Math.min(1,t*(1-i)+i)),255*(1-Math.min(1,n*(1-i)+i)),255*(1-Math.min(1,r*(1-i)+i))]},Ku.xyz.rgb=function(e){const t=e[0]/100,n=e[1]/100,r=e[2]/100;let i,o,s;return i=3.2406*t+-1.5372*n+-.4986*r,o=-.9689*t+1.8758*n+.0415*r,s=.0557*t+-.204*n+1.057*r,i=i>.0031308?1.055*i**(1/2.4)-.055:12.92*i,o=o>.0031308?1.055*o**(1/2.4)-.055:12.92*o,s=s>.0031308?1.055*s**(1/2.4)-.055:12.92*s,i=Math.min(Math.max(0,i),1),o=Math.min(Math.max(0,o),1),s=Math.min(Math.max(0,s),1),[255*i,255*o,255*s]},Ku.xyz.lab=function(e){let t=e[0],n=e[1],r=e[2];return t/=95.047,n/=100,r/=108.883,t=t>.008856?t**(1/3):7.787*t+16/116,n=n>.008856?n**(1/3):7.787*n+16/116,r=r>.008856?r**(1/3):7.787*r+16/116,[116*n-16,500*(t-n),200*(n-r)]},Ku.lab.xyz=function(e){let t,n,r;n=(e[0]+16)/116,t=e[1]/500+n,r=n-e[2]/200;const i=n**3,o=t**3,s=r**3;return n=i>.008856?i:(n-16/116)/7.787,t=o>.008856?o:(t-16/116)/7.787,r=s>.008856?s:(r-16/116)/7.787,t*=95.047,n*=100,r*=108.883,[t,n,r]},Ku.lab.lch=function(e){const t=e[0],n=e[1],r=e[2];let i;return i=360*Math.atan2(r,n)/2/Math.PI,i<0&&(i+=360),[t,Math.sqrt(n*n+r*r),i]},Ku.lch.lab=function(e){const t=e[0],n=e[1],r=e[2]/360*2*Math.PI;return[t,n*Math.cos(r),n*Math.sin(r)]},Ku.rgb.ansi16=function(e,t=null){const[n,r,i]=e;let o=null===t?Ku.rgb.hsv(e)[2]:t;if(o=Math.round(o/50),0===o)return 30;let s=30+(Math.round(i/255)<<2|Math.round(r/255)<<1|Math.round(n/255));return 2===o&&(s+=60),s},Ku.hsv.ansi16=function(e){return Ku.rgb.ansi16(Ku.hsv.rgb(e),e[2])},Ku.rgb.ansi256=function(e){const t=e[0],n=e[1],r=e[2];return t===n&&n===r?t<8?16:t>248?231:Math.round((t-8)/247*24)+232:16+36*Math.round(t/255*5)+6*Math.round(n/255*5)+Math.round(r/255*5)},Ku.ansi16.rgb=function(e){let t=e%10;if(0===t||7===t)return e>50&&(t+=3.5),t=t/10.5*255,[t,t,t];const n=.5*(1+~~(e>50));return[(1&t)*n*255,(t>>1&1)*n*255,(t>>2&1)*n*255]},Ku.ansi256.rgb=function(e){if(e>=232){const t=10*(e-232)+8;return[t,t,t]}let t;return e-=16,[Math.floor(e/36)/5*255,Math.floor((t=e%36)/6)/5*255,t%6/5*255]},Ku.rgb.hex=function(e){const t=(((255&Math.round(e[0]))<<16)+((255&Math.round(e[1]))<<8)+(255&Math.round(e[2]))).toString(16).toUpperCase();return"000000".substring(t.length)+t},Ku.hex.rgb=function(e){const t=e.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!t)return[0,0,0];let n=t[0];3===t[0].length&&(n=n.split("").map(e=>e+e).join(""));const r=parseInt(n,16);return[r>>16&255,r>>8&255,255&r]},Ku.rgb.hcg=function(e){const t=e[0]/255,n=e[1]/255,r=e[2]/255,i=Math.max(Math.max(t,n),r),o=Math.min(Math.min(t,n),r),s=i-o;let a,u;return a=s<1?o/(1-s):0,u=s<=0?0:i===t?(n-r)/s%6:i===n?2+(r-t)/s:4+(t-n)/s,u/=6,u%=1,[360*u,100*s,100*a]},Ku.hsl.hcg=function(e){const t=e[1]/100,n=e[2]/100,r=n<.5?2*t*n:2*t*(1-n);let i=0;return r<1&&(i=(n-.5*r)/(1-r)),[e[0],100*r,100*i]},Ku.hsv.hcg=function(e){const t=e[1]/100,n=e[2]/100,r=t*n;let i=0;return r<1&&(i=(n-r)/(1-r)),[e[0],100*r,100*i]},Ku.hcg.rgb=function(e){const t=e[0]/360,n=e[1]/100,r=e[2]/100;if(0===n)return[255*r,255*r,255*r];const i=[0,0,0],o=t%1*6,s=o%1,a=1-s;let u=0;switch(Math.floor(o)){case 0:i[0]=1,i[1]=s,i[2]=0;break;case 1:i[0]=a,i[1]=1,i[2]=0;break;case 2:i[0]=0,i[1]=1,i[2]=s;break;case 3:i[0]=0,i[1]=a,i[2]=1;break;case 4:i[0]=s,i[1]=0,i[2]=1;break;default:i[0]=1,i[1]=0,i[2]=a}return u=(1-n)*r,[255*(n*i[0]+u),255*(n*i[1]+u),255*(n*i[2]+u)]},Ku.hcg.hsv=function(e){const t=e[1]/100,n=t+e[2]/100*(1-t);let r=0;return n>0&&(r=t/n),[e[0],100*r,100*n]},Ku.hcg.hsl=function(e){const t=e[1]/100,n=e[2]/100*(1-t)+.5*t;let r=0;return n>0&&n<.5?r=t/(2*n):n>=.5&&n<1&&(r=t/(2*(1-n))),[e[0],100*r,100*n]},Ku.hcg.hwb=function(e){const t=e[1]/100,n=t+e[2]/100*(1-t);return[e[0],100*(n-t),100*(1-n)]},Ku.hwb.hcg=function(e){const t=e[1]/100,n=1-e[2]/100,r=n-t;let i=0;return r<1&&(i=(n-r)/(1-r)),[e[0],100*r,100*i]},Ku.apple.rgb=function(e){return[e[0]/65535*255,e[1]/65535*255,e[2]/65535*255]},Ku.rgb.apple=function(e){return[e[0]/255*65535,e[1]/255*65535,e[2]/255*65535]},Ku.gray.rgb=function(e){return[e[0]/100*255,e[0]/100*255,e[0]/100*255]},Ku.gray.hsl=function(e){return[0,0,e[0]]},Ku.gray.hsv=Ku.gray.hsl,Ku.gray.hwb=function(e){return[0,100,e[0]]},Ku.gray.cmyk=function(e){return[0,0,0,e[0]]},Ku.gray.lab=function(e){return[e[0],0,0]},Ku.gray.hex=function(e){const t=255&Math.round(e[0]/100*255),n=((t<<16)+(t<<8)+t).toString(16).toUpperCase();return"000000".substring(n.length)+n},Ku.rgb.gray=function(e){return[(e[0]+e[1]+e[2])/3/255*100]};const Zu={};Object.keys(Yu).forEach(e=>{Zu[e]={},Object.defineProperty(Zu[e],"channels",{value:Yu[e].channels}),Object.defineProperty(Zu[e],"labels",{value:Yu[e].labels});const t=function(e){const t=Xu(e),n={},r=Object.keys(t);for(let i=r.length,o=0;o{const r=t[n];Zu[e][n]=function(e){const t=function(...t){const n=t[0];if(null==n)return n;n.length>1&&(t=n);const r=e(t);if("object"==typeof r)for(let e=r.length,i=0;i1&&(t=n),e(t))};return"conversion"in e&&(t.conversion=e.conversion),t}(r)})});var el=Zu,tl=i((function(e){const t=(e,t)=>(...n)=>`[${e(...n)+t}m`,n=(e,t)=>(...n)=>{const r=e(...n);return`[${38+t};5;${r}m`},r=(e,t)=>(...n)=>{const r=e(...n);return`[${38+t};2;${r[0]};${r[1]};${r[2]}m`},i=e=>e,o=(e,t,n)=>[e,t,n],s=(e,t,n)=>{Object.defineProperty(e,t,{get:()=>{const r=n();return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0}),r},enumerable:!0,configurable:!0})};let a;const u=(e,t,n,r)=>{void 0===a&&(a=el);const i=r?10:0,o={};for(const[s,u]of Object.entries(a)){const r="ansi16"===s?"ansi":s;s===t?o[r]=e(n,i):"object"==typeof u&&(o[r]=e(u[t],i))}return o};Object.defineProperty(e,"exports",{enumerable:!0,get:function(){const e=new Map,a={modifier:{reset:[0,0],bold:[1,22],dim:[2,22],italic:[3,23],underline:[4,24],inverse:[7,27],hidden:[8,28],strikethrough:[9,29]},color:{black:[30,39],red:[31,39],green:[32,39],yellow:[33,39],blue:[34,39],magenta:[35,39],cyan:[36,39],white:[37,39],blackBright:[90,39],redBright:[91,39],greenBright:[92,39],yellowBright:[93,39],blueBright:[94,39],magentaBright:[95,39],cyanBright:[96,39],whiteBright:[97,39]},bgColor:{bgBlack:[40,49],bgRed:[41,49],bgGreen:[42,49],bgYellow:[43,49],bgBlue:[44,49],bgMagenta:[45,49],bgCyan:[46,49],bgWhite:[47,49],bgBlackBright:[100,49],bgRedBright:[101,49],bgGreenBright:[102,49],bgYellowBright:[103,49],bgBlueBright:[104,49],bgMagentaBright:[105,49],bgCyanBright:[106,49],bgWhiteBright:[107,49]}};a.color.gray=a.color.blackBright,a.bgColor.bgGray=a.bgColor.bgBlackBright,a.color.grey=a.color.blackBright,a.bgColor.bgGrey=a.bgColor.bgBlackBright;for(const[t,n]of Object.entries(a)){for(const[t,r]of Object.entries(n))a[t]={open:`[${r[0]}m`,close:`[${r[1]}m`},n[t]=a[t],e.set(r[0],r[1]);Object.defineProperty(a,t,{value:n,enumerable:!1})}return Object.defineProperty(a,"codes",{value:e,enumerable:!1}),a.color.close="",a.bgColor.close="",s(a.color,"ansi",()=>u(t,"ansi16",i,!1)),s(a.color,"ansi256",()=>u(n,"ansi256",i,!1)),s(a.color,"ansi16m",()=>u(r,"rgb",o,!1)),s(a.bgColor,"ansi",()=>u(t,"ansi16",i,!0)),s(a.bgColor,"ansi256",()=>u(n,"ansi256",i,!0)),s(a.bgColor,"ansi16m",()=>u(r,"rgb",o,!0)),a}})}));function nl(){return!1}function rl(){throw new Error("tty.ReadStream is not implemented")}function il(){throw new Error("tty.ReadStream is not implemented")}var ol={isatty:nl,ReadStream:rl,WriteStream:il},sl=(e,t=Ar.argv)=>{const n=e.startsWith("-")?"":1===e.length?"-":"--",r=t.indexOf(n+e),i=t.indexOf("--");return-1!==r&&(-1===i||r=2,has16m:e>=3}}function pl(e,t){if(0===ll)return 0;if(sl("color=16m")||sl("color=full")||sl("color=truecolor"))return 3;if(sl("color=256"))return 2;if(e&&!t&&void 0===ll)return 0;const n=ll||0;if("dumb"===ul.TERM)return n;if("win32"===Ar.platform){const e=ha.release().split(".");return Number(e[0])>=10&&Number(e[2])>=10586?Number(e[2])>=14931?3:2:1}if("CI"in ul)return["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI","GITHUB_ACTIONS","BUILDKITE"].some(e=>e in ul)||"codeship"===ul.CI_NAME?1:n;if("TEAMCITY_VERSION"in ul)return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(ul.TEAMCITY_VERSION)?1:0;if("truecolor"===ul.COLORTERM)return 3;if("TERM_PROGRAM"in ul){const e=parseInt((ul.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(ul.TERM_PROGRAM){case"iTerm.app":return e>=3?3:2;case"Apple_Terminal":return 2}}return/-256(color)?$/i.test(ul.TERM)?2:/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(ul.TERM)||"COLORTERM"in ul?1:n}sl("no-color")||sl("no-colors")||sl("color=false")||sl("color=never")?ll=0:(sl("color")||sl("colors")||sl("color=true")||sl("color=always"))&&(ll=1),"FORCE_COLOR"in ul&&(ll="true"===ul.FORCE_COLOR?1:"false"===ul.FORCE_COLOR?0:0===ul.FORCE_COLOR.length?1:Math.min(parseInt(ul.FORCE_COLOR,10),3));var fl={supportsColor:function(e){return cl(pl(e,e&&e.isTTY))},stdout:cl(pl(!0,al.isatty(1))),stderr:cl(pl(!0,al.isatty(2)))},hl={stringReplaceAll:(e,t,n)=>{let r=e.indexOf(t);if(-1===r)return e;const i=t.length;let o=0,s="";do{s+=e.substr(o,r-o)+t+n,o=r+i,r=e.indexOf(t,o)}while(-1!==r);return s+=e.substr(o),s},stringEncaseCRLFWithFirstIndex:(e,t,n,r)=>{let i=0,o="";do{const s="\r"===e[r-1];o+=e.substr(i,(s?r-1:r)-i)+t+(s?"\r\n":"\n")+n,i=r+1,r=e.indexOf("\n",i)}while(-1!==r);return o+=e.substr(i),o}};const dl=/(?:\\(u(?:[a-f\d]{4}|\{[a-f\d]{1,6}\})|x[a-f\d]{2}|.))|(?:\{(~)?(\w+(?:\([^)]*\))?(?:\.\w+(?:\([^)]*\))?)*)(?:[ \t]|(?=\r?\n)))|(\})|((?:.|[\r\n\f])+?)/gi,ml=/(?:^|\.)(\w+)(?:\(([^)]*)\))?/g,gl=/^(['"])((?:\\.|(?!\1)[^\\])*)\1$/,yl=/\\(u(?:[a-f\d]{4}|{[a-f\d]{1,6}})|x[a-f\d]{2}|.)|([^\\])/gi,vl=new Map([["n","\n"],["r","\r"],["t","\t"],["b","\b"],["f","\f"],["v","\v"],["0","\0"],["\\","\\"],["e",""],["a",""]]);function bl(e){const t="u"===e[0],n="{"===e[1];return t&&!n&&5===e.length||"x"===e[0]&&3===e.length?String.fromCharCode(parseInt(e.slice(1),16)):t&&n?String.fromCodePoint(parseInt(e.slice(2,-1),16)):vl.get(e)||e}function Dl(e,t){const n=[],r=t.trim().split(/\s*,\s*/g);let i;for(const o of r){const t=Number(o);if(Number.isNaN(t)){if(!(i=o.match(gl)))throw new Error(`Invalid Chalk template style argument: ${o} (in style '${e}')`);n.push(i[2].replace(yl,(e,t,n)=>t?bl(t):n))}else n.push(t)}return n}function wl(e){ml.lastIndex=0;const t=[];let n;for(;null!==(n=ml.exec(e));){const e=n[1];if(n[2]){const r=Dl(e,n[2]);t.push([e].concat(r))}else t.push([e])}return t}function Cl(e,t){const n={};for(const i of t)for(const e of i.styles)n[e[0]]=i.inverse?null:e.slice(1);let r=e;for(const[i,o]of Object.entries(n))if(Array.isArray(o)){if(!(i in r))throw new Error("Unknown Chalk style: "+i);r=o.length>0?r[i](...o):r[i]}return r}var xl=(e,t)=>{const n=[],r=[];let i=[];if(t.replace(dl,(t,o,s,a,u,l)=>{if(o)i.push(bl(o));else if(a){const t=i.join("");i=[],r.push(0===n.length?t:Cl(e,n)(t)),n.push({inverse:s,styles:wl(a)})}else if(u){if(0===n.length)throw new Error("Found extraneous } in Chalk template literal");r.push(Cl(e,n)(i.join(""))),i=[],n.pop()}else i.push(l)}),r.push(i.join("")),n.length>0){const e=`Chalk template literal is missing ${n.length} closing bracket${1===n.length?"":"s"} (\`}\`)`;throw new Error(e)}return r.join("")};const{stdout:El,stderr:_l}=fl,{stringReplaceAll:kl,stringEncaseCRLFWithFirstIndex:Tl}=hl,{isArray:Sl}=Array,Al=["ansi","ansi","ansi256","ansi16m"],Ol=Object.create(null);class Fl{constructor(e){return Nl(e)}}const Nl=e=>{const t={};return((e,t={})=>{if(t.level&&!(Number.isInteger(t.level)&&t.level>=0&&t.level<=3))throw new Error("The `level` option should be an integer from 0 to 3");const n=El?El.level:0;e.level=void 0===t.level?n:t.level})(t,e),t.template=(...e)=>$l(t.template,...e),Object.setPrototypeOf(t,Il.prototype),Object.setPrototypeOf(t.template,t),t.template.constructor=()=>{throw new Error("`chalk.constructor()` is deprecated. Use `new chalk.Instance()` instead.")},t.template.Instance=Fl,t.template};function Il(e){return Nl(e)}for(const[t,ZH]of Object.entries(tl))Ol[t]={get(){const e=jl(this,Ll(ZH.open,ZH.close,this._styler),this._isEmpty);return Object.defineProperty(this,t,{value:e}),e}};Ol.visible={get(){const e=jl(this,this._styler,!0);return Object.defineProperty(this,"visible",{value:e}),e}};const Pl=["rgb","hex","keyword","hsl","hsv","hwb","ansi","ansi256"];for(const t of Pl)Ol[t]={get(){const{level:e}=this;return function(...n){const r=Ll(tl.color[Al[e]][t](...n),tl.color.close,this._styler);return jl(this,r,this._isEmpty)}}};for(const t of Pl)Ol["bg"+t[0].toUpperCase()+t.slice(1)]={get(){const{level:e}=this;return function(...n){const r=Ll(tl.bgColor[Al[e]][t](...n),tl.bgColor.close,this._styler);return jl(this,r,this._isEmpty)}}};const Ml=Object.defineProperties(()=>{},Object.assign(Object.assign({},Ol),{},{level:{enumerable:!0,get(){return this._generator.level},set(e){this._generator.level=e}}})),Ll=(e,t,n)=>{let r,i;return void 0===n?(r=e,i=t):(r=n.openAll+e,i=t+n.closeAll),{open:e,close:t,openAll:r,closeAll:i,parent:n}},jl=(e,t,n)=>{const r=(...e)=>Sl(e[0])&&Sl(e[0].raw)?Bl(r,$l(r,...e)):Bl(r,1===e.length?""+e[0]:e.join(" "));return Object.setPrototypeOf(r,Ml),r._generator=e,r._styler=t,r._isEmpty=n,r},Bl=(e,t)=>{if(e.level<=0||!t)return e._isEmpty?"":t;let n=e._styler;if(void 0===n)return t;const{openAll:r,closeAll:i}=n;if(-1!==t.indexOf(""))for(;void 0!==n;)t=kl(t,n.close,n.open),n=n.parent;const o=t.indexOf("\n");return-1!==o&&(t=Tl(t,i,r,o)),r+t+i};let Rl;const $l=(e,...t)=>{const[n]=t;if(!Sl(n)||!Sl(n.raw))return t.join(" ");const r=t.slice(1),i=[n.raw[0]];for(let o=1;o1===e.length?"-"+e:"--"+e,value:e=>$u.apiDescriptor.value(e),pair:({key:e,value:t})=>!1===t?"--no-"+e:!0===t?zl.key(e):""===t?zl.key(e)+" without an argument":`${zl.key(e)}=${t}`};class Vl extends $u.ChoiceSchema{constructor({name:e,flags:t}){super({name:e,choices:t}),this._flags=[...t].sort()}preprocess(e,t){if("string"==typeof e&&e.length>0&&!this._flags.includes(e)){const n=this._flags.find(t=>zu(t,e)<3);if(n)return t.logger.warn([`Unknown flag ${Ul.yellow(t.descriptor.value(e))},`,`did you mean ${Ul.blue(t.descriptor.value(n))}?`].join(" ")),n}return e}expected(){return"a flag"}}let Wl;function Gl(e,t,{logger:n,isCLI:r=!1,passThrough:i=!1}={}){const o=i?Array.isArray(i)?(e,t)=>i.includes(e)?{[e]:t}:void 0:(e,t)=>({[e]:t}):(e,t,n)=>{const r=Rn(n.schemas,ql);return $u.levenUnknownHandler(e,t,Object.assign(Object.assign({},n),{},{schemas:r}))},s=r?zl:$u.apiDescriptor,a=function(e,{isCLI:t}){const n=[];t&&n.push($u.AnySchema.create({name:"_"}));for(const r of e)n.push(Kl(r,{isCLI:t,optionInfos:e})),r.alias&&t&&n.push($u.AliasSchema.create({name:r.alias,sourceName:r.name}));return n}(t,{isCLI:r}),u=new $u.Normalizer(a,{logger:n,unknown:o,descriptor:s}),l=!1!==n;l&&Wl&&(u._hasDeprecationWarned=Wl);const c=u.normalize(e);return l&&(Wl=u._hasDeprecationWarned),c}function Kl(e,{isCLI:t,optionInfos:n}){let r;const i={name:e.name},o={};switch(e.type){case"int":r=$u.IntegerSchema,t&&(i.preprocess=e=>Number(e));break;case"string":r=$u.StringSchema;break;case"choice":r=$u.ChoiceSchema,i.choices=e.choices.map(t=>"object"==typeof t&&t.redirect?Object.assign(Object.assign({},t),{},{redirect:{to:{key:e.name,value:t.redirect}}}):t);break;case"boolean":r=$u.BooleanSchema;break;case"flag":r=Vl,i.flags=n.flatMap(e=>[e.alias,e.description&&e.name,e.oppositeDescription&&"no-"+e.name].filter(Boolean));break;case"path":r=$u.StringSchema;break;default:throw new Error("Unexpected type "+e.type)}if(e.exception?i.validate=(t,n,r)=>e.exception(t)||n.validate(t,r):i.validate=(e,t,n)=>void 0===e||t.validate(e,n),e.redirect&&(o.redirect=t=>t?{to:{key:e.redirect.option,value:e.redirect.value}}:void 0),e.deprecated&&(o.deprecated=!0),t&&!e.array){const e=i.preprocess||(e=>e);i.preprocess=(t,n,r)=>n.preprocess(e(Array.isArray(t)?Bn(t):t),r)}return e.array?$u.ArraySchema.create(Object.assign(Object.assign(Object.assign({},t?{preprocess:e=>Array.isArray(e)?e:[e]}:{}),o),{},{valueSchema:r.create(i)})):r.create(Object.assign(Object.assign({},i),o))}var Yl={normalizeApiOptions:function(e,t,n){return Gl(e,t,n)},normalizeCliOptions:function(e,t,n){return Gl(e,t,Object.assign({isCLI:!0},n))}};const{isNonEmptyArray:Xl}=_i;function Jl(e,t){const{ignoreDecorators:n}=t||{};if(!n){const t=e.declaration&&e.declaration.decorators||e.decorators;if(Xl(t))return Jl(t[0])}return e.range?e.range[0]:e.start}function Ql(e){return e.range?e.range[1]:e.end}function Zl(e,t){return Jl(e)===Jl(t)}var ec={locStart:Jl,locEnd:Ql,hasSameLocStart:Zl,hasSameLoc:function(e,t){return Zl(e,t)&&function(e,t){return Ql(e)===Ql(t)}(e,t)}},tc=Object.defineProperty({default:/((['"])(?:(?!\2|\\).|\\(?:\r\n|[\s\S]))*(\2)?|`(?:[^`\\$]|\\[\s\S]|\$(?!\{)|\$\{(?:[^{}]|\{[^}]*\}?)*\}?)*(`)?)|(\/\/.*)|(\/\*(?:[^*]|\*(?!\/))*(\*\/)?)|(\/(?!\*)(?:\[(?:(?![\]\\]).|\\.)*\]|(?![\/\]\\]).|\\.)+\/(?:(?!\s*(?:\b|[\u0080-\uFFFF$\\'"~({]|[+\-!](?!=)|\.?\d))|[gmiyus]{1,6}\b(?![\u0080-\uFFFF$\\]|\s*(?:[+\-*%&|^<>!=?({]|\/(?![\/*])))))|(0[xX][\da-fA-F]+|0[oO][0-7]+|0[bB][01]+|(?:\d*\.\d+|\d+\.?)(?:[eE][+-]?\d+)?)|((?!\d)(?:(?!\s)[$\w\u0080-\uFFFF]|\\u[\da-fA-F]{4}|\\u\{[\da-fA-F]+\})+)|(--|\+\+|&&|\|\||=>|\.{3}|(?:[+\-\/%&|^]|\*{1,2}|<{1,2}|>{1,3}|!=?|={1,2})=?|[?~.,:;[\](){}])|(\s+)|(^$|[\s\S])/g,matchToToken:function(e){var t={type:"invalid",value:e[0],closed:void 0};return e[1]?(t.type="string",t.closed=!(!e[3]&&!e[4])):e[5]?t.type="comment":e[6]?(t.type="comment",t.closed=!!e[7]):e[8]?t.type="regex":e[9]?t.type="number":e[10]?t.type="name":e[11]?t.type="punctuator":e[12]&&(t.type="whitespace"),t}},"__esModule",{value:!0}),nc=fc,rc=hc,ic=function(e){let t=!0;for(let n=0;ne)return!1;if(n+=t[r+1],n>=e)return!0}return!1}function fc(e){return e<65?36===e:e<=90||(e<97?95===e:e<=122||(e<=65535?e>=170&&ac.test(String.fromCharCode(e)):pc(e,lc)))}function hc(e){return e<48?36===e:e<58||!(e<65)&&(e<=90||(e<97?95===e:e<=122||(e<=65535?e>=170&&uc.test(String.fromCharCode(e)):pc(e,lc)||pc(e,cc))))}var dc=Object.defineProperty({isIdentifierStart:nc,isIdentifierChar:rc,isIdentifierName:ic},"__esModule",{value:!0}),mc=_c,gc=kc,yc=Tc,vc=function(e,t){return kc(e,t)||Tc(e)},bc=function(e){return Cc.has(e)};const Dc=["implements","interface","let","package","private","protected","public","static","yield"],wc=["eval","arguments"],Cc=new Set(["break","case","catch","continue","debugger","default","do","else","finally","for","function","if","return","switch","throw","try","var","const","while","with","new","this","super","class","extends","export","import","null","true","false","in","instanceof","typeof","void","delete"]),xc=new Set(Dc),Ec=new Set(wc);function _c(e,t){return t&&"await"===e||"enum"===e}function kc(e,t){return _c(e,t)||xc.has(e)}function Tc(e){return Ec.has(e)}var Sc=Object.defineProperty({isReservedWord:mc,isStrictReservedWord:gc,isStrictBindOnlyReservedWord:yc,isStrictBindReservedWord:vc,isKeyword:bc},"__esModule",{value:!0}),Ac=i((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"isIdentifierName",{enumerable:!0,get:function(){return dc.isIdentifierName}}),Object.defineProperty(t,"isIdentifierChar",{enumerable:!0,get:function(){return dc.isIdentifierChar}}),Object.defineProperty(t,"isIdentifierStart",{enumerable:!0,get:function(){return dc.isIdentifierStart}}),Object.defineProperty(t,"isReservedWord",{enumerable:!0,get:function(){return Sc.isReservedWord}}),Object.defineProperty(t,"isStrictBindOnlyReservedWord",{enumerable:!0,get:function(){return Sc.isStrictBindOnlyReservedWord}}),Object.defineProperty(t,"isStrictBindReservedWord",{enumerable:!0,get:function(){return Sc.isStrictBindReservedWord}}),Object.defineProperty(t,"isStrictReservedWord",{enumerable:!0,get:function(){return Sc.isStrictReservedWord}}),Object.defineProperty(t,"isKeyword",{enumerable:!0,get:function(){return Sc.isKeyword}})})),Oc=/[|\\{}()[\]^$+*?.]/g,Fc=function(e){if("string"!=typeof e)throw new TypeError("Expected a string");return e.replace(Oc,"\\$&")},Nc=i((function(e){const t=(e,t)=>function(){const n=e.apply(Ks,arguments);return`[${n+t}m`},n=(e,t)=>function(){const n=e.apply(Ks,arguments);return`[${38+t};5;${n}m`},r=(e,t)=>function(){const n=e.apply(Ks,arguments);return`[${38+t};2;${n[0]};${n[1]};${n[2]}m`};Object.defineProperty(e,"exports",{enumerable:!0,get:function(){const e=new Map,i={modifier:{reset:[0,0],bold:[1,22],dim:[2,22],italic:[3,23],underline:[4,24],inverse:[7,27],hidden:[8,28],strikethrough:[9,29]},color:{black:[30,39],red:[31,39],green:[32,39],yellow:[33,39],blue:[34,39],magenta:[35,39],cyan:[36,39],white:[37,39],gray:[90,39],redBright:[91,39],greenBright:[92,39],yellowBright:[93,39],blueBright:[94,39],magentaBright:[95,39],cyanBright:[96,39],whiteBright:[97,39]},bgColor:{bgBlack:[40,49],bgRed:[41,49],bgGreen:[42,49],bgYellow:[43,49],bgBlue:[44,49],bgMagenta:[45,49],bgCyan:[46,49],bgWhite:[47,49],bgBlackBright:[100,49],bgRedBright:[101,49],bgGreenBright:[102,49],bgYellowBright:[103,49],bgBlueBright:[104,49],bgMagentaBright:[105,49],bgCyanBright:[106,49],bgWhiteBright:[107,49]}};i.color.grey=i.color.gray;for(const t of Object.keys(i)){const n=i[t];for(const t of Object.keys(n)){const r=n[t];i[t]={open:`[${r[0]}m`,close:`[${r[1]}m`},n[t]=i[t],e.set(r[0],r[1])}Object.defineProperty(i,t,{value:n,enumerable:!1}),Object.defineProperty(i,"codes",{value:e,enumerable:!1})}const o=e=>e,s=(e,t,n)=>[e,t,n];i.color.close="",i.bgColor.close="",i.color.ansi={ansi:t(o,0)},i.color.ansi256={ansi256:n(o,0)},i.color.ansi16m={rgb:r(s,0)},i.bgColor.ansi={ansi:t(o,10)},i.bgColor.ansi256={ansi256:n(o,10)},i.bgColor.ansi16m={rgb:r(s,10)};for(let a of Object.keys(Ks)){if("object"!=typeof Ks[a])continue;const e=Ks[a];"ansi16"===a&&(a="ansi"),"ansi16"in e&&(i.color.ansi[a]=t(e.ansi16,0),i.bgColor.ansi[a]=t(e.ansi16,10)),"ansi256"in e&&(i.color.ansi256[a]=n(e.ansi256,0),i.bgColor.ansi256[a]=n(e.ansi256,10)),"rgb"in e&&(i.color.ansi16m[a]=r(e.rgb,0),i.bgColor.ansi16m[a]=r(e.rgb,10))}return i}})})),Ic=(e,t)=>{t=t||Ar.argv;const n=e.startsWith("-")?"":1===e.length?"-":"--",r=t.indexOf(n+e),i=t.indexOf("--");return-1!==r&&(-1===i||r=2,has16m:e>=3}}(function(e){if(!1===Mc)return 0;if(Ic("color=16m")||Ic("color=full")||Ic("color=truecolor"))return 3;if(Ic("color=256"))return 2;if(e&&!e.isTTY&&!0!==Mc)return 0;const t=Mc?1:0;if("win32"===Ar.platform){const e=ha.release().split(".");return Number(Ar.versions.node.split(".")[0])>=8&&Number(e[0])>=10&&Number(e[2])>=10586?Number(e[2])>=14931?3:2:1}if("CI"in Pc)return["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI"].some(e=>e in Pc)||"codeship"===Pc.CI_NAME?1:t;if("TEAMCITY_VERSION"in Pc)return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(Pc.TEAMCITY_VERSION)?1:0;if("truecolor"===Pc.COLORTERM)return 3;if("TERM_PROGRAM"in Pc){const e=parseInt((Pc.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(Pc.TERM_PROGRAM){case"iTerm.app":return e>=3?3:2;case"Apple_Terminal":return 2}}return/-256(color)?$/i.test(Pc.TERM)?2:/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(Pc.TERM)||"COLORTERM"in Pc?1:(Pc.TERM,t)}(e))}Ic("no-color")||Ic("no-colors")||Ic("color=false")?Mc=!1:(Ic("color")||Ic("colors")||Ic("color=true")||Ic("color=always"))&&(Mc=!0),"FORCE_COLOR"in Pc&&(Mc=0===Pc.FORCE_COLOR.length||0!==parseInt(Pc.FORCE_COLOR,10));var jc={supportsColor:Lc,stdout:Lc(Ar.stdout),stderr:Lc(Ar.stderr)};const Bc=/(?:\\(u[a-f\d]{4}|x[a-f\d]{2}|.))|(?:\{(~)?(\w+(?:\([^)]*\))?(?:\.\w+(?:\([^)]*\))?)*)(?:[ \t]|(?=\r?\n)))|(\})|((?:.|[\r\n\f])+?)/gi,Rc=/(?:^|\.)(\w+)(?:\(([^)]*)\))?/g,$c=/^(['"])((?:\\.|(?!\1)[^\\])*)\1$/,Hc=/\\(u[a-f\d]{4}|x[a-f\d]{2}|.)|([^\\])/gi,Uc=new Map([["n","\n"],["r","\r"],["t","\t"],["b","\b"],["f","\f"],["v","\v"],["0","\0"],["\\","\\"],["e",""],["a",""]]);function qc(e){return"u"===e[0]&&5===e.length||"x"===e[0]&&3===e.length?String.fromCharCode(parseInt(e.slice(1),16)):Uc.get(e)||e}function zc(e,t){const n=[],r=t.trim().split(/\s*,\s*/g);let i;for(const o of r)if(isNaN(o)){if(!(i=o.match($c)))throw new Error(`Invalid Chalk template style argument: ${o} (in style '${e}')`);n.push(i[2].replace(Hc,(e,t,n)=>t?qc(t):n))}else n.push(Number(o));return n}function Vc(e){Rc.lastIndex=0;const t=[];let n;for(;null!==(n=Rc.exec(e));){const e=n[1];if(n[2]){const r=zc(e,n[2]);t.push([e].concat(r))}else t.push([e])}return t}function Wc(e,t){const n={};for(const i of t)for(const e of i.styles)n[e[0]]=i.inverse?null:e.slice(1);let r=e;for(const i of Object.keys(n))if(Array.isArray(n[i])){if(!(i in r))throw new Error("Unknown Chalk style: "+i);r=n[i].length>0?r[i].apply(r,n[i]):r[i]}return r}var Gc=(e,t)=>{const n=[],r=[];let i=[];if(t.replace(Bc,(t,o,s,a,u,l)=>{if(o)i.push(qc(o));else if(a){const t=i.join("");i=[],r.push(0===n.length?t:Wc(e,n)(t)),n.push({inverse:s,styles:Vc(a)})}else if(u){if(0===n.length)throw new Error("Found extraneous } in Chalk template literal");r.push(Wc(e,n)(i.join(""))),i=[],n.pop()}else i.push(l)}),r.push(i.join("")),n.length>0){const e=`Chalk template literal is missing ${n.length} closing bracket${1===n.length?"":"s"} (\`}\`)`;throw new Error(e)}return r.join("")},Kc=i((function(e){const t=jc.stdout,n="win32"===Ar.platform&&!(Ar.env.TERM||"").toLowerCase().startsWith("xterm"),r=["ansi","ansi","ansi256","ansi16m"],i=new Set(["gray"]),o=Object.create(null);function s(e,n){n=n||{};const r=t?t.level:0;e.level=void 0===n.level?r:n.level,e.enabled="enabled"in n?n.enabled:e.level>0}function a(e){if(!this||!(this instanceof a)||this.template){const t={};return s(t,e),t.template=function(){const e=[].slice.call(arguments);return p.apply(null,[t.template].concat(e))},Object.setPrototypeOf(t,a.prototype),Object.setPrototypeOf(t.template,t),t.template.constructor=a,t.template}s(this,e)}n&&(Nc.blue.open="");for(const f of Object.keys(Nc))Nc[f].closeRe=new RegExp(Fc(Nc[f].close),"g"),o[f]={get(){const e=Nc[f];return l.call(this,this._styles?this._styles.concat(e):[e],this._empty,f)}};o.visible={get(){return l.call(this,this._styles||[],!0,"visible")}},Nc.color.closeRe=new RegExp(Fc(Nc.color.close),"g");for(const f of Object.keys(Nc.color.ansi))i.has(f)||(o[f]={get(){const e=this.level;return function(){const t=Nc.color[r[e]][f].apply(null,arguments),n={open:t,close:Nc.color.close,closeRe:Nc.color.closeRe};return l.call(this,this._styles?this._styles.concat(n):[n],this._empty,f)}}});Nc.bgColor.closeRe=new RegExp(Fc(Nc.bgColor.close),"g");for(const f of Object.keys(Nc.bgColor.ansi))i.has(f)||(o["bg"+f[0].toUpperCase()+f.slice(1)]={get(){const e=this.level;return function(){const t=Nc.bgColor[r[e]][f].apply(null,arguments),n={open:t,close:Nc.bgColor.close,closeRe:Nc.bgColor.closeRe};return l.call(this,this._styles?this._styles.concat(n):[n],this._empty,f)}}});const u=Object.defineProperties(()=>{},o);function l(e,t,n){const r=function(){return c.apply(r,arguments)};r._styles=e,r._empty=t;const i=this;return Object.defineProperty(r,"level",{enumerable:!0,get:()=>i.level,set(e){i.level=e}}),Object.defineProperty(r,"enabled",{enumerable:!0,get:()=>i.enabled,set(e){i.enabled=e}}),r.hasGrey=this.hasGrey||"gray"===n||"grey"===n,r.__proto__=u,r}function c(){const e=arguments,t=e.length;let r=String(arguments[0]);if(0===t)return"";if(t>1)for(let n=1;nt(e)).join("\n"):i}return n}(function(e){return{keyword:e.cyan,capitalized:e.yellow,jsxIdentifier:e.yellow,punctuator:e.yellow,number:e.magenta,string:e.green,regex:e.magenta,comment:e.grey,invalid:e.white.bgRed.bold}}(n),e)}return e};const Qc=new Set(["as","async","from","get","of","set"]),Zc=/\r\n|[\n\r\u2028\u2029]/,ep=/^[()[\]{}]$/;let tp;{const e=/^[a-z][\w-]*$/i,t=function(t,n,r){if("name"===t.type){if((0,Ac.isKeyword)(t.value)||(0,Ac.isStrictReservedWord)(t.value,!0)||Qc.has(t.value))return"keyword";if(e.test(t.value)&&("<"===r[n-1]||"r?e(t):t,a=e.split(up),{start:u,end:l,markerLines:c}=function(e,t,n){const r=Object.assign({column:0,line:-1},e.start),i=Object.assign({},r,e.end),{linesAbove:o=2,linesBelow:s=3}=n||{},a=r.line,u=r.column,l=i.line,c=i.column;let p=Math.max(a-(o+1),0),f=Math.min(t.length,l+s);-1===a&&(p=0),-1===l&&(f=t.length);const h=l-a,d={};if(h)for(let m=0;m<=h;m++){const e=m+a;if(u)if(0===m){const n=t[e-1].length;d[e]=[u,n-u+1]}else if(m===h)d[e]=[0,c];else{const n=t[e-m].length;d[e]=[0,n]}else d[e]=!0}else d[a]=u===c?!u||[u,0]:[u,c-u];return{start:p,end:f,markerLines:d}}(t,a,n),p=t.start&&"number"==typeof t.start.column,f=String(l).length;let h=(r?(0,ip.default)(e,n):e).split(up).slice(u,l).map((e,t)=>{const r=u+1+t,i=` ${(" "+r).slice(-f)} |`,a=c[r],l=!c[r+1];if(a){let t="";if(Array.isArray(a)){const r=e.slice(0,Math.max(a[0]-1,0)).replace(/[^\t]/g," "),u=a[1]||1;t=["\n ",s(o.gutter,i.replace(/\d/g," "))," ",r,s(o.marker,"^").repeat(u)].join(""),l&&n.message&&(t+=" "+s(o.message,n.message))}return[s(o.marker,">"),s(o.gutter,i),e.length>0?" "+e:"",t].join("")}return` ${s(o.gutter,i)}${e.length>0?" "+e:""}`}).join("\n");return n.message&&!p&&(h=`${" ".repeat(f+1)}${n.message}\n${h}`),r?i.reset(h):h}var cp=Object.defineProperty({codeFrameColumns:op,default:sp},"__esModule",{value:!0}),pp=r(_o);const{ConfigError:fp}=Os,{locStart:hp,locEnd:dp}=ec,mp=Object.getOwnPropertyNames,gp=Object.getOwnPropertyDescriptor;function yp(e){const t={};for(const n of e.plugins)if(n.parsers)for(const e of mp(n.parsers))Object.defineProperty(t,e,gp(n.parsers,e));return t}function vp(e,t=yp(e)){if("function"==typeof e.parser)return{parse:e.parser,astFormat:"estree",locStart:hp,locEnd:dp};if("string"==typeof e.parser){if(Object.prototype.hasOwnProperty.call(t,e.parser))return t[e.parser];throw new fp(`Couldn't resolve parser "${e.parser}". Parsers must be explicitly added to the standalone bundle.`)}}var bp={parse:function(e,t){const n=yp(t),r=Object.defineProperties({},Object.fromEntries(Object.keys(n).map(e=>[e,{enumerable:!0,get:()=>n[e].parse}]))),i=vp(t,n);try{return i.preprocess&&(e=i.preprocess(e,t)),{text:e,ast:i.parse(e,r,t)}}catch(t){const{loc:n}=t;if(n){const{codeFrameColumns:r}=cp;throw t.codeFrame=r(e,n,{highlightCode:!0}),t.message+="\n"+t.codeFrame,t}throw t.stack}},resolveParser:vp};const{UndefinedParserError:Dp}=Os,{getSupportInfo:wp}=si,{resolveParser:Cp}=bp,xp={astFormat:"estree",printer:{},originalText:void 0,locStart:null,locEnd:null};function Ep(e,t){const n=pp.basename(e).toLowerCase(),r=wp({plugins:t}).languages.filter(e=>null!==e.since);let i=r.find(e=>e.extensions&&e.extensions.some(e=>n.endsWith(e))||e.filenames&&e.filenames.some(e=>e.toLowerCase()===n));if(!i&&!n.includes(".")){const t=function(e){if("string"!=typeof e)return"";let t;try{t=Es.openSync(e,"r")}catch{return""}try{const e=new _s(t).next().toString("utf8"),n=e.match(/^#!\/(?:usr\/)?bin\/env\s+(\S+)/);if(n)return n[1];const r=e.match(/^#!\/(?:usr\/(?:local\/)?)?bin\/(\S+)/);return r?r[1]:""}catch{return""}finally{try{Es.closeSync(t)}catch{}}}(e);i=r.find(e=>e.interpreters&&e.interpreters.includes(t))}return i&&i.parsers[0]}var _p={normalize:function(e,t={}){const n=Object.assign({},e),r=wp({plugins:e.plugins,showUnreleased:!0,showDeprecated:!0}).options,i=Object.assign(Object.assign({},xp),Object.fromEntries(r.filter(e=>void 0!==e.default).map(e=>[e.name,e.default])));if(!n.parser)if(n.filepath){if(n.parser=Ep(n.filepath,n.plugins),!n.parser)throw new Dp("No parser could be inferred for file: "+n.filepath)}else(t.logger||console).warn("No parser and no filepath given, using 'babel' the parser now but this will throw an error in the future. Please specify a parser or a filepath so one can be inferred."),n.parser="babel";const o=Cp(Yl.normalizeApiOptions(n,[r.find(e=>"parser"===e.name)],{passThrough:!0,logger:!1}));n.astFormat=o.astFormat,n.locEnd=o.locEnd,n.locStart=o.locStart;const s=function(e){const{astFormat:t}=e;if(!t)throw new Error("getPlugin() requires astFormat to be set");const n=e.plugins.find(e=>e.printers&&e.printers[t]);if(!n)throw new Error(`Couldn't find plugin for AST format "${t}"`);return n}(n);n.printer=s.printers[n.astFormat];const a=Object.fromEntries(r.filter(e=>e.pluginDefaults&&void 0!==e.pluginDefaults[s.name]).map(e=>[e.name,e.pluginDefaults[s.name]])),u=Object.assign(Object.assign({},i),a);for(const[l,c]of Object.entries(u))null!==n[l]&&void 0!==n[l]||(n[l]=c);return"json"===n.parser&&(n.trailingComma="none"),Yl.normalizeApiOptions(n,r,Object.assign({passThrough:Object.keys(xp)},t))},hiddenDefaults:xp,inferParser:Ep},kp=function e(t,n,r){if(Array.isArray(t))return t.map(t=>e(t,n,r)).filter(Boolean);if(!t||"object"!=typeof t)return t;const i=n.printer.massageAstNode;let o;o=i&&i.ignoredProperties?i.ignoredProperties:new Set;const s={};for(const[a,u]of Object.entries(t))o.has(a)||"function"==typeof u||(s[a]=e(u,n,t));if(i){const e=i(t,s,r);if(null===e)return;if(e)return e}return s},Tp="function"==typeof Object.create?function(e,t){e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}})}:function(e,t){e.super_=t;var n=function(){};n.prototype=t.prototype,e.prototype=new n,e.prototype.constructor=e};function Sp(e,t){var n={seen:[],stylize:Op};return arguments.length>=3&&(n.depth=arguments[2]),arguments.length>=4&&(n.colors=arguments[3]),Pp(t)?n.showHidden=t:t&&Vp(n,t),jp(n.showHidden)&&(n.showHidden=!1),jp(n.depth)&&(n.depth=2),jp(n.colors)&&(n.colors=!1),jp(n.customInspect)&&(n.customInspect=!0),n.colors&&(n.stylize=Ap),Fp(n,e,n.depth)}function Ap(e,t){var n=Sp.styles[t];return n?"["+Sp.colors[n][0]+"m"+e+"["+Sp.colors[n][1]+"m":e}function Op(e,t){return e}function Fp(e,t,n){if(e.customInspect&&t&&Up(t.inspect)&&t.inspect!==Sp&&(!t.constructor||t.constructor.prototype!==t)){var r=t.inspect(n,e);return Lp(r)||(r=Fp(e,r,n)),r}var i=function(e,t){if(jp(t))return e.stylize("undefined","undefined");if(Lp(t)){var n="'"+JSON.stringify(t).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return e.stylize(n,"string")}return r=t,"number"==typeof r?e.stylize(""+t,"number"):Pp(t)?e.stylize(""+t,"boolean"):Mp(t)?e.stylize("null","null"):void 0;var r}(e,t);if(i)return i;var o=Object.keys(t),s=function(e){var t={};return e.forEach((function(e,n){t[e]=!0})),t}(o);if(e.showHidden&&(o=Object.getOwnPropertyNames(t)),Hp(t)&&(o.indexOf("message")>=0||o.indexOf("description")>=0))return Np(t);if(0===o.length){if(Up(t)){var a=t.name?": "+t.name:"";return e.stylize("[Function"+a+"]","special")}if(Bp(t))return e.stylize(RegExp.prototype.toString.call(t),"regexp");if($p(t))return e.stylize(Date.prototype.toString.call(t),"date");if(Hp(t))return Np(t)}var u,l,c="",p=!1,f=["{","}"];return u=t,Array.isArray(u)&&(p=!0,f=["[","]"]),Up(t)&&(c=" [Function"+(t.name?": "+t.name:"")+"]"),Bp(t)&&(c=" "+RegExp.prototype.toString.call(t)),$p(t)&&(c=" "+Date.prototype.toUTCString.call(t)),Hp(t)&&(c=" "+Np(t)),0!==o.length||p&&0!=t.length?n<0?Bp(t)?e.stylize(RegExp.prototype.toString.call(t),"regexp"):e.stylize("[Object]","special"):(e.seen.push(t),l=p?function(e,t,n,r,i){for(var o=[],s=0,a=t.length;s60?n[0]+(""===t?"":t+"\n ")+" "+e.join(",\n ")+" "+n[1]:n[0]+t+" "+e.join(", ")+" "+n[1]}(l,c,f)):f[0]+c+f[1]}function Np(e){return"["+Error.prototype.toString.call(e)+"]"}function Ip(e,t,n,r,i,o){var s,a,u;if((u=Object.getOwnPropertyDescriptor(t,i)||{value:t[i]}).get?a=u.set?e.stylize("[Getter/Setter]","special"):e.stylize("[Getter]","special"):u.set&&(a=e.stylize("[Setter]","special")),Wp(r,i)||(s="["+i+"]"),a||(e.seen.indexOf(u.value)<0?(a=Mp(n)?Fp(e,u.value,null):Fp(e,u.value,n-1)).indexOf("\n")>-1&&(a=o?a.split("\n").map((function(e){return" "+e})).join("\n").substr(2):"\n"+a.split("\n").map((function(e){return" "+e})).join("\n")):a=e.stylize("[Circular]","special")),jp(s)){if(o&&i.match(/^\d+$/))return a;(s=JSON.stringify(""+i)).match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(s=s.substr(1,s.length-2),s=e.stylize(s,"name")):(s=s.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),s=e.stylize(s,"string"))}return s+": "+a}function Pp(e){return"boolean"==typeof e}function Mp(e){return null===e}function Lp(e){return"string"==typeof e}function jp(e){return void 0===e}function Bp(e){return Rp(e)&&"[object RegExp]"===zp(e)}function Rp(e){return"object"==typeof e&&null!==e}function $p(e){return Rp(e)&&"[object Date]"===zp(e)}function Hp(e){return Rp(e)&&("[object Error]"===zp(e)||e instanceof Error)}function Up(e){return"function"==typeof e}function qp(e){return null===e||"boolean"==typeof e||"number"==typeof e||"string"==typeof e||"symbol"==typeof e||void 0===e}function zp(e){return Object.prototype.toString.call(e)}function Vp(e,t){if(!t||!Rp(t))return e;for(var n=Object.keys(t),r=n.length;r--;)e[n[r]]=t[n[r]];return e}function Wp(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function Gp(e,t){if(e===t)return 0;for(var n=e.length,r=t.length,i=0,o=Math.min(n,r);i=0){var s=r.indexOf("\n",o+1);r=r.substring(s+1)}this.stack=r}}}function sf(e,t){return"string"==typeof e?e.length=0;a--)if(u[a]!==l[a])return!1;for(a=u.length-1;a>=0;a--)if(!df(e[s=u[a]],t[s],n,r))return!1;return!0}(e,t,n,r))}return n?e===t:e==t}function mf(e){return"[object Arguments]"==Object.prototype.toString.call(e)}function gf(e,t,n){df(e,t,!1)&&uf(e,t,n,"notDeepEqual",gf)}function yf(e,t,n){df(e,t,!0)&&uf(e,t,n,"notDeepStrictEqual",yf)}function vf(e,t,n){e!==t&&uf(e,t,n,"===",vf)}function bf(e,t,n){e===t&&uf(e,t,n,"!==",bf)}function Df(e,t){if(!e||!t)return!1;if("[object RegExp]"==Object.prototype.toString.call(t))return t.test(e);try{if(e instanceof t)return!0}catch(e){}return!Error.isPrototypeOf(t)&&!0===t.call({},e)}function wf(e,t,n,r){var i;if("function"!=typeof t)throw new TypeError('"block" argument must be a function');"string"==typeof n&&(r=n,n=null),i=function(e){var t;try{e()}catch(e){t=e}return t}(t),r=(n&&n.name?" ("+n.name+").":".")+(r?" "+r:"."),e&&!i&&uf(i,n,"Missing expected exception"+r);var o="string"==typeof r,s=!e&&i&&!n;if((!e&&Hp(i)&&o&&Df(i,n)||s)&&uf(i,n,"Got unwanted exception"+r),e&&i&&n&&!Df(i,n)||!e&&i)throw i}function Cf(e,t,n){wf(!0,e,t,n)}function xf(e,t,n){wf(!1,e,t,n)}function Ef(e){if(e)throw e}tf.AssertionError=of,Tp(of,Error),tf.fail=uf,tf.ok=lf,tf.equal=cf,tf.notEqual=pf,tf.deepEqual=ff,tf.deepStrictEqual=hf,tf.notDeepEqual=gf,tf.notDeepStrictEqual=yf,tf.strictEqual=vf,tf.notStrictEqual=bf,tf.throws=Cf,tf.doesNotThrow=xf,tf.ifError=Ef;var _f=r(Object.freeze({__proto__:null,default:tf,AssertionError:of,fail:uf,ok:lf,assert:lf,equal:cf,notEqual:pf,deepEqual:ff,deepStrictEqual:hf,notDeepEqual:gf,notDeepStrictEqual:yf,strictEqual:vf,notStrictEqual:bf,throws:Cf,doesNotThrow:xf,ifError:Ef}));const{builders:{line:kf,hardline:Tf,breakParent:Sf,indent:Af,lineSuffix:Of,join:Ff,cursor:Nf}}=uo,{hasNewline:If,skipNewline:Pf,skipSpaces:Mf,isPreviousLineEmpty:Lf,addLeadingComment:jf,addDanglingComment:Bf,addTrailingComment:Rf}=_i,$f=new WeakMap;function Hf(e,t,n){if(!e)return;const{printer:r,locStart:i,locEnd:o}=t;if(n){if(r.canAttachComment&&r.canAttachComment(e)){let t;for(t=n.length-1;t>=0&&!(i(n[t])<=i(e)&&o(n[t])<=o(e));--t);return void n.splice(t+1,0,e)}}else if($f.has(e))return $f.get(e);const s=r.getCommentChildNodes&&r.getCommentChildNodes(e,t)||"object"==typeof e&&Object.entries(e).filter(([e])=>"enclosingNode"!==e&&"precedingNode"!==e&&"followingNode"!==e&&"tokens"!==e&&"comments"!==e).map(([,e])=>e);if(s){n||(n=[],$f.set(e,n));for(const e of s)Hf(e,t,n);return n}}function Uf(e,t,n,r){const{locStart:i,locEnd:o}=n,s=i(t),a=o(t),u=Hf(e,n);let l,c,p=0,f=u.length;for(;p>1,r=u[e],h=i(r),d=o(r);if(h<=s&&a<=d)return Uf(r,t,n,r);if(d<=s)l=r,p=e+1;else{if(!(a<=h))throw new Error("Comment location overlaps with node location");c=r,f=e}}if(r&&"TemplateLiteral"===r.type){const{quasis:e}=r,i=Yf(e,t,n);l&&Yf(e,l,n)!==i&&(l=null),c&&Yf(e,c,n)!==i&&(c=null)}return{enclosingNode:r,precedingNode:l,followingNode:c}}const qf=()=>!1,zf=e=>!/[\S\n\u2028\u2029]/.test(e);function Vf(e,t,n,r){const{comment:i,precedingNode:o}=n[r],{locStart:s,locEnd:a}=t;let u=s(i);if(o)for(let l=r-1;l>=0;l--){const{comment:t,precedingNode:r}=n[l];if(r!==o||!zf(e.slice(a(t),u)))break;u=s(t)}return If(e,u,{backwards:!0})}function Wf(e,t,n,r){const{comment:i,followingNode:o}=n[r],{locStart:s,locEnd:a}=t;let u=a(i);if(o)for(let l=r+1;l0;--u){const{comment:r,precedingNode:s,followingNode:c}=e[u-1];_f.strictEqual(s,i),_f.strictEqual(c,o);const p=t.slice(n.locEnd(r),l);if(!a.test(p))break;l=n.locStart(r)}for(const[c,{comment:p}]of e.entries())c1&&c.comments.sort((e,t)=>n.locStart(e)-n.locStart(t));e.length=0}function Kf(e,t){return e.getValue().printed=!0,t.printer.printComment(e,t)}function Yf(e,t,n){const r=n.locStart(t)-1;for(let i=1;i!n.has(e)));const o=r===t.cursorNode;if(0===i.length){const e=o?Nf:"";return{leading:e,trailing:e}}const s=[],a=[];return e.each(()=>{const r=e.getValue();if(n&&n.has(r))return;const{leading:i,trailing:o}=r;i?s.push(function(e,t){const n=e.getValue(),r=[Kf(e,t)],{printer:i,originalText:o,locStart:s,locEnd:a}=t;if(i.isBlockComment&&i.isBlockComment(n)){const e=If(o,a(n))?If(o,s(n),{backwards:!0})?Tf:kf:" ";r.push(e)}else r.push(Tf);const u=Pf(o,Mf(o,a(n)));return!1!==u&&If(o,u)&&r.push(Tf),r}(e,t)):o&&a.push(function(e,t){const n=e.getValue(),r=Kf(e,t),{printer:i,originalText:o,locStart:s}=t,a=i.isBlockComment&&i.isBlockComment(n);if(If(o,s(n),{backwards:!0})){const e=Lf(o,n,s);return Of([Tf,e?Tf:"",r])}let u=[" ",r];return a||(u=[Of(u),Sf]),u}(e,t))},"comments"),o&&(s.unshift(Nf),a.push(Nf)),{leading:s,trailing:a}}var Jf={attach:function(e,t,n,r){if(!Array.isArray(e))return;const i=[],{locStart:o,locEnd:s,printer:{handleComments:a={}}}=r,{avoidAstMutation:u,ownLine:l=qf,endOfLine:c=qf,remaining:p=qf}=a,f=e.map((i,o)=>Object.assign(Object.assign({},Uf(t,i,r)),{},{comment:i,text:n,options:r,ast:t,isLastComment:e.length-1===o}));for(const[h,d]of f.entries()){const{comment:e,precedingNode:t,enclosingNode:n,followingNode:r,text:a,options:m,ast:g,isLastComment:y}=d;if("json"===m.parser||"json5"===m.parser||"__js_expression"===m.parser||"__vue_expression"===m.parser){if(o(e)-o(g)<=0){jf(g,e);continue}if(s(e)-s(g)>=0){Rf(g,e);continue}}let v;if(u?v=[d]:(e.enclosingNode=n,e.precedingNode=t,e.followingNode=r,v=[e,a,m,g,y]),Vf(a,m,f,h))e.placement="ownLine",l(...v)||(r?jf(r,e):t?Rf(t,e):Bf(n||g,e));else if(Wf(a,m,f,h))e.placement="endOfLine",c(...v)||(t?Rf(t,e):r?jf(r,e):Bf(n||g,e));else if(e.placement="remaining",p(...v));else if(t&&r){const e=i.length;e>0&&i[e-1].followingNode!==r&&Gf(i,a,m),i.push(d)}else t?Rf(t,e):r?jf(r,e):Bf(n||g,e)}if(Gf(i,n,r),!u)for(const h of e)delete h.precedingNode,delete h.enclosingNode,delete h.followingNode},printComments:function(e,t,n,r){const{leading:i,trailing:o}=Xf(e,n,r);return i||o?[i,t,o]:t},printCommentsSeparately:Xf,printDanglingComments:function(e,t,n,r){const i=[],o=e.getValue();return o&&o.comments?(e.each(()=>{const n=e.getValue();n.leading||n.trailing||r&&!r(n)||i.push(Kf(e,t))},"comments"),0===i.length?"":n?Ff(Tf,i):Af([Tf,Ff(Tf,i)])):""},getSortedChildNodes:Hf,ensureAllCommentsPrinted:function(e){if(e)for(const t of e){if(!t.printed)throw new Error('Comment "'+t.value.trim()+'" was not printed. Please report this error!');delete t.printed}}};function Qf(e,t){const n=Zf(e.stack,t);return-1===n?null:e.stack[n]}function Zf(e,t){for(let n=e.length-1;n>=0;n-=2){const r=e[n];if(r&&!Array.isArray(r)&&--t<0)return n}return-1}var eh=class{constructor(e){this.stack=[e]}getName(){const{stack:e}=this,{length:t}=e;return t>1?e[t-2]:null}getValue(){return Bn(this.stack)}getNode(e=0){return Qf(this,e)}getParentNode(e=0){return Qf(this,e+1)}call(e,...t){const{stack:n}=this,{length:r}=n;let i=Bn(n);for(const s of t)i=i[s],n.push(s,i);const o=e(this);return n.length=r,o}callParent(e,t=0){const n=Zf(this.stack,t+1),r=this.stack.splice(n+1),i=e(this);return this.stack.push(...r),i}each(e,...t){const{stack:n}=this,{length:r}=n;let i=Bn(n);for(const o of t)i=i[o],n.push(o,i);for(let o=0;o{n[r]=e(t,r,i)},...t),n}try(e){const{stack:t}=this,n=[...t];try{return e()}finally{t.length=0,t.push(...n)}}match(...e){let t=this.stack.length-1,n=null,r=this.stack[t--];for(const i of e){if(void 0===r)return!1;let e=null;if("number"==typeof n&&(e=n,n=this.stack[t--],r=this.stack[t--]),i&&!i(r,n,e))return!1;n=this.stack[t--],r=this.stack[t--]}return!0}findAncestor(e){let t=this.stack.length-1,n=null,r=this.stack[t--];for(;r;){let i=null;if("number"==typeof n&&(i=n,n=this.stack[t--],r=this.stack[t--]),null!==n&&e(r,n,i))return r;n=this.stack[t--],r=this.stack[t--]}}};const{utils:{stripTrailingHardline:th}}=uo,{normalize:nh}=_p;var rh={printSubtree:function(e,t,n,r){if(n.printer.embed&&"auto"===n.embeddedLanguageFormatting)return n.printer.embed(e,t,(e,t,i)=>function(e,t,n,r,{stripTrailingHardline:i=!1}={}){const o=nh(Object.assign(Object.assign(Object.assign({},n),t),{},{parentParser:n.parser,originalText:e}),{passThrough:!0}),s=bp.parse(e,o),{ast:a}=s;e=s.text;const u=a.comments;delete a.comments,Jf.attach(u,a,e,o),o[Symbol.for("comments")]=u||[],o[Symbol.for("tokens")]=a.tokens||[];const l=r(a,o);return Jf.ensureAllCommentsPrinted(u),i?"string"==typeof l?l.replace(/(?:\r?\n)*$/,""):th(l):l}(e,t,n,r,i),n)}};const{builders:{hardline:ih,addAlignmentToDoc:oh},utils:{propagateBreaks:sh}}=uo,{printComments:ah}=Jf;function uh(e,t,r=0){const{printer:i}=t;i.preprocess&&(e=i.preprocess(e,t));const o=new Map,s=new eh(e);let a=u();return r>0&&(a=oh([ih,a],r,t.tabWidth)),sh(a),a;function u(e,t){return void 0===e||e===s?l(t):Array.isArray(e)?s.call(()=>l(t),...e):s.call(()=>l(t),e)}function l(e){const r=s.getValue(),i=r&&"object"==typeof r&&void 0===e;if(i&&o.has(r))return o.get(r);const a=function(e,t,r,i){const o=e.getValue(),{printer:s}=t;let a,u;if(s.hasPrettierIgnore&&s.hasPrettierIgnore(e))({doc:a,printedComments:u}=function(e,t){const{originalText:n,[Symbol.for("comments")]:r,locStart:i,locEnd:o}=t,s=i(e),a=o(e),u=new Set;for(const l of r)i(l)>=s&&o(l)<=a&&(l.printed=!0,u.add(l));return{doc:n.slice(s,a),printedComments:u}}(o,t));else{if(o)try{a=rh.printSubtree(e,r,t,uh)}catch(e){if(n.PRETTIER_DEBUG)throw e}a||(a=s.print(e,t,r,i))}return s.willPrintOwnComments&&s.willPrintOwnComments(e,t)||(a=ah(e,a,t,u)),a}(s,t,u,e);return i&&o.set(r,a),a}}var lh=uh;function ch(e){let t=e.length-1;for(;;){const n=e[t];if(!n||"Program"!==n.type&&"File"!==n.type)break;t--}return e.slice(0,t+1)}function ph(e,t,n,r,i=[],o){const{locStart:s,locEnd:a}=n,u=s(e),l=a(e);if(!(t>l||tr);const a=e.slice(r,i).search(/\S/),u=-1===a;if(!u)for(r+=a;i>r&&!/\S/.test(e[i-1]);--i);const l=ph(n,r,t,(e,n)=>dh(t,e,n),[],"rangeStart"),c=u?l:ph(n,i,t,e=>dh(t,e),[],"rangeEnd");if(!l||!c)return{rangeStart:0,rangeEnd:0};let p,f;if((({parser:e})=>"json"===e||"json5"===e||"json-stringify"===e)(t)){const e=function(e,t){const n=[e.node,...e.parentNodes],r=new Set([t.node,...t.parentNodes]);return n.find(e=>fh.has(e.type)&&r.has(e))}(l,c);p=e,f=e}else({startNode:p,endNode:f}=function(e,t,{locStart:n,locEnd:r}){let i=e.node,o=t.node;if(i===o)return{startNode:i,endNode:o};const s=n(e.node);for(const u of ch(t.parentNodes)){if(!(n(u)>=s))break;o=u}const a=r(t.node);for(const u of ch(e.parentNodes)){if(!(r(u)<=a))break;i=u}return{startNode:i,endNode:o}}(l,c,t));return{rangeStart:Math.min(o(p),o(f)),rangeEnd:Math.max(s(p),s(f))}},findNodeAtOffset:ph};const{printer:{printDocToString:gh},debug:{printDocToDebug:yh}}=uo,{getAlignmentSize:vh}=_i,{guessEndOfLine:bh,convertEndOfLineToChars:Dh,countEndOfLineChars:wh,normalizeEndOfLine:Ch}=ki,xh=_p.normalize,Eh=Symbol("cursor");function _h(e,t,n){const r=t.comments;return r&&(delete t.comments,Jf.attach(r,t,e,n)),n[Symbol.for("comments")]=r||[],n[Symbol.for("tokens")]=t.tokens||[],n.originalText=e,r}function kh(e,t,n=0){if(!e||0===e.trim().length)return{formatted:"",cursorOffset:-1,comments:[]};const{ast:r,text:i}=bp.parse(e,t);if(t.cursorOffset>=0){const e=mh.findNodeAtOffset(r,t.cursorOffset,t);e&&e.node&&(t.cursorNode=e.node)}const o=_h(i,r,t),s=lh(r,t,n),a=gh(s,t);if(Jf.ensureAllCommentsPrinted(o),n>0){const e=a.formatted.trim();void 0!==a.cursorNodeStart&&(a.cursorNodeStart-=a.formatted.indexOf(e)),a.formatted=e+Dh(t.endOfLine)}if(t.cursorOffset>=0){let e,n,r,s,u;if(t.cursorNode&&a.cursorNodeText?(e=t.locStart(t.cursorNode),n=i.slice(e,t.locEnd(t.cursorNode)),r=t.cursorOffset-e,s=a.cursorNodeStart,u=a.cursorNodeText):(e=0,n=i,r=t.cursorOffset,s=0,u=a.formatted),n===u)return{formatted:a.formatted,cursorOffset:s+r,comments:o};const l=[...n];l.splice(r,0,Eh);const c=[...u],p=bn.diffArrays(l,c);let f=s;for(const t of p)if(t.removed){if(t.value.includes(Eh))break}else f+=t.count;return{formatted:a.formatted,cursorOffset:f,comments:o}}return{formatted:a.formatted,cursorOffset:-1,comments:o}}function Th(e,t,n){return"number"!=typeof t||Number.isNaN(t)||t<0||t>e.length?n:t}function Sh(e,t){let{cursorOffset:n,rangeStart:r,rangeEnd:i}=t;return n=Th(e,n,-1),r=Th(e,r,0),i=Th(e,i,e.length),Object.assign(Object.assign({},t),{},{cursorOffset:n,rangeStart:r,rangeEnd:i})}function Ah(e,t){let{cursorOffset:n,rangeStart:r,rangeEnd:i,endOfLine:o}=Sh(e,t);const s="\ufeff"===e.charAt(0);if(s&&(e=e.slice(1),n--,r--,i--),"auto"===o&&(o=bh(e)),e.includes("\r")){const t=t=>wh(e.slice(0,Math.max(t,0)),"\r\n");n-=t(n),r-=t(r),i-=t(i),e=Ch(e)}return{hasBOM:s,text:e,options:Sh(e,Object.assign(Object.assign({},t),{},{cursorOffset:n,rangeStart:r,rangeEnd:i,endOfLine:o}))}}function Oh(e,t){const n=bp.resolveParser(t);return!n.hasPragma||n.hasPragma(e)}function Fh(e,t){let n,{hasBOM:r,text:i,options:o}=Ah(e,xh(t));return o.rangeStart>=o.rangeEnd&&""!==i||o.requirePragma&&!Oh(i,o)?{formatted:e,cursorOffset:t.cursorOffset,comments:[]}:(o.rangeStart>0||o.rangeEndi&&t.cursorOffset<=o?t.cursorOffset-i:-1,endOfLine:"lf"}),l),p=c.formatted.trimEnd();let{cursorOffset:f}=t;f>o?f+=p.length-s.length:c.cursorOffset>=0&&(f=c.cursorOffset+i);let h=r.slice(0,i)+p+r.slice(o);if("lf"!==t.endOfLine){const e=Dh(t.endOfLine);f>=0&&"\r\n"===e&&(f+=wh(h.slice(0,f),"\n")),h=h.replace(/\n/g,e)}return{formatted:h,cursorOffset:f,comments:c.comments}}(i,o):(!o.requirePragma&&o.insertPragma&&o.printer.insertPragma&&!Oh(i,o)&&(i=o.printer.insertPragma(i)),n=kh(i,o)),r&&(n.formatted="\ufeff"+n.formatted,n.cursorOffset>=0&&n.cursorOffset++),n)}var Nh={formatWithCursor:Fh,parse(e,t,n){const{text:r,options:i}=Ah(e,xh(t)),o=bp.parse(r,i);return n&&(o.ast=kp(o.ast,i)),o},formatAST(e,t){t=xh(t);const n=lh(e,t);return gh(n,t)},formatDoc:(e,t)=>Fh(yh(e),Object.assign(Object.assign({},t),{},{parser:"__js_expression"})).formatted,printToDoc(e,t){t=xh(t);const{ast:n,text:r}=bp.parse(e,t);return _h(r,n,t),lh(n,t)},printDocToString:(e,t)=>gh(e,xh(t))};const{getMaxContinuousCount:Ih,getStringWidth:Ph,getAlignmentSize:Mh,getIndentSize:Lh,skip:jh,skipWhitespace:Bh,skipSpaces:Rh,skipNewline:$h,skipToLineEnd:Hh,skipEverythingButNewLine:Uh,skipInlineComment:qh,skipTrailingComment:zh,hasNewline:Vh,hasNewlineInRange:Wh,hasSpaces:Gh,isNextLineEmpty:Kh,isNextLineEmptyAfterIndex:Yh,isPreviousLineEmpty:Xh,getNextNonSpaceNonCommentCharacterIndex:Jh,makeString:Qh,addLeadingComment:Zh,addDanglingComment:ed,addTrailingComment:td}=_i;var nd={getMaxContinuousCount:Ih,getStringWidth:Ph,getAlignmentSize:Mh,getIndentSize:Lh,skip:jh,skipWhitespace:Bh,skipSpaces:Rh,skipNewline:$h,skipToLineEnd:Hh,skipEverythingButNewLine:Uh,skipInlineComment:qh,skipTrailingComment:zh,hasNewline:Vh,hasNewlineInRange:Wh,hasSpaces:Gh,isNextLineEmpty:Kh,isNextLineEmptyAfterIndex:Yh,isPreviousLineEmpty:Xh,getNextNonSpaceNonCommentCharacterIndex:Jh,makeString:Qh,addLeadingComment:Zh,addDanglingComment:ed,addTrailingComment:td};const rd=["languageId"];var id=function(e,t){const{languageId:n}=e,r=Rn(e,rd);return Object.assign(Object.assign({linguistLanguageId:n},r),t(e))},od=i((function(e){!function(){function t(e){if(null==e)return!1;switch(e.type){case"BlockStatement":case"BreakStatement":case"ContinueStatement":case"DebuggerStatement":case"DoWhileStatement":case"EmptyStatement":case"ExpressionStatement":case"ForInStatement":case"ForStatement":case"IfStatement":case"LabeledStatement":case"ReturnStatement":case"SwitchStatement":case"ThrowStatement":case"TryStatement":case"VariableDeclaration":case"WhileStatement":case"WithStatement":return!0}return!1}function n(e){switch(e.type){case"IfStatement":return null!=e.alternate?e.alternate:e.consequent;case"LabeledStatement":case"ForStatement":case"ForInStatement":case"WhileStatement":case"WithStatement":return e.body}return null}e.exports={isExpression:function(e){if(null==e)return!1;switch(e.type){case"ArrayExpression":case"AssignmentExpression":case"BinaryExpression":case"CallExpression":case"ConditionalExpression":case"FunctionExpression":case"Identifier":case"Literal":case"LogicalExpression":case"MemberExpression":case"NewExpression":case"ObjectExpression":case"SequenceExpression":case"ThisExpression":case"UnaryExpression":case"UpdateExpression":return!0}return!1},isStatement:t,isIterationStatement:function(e){if(null==e)return!1;switch(e.type){case"DoWhileStatement":case"ForInStatement":case"ForStatement":case"WhileStatement":return!0}return!1},isSourceElement:function(e){return t(e)||null!=e&&"FunctionDeclaration"===e.type},isProblematicIfStatement:function(e){var t;if("IfStatement"!==e.type)return!1;if(null==e.alternate)return!1;t=e.consequent;do{if("IfStatement"===t.type&&null==t.alternate)return!0;t=n(t)}while(t);return!1},trailingStatement:n}}()})),sd=i((function(e){!function(){var t,n,r,i,o,s;function a(e){return e<=65535?String.fromCharCode(e):String.fromCharCode(Math.floor((e-65536)/1024)+55296)+String.fromCharCode((e-65536)%1024+56320)}for(n={NonAsciiIdentifierStart:/[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u08A0-\u08B4\u08B6-\u08BD\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1877\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1CE9-\u1CEC\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]/,NonAsciiIdentifierPart:/[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0300-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u0483-\u0487\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u05D0-\u05EA\u05F0-\u05F2\u0610-\u061A\u0620-\u0669\u066E-\u06D3\u06D5-\u06DC\u06DF-\u06E8\u06EA-\u06FC\u06FF\u0710-\u074A\u074D-\u07B1\u07C0-\u07F5\u07FA\u0800-\u082D\u0840-\u085B\u08A0-\u08B4\u08B6-\u08BD\u08D4-\u08E1\u08E3-\u0963\u0966-\u096F\u0971-\u0983\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BC-\u09C4\u09C7\u09C8\u09CB-\u09CE\u09D7\u09DC\u09DD\u09DF-\u09E3\u09E6-\u09F1\u0A01-\u0A03\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A59-\u0A5C\u0A5E\u0A66-\u0A75\u0A81-\u0A83\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABC-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AD0\u0AE0-\u0AE3\u0AE6-\u0AEF\u0AF9\u0B01-\u0B03\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3C-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B56\u0B57\u0B5C\u0B5D\u0B5F-\u0B63\u0B66-\u0B6F\u0B71\u0B82\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD0\u0BD7\u0BE6-\u0BEF\u0C00-\u0C03\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C58-\u0C5A\u0C60-\u0C63\u0C66-\u0C6F\u0C80-\u0C83\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBC-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CDE\u0CE0-\u0CE3\u0CE6-\u0CEF\u0CF1\u0CF2\u0D01-\u0D03\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D-\u0D44\u0D46-\u0D48\u0D4A-\u0D4E\u0D54-\u0D57\u0D5F-\u0D63\u0D66-\u0D6F\u0D7A-\u0D7F\u0D82\u0D83\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2\u0DF3\u0E01-\u0E3A\u0E40-\u0E4E\u0E50-\u0E59\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB9\u0EBB-\u0EBD\u0EC0-\u0EC4\u0EC6\u0EC8-\u0ECD\u0ED0-\u0ED9\u0EDC-\u0EDF\u0F00\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E-\u0F47\u0F49-\u0F6C\u0F71-\u0F84\u0F86-\u0F97\u0F99-\u0FBC\u0FC6\u1000-\u1049\u1050-\u109D\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u135D-\u135F\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1714\u1720-\u1734\u1740-\u1753\u1760-\u176C\u176E-\u1770\u1772\u1773\u1780-\u17D3\u17D7\u17DC\u17DD\u17E0-\u17E9\u180B-\u180D\u1810-\u1819\u1820-\u1877\u1880-\u18AA\u18B0-\u18F5\u1900-\u191E\u1920-\u192B\u1930-\u193B\u1946-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u19D0-\u19D9\u1A00-\u1A1B\u1A20-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AA7\u1AB0-\u1ABD\u1B00-\u1B4B\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1BF3\u1C00-\u1C37\u1C40-\u1C49\u1C4D-\u1C7D\u1C80-\u1C88\u1CD0-\u1CD2\u1CD4-\u1CF6\u1CF8\u1CF9\u1D00-\u1DF5\u1DFB-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u200C\u200D\u203F\u2040\u2054\u2071\u207F\u2090-\u209C\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D7F-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2DE0-\u2DFF\u2E2F\u3005-\u3007\u3021-\u302F\u3031-\u3035\u3038-\u303C\u3041-\u3096\u3099\u309A\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66F\uA674-\uA67D\uA67F-\uA6F1\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA827\uA840-\uA873\uA880-\uA8C5\uA8D0-\uA8D9\uA8E0-\uA8F7\uA8FB\uA8FD\uA900-\uA92D\uA930-\uA953\uA960-\uA97C\uA980-\uA9C0\uA9CF-\uA9D9\uA9E0-\uA9FE\uAA00-\uAA36\uAA40-\uAA4D\uAA50-\uAA59\uAA60-\uAA76\uAA7A-\uAAC2\uAADB-\uAADD\uAAE0-\uAAEF\uAAF2-\uAAF6\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABEA\uABEC\uABED\uABF0-\uABF9\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE00-\uFE0F\uFE20-\uFE2F\uFE33\uFE34\uFE4D-\uFE4F\uFE70-\uFE74\uFE76-\uFEFC\uFF10-\uFF19\uFF21-\uFF3A\uFF3F\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]/},t={NonAsciiIdentifierStart:/[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u08A0-\u08B4\u08B6-\u08BD\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1877\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1CE9-\u1CEC\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2118-\u211D\u2124\u2126\u2128\u212A-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309B-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD40-\uDD74\uDE80-\uDE9C\uDEA0-\uDED0\uDF00-\uDF1F\uDF30-\uDF4A\uDF50-\uDF75\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00\uDE10-\uDE13\uDE15-\uDE17\uDE19-\uDE33\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE4\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2]|\uD804[\uDC03-\uDC37\uDC83-\uDCAF\uDCD0-\uDCE8\uDD03-\uDD26\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE2B\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61]|\uD805[\uDC00-\uDC34\uDC47-\uDC4A\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE80-\uDEAA\uDF00-\uDF19]|\uD806[\uDCA0-\uDCDF\uDCFF\uDEC0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC2E\uDC40\uDC72-\uDC8F]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD81C-\uD820\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDF00-\uDF44\uDF50\uDF93-\uDF9F\uDFE0]|\uD821[\uDC00-\uDFEC]|\uD822[\uDC00-\uDEF2]|\uD82C[\uDC00\uDC01]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB]|\uD83A[\uDC00-\uDCC4\uDD00-\uDD43]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1]|\uD87E[\uDC00-\uDE1D]/,NonAsciiIdentifierPart:/[\xAA\xB5\xB7\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0300-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u0483-\u0487\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u05D0-\u05EA\u05F0-\u05F2\u0610-\u061A\u0620-\u0669\u066E-\u06D3\u06D5-\u06DC\u06DF-\u06E8\u06EA-\u06FC\u06FF\u0710-\u074A\u074D-\u07B1\u07C0-\u07F5\u07FA\u0800-\u082D\u0840-\u085B\u08A0-\u08B4\u08B6-\u08BD\u08D4-\u08E1\u08E3-\u0963\u0966-\u096F\u0971-\u0983\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BC-\u09C4\u09C7\u09C8\u09CB-\u09CE\u09D7\u09DC\u09DD\u09DF-\u09E3\u09E6-\u09F1\u0A01-\u0A03\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A59-\u0A5C\u0A5E\u0A66-\u0A75\u0A81-\u0A83\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABC-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AD0\u0AE0-\u0AE3\u0AE6-\u0AEF\u0AF9\u0B01-\u0B03\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3C-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B56\u0B57\u0B5C\u0B5D\u0B5F-\u0B63\u0B66-\u0B6F\u0B71\u0B82\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD0\u0BD7\u0BE6-\u0BEF\u0C00-\u0C03\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C58-\u0C5A\u0C60-\u0C63\u0C66-\u0C6F\u0C80-\u0C83\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBC-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CDE\u0CE0-\u0CE3\u0CE6-\u0CEF\u0CF1\u0CF2\u0D01-\u0D03\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D-\u0D44\u0D46-\u0D48\u0D4A-\u0D4E\u0D54-\u0D57\u0D5F-\u0D63\u0D66-\u0D6F\u0D7A-\u0D7F\u0D82\u0D83\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2\u0DF3\u0E01-\u0E3A\u0E40-\u0E4E\u0E50-\u0E59\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB9\u0EBB-\u0EBD\u0EC0-\u0EC4\u0EC6\u0EC8-\u0ECD\u0ED0-\u0ED9\u0EDC-\u0EDF\u0F00\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E-\u0F47\u0F49-\u0F6C\u0F71-\u0F84\u0F86-\u0F97\u0F99-\u0FBC\u0FC6\u1000-\u1049\u1050-\u109D\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u135D-\u135F\u1369-\u1371\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1714\u1720-\u1734\u1740-\u1753\u1760-\u176C\u176E-\u1770\u1772\u1773\u1780-\u17D3\u17D7\u17DC\u17DD\u17E0-\u17E9\u180B-\u180D\u1810-\u1819\u1820-\u1877\u1880-\u18AA\u18B0-\u18F5\u1900-\u191E\u1920-\u192B\u1930-\u193B\u1946-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u19D0-\u19DA\u1A00-\u1A1B\u1A20-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AA7\u1AB0-\u1ABD\u1B00-\u1B4B\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1BF3\u1C00-\u1C37\u1C40-\u1C49\u1C4D-\u1C7D\u1C80-\u1C88\u1CD0-\u1CD2\u1CD4-\u1CF6\u1CF8\u1CF9\u1D00-\u1DF5\u1DFB-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u200C\u200D\u203F\u2040\u2054\u2071\u207F\u2090-\u209C\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2102\u2107\u210A-\u2113\u2115\u2118-\u211D\u2124\u2126\u2128\u212A-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D7F-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2DE0-\u2DFF\u3005-\u3007\u3021-\u302F\u3031-\u3035\u3038-\u303C\u3041-\u3096\u3099-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66F\uA674-\uA67D\uA67F-\uA6F1\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA827\uA840-\uA873\uA880-\uA8C5\uA8D0-\uA8D9\uA8E0-\uA8F7\uA8FB\uA8FD\uA900-\uA92D\uA930-\uA953\uA960-\uA97C\uA980-\uA9C0\uA9CF-\uA9D9\uA9E0-\uA9FE\uAA00-\uAA36\uAA40-\uAA4D\uAA50-\uAA59\uAA60-\uAA76\uAA7A-\uAAC2\uAADB-\uAADD\uAAE0-\uAAEF\uAAF2-\uAAF6\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABEA\uABEC\uABED\uABF0-\uABF9\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE00-\uFE0F\uFE20-\uFE2F\uFE33\uFE34\uFE4D-\uFE4F\uFE70-\uFE74\uFE76-\uFEFC\uFF10-\uFF19\uFF21-\uFF3A\uFF3F\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD40-\uDD74\uDDFD\uDE80-\uDE9C\uDEA0-\uDED0\uDEE0\uDF00-\uDF1F\uDF30-\uDF4A\uDF50-\uDF7A\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDCA0-\uDCA9\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00-\uDE03\uDE05\uDE06\uDE0C-\uDE13\uDE15-\uDE17\uDE19-\uDE33\uDE38-\uDE3A\uDE3F\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE6\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2]|\uD804[\uDC00-\uDC46\uDC66-\uDC6F\uDC7F-\uDCBA\uDCD0-\uDCE8\uDCF0-\uDCF9\uDD00-\uDD34\uDD36-\uDD3F\uDD50-\uDD73\uDD76\uDD80-\uDDC4\uDDCA-\uDDCC\uDDD0-\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE37\uDE3E\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEEA\uDEF0-\uDEF9\uDF00-\uDF03\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3C-\uDF44\uDF47\uDF48\uDF4B-\uDF4D\uDF50\uDF57\uDF5D-\uDF63\uDF66-\uDF6C\uDF70-\uDF74]|\uD805[\uDC00-\uDC4A\uDC50-\uDC59\uDC80-\uDCC5\uDCC7\uDCD0-\uDCD9\uDD80-\uDDB5\uDDB8-\uDDC0\uDDD8-\uDDDD\uDE00-\uDE40\uDE44\uDE50-\uDE59\uDE80-\uDEB7\uDEC0-\uDEC9\uDF00-\uDF19\uDF1D-\uDF2B\uDF30-\uDF39]|\uD806[\uDCA0-\uDCE9\uDCFF\uDEC0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC36\uDC38-\uDC40\uDC50-\uDC59\uDC72-\uDC8F\uDC92-\uDCA7\uDCA9-\uDCB6]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD81C-\uD820\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE60-\uDE69\uDED0-\uDEED\uDEF0-\uDEF4\uDF00-\uDF36\uDF40-\uDF43\uDF50-\uDF59\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDF00-\uDF44\uDF50-\uDF7E\uDF8F-\uDF9F\uDFE0]|\uD821[\uDC00-\uDFEC]|\uD822[\uDC00-\uDEF2]|\uD82C[\uDC00\uDC01]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99\uDC9D\uDC9E]|\uD834[\uDD65-\uDD69\uDD6D-\uDD72\uDD7B-\uDD82\uDD85-\uDD8B\uDDAA-\uDDAD\uDE42-\uDE44]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB\uDFCE-\uDFFF]|\uD836[\uDE00-\uDE36\uDE3B-\uDE6C\uDE75\uDE84\uDE9B-\uDE9F\uDEA1-\uDEAF]|\uD838[\uDC00-\uDC06\uDC08-\uDC18\uDC1B-\uDC21\uDC23\uDC24\uDC26-\uDC2A]|\uD83A[\uDC00-\uDCC4\uDCD0-\uDCD6\uDD00-\uDD4A\uDD50-\uDD59]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1]|\uD87E[\uDC00-\uDE1D]|\uDB40[\uDD00-\uDDEF]/},r=[5760,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8239,8287,12288,65279],i=new Array(128),s=0;s<128;++s)i[s]=s>=97&&s<=122||s>=65&&s<=90||36===s||95===s;for(o=new Array(128),s=0;s<128;++s)o[s]=s>=97&&s<=122||s>=65&&s<=90||s>=48&&s<=57||36===s||95===s;e.exports={isDecimalDigit:function(e){return 48<=e&&e<=57},isHexDigit:function(e){return 48<=e&&e<=57||97<=e&&e<=102||65<=e&&e<=70},isOctalDigit:function(e){return e>=48&&e<=55},isWhiteSpace:function(e){return 32===e||9===e||11===e||12===e||160===e||e>=5760&&r.indexOf(e)>=0},isLineTerminator:function(e){return 10===e||13===e||8232===e||8233===e},isIdentifierStartES5:function(e){return e<128?i[e]:n.NonAsciiIdentifierStart.test(a(e))},isIdentifierPartES5:function(e){return e<128?o[e]:n.NonAsciiIdentifierPart.test(a(e))},isIdentifierStartES6:function(e){return e<128?i[e]:t.NonAsciiIdentifierStart.test(a(e))},isIdentifierPartES6:function(e){return e<128?o[e]:t.NonAsciiIdentifierPart.test(a(e))}}}()})),ad=i((function(e){!function(){var t=sd;function n(e,t){return!(!t&&"yield"===e)&&r(e,t)}function r(e,t){if(t&&function(e){switch(e){case"implements":case"interface":case"package":case"private":case"protected":case"public":case"static":case"let":return!0;default:return!1}}(e))return!0;switch(e.length){case 2:return"if"===e||"in"===e||"do"===e;case 3:return"var"===e||"for"===e||"new"===e||"try"===e;case 4:return"this"===e||"else"===e||"case"===e||"void"===e||"with"===e||"enum"===e;case 5:return"while"===e||"break"===e||"catch"===e||"throw"===e||"const"===e||"yield"===e||"class"===e||"super"===e;case 6:return"return"===e||"typeof"===e||"delete"===e||"switch"===e||"export"===e||"import"===e;case 7:return"default"===e||"finally"===e||"extends"===e;case 8:return"function"===e||"continue"===e||"debugger"===e;case 10:return"instanceof"===e;default:return!1}}function i(e,t){return"null"===e||"true"===e||"false"===e||n(e,t)}function o(e,t){return"null"===e||"true"===e||"false"===e||r(e,t)}function s(e){var n,r,i;if(0===e.length)return!1;if(i=e.charCodeAt(0),!t.isIdentifierStartES5(i))return!1;for(n=1,r=e.length;n=r)return!1;if(!(56320<=(o=e.charCodeAt(n))&&o<=57343))return!1;i=1024*(i-55296)+(o-56320)+65536}if(!s(i))return!1;s=t.isIdentifierPartES6}return!0}e.exports={isKeywordES5:n,isKeywordES6:r,isReservedWordES5:i,isReservedWordES6:o,isRestrictedWord:function(e){return"eval"===e||"arguments"===e},isIdentifierNameES5:s,isIdentifierNameES6:a,isIdentifierES5:function(e,t){return s(e)&&!i(e,t)},isIdentifierES6:function(e,t){return a(e)&&!o(e,t)}}}()}));const ud=i((function(e,t){t.ast=od,t.code=sd,t.keyword=ad})).keyword.isIdentifierNameES5,{getLast:ld,hasNewline:cd,skipWhitespace:pd,isNonEmptyArray:fd,isNextLineEmptyAfterIndex:hd,getStringWidth:dd}=_i,{locStart:md,locEnd:gd,hasSameLocStart:yd}=ec,vd=new RegExp("^(?:(?=.)\\s)*:"),bd=new RegExp("^(?:(?=.)\\s)*::");function Dd(e){return"Block"===e.type||"CommentBlock"===e.type||"MultiLine"===e.type}function wd(e){return"Line"===e.type||"CommentLine"===e.type||"SingleLine"===e.type||"HashbangComment"===e.type||"HTMLOpen"===e.type||"HTMLClose"===e.type}const Cd=new Set(["ExportDefaultDeclaration","ExportDefaultSpecifier","DeclareExportDeclaration","ExportNamedDeclaration","ExportAllDeclaration"]);function xd(e){return e&&Cd.has(e.type)}function Ed(e){return"NumericLiteral"===e.type||"Literal"===e.type&&"number"==typeof e.value}function _d(e){return"StringLiteral"===e.type||"Literal"===e.type&&"string"==typeof e.value}function kd(e){return"FunctionExpression"===e.type||"ArrowFunctionExpression"===e.type}function Td(e){return Pd(e)&&"Identifier"===e.callee.type&&("async"===e.callee.name||"inject"===e.callee.name||"fakeAsync"===e.callee.name)}function Sd(e){return"JSXElement"===e.type||"JSXFragment"===e.type}function Ad(e){return"get"===e.kind||"set"===e.kind}function Od(e){return Ad(e)||yd(e,e.value)}const Fd=new Set(["BinaryExpression","LogicalExpression","NGPipeExpression"]),Nd=new Set(["AnyTypeAnnotation","TSAnyKeyword","NullLiteralTypeAnnotation","TSNullKeyword","ThisTypeAnnotation","TSThisType","NumberTypeAnnotation","TSNumberKeyword","VoidTypeAnnotation","TSVoidKeyword","BooleanTypeAnnotation","TSBooleanKeyword","BigIntTypeAnnotation","TSBigIntKeyword","SymbolTypeAnnotation","TSSymbolKeyword","StringTypeAnnotation","TSStringKeyword","BooleanLiteralTypeAnnotation","StringLiteralTypeAnnotation","BigIntLiteralTypeAnnotation","NumberLiteralTypeAnnotation","TSLiteralType","TSTemplateLiteralType","EmptyTypeAnnotation","MixedTypeAnnotation","TSNeverKeyword","TSObjectKeyword","TSUndefinedKeyword","TSUnknownKeyword"]),Id=/^(?:skip|[fx]?(?:it|describe|test))$/;function Pd(e){return e&&("CallExpression"===e.type||"OptionalCallExpression"===e.type)}function Md(e){return e&&("MemberExpression"===e.type||"OptionalMemberExpression"===e.type)}function Ld(e){return/^(?:\d+|\d+\.\d+)$/.test(e)}function jd(e){return e.quasis.some(e=>e.value.raw.includes("\n"))}function Bd(e){return e.extra?e.extra.raw:e.raw}const Rd={"==":!0,"!=":!0,"===":!0,"!==":!0},$d={"*":!0,"/":!0,"%":!0},Hd={">>":!0,">>>":!0,"<<":!0},Ud={};for(const[t,ZH]of[["|>"],["??"],["||"],["&&"],["|"],["^"],["&"],["==","===","!=","!=="],["<",">","<=",">=","in","instanceof"],[">>","<<",">>>"],["+","-"],["*","/","%"],["**"]].entries())for(const e of ZH)Ud[e]=t;function qd(e){return Ud[e]}const zd=new WeakMap;function Vd(e){if(zd.has(e))return zd.get(e);const t=[];return e.this&&t.push(e.this),Array.isArray(e.parameters)?t.push(...e.parameters):Array.isArray(e.params)&&t.push(...e.params),e.rest&&t.push(e.rest),zd.set(e,t),t}const Wd=new WeakMap;function Gd(e){if(Wd.has(e))return Wd.get(e);let t=e.arguments;return"ImportExpression"===e.type&&(t=[e.source],e.attributes&&t.push(e.attributes)),Wd.set(e,t),t}function Kd(e){return"prettier-ignore"===e.value.trim()&&!e.unignore}function Yd(e){return e&&(e.prettierIgnore||Qd(e,Xd.PrettierIgnore))}const Xd={Leading:2,Trailing:4,Dangling:8,Block:16,Line:32,PrettierIgnore:64,First:128,Last:256},Jd=(e,t)=>{if("function"==typeof e&&(t=e,e=0),e||t)return(n,r,i)=>!(e&Xd.Leading&&!n.leading||e&Xd.Trailing&&!n.trailing||e&Xd.Dangling&&(n.leading||n.trailing)||e&Xd.Block&&!Dd(n)||e&Xd.Line&&!wd(n)||e&Xd.First&&0!==r||e&Xd.Last&&r!==i.length-1||e&Xd.PrettierIgnore&&!Kd(n)||t&&!t(n))};function Qd(e,t,n){if(!e||!fd(e.comments))return!1;const r=Jd(t,n);return!r||e.comments.some(r)}function Zd(e,t,n){if(!e||!Array.isArray(e.comments))return[];const r=Jd(t,n);return r?e.comments.filter(r):e.comments}function em(e){return Pd(e)||"NewExpression"===e.type||"ImportExpression"===e.type}var tm={getFunctionParameters:Vd,iterateFunctionParametersPath:function(e,t){const n=e.getValue();let r=0;const i=e=>t(e,r++);n.this&&e.call(i,"this"),Array.isArray(n.parameters)?e.each(i,"parameters"):Array.isArray(n.params)&&e.each(i,"params"),n.rest&&e.call(i,"rest")},getCallArguments:Gd,iterateCallArgumentsPath:function(e,t){const n=e.getValue();"ImportExpression"===n.type?(e.call(e=>t(e,0),"source"),n.attributes&&e.call(e=>t(e,1),"attributes")):e.each(t,"arguments")},hasRestParameter:function(e){if(e.rest)return!0;const t=Vd(e);return t.length>0&&"RestElement"===ld(t).type},getLeftSide:function(e){return e.expressions?e.expressions[0]:e.left||e.test||e.callee||e.object||e.tag||e.argument||e.expression},getLeftSidePathName:function(e,t){if(t.expressions)return["expressions",0];if(t.left)return["left"];if(t.test)return["test"];if(t.object)return["object"];if(t.callee)return["callee"];if(t.tag)return["tag"];if(t.argument)return["argument"];if(t.expression)return["expression"];throw new Error("Unexpected node has no left side.")},getParentExportDeclaration:function(e){const t=e.getParentNode();return"declaration"===e.getName()&&xd(t)?t:null},getTypeScriptMappedTypeModifier:function(e,t){return"+"===e?"+"+t:"-"===e?"-"+t:t},hasFlowAnnotationComment:function(e){return fd(e)&&Dd(e[0])&&bd.test(e[0].value)},hasFlowShorthandAnnotationComment:function(e){return e.extra&&e.extra.parenthesized&&fd(e.trailingComments)&&Dd(e.trailingComments[0])&&vd.test(e.trailingComments[0].value)},hasLeadingOwnLineComment:function(e,t){return Sd(t)?Yd(t):Qd(t,Xd.Leading,t=>cd(e,gd(t)))},hasNakedLeftSide:function(e){return"AssignmentExpression"===e.type||"BinaryExpression"===e.type||"LogicalExpression"===e.type||"NGPipeExpression"===e.type||"ConditionalExpression"===e.type||Pd(e)||Md(e)||"SequenceExpression"===e.type||"TaggedTemplateExpression"===e.type||"BindExpression"===e.type||"UpdateExpression"===e.type&&!e.prefix||"TSAsExpression"===e.type||"TSNonNullExpression"===e.type},hasNode:function e(t,n){if(!t||"object"!=typeof t)return!1;if(Array.isArray(t))return t.some(t=>e(t,n));const r=n(t);return"boolean"==typeof r?r:Object.values(t).some(t=>e(t,n))},hasIgnoreComment:function(e){return Yd(e.getValue())},hasNodeIgnoreComment:Yd,identity:function(e){return e},isBinaryish:function(e){return Fd.has(e.type)},isBlockComment:Dd,isCallLikeExpression:em,isLineComment:wd,isPrettierIgnoreComment:Kd,isCallExpression:Pd,isMemberExpression:Md,isExportDeclaration:xd,isFlowAnnotationComment:function(e,t){const n=md(t),r=pd(e,gd(t));return!1!==r&&"/*"===e.slice(n,n+2)&&"*/"===e.slice(r,r+2)},isFunctionCompositionArgs:function(e){if(e.length<=1)return!1;let t=0;for(const n of e)if(kd(n)){if(t+=1,t>1)return!0}else if(Pd(n))for(const e of n.arguments)if(kd(e))return!0;return!1},isFunctionNotation:Od,isFunctionOrArrowExpression:kd,isGetterOrSetter:Ad,isJestEachTemplateLiteral:function(e,t){const n=/^[fx]?(?:describe|it|test)$/;return"TaggedTemplateExpression"===t.type&&t.quasi===e&&"MemberExpression"===t.tag.type&&"Identifier"===t.tag.property.type&&"each"===t.tag.property.name&&("Identifier"===t.tag.object.type&&n.test(t.tag.object.name)||"MemberExpression"===t.tag.object.type&&"Identifier"===t.tag.object.property.type&&("only"===t.tag.object.property.name||"skip"===t.tag.object.property.name)&&"Identifier"===t.tag.object.object.type&&n.test(t.tag.object.object.name))},isJsxNode:Sd,isLiteral:function(e){return"BooleanLiteral"===e.type||"DirectiveLiteral"===e.type||"Literal"===e.type||"NullLiteral"===e.type||"NumericLiteral"===e.type||"BigIntLiteral"===e.type||"DecimalLiteral"===e.type||"RegExpLiteral"===e.type||"StringLiteral"===e.type||"TemplateLiteral"===e.type||"TSTypeLiteral"===e.type||"JSXText"===e.type},isLongCurriedCallExpression:function(e){const t=e.getValue(),n=e.getParentNode();return Pd(t)&&Pd(n)&&n.callee===t&&t.arguments.length>n.arguments.length&&n.arguments.length>0},isSimpleCallArgument:function e(t,n){if(n>=2)return!1;const r=t=>e(t,n+1),i="Literal"===t.type&&"regex"in t&&t.regex.pattern||"RegExpLiteral"===t.type&&t.pattern;return!(i&&dd(i)>5)&&("Literal"===t.type||"BigIntLiteral"===t.type||"DecimalLiteral"===t.type||"BooleanLiteral"===t.type||"NullLiteral"===t.type||"NumericLiteral"===t.type||"RegExpLiteral"===t.type||"StringLiteral"===t.type||"Identifier"===t.type||"ThisExpression"===t.type||"Super"===t.type||"PrivateName"===t.type||"PrivateIdentifier"===t.type||"ArgumentPlaceholder"===t.type||"Import"===t.type||("TemplateLiteral"===t.type?t.quasis.every(e=>!e.value.raw.includes("\n"))&&t.expressions.every(r):"ObjectExpression"===t.type?t.properties.every(e=>!e.computed&&(e.shorthand||e.value&&r(e.value))):"ArrayExpression"===t.type?t.elements.every(e=>null===e||r(e)):em(t)?("ImportExpression"===t.type||e(t.callee,n))&&Gd(t).every(r):Md(t)?e(t.object,n)&&e(t.property,n):"UnaryExpression"!==t.type||"!"!==t.operator&&"-"!==t.operator?"TSNonNullExpression"===t.type&&e(t.expression,n):e(t.argument,n)))},isMemberish:function(e){return Md(e)||"BindExpression"===e.type&&Boolean(e.object)},isNumericLiteral:Ed,isSignedNumericLiteral:function(e){return"UnaryExpression"===e.type&&("+"===e.operator||"-"===e.operator)&&Ed(e.argument)},isObjectProperty:function(e){return e&&("ObjectProperty"===e.type||"Property"===e.type&&!e.method&&"init"===e.kind)},isObjectType:function(e){return"ObjectTypeAnnotation"===e.type||"TSTypeLiteral"===e.type||"TSMappedType"===e.type},isObjectTypePropertyAFunction:function(e){return!("ObjectTypeProperty"!==e.type&&"ObjectTypeInternalSlot"!==e.type||"FunctionTypeAnnotation"!==e.value.type||e.static||Od(e))},isSimpleType:function(e){return!!e&&(!("GenericTypeAnnotation"!==e.type&&"TSTypeReference"!==e.type||e.typeParameters)||!!Nd.has(e.type))},isSimpleNumber:Ld,isSimpleTemplateLiteral:function(e){let t="expressions";"TSTemplateLiteralType"===e.type&&(t="types");const n=e[t];return 0!==n.length&&n.every(e=>{if(Qd(e))return!1;if("Identifier"===e.type||"ThisExpression"===e.type)return!0;if(Md(e)){let t=e;for(;Md(t);){if("Identifier"!==t.property.type&&"Literal"!==t.property.type&&"StringLiteral"!==t.property.type&&"NumericLiteral"!==t.property.type)return!1;if(t=t.object,Qd(t))return!1}return"Identifier"===t.type||"ThisExpression"===t.type}return!1})},isStringLiteral:_d,isStringPropSafeToUnquote:function(e,t){return"json"!==t.parser&&_d(e.key)&&Bd(e.key).slice(1,-1)===e.key.value&&(ud(e.key.value)&&!(("typescript"===t.parser||"babel-ts"===t.parser)&&"ClassProperty"===e.type)||Ld(e.key.value)&&String(Number(e.key.value))===e.key.value&&("babel"===t.parser||"espree"===t.parser||"meriyah"===t.parser||"__babel_estree"===t.parser))},isTemplateOnItsOwnLine:function(e,t){return("TemplateLiteral"===e.type&&jd(e)||"TaggedTemplateExpression"===e.type&&jd(e.quasi))&&!cd(t,md(e),{backwards:!0})},isTestCall:function e(t,n){if("CallExpression"!==t.type)return!1;if(1===t.arguments.length){if(Td(t)&&n&&e(n))return kd(t.arguments[0]);if(function(e){return"Identifier"===e.callee.type&&/^(?:before|after)(?:Each|All)$/.test(e.callee.name)&&1===e.arguments.length}(t))return Td(t.arguments[0])}else if((2===t.arguments.length||3===t.arguments.length)&&("Identifier"===t.callee.type&&Id.test(t.callee.name)||function(e){return Md(e.callee)&&"Identifier"===e.callee.object.type&&"Identifier"===e.callee.property.type&&Id.test(e.callee.object.name)&&("only"===e.callee.property.name||"skip"===e.callee.property.name)}(t))&&(function(e){return"TemplateLiteral"===e.type}(t.arguments[0])||_d(t.arguments[0])))return!(t.arguments[2]&&!Ed(t.arguments[2]))&&((2===t.arguments.length?kd(t.arguments[1]):function(e){return"FunctionExpression"===e.type||"ArrowFunctionExpression"===e.type&&"BlockStatement"===e.body.type}(t.arguments[1])&&Vd(t.arguments[1]).length<=1)||Td(t.arguments[1]));return!1},isTheOnlyJsxElementInMarkdown:function(e,t){if("markdown"!==e.parentParser&&"mdx"!==e.parentParser)return!1;const n=t.getNode();if(!n.expression||!Sd(n.expression))return!1;const r=t.getParentNode();return"Program"===r.type&&1===r.body.length},isTSXFile:function(e){return e.filepath&&/\.tsx$/i.test(e.filepath)},isTypeAnnotationAFunction:function(e){return!("TypeAnnotation"!==e.type&&"TSTypeAnnotation"!==e.type||"FunctionTypeAnnotation"!==e.typeAnnotation.type||e.static||yd(e,e.typeAnnotation))},isNextLineEmpty:(e,{originalText:t})=>hd(t,gd(e)),needsHardlineAfterDanglingComment:function(e){if(!Qd(e))return!1;const t=ld(Zd(e,Xd.Dangling));return t&&!Dd(t)},rawText:Bd,shouldPrintComma:function(e,t="es5"){return"es5"===e.trailingComma&&"es5"===t||"all"===e.trailingComma&&("all"===t||"es5"===t)},isBitwiseOperator:function(e){return Boolean(Hd[e])||"|"===e||"^"===e||"&"===e},shouldFlatten:function(e,t){return qd(t)===qd(e)&&"**"!==e&&(!Rd[e]||!Rd[t])&&!("%"===t&&$d[e]||"%"===e&&$d[t])&&(t===e||!$d[t]||!$d[e])&&(!Hd[e]||!Hd[t])},startsWithNoLookaheadToken:function e(t,n){switch((t=function(e){for(;e.left;)e=e.left;return e}(t)).type){case"FunctionExpression":case"ClassExpression":case"DoExpression":return n;case"ObjectExpression":return!0;case"MemberExpression":case"OptionalMemberExpression":return e(t.object,n);case"TaggedTemplateExpression":return"FunctionExpression"!==t.tag.type&&e(t.tag,n);case"CallExpression":case"OptionalCallExpression":return"FunctionExpression"!==t.callee.type&&e(t.callee,n);case"ConditionalExpression":return e(t.test,n);case"UpdateExpression":return!t.prefix&&e(t.argument,n);case"BindExpression":return t.object&&e(t.object,n);case"SequenceExpression":return e(t.expressions[0],n);case"TSAsExpression":case"TSNonNullExpression":return e(t.expression,n);default:return!1}},getPrecedence:qd,hasComment:Qd,getComments:Zd,CommentCheckFlags:Xd};const{getStringWidth:nm,getIndentSize:rm}=_i,{builders:{join:im,hardline:om,softline:sm,group:am,indent:um,align:lm,lineSuffixBoundary:cm,addAlignmentToDoc:pm},printer:{printDocToString:fm},utils:{mapDoc:hm}}=uo,{isBinaryish:dm,isJestEachTemplateLiteral:mm,isSimpleTemplateLiteral:gm,hasComment:ym,isMemberExpression:vm}=tm;function bm(e){return e.replace(/([\\`]|\${)/g,"\\$1")}var Dm={printTemplateLiteral:function(e,t,n){const r=e.getValue();if("TemplateLiteral"===r.type&&mm(r,e.getParentNode())){const r=function(e,t,n){const r=e.getNode(),i=r.quasis[0].value.raw.trim().split(/\s*\|\s*/);if(i.length>1||i.some(e=>e.length>0)){t.__inJestEach=!0;const o=e.map(n,"expressions");t.__inJestEach=!1;const s=[],a=o.map(e=>"${"+fm(e,Object.assign(Object.assign({},t),{},{printWidth:Number.POSITIVE_INFINITY,endOfLine:"lf"})).formatted+"}"),u=[{hasLineBreak:!1,cells:[]}];for(let e=1;ee.cells.length)),c=Array.from({length:l}).fill(0),p=[{cells:i},...u.filter(e=>e.cells.length>0)];for(const{cells:e}of p.filter(e=>!e.hasLineBreak))for(const[t,n]of e.entries())c[t]=Math.max(c[t],nm(n));return s.push(cm,"`",um([om,im(om,p.map(e=>im(" | ",e.cells.map((t,n)=>e.hasLineBreak?t:t+" ".repeat(c[n]-nm(t))))))]),om,"`"),s}}(e,n,t);if(r)return r}let i="expressions";"TSTemplateLiteralType"===r.type&&(i="types");const o=[];let s=e.map(t,i);const a=gm(r);return a&&(s=s.map(e=>fm(e,Object.assign(Object.assign({},n),{},{printWidth:Number.POSITIVE_INFINITY})).formatted)),o.push(cm,"`"),e.each(e=>{const u=e.getName();if(o.push(t()),ufunction(e,t){const n=e.getValue();let r=t();return ym(n)&&(r=am([um([sm,r]),sm])),["${",r,cm,"}"]}(e,t),"expressions")},escapeTemplateCharacters:function(e,t){return hm(e,e=>"string"==typeof e?t?e.replace(/(\\*)`/g,"$1$1\\`"):bm(e):e)},uncookTemplateElementValue:bm};const{builders:{indent:wm,softline:Cm,literalline:xm,dedentToRoot:Em}}=uo,{escapeTemplateCharacters:_m}=Dm;var km=function(e,t,n){let r=e.getValue().quasis[0].value.raw.replace(/((?:\\\\)*)\\`/g,(e,t)=>"\\".repeat(t.length/2)+"`");const i=function(e){const t=e.match(/^([^\S\n]*)\S/m);return null===t?"":t[1]}(r),o=""!==i;o&&(r=r.replace(new RegExp("^"+i,"gm"),""));const s=_m(n(r,{parser:"markdown",__inJsTemplate:!0},{stripTrailingHardline:!0}),!0);return["`",o?wm([Cm,s]):[xm,Em(s)],Cm,"`"]};const{isNonEmptyArray:Tm}=_i,{builders:{indent:Sm,hardline:Am,softline:Om},utils:{mapDoc:Fm,replaceEndOfLine:Nm,cleanDoc:Im}}=uo,{printTemplateExpressions:Pm}=Dm;var Mm=function(e,t,n){const r=e.getValue(),i=r.quasis.map(e=>e.value.raw);let o=0;return function(e,t,n){if(1===t.quasis.length&&!t.quasis[0].value.raw.trim())return"``";const r=function(e,t){if(!Tm(t))return e;let n=0;const r=Fm(Im(e),e=>"string"==typeof e&&e.includes("@prettier-placeholder")?e.split(/@prettier-placeholder-(\d+)-id/).map((e,r)=>r%2==0?Nm(e):(n++,t[e])):e);return t.length===n?r:null}(e,n);if(!r)throw new Error("Couldn't insert all the expressions");return["`",Sm([Am,r]),Om,"`"]}(n(i.reduce((e,t,n)=>0===n?t:e+"@prettier-placeholder-"+o+++"-id"+t,""),{parser:"scss"},{stripTrailingHardline:!0}),r,Pm(e,t))};const{builders:{indent:Lm,join:jm,hardline:Bm}}=uo,{escapeTemplateCharacters:Rm,printTemplateExpressions:$m}=Dm;function Hm(e){const t=[];let n=!1;const r=e.map(e=>e.trim());for(const[i,o]of r.entries())""!==o&&(""===r[i-1]&&n?t.push([Bm,o]):t.push(o),n=!0);return 0===t.length?null:jm(Bm,t)}var Um=function(e,t,n){const r=e.getValue(),i=r.quasis.length;if(1===i&&""===r.quasis[0].value.raw.trim())return"``";const o=$m(e,t),s=[];for(let a=0;a2&&""===l[0].trim()&&""===l[1].trim(),h=c>2&&""===l[c-1].trim()&&""===l[c-2].trim(),d=l.every(e=>/^\s*(?:#[^\n\r]*)?$/.test(e));if(!t&&/#[^\n\r]*$/.test(l[c-1]))return null;let m=null;m=d?Hm(l):n(u,{parser:"graphql"},{stripTrailingHardline:!0}),m?(m=Rm(m,!1),!e&&f&&s.push(""),s.push(m),!t&&h&&s.push("")):e||t||!f||s.push(""),p&&s.push(p)}return["`",Lm([Bm,jm(Bm,s)]),Bm,"`"]};const{builders:{indent:qm,line:zm,hardline:Vm,group:Wm},utils:{mapDoc:Gm}}=uo,{printTemplateExpressions:Km,uncookTemplateElementValue:Ym}=Dm;let Xm=0;var Jm=function(e,t,n,r,{parser:i}){const o=e.getValue(),s=Xm;Xm=Xm+1>>>0;const a=e=>`PRETTIER_HTML_PLACEHOLDER_${e}_${s}_IN_JS`,u=o.quasis.map((e,t,n)=>t===n.length-1?e.value.cooked:e.value.cooked+a(t)).join(""),l=Km(e,t);if(0===l.length&&0===u.trim().length)return"``";const c=new RegExp(a("(\\d+)"),"g");let p=0;const f=n(u,{parser:i,__onHtmlRoot(e){p=e.children.length}},{stripTrailingHardline:!0}),h=Gm(f,e=>{if("string"!=typeof e)return e;const t=[],n=e.split(c);for(let i=0;i1?qm(Wm(h)):Wm(h),m,"`"])};const{hasComment:Qm,CommentCheckFlags:Zm,isObjectProperty:eg}=tm;function tg(e){return function(e){const t=e.getValue(),n=e.getParentNode(),r=e.getParentNode(1);return r&&t.quasis&&"JSXExpressionContainer"===n.type&&"JSXElement"===r.type&&"style"===r.openingElement.name.name&&r.openingElement.attributes.some(e=>"jsx"===e.name.name)||n&&"TaggedTemplateExpression"===n.type&&"Identifier"===n.tag.type&&"css"===n.tag.name||n&&"TaggedTemplateExpression"===n.type&&"MemberExpression"===n.tag.type&&"css"===n.tag.object.name&&("global"===n.tag.property.name||"resolve"===n.tag.property.name)}(e)||function(e){const t=e.getParentNode();if(!t||"TaggedTemplateExpression"!==t.type)return!1;const n="ParenthesizedExpression"===t.tag.type?t.tag.expression:t.tag;switch(n.type){case"MemberExpression":return rg(n.object)||ig(n);case"CallExpression":return rg(n.callee)||"MemberExpression"===n.callee.type&&("MemberExpression"===n.callee.object.type&&(rg(n.callee.object.object)||ig(n.callee.object))||"CallExpression"===n.callee.object.type&&rg(n.callee.object.callee));case"Identifier":return"css"===n.name;default:return!1}}(e)||function(e){const t=e.getParentNode(),n=e.getParentNode(1);return n&&"JSXExpressionContainer"===t.type&&"JSXAttribute"===n.type&&"JSXIdentifier"===n.name.type&&"css"===n.name.name}(e)||function(e){return e.match(e=>"TemplateLiteral"===e.type,(e,t)=>"ArrayExpression"===e.type&&"elements"===t,(e,t)=>eg(e)&&"Identifier"===e.key.type&&"styles"===e.key.name&&"value"===t,...ng)}(e)?"css":function(e){const t=e.getValue(),n=e.getParentNode();return og(t,"GraphQL")||n&&("TaggedTemplateExpression"===n.type&&("MemberExpression"===n.tag.type&&"graphql"===n.tag.object.name&&"experimental"===n.tag.property.name||"Identifier"===n.tag.type&&("gql"===n.tag.name||"graphql"===n.tag.name))||"CallExpression"===n.type&&"Identifier"===n.callee.type&&"graphql"===n.callee.name)}(e)?"graphql":function(e){return og(e.getValue(),"HTML")||e.match(e=>"TemplateLiteral"===e.type,(e,t)=>"TaggedTemplateExpression"===e.type&&"Identifier"===e.tag.type&&"html"===e.tag.name&&"quasi"===t)}(e)?"html":function(e){return e.match(e=>"TemplateLiteral"===e.type,(e,t)=>eg(e)&&"Identifier"===e.key.type&&"template"===e.key.name&&"value"===t,...ng)}(e)?"angular":function(e){const t=e.getValue(),n=e.getParentNode();return n&&"TaggedTemplateExpression"===n.type&&1===t.quasis.length&&"Identifier"===n.tag.type&&("md"===n.tag.name||"markdown"===n.tag.name)}(e)?"markdown":void 0}const ng=[(e,t)=>"ObjectExpression"===e.type&&"properties"===t,(e,t)=>"CallExpression"===e.type&&"Identifier"===e.callee.type&&"Component"===e.callee.name&&"arguments"===t,(e,t)=>"Decorator"===e.type&&"expression"===t];function rg(e){return"Identifier"===e.type&&"styled"===e.name}function ig(e){return/^[A-Z]/.test(e.object.name)&&"extend"===e.property.name}function og(e,t){return Qm(e,Zm.Block|Zm.Leading,({value:e})=>e===` ${t} `)}var sg=function(e,t,n,r){const i=e.getValue();if("TemplateLiteral"!==i.type||function({quasis:e}){return e.some(({value:{cooked:e}})=>null===e)}(i))return;const o=tg(e);return o?"markdown"===o?km(e,t,n):"css"===o?Mm(e,t,n):"graphql"===o?Um(e,t,n):"html"===o||"angular"===o?Jm(e,t,n,r,{parser:o}):void 0:void 0};const{isBlockComment:ag}=tm,ug=new Set(["range","raw","comments","leadingComments","trailingComments","innerComments","extra","start","end","loc","flags","errors","tokens"]),lg=e=>{for(const t of e.quasis)delete t.value};function cg(e,t,n){if("Program"===e.type&&delete t.sourceType,"BigIntLiteral"!==e.type&&"BigIntLiteralTypeAnnotation"!==e.type||t.value&&(t.value=t.value.toLowerCase()),"BigIntLiteral"!==e.type&&"Literal"!==e.type||t.bigint&&(t.bigint=t.bigint.toLowerCase()),"DecimalLiteral"===e.type&&(t.value=Number(t.value)),"Literal"===e.type&&t.decimal&&(t.decimal=Number(t.decimal)),"EmptyStatement"===e.type)return null;if("JSXText"===e.type)return null;if("JSXExpressionContainer"===e.type&&("Literal"===e.expression.type||"StringLiteral"===e.expression.type)&&" "===e.expression.value)return null;if("Property"!==e.type&&"ObjectProperty"!==e.type&&"MethodDefinition"!==e.type&&"ClassProperty"!==e.type&&"ClassMethod"!==e.type&&"PropertyDefinition"!==e.type&&"TSDeclareMethod"!==e.type&&"TSPropertySignature"!==e.type&&"ObjectTypeProperty"!==e.type||"object"!=typeof e.key||!e.key||"Literal"!==e.key.type&&"NumericLiteral"!==e.key.type&&"StringLiteral"!==e.key.type&&"Identifier"!==e.key.type||delete t.key,"JSXElement"===e.type&&"style"===e.openingElement.name.name&&e.openingElement.attributes.some(e=>"jsx"===e.name.name))for(const{type:i,expression:o}of t.children)"JSXExpressionContainer"===i&&"TemplateLiteral"===o.type&&lg(o);"JSXAttribute"===e.type&&"css"===e.name.name&&"JSXExpressionContainer"===e.value.type&&"TemplateLiteral"===e.value.expression.type&&lg(t.value.expression),"JSXAttribute"===e.type&&e.value&&"Literal"===e.value.type&&/["']|"|'/.test(e.value.value)&&(t.value.value=t.value.value.replace(/["']|"|'/g,'"'));const r=e.expression||e.callee;if("Decorator"===e.type&&"CallExpression"===r.type&&"Component"===r.callee.name&&1===r.arguments.length){const n=e.expression.arguments[0].properties;for(const[e,r]of t.expression.arguments[0].properties.entries())switch(n[e].key.name){case"styles":"ArrayExpression"===r.value.type&&lg(r.value.elements[0]);break;case"template":"TemplateLiteral"===r.value.type&&lg(r.value)}}return"TaggedTemplateExpression"!==e.type||"MemberExpression"!==e.tag.type&&("Identifier"!==e.tag.type||"gql"!==e.tag.name&&"graphql"!==e.tag.name&&"css"!==e.tag.name&&"md"!==e.tag.name&&"markdown"!==e.tag.name&&"html"!==e.tag.name)&&"CallExpression"!==e.tag.type||lg(t.quasi),"TemplateLiteral"===e.type&&(e.leadingComments&&e.leadingComments.some(e=>ag(e)&&["GraphQL","HTML"].some(t=>e.value===` ${t} `))||"CallExpression"===n.type&&"graphql"===n.callee.name||!e.leadingComments)&&lg(t),"InterpreterDirective"===e.type&&(t.value=t.value.trimEnd()),"TSIntersectionType"!==e.type&&"TSUnionType"!==e.type||1!==e.types.length?void 0:t.types[0]}cg.ignoredProperties=ug;var pg=cg;const fg=e=>{if("string"!=typeof e)throw new TypeError("Expected a string");const t=e.match(/(?:\r?\n)/g)||[];if(0===t.length)return;const n=t.filter(e=>"\r\n"===e).length;return n>t.length-n?"\r\n":"\n"};var hg=fg;hg.graceful=e=>"string"==typeof e&&fg(e)||"\n";var dg=function(e){const t=e.match(xg);return t?t[0].trimLeft():""},mg=function(e){const t=e.match(xg);return t&&t[0]?e.substring(t[0].length):e},gg=function(e){return Og(e).pragmas},yg=Og,vg=function({comments:e="",pragmas:t={}}){const n=(0,Dg().default)(e)||bg().EOL,r=" *",i=Object.keys(t),o=i.map(e=>Fg(e,t[e])).reduce((e,t)=>e.concat(t),[]).map(e=>" * "+e+n).join("");if(!e){if(0===i.length)return"";if(1===i.length&&!Array.isArray(t[i[0]])){const e=t[i[0]];return`/** ${Fg(i[0],e)[0]} */`}}const s=e.split(n).map(e=>" * "+e).join(n)+n;return"/**"+n+(e?s:"")+(e&&i.length?r+n:"")+o+" */"};function bg(){const e=ha;return bg=function(){return e},e}function Dg(){const e=function(e){return e&&e.__esModule?e:{default:e}}(hg);return Dg=function(){return e},e}const wg=/\*\/$/,Cg=/^\/\*\*/,xg=/^\s*(\/\*\*?(.|\r?\n)*?\*\/)/,Eg=/(^|\s+)\/\/([^\r\n]*)/g,_g=/^(\r?\n)+/,kg=/(?:^|\r?\n) *(@[^\r\n]*?) *\r?\n *(?![^@\r\n]*\/\/[^]*)([^@\r\n\s][^@\r\n]+?) *\r?\n/g,Tg=/(?:^|\r?\n) *@(\S+) *([^\r\n]*)/g,Sg=/(\r?\n|^) *\* ?/g,Ag=[];function Og(e){const t=(0,Dg().default)(e)||bg().EOL;e=e.replace(Cg,"").replace(wg,"").replace(Sg,"$1");let n="";for(;n!==e;)n=e,e=e.replace(kg,`${t}$1 $2${t}`);e=e.replace(_g,"").trimRight();const r=Object.create(null),i=e.replace(Tg,"").replace(_g,"").trimRight();let o;for(;o=Tg.exec(e);){const e=o[2].replace(Eg,"");"string"==typeof r[o[1]]||Array.isArray(r[o[1]])?r[o[1]]=Ag.concat(r[o[1]],e):r[o[1]]=e}return{comments:i,pragmas:r}}function Fg(e,t){return Ag.concat(t).map(t=>`@${e} ${t}`.trim())}var Ng=Object.defineProperty({extract:dg,strip:mg,parse:gg,parseWithComments:yg,print:vg},"__esModule",{value:!0});const{parseWithComments:Ig,strip:Pg,extract:Mg,print:Lg}=Ng,{getShebang:jg}=_i,{normalizeEndOfLine:Bg}=ki;function Rg(e){const t=jg(e);t&&(e=e.slice(t.length+1));const n=Mg(e),{pragmas:r,comments:i}=Ig(n);return{shebang:t,text:e,pragmas:r,comments:i}}var $g={hasPragma:function(e){const t=Object.keys(Rg(e).pragmas);return t.includes("prettier")||t.includes("format")},insertPragma:function(e){const{shebang:t,text:n,pragmas:r,comments:i}=Rg(e),o=Pg(n),s=Lg({pragmas:Object.assign({format:""},r),comments:i.trimStart()});return(t?t+"\n":"")+Bg(s)+(o.startsWith("\n")?"\n":"\n\n")+o}};const{getLast:Hg,hasNewline:Ug,getNextNonSpaceNonCommentCharacterIndexWithStartIndex:qg,getNextNonSpaceNonCommentCharacter:zg,hasNewlineInRange:Vg,addLeadingComment:Wg,addTrailingComment:Gg,addDanglingComment:Kg,getNextNonSpaceNonCommentCharacterIndex:Yg,isNonEmptyArray:Xg}=_i,{isBlockComment:Jg,getFunctionParameters:Qg,isPrettierIgnoreComment:Zg,isJsxNode:ey,hasFlowShorthandAnnotationComment:ty,hasFlowAnnotationComment:ny,hasIgnoreComment:ry,isCallLikeExpression:iy,getCallArguments:oy,isCallExpression:sy,isMemberExpression:ay,isObjectProperty:uy,getComments:ly,CommentCheckFlags:cy}=tm,{locStart:py,locEnd:fy}=ec;function hy(e,t){const n=(e.body||e.properties).find(({type:e})=>"EmptyStatement"!==e);n?Wg(n,t):Kg(e,t)}function dy(e,t){"BlockStatement"===e.type?hy(e,t):Wg(e,t)}function my({comment:e,followingNode:t}){return!(!t||!zy(e))&&(Wg(t,e),!0)}function gy({comment:e,precedingNode:t,enclosingNode:n,followingNode:r,text:i}){return!(!n||"IfStatement"!==n.type||!r)&&(")"===zg(i,e,fy)?(Gg(t,e),!0):t===n.consequent&&r===n.alternate?("BlockStatement"===t.type?Gg(t,e):Kg(n,e),!0):"BlockStatement"===r.type?(hy(r,e),!0):"IfStatement"===r.type?(dy(r.consequent,e),!0):n.consequent===r&&(Wg(r,e),!0))}function yy({comment:e,precedingNode:t,enclosingNode:n,followingNode:r,text:i}){return!(!n||"WhileStatement"!==n.type||!r)&&(")"===zg(i,e,fy)?(Gg(t,e),!0):"BlockStatement"===r.type?(hy(r,e),!0):n.body===r&&(Wg(r,e),!0))}function vy({comment:e,precedingNode:t,enclosingNode:n,followingNode:r}){return!(!n||"TryStatement"!==n.type&&"CatchClause"!==n.type||!r)&&("CatchClause"===n.type&&t?(Gg(t,e),!0):"BlockStatement"===r.type?(hy(r,e),!0):"TryStatement"===r.type?(dy(r.finalizer,e),!0):"CatchClause"===r.type&&(dy(r.body,e),!0))}function by({comment:e,enclosingNode:t,followingNode:n}){return!(!ay(t)||!n||"Identifier"!==n.type)&&(Wg(t,e),!0)}function Dy({comment:e,precedingNode:t,enclosingNode:n,followingNode:r,text:i}){const o=t&&!Vg(i,fy(t),py(e));return!(t&&o||!n||"ConditionalExpression"!==n.type&&"TSConditionalType"!==n.type||!r)&&(Wg(r,e),!0)}function wy({comment:e,precedingNode:t,enclosingNode:n}){return!(!uy(n)||!n.shorthand||n.key!==t||"AssignmentPattern"!==n.value.type)&&(Gg(n.value.left,e),!0)}function Cy({comment:e,precedingNode:t,enclosingNode:n,followingNode:r}){if(n&&("ClassDeclaration"===n.type||"ClassExpression"===n.type||"DeclareClass"===n.type||"DeclareInterface"===n.type||"InterfaceDeclaration"===n.type||"TSInterfaceDeclaration"===n.type)){if(Xg(n.decorators)&&(!r||"Decorator"!==r.type))return Gg(Hg(n.decorators),e),!0;if(n.body&&r===n.body)return hy(n.body,e),!0;if(r)for(const i of["implements","extends","mixins"])if(n[i]&&r===n[i][0])return!t||t!==n.id&&t!==n.typeParameters&&t!==n.superClass?Kg(n,e,i):Gg(t,e),!0}return!1}function xy({comment:e,precedingNode:t,enclosingNode:n,text:r}){return(n&&t&&("Property"===n.type||"TSDeclareMethod"===n.type||"TSAbstractMethodDefinition"===n.type)&&"Identifier"===t.type&&n.key===t&&":"!==zg(r,t,fy)||!(!t||!n||"Decorator"!==t.type||"ClassMethod"!==n.type&&"ClassProperty"!==n.type&&"PropertyDefinition"!==n.type&&"TSAbstractClassProperty"!==n.type&&"TSAbstractMethodDefinition"!==n.type&&"TSDeclareMethod"!==n.type&&"MethodDefinition"!==n.type))&&(Gg(t,e),!0)}function Ey({comment:e,precedingNode:t,enclosingNode:n,text:r}){return"("===zg(r,e,fy)&&!(!t||!n||"FunctionDeclaration"!==n.type&&"FunctionExpression"!==n.type&&"ClassMethod"!==n.type&&"MethodDefinition"!==n.type&&"ObjectMethod"!==n.type)&&(Gg(t,e),!0)}function _y({comment:e,enclosingNode:t,text:n}){if(!t||"ArrowFunctionExpression"!==t.type)return!1;const r=Yg(n,e,fy);return!1!==r&&"=>"===n.slice(r,r+2)&&(Kg(t,e),!0)}function ky({comment:e,enclosingNode:t,text:n}){return")"===zg(n,e,fy)&&(t&&(qy(t)&&0===Qg(t).length||iy(t)&&0===oy(t).length)?(Kg(t,e),!0):!(!t||"MethodDefinition"!==t.type&&"TSAbstractMethodDefinition"!==t.type||0!==Qg(t.value).length)&&(Kg(t.value,e),!0))}function Ty({comment:e,precedingNode:t,enclosingNode:n,followingNode:r,text:i}){if(t&&"FunctionTypeParam"===t.type&&n&&"FunctionTypeAnnotation"===n.type&&r&&"FunctionTypeParam"!==r.type)return Gg(t,e),!0;if(t&&("Identifier"===t.type||"AssignmentPattern"===t.type)&&n&&qy(n)&&")"===zg(i,e,fy))return Gg(t,e),!0;if(n&&"FunctionDeclaration"===n.type&&r&&"BlockStatement"===r.type){const t=(()=>{const e=Qg(n);if(e.length>0)return qg(i,fy(Hg(e)));const t=qg(i,fy(n.id));return!1!==t&&qg(i,t+1)})();if(py(e)>t)return hy(r,e),!0}return!1}function Sy({comment:e,enclosingNode:t}){return!(!t||"ImportSpecifier"!==t.type)&&(Wg(t,e),!0)}function Ay({comment:e,enclosingNode:t}){return!(!t||"LabeledStatement"!==t.type)&&(Wg(t,e),!0)}function Oy({comment:e,enclosingNode:t}){return!(!t||"ContinueStatement"!==t.type&&"BreakStatement"!==t.type||t.label)&&(Gg(t,e),!0)}function Fy({comment:e,precedingNode:t,enclosingNode:n}){return!!(sy(n)&&t&&n.callee===t&&n.arguments.length>0)&&(Wg(n.arguments[0],e),!0)}function Ny({comment:e,precedingNode:t,enclosingNode:n,followingNode:r}){return!n||"UnionTypeAnnotation"!==n.type&&"TSUnionType"!==n.type?(r&&("UnionTypeAnnotation"===r.type||"TSUnionType"===r.type)&&Zg(e)&&(r.types[0].prettierIgnore=!0,e.unignore=!0),!1):(Zg(e)&&(r.prettierIgnore=!0,e.unignore=!0),!!t&&(Gg(t,e),!0))}function Iy({comment:e,enclosingNode:t}){return!!uy(t)&&(Wg(t,e),!0)}function Py({comment:e,enclosingNode:t,followingNode:n,ast:r,isLastComment:i}){return r&&r.body&&0===r.body.length?(i?Kg(r,e):Wg(r,e),!0):t&&"Program"===t.type&&0===t.body.length&&!Xg(t.directives)?(i?Kg(t,e):Wg(t,e),!0):!(!n||"Program"!==n.type||0!==n.body.length||!t||"ModuleExpression"!==t.type)&&(Kg(n,e),!0)}function My({comment:e,enclosingNode:t}){return!(!t||"ForInStatement"!==t.type&&"ForOfStatement"!==t.type)&&(Wg(t,e),!0)}function Ly({comment:e,precedingNode:t,enclosingNode:n,text:r}){return!!(t&&"ImportSpecifier"===t.type&&n&&"ImportDeclaration"===n.type&&Ug(r,fy(e)))&&(Gg(t,e),!0)}function jy({comment:e,enclosingNode:t}){return!(!t||"AssignmentPattern"!==t.type)&&(Wg(t,e),!0)}function By({comment:e,enclosingNode:t}){return!(!t||"TypeAlias"!==t.type)&&(Wg(t,e),!0)}function Ry({comment:e,enclosingNode:t,followingNode:n}){return!(!t||"VariableDeclarator"!==t.type&&"AssignmentExpression"!==t.type||!n||"ObjectExpression"!==n.type&&"ArrayExpression"!==n.type&&"TemplateLiteral"!==n.type&&"TaggedTemplateExpression"!==n.type&&!Jg(e))&&(Wg(n,e),!0)}function $y({comment:e,enclosingNode:t,followingNode:n,text:r}){return!(n||!t||"TSMethodSignature"!==t.type&&"TSDeclareFunction"!==t.type&&"TSAbstractMethodDefinition"!==t.type||";"!==zg(r,e,fy))&&(Gg(t,e),!0)}function Hy({comment:e,enclosingNode:t,followingNode:n}){if(Zg(e)&&t&&"TSMappedType"===t.type&&n&&"TSTypeParameter"===n.type&&n.constraint)return t.prettierIgnore=!0,e.unignore=!0,!0}function Uy({comment:e,precedingNode:t,enclosingNode:n,followingNode:r}){return!(!n||"TSMappedType"!==n.type)&&(r&&"TSTypeParameter"===r.type&&r.name?(Wg(r.name,e),!0):!(!t||"TSTypeParameter"!==t.type||!t.constraint)&&(Gg(t.constraint,e),!0))}function qy(e){return"ArrowFunctionExpression"===e.type||"FunctionExpression"===e.type||"FunctionDeclaration"===e.type||"ObjectMethod"===e.type||"ClassMethod"===e.type||"TSDeclareFunction"===e.type||"TSCallSignatureDeclaration"===e.type||"TSConstructSignatureDeclaration"===e.type||"TSMethodSignature"===e.type||"TSConstructorType"===e.type||"TSFunctionType"===e.type||"TSDeclareMethod"===e.type}function zy(e){return Jg(e)&&"*"===e.value[0]&&/@type\b/.test(e.value)}var Vy={handleOwnLineComment:function(e){return[Hy,Ty,by,gy,yy,vy,Cy,Sy,My,Ny,Py,Ly,jy,xy,Ay].some(t=>t(e))},handleEndOfLineComment:function(e){return[my,Ty,Dy,Sy,gy,yy,vy,Cy,Ay,Fy,Iy,Py,By,Ry].some(t=>t(e))},handleRemainingComment:function(e){return[Hy,gy,yy,wy,ky,xy,Py,_y,Ey,Uy,Oy,$y].some(t=>t(e))},isTypeCastComment:zy,getCommentChildNodes:function(e,t){if(("typescript"===t.parser||"flow"===t.parser||"espree"===t.parser||"meriyah"===t.parser||"__babel_estree"===t.parser)&&"MethodDefinition"===e.type&&e.value&&"FunctionExpression"===e.value.type&&0===Qg(e.value).length&&!e.value.returnType&&!Xg(e.value.typeParameters)&&e.value.body)return[...e.decorators||[],e.key,e.value.body]},willPrintOwnComments:function(e){const t=e.getValue(),n=e.getParentNode();return(t&&(ey(t)||ty(t)||sy(n)&&(e=>ny(ly(e,cy.Leading))||ny(ly(e,cy.Trailing)))(t))||n&&("JSXSpreadAttribute"===n.type||"JSXSpreadChild"===n.type||"UnionTypeAnnotation"===n.type||"TSUnionType"===n.type||("ClassDeclaration"===n.type||"ClassExpression"===n.type)&&n.superClass===t))&&(!ry(e)||"UnionTypeAnnotation"===n.type||"TSUnionType"===n.type)}};const{getFunctionParameters:Wy,getLeftSidePathName:Gy,hasFlowShorthandAnnotationComment:Ky,hasNakedLeftSide:Yy,hasNode:Xy,isBitwiseOperator:Jy,startsWithNoLookaheadToken:Qy,shouldFlatten:Zy,getPrecedence:ev,isCallExpression:tv,isMemberExpression:nv,isObjectProperty:rv}=tm;function iv(e,t){const n=e.getParentNode();if(!n)return!1;const r=e.getName(),i=e.getNode();if(t.__isInHtmlInterpolation&&!t.bracketSpacing&&function(e){switch(e.type){case"ObjectExpression":return!0;default:return!1}}(i)&&ov(e))return!0;if(function(e){return"BlockStatement"===e.type||"BreakStatement"===e.type||"ClassBody"===e.type||"ClassDeclaration"===e.type||"ClassMethod"===e.type||"ClassProperty"===e.type||"PropertyDefinition"===e.type||"ClassPrivateProperty"===e.type||"ContinueStatement"===e.type||"DebuggerStatement"===e.type||"DeclareClass"===e.type||"DeclareExportAllDeclaration"===e.type||"DeclareExportDeclaration"===e.type||"DeclareFunction"===e.type||"DeclareInterface"===e.type||"DeclareModule"===e.type||"DeclareModuleExports"===e.type||"DeclareVariable"===e.type||"DoWhileStatement"===e.type||"EnumDeclaration"===e.type||"ExportAllDeclaration"===e.type||"ExportDefaultDeclaration"===e.type||"ExportNamedDeclaration"===e.type||"ExpressionStatement"===e.type||"ForInStatement"===e.type||"ForOfStatement"===e.type||"ForStatement"===e.type||"FunctionDeclaration"===e.type||"IfStatement"===e.type||"ImportDeclaration"===e.type||"InterfaceDeclaration"===e.type||"LabeledStatement"===e.type||"MethodDefinition"===e.type||"ReturnStatement"===e.type||"SwitchStatement"===e.type||"ThrowStatement"===e.type||"TryStatement"===e.type||"TSDeclareFunction"===e.type||"TSEnumDeclaration"===e.type||"TSImportEqualsDeclaration"===e.type||"TSInterfaceDeclaration"===e.type||"TSModuleDeclaration"===e.type||"TSNamespaceExportDeclaration"===e.type||"TypeAlias"===e.type||"VariableDeclaration"===e.type||"WhileStatement"===e.type||"WithStatement"===e.type}(i))return!1;if("flow"!==t.parser&&Ky(e.getValue()))return!0;if("Identifier"===i.type)return!!(i.extra&&i.extra.parenthesized&&/^PRETTIER_HTML_PLACEHOLDER_\d+_\d+_IN_JS$/.test(i.name))||"left"===r&&"async"===i.name&&"ForOfStatement"===n.type&&!n.await;switch(n.type){case"ParenthesizedExpression":return!1;case"ClassDeclaration":case"ClassExpression":if("superClass"===r&&("ArrowFunctionExpression"===i.type||"AssignmentExpression"===i.type||"AwaitExpression"===i.type||"BinaryExpression"===i.type||"ConditionalExpression"===i.type||"LogicalExpression"===i.type||"NewExpression"===i.type||"ObjectExpression"===i.type||"ParenthesizedExpression"===i.type||"SequenceExpression"===i.type||"TaggedTemplateExpression"===i.type||"UnaryExpression"===i.type||"UpdateExpression"===i.type||"YieldExpression"===i.type||"TSNonNullExpression"===i.type))return!0;break;case"ExportDefaultDeclaration":return sv(e,t)||"SequenceExpression"===i.type;case"Decorator":if("expression"===r){let e=!1,t=!1,n=i;for(;n;)switch(n.type){case"MemberExpression":t=!0,n=n.object;break;case"CallExpression":if(t||e)return!0;e=!0,n=n.callee;break;case"Identifier":return!1;default:return!0}return!0}break;case"ExpressionStatement":if(Qy(i,!0))return!0;break;case"ArrowFunctionExpression":if("body"===r&&"SequenceExpression"!==i.type&&Qy(i,!1))return!0}switch(i.type){case"UpdateExpression":if("UnaryExpression"===n.type)return i.prefix&&("++"===i.operator&&"+"===n.operator||"--"===i.operator&&"-"===n.operator);case"UnaryExpression":switch(n.type){case"UnaryExpression":return i.operator===n.operator&&("+"===i.operator||"-"===i.operator);case"BindExpression":return!0;case"MemberExpression":case"OptionalMemberExpression":return"object"===r;case"TaggedTemplateExpression":return!0;case"NewExpression":case"CallExpression":case"OptionalCallExpression":return"callee"===r;case"BinaryExpression":return"left"===r&&"**"===n.operator;case"TSNonNullExpression":return!0;default:return!1}case"BinaryExpression":if("UpdateExpression"===n.type||"PipelineTopicExpression"===n.type&&"|>"===i.operator)return!0;if("in"===i.operator&&function(e){let t=0,n=e.getValue();for(;n;){const r=e.getParentNode(t++);if(r&&"ForStatement"===r.type&&r.init===n)return!0;n=r}return!1}(e))return!0;if("|>"===i.operator&&i.extra&&i.extra.parenthesized){const t=e.getParentNode(1);if("BinaryExpression"===t.type&&"|>"===t.operator)return!0}case"TSTypeAssertion":case"TSAsExpression":case"LogicalExpression":switch(n.type){case"TSAsExpression":return"TSAsExpression"!==i.type;case"ConditionalExpression":return"TSAsExpression"===i.type;case"CallExpression":case"NewExpression":case"OptionalCallExpression":return"callee"===r;case"ClassExpression":case"ClassDeclaration":return"superClass"===r;case"TSTypeAssertion":case"TaggedTemplateExpression":case"UnaryExpression":case"JSXSpreadAttribute":case"SpreadElement":case"SpreadProperty":case"BindExpression":case"AwaitExpression":case"TSNonNullExpression":case"UpdateExpression":return!0;case"MemberExpression":case"OptionalMemberExpression":return"object"===r;case"AssignmentExpression":case"AssignmentPattern":return"left"===r&&("TSTypeAssertion"===i.type||"TSAsExpression"===i.type);case"LogicalExpression":if("LogicalExpression"===i.type)return n.operator!==i.operator;case"BinaryExpression":{const{operator:e,type:t}=i;if(!e&&"TSTypeAssertion"!==t)return!0;const o=ev(e),s=n.operator,a=ev(s);return a>o||"right"===r&&a===o||a===o&&!Zy(s,e)||(a"===n.operator);default:return!1}case"TSConditionalType":if("extendsType"===r&&"TSConditionalType"===n.type)return!0;case"TSFunctionType":case"TSConstructorType":if("checkType"===r&&"TSConditionalType"===n.type)return!0;case"TSUnionType":case"TSIntersectionType":if(("TSUnionType"===n.type||"TSIntersectionType"===n.type)&&n.types.length>1&&(!i.types||i.types.length>1))return!0;case"TSInferType":if("TSInferType"===i.type&&"TSRestType"===n.type)return!1;case"TSTypeOperator":return"TSArrayType"===n.type||"TSOptionalType"===n.type||"TSRestType"===n.type||"objectType"===r&&"TSIndexedAccessType"===n.type||"TSTypeOperator"===n.type||"TSTypeAnnotation"===n.type&&/^TSJSDoc/.test(e.getParentNode(1).type);case"ArrayTypeAnnotation":return"NullableTypeAnnotation"===n.type;case"IntersectionTypeAnnotation":case"UnionTypeAnnotation":return"ArrayTypeAnnotation"===n.type||"NullableTypeAnnotation"===n.type||"IntersectionTypeAnnotation"===n.type||"UnionTypeAnnotation"===n.type||"objectType"===r&&("IndexedAccessType"===n.type||"OptionalIndexedAccessType"===n.type);case"NullableTypeAnnotation":return"ArrayTypeAnnotation"===n.type||"objectType"===r&&("IndexedAccessType"===n.type||"OptionalIndexedAccessType"===n.type);case"FunctionTypeAnnotation":{const t="NullableTypeAnnotation"===n.type?e.getParentNode(1):n;return"UnionTypeAnnotation"===t.type||"IntersectionTypeAnnotation"===t.type||"ArrayTypeAnnotation"===t.type||"objectType"===r&&("IndexedAccessType"===t.type||"OptionalIndexedAccessType"===t.type)||"NullableTypeAnnotation"===t.type||"FunctionTypeParam"===n.type&&null===n.name&&Wy(i).some(e=>e.typeAnnotation&&"NullableTypeAnnotation"===e.typeAnnotation.type)}case"OptionalIndexedAccessType":return"objectType"===r&&"IndexedAccessType"===n.type;case"TypeofTypeAnnotation":return"objectType"===r&&("IndexedAccessType"===n.type||"OptionalIndexedAccessType"===n.type);case"StringLiteral":case"NumericLiteral":case"Literal":if("string"==typeof i.value&&"ExpressionStatement"===n.type&&!n.directive){const t=e.getParentNode(1);return"Program"===t.type||"BlockStatement"===t.type}return"object"===r&&"MemberExpression"===n.type&&"number"==typeof i.value;case"AssignmentExpression":{const t=e.getParentNode(1);return"body"===r&&"ArrowFunctionExpression"===n.type||("key"!==r||"ClassProperty"!==n.type&&"PropertyDefinition"!==n.type||!n.computed)&&("init"!==r&&"update"!==r||"ForStatement"!==n.type)&&("ExpressionStatement"===n.type?"ObjectPattern"===i.left.type:("key"!==r||"TSPropertySignature"!==n.type)&&"AssignmentExpression"!==n.type&&("SequenceExpression"!==n.type||!t||"ForStatement"!==t.type||t.init!==n&&t.update!==n)&&("value"!==r||"Property"!==n.type||!t||"ObjectPattern"!==t.type||!t.properties.includes(n))&&"NGChainedExpression"!==n.type)}case"ConditionalExpression":switch(n.type){case"TaggedTemplateExpression":case"UnaryExpression":case"SpreadElement":case"SpreadProperty":case"BinaryExpression":case"LogicalExpression":case"NGPipeExpression":case"ExportDefaultDeclaration":case"AwaitExpression":case"JSXSpreadAttribute":case"TSTypeAssertion":case"TypeCastExpression":case"TSAsExpression":case"TSNonNullExpression":return!0;case"NewExpression":case"CallExpression":case"OptionalCallExpression":return"callee"===r;case"ConditionalExpression":return"test"===r;case"MemberExpression":case"OptionalMemberExpression":return"object"===r;default:return!1}case"FunctionExpression":switch(n.type){case"NewExpression":case"CallExpression":case"OptionalCallExpression":return"callee"===r;case"TaggedTemplateExpression":return!0;default:return!1}case"ArrowFunctionExpression":switch(n.type){case"PipelineTopicExpression":return Boolean(i.extra&&i.extra.parenthesized);case"BinaryExpression":return"|>"!==n.operator||i.extra&&i.extra.parenthesized;case"NewExpression":case"CallExpression":case"OptionalCallExpression":return"callee"===r;case"MemberExpression":case"OptionalMemberExpression":return"object"===r;case"TSAsExpression":case"TSNonNullExpression":case"BindExpression":case"TaggedTemplateExpression":case"UnaryExpression":case"LogicalExpression":case"AwaitExpression":case"TSTypeAssertion":return!0;case"ConditionalExpression":return"test"===r;default:return!1}case"ClassExpression":switch(n.type){case"NewExpression":return"callee"===r;default:return!1}case"OptionalMemberExpression":case"OptionalCallExpression":{const t=e.getParentNode(1);if("object"===r&&"MemberExpression"===n.type||"callee"===r&&("CallExpression"===n.type||"NewExpression"===n.type)||"TSNonNullExpression"===n.type&&"MemberExpression"===t.type&&t.object===n)return!0}case"CallExpression":case"MemberExpression":case"TaggedTemplateExpression":case"TSNonNullExpression":if("callee"===r&&("BindExpression"===n.type||"NewExpression"===n.type)){let e=i;for(;e;)switch(e.type){case"CallExpression":case"OptionalCallExpression":return!0;case"MemberExpression":case"OptionalMemberExpression":case"BindExpression":e=e.object;break;case"TaggedTemplateExpression":e=e.tag;break;case"TSNonNullExpression":e=e.expression;break;default:return!1}}return!1;case"BindExpression":return"callee"===r&&("BindExpression"===n.type||"NewExpression"===n.type)||"object"===r&&nv(n);case"NGPipeExpression":return!("NGRoot"===n.type||"NGMicrosyntaxExpression"===n.type||"ObjectProperty"===n.type&&(!i.extra||!i.extra.parenthesized)||"ArrayExpression"===n.type||tv(n)&&n.arguments[r]===i||"right"===r&&"NGPipeExpression"===n.type||"property"===r&&"MemberExpression"===n.type||"AssignmentExpression"===n.type);case"JSXFragment":case"JSXElement":return"callee"===r||"left"===r&&"BinaryExpression"===n.type&&"<"===n.operator||"ArrayExpression"!==n.type&&"ArrowFunctionExpression"!==n.type&&"AssignmentExpression"!==n.type&&"AssignmentPattern"!==n.type&&"BinaryExpression"!==n.type&&"NewExpression"!==n.type&&"ConditionalExpression"!==n.type&&"ExpressionStatement"!==n.type&&"JsExpressionRoot"!==n.type&&"JSXAttribute"!==n.type&&"JSXElement"!==n.type&&"JSXExpressionContainer"!==n.type&&"JSXFragment"!==n.type&&"LogicalExpression"!==n.type&&!tv(n)&&!rv(n)&&"ReturnStatement"!==n.type&&"ThrowStatement"!==n.type&&"TypeCastExpression"!==n.type&&"VariableDeclarator"!==n.type&&"YieldExpression"!==n.type;case"TypeAnnotation":return"returnType"===r&&"ArrowFunctionExpression"===n.type&&function(e){return Xy(e,e=>"ObjectTypeAnnotation"===e.type&&Xy(e,e=>"FunctionTypeAnnotation"===e.type||void 0)||void 0)}(i)}return!1}function ov(e){const t=e.getValue(),n=e.getParentNode(),r=e.getName();switch(n.type){case"NGPipeExpression":if("number"==typeof r&&n.arguments[r]===t&&n.arguments.length-1===r)return e.callParent(ov);break;case"ObjectProperty":if("value"===r){const t=e.getParentNode(1);return Bn(t.properties)===n}break;case"BinaryExpression":case"LogicalExpression":if("right"===r)return e.callParent(ov);break;case"ConditionalExpression":if("alternate"===r)return e.callParent(ov);break;case"UnaryExpression":if(n.prefix)return e.callParent(ov)}return!1}function sv(e,t){const n=e.getValue(),r=e.getParentNode();return"FunctionExpression"===n.type||"ClassExpression"===n.type?"ExportDefaultDeclaration"===r.type||!iv(e,t):!(!Yy(n)||"ExportDefaultDeclaration"!==r.type&&iv(e,t))&&e.call(e=>sv(e,t),...Gy(e,n))}var av=iv,uv=function(e,t){switch(t.parser){case"json":case"json5":case"json-stringify":case"__js_expression":case"__vue_expression":return Object.assign(Object.assign({},e),{},{type:t.parser.startsWith("__")?"JsExpressionRoot":"JsonRoot",node:e,comments:[],rootMarker:t.rootMarker});default:return e}};const{builders:{join:lv,line:cv,group:pv,softline:fv,indent:hv}}=uo;var dv={isVueEventBindingExpression:function e(t){switch(t.type){case"MemberExpression":switch(t.property.type){case"Identifier":case"NumericLiteral":case"StringLiteral":return e(t.object)}return!1;case"Identifier":return!0;default:return!1}},printHtmlBinding:function(e,t,n){const r=e.getValue();if(t.__onHtmlBindingRoot&&null===e.getName()&&t.__onHtmlBindingRoot(r,t),"File"===r.type)return t.__isVueForBindingLeft?e.call(e=>{const t=lv([",",cv],e.map(n,"params")),{params:r}=e.getValue();return 1===r.length?t:["(",hv([fv,pv(t)]),fv,")"]},"program","body",0):t.__isVueBindings?e.call(e=>lv([",",cv],e.map(n,"params")),"program","body",0):void 0}};const{printComments:mv}=Jf,{getLast:gv}=_i,{builders:{join:yv,line:vv,softline:bv,group:Dv,indent:wv,align:Cv,ifBreak:xv,indentIfBreak:Ev},utils:{cleanDoc:_v,getDocParts:kv,isConcat:Tv}}=uo,{hasLeadingOwnLineComment:Sv,isBinaryish:Av,isJsxNode:Ov,shouldFlatten:Fv,hasComment:Nv,CommentCheckFlags:Iv,isCallExpression:Pv,isMemberExpression:Mv,isObjectProperty:Lv}=tm;let jv=0;function Bv(e,t,n,r,i){let o=[];const s=e.getValue();if(Av(s)){Fv(s.operator,s.left.operator)?o=[...o,...e.call(e=>Bv(e,t,n,!0,i),"left")]:o.push(Dv(t("left")));const a=Rv(s),u=("|>"===s.operator||"NGPipeExpression"===s.type||"|"===s.operator&&"__vue_expression"===n.parser)&&!Sv(n.originalText,s.right),l="NGPipeExpression"===s.type?"|":s.operator,c="NGPipeExpression"===s.type&&s.arguments.length>0?Dv(wv([bv,": ",yv([bv,":",xv(" ")],e.map(t,"arguments").map(e=>Cv(2,Dv(e))))])):"",p=a?[l," ",t("right"),c]:[u?vv:"",l,u?" ":vv,t("right"),c],f=e.getParentNode(),h=Nv(s.left,Iv.Trailing|Iv.Line),d=h||!(i&&"LogicalExpression"===s.type)&&f.type!==s.type&&s.left.type!==s.type&&s.right.type!==s.type;if(o.push(u?"":" ",d?Dv(p,{shouldBreak:h}):p),r&&Nv(s)){const t=_v(mv(e,o,n));o=Tv(t)||"fill"===t.type?kv(t):[t]}}else o.push(Dv(t()));return o}function Rv(e){return"LogicalExpression"===e.type&&("ObjectExpression"===e.right.type&&e.right.properties.length>0||"ArrayExpression"===e.right.type&&e.right.elements.length>0||!!Ov(e.right))}var $v={printBinaryishExpression:function(e,t,n){const r=e.getValue(),i=e.getParentNode(),o=e.getParentNode(1),s=r!==i.body&&("IfStatement"===i.type||"WhileStatement"===i.type||"SwitchStatement"===i.type||"DoWhileStatement"===i.type),a=Bv(e,n,t,!1,s);if(s)return a;if(Pv(i)&&i.callee===r||"UnaryExpression"===i.type||Mv(i)&&!i.computed)return Dv([wv([bv,...a]),bv]);const u="ReturnStatement"===i.type||"ThrowStatement"===i.type||"JSXExpressionContainer"===i.type&&"JSXAttribute"===o.type||"|"!==r.operator&&"JsExpressionRoot"===i.type||"NGPipeExpression"!==r.type&&("NGRoot"===i.type&&"__ng_binding"===t.parser||"NGMicrosyntaxExpression"===i.type&&"NGMicrosyntax"===o.type&&1===o.body.length)||r===i.body&&"ArrowFunctionExpression"===i.type||r!==i.body&&"ForStatement"===i.type||"ConditionalExpression"===i.type&&"ReturnStatement"!==o.type&&"ThrowStatement"!==o.type&&!Pv(o)||"TemplateLiteral"===i.type,l="AssignmentExpression"===i.type||"VariableDeclarator"===i.type||"ClassProperty"===i.type||"PropertyDefinition"===i.type||"TSAbstractClassProperty"===i.type||"ClassPrivateProperty"===i.type||Lv(i),c=Av(r.left)&&Fv(r.operator,r.left.operator);if(u||Rv(r)&&!c||!Rv(r)&&l)return Dv(a);if(0===a.length)return"";const p=Ov(r.right),f=a.findIndex(e=>"string"!=typeof e&&!Array.isArray(e)&&"group"===e.type),h=a.slice(0,-1===f?1:f+1),d=a.slice(h.length,p?-1:void 0),m=Symbol("logicalChain-"+ ++jv),g=Dv([...h,wv(d)],{id:m});if(!p)return g;const y=gv(a);return Dv([g,Ev(y,{groupId:m})])},shouldInlineLogicalExpression:Rv};const{builders:{join:Hv,line:Uv,group:qv}}=uo,{hasNode:zv,hasComment:Vv,getComments:Wv}=tm,{printBinaryishExpression:Gv}=$v;function Kv(e,t,n){return"NGMicrosyntaxKeyedExpression"===e.type&&"of"===e.key.name&&1===t&&"NGMicrosyntaxLet"===n.body[0].type&&null===n.body[0].value}var Yv={printAngular:function(e,t,n){const r=e.getValue();if(r.type.startsWith("NG"))switch(r.type){case"NGRoot":return[n("node"),Vv(r.node)?" //"+Wv(r.node)[0].value.trimEnd():""];case"NGPipeExpression":return Gv(e,t,n);case"NGChainedExpression":return qv(Hv([";",Uv],e.map(e=>function(e){return zv(e.getValue(),e=>{switch(e.type){case void 0:return!1;case"CallExpression":case"OptionalCallExpression":case"AssignmentExpression":return!0}})}(e)?n():["(",n(),")"],"expressions")));case"NGEmptyExpression":return"";case"NGQuotedExpression":return[r.prefix,": ",r.value.trim()];case"NGMicrosyntax":return e.map((e,t)=>[0===t?"":Kv(e.getValue(),t,r)?" ":[";",Uv],n()],"body");case"NGMicrosyntaxKey":return/^[$_a-z][\w$]*(?:-[$_a-z][\w$])*$/i.test(r.name)?r.name:JSON.stringify(r.name);case"NGMicrosyntaxExpression":return[n("expression"),null===r.alias?"":[" as ",n("alias")]];case"NGMicrosyntaxKeyedExpression":{const t=e.getName(),i=e.getParentNode(),o=Kv(r,t,i)||(1===t&&("then"===r.key.name||"else"===r.key.name)||2===t&&"else"===r.key.name&&"NGMicrosyntaxKeyedExpression"===i.body[t-1].type&&"then"===i.body[t-1].key.name)&&"NGMicrosyntaxExpression"===i.body[0].type;return[n("key"),o?" ":": ",n("expression")]}case"NGMicrosyntaxLet":return["let ",n("key"),null===r.value?"":[" = ",n("value")]];case"NGMicrosyntaxAs":return[n("key")," as ",n("alias")];default:throw new Error(`Unknown Angular node type: ${JSON.stringify(r.type)}.`)}}};const{printComments:Xv,printDanglingComments:Jv}=Jf,{builders:{line:Qv,hardline:Zv,softline:eb,group:tb,indent:nb,conditionalGroup:rb,fill:ib,ifBreak:ob,lineSuffixBoundary:sb,join:ab},utils:{willBreak:ub}}=uo,{getLast:lb,getPreferredQuote:cb}=_i,{isJsxNode:pb,rawText:fb,isLiteral:hb,isCallExpression:db,isStringLiteral:mb,isBinaryish:gb,hasComment:yb,CommentCheckFlags:vb,hasNodeIgnoreComment:bb}=tm,{willPrintOwnComments:Db}=Vy,wb=e=>""===e||e===Qv||e===Zv||e===eb;function Cb(e,t,n){const r=e.getValue();if("JSXElement"===r.type&&function(e){if(0===e.children.length)return!0;if(e.children.length>1)return!1;const t=e.children[0];return hb(t)&&!Ob(t)}(r))return[n("openingElement"),n("closingElement")];const i="JSXElement"===r.type?n("openingElement"):n("openingFragment"),o="JSXElement"===r.type?n("closingElement"):n("closingFragment");if(1===r.children.length&&"JSXExpressionContainer"===r.children[0].type&&("TemplateLiteral"===r.children[0].expression.type||"TaggedTemplateExpression"===r.children[0].expression.type))return[i,...e.map(n,"children"),o];r.children=r.children.map(e=>function(e){return"JSXExpressionContainer"===e.type&&hb(e.expression)&&" "===e.expression.value&&!yb(e.expression)}(e)?{type:"JSXText",value:" ",raw:" "}:e);const s=r.children.filter(pb).length>0,a=r.children.filter(e=>"JSXExpressionContainer"===e.type).length>1,u="JSXElement"===r.type&&r.openingElement.attributes.length>1;let l=ub(i)||s||u||a;const c="mdx"===e.getParentNode().rootMarker,p=t.singleQuote?"{' '}":'{" "}',f=c?" ":ob([p,eb]," "),h=function(e,t,n,r,i){const o=[];return e.each((e,t,s)=>{const a=e.getValue();if(hb(a)){const e=fb(a);if(Ob(a)){const n=e.split(Tb);if(""===n[0]){if(o.push(""),n.shift(),/\n/.test(n[0])){const e=s[t+1];o.push(Eb(i,n[1],a,e))}else o.push(r);n.shift()}let u;if(""===lb(n)&&(n.pop(),u=n.pop()),0===n.length)return;for(const[e,t]of n.entries())e%2==1?o.push(Qv):o.push(t);if(void 0!==u)if(/\n/.test(u)){const e=s[t+1];o.push(Eb(i,lb(o),a,e))}else o.push(r);else{const e=s[t+1];o.push(xb(i,lb(o),a,e))}}else/\n/.test(e)?e.match(/\n/g).length>1&&o.push("",Zv):o.push("",r)}else{const e=n();o.push(e);const r=s[t+1];if(r&&Ob(r)){const e=Ab(fb(r)).split(Tb)[0];o.push(xb(i,e,a,r))}else o.push(Zv)}},"children"),o}(e,0,n,f,r.openingElement&&r.openingElement.name&&"fbt"===r.openingElement.name.name),d=r.children.some(e=>Ob(e));for(let v=h.length-2;v>=0;v--){const e=""===h[v]&&""===h[v+1],t=h[v]===Zv&&""===h[v+1]&&h[v+2]===Zv,n=(h[v]===eb||h[v]===Zv)&&""===h[v+1]&&h[v+2]===f,r=h[v]===f&&""===h[v+1]&&(h[v+2]===eb||h[v+2]===Zv),i=h[v]===f&&""===h[v+1]&&h[v+2]===f,o=h[v]===eb&&""===h[v+1]&&h[v+2]===Zv||h[v]===Zv&&""===h[v+1]&&h[v+2]===eb;t&&d||e||n||i||o?h.splice(v,2):r&&h.splice(v+1,2)}for(;h.length>0&&wb(lb(h));)h.pop();for(;h.length>1&&wb(h[0])&&wb(h[1]);)h.shift(),h.shift();const m=[];for(const[v,b]of h.entries()){if(b===f){if(1===v&&""===h[v-1]){if(2===h.length){m.push(p);continue}m.push([p,Zv]);continue}if(v===h.length-1){m.push(p);continue}if(""===h[v-1]&&h[v-2]===Zv){m.push(p);continue}}m.push(b),ub(b)&&(l=!0)}const g=d?ib(m):tb(m,{shouldBreak:!0});if(c)return g;const y=tb([i,nb([Zv,g]),Zv,o]);return l?y:rb([tb([i,...h,o]),y])}function xb(e,t,n,r){return e?"":"JSXElement"===n.type&&!n.closingElement||r&&"JSXElement"===r.type&&!r.closingElement?1===t.length?eb:Zv:eb}function Eb(e,t,n,r){return e?Zv:1===t.length?"JSXElement"===n.type&&!n.closingElement||r&&"JSXElement"===r.type&&!r.closingElement?Zv:eb:Zv}function _b(e,t,n){return function(e,t,n){const r=e.getParentNode();if(!r)return t;if({ArrayExpression:!0,JSXAttribute:!0,JSXElement:!0,JSXExpressionContainer:!0,JSXFragment:!0,ExpressionStatement:!0,CallExpression:!0,OptionalCallExpression:!0,ConditionalExpression:!0,JsExpressionRoot:!0}[r.type])return t;const i=e.match(void 0,e=>"ArrowFunctionExpression"===e.type,db,e=>"JSXExpressionContainer"===e.type),o=av(e,n);return tb([o?"":ob("("),nb([eb,t]),eb,o?"":ob(")")],{shouldBreak:i})}(e,Xv(e,Cb(e,t,n),t),t)}function kb(e,t,n){const r=e.getValue();return["{",e.call(e=>{const r=["...",n()],i=e.getValue();return yb(i)&&Db(e)?[nb([eb,Xv(e,r,t)]),eb]:r},"JSXSpreadAttribute"===r.type?"argument":"expression"),"}"]}const Tb=new RegExp("([ \n\r\t]+)"),Sb=new RegExp("[^ \n\r\t]"),Ab=e=>e.replace(new RegExp("(?:^"+Tb.source+"|"+Tb.source+"$)"),"");function Ob(e){return hb(e)&&(Sb.test(fb(e))||!/\n/.test(fb(e)))}var Fb={hasJsxIgnoreComment:function(e){const t=e.getValue(),n=e.getParentNode();if(!(n&&t&&pb(t)&&pb(n)))return!1;let r=null;for(let i=n.children.indexOf(t);i>0;i--){const e=n.children[i-1];if("JSXText"!==e.type||Ob(e)){r=e;break}}return r&&"JSXExpressionContainer"===r.type&&"JSXEmptyExpression"===r.expression.type&&bb(r.expression)},printJsx:function(e,t,n){const r=e.getValue();if(r.type.startsWith("JSX"))switch(r.type){case"JSXAttribute":return function(e,t,n){const r=e.getValue(),i=[];if(i.push(n("name")),r.value){let e;if(mb(r.value)){let n=fb(r.value).replace(/'/g,"'").replace(/"/g,'"');const i=cb(n,t.jsxSingleQuote?"'":'"'),o="'"===i?"'":""";n=n.slice(1,-1).replace(new RegExp(i,"g"),o),e=[i,n,i]}else e=n("value");i.push("=",e)}return i}(e,t,n);case"JSXIdentifier":return String(r.name);case"JSXNamespacedName":return ab(":",[n("namespace"),n("name")]);case"JSXMemberExpression":return ab(".",[n("object"),n("property")]);case"JSXSpreadAttribute":return kb(e,t,n);case"JSXSpreadChild":return kb(e,t,n);case"JSXExpressionContainer":return function(e,t,n){const r=e.getValue(),i=e.getParentNode(0),o="JSXEmptyExpression"===r.expression.type||!yb(r.expression)&&("ArrayExpression"===r.expression.type||"ObjectExpression"===r.expression.type||"ArrowFunctionExpression"===r.expression.type||db(r.expression)||"FunctionExpression"===r.expression.type||"TemplateLiteral"===r.expression.type||"TaggedTemplateExpression"===r.expression.type||"DoExpression"===r.expression.type||pb(i)&&("ConditionalExpression"===r.expression.type||gb(r.expression)));return tb(o?["{",n("expression"),sb,"}"]:["{",nb([eb,n("expression")]),eb,sb,"}"])}(e,0,n);case"JSXFragment":case"JSXElement":return _b(e,t,n);case"JSXOpeningElement":return function(e,t,n){const r=e.getValue(),i=r.name&&yb(r.name)||r.typeParameters&&yb(r.typeParameters);if(r.selfClosing&&0===r.attributes.length&&!i)return["<",n("name"),n("typeParameters")," />"];if(r.attributes&&1===r.attributes.length&&r.attributes[0].value&&mb(r.attributes[0].value)&&!r.attributes[0].value.value.includes("\n")&&!i&&!yb(r.attributes[0]))return tb(["<",n("name"),n("typeParameters")," ",...e.map(n,"attributes"),r.selfClosing?" />":">"]);const o=r.attributes.length>0&&yb(lb(r.attributes),vb.Trailing),s=0===r.attributes.length&&!i||(t.bracketSameLine||t.jsxBracketSameLine)&&(!i||r.attributes.length>0)&&!o,a=r.attributes&&r.attributes.some(e=>e.value&&mb(e.value)&&e.value.value.includes("\n"));return tb(["<",n("name"),n("typeParameters"),nb(e.map(()=>[Qv,n()],"attributes")),r.selfClosing?Qv:s?">":eb,r.selfClosing?"/>":s?"":">"],{shouldBreak:a})}(e,t,n);case"JSXClosingElement":return function(e,t,n){const r=e.getValue(),i=[];i.push(""),i}(e,0,n);case"JSXOpeningFragment":case"JSXClosingFragment":return function(e,t){const n=e.getValue(),r=yb(n),i=yb(n,vb.Line),o="JSXOpeningFragment"===n.type;return[o?"<":""]}(e,t);case"JSXEmptyExpression":return function(e,t){const n=e.getValue(),r=yb(n,vb.Line);return[Jv(e,t,!r),r?Zv:""]}(e,t);case"JSXText":throw new Error("JSXTest should be handled by JSXElement");default:throw new Error(`Unknown JSX node type: ${JSON.stringify(r.type)}.`)}}};nt({target:"Array",proto:!0},{flat:function(){var e=arguments.length?arguments[0]:void 0,t=V(this),n=Be(t.length),r=Vn(t,0);return r.length=qn(r,t,t,n,0,void 0===e?1:Le(e)),r}});const{isNonEmptyArray:Nb}=_i,{builders:{indent:Ib,join:Pb,line:Mb}}=uo,{isFlowAnnotationComment:Lb}=tm;function jb(e,t,n){const r=e.getValue();if(!r.typeAnnotation)return"";const i=e.getParentNode(),o=r.definite||i&&"VariableDeclarator"===i.type&&i.definite,s="DeclareFunction"===i.type&&i.id===r;return Lb(t.originalText,r.typeAnnotation)?[" /*: ",n("typeAnnotation")," */"]:[s?"":o?"!: ":": ",n("typeAnnotation")]}var Bb={printOptionalToken:function(e){const t=e.getValue();return!t.optional||"Identifier"===t.type&&t===e.getParentNode().key?"":"OptionalCallExpression"===t.type||"OptionalMemberExpression"===t.type&&t.computed?"?.":"?"},printFunctionTypeParameters:function(e,t,n){const r=e.getValue();return r.typeArguments?n("typeArguments"):r.typeParameters?n("typeParameters"):""},printBindExpressionCallee:function(e,t,n){return["::",n("callee")]},printTypeScriptModifiers:function(e,t,n){const r=e.getValue();return Nb(r.modifiers)?[Pb(" ",e.map(n,"modifiers"))," "]:""},printTypeAnnotation:jb,printRestSpread:function(e,t,n){return["...",n("argument"),jb(e,t,n)]},adjustClause:function(e,t,n){return"EmptyStatement"===e.type?";":"BlockStatement"===e.type||n?[" ",t]:Ib([Mb,t])}};const{printDanglingComments:Rb}=Jf,{builders:{line:$b,softline:Hb,hardline:Ub,group:qb,indent:zb,ifBreak:Vb,fill:Wb}}=uo,{getLast:Gb,hasNewline:Kb}=_i,{shouldPrintComma:Yb,hasComment:Xb,CommentCheckFlags:Jb,isNextLineEmpty:Qb,isNumericLiteral:Zb,isSignedNumericLiteral:eD}=tm,{locStart:tD}=ec,{printOptionalToken:nD,printTypeAnnotation:rD}=Bb;function iD(e,t){return e.elements.length>1&&e.elements.every(e=>e&&(Zb(e)||eD(e)&&!Xb(e.argument))&&!Xb(e,Jb.Trailing|Jb.Line,e=>!Kb(t.originalText,tD(e),{backwards:!0})))}function oD(e,t,n,r){const i=[];let o=[];return e.each(e=>{i.push(o,qb(r())),o=[",",$b],e.getValue()&&Qb(e.getValue(),t)&&o.push(Hb)},n),i}function sD(e,t,n,r){const i=[];return e.each((e,o,s)=>{const a=o===s.length-1;i.push([n(),a?r:","]),a||i.push(Qb(e.getValue(),t)?[Ub,Ub]:Xb(s[o+1],Jb.Leading|Jb.Line)?Ub:$b)},"elements"),Wb(i)}var aD={printArray:function(e,t,n){const r=e.getValue(),i=[],o="TupleExpression"===r.type?"#[":"[";if(0===r.elements.length)Xb(r,Jb.Dangling)?i.push(qb([o,Rb(e,t),Hb,"]"])):i.push(o,"]");else{const s=Gb(r.elements),a=!(s&&"RestElement"===s.type),u=null===s,l=Symbol("array"),c=!t.__inJestEach&&r.elements.length>1&&r.elements.every((e,t,n)=>{const r=e&&e.type;if("ArrayExpression"!==r&&"ObjectExpression"!==r)return!1;const i=n[t+1];if(i&&r!==i.type)return!1;const o="ArrayExpression"===r?"elements":"properties";return e[o]&&e[o].length>1}),p=iD(r,t),f=a?u?",":Yb(t)?p?Vb(",","",{groupId:l}):Vb(","):"":"";i.push(qb([o,zb([Hb,p?sD(e,t,n,f):[oD(e,t,"elements",n),f],Rb(e,t,!0)]),Hb,"]"],{shouldBreak:c,id:l}))}return i.push(nD(e),rD(e,t,n)),i},printArrayItems:oD,isConciselyPrintedArray:iD};const{printDanglingComments:uD}=Jf,{getLast:lD,getPenultimate:cD}=_i,{getFunctionParameters:pD,hasComment:fD,CommentCheckFlags:hD,isFunctionCompositionArgs:dD,isJsxNode:mD,isLongCurriedCallExpression:gD,shouldPrintComma:yD,getCallArguments:vD,iterateCallArgumentsPath:bD,isNextLineEmpty:DD,isCallExpression:wD,isStringLiteral:CD,isObjectProperty:xD}=tm,{builders:{line:ED,hardline:_D,softline:kD,group:TD,indent:SD,conditionalGroup:AD,ifBreak:OD,breakParent:FD},utils:{willBreak:ND}}=uo,{ArgExpansionBailout:ID}=Os,{isConciselyPrintedArray:PD}=aD;function MD(e,t=!1){return"ObjectExpression"===e.type&&(e.properties.length>0||fD(e))||"ArrayExpression"===e.type&&(e.elements.length>0||fD(e))||"TSTypeAssertion"===e.type&&MD(e.expression)||"TSAsExpression"===e.type&&MD(e.expression)||"FunctionExpression"===e.type||"ArrowFunctionExpression"===e.type&&(!e.returnType||!e.returnType.typeAnnotation||"TSTypeReference"!==e.returnType.typeAnnotation.type||"BlockStatement"===(n=e.body).type&&(n.body.some(e=>"EmptyStatement"!==e.type)||fD(n,hD.Dangling)))&&("BlockStatement"===e.body.type||"ArrowFunctionExpression"===e.body.type&&MD(e.body,!0)||"ObjectExpression"===e.body.type||"ArrayExpression"===e.body.type||!t&&(wD(e.body)||"ConditionalExpression"===e.body.type)||mD(e.body))||"DoExpression"===e.type||"ModuleExpression"===e.type;var n}var LD=function(e,t,n){const r=e.getValue(),i="ImportExpression"===r.type,o=vD(r);if(0===o.length)return["(",uD(e,t,!0),")"];if(function(e){return 2===e.length&&"ArrowFunctionExpression"===e[0].type&&0===pD(e[0]).length&&"BlockStatement"===e[0].body.type&&"ArrayExpression"===e[1].type&&!e.some(e=>fD(e))}(o))return["(",n(["arguments",0]),", ",n(["arguments",1]),")"];let s=!1,a=!1;const u=o.length-1,l=[];bD(e,(e,r)=>{const i=e.getNode(),o=[n()];r===u||(DD(i,t)?(0===r&&(a=!0),s=!0,o.push(",",_D,_D)):o.push(",",ED)),l.push(o)});const c=i||r.callee&&"Import"===r.callee.type||!yD(t,"all")?"":",";function p(){return TD(["(",SD([ED,...l]),c,ED,")"],{shouldBreak:!0})}if(s||"Decorator"!==e.getParentNode().type&&dD(o))return p();const f=function(e){if(2!==e.length)return!1;const[t,n]=e;return!("ModuleExpression"!==t.type||!function(e){return"ObjectExpression"===e.type&&1===e.properties.length&&xD(e.properties[0])&&"Identifier"===e.properties[0].key.type&&"type"===e.properties[0].key.name&&CD(e.properties[0].value)&&"module"===e.properties[0].value.value}(n))||!fD(t)&&("FunctionExpression"===t.type||"ArrowFunctionExpression"===t.type&&"BlockStatement"===t.body.type)&&"FunctionExpression"!==n.type&&"ArrowFunctionExpression"!==n.type&&"ConditionalExpression"!==n.type&&!MD(n)}(o),h=function(e,t){const n=lD(e),r=cD(e);return!fD(n,hD.Leading)&&!fD(n,hD.Trailing)&&MD(n)&&(!r||r.type!==n.type)&&(2!==e.length||"ArrowFunctionExpression"!==r.type||"ArrayExpression"!==n.type)&&!(e.length>1&&"ArrayExpression"===n.type&&PD(n,t))}(o,t);if(f||h){if(f?l.slice(1).some(ND):l.slice(0,-1).some(ND))return p();let t=[];try{e.try(()=>{bD(e,(e,r)=>{f&&0===r&&(t=[[n([],{expandFirstArg:!0}),l.length>1?",":"",a?_D:ED,a?_D:""],...l.slice(1)]),h&&r===u&&(t=[...l.slice(0,-1),n([],{expandLastArg:!0})])})})}catch(e){if(e instanceof ID)return p();throw e}return[l.some(ND)?FD:"",AD([["(",...t,")"],f?["(",TD(t[0],{shouldBreak:!0}),...t.slice(1),")"]:["(",...l.slice(0,-1),TD(lD(t),{shouldBreak:!0}),")"],p()])]}const d=["(",SD([kD,...l]),OD(c),kD,")"];return gD(e)?d:TD(d,{shouldBreak:l.some(ND)||s})};const{builders:{softline:jD,group:BD,indent:RD,label:$D}}=uo,{isNumericLiteral:HD,isMemberExpression:UD,isCallExpression:qD}=tm,{printOptionalToken:zD}=Bb;function VD(e,t,n){const r=n("property"),i=e.getValue(),o=zD(e);return i.computed?!i.property||HD(i.property)?[o,"[",r,"]"]:BD([o,"[",RD([jD,r]),jD,"]"]):[o,".",r]}var WD={printMemberExpression:function(e,t,n){const r=e.getValue(),i=e.getParentNode();let o,s=0;do{o=e.getParentNode(s),s++}while(o&&(UD(o)||"TSNonNullExpression"===o.type));const a=n("object"),u=VD(e,t,n),l=o&&("NewExpression"===o.type||"BindExpression"===o.type||"AssignmentExpression"===o.type&&"Identifier"!==o.left.type)||r.computed||"Identifier"===r.object.type&&"Identifier"===r.property.type&&!UD(i)||("AssignmentExpression"===i.type||"VariableDeclarator"===i.type)&&(qD(r.object)&&r.object.arguments.length>0||"TSNonNullExpression"===r.object.type&&qD(r.object.expression)&&r.object.expression.arguments.length>0||"member-chain"===a.label);return $D("member-chain"===a.label?"member-chain":"member",[a,l?u:BD(RD([jD,u]))])},printMemberLookup:VD};const{printComments:GD}=Jf,{getLast:KD,isNextLineEmptyAfterIndex:YD,getNextNonSpaceNonCommentCharacterIndex:XD}=_i,{isCallExpression:JD,isMemberExpression:QD,isFunctionOrArrowExpression:ZD,isLongCurriedCallExpression:ew,isMemberish:tw,isNumericLiteral:nw,isSimpleCallArgument:rw,hasComment:iw,CommentCheckFlags:ow,isNextLineEmpty:sw}=tm,{locEnd:aw}=ec,{builders:{join:uw,hardline:lw,group:cw,indent:pw,conditionalGroup:fw,breakParent:hw,label:dw},utils:{willBreak:mw}}=uo,{printMemberLookup:gw}=WD,{printOptionalToken:yw,printFunctionTypeParameters:vw,printBindExpressionCallee:bw}=Bb;var Dw=function(e,t,n){const r=e.getParentNode(),i=!r||"ExpressionStatement"===r.type,o=[];function s(e){const{originalText:n}=t,r=XD(n,e,aw);return")"===n.charAt(r)?!1!==r&&YD(n,r+1):sw(e,t)}function a(e){const r=e.getValue();JD(r)&&(tw(r.callee)||JD(r.callee))?(o.unshift({node:r,printed:[GD(e,[yw(e),vw(e,t,n),LD(e,t,n)],t),s(r)?lw:""]}),e.call(e=>a(e),"callee")):tw(r)?(o.unshift({node:r,needsParens:av(e,t),printed:GD(e,QD(r)?gw(e,t,n):bw(e,t,n),t)}),e.call(e=>a(e),"object")):"TSNonNullExpression"===r.type?(o.unshift({node:r,printed:GD(e,"!",t)}),e.call(e=>a(e),"expression")):o.unshift({node:r,printed:n()})}const u=e.getValue();o.unshift({node:u,printed:[yw(e),vw(e,t,n),LD(e,t,n)]}),u.callee&&e.call(e=>a(e),"callee");const l=[];let c=[o[0]],p=1;for(;p0&&l.push(c);const d=l.length>=2&&!iw(l[1][0].node)&&function(e){const n=e[1].length>0&&e[1][0].node.computed;if(1===e[0].length){const r=e[0][0].node;return"ThisExpression"===r.type||"Identifier"===r.type&&(h(r.name)||i&&function(e){return e.length<=t.tabWidth}(r.name)||n)}const r=KD(e[0]).node;return QD(r)&&"Identifier"===r.property.type&&(h(r.property.name)||n)}(l);function m(e){const t=e.map(e=>e.printed);return e.length>0&&KD(e).needsParens?["(",...t,")"]:t}const g=l.map(m),y=g,v=d?3:2,b=l.flat(),D=b.slice(1,-1).some(e=>iw(e.node,ow.Leading))||b.slice(0,-1).some(e=>iw(e.node,ow.Trailing))||l[v]&&iw(l[v][0].node,ow.Leading);if(l.length<=v&&!D)return ew(e)?y:cw(y);const w=KD(l[d?1:0]).node,C=!JD(w)&&s(w),x=[m(l[0]),d?l.slice(1,2).map(m):"",C?lw:"",function(e){return 0===e.length?"":pw(cw([lw,uw(lw,e.map(m))]))}(l.slice(d?2:1))],E=o.map(({node:e})=>e).filter(JD);let _;return _=D||E.length>2&&E.some(e=>!e.arguments.every(e=>rw(e,0)))||g.slice(0,-1).some(mw)||function(){const e=KD(KD(l)).node,t=KD(g);return JD(e)&&mw(t)&&E.slice(0,-1).some(e=>e.arguments.some(ZD))}()?cw(x):[mw(y)||C?hw:"",fw([y,x])],dw("member-chain",_)};const{builders:{join:ww,group:Cw}}=uo,{getCallArguments:xw,hasFlowAnnotationComment:Ew,isCallExpression:_w,isMemberish:kw,isStringLiteral:Tw,isTemplateOnItsOwnLine:Sw,isTestCall:Aw,iterateCallArgumentsPath:Ow}=tm,{printOptionalToken:Fw,printFunctionTypeParameters:Nw}=Bb;var Iw={printCallExpression:function(e,t,n){const r=e.getValue(),i=e.getParentNode(),o="NewExpression"===r.type,s="ImportExpression"===r.type,a=Fw(e),u=xw(r);if(u.length>0&&(!s&&!o&&function(e,t){if("Identifier"!==e.callee.type)return!1;if("require"===e.callee.name)return!0;if("define"===e.callee.name){const n=xw(e);return"ExpressionStatement"===t.type&&(1===n.length||2===n.length&&"ArrayExpression"===n[0].type||3===n.length&&Tw(n[0])&&"ArrayExpression"===n[1].type)}return!1}(r,i)||1===u.length&&Sw(u[0],t.originalText)||!o&&Aw(r,i))){const r=[];return Ow(e,()=>{r.push(n())}),[o?"new ":"",n("callee"),a,Nw(e,t,n),"(",ww(", ",r),")"]}const l=("babel"===t.parser||"babel-flow"===t.parser)&&r.callee&&"Identifier"===r.callee.type&&Ew(r.callee.trailingComments);if(l&&(r.callee.trailingComments[0].printed=!0),!s&&!o&&kw(r.callee)&&!e.call(e=>av(e,t),"callee"))return Dw(e,t,n);const c=[o?"new ":"",s?"import":n("callee"),a,l?`/*:: ${r.callee.trailingComments[0].value.slice(2).trim()} */`:"",Nw(e,t,n),LD(e,t,n)];return s||_w(r.callee)?Cw(c):c}};const{isNonEmptyArray:Pw,getStringWidth:Mw}=_i,{builders:{line:Lw,group:jw,indent:Bw,indentIfBreak:Rw},utils:{cleanDoc:$w,willBreak:Hw}}=uo,{hasLeadingOwnLineComment:Uw,isBinaryish:qw,isStringLiteral:zw,isLiteral:Vw,isNumericLiteral:Ww,isCallExpression:Gw,isMemberExpression:Kw,getCallArguments:Yw,rawText:Xw,hasComment:Jw,isSignedNumericLiteral:Qw,isObjectProperty:Zw}=tm,{shouldInlineLogicalExpression:eC}=$v,{printCallExpression:tC}=Iw;function nC(e,t,n,r,i,o){const s=function(e,t,n,r,i){const o=e.getValue(),s=o[i];if(!s)return"only-left";const a=!rC(s);if(e.match(rC,iC,e=>!a||"ExpressionStatement"!==e.type&&"VariableDeclaration"!==e.type))return a?"ArrowFunctionExpression"===s.type&&"ArrowFunctionExpression"===s.body.type?"chain-tail-arrow-chain":"chain-tail":"chain";if(!a&&rC(s.right)||Uw(t.originalText,s))return"break-after-operator";if("CallExpression"===s.type&&"require"===s.callee.name||"json5"===t.parser||"json"===t.parser)return"never-break-after-operator";if(function(e){if(iC(e)){const t=e.left||e.id;return"ObjectPattern"===t.type&&t.properties.length>2&&t.properties.some(e=>Zw(e)&&(!e.shorthand||e.value&&"AssignmentPattern"===e.value.type))}return!1}(o)||function(e){const t=function(e){return function(e){return"TSTypeAliasDeclaration"===e.type||"TypeAlias"===e.type}(e)&&e.typeParameters&&e.typeParameters.params?e.typeParameters.params:null}(e);if(Pw(t)){const n="TSTypeAliasDeclaration"===e.type?"constraint":"bound";if(t.length>1&&t.some(e=>e[n]||e.default))return!0}return!1}(o)||function(e){if("VariableDeclarator"!==e.type)return!1;const{typeAnnotation:t}=e.id;if(!t||!t.typeAnnotation)return!1;const n=oC(t.typeAnnotation);return Pw(n)&&n.length>1&&n.some(e=>Pw(oC(e))||"TSConditionalType"===e.type)}(o))return"break-lhs";const u=function(e,t,n){if(!Zw(e))return!1;t=$w(t);const r=3;return"string"==typeof t&&Mw(t)function(e,t,n,r){const i=e.getValue();if(qw(i)&&!eC(i))return!0;switch(i.type){case"StringLiteralTypeAnnotation":case"SequenceExpression":return!0;case"ConditionalExpression":{const{test:e}=i;return qw(e)&&!eC(e)}case"ClassExpression":return Pw(i.decorators)}if(r)return!1;let o=i;const s=[];for(;;)if("UnaryExpression"===o.type)o=o.argument,s.push("argument");else{if("TSNonNullExpression"!==o.type)break;o=o.expression,s.push("expression")}return!(!zw(o)&&!e.call(()=>sC(e,t,n),...s))}(e,t,n,u),i)?"break-after-operator":u||"TemplateLiteral"===s.type||"TaggedTemplateExpression"===s.type||"BooleanLiteral"===s.type||Ww(s)||"ClassExpression"===s.type?"never-break-after-operator":"fluid"}(e,t,n,r,o),a=n(o,{assignmentLayout:s});switch(s){case"break-after-operator":return jw([jw(r),i,jw(Bw([Lw,a]))]);case"never-break-after-operator":return jw([jw(r),i," ",a]);case"fluid":{const e=Symbol("assignment");return jw([jw(r),i,jw(Bw(Lw),{id:e}),Rw(a,{groupId:e})])}case"break-lhs":return jw([r,i," ",jw(a)]);case"chain":return[jw(r),i,Lw,a];case"chain-tail":return[jw(r),i,Bw([Lw,a])];case"chain-tail-arrow-chain":return[jw(r),i,a];case"only-left":return r}}function rC(e){return"AssignmentExpression"===e.type}function iC(e){return rC(e)||"VariableDeclarator"===e.type}function oC(e){return function(e){return"TSTypeReference"===e.type||"GenericTypeAnnotation"===e.type}(e)&&e.typeParameters&&e.typeParameters.params?e.typeParameters.params:null}function sC(e,t,n,r=!1){const i=e.getValue(),o=()=>sC(e,t,n,!0);if("TSNonNullExpression"===i.type)return e.call(o,"expression");if(Gw(i)){if("member-chain"===tC(e,t,n).label)return!1;const r=Yw(i);return!!(0===r.length||1===r.length&&function(e,{printWidth:t}){if(Jw(e))return!1;const n=.25*t;if("ThisExpression"===e.type||"Identifier"===e.type&&e.name.length<=n||Qw(e)&&!Jw(e.argument))return!0;const r="Literal"===e.type&&"regex"in e&&e.regex.pattern||"RegExpLiteral"===e.type&&e.pattern;return r?r.length<=n:zw(e)?Xw(e).length<=n:"TemplateLiteral"===e.type?0===e.expressions.length&&e.quasis[0].value.raw.length<=n&&!e.quasis[0].value.raw.includes("\n"):Vw(e)}(r[0],t))&&!function(e,t){const n=function(e){return e.typeParameters&&e.typeParameters.params||e.typeArguments&&e.typeArguments.params}(e);if(Pw(n)){if(n.length>1)return!0;if(1===n.length){const e=n[0];if("TSUnionType"===e.type||"UnionTypeAnnotation"===e.type||"TSIntersectionType"===e.type||"IntersectionTypeAnnotation"===e.type)return!0}const r=e.typeParameters?"typeParameters":"typeArguments";if(Hw(t(r)))return!0}return!1}(i,n)&&e.call(o,"callee")}return Kw(i)?e.call(o,"object"):r&&("Identifier"===i.type||"ThisExpression"===i.type)}var aC={printVariableDeclarator:function(e,t,n){return nC(e,t,n,n("id")," =","init")},printAssignmentExpression:function(e,t,n){const r=e.getValue();return nC(e,t,n,n("left"),[" ",r.operator],"right")},printAssignment:nC};const{getNextNonSpaceNonCommentCharacter:uC}=_i,{printDanglingComments:lC}=Jf,{builders:{line:cC,hardline:pC,softline:fC,group:hC,indent:dC,ifBreak:mC},utils:{removeLines:gC,willBreak:yC}}=uo,{getFunctionParameters:vC,iterateFunctionParametersPath:bC,isSimpleType:DC,isTestCall:wC,isTypeAnnotationAFunction:CC,isObjectType:xC,isObjectTypePropertyAFunction:EC,hasRestParameter:_C,shouldPrintComma:kC,hasComment:TC,isNextLineEmpty:SC}=tm,{locEnd:AC}=ec,{ArgExpansionBailout:OC}=Os,{printFunctionTypeParameters:FC}=Bb;function NC(e){if(!e)return!1;const t=vC(e);if(1!==t.length)return!1;const[n]=t;return!TC(n)&&("ObjectPattern"===n.type||"ArrayPattern"===n.type||"Identifier"===n.type&&n.typeAnnotation&&("TypeAnnotation"===n.typeAnnotation.type||"TSTypeAnnotation"===n.typeAnnotation.type)&&xC(n.typeAnnotation.typeAnnotation)||"FunctionTypeParam"===n.type&&xC(n.typeAnnotation)||"AssignmentPattern"===n.type&&("ObjectPattern"===n.left.type||"ArrayPattern"===n.left.type)&&("Identifier"===n.right.type||"ObjectExpression"===n.right.type&&0===n.right.properties.length||"ArrayExpression"===n.right.type&&0===n.right.elements.length))}var IC={printFunctionParameters:function(e,t,n,r,i){const o=e.getValue(),s=vC(o),a=i?FC(e,n,t):"";if(0===s.length)return[a,"(",lC(e,n,!0,e=>")"===uC(n.originalText,e,AC)),")"];const u=e.getParentNode(),l=wC(u),c=NC(o),p=[];if(bC(e,(e,r)=>{const i=r===s.length-1;i&&o.rest&&p.push("..."),p.push(t()),i||(p.push(","),l||c?p.push(" "):SC(s[r],n)?p.push(pC,pC):p.push(cC))}),r){if(yC(a)||yC(p))throw new OC;return hC([gC(a),"(",gC(p),")"])}const f=s.every(e=>!e.decorators);return c&&f||l?[a,"(",...p,")"]:(EC(u)||CC(u)||"TypeAlias"===u.type||"UnionTypeAnnotation"===u.type||"TSUnionType"===u.type||"IntersectionTypeAnnotation"===u.type||"FunctionTypeAnnotation"===u.type&&u.returnType===o)&&1===s.length&&null===s[0].name&&o.this!==s[0]&&s[0].typeAnnotation&&null===o.typeParameters&&DC(s[0].typeAnnotation)&&!o.rest?"always"===n.arrowParens?["(",...p,")"]:p:[a,"(",dC([fC,...p]),mC(!_C(o)&&kC(n,"all")?",":""),fC,")"]},shouldHugFunctionParameters:NC,shouldGroupFunctionParameters:function(e,t){const n=function(e){let t;return e.returnType?(t=e.returnType,t.typeAnnotation&&(t=t.typeAnnotation)):e.typeAnnotation&&(t=e.typeAnnotation),t}(e);if(!n)return!1;const r=e.typeParameters&&e.typeParameters.params;if(r){if(r.length>1)return!1;if(1===r.length){const e=r[0];if(e.constraint||e.default)return!1}}return 1===vC(e).length&&(xC(n)||yC(t))}};const{printComments:PC,printDanglingComments:MC}=Jf,{getLast:LC}=_i,{builders:{group:jC,join:BC,line:RC,softline:$C,indent:HC,align:UC,ifBreak:qC}}=uo,{locStart:zC}=ec,{isSimpleType:VC,isObjectType:WC,hasLeadingOwnLineComment:GC,isObjectTypePropertyAFunction:KC,shouldPrintComma:YC}=tm,{printAssignment:XC}=aC,{printFunctionParameters:JC,shouldGroupFunctionParameters:QC}=IC,{printArrayItems:ZC}=aD;function ex(e){if(VC(e)||WC(e))return!0;if("UnionTypeAnnotation"===e.type||"TSUnionType"===e.type){const t=e.types.filter(e=>"VoidTypeAnnotation"===e.type||"TSVoidKeyword"===e.type||"NullLiteralTypeAnnotation"===e.type||"TSNullKeyword"===e.type).length,n=e.types.some(e=>"ObjectTypeAnnotation"===e.type||"TSTypeLiteral"===e.type||"GenericTypeAnnotation"===e.type||"TSTypeReference"===e.type);if(e.types.length-1===t&&n)return!0}return!1}var tx={printOpaqueType:function(e,t,n){const r=t.semi?";":"",i=e.getValue(),o=[];return o.push("opaque type ",n("id"),n("typeParameters")),i.supertype&&o.push(": ",n("supertype")),i.impltype&&o.push(" = ",n("impltype")),o.push(r),o},printTypeAlias:function(e,t,n){const r=t.semi?";":"",i=e.getValue(),o=[];i.declare&&o.push("declare "),o.push("type ",n("id"),n("typeParameters"));const s="TSTypeAliasDeclaration"===i.type?"typeAnnotation":"right";return[XC(e,t,n,o," =",s),r]},printIntersectionType:function(e,t,n){const r=e.getValue(),i=e.map(n,"types"),o=[];let s=!1;for(let a=0;a1&&(s=!0),o.push(" & ",a>1?HC(i[a]):i[a])):o.push(HC([" &",RC,i[a]]));return jC(o)},printUnionType:function(e,t,n){const r=e.getValue(),i=e.getParentNode(),o=!("TypeParameterInstantiation"===i.type||"TSTypeParameterInstantiation"===i.type||"GenericTypeAnnotation"===i.type||"TSTypeReference"===i.type||"TSTypeAssertion"===i.type||"TupleTypeAnnotation"===i.type||"TSTupleType"===i.type||"FunctionTypeParam"===i.type&&!i.name&&e.getParentNode(1).this!==i||("TypeAlias"===i.type||"VariableDeclarator"===i.type||"TSTypeAliasDeclaration"===i.type)&&GC(t.originalText,r)),s=ex(r),a=e.map(e=>{let r=n();return s||(r=UC(2,r)),PC(e,r,t)},"types");if(s)return BC(" | ",a);const u=o&&!GC(t.originalText,r),l=[qC([u?RC:"","| "]),BC([RC,"| "],a)];return av(e,t)?jC([HC(l),$C]):"TupleTypeAnnotation"===i.type&&i.types.length>1||"TSTupleType"===i.type&&i.elementTypes.length>1?jC([HC([qC(["(",$C]),l]),$C,qC(")")]):jC(o?HC(l):l)},printFunctionType:function(e,t,n){const r=e.getValue(),i=[],o=e.getParentNode(0),s=e.getParentNode(1),a=e.getParentNode(2);let u="TSFunctionType"===r.type||!(("ObjectTypeProperty"===o.type||"ObjectTypeInternalSlot"===o.type)&&!o.variance&&!o.optional&&zC(o)===zC(r)||"ObjectTypeCallProperty"===o.type||a&&"DeclareFunction"===a.type),l=u&&("TypeAnnotation"===o.type||"TSTypeAnnotation"===o.type);const c=l&&u&&("TypeAnnotation"===o.type||"TSTypeAnnotation"===o.type)&&"ArrowFunctionExpression"===s.type;KC(o)&&(u=!0,l=!0),c&&i.push("(");const p=JC(e,n,t,!1,!0),f=r.returnType||r.predicate||r.typeAnnotation?[u?" => ":": ",n("returnType"),n("predicate"),n("typeAnnotation")]:"",h=QC(r,f);return i.push(h?jC(p):p),f&&i.push(f),c&&i.push(")"),jC(i)},printTupleType:function(e,t,n){const r=e.getValue(),i="TSTupleType"===r.type?"elementTypes":"types",o=r[i].length>0&&"TSRestType"===LC(r[i]).type;return jC(["[",HC([$C,ZC(e,t,i,n)]),qC(YC(t,"all")&&!o?",":""),MC(e,t,!0),$C,"]"])},printIndexedAccessType:function(e,t,n){const r=e.getValue(),i="OptionalIndexedAccessType"===r.type&&r.optional?"?.[":"[";return[n("objectType"),i,n("indexType"),"]"]},shouldHugType:ex};const{printDanglingComments:nx}=Jf,{builders:{join:rx,line:ix,hardline:ox,softline:sx,group:ax,indent:ux,ifBreak:lx}}=uo,{isTestCall:cx,hasComment:px,CommentCheckFlags:fx,isTSXFile:hx,shouldPrintComma:dx,getFunctionParameters:mx}=tm,{createGroupIdMapper:gx}=_i,{shouldHugType:yx}=tx,vx=gx("typeParameters");function bx(e,t){const n=e.getValue();if(!px(n,fx.Dangling))return"";const r=!px(n,fx.Line),i=nx(e,t,r);return r?i:[i,ox]}var Dx={printTypeParameter:function(e,t,n){const r=e.getValue(),i=[],o=e.getParentNode();return"TSMappedType"===o.type?(i.push("[",n("name")),r.constraint&&i.push(" in ",n("constraint")),o.nameType&&i.push(" as ",e.callParent(()=>n("nameType"))),i.push("]"),i):(r.variance&&i.push(n("variance")),i.push(n("name")),r.bound&&i.push(": ",n("bound")),r.constraint&&i.push(" extends ",n("constraint")),r.default&&i.push(" = ",n("default")),i)},printTypeParameters:function(e,t,n,r){const i=e.getValue();if(!i[r])return"";if(!Array.isArray(i[r]))return n(r);const o=e.getNode(2);if(o&&cx(o)||0===i[r].length||1===i[r].length&&(yx(i[r][0])||"NullableTypeAnnotation"===i[r][0].type))return["<",rx(", ",e.map(n,r)),bx(e,t),">"];const s="TSTypeParameterInstantiation"===i.type?"":1===mx(i).length&&hx(t)&&!i[r][0].constraint&&"ArrowFunctionExpression"===e.getParentNode().type?",":dx(t,"all")?lx(","):"";return ax(["<",ux([sx,rx([",",ix],e.map(n,r))]),s,sx,">"],{id:vx(i)})},getTypeParametersGroupId:vx};const{printComments:wx}=Jf,{printString:Cx,printNumber:xx}=_i,{isNumericLiteral:Ex,isSimpleNumber:_x,isStringLiteral:kx,isStringPropSafeToUnquote:Tx,rawText:Sx}=tm,{printAssignment:Ax}=aC,Ox=new WeakMap;function Fx(e,t,n){const r=e.getNode();if(r.computed)return["[",n("key"),"]"];const i=e.getParentNode(),{key:o}=r;if("ClassPrivateProperty"===r.type&&"Identifier"===o.type)return["#",n("key")];if("consistent"===t.quoteProps&&!Ox.has(i)){const e=(i.properties||i.body||i.members).some(e=>!e.computed&&e.key&&kx(e.key)&&!Tx(e,t));Ox.set(i,e)}if(("Identifier"===o.type||Ex(o)&&_x(xx(Sx(o)))&&String(o.value)===xx(Sx(o))&&"typescript"!==t.parser&&"babel-ts"!==t.parser)&&("json"===t.parser||"consistent"===t.quoteProps&&Ox.get(i))){const n=Cx(JSON.stringify("Identifier"===o.type?o.name:o.value.toString()),t);return e.call(e=>wx(e,n,t),"key")}return Tx(r,t)&&("as-needed"===t.quoteProps||"consistent"===t.quoteProps&&!Ox.get(i))?e.call(e=>wx(e,/^\d/.test(o.value)?xx(o.value):o.value,t),"key"):n("key")}var Nx={printProperty:function(e,t,n){return e.getValue().shorthand?n("value"):Ax(e,t,n,Fx(e,t,n),":","value")},printPropertyKey:Fx};const{printDanglingComments:Ix,printCommentsSeparately:Px}=Jf,{getNextNonSpaceNonCommentCharacterIndex:Mx}=_i,{builders:{line:Lx,softline:jx,group:Bx,indent:Rx,ifBreak:$x,hardline:Hx,join:Ux,indentIfBreak:qx},utils:{removeLines:zx,willBreak:Vx}}=uo,{ArgExpansionBailout:Wx}=Os,{getFunctionParameters:Gx,hasLeadingOwnLineComment:Kx,isFlowAnnotationComment:Yx,isJsxNode:Xx,isTemplateOnItsOwnLine:Jx,shouldPrintComma:Qx,startsWithNoLookaheadToken:Zx,isBinaryish:eE,isLineComment:tE,hasComment:nE,getComments:rE,CommentCheckFlags:iE,isCallLikeExpression:oE,isCallExpression:sE,getCallArguments:aE,hasNakedLeftSide:uE,getLeftSide:lE}=tm,{locEnd:cE}=ec,{printFunctionParameters:pE,shouldGroupFunctionParameters:fE}=IC,{printPropertyKey:hE}=Nx,{printFunctionTypeParameters:dE}=Bb;function mE(e,t,n){const r=e.getNode(),i=pE(e,n,t),o=yE(e,n,t),s=fE(r,o),a=[dE(e,t,n),Bx([s?Bx(i):i,o])];return r.body?a.push(" ",n("body")):a.push(t.semi?";":""),a}function gE(e,t){return"always"!==t.arrowParens&&("avoid"===t.arrowParens&&function(e){const t=Gx(e);return!(1!==t.length||e.typeParameters||nE(e,iE.Dangling)||"Identifier"!==t[0].type||t[0].typeAnnotation||nE(t[0])||t[0].optional||e.predicate||e.returnType)}(e.getValue()))}function yE(e,t,n){const r=e.getValue(),i=t("returnType");if(r.returnType&&Yx(n.originalText,r.returnType))return[" /*: ",i," */"];const o=[i];return r.returnType&&r.returnType.typeAnnotation&&o.unshift(": "),r.predicate&&o.push(r.returnType?" ":": ",t("predicate")),o}function vE(e,t,n){const r=e.getValue(),i=t.semi?";":"",o=[];r.argument&&(function(e,t){if(Kx(e.originalText,t))return!0;if(uE(t)){let n,r=t;for(;n=lE(r);)if(r=n,Kx(e.originalText,r))return!0}return!1}(t,r.argument)?o.push([" (",Rx([Hx,n("argument")]),Hx,")"]):eE(r.argument)||"SequenceExpression"===r.argument.type?o.push(Bx([$x(" ("," "),Rx([jx,n("argument")]),jx,$x(")")])):o.push(" ",n("argument")));const s=rE(r),a=Bn(s),u=a&&tE(a);return u&&o.push(i),nE(r,iE.Dangling)&&o.push(" ",Ix(e,t,!0)),u||o.push(i),o}var bE={printFunction:function(e,t,n,r){const i=e.getValue();let o=!1;if(("FunctionDeclaration"===i.type||"FunctionExpression"===i.type)&&r&&r.expandLastArg){const t=e.getParentNode();sE(t)&&aE(t).length>1&&(o=!0)}const s=[];"TSDeclareFunction"===i.type&&i.declare&&s.push("declare "),i.async&&s.push("async "),i.generator?s.push("function* "):s.push("function "),i.id&&s.push(t("id"));const a=pE(e,t,n,o),u=yE(e,t,n),l=fE(i,u);return s.push(dE(e,n,t),Bx([l?Bx(a):a,u]),i.body?" ":"",t("body")),!n.semi||!i.declare&&i.body||s.push(";"),s},printArrowFunction:function(e,t,n,r){let i=e.getValue();const o=[],s=[];let a=!1;if(function u(){const l=function(e,t,n,r){const i=[];if(e.getValue().async&&i.push("async "),gE(e,t))i.push(n(["params",0]));else{const o=r&&(r.expandLastArg||r.expandFirstArg);let s=yE(e,n,t);if(o){if(Vx(s))throw new Wx;s=Bx(zx(s))}i.push(Bx([pE(e,n,t,o,!0),s]))}const o=Ix(e,t,!0,e=>{const n=Mx(t.originalText,e,cE);return!1!==n&&"=>"===t.originalText.slice(n,n+2)});return o&&i.push(" ",o),i}(e,t,n,r);if(0===o.length)o.push(l);else{const{leading:n,trailing:r}=Px(e,t);o.push([n,l]),s.unshift(r)}a=a||i.returnType&&Gx(i).length>0||i.typeParameters||Gx(i).some(e=>"Identifier"!==e.type),"ArrowFunctionExpression"!==i.body.type||r&&r.expandLastArg?s.unshift(n("body",r)):(i=i.body,e.call(u,"body"))}(),o.length>1)return function(e,t,n,r,i,o){const s=e.getName(),a=e.getParentNode(),u=oE(a)&&"callee"===s,l=Boolean(t&&t.assignmentLayout),c="BlockStatement"!==o.body.type&&"ObjectExpression"!==o.body.type,p=u&&c||t&&"chain-tail-arrow-chain"===t.assignmentLayout,f=Symbol("arrow-chain");return Bx([Bx(Rx([u||l?jx:"",Bx(Ux([" =>",Lx],n),{shouldBreak:r})]),{id:f,shouldBreak:p})," =>",qx(c?Rx([Lx,i]):[" ",i],{groupId:f}),u?$x(jx,"",{groupId:f}):""])}(e,r,o,a,s,i);const u=o;if(u.push(" =>"),!Kx(t.originalText,i.body)&&("ArrayExpression"===i.body.type||"ObjectExpression"===i.body.type||"BlockStatement"===i.body.type||Xx(i.body)||Jx(i.body,t.originalText)||"ArrowFunctionExpression"===i.body.type||"DoExpression"===i.body.type))return Bx([...u," ",s]);if("SequenceExpression"===i.body.type)return Bx([...u,Bx([" (",Rx([jx,s]),jx,")"])]);const l=(r&&r.expandLastArg||"JSXExpressionContainer"===e.getParentNode().type)&&!nE(i),c=r&&r.expandLastArg&&Qx(t,"all"),p="ConditionalExpression"===i.body.type&&!Zx(i.body,!1);return Bx([...u,Bx([Rx([Lx,p?$x("","("):"",s,p?$x("",")"):""]),l?[$x(c?",":""),jx]:""])])},printMethod:function(e,t,n){const r=e.getNode(),{kind:i}=r,o=r.value||r,s=[];return i&&"init"!==i&&"method"!==i&&"constructor"!==i?(_f.ok("get"===i||"set"===i),s.push(i," ")):o.async&&s.push("async "),o.generator&&s.push("*"),s.push(hE(e,t,n),r.optional||r.key.optional?"?":""),r===o?s.push(mE(e,t,n)):"FunctionExpression"===o.type?s.push(e.call(e=>mE(e,t,n),"value")):s.push(n("value")),s},printReturnStatement:function(e,t,n){return["return",vE(e,t,n)]},printThrowStatement:function(e,t,n){return["throw",vE(e,t,n)]},printMethodInternal:mE,shouldPrintParamsWithoutParens:gE};const{isNonEmptyArray:DE,hasNewline:wE}=_i,{builders:{line:CE,hardline:xE,join:EE,breakParent:_E,group:kE}}=uo,{locStart:TE,locEnd:SE}=ec,{getParentExportDeclaration:AE}=tm;function OE(e,t){return e.decorators.some(e=>wE(t.originalText,SE(e)))}function FE(e){if("ExportDefaultDeclaration"!==e.type&&"ExportNamedDeclaration"!==e.type&&"DeclareExportDeclaration"!==e.type)return!1;const t=e.declaration&&e.declaration.decorators;return DE(t)&&TE(e,{ignoreDecorators:!0})>TE(t[0])}var NE={printDecorators:function(e,t,n){const r=e.getValue(),{decorators:i}=r;if(!DE(i)||FE(e.getParentNode()))return;const o="ClassExpression"===r.type||"ClassDeclaration"===r.type||OE(r,t);return[AE(e)?xE:o?_E:"",EE(CE,e.map(n,"decorators")),CE]},printClassMemberDecorators:function(e,t,n){const r=e.getValue();return kE([EE(CE,e.map(n,"decorators")),OE(r,t)?xE:CE])},printDecoratorsBeforeExport:function(e,t,n){return[EE(xE,e.map(n,"declaration","decorators")),xE]},hasDecoratorsBeforeExport:FE};const{isNonEmptyArray:IE,createGroupIdMapper:PE}=_i,{printComments:ME,printDanglingComments:LE}=Jf,{builders:{join:jE,line:BE,hardline:RE,softline:$E,group:HE,indent:UE,ifBreak:qE}}=uo,{hasComment:zE,CommentCheckFlags:VE}=tm,{getTypeParametersGroupId:WE}=Dx,{printMethod:GE}=bE,{printOptionalToken:KE,printTypeAnnotation:YE}=Bb,{printPropertyKey:XE}=Nx,{printAssignment:JE}=aC,{printClassMemberDecorators:QE}=NE,ZE=PE("heritageGroup");function e_(e){return e.typeParameters&&!zE(e.typeParameters,VE.Trailing|VE.Line)&&!function(e){return["superClass","extends","mixins","implements"].filter(t=>Boolean(e[t])).length>1}(e)}function t_(e,t,n,r){const i=e.getValue();if(!IE(i[r]))return"";const o=LE(e,t,!0,({marker:e})=>e===r);return[e_(i)?qE(" ",BE,{groupId:WE(i.typeParameters)}):BE,o,o&&RE,r,HE(UE([BE,jE([",",BE],e.map(n,r))]))]}function n_(e,t,n){const r=n("superClass");return"AssignmentExpression"===e.getParentNode().type?HE(qE(["(",UE([$E,r]),$E,")"],r)):r}var r_={printClass:function(e,t,n){const r=e.getValue(),i=[];r.declare&&i.push("declare "),r.abstract&&i.push("abstract "),i.push("class");const o=r.id&&zE(r.id,VE.Trailing)||r.superClass&&zE(r.superClass)||IE(r.extends)||IE(r.mixins)||IE(r.implements),s=[],a=[];if(r.id&&s.push(" ",n("id")),s.push(n("typeParameters")),r.superClass){const r=["extends ",n_(e,t,n),n("superTypeParameters")],i=e.call(e=>ME(e,r,t),"superClass");o?a.push(BE,HE(i)):a.push(" ",i)}else a.push(t_(e,t,n,"extends"));if(a.push(t_(e,t,n,"mixins"),t_(e,t,n,"implements")),o){let e;e=e_(r)?[...s,UE(a)]:UE([...s,a]),i.push(HE(e,{id:ZE(r)}))}else i.push(...s,...a);return i.push(" ",n("body")),i},printClassMethod:function(e,t,n){const r=e.getValue(),i=[];return IE(r.decorators)&&i.push(QE(e,t,n)),r.accessibility&&i.push(r.accessibility+" "),r.readonly&&i.push("readonly "),r.declare&&i.push("declare "),r.static&&i.push("static "),("TSAbstractMethodDefinition"===r.type||r.abstract)&&i.push("abstract "),r.override&&i.push("override "),i.push(GE(e,t,n)),i},printClassProperty:function(e,t,n){const r=e.getValue(),i=[],o=t.semi?";":"";return IE(r.decorators)&&i.push(QE(e,t,n)),r.accessibility&&i.push(r.accessibility+" "),r.declare&&i.push("declare "),r.static&&i.push("static "),("TSAbstractClassProperty"===r.type||r.abstract)&&i.push("abstract "),r.override&&i.push("override "),r.readonly&&i.push("readonly "),r.variance&&i.push(n("variance")),i.push(XE(e,t,n),KE(e),YE(e,t,n)),[JE(e,t,n,i," =","value"),o]},printHardlineAfterHeritage:function(e){return qE(RE,"",{groupId:ZE(e)})}};const{isNonEmptyArray:i_}=_i,{builders:{join:o_,line:s_,group:a_,indent:u_,ifBreak:l_}}=uo,{hasComment:c_,identity:p_,CommentCheckFlags:f_}=tm,{getTypeParametersGroupId:h_}=Dx,{printTypeScriptModifiers:d_}=Bb;var m_={printInterface:function(e,t,n){const r=e.getValue(),i=[];r.declare&&i.push("declare "),"TSInterfaceDeclaration"===r.type&&i.push(r.abstract?"abstract ":"",d_(e,t,n)),i.push("interface");const o=[],s=[];"InterfaceTypeAnnotation"!==r.type&&o.push(" ",n("id"),n("typeParameters"));const a=r.typeParameters&&!c_(r.typeParameters,f_.Trailing|f_.Line);return i_(r.extends)&&s.push(a?l_(" ",s_,{groupId:h_(r.typeParameters)}):s_,"extends ",(1===r.extends.length?p_:u_)(o_([",",s_],e.map(n,"extends")))),r.id&&c_(r.id,f_.Trailing)||i_(r.extends)?a?i.push(a_([...o,u_(s)])):i.push(a_(u_([...o,...s]))):i.push(...o,...s),i.push(" ",n("body")),a_(i)}};const{isNonEmptyArray:g_}=_i,{builders:{softline:y_,group:v_,indent:b_,join:D_,line:w_,ifBreak:C_,hardline:x_}}=uo,{printDanglingComments:E_}=Jf,{hasComment:__,CommentCheckFlags:k_,shouldPrintComma:T_,needsHardlineAfterDanglingComment:S_}=tm,{locStart:A_,hasSameLoc:O_}=ec,{hasDecoratorsBeforeExport:F_,printDecoratorsBeforeExport:N_}=NE;function I_(e,t,n){const r=e.getValue();if(!r.source)return"";const i=[];return M_(r,t)||i.push(" from"),i.push(" ",n("source")),i}function P_(e,t,n){const r=e.getValue();if(M_(r,t))return"";const i=[" "];if(g_(r.specifiers)){const o=[],s=[];e.each(()=>{const t=e.getValue().type;if("ExportNamespaceSpecifier"===t||"ExportDefaultSpecifier"===t||"ImportNamespaceSpecifier"===t||"ImportDefaultSpecifier"===t)o.push(n());else{if("ExportSpecifier"!==t&&"ImportSpecifier"!==t)throw new Error("Unknown specifier type "+JSON.stringify(t));s.push(n())}},"specifiers"),i.push(D_(", ",o)),s.length>0&&(o.length>0&&i.push(", "),s.length>1||o.length>0||r.specifiers.some(e=>__(e))?i.push(v_(["{",b_([t.bracketSpacing?w_:y_,D_([",",w_],s)]),C_(T_(t)?",":""),t.bracketSpacing?w_:y_,"}"])):i.push(["{",t.bracketSpacing?" ":"",...s,t.bracketSpacing?" ":"","}"]))}else i.push("{}");return i}function M_(e,t){const{type:n,importKind:r,source:i,specifiers:o}=e;return"ImportDeclaration"===n&&!g_(o)&&"type"!==r&&!/{\s*}/.test(t.originalText.slice(A_(e),A_(i)))}function L_(e,t,n){const r=e.getNode();return g_(r.assertions)?[" assert {",t.bracketSpacing?" ":"",D_(", ",e.map(n,"assertions")),t.bracketSpacing?" ":"","}"]:""}var j_={printImportDeclaration:function(e,t,n){const r=e.getValue(),i=t.semi?";":"",o=[],{importKind:s}=r;return o.push("import"),s&&"value"!==s&&o.push(" ",s),o.push(P_(e,t,n),I_(e,t,n),L_(e,t,n),i),o},printExportDeclaration:function(e,t,n){const r=e.getValue(),i=[];F_(r)&&i.push(N_(e,t,n));const{type:o,exportKind:s,declaration:a}=r;return i.push("export"),(r.default||"ExportDefaultDeclaration"===o)&&i.push(" default"),__(r,k_.Dangling)&&(i.push(" ",E_(e,t,!0)),S_(r)&&i.push(x_)),a?i.push(" ",n("declaration")):i.push("type"===s?" type":"",P_(e,t,n),I_(e,t,n),L_(e,t,n)),function(e,t){if(!t.semi)return!1;const{type:n,declaration:r}=e,i=e.default||"ExportDefaultDeclaration"===n;if(!r)return!0;const{type:o}=r;return!(!i||"ClassDeclaration"===o||"FunctionDeclaration"===o||"TSInterfaceDeclaration"===o||"DeclareClass"===o||"DeclareFunction"===o||"TSDeclareFunction"===o||"EnumDeclaration"===o)}(r,t)&&i.push(";"),i},printExportAllDeclaration:function(e,t,n){const r=e.getValue(),i=t.semi?";":"",o=[],{exportKind:s,exported:a}=r;return o.push("export"),"type"===s&&o.push(" type"),o.push(" *"),a&&o.push(" as ",n("exported")),o.push(I_(e,t,n),L_(e,t,n),i),o},printModuleSpecifier:function(e,t,n){const r=e.getNode(),{type:i,importKind:o}=r,s=[];"ImportSpecifier"===i&&o&&s.push(o," ");const a=i.startsWith("Import"),u=a?"imported":"local",l=a?"local":"exported";let c="",p="";return"ExportNamespaceSpecifier"===i||"ImportNamespaceSpecifier"===i?c="*":r[u]&&(c=n(u)),!r[l]||r[u]&&O_(r[u],r[l])||(p=n(l)),s.push(c,c&&p?" as ":"",p),s}};const{printDanglingComments:B_}=Jf,{builders:{line:R_,softline:$_,group:H_,indent:U_,ifBreak:q_,hardline:z_}}=uo,{getLast:V_,hasNewlineInRange:W_,hasNewline:G_,isNonEmptyArray:K_}=_i,{shouldPrintComma:Y_,hasComment:X_,getComments:J_,CommentCheckFlags:Q_,isNextLineEmpty:Z_}=tm,{locStart:ek,locEnd:tk}=ec,{printOptionalToken:nk,printTypeAnnotation:rk}=Bb,{shouldHugFunctionParameters:ik}=IC,{shouldHugType:ok}=tx,{printHardlineAfterHeritage:sk}=r_;var ak={printObject:function(e,t,n){const r=t.semi?";":"",i=e.getValue();let o;o="TSTypeLiteral"===i.type?"members":"TSInterfaceBody"===i.type?"body":"properties";const s="ObjectTypeAnnotation"===i.type,a=[o];s&&a.push("indexers","callProperties","internalSlots");const u=a.map(e=>i[e][0]).sort((e,t)=>ek(e)-ek(t))[0],l=e.getParentNode(0),c=s&&l&&("InterfaceDeclaration"===l.type||"DeclareInterface"===l.type||"DeclareClass"===l.type)&&"body"===e.getName(),p="TSInterfaceBody"===i.type||c||"ObjectPattern"===i.type&&"FunctionDeclaration"!==l.type&&"FunctionExpression"!==l.type&&"ArrowFunctionExpression"!==l.type&&"ObjectMethod"!==l.type&&"ClassMethod"!==l.type&&"ClassPrivateMethod"!==l.type&&"AssignmentPattern"!==l.type&&"CatchClause"!==l.type&&i.properties.some(e=>e.value&&("ObjectPattern"===e.value.type||"ArrayPattern"===e.value.type))||"ObjectPattern"!==i.type&&u&&W_(t.originalText,ek(i),ek(u)),f=c?";":"TSInterfaceBody"===i.type||"TSTypeLiteral"===i.type?q_(r,";"):",",h="RecordExpression"===i.type?"#{":i.exact?"{|":"{",d=i.exact?"|}":"}",m=[];for(const w of a)e.each(e=>{const t=e.getValue();m.push({node:t,printed:n(),loc:ek(t)})},w);a.length>1&&m.sort((e,t)=>e.loc-t.loc);let g=[];const y=m.map(e=>{const n=[...g,H_(e.printed)];return g=[f,R_],"TSPropertySignature"!==e.node.type&&"TSMethodSignature"!==e.node.type&&"TSConstructSignatureDeclaration"!==e.node.type||!X_(e.node,Q_.PrettierIgnore)||g.shift(),Z_(e.node,t)&&g.push(z_),n});if(i.inexact){let n;if(X_(i,Q_.Dangling)){const r=X_(i,Q_.Line);n=[B_(e,t,!0),r||G_(t.originalText,tk(V_(J_(i))))?z_:R_,"..."]}else n=["..."];y.push([...g,...n])}const v=V_(i[o]),b=!(i.inexact||v&&"RestElement"===v.type||v&&("TSPropertySignature"===v.type||"TSCallSignatureDeclaration"===v.type||"TSMethodSignature"===v.type||"TSConstructSignatureDeclaration"===v.type)&&X_(v,Q_.PrettierIgnore));let D;if(0===y.length){if(!X_(i,Q_.Dangling))return[h,d,rk(e,t,n)];D=H_([h,B_(e,t),$_,d,nk(e),rk(e,t,n)])}else D=[c&&K_(i.properties)?sk(l):"",h,U_([t.bracketSpacing?R_:$_,...y]),q_(b&&(","!==f||Y_(t))?f:""),t.bracketSpacing?R_:$_,d,nk(e),rk(e,t,n)];return e.match(e=>"ObjectPattern"===e.type&&!e.decorators,(e,t,n)=>ik(e)&&("params"===t||"parameters"===t||"this"===t||"rest"===t)&&0===n)||e.match(ok,(e,t)=>"typeAnnotation"===t,(e,t)=>"typeAnnotation"===t,(e,t,n)=>ik(e)&&("params"===t||"parameters"===t||"this"===t||"rest"===t)&&0===n)||!p&&e.match(e=>"ObjectPattern"===e.type,e=>"AssignmentExpression"===e.type||"VariableDeclarator"===e.type)?D:H_(D,{shouldBreak:p})}};const{printDanglingComments:uk}=Jf,{printString:lk,printNumber:ck}=_i,{builders:{hardline:pk,softline:fk,group:hk,indent:dk}}=uo,{getParentExportDeclaration:mk,isFunctionNotation:gk,isGetterOrSetter:yk,rawText:vk,shouldPrintComma:bk}=tm,{locStart:Dk,locEnd:wk}=ec,{printClass:Ck}=r_,{printOpaqueType:xk,printTypeAlias:Ek,printIntersectionType:_k,printUnionType:kk,printFunctionType:Tk,printTupleType:Sk,printIndexedAccessType:Ak}=tx,{printInterface:Ok}=m_,{printTypeParameter:Fk,printTypeParameters:Nk}=Dx,{printExportDeclaration:Ik,printExportAllDeclaration:Pk}=j_,{printArrayItems:Mk}=aD,{printObject:Lk}=ak,{printPropertyKey:jk}=Nx,{printOptionalToken:Bk,printTypeAnnotation:Rk,printRestSpread:$k}=Bb;function Hk(e,t){const n=mk(e);return n?(_f.strictEqual(n.type,"DeclareExportDeclaration"),t):["declare ",t]}var Uk={printFlow:function(e,t,n){const r=e.getValue(),i=t.semi?";":"",o=[];switch(r.type){case"DeclareClass":return Hk(e,Ck(e,t,n));case"DeclareFunction":return Hk(e,["function ",n("id"),r.predicate?" ":"",n("predicate"),i]);case"DeclareModule":return Hk(e,["module ",n("id")," ",n("body")]);case"DeclareModuleExports":return Hk(e,["module.exports",": ",n("typeAnnotation"),i]);case"DeclareVariable":return Hk(e,["var ",n("id"),i]);case"DeclareOpaqueType":return Hk(e,xk(e,t,n));case"DeclareInterface":return Hk(e,Ok(e,t,n));case"DeclareTypeAlias":return Hk(e,Ek(e,t,n));case"DeclareExportDeclaration":return Hk(e,Ik(e,t,n));case"DeclareExportAllDeclaration":return Hk(e,Pk(e,t,n));case"OpaqueType":return xk(e,t,n);case"TypeAlias":return Ek(e,t,n);case"IntersectionTypeAnnotation":return _k(e,t,n);case"UnionTypeAnnotation":return kk(e,t,n);case"FunctionTypeAnnotation":return Tk(e,t,n);case"TupleTypeAnnotation":return Sk(e,t,n);case"GenericTypeAnnotation":return[n("id"),Nk(e,t,n,"typeParameters")];case"IndexedAccessType":case"OptionalIndexedAccessType":return Ak(e,t,n);case"TypeAnnotation":return n("typeAnnotation");case"TypeParameter":return Fk(e,t,n);case"TypeofTypeAnnotation":return["typeof ",n("argument")];case"ExistsTypeAnnotation":return"*";case"EmptyTypeAnnotation":return"empty";case"MixedTypeAnnotation":return"mixed";case"ArrayTypeAnnotation":return[n("elementType"),"[]"];case"BooleanLiteralTypeAnnotation":return String(r.value);case"EnumDeclaration":return["enum ",n("id")," ",n("body")];case"EnumBooleanBody":case"EnumNumberBody":case"EnumStringBody":case"EnumSymbolBody":if("EnumSymbolBody"===r.type||r.explicitType){let e=null;switch(r.type){case"EnumBooleanBody":e="boolean";break;case"EnumNumberBody":e="number";break;case"EnumStringBody":e="string";break;case"EnumSymbolBody":e="symbol"}o.push("of ",e," ")}if(0!==r.members.length||r.hasUnknownMembers){const i=r.members.length>0?[pk,Mk(e,t,"members",n),r.hasUnknownMembers||bk(t)?",":""]:[];o.push(hk(["{",dk([...i,...r.hasUnknownMembers?[pk,"..."]:[]]),uk(e,t,!0),pk,"}"]))}else o.push(hk(["{",uk(e,t),fk,"}"]));return o;case"EnumBooleanMember":case"EnumNumberMember":case"EnumStringMember":return[n("id")," = ","object"==typeof r.init?n("init"):String(r.init)];case"EnumDefaultedMember":return n("id");case"FunctionTypeParam":{const t=r.name?n("name"):e.getParentNode().this===r?"this":"";return[t,Bk(e),t?": ":"",n("typeAnnotation")]}case"InterfaceDeclaration":case"InterfaceTypeAnnotation":return Ok(e,t,n);case"ClassImplements":case"InterfaceExtends":return[n("id"),n("typeParameters")];case"NullableTypeAnnotation":return["?",n("typeAnnotation")];case"Variance":{const{kind:e}=r;return _f.ok("plus"===e||"minus"===e),"plus"===e?"+":"-"}case"ObjectTypeCallProperty":return r.static&&o.push("static "),o.push(n("value")),o;case"ObjectTypeIndexer":return[r.variance?n("variance"):"","[",n("id"),r.id?": ":"",n("key"),"]: ",n("value")];case"ObjectTypeProperty":{let i="";return r.proto?i="proto ":r.static&&(i="static "),[i,yk(r)?r.kind+" ":"",r.variance?n("variance"):"",jk(e,t,n),Bk(e),gk(r)?"":": ",n("value")]}case"ObjectTypeAnnotation":return Lk(e,t,n);case"ObjectTypeInternalSlot":return[r.static?"static ":"","[[",n("id"),"]]",Bk(e),r.method?"":": ",n("value")];case"ObjectTypeSpreadProperty":return $k(e,t,n);case"QualifiedTypeIdentifier":return[n("qualification"),".",n("id")];case"StringLiteralTypeAnnotation":return lk(vk(r),t);case"NumberLiteralTypeAnnotation":_f.strictEqual(typeof r.value,"number");case"BigIntLiteralTypeAnnotation":return r.extra?ck(r.extra.raw):ck(r.raw);case"TypeCastExpression":return["(",n("expression"),Rk(e,t,n),")"];case"TypeParameterDeclaration":case"TypeParameterInstantiation":{const i=Nk(e,t,n,"params");if("flow"===t.parser){const e=Dk(r),n=wk(r),o=t.originalText.lastIndexOf("/*",e),s=t.originalText.indexOf("*/",n);if(-1!==o&&-1!==s){const e=t.originalText.slice(o+2,s).trim();if(e.startsWith("::")&&!e.includes("/*")&&!e.includes("*/"))return["/*:: ",i," */"]}}return i}case"InferredPredicate":return"%checks";case"DeclaredPredicate":return["%checks(",n("value"),")"];case"AnyTypeAnnotation":return"any";case"BooleanTypeAnnotation":return"boolean";case"BigIntTypeAnnotation":return"bigint";case"NullLiteralTypeAnnotation":return"null";case"NumberTypeAnnotation":return"number";case"SymbolTypeAnnotation":return"symbol";case"StringTypeAnnotation":return"string";case"VoidTypeAnnotation":return"void";case"ThisTypeAnnotation":return"this";case"Node":case"Printable":case"SourceLocation":case"Position":case"Statement":case"Function":case"Pattern":case"Expression":case"Declaration":case"Specifier":case"NamedSpecifier":case"Comment":case"MemberTypeAnnotation":case"Type":throw new Error("unprintable type: "+JSON.stringify(r.type))}}};const{hasNewlineInRange:qk}=_i,{isJsxNode:zk,isBlockComment:Vk,getComments:Wk,isCallExpression:Gk,isMemberExpression:Kk}=tm,{locStart:Yk,locEnd:Xk}=ec,{builders:{line:Jk,softline:Qk,group:Zk,indent:eT,align:tT,ifBreak:nT,dedent:rT,breakParent:iT}}=uo;function oT(e,t,n){const r=e.getValue(),i="ConditionalExpression"===r.type,o=i?"alternate":"falseType",s=e.getParentNode(),a=i?n("test"):[n("checkType")," ","extends"," ",n("extendsType")];return s.type===r.type&&s[o]===r?tT(2,a):a}const sT=new Map([["AssignmentExpression","right"],["VariableDeclarator","init"],["ReturnStatement","argument"],["ThrowStatement","argument"],["UnaryExpression","argument"],["YieldExpression","argument"]]);var aT={printTernary:function(e,t,n){const r=e.getValue(),i="ConditionalExpression"===r.type,o=i?"consequent":"trueType",s=i?"alternate":"falseType",a=i?["test"]:["checkType","extendsType"],u=r[o],l=r[s],c=[];let p=!1;const f=e.getParentNode(),h=f.type===r.type&&a.some(e=>f[e]===r);let d,m,g=f.type===r.type&&!h,y=0;do{m=d||r,d=e.getParentNode(y),y++}while(d&&d.type===r.type&&a.every(e=>d[e]!==m));const v=d||f,b=m;if(i&&(zk(r[a[0]])||zk(u)||zk(l)||function(e){const t=[e];for(let n=0;n[nT("("),eT([Qk,e]),Qk,nT(")")],t=e=>"NullLiteral"===e.type||"Literal"===e.type&&null===e.value||"Identifier"===e.type&&"undefined"===e.name;c.push(" ? ",t(u)?n(o):e(n(o))," : ",l.type===r.type||t(l)?n(s):e(n(s)))}else{const e=[Jk,"? ",u.type===r.type?nT("","("):"",tT(2,n(o)),u.type===r.type?nT("",")"):"",Jk,": ",l.type===r.type?n(s):tT(2,n(s))];c.push(f.type!==r.type||f[s]===r||h?e:t.useTabs?rT(eT(e)):tT(Math.max(0,t.tabWidth-2),e))}const D=[...a.map(e=>Wk(r[e])),Wk(u),Wk(l)].flat().some(e=>Vk(e)&&qk(t.originalText,Yk(e),Xk(e))),w=!p&&(Kk(f)||"NGPipeExpression"===f.type&&f.left===r)&&!f.computed,C=function(e){const t=e.getValue();if("ConditionalExpression"!==t.type)return!1;let n,r=t;for(let i=0;!n;i++){const t=e.getParentNode(i);Gk(t)&&t.callee===r||Kk(t)&&t.object===r||"TSNonNullExpression"===t.type&&t.expression===r?r=t:"NewExpression"===t.type&&t.callee===r||"TSAsExpression"===t.type&&t.expression===r?(n=e.getParentNode(i+1),r=t):n=t}return r!==t&&n[sT.get(n.type)]===r}(e),x=(E=[oT(e,0,n),g?c:eT(c),i&&w&&!C?Qk:""],f===v?Zk(E,{shouldBreak:D}):D?[E,iT]:E);var E;return h||C?Zk([eT([Qk,x]),Qk]):x}};const{builders:{hardline:uT}}=uo,{getLeftSidePathName:lT,hasNakedLeftSide:cT,isJsxNode:pT,isTheOnlyJsxElementInMarkdown:fT,hasComment:hT,CommentCheckFlags:dT,isNextLineEmpty:mT}=tm,{shouldPrintParamsWithoutParens:gT}=bE;function yT(e,t,n,r){const i=e.getValue(),o=[],s="ClassBody"===i.type,a=function(e){for(let t=e.length-1;t>=0;t--){const n=e[t];if("EmptyStatement"!==n.type)return n}}(i[r]);return e.each((e,r,i)=>{const u=e.getValue();if("EmptyStatement"===u.type)return;const l=n();t.semi||s||fT(t,e)||!function(e,t){return"ExpressionStatement"===e.getNode().type&&e.call(e=>vT(e,t),"expression")}(e,t)?o.push(l):hT(u,dT.Leading)?o.push(n([],{needsSemi:!0})):o.push(";",l),!t.semi&&s&&bT(u)&&function(e,t){const n=e.key&&e.key.name;if(!("static"!==n&&"get"!==n&&"set"!==n||e.value||e.typeAnnotation))return!0;if(!t)return!1;if(t.static||t.accessibility)return!1;if(!t.computed){const e=t.key&&t.key.name;if("in"===e||"instanceof"===e)return!0}if(bT(t)&&t.variance&&!t.static&&!t.declare)return!0;switch(t.type){case"ClassProperty":case"PropertyDefinition":case"TSAbstractClassProperty":return t.computed;case"MethodDefinition":case"TSAbstractMethodDefinition":case"ClassMethod":case"ClassPrivateMethod":{if((t.value?t.value.async:t.async)||"get"===t.kind||"set"===t.kind)return!1;const e=t.value?t.value.generator:t.generator;return!(!t.computed&&!e)}case"TSIndexSignature":return!0}return!1}(u,i[r+1])&&o.push(";"),u!==a&&(o.push(uT),mT(u,t)&&o.push(uT))},r),o}function vT(e,t){const n=e.getValue();switch(n.type){case"ParenthesizedExpression":case"TypeCastExpression":case"ArrayExpression":case"ArrayPattern":case"TemplateLiteral":case"TemplateElement":case"RegExpLiteral":return!0;case"ArrowFunctionExpression":if(!gT(e,t))return!0;break;case"UnaryExpression":{const{prefix:e,operator:t}=n;if(e&&("+"===t||"-"===t))return!0;break}case"BindExpression":if(!n.object)return!0;break;case"Literal":if(n.regex)return!0;break;default:if(pT(n))return!0}return!!av(e,t)||!!cT(n)&&e.call(e=>vT(e,t),...lT(e,n))}const bT=({type:e})=>"ClassProperty"===e||"PropertyDefinition"===e||"ClassPrivateProperty"===e;var DT={printBody:function(e,t,n){return yT(e,t,n,"body")},printSwitchCaseConsequent:function(e,t,n){return yT(e,t,n,"consequent")}};const{printDanglingComments:wT}=Jf,{isNonEmptyArray:CT}=_i,{builders:{hardline:xT,indent:ET}}=uo,{hasComment:_T,CommentCheckFlags:kT,isNextLineEmpty:TT}=tm,{printHardlineAfterHeritage:ST}=r_,{printBody:AT}=DT;function OT(e,t,n){const r=e.getValue(),i=CT(r.directives),o=r.body.some(e=>"EmptyStatement"!==e.type),s=_T(r,kT.Dangling);if(!i&&!o&&!s)return"";const a=[];if(i&&e.each((e,r,i)=>{a.push(n()),(r"]),i=[HT("("),RT([jT,n("expression")]),jT,HT(")")];return e?$T([[t,n("expression")],[t,BT(i,{shouldBreak:!0})],[t,n("expression")]]):BT([t,n("expression")])}case"TSDeclareFunction":return uS(e,n,t);case"TSExportAssignment":return["export = ",n("expression"),i];case"TSModuleBlock":return pS(e,t,n);case"TSInterfaceBody":case"TSTypeLiteral":return nS(e,t,n);case"TSTypeAliasDeclaration":return fS(e,t,n);case"TSQualifiedName":return PT(".",[n("left"),n("right")]);case"TSAbstractMethodDefinition":case"TSDeclareMethod":return iS(e,t,n);case"TSAbstractClassProperty":return rS(e,t,n);case"TSInterfaceHeritage":case"TSExpressionWithTypeArguments":return o.push(n("expression")),r.typeParameters&&o.push(n("typeParameters")),o;case"TSTemplateLiteralType":return eS(e,n,t);case"TSNamedTupleMember":return[n("label"),r.optional?"?":"",": ",n("elementType")];case"TSRestType":return["...",n("typeAnnotation")];case"TSOptionalType":return[n("typeAnnotation"),"?"];case"TSInterfaceDeclaration":return cS(e,t,n);case"TSClassImplements":return[n("expression"),n("typeParameters")];case"TSTypeParameterDeclaration":case"TSTypeParameterInstantiation":return sS(e,t,n,"params");case"TSTypeParameter":return oS(e,t,n);case"TSAsExpression":{o.push(n("expression")," as ",n("typeAnnotation"));const t=e.getParentNode();return VT(t)&&t.callee===r||WT(t)&&t.object===r?BT([RT([jT,...o]),jT]):o}case"TSArrayType":return[n("elementType"),"[]"];case"TSPropertySignature":return r.readonly&&o.push("readonly "),o.push(aS(e,t,n),YT(e)),r.typeAnnotation&&o.push(": ",n("typeAnnotation")),r.initializer&&o.push(" = ",n("initializer")),o;case"TSParameterProperty":return r.accessibility&&o.push(r.accessibility+" "),r.export&&o.push("export "),r.static&&o.push("static "),r.override&&o.push("override "),r.readonly&&o.push("readonly "),o.push(n("parameter")),o;case"TSTypeQuery":return["typeof ",n("exprName")];case"TSIndexSignature":{const o=e.getParentNode(),s=r.parameters.length>1?HT(zT(t)?",":""):"",a=BT([RT([jT,PT([", ",jT],e.map(n,"parameters"))]),s,jT]);return[r.export?"export ":"",r.accessibility?[r.accessibility," "]:"",r.static?"static ":"",r.readonly?"readonly ":"",r.declare?"declare ":"","[",r.parameters?a:"",r.typeAnnotation?"]: ":"]",r.typeAnnotation?n("typeAnnotation"):"","ClassBody"===o.type?i:""]}case"TSTypePredicate":return[r.asserts?"asserts ":"",n("parameterName"),r.typeAnnotation?[" is ",n("typeAnnotation")]:""];case"TSNonNullExpression":return[n("expression"),"!"];case"TSImportType":return[r.isTypeOf?"typeof ":"","import(",n(r.parameter?"parameter":"argument"),")",r.qualifier?[".",n("qualifier")]:"",sS(e,t,n,"typeParameters")];case"TSLiteralType":return n("literal");case"TSIndexedAccessType":return yS(e,t,n);case"TSConstructSignatureDeclaration":case"TSCallSignatureDeclaration":case"TSConstructorType":if("TSConstructorType"===r.type&&r.abstract&&o.push("abstract "),"TSCallSignatureDeclaration"!==r.type&&o.push("new "),o.push(BT(QT(e,n,t,!1,!0))),r.returnType||r.typeAnnotation){const e="TSConstructorType"===r.type;o.push(e?" => ":": ",n("returnType"),n("typeAnnotation"))}return o;case"TSTypeOperator":return[r.operator," ",n("typeAnnotation")];case"TSMappedType":{const o=IT(t.originalText,GT(r),KT(r));return BT(["{",RT([t.bracketSpacing?MT:jT,r.readonly?[qT(r.readonly,"readonly")," "]:"",XT(e,t,n),n("typeParameter"),r.optional?qT(r.optional,"?"):"",r.typeAnnotation?": ":"",n("typeAnnotation"),HT(i)]),NT(e,t,!0),t.bracketSpacing?MT:jT,"}"],{shouldBreak:o})}case"TSMethodSignature":{const i=r.kind&&"method"!==r.kind?r.kind+" ":"";o.push(r.accessibility?[r.accessibility," "]:"",i,r.export?"export ":"",r.static?"static ":"",r.readonly?"readonly ":"",r.abstract?"abstract ":"",r.declare?"declare ":"",r.computed?"[":"",n("key"),r.computed?"]":"",YT(e));const s=QT(e,n,t,!1,!0),a=r.returnType?"returnType":"typeAnnotation",u=r[a],l=u?n(a):"",c=ZT(r,l);return o.push(c?BT(s):s),u&&o.push(": ",BT(l)),BT(o)}case"TSNamespaceExportDeclaration":return o.push("export as namespace ",n("id")),t.semi&&o.push(";"),BT(o);case"TSEnumDeclaration":return r.declare&&o.push("declare "),r.modifiers&&o.push(XT(e,t,n)),r.const&&o.push("const "),o.push("enum ",n("id")," "),0===r.members.length?o.push(BT(["{",NT(e,t),jT,"}"])):o.push(BT(["{",RT([LT,tS(e,t,"members",n),zT(t,"es5")?",":""]),NT(e,t,!0),LT,"}"])),o;case"TSEnumMember":return o.push(n("id")),r.initializer&&o.push(" = ",n("initializer")),o;case"TSImportEqualsDeclaration":return r.isExport&&o.push("export "),o.push("import "),r.importKind&&"value"!==r.importKind&&o.push(r.importKind," "),o.push(n("id")," = ",n("moduleReference")),t.semi&&o.push(";"),BT(o);case"TSExternalModuleReference":return["require(",n("expression"),")"];case"TSModuleDeclaration":{const s=e.getParentNode(),a=UT(r.id),u="TSModuleDeclaration"===s.type,l=r.body&&"TSModuleDeclaration"===r.body.type;if(u)o.push(".");else{r.declare&&o.push("declare "),o.push(XT(e,t,n));const i=t.originalText.slice(GT(r),GT(r.id));"Identifier"===r.id.type&&"global"===r.id.name&&!/namespace|module/.test(i)||o.push(a||/(?:^|\s)module(?:\s|$)/.test(i)?"module ":"namespace ")}return o.push(n("id")),l?o.push(n("body")):r.body?o.push(" ",BT(n("body"))):o.push(i),o}case"TSPrivateIdentifier":return r.escapedText;case"TSConditionalType":return JT(e,t,n);case"TSInferType":return["infer"," ",n("typeParameter")];case"TSIntersectionType":return hS(e,t,n);case"TSUnionType":return dS(e,t,n);case"TSFunctionType":return mS(e,t,n);case"TSTupleType":return gS(e,t,n);case"TSTypeReference":return[n("typeName"),sS(e,t,n,"typeParameters")];case"TSTypeAnnotation":return n("typeAnnotation");case"TSEmptyBodyFunctionExpression":return lS(e,t,n);case"TSJSDocAllType":return"*";case"TSJSDocUnknownType":return"?";case"TSJSDocNullableType":return["?",n("typeAnnotation")];case"TSJSDocNonNullableType":return["!",n("typeAnnotation")];default:throw new Error(`Unknown TypeScript node type: ${JSON.stringify(r.type)}.`)}}};const{hasNewline:bS}=_i,{builders:{join:DS,hardline:wS},utils:{replaceTextEndOfLine:CS}}=uo,{isLineComment:xS,isBlockComment:ES}=tm,{locStart:_S,locEnd:kS}=ec;var TS={printComment:function(e,t){const n=e.getValue();if(xS(n))return t.originalText.slice(_S(n),kS(n)).trimEnd();if(ES(n)){if(function(e){const t=`*${e.value}*`.split("\n");return t.length>1&&t.every(e=>"*"===e.trim()[0])}(n)){const e=function(e){const t=e.value.split("\n");return["/*",DS(wS,t.map((e,n)=>0===n?e.trimEnd():" "+(n"AwaitExpression"===e.type||"BlockStatement"===e.type);if(!t||"AwaitExpression"!==t.type)return RS(s)}}return s;case"ExportDefaultDeclaration":case"ExportNamedDeclaration":return gA(e,t,n);case"ExportAllDeclaration":return yA(e,t,n);case"ImportDeclaration":return mA(e,t,n);case"ImportSpecifier":case"ExportSpecifier":case"ImportNamespaceSpecifier":case"ExportNamespaceSpecifier":case"ImportDefaultSpecifier":case"ExportDefaultSpecifier":return vA(e,t,n);case"ImportAttribute":return[n("key"),": ",n("value")];case"Import":return"import";case"BlockStatement":case"StaticBlock":case"ClassBody":return BA(e,t,n);case"ThrowStatement":return FA(e,t,n);case"ReturnStatement":return OA(e,t,n);case"NewExpression":case"ImportExpression":case"OptionalCallExpression":case"CallExpression":return NA(e,t,n);case"ObjectExpression":case"ObjectPattern":case"RecordExpression":return CA(e,t,n);case"ObjectProperty":case"Property":return i.method||"get"===i.kind||"set"===i.kind?AA(e,t,n):kA(e,t,n);case"ObjectMethod":return AA(e,t,n);case"Decorator":return["@",n("expression")];case"ArrayExpression":case"ArrayPattern":case"TupleExpression":return wA(e,t,n);case"SequenceExpression":{const t=e.getParentNode(0);if("ExpressionStatement"===t.type||"ForStatement"===t.type){const t=[];return e.each((e,r)=>{0===r?t.push(n()):t.push(",",$S([LS,n()]))},"expressions"),RS(t)}return RS(MS([",",LS],e.map(n,"expressions")))}case"ThisExpression":return"this";case"Super":return"super";case"Directive":return[n("value"),o];case"DirectiveLiteral":return qA(i,t);case"UnaryExpression":return s.push(i.operator),/[a-z]$/.test(i.operator)&&s.push(" "),zS(i.argument)?s.push(RS(["(",$S([BS,n("argument")]),BS,")"])):s.push(n("argument")),s;case"UpdateExpression":return s.push(n("argument"),i.operator),i.prefix&&s.reverse(),s;case"ConditionalExpression":return bA(e,t,n);case"VariableDeclaration":{const t=e.map(n,"declarations"),r=e.getParentNode(),a="ForStatement"===r.type||"ForInStatement"===r.type||"ForOfStatement"===r.type,u=i.declarations.some(e=>e.init);let l;return 1!==t.length||zS(i.declarations[0])?t.length>0&&(l=$S(t[0])):l=t[0],s=[i.declare?"declare ":"",i.kind,l?[" ",l]:"",$S(t.slice(1).map(e=>[",",u&&!a?jS:LS,e]))],a&&r.body!==i||s.push(o),RS(s)}case"WithStatement":return RS(["with (",n("object"),")",hA(i.body,n("body"))]);case"IfStatement":{const r=hA(i.consequent,n("consequent")),o=RS(["if (",RS([$S([BS,n("test")]),BS]),")",r]);if(s.push(o),i.alternate){const r=zS(i.consequent,VS.Trailing|VS.Line)||XS(i),o="BlockStatement"===i.consequent.type&&!r;s.push(o?" ":jS),zS(i,VS.Dangling)&&s.push(IS(e,t,!0),r?jS:" "),s.push("else",RS(hA(i.alternate,n("alternate"),"IfStatement"===i.alternate.type)))}return s}case"ForStatement":{const r=hA(i.body,n("body")),o=IS(e,t,!0),s=o?[o,BS]:"";return i.init||i.test||i.update?[s,RS(["for (",RS([$S([BS,n("init"),";",LS,n("test"),";",LS,n("update")]),BS]),")",r])]:[s,RS(["for (;;)",r])]}case"WhileStatement":return RS(["while (",RS([$S([BS,n("test")]),BS]),")",hA(i.body,n("body"))]);case"ForInStatement":return RS(["for (",n("left")," in ",n("right"),")",hA(i.body,n("body"))]);case"ForOfStatement":return RS(["for",i.await?" await":""," (",n("left")," of ",n("right"),")",hA(i.body,n("body"))]);case"DoWhileStatement":{const e=hA(i.body,n("body"));return s=[RS(["do",e])],"BlockStatement"===i.body.type?s.push(" "):s.push(jS),s.push("while (",RS([$S([BS,n("test")]),BS]),")",o),s}case"DoExpression":return[i.async?"async ":"","do ",n("body")];case"BreakStatement":return s.push("break"),i.label&&s.push(" ",n("label")),s.push(o),s;case"ContinueStatement":return s.push("continue"),i.label&&s.push(" ",n("label")),s.push(o),s;case"LabeledStatement":return"EmptyStatement"===i.body.type?[n("label"),":;"]:[n("label"),": ",n("body")];case"TryStatement":return["try ",n("block"),i.handler?[" ",n("handler")]:"",i.finalizer?[" finally ",n("finalizer")]:""];case"CatchClause":if(i.param){const e=zS(i.param,e=>!GS(e)||e.leading&&PS(t.originalText,nA(e))||e.trailing&&PS(t.originalText,tA(e),{backwards:!0})),r=n("param");return["catch ",e?["(",$S([BS,r]),BS,") "]:["(",r,") "],n("body")]}return["catch ",n("body")];case"SwitchStatement":return[RS(["switch (",$S([BS,n("discriminant")]),BS,")"])," {",i.cases.length>0?$S([jS,MS(jS,e.map((e,r,i)=>{const o=e.getValue();return[n(),r!==i.length-1&&YS(o,t)?jS:""]},"cases"))]):"",jS,"}"];case"SwitchCase":{i.test?s.push("case ",n("test"),":"):s.push("default:");const r=i.consequent.filter(e=>"EmptyStatement"!==e.type);if(r.length>0){const i=LA(e,t,n);s.push(1===r.length&&"BlockStatement"===r[0].type?[" ",i]:$S([jS,i]))}return s}case"DebuggerStatement":return["debugger",o];case"ClassDeclaration":case"ClassExpression":return xA(e,t,n);case"ClassMethod":case"ClassPrivateMethod":case"MethodDefinition":return EA(e,t,n);case"ClassProperty":case"PropertyDefinition":case"ClassPrivateProperty":return _A(e,t,n);case"TemplateElement":return HS(i.value.raw);case"TemplateLiteral":return DA(e,n,t);case"TaggedTemplateExpression":return[n("tag"),n("typeParameters"),n("quasi")];case"PrivateIdentifier":return["#",n("name")];case"PrivateName":return["#",n("id")];case"InterpreterDirective":return s.push("#!",i.value,jS),YS(i,t)&&s.push(jS),s;case"TopicReference":return"%";case"ArgumentPlaceholder":return"?";case"ModuleExpression":{s.push("module {");const e=n("body");return e&&s.push($S([jS,e]),jS),s.push("}"),s}default:throw new Error("unknown type: "+JSON.stringify(i.type))}}(e,t,n,r);if(!i)return"";const o=e.getValue(),{type:s}=o;if("ClassMethod"===s||"ClassPrivateMethod"===s||"ClassProperty"===s||"PropertyDefinition"===s||"TSAbstractClassProperty"===s||"ClassPrivateProperty"===s||"MethodDefinition"===s||"TSAbstractMethodDefinition"===s||"TSDeclareMethod"===s)return i;const a=UA(e,t,n);if(a)return RS([...a,i]);if(!av(e,t))return r&&r.needsSemi?[";",i]:i;const u=[r&&r.needsSemi?";(":"(",i];if(qS(o)){const[e]=o.trailingComments;u.push(" /*",e.value.trimStart(),"*/"),e.printed=!0}return u.push(")"),u},embed:sg,insertPragma:US,massageAstNode:pg,hasPrettierIgnore:e=>QS(e)||aA(e),willPrintOwnComments:Vy.willPrintOwnComments,canAttachComment:function(e){return e.type&&!GS(e)&&!KS(e)&&"EmptyStatement"!==e.type&&"TemplateElement"!==e.type&&"Import"!==e.type&&"TSEmptyBodyFunctionExpression"!==e.type},printComment:$A,isBlockComment:GS,handleComments:{avoidAstMutation:!0,ownLine:Vy.handleOwnLineComment,endOfLine:Vy.handleEndOfLineComment,remaining:Vy.handleRemainingComment},getCommentChildNodes:Vy.getCommentChildNodes};const{builders:{hardline:VA,indent:WA,join:GA}}=uo,KA=new Set(["start","end","extra","loc","comments","leadingComments","trailingComments","innerComments","errors","range","tokens"]);function YA(e,t){const{type:n}=e;if("ObjectProperty"!==n||"Identifier"!==e.key.type){if("UnaryExpression"===n&&"+"===e.operator)return t.argument;if("ArrayExpression"!==n)return"TemplateLiteral"===n?{type:"StringLiteral",value:e.quasis[0].value.cooked}:void 0;for(const[n,r]of e.elements.entries())null===r&&t.elements.splice(n,0,{type:"NullLiteral"})}else t.key={type:"StringLiteral",value:e.key.name}}YA.ignoredProperties=KA;var XA={preprocess:uv,print:function(e,t,n){const r=e.getValue();switch(r.type){case"JsonRoot":return[n("node"),VA];case"ArrayExpression":{if(0===r.elements.length)return"[]";const t=e.map(()=>null===e.getValue()?"null":n(),"elements");return["[",WA([VA,GA([",",VA],t)]),VA,"]"]}case"ObjectExpression":return 0===r.properties.length?"{}":["{",WA([VA,GA([",",VA],e.map(n,"properties"))]),VA,"}"];case"ObjectProperty":return[n("key"),": ",n("value")];case"UnaryExpression":return["+"===r.operator?"":r.operator,n("argument")];case"NullLiteral":return"null";case"BooleanLiteral":return r.value?"true":"false";case"StringLiteral":case"NumericLiteral":return JSON.stringify(r.value);case"Identifier":{const t=e.getParentNode();return t&&"ObjectProperty"===t.type&&t.key===r?JSON.stringify(r.name):r.name}case"TemplateLiteral":return n(["quasis",0]);case"TemplateElement":return JSON.stringify(r.value.cooked);default:throw new Error("unknown type: "+JSON.stringify(r.type))}},massageAstNode:YA};const JA="Common";var QA={bracketSpacing:{since:"0.0.0",category:JA,type:"boolean",default:!0,description:"Print spaces between brackets.",oppositeDescription:"Do not print spaces between brackets."},singleQuote:{since:"0.0.0",category:JA,type:"boolean",default:!1,description:"Use single quotes instead of double quotes."},proseWrap:{since:"1.8.2",category:JA,type:"choice",default:[{since:"1.8.2",value:!0},{since:"1.9.0",value:"preserve"}],description:"How to wrap prose.",choices:[{since:"1.9.0",value:"always",description:"Wrap prose if it exceeds the print width."},{since:"1.9.0",value:"never",description:"Do not wrap prose."},{since:"1.9.0",value:"preserve",description:"Wrap prose as-is."}]},bracketSameLine:{since:"2.4.0",category:JA,type:"boolean",default:!1,description:"Put > of opening tags on the last line instead of on a new line."}};const ZA="JavaScript";var eO={arrowParens:{since:"1.9.0",category:ZA,type:"choice",default:[{since:"1.9.0",value:"avoid"},{since:"2.0.0",value:"always"}],description:"Include parentheses around a sole arrow function parameter.",choices:[{value:"always",description:"Always include parens. Example: `(x) => x`"},{value:"avoid",description:"Omit parens when possible. Example: `x => x`"}]},bracketSameLine:QA.bracketSameLine,bracketSpacing:QA.bracketSpacing,jsxBracketSameLine:{since:"0.17.0",category:ZA,type:"boolean",description:"Put > on the last line instead of at a new line.",deprecated:"2.4.0"},semi:{since:"1.0.0",category:ZA,type:"boolean",default:!0,description:"Print semicolons.",oppositeDescription:"Do not print semicolons, except at the beginning of lines which may need them."},singleQuote:QA.singleQuote,jsxSingleQuote:{since:"1.15.0",category:ZA,type:"boolean",default:!1,description:"Use single quotes in JSX."},quoteProps:{since:"1.17.0",category:ZA,type:"choice",default:"as-needed",description:"Change when properties in objects are quoted.",choices:[{value:"as-needed",description:"Only add quotes around object properties where required."},{value:"consistent",description:"If at least one property in an object requires quotes, quote all properties."},{value:"preserve",description:"Respect the input use of quotes in object properties."}]},trailingComma:{since:"0.0.0",category:ZA,type:"choice",default:[{since:"0.0.0",value:!1},{since:"0.19.0",value:"none"},{since:"2.0.0",value:"es5"}],description:"Print trailing commas wherever possible when multi-line.",choices:[{value:"es5",description:"Trailing commas where valid in ES5 (objects, arrays, etc.)"},{value:"none",description:"No trailing commas."},{value:"all",description:"Trailing commas wherever possible (including function arguments)."}]}},tO={name:"JavaScript",type:"programming",tmScope:"source.js",aceMode:"javascript",codemirrorMode:"javascript",codemirrorMimeType:"text/javascript",color:"#f1e05a",aliases:["js","node"],extensions:[".js","._js",".bones",".cjs",".es",".es6",".frag",".gs",".jake",".jsb",".jscad",".jsfl",".jsm",".jss",".jsx",".mjs",".njs",".pac",".sjs",".ssjs",".xsjs",".xsjslib"],filenames:["Jakefile"],interpreters:["chakra","d8","gjs","js","node","nodejs","qjs","rhino","v8","v8-shell"],languageId:183},nO={name:"TypeScript",type:"programming",color:"#2b7489",aliases:["ts"],interpreters:["deno","ts-node"],extensions:[".ts"],tmScope:"source.ts",aceMode:"typescript",codemirrorMode:"javascript",codemirrorMimeType:"application/typescript",languageId:378},rO={name:"TSX",type:"programming",group:"TypeScript",extensions:[".tsx"],tmScope:"source.tsx",aceMode:"javascript",codemirrorMode:"jsx",codemirrorMimeType:"text/jsx",languageId:94901924},iO={name:"JSON",type:"data",tmScope:"source.json",aceMode:"json",codemirrorMode:"javascript",codemirrorMimeType:"application/json",extensions:[".json",".avsc",".geojson",".gltf",".har",".ice",".JSON-tmLanguage",".jsonl",".mcmeta",".tfstate",".tfstate.backup",".topojson",".webapp",".webmanifest",".yy",".yyp"],filenames:[".arcconfig",".htmlhintrc",".imgbotconfig",".tern-config",".tern-project",".watchmanconfig","Pipfile.lock","composer.lock","mcmod.info"],languageId:174},oO={name:"JSON with Comments",type:"data",group:"JSON",tmScope:"source.js",aceMode:"javascript",codemirrorMode:"javascript",codemirrorMimeType:"text/javascript",aliases:["jsonc"],extensions:[".jsonc",".sublime-build",".sublime-commands",".sublime-completions",".sublime-keymap",".sublime-macro",".sublime-menu",".sublime-mousemap",".sublime-project",".sublime-settings",".sublime-theme",".sublime-workspace",".sublime_metrics",".sublime_session"],filenames:[".babelrc",".eslintrc.json",".jscsrc",".jshintrc",".jslintrc","api-extractor.json","devcontainer.json","jsconfig.json","language-configuration.json","tsconfig.json","tslint.json"],languageId:423},sO={name:"JSON5",type:"data",extensions:[".json5"],tmScope:"source.js",aceMode:"javascript",codemirrorMode:"javascript",codemirrorMimeType:"application/json",languageId:175},aO={languages:[id(tO,e=>({since:"0.0.0",parsers:["babel","espree","meriyah","babel-flow","babel-ts","flow","typescript"],vscodeLanguageIds:["javascript","mongo"],interpreters:[...e.interpreters,"zx"],extensions:[...e.extensions.filter(e=>".jsx"!==e),".wxs"]})),id(tO,()=>({name:"Flow",since:"0.0.0",parsers:["flow","babel-flow"],vscodeLanguageIds:["javascript"],aliases:[],filenames:[],extensions:[".js.flow"]})),id(tO,()=>({name:"JSX",since:"0.0.0",parsers:["babel","babel-flow","babel-ts","flow","typescript","espree","meriyah"],vscodeLanguageIds:["javascriptreact"],aliases:void 0,filenames:void 0,extensions:[".jsx"],group:"JavaScript",interpreters:void 0,tmScope:"source.js.jsx",aceMode:"javascript",codemirrorMode:"jsx",codemirrorMimeType:"text/jsx",color:void 0})),id(nO,()=>({since:"1.4.0",parsers:["typescript","babel-ts"],vscodeLanguageIds:["typescript"]})),id(rO,()=>({since:"1.4.0",parsers:["typescript","babel-ts"],vscodeLanguageIds:["typescriptreact"]})),id(iO,()=>({name:"JSON.stringify",since:"1.13.0",parsers:["json-stringify"],vscodeLanguageIds:["json"],extensions:[],filenames:["package.json","package-lock.json","composer.json"]})),id(iO,e=>({since:"1.5.0",parsers:["json"],vscodeLanguageIds:["json"],extensions:e.extensions.filter(e=>".jsonl"!==e)})),id(oO,e=>({since:"1.5.0",parsers:["json"],vscodeLanguageIds:["jsonc"],filenames:[...e.filenames,".eslintrc"]})),id(sO,()=>({since:"1.13.0",parsers:["json5"],vscodeLanguageIds:["json5"]}))],options:eO,printers:{estree:zA,"estree-json":XA},parsers:void 0};const{isFrontMatterNode:uO}=_i,lO=new Set(["raw","raws","sourceIndex","source","before","after","trailingComma"]);function cO(e,t,n){if(uO(e)&&"yaml"===e.lang&&delete t.value,"css-comment"===e.type&&"css-root"===n.type&&n.nodes.length>0){if((n.nodes[0]===e||uO(n.nodes[0])&&n.nodes[1]===e)&&(delete t.text,/^\*\s*@(?:format|prettier)\s*$/.test(e.text)))return null;if("css-root"===n.type&&Bn(n.nodes)===e)return null}if("value-root"===e.type&&delete t.text,"media-query"!==e.type&&"media-query-list"!==e.type&&"media-feature-expression"!==e.type||delete t.value,"css-rule"===e.type&&delete t.params,"selector-combinator"===e.type&&(t.value=t.value.replace(/\s+/g," ")),"media-feature"===e.type&&(t.value=t.value.replace(/ /g,"")),("value-word"===e.type&&(e.isColor&&e.isHex||["initial","inherit","unset","revert"].includes(t.value.replace().toLowerCase()))||"media-feature"===e.type||"selector-root-invalid"===e.type||"selector-pseudo"===e.type)&&(t.value=t.value.toLowerCase()),"css-decl"===e.type&&(t.prop=t.prop.toLowerCase()),"css-atrule"!==e.type&&"css-import"!==e.type||(t.name=t.name.toLowerCase()),"value-number"===e.type&&(t.unit=t.unit.toLowerCase()),"media-feature"!==e.type&&"media-keyword"!==e.type&&"media-type"!==e.type&&"media-unknown"!==e.type&&"media-url"!==e.type&&"media-value"!==e.type&&"selector-attribute"!==e.type&&"selector-string"!==e.type&&"selector-class"!==e.type&&"selector-combinator"!==e.type&&"value-string"!==e.type||!t.value||(t.value=t.value.replace(/'/g,'"').replace(/\\([^\dA-Fa-f])/g,"$1")),"selector-attribute"===e.type&&(t.attribute=t.attribute.trim(),t.namespace&&"string"==typeof t.namespace&&(t.namespace=t.namespace.trim(),0===t.namespace.length&&(t.namespace=!0)),t.value&&(t.value=t.value.trim().replace(/^["']|["']$/g,""),delete t.quoted)),"media-value"!==e.type&&"media-type"!==e.type&&"value-number"!==e.type&&"selector-root-invalid"!==e.type&&"selector-class"!==e.type&&"selector-combinator"!==e.type&&"selector-tag"!==e.type||!t.value||(t.value=t.value.replace(/([\d+.Ee-]+)([A-Za-z]*)/g,(e,t,n)=>{const r=Number(t);return Number.isNaN(r)?e:r+n.toLowerCase()})),"selector-tag"===e.type){const n=e.value.toLowerCase();["from","to"].includes(n)&&(t.value=n)}"css-atrule"===e.type&&"supports"===e.name.toLowerCase()&&delete t.value,"selector-unknown"===e.type&&delete t.value}cO.ignoredProperties=lO;var pO=cO;const{builders:{hardline:fO,markAsRoot:hO}}=uo;var dO=function(e,t){if("yaml"===e.lang){const n=e.value.trim(),r=n?t(n,{parser:"yaml"},{stripTrailingHardline:!0}):"";return hO([e.startDelimiter,fO,r,r?fO:"",e.endDelimiter])}};const{builders:{hardline:mO}}=uo;var gO=function(e,t,n){const r=e.getValue();if("front-matter"===r.type){const e=dO(r,n);return e?[e,mO]:""}};const yO=new RegExp("^(?-{3}|\\+{3})(?[^\\n]*)\\n(?:|(?.*?)\\n)(?\\k|\\.{3})[^\\S\\n]*(?:\\n|$)","s");var vO=function(e){const t=e.match(yO);if(!t)return{content:e};const{startDelimiter:n,language:r,value:i="",endDelimiter:o}=t.groups;let s=r.trim()||"yaml";if("+++"===n&&(s="toml"),"yaml"!==s&&n!==o)return{content:e};const[a]=t;return{frontMatter:{type:"front-matter",lang:s,value:i,startDelimiter:n,endDelimiter:o,raw:a.replace(/\n$/,"")},content:a.replace(/[^\n]/g," ")+e.slice(a.length)}},bO={hasPragma:function(e){return $g.hasPragma(vO(e).content)},insertPragma:function(e){const{frontMatter:t,content:n}=vO(e);return(t?t.raw+"\n\n":"")+$g.insertPragma(n)}};const{isNonEmptyArray:DO}=_i,wO=new Set(["red","green","blue","alpha","a","rgb","hue","h","saturation","s","lightness","l","whiteness","w","blackness","b","tint","shade","blend","blenda","contrast","hsl","hsla","hwb","hwba"]),CO=new Set(["import","use","forward"]);function xO(e,t){const n=Array.isArray(t)?t:[t];let r,i=-1;for(;r=e.getParentNode(++i);)if(n.includes(r.type))return i;return-1}function EO(e,t){const n=xO(e,t);return-1===n?null:e.getParentNode(n)}function _O(e){return"value-operator"===e.type&&"*"===e.value}function kO(e){return"value-operator"===e.type&&"/"===e.value}function TO(e){return"value-operator"===e.type&&"+"===e.value}function SO(e){return"value-operator"===e.type&&"-"===e.value}function AO(e){return"value-operator"===e.type&&"%"===e.value}function OO(e){return"value-comma_group"===e.type&&e.groups&&e.groups[1]&&"value-colon"===e.groups[1].type}function FO(e){return"value-paren_group"===e.type&&e.groups&&e.groups[0]&&OO(e.groups[0])}function NO(e){return e&&"value-colon"===e.type}var IO={getAncestorCounter:xO,getAncestorNode:EO,getPropOfDeclNode:function(e){const t=EO(e,"css-decl");return t&&t.prop&&t.prop.toLowerCase()},hasSCSSInterpolation:function(e){if(DO(e))for(let t=e.length-1;t>0;t--)if("word"===e[t].type&&"{"===e[t].value&&"word"===e[t-1].type&&e[t-1].value.endsWith("#"))return!0;return!1},hasStringOrFunction:function(e){if(DO(e))for(let t=0;t","<=",">="].includes(e.value)},isEqualityOperatorNode:function(e){return"value-word"===e.type&&["==","!="].includes(e.value)},isMultiplicationNode:_O,isDivisionNode:kO,isAdditionNode:TO,isSubtractionNode:SO,isModuloNode:AO,isMathOperatorNode:function(e){return _O(e)||kO(e)||TO(e)||SO(e)||AO(e)},isEachKeywordNode:function(e){return"value-word"===e.type&&"in"===e.value},isForKeywordNode:function(e){return"value-word"===e.type&&["from","through","end"].includes(e.value)},isURLFunctionNode:function(e){return"value-func"===e.type&&"url"===e.value.toLowerCase()},isIfElseKeywordNode:function(e){return"value-word"===e.type&&["and","or","not"].includes(e.value)},hasComposesNode:function(e){return e.value&&"value-root"===e.value.type&&e.value.group&&"value-value"===e.value.group.type&&"composes"===e.prop.toLowerCase()},hasParensAroundNode:function(e){return e.value&&e.value.group&&e.value.group.group&&"value-paren_group"===e.value.group.group.type&&null!==e.value.group.group.open&&null!==e.value.group.group.close},hasEmptyRawBefore:function(e){return e.raws&&""===e.raws.before},isSCSSNestedPropertyNode:function(e){return!!e.selector&&e.selector.replace(/\/\*.*?\*\//,"").replace(/\/\/.*?\n/,"").trim().endsWith(":")},isDetachedRulesetCallNode:function(e){return e.raws&&e.raws.params&&/^\(\s*\)$/.test(e.raws.params)},isTemplatePlaceholderNode:function(e){return e.name.startsWith("prettier-placeholder")},isTemplatePropNode:function(e){return e.prop.startsWith("@prettier-placeholder")},isPostcssSimpleVarNode:function(e,t){return"$$"===e.value&&"value-func"===e.type&&t&&"value-word"===t.type&&!t.raws.before},isKeyValuePairNode:OO,isKeyValuePairInParenGroupNode:FO,isKeyInValuePairNode:function(e,t){if(!OO(t))return!1;const{groups:n}=t,r=n.indexOf(e);return-1!==r&&NO(n[r+1])},isSCSSMapItemNode:function(e){const t=e.getValue();if(0===t.groups.length)return!1;const n=e.getParentNode(1);if(!(FO(t)||n&&FO(n)))return!1;const r=EO(e,"css-decl");return!!(r&&r.prop&&r.prop.startsWith("$"))||!!FO(n)||"value-func"===n.type},isInlineValueCommentNode:function(e){return"value-comment"===e.type&&e.inline},isHashNode:function(e){return"value-word"===e.type&&"#"===e.value},isLeftCurlyBraceNode:function(e){return"value-word"===e.type&&"{"===e.value},isRightCurlyBraceNode:function(e){return"value-word"===e.type&&"}"===e.value},isWordNode:function(e){return["value-word","value-atword"].includes(e.type)},isColonNode:NO,isMediaAndSupportsKeywords:function(e){return e.value&&["not","and","or"].includes(e.value.toLowerCase())},isColorAdjusterFuncNode:function(e){return"value-func"===e.type&&wO.has(e.value.toLowerCase())},lastLineHasInlineComment:function(e){return/\/\//.test(e.split(/[\n\r]/).pop())},stringifyNode:function e(t){if(t.groups)return(t.open&&t.open.value?t.open.value:"")+t.groups.reduce((n,r,i)=>n+e(r)+("comma_group"===t.groups[0].type&&i!==t.groups.length-1?",":""),"")+(t.close&&t.close.value?t.close.value:"");const n=t.raws&&t.raws.before?t.raws.before:"",r=t.raws&&t.raws.quote?t.raws.quote:"";return n+r+("atword"===t.type?"@":"")+(t.value?t.value:"")+r+(t.unit?t.unit:"")+(t.group?e(t.group):"")+(t.raws&&t.raws.after?t.raws.after:"")},isAtWordPlaceholderNode:function(e){return e&&"value-atword"===e.type&&e.value.startsWith("prettier-placeholder-")},isModuleRuleName:function(e){return CO.has(e)}},PO=function(e,t){let n=0;for(let r=0;r{const s=o[i-1];if(s&&"css-comment"===s.type&&"prettier-ignore"===s.text.trim()){const n=e.getValue();r.push(t.originalText.slice(QF(n),ZF(n)))}else r.push(n());i!==o.length-1&&("css-comment"===o[i+1].type&&!zO(t.originalText,QF(o[i+1]),{backwards:!0})&&!VO(o[i])||"css-atrule"===o[i+1].type&&"else"===o[i+1].name&&"css-comment"!==o[i].type?r.push(" "):(r.push(t.__isHTMLStyleAttribute?YO:XO),WO(t.originalText,e.getValue(),ZF)&&!VO(o[i])&&r.push(XO)))},"nodes"),r}const nN=/(["'])(?:(?!\1)[^\\]|\\.)*\1/gs,rN=new RegExp(nN.source+"|"+`(${/[$@]?[A-Z_a-z\u0080-\uFFFF][\w\u0080-\uFFFF-]*/g.source})?`+`(${/(?:\d*\.\d+|\d+\.?)(?:[Ee][+-]?\d+)?/g.source})`+`(${/[A-Za-z]+/g.source})?`,"g");function iN(e,t){return e.replace(nN,e=>qO(e,t))}function oN(e,t){const n=t.singleQuote?"'":'"';return e.includes('"')||e.includes("'")?e:n+e+n}function sN(e){return e.replace(rN,(e,t,n,r,i)=>!n&&r?aN(r)+lF(i||""):e)}function aN(e){return UO(e).replace(/\.0(?=$|e)/,"")}var uN={print:function(e,t,n){const r=e.getValue();if(!r)return"";if("string"==typeof r)return r;switch(r.type){case"front-matter":return[r.raw,XO];case"css-root":{const i=tN(e,t,n),o=r.raws.after.trim();return[i,o?" "+o:"",oF(i).length>0?XO:""]}case"css-comment":{const e=r.inline||r.raws.inline,n=t.originalText.slice(QF(r),ZF(r));return e?n.trimEnd():n}case"css-rule":return[n("selector"),r.important?" !important":"",r.nodes?[r.selector&&"selector-unknown"===r.selector.type&&XF(r.selector.value)?YO:" ","{",r.nodes.length>0?eF([XO,tN(e,t,n)]):"",XO,"}",DF(r)?";":""]:";"];case"css-decl":{const i=e.getParentNode(),{between:o}=r.raws,s=o.trim(),a=":"===s;let u=NF(r)?iF(n("value")):n("value");return!a&&XF(s)&&(u=eF([XO,tF(u)])),[r.raws.before.replace(/[\s;]/g,""),pF(e)?r.prop:lF(r.prop),s.startsWith("//")?" ":"",s,r.extend?"":" ",vF(t)&&r.extend&&r.selector?["extend(",n("selector"),")"]:"",u,r.raws.important?r.raws.important.replace(/\s*!\s*important/i," !important"):r.important?" !important":"",r.raws.scssDefault?r.raws.scssDefault.replace(/\s*!default/i," !default"):r.scssDefault?" !default":"",r.raws.scssGlobal?r.raws.scssGlobal.replace(/\s*!global/i," !global"):r.scssGlobal?" !global":"",r.nodes?[" {",eF([JO,tN(e,t,n)]),JO,"}"]:RF(r)&&!i.raws.semicolon&&";"!==t.originalText[ZF(r)-1]?"":t.__isHTMLStyleAttribute&&yF(e,r)?nF(";"):";"]}case"css-atrule":{const i=e.getParentNode(),o=BF(r)&&!i.raws.semicolon&&";"!==t.originalText[ZF(r)-1];if(vF(t)){if(r.mixin)return[n("selector"),r.important?" !important":"",o?"":";"];if(r.function)return[r.name,n("params"),o?"":";"];if(r.variable)return["@",r.name,": ",r.value?n("value"):"",r.raws.between.trim()?r.raws.between.trim()+" ":"",r.nodes?["{",eF([r.nodes.length>0?JO:"",tN(e,t,n)]),JO,"}"]:"",o?"":";"]}return["@",jF(r)||r.name.endsWith(":")?r.name:lF(r.name),r.params?[jF(r)?"":BF(r)?""===r.raws.afterName?"":r.name.endsWith(":")?" ":/^\s*\n\s*\n/.test(r.raws.afterName)?[XO,XO]:/^\s*\n/.test(r.raws.afterName)?XO:" ":" ",n("params")]:"",r.selector?eF([" ",n("selector")]):"",r.value?QO([" ",n("value"),bF(r)?IF(r)?" ":YO:""]):"else"===r.name?" ":"",r.nodes?[bF(r)?"":r.selector&&!r.selector.nodes&&"string"==typeof r.selector.value&&XF(r.selector.value)||!r.selector&&"string"==typeof r.params&&XF(r.params)?YO:" ","{",eF([r.nodes.length>0?JO:"",tN(e,t,n)]),JO,"}"]:o?"":";"]}case"media-query-list":{const t=[];return e.each(e=>{const r=e.getValue();"media-query"===r.type&&""===r.value||t.push(n())},"nodes"),QO(eF(KO(YO,t)))}case"media-query":return[KO(" ",e.map(n,"nodes")),yF(e,r)?"":","];case"media-type":return sN(iN(r.value,t));case"media-feature-expression":return r.nodes?["(",...e.map(n,"nodes"),")"]:r.value;case"media-feature":return lF(iN(r.value.replace(/ +/g," "),t));case"media-colon":return[r.value," "];case"media-value":return sN(iN(r.value,t));case"media-keyword":return iN(r.value,t);case"media-url":return iN(r.value.replace(/^url\(\s+/gi,"url(").replace(/\s+\)$/g,")"),t);case"media-unknown":return r.value;case"selector-root":return QO([fF(e,"custom-selector")?[aF(e,"css-atrule").customSelector,YO]:"",KO([",",fF(e,["extend","custom-selector","nest"])?YO:XO],e.map(n,"nodes"))]);case"selector-selector":return QO(eF(e.map(n,"nodes")));case"selector-comment":return r.value;case"selector-string":return iN(r.value,t);case"selector-tag":{const t=e.getParentNode(),n=t&&t.nodes.indexOf(r),i=n&&t.nodes[n-1];return[r.namespace?[!0===r.namespace?"":r.namespace.trim(),"|"]:"","selector-nesting"===i.type?r.value:sN(dF(e,r.value)?r.value.toLowerCase():r.value)]}case"selector-id":return["#",r.value];case"selector-class":return[".",sN(iN(r.value,t))];case"selector-attribute":return["[",r.namespace?[!0===r.namespace?"":r.namespace.trim(),"|"]:"",r.attribute.trim(),r.operator?r.operator:"",r.value?oN(iN(r.value.trim(),t),t):"",r.insensitive?" i":"","]"];case"selector-combinator":if("+"===r.value||">"===r.value||"~"===r.value||">>>"===r.value){const t=e.getParentNode();return["selector-selector"===t.type&&t.nodes[0]===r?"":YO,r.value,yF(e,r)?"":" "]}return[r.value.trim().startsWith("(")?YO:"",sN(iN(r.value.trim(),t))||YO];case"selector-universal":return[r.namespace?[!0===r.namespace?"":r.namespace.trim(),"|"]:"",r.value];case"selector-pseudo":return[lF(r.value),GO(r.nodes)?["(",KO(", ",e.map(n,"nodes")),")"]:""];case"selector-nesting":return r.value;case"selector-unknown":{const n=aF(e,"css-rule");if(n&&n.isSCSSNesterProperty)return sN(iN(lF(r.value),t));const i=e.getParentNode();if(i.raws&&i.raws.selector){const e=QF(i),n=e+i.raws.selector.length;return t.originalText.slice(e,n).trim()}const o=e.getParentNode(1);if("value-paren_group"===i.type&&o&&"value-func"===o.type&&"selector"===o.value){const e=QF(i.open)+1,n=ZF(i.close)-1,r=t.originalText.slice(e,n).trim();return XF(r)?[rF,r]:r}return r.value}case"value-value":case"value-root":return n("group");case"value-comment":return t.originalText.slice(QF(r),ZF(r));case"value-comma_group":{const t=e.getParentNode(),i=e.getParentNode(1),o=uF(e),s=o&&"value-value"===t.type&&("grid"===o||o.startsWith("grid-template")),a=aF(e,"css-atrule"),u=a&&bF(a),l=r.groups.some(e=>UF(e)),c=e.map(n,"groups"),p=[],f=cF(e,"url");let h=!1,d=!1;for(let n=0;n0&&"value-comma_group"===r.groups[0].type&&r.groups[0].groups.length>0&&"value-word"===r.groups[0].groups[0].type&&r.groups[0].groups[0].value.startsWith("data:")))return[r.open?n("open"):"",KO(",",e.map(n,"groups")),r.close?n("close"):""];if(!r.open){const t=e.map(n,"groups"),r=[];for(let e=0;e{const t=e.getValue(),r=n();if(MF(t)&&"value-comma_group"===t.type&&t.groups&&"value-paren_group"!==t.groups[0].type&&t.groups[2]&&"value-paren_group"===t.groups[2].type){const e=oF(r.contents.contents);return e[1]=QO(e[1]),QO(tF(r))}return r},"groups"))]),nF(!a&&gF(t.parser,t.originalText)&&o&&eN(t)?",":""),JO,r.close?n("close"):""],{shouldBreak:o&&!u});return u?tF(l):l}case"value-func":return[r.value,fF(e,"supports")&&KF(r)?" ":"",n("group")];case"value-paren":return r.value;case"value-number":return[aN(r.value),lF(r.unit)];case"value-operator":return r.value;case"value-word":return r.isColor&&r.isHex||mF(r.value)?r.value.toLowerCase():r.value;case"value-colon":{const t=e.getParentNode(),n=t&&t.groups.indexOf(r),i=n&&t.groups[n-1];return[r.value,i&&"string"==typeof i.value&&"\\"===Bn(i.value)||cF(e,"url")?"":YO]}case"value-comma":return[r.value," "];case"value-string":return qO(r.raws.quote+r.value+r.raws.quote,t);case"value-atword":return["@",r.value];case"value-unicode-range":case"value-unknown":return r.value;default:throw new Error("Unknown postcss type "+JSON.stringify(r.type))}},embed:gO,insertPragma:sF,massageAstNode:pO},lN={singleQuote:QA.singleQuote},cN={name:"PostCSS",type:"markup",tmScope:"source.postcss",group:"CSS",extensions:[".pcss",".postcss"],aceMode:"text",languageId:262764437},pN={name:"Less",type:"markup",color:"#1d365d",extensions:[".less"],tmScope:"source.css.less",aceMode:"less",codemirrorMode:"css",codemirrorMimeType:"text/css",languageId:198},fN={name:"SCSS",type:"markup",color:"#c6538c",tmScope:"source.css.scss",aceMode:"scss",codemirrorMode:"css",codemirrorMimeType:"text/x-scss",extensions:[".scss"],languageId:329},hN={languages:[id({name:"CSS",type:"markup",tmScope:"source.css",aceMode:"css",codemirrorMode:"css",codemirrorMimeType:"text/css",color:"#563d7c",extensions:[".css"],languageId:50},e=>({since:"1.4.0",parsers:["css"],vscodeLanguageIds:["css"],extensions:[...e.extensions,".wxss"]})),id(cN,()=>({since:"1.4.0",parsers:["css"],vscodeLanguageIds:["postcss"]})),id(pN,()=>({since:"1.4.0",parsers:["less"],vscodeLanguageIds:["less"]})),id(fN,()=>({since:"1.4.0",parsers:["scss"],vscodeLanguageIds:["scss"]}))],options:lN,printers:{postcss:uN},parsers:void 0},dN={locStart:function(e){return e.loc.start.offset},locEnd:function(e){return e.loc.end.offset}};function mN(e,t){if("TextNode"===e.type){const n=e.chars.trim();if(!n)return null;t.chars=n.replace(/[\t\n\f\r ]+/g," ")}"AttrNode"===e.type&&"class"===e.name.toLowerCase()&&delete t.value}mN.ignoredProperties=new Set(["loc","selfClosing"]);var gN=mN;const yN=new Set(["area","base","basefont","bgsound","br","col","command","embed","frame","hr","image","img","input","isindex","keygen","link","menuitem","meta","nextid","param","source","track","wbr"]);function vN(e){return bN(e,["TextNode"])&&!/\S/.test(e.chars)}function bN(e,t){return e&&t.includes(e.type)}function DN(e,t){return bN(e.getParentNode(0),t)}function wN(e,t){const n=e.getValue(),r=e.getParentNode(0)||{},i=r.children||r.body||r.parts||[],o=i.indexOf(n);return-1!==o&&i[o+t]}function CN(e,t=1){return wN(e,-t)}function xN(e){return wN(e,1)}function EN(e){return bN(e,["MustacheCommentStatement"])&&"string"==typeof e.value&&"prettier-ignore"===e.value.trim()}var _N={getNextNode:xN,getPreviousNode:CN,hasPrettierIgnore:function(e){const t=e.getValue(),n=CN(e,2);return EN(t)||EN(n)},isLastNodeOfSiblings:function(e){const t=e.getValue(),n=e.getParentNode(0);return!(!DN(e,["ElementNode"])||Bn(n.children)!==t)||!(!DN(e,["Block"])||Bn(n.body)!==t)},isNextNodeOfSomeType:function(e,t){return bN(xN(e),t)},isNodeOfSomeType:bN,isParentOfSomeType:DN,isPreviousNodeOfSomeType:function(e,t){return bN(CN(e),t)},isVoid:function(e){return function(e){return bN(e,["ElementNode"])&&"string"==typeof e.tag&&(function(e){return e.toUpperCase()===e}(e.tag[0])||e.tag.includes("."))}(e)&&e.children.every(e=>vN(e))||yN.has(e.tag)},isWhitespaceNode:vN};const{builders:{dedent:kN,fill:TN,group:SN,hardline:AN,ifBreak:ON,indent:FN,join:NN,line:IN,softline:PN},utils:{getDocParts:MN,replaceTextEndOfLine:LN}}=uo,{isNonEmptyArray:jN}=_i,{locStart:BN,locEnd:RN}=dN,{getNextNode:$N,getPreviousNode:HN,hasPrettierIgnore:UN,isLastNodeOfSiblings:qN,isNextNodeOfSomeType:zN,isNodeOfSomeType:VN,isParentOfSomeType:WN,isPreviousNodeOfSomeType:GN,isVoid:KN,isWhitespaceNode:YN}=_N;function XN(e,t){return BN(e)-BN(t)}function JN(e,t,n){const r=e.getValue().children.every(e=>YN(e));return"ignore"===t.htmlWhitespaceSensitivity&&r?"":e.map((e,r)=>{const i=n();return 0===r&&"ignore"===t.htmlWhitespaceSensitivity?[PN,i]:i},"children")}function QN(e){return KN(e)?ON([PN,"/>"],[" />",PN]):ON([PN,">"],">")}function ZN(e){return[!1===e.escaped?"{{{":"{{",e.strip&&e.strip.open?"~":""]}function eI(e){const t=!1===e.escaped?"}}}":"}}";return[e.strip&&e.strip.close?"~":"",t]}function tI(e){return[ZN(e),e.closeStrip.open?"~":"","/"]}function nI(e){const t=eI(e);return[e.closeStrip.close?"~":"",t]}function rI(e){return[ZN(e),e.inverseStrip.open?"~":""]}function iI(e){const t=eI(e);return[e.inverseStrip.close?"~":"",t]}function oI(e,t){const n=e.getValue(),r=function(e){return[ZN(e),e.openStrip.open?"~":"","#"]}(n),i=function(e){const t=eI(e);return[e.openStrip.close?"~":"",t]}(n),o=[bI(e,t)],s=DI(e,t);if(s&&o.push(IN,s),jN(n.program.blockParams)){const e=wI(n.program);o.push(IN,e)}return SN([r,FN(o),PN,i])}function sI(e,t){return["ignore"===t.htmlWhitespaceSensitivity?AN:"",rI(e),"else",iI(e)]}function aI(e,t){const n=e.getParentNode(1);return[rI(n),"else if ",DI(e,t),iI(n)]}function uI(e,t,n){const r=e.getValue();return"ignore"===n.htmlWhitespaceSensitivity?[lI(r)?PN:AN,tI(r),t("path"),nI(r)]:[tI(r),t("path"),nI(r)]}function lI(e){return VN(e,["BlockStatement"])&&e.program.body.every(e=>YN(e))}function cI(e){return VN(e,["BlockStatement"])&&e.inverse}function pI(e,t,n){if(lI(e.getValue()))return"";const r=t("program");return"ignore"===n.htmlWhitespaceSensitivity?FN([AN,r]):FN(r)}function fI(e,t,n){const r=e.getValue(),i=t("inverse"),o="ignore"===n.htmlWhitespaceSensitivity?[AN,i]:i;return function(e){return cI(e)&&1===e.inverse.body.length&&VN(e.inverse.body[0],["BlockStatement"])&&"if"===e.inverse.body[0].path.parts[0]}(r)?o:cI(r)?[sI(r,n),FN(o)]:""}function hI(e){return MN(NN(IN,function(e){return e.split(/[\t\n\f\r ]+/)}(e)))}function dI(e){return(e="string"==typeof e?e:"").split("\n").length-1}function mI(e=0){return new Array(Math.min(e,2)).fill(AN)}function gI(e,t){const n={quote:'"',regex:/"/g},r={quote:"'",regex:/'/g},i=e.singleQuote?r:n,o=i===r?n:r;let s=!1;return(t.includes(i.quote)||t.includes(o.quote))&&(s=(t.match(i.regex)||[]).length>(t.match(o.regex)||[]).length),s?o:i}function yI(e,t){const n=bI(e,t),r=DI(e,t);return r?FN([n,IN,SN(r)]):n}function vI(e,t){const n=bI(e,t),r=DI(e,t);return r?[FN([n,IN,r]),PN]:n}function bI(e,t){return t("path")}function DI(e,t){const n=e.getValue(),r=[];if(n.params.length>0){const n=e.map(t,"params");r.push(...n)}if(n.hash&&n.hash.pairs.length>0){const e=t("hash");r.push(e)}return 0===r.length?"":NN(IN,r)}function wI(e){return["as |",e.blockParams.join(" "),"|"]}var CI={print:function(e,t,n){const r=e.getValue();if(!r)return"";if(UN(e))return t.originalText.slice(BN(r),RN(r));switch(r.type){case"Block":case"Program":case"Template":return SN(e.map(n,"body"));case"ElementNode":{const i=SN(function(e,t){const n=e.getValue(),r=["attributes","modifiers","comments"].filter(e=>jN(n[e])),i=r.flatMap(e=>n[e]).sort(XN);for(const o of r)e.each(e=>{const n=i.indexOf(e.getValue());i.splice(n,1,[IN,t()])},o);return jN(n.blockParams)&&i.push(IN,wI(n)),["<",n.tag,FN(i),QN(n)]}(e,n)),o="ignore"===t.htmlWhitespaceSensitivity&&zN(e,["ElementNode"])?PN:"";if(KN(r))return[i,o];const s=[""];return 0===r.children.length?[i,FN(s),o]:"ignore"===t.htmlWhitespaceSensitivity?[i,FN(JN(e,t,n)),AN,FN(s),o]:[i,FN(SN(JN(e,t,n))),FN(s),o]}case"BlockStatement":{const i=e.getParentNode(1);return i&&i.inverse&&1===i.inverse.body.length&&i.inverse.body[0]===r&&"if"===i.inverse.body[0].path.parts[0]?[aI(e,n),pI(e,n,t),fI(e,n,t)]:[oI(e,n),SN([pI(e,n,t),fI(e,n,t),uI(e,n,t)])]}case"ElementModifierStatement":return SN(["{{",vI(e,n),"}}"]);case"MustacheStatement":return SN([ZN(r),vI(e,n),eI(r)]);case"SubExpression":return SN(["(",yI(e,n),PN,")"]);case"AttrNode":{const e="TextNode"===r.value.type;if(e&&""===r.value.chars&&BN(r.value)===RN(r.value))return r.name;const i=e?gI(t,r.value.chars).quote:"ConcatStatement"===r.value.type?gI(t,r.value.parts.filter(e=>"TextNode"===e.type).map(e=>e.chars).join("")).quote:"",o=n("value");return[r.name,"=",i,"class"===r.name&&i?SN(FN(o)):o,i]}case"ConcatStatement":return e.map(n,"parts");case"Hash":return NN(IN,e.map(n,"pairs"));case"HashPair":return[r.key,"=",n("value")];case"TextNode":{let n=r.chars.replace(/{{/g,"\\{{");const i=function(e){for(let t=0;t<2;t++){const n=e.getParentNode(t);if(n&&"AttrNode"===n.type)return n.name.toLowerCase()}}(e);if(i){if("class"===i){const t=n.trim().split(/\s+/).join(" ");let r=!1,i=!1;return WN(e,["ConcatStatement"])&&(GN(e,["MustacheStatement"])&&/^\s/.test(n)&&(r=!0),zN(e,["MustacheStatement"])&&/\s$/.test(n)&&""!==t&&(i=!0)),[r?IN:"",t,i?IN:""]}return LN(n)}const o=/^[\t\n\f\r ]*$/.test(n),s=!HN(e),a=!$N(e);if("ignore"!==t.htmlWhitespaceSensitivity){const t=/^[\t\n\f\r ]*/,r=/[\t\n\f\r ]*$/,i=a&&WN(e,["Template"]),u=s&&WN(e,["Template"]);if(o){if(u||i)return"";let t=[IN];const r=dI(n);return r&&(t=mI(r)),qN(e)&&(t=t.map(e=>kN(e))),t}const[l]=n.match(t),[c]=n.match(r);let p=[];if(l){p=[IN];const e=dI(l);e&&(p=mI(e)),n=n.replace(t,"")}let f=[];if(c){if(!i){f=[IN];const t=dI(c);t&&(f=mI(t)),qN(e)&&(f=f.map(e=>kN(e)))}n=n.replace(r,"")}return[...p,TN(hI(n)),...f]}const u=dI(n);let l=function(e){return dI(((e="string"==typeof e?e:"").match(/^([^\S\n\r]*[\n\r])+/g)||[])[0]||"")}(n),c=function(e){return dI(((e="string"==typeof e?e:"").match(/([\n\r][^\S\n\r]*)+$/g)||[])[0]||"")}(n);if((s||a)&&o&&WN(e,["Block","ElementNode","Template"]))return"";o&&u?(l=Math.min(u,2),c=0):(zN(e,["BlockStatement","ElementNode"])&&(c=Math.max(c,1)),GN(e,["BlockStatement","ElementNode"])&&(l=Math.max(l,1)));let p="",f="";return 0===c&&zN(e,["MustacheStatement"])&&(f=" "),0===l&&GN(e,["MustacheStatement"])&&(p=" "),s&&(l=0,p=""),a&&(c=0,f=""),n=n.replace(/^[\t\n\f\r ]+/g,p).replace(/[\t\n\f\r ]+$/,f),[...mI(l),TN(hI(n)),...mI(c)]}case"MustacheCommentStatement":{const e=BN(r),n=RN(r),i="~"===t.originalText.charAt(e+2),o="~"===t.originalText.charAt(n-3),s=r.value.includes("}}")?"--":"";return["{{",i?"~":"","!",s,r.value,s,o?"~":"","}}"]}case"PathExpression":return r.original;case"BooleanLiteral":return String(r.value);case"CommentStatement":return["\x3c!--",r.value,"--\x3e"];case"StringLiteral":return function(e,t){const{quote:n,regex:r}=gI(t,e);return[n,e.replace(r,"\\"+n),n]}(r.value,t);case"NumberLiteral":return String(r.value);case"UndefinedLiteral":return"undefined";case"NullLiteral":return"null";default:throw new Error("unknown glimmer type: "+JSON.stringify(r.type))}},massageAstNode:gN},xI={languages:[id({name:"Handlebars",type:"markup",color:"#f7931e",aliases:["hbs","htmlbars"],extensions:[".handlebars",".hbs"],tmScope:"text.html.handlebars",aceMode:"handlebars",languageId:155},()=>({since:"2.3.0",parsers:["glimmer"],vscodeLanguageIds:["handlebars"]}))],printers:{glimmer:CI},parsers:void 0},EI={hasPragma:function(e){return/^\s*#[^\S\n]*@(?:format|prettier)\s*(?:\n|$)/.test(e)},insertPragma:function(e){return"# @format\n\n"+e}},_I={locStart:function(e){return"number"==typeof e.start?e.start:e.loc&&e.loc.start},locEnd:function(e){return"number"==typeof e.end?e.end:e.loc&&e.loc.end}};const{builders:{join:kI,hardline:TI,line:SI,softline:AI,group:OI,indent:FI,ifBreak:NI}}=uo,{isNextLineEmpty:II,isNonEmptyArray:PI}=_i,{insertPragma:MI}=EI,{locStart:LI,locEnd:jI}=_I;function BI(e,t,n){if(0===n.directives.length)return"";const r=kI(SI,e.map(t,"directives"));return"FragmentDefinition"===n.kind||"OperationDefinition"===n.kind?OI([SI,r]):[" ",OI(FI([AI,r]))]}function RI(e,t,n){const r=e.getValue().length;return e.map((e,i)=>{const o=n();return II(t.originalText,e.getValue(),jI)&&in(e),"interfaces");for(let a=0;a{r.push(n()),i!==o.length-1&&(r.push(TI),II(t.originalText,e.getValue(),jI)&&r.push(TI))},"definitions"),[...r,TI]}case"OperationDefinition":{const i="{"!==t.originalText[LI(r)],o=Boolean(r.name);return[i?r.operation:"",i&&o?[" ",n("name")]:"",i&&!o&&PI(r.variableDefinitions)?" ":"",PI(r.variableDefinitions)?OI(["(",FI([AI,kI([NI("",", "),AI],e.map(n,"variableDefinitions"))]),AI,")"]):"",BI(e,n,r),r.selectionSet&&(i||o)?" ":"",n("selectionSet")]}case"FragmentDefinition":return["fragment ",n("name"),PI(r.variableDefinitions)?OI(["(",FI([AI,kI([NI("",", "),AI],e.map(n,"variableDefinitions"))]),AI,")"]):""," on ",n("typeCondition"),BI(e,n,r)," ",n("selectionSet")];case"SelectionSet":return["{",FI([TI,kI(TI,e.call(e=>RI(e,t,n),"selections"))]),TI,"}"];case"Field":return OI([r.alias?[n("alias"),": "]:"",n("name"),r.arguments.length>0?OI(["(",FI([AI,kI([NI("",", "),AI],e.call(e=>RI(e,t,n),"arguments"))]),AI,")"]):"",BI(e,n,r),r.selectionSet?" ":"",n("selectionSet")]);case"Name":return r.value;case"StringValue":return r.block?['"""',TI,kI(TI,r.value.replace(/"""/g,"\\$&").split("\n")),TI,'"""']:['"',r.value.replace(/["\\]/g,"\\$&").replace(/\n/g,"\\n"),'"'];case"IntValue":case"FloatValue":case"EnumValue":return r.value;case"BooleanValue":return r.value?"true":"false";case"NullValue":return"null";case"Variable":return["$",n("name")];case"ListValue":return OI(["[",FI([AI,kI([NI("",", "),AI],e.map(n,"values"))]),AI,"]"]);case"ObjectValue":return OI(["{",t.bracketSpacing&&r.fields.length>0?" ":"",FI([AI,kI([NI("",", "),AI],e.map(n,"fields"))]),AI,NI("",t.bracketSpacing&&r.fields.length>0?" ":""),"}"]);case"ObjectField":case"Argument":return[n("name"),": ",n("value")];case"Directive":return["@",n("name"),r.arguments.length>0?OI(["(",FI([AI,kI([NI("",", "),AI],e.call(e=>RI(e,t,n),"arguments"))]),AI,")"]):""];case"NamedType":return n("name");case"VariableDefinition":return[n("variable"),": ",n("type"),r.defaultValue?[" = ",n("defaultValue")]:"",BI(e,n,r)];case"ObjectTypeExtension":case"ObjectTypeDefinition":return[n("description"),r.description?TI:"","ObjectTypeExtension"===r.kind?"extend ":"","type ",n("name"),r.interfaces.length>0?[" implements ",...$I(e,t,n)]:"",BI(e,n,r),r.fields.length>0?[" {",FI([TI,kI(TI,e.call(e=>RI(e,t,n),"fields"))]),TI,"}"]:""];case"FieldDefinition":return[n("description"),r.description?TI:"",n("name"),r.arguments.length>0?OI(["(",FI([AI,kI([NI("",", "),AI],e.call(e=>RI(e,t,n),"arguments"))]),AI,")"]):"",": ",n("type"),BI(e,n,r)];case"DirectiveDefinition":return[n("description"),r.description?TI:"","directive ","@",n("name"),r.arguments.length>0?OI(["(",FI([AI,kI([NI("",", "),AI],e.call(e=>RI(e,t,n),"arguments"))]),AI,")"]):"",r.repeatable?" repeatable":""," on ",kI(" | ",e.map(n,"locations"))];case"EnumTypeExtension":case"EnumTypeDefinition":return[n("description"),r.description?TI:"","EnumTypeExtension"===r.kind?"extend ":"","enum ",n("name"),BI(e,n,r),r.values.length>0?[" {",FI([TI,kI(TI,e.call(e=>RI(e,t,n),"values"))]),TI,"}"]:""];case"EnumValueDefinition":return[n("description"),r.description?TI:"",n("name"),BI(e,n,r)];case"InputValueDefinition":return[n("description"),r.description?r.description.block?TI:SI:"",n("name"),": ",n("type"),r.defaultValue?[" = ",n("defaultValue")]:"",BI(e,n,r)];case"InputObjectTypeExtension":case"InputObjectTypeDefinition":return[n("description"),r.description?TI:"","InputObjectTypeExtension"===r.kind?"extend ":"","input ",n("name"),BI(e,n,r),r.fields.length>0?[" {",FI([TI,kI(TI,e.call(e=>RI(e,t,n),"fields"))]),TI,"}"]:""];case"SchemaDefinition":return["schema",BI(e,n,r)," {",r.operationTypes.length>0?FI([TI,kI(TI,e.call(e=>RI(e,t,n),"operationTypes"))]):"",TI,"}"];case"OperationTypeDefinition":return[n("operation"),": ",n("type")];case"InterfaceTypeExtension":case"InterfaceTypeDefinition":return[n("description"),r.description?TI:"","InterfaceTypeExtension"===r.kind?"extend ":"","interface ",n("name"),r.interfaces.length>0?[" implements ",...$I(e,t,n)]:"",BI(e,n,r),r.fields.length>0?[" {",FI([TI,kI(TI,e.call(e=>RI(e,t,n),"fields"))]),TI,"}"]:""];case"FragmentSpread":return["...",n("name"),BI(e,n,r)];case"InlineFragment":return["...",r.typeCondition?[" on ",n("typeCondition")]:"",BI(e,n,r)," ",n("selectionSet")];case"UnionTypeExtension":case"UnionTypeDefinition":return OI([n("description"),r.description?TI:"",OI(["UnionTypeExtension"===r.kind?"extend ":"","union ",n("name"),BI(e,n,r),r.types.length>0?[" =",NI(""," "),FI([NI([SI," "]),kI([SI,"| "],e.map(n,"types"))])]:""])]);case"ScalarTypeExtension":case"ScalarTypeDefinition":return[n("description"),r.description?TI:"","ScalarTypeExtension"===r.kind?"extend ":"","scalar ",n("name"),BI(e,n,r)];case"NonNullType":return[n("type"),"!"];case"ListType":return["[",n("type"),"]"];default:throw new Error("unknown graphql type: "+JSON.stringify(r.kind))}},massageAstNode:HI,hasPrettierIgnore:function(e){const t=e.getValue();return t&&Array.isArray(t.comments)&&t.comments.some(e=>"prettier-ignore"===e.value.trim())},insertPragma:MI,printComment:function(e){const t=e.getValue();if("Comment"===t.kind)return"#"+t.value.trimEnd();throw new Error("Not a comment: "+JSON.stringify(t))},canAttachComment:function(e){return e.kind&&"Comment"!==e.kind}},qI={bracketSpacing:QA.bracketSpacing},zI={languages:[id({name:"GraphQL",type:"data",color:"#e10098",extensions:[".graphql",".gql",".graphqls"],tmScope:"source.graphql",aceMode:"text",languageId:139},()=>({since:"1.5.0",parsers:["graphql"],vscodeLanguageIds:["graphql"]}))],options:qI,printers:{graphql:UI},parsers:void 0},VI={locStart:function(e){return e.position.start.offset},locEnd:function(e){return e.position.end.offset}};const{getLast:WI}=_i,{locStart:GI,locEnd:KI}=VI,{cjkPattern:YI,kPattern:XI,punctuationPattern:JI}={cjkPattern:"(?:[\\u02ea-\\u02eb\\u1100-\\u11ff\\u2e80-\\u2e99\\u2e9b-\\u2ef3\\u2f00-\\u2fd5\\u2ff0-\\u303f\\u3041-\\u3096\\u3099-\\u309f\\u30a1-\\u30fa\\u30fc-\\u30ff\\u3105-\\u312f\\u3131-\\u318e\\u3190-\\u3191\\u3196-\\u31ba\\u31c0-\\u31e3\\u31f0-\\u321e\\u322a-\\u3247\\u3260-\\u327e\\u328a-\\u32b0\\u32c0-\\u32cb\\u32d0-\\u3370\\u337b-\\u337f\\u33e0-\\u33fe\\u3400-\\u4db5\\u4e00-\\u9fef\\ua960-\\ua97c\\uac00-\\ud7a3\\ud7b0-\\ud7c6\\ud7cb-\\ud7fb\\uf900-\\ufa6d\\ufa70-\\ufad9\\ufe10-\\ufe1f\\ufe30-\\ufe6f\\uff00-\\uffef]|[\\ud840-\\ud868\\ud86a-\\ud86c\\ud86f-\\ud872\\ud874-\\ud879][\\udc00-\\udfff]|\\ud82c[\\udc00-\\udd1e\\udd50-\\udd52\\udd64-\\udd67]|\\ud83c[\\ude00\\ude50-\\ude51]|\\ud869[\\udc00-\\uded6\\udf00-\\udfff]|\\ud86d[\\udc00-\\udf34\\udf40-\\udfff]|\\ud86e[\\udc00-\\udc1d\\udc20-\\udfff]|\\ud873[\\udc00-\\udea1\\udeb0-\\udfff]|\\ud87a[\\udc00-\\udfe0]|\\ud87e[\\udc00-\\ude1d])(?:[\\ufe00-\\ufe0f]|\\udb40[\\udd00-\\uddef])?",kPattern:"[\\u1100-\\u11ff\\u3001-\\u3003\\u3008-\\u3011\\u3013-\\u301f\\u302e-\\u3030\\u3037\\u30fb\\u3131-\\u318e\\u3200-\\u321e\\u3260-\\u327e\\ua960-\\ua97c\\uac00-\\ud7a3\\ud7b0-\\ud7c6\\ud7cb-\\ud7fb\\ufe45-\\ufe46\\uff61-\\uff65\\uffa0-\\uffbe\\uffc2-\\uffc7\\uffca-\\uffcf\\uffd2-\\uffd7\\uffda-\\uffdc]",punctuationPattern:"[\\u0021-\\u002f\\u003a-\\u0040\\u005b-\\u0060\\u007b-\\u007e\\u00a1\\u00a7\\u00ab\\u00b6-\\u00b7\\u00bb\\u00bf\\u037e\\u0387\\u055a-\\u055f\\u0589-\\u058a\\u05be\\u05c0\\u05c3\\u05c6\\u05f3-\\u05f4\\u0609-\\u060a\\u060c-\\u060d\\u061b\\u061e-\\u061f\\u066a-\\u066d\\u06d4\\u0700-\\u070d\\u07f7-\\u07f9\\u0830-\\u083e\\u085e\\u0964-\\u0965\\u0970\\u09fd\\u0a76\\u0af0\\u0c77\\u0c84\\u0df4\\u0e4f\\u0e5a-\\u0e5b\\u0f04-\\u0f12\\u0f14\\u0f3a-\\u0f3d\\u0f85\\u0fd0-\\u0fd4\\u0fd9-\\u0fda\\u104a-\\u104f\\u10fb\\u1360-\\u1368\\u1400\\u166e\\u169b-\\u169c\\u16eb-\\u16ed\\u1735-\\u1736\\u17d4-\\u17d6\\u17d8-\\u17da\\u1800-\\u180a\\u1944-\\u1945\\u1a1e-\\u1a1f\\u1aa0-\\u1aa6\\u1aa8-\\u1aad\\u1b5a-\\u1b60\\u1bfc-\\u1bff\\u1c3b-\\u1c3f\\u1c7e-\\u1c7f\\u1cc0-\\u1cc7\\u1cd3\\u2010-\\u2027\\u2030-\\u2043\\u2045-\\u2051\\u2053-\\u205e\\u207d-\\u207e\\u208d-\\u208e\\u2308-\\u230b\\u2329-\\u232a\\u2768-\\u2775\\u27c5-\\u27c6\\u27e6-\\u27ef\\u2983-\\u2998\\u29d8-\\u29db\\u29fc-\\u29fd\\u2cf9-\\u2cfc\\u2cfe-\\u2cff\\u2d70\\u2e00-\\u2e2e\\u2e30-\\u2e4f\\u3001-\\u3003\\u3008-\\u3011\\u3014-\\u301f\\u3030\\u303d\\u30a0\\u30fb\\ua4fe-\\ua4ff\\ua60d-\\ua60f\\ua673\\ua67e\\ua6f2-\\ua6f7\\ua874-\\ua877\\ua8ce-\\ua8cf\\ua8f8-\\ua8fa\\ua8fc\\ua92e-\\ua92f\\ua95f\\ua9c1-\\ua9cd\\ua9de-\\ua9df\\uaa5c-\\uaa5f\\uaade-\\uaadf\\uaaf0-\\uaaf1\\uabeb\\ufd3e-\\ufd3f\\ufe10-\\ufe19\\ufe30-\\ufe52\\ufe54-\\ufe61\\ufe63\\ufe68\\ufe6a-\\ufe6b\\uff01-\\uff03\\uff05-\\uff0a\\uff0c-\\uff0f\\uff1a-\\uff1b\\uff1f-\\uff20\\uff3b-\\uff3d\\uff3f\\uff5b\\uff5d\\uff5f-\\uff65]|\\ud800[\\udd00-\\udd02\\udf9f\\udfd0]|\\ud801[\\udd6f]|\\ud802[\\udc57\\udd1f\\udd3f\\ude50-\\ude58\\ude7f\\udef0-\\udef6\\udf39-\\udf3f\\udf99-\\udf9c]|\\ud803[\\udf55-\\udf59]|\\ud804[\\udc47-\\udc4d\\udcbb-\\udcbc\\udcbe-\\udcc1\\udd40-\\udd43\\udd74-\\udd75\\uddc5-\\uddc8\\uddcd\\udddb\\udddd-\\udddf\\ude38-\\ude3d\\udea9]|\\ud805[\\udc4b-\\udc4f\\udc5b\\udc5d\\udcc6\\uddc1-\\uddd7\\ude41-\\ude43\\ude60-\\ude6c\\udf3c-\\udf3e]|\\ud806[\\udc3b\\udde2\\ude3f-\\ude46\\ude9a-\\ude9c\\ude9e-\\udea2]|\\ud807[\\udc41-\\udc45\\udc70-\\udc71\\udef7-\\udef8\\udfff]|\\ud809[\\udc70-\\udc74]|\\ud81a[\\ude6e-\\ude6f\\udef5\\udf37-\\udf3b\\udf44]|\\ud81b[\\ude97-\\ude9a\\udfe2]|\\ud82f[\\udc9f]|\\ud836[\\ude87-\\ude8b]|\\ud83a[\\udd5e-\\udd5f]"},QI=["liquidNode","inlineCode","emphasis","strong","delete","wikiLink","link","linkReference","image","imageReference","footnote","footnoteReference","sentence","whitespace","word","break","inlineMath"],ZI=[...QI,"tableCell","paragraph","heading"],eP=new RegExp(XI),tP=new RegExp(JI);function nP(e,t){const[,n,r,i]=t.slice(e.position.start.offset,e.position.end.offset).match(/^\s*(\d+)(\.|\))(\s*)/);return{numberText:n,marker:r,leadingSpaces:i}}var rP={mapAst:function(e,t){return function e(n,r,i){const o=Object.assign({},t(n,r,i));return o.children&&(o.children=o.children.map((t,n)=>e(t,n,[o,...i]))),o}(e,null,[])},splitText:function(e,t){const n="non-cjk",r="cj-letter",i="cjk-punctuation",o=[],s=("preserve"===t.proseWrap?e:e.replace(new RegExp(`(${YI})\n(${YI})`,"g"),"$1$2")).split(/([\t\n ]+)/);for(const[u,l]of s.entries()){if(u%2==1){o.push({type:"whitespace",value:/\n/.test(l)?"\n":" "});continue}if((0===u||u===s.length-1)&&""===l)continue;const e=l.split(new RegExp(`(${YI})`));for(const[t,o]of e.entries())(0!==t&&t!==e.length-1||""!==o)&&(t%2!=0?a(tP.test(o)?{type:"word",value:o,kind:i,hasLeadingPunctuation:!0,hasTrailingPunctuation:!0}:{type:"word",value:o,kind:eP.test(o)?"k-letter":r,hasLeadingPunctuation:!1,hasTrailingPunctuation:!1}):""!==o&&a({type:"word",value:o,kind:n,hasLeadingPunctuation:tP.test(o[0]),hasTrailingPunctuation:tP.test(WI(o))}))}return o;function a(e){const t=WI(o);var s,a;t&&"word"===t.type&&(t.kind===n&&e.kind===r&&!t.hasTrailingPunctuation||t.kind===r&&e.kind===n&&!e.hasLeadingPunctuation?o.push({type:"whitespace",value:" "}):(s=n,a=i,t.kind===s&&e.kind===a||t.kind===a&&e.kind===s||[t.value,e.value].some(e=>/\u3000/.test(e))||o.push({type:"whitespace",value:""}))),o.push(e)}},punctuationPattern:JI,getFencedCodeBlockValue:function(e,t){const{value:n}=e;return e.position.end.offset===t.length&&n.endsWith("\n")&&t.endsWith("\n")?n.slice(0,-1):n},getOrderedListItemInfo:nP,hasGitDiffFriendlyOrderedList:function(e,t){if(!e.ordered)return!1;if(e.children.length<2)return!1;const n=Number(nP(e.children[0],t.originalText).numberText),r=Number(nP(e.children[1],t.originalText).numberText);if(0===n&&e.children.length>2){const n=Number(nP(e.children[2],t.originalText).numberText);return 1===r&&1===n}return 1===r},INLINE_NODE_TYPES:QI,INLINE_NODE_WRAPPER_TYPES:ZI,isAutolink:function(e){if(!e||"link"!==e.type||1!==e.children.length)return!1;const t=e.children[0];return t&&GI(e)===GI(t)&&KI(e)===KI(t)}};const{inferParserByLanguage:iP,getMaxContinuousCount:oP}=_i,{builders:{hardline:sP,markAsRoot:aP},utils:{replaceEndOfLine:uP}}=uo,{getFencedCodeBlockValue:lP}=rP;var cP=function(e,t,n,r){const i=e.getValue();if("code"===i.type&&null!==i.lang){const e=iP(i.lang,r);if(e){const t=r.__inJsTemplate?"~":"`",o=t.repeat(Math.max(3,oP(i.value,t)+1)),s=n(lP(i,r.originalText),{parser:e},{stripTrailingHardline:!0});return aP([o,i.lang,i.meta?" "+i.meta:"",sP,uP(s),sP,o])}}switch(i.type){case"front-matter":return dO(i,n);case"importExport":return[n(i.value,{parser:"babel"},{stripTrailingHardline:!0}),sP];case"jsx":return n(`<$>${i.value}`,{parser:"__js_expression",rootMarker:"mdx"},{stripTrailingHardline:!0})}return null};const pP=["format","prettier"];function fP(e){const t=`@(${pP.join("|")})`,n=new RegExp([`\x3c!--\\s*${t}\\s*--\x3e`,`\x3c!--.*\r?\n[\\s\\S]*(^|\n)[^\\S\n]*${t}[^\\S\n]*($|\n)[\\s\\S]*\n.*--\x3e`].join("|"),"m"),r=e.match(n);return r&&0===r.index}var hP={startWithPragma:fP,hasPragma:e=>fP(vO(e).content.trimStart()),insertPragma:e=>{const t=vO(e),n=`\x3c!-- @${pP[0]} --\x3e`;return t.frontMatter?`${t.frontMatter.raw}\n\n${n}\n\n${t.content}`:`${n}\n\n${t.content}`}};const{getOrderedListItemInfo:dP,mapAst:mP,splitText:gP}=rP,yP=/^.$/us;function vP(e,t,n){return mP(e,e=>{if(!e.children)return e;const r=e.children.reduce((e,r)=>{const i=Bn(e);return i&&t(i,r)?e.splice(-1,1,n(i,r)):e.push(r),e},[]);return Object.assign(Object.assign({},e),{},{children:r})})}var bP=function(e,t){return function(e){return vP(e,(e,t)=>"importExport"===e.type&&"importExport"===t.type,(e,t)=>({type:"importExport",value:e.value+"\n\n"+t.value,position:{start:e.position.start,end:t.position.end}}))}(e=function(e){return mP(e,e=>"import"!==e.type&&"export"!==e.type?e:Object.assign(Object.assign({},e),{},{type:"importExport"}))}(e=function(e,t){return mP(e,(e,n,[r])=>{if("text"!==e.type)return e;let{value:i}=e;return"paragraph"===r.type&&(0===n&&(i=i.trimStart()),n===r.children.length-1&&(i=i.trimEnd())),{type:"sentence",position:e.position,children:gP(i,t)}})}(e=function(e,t){return mP(e,(e,t,n)=>{if("list"===e.type&&e.children.length>0){for(let t=0;t1)return!0;const o=n(r);return-1!==o&&(1===e.children.length?o%t.tabWidth==0:o===n(i)&&(o%t.tabWidth==0||dP(i,t.originalText).leadingSpaces.length>1))}}(e=function(e,t){return mP(e,(e,n,r)=>{if("code"===e.type){const n=/^\n?(?: {4,}|\t)/.test(t.originalText.slice(e.position.start.offset,e.position.end.offset));if(e.isIndented=n,n)for(let e=0;e"inlineCode"!==e.type?e:Object.assign(Object.assign({},e),{},{value:e.value.replace(/\s+/g," ")}))}(e=function(e){return vP(e,(e,t)=>"text"===e.type&&"text"===t.type,(e,t)=>({type:"text",value:e.value+t.value,position:{start:e.position.start,end:t.position.end}}))}(e=function(e,t){return mP(e,e=>"text"===e.type&&"*"!==e.value&&"_"!==e.value&&yP.test(e.value)&&e.position.end.offset-e.position.start.offset!==e.value.length?Object.assign(Object.assign({},e),{},{value:t.originalText.slice(e.position.start.offset,e.position.end.offset)}):e)}(e,t))),t),t),t)))};const{isFrontMatterNode:DP}=_i,{startWithPragma:wP}=hP,CP=new Set(["position","raw"]);function xP(e,t,n){return"front-matter"!==e.type&&"code"!==e.type&&"yaml"!==e.type&&"import"!==e.type&&"export"!==e.type&&"jsx"!==e.type||delete t.value,"list"===e.type&&delete t.isAligned,"list"!==e.type&&"listItem"!==e.type||(delete t.spread,delete t.loose),"text"===e.type?null:("inlineCode"===e.type&&(t.value=e.value.replace(/[\t\n ]+/g," ")),"wikiLink"===e.type&&(t.value=e.value.trim().replace(/[\t\n]+/g," ")),"definition"!==e.type&&"linkReference"!==e.type||(t.label=e.label.trim().replace(/[\t\n ]+/g," ").toLowerCase()),"definition"!==e.type&&"link"!==e.type&&"image"!==e.type||!e.title||(t.title=e.title.replace(/\\(["')])/g,"$1")),n&&"root"===n.type&&n.children.length>0&&(n.children[0]===e||DP(n.children[0])&&n.children[1]===e)&&"html"===e.type&&wP(e.value)?null:void 0)}xP.ignoredProperties=CP;var EP=xP;const{getLast:_P,getMinNotPresentContinuousCount:kP,getMaxContinuousCount:TP,getStringWidth:SP,isNonEmptyArray:AP}=_i,{builders:{breakParent:OP,join:FP,line:NP,literalline:IP,markAsRoot:PP,hardline:MP,softline:LP,ifBreak:jP,fill:BP,align:RP,indent:$P,group:HP,hardlineWithoutBreakParent:UP},utils:{normalizeDoc:qP,replaceTextEndOfLine:zP},printer:{printDocToString:VP}}=uo,{insertPragma:WP}=hP,{locStart:GP,locEnd:KP}=VI,{getFencedCodeBlockValue:YP,hasGitDiffFriendlyOrderedList:XP,splitText:JP,punctuationPattern:QP,INLINE_NODE_TYPES:ZP,INLINE_NODE_WRAPPER_TYPES:eM,isAutolink:tM}=rP,nM=new Set(["importExport"]),rM=["heading","tableCell","link","wikiLink"],iM=new Set(["listItem","definition","footnoteDefinition"]);function oM(e,t,n,r){const i=e.getValue(),o=null===i.checked?"":i.checked?"[x] ":"[ ] ";return[o,pM(e,t,n,{processor:(e,i)=>{if(0===i&&"list"!==e.getValue().type)return RP(" ".repeat(o.length),n());const s=" ".repeat(function(e,t,n){return en?n:e}(t.tabWidth-r.length,0,3));return[s,RP(s,n())]}})]}function sM(e,t){return function(e,t,n){let r=-1;for(const i of t.children)if(i.type===e.type&&n(i)?r++:r=-1,i===e)return r}(e,t,t=>t.ordered===e.ordered)}function aM(e,t){const n=Array.isArray(t)?t:[t];let r,i=-1;for(;r=e.getParentNode(++i);)if(n.includes(r.type))return i;return-1}function uM(e,t){const n=aM(e,t);return-1===n?null:e.getParentNode(n)}function lM(e,t,n){if("preserve"===n.proseWrap&&"\n"===t)return MP;const r="always"===n.proseWrap&&!uM(e,rM);return""!==t?r?NP:" ":r?LP:""}function cM(e,t,n){const r=[];let i=null;const{children:o}=e.getValue();for(const[s,a]of o.entries())switch(hM(a)){case"start":null===i&&(i={index:s,offset:a.position.end.offset});break;case"end":null!==i&&(r.push({start:i,end:{index:s,offset:a.position.start.offset}}),i=null)}return pM(e,t,n,{processor:(e,i)=>{if(r.length>0){const e=r[0];if(i===e.start.index)return[o[e.start.index].value,t.originalText.slice(e.start.offset,e.end.offset),o[e.end.index].value];if(e.start.indexn()),s=e.getValue(),a=[];let u;return e.each((e,n)=>{const r=e.getValue(),i=o(e,n);if(!1!==i){const e={parts:a,prevNode:u,parentNode:s,options:t};(function(e,t){const n=0===t.parts.length,r=ZP.includes(e.type),i="html"===e.type&&eM.includes(t.parentNode.type);return!n&&!r&&!i})(r,e)&&(a.push(MP),u&&nM.has(u.type)||(function(e,t){const n=(t.prevNode&&t.prevNode.type)===e.type&&iM.has(e.type),r="listItem"===t.parentNode.type&&!t.parentNode.loose,i=t.prevNode&&"listItem"===t.prevNode.type&&t.prevNode.loose,o="next"===hM(t.prevNode),s="html"===e.type&&t.prevNode&&"html"===t.prevNode.type&&t.prevNode.position.end.line+1===e.position.start.line,a="html"===e.type&&"listItem"===t.parentNode.type&&t.prevNode&&"paragraph"===t.prevNode.type&&t.prevNode.position.end.line+1===e.position.start.line;return i||!(n||r||o||s||a)}(r,e)||dM(r,e))&&a.push(MP),dM(r,e)&&a.push(MP)),a.push(i),u=r}},"children"),i?i(a):a}function fM(e){let t=e;for(;AP(t.children);)t=_P(t.children);return t}function hM(e){if("html"!==e.type)return!1;const t=e.value.match(/^$/);return null!==t&&(t[1]?t[1]:"next")}function dM(e,t){const n=t.prevNode&&"list"===t.prevNode.type,r="code"===e.type&&e.isIndented;return n&&r}function mM(e,t=[]){const n=[" ",...Array.isArray(t)?t:[t]];return new RegExp(n.map(e=>"\\"+e).join("|")).test(e)?`<${e}>`:e}function gM(e,t,n=!0){if(!e)return"";if(n)return" "+gM(e,t,!1);if((e=e.replace(/\\(["')])/g,"$1")).includes('"')&&e.includes("'")&&!e.includes(")"))return`(${e})`;const r=e.split("'").length-1,i=e.split('"').length-1,o=r>i?'"':i>r||t.singleQuote?"'":'"';return`${o}${e=(e=e.replace(/\\/,"\\\\")).replace(new RegExp(`(${o})`,"g"),"\\$1")}${o}`}var yM={preprocess:bP,print:function(e,t,n){const r=e.getValue();if(function(e){const t=uM(e,["linkReference","imageReference"]);return t&&("linkReference"!==t.type||"full"!==t.referenceType)}(e))return JP(t.originalText.slice(r.position.start.offset,r.position.end.offset),t).map(n=>"word"===n.type?n.value:""===n.value?"":lM(e,n.value,t));switch(r.type){case"front-matter":return t.originalText.slice(r.position.start.offset,r.position.end.offset);case"root":return 0===r.children.length?"":[qP(cM(e,t,n)),nM.has(fM(r).type)?"":MP];case"paragraph":return pM(e,t,n,{postprocessor:BP});case"sentence":return pM(e,t,n);case"word":{let t=r.value.replace(/\*/g,"\\$&").replace(new RegExp([`(^|${QP})(_+)`,`(_+)(${QP}|$)`].join("|"),"g"),(e,t,n,r,i)=>(n?`${t}${n}`:`${r}${i}`).replace(/_/g,"\\_"));const n=(e,t,n)=>"sentence"===e.type&&0===n,i=(e,t,n)=>tM(e.children[n-1]);return t!==r.value&&(e.match(void 0,n,i)||e.match(void 0,n,(e,t,n)=>"emphasis"===e.type&&0===n,i))&&(t=t.replace(/^(\\?[*_])+/,e=>e.replace(/\\/g,""))),t}case"whitespace":{const n=e.getParentNode(),i=n.children.indexOf(r),o=n.children[i+1],s=o&&/^>|^(?:[*+-]|#{1,6}|\d+[).])$/.test(o.value)?"never":t.proseWrap;return lM(e,r.value,{proseWrap:s})}case"emphasis":{let i;if(tM(r.children[0]))i=t.originalText[r.position.start.offset];else{const t=e.getParentNode(),n=t.children.indexOf(r),o=t.children[n-1],s=t.children[n+1];i=o&&"sentence"===o.type&&o.children.length>0&&"word"===_P(o.children).type&&!_P(o.children).hasTrailingPunctuation||s&&"sentence"===s.type&&s.children.length>0&&"word"===s.children[0].type&&!s.children[0].hasLeadingPunctuation||uM(e,"emphasis")?"*":"_"}return[i,pM(e,t,n),i]}case"strong":return["**",pM(e,t,n),"**"];case"delete":return["~~",pM(e,t,n),"~~"];case"inlineCode":{const e=kP(r.value,"`"),t="`".repeat(e||1),n=e&&!/^\s/.test(r.value)?" ":"";return[t,n,r.value,n,t]}case"wikiLink":{let e="";return e="preserve"===t.proseWrap?r.value:r.value.replace(/[\t\n]+/g," "),["[[",e,"]]"]}case"link":switch(t.originalText[r.position.start.offset]){case"<":{const e="mailto:";return["<",r.url.startsWith(e)&&t.originalText.slice(r.position.start.offset+1,r.position.start.offset+1+e.length)!==e?r.url.slice(e.length):r.url,">"]}case"[":return["[",pM(e,t,n),"](",mM(r.url,")"),gM(r.title,t),")"];default:return t.originalText.slice(r.position.start.offset,r.position.end.offset)}case"image":return["![",r.alt||"","](",mM(r.url,")"),gM(r.title,t),")"];case"blockquote":return["> ",RP("> ",pM(e,t,n))];case"heading":return["#".repeat(r.depth)+" ",pM(e,t,n)];case"code":{if(r.isIndented){const e=" ".repeat(4);return RP(e,[e,...zP(r.value,MP)])}const e=t.__inJsTemplate?"~":"`",n=e.repeat(Math.max(3,TP(r.value,e)+1));return[n,r.lang||"",r.meta?" "+r.meta:"",MP,...zP(YP(r,t.originalText),MP),MP,n]}case"html":{const t=e.getParentNode(),n="root"===t.type&&_P(t.children)===r?r.value.trimEnd():r.value,i=/^$/s.test(n);return zP(n,i?MP:PP(IP))}case"list":{const i=sM(r,e.getParentNode()),o=XP(r,t);return pM(e,t,n,{processor:(e,s)=>{const a=function(){const e=r.ordered?(0===s?r.start:o?1:r.start+s)+(i%2==0?". ":") "):i%2==0?"- ":"* ";return r.isAligned||r.hasIndentedCodeblock?function(e,t){const n=r();return e+" ".repeat(n>=4?0:n);function r(){const n=e.length%t.tabWidth;return 0===n?0:t.tabWidth-n}}(e,t):e}(),u=e.getValue();return 2===u.children.length&&"html"===u.children[1].type&&u.children[0].position.start.column!==u.children[1].position.start.column?[a,oM(e,t,n,a)]:[a,RP(" ".repeat(a.length),oM(e,t,n,a))]}})}case"thematicBreak":{const t=aM(e,"list");return-1===t?"---":sM(e.getParentNode(t),e.getParentNode(t+1))%2==0?"***":"---"}case"linkReference":return["[",pM(e,t,n),"]","full"===r.referenceType?["[",r.identifier,"]"]:"collapsed"===r.referenceType?"[]":""];case"imageReference":switch(r.referenceType){case"full":return["![",r.alt||"","][",r.identifier,"]"];default:return["![",r.alt,"]","collapsed"===r.referenceType?"[]":""]}case"definition":{const e="always"===t.proseWrap?NP:" ";return HP(["[",r.identifier,"]:",$P([e,mM(r.url),null===r.title?"":[e,gM(r.title,t,!1)]])])}case"footnote":return["[^",pM(e,t,n),"]"];case"footnoteReference":return["[^",r.identifier,"]"];case"footnoteDefinition":{const i=e.getParentNode().children[e.getName()+1],o=1===r.children.length&&"paragraph"===r.children[0].type&&("never"===t.proseWrap||"preserve"===t.proseWrap&&r.children[0].position.start.line===r.children[0].position.end.line);return["[^",r.identifier,"]: ",o?pM(e,t,n):HP([RP(" ".repeat(4),pM(e,t,n,{processor:(e,t)=>0===t?HP([LP,n()]):n()})),i&&"footnoteDefinition"===i.type?LP:""])]}case"table":return function(e,t,n){const r=e.getValue(),i=[],o=e.map(e=>e.map((e,r)=>{const o=VP(n(),t).formatted,s=SP(o);return i[r]=Math.max(i[r]||3,s),{text:o,width:s}},"children"),"children"),s=u(!1);if("never"!==t.proseWrap)return[OP,s];const a=u(!0);return[OP,HP(jP(a,s))];function u(e){const t=[c(o[0],e),l(e)];return o.length>1&&t.push(FP(UP,o.slice(1).map(t=>c(t,e)))),FP(UP,t)}function l(e){return`| ${i.map((t,n)=>{const i=r.align[n],o="center"===i||"right"===i?":":"-";return`${"center"===i||"left"===i?":":"-"}${e?"-":"-".repeat(t-2)}${o}`}).join(" | ")} |`}function c(e,t){return`| ${e.map(({text:e,width:n},o)=>{if(t)return e;const s=i[o]-n,a=r.align[o];let u=0;"right"===a?u=s:"center"===a&&(u=Math.floor(s/2));const l=s-u;return`${" ".repeat(u)}${e}${" ".repeat(l)}`}).join(" | ")} |`}}(e,t,n);case"tableCell":return pM(e,t,n);case"break":return/\s/.test(t.originalText[r.position.start.offset])?[" ",PP(IP)]:["\\",MP];case"liquidNode":return zP(r.value,MP);case"importExport":return[r.value,MP];case"jsx":return r.value;case"math":return["$$",MP,r.value?[...zP(r.value,MP),MP]:"","$$"];case"inlineMath":return t.originalText.slice(GP(r),KP(r));case"tableRow":case"listItem":default:throw new Error("Unknown markdown type "+JSON.stringify(r.type))}},embed:cP,massageAstNode:EP,hasPrettierIgnore:function(e){const t=Number(e.getName());return 0!==t&&"next"===hM(e.getParentNode().children[t-1])},insertPragma:WP},vM={proseWrap:QA.proseWrap,singleQuote:QA.singleQuote},bM={name:"Markdown",type:"prose",color:"#083fa1",aliases:["pandoc"],aceMode:"markdown",codemirrorMode:"gfm",codemirrorMimeType:"text/x-gfm",wrap:!0,extensions:[".md",".markdown",".mdown",".mdwn",".mdx",".mkd",".mkdn",".mkdown",".ronn",".scd",".workbook"],filenames:["contents.lr"],tmScope:"source.gfm",languageId:222},DM={languages:[id(bM,e=>({since:"1.8.0",parsers:["markdown"],vscodeLanguageIds:["markdown"],filenames:[...e.filenames,"README"],extensions:e.extensions.filter(e=>".mdx"!==e)})),id(bM,()=>({name:"MDX",since:"1.15.0",parsers:["mdx"],vscodeLanguageIds:["mdx"],filenames:[],extensions:[".mdx"]}))],options:vM,printers:{mdast:yM},parsers:void 0};const{isFrontMatterNode:wM}=_i,CM=new Set(["sourceSpan","startSourceSpan","endSourceSpan","nameSpan","valueSpan"]);function xM(e,t){return"text"===e.type||"comment"===e.type||wM(e)||"yaml"===e.type||"toml"===e.type?null:("attribute"===e.type&&delete t.value,void("docType"===e.type&&delete t.value))}xM.ignoredProperties=CM;var EM=xM,_M={"*":["accesskey","autocapitalize","autofocus","class","contenteditable","dir","draggable","enterkeyhint","hidden","id","inputmode","is","itemid","itemprop","itemref","itemscope","itemtype","lang","nonce","slot","spellcheck","style","tabindex","title","translate"],a:["accesskey","charset","coords","download","href","hreflang","name","ping","referrerpolicy","rel","rev","shape","tabindex","target","type"],abbr:["title"],applet:["align","alt","archive","code","codebase","height","hspace","name","object","vspace","width"],area:["accesskey","alt","coords","download","href","hreflang","nohref","ping","referrerpolicy","rel","shape","tabindex","target","type"],audio:["autoplay","controls","crossorigin","loop","muted","preload","src"],base:["href","target"],basefont:["color","face","size"],bdo:["dir"],blockquote:["cite"],body:["alink","background","bgcolor","link","text","vlink"],br:["clear"],button:["accesskey","autofocus","disabled","form","formaction","formenctype","formmethod","formnovalidate","formtarget","name","tabindex","type","value"],canvas:["height","width"],caption:["align"],col:["align","char","charoff","span","valign","width"],colgroup:["align","char","charoff","span","valign","width"],data:["value"],del:["cite","datetime"],details:["open"],dfn:["title"],dialog:["open"],dir:["compact"],div:["align"],dl:["compact"],embed:["height","src","type","width"],fieldset:["disabled","form","name"],font:["color","face","size"],form:["accept","accept-charset","action","autocomplete","enctype","method","name","novalidate","target"],frame:["frameborder","longdesc","marginheight","marginwidth","name","noresize","scrolling","src"],frameset:["cols","rows"],h1:["align"],h2:["align"],h3:["align"],h4:["align"],h5:["align"],h6:["align"],head:["profile"],hr:["align","noshade","size","width"],html:["manifest","version"],iframe:["align","allow","allowfullscreen","allowpaymentrequest","allowusermedia","frameborder","height","loading","longdesc","marginheight","marginwidth","name","referrerpolicy","sandbox","scrolling","src","srcdoc","width"],img:["align","alt","border","crossorigin","decoding","height","hspace","ismap","loading","longdesc","name","referrerpolicy","sizes","src","srcset","usemap","vspace","width"],input:["accept","accesskey","align","alt","autocomplete","autofocus","checked","dirname","disabled","form","formaction","formenctype","formmethod","formnovalidate","formtarget","height","ismap","list","max","maxlength","min","minlength","multiple","name","pattern","placeholder","readonly","required","size","src","step","tabindex","title","type","usemap","value","width"],ins:["cite","datetime"],isindex:["prompt"],label:["accesskey","for","form"],legend:["accesskey","align"],li:["type","value"],link:["as","charset","color","crossorigin","disabled","href","hreflang","imagesizes","imagesrcset","integrity","media","nonce","referrerpolicy","rel","rev","sizes","target","title","type"],map:["name"],menu:["compact"],meta:["charset","content","http-equiv","name","scheme"],meter:["high","low","max","min","optimum","value"],object:["align","archive","border","classid","codebase","codetype","data","declare","form","height","hspace","name","standby","tabindex","type","typemustmatch","usemap","vspace","width"],ol:["compact","reversed","start","type"],optgroup:["disabled","label"],option:["disabled","label","selected","value"],output:["for","form","name"],p:["align"],param:["name","type","value","valuetype"],pre:["width"],progress:["max","value"],q:["cite"],script:["async","charset","crossorigin","defer","integrity","language","nomodule","nonce","referrerpolicy","src","type"],select:["autocomplete","autofocus","disabled","form","multiple","name","required","size","tabindex"],slot:["name"],source:["media","sizes","src","srcset","type"],style:["media","nonce","title","type"],table:["align","bgcolor","border","cellpadding","cellspacing","frame","rules","summary","width"],tbody:["align","char","charoff","valign"],td:["abbr","align","axis","bgcolor","char","charoff","colspan","headers","height","nowrap","rowspan","scope","valign","width"],textarea:["accesskey","autocomplete","autofocus","cols","dirname","disabled","form","maxlength","minlength","name","placeholder","readonly","required","rows","tabindex","wrap"],tfoot:["align","char","charoff","valign"],th:["abbr","align","axis","bgcolor","char","charoff","colspan","headers","height","nowrap","rowspan","scope","valign","width"],thead:["align","char","charoff","valign"],time:["datetime"],tr:["align","bgcolor","char","charoff","valign"],track:["default","kind","label","src","srclang"],ul:["compact","type"],video:["autoplay","controls","crossorigin","height","loop","muted","playsinline","poster","preload","src","width"]};const{inferParserByLanguage:kM,isFrontMatterNode:TM}=_i,{builders:{line:SM,hardline:AM,join:OM},utils:{getDocParts:FM,replaceTextEndOfLine:NM}}=uo,{CSS_DISPLAY_TAGS:IM,CSS_DISPLAY_DEFAULT:PM,CSS_WHITE_SPACE_TAGS:MM,CSS_WHITE_SPACE_DEFAULT:LM}={CSS_DISPLAY_TAGS:{area:"none",base:"none",basefont:"none",datalist:"none",head:"none",link:"none",meta:"none",noembed:"none",noframes:"none",param:"block",rp:"none",script:"block",source:"block",style:"none",template:"inline",track:"block",title:"none",html:"block",body:"block",address:"block",blockquote:"block",center:"block",div:"block",figure:"block",figcaption:"block",footer:"block",form:"block",header:"block",hr:"block",legend:"block",listing:"block",main:"block",p:"block",plaintext:"block",pre:"block",xmp:"block",slot:"contents",ruby:"ruby",rt:"ruby-text",article:"block",aside:"block",h1:"block",h2:"block",h3:"block",h4:"block",h5:"block",h6:"block",hgroup:"block",nav:"block",section:"block",dir:"block",dd:"block",dl:"block",dt:"block",ol:"block",ul:"block",li:"list-item",table:"table",caption:"table-caption",colgroup:"table-column-group",col:"table-column",thead:"table-header-group",tbody:"table-row-group",tfoot:"table-footer-group",tr:"table-row",td:"table-cell",th:"table-cell",fieldset:"block",button:"inline-block",details:"block",summary:"block",dialog:"block",meter:"inline-block",progress:"inline-block",object:"inline-block",video:"inline-block",audio:"inline-block",select:"inline-block",option:"block",optgroup:"block"},CSS_DISPLAY_DEFAULT:"inline",CSS_WHITE_SPACE_TAGS:{listing:"pre",plaintext:"pre",pre:"pre",xmp:"pre",nobr:"nowrap",table:"initial",textarea:"pre-wrap"},CSS_WHITE_SPACE_DEFAULT:"normal"},jM=qM(["a","abbr","acronym","address","applet","area","article","aside","audio","b","base","basefont","bdi","bdo","bgsound","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","command","content","data","datalist","dd","del","details","dfn","dialog","dir","div","dl","dt","element","em","embed","fieldset","figcaption","figure","font","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","image","img","input","ins","isindex","kbd","keygen","label","legend","li","link","listing","main","map","mark","marquee","math","menu","menuitem","meta","meter","multicol","nav","nextid","nobr","noembed","noframes","noscript","object","ol","optgroup","option","output","p","param","picture","plaintext","pre","progress","q","rb","rbc","rp","rt","rtc","ruby","s","samp","script","section","select","shadow","slot","small","source","spacer","span","strike","strong","style","sub","summary","sup","svg","table","tbody","td","template","textarea","tfoot","th","thead","time","title","tr","track","tt","u","ul","var","video","wbr","xmp"]),BM=function(e,t){const n=Object.create(null);for(const[r,i]of Object.entries(e))n[r]=t(i,r);return n}(_M,qM),RM=new Set(["\t","\n","\f","\r"," "]),$M=e=>e.replace(/[\t\n\f\r ]+$/,""),HM=e=>(e=>e.replace(/^[\t\f\r ]*?\n/g,""))($M(e)),UM=e=>e.match(/^[\t\n\f\r ]*/)[0];function qM(e){const t=Object.create(null);for(const n of e)t[n]=!0;return t}function zM(e){return"element"===e.type&&("script"===e.fullName||"style"===e.fullName||"svg:style"===e.fullName||tL(e)&&("script"===e.name||"style"===e.name))}function VM(e){return nL(e).startsWith("pre")}function WM(e){return"element"===e.type&&e.children.length>0&&(["html","head","ul","ol","select"].includes(e.name)||e.cssDisplay.startsWith("table")&&"table-cell"!==e.cssDisplay)}function GM(e){return JM(e)||"element"===e.type&&"br"===e.fullName||KM(e)}function KM(e){return YM(e)&&XM(e)}function YM(e){return e.hasLeadingSpaces&&(e.prev?e.prev.sourceSpan.end.linee.sourceSpan.end.line:"root"===e.parent.type||e.parent.endSourceSpan&&e.parent.endSourceSpan.start.line>e.sourceSpan.end.line)}function JM(e){switch(e.type){case"ieConditionalComment":case"comment":case"directive":return!0;case"element":return["script","select"].includes(e.name)}return!1}function QM(e){const{type:t,lang:n}=e.attrMap;return"module"===t||"text/javascript"===t||"text/babel"===t||"application/javascript"===t||"jsx"===n?"babel":"application/x-typescript"===t||"ts"===n||"tsx"===n?"typescript":"text/markdown"===t?"markdown":"text/html"===t?"html":t&&(t.endsWith("json")||t.endsWith("importmap"))?"json":"text/x-handlebars-template"===t?"glimmer":void 0}function ZM(e){return"block"===e||"list-item"===e||e.startsWith("table")}function eL(e){return nL(e).startsWith("pre")}function tL(e){return"element"===e.type&&!e.hasExplicitNamespace&&!["html","svg"].includes(e.namespace)}function nL(e){return"element"===e.type&&(!e.namespace||tL(e))&&MM[e.name]||LM}function rL(e,t=function(e){let t=Number.POSITIVE_INFINITY;for(const n of e.split("\n")){if(0===n.length)continue;if(!RM.has(n[0]))return 0;const e=UM(n).length;n.length!==e&&ee.slice(t)).join("\n")}const iL=new Set(["template","style","script"]);function oL(e,t){return sL(e,t)&&!iL.has(e.fullName)}function sL(e,t){return"vue"===t.parser&&"element"===e.type&&"root"===e.parent.type&&"html"!==e.fullName.toLowerCase()}function aL(e,t){return sL(e,t)&&(oL(e,t)||e.attrMap.lang&&"html"!==e.attrMap.lang)}var uL={HTML_ELEMENT_ATTRIBUTES:BM,HTML_TAGS:jM,htmlTrim:e=>(e=>e.replace(/^[\t\n\f\r ]+/,""))($M(e)),htmlTrimPreserveIndentation:HM,hasHtmlWhitespace:e=>/[\t\n\f\r ]/.test(e),getLeadingAndTrailingHtmlWhitespace:e=>{const[,t,n,r]=e.match(/^([\t\n\f\r ]*)(.*?)([\t\n\f\r ]*)$/s);return{leadingWhitespace:t,trailingWhitespace:r,text:n}},canHaveInterpolation:function(e){return e.children&&!zM(e)},countChars:function(e,t){let n=0;for(let r=0;r=0;r--){const i=e.stack[r];i&&"object"==typeof i&&!Array.isArray(i)&&t(i)&&n++}return n},dedentString:rL,forceBreakChildren:WM,forceBreakContent:function(e){return WM(e)||"element"===e.type&&e.children.length>0&&(["body","script","style"].includes(e.name)||e.children.some(e=>function(e){return e.children&&e.children.some(e=>"text"!==e.type)}(e)))||e.firstChild&&e.firstChild===e.lastChild&&"text"!==e.firstChild.type&&YM(e.firstChild)&&(!e.lastChild.isTrailingSpaceSensitive||XM(e.lastChild))},forceNextEmptyLine:function(e){return TM(e)||e.next&&e.sourceSpan.end&&e.sourceSpan.end.line+1"svg:foreignObject"===e.fullName))return"svg"===e.name?"inline-block":"block";n=!0}switch(t.htmlWhitespaceSensitivity){case"strict":return"inline";case"ignore":return"block";default:return"vue"===t.parser&&e.parent&&"root"===e.parent.type?"block":"element"===e.type&&(!e.namespace||n||tL(e))&&IM[e.name]||PM}},getNodeCssStyleWhiteSpace:nL,hasPrettierIgnore:function(e){return"attribute"!==e.type&&!!e.parent&&"number"==typeof e.index&&0!==e.index&&function(e){return"comment"===e.type&&"prettier-ignore"===e.value.trim()}(e.parent.children[e.index-1])},inferScriptParser:function(e,t){return"script"!==e.name||e.attrMap.src?"style"===e.name?function(e){const{lang:t}=e.attrMap;return t&&"postcss"!==t&&"css"!==t?"scss"===t?"scss":"less"===t?"less":void 0:"css"}(e):t&&aL(e,t)?QM(e)||!("src"in e.attrMap)&&kM(e.attrMap.lang,t):void 0:e.attrMap.lang||e.attrMap.type?QM(e):"babel"},isVueCustomBlock:oL,isVueNonHtmlBlock:aL,isVueSlotAttribute:function(e){const t=e.fullName;return"#"===t.charAt(0)||"slot-scope"===t||"v-slot"===t||t.startsWith("v-slot:")},isVueSfcBindingsAttribute:function(e,t){const n=e.parent;if(!sL(n,t))return!1;const r=n.fullName,i=e.fullName;return"script"===r&&"setup"===i||"style"===r&&"vars"===i},isDanglingSpaceSensitiveNode:function(e){return t=e.cssDisplay,!(ZM(t)||"inline-block"===t||zM(e));var t},isIndentationSensitiveNode:VM,isLeadingSpaceSensitiveNode:function(e,t){const n=function(){return!TM(e)&&(!("text"!==e.type&&"interpolation"!==e.type||!e.prev||"text"!==e.prev.type&&"interpolation"!==e.prev.type)||!(!e.parent||"none"===e.parent.cssDisplay)&&(!!eL(e.parent)||!(!e.prev&&("root"===e.parent.type||eL(e)&&e.parent||zM(e.parent)||oL(e.parent,t)||(n=e.parent.cssDisplay,ZM(n)||"inline-block"===n)))&&!(e.prev&&!function(e){return!ZM(e)}(e.prev.cssDisplay))));var n}();return n&&!e.prev&&e.parent&&e.parent.tagDefinition&&e.parent.tagDefinition.ignoreFirstLf?"interpolation"===e.type:n},isPreLikeNode:eL,isScriptLikeTag:zM,isTextLikeNode:function(e){return"text"===e.type||"comment"===e.type},isTrailingSpaceSensitiveNode:function(e,t){return!TM(e)&&(!("text"!==e.type&&"interpolation"!==e.type||!e.next||"text"!==e.next.type&&"interpolation"!==e.next.type)||!(!e.parent||"none"===e.parent.cssDisplay)&&(!!eL(e.parent)||!(!e.next&&("root"===e.parent.type||eL(e)&&e.parent||zM(e.parent)||oL(e.parent,t)||(n=e.parent.cssDisplay,ZM(n)||"inline-block"===n)))&&!(e.next&&!function(e){return!ZM(e)}(e.next.cssDisplay))));var n},isWhitespaceSensitiveNode:function(e){return zM(e)||"interpolation"===e.type||VM(e)},isUnknownNamespace:tL,preferHardlineAsLeadingSpaces:function(e){return JM(e)||e.prev&&GM(e.prev)||KM(e)},preferHardlineAsTrailingSpaces:GM,shouldPreserveContent:function(e,t){return!("ieConditionalComment"!==e.type||!e.lastChild||e.lastChild.isSelfClosing||e.lastChild.endSourceSpan)||"ieConditionalComment"===e.type&&!e.complete||!(!eL(e)||!e.children.some(e=>"text"!==e.type&&"interpolation"!==e.type))||!(!aL(e,t)||zM(e)||"interpolation"===e.type)},unescapeQuoteEntities:function(e){return e.replace(/'/g,"'").replace(/"/g,'"')},getTextValueParts:function(e,t=e.value){return e.parent.isWhitespaceSensitive?e.parent.isIndentationSensitive?NM(t):NM(rL(HM(t)),AM):FM(OM(SM,(e=>e.split(/[\t\n\f\r ]+/))(t)))}},lL=i((function(e,t){function n(e){return t.$0<=e&&e<=t.$9} /** * @license * Copyright Google Inc. All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */Object.defineProperty(t,"__esModule",{value:!0}),t.$EOF=0,t.$BSPACE=8,t.$TAB=9,t.$LF=10,t.$VTAB=11,t.$FF=12,t.$CR=13,t.$SPACE=32,t.$BANG=33,t.$DQ=34,t.$HASH=35,t.$$=36,t.$PERCENT=37,t.$AMPERSAND=38,t.$SQ=39,t.$LPAREN=40,t.$RPAREN=41,t.$STAR=42,t.$PLUS=43,t.$COMMA=44,t.$MINUS=45,t.$PERIOD=46,t.$SLASH=47,t.$COLON=58,t.$SEMICOLON=59,t.$LT=60,t.$EQ=61,t.$GT=62,t.$QUESTION=63,t.$0=48,t.$7=55,t.$9=57,t.$A=65,t.$E=69,t.$F=70,t.$X=88,t.$Z=90,t.$LBRACKET=91,t.$BACKSLASH=92,t.$RBRACKET=93,t.$CARET=94,t.$_=95,t.$a=97,t.$b=98,t.$e=101,t.$f=102,t.$n=110,t.$r=114,t.$t=116,t.$u=117,t.$v=118,t.$x=120,t.$z=122,t.$LBRACE=123,t.$BAR=124,t.$RBRACE=125,t.$NBSP=160,t.$PIPE=124,t.$TILDA=126,t.$AT=64,t.$BT=96,t.isWhitespace=function(e){return e>=t.$TAB&&e<=t.$SPACE||e==t.$NBSP},t.isDigit=n,t.isAsciiLetter=function(e){return e>=t.$a&&e<=t.$z||e>=t.$A&&e<=t.$Z},t.isAsciiHexDigit=function(e){return e>=t.$a&&e<=t.$f||e>=t.$A&&e<=t.$F||n(e)},t.isNewLine=function(e){return e===t.$LF||e===t.$CR},t.isOctalDigit=function(e){return t.$0<=e&&e<=t.$7}})); /** * @license * Copyright Google Inc. All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */class cL{constructor(e,t,n){this.filePath=e,this.name=t,this.members=n}assertNoMembers(){if(this.members.length)throw new Error(`Illegal state: symbol without members expected, but got ${JSON.stringify(this)}.`)}}var pL=cL,fL=class{constructor(){this.cache=new Map}get(e,t,n){const r=`"${e}".${t}${(n=n||[]).length?"."+n.join("."):""}`;let i=this.cache.get(r);return i||(i=new cL(e,t,n),this.cache.set(r,i)),i}},hL=Object.defineProperty({StaticSymbol:pL,StaticSymbolCache:fL},"__esModule",{value:!0}); /** * @license * Copyright Google Inc. All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ const dL=/-+([a-z0-9])/g;var mL=function(e){return e.replace(dL,(...e)=>e[1].toUpperCase())},gL=function(e,t){return vL(e,":",t)},yL=function(e,t){return vL(e,".",t)};function vL(e,t,n){const r=e.indexOf(t);return-1==r?n:[e.slice(0,r).trim(),e.slice(r+1).trim()]}function bL(e,t,n){return Array.isArray(e)?t.visitArray(e,n):function(e){return"object"==typeof e&&null!==e&&Object.getPrototypeOf(e)===NL}(e)?t.visitStringMap(e,n):null==e||"string"==typeof e||"number"==typeof e||"boolean"==typeof e?t.visitPrimitive(e,n):t.visitOther(e,n)}var DL=bL,wL=function(e){return null!=e},CL=function(e){return void 0===e?null:e},xL=class{visitArray(e,t){return e.map(e=>bL(e,this,t))}visitStringMap(e,t){const n={};return Object.keys(e).forEach(r=>{n[r]=bL(e[r],this,t)}),n}visitPrimitive(e,t){return e}visitOther(e,t){return e}},EL={assertSync:e=>{if(LL(e))throw new Error("Illegal state: value cannot be a promise");return e},then:(e,t)=>LL(e)?e.then(t):t(e),all:e=>e.some(LL)?Promise.all(e):e},_L=function(e){throw new Error("Internal Error: "+e)},kL=function(e,t){const n=Error(e);return n[TL]=!0,t&&(n[SL]=t),n};const TL="ngSyntaxError",SL="ngParseErrors";var AL=function(e){return e[TL]},OL=function(e){return e[SL]||[]},FL=function(e){return e.replace(/([.*+?^=!:${}()|[\]\/\\])/g,"\\$1")};const NL=Object.getPrototypeOf({});var IL=function(e){let t="";for(let n=0;n=55296&&r<=56319&&e.length>n+1){const t=e.charCodeAt(n+1);t>=56320&&t<=57343&&(n++,r=(r-55296<<10)+t-56320+65536)}r<=127?t+=String.fromCharCode(r):r<=2047?t+=String.fromCharCode(r>>6&31|192,63&r|128):r<=65535?t+=String.fromCharCode(r>>12|224,r>>6&63|128,63&r|128):r<=2097151&&(t+=String.fromCharCode(r>>18&7|240,r>>12&63|128,r>>6&63|128,63&r|128))}return t},PL=function e(t){if("string"==typeof t)return t;if(t instanceof Array)return"["+t.map(e).join(", ")+"]";if(null==t)return""+t;if(t.overriddenName)return""+t.overriddenName;if(t.name)return""+t.name;if(!t.toString)return"object";const n=t.toString();if(null==n)return""+n;const r=n.indexOf("\n");return-1===r?n:n.substring(0,r)},ML=function(e){return"function"==typeof e&&e.hasOwnProperty("__forward_ref__")?e():e};function LL(e){return!!e&&"function"==typeof e.then}var jL=LL,BL=class{constructor(e){this.full=e;const t=e.split(".");this.major=t[0],this.minor=t[1],this.patch=t.slice(2).join(".")}};const RL="undefined"!=typeof window&&window,$L="undefined"!=typeof self&&"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&self;var HL=void 0!==n&&n||RL||$L,UL=Object.defineProperty({dashCaseToCamelCase:mL,splitAtColon:gL,splitAtPeriod:yL,visitValue:DL,isDefined:wL,noUndefined:CL,ValueTransformer:xL,SyncAsync:EL,error:_L,syntaxError:kL,isSyntaxError:AL,getParseErrors:OL,escapeRegExp:FL,utf8Encode:IL,stringify:PL,resolveForwardRef:ML,isPromise:jL,Version:BL,global:HL},"__esModule",{value:!0}),qL=i((function(e,t){ /** * @license * Copyright Google Inc. All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ Object.defineProperty(t,"__esModule",{value:!0});const n=/^(?:(?:\[([^\]]+)\])|(?:\(([^\)]+)\)))|(\@[-\w]+)$/;function r(e){return e.replace(/\W/g,"_")}t.sanitizeIdentifier=r;let i=0;function o(e){if(!e||!e.reference)return null;const t=e.reference;if(t instanceof hL.StaticSymbol)return t.name;if(t.__anonymousType)return t.__anonymousType;let n=UL.stringify(t);return n.indexOf("(")>=0?(n="anonymous_"+i++,t.__anonymousType=n):n=r(n),n}var s;t.identifierName=o,t.identifierModuleUrl=function(e){const t=e.reference;return t instanceof hL.StaticSymbol?t.filePath:"./"+UL.stringify(t)},t.viewClassName=function(e,t){return`View_${o({reference:e})}_${t}`},t.rendererTypeName=function(e){return"RenderType_"+o({reference:e})},t.hostViewClassName=function(e){return"HostView_"+o({reference:e})},t.componentFactoryName=function(e){return o({reference:e})+"NgFactory"},function(e){e[e.Pipe=0]="Pipe",e[e.Directive=1]="Directive",e[e.NgModule=2]="NgModule",e[e.Injectable=3]="Injectable"}(s=t.CompileSummaryKind||(t.CompileSummaryKind={})),t.tokenName=function(e){return null!=e.value?r(e.value):o(e.identifier)},t.tokenReference=function(e){return null!=e.identifier?e.identifier.reference:e.value},t.CompileStylesheetMetadata=class{constructor({moduleUrl:e,styles:t,styleUrls:n}={}){this.moduleUrl=e||null,this.styles=u(t),this.styleUrls=u(n)}},t.CompileTemplateMetadata=class{constructor({encapsulation:e,template:t,templateUrl:n,htmlAst:r,styles:i,styleUrls:o,externalStylesheets:s,animations:a,ngContentSelectors:c,interpolation:p,isInline:f,preserveWhitespaces:h}){if(this.encapsulation=e,this.template=t,this.templateUrl=n,this.htmlAst=r,this.styles=u(i),this.styleUrls=u(o),this.externalStylesheets=u(s),this.animations=a?l(a):[],this.ngContentSelectors=c||[],p&&2!=p.length)throw new Error("'interpolation' should have a start and an end symbol.");this.interpolation=p,this.isInline=f,this.preserveWhitespaces=h}toSummary(){return{ngContentSelectors:this.ngContentSelectors,encapsulation:this.encapsulation,styles:this.styles,animations:this.animations}}};class a{static create({isHost:e,type:t,isComponent:r,selector:i,exportAs:o,changeDetection:s,inputs:u,outputs:l,host:c,providers:p,viewProviders:f,queries:h,guards:d,viewQueries:m,entryComponents:g,template:y,componentViewType:v,rendererType:b,componentFactory:D}){const w={},C={},x={};null!=c&&Object.keys(c).forEach(e=>{const t=c[e],r=e.match(n);null===r?x[e]=t:null!=r[1]?C[r[1]]=t:null!=r[2]&&(w[r[2]]=t)});const E={};null!=u&&u.forEach(e=>{const t=UL.splitAtColon(e,[e,e]);E[t[0]]=t[1]});const _={};return null!=l&&l.forEach(e=>{const t=UL.splitAtColon(e,[e,e]);_[t[0]]=t[1]}),new a({isHost:e,type:t,isComponent:!!r,selector:i,exportAs:o,changeDetection:s,inputs:E,outputs:_,hostListeners:w,hostProperties:C,hostAttributes:x,providers:p,viewProviders:f,queries:h,guards:d,viewQueries:m,entryComponents:g,template:y,componentViewType:v,rendererType:b,componentFactory:D})}constructor({isHost:e,type:t,isComponent:n,selector:r,exportAs:i,changeDetection:o,inputs:s,outputs:a,hostListeners:l,hostProperties:c,hostAttributes:p,providers:f,viewProviders:h,queries:d,guards:m,viewQueries:g,entryComponents:y,template:v,componentViewType:b,rendererType:D,componentFactory:w}){this.isHost=!!e,this.type=t,this.isComponent=n,this.selector=r,this.exportAs=i,this.changeDetection=o,this.inputs=s,this.outputs=a,this.hostListeners=l,this.hostProperties=c,this.hostAttributes=p,this.providers=u(f),this.viewProviders=u(h),this.queries=u(d),this.guards=m,this.viewQueries=u(g),this.entryComponents=u(y),this.template=v,this.componentViewType=b,this.rendererType=D,this.componentFactory=w}toSummary(){return{summaryKind:s.Directive,type:this.type,isComponent:this.isComponent,selector:this.selector,exportAs:this.exportAs,inputs:this.inputs,outputs:this.outputs,hostListeners:this.hostListeners,hostProperties:this.hostProperties,hostAttributes:this.hostAttributes,providers:this.providers,viewProviders:this.viewProviders,queries:this.queries,guards:this.guards,viewQueries:this.viewQueries,entryComponents:this.entryComponents,changeDetection:this.changeDetection,template:this.template&&this.template.toSummary(),componentViewType:this.componentViewType,rendererType:this.rendererType,componentFactory:this.componentFactory}}}function u(e){return e||[]}function l(e){return e.reduce((e,t)=>{const n=Array.isArray(t)?l(t):t;return e.concat(n)},[])}function c(e){return e.replace(/(\w+:\/\/[\w:-]+)?(\/+)?/,"ng:///")}t.CompileDirectiveMetadata=a,t.CompilePipeMetadata=class{constructor({type:e,name:t,pure:n}){this.type=e,this.name=t,this.pure=!!n}toSummary(){return{summaryKind:s.Pipe,type:this.type,name:this.name,pure:this.pure}}},t.CompileShallowModuleMetadata=class{},t.CompileNgModuleMetadata=class{constructor({type:e,providers:t,declaredDirectives:n,exportedDirectives:r,declaredPipes:i,exportedPipes:o,entryComponents:s,bootstrapComponents:a,importedModules:l,exportedModules:c,schemas:p,transitiveModule:f,id:h}){this.type=e||null,this.declaredDirectives=u(n),this.exportedDirectives=u(r),this.declaredPipes=u(i),this.exportedPipes=u(o),this.providers=u(t),this.entryComponents=u(s),this.bootstrapComponents=u(a),this.importedModules=u(l),this.exportedModules=u(c),this.schemas=u(p),this.id=h||null,this.transitiveModule=f||null}toSummary(){const e=this.transitiveModule;return{summaryKind:s.NgModule,type:this.type,entryComponents:e.entryComponents,providers:e.providers,modules:e.modules,exportedDirectives:e.exportedDirectives,exportedPipes:e.exportedPipes}}},t.TransitiveCompileNgModuleMetadata=class{constructor(){this.directivesSet=new Set,this.directives=[],this.exportedDirectivesSet=new Set,this.exportedDirectives=[],this.pipesSet=new Set,this.pipes=[],this.exportedPipesSet=new Set,this.exportedPipes=[],this.modulesSet=new Set,this.modules=[],this.entryComponentsSet=new Set,this.entryComponents=[],this.providers=[]}addProvider(e,t){this.providers.push({provider:e,module:t})}addDirective(e){this.directivesSet.has(e.reference)||(this.directivesSet.add(e.reference),this.directives.push(e))}addExportedDirective(e){this.exportedDirectivesSet.has(e.reference)||(this.exportedDirectivesSet.add(e.reference),this.exportedDirectives.push(e))}addPipe(e){this.pipesSet.has(e.reference)||(this.pipesSet.add(e.reference),this.pipes.push(e))}addExportedPipe(e){this.exportedPipesSet.has(e.reference)||(this.exportedPipesSet.add(e.reference),this.exportedPipes.push(e))}addModule(e){this.modulesSet.has(e.reference)||(this.modulesSet.add(e.reference),this.modules.push(e))}addEntryComponent(e){this.entryComponentsSet.has(e.componentType)||(this.entryComponentsSet.add(e.componentType),this.entryComponents.push(e))}},t.ProviderMeta=class{constructor(e,{useClass:t,useValue:n,useExisting:r,useFactory:i,deps:o,multi:s}){this.token=e,this.useClass=t||null,this.useValue=n,this.useExisting=r,this.useFactory=i||null,this.dependencies=o||null,this.multi=!!s}},t.flatten=l,t.templateSourceUrl=function(e,t,n){let r;return r=n.isInline?t.type.reference instanceof hL.StaticSymbol?`${t.type.reference.filePath}.${t.type.reference.name}.html`:`${o(e)}/${o(t.type)}.html`:n.templateUrl,t.type.reference instanceof hL.StaticSymbol?r:c(r)},t.sharedStylesheetJitUrl=function(e,t){const n=e.moduleUrl.split(/\/\\/g);return c(`css/${t}${n[n.length-1]}.ngstyle.js`)},t.ngModuleJitUrl=function(e){return c(o(e.type)+"/module.ngfactory.js")},t.templateJitUrl=function(e,t){return c(`${o(e)}/${o(t.type)}.ngfactory.js`)}})),zL=i((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}); /** * @license * Copyright Google Inc. All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ class n{constructor(e,t,n,r){this.file=e,this.offset=t,this.line=n,this.col=r}toString(){return null!=this.offset?`${this.file.url}@${this.line}:${this.col}`:this.file.url}moveBy(e){const t=this.file.content,r=t.length;let i=this.offset,o=this.line,s=this.col;for(;i>0&&e<0;)if(i--,e++,t.charCodeAt(i)==lL.$LF){o--;const e=t.substr(0,i-1).lastIndexOf(String.fromCharCode(lL.$LF));s=e>0?i-e:i}else s--;for(;i0;){const n=t.charCodeAt(i);i++,e--,n==lL.$LF?(o++,s=0):s++}return new n(this.file,i,o,s)}getContext(e,t){const n=this.file.content;let r=this.offset;if(null!=r){r>n.length-1&&(r=n.length-1);let i=r,o=0,s=0;for(;o0&&(r--,o++,"\n"!=n[r]||++s!=t););for(o=0,s=0;o]${e.after}")`:this.msg}toString(){const e=this.span.details?", "+this.span.details:"";return`${this.contextualMessage()}: ${this.span.start}${e}`}},t.typeSourceSpan=function(e,t){const o=qL.identifierModuleUrl(t),s=null!=o?`in ${e} ${qL.identifierName(t)} in ${o}`:`in ${e} ${qL.identifierName(t)}`,a=new r("",s);return new i(new n(a,-1,-1,-1),new n(a,-1,-1,-1))},t.r3JitTypeSourceSpan=function(e,t,o){const s=new r("",`in ${e} ${t} in ${o}`);return new i(new n(s,-1,-1,-1),new n(s,-1,-1,-1))}}));const{ParseSourceSpan:VL}=zL,{htmlTrim:WL,getLeadingAndTrailingHtmlWhitespace:GL,hasHtmlWhitespace:KL,canHaveInterpolation:YL,getNodeCssStyleDisplay:XL,isDanglingSpaceSensitiveNode:JL,isIndentationSensitiveNode:QL,isLeadingSpaceSensitiveNode:ZL,isTrailingSpaceSensitiveNode:ej,isWhitespaceSensitiveNode:tj}=uL,nj=[function(e){e.walk(e=>{if("element"===e.type&&e.tagDefinition.ignoreFirstLf&&e.children.length>0&&"text"===e.children[0].type&&"\n"===e.children[0].value[0]){const[t,...n]=e.children;e.setChildren(1===t.value.length?n:[t.clone({value:t.value.slice(1)}),...n])}})},function(e){const t=e=>"element"===e.type&&e.prev&&"ieConditionalStartComment"===e.prev.type&&e.prev.sourceSpan.end.offset===e.startSourceSpan.start.offset&&e.firstChild&&"ieConditionalEndComment"===e.firstChild.type&&e.firstChild.sourceSpan.start.offset===e.startSourceSpan.end.offset;e.walk(e=>{if(e.children){const n=e.children.map(t);if(n.some(Boolean)){const t=[];for(let r=0;r{if(e.children){const r=e.children.map(t);if(r.some(Boolean)){const t=[];for(let i=0;i"cdata"===e.type,e=>``)},function(e,t){if("html"===t.parser)return;const n=/{{(.+?)}}/s;e.walk(e=>{if(!YL(e))return;const t=[];for(const r of e.children){if("text"!==r.type){t.push(r);continue}let e=r.sourceSpan.start,i=null;const o=r.value.split(n);for(let n=0;n0&&t.push({type:"text",value:r,sourceSpan:new VL(e,i)}))}}e.setChildren(t)})},function(e){e.walk(e=>{if(!e.children)return;if(0===e.children.length||1===e.children.length&&"text"===e.children[0].type&&0===WL(e.children[0].value).length)return e.hasDanglingSpaces=e.children.length>0,void(e.children=[]);const t=tj(e),n=QL(e);e.setChildren(e.children.flatMap(e=>{if("text"!==e.type||t)return e;const n=[],{leadingWhitespace:r,text:i,trailingWhitespace:o}=GL(e.value);return r&&n.push(rj),i&&n.push({type:"text",value:i,sourceSpan:new VL(e.sourceSpan.start.moveBy(r.length),e.sourceSpan.end.moveBy(-o.length))}),o&&n.push(rj),n}).map((e,t,n)=>{if(e!==rj)return Object.assign(Object.assign({},e),{},{hasLeadingSpaces:n[t-1]===rj,hasTrailingSpaces:n[t+1]===rj})}).filter(Boolean)),e.isWhitespaceSensitive=t,e.isIndentationSensitive=n})},function(e,t){e.walk(e=>Object.assign(e,{cssDisplay:XL(e,t)}))},function(e){e.walk(e=>Object.assign(e,{isSelfClosing:!e.children||"element"===e.type&&(e.tagDefinition.isVoid||e.startSourceSpan===e.endSourceSpan)}))},function(e,t){e.walk(e=>"element"!==e.type?e:Object.assign(e,{hasHtmComponentClosingTag:e.endSourceSpan&&/^<\s*\/\s*\/\s*>$/.test(t.originalText.slice(e.endSourceSpan.start.offset,e.endSourceSpan.end.offset))}))},function(e,t){e.walk(e=>{e.children&&(0!==e.children.length?e.setChildren(e.children.map(e=>Object.assign(Object.assign({},e),{},{isLeadingSpaceSensitive:ZL(e,t),isTrailingSpaceSensitive:ej(e,t)})).map((e,t,n)=>Object.assign(Object.assign({},e),{},{isLeadingSpaceSensitive:(0===t||n[t-1].isTrailingSpaceSensitive)&&e.isLeadingSpaceSensitive,isTrailingSpaceSensitive:(t===n.length-1||n[t+1].isLeadingSpaceSensitive)&&e.isTrailingSpaceSensitive}))):e.isDanglingSpaceSensitive=JL(e))})},function(e){const t=e=>"element"===e.type&&0===e.attrs.length&&1===e.children.length&&"text"===e.firstChild.type&&!KL(e.children[0].value)&&!e.firstChild.hasLeadingSpaces&&!e.firstChild.hasTrailingSpaces&&e.isLeadingSpaceSensitive&&!e.hasLeadingSpaces&&e.isTrailingSpaceSensitive&&!e.hasTrailingSpaces&&e.prev&&"text"===e.prev.type&&e.next&&"text"===e.next.type;e.walk(e=>{if(e.children){const n=e.children.map(t);if(n.some(Boolean)){const t=[];for(let r=0;r`+i.firstChild.value+``+o.value,sourceSpan:new VL(n.sourceSpan.start,o.sourceSpan.end),isTrailingSpaceSensitive:s,hasTrailingSpaces:a}))}else t.push(i)}e.setChildren(t)}}})}],rj={type:"whitespace"};var ij=function(e,t){const n=e.map(e=>e);for(const r of nj)r(n,t);return n},oj={hasPragma:function(e){return/^\s*/.test(e)},insertPragma:function(e){return"\x3c!-- @format --\x3e\n\n"+e.replace(/^\s*\n/,"")}},sj={locStart:function(e){return e.sourceSpan.start.offset},locEnd:function(e){return e.sourceSpan.end.offset}};const{isNonEmptyArray:aj}=_i,{builders:{indent:uj,join:lj,line:cj,softline:pj},utils:{replaceTextEndOfLine:fj}}=uo,{locStart:hj,locEnd:dj}=sj,{isTextLikeNode:mj,getLastDescendant:gj,isPreLikeNode:yj,hasPrettierIgnore:vj,shouldPreserveContent:bj}=uL;function Dj(e,t){return e.lastChild&&Aj(e.lastChild)?"":[Cj(e,t),Ej(e,t)]}function wj(e,t){return(e.next?Tj(e.next):Sj(e.parent))?"":[_j(e,t),xj(e,t)]}function Cj(e,t){return Sj(e)?_j(e.lastChild,t):""}function xj(e,t){return Aj(e)?Ej(e.parent,t):Oj(e)?Lj(e.next):""}function Ej(e,t){if(_f(!e.isSelfClosing),kj(e,t))return"";switch(e.type){case"ieConditionalComment":return"\x3c!--\x3e";case"interpolation":return"}}";case"element":if(e.isSelfClosing)return"/>";default:return">"}}function kj(e,t){return!e.isSelfClosing&&!e.endSourceSpan&&(vj(e)||bj(e.parent,t))}function Tj(e){return e.prev&&"docType"!==e.prev.type&&!mj(e.prev)&&e.isLeadingSpaceSensitive&&!e.hasLeadingSpaces}function Sj(e){return e.lastChild&&e.lastChild.isTrailingSpaceSensitive&&!e.lastChild.hasTrailingSpaces&&!mj(gj(e.lastChild))&&!yj(e)}function Aj(e){return!e.next&&!e.hasTrailingSpaces&&e.isTrailingSpaceSensitive&&mj(gj(e))}function Oj(e){return e.next&&!mj(e.next)&&mj(e)&&e.isTrailingSpaceSensitive&&!e.hasTrailingSpaces}function Fj(e){return!e.prev&&e.isLeadingSpaceSensitive&&!e.hasLeadingSpaces}function Nj(e,t,n){const r=e.getValue();if(!aj(r.attrs))return r.isSelfClosing?" ":"";const i=r.prev&&"comment"===r.prev.type&&function(e){const t=e.trim().match(/^prettier-ignore-attribute(?:\s+(.+))?$/s);return!!t&&(!t[1]||t[1].split(/\s+/))}(r.prev.value),o="boolean"==typeof i?()=>i:Array.isArray(i)?e=>i.includes(e.rawName):()=>!1,s=e.map(e=>{const r=e.getValue();return o(r)?fj(t.originalText.slice(hj(r),dj(r))):n()},"attrs"),a="element"===r.type&&"script"===r.fullName&&1===r.attrs.length&&"src"===r.attrs[0].fullName&&0===r.children.length,u=[uj([a?" ":cj,lj(cj,s)])];return r.firstChild&&Fj(r.firstChild)||r.isSelfClosing&&Sj(r.parent)||a?u.push(r.isSelfClosing?" ":""):u.push(t.bracketSameLine?r.isSelfClosing?" ":"":r.isSelfClosing?cj:pj),u}function Ij(e){return e.firstChild&&Fj(e.firstChild)?"":jj(e)}function Pj(e,t){return e.prev&&Oj(e.prev)?"":[Mj(e,t),Lj(e)]}function Mj(e,t){return Fj(e)?jj(e.parent):Tj(e)?_j(e.prev,t):""}function Lj(e){switch(e.type){case"ieConditionalComment":case"ieConditionalStartComment":return"\x3c!--[if "+e.condition;case"ieConditionalEndComment":return"\x3c!--\x3c!--\x3e<${e.rawName}`;default:return"<"+e.rawName}}function jj(e){switch(_f(!e.isSelfClosing),e.type){case"ieConditionalComment":return"]>";case"element":if(e.condition)return">\x3c!--"}}var Bj={printClosingTag:function(e,t){return[e.isSelfClosing?"":Dj(e,t),wj(e,t)]},printClosingTagStart:Dj,printClosingTagStartMarker:Ej,printClosingTagEndMarker:_j,printClosingTagSuffix:xj,printClosingTagEnd:wj,needsToBorrowLastChildClosingTagEndMarker:Sj,needsToBorrowParentClosingTagStartMarker:Aj,needsToBorrowPrevClosingTagEndMarker:Tj,printOpeningTag:function(e,t,n){const r=e.getValue();return[Pj(r,t),Nj(e,t,n),r.isSelfClosing?"":Ij(r)]},printOpeningTagStart:Pj,printOpeningTagPrefix:Mj,printOpeningTagStartMarker:Lj,printOpeningTagEndMarker:jj,needsToBorrowNextOpeningTagStartMarker:Oj,needsToBorrowParentOpeningTagEndMarker:Fj},Rj=i((function(e){var t,r;t=n,r=function(){return function(e,t){var n=t&&t.logger||console;function r(e){return" "===e||"\t"===e||"\n"===e||"\f"===e||"\r"===e}function i(t){var n,r=t.exec(e.substring(y));if(r)return n=r[0],y+=n.length,n}for(var o,s,a,u,l,c=e.length,p=/^[ \t\n\r\u000c]+/,f=/^[, \t\n\r\u000c]+/,h=/^[^ \t\n\r\u000c]+/,d=/[,]+$/,m=/^\d+$/,g=/^-?(?:[0-9]+|[0-9]*\.[0-9]+)(?:[eE][+-]?[0-9]+)?$/,y=0,v=[];;){if(i(f),y>=c)return v;o=i(h),s=[],","===o.slice(-1)?(o=o.replace(d,""),D()):b()}function b(){for(i(p),a="",u="in descriptor";;){if(l=e.charAt(y),"in descriptor"===u)if(r(l))a&&(s.push(a),a="",u="after descriptor");else{if(","===l)return y+=1,a&&s.push(a),void D();if("("===l)a+=l,u="in parens";else{if(""===l)return a&&s.push(a),void D();a+=l}}else if("in parens"===u)if(")"===l)a+=l,u="in descriptor";else{if(""===l)return s.push(a),void D();a+=l}else if("after descriptor"===u)if(r(l));else{if(""===l)return void D();u="in descriptor",y-=1}y+=1}}function D(){var t,r,i,a,u,l,c,p,f,h=!1,d={};for(a=0;ae),r=t.some(({h:e})=>e);if(n+r+t.some(({d:e})=>e)>1)throw new Error("Mixed descriptor in srcset is not supported");const i=n?"w":r?"h":"d",o=n?"w":r?"h":"x",s=e=>Math.max(...e),a=t.map(e=>e.url),u=s(a.map(e=>e.length)),l=t.map(e=>e[i]).map(e=>e?e.toString():""),c=l.map(e=>{const t=e.indexOf(".");return-1===t?e.length:t}),p=s(c);return qj([",",zj],a.map((e,t)=>{const n=[e],r=l[t];if(r){const i=u-e.length+1,s=p-c[t],a=" ".repeat(i+s);n.push(Hj(a," "),r+o)}return n}))},printClassNames:function(e){const t=e.trim().split(/\s+/),n=[];let r;for(let i=0;i$j(qj(zj,e))))]),Vj]}};const{builders:{group:Yj}}=uo;var Xj={isVueEventBindingExpression:function(e){const t=e.trim();return/^(?:[\w$]+|\([^)]*?\))\s*=>|^function\s*\(/.test(t)||/^[$A-Z_a-z][\w$]*(?:\.[$A-Z_a-z][\w$]*|\['[^']*?']|\["[^"]*?"]|\[\d+]|\[[$A-Z_a-z][\w$]*])*$/.test(t)},printVueFor:function(e,t){const{left:n,operator:r,right:i}=function(e){const t=/(.*?)\s+(in|of)\s+(.*)/s,n=/,([^,\]}]*)(?:,([^,\]}]*))?$/,r=/^\(|\)$/g,i=e.match(t);if(!i)return;const o={};o.for=i[3].trim();const s=i[1].trim().replace(r,""),a=s.match(n);return a?(o.alias=s.replace(n,""),o.iterator1=a[1].trim(),a[2]&&(o.iterator2=a[2].trim())):o.alias=s,{left:""+[o.alias,o.iterator1,o.iterator2].filter(Boolean).join(","),operator:i[2],right:o.for}}(e);return[Yj(t(`function _(${n}) {}`,{parser:"babel",__isVueForBindingLeft:!0}))," ",r," ",t(i,{parser:"__js_expression"},{stripTrailingHardline:!0})]},printVueBindings:function(e,t){return t(`function _(${e}) {}`,{parser:"babel",__isVueBindings:!0})}};const{needsToBorrowParentClosingTagStartMarker:Jj,printClosingTagStartMarker:Qj,needsToBorrowLastChildClosingTagEndMarker:Zj,printClosingTagEndMarker:eB,needsToBorrowParentOpeningTagEndMarker:tB,printOpeningTagEndMarker:nB}=Bj;var rB=function(e,t){let n=e.startSourceSpan.end.offset;e.firstChild&&tB(e.firstChild)&&(n-=nB(e).length);let r=e.endSourceSpan.start.offset;return e.lastChild&&Jj(e.lastChild)?r+=Qj(e,t).length:Zj(e)&&(r-=eB(e.lastChild,t).length),t.originalText.slice(n,r)};const{builders:{breakParent:iB,group:oB,hardline:sB,indent:aB,line:uB,fill:lB,softline:cB},utils:{mapDoc:pB,replaceTextEndOfLine:fB}}=uo,{printClosingTag:hB,printClosingTagSuffix:dB,needsToBorrowPrevClosingTagEndMarker:mB,printOpeningTagPrefix:gB,printOpeningTag:yB}=Bj,{printImgSrcset:vB,printClassNames:bB}=Kj,{printVueFor:DB,printVueBindings:wB,isVueEventBindingExpression:CB}=Xj,{isScriptLikeTag:xB,isVueNonHtmlBlock:EB,inferScriptParser:_B,htmlTrimPreserveIndentation:kB,dedentString:TB,unescapeQuoteEntities:SB,isVueSlotAttribute:AB,isVueSfcBindingsAttribute:OB,getTextValueParts:FB}=uL;function NB(e,t,n){const r=t=>new RegExp(t.join("|")).test(e.fullName),i=()=>SB(e.value);let o=!1;const s=(e,t)=>{const n="NGRoot"===e.type?"NGMicrosyntax"===e.node.type&&1===e.node.body.length&&"NGMicrosyntaxExpression"===e.node.body[0].type?e.node.body[0].expression:e.node:"JsExpressionRoot"===e.type?e.node:e;!n||"ObjectExpression"!==n.type&&"ArrayExpression"!==n.type&&("__vue_expression"!==t.parser||"TemplateLiteral"!==n.type&&"StringLiteral"!==n.type)||(o=!0)},a=(e,t=!0)=>oB([aB([cB,e]),t?cB:""]),u=e=>o?(e=>oB(e))(e):a(e),l=(e,n)=>t(e,Object.assign({__onHtmlBindingRoot:s,__embeddedInHtml:!0},n),{stripTrailingHardline:!0});if("srcset"===e.fullName&&("img"===e.parent.fullName||"source"===e.parent.fullName))return a(vB(i()));if("class"===e.fullName&&!n.parentParser){const e=i();if(!e.includes("{{"))return bB(e)}if("style"===e.fullName&&!n.parentParser){const e=i();if(!e.includes("{{"))return a(l(e,{parser:"css",__isHTMLStyleAttribute:!0}))}if("vue"===n.parser){if("v-for"===e.fullName)return DB(i(),l);if(AB(e)||OB(e,n))return wB(i(),l);const t=["^:","^v-bind:"],o=["^v-"];if(r(["^@","^v-on:"])){const e=i();return u(l(e,{parser:CB(e)?"__js_expression":"__vue_event_binding"}))}if(r(t))return u(l(i(),{parser:"__vue_expression"}));if(r(o))return u(l(i(),{parser:"__js_expression"}))}if("angular"===n.parser){const t=(e,t)=>l(e,Object.assign(Object.assign({},t),{},{trailingComma:"none"})),n=["^\\*"],o=["^\\[.+\\]$","^bind(on)?-","^ng-(if|show|hide|class|style)$"],s=["^i18n(-.+)?$"];if(r(["^\\(.+\\)$","^on-"]))return u(t(i(),{parser:"__ng_action"}));if(r(o))return u(t(i(),{parser:"__ng_binding"}));if(r(s)){const t=i().trim();return a(lB(FB(e,t)),!t.includes("@@"))}if(r(n))return u(t(i(),{parser:"__ng_directive"}));const c=/{{(.+?)}}/s,p=i();if(c.test(p)){const e=[];for(const[n,r]of p.split(c).entries())if(n%2==0)e.push(fB(r));else try{e.push(oB(["{{",aB([uB,t(r,{parser:"__ng_interpolation",__isInHtmlInterpolation:!0})]),uB,"}}"]))}catch{e.push("{{",fB(r),"}}")}return oB(e)}}return null}var IB=function(e,t,n,r){const i=e.getValue();switch(i.type){case"element":if(xB(i)||"interpolation"===i.type)return;if(!i.isSelfClosing&&EB(i,r)){const o=_B(i,r);if(!o)return;const s=rB(i,r);let a=/^\s*$/.test(s),u="";return a||(u=n(kB(s),{parser:o,__embeddedInHtml:!0},{stripTrailingHardline:!0}),a=""===u),[gB(i,r),oB(yB(e,r,t)),a?"":sB,u,a?"":sB,hB(i,r),dB(i,r)]}break;case"text":if(xB(i.parent)){const e=_B(i.parent);if(e){const t="markdown"===e?TB(i.value.replace(/^[^\S\n]*?\n/,"")):i.value,o={parser:e,__embeddedInHtml:!0};if("html"===r.parser&&"babel"===e){let e="script";const{attrMap:t}=i.parent;t&&("module"===t.type||"text/babel"===t.type&&"module"===t["data-type"])&&(e="module"),o.__babelSourceType=e}return[iB,gB(i,r),n(t,o,{stripTrailingHardline:!0}),dB(i,r)]}}else if("interpolation"===i.parent.type){const e={__isInHtmlInterpolation:!0,__embeddedInHtml:!0};return"angular"===r.parser?(e.parser="__ng_interpolation",e.trailingComma="none"):"vue"===r.parser?e.parser="__vue_expression":e.parser="__js_expression",[aB([uB,n(i.value,e,{stripTrailingHardline:!0})]),i.parent.next&&mB(i.parent.next)?" ":uB]}break;case"attribute":{if(!i.value)break;if(/^PRETTIER_HTML_PLACEHOLDER_\d+_\d+_IN_JS$/.test(r.originalText.slice(i.valueSpan.start.offset,i.valueSpan.end.offset)))return[i.rawName,"=",i.value];if("lwc"===r.parser&&/^{.*}$/s.test(r.originalText.slice(i.valueSpan.start.offset,i.valueSpan.end.offset)))return[i.rawName,"=",i.value];const e=NB(i,(e,t)=>n(e,Object.assign({__isInHtmlAttribute:!0,__embeddedInHtml:!0},t),{stripTrailingHardline:!0}),r);if(e)return[i.rawName,'="',oB(pB(e,e=>"string"==typeof e?e.replace(/"/g,"""):e)),'"'];break}case"front-matter":return dO(i,n)}};const{builders:{breakParent:PB,group:MB,ifBreak:LB,line:jB,softline:BB,hardline:RB},utils:{replaceTextEndOfLine:$B}}=uo,{locStart:HB,locEnd:UB}=sj,{forceBreakChildren:qB,forceNextEmptyLine:zB,isTextLikeNode:VB,hasPrettierIgnore:WB,preferHardlineAsLeadingSpaces:GB}=uL,{printOpeningTagPrefix:KB,needsToBorrowNextOpeningTagStartMarker:YB,printOpeningTagStartMarker:XB,needsToBorrowPrevClosingTagEndMarker:JB,printClosingTagEndMarker:QB,printClosingTagSuffix:ZB,needsToBorrowParentClosingTagStartMarker:eR}=Bj;function tR(e,t,n){const r=e.getValue();return WB(r)?[KB(r,t),...$B(t.originalText.slice(HB(r)+(r.prev&&YB(r.prev)?XB(r).length:0),UB(r)-(r.next&&JB(r.next)?QB(r,t).length:0))),ZB(r,t)]:n()}function nR(e,t){return VB(e)&&VB(t)?e.isTrailingSpaceSensitive?e.hasTrailingSpaces?GB(t)?RB:jB:"":GB(t)?RB:BB:YB(e)&&(WB(t)||t.firstChild||t.isSelfClosing||"element"===t.type&&t.attrs.length>0)||"element"===e.type&&e.isSelfClosing&&JB(t)?"":!t.isLeadingSpaceSensitive||GB(t)||JB(t)&&e.lastChild&&eR(e.lastChild)&&e.lastChild.lastChild&&eR(e.lastChild.lastChild)?RB:t.hasLeadingSpaces?jB:BB}var rR={printChildren:function(e,t,n){const r=e.getValue();if(qB(r))return[PB,...e.map(e=>{const r=e.getValue(),i=r.prev?nR(r.prev,r):"";return[i?[i,zB(r.prev)?RB:""]:"",tR(e,t,n)]},"children")];const i=r.children.map(()=>Symbol(""));return e.map((e,r)=>{const o=e.getValue();if(VB(o)){if(o.prev&&VB(o.prev)){const r=nR(o.prev,o);if(r)return zB(o.prev)?[RB,RB,tR(e,t,n)]:[r,tR(e,t,n)]}return tR(e,t,n)}const s=[],a=[],u=[],l=[],c=o.prev?nR(o.prev,o):"",p=o.next?nR(o,o.next):"";return c&&(zB(o.prev)?s.push(RB,RB):c===RB?s.push(RB):VB(o.prev)?a.push(c):a.push(LB("",BB,{groupId:i[r-1]}))),p&&(zB(o)?VB(o.next)&&l.push(RB,RB):p===RB?VB(o.next)&&l.push(RB):u.push(p)),[...s,MB([...a,MB([tR(e,t,n),...u],{id:i[r]})]),...l]},"children")}};const{builders:{breakParent:iR,dedentToRoot:oR,group:sR,ifBreak:aR,indentIfBreak:uR,indent:lR,line:cR,softline:pR},utils:{replaceTextEndOfLine:fR}}=uo,{shouldPreserveContent:hR,isScriptLikeTag:dR,isVueCustomBlock:mR,countParents:gR,forceBreakContent:yR}=uL,{printOpeningTagPrefix:vR,printOpeningTag:bR,printClosingTagSuffix:DR,printClosingTag:wR,needsToBorrowPrevClosingTagEndMarker:CR,needsToBorrowLastChildClosingTagEndMarker:xR}=Bj,{printChildren:ER}=rR;var _R={printElement:function(e,t,n){const r=e.getValue();if(hR(r,t))return[vR(r,t),sR(bR(e,t,n)),...fR(rB(r,t)),...wR(r,t),DR(r,t)];const i=1===r.children.length&&"interpolation"===r.firstChild.type&&r.firstChild.isLeadingSpaceSensitive&&!r.firstChild.hasLeadingSpaces&&r.lastChild.isTrailingSpaceSensitive&&!r.lastChild.hasTrailingSpaces,o=Symbol("element-attr-group-id"),s=i=>sR([sR(bR(e,t,n),{id:o}),i,wR(r,t)]);return 0===r.children.length?s(r.hasDanglingSpaces&&r.isDanglingSpaceSensitive?cR:""):s([yR(r)?iR:"",(a=[i?aR(pR,"",{groupId:o}):r.firstChild.hasLeadingSpaces&&r.firstChild.isLeadingSpaceSensitive?cR:"text"===r.firstChild.type&&r.isWhitespaceSensitive&&r.isIndentationSensitive?oR(pR):pR,ER(e,t,n)],i?uR(a,{groupId:o}):!dR(r)&&!mR(r,t)||"root"!==r.parent.type||"vue"!==t.parser||t.vueIndentScriptAndStyle?lR(a):a),(r.next?CR(r.next):xR(r.parent))?r.lastChild.hasTrailingSpaces&&r.lastChild.isTrailingSpaceSensitive?" ":"":i?aR(pR,"",{groupId:o}):r.lastChild.hasTrailingSpaces&&r.lastChild.isTrailingSpaceSensitive?cR:("comment"===r.lastChild.type||"text"===r.lastChild.type&&r.isWhitespaceSensitive&&r.isIndentationSensitive)&&new RegExp(`\\n[\\t ]{${t.tabWidth*gR(e,e=>e.parent&&"root"!==e.parent.type)}}$`).test(r.lastChild.value)?"":pR]);var a}};const{builders:{fill:kR,group:TR,hardline:SR,literalline:AR},utils:{cleanDoc:OR,getDocParts:FR,isConcat:NR,replaceTextEndOfLine:IR}}=uo,{countChars:PR,unescapeQuoteEntities:MR,getTextValueParts:LR}=uL,{insertPragma:jR}=oj,{locStart:BR,locEnd:RR}=sj,{printClosingTagSuffix:$R,printClosingTagEnd:HR,printOpeningTagPrefix:UR,printOpeningTagStart:qR}=Bj,{printElement:zR}=_R,{printChildren:VR}=rR;var WR={preprocess:ij,print:function(e,t,n){const r=e.getValue();switch(r.type){case"front-matter":return IR(r.raw);case"root":return t.__onHtmlRoot&&t.__onHtmlRoot(r),[TR(VR(e,t,n)),SR];case"element":case"ieConditionalComment":return zR(e,t,n);case"ieConditionalStartComment":case"ieConditionalEndComment":return[qR(r),HR(r)];case"interpolation":return[qR(r,t),...e.map(n,"children"),HR(r,t)];case"text":{if("interpolation"===r.parent.type){const e=/\n[^\S\n]*?$/,t=e.test(r.value),n=t?r.value.replace(e,""):r.value;return[...IR(n),t?SR:""]}const e=OR([UR(r,t),...LR(r),$R(r,t)]);return NR(e)||"fill"===e.type?kR(FR(e)):e}case"docType":return[TR([qR(r,t)," ",r.value.replace(/^html\b/i,"html").replace(/\s+/g," ")]),HR(r,t)];case"comment":return[UR(r,t),...IR(t.originalText.slice(BR(r),RR(r)),AR),$R(r,t)];case"attribute":{if(null===r.value)return r.rawName;const e=MR(r.value),t=PR(e,"'")({name:"Angular",since:"1.15.0",parsers:["angular"],vscodeLanguageIds:["html"],extensions:[".component.html"],filenames:[]})),id(YR,e=>({since:"1.15.0",parsers:["html"],vscodeLanguageIds:["html"],extensions:[...e.extensions,".mjml"]})),id(YR,()=>({name:"Lightning Web Components",since:"1.17.0",parsers:["lwc"],vscodeLanguageIds:["html"],extensions:[],filenames:[]})),id(XR,()=>({since:"1.10.0",parsers:["vue"],vscodeLanguageIds:["vue"]}))],printers:{html:WR},options:KR,parsers:void 0},QR={isPragma:function(e){return/^\s*@(?:prettier|format)\s*$/.test(e)},hasPragma:function(e){return/^\s*#[^\S\n]*@(?:prettier|format)\s*?(?:\n|$)/.test(e)},insertPragma:function(e){return"# @format\n\n"+e}},ZR={locStart:function(e){return e.position.start.offset},locEnd:function(e){return e.position.end.offset}},e$=function(e,t,n,r){if("root"===e.getValue().type&&r.filepath&&/(?:[/\\]|^)\.(?:prettier|stylelint)rc$/.test(r.filepath))return n(r.originalText,Object.assign(Object.assign({},r),{},{parser:"json"}))};const{getLast:t$,isNonEmptyArray:n$}=_i;function r$(e,t){return e&&"string"==typeof e.type&&(!t||t.includes(e.type))}function i$(e){return"prettier-ignore"===e.value.trim()}function o$(e){return e&&n$(e.leadingComments)}function s$(e){return e&&n$(e.middleComments)}function a$(e){return e&&e.indicatorComment}function u$(e){return e&&e.trailingComment}function l$(e){return e&&n$(e.endComments)}function c$(e){const t=[];let n;for(const r of e.split(/( +)/))" "!==r?" "===n?t.push(r):t.push((t.pop()||"")+r):void 0===n&&t.unshift(""),n=r;return" "===n&&t.push((t.pop()||"")+" "),""===t[0]&&(t.shift(),t.unshift(" "+(t.shift()||""))),t}var p$={getLast:t$,getAncestorCount:function(e,t){let n=0;const r=e.stack.length-1;for(let i=0;ie(r,n,t))}):t,r)},defineShortcut:function(e,t,n){Object.defineProperty(e,t,{get:n,enumerable:!1})},isNextLineEmpty:function(e,t){let n=0;const r=t.length;for(let i=e.position.end.offset-1;ie?e[1].length:Number.POSITIVE_INFINITY)(i.match(/^( *)\S/m)):e.indent-1+t,s=i.split("\n").map(e=>e.slice(o));return"preserve"===r.proseWrap||"blockLiteral"===e.type?a(s.map(e=>0===e.length?[]:[e])):a(s.map(e=>0===e.length?[]:c$(e)).reduce((e,t,n)=>0!==n&&s[n-1].length>0&&t.length>0&&!/^\s/.test(t[0])&&!/^\s|\s$/.test(t$(e))?[...e.slice(0,-1),[...t$(e),...t]]:[...e,t],[]).map(e=>e.reduce((e,t)=>e.length>0&&/\s$/.test(t$(e))?[...e.slice(0,-1),t$(e)+" "+t]:[...e,t],[])).map(e=>"never"===r.proseWrap?[e.join(" ")]:e));function a(t){if("keep"===e.chomping)return 0===t$(t).length?t.slice(0,-1):t;let r=0;for(let e=t.length-1;e>=0&&0===t[e].length;e--)r++;return 0===r?t:r>=2&&!n?t.slice(0,-(r-1)):t.slice(0,-r)}},getFlowScalarLineContents:function(e,t,n){const r=t.split("\n").map((e,t,n)=>0===t&&t===n.length-1?e:0!==t&&t!==n.length-1?e.trim():0===t?e.trimEnd():e.trimStart());return"preserve"===n.proseWrap?r.map(e=>0===e.length?[]:[e]):r.map(e=>0===e.length?[]:c$(e)).reduce((t,n,i)=>0!==i&&r[i-1].length>0&&n.length>0&&("quoteDouble"!==e||!t$(t$(t)).endsWith("\\"))?[...t.slice(0,-1),[...t$(t),...n]]:[...t,n],[]).map(e=>"never"===n.proseWrap?[e.join(" ")]:e)},getLastDescendantNode:function e(t){return n$(t.children)?e(t$(t.children)):t},hasPrettierIgnore:function(e){const t=e.getValue();if("documentBody"===t.type){const t=e.getParentNode();return l$(t.head)&&i$(t$(t.head.endComments))}return o$(t)&&i$(t$(t.leadingComments))},hasLeadingComments:o$,hasMiddleComments:s$,hasIndicatorComment:a$,hasTrailingComment:u$,hasEndComments:l$};const{defineShortcut:f$,mapNode:h$}=p$;function d$(e){switch(e.type){case"document":f$(e,"head",()=>e.children[0]),f$(e,"body",()=>e.children[1]);break;case"documentBody":case"sequenceItem":case"flowSequenceItem":case"mappingKey":case"mappingValue":f$(e,"content",()=>e.children[0]);break;case"mappingItem":case"flowMappingItem":f$(e,"key",()=>e.children[0]),f$(e,"value",()=>e.children[1])}return e}var m$=function(e){return h$(e,d$)};const{builders:{softline:g$,align:y$}}=uo,{hasEndComments:v$,isNextLineEmpty:b$,isNode:D$}=p$,w$=new WeakMap;function C$(e){return v$(e)&&!D$(e,["documentHead","documentBody","flowMapping","flowSequence"])}var x$={alignWithSpaces:function(e,t){return y$(" ".repeat(e),t)},shouldPrintEndComments:C$,printNextEmptyLine:function(e,t){const n=e.getValue(),r=e.stack[0];let i;return w$.has(r)?i=w$.get(r):(i=new Set,w$.set(r,i)),i.has(n.position.end.line)||(i.add(n.position.end.line),!b$(n,t)||C$(e.getParentNode()))?"":g$}};const{builders:{ifBreak:E$,line:_$,softline:k$,hardline:T$,join:S$}}=uo,{isEmptyNode:A$,getLast:O$,hasEndComments:F$}=p$,{printNextEmptyLine:N$,alignWithSpaces:I$}=x$;function P$(e,t,n){const r=e.getValue(),i="flowMapping"===r.type,o=i?"{":"[",s=i?"}":"]";let a=k$;i&&r.children.length>0&&n.bracketSpacing&&(a=_$);const u=O$(r.children),l=u&&"flowMappingItem"===u.type&&A$(u.key)&&A$(u.value);return[o,I$(n.tabWidth,[a,M$(e,t,n),"none"===n.trailingComma?"":E$(","),F$(r)?[T$,S$(T$,e.map(t,"endComments"))]:""]),l?"":a,s]}function M$(e,t,n){const r=e.getValue();return e.map((e,i)=>[t(),i===r.children.length-1?"":[",",_$,r.children[i].position.start.line!==r.children[i+1].position.start.line?N$(e,n.originalText):""]],"children")}var L$={printFlowMapping:P$,printFlowSequence:P$};const{builders:{conditionalGroup:j$,group:B$,hardline:R$,ifBreak:$$,join:H$,line:U$}}=uo,{hasLeadingComments:q$,hasMiddleComments:z$,hasTrailingComment:V$,hasEndComments:W$,isNode:G$,isEmptyNode:K$,isInlineNode:Y$}=p$,{alignWithSpaces:X$}=x$;function J$(e,t){if(!e)return!0;switch(e.type){case"plain":case"quoteSingle":case"quoteDouble":break;case"alias":return!0;default:return!1}if("preserve"===t.proseWrap)return e.position.start.line===e.position.end.line;if(/\\$/m.test(t.originalText.slice(e.position.start.offset,e.position.end.offset)))return!1;switch(t.proseWrap){case"never":return!e.value.includes("\n");case"always":return!/[\n ]/.test(e.value);default:return!1}}var Q$=function(e,t,n,r,i){const{key:o,value:s}=e,a=K$(o),u=K$(s);if(a&&u)return": ";const l=r("key"),c=function(e){return e.key.content&&"alias"===e.key.content.type}(e)?" ":"";if(u)return"flowMappingItem"===e.type&&"flowMapping"===t.type?l:"mappingItem"!==e.type||!J$(o.content,i)||V$(o.content)||t.tag&&"tag:yaml.org,2002:set"===t.tag.value?["? ",X$(2,l)]:[l,c,":"];const p=r("value");if(a)return[": ",X$(2,p)];if(q$(s)||!Y$(o.content))return["? ",X$(2,l),R$,H$("",n.map(r,"value","leadingComments").map(e=>[e,R$])),": ",X$(2,p)];if(function(e){if(!e)return!0;switch(e.type){case"plain":case"quoteDouble":case"quoteSingle":return e.position.start.line===e.position.end.line;case"alias":return!0;default:return!1}}(o.content)&&!q$(o.content)&&!z$(o.content)&&!V$(o.content)&&!W$(o)&&!q$(s.content)&&!z$(s.content)&&!W$(s)&&J$(s.content,i))return[l,c,": ",p];const f=Symbol("mappingKey"),h=B$([$$("? "),B$(X$(2,l),{id:f})]),d=[R$,": ",X$(2,p)],m=[c,":"];q$(s.content)||W$(s)&&s.content&&!G$(s.content,["mapping","sequence"])||"mapping"===t.type&&V$(o.content)&&Y$(s.content)||G$(s.content,["mapping","sequence"])&&null===s.content.tag&&null===s.content.anchor?m.push(R$):s.content&&m.push(U$),m.push(p);const g=X$(i.tabWidth,m);return!J$(o.content,i)||q$(o.content)||z$(o.content)||W$(o)?j$([[h,$$(d,g,{groupId:f})]]):j$([[l,g]])};const{builders:{dedent:Z$,dedentToRoot:eH,fill:tH,hardline:nH,join:rH,line:iH,literalline:oH,markAsRoot:sH},utils:{getDocParts:aH}}=uo,{getAncestorCount:uH,getBlockValueLineContents:lH,hasIndicatorComment:cH,isLastDescendantNode:pH,isNode:fH}=p$,{alignWithSpaces:hH}=x$;var dH=function(e,t,n){const r=e.getValue(),i=uH(e,e=>fH(e,["sequence","mapping"])),o=pH(e),s=["blockFolded"===r.type?">":"|"];null!==r.indent&&s.push(r.indent.toString()),"clip"!==r.chomping&&s.push("keep"===r.chomping?"+":"-"),cH(r)&&s.push(" ",t("indicatorComment"));const a=lH(r,{parentIndent:i,isLastDescendant:o,options:n}),u=[];for(const[l,c]of a.entries())0===l&&u.push(nH),u.push(tH(aH(rH(iH,c)))),l!==a.length-1?u.push(0===c.length?nH:sH(oH)):"keep"===r.chomping&&o&&u.push(eH(0===c.length?nH:oH));return null===r.indent?s.push(Z$(hH(n.tabWidth,u))):s.push(eH(hH(r.indent-1+i,u))),s};const{builders:{breakParent:mH,fill:gH,group:yH,hardline:vH,join:bH,line:DH,lineSuffix:wH,literalline:CH},utils:{getDocParts:xH,replaceTextEndOfLine:EH}}=uo,{isPreviousLineEmpty:_H}=_i,{insertPragma:kH,isPragma:TH}=QR,{locStart:SH}=ZR,{getFlowScalarLineContents:AH,getLastDescendantNode:OH,hasLeadingComments:FH,hasMiddleComments:NH,hasTrailingComment:IH,hasEndComments:PH,hasPrettierIgnore:MH,isLastDescendantNode:LH,isNode:jH,isInlineNode:BH}=p$,{alignWithSpaces:RH,printNextEmptyLine:$H,shouldPrintEndComments:HH}=x$,{printFlowMapping:UH,printFlowSequence:qH}=L$;function zH(e,t){return IH(e)||t&&(t.head.children.length>0||PH(t.head))}function VH(e,t,n){const r=AH(e,t,n);return bH(vH,r.map(e=>gH(xH(bH(DH,e)))))}var WH={preprocess:m$,embed:e$,print:function(e,t,n){const r=e.getValue(),i=[];"mappingValue"!==r.type&&FH(r)&&i.push([bH(vH,e.map(n,"leadingComments")),vH]);const{tag:o,anchor:s}=r;o&&i.push(n("tag")),o&&s&&i.push(" "),s&&i.push(n("anchor"));let a="";jH(r,["mapping","sequence","comment","directive","mappingItem","sequenceItem"])&&!LH(e)&&(a=$H(e,t.originalText)),(o||s)&&(jH(r,["sequence","mapping"])&&!NH(r)?i.push(vH):i.push(" ")),NH(r)&&i.push([1===r.middleComments.length?"":vH,bH(vH,e.map(n,"middleComments")),vH]);const u=e.getParentNode();return MH(e)?i.push(EH(t.originalText.slice(r.position.start.offset,r.position.end.offset).trimEnd(),CH)):i.push(yH(function(e,t,n,r,i){switch(e.type){case"root":{const{children:t}=e,r=[];n.each((e,n)=>{const o=t[n],s=t[n+1];0!==n&&r.push(vH),r.push(i()),zH(o,s)?(r.push(vH,"..."),IH(o)&&r.push(" ",i("trailingComment"))):s&&!IH(s.head)&&r.push(vH,"---")},"children");const o=OH(e);return jH(o,["blockLiteral","blockFolded"])&&"keep"===o.chomping||r.push(vH),r}case"document":{const o=[];return"head"===function(e,t,n,r){return n.children[0]===e&&/---(?:\s|$)/.test(r.originalText.slice(SH(e),SH(e)+4))||e.head.children.length>0||PH(e.head)||IH(e.head)?"head":!zH(e,t)&&(!!t&&"root")}(e,t.children[n.getName()+1],t,r)&&((e.head.children.length>0||e.head.endComments.length>0)&&o.push(i("head")),IH(e.head)?o.push(["---"," ",i(["head","trailingComment"])]):o.push("---")),function(e){return e.body.children.length>0||PH(e.body)}(e)&&o.push(i("body")),bH(vH,o)}case"documentHead":return bH(vH,[...n.map(i,"children"),...n.map(i,"endComments")]);case"documentBody":{const{children:t,endComments:r}=e;let o="";if(t.length>0&&r.length>0){const t=OH(e);jH(t,["blockFolded","blockLiteral"])?"keep"!==t.chomping&&(o=[vH,vH]):o=vH}return[bH(vH,n.map(i,"children")),o,bH(vH,n.map(i,"endComments"))]}case"directive":return["%",bH(" ",[e.name,...e.parameters])];case"comment":return["#",e.value];case"alias":return["*",e.value];case"tag":return r.originalText.slice(e.position.start.offset,e.position.end.offset);case"anchor":return["&",e.value];case"plain":return VH(e.type,r.originalText.slice(e.position.start.offset,e.position.end.offset),r);case"quoteDouble":case"quoteSingle":{const t="'",n='"',i=r.originalText.slice(e.position.start.offset+1,e.position.end.offset-1);if("quoteSingle"===e.type&&i.includes("\\")||"quoteDouble"===e.type&&/\\[^"]/.test(i)){const o="quoteDouble"===e.type?n:t;return[o,VH(e.type,i,r),o]}if(i.includes(n))return[t,VH(e.type,"quoteDouble"===e.type?i.replace(/\\"/g,n).replace(/'/g,t.repeat(2)):i,r),t];if(i.includes(t))return[n,VH(e.type,"quoteSingle"===e.type?i.replace(/''/g,t):i,r),n];const o=r.singleQuote?t:n;return[o,VH(e.type,i,r),o]}case"blockFolded":case"blockLiteral":return dH(n,i,r);case"mapping":case"sequence":return bH(vH,n.map(i,"children"));case"sequenceItem":return["- ",RH(2,e.content?i("content"):"")];case"mappingKey":case"mappingValue":return e.content?i("content"):"";case"mappingItem":case"flowMappingItem":return Q$(e,t,n,i,r);case"flowMapping":return UH(n,i,r);case"flowSequence":return qH(n,i,r);case"flowSequenceItem":return i("content");default:throw new Error("Unexpected node type "+e.type)}}(r,u,e,t,n))),IH(r)&&!jH(r,["document","documentHead"])&&i.push(wH(["mappingValue"!==r.type||r.content?" ":"","mappingKey"===u.type&&"mapping"===e.getParentNode(2).type&&BH(r)?"":mH,n("trailingComment")])),HH(r)&&i.push(RH("sequenceItem"===r.type?2:0,[vH,bH(vH,e.map(e=>[_H(t.originalText,e.getValue(),SH)?vH:"",n()],"endComments"))])),i.push(a),i},massageAstNode:function(e,t){if(jH(t))switch(delete t.position,t.type){case"comment":if(TH(t.value))return null;break;case"quoteDouble":case"quoteSingle":t.type="quote"}},insertPragma:kH},GH={bracketSpacing:QA.bracketSpacing,singleQuote:QA.singleQuote,proseWrap:QA.proseWrap},KH=[aO,hN,xI,zI,DM,JR,{languages:[id({name:"YAML",type:"data",color:"#cb171e",tmScope:"source.yaml",aliases:["yml"],extensions:[".yml",".mir",".reek",".rviz",".sublime-syntax",".syntax",".yaml",".yaml-tmlanguage",".yaml.sed",".yml.mysql"],filenames:[".clang-format",".clang-tidy",".gemrc","glide.lock","yarn.lock"],aceMode:"yaml",codemirrorMode:"yaml",codemirrorMimeType:"text/x-yaml",languageId:407},e=>({since:"1.14.0",parsers:["yaml"],vscodeLanguageIds:["yaml","ansible","home-assistant"],filenames:[...e.filenames.filter(e=>"yarn.lock"!==e),".prettierrc",".stylelintrc"]}))],printers:{yaml:WH},options:GH,parsers:void 0}];const{version:YH}=e,{getSupportInfo:XH}=si;function JH(e,t=1){return(...n)=>{const r=n[t]||{},i=r.plugins||[];return n[t]=Object.assign(Object.assign({},r),{},{plugins:[...KH,...Array.isArray(i)?i:Object.values(i)]}),e(...n)}}const QH=JH(Nh.formatWithCursor);return{formatWithCursor:QH,format:(e,t)=>QH(e,t).formatted,check(e,t){const{formatted:n}=QH(e,t);return n===e},doc:uo,getSupportInfo:JH(XH,0),version:YH,util:nd,__debug:{parse:JH(Nh.parse),formatAST:JH(Nh.formatAST),formatDoc:JH(Nh.formatDoc),printToDoc:JH(Nh.printToDoc),printDocToString:JH(Nh.printDocToString)}}}))}).call(this,n("c8ba"))},3397:function(e,t,n){var r=n("7a41");e.exports=function(e,t){if(!r(e))return e;var n,i;if(t&&"function"==typeof(n=e.toString)&&!r(i=n.call(e)))return i;if("function"==typeof(n=e.valueOf)&&!r(i=n.call(e)))return i;if(!t&&"function"==typeof(n=e.toString)&&!r(i=n.call(e)))return i;throw TypeError("Can't convert object to primitive value")}},"33b7":function(e,t,n){"use strict";var r=n("1431"),i=(n("44d1"),function(e,t,n){return t=Object.assign({decodeEntities:!1,_useHtmlParser2:!0},t),e=n(e),r.load(e,t)}),o=function(){var t=[],n=function(n){var r=e.exports.codeBlocks;return Object.keys(r).forEach((function(e){var i=new RegExp(r[e].start+"([\\S\\s]*?)"+r[e].end,"g");n=n.replace(i,(function(e,n){return t.push(e),"JUICE_CODE_BLOCK_"+(t.length-1)+"_"}))})),n},r=function(e){for(var n=0;n"},HBS:{start:"{{",end:"}}"}}},"342f":function(e,t,n){var r=n("d066");e.exports=r("navigator","userAgent")||""},3438:function(e,t,n){var r=n("164b");e.exports=r},3452:function(e,t,n){(function(t,r,i){e.exports=r(n("21bf"),n("3252"),n("17e1"),n("a8ce"),n("1132"),n("c1bc"),n("72fe"),n("df2f"),n("94f8"),n("191b"),n("d6e6"),n("b86b"),n("e61b"),n("10b7"),n("5980"),n("7bbc"),n("2b79"),n("38ba"),n("00bb"),n("f4ea"),n("aaef"),n("4ba9"),n("81bf"),n("a817"),n("a11b"),n("8cef"),n("2a66"),n("b86c"),n("6d08"),n("c198"),n("a40e"),n("c3b6"),n("1382"),n("3d5a"))})(0,(function(e){return e}))},"35a1":function(e,t,n){var r=n("f5df"),i=n("dc4a"),o=n("3f8c"),s=n("b622"),a=s("iterator");e.exports=function(e){if(void 0!=e)return i(e,a)||i(e,"@@iterator")||o[r(e)]}},"35ed":function(e,t,n){"use strict";const r=n("f64c"),i=n("b2b6"),o=n("1f05");class s extends r{constructor(e,t){super(e,t);const n=o.install(e.preprocessor,i,t);this.posTracker=n.posTracker}}e.exports=s},"37e8":function(e,t,n){var r=n("83ab"),i=n("9bf2"),o=n("825a"),s=n("fc6a"),a=n("df75");e.exports=r?Object.defineProperties:function(e,t){o(e);var n,r=s(t),u=a(t),l=u.length,c=0;while(l>c)i.f(e,n=u[c++],r[n]);return e}},3835:function(e,t,n){"use strict";function r(e){if(Array.isArray(e))return e}n.d(t,"a",(function(){return u}));n("a4d3"),n("e01a"),n("d3b7"),n("d28b"),n("3ca3"),n("ddb0");function i(e,t){var n=null==e?null:"undefined"!==typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,i,o=[],s=!0,a=!1;try{for(n=n.call(e);!(s=(r=n.next()).done);s=!0)if(o.push(r.value),t&&o.length===t)break}catch(u){a=!0,i=u}finally{try{s||null==n["return"]||n["return"]()}finally{if(a)throw i}}return o}}n("fb6a"),n("a630"),n("ac1f"),n("00b4");function o(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n>>2];e.sigBytes-=t}},y=(r.BlockCipher=p.extend({cfg:p.cfg.extend({mode:d,padding:g}),reset:function(){var e;p.reset.call(this);var t=this.cfg,n=t.iv,r=t.mode;this._xformMode==this._ENC_XFORM_MODE?e=r.createEncryptor:(e=r.createDecryptor,this._minBufferSize=1),this._mode&&this._mode.__creator==e?this._mode.init(this,n&&n.words):(this._mode=e.call(r,this,n&&n.words),this._mode.__creator=e)},_doProcessBlock:function(e,t){this._mode.processBlock(e,t)},_doFinalize:function(){var e,t=this.cfg.padding;return this._xformMode==this._ENC_XFORM_MODE?(t.pad(this._data,this.blockSize),e=this._process(!0)):(e=this._process(!0),t.unpad(e)),e},blockSize:4}),r.CipherParams=i.extend({init:function(e){this.mixIn(e)},toString:function(e){return(e||this.formatter).stringify(this)}})),v=n.format={},b=v.OpenSSL={stringify:function(e){var t,n=e.ciphertext,r=e.salt;return t=r?o.create([1398893684,1701076831]).concat(r).concat(n):n,t.toString(u)},parse:function(e){var t,n=u.parse(e),r=n.words;return 1398893684==r[0]&&1701076831==r[1]&&(t=o.create(r.slice(2,4)),r.splice(0,4),n.sigBytes-=16),y.create({ciphertext:n,salt:t})}},D=r.SerializableCipher=i.extend({cfg:i.extend({format:b}),encrypt:function(e,t,n,r){r=this.cfg.extend(r);var i=e.createEncryptor(n,r),o=i.finalize(t),s=i.cfg;return y.create({ciphertext:o,key:n,iv:s.iv,algorithm:e,mode:s.mode,padding:s.padding,blockSize:e.blockSize,formatter:r.format})},decrypt:function(e,t,n,r){r=this.cfg.extend(r),t=this._parse(t,r.format);var i=e.createDecryptor(n,r).finalize(t.ciphertext);return i},_parse:function(e,t){return"string"==typeof e?t.parse(e,this):e}}),w=n.kdf={},C=w.OpenSSL={execute:function(e,t,n,r){r||(r=o.random(8));var i=c.create({keySize:t+n}).compute(e,r),s=o.create(i.words.slice(t),4*n);return i.sigBytes=4*t,y.create({key:i,iv:s,salt:r})}},x=r.PasswordBasedCipher=D.extend({cfg:D.cfg.extend({kdf:C}),encrypt:function(e,t,n,r){r=this.cfg.extend(r);var i=r.kdf.execute(n,e.keySize,e.ivSize);r.iv=i.iv;var o=D.encrypt.call(this,e,t,i.key,r);return o.mixIn(i),o},decrypt:function(e,t,n,r){r=this.cfg.extend(r),t=this._parse(t,r.format);var i=r.kdf.execute(n,e.keySize,e.ivSize,t.salt);r.iv=i.iv;var o=D.decrypt.call(this,e,t,i.key,r);return o}})}()}))},3934:function(e,t,n){"use strict";var r=n("c532");e.exports=r.isStandardBrowserEnv()?function(){var e,t=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a");function i(e){var r=e;return t&&(n.setAttribute("href",r),r=n.href),n.setAttribute("href",r),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:"/"===n.pathname.charAt(0)?n.pathname:"/"+n.pathname}}return e=i(window.location.href),function(t){var n=r.isString(t)?i(t):t;return n.protocol===e.protocol&&n.host===e.host}}():function(){return function(){return!0}}()},"393a":function(e,t,n){"use strict";var r=n("e444"),i=n("512c"),o=n("ba01"),s=n("051b"),a=n("8a0d"),u=n("26dd"),l=n("92f0"),c=n("ce7a"),p=n("cc15")("iterator"),f=!([].keys&&"next"in[].keys()),h="@@iterator",d="keys",m="values",g=function(){return this};e.exports=function(e,t,n,y,v,b,D){u(n,t,y);var w,C,x,E=function(e){if(!f&&e in S)return S[e];switch(e){case d:return function(){return new n(this,e)};case m:return function(){return new n(this,e)}}return function(){return new n(this,e)}},_=t+" Iterator",k=v==m,T=!1,S=e.prototype,A=S[p]||S[h]||v&&S[v],O=A||E(v),F=v?k?E("entries"):O:void 0,N="Array"==t&&S.entries||A;if(N&&(x=c(N.call(new e)),x!==Object.prototype&&x.next&&(l(x,_,!0),r||"function"==typeof x[p]||s(x,p,g))),k&&A&&A.name!==m&&(T=!0,O=function(){return A.call(this)}),r&&!D||!f&&!T&&S[p]||s(S,p,O),a[t]=O,a[_]=g,v)if(w={values:k?O:E(m),keys:b?O:E(d),entries:F},D)for(C in w)C in S||o(S,C,w[C]);else i(i.P+i.F*(f||T),t,w);return w}},"39ad":function(e,t,n){var r=n("6ca1"),i=n("d16a"),o=n("9d11");e.exports=function(e){return function(t,n,s){var a,u=r(t),l=i(u.length),c=o(s,l);if(e&&n!=n){while(l>c)if(a=u[c++],a!=a)return!0}else for(;l>c;c++)if((e||c in u)&&u[c]===n)return e||c||0;return!e&&-1}}},"3a9b":function(e,t,n){var r=n("e330");e.exports=r({}.isPrototypeOf)},"3bbe":function(e,t,n){var r=n("da84"),i=n("1626"),o=r.String,s=r.TypeError;e.exports=function(e){if("object"==typeof e||i(e))return e;throw s("Can't set "+o(e)+" as a prototype")}},"3bf8":function(e,t,n){"use strict";const r=n("2158"),i=n("0744"),o=n("7c10"),s=n("5305"),a=s.TAG_NAMES,u=s.NAMESPACES,l={treeAdapter:r},c=/&/g,p=/\u00a0/g,f=/"/g,h=//g;class m{constructor(e,t){this.options=i(l,t),this.treeAdapter=this.options.treeAdapter,this.html="",this.startNode=e}serialize(){return this._serializeChildNodes(this.startNode),this.html}_serializeChildNodes(e){const t=this.treeAdapter.getChildNodes(e);if(t)for(let n=0,r=t.length;n",t!==a.AREA&&t!==a.BASE&&t!==a.BASEFONT&&t!==a.BGSOUND&&t!==a.BR&&t!==a.COL&&t!==a.EMBED&&t!==a.FRAME&&t!==a.HR&&t!==a.IMG&&t!==a.INPUT&&t!==a.KEYGEN&&t!==a.LINK&&t!==a.META&&t!==a.PARAM&&t!==a.SOURCE&&t!==a.TRACK&&t!==a.WBR){const r=t===a.TEMPLATE&&n===u.HTML?this.treeAdapter.getTemplateContent(e):e;this._serializeChildNodes(r),this.html+=""}}_serializeAttributes(e){const t=this.treeAdapter.getAttrList(e);for(let n=0,r=t.length;n"}}m.escapeString=function(e,t){return e=e.replace(c,"&").replace(p," "),e=t?e.replace(f,"""):e.replace(h,"<").replace(d,">"),e},e.exports=m},"3c35":function(e,t){(function(t){e.exports=t}).call(this,{})},"3c4e":function(e,t,n){"use strict";var r=function(e){return i(e)&&!o(e)};function i(e){return!!e&&"object"===typeof e}function o(e){var t=Object.prototype.toString.call(e);return"[object RegExp]"===t||"[object Date]"===t||u(e)}var s="function"===typeof Symbol&&Symbol.for,a=s?Symbol.for("react.element"):60103;function u(e){return e.$$typeof===a}function l(e){return Array.isArray(e)?[]:{}}function c(e,t){var n=t&&!0===t.clone;return n&&r(e)?h(l(e),e,t):e}function p(e,t,n){var i=e.slice();return t.forEach((function(t,o){"undefined"===typeof i[o]?i[o]=c(t,n):r(t)?i[o]=h(e[o],t,n):-1===e.indexOf(t)&&i.push(c(t,n))})),i}function f(e,t,n){var i={};return r(e)&&Object.keys(e).forEach((function(t){i[t]=c(e[t],n)})),Object.keys(t).forEach((function(o){r(t[o])&&e[o]?i[o]=h(e[o],t[o],n):i[o]=c(t[o],n)})),i}function h(e,t,n){var r=Array.isArray(t),i=Array.isArray(e),o=n||{arrayMerge:p},s=r===i;if(s){if(r){var a=o.arrayMerge||p;return a(e,t,n)}return f(e,t,n)}return c(t,n)}h.all=function(e,t){if(!Array.isArray(e)||e.length<2)throw new Error("first argument should be an array with at least two elements");return e.reduce((function(e,n){return h(e,n,t)}))};var d=h;e.exports=d},"3ca3":function(e,t,n){"use strict";var r=n("6547").charAt,i=n("577e"),o=n("69f3"),s=n("7dd0"),a="String Iterator",u=o.set,l=o.getterFor(a);s(String,"String",(function(e){u(this,{type:a,string:i(e),index:0})}),(function(){var e,t=l(this),n=t.string,i=t.index;return i>=n.length?{value:void 0,done:!0}:(e=r(n,i),t.index+=e.length,{value:e,done:!1})}))},"3d5a":function(e,t,n){(function(t,r,i){e.exports=r(n("21bf"),n("1132"),n("72fe"),n("2b79"),n("38ba"))})(0,(function(e){return function(){var t=e,n=t.lib,r=n.StreamCipher,i=t.algo,o=[],s=[],a=[],u=i.RabbitLegacy=r.extend({_doReset:function(){var e=this._key.words,t=this.cfg.iv,n=this._X=[e[0],e[3]<<16|e[2]>>>16,e[1],e[0]<<16|e[3]>>>16,e[2],e[1]<<16|e[0]>>>16,e[3],e[2]<<16|e[1]>>>16],r=this._C=[e[2]<<16|e[2]>>>16,4294901760&e[0]|65535&e[1],e[3]<<16|e[3]>>>16,4294901760&e[1]|65535&e[2],e[0]<<16|e[0]>>>16,4294901760&e[2]|65535&e[3],e[1]<<16|e[1]>>>16,4294901760&e[3]|65535&e[0]];this._b=0;for(var i=0;i<4;i++)l.call(this);for(i=0;i<8;i++)r[i]^=n[i+4&7];if(t){var o=t.words,s=o[0],a=o[1],u=16711935&(s<<8|s>>>24)|4278255360&(s<<24|s>>>8),c=16711935&(a<<8|a>>>24)|4278255360&(a<<24|a>>>8),p=u>>>16|4294901760&c,f=c<<16|65535&u;r[0]^=u,r[1]^=p,r[2]^=c,r[3]^=f,r[4]^=u,r[5]^=p,r[6]^=c,r[7]^=f;for(i=0;i<4;i++)l.call(this)}},_doProcessBlock:function(e,t){var n=this._X;l.call(this),o[0]=n[0]^n[5]>>>16^n[3]<<16,o[1]=n[2]^n[7]>>>16^n[5]<<16,o[2]=n[4]^n[1]>>>16^n[7]<<16,o[3]=n[6]^n[3]>>>16^n[1]<<16;for(var r=0;r<4;r++)o[r]=16711935&(o[r]<<8|o[r]>>>24)|4278255360&(o[r]<<24|o[r]>>>8),e[t+r]^=o[r]},blockSize:4,ivSize:2});function l(){for(var e=this._X,t=this._C,n=0;n<8;n++)s[n]=t[n];t[0]=t[0]+1295307597+this._b|0,t[1]=t[1]+3545052371+(t[0]>>>0>>0?1:0)|0,t[2]=t[2]+886263092+(t[1]>>>0>>0?1:0)|0,t[3]=t[3]+1295307597+(t[2]>>>0>>0?1:0)|0,t[4]=t[4]+3545052371+(t[3]>>>0>>0?1:0)|0,t[5]=t[5]+886263092+(t[4]>>>0>>0?1:0)|0,t[6]=t[6]+1295307597+(t[5]>>>0>>0?1:0)|0,t[7]=t[7]+3545052371+(t[6]>>>0>>0?1:0)|0,this._b=t[7]>>>0>>0?1:0;for(n=0;n<8;n++){var r=e[n]+t[n],i=65535&r,o=r>>>16,u=((i*i>>>17)+i*o>>>15)+o*o,l=((4294901760&r)*r|0)+((65535&r)*r|0);a[n]=u^l}e[0]=a[0]+(a[7]<<16|a[7]>>>16)+(a[6]<<16|a[6]>>>16)|0,e[1]=a[1]+(a[0]<<8|a[0]>>>24)+a[7]|0,e[2]=a[2]+(a[1]<<16|a[1]>>>16)+(a[0]<<16|a[0]>>>16)|0,e[3]=a[3]+(a[2]<<8|a[2]>>>24)+a[1]|0,e[4]=a[4]+(a[3]<<16|a[3]>>>16)+(a[2]<<16|a[2]>>>16)|0,e[5]=a[5]+(a[4]<<8|a[4]>>>24)+a[3]|0,e[6]=a[6]+(a[5]<<16|a[5]>>>16)+(a[4]<<16|a[4]>>>16)|0,e[7]=a[7]+(a[6]<<8|a[6]>>>24)+a[5]|0}t.RabbitLegacy=r._createHelper(u)}(),e.RabbitLegacy}))},"3f6b":function(e,t,n){e.exports={default:n("b9c7"),__esModule:!0}},"3f8c":function(e,t){e.exports={}},4010:function(e,t,n){"use strict";t.__esModule=!0,t.removeResizeListener=t.addResizeListener=void 0;var r=n("6dd8"),i=o(r);function o(e){return e&&e.__esModule?e:{default:e}}var s="undefined"===typeof window,a=function(e){var t=e,n=Array.isArray(t),r=0;for(t=n?t:t[Symbol.iterator]();;){var i;if(n){if(r>=t.length)break;i=t[r++]}else{if(r=t.next(),r.done)break;i=r.value}var o=i,s=o.target.__resizeListeners__||[];s.length&&s.forEach((function(e){e()}))}};t.addResizeListener=function(e,t){s||(e.__resizeListeners__||(e.__resizeListeners__=[],e.__ro__=new i.default(a),e.__ro__.observe(e)),e.__resizeListeners__.push(t))},t.removeResizeListener=function(e,t){e&&e.__resizeListeners__&&(e.__resizeListeners__.splice(e.__resizeListeners__.indexOf(t),1),e.__resizeListeners__.length||e.__ro__.disconnect())}},"408a":function(e,t,n){var r=n("e330");e.exports=r(1..valueOf)},4160:function(e,t,n){"use strict";var r=n("23e7"),i=n("17c2");r({target:"Array",proto:!0,forced:[].forEach!=i},{forEach:i})},"417f":function(e,t,n){"use strict";t.__esModule=!0;var r=n("2b0e"),i=s(r),o=n("5924");function s(e){return e&&e.__esModule?e:{default:e}}var a=[],u="@@clickoutsideContext",l=void 0,c=0;function p(e,t,n){return function(){var r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};!(n&&n.context&&r.target&&i.target)||e.contains(r.target)||e.contains(i.target)||e===r.target||n.context.popperElm&&(n.context.popperElm.contains(r.target)||n.context.popperElm.contains(i.target))||(t.expression&&e[u].methodName&&n.context[e[u].methodName]?n.context[e[u].methodName]():e[u].bindingFn&&e[u].bindingFn())}}!i.default.prototype.$isServer&&(0,o.on)(document,"mousedown",(function(e){return l=e})),!i.default.prototype.$isServer&&(0,o.on)(document,"mouseup",(function(e){a.forEach((function(t){return t[u].documentHandler(e,l)}))})),t.default={bind:function(e,t,n){a.push(e);var r=c++;e[u]={id:r,documentHandler:p(e,t,n),methodName:t.expression,bindingFn:t.value}},update:function(e,t,n){e[u].documentHandler=p(e,t,n),e[u].methodName=t.expression,e[u].bindingFn=t.value},unbind:function(e){for(var t=a.length,n=0;n=0;a--)(t.fontFaces&&"font-face"===o[a].type||t.mediaQueries&&"media"===o[a].type||t.keyFrames&&"keyframes"===o[a].type||t.pseudos&&o[a].selectors&&this.matchesPseudo(o[a].selectors[0],n))&&s.unshift(r.stringify({stylesheet:{rules:[o[a]]}},{comments:!1,indentation:" "})),o[a].position.start;return 0!==s.length&&"\n"+s.join("\n")+"\n"},t.normalizeLineEndings=function(e){return e.replace(/\r\n/g,"\n").replace(/\n/g,"\r\n")},t.matchesPseudo=function(e,t){return t.find((function(t){return e.indexOf(t)>-1}))},t.compareFunc=function(e,t){for(var n=Math.min(e.length,t.length),r=0;rt[r]?1:-1;return e.length-t.length},t.compare=function(e,n){return 1==t.compareFunc(e,n)?e:n},t.getDefaultOptions=function(e){var t=Object.assign({extraCss:"",insertPreservedExtraCss:!0,applyStyleTags:!0,removeStyleTags:!0,preserveMediaQueries:!0,preserveFontFaces:!0,preserveKeyFrames:!0,preservePseudos:!0,applyWidthAttributes:!0,applyHeightAttributes:!0,applyAttributesTableElements:!0,url:""},e);return t.webResources=t.webResources||{},t}},"44d2":function(e,t,n){var r=n("b622"),i=n("7c73"),o=n("9bf2"),s=r("unscopables"),a=Array.prototype;void 0==a[s]&&o.f(a,s,{configurable:!0,value:i(null)}),e.exports=function(e){a[s][e]=!0}},"44de":function(e,t,n){var r=n("da84");e.exports=function(e,t){var n=r.console;n&&n.error&&(1==arguments.length?n.error(e):n.error(e,t))}},"44e7":function(e,t,n){var r=n("861d"),i=n("c6b6"),o=n("b622"),s=o("match");e.exports=function(e){var t;return r(e)&&(void 0!==(t=e[s])?!!t:"RegExp"==i(e))}},"466b":function(e,t,n){"use strict";var r=n("33b7"),i=n("492c"),o=i((function(e,t){return r(e,{xmlMode:t&&t.xmlMode},s,[t])})),s=function(e,t){return o.juiceDocument(e,t)};o.inlineContent=function(e,t,n){return r(e,{xmlMode:n&&n.xmlMode},o.inlineDocument,[t,n])},e.exports=o},"466d":function(e,t,n){"use strict";var r=n("c65b"),i=n("d784"),o=n("825a"),s=n("50c4"),a=n("577e"),u=n("1d80"),l=n("dc4a"),c=n("8aa5"),p=n("14c3");i("match",(function(e,t,n){return[function(t){var n=u(this),i=void 0==t?void 0:l(t,e);return i?r(i,t,n):new RegExp(t)[e](a(n))},function(e){var r=o(this),i=a(e),u=n(t,r,i);if(u.done)return u.value;if(!r.global)return p(r,i);var l=r.unicode;r.lastIndex=0;var f,h=[],d=0;while(null!==(f=p(r,i))){var m=a(f[0]);h[d]=m,""===m&&(r.lastIndex=c(i,s(r.lastIndex),l)),d++}return 0===d?null:h}]}))},"467f":function(e,t,n){"use strict";var r=n("2d83");e.exports=function(e,t,n){var i=n.config.validateStatus;n.status&&i&&!i(n.status)?t(r("Request failed with status code "+n.status,n.config,null,n.request,n)):e(n)}},4726:function(e,t,n){e.exports=function(e){var t={};function n(r){if(t[r])return t[r].exports;var i=t[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"===typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)n.d(r,i,function(t){return e[t]}.bind(null,i));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e["default"]}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="/dist/",n(n.s=59)}({0:function(e,t,n){"use strict";function r(e,t,n,r,i,o,s,a){var u,l="function"===typeof e?e.options:e;if(t&&(l.render=t,l.staticRenderFns=n,l._compiled=!0),r&&(l.functional=!0),o&&(l._scopeId="data-v-"+o),s?(u=function(e){e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,e||"undefined"===typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),i&&i.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(s)},l._ssrRegister=u):i&&(u=a?function(){i.call(this,this.$root.$options.shadowRoot)}:i),u)if(l.functional){l._injectStyles=u;var c=l.render;l.render=function(e,t){return u.call(t),c(e,t)}}else{var p=l.beforeCreate;l.beforeCreate=p?[].concat(p,u):[u]}return{exports:e,options:l}}n.d(t,"a",(function(){return r}))},15:function(e,t){e.exports=n("14e9")},19:function(e,t){e.exports=n("dcdc")},21:function(e,t){e.exports=n("d397")},26:function(e,t){e.exports=n("92fa")},3:function(e,t){e.exports=n("8122")},31:function(e,t){e.exports=n("2a5e")},40:function(e,t){e.exports=n("e452")},51:function(e,t){e.exports=n("f494")},59:function(e,t,n){"use strict";n.r(t);var r=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{class:["el-cascader-panel",e.border&&"is-bordered"],on:{keydown:e.handleKeyDown}},e._l(e.menus,(function(e,t){return n("cascader-menu",{key:t,ref:"menu",refInFor:!0,attrs:{index:t,nodes:e}})})),1)},i=[];r._withStripped=!0;var o,s,a=n(26),u=n.n(a),l=n(15),c=n.n(l),p=n(19),f=n.n(p),h=n(51),d=n.n(h),m=n(3),g=function(e){return e.stopPropagation()},y={inject:["panel"],components:{ElCheckbox:f.a,ElRadio:d.a},props:{node:{required:!0},nodeId:String},computed:{config:function(){return this.panel.config},isLeaf:function(){return this.node.isLeaf},isDisabled:function(){return this.node.isDisabled},checkedValue:function(){return this.panel.checkedValue},isChecked:function(){return this.node.isSameNode(this.checkedValue)},inActivePath:function(){return this.isInPath(this.panel.activePath)},inCheckedPath:function(){var e=this;return!!this.config.checkStrictly&&this.panel.checkedNodePaths.some((function(t){return e.isInPath(t)}))},value:function(){return this.node.getValueByOption()}},methods:{handleExpand:function(){var e=this,t=this.panel,n=this.node,r=this.isDisabled,i=this.config,o=i.multiple,s=i.checkStrictly;!s&&r||n.loading||(i.lazy&&!n.loaded?t.lazyLoad(n,(function(){var t=e.isLeaf;if(t||e.handleExpand(),o){var r=!!t&&n.checked;e.handleMultiCheckChange(r)}})):t.handleExpand(n))},handleCheckChange:function(){var e=this.panel,t=this.value,n=this.node;e.handleCheckChange(t),e.handleExpand(n)},handleMultiCheckChange:function(e){this.node.doCheck(e),this.panel.calculateMultiCheckedValue()},isInPath:function(e){var t=this.node,n=e[t.level-1]||{};return n.uid===t.uid},renderPrefix:function(e){var t=this.isLeaf,n=this.isChecked,r=this.config,i=r.checkStrictly,o=r.multiple;return o?this.renderCheckbox(e):i?this.renderRadio(e):t&&n?this.renderCheckIcon(e):null},renderPostfix:function(e){var t=this.node,n=this.isLeaf;return t.loading?this.renderLoadingIcon(e):n?null:this.renderExpandIcon(e)},renderCheckbox:function(e){var t=this.node,n=this.config,r=this.isDisabled,i={on:{change:this.handleMultiCheckChange},nativeOn:{}};return n.checkStrictly&&(i.nativeOn.click=g),e("el-checkbox",u()([{attrs:{value:t.checked,indeterminate:t.indeterminate,disabled:r}},i]))},renderRadio:function(e){var t=this.checkedValue,n=this.value,r=this.isDisabled;return Object(m["isEqual"])(n,t)&&(n=t),e("el-radio",{attrs:{value:t,label:n,disabled:r},on:{change:this.handleCheckChange},nativeOn:{click:g}},[e("span")])},renderCheckIcon:function(e){return e("i",{class:"el-icon-check el-cascader-node__prefix"})},renderLoadingIcon:function(e){return e("i",{class:"el-icon-loading el-cascader-node__postfix"})},renderExpandIcon:function(e){return e("i",{class:"el-icon-arrow-right el-cascader-node__postfix"})},renderContent:function(e){var t=this.panel,n=this.node,r=t.renderLabelFn,i=r?r({node:n,data:n.data}):null;return e("span",{class:"el-cascader-node__label"},[i||n.label])}},render:function(e){var t=this,n=this.inActivePath,r=this.inCheckedPath,i=this.isChecked,o=this.isLeaf,s=this.isDisabled,a=this.config,l=this.nodeId,c=a.expandTrigger,p=a.checkStrictly,f=a.multiple,h=!p&&s,d={on:{}};return"click"===c?d.on.click=this.handleExpand:(d.on.mouseenter=function(e){t.handleExpand(),t.$emit("expand",e)},d.on.focus=function(e){t.handleExpand(),t.$emit("expand",e)}),!o||s||p||f||(d.on.click=this.handleCheckChange),e("li",u()([{attrs:{role:"menuitem",id:l,"aria-expanded":n,tabindex:h?null:-1},class:{"el-cascader-node":!0,"is-selectable":p,"in-active-path":n,"in-checked-path":r,"is-active":i,"is-disabled":h}},d]),[this.renderPrefix(e),this.renderContent(e),this.renderPostfix(e)])}},v=y,b=n(0),D=Object(b["a"])(v,o,s,!1,null,null,null);D.options.__file="packages/cascader-panel/src/cascader-node.vue";var w,C,x=D.exports,E=n(6),_=n.n(E),k={name:"ElCascaderMenu",mixins:[_.a],inject:["panel"],components:{ElScrollbar:c.a,CascaderNode:x},props:{nodes:{type:Array,required:!0},index:Number},data:function(){return{activeNode:null,hoverTimer:null,id:Object(m["generateId"])()}},computed:{isEmpty:function(){return!this.nodes.length},menuId:function(){return"cascader-menu-"+this.id+"-"+this.index}},methods:{handleExpand:function(e){this.activeNode=e.target},handleMouseMove:function(e){var t=this.activeNode,n=this.hoverTimer,r=this.$refs.hoverZone;if(t&&r)if(t.contains(e.target)){clearTimeout(n);var i=this.$el.getBoundingClientRect(),o=i.left,s=e.clientX-o,a=this.$el,u=a.offsetWidth,l=a.offsetHeight,c=t.offsetTop,p=c+t.offsetHeight;r.innerHTML='\n \n \n '}else n||(this.hoverTimer=setTimeout(this.clearHoverZone,this.panel.config.hoverThreshold))},clearHoverZone:function(){var e=this.$refs.hoverZone;e&&(e.innerHTML="")},renderEmptyText:function(e){return e("div",{class:"el-cascader-menu__empty-text"},[this.t("el.cascader.noData")])},renderNodeList:function(e){var t=this.menuId,n=this.panel.isHoverMenu,r={on:{}};n&&(r.on.expand=this.handleExpand);var i=this.nodes.map((function(n,i){var o=n.hasChildren;return e("cascader-node",u()([{key:n.uid,attrs:{node:n,"node-id":t+"-"+i,"aria-haspopup":o,"aria-owns":o?t:null}},r]))}));return[].concat(i,[n?e("svg",{ref:"hoverZone",class:"el-cascader-menu__hover-zone"}):null])}},render:function(e){var t=this.isEmpty,n=this.menuId,r={nativeOn:{}};return this.panel.isHoverMenu&&(r.nativeOn.mousemove=this.handleMouseMove),e("el-scrollbar",u()([{attrs:{tag:"ul",role:"menu",id:n,"wrap-class":"el-cascader-menu__wrap","view-class":{"el-cascader-menu__list":!0,"is-empty":t}},class:"el-cascader-menu"},r]),[t?this.renderEmptyText(e):this.renderNodeList(e)])}},T=k,S=Object(b["a"])(T,w,C,!1,null,null,null);S.options.__file="packages/cascader-panel/src/cascader-menu.vue";var A=S.exports,O=n(21),F=function(){function e(e,t){for(var n=0;n1?t-1:0),r=1;r1?r-1:0),o=1;o0},e.prototype.syncCheckState=function(e){var t=this.getValueByOption(),n=this.isSameNode(e,t);this.doCheck(n)},e.prototype.doCheck=function(e){this.checked!==e&&(this.config.checkStrictly?this.checked=e:(this.broadcast("check",e),this.setCheckState(e),this.emit("check")))},F(e,[{key:"isDisabled",get:function(){var e=this.data,t=this.parent,n=this.config,r=n.disabled,i=n.checkStrictly;return e[r]||!i&&t&&t.isDisabled}},{key:"isLeaf",get:function(){var e=this.data,t=this.loaded,n=this.hasChildren,r=this.children,i=this.config,o=i.lazy,s=i.leaf;if(o){var a=Object(O["isDef"])(e[s])?e[s]:!!t&&!r.length;return this.hasChildren=!a,a}return!n}}]),e}(),M=P;function L(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var j=function e(t,n){return t.reduce((function(t,r){return r.isLeaf?t.push(r):(!n&&t.push(r),t=t.concat(e(r.children,n))),t}),[])},B=function(){function e(t,n){L(this,e),this.config=n,this.initNodes(t)}return e.prototype.initNodes=function(e){var t=this;e=Object(m["coerceTruthyValueToArray"])(e),this.nodes=e.map((function(e){return new M(e,t.config)})),this.flattedNodes=this.getFlattedNodes(!1,!1),this.leafNodes=this.getFlattedNodes(!0,!1)},e.prototype.appendNode=function(e,t){var n=new M(e,this.config,t),r=t?t.children:this.nodes;r.push(n)},e.prototype.appendNodes=function(e,t){var n=this;e=Object(m["coerceTruthyValueToArray"])(e),e.forEach((function(e){return n.appendNode(e,t)}))},e.prototype.getNodes=function(){return this.nodes},e.prototype.getFlattedNodes=function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=e?this.leafNodes:this.flattedNodes;return t?n:j(this.nodes,e)},e.prototype.getNodeByValue=function(e){var t=this.getFlattedNodes(!1,!this.config.lazy).filter((function(t){return Object(m["valueEquals"])(t.path,e)||t.value===e}));return t&&t.length?t[0]:null},e}(),R=B,$=n(9),H=n.n($),U=n(40),q=n.n(U),z=n(31),V=n.n(z),W=Object.assign||function(e){for(var t=1;t0){var u=n.store.getNodeByValue(o);u.data[a]||n.lazyLoad(u,(function(){n.handleExpand(u)})),n.loadCount===n.checkedValue.length&&n.$parent.computePresentText()}}t&&t(r)};r.lazyLoad(e,i)},calculateMultiCheckedValue:function(){this.checkedValue=this.getCheckedNodes(this.leafOnly).map((function(e){return e.getValueByOption()}))},scrollIntoView:function(){if(!this.$isServer){var e=this.$refs.menu||[];e.forEach((function(e){var t=e.$el;if(t){var n=t.querySelector(".el-scrollbar__wrap"),r=t.querySelector(".el-cascader-node.is-active")||t.querySelector(".el-cascader-node.in-active-path");V()(n,r)}}))}},getNodeByValue:function(e){return this.store.getNodeByValue(e)},getFlattedNodes:function(e){var t=!this.config.lazy;return this.store.getFlattedNodes(e,t)},getCheckedNodes:function(e){var t=this.checkedValue,n=this.multiple;if(n){var r=this.getFlattedNodes(e);return r.filter((function(e){return e.checked}))}return this.isEmptyValue(t)?[]:[this.getNodeByValue(t)]},clearCheckedNodes:function(){var e=this.config,t=this.leafOnly,n=e.multiple,r=e.emitPath;n?(this.getCheckedNodes(t).filter((function(e){return!e.isDisabled})).forEach((function(e){return e.doCheck(!1)})),this.calculateMultiCheckedValue()):this.checkedValue=r?[]:null}}},te=ee,ne=Object(b["a"])(te,r,i,!1,null,null,null);ne.options.__file="packages/cascader-panel/src/cascader-panel.vue";var re=ne.exports;re.install=function(e){e.component(re.name,re)};t["default"]=re},6:function(e,t){e.exports=n("6b7c")},9:function(e,t){e.exports=n("7f4d")}})},4840:function(e,t,n){var r=n("825a"),i=n("5087"),o=n("b622"),s=o("species");e.exports=function(e,t){var n,o=r(e).constructor;return void 0===o||void 0==(n=r(o)[s])?t:i(n)}},"485a":function(e,t,n){var r=n("da84"),i=n("c65b"),o=n("1626"),s=n("861d"),a=r.TypeError;e.exports=function(e,t){var n,r;if("string"===t&&o(n=e.toString)&&!s(r=i(n,e)))return r;if(o(n=e.valueOf)&&!s(r=i(n,e)))return r;if("string"!==t&&o(n=e.toString)&&!s(r=i(n,e)))return r;throw a("Can't convert object to primitive value")}},4897:function(e,t,n){"use strict";t.__esModule=!0,t.i18n=t.use=t.t=void 0;var r=n("f0d9"),i=p(r),o=n("2b0e"),s=p(o),a=n("3c4e"),u=p(a),l=n("9d7e"),c=p(l);function p(e){return e&&e.__esModule?e:{default:e}}var f=(0,c.default)(s.default),h=i.default,d=!1,m=function(){var e=Object.getPrototypeOf(this||s.default).$t;if("function"===typeof e&&s.default.locale)return d||(d=!0,s.default.locale(s.default.config.lang,(0,u.default)(h,s.default.locale(s.default.config.lang)||{},{clone:!0}))),e.apply(this,arguments)},g=t.t=function(e,t){var n=m.apply(this,arguments);if(null!==n&&void 0!==n)return n;for(var r=e.split("."),i=h,o=0,s=r.length;o"+p+"")}}function h(n){var o=n[0],u=n[1],p=new r.Selector(o),f=p.parsed();if(f){for(var h,d=i(f),m=0;m=0)return}}if(d){var b=f[f.length-1],D=b.pseudos;b.pseudos=s(b.pseudos),o=f.toString(),b.pseudos=D}try{h=t(o)}catch(w){return}h.each((function(){var n=this;if(!(n.name&&e.nonVisualElements.indexOf(n.name.toUpperCase())>=0)){if(d){var i="pseudo"+d,o=n[i];o||(o=n[i]=t("").get(0),o.pseudoElementType=d,o.pseudoElementParent=n,n[i]=o),n=o}if(!n.styleProps){if(n.styleProps={},t(n).attr(c)){var s="* { "+t(n).attr(c)+" } ";f(r.parseCSS(s)[0][1],new r.Selector("