var ve=(D,V)=>()=>(V||D((V={exports:{}}).exports,V),V.exports);import{_ as me,u as ge,r as ye,o as be,w as we,a as q,c as ee,b as ae,d as xe,T as Se,K as Ce,e as _e,f as Ie,R as ke,g as Ae,h as Me,i as ue}from"./_plugin-vue_export-helper-76bffd25.js";import{r as Ee}from"./index-96b48f75.js";import{c as le}from"./_commonjsHelpers-87174ba5.js";var Te=ve((ie,ce)=>{(function(){const V=document.createElement("link").relList;if(V&&V.supports&&V.supports("modulepreload"))return;for(const I of document.querySelectorAll('link[rel="modulepreload"]'))C(I);new MutationObserver(I=>{for(const c of I)if(c.type==="childList")for(const a of c.addedNodes)a.tagName==="LINK"&&a.rel==="modulepreload"&&C(a)}).observe(document,{childList:!0,subtree:!0});function d(I){const c={};return I.integrity&&(c.integrity=I.integrity),I.referrerpolicy&&(c.referrerPolicy=I.referrerpolicy),I.crossorigin==="use-credentials"?c.credentials="include":I.crossorigin==="anonymous"?c.credentials="omit":c.credentials="same-origin",c}function C(I){if(I.ep)return;I.ep=!0;const c=d(I);fetch(I.href,c)}})();function Q(D){return Q=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(V){return typeof V}:function(V){return V&&typeof Symbol=="function"&&V.constructor===Symbol&&V!==Symbol.prototype?"symbol":typeof V},Q(D)}function W(D,V){if(!D.vueAxiosInstalled){var d=fe(V)?Fe(V):V;if(Le(d)){var C=Oe(D);if(C){var I=C<3?Re:Pe;Object.keys(d).forEach(function(c){I(D,c,d[c])}),D.vueAxiosInstalled=!0}else console.error("[vue-axios] unknown Vue version")}else console.error("[vue-axios] configuration is invalid, expected options are either or { : }")}}function Re(D,V,d){Object.defineProperty(D.prototype,V,{get:function(){return d}}),D[V]=d}function Pe(D,V,d){D.config.globalProperties[V]=d,D[V]=d}function fe(D){return D&&typeof D.get=="function"&&typeof D.post=="function"}function Fe(D){return{axios:D,$http:D}}function Le(D){return Q(D)==="object"&&Object.keys(D).every(function(V){return fe(D[V])})}function Oe(D){return D&&D.version&&Number(D.version.split(".")[0])}(typeof ie>"u"?"undefined":Q(ie))=="object"?ce.exports=W:typeof define=="function"&&define.amd?define([],function(){return W}):window.Vue&&window.axios&&window.Vue.use&&Vue.use(W,window.axios);(function(V,d){var C=d.documentElement,I=V.devicePixelRatio||1;function c(){d.body?d.body.style.fontSize=12*I+"px":d.addEventListener("DOMContentLoaded",c)}c();function a(){var t=C.clientWidth/10;C.style.fontSize=t+"px"}if(a(),V.addEventListener("resize",a),V.addEventListener("pageshow",function(t){t.persisted&&a()}),I>=2){var o=d.createElement("body"),s=d.createElement("div");s.style.border=".5px solid transparent",o.appendChild(s),C.appendChild(o),s.offsetHeight===1&&C.classList.add("hairlines"),C.removeChild(o)}})(window,document);const $e={__name:"App",setup(D){const V=ge(),d=["editvr"],C=ye("fade");return be(()=>{we(()=>V.currentRoute.value.path,I=>{I=="content"?C.value="":C.value="fade"},{immediate:!0,deep:!0})}),(I,c)=>(q(),ee(Ie(ke),{id:"pageWrapper"},{default:ae(({Component:a,route:o})=>[xe(Se,{name:"fade"},{default:ae(()=>[(q(),ee(Ce,{include:d},[(q(),ee(_e(a)))],1024))]),_:2},1024)]),_:1}))}},De=me($e,[["__scopeId","data-v-95d8f200"]]);function K(D){throw new Error('Could not dynamically require "'+D+'". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.')}var te={},Ve={get exports(){return te},set exports(D){te=D}};/*! * Less - Leaner CSS v3.0.4 * http://lesscss.org * * Copyright (c) 2009-2018, Alexis Sellier * Licensed under the Apache-2.0 License. * */(function(D,V){/** * @license Apache-2.0 */(function(d){D.exports=d()})(function(){return function(){function d(C,I,c){function a(t,i){if(!I[t]){if(!C[t]){var e=typeof K=="function"&&K;if(!i&&e)return e(t,!0);if(o)return o(t,!0);var r=new Error("Cannot find module '"+t+"'");throw r.code="MODULE_NOT_FOUND",r}var l=I[t]={exports:{}};C[t][0].call(l.exports,function(f){var u=C[t][1][f];return a(u||f)},l,l.exports,d,C,I,c)}return I[t].exports}for(var o=typeof K=="function"&&K,s=0;s0||s.isFileProtocol?"development":"production");var t=/!dumpLineNumbers:(comments|mediaquery|all)/.exec(o.location.hash);t&&(s.dumpLineNumbers=t[1]),s.useFileCache===void 0&&(s.useFileCache=!0),s.onReady===void 0&&(s.onReady=!0),s.javascriptEnabled=!!(s.javascriptEnabled||s.inlineJavaScript)}},{"./browser":3,"./utils":11}],2:[function(d,C,I){d("promise/polyfill");var c=d("../less/default-options")();if(window.less)for(key in window.less)window.less.hasOwnProperty(key)&&(c[key]=window.less[key]);d("./add-default-options")(window,c),c.plugins=c.plugins||[],window.LESS_PLUGINS&&(c.plugins=c.plugins.concat(window.LESS_PLUGINS));var a=C.exports=d("./index")(window,c);window.less=a;var o,s,t;function i(e){e.filename&&console.warn(e),c.async||s.removeChild(t)}c.onReady&&(/!watch/.test(window.location.hash)&&a.watch(),c.async||(o="body { display: none !important }",s=document.head||document.getElementsByTagName("head")[0],t=document.createElement("style"),t.type="text/css",t.styleSheet?t.styleSheet.cssText=o:t.appendChild(document.createTextNode(o)),s.appendChild(t)),a.registerStylesheetsImmediately(),a.pageLoadFinished=a.refresh(a.env==="development").then(i,i))},{"../less/default-options":16,"./add-default-options":1,"./index":8,"promise/polyfill":100}],3:[function(d,C,I){var c=d("./utils");C.exports={createCSS:function(a,o,s){var t=s.href||"",i="less:"+(s.title||c.extractId(t)),e=a.getElementById(i),r=!1,l=a.createElement("style");l.setAttribute("type","text/css"),s.media&&l.setAttribute("media",s.media),l.id=i,l.styleSheet||(l.appendChild(a.createTextNode(o)),r=e!==null&&e.childNodes.length>0&&l.childNodes.length>0&&e.firstChild.nodeValue===l.firstChild.nodeValue);var f=a.getElementsByTagName("head")[0];if(e===null||r===!1){var u=s&&s.nextSibling||null;u?u.parentNode.insertBefore(l,u):f.appendChild(l)}if(e&&r===!1&&e.parentNode.removeChild(e),l.styleSheet)try{l.styleSheet.cssText=o}catch{throw new Error("Couldn't reassign styleSheet.cssText.")}},currentScript:function(a){var o=a.document;return o.currentScript||function(){var s=o.getElementsByTagName("script");return s[s.length-1]}()}}},{"./utils":11}],4:[function(d,C,I){C.exports=function(c,a,o){var s=null;if(a.env!=="development")try{s=typeof c.localStorage>"u"?null:c.localStorage}catch{}return{setCSS:function(t,i,e,r){if(s){o.info("saving "+t+" to cache.");try{s.setItem(t,r),s.setItem(t+":timestamp",i),e&&s.setItem(t+":vars",JSON.stringify(e))}catch{o.error('failed to save "'+t+'" to local storage for caching.')}}},getCSS:function(t,i,e){var r=s&&s.getItem(t),l=s&&s.getItem(t+":timestamp"),f=s&&s.getItem(t+":vars");if(e=e||{},l&&i.lastModified&&new Date(i.lastModified).valueOf()===new Date(l).valueOf()&&(!e&&!f||JSON.stringify(e)===f))return r}}}},{}],5:[function(d,C,I){var c=d("./utils"),a=d("./browser");C.exports=function(o,s,t){function i(u,p){var n="less-error-message:"+c.extractId(p||""),m='
  • {content}
  • ',g=o.document.createElement("div"),w,b,S=[],h=u.filename||p,v=h.match(/([^\/]+(\?.*)?)$/)[1];g.id=n,g.className="less-error-message",b="

    "+(u.type||"Syntax")+"Error: "+(u.message||"There is an error in your .less file")+'

    in '+v+" ";var y=function(x,_,k){x.extract[_]!==void 0&&S.push(m.replace(/\{line\}/,(parseInt(x.line,10)||0)+(_-1)).replace(/\{class\}/,k).replace(/\{content\}/,x.extract[_]))};u.line&&(y(u,0,""),y(u,1,"line"),y(u,2,""),b+="on line "+u.line+", column "+(u.column+1)+":

      "+S.join("")+"
    "),u.stack&&(u.extract||t.logLevel>=4)&&(b+="
    Stack Trace
    "+u.stack.split(` `).slice(1).join("
    ")),g.innerHTML=b,a.createCSS(o.document,[".less-error-message ul, .less-error-message li {","list-style-type: none;","margin-right: 15px;","padding: 4px 0;","margin: 0;","}",".less-error-message label {","font-size: 12px;","margin-right: 15px;","padding: 4px 0;","color: #cc7777;","}",".less-error-message pre {","color: #dd6666;","padding: 4px 0;","margin: 0;","display: inline-block;","}",".less-error-message pre.line {","color: #ff0000;","}",".less-error-message h3 {","font-size: 20px;","font-weight: bold;","padding: 15px 0 5px 0;","margin: 0;","}",".less-error-message a {","color: #10a","}",".less-error-message .error {","color: red;","font-weight: bold;","padding-bottom: 2px;","border-bottom: 1px dashed red;","}"].join(` `),{title:"error-message"}),g.style.cssText=["font-family: Arial, sans-serif","border: 1px solid #e00","background-color: #eee","border-radius: 5px","-webkit-border-radius: 5px","-moz-border-radius: 5px","color: #e00","padding: 15px","margin-bottom: 15px"].join(";"),t.env==="development"&&(w=setInterval(function(){var x=o.document,_=x.body;_&&(x.getElementById(n)?_.replaceChild(g,x.getElementById(n)):_.insertBefore(g,_.firstChild),clearInterval(w))},10))}function e(u){var p=o.document.getElementById("less-error-message:"+c.extractId(u));p&&p.parentNode.removeChild(p)}function r(u){!t.errorReporting||t.errorReporting==="html"?e(u):t.errorReporting==="console"||typeof t.errorReporting=="function"&&t.errorReporting("remove",u)}function l(u,p){var n="{line} {content}",m=u.filename||p,g=[],w=(u.type||"Syntax")+"Error: "+(u.message||"There is an error in your .less file")+" in "+m,b=function(S,h,v){S.extract[h]!==void 0&&g.push(n.replace(/\{line\}/,(parseInt(S.line,10)||0)+(h-1)).replace(/\{class\}/,v).replace(/\{content\}/,S.extract[h]))};u.line&&(b(u,0,""),b(u,1,"line"),b(u,2,""),w+=" on line "+u.line+", column "+(u.column+1)+`: `+g.join(` `)),u.stack&&(u.extract||t.logLevel>=4)&&(w+=` Stack Trace `+u.stack),s.logger.error(w)}function f(u,p){!t.errorReporting||t.errorReporting==="html"?i(u,p):t.errorReporting==="console"?l(u,p):typeof t.errorReporting=="function"&&t.errorReporting("add",u,p)}return{add:f,remove:r}}},{"./browser":3,"./utils":11}],6:[function(d,C,I){C.exports=function(c,a){var o=d("../less/environment/abstract-file-manager.js"),s={},t=function(){};return t.prototype=new o,t.prototype.alwaysMakePathsAbsolute=function(){return!0},t.prototype.join=function(e,r){return e?this.extractUrlParts(r,e).path:r},t.prototype.doXHR=function(e,r,l,f){var u=new XMLHttpRequest,p=c.isFileProtocol?c.fileAsync:!0;typeof u.overrideMimeType=="function"&&u.overrideMimeType("text/css"),a.debug("XHR: Getting '"+e+"'"),u.open("GET",e,p),u.setRequestHeader("Accept",r||"text/x-less, text/css; q=0.9, */*; q=0.5"),u.send(null);function n(m,g,w){m.status>=200&&m.status<300?g(m.responseText,m.getResponseHeader("Last-Modified")):typeof w=="function"&&w(m.status,e)}c.isFileProtocol&&!c.fileAsync?u.status===0||u.status>=200&&u.status<300?l(u.responseText):f(u.status,e):p?u.onreadystatechange=function(){u.readyState==4&&n(u,l,f)}:n(u,l,f)},t.prototype.supports=function(i,e,r,l){return!0},t.prototype.clearFileCache=function(){s={}},t.prototype.loadFile=function(e,r,l,f){r&&!this.isPathAbsolute(e)&&(e=r+e),e=l.ext?this.tryAppendExtension(e,l.ext):e,l=l||{};var u=this.extractUrlParts(e,window.location.href),p=u.url,n=this;return new Promise(function(m,g){if(l.useFileCache&&s[p])try{var w=s[p];return m({contents:w,filename:p,webInfo:{lastModified:new Date}})}catch(b){return g({filename:p,message:"Error loading file "+p+" error was "+b.message})}n.doXHR(p,l.mime,function(S,h){s[p]=S,m({contents:S,filename:p,webInfo:{lastModified:h}})},function(S,h){g({type:"File",message:"'"+h+"' wasn't found ("+S+")",href:p})})})},t}},{"../less/environment/abstract-file-manager.js":17}],7:[function(d,C,I){C.exports=function(){var c=d("./../less/functions/function-registry");function a(){throw{type:"Runtime",message:"Image size functions are not supported in browser version of less"}}var o={"image-size":function(s){return a(),-1},"image-width":function(s){return a(),-1},"image-height":function(s){return a(),-1}};c.addMultiple(o)}},{"./../less/functions/function-registry":26}],8:[function(d,C,I){var c=d("./utils").addDataAttr,a=d("./browser");C.exports=function(o,s){var t=o.document,i=d("../less")();i.options=s;var e=i.environment,r=d("./file-manager")(s,i.logger),l=new r;e.addFileManager(l),i.FileManager=r,i.PluginLoader=d("./plugin-loader"),d("./log-listener")(i,s);var f=d("./error-reporting")(o,i,s),u=i.cache=s.cache||d("./cache")(o,s,i.logger);d("./image-size")(i.environment),s.functions&&i.functions.functionRegistry.addMultiple(s.functions);var p=/^text\/(x-)?less$/;function n(h){return JSON.parse(JSON.stringify(h||{}))}function m(h,v){var y=Array.prototype.slice.call(arguments,2);return function(){var x=y.concat(Array.prototype.slice.call(arguments,0));return h.apply(v,x)}}function g(h){for(var v=t.getElementsByTagName("style"),y,x=0;x=o&&console.log(r)},info:function(r){a.logLevel>=s&&console.log(r)},warn:function(r){a.logLevel>=t&&console.warn(r)},error:function(r){a.logLevel>=i&&console.error(r)}}]);for(var e=0;e0&&(a=a.slice(0,o)),o=a.lastIndexOf("/"),o<0&&(o=a.lastIndexOf("\\")),o<0?"":a.slice(0,o+1)},c.prototype.tryAppendExtension=function(a,o){return/(\.[a-z]*$)|([\?;].*)$/.test(a)?a:a+o},c.prototype.tryAppendLessExtension=function(a){return this.tryAppendExtension(a,".less")},c.prototype.supportsSync=function(){return!1},c.prototype.alwaysMakePathsAbsolute=function(){return!1},c.prototype.isPathAbsolute=function(a){return/^(?:[a-z-]+:|\/|\\|#)/i.test(a)},c.prototype.join=function(a,o){return a?a+o:o},c.prototype.pathDiff=function(o,s){var t=this.extractUrlParts(o),i=this.extractUrlParts(s),e,r,l,f,u="";if(t.hostPart!==i.hostPart)return"";for(r=Math.max(i.directories.length,t.directories.length),e=0;eparseInt(i[e])?-1:1;return 0},o.prototype.versionToString=function(t){for(var i="",e=0;e=0;l--){var f=r[l];if(f[e?"supportsSync":"supports"](o,s,t,i))return f}return null},a.prototype.addFileManager=function(o){this.fileManagers.push(o)},a.prototype.clearFileManagers=function(){this.fileManagers=[]},C.exports=a},{"../logger":37}],20:[function(d,C,I){var c=d("./function-registry"),a=d("../tree/anonymous"),o=d("../tree/keyword");c.addMultiple({boolean:function(s){return s?o.True:o.False},if:function(s,t,i){return s?t:i||new a}})},{"../tree/anonymous":48,"../tree/keyword":68,"./function-registry":26}],21:[function(d,C,I){var c=d("../tree/color"),a=d("./function-registry");function o(i,e,r){var l=e.alpha,f,u=r.alpha,p,n,m,g=[];n=u+l*(1-u);for(var w=0;w<3;w++)f=e.rgb[w]/255,p=r.rgb[w]/255,m=i(f,p),n&&(m=(u*p+l*(f-u*(f+p-m)))/n),g[w]=m*255;return new c(g,n)}var s={multiply:function(i,e){return i*e},screen:function(i,e){return i+e-i*e},overlay:function(i,e){return i*=2,i<=1?s.multiply(i,e):s.screen(i-1,e)},softlight:function(i,e){var r=1,l=i;return e>.5&&(l=1,r=i>.25?Math.sqrt(i):((16*i-12)*i+4)*i),i-(1-2*e)*l*(r-i)},hardlight:function(i,e){return s.overlay(e,i)},difference:function(i,e){return Math.abs(i-e)},exclusion:function(i,e){return i+e-2*i*e},average:function(i,e){return(i+e)/2},negation:function(i,e){return 1-Math.abs(i+e-1)}};for(var t in s)s.hasOwnProperty(t)&&(o[t]=o.bind(null,s[t]));a.addMultiple(o)},{"../tree/color":53,"./function-registry":26}],22:[function(d,C,I){var c=d("../tree/dimension"),a=d("../tree/color"),o=d("../tree/quoted"),s=d("../tree/anonymous"),t=d("./function-registry"),i;function e(u){return Math.min(1,Math.max(0,u))}function r(u){return i.hsla(u.h,u.s,u.l,u.a)}function l(u){if(u instanceof c)return parseFloat(u.unit.is("%")?u.value/100:u.value);if(typeof u=="number")return u;throw{type:"Argument",message:"color functions take numbers as parameters"}}function f(u,p){return u instanceof c&&u.unit.is("%")?parseFloat(u.value*p/100):l(u)}i={rgb:function(u,p,n){return i.rgba(u,p,n,1)},rgba:function(u,p,n,m){var g=[u,p,n].map(function(w){return f(w,255)});return m=l(m),new a(g,m)},hsl:function(u,p,n){return i.hsla(u,p,n,1)},hsla:function(u,p,n,m){var g,w;function b(S){return S=S<0?S+1:S>1?S-1:S,S*6<1?g+(w-g)*S*6:S*2<1?w:S*3<2?g+(w-g)*(2/3-S)*6:g}return u=l(u)%360/360,p=e(l(p)),n=e(l(n)),m=e(l(m)),w=n<=.5?n*(p+1):n+p-n*p,g=n*2-w,i.rgba(b(u+1/3)*255,b(u)*255,b(u-1/3)*255,m)},hsv:function(u,p,n){return i.hsva(u,p,n,1)},hsva:function(u,p,n,m){u=l(u)%360/360*360,p=l(p),n=l(n),m=l(m);var g,w;g=Math.floor(u/60%6),w=u/60-g;var b=[n,n*(1-p),n*(1-w*p),n*(1-(1-w)*p)],S=[[0,3,1],[2,0,1],[1,0,3],[1,2,0],[3,1,0],[0,1,2]];return i.rgba(b[S[g][0]]*255,b[S[g][1]]*255,b[S[g][2]]*255,m)},hue:function(u){return new c(u.toHSL().h)},saturation:function(u){return new c(u.toHSL().s*100,"%")},lightness:function(u){return new c(u.toHSL().l*100,"%")},hsvhue:function(u){return new c(u.toHSV().h)},hsvsaturation:function(u){return new c(u.toHSV().s*100,"%")},hsvvalue:function(u){return new c(u.toHSV().v*100,"%")},red:function(u){return new c(u.rgb[0])},green:function(u){return new c(u.rgb[1])},blue:function(u){return new c(u.rgb[2])},alpha:function(u){return new c(u.toHSL().a)},luma:function(u){return new c(u.luma()*u.alpha*100,"%")},luminance:function(u){var p=.2126*u.rgb[0]/255+.7152*u.rgb[1]/255+.0722*u.rgb[2]/255;return new c(p*u.alpha*100,"%")},saturate:function(u,p,n){if(!u.rgb)return null;var m=u.toHSL();return typeof n<"u"&&n.value==="relative"?m.s+=m.s*p.value/100:m.s+=p.value/100,m.s=e(m.s),r(m)},desaturate:function(u,p,n){var m=u.toHSL();return typeof n<"u"&&n.value==="relative"?m.s-=m.s*p.value/100:m.s-=p.value/100,m.s=e(m.s),r(m)},lighten:function(u,p,n){var m=u.toHSL();return typeof n<"u"&&n.value==="relative"?m.l+=m.l*p.value/100:m.l+=p.value/100,m.l=e(m.l),r(m)},darken:function(u,p,n){var m=u.toHSL();return typeof n<"u"&&n.value==="relative"?m.l-=m.l*p.value/100:m.l-=p.value/100,m.l=e(m.l),r(m)},fadein:function(u,p,n){var m=u.toHSL();return typeof n<"u"&&n.value==="relative"?m.a+=m.a*p.value/100:m.a+=p.value/100,m.a=e(m.a),r(m)},fadeout:function(u,p,n){var m=u.toHSL();return typeof n<"u"&&n.value==="relative"?m.a-=m.a*p.value/100:m.a-=p.value/100,m.a=e(m.a),r(m)},fade:function(u,p){var n=u.toHSL();return n.a=p.value/100,n.a=e(n.a),r(n)},spin:function(u,p){var n=u.toHSL(),m=(n.h+p.value)%360;return n.h=m<0?360+m:m,r(n)},mix:function(u,p,n){(!u.toHSL||!p.toHSL)&&(console.log(p.type),console.dir(p)),n||(n=new c(50));var m=n.value/100,g=m*2-1,w=u.toHSL().a-p.toHSL().a,b=((g*w==-1?g:(g+w)/(1+g*w))+1)/2,S=1-b,h=[u.rgb[0]*b+p.rgb[0]*S,u.rgb[1]*b+p.rgb[1]*S,u.rgb[2]*b+p.rgb[2]*S],v=u.alpha*m+p.alpha*(1-m);return new a(h,v)},greyscale:function(u){return i.desaturate(u,new c(100))},contrast:function(u,p,n,m){if(!u.rgb)return null;if(typeof n>"u"&&(n=i.rgba(255,255,255,1)),typeof p>"u"&&(p=i.rgba(0,0,0,1)),p.luma()>n.luma()){var g=n;n=p,p=g}return typeof m>"u"?m=.43:m=l(m),u.luma()=_&&this.context.ieCompat!==!1?(e.warn("Skipped data-uri embedding of "+u+" because its size ("+x.length+" characters) exceeds IE8-safe "+_+" characters!"),i(this,l||r)):new o(new a('"'+x+'"',x,!1,this.index,this.currentFileInfo),this.index,this.currentFileInfo)})}},{"../logger":37,"../tree/quoted":77,"../tree/url":82,"../utils":86,"./function-registry":26}],24:[function(d,C,I){var c=d("../tree/keyword"),a=d("./function-registry"),o={eval:function(){var s=this.value_,t=this.error_;if(t)throw t;if(s!=null)return s?c.True:c.False},value:function(s){this.value_=s},error:function(s){this.error_=s},reset:function(){this.value_=this.error_=null}};a.add("default",o.eval.bind(o)),C.exports=o},{"../tree/keyword":68,"./function-registry":26}],25:[function(d,C,I){var c=d("../tree/expression"),a=function(o,s,t,i){this.name=o.toLowerCase(),this.index=t,this.context=s,this.currentFileInfo=i,this.func=s.frames[0].functionRegistry.get(this.name)};a.prototype.isValid=function(){return Boolean(this.func)},a.prototype.call=function(o){return Array.isArray(o)&&(o=o.filter(function(s){return s.type!=="Comment"}).map(function(s){if(s.type==="Expression"){var t=s.value.filter(function(i){return i.type!=="Comment"});return t.length===1?t[0]:new c(t)}return s})),this.func.apply(this,o)},C.exports=a},{"../tree/expression":62}],26:[function(d,C,I){function c(a){return{_data:{},add:function(o,s){o=o.toLowerCase(),this._data.hasOwnProperty(o),this._data[o]=s},addMultiple:function(o){Object.keys(o).forEach(function(s){this.add(s,o[s])}.bind(this))},get:function(o){return this._data[o]||a&&a.get(o)},getLocalFunctions:function(){return this._data},inherit:function(){return c(this)},create:function(o){return c(o)}}}C.exports=c(null)},{}],27:[function(d,C,I){C.exports=function(c){var a={functionRegistry:d("./function-registry"),functionCaller:d("./function-caller")};return d("./boolean"),d("./default"),d("./color"),d("./color-blending"),d("./data-uri")(c),d("./math"),d("./number"),d("./string"),d("./svg")(c),d("./types"),a}},{"./boolean":20,"./color":22,"./color-blending":21,"./data-uri":23,"./default":24,"./function-caller":25,"./function-registry":26,"./math":29,"./number":30,"./string":31,"./svg":32,"./types":33}],28:[function(d,C,I){var c=d("../tree/dimension"),a=function(){};a._math=function(o,s,t){if(!(t instanceof c))throw{type:"Argument",message:"argument must be a number"};return s==null?s=t.unit:t=t.unify(),new c(o(parseFloat(t.value)),s)},C.exports=a},{"../tree/dimension":60}],29:[function(d,C,I){var c=d("./function-registry"),a=d("./math-helper.js"),o={ceil:null,floor:null,sqrt:null,abs:null,tan:"",sin:"",cos:"",atan:"rad",asin:"rad",acos:"rad"};for(var s in o)o.hasOwnProperty(s)&&(o[s]=a._math.bind(null,Math[s],o[s]));o.round=function(t,i){var e=typeof i>"u"?0:i.value;return a._math(function(r){return r.toFixed(e)},null,t)},c.addMultiple(o)},{"./function-registry":26,"./math-helper.js":28}],30:[function(d,C,I){var c=d("../tree/dimension"),a=d("../tree/anonymous"),o=d("./function-registry"),s=d("./math-helper.js"),t=function(i,e){switch(e=Array.prototype.slice.call(e),e.length){case 0:throw{type:"Argument",message:"one or more arguments required"}}var r,l,f,u,p,n,m,g,w=[],b={};for(r=0;rp.value)&&(w[l]=f)}return w.length==1?w[0]:(e=w.map(function(S){return S.toCSS(this.context)}).join(this.context.compress?",":", "),new a((i?"min":"max")+"("+e+")"))};o.addMultiple({min:function(){return t(!0,arguments)},max:function(){return t(!1,arguments)},convert:function(i,e){return i.convertTo(e.value)},pi:function(){return new c(Math.PI)},mod:function(i,e){return new c(i.value%e.value,i.unit)},pow:function(i,e){if(typeof i=="number"&&typeof e=="number")i=new c(i),e=new c(e);else if(!(i instanceof c)||!(e instanceof c))throw{type:"Argument",message:"arguments must be numbers"};return new c(Math.pow(i.value,e.value),i.unit)},percentage:function(i){var e=s._math(function(r){return r*100},"%",i);return e}})},{"../tree/anonymous":48,"../tree/dimension":60,"./function-registry":26,"./math-helper.js":28}],31:[function(d,C,I){var c=d("../tree/quoted"),a=d("../tree/anonymous"),o=d("../tree/javascript"),s=d("./function-registry");s.addMultiple({e:function(t){return new a(t instanceof o?t.evaluated:t.value)},escape:function(t){return new a(encodeURI(t.value).replace(/=/g,"%3D").replace(/:/g,"%3A").replace(/#/g,"%23").replace(/;/g,"%3B").replace(/\(/g,"%28").replace(/\)/g,"%29"))},replace:function(t,i,e,r){var l=t.value;return e=e.type==="Quoted"?e.value:e.toCSS(),l=l.replace(new RegExp(i.value,r?r.value:""),e),new c(t.quote||"",l,t.escaped)},"%":function(t){for(var i=Array.prototype.slice.call(arguments,1),e=t.value,r=0;r",w=0;w";return m+="',m=encodeURIComponent(m),m="data:image/svg+xml,"+m,new i(new t("'"+m+"'",m,!1,this.index,this.currentFileInfo),this.index,this.currentFileInfo)})}},{"../tree/color":53,"../tree/dimension":60,"../tree/expression":62,"../tree/quoted":77,"../tree/url":82,"./function-registry":26}],33:[function(d,C,I){var c=d("../tree/keyword"),a=d("../tree/detached-ruleset"),o=d("../tree/dimension"),s=d("../tree/color"),t=d("../tree/quoted"),i=d("../tree/anonymous"),e=d("../tree/url"),r=d("../tree/operation"),l=d("./function-registry"),f=function(n,m){return n instanceof m?c.True:c.False},u=function(n,m){if(m===void 0)throw{type:"Argument",message:"missing the required second argument to isunit."};if(m=typeof m.value=="string"?m.value:m,typeof m!="string")throw{type:"Argument",message:"Second argument to isunit should be a unit or a string."};return n instanceof o&&n.unit.is(m)?c.True:c.False},p=function(n){var m=Array.isArray(n.value)?n.value:Array(n);return m};l.addMultiple({isruleset:function(n){return f(n,a)},iscolor:function(n){return f(n,s)},isnumber:function(n){return f(n,o)},isstring:function(n){return f(n,t)},iskeyword:function(n){return f(n,c)},isurl:function(n){return f(n,e)},ispixel:function(n){return u(n,"px")},ispercentage:function(n){return u(n,"%")},isem:function(n){return u(n,"em")},isunit:u,unit:function(n,m){if(!(n instanceof o))throw{type:"Argument",message:"the first argument to unit must be a number"+(n instanceof r?". Have you forgotten parenthesis?":"")};return m?m instanceof c?m=m.value:m=m.toCSS():m="",new o(n.value,m)},"get-unit":function(n){return new i(n.unit)},extract:function(n,m){return m=m.value-1,p(n)[m]},length:function(n){return new o(p(n).length)}})},{"../tree/anonymous":48,"../tree/color":53,"../tree/detached-ruleset":59,"../tree/dimension":60,"../tree/keyword":68,"../tree/operation":74,"../tree/quoted":77,"../tree/url":82,"./function-registry":26}],34:[function(d,C,I){var c=d("./contexts"),a=d("./parser/parser"),o=d("./less-error"),s=d("./utils");typeof Promise>"u"&&d("promise"),C.exports=function(t){var i=function(e,r,l){this.less=e,this.rootFilename=l.filename,this.paths=r.paths||[],this.contents={},this.contentsIgnoredChars={},this.mime=r.mime,this.error=null,this.context=r,this.queue=[],this.files={}};return i.prototype.push=function(e,r,l,f,u){var p=this,n=this.context.pluginManager.Loader;this.queue.push(e);var m=function(v,y,x){p.queue.splice(p.queue.indexOf(e),1);var _=x===p.rootFilename;f.optional&&v?u(null,{rules:[]},!1,null):(!p.files[x]&&!f.inline&&(p.files[x]={root:y,options:f}),v&&!p.error&&(p.error=v),u(v,y,_,x))},g={relativeUrls:this.context.relativeUrls,entryPath:l.entryPath,rootpath:l.rootpath,rootFilename:l.rootFilename},w=t.getFileManager(e,l.currentDirectory,this.context,t);if(!w){m({message:"Could not find a file-manager for "+e});return}var b=function(v){var y,x=v.filename,_=v.contents.replace(/^\uFEFF/,"");g.currentDirectory=w.getPath(x),g.relativeUrls&&(g.rootpath=w.join(p.context.rootpath||"",w.pathDiff(g.currentDirectory,g.entryPath)),!w.isPathAbsolute(g.rootpath)&&w.alwaysMakePathsAbsolute()&&(g.rootpath=w.join(g.entryPath,g.rootpath))),g.filename=x;var k=new c.Parse(p.context);k.processImports=!1,p.contents[x]=_,(l.reference||f.reference)&&(g.reference=!0),f.isPlugin?(y=n.evalPlugin(_,k,p,f.pluginArgs,g),y instanceof o?m(y,null,x):m(null,y,x)):f.inline?m(null,_,x):p.files[x]&&!p.files[x].options.multiple&&!f.multiple?m(null,p.files[x].root,x):new a(k,p,g).parse(_,function(A,M){m(A,M,x)})},S,h=s.clone(this.context);r&&(h.ext=f.isPlugin?".js":".less"),f.isPlugin?S=n.loadPlugin(e,l.currentDirectory,h,t,w):S=w.loadFile(e,l.currentDirectory,h,t,function(v,y){v?m(v):b(y)}),S&&S.then(b,m)},i}},{"./contexts":12,"./less-error":36,"./parser/parser":42,"./utils":86,promise:void 0}],35:[function(d,C,I){C.exports=function(c,a){var o,s,t,i,e,r={version:[3,0,4],data:d("./data"),tree:d("./tree"),Environment:e=d("./environment/environment"),AbstractFileManager:d("./environment/abstract-file-manager"),AbstractPluginLoader:d("./environment/abstract-plugin-loader"),environment:c=new e(c,a),visitors:d("./visitors"),Parser:d("./parser/parser"),functions:d("./functions")(c),contexts:d("./contexts"),SourceMapOutput:o=d("./source-map-output")(c),SourceMapBuilder:s=d("./source-map-builder")(o,c),ParseTree:t=d("./parse-tree")(s),ImportManager:i=d("./import-manager")(c),render:d("./render")(c,t,i),parse:d("./parse")(c,t,i),LessError:d("./less-error"),transformTree:d("./transform-tree"),utils:d("./utils"),PluginManager:d("./plugin-manager"),logger:d("./logger")},l=function(m){return function(){var g=Object.create(m.prototype);return m.apply(g,Array.prototype.slice.call(arguments,0)),g}},f,u=Object.create(r);for(var p in r.tree)if(f=r.tree[p],typeof f=="function")u[p.toLowerCase()]=l(f);else{u[p]=Object.create(null);for(var n in f)u[p][n.toLowerCase()]=l(f[n])}return u}},{"./contexts":12,"./data":14,"./environment/abstract-file-manager":17,"./environment/abstract-plugin-loader":18,"./environment/environment":19,"./functions":27,"./import-manager":34,"./less-error":36,"./logger":37,"./parse":39,"./parse-tree":38,"./parser/parser":42,"./plugin-manager":43,"./render":44,"./source-map-builder":45,"./source-map-output":46,"./transform-tree":47,"./tree":65,"./utils":86,"./visitors":90}],36:[function(d,C,I){var c=d("./utils"),a=C.exports=function(t,i,e){Error.call(this);var r=t.filename||e;if(this.message=t.message,this.stack=t.stack,i&&r){var l=i.contents[r],f=c.getLocation(t.index,l),u=f.line,p=f.column,n=t.call&&c.getLocation(t.call,l).line,m=l?l.split(` `):"";if(this.type=t.type||"Syntax",this.filename=r,this.index=t.index,this.line=typeof u=="number"?u+1:null,this.column=p,!this.line&&this.stack){var g=this.stack.match(/(|Function):(\d+):(\d+)/);g&&(g[2]&&(this.line=parseInt(g[2])-2),g[3]&&(this.column=parseInt(g[3])))}this.callLine=n+1,this.callExtract=m[n],this.extract=[m[this.line-2],m[this.line-1],m[this.line]]}};if(typeof Object.create>"u"){var o=function(){};o.prototype=Error.prototype,a.prototype=new o}else a.prototype=Object.create(Error.prototype);a.prototype.constructor=a,a.prototype.toString=function(s){s=s||{};var t="",i=this.extract||[],e=[],r=function(u){return u};if(s.stylize){var l=typeof s.stylize;if(l!=="function")throw Error("options.stylize should be a function, got a "+l+"!");r=s.stylize}if(this.line!==null){if(typeof i[0]=="string"&&e.push(r(this.line-1+" "+i[0],"grey")),typeof i[1]=="string"){var f=this.line+" ";i[1]&&(f+=i[1].slice(0,this.column)+r(r(r(i[1].substr(this.column,1),"bold")+i[1].slice(this.column+1),"red"),"inverse")),e.push(f)}typeof i[2]=="string"&&e.push(r(this.line+1+" "+i[2],"grey")),e=e.join(` `)+r("","reset")+` `}return t+=r(this.type+"Error: "+this.message,"red"),this.filename&&(t+=r(" in ","red")+this.filename),this.line&&(t+=r(" on line "+this.line+", column "+(this.column+1)+":","grey")),t+=` `+e,this.callLine&&(t+=r("from ","red")+(this.filename||"")+"/n",t+=r(this.callLine,"grey")+" "+this.callExtract+"/n"),t}},{"./utils":86}],37:[function(d,C,I){C.exports={error:function(c){this._fireEvent("error",c)},warn:function(c){this._fireEvent("warn",c)},info:function(c){this._fireEvent("info",c)},debug:function(c){this._fireEvent("debug",c)},addListener:function(c){this._listeners.push(c)},removeListener:function(c){for(var a=0;a"u"?d("promise"):Promise);var m=this;return new c(function(y,x){f.call(m,u,p,function(_,k){_?x(_):y(k)})})}};return f}},{"./contexts":12,"./less-error":36,"./parser/parser":42,"./plugin-manager":43,"./utils":86,promise:void 0}],40:[function(d,C,I){C.exports=function(c,a){var o=c.length,s=0,t=0,i,e,r,l,f=[],u=0,p,n,m,g,w;function b(S){var h=p-u;h<512&&!S||!h||(f.push(c.slice(u,p+1)),u=p+1)}for(p=0;p=97&&m<=122||m<34))switch(m){case 40:t++,e=p;continue;case 41:if(--t<0)return a("missing opening `(`",p);continue;case 59:t||b();continue;case 123:s++,i=p;continue;case 125:if(--s<0)return a("missing opening `{`",p);!s&&!t&&b();continue;case 92:if(p96)){if(g==m){w=1;break}if(g==92){if(p==o-1)return a("unescaped `\\`",p);p++}}if(w)continue;return a("unmatched `"+String.fromCharCode(m)+"`",n);case 47:if(t||p==o-1)continue;if(g=c.charCodeAt(p+1),g==47)for(p=p+2;pi&&l>r?a("missing closing `}` or `*/`",i):a("missing closing `}`",i):t!==0?a("missing closing `)`",e):(b(!0),f)}},{}],41:[function(d,C,I){var c=d("./chunker");C.exports=function(){var a,o,s=[],t,i,e,r,l,f={},u=32,p=9,n=10,m=13,g=43,w=44,b=47,S=57;function h(v){for(var y=f.i,x=o,_=f.i-l,k=f.i+r.length-_,A=f.i+=v,M=a,L,O,E;f.i=0){E={index:f.i,text:M.substr(f.i,P+2-f.i),isLineComment:!1},f.i+=E.text.length-1,f.commentStore.push(E);continue}}break}if(L!==u&&L!==n&&L!==p&&L!==m)break}if(r=r.slice(v+f.i-A+_),l=f.i,!r.length){if(ot||f.i===t&&v&&!i)&&(t=f.i,i=v);var y=s.pop();r=y.current,l=f.i=y.i,o=y.j},f.forget=function(){s.pop()},f.isWhitespace=function(v){var y=f.i+(v||0),x=a.charCodeAt(y);return x===u||x===m||x===p||x===n},f.$re=function(v){f.i>l&&(r=r.slice(f.i-l),l=f.i);var y=v.exec(r);return y?(h(y[0].length),typeof y=="string"?y:y.length===1?y[0]:y):null},f.$char=function(v){return a.charAt(f.i)!==v?null:(h(1),v)},f.$str=function(v){for(var y=v.length,x=0;xS||v=a.length;return f.i=a.length-1,furthestChar:a[f.i]}},f}},{"./chunker":40}],42:[function(d,C,I){var c=d("../less-error"),a=d("../tree"),o=d("../visitors"),s=d("./parser-input"),t=d("../utils"),i=d("../functions/function-registry"),e=function r(l,f,u){var p,n=s();function m(h,v){throw new c({index:n.i,filename:u.filename,type:v||"Syntax",message:h},f)}function g(h,v,y){var x=h instanceof Function?h.call(p):n.$re(h);if(x)return x;m(v||(typeof h=="string"?"expected '"+h+"' got '"+n.currentChar()+"'":"unexpected token"))}function w(h,v){if(n.$char(h))return h;m(v||"expected '"+h+"' got '"+n.currentChar()+"'")}function b(h){var v=u.filename;return{lineNumber:t.getLocation(h,n.getInput()).line+1,fileName:v}}function S(h,v,y,x,_){var k,A=[],M=n;try{M.start(h,!1,function(F,$){_({message:F,index:$+y})});for(var L=0,O,E;O=v[L];L++)E=M.i,k=p[O](),k?(k._index=E+y,k._fileInfo=x,A.push(k)):A.push(null);var R=M.end();R.isFinished?_(null,A):_(!0,null)}catch(P){throw new c({index:P.index+y,message:P.message},f,x.filename)}}return{parserInput:n,imports:f,fileInfo:u,parseNode:S,parse:function(h,v,y){var x,_=null,k,A,M,L="";if(k=y&&y.globalVars?r.serializeVars(y.globalVars)+` `:"",A=y&&y.modifyVars?` `+r.serializeVars(y.modifyVars):"",l.pluginManager)for(var O=l.pluginManager.getPreProcessors(),E=0;E");if(_&&(n.$char("(")&&(L=this.args(!0).args,w(")")),p.important()&&(v=!0),p.end()))return n.forget(),new a.mixin.Call(_,L,y,u,v);n.restore()}},args:function(h){var v=p.entities,y={args:null,variadic:!1},x=[],_=[],k=[],A,M,L,O,E,R,P;for(n.save();;){if(h)R=p.detachedRuleset()||p.expression();else{if(n.commentStore.length=0,n.$str("...")){y.variadic=!0,n.$char(";")&&!A&&(A=!0),(A?_:k).push({variadic:!0});break}R=v.variable()||v.property()||v.literal()||v.keyword()}if(!R)break;O=null,R.throwAwayComments&&R.throwAwayComments(),E=R;var F=null;if(h?R.value&&R.value.length==1&&(F=R.value[0]):F=R,F&&(F instanceof a.Variable||F instanceof a.Property))if(n.$char(":")){if(x.length>0&&(A&&m("Cannot mix ; and , as delimiter types"),M=!0),E=p.detachedRuleset()||p.expression(),!E)if(h)m("could not understand value for named argument");else return n.restore(),y.args=[],y;O=L=F.name}else if(n.$str("..."))if(h)P=!0;else{y.variadic=!0,n.$char(";")&&!A&&(A=!0),(A?_:k).push({name:R.name,variadic:!0});break}else h||(L=O=F.name,E=null);E&&x.push(E),k.push({name:O,value:E,expand:P}),!n.$char(",")&&(n.$char(";")||A)&&(M&&m("Cannot mix ; and , as delimiter types"),A=!0,x.length>1&&(E=new a.Value(x)),_.push({name:L,value:E,expand:P}),L=null,x=[],M=!1)}return n.forget(),y.args=A?_:k,y},definition:function(){var h,v=[],y,x,_,k=!1;if(!(n.currentChar()!=="."&&n.currentChar()!=="#"||n.peek(/^[^{]*\}/)))if(n.save(),y=n.$re(/^([#.](?:[\w-]|\\(?:[A-Fa-f0-9]{1,6} ?|[^A-Fa-f0-9]))+)\s*\(/),y){h=y[1];var A=this.args(!1);if(v=A.args,k=A.variadic,!n.$char(")")){n.restore("Missing closing ')'");return}if(n.commentStore.length=0,n.$str("when")&&(_=g(p.conditions,"expected condition")),x=p.block(),x)return n.forget(),new a.mixin.Definition(h,v,x,_,k);n.restore()}else n.forget()}},entity:function(){var h=this.entities;return this.comment()||h.literal()||h.variable()||h.url()||h.property()||h.call()||h.keyword()||h.javascript()},end:function(){return n.$char(";")||n.peek("}")},ieAlpha:function(){var h;if(n.$re(/^opacity=/i))return h=n.$re(/^\d+/),h||(h=g(p.entities.variable,"Could not parse alpha"),h="@{"+h.name.slice(1)+"}"),w(")"),new a.Quoted("","alpha(opacity="+h+")")},element:function(){var h,v,y,x=n.i;if(v=this.combinator(),h=n.$re(/^(?:\d+\.\d+|\d+)%/)||n.$re(/^(?:[.#]?|:*)(?:[\w-]|[^\x00-\x9f]|\\(?:[A-Fa-f0-9]{1,6} ?|[^A-Fa-f0-9]))+/)||n.$char("*")||n.$char("&")||this.attribute()||n.$re(/^\([^&()@]+\)/)||n.$re(/^[\.#:](?=@)/)||this.entities.variableCurly(),h||(n.save(),n.$char("(")?(y=this.selector(!1))&&n.$char(")")?(h=new a.Paren(y),n.forget()):n.restore("Missing closing ')'"):n.forget()),h)return new a.Element(v,h,x,u)},combinator:function(){var h=n.currentChar();if(h==="/"){n.save();var v=n.$re(/^\/[a-z]+\//i);if(v)return n.forget(),new a.Combinator(v);n.restore()}if(h===">"||h==="+"||h==="~"||h==="|"||h==="^"){for(n.i++,h==="^"&&n.currentChar()==="^"&&(h="^^",n.i++);n.isWhitespace();)n.i++;return new a.Combinator(h)}else return n.isWhitespace(-1)?new a.Combinator(" "):new a.Combinator(null)},selector:function(h){var v=n.i,y,x,_,k,A,M,L;for(h=h!==!1;(h&&(x=this.extend())||h&&(M=n.$str("when"))||(k=this.element()))&&(M?L=g(this.conditions,"expected condition"):L?m("CSS guard can only be used at the end of selector"):x?A?A=A.concat(x):A=x:(A&&m("Extend can only be used at the end of selector"),_=n.currentChar(),y?y.push(k):y=[k],k=null),!(_==="{"||_==="}"||_===";"||_===","||_===")")););if(y)return new a.Selector(y,A,L,v,u);A&&m("Extend must be used to extend a selector, it cannot be used on its own")},attribute:function(){if(n.$char("[")){var h=this.entities,v,y,x;return(v=h.variableCurly())||(v=g(/^(?:[_A-Za-z0-9-\*]*\|)?(?:[_A-Za-z0-9-]|\\.)+/)),x=n.$re(/^[|~*$^]?=/),x&&(y=h.quoted()||n.$re(/^[0-9]+%/)||n.$re(/^[\w-]+/)||h.variableCurly()),w("]"),new a.Attribute(v,x,y)}},block:function(){var h;if(n.$char("{")&&(h=this.primary())&&n.$char("}"))return h},blockRuleset:function(){var h=this.block();return h&&(h=new a.Ruleset(null,h)),h},detachedRuleset:function(){var h=this.blockRuleset();if(h)return new a.DetachedRuleset(h)},ruleset:function(){var h,v,y,x;for(n.save(),l.dumpLineNumbers&&(x=b(n.i));v=this.selector(),!(!v||(h?h.push(v):h=[v],n.commentStore.length=0,v.condition&&h.length>1&&m("Guards are only currently allowed on a single selector."),!n.$char(",")));)v.condition&&m("Guards are only currently allowed on a single selector."),n.commentStore.length=0;if(h&&(y=this.block())){n.forget();var _=new a.Ruleset(h,y,l.strictImports);return l.dumpLineNumbers&&(_.debugInfo=x),_}else n.restore()},declaration:function(){var h,v,y=n.i,x=n.currentChar(),_,k,A;if(!(x==="."||x==="#"||x==="&"||x===":"))if(n.save(),h=this.variable()||this.ruleProperty(),h){if(A=typeof h=="string",A&&(v=this.detachedRuleset()),n.commentStore.length=0,!v){if(k=!A&&h.length>1&&h.pop().value,v=this.anonymousValue(),v)return n.forget(),new a.Declaration(h,v,!1,k,y,u);v||(v=this.value()),_=this.important()}if(v&&this.end())return n.forget(),new a.Declaration(h,v,_,k,y,u);n.restore()}else n.restore()},anonymousValue:function(){var h=n.i,v=n.$re(/^([^@\$+\/'"*`(;{}-]*);/);if(v)return new a.Anonymous(v[1],h)},import:function(){var h,v,y=n.i,x=n.$re(/^@import?\s+/);if(x){var _=(x?this.importOptions():null)||{};if(h=this.entities.quoted()||this.entities.url())return v=this.mediaFeatures(),n.$char(";")||(n.i=y,m("missing semi-colon or unrecognised media features on import")),v=v&&new a.Value(v),new a.Import(h,v,_,y,u);n.i=y,m("malformed import statement")}},importOptions:function(){var h,v={},y,x;if(!n.$char("("))return null;do if(h=this.importOption(),h){switch(y=h,x=!0,y){case"css":y="less",x=!1;break;case"once":y="multiple",x=!1;break}if(v[y]=x,!n.$char(","))break}while(h);return w(")"),v},importOption:function(){var h=n.$re(/^(less|css|multiple|once|inline|reference|optional)/);if(h)return h[1]},mediaFeature:function(){var h=this.entities,v=[],y,x;n.save();do y=h.keyword()||h.variable(),y?v.push(y):n.$char("(")&&(x=this.property(),y=this.value(),n.$char(")")?x&&y?v.push(new a.Paren(new a.Declaration(x,y,null,null,n.i,u,!0))):y?v.push(new a.Paren(y)):m("badly formed media feature definition"):m("Missing closing ')'","Parse"));while(y);if(n.forget(),v.length>0)return new a.Expression(v)},mediaFeatures:function(){var h=this.entities,v=[],y;do if(y=this.mediaFeature(),y){if(v.push(y),!n.$char(","))break}else if(y=h.variable(),y&&(v.push(y),!n.$char(",")))break;while(y);return v.length>0?v:null},media:function(){var h,v,y,x,_=n.i;if(l.dumpLineNumbers&&(x=b(_)),n.save(),n.$str("@media"))return h=this.mediaFeatures(),v=this.block(),v||m("media definitions require block statements after any features"),n.forget(),y=new a.Media(v,h,_,u),l.dumpLineNumbers&&(y.debugInfo=x),y;n.restore()},plugin:function(){var h,v,y,x=n.i,_=n.$re(/^@plugin?\s+/);if(_){if(v=this.pluginArgs(),v?y={pluginArgs:v,isPlugin:!0}:y={isPlugin:!0},h=this.entities.quoted()||this.entities.url())return n.$char(";")||(n.i=x,m("missing semi-colon on @plugin")),new a.Import(h,null,y,x,u);n.i=x,m("malformed @plugin statement")}},pluginArgs:function(){if(n.save(),!n.$char("("))return n.restore(),null;var h=n.$re(/^\s*([^\);]+)\)\s*/);return h[1]?(n.forget(),h[1].trim()):(n.restore(),null)},atrule:function(){var h=n.i,v,y,x,_,k,A,M,L=!0,O=!0;if(n.currentChar()==="@"){if(y=this.import()||this.plugin()||this.media(),y)return y;if(n.save(),v=n.$re(/^@[a-z-]+/),!!v){switch(_=v,v.charAt(1)=="-"&&v.indexOf("-",2)>0&&(_="@"+v.slice(v.indexOf("-",2)+1)),_){case"@charset":k=!0,L=!1;break;case"@namespace":A=!0,L=!1;break;case"@keyframes":case"@counter-style":k=!0;break;case"@document":case"@supports":M=!0,O=!1;break;default:M=!0;break}if(n.commentStore.length=0,k?(y=this.entity(),y||m("expected "+v+" identifier")):A?(y=this.expression(),y||m("expected "+v+" expression")):M&&(y=(n.$re(/^[^{;]+/)||"").trim(),L=n.currentChar()=="{",y&&(y=new a.Anonymous(y))),L&&(x=this.blockRuleset()),x||!L&&y&&n.$char(";"))return n.forget(),new a.AtRule(v,y,x,h,u,l.dumpLineNumbers?b(h):null,O);n.restore("at-rule options not recognised")}}},value:function(){var h,v=[],y=n.i;do if(h=this.expression(),h&&(v.push(h),!n.$char(",")))break;while(h);if(v.length>0)return new a.Value(v,y)},important:function(){if(n.currentChar()==="!")return n.$re(/^! *important/)},sub:function(){var h,v;if(n.save(),n.$char("(")){if(h=this.addition(),h&&n.$char(")"))return n.forget(),v=new a.Expression([h]),v.parens=!0,v;n.restore("Expected ')'");return}n.restore()},multiplication:function(){var h,v,y,x,_;if(h=this.operand(),h){for(_=n.isWhitespace(-1);!n.peek(/^\/[*\/]/);){if(n.save(),y=n.$char("/")||n.$char("*"),!y){n.forget();break}if(v=this.operand(),!v){n.restore();break}n.forget(),h.parensInOp=!0,v.parensInOp=!0,x=new a.Operation(y,[x||h,v],_),_=n.isWhitespace(-1)}return x||h}},addition:function(){var h,v,y,x,_;if(h=this.multiplication(),h){for(_=n.isWhitespace(-1);y=n.$re(/^[-+]\s+/)||!_&&(n.$char("+")||n.$char("-")),!(!y||(v=this.multiplication(),!v));)h.parensInOp=!0,v.parensInOp=!0,x=new a.Operation(y,[x||h,v],_),_=n.isWhitespace(-1);return x||h}},conditions:function(){var h,v,y=n.i,x;if(h=this.condition(),h){for(;!(!n.peek(/^,\s*(not\s*)?\(/)||!n.$char(",")||(v=this.condition(),!v));)x=new a.Condition("or",x||h,v,y);return x||h}},condition:function(){var h,v,y;function x(){return n.$str("or")}if(h=this.conditionAnd(this),!!h){if(v=x(),v)if(y=this.condition(),y)h=new a.Condition(v,h,y);else return;return h}},conditionAnd:function(){var h,v,y;function x(k){return k.negatedCondition()||k.parenthesisCondition()}function _(){return n.$str("and")}if(h=x(this),!!h){if(v=_(),v)if(y=this.conditionAnd(),y)h=new a.Condition(v,h,y);else return;return h}},negatedCondition:function(){if(n.$str("not")){var h=this.parenthesisCondition();return h&&(h.negate=!h.negate),h}},parenthesisCondition:function(){function h(y){var x;if(n.save(),x=y.condition(),!x){n.restore();return}if(!n.$char(")")){n.restore();return}return n.forget(),x}var v;if(n.save(),!n.$str("(")){n.restore();return}if(v=h(this),v)return n.forget(),v;if(v=this.atomicCondition(),!v){n.restore();return}if(!n.$char(")")){n.restore("expected ')' got '"+n.currentChar()+"'");return}return n.forget(),v},atomicCondition:function(){var h=this.entities,v=n.i,y,x,_,k;if(y=this.addition()||h.keyword()||h.quoted(),y)return n.$char(">")?n.$char("=")?k=">=":k=">":n.$char("<")?n.$char("=")?k="<=":k="<":n.$char("=")&&(n.$char(">")?k="=>":n.$char("<")?k="=<":k="="),k?(x=this.addition()||h.keyword()||h.quoted(),x?_=new a.Condition(k,y,x,v,!1):m("expected expression")):_=new a.Condition("=",y,new a.Keyword("true"),v,!1),_},operand:function(){var h=this.entities,v;n.peek(/^-[@\$\(]/)&&(v=n.$char("-"));var y=this.sub()||h.dimension()||h.color()||h.variable()||h.property()||h.call()||h.colorKeyword();return v&&(y.parensInOp=!0,y=new a.Negative(y)),y},expression:function(){var h=[],v,y,x=n.i;do{if(v=this.comment(),v){h.push(v);continue}v=this.addition()||this.entity(),v&&(h.push(v),n.peek(/^\/[\/*]/)||(y=n.$char("/"),y&&h.push(new a.Anonymous(y,x))))}while(v);if(h.length>0)return new a.Expression(h)},property:function(){var h=n.$re(/^(\*?-?[_a-zA-Z0-9-]+)\s*:/);if(h)return h[1]},ruleProperty:function(){var h=[],v=[],y,x;n.save();var _=n.$re(/^([_a-zA-Z0-9-]+)\s*:/);if(_)return h=[new a.Keyword(_[1])],n.forget(),h;function k(A){var M=n.i,L=n.$re(A);if(L)return v.push(M),h.push(L[1])}for(k(/^(\*?)/);k(/^((?:[\w-]+)|(?:[@\$]\{[\w-]+\}))/););if(h.length>1&&k(/^((?:\+_|\+)?)\s*:/)){for(n.forget(),h[0]===""&&(h.shift(),v.shift()),x=0;x=t);i++);this.preProcessors.splice(i,0,{preProcessor:s,priority:t})},c.prototype.addPostProcessor=function(s,t){var i;for(i=0;i=t);i++);this.postProcessors.splice(i,0,{postProcessor:s,priority:t})},c.prototype.addFileManager=function(s){this.fileManagers.push(s)},c.prototype.getPreProcessors=function(){for(var s=[],t=0;t"u"?d("promise"):Promise);var f=this;return new c(function(u,p){i.call(f,e,r,function(n,m){n?p(n):u(m)})})}};return i}},{"./utils":86,promise:void 0}],45:[function(d,C,I){C.exports=function(c,a){var o=function(s){this.options=s};return o.prototype.toCSS=function(s,t,i){var e=new c({contentsIgnoredCharsMap:i.contentsIgnoredChars,rootNode:s,contentsMap:i.contents,sourceMapFilename:this.options.sourceMapFilename,sourceMapURL:this.options.sourceMapURL,outputFilename:this.options.sourceMapOutputFilename,sourceMapBasepath:this.options.sourceMapBasepath,sourceMapRootpath:this.options.sourceMapRootpath,outputSourceFiles:this.options.outputSourceFiles,sourceMapGenerator:this.options.sourceMapGenerator,sourceMapFileInline:this.options.sourceMapFileInline}),r=e.toCSS(t);return this.sourceMap=e.sourceMap,this.sourceMapURL=e.sourceMapURL,this.options.sourceMapInputFilename&&(this.sourceMapInputFilename=e.normalizeFilename(this.options.sourceMapInputFilename)),this.options.sourceMapBasepath!==void 0&&this.sourceMapURL!==void 0&&(this.sourceMapURL=e.removeBasepath(this.sourceMapURL)),r+this.getCSSAppendage()},o.prototype.getCSSAppendage=function(){var s=this.sourceMapURL;if(this.options.sourceMapFileInline){if(this.sourceMap===void 0)return"";s="data:application/json;base64,"+a.encodeBase64(this.sourceMap)}return s?"/*# sourceMappingURL="+s+" */":""},o.prototype.getExternalSourceMap=function(){return this.sourceMap},o.prototype.setExternalSourceMap=function(s){this.sourceMap=s},o.prototype.isInline=function(){return this.options.sourceMapFileInline},o.prototype.getSourceMapURL=function(){return this.sourceMapURL},o.prototype.getOutputFilename=function(){return this.options.sourceMapOutputFilename},o.prototype.getInputFilename=function(){return this.sourceMapInputFilename},o}},{}],46:[function(d,C,I){C.exports=function(c){var a=function(o){this._css=[],this._rootNode=o.rootNode,this._contentsMap=o.contentsMap,this._contentsIgnoredCharsMap=o.contentsIgnoredCharsMap,o.sourceMapFilename&&(this._sourceMapFilename=o.sourceMapFilename.replace(/\\/g,"/")),this._outputFilename=o.outputFilename,this.sourceMapURL=o.sourceMapURL,o.sourceMapBasepath&&(this._sourceMapBasepath=o.sourceMapBasepath.replace(/\\/g,"/")),o.sourceMapRootpath?(this._sourceMapRootpath=o.sourceMapRootpath.replace(/\\/g,"/"),this._sourceMapRootpath.charAt(this._sourceMapRootpath.length-1)!=="/"&&(this._sourceMapRootpath+="/")):this._sourceMapRootpath="",this._outputSourceFiles=o.outputSourceFiles,this._sourceMapGeneratorConstructor=c.getSourceMapGenerator(),this._lineNumber=0,this._column=0};return a.prototype.removeBasepath=function(o){return this._sourceMapBasepath&&o.indexOf(this._sourceMapBasepath)===0&&(o=o.substring(this._sourceMapBasepath.length),(o.charAt(0)==="\\"||o.charAt(0)==="/")&&(o=o.substring(1))),o},a.prototype.normalizeFilename=function(o){return o=o.replace(/\\/g,"/"),o=this.removeBasepath(o),(this._sourceMapRootpath||"")+o},a.prototype.add=function(o,s,t,i){if(o){var e,r,l,f,u;if(s){var p=this._contentsMap[s.filename];this._contentsIgnoredCharsMap[s.filename]&&(t-=this._contentsIgnoredCharsMap[s.filename],t<0&&(t=0),p=p.slice(this._contentsIgnoredCharsMap[s.filename])),p=p.substring(0,t),r=p.split(` `),f=r[r.length-1]}if(e=o.split(` `),l=e[e.length-1],s)if(!i)this._sourceMapGenerator.addMapping({generated:{line:this._lineNumber+1,column:this._column},original:{line:r.length,column:f.length},source:this.normalizeFilename(s.filename)});else for(u=0;u0){var i,e=JSON.stringify(this._sourceMapGenerator.toJSON());this.sourceMapURL?i=this.sourceMapURL:this._sourceMapFilename&&(i=this._sourceMapFilename),this.sourceMapURL=i,this.sourceMap=e}return this._css.join("")},a}},{}],47:[function(d,C,I){var c=d("./contexts"),a=d("./visitors"),o=d("./tree");C.exports=function(s,t){t=t||{};var i,e=t.variables,r=new c.Eval(t);typeof e=="object"&&!Array.isArray(e)&&(e=Object.keys(e).map(function(n){var m=e[n];return m instanceof o.Value||(m instanceof o.Expression||(m=new o.Expression([m])),m=new o.Value([m])),new o.Declaration("@"+n,m,!1,null,0)}),r.frames=[new o.Ruleset(null,e)]);var l=[new a.JoinSelectorVisitor,new a.MarkVisibleSelectorsVisitor(!0),new a.ExtendVisitor,new a.ToCSSVisitor({compress:Boolean(t.compress)})],f,u;if(t.pluginManager)for(u=t.pluginManager.visitor(),u.first();f=u.get();)f.isPreEvalVisitor&&f.run(s);i=s.eval(r);for(var p=0;p"u"?!1:e,this.allowRoot=!0,this.copyVisibilityInfo(r)};a.prototype=new c,a.prototype.type="Anonymous",a.prototype.eval=function(){return new a(this.value,this._index,this._fileInfo,this.mapLines,this.rulesetLike,this.visibilityInfo())},a.prototype.compare=function(o){return o.toCSS&&this.toCSS()===o.toCSS()?0:void 0},a.prototype.isRulesetLike=function(){return this.rulesetLike},a.prototype.genCSS=function(o,s){this.nodeVisible=Boolean(this.value),this.nodeVisible&&s.add(this.value,this._fileInfo,this._index,this.mapLines)},C.exports=a},{"./node":73}],49:[function(d,C,I){var c=d("./node"),a=function(o,s){this.key=o,this.value=s};a.prototype=new c,a.prototype.type="Assignment",a.prototype.accept=function(o){this.value=o.visit(this.value)},a.prototype.eval=function(o){return this.value.eval?new a(this.key,this.value.eval(o)):this},a.prototype.genCSS=function(o,s){s.add(this.key+"="),this.value.genCSS?this.value.genCSS(o,s):s.add(this.value)},C.exports=a},{"./node":73}],50:[function(d,C,I){var c=d("./node"),a=d("./selector"),o=d("./ruleset"),s=d("./anonymous"),t=function(i,e,r,l,f,u,p,n){var m;if(this.name=i,this.value=e instanceof c?e:e&&new s(e),r){for(Array.isArray(r)?this.rules=r:(this.rules=[r],this.rules[0].selectors=new a([],null,null,l,f).createEmptySelectors()),m=0;m.5?g/(2-f-u):g/(f+u),f){case i:p=(e-r)/g+(e="||t==="=<"||t==="<=";case 1:return t===">"||t===">=";default:return!1}}}(this.op,this.lvalue.eval(o),this.rvalue.eval(o));return this.negate?!s:s},C.exports=a},{"./node":73}],57:[function(d,C,I){var c=function(a,o,s){var t="";if(a.dumpLineNumbers&&!a.compress)switch(a.dumpLineNumbers){case"comments":t=c.asComment(o);break;case"mediaquery":t=c.asMediaQuery(o);break;case"all":t=c.asComment(o)+(s||"")+c.asMediaQuery(o);break}return t};c.asComment=function(a){return"/* line "+a.debugInfo.lineNumber+", "+a.debugInfo.fileName+` */ `},c.asMediaQuery=function(a){var o=a.debugInfo.fileName;return/^[a-z]+:\/\//i.test(o)||(o="file://"+o),"@media -sass-debug-info{filename{font-family:"+o.replace(/([.:\/\\])/g,function(s){return s=="\\"&&(s="/"),"\\"+s})+"}line{font-family:\\00003"+a.debugInfo.lineNumber+`}} `},C.exports=c},{}],58:[function(d,C,I){var c=d("./node"),a=d("./value"),o=d("./keyword"),s=d("./anonymous"),t=function(e,r,l,f,u,p,n,m){this.name=e,this.value=r instanceof c?r:new a([r?new s(r):null]),this.important=l?" "+l.trim():"",this.merge=f,this._index=u,this._fileInfo=p,this.inline=n||!1,this.variable=m!==void 0?m:e.charAt&&e.charAt(0)==="@",this.allowRoot=!0,this.setParent(this.value,this)};function i(e,r){var l="",f,u=r.length,p={add:function(n){l+=n}};for(f=0;f-1e-6&&(l=r.toFixed(20).replace(/0+$/,"")),i&&i.compress){if(r===0&&this.unit.isLength()){e.add(l);return}r>0&&r<1&&(l=l.substr(1))}e.add(l),this.unit.genCSS(i,e)},t.prototype.operate=function(i,e,r){var l=this._operate(i,e,this.value,r.value),f=this.unit.clone();if(e==="+"||e==="-"){if(f.numerator.length===0&&f.denominator.length===0)f=r.unit.clone(),this.unit.backupUnit&&(f.backupUnit=this.unit.backupUnit);else if(!(r.unit.numerator.length===0&&f.denominator.length===0)){if(r=r.convertTo(this.unit.usedUnits()),i.strictUnits&&r.unit.toString()!==f.toString())throw new Error("Incompatible units. Change the units or use the unit function. Bad units: '"+f.toString()+"' and '"+r.unit.toString()+"'.");l=this._operate(i,e,this.value,r.value)}}else e==="*"?(f.numerator=f.numerator.concat(r.unit.numerator).sort(),f.denominator=f.denominator.concat(r.unit.denominator).sort(),f.cancel()):e==="/"&&(f.numerator=f.numerator.concat(r.unit.denominator).sort(),f.denominator=f.denominator.concat(r.unit.numerator).sort(),f.cancel());return new t(l,f)},t.prototype.compare=function(i){var e,r;if(i instanceof t){if(this.unit.isEmpty()||i.unit.isEmpty())e=this,r=i;else if(e=this.unify(),r=i.unify(),e.unit.compare(r.unit)!==0)return;return c.numericCompare(e.value,r.value)}},t.prototype.unify=function(){return this.convertTo({length:"px",duration:"s",angle:"rad"})},t.prototype.convertTo=function(i){var e=this.value,r=this.unit.clone(),l,f,u,p,n={},m;if(typeof i=="string"){for(l in a)a[l].hasOwnProperty(i)&&(n={},n[l]=i);i=n}m=function(g,w){return u.hasOwnProperty(g)?(w?e=e/(u[g]/u[p]):e=e*(u[g]/u[p]),p):g};for(f in i)i.hasOwnProperty(f)&&(p=i[f],u=a[f],r.map(m));return r.cancel(),new t(e,r)},C.exports=t},{"../data/unit-conversions":15,"./color":53,"./node":73,"./unit":81}],61:[function(d,C,I){var c=d("./node"),a=d("./paren"),o=d("./combinator"),s=function(t,i,e,r,l){this.combinator=t instanceof o?t:new o(t),typeof i=="string"?this.value=i.trim():i?this.value=i:this.value="",this._index=e,this._fileInfo=r,this.copyVisibilityInfo(l),this.setParent(this.combinator,this)};s.prototype=new c,s.prototype.type="Element",s.prototype.accept=function(t){var i=this.value;this.combinator=t.visit(this.combinator),typeof i=="object"&&(this.value=t.visit(i))},s.prototype.eval=function(t){return new s(this.combinator,this.value.eval?this.value.eval(t):this.value,this.getIndex(),this.fileInfo(),this.visibilityInfo())},s.prototype.clone=function(){return new s(this.combinator,this.value,this.getIndex(),this.fileInfo(),this.visibilityInfo())},s.prototype.genCSS=function(t,i){i.add(this.toCSS(t),this.fileInfo(),this.getIndex())},s.prototype.toCSS=function(t){t=t||{};var i=this.value,e=t.firstSelector;return i instanceof a&&(t.firstSelector=!0),i=i.toCSS?i.toCSS(t):i,t.firstSelector=e,i===""&&this.combinator.value.charAt(0)==="&"?"":this.combinator.toCSS(t)+i},C.exports=s},{"./combinator":54,"./node":73,"./paren":75}],62:[function(d,C,I){var c=d("./node"),a=d("./paren"),o=d("./comment"),s=function(t){if(this.value=t,!t)throw new Error("Expression requires an array parameter")};s.prototype=new c,s.prototype.type="Expression",s.prototype.accept=function(t){this.value=t.visitArray(this.value)},s.prototype.eval=function(t){var i,e=this.parens&&!this.parensInOp,r=!1;return e&&t.inParenthesis(),this.value.length>1?i=new s(this.value.map(function(l){return l.eval(t)})):this.value.length===1?(this.value[0].parens&&!this.value[0].parensInOp&&(r=!0),i=this.value[0].eval(t)):i=this,e&&t.outOfParenthesis(),this.parens&&this.parensInOp&&!t.isMathOn()&&!r&&(i=new a(i)),i},s.prototype.genCSS=function(t,i){for(var e=0;e0&&e.length&&e[0].combinator.value===""&&(e[0].combinator.value=" "),t=t.concat(s[i].elements);this.selfSelectors=[new a(t)],this.selfSelectors[0].copyVisibilityInfo(this.visibilityInfo())},C.exports=o},{"./node":73,"./selector":79}],64:[function(d,C,I){var c=d("./node"),a=d("./media"),o=d("./url"),s=d("./quoted"),t=d("./ruleset"),i=d("./anonymous"),e=d("../utils"),r=d("../less-error"),l=function(f,u,p,n,m,g){if(this.options=p,this._index=n,this._fileInfo=m,this.path=f,this.features=u,this.allowRoot=!0,this.options.less!==void 0||this.options.inline)this.css=!this.options.less||this.options.inline;else{var w=this.getPath();w&&/[#\.\&\?]css([\?;].*)?$/.test(w)&&(this.css=!0)}this.copyVisibilityInfo(g),this.setParent(this.features,this),this.setParent(this.path,this)};l.prototype=new c,l.prototype.type="Import",l.prototype.accept=function(f){this.features&&(this.features=f.visit(this.features)),this.path=f.visit(this.path),!this.options.isPlugin&&!this.options.inline&&this.root&&(this.root=f.visit(this.root))},l.prototype.genCSS=function(f,u){this.css&&this.path._fileInfo.reference===void 0&&(u.add("@import ",this._fileInfo,this._index),this.path.genCSS(f,u),this.features&&(u.add(" "),this.features.genCSS(f,u)),u.add(";"))},l.prototype.getPath=function(){return this.path instanceof o?this.path.value.value:this.path.value},l.prototype.isVariableImport=function(){var f=this.path;return f instanceof o&&(f=f.value),f instanceof s?f.containsVariables():!0},l.prototype.evalForImport=function(f){var u=this.path;return u instanceof o&&(u=u.value),new l(u.eval(f),this.features,this.options,this._index,this._fileInfo,this.visibilityInfo())},l.prototype.evalPath=function(f){var u=this.path.eval(f),p=this._fileInfo&&this._fileInfo.rootpath;if(!(u instanceof o)){if(p){var n=u.value;n&&f.isPathRelative(n)&&(u.value=p+n)}u.value=f.normalizePath(u.value)}return u},l.prototype.eval=function(f){var u=this.doEval(f);return(this.options.reference||this.blocksVisibility())&&(u.length||u.length===0?u.forEach(function(p){p.addVisibilityBlock()}):u.addVisibilityBlock()),u},l.prototype.doEval=function(f){var u,p,n=this.features&&this.features.eval(f);if(this.options.isPlugin){if(this.root&&this.root.eval)try{this.root.eval(f)}catch(w){throw w.message="Plugin error during evaluation",new r(w,this.root.imports,this.root.filename)}return p=f.frames[0]&&f.frames[0].functionRegistry,p&&this.root&&this.root.functions&&p.addMultiple(this.root.functions),[]}if(this.skip&&(typeof this.skip=="function"&&(this.skip=this.skip()),this.skip))return[];if(this.options.inline){var m=new i(this.root,0,{filename:this.importedFilename,reference:this.path._fileInfo&&this.path._fileInfo.reference},!0,!0);return this.features?new a([m],this.features.value):[m]}else if(this.css){var g=new l(this.evalPath(f),n,this.options,this._index);if(!g.css&&this.error)throw this.error;return g}else return u=new t(null,e.copyArray(this.root.rules)),u.evalImports(f),this.features?new a(u.rules,this.features.value):u.rules},C.exports=l},{"../less-error":36,"../utils":86,"./anonymous":48,"./media":69,"./node":73,"./quoted":77,"./ruleset":78,"./url":82}],65:[function(d,C,I){var c=Object.create(null);c.Node=d("./node"),c.Color=d("./color"),c.AtRule=d("./atrule"),c.DetachedRuleset=d("./detached-ruleset"),c.Operation=d("./operation"),c.Dimension=d("./dimension"),c.Unit=d("./unit"),c.Keyword=d("./keyword"),c.Variable=d("./variable"),c.Property=d("./property"),c.Ruleset=d("./ruleset"),c.Element=d("./element"),c.Attribute=d("./attribute"),c.Combinator=d("./combinator"),c.Selector=d("./selector"),c.Quoted=d("./quoted"),c.Expression=d("./expression"),c.Declaration=d("./declaration"),c.Call=d("./call"),c.URL=d("./url"),c.Import=d("./import"),c.mixin={Call:d("./mixin-call"),Definition:d("./mixin-definition")},c.Comment=d("./comment"),c.Anonymous=d("./anonymous"),c.Value=d("./value"),c.JavaScript=d("./javascript"),c.Assignment=d("./assignment"),c.Condition=d("./condition"),c.Paren=d("./paren"),c.Media=d("./media"),c.UnicodeDescriptor=d("./unicode-descriptor"),c.Negative=d("./negative"),c.Extend=d("./extend"),c.VariableCall=d("./variable-call"),C.exports=c},{"./anonymous":48,"./assignment":49,"./atrule":50,"./attribute":51,"./call":52,"./color":53,"./combinator":54,"./comment":55,"./condition":56,"./declaration":58,"./detached-ruleset":59,"./dimension":60,"./element":61,"./expression":62,"./extend":63,"./import":64,"./javascript":66,"./keyword":68,"./media":69,"./mixin-call":70,"./mixin-definition":71,"./negative":72,"./node":73,"./operation":74,"./paren":75,"./property":76,"./quoted":77,"./ruleset":78,"./selector":79,"./unicode-descriptor":80,"./unit":81,"./url":82,"./value":83,"./variable":85,"./variable-call":84}],66:[function(d,C,I){var c=d("./js-eval-node"),a=d("./dimension"),o=d("./quoted"),s=d("./anonymous"),t=function(i,e,r,l){this.escaped=e,this.expression=i,this._index=r,this._fileInfo=l};t.prototype=new c,t.prototype.type="JavaScript",t.prototype.eval=function(i){var e=this.evaluateJavaScript(this.expression,i);return typeof e=="number"?new a(e):typeof e=="string"?new o('"'+e+'"',e,this.escaped,this._index):Array.isArray(e)?new s(e.join(", ")):new s(e)},C.exports=t},{"./anonymous":48,"./dimension":60,"./js-eval-node":67,"./quoted":77}],67:[function(d,C,I){var c=d("./node"),a=d("./variable"),o=function(){};o.prototype=new c,o.prototype.evaluateJavaScript=function(s,t){var i,e=this,r={};if(!t.javascriptEnabled)throw{message:"Inline JavaScript is not enabled. Is it set in your options?",filename:this.fileInfo().filename,index:this.getIndex()};s=s.replace(/@\{([\w-]+)\}/g,function(u,p){return e.jsify(new a("@"+p,e.getIndex(),e.fileInfo()).eval(t))});try{s=new Function("return ("+s+")")}catch(u){throw{message:"JavaScript evaluation error: "+u.message+" from `"+s+"`",filename:this.fileInfo().filename,index:this.getIndex()}}var l=t.frames[0].variables();for(var f in l)l.hasOwnProperty(f)&&(r[f.slice(1)]={value:l[f].value,toJS:function(){return this.value.eval(t).toCSS()}});try{i=s.call(r)}catch(u){throw{message:"JavaScript evaluation error: '"+u.name+": "+u.message.replace(/["]/g,"'")+"'",filename:this.fileInfo().filename,index:this.getIndex()}}return i},o.prototype.jsify=function(s){return Array.isArray(s.value)&&s.value.length>1?"["+s.value.map(function(t){return t.toCSS()}).join(", ")+"]":s.toCSS()},C.exports=o},{"./node":73,"./variable":85}],68:[function(d,C,I){var c=d("./node"),a=function(o){this.value=o};a.prototype=new c,a.prototype.type="Keyword",a.prototype.genCSS=function(o,s){if(this.value==="%")throw{type:"Syntax",message:"Invalid % without number"};s.add(this.value)},a.True=new a("true"),a.False=new a("false"),C.exports=a},{"./node":73}],69:[function(d,C,I){var c=d("./ruleset"),a=d("./value"),o=d("./selector"),s=d("./anonymous"),t=d("./expression"),i=d("./atrule"),e=d("../utils"),r=function(l,f,u,p,n){this._index=u,this._fileInfo=p;var m=new o([],null,null,this._index,this._fileInfo).createEmptySelectors();this.features=new a(f),this.rules=[new c(m,l)],this.rules[0].allowImports=!0,this.copyVisibilityInfo(n),this.allowRoot=!0,this.setParent(m,this),this.setParent(this.features,this),this.setParent(this.rules,this)};r.prototype=new i,r.prototype.type="Media",r.prototype.isRulesetLike=function(){return!0},r.prototype.accept=function(l){this.features&&(this.features=l.visit(this.features)),this.rules&&(this.rules=l.visitArray(this.rules))},r.prototype.genCSS=function(l,f){f.add("@media ",this._fileInfo,this._index),this.features.genCSS(l,f),this.outputRuleset(l,f,this.rules)},r.prototype.eval=function(l){l.mediaBlocks||(l.mediaBlocks=[],l.mediaPath=[]);var f=new r(null,[],this._index,this._fileInfo,this.visibilityInfo());return this.debugInfo&&(this.rules[0].debugInfo=this.debugInfo,f.debugInfo=this.debugInfo),f.features=this.features.eval(l),l.mediaPath.push(f),l.mediaBlocks.push(f),this.rules[0].functionRegistry=l.frames[0].functionRegistry.inherit(),l.frames.unshift(this.rules[0]),f.rules=[this.rules[0].eval(l)],l.frames.shift(),l.mediaPath.pop(),l.mediaPath.length===0?f.evalTop(l):f.evalNested(l)},r.prototype.evalTop=function(l){var f=this;if(l.mediaBlocks.length>1){var u=new o([],null,null,this.getIndex(),this.fileInfo()).createEmptySelectors();f=new c(u,l.mediaBlocks),f.multiMedia=!0,f.copyVisibilityInfo(this.visibilityInfo()),this.setParent(f,this)}return delete l.mediaBlocks,delete l.mediaPath,f},r.prototype.evalNested=function(l){var f,u,p=l.mediaPath.concat([this]);for(f=0;f0;f--)n.splice(f,0,new s("and"));return new t(n)})),this.setParent(this.features,this),new c([],[])},r.prototype.permute=function(l){if(l.length===0)return[];if(l.length===1)return l[0];for(var f=[],u=this.permute(l.slice(1)),p=0;p0){for(h=!0,w=0;w0)_=L;else if(_=M,O[M]+O[L]>1)throw{type:"Runtime",message:"Ambiguous use of `default()` found when matching for `"+this.format(f)+"`",index:this.getIndex(),filename:this.fileInfo().filename};for(w=0;wthis.params.length)return!1;p=Math.min(m,this.arity);for(var g=0;go?1:void 0},c.prototype.blocksVisibility=function(){return this.visibilityBlocks==null&&(this.visibilityBlocks=0),this.visibilityBlocks!==0},c.prototype.addVisibilityBlock=function(){this.visibilityBlocks==null&&(this.visibilityBlocks=0),this.visibilityBlocks=this.visibilityBlocks+1},c.prototype.removeVisibilityBlock=function(){this.visibilityBlocks==null&&(this.visibilityBlocks=0),this.visibilityBlocks=this.visibilityBlocks-1},c.prototype.ensureVisibility=function(){this.nodeVisible=!0},c.prototype.ensureInvisibility=function(){this.nodeVisible=!1},c.prototype.isVisible=function(){return this.nodeVisible},c.prototype.visibilityInfo=function(){return{visibilityBlocks:this.visibilityBlocks,nodeVisible:this.nodeVisible}},c.prototype.copyVisibilityInfo=function(a){a&&(this.visibilityBlocks=a.visibilityBlocks,this.nodeVisible=a.nodeVisible)},C.exports=c},{}],74:[function(d,C,I){var c=d("./node"),a=d("./color"),o=d("./dimension"),s=function(t,i,e){this.op=t.trim(),this.operands=i,this.isSpaced=e};s.prototype=new c,s.prototype.type="Operation",s.prototype.accept=function(t){this.operands=t.visit(this.operands)},s.prototype.eval=function(t){var i=this.operands[0].eval(t),e=this.operands[1].eval(t);if(t.isMathOn()){if(i instanceof o&&e instanceof a&&(i=i.toColor()),e instanceof o&&i instanceof a&&(e=e.toColor()),!i.operate)throw{type:"Operation",message:"Operation on an invalid type"};return i.operate(t,this.op,e)}else return new s(this.op,[i,e],this.isSpaced)},s.prototype.genCSS=function(t,i){this.operands[0].genCSS(t,i),this.isSpaced&&i.add(" "),i.add(this.op),this.isSpaced&&i.add(" "),this.operands[1].genCSS(t,i)},C.exports=s},{"./color":53,"./dimension":60,"./node":73}],75:[function(d,C,I){var c=d("./node"),a=function(o){this.value=o};a.prototype=new c,a.prototype.type="Paren",a.prototype.genCSS=function(o,s){s.add("("),this.value.genCSS(o,s),s.add(")")},a.prototype.eval=function(o){return new a(this.value.eval(o))},C.exports=a},{"./node":73}],76:[function(d,C,I){var c=d("./node"),a=d("./declaration"),o=function(s,t,i){this.name=s,this._index=t,this._fileInfo=i};o.prototype=new c,o.prototype.type="Property",o.prototype.eval=function(s){var t,i=this.name,e=s.pluginManager.less.visitors.ToCSSVisitor.prototype._mergeRules;if(this.evaluating)throw{type:"Name",message:"Recursive property reference for "+i,filename:this.fileInfo().filename,index:this.getIndex()};if(this.evaluating=!0,t=this.find(s.frames,function(r){var l,f=r.property(i);if(f){for(var u=0;uh){if(!b||b(x)){v=x.find(new i(g.elements.slice(h)),w,b);for(var k=0;k0&&w.add(M),g.firstSelector=!0,_[0].genCSS(g,w),g.firstSelector=!1,S=1;S0?($=n.copyArray(E),U=$.pop(),B=F.createDerived(n.copyArray(U.elements))):B=F.createDerived([]),R.length>0){var T=P.combinator,N=R[0].elements[0];T.emptyOrWhitespace&&!N.combinator.emptyOrWhitespace&&(T=N.combinator),B.elements.push(new e(T,N.value,P._index,P._fileInfo)),B.elements=B.elements.concat(R[0].elements.slice(1))}if(B.elements.length!==0&&$.push(B),R.length>1){var H=R.slice(1);H=H.map(function(j){return j.createDerived(j.elements,[])}),$=$.concat(H)}return $}function y(E,R,P,F,$){var U;for(U=0;U0?F[F.length-1]=F[F.length-1].createDerived(F[F.length-1].elements.concat(E)):F.push(new i(E))}}function _(E,R,P){var F,$,U,B,T,N,H,j,G=!1,J,Z;function he(oe){var Y;return!(oe.value instanceof t)||(Y=oe.value.value,!(Y instanceof i))?null:Y}for(B=[],T=[[]],F=0;j=P.elements[F];F++)if(j.value!=="&"){var ne=he(j);if(ne!=null){x(B,T);var X=[],re,se=[];for(re=_(X,R,ne),G=G||re,U=0;U0&&H[0].elements.push(new e(j.combinator,"",j._index,j._fileInfo)),N.push(H);else for(U=0;U0&&(E.push(T[F]),Z=T[F][J-1],T[F][J-1]=Z.createDerived(Z.elements,P.extendList));return G}function k(E,R){var P=R.createDerived(R.elements,R.extendList,R.evaldCondition);return P.copyVisibilityInfo(E),P}var A,M,L;if(M=[],L=_(M,w,b),!L)if(w.length>0)for(M=[],A=0;A0)for(e=0;e=0&&a.charAt(o)!==` `;)t++;return typeof c=="number"&&(s=(a.slice(0,c).match(/\n/g)||"").length),{line:s,column:t}},copyArray:function(c){var a,o=c.length,s=new Array(o);for(a=0;a=0)&&(w=[S.selfSelectors[0]],p=g.findMatch(b,w),p.length&&(b.hasFoundMatches=!0,b.selfSelectors.forEach(function(x){var _=S.visibilityInfo();m=g.extendSelector(p,w,x,b.isVisible()),h=new c.Extend(S.selector,S.option,0,S.fileInfo(),_),h.selfSelectors=m,m[m.length-1].extendList=[h],n.push(h),h.ruleset=S.ruleset,h.parent_ids=h.parent_ids.concat(S.parent_ids,b.parent_ids),S.firstExtendOnThisSelectorPath&&(h.firstExtendOnThisSelectorPath=!0,S.ruleset.paths.push(m))})));if(n.length){if(this.extendChainCount++,l>100){var v="{unable to calculate}",y="{unable to calculate}";try{v=n[0].selfSelectors[0].toCSS(),y=n[0].selector.toCSS()}catch{}throw{message:"extend circular reference detected. One of the circular extends is currently:"+v+":extend("+y+")"}}return n.concat(g.doExtendChaining(n,r,l+1))}else return n},visitDeclaration:function(e,r){r.visitDeeper=!1},visitMixinDefinition:function(e,r){r.visitDeeper=!1},visitSelector:function(e,r){r.visitDeeper=!1},visitRuleset:function(e,r){if(!e.root){var l,f,u,p=this.allExtendsStack[this.allExtendsStack.length-1],n=[],m=this,g;for(u=0;u0&&w[S.matched].combinator.value!==n?S=null:S.matched++,S&&(S.finished=S.matched===w.length,S.finished&&!e.allowAfter&&(u+1u&&p>0&&(n[n.length-1].elements=n[n.length-1].elements.concat(r[u].elements.slice(p)),p=0,u++),S=g.elements.slice(p,b.index).concat([w]).concat(l.elements.slice(1)),u===b.pathIndex&&m>0?n[n.length-1].elements=n[n.length-1].elements.concat(S):(n=n.concat(r.slice(u,b.pathIndex)),n.push(new c.Selector(S))),u=b.endPathIndex,p=b.endPathElementIndex,p>=r[u].elements.length&&(p=0,u++);return u0&&(n[n.length-1].elements=n[n.length-1].elements.concat(r[u].elements.slice(p)),u++),n=n.concat(r.slice(u,r.length)),n=n.map(function(h){var v=h.createDerived(h.elements);return f?v.ensureVisibility():v.ensureInvisibility(),v}),n},visitMedia:function(e,r){var l=e.allExtends.concat(this.allExtendsStack[this.allExtendsStack.length-1]);l=l.concat(this.doExtendChaining(l,e.allExtends)),this.allExtendsStack.push(l)},visitMediaOut:function(e){var r=this.allExtendsStack.length-1;this.allExtendsStack.length=r},visitAtRule:function(e,r){var l=e.allExtends.concat(this.allExtendsStack[this.allExtendsStack.length-1]);l=l.concat(this.doExtendChaining(l,e.allExtends)),this.allExtendsStack.push(l)},visitAtRuleOut:function(e){var r=this.allExtendsStack.length-1;this.allExtendsStack.length=r}},C.exports=i},{"../logger":37,"../tree":65,"../utils":86,"./visitor":94}],88:[function(d,C,I){function c(a){this.imports=[],this.variableImports=[],this._onSequencerEmpty=a,this._currentDepth=0}c.prototype.addImport=function(a){var o=this,s={callback:a,args:null,isReady:!1};return this.imports.push(s),function(){s.args=Array.prototype.slice.call(arguments,0),s.isReady=!0,o.tryRun()}},c.prototype.addVariableImport=function(a){this.variableImports.push(a)},c.prototype.tryRun=function(){this._currentDepth++;try{for(;;){for(;this.imports.length>0;){var a=this.imports[0];if(!a.isReady)return;this.imports=this.imports.slice(1),a.callback.apply(null,a.args)}if(this.variableImports.length===0)break;var o=this.variableImports[0];this.variableImports=this.variableImports.slice(1),o()}}finally{this._currentDepth--}this._currentDepth===0&&this._onSequencerEmpty&&this._onSequencerEmpty()},C.exports=c},{}],89:[function(d,C,I){var c=d("../contexts"),a=d("./visitor"),o=d("./import-sequencer"),s=d("../utils"),t=function(i,e){this._visitor=new a(this),this._importer=i,this._finish=e,this.context=new c.Eval,this.importCount=0,this.onceFileDetectionMap={},this.recursionDetector={},this._sequencer=new o(this._onSequencerEmpty.bind(this))};t.prototype={isReplacing:!1,run:function(i){try{this._visitor.visit(i)}catch(e){this.error=e}this.isFinished=!0,this._sequencer.tryRun()},_onSequencerEmpty:function(){this.isFinished&&this._finish(this.error)},visitImport:function(i,e){var r=i.options.inline;if(!i.css||r){var l=new c.Eval(this.context,s.copyArray(this.context.frames)),f=l.frames[0];this.importCount++,i.isVariableImport()?this._sequencer.addVariableImport(this.processImportNode.bind(this,i,l,f)):this.processImportNode(i,l,f)}e.visitDeeper=!1},processImportNode:function(i,e,r){var l,f=i.options.inline;try{l=i.evalForImport(e)}catch(g){g.filename||(g.index=i.getIndex(),g.filename=i.fileInfo().filename),i.css=!0,i.error=g}if(l&&(!l.css||f)){l.options.multiple&&(e.importMultiple=!0);for(var u=l.css===void 0,p=0;p0:!1},resolveVisibility:function(t,i){if(!t.blocksVisibility())return this.isEmpty(t)&&!this.containsSilentNonBlockedChild(i)?void 0:t;var e=t.rules[0];if(this.keepOnlyVisibleChilds(e),!this.isEmpty(e))return t.ensureVisibility(),t.removeVisibilityBlock(),t},isVisibleRuleset:function(t){return t.firstRoot?!0:!(this.isEmpty(t)||!t.root&&!this.hasVisibleSelector(t))}};var s=function(t){this._visitor=new a(this),this._context=t,this.utils=new o(t)};s.prototype={isReplacing:!0,run:function(t){return this._visitor.visit(t)},visitDeclaration:function(t,i){if(!(t.blocksVisibility()||t.variable))return t},visitMixinDefinition:function(t,i){t.frames=[]},visitExtend:function(t,i){},visitComment:function(t,i){if(!(t.blocksVisibility()||t.isSilent(this._context)))return t},visitMedia:function(t,i){var e=t.rules[0].rules;return t.accept(this._visitor),i.visitDeeper=!1,this.utils.resolveVisibility(t,e)},visitImport:function(t,i){if(!t.blocksVisibility())return t},visitAtRule:function(t,i){return t.rules&&t.rules.length?this.visitAtRuleWithBody(t,i):this.visitAtRuleWithoutBody(t,i)},visitAnonymous:function(t,i){if(!t.blocksVisibility())return t.accept(this._visitor),t},visitAtRuleWithBody:function(t,i){function e(f){var u=f.rules;return u.length===1&&(!u[0].paths||u[0].paths.length===0)}function r(f){var u=f.rules;return e(f)?u[0].rules:u}var l=r(t);return t.accept(this._visitor),i.visitDeeper=!1,this.utils.isEmpty(t)||this._mergeRules(t.rules[0].rules),this.utils.resolveVisibility(t,l)},visitAtRuleWithoutBody:function(t,i){if(!t.blocksVisibility()){if(t.name==="@charset"){if(this.charset){if(t.debugInfo){var e=new c.Comment("/* "+t.toCSS(this._context).replace(/\n/g,"")+` */ `);return e.debugInfo=t.debugInfo,this._visitor.visit(e)}return}this.charset=!0}return t}},checkValidNodes:function(t,i){if(t)for(var e=0;e0?t.accept(this._visitor):t.rules=null,i.visitDeeper=!1}return t.rules&&(this._mergeRules(t.rules),this._removeDuplicateRules(t.rules)),this.utils.isVisibleRuleset(t)&&(t.ensureVisibility(),r.splice(0,0,t)),r.length===1?r[0]:r},_compileRulesetPaths:function(t){t.paths&&(t.paths=t.paths.filter(function(i){var e;for(i[0].elements[0].combinator.value===" "&&(i[0].elements[0].combinator=new c.Combinator("")),e=0;e=0;l--)if(r=t[l],r instanceof c.Declaration)if(!i[r.name])i[r.name]=r;else{e=i[r.name],e instanceof c.Declaration&&(e=i[r.name]=[i[r.name].toCSS(this._context)]);var f=r.toCSS(this._context);e.indexOf(f)!==-1?t.splice(l,1):e.push(f)}}},_mergeRules:function(t){if(t){for(var i={},e=[],r=0;r0){var p=u[0],n=[],m=[new c.Expression(n)];u.forEach(function(g){g.merge==="+"&&n.length>0&&m.push(new c.Expression(n=[])),n.push(g.value),p.important=p.important||g.important}),p.value=new c.Value(m)}})}}},C.exports=s},{"../tree":65,"./visitor":94}],94:[function(d,C,I){var c=d("../tree"),a={visitDeeper:!0},o=!1;function s(e){return e}function t(e,r){var l,f;for(l in e)switch(f=e[l],typeof f){case"function":f.prototype&&f.prototype.type&&(f.prototype.typeIndex=r++);break;case"object":r=t(f,r);break}return r}var i=function(e){this._implementation=e,this._visitFnCache=[],o||(t(c,1),o=!0)};i.prototype={visit:function(e){if(!e)return e;var r=e.typeIndex;if(!r)return e;var l=this._visitFnCache,f=this._implementation,u=r<<1,p=u|1,n=l[u],m=l[p],g=a,w;if(g.visitDeeper=!0,n||(w="visit"+e.type,n=f[w]||s,m=f[w+"Out"]||s,l[u]=n,l[p]=m),n!==s){var b=n.call(f,e,g);f.isReplacing&&(e=b)}return g.visitDeeper&&e&&e.accept&&e.accept(this),m!=s&&m.call(f,e),e},visitArray:function(e,r){if(!e)return e;var l=e.length,f;if(r||!this._implementation.isReplacing){for(f=0;fi){for(var n=0,m=o.length-t;n"u"&&(Promise=d("./lib/core.js"),d("./lib/es6-extensions.js")),d("./polyfill-done.js")},{"./lib/core.js":97,"./lib/es6-extensions.js":98,"./polyfill-done.js":99,asap:95}]},{},[2])(2)})})(Ve);const Be=te,Ue=Ae(),z=Me(De);z.use(Be);z.use(Ee);z.use(W,ue);z.use(Ue);z.mount("#app");z.config.globalProperties.$axios=ue});export default Te();