@nylas/web-elements 1.4.2 → 1.4.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cdn/nylas-scheduler-editor/nylas-scheduler-editor.es.js +56 -27
- package/dist/cdn/nylas-scheduling/nylas-scheduling.es.js +4842 -4822
- package/dist/cjs/checkmark-icon_15.cjs.entry.js +3 -3
- package/dist/cjs/checkmark-icon_15.cjs.entry.js.map +1 -1
- package/dist/cjs/google-logo-icon_6.cjs.entry.js +4 -4
- package/dist/cjs/input-component.cjs.entry.js +13 -2
- package/dist/cjs/input-component.cjs.entry.js.map +1 -1
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/nylas-booked-event-card_12.cjs.entry.js +40 -11
- package/dist/cjs/nylas-booked-event-card_12.cjs.entry.js.map +1 -1
- package/dist/cjs/nylas-event-calendar_3.cjs.entry.js +53 -24
- package/dist/cjs/nylas-event-calendar_3.cjs.entry.js.map +1 -1
- package/dist/cjs/nylas-provider.cjs.entry.js +1 -1
- package/dist/cjs/nylas-scheduling.cjs.entry.js +3 -3
- package/dist/cjs/nylas-web-elements.cjs.js +1 -1
- package/dist/cjs/{scheduler-store-d6f5cff3.js → scheduler-store-5dcefe7e.js} +2 -2
- package/dist/cjs/{scheduler-store-d6f5cff3.js.map → scheduler-store-5dcefe7e.js.map} +1 -1
- package/dist/collection/components/design-system/input-component/input-component.js +13 -2
- package/dist/collection/components/design-system/input-component/input-component.js.map +1 -1
- package/dist/collection/components/scheduler/nylas-date-picker/nylas-date-picker.js +40 -6
- package/dist/collection/components/scheduler/nylas-date-picker/nylas-date-picker.js.map +1 -1
- package/dist/collection/components/scheduler/nylas-timeslot-picker/nylas-timeslot-picker.js +8 -5
- package/dist/collection/components/scheduler/nylas-timeslot-picker/nylas-timeslot-picker.js.map +1 -1
- package/dist/collection/components/scheduler-editor/nylas-event-calendar/nylas-event-calendar.js +28 -17
- package/dist/collection/components/scheduler-editor/nylas-event-calendar/nylas-event-calendar.js.map +1 -1
- package/dist/collection/components/scheduler-editor/nylas-event-capacity/nylas-event-capacity.css +15 -0
- package/dist/collection/components/scheduler-editor/nylas-event-capacity/nylas-event-capacity.js +13 -2
- package/dist/collection/components/scheduler-editor/nylas-event-capacity/nylas-event-capacity.js.map +1 -1
- package/dist/collection/components/scheduler-editor/nylas-event-timeslot/nylas-event-timeslot.css +1 -1
- package/dist/collection/components/scheduler-editor/nylas-event-timeslot/nylas-event-timeslot.js +12 -4
- package/dist/collection/components/scheduler-editor/nylas-event-timeslot/nylas-event-timeslot.js.map +1 -1
- package/dist/collection/components/scheduler-editor/nylas-event-title/nylas-event-title.js +3 -3
- package/dist/collection/components/scheduler-editor/nylas-event-title/nylas-event-title.js.map +1 -1
- package/dist/components/index.es.js +1 -1
- package/dist/components/input-component2.js +13 -2
- package/dist/components/input-component2.js.map +1 -1
- package/dist/components/nylas-date-picker2.js +38 -8
- package/dist/components/nylas-date-picker2.js.map +1 -1
- package/dist/components/nylas-editor-tabs-group2.js +2 -2
- package/dist/components/nylas-editor-tabs2.js +2 -2
- package/dist/components/nylas-event-calendar2.js +29 -18
- package/dist/components/nylas-event-calendar2.js.map +1 -1
- package/dist/components/nylas-event-capacity2.js +14 -3
- package/dist/components/nylas-event-capacity2.js.map +1 -1
- package/dist/components/nylas-event-timeslot2.js +14 -6
- package/dist/components/nylas-event-timeslot2.js.map +1 -1
- package/dist/components/nylas-event-title2.js +3 -3
- package/dist/components/nylas-event-title2.js.map +1 -1
- package/dist/components/nylas-list-configurations2.js +1 -1
- package/dist/components/nylas-locale-switch2.js +1 -1
- package/dist/components/nylas-scheduler-editor.js +1 -1
- package/dist/components/nylas-scheduling.js +3 -3
- package/dist/components/nylas-timeslot-picker2.js +9 -6
- package/dist/components/nylas-timeslot-picker2.js.map +1 -1
- package/dist/components/scheduler-store.js +2 -2
- package/dist/components/utils.js +1 -1
- package/dist/esm/calendar-agenda-fill-icon_36.entry.js +2 -2
- package/dist/esm/checkmark-icon_15.entry.js +5 -5
- package/dist/esm/checkmark-icon_15.entry.js.map +1 -1
- package/dist/esm/{feedbackSync-aa8d23d1.js → feedbackSync-57bb471a.js} +2 -2
- package/dist/esm/{feedbackSync-aa8d23d1.js.map → feedbackSync-57bb471a.js.map} +1 -1
- package/dist/esm/globe-icon_2.entry.js +1 -1
- package/dist/esm/google-logo-icon_6.entry.js +7 -7
- package/dist/esm/{index.es-6d4b50d5.js → index.es-13ff6710.js} +2 -2
- package/dist/esm/{index.es-6d4b50d5.js.map → index.es-13ff6710.js.map} +1 -1
- package/dist/esm/index.js +2 -2
- package/dist/esm/input-component.entry.js +14 -3
- package/dist/esm/input-component.entry.js.map +1 -1
- package/dist/esm/input-dropdown_2.entry.js +1 -1
- package/dist/esm/loader.js +1 -1
- package/dist/esm/multi-select-dropdown_2.entry.js +1 -1
- package/dist/esm/{nylas-api-request-c5400df5.js → nylas-api-request-2e5f4c7f.js} +2 -2
- package/dist/esm/{nylas-api-request-c5400df5.js.map → nylas-api-request-2e5f4c7f.js.map} +1 -1
- package/dist/esm/nylas-booked-event-card_12.entry.js +42 -13
- package/dist/esm/nylas-booked-event-card_12.entry.js.map +1 -1
- package/dist/esm/nylas-event-calendar_3.entry.js +55 -26
- package/dist/esm/nylas-event-calendar_3.entry.js.map +1 -1
- package/dist/esm/nylas-form-card.entry.js +2 -2
- package/dist/esm/nylas-if-state.entry.js +2 -2
- package/dist/esm/nylas-login.entry.js +2 -2
- package/dist/esm/nylas-provider.entry.js +3 -3
- package/dist/esm/nylas-scheduler-editor.entry.js +3 -3
- package/dist/esm/nylas-scheduling.entry.js +6 -6
- package/dist/esm/nylas-web-elements.js +1 -1
- package/dist/esm/{register-component-238f28de.js → register-component-02a05665.js} +2 -2
- package/dist/esm/{register-component-238f28de.js.map → register-component-02a05665.js.map} +1 -1
- package/dist/esm/{scheduler-store-82bb212a.js → scheduler-store-fe9e85a4.js} +3 -3
- package/dist/esm/{scheduler-store-82bb212a.js.map → scheduler-store-fe9e85a4.js.map} +1 -1
- package/dist/esm/textarea-component.entry.js +1 -1
- package/dist/esm/{utils-7d962146.js → utils-e27d0e4b.js} +2 -2
- package/dist/esm/{utils-7d962146.js.map → utils-e27d0e4b.js.map} +1 -1
- package/dist/nylas-web-elements/index.esm.js +1 -1
- package/dist/nylas-web-elements/nylas-web-elements.esm.js +1 -1
- package/dist/nylas-web-elements/nylas-web-elements.esm.js.map +1 -1
- package/dist/nylas-web-elements/{p-12bf5148.js → p-189b24e6.js} +2 -2
- package/dist/nylas-web-elements/p-1cbe8a56.entry.js +2 -0
- package/dist/nylas-web-elements/{p-d132fbaa.entry.js.map → p-1cbe8a56.entry.js.map} +1 -1
- package/dist/nylas-web-elements/{p-fdc35ad8.entry.js → p-23971057.entry.js} +2 -2
- package/dist/nylas-web-elements/{p-ba831977.entry.js → p-2dd05606.entry.js} +2 -2
- package/dist/nylas-web-elements/{p-797578de.js → p-388c456c.js} +2 -2
- package/dist/nylas-web-elements/{p-cf650f4f.js → p-3ea1c7c9.js} +2 -2
- package/dist/nylas-web-elements/{p-de9d8218.entry.js → p-5f683e34.entry.js} +2 -2
- package/dist/nylas-web-elements/{p-c2b6e0ca.entry.js → p-68ab7563.entry.js} +2 -2
- package/dist/nylas-web-elements/p-68ab7563.entry.js.map +1 -0
- package/dist/nylas-web-elements/{p-ec2c12a9.js → p-6b7fb948.js} +2 -2
- package/dist/nylas-web-elements/{p-cfd42146.js → p-7477410d.js} +2 -2
- package/dist/nylas-web-elements/{p-b62ef1be.js → p-7d9cdd23.js} +2 -2
- package/dist/nylas-web-elements/{p-00577fba.entry.js → p-8a7a6947.entry.js} +2 -2
- package/dist/nylas-web-elements/p-97f87422.entry.js +2 -0
- package/dist/nylas-web-elements/p-97f87422.entry.js.map +1 -0
- package/dist/nylas-web-elements/{p-9999c233.entry.js → p-aaf12216.entry.js} +2 -2
- package/dist/nylas-web-elements/{p-a452d4ea.entry.js → p-b55a87fa.entry.js} +2 -2
- package/dist/nylas-web-elements/p-b55a87fa.entry.js.map +1 -0
- package/dist/nylas-web-elements/{p-888d0c66.entry.js → p-c5f86111.entry.js} +2 -2
- package/dist/nylas-web-elements/{p-dd98c443.entry.js → p-cc6dbd73.entry.js} +2 -2
- package/dist/nylas-web-elements/{p-b59288fd.entry.js → p-d5a2cec8.entry.js} +2 -2
- package/dist/nylas-web-elements/{p-83216795.entry.js → p-deb33dfb.entry.js} +2 -2
- package/dist/nylas-web-elements/{p-83216795.entry.js.map → p-deb33dfb.entry.js.map} +1 -1
- package/dist/nylas-web-elements/{p-2531d4fa.entry.js → p-e2dc32d9.entry.js} +2 -2
- package/dist/nylas-web-elements/{p-a263330c.entry.js → p-eedabd6a.entry.js} +2 -2
- package/dist/nylas-web-elements/{p-355b34cb.entry.js → p-f57e68b1.entry.js} +2 -2
- package/dist/types/components/scheduler/nylas-date-picker/nylas-date-picker.d.ts +4 -0
- package/dist/types/components/scheduler-editor/nylas-event-capacity/nylas-event-capacity.d.ts +1 -0
- package/package.json +4 -5
- package/CHANGELOG.md +0 -878
- package/dist/nylas-web-elements/p-203beca4.entry.js +0 -2
- package/dist/nylas-web-elements/p-203beca4.entry.js.map +0 -1
- package/dist/nylas-web-elements/p-a452d4ea.entry.js.map +0 -1
- package/dist/nylas-web-elements/p-c2b6e0ca.entry.js.map +0 -1
- package/dist/nylas-web-elements/p-d132fbaa.entry.js +0 -2
- /package/dist/nylas-web-elements/{p-12bf5148.js.map → p-189b24e6.js.map} +0 -0
- /package/dist/nylas-web-elements/{p-fdc35ad8.entry.js.map → p-23971057.entry.js.map} +0 -0
- /package/dist/nylas-web-elements/{p-ba831977.entry.js.map → p-2dd05606.entry.js.map} +0 -0
- /package/dist/nylas-web-elements/{p-797578de.js.map → p-388c456c.js.map} +0 -0
- /package/dist/nylas-web-elements/{p-cf650f4f.js.map → p-3ea1c7c9.js.map} +0 -0
- /package/dist/nylas-web-elements/{p-de9d8218.entry.js.map → p-5f683e34.entry.js.map} +0 -0
- /package/dist/nylas-web-elements/{p-ec2c12a9.js.map → p-6b7fb948.js.map} +0 -0
- /package/dist/nylas-web-elements/{p-cfd42146.js.map → p-7477410d.js.map} +0 -0
- /package/dist/nylas-web-elements/{p-b62ef1be.js.map → p-7d9cdd23.js.map} +0 -0
- /package/dist/nylas-web-elements/{p-00577fba.entry.js.map → p-8a7a6947.entry.js.map} +0 -0
- /package/dist/nylas-web-elements/{p-9999c233.entry.js.map → p-aaf12216.entry.js.map} +0 -0
- /package/dist/nylas-web-elements/{p-888d0c66.entry.js.map → p-c5f86111.entry.js.map} +0 -0
- /package/dist/nylas-web-elements/{p-dd98c443.entry.js.map → p-cc6dbd73.entry.js.map} +0 -0
- /package/dist/nylas-web-elements/{p-b59288fd.entry.js.map → p-d5a2cec8.entry.js.map} +0 -0
- /package/dist/nylas-web-elements/{p-2531d4fa.entry.js.map → p-e2dc32d9.entry.js.map} +0 -0
- /package/dist/nylas-web-elements/{p-a263330c.entry.js.map → p-eedabd6a.entry.js.map} +0 -0
- /package/dist/nylas-web-elements/{p-355b34cb.entry.js.map → p-f57e68b1.entry.js.map} +0 -0
|
@@ -10,5 +10,5 @@ import{c as e,g as t,d as n,a as i,u as r}from"./p-c79dcb59.js";const o=typeof g
|
|
|
10
10
|
*
|
|
11
11
|
* Copyright (c) 2014-2017, Jon Schlinkert.
|
|
12
12
|
* Released under the MIT License.
|
|
13
|
-
*/function OP(e){return Object.prototype.toString.call(e)==="[object Object]"}function RP(e){var t,n;if(OP(e)===false)return false;t=e.constructor;if(t===undefined)return true;n=t.prototype;if(OP(n)===false)return false;if(n.hasOwnProperty("isPrototypeOf")===false){return false}return true}const IP=Object.freeze({__proto__:null,isPlainObject:RP});const NP=t(IP);var jP=function e(t){return zP(t)&&!FP(t)};function zP(e){return!!e&&typeof e==="object"}function FP(e){var t=Object.prototype.toString.call(e);return t==="[object RegExp]"||t==="[object Date]"||YP(e)}var UP=typeof Symbol==="function"&&Symbol.for;var qP=UP?Symbol.for("react.element"):60103;function YP(e){return e.$$typeof===qP}function HP(e){return Array.isArray(e)?[]:{}}function VP(e,t){return t.clone!==false&&t.isMergeableObject(e)?XP(HP(e),e,t):e}function $P(e,t,n){return e.concat(t).map((function(e){return VP(e,n)}))}function GP(e,t){if(!t.customMerge){return XP}var n=t.customMerge(e);return typeof n==="function"?n:XP}function WP(e){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e).filter((function(t){return Object.propertyIsEnumerable.call(e,t)})):[]}function KP(e){return Object.keys(e).concat(WP(e))}function ZP(e,t){try{return t in e}catch(e){return false}}function JP(e,t){return ZP(e,t)&&!(Object.hasOwnProperty.call(e,t)&&Object.propertyIsEnumerable.call(e,t))}function QP(e,t,n){var i={};if(n.isMergeableObject(e)){KP(e).forEach((function(t){i[t]=VP(e[t],n)}))}KP(t).forEach((function(r){if(JP(e,r)){return}if(ZP(e,r)&&n.isMergeableObject(t[r])){i[r]=GP(r,n)(e[r],t[r],n)}else{i[r]=VP(t[r],n)}}));return i}function XP(e,t,n){n=n||{};n.arrayMerge=n.arrayMerge||$P;n.isMergeableObject=n.isMergeableObject||jP;n.cloneUnlessOtherwiseSpecified=VP;var i=Array.isArray(t);var r=Array.isArray(e);var o=i===r;if(!o){return VP(t,n)}else if(i){return n.arrayMerge(e,t,n)}else{return QP(e,t,n)}}XP.all=function e(t,n){if(!Array.isArray(t)){throw new Error("first argument should be an array")}return t.reduce((function(e,t){return XP(e,t,n)}),{})};var eD=XP;var tD=eD;var nD={exports:{}};(function(t){(function(e,n){if(t.exports){t.exports=n()}else{e.parseSrcset=n()}})(e,(function(){return function(e){function t(e){return e===" "||e==="\t"||e==="\n"||e==="\f"||e==="\r"}function n(t){var n,i=t.exec(e.substring(m));if(i){n=i[0];m+=n.length;return n}}var i=e.length,r=/^[ \t\n\r\u000c]+/,o=/^[, \t\n\r\u000c]+/,a=/^[^ \t\n\r\u000c]+/,s=/[,]+$/,l=/^\d+$/,c=/^-?(?:[0-9]+|[0-9]*\.[0-9]+)(?:[eE][+-]?[0-9]+)?$/,u,d,h,f,g,m=0,p=[];while(true){n(o);if(m>=i){return p}u=n(a);d=[];if(u.slice(-1)===","){u=u.replace(s,"");v()}else{b()}}function b(){n(r);h="";f="in descriptor";while(true){g=e.charAt(m);if(f==="in descriptor"){if(t(g)){if(h){d.push(h);h="";f="after descriptor"}}else if(g===","){m+=1;if(h){d.push(h)}v();return}else if(g==="("){h=h+g;f="in parens"}else if(g===""){if(h){d.push(h)}v();return}else{h=h+g}}else if(f==="in parens"){if(g===")"){h=h+g;f="in descriptor"}else if(g===""){d.push(h);v();return}else{h=h+g}}else if(f==="after descriptor"){if(t(g));else if(g===""){v();return}else{f="in descriptor";m-=1}}m+=1}}function v(){var t=false,n,i,r,o,a={},s,h,f,g,m;for(o=0;o<d.length;o++){s=d[o];h=s[s.length-1];f=s.substring(0,s.length-1);g=parseInt(f,10);m=parseFloat(f);if(l.test(f)&&h==="w"){if(n||i){t=true}if(g===0){t=true}else{n=g}}else if(c.test(f)&&h==="x"){if(n||i||r){t=true}if(m<0){t=true}else{i=m}}else if(l.test(f)&&h==="h"){if(r||i){t=true}if(g===0){t=true}else{r=g}}else{t=true}}if(!t){a.url=u;if(n){a.w=n}if(i){a.d=i}if(r){a.h=r}p.push(a)}else if(console&&console.log){console.log("Invalid srcset descriptor found in '"+e+"' at '"+s+"'.")}}}}))})(nD);var iD=e.process;var rD={exports:{}};var oD=String;var aD=function(){return{isColorSupported:false,reset:oD,bold:oD,dim:oD,italic:oD,underline:oD,inverse:oD,hidden:oD,strikethrough:oD,black:oD,red:oD,green:oD,yellow:oD,blue:oD,magenta:oD,cyan:oD,white:oD,gray:oD,bgBlack:oD,bgRed:oD,bgGreen:oD,bgYellow:oD,bgBlue:oD,bgMagenta:oD,bgCyan:oD,bgWhite:oD,blackBright:oD,redBright:oD,greenBright:oD,yellowBright:oD,blueBright:oD,magentaBright:oD,cyanBright:oD,whiteBright:oD,bgBlackBright:oD,bgRedBright:oD,bgGreenBright:oD,bgYellowBright:oD,bgBlueBright:oD,bgMagentaBright:oD,bgCyanBright:oD,bgWhiteBright:oD}};rD.exports=aD();rD.exports.createColors=aD;const sD={};const lD=Object.freeze({__proto__:null,default:sD});const cD=t(lD);let uD=rD.exports;let dD=cD;class hD extends Error{constructor(e,t,n,i,r,o){super(e);this.name="CssSyntaxError";this.reason=e;if(r){this.file=r}if(i){this.source=i}if(o){this.plugin=o}if(typeof t!=="undefined"&&typeof n!=="undefined"){if(typeof t==="number"){this.line=t;this.column=n}else{this.line=t.line;this.column=t.column;this.endLine=n.line;this.endColumn=n.column}}this.setMessage();if(Error.captureStackTrace){Error.captureStackTrace(this,hD)}}setMessage(){this.message=this.plugin?this.plugin+": ":"";this.message+=this.file?this.file:"<css input>";if(typeof this.line!=="undefined"){this.message+=":"+this.line+":"+this.column}this.message+=": "+this.reason}showSourceCode(e){if(!this.source)return"";let t=this.source;if(e==null)e=uD.isColorSupported;let n=e=>e;let i=e=>e;let r=e=>e;if(e){let{bold:e,gray:t,red:o}=uD.createColors(true);i=t=>e(o(t));n=e=>t(e);if(dD){r=e=>dD(e)}}let o=t.split(/\r?\n/);let a=Math.max(this.line-3,0);let s=Math.min(this.line+2,o.length);let l=String(s).length;return o.slice(a,s).map(((e,t)=>{let o=a+1+t;let s=" "+(" "+o).slice(-l)+" | ";if(o===this.line){if(e.length>160){let t=20;let o=Math.max(0,this.column-t);let a=Math.max(this.column+t,this.endColumn+t);let l=e.slice(o,a);let c=n(s.replace(/\d/g," "))+e.slice(0,Math.min(this.column-1,t-1)).replace(/[^\t]/g," ");return i(">")+n(s)+r(l)+"\n "+c+i("^")}let t=n(s.replace(/\d/g," "))+e.slice(0,this.column-1).replace(/[^\t]/g," ");return i(">")+n(s)+r(e)+"\n "+t+i("^")}return" "+n(s)+r(e)})).join("\n")}toString(){let e=this.showSourceCode();if(e){e="\n\n"+e+"\n"}return this.name+": "+this.message+e}}var fD=hD;hD.default=hD;const gD={after:"\n",beforeClose:"\n",beforeComment:"\n",beforeDecl:"\n",beforeOpen:" ",beforeRule:"\n",colon:": ",commentLeft:" ",commentRight:" ",emptyBody:"",indent:" ",semicolon:false};function mD(e){return e[0].toUpperCase()+e.slice(1)}class pD{constructor(e){this.builder=e}atrule(e,t){let n="@"+e.name;let i=e.params?this.rawValue(e,"params"):"";if(typeof e.raws.afterName!=="undefined"){n+=e.raws.afterName}else if(i){n+=" "}if(e.nodes){this.block(e,n+i)}else{let r=(e.raws.between||"")+(t?";":"");this.builder(n+i+r,e)}}beforeAfter(e,t){let n;if(e.type==="decl"){n=this.raw(e,null,"beforeDecl")}else if(e.type==="comment"){n=this.raw(e,null,"beforeComment")}else if(t==="before"){n=this.raw(e,null,"beforeRule")}else{n=this.raw(e,null,"beforeClose")}let i=e.parent;let r=0;while(i&&i.type!=="root"){r+=1;i=i.parent}if(n.includes("\n")){let t=this.raw(e,null,"indent");if(t.length){for(let e=0;e<r;e++)n+=t}}return n}block(e,t){let n=this.raw(e,"between","beforeOpen");this.builder(t+n+"{",e,"start");let i;if(e.nodes&&e.nodes.length){this.body(e);i=this.raw(e,"after")}else{i=this.raw(e,"after","emptyBody")}if(i)this.builder(i);this.builder("}",e,"end")}body(e){let t=e.nodes.length-1;while(t>0){if(e.nodes[t].type!=="comment")break;t-=1}let n=this.raw(e,"semicolon");for(let i=0;i<e.nodes.length;i++){let r=e.nodes[i];let o=this.raw(r,"before");if(o)this.builder(o);this.stringify(r,t!==i||n)}}comment(e){let t=this.raw(e,"left","commentLeft");let n=this.raw(e,"right","commentRight");this.builder("/*"+t+e.text+n+"*/",e)}decl(e,t){let n=this.raw(e,"between","colon");let i=e.prop+n+this.rawValue(e,"value");if(e.important){i+=e.raws.important||" !important"}if(t)i+=";";this.builder(i,e)}document(e){this.body(e)}raw(e,t,n){let i;if(!n)n=t;if(t){i=e.raws[t];if(typeof i!=="undefined")return i}let r=e.parent;if(n==="before"){if(!r||r.type==="root"&&r.first===e){return""}if(r&&r.type==="document"){return""}}if(!r)return gD[n];let o=e.root();if(!o.rawCache)o.rawCache={};if(typeof o.rawCache[n]!=="undefined"){return o.rawCache[n]}if(n==="before"||n==="after"){return this.beforeAfter(e,n)}else{let r="raw"+mD(n);if(this[r]){i=this[r](o,e)}else{o.walk((e=>{i=e.raws[t];if(typeof i!=="undefined")return false}))}}if(typeof i==="undefined")i=gD[n];o.rawCache[n]=i;return i}rawBeforeClose(e){let t;e.walk((e=>{if(e.nodes&&e.nodes.length>0){if(typeof e.raws.after!=="undefined"){t=e.raws.after;if(t.includes("\n")){t=t.replace(/[^\n]+$/,"")}return false}}}));if(t)t=t.replace(/\S/g,"");return t}rawBeforeComment(e,t){let n;e.walkComments((e=>{if(typeof e.raws.before!=="undefined"){n=e.raws.before;if(n.includes("\n")){n=n.replace(/[^\n]+$/,"")}return false}}));if(typeof n==="undefined"){n=this.raw(t,null,"beforeDecl")}else if(n){n=n.replace(/\S/g,"")}return n}rawBeforeDecl(e,t){let n;e.walkDecls((e=>{if(typeof e.raws.before!=="undefined"){n=e.raws.before;if(n.includes("\n")){n=n.replace(/[^\n]+$/,"")}return false}}));if(typeof n==="undefined"){n=this.raw(t,null,"beforeRule")}else if(n){n=n.replace(/\S/g,"")}return n}rawBeforeOpen(e){let t;e.walk((e=>{if(e.type!=="decl"){t=e.raws.between;if(typeof t!=="undefined")return false}}));return t}rawBeforeRule(e){let t;e.walk((n=>{if(n.nodes&&(n.parent!==e||e.first!==n)){if(typeof n.raws.before!=="undefined"){t=n.raws.before;if(t.includes("\n")){t=t.replace(/[^\n]+$/,"")}return false}}}));if(t)t=t.replace(/\S/g,"");return t}rawColon(e){let t;e.walkDecls((e=>{if(typeof e.raws.between!=="undefined"){t=e.raws.between.replace(/[^\s:]/g,"");return false}}));return t}rawEmptyBody(e){let t;e.walk((e=>{if(e.nodes&&e.nodes.length===0){t=e.raws.after;if(typeof t!=="undefined")return false}}));return t}rawIndent(e){if(e.raws.indent)return e.raws.indent;let t;e.walk((n=>{let i=n.parent;if(i&&i!==e&&i.parent&&i.parent===e){if(typeof n.raws.before!=="undefined"){let e=n.raws.before.split("\n");t=e[e.length-1];t=t.replace(/\S/g,"");return false}}}));return t}rawSemicolon(e){let t;e.walk((e=>{if(e.nodes&&e.nodes.length&&e.last.type==="decl"){t=e.raws.semicolon;if(typeof t!=="undefined")return false}}));return t}rawValue(e,t){let n=e[t];let i=e.raws[t];if(i&&i.value===n){return i.raw}return n}root(e){this.body(e);if(e.raws.after)this.builder(e.raws.after)}rule(e){this.block(e,this.rawValue(e,"selector"));if(e.raws.ownSemicolon){this.builder(e.raws.ownSemicolon,e,"end")}}stringify(e,t){if(!this[e.type]){throw new Error("Unknown AST node type "+e.type+". "+"Maybe you need to change PostCSS stringifier.")}this[e.type](e,t)}}var bD=pD;pD.default=pD;let vD=bD;function yD(e,t){let n=new vD(t);n.stringify(e)}var kD=yD;yD.default=yD;var TD={};TD.isClean=Symbol("isClean");TD.my=Symbol("my");let wD=fD;let ED=bD;let BD=kD;let{isClean:SD,my:CD}=TD;function MD(e,t){let n=new e.constructor;for(let i in e){if(!Object.prototype.hasOwnProperty.call(e,i)){continue}if(i==="proxyCache")continue;let r=e[i];let o=typeof r;if(i==="parent"&&o==="object"){if(t)n[i]=t}else if(i==="source"){n[i]=r}else if(Array.isArray(r)){n[i]=r.map((e=>MD(e,n)))}else{if(o==="object"&&r!==null)r=MD(r);n[i]=r}}return n}function _D(e,t){if(t&&typeof t.offset!=="undefined"){return t.offset}let n=1;let i=1;let r=0;for(let o=0;o<e.length;o++){if(i===t.line&&n===t.column){r=o;break}if(e[o]==="\n"){n=1;i+=1}else{n+=1}}return r}class PD{constructor(e={}){this.raws={};this[SD]=false;this[CD]=true;for(let t in e){if(t==="nodes"){this.nodes=[];for(let n of e[t]){if(typeof n.clone==="function"){this.append(n.clone())}else{this.append(n)}}}else{this[t]=e[t]}}}addToError(e){e.postcssNode=this;if(e.stack&&this.source&&/\n\s{4}at /.test(e.stack)){let t=this.source;e.stack=e.stack.replace(/\n\s{4}at /,`$&${t.input.from}:${t.start.line}:${t.start.column}$&`)}return e}after(e){this.parent.insertAfter(this,e);return this}assign(e={}){for(let t in e){this[t]=e[t]}return this}before(e){this.parent.insertBefore(this,e);return this}cleanRaws(e){delete this.raws.before;delete this.raws.after;if(!e)delete this.raws.between}clone(e={}){let t=MD(this);for(let n in e){t[n]=e[n]}return t}cloneAfter(e={}){let t=this.clone(e);this.parent.insertAfter(this,t);return t}cloneBefore(e={}){let t=this.clone(e);this.parent.insertBefore(this,t);return t}error(e,t={}){if(this.source){let{end:n,start:i}=this.rangeBy(t);return this.source.input.error(e,{column:i.column,line:i.line},{column:n.column,line:n.line},t)}return new wD(e)}getProxyProcessor(){return{get(e,t){if(t==="proxyOf"){return e}else if(t==="root"){return()=>e.root().toProxy()}else{return e[t]}},set(e,t,n){if(e[t]===n)return true;e[t]=n;if(t==="prop"||t==="value"||t==="name"||t==="params"||t==="important"||t==="text"){e.markDirty()}return true}}}markClean(){this[SD]=true}markDirty(){if(this[SD]){this[SD]=false;let e=this;while(e=e.parent){e[SD]=false}}}next(){if(!this.parent)return undefined;let e=this.parent.index(this);return this.parent.nodes[e+1]}positionBy(e){let t=this.source.start;if(e.index){t=this.positionInside(e.index)}else if(e.word){let n=this.source.input.css.slice(_D(this.source.input.css,this.source.start),_D(this.source.input.css,this.source.end));let i=n.indexOf(e.word);if(i!==-1)t=this.positionInside(i)}return t}positionInside(e){let t=this.source.start.column;let n=this.source.start.line;let i=_D(this.source.input.css,this.source.start);let r=i+e;for(let e=i;e<r;e++){if(this.source.input.css[e]==="\n"){t=1;n+=1}else{t+=1}}return{column:t,line:n}}prev(){if(!this.parent)return undefined;let e=this.parent.index(this);return this.parent.nodes[e-1]}rangeBy(e){let t={column:this.source.start.column,line:this.source.start.line};let n=this.source.end?{column:this.source.end.column+1,line:this.source.end.line}:{column:t.column+1,line:t.line};if(e.word){let i=this.source.input.css.slice(_D(this.source.input.css,this.source.start),_D(this.source.input.css,this.source.end));let r=i.indexOf(e.word);if(r!==-1){t=this.positionInside(r);n=this.positionInside(r+e.word.length)}}else{if(e.start){t={column:e.start.column,line:e.start.line}}else if(e.index){t=this.positionInside(e.index)}if(e.end){n={column:e.end.column,line:e.end.line}}else if(typeof e.endIndex==="number"){n=this.positionInside(e.endIndex)}else if(e.index){n=this.positionInside(e.index+1)}}if(n.line<t.line||n.line===t.line&&n.column<=t.column){n={column:t.column+1,line:t.line}}return{end:n,start:t}}raw(e,t){let n=new ED;return n.raw(this,e,t)}remove(){if(this.parent){this.parent.removeChild(this)}this.parent=undefined;return this}replaceWith(...e){if(this.parent){let t=this;let n=false;for(let i of e){if(i===this){n=true}else if(n){this.parent.insertAfter(t,i);t=i}else{this.parent.insertBefore(t,i)}}if(!n){this.remove()}}return this}root(){let e=this;while(e.parent&&e.parent.type!=="document"){e=e.parent}return e}toJSON(e,t){let n={};let i=t==null;t=t||new Map;let r=0;for(let e in this){if(!Object.prototype.hasOwnProperty.call(this,e)){continue}if(e==="parent"||e==="proxyCache")continue;let i=this[e];if(Array.isArray(i)){n[e]=i.map((e=>{if(typeof e==="object"&&e.toJSON){return e.toJSON(null,t)}else{return e}}))}else if(typeof i==="object"&&i.toJSON){n[e]=i.toJSON(null,t)}else if(e==="source"){let o=t.get(i.input);if(o==null){o=r;t.set(i.input,r);r++}n[e]={end:i.end,inputId:o,start:i.start}}else{n[e]=i}}if(i){n.inputs=[...t.keys()].map((e=>e.toJSON()))}return n}toProxy(){if(!this.proxyCache){this.proxyCache=new Proxy(this,this.getProxyProcessor())}return this.proxyCache}toString(e=BD){if(e.stringify)e=e.stringify;let t="";e(this,(e=>{t+=e}));return t}warn(e,t,n){let i={node:this};for(let e in n)i[e]=n[e];return e.warn(t,i)}get proxyOf(){return this}}var DD=PD;PD.default=PD;let AD=DD;class xD extends AD{constructor(e){super(e);this.type="comment"}}var LD=xD;xD.default=xD;let OD=DD;class RD extends OD{constructor(e){if(e&&typeof e.value!=="undefined"&&typeof e.value!=="string"){e={...e,value:String(e.value)}}super(e);this.type="decl"}get variable(){return this.prop.startsWith("--")||this.prop[0]==="$"}}var ID=RD;RD.default=RD;let ND=LD;let jD=ID;let zD=DD;let{isClean:FD,my:UD}=TD;let qD,YD,HD,VD;function $D(e){return e.map((e=>{if(e.nodes)e.nodes=$D(e.nodes);delete e.source;return e}))}function GD(e){e[FD]=false;if(e.proxyOf.nodes){for(let t of e.proxyOf.nodes){GD(t)}}}class WD extends zD{append(...e){for(let t of e){let e=this.normalize(t,this.last);for(let t of e)this.proxyOf.nodes.push(t)}this.markDirty();return this}cleanRaws(e){super.cleanRaws(e);if(this.nodes){for(let t of this.nodes)t.cleanRaws(e)}}each(e){if(!this.proxyOf.nodes)return undefined;let t=this.getIterator();let n,i;while(this.indexes[t]<this.proxyOf.nodes.length){n=this.indexes[t];i=e(this.proxyOf.nodes[n],n);if(i===false)break;this.indexes[t]+=1}delete this.indexes[t];return i}every(e){return this.nodes.every(e)}getIterator(){if(!this.lastEach)this.lastEach=0;if(!this.indexes)this.indexes={};this.lastEach+=1;let e=this.lastEach;this.indexes[e]=0;return e}getProxyProcessor(){return{get(e,t){if(t==="proxyOf"){return e}else if(!e[t]){return e[t]}else if(t==="each"||typeof t==="string"&&t.startsWith("walk")){return(...n)=>e[t](...n.map((e=>{if(typeof e==="function"){return(t,n)=>e(t.toProxy(),n)}else{return e}})))}else if(t==="every"||t==="some"){return n=>e[t](((e,...t)=>n(e.toProxy(),...t)))}else if(t==="root"){return()=>e.root().toProxy()}else if(t==="nodes"){return e.nodes.map((e=>e.toProxy()))}else if(t==="first"||t==="last"){return e[t].toProxy()}else{return e[t]}},set(e,t,n){if(e[t]===n)return true;e[t]=n;if(t==="name"||t==="params"||t==="selector"){e.markDirty()}return true}}}index(e){if(typeof e==="number")return e;if(e.proxyOf)e=e.proxyOf;return this.proxyOf.nodes.indexOf(e)}insertAfter(e,t){let n=this.index(e);let i=this.normalize(t,this.proxyOf.nodes[n]).reverse();n=this.index(e);for(let e of i)this.proxyOf.nodes.splice(n+1,0,e);let r;for(let e in this.indexes){r=this.indexes[e];if(n<r){this.indexes[e]=r+i.length}}this.markDirty();return this}insertBefore(e,t){let n=this.index(e);let i=n===0?"prepend":false;let r=this.normalize(t,this.proxyOf.nodes[n],i).reverse();n=this.index(e);for(let e of r)this.proxyOf.nodes.splice(n,0,e);let o;for(let e in this.indexes){o=this.indexes[e];if(n<=o){this.indexes[e]=o+r.length}}this.markDirty();return this}normalize(e,t){if(typeof e==="string"){e=$D(YD(e).nodes)}else if(typeof e==="undefined"){e=[]}else if(Array.isArray(e)){e=e.slice(0);for(let t of e){if(t.parent)t.parent.removeChild(t,"ignore")}}else if(e.type==="root"&&this.type!=="document"){e=e.nodes.slice(0);for(let t of e){if(t.parent)t.parent.removeChild(t,"ignore")}}else if(e.type){e=[e]}else if(e.prop){if(typeof e.value==="undefined"){throw new Error("Value field is missed in node creation")}else if(typeof e.value!=="string"){e.value=String(e.value)}e=[new jD(e)]}else if(e.selector||e.selectors){e=[new VD(e)]}else if(e.name){e=[new qD(e)]}else if(e.text){e=[new ND(e)]}else{throw new Error("Unknown node type in node creation")}let n=e.map((e=>{if(!e[UD])WD.rebuild(e);e=e.proxyOf;if(e.parent)e.parent.removeChild(e);if(e[FD])GD(e);if(!e.raws)e.raws={};if(typeof e.raws.before==="undefined"){if(t&&typeof t.raws.before!=="undefined"){e.raws.before=t.raws.before.replace(/\S/g,"")}}e.parent=this.proxyOf;return e}));return n}prepend(...e){e=e.reverse();for(let t of e){let e=this.normalize(t,this.first,"prepend").reverse();for(let t of e)this.proxyOf.nodes.unshift(t);for(let t in this.indexes){this.indexes[t]=this.indexes[t]+e.length}}this.markDirty();return this}push(e){e.parent=this;this.proxyOf.nodes.push(e);return this}removeAll(){for(let e of this.proxyOf.nodes)e.parent=undefined;this.proxyOf.nodes=[];this.markDirty();return this}removeChild(e){e=this.index(e);this.proxyOf.nodes[e].parent=undefined;this.proxyOf.nodes.splice(e,1);let t;for(let n in this.indexes){t=this.indexes[n];if(t>=e){this.indexes[n]=t-1}}this.markDirty();return this}replaceValues(e,t,n){if(!n){n=t;t={}}this.walkDecls((i=>{if(t.props&&!t.props.includes(i.prop))return;if(t.fast&&!i.value.includes(t.fast))return;i.value=i.value.replace(e,n)}));this.markDirty();return this}some(e){return this.nodes.some(e)}walk(e){return this.each(((t,n)=>{let i;try{i=e(t,n)}catch(e){throw t.addToError(e)}if(i!==false&&t.walk){i=t.walk(e)}return i}))}walkAtRules(e,t){if(!t){t=e;return this.walk(((e,n)=>{if(e.type==="atrule"){return t(e,n)}}))}if(e instanceof RegExp){return this.walk(((n,i)=>{if(n.type==="atrule"&&e.test(n.name)){return t(n,i)}}))}return this.walk(((n,i)=>{if(n.type==="atrule"&&n.name===e){return t(n,i)}}))}walkComments(e){return this.walk(((t,n)=>{if(t.type==="comment"){return e(t,n)}}))}walkDecls(e,t){if(!t){t=e;return this.walk(((e,n)=>{if(e.type==="decl"){return t(e,n)}}))}if(e instanceof RegExp){return this.walk(((n,i)=>{if(n.type==="decl"&&e.test(n.prop)){return t(n,i)}}))}return this.walk(((n,i)=>{if(n.type==="decl"&&n.prop===e){return t(n,i)}}))}walkRules(e,t){if(!t){t=e;return this.walk(((e,n)=>{if(e.type==="rule"){return t(e,n)}}))}if(e instanceof RegExp){return this.walk(((n,i)=>{if(n.type==="rule"&&e.test(n.selector)){return t(n,i)}}))}return this.walk(((n,i)=>{if(n.type==="rule"&&n.selector===e){return t(n,i)}}))}get first(){if(!this.proxyOf.nodes)return undefined;return this.proxyOf.nodes[0]}get last(){if(!this.proxyOf.nodes)return undefined;return this.proxyOf.nodes[this.proxyOf.nodes.length-1]}}WD.registerParse=e=>{YD=e};WD.registerRule=e=>{VD=e};WD.registerAtRule=e=>{qD=e};WD.registerRoot=e=>{HD=e};var KD=WD;WD.default=WD;WD.rebuild=e=>{if(e.type==="atrule"){Object.setPrototypeOf(e,qD.prototype)}else if(e.type==="rule"){Object.setPrototypeOf(e,VD.prototype)}else if(e.type==="decl"){Object.setPrototypeOf(e,jD.prototype)}else if(e.type==="comment"){Object.setPrototypeOf(e,ND.prototype)}else if(e.type==="root"){Object.setPrototypeOf(e,HD.prototype)}e[UD]=true;if(e.nodes){e.nodes.forEach((e=>{WD.rebuild(e)}))}};let ZD=KD;class JD extends ZD{constructor(e){super(e);this.type="atrule"}append(...e){if(!this.proxyOf.nodes)this.nodes=[];return super.append(...e)}prepend(...e){if(!this.proxyOf.nodes)this.nodes=[];return super.prepend(...e)}}var QD=JD;JD.default=JD;ZD.registerAtRule(JD);let XD=KD;let eA,tA;class nA extends XD{constructor(e){super({type:"document",...e});if(!this.nodes){this.nodes=[]}}toResult(e={}){let t=new eA(new tA,this,e);return t.stringify()}}nA.registerLazyResult=e=>{eA=e};nA.registerProcessor=e=>{tA=e};var iA=nA;nA.default=nA;let rA="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict";let oA=(e,t=21)=>(n=t)=>{let i="";let r=n;while(r--){i+=e[Math.random()*e.length|0]}return i};let aA=(e=21)=>{let t="";let n=e;while(n--){t+=rA[Math.random()*64|0]}return t};const sA=Object.freeze({__proto__:null,nanoid:aA,customAlphabet:oA});const lA=t(sA);let{existsSync:cA,readFileSync:uA}=cD;let{dirname:dA,join:hA}=cD;let{SourceMapConsumer:fA,SourceMapGenerator:gA}=cD;function mA(e){if(w){return w.from(e,"base64").toString()}else{return window.atob(e)}}class pA{constructor(e,t){if(t.map===false)return;this.loadAnnotation(e);this.inline=this.startWith(this.annotation,"data:");let n=t.map?t.map.prev:undefined;let i=this.loadMap(t.from,n);if(!this.mapFile&&t.from){this.mapFile=t.from}if(this.mapFile)this.root=dA(this.mapFile);if(i)this.text=i}consumer(){if(!this.consumerCache){this.consumerCache=new fA(this.text)}return this.consumerCache}decodeInline(e){let t=/^data:application\/json;charset=utf-?8;base64,/;let n=/^data:application\/json;base64,/;let i=/^data:application\/json;charset=utf-?8,/;let r=/^data:application\/json,/;let o=e.match(i)||e.match(r);if(o){return decodeURIComponent(e.substr(o[0].length))}let a=e.match(t)||e.match(n);if(a){return mA(e.substr(a[0].length))}let s=e.match(/data:application\/json;([^,]+),/)[1];throw new Error("Unsupported source map encoding "+s)}getAnnotationURL(e){return e.replace(/^\/\*\s*# sourceMappingURL=/,"").trim()}isMap(e){if(typeof e!=="object")return false;return typeof e.mappings==="string"||typeof e._mappings==="string"||Array.isArray(e.sections)}loadAnnotation(e){let t=e.match(/\/\*\s*# sourceMappingURL=/g);if(!t)return;let n=e.lastIndexOf(t.pop());let i=e.indexOf("*/",n);if(n>-1&&i>-1){this.annotation=this.getAnnotationURL(e.substring(n,i))}}loadFile(e){this.root=dA(e);if(cA(e)){this.mapFile=e;return uA(e,"utf-8").toString().trim()}}loadMap(e,t){if(t===false)return false;if(t){if(typeof t==="string"){return t}else if(typeof t==="function"){let n=t(e);if(n){let e=this.loadFile(n);if(!e){throw new Error("Unable to load previous source map: "+n.toString())}return e}}else if(t instanceof fA){return gA.fromSourceMap(t).toString()}else if(t instanceof gA){return t.toString()}else if(this.isMap(t)){return JSON.stringify(t)}else{throw new Error("Unsupported previous source map format: "+t.toString())}}else if(this.inline){return this.decodeInline(this.annotation)}else if(this.annotation){let t=this.annotation;if(e)t=hA(dA(e),t);return this.loadFile(t)}}startWith(e,t){if(!e)return false;return e.substr(0,t.length)===t}withContent(){return!!(this.consumer().sourcesContent&&this.consumer().sourcesContent.length>0)}}var bA=pA;pA.default=pA;let{nanoid:vA}=lA;let{isAbsolute:yA,resolve:kA}=cD;let{SourceMapConsumer:TA,SourceMapGenerator:wA}=cD;let{fileURLToPath:EA,pathToFileURL:BA}=cD;let SA=fD;let CA=bA;let MA=cD;let _A=Symbol("fromOffsetCache");let PA=Boolean(TA&&wA);let DA=Boolean(kA&&yA);class AA{constructor(e,t={}){if(e===null||typeof e==="undefined"||typeof e==="object"&&!e.toString){throw new Error(`PostCSS received ${e} instead of CSS string`)}this.css=e.toString();if(this.css[0]==="\ufeff"||this.css[0]===""){this.hasBOM=true;this.css=this.css.slice(1)}else{this.hasBOM=false}if(t.from){if(!DA||/^\w+:\/\//.test(t.from)||yA(t.from)){this.file=t.from}else{this.file=kA(t.from)}}if(DA&&PA){let e=new CA(this.css,t);if(e.text){this.map=e;let t=e.consumer().file;if(!this.file&&t)this.file=this.mapResolve(t)}}if(!this.file){this.id="<input css "+vA(6)+">"}if(this.map)this.map.file=this.from}error(e,t,n,i={}){let r,o,a;if(t&&typeof t==="object"){let e=t;let i=n;if(typeof e.offset==="number"){let i=this.fromOffset(e.offset);t=i.line;n=i.col}else{t=e.line;n=e.column}if(typeof i.offset==="number"){let e=this.fromOffset(i.offset);o=e.line;r=e.col}else{o=i.line;r=i.column}}else if(!n){let e=this.fromOffset(t);t=e.line;n=e.col}let s=this.origin(t,n,o,r);if(s){a=new SA(e,s.endLine===undefined?s.line:{column:s.column,line:s.line},s.endLine===undefined?s.column:{column:s.endColumn,line:s.endLine},s.source,s.file,i.plugin)}else{a=new SA(e,o===undefined?t:{column:n,line:t},o===undefined?n:{column:r,line:o},this.css,this.file,i.plugin)}a.input={column:n,endColumn:r,endLine:o,line:t,source:this.css};if(this.file){if(BA){a.input.url=BA(this.file).toString()}a.input.file=this.file}return a}fromOffset(e){let t,n;if(!this[_A]){let e=this.css.split("\n");n=new Array(e.length);let t=0;for(let i=0,r=e.length;i<r;i++){n[i]=t;t+=e[i].length+1}this[_A]=n}else{n=this[_A]}t=n[n.length-1];let i=0;if(e>=t){i=n.length-1}else{let t=n.length-2;let r;while(i<t){r=i+(t-i>>1);if(e<n[r]){t=r-1}else if(e>=n[r+1]){i=r+1}else{i=r;break}}}return{col:e-n[i]+1,line:i+1}}mapResolve(e){if(/^\w+:\/\//.test(e)){return e}return kA(this.map.consumer().sourceRoot||this.map.root||".",e)}origin(e,t,n,i){if(!this.map)return false;let r=this.map.consumer();let o=r.originalPositionFor({column:t,line:e});if(!o.source)return false;let a;if(typeof n==="number"){a=r.originalPositionFor({column:i,line:n})}let s;if(yA(o.source)){s=BA(o.source)}else{s=new URL(o.source,this.map.consumer().sourceRoot||BA(this.map.mapFile))}let l={column:o.column,endColumn:a&&a.column,endLine:a&&a.line,line:o.line,url:s.toString()};if(s.protocol==="file:"){if(EA){l.file=EA(s)}else{throw new Error(`file: protocol is not available in this PostCSS build`)}}let c=r.sourceContentFor(o.source);if(c)l.source=c;return l}toJSON(){let e={};for(let t of["hasBOM","css","file","id"]){if(this[t]!=null){e[t]=this[t]}}if(this.map){e.map={...this.map};if(e.map.consumerCache){e.map.consumerCache=undefined}}return e}get from(){return this.file||this.id}}var xA=AA;AA.default=AA;if(MA&&MA.registerInput){MA.registerInput(AA)}let LA=KD;let OA,RA;class IA extends LA{constructor(e){super(e);this.type="root";if(!this.nodes)this.nodes=[]}normalize(e,t,n){let i=super.normalize(e);if(t){if(n==="prepend"){if(this.nodes.length>1){t.raws.before=this.nodes[1].raws.before}else{delete t.raws.before}}else if(this.first!==t){for(let e of i){e.raws.before=t.raws.before}}}return i}removeChild(e,t){let n=this.index(e);if(!t&&n===0&&this.nodes.length>1){this.nodes[1].raws.before=this.nodes[n].raws.before}return super.removeChild(e)}toResult(e={}){let t=new OA(new RA,this,e);return t.stringify()}}IA.registerLazyResult=e=>{OA=e};IA.registerProcessor=e=>{RA=e};var NA=IA;IA.default=IA;LA.registerRoot(IA);let jA={comma(e){return jA.split(e,[","],true)},space(e){let t=[" ","\n","\t"];return jA.split(e,t)},split(e,t,n){let i=[];let r="";let o=false;let a=0;let s=false;let l="";let c=false;for(let n of e){if(c){c=false}else if(n==="\\"){c=true}else if(s){if(n===l){s=false}}else if(n==='"'||n==="'"){s=true;l=n}else if(n==="("){a+=1}else if(n===")"){if(a>0)a-=1}else if(a===0){if(t.includes(n))o=true}if(o){if(r!=="")i.push(r.trim());r="";o=false}else{r+=n}}if(n||r!=="")i.push(r.trim());return i}};var zA=jA;jA.default=jA;let FA=KD;let UA=zA;class qA extends FA{constructor(e){super(e);this.type="rule";if(!this.nodes)this.nodes=[]}get selectors(){return UA.comma(this.selector)}set selectors(e){let t=this.selector?this.selector.match(/,\s*/):null;let n=t?t[0]:","+this.raw("between","beforeOpen");this.selector=e.join(n)}}var YA=qA;qA.default=qA;FA.registerRule(qA);let HA=QD;let VA=LD;let $A=ID;let GA=xA;let WA=bA;let KA=NA;let ZA=YA;function JA(e,t){if(Array.isArray(e))return e.map((e=>JA(e)));let{inputs:n,...i}=e;if(n){t=[];for(let e of n){let n={...e,__proto__:GA.prototype};if(n.map){n.map={...n.map,__proto__:WA.prototype}}t.push(n)}}if(i.nodes){i.nodes=e.nodes.map((e=>JA(e,t)))}if(i.source){let{inputId:e,...n}=i.source;i.source=n;if(e!=null){i.source.input=t[e]}}if(i.type==="root"){return new KA(i)}else if(i.type==="decl"){return new $A(i)}else if(i.type==="rule"){return new ZA(i)}else if(i.type==="comment"){return new VA(i)}else if(i.type==="atrule"){return new HA(i)}else{throw new Error("Unknown node type: "+e.type)}}var QA=JA;JA.default=JA;let{dirname:XA,relative:ex,resolve:tx,sep:nx}=cD;let{SourceMapConsumer:ix,SourceMapGenerator:rx}=cD;let{pathToFileURL:ox}=cD;let ax=xA;let sx=Boolean(ix&&rx);let lx=Boolean(XA&&tx&&ex&&nx);class cx{constructor(e,t,n,i){this.stringify=e;this.mapOpts=n.map||{};this.root=t;this.opts=n;this.css=i;this.originalCSS=i;this.usesFileUrls=!this.mapOpts.from&&this.mapOpts.absolute;this.memoizedFileURLs=new Map;this.memoizedPaths=new Map;this.memoizedURLs=new Map}addAnnotation(){let e;if(this.isInline()){e="data:application/json;base64,"+this.toBase64(this.map.toString())}else if(typeof this.mapOpts.annotation==="string"){e=this.mapOpts.annotation}else if(typeof this.mapOpts.annotation==="function"){e=this.mapOpts.annotation(this.opts.to,this.root)}else{e=this.outputFile()+".map"}let t="\n";if(this.css.includes("\r\n"))t="\r\n";this.css+=t+"/*# sourceMappingURL="+e+" */"}applyPrevMaps(){for(let e of this.previous()){let t=this.toUrl(this.path(e.file));let n=e.root||XA(e.file);let i;if(this.mapOpts.sourcesContent===false){i=new ix(e.text);if(i.sourcesContent){i.sourcesContent=null}}else{i=e.consumer()}this.map.applySourceMap(i,t,this.toUrl(this.path(n)))}}clearAnnotation(){if(this.mapOpts.annotation===false)return;if(this.root){let e;for(let t=this.root.nodes.length-1;t>=0;t--){e=this.root.nodes[t];if(e.type!=="comment")continue;if(e.text.startsWith("# sourceMappingURL=")){this.root.removeChild(t)}}}else if(this.css){this.css=this.css.replace(/\n*\/\*#[\S\s]*?\*\/$/gm,"")}}generate(){this.clearAnnotation();if(lx&&sx&&this.isMap()){return this.generateMap()}else{let e="";this.stringify(this.root,(t=>{e+=t}));return[e]}}generateMap(){if(this.root){this.generateString()}else if(this.previous().length===1){let e=this.previous()[0].consumer();e.file=this.outputFile();this.map=rx.fromSourceMap(e,{ignoreInvalidMapping:true})}else{this.map=new rx({file:this.outputFile(),ignoreInvalidMapping:true});this.map.addMapping({generated:{column:0,line:1},original:{column:0,line:1},source:this.opts.from?this.toUrl(this.path(this.opts.from)):"<no source>"})}if(this.isSourcesContent())this.setSourcesContent();if(this.root&&this.previous().length>0)this.applyPrevMaps();if(this.isAnnotation())this.addAnnotation();if(this.isInline()){return[this.css]}else{return[this.css,this.map]}}generateString(){this.css="";this.map=new rx({file:this.outputFile(),ignoreInvalidMapping:true});let e=1;let t=1;let n="<no source>";let i={generated:{column:0,line:0},original:{column:0,line:0},source:""};let r,o;this.stringify(this.root,((a,s,l)=>{this.css+=a;if(s&&l!=="end"){i.generated.line=e;i.generated.column=t-1;if(s.source&&s.source.start){i.source=this.sourcePath(s);i.original.line=s.source.start.line;i.original.column=s.source.start.column-1;this.map.addMapping(i)}else{i.source=n;i.original.line=1;i.original.column=0;this.map.addMapping(i)}}o=a.match(/\n/g);if(o){e+=o.length;r=a.lastIndexOf("\n");t=a.length-r}else{t+=a.length}if(s&&l!=="start"){let r=s.parent||{raws:{}};let o=s.type==="decl"||s.type==="atrule"&&!s.nodes;if(!o||s!==r.last||r.raws.semicolon){if(s.source&&s.source.end){i.source=this.sourcePath(s);i.original.line=s.source.end.line;i.original.column=s.source.end.column-1;i.generated.line=e;i.generated.column=t-2;this.map.addMapping(i)}else{i.source=n;i.original.line=1;i.original.column=0;i.generated.line=e;i.generated.column=t-1;this.map.addMapping(i)}}}}))}isAnnotation(){if(this.isInline()){return true}if(typeof this.mapOpts.annotation!=="undefined"){return this.mapOpts.annotation}if(this.previous().length){return this.previous().some((e=>e.annotation))}return true}isInline(){if(typeof this.mapOpts.inline!=="undefined"){return this.mapOpts.inline}let e=this.mapOpts.annotation;if(typeof e!=="undefined"&&e!==true){return false}if(this.previous().length){return this.previous().some((e=>e.inline))}return true}isMap(){if(typeof this.opts.map!=="undefined"){return!!this.opts.map}return this.previous().length>0}isSourcesContent(){if(typeof this.mapOpts.sourcesContent!=="undefined"){return this.mapOpts.sourcesContent}if(this.previous().length){return this.previous().some((e=>e.withContent()))}return true}outputFile(){if(this.opts.to){return this.path(this.opts.to)}else if(this.opts.from){return this.path(this.opts.from)}else{return"to.css"}}path(e){if(this.mapOpts.absolute)return e;if(e.charCodeAt(0)===60)return e;if(/^\w+:\/\//.test(e))return e;let t=this.memoizedPaths.get(e);if(t)return t;let n=this.opts.to?XA(this.opts.to):".";if(typeof this.mapOpts.annotation==="string"){n=XA(tx(n,this.mapOpts.annotation))}let i=ex(n,e);this.memoizedPaths.set(e,i);return i}previous(){if(!this.previousMaps){this.previousMaps=[];if(this.root){this.root.walk((e=>{if(e.source&&e.source.input.map){let t=e.source.input.map;if(!this.previousMaps.includes(t)){this.previousMaps.push(t)}}}))}else{let e=new ax(this.originalCSS,this.opts);if(e.map)this.previousMaps.push(e.map)}}return this.previousMaps}setSourcesContent(){let e={};if(this.root){this.root.walk((t=>{if(t.source){let n=t.source.input.from;if(n&&!e[n]){e[n]=true;let i=this.usesFileUrls?this.toFileUrl(n):this.toUrl(this.path(n));this.map.setSourceContent(i,t.source.input.css)}}}))}else if(this.css){let e=this.opts.from?this.toUrl(this.path(this.opts.from)):"<no source>";this.map.setSourceContent(e,this.css)}}sourcePath(e){if(this.mapOpts.from){return this.toUrl(this.mapOpts.from)}else if(this.usesFileUrls){return this.toFileUrl(e.source.input.from)}else{return this.toUrl(this.path(e.source.input.from))}}toBase64(e){if(w){return w.from(e).toString("base64")}else{return window.btoa(unescape(encodeURIComponent(e)))}}toFileUrl(e){let t=this.memoizedFileURLs.get(e);if(t)return t;if(ox){let t=ox(e).toString();this.memoizedFileURLs.set(e,t);return t}else{throw new Error("`map.absolute` option is not available in this PostCSS build")}}toUrl(e){let t=this.memoizedURLs.get(e);if(t)return t;if(nx==="\\"){e=e.replace(/\\/g,"/")}let n=encodeURI(e).replace(/[#?]/g,encodeURIComponent);this.memoizedURLs.set(e,n);return n}}var ux=cx;const dx="'".charCodeAt(0);const hx='"'.charCodeAt(0);const fx="\\".charCodeAt(0);const gx="/".charCodeAt(0);const mx="\n".charCodeAt(0);const px=" ".charCodeAt(0);const bx="\f".charCodeAt(0);const vx="\t".charCodeAt(0);const yx="\r".charCodeAt(0);const kx="[".charCodeAt(0);const Tx="]".charCodeAt(0);const wx="(".charCodeAt(0);const Ex=")".charCodeAt(0);const Bx="{".charCodeAt(0);const Sx="}".charCodeAt(0);const Cx=";".charCodeAt(0);const Mx="*".charCodeAt(0);const _x=":".charCodeAt(0);const Px="@".charCodeAt(0);const Dx=/[\t\n\f\r "#'()/;[\\\]{}]/g;const Ax=/[\t\n\f\r !"#'():;@[\\\]{}]|\/(?=\*)/g;const xx=/.[\r\n"'(/\\]/;const Lx=/[\da-f]/i;var Ox=function e(t,n={}){let i=t.css.valueOf();let r=n.ignoreErrors;let o,a,s,l,c;let u,d,h,f,g;let m=i.length;let p=0;let b=[];let v=[];function y(){return p}function k(e){throw t.error("Unclosed "+e,p)}function T(){return v.length===0&&p>=m}function w(e){if(v.length)return v.pop();if(p>=m)return;let t=e?e.ignoreUnclosed:false;o=i.charCodeAt(p);switch(o){case mx:case px:case vx:case yx:case bx:{l=p;do{l+=1;o=i.charCodeAt(l)}while(o===px||o===mx||o===vx||o===yx||o===bx);u=["space",i.slice(p,l)];p=l-1;break}case kx:case Tx:case Bx:case Sx:case _x:case Cx:case Ex:{let e=String.fromCharCode(o);u=[e,e,p];break}case wx:{g=b.length?b.pop()[1]:"";f=i.charCodeAt(p+1);if(g==="url"&&f!==dx&&f!==hx&&f!==px&&f!==mx&&f!==vx&&f!==bx&&f!==yx){l=p;do{d=false;l=i.indexOf(")",l+1);if(l===-1){if(r||t){l=p;break}else{k("bracket")}}h=l;while(i.charCodeAt(h-1)===fx){h-=1;d=!d}}while(d);u=["brackets",i.slice(p,l+1),p,l];p=l}else{l=i.indexOf(")",p+1);a=i.slice(p,l+1);if(l===-1||xx.test(a)){u=["(","(",p]}else{u=["brackets",a,p,l];p=l}}break}case dx:case hx:{c=o===dx?"'":'"';l=p;do{d=false;l=i.indexOf(c,l+1);if(l===-1){if(r||t){l=p+1;break}else{k("string")}}h=l;while(i.charCodeAt(h-1)===fx){h-=1;d=!d}}while(d);u=["string",i.slice(p,l+1),p,l];p=l;break}case Px:{Dx.lastIndex=p+1;Dx.test(i);if(Dx.lastIndex===0){l=i.length-1}else{l=Dx.lastIndex-2}u=["at-word",i.slice(p,l+1),p,l];p=l;break}case fx:{l=p;s=true;while(i.charCodeAt(l+1)===fx){l+=1;s=!s}o=i.charCodeAt(l+1);if(s&&o!==gx&&o!==px&&o!==mx&&o!==vx&&o!==yx&&o!==bx){l+=1;if(Lx.test(i.charAt(l))){while(Lx.test(i.charAt(l+1))){l+=1}if(i.charCodeAt(l+1)===px){l+=1}}}u=["word",i.slice(p,l+1),p,l];p=l;break}default:{if(o===gx&&i.charCodeAt(p+1)===Mx){l=i.indexOf("*/",p+2)+1;if(l===0){if(r||t){l=i.length}else{k("comment")}}u=["comment",i.slice(p,l+1),p,l];p=l}else{Ax.lastIndex=p+1;Ax.test(i);if(Ax.lastIndex===0){l=i.length-1}else{l=Ax.lastIndex-2}u=["word",i.slice(p,l+1),p,l];b.push(u);p=l}break}}p++;return u}function E(e){v.push(e)}return{back:E,endOfFile:T,nextToken:w,position:y}};let Rx=QD;let Ix=LD;let Nx=ID;let jx=NA;let zx=YA;let Fx=Ox;const Ux={empty:true,space:true};function qx(e){for(let t=e.length-1;t>=0;t--){let n=e[t];let i=n[3]||n[2];if(i)return i}}class Yx{constructor(e){this.input=e;this.root=new jx;this.current=this.root;this.spaces="";this.semicolon=false;this.createTokenizer();this.root.source={input:e,start:{column:1,line:1,offset:0}}}atrule(e){let t=new Rx;t.name=e[1].slice(1);if(t.name===""){this.unnamedAtrule(t,e)}this.init(t,e[2]);let n;let i;let r;let o=false;let a=false;let s=[];let l=[];while(!this.tokenizer.endOfFile()){e=this.tokenizer.nextToken();n=e[0];if(n==="("||n==="["){l.push(n==="("?")":"]")}else if(n==="{"&&l.length>0){l.push("}")}else if(n===l[l.length-1]){l.pop()}if(l.length===0){if(n===";"){t.source.end=this.getPosition(e[2]);t.source.end.offset++;this.semicolon=true;break}else if(n==="{"){a=true;break}else if(n==="}"){if(s.length>0){r=s.length-1;i=s[r];while(i&&i[0]==="space"){i=s[--r]}if(i){t.source.end=this.getPosition(i[3]||i[2]);t.source.end.offset++}}this.end(e);break}else{s.push(e)}}else{s.push(e)}if(this.tokenizer.endOfFile()){o=true;break}}t.raws.between=this.spacesAndCommentsFromEnd(s);if(s.length){t.raws.afterName=this.spacesAndCommentsFromStart(s);this.raw(t,"params",s);if(o){e=s[s.length-1];t.source.end=this.getPosition(e[3]||e[2]);t.source.end.offset++;this.spaces=t.raws.between;t.raws.between=""}}else{t.raws.afterName="";t.params=""}if(a){t.nodes=[];this.current=t}}checkMissedSemicolon(e){let t=this.colon(e);if(t===false)return;let n=0;let i;for(let r=t-1;r>=0;r--){i=e[r];if(i[0]!=="space"){n+=1;if(n===2)break}}throw this.input.error("Missed semicolon",i[0]==="word"?i[3]+1:i[2])}colon(e){let t=0;let n,i,r;for(let[o,a]of e.entries()){i=a;r=i[0];if(r==="("){t+=1}if(r===")"){t-=1}if(t===0&&r===":"){if(!n){this.doubleColon(i)}else if(n[0]==="word"&&n[1]==="progid"){continue}else{return o}}n=i}return false}comment(e){let t=new Ix;this.init(t,e[2]);t.source.end=this.getPosition(e[3]||e[2]);t.source.end.offset++;let n=e[1].slice(2,-2);if(/^\s*$/.test(n)){t.text="";t.raws.left=n;t.raws.right=""}else{let e=n.match(/^(\s*)([^]*\S)(\s*)$/);t.text=e[2];t.raws.left=e[1];t.raws.right=e[3]}}createTokenizer(){this.tokenizer=Fx(this.input)}decl(e,t){let n=new Nx;this.init(n,e[0][2]);let i=e[e.length-1];if(i[0]===";"){this.semicolon=true;e.pop()}n.source.end=this.getPosition(i[3]||i[2]||qx(e));n.source.end.offset++;while(e[0][0]!=="word"){if(e.length===1)this.unknownWord(e);n.raws.before+=e.shift()[1]}n.source.start=this.getPosition(e[0][2]);n.prop="";while(e.length){let t=e[0][0];if(t===":"||t==="space"||t==="comment"){break}n.prop+=e.shift()[1]}n.raws.between="";let r;while(e.length){r=e.shift();if(r[0]===":"){n.raws.between+=r[1];break}else{if(r[0]==="word"&&/\w/.test(r[1])){this.unknownWord([r])}n.raws.between+=r[1]}}if(n.prop[0]==="_"||n.prop[0]==="*"){n.raws.before+=n.prop[0];n.prop=n.prop.slice(1)}let o=[];let a;while(e.length){a=e[0][0];if(a!=="space"&&a!=="comment")break;o.push(e.shift())}this.precheckMissedSemicolon(e);for(let t=e.length-1;t>=0;t--){r=e[t];if(r[1].toLowerCase()==="!important"){n.important=true;let i=this.stringFrom(e,t);i=this.spacesFromEnd(e)+i;if(i!==" !important")n.raws.important=i;break}else if(r[1].toLowerCase()==="important"){let i=e.slice(0);let r="";for(let e=t;e>0;e--){let t=i[e][0];if(r.trim().startsWith("!")&&t!=="space"){break}r=i.pop()[1]+r}if(r.trim().startsWith("!")){n.important=true;n.raws.important=r;e=i}}if(r[0]!=="space"&&r[0]!=="comment"){break}}let s=e.some((e=>e[0]!=="space"&&e[0]!=="comment"));if(s){n.raws.between+=o.map((e=>e[1])).join("");o=[]}this.raw(n,"value",o.concat(e),t);if(n.value.includes(":")&&!t){this.checkMissedSemicolon(e)}}doubleColon(e){throw this.input.error("Double colon",{offset:e[2]},{offset:e[2]+e[1].length})}emptyRule(e){let t=new zx;this.init(t,e[2]);t.selector="";t.raws.between="";this.current=t}end(e){if(this.current.nodes&&this.current.nodes.length){this.current.raws.semicolon=this.semicolon}this.semicolon=false;this.current.raws.after=(this.current.raws.after||"")+this.spaces;this.spaces="";if(this.current.parent){this.current.source.end=this.getPosition(e[2]);this.current.source.end.offset++;this.current=this.current.parent}else{this.unexpectedClose(e)}}endFile(){if(this.current.parent)this.unclosedBlock();if(this.current.nodes&&this.current.nodes.length){this.current.raws.semicolon=this.semicolon}this.current.raws.after=(this.current.raws.after||"")+this.spaces;this.root.source.end=this.getPosition(this.tokenizer.position())}freeSemicolon(e){this.spaces+=e[1];if(this.current.nodes){let e=this.current.nodes[this.current.nodes.length-1];if(e&&e.type==="rule"&&!e.raws.ownSemicolon){e.raws.ownSemicolon=this.spaces;this.spaces=""}}}getPosition(e){let t=this.input.fromOffset(e);return{column:t.col,line:t.line,offset:e}}init(e,t){this.current.push(e);e.source={input:this.input,start:this.getPosition(t)};e.raws.before=this.spaces;this.spaces="";if(e.type!=="comment")this.semicolon=false}other(e){let t=false;let n=null;let i=false;let r=null;let o=[];let a=e[1].startsWith("--");let s=[];let l=e;while(l){n=l[0];s.push(l);if(n==="("||n==="["){if(!r)r=l;o.push(n==="("?")":"]")}else if(a&&i&&n==="{"){if(!r)r=l;o.push("}")}else if(o.length===0){if(n===";"){if(i){this.decl(s,a);return}else{break}}else if(n==="{"){this.rule(s);return}else if(n==="}"){this.tokenizer.back(s.pop());t=true;break}else if(n===":"){i=true}}else if(n===o[o.length-1]){o.pop();if(o.length===0)r=null}l=this.tokenizer.nextToken()}if(this.tokenizer.endOfFile())t=true;if(o.length>0)this.unclosedBracket(r);if(t&&i){if(!a){while(s.length){l=s[s.length-1][0];if(l!=="space"&&l!=="comment")break;this.tokenizer.back(s.pop())}}this.decl(s,a)}else{this.unknownWord(s)}}parse(){let e;while(!this.tokenizer.endOfFile()){e=this.tokenizer.nextToken();switch(e[0]){case"space":this.spaces+=e[1];break;case";":this.freeSemicolon(e);break;case"}":this.end(e);break;case"comment":this.comment(e);break;case"at-word":this.atrule(e);break;case"{":this.emptyRule(e);break;default:this.other(e);break}}this.endFile()}precheckMissedSemicolon(){}raw(e,t,n,i){let r,o;let a=n.length;let s="";let l=true;let c,u;for(let e=0;e<a;e+=1){r=n[e];o=r[0];if(o==="space"&&e===a-1&&!i){l=false}else if(o==="comment"){u=n[e-1]?n[e-1][0]:"empty";c=n[e+1]?n[e+1][0]:"empty";if(!Ux[u]&&!Ux[c]){if(s.slice(-1)===","){l=false}else{s+=r[1]}}else{l=false}}else{s+=r[1]}}if(!l){let i=n.reduce(((e,t)=>e+t[1]),"");e.raws[t]={raw:i,value:s}}e[t]=s}rule(e){e.pop();let t=new zx;this.init(t,e[0][2]);t.raws.between=this.spacesAndCommentsFromEnd(e);this.raw(t,"selector",e);this.current=t}spacesAndCommentsFromEnd(e){let t;let n="";while(e.length){t=e[e.length-1][0];if(t!=="space"&&t!=="comment")break;n=e.pop()[1]+n}return n}spacesAndCommentsFromStart(e){let t;let n="";while(e.length){t=e[0][0];if(t!=="space"&&t!=="comment")break;n+=e.shift()[1]}return n}spacesFromEnd(e){let t;let n="";while(e.length){t=e[e.length-1][0];if(t!=="space")break;n=e.pop()[1]+n}return n}stringFrom(e,t){let n="";for(let i=t;i<e.length;i++){n+=e[i][1]}e.splice(t,e.length-t);return n}unclosedBlock(){let e=this.current.source.start;throw this.input.error("Unclosed block",e.line,e.column)}unclosedBracket(e){throw this.input.error("Unclosed bracket",{offset:e[2]},{offset:e[2]+1})}unexpectedClose(e){throw this.input.error("Unexpected }",{offset:e[2]},{offset:e[2]+1})}unknownWord(e){throw this.input.error("Unknown word",{offset:e[0][2]},{offset:e[0][2]+e[0][1].length})}unnamedAtrule(e,t){throw this.input.error("At-rule without name",{offset:t[2]},{offset:t[2]+t[1].length})}}var Hx=Yx;let Vx=KD;let $x=xA;let Gx=Hx;function Wx(e,t){let n=new $x(e,t);let i=new Gx(n);try{i.parse()}catch(e){throw e}return i.root}var Kx=Wx;Wx.default=Wx;Vx.registerParse(Wx);class Zx{constructor(e,t={}){this.type="warning";this.text=e;if(t.node&&t.node.source){let e=t.node.rangeBy(t);this.line=e.start.line;this.column=e.start.column;this.endLine=e.end.line;this.endColumn=e.end.column}for(let e in t)this[e]=t[e]}toString(){if(this.node){return this.node.error(this.text,{index:this.index,plugin:this.plugin,word:this.word}).message}if(this.plugin){return this.plugin+": "+this.text}return this.text}}var Jx=Zx;Zx.default=Zx;let Qx=Jx;class Xx{constructor(e,t,n){this.processor=e;this.messages=[];this.root=t;this.opts=n;this.css=undefined;this.map=undefined}toString(){return this.css}warn(e,t={}){if(!t.plugin){if(this.lastPlugin&&this.lastPlugin.postcssPlugin){t.plugin=this.lastPlugin.postcssPlugin}}let n=new Qx(e,t);this.messages.push(n);return n}warnings(){return this.messages.filter((e=>e.type==="warning"))}get content(){return this.css}}var eL=Xx;Xx.default=Xx;let tL=KD;let nL=iA;let iL=ux;let rL=Kx;let oL=eL;let aL=NA;let sL=kD;let{isClean:lL,my:cL}=TD;const uL={atrule:"AtRule",comment:"Comment",decl:"Declaration",document:"Document",root:"Root",rule:"Rule"};const dL={AtRule:true,AtRuleExit:true,Comment:true,CommentExit:true,Declaration:true,DeclarationExit:true,Document:true,DocumentExit:true,Once:true,OnceExit:true,postcssPlugin:true,prepare:true,Root:true,RootExit:true,Rule:true,RuleExit:true};const hL={Once:true,postcssPlugin:true,prepare:true};const fL=0;function gL(e){return typeof e==="object"&&typeof e.then==="function"}function mL(e){let t=false;let n=uL[e.type];if(e.type==="decl"){t=e.prop.toLowerCase()}else if(e.type==="atrule"){t=e.name.toLowerCase()}if(t&&e.append){return[n,n+"-"+t,fL,n+"Exit",n+"Exit-"+t]}else if(t){return[n,n+"-"+t,n+"Exit",n+"Exit-"+t]}else if(e.append){return[n,fL,n+"Exit"]}else{return[n,n+"Exit"]}}function pL(e){let t;if(e.type==="document"){t=["Document",fL,"DocumentExit"]}else if(e.type==="root"){t=["Root",fL,"RootExit"]}else{t=mL(e)}return{eventIndex:0,events:t,iterator:0,node:e,visitorIndex:0,visitors:[]}}function bL(e){e[lL]=false;if(e.nodes)e.nodes.forEach((e=>bL(e)));return e}let vL={};class yL{constructor(e,t,n){this.stringified=false;this.processed=false;let i;if(typeof t==="object"&&t!==null&&(t.type==="root"||t.type==="document")){i=bL(t)}else if(t instanceof yL||t instanceof oL){i=bL(t.root);if(t.map){if(typeof n.map==="undefined")n.map={};if(!n.map.inline)n.map.inline=false;n.map.prev=t.map}}else{let e=rL;if(n.syntax)e=n.syntax.parse;if(n.parser)e=n.parser;if(e.parse)e=e.parse;try{i=e(t,n)}catch(e){this.processed=true;this.error=e}if(i&&!i[cL]){tL.rebuild(i)}}this.result=new oL(e,i,n);this.helpers={...vL,postcss:vL,result:this.result};this.plugins=this.processor.plugins.map((e=>{if(typeof e==="object"&&e.prepare){return{...e,...e.prepare(this.result)}}else{return e}}))}async(){if(this.error)return Promise.reject(this.error);if(this.processed)return Promise.resolve(this.result);if(!this.processing){this.processing=this.runAsync()}return this.processing}catch(e){return this.async().catch(e)}finally(e){return this.async().then(e,e)}getAsyncError(){throw new Error("Use process(css).then(cb) to work with async plugins")}handleError(e,t){let n=this.result.lastPlugin;try{if(t)t.addToError(e);this.error=e;if(e.name==="CssSyntaxError"&&!e.plugin){e.plugin=n.postcssPlugin;e.setMessage()}}catch(e){if(console&&console.error)console.error(e)}return e}prepareVisitors(){this.listeners={};let e=(e,t,n)=>{if(!this.listeners[t])this.listeners[t]=[];this.listeners[t].push([e,n])};for(let t of this.plugins){if(typeof t==="object"){for(let n in t){if(!dL[n]&&/^[A-Z]/.test(n)){throw new Error(`Unknown event ${n} in ${t.postcssPlugin}. `+`Try to update PostCSS (${this.processor.version} now).`)}if(!hL[n]){if(typeof t[n]==="object"){for(let i in t[n]){if(i==="*"){e(t,n,t[n][i])}else{e(t,n+"-"+i.toLowerCase(),t[n][i])}}}else if(typeof t[n]==="function"){e(t,n,t[n])}}}}}this.hasListener=Object.keys(this.listeners).length>0}async runAsync(){this.plugin=0;for(let e=0;e<this.plugins.length;e++){let t=this.plugins[e];let n=this.runOnRoot(t);if(gL(n)){try{await n}catch(e){throw this.handleError(e)}}}this.prepareVisitors();if(this.hasListener){let e=this.result.root;while(!e[lL]){e[lL]=true;let t=[pL(e)];while(t.length>0){let e=this.visitTick(t);if(gL(e)){try{await e}catch(e){let n=t[t.length-1].node;throw this.handleError(e,n)}}}}if(this.listeners.OnceExit){for(let[t,n]of this.listeners.OnceExit){this.result.lastPlugin=t;try{if(e.type==="document"){let t=e.nodes.map((e=>n(e,this.helpers)));await Promise.all(t)}else{await n(e,this.helpers)}}catch(e){throw this.handleError(e)}}}}this.processed=true;return this.stringify()}runOnRoot(e){this.result.lastPlugin=e;try{if(typeof e==="object"&&e.Once){if(this.result.root.type==="document"){let t=this.result.root.nodes.map((t=>e.Once(t,this.helpers)));if(gL(t[0])){return Promise.all(t)}return t}return e.Once(this.result.root,this.helpers)}else if(typeof e==="function"){return e(this.result.root,this.result)}}catch(e){throw this.handleError(e)}}stringify(){if(this.error)throw this.error;if(this.stringified)return this.result;this.stringified=true;this.sync();let e=this.result.opts;let t=sL;if(e.syntax)t=e.syntax.stringify;if(e.stringifier)t=e.stringifier;if(t.stringify)t=t.stringify;let n=new iL(t,this.result.root,this.result.opts);let i=n.generate();this.result.css=i[0];this.result.map=i[1];return this.result}sync(){if(this.error)throw this.error;if(this.processed)return this.result;this.processed=true;if(this.processing){throw this.getAsyncError()}for(let e of this.plugins){let t=this.runOnRoot(e);if(gL(t)){throw this.getAsyncError()}}this.prepareVisitors();if(this.hasListener){let e=this.result.root;while(!e[lL]){e[lL]=true;this.walkSync(e)}if(this.listeners.OnceExit){if(e.type==="document"){for(let t of e.nodes){this.visitSync(this.listeners.OnceExit,t)}}else{this.visitSync(this.listeners.OnceExit,e)}}}return this.result}then(e,t){return this.async().then(e,t)}toString(){return this.css}visitSync(e,t){for(let[n,i]of e){this.result.lastPlugin=n;let e;try{e=i(t,this.helpers)}catch(e){throw this.handleError(e,t.proxyOf)}if(t.type!=="root"&&t.type!=="document"&&!t.parent){return true}if(gL(e)){throw this.getAsyncError()}}}visitTick(e){let t=e[e.length-1];let{node:n,visitors:i}=t;if(n.type!=="root"&&n.type!=="document"&&!n.parent){e.pop();return}if(i.length>0&&t.visitorIndex<i.length){let[e,r]=i[t.visitorIndex];t.visitorIndex+=1;if(t.visitorIndex===i.length){t.visitors=[];t.visitorIndex=0}this.result.lastPlugin=e;try{return r(n.toProxy(),this.helpers)}catch(e){throw this.handleError(e,n)}}if(t.iterator!==0){let i=t.iterator;let r;while(r=n.nodes[n.indexes[i]]){n.indexes[i]+=1;if(!r[lL]){r[lL]=true;e.push(pL(r));return}}t.iterator=0;delete n.indexes[i]}let r=t.events;while(t.eventIndex<r.length){let e=r[t.eventIndex];t.eventIndex+=1;if(e===fL){if(n.nodes&&n.nodes.length){n[lL]=true;t.iterator=n.getIterator()}return}else if(this.listeners[e]){t.visitors=this.listeners[e];return}}e.pop()}walkSync(e){e[lL]=true;let t=mL(e);for(let n of t){if(n===fL){if(e.nodes){e.each((e=>{if(!e[lL])this.walkSync(e)}))}}else{let t=this.listeners[n];if(t){if(this.visitSync(t,e.toProxy()))return}}}}warnings(){return this.sync().warnings()}get content(){return this.stringify().content}get css(){return this.stringify().css}get map(){return this.stringify().map}get messages(){return this.sync().messages}get opts(){return this.result.opts}get processor(){return this.result.processor}get root(){return this.sync().root}get[Symbol.toStringTag](){return"LazyResult"}}yL.registerPostcss=e=>{vL=e};var kL=yL;yL.default=yL;aL.registerLazyResult(yL);nL.registerLazyResult(yL);let TL=ux;let wL=Kx;const EL=eL;let BL=kD;class SL{constructor(e,t,n){t=t.toString();this.stringified=false;this._processor=e;this._css=t;this._opts=n;this._map=undefined;let i;let r=BL;this.result=new EL(this._processor,i,this._opts);this.result.css=t;let o=this;Object.defineProperty(this.result,"root",{get(){return o.root}});let a=new TL(r,i,this._opts,t);if(a.isMap()){let[e,t]=a.generate();if(e){this.result.css=e}if(t){this.result.map=t}}else{a.clearAnnotation();this.result.css=a.css}}async(){if(this.error)return Promise.reject(this.error);return Promise.resolve(this.result)}catch(e){return this.async().catch(e)}finally(e){return this.async().then(e,e)}sync(){if(this.error)throw this.error;return this.result}then(e,t){return this.async().then(e,t)}toString(){return this._css}warnings(){return[]}get content(){return this.result.css}get css(){return this.result.css}get map(){return this.result.map}get messages(){return[]}get opts(){return this.result.opts}get processor(){return this.result.processor}get root(){if(this._root){return this._root}let e;let t=wL;try{e=t(this._css,this._opts)}catch(e){this.error=e}if(this.error){throw this.error}else{this._root=e;return e}}get[Symbol.toStringTag](){return"NoWorkResult"}}var CL=SL;SL.default=SL;let ML=iA;let _L=kL;let PL=CL;let DL=NA;class AL{constructor(e=[]){this.version="8.4.49";this.plugins=this.normalize(e)}normalize(e){let t=[];for(let n of e){if(n.postcss===true){n=n()}else if(n.postcss){n=n.postcss}if(typeof n==="object"&&Array.isArray(n.plugins)){t=t.concat(n.plugins)}else if(typeof n==="object"&&n.postcssPlugin){t.push(n)}else if(typeof n==="function"){t.push(n)}else if(typeof n==="object"&&(n.parse||n.stringify));else{throw new Error(n+" is not a PostCSS plugin")}}return t}process(e,t={}){if(!this.plugins.length&&!t.parser&&!t.stringifier&&!t.syntax){return new PL(this,e,t)}else{return new _L(this,e,t)}}use(e){this.plugins=this.plugins.concat(this.normalize([e]));return this}}var xL=AL;AL.default=AL;DL.registerProcessor(AL);ML.registerProcessor(AL);let LL=QD;let OL=LD;let RL=KD;let IL=fD;let NL=ID;let jL=iA;let zL=QA;let FL=xA;let UL=kL;let qL=zA;let YL=DD;let HL=Kx;let VL=xL;let $L=eL;let GL=NA;let WL=YA;let KL=kD;let ZL=Jx;function JL(...e){if(e.length===1&&Array.isArray(e[0])){e=e[0]}return new VL(e)}JL.plugin=function e(t,n){let i=false;function r(...e){if(console&&console.warn&&!i){i=true;console.warn(t+": postcss.plugin was deprecated. Migration guide:\n"+"https://evilmartians.com/chronicles/postcss-8-plugin-migration");if(iD.env.LANG&&iD.env.LANG.startsWith("cn")){console.warn(t+": 里面 postcss.plugin 被弃用. 迁移指南:\n"+"https://www.w3ctech.com/topic/2226")}}let r=n(...e);r.postcssPlugin=t;r.postcssVersion=(new VL).version;return r}let o;Object.defineProperty(r,"postcss",{get(){if(!o)o=r();return o}});r.process=function(e,t,n){return JL([r(n)]).process(e,t)};return r};JL.stringify=KL;JL.parse=HL;JL.fromJSON=zL;JL.list=qL;JL.comment=e=>new OL(e);JL.atRule=e=>new LL(e);JL.decl=e=>new NL(e);JL.rule=e=>new WL(e);JL.root=e=>new GL(e);JL.document=e=>new jL(e);JL.CssSyntaxError=IL;JL.Declaration=NL;JL.Container=RL;JL.Processor=VL;JL.Document=jL;JL.Comment=OL;JL.Warning=ZL;JL.AtRule=LL;JL.Result=$L;JL.Input=FL;JL.Rule=WL;JL.Root=GL;JL.Node=YL;UL.registerPostcss(JL);var QL=JL;JL.default=JL;const XL=xP;const eO=LP;const{isPlainObject:tO}=NP;const nO=tD;const iO=nD.exports;const{parse:rO}=QL;const oO=["img","audio","video","picture","svg","object","map","iframe","embed"];const aO=["script","style"];function sO(e,t){if(e){Object.keys(e).forEach((function(n){t(e[n],n)}))}}function lO(e,t){return{}.hasOwnProperty.call(e,t)}function cO(e,t){const n=[];sO(e,(function(e){if(t(e)){n.push(e)}}));return n}function uO(e){for(const t in e){if(lO(e,t)){return false}}return true}function dO(e){return e.map((function(e){if(!e.url){throw new Error("URL missing")}return e.url+(e.w?` ${e.w}w`:"")+(e.h?` ${e.h}h`:"")+(e.d?` ${e.d}x`:"")})).join(", ")}var hO=gO;const fO=/^[^\0\t\n\f\r /<=>]+$/;function gO(e,t,n){if(e==null){return""}if(typeof e==="number"){e=e.toString()}let i="";let r="";function o(e,t){const n=this;this.tag=e;this.attribs=t||{};this.tagPosition=i.length;this.text="";this.mediaChildren=[];this.updateParentNodeText=function(){if(p.length){const e=p[p.length-1];e.text+=n.text}};this.updateParentNodeMediaChildren=function(){if(p.length&&oO.includes(this.tag)){const e=p[p.length-1];e.mediaChildren.push(this.tag)}}}t=Object.assign({},gO.defaults,t);t.parser=Object.assign({},mO,t.parser);const a=function(e){return t.allowedTags===false||(t.allowedTags||[]).indexOf(e)>-1};aO.forEach((function(e){if(a(e)&&!t.allowVulnerableTags){console.warn(`\n\n⚠️ Your \`allowedTags\` option includes, \`${e}\`, which is inherently\nvulnerable to XSS attacks. Please remove it from \`allowedTags\`.\nOr, to disable this warning, add the \`allowVulnerableTags\` option\nand ensure you are accounting for this risk.\n\n`)}}));const s=t.nonTextTags||["script","style","textarea","option"];let l;let c;if(t.allowedAttributes){l={};c={};sO(t.allowedAttributes,(function(e,t){l[t]=[];const n=[];e.forEach((function(e){if(typeof e==="string"&&e.indexOf("*")>=0){n.push(eO(e).replace(/\\\*/g,".*"))}else{l[t].push(e)}}));if(n.length){c[t]=new RegExp("^("+n.join("|")+")$")}}))}const u={};const d={};const h={};sO(t.allowedClasses,(function(e,t){if(l){if(!lO(l,t)){l[t]=[]}l[t].push("class")}u[t]=e;if(Array.isArray(e)){const n=[];u[t]=[];h[t]=[];e.forEach((function(e){if(typeof e==="string"&&e.indexOf("*")>=0){n.push(eO(e).replace(/\\\*/g,".*"))}else if(e instanceof RegExp){h[t].push(e)}else{u[t].push(e)}}));if(n.length){d[t]=new RegExp("^("+n.join("|")+")$")}}}));const f={};let g;sO(t.transformTags,(function(e,t){let n;if(typeof e==="function"){n=e}else if(typeof e==="string"){n=gO.simpleTransform(e)}if(t==="*"){g=n}else{f[t]=n}}));let m;let p;let b;let v;let y;let k;let T=false;E();const w=new XL.Parser({onopentag:function(e,n){if(t.enforceHtmlBoundary&&e==="html"){E()}if(y){k++;return}const w=new o(e,n);p.push(w);let P=false;const A=!!w.text;let x;if(lO(f,e)){x=f[e](e,n);w.attribs=n=x.attribs;if(x.text!==undefined){w.innerText=x.text}if(e!==x.tagName){w.name=e=x.tagName;v[m]=x.tagName}}if(g){x=g(e,n);w.attribs=n=x.attribs;if(e!==x.tagName){w.name=e=x.tagName;v[m]=x.tagName}}if(!a(e)||t.disallowedTagsMode==="recursiveEscape"&&!uO(b)||t.nestingLimit!=null&&m>=t.nestingLimit){P=true;b[m]=true;if(t.disallowedTagsMode==="discard"||t.disallowedTagsMode==="completelyDiscard"){if(s.indexOf(e)!==-1){y=true;k=1}}b[m]=true}m++;if(P){if(t.disallowedTagsMode==="discard"||t.disallowedTagsMode==="completelyDiscard"){return}r=i;i=""}i+="<"+e;if(e==="script"){if(t.allowedScriptHostnames||t.allowedScriptDomains){w.innerText=""}}if(!l||lO(l,e)||l["*"]){sO(n,(function(n,r){if(!fO.test(r)){delete w.attribs[r];return}if(n===""&&!t.allowedEmptyAttributes.includes(r)&&(t.nonBooleanAttributes.includes(r)||t.nonBooleanAttributes.includes("*"))){delete w.attribs[r];return}let o=false;if(!l||lO(l,e)&&l[e].indexOf(r)!==-1||l["*"]&&l["*"].indexOf(r)!==-1||lO(c,e)&&c[e].test(r)||c["*"]&&c["*"].test(r)){o=true}else if(l&&l[e]){for(const t of l[e]){if(tO(t)&&t.name&&t.name===r){o=true;let e="";if(t.multiple===true){const i=n.split(" ");for(const n of i){if(t.values.indexOf(n)!==-1){if(e===""){e=n}else{e+=" "+n}}}}else if(t.values.indexOf(n)>=0){e=n}n=e}}}if(o){if(t.allowedSchemesAppliedToAttributes.indexOf(r)!==-1){if(S(e,n)){delete w.attribs[r];return}}if(e==="script"&&r==="src"){let e=true;try{const i=C(n);if(t.allowedScriptHostnames||t.allowedScriptDomains){const n=(t.allowedScriptHostnames||[]).find((function(e){return e===i.url.hostname}));const r=(t.allowedScriptDomains||[]).find((function(e){return i.url.hostname===e||i.url.hostname.endsWith(`.${e}`)}));e=n||r}}catch(t){e=false}if(!e){delete w.attribs[r];return}}if(e==="iframe"&&r==="src"){let e=true;try{const i=C(n);if(i.isRelativeUrl){e=lO(t,"allowIframeRelativeUrls")?t.allowIframeRelativeUrls:!t.allowedIframeHostnames&&!t.allowedIframeDomains}else if(t.allowedIframeHostnames||t.allowedIframeDomains){const n=(t.allowedIframeHostnames||[]).find((function(e){return e===i.url.hostname}));const r=(t.allowedIframeDomains||[]).find((function(e){return i.url.hostname===e||i.url.hostname.endsWith(`.${e}`)}));e=n||r}}catch(t){e=false}if(!e){delete w.attribs[r];return}}if(r==="srcset"){try{let e=iO(n);e.forEach((function(e){if(S("srcset",e.url)){e.evil=true}}));e=cO(e,(function(e){return!e.evil}));if(!e.length){delete w.attribs[r];return}else{n=dO(cO(e,(function(e){return!e.evil})));w.attribs[r]=n}}catch(e){delete w.attribs[r];return}}if(r==="class"){const t=u[e];const i=u["*"];const o=d[e];const a=h[e];const s=d["*"];const l=[o,s].concat(a).filter((function(e){return e}));if(t&&i){n=D(n,nO(t,i),l)}else{n=D(n,t||i,l)}if(!n.length){delete w.attribs[r];return}}if(r==="style"){if(t.parseStyleAttributes){try{const i=rO(e+" {"+n+"}",{map:false});const o=M(i,t.allowedStyles);n=_(o);if(n.length===0){delete w.attribs[r];return}}catch(t){if(typeof window!=="undefined"){console.warn('Failed to parse "'+e+" {"+n+"}"+"\", If you're running this in a browser, we recommend to disable style parsing: options.parseStyleAttributes: false, since this only works in a node environment due to a postcss dependency, More info: https://github.com/apostrophecms/sanitize-html/issues/547")}delete w.attribs[r];return}}else if(t.allowedStyles){throw new Error("allowedStyles option cannot be used together with parseStyleAttributes: false.")}}i+=" "+r;if(n&&n.length){i+='="'+B(n,true)+'"'}else if(t.allowedEmptyAttributes.includes(r)){i+='=""'}}else{delete w.attribs[r]}}))}if(t.selfClosing.indexOf(e)!==-1){i+=" />"}else{i+=">";if(w.innerText&&!A&&!t.textFilter){i+=B(w.innerText);T=true}}if(P){i=r+B(i);r=""}},ontext:function(e){if(y){return}const n=p[p.length-1];let r;if(n){r=n.tag;e=n.innerText!==undefined?n.innerText:e}if(t.disallowedTagsMode==="completelyDiscard"&&!a(r)){e=""}else if((t.disallowedTagsMode==="discard"||t.disallowedTagsMode==="completelyDiscard")&&(r==="script"||r==="style")){i+=e}else{const n=B(e,false);if(t.textFilter&&!T){i+=t.textFilter(n,r)}else if(!T){i+=n}}if(p.length){const t=p[p.length-1];t.text+=e}},onclosetag:function(e,n){if(y){k--;if(!k){y=false}else{return}}const o=p.pop();if(!o){return}if(o.tag!==e){p.push(o);return}y=t.enforceHtmlBoundary?e==="html":false;m--;const s=b[m];if(s){delete b[m];if(t.disallowedTagsMode==="discard"||t.disallowedTagsMode==="completelyDiscard"){o.updateParentNodeText();return}r=i;i=""}if(v[m]){e=v[m];delete v[m]}if(t.exclusiveFilter&&t.exclusiveFilter(o)){i=i.substr(0,o.tagPosition);return}o.updateParentNodeMediaChildren();o.updateParentNodeText();if(t.selfClosing.indexOf(e)!==-1||n&&!a(e)&&["escape","recursiveEscape"].indexOf(t.disallowedTagsMode)>=0){if(s){i=r;r=""}return}i+="</"+e+">";if(s){i=r+B(i);r=""}T=false}},t.parser);w.write(e);w.end();return i;function E(){i="";m=0;p=[];b={};v={};y=false;k=0}function B(e,n){if(typeof e!=="string"){e=e+""}if(t.parser.decodeEntities){e=e.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">");if(n){e=e.replace(/"/g,""")}}e=e.replace(/&(?![a-zA-Z0-9#]{1,20};)/g,"&").replace(/</g,"<").replace(/>/g,">");if(n){e=e.replace(/"/g,""")}return e}function S(e,n){n=n.replace(/[\x00-\x20]+/g,"");while(true){const e=n.indexOf("\x3c!--");if(e===-1){break}const t=n.indexOf("--\x3e",e+4);if(t===-1){break}n=n.substring(0,e)+n.substring(t+3)}const i=n.match(/^([a-zA-Z][a-zA-Z0-9.\-+]*):/);if(!i){if(n.match(/^[/\\]{2}/)){return!t.allowProtocolRelative}return false}const r=i[1].toLowerCase();if(lO(t.allowedSchemesByTag,e)){return t.allowedSchemesByTag[e].indexOf(r)===-1}return!t.allowedSchemes||t.allowedSchemes.indexOf(r)===-1}function C(e){e=e.replace(/^(\w+:)?\s*[\\/]\s*[\\/]/,"$1//");if(e.startsWith("relative:")){throw new Error("relative: exploit attempt")}let t="relative://relative-site";for(let e=0;e<100;e++){t+=`/${e}`}const n=new URL(e,t);const i=n&&n.hostname==="relative-site"&&n.protocol==="relative:";return{isRelativeUrl:i,url:n}}function M(e,t){if(!t){return e}const n=e.nodes[0];let i;if(t[n.selector]&&t["*"]){i=nO(t[n.selector],t["*"])}else{i=t[n.selector]||t["*"]}if(i){e.nodes[0].nodes=n.nodes.reduce(P(i),[])}return e}function _(e){return e.nodes[0].nodes.reduce((function(e,t){e.push(`${t.prop}:${t.value}${t.important?" !important":""}`);return e}),[]).join(";")}function P(e){return function(t,n){if(lO(e,n.prop)){const i=e[n.prop].some((function(e){return e.test(n.value)}));if(i){t.push(n)}}return t}}function D(e,t,n){if(!t){return e}e=e.split(/\s+/);return e.filter((function(e){return t.indexOf(e)!==-1||n.some((function(t){return t.test(e)}))})).join(" ")}}const mO={decodeEntities:true};gO.defaults={allowedTags:["address","article","aside","footer","header","h1","h2","h3","h4","h5","h6","hgroup","main","nav","section","blockquote","dd","div","dl","dt","figcaption","figure","hr","li","main","ol","p","pre","ul","a","abbr","b","bdi","bdo","br","cite","code","data","dfn","em","i","kbd","mark","q","rb","rp","rt","rtc","ruby","s","samp","small","span","strong","sub","sup","time","u","var","wbr","caption","col","colgroup","table","tbody","td","tfoot","th","thead","tr"],nonBooleanAttributes:["abbr","accept","accept-charset","accesskey","action","allow","alt","as","autocapitalize","autocomplete","blocking","charset","cite","class","color","cols","colspan","content","contenteditable","coords","crossorigin","data","datetime","decoding","dir","dirname","download","draggable","enctype","enterkeyhint","fetchpriority","for","form","formaction","formenctype","formmethod","formtarget","headers","height","hidden","high","href","hreflang","http-equiv","id","imagesizes","imagesrcset","inputmode","integrity","is","itemid","itemprop","itemref","itemtype","kind","label","lang","list","loading","low","max","maxlength","media","method","min","minlength","name","nonce","optimum","pattern","ping","placeholder","popover","popovertarget","popovertargetaction","poster","preload","referrerpolicy","rel","rows","rowspan","sandbox","scope","shape","size","sizes","slot","span","spellcheck","src","srcdoc","srclang","srcset","start","step","style","tabindex","target","title","translate","type","usemap","value","width","wrap","onauxclick","onafterprint","onbeforematch","onbeforeprint","onbeforeunload","onbeforetoggle","onblur","oncancel","oncanplay","oncanplaythrough","onchange","onclick","onclose","oncontextlost","oncontextmenu","oncontextrestored","oncopy","oncuechange","oncut","ondblclick","ondrag","ondragend","ondragenter","ondragleave","ondragover","ondragstart","ondrop","ondurationchange","onemptied","onended","onerror","onfocus","onformdata","onhashchange","oninput","oninvalid","onkeydown","onkeypress","onkeyup","onlanguagechange","onload","onloadeddata","onloadedmetadata","onloadstart","onmessage","onmessageerror","onmousedown","onmouseenter","onmouseleave","onmousemove","onmouseout","onmouseover","onmouseup","onoffline","ononline","onpagehide","onpageshow","onpaste","onpause","onplay","onplaying","onpopstate","onprogress","onratechange","onreset","onresize","onrejectionhandled","onscroll","onscrollend","onsecuritypolicyviolation","onseeked","onseeking","onselect","onslotchange","onstalled","onstorage","onsubmit","onsuspend","ontimeupdate","ontoggle","onunhandledrejection","onunload","onvolumechange","onwaiting","onwheel"],disallowedTagsMode:"discard",allowedAttributes:{a:["href","name","target"],img:["src","srcset","alt","title","width","height","loading"]},allowedEmptyAttributes:["alt"],selfClosing:["img","br","hr","area","base","basefont","input","link","meta"],allowedSchemes:["http","https","ftp","mailto","tel"],allowedSchemesByTag:{},allowedSchemesAppliedToAttributes:["href","src","cite"],allowProtocolRelative:true,enforceHtmlBoundary:false,parseStyleAttributes:true};gO.simpleTransform=function(e,t,n){n=n===undefined?true:n;t=t||{};return function(i,r){let o;if(n){for(o in t){r[o]=t[o]}}else{r=t}return{tagName:e,attribs:r}}};const pO=hO;var bO={exports:{}};(function(t,n){!function(e,n){t.exports=n()}(e,(function(){var e={year:0,month:1,day:2,hour:3,minute:4,second:5},t={};return function(n,i,r){var o,a=function(e,n,i){void 0===i&&(i={});var r=new Date(e),o=function(e,n){void 0===n&&(n={});var i=n.timeZoneName||"short",r=e+"|"+i,o=t[r];return o||(o=new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:e,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit",timeZoneName:i}),t[r]=o),o}(n,i);return o.formatToParts(r)},s=function(t,n){for(var i=a(t,n),o=[],s=0;s<i.length;s+=1){var l=i[s],c=l.type,u=l.value,d=e[c];d>=0&&(o[d]=parseInt(u,10))}var h=o[3],f=24===h?0:h,g=o[0]+"-"+o[1]+"-"+o[2]+" "+f+":"+o[4]+":"+o[5]+":000",m=+t;return(r.utc(g).valueOf()-(m-=m%1e3))/6e4},l=i.prototype;l.tz=function(e,t){void 0===e&&(e=o);var n=this.utcOffset(),i=this.toDate(),a=i.toLocaleString("en-US",{timeZone:e}),s=Math.round((i-new Date(a))/1e3/60),l=r(a).$set("millisecond",this.$ms).utcOffset(15*-Math.round(i.getTimezoneOffset()/15)-s,!0);if(t){var c=l.utcOffset();l=l.add(n-c,"minute")}return l.$x.$timezone=e,l},l.offsetName=function(e){var t=this.$x.$timezone||r.tz.guess(),n=a(this.valueOf(),t,{timeZoneName:e}).find((function(e){return"timezonename"===e.type.toLowerCase()}));return n&&n.value};var c=l.startOf;l.startOf=function(e,t){if(!this.$x||!this.$x.$timezone)return c.call(this,e,t);var n=r(this.format("YYYY-MM-DD HH:mm:ss:SSS"));return c.call(n,e,t).tz(this.$x.$timezone,!0)},r.tz=function(e,t,n){var i=n&&t,a=n||t||o,l=s(+r(),a);if("string"!=typeof e)return r(e).tz(a);var c=function(e,t,n){var i=e-60*t*1e3,r=s(i,n);if(t===r)return[i,t];var o=s(i-=60*(r-t)*1e3,n);return r===o?[i,r]:[e-60*Math.min(r,o)*1e3,Math.max(r,o)]}(r.utc(e,i).valueOf(),l,a),u=c[0],d=c[1],h=r(u).utcOffset(d);return h.$x.$timezone=a,h},r.tz.guess=function(){return Intl.DateTimeFormat().resolvedOptions().timeZone},r.tz.setDefault=function(e){o=e}}}))})(bO);const vO=bO.exports;var yO={exports:{}};(function(t,i){!function(e,i){t.exports=i(n.exports)}(e,(function(e){function t(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var n=t(e),i={name:"fr",weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),months:"janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre".split("_"),monthsShort:"janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.".split("_"),weekStart:1,yearStart:4,formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},ordinal:function(e){return""+e+(1===e?"er":"")}};return n.default.locale(i,null,!0),i}))})(yO);var kO={exports:{}};(function(t,i){!function(e,i){t.exports=i(n.exports)}(e,(function(e){function t(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var n=t(e),i={name:"es",monthsShort:"ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),weekdays:"domingo_lunes_martes_miércoles_jueves_viernes_sábado".split("_"),weekdaysShort:"dom._lun._mar._mié._jue._vie._sáb.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_sá".split("_"),months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),weekStart:1,formats:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY H:mm",LLLL:"dddd, D [de] MMMM [de] YYYY H:mm"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un día",dd:"%d días",M:"un mes",MM:"%d meses",y:"un año",yy:"%d años"},ordinal:function(e){return e+"º"}};return n.default.locale(i,null,!0),i}))})(kO);var TO={exports:{}};(function(t,i){!function(e,i){t.exports=i(n.exports)}(e,(function(e){function t(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var n=t(e),i={s:"ein paar Sekunden",m:["eine Minute","einer Minute"],mm:"%d Minuten",h:["eine Stunde","einer Stunde"],hh:"%d Stunden",d:["ein Tag","einem Tag"],dd:["%d Tage","%d Tagen"],M:["ein Monat","einem Monat"],MM:["%d Monate","%d Monaten"],y:["ein Jahr","einem Jahr"],yy:["%d Jahre","%d Jahren"]};function r(e,t,n){var r=i[n];return Array.isArray(r)&&(r=r[t?0:1]),r.replace("%d",e)}var o={name:"de",weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So._Mo._Di._Mi._Do._Fr._Sa.".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),months:"Januar_Februar_März_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Feb._März_Apr._Mai_Juni_Juli_Aug._Sept._Okt._Nov._Dez.".split("_"),ordinal:function(e){return e+"."},weekStart:1,yearStart:4,formats:{LTS:"HH:mm:ss",LT:"HH:mm",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},relativeTime:{future:"in %s",past:"vor %s",s:r,m:r,mm:r,h:r,hh:r,d:r,dd:r,M:r,MM:r,y:r,yy:r}};return n.default.locale(o,null,!0),o}))})(TO);var wO={exports:{}};(function(t,i){!function(e,i){t.exports=i(n.exports)}(e,(function(e){function t(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var n=t(e),i={name:"nl",weekdays:"zondag_maandag_dinsdag_woensdag_donderdag_vrijdag_zaterdag".split("_"),weekdaysShort:"zo._ma._di._wo._do._vr._za.".split("_"),weekdaysMin:"zo_ma_di_wo_do_vr_za".split("_"),months:"januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december".split("_"),monthsShort:"jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec".split("_"),ordinal:function(e){return"["+e+(1===e||8===e||e>=20?"ste":"de")+"]"},weekStart:1,yearStart:4,formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},relativeTime:{future:"over %s",past:"%s geleden",s:"een paar seconden",m:"een minuut",mm:"%d minuten",h:"een uur",hh:"%d uur",d:"een dag",dd:"%d dagen",M:"een maand",MM:"%d maanden",y:"een jaar",yy:"%d jaar"}};return n.default.locale(i,null,!0),i}))})(wO);var EO={exports:{}};(function(t,i){!function(e,i){t.exports=i(n.exports)}(e,(function(e){function t(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var n=t(e),i={name:"sv",weekdays:"söndag_måndag_tisdag_onsdag_torsdag_fredag_lördag".split("_"),weekdaysShort:"sön_mån_tis_ons_tor_fre_lör".split("_"),weekdaysMin:"sö_må_ti_on_to_fr_lö".split("_"),months:"januari_februari_mars_april_maj_juni_juli_augusti_september_oktober_november_december".split("_"),monthsShort:"jan_feb_mar_apr_maj_jun_jul_aug_sep_okt_nov_dec".split("_"),weekStart:1,yearStart:4,ordinal:function(e){var t=e%10;return"["+e+(1===t||2===t?"a":"e")+"]"},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [kl.] HH:mm",LLLL:"dddd D MMMM YYYY [kl.] HH:mm",lll:"D MMM YYYY HH:mm",llll:"ddd D MMM YYYY HH:mm"},relativeTime:{future:"om %s",past:"för %s sedan",s:"några sekunder",m:"en minut",mm:"%d minuter",h:"en timme",hh:"%d timmar",d:"en dag",dd:"%d dagar",M:"en månad",MM:"%d månader",y:"ett år",yy:"%d år"}};return n.default.locale(i,null,!0),i}))})(EO);var BO={exports:{}};(function(t,i){!function(e,i){t.exports=i(n.exports)}(e,(function(e){function t(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var n=t(e),i={name:"ja",weekdays:"日曜日_月曜日_火曜日_水曜日_木曜日_金曜日_土曜日".split("_"),weekdaysShort:"日_月_火_水_木_金_土".split("_"),weekdaysMin:"日_月_火_水_木_金_土".split("_"),months:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),ordinal:function(e){return e+"日"},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY年M月D日",LLL:"YYYY年M月D日 HH:mm",LLLL:"YYYY年M月D日 dddd HH:mm",l:"YYYY/MM/DD",ll:"YYYY年M月D日",lll:"YYYY年M月D日 HH:mm",llll:"YYYY年M月D日(ddd) HH:mm"},meridiem:function(e){return e<12?"午前":"午後"},relativeTime:{future:"%s後",past:"%s前",s:"数秒",m:"1分",mm:"%d分",h:"1時間",hh:"%d時間",d:"1日",dd:"%d日",M:"1ヶ月",MM:"%dヶ月",y:"1年",yy:"%d年"}};return n.default.locale(i,null,!0),i}))})(BO);var SO={exports:{}};(function(t,i){!function(e,i){t.exports=i(n.exports)}(e,(function(e){function t(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var n=t(e),i={name:"zh-cn",weekdays:"星期日_星期一_星期二_星期三_星期四_星期五_星期六".split("_"),weekdaysShort:"周日_周一_周二_周三_周四_周五_周六".split("_"),weekdaysMin:"日_一_二_三_四_五_六".split("_"),months:"一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),ordinal:function(e,t){return"W"===t?e+"周":e+"日"},weekStart:1,yearStart:4,formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY年M月D日",LLL:"YYYY年M月D日Ah点mm分",LLLL:"YYYY年M月D日ddddAh点mm分",l:"YYYY/M/D",ll:"YYYY年M月D日",lll:"YYYY年M月D日 HH:mm",llll:"YYYY年M月D日dddd HH:mm"},relativeTime:{future:"%s内",past:"%s前",s:"几秒",m:"1 分钟",mm:"%d 分钟",h:"1 小时",hh:"%d 小时",d:"1 天",dd:"%d 天",M:"1 个月",MM:"%d 个月",y:"1 年",yy:"%d 年"},meridiem:function(e,t){var n=100*e+t;return n<600?"凌晨":n<900?"早上":n<1100?"上午":n<1300?"中午":n<1800?"下午":"晚上"}};return n.default.locale(i,null,!0),i}))})(SO);var CO={exports:{}};(function(t,i){!function(e,i){t.exports=i(n.exports)}(e,(function(e){function t(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var n=t(e),i={name:"ko",weekdays:"일요일_월요일_화요일_수요일_목요일_금요일_토요일".split("_"),weekdaysShort:"일_월_화_수_목_금_토".split("_"),weekdaysMin:"일_월_화_수_목_금_토".split("_"),months:"1월_2월_3월_4월_5월_6월_7월_8월_9월_10월_11월_12월".split("_"),monthsShort:"1월_2월_3월_4월_5월_6월_7월_8월_9월_10월_11월_12월".split("_"),ordinal:function(e){return e},formats:{LT:"A h:mm",LTS:"A h:mm:ss",L:"YYYY.MM.DD.",LL:"YYYY년 MMMM D일",LLL:"YYYY년 MMMM D일 A h:mm",LLLL:"YYYY년 MMMM D일 dddd A h:mm",l:"YYYY.MM.DD.",ll:"YYYY년 MMMM D일",lll:"YYYY년 MMMM D일 A h:mm",llll:"YYYY년 MMMM D일 dddd A h:mm"},meridiem:function(e){return e<12?"오전":"오후"},relativeTime:{future:"%s 후",past:"%s 전",s:"몇 초",m:"1분",mm:"%d분",h:"한 시간",hh:"%d시간",d:"하루",dd:"%d일",M:"한 달",MM:"%d달",y:"일 년",yy:"%d년"}};return n.default.locale(i,null,!0),i}))})(CO);i.extend(r);i.extend(vO);const MO={textFilter:function(e){return e.replace(/&/g,"&")}};function _O(e){return i().tz(e).format("Z")}function PO(e){return pO(e,MO)}function DO(...e){if(window&&window.localStorage&&window.localStorage.getItem("debug")){console.groupCollapsed(...e);const t=new Error;t.name="Debug";console.debug(t.stack);console.groupEnd()}}function AO(...e){console.error(...e)}function xO(){return Math.random().toString(36).substr(2,9)}function LO(e){return e.toString().replace(/^on/,"")}function OO(e){return new Date(e.getFullYear(),e.getMonth()+1,0)}function RO(e){return new Date(e.getFullYear(),e.getMonth(),1)}function IO(e,t){return e.getFullYear()===t.getFullYear()&&e.getMonth()===t.getMonth()&&e.getDate()===t.getDate()}function NO(e,t,n){const r=i(e).tz(n);const o=i(t);return r.year()===o.year()&&r.month()===o.month()&&r.date()===o.date()}function jO(e,t,n="en-US"){return i(e).tz(t).locale(n).format("dddd, MMMM D, YYYY")}function zO(e,t){return e.getFullYear()===t.getFullYear()&&e.getMonth()===t.getMonth()}const FO=e=>{if(e===""){return true}const t=/^(0[0-9]|1[0-2]|^[0-9])(:[0-5][0-9][ap]m?|:[0-5][0-9]|:[0-5]|:)?$/i;return t.test(e)};const UO=e=>{const t=/^(0[1-9]|1[0-2]):([0-5][0-9])(am|pm)$/i;return t.test(e)};function qO(e=null){let t=i();if(e){t=e}const n=t.minute()%15;let r;if(n!==0){r=t.add(15-n,"minute")}else{r=t}return r}function YO(e){const t=i();let n="";const[r,o]=e.split(":");if(r.length===1){n+="0"+r}else if(r.length===2){n+=r}n+=":";if(o===undefined||o==""){n+="00"}else{if(o.length===1){n+=o+"0"}else{n+=o}}const a=n.slice(-1);if(a==="a"){n+="m"}if(a==="p"){n+="m"}if(n.slice(-1)!=="m"){if(n.split(":")[0]=="00"){n+="am"}else{n+=t.format("a")}}return n}function HO(e){const[t,n]=e.split(":").map((e=>parseInt(e,10)));let i=t;const r=i>=12?"pm":"am";i=i%12;i=i?i:12;const o=i.toString().padStart(2,"0");const a=n.toString().padStart(2,"0");return`${o}:${a}${r}`}function VO(e){const[t,n]=e.split(/(am|pm)/i);const[i,r]=t.split(":").map((e=>parseInt(e,10)));let o=i;if(n.toLowerCase()==="pm"&&o<12){o+=12}else if(n.toLowerCase()==="am"&&o===12){o=0}return`${o.toString().padStart(2,"0")}:${r.toString().padStart(2,"0")}`}function $O(e){const[t,n]=e.match(/(\d+):(\d+)(am|pm)/).slice(1);let i=parseInt(t,10)*60+parseInt(n,10);if(e.includes("pm")&&parseInt(t,10)<12)i+=12*60;if(e.includes("am")&&parseInt(t,10)===12)i-=12*60;return i}function GO(e){const t=Math.floor(e/60);const n=e%60;return`${t}:${n<10?"0":""}${n}`}function WO(){const e=navigator.userAgent;const t=/Chrome/.test(e)&&/Google Inc/.test(navigator.vendor);const n=/Safari/.test(e)&&/Apple Computer/.test(navigator.vendor);const i=/Firefox/.test(e);const r=/Trident/.test(e);const o=/Edge/.test(e);const a=t&&/Edg/.test(e);if(a)return"Edge (Chromium)";if(t)return"Chrome";if(n)return"Safari";if(i)return"Firefox";if(r)return"Internet Explorer";if(o)return"Edge (Legacy)";return"Unknown"}function KO(e,t=null){if(t){return[null,t]}return[e,null]}function ZO(e,t){const n={"config.id":t?.id,id:t?.id,slug:t?.slug};Object.keys(n).forEach((t=>{if(n[t]){e=e.replace(`{${t}}`,n[t])}}));return e}function JO(e){if(e.keyCode<48||e.keyCode>90&&e.keyCode<96||e.keyCode>111&&e.keyCode<186||e.keyCode>222||e.keyCode===32||e.keyCode===91||e.keyCode===92||e.keyCode===93||e.keyCode>=112&&e.keyCode<=123||e.keyCode>=37&&e.keyCode<=40){return true}if(e.ctrlKey||e.altKey||e.metaKey){return true}const t=[48,49,50,51,52,53,54,55,56,57,186,187,188,189,190,191,192,219,220,221,222];if(e.shiftKey&&t.includes(e.keyCode)){return false}return false}function QO(e,t){const n=new Date(e);n.setDate(n.getDate()+t);n.setHours(23);n.setMinutes(59);n.setSeconds(0);n.setMilliseconds(0);return n}function XO(e){return e&&typeof e==="object"&&!Array.isArray(e)}function eR(e,t){if(Array.isArray(e)&&Array.isArray(t)&&e!==t){if(e.some((e=>e.is_organizer))&&t.some((e=>e.is_organizer))){e=e.map((e=>({...e,is_organizer:false})))}else if(!t.some((e=>e.is_organizer))){let t=false;e=e.map((e=>{if(!t){t=true;return{...e,is_organizer:true}}return e}))}return e.map(((e,n)=>t[n]?eR(e,t[n]):e)).concat(t.slice(e.length))}else if(XO(e)&&XO(t)){const n=Object.assign({},e);Object.keys(t).forEach((i=>{if(XO(t[i])){if(!(i in e)){n[i]=t[i]}else{n[i]=eR(e[i],t[i])}}else{n[i]=t[i]}}));return n}return t}function tR(e){if(e<60){return`${e} ${rR("time.minutes")}`}const t=Math.floor(e/60);const n=e%60;const i=rR(`time.${t>1?"hours":"hour"}`);const r=n?`${n} ${rR(`time.${n>1?"minutes":"minute"}`)}`:"";return`${t} ${i} ${r}`}function nR(e,t){e.forEach((e=>{const n=t.shadowRoot?.querySelector(`slot[name="${e}"]`);const i=n?.assignedNodes();if(i&&i.length===0){console.warn(`${t.nodeName} No content provided for slot="${e}".`)}}))}function iR(e){const t=w.from(e,"base64");const n=t.slice(0,16);const i=t.slice(16,32);const r=t.slice(32);function o(e){const t=e.toString("hex");return`${t.slice(0,8)}-${t.slice(8,12)}-${t.slice(12,16)}-${t.slice(16,20)}-${t.slice(20)}`}const a=o(n);const s=o(i);const l=r.toString("base64").replace(/\+/g,"-").replace(/\//g,"_").replace(/=+$/,"");return[a,s,l]}const rR=e=>Di.t(e);const oR=e=>{if(typeof e!=="string")return"";return e.charAt(0).toUpperCase()+e.slice(1)};const aR=e=>rR(`months.${e}`);const sR=e=>{try{new URL(e);return true}catch(e){return false}};const lR=e=>new Promise(((t,n)=>{if(e==="")return t(true);const i=new Image;i.src=e;i.onerror=()=>{n(false)};i.onload=()=>{t(true)}}));function cR(e,t,n,r,o="UTC"){const a={0:vn.SU,1:vn.MO,2:vn.TU,3:vn.WE,4:vn.TH,5:vn.FR,6:vn.SA};const s=i.tz(e,o).toDate();const l=a[s.getDay()];const c=s.getDate();const u=Math.ceil(c/7);const d=n?i.tz(n,o).toDate():undefined;switch(t){case"none":{return null}case"daily":{return new vn({freq:vn.DAILY,until:d}).toString()}case"weekly":{return new vn({freq:vn.WEEKLY,byweekday:l,until:d}).toString()}case"monthly":{return new vn({freq:vn.MONTHLY,byweekday:[l.nth(u)],until:d}).toString()}case"yearly":{return new vn({freq:vn.YEARLY,dtstart:s,until:d}).toString()}case"custom":{if(!r){throw new Error("Custom options must be provided for custom recurrence.")}const t=r.frequency==="weekly"?r.daysOfWeek?.map((e=>vn[e])):r.frequency==="monthly"&&!r.monthlySameDate?[l.nth(u)]:undefined;const n=r.frequency==="monthly"&&r.monthlySameDate?i.tz(e,o).date():undefined;return new vn({freq:{daily:vn.DAILY,weekly:vn.WEEKLY,monthly:vn.MONTHLY,yearly:vn.YEARLY}[r.frequency||"daily"],interval:r.interval||1,byweekday:t,bymonthday:n,until:r.end?.type==="on"?i.tz(r.end.date,o).toDate():undefined,count:r.end?.type==="after"?r.end.count:undefined}).toString()}default:{throw new Error(`Invalid option: ${t}`)}}}function uR(e,t){const n=i(e).startOf("day");let r;let o;switch(t){case"week":{r=n.startOf("week");o=n.endOf("week");break}case"month":{r=n.startOf("month").startOf("week");o=n.endOf("month").endOf("week");break}case"day":{r=n.startOf("day");o=n.endOf("day");break}default:{throw new Error('Invalid viewType. Use "week", "month", or "day".')}}return{startTime:r.unix(),endTime:o.unix()}}export{$O as A,w as B,HO as C,VO as D,GO as E,sR as F,nR as G,cR as H,lR as I,WO as J,JO as K,YO as L,FO as M,qO as N,UO as O,DO as a,QO as b,uR as c,KO as d,AO as e,LO as f,o as g,iR as h,Di as i,oR as j,ZO as k,jO as l,eR as m,PO as n,zO as o,iD as p,OO as q,RO as r,pO as s,vO as t,xO as u,IO as v,NO as w,tR as x,aR as y,_O as z};
|
|
14
|
-
//# sourceMappingURL=p-
|
|
13
|
+
*/function OP(e){return Object.prototype.toString.call(e)==="[object Object]"}function RP(e){var t,n;if(OP(e)===false)return false;t=e.constructor;if(t===undefined)return true;n=t.prototype;if(OP(n)===false)return false;if(n.hasOwnProperty("isPrototypeOf")===false){return false}return true}const IP=Object.freeze({__proto__:null,isPlainObject:RP});const NP=t(IP);var jP=function e(t){return zP(t)&&!FP(t)};function zP(e){return!!e&&typeof e==="object"}function FP(e){var t=Object.prototype.toString.call(e);return t==="[object RegExp]"||t==="[object Date]"||YP(e)}var UP=typeof Symbol==="function"&&Symbol.for;var qP=UP?Symbol.for("react.element"):60103;function YP(e){return e.$$typeof===qP}function HP(e){return Array.isArray(e)?[]:{}}function VP(e,t){return t.clone!==false&&t.isMergeableObject(e)?XP(HP(e),e,t):e}function $P(e,t,n){return e.concat(t).map((function(e){return VP(e,n)}))}function GP(e,t){if(!t.customMerge){return XP}var n=t.customMerge(e);return typeof n==="function"?n:XP}function WP(e){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e).filter((function(t){return Object.propertyIsEnumerable.call(e,t)})):[]}function KP(e){return Object.keys(e).concat(WP(e))}function ZP(e,t){try{return t in e}catch(e){return false}}function JP(e,t){return ZP(e,t)&&!(Object.hasOwnProperty.call(e,t)&&Object.propertyIsEnumerable.call(e,t))}function QP(e,t,n){var i={};if(n.isMergeableObject(e)){KP(e).forEach((function(t){i[t]=VP(e[t],n)}))}KP(t).forEach((function(r){if(JP(e,r)){return}if(ZP(e,r)&&n.isMergeableObject(t[r])){i[r]=GP(r,n)(e[r],t[r],n)}else{i[r]=VP(t[r],n)}}));return i}function XP(e,t,n){n=n||{};n.arrayMerge=n.arrayMerge||$P;n.isMergeableObject=n.isMergeableObject||jP;n.cloneUnlessOtherwiseSpecified=VP;var i=Array.isArray(t);var r=Array.isArray(e);var o=i===r;if(!o){return VP(t,n)}else if(i){return n.arrayMerge(e,t,n)}else{return QP(e,t,n)}}XP.all=function e(t,n){if(!Array.isArray(t)){throw new Error("first argument should be an array")}return t.reduce((function(e,t){return XP(e,t,n)}),{})};var eD=XP;var tD=eD;var nD={exports:{}};(function(t){(function(e,n){if(t.exports){t.exports=n()}else{e.parseSrcset=n()}})(e,(function(){return function(e){function t(e){return e===" "||e==="\t"||e==="\n"||e==="\f"||e==="\r"}function n(t){var n,i=t.exec(e.substring(m));if(i){n=i[0];m+=n.length;return n}}var i=e.length,r=/^[ \t\n\r\u000c]+/,o=/^[, \t\n\r\u000c]+/,a=/^[^ \t\n\r\u000c]+/,s=/[,]+$/,l=/^\d+$/,c=/^-?(?:[0-9]+|[0-9]*\.[0-9]+)(?:[eE][+-]?[0-9]+)?$/,u,d,h,f,g,m=0,p=[];while(true){n(o);if(m>=i){return p}u=n(a);d=[];if(u.slice(-1)===","){u=u.replace(s,"");v()}else{b()}}function b(){n(r);h="";f="in descriptor";while(true){g=e.charAt(m);if(f==="in descriptor"){if(t(g)){if(h){d.push(h);h="";f="after descriptor"}}else if(g===","){m+=1;if(h){d.push(h)}v();return}else if(g==="("){h=h+g;f="in parens"}else if(g===""){if(h){d.push(h)}v();return}else{h=h+g}}else if(f==="in parens"){if(g===")"){h=h+g;f="in descriptor"}else if(g===""){d.push(h);v();return}else{h=h+g}}else if(f==="after descriptor"){if(t(g));else if(g===""){v();return}else{f="in descriptor";m-=1}}m+=1}}function v(){var t=false,n,i,r,o,a={},s,h,f,g,m;for(o=0;o<d.length;o++){s=d[o];h=s[s.length-1];f=s.substring(0,s.length-1);g=parseInt(f,10);m=parseFloat(f);if(l.test(f)&&h==="w"){if(n||i){t=true}if(g===0){t=true}else{n=g}}else if(c.test(f)&&h==="x"){if(n||i||r){t=true}if(m<0){t=true}else{i=m}}else if(l.test(f)&&h==="h"){if(r||i){t=true}if(g===0){t=true}else{r=g}}else{t=true}}if(!t){a.url=u;if(n){a.w=n}if(i){a.d=i}if(r){a.h=r}p.push(a)}else if(console&&console.log){console.log("Invalid srcset descriptor found in '"+e+"' at '"+s+"'.")}}}}))})(nD);var iD=e.process;var rD={exports:{}};var oD=String;var aD=function(){return{isColorSupported:false,reset:oD,bold:oD,dim:oD,italic:oD,underline:oD,inverse:oD,hidden:oD,strikethrough:oD,black:oD,red:oD,green:oD,yellow:oD,blue:oD,magenta:oD,cyan:oD,white:oD,gray:oD,bgBlack:oD,bgRed:oD,bgGreen:oD,bgYellow:oD,bgBlue:oD,bgMagenta:oD,bgCyan:oD,bgWhite:oD,blackBright:oD,redBright:oD,greenBright:oD,yellowBright:oD,blueBright:oD,magentaBright:oD,cyanBright:oD,whiteBright:oD,bgBlackBright:oD,bgRedBright:oD,bgGreenBright:oD,bgYellowBright:oD,bgBlueBright:oD,bgMagentaBright:oD,bgCyanBright:oD,bgWhiteBright:oD}};rD.exports=aD();rD.exports.createColors=aD;const sD={};const lD=Object.freeze({__proto__:null,default:sD});const cD=t(lD);let uD=rD.exports;let dD=cD;class hD extends Error{constructor(e,t,n,i,r,o){super(e);this.name="CssSyntaxError";this.reason=e;if(r){this.file=r}if(i){this.source=i}if(o){this.plugin=o}if(typeof t!=="undefined"&&typeof n!=="undefined"){if(typeof t==="number"){this.line=t;this.column=n}else{this.line=t.line;this.column=t.column;this.endLine=n.line;this.endColumn=n.column}}this.setMessage();if(Error.captureStackTrace){Error.captureStackTrace(this,hD)}}setMessage(){this.message=this.plugin?this.plugin+": ":"";this.message+=this.file?this.file:"<css input>";if(typeof this.line!=="undefined"){this.message+=":"+this.line+":"+this.column}this.message+=": "+this.reason}showSourceCode(e){if(!this.source)return"";let t=this.source;if(e==null)e=uD.isColorSupported;let n=e=>e;let i=e=>e;let r=e=>e;if(e){let{bold:e,gray:t,red:o}=uD.createColors(true);i=t=>e(o(t));n=e=>t(e);if(dD){r=e=>dD(e)}}let o=t.split(/\r?\n/);let a=Math.max(this.line-3,0);let s=Math.min(this.line+2,o.length);let l=String(s).length;return o.slice(a,s).map(((e,t)=>{let o=a+1+t;let s=" "+(" "+o).slice(-l)+" | ";if(o===this.line){if(e.length>160){let t=20;let o=Math.max(0,this.column-t);let a=Math.max(this.column+t,this.endColumn+t);let l=e.slice(o,a);let c=n(s.replace(/\d/g," "))+e.slice(0,Math.min(this.column-1,t-1)).replace(/[^\t]/g," ");return i(">")+n(s)+r(l)+"\n "+c+i("^")}let t=n(s.replace(/\d/g," "))+e.slice(0,this.column-1).replace(/[^\t]/g," ");return i(">")+n(s)+r(e)+"\n "+t+i("^")}return" "+n(s)+r(e)})).join("\n")}toString(){let e=this.showSourceCode();if(e){e="\n\n"+e+"\n"}return this.name+": "+this.message+e}}var fD=hD;hD.default=hD;const gD={after:"\n",beforeClose:"\n",beforeComment:"\n",beforeDecl:"\n",beforeOpen:" ",beforeRule:"\n",colon:": ",commentLeft:" ",commentRight:" ",emptyBody:"",indent:" ",semicolon:false};function mD(e){return e[0].toUpperCase()+e.slice(1)}class pD{constructor(e){this.builder=e}atrule(e,t){let n="@"+e.name;let i=e.params?this.rawValue(e,"params"):"";if(typeof e.raws.afterName!=="undefined"){n+=e.raws.afterName}else if(i){n+=" "}if(e.nodes){this.block(e,n+i)}else{let r=(e.raws.between||"")+(t?";":"");this.builder(n+i+r,e)}}beforeAfter(e,t){let n;if(e.type==="decl"){n=this.raw(e,null,"beforeDecl")}else if(e.type==="comment"){n=this.raw(e,null,"beforeComment")}else if(t==="before"){n=this.raw(e,null,"beforeRule")}else{n=this.raw(e,null,"beforeClose")}let i=e.parent;let r=0;while(i&&i.type!=="root"){r+=1;i=i.parent}if(n.includes("\n")){let t=this.raw(e,null,"indent");if(t.length){for(let e=0;e<r;e++)n+=t}}return n}block(e,t){let n=this.raw(e,"between","beforeOpen");this.builder(t+n+"{",e,"start");let i;if(e.nodes&&e.nodes.length){this.body(e);i=this.raw(e,"after")}else{i=this.raw(e,"after","emptyBody")}if(i)this.builder(i);this.builder("}",e,"end")}body(e){let t=e.nodes.length-1;while(t>0){if(e.nodes[t].type!=="comment")break;t-=1}let n=this.raw(e,"semicolon");for(let i=0;i<e.nodes.length;i++){let r=e.nodes[i];let o=this.raw(r,"before");if(o)this.builder(o);this.stringify(r,t!==i||n)}}comment(e){let t=this.raw(e,"left","commentLeft");let n=this.raw(e,"right","commentRight");this.builder("/*"+t+e.text+n+"*/",e)}decl(e,t){let n=this.raw(e,"between","colon");let i=e.prop+n+this.rawValue(e,"value");if(e.important){i+=e.raws.important||" !important"}if(t)i+=";";this.builder(i,e)}document(e){this.body(e)}raw(e,t,n){let i;if(!n)n=t;if(t){i=e.raws[t];if(typeof i!=="undefined")return i}let r=e.parent;if(n==="before"){if(!r||r.type==="root"&&r.first===e){return""}if(r&&r.type==="document"){return""}}if(!r)return gD[n];let o=e.root();if(!o.rawCache)o.rawCache={};if(typeof o.rawCache[n]!=="undefined"){return o.rawCache[n]}if(n==="before"||n==="after"){return this.beforeAfter(e,n)}else{let r="raw"+mD(n);if(this[r]){i=this[r](o,e)}else{o.walk((e=>{i=e.raws[t];if(typeof i!=="undefined")return false}))}}if(typeof i==="undefined")i=gD[n];o.rawCache[n]=i;return i}rawBeforeClose(e){let t;e.walk((e=>{if(e.nodes&&e.nodes.length>0){if(typeof e.raws.after!=="undefined"){t=e.raws.after;if(t.includes("\n")){t=t.replace(/[^\n]+$/,"")}return false}}}));if(t)t=t.replace(/\S/g,"");return t}rawBeforeComment(e,t){let n;e.walkComments((e=>{if(typeof e.raws.before!=="undefined"){n=e.raws.before;if(n.includes("\n")){n=n.replace(/[^\n]+$/,"")}return false}}));if(typeof n==="undefined"){n=this.raw(t,null,"beforeDecl")}else if(n){n=n.replace(/\S/g,"")}return n}rawBeforeDecl(e,t){let n;e.walkDecls((e=>{if(typeof e.raws.before!=="undefined"){n=e.raws.before;if(n.includes("\n")){n=n.replace(/[^\n]+$/,"")}return false}}));if(typeof n==="undefined"){n=this.raw(t,null,"beforeRule")}else if(n){n=n.replace(/\S/g,"")}return n}rawBeforeOpen(e){let t;e.walk((e=>{if(e.type!=="decl"){t=e.raws.between;if(typeof t!=="undefined")return false}}));return t}rawBeforeRule(e){let t;e.walk((n=>{if(n.nodes&&(n.parent!==e||e.first!==n)){if(typeof n.raws.before!=="undefined"){t=n.raws.before;if(t.includes("\n")){t=t.replace(/[^\n]+$/,"")}return false}}}));if(t)t=t.replace(/\S/g,"");return t}rawColon(e){let t;e.walkDecls((e=>{if(typeof e.raws.between!=="undefined"){t=e.raws.between.replace(/[^\s:]/g,"");return false}}));return t}rawEmptyBody(e){let t;e.walk((e=>{if(e.nodes&&e.nodes.length===0){t=e.raws.after;if(typeof t!=="undefined")return false}}));return t}rawIndent(e){if(e.raws.indent)return e.raws.indent;let t;e.walk((n=>{let i=n.parent;if(i&&i!==e&&i.parent&&i.parent===e){if(typeof n.raws.before!=="undefined"){let e=n.raws.before.split("\n");t=e[e.length-1];t=t.replace(/\S/g,"");return false}}}));return t}rawSemicolon(e){let t;e.walk((e=>{if(e.nodes&&e.nodes.length&&e.last.type==="decl"){t=e.raws.semicolon;if(typeof t!=="undefined")return false}}));return t}rawValue(e,t){let n=e[t];let i=e.raws[t];if(i&&i.value===n){return i.raw}return n}root(e){this.body(e);if(e.raws.after)this.builder(e.raws.after)}rule(e){this.block(e,this.rawValue(e,"selector"));if(e.raws.ownSemicolon){this.builder(e.raws.ownSemicolon,e,"end")}}stringify(e,t){if(!this[e.type]){throw new Error("Unknown AST node type "+e.type+". "+"Maybe you need to change PostCSS stringifier.")}this[e.type](e,t)}}var bD=pD;pD.default=pD;let vD=bD;function yD(e,t){let n=new vD(t);n.stringify(e)}var kD=yD;yD.default=yD;var TD={};TD.isClean=Symbol("isClean");TD.my=Symbol("my");let wD=fD;let ED=bD;let BD=kD;let{isClean:SD,my:CD}=TD;function MD(e,t){let n=new e.constructor;for(let i in e){if(!Object.prototype.hasOwnProperty.call(e,i)){continue}if(i==="proxyCache")continue;let r=e[i];let o=typeof r;if(i==="parent"&&o==="object"){if(t)n[i]=t}else if(i==="source"){n[i]=r}else if(Array.isArray(r)){n[i]=r.map((e=>MD(e,n)))}else{if(o==="object"&&r!==null)r=MD(r);n[i]=r}}return n}function _D(e,t){if(t&&typeof t.offset!=="undefined"){return t.offset}let n=1;let i=1;let r=0;for(let o=0;o<e.length;o++){if(i===t.line&&n===t.column){r=o;break}if(e[o]==="\n"){n=1;i+=1}else{n+=1}}return r}class PD{constructor(e={}){this.raws={};this[SD]=false;this[CD]=true;for(let t in e){if(t==="nodes"){this.nodes=[];for(let n of e[t]){if(typeof n.clone==="function"){this.append(n.clone())}else{this.append(n)}}}else{this[t]=e[t]}}}addToError(e){e.postcssNode=this;if(e.stack&&this.source&&/\n\s{4}at /.test(e.stack)){let t=this.source;e.stack=e.stack.replace(/\n\s{4}at /,`$&${t.input.from}:${t.start.line}:${t.start.column}$&`)}return e}after(e){this.parent.insertAfter(this,e);return this}assign(e={}){for(let t in e){this[t]=e[t]}return this}before(e){this.parent.insertBefore(this,e);return this}cleanRaws(e){delete this.raws.before;delete this.raws.after;if(!e)delete this.raws.between}clone(e={}){let t=MD(this);for(let n in e){t[n]=e[n]}return t}cloneAfter(e={}){let t=this.clone(e);this.parent.insertAfter(this,t);return t}cloneBefore(e={}){let t=this.clone(e);this.parent.insertBefore(this,t);return t}error(e,t={}){if(this.source){let{end:n,start:i}=this.rangeBy(t);return this.source.input.error(e,{column:i.column,line:i.line},{column:n.column,line:n.line},t)}return new wD(e)}getProxyProcessor(){return{get(e,t){if(t==="proxyOf"){return e}else if(t==="root"){return()=>e.root().toProxy()}else{return e[t]}},set(e,t,n){if(e[t]===n)return true;e[t]=n;if(t==="prop"||t==="value"||t==="name"||t==="params"||t==="important"||t==="text"){e.markDirty()}return true}}}markClean(){this[SD]=true}markDirty(){if(this[SD]){this[SD]=false;let e=this;while(e=e.parent){e[SD]=false}}}next(){if(!this.parent)return undefined;let e=this.parent.index(this);return this.parent.nodes[e+1]}positionBy(e){let t=this.source.start;if(e.index){t=this.positionInside(e.index)}else if(e.word){let n=this.source.input.css.slice(_D(this.source.input.css,this.source.start),_D(this.source.input.css,this.source.end));let i=n.indexOf(e.word);if(i!==-1)t=this.positionInside(i)}return t}positionInside(e){let t=this.source.start.column;let n=this.source.start.line;let i=_D(this.source.input.css,this.source.start);let r=i+e;for(let e=i;e<r;e++){if(this.source.input.css[e]==="\n"){t=1;n+=1}else{t+=1}}return{column:t,line:n}}prev(){if(!this.parent)return undefined;let e=this.parent.index(this);return this.parent.nodes[e-1]}rangeBy(e){let t={column:this.source.start.column,line:this.source.start.line};let n=this.source.end?{column:this.source.end.column+1,line:this.source.end.line}:{column:t.column+1,line:t.line};if(e.word){let i=this.source.input.css.slice(_D(this.source.input.css,this.source.start),_D(this.source.input.css,this.source.end));let r=i.indexOf(e.word);if(r!==-1){t=this.positionInside(r);n=this.positionInside(r+e.word.length)}}else{if(e.start){t={column:e.start.column,line:e.start.line}}else if(e.index){t=this.positionInside(e.index)}if(e.end){n={column:e.end.column,line:e.end.line}}else if(typeof e.endIndex==="number"){n=this.positionInside(e.endIndex)}else if(e.index){n=this.positionInside(e.index+1)}}if(n.line<t.line||n.line===t.line&&n.column<=t.column){n={column:t.column+1,line:t.line}}return{end:n,start:t}}raw(e,t){let n=new ED;return n.raw(this,e,t)}remove(){if(this.parent){this.parent.removeChild(this)}this.parent=undefined;return this}replaceWith(...e){if(this.parent){let t=this;let n=false;for(let i of e){if(i===this){n=true}else if(n){this.parent.insertAfter(t,i);t=i}else{this.parent.insertBefore(t,i)}}if(!n){this.remove()}}return this}root(){let e=this;while(e.parent&&e.parent.type!=="document"){e=e.parent}return e}toJSON(e,t){let n={};let i=t==null;t=t||new Map;let r=0;for(let e in this){if(!Object.prototype.hasOwnProperty.call(this,e)){continue}if(e==="parent"||e==="proxyCache")continue;let i=this[e];if(Array.isArray(i)){n[e]=i.map((e=>{if(typeof e==="object"&&e.toJSON){return e.toJSON(null,t)}else{return e}}))}else if(typeof i==="object"&&i.toJSON){n[e]=i.toJSON(null,t)}else if(e==="source"){let o=t.get(i.input);if(o==null){o=r;t.set(i.input,r);r++}n[e]={end:i.end,inputId:o,start:i.start}}else{n[e]=i}}if(i){n.inputs=[...t.keys()].map((e=>e.toJSON()))}return n}toProxy(){if(!this.proxyCache){this.proxyCache=new Proxy(this,this.getProxyProcessor())}return this.proxyCache}toString(e=BD){if(e.stringify)e=e.stringify;let t="";e(this,(e=>{t+=e}));return t}warn(e,t,n){let i={node:this};for(let e in n)i[e]=n[e];return e.warn(t,i)}get proxyOf(){return this}}var DD=PD;PD.default=PD;let AD=DD;class xD extends AD{constructor(e){super(e);this.type="comment"}}var LD=xD;xD.default=xD;let OD=DD;class RD extends OD{constructor(e){if(e&&typeof e.value!=="undefined"&&typeof e.value!=="string"){e={...e,value:String(e.value)}}super(e);this.type="decl"}get variable(){return this.prop.startsWith("--")||this.prop[0]==="$"}}var ID=RD;RD.default=RD;let ND=LD;let jD=ID;let zD=DD;let{isClean:FD,my:UD}=TD;let qD,YD,HD,VD;function $D(e){return e.map((e=>{if(e.nodes)e.nodes=$D(e.nodes);delete e.source;return e}))}function GD(e){e[FD]=false;if(e.proxyOf.nodes){for(let t of e.proxyOf.nodes){GD(t)}}}class WD extends zD{append(...e){for(let t of e){let e=this.normalize(t,this.last);for(let t of e)this.proxyOf.nodes.push(t)}this.markDirty();return this}cleanRaws(e){super.cleanRaws(e);if(this.nodes){for(let t of this.nodes)t.cleanRaws(e)}}each(e){if(!this.proxyOf.nodes)return undefined;let t=this.getIterator();let n,i;while(this.indexes[t]<this.proxyOf.nodes.length){n=this.indexes[t];i=e(this.proxyOf.nodes[n],n);if(i===false)break;this.indexes[t]+=1}delete this.indexes[t];return i}every(e){return this.nodes.every(e)}getIterator(){if(!this.lastEach)this.lastEach=0;if(!this.indexes)this.indexes={};this.lastEach+=1;let e=this.lastEach;this.indexes[e]=0;return e}getProxyProcessor(){return{get(e,t){if(t==="proxyOf"){return e}else if(!e[t]){return e[t]}else if(t==="each"||typeof t==="string"&&t.startsWith("walk")){return(...n)=>e[t](...n.map((e=>{if(typeof e==="function"){return(t,n)=>e(t.toProxy(),n)}else{return e}})))}else if(t==="every"||t==="some"){return n=>e[t](((e,...t)=>n(e.toProxy(),...t)))}else if(t==="root"){return()=>e.root().toProxy()}else if(t==="nodes"){return e.nodes.map((e=>e.toProxy()))}else if(t==="first"||t==="last"){return e[t].toProxy()}else{return e[t]}},set(e,t,n){if(e[t]===n)return true;e[t]=n;if(t==="name"||t==="params"||t==="selector"){e.markDirty()}return true}}}index(e){if(typeof e==="number")return e;if(e.proxyOf)e=e.proxyOf;return this.proxyOf.nodes.indexOf(e)}insertAfter(e,t){let n=this.index(e);let i=this.normalize(t,this.proxyOf.nodes[n]).reverse();n=this.index(e);for(let e of i)this.proxyOf.nodes.splice(n+1,0,e);let r;for(let e in this.indexes){r=this.indexes[e];if(n<r){this.indexes[e]=r+i.length}}this.markDirty();return this}insertBefore(e,t){let n=this.index(e);let i=n===0?"prepend":false;let r=this.normalize(t,this.proxyOf.nodes[n],i).reverse();n=this.index(e);for(let e of r)this.proxyOf.nodes.splice(n,0,e);let o;for(let e in this.indexes){o=this.indexes[e];if(n<=o){this.indexes[e]=o+r.length}}this.markDirty();return this}normalize(e,t){if(typeof e==="string"){e=$D(YD(e).nodes)}else if(typeof e==="undefined"){e=[]}else if(Array.isArray(e)){e=e.slice(0);for(let t of e){if(t.parent)t.parent.removeChild(t,"ignore")}}else if(e.type==="root"&&this.type!=="document"){e=e.nodes.slice(0);for(let t of e){if(t.parent)t.parent.removeChild(t,"ignore")}}else if(e.type){e=[e]}else if(e.prop){if(typeof e.value==="undefined"){throw new Error("Value field is missed in node creation")}else if(typeof e.value!=="string"){e.value=String(e.value)}e=[new jD(e)]}else if(e.selector||e.selectors){e=[new VD(e)]}else if(e.name){e=[new qD(e)]}else if(e.text){e=[new ND(e)]}else{throw new Error("Unknown node type in node creation")}let n=e.map((e=>{if(!e[UD])WD.rebuild(e);e=e.proxyOf;if(e.parent)e.parent.removeChild(e);if(e[FD])GD(e);if(!e.raws)e.raws={};if(typeof e.raws.before==="undefined"){if(t&&typeof t.raws.before!=="undefined"){e.raws.before=t.raws.before.replace(/\S/g,"")}}e.parent=this.proxyOf;return e}));return n}prepend(...e){e=e.reverse();for(let t of e){let e=this.normalize(t,this.first,"prepend").reverse();for(let t of e)this.proxyOf.nodes.unshift(t);for(let t in this.indexes){this.indexes[t]=this.indexes[t]+e.length}}this.markDirty();return this}push(e){e.parent=this;this.proxyOf.nodes.push(e);return this}removeAll(){for(let e of this.proxyOf.nodes)e.parent=undefined;this.proxyOf.nodes=[];this.markDirty();return this}removeChild(e){e=this.index(e);this.proxyOf.nodes[e].parent=undefined;this.proxyOf.nodes.splice(e,1);let t;for(let n in this.indexes){t=this.indexes[n];if(t>=e){this.indexes[n]=t-1}}this.markDirty();return this}replaceValues(e,t,n){if(!n){n=t;t={}}this.walkDecls((i=>{if(t.props&&!t.props.includes(i.prop))return;if(t.fast&&!i.value.includes(t.fast))return;i.value=i.value.replace(e,n)}));this.markDirty();return this}some(e){return this.nodes.some(e)}walk(e){return this.each(((t,n)=>{let i;try{i=e(t,n)}catch(e){throw t.addToError(e)}if(i!==false&&t.walk){i=t.walk(e)}return i}))}walkAtRules(e,t){if(!t){t=e;return this.walk(((e,n)=>{if(e.type==="atrule"){return t(e,n)}}))}if(e instanceof RegExp){return this.walk(((n,i)=>{if(n.type==="atrule"&&e.test(n.name)){return t(n,i)}}))}return this.walk(((n,i)=>{if(n.type==="atrule"&&n.name===e){return t(n,i)}}))}walkComments(e){return this.walk(((t,n)=>{if(t.type==="comment"){return e(t,n)}}))}walkDecls(e,t){if(!t){t=e;return this.walk(((e,n)=>{if(e.type==="decl"){return t(e,n)}}))}if(e instanceof RegExp){return this.walk(((n,i)=>{if(n.type==="decl"&&e.test(n.prop)){return t(n,i)}}))}return this.walk(((n,i)=>{if(n.type==="decl"&&n.prop===e){return t(n,i)}}))}walkRules(e,t){if(!t){t=e;return this.walk(((e,n)=>{if(e.type==="rule"){return t(e,n)}}))}if(e instanceof RegExp){return this.walk(((n,i)=>{if(n.type==="rule"&&e.test(n.selector)){return t(n,i)}}))}return this.walk(((n,i)=>{if(n.type==="rule"&&n.selector===e){return t(n,i)}}))}get first(){if(!this.proxyOf.nodes)return undefined;return this.proxyOf.nodes[0]}get last(){if(!this.proxyOf.nodes)return undefined;return this.proxyOf.nodes[this.proxyOf.nodes.length-1]}}WD.registerParse=e=>{YD=e};WD.registerRule=e=>{VD=e};WD.registerAtRule=e=>{qD=e};WD.registerRoot=e=>{HD=e};var KD=WD;WD.default=WD;WD.rebuild=e=>{if(e.type==="atrule"){Object.setPrototypeOf(e,qD.prototype)}else if(e.type==="rule"){Object.setPrototypeOf(e,VD.prototype)}else if(e.type==="decl"){Object.setPrototypeOf(e,jD.prototype)}else if(e.type==="comment"){Object.setPrototypeOf(e,ND.prototype)}else if(e.type==="root"){Object.setPrototypeOf(e,HD.prototype)}e[UD]=true;if(e.nodes){e.nodes.forEach((e=>{WD.rebuild(e)}))}};let ZD=KD;class JD extends ZD{constructor(e){super(e);this.type="atrule"}append(...e){if(!this.proxyOf.nodes)this.nodes=[];return super.append(...e)}prepend(...e){if(!this.proxyOf.nodes)this.nodes=[];return super.prepend(...e)}}var QD=JD;JD.default=JD;ZD.registerAtRule(JD);let XD=KD;let eA,tA;class nA extends XD{constructor(e){super({type:"document",...e});if(!this.nodes){this.nodes=[]}}toResult(e={}){let t=new eA(new tA,this,e);return t.stringify()}}nA.registerLazyResult=e=>{eA=e};nA.registerProcessor=e=>{tA=e};var iA=nA;nA.default=nA;let rA="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict";let oA=(e,t=21)=>(n=t)=>{let i="";let r=n;while(r--){i+=e[Math.random()*e.length|0]}return i};let aA=(e=21)=>{let t="";let n=e;while(n--){t+=rA[Math.random()*64|0]}return t};const sA=Object.freeze({__proto__:null,nanoid:aA,customAlphabet:oA});const lA=t(sA);let{existsSync:cA,readFileSync:uA}=cD;let{dirname:dA,join:hA}=cD;let{SourceMapConsumer:fA,SourceMapGenerator:gA}=cD;function mA(e){if(w){return w.from(e,"base64").toString()}else{return window.atob(e)}}class pA{constructor(e,t){if(t.map===false)return;this.loadAnnotation(e);this.inline=this.startWith(this.annotation,"data:");let n=t.map?t.map.prev:undefined;let i=this.loadMap(t.from,n);if(!this.mapFile&&t.from){this.mapFile=t.from}if(this.mapFile)this.root=dA(this.mapFile);if(i)this.text=i}consumer(){if(!this.consumerCache){this.consumerCache=new fA(this.text)}return this.consumerCache}decodeInline(e){let t=/^data:application\/json;charset=utf-?8;base64,/;let n=/^data:application\/json;base64,/;let i=/^data:application\/json;charset=utf-?8,/;let r=/^data:application\/json,/;let o=e.match(i)||e.match(r);if(o){return decodeURIComponent(e.substr(o[0].length))}let a=e.match(t)||e.match(n);if(a){return mA(e.substr(a[0].length))}let s=e.match(/data:application\/json;([^,]+),/)[1];throw new Error("Unsupported source map encoding "+s)}getAnnotationURL(e){return e.replace(/^\/\*\s*# sourceMappingURL=/,"").trim()}isMap(e){if(typeof e!=="object")return false;return typeof e.mappings==="string"||typeof e._mappings==="string"||Array.isArray(e.sections)}loadAnnotation(e){let t=e.match(/\/\*\s*# sourceMappingURL=/g);if(!t)return;let n=e.lastIndexOf(t.pop());let i=e.indexOf("*/",n);if(n>-1&&i>-1){this.annotation=this.getAnnotationURL(e.substring(n,i))}}loadFile(e){this.root=dA(e);if(cA(e)){this.mapFile=e;return uA(e,"utf-8").toString().trim()}}loadMap(e,t){if(t===false)return false;if(t){if(typeof t==="string"){return t}else if(typeof t==="function"){let n=t(e);if(n){let e=this.loadFile(n);if(!e){throw new Error("Unable to load previous source map: "+n.toString())}return e}}else if(t instanceof fA){return gA.fromSourceMap(t).toString()}else if(t instanceof gA){return t.toString()}else if(this.isMap(t)){return JSON.stringify(t)}else{throw new Error("Unsupported previous source map format: "+t.toString())}}else if(this.inline){return this.decodeInline(this.annotation)}else if(this.annotation){let t=this.annotation;if(e)t=hA(dA(e),t);return this.loadFile(t)}}startWith(e,t){if(!e)return false;return e.substr(0,t.length)===t}withContent(){return!!(this.consumer().sourcesContent&&this.consumer().sourcesContent.length>0)}}var bA=pA;pA.default=pA;let{nanoid:vA}=lA;let{isAbsolute:yA,resolve:kA}=cD;let{SourceMapConsumer:TA,SourceMapGenerator:wA}=cD;let{fileURLToPath:EA,pathToFileURL:BA}=cD;let SA=fD;let CA=bA;let MA=cD;let _A=Symbol("fromOffsetCache");let PA=Boolean(TA&&wA);let DA=Boolean(kA&&yA);class AA{constructor(e,t={}){if(e===null||typeof e==="undefined"||typeof e==="object"&&!e.toString){throw new Error(`PostCSS received ${e} instead of CSS string`)}this.css=e.toString();if(this.css[0]==="\ufeff"||this.css[0]===""){this.hasBOM=true;this.css=this.css.slice(1)}else{this.hasBOM=false}if(t.from){if(!DA||/^\w+:\/\//.test(t.from)||yA(t.from)){this.file=t.from}else{this.file=kA(t.from)}}if(DA&&PA){let e=new CA(this.css,t);if(e.text){this.map=e;let t=e.consumer().file;if(!this.file&&t)this.file=this.mapResolve(t)}}if(!this.file){this.id="<input css "+vA(6)+">"}if(this.map)this.map.file=this.from}error(e,t,n,i={}){let r,o,a;if(t&&typeof t==="object"){let e=t;let i=n;if(typeof e.offset==="number"){let i=this.fromOffset(e.offset);t=i.line;n=i.col}else{t=e.line;n=e.column}if(typeof i.offset==="number"){let e=this.fromOffset(i.offset);o=e.line;r=e.col}else{o=i.line;r=i.column}}else if(!n){let e=this.fromOffset(t);t=e.line;n=e.col}let s=this.origin(t,n,o,r);if(s){a=new SA(e,s.endLine===undefined?s.line:{column:s.column,line:s.line},s.endLine===undefined?s.column:{column:s.endColumn,line:s.endLine},s.source,s.file,i.plugin)}else{a=new SA(e,o===undefined?t:{column:n,line:t},o===undefined?n:{column:r,line:o},this.css,this.file,i.plugin)}a.input={column:n,endColumn:r,endLine:o,line:t,source:this.css};if(this.file){if(BA){a.input.url=BA(this.file).toString()}a.input.file=this.file}return a}fromOffset(e){let t,n;if(!this[_A]){let e=this.css.split("\n");n=new Array(e.length);let t=0;for(let i=0,r=e.length;i<r;i++){n[i]=t;t+=e[i].length+1}this[_A]=n}else{n=this[_A]}t=n[n.length-1];let i=0;if(e>=t){i=n.length-1}else{let t=n.length-2;let r;while(i<t){r=i+(t-i>>1);if(e<n[r]){t=r-1}else if(e>=n[r+1]){i=r+1}else{i=r;break}}}return{col:e-n[i]+1,line:i+1}}mapResolve(e){if(/^\w+:\/\//.test(e)){return e}return kA(this.map.consumer().sourceRoot||this.map.root||".",e)}origin(e,t,n,i){if(!this.map)return false;let r=this.map.consumer();let o=r.originalPositionFor({column:t,line:e});if(!o.source)return false;let a;if(typeof n==="number"){a=r.originalPositionFor({column:i,line:n})}let s;if(yA(o.source)){s=BA(o.source)}else{s=new URL(o.source,this.map.consumer().sourceRoot||BA(this.map.mapFile))}let l={column:o.column,endColumn:a&&a.column,endLine:a&&a.line,line:o.line,url:s.toString()};if(s.protocol==="file:"){if(EA){l.file=EA(s)}else{throw new Error(`file: protocol is not available in this PostCSS build`)}}let c=r.sourceContentFor(o.source);if(c)l.source=c;return l}toJSON(){let e={};for(let t of["hasBOM","css","file","id"]){if(this[t]!=null){e[t]=this[t]}}if(this.map){e.map={...this.map};if(e.map.consumerCache){e.map.consumerCache=undefined}}return e}get from(){return this.file||this.id}}var xA=AA;AA.default=AA;if(MA&&MA.registerInput){MA.registerInput(AA)}let LA=KD;let OA,RA;class IA extends LA{constructor(e){super(e);this.type="root";if(!this.nodes)this.nodes=[]}normalize(e,t,n){let i=super.normalize(e);if(t){if(n==="prepend"){if(this.nodes.length>1){t.raws.before=this.nodes[1].raws.before}else{delete t.raws.before}}else if(this.first!==t){for(let e of i){e.raws.before=t.raws.before}}}return i}removeChild(e,t){let n=this.index(e);if(!t&&n===0&&this.nodes.length>1){this.nodes[1].raws.before=this.nodes[n].raws.before}return super.removeChild(e)}toResult(e={}){let t=new OA(new RA,this,e);return t.stringify()}}IA.registerLazyResult=e=>{OA=e};IA.registerProcessor=e=>{RA=e};var NA=IA;IA.default=IA;LA.registerRoot(IA);let jA={comma(e){return jA.split(e,[","],true)},space(e){let t=[" ","\n","\t"];return jA.split(e,t)},split(e,t,n){let i=[];let r="";let o=false;let a=0;let s=false;let l="";let c=false;for(let n of e){if(c){c=false}else if(n==="\\"){c=true}else if(s){if(n===l){s=false}}else if(n==='"'||n==="'"){s=true;l=n}else if(n==="("){a+=1}else if(n===")"){if(a>0)a-=1}else if(a===0){if(t.includes(n))o=true}if(o){if(r!=="")i.push(r.trim());r="";o=false}else{r+=n}}if(n||r!=="")i.push(r.trim());return i}};var zA=jA;jA.default=jA;let FA=KD;let UA=zA;class qA extends FA{constructor(e){super(e);this.type="rule";if(!this.nodes)this.nodes=[]}get selectors(){return UA.comma(this.selector)}set selectors(e){let t=this.selector?this.selector.match(/,\s*/):null;let n=t?t[0]:","+this.raw("between","beforeOpen");this.selector=e.join(n)}}var YA=qA;qA.default=qA;FA.registerRule(qA);let HA=QD;let VA=LD;let $A=ID;let GA=xA;let WA=bA;let KA=NA;let ZA=YA;function JA(e,t){if(Array.isArray(e))return e.map((e=>JA(e)));let{inputs:n,...i}=e;if(n){t=[];for(let e of n){let n={...e,__proto__:GA.prototype};if(n.map){n.map={...n.map,__proto__:WA.prototype}}t.push(n)}}if(i.nodes){i.nodes=e.nodes.map((e=>JA(e,t)))}if(i.source){let{inputId:e,...n}=i.source;i.source=n;if(e!=null){i.source.input=t[e]}}if(i.type==="root"){return new KA(i)}else if(i.type==="decl"){return new $A(i)}else if(i.type==="rule"){return new ZA(i)}else if(i.type==="comment"){return new VA(i)}else if(i.type==="atrule"){return new HA(i)}else{throw new Error("Unknown node type: "+e.type)}}var QA=JA;JA.default=JA;let{dirname:XA,relative:ex,resolve:tx,sep:nx}=cD;let{SourceMapConsumer:ix,SourceMapGenerator:rx}=cD;let{pathToFileURL:ox}=cD;let ax=xA;let sx=Boolean(ix&&rx);let lx=Boolean(XA&&tx&&ex&&nx);class cx{constructor(e,t,n,i){this.stringify=e;this.mapOpts=n.map||{};this.root=t;this.opts=n;this.css=i;this.originalCSS=i;this.usesFileUrls=!this.mapOpts.from&&this.mapOpts.absolute;this.memoizedFileURLs=new Map;this.memoizedPaths=new Map;this.memoizedURLs=new Map}addAnnotation(){let e;if(this.isInline()){e="data:application/json;base64,"+this.toBase64(this.map.toString())}else if(typeof this.mapOpts.annotation==="string"){e=this.mapOpts.annotation}else if(typeof this.mapOpts.annotation==="function"){e=this.mapOpts.annotation(this.opts.to,this.root)}else{e=this.outputFile()+".map"}let t="\n";if(this.css.includes("\r\n"))t="\r\n";this.css+=t+"/*# sourceMappingURL="+e+" */"}applyPrevMaps(){for(let e of this.previous()){let t=this.toUrl(this.path(e.file));let n=e.root||XA(e.file);let i;if(this.mapOpts.sourcesContent===false){i=new ix(e.text);if(i.sourcesContent){i.sourcesContent=null}}else{i=e.consumer()}this.map.applySourceMap(i,t,this.toUrl(this.path(n)))}}clearAnnotation(){if(this.mapOpts.annotation===false)return;if(this.root){let e;for(let t=this.root.nodes.length-1;t>=0;t--){e=this.root.nodes[t];if(e.type!=="comment")continue;if(e.text.startsWith("# sourceMappingURL=")){this.root.removeChild(t)}}}else if(this.css){this.css=this.css.replace(/\n*\/\*#[\S\s]*?\*\/$/gm,"")}}generate(){this.clearAnnotation();if(lx&&sx&&this.isMap()){return this.generateMap()}else{let e="";this.stringify(this.root,(t=>{e+=t}));return[e]}}generateMap(){if(this.root){this.generateString()}else if(this.previous().length===1){let e=this.previous()[0].consumer();e.file=this.outputFile();this.map=rx.fromSourceMap(e,{ignoreInvalidMapping:true})}else{this.map=new rx({file:this.outputFile(),ignoreInvalidMapping:true});this.map.addMapping({generated:{column:0,line:1},original:{column:0,line:1},source:this.opts.from?this.toUrl(this.path(this.opts.from)):"<no source>"})}if(this.isSourcesContent())this.setSourcesContent();if(this.root&&this.previous().length>0)this.applyPrevMaps();if(this.isAnnotation())this.addAnnotation();if(this.isInline()){return[this.css]}else{return[this.css,this.map]}}generateString(){this.css="";this.map=new rx({file:this.outputFile(),ignoreInvalidMapping:true});let e=1;let t=1;let n="<no source>";let i={generated:{column:0,line:0},original:{column:0,line:0},source:""};let r,o;this.stringify(this.root,((a,s,l)=>{this.css+=a;if(s&&l!=="end"){i.generated.line=e;i.generated.column=t-1;if(s.source&&s.source.start){i.source=this.sourcePath(s);i.original.line=s.source.start.line;i.original.column=s.source.start.column-1;this.map.addMapping(i)}else{i.source=n;i.original.line=1;i.original.column=0;this.map.addMapping(i)}}o=a.match(/\n/g);if(o){e+=o.length;r=a.lastIndexOf("\n");t=a.length-r}else{t+=a.length}if(s&&l!=="start"){let r=s.parent||{raws:{}};let o=s.type==="decl"||s.type==="atrule"&&!s.nodes;if(!o||s!==r.last||r.raws.semicolon){if(s.source&&s.source.end){i.source=this.sourcePath(s);i.original.line=s.source.end.line;i.original.column=s.source.end.column-1;i.generated.line=e;i.generated.column=t-2;this.map.addMapping(i)}else{i.source=n;i.original.line=1;i.original.column=0;i.generated.line=e;i.generated.column=t-1;this.map.addMapping(i)}}}}))}isAnnotation(){if(this.isInline()){return true}if(typeof this.mapOpts.annotation!=="undefined"){return this.mapOpts.annotation}if(this.previous().length){return this.previous().some((e=>e.annotation))}return true}isInline(){if(typeof this.mapOpts.inline!=="undefined"){return this.mapOpts.inline}let e=this.mapOpts.annotation;if(typeof e!=="undefined"&&e!==true){return false}if(this.previous().length){return this.previous().some((e=>e.inline))}return true}isMap(){if(typeof this.opts.map!=="undefined"){return!!this.opts.map}return this.previous().length>0}isSourcesContent(){if(typeof this.mapOpts.sourcesContent!=="undefined"){return this.mapOpts.sourcesContent}if(this.previous().length){return this.previous().some((e=>e.withContent()))}return true}outputFile(){if(this.opts.to){return this.path(this.opts.to)}else if(this.opts.from){return this.path(this.opts.from)}else{return"to.css"}}path(e){if(this.mapOpts.absolute)return e;if(e.charCodeAt(0)===60)return e;if(/^\w+:\/\//.test(e))return e;let t=this.memoizedPaths.get(e);if(t)return t;let n=this.opts.to?XA(this.opts.to):".";if(typeof this.mapOpts.annotation==="string"){n=XA(tx(n,this.mapOpts.annotation))}let i=ex(n,e);this.memoizedPaths.set(e,i);return i}previous(){if(!this.previousMaps){this.previousMaps=[];if(this.root){this.root.walk((e=>{if(e.source&&e.source.input.map){let t=e.source.input.map;if(!this.previousMaps.includes(t)){this.previousMaps.push(t)}}}))}else{let e=new ax(this.originalCSS,this.opts);if(e.map)this.previousMaps.push(e.map)}}return this.previousMaps}setSourcesContent(){let e={};if(this.root){this.root.walk((t=>{if(t.source){let n=t.source.input.from;if(n&&!e[n]){e[n]=true;let i=this.usesFileUrls?this.toFileUrl(n):this.toUrl(this.path(n));this.map.setSourceContent(i,t.source.input.css)}}}))}else if(this.css){let e=this.opts.from?this.toUrl(this.path(this.opts.from)):"<no source>";this.map.setSourceContent(e,this.css)}}sourcePath(e){if(this.mapOpts.from){return this.toUrl(this.mapOpts.from)}else if(this.usesFileUrls){return this.toFileUrl(e.source.input.from)}else{return this.toUrl(this.path(e.source.input.from))}}toBase64(e){if(w){return w.from(e).toString("base64")}else{return window.btoa(unescape(encodeURIComponent(e)))}}toFileUrl(e){let t=this.memoizedFileURLs.get(e);if(t)return t;if(ox){let t=ox(e).toString();this.memoizedFileURLs.set(e,t);return t}else{throw new Error("`map.absolute` option is not available in this PostCSS build")}}toUrl(e){let t=this.memoizedURLs.get(e);if(t)return t;if(nx==="\\"){e=e.replace(/\\/g,"/")}let n=encodeURI(e).replace(/[#?]/g,encodeURIComponent);this.memoizedURLs.set(e,n);return n}}var ux=cx;const dx="'".charCodeAt(0);const hx='"'.charCodeAt(0);const fx="\\".charCodeAt(0);const gx="/".charCodeAt(0);const mx="\n".charCodeAt(0);const px=" ".charCodeAt(0);const bx="\f".charCodeAt(0);const vx="\t".charCodeAt(0);const yx="\r".charCodeAt(0);const kx="[".charCodeAt(0);const Tx="]".charCodeAt(0);const wx="(".charCodeAt(0);const Ex=")".charCodeAt(0);const Bx="{".charCodeAt(0);const Sx="}".charCodeAt(0);const Cx=";".charCodeAt(0);const Mx="*".charCodeAt(0);const _x=":".charCodeAt(0);const Px="@".charCodeAt(0);const Dx=/[\t\n\f\r "#'()/;[\\\]{}]/g;const Ax=/[\t\n\f\r !"#'():;@[\\\]{}]|\/(?=\*)/g;const xx=/.[\r\n"'(/\\]/;const Lx=/[\da-f]/i;var Ox=function e(t,n={}){let i=t.css.valueOf();let r=n.ignoreErrors;let o,a,s,l,c;let u,d,h,f,g;let m=i.length;let p=0;let b=[];let v=[];function y(){return p}function k(e){throw t.error("Unclosed "+e,p)}function T(){return v.length===0&&p>=m}function w(e){if(v.length)return v.pop();if(p>=m)return;let t=e?e.ignoreUnclosed:false;o=i.charCodeAt(p);switch(o){case mx:case px:case vx:case yx:case bx:{l=p;do{l+=1;o=i.charCodeAt(l)}while(o===px||o===mx||o===vx||o===yx||o===bx);u=["space",i.slice(p,l)];p=l-1;break}case kx:case Tx:case Bx:case Sx:case _x:case Cx:case Ex:{let e=String.fromCharCode(o);u=[e,e,p];break}case wx:{g=b.length?b.pop()[1]:"";f=i.charCodeAt(p+1);if(g==="url"&&f!==dx&&f!==hx&&f!==px&&f!==mx&&f!==vx&&f!==bx&&f!==yx){l=p;do{d=false;l=i.indexOf(")",l+1);if(l===-1){if(r||t){l=p;break}else{k("bracket")}}h=l;while(i.charCodeAt(h-1)===fx){h-=1;d=!d}}while(d);u=["brackets",i.slice(p,l+1),p,l];p=l}else{l=i.indexOf(")",p+1);a=i.slice(p,l+1);if(l===-1||xx.test(a)){u=["(","(",p]}else{u=["brackets",a,p,l];p=l}}break}case dx:case hx:{c=o===dx?"'":'"';l=p;do{d=false;l=i.indexOf(c,l+1);if(l===-1){if(r||t){l=p+1;break}else{k("string")}}h=l;while(i.charCodeAt(h-1)===fx){h-=1;d=!d}}while(d);u=["string",i.slice(p,l+1),p,l];p=l;break}case Px:{Dx.lastIndex=p+1;Dx.test(i);if(Dx.lastIndex===0){l=i.length-1}else{l=Dx.lastIndex-2}u=["at-word",i.slice(p,l+1),p,l];p=l;break}case fx:{l=p;s=true;while(i.charCodeAt(l+1)===fx){l+=1;s=!s}o=i.charCodeAt(l+1);if(s&&o!==gx&&o!==px&&o!==mx&&o!==vx&&o!==yx&&o!==bx){l+=1;if(Lx.test(i.charAt(l))){while(Lx.test(i.charAt(l+1))){l+=1}if(i.charCodeAt(l+1)===px){l+=1}}}u=["word",i.slice(p,l+1),p,l];p=l;break}default:{if(o===gx&&i.charCodeAt(p+1)===Mx){l=i.indexOf("*/",p+2)+1;if(l===0){if(r||t){l=i.length}else{k("comment")}}u=["comment",i.slice(p,l+1),p,l];p=l}else{Ax.lastIndex=p+1;Ax.test(i);if(Ax.lastIndex===0){l=i.length-1}else{l=Ax.lastIndex-2}u=["word",i.slice(p,l+1),p,l];b.push(u);p=l}break}}p++;return u}function E(e){v.push(e)}return{back:E,endOfFile:T,nextToken:w,position:y}};let Rx=QD;let Ix=LD;let Nx=ID;let jx=NA;let zx=YA;let Fx=Ox;const Ux={empty:true,space:true};function qx(e){for(let t=e.length-1;t>=0;t--){let n=e[t];let i=n[3]||n[2];if(i)return i}}class Yx{constructor(e){this.input=e;this.root=new jx;this.current=this.root;this.spaces="";this.semicolon=false;this.createTokenizer();this.root.source={input:e,start:{column:1,line:1,offset:0}}}atrule(e){let t=new Rx;t.name=e[1].slice(1);if(t.name===""){this.unnamedAtrule(t,e)}this.init(t,e[2]);let n;let i;let r;let o=false;let a=false;let s=[];let l=[];while(!this.tokenizer.endOfFile()){e=this.tokenizer.nextToken();n=e[0];if(n==="("||n==="["){l.push(n==="("?")":"]")}else if(n==="{"&&l.length>0){l.push("}")}else if(n===l[l.length-1]){l.pop()}if(l.length===0){if(n===";"){t.source.end=this.getPosition(e[2]);t.source.end.offset++;this.semicolon=true;break}else if(n==="{"){a=true;break}else if(n==="}"){if(s.length>0){r=s.length-1;i=s[r];while(i&&i[0]==="space"){i=s[--r]}if(i){t.source.end=this.getPosition(i[3]||i[2]);t.source.end.offset++}}this.end(e);break}else{s.push(e)}}else{s.push(e)}if(this.tokenizer.endOfFile()){o=true;break}}t.raws.between=this.spacesAndCommentsFromEnd(s);if(s.length){t.raws.afterName=this.spacesAndCommentsFromStart(s);this.raw(t,"params",s);if(o){e=s[s.length-1];t.source.end=this.getPosition(e[3]||e[2]);t.source.end.offset++;this.spaces=t.raws.between;t.raws.between=""}}else{t.raws.afterName="";t.params=""}if(a){t.nodes=[];this.current=t}}checkMissedSemicolon(e){let t=this.colon(e);if(t===false)return;let n=0;let i;for(let r=t-1;r>=0;r--){i=e[r];if(i[0]!=="space"){n+=1;if(n===2)break}}throw this.input.error("Missed semicolon",i[0]==="word"?i[3]+1:i[2])}colon(e){let t=0;let n,i,r;for(let[o,a]of e.entries()){i=a;r=i[0];if(r==="("){t+=1}if(r===")"){t-=1}if(t===0&&r===":"){if(!n){this.doubleColon(i)}else if(n[0]==="word"&&n[1]==="progid"){continue}else{return o}}n=i}return false}comment(e){let t=new Ix;this.init(t,e[2]);t.source.end=this.getPosition(e[3]||e[2]);t.source.end.offset++;let n=e[1].slice(2,-2);if(/^\s*$/.test(n)){t.text="";t.raws.left=n;t.raws.right=""}else{let e=n.match(/^(\s*)([^]*\S)(\s*)$/);t.text=e[2];t.raws.left=e[1];t.raws.right=e[3]}}createTokenizer(){this.tokenizer=Fx(this.input)}decl(e,t){let n=new Nx;this.init(n,e[0][2]);let i=e[e.length-1];if(i[0]===";"){this.semicolon=true;e.pop()}n.source.end=this.getPosition(i[3]||i[2]||qx(e));n.source.end.offset++;while(e[0][0]!=="word"){if(e.length===1)this.unknownWord(e);n.raws.before+=e.shift()[1]}n.source.start=this.getPosition(e[0][2]);n.prop="";while(e.length){let t=e[0][0];if(t===":"||t==="space"||t==="comment"){break}n.prop+=e.shift()[1]}n.raws.between="";let r;while(e.length){r=e.shift();if(r[0]===":"){n.raws.between+=r[1];break}else{if(r[0]==="word"&&/\w/.test(r[1])){this.unknownWord([r])}n.raws.between+=r[1]}}if(n.prop[0]==="_"||n.prop[0]==="*"){n.raws.before+=n.prop[0];n.prop=n.prop.slice(1)}let o=[];let a;while(e.length){a=e[0][0];if(a!=="space"&&a!=="comment")break;o.push(e.shift())}this.precheckMissedSemicolon(e);for(let t=e.length-1;t>=0;t--){r=e[t];if(r[1].toLowerCase()==="!important"){n.important=true;let i=this.stringFrom(e,t);i=this.spacesFromEnd(e)+i;if(i!==" !important")n.raws.important=i;break}else if(r[1].toLowerCase()==="important"){let i=e.slice(0);let r="";for(let e=t;e>0;e--){let t=i[e][0];if(r.trim().startsWith("!")&&t!=="space"){break}r=i.pop()[1]+r}if(r.trim().startsWith("!")){n.important=true;n.raws.important=r;e=i}}if(r[0]!=="space"&&r[0]!=="comment"){break}}let s=e.some((e=>e[0]!=="space"&&e[0]!=="comment"));if(s){n.raws.between+=o.map((e=>e[1])).join("");o=[]}this.raw(n,"value",o.concat(e),t);if(n.value.includes(":")&&!t){this.checkMissedSemicolon(e)}}doubleColon(e){throw this.input.error("Double colon",{offset:e[2]},{offset:e[2]+e[1].length})}emptyRule(e){let t=new zx;this.init(t,e[2]);t.selector="";t.raws.between="";this.current=t}end(e){if(this.current.nodes&&this.current.nodes.length){this.current.raws.semicolon=this.semicolon}this.semicolon=false;this.current.raws.after=(this.current.raws.after||"")+this.spaces;this.spaces="";if(this.current.parent){this.current.source.end=this.getPosition(e[2]);this.current.source.end.offset++;this.current=this.current.parent}else{this.unexpectedClose(e)}}endFile(){if(this.current.parent)this.unclosedBlock();if(this.current.nodes&&this.current.nodes.length){this.current.raws.semicolon=this.semicolon}this.current.raws.after=(this.current.raws.after||"")+this.spaces;this.root.source.end=this.getPosition(this.tokenizer.position())}freeSemicolon(e){this.spaces+=e[1];if(this.current.nodes){let e=this.current.nodes[this.current.nodes.length-1];if(e&&e.type==="rule"&&!e.raws.ownSemicolon){e.raws.ownSemicolon=this.spaces;this.spaces=""}}}getPosition(e){let t=this.input.fromOffset(e);return{column:t.col,line:t.line,offset:e}}init(e,t){this.current.push(e);e.source={input:this.input,start:this.getPosition(t)};e.raws.before=this.spaces;this.spaces="";if(e.type!=="comment")this.semicolon=false}other(e){let t=false;let n=null;let i=false;let r=null;let o=[];let a=e[1].startsWith("--");let s=[];let l=e;while(l){n=l[0];s.push(l);if(n==="("||n==="["){if(!r)r=l;o.push(n==="("?")":"]")}else if(a&&i&&n==="{"){if(!r)r=l;o.push("}")}else if(o.length===0){if(n===";"){if(i){this.decl(s,a);return}else{break}}else if(n==="{"){this.rule(s);return}else if(n==="}"){this.tokenizer.back(s.pop());t=true;break}else if(n===":"){i=true}}else if(n===o[o.length-1]){o.pop();if(o.length===0)r=null}l=this.tokenizer.nextToken()}if(this.tokenizer.endOfFile())t=true;if(o.length>0)this.unclosedBracket(r);if(t&&i){if(!a){while(s.length){l=s[s.length-1][0];if(l!=="space"&&l!=="comment")break;this.tokenizer.back(s.pop())}}this.decl(s,a)}else{this.unknownWord(s)}}parse(){let e;while(!this.tokenizer.endOfFile()){e=this.tokenizer.nextToken();switch(e[0]){case"space":this.spaces+=e[1];break;case";":this.freeSemicolon(e);break;case"}":this.end(e);break;case"comment":this.comment(e);break;case"at-word":this.atrule(e);break;case"{":this.emptyRule(e);break;default:this.other(e);break}}this.endFile()}precheckMissedSemicolon(){}raw(e,t,n,i){let r,o;let a=n.length;let s="";let l=true;let c,u;for(let e=0;e<a;e+=1){r=n[e];o=r[0];if(o==="space"&&e===a-1&&!i){l=false}else if(o==="comment"){u=n[e-1]?n[e-1][0]:"empty";c=n[e+1]?n[e+1][0]:"empty";if(!Ux[u]&&!Ux[c]){if(s.slice(-1)===","){l=false}else{s+=r[1]}}else{l=false}}else{s+=r[1]}}if(!l){let i=n.reduce(((e,t)=>e+t[1]),"");e.raws[t]={raw:i,value:s}}e[t]=s}rule(e){e.pop();let t=new zx;this.init(t,e[0][2]);t.raws.between=this.spacesAndCommentsFromEnd(e);this.raw(t,"selector",e);this.current=t}spacesAndCommentsFromEnd(e){let t;let n="";while(e.length){t=e[e.length-1][0];if(t!=="space"&&t!=="comment")break;n=e.pop()[1]+n}return n}spacesAndCommentsFromStart(e){let t;let n="";while(e.length){t=e[0][0];if(t!=="space"&&t!=="comment")break;n+=e.shift()[1]}return n}spacesFromEnd(e){let t;let n="";while(e.length){t=e[e.length-1][0];if(t!=="space")break;n=e.pop()[1]+n}return n}stringFrom(e,t){let n="";for(let i=t;i<e.length;i++){n+=e[i][1]}e.splice(t,e.length-t);return n}unclosedBlock(){let e=this.current.source.start;throw this.input.error("Unclosed block",e.line,e.column)}unclosedBracket(e){throw this.input.error("Unclosed bracket",{offset:e[2]},{offset:e[2]+1})}unexpectedClose(e){throw this.input.error("Unexpected }",{offset:e[2]},{offset:e[2]+1})}unknownWord(e){throw this.input.error("Unknown word",{offset:e[0][2]},{offset:e[0][2]+e[0][1].length})}unnamedAtrule(e,t){throw this.input.error("At-rule without name",{offset:t[2]},{offset:t[2]+t[1].length})}}var Hx=Yx;let Vx=KD;let $x=xA;let Gx=Hx;function Wx(e,t){let n=new $x(e,t);let i=new Gx(n);try{i.parse()}catch(e){throw e}return i.root}var Kx=Wx;Wx.default=Wx;Vx.registerParse(Wx);class Zx{constructor(e,t={}){this.type="warning";this.text=e;if(t.node&&t.node.source){let e=t.node.rangeBy(t);this.line=e.start.line;this.column=e.start.column;this.endLine=e.end.line;this.endColumn=e.end.column}for(let e in t)this[e]=t[e]}toString(){if(this.node){return this.node.error(this.text,{index:this.index,plugin:this.plugin,word:this.word}).message}if(this.plugin){return this.plugin+": "+this.text}return this.text}}var Jx=Zx;Zx.default=Zx;let Qx=Jx;class Xx{constructor(e,t,n){this.processor=e;this.messages=[];this.root=t;this.opts=n;this.css=undefined;this.map=undefined}toString(){return this.css}warn(e,t={}){if(!t.plugin){if(this.lastPlugin&&this.lastPlugin.postcssPlugin){t.plugin=this.lastPlugin.postcssPlugin}}let n=new Qx(e,t);this.messages.push(n);return n}warnings(){return this.messages.filter((e=>e.type==="warning"))}get content(){return this.css}}var eL=Xx;Xx.default=Xx;let tL=KD;let nL=iA;let iL=ux;let rL=Kx;let oL=eL;let aL=NA;let sL=kD;let{isClean:lL,my:cL}=TD;const uL={atrule:"AtRule",comment:"Comment",decl:"Declaration",document:"Document",root:"Root",rule:"Rule"};const dL={AtRule:true,AtRuleExit:true,Comment:true,CommentExit:true,Declaration:true,DeclarationExit:true,Document:true,DocumentExit:true,Once:true,OnceExit:true,postcssPlugin:true,prepare:true,Root:true,RootExit:true,Rule:true,RuleExit:true};const hL={Once:true,postcssPlugin:true,prepare:true};const fL=0;function gL(e){return typeof e==="object"&&typeof e.then==="function"}function mL(e){let t=false;let n=uL[e.type];if(e.type==="decl"){t=e.prop.toLowerCase()}else if(e.type==="atrule"){t=e.name.toLowerCase()}if(t&&e.append){return[n,n+"-"+t,fL,n+"Exit",n+"Exit-"+t]}else if(t){return[n,n+"-"+t,n+"Exit",n+"Exit-"+t]}else if(e.append){return[n,fL,n+"Exit"]}else{return[n,n+"Exit"]}}function pL(e){let t;if(e.type==="document"){t=["Document",fL,"DocumentExit"]}else if(e.type==="root"){t=["Root",fL,"RootExit"]}else{t=mL(e)}return{eventIndex:0,events:t,iterator:0,node:e,visitorIndex:0,visitors:[]}}function bL(e){e[lL]=false;if(e.nodes)e.nodes.forEach((e=>bL(e)));return e}let vL={};class yL{constructor(e,t,n){this.stringified=false;this.processed=false;let i;if(typeof t==="object"&&t!==null&&(t.type==="root"||t.type==="document")){i=bL(t)}else if(t instanceof yL||t instanceof oL){i=bL(t.root);if(t.map){if(typeof n.map==="undefined")n.map={};if(!n.map.inline)n.map.inline=false;n.map.prev=t.map}}else{let e=rL;if(n.syntax)e=n.syntax.parse;if(n.parser)e=n.parser;if(e.parse)e=e.parse;try{i=e(t,n)}catch(e){this.processed=true;this.error=e}if(i&&!i[cL]){tL.rebuild(i)}}this.result=new oL(e,i,n);this.helpers={...vL,postcss:vL,result:this.result};this.plugins=this.processor.plugins.map((e=>{if(typeof e==="object"&&e.prepare){return{...e,...e.prepare(this.result)}}else{return e}}))}async(){if(this.error)return Promise.reject(this.error);if(this.processed)return Promise.resolve(this.result);if(!this.processing){this.processing=this.runAsync()}return this.processing}catch(e){return this.async().catch(e)}finally(e){return this.async().then(e,e)}getAsyncError(){throw new Error("Use process(css).then(cb) to work with async plugins")}handleError(e,t){let n=this.result.lastPlugin;try{if(t)t.addToError(e);this.error=e;if(e.name==="CssSyntaxError"&&!e.plugin){e.plugin=n.postcssPlugin;e.setMessage()}}catch(e){if(console&&console.error)console.error(e)}return e}prepareVisitors(){this.listeners={};let e=(e,t,n)=>{if(!this.listeners[t])this.listeners[t]=[];this.listeners[t].push([e,n])};for(let t of this.plugins){if(typeof t==="object"){for(let n in t){if(!dL[n]&&/^[A-Z]/.test(n)){throw new Error(`Unknown event ${n} in ${t.postcssPlugin}. `+`Try to update PostCSS (${this.processor.version} now).`)}if(!hL[n]){if(typeof t[n]==="object"){for(let i in t[n]){if(i==="*"){e(t,n,t[n][i])}else{e(t,n+"-"+i.toLowerCase(),t[n][i])}}}else if(typeof t[n]==="function"){e(t,n,t[n])}}}}}this.hasListener=Object.keys(this.listeners).length>0}async runAsync(){this.plugin=0;for(let e=0;e<this.plugins.length;e++){let t=this.plugins[e];let n=this.runOnRoot(t);if(gL(n)){try{await n}catch(e){throw this.handleError(e)}}}this.prepareVisitors();if(this.hasListener){let e=this.result.root;while(!e[lL]){e[lL]=true;let t=[pL(e)];while(t.length>0){let e=this.visitTick(t);if(gL(e)){try{await e}catch(e){let n=t[t.length-1].node;throw this.handleError(e,n)}}}}if(this.listeners.OnceExit){for(let[t,n]of this.listeners.OnceExit){this.result.lastPlugin=t;try{if(e.type==="document"){let t=e.nodes.map((e=>n(e,this.helpers)));await Promise.all(t)}else{await n(e,this.helpers)}}catch(e){throw this.handleError(e)}}}}this.processed=true;return this.stringify()}runOnRoot(e){this.result.lastPlugin=e;try{if(typeof e==="object"&&e.Once){if(this.result.root.type==="document"){let t=this.result.root.nodes.map((t=>e.Once(t,this.helpers)));if(gL(t[0])){return Promise.all(t)}return t}return e.Once(this.result.root,this.helpers)}else if(typeof e==="function"){return e(this.result.root,this.result)}}catch(e){throw this.handleError(e)}}stringify(){if(this.error)throw this.error;if(this.stringified)return this.result;this.stringified=true;this.sync();let e=this.result.opts;let t=sL;if(e.syntax)t=e.syntax.stringify;if(e.stringifier)t=e.stringifier;if(t.stringify)t=t.stringify;let n=new iL(t,this.result.root,this.result.opts);let i=n.generate();this.result.css=i[0];this.result.map=i[1];return this.result}sync(){if(this.error)throw this.error;if(this.processed)return this.result;this.processed=true;if(this.processing){throw this.getAsyncError()}for(let e of this.plugins){let t=this.runOnRoot(e);if(gL(t)){throw this.getAsyncError()}}this.prepareVisitors();if(this.hasListener){let e=this.result.root;while(!e[lL]){e[lL]=true;this.walkSync(e)}if(this.listeners.OnceExit){if(e.type==="document"){for(let t of e.nodes){this.visitSync(this.listeners.OnceExit,t)}}else{this.visitSync(this.listeners.OnceExit,e)}}}return this.result}then(e,t){return this.async().then(e,t)}toString(){return this.css}visitSync(e,t){for(let[n,i]of e){this.result.lastPlugin=n;let e;try{e=i(t,this.helpers)}catch(e){throw this.handleError(e,t.proxyOf)}if(t.type!=="root"&&t.type!=="document"&&!t.parent){return true}if(gL(e)){throw this.getAsyncError()}}}visitTick(e){let t=e[e.length-1];let{node:n,visitors:i}=t;if(n.type!=="root"&&n.type!=="document"&&!n.parent){e.pop();return}if(i.length>0&&t.visitorIndex<i.length){let[e,r]=i[t.visitorIndex];t.visitorIndex+=1;if(t.visitorIndex===i.length){t.visitors=[];t.visitorIndex=0}this.result.lastPlugin=e;try{return r(n.toProxy(),this.helpers)}catch(e){throw this.handleError(e,n)}}if(t.iterator!==0){let i=t.iterator;let r;while(r=n.nodes[n.indexes[i]]){n.indexes[i]+=1;if(!r[lL]){r[lL]=true;e.push(pL(r));return}}t.iterator=0;delete n.indexes[i]}let r=t.events;while(t.eventIndex<r.length){let e=r[t.eventIndex];t.eventIndex+=1;if(e===fL){if(n.nodes&&n.nodes.length){n[lL]=true;t.iterator=n.getIterator()}return}else if(this.listeners[e]){t.visitors=this.listeners[e];return}}e.pop()}walkSync(e){e[lL]=true;let t=mL(e);for(let n of t){if(n===fL){if(e.nodes){e.each((e=>{if(!e[lL])this.walkSync(e)}))}}else{let t=this.listeners[n];if(t){if(this.visitSync(t,e.toProxy()))return}}}}warnings(){return this.sync().warnings()}get content(){return this.stringify().content}get css(){return this.stringify().css}get map(){return this.stringify().map}get messages(){return this.sync().messages}get opts(){return this.result.opts}get processor(){return this.result.processor}get root(){return this.sync().root}get[Symbol.toStringTag](){return"LazyResult"}}yL.registerPostcss=e=>{vL=e};var kL=yL;yL.default=yL;aL.registerLazyResult(yL);nL.registerLazyResult(yL);let TL=ux;let wL=Kx;const EL=eL;let BL=kD;class SL{constructor(e,t,n){t=t.toString();this.stringified=false;this._processor=e;this._css=t;this._opts=n;this._map=undefined;let i;let r=BL;this.result=new EL(this._processor,i,this._opts);this.result.css=t;let o=this;Object.defineProperty(this.result,"root",{get(){return o.root}});let a=new TL(r,i,this._opts,t);if(a.isMap()){let[e,t]=a.generate();if(e){this.result.css=e}if(t){this.result.map=t}}else{a.clearAnnotation();this.result.css=a.css}}async(){if(this.error)return Promise.reject(this.error);return Promise.resolve(this.result)}catch(e){return this.async().catch(e)}finally(e){return this.async().then(e,e)}sync(){if(this.error)throw this.error;return this.result}then(e,t){return this.async().then(e,t)}toString(){return this._css}warnings(){return[]}get content(){return this.result.css}get css(){return this.result.css}get map(){return this.result.map}get messages(){return[]}get opts(){return this.result.opts}get processor(){return this.result.processor}get root(){if(this._root){return this._root}let e;let t=wL;try{e=t(this._css,this._opts)}catch(e){this.error=e}if(this.error){throw this.error}else{this._root=e;return e}}get[Symbol.toStringTag](){return"NoWorkResult"}}var CL=SL;SL.default=SL;let ML=iA;let _L=kL;let PL=CL;let DL=NA;class AL{constructor(e=[]){this.version="8.4.49";this.plugins=this.normalize(e)}normalize(e){let t=[];for(let n of e){if(n.postcss===true){n=n()}else if(n.postcss){n=n.postcss}if(typeof n==="object"&&Array.isArray(n.plugins)){t=t.concat(n.plugins)}else if(typeof n==="object"&&n.postcssPlugin){t.push(n)}else if(typeof n==="function"){t.push(n)}else if(typeof n==="object"&&(n.parse||n.stringify));else{throw new Error(n+" is not a PostCSS plugin")}}return t}process(e,t={}){if(!this.plugins.length&&!t.parser&&!t.stringifier&&!t.syntax){return new PL(this,e,t)}else{return new _L(this,e,t)}}use(e){this.plugins=this.plugins.concat(this.normalize([e]));return this}}var xL=AL;AL.default=AL;DL.registerProcessor(AL);ML.registerProcessor(AL);let LL=QD;let OL=LD;let RL=KD;let IL=fD;let NL=ID;let jL=iA;let zL=QA;let FL=xA;let UL=kL;let qL=zA;let YL=DD;let HL=Kx;let VL=xL;let $L=eL;let GL=NA;let WL=YA;let KL=kD;let ZL=Jx;function JL(...e){if(e.length===1&&Array.isArray(e[0])){e=e[0]}return new VL(e)}JL.plugin=function e(t,n){let i=false;function r(...e){if(console&&console.warn&&!i){i=true;console.warn(t+": postcss.plugin was deprecated. Migration guide:\n"+"https://evilmartians.com/chronicles/postcss-8-plugin-migration");if(iD.env.LANG&&iD.env.LANG.startsWith("cn")){console.warn(t+": 里面 postcss.plugin 被弃用. 迁移指南:\n"+"https://www.w3ctech.com/topic/2226")}}let r=n(...e);r.postcssPlugin=t;r.postcssVersion=(new VL).version;return r}let o;Object.defineProperty(r,"postcss",{get(){if(!o)o=r();return o}});r.process=function(e,t,n){return JL([r(n)]).process(e,t)};return r};JL.stringify=KL;JL.parse=HL;JL.fromJSON=zL;JL.list=qL;JL.comment=e=>new OL(e);JL.atRule=e=>new LL(e);JL.decl=e=>new NL(e);JL.rule=e=>new WL(e);JL.root=e=>new GL(e);JL.document=e=>new jL(e);JL.CssSyntaxError=IL;JL.Declaration=NL;JL.Container=RL;JL.Processor=VL;JL.Document=jL;JL.Comment=OL;JL.Warning=ZL;JL.AtRule=LL;JL.Result=$L;JL.Input=FL;JL.Rule=WL;JL.Root=GL;JL.Node=YL;UL.registerPostcss(JL);var QL=JL;JL.default=JL;const XL=xP;const eO=LP;const{isPlainObject:tO}=NP;const nO=tD;const iO=nD.exports;const{parse:rO}=QL;const oO=["img","audio","video","picture","svg","object","map","iframe","embed"];const aO=["script","style"];function sO(e,t){if(e){Object.keys(e).forEach((function(n){t(e[n],n)}))}}function lO(e,t){return{}.hasOwnProperty.call(e,t)}function cO(e,t){const n=[];sO(e,(function(e){if(t(e)){n.push(e)}}));return n}function uO(e){for(const t in e){if(lO(e,t)){return false}}return true}function dO(e){return e.map((function(e){if(!e.url){throw new Error("URL missing")}return e.url+(e.w?` ${e.w}w`:"")+(e.h?` ${e.h}h`:"")+(e.d?` ${e.d}x`:"")})).join(", ")}var hO=gO;const fO=/^[^\0\t\n\f\r /<=>]+$/;function gO(e,t,n){if(e==null){return""}if(typeof e==="number"){e=e.toString()}let i="";let r="";function o(e,t){const n=this;this.tag=e;this.attribs=t||{};this.tagPosition=i.length;this.text="";this.mediaChildren=[];this.updateParentNodeText=function(){if(p.length){const e=p[p.length-1];e.text+=n.text}};this.updateParentNodeMediaChildren=function(){if(p.length&&oO.includes(this.tag)){const e=p[p.length-1];e.mediaChildren.push(this.tag)}}}t=Object.assign({},gO.defaults,t);t.parser=Object.assign({},mO,t.parser);const a=function(e){return t.allowedTags===false||(t.allowedTags||[]).indexOf(e)>-1};aO.forEach((function(e){if(a(e)&&!t.allowVulnerableTags){console.warn(`\n\n⚠️ Your \`allowedTags\` option includes, \`${e}\`, which is inherently\nvulnerable to XSS attacks. Please remove it from \`allowedTags\`.\nOr, to disable this warning, add the \`allowVulnerableTags\` option\nand ensure you are accounting for this risk.\n\n`)}}));const s=t.nonTextTags||["script","style","textarea","option"];let l;let c;if(t.allowedAttributes){l={};c={};sO(t.allowedAttributes,(function(e,t){l[t]=[];const n=[];e.forEach((function(e){if(typeof e==="string"&&e.indexOf("*")>=0){n.push(eO(e).replace(/\\\*/g,".*"))}else{l[t].push(e)}}));if(n.length){c[t]=new RegExp("^("+n.join("|")+")$")}}))}const u={};const d={};const h={};sO(t.allowedClasses,(function(e,t){if(l){if(!lO(l,t)){l[t]=[]}l[t].push("class")}u[t]=e;if(Array.isArray(e)){const n=[];u[t]=[];h[t]=[];e.forEach((function(e){if(typeof e==="string"&&e.indexOf("*")>=0){n.push(eO(e).replace(/\\\*/g,".*"))}else if(e instanceof RegExp){h[t].push(e)}else{u[t].push(e)}}));if(n.length){d[t]=new RegExp("^("+n.join("|")+")$")}}}));const f={};let g;sO(t.transformTags,(function(e,t){let n;if(typeof e==="function"){n=e}else if(typeof e==="string"){n=gO.simpleTransform(e)}if(t==="*"){g=n}else{f[t]=n}}));let m;let p;let b;let v;let y;let k;let T=false;E();const w=new XL.Parser({onopentag:function(e,n){if(t.enforceHtmlBoundary&&e==="html"){E()}if(y){k++;return}const w=new o(e,n);p.push(w);let P=false;const A=!!w.text;let x;if(lO(f,e)){x=f[e](e,n);w.attribs=n=x.attribs;if(x.text!==undefined){w.innerText=x.text}if(e!==x.tagName){w.name=e=x.tagName;v[m]=x.tagName}}if(g){x=g(e,n);w.attribs=n=x.attribs;if(e!==x.tagName){w.name=e=x.tagName;v[m]=x.tagName}}if(!a(e)||t.disallowedTagsMode==="recursiveEscape"&&!uO(b)||t.nestingLimit!=null&&m>=t.nestingLimit){P=true;b[m]=true;if(t.disallowedTagsMode==="discard"||t.disallowedTagsMode==="completelyDiscard"){if(s.indexOf(e)!==-1){y=true;k=1}}b[m]=true}m++;if(P){if(t.disallowedTagsMode==="discard"||t.disallowedTagsMode==="completelyDiscard"){return}r=i;i=""}i+="<"+e;if(e==="script"){if(t.allowedScriptHostnames||t.allowedScriptDomains){w.innerText=""}}if(!l||lO(l,e)||l["*"]){sO(n,(function(n,r){if(!fO.test(r)){delete w.attribs[r];return}if(n===""&&!t.allowedEmptyAttributes.includes(r)&&(t.nonBooleanAttributes.includes(r)||t.nonBooleanAttributes.includes("*"))){delete w.attribs[r];return}let o=false;if(!l||lO(l,e)&&l[e].indexOf(r)!==-1||l["*"]&&l["*"].indexOf(r)!==-1||lO(c,e)&&c[e].test(r)||c["*"]&&c["*"].test(r)){o=true}else if(l&&l[e]){for(const t of l[e]){if(tO(t)&&t.name&&t.name===r){o=true;let e="";if(t.multiple===true){const i=n.split(" ");for(const n of i){if(t.values.indexOf(n)!==-1){if(e===""){e=n}else{e+=" "+n}}}}else if(t.values.indexOf(n)>=0){e=n}n=e}}}if(o){if(t.allowedSchemesAppliedToAttributes.indexOf(r)!==-1){if(S(e,n)){delete w.attribs[r];return}}if(e==="script"&&r==="src"){let e=true;try{const i=C(n);if(t.allowedScriptHostnames||t.allowedScriptDomains){const n=(t.allowedScriptHostnames||[]).find((function(e){return e===i.url.hostname}));const r=(t.allowedScriptDomains||[]).find((function(e){return i.url.hostname===e||i.url.hostname.endsWith(`.${e}`)}));e=n||r}}catch(t){e=false}if(!e){delete w.attribs[r];return}}if(e==="iframe"&&r==="src"){let e=true;try{const i=C(n);if(i.isRelativeUrl){e=lO(t,"allowIframeRelativeUrls")?t.allowIframeRelativeUrls:!t.allowedIframeHostnames&&!t.allowedIframeDomains}else if(t.allowedIframeHostnames||t.allowedIframeDomains){const n=(t.allowedIframeHostnames||[]).find((function(e){return e===i.url.hostname}));const r=(t.allowedIframeDomains||[]).find((function(e){return i.url.hostname===e||i.url.hostname.endsWith(`.${e}`)}));e=n||r}}catch(t){e=false}if(!e){delete w.attribs[r];return}}if(r==="srcset"){try{let e=iO(n);e.forEach((function(e){if(S("srcset",e.url)){e.evil=true}}));e=cO(e,(function(e){return!e.evil}));if(!e.length){delete w.attribs[r];return}else{n=dO(cO(e,(function(e){return!e.evil})));w.attribs[r]=n}}catch(e){delete w.attribs[r];return}}if(r==="class"){const t=u[e];const i=u["*"];const o=d[e];const a=h[e];const s=d["*"];const l=[o,s].concat(a).filter((function(e){return e}));if(t&&i){n=D(n,nO(t,i),l)}else{n=D(n,t||i,l)}if(!n.length){delete w.attribs[r];return}}if(r==="style"){if(t.parseStyleAttributes){try{const i=rO(e+" {"+n+"}",{map:false});const o=M(i,t.allowedStyles);n=_(o);if(n.length===0){delete w.attribs[r];return}}catch(t){if(typeof window!=="undefined"){console.warn('Failed to parse "'+e+" {"+n+"}"+"\", If you're running this in a browser, we recommend to disable style parsing: options.parseStyleAttributes: false, since this only works in a node environment due to a postcss dependency, More info: https://github.com/apostrophecms/sanitize-html/issues/547")}delete w.attribs[r];return}}else if(t.allowedStyles){throw new Error("allowedStyles option cannot be used together with parseStyleAttributes: false.")}}i+=" "+r;if(n&&n.length){i+='="'+B(n,true)+'"'}else if(t.allowedEmptyAttributes.includes(r)){i+='=""'}}else{delete w.attribs[r]}}))}if(t.selfClosing.indexOf(e)!==-1){i+=" />"}else{i+=">";if(w.innerText&&!A&&!t.textFilter){i+=B(w.innerText);T=true}}if(P){i=r+B(i);r=""}},ontext:function(e){if(y){return}const n=p[p.length-1];let r;if(n){r=n.tag;e=n.innerText!==undefined?n.innerText:e}if(t.disallowedTagsMode==="completelyDiscard"&&!a(r)){e=""}else if((t.disallowedTagsMode==="discard"||t.disallowedTagsMode==="completelyDiscard")&&(r==="script"||r==="style")){i+=e}else{const n=B(e,false);if(t.textFilter&&!T){i+=t.textFilter(n,r)}else if(!T){i+=n}}if(p.length){const t=p[p.length-1];t.text+=e}},onclosetag:function(e,n){if(y){k--;if(!k){y=false}else{return}}const o=p.pop();if(!o){return}if(o.tag!==e){p.push(o);return}y=t.enforceHtmlBoundary?e==="html":false;m--;const s=b[m];if(s){delete b[m];if(t.disallowedTagsMode==="discard"||t.disallowedTagsMode==="completelyDiscard"){o.updateParentNodeText();return}r=i;i=""}if(v[m]){e=v[m];delete v[m]}if(t.exclusiveFilter&&t.exclusiveFilter(o)){i=i.substr(0,o.tagPosition);return}o.updateParentNodeMediaChildren();o.updateParentNodeText();if(t.selfClosing.indexOf(e)!==-1||n&&!a(e)&&["escape","recursiveEscape"].indexOf(t.disallowedTagsMode)>=0){if(s){i=r;r=""}return}i+="</"+e+">";if(s){i=r+B(i);r=""}T=false}},t.parser);w.write(e);w.end();return i;function E(){i="";m=0;p=[];b={};v={};y=false;k=0}function B(e,n){if(typeof e!=="string"){e=e+""}if(t.parser.decodeEntities){e=e.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">");if(n){e=e.replace(/"/g,""")}}e=e.replace(/&(?![a-zA-Z0-9#]{1,20};)/g,"&").replace(/</g,"<").replace(/>/g,">");if(n){e=e.replace(/"/g,""")}return e}function S(e,n){n=n.replace(/[\x00-\x20]+/g,"");while(true){const e=n.indexOf("\x3c!--");if(e===-1){break}const t=n.indexOf("--\x3e",e+4);if(t===-1){break}n=n.substring(0,e)+n.substring(t+3)}const i=n.match(/^([a-zA-Z][a-zA-Z0-9.\-+]*):/);if(!i){if(n.match(/^[/\\]{2}/)){return!t.allowProtocolRelative}return false}const r=i[1].toLowerCase();if(lO(t.allowedSchemesByTag,e)){return t.allowedSchemesByTag[e].indexOf(r)===-1}return!t.allowedSchemes||t.allowedSchemes.indexOf(r)===-1}function C(e){e=e.replace(/^(\w+:)?\s*[\\/]\s*[\\/]/,"$1//");if(e.startsWith("relative:")){throw new Error("relative: exploit attempt")}let t="relative://relative-site";for(let e=0;e<100;e++){t+=`/${e}`}const n=new URL(e,t);const i=n&&n.hostname==="relative-site"&&n.protocol==="relative:";return{isRelativeUrl:i,url:n}}function M(e,t){if(!t){return e}const n=e.nodes[0];let i;if(t[n.selector]&&t["*"]){i=nO(t[n.selector],t["*"])}else{i=t[n.selector]||t["*"]}if(i){e.nodes[0].nodes=n.nodes.reduce(P(i),[])}return e}function _(e){return e.nodes[0].nodes.reduce((function(e,t){e.push(`${t.prop}:${t.value}${t.important?" !important":""}`);return e}),[]).join(";")}function P(e){return function(t,n){if(lO(e,n.prop)){const i=e[n.prop].some((function(e){return e.test(n.value)}));if(i){t.push(n)}}return t}}function D(e,t,n){if(!t){return e}e=e.split(/\s+/);return e.filter((function(e){return t.indexOf(e)!==-1||n.some((function(t){return t.test(e)}))})).join(" ")}}const mO={decodeEntities:true};gO.defaults={allowedTags:["address","article","aside","footer","header","h1","h2","h3","h4","h5","h6","hgroup","main","nav","section","blockquote","dd","div","dl","dt","figcaption","figure","hr","li","main","ol","p","pre","ul","a","abbr","b","bdi","bdo","br","cite","code","data","dfn","em","i","kbd","mark","q","rb","rp","rt","rtc","ruby","s","samp","small","span","strong","sub","sup","time","u","var","wbr","caption","col","colgroup","table","tbody","td","tfoot","th","thead","tr"],nonBooleanAttributes:["abbr","accept","accept-charset","accesskey","action","allow","alt","as","autocapitalize","autocomplete","blocking","charset","cite","class","color","cols","colspan","content","contenteditable","coords","crossorigin","data","datetime","decoding","dir","dirname","download","draggable","enctype","enterkeyhint","fetchpriority","for","form","formaction","formenctype","formmethod","formtarget","headers","height","hidden","high","href","hreflang","http-equiv","id","imagesizes","imagesrcset","inputmode","integrity","is","itemid","itemprop","itemref","itemtype","kind","label","lang","list","loading","low","max","maxlength","media","method","min","minlength","name","nonce","optimum","pattern","ping","placeholder","popover","popovertarget","popovertargetaction","poster","preload","referrerpolicy","rel","rows","rowspan","sandbox","scope","shape","size","sizes","slot","span","spellcheck","src","srcdoc","srclang","srcset","start","step","style","tabindex","target","title","translate","type","usemap","value","width","wrap","onauxclick","onafterprint","onbeforematch","onbeforeprint","onbeforeunload","onbeforetoggle","onblur","oncancel","oncanplay","oncanplaythrough","onchange","onclick","onclose","oncontextlost","oncontextmenu","oncontextrestored","oncopy","oncuechange","oncut","ondblclick","ondrag","ondragend","ondragenter","ondragleave","ondragover","ondragstart","ondrop","ondurationchange","onemptied","onended","onerror","onfocus","onformdata","onhashchange","oninput","oninvalid","onkeydown","onkeypress","onkeyup","onlanguagechange","onload","onloadeddata","onloadedmetadata","onloadstart","onmessage","onmessageerror","onmousedown","onmouseenter","onmouseleave","onmousemove","onmouseout","onmouseover","onmouseup","onoffline","ononline","onpagehide","onpageshow","onpaste","onpause","onplay","onplaying","onpopstate","onprogress","onratechange","onreset","onresize","onrejectionhandled","onscroll","onscrollend","onsecuritypolicyviolation","onseeked","onseeking","onselect","onslotchange","onstalled","onstorage","onsubmit","onsuspend","ontimeupdate","ontoggle","onunhandledrejection","onunload","onvolumechange","onwaiting","onwheel"],disallowedTagsMode:"discard",allowedAttributes:{a:["href","name","target"],img:["src","srcset","alt","title","width","height","loading"]},allowedEmptyAttributes:["alt"],selfClosing:["img","br","hr","area","base","basefont","input","link","meta"],allowedSchemes:["http","https","ftp","mailto","tel"],allowedSchemesByTag:{},allowedSchemesAppliedToAttributes:["href","src","cite"],allowProtocolRelative:true,enforceHtmlBoundary:false,parseStyleAttributes:true};gO.simpleTransform=function(e,t,n){n=n===undefined?true:n;t=t||{};return function(i,r){let o;if(n){for(o in t){r[o]=t[o]}}else{r=t}return{tagName:e,attribs:r}}};const pO=hO;var bO={exports:{}};(function(t,n){!function(e,n){t.exports=n()}(e,(function(){var e={year:0,month:1,day:2,hour:3,minute:4,second:5},t={};return function(n,i,r){var o,a=function(e,n,i){void 0===i&&(i={});var r=new Date(e),o=function(e,n){void 0===n&&(n={});var i=n.timeZoneName||"short",r=e+"|"+i,o=t[r];return o||(o=new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:e,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit",timeZoneName:i}),t[r]=o),o}(n,i);return o.formatToParts(r)},s=function(t,n){for(var i=a(t,n),o=[],s=0;s<i.length;s+=1){var l=i[s],c=l.type,u=l.value,d=e[c];d>=0&&(o[d]=parseInt(u,10))}var h=o[3],f=24===h?0:h,g=o[0]+"-"+o[1]+"-"+o[2]+" "+f+":"+o[4]+":"+o[5]+":000",m=+t;return(r.utc(g).valueOf()-(m-=m%1e3))/6e4},l=i.prototype;l.tz=function(e,t){void 0===e&&(e=o);var n=this.utcOffset(),i=this.toDate(),a=i.toLocaleString("en-US",{timeZone:e}),s=Math.round((i-new Date(a))/1e3/60),l=r(a).$set("millisecond",this.$ms).utcOffset(15*-Math.round(i.getTimezoneOffset()/15)-s,!0);if(t){var c=l.utcOffset();l=l.add(n-c,"minute")}return l.$x.$timezone=e,l},l.offsetName=function(e){var t=this.$x.$timezone||r.tz.guess(),n=a(this.valueOf(),t,{timeZoneName:e}).find((function(e){return"timezonename"===e.type.toLowerCase()}));return n&&n.value};var c=l.startOf;l.startOf=function(e,t){if(!this.$x||!this.$x.$timezone)return c.call(this,e,t);var n=r(this.format("YYYY-MM-DD HH:mm:ss:SSS"));return c.call(n,e,t).tz(this.$x.$timezone,!0)},r.tz=function(e,t,n){var i=n&&t,a=n||t||o,l=s(+r(),a);if("string"!=typeof e)return r(e).tz(a);var c=function(e,t,n){var i=e-60*t*1e3,r=s(i,n);if(t===r)return[i,t];var o=s(i-=60*(r-t)*1e3,n);return r===o?[i,r]:[e-60*Math.min(r,o)*1e3,Math.max(r,o)]}(r.utc(e,i).valueOf(),l,a),u=c[0],d=c[1],h=r(u).utcOffset(d);return h.$x.$timezone=a,h},r.tz.guess=function(){return Intl.DateTimeFormat().resolvedOptions().timeZone},r.tz.setDefault=function(e){o=e}}}))})(bO);const vO=bO.exports;var yO={exports:{}};(function(t,i){!function(e,i){t.exports=i(n.exports)}(e,(function(e){function t(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var n=t(e),i={name:"fr",weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),months:"janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre".split("_"),monthsShort:"janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.".split("_"),weekStart:1,yearStart:4,formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},ordinal:function(e){return""+e+(1===e?"er":"")}};return n.default.locale(i,null,!0),i}))})(yO);var kO={exports:{}};(function(t,i){!function(e,i){t.exports=i(n.exports)}(e,(function(e){function t(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var n=t(e),i={name:"es",monthsShort:"ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),weekdays:"domingo_lunes_martes_miércoles_jueves_viernes_sábado".split("_"),weekdaysShort:"dom._lun._mar._mié._jue._vie._sáb.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_sá".split("_"),months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),weekStart:1,formats:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY H:mm",LLLL:"dddd, D [de] MMMM [de] YYYY H:mm"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un día",dd:"%d días",M:"un mes",MM:"%d meses",y:"un año",yy:"%d años"},ordinal:function(e){return e+"º"}};return n.default.locale(i,null,!0),i}))})(kO);var TO={exports:{}};(function(t,i){!function(e,i){t.exports=i(n.exports)}(e,(function(e){function t(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var n=t(e),i={s:"ein paar Sekunden",m:["eine Minute","einer Minute"],mm:"%d Minuten",h:["eine Stunde","einer Stunde"],hh:"%d Stunden",d:["ein Tag","einem Tag"],dd:["%d Tage","%d Tagen"],M:["ein Monat","einem Monat"],MM:["%d Monate","%d Monaten"],y:["ein Jahr","einem Jahr"],yy:["%d Jahre","%d Jahren"]};function r(e,t,n){var r=i[n];return Array.isArray(r)&&(r=r[t?0:1]),r.replace("%d",e)}var o={name:"de",weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So._Mo._Di._Mi._Do._Fr._Sa.".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),months:"Januar_Februar_März_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Feb._März_Apr._Mai_Juni_Juli_Aug._Sept._Okt._Nov._Dez.".split("_"),ordinal:function(e){return e+"."},weekStart:1,yearStart:4,formats:{LTS:"HH:mm:ss",LT:"HH:mm",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},relativeTime:{future:"in %s",past:"vor %s",s:r,m:r,mm:r,h:r,hh:r,d:r,dd:r,M:r,MM:r,y:r,yy:r}};return n.default.locale(o,null,!0),o}))})(TO);var wO={exports:{}};(function(t,i){!function(e,i){t.exports=i(n.exports)}(e,(function(e){function t(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var n=t(e),i={name:"nl",weekdays:"zondag_maandag_dinsdag_woensdag_donderdag_vrijdag_zaterdag".split("_"),weekdaysShort:"zo._ma._di._wo._do._vr._za.".split("_"),weekdaysMin:"zo_ma_di_wo_do_vr_za".split("_"),months:"januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december".split("_"),monthsShort:"jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec".split("_"),ordinal:function(e){return"["+e+(1===e||8===e||e>=20?"ste":"de")+"]"},weekStart:1,yearStart:4,formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},relativeTime:{future:"over %s",past:"%s geleden",s:"een paar seconden",m:"een minuut",mm:"%d minuten",h:"een uur",hh:"%d uur",d:"een dag",dd:"%d dagen",M:"een maand",MM:"%d maanden",y:"een jaar",yy:"%d jaar"}};return n.default.locale(i,null,!0),i}))})(wO);var EO={exports:{}};(function(t,i){!function(e,i){t.exports=i(n.exports)}(e,(function(e){function t(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var n=t(e),i={name:"sv",weekdays:"söndag_måndag_tisdag_onsdag_torsdag_fredag_lördag".split("_"),weekdaysShort:"sön_mån_tis_ons_tor_fre_lör".split("_"),weekdaysMin:"sö_må_ti_on_to_fr_lö".split("_"),months:"januari_februari_mars_april_maj_juni_juli_augusti_september_oktober_november_december".split("_"),monthsShort:"jan_feb_mar_apr_maj_jun_jul_aug_sep_okt_nov_dec".split("_"),weekStart:1,yearStart:4,ordinal:function(e){var t=e%10;return"["+e+(1===t||2===t?"a":"e")+"]"},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [kl.] HH:mm",LLLL:"dddd D MMMM YYYY [kl.] HH:mm",lll:"D MMM YYYY HH:mm",llll:"ddd D MMM YYYY HH:mm"},relativeTime:{future:"om %s",past:"för %s sedan",s:"några sekunder",m:"en minut",mm:"%d minuter",h:"en timme",hh:"%d timmar",d:"en dag",dd:"%d dagar",M:"en månad",MM:"%d månader",y:"ett år",yy:"%d år"}};return n.default.locale(i,null,!0),i}))})(EO);var BO={exports:{}};(function(t,i){!function(e,i){t.exports=i(n.exports)}(e,(function(e){function t(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var n=t(e),i={name:"ja",weekdays:"日曜日_月曜日_火曜日_水曜日_木曜日_金曜日_土曜日".split("_"),weekdaysShort:"日_月_火_水_木_金_土".split("_"),weekdaysMin:"日_月_火_水_木_金_土".split("_"),months:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),ordinal:function(e){return e+"日"},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY年M月D日",LLL:"YYYY年M月D日 HH:mm",LLLL:"YYYY年M月D日 dddd HH:mm",l:"YYYY/MM/DD",ll:"YYYY年M月D日",lll:"YYYY年M月D日 HH:mm",llll:"YYYY年M月D日(ddd) HH:mm"},meridiem:function(e){return e<12?"午前":"午後"},relativeTime:{future:"%s後",past:"%s前",s:"数秒",m:"1分",mm:"%d分",h:"1時間",hh:"%d時間",d:"1日",dd:"%d日",M:"1ヶ月",MM:"%dヶ月",y:"1年",yy:"%d年"}};return n.default.locale(i,null,!0),i}))})(BO);var SO={exports:{}};(function(t,i){!function(e,i){t.exports=i(n.exports)}(e,(function(e){function t(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var n=t(e),i={name:"zh-cn",weekdays:"星期日_星期一_星期二_星期三_星期四_星期五_星期六".split("_"),weekdaysShort:"周日_周一_周二_周三_周四_周五_周六".split("_"),weekdaysMin:"日_一_二_三_四_五_六".split("_"),months:"一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),ordinal:function(e,t){return"W"===t?e+"周":e+"日"},weekStart:1,yearStart:4,formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY年M月D日",LLL:"YYYY年M月D日Ah点mm分",LLLL:"YYYY年M月D日ddddAh点mm分",l:"YYYY/M/D",ll:"YYYY年M月D日",lll:"YYYY年M月D日 HH:mm",llll:"YYYY年M月D日dddd HH:mm"},relativeTime:{future:"%s内",past:"%s前",s:"几秒",m:"1 分钟",mm:"%d 分钟",h:"1 小时",hh:"%d 小时",d:"1 天",dd:"%d 天",M:"1 个月",MM:"%d 个月",y:"1 年",yy:"%d 年"},meridiem:function(e,t){var n=100*e+t;return n<600?"凌晨":n<900?"早上":n<1100?"上午":n<1300?"中午":n<1800?"下午":"晚上"}};return n.default.locale(i,null,!0),i}))})(SO);var CO={exports:{}};(function(t,i){!function(e,i){t.exports=i(n.exports)}(e,(function(e){function t(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var n=t(e),i={name:"ko",weekdays:"일요일_월요일_화요일_수요일_목요일_금요일_토요일".split("_"),weekdaysShort:"일_월_화_수_목_금_토".split("_"),weekdaysMin:"일_월_화_수_목_금_토".split("_"),months:"1월_2월_3월_4월_5월_6월_7월_8월_9월_10월_11월_12월".split("_"),monthsShort:"1월_2월_3월_4월_5월_6월_7월_8월_9월_10월_11월_12월".split("_"),ordinal:function(e){return e},formats:{LT:"A h:mm",LTS:"A h:mm:ss",L:"YYYY.MM.DD.",LL:"YYYY년 MMMM D일",LLL:"YYYY년 MMMM D일 A h:mm",LLLL:"YYYY년 MMMM D일 dddd A h:mm",l:"YYYY.MM.DD.",ll:"YYYY년 MMMM D일",lll:"YYYY년 MMMM D일 A h:mm",llll:"YYYY년 MMMM D일 dddd A h:mm"},meridiem:function(e){return e<12?"오전":"오후"},relativeTime:{future:"%s 후",past:"%s 전",s:"몇 초",m:"1분",mm:"%d분",h:"한 시간",hh:"%d시간",d:"하루",dd:"%d일",M:"한 달",MM:"%d달",y:"일 년",yy:"%d년"}};return n.default.locale(i,null,!0),i}))})(CO);i.extend(r);i.extend(vO);const MO={textFilter:function(e){return e.replace(/&/g,"&")}};function _O(e){return i().tz(e).format("Z")}function PO(e){return pO(e,MO)}function DO(...e){if(window&&window.localStorage&&window.localStorage.getItem("debug")){console.groupCollapsed(...e);const t=new Error;t.name="Debug";console.debug(t.stack);console.groupEnd()}}function AO(...e){console.error(...e)}function xO(){return Math.random().toString(36).substr(2,9)}function LO(e){return e.toString().replace(/^on/,"")}function OO(e){return new Date(e.getFullYear(),e.getMonth()+1,0)}function RO(e){return new Date(e.getFullYear(),e.getMonth(),1)}function IO(e,t){return e.getFullYear()===t.getFullYear()&&e.getMonth()===t.getMonth()&&e.getDate()===t.getDate()}function NO(e,t,n){const r=i(e).tz(n);const o=i(t);return r.year()===o.year()&&r.month()===o.month()&&r.date()===o.date()}function jO(e,t,n="en-US"){return i(e).tz(t).locale(n).format("dddd, MMMM D, YYYY")}function zO(e,t){return e.getFullYear()===t.getFullYear()&&e.getMonth()===t.getMonth()}const FO=e=>{if(e===""){return true}const t=/^(0[0-9]|1[0-2]|^[0-9])(:[0-5][0-9][ap]m?|:[0-5][0-9]|:[0-5]|:)?$/i;return t.test(e)};const UO=e=>{const t=/^(0[1-9]|1[0-2]):([0-5][0-9])(am|pm)$/i;return t.test(e)};function qO(e=null){let t=i();if(e){t=e}const n=t.minute()%15;let r;if(n!==0){r=t.add(15-n,"minute")}else{r=t}return r}function YO(e){const t=i();let n="";const[r,o]=e.split(":");if(r.length===1){n+="0"+r}else if(r.length===2){n+=r}n+=":";if(o===undefined||o==""){n+="00"}else{if(o.length===1){n+=o+"0"}else{n+=o}}const a=n.slice(-1);if(a==="a"){n+="m"}if(a==="p"){n+="m"}if(n.slice(-1)!=="m"){if(n.split(":")[0]=="00"){n+="am"}else{n+=t.format("a")}}return n}function HO(e){const[t,n]=e.split(":").map((e=>parseInt(e,10)));let i=t;const r=i>=12?"pm":"am";i=i%12;i=i?i:12;const o=i.toString().padStart(2,"0");const a=n.toString().padStart(2,"0");return`${o}:${a}${r}`}function VO(e){const[t,n]=e.split(/(am|pm)/i);const[i,r]=t.split(":").map((e=>parseInt(e,10)));let o=i;if(n.toLowerCase()==="pm"&&o<12){o+=12}else if(n.toLowerCase()==="am"&&o===12){o=0}return`${o.toString().padStart(2,"0")}:${r.toString().padStart(2,"0")}`}function $O(e){const[t,n]=e.match(/(\d+):(\d+)(am|pm)/).slice(1);let i=parseInt(t,10)*60+parseInt(n,10);if(e.includes("pm")&&parseInt(t,10)<12)i+=12*60;if(e.includes("am")&&parseInt(t,10)===12)i-=12*60;return i}function GO(e){const t=Math.floor(e/60);const n=e%60;return`${t}:${n<10?"0":""}${n}`}function WO(){const e=navigator.userAgent;const t=/Chrome/.test(e)&&/Google Inc/.test(navigator.vendor);const n=/Safari/.test(e)&&/Apple Computer/.test(navigator.vendor);const i=/Firefox/.test(e);const r=/Trident/.test(e);const o=/Edge/.test(e);const a=t&&/Edg/.test(e);if(a)return"Edge (Chromium)";if(t)return"Chrome";if(n)return"Safari";if(i)return"Firefox";if(r)return"Internet Explorer";if(o)return"Edge (Legacy)";return"Unknown"}function KO(e,t=null){if(t){return[null,t]}return[e,null]}function ZO(e,t){const n={"config.id":t?.id,id:t?.id,slug:t?.slug};Object.keys(n).forEach((t=>{if(n[t]){e=e.replace(`{${t}}`,n[t])}}));return e}function JO(e){if(e.keyCode<48||e.keyCode>90&&e.keyCode<96||e.keyCode>111&&e.keyCode<186||e.keyCode>222||e.keyCode===32||e.keyCode===91||e.keyCode===92||e.keyCode===93||e.keyCode>=112&&e.keyCode<=123||e.keyCode>=37&&e.keyCode<=40){return true}if(e.ctrlKey||e.altKey||e.metaKey){return true}const t=[48,49,50,51,52,53,54,55,56,57,186,187,188,189,190,191,192,219,220,221,222];if(e.shiftKey&&t.includes(e.keyCode)){return false}return false}function QO(e,t){const n=new Date(e);n.setDate(n.getDate()+t);n.setHours(23);n.setMinutes(59);n.setSeconds(0);n.setMilliseconds(0);return n}function XO(e){return e&&typeof e==="object"&&!Array.isArray(e)}function eR(e,t){if(Array.isArray(e)&&Array.isArray(t)&&e!==t){if(e.some((e=>e.is_organizer))&&t.some((e=>e.is_organizer))){e=e.map((e=>({...e,is_organizer:false})))}else if(!t.some((e=>e.is_organizer))){let t=false;e=e.map((e=>{if(!t){t=true;return{...e,is_organizer:true}}return e}))}return e.map(((e,n)=>t[n]?eR(e,t[n]):e)).concat(t.slice(e.length))}else if(XO(e)&&XO(t)){const n=Object.assign({},e);Object.keys(t).forEach((i=>{if(XO(t[i])){if(!(i in e)){n[i]=t[i]}else{n[i]=eR(e[i],t[i])}}else{n[i]=t[i]}}));return n}return t}function tR(e){if(e<60){return`${e} ${rR("time.minutes")}`}const t=Math.floor(e/60);const n=e%60;const i=rR(`time.${t>1?"hours":"hour"}`);const r=n?`${n} ${rR(`time.${n>1?"minutes":"minute"}`)}`:"";return`${t} ${i} ${r}`}function nR(e,t){e.forEach((e=>{const n=t.shadowRoot?.querySelector(`slot[name="${e}"]`);const i=n?.assignedNodes();if(i&&i.length===0){console.warn(`${t.nodeName} No content provided for slot="${e}".`)}}))}function iR(e){const t=w.from(e,"base64");const n=t.slice(0,16);const i=t.slice(16,32);const r=t.slice(32);function o(e){const t=e.toString("hex");return`${t.slice(0,8)}-${t.slice(8,12)}-${t.slice(12,16)}-${t.slice(16,20)}-${t.slice(20)}`}const a=o(n);const s=o(i);const l=r.toString("base64").replace(/\+/g,"-").replace(/\//g,"_").replace(/=+$/,"");return[a,s,l]}const rR=e=>Di.t(e);const oR=e=>{if(typeof e!=="string")return"";return e.charAt(0).toUpperCase()+e.slice(1)};const aR=e=>rR(`months.${e}`);const sR=e=>{try{new URL(e);return true}catch(e){return false}};const lR=e=>new Promise(((t,n)=>{if(e==="")return t(true);const i=new Image;i.src=e;i.onerror=()=>{n(false)};i.onload=()=>{t(true)}}));function cR(e,t,n,r,o="UTC"){const a={0:vn.SU,1:vn.MO,2:vn.TU,3:vn.WE,4:vn.TH,5:vn.FR,6:vn.SA};const s=i.tz(e,o).toDate();const l=a[s.getDay()];const c=s.getDate();const u=Math.ceil(c/7);const d=n?i.tz(n,o).toDate():undefined;switch(t){case"none":{return null}case"daily":{return new vn({freq:vn.DAILY,until:d}).toString()}case"weekly":{return new vn({freq:vn.WEEKLY,byweekday:l,until:d}).toString()}case"monthly":{return new vn({freq:vn.MONTHLY,byweekday:[l.nth(u)],until:d}).toString()}case"yearly":{return new vn({freq:vn.YEARLY,dtstart:s,until:d}).toString()}case"custom":{if(!r){throw new Error("Custom options must be provided for custom recurrence.")}const t=r.frequency==="weekly"?r.daysOfWeek?.map((e=>vn[e])):r.frequency==="monthly"&&!r.monthlySameDate?[l.nth(u)]:undefined;const n=r.frequency==="monthly"&&r.monthlySameDate?i.tz(e,o).date():undefined;return new vn({freq:{daily:vn.DAILY,weekly:vn.WEEKLY,monthly:vn.MONTHLY,yearly:vn.YEARLY}[r.frequency||"daily"],interval:r.interval||1,byweekday:t,bymonthday:n,until:r.end?.type==="on"?i.tz(r.end.date,o).toDate():undefined,count:r.end?.type==="after"?r.end.count:undefined}).toString()}default:{throw new Error(`Invalid option: ${t}`)}}}function uR(e,t){const n=i(e).startOf("day");let r;let o;switch(t){case"week":{r=n.startOf("week");o=n.endOf("week");break}case"month":{r=n.startOf("month").startOf("week");o=n.endOf("month").endOf("week");break}case"day":{r=n.startOf("day");o=n.endOf("day");break}default:{throw new Error('Invalid viewType. Use "week", "month", or "day".')}}return{startTime:r.unix(),endTime:o.unix()}}export{$O as A,w as B,HO as C,VO as D,GO as E,sR as F,nR as G,cR as H,lR as I,WO as J,JO as K,YO as L,FO as M,qO as N,UO as O,DO as a,QO as b,uR as c,KO as d,AO as e,LO as f,o as g,iR as h,Di as i,oR as j,ZO as k,jO as l,eR as m,PO as n,zO as o,iD as p,OO as q,RO as r,pO as s,vO as t,xO as u,IO as v,tR as w,aR as x,_O as y,NO as z};
|
|
14
|
+
//# sourceMappingURL=p-6b7fb948.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{d as t}from"./p-
|
|
2
|
-
//# sourceMappingURL=p-
|
|
1
|
+
import{d as t}from"./p-6b7fb948.js";class e{constructor(t){this.defaultAuthArgs=[];this.session=t}setActiveGrantId(t){this.activeGrantId=t}async request({method:e,path:s,body:n,headers:i}){try{const r=await this.session.fetch(`grants/me/${s}`,{method:e,headers:i?new Headers(i):undefined,body:n,...this.session.isMultiAccount()&&this.activeGrantId?{grant_id:this.activeGrantId}:{}});if(typeof r==="undefined"){throw new Error("Response is undefined")}return t(r)}catch(e){let s=String(e);if(String(e).includes("Access token not found")){s="Session expired, please log in again. Redirecting...";setTimeout((()=>{localStorage.removeItem("grant");localStorage.removeItem("user");window.location.reload()}),1e3)}return t(null,{message:s})}}async currentUser(){const t=this.session.isMultiAccount()?this.activeGrantId:undefined;const e=await this.session.getProfile(t);if(await this.session.isLoggedIn()){const t=await this.session.fetch(`grants/me`,{method:"GET",...this.session.isMultiAccount()&&this.activeGrantId?{grant_id:this.activeGrantId}:{}});const s=t.data;if(!e||!s){return null}const n=s.email;return{id:e.sub,email:n,name:e.name,provider:e.provider}}return null}async authenticationUrl(t){const e=t?.provider||"google";const s=this.defaultAuthArgs.find((t=>t.provider===e));let n=s||{};if(t){n={...n,...t}}return this.session.auth(n)}setDefaultAuthArgs(t){this.defaultAuthArgs=t}}export{e as N};
|
|
2
|
+
//# sourceMappingURL=p-7477410d.js.map
|