@pinegrow/quasar-module 3.0.46 → 3.0.48

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/plugin.cjs CHANGED
@@ -1 +1,2 @@
1
- !function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t();else if("function"==typeof define&&define.amd)define([],t);else{var n=t();for(var o in n)("object"==typeof exports?exports:e)[o]=n[o]}}(global,(()=>(()=>{var e={748:e=>{e.exports=function(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,o=new Array(t);n<t;n++)o[n]=e[n];return o},e.exports.__esModule=!0,e.exports.default=e.exports},314:e=>{e.exports=function(e){if(Array.isArray(e))return e},e.exports.__esModule=!0,e.exports.default=e.exports},850:(e,t,n)=>{var o=n(748);e.exports=function(e){if(Array.isArray(e))return o(e)},e.exports.__esModule=!0,e.exports.default=e.exports},297:e=>{e.exports=function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e},e.exports.__esModule=!0,e.exports.default=e.exports},100:e=>{e.exports=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},e.exports.__esModule=!0,e.exports.default=e.exports},870:(e,t,n)=>{var o=n(739);function a(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,o(a.key),a)}}e.exports=function(e,t,n){return t&&a(e.prototype,t),n&&a(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e},e.exports.__esModule=!0,e.exports.default=e.exports},290:(e,t,n)=>{var o=n(739);e.exports=function(e,t,n){return(t=o(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e},e.exports.__esModule=!0,e.exports.default=e.exports},611:(e,t,n)=>{var o=n(209);function a(){return"undefined"!=typeof Reflect&&Reflect.get?(e.exports=a=Reflect.get.bind(),e.exports.__esModule=!0,e.exports.default=e.exports):(e.exports=a=function(e,t,n){var a=o(e,t);if(a){var i=Object.getOwnPropertyDescriptor(a,t);return i.get?i.get.call(arguments.length<3?e:n):i.value}},e.exports.__esModule=!0,e.exports.default=e.exports),a.apply(this,arguments)}e.exports=a,e.exports.__esModule=!0,e.exports.default=e.exports},660:e=>{function t(n){return e.exports=t=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},e.exports.__esModule=!0,e.exports.default=e.exports,t(n)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports},230:(e,t,n)=>{var o=n(560);e.exports=function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&o(e,t)},e.exports.__esModule=!0,e.exports.default=e.exports},912:e=>{e.exports=function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)},e.exports.__esModule=!0,e.exports.default=e.exports},193:e=>{e.exports=function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var o,a,i,r,s=[],l=!0,c=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(o=i.call(n)).done)&&(s.push(o.value),s.length!==t);l=!0);}catch(e){c=!0,a=e}finally{try{if(!l&&null!=n.return&&(r=n.return(),Object(r)!==r))return}finally{if(c)throw a}}return s}},e.exports.__esModule=!0,e.exports.default=e.exports},849:e=>{e.exports=function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")},e.exports.__esModule=!0,e.exports.default=e.exports},96:e=>{e.exports=function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")},e.exports.__esModule=!0,e.exports.default=e.exports},421:(e,t,n)=>{var o=n(425).default,a=n(297);e.exports=function(e,t){if(t&&("object"===o(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return a(e)},e.exports.__esModule=!0,e.exports.default=e.exports},560:e=>{function t(n,o){return e.exports=t=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},e.exports.__esModule=!0,e.exports.default=e.exports,t(n,o)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports},681:(e,t,n)=>{var o=n(314),a=n(193),i=n(121),r=n(849);e.exports=function(e,t){return o(e)||a(e,t)||i(e,t)||r()},e.exports.__esModule=!0,e.exports.default=e.exports},209:(e,t,n)=>{var o=n(660);e.exports=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=o(e)););return e},e.exports.__esModule=!0,e.exports.default=e.exports},408:(e,t,n)=>{var o=n(850),a=n(912),i=n(121),r=n(96);e.exports=function(e){return o(e)||a(e)||i(e)||r()},e.exports.__esModule=!0,e.exports.default=e.exports},64:(e,t,n)=>{var o=n(425).default;e.exports=function(e,t){if("object"!==o(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var a=n.call(e,t||"default");if("object"!==o(a))return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)},e.exports.__esModule=!0,e.exports.default=e.exports},739:(e,t,n)=>{var o=n(425).default,a=n(64);e.exports=function(e){var t=a(e,"string");return"symbol"===o(t)?t:String(t)},e.exports.__esModule=!0,e.exports.default=e.exports},425:e=>{function t(n){return e.exports=t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},e.exports.__esModule=!0,e.exports.default=e.exports,t(n)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports},121:(e,t,n)=>{var o=n(748);e.exports=function(e,t){if(e){if("string"==typeof e)return o(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?o(e,t):void 0}},e.exports.__esModule=!0,e.exports.default=e.exports},813:(e,t,n)=>{"use strict";n.r(t),n.d(t,{def_all:()=>ee});var o={};n.r(o),n.d(o,{amber:()=>C,blue:()=>g,blueGrey:()=>P,brown:()=>A,common:()=>u,cyan:()=>y,deepOrange:()=>S,deepPurple:()=>f,green:()=>_,grey:()=>V,indigo:()=>h,lightBlue:()=>b,lightGreen:()=>k,lime:()=>x,orange:()=>T,pink:()=>p,purple:()=>m,red:()=>d,teal:()=>v,yellow:()=>w});var a=n(290),i=n(506),r=n(681),s=n(408),l=n(870),c=n(100);const u={black:"#000",white:"#fff"},d={50:"#ffebee",100:"#ffcdd2",200:"#ef9a9a",300:"#e57373",400:"#ef5350",500:"#f44336",600:"#e53935",700:"#d32f2f",800:"#c62828",900:"#b71c1c",A100:"#ff8a80",A200:"#ff5252",A400:"#ff1744",A700:"#d50000"},p={50:"#fce4ec",100:"#f8bbd0",200:"#f48fb1",300:"#f06292",400:"#ec407a",500:"#e91e63",600:"#d81b60",700:"#c2185b",800:"#ad1457",900:"#880e4f",A100:"#ff80ab",A200:"#ff4081",A400:"#f50057",A700:"#c51162"},m={50:"#f3e5f5",100:"#e1bee7",200:"#ce93d8",300:"#ba68c8",400:"#ab47bc",500:"#9c27b0",600:"#8e24aa",700:"#7b1fa2",800:"#6a1b9a",900:"#4a148c",A100:"#ea80fc",A200:"#e040fb",A400:"#d500f9",A700:"#aa00ff"},f={50:"#ede7f6",100:"#d1c4e9",200:"#b39ddb",300:"#9575cd",400:"#7e57c2",500:"#673ab7",600:"#5e35b1",700:"#512da8",800:"#4527a0",900:"#311b92",A100:"#b388ff",A200:"#7c4dff",A400:"#651fff",A700:"#6200ea"},h={50:"#e8eaf6",100:"#c5cae9",200:"#9fa8da",300:"#7986cb",400:"#5c6bc0",500:"#3f51b5",600:"#3949ab",700:"#303f9f",800:"#283593",900:"#1a237e",A100:"#8c9eff",A200:"#536dfe",A400:"#3d5afe",A700:"#304ffe"},g={50:"#e3f2fd",100:"#bbdefb",200:"#90caf9",300:"#64b5f6",400:"#42a5f5",500:"#2196f3",600:"#1e88e5",700:"#1976d2",800:"#1565c0",900:"#0d47a1",A100:"#82b1ff",A200:"#448aff",A400:"#2979ff",A700:"#2962ff"},b={50:"#e1f5fe",100:"#b3e5fc",200:"#81d4fa",300:"#4fc3f7",400:"#29b6f6",500:"#03a9f4",600:"#039be5",700:"#0288d1",800:"#0277bd",900:"#01579b",A100:"#80d8ff",A200:"#40c4ff",A400:"#00b0ff",A700:"#0091ea"},y={50:"#e0f7fa",100:"#b2ebf2",200:"#80deea",300:"#4dd0e1",400:"#26c6da",500:"#00bcd4",600:"#00acc1",700:"#0097a7",800:"#00838f",900:"#006064",A100:"#84ffff",A200:"#18ffff",A400:"#00e5ff",A700:"#00b8d4"},v={50:"#e0f2f1",100:"#b2dfdb",200:"#80cbc4",300:"#4db6ac",400:"#26a69a",500:"#009688",600:"#00897b",700:"#00796b",800:"#00695c",900:"#004d40",A100:"#a7ffeb",A200:"#64ffda",A400:"#1de9b6",A700:"#00bfa5"},_={50:"#e8f5e9",100:"#c8e6c9",200:"#a5d6a7",300:"#81c784",400:"#66bb6a",500:"#4caf50",600:"#43a047",700:"#388e3c",800:"#2e7d32",900:"#1b5e20",A100:"#b9f6ca",A200:"#69f0ae",A400:"#00e676",A700:"#00c853"},k={50:"#f1f8e9",100:"#dcedc8",200:"#c5e1a5",300:"#aed581",400:"#9ccc65",500:"#8bc34a",600:"#7cb342",700:"#689f38",800:"#558b2f",900:"#33691e",A100:"#ccff90",A200:"#b2ff59",A400:"#76ff03",A700:"#64dd17"},x={50:"#f9fbe7",100:"#f0f4c3",200:"#e6ee9c",300:"#dce775",400:"#d4e157",500:"#cddc39",600:"#c0ca33",700:"#afb42b",800:"#9e9d24",900:"#827717",A100:"#f4ff81",A200:"#eeff41",A400:"#c6ff00",A700:"#aeea00"},w={50:"#fffde7",100:"#fff9c4",200:"#fff59d",300:"#fff176",400:"#ffee58",500:"#ffeb3b",600:"#fdd835",700:"#fbc02d",800:"#f9a825",900:"#f57f17",A100:"#ffff8d",A200:"#ffff00",A400:"#ffea00",A700:"#ffd600"},C={50:"#fff8e1",100:"#ffecb3",200:"#ffe082",300:"#ffd54f",400:"#ffca28",500:"#ffc107",600:"#ffb300",700:"#ffa000",800:"#ff8f00",900:"#ff6f00",A100:"#ffe57f",A200:"#ffd740",A400:"#ffc400",A700:"#ffab00"},T={50:"#fff3e0",100:"#ffe0b2",200:"#ffcc80",300:"#ffb74d",400:"#ffa726",500:"#ff9800",600:"#fb8c00",700:"#f57c00",800:"#ef6c00",900:"#e65100",A100:"#ffd180",A200:"#ffab40",A400:"#ff9100",A700:"#ff6d00"},S={50:"#fbe9e7",100:"#ffccbc",200:"#ffab91",300:"#ff8a65",400:"#ff7043",500:"#ff5722",600:"#f4511e",700:"#e64a19",800:"#d84315",900:"#bf360c",A100:"#ff9e80",A200:"#ff6e40",A400:"#ff3d00",A700:"#dd2c00"},A={50:"#efebe9",100:"#d7ccc8",200:"#bcaaa4",300:"#a1887f",400:"#8d6e63",500:"#795548",600:"#6d4c41",700:"#5d4037",800:"#4e342e",900:"#3e2723",A100:"#d7ccc8",A200:"#bcaaa4",A400:"#8d6e63",A700:"#5d4037"},V={50:"#fafafa",100:"#f5f5f5",200:"#eeeeee",300:"#e0e0e0",400:"#bdbdbd",500:"#9e9e9e",600:"#757575",700:"#616161",800:"#424242",900:"#212121",A100:"#f5f5f5",A200:"#eeeeee",A400:"#bdbdbd",A700:"#616161"},P={50:"#eceff1",100:"#cfd8dc",200:"#b0bec5",300:"#90a4ae",400:"#78909c",500:"#607d8b",600:"#546e7a",700:"#455a64",800:"#37474f",900:"#263238",A100:"#cfd8dc",A200:"#b0bec5",A400:"#78909c",A700:"#455a64"};var O=function(e){var t=["lighten","darken","accent"],n=Object.keys(e).reduce((function(e,n){var o=n.split("-");return o.length>=3&&t.includes(o[o.length-2])?[].concat(s(e),[o.slice(0,o.length-2).join("-")]):[].concat(s(e),[n])}),[]);return(n=s(new Set(n))).map((function(n){var o=Object.entries(e).reduce((function(o,a){var i=r(a,2),l=i[0],c=i[1],u=l.split("-"),d=u.slice(u.length-2).join("-");if(!(u.length>1&&o.map((function(e){return e.name})).includes(d))&&l.startsWith(n)&&u.length>=3&&t.includes(u[u.length-2])){var p=[].concat(s(o),[{name:d,hex:c}]);return"lighten-1"===d&&p.push({name:"",hex:e[n]}),p}return o}),[]);return{color:n,variants:o,hex:e[n]}}))},F=function(e){return e=e.replace("#",""),(299*parseInt(e.substr(0,2),16)+587*parseInt(e.substr(2,2),16)+114*parseInt(e.substr(4,2),16))/1e3>=128?"#333333":"#ebedef"},I=new(l((function e(){var t=this;c(this,e),a(this,"init",(function(){t.buildColorsMapAndSwatches(),t.buildColorsMeta()})),a(this,"initOptions",(function(){t.buildColorsOptionsAndTextOptions()})),a(this,"buildColorsMapAndSwatches",(function(){t.colors.forEach((function(e){var n=o[e];if(n){var a=[];a.push(n[500]),Object.entries(n).forEach((function(n){var o,i=r(n,2),s=i[0],l=i[1];("brown"!==e&&"grey"!==e&&"blueGrey"!==e||"A100"!==s&&"A200"!==s&&"A400"!==s&&"A700"!==s)&&(t.colorsMap["".concat((o=e,o.split("").map((function(e,t){return e.toUpperCase()===e?"".concat(0!==t?"-":"").concat(e.toLowerCase()):e})).join(""))).concat("500"===s?"":"-"+t.colorWeights[s]).toLowerCase()]=l,"500"!==s&&a.push(l))})),t.swatches.push(a)}})),t.colorsMap.black="#000000",t.colorsMap.white="#ffffff",t.swatches.push(["#000000","#ffffff"])})),a(this,"buildColorsMeta",(function(){t.colorsMeta=O(t.colorsMap)})),a(this,"buildColorsOptionsAndTextOptions",(function(){var e=new PgToggleButtonMaker,n=[],o=[];t.colorsMeta.forEach((function(t){var a=t.color,i=t.hex;if(a&&i){var r=a.split("-").map((function(e){return e.charAt(0).toUpperCase()+e.slice(1)})).join(" ");n.push({key:a,name:r,html:e.makeColor(i,"",{attributes:{title:r}})}),o.push({key:a,name:r,html:e.makeColorText(i,"",{attributes:{title:r}})})}})),t.colorOptions=n,t.colorTextOptions=o})),a(this,"hexToName",(function(e){var n;return""===e&&(n="none"),Object.entries(t.colorsMap).forEach((function(t){var o=r(t,2),a=o[0],i=o[1];e===i&&(n=a)})),n||e})),a(this,"nameToHex",(function(e){return""===e?"none":t.colorsMap[e.toLowerCase()]||e.toLowerCase()})),this.colors=["red","pink","purple","deepPurple","indigo","blue","lightBlue","cyan","teal","green","lightGreen","lime","yellow","amber","orange","deepOrange","brown","grey","blueGrey","black","white"],this.colorWeights={50:"lighten-5",100:"lighten-4",200:"lighten-3",300:"lighten-2",400:"lighten-1",500:"",600:"darken-1",700:"darken-2",800:"darken-3",900:"darken-4",A100:"accent-1",A200:"accent-2",A400:"accent-3",A700:"accent-4"},this.colorsMap={},this.colorsMeta=[],this.colorOptions=[],this.colorTextOptions=[],this.swatches=[],this.init()}))),M=new(l((function e(){var t=this;c(this,e),a(this,"init",(function(e){t.colorsMap=e||{},t.buildColorsMeta(),t.buildColors()})),a(this,"initOptions",(function(){t.buildColorsOptionsAndTextOptions()})),a(this,"buildColorsMeta",(function(){t.colorsMeta=O(t.colorsMap)})),a(this,"buildColors",(function(){t.colors=t.colorsMeta.map((function(e){return e.color}))})),a(this,"buildColorsOptionsAndTextOptions",(function(){var e=new PgToggleButtonMaker,n=[],o=[];t.colorsMeta.forEach((function(t){var a=t.color,i=t.hex;if(a&&i){var r=a.split("-").map((function(e){return e.charAt(0).toUpperCase()+e.slice(1)})).join(" ");n.push({key:a,name:r,html:e.makeColor(i,r,{styles:{"font-size":"11px",padding:"6px",width:"auto",height:"16px","background-color":"".concat(i),color:"".concat(i.toLowerCase().startsWith("#fff")?"#a5a5a5":F(i)),"border-radius":"3px",display:"flex","flex-direction":"column","justify-content":"center"},attributes:{title:r}})}),o.push({key:a,name:r,html:e.makeColor(i,r,{styles:{"font-size":"11px",padding:"6px",width:"auto",height:"16px",color:"".concat(i.toLowerCase().startsWith("#fff")?"#a5a5a5":"Neutral"===r?F(i):i),"border-radius":"3px",display:"flex","flex-direction":"column","justify-content":"center"},attributes:{title:r}})})}})),t.colorOptions=n,t.colorTextOptions=o})),a(this,"hexToName",(function(e){var n;return""===e&&(n="none"),Object.entries(t.colorsMap).forEach((function(t){var o=r(t,2),a=o[0],i=o[1];e===i&&(n=a)})),n||e})),a(this,"nameToHex",(function(e){return""===e?"none":t.colorsMap[e.toLowerCase()]||e.toLowerCase()})),this.colors=[],this.colorsMap={neutral:"#121212"},this.colorsMeta=[],this.colorOptions=[],this.colorTextOptions=[],this.init()})));function j(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function D(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?j(Object(n),!0).forEach((function(t){a(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):j(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var E=function(){I.swatches,D(D({},I.colorsMap),M.colorsMap),[].concat(s(I.colorsMeta),s(M.colorsMeta)),M.colorsMap};E();var B,z=function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];!function(){var e;try{e=componentStateRef.state.find((function(e){return"$vuetify"===e.key}))}catch(e){}var t={};if(e){try{var n,o;t=null===(n=e)||void 0===n||null===(n=n.value)||void 0===n||null===(n=n.theme)||void 0===n||null===(n=n.global)||void 0===n||null===(n=n.current)||void 0===n?void 0:n.colors,null===(o=e)||void 0===o||null===(o=o.value)||void 0===o||null===(o=o.theme)||void 0===o||null===(o=o.global)||void 0===o||null===(o=o.current)||void 0===o||o.dark}catch(e){}t||(t={});var a=D({},t),i=Object.entries(a).reduce((function(e,t){var n=r(t,2),o=n[0],a=n[1];if(o.startsWith("background")||o.startsWith("surface")||o.startsWith("on-"))return e;var i={};return i[o]=a,D(D({},e),i)}),{});B=D(D({},i),{},{transparent:"#ffffff"}),function(e){e||(e={background:"#ffffff",surface:"#ffffff",primary:"#7e68b1","primary-darken-1":"#6750a4",secondary:"#787285","secondary-darken-1":"#625b71",tertiary:"#906a76","tertiary-darken-1":"#7d5260",success:"#2e7d32",warning:"#ed6c02",error:"#d32f2f",info:"#0288d1",neutral:"#121212",transparent:"#ffffff"});try{var t=D(D({},{}),e());t=Object.fromEntries(Object.entries(t).map((function(e){var t=r(e,2),n=t[0],o=t[1];return[n.toLowerCase(),o.toLowerCase()]}))),M.init(t),E(),I.initOptions(),M.initOptions(),[].concat(s(I.colorOptions),s(M.colorOptions)),[].concat(s(I.colorTextOptions),s(M.colorTextOptions))}catch(e){}}((function(){return B}))}}();var n=[],o=[],a=[],i=t?[].concat(s(M.colorsMeta.map((function(e){return D(D({},e),{},{palette:!0})}))),s(I.colorsMeta)):I.colorsMeta,l=["lighten","darken","accent"];return i.forEach((function(t){var i=[];t.variants.forEach((function(n){var r="".concat(t.color).concat(n.name?"-".concat(n.name):""),s={key:"".concat(e).concat(r),name:r,color:n.hex},c=r.split("-");t.palette&&c.length>=2&&l.includes(c[c.length-2])&&(s.second_row=!0),t.palette&&!s.second_row&&o.push(s),s.second_row||"white"===t.color||"black"===t.color||"transparent"===t.color?a.push(s):i.push(s)}));var r=t.color.split("-");t.palette&&r.length>=2&&l.includes(r[r.length-2])&&(s.second_row=!0);var s={key:"".concat(e).concat(t.color),name:"".concat(t.color),color:t.hex};t.palette&&!s.second_row&&o.push(s),s.second_row||"white"===t.color||"black"===t.color||"transparent"===t.color?a.push(s):t.palette||t.variants.length||i.push(s),i.length&&n.push(i)})),[o,a].concat(n)};function L(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return $(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?$(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var o=0,a=function(){};return{s:a,n:function(){return o>=e.length?{done:!0}:{done:!1,value:e[o++]}},e:function(e){throw e},f:a}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,r=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return r=e.done,e},e:function(e){s=!0,i=e},f:function(){try{r||null==n.return||n.return()}finally{if(s)throw i}}}}function $(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,o=new Array(t);n<t;n++)o[n]=e[n];return o}function q(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}var R,W=function(e,t){var n={"lighten-5":"1","lighten-4":"2","lighten-3":"3","lighten-2":"4","lighten-1":"5","darken-1":"7","darken-2":"8","darken-3":"9","darken-4":"10","accent-1":"11","accent-2":"12","accent-3":"13","accent-4":"14"};return e.forEach((function(e){var t;e.forEach((function(e){if(e&&e.key){var o=Object.keys(n).reduce((function(t,n){return t&&!e.key.endsWith(n)}),!0);"white"!==e.name&&"black"!==e.name&&o?(t=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?q(Object(n),!0).forEach((function(t){a(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):q(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},e),e.key="".concat(e.key,"-6"),e.name="".concat(e.name,"-6")):Object.entries(n).forEach((function(t){var n=r(t,2),o=n[0],a=n[1];e.key=e.key.replace(o,a),e.name=e.name.replace(o,a)}))}})),t&&e.unshift(t)})),Object.entries({brown:{11:"#d7ccc8",12:"#bcaaa4",13:"#8d6e63",14:"#5d4037"},grey:{11:"#f5f5f5",12:"#eee",13:"#bdbdbd",14:"#616161"},"blue-grey":{11:"#cfd8dc",12:"#b0bec5",13:"#78909c",14:"#455a64"}}).forEach((function(n){var o=r(n,2),a=o[0],i=o[1],s=e.find((function(e){var t;return(null===(t=e[0])||void 0===t?void 0:t.name)==="".concat(a,"-1")}));s&&Object.entries(i).forEach((function(e){var n=r(e,2),o=n[0],i=n[1];s.push({key:"".concat(t,"-").concat(a,"-").concat(o),name:"".concat(a,"-").concat(o),color:i})}))})),e},N=function(e,t){var n=W(z(e,t),e),o=[];return n.forEach((function(e){e.forEach((function(e){o.push({key:"".concat(e.key),name:"".concat(e.name),color:e.color})}))})),o},H=function(e,t,n){var o=e||"text-";return{type:"color",name:t||"Color",show_empty:!0,toggle_buttons:!0,options:function(){return N(o,!0)},fill_list_on_open:!0,text_color:"text-"===o,colors:function(e){return W(z(o),o)},parent_section_id:n,action:"custom",get_value:function(e,t,n,a){var i,r=N(o,!0).map((function(e){return e.key})),s=L(e.getClasses());try{for(s.s();!(i=s.n()).done;){var l=i.value;if(r.includes(l))return l}}catch(e){s.e(e)}finally{s.f()}},set_value:function(e,t,n,a,i,r,s){var l=N("".concat(o,"-"),!0).map((function(e){return e.key})),c=e.getClasses(),u=!1;if(c.length){var d,p=L(c);try{for(p.s();!(d=p.n()).done;){var m=d.value;(a===m||l.includes(m))&&(e.removeClass(m),u=!0)}}catch(e){p.e(e)}finally{p.f()}}return t&&(e.addClass(t),u=!0),u&&pinegrow.reselectElement(e),t}}},Y=i.MS.getQuasarColor=function(e){switch(e){case"primary":return"#1976d2";case"secondary":return"#26A69A";case"accent":return"#9C27B0";case"dark":return"#1d1d1d";case"positive":return"#21BA45";case"negative":return"#C10015";case"info":return"#31CCEC";case"warning":return"#F2C037";case"white":default:return"#fff";case"black":return"#000"}},G=i.MS.getButtonTypeToggleButton=function(e,t,n,o){var a={};if(t&&(a.title=t),o=o||e,"link"==e)return i.bm.makeColor(null,"T",{"text-decoration":"underline",attributes:a});var r={title:e,default_color:Y(e)};return n&&(r.height=n),i.bm.makeColorFromCSSVariable("--q-"+o,r)},U=i.MS.getQuasarPaletteOptions=function(e){return[{key:"".concat(e,"-primary"),name:"Primary",html:"text"===e?i.bm.makeColorTextFromCSSVariable("--q-primary",{title:"Primary",default_color:Y("primary")}):G("primary","Primary",null,"primary"),ahtml:i.bm.makeColorText(Y("primary"))},{key:"".concat(e,"-secondary"),name:"Secondary",html:"text"===e?i.bm.makeColorTextFromCSSVariable("--q-secondary",{title:"Secondary",default_color:Y("secondary")}):G("secondary","Secondary",null,"secondary"),ahtml:i.bm.makeColorText(Y("secondary"))},{key:"".concat(e,"-accent"),name:"Accent",html:"text"===e?i.bm.makeColorTextFromCSSVariable("--q-accent",{title:"Accent",default_color:Y("accent")}):G("accent","Accent",null,"accent"),ahtml:i.bm.makeColorText(Y("accent"))},{key:"".concat(e,"-dark"),name:"Dark",html:"text"===e?i.bm.makeColorTextFromCSSVariable("--q-dark",{title:"Dark",default_color:Y("dark")}):G("dark","Dark",null,"dark"),ahtml:i.bm.makeColorText(Y("dark"))},{key:"".concat(e,"-positive"),name:"Positive",html:"text"===e?i.bm.makeColorTextFromCSSVariable("--q-positive",{title:"Positive",default_color:Y("positive")}):G("positive","Positive",null,"positive"),ahtml:i.bm.makeColorText(Y("positive"))},{key:"".concat(e,"-negative"),name:"Negative",html:"text"===e?i.bm.makeColorTextFromCSSVariable("--q-negative",{title:"Negative",default_color:Y("negative")}):G("negative","Negative",null,"negative"),ahtml:i.bm.makeColorText(Y("negative"))},{key:"".concat(e,"-info"),name:"Info",html:"text"===e?i.bm.makeColorTextFromCSSVariable("--q-info",{title:"Info",default_color:Y("info")}):G("info","Info",null,"info"),ahtml:i.bm.makeColorText(Y("info"))},{key:"".concat(e,"-warning"),name:"Warning",html:"text"===e?i.bm.makeColorTextFromCSSVariable("--q-warning",{title:"Warning",default_color:Y("warning")}):G("warning","Warning",null,"warning"),ahtml:i.bm.makeColorText(Y("warning"))},{key:"".concat(e,"-white"),name:"White",html:"text"===e?i.bm.makeColorTextFromCSSVariable("--q-white",{title:"White",default_color:Y("white")}):i.bm.makeColor("#fff","",{attributes:{title:"White"}}),ahtml:i.bm.makeColorText(Y("white"))},{key:"".concat(e,"-black"),name:"Black",html:"text"===e?i.bm.makeColorTextFromCSSVariable("--q-black",{title:"Black",default_color:Y("black")}):i.bm.makeColor("#000","",{attributes:{title:"Black"}}),ahtml:i.bm.makeColorText(Y("black"))}]},X=n(991),J=n(161),Q=function(e){return e.children,e.children.reduce((function(e,t){var n=t.getClasses().reduce((function(e,t){return e||t.startsWith("col")||t.startsWith("offset")}),!1);return e||n}),!1)},Z=function(e){return!Q(e)},K=function(e){return function(){return{name:"column"===e?"Column Gutter":"Gutter",on_section_shown:i.vz,show_if:"column"===e?Q:Z,fields:a({},"".concat(e,"_gutter'"),{type:"custom",name:"".concat(e,"_gutter'"),action:"none",control:(0,i.of)(e)})}}},ee=new PgComponentType(i.O4+"all","All elements",{selector:function(e){return X.hC},name:"Div",display_name:"tag",priority:2001,sections:(0,i.e9)({textcolor:{name:"Text Color",compact:!0,fields:{palette:{type:"select",name:"Palette",action:"apply_class",show_empty:!0,toggle_buttons:!0,options:function(){return U("text")}},swatches:H("text-","Swatches",i.O4+"textcolor")}},typography:{name:"Typography",fields:{typography:(R={name:"Typography",action:"none",type:"select"},a(R,"action","apply_class"),a(R,"show_empty",!0),a(R,"toggle_buttons",!0),a(R,"options",[{key:"text-h1",name:"1",html:i.bm.makeText("H1",{attributes:{title:"Heading 1"}})},{key:"text-h2",name:"2",html:i.bm.makeText("H2",{attributes:{title:"Heading 2"}})},{key:"text-h3",name:"3",html:i.bm.makeText("H3",{attributes:{title:"Heading 3"}})},{key:"text-h4",name:"4",html:i.bm.makeText("H4",{attributes:{title:"Heading 4"}})},{key:"text-h5",name:"5",html:i.bm.makeText("H5",{attributes:{title:"Heading 5"}})},{key:"text-h6",name:"6",html:i.bm.makeText("H6",{attributes:{title:"Heading 6"}})},{key:"text-subtitle-1",name:"Subtitle 1",html:i.bm.makeText("Subtitle 1",{attributes:{title:"Subtitle 1"}})},{key:"text-subtitle-2",name:"Subtitle 2",html:i.bm.makeText("Subtitle 2",{attributes:{title:"Subtitle 2"}})},{key:"text-body-1",name:"Body 1",html:i.bm.makeText("Body 1",{attributes:{title:"Body 1"}})},{key:"text-body-2",name:"Body 2",html:i.bm.makeText("Body 2",{attributes:{title:"Body 2"}})},{key:"text-caption",name:"Caption",html:i.bm.makeText("Caption",{attributes:{title:"Caption"}})},{key:"text-overline",name:"Overline",html:i.bm.makeText("Overline",{attributes:{title:"Overline"}})}]),R),fontweight:{type:"select",name:"Font weight",action:"apply_class",show_empty:!0,toggle_buttons:!0,options:[{key:"text-weight-bolder",name:"Bolder",html:i.bm.makeText("Bolder",{attributes:{title:"Bolder"}})},{key:"text-weight-bold",name:"Bold",html:i.bm.makeText("Bold",{attributes:{title:"Bold"}})},{key:"text-weight-medium",name:"Medium",html:i.bm.makeText("Medium",{attributes:{title:"Medium"}})},{key:"text-weight-regular",name:"Regular",html:i.bm.makeText("Regular",{attributes:{title:"Regular"}})},{key:"text-weight-light",name:"Light",html:i.bm.makeText("Light",{attributes:{title:"Light"}})},{key:"text-weight-thin",name:"Thin",html:i.bm.makeText("Thin",{attributes:{title:"Thin"}})}]},textalign:{name:"Text align",type:"select",action:"apply_class",show_empty:!0,toggle_buttons:!0,options:[{key:"text-left",name:"Left",html:i.bm.makeIcon("align-left",{attributes:{title:"Left"}})},{key:"text-center",name:"Center",html:i.bm.makeIcon("align-center",{attributes:{title:"Center"}})},{key:"text-right",name:"Right",html:i.bm.makeIcon("align-right",{attributes:{title:"Right"}})},{key:"text-justify",name:"Justify",html:i.bm.makeIcon("align-full",{attributes:{title:"Justify"}})}]},transform:{type:"select",name:"Transform",action:"apply_class",show_empty:!0,toggle_buttons:!0,options:[{key:"text-lowercase",name:"Lowercase",html:i.bm.makeIcon("lowercase")},{key:"text-uppercase",name:"Uppercase",html:i.bm.makeIcon("uppercase")},{key:"text-capitalize",name:"Capitalize",html:i.bm.makeIcon("sentence-case")}]},whitespace:{type:"checkbox",name:"No Wrap",action:"apply_class",value:"text-no-wrap"},fontstyle:{type:"checkbox",name:"Italic",action:"apply_class",value:"text-italic"},fontbold:{type:"checkbox",name:"Bold",action:"apply_class",value:"text-bold"},decoration:{type:"checkbox",name:"Line through",action:"apply_class",value:"text-strike"}}},background:{name:"Background Color",compact:!0,fields:{bg_palette:{type:"select",name:"Palette",action:"apply_class",show_empty:!0,toggle_buttons:!0,options:function(){return U("bg")}},bg_swatches:H("bg-","Swatches",i.O4+"background"),dimmed:{type:"select",name:"Dimmed",action:"apply_class",show_empty:!0,toggle_buttons:!0,options:[{key:"transparent",name:"Transparent",html:i.bm.makeText("Transparent",{attributes:{title:"Transparent"}})},{key:"dimmed",name:"Dimmed",html:i.bm.makeText("Dimmed",{attributes:{title:"Dimmed"}})},{key:"light-dimmed",name:"Light Dimmed",html:i.bm.makeText("Light Dimmed",{attributes:{title:"Light Dimmed"}})}]},glossy:{type:"checkbox",name:"Glossy",action:"apply_class",value:"glossy"}}},spacing:{name:"Spacing",on_section_shown:i.vz,fields:{margin_control:{type:"custom",name:"Spacing",action:"none",control:(0,i.Cw)()},no_margin:{type:"checkbox",name:"No Margin",action:"apply_class",value:"no-margin"},no_padding:{type:"checkbox",name:"No Padding",action:"apply_class",value:"no-padding"}}},dimension:{name:"Dimension",fields:{display:{type:"select",name:"Display",action:"apply_class",show_empty:!0,toggle_buttons:!0,options:[{key:"block",name:"Block",html:i.bm.makeText("Block",{attributes:{title:"Block"}})},{key:"inline-block",name:"Inline Block",html:i.bm.makeText("Inline Block",{attributes:{title:"Inline Block"}})}]},width:{type:"select",name:"Width",action:"apply_class",show_empty:!0,toggle_buttons:!0,options:[{key:"full-width",name:"Full Width",html:i.bm.makeText("Full Width",{attributes:{title:"Full Width"}})},{key:"window-width",name:"Window Width",html:i.bm.makeText("Window Width",{attributes:{title:"Window Width"}})}]},height:{type:"select",name:"Height",action:"apply_class",show_empty:!0,toggle_buttons:!0,options:[{key:"full-height",name:"Full Height",html:i.bm.makeText("Full Height",{attributes:{title:"Full Height"}})},{key:"window-height",name:"Window Height",html:i.bm.makeText("Window Height",{attributes:{title:"Window Height"}})}]},fit:{type:"checkbox",name:"Fit",action:"apply_class",value:"fit"}}},visibility:{name:"Visibility",fields:{disabled:{type:"checkbox",name:"Disabled",action:"apply_class",value:"disabled"},hidden:{type:"checkbox",name:"Hidden (display:none)",action:"apply_class",value:"hidden"},invisible:{type:"checkbox",name:"Invisible (visibility:hidden)",action:"apply_class",value:"invisible"},readonly:{type:"checkbox",name:"Readonly",action:"apply_class",value:"readonly"},ellipsis:{type:"select",name:"Ellipsis",action:"apply_class",show_empty:!0,toggle_buttons:!0,options:[{key:"ellipsis",name:"Ellipsis",html:i.bm.makeText("Ellipsis",{attributes:{title:"Ellipsis"}})},{key:"ellipsis-2-lines",name:"Ellipsis 2 lines",html:i.bm.makeText("Ellipsis 2 lines",{attributes:{title:"Ellipsis 2 lines"}})},{key:"ellipsis-3-lines",name:"Ellipsis 3 lines",html:i.bm.makeText("Ellipsis 3 lines",{attributes:{title:"Ellipsis 3 lines"}})}]},zindex:{type:"select",name:"Z-index",action:"apply_class",show_empty:!0,toggle_buttons:!0,options:[{key:"z-top",name:"Z Top",html:i.bm.makeText("Z Top",{attributes:{title:"Z Top"}})},{key:"z-max",name:"Z Max",html:i.bm.makeText("Z Max",{attributes:{title:"Z Max"}})}]},orientation:{type:"select",name:"Orientation",action:"apply_class",show_empty:!0,toggle_buttons:!0,options:[{key:"orientation-portrait",name:"Portrait",html:i.bm.makeText("Portrait",{attributes:{title:"Portrait"}})},{key:"orientation-landscape",name:"Landscape",html:i.bm.makeText("Landscape",{attributes:{title:"Landscape"}})}]},platform_only:{type:"select",name:"Only in Platform",action:"apply_class",show_empty:!0,options:[{key:"desktop-only",name:"Desktop"},{key:"mobile-only",name:"Mobile"},{key:"native-mobile-only",name:"Native Mobile"},{key:"cordova-only",name:"Cordova"},{key:"capacitor-only",name:"Capacitor"},{key:"electron-only",name:"Electron"},{key:"touch-only",name:"Touch"},{key:"platform-ios-only",name:"iOS"},{key:"platform-android-only",name:"Android"},{key:"within-iframe-only",name:"iframe"}]},platform_hide:{type:"select",name:"Hide in Platform",action:"apply_class_multiple",show_empty:!0,multiple:!0,options:[{key:"desktop-hide",name:"Desktop"},{key:"mobile-hide",name:"Mobile"},{key:"native-mobile-hide",name:"Native Mobile"},{key:"cordova-hide",name:"Cordova"},{key:"capacitor-hide",name:"Capacitor"},{key:"electron-hide",name:"Electron"},{key:"touch-hide",name:"Touch"},{key:"platform-ios-hide",name:"iOS"},{key:"platform-android-hide",name:"Android"},{key:"within-iframe-hide",name:"iframe"}]},print:{type:"select",name:"Print",action:"apply_class",show_empty:!0,options:[{key:"print-only",name:"Print only"},{key:"print-hide",name:"Screen only"}]}}},position:{name:"Position",fields:{position_common:{type:"select",name:"Position",action:"apply_class",show_empty:!0,options:[{key:"fullscreen",name:"Fullscreen"},{key:"relative-position",name:"Relative Position"},{key:"absolute",name:"Absolute"},{key:"absolute-full",name:"Absolute Full"},{key:"absolute-center",name:"Absolute Center"},{key:"absolute-bottom",name:"Absolute Bottom"},{key:"absolute-left",name:"Absolute Left"},{key:"absolute-right",name:"Absolute Right"},{key:"absolute-top",name:"Absolute Top"},{key:"absolute-top-left",name:"Absolute Top Left"},{key:"absolute-top-right",name:"Absolute Top Right"},{key:"absolute-bottom-left",name:"Absolute Bottom Left"},{key:"absolute-bottom-right",name:"Absolute Bottom Right"},{key:"fixed",name:"Fixed"},{key:"fixed-full",name:"Fixed Full"},{key:"fixed-center",name:"Fixed Center"},{key:"fixed-bottom",name:"Fixed Bottom"},{key:"fixed-left",name:"Fixed Left"},{key:"fixed-right",name:"Fixed Right"},{key:"fixed-top",name:"Fixed Top"},{key:"fixed-top-left",name:"Fixed Top Left"},{key:"fixed-top-right",name:"Fixed Top Right"},{key:"fixed-bottom-left",name:"Fixed Bottom Left"},{key:"fixed-bottom-right",name:"Fixed Bottom Right"}]},horizontal_alignment:{type:"select",name:"Horizontal Alignment",action:"apply_class",show_empty:!0,toggle_buttons:!0,options:[{key:"on-left",name:"On Left",html:i.bm.makeText("On Left",{attributes:{title:"On Left"}})},{key:"on-right",name:"On Right",html:i.bm.makeText("On Right",{attributes:{title:"On Right"}})}]},vertical_alignment:{type:"select",name:"Vertical Alignment",action:"apply_class",show_empty:!0,toggle_buttons:!0,options:[{key:"vertical-top",name:"Top",html:i.bm.makeText("Top",{attributes:{title:"Top"}})},{key:"vertical-middle",name:"Middle",html:i.bm.makeText("Middle",{attributes:{title:"Middle"}})},{key:"vertical-bottom",name:"Bottom",html:i.bm.makeText("Bottom",{attributes:{title:"Bottom"}})}]}}},overflow:{name:"Overflow",fields:{overflow:{type:"select",name:"Scroll",action:"apply_class",show_empty:!0,options:[{key:"scroll",name:"Scroll"},{key:"no-scroll",name:"No Scroll"},{key:"overflow-auto",name:"Overflow Auto"},{key:"overflow-hidden",name:"Overflow Hidden"},{key:"overflow-hidden-y",name:"Overflow Hidden Y"},{key:"hide-scrollbar",name:"Hide Scrollbar"}]}}},mouse:{name:"Mouse",compact:!0,fields:{user_select:{type:"checkbox",name:"Non selectable",action:"apply_class",value:"non-selectable"},pointer_events:{type:"select",name:"Pointer Events",action:"apply_class",show_empty:!0,toggle_buttons:!0,options:[{key:"no-pointer-events\t",name:"None",html:i.bm.makeText("None",{attributes:{title:"None"}})},{key:"all-pointer-events\t",name:"All",html:i.bm.makeText("All",{attributes:{title:"All"}})}]},cursor:{type:"select",name:"Cursor",action:"apply_class",show_empty:!0,toggle_buttons:!0,options:[{key:"cursor-pointer",name:"Pointer",html:i.bm.makeText("Pointer",{attributes:{title:"Pointer"}})},{key:"cursor-not-allowed",name:"Not Allowed",html:i.bm.makeText("Not Allowed",{attributes:{title:"Not Allowed"}})},{key:"cursor-inherit",name:"Inherit",html:i.bm.makeText("Inherit",{attributes:{title:"Inherit"}})},{key:"cursor-none",name:"None",html:i.bm.makeText("None",{attributes:{title:"None"}})}]}}},elevation:{name:"Elevation",compact:!0,fields:{shadow:{type:"select",name:"Shadow",action:"apply_class",show_empty:!0,draggable_list:!0,options:function(){for(var e=[{key:"no-shadow",name:"No Shadow"},{key:"inset-shadow",name:"Inset Shadow"},{key:"inset-shadow-down",name:"Inset Shadow Down"}],t=0;t<=24;t++)e.push({key:"shadow-"+t,name:"shadow-"+t});for(t=0;t<=24;t++)e.push({key:"shadow-up-"+t,name:"shadow-up-"+t});return e}},shadow_transition:{type:"checkbox",name:"Shadow Transition",action:"apply_class",value:"shadow-transition"}}},border:{name:"Border",fields:{border_radius:{type:"select",name:"Border Radius",action:"apply_class",show_empty:!0,toggle_buttons:!0,options:[{key:"rounded-borders",name:"Rounded Borders",html:i.bm.makeText("Rounded Borders",{attributes:{title:"Rounded Borders"}})},{key:"border-radius-inherit",name:"Border Radius Inherit",html:i.bm.makeText("Border Radius Inherit",{attributes:{title:"Border Radius Inherit"}})},{key:"no-border-radius",name:"No Border Radius",html:i.bm.makeText("No Border Radius",{attributes:{title:"No Border Radius"}})}]},no_border:{type:"checkbox",name:"No Border",action:"apply_class",value:"no-border"},no_border_shadow:{type:"checkbox",name:"No Border Shadow",action:"apply_class",value:"no-border-shadow"},no_outline:{type:"checkbox",name:"No Outline",action:"apply_class",value:"no-outline"}}},flexcontainer:{name:"Flex / Row / Column",on_section_shown:i.vz,fields:{flex_direction:{type:"custom",name:"flex_direction",action:"none",control:(0,i.ac)("flex.direction","Direction",(function(e,t){return{type:"select",name:(0,i.qV)("Direction",e),action:"apply_class",show_empty:!0,toggle_buttons:!0,options:[{key:"flex"+(t||""),name:"Flex",html:i.bm.makeIcon("Pin22",{attributes:{title:"Flex"}})},{key:"row"+(t||""),name:"Row",html:i.bm.makeIcon("225",{attributes:{title:"Row"}})},{key:"column"+(t||""),name:"Column",html:i.bm.makeIcon("227",{attributes:{title:"Column"}})}]}}))},flex_display:{type:"custom",name:"Display",action:"none",control:(0,i.ac)("flex_display","Display",(function(e,t){return{type:"checkbox",name:"Inline flex",action:"apply_class",value:"inline"+(t||"")}}))},flex_reverse:{type:"custom",name:"Direction",action:"none",control:(0,i.ac)("flex_reverse","Direction",(function(e,t){return{type:"checkbox",name:"Reverse",action:"apply_class",value:"reverse"+(t||"")}}))},flex_justify_content:{type:"custom",name:"Justify content",action:"none",control:(0,i.ac)("flex_justify_content","Justify content",(function(e,t){var n="justify"+(t||"")+"-";return{type:"select",name:(0,i.qV)("Justify content",e),action:"apply_class",show_empty:!0,toggle_buttons:!0,options:[{key:n+"start",name:"",html:i.bm.makeIcon("223",{attributes:{title:"Start"}})},{key:n+"end",name:"",html:i.bm.makeIcon("218",{attributes:{title:"End"}})},{key:n+"center",name:"",html:i.bm.makeIcon("219",{attributes:{title:"Center"}})},{key:n+"between",name:"",html:i.bm.makeIcon("206",{attributes:{title:"Between"}})},{key:n+"around",name:"",html:i.bm.makeIcon("205",{attributes:{title:"Around"}})},{key:n+"evenly",name:"",html:i.bm.makeIcon("205",{attributes:{title:"Evenly"}})}]}}))},flex_align_items:{type:"custom",name:"Align items",action:"none",control:(0,i.ac)("flex_align_items","Align items",(function(e,t){var n="items"+(t||"")+"-";return{type:"select",name:(0,i.qV)("Align items",e),action:"apply_class",show_empty:!0,toggle_buttons:!0,options:[{key:n+"start",name:"",html:i.bm.makeIcon("223",{attributes:{title:"Start"}})},{key:n+"end",name:"",html:i.bm.makeIcon("220",{attributes:{title:"End"}})},{key:n+"center",name:"",html:i.bm.makeIcon("221",{attributes:{title:"Center"}})},{key:n+"baseline",name:"",html:i.bm.makeIcon("212",{attributes:{title:"Baseline"}})},{key:n+"stretch",name:"",html:i.bm.makeIcon("214",{attributes:{title:"Stretch"}})}]}}))},flex_align_content:{type:"custom",name:"Align content",action:"none",control:(0,i.ac)("flex_align_content","Align content",(function(e,t){var n="content"+(t||"")+"-";return{type:"select",name:(0,i.qV)("Align content",e),action:"apply_class",show_empty:!0,toggle_buttons:!0,options:[{key:n+"start",name:"",html:i.bm.makeIcon("217",{attributes:{title:"Start"}})},{key:n+"end",name:"",html:i.bm.makeIcon("216",{attributes:{title:"End"}})},{key:n+"center",name:"",html:i.bm.makeIcon("215",{attributes:{title:"Center"}})},{key:n+"between",name:"",html:i.bm.makeIcon("210",{attributes:{title:"Between"}})},{key:n+"around",name:"",html:i.bm.makeIcon("209",{attributes:{title:"Around"}})},{key:n+"stretch",name:"",html:i.bm.makeIcon("214",{attributes:{title:"Stretch"}})}]}}))},flex_wrap:{type:"custom",name:"Wrap",action:"none",control:(0,i.ac)("flex_wrap","Wrap",(function(e,t){var n=t||"";return{type:"select",name:(0,i.qV)("Wrap",e),action:"apply_class",show_empty:!0,toggle_buttons:!0,options:[{key:"no-wrap"+n,name:"",html:i.bm.makeIcon("203",{attributes:{title:"No wrap"}})},{key:"wrap"+n,name:"",html:i.bm.makeIcon("204",{attributes:{title:"Wrap"}})},{key:"reverse-wrap"+n,name:"",html:i.bm.makeIcon("202",{attributes:{title:"Wrap reverse"}})}]}}))}}},gutter:K("any")(),gutter_col:K("column")(),flexchild:(0,J.D)("flexchild")(),columns:(0,J.D)("column")(),transform:{name:"Transform and Transition",fields:{rotate:{type:"select",name:"Rotate by degrees",action:"apply_class",show_empty:!0,toggle_buttons:!0,options:[{key:"rotate-45",name:"rotate-45",html:i.bm.makeText("45",{attributes:{title:"45"}})},{key:"rotate-90",name:"rotate-90",html:i.bm.makeText("90",{attributes:{title:"90"}})},{key:"rotate-135",name:"rotate-135",html:i.bm.makeText("135",{attributes:{title:"135"}})},{key:"rotate-180",name:"rotate-180",html:i.bm.makeText("180",{attributes:{title:"180"}})},{key:"rotate-225",name:"rotate-225",html:i.bm.makeText("225",{attributes:{title:"225"}})},{key:"rotate-270",name:"rotate-270",html:i.bm.makeText("270",{attributes:{title:"270"}})},{key:"rotate-315",name:"rotate-315",html:i.bm.makeText("315",{attributes:{title:"315"}})},{key:"flip-horizontal",name:"flip-horizontal",html:i.bm.makeText("Flip Horizontal",{attributes:{title:"Flip Horizontal"}})},{key:"flip-vertical",name:"flip-vertical",html:i.bm.makeText("Flip Vertical",{attributes:{title:"Flip Vertical"}})}]},transition:{type:"select",name:"Transition",action:"apply_class",show_empty:!0,toggle_buttons:!0,options:[{key:"no-transition",name:"No Transition",html:i.bm.makeText("No Transition",{attributes:{title:"No Transition"}})},{key:"transition-0",name:"Transition 0s",html:i.bm.makeText("Transition 0s",{attributes:{title:"Transition 0s"}})}]}}}})});i.MS.addComponentType(ee)},884:(e,t,n)=>{"use strict";n.d(t,{c:()=>Z});var o=n(290);function a(e,t){return t?t.toUpperCase():""}for(var i,r,s,l,c,u,d,p,m,f,h,g,b,y,v,_=/-(\w)/g,k=function(e){return e&&e.replace(_,a)},x=function(e){return e.split("").map((function(e,t){return e.toUpperCase()===e?"".concat(0!==t?"-":"").concat(e.toLowerCase()):e})).map((function(e){return e.startsWith("-")&&!isNaN(+e[1])?e.replace("-",""):e})).join("")},w=["auto"],C=0;C<12;C++)w.push((C+1).toString());var T={size:["x-small","small","default","large","x-large"],density:["default","compact","comfortable"],moreDensities:["default","compact","prominent","comfortable"],position:["fixed","absolute","static","relative","sticky"],positionXY:["top","bottom","left","right"],positionX:["top","bottom"],positionBLR:["bottom","left","right"],variant:["elevated","flat","tonal","outlined","text","plain"],variantForm:["filled","outlined","plain","underlined","solo"],variantPanels:["default","inset","accordion","popout"],direction:["horizontal","vertical"],scrollStrategy:["none","block","close","reposition"],scrollBehavior:["hide","collapse","elevate","fade-image","inverted"],positionStrategy:["connected","static"],origin:["auto","overlap"],lines:["one","two","three"],filterMode:["some","every","union","intersection"],selectStrategy:["single-leaf","leaf","independent","single-independent","classic"],openStrategy:["single","multiple","list"],side:["before","after"],type:["error","success","warning","info"],mode:["horizontal","shift"],cols:w,alignSelf:["start","center","end","auto","baseline","stretch"],align:i=r=s=l=c=["start","center","end","baseline","stretch"],alignSm:i,alignMd:r,alignLg:s,alignXl:l,alignXxl:c,justify:u=d=p=m=f=["start","center","end","space-between","space-around"],justifySm:u,justifyMd:d,justifyLg:p,justifyXl:m,justifyXxl:f,alignContent:h=g=b=y=v=["start","center","end","space-between","space-around","stretch"],alignContentSm:h,alignContentMd:g,alignContentLg:b,alignContentXl:y,alignContentXxl:v},S=T.moreDensities,A=T.variantForm,V={default:function(e){var t=T[e];if(t)return{customType:"select",options:t}},VAppBar:{density:{customType:"select",options:S},position:{customType:"select",options:T.positionX},scrollBehavior:{customType:"select",options:T.scrollBehavior,multiple:!0}},VAutocomplete:{variant:{customType:"select",options:A}},VCombobox:{variant:{customType:"select",options:A}},VExpansionPanels:{variant:{customType:"select",options:T.variantPanels}},VField:{variant:{customType:"select",options:A}},VFileInput:{variant:{customType:"select",options:A}},VLayoutItem:{position:{customType:"select",options:T.positionXY}},VNavigationDrawer:{position:{customType:"select",options:T.positionBLR}},VSelect:{variant:{customType:"select",options:A,default:"filled"},density:{customType:"select",options:T.density,default:"default"},disabled:{customType:"boolean",default:"false"},hideDetails:{customType:"boolean",default:"false"},appendIcon:{customType:"icon"},prependIcon:{customType:"icon"}},VTextarea:{variant:{customType:"select",options:A}},VTextField:{variant:{customType:"select",options:A}},VToolbar:{density:{customType:"select",options:S}}},P={default:function(e){return["lazySrc","src","srcset","image","avatar","appendAvatar","prependAvatar"].includes(e)?{customType:"image"}:e.toLowerCase().endsWith("icon")?{customType:"icon"}:e.toLowerCase().endsWith("color")?{customType:"color"}:void 0},VSwitch:{loading:{customType:"image"}}};function O(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function F(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?O(Object(n),!0).forEach((function(t){o(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):O(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var I=n(681),M={VBtn:{props:{text:"My Button"}},VIcon:{props:{icon:"i-line-md-iconify1"}},VImg:{props:{src:"https://images.unsplash.com/photo-1551120738-c3fcea8d0cf8?crop=entropy&cs=tinysrgb&fit=max&fm=jpg&ixid=MnwyMDkyMnwwfDF8c2VhcmNofDJ8fHBpbmUlMjB0cmVlfGVufDB8fHx8MTY1Njc1MzAyMg&ixlib=rb-1.2.1&q=80&w=1080"}},VForm:{props:{ref:"form",lazyValidation:!0}}};const j=JSON.parse('[{"title":"introduction","inactiveIcon":"mdi-script-text-outline","activeIcon":"mdi-script-text","items":["why-vuetify","long-term-support","roadmap","sponsors-and-backers",{"divider":true},{"subheader":"professional-support"},"enterprise-support"]},{"title":"getting-started","inactiveIcon":"mdi-speedometer-medium","activeIcon":"mdi-speedometer","items":["installation","frequently-asked-questions","wireframes","unit-testing","browser-support","upgrade-guide","release-notes","contributing"]},{"title":"features","inactiveIcon":"mdi-image-edit-outline","activeIcon":"mdi-image-edit","items":["aliasing","application-layout","blueprints","display-and-platform","global-configuration","icon-fonts","internationalization","sass-variables","theme","treeshaking"]},{"title":"styles","inactiveIcon":"mdi-palette-outline","activeIcon":"mdi-palette","items":["css-reset","transitions","colors",{"divider":true},{"subheader":"utility-classes"},"border-radius","content","display","elevation","flex","float","overflow","sizing","spacing","text-and-typography"]},{"title":"components","inactiveIcon":"mdi-view-dashboard-outline","activeIcon":"mdi-view-dashboard","items":["all",{"title":"explorer","routeMatch":"explorer/:name(.*)","routePath":"explorer","subtitle":"browse-components"},{"divider":true},{"subheader":"general"},"app","layout","main","responsive","spacer","validation","item","code","kbd",{"divider":true},{"subheader":"transition"},{"divider":true},{"subheader":"containment"},"container","btn","buttons","cards","chips","dialogs","dividers","expansion-panels","lists","menus","overlays","sheets","toolbars","tooltips",{"divider":true},{"subheader":"data-and-display"},"tables","virtual-scroller","virtual-scroll","infinite-scroller","infinite-scroll",{"divider":true},{"subheader":"navigation"},"app-bars","bottom-navigation","breadcrumbs","footers","navigation-drawers","paginations","system-bars","tabs",{"divider":true},{"subheader":"form-inputs-and-controls"},"switch","picker","color-picker","radio","checkbox","counter","field","field-label","label","autocompletes","checkboxes","combobox","file-inputs","forms","inputs","radio-buttons","range-sliders","selects","sliders","switches","text-fields","textareas",{"divider":true},{"subheader":"grids"},"row","col","grids",{"divider":true},{"subheader":"selection"},"button-groups","carousels","chip-groups","item-groups","slide-groups","windows",{"divider":true},{"subheader":"feedback"},"messages","alerts","badges","banners","hover","progress-circular","progress-linear","ratings","snackbars","timelines",{"divider":true},{"subheader":"images-and-icons"},"svg-icon","component-icon","class-icon","ligature-icon","aspect-ratios","avatars","icons","images","img","parallax",{"divider":true},{"subheader":"pickers"},"color-pickers",{"divider":true},{"subheader":"providers"},"defaults-providers","locale-providers","theme-providers",{"divider":true},{"subheader":"miscellaneous"},"lazy","no-ssr"]},{"title":"api","inactiveIcon":"mdi-flask-empty-outline","activeIcon":"mdi-flask-outline","items":[]},{"title":"directives","inactiveIcon":"mdi-function","activeIcon":"mdi-function","items":["click-outside","intersect","mutate","resize","ripple","scroll","touch"]},{"title":"labs","inactiveIcon":"mdi-beaker-outline","activeIcon":"mdi-beaker","items":["introduction",{"title":"bottom-sheets","subfolder":"components"},{"title":"data-iterators","subfolder":"components"},{"title":"data-tables","subfolder":"components","activeIcon":"","inactiveIcon":"","items":["basics","headers","selection","sorting","pagination","filtering","grouping","slots","virtual-tables","server-side-tables"]},{"title":"dates","subfolder":"features"},{"title":"date-card","subfolder":"components"},{"title":"date-pickers","subfolder":"components"},{"title":"infinite-scroller","subfolder":"components"},{"title":"otp-input","subfolder":"components"},{"title":"skeleton-loaders","subfolder":"components"},{"title":"steppers","subfolder":"components"}]},{"title":"resources","inactiveIcon":"mdi-human-male-board","activeIcon":"mdi-human-male-board","items":["jobs-for-vue","ui-kits","themes","search-engine","brand-kit"]},{"title":"about","inactiveIcon":"$vuetify-outline","activeIcon":"$vuetify","items":["meet-the-team","security-disclosure","code-of-conduct"]}]');function D(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return E(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?E(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var o=0,a=function(){};return{s:a,n:function(){return o>=e.length?{done:!0}:{done:!1,value:e[o++]}},e:function(e){throw e},f:a}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,r=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return r=e.done,e},e:function(e){s=!0,i=e},f:function(){try{r||null==n.return||n.return()}finally{if(s)throw i}}}}function E(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,o=new Array(t);n<t;n++)o[n]=e[n];return o}var B={},z=[];z=j.find((function(e){return"components"===e.title}));var L="Others";B[L]=[];var $,q,R=D(z.items);try{for(R.s();!($=R.n()).done;){var W=$.value;if(!W.divider)if(W.subheader)B[L=(q=L=(L=W.subheader).replace("-and-"," & ").replace("-"," "))&&q[0].toUpperCase()+q.slice(1)||""]||(B[L]=[]);else{if("all"===W||"string"!=typeof W)continue;var N=W.endsWith("s")?W.slice(0,W.length-1):W;B[L].push(N)}}}catch(e){R.e(e)}finally{R.f()}z=j.find((function(e){return"labs"===e.title})),B[L="Labs"]=[];var H,Y=D(z.items);try{for(Y.s();!(H=Y.n()).done;){var G=H.value;if(!G.subfolder||"components"===G.subfolder){var U=G.title;if(U){var X=U.endsWith("s")?U.slice(0,U.length-1):U;B[L].push(X)}}}}catch(e){Y.e(e)}finally{Y.f()}const J=JSON.parse('{"components/alerts":["VAlert","VAlertTitle"],"components/app-bars":["VAppBar","VAppBarNavIcon","VAppBarTitle"],"components/application":["VApp","VLayout","VLayoutItem","VMain"],"components/aspect-ratios":["VResponsive"],"components/autocompletes":["VAutocomplete"],"components/avatars":["VAvatar"],"components/badges":["VBadge"],"components/banners":["VBanner","VBannerActions","VBannerText"],"components/bottom-navigation":["VBottomNavigation"],"components/bottom-sheets":["VBottomSheet"],"components/breadcrumbs":["VBreadcrumbs","VBreadcrumbsDivider","VBreadcrumbsItem"],"components/button-groups":["VBtn","VBtnGroup","VBtnToggle"],"components/buttons":["VBtn","VBtnGroup","VBtnToggle"],"components/calendars":["VCalendar","VCalendarDaily","VCalendarMonthly","VCalendarWeekly"],"components/cards":["VCard","VCardActions","VCardItem","VCardSubtitle","VCardText","VCardTitle"],"components/carousels":["VCarousel","VCarouselItem"],"components/checkboxes":["VCheckbox","VCheckboxBtn"],"components/chip-groups":["VChip","VChipGroup"],"components/chips":["VChip","VChipGroup"],"components/color-pickers":["VColorPicker"],"components/combobox":["VCombobox"],"components/data-iterators":["VDataIterator","VDataFooter"],"components/data-tables":["VDataTable","VDataTableFooter","VDataTableRow","VDataTableRows","VDataTableServer","VDataTableVirtual"],"components/date-pickers-month":["VDatePicker"],"components/date-pickers":["VDatePicker"],"components/defaults-providers":["VDefaultsProvider"],"components/dialogs":["VDialog"],"components/dividers":["VDivider"],"components/expansion-panels":["VExpansionPanel","VExpansionPanels","VExpansionPanelText","VExpansionPanelTitle"],"components/file-inputs":["VFileInput"],"components/footers":["VFooter"],"components/forms":["VForm"],"components/grids":["VCol","VContainer","VRow","VSpacer"],"components/hover":["VHover"],"components/icons":["VIcon"],"components/images":["VImg"],"components/infinite-scroller":["VInfiniteScroll"],"components/inputs":["VInput"],"components/item-groups":["VItem","VItemGroup"],"components/lazy":["VLazy"],"components/lists":["VList","VListGroup","VListItem","VListItemAction","VListItemMedia","VListItemSubtitle","VListItemTitle","VListSubheader","VListImg"],"components/locale-providers":["VLocaleProvider"],"components/menus":["VMenu"],"components/navigation-drawers":["VNavigationDrawer"],"components/no-ssr":["VNoSsr"],"components/otp-input":["VOtpInput"],"components/overflow-btns":["VOverflowBtn"],"components/overlays":["VOverlay"],"components/paginations":["VPagination"],"components/parallax":["VParallax"],"components/progress-circular":["VProgressCircular"],"components/progress-linear":["VProgressLinear"],"components/radio-buttons":["VRadio","VRadioGroup"],"components/range-sliders":["VRangeSlider","VSlider"],"components/ratings":["VRating"],"components/selects":["VSelect"],"components/sheets":["VSheet"],"components/simple-tables":["VSimpleTable"],"components/skeleton-loaders":["VSkeletonLoader"],"components/slide-groups":["VSlideGroup","VSlideGroupItem"],"components/sliders":["VRangeSlider","VSlider"],"components/snackbars":["VSnackbar"],"components/sparklines":["VSparkline"],"components/steppers":["VStepper","VStepperHeader","VStepperItem","VStepperWindow","VStepperWindowItem"],"components/switches":["VSwitch"],"components/system-bars":["VSystemBar"],"components/tables":["VTable"],"components/tabs":["VTabs","VTab"],"components/text-fields":["VTextField"],"components/textareas":["VTextarea"],"components/theme-providers":["VThemeProvider"],"components/time-pickers":["VTimePicker"],"components/timelines":["VTimeline","VTimelineItem"],"components/toolbars":["VToolbar","VToolbarItems","VToolbarTitle"],"components/tooltips":["VTooltip"],"components/treeview":["VTreeview"],"components/virtual-scroller":["VVirtualScroll"],"components/windows":["VWindow","VWindowItem"],"directives/click-outside":["v-click-outside"],"directives/intersect":["v-intersect"],"directives/mutate":["v-mutate"],"directives/resize":["v-resize"],"directives/ripple":["v-ripple"],"directives/scroll":["v-scroll"],"directives/touch":["v-touch"],"features/dates":["useDate"],"features/display-and-platform":["useDisplay"],"features/global-configuration":["VDefaultsProvider"],"features/internationalization":["useLocale","VLocaleProvider"],"features/scrolling":["$vuetify"],"features/theme":["VThemeProvider"],"styles/transitions":["VDialogBottomTransition","VDialogTopTransition","VDialogTransition","VExpandTransition","VExpandXTransition","VFabTransition","VFadeTransition","VScaleTransition","VScrollXTransition","VScrollXReverseTransition","VScrollYTransition","VScrollYReverseTransition","VSlideXTransition","VSlideXReverseTransition","VSlideYTransition","VSlideYReverseTransition"]}');var Q={};Object.entries(J).forEach((function(e){var t=I(e,2),n=t[0],o=t[1];if(n.startsWith("components")&&1!==o.length){var a=o[0],i=o.slice(1,o.length);Q[a]=i}}));var Z={metaOverrides:function(e){var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},o={customType:null,type:n.value&&n.value.type,multiple:n.multiple,options:null,required:n.required,validator:n.validator,default:n.default&&"null"!==n.default&&"undefined"!==n.default?n.default:null};return[V,P].reduce((function(o,a){if(Object.keys(o).length)return o;var i;a.default&&"function"==typeof a.default&&(i=null==a?void 0:a.default(k(n.name)));var r=a[e]&&a[e][k(n.name)];return t=F(F({},i||{}),r||{})}),{}),t&&(o.customType=t.customType||o.customType,o.type=t.type||o.type,o.multiple=t.multiple||o.multiple,o.options=t.options||o.options,o.required=t.required||o.required,o.validator=t.validator||o.validator,o.default=t.default||o.default),o},metaAdditions:function(e){return[V,P].reduce((function(t,n){if(n[e]){var o=Object.keys(n[e]),a=t.map((function(e){return k(e.name)}));o.filter((function(e){return!a.includes(e)})).forEach((function(o){var a=n[e][o];t.push({name:o,description:a.description,"doc-url":a.docUrl,default:a.default,value:a.value})}))}return t}),arguments.length>1&&void 0!==arguments[1]?arguments[1]:[])},libraryCodeStubs:function(e){var t=M[e],n="",o="";return t&&(t.props&&(n=Object.entries(t.props).reduce((function(e,t){var n=I(t,2),o=n[0],a=n[1],i=!0===a?"":'="'.concat(a,'"');return"".concat(e," ").concat(x(o)).concat(i)}),"")),t.defaultSlot&&(o=t.defaultSlot)),"<".concat(x(e)," ").concat(n,">").concat(o,"</").concat(x(e),">")},componentsCategorised:B,componentGroups:Q}},991:(e,t,n)=>{"use strict";n.d(t,{EX:()=>i,Yr:()=>r,fh:()=>a,hC:()=>o});var o=!0,a=!1,i=function(e){a=e},r={plugin_path:"./plugin.cjs",templates_path:"./templates",version:"2.0.0",major_version:"2",minor_version:"2",info_badge:"",type:"quasar",short_type:"quasar",allow_single_type:!0,short_name:"Quasar",dependency:"@pinegrow/quasar-module",get name(){return"".concat(this.short_name," ").concat(this.minor_version)},get key(){return"".concat(this.type)},get scriptTagId(){return"".concat(this.short_type)},get prefix(){return"".concat(this.short_type).concat(this.minor_version)},get library(){return"".concat(this.type)},syncWithLibrarySemVer:"minor",get description(){return'<a href="http://quasar.dev/">'.concat(this.name,"</a> components. Some samples are from ").concat(this.name," documentation and based on ").concat(this.short_name," ").concat(this.version,".")},author:"Pinegrow",get author_link(){return"http://github.com/pinegrow/".concat(this.type,"-plugin")},get default(){return this.pgf_type&&this.pgf_type.activated_by_default||!1},get show_in_manager(){return!1},skip_opening_new_pages_created_from_templates:!0,show_templates_only_inside_projects:!0,get simple(){return this.pgf_type&&this.pgf_type.simple||!1},ignore_css_files:[/(^|\/)quasar\.(css)/i,/(^|\/)quasar\.min\.(css)/i,/(^|\/)materialdesignicons\.(css)/i,/(^|\/)materialdesignicons\.min\.(css)/i],detect_async:function(e,t){e.stylesheetsThatContain(/quasar\sv3/i,/quasar(\.min|)\.(css)/i,(function(e){t(e.length>0)}))}}},161:(e,t,n)=>{"use strict";n.d(t,{D:()=>f});for(var o=n(290),a=n(506),i=[{key:"",name:"Distribute"},{key:"-auto",name:"Auto"},{key:"-grow",name:"Grow"},{key:"-shrink",name:"Shrink"}],r=[],s=[{key:"-first",name:"First"},{key:"-last",name:"Last"},{key:"-none",name:"None"}],l=[{key:"-grow",name:"Grow"}],c=[{key:"-shrink",name:"Shrink"}],u=[{key:"-start",name:"Start"},{key:"-end",name:"End"},{key:"-center",name:"Center"},{key:"-baseline",name:"Baseline"},{key:"-stretch",name:"Stretch"}],d=0;d<=a.XL;d++)0==d||i.push({key:"-"+d,name:d}),d!=a.XL&&r.push({key:"-"+d,name:d});var p=function(e){return e.parent&&e.parent.isSelector(".flex")},m=function(e){return!(!e.parent||!(e.parent.isSelector(".row")&&!e.hasClass("row")||e.parent.isSelector(".column")||!e.hasClass("column")&&(0,a.t3)(e.parent)))},f=function(e){return function(){var t,n,d=[],f={field_prefix:"".concat(e,"_col"),class_prefix:"col",values:i,name:"Size"},h={field_prefix:"".concat(e,"_offset"),class_prefix:"offset",values:r,name:"Offset"},g={field_prefix:"".concat(e,"_order"),class_prefix:"order",values:s,name:"Order"},b={field_prefix:"".concat(e,"_align"),class_prefix:"self",values:u,name:"Align self"};return"column"===e?d.push(f,h,g,b):d.push(h,g,{field_prefix:"".concat(e,"_grow"),class_prefix:"col",values:l,name:"Grow"},{field_prefix:"".concat(e,"_shrink"),class_prefix:"col",values:c,name:"Shrink"},b),{name:"column"===e?"Column":"Flex Child",show_if:"column"===e?m:p,fields:o({},"".concat(e,"_control'"),{type:"custom",name:"".concat(e,"_control'"),action:"none",control:(t="".concat(e,"_span'"),n=d,function(){var e=new PgCustomPropertyControl(a.O4+t);e.onDefine=function(){for(var e=0;e<n.length;e++)for(var t=0;t<a.J7.length;t++){var i=a.O4+n[e].field_prefix+"."+a.J7[t];this.registerInputField(i,o(n[e],a.J7[t]))}},e.onShow=function(){var e=$("<table/>",{class:"grid-control columns-control seven-col-grid"}),t="<td></td>";a.J7.forEach((function(e){t+='<td><label class="grid-control-size">'+e+"</label></td>"}));for(var i=$("<tr/>").html(t).appendTo(e),r=0;r<n.length;r++){i=$("<tr/>",{class:""}).appendTo(e);for(var s=$("<td/>").html('<label style="text-align:left">'+n[r].name+"</label>").appendTo(i),l=0;l<a.J7.length;l++){s=$("<td/>").appendTo(i);var c=a.O4+n[r].field_prefix+"."+a.J7[l];this.showInputField(s,c,o(n[r],a.J7[l]))}}return e},e.onSetValues=function(){};var o=function(e,t){var n=t==a.Ff?"":"-"+t,o=e.class_prefix+n,i={type:"select",name:null,action:"apply_class",draggable_list:!0,show_empty:!0,options:[],on_changed:function(e,t,n){e.setData(a.O4+"was-column",!0)}};return e.values.forEach((function(e){i.options.push({key:o+e.key,name:e.name})})),i};return e})})}}}},855:(e,t,n)=>{"use strict";n.d(t,{M:()=>i});var o=n(991),a=n(884),i=new PgFramework(o.Yr.key,o.Yr.name);i.type=o.Yr.type,i.allow_single_type=o.Yr.allow_single_type,i.description=o.Yr.description,i.author=o.Yr.author,i.author_link=o.Yr.author_link,i.info_badge=o.Yr.info_badge,i.default=o.Yr.default,i.show_in_manager=o.Yr.show_in_manager,i.ignore_css_files=o.Yr.ignore_css_files,i.detect_async=o.Yr.detect_async,i.setScriptFileByScriptTagId("plugin-".concat(o.Yr.scriptTagId,"-").concat(o.Yr.major_version,"-mt")),i.skip_opening_new_pages_created_from_templates=o.Yr.skip_opening_new_pages_created_from_templates,i.show_templates_only_inside_projects=o.Yr.show_templates_only_inside_projects,i.super_web_types=a.c,i.no_prop_section_subtitles=o.Yr.no_prop_section_subtitles,pinegrow.addFramework(i,3)},506:(e,t,n)=>{"use strict";n.d(t,{r2:()=>c,e9:()=>C,bm:()=>y,MS:()=>o.M,ac:()=>k,of:()=>_,Cw:()=>v,t3:()=>u,qV:()=>w,XL:()=>d,vz:()=>x,O4:()=>r,Ff:()=>f,J7:()=>p});for(var o=n(855),a=n(869),i=n(991),r=i.Yr.prefix,s=i.Yr.simple,l=i.Yr.short_name,c=(i.Yr.key,function(e){s||o.M.addLibSection(e)}),u=function(e){if("div"==e.tagName){if(e.parent&&e.parent.isSelector(".row")&&!e.hasClass("row"))return!0;if(e.getData(r+"was-column"))return!0}var t=e.getAttr("class");return!(!t||!t.match(/(\s|^)col($|[\-\s])/i))},d=parseInt(pinegrow.getSetting("quasar-col-num","12"))||12,p=["xs","sm","md","lg","xl"],m=[0,600,1024,1440,1920],f=p[0],h={},g=0;g<p.length;g++)h[p[g]]=m[g];var b=function(e,t,n){var o=new PgFrameworkHelpers("Quasar",e,t,n,PgBSMenuPointColumnSize);o.getCodeForLarge=function(){var e;switch(this.version){case 2:default:e='<pgdiv class="col-1 pinegrow-ui-helper"><pgdiv class="pinegrow-ui-helper"></pgdiv></pgdiv>';break;case 3:e='<pgdiv class="col-xs-1 pinegrow-ui-helper"><pgdiv class="pinegrow-ui-helper"></pgdiv></pgdiv>'}return e},o.getCodeForSmall=function(){var e;switch(this.version){case 2:default:e='<pgdiv class="col-1 pinegrow-ui-helper d-block d-sm-none" style="padding-left:0;padding-right:0;"><pgdiv class="pinegrow-ui-helper"></pgdiv></pgdiv>';break;case 3:e='<pgdiv class="col-xs-1 pinegrow-ui-helper visible-xs visible-xs-block" style="padding-left:0;padding-right:0;"><pgdiv class="pinegrow-ui-helper"></pgdiv></pgdiv>'}return e},o.getClassForSize=function(t,n,o){return null==o?o="":o+="",n+(t==e.size_for_all?"":"-"+t)+(o.length?"-"+o:"")},o.getColumnSizes=function(t){var n=new RegExp("^col(\\-("+e.sizes.join("|")+"))?(\\-([0-9]+|auto))?"),o={};return(t instanceof pgParserNode?t.getClasses():t.classList).forEach((function(t){var a=t.match(n);if(a){var i=a[2]||e.size_for_all,r=a[4]||"";o[i]=r}})),o},new PgDelayedTasks,o.makeFieldLabelForSize=function(e,t){return'<span class="sc-label">'+e+'</span><span class="sc-device-size" style="padding:6px">'+t+"</span>"},o.getDevicesControlFactory=function(t,n,o){var a=function(n){e.sizes.forEach((function(o){n(o,o==e.size_for_all?"":"-"+o,e.prefix+t+"."+o)}))};return function(){var i=new PgCustomPropertyControl(e.prefix+t);return i.onDefine=function(){a((function(e,t,n){var a=o(e,t);i.registerInputField(n,a)}))},i.onShow=function(){var e=$("<div/>",{class:"sc-device-control"});return $('<div class="sc-device-control-title">'+n+"</div>").appendTo(e),a((function(t,n,a){var r=o(t,n);i.showInputField(e,a,r).$field.attr("data-device-size",t)})),e},i.onSetValues=function(t){var n=!0;a((function(t,o,a){var r=i.get$Field(a);i.values[a]?(r.addClass("sc-has-value"),t!=e.size_for_all&&(n=!1)):r.removeClass("sc-has-value")})),n?i.$element.addClass("sc-none-or-all"):i.$element.removeClass("sc-none-or-all")},i}};var a={};o.onSectionWithDevicesControlsShown=function(t,n){var i=o,r={},s=!0;e.sizes.forEach((function(e){a[t.section_key]&&a[t.section_key][e]&&(r[e]=!0)}));var l=n.$content.get(0).querySelectorAll("[data-device-size]");l.forEach((function(e){var t=e.getAttribute("data-device-size");if(!r[t]){var n=e.classList.contains("sc-has-value");r[t]=n,s=s&&!n}})),s&&(r[e.size_for_all]=!0),l.forEach((function(e){var t=e.getAttribute("data-device-size"),n=e.getAttribute("data-device-display")||"flex";r[t]?pgShow(e,n):pgHide(e)}));var c='<ul class="sc-device-selector">';e.sizes.forEach((function(e){c+='<li data-size="'+e+'" class="'+(r[e]?"sc-active":"")+'">'+e+"</li>"})),c+="</ul>";var u=$(c);n.$title.append(u),u.on("click","li",(function(e){e.preventDefault(),e.stopPropagation();var o=$(this),i=o.attr("data-size"),s=o.hasClass("sc-active");s=!s,r[i]=s,s||1!=u.find("li.sc-active").length?(a[t.section_key]||(a[t.section_key]={}),a[t.section_key][i]=s,n.$content.find('[data-device-size="'+i+'"]').each((function(e,t){var n=t.getAttribute("data-device-display")||"flex";s?(pg$Show($(t),n),o.addClass("sc-active")):(pg$Hide($(t)),o.removeClass("sc-active"))})),p()):pinegrow.showQuickError("At least one device size must be active.")}));var d,p=function(){var t=0,o=!1;e.sizes.forEach((function(n){r[n]&&(t++,n==e.size_for_all&&(o=!0))}));var a=n.$content.find(".sc-device-control");t>1?a.removeClass("sc-single-size"):a.addClass("sc-single-size"),o?a.addClass("sc-for-all-shown"):a.removeClass("sc-for-all-shown")};d=pinegrow.getSelectedPage(),l.forEach((function(e){var t=e.getAttribute("data-device-size");i.isSizeVisible(d,t)?e.classList.remove("sc-size-not-visible"):e.classList.add("sc-size-not-visible")})),u.children().each((function(e,t){var n=t.getAttribute("data-size");i.isSizeVisible(d,n)?t.classList.remove("sc-size-not-visible"):t.classList.add("sc-size-not-visible")})),p()};var i=["a","x","y","t","r","b","l"],s=["none","xs","sm","md","lg","xl","auto"],l={},c={},u=function(e){if(!e)return null;var t=e.split("-");return t.length>1?t[t.length-1]:""},d=function(e,t,n,o,a,i){var r=a[o+i];return r?e+t+("xs"!=n?"-"+n:"")+"-"+u(r):null},m=function(e,t,n,o,a,r){for(var s=3;s<i.length;s++)if(e.removeClass(a[o+i[s]]),i[s]!=r){var c=l[n][t+i[s]],u=d(t,i[s],n,o,a,"a");a[o+i[s]]=u,c.setValue(u)}},h=function(e,t,n,o){return o?e+t+("xs"!=n?"-"+n:"")+"-"+o:null},g=function(e,t,n){var o=$(e.target).closest(".change-all-icon");if(o.toggleClass("active"),o.hasClass("active")){var a=o.data("size");!function(e,t,n,o,a,r){var l=o+"."+n+"."+t,c=pinegrow.getCollectionForElement(e);pinegrow.makeChanges(c,"Set spacing",(function(){c.forEachElement((function(e){for(var o=!1,r=0;r<i.length;r++){for(var c=0;c<s.length;c++){var u=h(t,i[r],n,s[c]);if(e.hasClass(u)){e.removeClass(u);var d=t+"a"+("xs"!=n?"-"+n:"")+"-"+s[c];e.addClass(d),a[l+"a"]=d,m(e,t,n,l,a,i[r]),o=!0;break}}if(o)break}}))}))}(n.obj,t,a,n.control_id,n.values)}};o.getDevicesMarginAndPaddingControlFactory=function(t,n){var o=["q-m","q-p"],a=function(n){e.sizes.forEach((function(o){n(o,o==e.size_for_all?"":"-"+o,e.prefix+t+"."+o)}))};return function(){var r=new PgCustomPropertyControl(e.prefix+t);return r.onDefine=function(){a((function(e,t,a){for(var s=0;s<o.length;s++)for(var l=0;l<i.length;l++){var c=n(e,o[s],i[l],t),u=a+"."+o[s]+i[l];r.registerInputField(u,c)}}))},r.onShow=function(){var e,t,o,i=$('<div class="crsa-css-gui bs4-margin-and-padding"></div>'),s=this,u="",d="";return a((function(a,p,m){var f=$('<div class="margin-and-padding-container text-center" data-device-size="'+a+'"></div>').appendTo(i);$("<label/>",{class:"size-label"}).html('<span class="sc-device-size">'+a+"</span>").appendTo(f),l[a]={},c[a]={},e=n(a,u="q-m",d="t",p),o=m+"."+u+d,(t=r.showInputField(f,o,e)).$field.addClass("crsa-field-margin-top crsa-small-input crsa-align-center-input crsa-inline-container"),l[a][u+d]=t,e=n(a,u,d="l",p),o=m+"."+u+d,(t=r.showInputField(f,o,e)).$field.addClass("crsa-field-margin-left crsa-small-input crsa-align-center-input crsa-inline-container"),l[a][u+d]=t;var h=$('<div class="margin-border"></div>').appendTo(f),b=$('<div class="change-all-margin-icon change-all-icon"> <i class="icon-same"></i> </div>').appendTo(h);c[a]["q-m"]=b,b.data("size",a),b.on("click",(function(e){g(e,"q-m",s)}));var y=$('<div class="padding-container"></div>').appendTo(h);e=n(a,u="q-p",d="t",p),o=m+"."+u+d,(t=r.showInputField(y,o,e)).$field.addClass("crsa-field-padding-top crsa-small-input crsa-align-center-input crsa-inline-container"),l[a][u+d]=t,e=n(a,u,d="l",p),o=m+"."+u+d,(t=r.showInputField(y,o,e)).$field.addClass("crsa-field-padding-left crsa-small-input crsa-align-center-input crsa-inline-container"),l[a][u+d]=t;var v=$('<div class="padding-border"> <div class="change-all-padding-icon change-all-icon"><i class="icon-same"></i></div> </div>').appendTo(y).find("> .change-all-icon");c[a]["q-p"]=v,v.data("size",a),v.on("click",(function(e){g(e,"q-p",s)})),e=n(a,u,d="r",p),o=m+"."+u+d,(t=r.showInputField(y,o,e)).$field.addClass("crsa-field-padding-right crsa-small-input crsa-align-center-input crsa-inline-container"),l[a][u+d]=t,e=n(a,u,d="b",p),o=m+"."+u+d,(t=r.showInputField(y,o,e)).$field.addClass("crsa-field-padding-bottom crsa-small-input crsa-align-center-input crsa-inline-container"),l[a][u+d]=t,e=n(a,u="q-m",d="r",p),o=m+"."+u+d,(t=r.showInputField(f,o,e)).$field.addClass("crsa-field-margin-right crsa-small-input crsa-align-center-input crsa-inline-container"),l[a][u+d]=t,e=n(a,u,d="b",p),o=m+"."+u+d,(t=r.showInputField(f,o,e)).$field.addClass("crsa-field-margin-bottom crsa-small-input crsa-align-center-input crsa-inline-container"),l[a][u+d]=t})),i},r.onSetValues=function(t){var n=!0;a((function(t,o,a){!function(e,t,n){for(var o=["q-p","q-m"],a=["t","r","l","b"],i=function(e){for(var t=n+"."+e,o=["a","x","y"],a=[],i=0;i<o.length;i++){var s=o[i],l=r.values[t+s];if(l){var c=l.split("-");a.push({direction:s,value:c[c.length-1]})}}return a.length>0?a:null},s=function(e,n,o){return e+n+(t?"-"+t:"")+"-"+o},u=function(e,t){if("a"==t)return!0;if("x"==t){if(["r","l"].indexOf(e)>-1)return!0}else if("y"==t&&["t","b"].indexOf(e)>-1)return!0;return!1},d=0;d<o.length;d++){var p=o[d],m=i(p),f=c[e][p];if(m&&m.length>0)for(var h=0;h<m.length;h++){for(var g=m[h],b=g.value,y=g.direction,v=0;v<a.length;v++){var _=a[v];if(u(_,y)){var k=n+"."+p+_;if(!r.values[k]){var x=l[e][p+_],w=s(p,_,b);r.values[k]=w,x.setValue(w)}}}if("a"==g.direction){f.addClass("active");break}}else f.removeClass("active")}}(t,o,a);var i=r.$element.find('> [data-device-size="'+t+'"]');!function(e){for(var t=["q-m","q-p"],n=["t","l","r","b"],o=0;o<t.length;o++)for(var a=t[o],i=0;i<n.length;i++){var s=e+"."+a+n[i];if(r.values[s])return!0}return!1}(a)?i.removeClass("sc-has-value"):(i.addClass("sc-has-value"),t!=e.size_for_all&&(n=!1))})),n?r.$element.addClass("sc-none-or-all"):r.$element.removeClass("sc-none-or-all")},r}},o.getSpacingControl=function(){return o.getDevicesMarginAndPaddingControlFactory("margin.padding",(function(t,n,o,a){var r={type:"select",name:null,placeholder:o,show_empty:!0,options:function(){var e=n+o+a+"-",t=[];return s.forEach((function(n){t.push({key:e+n,name:n,num:n})})),t},action:"custom",draggable_list:!0,async_options_function:!0,fill_list_on_open:!0,more_prop:{size:t,type:n,direction:o},get_value:function(t,n,o,a){for(var i=a.options(),r=0;r<i.length;r++)if(t.hasClass(i[r].key))return i[r].key;var s=a.more_prop.size,l=a.more_prop.type,c=a.more_prop.direction;if(c&&"a"!=c&&"x"!=c&&"y"!=c){var u=e.prefix+"margin.padding."+s+"."+l;if(o[u+"a"]){var p=d(l,c,s,u,o,"a");return o[u+c]=p,p}if("r"==c||"l"==c){if(o[u+"x"])return p=d(l,c,s,u,o,"x"),o[u+c]=p,p}else if(("t"==c||"b"==c)&&o[u+"y"])return p=d(l,c,s,u,o,"y"),o[u+c]=p,p}return""},set_value:function(t,n,o,a,r,s){var l=s.options();$.each(l,(function(e,o){if(o.key==n)return!0;t.hasClass(o.key)&&t.removeClass(o.key)}));var d=s.more_prop.size,p=s.more_prop.type,f=s.more_prop.direction,g=e.prefix+"margin.padding.";if(c[d][p].hasClass("active")||function(e,t,n,o,a,r){for(var s=u(r),l=!0,c=3;c<i.length;c++)if(i[c]!=a){var d=t+i[c]+("xs"!=n?"-"+n:"")+"-"+s;if(!e.hasClass(d)){l=!1;break}}return l}(t,p,d,0,f,n)){var b=g+d+"."+p,y=h(p,"a",d,u(a)),v=h(p,"a",d,u(n));t.removeClass(y);for(var _=0;_<i.length;_++){var k;k=u(i[_]==f?a:n);var x=p+i[_]+("xs"!=d?"-"+d:"")+"-"+k;t.removeClass(x)}t.addClass(v),o[b+"a"]=v,m(t,p,d,b,o,f)}else{var w=o[(b=g+d+"."+p)+f];for(o[b+f]="",t.removeClass(w),t.removeClass(o[b+"a"]),o[b+"a"]="",_=3;_<i.length;_++)i[_]!=f&&t.addClass(o[b+i[_]]);t.addClass(n)}return n}};return r}))};var b=["","x","y"],y=["xs","sm","md","lg","xl"],v={},_=function(e,t,n,o){return"q-".concat("column"===o?"col-":"","gutter")+(t||"")+(e?"-".concat(e):"")+"-"+n};return o.getDevicesRowGapControlFactory=function(e,t,n){var o=b,a=y,i=function(t){p.forEach((function(n){t(n,n==f?"":"-"+n,r+e+"."+n)}))};return function(){var s=new PgCustomPropertyControl(r+e);return s.onDefine=function(){i((function(e,t,a){for(var i=0;i<o.length;i++){var r=n(e,o[i],t),l=a+"."+o[i];s.registerInputField(l,r)}}))},s.onShow=function(){var e,t,o,a=$('<div class="bs5-row-gap sc-device-control sc-single-size"></div>'),r=($('<div class="sc-device-control-title"></div>').appendTo(a),"");return i((function(i,l,c){var u=$('<div class="row-gap-container" data-device-size="'+i+'"></div>').appendTo(a),d=($("<label/>",{class:"size-label"}).html('<span class="sc-label"></span><span class="sc-device-size">'+i+"</span>").appendTo(u),$('<div class="main-row-gap-container"></div>').appendTo(u));v[i]={};var p=$('<div class="row-gap-fields-container"></div>').appendTo(d),m=$("<div></div>").appendTo(p);e=n(i,r="x",l),o=c+"."+r,(t=s.showInputField(m,o,e)).$field.addClass(""),v[i][r]=t;var f=$("<div></div>").appendTo(p);e=n(i,r="y",l),o=c+"."+r,(t=s.showInputField(f,o,e)).$field.addClass(""),v[i][r]=t})),a},s.onSetValues=function(e){var n=!0;i((function(e,i,r){var l=s.$element.find('> [data-device-size="'+e+'"]');!function(e,n){for(var i=0;i<o.length;i++)for(var r=o[i],s=0;s<a.length;s++){var l=a[s];if(e.hasClass(_(r,n,l,t)))return!0}return!1}(s.obj,i)?l.removeClass("sc-has-value"):(l.addClass("sc-has-value"),e!=f&&(n=!1))})),n?s.$element.addClass("sc-none-or-all"):s.$element.removeClass("sc-none-or-all")},s}},o.getGappingControl=function(e){return o.getDevicesRowGapControlFactory("".concat(e,".row.rowGap"),e,(function(t,n,o){var a=y,i={type:"select",name:null,placeholder:n,show_empty:!0,options:function(){for(var t=[],i=0;i<a.length;i++){var r=a[i];t.push({key:_(n,o,r,e),name:r,num:r})}return t},action:"custom",async_options_function:!0,more_prop:{size:t,direction:n},get_value:function(t,n,o,i){for(var r=i.options(),s=0;s<r.length;s++)if(t.hasClass(r[s].key))return r[s].key;var l=i.more_prop.size,c=i.more_prop.direction,u=l==f?"":"-"+l;for(s=0;s<a.length;s++){var d=a[s],p=_("",u,d,e);if(t.hasClass(p))return _(c,u,d,e)}return null},set_value:function(t,n,o,i,r,s){var l=s.options();$.each(l,(function(e,o){if(o.key==n)return!0;t.hasClass(o.key)&&t.removeClass(o.key)}));for(var c=s.more_prop.size,u=s.more_prop.direction,d="x"===u?"y":"x",p=c==f?"":"-"+c,m=!0,h=0;h<a.length;h++){var g=a[h],b=_("",p,g,e);t.hasClass(b)&&(t.removeClass(b),t.addClass(_(d,p,g,e)))}var y=function(e,t,n,o){return e?e.replace("q-".concat("column"===o?"col-":"","gutter")+(n||"")+(t?"-".concat(t):"")+"-",""):null}(n,u,p,e),v=_(d,p,y,e);return t.hasClass(v)&&(t.removeClass(v),t.addClass(_("",p,y,e)),m=!1),m&&t.addClass(n),n}};return i}))},o.init(),o}({num_columns:d,sizes:p,sizes_breakpoints:m,sizes_breakpoints_map:h,sizes_view_sizes:[375,960,1280,1920,2560],sizes_icons:["icon-Xs","icon-IPAD","icon-tableta-lezeca","icon-ikone100--copy_laptop","icon-Lg"],size_for_all:f,sizes_names:["All","Small","Medium","Large","Extra Large"],prefix:r,col_prefix_class:"col",isColumn:u,onClickOnColumnPoint:function(){var e=this;Promise.resolve().then(n.bind(n,813)).then((function(t){var n=t.def_all;try{PgQuickProperties([n.sections[e.options.prefix+"columns"]],e.menu.pgel,e.$element,"Column size &amp; order",300)}catch(e){}}))},version_name:"".concat(l," ").concat(a.Fq),reqVersion:a.N$,skipVersion:a.Zo,framework_prefix:r,container_selector:".container,.container-fluid",grid_container_selector:"row",style:"",no_include_local_question:!0,createDisplayHelpers:!1,showGridInMenu:!1,showColumnInMenu:!1},o.M,i.Yr.minor_version),y=new PgToggleButtonMaker,v=b.getSpacingControl,_=b.getGappingControl,k=(b.executeScriptInPageDelayed,b.getDevicesControlFactory),x=b.onSectionWithDevicesControlsShown,w=b.makeFieldLabelForSize,C=function(e){return b.addPrefixToSectionsAndFields(e)};o.M.on_get_menu_points=function(e,t,n,o){b.getMenuPoints(e,t,n,o)},o.M.on_page_view_resized=function(e,t){b.onPageViewResized(e,t)},o.M.on_get_device_sizes=function(e,t){b.getDeviceSizesForPageViewMenu(e,t),!1!==i.fh&&e.setAllBreakpoints(t.filter((function(e){return e.w_range[0]})).map((function(e){return"".concat(e.w_range[0],"px")})))},o.M.on_page_shown_in_live_view=function(e,t){b.show(t)},o.M.on_get_floating_tools_sections=function(e,t){if(!floating_sections){floating_sections=[];var n=function(e){for(var t=["border","border-top","border-end","border-bottom","border-start"],n=!1,o=0;o<t.length;o++)if(e.hasClass(t[o])){n=!0;break}n||e.addClass("border")},a=new PgFloatingToolsSection(r+"border","Border");a.addControl(getControl("bsborders","bordercolor",{on_before_set:n,label:'<i class="icon icon-Pin20"></i>',buttons:!1,submenu:{name:"Border sides",all_classes:["border","border-top","border-end","border-bottom","border-start","border-0","border-top-0","border-end-0","border-bottom-0","border-start-0"],combine_with_parent:!0,items:[{key:"border",name:"All sides"},{key:"border-top",name:"Top"},{key:"border-end",name:"End"},{key:"border-bottom",name:"Bottom"},{key:"border-start",name:"Start"},{key:"border-bottom border-top",name:"Top &amp; Bottom"},{key:"border-start border-end",name:"Start &amp; End"}]},on_get_current_value_label:function(e,t){for(var n=o.M.bsGetBorderColorOptions(""),a=0;a<n.length;a++)if(e.classes.indexOf(n[a].key)>=0)return n[a].html;return this.options.label}})),a.addControl(getControl("bsborders","widthbotder",{on_before_set:n,name:"Border width",label:'<svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" fill="currentColor" class="bi bi-border-width" viewBox="0 0 16 16">\n <path d="M0 3.5A.5.5 0 0 1 .5 3h15a.5.5 0 0 1 .5.5v2a.5.5 0 0 1-.5.5H.5a.5.5 0 0 1-.5-.5v-2zm0 5A.5.5 0 0 1 .5 8h15a.5.5 0 0 1 .5.5v1a.5.5 0 0 1-.5.5H.5a.5.5 0 0 1-.5-.5v-1zm0 4a.5.5 0 0 1 .5-.5h15a.5.5 0 0 1 0 1H.5a.5.5 0 0 1-.5-.5z"/>\n </svg>'}));var i=getControl("bsborders","raduisborder",{label:'<i class="icon icon-round_lu"></i>',buttons:!1});i.def.options=[{key:"rounded",name:"All sides"},{key:"rounded-0",name:"All sides none"},{key:"rounded-1",name:"All sides small"},{key:"rounded-2",name:"All sides medium"},{key:"rounded-3",name:"All sides large"},{key:"rounded-top",name:"Top"},{key:"rounded-bottom",name:"Bottom"},{key:"rounded-start",name:"Left"},{key:"rounded-end",name:"Right"},{key:"rounded-circle",name:"Circle"},{key:"rounded-pill",name:"Pill"}],a.addControl(i),floating_sections.push(a);var s=[{key:"justify-content-start",name:"Start",html:y.makeIcon("223",{attributes:{title:"Start"}})},{key:"justify-content-end",name:"End",html:y.makeIcon("218",{attributes:{title:"End"}})},{key:"justify-content-center",name:"Center",html:y.makeIcon("219",{attributes:{title:"Center"}})},{key:"justify-content-between",name:"Between",html:y.makeIcon("206",{attributes:{title:"Between"}})},{key:"justify-content-around",name:"Around",html:y.makeIcon("205",{attributes:{title:"Around"}})},{key:"justify-content-evenly",name:"Evenly",html:y.makeIcon("205",{attributes:{title:"Evenly"}})}],l=[{key:"align-items-start",name:"Start",html:y.makeIcon("223",{attributes:{title:"Start"}})},{key:"align-items-end",name:"End",html:y.makeIcon("220",{attributes:{title:"End"}})},{key:"align-items-center",name:"Center",html:y.makeIcon("221",{attributes:{title:"Center"}})},{key:"align-items-baseline",name:"Baseline",html:y.makeIcon("212",{attributes:{title:"Baseline"}})},{key:"align-items-stretch",name:"Stretch",html:y.makeIcon("214",{attributes:{title:"Stretch"}})}],c=function(e,t,n,o){var a=new PgApi,i=a.getFlexSettings(e);if(i.grid)return pinegrow.showQuickError("The element uses CSS Grid to position its children. Use the grid properties for the layout."),!1;var r=[],c=[];i.flex||r.push(i.inline?"d-inline-flex":"d-flex");var u=n,d=t[0];return"column"===i.direction&&(d=d.replace(u,o),u=o),c="align-items-"===u?l.map((function(e){return e.key})):s.map((function(e){return e.key})),c.filter((function(t){return a.hasClass(e,t)})),r.push(d),a.removeClass(e,c),a.addClass(e,r),!1},u=new PgFloatingToolsSection(r+"align","Align content");u.addControl(new PgFloatingToolsControl({key:r+"align.h",type:"select",name:"Align children horizontally w. Flex",action:"apply_class",show_empty:!0,toggle_buttons:!0,options:s},{label:'<i class="icon icon-219"></i>',on_before_set:function(e,t){return c(e,t,"justify-content-","align-items-")}})),u.addControl(new PgFloatingToolsControl({key:r+"align.v",type:"select",name:"Align children vertically w. Flex",action:"apply_class",show_empty:!0,toggle_buttons:!0,options:l},{label:'<i class="icon icon-221"></i>',on_before_set:function(e,t){return c(e,t,"align-items-","justify-content-")}}))}},o.M.on_plugin_activated=function(e,t){b.onFrameworkActivatedOnPage(e),t&&t(o.M)},o.M.on_page_changes_done=function(e,t,n){b.updateHelpersAfterChange(e,t,n)},o.M.on_inline_editing_done=function(e,t){b.updateHelpersAfterChange(e,null,new PgCollection(t))},o.M.on_page_selected=function(e){e&&(0,a.EB)(e)};var T=function(e,t){return t?"pg-classes"!==e&&!e.startsWith(r):!!e.startsWith(r)};o.M.on_before_properties_shown=function(e,t,n){e&&!e.data["".concat(i.Yr.type,"Version")]&&(0,a.EB)(e),i.hC&&t&&(n.show_classes_control=!0,n.show_section_nav_control=!0,n.filter_sections=T,n.show_custom_sections_in_general=!0)};var S=[{name:"Text color and typography",sections:[r+"textcolor",r+"typography"],icon:"icon-Pin18"},{name:"Background",sections:[r+"background"],icon:"icon-Pin21"},{name:"Margin, padding and dimension",sections:[r+"spacing",r+"dimension"],icon:"icon-Pin16"},{name:"Visibility and position",sections:[r+"visibility",r+"position",r+"overflow",r+"mouse"],icon:"icon-Pin17"},{name:"Shadows",sections:[r+"elevation"],icon:"icon-Pin23"},{name:"Border",sections:[r+"border"],icon:"icon-Pin20"},{name:"Flexbox",sections:[r+"flexcontainer",r+"columns"],icon:"icon-Pin22"},{name:"Transform and transition",sections:[r+"transform"],icon:"icon-Pin24"}];o.M.on_get_sections_for_prop_section_nav=function(e,t){i.hC&&S.forEach((function(e){e.ignore_has_data=!0,t.find((function(t){return t.name===e.name}))||t.push(e)}))}},147:(e,t,n)=>{"use strict";n.r(t),n(855),n(869);var o=n(506),a=n(681),i=n(297),r=n(100),s=n(870),l=n(611),c=n(230),u=n(421),d=n(660),p=n(991);function m(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,o=d(e);if(t){var a=d(this).constructor;n=Reflect.construct(o,arguments,a)}else n=o.apply(this,arguments);return u(this,n)}}var f=function(e){c(n,e);var t=m(n);function n(e){return r(this,n),t.call(this,"quasar.colors",e,(function(){return""}))}return s(n,[{key:"onGetConfigObject",value:function(e,t){"init"===e&&(t.theme=t.theme||{},t.theme.extend=t.theme.extend||{},t.theme.extend.colors=t.theme.extend.colors||{},this.colors.forEachColor((function(e,n,o){try{if(o.hasShades()){var a={};o.forEachShade((function(e,t){a[e]=chroma(pgMakeCompatibleColor(t)).hex()})),t.theme.extend.colors[e]=a}else t.theme.extend.colors[e]=chroma(pgMakeCompatibleColor(n)).hex()}catch(e){}})))}},{key:"populateDefaultParams",value:function(e){e||this.colors.clear(),this.colors.add("primary","#6750a4",!1,{50:"#eeedf4",100:"#d8d1e6",200:"#c2b6d9",300:"#ac9ccc",400:"#9582bf",500:"#7e68b1",600:"#6750a4",700:"#5e4996",800:"#564388",900:"#4d3c7b",950:"#45366e",DEFAULT:"#3d2f61"},!0),this.colors.add("secondary","#625b71",!1,{50:"#eeeeef",100:"#d5d4d9",200:"#bdbac3",300:"#a6a1ae",400:"#8e8999",500:"#787285",600:"#625b71",700:"#5a5367",800:"#524c5e",900:"#4a4455",950:"#423d4c",DEFAULT:"#3a3643"},!0),this.colors.add("tertiary","#7d5260",!1,{50:"#f0edee",100:"#ddd2d5",200:"#c9b7bc",300:"#b69da4",400:"#a3838d",500:"#906a76",600:"#7d5260",700:"#724b58",800:"#684450",900:"#5e3e48",950:"#543740",DEFAULT:"#4a3139"},!0),this.colors.add("success","#2e7d32",!0,{50:"#ecf0ec",100:"#cdddcb",200:"#aec9ab",300:"#90b68c",400:"#71a36d",500:"#519050",600:"#2e7d32",700:"#2a722e",800:"#26682a",900:"#235e26",950:"#1f5422",DEFAULT:"#519050"},!0),this.colors.add("warning","#ed6c02",!0,{50:"#fcefeb",100:"#ffd9c7",200:"#ffc4a4",300:"#ffae7f",400:"#fb985c",500:"#f58238",600:"#ed6c02",700:"#d96302",800:"#c55a02",900:"#b25102",950:"#9f4801",DEFAULT:"#f58238"},!0),this.colors.add("error","#d32f2f",!0,{50:"#f9ecec",100:"#f9cfca",200:"#f6b2a9",300:"#f19488",400:"#e97669",500:"#df564c",600:"#d32f2f",700:"#c12b2b",800:"#b02727",900:"#9e2323",950:"#8d2020",DEFAULT:"#df564c"},!0),this.colors.add("info","#0288d1",!0,{50:"#ebf1f9",100:"#d0dff2",200:"#b4ccec",300:"#96bbe5",400:"#76a9df",500:"#5098d8",600:"#0288d1",700:"#027cbf",800:"#0271ae",900:"#02669d",950:"#015b8c",DEFAULT:"#5098d8"},!0),this.colors.add("neutral","#121212",!0,{50:"#ebebeb",100:"#c2c2c2",200:"#9b9b9b",300:"#757575",400:"#525252",500:"#303030",600:"#121212",700:"#111111",800:"#0f0f0f",900:"#0e0e0e",950:"#0c0c0c",DEFAULT:"#0b0b0b"},!0),l(d(n.prototype),"populateDefaultParams",this).call(this)}}]),n}(PgDmDesignSkillColors),h=function(e){c(n,e);var t=m(n);function n(e){var o;return r(this,n),(o=t.call(this,"quasar","Quasar Design")).framework=e,i(o),o.on_engine_ready_funcs=[],o.colors=new PgDmDesignColors,o.colors.can_edit=!0,o.colors.mode="class",o.colors.default_shades=["50","100","200","300","400","500","600","700","800","900","950","DEFAULT"],o.setDefaultSettings(),o.addSkills(),o}return s(n,[{key:"addSkills",value:function(){var e=new f(this.colors);this.addSkill(e),this.fonts_skill=new g,this.addSkill(this.fonts_skill),this.bck_skill=new PgDmDesignSkillBackground(e,"VUETIFY"),this.bck_skill.onGetConfigObject=function(e,t){if("init"===e){t.theme=t.theme||{},t.theme.extend=t.theme.extend||{},t.theme.extend.backgroundImage=t.theme.extend.backgroundImage||{};var n=this.getBackgroundImagesAsObject();$.each(n,(function(e,n){t.theme.extend.backgroundImage[e]=n}))}},this.addSkill(this.bck_skill)}},{key:"getActiveFonts",value:function(){return this.fonts_skill.getActiveFonts()}},{key:"canEditColors",value:function(){return!0}},{key:"supportsColorShades",value:function(){return!0}},{key:"getEngine",value:function(e){var t=this;this.engine?this.engine.isReady()?e(this.engine):t.on_engine_ready_funcs.push(e):this.engine=new b((function(n){t.on_engine_ready_funcs.forEach((function(e){e(n)})),t.on_engine_ready_funcs=[],e&&e(n)}),this)}},{key:"hasOnlyDefaultColors",value:function(){var e=["primary","secondary","tertiary","success","warning","error","info","neutral"];if(e.length!==this.colors.getNumberOfColors())return!1;var t=0,n=this;return e.forEach((function(e){n.colors.getColorObject(e)&&t++})),t===e.length}},{key:"onBeforeSurpriseMe",value:function(e){e()}},{key:"onGetDesignThumbHTML",value:function(e,t){t.fonts=this.fonts_skill.getDesignThumbHTML(e)}},{key:"addCustomizableColors",value:function(){}},{key:"getFontsOptions",value:function(e){return this.fonts_skill.getFontsOptions(e)}},{key:"getBackgroundImageOptions",value:function(){var e=[],t=this.bck_skill.getBackgroundImagesAsObject();return $.each(t,(function(t,n){e.push({key:"bg-"+t,name:t})})),e}},{key:"getColorOptions",value:function(e){for(var t=this.getColorsForPicker(e),n=[],o=0;o<t.length;o++)for(var a=t[o],i=0;i<a.length;i++)n.push(a[i]);return n}},{key:"getColorsForPicker",value:function(e){var t=[[{key:e+"current",name:"current",color:"white",text:"c"},{key:e+"transparent",name:"transparent",color:"rgba(0,0,0,0)"},{key:e+"black",name:"black",color:"black"},{key:e+"white",name:"white",color:"white"},{key:e+"inherit",name:"inherit",color:"rgba(0,0,0,0.5)"}]];return this.colors.getColorsForPicker(e,t)}},{key:"destroyEngine",value:function(){this.engine&&this.engine.destroy(),this.engine=null}},{key:"recreateEngine",value:function(e){this.destroyEngine(),this.getEngine(e,this)}}]),n}(PgDmDesignProvider),g=function(e){c(n,e);var t=m(n);function n(){var e;r(this,n),(e=t.call(this,"fonts","Fonts")).fixed=["sans","serif"],e.max_num=10;for(var o=i(e),a=new PgToggleButtonMaker,s=1;s<=e.max_num;s++){var l=s<=e.fixed.length?e.fixed[s-1]:null;e.addControl("name_".concat(s),{name:"Name",type:l?"hidden":"text",default_value:l,start_repeat_item:l||"Custom font ".concat(s-e.fixed.length),tw_repeat_item_index:s,repeat_item_open:null!==l,add_repeat_item_label:"Add font family",on_create_repeat_item_button:function(e){$('<button class="pg-button" style="margin-left:4px;height: 27px;vertical-align: top;">Manage fonts...</button>').appendTo(e).on("click",(function(e){e.preventDefault(),pinegrow.fontLibrary.showLibrary()}))},dm_no_lock:"placeholder",on_repeat_item_removed:function(e,t,n){t.removeClass("has-value"),pinegrow.requireProjectDB((function(e){e.startBatchUpdates();var t=n.tw_repeat_item_index;o.setParam("family_".concat(t),""),o.setParam("name_".concat(t),"");for(var a=t+1;a<=o.max_num;a++){var i=o.getParam("name_".concat(a)),r=o.getParam("family_".concat(a));(i||r)&&(o.setParam("family_".concat(a-1),r),o.setParam("name_".concat(a-1),i),o.setParam("family_".concat(a),""),o.setParam("name_".concat(a),""))}e.endBatchUpdates("Remove font family","design_panel"),pgDmStore.update()}))}}),e.addControl("family_".concat(s),{name:"Family",type:"select",show_empty:!0,fill_list_on_open:!0,can_add_items:!0,options:function(){return pinegrow.fontLibrary.getSelectOptions()}}),o.addControl("".concat(s,"_options_container"),{name:"Use for",type:"displayhtmlwithlabel",html:"",class:"crsa-field-text-font-options-container crsa-field-text-font-options-container-".concat(s),dm_no_lock:"placeholder"});for(var c=1;c<=6;c++)o.addControl("h".concat(c,"_").concat(s),{name:"H"+c,type:"select",toggle_buttons:!0,append_to:".crsa-field-text-font-options-container-".concat(s),without_text:!0,show_empty:!0,dm_no_lock:!0,options:[{key:"h"+c,name:"H"+c,html:a.makeText("H"+c,{attributes:{title:"Use for H"+c},styles:{padding:"4px 0"}})}]})}return e}return s(n,[{key:"getFontsOptions",value:function(e){for(var t=[],n=!1,o=1;o<=this.max_num;o++){var a=o<=this.fixed.length?this.fixed[o-1]:this.getParam("name_".concat(o)),i=this.getParam("family_".concat(o));a&&(o<=this.fixed.length||i)&&(t.push({key:e+a,name:a}),"mono"===a&&(n=!0))}return n||t.push({key:e+"mono",name:"mono"}),t}},{key:"getActiveFonts",value:function(){for(var e=[],t=1;t<=this.max_num;t++){var n=t<=this.fixed.length?this.fixed[t-1]:this.getParam("name_".concat(t)),o=this.getParam("family_".concat(t));n&&o&&e.indexOf(o)<0&&e.push(o)}return e}},{key:"getDesignThumbHTML",value:function(e){var t=e.findOne('dmdesignskill[skill="fonts"]'),n="",o=0;if(t)for(var a=1;a<=this.max_num;a++){var i=a<=this.fixed.length?this.fixed[a-1]:t.getAttribute("name_".concat(a)),r=t.getAttribute("family_".concat(a));i&&r&&o<2&&(n+='<p style="font-family: '.concat(r.replace(/"/g,"'"),';margin: 0px 0px;white-space: nowrap;">').concat(r.replace(/["']/g,""),"</p>"),o++)}return n}},{key:"onSurpriseMe",value:function(e){for(var t=1;t<=this.max_num;t++){var n=t<=this.fixed.length?this.fixed[t-1]:this.getParam("name_".concat(t)),o="family_".concat(t);if(!this.isLocked(o)&&n){var a="all";(this.getParam("h1_".concat(t))||this.getParam("h2_".concat(t)))&&(a="h1");var i=pinegrow.fontLibrary.getRandomFont(a);this.setParam(o,i.family)}}e()}},{key:"onGetCSS",value:function(e,t){if("import"===e){var n=pgDmStore.design.fonts;n.clear();for(var o=1;o<=this.max_num;o++){var a=o<=this.fixed.length?this.fixed[o-1]:this.getParam("name_".concat(o)),i=this.getParam("family_".concat(o));if(a&&i){var r={key:a,family:i};n.setFont(r)}}var s=n.getImportStatements(t),l=s.length?s.join("\n")+"\n\n":"",c=n.getFontFontFaceStatements();return l+(c.length?c.join("\n\n")+"\n\n":"")}if("rules"===e){for(var u="",d=1;d<=this.max_num;d++){var p=d<=this.fixed.length?this.fixed[d-1]:this.getParam("name_".concat(d)),m=this.getParam("family_".concat(d));if(p&&m){for(var f=[],h=1;h<=6;h++)this.getParam("h".concat(h,"_").concat(d))&&f.push("h"+h);f.length&&(u+="\n".concat(f.join(",")," {\n @apply font-").concat(p,";\n} \n"))}}return u}return""}},{key:"onGetConfigObject",value:function(e,t){if("init"===e){t.theme=t.theme||{},t.theme.extend=t.theme.extend||{},t.theme.extend.fontFamily=t.theme.extend.fontFamily||{};for(var n=1;n<=this.max_num;n++){var o=n<=this.fixed.length?this.fixed[n-1]:this.getParam("name_".concat(n)),a=this.getParam("family_".concat(n));if(o&&a){var i=pinegrow.fontLibrary.getFontByFamily(a);i&&(a=i.getFamilyWithFallback()),t.theme.extend.fontFamily[o]=[a]}}}}}]),n}(PgDmDesignSkill),b=function(e){c(n,e);var t=m(n);function n(e,o){var a;r(this,n),a=t.call(this,e);var s=i(a);if(a.design_provider=o,a.external_build=!0,a.is_ready=!1,a.done_list=[],a.delayedTasks=new PgDelayedTasks,a.busy=!1,a.update_on_done=!1,pinegrow.getCurrentProject(),a.custom_cs_url=null,a.fs=require("fs"),a.external_build){try{var l=pinegrow.app_designer.addonManager.pluginsManager.pluginsProcessed.find((function(e){return"quasar"===e.key}));l.options.cssPath&&(o.settings.external_source_url=l.options.cssPath&&crsaMakeUrlFromFile(l.options.cssPath)),o.settings.external_config_path=l.options.configPath,o.settings.external_theme_path=l.options.themePath}catch(e){}return a.is_ready=!0,setTimeout((function(){e&&e(s)}),1),u(a)}return e&&e(s),a}return s(n,[{key:"activateOnPage",value:function(e,t){t&&t()}},{key:"update",value:function(e){e&&this.done_list.push(e),this.delayedTasks.run("update",this.updateTask.bind(this),this.external_build?1:100)}},{key:"getConfigFile",value:function(){for(var e=0,t=["quasar.config.cjs","quasar.config.mjs","quasar.config.js","quasar.config.ts","quasar.config.cts","quasar.config.mts"];e<t.length;e++){var n=t[e];try{var o=pinegrow.getCurrentProject().getAbsolutePath(n);return this.fs.accessSync(o),o}catch(e){}}}},{key:"updateTask",value:function(){var e,t=arguments.length>0&&void 0!==arguments[0]&&arguments[0],n=this,o=pinegrow.getCurrentProject(),i=pinegrow.getSelectedPage();if(!t&&!i)return n.done_list.forEach((function(e){e()})),void(n.done_list=[]);if(this.busy&&Date.now()-this.busy_time>4e3&&(this.busy=!1),this.busy)this.update_on_done=!0;else{var r={css:"",config:{},cs_url:this.custom_cs_url};pinegrow.dispatchEvent("on_dm_get_css",null,"import",r),pinegrow.dispatchEvent("on_dm_get_css",null,"init",r),r.css,r.font_urls=[];var s=null===(e=r.css)||void 0===e||null===(e=e.match(/'([^']+)'/))||void 0===e?void 0:e[1];s&&r.font_urls.push(s),r.background_urls={},Object.entries(r.config.theme.extend.backgroundImage).forEach((function(e){var t,n=a(e,2),o=n[0],i=n[1],s=null==i||null===(t=i.match(/'([^']+)'/))||void 0===t?void 0:t[1];s&&(r.background_urls[o]=s)})),r.css="",pinegrow.dispatchEvent("on_dm_get_css",null,"rules",r);try{this.external_config_path=this.design_provider.settings.external_config_path||this.getConfigFile(),this.external_theme_path=this.design_provider.settings.external_theme_path,this.external_theme_path_alt=this.external_theme_path&&!this.external_theme_path.endsWith(".mjs")?this.external_theme_path.replace(path.extname(this.external_theme_path),".mjs"):null,this.design_provider.settings.external_source_url&&(this.external_source_file=crsaMakeFileFromUrl(o.getAbsoluteUrl(this.design_provider.settings.external_source_url)));var l=this.fs.readFileSync(this.external_theme_path||this.external_config_path,{encoding:"utf8"}),c=new PgSimpleJsParser(l),u="\nconst pg_colors = ".concat(c.objToString(r.config.theme.extend.colors),"\n\nconst pg_fonts = ").concat(c.objToString(r.config.theme.extend.fontFamily)," \n\nconst pg_font_urls = ").concat(c.objToString(r.font_urls),"\n\nconst pg_backgrounds = ").concat(c.objToString(r.config.theme.extend.backgroundImage)," \n \nconst pg_background_urls = ").concat(c.objToString(r.background_urls),"\n\n ");l=pgf.uses_hot_reload?"/* Pinegrow generated Design Panel Begin */\n/* eslint-disable */\n/* prettier-disable */\n/* @ts-nocheck */\n".concat(u,"\nmodule.exports = {\npg_colors,\npg_fonts,\npg_font_urls,\npg_backgrounds,\npg_background_urls,\n}\n\n/* Pinegrow generated Design Panel End */"):pgUpdateGeneratedSectionContent(l,"Design Panel",u,"prepend"),this.fs.writeFileSync(this.external_theme_path||this.external_config_path,l,{encoding:"utf8"}),this.external_theme_path_alt&&this.fs.writeFileSync(this.external_theme_path_alt,l.replace("module.exports =","export ").replace("module.exports=","export "),{encoding:"utf8"})}catch(e){console.warn("Unable to update quasar config file and source file.",e)}setTimeout((function(){n.update_on_done?n.update():(n.done_list.forEach((function(e){e()})),n.done_list=[]),n.busy=!1,n.update_on_done=!1}),1)}}},{key:"destroy",value:function(){this.design_provider=null,this.delayedTasks.destroy()}}]),n}(PgDmEngine);pinegrow.addEventHandler("on_vite_plugin_activated",(function(e,t,n){if(t===p.Yr.key&&((0,p.EX)(n.options.themePath),!1!==n.options.themePath)){var a=null;void 0!==window.pgDmStore&&(a=window.pgDmStore);var i=new h(o.MS);a.registerDesignProvider("quasar",i),o.MS.on_dm_detect_design_providers=function(e,t){t.push("quasar")}}}));var y=n(813),v=null,_=function(e){"checkbox"===e.type&&(e.type="select",e.toggle_buttons=!0,e.options=[{key:e.value,name:e.name,html:o.bm.makeText(e.name,{attributes:{title:e.name}})}])};o.MS.on_get_floating_tools_sections=function(e,t){if(p.hC){var n=o.O4;if(!(v=null)){var a=function(e,t,o){var a,i=cloneObject(null===(a=y.def_all.sections[n+e])||void 0===a?void 0:a.fields[t]);return _(i),i.key=t,new PgFloatingToolsControl(i,o)},i=function(e,t,o){var a={name:"More",key:e,type:"select",options:[]},i={};return t.forEach((function(t){var o;i[t]=cloneObject(null===(o=y.def_all.sections[n+e])||void 0===o?void 0:o.fields[t]),_(i[t]);var r=i[t];a.options.push({key:t,name:r.name})})),(o=o||{}).buttons=!1,o.no_clear_on_first_level=!0,o.submenu=function(e){i[e].toggle_buttons&&(i[e].toggle_buttons=!1);var t="function"==typeof i[e].options?i[e].options():i[e].options;return{items:t,combine_with_parent:!1,name:i[e].name,require_submenu_selection:!0,all_classes:t.map((function(e){return e.key}))}},new PgFloatingToolsControl(a,o)};v=[];var r=new PgFloatingToolsSection(n+"text","Text color and typography");r.addControl(a("textcolor","".concat(n,"palette"),{label:'<i class="icon icon-ikone1-100-copy-63"></i>',cursor:'<i class="icon icon-ikone1-100-copy-63" style="color:$COLOR !important;"></i>',svg_support:"stroke"})),r.addControl(a("textcolor","".concat(n,"swatches"),{label:'<i class="icon icon-ikone1-100-copy-63" style="background: linear-gradient(45deg, tomato, green)"></i>',cursor:'<i class="icon icon-ikone1-100-copy-63" style="color:$COLOR !important;"></i>',svg_support:"stroke"})),r.addControl(a("typography","".concat(n,"typography"),{label:'<i class="icon icon-font-size"></i>'})),r.addControl(a("typography","".concat(n,"fontweight"),{label:'<i class="icon icon-weight"></i>'})),r.addControl(a("typography","".concat(n,"textalign"),{label:'<i class="icon icon-align-left"></i>'})),r.addControl(a("typography","".concat(n,"transform"),{label:'<i class="icon icon-Transform-uppercase"></i>'})),r.addControl(i("typography",["".concat(n,"whitespace"),"".concat(n,"fontstyle"),"".concat(n,"fontbold"),"".concat(n,"decoration")],{label:'<i class="icon icon-down"></i>',name:"More options"})),v.push(r);var s=new PgFloatingToolsSection(n+"background","Background");s.addControl(a("background","".concat(n,"bg_palette"),{label:'<i class="icon icon-Pin21"></i>',cursor:'<i class="icon icon-Pin21" style="color:rgba(0,0,0,0.25) !important;background-color:$COLOR;"></i>',svg_support:"fill",on_filter_svg:function(e,t){for(var n=0;n<e.length;n++)e[n]=e[n].replace("bg-","text-");for(n=0;n<t.length;n++)t[n]=t[n].replace("bg-","text-")}})),s.addControl(a("background","".concat(n,"bg_swatches"),{label:'<i class="icon icon-Pin21" style="background: linear-gradient(45deg, tomato, green)"></i>',cursor:'<i class="icon icon-Pin21" style="color:rgba(0,0,0,0.25) !important;background-color:$COLOR;"></i>',svg_support:"fill",on_filter_svg:function(e,t){for(var n=0;n<e.length;n++)e[n]=e[n].replace("bg-","text-");for(n=0;n<t.length;n++)t[n]=t[n].replace("bg-","text-")}})),v.push(s);var l=new PgFloatingToolsSection(n+"dimension","Dimension");l.addControl(a("dimension","".concat(n,"width"),{label:'<i class="icon icon-width"></i>'})),l.addControl(a("dimension","".concat(n,"height"),{label:'<i class="icon icon-height"></i>'})),l.addControl(i("dimension",["".concat(n,"display"),"".concat(n,"fit")],{label:'<i class="icon icon-down"></i>',name:"More options"})),v.push(l);var c=new PgFloatingToolsSection(n+"visibility","Visibility and position");c.addControl(a("position","".concat(n,"position_common"),{label:'<i class="icon icon-Pin17"></i>'})),c.addControl(a("position","".concat(n,"horizontal_alignment"),{label:'<i class="icon icon-template-columns"></i>'})),c.addControl(a("position","".concat(n,"vertical_alignment"),{label:'<i class="icon icon-template-rows"></i>'})),c.addControl(i("visibility",["".concat(n,"disabled"),"".concat(n,"hidden"),"".concat(n,"invisible"),"".concat(n,"readonly"),"".concat(n,"ellipsis"),"".concat(n,"zindex"),"".concat(n,"orientation"),"".concat(n,"platform_only"),"".concat(n,"print")],{label:'<i class="icon icon-down"></i>',name:"More options"})),v.push(c)}v.forEach((function(e){t.push(e)}))}},n(884),n(161);var k,x,w,C=new PgComponentType(o.O4+"row","Row",{selector:".row",tags:"major",preview:(x='<div style="height:60px;background:#eee;"></div>',w="border:2px solid #0098cc;",'<div class="container-fluid" style="'+(k="")+'"> <div class="row" style="'+w+'"> <div class="col-4" style="'+k+'">'+x+'</div> <div class="col-4">'+x+'</div> <div class="col-4">'+x+'</div> </div> <div class="row" style="margin-top:12px;"> <div class="col-4">'+x+'</div> <div class="col-4">'+x+'</div> <div class="col-4">'+x+"</div> </div> </div>"),code:'<div class="row"></div>',empty_placeholder:!0,action_menu:{add:[o.O4+"column"]}});o.MS.addComponentType(C);var T=new PgComponentType(o.O4+"column","Column",{tags:"major",selector:o.t3,parent_selector:".row",code:'<div class="col-md-4"><h3>Column title</h3> <p>Cras justo odio, dapibus ac facilisis in, egestas eget quam. Donec id elit non mi porta gravida at eget metus. Nullam id dolor id nibh ultricies vehicula ut id elit.</p> </div>',empty_placeholder:!0,name:"Column"});o.MS.addComponentType(T);var S=new PgFrameworkLibSection(o.O4+"grid","Grid");S.setComponentTypes([C,T]),(0,o.r2)(S)},869:(e,t,n)=>{"use strict";n.d(t,{EB:()=>u,Fq:()=>s,N$:()=>d,Zo:()=>p});var o,a=n(855),i=n(991),r=i.Yr.minor_version,s=i.Yr.version,l=function(e){o=e,a.M.name_short="".concat(i.Yr.name)},c=pinegrow.getSetting("".concat(i.Yr.key,"-force-version"),"auto");"auto"!=c&&l(parseFloat(c));var u=function(e,t){"auto"==c?e.data["".concat(i.Yr.type,"Version")]&&!t?l(e.data["".concat(i.Yr.type,"Version")]):e.stylesheetsThatContain(/quasar\sv(5[0-9\.]*)/i,/quasar(\.min|)\.(css)/i,(function(t,n,a){if(t.length>0){var r=n[0][1].split("."),s=parseFloat(r[0]);r.length>1&&(s+=parseFloat(r[1])/10),l(s),e.data["".concat(i.Yr.type,"Version")]=s,a&&pinegrow.selectedElements.reselect(),console.log("version = "+o+" "+a)}}),t):l(parseFloat(c))},d=function(e){return o>=e},p=function(e){return o<e};l(r)}},t={};function n(o){var a=t[o];if(void 0!==a)return a.exports;var i=t[o]={exports:{}};return e[o](i,i.exports,n),i.exports}n.d=(e,t)=>{for(var o in t)n.o(t,o)&&!n.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:t[o]})},n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var o={};return(()=>{"use strict";n.r(o);var e=n(991);$((function(){$("body").one("pinegrow-ready",(function(t,o){pgAddOnManager.isAddonActive("QUASAR")?Promise.resolve().then(n.bind(n,147)).then((function(){})):console.log("Pinegrow ".concat(e.Yr.short_name," addon is not active."))}))}))})(),o})()));
1
+ /*! For license information please see plugin.cjs.LICENSE.txt */
2
+ !function(t,e){if("object"==typeof exports&&"object"==typeof module)module.exports=e();else if("function"==typeof define&&define.amd)define([],e);else{var i=e();for(var n in i)("object"==typeof exports?exports:t)[n]=i[n]}}(global,(()=>(()=>{var t,e,i={294:t=>{"use strict";function e(t,e,s){t instanceof RegExp&&(t=i(t,s)),e instanceof RegExp&&(e=i(e,s));var r=n(t,e,s);return r&&{start:r[0],end:r[1],pre:s.slice(0,r[0]),body:s.slice(r[0]+t.length,r[1]),post:s.slice(r[1]+e.length)}}function i(t,e){var i=e.match(t);return i?i[0]:null}function n(t,e,i){var n,s,r,o,a,l=i.indexOf(t),c=i.indexOf(e,l+1),h=l;if(l>=0&&c>0){if(t===e)return[l,c];for(n=[],r=i.length;h>=0&&!a;)h==l?(n.push(h),l=i.indexOf(t,h+1)):1==n.length?a=[n.pop(),c]:((s=n.pop())<r&&(r=s,o=c),c=i.indexOf(e,h+1)),h=l<c&&l>=0?l:c;n.length&&(a=[r,o])}return a}t.exports=e,e.range=n},783:t=>{"use strict";const e=/[\p{Lu}]/u,i=/[\p{Ll}]/u,n=/^[\p{Lu}](?![\p{Lu}])/gu,s=/([\p{Alpha}\p{N}_]|$)/u,r=/[_.\- ]+/,o=new RegExp("^"+r.source),a=new RegExp(r.source+s.source,"gu"),l=new RegExp("\\d+"+s.source,"gu"),c=(t,s)=>{if("string"!=typeof t&&!Array.isArray(t))throw new TypeError("Expected the input to be `string | string[]`");if(s={pascalCase:!1,preserveConsecutiveUppercase:!1,...s},0===(t=Array.isArray(t)?t.map((t=>t.trim())).filter((t=>t.length)).join("-"):t.trim()).length)return"";const r=!1===s.locale?t=>t.toLowerCase():t=>t.toLocaleLowerCase(s.locale),c=!1===s.locale?t=>t.toUpperCase():t=>t.toLocaleUpperCase(s.locale);return 1===t.length?s.pascalCase?c(t):r(t):(t!==r(t)&&(t=((t,n,s)=>{let r=!1,o=!1,a=!1;for(let l=0;l<t.length;l++){const c=t[l];r&&e.test(c)?(t=t.slice(0,l)+"-"+t.slice(l),r=!1,a=o,o=!0,l++):o&&a&&i.test(c)?(t=t.slice(0,l-1)+"-"+t.slice(l-1),a=o,o=!1,r=!0):(r=n(c)===c&&s(c)!==c,a=o,o=s(c)===c&&n(c)!==c)}return t})(t,r,c)),t=t.replace(o,""),t=s.preserveConsecutiveUppercase?((t,e)=>(n.lastIndex=0,t.replace(n,(t=>e(t)))))(t,r):r(t),s.pascalCase&&(t=c(t.charAt(0))+t.slice(1)),((t,e)=>(a.lastIndex=0,l.lastIndex=0,t.replace(a,((t,i)=>e(i))).replace(l,(t=>e(t)))))(t,c))};t.exports=c,t.exports.default=c},199:(t,e,i)=>{var n=i(294);t.exports=function(t){return t?("{}"===t.substr(0,2)&&(t="\\{\\}"+t.substr(2)),g(function(t){return t.split("\\\\").join(s).split("\\{").join(r).split("\\}").join(o).split("\\,").join(a).split("\\.").join(l)}(t),!0).map(h)):[]};var s="\0SLASH"+Math.random()+"\0",r="\0OPEN"+Math.random()+"\0",o="\0CLOSE"+Math.random()+"\0",a="\0COMMA"+Math.random()+"\0",l="\0PERIOD"+Math.random()+"\0";function c(t){return parseInt(t,10)==t?parseInt(t,10):t.charCodeAt(0)}function h(t){return t.split(s).join("\\").split(r).join("{").split(o).join("}").split(a).join(",").split(l).join(".")}function u(t){if(!t)return[""];var e=[],i=n("{","}",t);if(!i)return t.split(",");var s=i.pre,r=i.body,o=i.post,a=s.split(",");a[a.length-1]+="{"+r+"}";var l=u(o);return o.length&&(a[a.length-1]+=l.shift(),a.push.apply(a,l)),e.push.apply(e,a),e}function p(t){return"{"+t+"}"}function d(t){return/^-?0\d/.test(t)}function f(t,e){return t<=e}function m(t,e){return t>=e}function g(t,e){var i=[],s=n("{","}",t);if(!s)return[t];var r=s.pre,a=s.post.length?g(s.post,!1):[""];if(/\$$/.test(s.pre))for(var l=0;l<a.length;l++){var h=r+"{"+s.body+"}"+a[l];i.push(h)}else{var y,b,v=/^-?\d+\.\.-?\d+(?:\.\.-?\d+)?$/.test(s.body),w=/^[a-zA-Z]\.\.[a-zA-Z](?:\.\.-?\d+)?$/.test(s.body),k=v||w,_=s.body.indexOf(",")>=0;if(!k&&!_)return s.post.match(/,.*\}/)?g(t=s.pre+"{"+s.body+o+s.post):[t];if(k)y=s.body.split(/\.\./);else if(1===(y=u(s.body)).length&&1===(y=g(y[0],!1).map(p)).length)return a.map((function(t){return s.pre+y[0]+t}));if(k){var x=c(y[0]),S=c(y[1]),T=Math.max(y[0].length,y[1].length),C=3==y.length?Math.abs(c(y[2])):1,A=f;S<x&&(C*=-1,A=m);var E=y.some(d);b=[];for(var O=x;A(O,S);O+=C){var P;if(w)"\\"===(P=String.fromCharCode(O))&&(P="");else if(P=String(O),E){var F=T-P.length;if(F>0){var L=new Array(F+1).join("0");P=O<0?"-"+L+P.slice(1):L+P}}b.push(P)}}else{b=[];for(var M=0;M<y.length;M++)b.push.apply(b,g(y[M],!1))}for(M=0;M<b.length;M++)for(l=0;l<a.length;l++)h=r+b[M]+a[l],(!e||k||h)&&i.push(h)}return i}},17:t=>{"use strict";t.exports=require("path")},748:t=>{t.exports=function(t,e){(null==e||e>t.length)&&(e=t.length);for(var i=0,n=new Array(e);i<e;i++)n[i]=t[i];return n},t.exports.__esModule=!0,t.exports.default=t.exports},314:t=>{t.exports=function(t){if(Array.isArray(t))return t},t.exports.__esModule=!0,t.exports.default=t.exports},850:(t,e,i)=>{var n=i(748);t.exports=function(t){if(Array.isArray(t))return n(t)},t.exports.__esModule=!0,t.exports.default=t.exports},297:t=>{t.exports=function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t},t.exports.__esModule=!0,t.exports.default=t.exports},461:t=>{function e(t,e,i,n,s,r,o){try{var a=t[r](o),l=a.value}catch(t){return void i(t)}a.done?e(l):Promise.resolve(l).then(n,s)}t.exports=function(t){return function(){var i=this,n=arguments;return new Promise((function(s,r){var o=t.apply(i,n);function a(t){e(o,s,r,a,l,"next",t)}function l(t){e(o,s,r,a,l,"throw",t)}a(void 0)}))}},t.exports.__esModule=!0,t.exports.default=t.exports},100:t=>{t.exports=function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")},t.exports.__esModule=!0,t.exports.default=t.exports},870:(t,e,i)=>{var n=i(739);function s(t,e){for(var i=0;i<e.length;i++){var s=e[i];s.enumerable=s.enumerable||!1,s.configurable=!0,"value"in s&&(s.writable=!0),Object.defineProperty(t,n(s.key),s)}}t.exports=function(t,e,i){return e&&s(t.prototype,e),i&&s(t,i),Object.defineProperty(t,"prototype",{writable:!1}),t},t.exports.__esModule=!0,t.exports.default=t.exports},290:(t,e,i)=>{var n=i(739);t.exports=function(t,e,i){return(e=n(e))in t?Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[e]=i,t},t.exports.__esModule=!0,t.exports.default=t.exports},611:(t,e,i)=>{var n=i(209);function s(){return"undefined"!=typeof Reflect&&Reflect.get?(t.exports=s=Reflect.get.bind(),t.exports.__esModule=!0,t.exports.default=t.exports):(t.exports=s=function(t,e,i){var s=n(t,e);if(s){var r=Object.getOwnPropertyDescriptor(s,e);return r.get?r.get.call(arguments.length<3?t:i):r.value}},t.exports.__esModule=!0,t.exports.default=t.exports),s.apply(this,arguments)}t.exports=s,t.exports.__esModule=!0,t.exports.default=t.exports},660:t=>{function e(i){return t.exports=e=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},t.exports.__esModule=!0,t.exports.default=t.exports,e(i)}t.exports=e,t.exports.__esModule=!0,t.exports.default=t.exports},230:(t,e,i)=>{var n=i(560);t.exports=function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&n(t,e)},t.exports.__esModule=!0,t.exports.default=t.exports},912:t=>{t.exports=function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)},t.exports.__esModule=!0,t.exports.default=t.exports},193:t=>{t.exports=function(t,e){var i=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=i){var n,s,r,o,a=[],l=!0,c=!1;try{if(r=(i=i.call(t)).next,0===e){if(Object(i)!==i)return;l=!1}else for(;!(l=(n=r.call(i)).done)&&(a.push(n.value),a.length!==e);l=!0);}catch(t){c=!0,s=t}finally{try{if(!l&&null!=i.return&&(o=i.return(),Object(o)!==o))return}finally{if(c)throw s}}return a}},t.exports.__esModule=!0,t.exports.default=t.exports},147:t=>{t.exports=function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")},t.exports.__esModule=!0,t.exports.default=t.exports},96:t=>{t.exports=function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")},t.exports.__esModule=!0,t.exports.default=t.exports},421:(t,e,i)=>{var n=i(425).default,s=i(297);t.exports=function(t,e){if(e&&("object"===n(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return s(t)},t.exports.__esModule=!0,t.exports.default=t.exports},609:(t,e,i)=>{var n=i(425).default;function s(){"use strict";t.exports=s=function(){return i},t.exports.__esModule=!0,t.exports.default=t.exports;var e,i={},r=Object.prototype,o=r.hasOwnProperty,a=Object.defineProperty||function(t,e,i){t[e]=i.value},l="function"==typeof Symbol?Symbol:{},c=l.iterator||"@@iterator",h=l.asyncIterator||"@@asyncIterator",u=l.toStringTag||"@@toStringTag";function p(t,e,i){return Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{p({},"")}catch(e){p=function(t,e,i){return t[e]=i}}function d(t,e,i,n){var s=e&&e.prototype instanceof w?e:w,r=Object.create(s.prototype),o=new M(n||[]);return a(r,"_invoke",{value:O(t,i,o)}),r}function f(t,e,i){try{return{type:"normal",arg:t.call(e,i)}}catch(t){return{type:"throw",arg:t}}}i.wrap=d;var m="suspendedStart",g="suspendedYield",y="executing",b="completed",v={};function w(){}function k(){}function _(){}var x={};p(x,c,(function(){return this}));var S=Object.getPrototypeOf,T=S&&S(S(j([])));T&&T!==r&&o.call(T,c)&&(x=T);var C=_.prototype=w.prototype=Object.create(x);function A(t){["next","throw","return"].forEach((function(e){p(t,e,(function(t){return this._invoke(e,t)}))}))}function E(t,e){function i(s,r,a,l){var c=f(t[s],t,r);if("throw"!==c.type){var h=c.arg,u=h.value;return u&&"object"==n(u)&&o.call(u,"__await")?e.resolve(u.__await).then((function(t){i("next",t,a,l)}),(function(t){i("throw",t,a,l)})):e.resolve(u).then((function(t){h.value=t,a(h)}),(function(t){return i("throw",t,a,l)}))}l(c.arg)}var s;a(this,"_invoke",{value:function(t,n){function r(){return new e((function(e,s){i(t,n,e,s)}))}return s=s?s.then(r,r):r()}})}function O(t,i,n){var s=m;return function(r,o){if(s===y)throw new Error("Generator is already running");if(s===b){if("throw"===r)throw o;return{value:e,done:!0}}for(n.method=r,n.arg=o;;){var a=n.delegate;if(a){var l=P(a,n);if(l){if(l===v)continue;return l}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(s===m)throw s=b,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);s=y;var c=f(t,i,n);if("normal"===c.type){if(s=n.done?b:g,c.arg===v)continue;return{value:c.arg,done:n.done}}"throw"===c.type&&(s=b,n.method="throw",n.arg=c.arg)}}}function P(t,i){var n=i.method,s=t.iterator[n];if(s===e)return i.delegate=null,"throw"===n&&t.iterator.return&&(i.method="return",i.arg=e,P(t,i),"throw"===i.method)||"return"!==n&&(i.method="throw",i.arg=new TypeError("The iterator does not provide a '"+n+"' method")),v;var r=f(s,t.iterator,i.arg);if("throw"===r.type)return i.method="throw",i.arg=r.arg,i.delegate=null,v;var o=r.arg;return o?o.done?(i[t.resultName]=o.value,i.next=t.nextLoc,"return"!==i.method&&(i.method="next",i.arg=e),i.delegate=null,v):o:(i.method="throw",i.arg=new TypeError("iterator result is not an object"),i.delegate=null,v)}function F(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function L(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function M(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(F,this),this.reset(!0)}function j(t){if(t||""===t){var i=t[c];if(i)return i.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var s=-1,r=function i(){for(;++s<t.length;)if(o.call(t,s))return i.value=t[s],i.done=!1,i;return i.value=e,i.done=!0,i};return r.next=r}}throw new TypeError(n(t)+" is not iterable")}return k.prototype=_,a(C,"constructor",{value:_,configurable:!0}),a(_,"constructor",{value:k,configurable:!0}),k.displayName=p(_,u,"GeneratorFunction"),i.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===k||"GeneratorFunction"===(e.displayName||e.name))},i.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,_):(t.__proto__=_,p(t,u,"GeneratorFunction")),t.prototype=Object.create(C),t},i.awrap=function(t){return{__await:t}},A(E.prototype),p(E.prototype,h,(function(){return this})),i.AsyncIterator=E,i.async=function(t,e,n,s,r){void 0===r&&(r=Promise);var o=new E(d(t,e,n,s),r);return i.isGeneratorFunction(e)?o:o.next().then((function(t){return t.done?t.value:o.next()}))},A(C),p(C,u,"Generator"),p(C,c,(function(){return this})),p(C,"toString",(function(){return"[object Generator]"})),i.keys=function(t){var e=Object(t),i=[];for(var n in e)i.push(n);return i.reverse(),function t(){for(;i.length;){var n=i.pop();if(n in e)return t.value=n,t.done=!1,t}return t.done=!0,t}},i.values=j,M.prototype={constructor:M,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(L),!t)for(var i in this)"t"===i.charAt(0)&&o.call(this,i)&&!isNaN(+i.slice(1))&&(this[i]=e)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var i=this;function n(n,s){return a.type="throw",a.arg=t,i.next=n,s&&(i.method="next",i.arg=e),!!s}for(var s=this.tryEntries.length-1;s>=0;--s){var r=this.tryEntries[s],a=r.completion;if("root"===r.tryLoc)return n("end");if(r.tryLoc<=this.prev){var l=o.call(r,"catchLoc"),c=o.call(r,"finallyLoc");if(l&&c){if(this.prev<r.catchLoc)return n(r.catchLoc,!0);if(this.prev<r.finallyLoc)return n(r.finallyLoc)}else if(l){if(this.prev<r.catchLoc)return n(r.catchLoc,!0)}else{if(!c)throw new Error("try statement without catch or finally");if(this.prev<r.finallyLoc)return n(r.finallyLoc)}}}},abrupt:function(t,e){for(var i=this.tryEntries.length-1;i>=0;--i){var n=this.tryEntries[i];if(n.tryLoc<=this.prev&&o.call(n,"finallyLoc")&&this.prev<n.finallyLoc){var s=n;break}}s&&("break"===t||"continue"===t)&&s.tryLoc<=e&&e<=s.finallyLoc&&(s=null);var r=s?s.completion:{};return r.type=t,r.arg=e,s?(this.method="next",this.next=s.finallyLoc,v):this.complete(r)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),v},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var i=this.tryEntries[e];if(i.finallyLoc===t)return this.complete(i.completion,i.afterLoc),L(i),v}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var i=this.tryEntries[e];if(i.tryLoc===t){var n=i.completion;if("throw"===n.type){var s=n.arg;L(i)}return s}}throw new Error("illegal catch attempt")},delegateYield:function(t,i,n){return this.delegate={iterator:j(t),resultName:i,nextLoc:n},"next"===this.method&&(this.arg=e),v}},i}t.exports=s,t.exports.__esModule=!0,t.exports.default=t.exports},560:t=>{function e(i,n){return t.exports=e=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},t.exports.__esModule=!0,t.exports.default=t.exports,e(i,n)}t.exports=e,t.exports.__esModule=!0,t.exports.default=t.exports},681:(t,e,i)=>{var n=i(314),s=i(193),r=i(121),o=i(147);t.exports=function(t,e){return n(t)||s(t,e)||r(t,e)||o()},t.exports.__esModule=!0,t.exports.default=t.exports},209:(t,e,i)=>{var n=i(660);t.exports=function(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&null!==(t=n(t)););return t},t.exports.__esModule=!0,t.exports.default=t.exports},408:(t,e,i)=>{var n=i(850),s=i(912),r=i(121),o=i(96);t.exports=function(t){return n(t)||s(t)||r(t)||o()},t.exports.__esModule=!0,t.exports.default=t.exports},64:(t,e,i)=>{var n=i(425).default;t.exports=function(t,e){if("object"!==n(t)||null===t)return t;var i=t[Symbol.toPrimitive];if(void 0!==i){var s=i.call(t,e||"default");if("object"!==n(s))return s;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)},t.exports.__esModule=!0,t.exports.default=t.exports},739:(t,e,i)=>{var n=i(425).default,s=i(64);t.exports=function(t){var e=s(t,"string");return"symbol"===n(e)?e:String(e)},t.exports.__esModule=!0,t.exports.default=t.exports},425:t=>{function e(i){return t.exports=e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},t.exports.__esModule=!0,t.exports.default=t.exports,e(i)}t.exports=e,t.exports.__esModule=!0,t.exports.default=t.exports},121:(t,e,i)=>{var n=i(748);t.exports=function(t,e){if(t){if("string"==typeof t)return n(t,e);var i=Object.prototype.toString.call(t).slice(8,-1);return"Object"===i&&t.constructor&&(i=t.constructor.name),"Map"===i||"Set"===i?Array.from(t):"Arguments"===i||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i)?n(t,e):void 0}},t.exports.__esModule=!0,t.exports.default=t.exports},841:(t,e,i)=>{var n=i(609)();t.exports=n;try{regeneratorRuntime=n}catch(t){"object"==typeof globalThis?globalThis.regeneratorRuntime=n:Function("r","regeneratorRuntime = r")(n)}},813:(t,e,i)=>{"use strict";i.r(e),i.d(e,{def_all:()=>tt});var n={};i.r(n),i.d(n,{amber:()=>S,blue:()=>g,blueGrey:()=>O,brown:()=>A,common:()=>h,cyan:()=>b,deepOrange:()=>C,deepPurple:()=>f,green:()=>w,grey:()=>E,indigo:()=>m,lightBlue:()=>y,lightGreen:()=>k,lime:()=>_,orange:()=>T,pink:()=>p,purple:()=>d,red:()=>u,teal:()=>v,yellow:()=>x});var s=i(290),r=i(506),o=i(681),a=i(408),l=i(870),c=i(100);const h={black:"#000",white:"#fff"},u={50:"#ffebee",100:"#ffcdd2",200:"#ef9a9a",300:"#e57373",400:"#ef5350",500:"#f44336",600:"#e53935",700:"#d32f2f",800:"#c62828",900:"#b71c1c",A100:"#ff8a80",A200:"#ff5252",A400:"#ff1744",A700:"#d50000"},p={50:"#fce4ec",100:"#f8bbd0",200:"#f48fb1",300:"#f06292",400:"#ec407a",500:"#e91e63",600:"#d81b60",700:"#c2185b",800:"#ad1457",900:"#880e4f",A100:"#ff80ab",A200:"#ff4081",A400:"#f50057",A700:"#c51162"},d={50:"#f3e5f5",100:"#e1bee7",200:"#ce93d8",300:"#ba68c8",400:"#ab47bc",500:"#9c27b0",600:"#8e24aa",700:"#7b1fa2",800:"#6a1b9a",900:"#4a148c",A100:"#ea80fc",A200:"#e040fb",A400:"#d500f9",A700:"#aa00ff"},f={50:"#ede7f6",100:"#d1c4e9",200:"#b39ddb",300:"#9575cd",400:"#7e57c2",500:"#673ab7",600:"#5e35b1",700:"#512da8",800:"#4527a0",900:"#311b92",A100:"#b388ff",A200:"#7c4dff",A400:"#651fff",A700:"#6200ea"},m={50:"#e8eaf6",100:"#c5cae9",200:"#9fa8da",300:"#7986cb",400:"#5c6bc0",500:"#3f51b5",600:"#3949ab",700:"#303f9f",800:"#283593",900:"#1a237e",A100:"#8c9eff",A200:"#536dfe",A400:"#3d5afe",A700:"#304ffe"},g={50:"#e3f2fd",100:"#bbdefb",200:"#90caf9",300:"#64b5f6",400:"#42a5f5",500:"#2196f3",600:"#1e88e5",700:"#1976d2",800:"#1565c0",900:"#0d47a1",A100:"#82b1ff",A200:"#448aff",A400:"#2979ff",A700:"#2962ff"},y={50:"#e1f5fe",100:"#b3e5fc",200:"#81d4fa",300:"#4fc3f7",400:"#29b6f6",500:"#03a9f4",600:"#039be5",700:"#0288d1",800:"#0277bd",900:"#01579b",A100:"#80d8ff",A200:"#40c4ff",A400:"#00b0ff",A700:"#0091ea"},b={50:"#e0f7fa",100:"#b2ebf2",200:"#80deea",300:"#4dd0e1",400:"#26c6da",500:"#00bcd4",600:"#00acc1",700:"#0097a7",800:"#00838f",900:"#006064",A100:"#84ffff",A200:"#18ffff",A400:"#00e5ff",A700:"#00b8d4"},v={50:"#e0f2f1",100:"#b2dfdb",200:"#80cbc4",300:"#4db6ac",400:"#26a69a",500:"#009688",600:"#00897b",700:"#00796b",800:"#00695c",900:"#004d40",A100:"#a7ffeb",A200:"#64ffda",A400:"#1de9b6",A700:"#00bfa5"},w={50:"#e8f5e9",100:"#c8e6c9",200:"#a5d6a7",300:"#81c784",400:"#66bb6a",500:"#4caf50",600:"#43a047",700:"#388e3c",800:"#2e7d32",900:"#1b5e20",A100:"#b9f6ca",A200:"#69f0ae",A400:"#00e676",A700:"#00c853"},k={50:"#f1f8e9",100:"#dcedc8",200:"#c5e1a5",300:"#aed581",400:"#9ccc65",500:"#8bc34a",600:"#7cb342",700:"#689f38",800:"#558b2f",900:"#33691e",A100:"#ccff90",A200:"#b2ff59",A400:"#76ff03",A700:"#64dd17"},_={50:"#f9fbe7",100:"#f0f4c3",200:"#e6ee9c",300:"#dce775",400:"#d4e157",500:"#cddc39",600:"#c0ca33",700:"#afb42b",800:"#9e9d24",900:"#827717",A100:"#f4ff81",A200:"#eeff41",A400:"#c6ff00",A700:"#aeea00"},x={50:"#fffde7",100:"#fff9c4",200:"#fff59d",300:"#fff176",400:"#ffee58",500:"#ffeb3b",600:"#fdd835",700:"#fbc02d",800:"#f9a825",900:"#f57f17",A100:"#ffff8d",A200:"#ffff00",A400:"#ffea00",A700:"#ffd600"},S={50:"#fff8e1",100:"#ffecb3",200:"#ffe082",300:"#ffd54f",400:"#ffca28",500:"#ffc107",600:"#ffb300",700:"#ffa000",800:"#ff8f00",900:"#ff6f00",A100:"#ffe57f",A200:"#ffd740",A400:"#ffc400",A700:"#ffab00"},T={50:"#fff3e0",100:"#ffe0b2",200:"#ffcc80",300:"#ffb74d",400:"#ffa726",500:"#ff9800",600:"#fb8c00",700:"#f57c00",800:"#ef6c00",900:"#e65100",A100:"#ffd180",A200:"#ffab40",A400:"#ff9100",A700:"#ff6d00"},C={50:"#fbe9e7",100:"#ffccbc",200:"#ffab91",300:"#ff8a65",400:"#ff7043",500:"#ff5722",600:"#f4511e",700:"#e64a19",800:"#d84315",900:"#bf360c",A100:"#ff9e80",A200:"#ff6e40",A400:"#ff3d00",A700:"#dd2c00"},A={50:"#efebe9",100:"#d7ccc8",200:"#bcaaa4",300:"#a1887f",400:"#8d6e63",500:"#795548",600:"#6d4c41",700:"#5d4037",800:"#4e342e",900:"#3e2723",A100:"#d7ccc8",A200:"#bcaaa4",A400:"#8d6e63",A700:"#5d4037"},E={50:"#fafafa",100:"#f5f5f5",200:"#eeeeee",300:"#e0e0e0",400:"#bdbdbd",500:"#9e9e9e",600:"#757575",700:"#616161",800:"#424242",900:"#212121",A100:"#f5f5f5",A200:"#eeeeee",A400:"#bdbdbd",A700:"#616161"},O={50:"#eceff1",100:"#cfd8dc",200:"#b0bec5",300:"#90a4ae",400:"#78909c",500:"#607d8b",600:"#546e7a",700:"#455a64",800:"#37474f",900:"#263238",A100:"#cfd8dc",A200:"#b0bec5",A400:"#78909c",A700:"#455a64"};var P=function(t){var e=["lighten","darken","accent"],i=Object.keys(t).reduce((function(t,i){var n=i.split("-");return n.length>=3&&e.includes(n[n.length-2])?[].concat(a(t),[n.slice(0,n.length-2).join("-")]):[].concat(a(t),[i])}),[]);return(i=a(new Set(i))).map((function(i){var n=Object.entries(t).reduce((function(n,s){var r=o(s,2),l=r[0],c=r[1],h=l.split("-"),u=h.slice(h.length-2).join("-");if(!(h.length>1&&n.map((function(t){return t.name})).includes(u))&&l.startsWith(i)&&h.length>=3&&e.includes(h[h.length-2])){var p=[].concat(a(n),[{name:u,hex:c}]);return"lighten-1"===u&&p.push({name:"",hex:t[i]}),p}return n}),[]);return{color:i,variants:n,hex:t[i]}}))},F=function(t){return t=t.replace("#",""),(299*parseInt(t.substr(0,2),16)+587*parseInt(t.substr(2,2),16)+114*parseInt(t.substr(4,2),16))/1e3>=128?"#333333":"#ebedef"},L=new(l((function t(){var e=this;c(this,t),s(this,"init",(function(){e.buildColorsMapAndSwatches(),e.buildColorsMeta()})),s(this,"initOptions",(function(){e.buildColorsOptionsAndTextOptions()})),s(this,"buildColorsMapAndSwatches",(function(){e.colors.forEach((function(t){var i=n[t];if(i){var s=[];s.push(i[500]),Object.entries(i).forEach((function(i){var n,r=o(i,2),a=r[0],l=r[1];("brown"!==t&&"grey"!==t&&"blueGrey"!==t||"A100"!==a&&"A200"!==a&&"A400"!==a&&"A700"!==a)&&(e.colorsMap["".concat((n=t,n.split("").map((function(t,e){return t.toUpperCase()===t?"".concat(0!==e?"-":"").concat(t.toLowerCase()):t})).join(""))).concat("500"===a?"":"-"+e.colorWeights[a]).toLowerCase()]=l,"500"!==a&&s.push(l))})),e.swatches.push(s)}})),e.colorsMap.black="#000000",e.colorsMap.white="#ffffff",e.swatches.push(["#000000","#ffffff"])})),s(this,"buildColorsMeta",(function(){e.colorsMeta=P(e.colorsMap)})),s(this,"buildColorsOptionsAndTextOptions",(function(){var t=new PgToggleButtonMaker,i=[],n=[];e.colorsMeta.forEach((function(e){var s=e.color,r=e.hex;if(s&&r){var o=s.split("-").map((function(t){return t.charAt(0).toUpperCase()+t.slice(1)})).join(" ");i.push({key:s,name:o,html:t.makeColor(r,"",{attributes:{title:o}})}),n.push({key:s,name:o,html:t.makeColorText(r,"",{attributes:{title:o}})})}})),e.colorOptions=i,e.colorTextOptions=n})),s(this,"hexToName",(function(t){var i;return""===t&&(i="none"),Object.entries(e.colorsMap).forEach((function(e){var n=o(e,2),s=n[0],r=n[1];t===r&&(i=s)})),i||t})),s(this,"nameToHex",(function(t){return""===t?"none":e.colorsMap[t.toLowerCase()]||t.toLowerCase()})),this.colors=["red","pink","purple","deepPurple","indigo","blue","lightBlue","cyan","teal","green","lightGreen","lime","yellow","amber","orange","deepOrange","brown","grey","blueGrey","black","white"],this.colorWeights={50:"lighten-5",100:"lighten-4",200:"lighten-3",300:"lighten-2",400:"lighten-1",500:"",600:"darken-1",700:"darken-2",800:"darken-3",900:"darken-4",A100:"accent-1",A200:"accent-2",A400:"accent-3",A700:"accent-4"},this.colorsMap={},this.colorsMeta=[],this.colorOptions=[],this.colorTextOptions=[],this.swatches=[],this.init()}))),M=new(l((function t(){var e=this;c(this,t),s(this,"init",(function(t){e.colorsMap=t||{},e.buildColorsMeta(),e.buildColors()})),s(this,"initOptions",(function(){e.buildColorsOptionsAndTextOptions()})),s(this,"buildColorsMeta",(function(){e.colorsMeta=P(e.colorsMap)})),s(this,"buildColors",(function(){e.colors=e.colorsMeta.map((function(t){return t.color}))})),s(this,"buildColorsOptionsAndTextOptions",(function(){var t=new PgToggleButtonMaker,i=[],n=[];e.colorsMeta.forEach((function(e){var s=e.color,r=e.hex;if(s&&r){var o=s.split("-").map((function(t){return t.charAt(0).toUpperCase()+t.slice(1)})).join(" ");i.push({key:s,name:o,html:t.makeColor(r,o,{styles:{"font-size":"11px",padding:"6px",width:"auto",height:"16px","background-color":"".concat(r),color:"".concat(r.toLowerCase().startsWith("#fff")?"#a5a5a5":F(r)),"border-radius":"3px",display:"flex","flex-direction":"column","justify-content":"center"},attributes:{title:o}})}),n.push({key:s,name:o,html:t.makeColor(r,o,{styles:{"font-size":"11px",padding:"6px",width:"auto",height:"16px",color:"".concat(r.toLowerCase().startsWith("#fff")?"#a5a5a5":"Neutral"===o?F(r):r),"border-radius":"3px",display:"flex","flex-direction":"column","justify-content":"center"},attributes:{title:o}})})}})),e.colorOptions=i,e.colorTextOptions=n})),s(this,"hexToName",(function(t){var i;return""===t&&(i="none"),Object.entries(e.colorsMap).forEach((function(e){var n=o(e,2),s=n[0],r=n[1];t===r&&(i=s)})),i||t})),s(this,"nameToHex",(function(t){return""===t?"none":e.colorsMap[t.toLowerCase()]||t.toLowerCase()})),this.colors=[],this.colorsMap={neutral:"#121212"},this.colorsMeta=[],this.colorOptions=[],this.colorTextOptions=[],this.init()})));function j(t,e){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),i.push.apply(i,n)}return i}function z(t){for(var e=1;e<arguments.length;e++){var i=null!=arguments[e]?arguments[e]:{};e%2?j(Object(i),!0).forEach((function(e){s(t,e,i[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(i)):j(Object(i)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(i,e))}))}return t}var D=function(){L.swatches,z(z({},L.colorsMap),M.colorsMap),[].concat(a(L.colorsMeta),a(M.colorsMeta)),M.colorsMap};D();var R,B=function(t){var e=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];!function(){var t;try{t=componentStateRef.state.find((function(t){return"$vuetify"===t.key}))}catch(t){}var e={};if(t){try{var i,n;e=null===(i=t)||void 0===i||null===(i=i.value)||void 0===i||null===(i=i.theme)||void 0===i||null===(i=i.global)||void 0===i||null===(i=i.current)||void 0===i?void 0:i.colors,null===(n=t)||void 0===n||null===(n=n.value)||void 0===n||null===(n=n.theme)||void 0===n||null===(n=n.global)||void 0===n||null===(n=n.current)||void 0===n||n.dark}catch(t){}e||(e={});var s=z({},e),r=Object.entries(s).reduce((function(t,e){var i=o(e,2),n=i[0],s=i[1];if(n.startsWith("background")||n.startsWith("surface")||n.startsWith("on-"))return t;var r={};return r[n]=s,z(z({},t),r)}),{});R=z(z({},r),{},{transparent:"#ffffff"}),function(t){t||(t={background:"#ffffff",surface:"#ffffff",primary:"#7e68b1","primary-darken-1":"#6750a4",secondary:"#787285","secondary-darken-1":"#625b71",tertiary:"#906a76","tertiary-darken-1":"#7d5260",success:"#2e7d32",warning:"#ed6c02",error:"#d32f2f",info:"#0288d1",neutral:"#121212",transparent:"#ffffff"});try{var e=z(z({},{}),t());e=Object.fromEntries(Object.entries(e).map((function(t){var e=o(t,2),i=e[0],n=e[1];return[i.toLowerCase(),n.toLowerCase()]}))),M.init(e),D(),L.initOptions(),M.initOptions(),[].concat(a(L.colorOptions),a(M.colorOptions)),[].concat(a(L.colorTextOptions),a(M.colorTextOptions))}catch(t){}}((function(){return R}))}}();var i=[],n=[],s=[],r=e?[].concat(a(M.colorsMeta.map((function(t){return z(z({},t),{},{palette:!0})}))),a(L.colorsMeta)):L.colorsMeta,l=["lighten","darken","accent"];return r.forEach((function(e){var r=[];e.variants.forEach((function(i){var o="".concat(e.color).concat(i.name?"-".concat(i.name):""),a={key:"".concat(t).concat(o),name:o,color:i.hex},c=o.split("-");e.palette&&c.length>=2&&l.includes(c[c.length-2])&&(a.second_row=!0),e.palette&&!a.second_row&&n.push(a),a.second_row||"white"===e.color||"black"===e.color||"transparent"===e.color?s.push(a):r.push(a)}));var o=e.color.split("-");e.palette&&o.length>=2&&l.includes(o[o.length-2])&&(a.second_row=!0);var a={key:"".concat(t).concat(e.color),name:"".concat(e.color),color:e.hex};e.palette&&!a.second_row&&n.push(a),a.second_row||"white"===e.color||"black"===e.color||"transparent"===e.color?s.push(a):e.palette||e.variants.length||r.push(a),r.length&&i.push(r)})),[n,s].concat(i)};function I(t,e){var i="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!i){if(Array.isArray(t)||(i=function(t,e){if(t){if("string"==typeof t)return N(t,e);var i=Object.prototype.toString.call(t).slice(8,-1);return"Object"===i&&t.constructor&&(i=t.constructor.name),"Map"===i||"Set"===i?Array.from(t):"Arguments"===i||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i)?N(t,e):void 0}}(t))||e&&t&&"number"==typeof t.length){i&&(t=i);var n=0,s=function(){};return{s,n:function(){return n>=t.length?{done:!0}:{done:!1,value:t[n++]}},e:function(t){throw t},f:s}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var r,o=!0,a=!1;return{s:function(){i=i.call(t)},n:function(){var t=i.next();return o=t.done,t},e:function(t){a=!0,r=t},f:function(){try{o||null==i.return||i.return()}finally{if(a)throw r}}}}function N(t,e){(null==e||e>t.length)&&(e=t.length);for(var i=0,n=new Array(e);i<e;i++)n[i]=t[i];return n}function W(t,e){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),i.push.apply(i,n)}return i}var $,q=function(t,e){var i={"lighten-5":"1","lighten-4":"2","lighten-3":"3","lighten-2":"4","lighten-1":"5","darken-1":"7","darken-2":"8","darken-3":"9","darken-4":"10","accent-1":"11","accent-2":"12","accent-3":"13","accent-4":"14"};return t.forEach((function(t){var e;t.forEach((function(t){if(t&&t.key){var n=Object.keys(i).reduce((function(e,i){return e&&!t.key.endsWith(i)}),!0);"white"!==t.name&&"black"!==t.name&&n?(e=function(t){for(var e=1;e<arguments.length;e++){var i=null!=arguments[e]?arguments[e]:{};e%2?W(Object(i),!0).forEach((function(e){s(t,e,i[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(i)):W(Object(i)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(i,e))}))}return t}({},t),t.key="".concat(t.key,"-6"),t.name="".concat(t.name,"-6")):Object.entries(i).forEach((function(e){var i=o(e,2),n=i[0],s=i[1];t.key=t.key.replace(n,s),t.name=t.name.replace(n,s)}))}})),e&&t.unshift(e)})),Object.entries({brown:{11:"#d7ccc8",12:"#bcaaa4",13:"#8d6e63",14:"#5d4037"},grey:{11:"#f5f5f5",12:"#eee",13:"#bdbdbd",14:"#616161"},"blue-grey":{11:"#cfd8dc",12:"#b0bec5",13:"#78909c",14:"#455a64"}}).forEach((function(i){var n=o(i,2),s=n[0],r=n[1],a=t.find((function(t){var e;return(null===(e=t[0])||void 0===e?void 0:e.name)==="".concat(s,"-1")}));a&&Object.entries(r).forEach((function(t){var i=o(t,2),n=i[0],r=i[1];a.push({key:"".concat(e,"-").concat(s,"-").concat(n),name:"".concat(s,"-").concat(n),color:r})}))})),t},U=function(t,e){var i=q(B(t,e),t),n=[];return i.forEach((function(t){t.forEach((function(t){n.push({key:"".concat(t.key),name:"".concat(t.name),color:t.color})}))})),n},G=function(t,e,i){var n=t||"text-";return{type:"color",name:e||"Color",show_empty:!0,toggle_buttons:!0,options:function(){return U(n,!0)},fill_list_on_open:!0,text_color:"text-"===n,colors:function(t){return q(B(n),n)},parent_section_id:i,action:"custom",get_value:function(t,e,i,s){var r,o=U(n,!0).map((function(t){return t.key})),a=I(t.getClasses());try{for(a.s();!(r=a.n()).done;){var l=r.value;if(o.includes(l))return l}}catch(t){a.e(t)}finally{a.f()}},set_value:function(t,e,i,s,r,o,a){var l=U("".concat(n,"-"),!0).map((function(t){return t.key})),c=t.getClasses(),h=!1;if(c.length){var u,p=I(c);try{for(p.s();!(u=p.n()).done;){var d=u.value;(s===d||l.includes(d))&&(t.removeClass(d),h=!0)}}catch(t){p.e(t)}finally{p.f()}}return e&&(t.addClass(e),h=!0),h&&pinegrow.reselectElement(t),e}}},H=r.MS.getQuasarColor=function(t){switch(t){case"primary":return"#1976d2";case"secondary":return"#26A69A";case"accent":return"#9C27B0";case"dark":return"#1d1d1d";case"positive":return"#21BA45";case"negative":return"#C10015";case"info":return"#31CCEC";case"warning":return"#F2C037";case"white":default:return"#fff";case"black":return"#000"}},V=r.MS.getButtonTypeToggleButton=function(t,e,i,n){var s={};if(e&&(s.title=e),n=n||t,"link"==t)return r.bm.makeColor(null,"T",{"text-decoration":"underline",attributes:s});var o={title:t,default_color:H(t)};return i&&(o.height=i),r.bm.makeColorFromCSSVariable("--q-"+n,o)},Y=r.MS.getQuasarPaletteOptions=function(t){return[{key:"".concat(t,"-primary"),name:"Primary",html:"text"===t?r.bm.makeColorTextFromCSSVariable("--q-primary",{title:"Primary",default_color:H("primary")}):V("primary","Primary",null,"primary"),ahtml:r.bm.makeColorText(H("primary"))},{key:"".concat(t,"-secondary"),name:"Secondary",html:"text"===t?r.bm.makeColorTextFromCSSVariable("--q-secondary",{title:"Secondary",default_color:H("secondary")}):V("secondary","Secondary",null,"secondary"),ahtml:r.bm.makeColorText(H("secondary"))},{key:"".concat(t,"-accent"),name:"Accent",html:"text"===t?r.bm.makeColorTextFromCSSVariable("--q-accent",{title:"Accent",default_color:H("accent")}):V("accent","Accent",null,"accent"),ahtml:r.bm.makeColorText(H("accent"))},{key:"".concat(t,"-dark"),name:"Dark",html:"text"===t?r.bm.makeColorTextFromCSSVariable("--q-dark",{title:"Dark",default_color:H("dark")}):V("dark","Dark",null,"dark"),ahtml:r.bm.makeColorText(H("dark"))},{key:"".concat(t,"-positive"),name:"Positive",html:"text"===t?r.bm.makeColorTextFromCSSVariable("--q-positive",{title:"Positive",default_color:H("positive")}):V("positive","Positive",null,"positive"),ahtml:r.bm.makeColorText(H("positive"))},{key:"".concat(t,"-negative"),name:"Negative",html:"text"===t?r.bm.makeColorTextFromCSSVariable("--q-negative",{title:"Negative",default_color:H("negative")}):V("negative","Negative",null,"negative"),ahtml:r.bm.makeColorText(H("negative"))},{key:"".concat(t,"-info"),name:"Info",html:"text"===t?r.bm.makeColorTextFromCSSVariable("--q-info",{title:"Info",default_color:H("info")}):V("info","Info",null,"info"),ahtml:r.bm.makeColorText(H("info"))},{key:"".concat(t,"-warning"),name:"Warning",html:"text"===t?r.bm.makeColorTextFromCSSVariable("--q-warning",{title:"Warning",default_color:H("warning")}):V("warning","Warning",null,"warning"),ahtml:r.bm.makeColorText(H("warning"))},{key:"".concat(t,"-white"),name:"White",html:"text"===t?r.bm.makeColorTextFromCSSVariable("--q-white",{title:"White",default_color:H("white")}):r.bm.makeColor("#fff","",{attributes:{title:"White"}}),ahtml:r.bm.makeColorText(H("white"))},{key:"".concat(t,"-black"),name:"Black",html:"text"===t?r.bm.makeColorTextFromCSSVariable("--q-black",{title:"Black",default_color:H("black")}):r.bm.makeColor("#000","",{attributes:{title:"Black"}}),ahtml:r.bm.makeColorText(H("black"))}]},J=i(991),Z=i(161),Q=function(t){return t.children,t.children.reduce((function(t,e){var i=e.getClasses().reduce((function(t,e){return t||e.startsWith("col")||e.startsWith("offset")}),!1);return t||i}),!1)},X=function(t){return!Q(t)},K=function(t){return function(){return{name:"column"===t?"Column Gutter":"Gutter",on_section_shown:r.vz,show_if:"column"===t?Q:X,fields:s({},"".concat(t,"_gutter'"),{type:"custom",name:"".concat(t,"_gutter'"),action:"none",control:(0,r.of)(t)})}}},tt=new PgComponentType(r.O4+"all","All elements",{selector:function(t){return J.hC},name:"Div",display_name:"tag",priority:2001,sections:(0,r.e9)({textcolor:{name:"Text Color",compact:!0,fields:{palette:{type:"select",name:"Palette",action:"apply_class",show_empty:!0,toggle_buttons:!0,options:function(){return Y("text")}},swatches:G("text-","Swatches",r.O4+"textcolor")}},typography:{name:"Typography",fields:{typography:($={name:"Typography",action:"none",type:"select"},s($,"action","apply_class"),s($,"show_empty",!0),s($,"toggle_buttons",!0),s($,"options",[{key:"text-h1",name:"1",html:r.bm.makeText("H1",{attributes:{title:"Heading 1"}})},{key:"text-h2",name:"2",html:r.bm.makeText("H2",{attributes:{title:"Heading 2"}})},{key:"text-h3",name:"3",html:r.bm.makeText("H3",{attributes:{title:"Heading 3"}})},{key:"text-h4",name:"4",html:r.bm.makeText("H4",{attributes:{title:"Heading 4"}})},{key:"text-h5",name:"5",html:r.bm.makeText("H5",{attributes:{title:"Heading 5"}})},{key:"text-h6",name:"6",html:r.bm.makeText("H6",{attributes:{title:"Heading 6"}})},{key:"text-subtitle-1",name:"Subtitle 1",html:r.bm.makeText("Subtitle 1",{attributes:{title:"Subtitle 1"}})},{key:"text-subtitle-2",name:"Subtitle 2",html:r.bm.makeText("Subtitle 2",{attributes:{title:"Subtitle 2"}})},{key:"text-body-1",name:"Body 1",html:r.bm.makeText("Body 1",{attributes:{title:"Body 1"}})},{key:"text-body-2",name:"Body 2",html:r.bm.makeText("Body 2",{attributes:{title:"Body 2"}})},{key:"text-caption",name:"Caption",html:r.bm.makeText("Caption",{attributes:{title:"Caption"}})},{key:"text-overline",name:"Overline",html:r.bm.makeText("Overline",{attributes:{title:"Overline"}})}]),$),fontweight:{type:"select",name:"Font weight",action:"apply_class",show_empty:!0,toggle_buttons:!0,options:[{key:"text-weight-bolder",name:"Bolder",html:r.bm.makeText("Bolder",{attributes:{title:"Bolder"}})},{key:"text-weight-bold",name:"Bold",html:r.bm.makeText("Bold",{attributes:{title:"Bold"}})},{key:"text-weight-medium",name:"Medium",html:r.bm.makeText("Medium",{attributes:{title:"Medium"}})},{key:"text-weight-regular",name:"Regular",html:r.bm.makeText("Regular",{attributes:{title:"Regular"}})},{key:"text-weight-light",name:"Light",html:r.bm.makeText("Light",{attributes:{title:"Light"}})},{key:"text-weight-thin",name:"Thin",html:r.bm.makeText("Thin",{attributes:{title:"Thin"}})}]},textalign:{name:"Text align",type:"select",action:"apply_class",show_empty:!0,toggle_buttons:!0,options:[{key:"text-left",name:"Left",html:r.bm.makeIcon("align-left",{attributes:{title:"Left"}})},{key:"text-center",name:"Center",html:r.bm.makeIcon("align-center",{attributes:{title:"Center"}})},{key:"text-right",name:"Right",html:r.bm.makeIcon("align-right",{attributes:{title:"Right"}})},{key:"text-justify",name:"Justify",html:r.bm.makeIcon("align-full",{attributes:{title:"Justify"}})}]},transform:{type:"select",name:"Transform",action:"apply_class",show_empty:!0,toggle_buttons:!0,options:[{key:"text-lowercase",name:"Lowercase",html:r.bm.makeIcon("lowercase")},{key:"text-uppercase",name:"Uppercase",html:r.bm.makeIcon("uppercase")},{key:"text-capitalize",name:"Capitalize",html:r.bm.makeIcon("sentence-case")}]},whitespace:{type:"checkbox",name:"No Wrap",action:"apply_class",value:"text-no-wrap"},fontstyle:{type:"checkbox",name:"Italic",action:"apply_class",value:"text-italic"},fontbold:{type:"checkbox",name:"Bold",action:"apply_class",value:"text-bold"},decoration:{type:"checkbox",name:"Line through",action:"apply_class",value:"text-strike"}}},background:{name:"Background Color",compact:!0,fields:{bg_palette:{type:"select",name:"Palette",action:"apply_class",show_empty:!0,toggle_buttons:!0,options:function(){return Y("bg")}},bg_swatches:G("bg-","Swatches",r.O4+"background"),dimmed:{type:"select",name:"Dimmed",action:"apply_class",show_empty:!0,toggle_buttons:!0,options:[{key:"transparent",name:"Transparent",html:r.bm.makeText("Transparent",{attributes:{title:"Transparent"}})},{key:"dimmed",name:"Dimmed",html:r.bm.makeText("Dimmed",{attributes:{title:"Dimmed"}})},{key:"light-dimmed",name:"Light Dimmed",html:r.bm.makeText("Light Dimmed",{attributes:{title:"Light Dimmed"}})}]},glossy:{type:"checkbox",name:"Glossy",action:"apply_class",value:"glossy"}}},spacing:{name:"Spacing",on_section_shown:r.vz,fields:{margin_control:{type:"custom",name:"Spacing",action:"none",control:(0,r.Cw)()},no_margin:{type:"checkbox",name:"No Margin",action:"apply_class",value:"no-margin"},no_padding:{type:"checkbox",name:"No Padding",action:"apply_class",value:"no-padding"}}},dimension:{name:"Dimension",fields:{display:{type:"select",name:"Display",action:"apply_class",show_empty:!0,toggle_buttons:!0,options:[{key:"block",name:"Block",html:r.bm.makeText("Block",{attributes:{title:"Block"}})},{key:"inline-block",name:"Inline Block",html:r.bm.makeText("Inline Block",{attributes:{title:"Inline Block"}})}]},width:{type:"select",name:"Width",action:"apply_class",show_empty:!0,toggle_buttons:!0,options:[{key:"full-width",name:"Full Width",html:r.bm.makeText("Full Width",{attributes:{title:"Full Width"}})},{key:"window-width",name:"Window Width",html:r.bm.makeText("Window Width",{attributes:{title:"Window Width"}})}]},height:{type:"select",name:"Height",action:"apply_class",show_empty:!0,toggle_buttons:!0,options:[{key:"full-height",name:"Full Height",html:r.bm.makeText("Full Height",{attributes:{title:"Full Height"}})},{key:"window-height",name:"Window Height",html:r.bm.makeText("Window Height",{attributes:{title:"Window Height"}})}]},fit:{type:"checkbox",name:"Fit",action:"apply_class",value:"fit"}}},visibility:{name:"Visibility",fields:{disabled:{type:"checkbox",name:"Disabled",action:"apply_class",value:"disabled"},hidden:{type:"checkbox",name:"Hidden (display:none)",action:"apply_class",value:"hidden"},invisible:{type:"checkbox",name:"Invisible (visibility:hidden)",action:"apply_class",value:"invisible"},readonly:{type:"checkbox",name:"Readonly",action:"apply_class",value:"readonly"},ellipsis:{type:"select",name:"Ellipsis",action:"apply_class",show_empty:!0,toggle_buttons:!0,options:[{key:"ellipsis",name:"Ellipsis",html:r.bm.makeText("Ellipsis",{attributes:{title:"Ellipsis"}})},{key:"ellipsis-2-lines",name:"Ellipsis 2 lines",html:r.bm.makeText("Ellipsis 2 lines",{attributes:{title:"Ellipsis 2 lines"}})},{key:"ellipsis-3-lines",name:"Ellipsis 3 lines",html:r.bm.makeText("Ellipsis 3 lines",{attributes:{title:"Ellipsis 3 lines"}})}]},zindex:{type:"select",name:"Z-index",action:"apply_class",show_empty:!0,toggle_buttons:!0,options:[{key:"z-top",name:"Z Top",html:r.bm.makeText("Z Top",{attributes:{title:"Z Top"}})},{key:"z-max",name:"Z Max",html:r.bm.makeText("Z Max",{attributes:{title:"Z Max"}})}]},orientation:{type:"select",name:"Orientation",action:"apply_class",show_empty:!0,toggle_buttons:!0,options:[{key:"orientation-portrait",name:"Portrait",html:r.bm.makeText("Portrait",{attributes:{title:"Portrait"}})},{key:"orientation-landscape",name:"Landscape",html:r.bm.makeText("Landscape",{attributes:{title:"Landscape"}})}]},platform_only:{type:"select",name:"Only in Platform",action:"apply_class",show_empty:!0,options:[{key:"desktop-only",name:"Desktop"},{key:"mobile-only",name:"Mobile"},{key:"native-mobile-only",name:"Native Mobile"},{key:"cordova-only",name:"Cordova"},{key:"capacitor-only",name:"Capacitor"},{key:"electron-only",name:"Electron"},{key:"touch-only",name:"Touch"},{key:"platform-ios-only",name:"iOS"},{key:"platform-android-only",name:"Android"},{key:"within-iframe-only",name:"iframe"}]},platform_hide:{type:"select",name:"Hide in Platform",action:"apply_class_multiple",show_empty:!0,multiple:!0,options:[{key:"desktop-hide",name:"Desktop"},{key:"mobile-hide",name:"Mobile"},{key:"native-mobile-hide",name:"Native Mobile"},{key:"cordova-hide",name:"Cordova"},{key:"capacitor-hide",name:"Capacitor"},{key:"electron-hide",name:"Electron"},{key:"touch-hide",name:"Touch"},{key:"platform-ios-hide",name:"iOS"},{key:"platform-android-hide",name:"Android"},{key:"within-iframe-hide",name:"iframe"}]},print:{type:"select",name:"Print",action:"apply_class",show_empty:!0,options:[{key:"print-only",name:"Print only"},{key:"print-hide",name:"Screen only"}]}}},position:{name:"Position",fields:{position_common:{type:"select",name:"Position",action:"apply_class",show_empty:!0,options:[{key:"fullscreen",name:"Fullscreen"},{key:"relative-position",name:"Relative Position"},{key:"absolute",name:"Absolute"},{key:"absolute-full",name:"Absolute Full"},{key:"absolute-center",name:"Absolute Center"},{key:"absolute-bottom",name:"Absolute Bottom"},{key:"absolute-left",name:"Absolute Left"},{key:"absolute-right",name:"Absolute Right"},{key:"absolute-top",name:"Absolute Top"},{key:"absolute-top-left",name:"Absolute Top Left"},{key:"absolute-top-right",name:"Absolute Top Right"},{key:"absolute-bottom-left",name:"Absolute Bottom Left"},{key:"absolute-bottom-right",name:"Absolute Bottom Right"},{key:"fixed",name:"Fixed"},{key:"fixed-full",name:"Fixed Full"},{key:"fixed-center",name:"Fixed Center"},{key:"fixed-bottom",name:"Fixed Bottom"},{key:"fixed-left",name:"Fixed Left"},{key:"fixed-right",name:"Fixed Right"},{key:"fixed-top",name:"Fixed Top"},{key:"fixed-top-left",name:"Fixed Top Left"},{key:"fixed-top-right",name:"Fixed Top Right"},{key:"fixed-bottom-left",name:"Fixed Bottom Left"},{key:"fixed-bottom-right",name:"Fixed Bottom Right"}]},horizontal_alignment:{type:"select",name:"Horizontal Alignment",action:"apply_class",show_empty:!0,toggle_buttons:!0,options:[{key:"on-left",name:"On Left",html:r.bm.makeText("On Left",{attributes:{title:"On Left"}})},{key:"on-right",name:"On Right",html:r.bm.makeText("On Right",{attributes:{title:"On Right"}})}]},vertical_alignment:{type:"select",name:"Vertical Alignment",action:"apply_class",show_empty:!0,toggle_buttons:!0,options:[{key:"vertical-top",name:"Top",html:r.bm.makeText("Top",{attributes:{title:"Top"}})},{key:"vertical-middle",name:"Middle",html:r.bm.makeText("Middle",{attributes:{title:"Middle"}})},{key:"vertical-bottom",name:"Bottom",html:r.bm.makeText("Bottom",{attributes:{title:"Bottom"}})}]}}},overflow:{name:"Overflow",fields:{overflow:{type:"select",name:"Scroll",action:"apply_class",show_empty:!0,options:[{key:"scroll",name:"Scroll"},{key:"no-scroll",name:"No Scroll"},{key:"overflow-auto",name:"Overflow Auto"},{key:"overflow-hidden",name:"Overflow Hidden"},{key:"overflow-hidden-y",name:"Overflow Hidden Y"},{key:"hide-scrollbar",name:"Hide Scrollbar"}]}}},mouse:{name:"Mouse",compact:!0,fields:{user_select:{type:"checkbox",name:"Non selectable",action:"apply_class",value:"non-selectable"},pointer_events:{type:"select",name:"Pointer Events",action:"apply_class",show_empty:!0,toggle_buttons:!0,options:[{key:"no-pointer-events\t",name:"None",html:r.bm.makeText("None",{attributes:{title:"None"}})},{key:"all-pointer-events\t",name:"All",html:r.bm.makeText("All",{attributes:{title:"All"}})}]},cursor:{type:"select",name:"Cursor",action:"apply_class",show_empty:!0,toggle_buttons:!0,options:[{key:"cursor-pointer",name:"Pointer",html:r.bm.makeText("Pointer",{attributes:{title:"Pointer"}})},{key:"cursor-not-allowed",name:"Not Allowed",html:r.bm.makeText("Not Allowed",{attributes:{title:"Not Allowed"}})},{key:"cursor-inherit",name:"Inherit",html:r.bm.makeText("Inherit",{attributes:{title:"Inherit"}})},{key:"cursor-none",name:"None",html:r.bm.makeText("None",{attributes:{title:"None"}})}]}}},elevation:{name:"Elevation",compact:!0,fields:{shadow:{type:"select",name:"Shadow",action:"apply_class",show_empty:!0,draggable_list:!0,options:function(){for(var t=[{key:"no-shadow",name:"No Shadow"},{key:"inset-shadow",name:"Inset Shadow"},{key:"inset-shadow-down",name:"Inset Shadow Down"}],e=0;e<=24;e++)t.push({key:"shadow-"+e,name:"shadow-"+e});for(e=0;e<=24;e++)t.push({key:"shadow-up-"+e,name:"shadow-up-"+e});return t}},shadow_transition:{type:"checkbox",name:"Shadow Transition",action:"apply_class",value:"shadow-transition"}}},border:{name:"Border",fields:{border_radius:{type:"select",name:"Border Radius",action:"apply_class",show_empty:!0,toggle_buttons:!0,options:[{key:"rounded-borders",name:"Rounded Borders",html:r.bm.makeText("Rounded Borders",{attributes:{title:"Rounded Borders"}})},{key:"border-radius-inherit",name:"Border Radius Inherit",html:r.bm.makeText("Border Radius Inherit",{attributes:{title:"Border Radius Inherit"}})},{key:"no-border-radius",name:"No Border Radius",html:r.bm.makeText("No Border Radius",{attributes:{title:"No Border Radius"}})}]},no_border:{type:"checkbox",name:"No Border",action:"apply_class",value:"no-border"},no_border_shadow:{type:"checkbox",name:"No Border Shadow",action:"apply_class",value:"no-border-shadow"},no_outline:{type:"checkbox",name:"No Outline",action:"apply_class",value:"no-outline"}}},flexcontainer:{name:"Flex / Row / Column",on_section_shown:r.vz,fields:{flex_direction:{type:"custom",name:"flex_direction",action:"none",control:(0,r.ac)("flex.direction","Direction",(function(t,e){return{type:"select",name:(0,r.qV)("Direction",t),action:"apply_class",show_empty:!0,toggle_buttons:!0,options:[{key:"flex"+(e||""),name:"Flex",html:r.bm.makeIcon("Pin22",{attributes:{title:"Flex"}})},{key:"row"+(e||""),name:"Row",html:r.bm.makeIcon("225",{attributes:{title:"Row"}})},{key:"column"+(e||""),name:"Column",html:r.bm.makeIcon("227",{attributes:{title:"Column"}})}]}}))},flex_display:{type:"custom",name:"Display",action:"none",control:(0,r.ac)("flex_display","Display",(function(t,e){return{type:"checkbox",name:"Inline flex",action:"apply_class",value:"inline"+(e||"")}}))},flex_reverse:{type:"custom",name:"Direction",action:"none",control:(0,r.ac)("flex_reverse","Direction",(function(t,e){return{type:"checkbox",name:"Reverse",action:"apply_class",value:"reverse"+(e||"")}}))},flex_justify_content:{type:"custom",name:"Justify content",action:"none",control:(0,r.ac)("flex_justify_content","Justify content",(function(t,e){var i="justify"+(e||"")+"-";return{type:"select",name:(0,r.qV)("Justify content",t),action:"apply_class",show_empty:!0,toggle_buttons:!0,options:[{key:i+"start",name:"",html:r.bm.makeIcon("223",{attributes:{title:"Start"}})},{key:i+"end",name:"",html:r.bm.makeIcon("218",{attributes:{title:"End"}})},{key:i+"center",name:"",html:r.bm.makeIcon("219",{attributes:{title:"Center"}})},{key:i+"between",name:"",html:r.bm.makeIcon("206",{attributes:{title:"Between"}})},{key:i+"around",name:"",html:r.bm.makeIcon("205",{attributes:{title:"Around"}})},{key:i+"evenly",name:"",html:r.bm.makeIcon("205",{attributes:{title:"Evenly"}})}]}}))},flex_align_items:{type:"custom",name:"Align items",action:"none",control:(0,r.ac)("flex_align_items","Align items",(function(t,e){var i="items"+(e||"")+"-";return{type:"select",name:(0,r.qV)("Align items",t),action:"apply_class",show_empty:!0,toggle_buttons:!0,options:[{key:i+"start",name:"",html:r.bm.makeIcon("223",{attributes:{title:"Start"}})},{key:i+"end",name:"",html:r.bm.makeIcon("220",{attributes:{title:"End"}})},{key:i+"center",name:"",html:r.bm.makeIcon("221",{attributes:{title:"Center"}})},{key:i+"baseline",name:"",html:r.bm.makeIcon("212",{attributes:{title:"Baseline"}})},{key:i+"stretch",name:"",html:r.bm.makeIcon("214",{attributes:{title:"Stretch"}})}]}}))},flex_align_content:{type:"custom",name:"Align content",action:"none",control:(0,r.ac)("flex_align_content","Align content",(function(t,e){var i="content"+(e||"")+"-";return{type:"select",name:(0,r.qV)("Align content",t),action:"apply_class",show_empty:!0,toggle_buttons:!0,options:[{key:i+"start",name:"",html:r.bm.makeIcon("217",{attributes:{title:"Start"}})},{key:i+"end",name:"",html:r.bm.makeIcon("216",{attributes:{title:"End"}})},{key:i+"center",name:"",html:r.bm.makeIcon("215",{attributes:{title:"Center"}})},{key:i+"between",name:"",html:r.bm.makeIcon("210",{attributes:{title:"Between"}})},{key:i+"around",name:"",html:r.bm.makeIcon("209",{attributes:{title:"Around"}})},{key:i+"stretch",name:"",html:r.bm.makeIcon("214",{attributes:{title:"Stretch"}})}]}}))},flex_wrap:{type:"custom",name:"Wrap",action:"none",control:(0,r.ac)("flex_wrap","Wrap",(function(t,e){var i=e||"";return{type:"select",name:(0,r.qV)("Wrap",t),action:"apply_class",show_empty:!0,toggle_buttons:!0,options:[{key:"no-wrap"+i,name:"",html:r.bm.makeIcon("203",{attributes:{title:"No wrap"}})},{key:"wrap"+i,name:"",html:r.bm.makeIcon("204",{attributes:{title:"Wrap"}})},{key:"reverse-wrap"+i,name:"",html:r.bm.makeIcon("202",{attributes:{title:"Wrap reverse"}})}]}}))}}},gutter:K("any")(),gutter_col:K("column")(),flexchild:(0,Z.D)("flexchild")(),columns:(0,Z.D)("column")(),transform:{name:"Transform and Transition",fields:{rotate:{type:"select",name:"Rotate by degrees",action:"apply_class",show_empty:!0,toggle_buttons:!0,options:[{key:"rotate-45",name:"rotate-45",html:r.bm.makeText("45",{attributes:{title:"45"}})},{key:"rotate-90",name:"rotate-90",html:r.bm.makeText("90",{attributes:{title:"90"}})},{key:"rotate-135",name:"rotate-135",html:r.bm.makeText("135",{attributes:{title:"135"}})},{key:"rotate-180",name:"rotate-180",html:r.bm.makeText("180",{attributes:{title:"180"}})},{key:"rotate-225",name:"rotate-225",html:r.bm.makeText("225",{attributes:{title:"225"}})},{key:"rotate-270",name:"rotate-270",html:r.bm.makeText("270",{attributes:{title:"270"}})},{key:"rotate-315",name:"rotate-315",html:r.bm.makeText("315",{attributes:{title:"315"}})},{key:"flip-horizontal",name:"flip-horizontal",html:r.bm.makeText("Flip Horizontal",{attributes:{title:"Flip Horizontal"}})},{key:"flip-vertical",name:"flip-vertical",html:r.bm.makeText("Flip Vertical",{attributes:{title:"Flip Vertical"}})}]},transition:{type:"select",name:"Transition",action:"apply_class",show_empty:!0,toggle_buttons:!0,options:[{key:"no-transition",name:"No Transition",html:r.bm.makeText("No Transition",{attributes:{title:"No Transition"}})},{key:"transition-0",name:"Transition 0s",html:r.bm.makeText("Transition 0s",{attributes:{title:"Transition 0s"}})}]}}}})});r.MS.addComponentType(tt)},259:(t,e,i)=>{"use strict";i.d(e,{c:()=>mn});var n=i(290);function s(t,e){return e?e.toUpperCase():""}var r=/-(\w)/g,o=function(t){return t&&t.replace(r,s)},a=function(t){return t.split("").map((function(t,e){return t.toUpperCase()===t?"".concat(0!==e?"-":"").concat(t.toLowerCase()):t})).map((function(t){return t.startsWith("-")&&!isNaN(+t[1])?t.replace("-",""):t})).join("")},l=i(681),c=i(461),h=i(841),u=i(199);const p=t=>{if("string"!=typeof t)throw new TypeError("invalid pattern");if(t.length>65536)throw new TypeError("pattern is too long")},d={"[:alnum:]":["\\p{L}\\p{Nl}\\p{Nd}",!0],"[:alpha:]":["\\p{L}\\p{Nl}",!0],"[:ascii:]":["\\x00-\\x7f",!1],"[:blank:]":["\\p{Zs}\\t",!0],"[:cntrl:]":["\\p{Cc}",!0],"[:digit:]":["\\p{Nd}",!0],"[:graph:]":["\\p{Z}\\p{C}",!0,!0],"[:lower:]":["\\p{Ll}",!0],"[:print:]":["\\p{C}",!0],"[:punct:]":["\\p{P}",!0],"[:space:]":["\\p{Z}\\t\\r\\n\\v\\f",!0],"[:upper:]":["\\p{Lu}",!0],"[:word:]":["\\p{L}\\p{Nl}\\p{Nd}\\p{Pc}",!0],"[:xdigit:]":["A-Fa-f0-9",!1]},f=t=>t.replace(/[[\]\\-]/g,"\\$&"),m=t=>t.join(""),g=(t,e)=>{const i=e;if("["!==t.charAt(i))throw new Error("not in a brace expression");const n=[],s=[];let r=i+1,o=!1,a=!1,l=!1,c=!1,h=i,u="";t:for(;r<t.length;){const e=t.charAt(r);if("!"!==e&&"^"!==e||r!==i+1){if("]"===e&&o&&!l){h=r+1;break}if(o=!0,"\\"!==e||l){if("["===e&&!l)for(const[e,[o,l,c]]of Object.entries(d))if(t.startsWith(e,r)){if(u)return["$.",!1,t.length-i,!0];r+=e.length,c?s.push(o):n.push(o),a=a||l;continue t}l=!1,u?(e>u?n.push(f(u)+"-"+f(e)):e===u&&n.push(f(e)),u="",r++):t.startsWith("-]",r+1)?(n.push(f(e+"-")),r+=2):t.startsWith("-",r+1)?(u=e,r+=2):(n.push(f(e)),r++)}else l=!0,r++}else c=!0,r++}if(h<r)return["",!1,0,!1];if(!n.length&&!s.length)return["$.",!1,t.length-i,!0];if(0===s.length&&1===n.length&&/^\\?.$/.test(n[0])&&!c){return[(p=2===n[0].length?n[0].slice(-1):n[0],p.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&")),!1,h-i,!1]}var p;const g="["+(c?"^":"")+m(n)+"]",y="["+(c?"":"^")+m(s)+"]";return[n.length&&s.length?"("+g+"|"+y+")":n.length?g:y,a,h-i,!0]},y=(t,{windowsPathsNoEscape:e=!1}={})=>e?t.replace(/\[([^\/\\])\]/g,"$1"):t.replace(/((?!\\).|^)\[([^\/\\])\]/g,"$1$2").replace(/\\([^\/])/g,"$1"),b=new Set(["!","?","+","*","@"]),v=t=>b.has(t),w="(?!\\.)",k=new Set(["[","."]),_=new Set(["..","."]),x=new Set("().*{}+?[]^$\\!"),S="[^/]",T=S+"*?",C=S+"+?";class A{type;#t;#e;#i=!1;#n=[];#s;#r;#o;#a=!1;#l;#c;#h=!1;constructor(t,e,i={}){this.type=t,t&&(this.#e=!0),this.#s=e,this.#t=this.#s?this.#s.#t:this,this.#l=this.#t===this?i:this.#t.#l,this.#o=this.#t===this?[]:this.#t.#o,"!"!==t||this.#t.#a||this.#o.push(this),this.#r=this.#s?this.#s.#n.length:0}get hasMagic(){if(void 0!==this.#e)return this.#e;for(const t of this.#n)if("string"!=typeof t&&(t.type||t.hasMagic))return this.#e=!0;return this.#e}toString(){return void 0!==this.#c?this.#c:this.type?this.#c=this.type+"("+this.#n.map((t=>String(t))).join("|")+")":this.#c=this.#n.map((t=>String(t))).join("")}#u(){if(this!==this.#t)throw new Error("should only call on root");if(this.#a)return this;let t;for(this.toString(),this.#a=!0;t=this.#o.pop();){if("!"!==t.type)continue;let e=t,i=e.#s;for(;i;){for(let n=e.#r+1;!i.type&&n<i.#n.length;n++)for(const e of t.#n){if("string"==typeof e)throw new Error("string part in extglob AST??");e.copyIn(i.#n[n])}e=i,i=e.#s}}return this}push(...t){for(const e of t)if(""!==e){if("string"!=typeof e&&!(e instanceof A&&e.#s===this))throw new Error("invalid part: "+e);this.#n.push(e)}}toJSON(){const t=null===this.type?this.#n.slice().map((t=>"string"==typeof t?t:t.toJSON())):[this.type,...this.#n.map((t=>t.toJSON()))];return this.isStart()&&!this.type&&t.unshift([]),this.isEnd()&&(this===this.#t||this.#t.#a&&"!"===this.#s?.type)&&t.push({}),t}isStart(){if(this.#t===this)return!0;if(!this.#s?.isStart())return!1;if(0===this.#r)return!0;const t=this.#s;for(let e=0;e<this.#r;e++){const i=t.#n[e];if(!(i instanceof A&&"!"===i.type))return!1}return!0}isEnd(){if(this.#t===this)return!0;if("!"===this.#s?.type)return!0;if(!this.#s?.isEnd())return!1;if(!this.type)return this.#s?.isEnd();const t=this.#s?this.#s.#n.length:0;return this.#r===t-1}copyIn(t){"string"==typeof t?this.push(t):this.push(t.clone(this))}clone(t){const e=new A(this.type,t);for(const t of this.#n)e.copyIn(t);return e}static#p(t,e,i,n){let s=!1,r=!1,o=-1,a=!1;if(null===e.type){let l=i,c="";for(;l<t.length;){const i=t.charAt(l++);if(s||"\\"===i)s=!s,c+=i;else if(r)l===o+1?"^"!==i&&"!"!==i||(a=!0):"]"!==i||l===o+2&&a||(r=!1),c+=i;else if("["!==i)if(n.noext||!v(i)||"("!==t.charAt(l))c+=i;else{e.push(c),c="";const s=new A(i,e);l=A.#p(t,s,l,n),e.push(s)}else r=!0,o=l,a=!1,c+=i}return e.push(c),l}let l=i+1,c=new A(null,e);const h=[];let u="";for(;l<t.length;){const i=t.charAt(l++);if(s||"\\"===i)s=!s,u+=i;else if(r)l===o+1?"^"!==i&&"!"!==i||(a=!0):"]"!==i||l===o+2&&a||(r=!1),u+=i;else if("["!==i)if(v(i)&&"("===t.charAt(l)){c.push(u),u="";const e=new A(i,c);c.push(e),l=A.#p(t,e,l,n)}else if("|"!==i){if(")"===i)return""===u&&0===e.#n.length&&(e.#h=!0),c.push(u),u="",e.push(...h,c),l;u+=i}else c.push(u),u="",h.push(c),c=new A(null,e);else r=!0,o=l,a=!1,u+=i}return e.type=null,e.#e=void 0,e.#n=[t.substring(i-1)],l}static fromGlob(t,e={}){const i=new A(null,void 0,e);return A.#p(t,i,0,e),i}toMMPattern(){if(this!==this.#t)return this.#t.toMMPattern();const t=this.toString(),[e,i,n,s]=this.toRegExpSource();if(!(n||this.#e||this.#l.nocase&&!this.#l.nocaseMagicOnly&&t.toUpperCase()!==t.toLowerCase()))return i;const r=(this.#l.nocase?"i":"")+(s?"u":"");return Object.assign(new RegExp(`^${e}$`,r),{_src:e,_glob:t})}toRegExpSource(t){const e=t??!!this.#l.dot;if(this.#t===this&&this.#u(),!this.type){const i=this.isStart()&&this.isEnd(),n=this.#n.map((e=>{const[n,s,r,o]="string"==typeof e?A.#d(e,this.#e,i):e.toRegExpSource(t);return this.#e=this.#e||r,this.#i=this.#i||o,n})).join("");let s="";if(this.isStart()&&"string"==typeof this.#n[0]&&(1!==this.#n.length||!_.has(this.#n[0]))){const i=k,r=e&&i.has(n.charAt(0))||n.startsWith("\\.")&&i.has(n.charAt(2))||n.startsWith("\\.\\.")&&i.has(n.charAt(4)),o=!e&&!t&&i.has(n.charAt(0));s=r?"(?!(?:^|/)\\.\\.?(?:$|/))":o?w:""}let r="";return this.isEnd()&&this.#t.#a&&"!"===this.#s?.type&&(r="(?:$|\\/)"),[s+n+r,y(n),this.#e=!!this.#e,this.#i]}const i="*"===this.type||"+"===this.type,n="!"===this.type?"(?:(?!(?:":"(?:";let s=this.#f(e);if(this.isStart()&&this.isEnd()&&!s&&"!"!==this.type){const t=this.toString();return this.#n=[t],this.type=null,this.#e=void 0,[t,y(this.toString()),!1,!1]}let r=!i||t||e?"":this.#f(!0);r===s&&(r=""),r&&(s=`(?:${s})(?:${r})*?`);let o="";return o="!"===this.type&&this.#h?(this.isStart()&&!e?w:"")+C:n+s+("!"===this.type?"))"+(!this.isStart()||e||t?"":w)+T+")":"@"===this.type?")":"?"===this.type?")?":"+"===this.type&&r?")":"*"===this.type&&r?")?":`)${this.type}`),[o,y(s),this.#e=!!this.#e,this.#i]}#f(t){return this.#n.map((e=>{if("string"==typeof e)throw new Error("string type in extglob ast??");const[i,n,s,r]=e.toRegExpSource(t);return this.#i=this.#i||r,i})).filter((t=>!(this.isStart()&&this.isEnd()&&!t))).join("|")}static#d(t,e,i=!1){let n=!1,s="",r=!1;for(let o=0;o<t.length;o++){const a=t.charAt(o);if(n)n=!1,s+=(x.has(a)?"\\":"")+a;else if("\\"!==a){if("["===a){const[i,n,a,l]=g(t,o);if(a){s+=i,r=r||n,o+=a-1,e=e||l;continue}}"*"!==a?"?"!==a?s+=a.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&"):(s+=S,e=!0):(s+=i&&"*"===t?C:T,e=!0)}else o===t.length-1?s+="\\\\":n=!0}return[s,y(t),!!e,r]}}const E=(t,{windowsPathsNoEscape:e=!1}={})=>e?t.replace(/[?*()[\]]/g,"[$&]"):t.replace(/[?*()[\]\\]/g,"\\$&"),O=(t,e,i={})=>(p(e),!(!i.nocomment&&"#"===e.charAt(0))&&new et(e,i).match(t)),P=/^\*+([^+@!?\*\[\(]*)$/,F=t=>e=>!e.startsWith(".")&&e.endsWith(t),L=t=>e=>e.endsWith(t),M=t=>(t=t.toLowerCase(),e=>!e.startsWith(".")&&e.toLowerCase().endsWith(t)),j=t=>(t=t.toLowerCase(),e=>e.toLowerCase().endsWith(t)),z=/^\*+\.\*+$/,D=t=>!t.startsWith(".")&&t.includes("."),R=t=>"."!==t&&".."!==t&&t.includes("."),B=/^\.\*+$/,I=t=>"."!==t&&".."!==t&&t.startsWith("."),N=/^\*+$/,W=t=>0!==t.length&&!t.startsWith("."),$=t=>0!==t.length&&"."!==t&&".."!==t,q=/^\?+([^+@!?\*\[\(]*)?$/,U=([t,e=""])=>{const i=Y([t]);return e?(e=e.toLowerCase(),t=>i(t)&&t.toLowerCase().endsWith(e)):i},G=([t,e=""])=>{const i=J([t]);return e?(e=e.toLowerCase(),t=>i(t)&&t.toLowerCase().endsWith(e)):i},H=([t,e=""])=>{const i=J([t]);return e?t=>i(t)&&t.endsWith(e):i},V=([t,e=""])=>{const i=Y([t]);return e?t=>i(t)&&t.endsWith(e):i},Y=([t])=>{const e=t.length;return t=>t.length===e&&!t.startsWith(".")},J=([t])=>{const e=t.length;return t=>t.length===e&&"."!==t&&".."!==t},Z="object"==typeof process&&process?"object"==typeof process.env&&process.env&&process.env.__MINIMATCH_TESTING_PLATFORM__||process.platform:"posix";O.sep="win32"===Z?"\\":"/";const Q=Symbol("globstar **");O.GLOBSTAR=Q,O.filter=(t,e={})=>i=>O(i,t,e);const X=(t,e={})=>Object.assign({},t,e);O.defaults=t=>{if(!t||"object"!=typeof t||!Object.keys(t).length)return O;const e=O;return Object.assign(((i,n,s={})=>e(i,n,X(t,s))),{Minimatch:class extends e.Minimatch{constructor(e,i={}){super(e,X(t,i))}static defaults(i){return e.defaults(X(t,i)).Minimatch}},AST:class extends e.AST{constructor(e,i,n={}){super(e,i,X(t,n))}static fromGlob(i,n={}){return e.AST.fromGlob(i,X(t,n))}},unescape:(i,n={})=>e.unescape(i,X(t,n)),escape:(i,n={})=>e.escape(i,X(t,n)),filter:(i,n={})=>e.filter(i,X(t,n)),defaults:i=>e.defaults(X(t,i)),makeRe:(i,n={})=>e.makeRe(i,X(t,n)),braceExpand:(i,n={})=>e.braceExpand(i,X(t,n)),match:(i,n,s={})=>e.match(i,n,X(t,s)),sep:e.sep,GLOBSTAR:Q})};const K=(t,e={})=>(p(t),e.nobrace||!/\{(?:(?!\{).)*\}/.test(t)?[t]:u(t));O.braceExpand=K,O.makeRe=(t,e={})=>new et(t,e).makeRe(),O.match=(t,e,i={})=>{const n=new et(e,i);return t=t.filter((t=>n.match(t))),n.options.nonull&&!t.length&&t.push(e),t};const tt=/[?*]|[+@!]\(.*?\)|\[|\]/;class et{options;set;pattern;windowsPathsNoEscape;nonegate;negate;comment;empty;preserveMultipleSlashes;partial;globSet;globParts;nocase;isWindows;platform;windowsNoMagicRoot;regexp;constructor(t,e={}){p(t),e=e||{},this.options=e,this.pattern=t,this.platform=e.platform||Z,this.isWindows="win32"===this.platform,this.windowsPathsNoEscape=!!e.windowsPathsNoEscape||!1===e.allowWindowsEscape,this.windowsPathsNoEscape&&(this.pattern=this.pattern.replace(/\\/g,"/")),this.preserveMultipleSlashes=!!e.preserveMultipleSlashes,this.regexp=null,this.negate=!1,this.nonegate=!!e.nonegate,this.comment=!1,this.empty=!1,this.partial=!!e.partial,this.nocase=!!this.options.nocase,this.windowsNoMagicRoot=void 0!==e.windowsNoMagicRoot?e.windowsNoMagicRoot:!(!this.isWindows||!this.nocase),this.globSet=[],this.globParts=[],this.set=[],this.make()}hasMagic(){if(this.options.magicalBraces&&this.set.length>1)return!0;for(const t of this.set)for(const e of t)if("string"!=typeof e)return!0;return!1}debug(...t){}make(){const t=this.pattern,e=this.options;if(!e.nocomment&&"#"===t.charAt(0))return void(this.comment=!0);if(!t)return void(this.empty=!0);this.parseNegate(),this.globSet=[...new Set(this.braceExpand())],e.debug&&(this.debug=(...t)=>console.error(...t)),this.debug(this.pattern,this.globSet);const i=this.globSet.map((t=>this.slashSplit(t)));this.globParts=this.preprocess(i),this.debug(this.pattern,this.globParts);let n=this.globParts.map(((t,e,i)=>{if(this.isWindows&&this.windowsNoMagicRoot){const e=!(""!==t[0]||""!==t[1]||"?"!==t[2]&&tt.test(t[2])||tt.test(t[3])),i=/^[a-z]:/i.test(t[0]);if(e)return[...t.slice(0,4),...t.slice(4).map((t=>this.parse(t)))];if(i)return[t[0],...t.slice(1).map((t=>this.parse(t)))]}return t.map((t=>this.parse(t)))}));if(this.debug(this.pattern,n),this.set=n.filter((t=>-1===t.indexOf(!1))),this.isWindows)for(let t=0;t<this.set.length;t++){const e=this.set[t];""===e[0]&&""===e[1]&&"?"===this.globParts[t][2]&&"string"==typeof e[3]&&/^[a-z]:$/i.test(e[3])&&(e[2]="?")}this.debug(this.pattern,this.set)}preprocess(t){if(this.options.noglobstar)for(let e=0;e<t.length;e++)for(let i=0;i<t[e].length;i++)"**"===t[e][i]&&(t[e][i]="*");const{optimizationLevel:e=1}=this.options;return e>=2?(t=this.firstPhasePreProcess(t),t=this.secondPhasePreProcess(t)):t=e>=1?this.levelOneOptimize(t):this.adjascentGlobstarOptimize(t),t}adjascentGlobstarOptimize(t){return t.map((t=>{let e=-1;for(;-1!==(e=t.indexOf("**",e+1));){let i=e;for(;"**"===t[i+1];)i++;i!==e&&t.splice(e,i-e)}return t}))}levelOneOptimize(t){return t.map((t=>0===(t=t.reduce(((t,e)=>{const i=t[t.length-1];return"**"===e&&"**"===i?t:".."===e&&i&&".."!==i&&"."!==i&&"**"!==i?(t.pop(),t):(t.push(e),t)}),[])).length?[""]:t))}levelTwoFileOptimize(t){Array.isArray(t)||(t=this.slashSplit(t));let e=!1;do{if(e=!1,!this.preserveMultipleSlashes){for(let i=1;i<t.length-1;i++){const n=t[i];1===i&&""===n&&""===t[0]||"."!==n&&""!==n||(e=!0,t.splice(i,1),i--)}"."!==t[0]||2!==t.length||"."!==t[1]&&""!==t[1]||(e=!0,t.pop())}let i=0;for(;-1!==(i=t.indexOf("..",i+1));){const n=t[i-1];n&&"."!==n&&".."!==n&&"**"!==n&&(e=!0,t.splice(i-1,2),i-=2)}}while(e);return 0===t.length?[""]:t}firstPhasePreProcess(t){let e=!1;do{e=!1;for(let i of t){let n=-1;for(;-1!==(n=i.indexOf("**",n+1));){let s=n;for(;"**"===i[s+1];)s++;s>n&&i.splice(n+1,s-n);let r=i[n+1];const o=i[n+2],a=i[n+3];if(".."!==r)continue;if(!o||"."===o||".."===o||!a||"."===a||".."===a)continue;e=!0,i.splice(n,1);const l=i.slice(0);l[n]="**",t.push(l),n--}if(!this.preserveMultipleSlashes){for(let t=1;t<i.length-1;t++){const n=i[t];1===t&&""===n&&""===i[0]||"."!==n&&""!==n||(e=!0,i.splice(t,1),t--)}"."!==i[0]||2!==i.length||"."!==i[1]&&""!==i[1]||(e=!0,i.pop())}let s=0;for(;-1!==(s=i.indexOf("..",s+1));){const t=i[s-1];if(t&&"."!==t&&".."!==t&&"**"!==t){e=!0;const t=1===s&&"**"===i[s+1]?["."]:[];i.splice(s-1,2,...t),0===i.length&&i.push(""),s-=2}}}}while(e);return t}secondPhasePreProcess(t){for(let e=0;e<t.length-1;e++)for(let i=e+1;i<t.length;i++){const n=this.partsMatch(t[e],t[i],!this.preserveMultipleSlashes);n&&(t[e]=n,t[i]=[])}return t.filter((t=>t.length))}partsMatch(t,e,i=!1){let n=0,s=0,r=[],o="";for(;n<t.length&&s<e.length;)if(t[n]===e[s])r.push("b"===o?e[s]:t[n]),n++,s++;else if(i&&"**"===t[n]&&e[s]===t[n+1])r.push(t[n]),n++;else if(i&&"**"===e[s]&&t[n]===e[s+1])r.push(e[s]),s++;else if("*"!==t[n]||!e[s]||!this.options.dot&&e[s].startsWith(".")||"**"===e[s]){if("*"!==e[s]||!t[n]||!this.options.dot&&t[n].startsWith(".")||"**"===t[n])return!1;if("a"===o)return!1;o="b",r.push(e[s]),n++,s++}else{if("b"===o)return!1;o="a",r.push(t[n]),n++,s++}return t.length===e.length&&r}parseNegate(){if(this.nonegate)return;const t=this.pattern;let e=!1,i=0;for(let n=0;n<t.length&&"!"===t.charAt(n);n++)e=!e,i++;i&&(this.pattern=t.slice(i)),this.negate=e}matchOne(t,e,i=!1){const n=this.options;if(this.isWindows){const i="string"==typeof t[0]&&/^[a-z]:$/i.test(t[0]),n=!i&&""===t[0]&&""===t[1]&&"?"===t[2]&&/^[a-z]:$/i.test(t[3]),s="string"==typeof e[0]&&/^[a-z]:$/i.test(e[0]),r=n?3:i?0:void 0,o=!s&&""===e[0]&&""===e[1]&&"?"===e[2]&&"string"==typeof e[3]&&/^[a-z]:$/i.test(e[3])?3:s?0:void 0;if("number"==typeof r&&"number"==typeof o){const[i,n]=[t[r],e[o]];i.toLowerCase()===n.toLowerCase()&&(e[o]=i,o>r?e=e.slice(o):r>o&&(t=t.slice(r)))}}const{optimizationLevel:s=1}=this.options;s>=2&&(t=this.levelTwoFileOptimize(t)),this.debug("matchOne",this,{file:t,pattern:e}),this.debug("matchOne",t.length,e.length);for(var r=0,o=0,a=t.length,l=e.length;r<a&&o<l;r++,o++){this.debug("matchOne loop");var c=e[o],h=t[r];if(this.debug(e,c,h),!1===c)return!1;if(c===Q){this.debug("GLOBSTAR",[e,c,h]);var u=r,p=o+1;if(p===l){for(this.debug("** at the end");r<a;r++)if("."===t[r]||".."===t[r]||!n.dot&&"."===t[r].charAt(0))return!1;return!0}for(;u<a;){var d=t[u];if(this.debug("\nglobstar while",t,u,e,p,d),this.matchOne(t.slice(u),e.slice(p),i))return this.debug("globstar found match!",u,a,d),!0;if("."===d||".."===d||!n.dot&&"."===d.charAt(0)){this.debug("dot detected!",t,u,e,p);break}this.debug("globstar swallow a segment, and continue"),u++}return!(!i||(this.debug("\n>>> no match, partial?",t,u,e,p),u!==a))}let s;if("string"==typeof c?(s=h===c,this.debug("string match",c,h,s)):(s=c.test(h),this.debug("pattern match",c,h,s)),!s)return!1}if(r===a&&o===l)return!0;if(r===a)return i;if(o===l)return r===a-1&&""===t[r];throw new Error("wtf?")}braceExpand(){return K(this.pattern,this.options)}parse(t){p(t);const e=this.options;if("**"===t)return Q;if(""===t)return"";let i,n=null;(i=t.match(N))?n=e.dot?$:W:(i=t.match(P))?n=(e.nocase?e.dot?j:M:e.dot?L:F)(i[1]):(i=t.match(q))?n=(e.nocase?e.dot?G:U:e.dot?H:V)(i):(i=t.match(z))?n=e.dot?R:D:(i=t.match(B))&&(n=I);const s=A.fromGlob(t,this.options).toMMPattern();return n?Object.assign(s,{test:n}):s}makeRe(){if(this.regexp||!1===this.regexp)return this.regexp;const t=this.set;if(!t.length)return this.regexp=!1,this.regexp;const e=this.options,i=e.noglobstar?"[^/]*?":e.dot?"(?:(?!(?:\\/|^)(?:\\.{1,2})($|\\/)).)*?":"(?:(?!(?:\\/|^)\\.).)*?",n=new Set(e.nocase?["i"]:[]);let s=t.map((t=>{const e=t.map((t=>{if(t instanceof RegExp)for(const e of t.flags.split(""))n.add(e);return"string"==typeof t?t.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&"):t===Q?Q:t._src}));return e.forEach(((t,n)=>{const s=e[n+1],r=e[n-1];t===Q&&r!==Q&&(void 0===r?void 0!==s&&s!==Q?e[n+1]="(?:\\/|"+i+"\\/)?"+s:e[n]=i:void 0===s?e[n-1]=r+"(?:\\/|"+i+")?":s!==Q&&(e[n-1]=r+"(?:\\/|\\/"+i+"\\/)"+s,e[n+1]=Q))})),e.filter((t=>t!==Q)).join("/")})).join("|");const[r,o]=t.length>1?["(?:",")"]:["",""];s="^"+r+s+o+"$",this.negate&&(s="^(?!"+s+").+$");try{this.regexp=new RegExp(s,[...n].join(""))}catch(t){this.regexp=!1}return this.regexp}slashSplit(t){return this.preserveMultipleSlashes?t.split("/"):this.isWindows&&/^\/\/[^\/]+/.test(t)?["",...t.split(/\/+/)]:t.split(/\/+/)}match(t,e=this.partial){if(this.debug("match",t,this.pattern),this.comment)return!1;if(this.empty)return""===t;if("/"===t&&e)return!0;const i=this.options;this.isWindows&&(t=t.split("\\").join("/"));const n=this.slashSplit(t);this.debug(this.pattern,"split",n);const s=this.set;this.debug(this.pattern,"set",s);let r=n[n.length-1];if(!r)for(let t=n.length-2;!r&&t>=0;t--)r=n[t];for(let t=0;t<s.length;t++){const o=s[t];let a=n;if(i.matchBase&&1===o.length&&(a=[r]),this.matchOne(a,o,e))return!!i.flipNegate||!this.negate}return!i.flipNegate&&this.negate}static defaults(t){return O.defaults(t).Minimatch}}O.AST=A,O.Minimatch=et,O.escape=E,O.unescape=y;const it="object"==typeof performance&&performance&&"function"==typeof performance.now?performance:Date,nt=new Set,st="object"==typeof process&&process?process:{},rt=(t,e,i,n)=>{"function"==typeof st.emitWarning?st.emitWarning(t,e,i,n):console.error(`[${i}] ${e}: ${t}`)};let ot=globalThis.AbortController,at=globalThis.AbortSignal;if(void 0===ot){at=class{onabort;_onabort=[];reason;aborted=!1;addEventListener(t,e){this._onabort.push(e)}},ot=class{constructor(){e()}signal=new at;abort(t){if(!this.signal.aborted){this.signal.reason=t,this.signal.aborted=!0;for(const e of this.signal._onabort)e(t);this.signal.onabort?.(t)}}};let t="1"!==st.env?.LRU_CACHE_IGNORE_AC_WARNING;const e=()=>{t&&(t=!1,rt("AbortController is not defined. If using lru-cache in node 14, load an AbortController polyfill from the `node-abort-controller` package. A minimal polyfill is provided for use by LRUCache.fetch(), but it should not be relied upon in other contexts (eg, passing it to other APIs that use AbortController/AbortSignal might have undesirable effects). You may disable this with LRU_CACHE_IGNORE_AC_WARNING=1 in the env.","NO_ABORT_CONTROLLER","ENOTSUP",e))}}Symbol("type");const lt=t=>t&&t===Math.floor(t)&&t>0&&isFinite(t),ct=t=>lt(t)?t<=Math.pow(2,8)?Uint8Array:t<=Math.pow(2,16)?Uint16Array:t<=Math.pow(2,32)?Uint32Array:t<=Number.MAX_SAFE_INTEGER?ht:null:null;class ht extends Array{constructor(t){super(t),this.fill(0)}}class ut{heap;length;static#m=!1;static create(t){const e=ct(t);if(!e)return[];ut.#m=!0;const i=new ut(t,e);return ut.#m=!1,i}constructor(t,e){if(!ut.#m)throw new TypeError("instantiate Stack using Stack.create(n)");this.heap=new e(t),this.length=0}push(t){this.heap[this.length++]=t}pop(){return this.heap[--this.length]}}class pt{#g;#y;#b;#v;#w;ttl;ttlResolution;ttlAutopurge;updateAgeOnGet;updateAgeOnHas;allowStale;noDisposeOnSet;noUpdateTTL;maxEntrySize;sizeCalculation;noDeleteOnFetchRejection;noDeleteOnStaleGet;allowStaleOnFetchAbort;allowStaleOnFetchRejection;ignoreFetchAbort;#k;#_;#x;#S;#T;#C;#A;#E;#O;#P;#F;#L;#M;#j;#z;#D;#R;static unsafeExposeInternals(t){return{starts:t.#M,ttls:t.#j,sizes:t.#L,keyMap:t.#x,keyList:t.#S,valList:t.#T,next:t.#C,prev:t.#A,get head(){return t.#E},get tail(){return t.#O},free:t.#P,isBackgroundFetch:e=>t.#B(e),backgroundFetch:(e,i,n,s)=>t.#I(e,i,n,s),moveToTail:e=>t.#N(e),indexes:e=>t.#W(e),rindexes:e=>t.#$(e),isStale:e=>t.#q(e)}}get max(){return this.#g}get maxSize(){return this.#y}get calculatedSize(){return this.#_}get size(){return this.#k}get fetchMethod(){return this.#w}get dispose(){return this.#b}get disposeAfter(){return this.#v}constructor(t){const{max:e=0,ttl:i,ttlResolution:n=1,ttlAutopurge:s,updateAgeOnGet:r,updateAgeOnHas:o,allowStale:a,dispose:l,disposeAfter:c,noDisposeOnSet:h,noUpdateTTL:u,maxSize:p=0,maxEntrySize:d=0,sizeCalculation:f,fetchMethod:m,noDeleteOnFetchRejection:g,noDeleteOnStaleGet:y,allowStaleOnFetchRejection:b,allowStaleOnFetchAbort:v,ignoreFetchAbort:w}=t;if(0!==e&&!lt(e))throw new TypeError("max option must be a nonnegative integer");const k=e?ct(e):Array;if(!k)throw new Error("invalid max value: "+e);if(this.#g=e,this.#y=p,this.maxEntrySize=d||this.#y,this.sizeCalculation=f,this.sizeCalculation){if(!this.#y&&!this.maxEntrySize)throw new TypeError("cannot set sizeCalculation without setting maxSize or maxEntrySize");if("function"!=typeof this.sizeCalculation)throw new TypeError("sizeCalculation set to non-function")}if(void 0!==m&&"function"!=typeof m)throw new TypeError("fetchMethod must be a function if specified");if(this.#w=m,this.#D=!!m,this.#x=new Map,this.#S=new Array(e).fill(void 0),this.#T=new Array(e).fill(void 0),this.#C=new k(e),this.#A=new k(e),this.#E=0,this.#O=0,this.#P=ut.create(e),this.#k=0,this.#_=0,"function"==typeof l&&(this.#b=l),"function"==typeof c?(this.#v=c,this.#F=[]):(this.#v=void 0,this.#F=void 0),this.#z=!!this.#b,this.#R=!!this.#v,this.noDisposeOnSet=!!h,this.noUpdateTTL=!!u,this.noDeleteOnFetchRejection=!!g,this.allowStaleOnFetchRejection=!!b,this.allowStaleOnFetchAbort=!!v,this.ignoreFetchAbort=!!w,0!==this.maxEntrySize){if(0!==this.#y&&!lt(this.#y))throw new TypeError("maxSize must be a positive integer if specified");if(!lt(this.maxEntrySize))throw new TypeError("maxEntrySize must be a positive integer if specified");this.#U()}if(this.allowStale=!!a,this.noDeleteOnStaleGet=!!y,this.updateAgeOnGet=!!r,this.updateAgeOnHas=!!o,this.ttlResolution=lt(n)||0===n?n:1,this.ttlAutopurge=!!s,this.ttl=i||0,this.ttl){if(!lt(this.ttl))throw new TypeError("ttl must be a positive integer if specified");this.#G()}if(0===this.#g&&0===this.ttl&&0===this.#y)throw new TypeError("At least one of max, maxSize, or ttl is required");if(!this.ttlAutopurge&&!this.#g&&!this.#y){const t="LRU_CACHE_UNBOUNDED";(t=>!nt.has(t))(t)&&(nt.add(t),rt("TTL caching without ttlAutopurge, max, or maxSize can result in unbounded memory consumption.","UnboundedCacheWarning",t,pt))}}getRemainingTTL(t){return this.#x.has(t)?1/0:0}#G(){const t=new ht(this.#g),e=new ht(this.#g);this.#j=t,this.#M=e,this.#H=(i,n,s=it.now())=>{if(e[i]=0!==n?s:0,t[i]=n,0!==n&&this.ttlAutopurge){const t=setTimeout((()=>{this.#q(i)&&this.delete(this.#S[i])}),n+1);t.unref&&t.unref()}},this.#V=i=>{e[i]=0!==t[i]?it.now():0},this.#Y=(s,r)=>{if(t[r]){const o=t[r],a=e[r];s.ttl=o,s.start=a,s.now=i||n();const l=s.now-a;s.remainingTTL=o-l}};let i=0;const n=()=>{const t=it.now();if(this.ttlResolution>0){i=t;const e=setTimeout((()=>i=0),this.ttlResolution);e.unref&&e.unref()}return t};this.getRemainingTTL=s=>{const r=this.#x.get(s);if(void 0===r)return 0;const o=t[r],a=e[r];return 0===o||0===a?1/0:o-((i||n())-a)},this.#q=s=>0!==t[s]&&0!==e[s]&&(i||n())-e[s]>t[s]}#V=()=>{};#Y=()=>{};#H=()=>{};#q=()=>!1;#U(){const t=new ht(this.#g);this.#_=0,this.#L=t,this.#J=e=>{this.#_-=t[e],t[e]=0},this.#Z=(t,e,i,n)=>{if(this.#B(e))return 0;if(!lt(i)){if(!n)throw new TypeError("invalid size value (must be positive integer). When maxSize or maxEntrySize is used, sizeCalculation or size must be set.");if("function"!=typeof n)throw new TypeError("sizeCalculation must be a function");if(i=n(e,t),!lt(i))throw new TypeError("sizeCalculation return invalid (expect positive integer)")}return i},this.#Q=(e,i,n)=>{if(t[e]=i,this.#y){const i=this.#y-t[e];for(;this.#_>i;)this.#X(!0)}this.#_+=t[e],n&&(n.entrySize=i,n.totalCalculatedSize=this.#_)}}#J=t=>{};#Q=(t,e,i)=>{};#Z=(t,e,i,n)=>{if(i||n)throw new TypeError("cannot set size without setting maxSize or maxEntrySize on cache");return 0};*#W({allowStale:t=this.allowStale}={}){if(this.#k)for(let e=this.#O;this.#K(e)&&(!t&&this.#q(e)||(yield e),e!==this.#E);)e=this.#A[e]}*#$({allowStale:t=this.allowStale}={}){if(this.#k)for(let e=this.#E;this.#K(e)&&(!t&&this.#q(e)||(yield e),e!==this.#O);)e=this.#C[e]}#K(t){return void 0!==t&&this.#x.get(this.#S[t])===t}*entries(){for(const t of this.#W())void 0===this.#T[t]||void 0===this.#S[t]||this.#B(this.#T[t])||(yield[this.#S[t],this.#T[t]])}*rentries(){for(const t of this.#$())void 0===this.#T[t]||void 0===this.#S[t]||this.#B(this.#T[t])||(yield[this.#S[t],this.#T[t]])}*keys(){for(const t of this.#W()){const e=this.#S[t];void 0===e||this.#B(this.#T[t])||(yield e)}}*rkeys(){for(const t of this.#$()){const e=this.#S[t];void 0===e||this.#B(this.#T[t])||(yield e)}}*values(){for(const t of this.#W())void 0===this.#T[t]||this.#B(this.#T[t])||(yield this.#T[t])}*rvalues(){for(const t of this.#$())void 0===this.#T[t]||this.#B(this.#T[t])||(yield this.#T[t])}[Symbol.iterator](){return this.entries()}find(t,e={}){for(const i of this.#W()){const n=this.#T[i],s=this.#B(n)?n.__staleWhileFetching:n;if(void 0!==s&&t(s,this.#S[i],this))return this.get(this.#S[i],e)}}forEach(t,e=this){for(const i of this.#W()){const n=this.#T[i],s=this.#B(n)?n.__staleWhileFetching:n;void 0!==s&&t.call(e,s,this.#S[i],this)}}rforEach(t,e=this){for(const i of this.#$()){const n=this.#T[i],s=this.#B(n)?n.__staleWhileFetching:n;void 0!==s&&t.call(e,s,this.#S[i],this)}}purgeStale(){let t=!1;for(const e of this.#$({allowStale:!0}))this.#q(e)&&(this.delete(this.#S[e]),t=!0);return t}dump(){const t=[];for(const e of this.#W({allowStale:!0})){const i=this.#S[e],n=this.#T[e],s=this.#B(n)?n.__staleWhileFetching:n;if(void 0===s||void 0===i)continue;const r={value:s};if(this.#j&&this.#M){r.ttl=this.#j[e];const t=it.now()-this.#M[e];r.start=Math.floor(Date.now()-t)}this.#L&&(r.size=this.#L[e]),t.unshift([i,r])}return t}load(t){this.clear();for(const[e,i]of t){if(i.start){const t=Date.now()-i.start;i.start=it.now()-t}this.set(e,i.value,i)}}set(t,e,i={}){if(void 0===e)return this.delete(t),this;const{ttl:n=this.ttl,start:s,noDisposeOnSet:r=this.noDisposeOnSet,sizeCalculation:o=this.sizeCalculation,status:a}=i;let{noUpdateTTL:l=this.noUpdateTTL}=i;const c=this.#Z(t,e,i.size||0,o);if(this.maxEntrySize&&c>this.maxEntrySize)return a&&(a.set="miss",a.maxEntrySizeExceeded=!0),this.delete(t),this;let h=0===this.#k?void 0:this.#x.get(t);if(void 0===h)h=0===this.#k?this.#O:0!==this.#P.length?this.#P.pop():this.#k===this.#g?this.#X(!1):this.#k,this.#S[h]=t,this.#T[h]=e,this.#x.set(t,h),this.#C[this.#O]=h,this.#A[h]=this.#O,this.#O=h,this.#k++,this.#Q(h,c,a),a&&(a.set="add"),l=!1;else{this.#N(h);const i=this.#T[h];if(e!==i){if(this.#D&&this.#B(i)){i.__abortController.abort(new Error("replaced"));const{__staleWhileFetching:e}=i;void 0===e||r||(this.#z&&this.#b?.(e,t,"set"),this.#R&&this.#F?.push([e,t,"set"]))}else r||(this.#z&&this.#b?.(i,t,"set"),this.#R&&this.#F?.push([i,t,"set"]));if(this.#J(h),this.#Q(h,c,a),this.#T[h]=e,a){a.set="replace";const t=i&&this.#B(i)?i.__staleWhileFetching:i;void 0!==t&&(a.oldValue=t)}}else a&&(a.set="update")}if(0===n||this.#j||this.#G(),this.#j&&(l||this.#H(h,n,s),a&&this.#Y(a,h)),!r&&this.#R&&this.#F){const t=this.#F;let e;for(;e=t?.shift();)this.#v?.(...e)}return this}pop(){try{for(;this.#k;){const t=this.#T[this.#E];if(this.#X(!0),this.#B(t)){if(t.__staleWhileFetching)return t.__staleWhileFetching}else if(void 0!==t)return t}}finally{if(this.#R&&this.#F){const t=this.#F;let e;for(;e=t?.shift();)this.#v?.(...e)}}}#X(t){const e=this.#E,i=this.#S[e],n=this.#T[e];return this.#D&&this.#B(n)?n.__abortController.abort(new Error("evicted")):(this.#z||this.#R)&&(this.#z&&this.#b?.(n,i,"evict"),this.#R&&this.#F?.push([n,i,"evict"])),this.#J(e),t&&(this.#S[e]=void 0,this.#T[e]=void 0,this.#P.push(e)),1===this.#k?(this.#E=this.#O=0,this.#P.length=0):this.#E=this.#C[e],this.#x.delete(i),this.#k--,e}has(t,e={}){const{updateAgeOnHas:i=this.updateAgeOnHas,status:n}=e,s=this.#x.get(t);if(void 0!==s){const t=this.#T[s];if(this.#B(t)&&void 0===t.__staleWhileFetching)return!1;if(!this.#q(s))return i&&this.#V(s),n&&(n.has="hit",this.#Y(n,s)),!0;n&&(n.has="stale",this.#Y(n,s))}else n&&(n.has="miss");return!1}peek(t,e={}){const{allowStale:i=this.allowStale}=e,n=this.#x.get(t);if(void 0!==n&&(i||!this.#q(n))){const t=this.#T[n];return this.#B(t)?t.__staleWhileFetching:t}}#I(t,e,i,n){const s=void 0===e?void 0:this.#T[e];if(this.#B(s))return s;const r=new ot,{signal:o}=i;o?.addEventListener("abort",(()=>r.abort(o.reason)),{signal:r.signal});const a={signal:r.signal,options:i,context:n},l=(n,s=!1)=>{const{aborted:o}=r.signal,l=i.ignoreFetchAbort&&void 0!==n;if(i.status&&(o&&!s?(i.status.fetchAborted=!0,i.status.fetchError=r.signal.reason,l&&(i.status.fetchAbortIgnored=!0)):i.status.fetchResolved=!0),o&&!l&&!s)return c(r.signal.reason);const u=h;return this.#T[e]===h&&(void 0===n?u.__staleWhileFetching?this.#T[e]=u.__staleWhileFetching:this.delete(t):(i.status&&(i.status.fetchUpdated=!0),this.set(t,n,a.options))),n},c=n=>{const{aborted:s}=r.signal,o=s&&i.allowStaleOnFetchAbort,a=o||i.allowStaleOnFetchRejection,l=a||i.noDeleteOnFetchRejection,c=h;if(this.#T[e]===h&&(l&&void 0!==c.__staleWhileFetching?o||(this.#T[e]=c.__staleWhileFetching):this.delete(t)),a)return i.status&&void 0!==c.__staleWhileFetching&&(i.status.returnedStale=!0),c.__staleWhileFetching;if(c.__returned===c)throw n};i.status&&(i.status.fetchDispatched=!0);const h=new Promise(((e,n)=>{const o=this.#w?.(t,s,a);o&&o instanceof Promise&&o.then((t=>e(void 0===t?void 0:t)),n),r.signal.addEventListener("abort",(()=>{i.ignoreFetchAbort&&!i.allowStaleOnFetchAbort||(e(void 0),i.allowStaleOnFetchAbort&&(e=t=>l(t,!0)))}))})).then(l,(t=>(i.status&&(i.status.fetchRejected=!0,i.status.fetchError=t),c(t)))),u=Object.assign(h,{__abortController:r,__staleWhileFetching:s,__returned:void 0});return void 0===e?(this.set(t,u,{...a.options,status:void 0}),e=this.#x.get(t)):this.#T[e]=u,u}#B(t){if(!this.#D)return!1;const e=t;return!!e&&e instanceof Promise&&e.hasOwnProperty("__staleWhileFetching")&&e.__abortController instanceof ot}async fetch(t,e={}){const{allowStale:i=this.allowStale,updateAgeOnGet:n=this.updateAgeOnGet,noDeleteOnStaleGet:s=this.noDeleteOnStaleGet,ttl:r=this.ttl,noDisposeOnSet:o=this.noDisposeOnSet,size:a=0,sizeCalculation:l=this.sizeCalculation,noUpdateTTL:c=this.noUpdateTTL,noDeleteOnFetchRejection:h=this.noDeleteOnFetchRejection,allowStaleOnFetchRejection:u=this.allowStaleOnFetchRejection,ignoreFetchAbort:p=this.ignoreFetchAbort,allowStaleOnFetchAbort:d=this.allowStaleOnFetchAbort,context:f,forceRefresh:m=!1,status:g,signal:y}=e;if(!this.#D)return g&&(g.fetch="get"),this.get(t,{allowStale:i,updateAgeOnGet:n,noDeleteOnStaleGet:s,status:g});const b={allowStale:i,updateAgeOnGet:n,noDeleteOnStaleGet:s,ttl:r,noDisposeOnSet:o,size:a,sizeCalculation:l,noUpdateTTL:c,noDeleteOnFetchRejection:h,allowStaleOnFetchRejection:u,allowStaleOnFetchAbort:d,ignoreFetchAbort:p,status:g,signal:y};let v=this.#x.get(t);if(void 0===v){g&&(g.fetch="miss");const e=this.#I(t,v,b,f);return e.__returned=e}{const e=this.#T[v];if(this.#B(e)){const t=i&&void 0!==e.__staleWhileFetching;return g&&(g.fetch="inflight",t&&(g.returnedStale=!0)),t?e.__staleWhileFetching:e.__returned=e}const s=this.#q(v);if(!m&&!s)return g&&(g.fetch="hit"),this.#N(v),n&&this.#V(v),g&&this.#Y(g,v),e;const r=this.#I(t,v,b,f),o=void 0!==r.__staleWhileFetching&&i;return g&&(g.fetch=s?"stale":"refresh",o&&s&&(g.returnedStale=!0)),o?r.__staleWhileFetching:r.__returned=r}}get(t,e={}){const{allowStale:i=this.allowStale,updateAgeOnGet:n=this.updateAgeOnGet,noDeleteOnStaleGet:s=this.noDeleteOnStaleGet,status:r}=e,o=this.#x.get(t);if(void 0!==o){const e=this.#T[o],a=this.#B(e);return r&&this.#Y(r,o),this.#q(o)?(r&&(r.get="stale"),a?(r&&i&&void 0!==e.__staleWhileFetching&&(r.returnedStale=!0),i?e.__staleWhileFetching:void 0):(s||this.delete(t),r&&i&&(r.returnedStale=!0),i?e:void 0)):(r&&(r.get="hit"),a?e.__staleWhileFetching:(this.#N(o),n&&this.#V(o),e))}r&&(r.get="miss")}#tt(t,e){this.#A[e]=t,this.#C[t]=e}#N(t){t!==this.#O&&(t===this.#E?this.#E=this.#C[t]:this.#tt(this.#A[t],this.#C[t]),this.#tt(this.#O,t),this.#O=t)}delete(t){let e=!1;if(0!==this.#k){const i=this.#x.get(t);if(void 0!==i)if(e=!0,1===this.#k)this.clear();else{this.#J(i);const e=this.#T[i];this.#B(e)?e.__abortController.abort(new Error("deleted")):(this.#z||this.#R)&&(this.#z&&this.#b?.(e,t,"delete"),this.#R&&this.#F?.push([e,t,"delete"])),this.#x.delete(t),this.#S[i]=void 0,this.#T[i]=void 0,i===this.#O?this.#O=this.#A[i]:i===this.#E?this.#E=this.#C[i]:(this.#C[this.#A[i]]=this.#C[i],this.#A[this.#C[i]]=this.#A[i]),this.#k--,this.#P.push(i)}}if(this.#R&&this.#F?.length){const t=this.#F;let e;for(;e=t?.shift();)this.#v?.(...e)}return e}clear(){for(const t of this.#$({allowStale:!0})){const e=this.#T[t];if(this.#B(e))e.__abortController.abort(new Error("deleted"));else{const i=this.#S[t];this.#z&&this.#b?.(e,i,"delete"),this.#R&&this.#F?.push([e,i,"delete"])}}if(this.#x.clear(),this.#T.fill(void 0),this.#S.fill(void 0),this.#j&&this.#M&&(this.#j.fill(0),this.#M.fill(0)),this.#L&&this.#L.fill(0),this.#E=0,this.#O=0,this.#P.length=0,this.#_=0,this.#k=0,this.#R&&this.#F){const t=this.#F;let e;for(;e=t?.shift();)this.#v?.(...e)}}}var dt=i(17);const ft=require("url"),mt=require("fs");var gt=i.t(mt,2);const yt=require("fs/promises"),bt=require("events"),vt=require("stream"),wt=require("string_decoder"),kt="object"==typeof process&&process?process:{stdout:null,stderr:null},_t=t=>!!t&&"object"==typeof t&&(t instanceof oe||t instanceof vt||xt(t)||St(t)),xt=t=>!!t&&"object"==typeof t&&t instanceof bt.EventEmitter&&"function"==typeof t.pipe&&t.pipe!==vt.Writable.prototype.pipe,St=t=>!!t&&"object"==typeof t&&t instanceof bt.EventEmitter&&"function"==typeof t.write&&"function"==typeof t.end,Tt=Symbol("EOF"),Ct=Symbol("maybeEmitEnd"),At=Symbol("emittedEnd"),Et=Symbol("emittingEnd"),Ot=Symbol("emittedError"),Pt=Symbol("closed"),Ft=Symbol("read"),Lt=Symbol("flush"),Mt=Symbol("flushChunk"),jt=Symbol("encoding"),zt=Symbol("decoder"),Dt=Symbol("flowing"),Rt=Symbol("paused"),Bt=Symbol("resume"),It=Symbol("buffer"),Nt=Symbol("pipes"),Wt=Symbol("bufferLength"),$t=Symbol("bufferPush"),qt=Symbol("bufferShift"),Ut=Symbol("objectMode"),Gt=Symbol("destroyed"),Ht=Symbol("error"),Vt=Symbol("emitData"),Yt=Symbol("emitEnd"),Jt=Symbol("emitEnd2"),Zt=Symbol("async"),Qt=Symbol("abort"),Xt=Symbol("aborted"),Kt=Symbol("signal"),te=Symbol("dataListeners"),ee=Symbol("discarded"),ie=t=>Promise.resolve().then(t),ne=t=>t();class se{src;dest;opts;ondrain;constructor(t,e,i){this.src=t,this.dest=e,this.opts=i,this.ondrain=()=>t[Bt](),this.dest.on("drain",this.ondrain)}unpipe(){this.dest.removeListener("drain",this.ondrain)}proxyErrors(t){}end(){this.unpipe(),this.opts.end&&this.dest.end()}}class re extends se{unpipe(){this.src.removeListener("error",this.proxyErrors),super.unpipe()}constructor(t,e,i){super(t,e,i),this.proxyErrors=t=>e.emit("error",t),t.on("error",this.proxyErrors)}}class oe extends bt.EventEmitter{[Dt]=!1;[Rt]=!1;[Nt]=[];[It]=[];[Ut];[jt];[Zt];[zt];[Tt]=!1;[At]=!1;[Et]=!1;[Pt]=!1;[Ot]=null;[Wt]=0;[Gt]=!1;[Kt];[Xt]=!1;[te]=0;[ee]=!1;writable=!0;readable=!0;constructor(...t){const e=t[0]||{};if(super(),e.objectMode&&"string"==typeof e.encoding)throw new TypeError("Encoding and objectMode may not be used together");var i;e.objectMode?(this[Ut]=!0,this[jt]=null):!(i=e).objectMode&&i.encoding&&"buffer"!==i.encoding?(this[jt]=e.encoding,this[Ut]=!1):(this[Ut]=!1,this[jt]=null),this[Zt]=!!e.async,this[zt]=this[jt]?new wt.StringDecoder(this[jt]):null,e&&!0===e.debugExposeBuffer&&Object.defineProperty(this,"buffer",{get:()=>this[It]}),e&&!0===e.debugExposePipes&&Object.defineProperty(this,"pipes",{get:()=>this[Nt]});const{signal:n}=e;n&&(this[Kt]=n,n.aborted?this[Qt]():n.addEventListener("abort",(()=>this[Qt]())))}get bufferLength(){return this[Wt]}get encoding(){return this[jt]}set encoding(t){throw new Error("Encoding must be set at instantiation time")}setEncoding(t){throw new Error("Encoding must be set at instantiation time")}get objectMode(){return this[Ut]}set objectMode(t){throw new Error("objectMode must be set at instantiation time")}get async(){return this[Zt]}set async(t){this[Zt]=this[Zt]||!!t}[Qt](){this[Xt]=!0,this.emit("abort",this[Kt]?.reason),this.destroy(this[Kt]?.reason)}get aborted(){return this[Xt]}set aborted(t){}write(t,e,i){if(this[Xt])return!1;if(this[Tt])throw new Error("write after end");if(this[Gt])return this.emit("error",Object.assign(new Error("Cannot call write after a stream was destroyed"),{code:"ERR_STREAM_DESTROYED"})),!0;"function"==typeof e&&(i=e,e="utf8"),e||(e="utf8");const n=this[Zt]?ie:ne;if(!this[Ut]&&!Buffer.isBuffer(t))if(s=t,!Buffer.isBuffer(s)&&ArrayBuffer.isView(s))t=Buffer.from(t.buffer,t.byteOffset,t.byteLength);else if((t=>t instanceof ArrayBuffer||!!t&&"object"==typeof t&&t.constructor&&"ArrayBuffer"===t.constructor.name&&t.byteLength>=0)(t))t=Buffer.from(t);else if("string"!=typeof t)throw new Error("Non-contiguous data written to non-objectMode stream");var s;return this[Ut]?(this[Dt]&&0!==this[Wt]&&this[Lt](!0),this[Dt]?this.emit("data",t):this[$t](t),0!==this[Wt]&&this.emit("readable"),i&&n(i),this[Dt]):t.length?("string"!=typeof t||e===this[jt]&&!this[zt]?.lastNeed||(t=Buffer.from(t,e)),Buffer.isBuffer(t)&&this[jt]&&(t=this[zt].write(t)),this[Dt]&&0!==this[Wt]&&this[Lt](!0),this[Dt]?this.emit("data",t):this[$t](t),0!==this[Wt]&&this.emit("readable"),i&&n(i),this[Dt]):(0!==this[Wt]&&this.emit("readable"),i&&n(i),this[Dt])}read(t){if(this[Gt])return null;if(this[ee]=!1,0===this[Wt]||0===t||t&&t>this[Wt])return this[Ct](),null;this[Ut]&&(t=null),this[It].length>1&&!this[Ut]&&(this[It]=[this[jt]?this[It].join(""):Buffer.concat(this[It],this[Wt])]);const e=this[Ft](t||null,this[It][0]);return this[Ct](),e}[Ft](t,e){if(this[Ut])this[qt]();else{const i=e;t===i.length||null===t?this[qt]():"string"==typeof i?(this[It][0]=i.slice(t),e=i.slice(0,t),this[Wt]-=t):(this[It][0]=i.subarray(t),e=i.subarray(0,t),this[Wt]-=t)}return this.emit("data",e),this[It].length||this[Tt]||this.emit("drain"),e}end(t,e,i){return"function"==typeof t&&(i=t,t=void 0),"function"==typeof e&&(i=e,e="utf8"),void 0!==t&&this.write(t,e),i&&this.once("end",i),this[Tt]=!0,this.writable=!1,!this[Dt]&&this[Rt]||this[Ct](),this}[Bt](){this[Gt]||(this[te]||this[Nt].length||(this[ee]=!0),this[Rt]=!1,this[Dt]=!0,this.emit("resume"),this[It].length?this[Lt]():this[Tt]?this[Ct]():this.emit("drain"))}resume(){return this[Bt]()}pause(){this[Dt]=!1,this[Rt]=!0,this[ee]=!1}get destroyed(){return this[Gt]}get flowing(){return this[Dt]}get paused(){return this[Rt]}[$t](t){this[Ut]?this[Wt]+=1:this[Wt]+=t.length,this[It].push(t)}[qt](){return this[Ut]?this[Wt]-=1:this[Wt]-=this[It][0].length,this[It].shift()}[Lt](t=!1){do{}while(this[Mt](this[qt]())&&this[It].length);t||this[It].length||this[Tt]||this.emit("drain")}[Mt](t){return this.emit("data",t),this[Dt]}pipe(t,e){if(this[Gt])return t;this[ee]=!1;const i=this[At];return e=e||{},t===kt.stdout||t===kt.stderr?e.end=!1:e.end=!1!==e.end,e.proxyErrors=!!e.proxyErrors,i?e.end&&t.end():(this[Nt].push(e.proxyErrors?new re(this,t,e):new se(this,t,e)),this[Zt]?ie((()=>this[Bt]())):this[Bt]()),t}unpipe(t){const e=this[Nt].find((e=>e.dest===t));e&&(1===this[Nt].length?(this[Dt]&&0===this[te]&&(this[Dt]=!1),this[Nt]=[]):this[Nt].splice(this[Nt].indexOf(e),1),e.unpipe())}addListener(t,e){return this.on(t,e)}on(t,e){const i=super.on(t,e);if("data"===t)this[ee]=!1,this[te]++,this[Nt].length||this[Dt]||this[Bt]();else if("readable"===t&&0!==this[Wt])super.emit("readable");else if((t=>"end"===t||"finish"===t||"prefinish"===t)(t)&&this[At])super.emit(t),this.removeAllListeners(t);else if("error"===t&&this[Ot]){const t=e;this[Zt]?ie((()=>t.call(this,this[Ot]))):t.call(this,this[Ot])}return i}removeListener(t,e){return this.off(t,e)}off(t,e){const i=super.off(t,e);return"data"===t&&(this[te]=this.listeners("data").length,0!==this[te]||this[ee]||this[Nt].length||(this[Dt]=!1)),i}removeAllListeners(t){const e=super.removeAllListeners(t);return"data"!==t&&void 0!==t||(this[te]=0,this[ee]||this[Nt].length||(this[Dt]=!1)),e}get emittedEnd(){return this[At]}[Ct](){this[Et]||this[At]||this[Gt]||0!==this[It].length||!this[Tt]||(this[Et]=!0,this.emit("end"),this.emit("prefinish"),this.emit("finish"),this[Pt]&&this.emit("close"),this[Et]=!1)}emit(t,...e){const i=e[0];if("error"!==t&&"close"!==t&&t!==Gt&&this[Gt])return!1;if("data"===t)return!(!this[Ut]&&!i)&&(this[Zt]?(ie((()=>this[Vt](i))),!0):this[Vt](i));if("end"===t)return this[Yt]();if("close"===t){if(this[Pt]=!0,!this[At]&&!this[Gt])return!1;const t=super.emit("close");return this.removeAllListeners("close"),t}if("error"===t){this[Ot]=i,super.emit(Ht,i);const t=!(this[Kt]&&!this.listeners("error").length)&&super.emit("error",i);return this[Ct](),t}if("resume"===t){const t=super.emit("resume");return this[Ct](),t}if("finish"===t||"prefinish"===t){const e=super.emit(t);return this.removeAllListeners(t),e}const n=super.emit(t,...e);return this[Ct](),n}[Vt](t){for(const e of this[Nt])!1===e.dest.write(t)&&this.pause();const e=!this[ee]&&super.emit("data",t);return this[Ct](),e}[Yt](){return!this[At]&&(this[At]=!0,this.readable=!1,this[Zt]?(ie((()=>this[Jt]())),!0):this[Jt]())}[Jt](){if(this[zt]){const t=this[zt].end();if(t){for(const e of this[Nt])e.dest.write(t);this[ee]||super.emit("data",t)}}for(const t of this[Nt])t.end();const t=super.emit("end");return this.removeAllListeners("end"),t}async collect(){const t=Object.assign([],{dataLength:0});this[Ut]||(t.dataLength=0);const e=this.promise();return this.on("data",(e=>{t.push(e),this[Ut]||(t.dataLength+=e.length)})),await e,t}async concat(){if(this[Ut])throw new Error("cannot concat in objectMode");const t=await this.collect();return this[jt]?t.join(""):Buffer.concat(t,t.dataLength)}async promise(){return new Promise(((t,e)=>{this.on(Gt,(()=>e(new Error("stream destroyed")))),this.on("error",(t=>e(t))),this.on("end",(()=>t()))}))}[Symbol.asyncIterator](){this[ee]=!1;let t=!1;const e=async()=>(this.pause(),t=!0,{value:void 0,done:!0});return{next:()=>{if(t)return e();const i=this.read();if(null!==i)return Promise.resolve({done:!1,value:i});if(this[Tt])return e();let n,s;const r=t=>{this.off("data",o),this.off("end",a),this.off(Gt,l),e(),s(t)},o=t=>{this.off("error",r),this.off("end",a),this.off(Gt,l),this.pause(),n({value:t,done:!!this[Tt]})},a=()=>{this.off("error",r),this.off("data",o),this.off(Gt,l),e(),n({done:!0,value:void 0})},l=()=>r(new Error("stream destroyed"));return new Promise(((t,e)=>{s=e,n=t,this.once(Gt,l),this.once("error",r),this.once("end",a),this.once("data",o)}))},throw:e,return:e,[Symbol.asyncIterator](){return this}}}[Symbol.iterator](){this[ee]=!1;let t=!1;const e=()=>(this.pause(),this.off(Ht,e),this.off(Gt,e),this.off("end",e),t=!0,{done:!0,value:void 0});return this.once("end",e),this.once(Ht,e),this.once(Gt,e),{next:()=>{if(t)return e();const i=this.read();return null===i?e():{done:!1,value:i}},throw:e,return:e,[Symbol.iterator](){return this}}}destroy(t){return this[Gt]?(t?this.emit("error",t):this.emit(Gt),this):(this[Gt]=!0,this[ee]=!0,this[It].length=0,this[Wt]=0,"function"!=typeof this.close||this[Pt]||this.close(),t?this.emit("error",t):this.emit(Gt),this)}static get isStream(){return _t}}const ae=mt.realpathSync.native,le={lstatSync:mt.lstatSync,readdir:mt.readdir,readdirSync:mt.readdirSync,readlinkSync:mt.readlinkSync,realpathSync:ae,promises:{lstat:yt.lstat,readdir:yt.readdir,readlink:yt.readlink,realpath:yt.realpath}},ce=t=>t&&t!==le&&t!==gt?{...le,...t,promises:{...le.promises,...t.promises||{}}}:le,he=/^\\\\\?\\([a-z]:)\\?$/i,ue=/[\\\/]/,pe=10,de=15,fe=-16,me=128,ge=t=>t.isFile()?8:t.isDirectory()?4:t.isSymbolicLink()?pe:t.isCharacterDevice()?2:t.isBlockDevice()?6:t.isSocket()?12:t.isFIFO()?1:0,ye=new Map,be=t=>{const e=ye.get(t);if(e)return e;const i=t.normalize("NFKD");return ye.set(t,i),i},ve=new Map,we=t=>{const e=ve.get(t);if(e)return e;const i=be(t.toLowerCase());return ve.set(t,i),i};class ke extends pt{constructor(){super({max:256})}}class _e extends pt{constructor(t=16384){super({maxSize:t,sizeCalculation:t=>t.length+1})}}const xe=Symbol("PathScurry setAsCwd");class Se{name;root;roots;parent;nocase;#et;#it;get dev(){return this.#it}#nt;get mode(){return this.#nt}#st;get nlink(){return this.#st}#rt;get uid(){return this.#rt}#ot;get gid(){return this.#ot}#at;get rdev(){return this.#at}#lt;get blksize(){return this.#lt}#ct;get ino(){return this.#ct}#k;get size(){return this.#k}#ht;get blocks(){return this.#ht}#ut;get atimeMs(){return this.#ut}#pt;get mtimeMs(){return this.#pt}#dt;get ctimeMs(){return this.#dt}#ft;get birthtimeMs(){return this.#ft}#mt;get atime(){return this.#mt}#gt;get mtime(){return this.#gt}#yt;get ctime(){return this.#yt}#bt;get birthtime(){return this.#bt}#vt;#wt;#kt;#_t;#xt;#St;#Tt;#Ct;#At;#Et;get path(){return(this.parent||this).fullpath()}constructor(t,e=0,i,n,s,r,o){this.name=t,this.#vt=s?we(t):be(t),this.#Tt=1023&e,this.nocase=s,this.roots=n,this.root=i||this,this.#Ct=r,this.#kt=o.fullpath,this.#xt=o.relative,this.#St=o.relativePosix,this.parent=o.parent,this.parent?this.#et=this.parent.#et:this.#et=ce(o.fs)}depth(){return void 0!==this.#wt?this.#wt:this.parent?this.#wt=this.parent.depth()+1:this.#wt=0}childrenCache(){return this.#Ct}resolve(t){if(!t)return this;const e=this.getRootString(t),i=t.substring(e.length).split(this.splitSep);return e?this.getRoot(e).#Ot(i):this.#Ot(i)}#Ot(t){let e=this;for(const i of t)e=e.child(i);return e}children(){const t=this.#Ct.get(this);if(t)return t;const e=Object.assign([],{provisional:0});return this.#Ct.set(this,e),this.#Tt&=-17,e}child(t,e){if(""===t||"."===t)return this;if(".."===t)return this.parent||this;const i=this.children(),n=this.nocase?we(t):be(t);for(const t of i)if(t.#vt===n)return t;const s=this.parent?this.sep:"",r=this.#kt?this.#kt+s+t:void 0,o=this.newChild(t,0,{...e,parent:this,fullpath:r});return this.canReaddir()||(o.#Tt|=me),i.push(o),o}relative(){if(void 0!==this.#xt)return this.#xt;const t=this.name,e=this.parent;if(!e)return this.#xt=this.name;const i=e.relative();return i+(i&&e.parent?this.sep:"")+t}relativePosix(){if("/"===this.sep)return this.relative();if(void 0!==this.#St)return this.#St;const t=this.name,e=this.parent;if(!e)return this.#St=this.fullpathPosix();const i=e.relativePosix();return i+(i&&e.parent?"/":"")+t}fullpath(){if(void 0!==this.#kt)return this.#kt;const t=this.name,e=this.parent;if(!e)return this.#kt=this.name;const i=e.fullpath()+(e.parent?this.sep:"")+t;return this.#kt=i}fullpathPosix(){if(void 0!==this.#_t)return this.#_t;if("/"===this.sep)return this.#_t=this.fullpath();if(!this.parent){const t=this.fullpath().replace(/\\/g,"/");return/^[a-z]:\//i.test(t)?this.#_t=`//?/${t}`:this.#_t=t}const t=this.parent,e=t.fullpathPosix(),i=e+(e&&t.parent?"/":"")+this.name;return this.#_t=i}isUnknown(){return 0==(this.#Tt&de)}isType(t){return this[`is${t}`]()}getType(){return this.isUnknown()?"Unknown":this.isDirectory()?"Directory":this.isFile()?"File":this.isSymbolicLink()?"SymbolicLink":this.isFIFO()?"FIFO":this.isCharacterDevice()?"CharacterDevice":this.isBlockDevice()?"BlockDevice":this.isSocket()?"Socket":"Unknown"}isFile(){return 8==(this.#Tt&de)}isDirectory(){return 4==(this.#Tt&de)}isCharacterDevice(){return 2==(this.#Tt&de)}isBlockDevice(){return 6==(this.#Tt&de)}isFIFO(){return 1==(this.#Tt&de)}isSocket(){return 12==(this.#Tt&de)}isSymbolicLink(){return(this.#Tt&pe)===pe}lstatCached(){return 32&this.#Tt?this:void 0}readlinkCached(){return this.#At}realpathCached(){return this.#Et}readdirCached(){const t=this.children();return t.slice(0,t.provisional)}canReadlink(){if(this.#At)return!0;if(!this.parent)return!1;const t=this.#Tt&de;return!(0!==t&&t!==pe||256&this.#Tt||this.#Tt&me)}calledReaddir(){return!!(16&this.#Tt)}isENOENT(){return!!(this.#Tt&me)}isNamed(t){return this.nocase?this.#vt===we(t):this.#vt===be(t)}async readlink(){const t=this.#At;if(t)return t;if(this.canReadlink()&&this.parent)try{const t=await this.#et.promises.readlink(this.fullpath()),e=this.parent.resolve(t);if(e)return this.#At=e}catch(t){return void this.#Pt(t.code)}}readlinkSync(){const t=this.#At;if(t)return t;if(this.canReadlink()&&this.parent)try{const t=this.#et.readlinkSync(this.fullpath()),e=this.parent.resolve(t);if(e)return this.#At=e}catch(t){return void this.#Pt(t.code)}}#Ft(t){this.#Tt|=16;for(let e=t.provisional;e<t.length;e++)t[e].#Lt()}#Lt(){this.#Tt&me||(this.#Tt=(this.#Tt|me)&fe,this.#Mt())}#Mt(){const t=this.children();t.provisional=0;for(const e of t)e.#Lt()}#jt(){this.#Tt|=512,this.#zt()}#zt(){if(64&this.#Tt)return;let t=this.#Tt;4==(t&de)&&(t&=fe),this.#Tt=64|t,this.#Mt()}#Dt(t=""){"ENOTDIR"===t||"EPERM"===t?this.#zt():"ENOENT"===t?this.#Lt():this.children().provisional=0}#Rt(t=""){"ENOTDIR"===t?this.parent.#zt():"ENOENT"===t&&this.#Lt()}#Pt(t=""){let e=this.#Tt;e|=256,"ENOENT"===t&&(e|=me),"EINVAL"!==t&&"UNKNOWN"!==t||(e&=fe),this.#Tt=e,"ENOTDIR"===t&&this.parent&&this.parent.#zt()}#Bt(t,e){return this.#It(t,e)||this.#Nt(t,e)}#Nt(t,e){const i=ge(t),n=this.newChild(t.name,i,{parent:this}),s=n.#Tt&de;return 4!==s&&s!==pe&&0!==s&&(n.#Tt|=64),e.unshift(n),e.provisional++,n}#It(t,e){for(let i=e.provisional;i<e.length;i++){const n=e[i];if((this.nocase?we(t.name):be(t.name))===n.#vt)return this.#Wt(t,n,i,e)}}#Wt(t,e,i,n){const s=e.name;return e.#Tt=e.#Tt&fe|ge(t),s!==t.name&&(e.name=t.name),i!==n.provisional&&(i===n.length-1?n.pop():n.splice(i,1),n.unshift(e)),n.provisional++,e}async lstat(){if(0==(this.#Tt&me))try{return this.#$t(await this.#et.promises.lstat(this.fullpath())),this}catch(t){this.#Rt(t.code)}}lstatSync(){if(0==(this.#Tt&me))try{return this.#$t(this.#et.lstatSync(this.fullpath())),this}catch(t){this.#Rt(t.code)}}#$t(t){const{atime:e,atimeMs:i,birthtime:n,birthtimeMs:s,blksize:r,blocks:o,ctime:a,ctimeMs:l,dev:c,gid:h,ino:u,mode:p,mtime:d,mtimeMs:f,nlink:m,rdev:g,size:y,uid:b}=t;this.#mt=e,this.#ut=i,this.#bt=n,this.#ft=s,this.#lt=r,this.#ht=o,this.#yt=a,this.#dt=l,this.#it=c,this.#ot=h,this.#ct=u,this.#nt=p,this.#gt=d,this.#pt=f,this.#st=m,this.#at=g,this.#k=y,this.#rt=b;const v=ge(t);this.#Tt=this.#Tt&fe|v|32,0!==v&&4!==v&&v!==pe&&(this.#Tt|=64)}#qt=[];#Ut=!1;#Gt(t){this.#Ut=!1;const e=this.#qt.slice();this.#qt.length=0,e.forEach((e=>e(null,t)))}readdirCB(t,e=!1){if(!this.canReaddir())return void(e?t(null,[]):queueMicrotask((()=>t(null,[]))));const i=this.children();if(this.calledReaddir()){const n=i.slice(0,i.provisional);return void(e?t(null,n):queueMicrotask((()=>t(null,n))))}if(this.#qt.push(t),this.#Ut)return;this.#Ut=!0;const n=this.fullpath();this.#et.readdir(n,{withFileTypes:!0},((t,e)=>{if(t)this.#Dt(t.code),i.provisional=0;else{for(const t of e)this.#Bt(t,i);this.#Ft(i)}this.#Gt(i.slice(0,i.provisional))}))}#Ht;async readdir(){if(!this.canReaddir())return[];const t=this.children();if(this.calledReaddir())return t.slice(0,t.provisional);const e=this.fullpath();if(this.#Ht)await this.#Ht;else{let i=()=>{};this.#Ht=new Promise((t=>i=t));try{for(const i of await this.#et.promises.readdir(e,{withFileTypes:!0}))this.#Bt(i,t);this.#Ft(t)}catch(e){this.#Dt(e.code),t.provisional=0}this.#Ht=void 0,i()}return t.slice(0,t.provisional)}readdirSync(){if(!this.canReaddir())return[];const t=this.children();if(this.calledReaddir())return t.slice(0,t.provisional);const e=this.fullpath();try{for(const i of this.#et.readdirSync(e,{withFileTypes:!0}))this.#Bt(i,t);this.#Ft(t)}catch(e){this.#Dt(e.code),t.provisional=0}return t.slice(0,t.provisional)}canReaddir(){if(704&this.#Tt)return!1;const t=de&this.#Tt;return 0===t||4===t||t===pe}shouldWalk(t,e){return 4==(4&this.#Tt)&&!(704&this.#Tt)&&!t.has(this)&&(!e||e(this))}async realpath(){if(this.#Et)return this.#Et;if(!(896&this.#Tt))try{const t=await this.#et.promises.realpath(this.fullpath());return this.#Et=this.resolve(t)}catch(t){this.#jt()}}realpathSync(){if(this.#Et)return this.#Et;if(!(896&this.#Tt))try{const t=this.#et.realpathSync(this.fullpath());return this.#Et=this.resolve(t)}catch(t){this.#jt()}}[xe](t){if(t===this)return;const e=new Set([]);let i=[],n=this;for(;n&&n.parent;)e.add(n),n.#xt=i.join(this.sep),n.#St=i.join("/"),n=n.parent,i.push("..");for(n=t;n&&n.parent&&!e.has(n);)n.#xt=void 0,n.#St=void 0,n=n.parent}}class Te extends Se{sep="\\";splitSep=ue;constructor(t,e=0,i,n,s,r,o){super(t,e,i,n,s,r,o)}newChild(t,e=0,i={}){return new Te(t,e,this.root,this.roots,this.nocase,this.childrenCache(),i)}getRootString(t){return dt.win32.parse(t).root}getRoot(t){if((t=(t=>t.replace(/\//g,"\\").replace(he,"$1\\"))(t.toUpperCase()))===this.root.name)return this.root;for(const[e,i]of Object.entries(this.roots))if(this.sameRoot(t,e))return this.roots[t]=i;return this.roots[t]=new Ee(t,this).root}sameRoot(t,e=this.root.name){return(t=t.toUpperCase().replace(/\//g,"\\").replace(he,"$1\\"))===e}}class Ce extends Se{splitSep="/";sep="/";constructor(t,e=0,i,n,s,r,o){super(t,e,i,n,s,r,o)}getRootString(t){return t.startsWith("/")?"/":""}getRoot(t){return this.root}newChild(t,e=0,i={}){return new Ce(t,e,this.root,this.roots,this.nocase,this.childrenCache(),i)}}class Ae{root;rootPath;roots;cwd;#Vt;#Yt;#Ct;nocase;#et;constructor(t=process.cwd(),e,i,{nocase:n,childrenCacheSize:s=16384,fs:r=le}={}){this.#et=ce(r),(t instanceof URL||t.startsWith("file://"))&&(t=(0,ft.fileURLToPath)(t));const o=e.resolve(t);this.roots=Object.create(null),this.rootPath=this.parseRootPath(o),this.#Vt=new ke,this.#Yt=new ke,this.#Ct=new _e(s);const a=o.substring(this.rootPath.length).split(i);if(1!==a.length||a[0]||a.pop(),void 0===n)throw new TypeError("must provide nocase setting to PathScurryBase ctor");this.nocase=n,this.root=this.newRoot(this.#et),this.roots[this.rootPath]=this.root;let l=this.root,c=a.length-1;const h=e.sep;let u=this.rootPath,p=!1;for(const t of a){const e=c--;l=l.child(t,{relative:new Array(e).fill("..").join(h),relativePosix:new Array(e).fill("..").join("/"),fullpath:u+=(p?"":h)+t}),p=!0}this.cwd=l}depth(t=this.cwd){return"string"==typeof t&&(t=this.cwd.resolve(t)),t.depth()}childrenCache(){return this.#Ct}resolve(...t){let e="";for(let i=t.length-1;i>=0;i--){const n=t[i];if(n&&"."!==n&&(e=e?`${n}/${e}`:n,this.isAbsolute(n)))break}const i=this.#Vt.get(e);if(void 0!==i)return i;const n=this.cwd.resolve(e).fullpath();return this.#Vt.set(e,n),n}resolvePosix(...t){let e="";for(let i=t.length-1;i>=0;i--){const n=t[i];if(n&&"."!==n&&(e=e?`${n}/${e}`:n,this.isAbsolute(n)))break}const i=this.#Yt.get(e);if(void 0!==i)return i;const n=this.cwd.resolve(e).fullpathPosix();return this.#Yt.set(e,n),n}relative(t=this.cwd){return"string"==typeof t&&(t=this.cwd.resolve(t)),t.relative()}relativePosix(t=this.cwd){return"string"==typeof t&&(t=this.cwd.resolve(t)),t.relativePosix()}basename(t=this.cwd){return"string"==typeof t&&(t=this.cwd.resolve(t)),t.name}dirname(t=this.cwd){return"string"==typeof t&&(t=this.cwd.resolve(t)),(t.parent||t).fullpath()}async readdir(t=this.cwd,e={withFileTypes:!0}){"string"==typeof t?t=this.cwd.resolve(t):t instanceof Se||(e=t,t=this.cwd);const{withFileTypes:i}=e;if(t.canReaddir()){const e=await t.readdir();return i?e:e.map((t=>t.name))}return[]}readdirSync(t=this.cwd,e={withFileTypes:!0}){"string"==typeof t?t=this.cwd.resolve(t):t instanceof Se||(e=t,t=this.cwd);const{withFileTypes:i=!0}=e;return t.canReaddir()?i?t.readdirSync():t.readdirSync().map((t=>t.name)):[]}async lstat(t=this.cwd){return"string"==typeof t&&(t=this.cwd.resolve(t)),t.lstat()}lstatSync(t=this.cwd){return"string"==typeof t&&(t=this.cwd.resolve(t)),t.lstatSync()}async readlink(t=this.cwd,{withFileTypes:e}={withFileTypes:!1}){"string"==typeof t?t=this.cwd.resolve(t):t instanceof Se||(e=t.withFileTypes,t=this.cwd);const i=await t.readlink();return e?i:i?.fullpath()}readlinkSync(t=this.cwd,{withFileTypes:e}={withFileTypes:!1}){"string"==typeof t?t=this.cwd.resolve(t):t instanceof Se||(e=t.withFileTypes,t=this.cwd);const i=t.readlinkSync();return e?i:i?.fullpath()}async realpath(t=this.cwd,{withFileTypes:e}={withFileTypes:!1}){"string"==typeof t?t=this.cwd.resolve(t):t instanceof Se||(e=t.withFileTypes,t=this.cwd);const i=await t.realpath();return e?i:i?.fullpath()}realpathSync(t=this.cwd,{withFileTypes:e}={withFileTypes:!1}){"string"==typeof t?t=this.cwd.resolve(t):t instanceof Se||(e=t.withFileTypes,t=this.cwd);const i=t.realpathSync();return e?i:i?.fullpath()}async walk(t=this.cwd,e={}){"string"==typeof t?t=this.cwd.resolve(t):t instanceof Se||(e=t,t=this.cwd);const{withFileTypes:i=!0,follow:n=!1,filter:s,walkFilter:r}=e,o=[];s&&!s(t)||o.push(i?t:t.fullpath());const a=new Set,l=(t,e)=>{a.add(t),t.readdirCB(((t,c)=>{if(t)return e(t);let h=c.length;if(!h)return e();const u=()=>{0==--h&&e()};for(const t of c)s&&!s(t)||o.push(i?t:t.fullpath()),n&&t.isSymbolicLink()?t.realpath().then((t=>t?.isUnknown()?t.lstat():t)).then((t=>t?.shouldWalk(a,r)?l(t,u):u())):t.shouldWalk(a,r)?l(t,u):u()}),!0)},c=t;return new Promise(((t,e)=>{l(c,(i=>{if(i)return e(i);t(o)}))}))}walkSync(t=this.cwd,e={}){"string"==typeof t?t=this.cwd.resolve(t):t instanceof Se||(e=t,t=this.cwd);const{withFileTypes:i=!0,follow:n=!1,filter:s,walkFilter:r}=e,o=[];s&&!s(t)||o.push(i?t:t.fullpath());const a=new Set([t]);for(const t of a){const e=t.readdirSync();for(const t of e){s&&!s(t)||o.push(i?t:t.fullpath());let e=t;if(t.isSymbolicLink()){if(!n||!(e=t.realpathSync()))continue;e.isUnknown()&&e.lstatSync()}e.shouldWalk(a,r)&&a.add(e)}}return o}[Symbol.asyncIterator](){return this.iterate()}iterate(t=this.cwd,e={}){return"string"==typeof t?t=this.cwd.resolve(t):t instanceof Se||(e=t,t=this.cwd),this.stream(t,e)[Symbol.asyncIterator]()}[Symbol.iterator](){return this.iterateSync()}*iterateSync(t=this.cwd,e={}){"string"==typeof t?t=this.cwd.resolve(t):t instanceof Se||(e=t,t=this.cwd);const{withFileTypes:i=!0,follow:n=!1,filter:s,walkFilter:r}=e;s&&!s(t)||(yield i?t:t.fullpath());const o=new Set([t]);for(const t of o){const e=t.readdirSync();for(const t of e){s&&!s(t)||(yield i?t:t.fullpath());let e=t;if(t.isSymbolicLink()){if(!n||!(e=t.realpathSync()))continue;e.isUnknown()&&e.lstatSync()}e.shouldWalk(o,r)&&o.add(e)}}}stream(t=this.cwd,e={}){"string"==typeof t?t=this.cwd.resolve(t):t instanceof Se||(e=t,t=this.cwd);const{withFileTypes:i=!0,follow:n=!1,filter:s,walkFilter:r}=e,o=new oe({objectMode:!0});s&&!s(t)||o.write(i?t:t.fullpath());const a=new Set,l=[t];let c=0;const h=()=>{let t=!1;for(;!t;){const e=l.shift();if(!e)return void(0===c&&o.end());c++,a.add(e);const u=(e,d,f=!1)=>{if(e)return o.emit("error",e);if(n&&!f){const t=[];for(const e of d)e.isSymbolicLink()&&t.push(e.realpath().then((t=>t?.isUnknown()?t.lstat():t)));if(t.length)return void Promise.all(t).then((()=>u(null,d,!0)))}for(const e of d)!e||s&&!s(e)||o.write(i?e:e.fullpath())||(t=!0);c--;for(const t of d){const e=t.realpathCached()||t;e.shouldWalk(a,r)&&l.push(e)}t&&!o.flowing?o.once("drain",h):p||h()};let p=!0;e.readdirCB(u,!0),p=!1}};return h(),o}streamSync(t=this.cwd,e={}){"string"==typeof t?t=this.cwd.resolve(t):t instanceof Se||(e=t,t=this.cwd);const{withFileTypes:i=!0,follow:n=!1,filter:s,walkFilter:r}=e,o=new oe({objectMode:!0}),a=new Set;s&&!s(t)||o.write(i?t:t.fullpath());const l=[t];let c=0;const h=()=>{let t=!1;for(;!t;){const e=l.shift();if(!e)return void(0===c&&o.end());c++,a.add(e);const h=e.readdirSync();for(const e of h)s&&!s(e)||o.write(i?e:e.fullpath())||(t=!0);c--;for(const t of h){let e=t;if(t.isSymbolicLink()){if(!n||!(e=t.realpathSync()))continue;e.isUnknown()&&e.lstatSync()}e.shouldWalk(a,r)&&l.push(e)}}t&&!o.flowing&&o.once("drain",h)};return h(),o}chdir(t=this.cwd){const e=this.cwd;this.cwd="string"==typeof t?this.cwd.resolve(t):t,this.cwd[xe](e)}}class Ee extends Ae{sep="\\";constructor(t=process.cwd(),e={}){const{nocase:i=!0}=e;super(t,dt.win32,"\\",{...e,nocase:i}),this.nocase=i;for(let t=this.cwd;t;t=t.parent)t.nocase=this.nocase}parseRootPath(t){return dt.win32.parse(t).root.toUpperCase()}newRoot(t){return new Te(this.rootPath,4,void 0,this.roots,this.nocase,this.childrenCache(),{fs:t})}isAbsolute(t){return t.startsWith("/")||t.startsWith("\\")||/^[a-z]:(\/|\\)/i.test(t)}}class Oe extends Ae{sep="/";constructor(t=process.cwd(),e={}){const{nocase:i=!1}=e;super(t,dt.posix,"/",{...e,nocase:i}),this.nocase=i}parseRootPath(t){return"/"}newRoot(t){return new Ce(this.rootPath,4,void 0,this.roots,this.nocase,this.childrenCache(),{fs:t})}isAbsolute(t){return t.startsWith("/")}}class Pe extends Oe{constructor(t=process.cwd(),e={}){const{nocase:i=!0}=e;super(t,{...e,nocase:i})}}process.platform;const Fe="win32"===process.platform?Ee:"darwin"===process.platform?Pe:Oe;class Le{#Jt;#Zt;#Qt;length;#Xt;#Kt;#te;#ee;#ie;#ne;#se=!0;constructor(t,e,i,n){if(!(t.length>=1))throw new TypeError("empty pattern list");if(!(e.length>=1))throw new TypeError("empty glob list");if(e.length!==t.length)throw new TypeError("mismatched pattern list and glob list lengths");if(this.length=t.length,i<0||i>=this.length)throw new TypeError("index out of range");if(this.#Jt=t,this.#Zt=e,this.#Qt=i,this.#Xt=n,0===this.#Qt)if(this.isUNC()){const[t,e,i,n,...s]=this.#Jt,[r,o,a,l,...c]=this.#Zt;""===s[0]&&(s.shift(),c.shift());const h=[t,e,i,n,""].join("/"),u=[r,o,a,l,""].join("/");this.#Jt=[h,...s],this.#Zt=[u,...c],this.length=this.#Jt.length}else if(this.isDrive()||this.isAbsolute()){const[t,...e]=this.#Jt,[i,...n]=this.#Zt;""===e[0]&&(e.shift(),n.shift());const s=t+"/",r=i+"/";this.#Jt=[s,...e],this.#Zt=[r,...n],this.length=this.#Jt.length}}pattern(){return this.#Jt[this.#Qt]}isString(){return"string"==typeof this.#Jt[this.#Qt]}isGlobstar(){return this.#Jt[this.#Qt]===Q}isRegExp(){return this.#Jt[this.#Qt]instanceof RegExp}globString(){return this.#te=this.#te||(0===this.#Qt?this.isAbsolute()?this.#Zt[0]+this.#Zt.slice(1).join("/"):this.#Zt.join("/"):this.#Zt.slice(this.#Qt).join("/"))}hasMore(){return this.length>this.#Qt+1}rest(){return void 0!==this.#Kt?this.#Kt:this.hasMore()?(this.#Kt=new Le(this.#Jt,this.#Zt,this.#Qt+1,this.#Xt),this.#Kt.#ne=this.#ne,this.#Kt.#ie=this.#ie,this.#Kt.#ee=this.#ee,this.#Kt):this.#Kt=null}isUNC(){const t=this.#Jt;return void 0!==this.#ie?this.#ie:this.#ie="win32"===this.#Xt&&0===this.#Qt&&""===t[0]&&""===t[1]&&"string"==typeof t[2]&&!!t[2]&&"string"==typeof t[3]&&!!t[3]}isDrive(){const t=this.#Jt;return void 0!==this.#ee?this.#ee:this.#ee="win32"===this.#Xt&&0===this.#Qt&&this.length>1&&"string"==typeof t[0]&&/^[a-z]:$/i.test(t[0])}isAbsolute(){const t=this.#Jt;return void 0!==this.#ne?this.#ne:this.#ne=""===t[0]&&t.length>1||this.isDrive()||this.isUNC()}root(){const t=this.#Jt[0];return"string"==typeof t&&this.isAbsolute()&&0===this.#Qt?t:""}checkFollowGlobstar(){return!(0===this.#Qt||!this.isGlobstar()||!this.#se)}markFollowGlobstar(){return!(0===this.#Qt||!this.isGlobstar()||!this.#se||(this.#se=!1,0))}}const Me="object"==typeof process&&process?process:{stdout:null,stderr:null},je=t=>!!t&&"object"==typeof t&&(t instanceof bi||t instanceof vt||ze(t)||De(t)),ze=t=>!!t&&"object"==typeof t&&t instanceof bt.EventEmitter&&"function"==typeof t.pipe&&t.pipe!==vt.Writable.prototype.pipe,De=t=>!!t&&"object"==typeof t&&t instanceof bt.EventEmitter&&"function"==typeof t.write&&"function"==typeof t.end,Re=Symbol("EOF"),Be=Symbol("maybeEmitEnd"),Ie=Symbol("emittedEnd"),Ne=Symbol("emittingEnd"),We=Symbol("emittedError"),$e=Symbol("closed"),qe=Symbol("read"),Ue=Symbol("flush"),Ge=Symbol("flushChunk"),He=Symbol("encoding"),Ve=Symbol("decoder"),Ye=Symbol("flowing"),Je=Symbol("paused"),Ze=Symbol("resume"),Qe=Symbol("buffer"),Xe=Symbol("pipes"),Ke=Symbol("bufferLength"),ti=Symbol("bufferPush"),ei=Symbol("bufferShift"),ii=Symbol("objectMode"),ni=Symbol("destroyed"),si=Symbol("error"),ri=Symbol("emitData"),oi=Symbol("emitEnd"),ai=Symbol("emitEnd2"),li=Symbol("async"),ci=Symbol("abort"),hi=Symbol("aborted"),ui=Symbol("signal"),pi=Symbol("dataListeners"),di=Symbol("discarded"),fi=t=>Promise.resolve().then(t),mi=t=>t();class gi{src;dest;opts;ondrain;constructor(t,e,i){this.src=t,this.dest=e,this.opts=i,this.ondrain=()=>t[Ze](),this.dest.on("drain",this.ondrain)}unpipe(){this.dest.removeListener("drain",this.ondrain)}proxyErrors(t){}end(){this.unpipe(),this.opts.end&&this.dest.end()}}class yi extends gi{unpipe(){this.src.removeListener("error",this.proxyErrors),super.unpipe()}constructor(t,e,i){super(t,e,i),this.proxyErrors=t=>e.emit("error",t),t.on("error",this.proxyErrors)}}class bi extends bt.EventEmitter{[Ye]=!1;[Je]=!1;[Xe]=[];[Qe]=[];[ii];[He];[li];[Ve];[Re]=!1;[Ie]=!1;[Ne]=!1;[$e]=!1;[We]=null;[Ke]=0;[ni]=!1;[ui];[hi]=!1;[pi]=0;[di]=!1;writable=!0;readable=!0;constructor(...t){const e=t[0]||{};if(super(),e.objectMode&&"string"==typeof e.encoding)throw new TypeError("Encoding and objectMode may not be used together");var i;e.objectMode?(this[ii]=!0,this[He]=null):!(i=e).objectMode&&i.encoding&&"buffer"!==i.encoding?(this[He]=e.encoding,this[ii]=!1):(this[ii]=!1,this[He]=null),this[li]=!!e.async,this[Ve]=this[He]?new wt.StringDecoder(this[He]):null,e&&!0===e.debugExposeBuffer&&Object.defineProperty(this,"buffer",{get:()=>this[Qe]}),e&&!0===e.debugExposePipes&&Object.defineProperty(this,"pipes",{get:()=>this[Xe]});const{signal:n}=e;n&&(this[ui]=n,n.aborted?this[ci]():n.addEventListener("abort",(()=>this[ci]())))}get bufferLength(){return this[Ke]}get encoding(){return this[He]}set encoding(t){throw new Error("Encoding must be set at instantiation time")}setEncoding(t){throw new Error("Encoding must be set at instantiation time")}get objectMode(){return this[ii]}set objectMode(t){throw new Error("objectMode must be set at instantiation time")}get async(){return this[li]}set async(t){this[li]=this[li]||!!t}[ci](){this[hi]=!0,this.emit("abort",this[ui]?.reason),this.destroy(this[ui]?.reason)}get aborted(){return this[hi]}set aborted(t){}write(t,e,i){if(this[hi])return!1;if(this[Re])throw new Error("write after end");if(this[ni])return this.emit("error",Object.assign(new Error("Cannot call write after a stream was destroyed"),{code:"ERR_STREAM_DESTROYED"})),!0;"function"==typeof e&&(i=e,e="utf8"),e||(e="utf8");const n=this[li]?fi:mi;if(!this[ii]&&!Buffer.isBuffer(t))if(s=t,!Buffer.isBuffer(s)&&ArrayBuffer.isView(s))t=Buffer.from(t.buffer,t.byteOffset,t.byteLength);else if((t=>t instanceof ArrayBuffer||!!t&&"object"==typeof t&&t.constructor&&"ArrayBuffer"===t.constructor.name&&t.byteLength>=0)(t))t=Buffer.from(t);else if("string"!=typeof t)throw new Error("Non-contiguous data written to non-objectMode stream");var s;return this[ii]?(this[Ye]&&0!==this[Ke]&&this[Ue](!0),this[Ye]?this.emit("data",t):this[ti](t),0!==this[Ke]&&this.emit("readable"),i&&n(i),this[Ye]):t.length?("string"!=typeof t||e===this[He]&&!this[Ve]?.lastNeed||(t=Buffer.from(t,e)),Buffer.isBuffer(t)&&this[He]&&(t=this[Ve].write(t)),this[Ye]&&0!==this[Ke]&&this[Ue](!0),this[Ye]?this.emit("data",t):this[ti](t),0!==this[Ke]&&this.emit("readable"),i&&n(i),this[Ye]):(0!==this[Ke]&&this.emit("readable"),i&&n(i),this[Ye])}read(t){if(this[ni])return null;if(this[di]=!1,0===this[Ke]||0===t||t&&t>this[Ke])return this[Be](),null;this[ii]&&(t=null),this[Qe].length>1&&!this[ii]&&(this[Qe]=[this[He]?this[Qe].join(""):Buffer.concat(this[Qe],this[Ke])]);const e=this[qe](t||null,this[Qe][0]);return this[Be](),e}[qe](t,e){if(this[ii])this[ei]();else{const i=e;t===i.length||null===t?this[ei]():"string"==typeof i?(this[Qe][0]=i.slice(t),e=i.slice(0,t),this[Ke]-=t):(this[Qe][0]=i.subarray(t),e=i.subarray(0,t),this[Ke]-=t)}return this.emit("data",e),this[Qe].length||this[Re]||this.emit("drain"),e}end(t,e,i){return"function"==typeof t&&(i=t,t=void 0),"function"==typeof e&&(i=e,e="utf8"),void 0!==t&&this.write(t,e),i&&this.once("end",i),this[Re]=!0,this.writable=!1,!this[Ye]&&this[Je]||this[Be](),this}[Ze](){this[ni]||(this[pi]||this[Xe].length||(this[di]=!0),this[Je]=!1,this[Ye]=!0,this.emit("resume"),this[Qe].length?this[Ue]():this[Re]?this[Be]():this.emit("drain"))}resume(){return this[Ze]()}pause(){this[Ye]=!1,this[Je]=!0,this[di]=!1}get destroyed(){return this[ni]}get flowing(){return this[Ye]}get paused(){return this[Je]}[ti](t){this[ii]?this[Ke]+=1:this[Ke]+=t.length,this[Qe].push(t)}[ei](){return this[ii]?this[Ke]-=1:this[Ke]-=this[Qe][0].length,this[Qe].shift()}[Ue](t=!1){do{}while(this[Ge](this[ei]())&&this[Qe].length);t||this[Qe].length||this[Re]||this.emit("drain")}[Ge](t){return this.emit("data",t),this[Ye]}pipe(t,e){if(this[ni])return t;this[di]=!1;const i=this[Ie];return e=e||{},t===Me.stdout||t===Me.stderr?e.end=!1:e.end=!1!==e.end,e.proxyErrors=!!e.proxyErrors,i?e.end&&t.end():(this[Xe].push(e.proxyErrors?new yi(this,t,e):new gi(this,t,e)),this[li]?fi((()=>this[Ze]())):this[Ze]()),t}unpipe(t){const e=this[Xe].find((e=>e.dest===t));e&&(1===this[Xe].length?(this[Ye]&&0===this[pi]&&(this[Ye]=!1),this[Xe]=[]):this[Xe].splice(this[Xe].indexOf(e),1),e.unpipe())}addListener(t,e){return this.on(t,e)}on(t,e){const i=super.on(t,e);if("data"===t)this[di]=!1,this[pi]++,this[Xe].length||this[Ye]||this[Ze]();else if("readable"===t&&0!==this[Ke])super.emit("readable");else if((t=>"end"===t||"finish"===t||"prefinish"===t)(t)&&this[Ie])super.emit(t),this.removeAllListeners(t);else if("error"===t&&this[We]){const t=e;this[li]?fi((()=>t.call(this,this[We]))):t.call(this,this[We])}return i}removeListener(t,e){return this.off(t,e)}off(t,e){const i=super.off(t,e);return"data"===t&&(this[pi]=this.listeners("data").length,0!==this[pi]||this[di]||this[Xe].length||(this[Ye]=!1)),i}removeAllListeners(t){const e=super.removeAllListeners(t);return"data"!==t&&void 0!==t||(this[pi]=0,this[di]||this[Xe].length||(this[Ye]=!1)),e}get emittedEnd(){return this[Ie]}[Be](){this[Ne]||this[Ie]||this[ni]||0!==this[Qe].length||!this[Re]||(this[Ne]=!0,this.emit("end"),this.emit("prefinish"),this.emit("finish"),this[$e]&&this.emit("close"),this[Ne]=!1)}emit(t,...e){const i=e[0];if("error"!==t&&"close"!==t&&t!==ni&&this[ni])return!1;if("data"===t)return!(!this[ii]&&!i)&&(this[li]?(fi((()=>this[ri](i))),!0):this[ri](i));if("end"===t)return this[oi]();if("close"===t){if(this[$e]=!0,!this[Ie]&&!this[ni])return!1;const t=super.emit("close");return this.removeAllListeners("close"),t}if("error"===t){this[We]=i,super.emit(si,i);const t=!(this[ui]&&!this.listeners("error").length)&&super.emit("error",i);return this[Be](),t}if("resume"===t){const t=super.emit("resume");return this[Be](),t}if("finish"===t||"prefinish"===t){const e=super.emit(t);return this.removeAllListeners(t),e}const n=super.emit(t,...e);return this[Be](),n}[ri](t){for(const e of this[Xe])!1===e.dest.write(t)&&this.pause();const e=!this[di]&&super.emit("data",t);return this[Be](),e}[oi](){return!this[Ie]&&(this[Ie]=!0,this.readable=!1,this[li]?(fi((()=>this[ai]())),!0):this[ai]())}[ai](){if(this[Ve]){const t=this[Ve].end();if(t){for(const e of this[Xe])e.dest.write(t);this[di]||super.emit("data",t)}}for(const t of this[Xe])t.end();const t=super.emit("end");return this.removeAllListeners("end"),t}async collect(){const t=Object.assign([],{dataLength:0});this[ii]||(t.dataLength=0);const e=this.promise();return this.on("data",(e=>{t.push(e),this[ii]||(t.dataLength+=e.length)})),await e,t}async concat(){if(this[ii])throw new Error("cannot concat in objectMode");const t=await this.collect();return this[He]?t.join(""):Buffer.concat(t,t.dataLength)}async promise(){return new Promise(((t,e)=>{this.on(ni,(()=>e(new Error("stream destroyed")))),this.on("error",(t=>e(t))),this.on("end",(()=>t()))}))}[Symbol.asyncIterator](){this[di]=!1;let t=!1;const e=async()=>(this.pause(),t=!0,{value:void 0,done:!0});return{next:()=>{if(t)return e();const i=this.read();if(null!==i)return Promise.resolve({done:!1,value:i});if(this[Re])return e();let n,s;const r=t=>{this.off("data",o),this.off("end",a),this.off(ni,l),e(),s(t)},o=t=>{this.off("error",r),this.off("end",a),this.off(ni,l),this.pause(),n({value:t,done:!!this[Re]})},a=()=>{this.off("error",r),this.off("data",o),this.off(ni,l),e(),n({done:!0,value:void 0})},l=()=>r(new Error("stream destroyed"));return new Promise(((t,e)=>{s=e,n=t,this.once(ni,l),this.once("error",r),this.once("end",a),this.once("data",o)}))},throw:e,return:e,[Symbol.asyncIterator](){return this}}}[Symbol.iterator](){this[di]=!1;let t=!1;const e=()=>(this.pause(),this.off(si,e),this.off(ni,e),this.off("end",e),t=!0,{done:!0,value:void 0});return this.once("end",e),this.once(si,e),this.once(ni,e),{next:()=>{if(t)return e();const i=this.read();return null===i?e():{done:!1,value:i}},throw:e,return:e,[Symbol.iterator](){return this}}}destroy(t){return this[ni]?(t?this.emit("error",t):this.emit(ni),this):(this[ni]=!0,this[di]=!0,this[Qe].length=0,this[Ke]=0,"function"!=typeof this.close||this[$e]||this.close(),t?this.emit("error",t):this.emit(ni),this)}static get isStream(){return je}}const vi="object"==typeof process&&process&&"string"==typeof process.platform?process.platform:"linux";class wi{relative;relativeChildren;absolute;absoluteChildren;constructor(t,{nobrace:e,nocase:i,noext:n,noglobstar:s,platform:r=vi}){this.relative=[],this.absolute=[],this.relativeChildren=[],this.absoluteChildren=[];const o={dot:!0,nobrace:e,nocase:i,noext:n,noglobstar:s,optimizationLevel:2,platform:r,nocomment:!0,nonegate:!0};for(const e of t){const t=new et(e,o);for(let e=0;e<t.set.length;e++){const i=t.set[e],n=t.globParts[e],s=new Le(i,n,0,r),a=new et(s.globString(),o),l="**"===n[n.length-1],c=s.isAbsolute();c?this.absolute.push(a):this.relative.push(a),l&&(c?this.absoluteChildren.push(a):this.relativeChildren.push(a))}}}ignored(t){const e=t.fullpath(),i=`${e}/`,n=t.relative()||".",s=`${n}/`;for(const t of this.relative)if(t.match(n)||t.match(s))return!0;for(const t of this.absolute)if(t.match(e)||t.match(i))return!0;return!1}childrenIgnored(t){const e=t.fullpath()+"/",i=(t.relative()||".")+"/";for(const t of this.relativeChildren)if(t.match(i))return!0;for(const t of this.absoluteChildren)t.match(e);return!1}}class ki{store;constructor(t=new Map){this.store=t}copy(){return new ki(new Map(this.store))}hasWalked(t,e){return this.store.get(t.fullpath())?.has(e.globString())}storeWalked(t,e){const i=t.fullpath(),n=this.store.get(i);n?n.add(e.globString()):this.store.set(i,new Set([e.globString()]))}}class _i{store=new Map;add(t,e,i){const n=(e?2:0)|(i?1:0),s=this.store.get(t);this.store.set(t,void 0===s?n:n&s)}entries(){return[...this.store.entries()].map((([t,e])=>[t,!!(2&e),!!(1&e)]))}}class xi{store=new Map;add(t,e){if(!t.canReaddir())return;const i=this.store.get(t);i?i.find((t=>t.globString()===e.globString()))||i.push(e):this.store.set(t,[e])}get(t){const e=this.store.get(t);if(!e)throw new Error("attempting to walk unknown path");return e}entries(){return this.keys().map((t=>[t,this.store.get(t)]))}keys(){return[...this.store.keys()].filter((t=>t.canReaddir()))}}class Si{hasWalkedCache;matches=new _i;subwalks=new xi;patterns;follow;dot;opts;constructor(t,e){this.opts=t,this.follow=!!t.follow,this.dot=!!t.dot,this.hasWalkedCache=e?e.copy():new ki}processPatterns(t,e){this.patterns=e;const i=e.map((e=>[t,e]));for(let[t,e]of i){this.hasWalkedCache.storeWalked(t,e);const i=e.root(),n=e.isAbsolute()&&!1!==this.opts.absolute;if(i){t=t.resolve("/"===i&&void 0!==this.opts.root?this.opts.root:i);const n=e.rest();if(!n){this.matches.add(t,!0,!1);continue}e=n}if(t.isENOENT())continue;let s,r,o=!1;for(;"string"==typeof(s=e.pattern())&&(r=e.rest());){const i=t.resolve(s);t=i,e=r,o=!0}if(s=e.pattern(),r=e.rest(),o){if(this.hasWalkedCache.hasWalked(t,e))continue;this.hasWalkedCache.storeWalked(t,e)}if("string"!=typeof s)if(s===Q){(!t.isSymbolicLink()||this.follow||e.checkFollowGlobstar())&&this.subwalks.add(t,e);const i=r?.pattern(),s=r?.rest();if(r&&(""!==i&&"."!==i||s)){if(".."===i){const e=t.parent||t;s?this.hasWalkedCache.hasWalked(e,s)||this.subwalks.add(e,s):this.matches.add(e,n,!0)}}else this.matches.add(t,n,""===i||"."===i)}else s instanceof RegExp&&this.subwalks.add(t,e);else{const e=".."===s||""===s||"."===s;this.matches.add(t.resolve(s),n,e)}}return this}subwalkTargets(){return this.subwalks.keys()}child(){return new Si(this.opts,this.hasWalkedCache)}filterEntries(t,e){const i=this.subwalks.get(t),n=this.child();for(const t of e)for(const e of i){const i=e.isAbsolute(),s=e.pattern(),r=e.rest();s===Q?n.testGlobstar(t,e,r,i):s instanceof RegExp?n.testRegExp(t,s,r,i):n.testString(t,s,r,i)}return n}testGlobstar(t,e,i,n){if(!this.dot&&t.name.startsWith(".")||(e.hasMore()||this.matches.add(t,n,!1),t.canReaddir()&&(this.follow||!t.isSymbolicLink()?this.subwalks.add(t,e):t.isSymbolicLink()&&(i&&e.checkFollowGlobstar()?this.subwalks.add(t,i):e.markFollowGlobstar()&&this.subwalks.add(t,e)))),i){const e=i.pattern();if("string"==typeof e&&".."!==e&&""!==e&&"."!==e)this.testString(t,e,i.rest(),n);else if(".."===e){const e=t.parent||t;this.subwalks.add(e,i)}else e instanceof RegExp&&this.testRegExp(t,e,i.rest(),n)}}testRegExp(t,e,i,n){e.test(t.name)&&(i?this.subwalks.add(t,i):this.matches.add(t,n,!1))}testString(t,e,i,n){t.isNamed(e)&&(i?this.subwalks.add(t,i):this.matches.add(t,n,!1))}}class Ti{path;patterns;opts;seen=new Set;paused=!1;aborted=!1;#re=[];#oe;#ae;signal;maxDepth;constructor(t,e,i){this.patterns=t,this.path=e,this.opts=i,this.#ae=i.posix||"win32"!==i.platform?"/":"\\",i.ignore&&(this.#oe=((t,e)=>"string"==typeof t?new wi([t],e):Array.isArray(t)?new wi(t,e):t)(i.ignore,i)),this.maxDepth=i.maxDepth||1/0,i.signal&&(this.signal=i.signal,this.signal.addEventListener("abort",(()=>{this.#re.length=0})))}#le(t){return this.seen.has(t)||!!this.#oe?.ignored?.(t)}#ce(t){return!!this.#oe?.childrenIgnored?.(t)}pause(){this.paused=!0}resume(){if(this.signal?.aborted)return;let t;for(this.paused=!1;!this.paused&&(t=this.#re.shift());)t()}onResume(t){this.signal?.aborted||(this.paused?this.#re.push(t):t())}async matchCheck(t,e){if(e&&this.opts.nodir)return;let i;if(this.opts.realpath){if(i=t.realpathCached()||await t.realpath(),!i)return;t=i}const n=t.isUnknown()||this.opts.stat;return this.matchCheckTest(n?await t.lstat():t,e)}matchCheckTest(t,e){return!t||!(this.maxDepth===1/0||t.depth()<=this.maxDepth)||e&&!t.canReaddir()||this.opts.nodir&&t.isDirectory()||this.#le(t)?void 0:t}matchCheckSync(t,e){if(e&&this.opts.nodir)return;let i;if(this.opts.realpath){if(i=t.realpathCached()||t.realpathSync(),!i)return;t=i}const n=t.isUnknown()||this.opts.stat;return this.matchCheckTest(n?t.lstatSync():t,e)}matchFinish(t,e){if(this.#le(t))return;const i=void 0===this.opts.absolute?e:this.opts.absolute;this.seen.add(t);const n=this.opts.mark&&t.isDirectory()?this.#ae:"";if(this.opts.withFileTypes)this.matchEmit(t);else if(i){const e=this.opts.posix?t.fullpathPosix():t.fullpath();this.matchEmit(e+n)}else{const e=this.opts.posix?t.relativePosix():t.relative(),i=this.opts.dotRelative&&!e.startsWith(".."+this.#ae)?"."+this.#ae:"";this.matchEmit(e?i+e+n:"."+n)}}async match(t,e,i){const n=await this.matchCheck(t,i);n&&this.matchFinish(n,e)}matchSync(t,e,i){const n=this.matchCheckSync(t,i);n&&this.matchFinish(n,e)}walkCB(t,e,i){this.signal?.aborted&&i(),this.walkCB2(t,e,new Si(this.opts),i)}walkCB2(t,e,i,n){if(this.#ce(t))return n();if(this.signal?.aborted&&n(),this.paused)return void this.onResume((()=>this.walkCB2(t,e,i,n)));i.processPatterns(t,e);let s=1;const r=()=>{0==--s&&n()};for(const[t,e,n]of i.matches.entries())this.#le(t)||(s++,this.match(t,e,n).then((()=>r())));for(const t of i.subwalkTargets()){if(this.maxDepth!==1/0&&t.depth()>=this.maxDepth)continue;s++;const e=t.readdirCached();t.calledReaddir()?this.walkCB3(t,e,i,r):t.readdirCB(((e,n)=>this.walkCB3(t,n,i,r)),!0)}r()}walkCB3(t,e,i,n){i=i.filterEntries(t,e);let s=1;const r=()=>{0==--s&&n()};for(const[t,e,n]of i.matches.entries())this.#le(t)||(s++,this.match(t,e,n).then((()=>r())));for(const[t,e]of i.subwalks.entries())s++,this.walkCB2(t,e,i.child(),r);r()}walkCBSync(t,e,i){this.signal?.aborted&&i(),this.walkCB2Sync(t,e,new Si(this.opts),i)}walkCB2Sync(t,e,i,n){if(this.#ce(t))return n();if(this.signal?.aborted&&n(),this.paused)return void this.onResume((()=>this.walkCB2Sync(t,e,i,n)));i.processPatterns(t,e);let s=1;const r=()=>{0==--s&&n()};for(const[t,e,n]of i.matches.entries())this.#le(t)||this.matchSync(t,e,n);for(const t of i.subwalkTargets()){if(this.maxDepth!==1/0&&t.depth()>=this.maxDepth)continue;s++;const e=t.readdirSync();this.walkCB3Sync(t,e,i,r)}r()}walkCB3Sync(t,e,i,n){i=i.filterEntries(t,e);let s=1;const r=()=>{0==--s&&n()};for(const[t,e,n]of i.matches.entries())this.#le(t)||this.matchSync(t,e,n);for(const[t,e]of i.subwalks.entries())s++,this.walkCB2Sync(t,e,i.child(),r);r()}}class Ci extends Ti{matches;constructor(t,e,i){super(t,e,i),this.matches=new Set}matchEmit(t){this.matches.add(t)}async walk(){if(this.signal?.aborted)throw this.signal.reason;return this.path.isUnknown()&&await this.path.lstat(),await new Promise(((t,e)=>{this.walkCB(this.path,this.patterns,(()=>{this.signal?.aborted?e(this.signal.reason):t(this.matches)}))})),this.matches}walkSync(){if(this.signal?.aborted)throw this.signal.reason;return this.path.isUnknown()&&this.path.lstatSync(),this.walkCBSync(this.path,this.patterns,(()=>{if(this.signal?.aborted)throw this.signal.reason})),this.matches}}class Ai extends Ti{results;constructor(t,e,i){super(t,e,i),this.results=new bi({signal:this.signal,objectMode:!0}),this.results.on("drain",(()=>this.resume())),this.results.on("resume",(()=>this.resume()))}matchEmit(t){this.results.write(t),this.results.flowing||this.pause()}stream(){const t=this.path;return t.isUnknown()?t.lstat().then((()=>{this.walkCB(t,this.patterns,(()=>this.results.end()))})):this.walkCB(t,this.patterns,(()=>this.results.end())),this.results}streamSync(){return this.path.isUnknown()&&this.path.lstatSync(),this.walkCBSync(this.path,this.patterns,(()=>this.results.end())),this.results}}const Ei="object"==typeof process&&process&&"string"==typeof process.platform?process.platform:"linux";class Oi{absolute;cwd;root;dot;dotRelative;follow;ignore;magicalBraces;mark;matchBase;maxDepth;nobrace;nocase;nodir;noext;noglobstar;pattern;platform;realpath;scurry;stat;signal;windowsPathsNoEscape;withFileTypes;opts;patterns;constructor(t,e){if(!e)throw new TypeError("glob options required");if(this.withFileTypes=!!e.withFileTypes,this.signal=e.signal,this.follow=!!e.follow,this.dot=!!e.dot,this.dotRelative=!!e.dotRelative,this.nodir=!!e.nodir,this.mark=!!e.mark,e.cwd?(e.cwd instanceof URL||e.cwd.startsWith("file://"))&&(e.cwd=(0,ft.fileURLToPath)(e.cwd)):this.cwd="",this.cwd=e.cwd||"",this.root=e.root,this.magicalBraces=!!e.magicalBraces,this.nobrace=!!e.nobrace,this.noext=!!e.noext,this.realpath=!!e.realpath,this.absolute=e.absolute,this.noglobstar=!!e.noglobstar,this.matchBase=!!e.matchBase,this.maxDepth="number"==typeof e.maxDepth?e.maxDepth:1/0,this.stat=!!e.stat,this.ignore=e.ignore,this.withFileTypes&&void 0!==this.absolute)throw new Error("cannot set absolute and withFileTypes:true");if("string"==typeof t&&(t=[t]),this.windowsPathsNoEscape=!!e.windowsPathsNoEscape||!1===e.allowWindowsEscape,this.windowsPathsNoEscape&&(t=t.map((t=>t.replace(/\\/g,"/")))),this.matchBase){if(e.noglobstar)throw new TypeError("base matching requires globstar");t=t.map((t=>t.includes("/")?t:`./**/${t}`))}if(this.pattern=t,this.platform=e.platform||Ei,this.opts={...e,platform:this.platform},e.scurry){if(this.scurry=e.scurry,void 0!==e.nocase&&e.nocase!==e.scurry.nocase)throw new Error("nocase option contradicts provided scurry option")}else{const t="win32"===e.platform?Ee:"darwin"===e.platform?Pe:e.platform?Oe:Fe;this.scurry=new t(this.cwd,{nocase:e.nocase,fs:e.fs})}this.nocase=this.scurry.nocase;const i="darwin"===this.platform||"win32"===this.platform,n={...e,dot:this.dot,matchBase:this.matchBase,nobrace:this.nobrace,nocase:this.nocase,nocaseMagicOnly:i,nocomment:!0,noext:this.noext,nonegate:!0,optimizationLevel:2,platform:this.platform,windowsPathsNoEscape:this.windowsPathsNoEscape,debug:!!this.opts.debug},s=this.pattern.map((t=>new et(t,n))),[r,o]=s.reduce(((t,e)=>(t[0].push(...e.set),t[1].push(...e.globParts),t)),[[],[]]);this.patterns=r.map(((t,e)=>new Le(t,o[e],0,this.platform)))}async walk(){return[...await new Ci(this.patterns,this.scurry.cwd,{...this.opts,maxDepth:this.maxDepth!==1/0?this.maxDepth+this.scurry.cwd.depth():1/0,platform:this.platform,nocase:this.nocase}).walk()]}walkSync(){return[...new Ci(this.patterns,this.scurry.cwd,{...this.opts,maxDepth:this.maxDepth!==1/0?this.maxDepth+this.scurry.cwd.depth():1/0,platform:this.platform,nocase:this.nocase}).walkSync()]}stream(){return new Ai(this.patterns,this.scurry.cwd,{...this.opts,maxDepth:this.maxDepth!==1/0?this.maxDepth+this.scurry.cwd.depth():1/0,platform:this.platform,nocase:this.nocase}).stream()}streamSync(){return new Ai(this.patterns,this.scurry.cwd,{...this.opts,maxDepth:this.maxDepth!==1/0?this.maxDepth+this.scurry.cwd.depth():1/0,platform:this.platform,nocase:this.nocase}).streamSync()}iterateSync(){return this.streamSync()[Symbol.iterator]()}[Symbol.iterator](){return this.iterateSync()}iterate(){return this.stream()[Symbol.asyncIterator]()}[Symbol.asyncIterator](){return this.iterate()}}function Pi(t,e={}){return new Oi(t,e).streamSync()}function Fi(t,e={}){return new Oi(t,e).stream()}function Li(t,e={}){return new Oi(t,e).walkSync()}async function Mi(t,e={}){return new Oi(t,e).walk()}function ji(t,e={}){return new Oi(t,e).iterateSync()}function zi(t,e={}){return new Oi(t,e).iterate()}const Di=Pi,Ri=Object.assign(Fi,{sync:Pi}),Bi=ji,Ii=Object.assign(zi,{sync:ji}),Ni=Object.assign(Li,{stream:Pi,iterate:ji}),Wi=Object.assign(Mi,{glob:Mi,globSync:Li,sync:Ni,globStream:Fi,stream:Ri,globStreamSync:Pi,streamSync:Di,globIterate:zi,iterate:Ii,globIterateSync:ji,iterateSync:Bi,Glob:Oi,hasMagic:(t,e={})=>{Array.isArray(t)||(t=[t]);for(const i of t)if(new et(i,e).hasMagic())return!0;return!1},escape:E,unescape:y});Wi.glob=Wi;var $i,qi=i(991);function Ui(t,e){var i="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!i){if(Array.isArray(t)||(i=function(t,e){if(t){if("string"==typeof t)return Gi(t,e);var i=Object.prototype.toString.call(t).slice(8,-1);return"Object"===i&&t.constructor&&(i=t.constructor.name),"Map"===i||"Set"===i?Array.from(t):"Arguments"===i||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i)?Gi(t,e):void 0}}(t))||e&&t&&"number"==typeof t.length){i&&(t=i);var n=0,s=function(){};return{s,n:function(){return n>=t.length?{done:!0}:{done:!1,value:t[n++]}},e:function(t){throw t},f:s}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var r,o=!0,a=!1;return{s:function(){i=i.call(t)},n:function(){var t=i.next();return o=t.done,t},e:function(t){a=!0,r=t},f:function(){try{o||null==i.return||i.return()}finally{if(a)throw r}}}}function Gi(t,e){(null==e||e>t.length)&&(e=t.length);for(var i=0,n=new Array(e);i<e;i++)n[i]=t[i];return n}var Hi={};pinegrow.addEventHandler("on_vite_plugin_activated",(function(t,e,i){e===qi.Yr.key&&function(){($i=$i||c(h.mark((function t(){var e,i,n,s,r,o;return h.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(!(e=pinegrow.app_designer.addonManager.apiServerManager.connectionManager.repoRoot)){t.next=28;break}if(i=path.resolve(e,"node_modules","quasar","dist","api"),!fs.existsSync(i)||!fs.statSync(i).isDirectory()){t.next=28;break}return t.next=8,Wi("*.json",{cwd:path.resolve(i),withFileTypes:!0});case 8:n=(n=t.sent).sort((function(t,e){return t.fullpath().localeCompare(e.fullpath())})),s=Ui(n),t.prev=11,o=h.mark((function t(){var e,i,n,s,o,a,c;return h.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(!(e=r.value).isFile()){t.next=11;break}if(i=e.fullpath(),n=e.name,s=n.replace(path.extname(n),""),(a=fs.readFileSync(i,{encoding:"utf8",flag:"r"})).trim()&&(o=JSON.parse(a)||{}),"component"===o.type){t.next=9;break}return t.abrupt("return",1);case 9:c=o.props||{},Object.entries(c).filter((function(t){var e=l(t,2);return e[0],e[1].values})).forEach((function(t){var e=l(t,2),i=e[0],n=e[1];Hi[s]||(Hi[s]={}),Hi[s][i]={customType:"select",options:n.values}}));case 11:case"end":return t.stop()}}),t)})),s.s();case 14:if((r=s.n()).done){t.next=20;break}return t.delegateYield(o(),"t0",16);case 16:if(!t.t0){t.next=18;break}return t.abrupt("continue",18);case 18:t.next=14;break;case 20:t.next=25;break;case 22:t.prev=22,t.t1=t.catch(11),s.e(t.t1);case 25:return t.prev=25,s.f(),t.finish(25);case 28:case"end":return t.stop()}}),t,null,[[11,22,25,28]])})))).apply(this,arguments)}()}));var Vi={default:function(t){return["placeholderSrc","src","srcset","imgSrc","trackImg","innerTrackImg","selectionImg","avatar","appendAvatar","prependAvatar"].includes(t)?{customType:"image"}:t.toLowerCase().endsWith("icon")?{customType:"icon"}:t.toLowerCase().endsWith("color")?{customType:"color"}:void 0}};function Yi(t,e){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),i.push.apply(i,n)}return i}function Ji(t){for(var e=1;e<arguments.length;e++){var i=null!=arguments[e]?arguments[e]:{};e%2?Yi(Object(i),!0).forEach((function(e){n(t,e,i[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(i)):Yi(Object(i)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(i,e))}))}return t}var Zi={QBtn:{props:{label:"My Button"}},QIcon:{props:{name:"i-mdi-home"}},QImg:{props:{src:"https://images.unsplash.com/photo-1551120738-c3fcea8d0cf8?crop=entropy&cs=tinysrgb&fit=max&fm=jpg&ixid=MnwyMDkyMnwwfDF8c2VhcmNofDJ8fHBpbmUlMjB0cmVlfGVufDB8fHx8MTY1Njc1MzAyMg&ixlib=rb-1.2.1&q=80&w=1080"}}},Qi=i(408);function Xi(t,e){(null==e||e>t.length)&&(e=t.length);for(var i=0,n=new Array(e);i<e;i++)n[i]=t[i];return n}function Ki(t,e){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),i.push.apply(i,n)}return i}function tn(t){for(var e=1;e<arguments.length;e++){var i=null!=arguments[e]?arguments[e]:{};e%2?Ki(Object(i),!0).forEach((function(e){n(t,e,i[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(i)):Ki(Object(i)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(i,e))}))}return t}var en,nn=function(t){return t.replaceAll(" ","-").toLowerCase()},sn=[{label:"Buttons",value:"button"},{label:"Inputs",value:"input"},{label:"Loading",value:"loading"},{label:"Media",value:"media"},{label:"Navigation",value:"navigation"},{label:"Panels & Popups",value:"panel"},{label:"Scroll",value:"scroll"},{label:"Tables",value:"table"},{label:"Other Components",value:"other"},{label:"Directives",value:"directive"},{label:"Plugins",value:"plugin"},{label:"Utils",value:"util"}],rn=[].concat(Qi([{label:"Ajax-bar",name:"ajax-bar",description:"A loading bar for ajax calls in progress",tag:"loading"},{label:"Avatar",name:"avatar",description:"A space for your portrait, icon or text",tag:"media"},{label:"Badge",name:"badge",description:"To highlight small but important info",tag:"media"},{label:"Banner",name:"banner",description:"To display important messages and actions",tag:"panel"},{label:"Bar",name:"bar",description:"A small top bar for side info and actions",tag:"other"},{label:"Breadcrumbs",name:"breadcrumbs",description:"To keep track of your position inside app",tag:"navigation"},{label:"BreadcrumbsEl",name:"breadcrumbs-el",description:"To keep track of your position inside app",tag:"navigation"},{label:"Buttons",name:"btn",description:"To access the most important actions",tag:"button",path:"button"},{label:"Buttons Dropdown",name:"btn-dropdown",description:"To access more actions at once in less space",tag:"button",path:"button-dropdown"},{label:"Buttons Group",name:"btn-group",description:"An alternative to classic buttons",tag:"button",path:"button-group"},{label:"Floating Action Button",name:"fab",description:"To display the page primary action",tag:"button"},{label:"Toggle Buttons",name:"btn-toggle",description:"An alternative to pick an option among many",tag:"button",path:"button-toggle"},{label:"Toggle",name:"toggle",description:"To switch an option on and off",tag:"button"},{label:"Card",name:"card",description:"To display grouped contents",tag:"panel",path:"card"},{label:"Card Section",name:"card-section",description:"",tag:"panel",path:"card"},{label:"Card Actions",name:"card-actions",description:"",tag:"panel",path:"card"},{label:"Carousel",name:"carousel",description:"To display images and other contents",tag:"media",path:"carousel"},{label:"Carousel Control",name:"carousel-control",description:"",tag:"media",path:"carousel"},{label:"Carousel Slide",name:"carousel-slide",description:"",tag:"media",path:"carousel"},{label:"Chat Message",name:"chat-message",description:"To display users' conversations",tag:"other",path:"chat"},{label:"Checkbox",name:"checkbox",description:"To flag one or more options in a list",tag:"input"},{label:"Chips",name:"chip",description:"A small container for info and actions",tag:"media",path:"chip"},{label:"Circular Progress",name:"circular-progress",description:"To inform when content is still loading",tag:"loading"},{label:"Color Pickers",name:"color",description:"To select color values and codes",tag:"input",path:"color-picker"},{label:"Date Picker",name:"date",description:"To access the most important actions",tag:"input",path:"date"},{label:"Dialogs",name:"dialog",description:"To show actions and info only when needed",tag:"panel",path:"dialog"},{label:"Editor WYSIWYG",name:"editor",description:"To write text and style it directly",tag:"other",path:"editor"},{label:"Expansion Panels",name:"expansion-item",description:"To show hidden extra info and actions",tag:"panel",path:"expansion-item"},{label:"File Pickers",name:"file",description:"To access and choose a file from users' device",tag:"media",path:"file"},{label:"Forms",name:"form",description:"A system to submit validated inputs",tag:"input",path:"form"},{label:"Form Fields",name:"field",description:"Wrapper for your own custom form elements",tag:"input",path:"field"},{label:"Icon",name:"icon",description:"To insert icons inside other components",tag:"media"},{label:"Img",name:"img",description:"To set some basic image features",tag:"media"},{label:"Infinite Scroll",name:"infinite-scroll",description:"To enable new content display while scrolling",tag:"scroll"},{label:"Inner Loading",name:"inner-loading",description:"To add content loading inside a component",tag:"loading"},{label:"Input Text Fields",name:"input",description:"To collect users' typed text input",tag:"input",path:"input"},{label:"Intersection",name:"intersection",description:"Set how UI elements enter the screen",tag:"loading"},{label:"Knob",name:"knob",description:"To set a value with a draggable gauge",tag:"input"},{label:"Linear Progress",name:"linear-progress",description:"A loading bar with various behaviors",tag:"loading"},{label:"List",name:"list",description:"To display contents on a vertical list",tag:"other"},{label:"List Items",name:"item",description:"",tag:"other"},{label:"List Item Section",name:"item-section",description:"",tag:"other"},{label:"List Item Label",name:"item-label",description:"",tag:"other"},{label:"Markup Table",name:"markup-table",description:"To display data and content on a table",tag:"table"},{label:"Menu",name:"menu",description:"A dropdown panel to access options",tag:"panel"},{label:"No SSR",name:"no-ssr",description:"Ignore irrelevant code during SSR generation",tag:"other"},{label:"Observer resize",name:"resize-observer",description:"Emit an Event when an element resizes",tag:"other",path:"resize-observer"},{label:"Observer scroll",name:"scroll-observer",description:"Emit an Event when the user scrolls",tag:"other",path:"scroll-observer"},{label:"Option Group",name:"option-group",description:"Helper component to set groups of options",tag:"input"},{label:"Pagination",name:"pagination",description:"To navigate content on multiple pages",tag:["navigation"]},{label:"Parallax",name:"parallax",description:"To create interesting UI image background",tag:"media"},{label:"Popup Edit",name:"popup-edit",description:"To access inline editing of data",tag:"input"},{label:"Popup Proxy",name:"popup-proxy",description:"To show extra content on click",tag:"panel"},{label:"Pull to Refresh",name:"pull-to-refresh",description:"To refresh the page content with a gesture",tag:"loading"},{label:"Radio",name:"radio",description:"To select a single option in a list",tag:"input"},{label:"Range",name:"range",description:"To pick a period on a range of values",tag:"input"},{label:"Rating",name:"rating",description:'The classic "star rating" component',tag:"other"},{label:"Responsive",name:"responsive",description:"To keep content aspect ratio consistent",tag:"other"},{label:"Scroll Area",name:"scroll-area",description:"To set a scrollable content in components",tag:"scroll"},{label:"Select",name:"select",description:"To choose one item from a dropdown list",tag:"input"},{label:"Separator",name:"separator",description:"The linear visual divider for contents",tag:"other"},{label:"Skeleton",name:"skeleton",description:"To set loading content placeholders",tag:"loading"},{label:"Slide Item",name:"slide-item",description:"To add dragging feature to list items",tag:"other"},{label:"Slider",name:"slider",description:"To pick a single value on a range",tag:"input"},{label:"Slide Transition",name:"slide-transition",description:"To show a hidden content",tag:"other"},{label:"Space",name:"space",description:"Fill space inside elements using flexbox",tag:"other"},{label:"Spinners",name:"spinner",description:"A loading indicator with various behaviors",tag:"loading"},{label:"Spinner Cube",name:"spinner-cube",description:"",tag:"loading"},{label:"Splitter",name:"splitter",description:"To add a draggable resizer for containers",tag:"other"},{label:"Stepper",name:"stepper",description:"To divide content in progressive steps",tag:"navigation"},{label:"Step",name:"step",description:"",tag:"navigation"},{label:"Stepper Navigation",name:"stepper-navigation",description:"",tag:"navigation"},{label:"Table",name:"table",description:"To display much data on a datatable",tag:"table"},{label:"Th",name:"th",description:"",tag:"table"},{label:"Tr",name:"tr",description:"",tag:"table"},{label:"Td",name:"td",description:"",tag:"table"},{label:"Tab Panels",name:"tab-panels",description:"To split out content view in the same page",tag:"navigation"},{label:"Tab Panel",name:"tab-panel",description:"To navigate separate content in one page",tag:"navigation"},{label:"Timeline",name:"timeline",description:"A vertical solution to set milestones in time",tag:"other"},{label:"Timeline Entry",name:"timeline-entry",description:"",tag:"other"},{label:"Time Picker",name:"time",description:"To set a specific time on the clock",tag:"input",path:"time"},{label:"Toolbar",name:"toolbar",description:"The top main bar for actions and menu",tag:"navigation"},{label:"Toolbar Title",name:"toolbar-title",description:"The top main bar for actions and menu",tag:"navigation"},{label:"Tooltip",name:"tooltip",description:"To show extra useful info about the UI",tag:"media"},{label:"Tree",name:"tree",description:"An indented structure for hierarchical data",tag:"navigation"},{label:"Uploader",name:"uploader",description:"To upload any kind of file from the computer",tag:"media"},{label:"Video",name:"video",description:"To embed and display a video player in UI",tag:"media"},{label:"Virtual Scroll",name:"virtual-scroll",description:"To render new content while scrolling it",tag:"scroll"}].map((function(t){var e=sn.find((function(e){return e.value===(Array.isArray(t.tag)?t.tag[0]:t.tag)})).label,i=nn(t.name);return tn(tn({},t),{},{category:e,img:"https://cdn.quasar.dev/img/components/".concat(i,".jpg"),to:"/vue-components/".concat(t.path||i)})}))),Qi([{name:"Intersection",description:"Handle elements coming into the view",tag:"directive"},{name:"Material Ripples",description:"Apply Material ripples to elements",tag:"directive"},{name:"Mutation",description:"Watch changes being made to the DOM tree",tag:"directive"},{name:"Morph",description:"Morph DOM elements between two states",tag:"directive"},{name:"Scroll",description:"Handle page scroll",tag:"directive"},{name:"Scroll Fire",description:"Take action when element comes into view",tag:"directive"},{name:"Touch Hold",description:"Handle touch & mouse hold user actions",tag:"directive"},{name:"Touch Pan",description:"Handle touch & mouse panning user actions",tag:"directive"},{name:"Touch Repeat",description:"Handle repeated touch & mouse taps/clicks",tag:"directive"},{name:"Touch Swipe",description:"Handle touch & mouse swipe user actions",tag:"directive"}].map((function(t){var e=sn.find((function(e){return e.value===(Array.isArray(t.tag)?t.tag[0]:t.tag)})).label;return tn(tn({},t),{},{category:e,to:"/vue-directives/".concat(t.path||nn(t.name)),name:"".concat(t.path||nn(t.name))})}))),Qi([{name:"Addressbar Color",description:"Manage the browser addressbar color",tag:"plugin"},{name:"App Fullscreen",description:"Handle app fullscreen mode",tag:"plugin"},{name:"App Visibility",description:"For app coming into (or out of) view",tag:"plugin"},{name:"Bottom Sheet",description:"Quick way to offer a list of actions",tag:"plugin"},{name:"Cookies",description:"Easy way to manage browser cookies",tag:"plugin"},{name:"Dark Mode",description:"Manage dark mode",tag:"plugin",path:"dark"},{name:"Dialog",description:"Plugin to display a floating modal",tag:"plugin"},{name:"Loading",description:"Overlay for a background action in progress",tag:"plugin"},{name:"Loading Bar",description:"Display a loading bar for in progress Ajax calls",tag:"plugin"},{name:"Local/Session Storage",description:"Manage the local storage and session storage",tag:"plugin",path:"web-storage"},{name:"Meta Plugin",description:"Helps with SEO by managing the meta tags",tag:"plugin",path:"meta"},{name:"Notify",description:"Display floating animated messages",tag:"plugin"}].map((function(t){var e=sn.find((function(e){return e.value===(Array.isArray(t.tag)?t.tag[0]:t.tag)})).label;return tn(tn({},t),{},{category:e,to:"/quasar-plugins/".concat(t.path||nn(t.name)),name:"".concat(t.path||nn(t.name))})}))),Qi([{name:"Date utils",description:"Easily handle date objects",tag:"util"},{name:"DOM utils",description:"Various DOM-related helper utils",tag:"util"},{name:"Morph utils",description:"Morph DOM elements helper util",tag:"util"},{name:"Formatter utils",description:"Various text formatting utils",tag:"util"},{name:"Scrolling utils",description:"Various scrolling-related utils",tag:"util"},{name:"Type checking utils",description:"Helpers to determine variable types",tag:"util"},{name:"Event bus util",description:"Global event bus",tag:"util"},{name:"Other utils",description:"Various other utils that Quasar supplies",tag:"util"}].map((function(t){var e=sn.find((function(e){return e.value===(Array.isArray(t.tag)?t.tag[0]:t.tag)})).label;return tn(tn({},t),{},{category:e,to:"/quasar-utils/".concat(nn(t.name)),name:"".concat(nn(t.name))})})))).filter((function(t){return t.to.startsWith("/vue-components/")})).map((function(t,e){return{key:e,name:"q-".concat(t.name),description:t.description,tag:t.tag,category:t.category,img:t.img,haystack:"".concat(t.name," ").concat(t.description," ").concat(t.short||"").toLowerCase(),to:t.to}})),on={},an=function(t,e){var i="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!i){if(Array.isArray(t)||(i=function(t,e){if(t){if("string"==typeof t)return Xi(t,e);var i=Object.prototype.toString.call(t).slice(8,-1);return"Object"===i&&t.constructor&&(i=t.constructor.name),"Map"===i||"Set"===i?Array.from(t):"Arguments"===i||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i)?Xi(t,e):void 0}}(t))){i&&(t=i);var n=0,s=function(){};return{s,n:function(){return n>=t.length?{done:!0}:{done:!1,value:t[n++]}},e:function(t){throw t},f:s}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var r,o=!0,a=!1;return{s:function(){i=i.call(t)},n:function(){var t=i.next();return o=t.done,t},e:function(t){a=!0,r=t},f:function(){try{o||null==i.return||i.return()}finally{if(a)throw r}}}}(rn);try{for(an.s();!(en=an.n()).done;){var ln=en.value,cn=ln.name,hn=ln.category;on[hn]||(on[hn]=[]),on[hn].push(cn)}}catch(t){an.e(t)}finally{an.f()}var un=i(783);const pn=/[^\p{L}\p{N}]+/gu,dn=(t,e={})=>{const i=(t=>null==t?"":Array.isArray(t)?t.map((t=>t.toString().trim())).filter((t=>t.length>0)).join(" "):"function"==typeof t?t.name?t.name:"":"function"!=typeof t.toString?"":t.toString().trim())(t),n=e.punctuationRegex??pn,s=i?un(n?i.replace(n," "):i,e):"";return s?s[0].toLocaleUpperCase(e.locale)+s.slice(1):""};var fn={};Object.entries({breadcrumbs:["breadcrumbs","breadcrumbs-el"],card:["card","card-section","card-actions"],carousel:["carousel","carousel-control","carousel-slide"],list:["list","item","item-section","item-label"],spinner:["spinner","spinner-cube"],stepper:["stepper","step","stepper-navigation"],table:["table","th","tr","td"],"tab-panels":["tab-panels","tab-panel"],timeline:["timeline","timeline-entry"],toolbar:["toolbar","toolbar-title"]}).forEach((function(t){var e=l(t,2),i=(e[0],e[1]),n=i[0],s=i.slice(1,i.length);fn[dn("q-".concat(n))]=s.map((function(t){return dn("q-".concat(t))}))}));var mn={metaOverrides:function(t){var e,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n={customType:null,type:i.value&&i.value.type,multiple:i.multiple,options:null,required:i.required,validator:i.validator,default:i.default&&"null"!==i.default&&"undefined"!==i.default?i.default:null};return[Hi,Vi].reduce((function(n,s){if(Object.keys(n).length)return n;var r;s.default&&"function"==typeof s.default&&(r=null==s?void 0:s.default(o(i.name)));var a=s[t]&&s[t][o(i.name)];return e=Ji(Ji({},r||{}),a||{})}),{}),e&&(n.customType=e.customType||n.customType,n.type=e.type||n.type,n.multiple=e.multiple||n.multiple,n.options=e.options||n.options,n.required=e.required||n.required,n.validator=e.validator||n.validator,n.default=e.default||n.default),n},metaAdditions:function(t){return[Hi,Vi].reduce((function(e,i){if(i[t]){var n=Object.keys(i[t]),s=e.map((function(t){return o(t.name)}));n.filter((function(t){return!s.includes(t)})).forEach((function(n){var s=i[t][n];e.push({name:n,description:s.description,"doc-url":s.docUrl,default:s.default,value:s.value})}))}return e}),arguments.length>1&&void 0!==arguments[1]?arguments[1]:[])},libraryCodeStubs:function(t){var e=Zi[t],i="",n="";return e&&(e.props&&(i=Object.entries(e.props).reduce((function(t,e){var i=l(e,2),n=i[0],s=i[1],r=!0===s?"":'="'.concat(s,'"');return"".concat(t," ").concat(a(n)).concat(r)}),"")),e.defaultSlot&&(n=e.defaultSlot)),"<".concat(a(t)," ").concat(i,">").concat(n,"</").concat(a(t),">")},componentsCategorised:on,componentGroups:fn}},991:(t,e,i)=>{"use strict";i.d(e,{EX:()=>o,JF:()=>s,Yr:()=>a,fh:()=>r,hC:()=>n});var n=!0,s=function(t){n=t},r=!1,o=function(t){r=t},a={plugin_path:"./plugin.cjs",templates_path:"./templates",version:"2.0.0",major_version:"2",minor_version:"2",info_badge:"",type:"quasar",short_type:"quasar",allow_single_type:!0,short_name:"Quasar",dependency:"@pinegrow/quasar-module",get name(){return"".concat(this.short_name," ").concat(this.minor_version)},get key(){return"".concat(this.type)},get scriptTagId(){return"".concat(this.short_type)},get prefix(){return"".concat(this.short_type).concat(this.minor_version)},get library(){return"".concat(this.type)},syncWithLibrarySemVer:"minor",get description(){return'<a href="http://quasar.dev/">'.concat(this.name,"</a> components. Some samples are from ").concat(this.name," documentation and based on ").concat(this.short_name," ").concat(this.version,".")},author:"Pinegrow",get author_link(){return"http://github.com/pinegrow/".concat(this.type,"-plugin")},get default(){return this.pgf_type&&this.pgf_type.activated_by_default||!1},get show_in_manager(){return!1},skip_opening_new_pages_created_from_templates:!0,show_templates_only_inside_projects:!0,get simple(){return this.pgf_type&&this.pgf_type.simple||!1},ignore_css_files:[/(^|\/)quasar\.(css)/i,/(^|\/)quasar\.min\.(css)/i,/(^|\/)materialdesignicons\.(css)/i,/(^|\/)materialdesignicons\.min\.(css)/i],detect_async:function(t,e){t.stylesheetsThatContain(/quasar\sv3/i,/quasar(\.min|)\.(css)/i,(function(t){e(t.length>0)}))}}},161:(t,e,i)=>{"use strict";i.d(e,{D:()=>f});for(var n=i(290),s=i(506),r=[{key:"",name:"Distribute"},{key:"-auto",name:"Auto"},{key:"-grow",name:"Grow"},{key:"-shrink",name:"Shrink"}],o=[],a=[{key:"-first",name:"First"},{key:"-last",name:"Last"},{key:"-none",name:"None"}],l=[{key:"-grow",name:"Grow"}],c=[{key:"-shrink",name:"Shrink"}],h=[{key:"-start",name:"Start"},{key:"-end",name:"End"},{key:"-center",name:"Center"},{key:"-baseline",name:"Baseline"},{key:"-stretch",name:"Stretch"}],u=0;u<=s.XL;u++)0==u||r.push({key:"-"+u,name:u}),u!=s.XL&&o.push({key:"-"+u,name:u});var p=function(t){return t.parent&&t.parent.isSelector(".flex")},d=function(t){return!(!t.parent||!(t.parent.isSelector(".row")&&!t.hasClass("row")||t.parent.isSelector(".column")||!t.hasClass("column")&&(0,s.t3)(t.parent)))},f=function(t){return function(){var e,i,u=[],f={field_prefix:"".concat(t,"_col"),class_prefix:"col",values:r,name:"Size"},m={field_prefix:"".concat(t,"_offset"),class_prefix:"offset",values:o,name:"Offset"},g={field_prefix:"".concat(t,"_order"),class_prefix:"order",values:a,name:"Order"},y={field_prefix:"".concat(t,"_align"),class_prefix:"self",values:h,name:"Align self"};return"column"===t?u.push(f,m,g,y):u.push(m,g,{field_prefix:"".concat(t,"_grow"),class_prefix:"col",values:l,name:"Grow"},{field_prefix:"".concat(t,"_shrink"),class_prefix:"col",values:c,name:"Shrink"},y),{name:"column"===t?"Column":"Flex Child",show_if:"column"===t?d:p,fields:n({},"".concat(t,"_control'"),{type:"custom",name:"".concat(t,"_control'"),action:"none",control:(e="".concat(t,"_span'"),i=u,function(){var t=new PgCustomPropertyControl(s.O4+e);t.onDefine=function(){for(var t=0;t<i.length;t++)for(var e=0;e<s.J7.length;e++){var r=s.O4+i[t].field_prefix+"."+s.J7[e];this.registerInputField(r,n(i[t],s.J7[e]))}},t.onShow=function(){var t=$("<table/>",{class:"grid-control columns-control seven-col-grid"}),e="<td></td>";s.J7.forEach((function(t){e+='<td><label class="grid-control-size">'+t+"</label></td>"}));for(var r=$("<tr/>").html(e).appendTo(t),o=0;o<i.length;o++){r=$("<tr/>",{class:""}).appendTo(t);for(var a=$("<td/>").html('<label style="text-align:left">'+i[o].name+"</label>").appendTo(r),l=0;l<s.J7.length;l++){a=$("<td/>").appendTo(r);var c=s.O4+i[o].field_prefix+"."+s.J7[l];this.showInputField(a,c,n(i[o],s.J7[l]))}}return t},t.onSetValues=function(){};var n=function(t,e){var i=e==s.Ff?"":"-"+e,n=t.class_prefix+i,r={type:"select",name:null,action:"apply_class",draggable_list:!0,show_empty:!0,options:[],on_changed:function(t,e,i){t.setData(s.O4+"was-column",!0)}};return t.values.forEach((function(t){r.options.push({key:n+t.key,name:t.name})})),r};return t})})}}}},855:(t,e,i)=>{"use strict";i.d(e,{M:()=>r});var n=i(991),s=i(259),r=new PgFramework(n.Yr.key,n.Yr.name);r.type=n.Yr.type,r.allow_single_type=n.Yr.allow_single_type,r.description=n.Yr.description,r.author=n.Yr.author,r.author_link=n.Yr.author_link,r.info_badge=n.Yr.info_badge,r.default=n.Yr.default,r.show_in_manager=n.Yr.show_in_manager,r.ignore_css_files=n.Yr.ignore_css_files,r.detect_async=n.Yr.detect_async,r.setScriptFileByScriptTagId("plugin-".concat(n.Yr.scriptTagId,"-").concat(n.Yr.major_version,"-mt")),r.skip_opening_new_pages_created_from_templates=n.Yr.skip_opening_new_pages_created_from_templates,r.show_templates_only_inside_projects=n.Yr.show_templates_only_inside_projects,r.super_web_types=s.c,r.no_prop_section_subtitles=n.Yr.no_prop_section_subtitles,pinegrow.addFramework(r,3)},506:(t,e,i)=>{"use strict";i.d(e,{r2:()=>c,e9:()=>S,bm:()=>b,MS:()=>n.M,ac:()=>k,of:()=>w,Cw:()=>v,t3:()=>h,qV:()=>x,XL:()=>u,vz:()=>_,O4:()=>o,Ff:()=>f,J7:()=>p});for(var n=i(855),s=i(869),r=i(991),o=r.Yr.prefix,a=r.Yr.simple,l=r.Yr.short_name,c=(r.Yr.key,function(t){a||n.M.addLibSection(t)}),h=function(t){if("div"==t.tagName){if(t.parent&&t.parent.isSelector(".row")&&!t.hasClass("row"))return!0;if(t.getData(o+"was-column"))return!0}var e=t.getAttr("class");return!(!e||!e.match(/(\s|^)col($|[\-\s])/i))},u=parseInt(pinegrow.getSetting("quasar-col-num","12"))||12,p=["xs","sm","md","lg","xl"],d=[0,600,1024,1440,1920],f=p[0],m={},g=0;g<p.length;g++)m[p[g]]=d[g];var y=function(t,e,i){var n=new PgFrameworkHelpers("Quasar",t,e,i,PgBSMenuPointColumnSize);n.getCodeForLarge=function(){var t;switch(this.version){case 2:default:t='<pgdiv class="col-1 pinegrow-ui-helper"><pgdiv class="pinegrow-ui-helper"></pgdiv></pgdiv>';break;case 3:t='<pgdiv class="col-xs-1 pinegrow-ui-helper"><pgdiv class="pinegrow-ui-helper"></pgdiv></pgdiv>'}return t},n.getCodeForSmall=function(){var t;switch(this.version){case 2:default:t='<pgdiv class="col-1 pinegrow-ui-helper d-block d-sm-none" style="padding-left:0;padding-right:0;"><pgdiv class="pinegrow-ui-helper"></pgdiv></pgdiv>';break;case 3:t='<pgdiv class="col-xs-1 pinegrow-ui-helper visible-xs visible-xs-block" style="padding-left:0;padding-right:0;"><pgdiv class="pinegrow-ui-helper"></pgdiv></pgdiv>'}return t},n.getClassForSize=function(e,i,n){return null==n?n="":n+="",i+(e==t.size_for_all?"":"-"+e)+(n.length?"-"+n:"")},n.getColumnSizes=function(e){var i=new RegExp("^col(\\-("+t.sizes.join("|")+"))?(\\-([0-9]+|auto))?"),n={};return(e instanceof pgParserNode?e.getClasses():e.classList).forEach((function(e){var s=e.match(i);if(s){var r=s[2]||t.size_for_all,o=s[4]||"";n[r]=o}})),n},new PgDelayedTasks,n.makeFieldLabelForSize=function(t,e){return'<span class="sc-label">'+t+'</span><span class="sc-device-size" style="padding:6px">'+e+"</span>"},n.getDevicesControlFactory=function(e,i,n){var s=function(i){t.sizes.forEach((function(n){i(n,n==t.size_for_all?"":"-"+n,t.prefix+e+"."+n)}))};return function(){var r=new PgCustomPropertyControl(t.prefix+e);return r.onDefine=function(){s((function(t,e,i){var s=n(t,e);r.registerInputField(i,s)}))},r.onShow=function(){var t=$("<div/>",{class:"sc-device-control"});return $('<div class="sc-device-control-title">'+i+"</div>").appendTo(t),s((function(e,i,s){var o=n(e,i);r.showInputField(t,s,o).$field.attr("data-device-size",e)})),t},r.onSetValues=function(e){var i=!0;s((function(e,n,s){var o=r.get$Field(s);r.values[s]?(o.addClass("sc-has-value"),e!=t.size_for_all&&(i=!1)):o.removeClass("sc-has-value")})),i?r.$element.addClass("sc-none-or-all"):r.$element.removeClass("sc-none-or-all")},r}};var s={};n.onSectionWithDevicesControlsShown=function(e,i){var r=n,o={},a=!0;t.sizes.forEach((function(t){s[e.section_key]&&s[e.section_key][t]&&(o[t]=!0)}));var l=i.$content.get(0).querySelectorAll("[data-device-size]");l.forEach((function(t){var e=t.getAttribute("data-device-size");if(!o[e]){var i=t.classList.contains("sc-has-value");o[e]=i,a=a&&!i}})),a&&(o[t.size_for_all]=!0),l.forEach((function(t){var e=t.getAttribute("data-device-size"),i=t.getAttribute("data-device-display")||"flex";o[e]?pgShow(t,i):pgHide(t)}));var c='<ul class="sc-device-selector">';t.sizes.forEach((function(t){c+='<li data-size="'+t+'" class="'+(o[t]?"sc-active":"")+'">'+t+"</li>"})),c+="</ul>";var h=$(c);i.$title.append(h),h.on("click","li",(function(t){t.preventDefault(),t.stopPropagation();var n=$(this),r=n.attr("data-size"),a=n.hasClass("sc-active");a=!a,o[r]=a,a||1!=h.find("li.sc-active").length?(s[e.section_key]||(s[e.section_key]={}),s[e.section_key][r]=a,i.$content.find('[data-device-size="'+r+'"]').each((function(t,e){var i=e.getAttribute("data-device-display")||"flex";a?(pg$Show($(e),i),n.addClass("sc-active")):(pg$Hide($(e)),n.removeClass("sc-active"))})),p()):pinegrow.showQuickError("At least one device size must be active.")}));var u,p=function(){var e=0,n=!1;t.sizes.forEach((function(i){o[i]&&(e++,i==t.size_for_all&&(n=!0))}));var s=i.$content.find(".sc-device-control");e>1?s.removeClass("sc-single-size"):s.addClass("sc-single-size"),n?s.addClass("sc-for-all-shown"):s.removeClass("sc-for-all-shown")};u=pinegrow.getSelectedPage(),l.forEach((function(t){var e=t.getAttribute("data-device-size");r.isSizeVisible(u,e)?t.classList.remove("sc-size-not-visible"):t.classList.add("sc-size-not-visible")})),h.children().each((function(t,e){var i=e.getAttribute("data-size");r.isSizeVisible(u,i)?e.classList.remove("sc-size-not-visible"):e.classList.add("sc-size-not-visible")})),p()};var r=["a","x","y","t","r","b","l"],a=["none","xs","sm","md","lg","xl","auto"],l={},c={},h=function(t){if(!t)return null;var e=t.split("-");return e.length>1?e[e.length-1]:""},u=function(t,e,i,n,s,r){var o=s[n+r];return o?t+e+("xs"!=i?"-"+i:"")+"-"+h(o):null},d=function(t,e,i,n,s,o){for(var a=3;a<r.length;a++)if(t.removeClass(s[n+r[a]]),r[a]!=o){var c=l[i][e+r[a]],h=u(e,r[a],i,n,s,"a");s[n+r[a]]=h,c.setValue(h)}},m=function(t,e,i,n){return n?t+e+("xs"!=i?"-"+i:"")+"-"+n:null},g=function(t,e,i){var n=$(t.target).closest(".change-all-icon");if(n.toggleClass("active"),n.hasClass("active")){var s=n.data("size");!function(t,e,i,n,s,o){var l=n+"."+i+"."+e,c=pinegrow.getCollectionForElement(t);pinegrow.makeChanges(c,"Set spacing",(function(){c.forEachElement((function(t){for(var n=!1,o=0;o<r.length;o++){for(var c=0;c<a.length;c++){var h=m(e,r[o],i,a[c]);if(t.hasClass(h)){t.removeClass(h);var u=e+"a"+("xs"!=i?"-"+i:"")+"-"+a[c];t.addClass(u),s[l+"a"]=u,d(t,e,i,l,s,r[o]),n=!0;break}}if(n)break}}))}))}(i.obj,e,s,i.control_id,i.values)}};n.getDevicesMarginAndPaddingControlFactory=function(e,i){var n=["q-m","q-p"],s=function(i){t.sizes.forEach((function(n){i(n,n==t.size_for_all?"":"-"+n,t.prefix+e+"."+n)}))};return function(){var o=new PgCustomPropertyControl(t.prefix+e);return o.onDefine=function(){s((function(t,e,s){for(var a=0;a<n.length;a++)for(var l=0;l<r.length;l++){var c=i(t,n[a],r[l],e),h=s+"."+n[a]+r[l];o.registerInputField(h,c)}}))},o.onShow=function(){var t,e,n,r=$('<div class="crsa-css-gui bs4-margin-and-padding"></div>'),a=this,h="",u="";return s((function(s,p,d){var f=$('<div class="margin-and-padding-container text-center" data-device-size="'+s+'"></div>').appendTo(r);$("<label/>",{class:"size-label"}).html('<span class="sc-device-size">'+s+"</span>").appendTo(f),l[s]={},c[s]={},t=i(s,h="q-m",u="t",p),n=d+"."+h+u,(e=o.showInputField(f,n,t)).$field.addClass("crsa-field-margin-top crsa-small-input crsa-align-center-input crsa-inline-container"),l[s][h+u]=e,t=i(s,h,u="l",p),n=d+"."+h+u,(e=o.showInputField(f,n,t)).$field.addClass("crsa-field-margin-left crsa-small-input crsa-align-center-input crsa-inline-container"),l[s][h+u]=e;var m=$('<div class="margin-border"></div>').appendTo(f),y=$('<div class="change-all-margin-icon change-all-icon"> <i class="icon-same"></i> </div>').appendTo(m);c[s]["q-m"]=y,y.data("size",s),y.on("click",(function(t){g(t,"q-m",a)}));var b=$('<div class="padding-container"></div>').appendTo(m);t=i(s,h="q-p",u="t",p),n=d+"."+h+u,(e=o.showInputField(b,n,t)).$field.addClass("crsa-field-padding-top crsa-small-input crsa-align-center-input crsa-inline-container"),l[s][h+u]=e,t=i(s,h,u="l",p),n=d+"."+h+u,(e=o.showInputField(b,n,t)).$field.addClass("crsa-field-padding-left crsa-small-input crsa-align-center-input crsa-inline-container"),l[s][h+u]=e;var v=$('<div class="padding-border"> <div class="change-all-padding-icon change-all-icon"><i class="icon-same"></i></div> </div>').appendTo(b).find("> .change-all-icon");c[s]["q-p"]=v,v.data("size",s),v.on("click",(function(t){g(t,"q-p",a)})),t=i(s,h,u="r",p),n=d+"."+h+u,(e=o.showInputField(b,n,t)).$field.addClass("crsa-field-padding-right crsa-small-input crsa-align-center-input crsa-inline-container"),l[s][h+u]=e,t=i(s,h,u="b",p),n=d+"."+h+u,(e=o.showInputField(b,n,t)).$field.addClass("crsa-field-padding-bottom crsa-small-input crsa-align-center-input crsa-inline-container"),l[s][h+u]=e,t=i(s,h="q-m",u="r",p),n=d+"."+h+u,(e=o.showInputField(f,n,t)).$field.addClass("crsa-field-margin-right crsa-small-input crsa-align-center-input crsa-inline-container"),l[s][h+u]=e,t=i(s,h,u="b",p),n=d+"."+h+u,(e=o.showInputField(f,n,t)).$field.addClass("crsa-field-margin-bottom crsa-small-input crsa-align-center-input crsa-inline-container"),l[s][h+u]=e})),r},o.onSetValues=function(e){var i=!0;s((function(e,n,s){!function(t,e,i){for(var n=["q-p","q-m"],s=["t","r","l","b"],r=function(t){for(var e=i+"."+t,n=["a","x","y"],s=[],r=0;r<n.length;r++){var a=n[r],l=o.values[e+a];if(l){var c=l.split("-");s.push({direction:a,value:c[c.length-1]})}}return s.length>0?s:null},a=function(t,i,n){return t+i+(e?"-"+e:"")+"-"+n},h=function(t,e){if("a"==e)return!0;if("x"==e){if(["r","l"].indexOf(t)>-1)return!0}else if("y"==e&&["t","b"].indexOf(t)>-1)return!0;return!1},u=0;u<n.length;u++){var p=n[u],d=r(p),f=c[t][p];if(d&&d.length>0)for(var m=0;m<d.length;m++){for(var g=d[m],y=g.value,b=g.direction,v=0;v<s.length;v++){var w=s[v];if(h(w,b)){var k=i+"."+p+w;if(!o.values[k]){var _=l[t][p+w],x=a(p,w,y);o.values[k]=x,_.setValue(x)}}}if("a"==g.direction){f.addClass("active");break}}else f.removeClass("active")}}(e,n,s);var r=o.$element.find('> [data-device-size="'+e+'"]');!function(t){for(var e=["q-m","q-p"],i=["t","l","r","b"],n=0;n<e.length;n++)for(var s=e[n],r=0;r<i.length;r++){var a=t+"."+s+i[r];if(o.values[a])return!0}return!1}(s)?r.removeClass("sc-has-value"):(r.addClass("sc-has-value"),e!=t.size_for_all&&(i=!1))})),i?o.$element.addClass("sc-none-or-all"):o.$element.removeClass("sc-none-or-all")},o}},n.getSpacingControl=function(){return n.getDevicesMarginAndPaddingControlFactory("margin.padding",(function(e,i,n,s){var o={type:"select",name:null,placeholder:n,show_empty:!0,options:function(){var t=i+n+s+"-",e=[];return a.forEach((function(i){e.push({key:t+i,name:i,num:i})})),e},action:"custom",draggable_list:!0,async_options_function:!0,fill_list_on_open:!0,more_prop:{size:e,type:i,direction:n},get_value:function(e,i,n,s){for(var r=s.options(),o=0;o<r.length;o++)if(e.hasClass(r[o].key))return r[o].key;var a=s.more_prop.size,l=s.more_prop.type,c=s.more_prop.direction;if(c&&"a"!=c&&"x"!=c&&"y"!=c){var h=t.prefix+"margin.padding."+a+"."+l;if(n[h+"a"]){var p=u(l,c,a,h,n,"a");return n[h+c]=p,p}if("r"==c||"l"==c){if(n[h+"x"])return p=u(l,c,a,h,n,"x"),n[h+c]=p,p}else if(("t"==c||"b"==c)&&n[h+"y"])return p=u(l,c,a,h,n,"y"),n[h+c]=p,p}return""},set_value:function(e,i,n,s,o,a){var l=a.options();$.each(l,(function(t,n){if(n.key==i)return!0;e.hasClass(n.key)&&e.removeClass(n.key)}));var u=a.more_prop.size,p=a.more_prop.type,f=a.more_prop.direction,g=t.prefix+"margin.padding.";if(c[u][p].hasClass("active")||function(t,e,i,n,s,o){for(var a=h(o),l=!0,c=3;c<r.length;c++)if(r[c]!=s){var u=e+r[c]+("xs"!=i?"-"+i:"")+"-"+a;if(!t.hasClass(u)){l=!1;break}}return l}(e,p,u,0,f,i)){var y=g+u+"."+p,b=m(p,"a",u,h(s)),v=m(p,"a",u,h(i));e.removeClass(b);for(var w=0;w<r.length;w++){var k;k=h(r[w]==f?s:i);var _=p+r[w]+("xs"!=u?"-"+u:"")+"-"+k;e.removeClass(_)}e.addClass(v),n[y+"a"]=v,d(e,p,u,y,n,f)}else{var x=n[(y=g+u+"."+p)+f];for(n[y+f]="",e.removeClass(x),e.removeClass(n[y+"a"]),n[y+"a"]="",w=3;w<r.length;w++)r[w]!=f&&e.addClass(n[y+r[w]]);e.addClass(i)}return i}};return o}))};var y=["","x","y"],b=["xs","sm","md","lg","xl"],v={},w=function(t,e,i,n){return"q-".concat("column"===n?"col-":"","gutter")+(e||"")+(t?"-".concat(t):"")+"-"+i};return n.getDevicesRowGapControlFactory=function(t,e,i){var n=y,s=b,r=function(e){p.forEach((function(i){e(i,i==f?"":"-"+i,o+t+"."+i)}))};return function(){var a=new PgCustomPropertyControl(o+t);return a.onDefine=function(){r((function(t,e,s){for(var r=0;r<n.length;r++){var o=i(t,n[r],e),l=s+"."+n[r];a.registerInputField(l,o)}}))},a.onShow=function(){var t,e,n,s=$('<div class="bs5-row-gap sc-device-control sc-single-size"></div>'),o=($('<div class="sc-device-control-title"></div>').appendTo(s),"");return r((function(r,l,c){var h=$('<div class="row-gap-container" data-device-size="'+r+'"></div>').appendTo(s),u=($("<label/>",{class:"size-label"}).html('<span class="sc-label"></span><span class="sc-device-size">'+r+"</span>").appendTo(h),$('<div class="main-row-gap-container"></div>').appendTo(h));v[r]={};var p=$('<div class="row-gap-fields-container"></div>').appendTo(u),d=$("<div></div>").appendTo(p);t=i(r,o="x",l),n=c+"."+o,(e=a.showInputField(d,n,t)).$field.addClass(""),v[r][o]=e;var f=$("<div></div>").appendTo(p);t=i(r,o="y",l),n=c+"."+o,(e=a.showInputField(f,n,t)).$field.addClass(""),v[r][o]=e})),s},a.onSetValues=function(t){var i=!0;r((function(t,r,o){var l=a.$element.find('> [data-device-size="'+t+'"]');!function(t,i){for(var r=0;r<n.length;r++)for(var o=n[r],a=0;a<s.length;a++){var l=s[a];if(t.hasClass(w(o,i,l,e)))return!0}return!1}(a.obj,r)?l.removeClass("sc-has-value"):(l.addClass("sc-has-value"),t!=f&&(i=!1))})),i?a.$element.addClass("sc-none-or-all"):a.$element.removeClass("sc-none-or-all")},a}},n.getGappingControl=function(t){return n.getDevicesRowGapControlFactory("".concat(t,".row.rowGap"),t,(function(e,i,n){var s=b,r={type:"select",name:null,placeholder:i,show_empty:!0,options:function(){for(var e=[],r=0;r<s.length;r++){var o=s[r];e.push({key:w(i,n,o,t),name:o,num:o})}return e},action:"custom",async_options_function:!0,more_prop:{size:e,direction:i},get_value:function(e,i,n,r){for(var o=r.options(),a=0;a<o.length;a++)if(e.hasClass(o[a].key))return o[a].key;var l=r.more_prop.size,c=r.more_prop.direction,h=l==f?"":"-"+l;for(a=0;a<s.length;a++){var u=s[a],p=w("",h,u,t);if(e.hasClass(p))return w(c,h,u,t)}return null},set_value:function(e,i,n,r,o,a){var l=a.options();$.each(l,(function(t,n){if(n.key==i)return!0;e.hasClass(n.key)&&e.removeClass(n.key)}));for(var c=a.more_prop.size,h=a.more_prop.direction,u="x"===h?"y":"x",p=c==f?"":"-"+c,d=!0,m=0;m<s.length;m++){var g=s[m],y=w("",p,g,t);e.hasClass(y)&&(e.removeClass(y),e.addClass(w(u,p,g,t)))}var b=function(t,e,i,n){return t?t.replace("q-".concat("column"===n?"col-":"","gutter")+(i||"")+(e?"-".concat(e):"")+"-",""):null}(i,h,p,t),v=w(u,p,b,t);return e.hasClass(v)&&(e.removeClass(v),e.addClass(w("",p,b,t)),d=!1),d&&e.addClass(i),i}};return r}))},n.init(),n}({num_columns:u,sizes:p,sizes_breakpoints:d,sizes_breakpoints_map:m,sizes_view_sizes:[375,960,1280,1920,2560],sizes_icons:["icon-Xs","icon-IPAD","icon-tableta-lezeca","icon-ikone100--copy_laptop","icon-Lg"],size_for_all:f,sizes_names:["All","Small","Medium","Large","Extra Large"],prefix:o,col_prefix_class:"col",isColumn:h,onClickOnColumnPoint:function(){var t=this;Promise.resolve().then(i.bind(i,813)).then((function(e){var i=e.def_all;try{PgQuickProperties([i.sections[t.options.prefix+"columns"]],t.menu.pgel,t.$element,"Column size &amp; order",300)}catch(t){}}))},version_name:"".concat(l," ").concat(s.Fq),reqVersion:s.N$,skipVersion:s.Zo,framework_prefix:o,container_selector:".container,.container-fluid",grid_container_selector:"row",style:"",no_include_local_question:!0,createDisplayHelpers:!1,showGridInMenu:!1,showColumnInMenu:!1},n.M,r.Yr.minor_version),b=new PgToggleButtonMaker,v=y.getSpacingControl,w=y.getGappingControl,k=(y.executeScriptInPageDelayed,y.getDevicesControlFactory),_=y.onSectionWithDevicesControlsShown,x=y.makeFieldLabelForSize,S=function(t){return y.addPrefixToSectionsAndFields(t)};n.M.on_get_menu_points=function(t,e,i,n){y.getMenuPoints(t,e,i,n)},n.M.on_page_view_resized=function(t,e){y.onPageViewResized(t,e)},n.M.on_get_device_sizes=function(t,e){y.getDeviceSizesForPageViewMenu(t,e),!1!==r.fh&&t.setAllBreakpoints(e.filter((function(t){return t.w_range[0]})).map((function(t){return"".concat(t.w_range[0],"px")})))},n.M.on_page_shown_in_live_view=function(t,e){y.show(e)},n.M.on_get_floating_tools_sections=function(t,e){if(!floating_sections){floating_sections=[];var i=function(t){for(var e=["border","border-top","border-end","border-bottom","border-start"],i=!1,n=0;n<e.length;n++)if(t.hasClass(e[n])){i=!0;break}i||t.addClass("border")},s=new PgFloatingToolsSection(o+"border","Border");s.addControl(getControl("bsborders","bordercolor",{on_before_set:i,label:'<i class="icon icon-Pin20"></i>',buttons:!1,submenu:{name:"Border sides",all_classes:["border","border-top","border-end","border-bottom","border-start","border-0","border-top-0","border-end-0","border-bottom-0","border-start-0"],combine_with_parent:!0,items:[{key:"border",name:"All sides"},{key:"border-top",name:"Top"},{key:"border-end",name:"End"},{key:"border-bottom",name:"Bottom"},{key:"border-start",name:"Start"},{key:"border-bottom border-top",name:"Top &amp; Bottom"},{key:"border-start border-end",name:"Start &amp; End"}]},on_get_current_value_label:function(t,e){for(var i=n.M.bsGetBorderColorOptions(""),s=0;s<i.length;s++)if(t.classes.indexOf(i[s].key)>=0)return i[s].html;return this.options.label}})),s.addControl(getControl("bsborders","widthbotder",{on_before_set:i,name:"Border width",label:'<svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" fill="currentColor" class="bi bi-border-width" viewBox="0 0 16 16">\n <path d="M0 3.5A.5.5 0 0 1 .5 3h15a.5.5 0 0 1 .5.5v2a.5.5 0 0 1-.5.5H.5a.5.5 0 0 1-.5-.5v-2zm0 5A.5.5 0 0 1 .5 8h15a.5.5 0 0 1 .5.5v1a.5.5 0 0 1-.5.5H.5a.5.5 0 0 1-.5-.5v-1zm0 4a.5.5 0 0 1 .5-.5h15a.5.5 0 0 1 0 1H.5a.5.5 0 0 1-.5-.5z"/>\n </svg>'}));var r=getControl("bsborders","raduisborder",{label:'<i class="icon icon-round_lu"></i>',buttons:!1});r.def.options=[{key:"rounded",name:"All sides"},{key:"rounded-0",name:"All sides none"},{key:"rounded-1",name:"All sides small"},{key:"rounded-2",name:"All sides medium"},{key:"rounded-3",name:"All sides large"},{key:"rounded-top",name:"Top"},{key:"rounded-bottom",name:"Bottom"},{key:"rounded-start",name:"Left"},{key:"rounded-end",name:"Right"},{key:"rounded-circle",name:"Circle"},{key:"rounded-pill",name:"Pill"}],s.addControl(r),floating_sections.push(s);var a=[{key:"justify-content-start",name:"Start",html:b.makeIcon("223",{attributes:{title:"Start"}})},{key:"justify-content-end",name:"End",html:b.makeIcon("218",{attributes:{title:"End"}})},{key:"justify-content-center",name:"Center",html:b.makeIcon("219",{attributes:{title:"Center"}})},{key:"justify-content-between",name:"Between",html:b.makeIcon("206",{attributes:{title:"Between"}})},{key:"justify-content-around",name:"Around",html:b.makeIcon("205",{attributes:{title:"Around"}})},{key:"justify-content-evenly",name:"Evenly",html:b.makeIcon("205",{attributes:{title:"Evenly"}})}],l=[{key:"align-items-start",name:"Start",html:b.makeIcon("223",{attributes:{title:"Start"}})},{key:"align-items-end",name:"End",html:b.makeIcon("220",{attributes:{title:"End"}})},{key:"align-items-center",name:"Center",html:b.makeIcon("221",{attributes:{title:"Center"}})},{key:"align-items-baseline",name:"Baseline",html:b.makeIcon("212",{attributes:{title:"Baseline"}})},{key:"align-items-stretch",name:"Stretch",html:b.makeIcon("214",{attributes:{title:"Stretch"}})}],c=function(t,e,i,n){var s=new PgApi,r=s.getFlexSettings(t);if(r.grid)return pinegrow.showQuickError("The element uses CSS Grid to position its children. Use the grid properties for the layout."),!1;var o=[],c=[];r.flex||o.push(r.inline?"d-inline-flex":"d-flex");var h=i,u=e[0];return"column"===r.direction&&(u=u.replace(h,n),h=n),c="align-items-"===h?l.map((function(t){return t.key})):a.map((function(t){return t.key})),c.filter((function(e){return s.hasClass(t,e)})),o.push(u),s.removeClass(t,c),s.addClass(t,o),!1},h=new PgFloatingToolsSection(o+"align","Align content");h.addControl(new PgFloatingToolsControl({key:o+"align.h",type:"select",name:"Align children horizontally w. Flex",action:"apply_class",show_empty:!0,toggle_buttons:!0,options:a},{label:'<i class="icon icon-219"></i>',on_before_set:function(t,e){return c(t,e,"justify-content-","align-items-")}})),h.addControl(new PgFloatingToolsControl({key:o+"align.v",type:"select",name:"Align children vertically w. Flex",action:"apply_class",show_empty:!0,toggle_buttons:!0,options:l},{label:'<i class="icon icon-221"></i>',on_before_set:function(t,e){return c(t,e,"align-items-","justify-content-")}}))}},n.M.on_plugin_activated=function(t,e){y.onFrameworkActivatedOnPage(t),e&&e(n.M)},n.M.on_page_changes_done=function(t,e,i){y.updateHelpersAfterChange(t,e,i)},n.M.on_inline_editing_done=function(t,e){y.updateHelpersAfterChange(t,null,new PgCollection(e))},n.M.on_page_selected=function(t){t&&(0,s.EB)(t)};var T=function(t,e){return e?"pg-classes"!==t&&!t.startsWith(o):!!t.startsWith(o)};n.M.on_before_properties_shown=function(t,e,i){t&&!t.data["".concat(r.Yr.type,"Version")]&&(0,s.EB)(t),r.hC&&e&&(i.show_classes_control=!0,i.show_section_nav_control=!0,i.filter_sections=T,i.show_custom_sections_in_general=!0)};var C=[{name:"Text color and typography",sections:[o+"textcolor",o+"typography"],icon:"icon-Pin18"},{name:"Background",sections:[o+"background"],icon:"icon-Pin21"},{name:"Margin, padding and dimension",sections:[o+"spacing",o+"dimension"],icon:"icon-Pin16"},{name:"Visibility and position",sections:[o+"visibility",o+"position",o+"overflow",o+"mouse"],icon:"icon-Pin17"},{name:"Shadows",sections:[o+"elevation"],icon:"icon-Pin23"},{name:"Border",sections:[o+"border"],icon:"icon-Pin20"},{name:"Flexbox",sections:[o+"flexcontainer",o+"columns"],icon:"icon-Pin22"},{name:"Transform and transition",sections:[o+"transform"],icon:"icon-Pin24"}];n.M.on_get_sections_for_prop_section_nav=function(t,e){r.hC&&C.forEach((function(t){t.ignore_has_data=!0,e.find((function(e){return e.name===t.name}))||e.push(t)}))}},525:(t,e,i)=>{"use strict";i.r(e);var n=i(855),s=(i(869),i(506)),r=i(681),o=i(297),a=i(100),l=i(870),c=i(611),h=i(230),u=i(421),p=i(660),d=i(991);function f(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var i,n=p(t);if(e){var s=p(this).constructor;i=Reflect.construct(n,arguments,s)}else i=n.apply(this,arguments);return u(this,i)}}var m=function(t){h(i,t);var e=f(i);function i(t){return a(this,i),e.call(this,"quasar.colors",t,(function(){return""}))}return l(i,[{key:"onGetConfigObject",value:function(t,e){"init"===t&&(e.theme=e.theme||{},e.theme.extend=e.theme.extend||{},e.theme.extend.colors=e.theme.extend.colors||{},this.colors.forEachColor((function(t,i,n){try{if(n.hasShades()){var s={};n.forEachShade((function(t,e){s[t]=chroma(pgMakeCompatibleColor(e)).hex()})),e.theme.extend.colors[t]=s}else e.theme.extend.colors[t]=chroma(pgMakeCompatibleColor(i)).hex()}catch(t){}})))}},{key:"populateDefaultParams",value:function(t){t||this.colors.clear(),this.colors.add("primary","#6750a4",!1,{50:"#eeedf4",100:"#d8d1e6",200:"#c2b6d9",300:"#ac9ccc",400:"#9582bf",500:"#7e68b1",600:"#6750a4",700:"#5e4996",800:"#564388",900:"#4d3c7b",950:"#45366e",DEFAULT:"#3d2f61"},!0),this.colors.add("secondary","#625b71",!1,{50:"#eeeeef",100:"#d5d4d9",200:"#bdbac3",300:"#a6a1ae",400:"#8e8999",500:"#787285",600:"#625b71",700:"#5a5367",800:"#524c5e",900:"#4a4455",950:"#423d4c",DEFAULT:"#3a3643"},!0),this.colors.add("tertiary","#7d5260",!1,{50:"#f0edee",100:"#ddd2d5",200:"#c9b7bc",300:"#b69da4",400:"#a3838d",500:"#906a76",600:"#7d5260",700:"#724b58",800:"#684450",900:"#5e3e48",950:"#543740",DEFAULT:"#4a3139"},!0),this.colors.add("success","#2e7d32",!0,{50:"#ecf0ec",100:"#cdddcb",200:"#aec9ab",300:"#90b68c",400:"#71a36d",500:"#519050",600:"#2e7d32",700:"#2a722e",800:"#26682a",900:"#235e26",950:"#1f5422",DEFAULT:"#519050"},!0),this.colors.add("warning","#ed6c02",!0,{50:"#fcefeb",100:"#ffd9c7",200:"#ffc4a4",300:"#ffae7f",400:"#fb985c",500:"#f58238",600:"#ed6c02",700:"#d96302",800:"#c55a02",900:"#b25102",950:"#9f4801",DEFAULT:"#f58238"},!0),this.colors.add("error","#d32f2f",!0,{50:"#f9ecec",100:"#f9cfca",200:"#f6b2a9",300:"#f19488",400:"#e97669",500:"#df564c",600:"#d32f2f",700:"#c12b2b",800:"#b02727",900:"#9e2323",950:"#8d2020",DEFAULT:"#df564c"},!0),this.colors.add("info","#0288d1",!0,{50:"#ebf1f9",100:"#d0dff2",200:"#b4ccec",300:"#96bbe5",400:"#76a9df",500:"#5098d8",600:"#0288d1",700:"#027cbf",800:"#0271ae",900:"#02669d",950:"#015b8c",DEFAULT:"#5098d8"},!0),this.colors.add("neutral","#121212",!0,{50:"#ebebeb",100:"#c2c2c2",200:"#9b9b9b",300:"#757575",400:"#525252",500:"#303030",600:"#121212",700:"#111111",800:"#0f0f0f",900:"#0e0e0e",950:"#0c0c0c",DEFAULT:"#0b0b0b"},!0),c(p(i.prototype),"populateDefaultParams",this).call(this)}}]),i}(PgDmDesignSkillColors),g=function(t){h(i,t);var e=f(i);function i(t){var n;return a(this,i),(n=e.call(this,"quasar","Quasar Design")).framework=t,o(n),n.on_engine_ready_funcs=[],n.colors=new PgDmDesignColors,n.colors.can_edit=!0,n.colors.mode="class",n.colors.default_shades=["50","100","200","300","400","500","600","700","800","900","950","DEFAULT"],n.setDefaultSettings(),n.addSkills(),n}return l(i,[{key:"addSkills",value:function(){var t=new m(this.colors);this.addSkill(t),this.fonts_skill=new y,this.addSkill(this.fonts_skill),this.bck_skill=new PgDmDesignSkillBackground(t,"VUETIFY"),this.bck_skill.onGetConfigObject=function(t,e){if("init"===t){e.theme=e.theme||{},e.theme.extend=e.theme.extend||{},e.theme.extend.backgroundImage=e.theme.extend.backgroundImage||{};var i=this.getBackgroundImagesAsObject();$.each(i,(function(t,i){e.theme.extend.backgroundImage[t]=i}))}},this.addSkill(this.bck_skill)}},{key:"getActiveFonts",value:function(){return this.fonts_skill.getActiveFonts()}},{key:"canEditColors",value:function(){return!0}},{key:"supportsColorShades",value:function(){return!0}},{key:"getEngine",value:function(t){var e=this;this.engine?this.engine.isReady()?t(this.engine):e.on_engine_ready_funcs.push(t):this.engine=new b((function(i){e.on_engine_ready_funcs.forEach((function(t){t(i)})),e.on_engine_ready_funcs=[],t&&t(i)}),this)}},{key:"hasOnlyDefaultColors",value:function(){var t=["primary","secondary","tertiary","success","warning","error","info","neutral"];if(t.length!==this.colors.getNumberOfColors())return!1;var e=0,i=this;return t.forEach((function(t){i.colors.getColorObject(t)&&e++})),e===t.length}},{key:"onBeforeSurpriseMe",value:function(t){t()}},{key:"onGetDesignThumbHTML",value:function(t,e){e.fonts=this.fonts_skill.getDesignThumbHTML(t)}},{key:"addCustomizableColors",value:function(){}},{key:"getFontsOptions",value:function(t){return this.fonts_skill.getFontsOptions(t)}},{key:"getBackgroundImageOptions",value:function(){var t=[],e=this.bck_skill.getBackgroundImagesAsObject();return $.each(e,(function(e,i){t.push({key:"bg-"+e,name:e})})),t}},{key:"getColorOptions",value:function(t){for(var e=this.getColorsForPicker(t),i=[],n=0;n<e.length;n++)for(var s=e[n],r=0;r<s.length;r++)i.push(s[r]);return i}},{key:"getColorsForPicker",value:function(t){var e=[[{key:t+"current",name:"current",color:"white",text:"c"},{key:t+"transparent",name:"transparent",color:"rgba(0,0,0,0)"},{key:t+"black",name:"black",color:"black"},{key:t+"white",name:"white",color:"white"},{key:t+"inherit",name:"inherit",color:"rgba(0,0,0,0.5)"}]];return this.colors.getColorsForPicker(t,e)}},{key:"destroyEngine",value:function(){this.engine&&this.engine.destroy(),this.engine=null}},{key:"recreateEngine",value:function(t){this.destroyEngine(),this.getEngine(t,this)}}]),i}(PgDmDesignProvider),y=function(t){h(i,t);var e=f(i);function i(){var t;a(this,i),(t=e.call(this,"fonts","Fonts")).fixed=["sans","serif"],t.max_num=10;for(var n=o(t),s=new PgToggleButtonMaker,r=1;r<=t.max_num;r++){var l=r<=t.fixed.length?t.fixed[r-1]:null;t.addControl("name_".concat(r),{name:"Name",type:l?"hidden":"text",default_value:l,start_repeat_item:l||"Custom font ".concat(r-t.fixed.length),tw_repeat_item_index:r,repeat_item_open:null!==l,add_repeat_item_label:"Add font family",on_create_repeat_item_button:function(t){$('<button class="pg-button" style="margin-left:4px;height: 27px;vertical-align: top;">Manage fonts...</button>').appendTo(t).on("click",(function(t){t.preventDefault(),pinegrow.fontLibrary.showLibrary()}))},dm_no_lock:"placeholder",on_repeat_item_removed:function(t,e,i){e.removeClass("has-value"),pinegrow.requireProjectDB((function(t){t.startBatchUpdates();var e=i.tw_repeat_item_index;n.setParam("family_".concat(e),""),n.setParam("name_".concat(e),"");for(var s=e+1;s<=n.max_num;s++){var r=n.getParam("name_".concat(s)),o=n.getParam("family_".concat(s));(r||o)&&(n.setParam("family_".concat(s-1),o),n.setParam("name_".concat(s-1),r),n.setParam("family_".concat(s),""),n.setParam("name_".concat(s),""))}t.endBatchUpdates("Remove font family","design_panel"),pgDmStore.update()}))}}),t.addControl("family_".concat(r),{name:"Family",type:"select",show_empty:!0,fill_list_on_open:!0,can_add_items:!0,options:function(){return pinegrow.fontLibrary.getSelectOptions()}}),n.addControl("".concat(r,"_options_container"),{name:"Use for",type:"displayhtmlwithlabel",html:"",class:"crsa-field-text-font-options-container crsa-field-text-font-options-container-".concat(r),dm_no_lock:"placeholder"});for(var c=1;c<=6;c++)n.addControl("h".concat(c,"_").concat(r),{name:"H"+c,type:"select",toggle_buttons:!0,append_to:".crsa-field-text-font-options-container-".concat(r),without_text:!0,show_empty:!0,dm_no_lock:!0,options:[{key:"h"+c,name:"H"+c,html:s.makeText("H"+c,{attributes:{title:"Use for H"+c},styles:{padding:"4px 0"}})}]})}return t}return l(i,[{key:"getFontsOptions",value:function(t){for(var e=[],i=!1,n=1;n<=this.max_num;n++){var s=n<=this.fixed.length?this.fixed[n-1]:this.getParam("name_".concat(n)),r=this.getParam("family_".concat(n));s&&(n<=this.fixed.length||r)&&(e.push({key:t+s,name:s}),"mono"===s&&(i=!0))}return i||e.push({key:t+"mono",name:"mono"}),e}},{key:"getActiveFonts",value:function(){for(var t=[],e=1;e<=this.max_num;e++){var i=e<=this.fixed.length?this.fixed[e-1]:this.getParam("name_".concat(e)),n=this.getParam("family_".concat(e));i&&n&&t.indexOf(n)<0&&t.push(n)}return t}},{key:"getDesignThumbHTML",value:function(t){var e=t.findOne('dmdesignskill[skill="fonts"]'),i="",n=0;if(e)for(var s=1;s<=this.max_num;s++){var r=s<=this.fixed.length?this.fixed[s-1]:e.getAttribute("name_".concat(s)),o=e.getAttribute("family_".concat(s));r&&o&&n<2&&(i+='<p style="font-family: '.concat(o.replace(/"/g,"'"),';margin: 0px 0px;white-space: nowrap;">').concat(o.replace(/["']/g,""),"</p>"),n++)}return i}},{key:"onSurpriseMe",value:function(t){for(var e=1;e<=this.max_num;e++){var i=e<=this.fixed.length?this.fixed[e-1]:this.getParam("name_".concat(e)),n="family_".concat(e);if(!this.isLocked(n)&&i){var s="all";(this.getParam("h1_".concat(e))||this.getParam("h2_".concat(e)))&&(s="h1");var r=pinegrow.fontLibrary.getRandomFont(s);this.setParam(n,r.family)}}t()}},{key:"onGetCSS",value:function(t,e){if("import"===t){var i=pgDmStore.design.fonts;i.clear();for(var n=1;n<=this.max_num;n++){var s=n<=this.fixed.length?this.fixed[n-1]:this.getParam("name_".concat(n)),r=this.getParam("family_".concat(n));if(s&&r){var o={key:s,family:r};i.setFont(o)}}var a=i.getImportStatements(e),l=a.length?a.join("\n")+"\n\n":"",c=i.getFontFontFaceStatements();return l+(c.length?c.join("\n\n")+"\n\n":"")}if("rules"===t){for(var h="",u=1;u<=this.max_num;u++){var p=u<=this.fixed.length?this.fixed[u-1]:this.getParam("name_".concat(u)),d=this.getParam("family_".concat(u));if(p&&d){for(var f=[],m=1;m<=6;m++)this.getParam("h".concat(m,"_").concat(u))&&f.push("h"+m);f.length&&(h+="\n".concat(f.join(",")," {\n @apply font-").concat(p,";\n} \n"))}}return h}return""}},{key:"onGetConfigObject",value:function(t,e){if("init"===t){e.theme=e.theme||{},e.theme.extend=e.theme.extend||{},e.theme.extend.fontFamily=e.theme.extend.fontFamily||{};for(var i=1;i<=this.max_num;i++){var n=i<=this.fixed.length?this.fixed[i-1]:this.getParam("name_".concat(i)),s=this.getParam("family_".concat(i));if(n&&s){var r=pinegrow.fontLibrary.getFontByFamily(s);r&&(s=r.getFamilyWithFallback()),e.theme.extend.fontFamily[n]=[s]}}}}}]),i}(PgDmDesignSkill),b=function(t){h(i,t);var e=f(i);function i(t,n){var s;a(this,i),s=e.call(this,t);var r=o(s);if(s.design_provider=n,s.external_build=!0,s.is_ready=!1,s.done_list=[],s.delayedTasks=new PgDelayedTasks,s.busy=!1,s.update_on_done=!1,pinegrow.getCurrentProject(),s.custom_cs_url=null,s.fs=require("fs"),s.external_build){try{var l=pinegrow.app_designer.addonManager.pluginsManager.pluginsProcessed.find((function(t){return"quasar"===t.key}));l.options.cssPath&&(n.settings.external_source_url=l.options.cssPath&&crsaMakeUrlFromFile(l.options.cssPath)),n.settings.external_config_path=l.options.configPath,n.settings.external_theme_path=l.options.themePath}catch(t){}return s.is_ready=!0,setTimeout((function(){t&&t(r)}),1),u(s)}return t&&t(r),s}return l(i,[{key:"activateOnPage",value:function(t,e){e&&e()}},{key:"update",value:function(t){t&&this.done_list.push(t),this.delayedTasks.run("update",this.updateTask.bind(this),this.external_build?1:100)}},{key:"getConfigFile",value:function(){for(var t=0,e=["quasar.config.cjs","quasar.config.mjs","quasar.config.js","quasar.config.ts","quasar.config.cts","quasar.config.mts"];t<e.length;t++){var i=e[t];try{var n=pinegrow.getCurrentProject().getAbsolutePath(i);return this.fs.accessSync(n),n}catch(t){}}}},{key:"updateTask",value:function(){var t,e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],i=this,n=pinegrow.getCurrentProject(),s=pinegrow.getSelectedPage();if(!e&&!s)return i.done_list.forEach((function(t){t()})),void(i.done_list=[]);if(this.busy&&Date.now()-this.busy_time>4e3&&(this.busy=!1),this.busy)this.update_on_done=!0;else{var o={css:"",config:{},cs_url:this.custom_cs_url};pinegrow.dispatchEvent("on_dm_get_css",null,"import",o),pinegrow.dispatchEvent("on_dm_get_css",null,"init",o),o.css,o.font_urls=[];var a=null===(t=o.css)||void 0===t||null===(t=t.match(/'([^']+)'/))||void 0===t?void 0:t[1];a&&o.font_urls.push(a),o.background_urls={},Object.entries(o.config.theme.extend.backgroundImage).forEach((function(t){var e,i=r(t,2),n=i[0],s=i[1],a=null==s||null===(e=s.match(/'([^']+)'/))||void 0===e?void 0:e[1];a&&(o.background_urls[n]=a)})),o.css="",pinegrow.dispatchEvent("on_dm_get_css",null,"rules",o);try{this.external_config_path=this.design_provider.settings.external_config_path||this.getConfigFile(),this.external_theme_path=this.design_provider.settings.external_theme_path,this.external_theme_path_alt=this.external_theme_path&&!this.external_theme_path.endsWith(".mjs")?this.external_theme_path.replace(path.extname(this.external_theme_path),".mjs"):null,this.design_provider.settings.external_source_url&&(this.external_source_file=crsaMakeFileFromUrl(n.getAbsoluteUrl(this.design_provider.settings.external_source_url)));var l=this.fs.readFileSync(this.external_theme_path||this.external_config_path,{encoding:"utf8"}),c=new PgSimpleJsParser(l),h="\nconst pg_colors = ".concat(c.objToString(o.config.theme.extend.colors),"\n\nconst pg_fonts = ").concat(c.objToString(o.config.theme.extend.fontFamily)," \n\nconst pg_font_urls = ").concat(c.objToString(o.font_urls),"\n\nconst pg_backgrounds = ").concat(c.objToString(o.config.theme.extend.backgroundImage)," \n \nconst pg_background_urls = ").concat(c.objToString(o.background_urls),"\n\n ");l=pgf.uses_hot_reload?"/* Pinegrow generated Design Panel Begin */\n/* eslint-disable */\n/* prettier-disable */\n/* @ts-nocheck */\n".concat(h,"\nmodule.exports = {\npg_colors,\npg_fonts,\npg_font_urls,\npg_backgrounds,\npg_background_urls,\n}\n\n/* Pinegrow generated Design Panel End */"):pgUpdateGeneratedSectionContent(l,"Design Panel",h,"prepend"),this.fs.writeFileSync(this.external_theme_path||this.external_config_path,l,{encoding:"utf8"}),this.external_theme_path_alt&&this.fs.writeFileSync(this.external_theme_path_alt,l.replace("module.exports =","export ").replace("module.exports=","export "),{encoding:"utf8"})}catch(t){console.warn("Unable to update quasar config file and source file.",t)}setTimeout((function(){i.update_on_done?i.update():(i.done_list.forEach((function(t){t()})),i.done_list=[]),i.busy=!1,i.update_on_done=!1}),1)}}},{key:"destroy",value:function(){this.design_provider=null,this.delayedTasks.destroy()}}]),i}(PgDmEngine);pinegrow.addEventHandler("on_vite_plugin_activated",(function(t,e,i){if(e===d.Yr.key&&((0,d.EX)(i.options.themePath),!1!==i.options.themePath)){var n=null;void 0!==window.pgDmStore&&(n=window.pgDmStore);var r=new g(s.MS);n.registerDesignProvider("quasar",r),s.MS.on_dm_detect_design_providers=function(t,e){e.push("quasar")}}}));var v=i(813),w=null,k=function(t){"checkbox"===t.type&&(t.type="select",t.toggle_buttons=!0,t.options=[{key:t.value,name:t.name,html:s.bm.makeText(t.name,{attributes:{title:t.name}})}])};s.MS.on_get_floating_tools_sections=function(t,e){if(d.hC){var i=s.O4;if(!(w=null)){var n=function(t,e,n){var s,r=cloneObject(null===(s=v.def_all.sections[i+t])||void 0===s?void 0:s.fields[e]);return k(r),r.key=e,new PgFloatingToolsControl(r,n)},r=function(t,e,n){var s={name:"More",key:t,type:"select",options:[]},r={};return e.forEach((function(e){var n;r[e]=cloneObject(null===(n=v.def_all.sections[i+t])||void 0===n?void 0:n.fields[e]),k(r[e]);var o=r[e];s.options.push({key:e,name:o.name})})),(n=n||{}).buttons=!1,n.no_clear_on_first_level=!0,n.submenu=function(t){r[t].toggle_buttons&&(r[t].toggle_buttons=!1);var e="function"==typeof r[t].options?r[t].options():r[t].options;return{items:e,combine_with_parent:!1,name:r[t].name,require_submenu_selection:!0,all_classes:e.map((function(t){return t.key}))}},new PgFloatingToolsControl(s,n)};w=[];var o=new PgFloatingToolsSection(i+"text","Text color and typography");o.addControl(n("textcolor","".concat(i,"palette"),{label:'<i class="icon icon-ikone1-100-copy-63"></i>',cursor:'<i class="icon icon-ikone1-100-copy-63" style="color:$COLOR !important;"></i>',svg_support:"stroke"})),o.addControl(n("textcolor","".concat(i,"swatches"),{label:'<i class="icon icon-ikone1-100-copy-63" style="background: linear-gradient(45deg, tomato, green)"></i>',cursor:'<i class="icon icon-ikone1-100-copy-63" style="color:$COLOR !important;"></i>',svg_support:"stroke"})),o.addControl(n("typography","".concat(i,"typography"),{label:'<i class="icon icon-font-size"></i>'})),o.addControl(n("typography","".concat(i,"fontweight"),{label:'<i class="icon icon-weight"></i>'})),o.addControl(n("typography","".concat(i,"textalign"),{label:'<i class="icon icon-align-left"></i>'})),o.addControl(n("typography","".concat(i,"transform"),{label:'<i class="icon icon-Transform-uppercase"></i>'})),o.addControl(r("typography",["".concat(i,"whitespace"),"".concat(i,"fontstyle"),"".concat(i,"fontbold"),"".concat(i,"decoration")],{label:'<i class="icon icon-down"></i>',name:"More options"})),w.push(o);var a=new PgFloatingToolsSection(i+"background","Background");a.addControl(n("background","".concat(i,"bg_palette"),{label:'<i class="icon icon-Pin21"></i>',cursor:'<i class="icon icon-Pin21" style="color:rgba(0,0,0,0.25) !important;background-color:$COLOR;"></i>',svg_support:"fill",on_filter_svg:function(t,e){for(var i=0;i<t.length;i++)t[i]=t[i].replace("bg-","text-");for(i=0;i<e.length;i++)e[i]=e[i].replace("bg-","text-")}})),a.addControl(n("background","".concat(i,"bg_swatches"),{label:'<i class="icon icon-Pin21" style="background: linear-gradient(45deg, tomato, green)"></i>',cursor:'<i class="icon icon-Pin21" style="color:rgba(0,0,0,0.25) !important;background-color:$COLOR;"></i>',svg_support:"fill",on_filter_svg:function(t,e){for(var i=0;i<t.length;i++)t[i]=t[i].replace("bg-","text-");for(i=0;i<e.length;i++)e[i]=e[i].replace("bg-","text-")}})),w.push(a);var l=new PgFloatingToolsSection(i+"dimension","Dimension");l.addControl(n("dimension","".concat(i,"width"),{label:'<i class="icon icon-width"></i>'})),l.addControl(n("dimension","".concat(i,"height"),{label:'<i class="icon icon-height"></i>'})),l.addControl(r("dimension",["".concat(i,"display"),"".concat(i,"fit")],{label:'<i class="icon icon-down"></i>',name:"More options"})),w.push(l);var c=new PgFloatingToolsSection(i+"visibility","Visibility and position");c.addControl(n("position","".concat(i,"position_common"),{label:'<i class="icon icon-Pin17"></i>'})),c.addControl(n("position","".concat(i,"horizontal_alignment"),{label:'<i class="icon icon-template-columns"></i>'})),c.addControl(n("position","".concat(i,"vertical_alignment"),{label:'<i class="icon icon-template-rows"></i>'})),c.addControl(r("visibility",["".concat(i,"disabled"),"".concat(i,"hidden"),"".concat(i,"invisible"),"".concat(i,"readonly"),"".concat(i,"ellipsis"),"".concat(i,"zindex"),"".concat(i,"orientation"),"".concat(i,"platform_only"),"".concat(i,"print")],{label:'<i class="icon icon-down"></i>',name:"More options"})),w.push(c)}w.forEach((function(t){e.push(t)}))}},i(259),i(161);var _,x,S,T=new PgComponentType(s.O4+"row","Row",{selector:".row",tags:"major",preview:(x='<div style="height:60px;background:#eee;"></div>',S="border:2px solid #0098cc;",'<div class="container-fluid" style="'+(_="")+'"> <div class="row" style="'+S+'"> <div class="col-4" style="'+_+'">'+x+'</div> <div class="col-4">'+x+'</div> <div class="col-4">'+x+'</div> </div> <div class="row" style="margin-top:12px;"> <div class="col-4">'+x+'</div> <div class="col-4">'+x+'</div> <div class="col-4">'+x+"</div> </div> </div>"),code:'<div class="row"></div>',empty_placeholder:!0,action_menu:{add:[s.O4+"column"]}});s.MS.addComponentType(T);var C=new PgComponentType(s.O4+"column","Column",{tags:"major",selector:s.t3,parent_selector:".row",code:'<div class="col-md-4"><h3>Column title</h3> <p>Cras justo odio, dapibus ac facilisis in, egestas eget quam. Donec id elit non mi porta gravida at eget metus. Nullam id dolor id nibh ultricies vehicula ut id elit.</p> </div>',empty_placeholder:!0,name:"Column"});s.MS.addComponentType(C);var A=new PgFrameworkLibSection(s.O4+"grid","Grid");A.setComponentTypes([T,C]),(0,s.r2)(A),i(17),pinegrow.addEventHandler("on_vite_plugin_activated",(function(t,e,i){e===d.Yr.key&&(!1===i.options.utilities?(0,d.JF)(i.options.utilities):(0,d.JF)(!0),s.MS.utilities=d.hC)})),pinegrow.addEventHandler("on_project_closed",(function(){(0,d.JF)(!1),s.MS.utilities=d.hC}));var E,O,P,F=i(461),L=i(841),M={classes_map:{},classes_list:[],classes_changed:!1,classes_id:0,css_vars_map:{},css_vars_list:[],css_vars_id:0,css_vars_changed:!1,ids_map:{},ids_list:[],ids_changed:!1,attribute_values:{},tags_attribute_values:{},keywords_map:{},keywords_list:[],keywords_changed:!1,contents:{},meta:{},path_map:{},path_list:[],path_changed:!1,path_id:0},j=function(t,e,i){if(null!==t&&0!==t.length&&!t.startsWith("pg-main-cs-")&&"pg-empty-placeholder"!==t)if(t in M.classes_map)M.classes_map[t].count++,n=M.classes_map[t],e&&n.sources.indexOf(e)<0&&n.sources.push(e),i&&n.sourceids.indexOf(i)<0&&n.sourceids.push(i);else{M.classes_id++;var n={key:t,name:t,count:1,sources:[],sourceids:[],id:M.classes_id};M.classes_map[t]=n,M.classes_list.push(n),M.classes_changed=!0,e&&n.sources.indexOf(e)<0&&n.sources.push(e),i&&n.sourceids.indexOf(i)<0&&n.sourceids.push(i)}},z=function t(e){e&&e.nodes&&e.nodes.forEach((function(e){if("rule"===e.type){var i=e.selector.match(/\.([a-zA-Z][a-zA-Z0-9\-\_]*)/g);if(i)for(var n=0;n<i.length;n++){var s=i[n].substr(1,i[n].length-1);s.startsWith("pg-node-id")||j(s,"quasar","pquasar")}}t(e)}))},D=function(t){return(E=E||F(L.mark((function t(e){var i,n;return L.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:i=e.getAttribute("lang")||"css",t.t0=i,t.next="scss"===t.t0?4:"less"===t.t0?6:8;break;case 4:return n=PgSCSSStylesheet(),t.abrupt("break",9);case 6:return n=PgLESSStylesheet(),t.abrupt("break",9);case 8:n=PgCSSStylesheet();case 9:return t.next=11,n.loadInline(e,(function(){}));case 11:return t.abrupt("return",n);case 12:case"end":return t.stop()}}),t)})))).apply(this,arguments)},R=function(t){return(O=O||F(L.mark((function t(e){var i,n,s,r,o,a,l;return L.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(!(i=pinegrow.app_designer.addonManager.apiServerManager.connectionManager.repoRoot)){t.next=13;break}if(n=path.resolve(i,"node_modules","quasar","dist",e),!fs.existsSync(n)||!fs.statSync(n).isFile()){t.next=13;break}if((r=fs.readFileSync(n,{encoding:"utf8",flag:"r"})).trim()&&(s=r||""),!s){t.next=13;break}return o="<style>\n ".concat(s,"\n </style>"),a=pgCreate(o),t.next=11,D(a);case 11:l=t.sent,z(l.getRootNode());case 13:case"end":return t.stop()}}),t)})))).apply(this,arguments)},B=null;!function(){(P=P||F(L.mark((function t(){return L.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,R("quasar.css");case 3:return t.next=5,R("quasar.addon.css");case 5:B=M.classes_list.map((function(t){return{key:t.key,id:t.id,name:t.name}})),t.next=12;break;case 8:t.prev=8,t.t0=t.catch(0),console.log("Pinegrow Quasar Module: Unable to fetch quasar classList!"),console.log(t.t0);case 12:case"end":return t.stop()}}),t,null,[[0,8]])})))).apply(this,arguments)}(),n.M.on_get_all_available_classes=function(t,e){B&&(e.classes=B)}},869:(t,e,i)=>{"use strict";i.d(e,{EB:()=>h,Fq:()=>a,N$:()=>u,Zo:()=>p});var n,s=i(855),r=i(991),o=r.Yr.minor_version,a=r.Yr.version,l=function(t){n=t,s.M.name_short="".concat(r.Yr.name)},c=pinegrow.getSetting("".concat(r.Yr.key,"-force-version"),"auto");"auto"!=c&&l(parseFloat(c));var h=function(t,e){"auto"==c?t.data["".concat(r.Yr.type,"Version")]&&!e?l(t.data["".concat(r.Yr.type,"Version")]):t.stylesheetsThatContain(/quasar\sv(5[0-9\.]*)/i,/quasar(\.min|)\.(css)/i,(function(e,i,s){if(e.length>0){var o=i[0][1].split("."),a=parseFloat(o[0]);o.length>1&&(a+=parseFloat(o[1])/10),l(a),t.data["".concat(r.Yr.type,"Version")]=a,s&&pinegrow.selectedElements.reselect(),console.log("version = "+n+" "+s)}}),e):l(parseFloat(c))},u=function(t){return n>=t},p=function(t){return n<t};l(o)}},n={};function s(t){var e=n[t];if(void 0!==e)return e.exports;var r=n[t]={exports:{}};return i[t](r,r.exports,s),r.exports}e=Object.getPrototypeOf?t=>Object.getPrototypeOf(t):t=>t.__proto__,s.t=function(i,n){if(1&n&&(i=this(i)),8&n)return i;if("object"==typeof i&&i){if(4&n&&i.__esModule)return i;if(16&n&&"function"==typeof i.then)return i}var r=Object.create(null);s.r(r);var o={};t=t||[null,e({}),e([]),e(e)];for(var a=2&n&&i;"object"==typeof a&&!~t.indexOf(a);a=e(a))Object.getOwnPropertyNames(a).forEach((t=>o[t]=()=>i[t]));return o.default=()=>i,s.d(r,o),r},s.d=(t,e)=>{for(var i in e)s.o(e,i)&&!s.o(t,i)&&Object.defineProperty(t,i,{enumerable:!0,get:e[i]})},s.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),s.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var r={};return(()=>{"use strict";s.r(r);var t=s(991);$((function(){$("body").one("pinegrow-ready",(function(e,i){pgAddOnManager.isAddonActive("QUASAR")?Promise.resolve().then(s.bind(s,525)).then((function(){})):console.log("Pinegrow ".concat(t.Yr.short_name," addon is not active."))}))}))})(),r})()));
@@ -0,0 +1 @@
1
+ /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pinegrow/quasar-module",
3
- "version": "3.0.46",
3
+ "version": "3.0.48",
4
4
  "description": "Pinegrow Quasar Module",
5
5
  "keywords": [
6
6
  "pinegrow",
@@ -38,7 +38,9 @@
38
38
  "increment-version": "npm version patch"
39
39
  },
40
40
  "dependencies": {
41
- "@pinegrow/vite-plugin": "3.0.46"
41
+ "@pinegrow/vite-plugin": "3.0.48",
42
+ "glob": "^10.3.4",
43
+ "pascalcase": "^2.0.0"
42
44
  },
43
45
  "devDependencies": {
44
46
  "copy-webpack-plugin": "^10.2.4"