1"use strict";(self["webpackChunkdow_platform_ui_frontend"]=self["webpackChunkdow_platform_ui_frontend"]||[]).push([[7036],{1019:function(e,t,a){a(49671),a(54694)},4642:function(e,t,a){a.d(t,{ZH:function(){return i},qr:function(){return n}});var l=a(24232);const n=(e="")=>e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d"),i=e=>(0,l.ZH)(e)},5293:function(__unused_webpack_module,__webpack_exports__,__webpack_require__){var _core_CoreComponent_vue__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(49680),_core_blocks_input_elements_calculator_input_number_unit_CalculatorInputNumberUnit_vue__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(16375),_core_blocks_input_elements_calculator_input_number_CalculatorInputNumber_vue__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(32429),_core_blocks_input_elements_dropdown_bar__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__(48201),_blocks_help_calculator__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__(76471),_blocks_calculator_config_formula_formula__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__(78202),_accessibility_calibration_js__WEBPACK_IMPORTED_MODULE_6__=__webpack_require__(18470);const ROLL_AREA_UNIT_OPTIONS=[{id:"MSI",title:"MSI",value:1},{id:"sq. ft",title:"sq.ft",value:2},{id:"sq. yd",title:"sq.yd",value:3},{id:"sq. m",title:"sq.m",value:4},{id:"ream (3000 sq. ft)",title:"ream (3000 sq. ft)",value:5},{id:"Ream (3300 sq. ft)",title:"Ream (3300 sq. ft)",value:5}],COAT_WEIGHT_UNIT_OPTIONS=[{id:"lb/ream",title:"lb/ream",value:1},{id:"g/sq. m",title:"g/sq. m",value:2},{id:"g/100 sq. in",title:"g/100 sq. in",value:3},{id:"oz/sq. yard",title:"oz/sq. yard",value:4}],DRY_WET_UNIT_OPTIONS=[{id:"lb",title:"lb",value:1},{id:"kg",title:"kg",value:2}];__webpack_exports__.A={name:"psa-usage",extends:_core_CoreComponent_vue__WEBPACK_IMPORTED_MODULE_0__.Ay,components:{CalculatorInputNumberUnit:_core_blocks_input_elements_calculator_input_number_unit_CalculatorInputNumberUnit_vue__WEBPACK_IMPORTED_MODULE_1__.A,CalculatorInputNumber:_core_blocks_input_elements_calculator_input_number_CalculatorInputNumber_vue__WEBPACK_IMPORTED_MODULE_2__.A,helpCalculator:_blocks_help_calculator__WEBPACK_IMPORTED_MODULE_4__.i,DropdownBar:_core_blocks_input_elements_dropdown_bar__WEBPACK_IMPORTED_MODULE_3__.h},data:function(){return{decimalPrecision:1,rollAreaTitleI18n:window.Granite.I18n.get("psausage.rollarea.title"),costWeightTitleI18n:window.Granite.I18n.get("psausage.coatweight.title"),solidsTitleI18n:window.Granite.I18n.get("psausage.solids.title"),dryTitleI18n:window.Granite.I18n.get("psausage.dry.title"),wetTitleI18n:window.Granite.I18n.get("psausage.wet.title"),radio:{value:2,unitIndex:1},rollArea:{title:"rollArea",value:0,unit:"MSI",unitIndex:0},coatWeight:{title:"coatWeight",value:0,unit:"lb/ream",unitIndex:0},solids:{title:"solids",value:0,unit:"%",unitIndex:0},dry:{title:"dry",value:0,unit:"lb",unitIndex:0},wet:{title:"Wet",value:0,unit:"lb",unitIndex:0},helpParagraph:[{text:"help.calculator.psausage.paragraph1",bold:!1},{text:"help.calculator.psausage.paragraph2",bold:!1}
1,{text:"help.calculator.psausage.paragraph3",bold:!1}]}},mounted:function(){_accessibility_calibration_js__WEBPACK_IMPORTED_MODULE_6__.A.trapFocusToContainer(this.cmpEl)},computed:{rollAreaUnitOptions:function(){return ROLL_AREA_UNIT_OPTIONS},costWeightUnitOptions:function(){return COAT_WEIGHT_UNIT_OPTIONS},dryWetUnitOptions:function(){return DRY_WET_UNIT_OPTIONS}},methods:{getI18nMessage:function(e){return window.Granite.I18n.get(e)},handleChange(value,title){var object=eval("this."+title);object.value=value,this.calculate(title)},handleSelectChange(value,title){var object=eval("this."+title);object.unit=value.newOpt.title,object.unitIndex=value.currentIndex,this.calculate(title)},handleRadioChange(value,title){var object=eval("this."+title);object.value=value,"1"==value?(this.dry.value=0,this.dry.unit="lb",this.dry.unitIndex=0,this.wet.value=0,this.wet.unit="lb",this.wet.unitIndex=0,object.unitIndex=0):(this.dry.value=0,this.dry.unit="kg",this.dry.unitIndex=1,this.wet.value=0,this.wet.unit="kg",this.wet.unitIndex=1,object.unitIndex=1),this.calculate(title)},calculate:function(e){if(this.rollArea.value>0&&this.coatWeight.value>0){let e=_blocks_calculator_config_formula_formula__WEBPACK_IMPORTED_MODULE_5__._.methods.unitDryValPerGCalculator(this.dryWetUnitOptions[this.radio.unitIndex].id,this.rollArea.value,this.rollAreaUnitOptions[this.rollArea.unitIndex].id,this.coatWeight.value,this.costWeightUnitOptions[this.coatWeight.unitIndex].id,this.solids.value);this.dry.value=e[0],this.wet.value=e[1]}else this.dry.value=0,this.wet.value=0},clearAllValues:function(){this.rollArea.value=0,this.rollArea.unit=COAT_WEIGHT_UNIT_OPTIONS[0].title,this.rollArea.unitIndex=0,this.coatWeight.value=0,this.coatWeight.unit=ROLL_AREA_UNIT_OPTIONS[0].title,this.coatWeight.unitIndex=0,this.solids.value=0,this.dry.value=0,this.dry.unit=DRY_WET_UNIT_OPTIONS[1].title,this.dry.unitIndex=0,this.wet.value=0,this.wet.unit=DRY_WET_UNIT_OPTIONS[1].title,this.wet.unitIndex=0}}}},10754:function(e,t,a){a.d(t,{A:function(){return b}});var l=/\s/;function n(e){var t=e.length;while(t--&&l.test(e.charAt(t)));return t}var i=n,o=/^\s+/;function s(e){return e?e.slice(0,i(e)+1).replace(o,""):e}var r=s,c=a(60168),u=a(18095),d=NaN,h=/^[-+]0x[0-9a-f]+$/i,p=/^0b[01]+$/i,m=/^0o[0-7]+$/i,v=parseInt;function f(e){if("number"==typeof e)return e;if((0,u.A)(e))return d;if((0,c.A)(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=(0,c.A)(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=r(e);var a=p.test(e);return a||m.test(e)?v(e.slice(2),a?2:8):h.test(e)?d:+e}var b=f},15431:function(e,t,a){a.d(t,{V:function(){return i},m:function(){return n}});var l=a(20153);const n=e=>l.oc?window.requestAnimationFrame(e):setTimeout(e,16),i=e=>l.oc?window.cancelAnimationFrame(e):clearTimeout(e)},16375:function(e,t,a){a.d(t,{A:function(){return g}});var l=a(64418),n=(a(49671),a(30080),a(77398)),i=(a(1019),a(77962)),o=(a(86839),a(77001));const s={class:"grid-content bg-purple-dark"},r={class:"input-title"},c={key:0,class:"dropdown-override"},u={class:"grid-content bg-purple-dark"},d={class:"input-title"},h={key:0,class:"dropdown-override"};function p(e,t,a,p,m,v){const f=i.uD,b=n.lq,g=(0,o.resolveComponent)("DropdownBar"),_=l.S2;return(0,o.openBlock)(),(0,o.createBlock)(_,{gutter:a.spacing,justify:"center",class:"calculator-input-number-unit"},{default:(0,o.withCtx)(()=>[(0,o.createVNode)(f,{span:8,class:"hidden-xs-only"},{default:(0,o.withCtx)(()=>[(0,o.createElementVNode)("div",s,[(0,o.createElementVNode)("h6",r,(0,o.toDisplayString)(a.title)+(0,o.toDisplayString)(""==a.title?"":":"),1)])]),_:1}),(0,o.createVNode)(f,{span:7,class:"hidden-xs-only el-col-pc-number"},{default:(0,o.withCtx)(()=>[(0,o.createVNode)(b,{class:"el-input-number-pc-override",modelValue:m.num,"onUpdate:modelValue":t[0]||(t[0]=e=>m.num=e),placeholder:a.placeHolder,disabled:a.disable,controls:!1,precision:a.precision,onChange:v.change,onFocus:v.clear,onBlur:v.restore,min:a.minValue,max:a.maxValue,size:"small"},null,8,["modelValue","placeholder","disabled","precision","onChange","onFocus","onBlur","min","max"])]),_:1}),(0,o.createVNode)(f,{span:9,class:"hidden-xs-only el-col-pc-dropdown"},{default:(0,o.withCtx)(()=>[a.unitVisible?((0,o.openBlock)(),(0,o.createElementBlock)("div",c,[(0,o.createVNode)(g,{options:a.options,currentSelection:a.currentSelectionIndex,type:a.dropdownBarType,disabled:a.disable,onSelectDropdown:v.selectionChange},null,8,["options","currentSelection","type","disabled","onSelectDropdown"])])):(0,o.createCommentVNode)("",!0)]),_:1}),(0,o.createVNode)(f,{span:24,class:"hidden-sm-and-up"},{default:(0,o.withCtx)(()=>[(0,o.createElementVNode)("div",u,[(0,o.createElementVNode)("h6",d,(0,o.toDisplayString)(a.title)+(0,o.toDisplayString)(""==a.title?"":":"),1)])]),_:1}),(0,o.createVNode)(f,{span:9,class:"hidden-sm-and-up"},{default:(0,o.withCtx)(()=>[(0,o.createVNode)(b,{class:"el-input-number-mobile-override",modelValue:m.num,"onUpdate:modelValue":t[1]||(t[1]=e=>m.num=e),placeholder:a.placeHolder,disabled:a.disable,controls:!1,precision:a.precision,onChange:v.change,onFocus:v.clear,onBlur:v.restore,min:a.minValue,max:a.maxValue,size:"small"},null,8,["modelValue","placeholder","disabled","precision","onChange","onFocus","onBlur","min","max"])]),_:1}),(0,o.createVNode)(f,{span:15,class:"hidden-sm-and-up el-col-mobile-dropdown"},{default:(0,o.withCtx)(()=>[a.unitVisible?((0,o.openBlock)(),(0,o.createElementBlock)("div",h,[(0,o.createVNode)(g,{options:a.options,currentSelection:a.currentSelectionIndex,type:a.dropdownBarType,disabled:a.disable,onSelectDropdown:v.selectionChange},null,8,["options","currentSelection","type","disabled","onSelectDropdown"])])):(0,o.createCommentVNode)("",!0)]),_:1})]),_:1},8,["gutter"])}var m=a(48201),v={name:"CalculatorInputNumberUnit",components:{DropdownBar:m.h},props:{value:{type:Number},optionValue:{type:String},title:{type:String,default:""},spacing:{type:Number,default:0},minValue:{type:Number,default:Number.NEGATIVE_INFINITY},maxValue:{type:Number,default:Number.POSITIVE_INFINITY},placeHolder:{type:String,default:""},disable:{type:Boolean,default:!1},precision:{type:Number,default:0},dropdownBarType:{type:String,default:""},options:{type:Array,default:()=>[]},currentSelectionIndex:{type:Number,default:0},unitVisible:{type:Boolean,default:!0}},data(){return{num:0}},watch:{value(){this.num=this.value}},methods:{clear(){0===this.num&&(this.num=void 0)}
1,restore(){void 0===this.num&&(this.num=0)},change(){this.$emit("dataChanged",this.num)},selectionChange(e){let t=0,a=this.options.length;for(let n=0;n<a;n++){let a=this.options[n];if(e.id===a.id){t=n;break}}var l=this.options;this.$emit("selectionChanged",{newOpt:e,currentIndex:t,options:l})}}},f=a(71786);const b=(0,f.A)(v,[["render",p]]);var g=b},18311:function(e,t,a){var l=a(39578),n="object"==typeof exports&&exports&&!exports.nodeType&&exports,i=n&&"object"==typeof module&&module&&!module.nodeType&&module,o=i&&i.exports===n,s=o?l.A.Buffer:void 0,r=s?s.allocUnsafe:void 0;function c(e,t){if(t)return e.slice();var a=e.length,l=r?r(a):new e.constructor(a);return e.copy(l),l}t.A=c},18470:function(e,t,a){a.d(t,{A:function(){return l}});class l{static formLabelCalibration(e){let t=document.querySelector(e).querySelectorAll("input");t.forEach(e=>{if("LABEL"!==e.parentElement.tagName){let t=document.createElement("label");t.style="\n margin-bottom: 0;\n font-weight: inherit;\n ",t.innerHTML='<p style="display:none;">Form Label</p>',e.parentElement.replaceChild(t,e),t.appendChild(e)}})}static trapFocusToContainer(e){const t='button:not([disabled]), input, select, textarea, a, [tabindex]:not([tabindex="-1"])';let a,l,n=e.querySelectorAll(t);n&&(a=n[0],a.onkeydown=function(t){if(("Tab"===t.code||"Tab"===t.key||9===t.keyCode)&&t.shiftKey){let a=e.closest(".cmp-tabs__tabpanel--active"),l=a.getAttribute("id"),n=e.closest(".cmp-tabs"),i=n.querySelector(".cmp-tabs__tablist-container .cmp-tabs__tab--active[aria-controls="+l+"] .cmp-tabs__tab-button");i.focus(),t.preventDefault()}}),l=e.querySelector(".helpCalculator-icon"),l&&(l.onkeydown=function(t){if(("Tab"===t.code||"Tab"===t.key||9===t.keyCode)&&!t.shiftKey){let a=e.closest(".cmp-tabs__tabpanel--active"),l=a.getAttribute("id"),n=e.closest(".cmp-tabs"),i=n.querySelector(".cmp-tabs__tabpanel:last-child"),o=i.getAttribute("id"),s=n.querySelector(".cmp-tabs__tablist-container .cmp-tabs__tab--active[aria-controls="+l+"] .cmp-tabs__tab-button");l!=o&&(s.focus(),t.preventDefault())}})}}},20562:function(e,t,a){a(49671)},21805:function(e,t,a){a.r(t),a.d(t,{default:function(){return k}});var l=a(77962),n=(a(49671),a(86839),a(66810)),i=(a(44946),a(79141),a(77001)),o=a(47378);const s=(0,o.b_)({direction:{type:String,values:["horizontal","vertical"],default:"horizontal"},contentPosition:{type:String,values:["left","center","right"],default:"center"},borderStyle:{type:(0,o.jq)(String),default:"solid"}});var r=a(99077),c=a(93513);const u=(0,i.defineComponent)({name:"ElDivider"}),d=(0,i.defineComponent)({...u,props:s,setup(e){const t=e,a=(0,c.DU)("divider"),l=(0,i.computed)(()=>a.cssVar({"border-style":t.borderStyle}));return(e,t)=>((0,i.openBlock)(),(0,i.createElementBlock)("div",{class:(0,i.normalizeClass)([(0,i.unref)(a).b(),(0,i.unref)(a).m(e.direction)]),style:(0,i.normalizeStyle)((0,i.unref)(l)),role:"separator"},[e.$slots.default&&"vertical"!==e.direction?((0,i.openBlock)(),(0,i.createElementBlock)("div",{key:0,class:(0,i.normalizeClass)([(0,i.unref)(a).e("text"),(0,i.unref)(a).is(e.contentPosition)])},[(0,i.renderSlot)(e.$slots,"default")],2)):(0,i.createCommentVNode)("v-if",!0)],6))}});var h=(0,r.A)(d,[["__file","divider.vue"]]),p=a(25376);const m=(0,p.GU)(h);var v=a(64418);a(30080);const f={class:"psaCalculatorRollLengthBody"},b={class:"input-title"};function g(e,t,a,o,s,r){const c=(0,i.resolveComponent)("CalculatorInputNumberUnit"),u=v.S2,d=m,h=n.ll,p=n.MQ,g=l.uD,_=(0,i.resolveComponent)("helpCalculator");return(0,i.openBlock)(),(0,i.createBlock)(i.Teleport,{to:"#psaCalculatorRoll"},[(0,i.createElementVNode)("div",f,[(0,i.createVNode)(u,{class:"el-row-box el-row-box-override"},{default:(0,i.withCtx)(()=>[(0,i.createVNode)(u,{id:"el-row-box-TWT"},{default:(0,i.withCtx)(()=>[(0,i.createVNode)(c,{title:e.totalWebThicknessLabel,precision:3,size:"small",options:e.TotalWebThicknessUOMOptions,onDataChanged:r.changeTotalWebThicknessDisplayValue,onSelectionChanged:r.changeTotalWebThicknessSelection,value:e.TotalWebThicknessDisplayValue,optionValue:e.TotalWebThicknessSelection,currentSelectionIndex:e.TotalWebThicknessSelectionIndex},null,8,["title","options","onDataChanged","onSelectionChanged","value","o
1ptionValue","currentSelectionIndex"])]),_:1}),(0,i.createVNode)(u,{id:"el-row-box-COD"},{default:(0,i.withCtx)(()=>[(0,i.createVNode)(d,{class:"divide-line","content-position":"left"},{default:(0,i.withCtx)(()=>[(0,i.createElementVNode)("h6",b,(0,i.toDisplayString)(r.getI18nMessage("calculator.rollLength.selectCoreOD.label"))+":",1)]),_:1}),(0,i.createVNode)(p,{modelValue:e.codType,"onUpdate:modelValue":t[0]||(t[0]=t=>e.codType=t)},{default:(0,i.withCtx)(()=>[(0,i.createVNode)(h,{label:"3"},{default:(0,i.withCtx)(()=>[(0,i.createTextVNode)("3.5 in")]),_:1}),(0,i.createVNode)(h,{label:"6"},{default:(0,i.withCtx)(()=>[(0,i.createTextVNode)("6.5 in")]),_:1}),(0,i.createVNode)(h,{label:"other"},{default:(0,i.withCtx)(()=>[(0,i.createTextVNode)("Other:")]),_:1})]),_:1},8,["modelValue"]),r.showCODInput?((0,i.openBlock)(),(0,i.createBlock)(c,{key:0,title:"",precision:3,size:"small",options:e.CoreOuterDiameterUOMOptions,onDataChanged:r.changeCoreOuterDiameterDisplayValue,onSelectionChanged:r.changeCoreOuterDiameterSelection,value:e.CoreOuterDiameterDisplayValue,optionValue:e.CoreOuterDiameterSelection,disable:!r.showCODInput,currentSelectionIndex:e.CoreOuterDiameterSelectionIndex},null,8,["options","onDataChanged","onSelectionChanged","value","optionValue","disable","currentSelectionIndex"])):(0,i.createCommentVNode)("",!0),(0,i.createVNode)(d,{class:"divide-line"})]),_:1}),(0,i.createVNode)(u,{id:"el-row-box-ROD"},{default:(0,i.withCtx)(()=>[(0,i.createVNode)(c,{title:e.rollOuterDiameterLabel,precision:3,size:"small",options:e.RollOuterDiameterUOMOptions,onDataChanged:r.changeRollOuterDiameterDisplayValue,onSelectionChanged:r.changeRollOuterDiameterSelection,value:e.RollOuterDiameterDisplayValue,optionValue:e.RollOuterDiameterSelection,currentSelectionIndex:e.RollOuterDiameterSelectionIndex},null,8,["title","options","onDataChanged","onSelectionChanged","value","optionValue","currentSelectionIndex"])]),_:1}),(0,i.createVNode)(u,{id:"el-row-box-RL"},{default:(0,i.withCtx)(()=>[(0,i.createVNode)(c,{title:e.rollLengthLabel,precision:3,size:"small",options:e.RollLengthUOMOptions,onSelectionChanged:r.changeRollLengthSelection,value:r.RollLengthDisplayValue,optionValue:e.RollLengthSelection,disable:!0,currentSelectionIndex:e.RollLengthSelectionIndex},null,8,["title","options","onSelectionChanged","value","optionValue","currentSelectionIndex"])]),_:1}),(0,i.createVNode)(u,{id:"el-row-box-EW"},{default:(0,i.withCtx)(()=>[(0,i.createVNode)(c,{title:e.widthLabel,precision:3,size:"small",options:e.WidthUOMOptions,onDataChanged:r.changeWidthDisplayValue,onSelectionChanged:r.changeWidthSelection,value:e.WidthDisplayValue,optionValue:e.WidthSelection,currentSelectionIndex:e.WidthSelectionIndex},null,8,["title","options","onDataChanged","onSelectionChanged","value","optionValue","currentSelectionIndex"])]),_:1}),(0,i.createVNode)(u,{id:"el-row-box-Area"},{default:(0,i.withCtx)(()=>[(0,i.createVNode)(c,{title:e.areaLabel,precision:3,size:"small",options:e.AreaUOMOptions,onSelectionChanged:r.changeAreaSelection,value:r.AreaDisplayValue,optionValue:e.AreaSelection,disable:!0,currentSelectionIndex:e.AreaSelectionIndex},null,8,["title","options","onSelectionChanged","value","optionValue","currentSelectionIndex"])]),_:1})]),_:1}),(0,i.createVNode)(u,{class:"el-row-box-button"},{default:(0,i.withCtx)(()=>[(0,i.createVNode)(g,{span:12},{default:(0,i.withCtx)(()=>[(0,i.createElementVNode)("button",{onClick:t[1]||(t[1]=(...e)=>r.handleClear&&r.handleClear(...e)),class:"cl-btn btn btn-primary",type:"button"},(0,i.toDisplayString)(r.getI18nMessage("clear.all.Title")),1)]),_:1}),(0,i.createVNode)(g,{span:12},{default:(0,i.withCtx)(()=>[(0,i.createVNode)(_,{class:"help-modal",helpTitle:"help.calculator.rollLength.title",helpParagraph:e.helpParagraph},null,8,["helpParagraph"])]),_:1})]),_:1})])])}var _=a(49680),w=a(32429),C=a(16375),V=a(78202),N=a(76471),I=a(18470),y={extends:_.Ay,components:{CalculatorInputNumberUnit:C.A,CalculatorInputNumber:w.A,helpCalculator:N.i,formulaAll:V._},data:function(){return{codType:"3",totalWebThicknessLabel:window.Granite.I18n.get("calculator.rollLength.totalWebThickness.label"),rollOuterDiameterLabel:window.Granite.I18n.get("calculator.rollLength.rollOuterDiameter.label"),rollLengthLabel:window.Granite.I18n.get("calculator.rollLength.rollLength.label"),widthLabel:window.Granite.I18n.get("calculator.rollLength.width.label"),areaLabel:window.Granite.I18n.get("calculator.rollLength.area.label"),TotalWebThicknessDisplayValue:0,CoreOuterDiameterDisplayValue:0,RollOuterDiameterDisplayValue:0,WidthDisplayValue:0,TotalWebThicknessUOMOptions:[{index:0,title:"mils",id:"mils"},{index:1,title:"microns",id:"microns"}],CoreOuterDiameterUOMOptions:[{index:0,title:"in",id:"in"},{index:1,title:"cm",id:"cm"}],RollOuterDiameterUOMOptions:[{index:0,title:"in",id:"in"},{index:1,title:"cm",id:"cm"}],RollLengthUOMOptions:[{index:0,title:"in",id:"in"},{index:1,title:"cm",id:"cm"},{index:2,title:"ft",id:"ft"},{index:3,title:"yds",id:"yds"},{index:4,title:"m",id:"m"}],WidthUOMOptions:[{index:0,title:"in",id:"in"},{index:1,title:"cm",id:"cm"},{index:2,title:"ft",id:"ft"},{index:3,title:"yds",id:"yds"},{index:4,title:"m",id:"m"}],AreaUOMOptions:[{index:0,title:"MSI",id:"Thousand sq. in (MSI)"},{index:1,title:"sq. ft",id:"sq. ft"},{index:2,title:"sq. yd",id:"sq. yd"},{index:3,title:"sq. m",id:"sq. m"},{index:4,title:"ream (3000 sq. ft)",id:"ream (3000 sq. ft)"},{index:5,title:"Ream (3300 sq. ft)",id:"Ream (3300 sq. ft)"}],TotalWebThicknessSelectionIndex:0,CoreOuterDiameterSelectionIndex:0,RollOuterDiameterSelectionIndex:0,RollLengthSelectionIndex:0,WidthSelectionIndex:0,AreaSelectionIndex:0,TotalWebThicknessSelection:"mils",CoreOuterDiameterSelection:"in",RollOuterDiameterSelection:"in",RollLengthSelection:"in",WidthSelection:"in",AreaSelection:"Thousand sq. in (MSI)",helpParagraph:[{text:"help.calculator.rollLength.paragraph1",bold:!1}
1,{text:"help.calculator.rollLength.paragraph2",bold:!1},{text:"help.calculator.rollLength.paragraph3",bold:!1},{text:"help.calculator.rollLength.paragraph4",bold:!1},{text:"help.calculator.rollLength.paragraph5",bold:!1},{text:"help.calculator.rollLength.paragraph6",bold:!1}]}},mounted:function(){I.A.trapFocusToContainer(this.cmpEl),document.addEventListener("click",function(e){if(!e.target.matches(".dropdown_bar__current")&&!e.target.matches(".dropdown_bar__option"))for(var t=document.getElementsByClassName("dropdown_bar__current"),a=document.getElementsByClassName("dropdown_bar__list"),l=0;l<t.length;l++)t[l].classList.contains("active")&&(t[l].classList.remove("active"),a[l].style.display="none")})},computed:{showCODInput:function(){return this.CoreOuterDiameterDisplayValue=0,"other"==this.codType},TotalWebThicknessRealValue:function(){return""!=this.TotalWebThicknessSelection&&0!=this.TotalWebThicknessDisplayValue?V._.methods.uomConversion("thickness",this.TotalWebThicknessSelection,"mils",this.TotalWebThicknessDisplayValue):0},CoreOuterDiameterRealValue:function(){return"3"==this.codType?3.5:"6"==this.codType?6.5:"other"==this.codType&&""!=this.CoreOuterDiameterSelection&&0!=this.CoreOuterDiameterDisplayValue?V._.methods.uomConversion("thickness",this.CoreOuterDiameterSelection,"in",this.CoreOuterDiameterDisplayValue):0},RollOuterDiameterRealValue:function(){return""!=this.RollOuterDiameterSelection&&0!=this.RollOuterDiameterDisplayValue?V._.methods.uomConversion("thickness",this.RollOuterDiameterSelection,"in",this.RollOuterDiameterDisplayValue):0},RollLengthRealValue:function(){if(0!=this.TotalWebThicknessRealValue&&0!=this.CoreOuterDiameterRealValue&&0!=this.RollOuterDiameterRealValue){let e=this.RollOuterDiameterRealValue,t=this.CoreOuterDiameterRealValue,a=this.TotalWebThicknessRealValue;return 3142.6*(e*e-t*t)/(4*a)}return 0},WidthRealValue:function(){return""!=this.WidthSelection&&0!=this.WidthDisplayValue?V._.methods.uomConversion("thickness",this.WidthSelection,"in",this.WidthDisplayValue):0},AreaRealValue:function(){return 0!=this.RollLengthRealValue&&0!=this.WidthRealValue?this.RollLengthRealValue*this.WidthRealValue/1e3:0},RollLengthDisplayValue:function(){if(""!=this.RollLengthSelection&&0!=this.RollLengthRealValue)return V._.methods.uomConversion("thickness","in",this.RollLengthSelection,this.RollLengthRealValue)},AreaDisplayValue:function(){if(""!=this.AreaSelection&&0!=this.AreaRealValue)return V._.methods.uomConversion("area","Thousand sq. in (MSI)",this.AreaSelection,this.AreaRealValue)}},methods:{getI18nMessage:function(e){return window.Granite.I18n.get(e)},getI18nMessageClear:function(){return window.Granite.I18n.get("clear.all.Title")},getI18nMessageLabel:function(){return window.Granite.I18n.get("calculator.rollLength.selectCoreOD.label")},changeTotalWebThicknessDisplayValue(e){this.TotalWebThicknessDisplayValue=e},changeCoreOuterDiameterDisplayValue(e){this.CoreOuterDiameterDisplayValue=e},changeRollOuterDiameterDisplayValue(e){this.RollOuterDiameterDisplayValue=e},changeWidthDisplayValue(e){this.WidthDisplayValue=e},changeTotalWebThicknessSelection(e){this.TotalWebThicknessSelectionIndex=e.currentIndex,this.TotalWebThicknessSelection=e.newOpt.id},changeCoreOuterDiameterSelection(e){this.CoreOuterDiameterSelectionIndex=e.currentIndex,this.CoreOuterDiameterSelection=e.newOpt.id},changeRollOuterDiameterSelection(e){this.RollOuterDiameterSelectionIndex=e.currentIndex,this.RollOuterDiameterSelection=e.newOpt.id},changeRollLengthSelection(e){this.RollLengthSelectionIndex=e.currentIndex,this.RollLengthSelection=e.newOpt.id},changeWidthSelection(e){this.WidthSelectionIndex=e.currentIndex,this.WidthSelection=e.newOpt.id},changeAreaSelection(e){this.AreaSelectionIndex=e.currentIndex,this.AreaSelection=e.newOpt.id},handleClear:function(){this.TotalWebThicknessDisplayValue=0,this.CoreOuterDiameterDisplayValue=0,this.RollOuterDiameterDisplayValue=0,this.WidthDisplayValue=0,this.TotalWebThicknessSelectionIndex=0,this.CoreOuterDiameterSelectionIndex=0,this.RollOuterDiameterSelectionIndex=0,this.RollLengthSelectionIndex=0,this.WidthSelectionIndex=0,this.AreaSelectionIndex=0,this.TotalWebThicknessSelection="mils",this.CoreOuterDiameterSelection="in",this.RollOuterDiameterSelection="in",this.RollLengthSelection="in",this.WidthSelection="in",this.AreaSelection="Thousand sq. in (MSI)"}}},x=a(71786);const S=(0,x.A)(y,[["render",g]]);var k=S},25644:function(e,t,a){var l=a(11591),n=a(69092),i=a(22799),o="[object Object]",s=Function.prototype,r=Object.prototype,c=s.toString,u=r.hasOwnProperty,d=c.call(Object);function h(e){if(!(0,i.A)(e)||(0,l.A)(e)!=o)return!1;var t=(0,n.A)(e);if(null===t)return!0;var a=u.call(t,"constructor")&&t.constructor;return"function"==typeof a&&a instanceof a&&c.call(a)==d}t.A=h},31254:function(e,t,a){a.d(t,{A:function(){return u}});var l=a(60168),n=Object.create,i=function(){function e(){}return function(t){if(!(0,l.A)(t))return{};if(n)return n(t);e.prototype=t;var a=new e;return e.prototype=void 0,a}}(),o=i,s=a(69092),r=a(83110);function c(e){return"function"!=typeof e.constructor||(0,r.A)(e)?{}:o((0,s.A)(e))}var u=c},32429:function(e,t,a){a.d(t,{A:function(){return p}});var l=a(64418),n=(a(49671),a(30080),a(77398)),i=(a(1019),a(77962)),o=(a(86839),a(77001));const s={class:"grid-content bg-purple-dark"},r={class:"input-title"};function c(e,t,a,c,u,d){const h=i.uD,p=n.lq,m=l.S2;return(0,o.openBlock)(),(0,o.createBlock)(m,{class:"calculator-input-number",gutter:a.spacing,justify:"center"},{default:(0,o.withCtx)(()=>[(0,o.createVNode)(h,{span:12},{default:(0,o.withCtx)(()=>[(0,o.createElementVNode)("div",s,[(0,o.createElementVNode)("h6",r,(0,o.toDisplayString)(a.title)+(0,o.toDisplayString)(""==a.title?"":":"),1)])]),_:1}),(0,o.createVNode)(h,{span:12},{default:(0,o.withCtx)(()=>[(0,o.createVNode)(p,{modelValue:u.num,"onUpdate:modelValue":t[0]||(t[0]=e=>u.num=e),placeholder:a.placeHolder,disabled:a.disable,controls:!1,precision:a.precision,onChange:d.change,onFocus:d.clear,onBlur:d.restore,min:a.minValue,max:a.maxValue,size:"small"},null,8,["modelValue","placeholder","disabled","precision","onChange","onFocus","onBlur","min","max"])]),_:1})]),_:1},8,["gutter"])}var u={name:"CalculatorInputNumber",props:{value:{type:Number},title:{type:String,default:""},spacing:{type:Number,default:0},minValue:{type:Number,default:Number.NEGATIVE_INFINITY},maxValue:{type:Number,default:Number.POSITIVE_INFINITY},placeHolder:{type:String,default:""},disable:{type:Boolean,default:!1},precision:{type:Number,default:0}},data(){return{num:0}},watch:{value(){this.num=this.value}},methods:{clear(){0===this.num&&(this.num=void 0)}
1,restore(){void 0===this.num&&(this.num=0)},change(){this.$emit("dataChanged",this.num)}}},d=a(71786);const h=(0,d.A)(u,[["render",c]]);var p=h},39078:function(e,t,a){var l=a(73939);function n(e){var t=new e.constructor(e.byteLength);return new l.A(t).set(new l.A(e)),t}t.A=n},40571:function(e,t,a){a.r(t),a.d(t,{default:function(){return _}});var l=a(64418),n=(a(49671),a(30080),a(77962)),i=(a(86839),a(70683)),o=(a(20562),a(77001));const s={class:"psaCalculatorBondForceContainer"};function r(e,t,a,r,c,u){const d=(0,o.resolveComponent)("CalculatorInputNumber"),h=i.Ik,p=n.uD,m=(0,o.resolveComponent)("helpCalculator"),v=l.S2;return(0,o.openBlock)(),(0,o.createBlock)(o.Teleport,{to:"#psaCalculatorBond"},[(0,o.createElementVNode)("div",s,[(0,o.createVNode)(h,{class:"calculator-card"},{default:(0,o.withCtx)(()=>[((0,o.openBlock)(!0),(0,o.createElementBlock)(o.Fragment,null,(0,o.renderList)(e.uomMapCommon,(e,t)=>((0,o.openBlock)(),(0,o.createBlock)(d,{title:t,value:e.value,spacing:e.spacing,precision:e.precision,minValue:e.min,maxValue:e.max,onDataChanged:e=>u.updateAllUomValues(t,e)},null,8,["title","value","spacing","precision","minValue","maxValue","onDataChanged"]))),256))]),_:1}),(0,o.createVNode)(h,{class:"calculator-card"},{default:(0,o.withCtx)(()=>[((0,o.openBlock)(!0),(0,o.createElementBlock)(o.Fragment,null,(0,o.renderList)(e.uomMapOther,(e,t)=>((0,o.openBlock)(),(0,o.createBlock)(d,{title:t,value:e.value,spacing:e.spacing,precision:e.precision,minValue:e.min,maxValue:e.max,onDataChanged:e=>u.updateAllUomValues(t,e)},null,8,["title","value","spacing","precision","minValue","maxValue","onDataChanged"]))),256))]),_:1}),(0,o.createVNode)(h,{class:"el-row-box-button",shadow:"never"},{default:(0,o.withCtx)(()=>[(0,o.createVNode)(v,{gutter:20,type:"flex",style:{"align-items":"center"}},{default:(0,o.withCtx)(()=>[(0,o.createVNode)(p,{span:12},{default:(0,o.withCtx)(()=>[(0,o.createElementVNode)("button",{class:"btn btn-default btn-primary btn-psaCalculator",onClick:t[0]||(t[0]=(...e)=>u.clearAllValues&&u.clearAllValues(...e))},(0,o.toDisplayString)(u.i18nClearAllTitle),1)]),_:1}),(0,o.createVNode)(p,{span:12},{default:(0,o.withCtx)(()=>[(0,o.createVNode)(m,{class:"help-psaCalculator",helpTitle:"help.calculator.bond-force.title",helpParagraph:e.helpParagraph},null,8,["helpParagraph"])]),_:1})]),_:1})]),_:1})])])}var c=a(49680),u=a(32429),d=a(78202),h=a(76471),p=a(18470);const m=2,v=0;var f={name:"psaCalculatorBondForce",extends:c.Ay,data:function(){return{childValue:0,uomMapCommon:{"oz/in":{value:0,min:0,max:Number.POSITIVE_INFINITY,precision:m,spacing:v},"lb/in":{value:0,min:0,max:Number.POSITIVE_INFINITY,precision:m,spacing:v},"g/in":{value:0,min:0,max:Number.POSITIVE_INFINITY,precision:m,spacing:v},"Newton/in":{value:0,min:0,max:Number.POSITIVE_INFINITY,precision:m,spacing:v}},uomMapOther:{"g/25 mm":{value:0,min:0,max:Number.POSITIVE_INFINITY,precision:m,spacing:v},"g/15 mm":{value:0,min:0,max:Number.POSITIVE_INFINITY,precision:m,spacing:v},"g/cm":{value:0,min:0,max:Number.POSITIVE_INFINITY,precision:m,spacing:v},"Newton/cm":{value:0,min:0,max:Number.POSITIVE_INFINITY,precision:m,spacing:v}},helpParagraph:[{text:"help.calculator.bond-force.paragraph1",bold:!1},{text:"help.calculator.bond-force.paragraph2",bold:!1}
1]}},mounted:function(){p.A.trapFocusToContainer(this.cmpEl)},components:{CalculatorInputNumber:u.A,formulaAll:d._,helpCalculator:h.i},methods:{setChildData(e){this.childValue=e},updateAllUomValues(e,t){this.setChildData(t);for(let[a,l]of Object.entries(this.uomMapCommon))l.value=a!=e?d._.methods.uomConversion("bond-force",e,a,this.childValue):this.childValue;for(let[a,l]of Object.entries(this.uomMapOther))l.value=a!=e?d._.methods.uomConversion("bond-force",e,a,this.childValue):this.childValue},clearAllValues(){for(let[e,t]of Object.entries(this.uomMapCommon))t.value=0;for(let[e,t]of Object.entries(this.uomMapOther))t.value=0}},computed:{i18nClearAllTitle:function(){return window.Granite.I18n.get("clear.all.Title")}}},b=a(71786);const g=(0,b.A)(f,[["render",r]]);var _=g},44946:function(e,t,a){a(49671),a(79141)},46076:function(e,t,a){a.r(t),a.d(t,{default:function(){return N}});var l=a(77398),n=(a(49671),a(1019),a(64418)),i=(a(30080),a(77962)),o=(a(86839),a(77001));const s={class:"psa-calculator-coatwt"},r={class:"grid-content bg-purple-dark"},c={class:"coatwt-dropdown-override"},u=(0,o.createElementVNode)("span",{innerHTML:"Â Â g/cc"},null,-1),d={class:"coatwt-dropdown-override"},h=(0,o.createElementVNode)("span",{innerHTML:"Â Â g/cc"},null,-1);function p(e,t,a,p,m,v){const f=(0,o.resolveComponent)("CalculatorInputNumber"),b=i.uD,g=n.S2,_=(0,o.resolveComponent)("DropdownBar"),w=l.lq,C=(0,o.resolveComponent)("helpCalculator");return(0,o.openBlock)(),(0,o.createBlock)(o.Teleport,{to:"#psaCalculatorCoat"},[(0,o.createElementVNode)("div",s,[(0,o.createVNode)(g,{class:"el-row-box"},{default:(0,o.withCtx)(()=>[(0,o.createVNode)(b,null,{default:(0,o.withCtx)(()=>[(0,o.createVNode)(f,{value:e.microns,title:e.micronsTitleI18n,spacing:40,precision:3,onDataChanged:t[0]||(t[0]=t=>v.handleChange(t,e.micronsTitle))},null,8,["value","title"])]),_:1}),(0,o.createVNode)(b,null,{default:(0,o.withCtx)(()=>[(0,o.createVNode)(f,{value:e.mils,title:e.milsTitleI18n,spacing:40,precision:3,onDataChanged:t[1]||(t[1]=t=>v.handleChange(t,e.milsTitle))},null,8,["value","title"])]),_:1})]),_:1}),(0,o.createVNode)(g,{class:"el-row-box"},{default:(0,o.withCtx)(()=>[(0,o.createVNode)(b,null,{default:(0,o.withCtx)(()=>[(0,o.createVNode)(f,{value:e.pounds,title:e.poundsTitleI18n,spacing:40,precision:3,onDataChanged:t[2]||(t[2]=t=>v.handleChange(t,e.poundsTitle))},null,8,["value","title"])]),_:1}),(0,o.createVNode)(b,null,{default:(0,o.withCtx)(()=>[(0,o.createVNode)(f,{value:e.gsm,title:e.gsmTitleI18n,spacing:40,precision:3,onDataChanged:t[3]||(t[3]=t=>v.handleChange(t,e.gsmTitle))},null,8,["value","title"])]),_:1}),(0,o.createVNode)(b,null,{default:(0,o.withCtx)(()=>[(0,o.createVNode)(f,{value:e.gsi,title:e.gsiTitleI18n,spacing:40,precision:3,onDataChanged:t[4]||(t[4]=t=>v.handleChange(t,e.gsiTitle))},null,8,["value","title"])]),_:1}),(0,o.createVNode)(b,null,{default:(0,o.withCtx)(()=>[(0,o.createVNode)(f,{value:e.ounces,title:e.ouncesTitleI18n,spacing:40,precision:3,onDataChanged:t[5]||(t[5]=t=>v.handleChange(t,e.ouncesTitle))},null,8,["value","title"])]),_:1})]),_:1}),(0,o.createVNode)(g,{class:"el-row-box"},{default:(0,o.withCtx)(()=>[(0,o.createVNode)(b,{span:24},{default:(0,o.withCtx)(()=>[(0,o.createElementVNode)("div",r,[(0,o.createElementVNode)("h6",null,(0,o.toDisplayString)(e.densityTitleI18n)+":",1)])]),_:1}),(0,o.createVNode)(b,{span:12,class:"hidden-xs-only el-col-pc-dopdown"},{default:(0,o.withCtx)(()=>[(0,o.createElementVNode)("div",c,[(0,o.createVNode)(_,{options:v.densityOptions,currentSelection:e.currentDensityIndex,type:"density",onSelectDropdown:v.onChangeDensity},null,8,["options","currentSelection","onSelectDropdown"])])]),_:1}),(0,o.createVNode)(b,{span:12,class:"hidden-xs-only el-col-pc-number"},{default:(0,o.withCtx)(()=>[(0,o.createVNode)(w,{modelValue:e.density,"onUpdate:modelValue":t[6]||(t[6]=t=>e.density=t),placeholder:"",disabled:e.densityDisable,controls:!1,precision:3,onChange:v.handleClear,onFocus:v.inputClear,onBlur:v.inputRestore,min:Number.NEGATIVE_INFINITY,max:Number.POSITIVE_INFINITY,size:"small"},null,8,["modelValue","disabled","onChange","onFocus","onBlur","min","max"]),u]),_:1}),(0,o.createVNode)(b,{span:24,class:"hidden-sm-and-up el-col-mobile-dopdown"},{default:(0,o.withCtx)(()=>[(0,o.createElementVNode)("div",d,[(0,o.createVNode)(_,{options:v.densityOptions,currentSelection:e.currentDensityIndex,type:"density",onSelectDropdown:v.onChangeDensity},null,8,["options","currentSelection","onSelectDropdown"])])]),_:1}),(0,o.createVNode)(b,{span:24,class:"hidden-sm-and-up el-col-mobile-number"},{default:(0,o.withCtx)(()=>[(0,o.createVNode)(w,{modelValue:e.density,"onUpdate:modelValue":t[7]||(t[7]=t=>e.density=t),placeholder:"",disabled:e.densityDisable,controls:!1,precision:3,onChange:v.handleClear,onFocus:v.inputClear,onBlur:v.inputRestore,min:Number.NEGATIVE_INFINITY,max:Number.POSITIVE_INFINITY,size:"small"},null,8,["modelValue","disabled","onChange","onFocus","onBlur","min","max"]),h]),_:1})]),_:1}),(0,o.createVNode)(g,{class:"el-row-box-button"},{default:(0,o.withCtx)(()=>[(0,o.createVNode)(b,{span:12},{default:(0,o.withCtx)(()=>[(0,o.createElementVNode)("button",{onClick:t[8]||(t[8]=(...e)=>v.handleClear&&v.handleClear(...e)),class:"cl-btn btn btn-primary",type:"button"},(0,o.toDisplayString)(v.i18nClearAllTitle),1)]),_:1}),(0,o.createVNode)(b,{span:12},{default:(0,o.withCtx)(()=>
1[(0,o.createVNode)(C,{helpTitle:"help.calculator.coatwt.title",helpParagraph:e.helpParagraph},null,8,["helpParagraph"])]),_:1})]),_:1})])])}var m=a(49680),v=a(32429),f=a(48201),b=a(76471),g=a(18470);const _=[{id:"1.04",title:window.Granite.I18n.get("coatwt.density.options1"),value:1.04},{id:"1.19",title:window.Granite.I18n.get("coatwt.density.options2"),value:1.19},{id:"0.913",title:window.Granite.I18n.get("coatwt.density.options3"),value:.913},{id:"0.917",title:window.Granite.I18n.get("coatwt.density.options4"),value:.917},{id:"0.933",title:window.Granite.I18n.get("coatwt.density.options5"),value:.933},{id:"1.39",title:window.Granite.I18n.get("coatwt.density.options6"),value:1.39},{id:"0.923 ",title:window.Granite.I18n.get("coatwt.density.options7"),value:.923},{id:"0.95",title:window.Granite.I18n.get("coatwt.density.options8"),value:.95},{id:"0.93",title:window.Granite.I18n.get("coatwt.density.options9"),value:.93},{id:"Other",title:window.Granite.I18n.get("coatwt.density.options10"),value:0}];var w={name:"psaCalculatorCoatWt",extends:m.Ay,components:{CalculatorInputNumber:v.A,helpCalculator:b.i,DropdownBar:f.h},data:function(){return{microns:0,mils:0,pounds:0,gsm:0,gsi:0,ounces:0,density:_[0].value,currentDensityIndex:0,densityDisable:!0,micronsTitle:"microns",micronsTitleI18n:window.Granite.I18n.get("coatwt.microns.title"),milsTitle:"mils",milsTitleI18n:window.Granite.I18n.get("coatwt.mils.title"),poundsTitle:"lb/ream",poundsTitleI18n:window.Granite.I18n.get("coatwt.pounds.title"),gsmTitle:"g/sq. m",gsmTitleI18n:window.Granite.I18n.get("coatwt.gsm.title"),gsiTitle:"g/100 sq. in",gsiTitleI18n:window.Granite.I18n.get("coatwt.gsi.title"),ouncesTitle:"oz/sq. yd",ouncesTitleI18n:window.Granite.I18n.get("coatwt.ounces.title"),densityTitle:"Density used in Calculation",densityTitleI18n:window.Granite.I18n.get("coatwt.density.title"),helpParagraph:[{text:"help.calculator.coatwt.paragraph1",bold:!1},{text:"help.calculator.coatwt.paragraph2",bold:!1}
1,{text:"help.calculator.coatwt.paragraph3",bold:!1}]}},mounted:function(){g.A.trapFocusToContainer(this.cmpEl)},computed:{i18nClearAllTitle:function(){return window.Granite.I18n.get("clear.all.Title")},densityOptions:function(){return _}},watch:{},created(){},methods:{inputClear(){0==this.density&&(this.density=void 0)},inputRestore(){void 0==this.density&&(this.density=0)},handleChange(e,t){"microns"===t?(this.microns=e,this.mils=this.formatFloat(this.microns/25.4,2),this.gsm=this.formatFloat(this.microns/1e4*this.density*100*100,2),this.gsi=this.formatFloat(this.microns/1e4*this.density*2.54*2.54*100,3),this.ounces=this.formatFloat(this.microns/1e4*this.density*2.54*2.54*36*36/454*16,2),this.pounds=this.formatFloat(this.microns/1e4*this.density*2.54*2.54*12*12*3e3/454,2)):"mils"===t?(this.mils=e,this.microns=this.formatFloat(25.4*this.mils,2),this.gsm=this.formatFloat(25.4*this.mils/1e4*this.density*100*100,2),this.gsi=this.formatFloat(25.4*this.mils/1e4*this.density*2.54*2.54*100,2),this.ounces=this.formatFloat(25.4*this.mils/1e4*this.density*2.54*2.54*36*36/454*16,2),this.pounds=this.formatFloat(25.4*this.mils/1e4*this.density*2.54*2.54*12*12*3e3/454,2)):"lb/ream"===t?(this.pounds=e,this.ounces=this.formatFloat(this.pounds/3e3/12/12*16*36*36,2),this.gsm=this.formatFloat(this.pounds/3e3/12/12*454/2.54/2.54*100*100,2),this.gsi=this.formatFloat(this.pounds/3e3/12/12*454*100,3),this.microns=this.formatFloat(this.pounds/3e3/12/12*454/2.54/2.54/this.density*1e4,2),this.mils=this.formatFloat(this.pounds/3e3/12/12*454/2.54/2.54/this.density*1e4/25.4,2)):"g/sq. m"===t?(this.gsm=e,this.gsi=this.formatFloat(100*this.gsm/100/100*2.54*2.54,2),this.ounces=this.formatFloat(this.gsm/100/100*2.54*2.54/454*16*36*36,2),this.pounds=this.formatFloat(this.gsm/454/100/100*2.54*2.54*12*12*3e3,2),this.microns=this.formatFloat(this.gsm/this.density/100/100*1e4,2),this.mils=this.formatFloat(this.gsm/this.density/100/100*1e4/25.4,2)):"g/100 sq. in"===t?(this.gsi=e,this.gsm=this.formatFloat(this.gsi/100/2.54/2.54*100*100,2),this.ounces=this.formatFloat(this.gsi/100/454*16*36*36,2),this.pounds=this.formatFloat(this.gsi/100/454*12*12*3e3,2),this.microns=this.formatFloat(this.gsi/100/2.54/2.54/this.density*1e4,2),this.mils=this.formatFloat(this.gsi/100/2.54/2.54/this.density*1e4/25.4,2)):"oz/sq. yd"===t&&(this.ounces=e,this.gsm=this.ounces/16*454/36/36/2.54/2.54*100*100,this.gsi=this.ounces/16*454/36/36*100,this.pounds=this.ounces/16/3/3*3e3,this.microns=this.ounces/16*454/36/36/2.54/2.54/this.density*1e4,this.mils=this.ounces/16*454/36/36/2.54/2.54/this.density*1e4/25.4)},onChangeDensity:function(e){if(void 0!==e.value&&e.value!==this.density){this.handleClear(),0===e.value||"0"===e.value?(this.density=0,this.densityDisable=!1):(this.density=e.value,this.densityDisable=!0);let t=this.densityOptions.length;for(let a=0;a<t;a++){let t=this.densityOptions[a];if(e.id==t.id){this.currentDensityIndex=a;break}}}},handleClear:function(){this.microns=0,this.mils=0,this.pounds=0,this.gsm=0,this.gsi=0,this.ounces=0},formatFloat:function(e,t){var a=Math.pow(10,t);return Math.round(e*a,10)/a}}},C=a(71786);const V=(0,C.A)(w,[["render",p]]);var N=V},48201:function(e,t,a){a.d(t,{h:function(){return l}});const l={data:function(){return{isActive:!1,sortByDropdown:window.Granite.I18n.get("sort.by.dropdown.Title")}},template:'<div class="dropdown_bar">\n <div class="dropdown_bar__current" :class="{\'active\': isActive}" tabindex="0" @click.stop="toggleOnClick" @keyup="toggleOnKeydown" :aria-label="sortByDropdown" role="combobox">\n <span v-if="titleAddition">{{titleAddition+": "+selectedOption.title}}</span>\n <span v-else-if="pageTitleAddition">{{pageTitleAddition.replace(\'{0}\', selectedOption.title)}}</span>\n <span v-else>{{ selectedOption.title }}</span>\n <svg class="dropdown_bar__icon" alt="Arrow Icon" aria-hidden="true" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" x="0px" y="0px" viewBox="0 0 1000 1000" enable-background="new 0 0 1000 1000" xml:space="preserve">\n <g><path d="M500,775.4L10,287.2l64.4-62.6L500,650.2l425.6-425.6l64.4,62.6L500,775.4z"/></g>\n </svg>\n </div>\n <ul class="dropdown_bar__list" :class="hasSrollbar ? \'dropdown_bar__scrollbar\': \'\'" :style="isActive ? \'display: block;\' : \'display: none;\'" id="dropdownUl" ref=\'dropdown\' @keydown="trapKeyboardFocus">\n <li v-for="option in options"\n :key="option.id"\n @click="onSelectOption(option)"\n @keyup.enter.prevent="onSelectOption(option)"\n class="dropdown_bar__option"\n :class="option.title == selectedOption.title ? \'dropdown_bar__selected\': \'\'"\n tabindex="0"\n ref=\'dropdownList\'\n >\n {{ option.title }}\n </li>\n </ul>\n </div>',props:["options","type","currentSelection","titleAddition","pageTitleAddition","hasSrollbar"],computed:{selectedOption:function(){return this.options[this.currentSelection]}},methods:{onSelectOption:function(e){this.$emit("select-dropdown",e),this.isActive=!1},toggleOnKeydown:function(e){"Enter"===e.key&&(e.preventDefault(),this.isActive=!this.isActive,this.$nextTick(function(){const e=this.$refs.dropdown.querySelector(".dropdown_bar__selected");e.focus()}))},toggleOnClick:function(){this.isActive=!this.isActive,$(document).click(function(e){$(e.target).is("#dropdownUl")||$("#dropdownUl").hide()})},trapKeyboardFocus(e){const t=this.$refs.dropdown.querySelectorAll('[tabindex]:not
1([tabindex="-1"])'),a=t[0];let l=t[t.length-1];"ArrowDown"===e.key?(e.preventDefault(),e.target===l?a.focus():$(".dropdown_bar__option:focus").next().focus()):"ArrowUp"===e.key?(e.preventDefault(),e.target===a?l.focus():$(".dropdown_bar__option:focus").prev().focus()):"Tab"===e.key&&e.target===l&&this.toggleOnClick()}}}},48689:function(e,t,a){a.r(t),a.d(t,{default:function(){return g}});var l=a(64418),n=(a(49671),a(30080),a(77962)),i=(a(86839),a(77001));const o={class:"psaCalculatorMiscBody"},s={class:"calculator-header"},r={class:"calculator-header"};function c(e,t,a,c,u,d){const h=(0,i.resolveComponent)("CalculatorInputNumber"),p=n.uD,m=l.S2,v=(0,i.resolveComponent)("helpCalculator");return(0,i.openBlock)(),(0,i.createBlock)(i.Teleport,{to:"#psaCalculatorMisc"},[(0,i.createElementVNode)("div",o,[(0,i.createVNode)(m,{class:"el-row-box"},{default:(0,i.withCtx)(()=>[(0,i.createElementVNode)("h6",s,(0,i.toDisplayString)(d.getI18nMessage("calculator.misc.temperature.title")),1),((0,i.openBlock)(!0),(0,i.createElementBlock)(i.Fragment,null,(0,i.renderList)(e.temperatureData,(e,t)=>((0,i.openBlock)(),(0,i.createBlock)(p,{key:t},{default:(0,i.withCtx)(()=>[(0,i.createVNode)(h,{class:"input-number",title:e.title,minValue:e.minValue,value:e.value,precision:1,size:"small",onDataChanged:t=>d.changeTemperatureValue(t,e.functionOption)},null,8,["title","minValue","value","onDataChanged"])]),_:2},1024))),128)),(0,i.createVNode)(p,null,{default:(0,i.withCtx)(()=>[(0,i.createElementVNode)("button",{onClick:t[0]||(t[0]=(...e)=>d.clearTemperature&&d.clearTemperature(...e)),class:"cl-btn btn btn-primary misc-clear-btn",type:"button"},(0,i.toDisplayString)(d.getI18nMessage("clear.all.Title")),1)]),_:1})]),_:1}),(0,i.createVNode)(m,{class:"el-row-box"},{default:(0,i.withCtx)(()=>[(0,i.createElementVNode)("h6",r,(0,i.toDisplayString)(d.getI18nMessage("calculator.misc.poresize.title")),1),((0,i.openBlock)(!0),(0,i.createElementBlock)(i.Fragment,null,(0,i.renderList)(e.poreSizeData,(e,t)=>((0,i.openBlock)(),(0,i.createBlock)(p,{key:t},{default:(0,i.withCtx)(()=>[(0,i.createVNode)(h,{class:"input-number",title:e.title,value:e.value,precision:0,size:"small",onDataChanged:t=>d.changePoreSizeValue(t,e.functionOption)},null,8,["title","value","onDataChanged"])]),_:2},1024))),128)),(0,i.createVNode)(p,{span:12},{default:(0,i.withCtx)(()=>[(0,i.createElementVNode)("button",{onClick:t[1]||(t[1]=(...e)=>d.clearPoreSize&&d.clearPoreSize(...e)),class:"cl-btn btn btn-primary misc-clear-btn",type:"button"},(0,i.toDisplayString)(d.getI18nMessage("clear.all.Title")),1)]),_:1})]),_:1}),(0,i.createVNode)(m,{class:"calculator-footer"},{default:(0,i.withCtx)(()=>[(0,i.createVNode)(v,{helpTitle:"help.calculator.misc.title",helpParagraph:e.helpParagraph,helpCalculatorNotification:"psaCalculatorMisc-help-notification"},null,8,["helpParagraph"])]),_:1})])])}var u=a(49680),d=a(32429),h=a(78202),p=a(76471),m=a(18470),v={extends:u.Ay,components:{CalculatorInputNumber:d.A,helpCalculator:p.i,formulaAll:h._},data:function(){return{temperatureData:[{value:0,title:window.Granite.I18n.get("calculator.misc.fahrenheit.label"),functionOption:"F",minValue:-459.67},{value:0,title:window.Granite.I18n.get("calculator.misc.centigrade.label"),functionOption:"C",minValue:-273.15}],poreSizeData:[{value:0,title:window.Granite.I18n.get("calculator.misc.mesh.label"),functionOption:"mesh"},{value:0,title:window.Granite.I18n.get("calculator.misc.micron.label"),functionOption:"micron"}],helpParagraph:[{text:"help.calculator.misc.paragraph1",bold:!0},{text:"help.calculator.misc.paragraph2",bold:!1}
1,{text:"help.calculator.misc.paragraph3",bold:!0},{text:"help.calculator.misc.paragraph4",bold:!1},{text:"help.calculator.misc.paragraph5",bold:!1}]}},mounted:function(){m.A.trapFocusToContainer(this.cmpEl)},methods:{getI18nMessage:function(e){return window.Granite.I18n.get(e)},changeTemperatureValue(e,t){for(var a=0;a<this.temperatureData.length;a++){var l=this.temperatureData[a];l.functionOption!=t?l.value=h._.methods.temperatureConvertTo(l.functionOption,e):l.value=e,this.temperatureData[a]=l}},changePoreSizeValue(e,t){for(var a=0;a<this.poreSizeData.length;a++){var l=this.poreSizeData[a];l.functionOption!=t?l.value=h._.methods.meshMicronConvertTo(l.functionOption,e):l.value=e,this.poreSizeData[a]=l}},clearTemperature(){for(var e=0;e<this.temperatureData.length;e++)this.temperatureData[e].value=0},clearPoreSize(){for(var e=0;e<this.poreSizeData.length;e++)this.poreSizeData[e].value=0}}},f=a(71786);const b=(0,f.A)(v,[["render",c]]);var g=b},54268:function(e,t,a){var l=a(41018),n=a(35061);function i(e,t,a,i){var o=!a;a||(a={});var s=-1,r=t.length;while(++s<r){var c=t[s],u=i?i(a[c],e[c],c,a,e):void 0;void 0===u&&(u=e[c]),o?(0,n.A)(a,c,u):(0,l.A)(a,c,u)}return a}t.A=i},56052:function(e,t,a){a.r(t),a.d(t,{default:function(){return _}});var l=a(64418),n=(a(49671),a(30080),a(77962)),i=(a(86839),a(70683)),o=(a(20562),a(77001));const s={class:"psaCalculatorAreaContainer"};function r(e,t,a,r,c,u){const d=(0,o.resolveComponent)("CalculatorInputNumber"),h=i.Ik,p=n.uD,m=(0,o.resolveComponent)("helpCalculator"),v=l.S2;return(0,o.openBlock)(),(0,o.createBlock)(o.Teleport,{to:"#psaCalculatorArea"},[(0,o.createElementVNode)("div",s,[(0,o.createVNode)(h,{class:"calculator-card"},{default:(0,o.withCtx)(()=>[((0,o.openBlock)(!0),(0,o.createElementBlock)(o.Fragment,null,(0,o.renderList)(e.uomMap,(e,t)=>((0,o.openBlock)(),(0,o.createBlock)(d,{title:t,value:e.value,spacing:e.spacing,precision:e.precision,minValue:e.min,maxValue:e.max,onDataChanged:e=>u.updateAllUomValues(t,e)},null,8,["title","value","spacing","precision","minValue","maxValue","onDataChanged"]))),256))]),_:1}),(0,o.createVNode)(h,{class:"el-row-box-button",shadow:"never"},{default:(0,o.withCtx)(()=>[(0,o.createVNode)(v,{gutter:20,type:"flex",style:{"align-items":"center"}},{default:(0,o.withCtx)(()=>[(0,o.createVNode)(p,{span:12},{default:(0,o.withCtx)(()=>[(0,o.createElementVNode)("button",{class:"btn btn-default btn-primary btn-psaCalculator",onClick:t[0]||(t[0]=(...e)=>u.clearAllValues&&u.clearAllValues(...e))},(0,o.toDisplayString)(u.i18nClearAllTitle),1)]),_:1}),(0,o.createVNode)(p,{span:12},{default:(0,o.withCtx)(()=>[(0,o.createVNode)(m,{class:"help-psaCalculator",helpTitle:"help.calculator.area.title",helpParagraph:e.helpParagraph},null,8,["helpParagraph"])]),_:1})]),_:1})]),_:1})])])}var c=a(49680),u=a(32429),d=a(78202),h=a(76471),p=a(18470);const m=2,v=0;var f={name:"psaCalculatorArea",extends:c.Ay,data:function(){return{childValue:0,uomMap:{"Billion sq. in (BSI)":{value:0,min:0,max:Number.POSITIVE_INFINITY,precision:4,spacing:v},"Thousand sq. in (MSI)":{value:0,min:0,max:Number.POSITIVE_INFINITY,precision:m,spacing:v},"sq. ft":{value:0,min:0,max:Number.POSITIVE_INFINITY,precision:1,spacing:v},"sq. yd":{value:0,min:0,max:Number.POSITIVE_INFINITY,precision:1,spacing:v},"sq. m":{value:0,min:0,max:Number.POSITIVE_INFINITY,precision:1,spacing:v},"ream (3000 sq. ft)":{value:0,min:0,max:Number.POSITIVE_INFINITY,precision:m,spacing:v},"Ream (3300 sq. ft)":{value:0,min:0,max:Number.POSITIVE_INFINITY,precision:m,spacing:v}},helpParagraph:[{text:"help.calculator.area.paragraph1",bold:!1},{text:"help.calculator.area.paragraph2",bold:!1}
1,{text:"help.calculator.area.paragraph3",bold:!0},{text:"help.calculator.area.paragraph4",bold:!0}]}},mounted:function(){p.A.trapFocusToContainer(this.cmpEl)},components:{CalculatorInputNumber:u.A,formulaAll:d._,helpCalculator:h.i},methods:{setChildData(e){this.childValue=e},updateAllUomValues(e,t){this.setChildData(t);for(let[a,l]of Object.entries(this.uomMap))l.value=a!=e?d._.methods.uomConversion("area",e,a,this.childValue):this.childValue},clearAllValues(){for(let[e,t]of Object.entries(this.uomMap))t.value=0}},computed:{i18nClearAllTitle:function(){return window.Granite.I18n.get("clear.all.Title")}}},b=a(71786);const g=(0,b.A)(f,[["render",r]]);var _=g},56636:function(e,t,a){a.d(t,{A:function(){return m}});var l=a(35318),n=(a(44114),a(60168)),i=a(83110);function o(e){var t=[];if(null!=e)for(var a in Object(e))t.push(a);return t}var s=o,r=Object.prototype,c=r.hasOwnProperty;function u(e){if(!(0,n.A)(e))return s(e);var t=(0,i.A)(e),a=[];for(var l in e)("constructor"!=l||!t&&c.call(e,l))&&a.push(l);return a}var d=u,h=a(41805);function p(e){return(0,h.A)(e)?(0,l.A)(e,!0):d(e)}var m=p},66810:function(e,t,a){a.d(t,{ll:function(){return M},Zh:function(){return q},MQ:function(){return R}});var l=a(77001),n=a(47378),i=a(53845),o=a(92056),s=a(24232),r=a(12235);const c=(0,n.b_)({modelValue:{type:[String,Number,Boolean],default:void 0},size:i.mU,disabled:Boolean,label:{type:[String,Number,Boolean],default:void 0},value:{type:[String,Number,Boolean],default:void 0},name:{type:String,default:void 0}}),u=(0,n.b_)({...c,border:Boolean}),d={[o.l4]:e=>(0,s.Kg)(e)||(0,r.Et)(e)||(0,r.Lm)(e),[o.YU]:e=>(0,s.Kg)(e)||(0,r.Et)(e)||(0,r.Lm)(e)},h=Symbol("radioGroupKey");var p=a(92436),m=a(30261);const v=(e,t)=>{const a=(0,l.ref)(),n=(0,l.inject)(h,void 0),i=(0,l.computed)(()=>!!n),s=(0,l.computed)(()=>(0,r.Xj)(e.value)?e.label:e.value),c=(0,l.computed)({get(){return i.value?n.modelValue:e.modelValue},set(l){i.value?n.changeEvent(l):t&&t(o.l4,l),a.value.checked=e.modelValue===s.value}}),u=(0,p.NV)((0,l.computed)(()=>null==n?void 0:n.size)),d=(0,p.CB)((0,l.computed)(()=>null==n?void 0:n.disabled)),v=(0,l.ref)(!1),f=(0,l.computed)(()=>d.value||i.value&&c.value!==s.value?-1:0);return(0,m.b)({from:"label act as value",replacement:"value",version:"3.0.0",scope:"el-radio",ref:"https://element-plus.org/en-US/component/radio.html"},(0,l.computed)(()=>i.value&&(0,r.Xj)(e.value))),{radioRef:a,isGroup:i,radioGroup:n,focus:v,size:u,disabled:d,tabIndex:f,modelValue:c,actualValue:s}};var f=a(99077),b=a(93513);const g=(0,l.defineComponent)({name:"ElRadio"}),_=(0,l.defineComponent)({...g,props:u,emits:d,setup(e,{emit:t}){const a=e,n=(0,b.DU)("radio"),{radioRef:i,radioGroup:s,focus:r,size:c,disabled:u,modelValue:d,actualValue:h}=v(a,t);function p(){(0,l.nextTick)(()=>t(o.YU,d.value))}return(e,t)=>{var a;return(0,l.openBlock)(),(0,l.createElementBlock)("label",{class:(0,l.normalizeClass)([(0,l.unref)(n).b(),(0,l.unref)(n).is("disabled",(0,l.unref)(u)),(0,l.unref)(n).is("focus",(0,l.unref)(r)),(0,l.unref)(n).is("bordered",e.border),(0,l.unref)(n).is("checked",(0,l.unref)(d)===(0,l.unref)(h)),(0,l.unref)(n).m((0,l.unref)(c))])},[(0,l.createElementVNode)("span",{class:(0,l.normalizeClass)([(0,l.unref)(n).e("input"),(0,l.unref)(n).is("disabled",(0,l.unref)(u)),(0,l.unref)(n).is("checked",(0,l.unref)(d)===(0,l.unref)(h))])},[(0,l.withDirectives)((0,l.createElementVNode)("input",{ref_key:"radioRef",ref:i,"onUpdate:modelValue":e=>(0,l.isRef)(d)?d.value=e:null,class:(0,l.normalizeClass)((0,l.unref)(n).e("original")),value:(0,l.unref)(h),name:e.name||(null==(a=(0,l.unref)(s))?void 0:a.name),disabled:(0,l.unref)(u),checked:(0,l.unref)(d)===(0,l.unref)(h),type:"radio",onFocus:e=>r.value=!0,onBlur:e=>r.value=!1,onChange:p,onClick:(0,l.withModifiers)(()=>{},["stop"])},null,42,["onUpdate:modelValue","value","name","disabled","checked","onFocus","onBlur","onClick"]),[[l.vModelRadio,(0,l.unref)(d)]]),(0,l.createElementVNode)("span",{class:(0,l.normalizeClass)((0,l.unref)(n).e("inner"))},null,2)],2),(0,l.createElementVNode)("span",{class:(0,l.normalizeClass)((0,l.unref)(n).e("label")),onKeydown:(0,l.withModifiers)(()=>{},["stop"])}
1,[(0,l.renderSlot)(e.$slots,"default",{},()=>[(0,l.createTextVNode)((0,l.toDisplayString)(e.label),1)])],42,["onKeydown"])],2)}}});var w=(0,f.A)(_,[["__file","radio.vue"]]);const C=(0,n.b_)({...c}),V=(0,l.defineComponent)({name:"ElRadioButton"}),N=(0,l.defineComponent)({...V,props:C,setup(e){const t=e,a=(0,b.DU)("radio"),{radioRef:n,focus:i,size:o,disabled:s,modelValue:r,radioGroup:c,actualValue:u}=v(t),d=(0,l.computed)(()=>({backgroundColor:(null==c?void 0:c.fill)||"",borderColor:(null==c?void 0:c.fill)||"",boxShadow:(null==c?void 0:c.fill)?`-1px 0 0 0 ${c.fill}`:"",color:(null==c?void 0:c.textColor)||""}));return(e,t)=>{var h;return(0,l.openBlock)(),(0,l.createElementBlock)("label",{class:(0,l.normalizeClass)([(0,l.unref)(a).b("button"),(0,l.unref)(a).is("active",(0,l.unref)(r)===(0,l.unref)(u)),(0,l.unref)(a).is("disabled",(0,l.unref)(s)),(0,l.unref)(a).is("focus",(0,l.unref)(i)),(0,l.unref)(a).bm("button",(0,l.unref)(o))])},[(0,l.withDirectives)((0,l.createElementVNode)("input",{ref_key:"radioRef",ref:n,"onUpdate:modelValue":e=>(0,l.isRef)(r)?r.value=e:null,class:(0,l.normalizeClass)((0,l.unref)(a).be("button","original-radio")),value:(0,l.unref)(u),type:"radio",name:e.name||(null==(h=(0,l.unref)(c))?void 0:h.name),disabled:(0,l.unref)(s),onFocus:e=>i.value=!0,onBlur:e=>i.value=!1,onClick:(0,l.withModifiers)(()=>{},["stop"])},null,42,["onUpdate:modelValue","value","name","disabled","onFocus","onBlur","onClick"]),[[l.vModelRadio,(0,l.unref)(r)]]),(0,l.createElementVNode)("span",{class:(0,l.normalizeClass)((0,l.unref)(a).be("button","inner")),style:(0,l.normalizeStyle)((0,l.unref)(r)===(0,l.unref)(u)?(0,l.unref)(d):{}),onKeydown:(0,l.withModifiers)(()=>{},["stop"])},[(0,l.renderSlot)(e.$slots,"default",{},()=>[(0,l.createTextVNode)((0,l.toDisplayString)(e.label),1)])],46,["onKeydown"])],2)}}});var I=(0,f.A)(N,[["__file","radio-button.vue"]]),y=a(58501);const x=(0,n.b_)({id:{type:String,default:void 0},size:i.mU,disabled:Boolean,modelValue:{type:[String,Number,Boolean],default:void 0},fill:{type:String,default:""},textColor:{type:String,default:""},name:{type:String,default:void 0},validateEvent:{type:Boolean,default:!0},options:{type:(0,n.jq)(Array)},props:{type:(0,n.jq)(Object),default:()=>k},...(0,y.l)(["ariaLabel"])}),S=d,k={label:"label",value:"value",disabled:"disabled"};var T=a(39195),O=a(81305),A=a(44216),D=a(86894);const E=(0,l.defineComponent)({name:"ElRadioGroup"}),U=(0,l.defineComponent)({...E,props:x,emits:S,setup(e,{emit:t}){const a=e,n=(0,b.DU)("radio"),i=(0,O.Bi)(),s=(0,l.ref)(),{formItem:r}=(0,A.j)(),{inputId:c,isLabeledByFormItem:u}=(0,A.W)(a,{formItemContext:r}),d=e=>{t(o.l4,e),(0,l.nextTick)(()=>t(o.YU,e))};(0,l.onMounted)(()=>{const e=s.value.querySelectorAll("[type=radio]"),t=e[0];!Array.from(e).some(e=>e.checked)&&t&&(t.tabIndex=0)});const p=(0,l.computed)(()=>a.name||i.value),m=(0,l.computed)(()=>({...k,...a.props})),v=e=>{const t={label:e[m.value.label],value:e[m.value.value],disabled:e[m.value.disabled]};return{...e,...t}};return(0,l.provide)(h,(0,l.reactive)({...(0,l.toRefs)(a),changeEvent:d,name:p})),(0,l.watch)(()=>a.modelValue,(e,t)=>{a.validateEvent&&!(0,T.A)(e,t)&&(null==r||r.validate("change").catch(e=>(0,D.U)()))}),(e,t)=>((0,l.openBlock)(),(0,l.createElementBlock)("div",{id:(0,l.unref)(c),ref_key:"radioGroupRef",ref:s,class:(0,l.normalizeClass)((0,l.unref)(n).b("group")),role:"radiogroup","aria-label":(0,l.unref)(u)?void 0:e.ariaLabel||"radio-group","aria-labelledby":(0,l.unref)(u)?(0,l.unref)(r).labelId:void 0},[(0,l.renderSlot)(e.$slots,"default",{},()=>[((0,l.openBlock)(!0),(0,l.createElementBlock)(l.Fragment,null,(0,l.renderList)(a.options,(e,t)=>((0,l.openBlock)(),(0,l.createBlock)(w,(0,l.mergeProps)({key:t},v(e)),null,16))),128))])],10,["id","aria-label","aria-labelledby"]))}});var B=(0,f.A)(U,[["__file","radio-group.vue"]]),P=a(25376);const M=(0,P.GU)(w,{RadioButton:I,RadioGroup:B}),R=(0,P.WM)(B),q=(0,P.WM)(I)},69092:function(e,t,a){var l=a(39314),n=(0,l.A)(Object.getPrototypeOf,Object);t.A=n},69606:function(e,t){function a(e,t){var a=-1,l=e.length;t||(t=Array(l));
1while(++a<l)t[a]=e[a];return t}t.A=a},70683:function(e,t,a){a.d(t,{Ik:function(){return p}});var l=a(77001),n=a(47378);const i=(0,n.b_)({header:{type:String,default:""},footer:{type:String,default:""},bodyStyle:{type:(0,n.jq)([String,Object,Array]),default:""},headerClass:String,bodyClass:String,footerClass:String,shadow:{type:String,values:["always","hover","never"],default:void 0}});Symbol("cardContextKey");var o=a(99077),s=a(38114),r=a(93513);const c=(0,l.defineComponent)({name:"ElCard"}),u=(0,l.defineComponent)({...c,props:i,setup(e){const t=(0,s.H3)("card"),a=(0,r.DU)("card");return(e,n)=>{var i;return(0,l.openBlock)(),(0,l.createElementBlock)("div",{class:(0,l.normalizeClass)([(0,l.unref)(a).b(),(0,l.unref)(a).is(`${e.shadow||(null==(i=(0,l.unref)(t))?void 0:i.shadow)||"always"}-shadow`)])},[e.$slots.header||e.header?((0,l.openBlock)(),(0,l.createElementBlock)("div",{key:0,class:(0,l.normalizeClass)([(0,l.unref)(a).e("header"),e.headerClass])},[(0,l.renderSlot)(e.$slots,"header",{},()=>[(0,l.createTextVNode)((0,l.toDisplayString)(e.header),1)])],2)):(0,l.createCommentVNode)("v-if",!0),(0,l.createElementVNode)("div",{class:(0,l.normalizeClass)([(0,l.unref)(a).e("body"),e.bodyClass]),style:(0,l.normalizeStyle)(e.bodyStyle)},[(0,l.renderSlot)(e.$slots,"default")],6),e.$slots.footer||e.footer?((0,l.openBlock)(),(0,l.createElementBlock)("div",{key:1,class:(0,l.normalizeClass)([(0,l.unref)(a).e("footer"),e.footerClass])},[(0,l.renderSlot)(e.$slots,"footer",{},()=>[(0,l.createTextVNode)((0,l.toDisplayString)(e.footer),1)])],2)):(0,l.createCommentVNode)("v-if",!0)],2)}}});var d=(0,o.A)(u,[["__file","card.vue"]]),h=a(25376);const p=(0,h.GU)(d)},75228:function(e,t,a){a.r(t),a.d(t,{default:function(){return _l}});var l=a(77001),n=a(65347),i=a(12739);function o(e,t){var a=-1,l=null==e?0:e.length;while(++a<l)if(!1===t(e[a],a,e))break;return e}var s=o,r=a(41018),c=a(54268),u=a(96166);function d(e,t){return e&&(0,c.A)(t,(0,u.A)(t),e)}var h=d,p=a(56636);function m(e,t){return e&&(0,c.A)(t,(0,p.A)(t),e)}var v=m,f=a(18311),b=a(69606),g=a(71801);function _(e,t){return(0,c.A)(e,(0,g.A)(e),t)}var w=_,C=a(1821),V=a(69092),N=a(56054),I=Object.getOwnPropertySymbols,y=I?function(e){var t=[];while(e)(0,C.A)(t,(0,g.A)(e)),e=(0,V.A)(e);return t}:N.A,x=y;function S(e,t){return(0,c.A)(e,x(e),t)}var k=S,T=a(77661),O=a(44672);function A(e){return(0,O.A)(e,p.A,x)}var D=A,E=a(21690),U=Object.prototype,B=U.hasOwnProperty;function P(e){var t=e.length,a=new e.constructor(t);return t&&"string"==typeof e[0]&&B.call(e,"index")&&(a.index=e.index,a.input=e.input),a}var M=P,R=a(39078);function q(e,t){var a=t?(0,R.A)(e.buffer):e.buffer;return new e.constructor(a,e.byteOffset,e.byteLength)}var W=q,F=/\w*$/;function L(e){var t=new e.constructor(e.source,F.exec(e));return t.lastIndex=e.lastIndex,t}var z=L,j=a(72990),$=j.A?j.A.prototype:void 0,G=$?$.valueOf:void 0;function K(e){return G?Object(G.call(e)):{}}var H=K,Y=a(93516),Z="[object Boolean]",Q="[object Date]",X="[object Map]",J="[object Number]",ee="[object RegExp]",te="[object Set]",ae="[object String]",le="[object Symbol]",ne="[object ArrayBuffer]",ie="[object DataView]",oe="[object Float32Array]",se="[object Float64Array]",re="[object Int8Array]",ce="[object Int16Array]",ue="[object Int32Array]",de="[object Uint8Array]",he="[object Uint8ClampedArray]",pe="[object Uint16Array]",me="[object Uint32Array]";function ve(e,t,a){var l=e.constructor;switch(t){case ne:return(0,R.A)(e);case Z:case Q:return new l(+e);case ie:return W(e,a);case oe:case se:case re:case ce:case ue:case de:case he:case pe:case me:return(0,Y.A)(e,a);case X:return new l;case J:case ae:return new l(e);case ee:return z(e);case te:return new l;case le:return H(e)}}var fe=ve,be=a(31254),ge=a(23506),_e=a(1120),we=a(22799),Ce="[object Map]";function Ve(e){return(0,we.A)(e)&&(0,E.A)(e)==Ce}var Ne=Ve,Ie=a(17528),ye=a(59646),xe=ye.A&&ye.A.isMap,Se=xe?(0,Ie.A)(xe):Ne,ke=Se,Te=a(60168),Oe="[object Set]";function Ae(e){return(0,we.A)(e)&&(0,E.A)(e)==Oe}var De=Ae,Ee=ye.A&&ye.A.isSet,Ue=Ee?(0,Ie.A)(Ee):De,Be=Ue,Pe=1,Me=2,Re=4,qe="[object Arguments]",We="[object Array]",Fe="[object Boolean]",Le="[object Date]",ze="[object Error]",je="[object Function]",$e="[object GeneratorFunction]",Ge="[object Map]",Ke="[object Number]",He="[object Object]",Ye="[object RegExp]",Ze="[object Set]",Qe="[object String]",Xe="[object Symbol]",Je="[object WeakMap]",et="[object ArrayBuffer]",tt="[object DataView]",at="[object Float32Array]",lt="[object Float64Array
1]",nt="[object Int8Array]",it="[object Int16Array]",ot="[object Int32Array]",st="[object Uint8Array]",rt="[object Uint8ClampedArray]",ct="[object Uint16Array]",ut="[object Uint32Array]",dt={};function ht(e,t,a,l,n,o){var c,d=t&Pe,m=t&Me,g=tℜif(a&&(c=n?a(e,l,n,o):a(e)),void 0!==c)return c;if(!(0,Te.A)(e))return e;var _=(0,ge.A)(e);if(_){if(c=M(e),!d)return(0,b.A)(e,c)}else{var C=(0,E.A)(e),V=C==je||C==$e;if((0,_e.A)(e))return(0,f.A)(e,d);if(C==He||C==qe||V&&!n){if(c=m||V?{}:(0,be.A)(e),!d)return m?k(e,v(c,e)):w(e,h(c,e))}else{if(!dt[C])return n?e:{};c=fe(e,C,d)}}o||(o=new i.A);var N=o.get(e);if(N)return N;o.set(e,c),Be(e)?e.forEach(function(l){c.add(ht(l,t,a,l,e,o))}):ke(e)&&e.forEach(function(l,n){c.set(n,ht(l,t,a,n,e,o))});var I=g?m?D:T.A:m?p.A:u.A,y=_?void 0:I(e);return s(y||e,function(l,n){y&&(n=l,l=e[n]),(0,r.A)(c,n,ht(l,t,a,n,e,o))}),c}dt[qe]=dt[We]=dt[et]=dt[tt]=dt[Fe]=dt[Le]=dt[at]=dt[lt]=dt[nt]=dt[it]=dt[ot]=dt[Ge]=dt[Ke]=dt[He]=dt[Ye]=dt[Ze]=dt[Qe]=dt[Xe]=dt[st]=dt[rt]=dt[ct]=dt[ut]=!0,dt[ze]=dt[je]=dt[Je]=!1;var pt=ht,mt=a(79047);function vt(e){var t=null==e?0:e.length;return t?e[t-1]:void 0}var ft=vt,bt=a(12623);function gt(e,t,a){var l=-1,n=e.length;t<0&&(t=-t>n?0:n+t),a=a>n?n:a,a<0&&(a+=n),n=t>a?0:a-t>>>0,t>>>=0;var i=Array(n);while(++l<n)i[l]=e[l+t];return i}var _t=gt;function wt(e,t){return t.length<2?e:(0,bt.A)(e,_t(t,0,-1))}var Ct=wt,Vt=a(13708),Nt=Object.prototype,It=Nt.hasOwnProperty;function yt(e,t){t=(0,mt.A)(t,e);var a=-1,l=t.length;if(!l)return!0;while(++a<l){var n=(0,Vt.A)(t[a]);if("__proto__"===n&&!It.call(e,"__proto__"))return!1;if(("constructor"===n||"prototype"===n)&&a<l-1)return!1}var i=Ct(e,t);return null==i||delete i[(0,Vt.A)(ft(t))]}var xt=yt,St=a(25644);function kt(e){return(0,St.A)(e)?void 0:e}var Tt=kt,Ot=a(80819),At=1,Dt=2,Et=4,Ut=(0,Ot.A)(function(e,t){var a={};if(null==e)return a;var l=!1;t=(0,n.A)(t,function(t){return t=(0,mt.A)(t,e),l||(l=t.length>1),t}),(0,c.A)(e,D(e),a),l&&(a=pt(a,At|Dt|Et,Tt));var i=t.length;while(i--)xt(a,t[i]);return a}),Bt=Ut,Pt=a(813),Mt=a(57477);const Rt=Symbol("tabsRootContextKey");var qt=a(87383);const Wt="horizontal",Ft="vertical";var Lt=a(15431),zt=a(2808);const jt={[Wt]:"deltaX",[Ft]:"deltaY"},$t=({atEndEdge:e,atStartEdge:t,layout:a},l)=>{let n,i=0;const o=a=>{const l=a<0&&t.value||a>0&&e.value;return l},s=e=>{(0,Lt.V)(n);const t=e[jt[a.value]];o(i)&&o(i+t)||(i+=t,(0,zt.gm)()||e.preventDefault(),n=(0,Lt.m)(()=>{l(i),i=0}))};return{hasReachedEdge:o,onWheel:s}};function Gt(e,t,a){return e===e&&(void 0!==a&&(e=e<=a?e:a),void 0!==t&&(e=e>=t?e:t)),e}var Kt=Gt,Ht=a(10754);function Yt(e,t,a){return void 0===a&&(a=t,t=void 0),void 0!==a&&(a=(0,Ht.A)(a),a=a===a?a:0),void 0!==t&&(t=(0,Ht.A)(t),t=t===t?t:0),Kt((0,Ht.A)(e),t,a)}var Zt=Yt,Qt=(a(44114),a(47378)),Xt=a(76769);const Jt=(0,Qt.b_)({tabs:{type:(0,Qt.jq)(Array),default:()=>(0,Xt.f)([])},tabRefs:{type:(0,Qt.jq)(Object),default:()=>(0,Xt.f)({})}});var ea=a(99077),ta=a(4642),aa=a(86894),la=a(93513),na=a(12235);const ia="ElTabBar",oa=(0,l.defineComponent)({name:ia}),sa=(0,l.defineComponent)({...oa,props:Jt,setup(e,{expose:t}){const a=e,n=(0,l.inject)(Rt);n||(0,aa.$)(ia,"<el-tabs><el-tab-bar /></el-tabs>");const i=(0,la.DU)("tabs"),o=(0,l.ref)(),s=(0,l.ref)(),r=()=>{let e=0,t=0;const l=["top","bottom"].includes(n.props.tabPosition)?"width":"height",i="width"===l?"x":"y",o="x"===i?"left":"top";return a.tabs.every(n=>{if((0,na.b0)(n.paneName))return!1;const i=a.tabRefs[n.paneName];if(!i)return!1;if(!n.active)return!0;e=i[`offset${(0,ta.ZH)(o)}`],t=i[`client${(0,ta.ZH)(l)}`];const s=window.getComputedStyle(i);return"width"===l&&(t-=Number.parseFloat(s.paddingLeft)+Number.parseFloat(s.paddingRight),e+=Number.parseFloat(s.paddingLeft)),!1}),{[l]:`${t}px`,transform:`translate${(0,ta.ZH)(i)}(${e}px)`}},c=()=>s.value=r(),u=[],d=()=>{u.forEach(e=>e.stop()),u.length=0,Object.values(a.tabRefs).forEach(e=>{u.push((0,qt.wYm)(e,c))})};(0,l.watch)(()=>a.tabs,async()=>{await(0,l.nextTick)(),c(),d()},{immediate:!0});const h=(0,qt.wYm)(o,()=>c());return(0,l.onBeforeUnmount)(()=>{u.forEach(e=>e.stop()),u.length=0,h.stop()}),t({ref:o,update:c}),(e,t)=>((0,l.openBlock)(),(0,l.createElementBlock)("div",{ref_key:"barRef",ref:o,class:(0,l.normalizeClass)([(0,l.unref)(i).e("active-bar"),(0,l.unref)(i).is((0,l.unref)(n).props.tabPosition)]),style:(0,l.normalizeStyle)(s.value)},null,6))}});var ra=(0,ea.A)(sa,[["__file","tab-bar.vue"]]),ca=a(10515);const ua=(0,Qt.b_)({panes:{type:(0,Qt.jq)(Array),default:()=>(0,Xt.f)([])},currentName:{type:[String,Number],default:""},editable:Boolean,type:{type:String,values:["card","border-card",""],default:""},stretch:Boolean}),da={tabClick:(e,t,a)=>a instanceof Event,tabRemove:(e,t)=>
1t instanceof Event},ha="ElTabNav",pa=(0,l.defineComponent)({name:ha,props:ua,emits:da,setup(e,{expose:t,emit:a}){const n=(0,l.inject)(Rt);n||(0,aa.$)(ha,"<el-tabs><tab-nav /></el-tabs>");const i=(0,la.DU)("tabs"),o=(0,qt.fho)(),s=(0,qt.esz)(),r=(0,l.ref)(),c=(0,l.ref)(),u=(0,l.ref)(),d=(0,l.ref)({}),h=(0,l.ref)(),p=(0,l.ref)(!1),m=(0,l.ref)(0),v=(0,l.ref)(!1),f=(0,l.ref)(!0),b=(0,l.shallowRef)(),g=(0,l.computed)(()=>["top","bottom"].includes(n.props.tabPosition)),_=(0,l.computed)(()=>g.value?"width":"height"),w=(0,l.computed)(()=>{const e="width"===_.value?"X":"Y";return{transform:`translate${e}(-${m.value}px)`}}),{width:C,height:V}=(0,qt.Lhy)(r),{width:N,height:I}=(0,qt.Lhy)(c,{width:0,height:0},{box:"border-box"}),y=(0,l.computed)(()=>g.value?C.value:V.value),x=(0,l.computed)(()=>g.value?N.value:I.value),{onWheel:S}=$t({atStartEdge:(0,l.computed)(()=>m.value<=0),atEndEdge:(0,l.computed)(()=>x.value-m.value<=y.value),layout:(0,l.computed)(()=>g.value?"horizontal":"vertical")},e=>{m.value=Zt(m.value+e,0,x.value-y.value)}),k=()=>{if(!r.value)return;const e=r.value[`offset${(0,ta.ZH)(_.value)}`],t=m.value;if(!t)return;const a=t>e?t-e:0;m.value=a},T=()=>{if(!r.value||!c.value)return;const e=c.value[`offset${(0,ta.ZH)(_.value)}`],t=r.value[`offset${(0,ta.ZH)(_.value)}`],a=m.value;if(e-a<=t)return;const l=e-a>2*t?a+t:e-t;m.value=l},O=async()=>{const t=c.value;if(!p.value||!u.value||!r.value||!t)return;await(0,l.nextTick)();const a=d.value[e.currentName];if(!a)return;const n=r.value,i=a.getBoundingClientRect(),o=n.getBoundingClientRect(),s=g.value?t.offsetWidth-o.width:t.offsetHeight-o.height,h=m.value;let v=h;g.value?(i.left<o.left&&(v=h-(o.left-i.left)),i.right>o.right&&(v=h+i.right-o.right)):(i.top<o.top&&(v=h-(o.top-i.top)),i.bottom>o.bottom&&(v=h+(i.bottom-o.bottom))),v=Math.max(v,0),m.value=Math.min(v,s)},A=()=>{var t;if(!c.value||!r.value)return;e.stretch&&(null==(t=h.value)||t.update());const a=c.value[`offset${(0,ta.ZH)(_.value)}`],l=r.value[`offset${(0,ta.ZH)(_.value)}`],n=m.value;l<a?(p.value=p.value||{},p.value.prev=n,p.value.next=n+l<a,a-n<l&&(m.value=a-l)):(p.value=!1,n>0&&(m.value=0))},D=e=>{let t=0;switch(e.code){case ca.R.left:case ca.R.up:t=-1;break;case ca.R.right:case ca.R.down:t=1;break;default:return}const a=Array.from(e.currentTarget.querySelectorAll("[role=tab]:not(.is-disabled)")),l=a.indexOf(e.target);let n=l+t;n<0?n=a.length-1:n>=a.length&&(n=0),a[n].focus({preventScroll:!0}),a[n].click(),E()},E=()=>{f.value&&(v.value=!0)},U=()=>v.value=!1,B=(e,t)=>{d.value[t]=e},P=async()=>{await(0,l.nextTick)();const t=d.value[e.currentName];null==t||t.focus({preventScroll:!0})};return(0,l.watch)(o,e=>{"hidden"===e?f.value=!1:"visible"===e&&setTimeout(()=>f.value=!0,50)}),(0,l.watch)(s,e=>{e?setTimeout(()=>f.value=!0,50):f.value=!1}),(0,qt.wYm)(u,A),(0,l.onMounted)(()=>setTimeout(()=>O(),0)),(0,l.onUpdated)(()=>A()),t({scrollToActiveTab:O,removeFocus:U,focusActiveTab:P,tabListRef:c,tabBarRef:h,scheduleRender:()=>(0,l.triggerRef)(b)}),()=>{const t=p.value?[(0,l.createVNode)("span",{class:[i.e("nav-prev"),i.is("disabled",!p.value.prev)],onClick:k},[(0,l.createVNode)(Pt.tk,null,{default:()=>[(0,l.createVNode)(Mt.nkM,null,null)]})]),(0,l.createVNode)("span",{class:[i.e("nav-next"),i.is("disabled",!p.value.next)],onClick:T},[(0,l.createVNode)(Pt.tk,null,{default:()=>[(0,l.createVNode)(Mt.Qpb,null,null)]})])]:null,o=e.panes.map((t,o)=>{var s,r,c,u;const d=t.uid,h=t.props.disabled,p=null!=(r=null!=(s=t.props.name)?s:t.index)?r:`${o}`,m=!h&&(t.isClosable||!1!==t.props.closable&&e.editable);t.index=`${o}`;const f=m?(0,l.createVNode)(Pt.tk,{class:"is-icon-close",onClick:e=>a("tabRemove",t,e)},{default:()=>[(0,l.createVNode)(Mt.bm,null,null)]}):null,b=(null==(u=(c=t.slots).label)?void 0:u.call(c))||t.props.label,g=!h&&t.active?0:-1;return(0,l.createVNode)("div",{ref:e=>B(e,p),class:[i.e("item"),i.is(n.props.tabPosition),i.is("active",t.active),i.is("disabled",h),i.is("closable",m),i.is("focus",v.value)],id:`tab-${p}`,key:`tab-${d}`,"aria-controls":`pane-${p}`,role:"tab","aria-selected":t.active,tabindex:g,onFocus:()=>E(),onBlur:()=>U(),onClick:e=>{U(),a("tabClick",t,p,e)},onKeydown:e=>{!m||e.code!==ca.R.delete&&e.code!==ca.R.backspace||a("tabRemove",t,e)}},[b,f])});return b.value,(0,l.createVNode)("div",{ref:u,class:[i.e("nav-wrap"),i.is("scrollable",!!p.value),i.is(n.props.tabPosition)]},[t,(0,l.createVNode)("div",{class:i.e("nav-scroll"),ref:r},[e.panes.length>0?(0,l.createVNode)("div",{class:[i.e("nav"),i.is(n.props.tabPosition),i.is("stretch",e.stretch&&["top","bottom"].includes(n.props.tabPosition))],ref:c,style:w.value,role:"tablist",onKeydown:D,onWheel:S},[e.type?null:(0,l.createVNode)(ra,{ref:h,tabs:[...e.panes],tabRefs:d.value},null),o]):null])])}}});var ma=a(92056),va=a(96139);const fa=(e,t,a)=>{const n=(0,va.CW)(e.subTree).filter(e=>{var a;return(0,l.isVNode)(e)&&(null==(a=e.type)?void 0:a.name)===t&&!!e.component}),i=n.map(e=>e.component.uid);return i.map(e=>a[e]).filter(e=>!!e)},ba=(e,t)=>{const a=(0,l.shallowRef)({}),n=(0,l.shallowRef)([]),i=new WeakMap,o=e=>{a.value[e.uid]=e,(0,l.triggerRef)(a),(0,l.onMounted)(()=>{const t=e.getVnode().el,n=t.parentNode;if(!i.has(n)){i.set(n,[]);const e=n.insertBefore.bind(n);n.insertBefore=(t,o)=>{const s=i.get(n).some(e=>t===e||o===e);return s&&(0,l.triggerRef)(a),e(t,o)}}i.get(n).push(t)})},s=e=>{delete a.value[e.uid],(0,l.triggerRef)(a);const t=e.getVnode().el,n=t.parentNode,o=i.get(n),s=o.indexOf(t);o.splice(s,1)},r=()=>{n.value=fa(e,t,a.value)},c=e=>e.render(),u=(0,l.defineComponent)({setup(e,{slots:t}){return()=>(r(),t.default?(0,l.h)(c,{render:t.default}):null)}});return{children:n,addChild:o,removeChild:s,ChildrenSorter:u}};var ga=a(24232);const _a=(0,Qt.b_)({type:{type:String,values:["card","border-card",""],default:""},closable:Boolean,addable:Boolean,modelValue:{type:[String,Number]},editable:Boolean,tabPosition:{type:String,values:["top","right","bottom","left"],default:"top"},beforeLeave:{type:(0,Qt.jq)(Function),default:()=>!0},stretch:Boolean}),wa=e=>(0,ga.Kg)(e)||(0,na.Et)(e),Ca={[ma.l4]:e=>wa(e),tabClick:(e,t)=>t instanceof Event,tabChange:e=>wa(e),edit:(e,t)=>
1["remove","add"].includes(t),tabRemove:e=>wa(e),tabAdd:()=>!0},Va=(0,l.defineComponent)({name:"ElTabs",props:_a,emits:Ca,setup(e,{emit:t,slots:a,expose:n}){var i;const o=(0,la.DU)("tabs"),s=(0,l.computed)(()=>["left","right"].includes(e.tabPosition)),{children:r,addChild:c,removeChild:u,ChildrenSorter:d}=ba((0,l.getCurrentInstance)(),"ElTabPane"),h=(0,l.ref)(),p=(0,l.ref)(null!=(i=e.modelValue)?i:"0"),m=async(a,l=!1)=>{var n,i,o,s;if(p.value!==a&&!(0,na.b0)(a))try{let c;if(e.beforeLeave){const t=e.beforeLeave(a,p.value);c=t instanceof Promise?await t:t}else c=!0;if(!1!==c){const e=null==(n=r.value.find(e=>e.paneName===p.value))?void 0:n.isFocusInsidePane();p.value=a,l&&(t(ma.l4,a),t("tabChange",a)),null==(o=null==(i=h.value)?void 0:i.removeFocus)||o.call(i),e&&(null==(s=h.value)||s.focusActiveTab())}}catch(c){}},v=(e,a,l)=>{e.props.disabled||(t("tabClick",e,l),m(a,!0))},f=(e,a)=>{e.props.disabled||(0,na.b0)(e.props.name)||(a.stopPropagation(),t("edit",e.props.name,"remove"),t("tabRemove",e.props.name))},b=()=>{t("edit",void 0,"add"),t("tabAdd")},g=t=>{const a=t.el.firstChild,l=["bottom","right"].includes(e.tabPosition)?t.children[0].el:t.children[1].el;a!==l&&a.before(l)};return(0,l.watch)(()=>e.modelValue,e=>m(e)),(0,l.watch)(p,async()=>{var e;await(0,l.nextTick)(),null==(e=h.value)||e.scrollToActiveTab()}),(0,l.provide)(Rt,{props:e,currentName:p,registerPane:c,unregisterPane:u,nav$:h}),n({currentName:p,get tabNavRef(){return Bt(h.value,["scheduleRender"])}}),()=>{const t=a["add-icon"],n=e.editable||e.addable?(0,l.createVNode)("div",{class:[o.e("new-tab"),s.value&&o.e("new-tab-vertical")],tabindex:"0",onClick:b,onKeydown:e=>{[ca.R.enter,ca.R.numpadEnter].includes(e.code)&&b()}},[t?(0,l.renderSlot)(a,"add-icon"):(0,l.createVNode)(Pt.tk,{class:o.is("icon-plus")},{default:()=>[(0,l.createVNode)(Mt.FWt,null,null)]})]):null,i=()=>(0,l.createVNode)(pa,{ref:h,currentName:p.value,editable:e.editable,type:e.type,panes:r.value,stretch:e.stretch,onTabClick:v,onTabRemove:f},null),c=(0,l.createVNode)("div",{class:[o.e("header"),s.value&&o.e("header-vertical"),o.is(e.tabPosition)]},[(0,l.createVNode)(d,null,{default:i,$stable:!0}),n]),u=(0,l.createVNode)("div",{class:o.e("content")},[(0,l.renderSlot)(a,"default")]);return(0,l.createVNode)("div",{class:[o.b(),o.m(e.tabPosition),{[o.m("card")]:"card"===e.type,[o.m("border-card")]:"border-card"===e.type}],onVnodeMounted:g,onVnodeUpdated:g},[u,c])}}});var Na=Va,Ia=a(20153);const ya=(0,Qt.b_)({label:{type:String,default:""},name:{type:[String,Number]},closable:{type:Boolean,default:void 0},disabled:Boolean,lazy:Boolean}),xa="ElTabPane",Sa=(0,l.defineComponent)({name:xa}),ka=(0,l.defineComponent)({...Sa,props:ya,setup(e){const t=e,a=(0,l.getCurrentInstance)(),n=(0,l.useSlots)(),i=(0,l.inject)(Rt);i||(0,aa.$)(xa,"usage: <el-tabs><el-tab-pane /></el-tabs/>");const o=(0,la.DU)("tab-pane"),s=(0,l.ref)(),r=(0,l.ref)(),c=(0,l.computed)(()=>{var e;return null!=(e=t.closable)?e:i.props.closable}),u=(0,Ia.uA)(()=>{var e;return i.currentName.value===(null!=(e=t.name)?e:r.value)}),d=(0,l.ref)(u.value),h=(0,l.computed)(()=>{var e;return null!=(e=t.name)?e:r.value}),p=(0,Ia.uA)(()=>!t.lazy||d.value||u.value),m=()=>{var e;return null==(e=s.value)?void 0:e.contains(document.activeElement)};(0,l.watch)(u,e=>{e&&(d.value=!0)});const v=(0,l.reactive)({uid:a.uid,getVnode:()=>a.vnode,slots:n,props:t,paneName:h,active:u,index:r,isClosable:c,isFocusInsidePane:m});return i.registerPane(v),(0,l.onBeforeUnmount)(()=>{i.unregisterPane(v)}),(0,l.onBeforeUpdate)(()=>{var e;n.label&&(null==(e=i.nav$.value)||e.scheduleRender())}),(e,t)=>(0,l.unref)(p)?(0,l.withDirectives)(((0,l.openBlock)(),(0,l.createElementBlock)("div",{key:0,id:`pane-${(0,l.unref)(h)}`,ref_key:"paneRef",ref:s,class:(0,l.normalizeClass)((0,l.unref)(o).b()),role:"tabpanel","aria-hidden":!(0,l.unref)(u),"aria-labelledby":`tab-${(0,l.unref)(h)}`},[(0,l.renderSlot)(e.$slots,"default")],10,["id","aria-hidden","aria-labelledby"])),[[l.vShow,(0,l.unref)(u)]]):(0,l.createCommentVNode)("v-if",!0)}});var Ta=(0,ea.A)(ka,[["__file","tab-pane.vue"]]),Oa=a(25376);const Aa=(0,Oa.GU)(Na,{TabPane:Ta}),Da=(0,Oa.WM)(Ta);a(49671);var Ea=a(66810),Ua=(a(44946),a(79141),a(77398)),Ba=(a(1019),a(64418)),Pa=(a(30080),a(77962));a(86839);const Ma={class:"psa-calculator-cost"}
1,Ra={class:"guide-line"},qa=(0,l.createElementVNode)("div",null,null,-1),Wa={class:"header-title"},Fa={class:"header-title"},La={class:"header-title"},za={class:"header-title"},ja=(0,l.createElementVNode)("span",null,null,-1),$a={class:"cost-dropdown-override"},Ga={class:"cost-dropdown-override"},Ka={class:"cost-dropdown-override"},Ha={class:"cost-dropdown-override"},Ya={class:"cost-dropdown-override"},Za={class:"cost-dropdown-override"},Qa={class:"cost-dropdown-override"},Xa={class:"cost-dropdown-override"},Ja={class:"cost-dropdown-override"},el={class:"cost-dropdown-override"},tl={class:"cost-dropdown-override"},al={class:"cost-dropdown-override"},ll=(0,l.createElementVNode)("span",null,null,-1),nl=(0,l.createElementVNode)("span",null,"- OR -",-1),il={class:"cost-dropdown-override"},ol={class:"cost-dropdown-override"},sl={class:"cost-dropdown-override"},rl={class:"cost-dropdown-override"},cl={class:"cost-dropdown-override"},ul={slot:"label"},dl={slot:"label"},hl={slot:"label"},pl={slot:"label"},ml={class:"cost-dropdown-override"};function vl(e,t,a,n,i,o){const s=Pa.uD,r=Ba.S2,c=Ua.lq,u=(0,l.resolveComponent)("DropdownBar"),d=(0,l.resolveComponent)("CalculatorInputNumberUnit"),h=Ea.ll,p=Ea.MQ,m=Da,v=Aa,f=(0,l.resolveComponent)("CalculatorInputNumber"),b=(0,l.resolveComponent)("helpCalculator");return(0,l.openBlock)(),(0,l.createBlock)(l.Teleport,{to:"#psaCalculatorCost"},[(0,l.createElementVNode)("div",Ma,[(0,l.createVNode)(r,null,{default:(0,l.withCtx)(()=>[(0,l.createVNode)(s,null,{default:(0,l.withCtx)(()=>[(0,l.createElementVNode)("div",Ra,(0,l.toDisplayString)(o.getI18nMessage(e.guide)),1)]),_:1})]),_:1}),(0,l.createVNode)(r,{class:"el-row-box-outer hidden-xs-only",style:{"z-index":"3"}},{default:(0,l.withCtx)(()=>[(0,l.createVNode)(s,null,{default:(0,l.withCtx)(()=>[(0,l.createVNode)(r,{type:"flex",gutter:3},{default:(0,l.withCtx)(()=>[(0,l.createVNode)(s,{span:4},{default:(0,l.withCtx)(()=>[qa]),_:1}),(0,l.createVNode)(s,{span:5},{default:(0,l.withCtx)(()=>[(0,l.createElementVNode)("div",Wa,[(0,l.createElementVNode)("h4",null,(0,l.toDisplayString)(o.getI18nMessage(e.tabName1)),1)])]),_:1}),(0,l.createVNode)(s,{span:5},{default:(0,l.withCtx)(()=>[(0,l.createElementVNode)("div",Fa,[(0,l.createElementVNode)("h4",null,(0,l.toDisplayString)(o.getI18nMessage(e.tabName2)),1)])]),_:1}),(0,l.createVNode)(s,{span:5},{default:(0,l.withCtx)(()=>[(0,l.createElementVNode)("div",La,[(0,l.createElementVNode)("h4",null,(0,l.toDisplayString)(o.getI18nMessage(e.tabName3)),1)])]),_:1}),(0,l.createVNode)(s,{span:5},{default:(0,l.withCtx)(()=>[(0,l.createElementVNode)("div",za,[(0,l.createElementVNode)("h4",null,(0,l.toDisplayString)(o.getI18nMessage(e.tabName4)),1)])]),_:1})]),_:1}),(0,l.createVNode)(r,{type:"flex",gutter:3},{default:(0,l.withCtx)(()=>[(0,l.createVNode)(s,{span:4},{default:(0,l.withCtx)(()=>[(0,l.createElementVNode)("div",null,[(0,l.createElementVNode)("h4",null,(0,l.toDisplayString)(o.getI18nMessage(e.adhesive.solids.titleI18n))+":",1)])]),_:1}),(0,l.createVNode)(s,{span:5},{default:(0,l.withCtx)(()=>[ja]),_:1}),(0,l.createVNode)(s,{span:5},{default:(0,l.withCtx)(()=>[(0,l.createVNode)(c,{modelValue:e.adhesive.solids.value,"onUpdate:modelValue":t[0]||(t[0]=t=>e.adhesive.solids.value=t),placeholder:"",controls:!1,min:0,max:100,precision:3,onChange:t[1]||(t[1]=t=>o.handleValueChange(e.adhesive.solids.value,e.adhesive.solids.title)),onFocus:t[2]||(t[2]=t=>o.inputClear(e.adhesive.solids.title)),onBlur:t[3]||(t[3]=t=>o.inputRestore(e.adhesive.solids.title)),size:"small"},null,8,["modelValue"])]),_:1}),(0,l.createVNode)(s,{span:5},{default:(0,l.withCtx)(()=>[(0,l.createVNode)(c,{modelValue:e.release.solids.value,"onUpdate:modelValue":t[4]||(t[4]=t=>e.release.solids.value=t),placeholder:"",controls:!1,min:0,max:100,precision:3,onChange:t[5]||(t[5]=t=>o.handleValueChange(e.release.solids.value,e.release.solids.title)),onFocus:t[6]||(t[6]=t=>o.inputClear(e.release.solids.title)),onBlur:t[7]||(t[7]=t=>o.inputRestore(e.release.solids.title)),size:"small"},null,8,["modelValue"])]),_:1}),(0,l.createVNode)(s,{span:5})]),_:1}),(0,l.createVNode)(r,{gutter:3},{default:(0,l.withCtx)(()=>[(0,l.createVNode)(s,{span:4},{default:(0,l.withCtx)(()=>[(0,l.createElementVNode)("div",null,[(0,l.createElementVNode)("h4",null,(0,l.toDisplayString)(o.getI18nMessage(e.facestock.cost.titleI18
1n))+":",1)])]),_:1}),(0,l.createVNode)(s,{span:5},{default:(0,l.withCtx)(()=>[(0,l.createVNode)(c,{modelValue:e.facestock.cost.value,"onUpdate:modelValue":t[8]||(t[8]=t=>e.facestock.cost.value=t),placeholder:"",controls:!1,precision:3,onChange:t[9]||(t[9]=t=>o.handleValueChange(e.facestock.cost.value,e.facestock.cost.title)),onFocus:t[10]||(t[10]=t=>o.inputClear(e.facestock.cost.title)),onBlur:t[11]||(t[11]=t=>o.inputRestore(e.facestock.cost.title)),size:"small"},null,8,["modelValue"])]),_:1}),(0,l.createVNode)(s,{span:5},{default:(0,l.withCtx)(()=>[(0,l.createVNode)(c,{modelValue:e.adhesive.cost.value,"onUpdate:modelValue":t[12]||(t[12]=t=>e.adhesive.cost.value=t),placeholder:"",controls:!1,precision:3,onChange:t[13]||(t[13]=t=>o.handleValueChange(e.adhesive.cost.value,e.adhesive.cost.title)),onFocus:t[14]||(t[14]=t=>o.inputClear(e.adhesive.cost.title)),onBlur:t[15]||(t[15]=t=>o.inputRestore(e.adhesive.cost.title)),size:"small"},null,8,["modelValue"])]),_:1}),(0,l.createVNode)(s,{span:5},{default:(0,l.withCtx)(()=>[(0,l.createVNode)(c,{modelValue:e.release.cost.value,"onUpdate:modelValue":t[16]||(t[16]=t=>e.release.cost.value=t),placeholder:"",controls:!1,precision:3,onChange:t[17]||(t[17]=t=>o.handleValueChange(e.release.cost.value,e.release.cost.title)),onFocus:t[18]||(t[18]=t=>o.inputClear(e.release.cost.title)),onBlur:t[19]||(t[19]=t=>o.inputRestore(e.release.cost.title)),size:"small"},null,8,["modelValue"])]),_:1}),(0,l.createVNode)(s,{span:5},{default:(0,l.withCtx)(()=>[(0,l.createVNode)(c,{modelValue:e.liner.cost.value,"onUpdate:modelValue":t[20]||(t[20]=t=>e.liner.cost.value=t),placeholder:"",controls:!1,precision:3,onChange:t[21]||(t[21]=t=>o.handleValueChange(e.liner.cost.value,e.liner.cost.title)),onFocus:t[22]||(t[22]=t=>o.inputClear(e.liner.cost.title)),onBlur:t[23]||(t[23]=t=>o.inputRestore(e.liner.cost.title)),size:"small"},null,8,["modelValue"])]),_:1})]),_:1}),(0,l.createVNode)(r,{gutter:3},{default:(0,l.withCtx)(()=>[(0,l.createVNode)(s,{span:4},{default:(0,l.withCtx)(()=>[(0,l.createElementVNode)("div",null,[(0,l.createElementVNode)("span",null,(0,l.toDisplayString)(o.getI18nMessage(e.unitTitle)),1)])]),_:1}),(0,l.createVNode)(s,{span:5,class:"el-col-pc-dropdown"},{default:(0,l.withCtx)(()=>[(0,l.createElementVNode)("div",$a,[(0,l.createVNode)(u,{options:o.costUnitOptions1,currentSelection:e.facestock.cost.unitIndex,type:e.facestock.cost.title,onSelectDropdown:t[24]||(t[24]=t=>o.handleDropdownSelectionChange(t,"",o.costUnitOptions1,e.facestock.cost.title))},null,8,["options","currentSelection","type"])])]),_:1}),(0,l.createVNode)(s,{span:5,class:"el-col-pc-dropdown"},{default:(0,l.withCtx)(()=>[(0,l.createElementVNode)("div",Ga,[(0,l.createVNode)(u,{options:o.costUnitOptions2,currentSelection:e.adhesive.cost.unitIndex,type:e.adhesive.cost.title,onSelectDropdown:t[25]||(t[25]=t=>o.handleDropdownSelectionChange(t,"",o.costUnitOptions2,e.adhesive.cost.title))},null,8,["options","currentSelection","type"])])]),_:1}),(0,l.createVNode)(s,{span:5,class:"el-col-pc-dropdown"},{default:(0,l.withCtx)(()=>[(0,l.createElementVNode)("div",Ka,[(0,l.createVNode)(u,{options:o.costUnitOptions2,currentSelection:e.release.cost.unitIndex,type:e.release.cost.title,onSelectDropdown:t[26]||(t[26]=t=>o.handleDropdownSelectionChange(t,"",o.costUnitOptions2,e.release.cost.title))},null,8,["options","currentSelection","type"])])]),_:1}),(0,l.createVNode)(s,{span:5,class:"el-col-pc-dropdown"},{default:(0,l.withCtx)(()=>[(0,l.createElementVNode)("div",Ha,[(0,l.createVNode)(u,{options:o.costUnitOptions1,currentSelection:e.liner.cost.unitIndex,type:e.liner.cost.title,onSelectDropdown:t[27]||(t[27]=t=>o.handleDropdownSelectionChange(t,"",o.costUnitOptions1,e.liner.cost.title))},null,8,["options","currentSelection","type"])])]),_:1})]),_:1})]),_:1})]),_:1}),(0,l.createVNode)(r,{class:"el-row-box-outer hidden-xs-only",style:{"z-index":"2"}},{default:(0,l.withCtx)(()=>[(0,l.createVNode)(s,null,{default:(0,l.withCtx)(()=>[(0,l.createVNode)(r,{gutter:3},{default:(0,l.withCtx)(()=>[(0,l.createVNode)(s,{span:4},{default:(0,l.withCtx)(()=>[(0,l.createElementVNode)("div",null,[(0,l.createElementVNode)("h4",null,(0,l.toDisplayString)(o.getI18nMessage(e.facestock.density.titleI18
1n))+":",1)])]),_:1}),(0,l.createVNode)(s,{span:5,class:(0,l.normalizeClass)(e.facestock.density.inputStyle)},{default:(0,l.withCtx)(()=>[(0,l.createVNode)(c,{modelValue:e.facestock.density.value,"onUpdate:modelValue":t[28]||(t[28]=t=>e.facestock.density.value=t),placeholder:"",disabled:e.facestock.density.disable,controls:!1,precision:3,onChange:t[29]||(t[29]=t=>o.handleValueChange(e.facestock.density.value,e.facestock.density.title)),onFocus:t[30]||(t[30]=t=>o.handleValuefocus(e.facestock.density.title)),onBlur:t[31]||(t[31]=t=>o.inputRestore(e.facestock.density.title)),size:"small"},null,8,["modelValue","disabled"])]),_:1},8,["class"]),(0,l.createVNode)(s,{span:5,class:(0,l.normalizeClass)(e.adhesive.density.inputStyle)},{default:(0,l.withCtx)(()=>[(0,l.createVNode)(c,{modelValue:e.adhesive.density.value,"onUpdate:modelValue":t[32]||(t[32]=t=>e.adhesive.density.value=t),placeholder:"",controls:!1,precision:3,onChange:t[33]||(t[33]=t=>o.handleValueChange(e.adhesive.density.value,e.adhesive.density.title)),onFocus:t[34]||(t[34]=t=>o.handleValuefocus(e.adhesive.density.title)),onBlur:t[35]||(t[35]=t=>o.inputRestore(e.adhesive.density.title)),size:"small"},null,8,["modelValue"])]),_:1},8,["class"]),(0,l.createVNode)(s,{span:5,class:(0,l.normalizeClass)(e.release.density.inputStyle)}
1,{default:(0,l.withCtx)(()=>[(0,l.createVNode)(c,{modelValue:e.release.density.value,"onUpdate:modelValue":t[36]||(t[36]=t=>e.release.density.value=t),placeholder:"",controls:!1,precision:3,onChange:t[37]||(t[37]=t=>o.handleValueChange(e.release.density.value,e.release.density.title)),onFocus:t[38]||(t[38]=t=>o.handleValuefocus(e.release.density.title)),onBlur:t[39]||(t[39]=t=>o.inputRestore(e.release.density.title)),size:"small"},null,8,["modelValue"])]),_:1},8,["class"]),(0,l.createVNode)(s,{span:5,class:(0,l.normalizeClass)(e.liner.density.inputStyle)},{default:(0,l.withCtx)(()=>[(0,l.createVNode)(c,{modelValue:e.liner.density.value,"onUpdate:modelValue":t[40]||(t[40]=t=>e.liner.density.value=t),placeholder:"",disabled:e.liner.density.disable,controls:!1,precision:3,onChange:t[41]||(t[41]=t=>o.handleValueChange(e.liner.density.value,e.liner.density.title)),onFocus:t[42]||(t[42]=t=>o.handleValuefocus(e.liner.density.title)),onBlur:t[43]||(t[43]=t=>o.inputRestore(e.liner.density.title)),size:"small"},null,8,["modelValue","disabled"])]),_:1},8,["class"])]),_:1}),(0,l.createVNode)(r,{gutter:3},{default:(0,l.withCtx)(()=>[(0,l.createVNode)(s,{span:4},{default:(0,l.withCtx)(()=>[(0,l.createElementVNode)("div",null,[(0,l.createElementVNode)("span",null,(0,l.toDisplayString)(o.getI18nMessage(e.unitTitle)),1)])]),_:1}),(0,l.createVNode)(s,{span:5,class:"el-col-pc-dropdown"},{default:(0,l.withCtx)(()=>[(0,l.createElementVNode)("div",Ya,[(0,l.createVNode)(u,{options:o.densityUnitOptions1,currentSelection:e.facestock.density.unitIndex,type:e.facestock.density.title,onSelectDropdown:t[44]||(t[44]=t=>o.handleDropdownSelectionChange(t,"",o.densityUnitOptions1,e.facestock.density.title))},null,8,["options","currentSelection","type"])])]),_:1}),(0,l.createVNode)(s,{span:5,class:"el-col-pc-dropdown"},{default:(0,l.withCtx)(()=>[(0,l.createElementVNode)("div",Za,[(0,l.createVNode)(u,{options:o.densityUnitOptions1,currentSelection:e.adhesive.density.unitIndex,type:e.adhesive.density.title,onSelectDropdown:t[45]||(t[45]=t=>o.handleDropdownSelectionChange(t,"",o.densityUnitOptions1,e.adhesive.density.title))},null,8,["options","currentSelection","type"])])]),_:1}),(0,l.createVNode)(s,{span:5,class:"el-col-pc-dropdown"},{default:(0,l.withCtx)(()=>[(0,l.createElementVNode)("div",Qa,[(0,l.createVNode)(u,{options:o.densityUnitOptions1,currentSelection:e.release.density.unitIndex,type:e.release.density.title,onSelectDropdown:t[46]||(t[46]=t=>o.handleDropdownSelectionChange(t,"",o.densityUnitOptions1,e.release.density.title))},null,8,["options","currentSelection","type"])])]),_:1}),(0,l.createVNode)(s,{span:5,class:"el-col-pc-dropdown"},{default:(0,l.withCtx)(()=>[(0,l.createElementVNode)("div",Xa,[(0,l.createVNode)(u,{options:o.densityUnitOptions1,currentSelection:e.liner.density.unitIndex,type:e.liner.density.title,onSelectDropdown:t[47]||(t[47]=t=>o.handleDropdownSelectionChange(t,"",o.densityUnitOptions1,e.liner.density.title))},null,8,["options","currentSelection","type"])])]),_:1})]),_:1}),(0,l.createVNode)(r,{gutter:3},{default:(0,l.withCtx)(()=>[(0,l.createVNode)(s,{span:4},{default:(0,l.withCtx)(()=>[(0,l.createElementVNode)("div",null,[(0,l.createElementVNode)("h4",null,(0,l.toDisplayString)(o.getI18nMessage(e.facestock.thickness.titleI18n))+":",1)])]),_:1}),(0,l.createVNode)(s,{span:5,class:(0,l.normalizeClass)(e.facestock.thickness.inputStyle)}
1,{default:(0,l.withCtx)(()=>[(0,l.createVNode)(c,{modelValue:e.facestock.thickness.value,"onUpdate:modelValue":t[48]||(t[48]=t=>e.facestock.thickness.value=t),placeholder:"",disabled:e.facestock.thickness.disable,controls:!1,precision:3,onChange:t[49]||(t[49]=t=>o.handleValueChange(e.facestock.thickness.value,e.facestock.thickness.title)),onFocus:t[50]||(t[50]=t=>o.handleValuefocus(e.facestock.thickness.title)),onBlur:t[51]||(t[51]=t=>o.inputRestore(e.facestock.thickness.title)),size:"small"},null,8,["modelValue","disabled"])]),_:1},8,["class"]),(0,l.createVNode)(s,{span:5,class:(0,l.normalizeClass)(e.adhesive.thickness.inputStyle)},{default:(0,l.withCtx)(()=>[(0,l.createVNode)(c,{modelValue:e.adhesive.thickness.value,"onUpdate:modelValue":t[52]||(t[52]=t=>e.adhesive.thickness.value=t),placeholder:"",controls:!1,precision:3,onChange:t[53]||(t[53]=t=>o.handleValueChange(e.adhesive.thickness.value,e.adhesive.thickness.title)),onFocus:t[54]||(t[54]=t=>o.handleValuefocus(e.adhesive.thickness.title)),onBlur:t[55]||(t[55]=t=>o.inputRestore(e.adhesive.thickness.title)),size:"small"},null,8,["modelValue"])]),_:1},8,["class"]),(0,l.createVNode)(s,{span:5,class:(0,l.normalizeClass)(e.release.thickness.inputStyle)}
1,{default:(0,l.withCtx)(()=>[(0,l.createVNode)(c,{modelValue:e.release.thickness.value,"onUpdate:modelValue":t[56]||(t[56]=t=>e.release.thickness.value=t),placeholder:"",controls:!1,precision:3,onChange:t[57]||(t[57]=t=>o.handleValueChange(e.release.thickness.value,e.release.thickness.title)),onFocus:t[58]||(t[58]=t=>o.handleValuefocus(e.release.thickness.title)),onBlur:t[59]||(t[59]=t=>o.inputRestore(e.release.thickness.title)),size:"small"},null,8,["modelValue"])]),_:1},8,["class"]),(0,l.createVNode)(s,{span:5,class:(0,l.normalizeClass)(e.liner.thickness.inputStyle)},{default:(0,l.withCtx)(()=>[(0,l.createVNode)(c,{modelValue:e.liner.thickness.value,"onUpdate:modelValue":t[60]||(t[60]=t=>e.liner.thickness.value=t),placeholder:"",disabled:e.liner.thickness.disable,controls:!1,precision:3,onChange:t[61]||(t[61]=t=>o.handleValueChange(e.liner.thickness.value,e.liner.thickness.title)),onFocus:t[62]||(t[62]=t=>o.handleValuefocus(e.liner.thickness.title)),onBlur:t[63]||(t[63]=t=>o.inputRestore(e.liner.thickness.title)),size:"small"},null,8,["modelValue","disabled"])]),_:1},8,["class"])]),_:1}),(0,l.createVNode)(r,{gutter:3},{default:(0,l.withCtx)(()=>[(0,l.createVNode)(s,{span:4},{default:(0,l.withCtx)(()=>[(0,l.createElementVNode)("div",null,[(0,l.createElementVNode)("span",null,(0,l.toDisplayString)(o.getI18nMessage(e.unitTitle)),1)])]),_:1}),(0,l.createVNode)(s,{span:5,class:"el-col-pc-dropdown"},{default:(0,l.withCtx)(()=>[(0,l.createElementVNode)("div",Ja,[(0,l.createVNode)(u,{options:o.thicknessUnitOptions1,currentSelection:e.facestock.thickness.unitIndex,type:e.facestock.thickness.title,onSelectDropdown:t[64]||(t[64]=t=>o.handleDropdownSelectionChange(t,"",o.thicknessUnitOptions1,e.facestock.thickness.title))},null,8,["options","currentSelection","type"])])]),_:1}),(0,l.createVNode)(s,{span:5,class:"el-col-pc-dropdown"},{default:(0,l.withCtx)(()=>[(0,l.createElementVNode)("div",el,[(0,l.createVNode)(u,{options:o.thicknessUnitOptions2,currentSelection:e.adhesive.thickness.unitIndex,type:e.adhesive.thickness.title,onSelectDropdown:t[65]||(t[65]=t=>o.handleDropdownSelectionChange(t,"",o.thicknessUnitOptions2,e.adhesive.thickness.title))},null,8,["options","currentSelection","type"])])]),_:1}),(0,l.createVNode)(s,{span:5,class:"el-col-pc-dropdown"},{default:(0,l.withCtx)(()=>[(0,l.createElementVNode)("div",tl,[(0,l.createVNode)(u,{options:o.thicknessUnitOptions2,currentSelection:e.release.thickness.unitIndex,type:e.release.thickness.title,onSelectDropdown:t[66]||(t[66]=t=>o.handleDropdownSelectionChange(t,"",o.thicknessUnitOptions2,e.release.thickness.title))},null,8,["options","currentSelection","type"])])]),_:1}),(0,l.createVNode)(s,{span:5,class:"el-col-pc-dropdown"},{default:(0,l.withCtx)(()=>[(0,l.createElementVNode)("div",al,[(0,l.createVNode)(u,{options:o.thicknessUnitOptions2,currentSelection:e.liner.thickness.unitIndex,type:e.liner.thickness.title,onSelectDropdown:t[67]||(t[67]=t=>o.handleDropdownSelectionChange(t,"",o.thicknessUnitOptions2,e.liner.thickness.title))},null,8,["options","currentSelection","type"])])]),_:1})]),_:1}),(0,l.createVNode)(r,{type:"flex",gutter:3},{default:(0,l.withCtx)(()=>[(0,l.createVNode)(s,{span:4},{default:(0,l.withCtx)(()=>[ll]),_:1}),(0,l.createVNode)(s,{span:20,class:"cutting-line"},{default:(0,l.withCtx)(()=>[nl]),_:1})]),_:1}),(0,l.createVNode)(r,{gutter:3},{default:(0,l.withCtx)(()=>[(0,l.createVNode)(s,{span:4},{default:(0,l.withCtx)(()=>[(0,l.createElementVNode)("div",null,[(0,l.createElementVNode)("h4",null,(0,l.toDisplayString)(o.getI18nMessage(e.facestock.weightArea.titleI18n))+":",1)])]),_:1}),(0,l.createVNode)(s,{span:5,class:(0,l.normalizeClass)(e.facestock.weightArea.inputStyle)}
1,{default:(0,l.withCtx)(()=>[(0,l.createVNode)(c,{modelValue:e.facestock.weightArea.value,"onUpdate:modelValue":t[68]||(t[68]=t=>e.facestock.weightArea.value=t),placeholder:"",disabled:e.facestock.weightArea.disable,controls:!1,precision:3,onChange:t[69]||(t[69]=t=>o.handleValueChange(e.facestock.weightArea.value,e.facestock.weightArea.title)),onFocus:t[70]||(t[70]=t=>o.handleValuefocus(e.facestock.weightArea.title)),onBlur:t[71]||(t[71]=t=>o.inputRestore(e.facestock.weightArea.title)),size:"small"},null,8,["modelValue","disabled"])]),_:1},8,["class"]),(0,l.createVNode)(s,{span:5,class:(0,l.normalizeClass)(e.adhesive.weightArea.inputStyle)},{default:(0,l.withCtx)(()=>[(0,l.createVNode)(c,{modelValue:e.adhesive.weightArea.value,"onUpdate:modelValue":t[72]||(t[72]=t=>e.adhesive.weightArea.value=t),placeholder:"",controls:!1,precision:3,onChange:t[73]||(t[73]=t=>o.handleValueChange(e.adhesive.weightArea.value,e.adhesive.weightArea.title)),onFocus:t[74]||(t[74]=t=>o.handleValuefocus(e.adhesive.weightArea.title)),onBlur:t[75]||(t[75]=t=>o.inputRestore(e.adhesive.weightArea.title)),size:"small"},null,8,["modelValue"])]),_:1},8,["class"]),(0,l.createVNode)(s,{span:5,class:(0,l.normalizeClass)(e.release.weightArea.inputStyle)}
1,{default:(0,l.withCtx)(()=>[(0,l.createVNode)(c,{modelValue:e.release.weightArea.value,"onUpdate:modelValue":t[76]||(t[76]=t=>e.release.weightArea.value=t),placeholder:"",controls:!1,precision:3,onChange:t[77]||(t[77]=t=>o.handleValueChange(e.release.weightArea.value,e.release.weightArea.title)),onFocus:t[78]||(t[78]=t=>o.handleValuefocus(e.release.weightArea.title)),onBlur:t[79]||(t[79]=t=>o.inputRestore(e.release.weightArea.title)),size:"small"},null,8,["modelValue"])]),_:1},8,["class"]),(0,l.createVNode)(s,{span:5,class:(0,l.normalizeClass)(e.liner.weightArea.inputStyle)},{default:(0,l.withCtx)(()=>[(0,l.createVNode)(c,{modelValue:e.liner.weightArea.value,"onUpdate:modelValue":t[80]||(t[80]=t=>e.liner.weightArea.value=t),placeholder:"",disabled:e.liner.weightArea.disable,controls:!1,precision:3,onChange:t[81]||(t[81]=t=>o.handleValueChange(e.liner.weightArea.value,e.liner.weightArea.title)),onFocus:t[82]||(t[82]=t=>o.handleValuefocus(e.liner.weightArea.title)),onBlur:t[83]||(t[83]=t=>o.inputRestore(e.liner.weightArea.title)),size:"small"},null,8,["modelValue","disabled"])]),_:1},8,["class"])]),_:1}),(0,l.createVNode)(r,{gutter:3},{default:(0,l.withCtx)(()=>[(0,l.createVNode)(s,{span:4},{default:(0,l.withCtx)(()=>[(0,l.createElementVNode)("div",null,[(0,l.createElementVNode)("span",null,(0,l.toDisplayString)(o.getI18nMessage(e.unitTitle)),1)])]),_:1}),(0,l.createVNode)(s,{span:5,class:"el-col-pc-dropdown"},{default:(0,l.withCtx)(()=>[(0,l.createElementVNode)("div",il,[(0,l.createVNode)(u,{options:o.weightAreaUnitOptions1,currentSelection:e.facestock.weightArea.unitIndex,type:e.facestock.weightArea.title,onSelectDropdown:t[84]||(t[84]=t=>o.handleDropdownSelectionChange(t,"",o.weightAreaUnitOptions1,e.facestock.weightArea.title))},null,8,["options","currentSelection","type"])])]),_:1}),(0,l.createVNode)(s,{span:5,class:"el-col-pc-dropdown"},{default:(0,l.withCtx)(()=>[(0,l.createElementVNode)("div",ol,[(0,l.createVNode)(u,{options:o.weightAreaUnitOptions1,currentSelection:e.adhesive.weightArea.unitIndex,type:e.adhesive.weightArea.title,onSelectDropdown:t[85]||(t[85]=t=>o.handleDropdownSelectionChange(t,"",o.weightAreaUnitOptions1,e.adhesive.weightArea.title))},null,8,["options","currentSelection","type"])])]),_:1}),(0,l.createVNode)(s,{span:5,class:"el-col-pc-dropdown"},{default:(0,l.withCtx)(()=>[(0,l.createElementVNode)("div",sl,[(0,l.createVNode)(u,{options:o.weightAreaUnitOptions1,currentSelection:e.release.weightArea.unitIndex,type:e.release.weightArea.title,onSelectDropdown:t[86]||(t[86]=t=>o.handleDropdownSelectionChange(t,"",o.weightAreaUnitOptions1,e.release.weightArea.title))},null,8,["options","currentSelection","type"])])]),_:1}),(0,l.createVNode)(s,{span:5,class:"el-col-pc-dropdown"},{default:(0,l.withCtx)(()=>[(0,l.createElementVNode)("div",rl,[(0,l.createVNode)(u,{options:o.weightAreaUnitOptions1,currentSelection:e.liner.weightArea.unitIndex,type:e.liner.weightArea.title,onSelectDropdown:t[87]||(t[87]=t=>o.handleDropdownSelectionChange(t,"",o.weightAreaUnitOptions1,e.liner.weightArea.title))},null,8,["options","currentSelection","type"])])]),_:1})]),_:1})]),_:1})]),_:1}),(0,l.createVNode)(r,{class:"el-row-box-outer hidden-xs-only",style:{"z-index":"1"}},{default:(0,l.withCtx)(()=>[(0,l.createVNode)(s,null,{default:(0,l.withCtx)(()=>[(0,l.createVNode)(r,{gutter:3},{default:(0,l.withCtx)(()=>[(0,l.createVNode)(s,{span:4},{default:(0,l.withCtx)(()=>[(0,l.createElementVNode)("div",null,[(0,l.createElementVNode)("h4",null,(0,l.toDisplayString)(o.getI18nMessage(e.selectUnitsTitle))+":",1)])]),_:1}),(0,l.createVNode)(s,{span:5,class:"el-col-pc-dropdown"},{default:(0,l.withCtx)(()=>[(0,l.createElementVNode)("div",cl,[(0,l.createVNode)(u,{options:o.selectUnitsOptions,currentSelection:e.selectUnitsIndex,type:"selectUnits",onSelectDropdown:o.onChangeSelectUnits},null,8,["options","currentSelection","onSelectDropdown"])])]),_:1})]),_:1}),(0,l.createVNode)(r,{gutter:3},{default:(0,l.withCtx)(()=>[(0,l.createVNode)(s,{span:4},{default:(0,l.withCtx)(()=>[(0,l.createElementVNode)("div",null,[(0,l.createElementVNode)("h4",null,(0,l.toDisplayString)(o.getI18nMessage(e.subTotalTitle))+":",1)])]),_:1}),(0,l.createVNode)(s,{span:5},{default:(0,l.withCtx)(()=>[(0,l.createVNode)(c,{modelValue:e.subTotal1,"onUpdate:modelValue":t[88]||(t[88]=t=>e.subTotal1=t),placeholder:"",disabled:!0,controls:!1,precision:4,size:"small"},null,8,["modelValue"])]),_:1}),(0,l.createVNode)(s,{span:5},{default:(0,l.withCtx)(()=>[(0,l.createVNode)(c,{modelValue:e.subTotal2,"onUpdate:modelValue":t[89]||(t[89]=t=>e.subTotal2=t),placeholder:"",disabled:!0,controls:!1,precision:4,size:"small"},null,8,["modelValue"])]),_:1}),(0,l.createVNode)(s,{span:5},{default:(0,l.withCtx)(()=>[(0,l.createVNode)(c,{modelValue:e.subTotal3,"onUpdate:modelValue":t[90]||(t[90]=t=>e.subTotal3=t),placeholder:"",disabled:!0,controls:!1,precision:4,size:"small"},null,8,["modelValue"])]),_:1}),(0,l.createVNode)(s,{span:5},{default:(0,l.withCtx)(()=>[(0,l.createVNode)(c,{modelValue:e.subTotal4,"onUpdate:modelValue":t[91]||(t[91]=t=>e.subTotal4=t),placeholder:"",disabled:!0,controls:!1,precision:4,size:"small"},null,8,["modelValue"])]),_:1})]),_:1}),(0,l.createVNode)(r,{gutter:3},{default:(0,l.withCtx)(()=>[(0,l.createVNode)(s,{span:4},{default:(0,l.withCtx)(()=>[(0,l.createElementVNode)("div",null,[(0,l.createElementVNode)("h4",null,(0,l.toDisplayString)(o.getI18nMessage(e.totalCostTitle))+":",1)])]),_:1}),(0,l.createVNode)(s,{span:5},{default:(0,l.withCtx)(()=>[(0,l.createVNode)(c,{modelValue:e.totalCost,"onUpdate:modelValue":t[92]||(t[92]=t=>e.totalCost=t),placeholder:"",disabled:!0,controls:!1,precision:4,size:"small"},null,8,["modelValue"])]),_:1})]),_:1})]),_:1})]),_:1}),(0,l.createVNode)(v,{type:"border-card",stretch:!0,class:"hidden-sm-and-up"},{default:(0,l.withCtx)(()=>[(0,l.createVNode)(m,null,{label:(0,l.withCtx)(()=>[(0,l.createElementVNode)("span",ul,(0,l.toDisplayString)(o.getI18nMessage(e.tabName1)),1)]),default:(0,l.withCtx)(()=>[(0,l.createVNode)(r,{class:"el-row-box-inner",style:{"z-index":"3"}},{default:(0,l.withCtx)(()=>[(0,l.createVNode)(s,null,{default:(0,l.withCtx)(()=>[(0,l.createVNode)(d,{value:e.facestock.cost.value,title:e.facestock.cost.titleI18
1n,spacing:10,precision:3,onDataChanged:t[93]||(t[93]=t=>o.handleValueChange(t,e.facestock.cost.title)),dropdownBarType:e.facestock.cost.title,options:o.costUnitOptions1,currentSelectionIndex:e.facestock.cost.unitIndex,onSelectionChanged:t[94]||(t[94]=t=>o.handleSelectChange(t,e.facestock.cost.title))},null,8,["value","title","dropdownBarType","options","currentSelectionIndex"])]),_:1})]),_:1}),(0,l.createVNode)(r,{class:"el-row-box-inner",style:{"z-index":"2"}},{default:(0,l.withCtx)(()=>[(0,l.createVNode)(s,null,{default:(0,l.withCtx)(()=>[(0,l.createVNode)(p,{modelValue:e.facestock.radioValue,"onUpdate:modelValue":t[95]||(t[95]=t=>e.facestock.radioValue=t),onChange:t[96]||(t[96]=e=>o.handleRadioChange(e,"facestock"))},{default:(0,l.withCtx)(()=>[(0,l.createVNode)(h,{class:"el-radio-1",label:1,border:""},{default:(0,l.withCtx)(()=>[(0,l.createTextVNode)((0,l.toDisplayString)(o.getI18nMessage(e.radioTitle1)),1)]),_:1}),(0,l.createVNode)(h,{class:"el-radio-2",label:2,border:""},{default:(0,l.withCtx)(()=>[(0,l.createTextVNode)((0,l.toDisplayString)(o.getI18nMessage(e.radioTitle2)),1)]),_:1})]),_:1},8,["modelValue"])]),_:1}),(0,l.withDirectives)((0,l.createVNode)(s,null,{default:(0,l.withCtx)(()=>[(0,l.createVNode)(d,{value:e.facestock.density.value,title:e.facestock.density.titleI18n,spacing:10,precision:3,onDataChanged:t[97]||(t[97]=t=>o.handleValueChange(t,e.facestock.density.title)),dropdownBarType:e.facestock.density.title,options:o.densityUnitOptions1,currentSelectionIndex:e.facestock.density.unitIndex,onSelectionChanged:t[98]||(t[98]=t=>o.handleSelectChange(t,e.facestock.density.title)),style:{"z-index":"20"},disable:e.facestock.density.disable},null,8,["value","title","dropdownBarType","options","currentSelectionIndex","disable"])]),_:1},512),[[l.vShow,1==e.facestock.radioValue]]),(0,l.withDirectives)((0,l.createVNode)(s,null,{default:(0,l.withCtx)(()=>[(0,l.createVNode)(d,{value:e.facestock.thickness.value,title:e.facestock.thickness.titleI18n,spacing:10,precision:3,onDataChanged:t[99]||(t[99]=t=>o.handleValueChange(t,e.facestock.thickness.title)),dropdownBarType:e.facestock.thickness.title,options:o.thicknessUnitOptions1,currentSelectionIndex:e.facestock.thickness.unitIndex,onSelectionChanged:t[100]||(t[100]=t=>o.handleSelectChange(t,e.facestock.thickness.title)),style:{"z-index":"10"},disable:e.facestock.thickness.disable},null,8,["value","title","dropdownBarType","options","currentSelectionIndex","disable"])]),_:1},512),[[l.vShow,1==e.facestock.radioValue]]),(0,l.withDirectives)((0,l.createVNode)(s,null,{default:(0,l.withCtx)(()=>[(0,l.createVNode)(d,{value:e.facestock.weightArea.value,title:e.facestock.weightArea.titleI18n,spacing:10,precision:3,onDataChanged:t[101]||(t[101]=t=>o.handleValueChange(t,e.facestock.weightArea.title)),dropdownBarType:e.facestock.weightArea.title,options:o.weightAreaUnitOptions1,currentSelectionIndex:e.facestock.weightArea.unitIndex,onSelectionChanged:t[102]||(t[102]=t=>o.handleSelectChange(t,e.facestock.weightArea.title)),disable:e.facestock.weightArea.disable},null,8,["value","title","dropdownBarType","options","currentSelectionIndex","disable"])]),_:1},512),[[l.vShow,2==e.facestock.radioValue]])]),_:1})]),_:1}),(0,l.createVNode)(m,null,{label:(0,l.withCtx)(()=>[(0,l.createElementVNode)("span",dl,(0,l.toDisplayString)(o.getI18nMessage(e.tabName2)),1)]),default:(0,l.withCtx)(()=>[(0,l.createVNode)(r,{class:"el-row-box-inner",style:{"z-index":"3"}},{default:(0,l.withCtx)(()=>[(0,l.createVNode)(s,null,{default:(0,l.withCtx)(()=>[(0,l.createVNode)(d,{value:e.adhesive.solids.value,title:e.adhesive.solids.titleI18n,spacing:10,minValue:0,maxValue:100,precision:3,onDataChanged:t[103]||(t[103]=t=>o.handleValueChange(t,e.adhesive.solids.title)),unitVisible:!1},null,8,["value","title"])]),_:1}),(0,l.createVNode)(s,null,{default:(0,l.withCtx)(()=>[(0,l.createVNode)(d,{value:e.adhesive.cost.value,title:e.adhesive.cost.titleI18
1n,spacing:10,precision:3,onDataChanged:t[104]||(t[104]=t=>o.handleValueChange(t,e.adhesive.cost.title)),dropdownBarType:e.adhesive.cost.title,options:o.costUnitOptions2,currentSelectionIndex:e.adhesive.cost.unitIndex,onSelectionChanged:t[105]||(t[105]=t=>o.handleSelectChange(t,e.adhesive.cost.title))},null,8,["value","title","dropdownBarType","options","currentSelectionIndex"])]),_:1})]),_:1}),(0,l.createVNode)(r,{class:"el-row-box-inner",style:{"z-index":"2"}},{default:(0,l.withCtx)(()=>[(0,l.createVNode)(s,null,{default:(0,l.withCtx)(()=>[(0,l.createVNode)(p,{modelValue:e.adhesive.radioValue,"onUpdate:modelValue":t[106]||(t[106]=t=>e.adhesive.radioValue=t),onChange:t[107]||(t[107]=e=>o.handleRadioChange(e,"adhesive"))},{default:(0,l.withCtx)(()=>[(0,l.createVNode)(h,{class:"el-radio-1",label:1,border:""},{default:(0,l.withCtx)(()=>[(0,l.createTextVNode)((0,l.toDisplayString)(o.getI18nMessage(e.radioTitle1)),1)]),_:1}),(0,l.createVNode)(h,{class:"el-radio-2",label:2,border:""},{default:(0,l.withCtx)(()=>[(0,l.createTextVNode)((0,l.toDisplayString)(o.getI18nMessage(e.radioTitle2)),1)]),_:1})]),_:1},8,["modelValue"])]),_:1}),(0,l.withDirectives)((0,l.createVNode)(s,null,{default:(0,l.withCtx)(()=>[(0,l.createVNode)(d,{value:e.adhesive.density.value,title:e.adhesive.density.titleI18n,spacing:10,precision:3,onDataChanged:t[108]||(t[108]=t=>o.handleValueChange(t,e.adhesive.density.title)),dropdownBarType:e.adhesive.density.title,options:o.densityUnitOptions1,currentSelectionIndex:e.adhesive.density.unitIndex,onSelectionChanged:t[109]||(t[109]=t=>o.handleSelectChange(t,e.adhesive.density.title)),style:{"z-index":"20"}},null,8,["value","title","dropdownBarType","options","currentSelectionIndex"])]),_:1},512),[[l.vShow,1==e.adhesive.radioValue]]),(0,l.withDirectives)((0,l.createVNode)(s,null,{default:(0,l.withCtx)(()=>[(0,l.createVNode)(d,{value:e.adhesive.thickness.value,title:e.adhesive.thickness.titleI18n,spacing:10,precision:3,onDataChanged:t[110]||(t[110]=t=>o.handleValueChange(t,e.adhesive.thickness.title)),dropdownBarType:e.adhesive.thickness.title,options:o.thicknessUnitOptions2,currentSelectionIndex:e.adhesive.thickness.unitIndex,onSelectionChanged:t[111]||(t[111]=t=>o.handleSelectChange(t,e.adhesive.thickness.title)),style:{"z-index":"10"}},null,8,["value","title","dropdownBarType","options","currentSelectionIndex"])]),_:1},512),[[l.vShow,1==e.adhesive.radioValue]]),(0,l.withDirectives)((0,l.createVNode)(s,null,{default:(0,l.withCtx)(()=>[(0,l.createVNode)(d,{value:e.adhesive.weightArea.value,title:e.adhesive.weightArea.titleI18n,spacing:10,precision:3,onDataChanged:t[112]||(t[112]=t=>o.handleValueChange(t,e.adhesive.weightArea.title)),dropdownBarType:e.adhesive.weightArea.title,options:o.weightAreaUnitOptions1,currentSelectionIndex:e.adhesive.weightArea.unitIndex,onSelectionChanged:t[113]||(t[113]=t=>o.handleSelectChange(t,e.adhesive.weightArea.title))},null,8,["value","title","dropdownBarType","options","currentSelectionIndex"])]),_:1},512),[[l.vShow,2==e.adhesive.radioValue]])]),_:1})]),_:1}),(0,l.createVNode)(m,null,{label:(0,l.withCtx)(()=>[(0,l.createElementVNode)("span",hl,(0,l.toDisplayString)(o.getI18nMessage(e.tabName3)),1)]),default:(0,l.withCtx)(()=>[(0,l.createVNode)(r,{class:"el-row-box-inner",style:{"z-index":"3"}},{default:(0,l.withCtx)(()=>[(0,l.createVNode)(s,null,{default:(0,l.withCtx)(()=>[(0,l.createVNode)(d,{value:e.release.solids.value,title:e.release.solids.titleI18n,spacing:10,minValue:0,maxValue:100,precision:3,onDataChanged:t[114]||(t[114]=t=>o.handleValueChange(t,e.release.solids.title)),unitVisible:!1},null,8,["value","title"])]),_:1}),(0,l.createVNode)(s,null,{default:(0,l.withCtx)(()=>[(0,l.createVNode)(d,{value:e.release.cost.value,title:e.release.cost.titleI18
1n,spacing:10,precision:3,onDataChanged:t[115]||(t[115]=t=>o.handleValueChange(t,e.release.cost.title)),dropdownBarType:e.release.cost.title,options:o.costUnitOptions2,currentSelectionIndex:e.release.cost.unitIndex,onSelectionChanged:t[116]||(t[116]=t=>o.handleSelectChange(t,e.release.cost.title))},null,8,["value","title","dropdownBarType","options","currentSelectionIndex"])]),_:1})]),_:1}),(0,l.createVNode)(r,{class:"el-row-box-inner",style:{"z-index":"2"}},{default:(0,l.withCtx)(()=>[(0,l.createVNode)(s,null,{default:(0,l.withCtx)(()=>[(0,l.createVNode)(p,{modelValue:e.release.radioValue,"onUpdate:modelValue":t[117]||(t[117]=t=>e.release.radioValue=t),onChange:t[118]||(t[118]=e=>o.handleRadioChange(e,"release"))},{default:(0,l.withCtx)(()=>[(0,l.createVNode)(h,{class:"el-radio-1",label:1,border:""},{default:(0,l.withCtx)(()=>[(0,l.createTextVNode)((0,l.toDisplayString)(o.getI18nMessage(e.radioTitle1)),1)]),_:1}),(0,l.createVNode)(h,{class:"el-radio-2",label:2,border:""},{default:(0,l.withCtx)(()=>[(0,l.createTextVNode)((0,l.toDisplayString)(o.getI18nMessage(e.radioTitle2)),1)]),_:1})]),_:1},8,["modelValue"])]),_:1}),(0,l.withDirectives)((0,l.createVNode)(s,null,{default:(0,l.withCtx)(()=>[(0,l.createVNode)(d,{value:e.release.density.value,title:e.release.density.titleI18n,spacing:10,precision:3,onDataChanged:t[119]||(t[119]=t=>o.handleValueChange(t,e.release.density.title)),dropdownBarType:e.release.density.title,options:o.densityUnitOptions1,currentSelectionIndex:e.release.density.unitIndex,onSelectionChanged:t[120]||(t[120]=t=>o.handleSelectChange(t,e.release.density.title)),style:{"z-index":"20"}},null,8,["value","title","dropdownBarType","options","currentSelectionIndex"])]),_:1},512),[[l.vShow,1==e.release.radioValue]]),(0,l.withDirectives)((0,l.createVNode)(s,null,{default:(0,l.withCtx)(()=>[(0,l.createVNode)(d,{value:e.release.thickness.value,title:e.release.thickness.titleI18n,spacing:10,precision:3,onDataChanged:t[121]||(t[121]=t=>o.handleValueChange(t,e.release.thickness.title)),dropdownBarType:e.release.thickness.title,options:o.thicknessUnitOptions2,currentSelectionIndex:e.release.thickness.unitIndex,onSelectionChanged:t[122]||(t[122]=t=>o.handleSelectChange(t,e.release.thickness.title)),style:{"z-index":"10"}},null,8,["value","title","dropdownBarType","options","currentSelectionIndex"])]),_:1},512),[[l.vShow,1==e.release.radioValue]]),(0,l.withDirectives)((0,l.createVNode)(s,null,{default:(0,l.withCtx)(()=>[(0,l.createVNode)(d,{value:e.release.weightArea.value,title:e.release.weightArea.titleI18n,spacing:10,precision:3,onDataChanged:t[123]||(t[123]=t=>o.handleValueChange(t,e.release.weightArea.title)),dropdownBarType:e.release.weightArea.title,options:o.weightAreaUnitOptions1,currentSelectionIndex:e.release.weightArea.unitIndex,onSelectionChanged:t[124]||(t[124]=t=>o.handleSelectChange(t,e.release.weightArea.title))},null,8,["value","title","dropdownBarType","options","currentSelectionIndex"])]),_:1},512),[[l.vShow,2==e.release.radioValue]])]),_:1})]),_:1}),(0,l.createVNode)(m,null,{label:(0,l.withCtx)(()=>[(0,l.createElementVNode)("span",pl,(0,l.toDisplayString)(o.getI18nMessage(e.tabName4)),1)]),default:(0,l.withCtx)(()=>[(0,l.createVNode)(r,{class:"el-row-box-inner",style:{"z-index":"3"}},{default:(0,l.withCtx)(()=>[(0,l.createVNode)(s,null,{default:(0,l.withCtx)(()=>[(0,l.createVNode)(d,{value:e.liner.cost.value,title:e.liner.cost.titleI18
1n,spacing:10,precision:3,onDataChanged:t[125]||(t[125]=t=>o.handleValueChange(t,e.liner.cost.title)),dropdownBarType:e.liner.cost.title,options:o.costUnitOptions1,currentSelectionIndex:e.liner.cost.unitIndex,onSelectionChanged:t[126]||(t[126]=t=>o.handleSelectChange(t,e.liner.cost.title))},null,8,["value","title","dropdownBarType","options","currentSelectionIndex"])]),_:1})]),_:1}),(0,l.createVNode)(r,{class:"el-row-box-inner",style:{"z-index":"2"}},{default:(0,l.withCtx)(()=>[(0,l.createVNode)(s,null,{default:(0,l.withCtx)(()=>[(0,l.createVNode)(p,{modelValue:e.liner.radioValue,"onUpdate:modelValue":t[127]||(t[127]=t=>e.liner.radioValue=t),onChange:t[128]||(t[128]=e=>o.handleRadioChange(e,"liner"))},{default:(0,l.withCtx)(()=>[(0,l.createVNode)(h,{class:"el-radio-1",label:1,border:""},{default:(0,l.withCtx)(()=>[(0,l.createTextVNode)((0,l.toDisplayString)(o.getI18nMessage(e.radioTitle1)),1)]),_:1}),(0,l.createVNode)(h,{class:"el-radio-2",label:2,border:""},{default:(0,l.withCtx)(()=>[(0,l.createTextVNode)((0,l.toDisplayString)(o.getI18nMessage(e.radioTitle2)),1)]),_:1})]),_:1},8,["modelValue"])]),_:1}),(0,l.withDirectives)((0,l.createVNode)(s,null,{default:(0,l.withCtx)(()=>[(0,l.createVNode)(d,{value:e.liner.density.value,title:e.liner.density.titleI18n,spacing:10,precision:3,onDataChanged:t[129]||(t[129]=t=>o.handleValueChange(t,e.liner.density.title)),dropdownBarType:e.liner.density.title,options:o.densityUnitOptions1,currentSelectionIndex:e.liner.density.unitIndex,onSelectionChanged:t[130]||(t[130]=t=>o.handleSelectChange(t,e.liner.density.title)),style:{"z-index":"20"},disable:e.liner.density.disable},null,8,["value","title","dropdownBarType","options","currentSelectionIndex","disable"])]),_:1},512),[[l.vShow,1==e.liner.radioValue]]),(0,l.withDirectives)((0,l.createVNode)(s,null,{default:(0,l.withCtx)(()=>[(0,l.createVNode)(d,{value:e.liner.thickness.value,title:e.liner.thickness.titleI18n,spacing:10,precision:3,onDataChanged:t[131]||(t[131]=t=>o.handleValueChange(t,e.liner.thickness.title)),dropdownBarType:e.liner.thickness.title,options:o.thicknessUnitOptions2,currentSelectionIndex:e.liner.thickness.unitIndex,onSelectionChanged:t[132]||(t[132]=t=>o.handleSelectChange(t,e.liner.thickness.title)),style:{"z-index":"10"},disable:e.liner.thickness.disable},null,8,["value","title","dropdownBarType","options","currentSelectionIndex","disable"])]),_:1},512),[[l.vShow,1==e.liner.radioValue]]),(0,l.withDirectives)((0,l.createVNode)(s,null,{default:(0,l.withCtx)(()=>[(0,l.createVNode)(d,{value:e.liner.weightArea.value,title:e.liner.weightArea.titleI18n,spacing:10,precision:3,onDataChanged:t[133]||(t[133]=t=>o.handleValueChange(t,e.liner.weightArea.title)),dropdownBarType:e.liner.weightArea.title,options:o.weightAreaUnitOptions1,currentSelectionIndex:e.liner.weightArea.unitIndex,onSelectionChanged:t[134]||(t[134]=t=>o.handleSelectChange(t,e.liner.weightArea.title)),disable:e.liner.weightArea.disable},null,8,["value","title","dropdownBarType","options","currentSelectionIndex","disable"])]),_:1},512),[[l.vShow,2==e.liner.radioValue]])]),_:1})]),_:1})]),_:1}),(0,l.createVNode)(r,{class:"el-row-box-outer hidden-sm-and-up"},{default:(0,l.withCtx)(()=>[(0,l.createVNode)(s,{span:12},{default:(0,l.withCtx)(()=>[(0,l.createElementVNode)("div",null,[(0,l.createElementVNode)("h4",null,(0,l.toDisplayString)(o.getI18nMessage(e.selectUnitsTitle))+":",1)])]),_:1}),(0,l.createVNode)(s,{span:12,class:"el-col-mobile-dropdown"},{default:(0,l.withCtx)(()=>[(0,l.createElementVNode)("div",ml,[(0,l.createVNode)(u,{options:o.selectUnitsOptions,currentSelection:e.selectUnitsIndex,type:"selectUnits",onSelectDropdown:o.onChangeSelectUnits},null,8,["options","currentSelection","onSelectDropdown"])])]),_:1}),(0,l.createVNode)(s,null,{default:(0,l.withCtx)(()=>[(0,l.createVNode)(f,{value:e.subTotal1,title:e.subTotalTitleI18n1,spacing:40,precision:4,disable:!0},null,8,["value","title"])]),_:1}),(0,l.createVNode)(s,null,{default:(0,l.withCtx)(()=>[(0,l.createVNode)(f,{value:e.subTotal2,title:e.subTotalTitleI18n2,spacing:40,precision:4,disable:!0},null,8,["value","title"])]),_:1}),(0,l.createVNode)(s,null,{default:(0,l.withCtx)(()=>[(0,l.createVNode)(f,{value:e.subTotal3,title:e.subTotalTitleI18n3,spacing:40,precision:4,disable:!0},null,8,["value","title"])]),_:1}),(0,l.createVNode)(s,null,{default:(0,l.withCtx)(()=>[(0,l.createVNode)(f,{value:e.subTotal4,title:e.subTotalTitleI18n4,spacing:40,precision:4,disable:!0},null,8,["value","title"])]),_:1}),(0,l.createVNode)(s,null,{default:(0,l.withCtx)(()=>[(0,l.createVNode)(f,{value:e.totalCost,title:e.totalCostTitleI18n,spacing:40,precision:4,disable:!0},null,8,["value","title"])]),_:1})]),_:1}),(0,l.createVNode)(r,{class:"el-row-box-button"},{default:(0,l.withCtx)(()=>[(0,l.createVNode)(s,{span:12},{default:(0,l.withCtx)(()=>[(0,l.createElementVNode)("button",{onClick:t[135]||(t[135]=(...e)=>o.handleClear&&o.handleClear(...e)),class:"cl-btn btn btn-primary",type:"button"},(0,l.toDisplayString)(o.getI18nMessage("clear.all.Title")),1)]),_:1}),(0,l.createVNode)(s,{span:12},{default:(0,l.withCtx)(()=>[(0,l.createVNode)(b,{helpTitle:"help.calculator.cost.title",helpParagraph:e.helpParagraph},null,8,["helpParagraph"])]),_:1})]),_:1})])])}var fl=a(77485),bl=a(71786);const gl=(0,bl.A)(fl.A,[["render",vl]]);var _l=gl},76471:function(e,t,a){a.d(t,{i:function(){return i}});a(44114);const l={template:'\n <svg xmlns="http://www.w3.org/2000/svg" width="18" height="18" viewBox="0 0 24 24" fill="none" stroke="#e80033" stroke-width="2" stroke-linecap="round" stroke-linejoin="bevel">\n <circle cx="12" cy="12" r="10"></circle>\n <path d="M9.09 9a3 3 0 0 1 5.83 1c0 2-3 3-3 3"></path>
1\n <line x1="12" y1="17" x2="12.01" y2="17"></line>\n </svg>\n\t'},n={template:'\n <svg xmlns="http://www.w3.org/2000/svg" width="30" height="30" viewBox="0 0 24 24" fill="none" stroke="#2C2A29" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">\n <circle cx="12" cy="12" r="10"></circle>\n <path d="M9.09 9a3 3 0 0 1 5.83 1c0 2-3 3-3 3"></path>\n <line x1="12" y1="17" x2="12.01" y2="17"></line>\n </svg>\n\t'},i={template:'\n <div class="helpCalculator">\n <div class="helpCalculator-icon" @click="toggleHelpState($event, 1)" @keydown.enter="toggleHelpState($event, 1)" tabindex="0">\n <QuestionMarkRedIcon class="svg"/>\n <span class="hidden-sm-and-down"> {{getI18nMessage(\'help.title\')}} </span>\n </div>\n\n <div :style="{display:(showNotification ? \'block\' : \'none\')}" class="modal fade in helpCalculator-notification">\n <div class="modal-dialog modal-dialog-centered">\n <div class="modal-content">\n <div class="modal-body">\n <h2>\n <button id="close-help" class="btn btn-primary-alt" type="button" @click="toggleHelpState($event, 0)" tabindex="0"><i class="el-icon-close">x</i></button>\n <QuestionMarkBlackIcon class="svg"/> {{i18nHelpTitle}}\n </h2>\n <div class="component-notification-text">\n <p v-for="item in i18nHelpParagraph">\n <span :class="item.bold ? \'bold-text\' : \'\'" v-html="item.text"></span>\n </p>\n </div>\n </div>\n </div>\n </div>\n <div class="modal-backdrop fade in"></div>\n </div>\n </div>\n ',props:{helpTitle:{type:String,default:"help.title"},helpParagraph:{type:Array,default:[{text:"",bold:!1}]}},components:{QuestionMarkRedIcon:l,QuestionMarkBlackIcon:n},data:function(){return{showNotification:!1}},computed:{i18nHelpTitle:function(){return window.Granite.I18n.get(this.helpTitle)},i18nHelpParagraph:function(){var e=[];return this.helpParagraph.forEach(function(t){t.text=window.Granite.I18n.get(t.text),e.push(t)}),e}},methods:{getI18nMessage:function(e){return window.Granite.I18n.get(e)},toggleHelpState:function(e,t){let a=this,l=e.target.closest(".helpCalculator"),n=l.querySelector(".modal-dialog");0==t?a.showNotification=!1:(a.showNotification=!0,n.onkeydown=function(e){"Tab"!==e.code&&"Tab"!==e.key&&9!==e.keyCode||(n.querySelector("#close-help").focus(),e.preventDefault())}),a.$nextTick(function(){0==t?(l.querySelector(".helpCalculator-icon").focus(),e.preventDefault()):(l.querySelector("#close-help").focus(),e.preventDefault())})}}}},77398:function(e,t,a){a.d(t,{lq:function(){return O}});var l=a(77001),n=a(16032),i=a(71040),o=a(813),s=a(57477),r=a(47378),c=a(53845),u=a(12235),d=a(58501),h=a(92056);const p=(0,r.b_)({id:{type:String,default:void 0},step:{type:Number,default:1},stepStrictly:Boolean,max:{type:Number,default:Number.MAX_SAFE_INTEGER},min:{type:Number,default:Number.MIN_SAFE_INTEGER},modelValue:{type:[Number,null]},readonly:Boolean,disabled:Boolean,size:c.mU,controls:{type:Boolean,default:!0},controlsPosition:{type:String,default:"",values:["","right"]},valueOnClear:{type:[String,Number,null],validator:e=>null===e||(0,u.Et)(e)||["min","max"].includes(e),default:null},name:String,placeholder:String,precision:{type:Number,validator:e=>e>=0&&e===Number.parseInt(`${e}`,10)},validateEvent:{type:Boolean,default:!0},...(0,d.l)(["ariaLabel"]),inputmode:{type:(0,r.jq)(String),default:void 0},align:{type:(0,r.jq)(String),default:"center"},disabledScientific:Boolean}),m={[h.YU]:(e,t)=>t!==e,blur:e=>e instanceof FocusEvent,focus:e=>e instanceof FocusEvent,[h.qs]:e=>(0,u.Et)(e)||(0,n.A)(e),[h.l4]:e=>(0,u.Et)(e)||(0,n.A)(e)};var v=a(99077),f=a(24232);const b=100,g=600,_={beforeMount(e,t){const a=t.value,{interval:l=b,delay:n=g}=(0,f.Tn)(a)?{}:a;let i,o;const s=()=>(0,f.Tn)(a)?a():a.handler(),r=()=>{o&&(clearTimeout(o),o=void 0),i&&(clearInterval(i),i=void 0)};e.addEventListener("mousedown",e=>{0===e.button&&(r(),s(),document.addEventListener("mouseup",()=>r(),{once:!0}),o=setTimeout(()=>{i=setInterval(()=>{s()},l)},n))})}};var w=a(36268),C=a(93513),V=a(44216),N=a(92436),I=a(10515),y=a(86894);const x=(0,l.defineComponent)({name:"ElInputNumber"}),S=(0,l.defineComponent)({...x,props:p,emits:m,setup(e,{expose:t,emit:a}){const r=e,{t:c}=(0,w.Ym)(),d=(0,C.DU)("input-number"),p=(0,l.ref)(),m=(0,l.reactive)({currentValue:r.modelValue,userIn
1put:null}),{formItem:v}=(0,V.j)(),b=(0,l.computed)(()=>(0,u.Et)(r.modelValue)&&r.modelValue<=r.min),g=(0,l.computed)(()=>(0,u.Et)(r.modelValue)&&r.modelValue>=r.max),x=(0,l.computed)(()=>{const e=D(r.step);return(0,u.b0)(r.precision)?Math.max(D(r.modelValue),e):(r.precision,r.precision)}),S=(0,l.computed)(()=>r.controls&&"right"===r.controlsPosition),k=(0,N.NV)(),T=(0,N.CB)(),O=(0,l.computed)(()=>{if(null!==m.userInput)return m.userInput;let e=m.currentValue;if((0,n.A)(e))return"";if((0,u.Et)(e)){if(Number.isNaN(e))return"";(0,u.b0)(r.precision)||(e=e.toFixed(r.precision))}return e}),A=(e,t)=>{if((0,u.b0)(t)&&(t=x.value),0===t)return Math.round(e);let a=String(e);const l=a.indexOf(".");if(-1===l)return e;const n=a.replace(".","").split(""),i=n[l+t];if(!i)return e;const o=a.length;return"5"===a.charAt(o-1)&&(a=`${a.slice(0,Math.max(0,o-1))}6`),Number.parseFloat(Number(a).toFixed(t))},D=e=>{if((0,n.A)(e))return 0;const t=e.toString(),a=t.indexOf(".");let l=0;return-1!==a&&(l=t.length-a-1),l},E=(e,t=1)=>(0,u.Et)(e)?e>=Number.MAX_SAFE_INTEGER&&1===t||e<=Number.MIN_SAFE_INTEGER&&-1===t?e:A(e+r.step*t):m.currentValue,U=e=>{var t;const a=e;if(r.disabledScientific&&["e","E"].includes(a.key))return void a.preventDefault();const l={[I.R.up]:()=>{a.preventDefault(),B()},[I.R.down]:()=>{a.preventDefault(),P()}};null==(t=l[a.key])||t.call(l)},B=()=>{if(r.readonly||T.value||g.value)return;const e=Number(O.value)||0,t=E(e);R(t),a(h.qs,m.currentValue),$()},P=()=>{if(r.readonly||T.value||b.value)return;const e=Number(O.value)||0,t=E(e,-1);R(t),a(h.qs,m.currentValue),$()},M=(e,t)=>{const{max:l,min:i,step:o,precision:s,stepStrictly:c,valueOnClear:d}=r;l<i&&(0,y.$)("InputNumber","min should not be greater than max.");let p=Number(e);if((0,n.A)(e)||Number.isNaN(p))return null;if(""===e){if(null===d)return null;p=(0,f.Kg)(d)?{min:i,max:l}[d]:d}return c&&(p=A(Math.round(p/o)*o,s),p!==e&&t&&a(h.l4,p)),(0,u.b0)(s)||(p=A(p,s)),(p>l||p<i)&&(p=p>l?l:i,t&&a(h.l4,p)),p},R=(e,t=!0)=>{var l;const n=m.currentValue,i=M(e);t?n===i&&e||(m.userInput=null,a(h.l4,i),n!==i&&a(h.YU,i,n),r.validateEvent&&(null==(l=null==v?void 0:v.validate)||l.call(v,"change").catch(e=>(0,y.U)())),m.currentValue=i):a(h.l4,i)},q=e=>{m.userInput=e;const t=""===e?null:Number(e);a(h.qs,t),R(t,!1)},W=e=>{const t=""!==e?Number(e):"";((0,u.Et)(t)&&!Number.isNaN(t)||""===e)&&R(t),$(),m.userInput=null},F=()=>{var e,t;null==(t=null==(e=p.value)?void 0:e.focus)||t.call(e)},L=()=>{var e,t;null==(t=null==(e=p.value)?void 0:e.blur)||t.call(e)},z=e=>{a("focus",e)},j=e=>{var t,l;m.userInput=null,null===m.currentValue&&(null==(t=p.value)?void 0:t.input)&&(p.value.input.value=""),a("blur",e),r.validateEvent&&(null==(l=null==v?void 0:v.validate)||l.call(v,"blur").catch(e=>(0,y.U)()))},$=()=>{m.currentValue!==r.modelValue&&(m.currentValue=r.modelValue)},G=e=>{document.activeElement===e.target&&e.preventDefault()};return(0,l.watch)(()=>r.modelValue,(e,t)=>{const a=M(e,!0);null===m.userInput&&a!==t&&(m.currentValue=a)},{immediate:!0}),(0,l.watch)(()=>r.precision,()=>{m.currentValue=M(r.modelValue)}),(0,l.onMounted)(()=>{var e;const{min:t,max:l,modelValue:n}=r,i=null==(e=p.value)?void 0:e.input;if(i.setAttribute("role","spinbutton"),Number.isFinite(l)?i.setAttribute("aria-valuemax",String(l)):i.removeAttribute("aria-valuemax"),Number.isFinite(t)?i.setAttribute("aria-valuemin",String(t)):i.removeAttribute("aria-valuemin"),i.setAttribute("aria-valuenow",m.currentValue||0===m.currentValue?String(m.currentValue):""),i.setAttribute("aria-disabled",String(T.value)),!(0,u.Et)(n)&&null!=n){let e=Number(n);Number.isNaN(e)&&(e=null),a(h.l4,e)}i.addEventListener("wheel",G,{passive:!1})}),(0,l.onUpdated)(()=>{var e,t;const a=null==(e=p.value)?void 0:e.input;null==a||a.setAttribute("aria-valuenow",`${null!=(t=m.currentValue)?t:""}`)}),t({focus:F,blur:L}),(e,t)=>((0,l.openBlock)(),(0,l.createElementBlock)("div",{class:(0,l.normalizeClass)([(0,l.unref)(d).b(),(0,l.unref)(d).m((0,l.unref)(k)),(0,l.unref)(d).is("disabled",(0,l.unref)(T)),(0,l.unref)(d).is("without-control
1s",!e.controls),(0,l.unref)(d).is("controls-right",(0,l.unref)(S)),(0,l.unref)(d).is(e.align,!!e.align)]),onDragstart:(0,l.withModifiers)(()=>{},["prevent"])},[e.controls?(0,l.withDirectives)(((0,l.openBlock)(),(0,l.createElementBlock)("span",{key:0,role:"button","aria-label":(0,l.unref)(c)("el.inputNumber.decrease"),class:(0,l.normalizeClass)([(0,l.unref)(d).e("decrease"),(0,l.unref)(d).is("disabled",(0,l.unref)(b))]),onKeydown:(0,l.withKeys)(P,["enter"])},[(0,l.renderSlot)(e.$slots,"decrease-icon",{},()=>[(0,l.createVNode)((0,l.unref)(o.tk),null,{default:(0,l.withCtx)(()=>[(0,l.unref)(S)?((0,l.openBlock)(),(0,l.createBlock)((0,l.unref)(s.yd$),{key:0})):((0,l.openBlock)(),(0,l.createBlock)((0,l.unref)(s.Hsy),{key:1}))]),_:1})])],42,["aria-label","onKeydown"])),[[(0,l.unref)(_),P]]):(0,l.createCommentVNode)("v-if",!0),e.controls?(0,l.withDirectives)(((0,l.openBlock)(),(0,l.createElementBlock)("span",{key:1,role:"button","aria-label":(0,l.unref)(c)("el.inputNumber.increase"),class:(0,l.normalizeClass)([(0,l.unref)(d).e("increase"),(0,l.unref)(d).is("disabled",(0,l.unref)(g))]),onKeydown:(0,l.withKeys)(B,["enter"])},[(0,l.renderSlot)(e.$slots,"increase-icon",{},()=>[(0,l.createVNode)((0,l.unref)(o.tk),null,{default:(0,l.withCtx)(()=>[(0,l.unref)(S)?((0,l.openBlock)(),(0,l.createBlock)((0,l.unref)(s.DoI),{key:0})):((0,l.openBlock)(),(0,l.createBlock)((0,l.unref)(s.FWt),{key:1}))]),_:1})])],42,["aria-label","onKeydown"])),[[(0,l.unref)(_),B]]):(0,l.createCommentVNode)("v-if",!0),(0,l.createVNode)((0,l.unref)(i.WK),{id:e.id,ref_key:"input",ref:p,type:"number",step:e.step,"model-value":(0,l.unref)(O),placeholder:e.placeholder,readonly:e.readonly,disabled:(0,l.unref)(T),size:(0,l.unref)(k),max:e.max,min:e.min,name:e.name,"aria-label":e.ariaLabel,"validate-event":!1,inputmode:e.inputmode,onKeydown:U,onBlur:j,onFocus:z,onInput:q,onChange:W},(0,l.createSlots)({_:2},[e.$slots.prefix?{name:"prefix",fn:(0,l.withCtx)(()=>[(0,l.renderSlot)(e.$slots,"prefix")])}:void 0,e.$slots.suffix?{name:"suffix",fn:(0,l.withCtx)(()=>[(0,l.renderSlot)(e.$slots,"suffix")])}:void 0]),1032,["id","step","model-value","placeholder","readonly","disabled","size","max","min","name","aria-label","inputmode"])],42,["onDragstart"]))}});var k=(0,v.A)(S,[["__file","input-number.vue"]]),T=a(25376);const O=(0,T.GU)(k)},77485:function(__unused_webpack_module,__webpack_exports__,__webpack_require__){var _core_CoreComponent_vue__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(49680),_core_blocks_input_elements_calculator_input_number_CalculatorInputNumber_vue__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(32429),_core_blocks_input_elements_calculator_input_number_unit_CalculatorInputNumberUnit_vue__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(16375),_core_blocks_input_elements_dropdown_bar__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__(48201),_blocks_help_calculator__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__(76471),_blocks_calculator_config_formula_formula__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__(78202),_accessibility_calibration_js__WEBPACK_IMPORTED_MODULE_6__=__webpack_require__(18470);const COST_UNIT_OPTIONS_1=[{id:"$/lb",title:"$/lb",value:1},{id:"$/kg",title:"$/kg",value:2},{id:"$/MSI",title:"$/MSI",value:3},{id:"$/sq. ft",title:"$/sq ft",value:4},{id:"$/sq. meter",title:"$/sq meter",value:5}],COST_UNIT_OPTIONS_2=[{id:"$/lb",title:"$/lb",value:1},{id:"$/kg",title:"$/kg",value:2}],DENSITY_UNIT_OPTIONS_1=[{id:"g/cubic centimeter",title:"g/cm3",value:1},{id:"kg/cubic meter",title:"kg/m3",value:2}],THICKNESS_UNIT_OPTIONS_1=[{id:"mils",title:"mils",value:1},{id:"microns",title:"microns",value:2},{id:"gauge",title:"gauge",value:3}],THICKNESS_UNIT_OPTIONS_2=[{id:"mils",title:"mils",value:1},{id:"microns",title:"microns",value:2}],WEIGHT_AREA_UNIT_OPTIONS_1=[{id:"lb/ream",title:"lb/ream (3000 sq ft)",value:1},{id:"lb/Ream",title:"lb/Ream (3300 sq ft)",value:2},{id:"g/sq. m",title:"g/m2",value:3}],SELECT_UNITS_OPTIONS=[{id:"$/MSI",title:"$/MSI",value:1},{id:"$/sq. ft",title:"$/sq ft",value:2},{id:"$/sq. meter",title:"$/sq meter",value:3}];__webpack_exports__.A={name:"psaCalculatorCost",extends:_core_CoreComponent_vue__WEBPACK_IMPORTED_MODULE_0__.Ay,components:{CalculatorInputNumber:_core_blocks_input_elements_calculator_input_number_CalculatorInputNumber_vue__WEBPACK_IMPORTED_MODULE_1__.A,CalculatorInputNumberUnit:_core_blocks_input_elements_calculator_input_number_unit_CalculatorInputNumberUnit_vue__WEBPACK_IMPORTED_MODULE_2__.A,helpCalculator:_blocks_help_calculator__WEBPACK_IMPORTED_MODULE_4__.i,DropdownBar:_core_blocks_input_elements_dropdown_bar__WEBPACK_IMPORTED_MODULE_3__.h},data:function(){return{guide:"psa.cost.guide",tabName1:"psa.cost.tabname1",tabName2:"psa.cost.tabname2",tabName3:"psa.cost.tabname3",tabName4:"psa.cost.tabname4",selectUnitsTitle:"psa.cost.selectunits",selectUnits:SELECT_UNITS_OPTIONS[0].title,selectUnitsIndex:0,subTotalTitle:"psa.cost.subtotaltitle",subTotalTitle1:"psa.cost.subtotaltitle1",subTotalTitle2:"psa.cost.subtotaltitle2",subTotalTitle3:"psa.cost.subtotaltitle3",subTotalTitle4:"psa.cost.subtotaltitle4",subTotalTitleI18n1:window.Granite.I18n.get("psa.cost.subtotaltitle1"),subTotalTitleI18n2:window.Granite.I18n.get("psa.cost.subtotaltitle2"),subTotalTitleI18n3:window.Granite.I18n.get("psa.cost.subtotaltitle3"),subTotalTitleI18n4:window.Granite.I18n.get("psa.cost.subtotaltitle4"),subTotal1:0,subTotal2:0,subTotal3:0,subTotal4:0,totalCostTitle:"psa.cost.totalcosttitle",totalCostTitleI18n:window.Granite.I18n.get("psa.cost.totalcosttitle"),totalCost:0,helpParagraph:[{text:"help.calculator.cost.paragraph1",bold:!1}
1,{text:"help.calculator.cost.paragraph2",bold:!1},{text:"help.calculator.cost.paragraph3",bold:!1},{text:"help.calculator.cost.paragraph4",bold:!1}],unitTitle:"psa.cost.unittitle",radioTitle1:"psa.cost.radiotitle1",radioTitle2:"psa.cost.radiotitle2",facestock:{radioValue:1,cost:{title:"facestock.cost",titleI18n:window.Granite.I18n.get("psa.cost.cost.title"),value:0,unit:COST_UNIT_OPTIONS_1[0].title,unitIndex:0},density:{title:"facestock.density",titleI18n:window.Granite.I18n.get("psa.cost.density.title"),disable:!1,value:0,unit:DENSITY_UNIT_OPTIONS_1[0].title,unitIndex:0,inputStyle:""},thickness:{title:"facestock.thickness",titleI18n:window.Granite.I18n.get("psa.cost.thickness.title"),disable:!1,value:0,unit:THICKNESS_UNIT_OPTIONS_1[0].title,unitIndex:0,inputStyle:""},weightArea:{title:"facestock.weightArea",titleI18n:window.Granite.I18n.get("psa.cost.weightarea.title"),disable:!1,value:0,unit:WEIGHT_AREA_UNIT_OPTIONS_1[0].title,unitIndex:0,inputStyle:""}},adhesive:{radioValue:1,solids:{title:"adhesive.solids",titleI18
1n:window.Granite.I18n.get("psa.cost.solids.title"),value:0},cost:{title:"adhesive.cost",titleI18n:window.Granite.I18n.get("psa.cost.cost.title"),value:0,unit:COST_UNIT_OPTIONS_2[0].title,unitIndex:0},density:{title:"adhesive.density",titleI18n:window.Granite.I18n.get("psa.cost.density.title"),value:0,unit:DENSITY_UNIT_OPTIONS_1[0].title,unitIndex:0,inputStyle:""},thickness:{title:"adhesive.thickness",titleI18n:window.Granite.I18n.get("psa.cost.thickness.title"),value:0,unit:THICKNESS_UNIT_OPTIONS_2[0].title,unitIndex:0,inputStyle:""},weightArea:{title:"adhesive.weightArea",titleI18n:window.Granite.I18n.get("psa.cost.weightarea.title"),value:0,unit:WEIGHT_AREA_UNIT_OPTIONS_1[0].title,unitIndex:0,inputStyle:""}},release:{radioValue:1,solids:{title:"release.solids",titleI18n:window.Granite.I18n.get("psa.cost.solids.title"),value:0},cost:{title:"release.cost",titleI18n:window.Granite.I18n.get("psa.cost.cost.title"),value:0,unit:COST_UNIT_OPTIONS_2[0].title,unitIndex:0},density:{title:"release.density",titleI18n:window.Granite.I18n.get("psa.cost.density.title"),value:0,unit:DENSITY_UNIT_OPTIONS_1[0].title,unitIndex:0,inputStyle:""},thickness:{title:"release.thickness",titleI18n:window.Granite.I18n.get("psa.cost.thickness.title"),value:0,unit:THICKNESS_UNIT_OPTIONS_2[0].title,unitIndex:0,inputStyle:""},weightArea:{title:"release.weightArea",titleI18n:window.Granite.I18n.get("psa.cost.weightarea.title"),value:0,unit:WEIGHT_AREA_UNIT_OPTIONS_1[0].title,unitIndex:0,inputStyle:""}},liner:{radioValue:1,cost:{title:"liner.cost",titleI18n:window.Granite.I18n.get("psa.cost.cost.title"),value:0,unit:COST_UNIT_OPTIONS_1[0].title,unitIndex:0},density:{title:"liner.density",titleI18n:window.Granite.I18n.get("psa.cost.density.title"),disable:!1,value:0,unit:DENSITY_UNIT_OPTIONS_1[0].title,unitIndex:0,inputStyle:""},thickness:{title:"liner.thickness",titleI18n:window.Granite.I18n.get("psa.cost.thickness.title"),disable:!1,value:0,unit:THICKNESS_UNIT_OPTIONS_2[0].title,unitIndex:0,inputStyle:""},weightArea:{title:"liner.weightArea",titleI18n:window.Granite.I18n.get("psa.cost.weightarea.title"),disable:!1,value:0,unit:WEIGHT_AREA_UNIT_OPTIONS_1[0].title,unitIndex:0,inputStyle:""}}}},mounted:function(){_accessibility_calibration_js__WEBPACK_IMPORTED_MODULE_6__.A.trapFocusToContainer(this.cmpEl)},computed:{costUnitOptions1:function(){return COST_UNIT_OPTIONS_1},costUnitOptions2:function(){return COST_UNIT_OPTIONS_2},densityUnitOptions1:function(){return DENSITY_UNIT_OPTIONS_1},thicknessUnitOptions1:function(){return THICKNESS_UNIT_OPTIONS_1},thicknessUnitOptions2:function(){return THICKNESS_UNIT_OPTIONS_2},weightAreaUnitOptions1:function(){return WEIGHT_AREA_UNIT_OPTIONS_1},selectUnitsOptions:function(){return SELECT_UNITS_OPTIONS}},methods:{getI18nMessage:function(e){return window.Granite.I18n.get(e)},inputClear(title){var item=eval("this."+title);0==item.value&&(item.value=void 0)},inputRestore(title){var item=eval("this."+title);void 0==item.value&&(item.value=0)},handleValueChange:function(value,title){var tabItem=eval("this."+title);tabItem.value=value,this.calculateAll(title)},handleValuefocus:function(title){var tab=eval("this."+title.split(".")[0]),itemName=title.split(".")[1];this.inputClear(title),"density"!=itemName&&"thickness"!=itemName||(tab.weightArea.value=0,tab.weightArea.unit=WEIGHT_AREA_UNIT_OPTIONS_1[0].title,tab.weightArea.unitIndex=0,tab.weightArea.inputStyle="el-input-number-gray",tab.density.inputStyle="",tab.thickness.inputStyle=""),"weightArea"==itemName&&(tab.density.value=0,tab.density.unit=DENSITY_UNIT_OPTIONS_1[0].title,tab.density.unitIndex=0,tab.thickness.value=0,tab.thickness.unit=THICKNESS_UNIT_OPTIONS_1[0].title,tab.thickness.unitIndex=0,tab.density.inputStyle="el-input-number-gray",tab.thickness.inputStyle="el-input-number-gray",tab.weightArea.inputStyle=""),this.calculateAll(title)},handleDropdownSelectionChange:function(e,t,a,l){var n=t;this.handleSelectChange({newOpt:e,currentIndex:n,options:a},l)},handleSelectChange:function(value,title){var object=eval("this."+title),newOpt=value.newOpt,index=value.currentIndex,options=value.options;if(isNaN(index)||""==index){let e=0,t=options.length;for(let a=0;a<t;
1a++){let t=options[a];if(newOpt.id==t.id){e=a;break}}object.unitIndex=e}else object.unitIndex=index;object.unit=newOpt.title,title==this.facestock.cost.title&&("$/MSI"==this.facestock.cost.unit||"$/sq ft"==this.facestock.cost.unit||"$/sq meter"==this.facestock.cost.unit?(this.facestock.density.value=0,this.facestock.density.unit=DENSITY_UNIT_OPTIONS_1[0].title,this.facestock.density.unitIndex=0,this.facestock.density.disable=!0,this.facestock.thickness.value=0,this.facestock.thickness.unit=THICKNESS_UNIT_OPTIONS_1[0].title,this.facestock.thickness.unitIndex=0,this.facestock.thickness.disable=!0,this.facestock.weightArea.value=0,this.facestock.weightArea.unit=WEIGHT_AREA_UNIT_OPTIONS_1[0].title,this.facestock.weightArea.unitIndex=0,this.facestock.weightArea.disable=!0):(this.facestock.density.disable=!1,this.facestock.thickness.disable=!1,this.facestock.weightArea.disable=!1)),title==this.liner.cost.title&&("$/MSI"==this.liner.cost.unit||"$/sq ft"==this.liner.cost.unit||"$/sq meter"==this.liner.cost.unit?(this.liner.density.value=0,this.liner.density.unit=DENSITY_UNIT_OPTIONS_1[0].title,this.liner.density.unitIndex=0,this.liner.density.disable=!0,this.liner.thickness.value=0,this.liner.thickness.unit=THICKNESS_UNIT_OPTIONS_1[0].title,this.liner.thickness.unitIndex=0,this.liner.thickness.disable=!0,this.liner.weightArea.value=0,this.liner.weightArea.unit=WEIGHT_AREA_UNIT_OPTIONS_1[0].title,this.liner.weightArea.unitIndex=0,this.liner.weightArea.disable=!0):(this.liner.density.disable=!1,this.liner.thickness.disable=!1,this.liner.weightArea.disable=!1)),this.calculateAll(title)},handleRadioChange:function(value,title){var object=eval("this."+title);"1"==value?(object.weightArea.value=0,object.weightArea.unit=WEIGHT_AREA_UNIT_OPTIONS_1[0].title,object.weightArea.unitIndex=0):(object.density.value=0,object.density.unit=DENSITY_UNIT_OPTIONS_1[0].title,object.density.unitIndex=0,object.thickness.value=0,object.thickness.unit=THICKNESS_UNIT_OPTIONS_1[0].title,object.thickness.unitIndex=0),this.calculateAll(title)},onChangeSelectUnits:function(e){let t=this.selectUnitsOptions.length;for(let a=0;a<t;a++){let t=this.selectUnitsOptions[a];if(e.id==t.id){this.selectUnitsIndex=a;break}}this.selectUnits=e.title,this.calculateAll("all")},handleClear:function(){this.facestock.radioValue=1,this.facestock.cost.value=0,this.facestock.cost.unit=COST_UNIT_OPTIONS_1[0].title,this.facestock.cost.unitIndex=0,this.facestock.density.value=0,this.facestock.density.unit=DENSITY_UNIT_OPTIONS_1[0].title,this.facestock.density.unitIndex=0,this.facestock.thickness.value=0,this.facestock.thickness.unit=THICKNESS_UNIT_OPTIONS_1[0].title,this.facestock.thickness.unitIndex=0,this.facestock.weightArea.value=0,this.facestock.weightArea.unit=WEIGHT_AREA_UNIT_OPTIONS_1[0].title,this.facestock.weightArea.unitIndex=0,this.facestock.density.disable=!1,this.facestock.thickness.disable=!1,this.facestock.weightArea.disable=!1,this.adhesive.radioValue=1,this.adhesive.solids.value=0,this.adhesive.cost.value=0,this.adhesive.cost.unit=COST_UNIT_OPTIONS_2[0].title,this.adhesive.cost.unitIndex=0,this.adhesive.density.value=0,this.adhesive.density.unit=DENSITY_UNIT_OPTIONS_1[0].title,this.adhesive.density.unitIndex=0,this.adhesive.thickness.value=0,this.adhesive.thickness.unit=THICKNESS_UNIT_OPTIONS_2[0].title,this.adhesive.thickness.unitIndex=0,this.adhesive.weightArea.value=0,this.adhesive.weightArea.unit=WEIGHT_AREA_UNIT_OPTIONS_1[0].title,this.adhesive.weightArea.unitIndex=0,this.release.radioValue=1,this.release.solids.value=0,this.release.cost.value=0,this.release.cost.unit=COST_UNIT_OPTIONS_2[0].title,this.release.cost.unitIndex=0,this.release.density.value=0,this.release.density.unit=DENSITY_UNIT_OPTIONS_1[0].title,this.release.density.unitIndex=0,this.release.thickness.value=0,this.release.thickness.unit=THICKNESS_UNIT_OPTIONS_2[0].title,this.release.thickness.unitIndex=0,this.release.weightArea.value=0,this.release.weightArea.unit=WEIGHT_AREA_UNIT_OPTIONS_1[0].title,this.release.weightArea.unitIndex=0,this.liner.radioValue=1,this.liner.cost.value=0,this.liner.cost.unit=COST_UNIT_OPTIONS_1[0].title,this.liner.cost.unitIndex=0,this.liner.density.value=0,this.liner.density.unit=DENSITY_UNIT_OPTIONS_1[0].title,this.liner.density.unitIndex=0,this.liner.thickness.value=0,this.liner.thickness.unit=THICKNESS_UNIT_OPTIONS_2[0].title,this.liner.thickness.unitIndex=0,this.liner.weightArea.value=0,this.liner.weightArea.unit=WEIGHT_AREA_UNIT_OPTIONS_1[0].title,this.liner.weightArea.unitIndex=0,this.liner.density.disable=!1,this.liner.thickness.disable=!1,this.liner.weightArea.disable=!1,this.selectUnits=SELECT_UNITS_OPTIONS[0].title,this.selectUnitsIndex=0,this.subTotal1=0,this.subTotal2=0,this.subTotal3=0,this.subTotal4=0,this.totalCost=0},calculateAll:function(e){(e.startsWith("facestock")||e.startsWith("all"))&&(this.subTotal1=_blocks_calculator_config_formula_formula__WEBPACK_IMPORTED_MODULE_5__._.methods.subTotalCostCalculator("facestock",0,this.facestock.cost.value,this.costUnitOptions1[this.facestock.cost.unitIndex].id,this.facestock.density.value,this.densityUnitOptions1[this.facestock.density.unitIndex].id,this.facestock.thickness.value,this.thicknessUnitOptions1[this.facestock.thickness.unitIndex].id,this.facestock.weightArea.value,this.weightAreaUnitOptions1[this.facestock.weightArea.unitIndex].id,this.selectUnitsOptions[this.selectUnitsIndex].id)),(e.startsWith("adhesive")||e.startsWith("all"))&&(this.subTotal2=_blocks_calculator_config_formula_formula__WEBPACK_IMPORTED_MODULE_5__._.methods.subTotalCostCalculator("adhesive",this.adhesive.solids.value/100,this.adhesive.cost.value,this.costUnitOptions2[this.adhesive.cost.unitIndex].id,this.adhesive.density.value,this.densityUnitOptions1[this.adhesive.density.unitIndex].id,this.adhesive.thickness.value,this.thicknessUnitOptions2[this.adhesive.thickness.unitIndex].id,this.adhesive.weightArea.value,this.weightAreaUnitOptions1[this.adhesive.weightArea.unitIndex].id,this.selectUnitsOptions[this.selectUnitsIndex].id)),(e.startsWith("release")||e.startsWith("all"))&&(this.subTotal3=_blocks_calculator_config_formula_formula__WEBPACK_IMPORTED_MODULE_5__._.methods.subTotalCostCalculator("release",this.release.solids.value/100,this.release.cost.value,this.costUnitOptions2[this.release.cost.unitIndex].id,this.release.density.value,this.densityUnitOptions1[this.release.density.unitIndex].id,this.release.thickness.value,this.thicknessUnitOptions2[this.release.thickness.unitIndex].id,this.release.weightArea.value,this.weightAreaUnitOptions1[this.release.weightArea.unitIndex].id,this.selectUnitsOptions[this.selectUnitsIndex].id)),(e.startsWith("liner")||e.startsWith("all"))&&(this.subTotal4=_blocks_calculator_config_formula_formula__WEBPACK_IMPORTED_MODULE_5__._.methods.subTotalCostCalculator("liner",0,this.liner.cost.value,this.costUnitOptions1[this.liner.cost.unitIndex].id,this.liner.density.value,this.densityUnitOptions1[this.liner.density.unitIndex].id,this.liner.thickness.value,this.thicknessUnitOptions2[this.liner.thickness.unitIndex].id,this.liner.weightArea.value,this.weightAreaUnitOptions1[this.liner.weightArea.unitIndex].id,this.selectUnitsOptions[this.selectUnitsIndex].id)),isNaN(this.subTotal1)&&(this.subTotal1=0),isNaN(this.subTotal2)&&(this.subTotal2=0),isNaN(this.subTotal3)&&(this.subTotal3=0),isNaN(this.subTotal4)&&(this.subTotal4=0),this.totalCost=this.subTotal1+this.subTotal2+this.subTotal3+this.subTotal4}}}},78202:function(e,t,a){a.d(t,{_:function(){return n}});a(44114);var l=JSON.parse('{"uom-conversion-factor":{"thickness":{"microns":1,"mils":0.0393700787,"in":0.00003937,"cm":0.0001,"ft":0.0000032808,"yds":0.0000010936,"m":0.000001},"coat-weight":{"lb/ream":1,"g/sq. m":1.62747,"g/100 sq. in":0.1049982,"oz/sq. yard":0.048},"bond-force":{"oz/in":1,"lb/in":0.0625,"g/in":28.349523,"Newton/in":0.2778,"g/25 mm":27.9
10307,"g/15 mm":16.741842,"g/cm":11.161228,"Newton/cm":0.10937},"area":{"Billion sq. in (BSI)":1,"Thousand sq. in (MSI)":1000000,"sq. ft":6944444.444444,"sq. yd":771604.9382716,"sq. m":645160,"ream (3000 sq. ft)":2314.8148148,"Ream (3300 sq. ft)":2104.3771044},"weight":{"g":1,"lb":0.00220462262,"kg":0.001}},"psa-coatWeight-density":{"Acrylic PSA":{"UOM":"g/cc","value":1.04},"Vinyl Acetate":{"UOM":"g/cc","value":1.19},"Isoprene":{"UOM":"g/cc","value":0.913},"Butyl Rubber":{"UOM":"g/cc","value":0.917},"SBR, 25% Styrene":{"UOM":"g/cc","value":0.933},"PET":{"UOM":"g/cc","value":1.39},"bOPP":{"UOM":"g/cc","value":0.923},"HDPE":{"UOM":"g/cm","value":0.95},"LDPE":{"UOM":"g/cc","value":0.93}}}');const n={methods:{uomConversion(e,t,a,n){let i=0,o=l;const s=JSON.parse(JSON.stringify(o));let r=s["uom-conversion-factor"][e];return i=n/r[t]*r[a],i},temperatureConvertTo(e,t){let a=0;switch(e){case"F":a=1.8*t+32;break;case"C":a=(t-32)/1.8;break}return a},meshMicronConvertTo(e,t){let a=0;switch(e){case"micron":switch(!0){case t>8500:a=12e3/t;break;case t>4900:a=12500/t;break;case t>3650:a=14400/t;break;case t>1875:a=12500/t;break;case t>1225:a=12500/t;break;case t>912:a=14400/t;break;case t>587:a=12500/t;break;case t>475:a=13750/t;break;case t>362:a=14800/t;break;case t>297:a=14300/t;break;case t>245:a=14310/t;break;case t>215:a=14490/t;break;case t>185:a=14800/t;break;case t>155:a=14960/t;break;case t>130:a=14700/t;break;case t>110:a=15e3/t;break;case t>90:a=14900/t;break;case t>75:a=14160/t;break;case t>65:a=14700/t;break;case t>55:a=15e3/t;break;case t>47.5:a=14850/t;break;case t>42.5:a=15930/t;break;case t>37.5:a=16800/t;break;case t>32.5:a=17500/t;break;case t>29:a=17850/t;break;case t>26.5:a=19600/t;break;case t>22.5:a=17675/t;break;case t>19:a=16820/t;break;case t>17:a=18e3/t;break;case t>15:a=19040/t;break;case t>13:a=19740/t;break;case t>11:a=20160/t;break;case t>9:a=2e4/t;break;case t>7.5:a=19040/t;break;case t>6.5:a=19810/t;break;case t>5.5:a=20160/t;break;case t>4.5:a=2e4/t;break;case t>3.5:a=19040/t;break;default:a=20190/t}break;case"mesh":switch(!0){case t<1.75:a=12e3/t;break;case t<2.75:a=12500/t;break;case t<4:a=14400/t;break;case t<7.5:a=12500/t;break;case t<11:a=12500/t;break;case t<16:a=14400/t;break;case t<22:a=12500/t;break;case t<32:a=13750/t;break;case t<40:a=14800/t;break;case t<49:a=14300/t;break;case t<58:a=14310/t;break;case t<68:a=14490/t;break;case t<82:a=14800/t;break;case t<97:a=14960/t;break;case t<115:a=14700/t;break;case t<137:a=15e3/t;break;case t<165:a=14900/t;break;case t<190:a=14160/t;break;case t<230:a=14700/t;break;case t<274:a=15e3/t;break;case t<330:a=14850/t;break;case t<390:a=15930/t;break;case t<460:a=16800/t;break;case t<550:a=17500/t;break;case t<650:a=17850/t;break;case t<704:a=19600/t;break;case t<770:a=17675/t;break;case t<925:a=16820/t;break;case t<1100:a=18e3/t;break;case t<1300:a=19040/t;break;case t<1500:a=19740/t;break;case t<1840:a=20160/t;break;case t<2190:a=2e4/t;break;case t<2650:a=19040/t;break;case t<3e3:a=19810/t;break;case t<3700:a=20160/t;break;case t<4400:a=2e4/t;break;case t<5700:a=19040/t;break;default:a=20190/t}break}return a},subTotalCostCalculator(e,t,a,l,n,i,o,s,r,c,u){let d=0,h=0;if("facestock"===e||"liner"===e)switch(l){case"$/MSI":switch(u){case"$/MSI":d=a;break;case"$/sq. ft":d=a/this.uomConversion("area","Thousand sq. in (MSI)","sq. ft",1);break;case"$/sq. meter":d=a/this.uomConversion("area","Thousand sq. in (MSI)","sq. m",1);break}break;case"$/sq. ft":switch(u){case"$/MSI":d=a*this.uomConversion("area","Thousand sq. in (MSI)","sq. ft",1);break;case"$/sq. ft":d=a;break;case"$/sq. meter":d=a/this.uomConversion("area","sq. ft","sq. m",1);break}break;case"$/sq. meter":switch(u){case"$/MSI":d=a*this.uomConversion("area","Thousand sq. in (MSI)","sq. m",1);break;case"$/sq. ft":d=a*this.uomConversion("area","sq. ft","sq. m",1);break;case"$/sq. meter":d=a;break}break;default:switch(h=this.unitCostValPerMSICalculator(l,a,r,c,n,i,o,s),u){case"$/MSI":d=h;break;case"$/sq. ft":d=h/this.uomConversion("area","Thousand sq. in (MSI)","sq. ft",1);break;case"$/sq. meter":d=h/this.uomConversion("area","Thousand sq. in (MSI)","sq. m",1);break}}else switch(h=this.unitCostValPerMSICalculator(l,a,r,c,n,i,o,s)/t,u){case"$/MSI":d=h;break;case"$/sq. ft":d=h/this.uomConversion("area","Thousand sq. in (MSI)","sq. ft",1);break;case"$/sq. meter":d=h/this.uomConversion("area","Thousand sq. in (MSI)","sq. m",1);break}return d},unitCostValPerMSICalculator(e,t,a,l,n,i,o,s){let r=0,c=0,u=0,d=0,h=0;switch(e){case"$/lb":r=t/this.uomConversion("weight","lb","g",1);break;case"$/kg":r=t/this.uomConversion("weight","kg","g",1);break}if(a)switch(l){case"lb/ream":c=a*this.uomConversion("weight","lb","g",1)/this.uomConversion("area","ream (3000 sq. ft)","sq. m",1);break;case"lb/Ream":c=a*this.uomConversion("weight","lb","g",1)/this.uomConversion("area","Ream (3300 sq. ft)","sq. m",1);break;case"g/sq. m":c=a;break}else{switch(i){case"g/cubic centimeter":d=1e6*n;break;case"kg/cubic meter":d=1e3*n;break}switch(s){case"mils":h=o*this.uomConversion("thickness","mils","microns",1);break;case"microns":h=o;break;case"gauge":h=2540*o;break}c=d*h/1e6}return u=r*c/this.uomConversion("area","sq. m","Thousand sq. in (MSI)",1),u},unitDryValPerGCalculator(e,t,a,l,n,i){let o=0,s=0,r=0,c=0,u=0;if(l>0)switch(n){case"g/100 sq. in":o=l*this.uomConversion("coat-weight","g/100 sq. in","g/sq. m",1);break;case"oz/sq. yard":o=l*this.uomConversion("coat-weight","oz/sq. yard","g/sq. m",1);break;case"lb/ream":o=l*this.uomConversion("coat-weight","lb/ream","g/sq. m",1);break;case"g/sq. m":o=l;break}if(t>0)switch(a){case"MSI":s=t*this.uomConversion("area","Thousand sq. in (MSI)","sq. m",1);break;case"sq. ft":s=t*this.uomConversion("area","sq. ft","sq. m",1);break;case"sq. yd":s=t*this.uomConversion("area","sq. yd","sq. m",1);break;case"sq. m":s=t;break;case"ream (3000 sq. ft)":s=t*this.uomConversion("area","ream (3000 sq. ft)","sq. m",1);break;case"Ream (3300 sq. ft)":s=t*this.uomConversion("area","Ream (3300 sq. ft)","sq. m",1);break;default:break}r=o*s,u=this.unitDryValueConvert(r,e).toFixed(1),""!=i&&0!=i&&(c=(u/i*100).toFixed(1));var d=new Array;return d.push(u),d.push(c),d},unitDryValueConvert(e,t){let a=0;switch(t){case"lb":a=e*this.uomConversion("weight","g","lb",1);break;case"kg":a=e*this.uomConversion("weight","g","kg",1);break}return a}}}},79141:function(e,t,a){a(49671)},88196:function(e,t,a){a.r(t),a.d(t,{default:function(){return p}});var l=a(77962),n=(a(49671),a(86839),a(66810)),i=(a(44946),a(79141),a(70683)),o=(a(20562),a(64418)),s=(a(30080),a(77001));const r={class:"psa-calculator-usage"};function c(e,t,a,c,u,d){const h=(0,s.resolveComponent)("CalculatorInputNumberUnit"),p=o.S2,m=i.Ik,v=n.ll,f=n.MQ,b=l.uD,g=(0,s.resolveComponent)("CalculatorInputNumber"),_=(0,s.resolveComponent)("helpCalculator");return(0,s.openBlock)(),(0,s.createBlock)(s.Teleport,{to:"#psaCalculatorUsage"},[(0,s.createElementVNode)("div",r,[(0,s.createVNode)(m,{class:"el-row-box"},{default:(0,s.withCtx)(()=>[(0,s.createVNode)(p,{id:"el-row-box-rollarea",style:{"z-index":"6"}},{default:(0,s.withCtx)(()=>[(0,s.createVNode)(h,{value:e.rollArea.value,title:e.rollAreaTitleI18
1n,precision:e.decimalPrecision,onDataChanged:t[0]||(t[0]=t=>d.handleChange(t,e.rollArea.title)),dropdownBarType:e.rollArea.title,options:d.rollAreaUnitOptions,currentSelectionIndex:e.rollArea.unitIndex,onSelectionChanged:t[1]||(t[1]=t=>d.handleSelectChange(t,e.rollArea.title))},null,8,["value","title","precision","dropdownBarType","options","currentSelectionIndex"])]),_:1}),(0,s.createVNode)(p,{id:"el-row-box-coatweight",style:{"z-index":"5"}},{default:(0,s.withCtx)(()=>[(0,s.createVNode)(h,{value:e.coatWeight.value,title:e.costWeightTitleI18n,precision:e.decimalPrecision,onDataChanged:t[2]||(t[2]=t=>d.handleChange(t,e.coatWeight.title)),dropdownBarType:e.coatWeight.title,options:d.costWeightUnitOptions,currentSelectionIndex:e.coatWeight.unitIndex,onSelectionChanged:t[3]||(t[3]=t=>d.handleSelectChange(t,e.coatWeight.title))},null,8,["value","title","precision","dropdownBarType","options","currentSelectionIndex"])]),_:1}),(0,s.createVNode)(p,{id:"el-row-box-solid"},{default:(0,s.withCtx)(()=>[(0,s.createVNode)(h,{value:e.solids.value,title:e.solidsTitleI18n,precision:e.decimalPrecision,onDataChanged:t[4]||(t[4]=t=>d.handleChange(t,e.solids.title)),unitVisible:!1},null,8,["value","title","precision"])]),_:1})]),_:1}),(0,s.createVNode)(m,{class:"el-row-box"},{default:(0,s.withCtx)(()=>[(0,s.createVNode)(p,null,{default:(0,s.withCtx)(()=>[(0,s.createVNode)(b,null,{default:(0,s.withCtx)(()=>[(0,s.createVNode)(f,{modelValue:e.radio.value,"onUpdate:modelValue":t[5]||(t[5]=t=>e.radio.value=t),onChange:t[6]||(t[6]=e=>d.handleRadioChange(e,"radio"))},{default:(0,s.withCtx)(()=>[(0,s.createVNode)(v,{class:"el-radio-1",label:1,border:""},{default:(0,s.withCtx)(()=>[(0,s.createTextVNode)((0,s.toDisplayString)(d.getI18nMessage("radio.Title1")),1)]),_:1}),(0,s.createVNode)(v,{class:"el-radio-2",label:2,border:""},{default:(0,s.withCtx)(()=>[(0,s.createTextVNode)((0,s.toDisplayString)(d.getI18nMessage("radio.Title2")),1)]),_:1})]),_:1},8,["modelValue"])]),_:1}),(0,s.createVNode)(b,{class:"hidden-xs-only el-col-pc-number"},{default:(0,s.withCtx)(()=>[(0,s.createVNode)(h,{value:e.dry.value,title:e.dryTitleI18n,onDataChanged:t[7]||(t[7]=t=>d.handleChange(t,e.dry.title)),precision:e.decimalPrecision,unitVisible:!1},null,8,["value","title","precision"])]),_:1}),(0,s.createVNode)(b,{class:"hidden-xs-only el-col-pc-number"},{default:(0,s.withCtx)(()=>[(0,s.createVNode)(h,{value:e.wet.value,title:e.wetTitleI18n,onDataChanged:t[8]||(t[8]=t=>d.handleChange(t,e.wet.title)),precision:e.decimalPrecision,unitVisible:!1},null,8,["value","title","precision"])]),_:1}),(0,s.createVNode)(b,{span:24,class:"hidden-sm-and-up el-col-mobile-dopdown"},{default:(0,s.withCtx)(()=>[(0,s.createVNode)(g,{title:e.dryTitleI18n,value:e.dry.value,precision:e.decimalPrecision,onDataChanged:t[9]||(t[9]=t=>d.handleChange(t,e.dry.title))},null,8,["title","value","precision"])]),_:1}),(0,s.createVNode)(b,{span:24,class:"hidden-sm-and-up el-col-mobile-dopdown"},{default:(0,s.withCtx)(()=>[(0,s.createVNode)(g,{title:e.wetTitleI18n,value:e.wet.value,precision:e.decimalPrecision,onDataChanged:t[10]||(t[10]=t=>d.handleChange(t,e.wet.title))},null,8,["title","value","precision"])]),_:1})]),_:1})]),_:1}),(0,s.createVNode)(m,{class:"el-row-box-button",shadow:"never"},{default:(0,s.withCtx)(()=>[(0,s.createVNode)(p,{gutter:20,type:"flex",style:{"align-items":"center"}},{default:(0,s.withCtx)(()=>[(0,s.createVNode)(b,{span:12},{default:(0,s.withCtx)(()=>[(0,s.createElementVNode)("button",{class:"btn btn-default btn-primary btn-psaCalculator",onClick:t[11]||(t[11]=(...e)=>d.clearAllValues&&d.clearAllValues(...e))},(0,s.toDisplayString)(d.getI18nMessage("clear.all.Title")),1)]),_:1}),(0,s.createVNode)(b,{span:12},{default:(0,s.withCtx)(()=>[(0,s.createVNode)(_,{class:"help-psaCalculator",helpTitle:"help.calculator.usage.title",helpParagraph:e.helpParagraph,helpCalculatorNotification:"psa-usage-helpCalculator-notification"},null,8,["helpParagraph"])]),_:1})]),_:1})]),_:1})])])}var u=a(5293),d=a(71786);const h=(0,d.A)(u.A,[["render",c]]);var p=h},93516:function(e,t,a){var l=a(39078);function n(e,t){var a=t?(0,l.A)(e.buffer):e.buffer;return new e.constructor(a,e.byteOffset,e.length)}t.A=n},96139:function(e,t,a){a.d(t,{CW:function(){return i}});a(44114);var l=a(77001),n=a(24232);const i=e=>{const t=(0,n.cy)(e)?e:[e],a=[];
1return t.forEach(e=>{var t;(0,n.cy)(e)?a.push(...i(e)):(0,l.isVNode)(e)&&(null==(t=e.component)?void 0:t.subTree)?a.push(e,...i(e.component.subTree)):(0,l.isVNode)(e)&&(0,n.cy)(e.children)?a.push(...i(e.children)):(0,l.isVNode)(e)&&2===e.shapeFlag?a.push(...i(e.type())):a.push(e)}),a}}}]); 2//# sourceMappingURL=clientlib-dependencies/resources/area.e208da6312ae8709.js.map
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.