@vue/cli-ui-addon-webpack
Advanced tools
Comparing version 5.0.7 to 5.0.8
@@ -1,2 +0,2 @@ | ||
(function(){var t={144:function(t,e,s){"use strict";s.r(e);var a=s(558),r=s.n(a),i=s(361),o=s.n(i),n=s(545),l=o()(r());l.i(n.Z),l.push([t.id,"",""]),e["default"]=l},545:function(t,e,s){"use strict";var a=s(558),r=s.n(a),i=s(361),o=s.n(i),n=o()(r());n.push([t.id,".vue-progress-path{display:inline-block}.vue-progress-path path{fill:none;stroke-width:6;transition:stroke-dashoffset .3s ease-in-out}.vue-progress-path .background{stroke:#ddd}.vue-progress-path .progress{stroke:#40b883}.vue-progress-path.indeterminate path{transition:none}",""]),e["Z"]=n},963:function(t,e,s){"use strict";s.r(e);var a=s(558),r=s.n(a),i=s(361),o=s.n(i),n=o()(r());n.push([t.id,".headers[data-v-9b630720]{display:grid;grid-template-columns:5fr repeat(4,1fr) 16px;grid-gap:16px;font-family:Roboto Mono,monospace;font-size:12px;text-align:right;margin-bottom:16px}.headers .size-field[data-v-9b630720]:first-letter{text-transform:uppercase}",""]),e["default"]=n},958:function(t,e,s){"use strict";s.r(e);var a=s(558),r=s.n(a),i=s(361),o=s.n(i),n=o()(r());n.push([t.id,".asset-list-item .content[data-v-6cde651f]{display:grid;grid-template-columns:5fr repeat(4,1fr) 16px;grid-gap:16px;font-family:Roboto Mono,monospace;font-size:12px}.asset-list-item .info[data-v-6cde651f]{display:flex;align-items:center}.asset-list-item .name[data-v-6cde651f]{word-break:break-all}.asset-list-item .size[data-v-6cde651f],.asset-list-item .speed[data-v-6cde651f]{color:#42b983;justify-content:flex-end}.asset-list-item .icon[data-v-6cde651f] svg{fill:#42b983}.asset-list-item.big[data-v-6cde651f]{font-weight:700}.asset-list-item.secondary[data-v-6cde651f]{opacity:.5}",""]),e["default"]=n},148:function(t,e,s){"use strict";s.r(e);var a=s(558),r=s.n(a),i=s(361),o=s.n(i),n=o()(r());n.push([t.id,'.build-progress .content[data-v-2196a8bb]{display:flex;flex-direction:column;align-items:center;justify-content:center;position:relative;height:100%}.build-progress .content>*[data-v-2196a8bb]{flex:auto 0 0}.build-progress .content>>>>*[data-v-2196a8bb]{margin-bottom:16px}.build-progress .content[data-v-2196a8bb]>>>>:last-child{margin-bottom:0}.build-progress .vue-progress-path[data-v-2196a8bb] .background{stroke:rgba(44,62,80,.1)}.vue-ui-dark-mode .build-progress .vue-progress-path[data-v-2196a8bb] .background{stroke:#2c3e50}.build-progress .operations[data-v-2196a8bb]{color:#2c3e50;padding-bottom:12px;text-align:center}.vue-ui-dark-mode .build-progress .operations[data-v-2196a8bb]{color:#9bb2c8}.build-progress .operations[data-v-2196a8bb]:first-letter{text-transform:uppercase}.build-progress .progress-wrapper[data-v-2196a8bb]{width:178px;height:178px;position:relative}.build-progress .progress[data-v-2196a8bb],.build-progress .progress-bar-wrapper[data-v-2196a8bb],.build-progress .status-icon[data-v-2196a8bb]{display:flex;flex-direction:row;align-items:center;justify-content:center;flex:none;position:absolute;top:0;left:0;width:100%;height:100%}.build-progress .progress-bar-wrapper>*[data-v-2196a8bb],.build-progress .progress>*[data-v-2196a8bb],.build-progress .status-icon>*[data-v-2196a8bb]{flex:auto 0 0}.build-progress .progress-bar.disable-animation[data-v-2196a8bb] path{transition:none}.build-progress .progress-bar.mode-build-modern[data-v-2196a8bb] .progress{stroke:#03c2e6}.build-progress .progress-animation[data-v-2196a8bb]{display:grid;grid-template-columns:repeat(2,12px);grid-template-rows:repeat(2,12px);grid-template-areas:"z1 z4" "z2 z3";grid-gap:12px}.build-progress .progress-animation .animation[data-v-2196a8bb]{width:100%;height:100%;border-radius:50%;background:rgba(0,0,0,.1);transition:background .15s}.vue-ui-dark-mode .build-progress .progress-animation .animation[data-v-2196a8bb]{background:#2c3e50}.build-progress .progress-animation .animation[data-v-2196a8bb]:first-child{grid-area:z1}.build-progress .progress-animation .animation[data-v-2196a8bb]:nth-child(2){grid-area:z2}.build-progress .progress-animation .animation[data-v-2196a8bb]:nth-child(3){grid-area:z3}.build-progress .progress-animation .animation[data-v-2196a8bb]:nth-child(4){grid-area:z4}.build-progress .progress-animation.active .animation[data-v-2196a8bb]{background:#42b983;-webkit-animation:progress-data-v-2196a8bb 1s infinite;animation:progress-data-v-2196a8bb 1s infinite}.build-progress .status-icon .wrapper[data-v-2196a8bb]{position:relative}.build-progress .status-icon .wrapper .vue-ui-icon[data-v-2196a8bb]{width:64px;height:64px;position:relative;z-index:2;display:block}.build-progress .status-icon .wrapper[data-v-2196a8bb]:after,.build-progress .status-icon .wrapper[data-v-2196a8bb]:before{display:block;content:"";border-radius:50%;position:absolute}.build-progress .status-icon .wrapper[data-v-2196a8bb]:before{top:-36px;left:-36px;width:136px;height:136px}.build-progress .status-icon .wrapper[data-v-2196a8bb]:after{background:#fff;top:7px;left:7px;width:50px;height:50px;z-index:1}.build-progress .status-icon.done .wrapper[data-v-2196a8bb]:before{background:#42b983}.build-progress .status-icon.done[data-v-2196a8bb] svg{fill:#42b983}.build-progress .status-icon.error .wrapper[data-v-2196a8bb]:before{background:#e83030}.build-progress .status-icon.error[data-v-2196a8bb] svg{fill:#e83030}.build-progress .status-icon.v-enter-active[data-v-2196a8bb],.build-progress .status-icon.v-leave-active[data-v-2196a8bb]{transition:transform .5s cubic-bezier(0,1,.3,1),opacity .2s}.build-progress .status-icon.v-enter-active .wrapper[data-v-2196a8bb]:after,.build-progress .status-icon.v-leave-active .wrapper[data-v-2196a8bb]:after{transition:opacity .2s}.build-progress .status-icon.v-enter-active .vue-ui-icon[data-v-2196a8bb],.build-progress .status-icon.v-leave-active .vue-ui-icon[data-v-2196a8bb]{transition:opacity 0}.build-progress .status-icon.v-enter-active .vue-ui-icon[data-v-2196a8bb],.build-progress .status-icon.v-enter-active .wrapper[data-v-2196a8bb]:after{transition-delay:.3s}.build-progress .status-icon.v-enter[data-v-2196a8bb],.build-progress .status-icon.v-leave-to[data-v-2196a8bb]{transform:scale(0)}.build-progress .status-icon.v-enter .vue-ui-icon[data-v-2196a8bb],.build-progress .status-icon.v-enter .wrapper[data-v-2196a8bb]:after,.build-progress .status-icon.v-leave-to[data-v-2196a8bb],.build-progress .status-icon.v-leave-to .wrapper[data-v-2196a8bb]:after{opacity:0}.build-progress.mode-build-modern .progress-animation.active .animation[data-v-2196a8bb],.build-progress.mode-build-modern .status-icon.done .wrapper[data-v-2196a8bb]:before{background:#03c2e6}.build-progress.mode-build-modern .status-icon.done[data-v-2196a8bb] svg{fill:#03c2e6}@-webkit-keyframes progress-data-v-2196a8bb{0%,30%{transform:none}50%{transform:scale(1.5)}80%{transform:none}}@keyframes progress-data-v-2196a8bb{0%,30%{transform:none}50%{transform:scale(1.5)}80%{transform:none}}',""]),e["default"]=n},344:function(t,e,s){"use strict";s.r(e);var a=s(558),r=s.n(a),i=s(361),o=s.n(i),n=o()(r());n.push([t.id,".build-status .content[data-v-75705bbf]{height:100%;display:grid;grid-template-columns:repeat(3,1fr);grid-gap:16px}.build-status .info-block.emphasize .value[data-v-75705bbf]{font-weight:700}.build-status .info-block.emphasize.errors .value[data-v-75705bbf]{color:#e83030!important}.build-status .info-block.emphasize.warnings .value[data-v-75705bbf]{color:#ea6e00!important}",""]),e["default"]=n},687:function(t,e,s){"use strict";s.r(e);var a=s(558),r=s.n(a),i=s(361),o=s.n(i),n=o()(r());n.push([t.id,"path[data-v-1d488584]{fill:none;stroke-width:3}.hover>.container path[data-v-1d488584]{stroke:#ea6e00}",""]),e["default"]=n},740:function(t,e,s){"use strict";s.r(e);var a=s(558),r=s.n(a),i=s(361),o=s.n(i),n=o()(r());n.push([t.id,".module-list-item .content[data-v-352f8850]{display:grid;grid-template-columns:3fr 1fr 1fr;grid-gap:16px;font-family:Roboto Mono,monospace;font-size:12px}.module-list-item .info[data-v-352f8850]{display:flex;align-items:center}.module-list-item .size[data-v-352f8850]{color:#42b983;justify-content:flex-end}.module-list-item .vue-ui-loading-bar[data-v-352f8850]{width:100%}",""]),e["default"]=n},906:function(t,e,s){"use strict";s.r(e);var a=s(558),r=s.n(a),i=s(361),o=s.n(i),n=o()(r());n.push([t.id,".items[data-v-b54aa84a]{display:grid;grid-template-columns:repeat(auto-fill,200px);grid-gap:16px;justify-content:space-between;padding:16px}",""]),e["default"]=n},920:function(t,e,s){"use strict";s.r(e);var a=s(558),r=s.n(a),i=s(361),o=s.n(i),n=o()(r());n.push([t.id,".content[data-v-4adb230f]{font-family:Roboto Mono,monospace;font-size:12px;display:grid;grid-template-columns:3fr 2fr;grid-gap:16px}.content .label[data-v-4adb230f]{text-align:right}.content .value[data-v-4adb230f]{color:#42b983}",""]),e["default"]=n},553:function(t,e,s){"use strict";s.r(e);var a=s(558),r=s.n(a),i=s(361),o=s.n(i),n=o()(r());n.push([t.id,".test-view[data-v-0b056497]{padding:42px}.section[data-v-0b056497]{margin-bottom:12px}",""]),e["default"]=n},686:function(t,e,s){"use strict";s.r(e);var a=s(558),r=s.n(a),i=s(361),o=s.n(i),n=o()(r());n.push([t.id,".vue-webpack-analyzer[data-v-c6d26d6a]{height:100%;display:grid;grid-template-columns:auto;grid-template-rows:auto 1fr;grid-gap:16px;overflow-y:hidden}.vue-webpack-analyzer .described-module .wrapper[data-v-c6d26d6a],.vue-webpack-analyzer .pane-toolbar[data-v-c6d26d6a]{padding:16px}.vue-webpack-analyzer .content[data-v-c6d26d6a]{display:flex;flex-direction:column;position:relative}.vue-webpack-analyzer .donut[data-v-c6d26d6a]{width:100%;flex:auto 1 1;height:0}.vue-webpack-analyzer .donut.hover[data-v-c6d26d6a]{cursor:pointer}.vue-webpack-analyzer .described-module[data-v-c6d26d6a]{position:absolute;top:0;left:0;width:100%;height:100%;pointer-events:none;display:flex;flex-direction:column;align-items:center;justify-content:center}.vue-webpack-analyzer .described-module>*[data-v-c6d26d6a]{flex:auto 0 0}.vue-webpack-analyzer .described-module .wrapper[data-v-c6d26d6a]{max-width:170px;overflow:hidden}.vue-webpack-analyzer .described-module .wrapper .size[data-v-c6d26d6a]:not(.selected){opacity:.5}",""]),e["default"]=n},639:function(t,e,s){"use strict";s.r(e);var a=s(558),r=s.n(a),i=s(361),o=s.n(i),n=o()(r());n.push([t.id,".vue-webpack-dashboard .content[data-v-4a48e919]{grid-template-columns:9fr 4fr;grid-gap:16px}.vue-webpack-dashboard .content[data-v-4a48e919] .title{color:#9bb2c8;font-size:20px;font-weight:300;text-align:center;margin-bottom:16px}.vue-webpack-dashboard .content[data-v-4a48e919] .list{display:grid;grid-template-columns:1fr;grid-gap:16px}.vue-webpack-dashboard .content[data-v-4a48e919] .info-block{display:flex;flex-direction:column;align-items:center;justify-content:center;font-weight:300;text-align:center}.vue-webpack-dashboard .content[data-v-4a48e919] .info-block>*{flex:auto 0 0}.vue-webpack-dashboard .content[data-v-4a48e919] .info-block .label{color:#9bb2c8;font-size:20px}.vue-webpack-dashboard .content[data-v-4a48e919] .info-block .value{color:#2c3e50;font-size:24px}.vue-ui-dark-mode .vue-webpack-dashboard .content[data-v-4a48e919] .info-block .value{color:#fff}.vue-webpack-dashboard .content[data-v-4a48e919] .info-block .value .secondary{opacity:.75;font-size:16px}.vue-webpack-dashboard[data-v-4a48e919] .card{padding:16px}.vue-webpack-dashboard .pane-toolbar[data-v-4a48e919]{margin-bottom:16px}.vue-webpack-dashboard .logo[data-v-4a48e919]{margin:16px 0;display:flex;flex-direction:column;align-items:center;justify-content:center}.vue-webpack-dashboard .logo>*[data-v-4a48e919]{flex:auto 0 0}.vue-webpack-dashboard .logo .webpack-logo[data-v-4a48e919]{width:32px;height:32px}",""]),e["default"]=n},361:function(t){"use strict";t.exports=function(t){var e=[];return e.toString=function(){return this.map((function(e){var s="",a="undefined"!==typeof e[5];return e[4]&&(s+="@supports (".concat(e[4],") {")),e[2]&&(s+="@media ".concat(e[2]," {")),a&&(s+="@layer".concat(e[5].length>0?" ".concat(e[5]):""," {")),s+=t(e),a&&(s+="}"),e[2]&&(s+="}"),e[4]&&(s+="}"),s})).join("")},e.i=function(t,s,a,r,i){"string"===typeof t&&(t=[[null,t,void 0]]);var o={};if(a)for(var n=0;n<this.length;n++){var l=this[n][0];null!=l&&(o[l]=!0)}for(var u=0;u<t.length;u++){var d=[].concat(t[u]);a&&o[d[0]]||("undefined"!==typeof i&&("undefined"===typeof d[5]||(d[1]="@layer".concat(d[5].length>0?" ".concat(d[5]):""," {").concat(d[1],"}")),d[5]=i),s&&(d[2]?(d[1]="@media ".concat(d[2]," {").concat(d[1],"}"),d[2]=s):d[2]=s),r&&(d[4]?(d[1]="@supports (".concat(d[4],") {").concat(d[1],"}"),d[4]=r):d[4]="".concat(r)),e.push(d))}},e}},558:function(t){"use strict";t.exports=function(t){return t[1]}},521:function(t,e,s){"use strict";var a={circle:function(t){return"\n \tM "+t/2+", "+t/2+"\n m 0, -"+t/2+"\n a "+t/2+","+t/2+" 0 1 1 0,"+t+"\n a "+t/2+","+t/2+" 0 1 1 0,-"+t+"\n "},semicircle:function(t){return"\n \tM "+t/2+", "+t/2+"\n m -"+t/2+", 0\n a "+t/2+","+t/2+" 0 1 1 "+t+",0\n "},line:function(t){return"\n \tM 0,"+t/2+"\n L "+t+","+t/2+"\n "},square:function(t){return"\n \tM 0,0\n L "+t+",0\n L "+t+","+t+"\n L 0,"+t+"\n Z\n\t"}},r={render:function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"vue-progress-path",class:t.cssClass,style:t.style},[s("svg",{attrs:{width:t.finalWidth,height:t.finalHeight,viewBox:"0 0 "+t.finalWidth+" "+t.finalHeight}},[s("g",{attrs:{transform:"translate("+(t.finalWidth-t.size)/2+", "+(t.finalHeight-t.size)/2+") rotate("+t.finalRotation+", "+t.size/2+", "+t.size/2+")"}},[s("g",{staticClass:"container"},[t.hideBackground?t._e():s("path",{staticClass:"background",attrs:{d:t.path}}),s("path",{ref:"path",staticClass:"progress",attrs:{d:t.path,"stroke-dasharray":t.finalDasharray+" "+t.finalDasharray,"stroke-dashoffset":t.finalDashoffset}})])])])])},staticRenderFns:[],name:"Progress",props:{counterClockwise:{type:Boolean,default:!1},fillDuration:{type:[String,Number],default:1},height:{type:[String,Number],default:0},hideBackground:{type:Boolean,default:!1},indeterminate:{type:Boolean,default:!1},progress:{type:Number,default:0,validate:function(t){return t>=-1&&t<=1}},rotate:{type:Boolean,default:!1},rotationDuration:{type:[String,Number],default:1},shape:{type:String,default:null},size:{type:[String,Number],default:100},staticPath:{type:Boolean,default:!1},width:{type:[String,Number],default:0}},data:function(){return{dasharray:0,dashoffset:0,rotation:0,animating:!1}},computed:{cssClass:function(){return{indeterminate:this.indeterminate}},finalDasharray:function(){return 0===this.finalDashoffset||this.finalDashoffset===2*this.dasharray?0:this.dasharray},finalDashoffset:function(){return this.animating?this.dashoffset:this.finalProgress<0?-this.dasharray*this.finalProgress+this.dasharray:(1-this.finalProgress)*this.dasharray},finalHeight:function(){return this.height||parseFloat(this.size)+50},finalProgress:function(){return this.counterClockwise?-this.progress:this.progress},finalRotation:function(){return this.animating?this.rotation:0},finalShape:function(){return this.shape?this.shape:i.defaultShape},finalWidth:function(){return this.width||parseFloat(this.size)+50},style:function(){return{width:this.finalWidth+"px",height:this.finalHeight+"px"}},svgStyle:function(){return{}},path:function(){var t=a[this.finalShape]||this.finalShape;if(t)return"function"===typeof t&&(t=t(this.size)),t}},watch:{indeterminate:{handler:function(t){t?this.startAnimation():this.stopAnimation()},immediate:!0},path:{handler:function(){var t=this;this.$nextTick((function(){t.dasharray=t.$refs.path.getTotalLength()}))},immediate:!0}},methods:{frame:function(t){var e=t-this._animationLastFrame;if(this._animationLastFrame=t,this.rotate){var s=this.counterClockwise?-1:1,a=360*e/(1e3*parseFloat(this.rotationDuration));this.rotation+=a*s,this.counterClockwise?this.rotation<0&&(this.rotation+=360):this.rotation>360&&(this.rotation-=360)}if(!this.staticPath){var r=2*this.dasharray,i=this.counterClockwise?1:-1,o=e*r/(1e3*parseFloat(this.fillDuration));this.dashoffset+=o*i,this.counterClockwise?this.dashoffset<0&&(this.dashoffset+=r):this.dashoffset>r&&(this.dashoffset-=r)}this.animating&&requestAnimationFrame(this.frame)},startAnimation:function(){this.dashoffset=this.dasharray,this.rotation=0,this.animating=!0,this._animationLastFrame=performance.now(),requestAnimationFrame(this.frame)},stopAnimation:function(){this.animating=!1}},beforeDestroy:function(){this.stopAnimation()}},i={};function o(t,e){t.component(e+"progress",r)}var n={version:"0.0.2",install:function(t,e){i=Object.assign({},{installComponents:!0,componentsPrefix:"loading-",defaultShape:"circle"},e),i.installComponents&&o(t,i.componentsPrefix)}},l=null;"undefined"!==typeof window?l=window.Vue:"undefined"!==typeof s.g&&(l=s.g.Vue),l&&l.use(n);var u=n,d=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"vue-webpack-dashboard"},[s("div",{staticClass:"pane-toolbar card"},[s("VueIcon",{attrs:{icon:"dashboard"}}),s("div",{staticClass:"title"},[t._v(t._s(t.$t("org.vue.vue-webpack.dashboard.title")))]),"serve"===t.mode?[s("VueButton",{attrs:{"icon-left":"open_in_browser",label:t.$t("org.vue.vue-webpack.dashboard.open-app"),disabled:!t.serveUrl,href:t.serveUrl,target:"_blank",rel:"noopener noreferrer"}}),s("VueIcon",{staticClass:"separator",attrs:{icon:"lens"}})]:t._e(),"serve"!==t.mode&&t.modernMode?s("VueSwitch",{model:{value:t.showModernBuild,callback:function(e){t.showModernBuild=e},expression:"showModernBuild"}},[t._v(" "+t._s(t.$t("org.vue.vue-webpack.modern-mode"))+" ")]):t._e(),s("VueSelect",{model:{value:t.sizeField,callback:function(e){t.sizeField=e},expression:"sizeField"}},[s("VueSelectButton",{attrs:{value:"stats",label:""+t.$t("org.vue.vue-webpack.sizes.stats")}}),s("VueSelectButton",{attrs:{value:"parsed",label:""+t.$t("org.vue.vue-webpack.sizes.parsed")}}),s("VueSelectButton",{attrs:{value:"gzip",label:""+t.$t("org.vue.vue-webpack.sizes.gzip")}})],1),s("VueButton",{directives:[{name:"tooltip",rawName:"v-tooltip",value:t.$t("org.vue.vue-webpack.sizes.help"),expression:"$t('org.vue.vue-webpack.sizes.help')"}],staticClass:"icon-button",attrs:{"icon-left":"help"}})],2),s("div",{staticClass:"content vue-ui-grid"},[s("BuildStatus"),s("BuildProgress"),s("SpeedStats",{staticClass:"span-2"}),s("AssetList"),s("ModuleList")],1),t._m(0)])},c=[function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"logo"},[a("a",{attrs:{href:"https://webpack.js.org/",target:"_blank",rel:"noopener noreferrer"}},[a("img",{staticClass:"webpack-logo",attrs:{src:s(347)}})])])}]; | ||
(function(){var t={144:function(t,e,s){"use strict";s.r(e);var a=s(558),r=s.n(a),i=s(361),o=s.n(i),n=s(545),l=o()(r());l.i(n.Z),l.push([t.id,"",""]),e["default"]=l},545:function(t,e,s){"use strict";var a=s(558),r=s.n(a),i=s(361),o=s.n(i),n=o()(r());n.push([t.id,".vue-progress-path{display:inline-block}.vue-progress-path path{fill:none;stroke-width:6;transition:stroke-dashoffset .3s ease-in-out}.vue-progress-path .background{stroke:#ddd}.vue-progress-path .progress{stroke:#40b883}.vue-progress-path.indeterminate path{transition:none}",""]),e["Z"]=n},963:function(t,e,s){"use strict";s.r(e);var a=s(558),r=s.n(a),i=s(361),o=s.n(i),n=o()(r());n.push([t.id,".headers[data-v-9b630720]{display:grid;grid-template-columns:5fr repeat(4,1fr) 16px;grid-gap:16px;font-family:Roboto Mono,monospace;font-size:12px;text-align:right;margin-bottom:16px}.headers .size-field[data-v-9b630720]:first-letter{text-transform:uppercase}",""]),e["default"]=n},958:function(t,e,s){"use strict";s.r(e);var a=s(558),r=s.n(a),i=s(361),o=s.n(i),n=o()(r());n.push([t.id,".asset-list-item .content[data-v-6cde651f]{display:grid;grid-template-columns:5fr repeat(4,1fr) 16px;grid-gap:16px;font-family:Roboto Mono,monospace;font-size:12px}.asset-list-item .info[data-v-6cde651f]{display:flex;align-items:center}.asset-list-item .name[data-v-6cde651f]{word-break:break-all}.asset-list-item .size[data-v-6cde651f],.asset-list-item .speed[data-v-6cde651f]{color:#42b983;justify-content:flex-end}.asset-list-item .icon[data-v-6cde651f] svg{fill:#42b983}.asset-list-item.big[data-v-6cde651f]{font-weight:700}.asset-list-item.secondary[data-v-6cde651f]{opacity:.5}",""]),e["default"]=n},148:function(t,e,s){"use strict";s.r(e);var a=s(558),r=s.n(a),i=s(361),o=s.n(i),n=o()(r());n.push([t.id,'.build-progress .content[data-v-2196a8bb]{display:flex;flex-direction:column;align-items:center;justify-content:center;position:relative;height:100%}.build-progress .content>*[data-v-2196a8bb]{flex:auto 0 0}.build-progress .content>>>>*[data-v-2196a8bb]{margin-bottom:16px}.build-progress .content[data-v-2196a8bb]>>>>:last-child{margin-bottom:0}.build-progress .vue-progress-path[data-v-2196a8bb] .background{stroke:rgba(44,62,80,.1)}.vue-ui-dark-mode .build-progress .vue-progress-path[data-v-2196a8bb] .background{stroke:#2c3e50}.build-progress .operations[data-v-2196a8bb]{color:#2c3e50;padding-bottom:12px;text-align:center}.vue-ui-dark-mode .build-progress .operations[data-v-2196a8bb]{color:#9bb2c8}.build-progress .operations[data-v-2196a8bb]:first-letter{text-transform:uppercase}.build-progress .progress-wrapper[data-v-2196a8bb]{width:178px;height:178px;position:relative}.build-progress .progress[data-v-2196a8bb],.build-progress .progress-bar-wrapper[data-v-2196a8bb],.build-progress .status-icon[data-v-2196a8bb]{display:flex;flex-direction:row;align-items:center;justify-content:center;flex:none;position:absolute;top:0;left:0;width:100%;height:100%}.build-progress .progress-bar-wrapper>*[data-v-2196a8bb],.build-progress .progress>*[data-v-2196a8bb],.build-progress .status-icon>*[data-v-2196a8bb]{flex:auto 0 0}.build-progress .progress-bar.disable-animation[data-v-2196a8bb] path{transition:none}.build-progress .progress-bar.mode-build-modern[data-v-2196a8bb] .progress{stroke:#03c2e6}.build-progress .progress-animation[data-v-2196a8bb]{display:grid;grid-template-columns:repeat(2,12px);grid-template-rows:repeat(2,12px);grid-template-areas:"z1 z4" "z2 z3";grid-gap:12px}.build-progress .progress-animation .animation[data-v-2196a8bb]{width:100%;height:100%;border-radius:50%;background:rgba(0,0,0,.1);transition:background .15s}.vue-ui-dark-mode .build-progress .progress-animation .animation[data-v-2196a8bb]{background:#2c3e50}.build-progress .progress-animation .animation[data-v-2196a8bb]:first-child{grid-area:z1}.build-progress .progress-animation .animation[data-v-2196a8bb]:nth-child(2){grid-area:z2}.build-progress .progress-animation .animation[data-v-2196a8bb]:nth-child(3){grid-area:z3}.build-progress .progress-animation .animation[data-v-2196a8bb]:nth-child(4){grid-area:z4}.build-progress .progress-animation.active .animation[data-v-2196a8bb]{background:#42b983;-webkit-animation:progress-data-v-2196a8bb 1s infinite;animation:progress-data-v-2196a8bb 1s infinite}.build-progress .status-icon .wrapper[data-v-2196a8bb]{position:relative}.build-progress .status-icon .wrapper .vue-ui-icon[data-v-2196a8bb]{width:64px;height:64px;position:relative;z-index:2;display:block}.build-progress .status-icon .wrapper[data-v-2196a8bb]:after,.build-progress .status-icon .wrapper[data-v-2196a8bb]:before{display:block;content:"";border-radius:50%;position:absolute}.build-progress .status-icon .wrapper[data-v-2196a8bb]:before{top:-36px;left:-36px;width:136px;height:136px}.build-progress .status-icon .wrapper[data-v-2196a8bb]:after{background:#fff;top:7px;left:7px;width:50px;height:50px;z-index:1}.build-progress .status-icon.done .wrapper[data-v-2196a8bb]:before{background:#42b983}.build-progress .status-icon.done[data-v-2196a8bb] svg{fill:#42b983}.build-progress .status-icon.error .wrapper[data-v-2196a8bb]:before{background:#e83030}.build-progress .status-icon.error[data-v-2196a8bb] svg{fill:#e83030}.build-progress .status-icon.v-enter-active[data-v-2196a8bb],.build-progress .status-icon.v-leave-active[data-v-2196a8bb]{transition:transform .5s cubic-bezier(0,1,.3,1),opacity .2s}.build-progress .status-icon.v-enter-active .wrapper[data-v-2196a8bb]:after,.build-progress .status-icon.v-leave-active .wrapper[data-v-2196a8bb]:after{transition:opacity .2s}.build-progress .status-icon.v-enter-active .vue-ui-icon[data-v-2196a8bb],.build-progress .status-icon.v-leave-active .vue-ui-icon[data-v-2196a8bb]{transition:opacity 0}.build-progress .status-icon.v-enter-active .vue-ui-icon[data-v-2196a8bb],.build-progress .status-icon.v-enter-active .wrapper[data-v-2196a8bb]:after{transition-delay:.3s}.build-progress .status-icon.v-enter[data-v-2196a8bb],.build-progress .status-icon.v-leave-to[data-v-2196a8bb]{transform:scale(0)}.build-progress .status-icon.v-enter .vue-ui-icon[data-v-2196a8bb],.build-progress .status-icon.v-enter .wrapper[data-v-2196a8bb]:after,.build-progress .status-icon.v-leave-to[data-v-2196a8bb],.build-progress .status-icon.v-leave-to .wrapper[data-v-2196a8bb]:after{opacity:0}.build-progress.mode-build-modern .progress-animation.active .animation[data-v-2196a8bb],.build-progress.mode-build-modern .status-icon.done .wrapper[data-v-2196a8bb]:before{background:#03c2e6}.build-progress.mode-build-modern .status-icon.done[data-v-2196a8bb] svg{fill:#03c2e6}@-webkit-keyframes progress-data-v-2196a8bb{0%,30%{transform:none}50%{transform:scale(1.5)}80%{transform:none}}@keyframes progress-data-v-2196a8bb{0%,30%{transform:none}50%{transform:scale(1.5)}80%{transform:none}}',""]),e["default"]=n},344:function(t,e,s){"use strict";s.r(e);var a=s(558),r=s.n(a),i=s(361),o=s.n(i),n=o()(r());n.push([t.id,".build-status .content[data-v-75705bbf]{height:100%;display:grid;grid-template-columns:repeat(3,1fr);grid-gap:16px}.build-status .info-block.emphasize .value[data-v-75705bbf]{font-weight:700}.build-status .info-block.emphasize.errors .value[data-v-75705bbf]{color:#e83030!important}.build-status .info-block.emphasize.warnings .value[data-v-75705bbf]{color:#ea6e00!important}",""]),e["default"]=n},687:function(t,e,s){"use strict";s.r(e);var a=s(558),r=s.n(a),i=s(361),o=s.n(i),n=o()(r());n.push([t.id,"path[data-v-1d488584]{fill:none;stroke-width:3}.hover>.container path[data-v-1d488584]{stroke:#ea6e00}",""]),e["default"]=n},740:function(t,e,s){"use strict";s.r(e);var a=s(558),r=s.n(a),i=s(361),o=s.n(i),n=o()(r());n.push([t.id,".module-list-item .content[data-v-352f8850]{display:grid;grid-template-columns:3fr 1fr 1fr;grid-gap:16px;font-family:Roboto Mono,monospace;font-size:12px}.module-list-item .info[data-v-352f8850]{display:flex;align-items:center}.module-list-item .size[data-v-352f8850]{color:#42b983;justify-content:flex-end}.module-list-item .vue-ui-loading-bar[data-v-352f8850]{width:100%}",""]),e["default"]=n},906:function(t,e,s){"use strict";s.r(e);var a=s(558),r=s.n(a),i=s(361),o=s.n(i),n=o()(r());n.push([t.id,".items[data-v-b54aa84a]{display:grid;grid-template-columns:repeat(auto-fill,200px);grid-gap:16px;justify-content:space-between;padding:16px}",""]),e["default"]=n},920:function(t,e,s){"use strict";s.r(e);var a=s(558),r=s.n(a),i=s(361),o=s.n(i),n=o()(r());n.push([t.id,".content[data-v-4adb230f]{font-family:Roboto Mono,monospace;font-size:12px;display:grid;grid-template-columns:3fr 2fr;grid-gap:16px}.content .label[data-v-4adb230f]{text-align:right}.content .value[data-v-4adb230f]{color:#42b983}",""]),e["default"]=n},553:function(t,e,s){"use strict";s.r(e);var a=s(558),r=s.n(a),i=s(361),o=s.n(i),n=o()(r());n.push([t.id,".test-view[data-v-0b056497]{padding:42px}.section[data-v-0b056497]{margin-bottom:12px}",""]),e["default"]=n},686:function(t,e,s){"use strict";s.r(e);var a=s(558),r=s.n(a),i=s(361),o=s.n(i),n=o()(r());n.push([t.id,".vue-webpack-analyzer[data-v-c6d26d6a]{height:100%;display:grid;grid-template-columns:auto;grid-template-rows:auto 1fr;grid-gap:16px;overflow-y:hidden}.vue-webpack-analyzer .described-module .wrapper[data-v-c6d26d6a],.vue-webpack-analyzer .pane-toolbar[data-v-c6d26d6a]{padding:16px}.vue-webpack-analyzer .content[data-v-c6d26d6a]{display:flex;flex-direction:column;position:relative}.vue-webpack-analyzer .donut[data-v-c6d26d6a]{width:100%;flex:auto 1 1;height:0}.vue-webpack-analyzer .donut.hover[data-v-c6d26d6a]{cursor:pointer}.vue-webpack-analyzer .described-module[data-v-c6d26d6a]{position:absolute;top:0;left:0;width:100%;height:100%;pointer-events:none;display:flex;flex-direction:column;align-items:center;justify-content:center}.vue-webpack-analyzer .described-module>*[data-v-c6d26d6a]{flex:auto 0 0}.vue-webpack-analyzer .described-module .wrapper[data-v-c6d26d6a]{max-width:170px;overflow:hidden}.vue-webpack-analyzer .described-module .wrapper .size[data-v-c6d26d6a]:not(.selected){opacity:.5}",""]),e["default"]=n},639:function(t,e,s){"use strict";s.r(e);var a=s(558),r=s.n(a),i=s(361),o=s.n(i),n=o()(r());n.push([t.id,".vue-webpack-dashboard .content[data-v-4a48e919]{grid-template-columns:9fr 4fr;grid-gap:16px}.vue-webpack-dashboard .content[data-v-4a48e919] .title{color:#9bb2c8;font-size:20px;font-weight:300;text-align:center;margin-bottom:16px}.vue-webpack-dashboard .content[data-v-4a48e919] .list{display:grid;grid-template-columns:1fr;grid-gap:16px}.vue-webpack-dashboard .content[data-v-4a48e919] .info-block{display:flex;flex-direction:column;align-items:center;justify-content:center;font-weight:300;text-align:center}.vue-webpack-dashboard .content[data-v-4a48e919] .info-block>*{flex:auto 0 0}.vue-webpack-dashboard .content[data-v-4a48e919] .info-block .label{color:#9bb2c8;font-size:20px}.vue-webpack-dashboard .content[data-v-4a48e919] .info-block .value{color:#2c3e50;font-size:24px}.vue-ui-dark-mode .vue-webpack-dashboard .content[data-v-4a48e919] .info-block .value{color:#fff}.vue-webpack-dashboard .content[data-v-4a48e919] .info-block .value .secondary{opacity:.75;font-size:16px}.vue-webpack-dashboard[data-v-4a48e919] .card{padding:16px}.vue-webpack-dashboard .pane-toolbar[data-v-4a48e919]{margin-bottom:16px}.vue-webpack-dashboard .logo[data-v-4a48e919]{margin:16px 0;display:flex;flex-direction:column;align-items:center;justify-content:center}.vue-webpack-dashboard .logo>*[data-v-4a48e919]{flex:auto 0 0}.vue-webpack-dashboard .logo .webpack-logo[data-v-4a48e919]{width:32px;height:32px}",""]),e["default"]=n},361:function(t){"use strict";t.exports=function(t){var e=[];return e.toString=function(){return this.map((function(e){var s="",a="undefined"!==typeof e[5];return e[4]&&(s+="@supports (".concat(e[4],") {")),e[2]&&(s+="@media ".concat(e[2]," {")),a&&(s+="@layer".concat(e[5].length>0?" ".concat(e[5]):""," {")),s+=t(e),a&&(s+="}"),e[2]&&(s+="}"),e[4]&&(s+="}"),s})).join("")},e.i=function(t,s,a,r,i){"string"===typeof t&&(t=[[null,t,void 0]]);var o={};if(a)for(var n=0;n<this.length;n++){var l=this[n][0];null!=l&&(o[l]=!0)}for(var u=0;u<t.length;u++){var d=[].concat(t[u]);a&&o[d[0]]||("undefined"!==typeof i&&("undefined"===typeof d[5]||(d[1]="@layer".concat(d[5].length>0?" ".concat(d[5]):""," {").concat(d[1],"}")),d[5]=i),s&&(d[2]?(d[1]="@media ".concat(d[2]," {").concat(d[1],"}"),d[2]=s):d[2]=s),r&&(d[4]?(d[1]="@supports (".concat(d[4],") {").concat(d[1],"}"),d[4]=r):d[4]="".concat(r)),e.push(d))}},e}},558:function(t){"use strict";t.exports=function(t){return t[1]}},782:function(t,e,s){"use strict";var a={circle:function(t){return"\n \tM "+t/2+", "+t/2+"\n m 0, -"+t/2+"\n a "+t/2+","+t/2+" 0 1 1 0,"+t+"\n a "+t/2+","+t/2+" 0 1 1 0,-"+t+"\n "},semicircle:function(t){return"\n \tM "+t/2+", "+t/2+"\n m -"+t/2+", 0\n a "+t/2+","+t/2+" 0 1 1 "+t+",0\n "},line:function(t){return"\n \tM 0,"+t/2+"\n L "+t+","+t/2+"\n "},square:function(t){return"\n \tM 0,0\n L "+t+",0\n L "+t+","+t+"\n L 0,"+t+"\n Z\n\t"}},r={render:function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"vue-progress-path",class:t.cssClass,style:t.style},[s("svg",{attrs:{width:t.finalWidth,height:t.finalHeight,viewBox:"0 0 "+t.finalWidth+" "+t.finalHeight}},[s("g",{attrs:{transform:"translate("+(t.finalWidth-t.size)/2+", "+(t.finalHeight-t.size)/2+") rotate("+t.finalRotation+", "+t.size/2+", "+t.size/2+")"}},[s("g",{staticClass:"container"},[t.hideBackground?t._e():s("path",{staticClass:"background",attrs:{d:t.path}}),s("path",{ref:"path",staticClass:"progress",attrs:{d:t.path,"stroke-dasharray":t.finalDasharray+" "+t.finalDasharray,"stroke-dashoffset":t.finalDashoffset}})])])])])},staticRenderFns:[],name:"Progress",props:{counterClockwise:{type:Boolean,default:!1},fillDuration:{type:[String,Number],default:1},height:{type:[String,Number],default:0},hideBackground:{type:Boolean,default:!1},indeterminate:{type:Boolean,default:!1},progress:{type:Number,default:0,validate:function(t){return t>=-1&&t<=1}},rotate:{type:Boolean,default:!1},rotationDuration:{type:[String,Number],default:1},shape:{type:String,default:null},size:{type:[String,Number],default:100},staticPath:{type:Boolean,default:!1},width:{type:[String,Number],default:0}},data:function(){return{dasharray:0,dashoffset:0,rotation:0,animating:!1}},computed:{cssClass:function(){return{indeterminate:this.indeterminate}},finalDasharray:function(){return 0===this.finalDashoffset||this.finalDashoffset===2*this.dasharray?0:this.dasharray},finalDashoffset:function(){return this.animating?this.dashoffset:this.finalProgress<0?-this.dasharray*this.finalProgress+this.dasharray:(1-this.finalProgress)*this.dasharray},finalHeight:function(){return this.height||parseFloat(this.size)+50},finalProgress:function(){return this.counterClockwise?-this.progress:this.progress},finalRotation:function(){return this.animating?this.rotation:0},finalShape:function(){return this.shape?this.shape:i.defaultShape},finalWidth:function(){return this.width||parseFloat(this.size)+50},style:function(){return{width:this.finalWidth+"px",height:this.finalHeight+"px"}},svgStyle:function(){return{}},path:function(){var t=a[this.finalShape]||this.finalShape;if(t)return"function"===typeof t&&(t=t(this.size)),t}},watch:{indeterminate:{handler:function(t){t?this.startAnimation():this.stopAnimation()},immediate:!0},path:{handler:function(){var t=this;this.$nextTick((function(){t.dasharray=t.$refs.path.getTotalLength()}))},immediate:!0}},methods:{frame:function(t){var e=t-this._animationLastFrame;if(this._animationLastFrame=t,this.rotate){var s=this.counterClockwise?-1:1,a=360*e/(1e3*parseFloat(this.rotationDuration));this.rotation+=a*s,this.counterClockwise?this.rotation<0&&(this.rotation+=360):this.rotation>360&&(this.rotation-=360)}if(!this.staticPath){var r=2*this.dasharray,i=this.counterClockwise?1:-1,o=e*r/(1e3*parseFloat(this.fillDuration));this.dashoffset+=o*i,this.counterClockwise?this.dashoffset<0&&(this.dashoffset+=r):this.dashoffset>r&&(this.dashoffset-=r)}this.animating&&requestAnimationFrame(this.frame)},startAnimation:function(){this.dashoffset=this.dasharray,this.rotation=0,this.animating=!0,this._animationLastFrame=performance.now(),requestAnimationFrame(this.frame)},stopAnimation:function(){this.animating=!1}},beforeDestroy:function(){this.stopAnimation()}},i={};function o(t,e){t.component(e+"progress",r)}var n={version:"0.0.2",install:function(t,e){i=Object.assign({},{installComponents:!0,componentsPrefix:"loading-",defaultShape:"circle"},e),i.installComponents&&o(t,i.componentsPrefix)}},l=null;"undefined"!==typeof window?l=window.Vue:"undefined"!==typeof s.g&&(l=s.g.Vue),l&&l.use(n);var u=n,d=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"vue-webpack-dashboard"},[s("div",{staticClass:"pane-toolbar card"},[s("VueIcon",{attrs:{icon:"dashboard"}}),s("div",{staticClass:"title"},[t._v(t._s(t.$t("org.vue.vue-webpack.dashboard.title")))]),"serve"===t.mode?[s("VueButton",{attrs:{"icon-left":"open_in_browser",label:t.$t("org.vue.vue-webpack.dashboard.open-app"),disabled:!t.serveUrl,href:t.serveUrl,target:"_blank",rel:"noopener noreferrer"}}),s("VueIcon",{staticClass:"separator",attrs:{icon:"lens"}})]:t._e(),"serve"!==t.mode&&t.modernMode?s("VueSwitch",{model:{value:t.showModernBuild,callback:function(e){t.showModernBuild=e},expression:"showModernBuild"}},[t._v(" "+t._s(t.$t("org.vue.vue-webpack.modern-mode"))+" ")]):t._e(),s("VueSelect",{model:{value:t.sizeField,callback:function(e){t.sizeField=e},expression:"sizeField"}},[s("VueSelectButton",{attrs:{value:"stats",label:""+t.$t("org.vue.vue-webpack.sizes.stats")}}),s("VueSelectButton",{attrs:{value:"parsed",label:""+t.$t("org.vue.vue-webpack.sizes.parsed")}}),s("VueSelectButton",{attrs:{value:"gzip",label:""+t.$t("org.vue.vue-webpack.sizes.gzip")}})],1),s("VueButton",{directives:[{name:"tooltip",rawName:"v-tooltip",value:t.$t("org.vue.vue-webpack.sizes.help"),expression:"$t('org.vue.vue-webpack.sizes.help')"}],staticClass:"icon-button",attrs:{"icon-left":"help"}})],2),s("div",{staticClass:"content vue-ui-grid"},[s("BuildStatus"),s("BuildProgress"),s("SpeedStats",{staticClass:"span-2"}),s("AssetList"),s("ModuleList")],1),t._m(0)])},c=[function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"logo"},[a("a",{attrs:{href:"https://webpack.js.org/",target:"_blank",rel:"noopener noreferrer"}},[a("img",{staticClass:"webpack-logo",attrs:{src:s(347)}})])])}]; | ||
/*! | ||
@@ -7,3 +7,3 @@ * vuex v3.6.2 | ||
*/ | ||
function p(t){var e=Number(t.version.split(".")[0]);if(e>=2)t.mixin({beforeCreate:a});else{var s=t.prototype._init;t.prototype._init=function(t){void 0===t&&(t={}),t.init=t.init?[a].concat(t.init):a,s.call(this,t)}}function a(){var t=this.$options;t.store?this.$store="function"===typeof t.store?t.store():t.store:t.parent&&t.parent.$store&&(this.$store=t.parent.$store)}}var f="undefined"!==typeof window?window:"undefined"!==typeof s.g?s.g:{},h=f.__VUE_DEVTOOLS_GLOBAL_HOOK__;function v(t){h&&(t._devtoolHook=h,h.emit("vuex:init",t),h.on("vuex:travel-to-state",(function(e){t.replaceState(e)})),t.subscribe((function(t,e){h.emit("vuex:mutation",t,e)}),{prepend:!0}),t.subscribeAction((function(t,e){h.emit("vuex:action",t,e)}),{prepend:!0}))}function b(t,e){return t.filter(e)[0]}function m(t,e){if(void 0===e&&(e=[]),null===t||"object"!==typeof t)return t;var s=b(e,(function(e){return e.original===t}));if(s)return s.copy;var a=Array.isArray(t)?[]:{};return e.push({original:t,copy:a}),Object.keys(t).forEach((function(s){a[s]=m(t[s],e)})),a}function g(t,e){Object.keys(t).forEach((function(s){return e(t[s],s)}))}function y(t){return null!==t&&"object"===typeof t}function _(t){return t&&"function"===typeof t.then}function w(t,e){return function(){return t(e)}}var k=function(t,e){this.runtime=e,this._children=Object.create(null),this._rawModule=t;var s=t.state;this.state=("function"===typeof s?s():s)||{}},C={namespaced:{configurable:!0}};C.namespaced.get=function(){return!!this._rawModule.namespaced},k.prototype.addChild=function(t,e){this._children[t]=e},k.prototype.removeChild=function(t){delete this._children[t]},k.prototype.getChild=function(t){return this._children[t]},k.prototype.hasChild=function(t){return t in this._children},k.prototype.update=function(t){this._rawModule.namespaced=t.namespaced,t.actions&&(this._rawModule.actions=t.actions),t.mutations&&(this._rawModule.mutations=t.mutations),t.getters&&(this._rawModule.getters=t.getters)},k.prototype.forEachChild=function(t){g(this._children,t)},k.prototype.forEachGetter=function(t){this._rawModule.getters&&g(this._rawModule.getters,t)},k.prototype.forEachAction=function(t){this._rawModule.actions&&g(this._rawModule.actions,t)},k.prototype.forEachMutation=function(t){this._rawModule.mutations&&g(this._rawModule.mutations,t)},Object.defineProperties(k.prototype,C);var z=function(t){this.register([],t,!1)};function M(t,e,s){if(e.update(s),s.modules)for(var a in s.modules){if(!e.getChild(a))return void 0;M(t.concat(a),e.getChild(a),s.modules[a])}}z.prototype.get=function(t){return t.reduce((function(t,e){return t.getChild(e)}),this.root)},z.prototype.getNamespace=function(t){var e=this.root;return t.reduce((function(t,s){return e=e.getChild(s),t+(e.namespaced?s+"/":"")}),"")},z.prototype.update=function(t){M([],this.root,t)},z.prototype.register=function(t,e,s){var a=this;void 0===s&&(s=!0);var r=new k(e,s);if(0===t.length)this.root=r;else{var i=this.get(t.slice(0,-1));i.addChild(t[t.length-1],r)}e.modules&&g(e.modules,(function(e,r){a.register(t.concat(r),e,s)}))},z.prototype.unregister=function(t){var e=this.get(t.slice(0,-1)),s=t[t.length-1],a=e.getChild(s);a&&a.runtime&&e.removeChild(s)},z.prototype.isRegistered=function(t){var e=this.get(t.slice(0,-1)),s=t[t.length-1];return!!e&&e.hasChild(s)};var x;var S=function(t){var e=this;void 0===t&&(t={}),!x&&"undefined"!==typeof window&&window.Vue&&G(window.Vue);var s=t.plugins;void 0===s&&(s=[]);var a=t.strict;void 0===a&&(a=!1),this._committing=!1,this._actions=Object.create(null),this._actionSubscribers=[],this._mutations=Object.create(null),this._wrappedGetters=Object.create(null),this._modules=new z(t),this._modulesNamespaceMap=Object.create(null),this._subscribers=[],this._watcherVM=new x,this._makeLocalGettersCache=Object.create(null);var r=this,i=this,o=i.dispatch,n=i.commit;this.dispatch=function(t,e){return o.call(r,t,e)},this.commit=function(t,e,s){return n.call(r,t,e,s)},this.strict=a;var l=this._modules.root.state;F(this,l,[],this._modules.root),D(this,l),s.forEach((function(t){return t(e)}));var u=void 0!==t.devtools?t.devtools:x.config.devtools;u&&v(this)},$={state:{configurable:!0}};function T(t,e,s){return e.indexOf(t)<0&&(s&&s.prepend?e.unshift(t):e.push(t)),function(){var s=e.indexOf(t);s>-1&&e.splice(s,1)}}function B(t,e){t._actions=Object.create(null),t._mutations=Object.create(null),t._wrappedGetters=Object.create(null),t._modulesNamespaceMap=Object.create(null);var s=t.state;F(t,s,[],t._modules.root,!0),D(t,s,e)}function D(t,e,s){var a=t._vm;t.getters={},t._makeLocalGettersCache=Object.create(null);var r=t._wrappedGetters,i={};g(r,(function(e,s){i[s]=w(e,t),Object.defineProperty(t.getters,s,{get:function(){return t._vm[s]},enumerable:!0})}));var o=x.config.silent;x.config.silent=!0,t._vm=new x({data:{$$state:e},computed:i}),x.config.silent=o,t.strict&&P(t),a&&(s&&t._withCommit((function(){a._data.$$state=null})),x.nextTick((function(){return a.$destroy()})))}function F(t,e,s,a,r){var i=!s.length,o=t._modules.getNamespace(s);if(a.namespaced&&(t._modulesNamespaceMap[o],t._modulesNamespaceMap[o]=a),!i&&!r){var n=N(e,s.slice(0,-1)),l=s[s.length-1];t._withCommit((function(){x.set(n,l,a.state)}))}var u=a.context=E(t,o,s);a.forEachMutation((function(e,s){var a=o+s;j(t,a,e,u)})),a.forEachAction((function(e,s){var a=e.root?s:o+s,r=e.handler||e;O(t,a,r,u)})),a.forEachGetter((function(e,s){var a=o+s;V(t,a,e,u)})),a.forEachChild((function(a,i){F(t,e,s.concat(i),a,r)}))}function E(t,e,s){var a=""===e,r={dispatch:a?t.dispatch:function(s,a,r){var i=L(s,a,r),o=i.payload,n=i.options,l=i.type;return n&&n.root||(l=e+l),t.dispatch(l,o)},commit:a?t.commit:function(s,a,r){var i=L(s,a,r),o=i.payload,n=i.options,l=i.type;n&&n.root||(l=e+l),t.commit(l,o,n)}};return Object.defineProperties(r,{getters:{get:a?function(){return t.getters}:function(){return A(t,e)}},state:{get:function(){return N(t.state,s)}}}),r}function A(t,e){if(!t._makeLocalGettersCache[e]){var s={},a=e.length;Object.keys(t.getters).forEach((function(r){if(r.slice(0,a)===e){var i=r.slice(a);Object.defineProperty(s,i,{get:function(){return t.getters[r]},enumerable:!0})}})),t._makeLocalGettersCache[e]=s}return t._makeLocalGettersCache[e]}function j(t,e,s,a){var r=t._mutations[e]||(t._mutations[e]=[]);r.push((function(e){s.call(t,a.state,e)}))}function O(t,e,s,a){var r=t._actions[e]||(t._actions[e]=[]);r.push((function(e){var r=s.call(t,{dispatch:a.dispatch,commit:a.commit,getters:a.getters,state:a.state,rootGetters:t.getters,rootState:t.state},e);return _(r)||(r=Promise.resolve(r)),t._devtoolHook?r.catch((function(e){throw t._devtoolHook.emit("vuex:error",e),e})):r}))}function V(t,e,s,a){t._wrappedGetters[e]||(t._wrappedGetters[e]=function(t){return s(a.state,a.getters,t.state,t.getters)})}function P(t){t._vm.$watch((function(){return this._data.$$state}),(function(){0}),{deep:!0,sync:!0})}function N(t,e){return e.reduce((function(t,e){return t[e]}),t)}function L(t,e,s){return y(t)&&t.type&&(s=e,e=t,t=t.type),{type:t,payload:e,options:s}}function G(t){x&&t===x||(x=t,p(x))}$.state.get=function(){return this._vm._data.$$state},$.state.set=function(t){0},S.prototype.commit=function(t,e,s){var a=this,r=L(t,e,s),i=r.type,o=r.payload,n=(r.options,{type:i,payload:o}),l=this._mutations[i];l&&(this._withCommit((function(){l.forEach((function(t){t(o)}))})),this._subscribers.slice().forEach((function(t){return t(n,a.state)})))},S.prototype.dispatch=function(t,e){var s=this,a=L(t,e),r=a.type,i=a.payload,o={type:r,payload:i},n=this._actions[r];if(n){try{this._actionSubscribers.slice().filter((function(t){return t.before})).forEach((function(t){return t.before(o,s.state)}))}catch(u){0}var l=n.length>1?Promise.all(n.map((function(t){return t(i)}))):n[0](i);return new Promise((function(t,e){l.then((function(e){try{s._actionSubscribers.filter((function(t){return t.after})).forEach((function(t){return t.after(o,s.state)}))}catch(u){0}t(e)}),(function(t){try{s._actionSubscribers.filter((function(t){return t.error})).forEach((function(e){return e.error(o,s.state,t)}))}catch(u){0}e(t)}))}))}},S.prototype.subscribe=function(t,e){return T(t,this._subscribers,e)},S.prototype.subscribeAction=function(t,e){var s="function"===typeof t?{before:t}:t;return T(s,this._actionSubscribers,e)},S.prototype.watch=function(t,e,s){var a=this;return this._watcherVM.$watch((function(){return t(a.state,a.getters)}),e,s)},S.prototype.replaceState=function(t){var e=this;this._withCommit((function(){e._vm._data.$$state=t}))},S.prototype.registerModule=function(t,e,s){void 0===s&&(s={}),"string"===typeof t&&(t=[t]),this._modules.register(t,e),F(this,this.state,t,this._modules.get(t),s.preserveState),D(this,this.state)},S.prototype.unregisterModule=function(t){var e=this;"string"===typeof t&&(t=[t]),this._modules.unregister(t),this._withCommit((function(){var s=N(e.state,t.slice(0,-1));x.delete(s,t[t.length-1])})),B(this)},S.prototype.hasModule=function(t){return"string"===typeof t&&(t=[t]),this._modules.isRegistered(t)},S.prototype.hotUpdate=function(t){this._modules.update(t),B(this,!0)},S.prototype._withCommit=function(t){var e=this._committing;this._committing=!0,t(),this._committing=e},Object.defineProperties(S.prototype,$);var I=J((function(t,e){var s={};return q(e).forEach((function(e){var a=e.key,r=e.val;s[a]=function(){var e=this.$store.state,s=this.$store.getters;if(t){var a=X(this.$store,"mapState",t);if(!a)return;e=a.context.state,s=a.context.getters}return"function"===typeof r?r.call(this,e,s):e[r]},s[a].vuex=!0})),s})),R=J((function(t,e){var s={};return q(e).forEach((function(e){var a=e.key,r=e.val;s[a]=function(){var e=[],s=arguments.length;while(s--)e[s]=arguments[s];var a=this.$store.commit;if(t){var i=X(this.$store,"mapMutations",t);if(!i)return;a=i.context.commit}return"function"===typeof r?r.apply(this,[a].concat(e)):a.apply(this.$store,[r].concat(e))}})),s})),H=J((function(t,e){var s={};return q(e).forEach((function(e){var a=e.key,r=e.val;r=t+r,s[a]=function(){if(!t||X(this.$store,"mapGetters",t))return this.$store.getters[r]},s[a].vuex=!0})),s})),U=J((function(t,e){var s={};return q(e).forEach((function(e){var a=e.key,r=e.val;s[a]=function(){var e=[],s=arguments.length;while(s--)e[s]=arguments[s];var a=this.$store.dispatch;if(t){var i=X(this.$store,"mapActions",t);if(!i)return;a=i.context.dispatch}return"function"===typeof r?r.apply(this,[a].concat(e)):a.apply(this.$store,[r].concat(e))}})),s})),Z=function(t){return{mapState:I.bind(null,t),mapGetters:H.bind(null,t),mapMutations:R.bind(null,t),mapActions:U.bind(null,t)}};function q(t){return W(t)?Array.isArray(t)?t.map((function(t){return{key:t,val:t}})):Object.keys(t).map((function(e){return{key:e,val:t[e]}})):[]}function W(t){return Array.isArray(t)||y(t)}function J(t){return function(e,s){return"string"!==typeof e?(s=e,e=""):"/"!==e.charAt(e.length-1)&&(e+="/"),t(e,s)}}function X(t,e,s){var a=t._modulesNamespaceMap[s];return a}function K(t){void 0===t&&(t={});var e=t.collapsed;void 0===e&&(e=!0);var s=t.filter;void 0===s&&(s=function(t,e,s){return!0});var a=t.transformer;void 0===a&&(a=function(t){return t});var r=t.mutationTransformer;void 0===r&&(r=function(t){return t});var i=t.actionFilter;void 0===i&&(i=function(t,e){return!0});var o=t.actionTransformer;void 0===o&&(o=function(t){return t});var n=t.logMutations;void 0===n&&(n=!0);var l=t.logActions;void 0===l&&(l=!0);var u=t.logger;return void 0===u&&(u=console),function(t){var d=m(t.state);"undefined"!==typeof u&&(n&&t.subscribe((function(t,i){var o=m(i);if(s(t,d,o)){var n=tt(),l=r(t),c="mutation "+t.type+n;Y(u,c,e),u.log("%c prev state","color: #9E9E9E; font-weight: bold",a(d)),u.log("%c mutation","color: #03A9F4; font-weight: bold",l),u.log("%c next state","color: #4CAF50; font-weight: bold",a(o)),Q(u)}d=o})),l&&t.subscribeAction((function(t,s){if(i(t,s)){var a=tt(),r=o(t),n="action "+t.type+a;Y(u,n,e),u.log("%c action","color: #03A9F4; font-weight: bold",r),Q(u)}})))}}function Y(t,e,s){var a=s?t.groupCollapsed:t.group;try{a.call(t,e)}catch(r){t.log(e)}}function Q(t){try{t.groupEnd()}catch(e){t.log("—— log end ——")}}function tt(){var t=new Date;return" @ "+st(t.getHours(),2)+":"+st(t.getMinutes(),2)+":"+st(t.getSeconds(),2)+"."+st(t.getMilliseconds(),3)}function et(t,e){return new Array(e+1).join(t)}function st(t,e){return et("0",e-t.toString().length)+t}var at={Store:S,install:G,version:"3.6.2",mapState:I,mapMutations:R,mapGetters:H,mapActions:U,createNamespacedHelpers:Z,createLogger:K},rt=at,it=JSON.parse('{"global":{"title":"Global Average","mbps":7,"rtt":30},"edge":{"title":"Mobile Edge","mbps":0.24,"rtt":840},"2g":{"title":"2G","mbps":0.28,"rtt":800},"3gs":{"title":"3G Slow","mbps":0.4,"rtt":400},"3gb":{"title":"3G Basic","mbps":1.6,"rtt":300},"3gf":{"title":"3G Fast","mbps":1.6,"rtt":150},"4g":{"title":"4G","mbps":9,"rtt":170},"lte":{"title":"LTE","mbps":12,"rtt":70},"dup":{"title":"Dial Up","mbps":0.05,"rtt":120},"dsl":{"title":"DSL","mbps":1.5,"rtt":50},"cable":{"title":"Cable","mbps":5,"rtt":28},"fios":{"title":"FIOS","mbps":20,"rtt":4}}');const ot=5;function nt(t,e){const s=e/1024/1024,a=t.mbps,r=a/8,i=t.rtt/1e3,o=s/r+i,n=o>ot,l=(n?"+":"-")+Math.abs(o-ot).toFixed(2)+"s";return{totalDownloadTime:o,isDownloadTimeOverThreshold:n,timeDifferenceToThreshold:l}}function lt(t){return Object.keys(it).reduce(((e,s)=>(e[s]={...nt(it[s],t),...it[s]},e)),{})}function ut(t,e){let s=t.slice();if(s.length){const t=s[0].size;s=s.map((s=>{const a=s.size[e];return{name:s.name,size:a,big:a>25e4,ratio:a/t,secondary:/\.map$/.test(s.name),speeds:lt(a)}})),s.sort(((t,e)=>t.secondary===e.secondary?e.size-t.size:t.secondary&&!e.secondary?1:-1))}return s}Vue.use(rt);const dt=new rt.Store({state(){return{sizeField:localStorage.getItem("org.vue.vue-webpack.sizeField")||"parsed",mode:"serve",showModernBuild:!0,serve:{stats:null,analyzer:{}},build:{stats:null,analyzer:{}},"build-modern":{stats:null,analyzer:{}}}},getters:{sizeField:t=>t.sizeField,mode:t=>"build"===t.mode&&t.showModernBuild?"build-modern":t.mode,stats:(t,e)=>t[e.mode].stats,errors:(t,e)=>e.stats&&e.stats.data.errors||[],warnings:(t,e)=>e.stats&&e.stats.data.warnings||[],assets:(t,e)=>e.stats&&e.stats.data.assets||[],assetsSorted:(t,e)=>ut(e.assets,e.sizeField),assetsTotalSize:(t,e)=>e.assetsSorted.filter((t=>!t.secondary)).reduce(((t,e)=>t+e.size),0),modules:(t,e)=>e.stats&&e.stats.computed.modulesPerSizeType[e.sizeField]||{},modulesTotalSize:(t,e)=>e.modules.modulesTotalSize||0,analyzer:(t,e)=>t[e.mode].analyzer[e.sizeField],modulesTrees:(t,e)=>e.analyzer&&e.analyzer.modulesTrees||[],depModules:(t,e)=>e.modules.depModules||[],depModulesTotalSize:(t,e)=>e.modules.depModulesTotalSize||0,chunks:(t,e)=>e.stats&&e.stats.data.chunks||[]},mutations:{sizeField(t,e){t.sizeField=e,localStorage.setItem("org.vue.vue-webpack.sizeField",e)},mode(t,e){t.mode=e},showModernBuild(t,e){t.showModernBuild=e},stats(t,{mode:e,value:s}){t[e].stats=Object.freeze(s)},analyzer(t,{mode:e,value:s}){console.log(s),t[e].analyzer=Object.freeze(s)}}});var ct=dt,pt={store:ct,inject:["TaskDetails"],data(){return{mode:null}},sharedData(){return{serveUrl:"org.vue.webpack.serve-url",modernMode:"org.vue.webpack.modern-mode"}},computed:{sizeField:{get(){return this.$store.getters.sizeField},set(t){this.$store.commit("sizeField",t)}},showModernBuild:{get(){return this.$store.state.showModernBuild},set(t){this.$store.commit("showModernBuild",t)}}},watch:{modernMode:{handler(t){this.showModernBuild=t},immediate:!0}},created(){const t=this.mode=this.TaskDetails.task.command.match(/vue-cli-service\s+(\S+)/)[1];this.$store.commit("mode",t),"build"===t&&this.syncMode("build-modern"),this.syncMode(t)},methods:{syncMode(t){this.$watchSharedData(`org.vue.webpack.${t}-stats`,(e=>{this.$store.commit("stats",{mode:t,value:e})}))}}},ft=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"build-status card"},[s("div",{staticClass:"content"},[s("div",{staticClass:"info-block status"},[s("div",{staticClass:"label"},[t._v(" "+t._s(t.$t("org.vue.vue-webpack.dashboard.build-status.labels.status"))+" ")]),s("div",{staticClass:"value"},[t._v(t._s(t.$t("org.vue.vue-webpack.dashboard.webpack-status."+(t.status||"Idle"))))])]),s("div",{staticClass:"info-block errors",class:{emphasize:t.errors.length}},[s("div",{staticClass:"label"},[t._v(" "+t._s(t.$t("org.vue.vue-webpack.dashboard.build-status.labels.errors"))+" ")]),s("div",{staticClass:"value"},[t._v(t._s(t.errors.length))])]),s("div",{staticClass:"info-block warnings",class:{emphasize:t.warnings.length}},[s("div",{staticClass:"label"},[t._v(" "+t._s(t.$t("org.vue.vue-webpack.dashboard.build-status.labels.warnings"))+" ")]),s("div",{staticClass:"value"},[t._v(t._s(t.warnings.length))])]),s("div",{staticClass:"info-block assets"},[s("div",{staticClass:"label"},[t._v(" "+t._s(t.$t("org.vue.vue-webpack.dashboard.build-status.labels.assets"))+" ")]),s("div",{staticClass:"value"},[t._v(" "+t._s(t._f("size")(t.assetsTotalSize,"B"))+" "),s("span",{staticClass:"secondary"},[t._v(" ("+t._s(t.$t("org.vue.vue-webpack.sizes."+t.sizeField))+") ")])])]),s("div",{staticClass:"info-block modules"},[s("div",{staticClass:"label"},[t._v(" "+t._s(t.$t("org.vue.vue-webpack.dashboard.build-status.labels.modules"))+" ")]),s("div",{staticClass:"value"},[t._v(" "+t._s(t._f("size")(t.modulesTotalSize,"B"))+" "),s("span",{staticClass:"secondary"},[t._v(" ("+t._s(t.$t("org.vue.vue-webpack.sizes."+t.sizeField))+") ")])])]),s("div",{staticClass:"info-block dep-modules"},[s("div",{staticClass:"label"},[t._v(" "+t._s(t.$t("org.vue.vue-webpack.dashboard.build-status.labels.deps"))+" ")]),s("div",{staticClass:"value"},[t._v(" "+t._s(t._f("size")(t.depModulesTotalSize,"B"))+" "),s("span",{staticClass:"secondary"},[t._v(" "+t._s(t._f("round")(t.depSizeRatio,100))+"% ")])])])])])},ht=[];function vt(t,e="",s=1){const a={label:"k",value:1024},r={label:"M",value:1048576};let i;return t>=r.value?i=r:(i=a,t<.92*a.value&&0===s&&(s=1)),(t/i.value).toFixed(s)+i.label+e}function bt(t,e){return Math.round(t*e)/e}var mt={filters:{size:vt,round:bt},computed:{...H(["sizeField","mode","errors","warnings","assetsTotalSize","modulesTotalSize","depModulesTotalSize"]),depSizeRatio(){return this.modulesTotalSize?this.depModulesTotalSize/this.modulesTotalSize*100:0}},sharedData(){return{status:`org.vue.webpack.${this.mode}-status`}}},gt=mt;s(463);function yt(t,e,s,a,r,i,o,n){var l,u="function"===typeof t?t.options:t;if(e&&(u.render=e,u.staticRenderFns=s,u._compiled=!0),a&&(u.functional=!0),i&&(u._scopeId="data-v-"+i),o?(l=function(t){t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,t||"undefined"===typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),r&&r.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(o)},u._ssrRegister=l):r&&(l=n?function(){r.call(this,(u.functional?this.parent:this).$root.$options.shadowRoot)}:r),l)if(u.functional){u._injectStyles=l;var d=u.render;u.render=function(t,e){return l.call(e),d(t,e)}}else{var c=u.beforeCreate;u.beforeCreate=c?[].concat(c,l):[l]}return{exports:t,options:u}}var _t=yt(gt,ft,ht,!1,null,"75705bbf",null),wt=_t.exports,kt=function(){var t,e=this,s=e.$createElement,a=e._self._c||s;return a("div",{staticClass:"build-progress card",class:(t={},t["mode-"+e.mode]=!0,t)},[a("div",{staticClass:"content"},[a("div",{staticClass:"progress-wrapper"},[a("transition-group",{staticClass:"progress-bars",attrs:{name:"vue-ui-fade"}},e._l(Object.keys(e.progress),(function(t,s){var r;return a("div",{key:t,staticClass:"progress-bar-wrapper"},[a("loading-progress",{key:t,staticClass:"progress-bar",class:(r={"disable-animation":0===e.progress[t]},r["mode-"+t]=!0,r),attrs:{progress:e.progress[t],size:128-16*s,"counter-clockwise":""}})],1)})),0),a("div",{staticClass:"progress"},[a("div",{staticClass:"progress-animation",class:{active:e.status&&"Idle"!==e.status}},e._l(4,(function(t){return a("div",{key:t,staticClass:"animation",style:{"animation-delay":.25*t+"s"}})})),0)]),a("transition",{attrs:{duration:"500"}},["Success"===e.status?a("div",{staticClass:"status-icon done"},[a("div",{staticClass:"wrapper"},[a("VueIcon",{attrs:{icon:"check_circle"}})],1)]):e._e()]),a("transition",{attrs:{duration:"500"}},["Failed"===e.status?a("div",{staticClass:"status-icon error"},[a("div",{staticClass:"wrapper"},[a("VueIcon",{attrs:{icon:"error"}})],1)]):e._e()])],1),a("div",{staticClass:"operations"},[e.operations?a("span",[e._v(e._s(e.operations))]):a("VueIcon",{staticClass:"blank-icon",attrs:{icon:"more_horiz"}})],1)])])},Ct=[],zt={sharedData(){return mapSharedData("org.vue.webpack.",{status:`${this.mode}-status`,rawProgress:`${this.mode}-progress`,operations:`${this.mode}-operations`})},computed:{...H(["mode"]),progress(){const t=this.rawProgress;return t&&Object.keys(t).length?t:{[this.mode]:0}}}},Mt=zt,xt=(s(783),yt(Mt,kt,Ct,!1,null,"2196a8bb",null)),St=xt.exports,$t=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"speed-stats card"},[s("div",{staticClass:"content"},[s("div",{staticClass:"title"},[t._v(" "+t._s(t.$t("org.vue.vue-webpack.dashboard.speed-stats.title"))+" ")]),t.assetsTotalSize?s("div",{staticClass:"items"},t._l(t.speeds,(function(t,e){return s("SpeedStatsItem",{key:e,attrs:{stats:t}})})),1):s("VueIcon",{staticClass:"blank-icon",attrs:{icon:"more_horiz"}})],1)])},Tt=[],Bt=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{directives:[{name:"tooltip",rawName:"v-tooltip",value:{content:t.tooltip,offset:16},expression:"{\n content: tooltip,\n offset: 16\n }"}],staticClass:"speed-stats-item"},[s("div",{staticClass:"content"},[s("div",{staticClass:"label"},[t._v(t._s(t.stats.title))]),s("div",{staticClass:"value"},[t._v(t._s(t._f("round")(t.stats.totalDownloadTime,100))+"s")])])])},Dt=[],Ft={filters:{round:bt},props:{stats:{type:Object,required:!0}},computed:{tooltip(){return`${this.stats.mbps}Mbps + ${this.stats.rtt}ms RTT`}}},Et=Ft,At=(s(622),yt(Et,Bt,Dt,!1,null,"4adb230f",null)),jt=At.exports,Ot={components:{SpeedStatsItem:jt},computed:{...H(["assetsTotalSize"]),speeds(){return lt(this.assetsTotalSize)}}},Vt=Ot,Pt=(s(254),yt(Vt,$t,Tt,!1,null,"b54aa84a",null)),Nt=Pt.exports,Lt=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"asset-list card list-block"},[s("div",{staticClass:"content"},[s("div",{staticClass:"title"},[t._v(" "+t._s(t.$t("org.vue.vue-webpack.dashboard.asset-list.title"))+" ")]),t.assetsSorted.length?[s("div",{staticClass:"headers"},[s("div",{staticClass:"header"}),s("div",{staticClass:"header size-field"},[t._v(t._s(t.sizeField))]),s("div",{staticClass:"header"},[t._v("Global")]),s("div",{staticClass:"header"},[t._v("3G Slow")]),s("div",{staticClass:"header"},[t._v("3G Fast")]),s("div",{staticClass:"header"})]),s("div",{staticClass:"list"},t._l(t.assetsSorted,(function(t){return s("AssetListItem",{key:t.name,attrs:{asset:t}})})),1)]:s("VueIcon",{staticClass:"blank-icon",attrs:{icon:"more_horiz"}})],2)])},Gt=[],It=function(t,e){var s=e._c;return s("div",{staticClass:"asset-list-item",class:{big:e.props.asset.big,secondary:e.props.asset.secondary}},[s("div",{staticClass:"content"},[s("div",{staticClass:"info name"},[e._v(e._s(e.props.asset.name))]),s("div",{staticClass:"info size"},[e._v(e._s(e._f("size")(e.props.asset.size,"B")))]),s("div",{staticClass:"info speed global"},[e._v(e._s(e._f("round")(e.props.asset.speeds.global.totalDownloadTime,100))+"s")]),s("div",{staticClass:"info speed 3gs"},[e._v(e._s(e._f("round")(e.props.asset.speeds["3gs"].totalDownloadTime,100))+"s")]),s("div",{staticClass:"info speed 3gf"},[e._v(e._s(e._f("round")(e.props.asset.speeds["3gf"].totalDownloadTime,100))+"s")]),s("div",{staticClass:"info warning"},[!e.props.asset.secondary&&e.props.asset.big?s("VueIcon",{directives:[{name:"tooltip",rawName:"v-tooltip",value:e.parent.$t("org.vue.vue-webpack.dashboard.asset-list.size-warning"),expression:"parent.$t('org.vue.vue-webpack.dashboard.asset-list.size-warning')"}],staticClass:"icon",attrs:{icon:"warning"}}):e._e()],1)])])},Rt=[],Ht={filters:{size:vt,round:bt},props:{asset:{type:Object,required:!0}}},Ut=Ht,Zt=(s(373),yt(Ut,It,Rt,!0,null,"6cde651f",null)),qt=Zt.exports,Wt={components:{AssetListItem:qt},computed:{...H(["assetsSorted","sizeField"])}},Jt=Wt,Xt=(s(881),yt(Jt,Lt,Gt,!1,null,"9b630720",null)),Kt=Xt.exports,Yt=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"module-list card list-block"},[s("div",{staticClass:"content"},[s("div",{staticClass:"title"},[t._v(" "+t._s(t.$t("org.vue.vue-webpack.dashboard.module-list.title"))+" ")]),t.depModules.length?t._e():s("VueIcon",{staticClass:"blank-icon",attrs:{icon:"more_horiz"}}),s("div",{staticClass:"list"},t._l(t.depModules,(function(t){return s("ModuleListItem",{key:t.id,attrs:{module:t}})})),1)],1)])},Qt=[],te=function(t,e){var s=e._c;return s("div",{staticClass:"module-list-item"},[s("div",{staticClass:"content"},[s("div",{staticClass:"info name"},[e._v(e._s(e.props.module.name))]),s("div",{staticClass:"info size"},[e._v(e._s(e._f("size")(e.props.module.size,"B")))]),s("div",{staticClass:"info"},[s("VueLoadingBar",{staticClass:"primary",attrs:{value:e.props.module.ratio}})],1)])])},ee=[],se={filters:{size:vt},props:{module:{type:Object,required:!0}}},ae=se,re=(s(806),yt(ae,te,ee,!0,null,"352f8850",null)),ie=re.exports,oe={components:{ModuleListItem:ie},computed:{...H(["depModules"])}},ne=oe,le=yt(ne,Yt,Qt,!1,null,null,null),ue=le.exports,de={mixins:[pt],components:{BuildStatus:wt,BuildProgress:St,SpeedStats:Nt,AssetList:Kt,ModuleList:ue}},ce=de,pe=(s(938),s(417),yt(ce,d,c,!1,null,"4a48e919",null)),fe=pe.exports,he=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"vue-webpack-analyzer"},[s("div",{staticClass:"pane-toolbar card"},[s("VueIcon",{attrs:{icon:"donut_large"}}),s("div",{staticClass:"title"},[t._v(t._s(t.$t("org.vue.vue-webpack.analyzer.title")))]),"serve"!==t.mode&&t.modernMode?s("VueSwitch",{model:{value:t.showModernBuild,callback:function(e){t.showModernBuild=e},expression:"showModernBuild"}},[t._v(" "+t._s(t.$t("org.vue.vue-webpack.modern-mode"))+" ")]):t._e(),t.currentTree?[s("VueButton",{attrs:{"icon-left":"arrow_upward",label:t.$t("org.vue.vue-webpack.analyzer.go-up"),disabled:t.currentTree===t.rootTree},on:{click:function(e){return t.goToParent()}}}),s("VueButton",{attrs:{"icon-left":"home",label:t.$t("org.vue.vue-webpack.analyzer.go-home"),disabled:t.currentTree===t.rootTree},on:{click:function(e){return t.goToHome()}}}),s("VueIcon",{staticClass:"separator",attrs:{icon:"lens"}})]:t._e(),s("VueSelect",{attrs:{disabled:0===Object.keys(t.modulesTrees).length},model:{value:t.selectedChunk,callback:function(e){t.selectedChunk=e},expression:"selectedChunk"}},t._l(t.modulesTrees,(function(e,a){return s("VueSelectButton",{key:a,attrs:{value:a,label:t.$t("org.vue.vue-webpack.analyzer.chunk")+" "+t.getChunkName(a)}})})),1),s("VueSelect",{model:{value:t.sizeField,callback:function(e){t.sizeField=e},expression:"sizeField"}},[s("VueSelectButton",{attrs:{value:"stats",label:""+t.$t("org.vue.vue-webpack.sizes.stats")}}),s("VueSelectButton",{attrs:{value:"parsed",label:""+t.$t("org.vue.vue-webpack.sizes.parsed")}}),s("VueSelectButton",{attrs:{value:"gzip",label:""+t.$t("org.vue.vue-webpack.sizes.gzip")}})],1),s("VueButton",{directives:[{name:"tooltip",rawName:"v-tooltip",value:t.$t("org.vue.vue-webpack.sizes.help"),expression:"$t('org.vue.vue-webpack.sizes.help')"}],staticClass:"icon-button",attrs:{"icon-left":"help"}})],2),s("div",{staticClass:"content"},[t.currentTree?[s("svg",{key:t.sizeField,ref:"svg",staticClass:"donut",class:{hover:t.hoverModule},attrs:{viewBox:"0 0 80 80"},on:{mousemove:t.onMouseMove,mouseout:t.onMouseOut,click:t.onDonutClick}},[s("g",{attrs:{transform:"translate(40, 40)"}},t._l(t.currentTree.children,(function(e,a){return s("DonutModule",{key:e.id,attrs:{module:e,"parent-module":t.currentTree,colors:t.getColors(a),depth:0,"parent-ratio":1}})})),1)])]:t._e(),t.describedModule?s("div",{staticClass:"described-module"},[s("div",{staticClass:"wrapper card"},[s("div",{staticClass:"path",domProps:{innerHTML:t._s(t.modulePath)}}),s("div",{staticClass:"stats size",class:{selected:"stats"===t.sizeField}},[t._v(" "+t._s(t.$t("org.vue.vue-webpack.sizes.stats"))+": "+t._s(t._f("size")(t.describedModule.size.stats,"B"))+" ")]),s("div",{staticClass:"parsed size",class:{selected:"parsed"===t.sizeField}},[t._v(" "+t._s(t.$t("org.vue.vue-webpack.sizes.parsed"))+": "+t._s(t._f("size")(t.describedModule.size.parsed,"B"))+" ")]),s("div",{staticClass:"gzip size",class:{selected:"gzip"===t.sizeField}},[t._v(" "+t._s(t.$t("org.vue.vue-webpack.sizes.gzip"))+": "+t._s(t._f("size")(t.describedModule.size.gzip,"B"))+" ")])])]):t._e()],2)])},ve=[],be={light:[["#42b983","#5DC395","#78CDA7","#93D7B9","#AEE1CB","#C9EBDD"],["#A96FDA","#B684DF","#C399E4","#D0AEE9","#DDC3EE","#EAD8F3"],["#03C2E6","#27CBEA","#4BD4EE","#6FDDF2","#93E6F6","#B7EFFA"],["#778F9B","#8B9FA9","#9FAFB7","#B3BFC5","#C7CFD3","#DBDFE1"]],dark:[["#42b983","#3CA978","#37986C","#318760","#2A7654","#246548"],["#A96FDA","#9A65C7","#8B5BB3","#7B519F","#6C478B","#5D3D77"],["#03C2E6","#03B1D2","#039FBD","#038EA8","#027C93","#026A7E"],["#778F9B","#6D828D","#62767F","#576971","#4C5C63","#414E55"]]},me=function(){var t=this,e=t.$createElement,s=t._self._c||e;return t.visible?s("g",{staticClass:"donut-module",class:{hover:t.hover},attrs:{transform:"translate(-"+t.size/2+", -"+t.size/2+") rotate("+t.rotation+", "+t.size/2+", "+t.size/2+")"}},[s("g",{staticClass:"container"},[s("path",{ref:"path",staticClass:"progress",attrs:{d:"M "+t.size/2+", "+t.size/2+"\n m 0, -"+t.size/2+"\n a "+t.size/2+","+t.size/2+" 0 1 1 0,"+t.size+"\n a "+t.size/2+","+t.size/2+" 0 1 1 0,-"+t.size,"stroke-dasharray":t.finalDasharray-.25+" "+(t.finalDasharray-.25),"stroke-dashoffset":t.finalDashoffset,stroke:t.stroke}})]),t.depth+1<t.colors.length?s("g",{staticClass:"children",attrs:{transform:"translate("+t.size/2+", "+t.size/2+")"}},t._l(t.module.children,(function(e){return t.isVisible(t.getRatio(e,t.ratio))?s("DonutModule",{key:e.id,attrs:{module:e,depth:t.depth+1,"parent-module":t.module,"parent-ratio":t.ratio,colors:t.colors}}):t._e()})),1):t._e()]):t._e()},ge=[],ye={name:"DonutModule",inject:["WebpackAnalyzer"],props:{module:{type:Object,required:!0},parentModule:{type:Object,default:void 0},depth:{type:Number,required:!0},parentRatio:{type:Number,required:!0},colors:{type:Array,required:!0}},data(){return{dasharray:0}},computed:{...H(["sizeField"]),finalDasharray(){return 0===this.finalDashoffset||this.finalDashoffset===2*this.dasharray?0:this.dasharray},finalDashoffset(){return this.ratio<0?-this.dasharray*this.ratio+this.dasharray:(1-this.ratio)*this.dasharray},ratio(){return this.getRatio(this.module,this.parentRatio)},rotation(){return this.module.previousSize[this.sizeField]/this.parentModule.size[this.sizeField]*this.parentRatio*360},size(){return 6.5*this.depth+40},stroke(){return this.colors[this.depth]},visible(){return this.isVisible(this.ratio)},hover(){return this.WebpackAnalyzer.hoverModule===this.module}},mounted(){this.visible&&(this.dasharray=this.$refs.path.getTotalLength())},methods:{getRatio(t,e){return t.size[this.sizeField]/this.parentModule.size[this.sizeField]*e},isVisible(t){return t>.0025}}},_e=ye,we=(s(218),yt(_e,me,ge,!1,null,"1d488584",null)),ke=we.exports,Ce={clientState:!0,mixins:[pt],filters:{size:vt},components:{DonutModule:ke},provide(){return{WebpackAnalyzer:this.injection}},data(){return{selectedChunk:null,injection:{hoverModule:null},currentTree:null,currentParent:null}},computed:{...H(["modulesTrees","chunks"]),hoverModule:{get(){return this.injection.hoverModule},set(t){this.injection.hoverModule=t}},describedModule(){return this.hoverModule||this.currentTree},modulePath(){if(!this.describedModule)return;let t=`<b>${this.describedModule.id}</b>`,e=this.describedModule;while(e.parent&&e!==this.currentTree)e=e.parent,t=`${e.id} / ${t}`;return t},rootTree(){return this.modulesTrees&&this.modulesTrees[this.selectedChunk]}},watch:{modulesTrees:{handler(t){if(t){const e=Object.keys(t);if(e.length)return this.selectedChunk&&e.includes(this.selectedChunk)||e.length&&(this.selectedChunk=e[0]),void this.goToHome()}this.currentTree=null,this.selectedChunk=null},immediate:!0},selectedChunk:{handler:"goToHome",immediate:!0}},methods:{syncMode(t){pt.methods.syncMode.call(this,t),this.$watchSharedData(`org.vue.webpack.${t}-stats-analyzer`,(e=>{this.$store.commit("analyzer",{mode:t,value:e})}))},getColors(t){const e=be[this.darkMode?"dark":"light"];return e[t%e.length]},getChunk(t){return this.chunks.find((e=>e.id.toString()===t.toString()))},getChunkName(t){const e=this.getChunk(t);if(e){if(e.names&&e.names.length)return`${e.names[0]} (${t})`;if(e.files&&e.files.length)return`${e.files[0]} (${t})`}return t},onMouseMove(t){const e=this.$refs.svg,{clientX:s,clientY:a}=t,r=e.createSVGPoint();r.x=s,r.y=a;let{x:i,y:o}=r.matrixTransform(e.getScreenCTM().inverse());i-=40,o-=40;let n=Math.atan2(o,i)/Math.PI*180+90;n=(n%360+360)%360;const l=Math.sqrt(i*i+o*o),u=Math.floor((2*(l+1.5)-40)/6.5);if(u<0)return void(this.hoverModule=null);const d=this.sizeField;let c=this.currentTree,p=n,f=p/360,h=c.size[d]*f,v=1;for(let b=0;b<=u;b++){let t=!1;for(const e of c.children){const s=e.previousSize[d],a=e.size[d];if(s+a>=h){const r=c.size[d],i=a/r*v,o=s/r*v*360;p-=o,f=p/360/i,h=a*f,v=i,c=e,t=!0;break}}if(!t){c=null;break}}this.hoverModule=c},onMouseOut(t){this.hoverModule=null},onDonutClick(){this.hoverModule&&this.hoverModule.children.length&&(this.currentParent=this.currentTree,this.currentTree=this.hoverModule,this.hoverModule=null)},goToParent(){this.currentParent&&(this.currentTree=this.currentParent)},goToHome(){this.currentTree=this.rootTree,this.currentParent=null}}},ze=Ce,Me=(s(867),yt(ze,he,ve,!1,null,"c6d26d6a",null)),xe=Me.exports,Se=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"test-view"},[s("h1",[t._v(t._s(t.$t("org.vue.vue-webpack.test-view")))]),s("p",[t._v("A vue-cli plugin created me! I am a dynamically loaded component paired with a custom route.")]),s("div",{staticClass:"section"},[s("VueInput",{attrs:{placeholder:"Shared data (with storage)"},model:{value:t.testData,callback:function(e){t.testData=e},expression:"testData"}})],1),s("div",{staticClass:"section"},[s("VueButton",{on:{click:function(e){return t.testPluginAction()}}},[t._v("Test plugin action")])],1)])},$e=[],Te={sharedData:{testData:"test-data"},created(){this.$onPluginActionCalled((t=>{console.log("called",t)})),this.$onPluginActionResolved((t=>{console.log("resolved",t)}))},methods:{testPluginAction(){this.$callPluginAction("test-action",{meow:"meow"})}}},Be=Te,De=(s(209),yt(Be,Se,$e,!1,null,"0b056497",null)),Fe=De.exports;Vue.use(u,{defaultShape:"circle"}),ClientAddonApi.component("org.vue.webpack.components.dashboard",fe),ClientAddonApi.component("org.vue.webpack.components.analyzer",xe),ClientAddonApi.addRoutes("org.vue.webpack",[{path:"",name:"org.vue.webpack.routes.test",component:Fe}]);const Ee=s(625);Ee.keys().forEach((t=>{const e=t.match(/([a-z0-9]+)\./i)[1];ClientAddonApi.addLocalization(e,Ee(t))}))},938:function(t,e,s){var a=s(144);a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[t.id,a,""]]),a.locals&&(t.exports=a.locals);var r=s(440).Z;r("b599040e",a,!0,{sourceMap:!1,shadowMode:!1})},881:function(t,e,s){var a=s(963);a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[t.id,a,""]]),a.locals&&(t.exports=a.locals);var r=s(440).Z;r("1552e550",a,!0,{sourceMap:!1,shadowMode:!1})},373:function(t,e,s){var a=s(958);a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[t.id,a,""]]),a.locals&&(t.exports=a.locals);var r=s(440).Z;r("2babae5f",a,!0,{sourceMap:!1,shadowMode:!1})},783:function(t,e,s){var a=s(148);a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[t.id,a,""]]),a.locals&&(t.exports=a.locals);var r=s(440).Z;r("47e37962",a,!0,{sourceMap:!1,shadowMode:!1})},463:function(t,e,s){var a=s(344);a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[t.id,a,""]]),a.locals&&(t.exports=a.locals);var r=s(440).Z;r("1c79f4d2",a,!0,{sourceMap:!1,shadowMode:!1})},218:function(t,e,s){var a=s(687);a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[t.id,a,""]]),a.locals&&(t.exports=a.locals);var r=s(440).Z;r("2189a52b",a,!0,{sourceMap:!1,shadowMode:!1})},806:function(t,e,s){var a=s(740);a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[t.id,a,""]]),a.locals&&(t.exports=a.locals);var r=s(440).Z;r("697dad1c",a,!0,{sourceMap:!1,shadowMode:!1})},254:function(t,e,s){var a=s(906);a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[t.id,a,""]]),a.locals&&(t.exports=a.locals);var r=s(440).Z;r("37ff192f",a,!0,{sourceMap:!1,shadowMode:!1})},622:function(t,e,s){var a=s(920);a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[t.id,a,""]]),a.locals&&(t.exports=a.locals);var r=s(440).Z;r("1f32688d",a,!0,{sourceMap:!1,shadowMode:!1})},209:function(t,e,s){var a=s(553);a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[t.id,a,""]]),a.locals&&(t.exports=a.locals);var r=s(440).Z;r("59909904",a,!0,{sourceMap:!1,shadowMode:!1})},867:function(t,e,s){var a=s(686);a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[t.id,a,""]]),a.locals&&(t.exports=a.locals);var r=s(440).Z;r("22a12faa",a,!0,{sourceMap:!1,shadowMode:!1})},417:function(t,e,s){var a=s(639);a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[t.id,a,""]]),a.locals&&(t.exports=a.locals);var r=s(440).Z;r("3a94278e",a,!0,{sourceMap:!1,shadowMode:!1})},440:function(t,e,s){"use strict";function a(t,e){for(var s=[],a={},r=0;r<e.length;r++){var i=e[r],o=i[0],n=i[1],l=i[2],u=i[3],d={id:t+":"+r,css:n,media:l,sourceMap:u};a[o]?a[o].parts.push(d):s.push(a[o]={id:o,parts:[d]})}return s}s.d(e,{Z:function(){return h}});var r="undefined"!==typeof document;if("undefined"!==typeof DEBUG&&DEBUG&&!r)throw new Error("vue-style-loader cannot be used in a non-browser environment. Use { target: 'node' } in your Webpack config to indicate a server-rendering environment.");var i={},o=r&&(document.head||document.getElementsByTagName("head")[0]),n=null,l=0,u=!1,d=function(){},c=null,p="data-vue-ssr-id",f="undefined"!==typeof navigator&&/msie [6-9]\b/.test(navigator.userAgent.toLowerCase());function h(t,e,s,r){u=s,c=r||{};var o=a(t,e);return v(o),function(e){for(var s=[],r=0;r<o.length;r++){var n=o[r],l=i[n.id];l.refs--,s.push(l)}e?(o=a(t,e),v(o)):o=[];for(r=0;r<s.length;r++){l=s[r];if(0===l.refs){for(var u=0;u<l.parts.length;u++)l.parts[u]();delete i[l.id]}}}}function v(t){for(var e=0;e<t.length;e++){var s=t[e],a=i[s.id];if(a){a.refs++;for(var r=0;r<a.parts.length;r++)a.parts[r](s.parts[r]);for(;r<s.parts.length;r++)a.parts.push(m(s.parts[r]));a.parts.length>s.parts.length&&(a.parts.length=s.parts.length)}else{var o=[];for(r=0;r<s.parts.length;r++)o.push(m(s.parts[r]));i[s.id]={id:s.id,refs:1,parts:o}}}}function b(){var t=document.createElement("style");return t.type="text/css",o.appendChild(t),t}function m(t){var e,s,a=document.querySelector("style["+p+'~="'+t.id+'"]');if(a){if(u)return d;a.parentNode.removeChild(a)}if(f){var r=l++;a=n||(n=b()),e=y.bind(null,a,r,!1),s=y.bind(null,a,r,!0)}else a=b(),e=_.bind(null,a),s=function(){a.parentNode.removeChild(a)};return e(t),function(a){if(a){if(a.css===t.css&&a.media===t.media&&a.sourceMap===t.sourceMap)return;e(t=a)}else s()}}var g=function(){var t=[];return function(e,s){return t[e]=s,t.filter(Boolean).join("\n")}}();function y(t,e,s,a){var r=s?"":a.css;if(t.styleSheet)t.styleSheet.cssText=g(e,r);else{var i=document.createTextNode(r),o=t.childNodes;o[e]&&t.removeChild(o[e]),o.length?t.insertBefore(i,o[e]):t.appendChild(i)}}function _(t,e){var s=e.css,a=e.media,r=e.sourceMap;if(a&&t.setAttribute("media",a),c.ssrId&&t.setAttribute(p,e.id),r&&(s+="\n/*# sourceURL="+r.sources[0]+" */",s+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(r))))+" */"),t.styleSheet)t.styleSheet.cssText=s;else{while(t.firstChild)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(s))}}},625:function(t,e,s){var a={"./en.json":790};function r(t){var e=i(t);return s(e)}function i(t){if(!s.o(a,t)){var e=new Error("Cannot find module '"+t+"'");throw e.code="MODULE_NOT_FOUND",e}return a[t]}r.keys=function(){return Object.keys(a)},r.resolve=i,t.exports=r,r.id=625},347:function(t,e,s){"use strict";t.exports=s.p+"img/webpack.b72b675b.svg"},790:function(t){"use strict";t.exports=JSON.parse('{"org":{"vue":{"vue-webpack":{"test-view":"I\'m a custom view"}}}}')}},e={};function s(a){var r=e[a];if(void 0!==r)return r.exports;var i=e[a]={id:a,exports:{}};return t[a](i,i.exports,s),i.exports}!function(){s.n=function(t){var e=t&&t.__esModule?function(){return t["default"]}:function(){return t};return s.d(e,{a:e}),e}}(),function(){s.d=function(t,e){for(var a in e)s.o(e,a)&&!s.o(t,a)&&Object.defineProperty(t,a,{enumerable:!0,get:e[a]})}}(),function(){s.g=function(){if("object"===typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(t){if("object"===typeof window)return window}}()}(),function(){s.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)}}(),function(){s.r=function(t){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})}}(),function(){s.p="/_addon/org.vue.webpack.client-addon/"}();s(521)})(); | ||
function p(t){var e=Number(t.version.split(".")[0]);if(e>=2)t.mixin({beforeCreate:a});else{var s=t.prototype._init;t.prototype._init=function(t){void 0===t&&(t={}),t.init=t.init?[a].concat(t.init):a,s.call(this,t)}}function a(){var t=this.$options;t.store?this.$store="function"===typeof t.store?t.store():t.store:t.parent&&t.parent.$store&&(this.$store=t.parent.$store)}}var f="undefined"!==typeof window?window:"undefined"!==typeof s.g?s.g:{},h=f.__VUE_DEVTOOLS_GLOBAL_HOOK__;function v(t){h&&(t._devtoolHook=h,h.emit("vuex:init",t),h.on("vuex:travel-to-state",(function(e){t.replaceState(e)})),t.subscribe((function(t,e){h.emit("vuex:mutation",t,e)}),{prepend:!0}),t.subscribeAction((function(t,e){h.emit("vuex:action",t,e)}),{prepend:!0}))}function b(t,e){return t.filter(e)[0]}function m(t,e){if(void 0===e&&(e=[]),null===t||"object"!==typeof t)return t;var s=b(e,(function(e){return e.original===t}));if(s)return s.copy;var a=Array.isArray(t)?[]:{};return e.push({original:t,copy:a}),Object.keys(t).forEach((function(s){a[s]=m(t[s],e)})),a}function g(t,e){Object.keys(t).forEach((function(s){return e(t[s],s)}))}function y(t){return null!==t&&"object"===typeof t}function _(t){return t&&"function"===typeof t.then}function w(t,e){return function(){return t(e)}}var k=function(t,e){this.runtime=e,this._children=Object.create(null),this._rawModule=t;var s=t.state;this.state=("function"===typeof s?s():s)||{}},C={namespaced:{configurable:!0}};C.namespaced.get=function(){return!!this._rawModule.namespaced},k.prototype.addChild=function(t,e){this._children[t]=e},k.prototype.removeChild=function(t){delete this._children[t]},k.prototype.getChild=function(t){return this._children[t]},k.prototype.hasChild=function(t){return t in this._children},k.prototype.update=function(t){this._rawModule.namespaced=t.namespaced,t.actions&&(this._rawModule.actions=t.actions),t.mutations&&(this._rawModule.mutations=t.mutations),t.getters&&(this._rawModule.getters=t.getters)},k.prototype.forEachChild=function(t){g(this._children,t)},k.prototype.forEachGetter=function(t){this._rawModule.getters&&g(this._rawModule.getters,t)},k.prototype.forEachAction=function(t){this._rawModule.actions&&g(this._rawModule.actions,t)},k.prototype.forEachMutation=function(t){this._rawModule.mutations&&g(this._rawModule.mutations,t)},Object.defineProperties(k.prototype,C);var z=function(t){this.register([],t,!1)};function M(t,e,s){if(e.update(s),s.modules)for(var a in s.modules){if(!e.getChild(a))return void 0;M(t.concat(a),e.getChild(a),s.modules[a])}}z.prototype.get=function(t){return t.reduce((function(t,e){return t.getChild(e)}),this.root)},z.prototype.getNamespace=function(t){var e=this.root;return t.reduce((function(t,s){return e=e.getChild(s),t+(e.namespaced?s+"/":"")}),"")},z.prototype.update=function(t){M([],this.root,t)},z.prototype.register=function(t,e,s){var a=this;void 0===s&&(s=!0);var r=new k(e,s);if(0===t.length)this.root=r;else{var i=this.get(t.slice(0,-1));i.addChild(t[t.length-1],r)}e.modules&&g(e.modules,(function(e,r){a.register(t.concat(r),e,s)}))},z.prototype.unregister=function(t){var e=this.get(t.slice(0,-1)),s=t[t.length-1],a=e.getChild(s);a&&a.runtime&&e.removeChild(s)},z.prototype.isRegistered=function(t){var e=this.get(t.slice(0,-1)),s=t[t.length-1];return!!e&&e.hasChild(s)};var x;var S=function(t){var e=this;void 0===t&&(t={}),!x&&"undefined"!==typeof window&&window.Vue&&G(window.Vue);var s=t.plugins;void 0===s&&(s=[]);var a=t.strict;void 0===a&&(a=!1),this._committing=!1,this._actions=Object.create(null),this._actionSubscribers=[],this._mutations=Object.create(null),this._wrappedGetters=Object.create(null),this._modules=new z(t),this._modulesNamespaceMap=Object.create(null),this._subscribers=[],this._watcherVM=new x,this._makeLocalGettersCache=Object.create(null);var r=this,i=this,o=i.dispatch,n=i.commit;this.dispatch=function(t,e){return o.call(r,t,e)},this.commit=function(t,e,s){return n.call(r,t,e,s)},this.strict=a;var l=this._modules.root.state;F(this,l,[],this._modules.root),D(this,l),s.forEach((function(t){return t(e)}));var u=void 0!==t.devtools?t.devtools:x.config.devtools;u&&v(this)},$={state:{configurable:!0}};function T(t,e,s){return e.indexOf(t)<0&&(s&&s.prepend?e.unshift(t):e.push(t)),function(){var s=e.indexOf(t);s>-1&&e.splice(s,1)}}function B(t,e){t._actions=Object.create(null),t._mutations=Object.create(null),t._wrappedGetters=Object.create(null),t._modulesNamespaceMap=Object.create(null);var s=t.state;F(t,s,[],t._modules.root,!0),D(t,s,e)}function D(t,e,s){var a=t._vm;t.getters={},t._makeLocalGettersCache=Object.create(null);var r=t._wrappedGetters,i={};g(r,(function(e,s){i[s]=w(e,t),Object.defineProperty(t.getters,s,{get:function(){return t._vm[s]},enumerable:!0})}));var o=x.config.silent;x.config.silent=!0,t._vm=new x({data:{$$state:e},computed:i}),x.config.silent=o,t.strict&&P(t),a&&(s&&t._withCommit((function(){a._data.$$state=null})),x.nextTick((function(){return a.$destroy()})))}function F(t,e,s,a,r){var i=!s.length,o=t._modules.getNamespace(s);if(a.namespaced&&(t._modulesNamespaceMap[o],t._modulesNamespaceMap[o]=a),!i&&!r){var n=N(e,s.slice(0,-1)),l=s[s.length-1];t._withCommit((function(){x.set(n,l,a.state)}))}var u=a.context=E(t,o,s);a.forEachMutation((function(e,s){var a=o+s;j(t,a,e,u)})),a.forEachAction((function(e,s){var a=e.root?s:o+s,r=e.handler||e;O(t,a,r,u)})),a.forEachGetter((function(e,s){var a=o+s;V(t,a,e,u)})),a.forEachChild((function(a,i){F(t,e,s.concat(i),a,r)}))}function E(t,e,s){var a=""===e,r={dispatch:a?t.dispatch:function(s,a,r){var i=L(s,a,r),o=i.payload,n=i.options,l=i.type;return n&&n.root||(l=e+l),t.dispatch(l,o)},commit:a?t.commit:function(s,a,r){var i=L(s,a,r),o=i.payload,n=i.options,l=i.type;n&&n.root||(l=e+l),t.commit(l,o,n)}};return Object.defineProperties(r,{getters:{get:a?function(){return t.getters}:function(){return A(t,e)}},state:{get:function(){return N(t.state,s)}}}),r}function A(t,e){if(!t._makeLocalGettersCache[e]){var s={},a=e.length;Object.keys(t.getters).forEach((function(r){if(r.slice(0,a)===e){var i=r.slice(a);Object.defineProperty(s,i,{get:function(){return t.getters[r]},enumerable:!0})}})),t._makeLocalGettersCache[e]=s}return t._makeLocalGettersCache[e]}function j(t,e,s,a){var r=t._mutations[e]||(t._mutations[e]=[]);r.push((function(e){s.call(t,a.state,e)}))}function O(t,e,s,a){var r=t._actions[e]||(t._actions[e]=[]);r.push((function(e){var r=s.call(t,{dispatch:a.dispatch,commit:a.commit,getters:a.getters,state:a.state,rootGetters:t.getters,rootState:t.state},e);return _(r)||(r=Promise.resolve(r)),t._devtoolHook?r.catch((function(e){throw t._devtoolHook.emit("vuex:error",e),e})):r}))}function V(t,e,s,a){t._wrappedGetters[e]||(t._wrappedGetters[e]=function(t){return s(a.state,a.getters,t.state,t.getters)})}function P(t){t._vm.$watch((function(){return this._data.$$state}),(function(){0}),{deep:!0,sync:!0})}function N(t,e){return e.reduce((function(t,e){return t[e]}),t)}function L(t,e,s){return y(t)&&t.type&&(s=e,e=t,t=t.type),{type:t,payload:e,options:s}}function G(t){x&&t===x||(x=t,p(x))}$.state.get=function(){return this._vm._data.$$state},$.state.set=function(t){0},S.prototype.commit=function(t,e,s){var a=this,r=L(t,e,s),i=r.type,o=r.payload,n=(r.options,{type:i,payload:o}),l=this._mutations[i];l&&(this._withCommit((function(){l.forEach((function(t){t(o)}))})),this._subscribers.slice().forEach((function(t){return t(n,a.state)})))},S.prototype.dispatch=function(t,e){var s=this,a=L(t,e),r=a.type,i=a.payload,o={type:r,payload:i},n=this._actions[r];if(n){try{this._actionSubscribers.slice().filter((function(t){return t.before})).forEach((function(t){return t.before(o,s.state)}))}catch(u){0}var l=n.length>1?Promise.all(n.map((function(t){return t(i)}))):n[0](i);return new Promise((function(t,e){l.then((function(e){try{s._actionSubscribers.filter((function(t){return t.after})).forEach((function(t){return t.after(o,s.state)}))}catch(u){0}t(e)}),(function(t){try{s._actionSubscribers.filter((function(t){return t.error})).forEach((function(e){return e.error(o,s.state,t)}))}catch(u){0}e(t)}))}))}},S.prototype.subscribe=function(t,e){return T(t,this._subscribers,e)},S.prototype.subscribeAction=function(t,e){var s="function"===typeof t?{before:t}:t;return T(s,this._actionSubscribers,e)},S.prototype.watch=function(t,e,s){var a=this;return this._watcherVM.$watch((function(){return t(a.state,a.getters)}),e,s)},S.prototype.replaceState=function(t){var e=this;this._withCommit((function(){e._vm._data.$$state=t}))},S.prototype.registerModule=function(t,e,s){void 0===s&&(s={}),"string"===typeof t&&(t=[t]),this._modules.register(t,e),F(this,this.state,t,this._modules.get(t),s.preserveState),D(this,this.state)},S.prototype.unregisterModule=function(t){var e=this;"string"===typeof t&&(t=[t]),this._modules.unregister(t),this._withCommit((function(){var s=N(e.state,t.slice(0,-1));x.delete(s,t[t.length-1])})),B(this)},S.prototype.hasModule=function(t){return"string"===typeof t&&(t=[t]),this._modules.isRegistered(t)},S.prototype.hotUpdate=function(t){this._modules.update(t),B(this,!0)},S.prototype._withCommit=function(t){var e=this._committing;this._committing=!0,t(),this._committing=e},Object.defineProperties(S.prototype,$);var I=J((function(t,e){var s={};return q(e).forEach((function(e){var a=e.key,r=e.val;s[a]=function(){var e=this.$store.state,s=this.$store.getters;if(t){var a=X(this.$store,"mapState",t);if(!a)return;e=a.context.state,s=a.context.getters}return"function"===typeof r?r.call(this,e,s):e[r]},s[a].vuex=!0})),s})),R=J((function(t,e){var s={};return q(e).forEach((function(e){var a=e.key,r=e.val;s[a]=function(){var e=[],s=arguments.length;while(s--)e[s]=arguments[s];var a=this.$store.commit;if(t){var i=X(this.$store,"mapMutations",t);if(!i)return;a=i.context.commit}return"function"===typeof r?r.apply(this,[a].concat(e)):a.apply(this.$store,[r].concat(e))}})),s})),H=J((function(t,e){var s={};return q(e).forEach((function(e){var a=e.key,r=e.val;r=t+r,s[a]=function(){if(!t||X(this.$store,"mapGetters",t))return this.$store.getters[r]},s[a].vuex=!0})),s})),U=J((function(t,e){var s={};return q(e).forEach((function(e){var a=e.key,r=e.val;s[a]=function(){var e=[],s=arguments.length;while(s--)e[s]=arguments[s];var a=this.$store.dispatch;if(t){var i=X(this.$store,"mapActions",t);if(!i)return;a=i.context.dispatch}return"function"===typeof r?r.apply(this,[a].concat(e)):a.apply(this.$store,[r].concat(e))}})),s})),Z=function(t){return{mapState:I.bind(null,t),mapGetters:H.bind(null,t),mapMutations:R.bind(null,t),mapActions:U.bind(null,t)}};function q(t){return W(t)?Array.isArray(t)?t.map((function(t){return{key:t,val:t}})):Object.keys(t).map((function(e){return{key:e,val:t[e]}})):[]}function W(t){return Array.isArray(t)||y(t)}function J(t){return function(e,s){return"string"!==typeof e?(s=e,e=""):"/"!==e.charAt(e.length-1)&&(e+="/"),t(e,s)}}function X(t,e,s){var a=t._modulesNamespaceMap[s];return a}function K(t){void 0===t&&(t={});var e=t.collapsed;void 0===e&&(e=!0);var s=t.filter;void 0===s&&(s=function(t,e,s){return!0});var a=t.transformer;void 0===a&&(a=function(t){return t});var r=t.mutationTransformer;void 0===r&&(r=function(t){return t});var i=t.actionFilter;void 0===i&&(i=function(t,e){return!0});var o=t.actionTransformer;void 0===o&&(o=function(t){return t});var n=t.logMutations;void 0===n&&(n=!0);var l=t.logActions;void 0===l&&(l=!0);var u=t.logger;return void 0===u&&(u=console),function(t){var d=m(t.state);"undefined"!==typeof u&&(n&&t.subscribe((function(t,i){var o=m(i);if(s(t,d,o)){var n=tt(),l=r(t),c="mutation "+t.type+n;Y(u,c,e),u.log("%c prev state","color: #9E9E9E; font-weight: bold",a(d)),u.log("%c mutation","color: #03A9F4; font-weight: bold",l),u.log("%c next state","color: #4CAF50; font-weight: bold",a(o)),Q(u)}d=o})),l&&t.subscribeAction((function(t,s){if(i(t,s)){var a=tt(),r=o(t),n="action "+t.type+a;Y(u,n,e),u.log("%c action","color: #03A9F4; font-weight: bold",r),Q(u)}})))}}function Y(t,e,s){var a=s?t.groupCollapsed:t.group;try{a.call(t,e)}catch(r){t.log(e)}}function Q(t){try{t.groupEnd()}catch(e){t.log("—— log end ——")}}function tt(){var t=new Date;return" @ "+st(t.getHours(),2)+":"+st(t.getMinutes(),2)+":"+st(t.getSeconds(),2)+"."+st(t.getMilliseconds(),3)}function et(t,e){return new Array(e+1).join(t)}function st(t,e){return et("0",e-t.toString().length)+t}var at={Store:S,install:G,version:"3.6.2",mapState:I,mapMutations:R,mapGetters:H,mapActions:U,createNamespacedHelpers:Z,createLogger:K},rt=at,it=JSON.parse('{"global":{"title":"Global Average","mbps":7,"rtt":30},"edge":{"title":"Mobile Edge","mbps":0.24,"rtt":840},"2g":{"title":"2G","mbps":0.28,"rtt":800},"3gs":{"title":"3G Slow","mbps":0.4,"rtt":400},"3gb":{"title":"3G Basic","mbps":1.6,"rtt":300},"3gf":{"title":"3G Fast","mbps":1.6,"rtt":150},"4g":{"title":"4G","mbps":9,"rtt":170},"lte":{"title":"LTE","mbps":12,"rtt":70},"dup":{"title":"Dial Up","mbps":0.05,"rtt":120},"dsl":{"title":"DSL","mbps":1.5,"rtt":50},"cable":{"title":"Cable","mbps":5,"rtt":28},"fios":{"title":"FIOS","mbps":20,"rtt":4}}');const ot=5;function nt(t,e){const s=e/1024/1024,a=t.mbps,r=a/8,i=t.rtt/1e3,o=s/r+i,n=o>ot,l=(n?"+":"-")+Math.abs(o-ot).toFixed(2)+"s";return{totalDownloadTime:o,isDownloadTimeOverThreshold:n,timeDifferenceToThreshold:l}}function lt(t){return Object.keys(it).reduce(((e,s)=>(e[s]={...nt(it[s],t),...it[s]},e)),{})}function ut(t,e){let s=t.slice();if(s.length){const t=s[0].size;s=s.map((s=>{const a=s.size[e];return{name:s.name,size:a,big:a>25e4,ratio:a/t,secondary:/\.map$/.test(s.name),speeds:lt(a)}})),s.sort(((t,e)=>t.secondary===e.secondary?e.size-t.size:t.secondary&&!e.secondary?1:-1))}return s}Vue.use(rt);const dt=new rt.Store({state(){return{sizeField:localStorage.getItem("org.vue.vue-webpack.sizeField")||"parsed",mode:"serve",showModernBuild:!0,serve:{stats:null,analyzer:{}},build:{stats:null,analyzer:{}},"build-modern":{stats:null,analyzer:{}}}},getters:{sizeField:t=>t.sizeField,mode:t=>"build"===t.mode&&t.showModernBuild?"build-modern":t.mode,stats:(t,e)=>t[e.mode].stats,errors:(t,e)=>e.stats&&e.stats.data.errors||[],warnings:(t,e)=>e.stats&&e.stats.data.warnings||[],assets:(t,e)=>e.stats&&e.stats.data.assets||[],assetsSorted:(t,e)=>ut(e.assets,e.sizeField),assetsTotalSize:(t,e)=>e.assetsSorted.filter((t=>!t.secondary)).reduce(((t,e)=>t+e.size),0),modules:(t,e)=>e.stats&&e.stats.computed.modulesPerSizeType[e.sizeField]||{},modulesTotalSize:(t,e)=>e.modules.modulesTotalSize||0,analyzer:(t,e)=>t[e.mode].analyzer[e.sizeField],modulesTrees:(t,e)=>e.analyzer&&e.analyzer.modulesTrees||[],depModules:(t,e)=>e.modules.depModules||[],depModulesTotalSize:(t,e)=>e.modules.depModulesTotalSize||0,chunks:(t,e)=>e.stats&&e.stats.data.chunks||[]},mutations:{sizeField(t,e){t.sizeField=e,localStorage.setItem("org.vue.vue-webpack.sizeField",e)},mode(t,e){t.mode=e},showModernBuild(t,e){t.showModernBuild=e},stats(t,{mode:e,value:s}){t[e].stats=Object.freeze(s)},analyzer(t,{mode:e,value:s}){console.log(s),t[e].analyzer=Object.freeze(s)}}});var ct=dt,pt={store:ct,inject:["TaskDetails"],data(){return{mode:null}},sharedData(){return{serveUrl:"org.vue.webpack.serve-url",modernMode:"org.vue.webpack.modern-mode"}},computed:{sizeField:{get(){return this.$store.getters.sizeField},set(t){this.$store.commit("sizeField",t)}},showModernBuild:{get(){return this.$store.state.showModernBuild},set(t){this.$store.commit("showModernBuild",t)}}},watch:{modernMode:{handler(t){this.showModernBuild=t},immediate:!0}},created(){const t=this.mode=this.TaskDetails.task.command.match(/vue-cli-service\s+(\S+)/)[1];this.$store.commit("mode",t),"build"===t&&this.syncMode("build-modern"),this.syncMode(t)},methods:{syncMode(t){this.$watchSharedData(`org.vue.webpack.${t}-stats`,(e=>{this.$store.commit("stats",{mode:t,value:e})}))}}},ft=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"build-status card"},[s("div",{staticClass:"content"},[s("div",{staticClass:"info-block status"},[s("div",{staticClass:"label"},[t._v(" "+t._s(t.$t("org.vue.vue-webpack.dashboard.build-status.labels.status"))+" ")]),s("div",{staticClass:"value"},[t._v(t._s(t.$t("org.vue.vue-webpack.dashboard.webpack-status."+(t.status||"Idle"))))])]),s("div",{staticClass:"info-block errors",class:{emphasize:t.errors.length}},[s("div",{staticClass:"label"},[t._v(" "+t._s(t.$t("org.vue.vue-webpack.dashboard.build-status.labels.errors"))+" ")]),s("div",{staticClass:"value"},[t._v(t._s(t.errors.length))])]),s("div",{staticClass:"info-block warnings",class:{emphasize:t.warnings.length}},[s("div",{staticClass:"label"},[t._v(" "+t._s(t.$t("org.vue.vue-webpack.dashboard.build-status.labels.warnings"))+" ")]),s("div",{staticClass:"value"},[t._v(t._s(t.warnings.length))])]),s("div",{staticClass:"info-block assets"},[s("div",{staticClass:"label"},[t._v(" "+t._s(t.$t("org.vue.vue-webpack.dashboard.build-status.labels.assets"))+" ")]),s("div",{staticClass:"value"},[t._v(" "+t._s(t._f("size")(t.assetsTotalSize,"B"))+" "),s("span",{staticClass:"secondary"},[t._v(" ("+t._s(t.$t("org.vue.vue-webpack.sizes."+t.sizeField))+") ")])])]),s("div",{staticClass:"info-block modules"},[s("div",{staticClass:"label"},[t._v(" "+t._s(t.$t("org.vue.vue-webpack.dashboard.build-status.labels.modules"))+" ")]),s("div",{staticClass:"value"},[t._v(" "+t._s(t._f("size")(t.modulesTotalSize,"B"))+" "),s("span",{staticClass:"secondary"},[t._v(" ("+t._s(t.$t("org.vue.vue-webpack.sizes."+t.sizeField))+") ")])])]),s("div",{staticClass:"info-block dep-modules"},[s("div",{staticClass:"label"},[t._v(" "+t._s(t.$t("org.vue.vue-webpack.dashboard.build-status.labels.deps"))+" ")]),s("div",{staticClass:"value"},[t._v(" "+t._s(t._f("size")(t.depModulesTotalSize,"B"))+" "),s("span",{staticClass:"secondary"},[t._v(" "+t._s(t._f("round")(t.depSizeRatio,100))+"% ")])])])])])},ht=[];function vt(t,e="",s=1){const a={label:"k",value:1024},r={label:"M",value:1048576};let i;return t>=r.value?i=r:(i=a,t<.92*a.value&&0===s&&(s=1)),(t/i.value).toFixed(s)+i.label+e}function bt(t,e){return Math.round(t*e)/e}var mt={filters:{size:vt,round:bt},computed:{...H(["sizeField","mode","errors","warnings","assetsTotalSize","modulesTotalSize","depModulesTotalSize"]),depSizeRatio(){return this.modulesTotalSize?this.depModulesTotalSize/this.modulesTotalSize*100:0}},sharedData(){return{status:`org.vue.webpack.${this.mode}-status`}}},gt=mt;s(463);function yt(t,e,s,a,r,i,o,n){var l,u="function"===typeof t?t.options:t;if(e&&(u.render=e,u.staticRenderFns=s,u._compiled=!0),a&&(u.functional=!0),i&&(u._scopeId="data-v-"+i),o?(l=function(t){t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,t||"undefined"===typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),r&&r.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(o)},u._ssrRegister=l):r&&(l=n?function(){r.call(this,(u.functional?this.parent:this).$root.$options.shadowRoot)}:r),l)if(u.functional){u._injectStyles=l;var d=u.render;u.render=function(t,e){return l.call(e),d(t,e)}}else{var c=u.beforeCreate;u.beforeCreate=c?[].concat(c,l):[l]}return{exports:t,options:u}}var _t=yt(gt,ft,ht,!1,null,"75705bbf",null),wt=_t.exports,kt=function(){var t,e=this,s=e.$createElement,a=e._self._c||s;return a("div",{staticClass:"build-progress card",class:(t={},t["mode-"+e.mode]=!0,t)},[a("div",{staticClass:"content"},[a("div",{staticClass:"progress-wrapper"},[a("transition-group",{staticClass:"progress-bars",attrs:{name:"vue-ui-fade"}},e._l(Object.keys(e.progress),(function(t,s){var r;return a("div",{key:t,staticClass:"progress-bar-wrapper"},[a("loading-progress",{key:t,staticClass:"progress-bar",class:(r={"disable-animation":0===e.progress[t]},r["mode-"+t]=!0,r),attrs:{progress:e.progress[t],size:128-16*s,"counter-clockwise":""}})],1)})),0),a("div",{staticClass:"progress"},[a("div",{staticClass:"progress-animation",class:{active:e.status&&"Idle"!==e.status}},e._l(4,(function(t){return a("div",{key:t,staticClass:"animation",style:{"animation-delay":.25*t+"s"}})})),0)]),a("transition",{attrs:{duration:"500"}},["Success"===e.status?a("div",{staticClass:"status-icon done"},[a("div",{staticClass:"wrapper"},[a("VueIcon",{attrs:{icon:"check_circle"}})],1)]):e._e()]),a("transition",{attrs:{duration:"500"}},["Failed"===e.status?a("div",{staticClass:"status-icon error"},[a("div",{staticClass:"wrapper"},[a("VueIcon",{attrs:{icon:"error"}})],1)]):e._e()])],1),a("div",{staticClass:"operations"},[e.operations?a("span",[e._v(e._s(e.operations))]):a("VueIcon",{staticClass:"blank-icon",attrs:{icon:"more_horiz"}})],1)])])},Ct=[],zt={sharedData(){return mapSharedData("org.vue.webpack.",{status:`${this.mode}-status`,rawProgress:`${this.mode}-progress`,operations:`${this.mode}-operations`})},computed:{...H(["mode"]),progress(){const t=this.rawProgress;return t&&Object.keys(t).length?t:{[this.mode]:0}}}},Mt=zt,xt=(s(783),yt(Mt,kt,Ct,!1,null,"2196a8bb",null)),St=xt.exports,$t=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"speed-stats card"},[s("div",{staticClass:"content"},[s("div",{staticClass:"title"},[t._v(" "+t._s(t.$t("org.vue.vue-webpack.dashboard.speed-stats.title"))+" ")]),t.assetsTotalSize?s("div",{staticClass:"items"},t._l(t.speeds,(function(t,e){return s("SpeedStatsItem",{key:e,attrs:{stats:t}})})),1):s("VueIcon",{staticClass:"blank-icon",attrs:{icon:"more_horiz"}})],1)])},Tt=[],Bt=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{directives:[{name:"tooltip",rawName:"v-tooltip",value:{content:t.tooltip,offset:16},expression:"{\n content: tooltip,\n offset: 16\n }"}],staticClass:"speed-stats-item"},[s("div",{staticClass:"content"},[s("div",{staticClass:"label"},[t._v(t._s(t.stats.title))]),s("div",{staticClass:"value"},[t._v(t._s(t._f("round")(t.stats.totalDownloadTime,100))+"s")])])])},Dt=[],Ft={filters:{round:bt},props:{stats:{type:Object,required:!0}},computed:{tooltip(){return`${this.stats.mbps}Mbps + ${this.stats.rtt}ms RTT`}}},Et=Ft,At=(s(622),yt(Et,Bt,Dt,!1,null,"4adb230f",null)),jt=At.exports,Ot={components:{SpeedStatsItem:jt},computed:{...H(["assetsTotalSize"]),speeds(){return lt(this.assetsTotalSize)}}},Vt=Ot,Pt=(s(254),yt(Vt,$t,Tt,!1,null,"b54aa84a",null)),Nt=Pt.exports,Lt=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"asset-list card list-block"},[s("div",{staticClass:"content"},[s("div",{staticClass:"title"},[t._v(" "+t._s(t.$t("org.vue.vue-webpack.dashboard.asset-list.title"))+" ")]),t.assetsSorted.length?[s("div",{staticClass:"headers"},[s("div",{staticClass:"header"}),s("div",{staticClass:"header size-field"},[t._v(t._s(t.sizeField))]),s("div",{staticClass:"header"},[t._v("Global")]),s("div",{staticClass:"header"},[t._v("3G Slow")]),s("div",{staticClass:"header"},[t._v("3G Fast")]),s("div",{staticClass:"header"})]),s("div",{staticClass:"list"},t._l(t.assetsSorted,(function(t){return s("AssetListItem",{key:t.name,attrs:{asset:t}})})),1)]:s("VueIcon",{staticClass:"blank-icon",attrs:{icon:"more_horiz"}})],2)])},Gt=[],It=function(t,e){var s=e._c;return s("div",{staticClass:"asset-list-item",class:{big:e.props.asset.big,secondary:e.props.asset.secondary}},[s("div",{staticClass:"content"},[s("div",{staticClass:"info name"},[e._v(e._s(e.props.asset.name))]),s("div",{staticClass:"info size"},[e._v(e._s(e._f("size")(e.props.asset.size,"B")))]),s("div",{staticClass:"info speed global"},[e._v(e._s(e._f("round")(e.props.asset.speeds.global.totalDownloadTime,100))+"s")]),s("div",{staticClass:"info speed 3gs"},[e._v(e._s(e._f("round")(e.props.asset.speeds["3gs"].totalDownloadTime,100))+"s")]),s("div",{staticClass:"info speed 3gf"},[e._v(e._s(e._f("round")(e.props.asset.speeds["3gf"].totalDownloadTime,100))+"s")]),s("div",{staticClass:"info warning"},[!e.props.asset.secondary&&e.props.asset.big?s("VueIcon",{directives:[{name:"tooltip",rawName:"v-tooltip",value:e.parent.$t("org.vue.vue-webpack.dashboard.asset-list.size-warning"),expression:"parent.$t('org.vue.vue-webpack.dashboard.asset-list.size-warning')"}],staticClass:"icon",attrs:{icon:"warning"}}):e._e()],1)])])},Rt=[],Ht={filters:{size:vt,round:bt},props:{asset:{type:Object,required:!0}}},Ut=Ht,Zt=(s(373),yt(Ut,It,Rt,!0,null,"6cde651f",null)),qt=Zt.exports,Wt={components:{AssetListItem:qt},computed:{...H(["assetsSorted","sizeField"])}},Jt=Wt,Xt=(s(881),yt(Jt,Lt,Gt,!1,null,"9b630720",null)),Kt=Xt.exports,Yt=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"module-list card list-block"},[s("div",{staticClass:"content"},[s("div",{staticClass:"title"},[t._v(" "+t._s(t.$t("org.vue.vue-webpack.dashboard.module-list.title"))+" ")]),t.depModules.length?t._e():s("VueIcon",{staticClass:"blank-icon",attrs:{icon:"more_horiz"}}),s("div",{staticClass:"list"},t._l(t.depModules,(function(t){return s("ModuleListItem",{key:t.id,attrs:{module:t}})})),1)],1)])},Qt=[],te=function(t,e){var s=e._c;return s("div",{staticClass:"module-list-item"},[s("div",{staticClass:"content"},[s("div",{staticClass:"info name"},[e._v(e._s(e.props.module.name))]),s("div",{staticClass:"info size"},[e._v(e._s(e._f("size")(e.props.module.size,"B")))]),s("div",{staticClass:"info"},[s("VueLoadingBar",{staticClass:"primary",attrs:{value:e.props.module.ratio}})],1)])])},ee=[],se={filters:{size:vt},props:{module:{type:Object,required:!0}}},ae=se,re=(s(806),yt(ae,te,ee,!0,null,"352f8850",null)),ie=re.exports,oe={components:{ModuleListItem:ie},computed:{...H(["depModules"])}},ne=oe,le=yt(ne,Yt,Qt,!1,null,null,null),ue=le.exports,de={mixins:[pt],components:{BuildStatus:wt,BuildProgress:St,SpeedStats:Nt,AssetList:Kt,ModuleList:ue}},ce=de,pe=(s(938),s(417),yt(ce,d,c,!1,null,"4a48e919",null)),fe=pe.exports,he=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"vue-webpack-analyzer"},[s("div",{staticClass:"pane-toolbar card"},[s("VueIcon",{attrs:{icon:"donut_large"}}),s("div",{staticClass:"title"},[t._v(t._s(t.$t("org.vue.vue-webpack.analyzer.title")))]),"serve"!==t.mode&&t.modernMode?s("VueSwitch",{model:{value:t.showModernBuild,callback:function(e){t.showModernBuild=e},expression:"showModernBuild"}},[t._v(" "+t._s(t.$t("org.vue.vue-webpack.modern-mode"))+" ")]):t._e(),t.currentTree?[s("VueButton",{attrs:{"icon-left":"arrow_upward",label:t.$t("org.vue.vue-webpack.analyzer.go-up"),disabled:t.currentTree===t.rootTree},on:{click:function(e){return t.goToParent()}}}),s("VueButton",{attrs:{"icon-left":"home",label:t.$t("org.vue.vue-webpack.analyzer.go-home"),disabled:t.currentTree===t.rootTree},on:{click:function(e){return t.goToHome()}}}),s("VueIcon",{staticClass:"separator",attrs:{icon:"lens"}})]:t._e(),s("VueSelect",{attrs:{disabled:0===Object.keys(t.modulesTrees).length},model:{value:t.selectedChunk,callback:function(e){t.selectedChunk=e},expression:"selectedChunk"}},t._l(t.modulesTrees,(function(e,a){return s("VueSelectButton",{key:a,attrs:{value:a,label:t.$t("org.vue.vue-webpack.analyzer.chunk")+" "+t.getChunkName(a)}})})),1),s("VueSelect",{model:{value:t.sizeField,callback:function(e){t.sizeField=e},expression:"sizeField"}},[s("VueSelectButton",{attrs:{value:"stats",label:""+t.$t("org.vue.vue-webpack.sizes.stats")}}),s("VueSelectButton",{attrs:{value:"parsed",label:""+t.$t("org.vue.vue-webpack.sizes.parsed")}}),s("VueSelectButton",{attrs:{value:"gzip",label:""+t.$t("org.vue.vue-webpack.sizes.gzip")}})],1),s("VueButton",{directives:[{name:"tooltip",rawName:"v-tooltip",value:t.$t("org.vue.vue-webpack.sizes.help"),expression:"$t('org.vue.vue-webpack.sizes.help')"}],staticClass:"icon-button",attrs:{"icon-left":"help"}})],2),s("div",{staticClass:"content"},[t.currentTree?[s("svg",{key:t.sizeField,ref:"svg",staticClass:"donut",class:{hover:t.hoverModule},attrs:{viewBox:"0 0 80 80"},on:{mousemove:t.onMouseMove,mouseout:t.onMouseOut,click:t.onDonutClick}},[s("g",{attrs:{transform:"translate(40, 40)"}},t._l(t.currentTree.children,(function(e,a){return s("DonutModule",{key:e.id,attrs:{module:e,"parent-module":t.currentTree,colors:t.getColors(a),depth:0,"parent-ratio":1}})})),1)])]:t._e(),t.describedModule?s("div",{staticClass:"described-module"},[s("div",{staticClass:"wrapper card"},[s("div",{staticClass:"path",domProps:{innerHTML:t._s(t.modulePath)}}),s("div",{staticClass:"stats size",class:{selected:"stats"===t.sizeField}},[t._v(" "+t._s(t.$t("org.vue.vue-webpack.sizes.stats"))+": "+t._s(t._f("size")(t.describedModule.size.stats,"B"))+" ")]),s("div",{staticClass:"parsed size",class:{selected:"parsed"===t.sizeField}},[t._v(" "+t._s(t.$t("org.vue.vue-webpack.sizes.parsed"))+": "+t._s(t._f("size")(t.describedModule.size.parsed,"B"))+" ")]),s("div",{staticClass:"gzip size",class:{selected:"gzip"===t.sizeField}},[t._v(" "+t._s(t.$t("org.vue.vue-webpack.sizes.gzip"))+": "+t._s(t._f("size")(t.describedModule.size.gzip,"B"))+" ")])])]):t._e()],2)])},ve=[],be={light:[["#42b983","#5DC395","#78CDA7","#93D7B9","#AEE1CB","#C9EBDD"],["#A96FDA","#B684DF","#C399E4","#D0AEE9","#DDC3EE","#EAD8F3"],["#03C2E6","#27CBEA","#4BD4EE","#6FDDF2","#93E6F6","#B7EFFA"],["#778F9B","#8B9FA9","#9FAFB7","#B3BFC5","#C7CFD3","#DBDFE1"]],dark:[["#42b983","#3CA978","#37986C","#318760","#2A7654","#246548"],["#A96FDA","#9A65C7","#8B5BB3","#7B519F","#6C478B","#5D3D77"],["#03C2E6","#03B1D2","#039FBD","#038EA8","#027C93","#026A7E"],["#778F9B","#6D828D","#62767F","#576971","#4C5C63","#414E55"]]},me=function(){var t=this,e=t.$createElement,s=t._self._c||e;return t.visible?s("g",{staticClass:"donut-module",class:{hover:t.hover},attrs:{transform:"translate(-"+t.size/2+", -"+t.size/2+") rotate("+t.rotation+", "+t.size/2+", "+t.size/2+")"}},[s("g",{staticClass:"container"},[s("path",{ref:"path",staticClass:"progress",attrs:{d:"M "+t.size/2+", "+t.size/2+"\n m 0, -"+t.size/2+"\n a "+t.size/2+","+t.size/2+" 0 1 1 0,"+t.size+"\n a "+t.size/2+","+t.size/2+" 0 1 1 0,-"+t.size,"stroke-dasharray":t.finalDasharray-.25+" "+(t.finalDasharray-.25),"stroke-dashoffset":t.finalDashoffset,stroke:t.stroke}})]),t.depth+1<t.colors.length?s("g",{staticClass:"children",attrs:{transform:"translate("+t.size/2+", "+t.size/2+")"}},t._l(t.module.children,(function(e){return t.isVisible(t.getRatio(e,t.ratio))?s("DonutModule",{key:e.id,attrs:{module:e,depth:t.depth+1,"parent-module":t.module,"parent-ratio":t.ratio,colors:t.colors}}):t._e()})),1):t._e()]):t._e()},ge=[],ye={name:"DonutModule",inject:["WebpackAnalyzer"],props:{module:{type:Object,required:!0},parentModule:{type:Object,default:void 0},depth:{type:Number,required:!0},parentRatio:{type:Number,required:!0},colors:{type:Array,required:!0}},data(){return{dasharray:0}},computed:{...H(["sizeField"]),finalDasharray(){return 0===this.finalDashoffset||this.finalDashoffset===2*this.dasharray?0:this.dasharray},finalDashoffset(){return this.ratio<0?-this.dasharray*this.ratio+this.dasharray:(1-this.ratio)*this.dasharray},ratio(){return this.getRatio(this.module,this.parentRatio)},rotation(){return this.module.previousSize[this.sizeField]/this.parentModule.size[this.sizeField]*this.parentRatio*360},size(){return 6.5*this.depth+40},stroke(){return this.colors[this.depth]},visible(){return this.isVisible(this.ratio)},hover(){return this.WebpackAnalyzer.hoverModule===this.module}},mounted(){this.visible&&(this.dasharray=this.$refs.path.getTotalLength())},methods:{getRatio(t,e){return t.size[this.sizeField]/this.parentModule.size[this.sizeField]*e},isVisible(t){return t>.0025}}},_e=ye,we=(s(218),yt(_e,me,ge,!1,null,"1d488584",null)),ke=we.exports,Ce={clientState:!0,mixins:[pt],filters:{size:vt},components:{DonutModule:ke},provide(){return{WebpackAnalyzer:this.injection}},data(){return{selectedChunk:null,injection:{hoverModule:null},currentTree:null,currentParent:null}},computed:{...H(["modulesTrees","chunks"]),hoverModule:{get(){return this.injection.hoverModule},set(t){this.injection.hoverModule=t}},describedModule(){return this.hoverModule||this.currentTree},modulePath(){if(!this.describedModule)return;let t=`<b>${this.describedModule.id}</b>`,e=this.describedModule;while(e.parent&&e!==this.currentTree)e=e.parent,t=`${e.id} / ${t}`;return t},rootTree(){return this.modulesTrees&&this.modulesTrees[this.selectedChunk]}},watch:{modulesTrees:{handler(t){if(t){const e=Object.keys(t);if(e.length)return this.selectedChunk&&e.includes(this.selectedChunk)||e.length&&(this.selectedChunk=e[0]),void this.goToHome()}this.currentTree=null,this.selectedChunk=null},immediate:!0},selectedChunk:{handler:"goToHome",immediate:!0}},methods:{syncMode(t){pt.methods.syncMode.call(this,t),this.$watchSharedData(`org.vue.webpack.${t}-stats-analyzer`,(e=>{this.$store.commit("analyzer",{mode:t,value:e})}))},getColors(t){const e=be[this.darkMode?"dark":"light"];return e[t%e.length]},getChunk(t){return this.chunks.find((e=>e.id.toString()===t.toString()))},getChunkName(t){const e=this.getChunk(t);if(e){if(e.names&&e.names.length)return`${e.names[0]} (${t})`;if(e.files&&e.files.length)return`${e.files[0]} (${t})`}return t},onMouseMove(t){const e=this.$refs.svg,{clientX:s,clientY:a}=t,r=e.createSVGPoint();r.x=s,r.y=a;let{x:i,y:o}=r.matrixTransform(e.getScreenCTM().inverse());i-=40,o-=40;let n=Math.atan2(o,i)/Math.PI*180+90;n=(n%360+360)%360;const l=Math.sqrt(i*i+o*o),u=Math.floor((2*(l+1.5)-40)/6.5);if(u<0)return void(this.hoverModule=null);const d=this.sizeField;let c=this.currentTree,p=n,f=p/360,h=c.size[d]*f,v=1;for(let b=0;b<=u;b++){let t=!1;for(const e of c.children){const s=e.previousSize[d],a=e.size[d];if(s+a>=h){const r=c.size[d],i=a/r*v,o=s/r*v*360;p-=o,f=p/360/i,h=a*f,v=i,c=e,t=!0;break}}if(!t){c=null;break}}this.hoverModule=c},onMouseOut(t){this.hoverModule=null},onDonutClick(){this.hoverModule&&this.hoverModule.children.length&&(this.currentParent=this.currentTree,this.currentTree=this.hoverModule,this.hoverModule=null)},goToParent(){this.currentParent&&(this.currentTree=this.currentParent)},goToHome(){this.currentTree=this.rootTree,this.currentParent=null}}},ze=Ce,Me=(s(867),yt(ze,he,ve,!1,null,"c6d26d6a",null)),xe=Me.exports,Se=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"test-view"},[s("h1",[t._v(t._s(t.$t("org.vue.vue-webpack.test-view")))]),s("p",[t._v("A vue-cli plugin created me! I am a dynamically loaded component paired with a custom route.")]),s("div",{staticClass:"section"},[s("VueInput",{attrs:{placeholder:"Shared data (with storage)"},model:{value:t.testData,callback:function(e){t.testData=e},expression:"testData"}})],1),s("div",{staticClass:"section"},[s("VueButton",{on:{click:function(e){return t.testPluginAction()}}},[t._v("Test plugin action")])],1)])},$e=[],Te={sharedData:{testData:"test-data"},created(){this.$onPluginActionCalled((t=>{console.log("called",t)})),this.$onPluginActionResolved((t=>{console.log("resolved",t)}))},methods:{testPluginAction(){this.$callPluginAction("test-action",{meow:"meow"})}}},Be=Te,De=(s(209),yt(Be,Se,$e,!1,null,"0b056497",null)),Fe=De.exports;Vue.use(u,{defaultShape:"circle"}),ClientAddonApi.component("org.vue.webpack.components.dashboard",fe),ClientAddonApi.component("org.vue.webpack.components.analyzer",xe),ClientAddonApi.addRoutes("org.vue.webpack",[{path:"",name:"org.vue.webpack.routes.test",component:Fe}]);const Ee=s(625);Ee.keys().forEach((t=>{const e=t.match(/([a-z0-9]+)\./i)[1];ClientAddonApi.addLocalization(e,Ee(t))}))},938:function(t,e,s){var a=s(144);a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[t.id,a,""]]),a.locals&&(t.exports=a.locals);var r=s(440).Z;r("b599040e",a,!0,{sourceMap:!1,shadowMode:!1})},881:function(t,e,s){var a=s(963);a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[t.id,a,""]]),a.locals&&(t.exports=a.locals);var r=s(440).Z;r("1552e550",a,!0,{sourceMap:!1,shadowMode:!1})},373:function(t,e,s){var a=s(958);a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[t.id,a,""]]),a.locals&&(t.exports=a.locals);var r=s(440).Z;r("2babae5f",a,!0,{sourceMap:!1,shadowMode:!1})},783:function(t,e,s){var a=s(148);a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[t.id,a,""]]),a.locals&&(t.exports=a.locals);var r=s(440).Z;r("47e37962",a,!0,{sourceMap:!1,shadowMode:!1})},463:function(t,e,s){var a=s(344);a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[t.id,a,""]]),a.locals&&(t.exports=a.locals);var r=s(440).Z;r("1c79f4d2",a,!0,{sourceMap:!1,shadowMode:!1})},218:function(t,e,s){var a=s(687);a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[t.id,a,""]]),a.locals&&(t.exports=a.locals);var r=s(440).Z;r("2189a52b",a,!0,{sourceMap:!1,shadowMode:!1})},806:function(t,e,s){var a=s(740);a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[t.id,a,""]]),a.locals&&(t.exports=a.locals);var r=s(440).Z;r("697dad1c",a,!0,{sourceMap:!1,shadowMode:!1})},254:function(t,e,s){var a=s(906);a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[t.id,a,""]]),a.locals&&(t.exports=a.locals);var r=s(440).Z;r("37ff192f",a,!0,{sourceMap:!1,shadowMode:!1})},622:function(t,e,s){var a=s(920);a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[t.id,a,""]]),a.locals&&(t.exports=a.locals);var r=s(440).Z;r("1f32688d",a,!0,{sourceMap:!1,shadowMode:!1})},209:function(t,e,s){var a=s(553);a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[t.id,a,""]]),a.locals&&(t.exports=a.locals);var r=s(440).Z;r("59909904",a,!0,{sourceMap:!1,shadowMode:!1})},867:function(t,e,s){var a=s(686);a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[t.id,a,""]]),a.locals&&(t.exports=a.locals);var r=s(440).Z;r("22a12faa",a,!0,{sourceMap:!1,shadowMode:!1})},417:function(t,e,s){var a=s(639);a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[t.id,a,""]]),a.locals&&(t.exports=a.locals);var r=s(440).Z;r("3a94278e",a,!0,{sourceMap:!1,shadowMode:!1})},440:function(t,e,s){"use strict";function a(t,e){for(var s=[],a={},r=0;r<e.length;r++){var i=e[r],o=i[0],n=i[1],l=i[2],u=i[3],d={id:t+":"+r,css:n,media:l,sourceMap:u};a[o]?a[o].parts.push(d):s.push(a[o]={id:o,parts:[d]})}return s}s.d(e,{Z:function(){return h}});var r="undefined"!==typeof document;if("undefined"!==typeof DEBUG&&DEBUG&&!r)throw new Error("vue-style-loader cannot be used in a non-browser environment. Use { target: 'node' } in your Webpack config to indicate a server-rendering environment.");var i={},o=r&&(document.head||document.getElementsByTagName("head")[0]),n=null,l=0,u=!1,d=function(){},c=null,p="data-vue-ssr-id",f="undefined"!==typeof navigator&&/msie [6-9]\b/.test(navigator.userAgent.toLowerCase());function h(t,e,s,r){u=s,c=r||{};var o=a(t,e);return v(o),function(e){for(var s=[],r=0;r<o.length;r++){var n=o[r],l=i[n.id];l.refs--,s.push(l)}e?(o=a(t,e),v(o)):o=[];for(r=0;r<s.length;r++){l=s[r];if(0===l.refs){for(var u=0;u<l.parts.length;u++)l.parts[u]();delete i[l.id]}}}}function v(t){for(var e=0;e<t.length;e++){var s=t[e],a=i[s.id];if(a){a.refs++;for(var r=0;r<a.parts.length;r++)a.parts[r](s.parts[r]);for(;r<s.parts.length;r++)a.parts.push(m(s.parts[r]));a.parts.length>s.parts.length&&(a.parts.length=s.parts.length)}else{var o=[];for(r=0;r<s.parts.length;r++)o.push(m(s.parts[r]));i[s.id]={id:s.id,refs:1,parts:o}}}}function b(){var t=document.createElement("style");return t.type="text/css",o.appendChild(t),t}function m(t){var e,s,a=document.querySelector("style["+p+'~="'+t.id+'"]');if(a){if(u)return d;a.parentNode.removeChild(a)}if(f){var r=l++;a=n||(n=b()),e=y.bind(null,a,r,!1),s=y.bind(null,a,r,!0)}else a=b(),e=_.bind(null,a),s=function(){a.parentNode.removeChild(a)};return e(t),function(a){if(a){if(a.css===t.css&&a.media===t.media&&a.sourceMap===t.sourceMap)return;e(t=a)}else s()}}var g=function(){var t=[];return function(e,s){return t[e]=s,t.filter(Boolean).join("\n")}}();function y(t,e,s,a){var r=s?"":a.css;if(t.styleSheet)t.styleSheet.cssText=g(e,r);else{var i=document.createTextNode(r),o=t.childNodes;o[e]&&t.removeChild(o[e]),o.length?t.insertBefore(i,o[e]):t.appendChild(i)}}function _(t,e){var s=e.css,a=e.media,r=e.sourceMap;if(a&&t.setAttribute("media",a),c.ssrId&&t.setAttribute(p,e.id),r&&(s+="\n/*# sourceURL="+r.sources[0]+" */",s+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(r))))+" */"),t.styleSheet)t.styleSheet.cssText=s;else{while(t.firstChild)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(s))}}},625:function(t,e,s){var a={"./en.json":790};function r(t){var e=i(t);return s(e)}function i(t){if(!s.o(a,t)){var e=new Error("Cannot find module '"+t+"'");throw e.code="MODULE_NOT_FOUND",e}return a[t]}r.keys=function(){return Object.keys(a)},r.resolve=i,t.exports=r,r.id=625},347:function(t,e,s){"use strict";t.exports=s.p+"img/webpack.b72b675b.svg"},790:function(t){"use strict";t.exports=JSON.parse('{"org":{"vue":{"vue-webpack":{"test-view":"I\'m a custom view"}}}}')}},e={};function s(a){var r=e[a];if(void 0!==r)return r.exports;var i=e[a]={id:a,exports:{}};return t[a](i,i.exports,s),i.exports}!function(){s.n=function(t){var e=t&&t.__esModule?function(){return t["default"]}:function(){return t};return s.d(e,{a:e}),e}}(),function(){s.d=function(t,e){for(var a in e)s.o(e,a)&&!s.o(t,a)&&Object.defineProperty(t,a,{enumerable:!0,get:e[a]})}}(),function(){s.g=function(){if("object"===typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(t){if("object"===typeof window)return window}}()}(),function(){s.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)}}(),function(){s.r=function(t){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})}}(),function(){s.p="/_addon/org.vue.webpack.client-addon/"}();s(782)})(); | ||
//# sourceMappingURL=index.js.map |
{ | ||
"name": "@vue/cli-ui-addon-webpack", | ||
"version": "5.0.7", | ||
"version": "5.0.8", | ||
"repository": { | ||
@@ -23,5 +23,5 @@ "type": "git", | ||
"@babel/eslint-parser": "^7.12.16", | ||
"@vue/cli-plugin-babel": "^5.0.7", | ||
"@vue/cli-plugin-eslint": "^5.0.7", | ||
"@vue/cli-service": "^5.0.7", | ||
"@vue/cli-plugin-babel": "^5.0.8", | ||
"@vue/cli-plugin-eslint": "^5.0.8", | ||
"@vue/cli-service": "^5.0.8", | ||
"@vue/eslint-config-standard": "^6.1.0", | ||
@@ -49,3 +49,3 @@ "core-js": "^3.8.3", | ||
}, | ||
"gitHead": "4a0655f7ac09b64d2b47506e7f21e7923d43262b" | ||
"gitHead": "b154dbd7aca4b4538e6c483b1d4b817499d7b8eb" | ||
} |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package