(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["survey"],{"0a06":function(e,t,n){"use strict";var r=n("c532"),o=n("30b5"),i=n("f6b4"),s=n("5270"),a=n("4a7b");function l(e){this.defaults=e,this.interceptors={request:new i,response:new i}}l.prototype.request=function(e){"string"===typeof e?(e=arguments[1]||{},e.url=arguments[0]):e=e||{},e=a(this.defaults,e),e.method?e.method=e.method.toLowerCase():this.defaults.method?e.method=this.defaults.method.toLowerCase():e.method="get";var t=[s,void 0],n=Promise.resolve(e);this.interceptors.request.forEach((function(e){t.unshift(e.fulfilled,e.rejected)})),this.interceptors.response.forEach((function(e){t.push(e.fulfilled,e.rejected)}));while(t.length)n=n.then(t.shift(),t.shift());return n},l.prototype.getUri=function(e){return e=a(this.defaults,e),o(e.url,e.params,e.paramsSerializer).replace(/^\?/,"")},r.forEach(["delete","get","head","options"],(function(e){l.prototype[e]=function(t,n){return this.request(a(n||{},{method:e,url:t,data:(n||{}).data}))}})),r.forEach(["post","put","patch"],(function(e){l.prototype[e]=function(t,n,r){return this.request(a(r||{},{method:e,url:t,data:n}))}})),e.exports=l},"0df6":function(e,t,n){"use strict";e.exports=function(e){return function(t){return e.apply(null,t)}}},1571:function(e,t,n){(function(t,r){e.exports=r(n("2526"),n("e9fa"),n("aa47"),n("3a2b"))})("undefined"!==typeof self&&self,(function(e,t,n,r){return function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{configurable:!1,enumerable:!0,get:r})},n.n=function(e){var t=e&&e.__esModule?function(){return e["default"]}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=21)}([function(e,t,n){"use strict";function r(e){return"string"===typeof e?(e||"").replace(/(['])/g,"\\$1"):e}function o(e,t){t=t||window.$;var n={className:"iradio_square-blue",checkboxClass:"iradio_square-blue",radioClass:"iradio_square-blue",name:"icheck",widgetIsLoaded:function(){return"function"==typeof t&&!!t.fn.iCheck},isFit:function(e){var t=e.getType();return"radiogroup"===t||"checkbox"===t||"matrix"===t},isDefaultRender:!0,afterRender:function(e,n){var o=this,i=t(n);function s(e,t){if(!Array.isArray(e))return-1;for(var n=0;n=0&&(n.splice(r,1),e.value=n)}}))};function u(e){e.iCheck("uncheck"),e[0].parentElement.classList.remove("checked")}var c=function(){if(a=!0,"matrix"!==e.getType()){var o=e.value;if(Array.isArray(o)||(o=[o]),"checkbox"==e.getType()){var l=e.value;e.visibleChoices.forEach((function(e){var t=i.find("input[value='"+r(e.value)+"']");if(t){var n=s(l,e.value)>-1;if(n)t.iCheck("check");else{var o=t[0],a=!!o["checked"];a&&(t.removeAttr("checked"),t.parent().hasClass("checked")?u(t):setTimeout((function(){u(t)})))}}}))}else o.forEach((function(e){i.find("input[value='"+r(e)+"']").iCheck("check")}))}else e.generatedVisibleRows.forEach((function(e,o,i){e.value&&t(n).find("input[name='"+e.fullName+"'][value='"+r(e.value)+"']").iCheck("check")}));a=!1};l(),e.visibleChoicesChangedCallback=function(){l(),i.find(".sv-item__decorator").hide()},e.valueChangedCallback=c,c()},willUnmount:function(e,n){var r=t(n);r.find("input").iCheck("destroy"),e.visibleChoicesChangedCallback=null}};e.JsonObject.metaData.addProperty("radiogroup",{name:"radioClass",category:"general"}),e.JsonObject.metaData.addProperty("checkbox",{name:"checkboxClass",category:"general"}),e.CustomWidgetCollection.Instance.addCustomWidget(n,"type")}Object.defineProperty(t,"__esModule",{value:!0}),"undefined"!==typeof Survey&&o(Survey,window.$),t["default"]=o},function(e,t,n){"use strict";function r(e,t){t=t||window.$;var n={activatedBy:"property",name:"select2",widgetIsLoaded:function(){return"function"==typeof t&&!!t.fn.select2},isFit:function(e){return"property"==n.activatedBy?"select2"===e["renderAs"]&&"dropdown"===e.getType():"type"==n.activatedBy?"dropdown"===e.getType():"customtype"==n.activatedBy&&"select2"===e.getType()},activatedByChanged:function(t){this.widgetIsLoaded()&&(n.activatedBy=t,e.JsonObject.metaData.removeProperty("dropdown","renderAs"),"property"==t&&(e.JsonObject.metaData.addProperty("dropdown",{name:"renderAs",category:"general",default:"default",choices:["select2","default"]}),e.JsonObject.metaData.addProperty("dropdown",{dependsOn:"renderAs",category:"general",name:"select2Config",visibleIf:function(e){return"select2"==e.renderAs}})),"customtype"==t&&(e.JsonObject.metaData.addClass("select2",[],null,"dropdown"),e.JsonObject.metaData.addProperty("select2",{name:"select2Config",category:"general",default:null})))},htmlTemplate:"
",afterRender:function(e,n){var r=e.select2Config,o=r&&"string"==typeof r?JSON.parse(r):r;o||(o={});var i=t(n).is("select")?t(n):t(n).find("select"),s=t(n).find("textarea");s.addClass(e.cssClasses.other),s.bind("input propertychange",(function(){l||(e.comment=s.val())}));var a=function(){s.val(e.comment),e.isOtherSelected?s.show():s.hide()},l=!1,u=function(){if(!l){if(l=!0,i.find("option[value='"+(e.value||"")+"']").length)i.val(e.value).trigger("change");else if(null!==e.value&&void 0!==e.value){var t=new Option(e.value,e.value,!0,!0);i.append(t).trigger("change")}a(),l=!1}},c=function(){if(i.select2().empty(),!o.placeholder&&e.showOptionsCaption&&(o.placeholder=e.optionsCaption,o.allowClear=!0),o.theme||(o.theme="classic"),o.disabled=e.isReadOnly,o.ajax)i.select2(o),e.keepIncorrectValues=!0;else{var t=[];(o.placeholder||e.showOptionsCaption)&&t.push({id:"",text:""}),o.data=t.concat(e.visibleChoices.map((function(e){return{id:e.value,text:e.text}}))),e.clearIncorrectValues(),i.select2(o)}n.querySelector(".select2")&&(n.querySelector(".select2").style.width="100%"),n.nextElementSibling&&(n.nextElementSibling.style.marginBottom="1px"),u()};s.prop("disabled",e.isReadOnly),e.readOnlyChangedCallback=function(){i.prop("disabled",e.isReadOnly),s.prop("disabled",e.isReadOnly)},e.registerFunctionOnPropertyValueChanged("visibleChoices",(function(){c()})),c(),i.on("select2:select",(function(t){setTimeout((function(){e.renderedValue=t.target.value,a()}),1)})),i.on("select2:opening",(function(e){t(this).data("unselecting")&&(t(this).removeData("unselecting"),e.preventDefault())})),i.on("select2:unselecting",(function(n){t(this).data("unselecting",!0),setTimeout((function(){e.renderedValue=null,a()}),1)})),e.valueChangedCallback=u,u()},willUnmount:function(e,n){e.readOnlyChangedCallback=null,e.valueChangedCallback=null;var r=t(n).find("select");r.data("select2")&&r.off("select2:select").off("select2:unselecting").off("select2:opening").select2("destroy")}};e.CustomWidgetCollection.Instance.addCustomWidget(n)}Object.defineProperty(t,"__esModule",{value:!0}),"undefined"!==typeof Survey&&r(Survey,window.$),t["default"]=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(3),o=n.n(r);function i(e){var t={name:"maskedit",numericGroupSeparator:",",numericAutoGroup:!0,numericDigits:2,numericDigitsOptional:!1,numericPlaceholder:"0",autoUnmask:!0,clearIncomplete:!0,widgetIsLoaded:function(){return"undefined"!=typeof o.a},isFit:function(e){return"multipletext"==e.getType()||"text"==e.getType()&&("none"!=e.inputMask||e.inputFormat)},isDefaultRender:!0,activatedByChanged:function(t){if(!e.JsonObject.metaData.findProperty("text","inputMask")){var n=[{name:"autoUnmask:boolean",category:"general",default:!0},{name:"clearIncomplete:boolean",category:"general",default:!0},{name:"inputFormat",category:"general"},{name:"inputMask",category:"general",default:"none",choices:["none","datetime","currency","decimal","email","phone","ip"]},{name:"numericDigits",category:"general",visible:!1},{name:"options",category:"general",visible:!1},{name:"prefix",category:"general",visible:!1},{name:"suffix",category:"general",visible:!1}];e.JsonObject.metaData.addProperties("text",n),e.JsonObject.metaData.addProperties("matrixdropdowncolumn",n),e.JsonObject.metaData.addProperties("multipletextitem",n)}},applyInputMask:function(e,t){var n=this,r="none"!==e.inputMask?e.inputMask:e.inputFormat,i={};if("object"===typeof e.options)for(var s in e.options)i[s]=e.options[s];i.autoUnmask="undefined"!==typeof e.autoUnmask?e.autoUnmask:n.autoUnmask,i.clearIncomplete="undefined"!==typeof e.clearIncomplete?e.clearIncomplete:n.clearIncomplete,"none"!==e.inputMask&&(i.inputFormat=e.inputFormat),"currency"!==e.inputMask&&"decimal"!==e.inputMask||(i.groupSeparator=n.numericGroupSeparator,i.autoGroup=n.numericAutoGroup),"currency"===e.inputMask&&(i.digits=e.numericDigits||n.numericDigits,i.digitsOptional=n.numericDigitsOptional,i.prefix=e.prefix||"",i.suffix=e.suffix||"",i.placeholder=n.numericPlaceholder),"phone"===e.inputMask&&e.inputFormat&&(r=e.inputFormat),o()(r,i).mask(t),t.onblur=function(){t.inputmask&&e.value===t.inputmask.getemptymask()&&(e.value="")};var a="multipletextitem"===e.getType()?e.editorValue.customWidgetData:e.customWidgetData;t.oninput=function(){a.isNeedRender=!0};var l=function(){t.inputmask&&(t.inputmask.isComplete()?e.value=i.autoUnmask?t.inputmask.unmaskedvalue():t.value:e.value=null)};t.onfocusout=t.onchange=l;var u=function(){t.value=void 0===e.value||null===e.value?"":e.value};e.valueChangedCallback=u,u()},afterRender:function(e,t){if("multipletext"!=e.getType()){var n=t.querySelector("input")||t;this.applyInputMask(e,n)}else for(var r=0;r"),e.visibleChoices.forEach((function(e){r.append(''.format(e.value,e.text))})),o=t(i).find('[id="{0}"]'.format(e.inputId)),o.css("display","none"),o.after(r),r[0].selectedIndex=-1},a=function(){o.css("display",""),r.barrating("destroy"),r.remove()},l=function(){r.barrating("show",{theme:e.ratingTheme,initialRating:e.value,showValues:e.showValues,showSelectedRating:!1,readonly:e.isReadOnly,onSelect:function(t,n){u=!0,e.value=t,u=!1}})};s(),l(),r.parents()[0]&&(r.parents()[0].style.marginBottom="3px");var u=!1;e.valueChangedCallback=function(){u||t(i).find("select.sv-widget-select")[0].value===e.value||t(i).find("select.sv-widget-select").barrating("set",e.value)},e.__barratingOnPropertyChangedCallback=function(e,t){"ratingTheme"==t.name&&(r.barrating("destroy"),l())},e.onPropertyChanged.add(e.__barratingOnPropertyChangedCallback),e.readOnlyChangedCallback=function(){a(),s(),l()},e.visibleChoicesChangedCallback=function(){l()}},willUnmount:function(e,n){var r=t(n).is("select")?t(n).parent().parent():t(n).parent(),o=r.find("select.sv-widget-select");o.barrating("destroy"),o.remove(),e.valueChangedCallback=void 0,e.onPropertyChanged.remove(e.__barratingOnPropertyChangedCallback),e.__barratingOnPropertyChangedCallback=void 0},pdfQuestionType:"dropdown"};e.CustomWidgetCollection.Instance.addCustomWidget(n,"customtype")}Object.defineProperty(t,"__esModule",{value:!0}),"undefined"!==typeof Survey&&r(Survey,window.$),t["default"]=r},function(e,t,n){"use strict";function r(e,t){t=t||window.$,t&&!t.fn.bootstrapDP&&t.fn.datepicker&&t.fn.datepicker.noConflict&&(t.fn.bootstrapDP=t.fn.datepicker.noConflict(),t.fn.datepicker||(t.fn.datepicker=t.fn.bootstrapDP));var n={name:"datepicker",title:"Date picker",iconName:"icon-datepicker",widgetIsLoaded:function(){return!!t&&!!t.fn.datepicker&&!t.fn.datepicker.noConflict},isFit:function(e){return"datepicker"===e.getType()},htmlTemplate:"",activatedByChanged:function(t){e.JsonObject.metaData.addClass("datepicker",[{name:"inputType",visible:!1},{name:"inputFormat",visible:!1},{name:"inputMask",visible:!1}],null,"text"),e.JsonObject.metaData.addProperty("datepicker",{name:"dateFormat",category:"general"}),e.JsonObject.metaData.addProperty("datepicker",{name:"config",category:"general",visible:!1,default:null}),e.JsonObject.metaData.addProperty("datepicker",{name:"maxDate",category:"general"}),e.JsonObject.metaData.addProperty("datepicker",{name:"minDate",category:"general"})},afterRender:function(e,n){var r=t(n).is(".widget-datepicker")?t(n):t(n).find(".widget-datepicker");r.addClass(e.css.text.root);var o=!1,i=t.extend(!0,{},e.config||{});e.placeHolder&&r.attr("placeholder",e.placeHolder),void 0===i.dateFormat&&(i.dateFormat=e.dateFormat?e.dateFormat:void 0),void 0===i.option&&(i.option={minDate:null,maxDate:null}),e.minDate&&(i.minDate=e.minDate),e.maxDate&&(i.maxDate=e.maxDate),e.renderedMin&&(i.minDate=e.renderedMin),e.renderedMax&&(i.maxDate=e.renderedMax),i.disabled=e.isReadOnly,void 0===i.onSelect&&(i.onSelect=function(t){o=!0,e.value=t,o=!1,this.fixFocusIE=!0}),i.fixFocusIE=!1,i.onClose=function(e,t){this.fixFocusIE=!0},i.beforeShow=function(e,t){var n=!navigator.userAgent.match(/Trident\/7\./)||!this.fixFocusIE;return this.fixFocusIE=!1,n};var s=r.datepicker(i);function a(){e.value?s.datepicker("setDate",e.value):s.datepicker("setDate",null)}r.keyup((function(e){8!=e.keyCode&&46!=e.keyCode||t.datepicker._clearDate(this)})),e.readOnlyChangedCallback=function(){r.datepicker("option","disabled",e.isReadOnly)},e.registerFunctionOnPropertyValueChanged("dateFormat",(function(){e.dateFormat&&s.datepicker("option","dateFormat",e.dateFormat),a()})),e.valueChangedCallback=function(){o||(a(),r.blur())},e.valueChangedCallback()},willUnmount:function(e,n){var r=t(n).is(".widget-datepicker")?t(n):t(n).find(".widget-datepicker");r.datepicker("destroy")},pdfQuestionType:"text"};e.matrixDropdownColumnTypes.datepicker={properties:["placeHolder"]},e.CustomWidgetCollection.Instance.addCustomWidget(n,"customtype")}Object.defineProperty(t,"__esModule",{value:!0}),"undefined"!==typeof Survey&&r(Survey,window.$),t["default"]=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(7),o=n.n(r);function i(e){var t={name:"nouislider",title:"noUiSlider",iconName:"icon-nouislider",widgetIsLoaded:function(){return"undefined"!=typeof o.a},isFit:function(e){return"nouislider"===e.getType()},htmlTemplate:"
",activatedByChanged:function(t){e.JsonObject.metaData.addClass("nouislider",[],null,"empty"),e.JsonObject.metaData.addProperties("nouislider",[{name:"step:number",category:"slider",categoryIndex:1,default:1},{name:"rangeMin:number",category:"slider",default:0},{name:"rangeMax:number",category:"slider",default:100},{name:"pipsMode",category:"slider",default:"positions"},{name:"pipsValues:itemvalues",category:"slider",default:[0,25,50,75,100]},{name:"pipsText:itemvalues",category:"slider",default:[0,25,50,75,100]},{name:"pipsDensity:number",category:"slider",default:5},{name:"orientation",category:"slider",default:"horizontal",choices:["horizontal","vertical"]},{name:"direction:string",category:"slider",default:"ltr"},{name:"tooltips:boolean",category:"slider",default:!0}])},afterRender:function(e,t){t.style.paddingBottom="19px",t.style.paddingLeft="20px",t.style.paddingRight="20px",t.style.paddingTop="44px",t=t.children[0],t.style.marginBottom="60px","vertical"===e.orientation&&(t.style.height="250px");var n=o.a.create(t,{start:e.value||(e.rangeMin+e.rangeMax)/2,connect:[!0,!1],step:e.step,tooltips:e.tooltips,pips:{mode:e.pipsMode||"positions",values:e.pipsValues.map((function(e){var t=e;return void 0!==e.value&&(t=e.value),parseInt(t)})),density:e.pipsDensity||5,format:{to:function(t){var n=t;return e.pipsText.map((function(e){void 0!==e.text&&t===e.value&&(n=e.text)})),n}}},range:{min:e.rangeMin,max:e.rangeMax},orientation:e.orientation,direction:e.direction});n.on("change",(function(){e.value=Number(n.get())}));var r=function(){n.set(e.value)};e.isReadOnly&&t.setAttribute("disabled",!0),r(),e.noUiSlider=n,e.valueChangedCallback=r,e.readOnlyChangedCallback=function(){e.isReadOnly?t.setAttribute("disabled",!0):t.removeAttribute("disabled")}},willUnmount:function(e,t){e.noUiSlider&&(e.noUiSlider.destroy(),e.noUiSlider=null),e.readOnlyChangedCallback=null},pdfRender:function(e,t){if("nouislider"===t.question.getType()){var n=t.module.SurveyHelper.createPoint(t.module.SurveyHelper.mergeRects.apply(null,t.bricks));n.xLeft+=t.controller.unitWidth,n.yTop+=t.controller.unitHeight*t.module.FlatQuestion.CONTENT_GAP_VERT_SCALE;var r=t.module.SurveyHelper.createTextFieldRect(n,t.controller),o=new t.module.TextFieldBrick(t.question,t.controller,r,!0,t.question.id,t.question.value||t.question.defaultValue||"","",t.question.isReadOnly,!1,"text");t.bricks.push(o)}}};e.CustomWidgetCollection.Instance.addCustomWidget(t,"customtype")}"undefined"!==typeof Survey&&i(Survey),t["default"]=i},function(e,n){e.exports=t},function(e,t,n){"use strict";function r(e,t){t=t||window.$;var n={name:"tagbox",title:"Tag box",iconName:"icon-tagbox",widgetIsLoaded:function(){return"function"==typeof t&&!!t.fn.select2},defaultJSON:{choices:["Item 1","Item 2","Item 3"]},htmlTemplate:"
",isFit:function(e){return"tagbox"===e.getType()},activatedByChanged:function(t){e.JsonObject.metaData.addClass("tagbox",[{name:"hasOther:boolean",visible:!1},{name:"hasSelectAll:boolean",visible:!1},{name:"hasNone:boolean",visible:!1},{name:"otherText",visible:!1},{name:"selectAllText",visible:!1},{name:"noneText",visible:!1}],null,"checkbox"),e.JsonObject.metaData.addProperty("tagbox",{name:"select2Config",category:"general",default:null}),e.JsonObject.metaData.addProperty("tagbox",{name:"placeholder",category:"general",default:""}),e.JsonObject.metaData.addProperty("tagbox",{name:"allowAddNewTag:boolean",category:"general",default:!1}),e.matrixDropdownColumnTypes.tagbox={properties:["choices","choicesOrder","choicesByUrl","optionsCaption","otherText","choicesVisibleIf"]}},fixStyles:function(e){e.parentElement.querySelector(".select2-search__field").style.border="none"},afterRender:function(e,n){var r=this,o=e.select2Config,i=o&&"string"==typeof o?JSON.parse(o):o,s=t(n).is("select")?t(n):t(n).find("select");r.willUnmount(e,n),i||(i={}),i.placeholder=e.placeholder,i.tags=e.allowAddNewTag,i.disabled=e.isReadOnly,i.theme="classic",e.maxSelectedChoices&&(i.maximumSelectionLength=e.maxSelectedChoices),s.select2(i);var a=t(n).find("textarea");e.survey&&e.survey.css&&e.survey.css.checkbox&&a.addClass(e.survey.css.checkbox.other),a.bind("input propertychange",(function(){e.comment=a.val()}));var l=function(){a.val(e.comment),e.isOtherSelected?a.show():a.hide()};r.fixStyles(n);var u=function(){e.hasSelectAll&&e.isAllSelected?s.val([e.selectAllItemValue.value].concat(e.value)).trigger("change"):s.val(e.value).trigger("change"),r.fixStyles(n),l()},c=function(){s.select2().empty(),i.ajax||(i.data=e.visibleChoices.map((function(e){return{id:e.value,text:e.text}}))),s.select2(i),u()},d=function(t){return e.hasSelectAll&&t===e.selectAllItemValue.value};e._propertyValueChangedFnSelect2=function(){c()},a.prop("disabled",e.isReadOnly),e.readOnlyChangedCallback=function(){s.prop("disabled",e.isReadOnly),a.prop("disabled",e.isReadOnly)},e.registerFunctionOnPropertyValueChanged("visibleChoices",e._propertyValueChangedFnSelect2),e.valueChangedCallback=u,s.on("select2:select",(function(t){d(t.params.data.id)?e.selectAll():e.value=(e.value||[]).concat(t.params.data.id),l()})),s.on("select2:unselect",(function(t){var n=(e.value||[]).indexOf(t.params.data.id);if(d(t.params.data.id))e.clearValue();else if(-1!==n){var r=[].concat(e.value);r.splice(n,1),e.value=r}l()})),c()},willUnmount:function(e,n){if(e._propertyValueChangedFnSelect2){var r=t(n).find("select");r.data("select2")&&r.off("select2:select").select2("destroy"),e.readOnlyChangedCallback=null,e.valueChangedCallback=null,e.unRegisterFunctionOnPropertyValueChanged("visibleChoices",e._propertyValueChangedFnSelect2),e._propertyValueChangedFnSelect2=void 0}},pdfQuestionType:"checkbox"};e.CustomWidgetCollection.Instance.addCustomWidget(n,"customtype")}Object.defineProperty(t,"__esModule",{value:!0}),"undefined"!==typeof Survey&&r(Survey,window.$),t["default"]=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(10),o=n.n(r);function i(e){var t={name:"sortablelist",title:"Sortable list",iconName:"icon-sortablejs",widgetIsLoaded:function(){return"undefined"!=typeof o.a},defaultJSON:{choices:["Item 1","Item 2","Item 3"]},rootStyle:"width:100%:",areaStyle:"border: 1px solid #1ab394; width:100%; min-height:50px; margin-top:10px;",itemStyle:"background-color:#1ab394;color:#fff;margin:5px;padding:10px;",isFit:function(e){return"sortablelist"===e.getType()},htmlTemplate:"
",activatedByChanged:function(t){e.JsonObject.metaData.addClass("sortablelist",[{name:"hasOther",visible:!1},{name:"storeOthersAsComment",visible:!1},{name:"hasNone",visible:!1},{name:"renderAs",visible:!1},{name:"checkboxClass",visible:!1},{name:"hasSelectAll",visible:!1},{name:"noneText",visible:!1},{name:"selectAllText",visible:!1}],null,"checkbox"),e.JsonObject.metaData.addProperty("sortablelist",{name:"emptyText",default:"Move items here.",category:"general"}),e.JsonObject.metaData.addProperty("sortablelist",{name:"useDefaultTheme:switch",default:!0,category:"general"}),e.JsonObject.metaData.addProperty("sortablelist",{name:"maxAnswersCount:number",default:-1,category:"general"})},afterRender:function(t,n){var r,i,s=this;t.useDefaultTheme||(s.rootStyle="",s.itemStyle="",s.areaStyle=""),n.style.cssText=s.rootStyle,n.className="sjs-sortablejs-root";var a=document.createElement("div"),l=document.createElement("span"),u=document.createElement("div");a.style.cssText=s.areaStyle,a.style.boxSizing="border-box",a.className="sjs-sortablejs-result",l.innerHTML=t.emptyText,a.appendChild(l),u.style.cssText=s.areaStyle,u.style.boxSizing="border-box",u.className="sjs-sortablejs-source",n.appendChild(a),n.appendChild(u);var c=function(e){var n=t.value;if(!Array.isArray(n))return!1;for(var r=0;r0?"none":"",t.forEach((function(e){d(e,!0)})),e.forEach((function(e){d(e,!1)}))}};i=t.resultEl=o.a.create(a,{animation:150,disabled:t.isReadOnly,group:{name:t.name,put:function(e,n){return e.options.group&&n.options.group&&e.options.group.name===n.options.group.name&&(t.maxAnswersCount<0||e.el.children.length<=t.maxAnswersCount)}},onSort:function(e){var n=[];if(1===a.children.length)l.style.display="";else{l.style.display="none";for(var r=0;r",activatedByChanged:function(t){e.JsonObject.metaData.addClass("editor",[],null,"empty"),e.JsonObject.metaData.addProperty("editor",{name:"height",default:300,category:"general"})},afterRender:function(e,t){var n=e.inputId;CKEDITOR.editorConfig=function(t){t.language="es",t.height=e.height,t.toolbarCanCollapse=!0},t.name=n,CKEDITOR.instances[n]&&(CKEDITOR.instances[n].removeAllListeners(),CKEDITOR.remove(CKEDITOR.instances[n]));var r=CKEDITOR.replace(t);CKEDITOR.instances[n].config.readOnly=e.isReadOnly;var o=!1,i=function(){o||"undefined"===typeof e.value||r.setData(e.value)};r.on("change",(function(){o=!0,e.value=r.getData(),o=!1})),e.valueChangedCallback=i,e.readOnlyChangedCallback=function(){e.isReadOnly?r.setReadOnly(!0):r.setReadOnly(!1)},i()},willUnmount:function(e,t){e.readOnlyChangedCallback=null,CKEDITOR.instances[e.inputId].destroy(!1)},pdfRender:function(t,n){if("editor"===n.question.getType()){const r=new e.LocalizableString(t,!0);r.text=n.question.value||n.question.defaultValue,n.question["locHtml"]=r,"standard"===n.question.renderAs||"image"===n.question.renderAs?n.question["renderAs"]=n.question.renderAs:n.question["renderAs"]="auto";const o=n.repository.create(t,n.question,n.controller,"html");return new Promise((function(e){o.generateFlats(n.point).then((function(t){n.bricks=t,e()}))}))}}};e.CustomWidgetCollection.Instance.addCustomWidget(t,"customtype")}Object.defineProperty(t,"__esModule",{value:!0}),"undefined"!==typeof Survey&&r(Survey),t["default"]=r},function(e,t,n){"use strict";function r(e,t){t=t||window.$;var n={name:"autocomplete",widgetIsLoaded:function(){return"function"==typeof t&&!!t.fn.easyAutocomplete},isFit:function(e){return"text"===e.getType()},isDefaultRender:!0,activatedByChanged:function(t){null===e.JsonObject.metaData.findProperty("text","choices")&&null===e.JsonObject.metaData.findProperty("text","choicesByUrl")&&(e.JsonObject.metaData.addProperty("text",{name:"choices:itemvalues",category:"choices",categoryIndex:1}),e.JsonObject.metaData.addProperty("text",{name:"choicesByUrl:restfull",className:"ChoicesRestfull",category:"choicesByUrl",categoryIndex:2}),e.JsonObject.metaData.addProperty("text",{name:"config",category:"general",default:null}),Array.prototype.push.apply(e.matrixDropdownColumnTypes.text.properties,["choices","choicesOrder","choicesByUrl","otherText"]))},afterRender:function(e,n){var r=t(n).is("input")?t(n):t(n).find("input"),o=function(e){if(!e)return"";var t=e.replace(/(^\s*)|(\s+)/g,".");return t},i=o(e.cssRoot),s=r.parents(i)[0];i&&s&&(s.style.overflow="visible");var a=e.config,l=a&&"string"==typeof a?JSON.parse(a):a;l||(l={}),l.data=(e.choices||[]).map((function(e){return e.text})),void 0===l.adjustWidth&&(l.adjustWidth=!1),l.list||(l.list={sort:{enabled:!0},match:{enabled:!0},onSelectItemEvent:function(){var t=r.getSelectedItemData();e.value=t}}),l.placeholder||(l.placeholder=e.placeholder),e.choicesByUrl&&(l.url=function(t){return e.choicesByUrl.url},l.getValue=e.choicesByUrl.valueName),r.easyAutocomplete(l),r[0].oninput=function(){e.customWidgetData.isNeedRender=!0};var u=function(){r[0].value="undefined"===typeof e.value?"":e.value};e.valueChangedCallback=u,u()},willUnmount:function(e,t){}};e.CustomWidgetCollection.Instance.addCustomWidget(n,"type")}Object.defineProperty(t,"__esModule",{value:!0}),"undefined"!==typeof Survey&&r(Survey,window.$),t["default"]=r},function(e,t,n){"use strict";function r(e){var t={settings:{supportedTypes:["radiogroup","checkbox","boolean"],radiogroup:{rootClass:"pretty p-default p-round",inputType:"radio",states:[{stateClass:"state p-success",addOn:""}]},checkbox:{rootClass:"pretty p-default",inputType:"checkbox",states:[{stateClass:"state p-success",addOn:""}]},boolean:{rootClass:"pretty p-icon p-default p-has-indeterminate",inputType:"checkbox",states:[{stateClass:"state p-success",addOn:""},{stateClass:"state p-success p-is-indeterminate",iconClass:"icon mdi mdi-minus",addOn:""}]}},name:"pretty-checkbox",activatedBy:"property",widgetIsLoaded:function(){return!0},htmlTemplate:"
",isFit:function(e){var n=-1!==t.settings.supportedTypes.indexOf(e.getType());return"property"===t.activatedBy?"prettycheckbox"===e["renderAs"]&&n:"type"===t.activatedBy&&n},activatedByChanged:function(n){this.widgetIsLoaded()&&(t.activatedBy=n,t.settings.supportedTypes.forEach((function(t){e.JsonObject.metaData.removeProperty(t,"renderAs"),"property"===n&&e.JsonObject.metaData.addProperty(t,{name:"renderAs",category:"general",default:"default",choices:["default","prettycheckbox"]})})))},isDefaultRender:!1,afterRender:function(e,t){var n={},r=e.getType(),o=this.settings[r],i="checkbox"===r,s="radiogroup"===r,a="boolean"===r,l=!1,u=function(t){l=!0;try{var n=arguments[0].target,r=n.value,o=n.checked;if(i){var a=e.createValueCopy()||[],u=a.indexOf(r);o?-1===u&&a.push(r):-1!==u&&a.splice(u,1),e.value=a}else e.value=s?r:o}finally{l=!1}},c=e.colCount>0?100/e.colCount+"%":"",d=a?[{locText:e.locTitle,value:!!e.value}]:e.visibleChoices;d.forEach((function(s,l){var d=document.createElement("input");d.type=o.inputType,d.name=e.name+(i?""+l:""),d.onchange=u,d.value=s.value,a&&null===e.value&&(d.indeterminate="indeterminate"===e.defaultValue);var p=document.createElement("div");p.className=o.rootClass,p.appendChild(d),o.states.forEach((function(e){var t=document.createElement("div");if(t.className=e.stateClass,e.iconClass){var n=document.createElement("i");n.className=e.iconClass,t.appendChild(n)}var r=document.createElement("label");s.locText.hasHtml?r.innerHTML=s.locText.html:r.textContent=s.locText.renderedText,t.appendChild(r),p.appendChild(t),e.addOn&&t.insertAdjacentHTML("afterbegin",e.addOn)}));var h=document.createElement("div");h.className="sv_cw_pretty_checkbox_"+r,h.style.display="inline-block",h.style.width=c,h.appendChild(p),t.appendChild(h),n[s.value]=d}));var p=function(e){if(!l){var t=e||[];(s||a)&&(t=[e&&e.toString()]),Object.values(n).forEach((function(e){-1!==t.indexOf(e.value)?e.setAttribute("checked",void 0):e.removeAttribute("checked")}))}},h=function(){Object.values(n).forEach((function(t){e.isReadOnly?t.setAttribute("disabled",!0):t.removeAttribute("disabled")}))};e.valueChangedCallback=p,e.readOnlyChangedCallback=h,p(e.value),h()},willUnmount:function(e,t){e.valueChangedCallback=void 0,e.readOnlyChangedCallback=void 0}};e.CustomWidgetCollection.Instance.addCustomWidget(t,"property")}Object.defineProperty(t,"__esModule",{value:!0}),"undefined"!==typeof Survey&&r(Survey),t["default"]=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(15);function o(e){var t={name:"bootstrapslider",title:"Bootstrap Slider",iconName:"icon-bootstrap-slider",widgetIsLoaded:function(){return"undefined"!==typeof r},isFit:function(e){return"bootstrapslider"===e.getType()},htmlTemplate:"
",activatedByChanged:function(t){e.JsonObject.metaData.addClass("bootstrapslider",[],null,"empty"),e.JsonObject.metaData.addProperties("bootstrapslider",[{name:"step:number",default:1,category:"general"},{name:"rangeMin:number",default:0,category:"general"},{name:"rangeMax:number",default:100,category:"general"},{name:"orientation",default:"horizontal",choices:["horizontal","vertical"],category:"general"}]),e.JsonObject.metaData.addProperty("bootstrapslider",{name:"config",default:null,category:"general"})},afterRender:function(e,t){t.style.paddingTop="20px",t.style.paddingBottom="17px",t.style.paddingLeft="10px";var n=document.createElement("input");n.id=e.id,n.type="text",n.setAttribute("data-slider-id",e.name+"_"+e.id),n.setAttribute("data-slider-min",e.rangeMin),n.setAttribute("data-slider-max",e.rangeMax),n.setAttribute("data-slider-step",e.step),"vertical"==e.orientation&&n.setAttribute("data-slider-orientation","vertical"),n.setAttribute("data-slider-step",e.step),n.setAttribute("data-slider-value",e.value||e.rangeMin),t.appendChild(n);var o=e.config||{};void 0===o.id&&(o.id=e.name+"_"+e.id),void 0===o.min&&(o.min=e.rangeMin),void 0===o.max&&(o.max=e.rangeMax),void 0===o.step&&(o.step=e.step),void 0===o.enabled&&(o.enabled=!e.isReadOnly),void 0===o.value&&(o.value=e.value||e.rangeMin);var i=new r(n,o);i.on("change",(function(t){e.value=i.getValue()}));var s=function(){i.setValue(e.value||e.rangeMin)};e.readOnlyChangedCallback=function(){e.isReadOnly?i.disable():i.enable()},e.bootstrapSlider=i,e.valueChangedCallback=s},willUnmount:function(e,t){e.bootstrapSlider&&e.bootstrapSlider.destroy(),e.bootstrapSlider=null,e.readOnlyChangedCallback=null},pdfRender:function(e,t){if("bootstrapslider"===t.question.getType()){var n=t.module.SurveyHelper.createPoint(t.module.SurveyHelper.mergeRects.apply(null,t.bricks));n.xLeft+=t.controller.unitWidth,n.yTop+=t.controller.unitHeight*t.module.FlatQuestion.CONTENT_GAP_VERT_SCALE;var r=t.module.SurveyHelper.createTextFieldRect(n,t.controller),o=new t.module.TextFieldBrick(t.question,t.controller,r,!0,t.question.id,(t.question.value||t.question.defaultValue||"").toString(),"",t.question.isReadOnly,!1,"text");t.bricks.push(o)}}};e.CustomWidgetCollection.Instance.addCustomWidget(t,"customtype")}"undefined"!==typeof Survey&&o(Survey),t["default"]=o},function(e,t){e.exports=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(17),o=n.n(r);function i(e){var t={name:"microphone",title:"Microphone",iconName:"icon-microphone",widgetIsLoaded:function(){return"undefined"!=typeof o.a},isFit:function(e){return"microphone"===e.getType()},htmlTemplate:"
  
",activatedByChanged:function(t){e.JsonObject.metaData.addClass("microphone",[],null,"empty")},afterRender:function(e,t){var n=t.getElementsByTagName("button")[0],r=t.getElementsByTagName("button")[1],i=t.getElementsByTagName("audio")[0],s=function(t){var n={type:"audio",mimeType:"audio/webm",audioBitsPerSecond:44100,sampleRate:44100,bufferSize:16384,numberOfAudioChannels:1};console.log("successCallback"),e.survey.mystream=t,e.survey.recordRTC=o()(e.survey.mystream,n),"undefined"!=typeof e.survey.recordRTC&&(console.log("startRecording"),e.survey.recordRTC.startRecording())},a=function(){alert("No microphone"),e.survey.recordRTC=void 0,e.survey.mystream=void 0},l=function(t){console.log("processAudio");var n=e.survey.recordRTC.getBlob(),r=new FileReader;r.onload=function(t){var n=t.target.result;console.log("dataUri: "+n),e.value=n,i.src=n,console.log("cleaning"),e.survey.recordRTC=void 0,e.survey.mystream=void 0},r.readAsDataURL(n)},u=function(){e.value=void 0,"undefined"!=typeof e.survey.recordRTC&&(e.survey.recordRTC.stopRecording(p),"undefined"!=typeof e.survey.mystream&&e.survey.mystream.getAudioTracks().forEach((function(e){e.stop()})));var t={video:!1,audio:!0};navigator.mediaDevices.getUserMedia(t).then(s.bind(this),a.bind(this))},c=function(){console.log("stopRecording"),"undefined"!=typeof e.survey.recordRTC&&(e.survey.recordRTC.stopRecording(l.bind(this)),"undefined"!=typeof e.survey.mystream&&e.survey.mystream.getAudioTracks().forEach((function(e){e.stop()})))};e.isReadOnly?n.parentNode.removeChild(n):n.onclick=u,e.isReadOnly?r.parentNode.removeChild(r):r.onclick=c,i.src=e.value;var d=function(){},p=function(){};e.valueChangedCallback=d,d()},willUnmount:function(e,t){console.log("unmount microphone no record "),"undefined"!=typeof e.survey.recordRTC&&(e.survey.recordRTC.stopRecording(doNothingHandler),"undefined"!=typeof e.survey.mystream&&e.survey.mystream.getAudioTracks().forEach((function(e){e.stop()})),e.value=void 0,e.survey.recordRTC=void 0,e.survey.mystream=void 0)}};e.CustomWidgetCollection.Instance.addCustomWidget(t,"customtype")}"undefined"!==typeof Survey&&i(Survey),t["default"]=i},function(e,t,n){"use strict";(function(n,r){var o,i; /** * {@link https://github.com/muaz-khan/RecordRTC|RecordRTC} is a WebRTC JavaScript library for audio/video as well as screen activity recording. It supports Chrome, Firefox, Opera, Android, and Microsoft Edge. Platforms: Linux, Mac and Windows. * @summary Record audio, video or screen inside the browser. * @license {@link https://github.com/muaz-khan/RecordRTC/blob/master/LICENSE|MIT} * @author {@link https://MuazKhan.com|Muaz Khan} * @typedef RecordRTC * @class * @example * var recorder = RecordRTC(mediaStream or [arrayOfMediaStream], { * type: 'video', // audio or video or gif or canvas * recorderType: MediaStreamRecorder || CanvasRecorder || StereoAudioRecorder || Etc * }); * recorder.startRecording(); * @see For further information: * @see {@link https://github.com/muaz-khan/RecordRTC|RecordRTC Source Code} * @param {MediaStream} mediaStream - Single media-stream object, array of media-streams, html-canvas-element, etc. * @param {object} config - {type:"video", recorderType: MediaStreamRecorder, disableLogs: true, numberOfAudioChannels: 1, bufferSize: 0, sampleRate: 0, desiredSampRate: 16000, video: HTMLVideoElement, etc.} */ function s(e,t){if(!e)throw"First parameter is required.";t=t||{type:"video"},t=new a(e,t);var n=this;function r(r){return t.disableLogs||console.log("RecordRTC version: ",n.version),r&&(t=new a(e,r)),t.disableLogs||console.log("started recording "+t.type+" stream."),v?(v.clearRecordedData(),v.record(),f("recording"),n.recordingDuration&&h(),n):(o((function(){n.recordingDuration&&h()})),n)}function o(n){n&&(t.initCallback=function(){n(),n=t.initCallback=null});var r=new l(e,t);v=new r(e,t),v.record(),f("recording"),t.disableLogs||console.log("Initialized recorderType:",v.constructor.name,"for output-type:",t.type)}function i(e){if(e=e||function(){},v){if("paused"===n.state)return n.resumeRecording(),void setTimeout((function(){i(e)}),1);"recording"===n.state||t.disableLogs||console.warn('Recording state should be: "recording", however current state is: ',n.state),t.disableLogs||console.log("Stopped recording "+t.type+" stream."),"gif"!==t.type?v.stop(r):(v.stop(),r()),f("stopped")}else y();function r(r){if(v){Object.keys(v).forEach((function(e){"function"!==typeof v[e]&&(n[e]=v[e])}));var o=v.blob;if(!o){if(!r)throw"Recording failed.";v.blob=o=r}if(o&&!t.disableLogs&&console.log(o.type,"->",_(o.size)),e){var i;try{i=m.createObjectURL(o)}catch(s){}"function"===typeof e.call?e.call(n,i):e(i)}t.autoWriteToDisk&&p((function(e){var n={};n[t.type+"Blob"]=e,q.Store(n)}))}else"function"===typeof e.call?e.call(n,""):e("")}}function u(){v?"recording"===n.state?(f("paused"),v.pause(),t.disableLogs||console.log("Paused recording.")):t.disableLogs||console.warn("Unable to pause the recording. Recording state: ",n.state):y()}function c(){v?"paused"===n.state?(f("recording"),v.resume(),t.disableLogs||console.log("Resumed recording.")):t.disableLogs||console.warn("Unable to resume the recording. Recording state: ",n.state):y()}function d(e){postMessage((new FileReaderSync).readAsDataURL(e))}function p(e,n){if(!e)throw"Pass a callback function over getDataURL.";var r=n?n.blob:(v||{}).blob;if(!r)return t.disableLogs||console.warn("Blob encoder did not finish its job yet."),void setTimeout((function(){p(e,n)}),1e3);if("undefined"===typeof Worker||navigator.mozGetUserMedia){var o=new FileReader;o.readAsDataURL(r),o.onload=function(t){e(t.target.result)}}else{var i=s(d);i.onmessage=function(t){e(t.data)},i.postMessage(r)}function s(e){try{var t=m.createObjectURL(new Blob([e.toString(),"this.onmessage = function (eee) {"+e.name+"(eee.data);}"],{type:"application/javascript"})),n=new Worker(t);return m.revokeObjectURL(t),n}catch(r){}}}function h(e){e=e||0,"paused"!==n.state?"stopped"!==n.state&&(e>=n.recordingDuration?i(n.onRecordingStopped):(e+=1e3,setTimeout((function(){h(e)}),1e3))):setTimeout((function(){h(e)}),1e3)}function f(e){n&&(n.state=e,"function"===typeof n.onStateChanged.call?n.onStateChanged.call(n,e):n.onStateChanged(e))}var v,g='It seems that recorder is destroyed or "startRecording" is not invoked for '+t.type+" recorder.";function y(){!0!==t.disableLogs&&console.warn(g)}var b={startRecording:r,stopRecording:i,pauseRecording:u,resumeRecording:c,initRecorder:o,setRecordingDuration:function(e,t){if("undefined"===typeof e)throw"recordingDuration is required.";if("number"!==typeof e)throw"recordingDuration must be a number.";return n.recordingDuration=e,n.onRecordingStopped=t||function(){},{onRecordingStopped:function(e){n.onRecordingStopped=e}}},clearRecordedData:function(){v?(v.clearRecordedData(),t.disableLogs||console.log("Cleared old recorded data.")):y()},getBlob:function(){if(v)return v.blob;y()},getDataURL:p,toURL:function(){if(v)return m.createObjectURL(v.blob);y()},getInternalRecorder:function(){return v},save:function(e){v?C(v.blob,e):y()},getFromDisk:function(e){v?s.getFromDisk(t.type,e):y()},setAdvertisementArray:function(e){t.advertisement=[];for(var n=e.length,r=0;r-1&&"netscape"in window&&/ rv:/.test(navigator.userAgent),b=!g&&!v&&!!navigator.webkitGetUserMedia||P()||-1!==navigator.userAgent.toLowerCase().indexOf("chrome/"),x=/^((?!chrome|android).)*safari/i.test(navigator.userAgent);x&&!b&&-1!==navigator.userAgent.indexOf("CriOS")&&(x=!1,b=!0);var w=window.MediaStream;function _(e){var t=1e3,n=["Bytes","KB","MB","GB","TB"];if(0===e)return"0 Bytes";var r=parseInt(Math.floor(Math.log(e)/Math.log(t)),10);return(e/Math.pow(t,r)).toPrecision(3)+" "+n[r]}function C(e,t){if(!e)throw"Blob object is required.";if(!e.type)try{e.type="video/webm"}catch(s){}var n=(e.type||"video/webm").split("/")[1];if(t&&-1!==t.indexOf(".")){var r=t.split(".");t=r[0],n=r[1]}var o=(t||Math.round(9999999999*Math.random())+888888888)+"."+n;if("undefined"!==typeof navigator.msSaveOrOpenBlob)return navigator.msSaveOrOpenBlob(e,o);if("undefined"!==typeof navigator.msSaveBlob)return navigator.msSaveBlob(e,o);var i=document.createElement("a");i.href=m.createObjectURL(e),i.download=o,i.style="display:none;opacity:0;color:transparent;",(document.body||document.documentElement).appendChild(i),"function"===typeof i.click?i.click():(i.target="_blank",i.dispatchEvent(new MouseEvent("click",{view:window,bubbles:!0,cancelable:!0}))),m.revokeObjectURL(i.href)}function P(){return"undefined"!==typeof window&&"object"===typeof window.process&&"renderer"===window.process.type||(!("undefined"===typeof r||"object"!==typeof r.versions||!r.versions.electron)||"object"===typeof navigator&&"string"===typeof navigator.userAgent&&navigator.userAgent.indexOf("Electron")>=0)}function S(e,t){return e&&e.getTracks?e.getTracks().filter((function(e){return e.kind===(t||"audio")})):[]}function O(e,t){"srcObject"in t?t.srcObject=e:"mozSrcObject"in t?t.mozSrcObject=e:t.srcObject=e}function T(e,t){if("undefined"===typeof EBML)throw new Error("Please link: https://www.webrtc-experiment.com/EBML.js");var n=new EBML.Reader,r=new EBML.Decoder,o=EBML.tools,i=new FileReader;i.onload=function(e){var i=r.decode(this.result);i.forEach((function(e){n.read(e)})),n.stop();var s=o.makeMetadataSeekable(n.metadatas,n.duration,n.cues),a=this.result.slice(n.metadataSize),l=new Blob([s,a],{type:"video/webm"});t(l)},i.readAsArrayBuffer(e)}"undefined"===typeof w&&"undefined"!==typeof webkitMediaStream&&(w=webkitMediaStream),"undefined"!==typeof w&&"undefined"===typeof w.prototype.stop&&(w.prototype.stop=function(){this.getTracks().forEach((function(e){e.stop()}))}),"undefined"!==typeof s&&(s.invokeSaveAsDialog=C,s.getTracks=S,s.getSeekableBlob=T,s.bytesToSize=_,s.isElectron=P); /** * Storage is a standalone object used by {@link RecordRTC} to store reusable objects e.g. "new AudioContext". * @license {@link https://github.com/muaz-khan/RecordRTC/blob/master/LICENSE|MIT} * @author {@link https://MuazKhan.com|Muaz Khan} * @example * Storage.AudioContext === webkitAudioContext * @property {webkitAudioContext} AudioContext - Keeps a reference to AudioContext object. * @see {@link https://github.com/muaz-khan/RecordRTC|RecordRTC Source Code} */ var V={};function k(){if(y||x||v)return!0;navigator.appVersion;var e,t,n=navigator.userAgent,r=""+parseFloat(navigator.appVersion),o=parseInt(navigator.appVersion,10);return(b||g)&&(e=n.indexOf("Chrome"),r=n.substring(e+7)),-1!==(t=r.indexOf(";"))&&(r=r.substring(0,t)),-1!==(t=r.indexOf(" "))&&(r=r.substring(0,t)),o=parseInt(""+r,10),isNaN(o)&&(r=""+parseFloat(navigator.appVersion),o=parseInt(navigator.appVersion,10)),o>=49} /** * MediaStreamRecorder is an abstraction layer for {@link https://w3c.github.io/mediacapture-record/MediaRecorder.html|MediaRecorder API}. It is used by {@link RecordRTC} to record MediaStream(s) in both Chrome and Firefox. * @summary Runs top over {@link https://w3c.github.io/mediacapture-record/MediaRecorder.html|MediaRecorder API}. * @license {@link https://github.com/muaz-khan/RecordRTC/blob/master/LICENSE|MIT} * @author {@link https://github.com/muaz-khan|Muaz Khan} * @typedef MediaStreamRecorder * @class * @example * var config = { * mimeType: 'video/webm', // vp8, vp9, h264, mkv, opus/vorbis * audioBitsPerSecond : 256 * 8 * 1024, * videoBitsPerSecond : 256 * 8 * 1024, * bitsPerSecond: 256 * 8 * 1024, // if this is provided, skip above two * checkForInactiveTracks: true, * timeSlice: 1000, // concatenate intervals based blobs * ondataavailable: function() {} // get intervals based blobs * } * var recorder = new MediaStreamRecorder(mediaStream, config); * recorder.record(); * recorder.stop(function(blob) { * video.src = URL.createObjectURL(blob); * * // or * var blob = recorder.blob; * }); * @see {@link https://github.com/muaz-khan/RecordRTC|RecordRTC Source Code} * @param {MediaStream} mediaStream - MediaStream object fetched using getUserMedia API or generated using captureStreamUntilEnded or WebAudio API. * @param {object} config - {disableLogs:true, initCallback: function, mimeType: "video/webm", timeSlice: 1000} * @throws Will throw an error if first argument "MediaStream" is missing. Also throws error if "MediaRecorder API" are not supported by the browser. */function E(e,t){var n=this;if("undefined"===typeof e)throw'First argument "MediaStream" is required.';if("undefined"===typeof MediaRecorder)throw"Your browser does not support the Media Recorder API. Please try other modules e.g. WhammyRecorder or StereoAudioRecorder.";if(t=t||{mimeType:"video/webm"},"audio"===t.type){var r;if(S(e,"video").length&&S(e,"audio").length)navigator.mozGetUserMedia?(r=new w,r.addTrack(S(e,"audio")[0])):r=new w(S(e,"audio")),e=r;t.mimeType&&-1!==t.mimeType.toString().toLowerCase().indexOf("audio")||(t.mimeType=b?"audio/webm":"audio/ogg"),t.mimeType&&"audio/ogg"!==t.mimeType.toString().toLowerCase()&&navigator.mozGetUserMedia&&(t.mimeType="audio/ogg")}var o,i=[];function s(){n.timestamps.push((new Date).getTime()),"function"===typeof t.onTimeStamp&&t.onTimeStamp(n.timestamps[n.timestamps.length-1],n.timestamps)}function a(e){return o&&o.mimeType?o.mimeType:e.mimeType||"video/webm"}function l(){i=[],o=null,n.timestamps=[]}function u(){if("active"in e){if(!e.active)return!1}else if("ended"in e&&e.ended)return!1;return!0}this.getArrayOfBlobs=function(){return i},this.record=function(){n.blob=null,n.clearRecordedData(),n.timestamps=[],c=[],i=[];var r=t;t.disableLogs||console.log("Passing following config over MediaRecorder API.",r),o&&(o=null),b&&!k()&&(r="video/vp8"),"function"===typeof MediaRecorder.isTypeSupported&&r.mimeType&&(MediaRecorder.isTypeSupported(r.mimeType)||(t.disableLogs||console.warn("MediaRecorder API seems unable to record mimeType:",r.mimeType),r.mimeType="audio"===t.type?"audio/webm":"video/webm"));try{o=new MediaRecorder(e,r),t.mimeType=r.mimeType}catch(l){o=new MediaRecorder(e)}r.mimeType&&!MediaRecorder.isTypeSupported&&"canRecordMimeType"in o&&!1===o.canRecordMimeType(r.mimeType)&&(t.disableLogs||console.warn("MediaRecorder API seems unable to record mimeType:",r.mimeType)),o.ondataavailable=function(e){if(e.data&&c.push("ondataavailable: "+_(e.data.size)),"number"!==typeof t.timeSlice)!e.data||!e.data.size||e.data.size<100||n.blob?n.recordingCallback&&(n.recordingCallback(new Blob([],{type:a(r)})),n.recordingCallback=null):(n.blob=t.getNativeBlob?e.data:new Blob([e.data],{type:a(r)}),n.recordingCallback&&(n.recordingCallback(n.blob),n.recordingCallback=null));else if(e.data&&e.data.size&&e.data.size>100&&(i.push(e.data),s(),"function"===typeof t.ondataavailable)){var o=t.getNativeBlob?e.data:new Blob([e.data],{type:a(r)});t.ondataavailable(o)}},o.onstart=function(){c.push("started")},o.onpause=function(){c.push("paused")},o.onresume=function(){c.push("resumed")},o.onstop=function(){c.push("stopped")},o.onerror=function(e){e&&(e.name||(e.name="UnknownError"),c.push("error: "+e),t.disableLogs||(-1!==e.name.toString().toLowerCase().indexOf("invalidstate")?console.error("The MediaRecorder is not in a state in which the proposed operation is allowed to be executed.",e):-1!==e.name.toString().toLowerCase().indexOf("notsupported")?console.error("MIME type (",r.mimeType,") is not supported.",e):-1!==e.name.toString().toLowerCase().indexOf("security")?console.error("MediaRecorder security error",e):"OutOfMemory"===e.name?console.error("The UA has exhaused the available memory. User agents SHOULD provide as much additional information as possible in the message attribute.",e):"IllegalStreamModification"===e.name?console.error("A modification to the stream has occurred that makes it impossible to continue recording. An example would be the addition of a Track while recording is occurring. User agents SHOULD provide as much additional information as possible in the message attribute.",e):"OtherRecordingError"===e.name?console.error("Used for an fatal error other than those listed above. User agents SHOULD provide as much additional information as possible in the message attribute.",e):"GenericError"===e.name?console.error("The UA cannot provide the codec or recording option that has been requested.",e):console.error("MediaRecorder Error",e)),function(e){if(!n.manuallyStopped&&o&&"inactive"===o.state)return delete t.timeslice,void o.start(6e5);setTimeout(e,1e3)}(),"inactive"!==o.state&&"stopped"!==o.state&&o.stop())},"number"===typeof t.timeSlice?(s(),o.start(t.timeSlice)):o.start(36e5),t.initCallback&&t.initCallback()},this.timestamps=[],this.stop=function(e){e=e||function(){},n.manuallyStopped=!0,o&&(this.recordingCallback=e,"recording"===o.state&&o.stop(),"number"===typeof t.timeSlice&&setTimeout((function(){n.blob=new Blob(i,{type:a(t)}),n.recordingCallback(n.blob)}),100))},this.pause=function(){o&&"recording"===o.state&&o.pause()},this.resume=function(){o&&"paused"===o.state&&o.resume()},this.clearRecordedData=function(){o&&"recording"===o.state&&n.stop(l),l()},this.getInternalRecorder=function(){return o},this.blob=null,this.getState=function(){return o&&o.state||"inactive"};var c=[];this.getAllStates=function(){return c},"undefined"===typeof t.checkForInactiveTracks&&(t.checkForInactiveTracks=!1);n=this;(function e(){if(o&&!1!==t.checkForInactiveTracks)return!1===u()?(t.disableLogs||console.log("MediaStream seems stopped."),void n.stop()):void setTimeout(e,1e3)})(),this.name="MediaStreamRecorder",this.toString=function(){return this.name}} /** * StereoAudioRecorder is a standalone class used by {@link RecordRTC} to bring "stereo" audio-recording in chrome. * @summary JavaScript standalone object for stereo audio recording. * @license {@link https://github.com/muaz-khan/RecordRTC/blob/master/LICENSE|MIT} * @author {@link https://MuazKhan.com|Muaz Khan} * @typedef StereoAudioRecorder * @class * @example * var recorder = new StereoAudioRecorder(MediaStream, { * sampleRate: 44100, * bufferSize: 4096 * }); * recorder.record(); * recorder.stop(function(blob) { * video.src = URL.createObjectURL(blob); * }); * @see {@link https://github.com/muaz-khan/RecordRTC|RecordRTC Source Code} * @param {MediaStream} mediaStream - MediaStream object fetched using getUserMedia API or generated using captureStreamUntilEnded or WebAudio API. * @param {object} config - {sampleRate: 44100, bufferSize: 4096, numberOfAudioChannels: 1, etc.} */ function R(e,t){if(!S(e,"audio").length)throw"Your stream has no audio tracks.";t=t||{};var n,r=this,o=[],i=[],a=!1,l=0,u=2,c=t.desiredSampRate;function d(){if(!1===t.checkForInactiveTracks)return!0;if("active"in e){if(!e.active)return!1}else if("ended"in e&&e.ended)return!1;return!0}function p(e,t){function n(e,t){var n,r=e.numberOfAudioChannels,o=e.leftBuffers.slice(0),i=e.rightBuffers.slice(0),s=e.sampleRate,a=e.internalInterleavedLength,l=e.desiredSampRate;function u(e,t,n){var r=Math.round(e.length*(t/n)),o=[],i=Number((e.length-1)/(r-1));o[0]=e[0];for(var s=1;s96e3)&&(t.disableLogs||console.log("sample-rate must be under range 22050 and 96000.")),t.disableLogs||t.desiredSampRate&&console.log("Desired sample-rate: "+t.desiredSampRate);var x=!1;function w(){o=[],i=[],l=0,C=!1,a=!1,x=!1,f=null,r.leftchannel=o,r.rightchannel=i,r.numberOfAudioChannels=u,r.desiredSampRate=c,r.sampleRate=b,r.recordingLength=l,O={left:[],right:[],recordingLength:0}}function _(){n&&(n.onaudioprocess=null,n.disconnect(),n=null),v&&(v.disconnect(),v=null),w()}this.pause=function(){x=!0},this.resume=function(){if(!1===d())throw"Please make sure MediaStream is active.";if(!a)return t.disableLogs||console.log("Seems recording has been restarted."),void this.record();x=!1},this.clearRecordedData=function(){t.checkForInactiveTracks=!1,a&&this.stop(_),_()},this.name="StereoAudioRecorder",this.toString=function(){return this.name};var C=!1;function P(e){if(!x)if(!1===d()&&(t.disableLogs||console.log("MediaStream seems stopped."),n.disconnect(),a=!1),a){C||(C=!0,t.onAudioProcessStarted&&t.onAudioProcessStarted(),t.initCallback&&t.initCallback());var s=e.inputBuffer.getChannelData(0),c=new Float32Array(s);if(o.push(c),2===u){var p=e.inputBuffer.getChannelData(1),h=new Float32Array(p);i.push(h)}l+=y,r.recordingLength=l,"undefined"!==typeof t.timeSlice&&(O.recordingLength+=y,O.left.push(c),2===u&&O.right.push(h))}else v&&(v.disconnect(),v=null)}n.onaudioprocess=P,f.createMediaStreamDestination?n.connect(f.createMediaStreamDestination()):n.connect(f.destination),this.leftchannel=o,this.rightchannel=i,this.numberOfAudioChannels=u,this.desiredSampRate=c,this.sampleRate=b,r.recordingLength=l;var O={left:[],right:[],recordingLength:0};function T(){a&&"function"===typeof t.ondataavailable&&"undefined"!==typeof t.timeSlice&&(O.left.length?(p({desiredSampRate:c,sampleRate:b,numberOfAudioChannels:u,internalInterleavedLength:O.recordingLength,leftBuffers:O.left,rightBuffers:1===u?[]:O.right},(function(e,n){var r=new Blob([n],{type:"audio/wav"});t.ondataavailable(r),setTimeout(T,t.timeSlice)})),O={left:[],right:[],recordingLength:0}):setTimeout(T,t.timeSlice))}} /** * CanvasRecorder is a standalone class used by {@link RecordRTC} to bring HTML5-Canvas recording into video WebM. It uses HTML2Canvas library and runs top over {@link Whammy}. * @summary HTML2Canvas recording into video WebM. * @license {@link https://github.com/muaz-khan/RecordRTC/blob/master/LICENSE|MIT} * @author {@link https://MuazKhan.com|Muaz Khan} * @typedef CanvasRecorder * @class * @example * var recorder = new CanvasRecorder(htmlElement, { disableLogs: true, useWhammyRecorder: true }); * recorder.record(); * recorder.stop(function(blob) { * video.src = URL.createObjectURL(blob); * }); * @see {@link https://github.com/muaz-khan/RecordRTC|RecordRTC Source Code} * @param {HTMLElement} htmlElement - querySelector/getElementById/getElementsByTagName[0]/etc. * @param {object} config - {disableLogs:true, initCallback: function} */ function j(e,t){if("undefined"===typeof html2canvas)throw"Please link: https://www.webrtc-experiment.com/screenshot.js";t=t||{},t.frameInterval||(t.frameInterval=10);var n=!1;["captureStream","mozCaptureStream","webkitCaptureStream"].forEach((function(e){e in document.createElement("canvas")&&(n=!0)}));var r,o,i,s=(!!window.webkitRTCPeerConnection||!!window.webkitGetUserMedia)&&!!window.chrome,a=50,l=navigator.userAgent.match(/Chrom(e|ium)\/([0-9]+)\./);if(s&&l&&l[2]&&(a=parseInt(l[2],10)),s&&a<52&&(n=!1),t.useWhammyRecorder&&(n=!1),n)if(t.disableLogs||console.log("Your browser supports both MediRecorder API and canvas.captureStream!"),e instanceof HTMLCanvasElement)r=e;else{if(!(e instanceof CanvasRenderingContext2D))throw"Please pass either HTMLCanvasElement or CanvasRenderingContext2D.";r=e.canvas}else navigator.mozGetUserMedia&&(t.disableLogs||console.error("Canvas recording is NOT supported in Firefox."));this.record=function(){if(i=!0,n&&!t.useWhammyRecorder){var e;"captureStream"in r?e=r.captureStream(25):"mozCaptureStream"in r?e=r.mozCaptureStream(25):"webkitCaptureStream"in r&&(e=r.webkitCaptureStream(25));try{var s=new w;s.addTrack(S(e,"video")[0]),e=s}catch(a){}if(!e)throw"captureStream API are NOT available.";o=new E(e,{mimeType:t.mimeType||"video/webm"}),o.record()}else f.frames=[],h=(new Date).getTime(),p();t.initCallback&&t.initCallback()},this.getWebPImages=function(n){if("canvas"===e.nodeName.toLowerCase()){var r=f.frames.length;f.frames.forEach((function(e,n){var o=r-n;t.disableLogs||console.log(o+"/"+r+" frames remaining"),t.onEncodingCallback&&t.onEncodingCallback(o,r);var i=e.image.toDataURL("image/webp",1);f.frames[n].image=i})),t.disableLogs||console.log("Generating WebM"),n()}else n()},this.stop=function(e){i=!1;var r=this;n&&o?o.stop(e):this.getWebPImages((function(){f.compile((function(n){t.disableLogs||console.log("Recording finished!"),r.blob=n,r.blob.forEach&&(r.blob=new Blob([],{type:"video/webm"})),e&&e(r.blob),f.frames=[]}))}))};var u=!1;function c(){f.frames=[],i=!1,u=!1}function d(){var t=document.createElement("canvas"),n=t.getContext("2d");return t.width=e.width,t.height=e.height,n.drawImage(e,0,0),t}function p(){if(u)return h=(new Date).getTime(),setTimeout(p,500);if("canvas"===e.nodeName.toLowerCase()){var n=(new Date).getTime()-h;return h=(new Date).getTime(),f.frames.push({image:d(),duration:n}),void(i&&setTimeout(p,t.frameInterval))}html2canvas(e,{grabMouse:"undefined"===typeof t.showMousePointer||t.showMousePointer,onrendered:function(e){var n=(new Date).getTime()-h;if(!n)return setTimeout(p,t.frameInterval);h=(new Date).getTime(),f.frames.push({image:e.toDataURL("image/webp",1),duration:n}),i&&setTimeout(p,t.frameInterval)}})}this.pause=function(){u=!0,o instanceof E&&o.pause()},this.resume=function(){u=!1,o instanceof E?o.resume():i||this.record()},this.clearRecordedData=function(){i&&this.stop(c),c()},this.name="CanvasRecorder",this.toString=function(){return this.name};var h=(new Date).getTime(),f=new D.Video(100)} /** * WhammyRecorder is a standalone class used by {@link RecordRTC} to bring video recording in Chrome. It runs top over {@link Whammy}. * @summary Video recording feature in Chrome. * @license {@link https://github.com/muaz-khan/RecordRTC/blob/master/LICENSE|MIT} * @author {@link https://MuazKhan.com|Muaz Khan} * @typedef WhammyRecorder * @class * @example * var recorder = new WhammyRecorder(mediaStream); * recorder.record(); * recorder.stop(function(blob) { * video.src = URL.createObjectURL(blob); * }); * @see {@link https://github.com/muaz-khan/RecordRTC|RecordRTC Source Code} * @param {MediaStream} mediaStream - MediaStream object fetched using getUserMedia API or generated using captureStreamUntilEnded or WebAudio API. * @param {object} config - {disableLogs: true, initCallback: function, video: HTMLVideoElement, etc.} */ function I(e,t){function n(e){e="undefined"!==typeof e?e:10;var t=(new Date).getTime()-u;return t?s?(u=(new Date).getTime(),setTimeout(n,100)):(u=(new Date).getTime(),l.paused&&l.play(),p.drawImage(l,0,0,d.width,d.height),c.frames.push({duration:t,image:d.toDataURL("image/webp")}),void(i||setTimeout(n,e,e))):setTimeout(n,e,e)}function r(e){var t=-1,n=e.length;(function r(){t++,t!==n?setTimeout((function(){e.functionToLoop(r,t)}),1):e.callback()})()}function o(e,t,n,o,i){var s=document.createElement("canvas");s.width=d.width,s.height=d.height;var a=s.getContext("2d"),l=[],u=-1===t,c=t&&t>0&&t<=e.length?t:e.length,p={r:0,g:0,b:0},h=Math.sqrt(Math.pow(255,2)+Math.pow(255,2)+Math.pow(255,2)),f=n&&n>=0&&n<=1?n:0,m=o&&o>=0&&o<=1?o:0,v=!1;r({length:c,functionToLoop:function(t,n){var r,o,i,s=function(){!v&&i-r<=i*m||(u&&(v=!0),l.push(e[n])),t()};if(v)s();else{var c=new Image;c.onload=function(){a.drawImage(c,0,0,d.width,d.height);var e=a.getImageData(0,0,d.width,d.height);r=0,o=e.data.length,i=e.data.length/4;for(var t=0;t0)t.push(255&e),e>>=8;return new Uint8Array(t.reverse())}function i(e){return new Uint8Array(e.split("").map((function(e){return e.charCodeAt(0)})))}function s(e){var t=[],n=e.length%8?new Array(9-e.length%8).join("0"):"";e=n+e;for(var r=0;r127)throw"TrackNumber > 127 not supported";var n=[128|e.trackNum,e.timecode>>8,255&e.timecode,t].map((function(e){return String.fromCharCode(e)})).join("")+e.frame;return n}function u(e){for(var t,n,r,o=e.RIFF[0].WEBP[0],i=o.indexOf("*"),s=0,a=[];s<4;s++)a[s]=o.charCodeAt(i+3+s);return r=a[1]<<8|a[0],t=16383&r,r=a[3]<<8|a[2],n=16383&r,{width:t,height:n,data:o,riff:e}}function c(e,t){return parseInt(e.substr(t+4,4).split("").map((function(e){var t=e.charCodeAt(0).toString(2);return new Array(8-t.length+1).join("0")+t})).join(""),2)}function d(e){var t=0,n={};while(t1?2*n[0].width:n[0].width;var r=1;3!==e&&4!==e||(r=2),5!==e&&6!==e||(r=3),7!==e&&8!==e||(r=4),9!==e&&10!==e||(r=5),a.height=n[0].height*r}else a.width=u.width||360,a.height=u.height||240;t&&t instanceof HTMLVideoElement&&v(t),n.forEach((function(e,t){v(e,t)})),setTimeout(m,u.frameInterval)}}function v(e,t){if(!i){var n=0,r=0,o=e.width,s=e.height;1===t&&(n=e.width),2===t&&(r=e.height),3===t&&(n=e.width,r=e.height),4===t&&(r=2*e.height),5===t&&(n=e.width,r=2*e.height),6===t&&(r=3*e.height),7===t&&(n=e.width,r=3*e.height),"undefined"!==typeof e.stream.left&&(n=e.stream.left),"undefined"!==typeof e.stream.top&&(r=e.stream.top),"undefined"!==typeof e.stream.width&&(o=e.stream.width),"undefined"!==typeof e.stream.height&&(s=e.stream.height),l.drawImage(e,n,r,o,s),"function"===typeof e.stream.onRender&&e.stream.onRender(l,n,r,o,s,t)}}function g(){i=!1;var t=y(),n=b();return n&&n.getTracks().filter((function(e){return"audio"===e.kind})).forEach((function(e){t.addTrack(e)})),e.forEach((function(e){e.fullcanvas&&!0})),t}function y(){var e;w(),"captureStream"in a?e=a.captureStream():"mozCaptureStream"in a?e=a.mozCaptureStream():u.disableLogs||console.error("Upgrade to latest Chrome or otherwise enable this flag: chrome://flags/#enable-experimental-web-platform-features");var t=new p;return e.getTracks().filter((function(e){return"video"===e.kind})).forEach((function(e){t.addTrack(e)})),a.stream=t,t}function b(){h.AudioContextConstructor||(h.AudioContextConstructor=new h.AudioContext),u.audioContext=h.AudioContextConstructor,u.audioSources=[],!0===u.useGainNode&&(u.gainNode=u.audioContext.createGain(),u.gainNode.connect(u.audioContext.destination),u.gainNode.gain.value=0);var t=0;if(e.forEach((function(e){if(e.getTracks().filter((function(e){return"audio"===e.kind})).length){t++;var n=u.audioContext.createMediaStreamSource(e);!0===u.useGainNode&&n.connect(u.gainNode),u.audioSources.push(n)}})),t)return u.audioDestination=u.audioContext.createMediaStreamDestination(),u.audioSources.forEach((function(e){e.connect(u.audioDestination)})),u.audioDestination.stream}function x(e){var n=document.createElement("video");return f(e,n),n.className=t,n.muted=!0,n.volume=0,n.width=e.width||u.width||360,n.height=e.height||u.height||240,n.play(),n}function w(t){o=[],t=t||e,t.forEach((function(e){if(e.getTracks().filter((function(e){return"video"===e.kind})).length){var t=x(e);t.stream=e,o.push(t)}}))}"undefined"!==typeof c?h.AudioContext=c:"undefined"!==typeof webkitAudioContext&&(h.AudioContext=webkitAudioContext),this.startDrawingFrames=function(){m()},this.appendStreams=function(t){if(!t)throw"First parameter is required.";t instanceof Array||(t=[t]),t.forEach((function(t){var n=new p;if(t.getTracks().filter((function(e){return"video"===e.kind})).length){var r=x(t);r.stream=t,o.push(r),n.addTrack(t.getTracks().filter((function(e){return"video"===e.kind}))[0])}if(t.getTracks().filter((function(e){return"audio"===e.kind})).length){var i=u.audioContext.createMediaStreamSource(t);u.audioDestination=u.audioContext.createMediaStreamDestination(),i.connect(u.audioDestination),n.addTrack(u.audioDestination.stream.getTracks().filter((function(e){return"audio"===e.kind}))[0])}e.push(n)}))},this.releaseStreams=function(){o=[],i=!0,u.gainNode&&(u.gainNode.disconnect(),u.gainNode=null),u.audioSources.length&&(u.audioSources.forEach((function(e){e.disconnect()})),u.audioSources=[]),u.audioDestination&&(u.audioDestination.disconnect(),u.audioDestination=null),u.audioContext&&u.audioContext.close(),u.audioContext=null,l.clearRect(0,0,a.width,a.height),a.stream&&(a.stream.stop(),a.stream=null)},this.resetVideoStreams=function(e){!e||e instanceof Array||(e=[e]),w(e)},this.name="MultiStreamsMixer",this.toString=function(){return this.name},this.getMixedStream=g} /** * MultiStreamRecorder can record multiple videos in single container. * @summary Multi-videos recorder. * @license {@link https://github.com/muaz-khan/RecordRTC/blob/master/LICENSE|MIT} * @author {@link https://MuazKhan.com|Muaz Khan} * @typedef MultiStreamRecorder * @class * @example * var options = { * mimeType: 'video/webm' * } * var recorder = new MultiStreamRecorder(ArrayOfMediaStreams, options); * recorder.record(); * recorder.stop(function(blob) { * video.src = URL.createObjectURL(blob); * * // or * var blob = recorder.blob; * }); * @see {@link https://github.com/muaz-khan/RecordRTC|RecordRTC Source Code} * @param {MediaStreams} mediaStreams - Array of MediaStreams. * @param {object} config - {disableLogs:true, frameInterval: 1, mimeType: "video/webm"} */ function L(e,t){e=e||[];var n,r,o=this;function i(){var t=[];return e.forEach((function(e){S(e,"video").forEach((function(e){t.push(e)}))})),t}t=t||{elementClass:"multi-streams-mixer",mimeType:"video/webm",video:{width:360,height:240}},t.frameInterval||(t.frameInterval=10),t.video||(t.video={}),t.video.width||(t.video.width=360),t.video.height||(t.video.height=240),this.record=function(){n=new M(e,t.elementClass||"multi-streams-mixer"),i().length&&(n.frameInterval=t.frameInterval||10,n.width=t.video.width||360,n.height=t.video.height||240,n.startDrawingFrames()),t.previewStream&&"function"===typeof t.previewStream&&t.previewStream(n.getMixedStream()),r=new E(n.getMixedStream(),t),r.record()},this.stop=function(e){r&&r.stop((function(t){o.blob=t,e(t),o.clearRecordedData()}))},this.pause=function(){r&&r.pause()},this.resume=function(){r&&r.resume()},this.clearRecordedData=function(){r&&(r.clearRecordedData(),r=null),n&&(n.releaseStreams(),n=null)},this.addStreams=function(o){if(!o)throw"First parameter is required.";o instanceof Array||(o=[o]),e.concat(o),r&&n&&(n.appendStreams(o),t.previewStream&&"function"===typeof t.previewStream&&t.previewStream(n.getMixedStream()))},this.resetVideoStreams=function(e){n&&(!e||e instanceof Array||(e=[e]),n.resetVideoStreams(e))},this.getMixer=function(){return n},this.name="MultiStreamRecorder",this.toString=function(){return this.name}} /** * RecordRTCPromisesHandler adds promises support in {@link RecordRTC}. Try a {@link https://github.com/muaz-khan/RecordRTC/blob/master/simple-demos/RecordRTCPromisesHandler.html|demo here} * @summary Promises for {@link RecordRTC} * @license {@link https://github.com/muaz-khan/RecordRTC/blob/master/LICENSE|MIT} * @author {@link https://MuazKhan.com|Muaz Khan} * @typedef RecordRTCPromisesHandler * @class * @example * var recorder = new RecordRTCPromisesHandler(mediaStream, options); * recorder.startRecording() * .then(successCB) * .catch(errorCB); * // Note: You can access all RecordRTC API using "recorder.recordRTC" e.g. * recorder.recordRTC.onStateChanged = function(state) {}; * recorder.recordRTC.setRecordingDuration(5000); * @see {@link https://github.com/muaz-khan/RecordRTC|RecordRTC Source Code} * @param {MediaStream} mediaStream - Single media-stream object, array of media-streams, html-canvas-element, etc. * @param {object} config - {type:"video", recorderType: MediaStreamRecorder, disableLogs: true, numberOfAudioChannels: 1, bufferSize: 0, sampleRate: 0, video: HTMLVideoElement, etc.} * @throws Will throw an error if "new" keyword is not used to initiate "RecordRTCPromisesHandler". Also throws error if first argument "MediaStream" is missing. * @requires {@link RecordRTC} */ function N(e,t){if(!this)throw'Use "new RecordRTCPromisesHandler()"';if("undefined"===typeof e)throw'First argument "MediaStream" is required.';var n=this;n.recordRTC=new s(e,t),this.startRecording=function(){return new Promise((function(e,t){try{n.recordRTC.startRecording(),e()}catch(r){t(r)}}))},this.stopRecording=function(){return new Promise((function(e,t){try{n.recordRTC.stopRecording((function(r){n.blob=n.recordRTC.getBlob(),n.blob&&n.blob.size?e(r):t("Empty blob.",n.blob)}))}catch(r){t(r)}}))},this.pauseRecording=function(){return new Promise((function(e,t){try{n.recordRTC.pauseRecording(),e()}catch(r){t(r)}}))},this.resumeRecording=function(){return new Promise((function(e,t){try{n.recordRTC.resumeRecording(),e()}catch(r){t(r)}}))},this.getDataURL=function(e){return new Promise((function(e,t){try{n.recordRTC.getDataURL((function(t){e(t)}))}catch(r){t(r)}}))},this.getBlob=function(){return new Promise((function(e,t){try{e(n.recordRTC.getBlob())}catch(r){t(r)}}))},this.getInternalRecorder=function(){return new Promise((function(e,t){try{e(n.recordRTC.getInternalRecorder())}catch(r){t(r)}}))},this.reset=function(){return new Promise((function(e,t){try{e(n.recordRTC.reset())}catch(r){t(r)}}))},this.destroy=function(){return new Promise((function(e,t){try{e(n.recordRTC.destroy())}catch(r){t(r)}}))},this.getState=function(){return new Promise((function(e,t){try{e(n.recordRTC.getState())}catch(r){t(r)}}))},this.blob=null,this.version="5.5.9"} /** * WebAssemblyRecorder lets you create webm videos in JavaScript via WebAssembly. The library consumes raw RGBA32 buffers (4 bytes per pixel) and turns them into a webm video with the given framerate and quality. This makes it compatible out-of-the-box with ImageData from a CANVAS. With realtime mode you can also use webm-wasm for streaming webm videos. * @summary Video recording feature in Chrome, Firefox and maybe Edge. * @license {@link https://github.com/muaz-khan/RecordRTC/blob/master/LICENSE|MIT} * @author {@link https://MuazKhan.com|Muaz Khan} * @typedef WebAssemblyRecorder * @class * @example * var recorder = new WebAssemblyRecorder(mediaStream); * recorder.record(); * recorder.stop(function(blob) { * video.src = URL.createObjectURL(blob); * }); * @see {@link https://github.com/muaz-khan/RecordRTC|RecordRTC Source Code} * @param {MediaStream} mediaStream - MediaStream object fetched using getUserMedia API or generated using captureStreamUntilEnded or WebAudio API. * @param {object} config - {webAssemblyPath:'webm-wasm.wasm',workerPath: 'webm-worker.js', frameRate: 30, width: 1920, height: 1080, bitrate: 1024} */ function F(e,t){function n(){return new ReadableStream({start:function(n){var r=document.createElement("canvas"),o=document.createElement("video");o.srcObject=e,o.onplaying=function(){r.width=t.width,r.height=t.height;var e=r.getContext("2d"),i=1e3/t.frameRate;setTimeout((function r(){e.drawImage(o,0,0),n.enqueue(e.getImageData(0,0,t.width,t.height)),setTimeout(r,i)}),i)},o.play()}})}var r,o;function i(e,s){if(t.workerPath||s){if(!t.workerPath&&s instanceof ArrayBuffer){var l=new Blob([s],{type:"text/javascript"});t.workerPath=m.createObjectURL(l)}t.workerPath||console.error("workerPath parameter is missing."),r=new Worker(t.workerPath),r.postMessage(t.webAssemblyPath||"https://unpkg.com/webm-wasm@latest/dist/webm-wasm.wasm"),r.addEventListener("message",(function(e){"READY"===e.data?(r.postMessage({width:t.width,height:t.height,bitrate:t.bitrate||1200,timebaseDen:t.frameRate||30,realtime:!0}),n().pipeTo(new WritableStream({write:function(e){r&&r.postMessage(e.data.buffer,[e.data.buffer])}}))):e.data&&(o||a.push(e.data))}))}else fetch("https://unpkg.com/webm-wasm@latest/dist/webm-worker.js").then((function(t){t.arrayBuffer().then((function(t){i(e,t)}))}))}function s(){r&&(r.postMessage(null),r.terminate(),r=null)}"undefined"!==typeof ReadableStream&&"undefined"!==typeof WritableStream||console.error("Following polyfill is strongly recommended: https://unpkg.com/@mattiasbuelens/web-streams-polyfill/dist/polyfill.min.js"),t=t||{},t.width=t.width||640,t.height=t.height||480,t.frameRate=t.frameRate||30,t.bitrate=t.bitrate||1200,this.record=function(){a=[],o=!1,this.blob=null,i(e),"function"===typeof t.initCallback&&t.initCallback()},this.pause=function(){o=!0},this.resume=function(){o=!1};var a=[];this.stop=function(e){s(),this.blob=new Blob(a,{type:"video/webm"}),e(this.blob)},this.name="WebAssemblyRecorder",this.toString=function(){return this.name},this.clearRecordedData=function(){a=[],o=!1,this.blob=null},this.blob=null}"undefined"!==typeof s&&(s.DiskStorage=q),"undefined"!==typeof s&&(s.GifRecorder=A),"undefined"===typeof s&&(e.exports=M,o=[],i=function(){return M}.apply(t,o),void 0===i||(e.exports=i)),"undefined"!==typeof s&&(s.MultiStreamRecorder=L),"undefined"!==typeof s&&(s.RecordRTCPromisesHandler=N),"undefined"!==typeof s&&(s.WebAssemblyRecorder=F)}).call(t,n(18),n(19))},function(e,t){var n;n=function(){return this}();try{n=n||Function("return this")()||(0,eval)("this")}catch(r){"object"===typeof window&&(n=window)}e.exports=n},function(e,t){var n,r,o=e.exports={};function i(){throw new Error("setTimeout has not been defined")}function s(){throw new Error("clearTimeout has not been defined")}function a(e){if(n===setTimeout)return setTimeout(e,0);if((n===i||!n)&&setTimeout)return n=setTimeout,setTimeout(e,0);try{return n(e,0)}catch(t){try{return n.call(null,e,0)}catch(t){return n.call(this,e,0)}}}function l(e){if(r===clearTimeout)return clearTimeout(e);if((r===s||!r)&&clearTimeout)return r=clearTimeout,clearTimeout(e);try{return r(e)}catch(t){try{return r.call(null,e)}catch(t){return r.call(this,e)}}}(function(){try{n="function"===typeof setTimeout?setTimeout:i}catch(e){n=i}try{r="function"===typeof clearTimeout?clearTimeout:s}catch(e){r=s}})();var u,c=[],d=!1,p=-1;function h(){d&&u&&(d=!1,u.length?c=u.concat(c):p=-1,c.length&&f())}function f(){if(!d){var e=a(h);d=!0;var t=c.length;while(t){u=c,c=[];while(++p1)for(var n=1;n",activatedByChanged:function(t){e.JsonObject.metaData.addClass("emotionsratings",[{name:"hasOther",visible:!1},{name:"otherText",visible:!1},{name:"optionsCaption",visible:!1},{name:"otherErrorText",visible:!1},{name:"storeOthersAsComment",visible:!1},{name:"renderAs",visible:!1}],null,"dropdown"),e.JsonObject.metaData.addProperties("emotionsratings",[{name:"emotions:itemvalues",category:"emotions",categoryIndex:1,default:["angry","disappointed","meh","happy","inLove"]},{name:"emotionSize:number",category:"emotions",default:30},{name:"emotionsCount:number",category:"emotions",default:5},{name:"bgEmotion",category:"emotions",default:"happy"},{name:"emotionColor",category:"emotions",default:"#FF0066"}])},afterRender:function(e,n){var r=(e.emotions||[]).map((function(e){return e.value}));0===r.length&&(r=["angry","disappointed","meh","happy","inLove"]);var o={emotionSize:e.emotionSize,bgEmotion:e.bgEmotion,emotions:r,initialRating:e.value,color:e.emotionColor,count:e.emotionsCount,onUpdate:function(t){e.value=t}};function i(){n.innerHTML="
",t(n).off(),o.initialRating=e.value||0,o.disabled=e.isReadOnly,t(n).find("div").emotionsRating(o)}i(),e.valueChangedCallback=i,e.readOnlyChangedCallback=i},willUnmount:function(e,n){n.innerHTML=null,t(n).off(),e.readOnlyChangedCallback=null,e.valueChangedCallback=null},pdfQuestionType:"dropdown"};e.CustomWidgetCollection.Instance.addCustomWidget(n,"customtype")}Object.defineProperty(t,"__esModule",{value:!0}),"undefined"!==typeof Survey&&r(Survey,window.$),t["default"]=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(0);n.d(t,"icheck",(function(){return r["default"]}));var o=n(1);n.d(t,"select2",(function(){return o["default"]}));var i=n(2);n.d(t,"inputmask",(function(){return i["default"]}));var s=n(4);n.d(t,"jquerybarrating",(function(){return s["default"]}));var a=n(5);n.d(t,"jqueryuidatepicker",(function(){return a["default"]}));var l=n(6);n.d(t,"nouislider",(function(){return l["default"]}));var u=n(8);n.d(t,"select2tagbox",(function(){return u["default"]}));var c=n(9);n.d(t,"sortablejs",(function(){return c["default"]}));var d=n(11);n.d(t,"ckeditor",(function(){return d["default"]}));var p=n(12);n.d(t,"autocomplete",(function(){return p["default"]}));var h=n(13);n.d(t,"prettycheckbox",(function(){return h["default"]}));var f=n(14);n.d(t,"bootstrapslider",(function(){return f["default"]}));var m=n(16);n.d(t,"microphone",(function(){return m["default"]}));var v=n(20);n.d(t,"emotionsratings",(function(){return v["default"]}));var g=n(22);n.d(t,"bootstrapdatepicker",(function(){return g["a"]}))},function(e,t,n){"use strict";function r(e,t){t=t||window.$,t&&!t.fn.bootstrapDP&&t.fn.datepicker&&t.fn.datepicker.noConflict&&(t.fn.bootstrapDP=t.fn.datepicker.noConflict(),t.fn.datepicker||(t.fn.datepicker=t.fn.bootstrapDP));var n={name:"bootstrapdatepicker",title:"Date picker",iconName:"icon-datepicker",widgetIsLoaded:function(){return!!t&&!!t.fn.bootstrapDP},isFit:function(e){return"bootstrapdatepicker"===e.getType()},htmlTemplate:"",activatedByChanged:function(t){e.JsonObject.metaData.addClass("bootstrapdatepicker",[{name:"inputType",visible:!1},{name:"inputFormat",visible:!1},{name:"inputMask",visible:!1}],null,"text"),e.JsonObject.metaData.addProperties("bootstrapdatepicker",[{name:"dateFormat",category:"general",default:"mm/dd/yyyy"},{name:"startDate",category:"general",default:""},{name:"endDate",category:"general",default:""},{name:"todayHighlight:boolean",category:"general",default:!0},{name:"weekStart:number",category:"general",default:0},{name:"clearBtn:boolean",category:"general",default:!1},{name:"autoClose:boolean",category:"general",default:!0},{name:"daysOfWeekHighlighted:string",category:"general",default:""},{name:"disableTouchKeyboard:boolean",category:"general",default:!0}])},afterRender:function(e,n){var r=t(n).is(".widget-datepicker")?t(n):t(n).find(".widget-datepicker"),o=r.bootstrapDP({enableOnReadonly:!1,format:e.dateFormat,startDate:e.startDate?e.startDate:e.renderedMin,endDate:e.endDate?e.endDate:e.renderedMax,todayHighlight:e.todayHighlight,weekStart:e.weekStart,clearBtn:e.clearBtn,autoclose:e.autoClose,daysOfWeekHighlighted:e.daysOfWeekHighlighted,disableTouchKeyboard:e.disableTouchKeyboard}).on("change",(function(t){var n=o.bootstrapDP("getUTCDate"),r=n&&n.toUTCString();e.value!=r&&(e.value=r)}));e.valueChangedCallback=function(){o.bootstrapDP("setUTCDate",e.value?new Date(e.value):"")},e.valueChangedCallback(),e.readOnlyChangedCallback=function(){e.isReadOnly?r.prop("readonly",!0):r.removeAttr("readonly")},e.readOnlyChangedCallback()},willUnmount:function(e,n){var r=t(n).is(".widget-datepicker")?t(n):t(n).find(".widget-datepicker");r.bootstrapDP("destroy"),e.readOnlyChangedCallback=void 0,e.valueChangedCallback=void 0},pdfQuestionType:"text"};e.CustomWidgetCollection.Instance.addCustomWidget(n,"customtype")}"undefined"!==typeof Survey&&r(Survey,window.$),t["a"]=r}])}))},"1b6e":function(e,t,n){ /*! * surveyjs - Survey JavaScript library v1.8.51 * Copyright (c) 2015-2021 Devsoft Baltic OÜ - http://surveyjs.io/ * License: MIT (http://www.opensource.org/licenses/mit-license.php) */ (function(t,r){e.exports=r(n("a026"))})(0,(function(e){return function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"===typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e["default"]}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s="./src/entries/vue.ts")}({"./node_modules/signature_pad/dist/signature_pad.mjs": /*!***********************************************************!*\ !*** ./node_modules/signature_pad/dist/signature_pad.mjs ***! \***********************************************************/ /*! exports provided: default */function(e,t,n){"use strict"; /*! * Signature Pad v2.3.2 * https://github.com/szimek/signature_pad * * Copyright 2017 Szymon Nowak * Released under the MIT license * * The main idea and some parts of the code (e.g. drawing variable width Bézier curve) are taken from: * http://corner.squareup.com/2012/07/smoother-signatures.html * * Implementation of interpolation using cubic Bézier curves is taken from: * http://benknowscode.wordpress.com/2012/09/14/path-interpolation-using-cubic-bezier-and-control-point-estimation-in-javascript * * Algorithm for approximated length of a Bézier curve is taken from: * http://www.lemoda.net/maths/bezier-length/index.html * */ function r(e,t,n){this.x=e,this.y=t,this.time=n||(new Date).getTime()}function o(e,t,n,r){this.startPoint=e,this.control1=t,this.control2=n,this.endPoint=r}function i(e,t,n){var r,o,i,s=null,a=0;n||(n={});var l=function(){a=!1===n.leading?0:Date.now(),s=null,i=e.apply(r,o),s||(r=o=null)};return function(){var u=Date.now();a||!1!==n.leading||(a=u);var c=t-(u-a);return r=this,o=arguments,c<=0||c>t?(s&&(clearTimeout(s),s=null),a=u,i=e.apply(r,o),s||(r=o=null)):s||!1===n.trailing||(s=setTimeout(l,c)),i}}function s(e,t){var n=this,r=t||{};this.velocityFilterWeight=r.velocityFilterWeight||.7,this.minWidth=r.minWidth||.5,this.maxWidth=r.maxWidth||2.5,this.throttle="throttle"in r?r.throttle:16,this.minDistance="minDistance"in r?r.minDistance:5,this.throttle?this._strokeMoveUpdate=i(s.prototype._strokeUpdate,this.throttle):this._strokeMoveUpdate=s.prototype._strokeUpdate,this.dotSize=r.dotSize||function(){return(this.minWidth+this.maxWidth)/2},this.penColor=r.penColor||"black",this.backgroundColor=r.backgroundColor||"rgba(0,0,0,0)",this.onBegin=r.onBegin,this.onEnd=r.onEnd,this._canvas=e,this._ctx=e.getContext("2d"),this.clear(),this._handleMouseDown=function(e){1===e.which&&(n._mouseButtonDown=!0,n._strokeBegin(e))},this._handleMouseMove=function(e){n._mouseButtonDown&&n._strokeMoveUpdate(e)},this._handleMouseUp=function(e){1===e.which&&n._mouseButtonDown&&(n._mouseButtonDown=!1,n._strokeEnd(e))},this._handleTouchStart=function(e){if(1===e.targetTouches.length){var t=e.changedTouches[0];n._strokeBegin(t)}},this._handleTouchMove=function(e){e.preventDefault();var t=e.targetTouches[0];n._strokeMoveUpdate(t)},this._handleTouchEnd=function(e){var t=e.target===n._canvas;t&&(e.preventDefault(),n._strokeEnd(e))},this.on()}n.r(t),r.prototype.velocityFrom=function(e){return this.time!==e.time?this.distanceTo(e)/(this.time-e.time):1},r.prototype.distanceTo=function(e){return Math.sqrt(Math.pow(this.x-e.x,2)+Math.pow(this.y-e.y,2))},r.prototype.equals=function(e){return this.x===e.x&&this.y===e.y&&this.time===e.time},o.prototype.length=function(){for(var e=10,t=0,n=void 0,r=void 0,o=0;o<=e;o+=1){var i=o/e,s=this._point(i,this.startPoint.x,this.control1.x,this.control2.x,this.endPoint.x),a=this._point(i,this.startPoint.y,this.control1.y,this.control2.y,this.endPoint.y);if(o>0){var l=s-n,u=a-r;t+=Math.sqrt(l*l+u*u)}n=s,r=a}return t},o.prototype._point=function(e,t,n,r,o){return t*(1-e)*(1-e)*(1-e)+3*n*(1-e)*(1-e)*e+3*r*(1-e)*e*e+o*e*e*e},s.prototype.clear=function(){var e=this._ctx,t=this._canvas;e.fillStyle=this.backgroundColor,e.clearRect(0,0,t.width,t.height),e.fillRect(0,0,t.width,t.height),this._data=[],this._reset(),this._isEmpty=!0},s.prototype.fromDataURL=function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=new Image,o=n.ratio||window.devicePixelRatio||1,i=n.width||this._canvas.width/o,s=n.height||this._canvas.height/o;this._reset(),r.src=e,r.onload=function(){t._ctx.drawImage(r,0,0,i,s)},this._isEmpty=!1},s.prototype.toDataURL=function(e){var t;switch(e){case"image/svg+xml":return this._toSVG();default:for(var n=arguments.length,r=Array(n>1?n-1:0),o=1;o2,n=this.points[0];if(!t&&n&&this._drawDot(n),n){var r=this._data[this._data.length-1],o=r[r.length-1];n.equals(o)||r.push({x:n.x,y:n.y,time:n.time,color:this.penColor})}"function"===typeof this.onEnd&&this.onEnd(e)},s.prototype._handleMouseEvents=function(){this._mouseButtonDown=!1,this._canvas.addEventListener("mousedown",this._handleMouseDown),this._canvas.addEventListener("mousemove",this._handleMouseMove),document.addEventListener("mouseup",this._handleMouseUp)},s.prototype._handleTouchEvents=function(){this._canvas.style.msTouchAction="none",this._canvas.style.touchAction="none",this._canvas.addEventListener("touchstart",this._handleTouchStart),this._canvas.addEventListener("touchmove",this._handleTouchMove),this._canvas.addEventListener("touchend",this._handleTouchEnd)},s.prototype._reset=function(){this.points=[],this._lastVelocity=0,this._lastWidth=(this.minWidth+this.maxWidth)/2,this._ctx.fillStyle=this.penColor},s.prototype._createPoint=function(e,t,n){var o=this._canvas.getBoundingClientRect();return new r(e-o.left,t-o.top,n||(new Date).getTime())},s.prototype._addPoint=function(e){var t=this.points,n=void 0;if(t.push(e),t.length>2){3===t.length&&t.unshift(t[0]),n=this._calculateCurveControlPoints(t[0],t[1],t[2]);var r=n.c2;n=this._calculateCurveControlPoints(t[1],t[2],t[3]);var i=n.c1,s=new o(t[1],r,i,t[2]),a=this._calculateCurveWidths(s);return t.shift(),{curve:s,widths:a}}return{}},s.prototype._calculateCurveControlPoints=function(e,t,n){var o=e.x-t.x,i=e.y-t.y,s=t.x-n.x,a=t.y-n.y,l={x:(e.x+t.x)/2,y:(e.y+t.y)/2},u={x:(t.x+n.x)/2,y:(t.y+n.y)/2},c=Math.sqrt(o*o+i*i),d=Math.sqrt(s*s+a*a),p=l.x-u.x,h=l.y-u.y,f=d/(c+d),m={x:u.x+p*f,y:u.y+h*f},v=t.x-m.x,g=t.y-m.y;return{c1:new r(l.x+v,l.y+g),c2:new r(u.x+v,u.y+g)}},s.prototype._calculateCurveWidths=function(e){var t=e.startPoint,n=e.endPoint,r={start:null,end:null},o=this.velocityFilterWeight*n.velocityFrom(t)+(1-this.velocityFilterWeight)*this._lastVelocity,i=this._strokeWidth(o);return r.start=this._lastWidth,r.end=i,this._lastVelocity=o,this._lastWidth=i,r},s.prototype._strokeWidth=function(e){return Math.max(this.maxWidth/(e+1),this.minWidth)},s.prototype._drawPoint=function(e,t,n){var r=this._ctx;r.moveTo(e,t),r.arc(e,t,n,0,2*Math.PI,!1),this._isEmpty=!1},s.prototype._drawCurve=function(e,t,n){var r=this._ctx,o=n-t,i=Math.floor(e.length());r.beginPath();for(var s=0;s1)for(var s=0;s',d=l.innerHTML;if(void 0===d){var p=document.createElement("dummy"),h=l.childNodes;p.innerHTML="";for(var f=0;f * @author owenm * @license MIT */ function r(e){return r="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}function o(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function i(){return i=Object.assign||function(e){for(var t=1;t=0||(o[n]=e[n]);return o}function l(e,t){if(null==e)return{};var n,r,o=a(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function u(e){return c(e)||d(e)||p()}function c(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t"===t[0]&&(t=t.substring(1)),e)try{if(e.matches)return e.matches(t);if(e.msMatchesSelector)return e.msMatchesSelector(t);if(e.webkitMatchesSelector)return e.webkitMatchesSelector(t)}catch(n){return!1}return!1}}function S(e){return e.host&&e!==document&&e.host.nodeType?e.host:e.parentNode}function O(e,t,n,r){if(e){n=n||document;do{if(null!=t&&(">"===t[0]?e.parentNode===n&&P(e,t):P(e,t))||r&&e===n)return e;if(e===n)break}while(e=S(e))}return null}var T,V=/\s+/g;function k(e,t,n){if(e&&t)if(e.classList)e.classList[n?"add":"remove"](t);else{var r=(" "+e.className+" ").replace(V," ").replace(" "+t+" "," ");e.className=(r+(n?" "+t:"")).replace(V," ")}}function E(e,t,n){var r=e&&e.style;if(r){if(void 0===n)return document.defaultView&&document.defaultView.getComputedStyle?n=document.defaultView.getComputedStyle(e,""):e.currentStyle&&(n=e.currentStyle),void 0===t?n:n[t];t in r||-1!==t.indexOf("webkit")||(t="-webkit-"+t),r[t]=n+("string"===typeof n?"":"px")}}function R(e,t){var n="";if("string"===typeof e)n=e;else do{var r=E(e,"transform");r&&"none"!==r&&(n=r+" "+n)}while(!t&&(e=e.parentNode));var o=window.DOMMatrix||window.WebKitCSSMatrix||window.CSSMatrix||window.MSCSSMatrix;return o&&new o(n)}function j(e,t,n){if(e){var r=e.getElementsByTagName(t),o=0,i=r.length;if(n)for(;o=i:o<=i,!s)return r;if(r===I())break;r=z(r,!1)}return!1}function A(e,t,n){var r=0,o=0,i=e.children;while(o2&&void 0!==arguments[2]?arguments[2]:{},r=n.evt,o=l(n,["evt"]);ne.pluginEvent.bind(Ye)(e,t,s({dragEl:se,parentEl:ae,ghostEl:le,rootEl:ue,nextEl:ce,lastDownEl:de,cloneEl:pe,cloneHidden:he,dragStarted:Oe,putSortable:be,activeSortable:Ye.active,originalEvent:r,oldIndex:fe,oldDraggableIndex:ve,newIndex:me,newDraggableIndex:ge,hideGhostForTarget:Je,unhideGhostForTarget:Ge,cloneNowHidden:function(){he=!0},cloneNowShown:function(){he=!1},dispatchSortableEvent:function(e){ie({sortable:t,name:e,originalEvent:r})}},o))};function ie(e){re(s({putSortable:be,cloneEl:pe,targetEl:se,rootEl:ue,oldIndex:fe,oldDraggableIndex:ve,newIndex:me,newDraggableIndex:ge},e))}var se,ae,le,ue,ce,de,pe,he,fe,me,ve,ge,ye,be,xe,we,_e,Ce,Pe,Se,Oe,Te,Ve,ke,Ee,Re=!1,je=!1,Ie=[],De=!1,qe=!1,Ae=[],Me=!1,Le=[],Ne="undefined"!==typeof document,Fe=b,ze=v||m?"cssFloat":"float",Be=Ne&&!x&&!b&&"draggable"in document.createElement("div"),Qe=function(){if(Ne){if(m)return!1;var e=document.createElement("x");return e.style.cssText="pointer-events:auto","auto"===e.style.pointerEvents}}(),He=function(e,t){var n=E(e),r=parseInt(n.width)-parseInt(n.paddingLeft)-parseInt(n.paddingRight)-parseInt(n.borderLeftWidth)-parseInt(n.borderRightWidth),o=A(e,0,t),i=A(e,1,t),s=o&&E(o),a=i&&E(i),l=s&&parseInt(s.marginLeft)+parseInt(s.marginRight)+D(o).width,u=a&&parseInt(a.marginLeft)+parseInt(a.marginRight)+D(i).width;if("flex"===n.display)return"column"===n.flexDirection||"column-reverse"===n.flexDirection?"vertical":"horizontal";if("grid"===n.display)return n.gridTemplateColumns.split(" ").length<=1?"vertical":"horizontal";if(o&&s["float"]&&"none"!==s["float"]){var c="left"===s["float"]?"left":"right";return!i||"both"!==a.clear&&a.clear!==c?"horizontal":"vertical"}return o&&("block"===s.display||"flex"===s.display||"table"===s.display||"grid"===s.display||l>=r&&"none"===n[ze]||i&&"none"===n[ze]&&l+u>r)?"vertical":"horizontal"},Ue=function(e,t,n){var r=n?e.left:e.top,o=n?e.right:e.bottom,i=n?e.width:e.height,s=n?t.left:t.top,a=n?t.right:t.bottom,l=n?t.width:t.height;return r===s||o===a||r+i/2===s+l/2},$e=function(e,t){var n;return Ie.some((function(r){if(!M(r)){var o=D(r),i=r[K].options.emptyInsertThreshold,s=e>=o.left-i&&e<=o.right+i,a=t>=o.top-i&&t<=o.bottom+i;return i&&s&&a?n=r:void 0}})),n},We=function(e){function t(e,n){return function(r,o,i,s){var a=r.options.group.name&&o.options.group.name&&r.options.group.name===o.options.group.name;if(null==e&&(n||a))return!0;if(null==e||!1===e)return!1;if(n&&"clone"===e)return e;if("function"===typeof e)return t(e(r,o,i,s),n)(r,o,i,s);var l=(n?r:o).options.group.name;return!0===e||"string"===typeof e&&e===l||e.join&&e.indexOf(l)>-1}}var n={},o=e.group;o&&"object"==r(o)||(o={name:o}),n.name=o.name,n.checkPull=t(o.pull,!0),n.checkPut=t(o.put),n.revertClone=o.revertClone,e.group=n},Je=function(){!Qe&&le&&E(le,"display","none")},Ge=function(){!Qe&&le&&E(le,"display","")};Ne&&document.addEventListener("click",(function(e){if(je)return e.preventDefault(),e.stopPropagation&&e.stopPropagation(),e.stopImmediatePropagation&&e.stopImmediatePropagation(),je=!1,!1}),!0);var Ke=function(e){if(se){e=e.touches?e.touches[0]:e;var t=$e(e.clientX,e.clientY);if(t){var n={};for(var r in e)e.hasOwnProperty(r)&&(n[r]=e[r]);n.target=n.rootEl=t,n.preventDefault=void 0,n.stopPropagation=void 0,t[K]._onDragOver(n)}}},Xe=function(e){se&&se.parentNode[K]._isOutsideThisEl(e.target)};function Ye(e,t){if(!e||!e.nodeType||1!==e.nodeType)throw"Sortable: `el` must be an HTMLElement, not ".concat({}.toString.call(e));this.el=e,this.options=t=i({},t),e[K]=this;var n={group:null,sort:!0,disabled:!1,store:null,handle:null,draggable:/^[uo]l$/i.test(e.nodeName)?">li":">*",swapThreshold:1,invertSwap:!1,invertedSwapThreshold:null,removeCloneOnHide:!0,direction:function(){return He(e,this.options)},ghostClass:"sortable-ghost",chosenClass:"sortable-chosen",dragClass:"sortable-drag",ignore:"a, img",filter:null,preventOnFilter:!0,animation:0,easing:null,setData:function(e,t){e.setData("Text",t.textContent)},dropBubble:!1,dragoverBubble:!1,dataIdAttr:"data-id",delay:0,delayOnTouchOnly:!1,touchStartThreshold:(Number.parseInt?Number:window).parseInt(window.devicePixelRatio,10)||1,forceFallback:!1,fallbackClass:"sortable-fallback",fallbackOnBody:!1,fallbackTolerance:0,fallbackOffset:{x:0,y:0},supportPointer:!1!==Ye.supportPointer&&"PointerEvent"in window&&!y,emptyInsertThreshold:5};for(var r in ne.initializePlugins(this,e,n),n)!(r in t)&&(t[r]=n[r]);for(var o in We(t),this)"_"===o.charAt(0)&&"function"===typeof this[o]&&(this[o]=this[o].bind(this));this.nativeDraggable=!t.forceFallback&&Be,this.nativeDraggable&&(this.options.touchStartThreshold=1),t.supportPointer?_(e,"pointerdown",this._onTapStart):(_(e,"mousedown",this._onTapStart),_(e,"touchstart",this._onTapStart)),this.nativeDraggable&&(_(e,"dragover",this),_(e,"dragenter",this)),Ie.push(this.el),t.store&&t.store.get&&this.sort(t.store.get(this)||[]),i(this,X())}function Ze(e){e.dataTransfer&&(e.dataTransfer.dropEffect="move"),e.cancelable&&e.preventDefault()}function et(e,t,n,r,o,i,s,a){var l,u,c=e[K],d=c.options.onMove;return!window.CustomEvent||m||v?(l=document.createEvent("Event"),l.initEvent("move",!0,!0)):l=new CustomEvent("move",{bubbles:!0,cancelable:!0}),l.to=t,l.from=e,l.dragged=n,l.draggedRect=r,l.related=o||t,l.relatedRect=i||D(t),l.willInsertAfter=a,l.originalEvent=s,e.dispatchEvent(l),d&&(u=d.call(c,l,s)),u}function tt(e){e.draggable=!1}function nt(){Me=!1}function rt(e,t,n){var r=D(M(n.el,n.options.draggable)),o=10;return t?e.clientX>r.right+o||e.clientX<=r.right&&e.clientY>r.bottom&&e.clientX>=r.left:e.clientX>r.right&&e.clientY>r.top||e.clientX<=r.right&&e.clientY>r.bottom+o}function ot(e,t,n,r,o,i,s,a){var l=r?e.clientY:e.clientX,u=r?n.height:n.width,c=r?n.top:n.left,d=r?n.bottom:n.right,p=!1;if(!s)if(a&&kec+u*i/2:ld-ke)return-Ve}else if(l>c+u*(1-o)/2&&ld-u*i/2)?l>c+u/2?1:-1:0}function it(e){return L(se)=Math.floor(this.options.touchStartThreshold/(this.nativeDraggable&&window.devicePixelRatio||1))&&this._disableDelayedDrag()},_disableDelayedDrag:function(){se&&tt(se),clearTimeout(this._dragStartTimer),this._disableDelayedDragEvents()},_disableDelayedDragEvents:function(){var e=this.el.ownerDocument;C(e,"mouseup",this._disableDelayedDrag),C(e,"touchend",this._disableDelayedDrag),C(e,"touchcancel",this._disableDelayedDrag),C(e,"mousemove",this._delayedDragTouchMoveHandler),C(e,"touchmove",this._delayedDragTouchMoveHandler),C(e,"pointermove",this._delayedDragTouchMoveHandler)},_triggerDragStart:function(e,t){t=t||"touch"==e.pointerType&&e,!this.nativeDraggable||t?this.options.supportPointer?_(document,"pointermove",this._onTouchMove):_(document,t?"touchmove":"mousemove",this._onTouchMove):(_(se,"dragend",this),_(ue,"dragstart",this._onDragStart));try{document.selection?lt((function(){document.selection.empty()})):window.getSelection().removeAllRanges()}catch(n){}},_dragStarted:function(e,t){if(Re=!1,ue&&se){oe("dragStarted",this,{evt:t}),this.nativeDraggable&&_(document,"dragover",Xe);var n=this.options;!e&&k(se,n.dragClass,!1),k(se,n.ghostClass,!0),Ye.active=this,e&&this._appendGhost(),ie({sortable:this,name:"start",originalEvent:t})}else this._nulling()},_emulateDragOver:function(){if(we){this._lastX=we.clientX,this._lastY=we.clientY,Je();var e=document.elementFromPoint(we.clientX,we.clientY),t=e;while(e&&e.shadowRoot){if(e=e.shadowRoot.elementFromPoint(we.clientX,we.clientY),e===t)break;t=e}if(se.parentNode[K]._isOutsideThisEl(e),t)do{if(t[K]){var n=void 0;if(n=t[K]._onDragOver({clientX:we.clientX,clientY:we.clientY,target:e,rootEl:t}),n&&!this.options.dragoverBubble)break}e=t}while(t=t.parentNode);Ge()}},_onTouchMove:function(e){if(xe){var t=this.options,n=t.fallbackTolerance,r=t.fallbackOffset,o=e.touches?e.touches[0]:e,i=le&&R(le,!0),s=le&&i&&i.a,a=le&&i&&i.d,l=Fe&&Ee&&N(Ee),u=(o.clientX-xe.clientX+r.x)/(s||1)+(l?l[0]-Ae[0]:0)/(s||1),c=(o.clientY-xe.clientY+r.y)/(a||1)+(l?l[1]-Ae[1]:0)/(a||1);if(!Ye.active&&!Re){if(n&&Math.max(Math.abs(o.clientX-this._lastX),Math.abs(o.clientY-this._lastY))=0&&(ie({rootEl:ae,name:"add",toEl:ae,fromEl:ue,originalEvent:e}),ie({sortable:this,name:"remove",toEl:ae,originalEvent:e}),ie({rootEl:ae,name:"sort",toEl:ae,fromEl:ue,originalEvent:e}),ie({sortable:this,name:"sort",toEl:ae,originalEvent:e})),be&&be.save()):me!==fe&&me>=0&&(ie({sortable:this,name:"update",toEl:ae,originalEvent:e}),ie({sortable:this,name:"sort",toEl:ae,originalEvent:e})),Ye.active&&(null!=me&&-1!==me||(me=fe,ge=ve),ie({sortable:this,name:"end",toEl:ae,originalEvent:e}),this.save())))),this._nulling()},_nulling:function(){oe("nulling",this),ue=se=ae=le=ce=pe=de=he=xe=we=Oe=me=ge=fe=ve=Te=Ve=be=ye=Ye.dragged=Ye.ghost=Ye.clone=Ye.active=null,Le.forEach((function(e){e.checked=!0})),Le.length=_e=Ce=0},handleEvent:function(e){switch(e.type){case"drop":case"dragend":this._onDrop(e);break;case"dragenter":case"dragover":se&&(this._onDragOver(e),Ze(e));break;case"selectstart":e.preventDefault();break}},toArray:function(){for(var e,t=[],n=this.el.children,r=0,o=n.length,i=this.options;r1&&(It.forEach((function(e){r.addAnimationState({target:e,rect:At?D(e):o}),G(e),e.fromRect=o,t.removeAnimationState(e)})),At=!1,Nt(!this.options.removeCloneOnHide,n))},dragOverCompleted:function(e){var t=e.sortable,n=e.isOwner,r=e.insertion,o=e.activeSortable,i=e.parentEl,s=e.putSortable,a=this.options;if(r){if(n&&o._hideClone(),qt=!1,a.animation&&It.length>1&&(At||!n&&!o.options.sort&&!s)){var l=D(Et,!1,!0,!0);It.forEach((function(e){e!==Et&&(J(e,l),i.appendChild(e))})),At=!0}if(!n)if(At||zt(),It.length>1){var u=jt;o._showClone(t),o.options.animation&&!jt&&u&&Dt.forEach((function(e){o.addAnimationState({target:e,rect:Rt}),e.fromRect=Rt,e.thisAnimationDuration=null}))}else o._showClone(t)}},dragOverAnimationCapture:function(e){var t=e.dragRect,n=e.isOwner,r=e.activeSortable;if(It.forEach((function(e){e.thisAnimationDuration=null})),r.options.animation&&!n&&r.multiDrag.isMultiDrag){Rt=i({},t);var o=R(Et,!0);Rt.top-=o.f,Rt.left-=o.e}},dragOverAnimationComplete:function(){At&&(At=!1,zt())},drop:function(e){var t=e.originalEvent,n=e.rootEl,r=e.parentEl,o=e.sortable,i=e.dispatchSortableEvent,s=e.oldIndex,a=e.putSortable,l=a||this.sortable;if(t){var u=this.options,c=r.children;if(!Mt)if(u.multiDragKey&&!this.multiDragKeyDown&&this._deselectMultiDrag(),k(Et,u.selectedClass,!~It.indexOf(Et)),~It.indexOf(Et))It.splice(It.indexOf(Et),1),Vt=null,re({sortable:o,rootEl:n,name:"deselect",targetEl:Et,originalEvt:t});else{if(It.push(Et),re({sortable:o,rootEl:n,name:"select",targetEl:Et,originalEvt:t}),t.shiftKey&&Vt&&o.el.contains(Vt)){var d,p,h=L(Vt),f=L(Et);if(~h&&~f&&h!==f)for(f>h?(p=h,d=f):(p=f,d=h+1);p1){var m=D(Et),v=L(Et,":not(."+this.options.selectedClass+")");if(!qt&&u.animation&&(Et.thisAnimationDuration=null),l.captureAnimationState(),!qt&&(u.animation&&(Et.fromRect=m,It.forEach((function(e){if(e.thisAnimationDuration=null,e!==Et){var t=At?D(e):m;e.fromRect=t,l.addAnimationState({target:e,rect:t})}}))),zt(),It.forEach((function(e){c[v]?r.insertBefore(e,c[v]):r.appendChild(e),v++})),s===L(Et))){var g=!1;It.forEach((function(e){e.sortableIndex===L(e)||(g=!0)})),g&&i("update")}It.forEach((function(e){G(e)})),l.animateAll()}kt=l}(n===r||a&&"clone"!==a.lastPutMode)&&Dt.forEach((function(e){e.parentNode&&e.parentNode.removeChild(e)}))}},nullingGlobal:function(){this.isMultiDrag=Mt=!1,Dt.length=0},destroyGlobal:function(){this._deselectMultiDrag(),C(document,"pointerup",this._deselectMultiDrag),C(document,"mouseup",this._deselectMultiDrag),C(document,"touchend",this._deselectMultiDrag),C(document,"keydown",this._checkKeyDown),C(document,"keyup",this._checkKeyUp)},_deselectMultiDrag:function(e){if(("undefined"===typeof Mt||!Mt)&&kt===this.sortable&&(!e||!O(e.target,this.options.draggable,this.sortable.el,!1))&&(!e||0===e.button))while(It.length){var t=It[0];k(t,this.options.selectedClass,!1),It.shift(),re({sortable:this.sortable,rootEl:this.sortable.el,name:"deselect",targetEl:t,originalEvt:e})}},_checkKeyDown:function(e){e.key===this.options.multiDragKey&&(this.multiDragKeyDown=!0)},_checkKeyUp:function(e){e.key===this.options.multiDragKey&&(this.multiDragKeyDown=!1)}},i(e,{pluginName:"multiDrag",utils:{select:function(e){var t=e.parentNode[K];t&&t.options.multiDrag&&!~It.indexOf(e)&&(kt&&kt!==t&&(kt.multiDrag._deselectMultiDrag(),kt=t),k(e,t.options.selectedClass,!0),It.push(e))},deselect:function(e){var t=e.parentNode[K],n=It.indexOf(e);t&&t.options.multiDrag&&~n&&(k(e,t.options.selectedClass,!1),It.splice(n,1))}},eventProperties:function(){var e=this,t=[],n=[];return It.forEach((function(r){var o;t.push({multiDragElement:r,index:r.sortableIndex}),o=At&&r!==Et?-1:At?L(r,":not(."+e.options.selectedClass+")"):L(r),n.push({multiDragElement:r,index:o})})),{items:u(It),clones:[].concat(Dt),oldIndicies:t,newIndicies:n}},optionListeners:{multiDragKey:function(e){return e=e.toLowerCase(),"ctrl"===e?e="Control":e.length>1&&(e=e.charAt(0).toUpperCase()+e.substr(1)),e}}})}function Nt(e,t){It.forEach((function(n,r){var o=t.children[n.sortableIndex+(e?Number(r):0)];o?t.insertBefore(n,o):t.appendChild(n)}))}function Ft(e,t){Dt.forEach((function(n,r){var o=t.children[n.sortableIndex+(e?Number(r):0)];o?t.insertBefore(n,o):t.appendChild(n)}))}function zt(){It.forEach((function(e){e!==Et&&e.parentNode&&e.parentNode.removeChild(e)}))}Ye.mount(new yt),Ye.mount(St,Pt),t["default"]=Ye},"./node_modules/ts-loader/index.js?!./node_modules/vue-loader/lib/index.js?!./src/vue/boolean-checkbox.vue?vue&type=script&lang=ts&": /*!**************************************************************************************************************************************************!*\ !*** ./node_modules/ts-loader??ref--0!./node_modules/vue-loader/lib??vue-loader-options!./src/vue/boolean-checkbox.vue?vue&type=script&lang=ts& ***! \**************************************************************************************************************************************************/ /*! exports provided: BooleanCheckbox, default */function(e,t,n){"use strict";n.r(t),n.d(t,"BooleanCheckbox",(function(){return c}));var r=n(/*! vue */"vue"),o=n.n(r),i=n(/*! vue-property-decorator */"./node_modules/vue-property-decorator/lib/index.js"),s=n(/*! ./boolean */"./src/vue/boolean.ts"),a=n(/*! survey-core */"./src/entries/core.ts"),l=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){if("function"!==typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),u=function(e,t,n,r){var o,i=arguments.length,s=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)s=Reflect.decorate(e,t,n,r);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(i<3?o(s):i>3?o(t,n,s):o(t,n))||s);return i>3&&s&&Object.defineProperty(t,n,s),s},c=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return l(t,e),t=u([i["Component"]],t),t}(s["Boolean"]);o.a.component("sv-boolean-checkbox",c),a["RendererFactory"].Instance.registerRenderer("boolean","checkbox","sv-boolean-checkbox"),t["default"]=c},"./node_modules/ts-loader/index.js?!./node_modules/vue-loader/lib/index.js?!./src/vue/boolean-switch.vue?vue&type=script&lang=ts&": /*!************************************************************************************************************************************************!*\ !*** ./node_modules/ts-loader??ref--0!./node_modules/vue-loader/lib??vue-loader-options!./src/vue/boolean-switch.vue?vue&type=script&lang=ts& ***! \************************************************************************************************************************************************/ /*! exports provided: BooleanSwitch, default */function(e,t,n){"use strict";n.r(t),n.d(t,"BooleanSwitch",(function(){return u}));var r=n(/*! vue */"vue"),o=n.n(r),i=n(/*! vue-property-decorator */"./node_modules/vue-property-decorator/lib/index.js"),s=n(/*! ./boolean */"./src/vue/boolean.ts"),a=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){if("function"!==typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),l=function(e,t,n,r){var o,i=arguments.length,s=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)s=Reflect.decorate(e,t,n,r);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(i<3?o(s):i>3?o(t,n,s):o(t,n))||s);return i>3&&s&&Object.defineProperty(t,n,s),s},u=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return a(t,e),t=l([i["Component"]],t),t}(s["Boolean"]);o.a.component("survey-boolean",u),t["default"]=u},"./node_modules/ts-loader/index.js?!./node_modules/vue-loader/lib/index.js?!./src/vue/buttongroup.vue?vue&type=script&lang=ts&": /*!*********************************************************************************************************************************************!*\ !*** ./node_modules/ts-loader??ref--0!./node_modules/vue-loader/lib??vue-loader-options!./src/vue/buttongroup.vue?vue&type=script&lang=ts& ***! \*********************************************************************************************************************************************/ /*! exports provided: ButtonGroup, default */function(e,t,n){"use strict";n.r(t),n.d(t,"ButtonGroup",(function(){return a}));var r=n(/*! vue-property-decorator */"./node_modules/vue-property-decorator/lib/index.js"),o=n(/*! ./question */"./src/vue/question.ts"),i=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){if("function"!==typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),s=function(e,t,n,r){var o,i=arguments.length,s=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)s=Reflect.decorate(e,t,n,r);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(i<3?o(s):i>3?o(t,n,s):o(t,n))||s);return i>3&&s&&Object.defineProperty(t,n,s),s},a=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),t.prototype.getModel=function(){return this.question},s([Object(r["Prop"])()],t.prototype,"question",void 0),t=s([r["Component"]],t),t}(o["QuestionVue"]);t["default"]=a},"./node_modules/ts-loader/index.js?!./node_modules/vue-loader/lib/index.js?!./src/vue/buttongroupitem.vue?vue&type=script&lang=ts&": /*!*************************************************************************************************************************************************!*\ !*** ./node_modules/ts-loader??ref--0!./node_modules/vue-loader/lib??vue-loader-options!./src/vue/buttongroupitem.vue?vue&type=script&lang=ts& ***! \*************************************************************************************************************************************************/ /*! exports provided: ButtonGroupItem, default */function(e,t,n){"use strict";n.r(t),n.d(t,"ButtonGroupItem",(function(){return c}));var r=n(/*! vue-property-decorator */"./node_modules/vue-property-decorator/lib/index.js"),o=n(/*! vue */"vue"),i=n.n(o),s=n(/*! survey-core */"./src/entries/core.ts"),a=n(/*! ./base */"./src/vue/base.ts"),l=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){if("function"!==typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),u=function(e,t,n,r){var o,i=arguments.length,s=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)s=Reflect.decorate(e,t,n,r);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(i<3?o(s):i>3?o(t,n,s):o(t,n))||s);return i>3&&s&&Object.defineProperty(t,n,s),s},c=function(e){function t(t){var n=e.call(this,t)||this;return n.model=new s["ButtonGroupItemModel"](n.question,n.item,n.index),n}return l(t,e),t.prototype.getModel=function(){return this.item},u([Object(r["Prop"])()],t.prototype,"item",void 0),u([Object(r["Prop"])()],t.prototype,"question",void 0),u([Object(r["Prop"])()],t.prototype,"index",void 0),t=u([r["Component"]],t),t}(a["BaseVue"]);i.a.component("sv-button-group-item",c),t["default"]=c},"./node_modules/ts-loader/index.js?!./node_modules/vue-loader/lib/index.js?!./src/vue/checkbox.vue?vue&type=script&lang=ts&": /*!******************************************************************************************************************************************!*\ !*** ./node_modules/ts-loader??ref--0!./node_modules/vue-loader/lib??vue-loader-options!./src/vue/checkbox.vue?vue&type=script&lang=ts& ***! \******************************************************************************************************************************************/ /*! exports provided: Checkbox, default */function(e,t,n){"use strict";n.r(t),n.d(t,"Checkbox",(function(){return u}));var r=n(/*! vue */"vue"),o=n.n(r),i=n(/*! vue-property-decorator */"./node_modules/vue-property-decorator/lib/index.js"),s=n(/*! ./question */"./src/vue/question.ts"),a=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){if("function"!==typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),l=function(e,t,n,r){var o,i=arguments.length,s=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)s=Reflect.decorate(e,t,n,r);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(i<3?o(s):i>3?o(t,n,s):o(t,n))||s);return i>3&&s&&Object.defineProperty(t,n,s),s},u=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return a(t,e),t.prototype.getItemClass=function(e){return this.question.getItemClass(e)},t=l([i["Component"]],t),t}(s["default"]);o.a.component("survey-checkbox",u),t["default"]=u},"./node_modules/ts-loader/index.js?!./node_modules/vue-loader/lib/index.js?!./src/vue/checkboxitem.vue?vue&type=script&lang=ts&": /*!**********************************************************************************************************************************************!*\ !*** ./node_modules/ts-loader??ref--0!./node_modules/vue-loader/lib??vue-loader-options!./src/vue/checkboxitem.vue?vue&type=script&lang=ts& ***! \**********************************************************************************************************************************************/ /*! exports provided: CheckboxItem, default */function(e,t,n){"use strict";n.r(t),n.d(t,"CheckboxItem",(function(){return u}));var r=n(/*! vue */"vue"),o=n.n(r),i=n(/*! vue-property-decorator */"./node_modules/vue-property-decorator/lib/index.js"),s=n(/*! ./base */"./src/vue/base.ts"),a=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){if("function"!==typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),l=function(e,t,n,r){var o,i=arguments.length,s=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)s=Reflect.decorate(e,t,n,r);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(i<3?o(s):i>3?o(t,n,s):o(t,n))||s);return i>3&&s&&Object.defineProperty(t,n,s),s},u=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return a(t,e),t.prototype.getModel=function(){return this.item},Object.defineProperty(t.prototype,"isAllSelected",{get:function(){return this.question.isAllSelected},set:function(e){this.question.isAllSelected=e},enumerable:!1,configurable:!0}),t.prototype.getLabelClass=function(e){return this.question.getLabelClass(e)},l([Object(i["Prop"])()],t.prototype,"question",void 0),l([Object(i["Prop"])()],t.prototype,"item",void 0),l([Object(i["Prop"])()],t.prototype,"index",void 0),l([Object(i["Prop"])()],t.prototype,"hideLabel",void 0),t=l([i["Component"]],t),t}(s["BaseVue"]);o.a.component("survey-checkbox-item",u),t["default"]=u},"./node_modules/ts-loader/index.js?!./node_modules/vue-loader/lib/index.js?!./src/vue/comment.vue?vue&type=script&lang=ts&": /*!*****************************************************************************************************************************************!*\ !*** ./node_modules/ts-loader??ref--0!./node_modules/vue-loader/lib??vue-loader-options!./src/vue/comment.vue?vue&type=script&lang=ts& ***! \*****************************************************************************************************************************************/ /*! exports provided: Comment, default */function(e,t,n){"use strict";n.r(t),n.d(t,"Comment",(function(){return u}));var r=n(/*! vue */"vue"),o=n.n(r),i=n(/*! vue-property-decorator */"./node_modules/vue-property-decorator/lib/index.js"),s=n(/*! ./question */"./src/vue/question.ts"),a=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){if("function"!==typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),l=function(e,t,n,r){var o,i=arguments.length,s=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)s=Reflect.decorate(e,t,n,r);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(i<3?o(s):i>3?o(t,n,s):o(t,n))||s);return i>3&&s&&Object.defineProperty(t,n,s),s},u=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return a(t,e),t.prototype.change=function(e){this.question.value=e.target.value},t.prototype.keyup=function(e){this.question.isInputTextUpdate&&(this.question.value=e.target.value)},t=l([i["Component"]],t),t}(s["default"]);o.a.component("survey-comment",u),t["default"]=u},"./node_modules/ts-loader/index.js?!./node_modules/vue-loader/lib/index.js?!./src/vue/components/action-bar/action-bar-item-dropdown.vue?vue&type=script&lang=ts&": /*!********************************************************************************************************************************************************************************!*\ !*** ./node_modules/ts-loader??ref--0!./node_modules/vue-loader/lib??vue-loader-options!./src/vue/components/action-bar/action-bar-item-dropdown.vue?vue&type=script&lang=ts& ***! \********************************************************************************************************************************************************************************/ /*! exports provided: ActionBarItemDropdownViewModel, default */function(e,t,n){"use strict";n.r(t),n.d(t,"ActionBarItemDropdownViewModel",(function(){return u}));var r=n(/*! vue-property-decorator */"./node_modules/vue-property-decorator/lib/index.js"),o=n(/*! vue */"vue"),i=n.n(o),s=n(/*! ./action-bar-item.vue */"./src/vue/components/action-bar/action-bar-item.vue"),a=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){if("function"!==typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),l=function(e,t,n,r){var o,i=arguments.length,s=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)s=Reflect.decorate(e,t,n,r);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(i<3?o(s):i>3?o(t,n,s):o(t,n))||s);return i>3&&s&&Object.defineProperty(t,n,s),s},u=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return a(t,e),t=l([r["Component"]],t),t}(s["default"]);i.a.component("sv-action-bar-item-dropdown",u),t["default"]=u},"./node_modules/ts-loader/index.js?!./node_modules/vue-loader/lib/index.js?!./src/vue/components/action-bar/action-bar-item.vue?vue&type=script&lang=ts&": /*!***********************************************************************************************************************************************************************!*\ !*** ./node_modules/ts-loader??ref--0!./node_modules/vue-loader/lib??vue-loader-options!./src/vue/components/action-bar/action-bar-item.vue?vue&type=script&lang=ts& ***! \***********************************************************************************************************************************************************************/ /*! exports provided: ActionBarItemViewModel, default */function(e,t,n){"use strict";n.r(t),n.d(t,"ActionBarItemViewModel",(function(){return u}));var r=n(/*! vue */"vue"),o=n.n(r),i=n(/*! vue-property-decorator */"./node_modules/vue-property-decorator/lib/index.js"),s=n(/*! ../../base */"./src/vue/base.ts"),a=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){if("function"!==typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),l=function(e,t,n,r){var o,i=arguments.length,s=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)s=Reflect.decorate(e,t,n,r);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(i<3?o(s):i>3?o(t,n,s):o(t,n))||s);return i>3&&s&&Object.defineProperty(t,n,s),s},u=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return a(t,e),t.prototype.getModel=function(){return this.item.stateItem},l([Object(i["Prop"])()],t.prototype,"item",void 0),t=l([i["Component"]],t),t}(s["default"]);o.a.component("sv-action-bar-item",u),t["default"]=u},"./node_modules/ts-loader/index.js?!./node_modules/vue-loader/lib/index.js?!./src/vue/components/action-bar/action-bar-separator.vue?vue&type=script&lang=ts&": /*!****************************************************************************************************************************************************************************!*\ !*** ./node_modules/ts-loader??ref--0!./node_modules/vue-loader/lib??vue-loader-options!./src/vue/components/action-bar/action-bar-separator.vue?vue&type=script&lang=ts& ***! \****************************************************************************************************************************************************************************/ /*! exports provided: ActionBarSeparatorViewModel, default */function(e,t,n){"use strict";n.r(t),n.d(t,"ActionBarSeparatorViewModel",(function(){return l}));var r=n(/*! vue */"vue"),o=n.n(r),i=n(/*! vue-property-decorator */"./node_modules/vue-property-decorator/lib/index.js"),s=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){if("function"!==typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),a=function(e,t,n,r){var o,i=arguments.length,s=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)s=Reflect.decorate(e,t,n,r);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(i<3?o(s):i>3?o(t,n,s):o(t,n))||s);return i>3&&s&&Object.defineProperty(t,n,s),s},l=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return s(t,e),Object.defineProperty(t.prototype,"innerCss",{get:function(){return this.item&&this.item.innerCss},enumerable:!1,configurable:!0}),a([Object(i["Prop"])()],t.prototype,"item",void 0),t=a([i["Component"]],t),t}(o.a);o.a.component("sv-action-bar-separator",l),t["default"]=l},"./node_modules/ts-loader/index.js?!./node_modules/vue-loader/lib/index.js?!./src/vue/components/action-bar/action-bar.vue?vue&type=script&lang=ts&": /*!******************************************************************************************************************************************************************!*\ !*** ./node_modules/ts-loader??ref--0!./node_modules/vue-loader/lib??vue-loader-options!./src/vue/components/action-bar/action-bar.vue?vue&type=script&lang=ts& ***! \******************************************************************************************************************************************************************/ /*! exports provided: ActionBarItemViewModel, ActionBarItemDropdownViewModel, ActionBarSeparatorViewModel, ActionBarViewModel, default */function(e,t,n){"use strict";n.r(t),n.d(t,"ActionBarViewModel",(function(){return p}));var r=n(/*! vue-property-decorator */"./node_modules/vue-property-decorator/lib/index.js"),o=n(/*! vue */"vue"),i=n.n(o),s=n(/*! survey-core */"./src/entries/core.ts"),a=n(/*! ./action-bar-item.vue */"./src/vue/components/action-bar/action-bar-item.vue");n.d(t,"ActionBarItemViewModel",(function(){return a["ActionBarItemViewModel"]}));var l=n(/*! ./action-bar-item-dropdown.vue */"./src/vue/components/action-bar/action-bar-item-dropdown.vue");n.d(t,"ActionBarItemDropdownViewModel",(function(){return l["ActionBarItemDropdownViewModel"]}));var u=n(/*! ./action-bar-separator.vue */"./src/vue/components/action-bar/action-bar-separator.vue");n.d(t,"ActionBarSeparatorViewModel",(function(){return u["ActionBarSeparatorViewModel"]}));var c=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){if("function"!==typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),d=function(e,t,n,r){var o,i=arguments.length,s=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)s=Reflect.decorate(e,t,n,r);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(i<3?o(s):i>3?o(t,n,s):o(t,n))||s);return i>3&&s&&Object.defineProperty(t,n,s),s},p=function(e){function t(){var t=e.call(this)||this;return t.model=new s["ActionBar"],t.model.setItems(t.items),t}return c(t,e),Object.defineProperty(t.prototype,"wrappedItems",{get:function(){return this.model.items},enumerable:!1,configurable:!0}),t.prototype.getComponentName=function(e){return e.component||"sv-action-bar-item"},Object.defineProperty(t.prototype,"hasItems",{get:function(){return(this.model.items||[]).length>0},enumerable:!1,configurable:!0}),d([Object(r["Prop"])()],t.prototype,"items",void 0),t=d([r["Component"]],t),t}(i.a);i.a.component("sv-action-bar",p),t["default"]=p},"./node_modules/ts-loader/index.js?!./node_modules/vue-loader/lib/index.js?!./src/vue/components/default-title/default-title.vue?vue&type=script&lang=ts&": /*!************************************************************************************************************************************************************************!*\ !*** ./node_modules/ts-loader??ref--0!./node_modules/vue-loader/lib??vue-loader-options!./src/vue/components/default-title/default-title.vue?vue&type=script&lang=ts& ***! \************************************************************************************************************************************************************************/ /*! exports provided: DefaultTitle, default */function(e,t,n){"use strict";n.r(t),n.d(t,"DefaultTitle",(function(){return u}));var r=n(/*! vue */"vue"),o=n.n(r),i=n(/*! vue-class-component */"./node_modules/vue-class-component/dist/vue-class-component.esm.js"),s=n(/*! vue-property-decorator */"./node_modules/vue-property-decorator/lib/index.js"),a=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){if("function"!==typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),l=function(e,t,n,r){var o,i=arguments.length,s=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)s=Reflect.decorate(e,t,n,r);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(i<3?o(s):i>3?o(t,n,s):o(t,n))||s);return i>3&&s&&Object.defineProperty(t,n,s),s},u=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.isCollapsed=!1,t}return a(t,e),Object.defineProperty(t.prototype,"showIcon",{get:function(){return this.element.isExpanded||this.element.isCollapsed},enumerable:!1,configurable:!0}),t.prototype.changeExpanded=function(){this.element.toggleState()},t.prototype.getIconCss=function(e){var t=this.css.question.icon;return e||(t+=" "+this.css.question.iconExpanded),t},t.prototype.mounted=function(){var e=this;this.isCollapsed=this.element.isCollapsed,this.element.stateChangedCallback=function(){e.isCollapsed=e.element.isCollapsed}},l([Object(s["Prop"])()],t.prototype,"element",void 0),l([Object(s["Prop"])()],t.prototype,"css",void 0),t=l([i["default"]],t),t}(o.a);o.a.component("sv-default-title",u),t["default"]=u},"./node_modules/ts-loader/index.js?!./node_modules/vue-loader/lib/index.js?!./src/vue/components/list/list.vue?vue&type=script&lang=ts&": /*!******************************************************************************************************************************************************!*\ !*** ./node_modules/ts-loader??ref--0!./node_modules/vue-loader/lib??vue-loader-options!./src/vue/components/list/list.vue?vue&type=script&lang=ts& ***! \******************************************************************************************************************************************************/ /*! exports provided: List, default */function(e,t,n){"use strict";n.r(t),n.d(t,"List",(function(){return u}));var r=n(/*! vue */"vue"),o=n.n(r),i=n(/*! vue-property-decorator */"./node_modules/vue-property-decorator/lib/index.js"),s=n(/*! ../../base */"./src/vue/base.ts"),a=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){if("function"!==typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),l=function(e,t,n,r){var o,i=arguments.length,s=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)s=Reflect.decorate(e,t,n,r);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(i<3?o(s):i>3?o(t,n,s):o(t,n))||s);return i>3&&s&&Object.defineProperty(t,n,s),s},u=function(e){function t(){return e.call(this)||this}return a(t,e),t.prototype.getModel=function(){return this.model},l([Object(i["Prop"])()],t.prototype,"model",void 0),t=l([i["Component"]],t),t}(s["BaseVue"]);o.a.component("sv-list",u),t["default"]=u},"./node_modules/ts-loader/index.js?!./node_modules/vue-loader/lib/index.js?!./src/vue/components/matrix-actions/detail-button/detail-button.vue?vue&type=script&lang=ts&": /*!***************************************************************************************************************************************************************************************!*\ !*** ./node_modules/ts-loader??ref--0!./node_modules/vue-loader/lib??vue-loader-options!./src/vue/components/matrix-actions/detail-button/detail-button.vue?vue&type=script&lang=ts& ***! \***************************************************************************************************************************************************************************************/ /*! exports provided: SurveyQuestionMatrixDetailButton, default */function(e,t,n){"use strict";n.r(t),n.d(t,"SurveyQuestionMatrixDetailButton",(function(){return u}));var r=n(/*! vue */"vue"),o=n.n(r),i=n(/*! vue-property-decorator */"./node_modules/vue-property-decorator/lib/index.js"),s=n(/*! ../../../base */"./src/vue/base.ts"),a=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){if("function"!==typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),l=function(e,t,n,r){var o,i=arguments.length,s=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)s=Reflect.decorate(e,t,n,r);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(i<3?o(s):i>3?o(t,n,s):o(t,n))||s);return i>3&&s&&Object.defineProperty(t,n,s),s},u=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return a(t,e),Object.defineProperty(t.prototype,"question",{get:function(){return this.item.data.question},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"row",{get:function(){return this.item.data.row},enumerable:!1,configurable:!0}),t.prototype.getModel=function(){return this.item},l([Object(i["Prop"])()],t.prototype,"item",void 0),t=l([i["Component"]],t),t}(s["default"]);o.a.component("sv-matrix-detail-button",u),t["default"]=u},"./node_modules/ts-loader/index.js?!./node_modules/vue-loader/lib/index.js?!./src/vue/components/matrix-actions/remove-button/remove-button.vue?vue&type=script&lang=ts&": /*!***************************************************************************************************************************************************************************************!*\ !*** ./node_modules/ts-loader??ref--0!./node_modules/vue-loader/lib??vue-loader-options!./src/vue/components/matrix-actions/remove-button/remove-button.vue?vue&type=script&lang=ts& ***! \***************************************************************************************************************************************************************************************/ /*! exports provided: SurveyQuestionMatrixDynamicRemoveButton, default */function(e,t,n){"use strict";n.r(t),n.d(t,"SurveyQuestionMatrixDynamicRemoveButton",(function(){return u}));var r=n(/*! vue */"vue"),o=n.n(r),i=n(/*! vue-property-decorator */"./node_modules/vue-property-decorator/lib/index.js"),s=n(/*! ../../../base */"./src/vue/base.ts"),a=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){if("function"!==typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),l=function(e,t,n,r){var o,i=arguments.length,s=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)s=Reflect.decorate(e,t,n,r);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(i<3?o(s):i>3?o(t,n,s):o(t,n))||s);return i>3&&s&&Object.defineProperty(t,n,s),s},u=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return a(t,e),Object.defineProperty(t.prototype,"question",{get:function(){return this.item.data.question},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"row",{get:function(){return this.item.data.row},enumerable:!1,configurable:!0}),t.prototype.getModel=function(){return this.item},l([Object(i["Prop"])()],t.prototype,"item",void 0),t=l([i["Component"]],t),t}(s["default"]);o.a.component("sv-matrix-remove-button",u),t["default"]=u},"./node_modules/ts-loader/index.js?!./node_modules/vue-loader/lib/index.js?!./src/vue/components/popup/popup-container.vue?vue&type=script&lang=ts&": /*!******************************************************************************************************************************************************************!*\ !*** ./node_modules/ts-loader??ref--0!./node_modules/vue-loader/lib??vue-loader-options!./src/vue/components/popup/popup-container.vue?vue&type=script&lang=ts& ***! \******************************************************************************************************************************************************************/ /*! exports provided: PopupContainer, showModal, default */function(e,t,n){"use strict";n.r(t),n.d(t,"PopupContainer",(function(){return c})),n.d(t,"showModal",(function(){return d}));var r=n(/*! vue */"vue"),o=n.n(r),i=n(/*! vue-property-decorator */"./node_modules/vue-property-decorator/lib/index.js"),s=n(/*! survey-core */"./src/entries/core.ts"),a=n(/*! ../../base */"./src/vue/base.ts"),l=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){if("function"!==typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),u=function(e,t,n,r){var o,i=arguments.length,s=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)s=Reflect.decorate(e,t,n,r);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(i<3?o(s):i>3?o(t,n,s):o(t,n))||s);return i>3&&s&&Object.defineProperty(t,n,s),s},c=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return l(t,e),t.prototype.getModel=function(){return this.model},t.prototype.clickInside=function(e){e.stopPropagation()},t.prototype.onUpdated=function(){this.prevIsVisible||!this.model.isVisible||this.model.isModal||this.model.updatePosition(),this.prevIsVisible=this.model.isVisible},u([Object(i["Prop"])()],t.prototype,"model",void 0),t=u([i["Component"]],t),t}(a["BaseVue"]);function d(e,t,n,r){var o=new s["PopupModel"](e,t,"top","left",!1,!0,r,n),i=new s["PopupBaseViewModel"](o,void 0);i.initializePopupContainer();var a=new c({el:i.container.appendChild(document.createElement("div")),propsData:{model:i}});o.onHide=function(){a.$destroy(),i.destroyPopupContainer()},i.model.isVisible=!0}s["settings"].showModal=d,o.a.component("sv-popup-container",c),t["default"]=c},"./node_modules/ts-loader/index.js?!./node_modules/vue-loader/lib/index.js?!./src/vue/components/popup/popup.vue?vue&type=script&lang=ts&": /*!********************************************************************************************************************************************************!*\ !*** ./node_modules/ts-loader??ref--0!./node_modules/vue-loader/lib??vue-loader-options!./src/vue/components/popup/popup.vue?vue&type=script&lang=ts& ***! \********************************************************************************************************************************************************/ /*! exports provided: Popup, default */function(e,t,n){"use strict";n.r(t),n.d(t,"Popup",(function(){return d}));var r=n(/*! vue */"vue"),o=n.n(r),i=n(/*! vue-property-decorator */"./node_modules/vue-property-decorator/lib/index.js"),s=n(/*! survey-core */"./src/entries/core.ts"),a=n(/*! ./popup-container.vue */"./src/vue/components/popup/popup-container.vue"),l=n(/*! ../../base */"./src/vue/base.ts"),u=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){if("function"!==typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),c=function(e,t,n,r){var o,i=arguments.length,s=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)s=Reflect.decorate(e,t,n,r);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(i<3?o(s):i>3?o(t,n,s):o(t,n))||s);return i>3&&s&&Object.defineProperty(t,n,s),s},d=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return u(t,e),t.prototype.getModel=function(){return this.model},t.prototype.onMounted=function(){this.popupViewModel=new s["PopupBaseViewModel"](this.model,this.$el.parentElement),this.popupViewModel.initializePopupContainer(),this.popupContainer=new a["PopupContainer"]({el:this.popupViewModel.container.appendChild(document.createElement("div")),propsData:{model:this.popupViewModel}})},t.prototype.destroyed=function(){this.popupContainer.$destroy(),this.popupViewModel.destroyPopupContainer()},c([Object(i["Prop"])()],t.prototype,"model",void 0),c([Object(i["Prop"])()],t.prototype,"targetElement",void 0),t=c([i["Component"]],t),t}(l["BaseVue"]);o.a.component("sv-popup",d),t["default"]=d},"./node_modules/ts-loader/index.js?!./node_modules/vue-loader/lib/index.js?!./src/vue/components/svg-icon/svg-icon.vue?vue&type=script&lang=ts&": /*!**************************************************************************************************************************************************************!*\ !*** ./node_modules/ts-loader??ref--0!./node_modules/vue-loader/lib??vue-loader-options!./src/vue/components/svg-icon/svg-icon.vue?vue&type=script&lang=ts& ***! \**************************************************************************************************************************************************************/ /*! exports provided: SvgIcon, default */function(e,t,n){"use strict";n.r(t),n.d(t,"SvgIcon",(function(){return c}));var r=n(/*! vue */"vue"),o=n.n(r),i=n(/*! vue-property-decorator */"./node_modules/vue-property-decorator/lib/index.js"),s=n(/*! survey-core */"./src/entries/core.ts"),a=n(/*! ../../base */"./src/vue/base.ts"),l=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){if("function"!==typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),u=function(e,t,n,r){var o,i=arguments.length,s=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)s=Reflect.decorate(e,t,n,r);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(i<3?o(s):i>3?o(t,n,s):o(t,n))||s);return i>3&&s&&Object.defineProperty(t,n,s),s},c=function(e){function t(){return e.call(this)||this}return l(t,e),t.prototype.onSizePropertyChanged=function(){this.onUpdated()},t.prototype.onWidthPropertyChanged=function(){this.onUpdated()},t.prototype.onHeightPropertyChanged=function(){this.onUpdated()},t.prototype.onIconNamePropertyChanged=function(){this.onUpdated()},t.prototype.onUpdated=function(){Object(s["createSvg"])(this.size,this.width,this.height,this.iconName,this.svgIconElement)},t.prototype.onMounted=function(){this.svgIconElement=this.$refs["svgIcon"],this.onUpdated()},u([Object(i["Prop"])()],t.prototype,"size",void 0),u([Object(i["Prop"])()],t.prototype,"width",void 0),u([Object(i["Prop"])()],t.prototype,"height",void 0),u([Object(i["Prop"])()],t.prototype,"iconName",void 0),u([Object(i["Watch"])("size")],t.prototype,"onSizePropertyChanged",null),u([Object(i["Watch"])("width")],t.prototype,"onWidthPropertyChanged",null),u([Object(i["Watch"])("height")],t.prototype,"onHeightPropertyChanged",null),u([Object(i["Watch"])("iconName")],t.prototype,"onIconNamePropertyChanged",null),t=u([i["Component"]],t),t}(a["BaseVue"]);o.a.component("sv-svg-icon",c),t["default"]=c},"./node_modules/ts-loader/index.js?!./node_modules/vue-loader/lib/index.js?!./src/vue/components/title-actions/title-actions.vue?vue&type=script&lang=ts&": /*!************************************************************************************************************************************************************************!*\ !*** ./node_modules/ts-loader??ref--0!./node_modules/vue-loader/lib??vue-loader-options!./src/vue/components/title-actions/title-actions.vue?vue&type=script&lang=ts& ***! \************************************************************************************************************************************************************************/ /*! exports provided: TitleActions, default */function(e,t,n){"use strict";n.r(t),n.d(t,"TitleActions",(function(){return u}));var r=n(/*! vue */"vue"),o=n.n(r),i=n(/*! vue-property-decorator */"./node_modules/vue-property-decorator/lib/index.js"),s=n(/*! survey-core */"./src/entries/core.ts"),a=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){if("function"!==typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),l=function(e,t,n,r){var o,i=arguments.length,s=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)s=Reflect.decorate(e,t,n,r);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(i<3?o(s):i>3?o(t,n,s):o(t,n))||s);return i>3&&s&&Object.defineProperty(t,n,s),s},u=function(e){function t(){return e.call(this)||this}return a(t,e),Object.defineProperty(t.prototype,"items",{get:function(){return this.element.getTitleActions()},enumerable:!1,configurable:!0}),l([Object(i["Prop"])()],t.prototype,"element",void 0),l([Object(i["Prop"])()],t.prototype,"css",void 0),t=l([i["Component"]],t),t}(o.a);s["RendererFactory"].Instance.registerRenderer("element","title-actions","sv-title-actions"),o.a.component("sv-title-actions",u),t["default"]=u},"./node_modules/ts-loader/index.js?!./node_modules/vue-loader/lib/index.js?!./src/vue/composite.vue?vue&type=script&lang=ts&": /*!*******************************************************************************************************************************************!*\ !*** ./node_modules/ts-loader??ref--0!./node_modules/vue-loader/lib??vue-loader-options!./src/vue/composite.vue?vue&type=script&lang=ts& ***! \*******************************************************************************************************************************************/ /*! exports provided: Composite, default */function(e,t,n){"use strict";n.r(t),n.d(t,"Composite",(function(){return u}));var r=n(/*! vue */"vue"),o=n.n(r),i=n(/*! vue-property-decorator */"./node_modules/vue-property-decorator/lib/index.js"),s=n(/*! ./question */"./src/vue/question.ts"),a=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){if("function"!==typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),l=function(e,t,n,r){var o,i=arguments.length,s=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)s=Reflect.decorate(e,t,n,r);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(i<3?o(s):i>3?o(t,n,s):o(t,n))||s);return i>3&&s&&Object.defineProperty(t,n,s),s},u=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return a(t,e),Object.defineProperty(t.prototype,"contentPanel",{get:function(){return this.question.contentPanel},enumerable:!1,configurable:!0}),t=l([i["Component"]],t),t}(s["default"]);o.a.component("survey-composite",u),t["default"]=u},"./node_modules/ts-loader/index.js?!./node_modules/vue-loader/lib/index.js?!./src/vue/custom.vue?vue&type=script&lang=ts&": /*!****************************************************************************************************************************************!*\ !*** ./node_modules/ts-loader??ref--0!./node_modules/vue-loader/lib??vue-loader-options!./src/vue/custom.vue?vue&type=script&lang=ts& ***! \****************************************************************************************************************************************/ /*! exports provided: Custom, default */function(e,t,n){"use strict";n.r(t),n.d(t,"Custom",(function(){return u}));var r=n(/*! vue */"vue"),o=n.n(r),i=n(/*! vue-property-decorator */"./node_modules/vue-property-decorator/lib/index.js"),s=n(/*! ./question */"./src/vue/question.ts"),a=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){if("function"!==typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),l=function(e,t,n,r){var o,i=arguments.length,s=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)s=Reflect.decorate(e,t,n,r);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(i<3?o(s):i>3?o(t,n,s):o(t,n))||s);return i>3&&s&&Object.defineProperty(t,n,s),s},u=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return a(t,e),Object.defineProperty(t.prototype,"contentQuestion",{get:function(){return this.question.contentQuestion},enumerable:!1,configurable:!0}),t.prototype.getComponentName=function(e){return e.customWidget?"survey-customwidget":"survey-"+e.getTemplate()},t=l([i["Component"]],t),t}(s["default"]);o.a.component("survey-custom",u),t["default"]=u},"./node_modules/ts-loader/index.js?!./node_modules/vue-loader/lib/index.js?!./src/vue/customwidget.vue?vue&type=script&lang=ts&": /*!**********************************************************************************************************************************************!*\ !*** ./node_modules/ts-loader??ref--0!./node_modules/vue-loader/lib??vue-loader-options!./src/vue/customwidget.vue?vue&type=script&lang=ts& ***! \**********************************************************************************************************************************************/ /*! exports provided: CustomWidget, default */function(e,t,n){"use strict";n.r(t),n.d(t,"CustomWidget",(function(){return l}));var r=n(/*! vue */"vue"),o=n.n(r),i=n(/*! vue-property-decorator */"./node_modules/vue-property-decorator/lib/index.js"),s=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){if("function"!==typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),a=function(e,t,n,r){var o,i=arguments.length,s=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)s=Reflect.decorate(e,t,n,r);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(i<3?o(s):i>3?o(t,n,s):o(t,n))||s);return i>3&&s&&Object.defineProperty(t,n,s),s},l=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return s(t,e),Object.defineProperty(t.prototype,"hasDefaultRender",{get:function(){return this.question.customWidget.isDefaultRender||this.hasVueComponent},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"hasHtml",{get:function(){return!!this.question.customWidget.htmlTemplate},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"customHtml",{get:function(){return this.question.customWidget.htmlTemplate},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"hasVueComponent",{get:function(){var e=o.a["options"];return!!e&&(e.components&&e.components[this.question.customWidget.name])},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"componentName",{get:function(){return this.hasVueComponent?this.question.customWidget.name:"survey-"+this.question.getTemplate()},enumerable:!1,configurable:!0}),t.prototype.mounted=function(){this.question.customWidget.afterRender(this.question,this.$el)},t.prototype.updated=function(){},t.prototype.beforeDestroy=function(){this.question.customWidget.willUnmount(this.question,this.$el)},a([Object(i["Prop"])()],t.prototype,"css",void 0),a([Object(i["Prop"])()],t.prototype,"question",void 0),t=a([i["Component"]],t),t}(o.a);o.a.component("survey-customwidget",l),t["default"]=l},"./node_modules/ts-loader/index.js?!./node_modules/vue-loader/lib/index.js?!./src/vue/drag-drop-td.vue?vue&type=script&lang=ts&": /*!**********************************************************************************************************************************************!*\ !*** ./node_modules/ts-loader??ref--0!./node_modules/vue-loader/lib??vue-loader-options!./src/vue/drag-drop-td.vue?vue&type=script&lang=ts& ***! \**********************************************************************************************************************************************/ /*! exports provided: DragDropTD, default */function(e,t,n){"use strict";n.r(t),n.d(t,"DragDropTD",(function(){return l}));var r=n(/*! vue */"vue"),o=n.n(r),i=n(/*! vue-property-decorator */"./node_modules/vue-property-decorator/lib/index.js"),s=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){if("function"!==typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),a=function(e,t,n,r){var o,i=arguments.length,s=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)s=Reflect.decorate(e,t,n,r);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(i<3?o(s):i>3?o(t,n,s):o(t,n))||s);return i>3&&s&&Object.defineProperty(t,n,s),s},l=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return s(t,e),a([Object(i["Prop"])()],t.prototype,"question",void 0),t=a([i["Component"]],t),t}(o.a);o.a.component("drag-drop-td",l),t["default"]=l},"./node_modules/ts-loader/index.js?!./node_modules/vue-loader/lib/index.js?!./src/vue/dropdown.vue?vue&type=script&lang=ts&": /*!******************************************************************************************************************************************!*\ !*** ./node_modules/ts-loader??ref--0!./node_modules/vue-loader/lib??vue-loader-options!./src/vue/dropdown.vue?vue&type=script&lang=ts& ***! \******************************************************************************************************************************************/ /*! exports provided: Dropdown, default */function(e,t,n){"use strict";n.r(t),n.d(t,"Dropdown",(function(){return u}));var r=n(/*! vue */"vue"),o=n.n(r),i=n(/*! vue-property-decorator */"./node_modules/vue-property-decorator/lib/index.js"),s=n(/*! ./question */"./src/vue/question.ts"),a=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){if("function"!==typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),l=function(e,t,n,r){var o,i=arguments.length,s=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)s=Reflect.decorate(e,t,n,r);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(i<3?o(s):i>3?o(t,n,s):o(t,n))||s);return i>3&&s&&Object.defineProperty(t,n,s),s},u=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return a(t,e),Object.defineProperty(t.prototype,"isOtherSelected",{get:function(){var e=this.question;return e.hasOther&&e.isOtherSelected},enumerable:!1,configurable:!0}),t=l([i["Component"]],t),t}(s["default"]);o.a.component("survey-dropdown",u),t["default"]=u},"./node_modules/ts-loader/index.js?!./node_modules/vue-loader/lib/index.js?!./src/vue/element.vue?vue&type=script&lang=ts&": /*!*****************************************************************************************************************************************!*\ !*** ./node_modules/ts-loader??ref--0!./node_modules/vue-loader/lib??vue-loader-options!./src/vue/element.vue?vue&type=script&lang=ts& ***! \*****************************************************************************************************************************************/ /*! exports provided: SurveyElementVue, default */function(e,t,n){"use strict";n.r(t),n.d(t,"SurveyElementVue",(function(){return l}));var r=n(/*! vue */"vue"),o=n.n(r),i=n(/*! vue-property-decorator */"./node_modules/vue-property-decorator/lib/index.js"),s=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){if("function"!==typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),a=function(e,t,n,r){var o,i=arguments.length,s=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)s=Reflect.decorate(e,t,n,r);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(i<3?o(s):i>3?o(t,n,s):o(t,n))||s);return i>3&&s&&Object.defineProperty(t,n,s),s},l=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return s(t,e),t.prototype.getComponentName=function(e){return e.customWidget?"survey-customwidget":"panel"===e.getType()||e.isDefaultRendering()?"survey-"+e.getTemplate():e.getComponentName()},t.prototype.getRootClass=function(e){var t=e.cssRoot;return e.isReadOnly&&(t+=" "+this.element.cssClasses.disabled),t},t.prototype.getContentClass=function(e){return e.cssContent},Object.defineProperty(t.prototype,"hasErrorsOnTop",{get:function(){return!this.element.isPanel&&"top"===this.survey.questionErrorLocation},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"hasErrorsOnBottom",{get:function(){return!this.element.isPanel&&"bottom"===this.survey.questionErrorLocation},enumerable:!1,configurable:!0}),t.prototype.mounted=function(){this.element.isPanel||this.element.afterRender(this.$el)},a([Object(i["Prop"])()],t.prototype,"css",void 0),a([Object(i["Prop"])()],t.prototype,"survey",void 0),a([Object(i["Prop"])()],t.prototype,"element",void 0),t=a([i["Component"]],t),t}(o.a);o.a.component("survey-element",l),t["default"]=l},"./node_modules/ts-loader/index.js?!./node_modules/vue-loader/lib/index.js?!./src/vue/elementheader.vue?vue&type=script&lang=ts&": /*!***********************************************************************************************************************************************!*\ !*** ./node_modules/ts-loader??ref--0!./node_modules/vue-loader/lib??vue-loader-options!./src/vue/elementheader.vue?vue&type=script&lang=ts& ***! \***********************************************************************************************************************************************/ /*! exports provided: ElementHeader, default */function(e,t,n){"use strict";n.r(t),n.d(t,"ElementHeader",(function(){return l}));var r=n(/*! vue */"vue"),o=n.n(r),i=n(/*! vue-property-decorator */"./node_modules/vue-property-decorator/lib/index.js"),s=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){if("function"!==typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),a=function(e,t,n,r){var o,i=arguments.length,s=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)s=Reflect.decorate(e,t,n,r);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(i<3?o(s):i>3?o(t,n,s):o(t,n))||s);return i>3&&s&&Object.defineProperty(t,n,s),s},l=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return s(t,e),t.prototype.beforeDestroy=function(){this.element.stateChangedCallback=null},t.prototype.getTitleClass=function(e){return e.cssTitle},t.prototype.getHeaderClass=function(e){return e.cssHeader},a([Object(i["Prop"])()],t.prototype,"element",void 0),a([Object(i["Prop"])()],t.prototype,"css",void 0),t=a([i["Component"]],t),t}(o.a);o.a.component("survey-element-header",l),t["default"]=l},"./node_modules/ts-loader/index.js?!./node_modules/vue-loader/lib/index.js?!./src/vue/empty.vue?vue&type=script&lang=ts&": /*!***************************************************************************************************************************************!*\ !*** ./node_modules/ts-loader??ref--0!./node_modules/vue-loader/lib??vue-loader-options!./src/vue/empty.vue?vue&type=script&lang=ts& ***! \***************************************************************************************************************************************/ /*! exports provided: Empty, default */function(e,t,n){"use strict";n.r(t),n.d(t,"Empty",(function(){return u}));var r=n(/*! vue */"vue"),o=n.n(r),i=n(/*! vue-property-decorator */"./node_modules/vue-property-decorator/lib/index.js"),s=n(/*! ./question */"./src/vue/question.ts"),a=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){if("function"!==typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),l=function(e,t,n,r){var o,i=arguments.length,s=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)s=Reflect.decorate(e,t,n,r);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(i<3?o(s):i>3?o(t,n,s):o(t,n))||s);return i>3&&s&&Object.defineProperty(t,n,s),s},u=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return a(t,e),t=l([i["Component"]],t),t}(s["default"]);o.a.component("survey-empty",u),t["default"]=u},"./node_modules/ts-loader/index.js?!./node_modules/vue-loader/lib/index.js?!./src/vue/errors.vue?vue&type=script&lang=ts&": /*!****************************************************************************************************************************************!*\ !*** ./node_modules/ts-loader??ref--0!./node_modules/vue-loader/lib??vue-loader-options!./src/vue/errors.vue?vue&type=script&lang=ts& ***! \****************************************************************************************************************************************/ /*! exports provided: Errors, default */function(e,t,n){"use strict";n.r(t),n.d(t,"Errors",(function(){return l}));var r=n(/*! vue */"vue"),o=n.n(r),i=n(/*! vue-property-decorator */"./node_modules/vue-property-decorator/lib/index.js"),s=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){if("function"!==typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),a=function(e,t,n,r){var o,i=arguments.length,s=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)s=Reflect.decorate(e,t,n,r);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(i<3?o(s):i>3?o(t,n,s):o(t,n))||s);return i>3&&s&&Object.defineProperty(t,n,s),s},l=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return s(t,e),Object.defineProperty(t.prototype,"classes",{get:function(){var e=this.question,t=e.cssClasses?e.cssClasses.error.root:"panel-error-root",n="";return"top"===this.location?n=e.cssClasses.error.locationTop:"bottom"===this.location&&(n=e.cssClasses.error.locationBottom),n&&(t+=" "+n),t},enumerable:!1,configurable:!0}),a([Object(i["Prop"])()],t.prototype,"question",void 0),a([Object(i["Prop"])()],t.prototype,"location",void 0),t=a([i["Component"]],t),t}(o.a);o.a.component("survey-errors",l),t["default"]=l},"./node_modules/ts-loader/index.js?!./node_modules/vue-loader/lib/index.js?!./src/vue/expression.vue?vue&type=script&lang=ts&": /*!********************************************************************************************************************************************!*\ !*** ./node_modules/ts-loader??ref--0!./node_modules/vue-loader/lib??vue-loader-options!./src/vue/expression.vue?vue&type=script&lang=ts& ***! \********************************************************************************************************************************************/ /*! exports provided: Expression, default */function(e,t,n){"use strict";n.r(t),n.d(t,"Expression",(function(){return u}));var r=n(/*! vue */"vue"),o=n.n(r),i=n(/*! vue-property-decorator */"./node_modules/vue-property-decorator/lib/index.js"),s=n(/*! ./question */"./src/vue/question.ts"),a=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){if("function"!==typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),l=function(e,t,n,r){var o,i=arguments.length,s=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)s=Reflect.decorate(e,t,n,r);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(i<3?o(s):i>3?o(t,n,s):o(t,n))||s);return i>3&&s&&Object.defineProperty(t,n,s),s},u=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return a(t,e),t=l([i["Component"]],t),t}(s["default"]);o.a.component("survey-expression",u),t["default"]=u},"./node_modules/ts-loader/index.js?!./node_modules/vue-loader/lib/index.js?!./src/vue/file.vue?vue&type=script&lang=ts&": /*!**************************************************************************************************************************************!*\ !*** ./node_modules/ts-loader??ref--0!./node_modules/vue-loader/lib??vue-loader-options!./src/vue/file.vue?vue&type=script&lang=ts& ***! \**************************************************************************************************************************************/ /*! exports provided: File, default */function(e,t,n){"use strict";n.r(t),n.d(t,"File",(function(){return c}));var r=n(/*! vue */"vue"),o=n.n(r),i=n(/*! vue-property-decorator */"./node_modules/vue-property-decorator/lib/index.js"),s=n(/*! ./question */"./src/vue/question.ts"),a=n(/*! survey-core */"./src/entries/core.ts"),l=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){if("function"!==typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),u=function(e,t,n,r){var o,i=arguments.length,s=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)s=Reflect.decorate(e,t,n,r);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(i<3?o(s):i>3?o(t,n,s):o(t,n))||s);return i>3&&s&&Object.defineProperty(t,n,s),s},c=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.onDragOver=function(e){if(t.question.isReadOnly)return e.returnValue=!1,!1;e.dataTransfer.dropEffect="copy",e.preventDefault()},t.onDrop=function(e){e.preventDefault();var n=e.dataTransfer;t.onChange(n)},t}return l(t,e),t.prototype.doChange=function(e){var t=e.target||e.srcElement;this.onChange(t)},t.prototype.doClean=function(e){var t=this.question,n=e.target||e.srcElement;if(t.needConfirmRemoveFile){var r=Object(a["confirmAction"])(t.confirmRemoveAllMessage);if(!r)return}t.clear(),n.parentElement.querySelectorAll("input")[0].value=""},t.prototype.doRemoveFile=function(e){var t=this.question;if(t.needConfirmRemoveFile){var n=Object(a["confirmAction"])(t.getConfirmRemoveMessage(e.name));if(!n)return}t.removeFile(e)},t.prototype.doDownloadFile=function(e,t){Object(a["detectIEOrEdge"])()&&(e.preventDefault(),Object(a["loadFileFromBase64"])(t.content,t.name))},t.prototype.getPlaceholderClass=function(){return"form-control "+this.question.cssClasses.placeholderInput},t.prototype.onChange=function(e){if(window["FileReader"]&&e&&e.files&&!(e.files.length<1)){for(var t=[],n=this.question.allowMultiple?e.files.length:1,r=0;r=0;a--)(o=e[a])&&(s=(i<3?o(s):i>3?o(t,n,s):o(t,n))||s);return i>3&&s&&Object.defineProperty(t,n,s),s},l=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.isCollapsedValue=!1,t}return s(t,e),Object.defineProperty(t.prototype,"rootNode",{get:function(){return this.rootNodeValue},enumerable:!1,configurable:!0}),t.prototype.beforeMount=function(){if(this.question){var e=this;this.question.onCustomHtmlProducing=function(){return""},this.question.onGetHtmlForQuestion=e.renderQuestion,this.setRootNode()}},t.prototype.setRootNode=function(){var e=""+this.question.produceHtml()+"",t=(new DOMParser).parseFromString(e,"text/xml");this.rootNodeValue=t&&t.childNodes.length>0?t.childNodes[0]:null},t.prototype.renderQuestion=function(e){return""+e.name+""},t.prototype.mounted=function(){this.question.survey&&this.question.survey.afterRenderPanel(this.question,this.$el),this.isCollapsed=this.question.isCollapsed;var e=this;this.question.registerFunctionOnPropertyValueChanged("state",(function(t){e.isCollapsed=e.question.isCollapsed}))},Object.defineProperty(t.prototype,"rootStyle",{get:function(){var e={};return this.question.renderWidth&&(e["flexBasis"]=this.question.renderWidth,e["flexGrow"]=1,e["flexShrink"]=1,e["width"]=this.question.renderWidth,e["minWidth"]=this.question.minWidth,e["maxWidth"]=this.question.maxWidth),e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"showIcon",{get:function(){return this.question&&(this.question.isExpanded||this.question.isCollapsed)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"rows",{get:function(){return this.question.rows},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"hasTitle",{get:function(){return this.question.title.length>0},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"survey",{get:function(){return this.question.survey},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"iconCss",{get:function(){var e="sv_panel_icon";return this.isCollapsed||(e+=" sv_expanded"),e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isCollapsed",{get:function(){return this.isCollapsedValue},set:function(e){this.isCollapsedValue=e},enumerable:!1,configurable:!0}),t.prototype.changeExpanded=function(){(this.question.isCollapsed||this.question.isExpanded)&&(this.question.isCollapsed?this.question.expand():this.question.collapse())},t.prototype.getTitleStyle=function(){var e=this.css.panel.title;return(this.question.isCollapsed||this.question.isExpanded)&&(e+=" "+this.css.panel.titleExpandable),e},a([Object(i["Prop"])()],t.prototype,"question",void 0),a([Object(i["Prop"])()],t.prototype,"isEditMode",void 0),a([Object(i["Prop"])()],t.prototype,"css",void 0),t=a([i["Component"]],t),t}(o.a);o.a.component("survey-flowpanel",l),t["default"]=l},"./node_modules/ts-loader/index.js?!./node_modules/vue-loader/lib/index.js?!./src/vue/flowpanelelement.vue?vue&type=script&lang=ts&": /*!**************************************************************************************************************************************************!*\ !*** ./node_modules/ts-loader??ref--0!./node_modules/vue-loader/lib??vue-loader-options!./src/vue/flowpanelelement.vue?vue&type=script&lang=ts& ***! \**************************************************************************************************************************************************/ /*! exports provided: FlowPanelElement, default */function(e,t,n){"use strict";n.r(t),n.d(t,"FlowPanelElement",(function(){return l}));var r=n(/*! vue */"vue"),o=n.n(r),i=n(/*! vue-property-decorator */"./node_modules/vue-property-decorator/lib/index.js"),s=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){if("function"!==typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),a=function(e,t,n,r){var o,i=arguments.length,s=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)s=Reflect.decorate(e,t,n,r);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(i<3?o(s):i>3?o(t,n,s):o(t,n))||s);return i>3&&s&&Object.defineProperty(t,n,s),s},l=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.question=null,t.tagName="span",t.nodes=[],t.text="",t.style={},t}var n;return s(t,e),n=t,t.prototype.getStyle=function(e){var t={};return"b"===e.toLowerCase()&&(t.fontWeight="bold"),"i"===e.toLowerCase()&&(t.fontStyle="italic"),"u"===e.toLowerCase()&&(t.textDecoration="underline"),t},Object.defineProperty(t.prototype,"elementId",{get:function(){return this.elementIdValue||(n.idValue||(n.idValue=0),n.idValue++,this.elementIdValue="fp_el"+n.idValue),this.elementIdValue},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"survey",{get:function(){return this.panel.survey},enumerable:!1,configurable:!0}),t.prototype.beforeMount=function(){if(this.panel&&this.node){var e=this.node.nodeName.toLowerCase();this.hasTextChildNodesOnly(this.node)?"question"==e?this.question=this.panel.getQuestionByName(this.node.textContent):this.text=this.node.textContent:this.nodes=this.getChildDomNodes(this.node),"div"!=e||this.question||(this.tagName="div"),this.style=this.getStyle(e)}},t.prototype.getComponentName=function(e){return e.customWidget?"survey-customwidget":"survey-"+e.getTemplate()},t.prototype.hasTextChildNodesOnly=function(e){for(var t=e.childNodes,n=0;n=0;a--)(o=e[a])&&(s=(i<3?o(s):i>3?o(t,n,s):o(t,n))||s);return i>3&&s&&Object.defineProperty(t,n,s),s},l=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return s(t,e),t.prototype.mounted=function(){var e=this.$el;e&&this.survey&&this.survey.doAfterRenderHeader(e)},a([Object(i["Prop"])()],t.prototype,"survey",void 0),t=a([i["Component"]],t),t}(o.a);o.a.component("survey-header",l),t["default"]=l},"./node_modules/ts-loader/index.js?!./node_modules/vue-loader/lib/index.js?!./src/vue/html.vue?vue&type=script&lang=ts&": /*!**************************************************************************************************************************************!*\ !*** ./node_modules/ts-loader??ref--0!./node_modules/vue-loader/lib??vue-loader-options!./src/vue/html.vue?vue&type=script&lang=ts& ***! \**************************************************************************************************************************************/ /*! exports provided: Html, default */function(e,t,n){"use strict";n.r(t),n.d(t,"Html",(function(){return l}));var r=n(/*! vue */"vue"),o=n.n(r),i=n(/*! vue-property-decorator */"./node_modules/vue-property-decorator/lib/index.js"),s=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){if("function"!==typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),a=function(e,t,n,r){var o,i=arguments.length,s=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)s=Reflect.decorate(e,t,n,r);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(i<3?o(s):i>3?o(t,n,s):o(t,n))||s);return i>3&&s&&Object.defineProperty(t,n,s),s},l=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return s(t,e),a([Object(i["Prop"])()],t.prototype,"question",void 0),a([Object(i["Prop"])()],t.prototype,"css",void 0),t=a([i["Component"]],t),t}(o.a);o.a.component("survey-html",l),t["default"]=l},"./node_modules/ts-loader/index.js?!./node_modules/vue-loader/lib/index.js?!./src/vue/image.vue?vue&type=script&lang=ts&": /*!***************************************************************************************************************************************!*\ !*** ./node_modules/ts-loader??ref--0!./node_modules/vue-loader/lib??vue-loader-options!./src/vue/image.vue?vue&type=script&lang=ts& ***! \***************************************************************************************************************************************/ /*! exports provided: QuestionImage, default */function(e,t,n){"use strict";n.r(t),n.d(t,"QuestionImage",(function(){return l}));var r=n(/*! vue */"vue"),o=n.n(r),i=n(/*! vue-property-decorator */"./node_modules/vue-property-decorator/lib/index.js"),s=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){if("function"!==typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),a=function(e,t,n,r){var o,i=arguments.length,s=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)s=Reflect.decorate(e,t,n,r);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(i<3?o(s):i>3?o(t,n,s):o(t,n))||s);return i>3&&s&&Object.defineProperty(t,n,s),s},l=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return s(t,e),a([Object(i["Prop"])()],t.prototype,"question",void 0),a([Object(i["Prop"])()],t.prototype,"css",void 0),t=a([i["Component"]],t),t}(o.a);o.a.component("survey-image",l),t["default"]=l},"./node_modules/ts-loader/index.js?!./node_modules/vue-loader/lib/index.js?!./src/vue/imagepicker.vue?vue&type=script&lang=ts&": /*!*********************************************************************************************************************************************!*\ !*** ./node_modules/ts-loader??ref--0!./node_modules/vue-loader/lib??vue-loader-options!./src/vue/imagepicker.vue?vue&type=script&lang=ts& ***! \*********************************************************************************************************************************************/ /*! exports provided: ImagePicker, default */function(e,t,n){"use strict";n.r(t),n.d(t,"ImagePicker",(function(){return u}));var r=n(/*! vue */"vue"),o=n.n(r),i=n(/*! vue-property-decorator */"./node_modules/vue-property-decorator/lib/index.js"),s=n(/*! ./question */"./src/vue/question.ts"),a=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){if("function"!==typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),l=function(e,t,n,r){var o,i=arguments.length,s=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)s=Reflect.decorate(e,t,n,r);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(i<3?o(s):i>3?o(t,n,s):o(t,n))||s);return i>3&&s&&Object.defineProperty(t,n,s),s},u=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return a(t,e),t.prototype.getItemClass=function(e){return this.question.getItemClass(e)},t=l([i["Component"]],t),t}(s["default"]);o.a.component("survey-imagepicker",u),t["default"]=u},"./node_modules/ts-loader/index.js?!./node_modules/vue-loader/lib/index.js?!./src/vue/matrix.vue?vue&type=script&lang=ts&": /*!****************************************************************************************************************************************!*\ !*** ./node_modules/ts-loader??ref--0!./node_modules/vue-loader/lib??vue-loader-options!./src/vue/matrix.vue?vue&type=script&lang=ts& ***! \****************************************************************************************************************************************/ /*! exports provided: Matrix, default */function(e,t,n){"use strict";n.r(t),n.d(t,"Matrix",(function(){return u}));var r=n(/*! vue */"vue"),o=n.n(r),i=n(/*! vue-property-decorator */"./node_modules/vue-property-decorator/lib/index.js"),s=n(/*! ./question */"./src/vue/question.ts"),a=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){if("function"!==typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),l=function(e,t,n,r){var o,i=arguments.length,s=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)s=Reflect.decorate(e,t,n,r);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(i<3?o(s):i>3?o(t,n,s):o(t,n))||s);return i>3&&s&&Object.defineProperty(t,n,s),s},u=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return a(t,e),t.prototype.cellClick=function(e,t){this.question.isInputReadOnly||(e.value=t.value)},t=l([i["Component"]],t),t}(s["default"]);o.a.component("survey-matrix",u),t["default"]=u},"./node_modules/ts-loader/index.js?!./node_modules/vue-loader/lib/index.js?!./src/vue/matrixcell.vue?vue&type=script&lang=ts&": /*!********************************************************************************************************************************************!*\ !*** ./node_modules/ts-loader??ref--0!./node_modules/vue-loader/lib??vue-loader-options!./src/vue/matrixcell.vue?vue&type=script&lang=ts& ***! \********************************************************************************************************************************************/ /*! exports provided: MatrixCell, default */function(e,t,n){"use strict";n.r(t),n.d(t,"MatrixCell",(function(){return l}));var r=n(/*! vue */"vue"),o=n.n(r),i=n(/*! vue-property-decorator */"./node_modules/vue-property-decorator/lib/index.js"),s=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){if("function"!==typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),a=function(e,t,n,r){var o,i=arguments.length,s=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)s=Reflect.decorate(e,t,n,r);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(i<3?o(s):i>3?o(t,n,s):o(t,n))||s);return i>3&&s&&Object.defineProperty(t,n,s),s},l=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.isVisible=!1,t}return s(t,e),t.prototype.getComponentName=function(e){return e.customWidget?"survey-customwidget":"survey-"+e.getType()},Object.defineProperty(t.prototype,"hasErrorsOnTop",{get:function(){return this.cell.showErrorOnTop},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"hasErrorsOnBottom",{get:function(){return this.cell.showErrorOnBottom},enumerable:!1,configurable:!0}),t.prototype.getHeaders=function(){return this.cell.headers},t.prototype.getCellStyle=function(){return this.cell.width||this.cell.minWidth?{width:this.cell.width,minWidth:this.cell.minWidth}:null},t.prototype.getItemClass=function(e){var t=this.cell.question.cssClasses,n=this.cell.question.isReadOnly||!e.isEnabled,r=e.value===this.cell.question.renderedValue,o=!n&&!r,i=this.cell.question.cssClasses.item;return n&&(i+=" "+t.itemDisabled),r&&(i+=" "+t.itemChecked),o&&(i+=" "+t.itemHover),i},t.prototype.mounted=function(){if(this.cell.hasQuestion&&this.question&&this.question.survey){this.onVisibilityChanged();var e=this;this.cell.question.registerFunctionOnPropertyValueChanged("isVisible",(function(){e.onVisibilityChanged()}));var t={cell:this.cell.cell,cellQuestion:this.cell.question,htmlElement:this.$el,row:this.cell.row,column:this.cell.cell.column};this.question.survey.matrixAfterCellRender(this.question,t)}},t.prototype.onVisibilityChanged=function(){this.isVisible=this.cell.question.isVisible},a([Object(i["Prop"])()],t.prototype,"question",void 0),a([Object(i["Prop"])()],t.prototype,"cell",void 0),t=a([i["Component"]],t),t}(o.a);o.a.component("survey-matrixcell",l),t["default"]=l},"./node_modules/ts-loader/index.js?!./node_modules/vue-loader/lib/index.js?!./src/vue/matrixdropdown.vue?vue&type=script&lang=ts&": /*!************************************************************************************************************************************************!*\ !*** ./node_modules/ts-loader??ref--0!./node_modules/vue-loader/lib??vue-loader-options!./src/vue/matrixdropdown.vue?vue&type=script&lang=ts& ***! \************************************************************************************************************************************************/ /*! exports provided: MatrixDropdown, default */function(e,t,n){"use strict";n.r(t),n.d(t,"MatrixDropdown",(function(){return u}));var r=n(/*! vue */"vue"),o=n.n(r),i=n(/*! vue-property-decorator */"./node_modules/vue-property-decorator/lib/index.js"),s=n(/*! ./question */"./src/vue/question.ts"),a=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){if("function"!==typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),l=function(e,t,n,r){var o,i=arguments.length,s=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)s=Reflect.decorate(e,t,n,r);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(i<3?o(s):i>3?o(t,n,s):o(t,n))||s);return i>3&&s&&Object.defineProperty(t,n,s),s},u=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return a(t,e),t=l([i["Component"]],t),t}(s["default"]);o.a.component("survey-matrixdropdown",u),t["default"]=u},"./node_modules/ts-loader/index.js?!./node_modules/vue-loader/lib/index.js?!./src/vue/matrixdynamic.vue?vue&type=script&lang=ts&": /*!***********************************************************************************************************************************************!*\ !*** ./node_modules/ts-loader??ref--0!./node_modules/vue-loader/lib??vue-loader-options!./src/vue/matrixdynamic.vue?vue&type=script&lang=ts& ***! \***********************************************************************************************************************************************/ /*! exports provided: MatrixDynamic, default */function(e,t,n){"use strict";n.r(t),n.d(t,"MatrixDynamic",(function(){return u}));var r=n(/*! vue */"vue"),o=n.n(r),i=n(/*! vue-property-decorator */"./node_modules/vue-property-decorator/lib/index.js"),s=n(/*! ./question */"./src/vue/question.ts"),a=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){if("function"!==typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),l=function(e,t,n,r){var o,i=arguments.length,s=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)s=Reflect.decorate(e,t,n,r);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(i<3?o(s):i>3?o(t,n,s):o(t,n))||s);return i>3&&s&&Object.defineProperty(t,n,s),s},u=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return a(t,e),t.prototype.addRowClick=function(){this.question.addRow()},t=l([i["Component"]],t),t}(s["default"]);o.a.component("survey-matrixdynamic",u),t["default"]=u},"./node_modules/ts-loader/index.js?!./node_modules/vue-loader/lib/index.js?!./src/vue/matrixtable.vue?vue&type=script&lang=ts&": /*!*********************************************************************************************************************************************!*\ !*** ./node_modules/ts-loader??ref--0!./node_modules/vue-loader/lib??vue-loader-options!./src/vue/matrixtable.vue?vue&type=script&lang=ts& ***! \*********************************************************************************************************************************************/ /*! exports provided: MatrixTable, default */function(e,t,n){"use strict";n.r(t),n.d(t,"MatrixTable",(function(){return u}));var r=n(/*! vue */"vue"),o=n.n(r),i=n(/*! vue-property-decorator */"./node_modules/vue-property-decorator/lib/index.js"),s=n(/*! ./base */"./src/vue/base.ts"),a=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){if("function"!==typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),l=function(e,t,n,r){var o,i=arguments.length,s=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)s=Reflect.decorate(e,t,n,r);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(i<3?o(s):i>3?o(t,n,s):o(t,n))||s);return i>3&&s&&Object.defineProperty(t,n,s),s},u=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return a(t,e),Object.defineProperty(t.prototype,"table",{get:function(){return this.question.renderedTable},enumerable:!1,configurable:!0}),t.prototype.getModel=function(){return this.question.renderedTable},l([Object(i["Prop"])()],t.prototype,"question",void 0),t=l([i["Component"]],t),t}(s["BaseVue"]);o.a.component("survey-matrixtable",u),t["default"]=u},"./node_modules/ts-loader/index.js?!./node_modules/vue-loader/lib/index.js?!./src/vue/multipletext.vue?vue&type=script&lang=ts&": /*!**********************************************************************************************************************************************!*\ !*** ./node_modules/ts-loader??ref--0!./node_modules/vue-loader/lib??vue-loader-options!./src/vue/multipletext.vue?vue&type=script&lang=ts& ***! \**********************************************************************************************************************************************/ /*! exports provided: MultipleText, default */function(e,t,n){"use strict";n.r(t),n.d(t,"MultipleText",(function(){return u}));var r=n(/*! vue */"vue"),o=n.n(r),i=n(/*! vue-property-decorator */"./node_modules/vue-property-decorator/lib/index.js"),s=n(/*! ./question */"./src/vue/question.ts"),a=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){if("function"!==typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),l=function(e,t,n,r){var o,i=arguments.length,s=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)s=Reflect.decorate(e,t,n,r);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(i<3?o(s):i>3?o(t,n,s):o(t,n))||s);return i>3&&s&&Object.defineProperty(t,n,s),s},u=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return a(t,e),t.prototype.getComponentName=function(e){return e.customWidget?"survey-customwidget":"survey-text"},Object.defineProperty(t.prototype,"hasErrorsOnTop",{get:function(){return"top"===this.question.survey.questionErrorLocation},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"hasErrorsOnBottom",{get:function(){return"bottom"===this.question.survey.questionErrorLocation},enumerable:!1,configurable:!0}),t=l([i["Component"]],t),t}(s["default"]);o.a.component("survey-multipletext",u),t["default"]=u},"./node_modules/ts-loader/index.js?!./node_modules/vue-loader/lib/index.js?!./src/vue/navigation.vue?vue&type=script&lang=ts&": /*!********************************************************************************************************************************************!*\ !*** ./node_modules/ts-loader??ref--0!./node_modules/vue-loader/lib??vue-loader-options!./src/vue/navigation.vue?vue&type=script&lang=ts& ***! \********************************************************************************************************************************************/ /*! exports provided: Navigation, default */function(e,t,n){"use strict";n.r(t),n.d(t,"Navigation",(function(){return u}));var r=n(/*! vue */"vue"),o=n.n(r),i=n(/*! vue-property-decorator */"./node_modules/vue-property-decorator/lib/index.js"),s=n(/*! ./base */"./src/vue/base.ts"),a=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){if("function"!==typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),l=function(e,t,n,r){var o,i=arguments.length,s=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)s=Reflect.decorate(e,t,n,r);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(i<3?o(s):i>3?o(t,n,s):o(t,n))||s);return i>3&&s&&Object.defineProperty(t,n,s),s},u=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.showPrevBtn=!0,t.showNextBtn=!0,t.showCompleteBtn=!0,t}return a(t,e),t.prototype.getModel=function(){return this.survey},t.prototype.onPropertyChanged=function(e,t){this.onCreated(),this.updateShowButtons()},t.prototype.onMounted=function(){var e=this;this.survey.onCurrentPageChanged.add((function(t,n){e.updateShowButtons()})),this.updateShowButtons()},t.prototype.updateShowButtons=function(){this.showPrevBtn=!this.survey.isFirstPage&&this.survey.isShowPrevButton,this.showNextBtn=!this.survey.isLastPage,this.showCompleteBtn=this.survey.isLastPage},t.prototype.nextButtonMouseDown=function(){return this.mouseDownPage=this.survey.currentPage,this.survey.navigationMouseDown()},t.prototype.buttonMouseDown=function(){return this.survey.navigationMouseDown()},t.prototype.prevPage=function(){this.survey.prevPage()},t.prototype.nextPage=function(){this.mouseDownPage&&this.mouseDownPage!==this.survey.currentPage||(this.mouseDownPage=null,this.survey.nextPage())},t.prototype.completeLastPage=function(){this.survey.completeLastPage()},t.prototype.showPreview=function(){this.survey.showPreview()},l([Object(i["Prop"])()],t.prototype,"survey",void 0),l([Object(i["Prop"])()],t.prototype,"css",void 0),l([Object(i["Watch"])("survey")],t.prototype,"onPropertyChanged",null),t=l([i["Component"]],t),t}(s["BaseVue"]);o.a.component("survey-navigation",u),t["default"]=u},"./node_modules/ts-loader/index.js?!./node_modules/vue-loader/lib/index.js?!./src/vue/otherChoice.vue?vue&type=script&lang=ts&": /*!*********************************************************************************************************************************************!*\ !*** ./node_modules/ts-loader??ref--0!./node_modules/vue-loader/lib??vue-loader-options!./src/vue/otherChoice.vue?vue&type=script&lang=ts& ***! \*********************************************************************************************************************************************/ /*! exports provided: OtherChoice, default */function(e,t,n){"use strict";n.r(t),n.d(t,"OtherChoice",(function(){return l}));var r=n(/*! vue */"vue"),o=n.n(r),i=n(/*! vue-property-decorator */"./node_modules/vue-property-decorator/lib/index.js"),s=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){if("function"!==typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),a=function(e,t,n,r){var o,i=arguments.length,s=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)s=Reflect.decorate(e,t,n,r);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(i<3?o(s):i>3?o(t,n,s):o(t,n))||s);return i>3&&s&&Object.defineProperty(t,n,s),s},l=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return s(t,e),t.prototype.change=function(e){this.question.comment=e.target.value},t.prototype.keyup=function(e){this.question.isSurveyInputTextUpdate&&(this.question.comment=e.target.value)},a([Object(i["Prop"])()],t.prototype,"question",void 0),a([Object(i["Prop"])()],t.prototype,"commentClass",void 0),t=a([i["Component"]],t),t}(o.a);o.a.component("survey-other-choice",l),t["default"]=l},"./node_modules/ts-loader/index.js?!./node_modules/vue-loader/lib/index.js?!./src/vue/page.vue?vue&type=script&lang=ts&": /*!**************************************************************************************************************************************!*\ !*** ./node_modules/ts-loader??ref--0!./node_modules/vue-loader/lib??vue-loader-options!./src/vue/page.vue?vue&type=script&lang=ts& ***! \**************************************************************************************************************************************/ /*! exports provided: Page, default */function(e,t,n){"use strict";n.r(t),n.d(t,"Page",(function(){return u}));var r=n(/*! vue */"vue"),o=n.n(r),i=n(/*! vue-property-decorator */"./node_modules/vue-property-decorator/lib/index.js"),s=n(/*! ./base */"./src/vue/base.ts"),a=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){if("function"!==typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),l=function(e,t,n,r){var o,i=arguments.length,s=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)s=Reflect.decorate(e,t,n,r);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(i<3?o(s):i>3?o(t,n,s):o(t,n))||s);return i>3&&s&&Object.defineProperty(t,n,s),s},u=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.isCurrentPageChanged=!1,t}return a(t,e),t.prototype.onPagePropertyChanged=function(e,t){this.isCurrentPageChanged=!0},t.prototype.getModel=function(){return this.page},t.prototype.onMounted=function(){this.survey&&this.survey.afterRenderPage(this.$el)},t.prototype.onUpdated=function(){var e=this;e.survey.afterRenderPage(this.$el),this.$nextTick((function(){this.isCurrentPageChanged&&(this.isCurrentPageChanged=!1,e.survey.scrollToTopOnPageChange())}))},Object.defineProperty(t.prototype,"showHeader",{get:function(){return this.page._showTitle},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"showDescription",{get:function(){return this.page._showDescription},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"num",{get:function(){return this.page.num>0?this.page.num+". ":""},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"rows",{get:function(){return this.page.rows},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"renderTitleActions",{get:function(){return this.survey.renderTitleActions(this.page)},enumerable:!1,configurable:!0}),l([Object(i["Prop"])()],t.prototype,"survey",void 0),l([Object(i["Prop"])()],t.prototype,"page",void 0),l([Object(i["Prop"])()],t.prototype,"css",void 0),l([Object(i["Watch"])("page")],t.prototype,"onPagePropertyChanged",null),t=l([i["Component"]],t),t}(s["BaseVue"]);o.a.component("survey-page",u),t["default"]=u},"./node_modules/ts-loader/index.js?!./node_modules/vue-loader/lib/index.js?!./src/vue/panel.vue?vue&type=script&lang=ts&": /*!***************************************************************************************************************************************!*\ !*** ./node_modules/ts-loader??ref--0!./node_modules/vue-loader/lib??vue-loader-options!./src/vue/panel.vue?vue&type=script&lang=ts& ***! \***************************************************************************************************************************************/ /*! exports provided: Panel, default */function(e,t,n){"use strict";n.r(t),n.d(t,"Panel",(function(){return u}));var r=n(/*! vue */"vue"),o=n.n(r),i=n(/*! vue-property-decorator */"./node_modules/vue-property-decorator/lib/index.js"),s=n(/*! ./base */"./src/vue/base.ts"),a=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){if("function"!==typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),l=function(e,t,n,r){var o,i=arguments.length,s=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)s=Reflect.decorate(e,t,n,r);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(i<3?o(s):i>3?o(t,n,s):o(t,n))||s);return i>3&&s&&Object.defineProperty(t,n,s),s},u=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.isCollapsed=!1,t}return a(t,e),t.prototype.getModel=function(){return this.question},t.prototype.onMounted=function(){var e=this;this.question.survey&&this.question.survey.afterRenderPanel(this.question,this.$el),this.isCollapsed=this.question.isCollapsed,this.question.stateChangedCallback=function(){e.isCollapsed=e.question.isCollapsed}},t.prototype.beforeDestroy=function(){this.question.stateChangedCallback=null},Object.defineProperty(t.prototype,"rootStyle",{get:function(){var e={};return this.question.renderWidth&&(e["flexBasis"]=this.question.renderWidth,e["flexGrow"]=1,e["flexShrink"]=1,e["width"]=this.question.renderWidth,e["minWidth"]=this.question.minWidth,e["maxWidth"]=this.question.maxWidth),e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"showIcon",{get:function(){return this.question.isExpanded||this.question.isCollapsed},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"rows",{get:function(){return this.question.rows},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"hasTitle",{get:function(){return this.question.title.length>0},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"survey",{get:function(){return this.question.survey},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"iconCss",{get:function(){var e=this.css.panel.icon;return this.isCollapsed||(e+=" "+this.css.panel.iconExpanded),e},enumerable:!1,configurable:!0}),t.prototype.changeExpanded=function(){this.question.toggleState()},t.prototype.cancelPreview=function(){this.question.cancelPreview()},t.prototype.getTitleStyle=function(){var e=this.css.panel.title;return(this.question.isCollapsed||this.question.isExpanded)&&(e+=" "+this.css.panel.titleExpandable),this.question.containsErrors&&(e+=" "+this.question.cssClasses.panel.titleOnError),e},Object.defineProperty(t.prototype,"requiredTextCss",{get:function(){return this.question.cssClasses.requiredText||this.question.cssClasses.panel.requiredText},enumerable:!1,configurable:!0}),l([Object(i["Prop"])()],t.prototype,"question",void 0),l([Object(i["Prop"])()],t.prototype,"isEditMode",void 0),l([Object(i["Prop"])()],t.prototype,"css",void 0),t=l([i["Component"]],t),t}(s["BaseVue"]);o.a.component("survey-panel",u),t["default"]=u},"./node_modules/ts-loader/index.js?!./node_modules/vue-loader/lib/index.js?!./src/vue/paneldynamic.vue?vue&type=script&lang=ts&": /*!**********************************************************************************************************************************************!*\ !*** ./node_modules/ts-loader??ref--0!./node_modules/vue-loader/lib??vue-loader-options!./src/vue/paneldynamic.vue?vue&type=script&lang=ts& ***! \**********************************************************************************************************************************************/ /*! exports provided: PanelDynamic, default */function(e,t,n){"use strict";n.r(t),n.d(t,"PanelDynamic",(function(){return u}));var r=n(/*! vue */"vue"),o=n.n(r),i=n(/*! vue-property-decorator */"./node_modules/vue-property-decorator/lib/index.js"),s=n(/*! ./question */"./src/vue/question.ts"),a=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){if("function"!==typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),l=function(e,t,n,r){var o,i=arguments.length,s=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)s=Reflect.decorate(e,t,n,r);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(i<3?o(s):i>3?o(t,n,s):o(t,n))||s);return i>3&&s&&Object.defineProperty(t,n,s),s},u=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return a(t,e),Object.defineProperty(t.prototype,"renderedPanels",{get:function(){if(this.question.isRenderModeList)return this.question.panels;var e=[];return this.question.currentPanel&&e.push(this.question.currentPanel),e},enumerable:!1,configurable:!0}),t.prototype.addPanelClick=function(){this.question.addPanel()},t.prototype.getButtonAddCss=function(e){var t=e.cssClasses.button+" "+e.cssClasses.buttonAdd;return"list"===this.question.renderMode&&(t+=" "+e.cssClasses.buttonAdd+"--list-mode"),t},t=l([i["Component"]],t),t}(s["default"]);o.a.component("survey-paneldynamic",u),t["default"]=u},"./node_modules/ts-loader/index.js?!./node_modules/vue-loader/lib/index.js?!./src/vue/paneldynamicprogress.vue?vue&type=script&lang=ts&": /*!******************************************************************************************************************************************************!*\ !*** ./node_modules/ts-loader??ref--0!./node_modules/vue-loader/lib??vue-loader-options!./src/vue/paneldynamicprogress.vue?vue&type=script&lang=ts& ***! \******************************************************************************************************************************************************/ /*! exports provided: PanelDynamicProgress, default */function(e,t,n){"use strict";n.r(t),n.d(t,"PanelDynamicProgress",(function(){return l}));var r=n(/*! vue */"vue"),o=n.n(r),i=n(/*! vue-property-decorator */"./node_modules/vue-property-decorator/lib/index.js"),s=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){if("function"!==typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),a=function(e,t,n,r){var o,i=arguments.length,s=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)s=Reflect.decorate(e,t,n,r);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(i<3?o(s):i>3?o(t,n,s):o(t,n))||s);return i>3&&s&&Object.defineProperty(t,n,s),s},l=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return s(t,e),Object.defineProperty(t.prototype,"cssClass",{get:function(){return this.question.isProgressTopShowing?this.question.cssClasses.progressTop:this.question.cssClasses.progressBottom},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"rangeMax",{get:function(){return this.question.panelCount-1},enumerable:!1,configurable:!0}),t.prototype.addPanelClick=function(){this.question.addPanelUI()},t.prototype.prevPanelClick=function(){this.question.goToPrevPanel()},t.prototype.nextPanelClick=function(){this.question.goToNextPanel()},t.prototype.changeRange=function(e){this.question.currentIndex=e.target.value},t.prototype.getButtonAddCss=function(e){},t.prototype.getButtonPrevCss=function(e){var t=e.cssClasses.buttonPrev;return e.isPrevButtonShowing||(t+=" "+e.cssClasses.buttonPrev+"--disabled"),t},t.prototype.getButtonNextCss=function(e){var t=e.cssClasses.buttonNext;return e.isNextButtonShowing||(t+=" "+e.cssClasses.buttonNext+"--disabled"),t},Object.defineProperty(t.prototype,"progress",{get:function(){return this.question.currentIndex/this.rangeMax*100+"%"},enumerable:!1,configurable:!0}),a([Object(i["Prop"])()],t.prototype,"question",void 0),t=a([i["Component"]],t),t}(o.a);o.a.component("survey-paneldynamicprogress",l),t["default"]=l},"./node_modules/ts-loader/index.js?!./node_modules/vue-loader/lib/index.js?!./src/vue/paneldynamicremove.vue?vue&type=script&lang=ts&": /*!****************************************************************************************************************************************************!*\ !*** ./node_modules/ts-loader??ref--0!./node_modules/vue-loader/lib??vue-loader-options!./src/vue/paneldynamicremove.vue?vue&type=script&lang=ts& ***! \****************************************************************************************************************************************************/ /*! exports provided: PanelDynamicRemove, default */function(e,t,n){"use strict";n.r(t),n.d(t,"PanelDynamicRemove",(function(){return l}));var r=n(/*! vue */"vue"),o=n.n(r),i=n(/*! vue-property-decorator */"./node_modules/vue-property-decorator/lib/index.js"),s=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){if("function"!==typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),a=function(e,t,n,r){var o,i=arguments.length,s=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)s=Reflect.decorate(e,t,n,r);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(i<3?o(s):i>3?o(t,n,s):o(t,n))||s);return i>3&&s&&Object.defineProperty(t,n,s),s},l=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.isCollapsedValue=!1,t}return s(t,e),t.prototype.mounted=function(){this.isCollapsed=this.panel.isCollapsed;var e=this;this.panel.registerFunctionOnPropertyValueChanged("state",(function(t){e.isCollapsed=e.panel.isCollapsed}),"button")},t.prototype.beforeDestroy=function(){this.panel.unRegisterFunctionOnPropertyValueChanged("state","button")},t.prototype.removePanelClick=function(e){this.question.isInputReadOnly||this.question.removePanelUI(e)},Object.defineProperty(t.prototype,"isCollapsed",{get:function(){return this.isCollapsedValue},set:function(e){this.isCollapsedValue=e},enumerable:!1,configurable:!0}),a([Object(i["Prop"])()],t.prototype,"question",void 0),a([Object(i["Prop"])()],t.prototype,"panel",void 0),t=a([i["Component"]],t),t}(o.a);o.a.component("survey-paneldynamicremove",l),t["default"]=l},"./node_modules/ts-loader/index.js?!./node_modules/vue-loader/lib/index.js?!./src/vue/progress.vue?vue&type=script&lang=ts&": /*!******************************************************************************************************************************************!*\ !*** ./node_modules/ts-loader??ref--0!./node_modules/vue-loader/lib??vue-loader-options!./src/vue/progress.vue?vue&type=script&lang=ts& ***! \******************************************************************************************************************************************/ /*! exports provided: Progress, default */function(e,t,n){"use strict";n.r(t),n.d(t,"Progress",(function(){return l}));var r=n(/*! vue */"vue"),o=n.n(r),i=n(/*! vue-property-decorator */"./node_modules/vue-property-decorator/lib/index.js"),s=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){if("function"!==typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),a=function(e,t,n,r){var o,i=arguments.length,s=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)s=Reflect.decorate(e,t,n,r);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(i<3?o(s):i>3?o(t,n,s):o(t,n))||s);return i>3&&s&&Object.defineProperty(t,n,s),s},l=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return s(t,e),Object.defineProperty(t.prototype,"progress",{get:function(){return this.survey.progressValue+"%"},enumerable:!1,configurable:!0}),a([Object(i["Prop"])()],t.prototype,"survey",void 0),a([Object(i["Prop"])()],t.prototype,"css",void 0),t=a([i["Component"]],t),t}(o.a);o.a.component("sv-progress-pages",l),o.a.component("sv-progress-questions",l),o.a.component("sv-progress-correctQuestions",l),o.a.component("sv-progress-requiredQuestions",l),t["default"]=l},"./node_modules/ts-loader/index.js?!./node_modules/vue-loader/lib/index.js?!./src/vue/progressButtons.vue?vue&type=script&lang=ts&": /*!*************************************************************************************************************************************************!*\ !*** ./node_modules/ts-loader??ref--0!./node_modules/vue-loader/lib??vue-loader-options!./src/vue/progressButtons.vue?vue&type=script&lang=ts& ***! \*************************************************************************************************************************************************/ /*! exports provided: ProgressButtons, default */function(e,t,n){"use strict";n.r(t),n.d(t,"ProgressButtons",(function(){return u}));var r=n(/*! vue */"vue"),o=n.n(r),i=n(/*! vue-property-decorator */"./node_modules/vue-property-decorator/lib/index.js"),s=n(/*! survey-core */"./src/entries/core.ts"),a=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){if("function"!==typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),l=function(e,t,n,r){var o,i=arguments.length,s=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)s=Reflect.decorate(e,t,n,r);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(i<3?o(s):i>3?o(t,n,s):o(t,n))||s);return i>3&&s&&Object.defineProperty(t,n,s),s},u=function(e){function t(){var t=e.call(this)||this;return t.hasScroller=!1,t.updateScroller=void 0,t.progressButtonsModel=new s["SurveyProgressButtonsModel"](t.survey),t}return a(t,e),t.prototype.mounted=function(){var e=this,t=this.$refs["progressButtonsListContainer"];this.updateScroller=setInterval((function(){e.hasScroller=t.scrollWidth>t.offsetWidth}),100)},t.prototype.isListElementClickable=function(e){return this.progressButtonsModel.isListElementClickable(e)},t.prototype.getListElementCss=function(e){return this.progressButtonsModel.getListElementCss(e)},t.prototype.clickListElement=function(e){this.progressButtonsModel.clickListElement(e)},t.prototype.getScrollButtonCss=function(e,t){var n=t?this.css.progressButtonsImageButtonLeft:this.css.progressButtonsImageButtonRight;return e||(n+=" "+this.css.progressButtonsImageButtonHidden),n},t.prototype.clickScrollButton=function(e){var t=this.$refs["progressButtonsListContainer"];t.scrollLeft+=70*(e?-1:1)},t.prototype.beforeDestroy=function(){"undefined"!==typeof this.updateScroller&&(clearInterval(this.updateScroller),this.updateScroller=void 0)},l([Object(i["Prop"])()],t.prototype,"survey",void 0),l([Object(i["Prop"])()],t.prototype,"css",void 0),t=l([i["Component"]],t),t}(o.a);o.a.component("sv-progress-buttons",u),t["default"]=u},"./node_modules/ts-loader/index.js?!./node_modules/vue-loader/lib/index.js?!./src/vue/radiogroup.vue?vue&type=script&lang=ts&": /*!********************************************************************************************************************************************!*\ !*** ./node_modules/ts-loader??ref--0!./node_modules/vue-loader/lib??vue-loader-options!./src/vue/radiogroup.vue?vue&type=script&lang=ts& ***! \********************************************************************************************************************************************/ /*! exports provided: Radiogroup, default */function(e,t,n){"use strict";n.r(t),n.d(t,"Radiogroup",(function(){return u}));var r=n(/*! vue */"vue"),o=n.n(r),i=n(/*! vue-property-decorator */"./node_modules/vue-property-decorator/lib/index.js"),s=n(/*! ./question */"./src/vue/question.ts"),a=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){if("function"!==typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),l=function(e,t,n,r){var o,i=arguments.length,s=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)s=Reflect.decorate(e,t,n,r);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(i<3?o(s):i>3?o(t,n,s):o(t,n))||s);return i>3&&s&&Object.defineProperty(t,n,s),s},u=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return a(t,e),Object.defineProperty(t.prototype,"choicesCount",{get:function(){return this.question.visibleChoices.length-1},enumerable:!1,configurable:!0}),t.prototype.getItemClass=function(e){return this.question.getItemClass(e)},t=l([i["Component"]],t),t}(s["default"]);o.a.component("survey-radiogroup",u),t["default"]=u},"./node_modules/ts-loader/index.js?!./node_modules/vue-loader/lib/index.js?!./src/vue/radiogroupitem.vue?vue&type=script&lang=ts&": /*!************************************************************************************************************************************************!*\ !*** ./node_modules/ts-loader??ref--0!./node_modules/vue-loader/lib??vue-loader-options!./src/vue/radiogroupitem.vue?vue&type=script&lang=ts& ***! \************************************************************************************************************************************************/ /*! exports provided: RadiogroupItem, default */function(e,t,n){"use strict";n.r(t),n.d(t,"RadiogroupItem",(function(){return u}));var r=n(/*! vue */"vue"),o=n.n(r),i=n(/*! vue-property-decorator */"./node_modules/vue-property-decorator/lib/index.js"),s=n(/*! ./base */"./src/vue/base.ts"),a=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){if("function"!==typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),l=function(e,t,n,r){var o,i=arguments.length,s=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)s=Reflect.decorate(e,t,n,r);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(i<3?o(s):i>3?o(t,n,s):o(t,n))||s);return i>3&&s&&Object.defineProperty(t,n,s),s},u=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return a(t,e),t.prototype.getModel=function(){return this.item},t.prototype.getLabelClass=function(e){return this.question.getLabelClass(e)},t.prototype.getControlLabelClass=function(e){return this.question.getControlLabelClass(e)},l([Object(i["Prop"])()],t.prototype,"question",void 0),l([Object(i["Prop"])()],t.prototype,"item",void 0),l([Object(i["Prop"])()],t.prototype,"index",void 0),l([Object(i["Prop"])()],t.prototype,"hideLabel",void 0),t=l([i["Component"]],t),t}(s["BaseVue"]);o.a.component("survey-radiogroup-item",u),t["default"]=u},"./node_modules/ts-loader/index.js?!./node_modules/vue-loader/lib/index.js?!./src/vue/ranking/ranking-item.vue?vue&type=script&lang=ts&": /*!******************************************************************************************************************************************************!*\ !*** ./node_modules/ts-loader??ref--0!./node_modules/vue-loader/lib??vue-loader-options!./src/vue/ranking/ranking-item.vue?vue&type=script&lang=ts& ***! \******************************************************************************************************************************************************/ /*! exports provided: RankingItem, default */function(e,t,n){"use strict";n.r(t),n.d(t,"RankingItem",(function(){return l}));var r=n(/*! vue */"vue"),o=n.n(r),i=n(/*! vue-property-decorator */"./node_modules/vue-property-decorator/lib/index.js"),s=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){if("function"!==typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),a=function(e,t,n,r){var o,i=arguments.length,s=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)s=Reflect.decorate(e,t,n,r);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(i<3?o(s):i>3?o(t,n,s):o(t,n))||s);return i>3&&s&&Object.defineProperty(t,n,s),s},l=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return s(t,e),a([Object(i["Prop"])()],t.prototype,"index",void 0),a([Object(i["Prop"])()],t.prototype,"text",void 0),a([Object(i["Prop"])()],t.prototype,"handleKeydown",void 0),a([Object(i["Prop"])()],t.prototype,"cssClasses",void 0),t=a([i["Component"]],t),t}(o.a);o.a.component("survey-ranking-item",l),t["default"]=l},"./node_modules/ts-loader/index.js?!./node_modules/vue-loader/lib/index.js?!./src/vue/ranking/ranking.vue?vue&type=script&lang=ts&": /*!*************************************************************************************************************************************************!*\ !*** ./node_modules/ts-loader??ref--0!./node_modules/vue-loader/lib??vue-loader-options!./src/vue/ranking/ranking.vue?vue&type=script&lang=ts& ***! \*************************************************************************************************************************************************/ /*! exports provided: Ranking, default */function(e,t,n){"use strict";n.r(t),n.d(t,"Ranking",(function(){return u}));var r=n(/*! vue */"vue"),o=n.n(r),i=n(/*! vue-property-decorator */"./node_modules/vue-property-decorator/lib/index.js"),s=n(/*! ../question */"./src/vue/question.ts"),a=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){if("function"!==typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),l=function(e,t,n,r){var o,i=arguments.length,s=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)s=Reflect.decorate(e,t,n,r);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(i<3?o(s):i>3?o(t,n,s):o(t,n))||s);return i>3&&s&&Object.defineProperty(t,n,s),s},u=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return a(t,e),t=l([i["Component"]],t),t}(s["default"]);o.a.component("survey-ranking",u),t["default"]=u},"./node_modules/ts-loader/index.js?!./node_modules/vue-loader/lib/index.js?!./src/vue/rating.vue?vue&type=script&lang=ts&": /*!****************************************************************************************************************************************!*\ !*** ./node_modules/ts-loader??ref--0!./node_modules/vue-loader/lib??vue-loader-options!./src/vue/rating.vue?vue&type=script&lang=ts& ***! \****************************************************************************************************************************************/ /*! exports provided: Rating, default */function(e,t,n){"use strict";n.r(t),n.d(t,"Rating",(function(){return u}));var r=n(/*! vue */"vue"),o=n.n(r),i=n(/*! vue-property-decorator */"./node_modules/vue-property-decorator/lib/index.js"),s=n(/*! ./question */"./src/vue/question.ts"),a=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){if("function"!==typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),l=function(e,t,n,r){var o,i=arguments.length,s=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)s=Reflect.decorate(e,t,n,r);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(i<3?o(s):i>3?o(t,n,s):o(t,n))||s);return i>3&&s&&Object.defineProperty(t,n,s),s},u=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return a(t,e),t.prototype.getCss=function(e,t){var n=e.cssClasses.item,r=this.question.cssClasses.itemDisabled;return e.value==t.value&&(n=n+" "+e.cssClasses.selected),this.question.isReadOnly&&(n=n+" "+r),n},t.prototype.getRootClass=function(e){var t=e.cssClasses;return e.isReadOnly?t.root+" "+t.disabled:t.root},t=l([i["Component"]],t),t}(s["default"]);o.a.component("survey-rating",u),t["default"]=u},"./node_modules/ts-loader/index.js?!./node_modules/vue-loader/lib/index.js?!./src/vue/row.vue?vue&type=script&lang=ts&": /*!*************************************************************************************************************************************!*\ !*** ./node_modules/ts-loader??ref--0!./node_modules/vue-loader/lib??vue-loader-options!./src/vue/row.vue?vue&type=script&lang=ts& ***! \*************************************************************************************************************************************/ /*! exports provided: Row, default */function(e,t,n){"use strict";n.r(t),n.d(t,"Row",(function(){return u}));var r=n(/*! vue */"vue"),o=n.n(r),i=n(/*! vue-property-decorator */"./node_modules/vue-property-decorator/lib/index.js"),s=n(/*! ./base */"./src/vue/base.ts"),a=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){if("function"!==typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),l=function(e,t,n,r){var o,i=arguments.length,s=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)s=Reflect.decorate(e,t,n,r);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(i<3?o(s):i>3?o(t,n,s):o(t,n))||s);return i>3&&s&&Object.defineProperty(t,n,s),s},u=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return a(t,e),t.prototype.getModel=function(){return this.row},t.prototype.onMounted=function(){var e=this;if(this.row&&!this.row.isNeedRender){var t=this.$el;setTimeout((function(){e.row.startLazyRendering(t)}),10)}},t.prototype.beforeDestroy=function(){this.row&&(this.row.isNeedRender=!this.row.isLazyRendering)},l([Object(i["Prop"])()],t.prototype,"row",void 0),l([Object(i["Prop"])()],t.prototype,"css",void 0),l([Object(i["Prop"])()],t.prototype,"survey",void 0),t=l([i["Component"]],t),t}(s["BaseVue"]);o.a.component("survey-row",u),t["default"]=u},"./node_modules/ts-loader/index.js?!./node_modules/vue-loader/lib/index.js?!./src/vue/signaturepad.vue?vue&type=script&lang=ts&": /*!**********************************************************************************************************************************************!*\ !*** ./node_modules/ts-loader??ref--0!./node_modules/vue-loader/lib??vue-loader-options!./src/vue/signaturepad.vue?vue&type=script&lang=ts& ***! \**********************************************************************************************************************************************/ /*! exports provided: SignaturePad, default */function(e,t,n){"use strict";n.r(t),n.d(t,"SignaturePad",(function(){return u}));var r=n(/*! vue */"vue"),o=n.n(r),i=n(/*! vue-property-decorator */"./node_modules/vue-property-decorator/lib/index.js"),s=n(/*! ./question */"./src/vue/question.ts"),a=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){if("function"!==typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),l=function(e,t,n,r){var o,i=arguments.length,s=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)s=Reflect.decorate(e,t,n,r);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(i<3?o(s):i>3?o(t,n,s):o(t,n))||s);return i>3&&s&&Object.defineProperty(t,n,s),s},u=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return a(t,e),t=l([i["Component"]],t),t}(s["default"]);o.a.component("survey-signaturepad",u),t["default"]=u},"./node_modules/ts-loader/index.js?!./node_modules/vue-loader/lib/index.js?!./src/vue/string-editor.vue?vue&type=script&lang=ts&": /*!***********************************************************************************************************************************************!*\ !*** ./node_modules/ts-loader??ref--0!./node_modules/vue-loader/lib??vue-loader-options!./src/vue/string-editor.vue?vue&type=script&lang=ts& ***! \***********************************************************************************************************************************************/ /*! exports provided: SurveyStringEditor, default */function(e,t,n){"use strict";n.r(t),n.d(t,"SurveyStringEditor",(function(){return u}));var r=n(/*! vue */"vue"),o=n.n(r),i=n(/*! vue-property-decorator */"./node_modules/vue-property-decorator/lib/index.js"),s=n(/*! survey-core */"./src/entries/core.ts"),a=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){if("function"!==typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),l=function(e,t,n,r){var o,i=arguments.length,s=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)s=Reflect.decorate(e,t,n,r);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(i<3?o(s):i>3?o(t,n,s):o(t,n))||s);return i>3&&s&&Object.defineProperty(t,n,s),s},u=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.onInput=function(e){t.locString.text=e.target.innerText},t.onClick=function(e){e.preventDefault(),e.stopPropagation()},t}return a(t,e),l([Object(i["Prop"])()],t.prototype,"locString",void 0),t=l([i["Component"]],t),t}(o.a);o.a.component(s["LocalizableString"].editableRenderer,u),t["default"]=u},"./node_modules/ts-loader/index.js?!./node_modules/vue-loader/lib/index.js?!./src/vue/string-viewer.vue?vue&type=script&lang=ts&": /*!***********************************************************************************************************************************************!*\ !*** ./node_modules/ts-loader??ref--0!./node_modules/vue-loader/lib??vue-loader-options!./src/vue/string-viewer.vue?vue&type=script&lang=ts& ***! \***********************************************************************************************************************************************/ /*! exports provided: SurveyStringViewer, default */function(e,t,n){"use strict";n.r(t),n.d(t,"SurveyStringViewer",(function(){return u}));var r=n(/*! vue */"vue"),o=n.n(r),i=n(/*! vue-property-decorator */"./node_modules/vue-property-decorator/lib/index.js"),s=n(/*! survey-core */"./src/entries/core.ts"),a=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){if("function"!==typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),l=function(e,t,n,r){var o,i=arguments.length,s=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)s=Reflect.decorate(e,t,n,r);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(i<3?o(s):i>3?o(t,n,s):o(t,n))||s);return i>3&&s&&Object.defineProperty(t,n,s),s},u=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return a(t,e),l([Object(i["Prop"])()],t.prototype,"locString",void 0),t=l([i["Component"]],t),t}(o.a);o.a.component(s["LocalizableString"].defaultRenderer,u),t["default"]=u},"./node_modules/ts-loader/index.js?!./node_modules/vue-loader/lib/index.js?!./src/vue/string.vue?vue&type=script&lang=ts&": /*!****************************************************************************************************************************************!*\ !*** ./node_modules/ts-loader??ref--0!./node_modules/vue-loader/lib??vue-loader-options!./src/vue/string.vue?vue&type=script&lang=ts& ***! \****************************************************************************************************************************************/ /*! exports provided: SurveyString, default */function(e,t,n){"use strict";n.r(t),n.d(t,"SurveyString",(function(){return l}));var r=n(/*! vue */"vue"),o=n.n(r),i=n(/*! vue-property-decorator */"./node_modules/vue-property-decorator/lib/index.js"),s=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){if("function"!==typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),a=function(e,t,n,r){var o,i=arguments.length,s=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)s=Reflect.decorate(e,t,n,r);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(i<3?o(s):i>3?o(t,n,s):o(t,n))||s);return i>3&&s&&Object.defineProperty(t,n,s),s},l=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return s(t,e),a([Object(i["Prop"])()],t.prototype,"locString",void 0),t=a([i["Component"]],t),t}(o.a);o.a.component("survey-string",l),t["default"]=l},"./node_modules/ts-loader/index.js?!./node_modules/vue-loader/lib/index.js?!./src/vue/survey.vue?vue&type=script&lang=ts&": /*!****************************************************************************************************************************************!*\ !*** ./node_modules/ts-loader??ref--0!./node_modules/vue-loader/lib??vue-loader-options!./src/vue/survey.vue?vue&type=script&lang=ts& ***! \****************************************************************************************************************************************/ /*! exports provided: Survey, default */function(e,t,n){"use strict";n.r(t),n.d(t,"Survey",(function(){return c}));var r=n(/*! vue */"vue"),o=n.n(r),i=n(/*! vue-property-decorator */"./node_modules/vue-property-decorator/lib/index.js"),s=n(/*! survey-core */"./src/entries/core.ts"),a=n(/*! ./base */"./src/vue/base.ts"),l=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){if("function"!==typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),u=function(e,t,n,r){var o,i=arguments.length,s=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)s=Reflect.decorate(e,t,n,r);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(i<3?o(s):i>3?o(t,n,s):o(t,n))||s);return i>3&&s&&Object.defineProperty(t,n,s),s},c=function(e){function t(){var t=e.call(this)||this;return t.currentPageId=1,t}return l(t,e),Object.defineProperty(t.prototype,"pageId",{get:function(){return"page"+this.currentPageId.toString()},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"navId",{get:function(){return"nav"+this.currentPageId.toString()},enumerable:!1,configurable:!0}),t.prototype.forceUpdate=function(){this.$forceUpdate(),this.currentPageId++},t.prototype.getModel=function(){return this.survey},t.prototype.onPropertyChanged=function(e,t){this.onCreated(),this.surveyOnMounted()},t.prototype.onMounted=function(){this.surveyOnMounted()},t.prototype.surveyOnMounted=function(){var e=this;if(this.survey){o.a.set(this.survey,"currentPage",this.survey.currentPage),this.survey.onCurrentPageChanged.add((function(t,n){e.currentPageId++})),this.survey.onPageVisibleChanged.add((function(t,n){e.currentPageId++}));var t=this.$el;t&&this.survey.doAfterRenderSurvey(t),this.survey.renderCallback=this.forceUpdate,this.survey.startTimerFromUI()}},t.prototype.beforeDestroy=function(){this.survey.stopTimer(),this.survey.renderCallback=void 0},Object.defineProperty(t.prototype,"hasTitle",{get:function(){return!!this.survey.title&&this.survey.showTitle},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"hasCompletedPage",{get:function(){return this.survey.showCompletedPage&&"completed"===this.survey.state},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"css",{get:function(){return this.survey.css},enumerable:!1,configurable:!0}),t.prototype.getCompletedPageClasses=function(){var e=this.css;return e.body+" "+e.completedPage},t.prototype.getProcessedCompletedHtml=function(){return this.hasCompletedPage?(this.processedCompletedHtmlValue||(this.processedCompletedHtmlValue=this.survey.processedCompletedHtml),this.processedCompletedHtmlValue):""},t.prototype.getCompletedStateClasses=function(){return this.css.saveData[this.survey.completedState]},t.prototype.start=function(){this.survey.start()},t.prototype.doTrySaveAgain=function(){this.survey.doComplete()},u([Object(i["Prop"])()],t.prototype,"survey",void 0),u([Object(i["Watch"])("survey")],t.prototype,"onPropertyChanged",null),t=u([i["Component"]],t),t}(a["BaseVue"]);Object.defineProperty(c,"cssType",{get:function(){return s["surveyCss"].currentType},set:function(e){s["StylesManager"].applyTheme(e)},enumerable:!0,configurable:!1}),o.a.component("survey",c),t["default"]=c},"./node_modules/ts-loader/index.js?!./node_modules/vue-loader/lib/index.js?!./src/vue/text.vue?vue&type=script&lang=ts&": /*!**************************************************************************************************************************************!*\ !*** ./node_modules/ts-loader??ref--0!./node_modules/vue-loader/lib??vue-loader-options!./src/vue/text.vue?vue&type=script&lang=ts& ***! \**************************************************************************************************************************************/ /*! exports provided: QuestionText, default */function(e,t,n){"use strict";n.r(t),n.d(t,"QuestionText",(function(){return u}));var r=n(/*! vue */"vue"),o=n.n(r),i=n(/*! vue-property-decorator */"./node_modules/vue-property-decorator/lib/index.js"),s=n(/*! ./question */"./src/vue/question.ts"),a=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){if("function"!==typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),l=function(e,t,n,r){var o,i=arguments.length,s=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)s=Reflect.decorate(e,t,n,r);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(i<3?o(s):i>3?o(t,n,s):o(t,n))||s);return i>3&&s&&Object.defineProperty(t,n,s),s},u=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return a(t,e),t.prototype.change=function(e){this.question.value=e.target.value},t.prototype.keyup=function(e){this.question.isInputTextUpdate&&(this.question.value=e.target.value)},Object.defineProperty(t.prototype,"inputStyle",{get:function(){var e={};return this.question.inputWidth&&(e.width=this.question.inputWidth),e},enumerable:!1,configurable:!0}),t=l([i["Component"]],t),t}(s["default"]);o.a.component("survey-text",u),t["default"]=u},"./node_modules/ts-loader/index.js?!./node_modules/vue-loader/lib/index.js?!./src/vue/timerpanel.vue?vue&type=script&lang=ts&": /*!********************************************************************************************************************************************!*\ !*** ./node_modules/ts-loader??ref--0!./node_modules/vue-loader/lib??vue-loader-options!./src/vue/timerpanel.vue?vue&type=script&lang=ts& ***! \********************************************************************************************************************************************/ /*! exports provided: TimerPanel, default */function(e,t,n){"use strict";n.r(t),n.d(t,"TimerPanel",(function(){return l}));var r=n(/*! vue */"vue"),o=n.n(r),i=n(/*! vue-property-decorator */"./node_modules/vue-property-decorator/lib/index.js"),s=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){if("function"!==typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),a=function(e,t,n,r){var o,i=arguments.length,s=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)s=Reflect.decorate(e,t,n,r);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(i<3?o(s):i>3?o(t,n,s):o(t,n))||s);return i>3&&s&&Object.defineProperty(t,n,s),s},l=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return s(t,e),Object.defineProperty(t.prototype,"text",{get:function(){return this.survey.timerInfoText},enumerable:!1,configurable:!0}),a([Object(i["Prop"])()],t.prototype,"survey",void 0),a([Object(i["Prop"])()],t.prototype,"css",void 0),t=a([i["Component"]],t),t}(o.a);o.a.component("survey-timerpanel",l),t["default"]=l},"./node_modules/ts-loader/index.js?!./node_modules/vue-loader/lib/index.js?!./src/vue/titlecontent.vue?vue&type=script&lang=ts&": /*!**********************************************************************************************************************************************!*\ !*** ./node_modules/ts-loader??ref--0!./node_modules/vue-loader/lib??vue-loader-options!./src/vue/titlecontent.vue?vue&type=script&lang=ts& ***! \**********************************************************************************************************************************************/ /*! exports provided: TitleContent, default */function(e,t,n){"use strict";n.r(t),n.d(t,"TitleContent",(function(){return l}));var r=n(/*! vue-property-decorator */"./node_modules/vue-property-decorator/lib/index.js"),o=n(/*! vue */"vue"),i=n.n(o),s=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){if("function"!==typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),a=function(e,t,n,r){var o,i=arguments.length,s=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)s=Reflect.decorate(e,t,n,r);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(i<3?o(s):i>3?o(t,n,s):o(t,n))||s);return i>3&&s&&Object.defineProperty(t,n,s),s},l=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return s(t,e),a([Object(r["Prop"])()],t.prototype,"element",void 0),a([Object(r["Prop"])()],t.prototype,"css",void 0),t=a([r["Component"]],t),t}(i.a);i.a.component("survey-question-title-content",l),t["default"]=l},"./node_modules/ts-loader/index.js?!./node_modules/vue-loader/lib/index.js?!./src/vue/window.vue?vue&type=script&lang=ts&": /*!****************************************************************************************************************************************!*\ !*** ./node_modules/ts-loader??ref--0!./node_modules/vue-loader/lib??vue-loader-options!./src/vue/window.vue?vue&type=script&lang=ts& ***! \****************************************************************************************************************************************/ /*! exports provided: Window, default */function(e,t,n){"use strict";n.r(t),n.d(t,"Window",(function(){return u}));var r=n(/*! vue */"vue"),o=n.n(r),i=n(/*! vue-property-decorator */"./node_modules/vue-property-decorator/lib/index.js"),s=n(/*! ./surveyModel */"./src/vue/surveyModel.ts"),a=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){if("function"!==typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),l=function(e,t,n,r){var o,i=arguments.length,s=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)s=Reflect.decorate(e,t,n,r);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(i<3?o(s):i>3?o(t,n,s):o(t,n))||s);return i>3&&s&&Object.defineProperty(t,n,s),s},u=function(e){function t(){var t=e.call(this)||this;t.window?t.surveyWindow=t.window:t.surveyWindow=new s["VueSurveyWindowModel"](null,t.survey),void 0!==t.isexpanded&&(t.surveyWindow.isExpanded=t.isexpanded),void 0!==t.isExpanded&&(t.surveyWindow.isExpanded=t.isExpanded),void 0!==t.closeOnCompleteTimeout&&(t.surveyWindow.closeOnCompleteTimeout=t.closeOnCompleteTimeout),t.surveyWindow.isShowing=!0;var n=t;return t.surveyWindow.closeWindowOnCompleteCallback=function(){n.doHide()},t}return a(t,e),Object.defineProperty(t.prototype,"windowSurvey",{get:function(){return this.surveyWindow.survey},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"css",{get:function(){return this.survey?this.survey.getCss():{}},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"expandedCss",{get:function(){return this.surveyWindow.isExpanded?this.css.window.header.buttonCollapsed:this.css.window.header.buttonExpanded},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isExpandedSurvey",{get:function(){return this.surveyWindow.isExpanded},set:function(e){this.surveyWindow.isExpanded=e},enumerable:!1,configurable:!0}),t.prototype.doExpand=function(){this.surveyWindow.isExpanded=!this.surveyWindow.isExpanded},t.prototype.doHide=function(){o.a.set(this.surveyWindow,"isShowing",!1)},l([Object(i["Prop"])()],t.prototype,"window",void 0),l([Object(i["Prop"])()],t.prototype,"survey",void 0),l([Object(i["Prop"])()],t.prototype,"isExpanded",void 0),l([Object(i["Prop"])()],t.prototype,"isexpanded",void 0),l([Object(i["Prop"])()],t.prototype,"closeOnCompleteTimeout",void 0),t=l([i["Component"]],t),t}(o.a);o.a.component("survey-window",u),t["default"]=u},"./node_modules/vue-class-component/dist/vue-class-component.esm.js": /*!**************************************************************************!*\ !*** ./node_modules/vue-class-component/dist/vue-class-component.esm.js ***! \**************************************************************************/ /*! exports provided: default, createDecorator, mixins */function(e,t,n){"use strict";n.r(t),n.d(t,"createDecorator",(function(){return v})),n.d(t,"mixins",(function(){return g}));var r=n(/*! vue */"vue"),o=n.n(r); /** * vue-class-component v7.2.6 * (c) 2015-present Evan You * @license MIT */ function i(e){return i="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i(e)}function s(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function a(e){return l(e)||u(e)||c()}function l(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t0&&b("Component class must inherit Vue or its descendant class when class property is used."),i}var w=["data","beforeCreate","created","beforeMount","mounted","beforeDestroy","destroyed","beforeUpdate","updated","activated","deactivated","render","errorCaptured","serverPrefetch"];function _(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};t.name=t.name||e._componentTag||e.name;var n=e.prototype;Object.getOwnPropertyNames(n).forEach((function(e){if("constructor"!==e)if(w.indexOf(e)>-1)t[e]=n[e];else{var r=Object.getOwnPropertyDescriptor(n,e);void 0!==r.value?"function"===typeof r.value?(t.methods||(t.methods={}))[e]=r.value:(t.mixins||(t.mixins=[])).push({data:function(){return s({},e,r.value)}}):(r.get||r.set)&&((t.computed||(t.computed={}))[e]={get:r.get,set:r.set})}})),(t.mixins||(t.mixins=[])).push({data:function(){return x(this,e)}});var r=e.__decorators__;r&&(r.forEach((function(e){return e(t)})),delete e.__decorators__);var i=Object.getPrototypeOf(e.prototype),a=i instanceof o.a?i.constructor:o.a,l=a.extend(t);return S(l,e,a),d()&&p(l,e),l}var C=["cid","super","options","superOptions","extendOptions","sealedOptions","component","directive","filter"],P={prototype:!0,arguments:!0,callee:!0,caller:!0};function S(e,t,n){Object.getOwnPropertyNames(t).forEach((function(r){if(!P[r]){var o=Object.getOwnPropertyDescriptor(e,r);if(!o||o.configurable){var i=Object.getOwnPropertyDescriptor(t,r);if(!m){if("cid"===r)return;var s=Object.getOwnPropertyDescriptor(n,r);if(!y(i.value)&&s&&s.value===i.value)return}C.indexOf(r)>=0&&b("Static property name '".concat(r,"' declared on class '").concat(t.name,"' ")+"conflicts with reserved property name of Vue internal. It may cause unexpected behavior of the component. Consider renaming the property."),Object.defineProperty(e,r,i)}}}))}function O(e){return"function"===typeof e?_(e):function(t){return _(t,e)}}O.registerHooks=function(e){w.push.apply(w,a(e))},t["default"]=O},"./node_modules/vue-loader/lib/loaders/templateLoader.js?!./node_modules/vue-loader/lib/index.js?!./src/vue/boolean-checkbox.vue?vue&type=template&id=5ccd340a&": /*!***************************************************************************************************************************************************************************************************!*\ !*** ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./src/vue/boolean-checkbox.vue?vue&type=template&id=5ccd340a& ***! \***************************************************************************************************************************************************************************************************/ /*! exports provided: render, staticRenderFns */function(e,t,n){"use strict";n.r(t),n.d(t,"render",(function(){return r})),n.d(t,"staticRenderFns",(function(){return o}));var r=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{class:e.question.cssClasses.root},[n("label",{class:e.itemClass},[n("input",{directives:[{name:"model",rawName:"v-model",value:e.question.checkedValue,expression:"question.checkedValue"}],class:e.question.cssClasses.control,attrs:{type:"checkbox",name:e.question.name,id:e.question.inputId,disabled:e.question.isInputReadOnly,"aria-required":e.question.isRequired,"aria-label":e.question.locTitle.renderedHtml,"aria-invalid":e.question.errors.length>0,"aria-describedby":e.question.errors.length>0?e.question.id+"_errors":null},domProps:{value:e.question.checkedValue,indeterminate:e.question.isIndeterminate,checked:Array.isArray(e.question.checkedValue)?e._i(e.question.checkedValue,e.question.checkedValue)>-1:e.question.checkedValue},on:{change:function(t){var n=e.question.checkedValue,r=t.target,o=!!r.checked;if(Array.isArray(n)){var i=e.question.checkedValue,s=e._i(n,i);r.checked?s<0&&e.$set(e.question,"checkedValue",n.concat([i])):s>-1&&e.$set(e.question,"checkedValue",n.slice(0,s).concat(n.slice(s+1)))}else e.$set(e.question,"checkedValue",o)}}}),e._v(" "),n("span",{class:e.question.cssClasses.materialDecorator},[n("svg",{class:e.question.cssClasses.itemDecorator,attrs:{viewBox:"0 0 24 24"}},[n("rect",{class:e.question.cssClasses.uncheckedPath,attrs:{x:"5",y:"10",width:"14",height:"4"}}),e._v(" "),n("polygon",{class:e.question.cssClasses.checkedPath,attrs:{points:"19,10 14,10 14,5 10,5 10,10 5,10 5,14 10,14 10,19 14,19 14,14 19,14 "}}),e._v(" "),n("path",{class:e.question.cssClasses.indeterminatePath,attrs:{d:"M22,0H2C0.9,0,0,0.9,0,2v20c0,1.1,0.9,2,2,2h20c1.1,0,2-0.9,2-2V2C24,0.9,23.1,0,22,0z M21,18L6,3h15V18z M3,6l15,15H3V6z"}})]),e._v(" "),n("span",{staticClass:"check"})]),e._v(" "),"hidden"===e.question.titleLocation?n("span",{class:e.question.cssClasses.label},[n("survey-string",{attrs:{locString:e.question.locDisplayLabel}})],1):e._e()])])},o=[];r._withStripped=!0},"./node_modules/vue-loader/lib/loaders/templateLoader.js?!./node_modules/vue-loader/lib/index.js?!./src/vue/boolean-switch.vue?vue&type=template&id=70e4aebb&": /*!*************************************************************************************************************************************************************************************************!*\ !*** ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./src/vue/boolean-switch.vue?vue&type=template&id=70e4aebb& ***! \*************************************************************************************************************************************************************************************************/ /*! exports provided: render, staticRenderFns */function(e,t,n){"use strict";n.r(t),n.d(t,"render",(function(){return r})),n.d(t,"staticRenderFns",(function(){return o}));var r=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{class:e.question.cssClasses.root},[n("label",{class:e.itemClass},[n("input",{directives:[{name:"model",rawName:"v-model",value:e.question.checkedValue,expression:"question.checkedValue"}],class:e.question.cssClasses.control,attrs:{type:"checkbox",name:e.question.name,id:e.question.inputId,disabled:e.question.isInputReadOnly,"aria-required":e.question.isRequired,"aria-label":e.question.locTitle.renderedHtml,"aria-invalid":e.question.errors.length>0,"aria-describedby":e.question.errors.length>0?e.question.id+"_errors":null},domProps:{value:e.question.checkedValue,indeterminate:e.question.isIndeterminate,checked:Array.isArray(e.question.checkedValue)?e._i(e.question.checkedValue,e.question.checkedValue)>-1:e.question.checkedValue},on:{change:function(t){var n=e.question.checkedValue,r=t.target,o=!!r.checked;if(Array.isArray(n)){var i=e.question.checkedValue,s=e._i(n,i);r.checked?s<0&&e.$set(e.question,"checkedValue",n.concat([i])):s>-1&&e.$set(e.question,"checkedValue",n.slice(0,s).concat(n.slice(s+1)))}else e.$set(e.question,"checkedValue",o)}}}),e._v(" "),n("span",{class:e.getLabelClass(!1),on:{click:function(t){return e.onLabelClick(t,!1)}}},[n("survey-string",{attrs:{locString:e.question.locLabelFalse}})],1),e._v(" "),n("div",{class:e.question.cssClasses.switch,on:{click:function(t){return e.onSwitchClick(t)}}},[n("span",{class:e.question.cssClasses.slider})]),e._v(" "),n("span",{class:e.getLabelClass(!0),on:{click:function(t){return e.onLabelClick(t,!0)}}},[n("survey-string",{attrs:{locString:e.question.locLabelTrue}})],1)])])},o=[];r._withStripped=!0},"./node_modules/vue-loader/lib/loaders/templateLoader.js?!./node_modules/vue-loader/lib/index.js?!./src/vue/buttongroup.vue?vue&type=template&id=6bdc7abb&": /*!**********************************************************************************************************************************************************************************************!*\ !*** ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./src/vue/buttongroup.vue?vue&type=template&id=6bdc7abb& ***! \**********************************************************************************************************************************************************************************************/ /*! exports provided: render, staticRenderFns */function(e,t,n){"use strict";n.r(t),n.d(t,"render",(function(){return r})),n.d(t,"staticRenderFns",(function(){return o}));var r=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{class:e.question.cssClasses.root,attrs:{role:"group"}},[e._l(e.question.visibleChoices,(function(t,r){return[n("sv-button-group-item",{key:e.question.inputId+"_"+r,attrs:{item:t,question:e.question,index:r}})]}))],2)},o=[];r._withStripped=!0},"./node_modules/vue-loader/lib/loaders/templateLoader.js?!./node_modules/vue-loader/lib/index.js?!./src/vue/buttongroupitem.vue?vue&type=template&id=4bad6ace&": /*!**************************************************************************************************************************************************************************************************!*\ !*** ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./src/vue/buttongroupitem.vue?vue&type=template&id=4bad6ace& ***! \**************************************************************************************************************************************************************************************************/ /*! exports provided: render, staticRenderFns */function(e,t,n){"use strict";n.r(t),n.d(t,"render",(function(){return r})),n.d(t,"staticRenderFns",(function(){return o}));var r=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("label",{class:e.model.css.label,attrs:{title:e.model.caption.renderedHtml}},[n("input",{directives:[{name:"model",rawName:"v-model",value:e.model.question.renderedValue,expression:"model.question.renderedValue"}],class:e.model.css.control,attrs:{type:"radio",name:e.model.name,id:e.model.id,"aria-required":e.model.isRequired,"aria-label":e.model.caption.renderedHtml,role:"radio","aria-invalid":e.model.hasErrors,"aria-describedby":e.model.describeBy,disabled:e.model.readOnly},domProps:{value:e.model.value,checked:e._q(e.model.question.renderedValue,e.model.value)},on:{change:function(t){return e.$set(e.model.question,"renderedValue",e.model.value)}}}),e._v(" "),n("div",{class:e.model.css.decorator},[e.model.iconName?n("sv-svg-icon",{class:e.model.css.icon,attrs:{iconName:e.model.iconName,size:e.model.iconSize}}):e._e(),e._v(" "),e.model.showCaption?n("span",{class:e.model.css.caption},[n("survey-string",{attrs:{locString:e.model.caption}})],1):e._e()],1)])},o=[];r._withStripped=!0},"./node_modules/vue-loader/lib/loaders/templateLoader.js?!./node_modules/vue-loader/lib/index.js?!./src/vue/checkbox.vue?vue&type=template&id=cad276f6&": /*!*******************************************************************************************************************************************************************************************!*\ !*** ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./src/vue/checkbox.vue?vue&type=template&id=cad276f6& ***! \*******************************************************************************************************************************************************************************************/ /*! exports provided: render, staticRenderFns */function(e,t,n){"use strict";n.r(t),n.d(t,"render",(function(){return r})),n.d(t,"staticRenderFns",(function(){return o}));var r=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("fieldset",{class:e.question.cssClasses.root},[n("legend",{attrs:{"aria-label":e.question.locTitle.renderedHtml}}),e._v(" "),e._l(e.question.visibleChoices,(function(t,r){return e.question.hasColumns?e._e():n("survey-checkbox-item",{key:t.value,class:e.getItemClass(t),attrs:{question:e.question,item:t,index:r}})})),e._v(" "),e._l(e.question.columns,(function(t,r){return e.question.hasColumns?n("div",{class:e.question.getColumnClass()},e._l(t,(function(t,o){return n("survey-checkbox-item",{key:t.value,class:e.getItemClass(t),attrs:{question:e.question,item:t,index:""+r+o}})})),1):e._e()}))],2)},o=[];r._withStripped=!0},"./node_modules/vue-loader/lib/loaders/templateLoader.js?!./node_modules/vue-loader/lib/index.js?!./src/vue/checkboxitem.vue?vue&type=template&id=c58c80d0&": /*!***********************************************************************************************************************************************************************************************!*\ !*** ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./src/vue/checkboxitem.vue?vue&type=template&id=c58c80d0& ***! \***********************************************************************************************************************************************************************************************/ /*! exports provided: render, staticRenderFns */function(e,t,n){"use strict";n.r(t),n.d(t,"render",(function(){return r})),n.d(t,"staticRenderFns",(function(){return o}));var r=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",[n("label",{class:e.getLabelClass(e.item)},[e.item==e.question.selectAllItem?n("input",{directives:[{name:"model",rawName:"v-model",value:e.isAllSelected,expression:"isAllSelected"}],class:e.question.cssClasses.itemControl,attrs:{type:"checkbox",name:e.question.name,id:e.question.inputId+"_"+e.index,disabled:e.question.isInputReadOnly||!e.item.isEnabled,"aria-required":e.question.isRequired,"aria-label":e.item.locText.renderedHtml,"aria-invalid":e.question.errors.length>0,"aria-describedby":e.question.errors.length>0?e.question.id+"_errors":null},domProps:{value:e.isAllSelected,checked:Array.isArray(e.isAllSelected)?e._i(e.isAllSelected,e.isAllSelected)>-1:e.isAllSelected},on:{change:function(t){var n=e.isAllSelected,r=t.target,o=!!r.checked;if(Array.isArray(n)){var i=e.isAllSelected,s=e._i(n,i);r.checked?s<0&&(e.isAllSelected=n.concat([i])):s>-1&&(e.isAllSelected=n.slice(0,s).concat(n.slice(s+1)))}else e.isAllSelected=o}}}):e._e(),e._v(" "),e.item!=e.question.selectAllItem?n("input",{directives:[{name:"model",rawName:"v-model",value:e.question.renderedValue,expression:"question.renderedValue"}],class:e.question.cssClasses.itemControl,attrs:{type:"checkbox",name:e.question.name,id:e.question.inputId+"_"+e.index,disabled:e.question.isInputReadOnly||!e.item.isEnabled,"aria-required":e.question.isRequired,"aria-label":e.item.locText.renderedHtml,"aria-invalid":e.question.errors.length>0,"aria-describedby":e.question.errors.length>0?e.question.id+"_errors":null},domProps:{value:e.item.value,checked:Array.isArray(e.question.renderedValue)?e._i(e.question.renderedValue,e.item.value)>-1:e.question.renderedValue},on:{change:function(t){var n=e.question.renderedValue,r=t.target,o=!!r.checked;if(Array.isArray(n)){var i=e.item.value,s=e._i(n,i);r.checked?s<0&&e.$set(e.question,"renderedValue",n.concat([i])):s>-1&&e.$set(e.question,"renderedValue",n.slice(0,s).concat(n.slice(s+1)))}else e.$set(e.question,"renderedValue",o)}}}):e._e(),e._v(" "),n("span",{class:e.question.cssClasses.materialDecorator},[n("svg",{class:e.question.cssClasses.itemDecorator,attrs:{viewBox:"0 0 24 24"}},[n("path",{attrs:{d:"M5,13l2-2l3,3l7-7l2,2l-9,9L5,13z"}})]),e._v(" "),n("span",{staticClass:"check"})]),e._v(" "),e.hideLabel?e._e():n("span",{class:e.question.cssClasses.controlLabel,attrs:{title:e.item.locText.text}},[n("survey-string",{attrs:{locString:e.item.locText}})],1)]),e._v(" "),e.item.value==e.question.otherItem.value?n("survey-other-choice",{directives:[{name:"show",rawName:"v-show",value:e.question.hasOther&&e.question.renderedValue&&e.question.isOtherSelected,expression:"\n question.hasOther && question.renderedValue && question.isOtherSelected\n "}],attrs:{question:e.question}}):e._e()],1)},o=[];r._withStripped=!0},"./node_modules/vue-loader/lib/loaders/templateLoader.js?!./node_modules/vue-loader/lib/index.js?!./src/vue/comment.vue?vue&type=template&id=099c2c8d&": /*!******************************************************************************************************************************************************************************************!*\ !*** ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./src/vue/comment.vue?vue&type=template&id=099c2c8d& ***! \******************************************************************************************************************************************************************************************/ /*! exports provided: render, staticRenderFns */function(e,t,n){"use strict";n.r(t),n.d(t,"render",(function(){return r})),n.d(t,"staticRenderFns",(function(){return o}));var r=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",[e.question.isReadOnlyRenderDiv()?e._e():n("textarea",{class:e.question.cssClasses?e.question.cssClasses.root:"panel-comment-root",attrs:{type:"text",readonly:e.question.isInputReadOnly,disabled:e.question.isInputReadOnly,id:e.question.inputId,maxlength:e.question.getMaxLength(),cols:e.question.cols,"aria-label":e.question.locTitle.renderedHtml,rows:e.question.rows,placeholder:e.question.isReadOnly?"":e.question.placeHolder,"aria-required":e.question.isRequired,"aria-invalid":e.question.errors.length>0,"aria-describedby":e.question.errors.length>0?e.question.id+"_errors":null},domProps:{value:e.question.value},on:{change:e.change,keyup:e.keyup}}),e._v(" "),e.question.isReadOnlyRenderDiv()?n("div",[e._v(e._s(e.question.value))]):e._e()])},o=[];r._withStripped=!0},"./node_modules/vue-loader/lib/loaders/templateLoader.js?!./node_modules/vue-loader/lib/index.js?!./src/vue/components/action-bar/action-bar-item-dropdown.vue?vue&type=template&id=4ca4f276&": /*!*********************************************************************************************************************************************************************************************************************************!*\ !*** ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./src/vue/components/action-bar/action-bar-item-dropdown.vue?vue&type=template&id=4ca4f276& ***! \*********************************************************************************************************************************************************************************************************************************/ /*! exports provided: render, staticRenderFns */function(e,t,n){"use strict";n.r(t),n.d(t,"render",(function(){return r})),n.d(t,"staticRenderFns",(function(){return o}));var r=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("button",{staticClass:"sv-action-bar-item",class:[{"sv-action-bar-item--active":e.item.isActive},e.item.innerCss],attrs:{disabled:void 0!==e.item.enabled&&e.item.enabled,title:e.item.tooltip||e.item.title},on:{click:function(){e.item.action()}}},[e.item.iconName?n("sv-svg-icon",{staticClass:"sv-action-bar-item__icon",attrs:{iconName:e.item.iconName,size:24}}):e._e(),e._v(" "),void 0===e.item.showTitle||e.item.showTitle||!e.item.iconName?n("span",{staticClass:"sv-action-bar-item__title",class:{"sv-action-bar-item__title--with-icon":!!e.item.iconName}},[e._v(e._s(e.item.title))]):e._e(),e._v(" "),n("sv-popup",{attrs:{model:e.item.popupModel}})],1)},o=[];r._withStripped=!0},"./node_modules/vue-loader/lib/loaders/templateLoader.js?!./node_modules/vue-loader/lib/index.js?!./src/vue/components/action-bar/action-bar-item.vue?vue&type=template&id=40a056f8&": /*!************************************************************************************************************************************************************************************************************************!*\ !*** ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./src/vue/components/action-bar/action-bar-item.vue?vue&type=template&id=40a056f8& ***! \************************************************************************************************************************************************************************************************************************/ /*! exports provided: render, staticRenderFns */function(e,t,n){"use strict";n.r(t),n.d(t,"render",(function(){return r})),n.d(t,"staticRenderFns",(function(){return o}));var r=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("button",{staticClass:"sv-action-bar-item",class:[{"sv-action-bar-item--active":e.item.isActive},e.item.innerCss],attrs:{disabled:void 0!==e.item.enabled&&e.item.enabled,title:e.item.tooltip||e.item.title},on:{click:function(){e.item.action()}}},[e.item.iconName?n("sv-svg-icon",{staticClass:"sv-action-bar-item__icon",attrs:{iconName:e.item.iconName,size:24}}):e._e(),e._v(" "),void 0===e.item.showTitle||e.item.showTitle||!e.item.iconName?n("span",{staticClass:"sv-action-bar-item__title",class:{"sv-action-bar-item__title--with-icon":!!e.item.iconName}},[e._v(e._s(e.item.title))]):e._e()],1)},o=[];r._withStripped=!0},"./node_modules/vue-loader/lib/loaders/templateLoader.js?!./node_modules/vue-loader/lib/index.js?!./src/vue/components/action-bar/action-bar-separator.vue?vue&type=template&id=1aab6850&": /*!*****************************************************************************************************************************************************************************************************************************!*\ !*** ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./src/vue/components/action-bar/action-bar-separator.vue?vue&type=template&id=1aab6850& ***! \*****************************************************************************************************************************************************************************************************************************/ /*! exports provided: render, staticRenderFns */function(e,t,n){"use strict";n.r(t),n.d(t,"render",(function(){return r})),n.d(t,"staticRenderFns",(function(){return o}));var r=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"sv-action-bar-separator",class:e.innerCss})},o=[];r._withStripped=!0},"./node_modules/vue-loader/lib/loaders/templateLoader.js?!./node_modules/vue-loader/lib/index.js?!./src/vue/components/action-bar/action-bar.vue?vue&type=template&id=313bf210&": /*!*******************************************************************************************************************************************************************************************************************!*\ !*** ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./src/vue/components/action-bar/action-bar.vue?vue&type=template&id=313bf210& ***! \*******************************************************************************************************************************************************************************************************************/ /*! exports provided: render, staticRenderFns */function(e,t,n){"use strict";n.r(t),n.d(t,"render",(function(){return r})),n.d(t,"staticRenderFns",(function(){return o}));var r=function(){var e=this,t=e.$createElement,n=e._self._c||t;return e.hasItems?n("div",{ref:"container",staticClass:"sv-action-bar",on:{click:function(e){e.stopPropagation()}}},e._l(e.wrappedItems,(function(t){return n("span",{directives:[{name:"show",rawName:"v-show",value:t.visible||void 0===t.visible,expression:"item.visible || item.visible === undefined"}],key:t.id,staticClass:"sv-action",class:{"sv-action--hidden":!t.isVisible}},[t.needSeparator?n("sv-action-bar-separator"):e._e(),e._v(" "),n(e.getComponentName(t),{tag:"component",attrs:{item:t}})],1)})),0):e._e()},o=[];r._withStripped=!0},"./node_modules/vue-loader/lib/loaders/templateLoader.js?!./node_modules/vue-loader/lib/index.js?!./src/vue/components/default-title/default-title.vue?vue&type=template&id=7f6117dc&": /*!*************************************************************************************************************************************************************************************************************************!*\ !*** ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./src/vue/components/default-title/default-title.vue?vue&type=template&id=7f6117dc& ***! \*************************************************************************************************************************************************************************************************************************/ /*! exports provided: render, staticRenderFns */function(e,t,n){"use strict";n.r(t),n.d(t,"render",(function(){return r})),n.d(t,"staticRenderFns",(function(){return o}));var r=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",[n("survey-question-title-content",{attrs:{element:e.element,css:e.css}}),e._v(" "),n("span",{directives:[{name:"show",rawName:"v-show",value:e.showIcon,expression:"showIcon"}],class:e.getIconCss(e.isCollapsed),attrs:{tabindex:"0","aria-expanded":e.isCollapsed?"false":"true","aria-controls":e.isCollapsed?null:e.element.contentId},on:{keyup:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:e.changeExpanded.apply(null,arguments)}}})],1)},o=[];r._withStripped=!0},"./node_modules/vue-loader/lib/loaders/templateLoader.js?!./node_modules/vue-loader/lib/index.js?!./src/vue/components/list/list.vue?vue&type=template&id=cc17a010&": /*!*******************************************************************************************************************************************************************************************************!*\ !*** ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./src/vue/components/list/list.vue?vue&type=template&id=cc17a010& ***! \*******************************************************************************************************************************************************************************************************/ /*! exports provided: render, staticRenderFns */function(e,t,n){"use strict";n.r(t),n.d(t,"render",(function(){return r})),n.d(t,"staticRenderFns",(function(){return o}));var r=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("ul",{staticClass:"sv-list",on:{mousedown:function(e,t){t.preventDefault()}}},e._l(e.model.items,(function(t){return n("li",{key:t.id,staticClass:"sv-list__item",class:e.model.getItemClass(t),on:{click:function(n){return e.model.selectItem(t)}}},[t.iconName?n("sv-svg-icon",{staticClass:"sv-list__item-icon",attrs:{iconName:t.iconName,size:24}}):e._e(),e._v(" "),n("span",[e._v(e._s(t.title))])],1)})),0)},o=[];r._withStripped=!0},"./node_modules/vue-loader/lib/loaders/templateLoader.js?!./node_modules/vue-loader/lib/index.js?!./src/vue/components/matrix-actions/detail-button/detail-button.vue?vue&type=template&id=5b4e69b6&": /*!****************************************************************************************************************************************************************************************************************************************!*\ !*** ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./src/vue/components/matrix-actions/detail-button/detail-button.vue?vue&type=template&id=5b4e69b6& ***! \****************************************************************************************************************************************************************************************************************************************/ /*! exports provided: render, staticRenderFns */function(e,t,n){"use strict";n.r(t),n.d(t,"render",(function(){return r})),n.d(t,"staticRenderFns",(function(){return o}));var r=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("button",{class:e.question.getDetailPanelButtonCss(e.row),attrs:{type:"button","aria-expanded":e.question.getIsDetailPanelShowing(e.row)?"true":"false","aria-controls":e.question.getIsDetailPanelShowing(e.row)?e.row.detailPanelId:null},on:{click:function(){return e.row.showHideDetailPanelClick()}}},[n("span",{class:e.question.getDetailPanelIconCss(e.row)})])},o=[];r._withStripped=!0},"./node_modules/vue-loader/lib/loaders/templateLoader.js?!./node_modules/vue-loader/lib/index.js?!./src/vue/components/matrix-actions/remove-button/remove-button.vue?vue&type=template&id=c8a7aa60&": /*!****************************************************************************************************************************************************************************************************************************************!*\ !*** ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./src/vue/components/matrix-actions/remove-button/remove-button.vue?vue&type=template&id=c8a7aa60& ***! \****************************************************************************************************************************************************************************************************************************************/ /*! exports provided: render, staticRenderFns */function(e,t,n){"use strict";n.r(t),n.d(t,"render",(function(){return r})),n.d(t,"staticRenderFns",(function(){return o}));var r=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("button",{class:e.question.cssClasses.button+" "+e.question.cssClasses.buttonRemove,attrs:{type:"button",disabled:e.question.isInputReadOnly},on:{click:function(){return e.question.removeRowUI(e.row)}}},[n("survey-string",{attrs:{locString:e.question.locRemoveRowText}}),e._v(" "),n("span",{class:e.question.cssClasses.iconRemove})],1)},o=[];r._withStripped=!0},"./node_modules/vue-loader/lib/loaders/templateLoader.js?!./node_modules/vue-loader/lib/index.js?!./src/vue/components/popup/popup-container.vue?vue&type=template&id=c18dfd74&": /*!*******************************************************************************************************************************************************************************************************************!*\ !*** ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./src/vue/components/popup/popup-container.vue?vue&type=template&id=c18dfd74& ***! \*******************************************************************************************************************************************************************************************************************/ /*! exports provided: render, staticRenderFns */function(e,t,n){"use strict";n.r(t),n.d(t,"render",(function(){return r})),n.d(t,"staticRenderFns",(function(){return o}));var r=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{directives:[{name:"show",rawName:"v-show",value:e.model.isVisible,expression:"model.isVisible"}],staticClass:"sv-popup",class:e.model.styleClass,on:{click:function(){e.model.clickOutside()}}},[n("div",{staticClass:"sv-popup__container",style:{left:e.model.left,top:e.model.top},on:{click:e.clickInside}},[n("span",{directives:[{name:"show",rawName:"v-show",value:e.model.showPointer,expression:"model.showPointer"}],staticClass:"sv-popup__pointer",style:{left:e.model.pointerTarget.left,top:e.model.pointerTarget.top}}),e._v(" "),n("div",{staticClass:"sv-popup__scrolling-content"},[n("div",{staticClass:"sv-popup__header"}),e._v(" "),n("div",{staticClass:"sv-popup__content"},[n(e.model.contentComponentName,e._b({tag:"component"},"component",e.model.contentComponentData,!1))],1),e._v(" "),n("div",{directives:[{name:"show",rawName:"v-show",value:e.model.isModal,expression:"model.isModal"}],staticClass:"sv-popup__footer"},[n("button",{staticClass:"sv-popup__footer-item sv-popup__button sv-popup__button--cancel",on:{click:function(){e.model.cancel()}}},[e._v("\n "+e._s(e.model.cancelButtonText)+"\n ")]),e._v(" "),n("button",{staticClass:"sv-popup__footer-item sv-popup__button sv-popup__button--cancel",on:{click:function(){e.model.apply()}}},[e._v("\n "+e._s(e.model.applyButtonText)+"\n ")])])])])])},o=[];r._withStripped=!0},"./node_modules/vue-loader/lib/loaders/templateLoader.js?!./node_modules/vue-loader/lib/index.js?!./src/vue/components/popup/popup.vue?vue&type=template&id=ef11265c&": /*!*********************************************************************************************************************************************************************************************************!*\ !*** ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./src/vue/components/popup/popup.vue?vue&type=template&id=ef11265c& ***! \*********************************************************************************************************************************************************************************************************/ /*! exports provided: render, staticRenderFns */function(e,t,n){"use strict";n.r(t),n.d(t,"render",(function(){return r})),n.d(t,"staticRenderFns",(function(){return o}));var r=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div")},o=[];r._withStripped=!0},"./node_modules/vue-loader/lib/loaders/templateLoader.js?!./node_modules/vue-loader/lib/index.js?!./src/vue/components/svg-icon/svg-icon.vue?vue&type=template&id=684776f8&": /*!***************************************************************************************************************************************************************************************************************!*\ !*** ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./src/vue/components/svg-icon/svg-icon.vue?vue&type=template&id=684776f8& ***! \***************************************************************************************************************************************************************************************************************/ /*! exports provided: render, staticRenderFns */function(e,t,n){"use strict";n.r(t),n.d(t,"render",(function(){return r})),n.d(t,"staticRenderFns",(function(){return o}));var r=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("svg",{ref:"svgIcon",staticClass:"sv-svg-icon"},[n("use")])},o=[];r._withStripped=!0},"./node_modules/vue-loader/lib/loaders/templateLoader.js?!./node_modules/vue-loader/lib/index.js?!./src/vue/components/title-actions/title-actions.vue?vue&type=template&id=b72886ec&": /*!*************************************************************************************************************************************************************************************************************************!*\ !*** ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./src/vue/components/title-actions/title-actions.vue?vue&type=template&id=b72886ec& ***! \*************************************************************************************************************************************************************************************************************************/ /*! exports provided: render, staticRenderFns */function(e,t,n){"use strict";n.r(t),n.d(t,"render",(function(){return r})),n.d(t,"staticRenderFns",(function(){return o}));var r=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"sv-title-actions"},[n("span",{staticClass:"sv-title-actions__title"},[e.element.isPage?n("survey-string",{attrs:{locString:e.element.locTitle}}):e._e(),e._v(" "),e.element.isPage?e._e():n("survey-question-title-content",{attrs:{element:e.element,css:e.css}})],1),e._v(" "),n("sv-action-bar",{staticClass:"sv-title-actions__bar",attrs:{items:e.items}})],1)},o=[];r._withStripped=!0},"./node_modules/vue-loader/lib/loaders/templateLoader.js?!./node_modules/vue-loader/lib/index.js?!./src/vue/composite.vue?vue&type=template&id=1a9e2196&": /*!********************************************************************************************************************************************************************************************!*\ !*** ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./src/vue/composite.vue?vue&type=template&id=1a9e2196& ***! \********************************************************************************************************************************************************************************************/ /*! exports provided: render, staticRenderFns */function(e,t,n){"use strict";n.r(t),n.d(t,"render",(function(){return r})),n.d(t,"staticRenderFns",(function(){return o}));var r=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("survey-panel",{attrs:{question:e.contentPanel,css:e.css}})},o=[];r._withStripped=!0},"./node_modules/vue-loader/lib/loaders/templateLoader.js?!./node_modules/vue-loader/lib/index.js?!./src/vue/custom.vue?vue&type=template&id=d4aae09a&": /*!*****************************************************************************************************************************************************************************************!*\ !*** ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./src/vue/custom.vue?vue&type=template&id=d4aae09a& ***! \*****************************************************************************************************************************************************************************************/ /*! exports provided: render, staticRenderFns */function(e,t,n){"use strict";n.r(t),n.d(t,"render",(function(){return r})),n.d(t,"staticRenderFns",(function(){return o}));var r=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n(e.getComponentName(e.contentQuestion),{tag:"component",attrs:{question:e.contentQuestion,css:e.css}})},o=[];r._withStripped=!0},"./node_modules/vue-loader/lib/loaders/templateLoader.js?!./node_modules/vue-loader/lib/index.js?!./src/vue/customwidget.vue?vue&type=template&id=1e61a7b7&": /*!***********************************************************************************************************************************************************************************************!*\ !*** ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./src/vue/customwidget.vue?vue&type=template&id=1e61a7b7& ***! \***********************************************************************************************************************************************************************************************/ /*! exports provided: render, staticRenderFns */function(e,t,n){"use strict";n.r(t),n.d(t,"render",(function(){return r})),n.d(t,"staticRenderFns",(function(){return o}));var r=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",[e.hasHtml?n("div",{domProps:{innerHTML:e._s(e.customHtml)}}):e._e(),e._v(" "),e.hasDefaultRender?n(e.componentName,{tag:"component",attrs:{question:e.question,css:e.css}}):e._e()],1)},o=[];r._withStripped=!0},"./node_modules/vue-loader/lib/loaders/templateLoader.js?!./node_modules/vue-loader/lib/index.js?!./src/vue/drag-drop-td.vue?vue&type=template&id=6b922537&": /*!***********************************************************************************************************************************************************************************************!*\ !*** ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./src/vue/drag-drop-td.vue?vue&type=template&id=6b922537& ***! \***********************************************************************************************************************************************************************************************/ /*! exports provided: render, staticRenderFns */function(e,t,n){"use strict";n.r(t),n.d(t,"render",(function(){return r})),n.d(t,"staticRenderFns",(function(){return o}));var r=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("td",{key:e.question.name+"-td-d&d",class:e.question.cssClasses.cell},[n("svg",{class:e.question.cssClasses.itemIcon+" "+e.question.cssClasses.itemIconHoverMod,attrs:{width:"10",height:"16",viewBox:"0 0 10 16",xmlns:"http://www.w3.org/2000/svg"}},[n("path",{attrs:{d:"M6 2C6 0.9 6.9 0 8 0C9.1 0 10 0.9 10 2C10 3.1 9.1 4 8 4C6.9 4 6 3.1 6 2ZM2 0C0.9 0 0 0.9 0 2C0 3.1 0.9 4 2 4C3.1 4 4 3.1 4 2C4 0.9 3.1 0 2 0ZM8 6C6.9 6 6 6.9 6 8C6 9.1 6.9 10 8 10C9.1 10 10 9.1 10 8C10 6.9 9.1 6 8 6ZM2 6C0.9 6 0 6.9 0 8C0 9.1 0.9 10 2 10C3.1 10 4 9.1 4 8C4 6.9 3.1 6 2 6ZM8 12C6.9 12 6 12.9 6 14C6 15.1 6.9 16 8 16C9.1 16 10 15.1 10 14C10 12.9 9.1 12 8 12ZM2 12C0.9 12 0 12.9 0 14C0 15.1 0.9 16 2 16C3.1 16 4 15.1 4 14C4 12.9 3.1 12 2 12Z"}})])])},o=[];r._withStripped=!0},"./node_modules/vue-loader/lib/loaders/templateLoader.js?!./node_modules/vue-loader/lib/index.js?!./src/vue/dropdown.vue?vue&type=template&id=6b3215d3&": /*!*******************************************************************************************************************************************************************************************!*\ !*** ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./src/vue/dropdown.vue?vue&type=template&id=6b3215d3& ***! \*******************************************************************************************************************************************************************************************/ /*! exports provided: render, staticRenderFns */function(e,t,n){"use strict";n.r(t),n.d(t,"render",(function(){return r})),n.d(t,"staticRenderFns",(function(){return o}));var r=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{class:e.question.cssClasses.root},[e.question.isReadOnly?n("div",{class:e.question.cssClasses.control,attrs:{disabled:"",id:e.question.inputId}},[e._v("\n "+e._s(e.isOtherSelected?e.question.otherText:e.question.displayValue)+"\n ")]):n("div",{class:e.question.cssClasses.selectWrapper},[n("select",{directives:[{name:"model",rawName:"v-model",value:e.question.renderedValue,expression:"question.renderedValue"}],class:e.question.cssClasses.control,attrs:{id:e.question.inputId,autocomplete:e.question.autoComplete,"aria-label":e.question.locTitle.renderedHtml,"aria-invalid":e.question.errors.length>0,"aria-describedby":e.question.errors.length>0?e.question.id+"_errors":null},on:{change:function(t){var n=Array.prototype.filter.call(t.target.options,(function(e){return e.selected})).map((function(e){var t="_value"in e?e._value:e.value;return t}));e.$set(e.question,"renderedValue",t.target.multiple?n:n[0])}}},[e.question.showOptionsCaption?n("option",{domProps:{value:void 0}},[e._v("\n "+e._s(e.question.optionsCaption)+"\n ")]):e._e(),e._v(" "),e._l(e.question.visibleChoices,(function(t){return n("option",{attrs:{disabled:!t.isEnabled},domProps:{value:t.value}},[e._v("\n "+e._s(t.text)+"\n ")])}))],2)]),e._v(" "),n("survey-other-choice",{directives:[{name:"show",rawName:"v-show",value:e.isOtherSelected,expression:"isOtherSelected"}],attrs:{question:e.question}})],1)},o=[];r._withStripped=!0},"./node_modules/vue-loader/lib/loaders/templateLoader.js?!./node_modules/vue-loader/lib/index.js?!./src/vue/element.vue?vue&type=template&id=973472ac&": /*!******************************************************************************************************************************************************************************************!*\ !*** ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./src/vue/element.vue?vue&type=template&id=973472ac& ***! \******************************************************************************************************************************************************************************************/ /*! exports provided: render, staticRenderFns */function(e,t,n){"use strict";n.r(t),n.d(t,"render",(function(){return r})),n.d(t,"staticRenderFns",(function(){return o}));var r=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{class:e.getRootClass(e.element)},[!e.element.isPanel&&e.element.hasTitleOnLeftTop?n("survey-element-header",{attrs:{element:e.element,css:e.css}}):e._e(),e._v(" "),n("div",{directives:[{name:"show",rawName:"v-show",value:e.element.isPanel||!e.element.isCollapsed,expression:"element.isPanel || !element.isCollapsed"}],class:e.getContentClass(e.element)},[!e.element.isPanel&&e.hasErrorsOnTop?n("survey-errors",{attrs:{question:e.element,location:"top"}}):e._e(),e._v(" "),n(e.getComponentName(e.element),{tag:"component",attrs:{question:e.element,css:e.css}}),e._v(" "),e.element.hasComment?n("div",{class:e.element.cssClasses.formGroup},[n("div",[e._v(e._s(e.element.commentText))]),e._v(" "),n("survey-other-choice",{attrs:{commentClass:e.css.comment,question:e.element}})],1):e._e(),e._v(" "),!e.element.isPanel&&e.hasErrorsOnBottom?n("survey-errors",{attrs:{question:e.element,location:"bottom"}}):e._e(),e._v(" "),!e.element.isPanel&&e.element.hasDescriptionUnderInput?n("div",{class:e.element.cssClasses.descriptionUnderInput},[n("survey-string",{attrs:{locString:e.element.locDescription}})],1):e._e()],1),e._v(" "),!e.element.isPanel&&e.element.hasTitleOnBottom?n("survey-element-header",{attrs:{element:e.element,css:e.css}}):e._e()],1)},o=[];r._withStripped=!0},"./node_modules/vue-loader/lib/loaders/templateLoader.js?!./node_modules/vue-loader/lib/index.js?!./src/vue/elementheader.vue?vue&type=template&id=27adc537&": /*!************************************************************************************************************************************************************************************************!*\ !*** ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./src/vue/elementheader.vue?vue&type=template&id=27adc537& ***! \************************************************************************************************************************************************************************************************/ /*! exports provided: render, staticRenderFns */function(e,t,n){"use strict";n.r(t),n.d(t,"render",(function(){return r})),n.d(t,"staticRenderFns",(function(){return o}));var r=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{class:e.getHeaderClass(e.element),on:{click:function(){return e.element.hasInput&&e.element.focus(),!0}}},[e.element.hasTitle?n("h5",{class:e.getTitleClass(e.element),attrs:{"aria-label":e.element.locTitle.renderedHtml,id:e.element.ariaTitleId},on:{click:function(){e.element.toggleState()}}},[n(e.element.getTitleComponentName(),{tag:"component",attrs:{element:e.element,css:e.css}})],1):e._e(),e._v(" "),e.element.hasDescriptionUnderTitle?n("div",{class:e.element.cssClasses.description},[n("survey-string",{attrs:{locString:e.element.locDescription}})],1):e._e()])},o=[];r._withStripped=!0},"./node_modules/vue-loader/lib/loaders/templateLoader.js?!./node_modules/vue-loader/lib/index.js?!./src/vue/empty.vue?vue&type=template&id=05052c0a&": /*!****************************************************************************************************************************************************************************************!*\ !*** ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./src/vue/empty.vue?vue&type=template&id=05052c0a& ***! \****************************************************************************************************************************************************************************************/ /*! exports provided: render, staticRenderFns */function(e,t,n){"use strict";n.r(t),n.d(t,"render",(function(){return r})),n.d(t,"staticRenderFns",(function(){return o}));var r=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div")},o=[];r._withStripped=!0},"./node_modules/vue-loader/lib/loaders/templateLoader.js?!./node_modules/vue-loader/lib/index.js?!./src/vue/errors.vue?vue&type=template&id=5682e6ad&": /*!*****************************************************************************************************************************************************************************************!*\ !*** ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./src/vue/errors.vue?vue&type=template&id=5682e6ad& ***! \*****************************************************************************************************************************************************************************************/ /*! exports provided: render, staticRenderFns */function(e,t,n){"use strict";n.r(t),n.d(t,"render",(function(){return r})),n.d(t,"staticRenderFns",(function(){return o}));var r=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{directives:[{name:"show",rawName:"v-show",value:e.question.hasVisibleErrors,expression:"question.hasVisibleErrors"}],class:e.classes,attrs:{role:"alert",id:e.question.id+"_errors"}},e._l(e.question.errors,(function(t){return n("div",[n("span",{class:e.question.cssClasses?e.question.cssClasses.error.icon:"panel-error-icon",attrs:{"aria-hidden":"true"}}),e._v(" "),n("span",{class:e.question.cssClasses?e.question.cssClasses.error.item:"panel-error-item"},[n("survey-string",{attrs:{locString:t.locText}})],1)])})),0)},o=[];r._withStripped=!0},"./node_modules/vue-loader/lib/loaders/templateLoader.js?!./node_modules/vue-loader/lib/index.js?!./src/vue/expression.vue?vue&type=template&id=1d20865a&": /*!*********************************************************************************************************************************************************************************************!*\ !*** ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./src/vue/expression.vue?vue&type=template&id=1d20865a& ***! \*********************************************************************************************************************************************************************************************/ /*! exports provided: render, staticRenderFns */function(e,t,n){"use strict";n.r(t),n.d(t,"render",(function(){return r})),n.d(t,"staticRenderFns",(function(){return o}));var r=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{class:e.question.cssClasses.text},[e._v(e._s(e.question.displayValue))])},o=[];r._withStripped=!0},"./node_modules/vue-loader/lib/loaders/templateLoader.js?!./node_modules/vue-loader/lib/index.js?!./src/vue/file.vue?vue&type=template&id=20f70284&": /*!***************************************************************************************************************************************************************************************!*\ !*** ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./src/vue/file.vue?vue&type=template&id=20f70284& ***! \***************************************************************************************************************************************************************************************/ /*! exports provided: render, staticRenderFns */function(e,t,n){"use strict";n.r(t),n.d(t,"render",(function(){return r})),n.d(t,"staticRenderFns",(function(){return o}));var r=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{class:e.question.cssClasses.root},[e.question.isReadOnly?e._e():n("input",{class:e.question.cssClasses.fileInput,attrs:{type:"file",id:e.question.inputId,"aria-required":e.question.isRequired,"aria-label":e.question.locTitle.renderedHtml,"aria-invalid":e.question.errors.length>0,"aria-describedby":e.question.errors.length>0?e.question.id+"_errors":null,multiple:e.question.allowMultiple?"multiple":void 0,title:e.question.inputTitle,accept:e.question.acceptedTypes},on:{change:e.doChange}}),e._v(" "),e.question.isReadOnly?n("input",{class:e.getPlaceholderClass(),staticStyle:{color:"transparent"},attrs:{type:"file",disabled:"",placeholder:e.question.title}}):e._e(),e._v(" "),n("div",{class:e.question.cssClasses.fileDecorator,on:{drop:e.onDrop,dragover:e.onDragOver}},[n("div",{class:e.question.cssClasses.wrapper},[n("label",{class:e.question.cssClasses.chooseFile+(e.question.isReadOnly?" "+e.question.cssClasses.controlDisabled:""),attrs:{role:"button",for:e.question.inputId,"aria-label":e.question.chooseButtonCaption}},[e._v(e._s(e.question.chooseButtonCaption))]),e._v(" "),e.question.isEmpty()?n("span",{class:e.question.cssClasses.noFileChosen},[e._v(e._s(e.question.noFileChosenCaption))]):e._e()])]),e._v(" "),e.question.isReadOnly||e.question.isEmpty()?e._e():n("button",{class:e.question.cssClasses.removeButton,attrs:{type:"button"},on:{click:e.doClean}},[e._v("\n "+e._s(e.question.cleanButtonCaption)+"\n ")]),e._v(" "),e.question.isEmpty()?e._e():n("div",e._l(e.question.previewValue,(function(t,r){return n("span",{directives:[{name:"show",rawName:"v-show",value:t,expression:"val"}],key:e.question.inputId+"_"+r,class:e.question.cssClasses.preview},[t.name?n("div",{class:e.question.cssClasses.fileSign},[n("a",{attrs:{href:t.content,title:t.name,download:t.name,width:e.question.imageWidth},on:{click:function(n){return e.doDownloadFile(n,t)}}},[e._v(e._s(t.name))])]):e._e(),e._v(" "),e.question.canPreviewImage(t)?n("img",{attrs:{src:t.content,height:e.question.imageHeight,width:e.question.imageWidth,alt:"File preview"}}):e._e(),e._v(" "),t.name&&!e.question.isReadOnly?n("div",[n("span",{class:e.question.cssClasses.removeFile,on:{click:function(n){return e.doRemoveFile(t)}}},[e._v(e._s(e.question.removeFileCaption))]),e._v(" "),n("svg",{class:e.question.cssClasses.removeFileSvg,attrs:{viewBox:"0 0 16 16"},on:{click:function(n){return e.doRemoveFile(t)}}},[n("path",{attrs:{d:"M8,2C4.7,2,2,4.7,2,8s2.7,6,6,6s6-2.7,6-6S11.3,2,8,2z M11,10l-1,1L8,9l-2,2l-1-1l2-2L5,6l1-1l2,2l2-2l1,1L9,8 L11,10z"}})])]):e._e(),e._v(" "),t.name?n("div",{class:e.question.cssClasses.fileSignBottom},[n("a",{attrs:{href:t.content,title:t.name,download:t.name,width:e.question.imageWidth},on:{click:function(n){return e.doDownloadFile(n,t)}}},[e._v(e._s(t.name))])]):e._e()])})),0),e._v(" "),e.question.isReadOnly||e.question.isEmpty()?e._e():n("button",{class:e.question.cssClasses.removeButtonBottom,attrs:{type:"button"},on:{click:e.doClean}},[e._v("\n "+e._s(e.question.cleanButtonCaption)+"\n ")])])},o=[];r._withStripped=!0},"./node_modules/vue-loader/lib/loaders/templateLoader.js?!./node_modules/vue-loader/lib/index.js?!./src/vue/flowpanel.vue?vue&type=template&id=96ae1a78&": /*!********************************************************************************************************************************************************************************************!*\ !*** ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./src/vue/flowpanel.vue?vue&type=template&id=96ae1a78& ***! \********************************************************************************************************************************************************************************************/ /*! exports provided: render, staticRenderFns */function(e,t,n){"use strict";n.r(t),n.d(t,"render",(function(){return r})),n.d(t,"staticRenderFns",(function(){return o}));var r=function(){var e=this,t=e.$createElement,n=e._self._c||t;return e.question.isVisible?n("div",{class:e.question.cssClasses.panel.container,style:e.rootStyle},[n("h4",{directives:[{name:"show",rawName:"v-show",value:e.hasTitle,expression:"hasTitle"}],class:e.getTitleStyle(),on:{click:e.changeExpanded}},[n("survey-string",{attrs:{locString:e.question.locTitle}}),e._v(" "),n("span",{directives:[{name:"show",rawName:"v-show",value:e.showIcon,expression:"showIcon"}],class:e.iconCss})],1),e._v(" "),n("div",{class:e.question.cssClasses.panel.description},[n("survey-string",{attrs:{locString:e.question.locDescription}})],1),e._v(" "),n("survey-errors",{attrs:{question:e.question}}),e._v(" "),n("f-panel",{directives:[{name:"show",rawName:"v-show",value:!e.isCollapsed,expression:"!isCollapsed"}],style:{paddingLeft:e.question.innerPaddingLeft}},[n("survey-flowpanelelement",{attrs:{node:e.rootNode,panel:e.question,css:"css"}})],1)],1):e._e()},o=[];r._withStripped=!0},"./node_modules/vue-loader/lib/loaders/templateLoader.js?!./node_modules/vue-loader/lib/index.js?!./src/vue/flowpanelelement.vue?vue&type=template&id=9d992c30&": /*!***************************************************************************************************************************************************************************************************!*\ !*** ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./src/vue/flowpanelelement.vue?vue&type=template&id=9d992c30& ***! \***************************************************************************************************************************************************************************************************/ /*! exports provided: render, staticRenderFns */function(e,t,n){"use strict";n.r(t),n.d(t,"render",(function(){return r})),n.d(t,"staticRenderFns",(function(){return o}));var r=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("span",{style:e.style},[e.question?e._e():n(e.tagName,{tag:"component"},[e._l(e.nodes,(function(t){return n("survey-flowpanelelement",{key:t.elementId,attrs:{node:t,panel:e.panel,css:"css"}})})),e._v("\n "+e._s(e.text)+"\n ")],2),e._v(" "),e.question?n("span",[n("survey-element",{key:e.question.idValue,style:{flexBasis:e.question.renderWidth,flexGrow:1,flexShrink:1,width:e.question.renderWidth,minWidth:e.question.minWidth,maxWidth:e.question.maxWidth},attrs:{id:e.question.id,element:e.question,survey:e.survey,css:e.css}})],1):e._e()],1)},o=[];r._withStripped=!0},"./node_modules/vue-loader/lib/loaders/templateLoader.js?!./node_modules/vue-loader/lib/index.js?!./src/vue/header.vue?vue&type=template&id=69cff8cf&": /*!*****************************************************************************************************************************************************************************************!*\ !*** ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./src/vue/header.vue?vue&type=template&id=69cff8cf& ***! \*****************************************************************************************************************************************************************************************/ /*! exports provided: render, staticRenderFns */function(e,t,n){"use strict";n.r(t),n.d(t,"render",(function(){return r})),n.d(t,"staticRenderFns",(function(){return o}));var r=function(){var e=this,t=e.$createElement,n=e._self._c||t;return e.survey.locTitle.renderedHtml.length>0&&e.survey.showTitle||e.survey.hasLogo?n("div",{class:e.survey.css.header},[e.survey.isLogoBefore?n("div",{class:e.survey.logoClassNames},[n("img",{class:e.survey.css.logoImage,style:{objectFit:e.survey.logoFit},attrs:{src:e.survey.locLogo.renderedHtml,width:e.survey.logoWidth?e.survey.logoWidth:void 0,height:e.survey.logoHeight?e.survey.logoHeight:void 0,alt:e.survey.locTitle.renderedHtml}})]):e._e(),e._v(" "),e.survey.locTitle.renderedHtml.length>0&&e.survey.showTitle?n("div",{class:e.survey.css.headerText,style:{maxWidth:e.survey.titleMaxWidth}},[n("h3",{class:e.survey.css.title},[n("survey-string",{attrs:{locString:e.survey.locTitle}})],1),e._v(" "),n("h5",{class:e.survey.css.description},[n("survey-string",{attrs:{locString:e.survey.locDescription}})],1)]):e._e(),e._v(" "),e.survey.isLogoAfter?n("div",{class:e.survey.logoClassNames},[n("img",{class:e.survey.css.logoImage,style:{objectFit:e.survey.logoFit},attrs:{src:e.survey.locLogo.renderedHtml,width:e.survey.logoWidth?e.survey.logoWidth:void 0,height:e.survey.logoHeight?e.survey.logoHeight:void 0,alt:e.survey.locTitle.renderedHtml}})]):e._e(),e._v(" "),e.survey.isLogoAfter?n("div",{staticClass:"sv-logo--right-tail"}):e._e()]):e._e()},o=[];r._withStripped=!0},"./node_modules/vue-loader/lib/loaders/templateLoader.js?!./node_modules/vue-loader/lib/index.js?!./src/vue/html.vue?vue&type=template&id=0742e16d&": /*!***************************************************************************************************************************************************************************************!*\ !*** ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./src/vue/html.vue?vue&type=template&id=0742e16d& ***! \***************************************************************************************************************************************************************************************/ /*! exports provided: render, staticRenderFns */function(e,t,n){"use strict";n.r(t),n.d(t,"render",(function(){return r})),n.d(t,"staticRenderFns",(function(){return o}));var r=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{class:e.question.cssClasses.root,domProps:{innerHTML:e._s(e.question.locHtml.renderedHtml)}})},o=[];r._withStripped=!0},"./node_modules/vue-loader/lib/loaders/templateLoader.js?!./node_modules/vue-loader/lib/index.js?!./src/vue/image.vue?vue&type=template&id=1dc8d709&": /*!****************************************************************************************************************************************************************************************!*\ !*** ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./src/vue/image.vue?vue&type=template&id=1dc8d709& ***! \****************************************************************************************************************************************************************************************/ /*! exports provided: render, staticRenderFns */function(e,t,n){"use strict";n.r(t),n.d(t,"render",(function(){return r})),n.d(t,"staticRenderFns",(function(){return o}));var r=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{class:e.question.cssClasses.root},["image"===e.question.contentMode?n("img",{class:e.question.cssClasses.image,style:{objectFit:e.question.imageFit},attrs:{src:e.question.imageLink,alt:e.question.text||e.question.title,width:e.question.imageWidth?e.question.imageWidth+"px":void 0,height:e.question.imageHeight?e.question.imageHeight+"px":void 0}}):e._e(),e._v(" "),"video"===e.question.contentMode?n("embed",{class:e.question.cssClasses.image,style:{objectFit:e.question.imageFit},attrs:{src:e.question.imageLink,width:e.question.imageWidth?e.question.imageWidth+"px":void 0,height:e.question.imageHeight?e.question.imageHeight+"px":void 0}}):e._e()])},o=[];r._withStripped=!0},"./node_modules/vue-loader/lib/loaders/templateLoader.js?!./node_modules/vue-loader/lib/index.js?!./src/vue/imagepicker.vue?vue&type=template&id=153fe052&": /*!**********************************************************************************************************************************************************************************************!*\ !*** ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./src/vue/imagepicker.vue?vue&type=template&id=153fe052& ***! \**********************************************************************************************************************************************************************************************/ /*! exports provided: render, staticRenderFns */function(e,t,n){"use strict";n.r(t),n.d(t,"render",(function(){return r})),n.d(t,"staticRenderFns",(function(){return o}));var r=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("fieldset",{class:e.question.cssClasses.root},[n("legend",{attrs:{"aria-label":e.question.locTitle.renderedHtml}}),e._v(" "),e._l(e.question.visibleChoices,(function(t,r){return n("div",{key:t.value,class:e.getItemClass(t)},[n("label",{class:e.question.cssClasses.label},[e.question.multiSelect?n("input",{directives:[{name:"model",rawName:"v-model",value:e.question.value,expression:"question.value"}],class:e.question.cssClasses.itemControl,staticStyle:{display:"none"},attrs:{type:"checkbox",name:e.question.name+"_"+e.question.id,id:e.question.inputId+"_"+t.value,disabled:e.question.isInputReadOnly||!t.isEnabled,"aria-required":e.question.isRequired,"aria-label":e.question.locTitle.renderedHtml,"aria-invalid":e.question.errors.length>0,"aria-describedby":e.question.errors.length>0?e.question.id+"_errors":null},domProps:{value:t.value,checked:Array.isArray(e.question.value)?e._i(e.question.value,t.value)>-1:e.question.value},on:{change:function(n){var r=e.question.value,o=n.target,i=!!o.checked;if(Array.isArray(r)){var s=t.value,a=e._i(r,s);o.checked?a<0&&e.$set(e.question,"value",r.concat([s])):a>-1&&e.$set(e.question,"value",r.slice(0,a).concat(r.slice(a+1)))}else e.$set(e.question,"value",i)}}}):n("input",{directives:[{name:"model",rawName:"v-model",value:e.question.value,expression:"question.value"}],class:e.question.cssClasses.itemControl,staticStyle:{display:"none"},attrs:{type:"radio",name:e.question.name+"_"+e.question.id,id:e.question.inputId+"_"+t.value,disabled:e.question.isInputReadOnly||!t.isEnabled,"aria-required":e.question.isRequired,"aria-label":e.question.locTitle.renderedHtml,"aria-invalid":e.question.errors.length>0,"aria-describedby":e.question.errors.length>0?e.question.id+"_errors":null},domProps:{value:t.value,checked:e._q(e.question.value,t.value)},on:{change:function(n){return e.$set(e.question,"value",t.value)}}}),e._v(" "),n("div",["image"===e.question.contentMode?n("img",{class:e.question.cssClasses.image,style:{objectFit:e.question.imageFit},attrs:{src:t.imageLink,width:e.question.imageWidth?e.question.imageWidth+"px":void 0,height:e.question.imageHeight?e.question.imageHeight+"px":void 0,alt:t.text||t.value}}):e._e(),e._v(" "),"video"===e.question.contentMode?n("embed",{class:e.question.cssClasses.image,style:{objectFit:e.question.imageFit},attrs:{src:t.imageLink,width:e.question.imageWidth?e.question.imageWidth+"px":void 0,height:e.question.imageHeight?e.question.imageHeight+"px":void 0}}):e._e(),e._v(" "),e.question.showLabel?n("span",{class:e.question.cssClasses.itemText,attrs:{title:t.text||t.value}},[e._v(e._s(t.text||t.value))]):e._e()])])])}))],2)},o=[];r._withStripped=!0},"./node_modules/vue-loader/lib/loaders/templateLoader.js?!./node_modules/vue-loader/lib/index.js?!./src/vue/matrix.vue?vue&type=template&id=7fa2f403&": /*!*****************************************************************************************************************************************************************************************!*\ !*** ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./src/vue/matrix.vue?vue&type=template&id=7fa2f403& ***! \*****************************************************************************************************************************************************************************************/ /*! exports provided: render, staticRenderFns */function(e,t,n){"use strict";n.r(t),n.d(t,"render",(function(){return r})),n.d(t,"staticRenderFns",(function(){return o}));var r=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{class:e.question.cssClasses.tableWrapper},[n("fieldset",[n("legend",{attrs:{"aria-label":e.question.locTitle.renderedHtml}}),e._v(" "),n("table",{class:e.question.cssClasses.root},[e.question.showHeader?n("thead",[n("tr",[e.question.allowRowsDragAndDrop?n("td"):e._e(),e._v(" "),n("td",{directives:[{name:"show",rawName:"v-show",value:e.question.hasRows,expression:"question.hasRows"}]}),e._v(" "),e._l(e.question.visibleColumns,(function(t,r){return n("th",{key:r,class:e.question.cssClasses.headerCell},[n("survey-string",{attrs:{locString:t.locText}})],1)}))],2)]):e._e(),e._v(" "),n("tbody",e._l(e.question.visibleRows,(function(t,r){return n("tr",{key:"row-"+t.name+"-"+r,class:t.rowClasses},[e.question.allowRowsDragAndDrop?n("drag-drop-td",{attrs:{question:e.question}}):e._e(),e._v(" "),n("td",{directives:[{name:"show",rawName:"v-show",value:e.question.hasRows,expression:"question.hasRows"}],class:e.question.cssClasses.cell},[n("survey-string",{attrs:{locString:t.locText}})],1),e._v(" "),e._l(e.question.visibleColumns,(function(r,o){return e.question.hasCellText?n("td",{key:o,class:e.question.getItemClass(t,r),on:{click:function(n){return e.cellClick(t,r)}}},[n("survey-string",{attrs:{locString:e.question.getCellDisplayLocText(t.name,r)}})],1):e._e()})),e._v(" "),e._l(e.question.visibleColumns,(function(r,o){return e.question.hasCellText?e._e():n("td",{key:o,class:e.question.cssClasses.cell,attrs:{title:r.locText.renderedHtml},on:{click:function(n){return e.cellClick(t,r)}}},[n("label",{class:e.question.getItemClass(t,r)},[n("input",{directives:[{name:"model",rawName:"v-model",value:t.value,expression:"row.value"}],class:e.question.cssClasses.itemValue,attrs:{type:"radio",name:t.fullName,disabled:e.question.isInputReadOnly,id:e.question.inputId+"_"+t.name+"_"+o,"aria-required":e.question.isRequired,"aria-label":e.question.locTitle.renderedHtml},domProps:{value:r.value,checked:e._q(t.value,r.value)},on:{change:function(n){return e.$set(t,"value",r.value)}}}),e._v(" "),n("span",{class:e.question.cssClasses.materialDecorator},[n("svg",{class:e.question.cssClasses.itemDecorator,attrs:{viewBox:"-12 -12 24 24"}},[n("circle",{attrs:{r:"6",cx:"0",cy:"0"}})])]),e._v(" "),n("span",{staticClass:"circle"}),e._v(" "),n("span",{staticClass:"check"}),e._v(" "),n("span",{style:{display:"none"}},[e._v(e._s(e.question.locTitle.renderedHtml))])])])}))],2)})),0)])])])},o=[];r._withStripped=!0},"./node_modules/vue-loader/lib/loaders/templateLoader.js?!./node_modules/vue-loader/lib/index.js?!./src/vue/matrixcell.vue?vue&type=template&id=3ca54ee5&": /*!*********************************************************************************************************************************************************************************************!*\ !*** ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./src/vue/matrixcell.vue?vue&type=template&id=3ca54ee5& ***! \*********************************************************************************************************************************************************************************************/ /*! exports provided: render, staticRenderFns */function(e,t,n){"use strict";n.r(t),n.d(t,"render",(function(){return r})),n.d(t,"staticRenderFns",(function(){return o}));var r=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("td",{class:e.cell.className,style:e.getCellStyle(),attrs:{title:e.getHeaders(),colspan:e.cell.colSpans}},[e.cell.isActionsCell?n("sv-action-bar",{attrs:{items:e.cell.item.getData()}}):e._e(),e._v(" "),e.cell.hasPanel?n(e.getComponentName(e.cell.panel),{tag:"component",attrs:{question:e.cell.panel,css:e.question.survey.css}}):e._e(),e._v(" "),e.cell.hasQuestion?n("div",[e.hasErrorsOnTop?n("survey-errors",{attrs:{question:e.cell.question,location:"top"}}):e._e(),e._v(" "),!e.cell.isChoice&&e.cell.question.isDefaultRendering()?n(e.getComponentName(e.cell.question),{directives:[{name:"show",rawName:"v-show",value:e.isVisible,expression:"isVisible"}],tag:"component",attrs:{question:e.cell.question}}):e._e(),e._v(" "),e.cell.isChoice||e.cell.question.isDefaultRendering()?e._e():n(e.cell.question.getComponentName(),{directives:[{name:"show",rawName:"v-show",value:e.isVisible,expression:"isVisible"}],tag:"component",attrs:{question:e.cell.question}}),e._v(" "),e.cell.isChoice&&!e.cell.isCheckbox?n("survey-radiogroup-item",{key:e.cell.item.value,class:e.getItemClass(e.cell.item),attrs:{question:e.cell.question,item:e.cell.item,index:""+e.cell.index,hideLabel:!0}}):e._e(),e._v(" "),e.cell.isChoice&&e.cell.isCheckbox?n("survey-checkbox-item",{key:e.cell.item.value,class:e.getItemClass(e.cell.item),attrs:{question:e.cell.question,item:e.cell.item,index:""+e.cell.index,hideLabel:!0}}):e._e(),e._v(" "),e.hasErrorsOnBottom?n("survey-errors",{attrs:{question:e.cell.question,location:"bottom"}}):e._e()],1):e._e(),e._v(" "),e.cell.hasTitle?n("survey-string",{attrs:{locString:e.cell.locTitle}}):e._e(),e._v(" "),e.cell.requiredText?n("span",[e._v(e._s(e.cell.requiredText))]):e._e()],1)},o=[];r._withStripped=!0},"./node_modules/vue-loader/lib/loaders/templateLoader.js?!./node_modules/vue-loader/lib/index.js?!./src/vue/matrixdropdown.vue?vue&type=template&id=0b4da6d8&": /*!*************************************************************************************************************************************************************************************************!*\ !*** ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./src/vue/matrixdropdown.vue?vue&type=template&id=0b4da6d8& ***! \*************************************************************************************************************************************************************************************************/ /*! exports provided: render, staticRenderFns */function(e,t,n){"use strict";n.r(t),n.d(t,"render",(function(){return r})),n.d(t,"staticRenderFns",(function(){return o}));var r=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{style:{overflowX:e.question.horizontalScroll?"scroll":""}},[n("survey-matrixtable",{attrs:{question:e.question}})],1)},o=[];r._withStripped=!0},"./node_modules/vue-loader/lib/loaders/templateLoader.js?!./node_modules/vue-loader/lib/index.js?!./src/vue/matrixdynamic.vue?vue&type=template&id=9a0b88e8&": /*!************************************************************************************************************************************************************************************************!*\ !*** ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./src/vue/matrixdynamic.vue?vue&type=template&id=9a0b88e8& ***! \************************************************************************************************************************************************************************************************/ /*! exports provided: render, staticRenderFns */function(e,t,n){"use strict";n.r(t),n.d(t,"render",(function(){return r})),n.d(t,"staticRenderFns",(function(){return o}));var r=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{style:{overflowX:e.question.horizontalScroll?"scroll":""}},[e.question.renderedTable.showAddRowOnTop?n("div",{class:e.question.cssClasses.footer},[n("button",{class:e.question.cssClasses.button+" "+e.question.cssClasses.buttonAdd,attrs:{type:"button"},on:{click:e.addRowClick}},[n("survey-string",{attrs:{locString:e.question.locAddRowText}}),e._v(" "),n("span",{class:e.question.cssClasses.iconAdd})],1)]):e._e(),e._v(" "),e.question.renderedTable.showTable?n("survey-matrixtable",{attrs:{question:e.question}}):e._e(),e._v(" "),e.question.renderedTable.showTable?e._e():n("div",{class:e.question.cssClasses.emptyRowsSection},[n("div",{class:e.question.cssClasses.emptyRowsText},[n("survey-string",{attrs:{locString:e.question.locEmptyRowsText}})],1),e._v(" "),n("button",{class:e.question.cssClasses.button+" "+e.question.cssClasses.buttonAdd+" "+e.question.cssClasses.emptyRowsButton,attrs:{type:"button"},on:{click:e.addRowClick}},[n("survey-string",{attrs:{locString:e.question.locAddRowText}}),e._v(" "),n("span",{class:e.question.cssClasses.iconAdd})],1)]),e._v(" "),e.question.renderedTable.showAddRowOnBottom?n("div",{class:e.question.cssClasses.footer},[n("button",{class:e.question.cssClasses.button+" "+e.question.cssClasses.buttonAdd,attrs:{type:"button"},on:{click:e.addRowClick}},[n("survey-string",{attrs:{locString:e.question.locAddRowText}}),e._v(" "),n("span",{class:e.question.cssClasses.iconAdd})],1)]):e._e()],1)},o=[];r._withStripped=!0},"./node_modules/vue-loader/lib/loaders/templateLoader.js?!./node_modules/vue-loader/lib/index.js?!./src/vue/matrixtable.vue?vue&type=template&id=fa197e4a&": /*!**********************************************************************************************************************************************************************************************!*\ !*** ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./src/vue/matrixtable.vue?vue&type=template&id=fa197e4a& ***! \**********************************************************************************************************************************************************************************************/ /*! exports provided: render, staticRenderFns */function(e,t,n){"use strict";n.r(t),n.d(t,"render",(function(){return r})),n.d(t,"staticRenderFns",(function(){return o}));var r=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("table",{class:e.question.cssClasses.root},[e.table.showHeader?n("thead",[n("tr",[e.question.allowRowsDragAndDrop?n("th"):e._e(),e._v(" "),e._l(e.table.headerRow.cells,(function(t){return n("th",{key:"header_"+t.id,class:e.question.cssClasses.headerCell,style:{minWidth:t.minWidth,width:t.width}},[n("survey-string",{attrs:{locString:t.locTitle}}),e._v(" "),t.requiredText?n("span",[e._v(e._s(t.requiredText))]):e._e()],1)}))],2)]):e._e(),e._v(" "),n("tbody",e._l(e.table.rows,(function(t){return n("tr",{key:e.question.inputId+"_"+t.id,class:t.className},[e.question.allowRowsDragAndDrop?n("drag-drop-td",{attrs:{question:e.question}}):e._e(),e._v(" "),e._l(t.cells,(function(r,o){return n("survey-matrixcell",{key:t.id+"_"+o,attrs:{cell:r,question:e.question}})}))],2)})),0),e._v(" "),e.table.showFooter?n("tfoot",[n("tr",e._l(e.table.footerRow.cells,(function(t,r){return n("survey-matrixcell",{key:"footer_"+r,attrs:{cell:t,question:e.question}})})),1)]):e._e()])},o=[];r._withStripped=!0},"./node_modules/vue-loader/lib/loaders/templateLoader.js?!./node_modules/vue-loader/lib/index.js?!./src/vue/multipletext.vue?vue&type=template&id=93fe4c02&": /*!***********************************************************************************************************************************************************************************************!*\ !*** ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./src/vue/multipletext.vue?vue&type=template&id=93fe4c02& ***! \***********************************************************************************************************************************************************************************************/ /*! exports provided: render, staticRenderFns */function(e,t,n){"use strict";n.r(t),n.d(t,"render",(function(){return r})),n.d(t,"staticRenderFns",(function(){return o}));var r=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("table",{class:e.question.cssClasses.root},e._l(e.question.getRows(),(function(t,r){return n("tr",{key:e.question.inputId+"rowkey"+r,class:e.question.cssClasses.row},[e._l(t,(function(t){return[n("td",{key:"label"+t.editor.id,class:e.question.cssClasses.itemTitle+" "+e.question.cssClasses.cell},[t.editor.isRequireTextBeforeTitle||t.editor.isRequireTextOnStart?n("span",{class:e.question.cssClasses.requiredText},[e._v(e._s(t.editor.requiredText))]):e._e(),e._v(" "),n("survey-string",{attrs:{locString:t.locTitle}}),e._v(" "),t.editor.isRequireTextAfterTitle?n("span",{class:e.question.cssClasses.requiredText},[e._v(e._s(t.editor.requiredText))]):e._e()],1),e._v(" "),n("td",{key:t.editor.id,attrs:{css:e.question.cssClasses.cell}},[e.hasErrorsOnTop?n("survey-errors",{attrs:{question:t.editor,location:"top"}}):e._e(),e._v(" "),n(e.getComponentName(t.editor),{tag:"component",attrs:{question:t.editor}}),e._v(" "),e.hasErrorsOnBottom?n("survey-errors",{attrs:{question:t.editor,location:"bottom"}}):e._e()],1)]}))],2)})),0)},o=[];r._withStripped=!0},"./node_modules/vue-loader/lib/loaders/templateLoader.js?!./node_modules/vue-loader/lib/index.js?!./src/vue/navigation.vue?vue&type=template&id=75eadfd6&": /*!*********************************************************************************************************************************************************************************************!*\ !*** ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./src/vue/navigation.vue?vue&type=template&id=75eadfd6& ***! \*********************************************************************************************************************************************************************************************/ /*! exports provided: render, staticRenderFns */function(e,t,n){"use strict";n.r(t),n.d(t,"render",(function(){return r})),n.d(t,"staticRenderFns",(function(){return o}));var r=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{class:e.css.footer},[n("input",{directives:[{name:"show",rawName:"v-show",value:e.showPrevBtn,expression:"showPrevBtn"}],class:e.survey.cssNavigationPrev,attrs:{type:"button",value:e.survey.pagePrevText},on:{mousedown:e.buttonMouseDown,click:e.prevPage}}),e._v(" "),n("input",{directives:[{name:"show",rawName:"v-show",value:e.showNextBtn,expression:"showNextBtn"}],class:e.survey.cssNavigationNext,attrs:{type:"button",value:e.survey.pageNextText},on:{mousedown:e.nextButtonMouseDown,click:e.nextPage}}),e._v(" "),e.survey.isPreviewButtonVisible?n("input",{directives:[{name:"show",rawName:"v-show",value:e.survey.isLastPage,expression:"survey.isLastPage"}],class:e.survey.cssNavigationPreview,attrs:{type:"button",value:e.survey.previewText},on:{mousedown:e.buttonMouseDown,click:e.showPreview}}):e._e(),e._v(" "),e.survey.isCompleteButtonVisible?n("input",{directives:[{name:"show",rawName:"v-show",value:e.showCompleteBtn,expression:"showCompleteBtn"}],class:e.survey.cssNavigationComplete,attrs:{type:"button",value:e.survey.completeText},on:{mousedown:e.buttonMouseDown,click:e.completeLastPage}}):e._e()])},o=[];r._withStripped=!0},"./node_modules/vue-loader/lib/loaders/templateLoader.js?!./node_modules/vue-loader/lib/index.js?!./src/vue/otherChoice.vue?vue&type=template&id=2ed776ff&": /*!**********************************************************************************************************************************************************************************************!*\ !*** ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./src/vue/otherChoice.vue?vue&type=template&id=2ed776ff& ***! \**********************************************************************************************************************************************************************************************/ /*! exports provided: render, staticRenderFns */function(e,t,n){"use strict";n.r(t),n.d(t,"render",(function(){return r})),n.d(t,"staticRenderFns",(function(){return o}));var r=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"form-group"},[e.question.isReadOnlyRenderDiv()?e._e():n("textarea",{class:e.question.cssClasses.other||e.commentClass,attrs:{readonly:e.question.isInputReadOnly,disabled:e.question.isInputReadOnly,maxlength:e.question.getOthersMaxLength(),placeholder:e.question.otherPlaceHolder,"aria-label":e.question.locTitle.renderedHtml},domProps:{value:e.question.comment},on:{change:e.change,keyup:e.keyup}}),e._v(" "),e.question.isReadOnlyRenderDiv()?n("div",[e._v(e._s(e.question.comment))]):e._e()])},o=[];r._withStripped=!0},"./node_modules/vue-loader/lib/loaders/templateLoader.js?!./node_modules/vue-loader/lib/index.js?!./src/vue/page.vue?vue&type=template&id=4e962a51&": /*!***************************************************************************************************************************************************************************************!*\ !*** ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./src/vue/page.vue?vue&type=template&id=4e962a51& ***! \***************************************************************************************************************************************************************************************/ /*! exports provided: render, staticRenderFns */function(e,t,n){"use strict";n.r(t),n.d(t,"render",(function(){return r})),n.d(t,"staticRenderFns",(function(){return o}));var r=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{class:e.page.cssClasses.page.root},[e.showHeader?n("h4",{class:e.page.cssClasses.page.title},[e.renderTitleActions?e._e():n("survey-string",{attrs:{locString:e.page.locTitle}}),e._v(" "),e.renderTitleActions?n("sv-title-actions",{attrs:{element:e.page}}):e._e()],1):e._e(),e._v(" "),e.showDescription?n("div",{class:e.page.cssClasses.page.description},[n("survey-string",{attrs:{locString:e.page.locDescription}})],1):e._e(),e._v(" "),e._l(e.rows,(function(t,r){return t.visible?n("div",{key:e.page.id+"_"+r,class:e.css.row},[n("survey-row",{attrs:{row:t,survey:e.survey,css:e.css}})],1):e._e()}))],2)},o=[];r._withStripped=!0},"./node_modules/vue-loader/lib/loaders/templateLoader.js?!./node_modules/vue-loader/lib/index.js?!./src/vue/panel.vue?vue&type=template&id=0c78899c&": /*!****************************************************************************************************************************************************************************************!*\ !*** ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./src/vue/panel.vue?vue&type=template&id=0c78899c& ***! \****************************************************************************************************************************************************************************************/ /*! exports provided: render, staticRenderFns */function(e,t,n){"use strict";n.r(t),n.d(t,"render",(function(){return r})),n.d(t,"staticRenderFns",(function(){return o}));var r=function(){var e=this,t=e.$createElement,n=e._self._c||t;return e.question.isVisible?n("div",{class:e.question.cssClasses.panel.container,style:e.rootStyle},[n("h4",{directives:[{name:"show",rawName:"v-show",value:e.hasTitle,expression:"hasTitle"}],class:e.getTitleStyle(),on:{click:e.changeExpanded}},[e.question.isRequireTextOnStart?n("span",{class:e.requiredTextCss},[e._v(e._s(e.question.requiredText))]):e._e(),e._v(" "),e.question.no?n("span",{class:e.question.cssClasses.number,staticStyle:{position:"static"}},[e._v(e._s(e.question.no))]):e._e(),e._v(" "),e.question.isRequireTextBeforeTitle?n("span",{class:e.requiredTextCss},[e._v(e._s(e.question.requiredText))]):e._e(),e._v(" "),n("survey-string",{attrs:{locString:e.question.locTitle}}),e._v(" "),e.question.isRequireTextAfterTitle?n("span",{class:e.requiredTextCss},[e._v(e._s(e.question.requiredText))]):e._e(),e._v(" "),n("span",{directives:[{name:"show",rawName:"v-show",value:e.showIcon,expression:"showIcon"}],class:e.iconCss,attrs:{tabindex:"0","aria-expanded":e.isCollapsed?"false":"true","aria-controls":e.isCollapsed?null:e.question.contentId},on:{keyup:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:e.changeExpanded.apply(null,arguments)}}})],1),e._v(" "),n("div",{class:e.question.cssClasses.panel.description},[n("survey-string",{attrs:{locString:e.question.locDescription}})],1),e._v(" "),n("survey-errors",{attrs:{question:e.question}}),e._v(" "),e.isCollapsed?e._e():n("div",{class:e.question.cssClasses.panel.content,style:{paddingLeft:e.question.innerPaddingLeft},attrs:{id:e.question.contentId}},[e._l(e.rows,(function(t,r){return t.visible?n("div",{key:e.question.id+"_"+r,class:e.css.row},[n("survey-row",{attrs:{row:t,survey:e.survey,css:e.css}})],1):e._e()})),e._v(" "),e.question.hasEditButton?n("div",{class:e.question.cssClasses.panel.footer},[n("input",{class:e.survey.cssNavigationEdit,attrs:{type:"button",value:e.survey.editText},on:{click:e.cancelPreview}})]):e._e()],2)],1):e._e()},o=[];r._withStripped=!0},"./node_modules/vue-loader/lib/loaders/templateLoader.js?!./node_modules/vue-loader/lib/index.js?!./src/vue/paneldynamic.vue?vue&type=template&id=9dda5d06&": /*!***********************************************************************************************************************************************************************************************!*\ !*** ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./src/vue/paneldynamic.vue?vue&type=template&id=9dda5d06& ***! \***********************************************************************************************************************************************************************************************/ /*! exports provided: render, staticRenderFns */function(e,t,n){"use strict";n.r(t),n.d(t,"render",(function(){return r})),n.d(t,"staticRenderFns",(function(){return o}));var r=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{class:e.question.cssClasses.root},[e.question.isProgressTopShowing?n("survey-paneldynamicprogress",{attrs:{question:e.question}}):e._e(),e._v(" "),e._l(e.renderedPanels,(function(t){return[n("div",{key:t.id,class:e.question.getPanelWrapperCss()},[n("survey-panel",{attrs:{question:t,css:e.css}}),e._v(" "),n("survey-paneldynamicremove",{attrs:{question:e.question,panel:t}})],1),e._v(" "),n("hr",{key:"separator"+t.id,class:e.question.cssClasses.separator})]})),e._v(" "),e.question.isProgressBottomShowing?n("survey-paneldynamicprogress",{attrs:{question:e.question}}):e._e(),e._v(" "),e.question.isRenderModeList&&e.question.canAddPanel?n("input",{class:e.getButtonAddCss(e.question),attrs:{type:"button",value:e.question.panelAddText},on:{click:e.addPanelClick}}):e._e()],2)},o=[];r._withStripped=!0},"./node_modules/vue-loader/lib/loaders/templateLoader.js?!./node_modules/vue-loader/lib/index.js?!./src/vue/paneldynamicprogress.vue?vue&type=template&id=742bffac&": /*!*******************************************************************************************************************************************************************************************************!*\ !*** ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./src/vue/paneldynamicprogress.vue?vue&type=template&id=742bffac& ***! \*******************************************************************************************************************************************************************************************************/ /*! exports provided: render, staticRenderFns */function(e,t,n){"use strict";n.r(t),n.d(t,"render",(function(){return r})),n.d(t,"staticRenderFns",(function(){return o}));var r=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{class:this.cssClass,staticStyle:{clear:"both"}},[n("div",{class:e.question.cssClasses.progressContainer},[n("div",{attrs:{title:e.question.panelPrevText}},[n("svg",{class:e.getButtonPrevCss(e.question),attrs:{viewBox:"0 0 10 10"},on:{click:e.prevPanelClick}},[n("polygon",{attrs:{points:"2,2 0,4 5,9 10,4 8,2 5,5 "}})])]),e._v(" "),e.question.isRangeShowing?n("div",{class:e.question.cssClasses.progress},[n("div",{class:e.question.cssClasses.progressBar,style:{width:e.progress},attrs:{role:"progressbar"}})]):e._e(),e._v(" "),n("div",{attrs:{title:e.question.panelNextText}},[n("svg",{class:e.getButtonNextCss(e.question),attrs:{viewBox:"0 0 10 10"},on:{click:e.nextPanelClick}},[n("polygon",{attrs:{points:"2,2 0,4 5,9 10,4 8,2 5,5 "}})])])]),e._v(" "),e.question.canAddPanel?n("input",{class:e.question.cssClasses.button+" "+e.question.cssClasses.buttonAdd,attrs:{type:"button",value:e.question.panelAddText},on:{click:e.addPanelClick}}):e._e(),e._v(" "),n("div",{class:e.question.cssClasses.progressText},[e._v("\n "+e._s(e.question.progressText)+"\n ")])])},o=[];r._withStripped=!0},"./node_modules/vue-loader/lib/loaders/templateLoader.js?!./node_modules/vue-loader/lib/index.js?!./src/vue/paneldynamicremove.vue?vue&type=template&id=db6b2f7e&": /*!*****************************************************************************************************************************************************************************************************!*\ !*** ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./src/vue/paneldynamicremove.vue?vue&type=template&id=db6b2f7e& ***! \*****************************************************************************************************************************************************************************************************/ /*! exports provided: render, staticRenderFns */function(e,t,n){"use strict";n.r(t),n.d(t,"render",(function(){return r})),n.d(t,"staticRenderFns",(function(){return o}));var r=function(){var e=this,t=e.$createElement,n=e._self._c||t;return e.question.canRemovePanel&&!e.question.isReadOnly?n("input",{directives:[{name:"show",rawName:"v-show",value:!e.isCollapsed,expression:"!isCollapsed"}],class:e.question.getPanelRemoveButtonCss(),attrs:{type:"button",value:e.question.panelRemoveText},on:{click:function(t){return e.removePanelClick(e.panel)}}}):e._e()},o=[];r._withStripped=!0},"./node_modules/vue-loader/lib/loaders/templateLoader.js?!./node_modules/vue-loader/lib/index.js?!./src/vue/progress.vue?vue&type=template&id=27e325ef&": /*!*******************************************************************************************************************************************************************************************!*\ !*** ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./src/vue/progress.vue?vue&type=template&id=27e325ef& ***! \*******************************************************************************************************************************************************************************************/ /*! exports provided: render, staticRenderFns */function(e,t,n){"use strict";n.r(t),n.d(t,"render",(function(){return r})),n.d(t,"staticRenderFns",(function(){return o}));var r=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{class:e.css.progress},[n("div",{class:e.css.progressBar,style:{width:e.progress},attrs:{role:"progressbar","aria-valuemin":"0","aria-valuemax":"100"}},[n("span",{class:e.css.progressText+" "+e.css.progressTextInBar},[e._v(e._s(e.survey.progressText))])]),e._v(" "),n("span",{class:e.css.progressText+" "+e.css.progressTextUnderBar},[e._v(e._s(e.survey.progressText))])])},o=[];r._withStripped=!0},"./node_modules/vue-loader/lib/loaders/templateLoader.js?!./node_modules/vue-loader/lib/index.js?!./src/vue/progressButtons.vue?vue&type=template&id=2ae7de42&": /*!**************************************************************************************************************************************************************************************************!*\ !*** ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./src/vue/progressButtons.vue?vue&type=template&id=2ae7de42& ***! \**************************************************************************************************************************************************************************************************/ /*! exports provided: render, staticRenderFns */function(e,t,n){"use strict";n.r(t),n.d(t,"render",(function(){return r})),n.d(t,"staticRenderFns",(function(){return o}));var r=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{class:e.css.progressButtonsContainerCenter},[n("div",{class:e.css.progressButtonsContainer},[n("div",{class:e.getScrollButtonCss(e.hasScroller,!0),attrs:{role:"button"},on:{click:function(t){return e.clickScrollButton(!0)}}}),e._v(" "),n("div",{ref:"progressButtonsListContainer",class:e.css.progressButtonsListContainer},[n("ul",{class:e.css.progressButtonsList},e._l(e.survey.visiblePages,(function(t,r){return n("li",{key:"listelement"+r,class:e.getListElementCss(r),on:{click:function(t){e.isListElementClickable(r)&&e.clickListElement(r)}}},[n("div",{class:e.css.progressButtonsPageTitle,attrs:{title:t.locNavigationTitle.renderedHtml||t.name}},[e._v("\n "+e._s(t.locNavigationTitle.renderedHtml||t.name)+"\n ")]),e._v(" "),n("div",{class:e.css.progressButtonsPageDescription,attrs:{title:t.locNavigationDescription.renderedHtml}},[e._v("\n "+e._s(t.locNavigationDescription.renderedHtml)+"\n ")])])})),0)]),e._v(" "),n("div",{class:e.getScrollButtonCss(e.hasScroller,!1),attrs:{role:"button"},on:{click:function(t){return e.clickScrollButton(!1)}}})])])},o=[];r._withStripped=!0},"./node_modules/vue-loader/lib/loaders/templateLoader.js?!./node_modules/vue-loader/lib/index.js?!./src/vue/radiogroup.vue?vue&type=template&id=06c6d526&": /*!*********************************************************************************************************************************************************************************************!*\ !*** ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./src/vue/radiogroup.vue?vue&type=template&id=06c6d526& ***! \*********************************************************************************************************************************************************************************************/ /*! exports provided: render, staticRenderFns */function(e,t,n){"use strict";n.r(t),n.d(t,"render",(function(){return r})),n.d(t,"staticRenderFns",(function(){return o}));var r=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("fieldset",{class:e.question.cssClasses.root,attrs:{role:"radiogroup"}},[e.question.hasTitle?e._e():n("legend",{attrs:{"aria-label":e.question.locTitle.renderedHtml}}),e._v(" "),e._l(e.question.visibleChoices,(function(t,r){return e.question.hasColumns?e._e():n("survey-radiogroup-item",{key:t.value,class:e.getItemClass(t),attrs:{question:e.question,item:t,index:r}})})),e._v(" "),e._l(e.question.columns,(function(t,r){return e.question.hasColumns?n("div",{class:e.question.getColumnClass()},e._l(t,(function(t,o){return n("survey-radiogroup-item",{key:t.value,class:e.getItemClass(t),attrs:{question:e.question,item:t,index:""+r+o}})})),1):e._e()})),e._v(" "),e.question.canShowClearButton?n("div",[n("input",{class:e.question.cssClasses.clearButton,attrs:{type:"button",value:e.question.clearButtonCaption},on:{click:function(){e.question.clearValue()}}})]):e._e()],2)},o=[];r._withStripped=!0},"./node_modules/vue-loader/lib/loaders/templateLoader.js?!./node_modules/vue-loader/lib/index.js?!./src/vue/radiogroupitem.vue?vue&type=template&id=5bbe97b9&": /*!*************************************************************************************************************************************************************************************************!*\ !*** ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./src/vue/radiogroupitem.vue?vue&type=template&id=5bbe97b9& ***! \*************************************************************************************************************************************************************************************************/ /*! exports provided: render, staticRenderFns */function(e,t,n){"use strict";n.r(t),n.d(t,"render",(function(){return r})),n.d(t,"staticRenderFns",(function(){return o}));var r=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",[n("label",{class:e.getLabelClass(e.item)},[n("input",{directives:[{name:"model",rawName:"v-model",value:e.question.renderedValue,expression:"question.renderedValue"}],class:e.question.cssClasses.itemControl,attrs:{type:"radio",name:e.question.name+"_"+e.question.id,id:e.question.inputId+"_"+e.index,disabled:e.question.isInputReadOnly||!e.item.isEnabled,"aria-required":e.question.isRequired,"aria-label":e.item.locText.renderedHtml,"aria-invalid":e.question.errors.length>0,"aria-describedby":e.question.errors.length>0?e.question.id+"_errors":null},domProps:{value:e.item.value,checked:e._q(e.question.renderedValue,e.item.value)},on:{change:function(t){return e.$set(e.question,"renderedValue",e.item.value)}}}),e._v(" "),n("span",{class:e.question.cssClasses.materialDecorator},[n("svg",{class:e.question.cssClasses.itemDecorator,attrs:{viewBox:"-12 -12 24 24"}},[n("circle",{attrs:{r:"6",cx:"0",cy:"0"}})])]),e._v(" "),n("span",{staticClass:"check"}),e._v(" "),e.hideLabel?e._e():n("span",{class:e.getControlLabelClass(e.item),attrs:{title:e.item.locText.text}},[n("survey-string",{attrs:{locString:e.item.locText}})],1)]),e._v(" "),e.item.value==e.question.otherItem.value?n("survey-other-choice",{directives:[{name:"show",rawName:"v-show",value:e.question.hasOther&&e.question.renderedValue&&e.question.isOtherSelected,expression:"\n question.hasOther && question.renderedValue && question.isOtherSelected\n "}],attrs:{question:e.question}}):e._e()],1)},o=[];r._withStripped=!0},"./node_modules/vue-loader/lib/loaders/templateLoader.js?!./node_modules/vue-loader/lib/index.js?!./src/vue/ranking/ranking-item.vue?vue&type=template&id=2faded76&": /*!*******************************************************************************************************************************************************************************************************!*\ !*** ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./src/vue/ranking/ranking-item.vue?vue&type=template&id=2faded76& ***! \*******************************************************************************************************************************************************************************************************/ /*! exports provided: render, staticRenderFns */function(e,t,n){"use strict";n.r(t),n.d(t,"render",(function(){return r})),n.d(t,"staticRenderFns",(function(){return o}));var r=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{attrs:{tabindex:"0"},on:{keydown:e.handleKeydown}},[n("div",{staticStyle:{outline:"none"},attrs:{tabindex:"-1"}},[n("div",{class:e.cssClasses.itemGhostNode}),e._v(" "),n("div",{class:e.cssClasses.itemContent},[n("div",{class:e.cssClasses.itemIconContainer},[n("svg",{class:e.cssClasses.itemIcon+" "+e.cssClasses.itemIconHoverMod,attrs:{width:"10",height:"16",viewBox:"0 0 10 16",xmlns:"http://www.w3.org/2000/svg"}},[n("path",{attrs:{d:"M6 2C6 0.9 6.9 0 8 0C9.1 0 10 0.9 10 2C10 3.1 9.1 4 8 4C6.9 4 6 3.1 6 2ZM2 0C0.9 0 0 0.9 0 2C0 3.1 0.9 4 2 4C3.1 4 4 3.1 4 2C4 0.9 3.1 0 2 0ZM8 6C6.9 6 6 6.9 6 8C6 9.1 6.9 10 8 10C9.1 10 10 9.1 10 8C10 6.9 9.1 6 8 6ZM2 6C0.9 6 0 6.9 0 8C0 9.1 0.9 10 2 10C3.1 10 4 9.1 4 8C4 6.9 3.1 6 2 6ZM8 12C6.9 12 6 12.9 6 14C6 15.1 6.9 16 8 16C9.1 16 10 15.1 10 14C10 12.9 9.1 12 8 12ZM2 12C0.9 12 0 12.9 0 14C0 15.1 0.9 16 2 16C3.1 16 4 15.1 4 14C4 12.9 3.1 12 2 12Z"}})]),e._v(" "),n("svg",{class:e.cssClasses.itemIcon+" "+e.cssClasses.itemIconFocusMod,attrs:{width:"10",height:"24",viewBox:"0 0 10 24",xmlns:"http://www.w3.org/2000/svg"}},[n("path",{attrs:{d:"M10 5L5 0L0 5H4V9H6V5H10Z"}}),e._v(" "),n("path",{attrs:{d:"M6 19V15H4V19H0L5 24L10 19H6Z"}})])]),e._v(" "),n("div",{class:e.cssClasses.itemIndex},[e._v(e._s(e.index))]),e._v(" "),n("div",{class:e.cssClasses.controlLabel},[n("survey-string",{attrs:{locString:e.text}})],1)])])])},o=[];r._withStripped=!0},"./node_modules/vue-loader/lib/loaders/templateLoader.js?!./node_modules/vue-loader/lib/index.js?!./src/vue/ranking/ranking.vue?vue&type=template&id=19074eea&": /*!**************************************************************************************************************************************************************************************************!*\ !*** ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./src/vue/ranking/ranking.vue?vue&type=template&id=19074eea& ***! \**************************************************************************************************************************************************************************************************/ /*! exports provided: render, staticRenderFns */function(e,t,n){"use strict";n.r(t),n.d(t,"render",(function(){return r})),n.d(t,"staticRenderFns",(function(){return o}));var r=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{class:e.question.rootClass},e._l(e.question.rankingChoices,(function(t,r){return n("survey-ranking-item",{key:t.value+"-"+r+"-item",class:e.question.getItemClass(t),attrs:{text:t.locText,index:e.question.getNumberByIndex(r),handleKeydown:e.question.handleKeydown,cssClasses:e.question.cssClasses}})})),1)},o=[];r._withStripped=!0},"./node_modules/vue-loader/lib/loaders/templateLoader.js?!./node_modules/vue-loader/lib/index.js?!./src/vue/rating.vue?vue&type=template&id=7092bfdf&": /*!*****************************************************************************************************************************************************************************************!*\ !*** ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./src/vue/rating.vue?vue&type=template&id=7092bfdf& ***! \*****************************************************************************************************************************************************************************************/ /*! exports provided: render, staticRenderFns */function(e,t,n){"use strict";n.r(t),n.d(t,"render",(function(){return r})),n.d(t,"staticRenderFns",(function(){return o}));var r=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",[n("div",{class:e.getRootClass(e.question)},[n("fieldset",{attrs:{role:"radiogroup"}},[n("legend",{attrs:{"aria-label":e.question.locTitle.renderedHtml}}),e._v(" "),e._l(e.question.visibleRateValues,(function(t,r){return n("label",{key:t.value,class:e.getCss(e.question,t)},[n("input",{staticClass:"sv-visuallyhidden",attrs:{type:"radio",name:e.question.name,id:e.question.inputId+"_"+r,disabled:e.question.isInputReadOnly,"aria-required":e.question.isRequired,"aria-label":t.locText.text,"aria-invalid":e.question.errors.length>0,"aria-describedby":e.question.errors.length>0?e.question.id+"_errors":null},domProps:{value:t.value},on:{click:function(t){return e.question.setValueFromClick(t.target.value)}}}),e._v(" "),0===r?n("span",{class:e.question.cssClasses.minText},[n("survey-string",{attrs:{locString:e.question.locMinRateDescription}})],1):e._e(),e._v(" "),n("span",{class:e.question.cssClasses.itemText},[n("survey-string",{attrs:{locString:t.locText}})],1),e._v(" "),r===e.question.visibleRateValues.length-1?n("span",{class:e.question.cssClasses.maxText},[n("survey-string",{attrs:{locString:e.question.locMaxRateDescription}})],1):e._e()])}))],2)]),e._v(" "),n("survey-other-choice",{directives:[{name:"show",rawName:"v-show",value:e.question.hasOther,expression:"question.hasOther"}],class:e.question.cssClasses.other,attrs:{question:e.question}})],1)},o=[];r._withStripped=!0},"./node_modules/vue-loader/lib/loaders/templateLoader.js?!./node_modules/vue-loader/lib/index.js?!./src/vue/row.vue?vue&type=template&id=7cc0bd88&": /*!**************************************************************************************************************************************************************************************!*\ !*** ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./src/vue/row.vue?vue&type=template&id=7cc0bd88& ***! \**************************************************************************************************************************************************************************************/ /*! exports provided: render, staticRenderFns */function(e,t,n){"use strict";n.r(t),n.d(t,"render",(function(){return r})),n.d(t,"staticRenderFns",(function(){return o}));var r=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"sv-vue-row-additional-div"},e._l(e.row.elements,(function(t){return e.row.isNeedRender&&t.isVisible?n("div",{key:t.idValue,style:{flexBasis:t.renderWidth,flexGrow:1,flexShrink:1,width:t.renderWidth,minWidth:t.minWidth,maxWidth:t.maxWidth}},[n("survey-element",{style:{paddingLeft:t.paddingLeft,paddingRight:t.paddingRight},attrs:{id:t.id,role:t.ariaRole,"aria-labelledby":t.hasTitle?t.ariaTitleId:null,name:t.name,element:t,survey:e.survey,css:e.css}})],1):e._e()})),0)},o=[];r._withStripped=!0},"./node_modules/vue-loader/lib/loaders/templateLoader.js?!./node_modules/vue-loader/lib/index.js?!./src/vue/signaturepad.vue?vue&type=template&id=0462349d&": /*!***********************************************************************************************************************************************************************************************!*\ !*** ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./src/vue/signaturepad.vue?vue&type=template&id=0462349d& ***! \***********************************************************************************************************************************************************************************************/ /*! exports provided: render, staticRenderFns */function(e,t,n){"use strict";n.r(t),n.d(t,"render",(function(){return r})),n.d(t,"staticRenderFns",(function(){return o}));var r=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{class:e.question.cssClasses.root},[e._m(0),e._v(" "),n("div",{class:e.question.cssClasses.controls},[n("button",{class:e.question.cssClasses.clearButton,attrs:{type:"button",title:e.question.clearButtonCaption}},[e._v("\n ✖\n ")])])])},o=[function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",[n("canvas",{attrs:{tabindex:"0"}})])}];r._withStripped=!0},"./node_modules/vue-loader/lib/loaders/templateLoader.js?!./node_modules/vue-loader/lib/index.js?!./src/vue/string-editor.vue?vue&type=template&id=9639f152&": /*!************************************************************************************************************************************************************************************************!*\ !*** ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./src/vue/string-editor.vue?vue&type=template&id=9639f152& ***! \************************************************************************************************************************************************************************************************/ /*! exports provided: render, staticRenderFns */function(e,t,n){"use strict";n.r(t),n.d(t,"render",(function(){return r})),n.d(t,"staticRenderFns",(function(){return o}));var r=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("span",{staticStyle:{position:"static"}},[e.locString.hasHtml?n("span",{staticClass:"sv-string-editor",staticStyle:{position:"static"},attrs:{contenteditable:"true"},domProps:{innerHTML:e._s(e.locString.renderedHtml)},on:{blur:e.onInput,click:e.onClick}}):n("span",{staticClass:"sv-string-editor",staticStyle:{position:"static"},attrs:{contenteditable:"true"},on:{blur:e.onInput,click:e.onClick}},[e._v(e._s(e.locString.renderedHtml))])])},o=[];r._withStripped=!0},"./node_modules/vue-loader/lib/loaders/templateLoader.js?!./node_modules/vue-loader/lib/index.js?!./src/vue/string-viewer.vue?vue&type=template&id=7d918508&": /*!************************************************************************************************************************************************************************************************!*\ !*** ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./src/vue/string-viewer.vue?vue&type=template&id=7d918508& ***! \************************************************************************************************************************************************************************************************/ /*! exports provided: render, staticRenderFns */function(e,t,n){"use strict";n.r(t),n.d(t,"render",(function(){return r})),n.d(t,"staticRenderFns",(function(){return o}));var r=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("span",{staticStyle:{position:"static"}},[e.locString.hasHtml?n("span",{staticStyle:{position:"static"},domProps:{innerHTML:e._s(e.locString.renderedHtml)}}):n("span",{staticStyle:{position:"static"}},[e._v(e._s(e.locString.renderedHtml))])])},o=[];r._withStripped=!0},"./node_modules/vue-loader/lib/loaders/templateLoader.js?!./node_modules/vue-loader/lib/index.js?!./src/vue/string.vue?vue&type=template&id=d3a3d75a&": /*!*****************************************************************************************************************************************************************************************!*\ !*** ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./src/vue/string.vue?vue&type=template&id=d3a3d75a& ***! \*****************************************************************************************************************************************************************************************/ /*! exports provided: render, staticRenderFns */function(e,t,n){"use strict";n.r(t),n.d(t,"render",(function(){return r})),n.d(t,"staticRenderFns",(function(){return o}));var r=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n(e.locString.renderAs,{tag:"component",attrs:{locString:e.locString}})},o=[];r._withStripped=!0},"./node_modules/vue-loader/lib/loaders/templateLoader.js?!./node_modules/vue-loader/lib/index.js?!./src/vue/survey.vue?vue&type=template&id=6874e1c8&": /*!*****************************************************************************************************************************************************************************************!*\ !*** ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./src/vue/survey.vue?vue&type=template&id=6874e1c8& ***! \*****************************************************************************************************************************************************************************************/ /*! exports provided: render, staticRenderFns */function(e,t,n){"use strict";n.r(t),n.d(t,"render",(function(){return r})),n.d(t,"staticRenderFns",(function(){return o}));var r=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{class:e.css.root},[n("form",{attrs:{onsubmit:"return false;"}},[e.survey.hasLogo?e._e():n("div",{staticClass:"sv_custom_header"}),e._v(" "),n("div",{class:e.css.container},[n("survey-header",{attrs:{survey:e.survey}}),e._v(" "),"starting"===e.survey.state?[n("div",{class:e.css.body},[e.survey.isNavigationButtonsShowingOnTop?n("div",{class:e.css.footer},[n("input",{class:e.survey.cssNavigationStart,attrs:{type:"button",value:e.survey.startSurveyText},on:{click:e.start}})]):e._e(),e._v(" "),n("survey-page",{attrs:{id:e.survey.startedPage.id,survey:e.survey,page:e.survey.startedPage,css:e.css}}),e._v(" "),e.survey.isNavigationButtonsShowingOnBottom?n("div",{class:e.css.footer},[n("input",{class:e.survey.cssNavigationStart,attrs:{type:"button",value:e.survey.startSurveyText},on:{click:e.start}})]):e._e()],1)]:e._e(),e._v(" "),"running"===e.survey.state||"preview"===e.survey.state?[n("div",{class:e.css.body},[e.survey.isShowProgressBarOnTop?n("sv-progress-"+e.survey.progressBarType.toLowerCase(),{tag:"component",attrs:{survey:e.survey,css:e.css}}):e._e(),e._v(" "),e.survey.isTimerPanelShowingOnTop?n("survey-timerpanel",{attrs:{survey:e.survey,css:e.css}}):e._e(),e._v(" "),e.survey.isNavigationButtonsShowingOnTop?n("survey-navigation",{key:e.navId,attrs:{survey:e.survey,css:e.css}}):e._e(),e._v(" "),n("survey-page",{key:e.pageId,attrs:{survey:e.survey,page:e.survey.currentPage,css:e.css}}),e._v(" "),e.survey.isTimerPanelShowingOnBottom?n("survey-timerpanel",{attrs:{survey:e.survey,css:e.css}}):e._e(),e._v(" "),e.survey.isShowProgressBarOnBottom?n("sv-progress-"+e.survey.progressBarType.toLowerCase(),{tag:"component",attrs:{survey:e.survey,css:e.css}}):e._e(),e._v(" "),e.survey.isNavigationButtonsShowingOnBottom?n("survey-navigation",{key:e.navId,attrs:{survey:e.survey,css:e.css}}):e._e()],1)]:e._e(),e._v(" "),e.hasCompletedPage?n("div",[n("div",{class:e.getCompletedPageClasses(),domProps:{innerHTML:e._s(e.getProcessedCompletedHtml())}}),e._v(" "),""!=e.survey.completedState?n("div",{class:e.css.saveData.root},[n("div",{class:e.getCompletedStateClasses()},[n("span",[e._v(e._s(e.survey.completedStateText))]),e._v(" "),"error"==e.survey.completedState?n("input",{class:e.css.saveData.saveAgainButton,attrs:{type:"button",value:e.survey.getLocString("saveAgainButton")},on:{click:e.doTrySaveAgain}}):e._e()])]):e._e()]):e._e(),e._v(" "),"completedbefore"===e.survey.state?n("div",{class:e.css.body,domProps:{innerHTML:e._s(e.survey.processedCompletedBeforeHtml)}}):e._e(),e._v(" "),"loading"===e.survey.state?n("div",{class:e.css.body,domProps:{innerHTML:e._s(e.survey.processedLoadingHtml)}}):e._e(),e._v(" "),"empty"===e.survey.state?n("div",{class:e.css.bodyEmpty},[e._v("\n "+e._s(e.survey.emptySurveyText)+"\n ")]):e._e()],2)])])},o=[];r._withStripped=!0},"./node_modules/vue-loader/lib/loaders/templateLoader.js?!./node_modules/vue-loader/lib/index.js?!./src/vue/text.vue?vue&type=template&id=40ece422&": /*!***************************************************************************************************************************************************************************************!*\ !*** ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./src/vue/text.vue?vue&type=template&id=40ece422& ***! \***************************************************************************************************************************************************************************************/ /*! exports provided: render, staticRenderFns */function(e,t,n){"use strict";n.r(t),n.d(t,"render",(function(){return r})),n.d(t,"staticRenderFns",(function(){return o}));var r=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",[n("input",{class:e.question.cssClasses.root,style:e.inputStyle,attrs:{disabled:e.question.isInputReadOnly,type:e.question.inputType,maxlength:e.question.getMaxLength(),min:e.question.renderedMin,max:e.question.renderedMax,step:e.question.renderedStep,size:e.question.inputSize,id:e.question.inputId,list:e.question.dataListId,placeholder:"range"===e.question.inputType||e.question.isReadOnly?"":e.question.placeHolder,autocomplete:e.question.autoComplete,"aria-required":e.question.isRequired,"aria-label":e.question.locTitle.renderedHtml,"aria-invalid":e.question.errors.length>0,"aria-describedby":e.question.errors.length>0?e.question.id+"_errors":null},domProps:{value:e.question.value},on:{change:e.change,keyup:e.keyup}}),e._v(" "),e.question.dataListId?n("datalist",{attrs:{id:e.question.dataListId}},e._l(e.question.dataList,(function(e){return n("option",{domProps:{value:e}})})),0):e._e()])},o=[];r._withStripped=!0},"./node_modules/vue-loader/lib/loaders/templateLoader.js?!./node_modules/vue-loader/lib/index.js?!./src/vue/timerpanel.vue?vue&type=template&id=0d2abe21&": /*!*********************************************************************************************************************************************************************************************!*\ !*** ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./src/vue/timerpanel.vue?vue&type=template&id=0d2abe21& ***! \*********************************************************************************************************************************************************************************************/ /*! exports provided: render, staticRenderFns */function(e,t,n){"use strict";n.r(t),n.d(t,"render",(function(){return r})),n.d(t,"staticRenderFns",(function(){return o}));var r=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",[e._v(e._s(e.text))])},o=[];r._withStripped=!0},"./node_modules/vue-loader/lib/loaders/templateLoader.js?!./node_modules/vue-loader/lib/index.js?!./src/vue/titlecontent.vue?vue&type=template&id=cd49b83a&": /*!***********************************************************************************************************************************************************************************************!*\ !*** ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./src/vue/titlecontent.vue?vue&type=template&id=cd49b83a& ***! \***********************************************************************************************************************************************************************************************/ /*! exports provided: render, staticRenderFns */function(e,t,n){"use strict";n.r(t),n.d(t,"render",(function(){return r})),n.d(t,"staticRenderFns",(function(){return o}));var r=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",[e.element.isRequireTextOnStart?n("span",{class:e.element.cssClasses.requiredText,attrs:{"aria-hidden":!0}},[e._v(e._s(e.element.requiredText))]):e._e(),e._v(" "),e.element.no?n("span",{class:e.element.cssClasses.number,staticStyle:{position:"static"},attrs:{"aria-hidden":!0}},[e._v(e._s(e.element.no))]):e._e(),e._v(" "),e.element.isRequireTextBeforeTitle?n("span",{class:e.element.cssClasses.requiredText,attrs:{"aria-hidden":!0}},[e._v(e._s(e.element.requiredText))]):e._e(),e._v(" "),n("survey-string",{attrs:{locString:e.element.locTitle}}),e._v(" "),e.element.isRequireTextAfterTitle?n("span",{class:e.element.cssClasses.requiredText,attrs:{"aria-hidden":!0}},[e._v(e._s(e.element.requiredText))]):e._e()],1)},o=[];r._withStripped=!0},"./node_modules/vue-loader/lib/loaders/templateLoader.js?!./node_modules/vue-loader/lib/index.js?!./src/vue/window.vue?vue&type=template&id=62f588b2&": /*!*****************************************************************************************************************************************************************************************!*\ !*** ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./src/vue/window.vue?vue&type=template&id=62f588b2& ***! \*****************************************************************************************************************************************************************************************/ /*! exports provided: render, staticRenderFns */function(e,t,n){"use strict";n.r(t),n.d(t,"render",(function(){return r})),n.d(t,"staticRenderFns",(function(){return o}));var r=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{directives:[{name:"show",rawName:"v-show",value:e.surveyWindow.isShowing,expression:"surveyWindow.isShowing"}],class:e.css.window.root,staticStyle:{position:"fixed",bottom:"3px",right:"10px","max-width":"60%"}},[n("div",{class:e.css.window.header.root},[n("span",{staticStyle:{width:"100%",cursor:"pointer"},on:{click:e.doExpand}},[n("span",{class:e.css.window.header.title,staticStyle:{"padding-right":"10px"}},[n("survey-string",{attrs:{locString:e.windowSurvey.locTitle}})],1),e._v(" "),n("span",{class:e.expandedCss,attrs:{"aria-hidden":"true"}})]),e._v(" "),e.isExpandedSurvey?n("span",{staticStyle:{float:"right",cursor:"pointer"},on:{click:e.doExpand}},[n("span",{class:e.css.window.header.title,staticStyle:{"padding-right":"10px"}},[e._v("X")])]):e._e()]),e._v(" "),n("div",{directives:[{name:"show",rawName:"v-show",value:e.isExpandedSurvey,expression:"isExpandedSurvey"}],class:e.css.window.body},[n("survey",{attrs:{survey:e.windowSurvey}})],1)])},o=[];r._withStripped=!0},"./node_modules/vue-loader/lib/runtime/componentNormalizer.js": /*!********************************************************************!*\ !*** ./node_modules/vue-loader/lib/runtime/componentNormalizer.js ***! \********************************************************************/ /*! exports provided: default */function(e,t,n){"use strict";function r(e,t,n,r,o,i,s,a){var l,u="function"===typeof e?e.options:e;if(t&&(u.render=t,u.staticRenderFns=n,u._compiled=!0),r&&(u.functional=!0),i&&(u._scopeId="data-v-"+i),s?(l=function(e){e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,e||"undefined"===typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),o&&o.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(s)},u._ssrRegister=l):o&&(l=a?function(){o.call(this,(u.functional?this.parent:this).$root.$options.shadowRoot)}:o),l)if(u.functional){u._injectStyles=l;var c=u.render;u.render=function(e,t){return l.call(t),c(e,t)}}else{var d=u.beforeCreate;u.beforeCreate=d?[].concat(d,l):[l]}return{exports:e,options:u}}n.r(t),n.d(t,"default",(function(){return r}))},"./node_modules/vue-property-decorator/lib/decorators/Emit.js": /*!********************************************************************!*\ !*** ./node_modules/vue-property-decorator/lib/decorators/Emit.js ***! \********************************************************************/ /*! exports provided: Emit */function(e,t,n){"use strict";n.r(t),n.d(t,"Emit",(function(){return s}));var r=function(){for(var e=0,t=0,n=arguments.length;t=0;a--)(o=e[a])&&(s=(i<3?o(s):i>3?o(t,n,s):o(t,n))||s);return i>3&&s&&Object.defineProperty(t,n,s),s},c=function(e){function t(t){var n=e.call(this)||this;return Object.assign(n,t),n}return l(t,e),u([Object(o["property"])()],t.prototype,"id",void 0),u([Object(o["property"])()],t.prototype,"visible",void 0),u([Object(o["property"])()],t.prototype,"title",void 0),u([Object(o["property"])()],t.prototype,"tooltip",void 0),u([Object(o["property"])()],t.prototype,"enabled",void 0),u([Object(o["property"])()],t.prototype,"showTitle",void 0),u([Object(o["property"])()],t.prototype,"action",void 0),u([Object(o["property"])()],t.prototype,"css",void 0),u([Object(o["property"])()],t.prototype,"innerCss",void 0),u([Object(o["property"])()],t.prototype,"data",void 0),u([Object(o["property"])()],t.prototype,"popupModel",void 0),u([Object(o["property"])()],t.prototype,"needSeparator",void 0),u([Object(o["property"])()],t.prototype,"active",void 0),u([Object(o["property"])()],t.prototype,"template",void 0),u([Object(o["property"])()],t.prototype,"component",void 0),u([Object(o["property"])()],t.prototype,"iconName",void 0),u([Object(o["property"])()],t.prototype,"items",void 0),u([Object(o["property"])()],t.prototype,"visibleIndex",void 0),t}(r["Base"]),d=function(e){function t(t,n){var r=e.call(this)||this;return r.owner=t,r.item=n,r.needSeparator=n.needSeparator,r}return l(t,e),Object.defineProperty(t.prototype,"visibleIndex",{get:function(){return this.item.visibleIndex},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"wrappedItem",{get:function(){return this.item},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"stateItem",{get:function(){var e=this.item;return e&&e["getType"]?e:this},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"id",{get:function(){return this.item.id},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"visible",{get:function(){return Object(a["unwrap"])(this.item.visible)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"title",{get:function(){return Object(a["unwrap"])(this.item.title)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"tooltip",{get:function(){return Object(a["unwrap"])(this.item.tooltip)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"enabled",{get:function(){return Object(a["unwrap"])(this.item.enabled)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"disabled",{get:function(){var e=this.enabled;return void 0!==e&&!e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"showTitle",{get:function(){return this.owner.showTitles&&(this.item.showTitle||void 0===this.item.showTitle)},enumerable:!1,configurable:!0}),t.prototype.action=function(e){this.item.action&&this.item.action(e)},Object.defineProperty(t.prototype,"css",{get:function(){return Object(a["unwrap"])(this.item.css)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"innerCss",{get:function(){return Object(a["unwrap"])(this.item.innerCss)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"data",{get:function(){return Object(a["unwrap"])(this.item.data)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"popupModel",{get:function(){return Object(a["unwrap"])(this.item.popupModel)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"active",{get:function(){return Object(a["unwrap"])(this.item.active)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"template",{get:function(){return this.item.template},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"component",{get:function(){return Object(a["unwrap"])(this.item.component)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"iconName",{get:function(){return Object(a["unwrap"])(this.item.iconName)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"items",{get:function(){return Object(a["unwrap"])(this.item.items)},enumerable:!1,configurable:!0}),u([Object(o["property"])({defaultValue:!0})],t.prototype,"isVisible",void 0),u([Object(o["property"])()],t.prototype,"needSeparator",void 0),t}(r["Base"]),p=function(e){function t(){var t=e.call(this)||this;return t.invisibleItemsListModel=new i["ListModel"]([],(function(e){t.invisibleItemSelected(e),t.dotsItemPopupModel.toggleVisibility()}),!1),t.canGrow=!0,t.dotsItemPopupModel=new s["PopupModel"]("sv-list",{model:t.invisibleItemsListModel}),t.dotsItem=new d(t,new c({id:"dotsItem-id",component:"sv-action-bar-item-dropdown",css:"sv-dots",innerCss:"sv-dots__item",iconName:"icon-dots",action:function(e){t.dotsItemPopupModel.toggleVisibility()},popupModel:t.dotsItemPopupModel})),t}return l(t,e),Object.defineProperty(t.prototype,"hasItems",{get:function(){return(this.items||[]).length>0},enumerable:!1,configurable:!0}),t.prototype.invisibleItemSelected=function(e){e&&"function"===typeof e.action&&e.action()},t.prototype.showFirstN=function(e){var t=this,n=e,r=[];this.items.forEach((function(e){e!==t.dotsItem&&(e.isVisible=n>0,n<=0&&r.push(e),n--)})),this.invisibleItems=r;var o=this.items.indexOf(this.dotsItem);-1!==o&&this.items.splice(o,1),e=0||void 0===e.visibleIndex}))).sort((function(e,t){return e.visibleIndex-t.visibleIndex}))},t}(p)},"./src/base.ts": /*!*********************!*\ !*** ./src/base.ts ***! \*********************/ /*! exports provided: Bindings, Base, ArrayChanges, SurveyError, SurveyElement, Event, EventBase */function(e,t,n){"use strict";n.r(t),n.d(t,"Bindings",(function(){return d})),n.d(t,"Base",(function(){return p})),n.d(t,"ArrayChanges",(function(){return h})),n.d(t,"SurveyError",(function(){return f})),n.d(t,"SurveyElement",(function(){return m})),n.d(t,"Event",(function(){return v})),n.d(t,"EventBase",(function(){return g}));var r=n(/*! ./localizablestring */"./src/localizablestring.ts"),o=n(/*! ./helpers */"./src/helpers.ts"),i=n(/*! ./jsonobject */"./src/jsonobject.ts"),s=n(/*! ./settings */"./src/settings.ts"),a=n(/*! ./rendererFactory */"./src/rendererFactory.ts"),l=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){if("function"!==typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),u=function(e,t,n,r){var o,i=arguments.length,s=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)s=Reflect.decorate(e,t,n,r);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(i<3?o(s):i>3?o(t,n,s):o(t,n))||s);return i>3&&s&&Object.defineProperty(t,n,s),s},c=function(e,t){for(var n=0,r=t.length,o=e.length;n0&&(0==r.requiredQuestionCount&&(r.requiredQuestionCount=1),r.answeredQuestionCount>0&&(r.requiredAnsweredQuestionCount=1)),r},t.ScrollElementToTop=function(e){if(!e||"undefined"===typeof document)return!1;var t=document.getElementById(e);if(!t||!t.scrollIntoView)return!1;var n=t.getBoundingClientRect().top;return n<0&&t.scrollIntoView(),n<0},t.GetFirstNonTextElement=function(e,t){if(void 0===t&&(t=!1),!e||!e.length||0==e.length)return null;if(t){var n=e[0];"#text"===n.nodeName&&(n.data=""),n=e[e.length-1],"#text"===n.nodeName&&(n.data="")}for(var r=0;r0},Object.defineProperty(t.prototype,"containsErrors",{get:function(){return this.getPropertyValue("containsErrors",!1)},enumerable:!1,configurable:!0}),t.prototype.updateContainsErrors=function(){this.setPropertyValue("containsErrors",this.getContainsErrors())},t.prototype.getContainsErrors=function(){return this.errors.length>0},t.prototype.getElementsInDesign=function(e){return void 0===e&&(e=!1),[]},Object.defineProperty(t.prototype,"selectedElementInDesign",{get:function(){return this.selectedElementInDesignValue},set:function(e){this.selectedElementInDesignValue=e},enumerable:!1,configurable:!0}),t.prototype.updateCustomWidgets=function(){},t.prototype.onSurveyLoad=function(){},t.prototype.onFirstRendering=function(){},t.prototype.endLoadingFromJson=function(){e.prototype.endLoadingFromJson.call(this),this.survey||this.onSurveyLoad()},t.prototype.setVisibleIndex=function(e){return 0},Object.defineProperty(t.prototype,"isPage",{get:function(){return!1},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isPanel",{get:function(){return!1},enumerable:!1,configurable:!0}),t.prototype.delete=function(){},t.prototype.removeSelfFromList=function(e){if(e&&Array.isArray(e)){var t=e.indexOf(this);t>-1&&e.splice(t,1)}},Object.defineProperty(t.prototype,"textProcessor",{get:function(){return this.textProcessorValue},enumerable:!1,configurable:!0}),t.prototype.getProcessedHtml=function(e){return e&&this.textProcessor?this.textProcessor.processText(e,!0):e},t.prototype.onSetData=function(){},Object.defineProperty(t.prototype,"parent",{get:function(){return this.getPropertyValue("parent",null)},set:function(e){this.setPropertyValue("parent",e)},enumerable:!1,configurable:!0}),t.prototype.getPage=function(e){while(e&&e.parent)e=e.parent;return e&&"page"==e.getType()?e:null},t.prototype.moveToBase=function(e,t,n){if(void 0===n&&(n=null),!t)return!1;e.removeElement(this);var r=-1;return o["Helpers"].isNumber(n)&&(r=parseInt(n)),-1==r&&n&&n.getType&&(r=t.indexOf(n)),t.addElement(this,r),!0},t.prototype.setPage=function(e,t){var n=this.getPage(e);n!==t&&(e&&e.removeElement(this),t&&t.addElement(this,-1))},t.prototype.getSearchableLocKeys=function(e){e.push("title"),e.push("description")},t.CreateDisabledDesignElements=!1,u([Object(i["property"])({defaultValue:!1})],t.prototype,"hasVisibleErrors",void 0),t}(p),v=function(){function e(){}return Object.defineProperty(e.prototype,"isEmpty",{get:function(){return!this.callbacks||0==this.callbacks.length},enumerable:!1,configurable:!0}),e.prototype.fire=function(e,t){if(this.callbacks)for(var n=0;n-1},e.prototype.fireCallbackChanged=function(){this.onCallbacksChanged&&this.onCallbacksChanged()},e}(),g=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return l(t,e),t}(v)},"./src/calculatedValue.ts": /*!********************************!*\ !*** ./src/calculatedValue.ts ***! \********************************/ /*! exports provided: CalculatedValue */function(e,t,n){"use strict";n.r(t),n.d(t,"CalculatedValue",(function(){return l}));var r=n(/*! ./helpers */"./src/helpers.ts"),o=n(/*! ./base */"./src/base.ts"),i=n(/*! ./conditions */"./src/conditions.ts"),s=n(/*! ./jsonobject */"./src/jsonobject.ts"),a=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){if("function"!==typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),l=function(e){function t(t,n){void 0===t&&(t=null),void 0===n&&(n=null);var r=e.call(this)||this;return r.expressionIsRunning=!1,r.isCalculated=!1,t&&(r.name=t),n&&(r.expression=n),r}return a(t,e),t.prototype.setOwner=function(e){this.data=e,this.rerunExpression()},t.prototype.getType=function(){return"calculatedvalue"},t.prototype.getSurvey=function(e){return void 0===e&&(e=!1),this.data&&this.data["getSurvey"]?this.data.getSurvey():null},Object.defineProperty(t.prototype,"owner",{get:function(){return this.data},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"name",{get:function(){return this.getPropertyValue("name","")},set:function(e){this.setPropertyValue("name",e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"includeIntoResult",{get:function(){return this.getPropertyValue("includeIntoResult",!1)},set:function(e){this.setPropertyValue("includeIntoResult",e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"expression",{get:function(){return this.getPropertyValue("expression","")},set:function(e){this.setPropertyValue("expression",e),this.rerunExpression()},enumerable:!1,configurable:!0}),t.prototype.locCalculation=function(){this.expressionIsRunning=!0},t.prototype.unlocCalculation=function(){this.expressionIsRunning=!1},t.prototype.resetCalculation=function(){this.isCalculated=!1},t.prototype.doCalculation=function(e,t,n){this.isCalculated||(this.runExpressionCore(e,t,n),this.isCalculated=!0)},t.prototype.runExpression=function(e,t){this.runExpressionCore(null,e,t)},Object.defineProperty(t.prototype,"value",{get:function(){if(this.data)return this.data.getVariable(this.name)},enumerable:!1,configurable:!0}),t.prototype.setValue=function(e){this.data&&this.data.setVariable(this.name,e)},Object.defineProperty(t.prototype,"canRunExpression",{get:function(){return!!this.data&&!this.isLoadingFromJson&&!!this.expression&&!this.expressionIsRunning&&!!this.name},enumerable:!1,configurable:!0}),t.prototype.rerunExpression=function(){this.canRunExpression&&this.runExpression(this.data.getFilteredValues(),this.data.getFilteredProperties())},t.prototype.runExpressionCore=function(e,t,n){this.canRunExpression&&(this.ensureExpression(t),this.locCalculation(),e&&this.runDependentExpressions(e,t,n),this.expressionRunner.run(t,n))},t.prototype.runDependentExpressions=function(e,t,n){var r=this.expressionRunner.getVariables();if(r)for(var o=0;o0)for(var n=0;n-1?this.isUsingCacheFromUrl=!0:e.indexOf(t.noCacheText)>-1&&(this.isUsingCacheFromUrl=!1))},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"path",{get:function(){return this.getPropertyValue("path","")},set:function(e){this.setPropertyValue("path",e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"valueName",{get:function(){return this.getPropertyValue("valueName","")},set:function(e){this.setPropertyValue("valueName",e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"titleName",{get:function(){return this.getPropertyValue("titleName","")},set:function(e){this.setPropertyValue("titleName",e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"imageLinkName",{get:function(){return this.getPropertyValue("imageLinkName","")},set:function(e){this.setPropertyValue("imageLinkName",e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"allowEmptyResponse",{get:function(){return this.getPropertyValue("allowEmptyResponse",!1)},set:function(e){this.setPropertyValue("allowEmptyResponse",e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"attachOriginalItems",{get:function(){return this.getPropertyValue("attachOriginalItems",!1)},set:function(e){this.setPropertyValue("attachOriginalItems",e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"itemValueType",{get:function(){if(!this.owner)return"itemvalue";var e=i["Serializer"].findProperty(this.owner.getType(),"choices");return e?"itemvalue[]"==e.type?"itemvalue":e.type:"itemvalue"},enumerable:!1,configurable:!0}),t.prototype.clear=function(){this.url="",this.path="",this.valueName="",this.titleName="",this.imageLinkName="";for(var e=this.getCustomPropertiesNames(),t=0;t-1?this.path.split(";"):this.processedPath.split(","),0==e.length&&e.push(this.processedPath),e},t.prototype.getValue=function(e){if(!e)return null;if(this.valueName)return this.getValueCore(e,this.valueName);if(!(e instanceof Object))return e;var t=Object.keys(e).length;return t<1?null:e[Object.keys(e)[0]]},t.prototype.setTitle=function(e,t){var n=this.titleName?this.titleName:"title",r=this.getValueCore(t,n);r&&("string"===typeof r?e.text=r:e.locText.setJson(r))},t.prototype.getImageLink=function(e){var t=this.imageLinkName?this.imageLinkName:"imageLink";return this.getValueCore(e,t)},t.prototype.getValueCore=function(e,t){if(!e)return null;if(t.indexOf(".")<0)return e[t];for(var n=t.split("."),r=0;r1&&"length"==e.path[e.path.length-1]&&(e.hasValue=!0,e.value=0));var t=this.getValueCore(e.name,this.values);e.value=t.value,e.hasValue=t.hasValue,e.path=t.hasValue?t.path:null},e.prototype.getValueFromPath=function(e,t){var n=0;while(t&&n=t.length)return null;t=t[o],n++}return t},e.prototype.getValueCore=function(e,t){var n={hasValue:!1,value:null,path:null},o=t;if(!o&&0!==o&&!1!==o)return n;e&&e.lastIndexOf(".length")>-1&&e.lastIndexOf(".length")===e.length-".length".length&&(n.value=0,n.hasValue=!0);var i=this.getNonNestedObject(o,e,!1);return i?(n.path=i.path,n.value=i.text?this.getObjectValue(i.value,i.text):i.value,n.hasValue=!r["Helpers"].isValueEmpty(n.value),n):n},e.prototype.getNonNestedObject=function(e,t,n){var o=this.getFirstPropertyName(t,e,n),i=o?[o]:null;while(t!=o&&e){var s="["==t[0];if(s){var a=this.getObjInArray(e,t);if(!a)return null;e=a.value,t=a.text,i.push(a.index)}else{if(!o&&t==this.getFirstName(t))return{value:e,text:t,path:i};if(e=this.getObjectValue(e,o),r["Helpers"].isValueEmpty(e)&&!n)return null;t=t.substr(o.length)}t&&"."==t[0]&&(t=t.substr(1)),o=this.getFirstPropertyName(t,e,n),o&&i.push(o)}return{value:e,text:t,path:i}},e.prototype.getObjInArray=function(e,t){if(!Array.isArray(e))return null;var n=1,r="";while(n=e.length?null:{value:e[n],text:t,index:n}},e.prototype.getFirstPropertyName=function(e,t,n){if(void 0===n&&(n=!1),!e)return e;if(t||(t={}),t.hasOwnProperty(e))return e;var r=e.toLowerCase(),o=r[0],i=o.toUpperCase();for(var s in t){var a=s[0];if(a===i||a===o){var l=s.toLowerCase();if(l==r)return s;if(r.length<=l.length)continue;var u=r[l.length];if("."!=u&&"["!=u)continue;if(l==r.substr(0,l.length))return s}}if(n&&"["!==e[0]){var c=e.indexOf(".");return c>-1&&(e=e.substr(0,c),t[e]={}),e}return""},e.prototype.getObjectValue=function(e,t){return t?e[t]:null},e.prototype.getIntValue=function(e){return"0"==e||(0|e)>0&&e%1==0?Number(e):-1},e}()},"./src/conditions.ts": /*!***************************!*\ !*** ./src/conditions.ts ***! \***************************/ /*! exports provided: ExpressionRunnerBase, ConditionRunner, ExpressionRunner */function(e,t,n){"use strict";n.r(t),n.d(t,"ExpressionRunnerBase",(function(){return s})),n.d(t,"ConditionRunner",(function(){return a})),n.d(t,"ExpressionRunner",(function(){return l}));var r=n(/*! ./conditionProcessValue */"./src/conditionProcessValue.ts"),o=n(/*! ./conditionsParser */"./src/conditionsParser.ts"),i=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){if("function"!==typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),s=function(){function e(e){this.processValue=new r["ProcessValue"],this.parser=new o["ConditionsParser"],this.isAsyncValue=!1,this.hasFunctionValue=!1,this.expression=e}return Object.defineProperty(e.prototype,"expression",{get:function(){return this.expressionValue},set:function(e){this.expression!==e&&(this.expressionValue=e,this.operand=this.parser.parseExpression(e),this.hasFunctionValue=!!this.canRun()&&this.operand.hasFunction(),this.isAsyncValue=!!this.hasFunction()&&this.operand.hasAsyncFunction())},enumerable:!1,configurable:!0}),e.prototype.getVariables=function(){if(!this.operand)return[];var e=[];return this.operand.setVariables(e),e},e.prototype.hasFunction=function(){return this.hasFunctionValue},Object.defineProperty(e.prototype,"isAsync",{get:function(){return this.isAsyncValue},enumerable:!1,configurable:!0}),e.prototype.canRun=function(){return!!this.operand},e.prototype.runCore=function(e,t){var n=this;if(void 0===t&&(t=null),!this.operand)return null;if(this.processValue.values=e,this.processValue.properties=t,!this.isAsync)return this.runValues();this.asyncFuncList=[],this.operand.addToAsyncList(this.asyncFuncList);for(var r=0;r/g,">=").replace(/=/g,"!=").replace(/==/g,"= ").replace(/equals/g,"equal ").replace(/notequals/g,"notequal ")},e.prototype.createCondition=function(e){return this.parseExpression(e)},e.prototype.parseExpression=function(t){try{var n=e.parserCache[t];return void 0===n&&(n=Object(r["parse"])(this.patchExpression(t)),n.hasAsyncFunction()||(e.parserCache[t]=n)),n}catch(i){i instanceof r["SyntaxError"]&&(this.conditionError=new o(i.location.start.offset,i.message))}},Object.defineProperty(e.prototype,"error",{get:function(){return this.conditionError},enumerable:!1,configurable:!0}),e.parserCache={},e}()},"./src/defaultCss/cssbootstrap.ts": /*!****************************************!*\ !*** ./src/defaultCss/cssbootstrap.ts ***! \****************************************/ /*! exports provided: defaultBootstrapCss */function(e,t,n){"use strict";n.r(t),n.d(t,"defaultBootstrapCss",(function(){return o}));var r=n(/*! ./cssstandard */"./src/defaultCss/cssstandard.ts"),o={root:"sv_main sv_bootstrap_css",container:"sv_container",header:"panel-heading card-header",body:"panel-body card-block mt-4",bodyEmpty:"panel-body card-block mt-4 sv_body_empty",footer:"panel-footer card-footer",title:"",description:"",logo:"sv_logo",logoImage:"sv_logo__image",headerText:"sv_header__text",navigationButton:"",completedPage:"",navigation:{complete:"btn sv_complete_btn",prev:"btn sv_prev_btn",next:"btn sv_next_btn",start:"btn sv_start_btn",preview:"btn sv_preview_btn",edit:"btn sv_edit_btn"},progress:"progress center-block mx-auto mb-4",progressBar:"progress-bar",progressTextUnderBar:"sv-hidden",progressButtonsContainerCenter:"sv_progress-buttons__container-center",progressButtonsContainer:"sv_progress-buttons__container",progressButtonsImageButtonLeft:"sv_progress-buttons__image-button-left",progressButtonsImageButtonRight:"sv_progress-buttons__image-button-right",progressButtonsImageButtonHidden:"sv_progress-buttons__image-button--hidden",progressButtonsListContainer:"sv_progress-buttons__list-container",progressButtonsList:"sv_progress-buttons__list",progressButtonsListElementPassed:"sv_progress-buttons__list-element--passed",progressButtonsListElementCurrent:"sv_progress-buttons__list-element--current",progressButtonsListElementNonClickable:"sv_progress-buttons__list-element--nonclickable",progressButtonsPageTitle:"sv_progress-buttons__page-title",progressButtonsPageDescription:"sv_progress-buttons__page-description",page:{root:"",title:"",description:"small"},pageTitle:"",pageDescription:"small",row:"sv_row",question:{mainRoot:"sv_qstn",flowRoot:"sv_q_flow sv_qstn",header:"",headerLeft:"title-left",content:"",contentLeft:"content-left",titleLeftRoot:"sv_qstn_left",title:"",titleExpandable:"sv_q_title_expandable",number:"sv_q_num",description:"small",descriptionUnderInput:"small",requiredText:"sv_q_required_text",comment:"form-control",required:"",titleRequired:"",hasError:"has-error",indent:20,formGroup:"form-group"},panel:{title:"sv_p_title",titleExpandable:"sv_p_title_expandable",titleOnError:"",icon:"sv_panel_icon",iconExpanded:"sv_expanded",description:"small sv_p_description",container:"sv_p_container",footer:"sv_p_footer",number:"sv_q_num",requiredText:"sv_q_required_text"},error:{root:"alert alert-danger",icon:"glyphicon glyphicon-exclamation-sign",item:"",locationTop:"sv_qstn_error_top",locationBottom:"sv_qstn_error_bottom"},boolean:{root:"sv_qbln form-inline checkbox",item:"sv-boolean",control:"sv-visuallyhidden",itemChecked:"sv-boolean--checked checked",itemIndeterminate:"sv-boolean--indeterminate",itemDisabled:"sv-boolean--disabled",switch:"sv-boolean__switch",slider:"sv-boolean__slider",label:"sv-boolean__label ",disabledLabel:"sv-boolean__label--disabled",materialDecorator:"sv-item__decorator sv-boolean__decorator ",itemDecorator:"sv-item__svg sv-boolean__svg",checkedPath:"sv-boolean__checked-path",uncheckedPath:"sv-boolean__unchecked-path",indeterminatePath:"sv-boolean__indeterminate-path"},checkbox:{root:"sv_qcbc sv_qcbx form-inline",item:"checkbox",itemChecked:"checked",itemSelectAll:"sv_q_checkbox_selectall",itemNone:"sv_q_checkbox_none",itemInline:"sv_q_checkbox_inline",itemControl:"",itemDecorator:"sv-hidden",label:"",labelChecked:"",controlLabel:"",materialDecorator:"checkbox-material",other:"sv_q_checkbox_other form-control",column:"sv_q_select_column"},ranking:{root:"sv-ranking",rootMobileMod:"sv-ranking--mobile",rootDragMod:"sv-ranking--drag",item:"sv-ranking-item",itemContent:"sv-ranking-item__content",itemIndex:"sv-ranking-item__index",controlLabel:"sv-ranking-item__text",itemGhostNode:"sv-ranking-item__ghost",itemIconContainer:"sv-ranking-item__icon-container",itemIcon:"sv-ranking-item__icon",itemIconHoverMod:"sv-ranking-item__icon--hover",itemIconFocusMod:"sv-ranking-item__icon--focus",itemGhostMod:"sv-ranking-item--ghost",itemDragMod:"sv-ranking-item--drag"},comment:"form-control",dropdown:{root:"",control:"form-control",other:"sv_q_dd_other form-control"},html:{root:""},image:{root:"sv_q_image",image:"sv_image_image"},matrix:{root:"table sv_q_matrix",label:"sv_q_m_label",itemChecked:"checked",itemDecorator:"sv-hidden",cellText:"sv_q_m_cell_text",cellTextSelected:"sv_q_m_cell_selected bg-primary",cellLabel:"sv_q_m_cell_label"},matrixdropdown:{root:"table",cell:"sv_matrix_cell",headerCell:"sv_matrix_cell_header",row:"sv_matrix_row",detailRow:"sv_matrix_detail_row",detailRowText:"sv_matrix_cell_detail_rowtext",detailCell:"sv_matrix_cell_detail",detailButton:"sv_matrix_cell_detail_button",detailButtonExpanded:"sv_matrix_cell_detail_button_expanded",detailIcon:"sv_detail_panel_icon",detailIconExpanded:"sv_detail_expanded",detailPanelCell:"sv_matrix_cell_detail_panel",actionsCell:"sv_matrix_cell sv_matrix_cell_actions"},matrixdynamic:{root:"table",button:"button",buttonAdd:"",buttonRemove:"",iconAdd:"",iconRemove:"",headerCell:"sv_matrix_cell_header",row:"sv_matrix_row",detailRow:"sv_matrix_detail_row",detailCell:"sv_matrix_cell_detail",detailButton:"sv_matrix_cell_detail_button",detailButtonExpanded:"sv_matrix_cell_detail_button_expanded",detailIcon:"sv_detail_panel_icon",detailIconExpanded:"sv_detail_expanded",detailPanelCell:"sv_matrix_cell_detail_panel",actionsCell:"sv_matrix_cell sv_matrix_cell_actions",emptyRowsSection:"sv_matrix_empty_rows_section",emptyRowsText:"sv_matrix_empty_rows_text",emptyRowsButton:""},paneldynamic:{root:"",navigation:"sv-paneldynamic__navigation",progressTop:"sv-paneldynamic__progress sv-paneldynamic__progress--top",progressBottom:"sv-paneldynamic__progress sv-paneldynamic__progress--bottom",title:"sv-title sv-question__title",button:"button",buttonAdd:"button sv-paneldynamic__add-btn",buttonRemove:"sv_p_remove_btn",buttonRemoveRight:"button sv-paneldynamic__remove-btn--right",buttonPrev:"sv-paneldynamic__prev-btn",buttonNext:"sv-paneldynamic__next-btn",progressContainer:"sv-paneldynamic__progress-container",progress:"sv-progress",progressBar:"sv-progress__bar",progressText:"sv-paneldynamic__progress-text",panelWrapper:"sv_p_wrapper",panelWrapperInRow:"sv_p_wrapper_in_row"},multipletext:{root:"table",itemTitle:"",itemValue:"sv_q_mt_item_value form-control"},radiogroup:{root:"sv_qcbc form-inline",item:"radio",itemChecked:"checked",itemInline:"sv_q_radiogroup_inline",label:"",labelChecked:"",itemControl:"",itemDecorator:"sv-hidden",controlLabel:"",materialDecorator:"circle",other:"sv_q_radiogroup_other form-control",clearButton:"sv_q_radiogroup_clear button",column:"sv_q_select_column"},buttongroup:{root:"sv-button-group",item:"sv-button-group__item",itemIcon:"sv-button-group__item-icon",itemDecorator:"sv-button-group__item-decorator",itemCaption:"sv-button-group__item-caption",itemSelected:"sv-button-group__item--selected",itemDisabled:"sv-button-group__item--disabled",itemControl:"sv-visuallyhidden"},imagepicker:{root:"sv_imgsel",item:"sv_q_imgsel",itemChecked:"checked",itemInline:"sv_q_imagepicker_inline",label:"sv_q_imgsel_label",itemControl:"sv_q_imgsel_control_item",image:"sv_q_imgsel_image",itemText:"sv_q_imgsel_text",clearButton:"sv_q_radiogroup_clear"},rating:{root:"btn-group",item:"btn btn-default btn-secondary",selected:"active",minText:"sv_q_rating_min_text",itemText:"sv_q_rating_item_text",maxText:"sv_q_rating_max_text",disabled:""},text:"form-control",expression:"form-control",file:{root:"sv_q_file",placeholderInput:"sv_q_file_placeholder",preview:"sv_q_file_preview",removeButton:"sv_q_file_remove_button",fileInput:"sv_q_file_input",removeFile:"sv_q_file_remove",removeFileSvg:"sv-hidden",fileDecorator:"sv-hidden",fileSignBottom:"sv-hidden",removeButtonBottom:"sv-hidden"},signaturepad:{root:"sv_q_signaturepad sjs_sp_container",controls:"sjs_sp_controls",clearButton:"sjs_sp_clear"},saveData:{root:"",saving:"alert alert-info",error:"alert alert-danger",success:"alert alert-success",saveAgainButton:""},window:{root:"modal-content",body:"modal-body",header:{root:"modal-header panel-title",title:"pull-left",button:"glyphicon pull-right",buttonExpanded:"glyphicon pull-right glyphicon-chevron-up",buttonCollapsed:"glyphicon pull-right glyphicon-chevron-down"}}};r["surveyCss"]["bootstrap"]=o},"./src/defaultCss/cssbootstrapmaterial.ts": /*!************************************************!*\ !*** ./src/defaultCss/cssbootstrapmaterial.ts ***! \************************************************/ /*! exports provided: defaultBootstrapMaterialCss */function(e,t,n){"use strict";n.r(t),n.d(t,"defaultBootstrapMaterialCss",(function(){return o}));var r=n(/*! ./cssstandard */"./src/defaultCss/cssstandard.ts"),o={root:"sv_main sv_bootstrapmaterial_css",container:"sv_container",header:"card-heading",body:"card-body",bodyEmpty:"card-body sv_body_empty",footer:"card-footer",title:"",description:"",logo:"sv_logo",logoImage:"sv_logo__image",headerText:"sv_header__text",navigationButton:"",completedPage:"",navigation:{complete:"btn sv_complete_btn btn-primary",prev:"btn sv_prev_btn btn-primary",next:"btn sv_next_btn btn-primary",start:"btn sv_start_btn btn-primary",preview:"btn sv_preview_btn btn-primary",edit:"btn sv_edit_btn btn-primary"},progress:"progress center-block mx-auto mb-4",progressBar:"progress-bar",progressTextUnderBar:"sv-hidden",progressButtonsContainerCenter:"sv_progress-buttons__container-center",progressButtonsContainer:"sv_progress-buttons__container",progressButtonsImageButtonLeft:"sv_progress-buttons__image-button-left",progressButtonsImageButtonRight:"sv_progress-buttons__image-button-right",progressButtonsImageButtonHidden:"sv_progress-buttons__image-button--hidden",progressButtonsListContainer:"sv_progress-buttons__list-container",progressButtonsList:"sv_progress-buttons__list",progressButtonsListElementPassed:"sv_progress-buttons__list-element--passed",progressButtonsListElementCurrent:"sv_progress-buttons__list-element--current",progressButtonsListElementNonClickable:"sv_progress-buttons__list-element--nonclickable",progressButtonsPageTitle:"sv_progress-buttons__page-title",progressButtonsPageDescription:"sv_progress-buttons__page-description",page:{root:"",title:"",description:"small"},pageTitle:"",pageDescription:"small",row:"sv_row",question:{mainRoot:"sv_qstn form-group bmd-form-group",flowRoot:"sv_q_flow form-group bmd-form-group",header:"",headerLeft:"title-left",content:"",contentLeft:"content-left",titleLeftRoot:"sv_qstn_left",requiredText:"sv_q_required_text",title:"",titleExpandable:"sv_q_title_expandable",number:"sv_q_num",description:"small",descriptionUnderInput:"small",comment:"form-control",required:"",titleRequired:"",hasError:"has-error",indent:20,formGroup:"form-group bmd-form-group"},panel:{title:"sv_p_title",titleExpandable:"sv_p_title_expandable",titleOnError:"",icon:"sv_panel_icon",iconExpanded:"sv_expanded",description:"small sv_p_description",container:"sv_p_container",footer:"sv_p_footer",number:"sv_q_num",requiredText:"sv_q_required_text"},error:{root:"alert alert-danger",icon:"glyphicon glyphicon-exclamation-sign",item:"",locationTop:"sv_qstn_error_top",locationBottom:"sv_qstn_error_bottom"},boolean:{root:"sv_qbln checkbox",item:"sv-boolean",control:"sv-visuallyhidden",itemChecked:"sv-boolean--checked checked",itemIndeterminate:"sv-boolean--indeterminate",itemDisabled:"sv-boolean--disabled",switch:"sv-boolean__switch",slider:"sv-boolean__slider",label:"sv-boolean__label ",disabledLabel:"sv-boolean__label--disabled",materialDecorator:"sv-item__decorator sv-boolean__decorator ",itemDecorator:"sv-item__svg sv-boolean__svg",checkedPath:"sv-boolean__checked-path",uncheckedPath:"sv-boolean__unchecked-path",indeterminatePath:"sv-boolean__indeterminate-path"},checkbox:{root:"sv_qcbx",item:"checkbox",itemChecked:"checked",itemSelectAll:"sv_q_checkbox_selectall",itemNone:"sv_q_checkbox_none",itemInline:"sv_q_checkbox_inline",itemDecorator:"sv-hidden",itemControl:"",label:"",labelChecked:"",controlLabel:"",materialDecorator:"checkbox-decorator",other:"sv_q_checkbox_other form-control",column:"sv_q_select_column"},ranking:{root:"sv-ranking",rootMobileMod:"sv-ranking--mobile",rootDragMod:"sv-ranking--drag",item:"sv-ranking-item",itemContent:"sv-ranking-item__content",itemIndex:"sv-ranking-item__index",controlLabel:"sv-ranking-item__text",itemGhostNode:"sv-ranking-item__ghost",itemIconContainer:"sv-ranking-item__icon-container",itemIcon:"sv-ranking-item__icon",itemIconHoverMod:"sv-ranking-item__icon--hover",itemIconFocusMod:"sv-ranking-item__icon--focus",itemGhostMod:"sv-ranking-item--ghost",itemDragMod:"sv-ranking-item--drag"},comment:"form-control",dropdown:{root:"",control:"form-control",other:"sv_q_dd_other form-control"},html:{root:""},image:{root:"sv_q_image",image:"sv_image_image"},matrix:{root:"table sv_q_matrix",row:"form-group bmd-form-group",label:"sv_q_m_label radio-inline",cellText:"sv_q_m_cell_text",cellTextSelected:"sv_q_m_cell_selected bg-primary",cellLabel:"sv_q_m_cell_label",itemValue:"form-control",itemChecked:"checked",itemDecorator:"sv-hidden",materialDecorator:"bmd-radio"},matrixdropdown:{root:"table",itemValue:"form-group bmd-form-group",headerCell:"sv_matrix_cell_header",row:"sv_matrix_row",detailRow:"sv_matrix_detail_row",detailRowText:"sv_matrix_cell_detail_rowtext",detailCell:"sv_matrix_cell_detail",detailButton:"sv_matrix_cell_detail_button",detailButtonExpanded:"sv_matrix_cell_detail_button_expanded",detailIcon:"sv_detail_panel_icon",detailIconExpanded:"sv_detail_expanded",detailPanelCell:"sv_matrix_cell_detail_panel",actionsCell:"sv_matrix_cell sv_matrix_cell_actions"},matrixdynamic:{mainRoot:"sv_qstn",flowRoot:"sv_q_flow",root:"table",button:"btn btn-primary",itemValue:"form-group bmd-form-group",buttonAdd:"",buttonRemove:"",iconAdd:"",iconRemove:"",headerCell:"sv_matrix_cell_header",row:"sv_matrix_row",detailRow:"sv_matrix_detail_row",detailCell:"sv_matrix_cell_detail",detailButton:"sv_matrix_cell_detail_button",detailButtonExpanded:"sv_matrix_cell_detail_button_expanded",detailIcon:"sv_detail_panel_icon",detailIconExpanded:"sv_detail_expanded",detailPanelCell:"sv_matrix_cell_detail_panel",actionsCell:"sv_matrix_cell sv_matrix_cell_actions",emptyRowsSection:"sv_matrix_empty_rows_section",emptyRowsText:"sv_matrix_empty_rows_text",emptyRowsButton:""},paneldynamic:{root:"",navigation:"sv-paneldynamic__navigation",progressTop:"sv-paneldynamic__progress sv-paneldynamic__progress--top",progressBottom:"sv-paneldynamic__progress sv-paneldynamic__progress--bottom",title:"sv-title sv-question__title",button:"button",buttonAdd:"button sv-paneldynamic__add-btn btn btn-primary",buttonRemove:"button sv-paneldynamic__remove-btn btn btn-primary",buttonRemoveRight:"sv-paneldynamic__remove-btn--right",buttonPrev:"sv-paneldynamic__prev-btn",buttonNext:"sv-paneldynamic__next-btn",progressContainer:"sv-paneldynamic__progress-container",progress:"sv-progress",progressBar:"sv-progress__bar",progressText:"sv-paneldynamic__progress-text",panelWrapper:"sv_p_wrapper",panelWrapperInRow:"sv_p_wrapper_in_row"},multipletext:{root:"table",itemTitle:"",row:"form-group bmd-form-group",itemValue:"sv_q_mt_item_value form-control"},radiogroup:{root:"",item:"radio",itemChecked:"checked",itemInline:"sv_q_radiogroup_inline",itemDecorator:"sv-hidden",label:"",labelChecked:"",itemControl:"",controlLabel:"sv_q_radiogroup_control_label",materialDecorator:"bmd-radio",other:"sv_q_radiogroup_other form-control",clearButton:"sv_q_radiogroup_clear button btn btn-primary",column:"sv_q_select_column"},buttongroup:{root:"sv-button-group",item:"sv-button-group__item",itemIcon:"sv-button-group__item-icon",itemDecorator:"sv-button-group__item-decorator",itemCaption:"sv-button-group__item-caption",itemSelected:"sv-button-group__item--selected",itemDisabled:"sv-button-group__item--disabled",itemControl:"sv-visuallyhidden"},imagepicker:{root:"sv_imgsel",item:"sv_q_imgsel",itemChecked:"checked",itemInline:"sv_q_imagepicker_inline",label:"sv_q_imgsel_label",itemControl:"sv_q_imgsel_control_item",image:"sv_q_imgsel_image",itemText:"sv_q_imgsel_text",clearButton:"sv_q_radiogroup_clear"},rating:{root:"btn-group",item:"btn btn-default btn-secondary",selected:"active",minText:"sv_q_rating_min_text",itemText:"sv_q_rating_item_text",maxText:"sv_q_rating_max_text",disabled:""},text:"form-control",expression:"form-control",file:{root:"form-group bmd-form-group is-fileinput sv_q_file",placeholderInput:"",preview:"sv_q_file_preview",removeButton:"sv_q_file_remove_button",fileInput:"sv_q_file_input",removeFile:"sv_q_file_remove",removeFileSvg:"sv-hidden",fileDecorator:"sv-hidden",fileSignBottom:"sv-hidden",removeButtonBottom:"sv-hidden"},signaturepad:{root:"sv_q_signaturepad sjs_sp_container",controls:"sjs_sp_controls",clearButton:"sjs_sp_clear"},saveData:{root:"",saving:"alert alert-info",error:"alert alert-danger",success:"alert alert-success",saveAgainButton:""},window:{root:"modal-content",body:"modal-body",header:{root:"modal-header card-title",title:"pull-left",button:"glyphicon pull-right",buttonExpanded:"glyphicon pull-right glyphicon-chevron-up",buttonCollapsed:"glyphicon pull-right glyphicon-chevron-down"}}};r["surveyCss"]["bootstrapmaterial"]=o},"./src/defaultCss/cssmodern.ts": /*!*************************************!*\ !*** ./src/defaultCss/cssmodern.ts ***! \*************************************/ /*! exports provided: modernCss */function(e,t,n){"use strict";n.r(t),n.d(t,"modernCss",(function(){return o}));var r=n(/*! ./cssstandard */"./src/defaultCss/cssstandard.ts"),o={root:"sv-root-modern",container:"sv-container-modern",header:"sv-title sv-container-modern__title",body:"sv-body",bodyEmpty:"sv-body sv-body--empty",footer:"sv-footer sv-body__footer sv-clearfix",title:"",description:"",logo:"sv-logo",logoImage:"sv-logo__image",headerText:"sv-header__text",navigationButton:"",completedPage:"sv-completedpage",navigation:{complete:"sv-btn sv-footer__complete-btn",prev:"sv-btn sv-footer__prev-btn",next:"sv-btn sv-footer__next-btn",start:"sv-btn sv-footer__start-btn",preview:"sv-btn sv-footer__preview-btn",edit:"sv-btn sv-footer__edit-btn"},panel:{title:"sv-title sv-panel__title",titleExpandable:"sv-panel__title--expandable",titleOnError:"sv-panel__title--error",description:"sv-description sv-panel__description",container:"sv-panel sv-row__panel",content:"sv-panel__content",icon:"sv-panel__icon",iconExpanded:"sv-panel__icon--expanded",footer:"sv-panel__footer",requiredText:"sv-panel__required-text",number:"sv-question__num"},paneldynamic:{root:"sv-paneldynamic",navigation:"sv-paneldynamic__navigation",title:"sv-title sv-question__title",button:"sv-btn",buttonRemove:"sv-paneldynamic__remove-btn",buttonRemoveRight:"sv-paneldynamic__remove-btn--right",buttonAdd:"sv-paneldynamic__add-btn",progressTop:"sv-paneldynamic__progress sv-paneldynamic__progress--top",progressBottom:"sv-paneldynamic__progress sv-paneldynamic__progress--bottom",buttonPrev:"sv-paneldynamic__prev-btn",buttonNext:"sv-paneldynamic__next-btn",progressContainer:"sv-paneldynamic__progress-container",progress:"sv-progress",progressBar:"sv-progress__bar",progressText:"sv-paneldynamic__progress-text",separator:"sv-paneldynamic__separator",panelWrapper:"sv-paneldynamic__panel-wrapper",panelWrapperInRow:"sv-paneldynamic__panel-wrapper--in-row"},progress:"sv-progress sv-body__progress",progressBar:"sv-progress__bar",progressText:"sv-progress__text",progressTextInBar:"sv-hidden",progressButtonsContainerCenter:"sv_progress-buttons__container-center",progressButtonsContainer:"sv_progress-buttons__container",progressButtonsImageButtonLeft:"sv_progress-buttons__image-button-left",progressButtonsImageButtonRight:"sv_progress-buttons__image-button-right",progressButtonsImageButtonHidden:"sv_progress-buttons__image-button--hidden",progressButtonsListContainer:"sv_progress-buttons__list-container",progressButtonsList:"sv_progress-buttons__list",progressButtonsListElementPassed:"sv_progress-buttons__list-element--passed",progressButtonsListElementCurrent:"sv_progress-buttons__list-element--current",progressButtonsListElementNonClickable:"sv_progress-buttons__list-element--nonclickable",progressButtonsPageTitle:"sv_progress-buttons__page-title",progressButtonsPageDescription:"sv_progress-buttons__page-description",page:{root:"sv-page sv-body__page",title:"sv-title sv-page__title",description:"sv-description sv-page__description"},pageTitle:"sv-title sv-page__title",pageDescription:"sv-description sv-page__description",row:"sv-row sv-clearfix",question:{mainRoot:"sv-question sv-row__question",flowRoot:"sv-question sv-row__question sv-row__question--flow",asCell:"sv-table__cell",header:"sv-question__header",headerLeft:"sv-question__header--location--left",headerTop:"sv-question__header--location--top",headerBottom:"sv-question__header--location--bottom",content:"sv-question__content",contentLeft:"sv-question__content--left",titleLeftRoot:"",titleOnAnswer:"sv-question__title--answer",titleOnError:"sv-question__title--error",title:"sv-title sv-question__title",titleExpandable:"sv-question__title--expandable",icon:"sv-question__icon",iconExpanded:"sv-question__icon--expanded",requiredText:"sv-question__required-text",number:"sv-question__num",description:"sv-description sv-question__description",descriptionUnderInput:"sv-description sv-question__description",comment:"sv-comment",required:"sv-question--required",titleRequired:"sv-question__title--required",indent:20,footer:"sv-question__footer",formGroup:"sv-question__form-group",hasError:"",disabled:"sv-question--disabled"},image:{root:"sv-image",image:"sv_image_image"},error:{root:"sv-question__erbox",icon:"",item:"",locationTop:"sv-question__erbox--location--top",locationBottom:"sv-question__erbox--location--bottom"},checkbox:{root:"sv-selectbase",item:"sv-item sv-checkbox sv-selectbase__item",itemSelectAll:"sv-checkbox--selectall",itemNone:"sv-checkbox--none",itemDisabled:"sv-item--disabled sv-checkbox--disabled",itemChecked:"sv-checkbox--checked",itemHover:"sv-checkbox--allowhover",itemInline:"sv-selectbase__item--inline",label:"sv-selectbase__label",labelChecked:"",itemControl:"sv-visuallyhidden sv-item__control",itemDecorator:"sv-item__svg sv-checkbox__svg",controlLabel:"sv-item__control-label",materialDecorator:"sv-item__decorator sv-checkbox__decorator",other:"sv-comment sv-question__other",column:"sv-selectbase__column"},ranking:{root:"sv-ranking",rootMobileMod:"sv-ranking--mobile",rootDragMod:"sv-ranking--drag",item:"sv-ranking-item",itemContent:"sv-ranking-item__content",itemIndex:"sv-ranking-item__index",controlLabel:"sv-ranking-item__text",itemGhostNode:"sv-ranking-item__ghost",itemIconContainer:"sv-ranking-item__icon-container",itemIcon:"sv-ranking-item__icon",itemIconHoverMod:"sv-ranking-item__icon--hover",itemIconFocusMod:"sv-ranking-item__icon--focus",itemGhostMod:"sv-ranking-item--ghost",itemDragMod:"sv-ranking-item--drag"},radiogroup:{root:"sv-selectbase",item:"sv-item sv-radio sv-selectbase__item",itemInline:"sv-selectbase__item--inline",label:"sv-selectbase__label",labelChecked:"",itemDisabled:"sv-item--disabled sv-radio--disabled",itemChecked:"sv-radio--checked",itemHover:"sv-radio--allowhover",itemControl:"sv-visuallyhidden sv-item__control",itemDecorator:"sv-item__svg sv-radio__svg",controlLabel:"sv-item__control-label",materialDecorator:"sv-item__decorator sv-radio__decorator",other:"sv-comment sv-question__other",clearButton:"sv-btn sv-selectbase__clear-btn",column:"sv-selectbase__column"},buttongroup:{root:"sv-button-group",item:"sv-button-group__item",itemIcon:"sv-button-group__item-icon",itemDecorator:"sv-button-group__item-decorator",itemCaption:"sv-button-group__item-caption",itemSelected:"sv-button-group__item--selected",itemDisabled:"sv-button-group__item--disabled",itemControl:"sv-visuallyhidden"},boolean:{root:"sv_qbln",small:"sv-row__question--small",item:"sv-boolean sv-item",control:"sv-visuallyhidden",itemChecked:"sv-boolean--checked",itemIndeterminate:"sv-boolean--indeterminate",itemDisabled:"sv-item--disabled sv-boolean--disabled",switch:"sv-boolean__switch",slider:"sv-boolean__slider",label:"sv-boolean__label ",disabledLabel:"sv-boolean__label--disabled",materialDecorator:"sv-item__decorator sv-boolean__decorator ",itemDecorator:"sv-item__svg sv-boolean__svg",checkedPath:"sv-boolean__checked-path",uncheckedPath:"sv-boolean__unchecked-path",indeterminatePath:"sv-boolean__indeterminate-path"},text:{root:"sv-text",small:"sv-row__question--small",onError:"sv-text--error"},multipletext:{root:"sv-multipletext",item:"sv-multipletext__item",itemTitle:"sv-multipletext__item-title",row:"sv-multipletext__row",cell:"sv-multipletext__cell"},dropdown:{root:"",small:"sv-row__question--small",control:"sv-dropdown",selectWrapper:"",other:"sv-comment sv-question__other",onError:"sv-dropdown--error"},imagepicker:{root:"sv-imagepicker",item:"sv-imagepicker__item",itemInline:"sv-imagepicker__item--inline",itemChecked:"sv-imagepicker__item--checked",itemDisabled:"sv-imagepicker__item--disabled",itemHover:"sv-imagepicker__item--allowhover",label:"sv-imagepicker__label",itemControl:"sv-imagepicker__control",image:"sv-imagepicker__image",itemText:"sv-imagepicker__text",clearButton:"sv-btn",other:"sv-comment sv-question__other"},matrix:{tableWrapper:"sv-matrix",root:"sv-table sv-matrix-root",rowError:"sv-matrix__row--error",cell:"sv-table__cell sv-matrix__cell",headerCell:"sv-table__cell sv-table__cell--header",label:"sv-item sv-radio sv-matrix__label",itemValue:"sv-visuallyhidden sv-item__control sv-radio__control",itemChecked:"sv-radio--checked",itemDisabled:"sv-item--disabled sv-radio--disabled",itemHover:"sv-radio--allowhover",materialDecorator:"sv-item__decorator sv-radio__decorator",itemDecorator:"sv-item__svg sv-radio__svg",cellText:"sv-matrix__text",cellTextSelected:"sv-matrix__text--checked",cellTextDisabled:"sv-matrix__text--disabled"},matrixdropdown:{root:"sv-table sv-matrixdropdown",cell:"sv-table__cell",headerCell:"sv-table__cell sv-table__cell--header",row:"sv-table__row",detailRow:"sv-table__row sv-table__row--detail",detailRowText:"sv-table__cell--detail-rowtext",detailCell:"sv-table__cell--detail",choiceCell:"sv-table__cell--choice",detailButton:"sv-table__cell--detail-button",detailButtonExpanded:"sv-table__cell--detail-button--expanded",detailIcon:"sv-detail-panel__icon",detailIconExpanded:"sv-detail-panel__icon--expanded",detailPanelCell:"sv-table__cell--detail-panel",actionsCell:"sv-table__cell sv-table__cell--actions"},matrixdynamic:{root:"sv-table sv-matrixdynamic",cell:"sv-table__cell",headerCell:"sv-table__cell sv-table__cell--header",button:"sv-btn",buttonAdd:"sv-matrixdynamic__add-btn",buttonRemove:"sv-matrixdynamic__remove-btn",iconAdd:"",iconRemove:"",row:"sv-table__row",detailRow:"sv-table__row sv-table__row--detail",detailCell:"sv-table__cell--detail",choiceCell:"sv-table__cell--choice",detailButton:"sv-table__cell--detail-button",detailButtonExpanded:"sv-table__cell--detail-button--expanded",detailIcon:"sv-detail-panel__icon",detailIconExpanded:"sv-detail-panel__icon--expanded",detailPanelCell:"sv-table__cell--detail-panel",actionsCell:"sv-table__cell sv-table__cell--actions",emptyRowsSection:"sv-table__empty--rows--section",emptyRowsText:"sv-table__empty--rows--text",emptyRowsButton:""},rating:{root:"sv-rating",item:"sv-rating__item",selected:"sv-rating__item--selected",minText:"sv-rating__min-text",itemText:"sv-rating__item-text",maxText:"sv-rating__max-text",itemDisabled:"sv-rating--disabled"},comment:{root:"sv-comment",small:"sv-row__question--small"},expression:"",file:{root:"sv-file",other:"sv-comment sv-question__other",placeholderInput:"sv-visuallyhidden",preview:"sv-file__preview",fileSign:"sv-hidden",fileSignBottom:"sv-file__sign",fileDecorator:"sv-file__decorator",fileInput:"sv-visuallyhidden",noFileChosen:"sv-description sv-file__no-file-chosen",chooseFile:"sv-btn sv-file__choose-btn",controlDisabled:"sv-file__choose-btn--disabled",removeButton:"sv-hidden",removeButtonBottom:"sv-btn sv-file__clean-btn",removeFile:"sv-hidden",removeFileSvg:"sv-file__remove-svg",wrapper:"sv-file__wrapper"},signaturepad:{root:"sv-signaturepad sjs_sp_container",small:"sv-row__question--small",controls:"sjs_sp_controls",clearButton:"sjs_sp_clear"},saveData:{root:"",saving:"",error:"",success:"",saveAgainButton:""},window:{root:"sv_window",body:"sv_window_content",header:{root:"sv_window_title",title:"",button:"",buttonExpanded:"",buttonCollapsed:""}}};r["surveyCss"]["modern"]=o},"./src/defaultCss/cssstandard.ts": /*!***************************************!*\ !*** ./src/defaultCss/cssstandard.ts ***! \***************************************/ /*! exports provided: surveyCss, defaultStandardCss */function(e,t,n){"use strict";n.r(t),n.d(t,"surveyCss",(function(){return r})),n.d(t,"defaultStandardCss",(function(){return o}));var r={currentType:"",getCss:function(){var e=this.currentType?this[this.currentType]:o;return e||(e=o),e}},o={root:"sv_main sv_default_css",container:"sv_container",header:"sv_header",body:"sv_body",bodyEmpty:"sv_body sv_body_empty",footer:"sv_nav",title:"",description:"",logo:"sv_logo",logoImage:"sv_logo__image",headerText:"sv_header__text",navigationButton:"",completedPage:"sv_completed_page",navigation:{complete:"sv_complete_btn",prev:"sv_prev_btn",next:"sv_next_btn",start:"sv_start_btn",preview:"sv_preview_btn",edit:"sv_edit_btn"},progress:"sv_progress",progressBar:"sv_progress_bar",progressTextInBar:"sv-hidden",progressButtonsContainerCenter:"sv_progress-buttons__container-center",progressButtonsContainer:"sv_progress-buttons__container",progressButtonsImageButtonLeft:"sv_progress-buttons__image-button-left",progressButtonsImageButtonRight:"sv_progress-buttons__image-button-right",progressButtonsImageButtonHidden:"sv_progress-buttons__image-button--hidden",progressButtonsListContainer:"sv_progress-buttons__list-container",progressButtonsList:"sv_progress-buttons__list",progressButtonsListElementPassed:"sv_progress-buttons__list-element--passed",progressButtonsListElementCurrent:"sv_progress-buttons__list-element--current",progressButtonsListElementNonClickable:"sv_progress-buttons__list-element--nonclickable",progressButtonsPageTitle:"sv_progress-buttons__page-title",progressButtonsPageDescription:"sv_progress-buttons__page-description",page:{root:"sv_p_root",title:"sv_page_title",description:""},pageTitle:"sv_page_title",pageDescription:"",row:"sv_row",question:{mainRoot:"sv_q sv_qstn",flowRoot:"sv_q_flow sv_qstn",header:"",headerLeft:"title-left",content:"",contentLeft:"content-left",titleLeftRoot:"sv_qstn_left",requiredText:"sv_q_required_text",title:"sv_q_title",titleExpandable:"sv_q_title_expandable",number:"sv_q_num",description:"sv_q_description",comment:"",required:"",titleRequired:"",hasError:"",indent:20,footer:"sv_q_footer",formGroup:"form-group",asCell:"sv_matrix_cell",icon:"sv_question_icon",iconExpanded:"sv_expanded"},panel:{title:"sv_p_title",titleExpandable:"sv_p_title_expandable",titleOnError:"",icon:"sv_panel_icon",iconExpanded:"sv_expanded",description:"sv_p_description",container:"sv_p_container",footer:"sv_p_footer",number:"sv_q_num",requiredText:"sv_q_required_text"},error:{root:"sv_q_erbox",icon:"",item:"",locationTop:"sv_qstn_error_top",locationBottom:"sv_qstn_error_bottom"},boolean:{root:"sv_qcbc sv_qbln",item:"sv-boolean",control:"sv-visuallyhidden",itemChecked:"sv-boolean--checked checked",itemIndeterminate:"sv-boolean--indeterminate",itemDisabled:"sv-boolean--disabled",switch:"sv-boolean__switch",slider:"sv-boolean__slider",label:"sv-boolean__label ",disabledLabel:"sv-boolean__label--disabled",materialDecorator:"sv-item__decorator sv-boolean__decorator ",itemDecorator:"sv-item__svg sv-boolean__svg",checkedPath:"sv-boolean__checked-path",uncheckedPath:"sv-boolean__unchecked-path",indeterminatePath:"sv-boolean__indeterminate-path"},checkbox:{root:"sv_qcbc sv_qcbx",item:"sv_q_checkbox",itemSelectAll:"sv_q_checkbox_selectall",itemNone:"sv_q_checkbox_none",itemChecked:"checked",itemInline:"sv_q_checkbox_inline",label:"sv_q_checkbox_label",labelChecked:"",itemControl:"sv_q_checkbox_control_item",itemDecorator:"sv-hidden",controlLabel:"sv_q_checkbox_control_label",materialDecorator:"checkbox-material",other:"sv_q_other sv_q_checkbox_other",column:"sv_q_select_column"},ranking:{root:"sv-ranking",rootMobileMod:"sv-ranking--mobile",rootDragMod:"sv-ranking--drag",item:"sv-ranking-item",itemContent:"sv-ranking-item__content",itemIndex:"sv-ranking-item__index",controlLabel:"sv-ranking-item__text",itemGhostNode:"sv-ranking-item__ghost",itemIconContainer:"sv-ranking-item__icon-container",itemIcon:"sv-ranking-item__icon",itemIconHoverMod:"sv-ranking-item__icon--hover",itemIconFocusMod:"sv-ranking-item__icon--focus",itemGhostMod:"sv-ranking-item--ghost",itemDragMod:"sv-ranking-item--drag"},comment:"",dropdown:{root:"",control:"sv_q_dropdown_control",selectWrapper:"sv_select_wrapper",other:"sv_q_dd_other"},html:{root:""},image:{root:"sv_q_image",image:"sv_image_image"},matrix:{root:"sv_q_matrix",label:"sv_q_m_label",itemChecked:"checked",itemDecorator:"sv-hidden",cell:"sv_q_m_cell",cellText:"sv_q_m_cell_text",cellTextSelected:"sv_q_m_cell_selected",cellLabel:"sv_q_m_cell_label"},matrixdropdown:{root:"sv_q_matrix_dropdown",cell:"sv_matrix_cell",headerCell:"sv_matrix_cell_header",row:"sv_matrix_row",detailRow:"sv_matrix_detail_row",detailRowText:"sv_matrix_cell_detail_rowtext",detailCell:"sv_matrix_cell_detail",choiceCell:"sv-table__cell--choice",detailButton:"sv_matrix_cell_detail_button",detailButtonExpanded:"sv_matrix_cell_detail_button_expanded",detailIcon:"sv_detail_panel_icon",detailIconExpanded:"sv_detail_expanded",detailPanelCell:"sv_matrix_cell_detail_panel",actionsCell:"sv_matrix_cell sv_matrix_cell_actions"},matrixdynamic:{root:"sv_q_matrix_dynamic",button:"sv_matrix_dynamic_button",buttonAdd:"",buttonRemove:"",iconAdd:"",iconRemove:"",cell:"sv_matrix_cell",headerCell:"sv_matrix_cell_header",row:"sv_matrix_row",detailRow:"sv_matrix_detail_row",detailCell:"sv_matrix_cell_detail",choiceCell:"sv-table__cell--choice",detailButton:"sv_matrix_cell_detail_button",detailButtonExpanded:"sv_matrix_cell_detail_button_expanded",detailIcon:"sv_detail_panel_icon",detailIconExpanded:"sv_detail_expanded",detailPanelCell:"sv_matrix_cell_detail_panel",actionsCell:"sv_matrix_cell sv_matrix_cell_actions",emptyRowsSection:"sv_matrix_empty_rows_section",emptyRowsText:"sv_matrix_empty_rows_text",emptyRowsButton:""},paneldynamic:{root:"sv_panel_dynamic",title:"sv_p_title",button:"",buttonAdd:"sv-paneldynamic__add-btn",buttonRemove:"sv_p_remove_btn",buttonRemoveRight:"sv_p_remove_btn_right",buttonPrev:"sv-paneldynamic__prev-btn",buttonNext:"sv-paneldynamic__next-btn",progressContainer:"sv-paneldynamic__progress-container",progress:"sv-progress",progressBar:"sv-progress__bar",progressText:"sv-paneldynamic__progress-text",panelWrapper:"sv_p_wrapper",panelWrapperInRow:"sv_p_wrapper_in_row"},multipletext:{root:"sv_q_mt",itemTitle:"sv_q_mt_title",row:"sv_q_mt_row",itemValue:"sv_q_mt_item_value sv_q_text_root"},radiogroup:{root:"sv_qcbc",item:"sv_q_radiogroup",itemChecked:"checked",itemInline:"sv_q_radiogroup_inline",itemDecorator:"sv-hidden",label:"sv_q_radiogroup_label",labelChecked:"",itemControl:"sv_q_radiogroup_control_item",controlLabel:"",materialDecorator:"circle",other:"sv_q_other sv_q_radiogroup_other",clearButton:"sv_q_radiogroup_clear",column:"sv_q_select_column"},buttongroup:{root:"sv-button-group",item:"sv-button-group__item",itemIcon:"sv-button-group__item-icon",itemDecorator:"sv-button-group__item-decorator",itemCaption:"sv-button-group__item-caption",itemSelected:"sv-button-group__item--selected",itemDisabled:"sv-button-group__item--disabled",itemControl:"sv-visuallyhidden"},imagepicker:{root:"sv_imgsel",item:"sv_q_imgsel",itemChecked:"checked",label:"sv_q_imgsel_label",itemControl:"sv_q_imgsel_control_item",image:"sv_q_imgsel_image",itemInline:"sv_q_imagepicker_inline",itemText:"sv_q_imgsel_text",clearButton:"sv_q_radiogroup_clear"},rating:{root:"sv_q_rating",item:"sv_q_rating_item",selected:"active",minText:"sv_q_rating_min_text",itemText:"sv_q_rating_item_text",maxText:"sv_q_rating_max_text"},text:"sv_q_text_root",expression:"",file:{root:"sv_q_file",placeholderInput:"sv-visuallyhidden",preview:"sv_q_file_preview",removeButton:"sv_q_file_remove_button",fileInput:"sv-visuallyhidden",removeFile:"sv_q_file_remove",removeFileSvg:"sv-hidden",fileDecorator:"sv-file__decorator",fileSignBottom:"sv-hidden",removeButtonBottom:"sv-hidden",chooseFile:"sv_q_file_choose_button",noFileChosen:"sv_q_file_placeholder"},signaturepad:{root:"sv_q_signaturepad sjs_sp_container",controls:"sjs_sp_controls",clearButton:"sjs_sp_clear"},saveData:{root:"",saving:"",error:"",success:"",saveAgainButton:""},window:{root:"sv_window",body:"sv_window_content",header:{root:"sv_window_title",title:"",button:"",buttonExpanded:"",buttonCollapsed:""}}};r["standard"]=o},"./src/dxSurveyService.ts": /*!********************************!*\ !*** ./src/dxSurveyService.ts ***! \********************************/ /*! exports provided: dxSurveyService */function(e,t,n){"use strict";n.r(t),n.d(t,"dxSurveyService",(function(){return o}));var r=n(/*! ./settings */"./src/settings.ts"),o=function(){function e(){}return Object.defineProperty(e,"serviceUrl",{get:function(){return r["settings"].surveyServiceUrl},set:function(e){r["settings"].surveyServiceUrl=e},enumerable:!1,configurable:!0}),e.prototype.loadSurvey=function(t,n){var r=new XMLHttpRequest;r.open("GET",e.serviceUrl+"/getSurvey?surveyId="+t),r.setRequestHeader("Content-Type","application/x-www-form-urlencoded"),r.onload=function(){var e=JSON.parse(r.response);n(200==r.status,e,r.response)},r.send()},e.prototype.getSurveyJsonAndIsCompleted=function(t,n,r){var o=new XMLHttpRequest;o.open("GET",e.serviceUrl+"/getSurveyAndIsCompleted?surveyId="+t+"&clientId="+n),o.setRequestHeader("Content-Type","application/x-www-form-urlencoded"),o.onload=function(){var e=JSON.parse(o.response),t=e?e.survey:null,n=e?e.isCompleted:null;r(200==o.status,t,n,o.response)},o.send()},e.prototype.sendResult=function(t,n,r,o,i){void 0===o&&(o=null),void 0===i&&(i=!1);var s=new XMLHttpRequest;s.open("POST",e.serviceUrl+"/post/"),s.setRequestHeader("Content-Type","application/json; charset=utf-8");var a={postId:t,surveyResult:JSON.stringify(n)};o&&(a["clientId"]=o),i&&(a["isPartialCompleted"]=!0);var l=JSON.stringify(a);s.onload=s.onerror=function(){r&&r(200===s.status,s.response,s)},s.send(l)},e.prototype.sendFile=function(t,n,r){var o=new XMLHttpRequest;o.onload=o.onerror=function(){r&&r(200==o.status,JSON.parse(o.response))},o.open("POST",e.serviceUrl+"/upload/",!0);var i=new FormData;i.append("file",n),i.append("postId",t),o.send(i)},e.prototype.getResult=function(t,n,r){var o=new XMLHttpRequest,i="resultId="+t+"&name="+n;o.open("GET",e.serviceUrl+"/getResult?"+i),o.setRequestHeader("Content-Type","application/x-www-form-urlencoded");o.onload=function(){var e=null,t=null;if(200==o.status)for(var n in e=JSON.parse(o.response),t=[],e.QuestionResult){var i={name:n,value:e.QuestionResult[n]};t.push(i)}r(200==o.status,e,t,o.response)},o.send()},e.prototype.isCompleted=function(t,n,r){var o=new XMLHttpRequest,i="resultId="+t+"&clientId="+n;o.open("GET",e.serviceUrl+"/isCompleted?"+i),o.setRequestHeader("Content-Type","application/x-www-form-urlencoded");o.onload=function(){var e=null;200==o.status&&(e=JSON.parse(o.response)),r(200==o.status,e,o.response)},o.send()},e}()},"./src/entries/chunks/localization.ts": /*!********************************************!*\ !*** ./src/entries/chunks/localization.ts ***! \********************************************/ /*! no exports provided */function(e,t,n){"use strict";n.r(t);n(/*! ../../localization/arabic */"./src/localization/arabic.ts"),n(/*! ../../localization/bulgarian */"./src/localization/bulgarian.ts"),n(/*! ../../localization/catalan */"./src/localization/catalan.ts"),n(/*! ../../localization/croatian */"./src/localization/croatian.ts"),n(/*! ../../localization/czech */"./src/localization/czech.ts"),n(/*! ../../localization/danish */"./src/localization/danish.ts"),n(/*! ../../localization/dutch */"./src/localization/dutch.ts"),n(/*! ../../localization/estonian */"./src/localization/estonian.ts"),n(/*! ../../localization/finnish */"./src/localization/finnish.ts"),n(/*! ../../localization/french */"./src/localization/french.ts"),n(/*! ../../localization/georgian */"./src/localization/georgian.ts"),n(/*! ../../localization/german */"./src/localization/german.ts"),n(/*! ../../localization/greek */"./src/localization/greek.ts"),n(/*! ../../localization/hebrew */"./src/localization/hebrew.ts"),n(/*! ../../localization/hindi */"./src/localization/hindi.ts"),n(/*! ../../localization/hungarian */"./src/localization/hungarian.ts"),n(/*! ../../localization/icelandic */"./src/localization/icelandic.ts"),n(/*! ../../localization/indonesian */"./src/localization/indonesian.ts"),n(/*! ../../localization/italian */"./src/localization/italian.ts"),n(/*! ../../localization/japanese */"./src/localization/japanese.ts"),n(/*! ../../localization/korean */"./src/localization/korean.ts"),n(/*! ../../localization/latvian */"./src/localization/latvian.ts"),n(/*! ../../localization/lithuanian */"./src/localization/lithuanian.ts"),n(/*! ../../localization/macedonian */"./src/localization/macedonian.ts"),n(/*! ../../localization/norwegian */"./src/localization/norwegian.ts"),n(/*! ../../localization/persian */"./src/localization/persian.ts"),n(/*! ../../localization/polish */"./src/localization/polish.ts"),n(/*! ../../localization/portuguese */"./src/localization/portuguese.ts"),n(/*! ../../localization/portuguese-br */"./src/localization/portuguese-br.ts"),n(/*! ../../localization/romanian */"./src/localization/romanian.ts"),n(/*! ../../localization/russian */"./src/localization/russian.ts"),n(/*! ../../localization/serbian */"./src/localization/serbian.ts"),n(/*! ../../localization/simplified-chinese */"./src/localization/simplified-chinese.ts"),n(/*! ../../localization/spanish */"./src/localization/spanish.ts"),n(/*! ../../localization/swahili */"./src/localization/swahili.ts"),n(/*! ../../localization/swedish */"./src/localization/swedish.ts"),n(/*! ../../localization/tajik */"./src/localization/tajik.ts"),n(/*! ../../localization/thai */"./src/localization/thai.ts"),n(/*! ../../localization/traditional-chinese */"./src/localization/traditional-chinese.ts"),n(/*! ../../localization/turkish */"./src/localization/turkish.ts"),n(/*! ../../localization/ukrainian */"./src/localization/ukrainian.ts"),n(/*! ../../localization/welsh */"./src/localization/welsh.ts")},"./src/entries/chunks/model.ts": /*!*************************************!*\ !*** ./src/entries/chunks/model.ts ***! \*************************************/ /*! exports provided: Version, settings, Helpers, AnswerCountValidator, EmailValidator, NumericValidator, RegexValidator, SurveyValidator, TextValidator, ValidatorResult, ExpressionValidator, ValidatorRunner, ItemValue, Base, Event, SurveyError, SurveyElement, ArrayChanges, CalculatedValue, CustomError, AnswerRequiredError, OneAnswerRequiredError, RequreNumericError, ExceedSizeError, LocalizableString, LocalizableStrings, HtmlConditionItem, UrlConditionItem, ChoicesRestful, ChoicesRestfull, FunctionFactory, registerFunction, ConditionRunner, ExpressionRunner, Operand, Const, BinaryOperand, Variable, FunctionOperand, ArrayOperand, ConditionsParser, ProcessValue, JsonError, JsonIncorrectTypeError, JsonMetadata, JsonMetadataClass, JsonMissingTypeError, JsonMissingTypeErrorBase, JsonObject, JsonObjectProperty, JsonRequiredPropertyError, JsonUnknownPropertyError, Serializer, property, propertyArray, MatrixDropdownCell, MatrixDropdownColumn, matrixDropdownColumnTypes, MatrixDropdownRowModelBase, QuestionMatrixDropdownModelBase, QuestionMatrixDropdownRenderedCell, QuestionMatrixDropdownRenderedRow, QuestionMatrixDropdownRenderedTable, MatrixDropdownRowModel, QuestionMatrixDropdownModel, MatrixDynamicRowModel, QuestionMatrixDynamicModel, MatrixRowModel, MatrixCells, QuestionMatrixModel, MultipleTextItemModel, QuestionMultipleTextModel, PanelModel, PanelModelBase, QuestionRowModel, FlowPanelModel, PageModel, Question, QuestionNonValue, QuestionEmptyModel, QuestionCheckboxBase, QuestionSelectBase, QuestionCheckboxModel, QuestionRankingModel, QuestionCommentModel, QuestionDropdownModel, QuestionFactory, ElementFactory, QuestionFileModel, QuestionHtmlModel, QuestionRadiogroupModel, QuestionRatingModel, QuestionExpressionModel, QuestionTextModel, QuestionBooleanModel, QuestionImagePickerModel, ImageItemValue, QuestionImageModel, QuestionSignaturePadModel, QuestionPanelDynamicModel, QuestionPanelDynamicItem, SurveyTimer, SurveyProgressButtonsModel, SurveyModel, SurveyTrigger, SurveyTriggerComplete, SurveyTriggerSetValue, SurveyTriggerVisible, SurveyTriggerCopyValue, SurveyTriggerRunExpression, Trigger, SurveyWindowModel, TextPreProcessor, dxSurveyService, englishStrings, surveyLocalization, surveyStrings, QuestionCustomWidget, CustomWidgetCollection, QuestionCustomModel, QuestionCompositeModel, ComponentQuestionJSON, ComponentCollection, StylesManager, ActionBarItem, ActionBar, AdaptiveActionBarItemWrapper, AdaptiveElement, ListModel, PopupModel, PopupBaseViewModel, QuestionButtonGroupModel, ButtonGroupItemModel, ButtonGroupItemValue, IsMobile, confirmAction, detectIEOrEdge, loadFileFromBase64, createSvg, surveyCss */function(e,t,n){"use strict";n.r(t),n.d(t,"Version",(function(){return de}));n(/*! ../../main.scss */"./src/main.scss");var r=n(/*! ../../settings */"./src/settings.ts");n.d(t,"settings",(function(){return r["settings"]}));var o=n(/*! ../../helpers */"./src/helpers.ts");n.d(t,"Helpers",(function(){return o["Helpers"]}));var i=n(/*! ../../validator */"./src/validator.ts");n.d(t,"AnswerCountValidator",(function(){return i["AnswerCountValidator"]})),n.d(t,"EmailValidator",(function(){return i["EmailValidator"]})),n.d(t,"NumericValidator",(function(){return i["NumericValidator"]})),n.d(t,"RegexValidator",(function(){return i["RegexValidator"]})),n.d(t,"SurveyValidator",(function(){return i["SurveyValidator"]})),n.d(t,"TextValidator",(function(){return i["TextValidator"]})),n.d(t,"ValidatorResult",(function(){return i["ValidatorResult"]})),n.d(t,"ExpressionValidator",(function(){return i["ExpressionValidator"]})),n.d(t,"ValidatorRunner",(function(){return i["ValidatorRunner"]}));var s=n(/*! ../../itemvalue */"./src/itemvalue.ts");n.d(t,"ItemValue",(function(){return s["ItemValue"]}));var a=n(/*! ../../base */"./src/base.ts");n.d(t,"Base",(function(){return a["Base"]})),n.d(t,"Event",(function(){return a["Event"]})),n.d(t,"SurveyError",(function(){return a["SurveyError"]})),n.d(t,"SurveyElement",(function(){return a["SurveyElement"]})),n.d(t,"ArrayChanges",(function(){return a["ArrayChanges"]}));var l=n(/*! ../../calculatedValue */"./src/calculatedValue.ts");n.d(t,"CalculatedValue",(function(){return l["CalculatedValue"]}));var u=n(/*! ../../error */"./src/error.ts");n.d(t,"CustomError",(function(){return u["CustomError"]})),n.d(t,"AnswerRequiredError",(function(){return u["AnswerRequiredError"]})),n.d(t,"OneAnswerRequiredError",(function(){return u["OneAnswerRequiredError"]})),n.d(t,"RequreNumericError",(function(){return u["RequreNumericError"]})),n.d(t,"ExceedSizeError",(function(){return u["ExceedSizeError"]}));var c=n(/*! ../../localizablestring */"./src/localizablestring.ts");n.d(t,"LocalizableString",(function(){return c["LocalizableString"]})),n.d(t,"LocalizableStrings",(function(){return c["LocalizableStrings"]}));var d=n(/*! ../../expressionItems */"./src/expressionItems.ts");n.d(t,"HtmlConditionItem",(function(){return d["HtmlConditionItem"]})),n.d(t,"UrlConditionItem",(function(){return d["UrlConditionItem"]}));var p=n(/*! ../../choicesRestful */"./src/choicesRestful.ts");n.d(t,"ChoicesRestful",(function(){return p["ChoicesRestful"]})),n.d(t,"ChoicesRestfull",(function(){return p["ChoicesRestfull"]}));var h=n(/*! ../../functionsfactory */"./src/functionsfactory.ts");n.d(t,"FunctionFactory",(function(){return h["FunctionFactory"]})),n.d(t,"registerFunction",(function(){return h["registerFunction"]}));var f=n(/*! ../../conditions */"./src/conditions.ts");n.d(t,"ConditionRunner",(function(){return f["ConditionRunner"]})),n.d(t,"ExpressionRunner",(function(){return f["ExpressionRunner"]}));var m=n(/*! ../../expressions/expressions */"./src/expressions/expressions.ts");n.d(t,"Operand",(function(){return m["Operand"]})),n.d(t,"Const",(function(){return m["Const"]})),n.d(t,"BinaryOperand",(function(){return m["BinaryOperand"]})),n.d(t,"Variable",(function(){return m["Variable"]})),n.d(t,"FunctionOperand",(function(){return m["FunctionOperand"]})),n.d(t,"ArrayOperand",(function(){return m["ArrayOperand"]}));var v=n(/*! ../../conditionsParser */"./src/conditionsParser.ts");n.d(t,"ConditionsParser",(function(){return v["ConditionsParser"]}));var g=n(/*! ../../conditionProcessValue */"./src/conditionProcessValue.ts");n.d(t,"ProcessValue",(function(){return g["ProcessValue"]}));var y=n(/*! ../../jsonobject */"./src/jsonobject.ts");n.d(t,"JsonError",(function(){return y["JsonError"]})),n.d(t,"JsonIncorrectTypeError",(function(){return y["JsonIncorrectTypeError"]})),n.d(t,"JsonMetadata",(function(){return y["JsonMetadata"]})),n.d(t,"JsonMetadataClass",(function(){return y["JsonMetadataClass"]})),n.d(t,"JsonMissingTypeError",(function(){return y["JsonMissingTypeError"]})),n.d(t,"JsonMissingTypeErrorBase",(function(){return y["JsonMissingTypeErrorBase"]})),n.d(t,"JsonObject",(function(){return y["JsonObject"]})),n.d(t,"JsonObjectProperty",(function(){return y["JsonObjectProperty"]})),n.d(t,"JsonRequiredPropertyError",(function(){return y["JsonRequiredPropertyError"]})),n.d(t,"JsonUnknownPropertyError",(function(){return y["JsonUnknownPropertyError"]})),n.d(t,"Serializer",(function(){return y["Serializer"]})),n.d(t,"property",(function(){return y["property"]})),n.d(t,"propertyArray",(function(){return y["propertyArray"]}));var b=n(/*! ../../question_matrixdropdownbase */"./src/question_matrixdropdownbase.ts");n.d(t,"MatrixDropdownCell",(function(){return b["MatrixDropdownCell"]})),n.d(t,"MatrixDropdownColumn",(function(){return b["MatrixDropdownColumn"]})),n.d(t,"matrixDropdownColumnTypes",(function(){return b["matrixDropdownColumnTypes"]})),n.d(t,"MatrixDropdownRowModelBase",(function(){return b["MatrixDropdownRowModelBase"]})),n.d(t,"QuestionMatrixDropdownModelBase",(function(){return b["QuestionMatrixDropdownModelBase"]})),n.d(t,"QuestionMatrixDropdownRenderedCell",(function(){return b["QuestionMatrixDropdownRenderedCell"]})),n.d(t,"QuestionMatrixDropdownRenderedRow",(function(){return b["QuestionMatrixDropdownRenderedRow"]})),n.d(t,"QuestionMatrixDropdownRenderedTable",(function(){return b["QuestionMatrixDropdownRenderedTable"]}));var x=n(/*! ../../question_matrixdropdown */"./src/question_matrixdropdown.ts");n.d(t,"MatrixDropdownRowModel",(function(){return x["MatrixDropdownRowModel"]})),n.d(t,"QuestionMatrixDropdownModel",(function(){return x["QuestionMatrixDropdownModel"]}));var w=n(/*! ../../question_matrixdynamic */"./src/question_matrixdynamic.ts");n.d(t,"MatrixDynamicRowModel",(function(){return w["MatrixDynamicRowModel"]})),n.d(t,"QuestionMatrixDynamicModel",(function(){return w["QuestionMatrixDynamicModel"]}));var _=n(/*! ../../question_matrix */"./src/question_matrix.ts");n.d(t,"MatrixRowModel",(function(){return _["MatrixRowModel"]})),n.d(t,"MatrixCells",(function(){return _["MatrixCells"]})),n.d(t,"QuestionMatrixModel",(function(){return _["QuestionMatrixModel"]}));var C=n(/*! ../../question_multipletext */"./src/question_multipletext.ts");n.d(t,"MultipleTextItemModel",(function(){return C["MultipleTextItemModel"]})),n.d(t,"QuestionMultipleTextModel",(function(){return C["QuestionMultipleTextModel"]}));var P=n(/*! ../../panel */"./src/panel.ts");n.d(t,"PanelModel",(function(){return P["PanelModel"]})),n.d(t,"PanelModelBase",(function(){return P["PanelModelBase"]})),n.d(t,"QuestionRowModel",(function(){return P["QuestionRowModel"]}));var S=n(/*! ../../flowpanel */"./src/flowpanel.ts");n.d(t,"FlowPanelModel",(function(){return S["FlowPanelModel"]}));var O=n(/*! ../../page */"./src/page.ts");n.d(t,"PageModel",(function(){return O["PageModel"]}));n(/*! ../../template-renderer */"./src/template-renderer.ts");var T=n(/*! ../../question */"./src/question.ts");n.d(t,"Question",(function(){return T["Question"]}));var V=n(/*! ../../questionnonvalue */"./src/questionnonvalue.ts");n.d(t,"QuestionNonValue",(function(){return V["QuestionNonValue"]}));var k=n(/*! ../../question_empty */"./src/question_empty.ts");n.d(t,"QuestionEmptyModel",(function(){return k["QuestionEmptyModel"]}));var E=n(/*! ../../question_baseselect */"./src/question_baseselect.ts");n.d(t,"QuestionCheckboxBase",(function(){return E["QuestionCheckboxBase"]})),n.d(t,"QuestionSelectBase",(function(){return E["QuestionSelectBase"]}));var R=n(/*! ../../question_checkbox */"./src/question_checkbox.ts");n.d(t,"QuestionCheckboxModel",(function(){return R["QuestionCheckboxModel"]}));var j=n(/*! ../../question_ranking */"./src/question_ranking.ts");n.d(t,"QuestionRankingModel",(function(){return j["QuestionRankingModel"]}));var I=n(/*! ../../question_comment */"./src/question_comment.ts");n.d(t,"QuestionCommentModel",(function(){return I["QuestionCommentModel"]}));var D=n(/*! ../../question_dropdown */"./src/question_dropdown.ts");n.d(t,"QuestionDropdownModel",(function(){return D["QuestionDropdownModel"]}));var q=n(/*! ../../questionfactory */"./src/questionfactory.ts");n.d(t,"QuestionFactory",(function(){return q["QuestionFactory"]})),n.d(t,"ElementFactory",(function(){return q["ElementFactory"]}));var A=n(/*! ../../question_file */"./src/question_file.ts");n.d(t,"QuestionFileModel",(function(){return A["QuestionFileModel"]}));var M=n(/*! ../../question_html */"./src/question_html.ts");n.d(t,"QuestionHtmlModel",(function(){return M["QuestionHtmlModel"]}));var L=n(/*! ../../question_radiogroup */"./src/question_radiogroup.ts");n.d(t,"QuestionRadiogroupModel",(function(){return L["QuestionRadiogroupModel"]}));var N=n(/*! ../../question_rating */"./src/question_rating.ts");n.d(t,"QuestionRatingModel",(function(){return N["QuestionRatingModel"]}));var F=n(/*! ../../question_expression */"./src/question_expression.ts");n.d(t,"QuestionExpressionModel",(function(){return F["QuestionExpressionModel"]}));var z=n(/*! ../../question_text */"./src/question_text.ts");n.d(t,"QuestionTextModel",(function(){return z["QuestionTextModel"]}));var B=n(/*! ../../question_boolean */"./src/question_boolean.ts");n.d(t,"QuestionBooleanModel",(function(){return B["QuestionBooleanModel"]}));var Q=n(/*! ../../question_imagepicker */"./src/question_imagepicker.ts");n.d(t,"QuestionImagePickerModel",(function(){return Q["QuestionImagePickerModel"]})),n.d(t,"ImageItemValue",(function(){return Q["ImageItemValue"]}));var H=n(/*! ../../question_image */"./src/question_image.ts");n.d(t,"QuestionImageModel",(function(){return H["QuestionImageModel"]}));var U=n(/*! ../../question_signaturepad */"./src/question_signaturepad.ts");n.d(t,"QuestionSignaturePadModel",(function(){return U["QuestionSignaturePadModel"]}));var $=n(/*! ../../question_paneldynamic */"./src/question_paneldynamic.ts");n.d(t,"QuestionPanelDynamicModel",(function(){return $["QuestionPanelDynamicModel"]})),n.d(t,"QuestionPanelDynamicItem",(function(){return $["QuestionPanelDynamicItem"]}));var W=n(/*! ../../surveytimer */"./src/surveytimer.ts");n.d(t,"SurveyTimer",(function(){return W["SurveyTimer"]}));var J=n(/*! ../../surveyProgressButtons */"./src/surveyProgressButtons.ts");n.d(t,"SurveyProgressButtonsModel",(function(){return J["SurveyProgressButtonsModel"]}));var G=n(/*! ../../survey */"./src/survey.ts");n.d(t,"SurveyModel",(function(){return G["SurveyModel"]}));var K=n(/*! ../../trigger */"./src/trigger.ts");n.d(t,"SurveyTrigger",(function(){return K["SurveyTrigger"]})),n.d(t,"SurveyTriggerComplete",(function(){return K["SurveyTriggerComplete"]})),n.d(t,"SurveyTriggerSetValue",(function(){return K["SurveyTriggerSetValue"]})),n.d(t,"SurveyTriggerVisible",(function(){return K["SurveyTriggerVisible"]})),n.d(t,"SurveyTriggerCopyValue",(function(){return K["SurveyTriggerCopyValue"]})),n.d(t,"SurveyTriggerRunExpression",(function(){return K["SurveyTriggerRunExpression"]})),n.d(t,"Trigger",(function(){return K["Trigger"]}));var X=n(/*! ../../surveyWindow */"./src/surveyWindow.ts");n.d(t,"SurveyWindowModel",(function(){return X["SurveyWindowModel"]}));var Y=n(/*! ../../textPreProcessor */"./src/textPreProcessor.ts");n.d(t,"TextPreProcessor",(function(){return Y["TextPreProcessor"]}));var Z=n(/*! ../../dxSurveyService */"./src/dxSurveyService.ts");n.d(t,"dxSurveyService",(function(){return Z["dxSurveyService"]}));var ee=n(/*! ../../localization/english */"./src/localization/english.ts");n.d(t,"englishStrings",(function(){return ee["englishStrings"]}));var te=n(/*! ../../surveyStrings */"./src/surveyStrings.ts");n.d(t,"surveyLocalization",(function(){return te["surveyLocalization"]})),n.d(t,"surveyStrings",(function(){return te["surveyStrings"]}));var ne=n(/*! ../../questionCustomWidgets */"./src/questionCustomWidgets.ts");n.d(t,"QuestionCustomWidget",(function(){return ne["QuestionCustomWidget"]})),n.d(t,"CustomWidgetCollection",(function(){return ne["CustomWidgetCollection"]}));var re=n(/*! ../../question_custom */"./src/question_custom.ts");n.d(t,"QuestionCustomModel",(function(){return re["QuestionCustomModel"]})),n.d(t,"QuestionCompositeModel",(function(){return re["QuestionCompositeModel"]})),n.d(t,"ComponentQuestionJSON",(function(){return re["ComponentQuestionJSON"]})),n.d(t,"ComponentCollection",(function(){return re["ComponentCollection"]}));var oe=n(/*! ../../stylesmanager */"./src/stylesmanager.ts");n.d(t,"StylesManager",(function(){return oe["StylesManager"]}));var ie=n(/*! ../../action-bar */"./src/action-bar.ts");n.d(t,"ActionBarItem",(function(){return ie["ActionBarItem"]})),n.d(t,"ActionBar",(function(){return ie["ActionBar"]})),n.d(t,"AdaptiveActionBarItemWrapper",(function(){return ie["AdaptiveActionBarItemWrapper"]})),n.d(t,"AdaptiveElement",(function(){return ie["AdaptiveElement"]}));var se=n(/*! ../../list */"./src/list.ts");n.d(t,"ListModel",(function(){return se["ListModel"]}));var ae=n(/*! ../../popup */"./src/popup.ts");n.d(t,"PopupModel",(function(){return ae["PopupModel"]})),n.d(t,"PopupBaseViewModel",(function(){return ae["PopupBaseViewModel"]}));var le=n(/*! ../../question_buttongroup */"./src/question_buttongroup.ts");n.d(t,"QuestionButtonGroupModel",(function(){return le["QuestionButtonGroupModel"]})),n.d(t,"ButtonGroupItemModel",(function(){return le["ButtonGroupItemModel"]})),n.d(t,"ButtonGroupItemValue",(function(){return le["ButtonGroupItemValue"]}));var ue=n(/*! ../../utils/is-mobile */"./src/utils/is-mobile.ts");n.d(t,"IsMobile",(function(){return ue["IsMobile"]}));var ce=n(/*! ../../utils/utils */"./src/utils/utils.ts");n.d(t,"confirmAction",(function(){return ce["confirmAction"]})),n.d(t,"detectIEOrEdge",(function(){return ce["detectIEOrEdge"]})),n.d(t,"loadFileFromBase64",(function(){return ce["loadFileFromBase64"]})),n.d(t,"createSvg",(function(){return ce["createSvg"]}));var de,pe=n(/*! ../../defaultCss/cssstandard */"./src/defaultCss/cssstandard.ts");n.d(t,"surveyCss",(function(){return pe["surveyCss"]})),de="1.8.51"},"./src/entries/core.ts": /*!*****************************!*\ !*** ./src/entries/core.ts ***! \*****************************/ /*! exports provided: Version, settings, Helpers, AnswerCountValidator, EmailValidator, NumericValidator, RegexValidator, SurveyValidator, TextValidator, ValidatorResult, ExpressionValidator, ValidatorRunner, ItemValue, Base, Event, SurveyError, SurveyElement, ArrayChanges, CalculatedValue, CustomError, AnswerRequiredError, OneAnswerRequiredError, RequreNumericError, ExceedSizeError, LocalizableString, LocalizableStrings, HtmlConditionItem, UrlConditionItem, ChoicesRestful, ChoicesRestfull, FunctionFactory, registerFunction, ConditionRunner, ExpressionRunner, Operand, Const, BinaryOperand, Variable, FunctionOperand, ArrayOperand, ConditionsParser, ProcessValue, JsonError, JsonIncorrectTypeError, JsonMetadata, JsonMetadataClass, JsonMissingTypeError, JsonMissingTypeErrorBase, JsonObject, JsonObjectProperty, JsonRequiredPropertyError, JsonUnknownPropertyError, Serializer, property, propertyArray, MatrixDropdownCell, MatrixDropdownColumn, matrixDropdownColumnTypes, MatrixDropdownRowModelBase, QuestionMatrixDropdownModelBase, QuestionMatrixDropdownRenderedCell, QuestionMatrixDropdownRenderedRow, QuestionMatrixDropdownRenderedTable, MatrixDropdownRowModel, QuestionMatrixDropdownModel, MatrixDynamicRowModel, QuestionMatrixDynamicModel, MatrixRowModel, MatrixCells, QuestionMatrixModel, MultipleTextItemModel, QuestionMultipleTextModel, PanelModel, PanelModelBase, QuestionRowModel, FlowPanelModel, PageModel, Question, QuestionNonValue, QuestionEmptyModel, QuestionCheckboxBase, QuestionSelectBase, QuestionCheckboxModel, QuestionRankingModel, QuestionCommentModel, QuestionDropdownModel, QuestionFactory, ElementFactory, QuestionFileModel, QuestionHtmlModel, QuestionRadiogroupModel, QuestionRatingModel, QuestionExpressionModel, QuestionTextModel, QuestionBooleanModel, QuestionImagePickerModel, ImageItemValue, QuestionImageModel, QuestionSignaturePadModel, QuestionPanelDynamicModel, QuestionPanelDynamicItem, SurveyTimer, SurveyProgressButtonsModel, SurveyModel, SurveyTrigger, SurveyTriggerComplete, SurveyTriggerSetValue, SurveyTriggerVisible, SurveyTriggerCopyValue, SurveyTriggerRunExpression, Trigger, SurveyWindowModel, TextPreProcessor, dxSurveyService, englishStrings, surveyLocalization, surveyStrings, QuestionCustomWidget, CustomWidgetCollection, QuestionCustomModel, QuestionCompositeModel, ComponentQuestionJSON, ComponentCollection, StylesManager, ActionBarItem, ActionBar, AdaptiveActionBarItemWrapper, AdaptiveElement, ListModel, PopupModel, PopupBaseViewModel, QuestionButtonGroupModel, ButtonGroupItemModel, ButtonGroupItemValue, IsMobile, confirmAction, detectIEOrEdge, loadFileFromBase64, createSvg, surveyCss, defaultStandardCss, defaultBootstrapCss, defaultBootstrapMaterialCss, modernCss, RendererFactory, ResponsivityManager, VerticalResponsivityManager, unwrap */function(e,t,n){"use strict";n.r(t);var r=n(/*! ./chunks/model */"./src/entries/chunks/model.ts");n.d(t,"Version",(function(){return r["Version"]})),n.d(t,"settings",(function(){return r["settings"]})),n.d(t,"Helpers",(function(){return r["Helpers"]})),n.d(t,"AnswerCountValidator",(function(){return r["AnswerCountValidator"]})),n.d(t,"EmailValidator",(function(){return r["EmailValidator"]})),n.d(t,"NumericValidator",(function(){return r["NumericValidator"]})),n.d(t,"RegexValidator",(function(){return r["RegexValidator"]})),n.d(t,"SurveyValidator",(function(){return r["SurveyValidator"]})),n.d(t,"TextValidator",(function(){return r["TextValidator"]})),n.d(t,"ValidatorResult",(function(){return r["ValidatorResult"]})),n.d(t,"ExpressionValidator",(function(){return r["ExpressionValidator"]})),n.d(t,"ValidatorRunner",(function(){return r["ValidatorRunner"]})),n.d(t,"ItemValue",(function(){return r["ItemValue"]})),n.d(t,"Base",(function(){return r["Base"]})),n.d(t,"Event",(function(){return r["Event"]})),n.d(t,"SurveyError",(function(){return r["SurveyError"]})),n.d(t,"SurveyElement",(function(){return r["SurveyElement"]})),n.d(t,"ArrayChanges",(function(){return r["ArrayChanges"]})),n.d(t,"CalculatedValue",(function(){return r["CalculatedValue"]})),n.d(t,"CustomError",(function(){return r["CustomError"]})),n.d(t,"AnswerRequiredError",(function(){return r["AnswerRequiredError"]})),n.d(t,"OneAnswerRequiredError",(function(){return r["OneAnswerRequiredError"]})),n.d(t,"RequreNumericError",(function(){return r["RequreNumericError"]})),n.d(t,"ExceedSizeError",(function(){return r["ExceedSizeError"]})),n.d(t,"LocalizableString",(function(){return r["LocalizableString"]})),n.d(t,"LocalizableStrings",(function(){return r["LocalizableStrings"]})),n.d(t,"HtmlConditionItem",(function(){return r["HtmlConditionItem"]})),n.d(t,"UrlConditionItem",(function(){return r["UrlConditionItem"]})),n.d(t,"ChoicesRestful",(function(){return r["ChoicesRestful"]})),n.d(t,"ChoicesRestfull",(function(){return r["ChoicesRestfull"]})),n.d(t,"FunctionFactory",(function(){return r["FunctionFactory"]})),n.d(t,"registerFunction",(function(){return r["registerFunction"]})),n.d(t,"ConditionRunner",(function(){return r["ConditionRunner"]})),n.d(t,"ExpressionRunner",(function(){return r["ExpressionRunner"]})),n.d(t,"Operand",(function(){return r["Operand"]})),n.d(t,"Const",(function(){return r["Const"]})),n.d(t,"BinaryOperand",(function(){return r["BinaryOperand"]})),n.d(t,"Variable",(function(){return r["Variable"]})),n.d(t,"FunctionOperand",(function(){return r["FunctionOperand"]})),n.d(t,"ArrayOperand",(function(){return r["ArrayOperand"]})),n.d(t,"ConditionsParser",(function(){return r["ConditionsParser"]})),n.d(t,"ProcessValue",(function(){return r["ProcessValue"]})),n.d(t,"JsonError",(function(){return r["JsonError"]})),n.d(t,"JsonIncorrectTypeError",(function(){return r["JsonIncorrectTypeError"]})),n.d(t,"JsonMetadata",(function(){return r["JsonMetadata"]})),n.d(t,"JsonMetadataClass",(function(){return r["JsonMetadataClass"]})),n.d(t,"JsonMissingTypeError",(function(){return r["JsonMissingTypeError"]})),n.d(t,"JsonMissingTypeErrorBase",(function(){return r["JsonMissingTypeErrorBase"]})),n.d(t,"JsonObject",(function(){return r["JsonObject"]})),n.d(t,"JsonObjectProperty",(function(){return r["JsonObjectProperty"]})),n.d(t,"JsonRequiredPropertyError",(function(){return r["JsonRequiredPropertyError"]})),n.d(t,"JsonUnknownPropertyError",(function(){return r["JsonUnknownPropertyError"]})),n.d(t,"Serializer",(function(){return r["Serializer"]})),n.d(t,"property",(function(){return r["property"]})),n.d(t,"propertyArray",(function(){return r["propertyArray"]})),n.d(t,"MatrixDropdownCell",(function(){return r["MatrixDropdownCell"]})),n.d(t,"MatrixDropdownColumn",(function(){return r["MatrixDropdownColumn"]})),n.d(t,"matrixDropdownColumnTypes",(function(){return r["matrixDropdownColumnTypes"]})),n.d(t,"MatrixDropdownRowModelBase",(function(){return r["MatrixDropdownRowModelBase"]})),n.d(t,"QuestionMatrixDropdownModelBase",(function(){return r["QuestionMatrixDropdownModelBase"]})),n.d(t,"QuestionMatrixDropdownRenderedCell",(function(){return r["QuestionMatrixDropdownRenderedCell"]})),n.d(t,"QuestionMatrixDropdownRenderedRow",(function(){return r["QuestionMatrixDropdownRenderedRow"]})),n.d(t,"QuestionMatrixDropdownRenderedTable",(function(){return r["QuestionMatrixDropdownRenderedTable"]})),n.d(t,"MatrixDropdownRowModel",(function(){return r["MatrixDropdownRowModel"]})),n.d(t,"QuestionMatrixDropdownModel",(function(){return r["QuestionMatrixDropdownModel"]})),n.d(t,"MatrixDynamicRowModel",(function(){return r["MatrixDynamicRowModel"]})),n.d(t,"QuestionMatrixDynamicModel",(function(){return r["QuestionMatrixDynamicModel"]})),n.d(t,"MatrixRowModel",(function(){return r["MatrixRowModel"]})),n.d(t,"MatrixCells",(function(){return r["MatrixCells"]})),n.d(t,"QuestionMatrixModel",(function(){return r["QuestionMatrixModel"]})),n.d(t,"MultipleTextItemModel",(function(){return r["MultipleTextItemModel"]})),n.d(t,"QuestionMultipleTextModel",(function(){return r["QuestionMultipleTextModel"]})),n.d(t,"PanelModel",(function(){return r["PanelModel"]})),n.d(t,"PanelModelBase",(function(){return r["PanelModelBase"]})),n.d(t,"QuestionRowModel",(function(){return r["QuestionRowModel"]})),n.d(t,"FlowPanelModel",(function(){return r["FlowPanelModel"]})),n.d(t,"PageModel",(function(){return r["PageModel"]})),n.d(t,"Question",(function(){return r["Question"]})),n.d(t,"QuestionNonValue",(function(){return r["QuestionNonValue"]})),n.d(t,"QuestionEmptyModel",(function(){return r["QuestionEmptyModel"]})),n.d(t,"QuestionCheckboxBase",(function(){return r["QuestionCheckboxBase"]})),n.d(t,"QuestionSelectBase",(function(){return r["QuestionSelectBase"]})),n.d(t,"QuestionCheckboxModel",(function(){return r["QuestionCheckboxModel"]})),n.d(t,"QuestionRankingModel",(function(){return r["QuestionRankingModel"]})),n.d(t,"QuestionCommentModel",(function(){return r["QuestionCommentModel"]})),n.d(t,"QuestionDropdownModel",(function(){return r["QuestionDropdownModel"]})),n.d(t,"QuestionFactory",(function(){return r["QuestionFactory"]})),n.d(t,"ElementFactory",(function(){return r["ElementFactory"]})),n.d(t,"QuestionFileModel",(function(){return r["QuestionFileModel"]})),n.d(t,"QuestionHtmlModel",(function(){return r["QuestionHtmlModel"]})),n.d(t,"QuestionRadiogroupModel",(function(){return r["QuestionRadiogroupModel"]})),n.d(t,"QuestionRatingModel",(function(){return r["QuestionRatingModel"]})),n.d(t,"QuestionExpressionModel",(function(){return r["QuestionExpressionModel"]})),n.d(t,"QuestionTextModel",(function(){return r["QuestionTextModel"]})),n.d(t,"QuestionBooleanModel",(function(){return r["QuestionBooleanModel"]})),n.d(t,"QuestionImagePickerModel",(function(){return r["QuestionImagePickerModel"]})),n.d(t,"ImageItemValue",(function(){return r["ImageItemValue"]})),n.d(t,"QuestionImageModel",(function(){return r["QuestionImageModel"]})),n.d(t,"QuestionSignaturePadModel",(function(){return r["QuestionSignaturePadModel"]})),n.d(t,"QuestionPanelDynamicModel",(function(){return r["QuestionPanelDynamicModel"]})),n.d(t,"QuestionPanelDynamicItem",(function(){return r["QuestionPanelDynamicItem"]})),n.d(t,"SurveyTimer",(function(){return r["SurveyTimer"]})),n.d(t,"SurveyProgressButtonsModel",(function(){return r["SurveyProgressButtonsModel"]})),n.d(t,"SurveyModel",(function(){return r["SurveyModel"]})),n.d(t,"SurveyTrigger",(function(){return r["SurveyTrigger"]})),n.d(t,"SurveyTriggerComplete",(function(){return r["SurveyTriggerComplete"]})),n.d(t,"SurveyTriggerSetValue",(function(){return r["SurveyTriggerSetValue"]})),n.d(t,"SurveyTriggerVisible",(function(){return r["SurveyTriggerVisible"]})),n.d(t,"SurveyTriggerCopyValue",(function(){return r["SurveyTriggerCopyValue"]})),n.d(t,"SurveyTriggerRunExpression",(function(){return r["SurveyTriggerRunExpression"]})),n.d(t,"Trigger",(function(){return r["Trigger"]})),n.d(t,"SurveyWindowModel",(function(){return r["SurveyWindowModel"]})),n.d(t,"TextPreProcessor",(function(){return r["TextPreProcessor"]})),n.d(t,"dxSurveyService",(function(){return r["dxSurveyService"]})),n.d(t,"englishStrings",(function(){return r["englishStrings"]})),n.d(t,"surveyLocalization",(function(){return r["surveyLocalization"]})),n.d(t,"surveyStrings",(function(){return r["surveyStrings"]})),n.d(t,"QuestionCustomWidget",(function(){return r["QuestionCustomWidget"]})),n.d(t,"CustomWidgetCollection",(function(){return r["CustomWidgetCollection"]})),n.d(t,"QuestionCustomModel",(function(){return r["QuestionCustomModel"]})),n.d(t,"QuestionCompositeModel",(function(){return r["QuestionCompositeModel"]})),n.d(t,"ComponentQuestionJSON",(function(){return r["ComponentQuestionJSON"]})),n.d(t,"ComponentCollection",(function(){return r["ComponentCollection"]})),n.d(t,"StylesManager",(function(){return r["StylesManager"]})),n.d(t,"ActionBarItem",(function(){return r["ActionBarItem"]})),n.d(t,"ActionBar",(function(){return r["ActionBar"]})),n.d(t,"AdaptiveActionBarItemWrapper",(function(){return r["AdaptiveActionBarItemWrapper"]})),n.d(t,"AdaptiveElement",(function(){return r["AdaptiveElement"]})),n.d(t,"ListModel",(function(){return r["ListModel"]})),n.d(t,"PopupModel",(function(){return r["PopupModel"]})),n.d(t,"PopupBaseViewModel",(function(){return r["PopupBaseViewModel"]})),n.d(t,"QuestionButtonGroupModel",(function(){return r["QuestionButtonGroupModel"]})),n.d(t,"ButtonGroupItemModel",(function(){return r["ButtonGroupItemModel"]})),n.d(t,"ButtonGroupItemValue",(function(){return r["ButtonGroupItemValue"]})),n.d(t,"IsMobile",(function(){return r["IsMobile"]})),n.d(t,"confirmAction",(function(){return r["confirmAction"]})),n.d(t,"detectIEOrEdge",(function(){return r["detectIEOrEdge"]})),n.d(t,"loadFileFromBase64",(function(){return r["loadFileFromBase64"]})),n.d(t,"createSvg",(function(){return r["createSvg"]})),n.d(t,"surveyCss",(function(){return r["surveyCss"]}));n(/*! ./chunks/localization */"./src/entries/chunks/localization.ts");var o=n(/*! ../defaultCss/cssstandard */"./src/defaultCss/cssstandard.ts");n.d(t,"defaultStandardCss",(function(){return o["defaultStandardCss"]}));var i=n(/*! ../defaultCss/cssbootstrap */"./src/defaultCss/cssbootstrap.ts");n.d(t,"defaultBootstrapCss",(function(){return i["defaultBootstrapCss"]}));var s=n(/*! ../defaultCss/cssbootstrapmaterial */"./src/defaultCss/cssbootstrapmaterial.ts");n.d(t,"defaultBootstrapMaterialCss",(function(){return s["defaultBootstrapMaterialCss"]}));var a=n(/*! ../defaultCss/cssmodern */"./src/defaultCss/cssmodern.ts");n.d(t,"modernCss",(function(){return a["modernCss"]}));var l=n(/*! ../rendererFactory */"./src/rendererFactory.ts");n.d(t,"RendererFactory",(function(){return l["RendererFactory"]}));var u=n(/*! ../utils/responsivitymanager */"./src/utils/responsivitymanager.ts");n.d(t,"ResponsivityManager",(function(){return u["ResponsivityManager"]})),n.d(t,"VerticalResponsivityManager",(function(){return u["VerticalResponsivityManager"]}));var c=n(/*! ../utils/utils */"./src/utils/utils.ts");n.d(t,"unwrap",(function(){return c["unwrap"]}))},"./src/entries/vue-ui.ts": /*!*******************************!*\ !*** ./src/entries/vue-ui.ts ***! \*******************************/ /*! exports provided: Model, WindowModel, Survey, CustomWidget, SurveyString, SurveyStringViewer, SurveyStringEditor, SurveyElementVue, Window, Page, Radiogroup, RadiogroupItem, OtherChoice, Rating, Comment, Ranking, RankingItem, Checkbox, CheckboxItem, ButtonGroup, ButtonGroupItem, QuestionText, Boolean, BooleanSwitch, BooleanCheckbox, Empty, MultipleText, Matrix, Dropdown, File, MatrixCell, MatrixTable, MatrixDropdown, MatrixDynamic, Errors, Html, Expression, ImagePicker, PanelDynamic, PanelDynamicRemove, PanelDynamicProgress, Navigation, Progress, ProgressButtons, TimerPanel, Panel, FlowPanel, FlowPanelElement, Row, ElementHeader, QuestionImage, SignaturePad, SurveyHeader, Custom, Composite, DragDropTD, TitleContent, TitleActions, DefaultTitle, ActionBarViewModel, SvgIcon, Popup, List, SurveyQuestionMatrixDynamicRemoveButton, SurveyQuestionMatrixDetailButton */function(e,t,n){"use strict";n.r(t);var r=n(/*! ../vue/surveyModel */"./src/vue/surveyModel.ts");n.d(t,"Model",(function(){return r["VueSurveyModel"]})),n.d(t,"WindowModel",(function(){return r["VueSurveyWindowModel"]}));var o=n(/*! ../vue/survey.vue */"./src/vue/survey.vue");n.d(t,"Survey",(function(){return o["Survey"]}));var i=n(/*! ../vue/customwidget.vue */"./src/vue/customwidget.vue");n.d(t,"CustomWidget",(function(){return i["CustomWidget"]}));var s=n(/*! ../vue/string.vue */"./src/vue/string.vue");n.d(t,"SurveyString",(function(){return s["SurveyString"]}));var a=n(/*! ../vue/string-viewer.vue */"./src/vue/string-viewer.vue");n.d(t,"SurveyStringViewer",(function(){return a["SurveyStringViewer"]}));var l=n(/*! ../vue/string-editor.vue */"./src/vue/string-editor.vue");n.d(t,"SurveyStringEditor",(function(){return l["SurveyStringEditor"]}));var u=n(/*! ../vue/element.vue */"./src/vue/element.vue");n.d(t,"SurveyElementVue",(function(){return u["SurveyElementVue"]}));var c=n(/*! ../vue/window.vue */"./src/vue/window.vue");n.d(t,"Window",(function(){return c["Window"]}));var d=n(/*! ../vue/page.vue */"./src/vue/page.vue");n.d(t,"Page",(function(){return d["Page"]}));var p=n(/*! ../vue/radiogroup.vue */"./src/vue/radiogroup.vue");n.d(t,"Radiogroup",(function(){return p["Radiogroup"]}));var h=n(/*! ../vue/radiogroupitem.vue */"./src/vue/radiogroupitem.vue");n.d(t,"RadiogroupItem",(function(){return h["RadiogroupItem"]}));var f=n(/*! ../vue/otherChoice.vue */"./src/vue/otherChoice.vue");n.d(t,"OtherChoice",(function(){return f["OtherChoice"]}));var m=n(/*! ../vue/rating.vue */"./src/vue/rating.vue");n.d(t,"Rating",(function(){return m["Rating"]}));var v=n(/*! ../vue/comment.vue */"./src/vue/comment.vue");n.d(t,"Comment",(function(){return v["Comment"]}));var g=n(/*! ../vue/ranking/ranking.vue */"./src/vue/ranking/ranking.vue");n.d(t,"Ranking",(function(){return g["Ranking"]}));var y=n(/*! ../vue/ranking/ranking-item.vue */"./src/vue/ranking/ranking-item.vue");n.d(t,"RankingItem",(function(){return y["RankingItem"]}));var b=n(/*! ../vue/checkbox.vue */"./src/vue/checkbox.vue");n.d(t,"Checkbox",(function(){return b["Checkbox"]}));var x=n(/*! ../vue/checkboxitem.vue */"./src/vue/checkboxitem.vue");n.d(t,"CheckboxItem",(function(){return x["CheckboxItem"]}));var w=n(/*! ../vue/buttongroup.vue */"./src/vue/buttongroup.vue");n.d(t,"ButtonGroup",(function(){return w["ButtonGroup"]}));var _=n(/*! ../vue/buttongroupitem.vue */"./src/vue/buttongroupitem.vue");n.d(t,"ButtonGroupItem",(function(){return _["ButtonGroupItem"]}));var C=n(/*! ../vue/text.vue */"./src/vue/text.vue");n.d(t,"QuestionText",(function(){return C["QuestionText"]}));var P=n(/*! ../vue/boolean */"./src/vue/boolean.ts");n.d(t,"Boolean",(function(){return P["Boolean"]}));var S=n(/*! ../vue/boolean-switch.vue */"./src/vue/boolean-switch.vue");n.d(t,"BooleanSwitch",(function(){return S["BooleanSwitch"]}));var O=n(/*! ../vue/boolean-checkbox.vue */"./src/vue/boolean-checkbox.vue");n.d(t,"BooleanCheckbox",(function(){return O["BooleanCheckbox"]}));var T=n(/*! ../vue/empty.vue */"./src/vue/empty.vue");n.d(t,"Empty",(function(){return T["Empty"]}));var V=n(/*! ../vue/multipletext.vue */"./src/vue/multipletext.vue");n.d(t,"MultipleText",(function(){return V["MultipleText"]}));var k=n(/*! ../vue/matrix.vue */"./src/vue/matrix.vue");n.d(t,"Matrix",(function(){return k["Matrix"]}));var E=n(/*! ../vue/dropdown.vue */"./src/vue/dropdown.vue");n.d(t,"Dropdown",(function(){return E["Dropdown"]}));var R=n(/*! ../vue/file.vue */"./src/vue/file.vue");n.d(t,"File",(function(){return R["File"]}));var j=n(/*! ../vue/matrixcell.vue */"./src/vue/matrixcell.vue");n.d(t,"MatrixCell",(function(){return j["MatrixCell"]}));var I=n(/*! ../vue/matrixtable.vue */"./src/vue/matrixtable.vue");n.d(t,"MatrixTable",(function(){return I["MatrixTable"]}));var D=n(/*! ../vue/matrixdropdown.vue */"./src/vue/matrixdropdown.vue");n.d(t,"MatrixDropdown",(function(){return D["MatrixDropdown"]}));var q=n(/*! ../vue/matrixdynamic.vue */"./src/vue/matrixdynamic.vue");n.d(t,"MatrixDynamic",(function(){return q["MatrixDynamic"]}));var A=n(/*! ../vue/errors.vue */"./src/vue/errors.vue");n.d(t,"Errors",(function(){return A["Errors"]}));var M=n(/*! ../vue/html.vue */"./src/vue/html.vue");n.d(t,"Html",(function(){return M["Html"]}));var L=n(/*! ../vue/expression.vue */"./src/vue/expression.vue");n.d(t,"Expression",(function(){return L["Expression"]}));var N=n(/*! ../vue/imagepicker.vue */"./src/vue/imagepicker.vue");n.d(t,"ImagePicker",(function(){return N["ImagePicker"]}));var F=n(/*! ../vue/paneldynamic.vue */"./src/vue/paneldynamic.vue");n.d(t,"PanelDynamic",(function(){return F["PanelDynamic"]}));var z=n(/*! ../vue/paneldynamicremove.vue */"./src/vue/paneldynamicremove.vue");n.d(t,"PanelDynamicRemove",(function(){return z["PanelDynamicRemove"]}));var B=n(/*! ../vue/paneldynamicprogress.vue */"./src/vue/paneldynamicprogress.vue");n.d(t,"PanelDynamicProgress",(function(){return B["PanelDynamicProgress"]}));var Q=n(/*! ../vue/navigation.vue */"./src/vue/navigation.vue");n.d(t,"Navigation",(function(){return Q["Navigation"]}));var H=n(/*! ../vue/progress.vue */"./src/vue/progress.vue");n.d(t,"Progress",(function(){return H["Progress"]}));var U=n(/*! ../vue/progressButtons.vue */"./src/vue/progressButtons.vue");n.d(t,"ProgressButtons",(function(){return U["ProgressButtons"]}));var $=n(/*! ../vue/timerpanel.vue */"./src/vue/timerpanel.vue");n.d(t,"TimerPanel",(function(){return $["TimerPanel"]}));var W=n(/*! ../vue/panel.vue */"./src/vue/panel.vue");n.d(t,"Panel",(function(){return W["Panel"]}));var J=n(/*! ../vue/flowpanel.vue */"./src/vue/flowpanel.vue");n.d(t,"FlowPanel",(function(){return J["FlowPanel"]}));var G=n(/*! ../vue/flowpanelelement.vue */"./src/vue/flowpanelelement.vue");n.d(t,"FlowPanelElement",(function(){return G["FlowPanelElement"]}));var K=n(/*! ../vue/row.vue */"./src/vue/row.vue");n.d(t,"Row",(function(){return K["Row"]}));var X=n(/*! ../vue/elementheader.vue */"./src/vue/elementheader.vue");n.d(t,"ElementHeader",(function(){return X["ElementHeader"]}));var Y=n(/*! ../vue/image.vue */"./src/vue/image.vue");n.d(t,"QuestionImage",(function(){return Y["QuestionImage"]}));var Z=n(/*! ../vue/signaturepad.vue */"./src/vue/signaturepad.vue");n.d(t,"SignaturePad",(function(){return Z["SignaturePad"]}));var ee=n(/*! ../vue/header.vue */"./src/vue/header.vue");n.d(t,"SurveyHeader",(function(){return ee["SurveyHeader"]}));var te=n(/*! ../vue/custom.vue */"./src/vue/custom.vue");n.d(t,"Custom",(function(){return te["Custom"]}));var ne=n(/*! ../vue/composite.vue */"./src/vue/composite.vue");n.d(t,"Composite",(function(){return ne["Composite"]}));var re=n(/*! ../vue/drag-drop-td.vue */"./src/vue/drag-drop-td.vue");n.d(t,"DragDropTD",(function(){return re["DragDropTD"]}));var oe=n(/*! ../vue/titlecontent.vue */"./src/vue/titlecontent.vue");n.d(t,"TitleContent",(function(){return oe["TitleContent"]}));var ie=n(/*! ../vue/components/title-actions/title-actions.vue */"./src/vue/components/title-actions/title-actions.vue");n.d(t,"TitleActions",(function(){return ie["TitleActions"]}));var se=n(/*! ../vue/components/default-title/default-title.vue */"./src/vue/components/default-title/default-title.vue");n.d(t,"DefaultTitle",(function(){return se["DefaultTitle"]}));var ae=n(/*! ../vue/components/action-bar/action-bar.vue */"./src/vue/components/action-bar/action-bar.vue");n.d(t,"ActionBarViewModel",(function(){return ae["ActionBarViewModel"]}));var le=n(/*! ../vue/components/svg-icon/svg-icon.vue */"./src/vue/components/svg-icon/svg-icon.vue");n.d(t,"SvgIcon",(function(){return le["SvgIcon"]}));var ue=n(/*! ../vue/components/popup/popup.vue */"./src/vue/components/popup/popup.vue");n.d(t,"Popup",(function(){return ue["Popup"]}));var ce=n(/*! ../vue/components/list/list.vue */"./src/vue/components/list/list.vue");n.d(t,"List",(function(){return ce["List"]}));var de=n(/*! ../vue/components/matrix-actions/remove-button/remove-button.vue */"./src/vue/components/matrix-actions/remove-button/remove-button.vue");n.d(t,"SurveyQuestionMatrixDynamicRemoveButton",(function(){return de["SurveyQuestionMatrixDynamicRemoveButton"]}));var pe=n(/*! ../vue/components/matrix-actions/detail-button/detail-button.vue */"./src/vue/components/matrix-actions/detail-button/detail-button.vue");n.d(t,"SurveyQuestionMatrixDetailButton",(function(){return pe["SurveyQuestionMatrixDetailButton"]}))},"./src/entries/vue.ts": /*!****************************!*\ !*** ./src/entries/vue.ts ***! \****************************/ /*! exports provided: Version, settings, Helpers, AnswerCountValidator, EmailValidator, NumericValidator, RegexValidator, SurveyValidator, TextValidator, ValidatorResult, ExpressionValidator, ValidatorRunner, ItemValue, Base, Event, SurveyError, SurveyElement, ArrayChanges, CalculatedValue, CustomError, AnswerRequiredError, OneAnswerRequiredError, RequreNumericError, ExceedSizeError, LocalizableString, LocalizableStrings, HtmlConditionItem, UrlConditionItem, ChoicesRestful, ChoicesRestfull, FunctionFactory, registerFunction, ConditionRunner, ExpressionRunner, Operand, Const, BinaryOperand, Variable, FunctionOperand, ArrayOperand, ConditionsParser, ProcessValue, JsonError, JsonIncorrectTypeError, JsonMetadata, JsonMetadataClass, JsonMissingTypeError, JsonMissingTypeErrorBase, JsonObject, JsonObjectProperty, JsonRequiredPropertyError, JsonUnknownPropertyError, Serializer, property, propertyArray, MatrixDropdownCell, MatrixDropdownColumn, matrixDropdownColumnTypes, MatrixDropdownRowModelBase, QuestionMatrixDropdownModelBase, QuestionMatrixDropdownRenderedCell, QuestionMatrixDropdownRenderedRow, QuestionMatrixDropdownRenderedTable, MatrixDropdownRowModel, QuestionMatrixDropdownModel, MatrixDynamicRowModel, QuestionMatrixDynamicModel, MatrixRowModel, MatrixCells, QuestionMatrixModel, MultipleTextItemModel, QuestionMultipleTextModel, PanelModel, PanelModelBase, QuestionRowModel, FlowPanelModel, PageModel, Question, QuestionNonValue, QuestionEmptyModel, QuestionCheckboxBase, QuestionSelectBase, QuestionCheckboxModel, QuestionRankingModel, QuestionCommentModel, QuestionDropdownModel, QuestionFactory, ElementFactory, QuestionFileModel, QuestionHtmlModel, QuestionRadiogroupModel, QuestionRatingModel, QuestionExpressionModel, QuestionTextModel, QuestionBooleanModel, QuestionImagePickerModel, ImageItemValue, QuestionImageModel, QuestionSignaturePadModel, QuestionPanelDynamicModel, QuestionPanelDynamicItem, SurveyTimer, SurveyProgressButtonsModel, SurveyModel, SurveyTrigger, SurveyTriggerComplete, SurveyTriggerSetValue, SurveyTriggerVisible, SurveyTriggerCopyValue, SurveyTriggerRunExpression, Trigger, SurveyWindowModel, TextPreProcessor, dxSurveyService, englishStrings, surveyLocalization, surveyStrings, QuestionCustomWidget, CustomWidgetCollection, QuestionCustomModel, QuestionCompositeModel, ComponentQuestionJSON, ComponentCollection, StylesManager, ActionBarItem, ActionBar, AdaptiveActionBarItemWrapper, AdaptiveElement, ListModel, PopupModel, PopupBaseViewModel, QuestionButtonGroupModel, ButtonGroupItemModel, ButtonGroupItemValue, IsMobile, confirmAction, detectIEOrEdge, loadFileFromBase64, createSvg, surveyCss, defaultStandardCss, defaultBootstrapCss, defaultBootstrapMaterialCss, modernCss, RendererFactory, ResponsivityManager, VerticalResponsivityManager, unwrap, Model, WindowModel, Survey, CustomWidget, SurveyString, SurveyStringViewer, SurveyStringEditor, SurveyElementVue, Window, Page, Radiogroup, RadiogroupItem, OtherChoice, Rating, Comment, Ranking, RankingItem, Checkbox, CheckboxItem, ButtonGroup, ButtonGroupItem, QuestionText, Boolean, BooleanSwitch, BooleanCheckbox, Empty, MultipleText, Matrix, Dropdown, File, MatrixCell, MatrixTable, MatrixDropdown, MatrixDynamic, Errors, Html, Expression, ImagePicker, PanelDynamic, PanelDynamicRemove, PanelDynamicProgress, Navigation, Progress, ProgressButtons, TimerPanel, Panel, FlowPanel, FlowPanelElement, Row, ElementHeader, QuestionImage, SignaturePad, SurveyHeader, Custom, Composite, DragDropTD, TitleContent, TitleActions, DefaultTitle, ActionBarViewModel, SvgIcon, Popup, List, SurveyQuestionMatrixDynamicRemoveButton, SurveyQuestionMatrixDetailButton */function(e,t,n){"use strict";n.r(t);var r=n(/*! ./core */"./src/entries/core.ts");n.d(t,"Version",(function(){return r["Version"]})),n.d(t,"settings",(function(){return r["settings"]})),n.d(t,"Helpers",(function(){return r["Helpers"]})),n.d(t,"AnswerCountValidator",(function(){return r["AnswerCountValidator"]})),n.d(t,"EmailValidator",(function(){return r["EmailValidator"]})),n.d(t,"NumericValidator",(function(){return r["NumericValidator"]})),n.d(t,"RegexValidator",(function(){return r["RegexValidator"]})),n.d(t,"SurveyValidator",(function(){return r["SurveyValidator"]})),n.d(t,"TextValidator",(function(){return r["TextValidator"]})),n.d(t,"ValidatorResult",(function(){return r["ValidatorResult"]})),n.d(t,"ExpressionValidator",(function(){return r["ExpressionValidator"]})),n.d(t,"ValidatorRunner",(function(){return r["ValidatorRunner"]})),n.d(t,"ItemValue",(function(){return r["ItemValue"]})),n.d(t,"Base",(function(){return r["Base"]})),n.d(t,"Event",(function(){return r["Event"]})),n.d(t,"SurveyError",(function(){return r["SurveyError"]})),n.d(t,"SurveyElement",(function(){return r["SurveyElement"]})),n.d(t,"ArrayChanges",(function(){return r["ArrayChanges"]})),n.d(t,"CalculatedValue",(function(){return r["CalculatedValue"]})),n.d(t,"CustomError",(function(){return r["CustomError"]})),n.d(t,"AnswerRequiredError",(function(){return r["AnswerRequiredError"]})),n.d(t,"OneAnswerRequiredError",(function(){return r["OneAnswerRequiredError"]})),n.d(t,"RequreNumericError",(function(){return r["RequreNumericError"]})),n.d(t,"ExceedSizeError",(function(){return r["ExceedSizeError"]})),n.d(t,"LocalizableString",(function(){return r["LocalizableString"]})),n.d(t,"LocalizableStrings",(function(){return r["LocalizableStrings"]})),n.d(t,"HtmlConditionItem",(function(){return r["HtmlConditionItem"]})),n.d(t,"UrlConditionItem",(function(){return r["UrlConditionItem"]})),n.d(t,"ChoicesRestful",(function(){return r["ChoicesRestful"]})),n.d(t,"ChoicesRestfull",(function(){return r["ChoicesRestfull"]})),n.d(t,"FunctionFactory",(function(){return r["FunctionFactory"]})),n.d(t,"registerFunction",(function(){return r["registerFunction"]})),n.d(t,"ConditionRunner",(function(){return r["ConditionRunner"]})),n.d(t,"ExpressionRunner",(function(){return r["ExpressionRunner"]})),n.d(t,"Operand",(function(){return r["Operand"]})),n.d(t,"Const",(function(){return r["Const"]})),n.d(t,"BinaryOperand",(function(){return r["BinaryOperand"]})),n.d(t,"Variable",(function(){return r["Variable"]})),n.d(t,"FunctionOperand",(function(){return r["FunctionOperand"]})),n.d(t,"ArrayOperand",(function(){return r["ArrayOperand"]})),n.d(t,"ConditionsParser",(function(){return r["ConditionsParser"]})),n.d(t,"ProcessValue",(function(){return r["ProcessValue"]})),n.d(t,"JsonError",(function(){return r["JsonError"]})),n.d(t,"JsonIncorrectTypeError",(function(){return r["JsonIncorrectTypeError"]})),n.d(t,"JsonMetadata",(function(){return r["JsonMetadata"]})),n.d(t,"JsonMetadataClass",(function(){return r["JsonMetadataClass"]})),n.d(t,"JsonMissingTypeError",(function(){return r["JsonMissingTypeError"]})),n.d(t,"JsonMissingTypeErrorBase",(function(){return r["JsonMissingTypeErrorBase"]})),n.d(t,"JsonObject",(function(){return r["JsonObject"]})),n.d(t,"JsonObjectProperty",(function(){return r["JsonObjectProperty"]})),n.d(t,"JsonRequiredPropertyError",(function(){return r["JsonRequiredPropertyError"]})),n.d(t,"JsonUnknownPropertyError",(function(){return r["JsonUnknownPropertyError"]})),n.d(t,"Serializer",(function(){return r["Serializer"]})),n.d(t,"property",(function(){return r["property"]})),n.d(t,"propertyArray",(function(){return r["propertyArray"]})),n.d(t,"MatrixDropdownCell",(function(){return r["MatrixDropdownCell"]})),n.d(t,"MatrixDropdownColumn",(function(){return r["MatrixDropdownColumn"]})),n.d(t,"matrixDropdownColumnTypes",(function(){return r["matrixDropdownColumnTypes"]})),n.d(t,"MatrixDropdownRowModelBase",(function(){return r["MatrixDropdownRowModelBase"]})),n.d(t,"QuestionMatrixDropdownModelBase",(function(){return r["QuestionMatrixDropdownModelBase"]})),n.d(t,"QuestionMatrixDropdownRenderedCell",(function(){return r["QuestionMatrixDropdownRenderedCell"]})),n.d(t,"QuestionMatrixDropdownRenderedRow",(function(){return r["QuestionMatrixDropdownRenderedRow"]})),n.d(t,"QuestionMatrixDropdownRenderedTable",(function(){return r["QuestionMatrixDropdownRenderedTable"]})),n.d(t,"MatrixDropdownRowModel",(function(){return r["MatrixDropdownRowModel"]})),n.d(t,"QuestionMatrixDropdownModel",(function(){return r["QuestionMatrixDropdownModel"]})),n.d(t,"MatrixDynamicRowModel",(function(){return r["MatrixDynamicRowModel"]})),n.d(t,"QuestionMatrixDynamicModel",(function(){return r["QuestionMatrixDynamicModel"]})),n.d(t,"MatrixRowModel",(function(){return r["MatrixRowModel"]})),n.d(t,"MatrixCells",(function(){return r["MatrixCells"]})),n.d(t,"QuestionMatrixModel",(function(){return r["QuestionMatrixModel"]})),n.d(t,"MultipleTextItemModel",(function(){return r["MultipleTextItemModel"]})),n.d(t,"QuestionMultipleTextModel",(function(){return r["QuestionMultipleTextModel"]})),n.d(t,"PanelModel",(function(){return r["PanelModel"]})),n.d(t,"PanelModelBase",(function(){return r["PanelModelBase"]})),n.d(t,"QuestionRowModel",(function(){return r["QuestionRowModel"]})),n.d(t,"FlowPanelModel",(function(){return r["FlowPanelModel"]})),n.d(t,"PageModel",(function(){return r["PageModel"]})),n.d(t,"Question",(function(){return r["Question"]})),n.d(t,"QuestionNonValue",(function(){return r["QuestionNonValue"]})),n.d(t,"QuestionEmptyModel",(function(){return r["QuestionEmptyModel"]})),n.d(t,"QuestionCheckboxBase",(function(){return r["QuestionCheckboxBase"]})),n.d(t,"QuestionSelectBase",(function(){return r["QuestionSelectBase"]})),n.d(t,"QuestionCheckboxModel",(function(){return r["QuestionCheckboxModel"]})),n.d(t,"QuestionRankingModel",(function(){return r["QuestionRankingModel"]})),n.d(t,"QuestionCommentModel",(function(){return r["QuestionCommentModel"]})),n.d(t,"QuestionDropdownModel",(function(){return r["QuestionDropdownModel"]})),n.d(t,"QuestionFactory",(function(){return r["QuestionFactory"]})),n.d(t,"ElementFactory",(function(){return r["ElementFactory"]})),n.d(t,"QuestionFileModel",(function(){return r["QuestionFileModel"]})),n.d(t,"QuestionHtmlModel",(function(){return r["QuestionHtmlModel"]})),n.d(t,"QuestionRadiogroupModel",(function(){return r["QuestionRadiogroupModel"]})),n.d(t,"QuestionRatingModel",(function(){return r["QuestionRatingModel"]})),n.d(t,"QuestionExpressionModel",(function(){return r["QuestionExpressionModel"]})),n.d(t,"QuestionTextModel",(function(){return r["QuestionTextModel"]})),n.d(t,"QuestionBooleanModel",(function(){return r["QuestionBooleanModel"]})),n.d(t,"QuestionImagePickerModel",(function(){return r["QuestionImagePickerModel"]})),n.d(t,"ImageItemValue",(function(){return r["ImageItemValue"]})),n.d(t,"QuestionImageModel",(function(){return r["QuestionImageModel"]})),n.d(t,"QuestionSignaturePadModel",(function(){return r["QuestionSignaturePadModel"]})),n.d(t,"QuestionPanelDynamicModel",(function(){return r["QuestionPanelDynamicModel"]})),n.d(t,"QuestionPanelDynamicItem",(function(){return r["QuestionPanelDynamicItem"]})),n.d(t,"SurveyTimer",(function(){return r["SurveyTimer"]})),n.d(t,"SurveyProgressButtonsModel",(function(){return r["SurveyProgressButtonsModel"]})),n.d(t,"SurveyModel",(function(){return r["SurveyModel"]})),n.d(t,"SurveyTrigger",(function(){return r["SurveyTrigger"]})),n.d(t,"SurveyTriggerComplete",(function(){return r["SurveyTriggerComplete"]})),n.d(t,"SurveyTriggerSetValue",(function(){return r["SurveyTriggerSetValue"]})),n.d(t,"SurveyTriggerVisible",(function(){return r["SurveyTriggerVisible"]})),n.d(t,"SurveyTriggerCopyValue",(function(){return r["SurveyTriggerCopyValue"]})),n.d(t,"SurveyTriggerRunExpression",(function(){return r["SurveyTriggerRunExpression"]})),n.d(t,"Trigger",(function(){return r["Trigger"]})),n.d(t,"SurveyWindowModel",(function(){return r["SurveyWindowModel"]})),n.d(t,"TextPreProcessor",(function(){return r["TextPreProcessor"]})),n.d(t,"dxSurveyService",(function(){return r["dxSurveyService"]})),n.d(t,"englishStrings",(function(){return r["englishStrings"]})),n.d(t,"surveyLocalization",(function(){return r["surveyLocalization"]})),n.d(t,"surveyStrings",(function(){return r["surveyStrings"]})),n.d(t,"QuestionCustomWidget",(function(){return r["QuestionCustomWidget"]})),n.d(t,"CustomWidgetCollection",(function(){return r["CustomWidgetCollection"]})),n.d(t,"QuestionCustomModel",(function(){return r["QuestionCustomModel"]})),n.d(t,"QuestionCompositeModel",(function(){return r["QuestionCompositeModel"]})),n.d(t,"ComponentQuestionJSON",(function(){return r["ComponentQuestionJSON"]})),n.d(t,"ComponentCollection",(function(){return r["ComponentCollection"]})),n.d(t,"StylesManager",(function(){return r["StylesManager"]})),n.d(t,"ActionBarItem",(function(){return r["ActionBarItem"]})),n.d(t,"ActionBar",(function(){return r["ActionBar"]})),n.d(t,"AdaptiveActionBarItemWrapper",(function(){return r["AdaptiveActionBarItemWrapper"]})),n.d(t,"AdaptiveElement",(function(){return r["AdaptiveElement"]})),n.d(t,"ListModel",(function(){return r["ListModel"]})),n.d(t,"PopupModel",(function(){return r["PopupModel"]})),n.d(t,"PopupBaseViewModel",(function(){return r["PopupBaseViewModel"]})),n.d(t,"QuestionButtonGroupModel",(function(){return r["QuestionButtonGroupModel"]})),n.d(t,"ButtonGroupItemModel",(function(){return r["ButtonGroupItemModel"]})),n.d(t,"ButtonGroupItemValue",(function(){return r["ButtonGroupItemValue"]})),n.d(t,"IsMobile",(function(){return r["IsMobile"]})),n.d(t,"confirmAction",(function(){return r["confirmAction"]})),n.d(t,"detectIEOrEdge",(function(){return r["detectIEOrEdge"]})),n.d(t,"loadFileFromBase64",(function(){return r["loadFileFromBase64"]})),n.d(t,"createSvg",(function(){return r["createSvg"]})),n.d(t,"surveyCss",(function(){return r["surveyCss"]})),n.d(t,"defaultStandardCss",(function(){return r["defaultStandardCss"]})),n.d(t,"defaultBootstrapCss",(function(){return r["defaultBootstrapCss"]})),n.d(t,"defaultBootstrapMaterialCss",(function(){return r["defaultBootstrapMaterialCss"]})),n.d(t,"modernCss",(function(){return r["modernCss"]})),n.d(t,"RendererFactory",(function(){return r["RendererFactory"]})),n.d(t,"ResponsivityManager",(function(){return r["ResponsivityManager"]})),n.d(t,"VerticalResponsivityManager",(function(){return r["VerticalResponsivityManager"]})),n.d(t,"unwrap",(function(){return r["unwrap"]}));var o=n(/*! ./vue-ui */"./src/entries/vue-ui.ts");n.d(t,"Model",(function(){return o["Model"]})),n.d(t,"WindowModel",(function(){return o["WindowModel"]})),n.d(t,"Survey",(function(){return o["Survey"]})),n.d(t,"CustomWidget",(function(){return o["CustomWidget"]})),n.d(t,"SurveyString",(function(){return o["SurveyString"]})),n.d(t,"SurveyStringViewer",(function(){return o["SurveyStringViewer"]})),n.d(t,"SurveyStringEditor",(function(){return o["SurveyStringEditor"]})),n.d(t,"SurveyElementVue",(function(){return o["SurveyElementVue"]})),n.d(t,"Window",(function(){return o["Window"]})),n.d(t,"Page",(function(){return o["Page"]})),n.d(t,"Radiogroup",(function(){return o["Radiogroup"]})),n.d(t,"RadiogroupItem",(function(){return o["RadiogroupItem"]})),n.d(t,"OtherChoice",(function(){return o["OtherChoice"]})),n.d(t,"Rating",(function(){return o["Rating"]})),n.d(t,"Comment",(function(){return o["Comment"]})),n.d(t,"Ranking",(function(){return o["Ranking"]})),n.d(t,"RankingItem",(function(){return o["RankingItem"]})),n.d(t,"Checkbox",(function(){return o["Checkbox"]})),n.d(t,"CheckboxItem",(function(){return o["CheckboxItem"]})),n.d(t,"ButtonGroup",(function(){return o["ButtonGroup"]})),n.d(t,"ButtonGroupItem",(function(){return o["ButtonGroupItem"]})),n.d(t,"QuestionText",(function(){return o["QuestionText"]})),n.d(t,"Boolean",(function(){return o["Boolean"]})),n.d(t,"BooleanSwitch",(function(){return o["BooleanSwitch"]})),n.d(t,"BooleanCheckbox",(function(){return o["BooleanCheckbox"]})),n.d(t,"Empty",(function(){return o["Empty"]})),n.d(t,"MultipleText",(function(){return o["MultipleText"]})),n.d(t,"Matrix",(function(){return o["Matrix"]})),n.d(t,"Dropdown",(function(){return o["Dropdown"]})),n.d(t,"File",(function(){return o["File"]})),n.d(t,"MatrixCell",(function(){return o["MatrixCell"]})),n.d(t,"MatrixTable",(function(){return o["MatrixTable"]})),n.d(t,"MatrixDropdown",(function(){return o["MatrixDropdown"]})),n.d(t,"MatrixDynamic",(function(){return o["MatrixDynamic"]})),n.d(t,"Errors",(function(){return o["Errors"]})),n.d(t,"Html",(function(){return o["Html"]})),n.d(t,"Expression",(function(){return o["Expression"]})),n.d(t,"ImagePicker",(function(){return o["ImagePicker"]})),n.d(t,"PanelDynamic",(function(){return o["PanelDynamic"]})),n.d(t,"PanelDynamicRemove",(function(){return o["PanelDynamicRemove"]})),n.d(t,"PanelDynamicProgress",(function(){return o["PanelDynamicProgress"]})),n.d(t,"Navigation",(function(){return o["Navigation"]})),n.d(t,"Progress",(function(){return o["Progress"]})),n.d(t,"ProgressButtons",(function(){return o["ProgressButtons"]})),n.d(t,"TimerPanel",(function(){return o["TimerPanel"]})),n.d(t,"Panel",(function(){return o["Panel"]})),n.d(t,"FlowPanel",(function(){return o["FlowPanel"]})),n.d(t,"FlowPanelElement",(function(){return o["FlowPanelElement"]})),n.d(t,"Row",(function(){return o["Row"]})),n.d(t,"ElementHeader",(function(){return o["ElementHeader"]})),n.d(t,"QuestionImage",(function(){return o["QuestionImage"]})),n.d(t,"SignaturePad",(function(){return o["SignaturePad"]})),n.d(t,"SurveyHeader",(function(){return o["SurveyHeader"]})),n.d(t,"Custom",(function(){return o["Custom"]})),n.d(t,"Composite",(function(){return o["Composite"]})),n.d(t,"DragDropTD",(function(){return o["DragDropTD"]})),n.d(t,"TitleContent",(function(){return o["TitleContent"]})),n.d(t,"TitleActions",(function(){return o["TitleActions"]})),n.d(t,"DefaultTitle",(function(){return o["DefaultTitle"]})),n.d(t,"ActionBarViewModel",(function(){return o["ActionBarViewModel"]})),n.d(t,"SvgIcon",(function(){return o["SvgIcon"]})),n.d(t,"Popup",(function(){return o["Popup"]})),n.d(t,"List",(function(){return o["List"]})),n.d(t,"SurveyQuestionMatrixDynamicRemoveButton",(function(){return o["SurveyQuestionMatrixDynamicRemoveButton"]})),n.d(t,"SurveyQuestionMatrixDetailButton",(function(){return o["SurveyQuestionMatrixDetailButton"]}))},"./src/error.ts": /*!**********************!*\ !*** ./src/error.ts ***! \**********************/ /*! exports provided: AnswerRequiredError, OneAnswerRequiredError, RequreNumericError, ExceedSizeError, WebRequestError, WebRequestEmptyError, OtherEmptyError, UploadingFileError, RequiredInAllRowsError, MinRowCountError, KeyDuplicationError, CustomError */function(e,t,n){"use strict";n.r(t),n.d(t,"AnswerRequiredError",(function(){return s})),n.d(t,"OneAnswerRequiredError",(function(){return a})),n.d(t,"RequreNumericError",(function(){return l})),n.d(t,"ExceedSizeError",(function(){return u})),n.d(t,"WebRequestError",(function(){return c})),n.d(t,"WebRequestEmptyError",(function(){return d})),n.d(t,"OtherEmptyError",(function(){return p})),n.d(t,"UploadingFileError",(function(){return h})),n.d(t,"RequiredInAllRowsError",(function(){return f})),n.d(t,"MinRowCountError",(function(){return m})),n.d(t,"KeyDuplicationError",(function(){return v})),n.d(t,"CustomError",(function(){return g}));var r=n(/*! ./surveyStrings */"./src/surveyStrings.ts"),o=n(/*! ./base */"./src/base.ts"),i=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){if("function"!==typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),s=function(e){function t(t,n){void 0===t&&(t=null),void 0===n&&(n=null);var r=e.call(this,t,n)||this;return r.text=t,r}return i(t,e),t.prototype.getErrorType=function(){return"required"},t.prototype.getDefaultText=function(){return r["surveyLocalization"].getString("requiredError")},t}(o["SurveyError"]),a=function(e){function t(t,n){void 0===t&&(t=null),void 0===n&&(n=null);var r=e.call(this,t,n)||this;return r.text=t,r}return i(t,e),t.prototype.getErrorType=function(){return"requireoneanswer"},t.prototype.getDefaultText=function(){return r["surveyLocalization"].getString("requiredErrorInPanel")},t}(o["SurveyError"]),l=function(e){function t(t,n){void 0===t&&(t=null),void 0===n&&(n=null);var r=e.call(this,t,n)||this;return r.text=t,r}return i(t,e),t.prototype.getErrorType=function(){return"requirenumeric"},t.prototype.getDefaultText=function(){return r["surveyLocalization"].getString("numericError")},t}(o["SurveyError"]),u=function(e){function t(t,n){void 0===n&&(n=null);var r=e.call(this,null,n)||this;return r.maxSize=t,r.locText.text=r.getText(),r}return i(t,e),t.prototype.getErrorType=function(){return"exceedsize"},t.prototype.getDefaultText=function(){return r["surveyLocalization"].getString("exceedMaxSize")["format"](this.getTextSize())},t.prototype.getTextSize=function(){var e=["Bytes","KB","MB","GB","TB"],t=[0,0,2,3,3];if(0===this.maxSize)return"0 Byte";var n=Math.floor(Math.log(this.maxSize)/Math.log(1024)),r=this.maxSize/Math.pow(1024,n);return r.toFixed(t[n])+" "+e[n]},t}(o["SurveyError"]),c=function(e){function t(t,n,r){void 0===r&&(r=null);var o=e.call(this,null,r)||this;return o.status=t,o.response=n,o}return i(t,e),t.prototype.getErrorType=function(){return"webrequest"},t.prototype.getDefaultText=function(){return r["surveyLocalization"].getString("urlRequestError")["format"](this.status,this.response)},t}(o["SurveyError"]),d=function(e){function t(t,n){void 0===n&&(n=null);var r=e.call(this,t,n)||this;return r.text=t,r}return i(t,e),t.prototype.getErrorType=function(){return"webrequestempty"},t.prototype.getDefaultText=function(){return r["surveyLocalization"].getString("urlGetChoicesError")},t}(o["SurveyError"]),p=function(e){function t(t,n){void 0===n&&(n=null);var r=e.call(this,t,n)||this;return r.text=t,r}return i(t,e),t.prototype.getErrorType=function(){return"otherempty"},t.prototype.getDefaultText=function(){return r["surveyLocalization"].getString("otherRequiredError")},t}(o["SurveyError"]),h=function(e){function t(t,n){void 0===n&&(n=null);var r=e.call(this,t,n)||this;return r.text=t,r}return i(t,e),t.prototype.getErrorType=function(){return"uploadingfile"},t.prototype.getDefaultText=function(){return r["surveyLocalization"].getString("uploadingFile")},t}(o["SurveyError"]),f=function(e){function t(t,n){void 0===n&&(n=null);var r=e.call(this,t,n)||this;return r.text=t,r}return i(t,e),t.prototype.getErrorType=function(){return"requiredinallrowserror"},t.prototype.getDefaultText=function(){return r["surveyLocalization"].getString("requiredInAllRowsError")},t}(o["SurveyError"]),m=function(e){function t(t,n){void 0===n&&(n=null);var r=e.call(this,null,n)||this;return r.minRowCount=t,r}return i(t,e),t.prototype.getErrorType=function(){return"minrowcounterror"},t.prototype.getDefaultText=function(){return r["surveyLocalization"].getString("minRowCountError")["format"](this.minRowCount)},t}(o["SurveyError"]),v=function(e){function t(t,n){void 0===n&&(n=null);var r=e.call(this,t,n)||this;return r.text=t,r}return i(t,e),t.prototype.getErrorType=function(){return"keyduplicationerror"},t.prototype.getDefaultText=function(){return r["surveyLocalization"].getString("keyDuplicationError")},t}(o["SurveyError"]),g=function(e){function t(t,n){void 0===n&&(n=null);var r=e.call(this,t,n)||this;return r.text=t,r}return i(t,e),t.prototype.getErrorType=function(){return"custom"},t}(o["SurveyError"])},"./src/expressionItems.ts": /*!********************************!*\ !*** ./src/expressionItems.ts ***! \********************************/ /*! exports provided: ExpressionItem, HtmlConditionItem, UrlConditionItem */function(e,t,n){"use strict";n.r(t),n.d(t,"ExpressionItem",(function(){return a})),n.d(t,"HtmlConditionItem",(function(){return l})),n.d(t,"UrlConditionItem",(function(){return u}));var r=n(/*! ./jsonobject */"./src/jsonobject.ts"),o=n(/*! ./base */"./src/base.ts"),i=n(/*! ./conditions */"./src/conditions.ts"),s=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){if("function"!==typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),a=function(e){function t(t){void 0===t&&(t=null);var n=e.call(this)||this;return n.createLocalizableString("html",n),n.expression=t,n}return s(t,e),t.prototype.getType=function(){return"expressionitem"},t.prototype.runCondition=function(e,t){return!!this.expression&&new i["ConditionRunner"](this.expression).run(e,t)},Object.defineProperty(t.prototype,"expression",{get:function(){return this.getPropertyValue("expression","")},set:function(e){this.setPropertyValue("expression",e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"locHtml",{get:function(){return this.getLocalizableString("html")},enumerable:!1,configurable:!0}),t.prototype.getLocale=function(){return this.locOwner?this.locOwner.getLocale():""},t.prototype.getMarkdownHtml=function(e,t){return this.locOwner?this.locOwner.getMarkdownHtml(e,t):null},t.prototype.getRenderer=function(e){return this.locOwner?this.locOwner.getRenderer(e):null},t.prototype.getProcessedText=function(e){return this.locOwner?this.locOwner.getProcessedText(e):e},t}(o["Base"]),l=function(e){function t(t,n){void 0===t&&(t=null),void 0===n&&(n=null);var r=e.call(this,t)||this;return r.createLocalizableString("html",r),r.html=n,r}return s(t,e),t.prototype.getType=function(){return"htmlconditionitem"},Object.defineProperty(t.prototype,"html",{get:function(){return this.getLocalizableStringText("html")},set:function(e){this.setLocalizableStringText("html",e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"locHtml",{get:function(){return this.getLocalizableString("html")},enumerable:!1,configurable:!0}),t}(a),u=function(e){function t(t,n){void 0===t&&(t=null),void 0===n&&(n=null);var r=e.call(this,t)||this;return r.createLocalizableString("url",r),r.url=n,r}return s(t,e),t.prototype.getType=function(){return"urlconditionitem"},Object.defineProperty(t.prototype,"url",{get:function(){return this.getLocalizableStringText("url")},set:function(e){this.setLocalizableStringText("url",e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"locUrl",{get:function(){return this.getLocalizableString("url")},enumerable:!1,configurable:!0}),t}(a);r["Serializer"].addClass("expressionitem",["expression:condition"],(function(){return new a}),"base"),r["Serializer"].addClass("htmlconditionitem",[{name:"html:html",serializationProperty:"locHtml"}],(function(){return new l}),"expressionitem"),r["Serializer"].addClass("urlconditionitem",[{name:"url:string",serializationProperty:"locUrl"}],(function(){return new u}),"expressionitem")},"./src/expressions/expressionParser.ts": /*!*********************************************!*\ !*** ./src/expressions/expressionParser.ts ***! \*********************************************/ /*! exports provided: SyntaxError, parse */function(e,t,n){"use strict";n.r(t),n.d(t,"SyntaxError",(function(){return i})),n.d(t,"parse",(function(){return a}));var r=n(/*! ./expressions */"./src/expressions/expressions.ts"),o=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){if("function"!==typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),i=function(e){function t(n,r,o,i){var s=e.call(this)||this;return s.message=n,s.expected=r,s.found=o,s.location=i,s.name="SyntaxError","function"===typeof Error.captureStackTrace&&Error.captureStackTrace(s,t),s}return o(t,e),t.buildMessage=function(e,t){function n(e){return e.charCodeAt(0).toString(16).toUpperCase()}function r(e){return e.replace(/\\/g,"\\\\").replace(/"/g,'\\"').replace(/\0/g,"\\0").replace(/\t/g,"\\t").replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/[\x00-\x0F]/g,(function(e){return"\\x0"+n(e)})).replace(/[\x10-\x1F\x7F-\x9F]/g,(function(e){return"\\x"+n(e)}))}function o(e){return e.replace(/\\/g,"\\\\").replace(/\]/g,"\\]").replace(/\^/g,"\\^").replace(/-/g,"\\-").replace(/\0/g,"\\0").replace(/\t/g,"\\t").replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/[\x00-\x0F]/g,(function(e){return"\\x0"+n(e)})).replace(/[\x10-\x1F\x7F-\x9F]/g,(function(e){return"\\x"+n(e)}))}function i(e){switch(e.type){case"literal":return'"'+r(e.text)+'"';case"class":var t=e.parts.map((function(e){return Array.isArray(e)?o(e[0])+"-"+o(e[1]):o(e)}));return"["+(e.inverted?"^":"")+t+"]";case"any":return"any character";case"end":return"end of input";case"other":return e.description}}function s(e){var t,n,r=e.map(i);if(r.sort(),r.length>0){for(t=1,n=1;t=",O=Cn(">=",!1),T="greaterorequal",V=Cn("greaterorequal",!0),k=function(){return"greaterorequal"},E="=",R=Cn("=",!1),j="equal",I=Cn("equal",!0),D=function(){return"equal"},q="!=",A=Cn("!=",!1),M="notequal",L=Cn("notequal",!0),N=function(){return"notequal"},F="<",z=Cn("<",!1),B="less",Q=Cn("less",!0),H=function(){return"less"},U=">",$=Cn(">",!1),W="greater",J=Cn("greater",!0),G=function(){return"greater"},K="+",X=Cn("+",!1),Y=function(){return"plus"},Z="-",ee=Cn("-",!1),te=function(){return"minus"},ne="*",re=Cn("*",!1),oe=function(){return"mul"},ie="/",se=Cn("/",!1),ae=function(){return"div"},le="%",ue=Cn("%",!1),ce=function(){return"mod"},de="^",pe=Cn("^",!1),he="power",fe=Cn("power",!0),me=function(){return"power"},ve="*=",ge=Cn("*=",!1),ye="contains",be=Cn("contains",!0),xe="contain",we=Cn("contain",!0),_e=function(){return"contains"},Ce="notcontains",Pe=Cn("notcontains",!0),Se="notcontain",Oe=Cn("notcontain",!0),Te=function(){return"notcontains"},Ve="anyof",ke=Cn("anyof",!0),Ee=function(){return"anyof"},Re="allof",je=Cn("allof",!0),Ie=function(){return"allof"},De="(",qe=Cn("(",!1),Ae=")",Me=Cn(")",!1),Le=function(e){return e},Ne=function(e,t){return new r["FunctionOperand"](e,t)},Fe="!",ze=Cn("!",!1),Be="negate",Qe=Cn("negate",!0),He=function(e){return new r["UnaryOperand"](e,"negate")},Ue=function(e,t){return new r["UnaryOperand"](e,t)},$e="empty",We=Cn("empty",!0),Je=function(){return"empty"},Ge="notempty",Ke=Cn("notempty",!0),Xe=function(){return"notempty"},Ye="undefined",Ze=Cn("undefined",!1),et="null",tt=Cn("null",!1),nt=function(){return null},rt=function(e){return new r["Const"](e)},ot="{",it=Cn("{",!1),st="}",at=Cn("}",!1),lt=function(e){return new r["Variable"](e)},ut=function(e){return e},ct="''",dt=Cn("''",!1),pt=function(){return""},ht='""',ft=Cn('""',!1),mt="'",vt=Cn("'",!1),gt=function(e){return"'"+e+"'"},yt='"',bt=Cn('"',!1),xt="[",wt=Cn("[",!1),_t="]",Ct=Cn("]",!1),Pt=function(e){return e},St=",",Ot=Cn(",",!1),Tt=function(e,t){if(null==e)return new r["ArrayOperand"]([]);var n=[e];if(Array.isArray(t))for(var o=pr(t),i=3;iyn&&(yn=mn,bn=[]),bn.push(e))}function En(e,t,n){return new i(i.buildMessage(e,t),e,t,n)}function Rn(){var e,t,n,r,i,s,a,u,c,d=34*mn+0,p=wn[d];if(p)return mn=p.nextPos,p.result;if(e=mn,t=cr(),t!==o)if(n=In(),n!==o){r=[],i=mn,s=cr(),s!==o?(a=jn(),a!==o?(u=cr(),u!==o?(c=In(),c!==o?(s=[s,a,u,c],i=s):(mn=i,i=o)):(mn=i,i=o)):(mn=i,i=o)):(mn=i,i=o);while(i!==o)r.push(i),i=mn,s=cr(),s!==o?(a=jn(),a!==o?(u=cr(),u!==o?(c=In(),c!==o?(s=[s,a,u,c],i=s):(mn=i,i=o)):(mn=i,i=o)):(mn=i,i=o)):(mn=i,i=o);r!==o?(i=cr(),i!==o?(vn=e,t=l(n,r),e=t):(mn=e,e=o)):(mn=e,e=o)}else mn=e,e=o;else mn=e,e=o;return wn[d]={nextPos:mn,result:e},e}function jn(){var t,n,r=34*mn+1,i=wn[r];return i?(mn=i.nextPos,i.result):(t=mn,e.substr(mn,2)===u?(n=u,mn+=2):(n=o,0===xn&&kn(c)),n===o&&(e.substr(mn,2).toLowerCase()===d?(n=e.substr(mn,2),mn+=2):(n=o,0===xn&&kn(p))),n!==o&&(vn=t,n=h()),t=n,wn[r]={nextPos:mn,result:t},t)}function In(){var e,t,n,r,i,s,a,u,c=34*mn+2,d=wn[c];if(d)return mn=d.nextPos,d.result;if(e=mn,t=qn(),t!==o){n=[],r=mn,i=cr(),i!==o?(s=Dn(),s!==o?(a=cr(),a!==o?(u=qn(),u!==o?(i=[i,s,a,u],r=i):(mn=r,r=o)):(mn=r,r=o)):(mn=r,r=o)):(mn=r,r=o);while(r!==o)n.push(r),r=mn,i=cr(),i!==o?(s=Dn(),s!==o?(a=cr(),a!==o?(u=qn(),u!==o?(i=[i,s,a,u],r=i):(mn=r,r=o)):(mn=r,r=o)):(mn=r,r=o)):(mn=r,r=o);n!==o?(vn=e,t=l(t,n),e=t):(mn=e,e=o)}else mn=e,e=o;return wn[c]={nextPos:mn,result:e},e}function Dn(){var t,n,r=34*mn+3,i=wn[r];return i?(mn=i.nextPos,i.result):(t=mn,e.substr(mn,2)===f?(n=f,mn+=2):(n=o,0===xn&&kn(m)),n===o&&(e.substr(mn,3).toLowerCase()===v?(n=e.substr(mn,3),mn+=3):(n=o,0===xn&&kn(g))),n!==o&&(vn=t,n=y()),t=n,wn[r]={nextPos:mn,result:t},t)}function qn(){var e,t,n,r,i,s,a,l,u=34*mn+4,c=wn[u];if(c)return mn=c.nextPos,c.result;if(e=mn,t=Mn(),t!==o){n=[],r=mn,i=cr(),i!==o?(s=An(),s!==o?(a=cr(),a!==o?(l=Mn(),l!==o?(i=[i,s,a,l],r=i):(mn=r,r=o)):(mn=r,r=o)):(mn=r,r=o)):(mn=r,r=o);while(r!==o)n.push(r),r=mn,i=cr(),i!==o?(s=An(),s!==o?(a=cr(),a!==o?(l=Mn(),l!==o?(i=[i,s,a,l],r=i):(mn=r,r=o)):(mn=r,r=o)):(mn=r,r=o)):(mn=r,r=o);n!==o?(vn=e,t=b(t,n),e=t):(mn=e,e=o)}else mn=e,e=o;return wn[u]={nextPos:mn,result:e},e}function An(){var t,n,r=34*mn+5,i=wn[r];return i?(mn=i.nextPos,i.result):(t=mn,e.substr(mn,2)===x?(n=x,mn+=2):(n=o,0===xn&&kn(w)),n===o&&(e.substr(mn,11).toLowerCase()===_?(n=e.substr(mn,11),mn+=11):(n=o,0===xn&&kn(C))),n!==o&&(vn=t,n=P()),t=n,t===o&&(t=mn,e.substr(mn,2)===S?(n=S,mn+=2):(n=o,0===xn&&kn(O)),n===o&&(e.substr(mn,14).toLowerCase()===T?(n=e.substr(mn,14),mn+=14):(n=o,0===xn&&kn(V))),n!==o&&(vn=t,n=k()),t=n,t===o&&(t=mn,61===e.charCodeAt(mn)?(n=E,mn++):(n=o,0===xn&&kn(R)),n===o&&(e.substr(mn,5).toLowerCase()===j?(n=e.substr(mn,5),mn+=5):(n=o,0===xn&&kn(I))),n!==o&&(vn=t,n=D()),t=n,t===o&&(t=mn,e.substr(mn,2)===q?(n=q,mn+=2):(n=o,0===xn&&kn(A)),n===o&&(e.substr(mn,8).toLowerCase()===M?(n=e.substr(mn,8),mn+=8):(n=o,0===xn&&kn(L))),n!==o&&(vn=t,n=N()),t=n,t===o&&(t=mn,60===e.charCodeAt(mn)?(n=F,mn++):(n=o,0===xn&&kn(z)),n===o&&(e.substr(mn,4).toLowerCase()===B?(n=e.substr(mn,4),mn+=4):(n=o,0===xn&&kn(Q))),n!==o&&(vn=t,n=H()),t=n,t===o&&(t=mn,62===e.charCodeAt(mn)?(n=U,mn++):(n=o,0===xn&&kn($)),n===o&&(e.substr(mn,7).toLowerCase()===W?(n=e.substr(mn,7),mn+=7):(n=o,0===xn&&kn(J))),n!==o&&(vn=t,n=G()),t=n))))),wn[r]={nextPos:mn,result:t},t)}function Mn(){var e,t,n,r,i,s,a,u,c=34*mn+6,d=wn[c];if(d)return mn=d.nextPos,d.result;if(e=mn,t=Nn(),t!==o){n=[],r=mn,i=cr(),i!==o?(s=Ln(),s!==o?(a=cr(),a!==o?(u=Nn(),u!==o?(i=[i,s,a,u],r=i):(mn=r,r=o)):(mn=r,r=o)):(mn=r,r=o)):(mn=r,r=o);while(r!==o)n.push(r),r=mn,i=cr(),i!==o?(s=Ln(),s!==o?(a=cr(),a!==o?(u=Nn(),u!==o?(i=[i,s,a,u],r=i):(mn=r,r=o)):(mn=r,r=o)):(mn=r,r=o)):(mn=r,r=o);n!==o?(vn=e,t=l(t,n),e=t):(mn=e,e=o)}else mn=e,e=o;return wn[c]={nextPos:mn,result:e},e}function Ln(){var t,n,r=34*mn+7,i=wn[r];return i?(mn=i.nextPos,i.result):(t=mn,43===e.charCodeAt(mn)?(n=K,mn++):(n=o,0===xn&&kn(X)),n!==o&&(vn=t,n=Y()),t=n,t===o&&(t=mn,45===e.charCodeAt(mn)?(n=Z,mn++):(n=o,0===xn&&kn(ee)),n!==o&&(vn=t,n=te()),t=n),wn[r]={nextPos:mn,result:t},t)}function Nn(){var e,t,n,r,i,s,a,u,c=34*mn+8,d=wn[c];if(d)return mn=d.nextPos,d.result;if(e=mn,t=zn(),t!==o){n=[],r=mn,i=cr(),i!==o?(s=Fn(),s!==o?(a=cr(),a!==o?(u=zn(),u!==o?(i=[i,s,a,u],r=i):(mn=r,r=o)):(mn=r,r=o)):(mn=r,r=o)):(mn=r,r=o);while(r!==o)n.push(r),r=mn,i=cr(),i!==o?(s=Fn(),s!==o?(a=cr(),a!==o?(u=zn(),u!==o?(i=[i,s,a,u],r=i):(mn=r,r=o)):(mn=r,r=o)):(mn=r,r=o)):(mn=r,r=o);n!==o?(vn=e,t=l(t,n),e=t):(mn=e,e=o)}else mn=e,e=o;return wn[c]={nextPos:mn,result:e},e}function Fn(){var t,n,r=34*mn+9,i=wn[r];return i?(mn=i.nextPos,i.result):(t=mn,42===e.charCodeAt(mn)?(n=ne,mn++):(n=o,0===xn&&kn(re)),n!==o&&(vn=t,n=oe()),t=n,t===o&&(t=mn,47===e.charCodeAt(mn)?(n=ie,mn++):(n=o,0===xn&&kn(se)),n!==o&&(vn=t,n=ae()),t=n,t===o&&(t=mn,37===e.charCodeAt(mn)?(n=le,mn++):(n=o,0===xn&&kn(ue)),n!==o&&(vn=t,n=ce()),t=n)),wn[r]={nextPos:mn,result:t},t)}function zn(){var e,t,n,r,i,s,a,u,c=34*mn+10,d=wn[c];if(d)return mn=d.nextPos,d.result;if(e=mn,t=Qn(),t!==o){n=[],r=mn,i=cr(),i!==o?(s=Bn(),s!==o?(a=cr(),a!==o?(u=Qn(),u!==o?(i=[i,s,a,u],r=i):(mn=r,r=o)):(mn=r,r=o)):(mn=r,r=o)):(mn=r,r=o);while(r!==o)n.push(r),r=mn,i=cr(),i!==o?(s=Bn(),s!==o?(a=cr(),a!==o?(u=Qn(),u!==o?(i=[i,s,a,u],r=i):(mn=r,r=o)):(mn=r,r=o)):(mn=r,r=o)):(mn=r,r=o);n!==o?(vn=e,t=l(t,n),e=t):(mn=e,e=o)}else mn=e,e=o;return wn[c]={nextPos:mn,result:e},e}function Bn(){var t,n,r=34*mn+11,i=wn[r];return i?(mn=i.nextPos,i.result):(t=mn,94===e.charCodeAt(mn)?(n=de,mn++):(n=o,0===xn&&kn(pe)),n===o&&(e.substr(mn,5).toLowerCase()===he?(n=e.substr(mn,5),mn+=5):(n=o,0===xn&&kn(fe))),n!==o&&(vn=t,n=me()),t=n,wn[r]={nextPos:mn,result:t},t)}function Qn(){var e,t,n,r,i,s,a,l,u=34*mn+12,c=wn[u];if(c)return mn=c.nextPos,c.result;if(e=mn,t=Un(),t!==o){n=[],r=mn,i=cr(),i!==o?(s=Hn(),s!==o?(a=cr(),a!==o?(l=Un(),l===o&&(l=null),l!==o?(i=[i,s,a,l],r=i):(mn=r,r=o)):(mn=r,r=o)):(mn=r,r=o)):(mn=r,r=o);while(r!==o)n.push(r),r=mn,i=cr(),i!==o?(s=Hn(),s!==o?(a=cr(),a!==o?(l=Un(),l===o&&(l=null),l!==o?(i=[i,s,a,l],r=i):(mn=r,r=o)):(mn=r,r=o)):(mn=r,r=o)):(mn=r,r=o);n!==o?(vn=e,t=b(t,n),e=t):(mn=e,e=o)}else mn=e,e=o;return wn[u]={nextPos:mn,result:e},e}function Hn(){var t,n,r=34*mn+13,i=wn[r];return i?(mn=i.nextPos,i.result):(t=mn,e.substr(mn,2)===ve?(n=ve,mn+=2):(n=o,0===xn&&kn(ge)),n===o&&(e.substr(mn,8).toLowerCase()===ye?(n=e.substr(mn,8),mn+=8):(n=o,0===xn&&kn(be)),n===o&&(e.substr(mn,7).toLowerCase()===xe?(n=e.substr(mn,7),mn+=7):(n=o,0===xn&&kn(we)))),n!==o&&(vn=t,n=_e()),t=n,t===o&&(t=mn,e.substr(mn,11).toLowerCase()===Ce?(n=e.substr(mn,11),mn+=11):(n=o,0===xn&&kn(Pe)),n===o&&(e.substr(mn,10).toLowerCase()===Se?(n=e.substr(mn,10),mn+=10):(n=o,0===xn&&kn(Oe))),n!==o&&(vn=t,n=Te()),t=n,t===o&&(t=mn,e.substr(mn,5).toLowerCase()===Ve?(n=e.substr(mn,5),mn+=5):(n=o,0===xn&&kn(ke)),n!==o&&(vn=t,n=Ee()),t=n,t===o&&(t=mn,e.substr(mn,5).toLowerCase()===Re?(n=e.substr(mn,5),mn+=5):(n=o,0===xn&&kn(je)),n!==o&&(vn=t,n=Ie()),t=n))),wn[r]={nextPos:mn,result:t},t)}function Un(){var t,n,r,i,s,a,l=34*mn+14,u=wn[l];return u?(mn=u.nextPos,u.result):(t=mn,40===e.charCodeAt(mn)?(n=De,mn++):(n=o,0===xn&&kn(qe)),n!==o?(r=cr(),r!==o?(i=Rn(),i!==o?(s=cr(),s!==o?(41===e.charCodeAt(mn)?(a=Ae,mn++):(a=o,0===xn&&kn(Me)),a===o&&(a=null),a!==o?(vn=t,n=Le(i),t=n):(mn=t,t=o)):(mn=t,t=o)):(mn=t,t=o)):(mn=t,t=o)):(mn=t,t=o),t===o&&(t=$n(),t===o&&(t=Wn(),t===o&&(t=Gn(),t===o&&(t=Xn())))),wn[l]={nextPos:mn,result:t},t)}function $n(){var t,n,r,i,s,a=34*mn+15,l=wn[a];return l?(mn=l.nextPos,l.result):(t=mn,n=sr(),n!==o?(40===e.charCodeAt(mn)?(r=De,mn++):(r=o,0===xn&&kn(qe)),r!==o?(i=Yn(),i!==o?(41===e.charCodeAt(mn)?(s=Ae,mn++):(s=o,0===xn&&kn(Me)),s===o&&(s=null),s!==o?(vn=t,n=Ne(n,i),t=n):(mn=t,t=o)):(mn=t,t=o)):(mn=t,t=o)):(mn=t,t=o),wn[a]={nextPos:mn,result:t},t)}function Wn(){var t,n,r,i,s=34*mn+16,a=wn[s];return a?(mn=a.nextPos,a.result):(t=mn,33===e.charCodeAt(mn)?(n=Fe,mn++):(n=o,0===xn&&kn(ze)),n===o&&(e.substr(mn,6).toLowerCase()===Be?(n=e.substr(mn,6),mn+=6):(n=o,0===xn&&kn(Qe))),n!==o?(r=cr(),r!==o?(i=Rn(),i!==o?(vn=t,n=He(i),t=n):(mn=t,t=o)):(mn=t,t=o)):(mn=t,t=o),t===o&&(t=mn,n=Gn(),n!==o?(r=cr(),r!==o?(i=Jn(),i!==o?(vn=t,n=Ue(n,i),t=n):(mn=t,t=o)):(mn=t,t=o)):(mn=t,t=o)),wn[s]={nextPos:mn,result:t},t)}function Jn(){var t,n,r=34*mn+17,i=wn[r];return i?(mn=i.nextPos,i.result):(t=mn,e.substr(mn,5).toLowerCase()===$e?(n=e.substr(mn,5),mn+=5):(n=o,0===xn&&kn(We)),n!==o&&(vn=t,n=Je()),t=n,t===o&&(t=mn,e.substr(mn,8).toLowerCase()===Ge?(n=e.substr(mn,8),mn+=8):(n=o,0===xn&&kn(Ke)),n!==o&&(vn=t,n=Xe()),t=n),wn[r]={nextPos:mn,result:t},t)}function Gn(){var t,n,r,i,s,a=34*mn+18,l=wn[a];return l?(mn=l.nextPos,l.result):(t=mn,n=cr(),n!==o?(e.substr(mn,9)===Ye?(r=Ye,mn+=9):(r=o,0===xn&&kn(Ze)),r===o&&(e.substr(mn,4)===et?(r=et,mn+=4):(r=o,0===xn&&kn(tt))),r!==o?(vn=t,n=nt(),t=n):(mn=t,t=o)):(mn=t,t=o),t===o&&(t=mn,n=cr(),n!==o?(r=Kn(),r!==o?(vn=t,n=rt(r),t=n):(mn=t,t=o)):(mn=t,t=o),t===o&&(t=mn,n=cr(),n!==o?(123===e.charCodeAt(mn)?(r=ot,mn++):(r=o,0===xn&&kn(it)),r!==o?(i=nr(),i!==o?(125===e.charCodeAt(mn)?(s=st,mn++):(s=o,0===xn&&kn(at)),s!==o?(vn=t,n=lt(i),t=n):(mn=t,t=o)):(mn=t,t=o)):(mn=t,t=o)):(mn=t,t=o))),wn[a]={nextPos:mn,result:t},t)}function Kn(){var t,n,r,i,s=34*mn+19,a=wn[s];return a?(mn=a.nextPos,a.result):(t=mn,n=Zn(),n!==o&&(vn=t,n=ut(n)),t=n,t===o&&(t=mn,n=er(),n!==o&&(vn=t,n=ut(n)),t=n,t===o&&(t=mn,n=sr(),n!==o&&(vn=t,n=ut(n)),t=n,t===o&&(t=mn,e.substr(mn,2)===ct?(n=ct,mn+=2):(n=o,0===xn&&kn(dt)),n!==o&&(vn=t,n=pt()),t=n,t===o&&(t=mn,e.substr(mn,2)===ht?(n=ht,mn+=2):(n=o,0===xn&&kn(ft)),n!==o&&(vn=t,n=pt()),t=n,t===o&&(t=mn,39===e.charCodeAt(mn)?(n=mt,mn++):(n=o,0===xn&&kn(vt)),n!==o?(r=rr(),r!==o?(39===e.charCodeAt(mn)?(i=mt,mn++):(i=o,0===xn&&kn(vt)),i!==o?(vn=t,n=gt(r),t=n):(mn=t,t=o)):(mn=t,t=o)):(mn=t,t=o),t===o&&(t=mn,34===e.charCodeAt(mn)?(n=yt,mn++):(n=o,0===xn&&kn(bt)),n!==o?(r=rr(),r!==o?(34===e.charCodeAt(mn)?(i=yt,mn++):(i=o,0===xn&&kn(bt)),i!==o?(vn=t,n=gt(r),t=n):(mn=t,t=o)):(mn=t,t=o)):(mn=t,t=o))))))),wn[s]={nextPos:mn,result:t},t)}function Xn(){var t,n,r,i,s=34*mn+20,a=wn[s];return a?(mn=a.nextPos,a.result):(t=mn,91===e.charCodeAt(mn)?(n=xt,mn++):(n=o,0===xn&&kn(wt)),n!==o?(r=Yn(),r!==o?(93===e.charCodeAt(mn)?(i=_t,mn++):(i=o,0===xn&&kn(Ct)),i!==o?(vn=t,n=Pt(r),t=n):(mn=t,t=o)):(mn=t,t=o)):(mn=t,t=o),wn[s]={nextPos:mn,result:t},t)}function Yn(){var t,n,r,i,s,a,l,u,c=34*mn+21,d=wn[c];if(d)return mn=d.nextPos,d.result;if(t=mn,n=Rn(),n===o&&(n=null),n!==o){r=[],i=mn,s=cr(),s!==o?(44===e.charCodeAt(mn)?(a=St,mn++):(a=o,0===xn&&kn(Ot)),a!==o?(l=cr(),l!==o?(u=Rn(),u!==o?(s=[s,a,l,u],i=s):(mn=i,i=o)):(mn=i,i=o)):(mn=i,i=o)):(mn=i,i=o);while(i!==o)r.push(i),i=mn,s=cr(),s!==o?(44===e.charCodeAt(mn)?(a=St,mn++):(a=o,0===xn&&kn(Ot)),a!==o?(l=cr(),l!==o?(u=Rn(),u!==o?(s=[s,a,l,u],i=s):(mn=i,i=o)):(mn=i,i=o)):(mn=i,i=o)):(mn=i,i=o);r!==o?(vn=t,n=Tt(n,r),t=n):(mn=t,t=o)}else mn=t,t=o;return wn[c]={nextPos:mn,result:t},t}function Zn(){var t,n,r=34*mn+22,i=wn[r];return i?(mn=i.nextPos,i.result):(t=mn,e.substr(mn,4).toLowerCase()===Vt?(n=e.substr(mn,4),mn+=4):(n=o,0===xn&&kn(kt)),n!==o&&(vn=t,n=Et()),t=n,t===o&&(t=mn,e.substr(mn,5).toLowerCase()===Rt?(n=e.substr(mn,5),mn+=5):(n=o,0===xn&&kn(jt)),n!==o&&(vn=t,n=It()),t=n),wn[r]={nextPos:mn,result:t},t)}function er(){var t,n,r,i=34*mn+23,s=wn[i];return s?(mn=s.nextPos,s.result):(t=mn,e.substr(mn,2)===Dt?(n=Dt,mn+=2):(n=o,0===xn&&kn(qt)),n!==o?(r=ar(),r!==o?(vn=t,n=At(),t=n):(mn=t,t=o)):(mn=t,t=o),t===o&&(t=mn,Mt.test(e.charAt(mn))?(n=e.charAt(mn),mn++):(n=o,0===xn&&kn(Lt)),n===o&&(n=null),n!==o?(r=tr(),r!==o?(vn=t,n=Nt(n,r),t=n):(mn=t,t=o)):(mn=t,t=o)),wn[i]={nextPos:mn,result:t},t)}function tr(){var t,n,r,i,s=34*mn+24,a=wn[s];return a?(mn=a.nextPos,a.result):(t=mn,n=ar(),n!==o?(46===e.charCodeAt(mn)?(r=Ft,mn++):(r=o,0===xn&&kn(zt)),r!==o?(i=ar(),i!==o?(vn=t,n=Bt(),t=n):(mn=t,t=o)):(mn=t,t=o)):(mn=t,t=o),t===o&&(t=mn,n=lr(),n!==o?(r=ar(),r===o&&(r=null),r!==o?(vn=t,n=Qt(),t=n):(mn=t,t=o)):(mn=t,t=o),t===o&&(t=mn,48===e.charCodeAt(mn)?(n=Ht,mn++):(n=o,0===xn&&kn(Ut)),n!==o&&(vn=t,n=$t()),t=n)),wn[s]={nextPos:mn,result:t},t)}function nr(){var e,t,n,r=34*mn+25,i=wn[r];if(i)return mn=i.nextPos,i.result;if(e=mn,t=[],n=ir(),n!==o)while(n!==o)t.push(n),n=ir();else t=o;return t!==o&&(vn=e,t=Wt(t)),e=t,wn[r]={nextPos:mn,result:e},e}function rr(){var e,t,n,r=34*mn+26,i=wn[r];if(i)return mn=i.nextPos,i.result;if(e=mn,t=[],n=or(),n!==o)while(n!==o)t.push(n),n=or();else t=o;return t!==o&&(vn=e,t=Wt(t)),e=t,wn[r]={nextPos:mn,result:e},e}function or(){var t,n,r=34*mn+27,i=wn[r];return i?(mn=i.nextPos,i.result):(t=mn,e.substr(mn,2)===Jt?(n=Jt,mn+=2):(n=o,0===xn&&kn(Gt)),n!==o&&(vn=t,n=Kt()),t=n,t===o&&(t=mn,e.substr(mn,2)===Xt?(n=Xt,mn+=2):(n=o,0===xn&&kn(Yt)),n!==o&&(vn=t,n=Zt()),t=n,t===o&&(t=mn,en.test(e.charAt(mn))?(n=e.charAt(mn),mn++):(n=o,0===xn&&kn(tn)),n!==o&&(vn=t,n=nn()),t=n)),wn[r]={nextPos:mn,result:t},t)}function ir(){var t,n,r=34*mn+28,i=wn[r];return i?(mn=i.nextPos,i.result):(t=mn,rn.test(e.charAt(mn))?(n=e.charAt(mn),mn++):(n=o,0===xn&&kn(on)),n!==o&&(vn=t,n=nn()),t=n,wn[r]={nextPos:mn,result:t},t)}function sr(){var e,t,n,r,i,s,a,l=34*mn+29,u=wn[l];if(u)return mn=u.nextPos,u.result;if(e=mn,t=ur(),t!==o){if(n=[],r=mn,i=ar(),i!==o){s=[],a=ur();while(a!==o)s.push(a),a=ur();s!==o?(i=[i,s],r=i):(mn=r,r=o)}else mn=r,r=o;while(r!==o)if(n.push(r),r=mn,i=ar(),i!==o){s=[],a=ur();while(a!==o)s.push(a),a=ur();s!==o?(i=[i,s],r=i):(mn=r,r=o)}else mn=r,r=o;n!==o?(vn=e,t=nn(),e=t):(mn=e,e=o)}else mn=e,e=o;return wn[l]={nextPos:mn,result:e},e}function ar(){var t,n,r=34*mn+30,i=wn[r];if(i)return mn=i.nextPos,i.result;if(t=[],sn.test(e.charAt(mn))?(n=e.charAt(mn),mn++):(n=o,0===xn&&kn(an)),n!==o)while(n!==o)t.push(n),sn.test(e.charAt(mn))?(n=e.charAt(mn),mn++):(n=o,0===xn&&kn(an));else t=o;return wn[r]={nextPos:mn,result:t},t}function lr(){var t,n,r=34*mn+31,i=wn[r];if(i)return mn=i.nextPos,i.result;if(t=[],ln.test(e.charAt(mn))?(n=e.charAt(mn),mn++):(n=o,0===xn&&kn(un)),n!==o)while(n!==o)t.push(n),ln.test(e.charAt(mn))?(n=e.charAt(mn),mn++):(n=o,0===xn&&kn(un));else t=o;return wn[r]={nextPos:mn,result:t},t}function ur(){var t,n,r=34*mn+32,i=wn[r];if(i)return mn=i.nextPos,i.result;if(t=[],cn.test(e.charAt(mn))?(n=e.charAt(mn),mn++):(n=o,0===xn&&kn(dn)),n!==o)while(n!==o)t.push(n),cn.test(e.charAt(mn))?(n=e.charAt(mn),mn++):(n=o,0===xn&&kn(dn));else t=o;return wn[r]={nextPos:mn,result:t},t}function cr(){var t,n,r=34*mn+33,i=wn[r];if(i)return mn=i.nextPos,i.result;xn++,t=[],hn.test(e.charAt(mn))?(n=e.charAt(mn),mn++):(n=o,0===xn&&kn(fn));while(n!==o)t.push(n),hn.test(e.charAt(mn))?(n=e.charAt(mn),mn++):(n=o,0===xn&&kn(fn));return xn--,t===o&&(n=o,0===xn&&kn(pn)),wn[r]={nextPos:mn,result:t},t}function dr(e,t,n){return void 0===n&&(n=!1),t.reduce((function(e,t){return new r["BinaryOperand"](t[1],e,t[3],n)}),e)}function pr(e){return[].concat.apply([],e)}if(n=a(),n!==o&&mn===e.length)return n;throw n!==o&&mn1&&this.isQuote(e[0])&&this.isQuote(e[e.length-1])?e.substr(1,e.length-2):f.isNumeric(e)?0==e.indexOf("0x")?parseInt(e):e.length>1&&"0"==e[0]?e:parseFloat(e):e:e},t.prototype.isQuote=function(e){return"'"==e||'"'==e},t.prototype.isBooleanValue=function(e){return e&&("true"===e.toLowerCase()||"false"===e.toLowerCase())},t}(a),p=function(e){function t(n){var r=e.call(this,n)||this;return r.variableName=n,r.valueInfo={},r.useValueAsItIs=!1,r.variableName&&r.variableName.length>1&&r.variableName[0]===t.DisableConversionChar&&(r.variableName=r.variableName.substr(1),r.useValueAsItIs=!0),r}return s(t,e),t.prototype.getType=function(){return"variable"},t.prototype.toString=function(e){if(void 0===e&&(e=void 0),e){var n=e(this);if(n)return n}var r=this.useValueAsItIs?t.DisableConversionChar:"";return"{"+r+this.variableName+"}"},Object.defineProperty(t.prototype,"variable",{get:function(){return this.variableName},enumerable:!1,configurable:!0}),t.prototype.evaluate=function(e){return this.valueInfo.name=this.variableName,e.getValueInfo(this.valueInfo),this.valueInfo.hasValue?this.getCorrectValue(this.valueInfo.value):null},t.prototype.setVariables=function(e){e.push(this.variableName)},t.prototype.getCorrectValue=function(t){return this.useValueAsItIs?t:e.prototype.getCorrectValue.call(this,t)},t.DisableConversionChar="#",t}(d),h=function(e){function t(t,n){var r=e.call(this)||this;return r.originalValue=t,r.parameters=n,r.isReadyValue=!1,Array.isArray(n)&&0===n.length&&(r.parameters=new c([])),r}return s(t,e),t.prototype.getType=function(){return"function"},t.prototype.evaluateAsync=function(e){var t=this;this.isReadyValue=!1;var n=new i["ProcessValue"];n.values=r["Helpers"].createCopy(e.values),n.properties=r["Helpers"].createCopy(e.properties),n.properties.returnResult=function(e){t.asynResult=e,t.isReadyValue=!0,t.onAsyncReady()},this.evaluateCore(n)},t.prototype.evaluate=function(e){return this.isReady?this.asynResult:this.evaluateCore(e)},t.prototype.evaluateCore=function(e){return o["FunctionFactory"].Instance.run(this.originalValue,this.parameters.evaluate(e),e.properties)},t.prototype.toString=function(e){if(void 0===e&&(e=void 0),e){var t=e(this);if(t)return t}return this.originalValue+"("+this.parameters.toString(e)+")"},t.prototype.setVariables=function(e){this.parameters.setVariables(e)},Object.defineProperty(t.prototype,"isReady",{get:function(){return this.isReadyValue},enumerable:!1,configurable:!0}),t.prototype.hasFunction=function(){return!0},t.prototype.hasAsyncFunction=function(){return o["FunctionFactory"].Instance.isAsyncFunction(this.originalValue)},t.prototype.addToAsyncList=function(e){this.hasAsyncFunction()&&e.push(this)},t}(a),f=function(){function e(){}return e.throwInvalidOperatorError=function(e){throw new Error("Invalid operator: '"+e+"'")},e.safeToString=function(e,t){return null==e?"":e.toString(t)},e.toOperandString=function(t){return!t||e.isNumeric(t)||e.isBooleanValue(t)||(t="'"+t+"'"),t},e.isSpaceString=function(e){return!!e&&!e.replace(" ","")},e.isNumeric=function(t){return(!t||!(t.indexOf("-")>-1||t.indexOf("+")>1||t.indexOf("*")>-1||t.indexOf("^")>-1||t.indexOf("/")>-1||t.indexOf("%")>-1))&&(!e.isSpaceString(t)&&r["Helpers"].isNumber(t))},e.isBooleanValue=function(e){return!!e&&("true"===e.toLowerCase()||"false"===e.toLowerCase())},e.isTwoValueEquals=function(e,t){return"undefined"===e&&(e=void 0),"undefined"===t&&(t=void 0),r["Helpers"].isTwoValueEquals(e,t,!0)},e.operatorToString=function(t){var n=e.signs[t];return null==n?t:n},e.unaryFunctions={empty:function(e){return r["Helpers"].isValueEmpty(e)},notempty:function(t){return!e.unaryFunctions.empty(t)},negate:function(e){return!e}},e.binaryFunctions={arithmeticOp:function(t){return function(n,o){r["Helpers"].isValueEmpty(n)&&!e.isSpaceString(n)&&(n="string"===typeof o?"":0),r["Helpers"].isValueEmpty(o)&&!e.isSpaceString(o)&&(o="string"===typeof n?"":0);var i=e.binaryFunctions[t];return null==i?null:i.call(this,n,o)}},and:function(e,t){return e&&t},or:function(e,t){return e||t},plus:function(e,t){return e+t},minus:function(e,t){return e-t},mul:function(e,t){return e*t},div:function(e,t){return t?e/t:null},mod:function(e,t){return t?e%t:null},power:function(e,t){return Math.pow(e,t)},greater:function(e,t){return null!=e&&null!=t&&e>t},less:function(e,t){return null!=e&&null!=t&&e-1;return r?o:!o}for(var i=Array.isArray(n)?n:[n],s=0;s",greaterorequal:">=",equal:"==",notequal:"!=",plus:"+",minus:"-",mul:"*",div:"/",and:"and",or:"or",power:"^",mod:"%",negate:"!"},e}()},"./src/flowpanel.ts": /*!**************************!*\ !*** ./src/flowpanel.ts ***! \**************************/ /*! exports provided: FlowPanelModel */function(e,t,n){"use strict";n.r(t),n.d(t,"FlowPanelModel",(function(){return s}));var r=n(/*! ./jsonobject */"./src/jsonobject.ts"),o=n(/*! ./panel */"./src/panel.ts"),i=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){if("function"!==typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),s=function(e){function t(t){void 0===t&&(t="");var n=e.call(this,t)||this;n.createLocalizableString("content",n,!0);var r=n;return n.registerFunctionOnPropertyValueChanged("content",(function(){r.onContentChanged()})),n}return i(t,e),t.prototype.getType=function(){return"flowpanel"},t.prototype.getChildrenLayoutType=function(){return"flow"},t.prototype.onSurveyLoad=function(){e.prototype.onSurveyLoad.call(this),this.onContentChanged()},Object.defineProperty(t.prototype,"content",{get:function(){return this.getLocalizableStringText("content")},set:function(e){this.setLocalizableStringText("content",e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"locContent",{get:function(){return this.getLocalizableString("content")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"html",{get:function(){return this.getPropertyValue("html","")},set:function(e){this.setPropertyValue("html",e)},enumerable:!1,configurable:!0}),t.prototype.onContentChanged=function(){var e="";e=this.onCustomHtmlProducing?this.onCustomHtmlProducing():this.produceHtml(),this.html=e,this.contentChangedCallback&&this.contentChangedCallback()},t.prototype.produceHtml=function(){var e=[],t=/{(.*?(element:)[^$].*?)}/g,n=this.content,r=0,o=null;while(null!==(o=t.exec(n))){o.index>r&&(e.push(n.substr(r,o.index-r)),r=o.index);var i=this.getQuestionFromText(o[0]);i?e.push(this.getHtmlForQuestion(i)):e.push(n.substr(r,o.index+o[0].length-r)),r=o.index+o[0].length}return r","g"),"
")},t.prototype.getQuestionFromText=function(e){return e=e.substr(1,e.length-2),e=e.replace(t.contentElementNamePrefix,"").trim(),this.getQuestionByName(e)},t.prototype.getHtmlForQuestion=function(e){return this.onGetHtmlForQuestion?this.onGetHtmlForQuestion(e):""},t.prototype.getQuestionHtmlId=function(e){return this.name+"_"+e.id},t.prototype.onAddElement=function(t,n){e.prototype.onAddElement.call(this,t,n),this.addElementToContent(t),t.renderWidth=""},t.prototype.onRemoveElement=function(t){var n=this.getElementContentText(t);this.content=this.content.replace(n,""),e.prototype.onRemoveElement.call(this,t)},t.prototype.dragDropMoveElement=function(e,t,n){},t.prototype.addElementToContent=function(e){if(!this.isLoadingFromJson){var t=this.getElementContentText(e);this.insertTextAtCursor(t)||(this.content=this.content+t)}},t.prototype.insertTextAtCursor=function(e,t){if(void 0===t&&(t=null),!this.isDesignMode||"undefined"===typeof document||!window.getSelection)return!1;var n=window.getSelection();if(n.getRangeAt&&n.rangeCount){var r=n.getRangeAt(0);r.deleteContents(),r.insertNode(document.createTextNode(e));var o=this;if(o.getContent){var i=o.getContent(t);this.content=i}return!0}return!1},t.prototype.getElementContentText=function(e){return"{"+t.contentElementNamePrefix+e.name+"}"},t.contentElementNamePrefix="element:",t}(o["PanelModel"]);r["Serializer"].addClass("flowpanel",[{name:"content:html",serializationProperty:"locContent"}],(function(){return new s}),"panel")},"./src/functionsfactory.ts": /*!*********************************!*\ !*** ./src/functionsfactory.ts ***! \*********************************/ /*! exports provided: FunctionFactory, registerFunction */function(e,t,n){"use strict";n.r(t),n.d(t,"FunctionFactory",(function(){return o})),n.d(t,"registerFunction",(function(){return i}));var r=n(/*! ./helpers */"./src/helpers.ts"),o=function(){function e(){this.functionHash={},this.isAsyncHash={}}return e.prototype.register=function(e,t,n){void 0===n&&(n=!1),this.functionHash[e]=t,n&&(this.isAsyncHash[e]=!0)},e.prototype.unregister=function(e){delete this.functionHash[e],delete this.isAsyncHash[e]},e.prototype.hasFunction=function(e){return!!this.functionHash[e]},e.prototype.isAsyncFunction=function(e){return!!this.isAsyncHash[e]},e.prototype.clear=function(){this.functionHash={}},e.prototype.getAll=function(){var e=[];for(var t in this.functionHash)e.push(t);return e.sort()},e.prototype.run=function(e,t,n){void 0===n&&(n=null);var r=this.functionHash[e];if(!r)return null;var o={func:r};if(n)for(var i in n)o[i]=n[i];return o.func(t)},e.Instance=new e,e}(),i=o.Instance.register;function s(e,t){if(void 0!==e&&null!==e)if(Array.isArray(e))for(var n=0;nn[o]&&(r=n[o]):r0?n/t.length:0}function h(e){if(2!=e.length)return null;var t=e[0];if(!t)return null;if(!Array.isArray(t)&&!Array.isArray(Object.keys(t)))return null;var n=e[1];return"string"===typeof n||n instanceof String?{data:t,name:n}:null}function f(e,t){var n=h(e);if(n){var r=void 0;if(Array.isArray(n.data))for(var o=0;ot?e:t}))}function y(e){var t=f(e,(function(e,t){return void 0==e&&(e=0),e+1}));return void 0!==t?t:0}function b(e){var t=y(e);return 0==t?0:m(e)/t}function x(e){return e||3===e.length?e[0]?e[1]:e[2]:""}function w(e){return!e&&e.length<1?null:e[0]?new Date(e[0]):null}function _(e){if(!e&&e.length<1)return null;if(!e[0])return null;var t=new Date(e[0]),n=new Date,r=n.getFullYear()-t.getFullYear(),o=n.getMonth()-t.getMonth();return(o<0||0===o&&n.getDate()0?1:0),r}function C(e){if(!e&&e.length<1)return!1;if(!e[0]||!this.survey)return!1;var t=e[0],n=this.survey.getPageByName(t);if(n||(n=this.survey.getPanelByName(t)),!n)return!1;for(var r=n.questions,o=0;o0;t--){var n=Math.floor(Math.random()*(t+1)),r=e[t];e[t]=e[n],e[n]=r}return e},e.getUnbindValue=function(e){return e&&e instanceof Object?JSON.parse(JSON.stringify(e)):e},e.createCopy=function(e){var t={};if(!e)return t;for(var n in e)t[n]=e[n];return t},e.isConvertibleToNumber=function(e){return void 0!==e&&null!==e&&!Array.isArray(e)&&!isNaN(e)},e.isNumber=function(e){return!("string"==typeof e&&e&&0==e.indexOf("0x")&&e.length>32)&&(!isNaN(parseFloat(e))&&isFinite(e))},e.getMaxLength=function(e,t){return e<0&&(e=t),e>0?e:null},e.getNumberByIndex=function(t,n){if(t<0)return"";var r=1,o="",i=".",s=!0,a="A",l="";if(n){l=n;for(var u=l.length-1,c=!1,d=0;d=0&&p())u--;var h="";u=0){if(p())break;if(u--,!c)break}a=l.substr(u+1),o=l.substr(0,u+1),parseInt(a)?r=parseInt(a):1==a.length&&(s=!1),(h||o)&&(i=h)}return s?o+(t+r).toString()+i:o+String.fromCharCode(a.charCodeAt(0)+t)+i},e.isCharNotLetterAndDigit=function(t){return t.toUpperCase()==t.toLowerCase()&&!e.isCharDigit(t)},e.isCharDigit=function(e){return e>="0"&&e<="9"},e}();String.prototype["format"]||(String.prototype["format"]=function(){var e=arguments;return this.replace(/{(\d+)}/g,(function(t,n){return"undefined"!=typeof e[n]?e[n]:t}))})},"./src/itemvalue.ts": /*!**************************!*\ !*** ./src/itemvalue.ts ***! \**************************/ /*! exports provided: ItemValue */function(e,t,n){"use strict";n.r(t),n.d(t,"ItemValue",(function(){return d}));var r=n(/*! ./localizablestring */"./src/localizablestring.ts"),o=n(/*! ./jsonobject */"./src/jsonobject.ts"),i=n(/*! ./helpers */"./src/helpers.ts"),s=n(/*! ./conditions */"./src/conditions.ts"),a=n(/*! ./base */"./src/base.ts"),l=n(/*! ./settings */"./src/settings.ts"),u=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){if("function"!==typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),c=function(e,t){for(var n=0,r=t.length,o=e.length;n-1&&(e=n.slice(0,r),t=n.slice(r+1))}this.setPropertyValue("value",e),t&&(this.text=t)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"hasText",{get:function(){return!!this.locText.pureText},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"pureText",{get:function(){return this.locText.pureText},set:function(e){this.text=e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"text",{get:function(){return this.locText.calculatedText},set:function(e){this.locText.text=e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"calculatedText",{get:function(){return this.locText.calculatedText},enumerable:!1,configurable:!0}),t.prototype.getData=function(){var e=this.toJSON();return e["value"]&&e["value"]["pos"]&&delete e["value"]["pos"],1!=Object.keys(e).length||i["Helpers"].isValueEmpty(e["value"])?e:this.value},t.prototype.toJSON=function(){var e={},t=o["Serializer"].getProperties(this.getType());t&&0!=t.length||(t=o["Serializer"].getProperties("itemvalue"));for(var n=new o["JsonObject"],r=0;r-1&&(o=n.substring(i+1),n=n.substring(0,i));var s=this.getIsPropertyNameRequired(n)||!!t.isRequired;n=this.getPropertyName(n);var a=new c(this,n,s);if(o&&(a.type=o),"object"===typeof t){if(t.type&&(a.type=t.type),r["Helpers"].isValueEmpty(t.default)||(a.defaultValue=t.default),r["Helpers"].isValueEmpty(t.isSerializable)||(a.isSerializable=t.isSerializable),r["Helpers"].isValueEmpty(t.isLightSerializable)||(a.isLightSerializable=t.isLightSerializable),r["Helpers"].isValueEmpty(t.maxLength)||(a.maxLength=t.maxLength),r["Helpers"].isValueEmpty(t.displayName)||(a.displayName=t.displayName),r["Helpers"].isValueEmpty(t.category)||(a.category=t.category),r["Helpers"].isValueEmpty(t.categoryIndex)||(a.categoryIndex=t.categoryIndex),r["Helpers"].isValueEmpty(t.nextToProperty)||(a.nextToProperty=t.nextToProperty),r["Helpers"].isValueEmpty(t.visibleIndex)||(a.visibleIndex=t.visibleIndex),r["Helpers"].isValueEmpty(t.showMode)||(a.showMode=t.showMode),r["Helpers"].isValueEmpty(t.maxValue)||(a.maxValue=t.maxValue),r["Helpers"].isValueEmpty(t.minValue)||(a.minValue=t.minValue),r["Helpers"].isValueEmpty(t.dataList)||(a.dataList=t.dataList),r["Helpers"].isValueEmpty(t.isDynamicChoices)||(a.isDynamicChoices=t.isDynamicChoices),r["Helpers"].isValueEmpty(t.isBindable)||(a.isBindable=t.isBindable),r["Helpers"].isValueEmpty(t.isUnique)||(a.isUnique=t.isUnique),!0!==t.visible&&!1!==t.visible||(a.visible=t.visible),t.visibleIf&&(a.visibleIf=t.visibleIf),t.onPropertyEditorUpdate&&(a.onPropertyEditorUpdate=t.onPropertyEditorUpdate),!0===t.readOnly&&(a.readOnly=!0),t.choices){var l="function"===typeof t.choices?t.choices:null,u="function"!==typeof t.choices?t.choices:null;a.setChoices(u,l)}if(t.baseValue&&a.setBaseValue(t.baseValue),t.onGetValue&&(a.onGetValue=t.onGetValue),t.onSetValue&&(a.onSetValue=t.onSetValue),t.isLocalizable&&(t.serializationProperty="loc"+a.name),t.serializationProperty)a.serializationProperty=t.serializationProperty,a.serializationProperty&&0==a.serializationProperty.indexOf("loc")&&(a.isLocalizable=!0);t.isLocalizable&&(a.isLocalizable=t.isLocalizable),t.className&&(a.className=t.className),t.baseClassName&&(a.baseClassName=t.baseClassName),t.classNamePart&&(a.classNamePart=t.classNamePart),t.alternativeName&&(a.alternativeName=t.alternativeName),t.layout&&(a.layout=t.layout),t.dependsOn&&this.addDependsOnProperties(a,t.dependsOn)}return a}},e.prototype.addDependsOnProperties=function(e,t){if(Array.isArray(t))for(var n=0;n0&&t[0]==e.requiredSymbol},e.prototype.getPropertyName=function(e){return this.getIsPropertyNameRequired(e)?(e=e.slice(1),e):e},e.requiredSymbol="!",e.typeSymbol=":",e}(),h=function(){function e(){this.classes={},this.alternativeNames={},this.childrenClasses={},this.classProperties={},this.classHashProperties={}}return e.prototype.getObjPropertyValue=function(e,t){if(this.isObjWrapper(e)){var n=e.getOriginalObj(),r=w.findProperty(n.getType(),t);if(r)return this.getObjPropertyValueCore(n,r)}r=w.findProperty(e.getType(),t);return r?this.getObjPropertyValueCore(e,r):e[t]},e.prototype.setObjPropertyValue=function(e,t,n){e[t]&&e[t].setJson?e[t].setJson(n):e[t]=n},e.prototype.getObjPropertyValueCore=function(e,t){if(!t.isSerializable)return e[t.name];if(t.isLocalizable){if(t.isArray)return e[t.name];if(t.serializationProperty)return e[t.serializationProperty].text}return e.getPropertyValue(t.name)},e.prototype.isObjWrapper=function(e){return!!e.getOriginalObj&&!!e.getOriginalObj()},e.prototype.addClass=function(e,t,n,r){void 0===n&&(n=null),void 0===r&&(r=null),e=e.toLowerCase();var o=new p(e,t,n,r);if(this.classes[e]=o,r){r=r.toLowerCase();var i=this.childrenClasses[r];i||(this.childrenClasses[r]=[]),this.childrenClasses[r].push(o)}return o},e.prototype.removeClass=function(e){var t=this.findClass(e);if(t&&(delete this.classes[t.name],t.parentName)){var n=this.childrenClasses[t.parentName].indexOf(t);n>-1&&this.childrenClasses[t.parentName].splice(n,1)}},e.prototype.overrideClassCreatore=function(e,t){this.overrideClassCreator(e,t)},e.prototype.overrideClassCreator=function(e,t){e=e.toLowerCase();var n=this.findClass(e);n&&(n.creator=t)},e.prototype.getProperties=function(e){var t=this.findClass(e);if(!t)return[];var n=this.classProperties[t.name];return n||(this.fillPropertiesForClass(t.name),this.classProperties[t.name])},e.prototype.getHashProperties=function(e){var t=this.findClass(e);if(!t)return{};var n=this.classHashProperties[t.name];return n||(this.fillPropertiesForClass(t.name),this.classHashProperties[t.name])},e.prototype.fillPropertiesForClass=function(e){var t=new Array,n={};this.fillProperties(e,t,n),this.classProperties[e]=t,this.classHashProperties[e]=n},e.prototype.getPropertiesByObj=function(e){if(!e||!e.getType)return[];for(var t={},n=this.getProperties(e.getType()),r=0;r0)for(r=0;r0&&(r.description+=", "),r.description+=o[i].name;r.description+="."}return r}return o(t,e),t}(f),v=function(e){function t(t,n,r){var o=e.call(this,n,r)||this;o.baseClassName=t,o.type=n,o.message=r,o.description="The following types are available: ";for(var i=x.metaData.getChildrenClasses(t,!0),s=0;s0&&(o.description+=", "),o.description+="'"+i[s].name+"'";return o.description+=".",o}return o(t,e),t}(f),g=function(e){function t(t,n){var r=e.call(this,n,"missingtypeproperty","The property type is missing in the object. Please take a look at property: '"+t+"'.")||this;return r.propertyName=t,r.baseClassName=n,r}return o(t,e),t}(v),y=function(e){function t(t,n){var r=e.call(this,n,"incorrecttypeproperty","The property type is incorrect in the object. Please take a look at property: '"+t+"'.")||this;return r.propertyName=t,r.baseClassName=n,r}return o(t,e),t}(v),b=function(e){function t(t,n){var r=e.call(this,"requiredproperty","The property '"+t+"' is required in class '"+n+"'.")||this;return r.propertyName=t,r.className=n,r}return o(t,e),t}(f),x=function(){function e(){this.errors=new Array,this.lightSerializing=!1}return Object.defineProperty(e,"metaData",{get:function(){return e.metaDataValue},enumerable:!1,configurable:!0}),e.prototype.toJsonObject=function(e,t){return void 0===t&&(t=!1),this.toJsonObjectCore(e,null,t)},e.prototype.toObject=function(e,t){this.toObjectCore(e,t);var n=this.getRequiredError(t,e);n&&this.addNewError(n,e)},e.prototype.toObjectCore=function(t,n){if(t){var r=null,o=void 0,i=!0;if(n.getType&&(o=n.getType(),r=e.metaData.getProperties(o),i=!!o&&!e.metaData.isDescendantOf(o,"itemvalue")),r){for(var s in n.startLoadingFromJson&&n.startLoadingFromJson(),r=this.addDynamicProperties(n,t,r),t)if(s!==e.typePropertyName)if(s!==e.positionPropertyName){var a=this.findProperty(r,s);a?this.valueToObj(t[s],n,a):i&&this.addNewError(new m(s.toString(),o),t)}else n[s]=t[s];n.endLoadingFromJson&&n.endLoadingFromJson()}}},e.prototype.toJsonObjectCore=function(t,n,r){if(void 0===r&&(r=!1),!t||!t.getType)return t;if("function"===typeof t.getData)return t.getData();var o={};return null==n||n.className||(o[e.typePropertyName]=n.getObjType(t.getType())),this.propertiesToJson(t,e.metaData.getProperties(t.getType()),o,r),this.propertiesToJson(t,this.getDynamicProperties(t),o,r),o},e.prototype.getDynamicProperties=function(e){return w.getDynamicPropertiesByObj(e)},e.prototype.addDynamicProperties=function(e,t,n){if(!e.getDynamicPropertyName)return n;var r=e.getDynamicPropertyName();if(!r)return n;t[r]&&(e[r]=t[r]);for(var o=this.getDynamicProperties(e),i=[],s=0;s0?i:null}else o=this.toJsonObjectCore(o,n,r);var a="function"===typeof e["getPropertyValue"]&&null!==e["getPropertyValue"](n.name,null);(r&&a||!n.isDefaultValue(o))&&(t[n.name]=o)}}},e.prototype.valueToObj=function(e,t,n){if(null!=e)if(this.removePos(n,e),null!=n&&n.hasToUseSetValue)n.setValue(t,e,this);else if(this.isValueArray(e))this.valueToArray(e,t,n.name,n);else{var r=this.createNewObj(e,n);r.newObj&&(this.toObjectCore(e,r.newObj),e=r.newObj),r.error||(null!=n?n.setValue(t,e,this):t[n.name]=e)}},e.prototype.removePos=function(e,t){!e||!e.type||e.type.indexOf("value")<0||this.removePosFromObj(t)},e.prototype.removePosFromObj=function(t){if(t){if(Array.isArray(t))for(var n=0;n0&&t[n].splice(0,t[n].length);var o=t[n]?t[n]:[];this.addValuesIntoArray(e,o,r),t[n]||(t[n]=o)},e.prototype.addValuesIntoArray=function(e,t,n){for(var r=0;r=0;a--)(o=e[a])&&(s=(i<3?o(s):i>3?o(t,n,s):o(t,n))||s);return i>3&&s&&Object.defineProperty(t,n,s),s},a=function(e,t){for(var n=0,r=t.length,o=e.length;n-1&&(e=this.owner.getProcessedText(e)),this.onGetTextCallback&&(e=this.onGetTextCallback(e)),e},Object.defineProperty(e.prototype,"pureText",{get:function(){var e=this.locale;e||(e=i["settings"].defaultLocaleName);var t=this.getValue(e);return t||e!=i["settings"].defaultLocaleName||(t=this.getValue(o["surveyLocalization"].defaultLocale)),t||e===i["settings"].defaultLocaleName||(t=this.getValue(i["settings"].defaultLocaleName)),t||(t=""),t},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"hasHtml",{get:function(){return this.hasHtmlValue()},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"html",{get:function(){return this.hasHtml?this.getHtmlValue():""},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"isEmpty",{get:function(){return 0==this.getValuesKeys().length},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"textOrHtml",{get:function(){return this.hasHtml?this.getHtmlValue():this.calculatedText},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"renderedHtml",{get:function(){return this.textOrHtml},enumerable:!1,configurable:!0}),e.prototype.getLocaleText=function(e){e||(e=i["settings"].defaultLocaleName);var t=this.getValue(e);return t||""},e.prototype.setLocaleText=function(e,t){if(t!=this.getLocaleText(e)&&(!t||!e||e==i["settings"].defaultLocaleName||this.getValue(e)||t!=this.getLocaleText(i["settings"].defaultLocaleName))){var n=this.locale;e||(e=i["settings"].defaultLocaleName),n||(n=i["settings"].defaultLocaleName);var r=this.onStrChanged&&e===n,o=r?this.pureText:void 0;delete this.htmlValues[e],t?"string"===typeof t&&(e!=i["settings"].defaultLocaleName&&t==this.getLocaleText(i["settings"].defaultLocaleName)?this.setLocaleText(e,null):(this.setValue(e,t),e==i["settings"].defaultLocaleName&&this.deleteValuesEqualsToDefault(t))):this.getValue(e)&&this.deleteValue(e),this.strChanged(),r&&this.onStrChanged(o,t)}},e.prototype.hasNonDefaultText=function(){var e=this.getValuesKeys();return 0!=e.length&&(e.length>1||e[0]!=i["settings"].defaultLocaleName)},e.prototype.getLocales=function(){var e=this.getValuesKeys();return 0==e.length?[]:e},e.prototype.getJson=function(){if(this.sharedData)return this.sharedData.getJson();var e=this.getValuesKeys();return 0==e.length?null:1!=e.length||e[0]!=i["settings"].defaultLocaleName||i["settings"].serializeLocalizableStringAsObject?this.values:this.values[e[0]]},e.prototype.setJson=function(e){if(this.sharedData)this.sharedData.setJson(e);else if(this.values={},this.htmlValues={},e){if("string"===typeof e)this.setLocaleText(null,e);else for(var t in e)this.setLocaleText(t,e[t]);this.strChanged()}},Object.defineProperty(e.prototype,"renderAs",{get:function(){return this.owner?"function"!==typeof this.owner.getRenderer?e.defaultRenderer:this.owner.getRenderer(this.name)||e.defaultRenderer:e.defaultRenderer},enumerable:!1,configurable:!0}),e.prototype.equals=function(e){return this.sharedData?this.sharedData.equals(e):!(!e||!e.values)&&r["Helpers"].isTwoValueEquals(this.values,e.values)},e.prototype.setFindText=function(e){if(this.searchText!=e){if(this.searchText=e,!this.searchableText){var t=this.textOrHtml;this.searchableText=t?t.toLowerCase():""}var n=this.searchableText,r=n&&e?n.indexOf(e):void 0;return r<0&&(r=void 0),void 0==r&&this.searchIndex==r||(this.searchIndex=r,this.onSearchChanged&&this.onSearchChanged()),void 0!=this.searchIndex}},e.prototype.onChanged=function(){},e.prototype.onCreating=function(){},e.prototype.hasHtmlValue=function(){if(!this.owner||!this.useMarkdown)return!1;var e=this.calculatedText;if(!e)return!1;var t=this.locale;return t||(t=i["settings"].defaultLocaleName),this.htmlValues[t]=this.owner.getMarkdownHtml(e,this.name),!!this.htmlValues[t]},e.prototype.getHtmlValue=function(){var e=this.locale;return e||(e=i["settings"].defaultLocaleName),this.htmlValues[e]},e.prototype.deleteValuesEqualsToDefault=function(e){for(var t=this.getValuesKeys(),n=0;n0?r.num+". "+e:e},n.createLocalizableString("navigationTitle",n,!0),n.createLocalizableString("navigationDescription",n,!0),n}return s(t,e),t.prototype.getType=function(){return"page"},t.prototype.toString=function(){return this.name},Object.defineProperty(t.prototype,"isPage",{get:function(){return!0},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"navigationTitle",{get:function(){return this.getLocalizableStringText("navigationTitle")},set:function(e){this.setLocalizableStringText("navigationTitle",e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"locNavigationTitle",{get:function(){return this.getLocalizableString("navigationTitle")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"navigationDescription",{get:function(){return this.getLocalizableStringText("navigationDescription")},set:function(e){this.setLocalizableStringText("navigationDescription",e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"locNavigationDescription",{get:function(){return this.getLocalizableString("navigationDescription")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"passed",{get:function(){return this.getPropertyValue("passed",!1)},set:function(e){this.setPropertyValue("passed",e)},enumerable:!1,configurable:!0}),t.prototype.delete=function(){this.survey&&this.removeSelfFromList(this.survey.pages)},t.prototype.onFirstRendering=function(){this.wasShown||e.prototype.onFirstRendering.call(this)},Object.defineProperty(t.prototype,"visibleIndex",{get:function(){return this.getPropertyValue("visibleIndex",-1)},set:function(e){this.setPropertyValue("visibleIndex",e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isStarted",{get:function(){return this.survey&&this.survey.isPageStarted(this)},enumerable:!1,configurable:!0}),t.prototype.calcCssClasses=function(){var e=this.css,t={page:{},pageTitle:"",pageDescription:"",row:""};return this.copyCssClasses(t.page,e.page),e.pageTitle&&(t.pageTitle=e.pageTitle),e.pageDescription&&(t.pageDescription=e.pageDescription),e.row&&(t.row=e.row),this.survey&&this.survey.updatePageCssClasses(this,t),t},t.prototype.getIsPageVisible=function(t){return!this.isStarted&&e.prototype.getIsPageVisible.call(this,t)},Object.defineProperty(t.prototype,"num",{get:function(){return this.getPropertyValue("num",-1)},set:function(e){this.num!=e&&(this.setPropertyValue("num",e),this.onNumChanged(e))},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"navigationButtonsVisibility",{get:function(){return this.getPropertyValue("navigationButtonsVisibility")},set:function(e){this.setPropertyValue("navigationButtonsVisibility",e.toLowerCase())},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"wasShown",{get:function(){return this.hasShownValue},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"hasShown",{get:function(){return this.wasShown},enumerable:!1,configurable:!0}),t.prototype.setWasShown=function(e){e!=this.hasShownValue&&(this.hasShownValue=e,this.isDesignMode||1==e&&this.areQuestionsRandomized&&this.randomizeElements())},t.prototype.randomizeElements=function(){if(!this.isRandomizing){this.isRandomizing=!0;for(var e=[],t=this.elements,n=0;n-1&&(t=e,n=e,this.dragDropInfo.isBottom?t=s0?i[s-1]:null)}}var a={target:this.dragDropInfo.target,source:this.dragDropInfo.source,parent:r,insertAfter:n,insertBefore:t};return this.survey.dragAndDropAllow(a)},t.prototype.dragDropFinish=function(e){if(void 0===e&&(e=!1),this.dragDropInfo){var t=this.dragDropInfo.target,n=this.dragDropFindRow(t),r=this.dragDropGetElementIndex(t,n);if(this.updateRowsRemoveElementFromRow(t,n),!e&&n){var o=this.dragDropInfo.source,i=!1;o&&o.parent&&(i=n.panel==o.parent,i?(n.panel.dragDropMoveElement(o,t,r),r=-1):o.parent.removeElement(o)),r>-1&&n.panel.addElement(t,r)}return this.dragDropInfo=null,e?null:t}},t.prototype.dragDropGetElementIndex=function(e,t){if(!t)return-1;var n=t.elements.indexOf(e);if(0==t.index)return n;var r=t.panel.rows[t.index-1],o=r.elements[r.elements.length-1];return n+t.panel.elements.indexOf(o)+1},t.prototype.dragDropCanDropTagert=function(){var e=this.dragDropInfo.destination;return!(e&&!e.isPage)||this.dragDropCanDropCore(this.dragDropInfo.target,e)},t.prototype.dragDropCanDropSource=function(){var e=this.dragDropInfo.source;if(!e)return!0;var t=this.dragDropInfo.destination;return!!this.dragDropCanDropCore(e,t)&&this.dragDropCanDropNotNext(e,t,this.dragDropInfo.isEdge,this.dragDropInfo.isBottom)},t.prototype.dragDropCanDropCore=function(e,t){if(!t)return!0;if(this.dragDropIsSameElement(t,e))return!1;if(e.isPanel){var n=e;if(n.containsElement(t)||n.getElementByName(t.name))return!1}return!0},t.prototype.dragDropCanDropNotNext=function(e,t,n,r){if(!t||t.isPanel&&!n)return!0;if(e.parent!==t.parent)return!0;var o=e.parent,i=o.elements.indexOf(e),s=o.elements.indexOf(t);return s1:i-s>0},t.prototype.dragDropIsSameElement=function(e,t){return e==t||e.name==t.name},t.prototype.ensureRowsVisibility=function(){e.prototype.ensureRowsVisibility.call(this),this.getPanels().forEach((function(e){return e.ensureRowsVisibility()}))},t}(i["PanelModelBase"]);r["Serializer"].addClass("page",[{name:"navigationButtonsVisibility",default:"inherit",choices:["inherit","show","hide"]},{name:"questionsOrder",default:"default",choices:["default","initial","random"]},{name:"maxTimeToFinish:number",default:0,minValue:0},{name:"navigationTitle",visibleIf:function(e){return!!e.survey&&"buttons"===e.survey.progressBarType},serializationProperty:"locNavigationTitle"},{name:"navigationDescription",visibleIf:function(e){return!!e.survey&&"buttons"===e.survey.progressBarType},serializationProperty:"locNavigationDescription"}],(function(){return new a}),"panelbase")},"./src/panel.ts": /*!**********************!*\ !*** ./src/panel.ts ***! \**********************/ /*! exports provided: DragDropInfo, QuestionRowModel, PanelModelBase, PanelModel */function(e,t,n){"use strict";n.r(t),n.d(t,"DragDropInfo",(function(){return h})),n.d(t,"QuestionRowModel",(function(){return f})),n.d(t,"PanelModelBase",(function(){return m})),n.d(t,"PanelModel",(function(){return v}));var r=n(/*! ./jsonobject */"./src/jsonobject.ts"),o=n(/*! ./helpers */"./src/helpers.ts"),i=n(/*! ./base */"./src/base.ts"),s=n(/*! ./question */"./src/question.ts"),a=n(/*! ./conditions */"./src/conditions.ts"),l=n(/*! ./questionfactory */"./src/questionfactory.ts"),u=n(/*! ./error */"./src/error.ts"),c=n(/*! ./settings */"./src/settings.ts"),d=n(/*! ./utils/utils */"./src/utils/utils.ts"),p=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){if("function"!==typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),h=function(){function e(e,t,n){void 0===n&&(n=-1),this.source=e,this.target=t,this.nestedPanelDepth=n}return e}(),f=function(e){function t(n){var r=e.call(this)||this;return r.panel=n,r._scrollableParent=void 0,r._updateVisibility=void 0,r.idValue=t.getRowId(),r.isNeedRender=!r.isLazyRendering,r.visible=n.areInvisibleElementsShowing,r.createNewArray("elements"),r}return p(t,e),t.getRowId=function(){return"pr_"+t.rowCounter++},t.prototype.startLazyRendering=function(e,t){var n=this;void 0===t&&(t=d["findScrollableParent"]),this._scrollableParent=t(e),this.isNeedRender=!(this._scrollableParent.scrollHeight>this._scrollableParent.clientHeight),this._scrollableParent===document.documentElement&&(this._scrollableParent=window),this.isNeedRender||(this._updateVisibility=function(){var t=Object(d["isElementVisible"])(e,50);!n.isNeedRender&&t&&(n.isNeedRender=!0,n.stopLazyRendering())},setTimeout((function(){n._scrollableParent&&n._scrollableParent.addEventListener&&n._scrollableParent.addEventListener("scroll",n._updateVisibility),n.ensureVisibility()}),10))},t.prototype.ensureVisibility=function(){this._updateVisibility&&this._updateVisibility()},t.prototype.stopLazyRendering=function(){this._scrollableParent&&this._updateVisibility&&this._scrollableParent.removeEventListener&&this._scrollableParent.removeEventListener("scroll",this._updateVisibility),this._scrollableParent=void 0,this._updateVisibility=void 0},Object.defineProperty(t.prototype,"isLazyRendering",{get:function(){return!!this.panel&&!!this.panel.survey&&this.panel.survey.isLazyRendering},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"id",{get:function(){return this.idValue},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"elements",{get:function(){return this.getPropertyValue("elements")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"visible",{get:function(){return this.getPropertyValue("visible",!0)},set:function(e){this.setPropertyValue("visible",e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isNeedRender",{get:function(){return this.getPropertyValue("isneedrender",!0)},set:function(e){this.setPropertyValue("isneedrender",e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"visibleElements",{get:function(){return this.elements.filter((function(e){return e.isVisible}))},enumerable:!1,configurable:!0}),t.prototype.updateVisible=function(){this.visible=this.calcVisible(),this.setWidth()},t.prototype.addElement=function(e){this.elements.push(e),this.updateVisible()},Object.defineProperty(t.prototype,"index",{get:function(){return this.panel.rows.indexOf(this)},enumerable:!1,configurable:!0}),t.prototype.setWidth=function(){var e=this.visibleElements.length;if(0!=e){for(var t=0,n=[],r=0;r-1||(0==n.length?o.renderWidth=(100/e).toFixed(6)+"%":o.renderWidth=this.getRenderedCalcWidth(o,n,e))}}},t.prototype.setElementMaxMinWidth=function(e){e.width&&"string"===typeof e.width&&-1===e.width.indexOf("%")&&(e.minWidth=e.width,e.maxWidth=e.width)},t.prototype.getRenderedCalcWidth=function(e,t,n){for(var r="100%",o=0;o1&&(r="("+r+")/"+i.toString()),"calc("+r+")"},t.prototype.getElementWidth=function(e){var t=e.width;return t&&"string"===typeof t?t.trim():""},t.prototype.getRenderedWidthFromWidth=function(e){return o["Helpers"].isNumber(e)?e+"px":e},t.prototype.calcVisible=function(){return this.visibleElements.length>0},t.prototype.dispose=function(){e.prototype.dispose.call(this),this.stopLazyRendering()},t.rowCounter=100,t}(i["Base"]),m=function(e){function t(n){void 0===n&&(n="");var r=e.call(this,n)||this;return r.isQuestionsReady=!1,r.questionsValue=new Array,r.createNewArray("rows"),r.elementsValue=r.createNewArray("elements",r.onAddElement.bind(r),r.onRemoveElement.bind(r)),r.id=t.getPanelId(),r.createLocalizableString("title",r,!0),r.createLocalizableString("description",r,!0),r.createLocalizableString("requiredErrorText",r),r.registerFunctionOnPropertyValueChanged("questionTitleLocation",(function(){r.onVisibleChanged.bind(r),r.updateElementCss(!0)})),r.registerFunctionOnPropertiesValueChanged(["questionStartIndex","showQuestionNumbers"],(function(){r.updateVisibleIndexes()})),r}return p(t,e),t.getPanelId=function(){return"sp_"+t.panelCounter++},t.prototype.getType=function(){return"panelbase"},t.prototype.setSurveyImpl=function(t){e.prototype.setSurveyImpl.call(this,t),this.isDesignMode&&this.onVisibleChanged();for(var n=0;n0||this.isDesignMode&&c["settings"].allowShowEmptyTitleInDesignMode},enumerable:!1,configurable:!0}),t.prototype.getTitleActions=function(){var t=e.prototype.getTitleActions.call(this);return this.titleActions=this.survey.getUpdatedPanelTitleActions(this,t),this.titleActions},Object.defineProperty(t.prototype,"_showDescription",{get:function(){return this.survey.showPageTitles&&this.description.length>0||this.isDesignMode&&c["settings"].allowShowEmptyTitleInDesignMode&&c["settings"].allowShowEmptyDescriptionInDesignMode},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"description",{get:function(){return this.getLocalizableStringText("description")},set:function(e){this.setLocalizableStringText("description",e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"locDescription",{get:function(){return this.getLocalizableString("description")},enumerable:!1,configurable:!0}),t.prototype.localeChanged=function(){e.prototype.localeChanged.call(this);for(var t=0;t0))return i}}return null},t.prototype.focusFirstQuestion=function(){var e=this.getFirstQuestionToFocus();e&&e.focus()},t.prototype.focusFirstErrorQuestion=function(){var e=this.getFirstQuestionToFocus(!0);e&&e.focus()},t.prototype.addQuestionsToList=function(e,t,n){void 0===t&&(t=!1),void 0===n&&(n=!1),this.addElementsToList(e,t,n,!1)},t.prototype.addPanelsIntoList=function(e,t,n){void 0===t&&(t=!1),void 0===n&&(n=!1),this.addElementsToList(e,t,n,!0)},t.prototype.addElementsToList=function(e,t,n,r){t&&!this.visible||this.addElementsToListCore(e,this.elements,t,n,r)},t.prototype.addElementsToListCore=function(e,t,n,r,o){for(var i=0;i-1){r.updateVisible();break}}},t.prototype.canBuildRows=function(){return!this.isLoadingFromJson&&"row"==this.getChildrenLayoutType()},t.prototype.buildRows=function(){if(!this.canBuildRows())return[];for(var e=new Array,t=0;t1,this.elements.length<2?n.destination=this:(n.isBottom=t>0,n.destination=0==t?this.elements[1]:this.elements[t-1]),this.dragDropAddTargetToRow(n,null)}},t.prototype.updateRowsOnElementRemoved=function(e){this.canBuildRows()&&this.updateRowsRemoveElementFromRow(e,this.findRowByElement(e))},t.prototype.updateRowsRemoveElementFromRow=function(e,t){if(t&&t.panel){var n=t.elements.indexOf(e);n<0||(t.elements.splice(n,1),t.elements.length>0?t.updateVisible():t.index>=0&&t.panel.rows.splice(t.index,1))}},t.prototype.findRowByElement=function(e){for(var t=this.rows,n=0;n-1)return t[n];return null},t.prototype.elementWidthChanged=function(e){if(!this.isLoadingFromJson){var t=this.findRowByElement(e);t&&t.updateVisible()}},Object.defineProperty(t.prototype,"processedTitle",{get:function(){return this.getRenderedTitle(this.locTitle.textOrHtml)},enumerable:!1,configurable:!0}),t.prototype.getRenderedTitle=function(e){return null!=this.textProcessor?this.textProcessor.processText(e,!0):e},Object.defineProperty(t.prototype,"visible",{get:function(){return this.getPropertyValue("visible",!0)},set:function(e){e!==this.visible&&(this.setPropertyValue("visible",e),this.setPropertyValue("isVisible",this.isVisible),this.isLoadingFromJson||this.onVisibleChanged())},enumerable:!1,configurable:!0}),t.prototype.onVisibleChanged=function(){if(this.setPropertyValue("isVisible",this.isVisible),this.survey&&this.survey.isClearValueOnHiddenContainer&&!this.isLoadingFromJson)for(var e=this.questions,t=0;t=this.elements.length?this.elements.push(e):this.elements.splice(t,0,e),!0)},t.prototype.insertElementAfter=function(e,t){var n=this.elements.indexOf(t);n>=0&&this.addElement(e,n+1)},t.prototype.insertElementBefore=function(e,t){var n=this.elements.indexOf(t);n>=0&&this.addElement(e,n)},t.prototype.canAddElement=function(e){return!!e&&e.isLayoutTypeSupported(this.getChildrenLayoutType())},t.prototype.addQuestion=function(e,t){return void 0===t&&(t=-1),this.addElement(e,t)},t.prototype.addPanel=function(e,t){return void 0===t&&(t=-1),this.addElement(e,t)},t.prototype.addNewQuestion=function(e,t,n){void 0===t&&(t=null),void 0===n&&(n=-1);var r=l["QuestionFactory"].Instance.createQuestion(e,t);return this.addQuestion(r,n)?r:null},t.prototype.addNewPanel=function(e){void 0===e&&(e=null);var t=this.createNewPanel(e);return this.addPanel(t)?t:null},t.prototype.indexOf=function(e){return this.elements.indexOf(e)},t.prototype.createNewPanel=function(e){var t=r["Serializer"].createClass("panel");return t.name=e,t},t.prototype.removeElement=function(e){var t=this.elements.indexOf(e);if(t<0){for(var n=0;n-1)return n[r];for(r=0;r=n.depth)return this.dragDropAddTargetToEmptyPanelCore(t,e.target,e.isBottom),!0}return!1},t.prototype.dragDropAddTargetToExistingRow=function(e,t,n){var r=t.elements.indexOf(e.destination);if(0==r&&!e.isBottom&&t.elements[0].startWithNewLine)return t.index>0?(e.isBottom=!0,t=t.panel.rows[t.index-1],e.destination=t.elements[t.elements.length-1],this.dragDropAddTargetToExistingRow(e,t,n)):this.dragDropAddTargetToNewRow(e,t,n);var o=-1;n==t&&(o=t.elements.indexOf(e.target)),e.isBottom&&r++;var i=this.findRowByElement(e.source);return(i!=t||i.elements.indexOf(e.source)!=r)&&(r!=o&&(o>-1&&(t.elements.splice(o,1),or&&n--,this.removeElement(e),this.addElement(t,n)},t.prototype.dispose=function(){if(e.prototype.dispose.call(this),this.rows){for(var t=0;t1},choices:function(e){var t=e?e.survey:null;return t?t.pages.map((function(e){return{value:e.name,text:e.title}})):[]}},"showNumber:boolean",{name:"showQuestionNumbers",default:"default",choices:["default","onpanel","off"]},"questionStartIndex"],(function(){return new v}),"panelbase"),l["ElementFactory"].Instance.registerElement("panel",(function(e){return new v(e)}))},"./src/popup.ts": /*!**********************!*\ !*** ./src/popup.ts ***! \**********************/ /*! exports provided: PopupModel, PopupBaseViewModel */function(e,t,n){"use strict";n.r(t),n.d(t,"PopupModel",(function(){return u})),n.d(t,"PopupBaseViewModel",(function(){return c}));var r=n(/*! ./base */"./src/base.ts"),o=n(/*! ./jsonobject */"./src/jsonobject.ts"),i=n(/*! ./surveyStrings */"./src/surveyStrings.ts"),s=n(/*! ./utils/popup */"./src/utils/popup.ts"),a=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){if("function"!==typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),l=function(e,t,n,r){var o,i=arguments.length,s=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)s=Reflect.decorate(e,t,n,r);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(i<3?o(s):i>3?o(t,n,s):o(t,n))||s);return i>3&&s&&Object.defineProperty(t,n,s),s},u=function(e){function t(t,n,r,o,i,s,a,l,u,c,d){void 0===r&&(r="bottom"),void 0===o&&(o="left"),void 0===i&&(i=!0),void 0===s&&(s=!1),void 0===a&&(a=function(){}),void 0===l&&(l=function(){}),void 0===u&&(u=function(){}),void 0===c&&(c=function(){}),void 0===d&&(d="");var p=e.call(this)||this;return p.contentComponentName=t,p.contentComponentData=n,p.verticalPosition=r,p.horizontalPosition=o,p.showPointer=i,p.isModal=s,p.onCancel=a,p.onApply=l,p.onHide=u,p.onShow=c,p.cssClass=d,p}return a(t,e),Object.defineProperty(t.prototype,"isVisible",{get:function(){return this.getPropertyValue("isVisible",!1)},set:function(e){this.isVisible!==e&&(this.setPropertyValue("isVisible",e),this.onVisibilityChanged&&this.onVisibilityChanged(e),this.isVisible?this.onShow():this.onHide())},enumerable:!1,configurable:!0}),t.prototype.toggleVisibility=function(){this.isVisible=!this.isVisible},l([Object(o["property"])()],t.prototype,"contentComponentName",void 0),l([Object(o["property"])()],t.prototype,"contentComponentData",void 0),l([Object(o["property"])({defaultValue:"bottom"})],t.prototype,"verticalPosition",void 0),l([Object(o["property"])({defaultValue:"left"})],t.prototype,"horizontalPosition",void 0),l([Object(o["property"])({defaultValue:!1})],t.prototype,"showPointer",void 0),l([Object(o["property"])({defaultValue:!1})],t.prototype,"isModal",void 0),l([Object(o["property"])({defaultValue:function(){}})],t.prototype,"onCancel",void 0),l([Object(o["property"])({defaultValue:function(){}})],t.prototype,"onApply",void 0),l([Object(o["property"])({defaultValue:function(){}})],t.prototype,"onHide",void 0),l([Object(o["property"])({defaultValue:function(){}})],t.prototype,"onShow",void 0),l([Object(o["property"])({defaultValue:""})],t.prototype,"cssClass",void 0),t}(r["Base"]),c=function(e){function t(t,n){var r=e.call(this)||this;return r.model=t,r.targetElement=n,r.model.registerFunctionOnPropertyValueChanged("isVisible",(function(){r.isVisible=r.model.isVisible})),r}return a(t,e),Object.defineProperty(t.prototype,"contentComponentName",{get:function(){return this.model.contentComponentName},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"contentComponentData",{get:function(){return this.model.contentComponentData},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"showPointer",{get:function(){return this.model.showPointer},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isModal",{get:function(){return this.model.isModal},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"styleClass",{get:function(){var e=this.model.cssClass;return this.isModal?e+=" sv-popup--modal":this.showPointer&&(e+=" sv-popup--show-pointer",e+=" sv-popup--"+this.popupDirection),e},enumerable:!1,configurable:!0}),t.prototype.updatePosition=function(){var e=this.targetElement.getBoundingClientRect(),t=this.container.children[0],n=t.children[0];this.popupDirection=s["PopupUtils"].calculatePopupDirection(this.model.verticalPosition,this.model.horizontalPosition);var r=n.offsetHeight,o=n.offsetWidth,i=s["PopupUtils"].calculatePosition(e,r,o,this.model.verticalPosition,this.model.horizontalPosition,this.showPointer);this.left=i.left+"px",this.top=i.top+"px",this.showPointer&&(this.pointerTarget=s["PopupUtils"].calculatePointerTarget(e,i.top,i.left,this.model.verticalPosition,this.model.horizontalPosition)),this.pointerTarget.top+="px",this.pointerTarget.left+="px"},t.prototype.clickOutside=function(){this.isModal||(this.model.isVisible=!1)},t.prototype.cancel=function(){this.model.onCancel(),this.model.isVisible=!1},t.prototype.apply=function(){this.model.onApply(),this.model.isVisible=!1},Object.defineProperty(t.prototype,"cancelButtonText",{get:function(){return i["surveyLocalization"].getString("modalCancelButtonText")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"applyButtonText",{get:function(){return i["surveyLocalization"].getString("modalApplyButtonText")},enumerable:!1,configurable:!0}),t.prototype.dispose=function(){e.prototype.dispose.call(this),this.model.onVisibilityChanged=void 0},t.prototype.initializePopupContainer=function(){var e=document.createElement("div");this.container=e,document.body.appendChild(this.container)},t.prototype.destroyPopupContainer=function(){this.container.remove(),this.container=void 0},l([Object(o["property"])({defaultValue:"0px"})],t.prototype,"top",void 0),l([Object(o["property"])({defaultValue:"0px"})],t.prototype,"left",void 0),l([Object(o["property"])({defaultValue:!1})],t.prototype,"isVisible",void 0),l([Object(o["property"])({defaultValue:"left"})],t.prototype,"popupDirection",void 0),l([Object(o["property"])({defaultValue:{left:"0px",top:"0px"}})],t.prototype,"pointerTarget",void 0),t}(r["Base"])},"./src/question.ts": /*!*************************!*\ !*** ./src/question.ts ***! \*************************/ /*! exports provided: Question */function(e,t,n){"use strict";n.r(t),n.d(t,"Question",(function(){return v}));var r=n(/*! ./helpers */"./src/helpers.ts"),o=n(/*! ./jsonobject */"./src/jsonobject.ts"),i=n(/*! ./base */"./src/base.ts"),s=n(/*! ./surveyStrings */"./src/surveyStrings.ts"),a=n(/*! ./error */"./src/error.ts"),l=n(/*! ./validator */"./src/validator.ts"),u=n(/*! ./localizablestring */"./src/localizablestring.ts"),c=n(/*! ./conditions */"./src/conditions.ts"),d=n(/*! ./questionCustomWidgets */"./src/questionCustomWidgets.ts"),p=n(/*! ./settings */"./src/settings.ts"),h=n(/*! ./rendererFactory */"./src/rendererFactory.ts"),f=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){if("function"!==typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),m=function(e,t,n,r){var o,i=arguments.length,s=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)s=Reflect.decorate(e,t,n,r);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(i<3?o(s):i>3?o(t,n,s):o(t,n))||s);return i>3&&s&&Object.defineProperty(t,n,s),s},v=function(e){function t(n){var r=e.call(this,n)||this;r.conditionRunner=null,r.isCustomWidgetRequested=!1,r.customWidgetData={isNeedRender:!0},r.isReadyValue=!0,r.onReadyChanged=r.addEvent(),r.parentQuestionValue=null,r.isRunningValidatorsValue=!1,r.isValueChangedInSurvey=!1,r.allowNotifyValueChanged=!0,r.locOwner=null,r.id=t.getQuestionId(),r.onCreating(),r.createNewArray("validators",(function(e){e.errorOwner=r}));var o=r.createLocalizableString("title",r,!0);o.onGetTextCallback=function(e){return e||(e=r.name),r.survey?r.survey.getUpdatedQuestionTitle(r,e):e},r.locProcessedTitle=new u["LocalizableString"](r,!0),r.locProcessedTitle.sharedData=o;var i=r.createLocalizableString("commentText",r,!0);return i.onGetTextCallback=function(e){return e||s["surveyLocalization"].getString("otherItemText")},r.createLocalizableString("requiredErrorText",r),r.registerFunctionOnPropertyValueChanged("width",(function(){r.updateQuestionCss(),r.parent&&r.parent.elementWidthChanged(r)})),r.registerFunctionOnPropertyValueChanged("isRequired",(function(){r.locTitle.onChanged(),r.cssClassesValue=void 0})),r.registerFunctionOnPropertiesValueChanged(["indent","rightIndent"],(function(){r.onIndentChanged()})),r.registerFunctionOnPropertiesValueChanged(["hasComment","hasOther"],(function(){r.initCommentFromSurvey()})),r}return f(t,e),t.getQuestionId=function(){return"sq_"+t.questionCounter++},t.prototype.isReadOnlyRenderDiv=function(){return this.isReadOnly&&"div"===p["settings"].readOnlyCommentRenderMode},t.prototype.getSurvey=function(t){return void 0===t&&(t=!1),t?this.parent?this.parent.getSurvey(t):null:this.onGetSurvey?this.onGetSurvey():e.prototype.getSurvey.call(this)},t.prototype.getValueName=function(){return this.valueName?this.valueName.toString():this.name},Object.defineProperty(t.prototype,"valueName",{get:function(){return this.getPropertyValue("valueName","")},set:function(e){var t=this.getValueName();this.setPropertyValue("valueName",e),this.onValueNameChanged(t)},enumerable:!1,configurable:!0}),t.prototype.onValueNameChanged=function(e){this.survey&&(this.survey.questionRenamed(this,this.name,e||this.name),this.initDataFromSurvey())},t.prototype.onNameChanged=function(e){this.locTitle.onChanged(),this.survey&&this.survey.questionRenamed(this,e,this.valueName?this.valueName:e)},Object.defineProperty(t.prototype,"isReady",{get:function(){return this.isReadyValue},enumerable:!1,configurable:!0}),t.prototype.choicesLoaded=function(){},Object.defineProperty(t.prototype,"page",{get:function(){return this.getPage(this.parent)},set:function(e){this.setPage(this.parent,e)},enumerable:!1,configurable:!0}),t.prototype.getPanel=function(){return null},t.prototype.delete=function(){this.parent&&this.removeSelfFromList(this.parent.elements)},Object.defineProperty(t.prototype,"isFlowLayout",{get:function(){return"flow"===this.getLayoutType()},enumerable:!1,configurable:!0}),t.prototype.getLayoutType=function(){return this.parent?this.parent.getChildrenLayoutType():"row"},t.prototype.isLayoutTypeSupported=function(e){return"flow"!==e},Object.defineProperty(t.prototype,"visible",{get:function(){return this.getPropertyValue("visible",!0)},set:function(e){e!=this.visible&&(this.setPropertyValue("visible",e),this.onVisibleChanged(),this.notifySurveyVisibilityChanged())},enumerable:!1,configurable:!0}),t.prototype.onVisibleChanged=function(){this.setPropertyValue("isVisible",this.isVisible),this.isVisible&&this.survey&&this.survey.isClearValueOnHidden&&this.updateValueWithDefaults(),!this.isVisible&&this.errors&&this.errors.length>0&&(this.errors=[])},Object.defineProperty(t.prototype,"useDisplayValuesInTitle",{get:function(){return this.getPropertyValue("useDisplayValuesInTitle",!0)},set:function(e){this.setPropertyValue("useDisplayValuesInTitle",e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"visibleIf",{get:function(){return this.getPropertyValue("visibleIf","")},set:function(e){this.setPropertyValue("visibleIf",e),this.runConditions()},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isVisible",{get:function(){return!(this.survey&&this.survey.areEmptyElementsHidden&&this.isEmpty())&&(this.visible||this.areInvisibleElementsShowing)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"visibleIndex",{get:function(){return this.getPropertyValue("visibleIndex",-1)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"hideNumber",{get:function(){return this.getPropertyValue("hideNumber",!1)},set:function(e){this.setPropertyValue("hideNumber",e),this.notifySurveyVisibilityChanged()},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isAllowTitleLeft",{get:function(){return!0},enumerable:!1,configurable:!0}),t.prototype.getType=function(){return"question"},t.prototype.moveTo=function(e,t){return void 0===t&&(t=null),this.moveToBase(this.parent,e,t)},t.prototype.getProgressInfo=function(){return this.hasInput?{questionCount:1,answeredQuestionCount:this.isEmpty()?0:1,requiredQuestionCount:this.isRequired?1:0,requiredAnsweredQuestionCount:!this.isEmpty()&&this.isRequired?1:0}:e.prototype.getProgressInfo.call(this)},t.prototype.runConditions=function(){this.data&&!this.isLoadingFromJson&&(this.isDesignMode||this.runCondition(this.getDataFilteredValues(),this.getDataFilteredProperties()),this.locStrsChanged())},t.prototype.setSurveyImpl=function(t){e.prototype.setSurveyImpl.call(this,t),this.survey&&this.survey.questionCreated(this),this.survey&&this.survey.isDesignMode&&!this.isDesignMode&&this.onVisibleChanged(),this.runConditions()},t.prototype.getDataFilteredValues=function(){return this.data?this.data.getFilteredValues():null},t.prototype.getDataFilteredProperties=function(){var e=this.data?this.data.getFilteredProperties():{};return e.question=this,e},Object.defineProperty(t.prototype,"parent",{get:function(){return this.getPropertyValue("parent",null)},set:function(e){this.parent!==e&&(this.delete(),this.setPropertyValue("parent",e),this.updateQuestionCss(),this.onParentChanged())},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"parentQuestion",{get:function(){return this.parentQuestionValue},enumerable:!1,configurable:!0}),t.prototype.setParentQuestion=function(e){this.parentQuestionValue=e,this.onParentQuestionChanged()},t.prototype.onParentQuestionChanged=function(){},t.prototype.onParentChanged=function(){},Object.defineProperty(t.prototype,"hasTitle",{get:function(){return"hidden"!==this.getTitleLocation()},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"titleLocation",{get:function(){return this.getPropertyValue("titleLocation")},set:function(e){var t="hidden"==this.titleLocation||"hidden"==e;this.setPropertyValue("titleLocation",e.toLowerCase()),this.updateQuestionCss(),t&&this.notifySurveyVisibilityChanged()},enumerable:!1,configurable:!0}),t.prototype.notifySurveyVisibilityChanged=function(){this.survey&&!this.isLoadingFromJson&&(this.survey.questionVisibilityChanged(this,this.isVisible),this.survey.isClearValueOnHidden&&!this.visible&&this.clearValue())},t.prototype.getTitleLocation=function(){if(this.isFlowLayout)return"hidden";var e=this.getTitleLocationCore();return"left"!==e||this.isAllowTitleLeft||(e="top"),e},t.prototype.getTitleLocationCore=function(){return"default"!==this.titleLocation?this.titleLocation:this.parent?this.parent.getQuestionTitleLocation():this.survey?this.survey.questionTitleLocation:"top"},Object.defineProperty(t.prototype,"hasTitleOnLeft",{get:function(){return this.hasTitle&&"left"===this.getTitleLocation()},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"hasTitleOnTop",{get:function(){return this.hasTitle&&"top"===this.getTitleLocation()},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"hasTitleOnBottom",{get:function(){return this.hasTitle&&"bottom"===this.getTitleLocation()},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"hasTitleOnLeftTop",{get:function(){if(!this.hasTitle)return!1;var e=this.getTitleLocation();return"left"===e||"top"===e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"errorLocation",{get:function(){return this.survey?this.survey.questionErrorLocation:"top"},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"hasInput",{get:function(){return!0},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"hasSingleInput",{get:function(){return this.hasInput},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"inputId",{get:function(){return this.id+"i"},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"title",{get:function(){return this.getLocalizableStringText("title",this.name)},set:function(e){this.setLocalizableStringText("title",e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"locTitle",{get:function(){return this.getLocalizableString("title")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"descriptionLocation",{get:function(){return this.getPropertyValue("descriptionLocation")},set:function(e){this.setPropertyValue("descriptionLocation",e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"hasDescriptionUnderTitle",{get:function(){return"underTitle"==this.getDescriptionLocation()},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"hasDescriptionUnderInput",{get:function(){return"underInput"==this.getDescriptionLocation()},enumerable:!1,configurable:!0}),t.prototype.getDescriptionLocation=function(){return"default"!==this.descriptionLocation?this.descriptionLocation:this.survey?this.survey.questionDescriptionLocation:"underTitle"},Object.defineProperty(t.prototype,"clickTitleFunction",{get:function(){if(this.hasInput){var e=this;return function(){return e.focus(),!0}}},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"requiredErrorText",{get:function(){return this.getLocalizableStringText("requiredErrorText")},set:function(e){this.setLocalizableStringText("requiredErrorText",e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"locRequiredErrorText",{get:function(){return this.getLocalizableString("requiredErrorText")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"commentText",{get:function(){return this.getLocalizableStringText("commentText",s["surveyLocalization"].getString("otherItemText"))},set:function(e){this.setLocalizableStringText("commentText",e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"locCommentText",{get:function(){return this.getLocalizableString("commentText")},enumerable:!1,configurable:!0}),t.prototype.getAllErrors=function(){return this.errors.slice()},t.prototype.getErrorByType=function(e){for(var t=0;t0&&e.hasError&&(t+=" "+e.hasError),e.small&&!this.width&&(t+=" "+e.small),t},Object.defineProperty(t.prototype,"cssHeader",{get:function(){return this.ensureElementCss(),this.getPropertyValue("cssHeader","")},enumerable:!1,configurable:!0}),t.prototype.setCssHeader=function(e){this.setPropertyValue("cssHeader",e)},t.prototype.getCssHeader=function(e){var t=e.header||"";return this.hasTitleOnTop&&e.headerTop&&(t+=" "+e.headerTop),this.hasTitleOnLeft&&e.headerLeft&&(t+=" "+e.headerLeft),this.hasTitleOnBottom&&e.headerBottom&&(t+=" "+e.headerBottom),t},Object.defineProperty(t.prototype,"cssContent",{get:function(){return this.ensureElementCss(),this.getPropertyValue("cssContent","")},enumerable:!1,configurable:!0}),t.prototype.setCssContent=function(e){this.setPropertyValue("cssContent",e)},t.prototype.getCssContent=function(e){var t=e.content||"";return this.hasTitleOnLeft&&e.contentLeft&&(t+=" "+e.contentLeft),t},Object.defineProperty(t.prototype,"cssTitle",{get:function(){return this.ensureElementCss(),this.getPropertyValue("cssTitle","")},enumerable:!1,configurable:!0}),t.prototype.setCssTitle=function(e){this.setPropertyValue("cssTitle",e)},t.prototype.getCssTitle=function(e){var t=e.title;return(this.isCollapsed||this.isExpanded)&&(t+=" "+e.titleExpandable),this.containsErrors?e.titleOnError&&(t+=" "+e.titleOnError):this.isAnswered&&e.titleOnAnswer&&(t+=" "+e.titleOnAnswer),t},Object.defineProperty(t.prototype,"cssError",{get:function(){return this.ensureElementCss(),this.getPropertyValue("cssError","")},enumerable:!1,configurable:!0}),t.prototype.setCssError=function(e){this.setPropertyValue("cssError",e)},t.prototype.getCssError=function(e){var t=e.error.root||"";return"top"==this.errorLocation?e.error.locationTop&&(t+=" "+e.error.locationTop):"bottom"===this.errorLocation&&e.error.locationBottom&&(t+=" "+e.error.locationBottom),t},t.prototype.updateElementCss=function(e){this.cssClassesValue=void 0,e&&this.updateQuestionCss(!0)},t.prototype.updateQuestionCss=function(e){this.isLoadingFromJson||!this.survey||!0!==e&&!this.cssClassesValue||(this.cssClassesValue||(this.cssClassesValue=this.calcCssClasses()),this.updateElementCssCore(this.cssClasses))},t.prototype.ensureElementCss=function(){this.cssClassesValue||this.updateQuestionCss(!0)},t.prototype.updateElementCssCore=function(e){this.setCssRoot(this.getCssRoot(e)),this.setCssHeader(this.getCssHeader(e)),this.setCssContent(this.getCssContent(e)),this.setCssTitle(this.getCssTitle(e)),this.setCssError(this.getCssError(e))},t.prototype.updateCssClasses=function(e,t){if(t.question){this.isRequired&&(t.question.required&&(e.root=(e.root?e.root+" ":"")+n),t.question.titleRequired&&(e.title+=" "+t.question.titleRequired));var n=t[this.getCssType()];if(void 0!==n&&null!==n)if("string"===typeof n||n instanceof String)e.root=(e.root?e.root+" ":"")+n;else for(var r in n)e[r]=n[r]}},t.prototype.getCssType=function(){return this.getType()},Object.defineProperty(t.prototype,"css",{get:function(){return this.survey?this.survey.getCss():{}},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"width",{get:function(){return this.getPropertyValue("width","")},set:function(e){this.setPropertyValue("width",e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"minWidth",{get:function(){return this.getPropertyValue("minWidth",p["settings"].minWidth)},set:function(e){this.setPropertyValue("minWidth",e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"maxWidth",{get:function(){return this.getPropertyValue("maxWidth",p["settings"].maxWidth)},set:function(e){this.setPropertyValue("maxWidth",e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"renderWidth",{get:function(){return this.getPropertyValue("renderWidth","")},set:function(e){this.setPropertyValue("renderWidth",e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"indent",{get:function(){return this.getPropertyValue("indent",0)},set:function(e){this.setPropertyValue("indent",e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"rightIndent",{get:function(){return this.getPropertyValue("rightIndent",0)},set:function(e){this.setPropertyValue("rightIndent",e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"paddingLeft",{get:function(){return this.getPropertyValue("paddintLeft","")},set:function(e){this.setPropertyValue("paddintLeft",e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"paddingRight",{get:function(){return this.getPropertyValue("paddingRight","")},set:function(e){this.setPropertyValue("paddingRight",e)},enumerable:!1,configurable:!0}),t.prototype.onIndentChanged=function(){this.paddingLeft=this.getIndentSize(this.indent),this.paddingRight=this.getIndentSize(this.rightIndent)},t.prototype.getIndentSize=function(e){return e<1||!this.getSurvey()||!this.cssClasses?"":e*this.cssClasses.indent+"px"},t.prototype.focus=function(e){if(void 0===e&&(e=!1),!this.isDesignMode){this.survey&&this.survey.scrollElementToTop(this,this,null,this.id);var t=e?this.getFirstErrorInputElementId():this.getFirstInputElementId();i["SurveyElement"].FocusElement(t)&&this.fireCallback(this.focusCallback)}},t.prototype.fireCallback=function(e){e&&e()},t.prototype.getOthersMaxLength=function(){return this.survey&&this.survey.maxOthersLength>0?this.survey.maxOthersLength:null},t.prototype.onCreating=function(){},t.prototype.getFirstInputElementId=function(){return this.inputId},t.prototype.getFirstErrorInputElementId=function(){return this.getFirstInputElementId()},t.prototype.getProcessedTextValue=function(e){var n=e.name.toLocaleLowerCase();e.isExists=-1!==Object.keys(t.TextPreprocessorValuesMap).indexOf(n)||void 0!==this[e.name],e.value=this[t.TextPreprocessorValuesMap[n]||e.name]},t.prototype.supportComment=function(){return!1},t.prototype.supportOther=function(){return!1},Object.defineProperty(t.prototype,"isRequired",{get:function(){return this.getPropertyValue("isRequired",!1)},set:function(e){this.setPropertyValue("isRequired",e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"requiredIf",{get:function(){return this.getPropertyValue("requiredIf","")},set:function(e){this.setPropertyValue("requiredIf",e),this.runConditions()},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"hasComment",{get:function(){return this.getPropertyValue("hasComment",!1)},set:function(e){this.supportComment()&&(this.setPropertyValue("hasComment",e),this.hasComment&&(this.hasOther=!1))},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"id",{get:function(){return this.getPropertyValue("id")},set:function(e){this.setPropertyValue("id",e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"ariaTitleId",{get:function(){return this.id+"_ariaTitle"},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"ariaRole",{get:function(){return null},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"hasOther",{get:function(){return this.getPropertyValue("hasOther",!1)},set:function(e){this.supportOther()&&this.hasOther!=e&&(this.setPropertyValue("hasOther",e),this.hasOther&&(this.hasComment=!1),this.hasOtherChanged())},enumerable:!1,configurable:!0}),t.prototype.hasOtherChanged=function(){},Object.defineProperty(t.prototype,"requireUpdateCommentValue",{get:function(){return this.hasComment||this.hasOther},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isReadOnly",{get:function(){var e=!!this.parent&&this.parent.isReadOnly,t=!!this.survey&&this.survey.isDisplayMode;return this.readOnly||e||t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isInputReadOnly",{get:function(){var e=p["settings"].supportCreatorV2&&this.isDesignMode;return this.isReadOnly||e},enumerable:!1,configurable:!0}),t.prototype.onReadOnlyChanged=function(){this.setPropertyValue("isInputReadOnly",this.isInputReadOnly),e.prototype.onReadOnlyChanged.call(this)},Object.defineProperty(t.prototype,"enableIf",{get:function(){return this.getPropertyValue("enableIf","")},set:function(e){this.setPropertyValue("enableIf",e),this.runConditions()},enumerable:!1,configurable:!0}),t.prototype.runCondition=function(e,t){this.isDesignMode||(t||(t={}),t["question"]=this,this.areInvisibleElementsShowing||this.runVisibleIfCondition(e,t),this.runEnableIfCondition(e,t),this.runRequiredIfCondition(e,t))},t.prototype.runVisibleIfCondition=function(e,t){var n=this;this.visibleIf&&(this.conditionRunner||(this.conditionRunner=new c["ConditionRunner"](this.visibleIf)),this.conditionRunner.expression=this.visibleIf,this.conditionRunner.onRunComplete=function(e){n.visible=e},this.conditionRunner.run(e,t))},t.prototype.runEnableIfCondition=function(e,t){var n=this;this.enableIf&&(this.conditionEnabelRunner||(this.conditionEnabelRunner=new c["ConditionRunner"](this.enableIf)),this.conditionEnabelRunner.expression=this.enableIf,this.conditionEnabelRunner.onRunComplete=function(e){n.readOnly=!e},this.conditionEnabelRunner.run(e,t))},t.prototype.runRequiredIfCondition=function(e,t){var n=this;this.requiredIf&&(this.conditionRequiredRunner||(this.conditionRequiredRunner=new c["ConditionRunner"](this.requiredIf)),this.conditionRequiredRunner.expression=this.requiredIf,this.conditionRequiredRunner.onRunComplete=function(e){n.isRequired=e},this.conditionRequiredRunner.run(e,t))},Object.defineProperty(t.prototype,"no",{get:function(){return this.getPropertyValue("no")},enumerable:!1,configurable:!0}),t.prototype.calcNo=function(){if(!this.hasTitle||this.hideNumber)return"";var e=r["Helpers"].getNumberByIndex(this.visibleIndex,this.getStartIndex());return this.survey&&(e=this.survey.getUpdatedQuestionNo(this,e)),e},t.prototype.getStartIndex=function(){return this.parent?this.parent.getQuestionStartIndex():this.survey?this.survey.questionStartIndex:""},t.prototype.onSurveyLoad=function(){this.fireCallback(this.surveyLoadCallback),this.updateValueWithDefaults()},t.prototype.onSetData=function(){e.prototype.onSetData.call(this),this.initDataFromSurvey(),this.onSurveyValueChanged(this.value),this.updateValueWithDefaults(),this.onIndentChanged(),this.updateQuestionCss()},t.prototype.initDataFromSurvey=function(){this.data&&(this.updateValueFromSurvey(this.data.getValue(this.getValueName())),this.initCommentFromSurvey())},t.prototype.initCommentFromSurvey=function(){this.data&&this.requireUpdateCommentValue?this.updateCommentFromSurvey(this.data.getComment(this.getValueName())):this.updateCommentFromSurvey("")},t.prototype.runExpression=function(e){if(this.survey&&e)return this.survey.runExpression(e)},Object.defineProperty(t.prototype,"questionValue",{get:function(){return this.getPropertyValue("value")},set:function(e){this.setPropertyValue("value",e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"questionComment",{get:function(){return this.getPropertyValue("comment")},set:function(e){this.setPropertyValue("comment",e),this.fireCallback(this.commentChangedCallback)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"value",{get:function(){return this.getValueCore()},set:function(e){this.setNewValue(e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"valueForSurvey",{get:function(){return this.valueToDataCallback?this.valueToDataCallback(this.value):this.value},enumerable:!1,configurable:!0}),t.prototype.clearValue=function(){this.value=null,this.comment=null},t.prototype.unbindValue=function(){this.clearValue()},t.prototype.createValueCopy=function(){return this.getUnbindValue(this.value)},t.prototype.isEditingSurveyElement=function(e){return i["Base"].isSurveyElement(e)},t.prototype.getUnbindValue=function(e){return this.isEditingSurveyElement(e)?e:r["Helpers"].getUnbindValue(e)},t.prototype.canClearValueAsInvisible=function(){return(!this.isVisible||!this.isParentVisible)&&((!this.page||!this.page.isStarted)&&(!this.survey||!this.valueName||!this.survey.hasVisibleQuestionByValueName(this.valueName)))},Object.defineProperty(t.prototype,"isParentVisible",{get:function(){var e=this.parent;while(e){if(!e.isVisible)return!1;e=e.parent}return!0},enumerable:!1,configurable:!0}),t.prototype.clearValueIfInvisible=function(){this.canClearValueAsInvisible()&&this.clearValue()},Object.defineProperty(t.prototype,"displayValue",{get:function(){return this.isLoadingFromJson?"":this.getDisplayValue(!0)},enumerable:!1,configurable:!0}),t.prototype.getDisplayValue=function(e,t){if(void 0===t&&(t=void 0),this.customWidget){var n=this.customWidget.getDisplayValue(this,t);if(n)return n}return t=void 0==t?this.createValueCopy():t,this.isValueEmpty(t)?"":this.getDisplayValueCore(e,t)},t.prototype.getDisplayValueCore=function(e,t){return t},Object.defineProperty(t.prototype,"defaultValue",{get:function(){return this.getPropertyValue("defaultValue")},set:function(e){this.isValueExpression(e)?this.defaultValueExpression=e.substr(1):(this.setPropertyValue("defaultValue",this.convertDefaultValue(e)),this.updateValueWithDefaults())},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"defaultValueExpression",{get:function(){return this.getPropertyValue("defaultValueExpression")},set:function(e){this.setPropertyValue("defaultValueExpression",e),this.updateValueWithDefaults()},enumerable:!1,configurable:!0}),t.prototype.getPlainData=function(e){var t=this;if(void 0===e&&(e={includeEmpty:!0,includeQuestionTypes:!1}),e.includeEmpty||!this.isEmpty()){var n={name:this.name,title:this.locTitle.renderedHtml,value:this.value,displayValue:this.displayValue,isNode:!1,getString:function(e){return"object"===typeof e?JSON.stringify(e):e}};return!0===e.includeQuestionTypes&&(n.questionType=this.getType()),(e.calculations||[]).forEach((function(e){n[e.propertyName]=t[e.propertyName]})),this.hasComment&&(n.isNode=!0,n.data=[{name:0,isComment:!0,title:"Comment",value:p["settings"].commentPrefix,displayValue:this.comment,getString:function(e){return"object"===typeof e?JSON.stringify(e):e},isNode:!1}]),n}},Object.defineProperty(t.prototype,"correctAnswer",{get:function(){return this.getPropertyValue("correctAnswer")},set:function(e){this.setPropertyValue("correctAnswer",this.convertDefaultValue(e))},enumerable:!1,configurable:!0}),t.prototype.convertDefaultValue=function(e){return e},Object.defineProperty(t.prototype,"quizQuestionCount",{get:function(){return this.isVisible&&this.hasInput&&!this.isValueEmpty(this.correctAnswer)?this.getQuizQuestionCount():0},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"correctAnswerCount",{get:function(){return this.isEmpty()||this.isValueEmpty(this.correctAnswer)?0:this.getCorrectAnswerCount()},enumerable:!1,configurable:!0}),t.prototype.getQuizQuestionCount=function(){return 1},t.prototype.getCorrectAnswerCount=function(){return this.isTwoValueEquals(this.value,this.correctAnswer,!0,!0)?1:0},t.prototype.isAnswerCorrect=function(){return this.correctAnswerCount==this.quizQuestionCount},t.prototype.updateValueWithDefaults=function(){this.isLoadingFromJson||!this.isDesignMode&&this.isDefaultValueEmpty()||(this.isDesignMode||this.isEmpty())&&(this.isEmpty()&&this.isDefaultValueEmpty()||this.survey&&this.survey.isClearValueOnHidden&&!this.isVisible||this.setDefaultValue())},t.prototype.getQuestionFromArray=function(e,t){return null},t.prototype.getDefaultValue=function(){return this.defaultValue},t.prototype.isDefaultValueEmpty=function(){return!this.defaultValueExpression&&this.isValueEmpty(this.defaultValue)},t.prototype.setDefaultValue=function(){var e=this;this.setValueAndRunExpression(this.defaultValueExpression,this.getUnbindValue(this.defaultValue),(function(t){e.value=t}))},t.prototype.isValueExpression=function(e){return!!e&&"string"==typeof e&&e.length>0&&"="==e[0]},t.prototype.setValueAndRunExpression=function(e,t,n,r,o){var i=this;void 0===r&&(r=null),void 0===o&&(o=null);var s=function(e){e instanceof Date&&(e=e.toISOString().slice(0,10)),n(e)};if(e&&this.data){r||(r=this.data.getFilteredValues()),o||(o=this.data.getFilteredProperties());var a=new c["ExpressionRunner"](e);a.canRun&&(a.onRunComplete=function(e){void 0==e&&(e=i.defaultValue),s(e)},a.run(r,o))}else s(t)},Object.defineProperty(t.prototype,"comment",{get:function(){return this.getQuestionComment()},set:function(e){e&&(e=e.toString().trim()),this.comment!=e&&this.setQuestionComment(e)},enumerable:!1,configurable:!0}),t.prototype.getQuestionComment=function(){return this.questionComment},t.prototype.setQuestionComment=function(e){this.setNewComment(e)},t.prototype.isEmpty=function(){return this.isValueEmpty(this.value)},Object.defineProperty(t.prototype,"isAnswered",{get:function(){return this.getPropertyValue("isAnswered")},set:function(e){this.setPropertyValue("isAnswered",e)},enumerable:!1,configurable:!0}),t.prototype.updateIsAnswered=function(){this.setPropertyValue("isAnswered",this.getIsAnswered())},t.prototype.getIsAnswered=function(){return!this.isEmpty()},Object.defineProperty(t.prototype,"validators",{get:function(){return this.getPropertyValue("validators")},set:function(e){this.setPropertyValue("validators",e)},enumerable:!1,configurable:!0}),t.prototype.getValidators=function(){return this.validators},t.prototype.getSupportedValidators=function(){var e=[],t=this.getType();while(t){var n=p["settings"].supportedValidators[t];if(n)for(var r=n.length-1;r>=0;r--)e.splice(0,0,n[r]);var i=o["Serializer"].findClass(t);t=i.parentName}return e},t.prototype.addSupportedValidators=function(e,t){},t.prototype.addConditionObjectsByContext=function(e,t){e.push({name:this.getValueName(),text:this.processedTitle,question:this})},t.prototype.getConditionJson=function(e,t){void 0===e&&(e=null),void 0===t&&(t=null);var n=(new o["JsonObject"]).toJsonObject(this);return n["type"]=this.getType(),n},t.prototype.hasErrors=function(e,t){void 0===e&&(e=!0),void 0===t&&(t=null);var n=this.errors.length>0,r=this.checkForErrors(!!t&&!0===t.isOnValueChanged);return e&&(this.survey&&this.survey.beforeSettingQuestionErrors(this,r),this.errors=r),this.updateContainsErrors(),n!=r.length>0&&this.updateQuestionCss(),this.isCollapsed&&t&&e&&r.length>0&&this.expand(),r.length>0},Object.defineProperty(t.prototype,"currentErrorCount",{get:function(){return this.errors.length},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"requiredText",{get:function(){return null!=this.survey&&this.isRequired?this.survey.requiredText:""},enumerable:!1,configurable:!0}),t.prototype.addError=function(e){if(e){var t=null;t="string"===typeof e||e instanceof String?new a["CustomError"](e,this.survey):e,this.errors.push(t)}},t.prototype.removeError=function(e){var t=this.errors,n=t.indexOf(e);-1!==n&&t.splice(n,1)},t.prototype.checkForErrors=function(e){var t=new Array;return this.isVisible&&!this.isReadOnly&&this.collectErrors(t,e),t},t.prototype.collectErrors=function(e,t){if(this.onCheckForErrors(e,t),!(e.length>0)&&this.canRunValidators(t)){var n=this.runValidators();if(n.length>0){e.length=0;for(var r=0;r0),this.onCompletedAsyncValidators=null)},t.prototype.setNewValue=function(e){var t=this.isAnswered;this.setNewValueInData(e),this.allowNotifyValueChanged&&this.onValueChanged(),this.isAnswered!=t&&this.updateQuestionCss()},t.prototype.isTextValue=function(){return!1},Object.defineProperty(t.prototype,"isSurveyInputTextUpdate",{get:function(){return!!this.survey&&this.survey.isUpdateValueTextOnTyping},enumerable:!1,configurable:!0}),t.prototype.getDataLocNotification=function(){return!!this.isInputTextUpdate&&"text"},Object.defineProperty(t.prototype,"isInputTextUpdate",{get:function(){return this.isSurveyInputTextUpdate&&this.isTextValue()},enumerable:!1,configurable:!0}),t.prototype.setNewValueInData=function(e){e=this.valueToData(e),this.isValueChangedInSurvey||this.setValueCore(e)},t.prototype.getValueCore=function(){return this.questionValue},t.prototype.setValueCore=function(e){this.setQuestionValue(e),null!=this.data&&this.canSetValueToSurvey()&&(e=this.valueForSurvey,this.data.setValue(this.getValueName(),e,this.getDataLocNotification(),this.allowNotifyValueChanged))},t.prototype.canSetValueToSurvey=function(){return!0},t.prototype.valueFromData=function(e){return e},t.prototype.valueToData=function(e){return e},t.prototype.onValueChanged=function(){},t.prototype.setNewComment=function(e){this.questionComment=e,null!=this.data&&this.data.setComment(this.getValueName(),e,!!this.isSurveyInputTextUpdate&&"text")},t.prototype.getValidName=function(e){return e?e.trim().replace(/[\{\}]+/g,""):e},t.prototype.updateValueFromSurvey=function(e){e=this.getUnbindValue(e),this.valueFromDataCallback&&(e=this.valueFromDataCallback(e)),this.setQuestionValue(this.valueFromData(e))},t.prototype.updateCommentFromSurvey=function(e){this.questionComment=e},t.prototype.setQuestionValue=function(e,t){void 0===t&&(t=!0),this.questionValue=e,this.allowNotifyValueChanged&&this.fireCallback(this.valueChangedCallback),t&&this.updateIsAnswered()},t.prototype.onSurveyValueChanged=function(e){},t.prototype.setVisibleIndex=function(e){return(!this.isVisible||!this.hasTitle&&!p["settings"].setQuestionVisibleIndexForHiddenTitle||this.hideNumber&&!p["settings"].setQuestionVisibleIndexForHiddenNumber)&&(e=-1),this.setPropertyValue("visibleIndex",e),this.setPropertyValue("no",this.calcNo()),e<0?0:1},t.prototype.removeElement=function(e){return!1},t.prototype.supportGoNextPageAutomatic=function(){return!1},t.prototype.supportGoNextPageError=function(){return!0},t.prototype.clearIncorrectValues=function(){},t.prototype.clearOnDeletingContainer=function(){},t.prototype.clearErrors=function(){this.errors=[]},t.prototype.clearUnusedValues=function(){},t.prototype.onAnyValueChanged=function(e){},t.prototype.checkBindings=function(e,t){if(!this.bindings.isEmpty()&&this.data)for(var n=this.bindings.getPropertiesByValueName(e),r=0;r1},choices:function(e){var t=e?e.survey:null;return t?t.pages.map((function(e){return{value:e.name,text:e.title}})):[]}},{name:"title:text",serializationProperty:"locTitle",layout:"row"},{name:"titleLocation",default:"default",choices:["default","top","bottom","left","hidden"],layout:"row"},{name:"description:text",serializationProperty:"locDescription",layout:"row"},{name:"descriptionLocation",default:"default",choices:["default","underInput","underTitle"]},{name:"hideNumber:boolean",dependsOn:"titleLocation",visibleIf:function(e){if(!e)return!0;if("hidden"===e.titleLocation)return!1;var t=e?e.parent:null,n=!t||"off"!==t.showQuestionNumbers;if(!n)return!1;var r=e?e.survey:null;return!r||"off"!==r.showQuestionNumbers||!!t&&"onpanel"===t.showQuestionNumbers}},"valueName","enableIf:condition","defaultValue:value",{name:"defaultValueExpression:expression",category:"logic"},"correctAnswer:value","isRequired:switch","requiredIf:condition",{name:"requiredErrorText:text",serializationProperty:"locRequiredErrorText"},"readOnly:switch",{name:"validators:validators",baseClassName:"surveyvalidator",classNamePart:"validator"},{name:"bindings:bindings",serializationProperty:"bindings",visibleIf:function(e){return e.bindings.getNames().length>0}},{name:"renderAs",default:"default",visible:!1}]),o["Serializer"].addAlterNativeClassName("question","questionbase")},"./src/questionCustomWidgets.ts": /*!**************************************!*\ !*** ./src/questionCustomWidgets.ts ***! \**************************************/ /*! exports provided: QuestionCustomWidget, CustomWidgetCollection */function(e,t,n){"use strict";n.r(t),n.d(t,"QuestionCustomWidget",(function(){return o})),n.d(t,"CustomWidgetCollection",(function(){return i}));var r=n(/*! ./base */"./src/base.ts"),o=function(){function e(e,t){this.name=e,this.widgetJson=t,this.isFirstRender=!0,this.htmlTemplate=t.htmlTemplate?t.htmlTemplate:""}return e.prototype.afterRender=function(e,t){var n=this;this.isFirstRender&&(this.isFirstRender=!1,e.survey.onLocaleChangedEvent.add((function(){n.widgetJson.willUnmount(e,t),n.widgetJson.afterRender(e,t)}))),this.widgetJson.afterRender&&this.widgetJson.afterRender(e,t)},e.prototype.willUnmount=function(e,t){this.widgetJson.willUnmount&&this.widgetJson.willUnmount(e,t)},e.prototype.getDisplayValue=function(e,t){return void 0===t&&(t=void 0),this.widgetJson.getDisplayValue?this.widgetJson.getDisplayValue(e,t):null},e.prototype.isFit=function(e){return!(!this.isLibraryLoaded()||!this.widgetJson.isFit)&&this.widgetJson.isFit(e)},Object.defineProperty(e.prototype,"canShowInToolbox",{get:function(){return!1!==this.widgetJson.showInToolbox&&("customtype"==i.Instance.getActivatedBy(this.name)&&(!this.widgetJson.widgetIsLoaded||this.widgetJson.widgetIsLoaded()))},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"showInToolbox",{get:function(){return!1!==this.widgetJson.showInToolbox},set:function(e){this.widgetJson.showInToolbox=e},enumerable:!1,configurable:!0}),e.prototype.init=function(){this.widgetJson.init&&this.widgetJson.init()},e.prototype.activatedByChanged=function(e){this.isLibraryLoaded()&&this.widgetJson.activatedByChanged&&this.widgetJson.activatedByChanged(e)},e.prototype.isLibraryLoaded=function(){return!this.widgetJson.widgetIsLoaded||1==this.widgetJson.widgetIsLoaded()},Object.defineProperty(e.prototype,"isDefaultRender",{get:function(){return this.widgetJson.isDefaultRender},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"pdfQuestionType",{get:function(){return this.widgetJson.pdfQuestionType},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"pdfRender",{get:function(){return this.widgetJson.pdfRender},enumerable:!1,configurable:!0}),e}(),i=function(){function e(){this.widgetsValues=[],this.widgetsActivatedBy={},this.onCustomWidgetAdded=new r["Event"]}return Object.defineProperty(e.prototype,"widgets",{get:function(){return this.widgetsValues},enumerable:!1,configurable:!0}),e.prototype.add=function(e,t){void 0===t&&(t="property"),this.addCustomWidget(e,t)},e.prototype.addCustomWidget=function(e,t){void 0===t&&(t="property");var n=e.name;n||(n="widget_"+this.widgets.length+1);var r=new o(n,e);return this.widgetsValues.push(r),r.init(),this.widgetsActivatedBy[n]=t,r.activatedByChanged(t),this.onCustomWidgetAdded.fire(r,null),r},e.prototype.getActivatedBy=function(e){var t=this.widgetsActivatedBy[e];return t||"property"},e.prototype.setActivatedBy=function(e,t){if(e&&t){var n=this.getCustomWidgetByName(e);n&&(this.widgetsActivatedBy[e]=t,n.activatedByChanged(t))}},e.prototype.clear=function(){this.widgetsValues=[]},e.prototype.getCustomWidgetByName=function(e){for(var t=0;t0)return e[0];return e},t.prototype.filterItems=function(){if(this.isLoadingFromJson||!this.data||this.areInvisibleElementsShowing)return!1;var e=this.getDataFilteredValues(),t=this.getDataFilteredProperties();return this.runItemsEnableCondition(e,t),this.runItemsCondition(e,t)},t.prototype.runItemsCondition=function(e,t){this.setConditionalChoicesRunner();var n=this.runConditionsForItems(e,t);return this.filteredChoicesValue&&this.filteredChoicesValue.length===this.activeChoices.length&&(this.filteredChoicesValue=void 0),n&&(this.onVisibleChoicesChanged(),this.clearIncorrectValues()),n},t.prototype.runItemsEnableCondition=function(e,t){var n=this;this.setConditionalEnableChoicesRunner();var r=s["ItemValue"].runEnabledConditionsForItems(this.activeChoices,this.conditionChoicesEnableIfRunner,e,t,(function(e){return n.onEnableItemCallBack(e)}));r&&this.clearDisabledValues(),this.onAfterRunItemsEnableCondition()},t.prototype.onAfterRunItemsEnableCondition=function(){},t.prototype.onEnableItemCallBack=function(e){return!0},t.prototype.setConditionalChoicesRunner=function(){this.choicesVisibleIf?(this.conditionChoicesVisibleIfRunner||(this.conditionChoicesVisibleIfRunner=new c["ConditionRunner"](this.choicesVisibleIf)),this.conditionChoicesVisibleIfRunner.expression=this.choicesVisibleIf):this.conditionChoicesVisibleIfRunner=null},t.prototype.setConditionalEnableChoicesRunner=function(){this.choicesEnableIf?(this.conditionChoicesEnableIfRunner||(this.conditionChoicesEnableIfRunner=new c["ConditionRunner"](this.choicesEnableIf)),this.conditionChoicesEnableIfRunner.expression=this.choicesEnableIf):this.conditionChoicesEnableIfRunner=null},t.prototype.runConditionsForItems=function(e,t){return this.filteredChoicesValue=[],s["ItemValue"].runConditionsForItems(this.activeChoices,this.getFilteredChoices(),this.areInvisibleElementsShowing?null:this.conditionChoicesVisibleIfRunner,e,t,!this.survey||!this.survey.areInvisibleElementsShowing)},t.prototype.getHasOther=function(e){return e===this.otherItem.value},Object.defineProperty(t.prototype,"validatedValue",{get:function(){return this.rendredValueToDataCore(this.value)},enumerable:!1,configurable:!0}),t.prototype.createRestful=function(){return new u["ChoicesRestful"]},t.prototype.setNewRestfulProperty=function(){this.setPropertyValue("choicesByUrl",this.createRestful()),this.choicesByUrl.owner=this,this.choicesByUrl.loadingOwner=this},t.prototype.getQuestionComment=function(){return this.commentValue?this.commentValue:this.hasComment||this.getStoreOthersAsComment()?e.prototype.getQuestionComment.call(this):this.commentValue},t.prototype.setQuestionComment=function(t){this.hasComment||this.getStoreOthersAsComment()?e.prototype.setQuestionComment.call(this,t):this.isSettingComment||t==this.commentValue||(this.isSettingComment=!0,this.commentValue=t,this.isOtherSelected&&!this.isRenderedValueSetting&&(this.value=this.rendredValueToData(this.renderedValue)),this.isSettingComment=!1)},t.prototype.clearValue=function(){e.prototype.clearValue.call(this),this.prevCommentValue=void 0},Object.defineProperty(t.prototype,"renderedValue",{get:function(){return this.getPropertyValue("renderedValue",null)},set:function(e){this.setPropertyValue("renderedValue",e),this.value=this.rendredValueToData(e)},enumerable:!1,configurable:!0}),t.prototype.setQuestionValue=function(t,n,r){if(void 0===n&&(n=!0),void 0===r&&(r=!0),!this.isLoadingFromJson&&!d["Helpers"].isTwoValueEquals(this.value,t)&&(e.prototype.setQuestionValue.call(this,t,n),this.setPropertyValue("renderedValue",this.rendredValueFromData(t)),!this.hasComment&&r)){var o=this.isOtherSelected;if(o&&this.prevCommentValue){var i=this.prevCommentValue;this.prevCommentValue=void 0,this.comment=i}!o&&this.comment&&(this.getStoreOthersAsComment()&&(this.prevCommentValue=this.comment),this.comment="")}},t.prototype.setNewValue=function(t){t=this.valueFromData(t),(this.choicesByUrl.isRunning||this.choicesByUrl.isWaitingForParameters)&&this.isValueEmpty(t)||(this.cachedValueForUrlRequests=t),e.prototype.setNewValue.call(this,t)},t.prototype.valueFromData=function(t){var n=s["ItemValue"].getItemByValue(this.activeChoices,t);return n?n.value:e.prototype.valueFromData.call(this,t)},t.prototype.rendredValueFromData=function(e){return this.getStoreOthersAsComment()?e:this.renderedValueFromDataCore(e)},t.prototype.rendredValueToData=function(e){return this.getStoreOthersAsComment()?e:this.rendredValueToDataCore(e)},t.prototype.renderedValueFromDataCore=function(e){return this.hasUnknownValue(e,!0,!1)?(this.comment=e,this.otherItem.value):this.valueFromData(e)},t.prototype.rendredValueToDataCore=function(e){return e==this.otherItem.value&&this.getQuestionComment()&&(e=this.getQuestionComment()),e},t.prototype.hasUnknownValue=function(e,t,n){if(void 0===t&&(t=!1),void 0===n&&(n=!0),this.isValueEmpty(e))return!1;if(t&&e==this.otherItem.value)return!1;if(this.hasNone&&e==this.noneItem.value)return!1;var r=n?this.getFilteredChoices():this.activeChoices;return null==s["ItemValue"].getItemByValue(r,e)},t.prototype.isValueDisabled=function(e){var t=s["ItemValue"].getItemByValue(this.getFilteredChoices(),e);return!!t&&!t.isEnabled},Object.defineProperty(t.prototype,"choicesByUrl",{get:function(){return this.getPropertyValue("choicesByUrl")},set:function(e){e&&(this.setNewRestfulProperty(),this.choicesByUrl.fromJSON(e.toJSON()))},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"choices",{get:function(){return this.getPropertyValue("choices")},set:function(e){this.setPropertyValue("choices",e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"choicesFromQuestion",{get:function(){return this.getPropertyValue("choicesFromQuestion")},set:function(e){var t=this.getQuestionWithChoices();t&&t.removeFromDependedQuestion(this),this.setPropertyValue("choicesFromQuestion",e)},enumerable:!1,configurable:!0}),t.prototype.addIntoDependedQuestion=function(e){!e||e.dependedQuestions.indexOf(this)>-1||e.dependedQuestions.push(this)},t.prototype.removeFromDependedQuestion=function(e){if(e){var t=e.dependedQuestions.indexOf(this);t>-1&&e.dependedQuestions.splice(t,1)}},Object.defineProperty(t.prototype,"choicesFromQuestionMode",{get:function(){return this.getPropertyValue("choicesFromQuestionMode")},set:function(e){this.setPropertyValue("choicesFromQuestionMode",e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"hideIfChoicesEmpty",{get:function(){return this.getPropertyValue("hideIfChoicesEmpty",!1)},set:function(e){this.setPropertyValue("hideIfChoicesEmpty",e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"keepIncorrectValues",{get:function(){return this.getPropertyValue("keepIncorrectValues",!1)},set:function(e){this.setPropertyValue("keepIncorrectValues",e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"storeOthersAsComment",{get:function(){return this.getPropertyValue("storeOthersAsComment","default")},set:function(e){this.setPropertyValue("storeOthersAsComment",e)},enumerable:!1,configurable:!0}),t.prototype.hasOtherChanged=function(){this.onVisibleChoicesChanged()},Object.defineProperty(t.prototype,"choicesOrder",{get:function(){return this.getPropertyValue("choicesOrder")},set:function(e){e=e.toLowerCase(),e!=this.choicesOrder&&(this.setPropertyValue("choicesOrder",e),this.onVisibleChoicesChanged())},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"otherText",{get:function(){return this.getLocalizableStringText("otherText",a["surveyLocalization"].getString("otherItemText"))},set:function(e){this.setLocalizableStringText("otherText",e),this.onVisibleChoicesChanged()},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"locOtherText",{get:function(){return this.getLocalizableString("otherText")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"otherPlaceHolder",{get:function(){return this.getLocalizableStringText("otherPlaceHolder")},set:function(e){this.setLocalizableStringText("otherPlaceHolder",e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"locOtherPlaceHolder",{get:function(){return this.getLocalizableString("otherPlaceHolder")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"otherErrorText",{get:function(){return this.getLocalizableStringText("otherErrorText",a["surveyLocalization"].getString("otherRequiredError"))},set:function(e){this.setLocalizableStringText("otherErrorText",e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"locOtherErrorText",{get:function(){return this.getLocalizableString("otherErrorText")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"visibleChoices",{get:function(){return this.getPropertyValue("visibleChoices",[])},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"enabledChoices",{get:function(){for(var e=[],t=this.visibleChoices,n=0;n0&&(n=new Array,s["ItemValue"].setData(n,e)),n)for(var i=0;i0}},t.prototype.sortVisibleChoices=function(e){var t=this.choicesOrder.toLowerCase();return"asc"==t?this.sortArray(e,1):"desc"==t?this.sortArray(e,-1):"random"==t?this.randomizeArray(e):e},t.prototype.sortArray=function(e,t){return e.sort((function(e,n){return e.calculatedTextn.calculatedText?1*t:0}))},t.prototype.randomizeArray=function(e){return d["Helpers"].randomizeArray(e)},t.prototype.clearIncorrectValues=function(){this.keepIncorrectValues||this.survey&&this.survey.questionCountByValueName(this.getValueName())>1||(!this.choicesByUrl||this.choicesByUrl.isEmpty||this.choicesFromUrl&&0!=this.choicesFromUrl.length)&&(this.clearIncorrectValuesCallback?this.clearIncorrectValuesCallback():this.clearIncorrectValuesCore())},t.prototype.clearValueIfInvisible=function(){e.prototype.clearValueIfInvisible.call(this),this.clearIncorrectValues()},t.prototype.isItemSelected=function(e){return e.value===this.value},t.prototype.clearDisabledValues=function(){this.survey&&this.survey.clearValueOnDisableItems&&this.clearDisabledValuesCore()},t.prototype.clearIncorrectValuesCore=function(){var e=this.value;this.canClearValueAnUnknow(e)&&this.clearValue()},t.prototype.canClearValueAnUnknow=function(e){return!(!this.getStoreOthersAsComment()&&this.isOtherSelected)&&this.hasUnknownValue(e,!0)},t.prototype.clearDisabledValuesCore=function(){this.isValueDisabled(this.value)&&this.clearValue()},t.prototype.clearUnusedValues=function(){e.prototype.clearUnusedValues.call(this),this.isOtherSelected||this.hasComment||(this.comment="")},t.prototype.getColumnClass=function(){var e=this.cssClasses.column;return this.hasColumns&&(e+=" sv-q-column-"+this.colCount),e},t.prototype.getItemIndex=function(e){return this.visibleChoices.indexOf(e)},t.prototype.getItemClass=function(e){var t=this.cssClasses.item,n=this.isReadOnly||!e.isEnabled,r=this.isItemSelected(e)||this.isOtherSelected&&this.otherItem.value===e.value,o=!n&&!r,i=e===this.noneItem;return this.hasColumns||(t+=0===this.colCount?" "+this.cssClasses.itemInline:" sv-q-col-"+this.colCount),n&&this.cssClasses.itemDisabled&&(t+=" "+this.cssClasses.itemDisabled),r&&this.cssClasses.itemChecked&&(t+=" "+this.cssClasses.itemChecked),o&&this.cssClasses.itemHover&&(t+=" "+this.cssClasses.itemHover),i&&this.cssClasses.itemNone&&(t+=" "+this.cssClasses.itemNone),t},t.prototype.getLabelClass=function(e){var t=this.cssClasses.label;return this.isItemSelected(e)&&(t+=" "+this.cssClasses.labelChecked),t},t.prototype.getControlLabelClass=function(e){var t=this.cssClasses.controlLabel;return this.isItemSelected(e)&&(t+=" "+this.cssClasses.controlLabelChecked),t},Object.defineProperty(t.prototype,"columns",{get:function(){var e=[],t=this.colCount;if(this.hasColumns&&this.visibleChoices.length>0)if("column"==p["settings"].showItemsInOrder)for(var n=0,r=this.visibleChoices.length%t,o=0;o0&&(r--,i.push(this.visibleChoices[s]),s++),n=s,e.push(i)}else for(o=0;o1},enumerable:!1,configurable:!0}),t.prototype.choicesLoaded=function(){this.isChoicesLoaded=!0;var e=this.isReadyValue;this.isReadyValue=!0,this.onReadyChanged&&this.onReadyChanged.fire(this,{question:this,isReady:!0,oldIsReady:e})},t.prototype.getItemValueWrapperComponentName=function(e){var t=this.survey;return t?t.getItemValueWrapperComponentName(e,this):o["SurveyModel"].TemplateRendererComponentName},t.prototype.getItemValueWrapperComponentData=function(e){var t=this.survey;return t?t.getItemValueWrapperComponentData(e,this):e},t}(i["Question"]),m=function(e){function t(t){return e.call(this,t)||this}return h(t,e),Object.defineProperty(t.prototype,"colCount",{get:function(){return this.getPropertyValue("colCount",this.isFlowLayout?0:1)},set:function(e){e<0||e>5||this.isFlowLayout||(this.setPropertyValue("colCount",e),this.fireCallback(this.colCountChangedCallback))},enumerable:!1,configurable:!0}),t.prototype.onParentChanged=function(){e.prototype.onParentChanged.call(this),this.isFlowLayout&&this.setPropertyValue("colCount",null)},t.prototype.onParentQuestionChanged=function(){this.onVisibleChoicesChanged()},t.prototype.getSearchableItemValueKeys=function(e){e.push("choices")},t}(f);r["Serializer"].addClass("selectbase",[{name:"hasComment:switch",layout:"row"},{name:"commentText",dependsOn:"hasComment",visibleIf:function(e){return e.hasComment},serializationProperty:"locCommentText",layout:"row"},"choicesFromQuestion:question_selectbase",{name:"choices:itemvalue[]",baseValue:function(){return a["surveyLocalization"].getString("choices_Item")},dependsOn:"choicesFromQuestion",visibleIf:function(e){return!e.choicesFromQuestion}},{name:"choicesFromQuestionMode",default:"all",choices:["all","selected","unselected"],dependsOn:"choicesFromQuestion",visibleIf:function(e){return!!e.choicesFromQuestion}},{name:"choicesOrder",default:"none",choices:["none","asc","desc","random"],dependsOn:"choicesFromQuestion",visibleIf:function(e){return!e.choicesFromQuestion}},{name:"choicesByUrl:restfull",className:"ChoicesRestful",onGetValue:function(e){return e.choicesByUrl.getData()},onSetValue:function(e,t){e.choicesByUrl.setData(t)}},"hideIfChoicesEmpty:boolean",{name:"choicesVisibleIf:condition",dependsOn:"choicesFromQuestion",visibleIf:function(e){return!e.choicesFromQuestion}},{name:"choicesEnableIf:condition",dependsOn:"choicesFromQuestion",visibleIf:function(e){return!e.choicesFromQuestion}},"hasOther:boolean","hasNone:boolean",{name:"otherPlaceHolder",serializationProperty:"locOtherPlaceHolder",dependsOn:"hasOther",visibleIf:function(e){return e.hasOther}},{name:"noneText",serializationProperty:"locNoneText",dependsOn:"hasNone",visibleIf:function(e){return e.hasNone}},{name:"otherText",serializationProperty:"locOtherText",dependsOn:"hasOther",visibleIf:function(e){return e.hasOther}},{name:"otherErrorText",serializationProperty:"locOtherErrorText",dependsOn:"hasOther",visibleIf:function(e){return e.hasOther}},{name:"storeOthersAsComment",default:"default",choices:["default",!0,!1],visible:!1}],null,"question"),r["Serializer"].addClass("checkboxbase",[{name:"colCount:number",default:1,choices:[0,1,2,3,4,5],layout:"row"}],null,"selectbase")},"./src/question_boolean.ts": /*!*********************************!*\ !*** ./src/question_boolean.ts ***! \*********************************/ /*! exports provided: QuestionBooleanModel */function(e,t,n){"use strict";n.r(t),n.d(t,"QuestionBooleanModel",(function(){return u}));var r=n(/*! ./questionfactory */"./src/questionfactory.ts"),o=n(/*! ./jsonobject */"./src/jsonobject.ts"),i=n(/*! ./question */"./src/question.ts"),s=n(/*! ./surveyStrings */"./src/surveyStrings.ts"),a=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){if("function"!==typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),l=function(e,t,n,r){var o,i=arguments.length,s=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)s=Reflect.decorate(e,t,n,r);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(i<3?o(s):i>3?o(t,n,s):o(t,n))||s);return i>3&&s&&Object.defineProperty(t,n,s),s},u=function(e){function t(t){var n=e.call(this,t)||this;return n.createLocalizableString("labelFalse",n,!0),n.createLocalizableString("labelTrue",n,!0),n.locLabelFalse.onGetTextCallback=function(e){return e||s["surveyLocalization"].getString("booleanUncheckedLabel")},n.locLabelTrue.onGetTextCallback=function(e){return e||s["surveyLocalization"].getString("booleanCheckedLabel")},n}return a(t,e),t.prototype.getType=function(){return"boolean"},t.prototype.isLayoutTypeSupported=function(e){return!0},Object.defineProperty(t.prototype,"isIndeterminate",{get:function(){return this.isEmpty()},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"hasTitle",{get:function(){return!0},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"checkedValue",{get:function(){return this.isEmpty()?null:this.value==this.getValueTrue()},set:function(e){this.isReadOnly||this.setCheckedValue(e)},enumerable:!1,configurable:!0}),t.prototype.setCheckedValue=function(e){this.isValueEmpty(e)?this.value=null:this.value=1==e?this.getValueTrue():this.getValueFalse()},Object.defineProperty(t.prototype,"defaultValue",{get:function(){return this.getPropertyValue("defaultValue")},set:function(e){!0===e&&(e="true"),!1===e&&(e="false"),this.setPropertyValue("defaultValue",e),this.updateValueWithDefaults()},enumerable:!1,configurable:!0}),t.prototype.getDefaultValue=function(){return"indeterminate"==this.defaultValue||void 0===this.defaultValue?null:"true"==this.defaultValue?this.getValueTrue():this.getValueFalse()},Object.defineProperty(t.prototype,"locTitle",{get:function(){return this.showTitle||this.isValueEmpty(this.locLabel.text)?this.getLocalizableString("title"):this.locLabel},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"locDisplayLabel",{get:function(){return this.locLabel.text||this.showTitle?this.locLabel:this.locTitle},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"labelTrue",{get:function(){return this.getLocalizableStringText("labelTrue")},set:function(e){this.setLocalizableStringText("labelTrue",e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"locLabelTrue",{get:function(){return this.getLocalizableString("labelTrue")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"labelFalse",{get:function(){return this.getLocalizableStringText("labelFalse")},set:function(e){this.setLocalizableStringText("labelFalse",e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"locLabelFalse",{get:function(){return this.getLocalizableString("labelFalse")},enumerable:!1,configurable:!0}),t.prototype.getValueTrue=function(){return!this.valueTrue||this.valueTrue},t.prototype.getValueFalse=function(){return!!this.valueFalse&&this.valueFalse},t.prototype.setDefaultValue=function(){"true"==this.defaultValue&&this.setCheckedValue(!0),"false"==this.defaultValue&&this.setCheckedValue(!1),"indeterminate"==this.defaultValue&&this.setCheckedValue(null)},t.prototype.getDisplayValueCore=function(e,t){return t==this.getValueTrue()?this.locLabelTrue.textOrHtml:this.locLabelFalse.textOrHtml},l([Object(o["property"])({localizable:!0})],t.prototype,"label",void 0),l([Object(o["property"])()],t.prototype,"showTitle",void 0),l([Object(o["property"])()],t.prototype,"valueTrue",void 0),l([Object(o["property"])()],t.prototype,"valueFalse",void 0),t}(i["Question"]);o["Serializer"].addClass("boolean",[{name:"label:text",serializationProperty:"locLabel"},{name:"labelTrue:text",serializationProperty:"locLabelTrue"},{name:"labelFalse:text",serializationProperty:"locLabelFalse"},"showTitle:boolean","valueTrue","valueFalse",{name:"renderAs",default:"default",visible:!1}],(function(){return new u("")}),"question"),r["QuestionFactory"].Instance.registerQuestion("boolean",(function(e){return new u(e)}))},"./src/question_buttongroup.ts": /*!*************************************!*\ !*** ./src/question_buttongroup.ts ***! \*************************************/ /*! exports provided: ButtonGroupItemValue, QuestionButtonGroupModel, ButtonGroupItemModel */function(e,t,n){"use strict";n.r(t),n.d(t,"ButtonGroupItemValue",(function(){return l})),n.d(t,"QuestionButtonGroupModel",(function(){return u})),n.d(t,"ButtonGroupItemModel",(function(){return c}));var r=n(/*! ./jsonobject */"./src/jsonobject.ts"),o=n(/*! ./itemvalue */"./src/itemvalue.ts"),i=n(/*! ./question_baseselect */"./src/question_baseselect.ts"),s=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){if("function"!==typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),a=function(e,t,n,r){var o,i=arguments.length,s=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)s=Reflect.decorate(e,t,n,r);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(i<3?o(s):i>3?o(t,n,s):o(t,n))||s);return i>3&&s&&Object.defineProperty(t,n,s),s},l=function(e){function t(t,n,r){void 0===n&&(n=null),void 0===r&&(r="buttongroupitemvalue");var o=e.call(this,t,n,r)||this;return o.typeName=r,o}return s(t,e),t.prototype.getType=function(){return this.typeName?this.typeName:"buttongroupitemvalue"},a([Object(r["property"])()],t.prototype,"iconName",void 0),a([Object(r["property"])()],t.prototype,"iconSize",void 0),a([Object(r["property"])()],t.prototype,"showCaption",void 0),t}(o["ItemValue"]),u=function(e){function t(t){return e.call(this,t)||this}return s(t,e),t.prototype.getType=function(){return"buttongroup"},t.prototype.getItemValueType=function(){return"buttongroupitemvalue"},t.prototype.supportOther=function(){return!1},t}(i["QuestionCheckboxBase"]);r["Serializer"].addClass("buttongroup",[{name:"choices:buttongroupitemvalue[]"}],(function(){return new u("")}),"checkboxbase"),r["Serializer"].addClass("buttongroupitemvalue",[{name:"showCaption:boolean",default:!0},{name:"iconName:text"},{name:"iconSize:number"}],(function(e){return new l(e)}),"itemvalue");var c=function(){function e(e,t,n){this.question=e,this.item=t,this.index=n}return Object.defineProperty(e.prototype,"value",{get:function(){return this.item.value},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"iconName",{get:function(){return this.item.iconName},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"iconSize",{get:function(){return this.item.iconSize||24},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"caption",{get:function(){return this.item.locText},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"showCaption",{get:function(){return this.item.showCaption||void 0===this.item.showCaption},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"isRequired",{get:function(){return this.question.isRequired},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"selected",{get:function(){return this.question.isItemSelected(this.item)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"readOnly",{get:function(){return!this.item.isEnabled||this.question.isReadOnly},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"name",{get:function(){return this.question.name+"_"+this.question.id},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"id",{get:function(){return this.question.inputId+"_"+this.index},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"hasErrors",{get:function(){return this.question.errors.length>0},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"describedBy",{get:function(){return this.question.errors.length>0?this.question.id+"_errors":null},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"labelClass",{get:function(){var e=this.question.cssClasses.item;return this.selected&&(e+=" "+this.question.cssClasses.itemSelected),this.readOnly&&(e+=" "+this.question.cssClasses.itemDisabled),e},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"css",{get:function(){return{label:this.labelClass,icon:this.question.cssClasses.itemIcon,control:this.question.cssClasses.itemControl,caption:this.question.cssClasses.itemCaption,decorator:this.question.cssClasses.itemDecorator}},enumerable:!1,configurable:!0}),e.prototype.onChange=function(){this.question.renderedValue=this.item.value},e}()},"./src/question_checkbox.ts": /*!**********************************!*\ !*** ./src/question_checkbox.ts ***! \**********************************/ /*! exports provided: QuestionCheckboxModel */function(e,t,n){"use strict";n.r(t),n.d(t,"QuestionCheckboxModel",(function(){return c}));var r=n(/*! ./jsonobject */"./src/jsonobject.ts"),o=n(/*! ./questionfactory */"./src/questionfactory.ts"),i=n(/*! ./question_baseselect */"./src/question_baseselect.ts"),s=n(/*! ./helpers */"./src/helpers.ts"),a=n(/*! ./itemvalue */"./src/itemvalue.ts"),l=n(/*! ./surveyStrings */"./src/surveyStrings.ts"),u=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){if("function"!==typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),c=function(e){function t(t){var n=e.call(this,t)||this;n.selectAllItemValue=new a["ItemValue"]("selectall"),n.invisibleOldValues={},n.isChangingValueOnClearIncorrect=!1;var r=n.createLocalizableString("selectAllText",n,!0);return r.onGetTextCallback=function(e){return e||l["surveyLocalization"].getString("selectAllItemText")},n.selectAllItem.locOwner=n,n.selectAllItem.setLocText(r),n.registerFunctionOnPropertiesValueChanged(["hasSelectAll","selectAllText"],(function(){n.onVisibleChoicesChanged()})),n}return u(t,e),Object.defineProperty(t.prototype,"ariaRole",{get:function(){return"group"},enumerable:!1,configurable:!0}),t.prototype.getType=function(){return"checkbox"},t.prototype.onCreating=function(){e.prototype.onCreating.call(this),this.createNewArray("renderedValue"),this.createNewArray("value")},t.prototype.getFirstInputElementId=function(){return this.inputId+"_0"},Object.defineProperty(t.prototype,"selectAllItem",{get:function(){return this.selectAllItemValue},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"selectAllText",{get:function(){return this.getLocalizableStringText("selectAllText",l["surveyLocalization"].getString("selectAllItemText"))},set:function(e){this.setLocalizableStringText("selectAllText",e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"locSelectAllText",{get:function(){return this.getLocalizableString("selectAllText")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"hasSelectAll",{get:function(){return this.getPropertyValue("hasSelectAll",!1)},set:function(e){this.setPropertyValue("hasSelectAll",e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isAllSelected",{get:function(){var e=this.value;if(!e||!Array.isArray(e))return!1;if(this.isItemSelected(this.noneItem))return!1;var t=this.visibleChoices.length;this.hasOther&&t--,this.hasNone&&t--,this.hasSelectAll&&t--;var n=e.length;return this.isItemSelected(this.otherItem)&&n--,n===t},set:function(e){e?this.selectAll():this.clearValue()},enumerable:!1,configurable:!0}),t.prototype.toggleSelectAll=function(){this.isAllSelected=!this.isAllSelected},t.prototype.selectAll=function(){for(var e=[],t=0;t=this.activeChoices.length),this.hasOther&&this.otherItem.setIsEnabled(!this.shouldCheckMaxSelectedChoices()||this.isOtherSelected))},t.prototype.shouldCheckMaxSelectedChoices=function(){if(this.maxSelectedChoices<1)return!1;var e=this.value,t=Array.isArray(e)?e.length:0;return t>=this.maxSelectedChoices},t.prototype.getItemClass=function(t){this.value;var n=e.prototype.getItemClass.call(this,t),r=t===this.selectAllItem;return r&&this.cssClasses.itemSelectAll&&(n+=" "+this.cssClasses.itemSelectAll),n},t.prototype.setNewValue=function(t){this.isChangingValueOnClearIncorrect||(this.invisibleOldValues=[]),t=this.valueFromData(t);var n=this.value;if(t||(t=[]),n||(n=[]),!s["Helpers"].isTwoValueEquals(n,t)){if(this.hasNone){var r=this.noneIndexInArray(n),o=this.noneIndexInArray(t);r>-1?o>-1&&t.length>1&&t.splice(o,1):o>-1&&(t.splice(0,t.length),t.push(this.noneItem.value))}e.prototype.setNewValue.call(this,this.rendredValueToData(t))}},t.prototype.getIsMultipleValue=function(){return!0},t.prototype.getCommentFromValue=function(e){var t=this.getFirstUnknownIndex(e);return t<0?"":e[t]},t.prototype.setOtherValueIntoValue=function(e){var t=this.getFirstUnknownIndex(e);return t<0||e.splice(t,1,this.otherItem.value),e},t.prototype.getFirstUnknownIndex=function(e){if(!Array.isArray(e))return-1;for(var t=0;t=0},t.prototype.valueFromData=function(t){if(!t)return t;if(!Array.isArray(t))return[e.prototype.valueFromData.call(this,t)];for(var n=[],r=0;r20||this.setPropertyValue("maximumFractionDigits",e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"minimumFractionDigits",{get:function(){return this.getPropertyValue("minimumFractionDigits",-1)},set:function(e){e<-1||e>20||this.setPropertyValue("minimumFractionDigits",e)},enumerable:!1,configurable:!0}),t.prototype.getDisplayValueCore=function(e,t){var n=this.isValueEmpty(t)?this.defaultValue:t;if(this.isValueEmpty(n))return"";var r=this.getValueAsStr(n);return this.format?this.format["format"](r):r},Object.defineProperty(t.prototype,"displayStyle",{get:function(){return this.getPropertyValue("displayStyle")},set:function(e){this.setPropertyValue("displayStyle",e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"currency",{get:function(){return this.getPropertyValue("currency")},set:function(e){c().indexOf(e)<0||this.setPropertyValue("currency",e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"useGrouping",{get:function(){return this.getPropertyValue("useGrouping",!0)},set:function(e){this.setPropertyValue("useGrouping",e)},enumerable:!1,configurable:!0}),t.prototype.getValueAsStr=function(e){if("date"==this.displayStyle){var t=new Date(e);if(t&&t.toLocaleDateString)return t.toLocaleDateString()}if("none"!=this.displayStyle&&r["Helpers"].isNumber(e)){var n=this.getLocale();n||(n="en");var o={style:this.displayStyle,currency:this.currency,useGrouping:this.useGrouping};return this.maximumFractionDigits>-1&&(o["maximumFractionDigits"]=this.maximumFractionDigits),this.minimumFractionDigits>-1&&(o["minimumFractionDigits"]=this.minimumFractionDigits),e.toLocaleString(n,o)}return e.toString()},t}(o["Question"]);function c(){return["AED","AFN","ALL","AMD","ANG","AOA","ARS","AUD","AWG","AZN","BAM","BBD","BDT","BGN","BHD","BIF","BMD","BND","BOB","BOV","BRL","BSD","BTN","BWP","BYN","BZD","CAD","CDF","CHE","CHF","CHW","CLF","CLP","CNY","COP","COU","CRC","CUC","CUP","CVE","CZK","DJF","DKK","DOP","DZD","EGP","ERN","ETB","EUR","FJD","FKP","GBP","GEL","GHS","GIP","GMD","GNF","GTQ","GYD","HKD","HNL","HRK","HTG","HUF","IDR","ILS","INR","IQD","IRR","ISK","JMD","JOD","JPY","KES","KGS","KHR","KMF","KPW","KRW","KWD","KYD","KZT","LAK","LBP","LKR","LRD","LSL","LYD","MAD","MDL","MGA","MKD","MMK","MNT","MOP","MRO","MUR","MVR","MWK","MXN","MXV","MYR","MZN","NAD","NGN","NIO","NOK","NPR","NZD","OMR","PAB","PEN","PGK","PHP","PKR","PLN","PYG","QAR","RON","RSD","RUB","RWF","SAR","SBD","SCR","SDG","SEK","SGD","SHP","SLL","SOS","SRD","SSP","STD","SVC","SYP","SZL","THB","TJS","TMT","TND","TOP","TRY","TTD","TWD","TZS","UAH","UGX","USD","USN","UYI","UYU","UZS","VEF","VND","VUV","WST","XAF","XAG","XAU","XBA","XBB","XBC","XBD","XCD","XDR","XOF","XPD","XPF","XPT","XSU","XTS","XUA","XXX","YER","ZAR","ZMW","ZWL"]}i["Serializer"].addClass("expression",["expression:expression",{name:"format",serializationProperty:"locFormat"},{name:"displayStyle",default:"none",choices:["none","decimal","currency","percent","date"]},{name:"currency",choices:function(){return c()},default:"USD"},{name:"maximumFractionDigits:number",default:-1},{name:"minimumFractionDigits:number",default:-1},{name:"useGrouping:boolean",default:!0},{name:"enableIf",visible:!1},{name:"isRequired",visible:!1},{name:"readOnly",visible:!1},{name:"requiredErrorText",visible:!1},{name:"validators",visible:!1},{name:"defaultValue",visible:!1},{name:"correctAnswer",visible:!1},{name:"requiredIf",visible:!1}],(function(){return new u("")}),"question"),s["QuestionFactory"].Instance.registerQuestion("expression",(function(e){return new u(e)}))},"./src/question_file.ts": /*!******************************!*\ !*** ./src/question_file.ts ***! \******************************/ /*! exports provided: QuestionFileModel */function(e,t,n){"use strict";n.r(t),n.d(t,"QuestionFileModel",(function(){return u}));var r=n(/*! ./question */"./src/question.ts"),o=n(/*! ./jsonobject */"./src/jsonobject.ts"),i=n(/*! ./questionfactory */"./src/questionfactory.ts"),s=n(/*! ./error */"./src/error.ts"),a=n(/*! ./surveyStrings */"./src/surveyStrings.ts"),l=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){if("function"!==typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),u=function(e){function t(t){var n=e.call(this,t)||this;return n.isUploading=!1,n.onStateChanged=n.addEvent(),n.previewValue=[],n.currentState="empty",n}return l(t,e),t.prototype.getType=function(){return"file"},t.prototype.clearOnDeletingContainer=function(){this.survey.clearFiles(this,this.name,this.value,null,(function(){}))},Object.defineProperty(t.prototype,"showPreview",{get:function(){return this.getPropertyValue("showPreview")},set:function(e){this.setPropertyValue("showPreview",e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"allowMultiple",{get:function(){return this.getPropertyValue("allowMultiple",!1)},set:function(e){this.setPropertyValue("allowMultiple",e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"imageHeight",{get:function(){return this.getPropertyValue("imageHeight")},set:function(e){this.setPropertyValue("imageHeight",e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"imageWidth",{get:function(){return this.getPropertyValue("imageWidth")},set:function(e){this.setPropertyValue("imageWidth",e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"acceptedTypes",{get:function(){return this.getPropertyValue("acceptedTypes")},set:function(e){this.setPropertyValue("acceptedTypes",e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"storeDataAsText",{get:function(){return this.getPropertyValue("storeDataAsText")},set:function(e){this.setPropertyValue("storeDataAsText",e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"waitForUpload",{get:function(){return this.getPropertyValue("waitForUpload",!1)},set:function(e){this.setPropertyValue("waitForUpload",e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"allowImagesPreview",{get:function(){return this.getPropertyValue("allowImagesPreview")},set:function(e){this.setPropertyValue("allowImagesPreview",e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"maxSize",{get:function(){return this.getPropertyValue("maxSize",0)},set:function(e){this.setPropertyValue("maxSize",e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"needConfirmRemoveFile",{get:function(){return this.getPropertyValue("needConfirmRemoveFile")},set:function(e){this.setPropertyValue("needConfirmRemoveFile",e)},enumerable:!1,configurable:!0}),t.prototype.getConfirmRemoveMessage=function(e){return a["surveyLocalization"].getString("confirmRemoveFile")["format"](e)},Object.defineProperty(t.prototype,"confirmRemoveAllMessage",{get:function(){return a["surveyLocalization"].getString("confirmRemoveAllFiles")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"noFileChosenCaption",{get:function(){return a["surveyLocalization"].getString("noFileChosen")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"chooseButtonCaption",{get:function(){return a["surveyLocalization"].getString("chooseFileCaption")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"cleanButtonCaption",{get:function(){return a["surveyLocalization"].getString("cleanCaption")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"removeFileCaption",{get:function(){return a["surveyLocalization"].getString("removeFileCaption")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"inputTitle",{get:function(){return this.isUploading?a["surveyLocalization"].getString("loadingFile"):this.isEmpty()?a["surveyLocalization"].getString("chooseFile"):" "},enumerable:!1,configurable:!0}),t.prototype.clear=function(e){var t=this;this.survey.clearFiles(this,this.name,this.value,null,(function(n,r){"success"===n&&(t.value=void 0,t.errors=[],e&&e())}))},t.prototype.removeFile=function(e){var t=this;this.survey.clearFiles(this,this.name,this.value,e.name,(function(n,r){if("success"===n){var o=t.value;Array.isArray(o)?t.value=o.filter((function(t){return t.name!==e.name})):t.value=void 0}}))},t.prototype.loadFiles=function(e){var t=this;if(this.survey&&(this.errors=[],this.allFilesOk(e))){this.stateChanged("loading");var n=function(){var n=[];t.storeDataAsText?e.forEach((function(r){var o=new FileReader;o.onload=function(i){n=n.concat([{name:r.name,type:r.type,content:o.result}]),n.length===e.length&&(t.value=(t.value||[]).concat(n))},o.readAsDataURL(r)})):t.survey.uploadFiles(t,t.name,e,(function(e,n){"error"===e&&t.stateChanged("error"),"success"===e&&(t.value=(t.value||[]).concat(n.map((function(e){return{name:e.file.name,type:e.file.type,content:e.content}}))))}))};this.allowMultiple?n():this.clear(n)}},t.prototype.canPreviewImage=function(e){return this.allowImagesPreview&&!!e&&this.isFileImage(e)},t.prototype.setQuestionValue=function(t,n){var r=this;void 0===n&&(n=!0),e.prototype.setQuestionValue.call(this,t,n),this.previewValue=[];var o=!Array.isArray(t)&&t||Array.isArray(t)&&t.length>0?this.showPreview?"loading":"loaded":"empty";if(this.stateChanged(o),this.showPreview&&t){var i=Array.isArray(t)?t:t?[t]:[];this.storeDataAsText?(i.forEach((function(e){var t=e.content||e;r.previewValue=r.previewValue.concat([{name:e.name,type:e.type,content:t}])})),"loading"===o&&this.stateChanged("loaded")):i.forEach((function(e){e.content;r.survey.downloadFile(r.name,e,(function(t,n){"success"===t?(r.previewValue=r.previewValue.concat([{content:n,name:e.name,type:e.type}]),r.previewValue.length===i.length&&r.stateChanged("loaded")):r.stateChanged("error")}))}))}},t.prototype.onCheckForErrors=function(t,n){e.prototype.onCheckForErrors.call(this,t,n),this.isUploading&&this.waitForUpload&&t.push(new s["UploadingFileError"](a["surveyLocalization"].getString("uploadingFile"),this))},t.prototype.stateChanged=function(e){"loading"===e&&(this.isUploading=!0),"loaded"===e&&(this.isUploading=!1),"error"===e&&(this.isUploading=!1),this.currentState=e,this.onStateChanged.fire(this,{state:e})},t.prototype.allFilesOk=function(e){var t=this,n=this.errors?this.errors.length:0;return(e||[]).forEach((function(e){t.maxSize>0&&e.size>t.maxSize&&t.errors.push(new s["ExceedSizeError"](t.maxSize,t))})),n===this.errors.length},t.prototype.isFileImage=function(e){if(!e)return!1;var t="data:image",n=e.content&&e.content.substr(0,t.length);n=n&&n.toLowerCase();var r=n===t||!!e.type&&0===e.type.toLowerCase().indexOf("image/");return r},t.prototype.getPlainData=function(t){void 0===t&&(t={includeEmpty:!0});var n=e.prototype.getPlainData.call(this,t);if(n&&!this.isEmpty()){n.isNode=!1;var r=Array.isArray(this.value)?this.value:[this.value];n.data=r.map((function(e,t){return{name:t,title:"File",value:e.content&&e.content||e,displayValue:e.name&&e.name||e,getString:function(e){return"object"===typeof e?JSON.stringify(e):e},isNode:!1}}))}return n},t.prototype.supportComment=function(){return!0},t}(r["Question"]);o["Serializer"].addClass("file",[{name:"hasComment:switch",layout:"row"},{name:"commentText",dependsOn:"hasComment",visibleIf:function(e){return e.hasComment},serializationProperty:"locCommentText",layout:"row"},{name:"showPreview:boolean",default:!0},"allowMultiple:boolean",{name:"allowImagesPreview:boolean",default:!0},"imageHeight","imageWidth","acceptedTypes",{name:"storeDataAsText:boolean",default:!0},{name:"waitForUpload:boolean",default:!1},"maxSize:number",{name:"defaultValue",visible:!1},{name:"correctAnswer",visible:!1},{name:"validators",visible:!1},{name:"needConfirmRemoveFile:boolean",visible:!0,default:!1}],(function(){return new u("")}),"question"),i["QuestionFactory"].Instance.registerQuestion("file",(function(e){return new u(e)}))},"./src/question_html.ts": /*!******************************!*\ !*** ./src/question_html.ts ***! \******************************/ /*! exports provided: QuestionHtmlModel */function(e,t,n){"use strict";n.r(t),n.d(t,"QuestionHtmlModel",(function(){return a}));var r=n(/*! ./questionnonvalue */"./src/questionnonvalue.ts"),o=n(/*! ./jsonobject */"./src/jsonobject.ts"),i=n(/*! ./questionfactory */"./src/questionfactory.ts"),s=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){if("function"!==typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),a=function(e){function t(t){var n=e.call(this,t)||this,r=n.createLocalizableString("html",n);return r.onGetTextCallback=function(e){return n.survey&&!n.ignoreHtmlProgressing?n.survey.processHtml(e):e},n}return s(t,e),t.prototype.getType=function(){return"html"},Object.defineProperty(t.prototype,"isCompositeQuestion",{get:function(){return!0},enumerable:!1,configurable:!0}),t.prototype.getProcessedText=function(t){return this.ignoreHtmlProgressing?t:e.prototype.getProcessedText.call(this,t)},Object.defineProperty(t.prototype,"html",{get:function(){return this.getLocalizableStringText("html","")},set:function(e){this.setLocalizableStringText("html",e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"locHtml",{get:function(){return this.getLocalizableString("html")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"processedHtml",{get:function(){return this.survey?this.survey.processHtml(this.html):this.html},enumerable:!1,configurable:!0}),t}(r["QuestionNonValue"]);o["Serializer"].addClass("html",[{name:"html:html",serializationProperty:"locHtml"}],(function(){return new a("")}),"nonvalue"),i["QuestionFactory"].Instance.registerQuestion("html",(function(e){return new a(e)}))},"./src/question_image.ts": /*!*******************************!*\ !*** ./src/question_image.ts ***! \*******************************/ /*! exports provided: QuestionImageModel */function(e,t,n){"use strict";n.r(t),n.d(t,"QuestionImageModel",(function(){return a}));var r=n(/*! ./questionnonvalue */"./src/questionnonvalue.ts"),o=n(/*! ./jsonobject */"./src/jsonobject.ts"),i=n(/*! ./questionfactory */"./src/questionfactory.ts"),s=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){if("function"!==typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),a=function(e){function t(t){var n=e.call(this,t)||this;return n.createLocalizableString("imageLink",n,!1),n.createLocalizableString("text",n,!1),n}return s(t,e),t.prototype.getType=function(){return"image"},Object.defineProperty(t.prototype,"isCompositeQuestion",{get:function(){return!1},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"imageLink",{get:function(){return this.getLocalizableStringText("imageLink")},set:function(e){this.setLocalizableStringText("imageLink",e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"locImageLink",{get:function(){return this.getLocalizableString("imageLink")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"text",{get:function(){return this.getLocalizableStringText("text")},set:function(e){this.setLocalizableStringText("text",e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"locText",{get:function(){return this.getLocalizableString("text")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"imageHeight",{get:function(){return this.getPropertyValue("imageHeight")},set:function(e){this.setPropertyValue("imageHeight",e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"imageWidth",{get:function(){return this.getPropertyValue("imageWidth")},set:function(e){this.setPropertyValue("imageWidth",e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"imageFit",{get:function(){return this.getPropertyValue("imageFit")},set:function(e){this.setPropertyValue("imageFit",e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"contentMode",{get:function(){return this.getPropertyValue("contentMode")},set:function(e){this.setPropertyValue("contentMode",e),"video"===e&&(this.showLabel=!0)},enumerable:!1,configurable:!0}),t}(r["QuestionNonValue"]);o["Serializer"].addClass("image",[{name:"imageLink",serializationProperty:"locImageLink"},{name:"text",serializationProperty:"locText"},{name:"contentMode",default:"image",choices:["image","video"]},{name:"imageFit",default:"contain",choices:["none","contain","cover","fill"]},{name:"imageHeight:number",default:150,minValue:0},{name:"imageWidth:number",default:200,minValue:0}],(function(){return new a("")}),"nonvalue"),i["QuestionFactory"].Instance.registerQuestion("image",(function(e){return new a(e)}))},"./src/question_imagepicker.ts": /*!*************************************!*\ !*** ./src/question_imagepicker.ts ***! \*************************************/ /*! exports provided: ImageItemValue, QuestionImagePickerModel */function(e,t,n){"use strict";n.r(t),n.d(t,"ImageItemValue",(function(){return u})),n.d(t,"QuestionImagePickerModel",(function(){return c}));var r=n(/*! ./jsonobject */"./src/jsonobject.ts"),o=n(/*! ./questionfactory */"./src/questionfactory.ts"),i=n(/*! ./question_baseselect */"./src/question_baseselect.ts"),s=n(/*! ./itemvalue */"./src/itemvalue.ts"),a=n(/*! ./helpers */"./src/helpers.ts"),l=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){if("function"!==typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),u=function(e){function t(t,n,r){void 0===n&&(n=null),void 0===r&&(r="imageitemvalue");var o=e.call(this,t,n,r)||this;return o.typeName=r,o.createLocalizableString("imageLink",o,!1),o}return l(t,e),t.prototype.getType=function(){return this.typeName?this.typeName:"itemvalue"},Object.defineProperty(t.prototype,"imageLink",{get:function(){return this.getLocalizableStringText("imageLink")},set:function(e){this.setLocalizableStringText("imageLink",e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"locImageLink",{get:function(){return this.getLocalizableString("imageLink")},enumerable:!1,configurable:!0}),t.prototype.getLocale=function(){return this.locOwner?this.locOwner.getLocale():""},t.prototype.getMarkdownHtml=function(e,t){return this.locOwner?this.locOwner.getMarkdownHtml(e,t):e},t.prototype.getRenderer=function(e){return this.locOwner?this.locOwner.getRenderer(e):null},t.prototype.getProcessedText=function(e){return this.locOwner?this.locOwner.getProcessedText(e):e},t}(s["ItemValue"]),c=function(e){function t(t){var n=e.call(this,t)||this;return n.colCount=0,n.choicesByUrl.createItemValue=function(e){return new u(e)},n}return l(t,e),t.prototype.getType=function(){return"imagepicker"},t.prototype.supportGoNextPageAutomatic=function(){return!0},Object.defineProperty(t.prototype,"hasSingleInput",{get:function(){return!1},enumerable:!1,configurable:!0}),t.prototype.getItemValueType=function(){return"imageitemvalue"},Object.defineProperty(t.prototype,"isCompositeQuestion",{get:function(){return!0},enumerable:!1,configurable:!0}),t.prototype.supportOther=function(){return!1},t.prototype.supportNone=function(){return!1},Object.defineProperty(t.prototype,"multiSelect",{get:function(){return this.getPropertyValue("multiSelect",!1)},set:function(e){this.setPropertyValue("multiSelect",e)},enumerable:!1,configurable:!0}),t.prototype.isItemSelected=function(e){var t=this.value;if(this.isValueEmpty(t))return!1;if(!this.multiSelect)return a["Helpers"].isTwoValueEquals(t,e.value);if(!Array.isArray(t))return!1;for(var n=0;n=0&&t=t.length)return null;e=t[e].value}return e.value?e.value:e},e.prototype.getJson=function(){if(this.isEmpty)return null;var e={};for(var t in this.values){var n={},r=this.values[t];for(var o in r)n[o]=r[o].getJson();e[t]=n}return e},e.prototype.setJson=function(e){if(this.values={},e)for(var t in e)if("pos"!=t){var n=e[t];for(var r in this.values[t]={},n)if("pos"!=r){var o=this.createString();o.setJson(n[r]),this.values[t][r]=o}}},e.prototype.createString=function(){return new d["LocalizableString"](this.cellsOwner,!0)},e}(),g=function(e){function t(t){var n=e.call(this,t)||this;n.isRowChanging=!1,n.emptyLocalizableString=new d["LocalizableString"](n),n.cellsValue=new v(n);var r=n;return n.registerFunctionOnPropertyValueChanged("columns",(function(){r.onColumnsChanged()})),n.registerFunctionOnPropertyValueChanged("rows",(function(){r.filterItems()||r.onRowsChanged()})),n.registerFunctionOnPropertyValueChanged("hideIfRowsEmpty",(function(){r.updateVisibilityBasedOnRows()})),n}return f(t,e),t.prototype.getType=function(){return"matrix"},Object.defineProperty(t.prototype,"hasSingleInput",{get:function(){return!1},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isAllRowRequired",{get:function(){return this.getPropertyValue("isAllRowRequired",!1)},set:function(e){this.setPropertyValue("isAllRowRequired",e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"hasRows",{get:function(){return this.rows.length>0},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"rowsOrder",{get:function(){return this.getPropertyValue("rowsOrder")},set:function(e){e=e.toLowerCase(),e!=this.rowsOrder&&(this.setPropertyValue("rowsOrder",e),this.onRowsChanged())},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"hideIfRowsEmpty",{get:function(){return this.getPropertyValue("hideIfRowsEmpty",!1)},set:function(e){this.setPropertyValue("hideIfRowsEmpty",e)},enumerable:!1,configurable:!0}),t.prototype.getRows=function(){return this.rows},t.prototype.getColumns=function(){return this.visibleColumns},t.prototype.getItemClass=function(e,t){var n=e.value==t.value,r=this.isReadOnly,o=!n&&!r,i=this.hasCellText?this.cssClasses.cellTextDisabled:this.cssClasses.itemDisabled,s=this.hasCellText?this.cssClasses.cellTextSelected:this.cssClasses.itemChecked,a=this.hasCellText?"":this.cssClasses.itemHover,l=this.hasCellText?this.cssClasses.cellText:this.cssClasses.label,u=this.hasCellText&&this.cssClasses.cell?this.cssClasses.cell+" ":"";return u+=l+(n?" "+s:"")+(r?" "+i:"")+(o?" "+a:""),u},t.prototype.getQuizQuestionCount=function(){for(var e=0,t=0;t0)&&this.hasErrorInRows()&&t.push(new u["RequiredInAllRowsError"](null,this))},t.prototype.hasErrorInRows=function(){return!!this.isAllRowRequired&&!this.hasValuesInAllRows()},t.prototype.hasValuesInAllRows=function(){var e=this.generatedVisibleRows;if(e||(e=this.visibleRows),!e)return!0;for(var t=0;t0&&this.visibleColumns.length>0?this.inputId+"_"+t[0].name+"_0":e.prototype.getFirstInputElementId.call(this)},t.prototype.onRowsChanged=function(){this.updateVisibilityBasedOnRows(),e.prototype.onRowsChanged.call(this)},t.prototype.updateVisibilityBasedOnRows=function(){this.hideIfRowsEmpty&&(this.visible=this.rows.length>0&&(!this.filteredRows||this.filteredRows.length>0))},t.prototype.onMatrixRowChanged=function(e){if(!this.isRowChanging){if(this.isRowChanging=!0,this.hasRows){var t=this.value;t||(t={}),t[e.name]=e.value,this.setNewValue(t)}else this.setNewValue(e.value);this.isRowChanging=!1}},t.prototype.getCorrectedRowValue=function(e){for(var t=0;t-1,r=0;r-1?t.colCount:n.columnColCount}},radiogroup:{properties:["choices","choicesOrder","choicesByUrl","otherText","choicesVisibleIf"],onCellQuestionUpdate:function(e,t,n,r){y(e,t,n,r),e.colCount=t.colCount>-1?t.colCount:n.columnColCount}},text:{properties:["placeHolder","inputType","maxLength","min","max","step"],onCellQuestionUpdate:function(e,t,n,r){}},comment:{properties:["placeHolder","rows","maxLength"],onCellQuestionUpdate:function(e,t,n,r){}},boolean:{properties:["renderAs","defaultValue"],onCellQuestionUpdate:function(e,t,n,r){e.showTitle=!0,e.renderAs=t.renderAs}},expression:{properties:["expression","displayStyle","currency"],onCellQuestionUpdate:function(e,t,n,r){}},rating:{properties:["rateValues"]}},x=function(e){function t(t,n){void 0===n&&(n=null);var r=e.call(this)||this;r.colOwnerValue=null,r.indexValue=-1,r._isVisible=!0,r._hasVisibleCell=!0;var o=r;return r.createLocalizableString("totalFormat",r),r.registerFunctionOnPropertyValueChanged("showInMultipleColumns",(function(){o.doShowInMultipleColumnsChanged()})),r.updateTemplateQuestion(),r.name=t,n&&(r.title=n),r}return g(t,e),t.getColumnTypes=function(){var e=[];for(var t in b)e.push(t);return e},t.prototype.getOriginalObj=function(){return this.templateQuestion},t.prototype.getClassNameProperty=function(){return"cellType"},t.prototype.getSurvey=function(e){return void 0===e&&(e=!1),this.colOwner?this.colOwner.survey:null},t.prototype.endLoadingFromJson=function(){var t=this;e.prototype.endLoadingFromJson.call(this),this.templateQuestion.endLoadingFromJson(),this.templateQuestion.onGetSurvey=function(){return t.getSurvey()}},t.prototype.getDynamicPropertyName=function(){return"cellType"},t.prototype.getDynamicType=function(){return this.calcCellQuestionType()},Object.defineProperty(t.prototype,"colOwner",{get:function(){return this.colOwnerValue},set:function(e){this.colOwnerValue=e,e&&this.updateTemplateQuestion()},enumerable:!1,configurable:!0}),t.prototype.locStrsChanged=function(){e.prototype.locStrsChanged.call(this),this.locTitle.strChanged()},t.prototype.addUsedLocales=function(t){e.prototype.addUsedLocales.call(this,t),this.templateQuestion.addUsedLocales(t)},Object.defineProperty(t.prototype,"index",{get:function(){return this.indexValue},enumerable:!1,configurable:!0}),t.prototype.setIndex=function(e){this.indexValue=e},t.prototype.getType=function(){return"matrixdropdowncolumn"},Object.defineProperty(t.prototype,"cellType",{get:function(){return this.getPropertyValue("cellType")},set:function(e){e=e.toLocaleLowerCase(),this.setPropertyValue("cellType",e),this.updateTemplateQuestion(),this.colOwner&&this.colOwner.onColumnCellTypeChanged(this)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"templateQuestion",{get:function(){return this.templateQuestionValue},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"value",{get:function(){return this.templateQuestion.name},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isVisible",{get:function(){return this._isVisible},enumerable:!1,configurable:!0}),t.prototype.setIsVisible=function(e){this._isVisible=e},Object.defineProperty(t.prototype,"hasVisibleCell",{get:function(){return this._hasVisibleCell},set:function(e){this._hasVisibleCell=e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"name",{get:function(){return this.templateQuestion.name},set:function(e){this.templateQuestion.name=e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"title",{get:function(){return this.templateQuestion.title},set:function(e){this.templateQuestion.title=e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"locTitle",{get:function(){return this.templateQuestion.locTitle},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"fullTitle",{get:function(){return this.locTitle.textOrHtml},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isRequired",{get:function(){return this.templateQuestion.isRequired},set:function(e){this.templateQuestion.isRequired=e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"requiredText",{get:function(){return this.templateQuestion.requiredText},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"requiredErrorText",{get:function(){return this.templateQuestion.requiredErrorText},set:function(e){this.templateQuestion.requiredErrorText=e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"locRequiredErrorText",{get:function(){return this.templateQuestion.locRequiredErrorText},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"readOnly",{get:function(){return this.templateQuestion.readOnly},set:function(e){this.templateQuestion.readOnly=e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"hasOther",{get:function(){return this.templateQuestion.hasOther},set:function(e){this.templateQuestion.hasOther=e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"visibleIf",{get:function(){return this.templateQuestion.visibleIf},set:function(e){this.templateQuestion.visibleIf=e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"enableIf",{get:function(){return this.templateQuestion.enableIf},set:function(e){this.templateQuestion.enableIf=e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"requiredIf",{get:function(){return this.templateQuestion.requiredIf},set:function(e){this.templateQuestion.requiredIf=e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isUnique",{get:function(){return this.getPropertyValue("isUnique")},set:function(e){this.setPropertyValue("isUnique",e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"showInMultipleColumns",{get:function(){return this.getPropertyValue("showInMultipleColumns",!1)},set:function(e){this.setPropertyValue("showInMultipleColumns",e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isSupportMultipleColumns",{get:function(){return["checkbox","radiogroup"].indexOf(this.cellType)>-1},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isShowInMultipleColumns",{get:function(){return this.showInMultipleColumns&&this.isSupportMultipleColumns},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"validators",{get:function(){return this.templateQuestion.validators},set:function(e){this.templateQuestion.validators=e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"totalType",{get:function(){return this.getPropertyValue("totalType","none")},set:function(e){this.setPropertyValue("totalType",e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"totalExpression",{get:function(){return this.getPropertyValue("totalExpression")},set:function(e){this.setPropertyValue("totalExpression",e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"hasTotal",{get:function(){return"none"!=this.totalType||!!this.totalExpression},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"totalFormat",{get:function(){return this.getLocalizableStringText("totalFormat","")},set:function(e){this.setLocalizableStringText("totalFormat",e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"locTotalFormat",{get:function(){return this.getLocalizableString("totalFormat")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"renderAs",{get:function(){return this.getPropertyValue("renderAs")},set:function(e){this.setPropertyValue("renderAs",e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"totalMaximumFractionDigits",{get:function(){return this.getPropertyValue("totalMaximumFractionDigits",-1)},set:function(e){e<-1||e>20||this.setPropertyValue("totalMaximumFractionDigits",e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"totalMinimumFractionDigits",{get:function(){return this.getPropertyValue("totalMinimumFractionDigits",-1)},set:function(e){e<-1||e>20||this.setPropertyValue("totalMinimumFractionDigits",e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"totalDisplayStyle",{get:function(){return this.getPropertyValue("totalDisplayStyle")},set:function(e){this.setPropertyValue("totalDisplayStyle",e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"totalCurrency",{get:function(){return this.getPropertyValue("totalCurrency")},set:function(e){Object(p["getCurrecyCodes"])().indexOf(e)<0||this.setPropertyValue("totalCurrency",e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"minWidth",{get:function(){return this.getPropertyValue("minWidth","")},set:function(e){this.setPropertyValue("minWidth",e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"width",{get:function(){return this.getPropertyValue("width","")},set:function(e){this.setPropertyValue("width",e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"colCount",{get:function(){return this.getPropertyValue("colCount",-1)},set:function(e){e<-1||e>4||this.setPropertyValue("colCount",e)},enumerable:!1,configurable:!0}),t.prototype.getLocale=function(){return this.colOwner?this.colOwner.getLocale():""},t.prototype.getMarkdownHtml=function(e,t){return this.colOwner?this.colOwner.getMarkdownHtml(e,t):null},t.prototype.getRenderer=function(e){return this.colOwner?this.colOwner.getRenderer(e):null},t.prototype.getProcessedText=function(e){return this.colOwner?this.colOwner.getProcessedText(e):e},t.prototype.createCellQuestion=function(e){var t=this.calcCellQuestionType(),n=this.createNewQuestion(t);return this.callOnCellQuestionUpdate(n,e),n},t.prototype.updateCellQuestion=function(e,t,n){void 0===n&&(n=null),this.setQuestionProperties(e,n),this.callOnCellQuestionUpdate(e,t)},t.prototype.callOnCellQuestionUpdate=function(e,t){var n=e.getType(),r=b[n];r&&r["onCellQuestionUpdate"]&&r["onCellQuestionUpdate"](e,this,this.colOwner,t)},t.prototype.defaultCellTypeChanged=function(){this.updateTemplateQuestion()},t.prototype.calcCellQuestionType=function(){return"default"!==this.cellType?this.cellType:this.colOwner?this.colOwner.getCellType():f["settings"].matrixDefaultCellType},t.prototype.updateTemplateQuestion=function(){var e=this,t=this.templateQuestion?this.templateQuestion.getType():"",n=this.calcCellQuestionType();if(n!==t){this.templateQuestion&&this.removeProperties(t),this.templateQuestionValue=this.createNewQuestion(n),this.templateQuestion.locOwner=this,this.addProperties(n);var r=this;this.templateQuestion.onPropertyChanged.add((function(e,t){r.propertyValueChanged(t.name,t.oldValue,t.newValue)})),this.templateQuestion.isContentElement=!0,this.isLoadingFromJson||(this.templateQuestion.onGetSurvey=function(){return e.getSurvey()})}},t.prototype.createNewQuestion=function(e){var t=r["Serializer"].createClass(e);return t||(t=r["Serializer"].createClass("text")),t.loadingOwner=this,this.setQuestionProperties(t),t},t.prototype.setQuestionProperties=function(e,t){if(void 0===t&&(t=null),this.templateQuestion){var n=(new r["JsonObject"]).toJsonObject(this.templateQuestion,!0);t&&t(n),n.type=e.getType(),(new r["JsonObject"]).toObject(n,e)}},t.prototype.propertyValueChanged=function(t,n,o){e.prototype.propertyValueChanged.call(this,t,n,o),r["Serializer"].hasOriginalProperty(this,t)&&(null==this.colOwner||this.isLoadingFromJson||this.colOwner.onColumnPropertyChanged(this,t,o))},t.prototype.doShowInMultipleColumnsChanged=function(){null==this.colOwner||this.isLoadingFromJson||this.colOwner.onShowInMultipleColumnsChanged(this)},t.prototype.getProperties=function(e){return r["Serializer"].getDynamicPropertiesByObj(this,e)},t.prototype.removeProperties=function(e){for(var t=this.getProperties(e),n=0;n0?" "+this.question.cssError:"")},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"headers",{get:function(){return this.cell&&this.cell.column&&this.cell.column.isShowInMultipleColumns?this.item.locText.renderedHtml:this.question&&this.question.isVisible?this.question.locTitle.renderedHtml:this.hasTitle&&this.locTitle.renderedHtml||""},enumerable:!1,configurable:!0}),e.prototype.calculateFinalClassName=function(e){var t=this.cell.question.cssClasses,n="";return t&&(n="",t.itemValue&&(n+=" "+t.itemValue),t.asCell&&(n&&(n+=""),n+=t.asCell)),!n&&e&&(n=e.cell),n+=this.question.errors.length>0?" "+t.hasError:"",this.isChoice&&(n+=" "+e.choiceCell),n},e.counter=1,e}(),T=function(){function e(){this.isDetailRow=!1,this.cells=[],this.className="",this.idValue=e.counter++}return Object.defineProperty(e.prototype,"id",{get:function(){return this.idValue},enumerable:!1,configurable:!0}),e.counter=1,e}(),V=function(e){function t(t){var n=e.call(this)||this;return n.matrix=t,n.hasActionCellInRowsValues={},n.createNewArray("rows"),n.build(),n}return g(t,e),Object.defineProperty(t.prototype,"showTable",{get:function(){return this.getPropertyValue("showTable",!0)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"showHeader",{get:function(){return this.getPropertyValue("showHeader")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"showAddRowOnTop",{get:function(){return this.getPropertyValue("showAddRowOnTop",!1)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"showAddRowOnBottom",{get:function(){return this.getPropertyValue("showAddRowOnBottom",!1)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"showFooter",{get:function(){return this.matrix.hasFooter&&this.matrix.isColumnLayoutHorizontal},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"hasFooter",{get:function(){return!!this.footerRow},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"hasRemoveRows",{get:function(){return this.hasRemoveRowsValue},enumerable:!1,configurable:!0}),t.prototype.isRequireReset=function(){return this.hasRemoveRows!=this.matrix.canRemoveRows||!this.matrix.isColumnLayoutHorizontal},Object.defineProperty(t.prototype,"headerRow",{get:function(){return this.headerRowValue},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"footerRow",{get:function(){return this.footerRowValue},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"rows",{get:function(){return this.getPropertyValue("rows")},enumerable:!1,configurable:!0}),t.prototype.build=function(){this.hasRemoveRowsValue=this.matrix.canRemoveRows;this.matrix.visibleRows;this.cssClasses=this.matrix.cssClasses,this.buildRowsActions(),this.buildHeader(),this.buildRows(),this.buildFooter(),this.updateShowTableAndAddRow()},t.prototype.updateShowTableAndAddRow=function(){var e=this.rows.length>0||this.matrix.isDesignMode||!this.matrix.getShowColumnsIfEmpty();this.setPropertyValue("showTable",e);var t=this.matrix.canAddRow&&e,n=t,r=t;n&&(n="default"===this.matrix.getAddRowLocation()?"vertical"===this.matrix.columnLayout:"bottom"!==this.matrix.getAddRowLocation()),r&&"topBottom"!==this.matrix.getAddRowLocation()&&(r=!n),this.setPropertyValue("showAddRowOnTop",n),this.setPropertyValue("showAddRowOnBottom",r)},t.prototype.onAddedRow=function(){if(!(this.getRenderedDataRowCount()>=this.matrix.visibleRows.length)){var e=this.matrix.visibleRows[this.matrix.visibleRows.length-1];this.rowsActions.push(this.buildRowActions(e)),this.addHorizontalRow(this.rows,e,1==this.matrix.visibleRows.length&&!this.matrix.showHeader),this.updateShowTableAndAddRow()}},t.prototype.getRenderedDataRowCount=function(){for(var e=0,t=0;t-1||!t&&r<0))if(t){var o=this.createDetailPanelRow(e,this.rows[n]);this.rows.splice(n+1,0,o)}else this.rows.splice(r,1)}},t.prototype.getRenderedRowIndex=function(e){for(var t=0;t=0?r:l,d=a[l].cells[t],p=n?d.question.visibleChoices:void 0;p&&c4||this.setPropertyValue("columnColCount",e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"columnMinWidth",{get:function(){return this.getPropertyValue("columnMinWidth","")},set:function(e){this.setPropertyValue("columnMinWidth",e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"horizontalScroll",{get:function(){return this.getPropertyValue("horizontalScroll",!1)},set:function(e){this.setPropertyValue("horizontalScroll",e)},enumerable:!1,configurable:!0}),t.prototype.getRequiredText=function(){return this.survey?this.survey.requiredText:""},t.prototype.onColumnPropertyChanged=function(e,t,n){if(this.updateHasFooter(),this.generatedVisibleRows){for(var r=0;r=0;o--){if("."==n[o])break;r=n[o]+r}var i=this.getColumnByName(r);if(!i)return null;var s=i.createCellQuestion(null);return s?s.getConditionJson(t):null},t.prototype.clearIncorrectValues=function(){var e=this.visibleRows;if(e)for(var t=0;t=t.length)return null;var n=this.createNewValue();return this.getRowValueCore(t[e],n)},t.prototype.checkIfValueInRowDuplicated=function(e,t){if(!this.generatedVisibleRows)return!1;for(var n=!1,r=0;r=n.length)return null;n[e].value=t,this.onRowChanged(n[e],"",t,!1)},t.prototype.generateRows=function(){return null},t.prototype.generateTotalRow=function(){return new S(this)},t.prototype.createNewValue=function(e){void 0===e&&(e=!1);var t=this.value?this.createValueCopy():{};return e&&this.isMatrixValueEmpty(t)?null:t},t.prototype.getRowValueCore=function(e,t,n){void 0===n&&(n=!1);var r=t&&t[e.rowName]?t[e.rowName]:null;return!r&&n&&(r={},t&&(t[e.rowName]=r)),r},t.prototype.getRowObj=function(e){var t=this.getRowValueCore(e,this.value);return t&&t.getType?t:null},t.prototype.getRowDisplayValue=function(e,t,n){if(!n)return n;if(t.editingObj)return n;for(var r=Object.keys(n),o=0;o0&&(t=t.concat(s))}return t},t.prototype.hasErrorInRows=function(e,t){var n=this;if(!this.generatedVisibleRows)return!1;var r=!1;t||(t={}),t.isSingleDetailPanel="underRowSingle"===this.detailPanelMode;for(var o=0;o0)return n[r].question}return null},t.prototype.onReadOnlyChanged=function(){if(e.prototype.onReadOnlyChanged.call(this),this.generateRows)for(var t=0;t0))},t.prototype.getIsDetailPanelShowing=function(e){if("none"==this.detailPanelMode)return!1;if(this.isDesignMode){var t=0==this.visibleRows.indexOf(e);return t&&(e.detailPanel||e.showDetailPanel()),t}return this.getPropertyValue("isRowShowing"+e.id,!1)},t.prototype.setIsDetailPanelShowing=function(e,t){if(t!=this.getIsDetailPanelShowing(e)&&(this.setPropertyValue("isRowShowing"+e.id,t),this.updateDetailPanelButtonCss(e),this.renderedTable&&this.renderedTable.onDetailPanelChangeVisibility(e,t),t&&"underRowSingle"===this.detailPanelMode))for(var n=this.visibleRows,r=0;r=this.visibleRows.length?null:this.visibleRows[t].getQuestionByName(e)},t.prototype.isMatrixValueEmpty=function(e){if(e){if(Array.isArray(e)){for(var t=0;t0)return!1;return!0}return 0==Object.keys(e).length}},Object.defineProperty(t.prototype,"SurveyModel",{get:function(){return this.survey},enumerable:!1,configurable:!0}),t.prototype.getCellTemplateData=function(e){return this.SurveyModel.getMatrixCellTemplateData(e)},t.prototype.getCellWrapperComponentName=function(e){return this.SurveyModel.getElementWrapperComponentName(e,"cell")},t.prototype.getCellWrapperComponentData=function(e){return this.SurveyModel.getElementWrapperComponentData(e,"cell")},t.prototype.getColumnHeaderWrapperComponentName=function(e){return this.SurveyModel.getElementWrapperComponentName(e,"column-header")},t.prototype.getColumnHeaderWrapperComponentData=function(e){return this.SurveyModel.getElementWrapperComponentData(e,"column-header")},t.prototype.getRowHeaderWrapperComponentName=function(e){return this.SurveyModel.getElementWrapperComponentName(e,"row-header")},t.prototype.getRowHeaderWrapperComponentData=function(e){return this.SurveyModel.getElementWrapperComponentData(e,"row-header")},t}(o["QuestionMatrixBaseModel"]);r["Serializer"].addClass("matrixdropdowncolumn",[{name:"!name",isUnique:!0},{name:"title",serializationProperty:"locTitle"},{name:"cellType",default:"default",choices:function(){var e=x.getColumnTypes();return e.splice(0,0,"default"),e}},{name:"colCount",default:-1,choices:[-1,0,1,2,3,4]},"isRequired:boolean","isUnique:boolean",{name:"requiredErrorText:text",serializationProperty:"locRequiredErrorText"},"readOnly:boolean","minWidth","width","visibleIf:condition","enableIf:condition","requiredIf:condition",{name:"showInMultipleColumns:boolean",dependsOn:"cellType",visibleIf:function(e){return!!e&&e.isSupportMultipleColumns}},{name:"validators:validators",baseClassName:"surveyvalidator",classNamePart:"validator"},{name:"totalType",default:"none",choices:["none","sum","count","min","max","avg"]},"totalExpression:expression",{name:"totalFormat",serializationProperty:"locTotalFormat"},{name:"totalDisplayStyle",default:"none",choices:["none","decimal","currency","percent"]},{name:"totalCurrency",choices:function(){return Object(p["getCurrecyCodes"])()},default:"USD"},{name:"totalMaximumFractionDigits:number",default:-1},{name:"totalMinimumFractionDigits:number",default:-1},{name:"renderAs",default:"default",visible:!1}],(function(){return new x("")})),r["Serializer"].addClass("matrixdropdownbase",[{name:"columns:matrixdropdowncolumns",className:"matrixdropdowncolumn"},{name:"columnLayout",alternativeName:"columnsLocation",default:"horizontal",choices:["horizontal","vertical"]},{name:"detailElements",visible:!1,isLightSerializable:!1},{name:"detailPanelMode",choices:["none","underRow","underRowSingle"],default:"none"},"horizontalScroll:boolean",{name:"choices:itemvalue[]"},{name:"optionsCaption",serializationProperty:"locOptionsCaption"},{name:"keyDuplicationError",serializationProperty:"locKeyDuplicationError"},{name:"cellType",default:"dropdown",choices:function(){return x.getColumnTypes()}},{name:"columnColCount",default:0,choices:[0,1,2,3,4]},"columnMinWidth"],(function(){return new k("")}),"matrixbase")},"./src/question_matrixdynamic.ts": /*!***************************************!*\ !*** ./src/question_matrixdynamic.ts ***! \***************************************/ /*! exports provided: MatrixDynamicRowModel, QuestionMatrixDynamicModel */function(e,t,n){"use strict";n.r(t),n.d(t,"MatrixDynamicRowModel",(function(){return p})),n.d(t,"QuestionMatrixDynamicModel",(function(){return h}));var r=n(/*! ./question_matrixdropdownbase */"./src/question_matrixdropdownbase.ts"),o=n(/*! ./jsonobject */"./src/jsonobject.ts"),i=n(/*! ./questionfactory */"./src/questionfactory.ts"),s=n(/*! ./surveyStrings */"./src/surveyStrings.ts"),a=n(/*! ./error */"./src/error.ts"),l=n(/*! ./helpers */"./src/helpers.ts"),u=n(/*! ./settings */"./src/settings.ts"),c=n(/*! ./utils/utils */"./src/utils/utils.ts"),d=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){if("function"!==typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),p=function(e){function t(t,n,r){var o=e.call(this,n,r)||this;return o.index=t,o.buildCells(r),o}return d(t,e),Object.defineProperty(t.prototype,"rowName",{get:function(){return this.id},enumerable:!1,configurable:!0}),t}(r["MatrixDropdownRowModelBase"]),h=function(e){function t(t){var n=e.call(this,t)||this;n.rowCounter=0,n.initialRowCount=2,n.setRowCountValueFromData=!1,n.createLocalizableString("confirmDeleteText",n);var r=n.createLocalizableString("addRowText",n);r.onGetTextCallback=function(e){return e||n.defaultAddRowText};var o=n.createLocalizableString("removeRowText",n);o.onGetTextCallback=function(e){return e||s["surveyLocalization"].getString("removeRow")};var i=n.createLocalizableString("emptyRowsText",n);return i.onGetTextCallback=function(e){return e||s["surveyLocalization"].getString("emptyRowsText")},n.registerFunctionOnPropertiesValueChanged(["hideColumnsIfEmpty","allowAddRows"],(function(){n.updateShowTableAndAddRow()})),n}return d(t,e),t.prototype.getType=function(){return"matrixdynamic"},Object.defineProperty(t.prototype,"isRowsDynamic",{get:function(){return!0},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"confirmDelete",{get:function(){return this.getPropertyValue("confirmDelete",!1)},set:function(e){this.setPropertyValue("confirmDelete",e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"keyName",{get:function(){return this.getPropertyValue("keyName","")},set:function(e){this.setPropertyValue("keyName",e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"defaultRowValue",{get:function(){return this.getPropertyValue("defaultRowValue")},set:function(e){this.setPropertyValue("defaultRowValue",e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"defaultValueFromLastRow",{get:function(){return this.getPropertyValue("defaultValueFromLastRow",!1)},set:function(e){this.setPropertyValue("defaultValueFromLastRow",e)},enumerable:!1,configurable:!0}),t.prototype.isDefaultValueEmpty=function(){return e.prototype.isDefaultValueEmpty.call(this)&&this.isValueEmpty(this.defaultRowValue)},t.prototype.valueFromData=function(t){if(this.minRowCount<1)return e.prototype.valueFromData.call(this,t);Array.isArray(t)||(t=[]);for(var n=t.length;nu["settings"].matrixMaximumRowCount)){this.setRowCountValueFromData=!1;var t=this.rowCountValue;if(this.rowCountValue=e,this.value&&this.value.length>e){var n=this.value;n.splice(e),this.value=n}if(this.isLoadingFromJson)this.initialRowCount=e;else{if(this.generatedVisibleRows||0==t){this.generatedVisibleRows||(this.generatedVisibleRows=[]),this.generatedVisibleRows.splice(e);for(var r=t;rthis.maxRowCount&&(this.maxRowCount=e),this.rowCountu["settings"].matrixMaximumRowCount&&(e=u["settings"].matrixMaximumRowCount),e!=this.maxRowCount&&(this.setPropertyValue("maxRowCount",e),ee&&(this.rowCount=e)))},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"allowAddRows",{get:function(){return this.getPropertyValue("allowAddRows",!0)},set:function(e){this.setPropertyValue("allowAddRows",e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"allowRemoveRows",{get:function(){return this.getPropertyValue("allowRemoveRows",!0)},set:function(e){this.setPropertyValue("allowRemoveRows",e),this.isLoadingFromJson||this.resetRenderedTable()},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"canAddRow",{get:function(){return this.allowAddRows&&!this.isReadOnly&&this.rowCountthis.minRowCount},enumerable:!1,configurable:!0}),t.prototype.canRemoveRow=function(e){return!this.survey||this.survey.matrixAllowRemoveRow(this,e.index,e)},t.prototype.addRow=function(){var e={question:this,canAddRow:this.canAddRow};this.survey&&this.survey.matrixBeforeRowAdded(e),e.canAddRow&&(this.onStartRowAddingRemoving(),this.addRowCore(),this.onEndRowAdding())},t.prototype.hasRowsAsItems=function(){return!1},t.prototype.unbindValue=function(){this.clearGeneratedRows(),this.clearPropertyValue("value"),this.rowCountValue=0,e.prototype.unbindValue.call(this)},t.prototype.addRowCore=function(){var e=this.rowCount;this.rowCount=this.rowCount+1;var t=this.getDefaultRowValue(!0),n=null;if(this.isValueEmpty(t)||(n=this.createNewValue(),n.length==this.rowCount&&(n[n.length-1]=t,this.value=n)),this.data){this.runCellsCondition(this.getDataFilteredValues(),this.getDataFilteredProperties());var r=this.visibleRows[this.rowCount-1];this.isValueEmpty(r.value)||(n||(n=this.createNewValue()),this.isEditingSurveyElement(n)||l["Helpers"].isTwoValueEquals(n[n.length-1],r.value)||(n[n.length-1]=r.value,this.value=n))}this.survey&&e+1==this.rowCount&&(this.survey.matrixRowAdded(this,this.visibleRows[this.visibleRows.length-1]),this.onRowsChanged())},t.prototype.getDefaultRowValue=function(e){for(var t=null,n=0;n=this.rowCount-1){var s=i[this.rowCount-2];for(var o in s)t=t||{},t[o]=s[o]}}return t},t.prototype.removeRowUI=function(e){if(e&&e.rowName){var t=this.visibleRows.indexOf(e);if(t<0)return;e=t}this.isRequireConfirmOnRowDelete(e)&&!Object(c["confirmAction"])(this.confirmDeleteText)||this.removeRow(e)},t.prototype.isRequireConfirmOnRowDelete=function(e){if(!this.confirmDelete)return!1;if(e<0||e>=this.rowCount)return!1;var t=this.createNewValue();return!(this.isValueEmpty(t)||!Array.isArray(t))&&(!(e>=t.length)&&!this.isValueEmpty(t[e]))},t.prototype.removeRow=function(e){if(this.canRemoveRows&&!(e<0||e>=this.rowCount)){var t=this.visibleRows&&e-1,r=0;r-1?"["+t.toString()+"].":"row.";e.push({name:(t>-1?this.getValueName()+r:r)+n.name,text:(t>-1?this.processedTitle+r:r)+n.fullTitle,question:this})},t.prototype.supportGoNextPageAutomatic=function(){return!1},Object.defineProperty(t.prototype,"hasRowText",{get:function(){return!1},enumerable:!1,configurable:!0}),t.prototype.onCheckForErrors=function(t,n){e.prototype.onCheckForErrors.call(this,t,n),!n&&this.hasErrorInMinRows()&&t.push(new a["MinRowCountError"](this.minRowCount,this))},t.prototype.hasErrorInMinRows=function(){if(this.minRowCount<=0||!this.isRequired||!this.generatedVisibleRows)return!1;for(var e=0,t=0;tthis.rowCount&&e.splice(this.rowCount);var t=this.getDefaultRowValue(!1);t=t||{};for(var n=e.length;n0){n=!1;break}return n?null:e},t.prototype.getRowValueByIndex=function(e,t){return Array.isArray(e)&&t>=0&&t5||this.setPropertyValue("colCount",e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"itemSize",{get:function(){return this.getPropertyValue("itemSize")},set:function(e){this.setPropertyValue("itemSize",e)},enumerable:!1,configurable:!0}),t.prototype.getRows=function(){for(var e=this.colCount,t=this.items,n=[],r=0,o=0;o=e&&(r=0);return n},t.prototype.onValueChanged=function(){e.prototype.onValueChanged.call(this),this.onItemValueChanged()},t.prototype.createTextItem=function(e,t){return new c(e,t)},t.prototype.onItemValueChanged=function(){if(!this.isMultipleItemValueChanging)for(var e=0;e0&&(t=t.concat(r))}return t},t.prototype.clearErrors=function(){e.prototype.clearErrors.call(this);for(var t=0;t-1?this.data.getSharedQuestionFromArray(t,r):null},t.prototype.onCustomProcessText=function(e){if(e.name==v.IndexVariableName){var n=this.panelIndex;if(n>-1)return e.isExists=!0,e.value=n+1,!0}if(0==e.name.indexOf(v.ParentItemVariableName+".")){var r=this.data;if(r&&r.parentQuestion&&r.parent){var o=r.parent.data,i=new t(r.parentQuestion,o,v.ItemVariableName),s=e.name.replace(v.ParentItemVariableName,v.ItemVariableName),a=i.processValue(s,e.returnDisplayValue);e.isExists=a.isExists,e.value=a.value}return!0}return!1},t}(s["QuestionTextProcessor"]),v=function(){function e(t,n){this.data=t,this.panelValue=n,this.textPreProcessor=new m(t,this,e.ItemVariableName),this.setSurveyImpl()}return Object.defineProperty(e.prototype,"panel",{get:function(){return this.panelValue},enumerable:!1,configurable:!0}),e.prototype.setSurveyImpl=function(){this.panel.setSurveyImpl(this)},e.prototype.getValue=function(e){var t=this.getAllValues();return t[e]},e.prototype.setValue=function(e,t){this.data.setPanelItemData(this,e,t)},e.prototype.getVariable=function(e){},e.prototype.setVariable=function(e,t){},e.prototype.getComment=function(e){var t=this.getValue(e+d["settings"].commentPrefix);return t||""},e.prototype.setComment=function(e,t,n){this.setValue(e+d["settings"].commentPrefix,t)},e.prototype.getAllValues=function(){return this.data.getPanelItemData(this)},e.prototype.getFilteredValues=function(){var t={},n=this.data&&this.data.getRootData()?this.data.getRootData().getFilteredValues():{};for(var r in n)t[r]=n[r];return t[e.ItemVariableName]=this.getAllValues(),this.data&&(t[e.IndexVariableName.toLowerCase()]=this.data.getItemIndex(this)),t},e.prototype.getFilteredProperties=function(){return this.data&&this.data.getRootData()?this.data.getRootData().getFilteredProperties():{survey:this.getSurvey()}},e.prototype.getSurveyData=function(){return this},e.prototype.getSurvey=function(){return this.data?this.data.getSurvey():null},e.prototype.getTextProcessor=function(){return this.textPreProcessor},e.ItemVariableName="panel",e.ParentItemVariableName="parentPanel",e.IndexVariableName="panelIndex",e}(),g=function(){function e(e){this.data=e}return e.prototype.getSurveyData=function(){return null},e.prototype.getSurvey=function(){return this.data.getSurvey()},e.prototype.getTextProcessor=function(){return null},e}(),y=function(e){function t(t){var n=e.call(this,t)||this;n.loadingPanelCount=0,n.currentIndexValue=-1,n.isAddingNewPanels=!1,n.createNewArray("panels"),n.templateValue=n.createAndSetupNewPanelObject(),n.template.renderWidth="100%",n.template.selectedElementInDesign=n;var r=n;return n.template.addElementCallback=function(e){r.addOnPropertyChangedCallback(e),r.rebuildPanels()},n.template.removeElementCallback=function(e){r.rebuildPanels()},n.createLocalizableString("confirmDeleteText",n),n.createLocalizableString("keyDuplicationError",n),n.createLocalizableString("panelAddText",n),n.createLocalizableString("panelRemoveText",n),n.createLocalizableString("panelPrevText",n),n.createLocalizableString("panelNextText",n),n.registerFunctionOnPropertyValueChanged("panelsState",(function(){r.setPanelsState()})),n}return h(t,e),Object.defineProperty(t.prototype,"hasSingleInput",{get:function(){return!1},enumerable:!1,configurable:!0}),t.prototype.setSurveyImpl=function(t){e.prototype.setSurveyImpl.call(this,t),this.setTemplatePanelSurveyImpl(),this.setPanelsSurveyImpl()},t.prototype.assignOnPropertyChangedToTemplate=function(){for(var e=this.template.elements,t=0;t0&&(this.currentIndexValue=0),this.currentIndexValue>=this.panelCount&&(this.currentIndexValue=this.panelCount-1),this.currentIndexValue)},set:function(e){this.currentIndexValue!==e&&(e>=this.panelCount&&(e=this.panelCount-1),this.currentIndexValue=e,this.fireCallback(this.currentIndexChangedCallback))},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"currentPanel",{get:function(){var e=this.currentIndex;return e<0||e>=this.panels.length?null:this.panels[e]},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"confirmDelete",{get:function(){return this.getPropertyValue("confirmDelete",!1)},set:function(e){this.setPropertyValue("confirmDelete",e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"keyName",{get:function(){return this.getPropertyValue("keyName","")},set:function(e){this.setPropertyValue("keyName",e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"confirmDeleteText",{get:function(){return this.getLocalizableStringText("confirmDeleteText",i["surveyLocalization"].getString("confirmDelete"))},set:function(e){this.setLocalizableStringText("confirmDeleteText",e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"locConfirmDeleteText",{get:function(){return this.getLocalizableString("confirmDeleteText")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"keyDuplicationError",{get:function(){return this.getLocalizableStringText("keyDuplicationError",i["surveyLocalization"].getString("keyDuplicationError"))},set:function(e){this.setLocalizableStringText("keyDuplicationError",e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"locKeyDuplicationError",{get:function(){return this.getLocalizableString("keyDuplicationError")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"panelPrevText",{get:function(){return this.getLocalizableStringText("panelPrevText",i["surveyLocalization"].getString("pagePrevText"))},set:function(e){this.setLocalizableStringText("panelPrevText",e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"locPanelPrevText",{get:function(){return this.getLocalizableString("panelPrevText")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"panelNextText",{get:function(){return this.getLocalizableStringText("panelNextText",i["surveyLocalization"].getString("pageNextText"))},set:function(e){this.setLocalizableStringText("panelNextText",e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"locPanelNextText",{get:function(){return this.getLocalizableString("panelNextText")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"panelAddText",{get:function(){return this.getLocalizableStringText("panelAddText",i["surveyLocalization"].getString("addPanel"))},set:function(e){this.setLocalizableStringText("panelAddText",e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"locPanelAddText",{get:function(){return this.getLocalizableString("panelAddText")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"panelRemoveText",{get:function(){return this.getLocalizableStringText("panelRemoveText",i["surveyLocalization"].getString("removePanel"))},set:function(e){this.setLocalizableStringText("panelRemoveText",e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"locPanelRemoveText",{get:function(){return this.getLocalizableString("panelRemoveText")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isProgressTopShowing",{get:function(){return"progressTop"==this.renderMode||"progressTopBottom"==this.renderMode},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isProgressBottomShowing",{get:function(){return"progressBottom"==this.renderMode||"progressTopBottom"==this.renderMode},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isPrevButtonShowing",{get:function(){return this.currentIndex>0},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isNextButtonShowing",{get:function(){return this.currentIndex>=0&&this.currentIndex=0&&this.panelCount>1},enumerable:!1,configurable:!0}),t.prototype.getElementsInDesign=function(e){return void 0===e&&(e=!1),e?[this.template]:this.templateElements},t.prototype.prepareValueForPanelCreating=function(){this.addingNewPanelsValue=this.value,this.isAddingNewPanels=!0,this.isNewPanelsValueChanged=!1},t.prototype.setValueAfterPanelsCreating=function(){this.isAddingNewPanels=!1,this.isNewPanelsValueChanged&&(this.isValueChangingInternally=!0,this.value=this.addingNewPanelsValue,this.isValueChangingInternally=!1)},t.prototype.getValueCore=function(){return this.isAddingNewPanels?this.addingNewPanelsValue:e.prototype.getValueCore.call(this)},t.prototype.setValueCore=function(t){this.isAddingNewPanels?(this.isNewPanelsValueChanged=!0,this.addingNewPanelsValue=t):e.prototype.setValueCore.call(this,t)},Object.defineProperty(t.prototype,"panelCount",{get:function(){return this.isLoadingFromJson||this.isDesignMode?this.loadingPanelCount:this.panels.length},set:function(e){if(!(e<0))if(this.isLoadingFromJson||this.isDesignMode)this.loadingPanelCount=e;else if(e!=this.panels.length&&!this.isDesignMode){this.updateBindings("panelCount",e),this.prepareValueForPanelCreating();for(var t=this.panelCount;tthis.panelCount&&e.splice(this.panelCount,e.length-this.panelCount),this.isValueChangingInternally=!0,this.value=e,this.isValueChangingInternally=!1}},Object.defineProperty(t.prototype,"minPanelCount",{get:function(){return this.getPropertyValue("minPanelCount",0)},set:function(e){e<0&&(e=0),e!=this.minPanelCount&&(this.setPropertyValue("minPanelCount",e),e>this.maxPanelCount&&(this.maxPanelCount=e),this.panelCountd["settings"].panelMaximumPanelCount&&(e=d["settings"].panelMaximumPanelCount),e!=this.maxPanelCount&&(this.setPropertyValue("maxPanelCount",e),ee&&(this.panelCount=e)))},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"allowAddPanel",{get:function(){return this.getPropertyValue("allowAddPanel")},set:function(e){this.setPropertyValue("allowAddPanel",e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"allowRemovePanel",{get:function(){return this.getPropertyValue("allowRemovePanel")},set:function(e){this.setPropertyValue("allowRemovePanel",e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"templateTitleLocation",{get:function(){return this.getPropertyValue("templateTitleLocation")},set:function(e){this.setPropertyValue("templateTitleLocation",e.toLowerCase())},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"showQuestionNumbers",{get:function(){return this.getPropertyValue("showQuestionNumbers")},set:function(e){this.setPropertyValue("showQuestionNumbers",e),!this.isLoadingFromJson&&this.survey&&this.survey.questionVisibilityChanged(this,this.visible)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"panelRemoveButtonLocation",{get:function(){return this.getPropertyValue("panelRemoveButtonLocation")},set:function(e){this.setPropertyValue("panelRemoveButtonLocation",e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"showRangeInProgress",{get:function(){return this.getPropertyValue("showRangeInProgress",!0)},set:function(e){this.setPropertyValue("showRangeInProgress",e),this.fireCallback(this.currentIndexChangedCallback)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"renderMode",{get:function(){return this.getPropertyValue("renderMode")},set:function(e){this.setPropertyValue("renderMode",e),this.fireCallback(this.renderModeChangedCallback)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isRenderModeList",{get:function(){return"list"==this.renderMode},enumerable:!1,configurable:!0}),t.prototype.setVisibleIndex=function(t){if(!this.isVisible)return 0;for(var n="onSurvey"==this.showQuestionNumbers?t:0,r=0;rthis.minPanelCount)},enumerable:!1,configurable:!0}),t.prototype.rebuildPanels=function(){var e;if(!this.isLoadingFromJson){this.prepareValueForPanelCreating();var t=[];if(this.isDesignMode)new v(this,this.template),t.push(this.template);else for(var n=0;n1&&e.length==this.panelCount&&(t=!0,this.copyValue(e[e.length-1],e[e.length-2])),t&&(this.value=e),this.survey&&this.survey.dynamicPanelAdded(this),this.panels[this.panelCount-1]},t.prototype.copyValue=function(e,t){for(var n in t)e[n]=t[n]},t.prototype.removePanelUI=function(e){this.canRemovePanel&&(this.confirmDelete&&!Object(p["confirmAction"])(this.confirmDeleteText)||this.removePanel(e))},t.prototype.goToNextPanel=function(){"list"!==this.renderMode&&this.currentPanel.hasErrors()||this.currentIndex++},t.prototype.goToPrevPanel=function(){this.currentIndex--},t.prototype.removePanel=function(e){var t=this.getPanelIndex(e);if(!(t<0||t>=this.panelCount)){var n=this.panels[t];this.panels.splice(t,1),this.updateBindings("panelCount",this.panelCount);e=this.value;!e||!Array.isArray(e)||t>=e.length||(this.isValueChangingInternally=!0,e.splice(t,1),this.value=e,this.fireCallback(this.panelCountChangedCallback),this.survey&&this.survey.dynamicPanelRemoved(this,t,n),this.isValueChangingInternally=!1)}},t.prototype.getPanelIndex=function(e){if(r["Helpers"].isNumber(e))return e;for(var t=this.items,n=0;n=this.panelCount?null:this.panels[t].getQuestionByName(e)},t.prototype.clearIncorrectValuesInPanel=function(e){var t=this.panels[e];t.clearIncorrectValues();var n=this.value,r=n&&e-1,r=this.getValueName()+"[0].",o=this.processedTitle+"[0].",i=new Array,s=this.template.questions,a=0;a-1&&(r=n.substr(0,o),n=n.substr(o+1));var i=this.template.getQuestionByName(r);return i?i.getConditionJson(t,n):null},t.prototype.onReadOnlyChanged=function(){var t=this.isReadOnly;this.template.readOnly=t;for(var n=0;n0&&(this.panelCount=this.loadingPanelCount),this.isDesignMode&&this.rebuildPanels(),this.setPanelsSurveyImpl(),this.setPanelsState(),this.assignOnPropertyChangedToTemplate(),e.prototype.onSurveyLoad.call(this)},t.prototype.onFirstRendering=function(){this.template.onFirstRendering();for(var t=0;t0&&(t=t.concat(i))}return t},t.prototype.getDisplayValueCore=function(e,t){var n=this.getUnbindValue(t);if(!n||!Array.isArray(n))return n;for(var r=0;r0&&(t=this.loadingPanelCount),this.panelCount=t}},t.prototype.setQuestionValue=function(t){e.prototype.setQuestionValue.call(this,t,!1),this.setPanelCountBasedOnValue();for(var n=0;n-1?t:this.items.length},t.prototype.getPanelItemData=function(e){var t=this.items,n=t.indexOf(e),r=this.value;return n<0&&Array.isArray(r)&&r.length>t.length&&(n=t.length),n<0||!r||!Array.isArray(r)||r.length<=n?{}:r[n]},t.prototype.setPanelItemData=function(e,t,n){if(!(this.isSetPanelItemData&&this.isSetPanelItemData.indexOf(t)>-1)){this.isSetPanelItemData||(this.isSetPanelItemData=[]),this.isSetPanelItemData.push(t);var r=this.items,o=r.indexOf(e);o<0&&(o=r.length);var i=this.getUnbindValue(this.value);if(i&&Array.isArray(i)||(i=[]),i.length<=o)for(var s=i.length;s<=o;s++)i.push({});if(i[o]||(i[o]={}),this.isValueEmpty(n)?delete i[o][t]:i[o][t]=n,o>=0&&o-1&&this.isSetPanelItemData.splice(o,1)}},t.prototype.getRootData=function(){return this.data},t.prototype.getPlainData=function(t){void 0===t&&(t={includeEmpty:!0});var n=e.prototype.getPlainData.call(this,t);return n&&(n.isNode=!0,n.data=this.panels.map((function(e,n){var r={name:e.name||n,title:e.title||"Panel",value:e.getValue(),displayValue:e.getValue(),getString:function(e){return"object"===typeof e?JSON.stringify(e):e},isNode:!0,data:e.questions.map((function(e){return e.getPlainData(t)})).filter((function(e){return!!e}))};return(t.calculations||[]).forEach((function(t){r[t.propertyName]=e[t.propertyName]})),r}))),n},t.prototype.updateElementCss=function(t){e.prototype.updateElementCss.call(this,t);for(var n=0;nthis.rateMax-this.rateStep&&(e=this.rateMax-this.rateStep),this.setPropertyValue("rateMin",e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"rateMax",{get:function(){return this.getPropertyValue("rateMax")},set:function(e){!this.isLoadingFromJson&&ethis.rateMax-this.rateMin&&(e=this.rateMax-this.rateMin),this.setPropertyValue("rateStep",e)},enumerable:!1,configurable:!0}),t.prototype.getDisplayValueCore=function(e,t){var n=r["ItemValue"].getTextOrHtmlByValue(this.visibleRateValues,t);return n||t},Object.defineProperty(t.prototype,"visibleRateValues",{get:function(){if(this.rateValues.length>0)return this.rateValues;var e=[],t=this.rateMin,n=this.rateStep;while(t<=this.rateMax&&e.length0){var t=r["ItemValue"].getItemByValue(this.rateValues,e);return t?t.value:e}return isNaN(e)?e:parseFloat(e)},t.prototype.setValueFromClick=function(e){this.value===parseFloat(e)?this.clearValue():this.value=e},t}(o["Question"]);i["Serializer"].addClass("rating",[{name:"hasComment:switch",layout:"row"},{name:"commentText",dependsOn:"hasComment",visibleIf:function(e){return e.hasComment},serializationProperty:"locCommentText",layout:"row"},{name:"rateValues:itemvalue[]",baseValue:function(){return l["surveyLocalization"].getString("choices_Item")}},{name:"rateMin:number",default:1},{name:"rateMax:number",default:5},{name:"rateStep:number",default:1,minValue:.1},{name:"minRateDescription",alternativeName:"mininumRateDescription",serializationProperty:"locMinRateDescription"},{name:"maxRateDescription",alternativeName:"maximumRateDescription",serializationProperty:"locMaxRateDescription"}],(function(){return new c("")}),"question"),s["QuestionFactory"].Instance.registerQuestion("rating",(function(e){return new c(e)}))},"./src/question_signaturepad.ts": /*!**************************************!*\ !*** ./src/question_signaturepad.ts ***! \**************************************/ /*! exports provided: QuestionSignaturePadModel */function(e,t,n){"use strict";n.r(t),n.d(t,"QuestionSignaturePadModel",(function(){return p}));var r=n(/*! ./jsonobject */"./src/jsonobject.ts"),o=n(/*! ./question */"./src/question.ts"),i=n(/*! ./surveyStrings */"./src/surveyStrings.ts"),s=n(/*! signature_pad */"./node_modules/signature_pad/dist/signature_pad.mjs"),a=n(/*! ./questionfactory */"./src/questionfactory.ts"),l=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){if("function"!==typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),u=300,c=200;function d(e){var t=e.getContext("2d"),n=window.devicePixelRatio||1,r=t.webkitBackingStorePixelRatio||t.mozBackingStorePixelRatio||t.msBackingStorePixelRatio||t.oBackingStorePixelRatio||t.backingStorePixelRatio||1,o=n/r,i=e.width,s=e.height;e.width=i*o,e.height=s*o,e.style.width=i+"px",e.style.height=s+"px",t.scale(o,o)}var p=function(e){function t(t){return e.call(this,t)||this}return l(t,e),t.prototype.getCssRoot=function(t){var n=e.prototype.getCssRoot.call(this,t);return""+this.width==="300"&&(n+=" "+t.small),n},t.prototype.updateValue=function(){if(this.signaturePad){var e=this.signaturePad.toDataURL(this.dataFormat);this.value=e}},t.prototype.getType=function(){return"signaturepad"},t.prototype.afterRenderQuestionElement=function(t){t&&this.initSignaturePad(t),e.prototype.afterRenderQuestionElement.call(this,t)},t.prototype.beforeDestroyQuestionElement=function(e){e&&this.destroySignaturePad(e)},t.prototype.initSignaturePad=function(e){var t=this,n=e.getElementsByTagName("canvas")[0],r=e.getElementsByTagName("button")[0],o=new s["default"](n,{backgroundColor:"#ffffff"});this.isInputReadOnly&&o.off(),r.onclick=function(){t.value=void 0},this.readOnlyChangedCallback=function(){!t.allowClear||t.isInputReadOnly?(o.off(),r.style.display="none"):(o.on(),r.style.display="block")},o.penColor=this.penColor,o.backgroundColor=this.backgroundColor,o.onBegin=function(){n.focus()},o.onEnd=function(){t.updateValue()};var i=function(){var e=t.value;n.width=t.width||u,n.height=t.height||c,d(n),e?o.fromDataURL(e):o.clear()};this.valueChangedCallback=i,i(),this.readOnlyChangedCallback(),this.signaturePad=o;var a=function(e,t){"width"!==t.name&&"height"!==t.name||i()};this.onPropertyChanged.add(a),this.signaturePad.propertyChangedHandler=a},t.prototype.destroySignaturePad=function(e){this.signaturePad&&(this.onPropertyChanged.remove(this.signaturePad.propertyChangedHandler),this.signaturePad.off()),this.readOnlyChangedCallback=null,this.signaturePad=null},Object.defineProperty(t.prototype,"dataFormat",{get:function(){return this.getPropertyValue("dataFormat","")},set:function(e){this.setPropertyValue("dataFormat",e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"width",{get:function(){return this.getPropertyValue("width",300)},set:function(e){this.setPropertyValue("width",e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"height",{get:function(){return this.getPropertyValue("height",200)},set:function(e){this.setPropertyValue("height",e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"allowClear",{get:function(){return this.getPropertyValue("allowClear",!0)},set:function(e){this.setPropertyValue("allowClear",e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"penColor",{get:function(){return this.getPropertyValue("penColor","#1ab394")},set:function(e){this.setPropertyValue("penColor",e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"backgroundColor",{get:function(){return this.getPropertyValue("backgroundColor","#ffffff")},set:function(e){this.setPropertyValue("backgroundColor",e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"clearButtonCaption",{get:function(){return i["surveyLocalization"].getString("clearCaption")},enumerable:!1,configurable:!0}),t}(o["Question"]);r["Serializer"].addClass("signaturepad",[{name:"width:number",category:"general",default:300},{name:"height:number",category:"general",default:200},{name:"allowClear:boolean",category:"general",default:!0},{name:"penColor:color",category:"general",default:"#1ab394"},{name:"backgroundColor:color",category:"general",default:"#ffffff"},{name:"dataFormat",category:"general",default:"",choices:[{value:"",text:"PNG"},{value:"image/jpeg",text:"JPEG"},{value:"image/svg+xml",text:"SVG"}]},{name:"defaultValue",visible:!1},{name:"correctAnswer",visible:!1}],(function(){return new p("")}),"question"),a["QuestionFactory"].Instance.registerQuestion("signaturepad",(function(e){return new p(e)}))},"./src/question_text.ts": /*!******************************!*\ !*** ./src/question_text.ts ***! \******************************/ /*! exports provided: QuestionTextModel */function(e,t,n){"use strict";n.r(t),n.d(t,"QuestionTextModel",(function(){return h}));var r=n(/*! ./questionfactory */"./src/questionfactory.ts"),o=n(/*! ./jsonobject */"./src/jsonobject.ts"),i=n(/*! ./question */"./src/question.ts"),s=n(/*! ./localizablestring */"./src/localizablestring.ts"),a=n(/*! ./helpers */"./src/helpers.ts"),l=n(/*! ./validator */"./src/validator.ts"),u=n(/*! ./surveyStrings */"./src/surveyStrings.ts"),c=n(/*! ./error */"./src/error.ts"),d=n(/*! ./settings */"./src/settings.ts"),p=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){if("function"!==typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),h=function(e){function t(t){var n=e.call(this,t)||this;return n.createLocalizableString("placeHolder",n),n.createLocalizableString("minErrorText",n,!0),n.createLocalizableString("maxErrorText",n,!0),n.locDataListValue=new s["LocalizableStrings"](n),n.registerFunctionOnPropertiesValueChanged(["min","max","inputType","minValueExpression","maxValueExpression"],(function(){n.setRenderedMinMax()})),n.registerFunctionOnPropertiesValueChanged(["inputType","size"],(function(){n.updateInputSize()})),n}return p(t,e),t.prototype.isTextValue=function(){return["text","number","password"].indexOf(this.inputType)>-1},t.prototype.getType=function(){return"text"},t.prototype.onSurveyLoad=function(){e.prototype.onSurveyLoad.call(this),this.setRenderedMinMax(),this.updateInputSize()},Object.defineProperty(t.prototype,"inputType",{get:function(){return this.getPropertyValue("inputType")},set:function(e){e=e.toLowerCase(),"datetime_local"==e&&(e="datetime-local"),this.setPropertyValue("inputType",e.toLowerCase()),this.isLoadingFromJson||(this.min=void 0,this.max=void 0,this.step=void 0)},enumerable:!1,configurable:!0}),t.prototype.runCondition=function(t,n){e.prototype.runCondition.call(this,t,n),(this.minValueExpression||this.maxValueExpression)&&this.setRenderedMinMax(t,n)},Object.defineProperty(t.prototype,"textUpdateMode",{get:function(){return this.getPropertyValue("textUpdateMode")},set:function(e){this.setPropertyValue("textUpdateMode",e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isSurveyInputTextUpdate",{get:function(){return"default"==this.textUpdateMode?!!this.survey&&this.survey.isUpdateValueTextOnTyping:"onTyping"==this.textUpdateMode},enumerable:!1,configurable:!0}),t.prototype.getValidators=function(){var t=e.prototype.getValidators.call(this);return"email"!==this.inputType||this.validators.some((function(e){return"emailvalidator"===e.getType()}))||t.push(new l["EmailValidator"]),t},t.prototype.isLayoutTypeSupported=function(e){return!0},Object.defineProperty(t.prototype,"maxLength",{get:function(){return this.getPropertyValue("maxLength")},set:function(e){this.setPropertyValue("maxLength",e)},enumerable:!1,configurable:!0}),t.prototype.getMaxLength=function(){return a["Helpers"].getMaxLength(this.maxLength,this.survey?this.survey.maxTextLength:-1)},Object.defineProperty(t.prototype,"size",{get:function(){return this.getPropertyValue("size")},set:function(e){this.setPropertyValue("size",e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isTextInput",{get:function(){return["text","search","tel","url","email","password"].indexOf(this.inputType)>-1},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"inputSize",{get:function(){return this.getPropertyValue("inputSize",0)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"inputWidth",{get:function(){return this.getPropertyValue("inputWidth")},enumerable:!1,configurable:!0}),t.prototype.updateInputSize=function(){var e=this.isTextInput&&this.size>0?this.size:0;this.isTextInput&&e<1&&this.parent&&this.parent["itemSize"]&&(e=this.parent["itemSize"]),this.setPropertyValue("inputSize",e),this.setPropertyValue("inputWidth",e>0?"auto":"")},Object.defineProperty(t.prototype,"autoComplete",{get:function(){return this.getPropertyValue("autoComplete","")},set:function(e){this.setPropertyValue("autoComplete",e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"min",{get:function(){return this.getPropertyValue("min")},set:function(e){this.isValueExpression(e)?this.minValueExpression=e.substr(1):this.setPropertyValue("min",e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"max",{get:function(){return this.getPropertyValue("max")},set:function(e){this.isValueExpression(e)?this.maxValueExpression=e.substr(1):this.setPropertyValue("max",e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"minValueExpression",{get:function(){return this.getPropertyValue("minValueExpression","")},set:function(e){this.setPropertyValue("minValueExpression",e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"maxValueExpression",{get:function(){return this.getPropertyValue("maxValueExpression","")},set:function(e){this.setPropertyValue("maxValueExpression",e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"renderedMin",{get:function(){return this.getPropertyValue("renderedMin")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"renderedMax",{get:function(){return this.getPropertyValue("renderedMax")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"minErrorText",{get:function(){return this.getLocalizableStringText("minErrorText",u["surveyLocalization"].getString("minError"))},set:function(e){this.setLocalizableStringText("minErrorText",e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"locMinErrorText",{get:function(){return this.getLocalizableString("minErrorText")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"maxErrorText",{get:function(){return this.getLocalizableStringText("maxErrorText",u["surveyLocalization"].getString("maxError"))},set:function(e){this.setLocalizableStringText("maxErrorText",e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"locMaxErrorText",{get:function(){return this.getLocalizableString("maxErrorText")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isMinMaxType",{get:function(){return f.indexOf(this.inputType)>-1},enumerable:!1,configurable:!0}),t.prototype.onCheckForErrors=function(t,n){e.prototype.onCheckForErrors.call(this,t,n),n||this.canSetValueToSurvey()||(this.isValueLessMin&&t.push(new c["CustomError"](this.getMinMaxErrorText(this.minErrorText,this.getCalculatedMinMax(this.renderedMin)),this)),this.isValueGreaterMax&&t.push(new c["CustomError"](this.getMinMaxErrorText(this.maxErrorText,this.getCalculatedMinMax(this.renderedMax)),this)))},t.prototype.canSetValueToSurvey=function(){return!this.isMinMaxType||!this.isValueLessMin&&!this.isValueGreaterMax},t.prototype.getMinMaxErrorText=function(e,t){return t?e.replace("{0}",t.toString()):e},Object.defineProperty(t.prototype,"isValueLessMin",{get:function(){return!this.isValueEmpty(this.renderedMin)&&this.getCalculatedMinMax(this.value)this.getCalculatedMinMax(this.renderedMax)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isDateInputType",{get:function(){return"date"===this.inputType||"datetime-local"===this.inputType},enumerable:!1,configurable:!0}),t.prototype.getCalculatedMinMax=function(e){return this.isValueEmpty(e)?e:this.isDateInputType?new Date(e):e},t.prototype.setRenderedMinMax=function(e,t){var n=this;void 0===e&&(e=null),void 0===t&&(t=null),this.setValueAndRunExpression(this.minValueExpression,this.min,(function(e){!e&&n.isDateInputType&&d["settings"].minDate&&(e=d["settings"].minDate),n.setPropertyValue("renderedMin",e)}),e,t),this.setValueAndRunExpression(this.maxValueExpression,this.max,(function(e){!e&&n.isDateInputType&&(e=d["settings"].maxDate?d["settings"].maxDate:"2999-12-31"),n.setPropertyValue("renderedMax",e)}),e,t)},Object.defineProperty(t.prototype,"step",{get:function(){return this.getPropertyValue("step")},set:function(e){this.setPropertyValue("step",e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"renderedStep",{get:function(){return this.isValueEmpty(this.step)?"any":this.step},enumerable:!1,configurable:!0}),t.prototype.isEmpty=function(){return e.prototype.isEmpty.call(this)||""===this.value},t.prototype.supportGoNextPageAutomatic=function(){return["date","datetime","datetime-local"].indexOf(this.inputType)<0},t.prototype.supportGoNextPageError=function(){return["date","datetime","datetime-local"].indexOf(this.inputType)<0},Object.defineProperty(t.prototype,"placeHolder",{get:function(){return this.getLocalizableStringText("placeHolder")},set:function(e){this.setLocalizableStringText("placeHolder",e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"locPlaceHolder",{get:function(){return this.getLocalizableString("placeHolder")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"dataList",{get:function(){return this.locDataList.value},set:function(e){this.locDataList.value=e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"locDataList",{get:function(){return this.locDataListValue},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"dataListId",{get:function(){return this.locDataList.isEmpty?"":this.id+"_datalist"},enumerable:!1,configurable:!0}),t.prototype.canRunValidators=function(e){return this.errors.length>0||!e||this.supportGoNextPageError()},t.prototype.setNewValue=function(t){t=this.correctValueType(t),e.prototype.setNewValue.call(this,t)},t.prototype.correctValueType=function(e){return e&&("number"==this.inputType||"range"==this.inputType)?a["Helpers"].isNumber(e)?parseFloat(e):"":e},t}(i["Question"]),f=["number","range","date","datetime-local","month","time","week"];o["Serializer"].addClass("text",[{name:"inputType",default:"text",choices:["color","date","datetime","datetime-local","email","month","number","password","range","tel","text","time","url","week"]},{name:"size:number",minValue:0,dependsOn:"inputType",visibleIf:function(e){return!!e&&e.isTextInput}},{name:"textUpdateMode",default:"default",choices:["default","onBlur","onTyping"],dependsOn:"inputType",visibleIf:function(e){return!!e&&e.isTextInput}},{name:"autoComplete",dataList:["name","honorific-prefix","given-name","additional-name","family-name","honorific-suffix","nickname","organization-title","username","new-password","current-password","organization","street-address","address-line1","address-line2","address-line3","address-level4","address-level3","address-level2","address-level1","country","country-name","postal-code","cc-name","cc-given-name","cc-additional-name","cc-family-name","cc-number","cc-exp","cc-exp-month","cc-exp-year","cc-csc","cc-type","transaction-currency","transaction-amount","language","bday","bday-day","bday-month","bday-year","sex","url","photo","tel","tel-country-code","tel-national","tel-area-code","tel-local","tel-local-prefix","tel-local-suffix","tel-extension","email","impp"]},{name:"min",dependsOn:"inputType",visibleIf:function(e){return!!e&&e.isMinMaxType},onPropertyEditorUpdate:function(e,t){t.inputType=e.inputType}},{name:"max",dependsOn:"inputType",visibleIf:function(e){return!!e&&e.isMinMaxType},onPropertyEditorUpdate:function(e,t){t.inputType=e.inputType}},{name:"minValueExpression:expression",category:"logic",dependsOn:"inputType",visibleIf:function(e){return!!e&&e.isMinMaxType}},{name:"maxValueExpression:expression",category:"logic",dependsOn:"inputType",visibleIf:function(e){return!!e&&e.isMinMaxType}},{name:"minErrorText",serializationProperty:"locMinErrorText",dependsOn:"inputType",visibleIf:function(e){return!!e&&e.isMinMaxType}},{name:"maxErrorText",serializationProperty:"locMaxErrorText",dependsOn:"inputType",visibleIf:function(e){return!!e&&e.isMinMaxType}},{name:"step:number",dependsOn:"inputType",visibleIf:function(e){return!!e&&"number"===e.inputType}},{name:"maxLength:number",default:-1,dependsOn:"inputType",visibleIf:function(e){return!!e&&e.isTextInput}},{name:"placeHolder",serializationProperty:"locPlaceHolder",dependsOn:"inputType",visibleIf:function(e){return!!e&&e.isTextInput}},{name:"dataList:string[]",serializationProperty:"locDataList",dependsOn:"inputType",visibleIf:function(e){return!!e&&"text"===e.inputType}}],(function(){return new h("")}),"question"),r["QuestionFactory"].Instance.registerQuestion("text",(function(e){return new h(e)}))},"./src/questionfactory.ts": /*!********************************!*\ !*** ./src/questionfactory.ts ***! \********************************/ /*! exports provided: QuestionFactory, ElementFactory */function(e,t,n){"use strict";n.r(t),n.d(t,"QuestionFactory",(function(){return i})),n.d(t,"ElementFactory",(function(){return s}));var r=n(/*! ./surveyStrings */"./src/surveyStrings.ts"),o=n(/*! ./jsonobject */"./src/jsonobject.ts"),i=function(){function e(){this.creatorHash={}}return Object.defineProperty(e,"DefaultChoices",{get:function(){return[r["surveyLocalization"].getString("choices_Item")+"1",r["surveyLocalization"].getString("choices_Item")+"2",r["surveyLocalization"].getString("choices_Item")+"3"]},enumerable:!1,configurable:!0}),Object.defineProperty(e,"DefaultColums",{get:function(){var e=r["surveyLocalization"].getString("matrix_column")+" ";return[e+"1",e+"2",e+"3"]},enumerable:!1,configurable:!0}),Object.defineProperty(e,"DefaultRows",{get:function(){var e=r["surveyLocalization"].getString("matrix_row")+" ";return[e+"1",e+"2"]},enumerable:!1,configurable:!0}),Object.defineProperty(e,"DefaultMutlipleTextItems",{get:function(){var e=r["surveyLocalization"].getString("multipletext_itemname");return[e+"1",e+"2"]},enumerable:!1,configurable:!0}),e.prototype.registerQuestion=function(e,t){this.creatorHash[e]=t},e.prototype.unregisterElement=function(e){delete this.creatorHash[e]},e.prototype.clear=function(){this.creatorHash={}},e.prototype.getAllTypes=function(){var e=new Array;for(var t in this.creatorHash)e.push(t);return e.sort()},e.prototype.createQuestion=function(e,t){var n=this.creatorHash[e];return null==n?null:n(t)},e.Instance=new e,e}(),s=function(){function e(){this.creatorHash={}}return e.prototype.registerElement=function(e,t){this.creatorHash[e]=t},e.prototype.clear=function(){this.creatorHash={}},e.prototype.unregisterElement=function(e,t){void 0===t&&(t=!1),delete this.creatorHash[e],i.Instance.unregisterElement(e),t&&o["Serializer"].removeClass(e)},e.prototype.getAllTypes=function(){var e=i.Instance.getAllTypes();for(var t in this.creatorHash)e.push(t);return e.sort()},e.prototype.createElement=function(e,t){var n=this.creatorHash[e];return null==n?i.Instance.createQuestion(e,t):n(t)},e.Instance=new e,e}()},"./src/questionnonvalue.ts": /*!*********************************!*\ !*** ./src/questionnonvalue.ts ***! \*********************************/ /*! exports provided: QuestionNonValue */function(e,t,n){"use strict";n.r(t),n.d(t,"QuestionNonValue",(function(){return s}));var r=n(/*! ./question */"./src/question.ts"),o=n(/*! ./jsonobject */"./src/jsonobject.ts"),i=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){if("function"!==typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),s=function(e){function t(t){return e.call(this,t)||this}return i(t,e),t.prototype.getType=function(){return"nonvalue"},Object.defineProperty(t.prototype,"hasInput",{get:function(){return!1},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"hasTitle",{get:function(){return!1},enumerable:!1,configurable:!0}),t.prototype.getTitleLocation=function(){return""},Object.defineProperty(t.prototype,"hasComment",{get:function(){return!1},enumerable:!1,configurable:!0}),t.prototype.hasErrors=function(e,t){return void 0===e&&(e=!0),void 0===t&&(t=null),!1},t.prototype.getAllErrors=function(){return[]},t.prototype.supportGoNextPageAutomatic=function(){return!1},t.prototype.addConditionObjectsByContext=function(e,t){},t.prototype.getConditionJson=function(e,t){return void 0===e&&(e=null),void 0===t&&(t=null),null},t}(r["Question"]);o["Serializer"].addClass("nonvalue",[{name:"title",visible:!1},{name:"description",visible:!1},{name:"valueName",visible:!1},{name:"enableIf",visible:!1},{name:"defaultValue",visible:!1},{name:"correctAnswer",visible:!1},{name:"isRequired",visible:!1,isSerializable:!1},{name:"requiredErrorText",visible:!1},{name:"readOnly",visible:!1},{name:"requiredIf",visible:!1},{name:"validators",visible:!1},{name:"titleLocation",visible:!1},{name:"useDisplayValuesInTitle",visible:!1}],(function(){return new s("")}),"question")},"./src/rendererFactory.ts": /*!********************************!*\ !*** ./src/rendererFactory.ts ***! \********************************/ /*! exports provided: RendererFactory */function(e,t,n){"use strict";n.r(t),n.d(t,"RendererFactory",(function(){return r}));var r=function(){function e(){this.renderersHash={}}return e.prototype.unregisterRenderer=function(e,t){delete this.renderersHash[e][t]},e.prototype.registerRenderer=function(e,t,n){this.renderersHash[e]||(this.renderersHash[e]={}),this.renderersHash[e][t]=n},e.prototype.getRenderer=function(e,t){return this.renderersHash[e]&&this.renderersHash[e][t]||"default"},e.prototype.getRendererByQuestion=function(e){return this.getRenderer(e.getType(),e.renderAs)},e.Instance=new e,e}()},"./src/settings.ts": /*!*************************!*\ !*** ./src/settings.ts ***! \*************************/ /*! exports provided: settings */function(e,t,n){"use strict";n.r(t),n.d(t,"settings",(function(){return r}));var r={commentPrefix:"-Comment",webserviceEncodeParameters:!0,useCachingForChoicesRestful:!0,get useCachingForChoicesRestfull(){return r.useCachingForChoicesRestful},set useCachingForChoicesRestfull(e){r.useCachingForChoicesRestful=e},surveyServiceUrl:"https://api.surveyjs.io/public/v1/Survey",itemValueSeparator:"|",defaultLocaleName:"default",matrixDefaultRowName:"default",matrixDefaultCellType:"dropdown",matrixTotalValuePostFix:"-total",matrixMaximumRowCount:1e3,matrixMaxRowCountInCondition:1,panelMaximumPanelCount:100,ratingMaximumRateValueCount:20,disableOnGettingChoicesFromWeb:!1,serializeLocalizableStringAsObject:!1,allowShowEmptyTitleInDesignMode:!0,allowShowEmptyDescriptionInDesignMode:!0,executeCompleteTriggerOnValueChanged:!1,executeSkipTriggerOnValueChanged:!0,readOnlyCommentRenderMode:"textarea",confirmActionFunc:function(e){return confirm(e)},minWidth:"300px",maxWidth:"initial",maximumConditionRunCountOnValueChanged:10,setQuestionVisibleIndexForHiddenTitle:!1,setQuestionVisibleIndexForHiddenNumber:!1,lazyRowsRendering:!1,showItemsInOrder:"default",supportedValidators:{question:["expression"],comment:["text","regex"],text:["numeric","text","regex","email"],checkbox:["answercount"]},minDate:"",maxDate:"",showModal:void 0,supportCreatorV2:!1}},"./src/stylesmanager.ts": /*!******************************!*\ !*** ./src/stylesmanager.ts ***! \******************************/ /*! exports provided: StylesManager */function(e,t,n){"use strict";n.r(t),n.d(t,"StylesManager",(function(){return o}));var r=n(/*! ./defaultCss/cssstandard */"./src/defaultCss/cssstandard.ts"),o=function(){function e(){this.sheet=null,e.Enabled&&(this.sheet=e.findSheet(e.SurveyJSStylesSheetId),this.sheet||(this.sheet=e.createSheet(e.SurveyJSStylesSheetId),this.initializeStyles(this.sheet)))}return e.findSheet=function(e){if("undefined"===typeof document)return null;for(var t=0;t label img":"pointer-events: none;",".sv_qstn .sv_q_imgsel.sv_q_imagepicker_inline":"display: inline-block;",".sv_qstn label.sv_q_m_label":"position: absolute; margin: 0; display: block; width: 100%;",".sv_qstn td":"position: relative;",".sv_q_mt_item_value":"float: left;",'[dir="rtl"] .sv_q_mt_item_value':"float: right;",".sv_qstn.sv_qstn_left":"margin-top: 0.75em;",".sv_qstn .title-left":"float: left; margin-right: 1em;",'[dir="rtl"] .sv_qstn .title-left':"float: right; margin-left: 1em;",".sv_qstn .content-left":"overflow: hidden",".sv_q_radiogroup_inline .sv_q_radiogroup_other":"display: inline-block;",".sv_q_checkbox_inline .sv_q_checkbox_other":"display: inline-block;",".sv_q_checkbox_inline, .sv_q_radiogroup_inline, .sv_q_imagepicker_inline":"line-height: 2.5em;",".form-inline .sv_q_checkbox_inline:not(:last-child)":"margin-right: 1em;",".form-inline .sv_q_radiogroup_inline:not(:last-child)":"margin-right: 1em;",".sv_imgsel .sv_q_imagepicker_inline:not(:last-child)":"margin-right: 1em;",".sv_qstn fieldset":"border: none; margin: 0; padding: 0;",".sv_qstn .sv_q_file_placeholder":"display:none",".sv_p_title":"padding-left: 1em; padding-bottom: 0.3em;",".sv_p_title_expandable":"cursor: pointer;",".sv_q_title_expandable":"cursor: pointer;",".sv_p_title .sv_panel_icon":"float: right; margin-right: 1em;",".sv_p_title .sv_panel_icon::before":"content: ''; background-repeat: no-repeat; background-position: center; padding: 0.5em; display: inline-block; background-image: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4NCjwhLS0gR2VuZXJhdG9yOiBBZG9iZSBJbGx1c3RyYXRvciAyMi4wLjEsIFNWRyBFeHBvcnQgUGx1Zy1JbiAuIFNWRyBWZXJzaW9uOiA2LjAwIEJ1aWxkIDApICAtLT4NCjxzdmcgdmVyc2lvbj0iMS4xIiBpZD0iTGF5ZXJfMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgeD0iMHB4IiB5PSIwcHgiDQoJIHZpZXdCb3g9IjAgMCAxMCAxMCIgc3R5bGU9ImVuYWJsZS1iYWNrZ3JvdW5kOm5ldyAwIDAgMTAgMTA7IiB4bWw6c3BhY2U9InByZXNlcnZlIj4NCjxzdHlsZSB0eXBlPSJ0ZXh0L2NzcyI+DQoJLnN0MHtmaWxsOiM2RDcwNzI7fQ0KPC9zdHlsZT4NCjxwb2x5Z29uIGNsYXNzPSJzdDAiIHBvaW50cz0iMiwyIDAsNCA1LDkgMTAsNCA4LDIgNSw1ICIvPg0KPC9zdmc+DQo=);",".sv_p_title .sv_panel_icon.sv_expanded::before":"transform: rotate(180deg);",".sv_p_footer":"padding-left: 1em; padding-bottom: 1em;padding-top: 1em;",".sv_matrix_cell_detail_button":"position: relative",".sv_detail_panel_icon":"display: block; position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 14px; height: 14px;",".sv_detail_panel_icon::before":"content: ''; background-repeat: no-repeat; background-position: center; width: 14px; height: 14px; display: block; transform: rotate(270deg); background-image: url(\"data:image/svg+xml,%3C%3Fxml version='1.0' encoding='utf-8'%3F%3E%3C!-- Generator: Adobe Illustrator 21.1.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) --%3E%3Csvg version='1.1' id='Layer_1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' viewBox='0 0 15 15' style='enable-background:new 0 0 15 15;' xml:space='preserve'%3E%3Cstyle type='text/css'%3E .st0%7Bfill:%23FFFFFF;%7D%0A%3C/style%3E%3Cpolygon class='st0' points='14,5.5 12.6,4.1 7.5,9.1 2.4,4.1 1,5.5 7.5,12 '/%3E%3C/svg%3E%0A\");",".sv_detail_panel_icon.sv_detail_expanded::before":"transform: rotate(0deg)",".sv_matrix_empty_rows_section":"text-align: center; vertical-align: middle;",".sv_matrix_empty_rows_text":"padding:20px",".sv_q_file > input[type=file], .sv_q_file > button":"display: inline-block;",".sv_q_file_preview":"display: inline-block; vertical-align: top; border: 1px solid lightgray; padding: 5px; margin-top: 10px;",".sv_q_file_preview > a":"display: block; overflow: hidden; vertical-align: top; white-space: nowrap; text-overflow: ellipsis;",".sv_q_file_remove_button":"line-height: normal;",".sv_q_file_remove":"display: block; cursor: pointer;",".sv_q_m_cell_text":"cursor: pointer;",".sv_q_dd_other":"margin-top: 1em;",".sv_q_dd_other input":"width: 100%;",".sv_qstn .sv-q-col-1, .sv-question .sv-q-col-1":"width: 100%; display: inline-block; padding-right: 1em; box-sizing: border-box; word-break: break-word;",".sv_qstn .sv-q-col-2, .sv-question .sv-q-col-2":"width: calc(50% - 1em); display: inline-block; padding-right: 1em; box-sizing: border-box; word-break: break-word;",".sv_qstn .sv-q-col-3, .sv-question .sv-q-col-3":"width: calc(33.33333% - 1em); display: inline-block; padding-right: 1em; box-sizing: border-box; word-break: break-word;",".sv_qstn .sv-q-col-4, .sv-question .sv-q-col-4":"width: calc(25% - 1em); display: inline-block; padding-right: 1em; box-sizing: border-box; word-break: break-word;",".sv_qstn .sv-q-col-5, .sv-question .sv-q-col-5":"width: calc(20% - 1em); display: inline-block; padding-right: 1em; box-sizing: border-box; word-break: break-word;",".sv_qstn .sv-q-column-1, .sv-question .sv-q-column-1":"width: 100%; max-width: 100%; display: inline-block; padding-right: 1em; box-sizing: border-box; word-break: break-word;",".sv_qstn .sv-q-column-2, .sv-question .sv-q-column-2":"max-width: 50%; display: inline-block; padding-right: 1em; box-sizing: border-box; word-break: break-word;",".sv_qstn .sv-q-column-3, .sv-question .sv-q-column-3":"max-width: 33.33333%; display: inline-block; padding-right: 1em; box-sizing: border-box; word-break: break-word;",".sv_qstn .sv-q-column-4, .sv-question .sv-q-column-4":"max-width: 25%; display: inline-block; padding-right: 1em; box-sizing: border-box; word-break: break-word;",".sv_qstn .sv-q-column-5, .sv-question .sv-q-column-5":"max-width: 20%; display: inline-block; padding-right: 1em; box-sizing: border-box; word-break: break-word;",".sv_qstn .sv_q_file_input":"color: transparent;",".sv_qstn .sv_q_imgsel label > div":"overflow: hidden; white-space: nowrap; text-overflow: ellipsis; padding: 4px; border: 1px solid lightgray; border-radius: 4px;",".sv_qstn .sv_q_imgsel label > div > img, .sv_qstn .sv_q_imgsel label > div > embed":"display: block;",".sv_qstn table tr td .sv_q_m_cell_label":"position: absolute; left: 0; right: 0; top: 0; bottom: 0;","f-panel":"padding: 0.5em 1em; display: inline-block; line-height: 2em;",".sv_progress_bar > span":"white-space: nowrap;",".sv_progress-buttons__container-center":"text-align: center;",".sv_progress-buttons__container":"display: inline-block; font-size:0; width: 100%; max-width: 1100px; white-space: nowrap; overflow: hidden;",".sv_progress-buttons__image-button-left":"display: inline-block; vertical-align: top; margin-top: 22px; font-size: 14px; width: 16px; height: 16px; cursor: pointer; background-image: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4NCjwhLS0gR2VuZXJhdG9yOiBBZG9iZSBJbGx1c3RyYXRvciAyMi4wLjEsIFNWRyBFeHBvcnQgUGx1Zy1JbiAuIFNWRyBWZXJzaW9uOiA2LjAwIEJ1aWxkIDApICAtLT4NCjxzdmcgdmVyc2lvbj0iMS4xIiBpZD0iTGF5ZXJfMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgeD0iMHB4IiB5PSIwcHgiDQoJIHZpZXdCb3g9IjAgMCAxNiAxNiIgc3R5bGU9ImVuYWJsZS1iYWNrZ3JvdW5kOm5ldyAwIDAgMTYgMTY7IiB4bWw6c3BhY2U9InByZXNlcnZlIj4NCjxwb2x5Z29uIHBvaW50cz0iMTEsMTIgOSwxNCAzLDggOSwyIDExLDQgNyw4ICIvPg0KPC9zdmc+DQo=);",".sv_progress-buttons__image-button-right":"display: inline-block; vertical-align: top; margin-top: 22px; font-size: 14px; width: 16px; height: 16px; cursor: pointer; background-image: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4NCjwhLS0gR2VuZXJhdG9yOiBBZG9iZSBJbGx1c3RyYXRvciAyMi4wLjEsIFNWRyBFeHBvcnQgUGx1Zy1JbiAuIFNWRyBWZXJzaW9uOiA2LjAwIEJ1aWxkIDApICAtLT4NCjxzdmcgdmVyc2lvbj0iMS4xIiBpZD0iTGF5ZXJfMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgeD0iMHB4IiB5PSIwcHgiDQoJIHZpZXdCb3g9IjAgMCAxNiAxNiIgc3R5bGU9ImVuYWJsZS1iYWNrZ3JvdW5kOm5ldyAwIDAgMTYgMTY7IiB4bWw6c3BhY2U9InByZXNlcnZlIj4NCjxwb2x5Z29uIHBvaW50cz0iNSw0IDcsMiAxMyw4IDcsMTQgNSwxMiA5LDggIi8+DQo8L3N2Zz4NCg==);",".sv_progress-buttons__image-button--hidden":"visibility: hidden;",".sv_progress-buttons__list-container":"max-width: calc(100% - 36px); display: inline-block; overflow: hidden;",".sv_progress-buttons__list":"display: inline-block; width: max-content; padding-left: 28px; padding-right: 28px; margin-top: 14px; margin-bottom: 14px;",".sv_progress-buttons__list li":"width: 138px; font-size: 14px; font-family: 'Segoe UI', 'Helvetica Neue', Helvetica, Arial, sans-serif; position: relative; text-align: center; vertical-align: top; display: inline-block;",".sv_progress-buttons__list li:before":"width: 24px; height: 24px; content: ''; line-height: 30px; border: 3px solid #8dd9ca; display: block; margin: 0 auto 10px auto; border-radius: 50%; box-sizing: content-box; background-color: #8dd9ca; cursor: pointer;",".sv_progress-buttons__list li:after":"width: 73%; height: 3px; content: ''; position: absolute; background-color: #d4d4d4; top: 15px; left: -36.5%;",".sv_progress-buttons__list li:first-child:after":"content: none;",".sv_progress-buttons__list .sv_progress-buttons__page-title":"width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: $text-color; font-weight: bold;",".sv_progress-buttons__list .sv_progress-buttons__page-description":"width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: $text-color;",".sv_progress-buttons__list li.sv_progress-buttons__list-element--passed:before":"border-color: #1ab394; background-color: #1ab394;",".sv_progress-buttons__list li.sv_progress-buttons__list-element--passed + li:after":"background-color: #8dd9ca;",".sv_progress-buttons__list li.sv_progress-buttons__list-element--current:before":"border-color: #1ab394; background-color: white;",".sv_progress-buttons__list li.sv_progress-buttons__list-element--passed.sv_progress-buttons__list-element--current:before":"border-color: #1ab394; background-color: white;",".sv_progress-buttons__list li.sv_progress-buttons__list-element--nonclickable:before":"cursor: not-allowed;",".sv-ranking":"outline: none;",".sv-ranking-item":"cursor: pointer; margin-bottom: 5px;position: relative;",".sv-ranking-item:focus .sv-ranking-item__icon--hover":"visibility: hidden;",".sv-ranking-item:hover .sv-ranking-item__icon--hover":"visibility: visible;",".sv-question--disabled .sv-ranking-item:hover .sv-ranking-item__icon--hover":"visibility: hidden;",".sv-ranking-item:focus":"outline: none;",".sv-ranking-item:focus .sv-ranking-item__icon--focus":"visibility: visible; top: 15px;",".sv-ranking-item:focus .sv-ranking-item__index":"background: white; border: 2px solid #19b394;",".sv-ranking-item__content":"display: inline-block;background-color: white;padding-top: 5px;padding-bottom: 5px;padding-left: 35px;padding-right: 10px; border-radius: 100px;",".sv-ranking-item__icon-container":"position: absolute;left: 0;top: 0;bottom: 0;width: 35px;",".sv-ranking-item__icon":"visibility: hidden;left:10px;top:20px;fill:#19b394;position: absolute;",".sv-ranking-item__index":"display: inline-block;padding: 10px 16px;background: rgba(25, 179, 148, 0.1);border-radius: 100px;border: 2px solid transparent; margin-right: 10px;",".sv-ranking-item__text":"display: inline-block;",".sv-ranking-item__ghost":"display: none;background: #f3f3f3;border-radius: 100px;width: 200px;height: 55px;z-index: 1;position: absolute;left: 35px;",".sv-ranking-item--ghost .sv-ranking-item__ghost":"display: block;",".sv-ranking-item--ghost .sv-ranking-item__content":"visibility: hidden;",".sv-ranking-item--drag .sv-ranking-item__content":"box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.1);border-radius: 100px;",".sv-ranking--drag .sv-ranking-item:hover .sv-ranking-item__icon":"visibility: hidden;",".sv-ranking-item--drag .sv-ranking-item__icon--hover":"visibility: visible;",".sv-ranking--mobile .sv-ranking-item__icon--hover":"visibility:visible; fill:#9f9f9f;",".sv-ranking--mobile.sv-ranking--drag .sv-ranking-item--ghost .sv-ranking-item__icon.sv-ranking-item__icon--hover":"visibility:hidden;",".sv_qstn .sv_q_select_column":"display: inline-block; vertical-align: top; min-width: 10%;",".sv_qstn .sv_q_select_column > *:not(.sv_technical)":"display: block;",".sv_main .sv_container .sv_body .sv_p_root .sv_qstn .sv_q_select_column textarea":"margin-left: 0; padding-left: 0; line-height: initial;",".sv_main .sv-hidden":"display: none !important;",".sv_main .sv-visuallyhidden":"position: absolute; height: 1px !important; width: 1px !important; overflow: hidden; clip: rect(1px 1px 1px 1px); clip: rect(1px, 1px, 1px, 1px);",".sv_main .sv-progress":"height: 0.19em; background-color: $header-background-color; position: relative;",".sv_main .sv-progress__bar":"background-color: $main-color; height: 100%; position: relative;",".sv_main .sv-paneldynamic__progress-container":"position: relative; display: inline-block; width: calc(100% - 250px); margin-top: 20px;",".sv_main .sv-paneldynamic__add-btn":"float: right;",".sv_main .sv-paneldynamic__add-btn--list-mode":"float: none; margin-top: 0;",".sv_main .sv-paneldynamic__remove-btn":"margin-top: 1.25em;",".sv_main .sv-paneldynamic__remove-btn--right":"margin-top: 0; margin-left: 1.25em;",".sv_main .sv-paneldynamic__prev-btn, .sv_main .sv-paneldynamic__next-btn":"box-sizing: border-box; display: inline-block; cursor: pointer; width: 0.7em; top: -0.28em; position: absolute;",".sv_main .sv-paneldynamic__prev-btn":"left: -1.3em; transform: rotate(90deg);",".sv_main .sv-paneldynamic__next-btn ":"right: -1.3em; transform: rotate(270deg);",".sv_main .sv-paneldynamic__prev-btn.sv-paneldynamic__prev-btn--disabled, .sv_main .sv-paneldynamic__next-btn.sv-paneldynamic__next-btn--disabled":"cursor: auto;",".sv_main .sv-paneldynamic__progress-text":"font-weight: bold; font-size: 0.87em; margin-top: 0.69em; margin-left: 4em",".sv_main .sv-boolean__switch":"display: inline-block; box-sizing: border-box; width: 63px; height: 24px; margin-right: 17px; margin-left: 21px; padding: 2px 3px; vertical-align: middle; border-radius: 12px; cursor: pointer;",".sv_main .sv-boolean__slider":"display: inline-block; width: 20px; height: 20px; transition-duration: .4s; transition-property: margin-left; border: none; border-radius: 100%;",".sv_main .sv-boolean__label":"vertical-align: middle; cursor: pointer;",".sv_main .sv-boolean--indeterminate .sv-boolean__slider":"margin-left: calc(50% - 10px);",".sv_main .sv-boolean--checked .sv-boolean__slider":"margin-left: calc(100% - 20px);","[dir='rtl'] .sv-boolean__label ":"float: right;","[dir='rtl'] .sv-boolean--indeterminate .sv-boolean__slider":"margin-right: calc(50% - 0.625em);","[dir='rtl'] .sv-boolean--checked .sv-boolean__slider":"margin-right: calc(100% - 1.25em);","[dir='rtl'] .sv-boolean__switch":"float: right;","[style*='direction:rtl'] .sv-boolean__label ":"float: right;","[style*='direction:rtl'] .sv-boolean--indeterminate .sv-boolean__slider":"margin-right: calc(50% - 0.625em);","[style*='direction:rtl'] .sv-boolean--checked .sv-boolean__slider":"margin-right: calc(100% - 1.25em);","[style*='direction:rtl'] .sv-boolean__switch":"float: right;",".sv_main .sv_q_num":"",".sv_main .sv_q_num + span":"",".sv_main .sjs_sp_container":"position: relative;",".sv_main .sjs_sp_controls":"position: absolute; left: 0; bottom: 0;",".sv_main .sjs_sp_controls > button":"user-select: none;",".sv_main .sjs_sp_container>div>canvas:focus":"outline: none;",".sv_main .sv_logo":"",".sv_main .sv-logo--left":"display: inline-block; vertical-align: top; margin-right: 2em;",".sv_main .sv-logo--right":"display: inline-block; vertical-align: top; margin-left: 2em; float: right;",".sv_main .sv-logo--right+.sv-logo--right-tail":"clear: both;",".sv_main .sv-logo--top":"display: block; width: 100%; text-align: center;",".sv_main .sv-logo--bottom":"display: block; width: 100%; text-align: center;",".sv_main .sv_header__text":"display: inline-block; vertical-align: top; max-width: 100%",".sv_main .sv-expand-action:before":"content: \"\"; display: inline-block; background-image: url(\"data:image/svg+xml,%3C%3Fxml version='1.0' encoding='utf-8'%3F%3E%3C!-- Generator: Adobe Illustrator 21.1.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) --%3E%3Csvg version='1.1' id='Layer_1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' viewBox='0 0 10 10' style='enable-background:new 0 0 10 10;' xml:space='preserve'%3E%3Cstyle type='text/css'%3E .st0%7Bfill:%23404040;%7D%0A%3C/style%3E%3Cpolygon class='st0' points='2,2 0,4 5,9 10,4 8,2 5,5 '/%3E%3C/svg%3E%0A\"); background-repeat: no-repeat; background-position: center center; height: 10px; width: 12px; margin: auto 8px;",".sv_main .sv-expand-action--expanded:before":"transform: rotate(180deg);",".sv_main .sv-action-bar":"display: flex; position: relative; align-items: center; margin-left: auto; padding: 0 0 0 16px; overflow: hidden; white-space: nowrap;",".sv_main .sv-action-bar-separator":"display: inline-block; width: 1px; height: 24px; vertical-align: middle; margin-right: 16px; background-color: #d6d6d6;",".sv_main .sv-action-bar-item":"-webkit-appearance: none; -moz-appearance: none; appearance: none; display: flex; height: 40px; padding: 8px; box-sizing: border-box; margin-right: 16px; border: none; border-radius: 2px; background-color: transparent; cursor: pointer; line-height: 24px; font-size: 16px; overflow-x: hidden; white-space: nowrap; min-width: auto; font-weight: normal",".sv_main .sv-action-bar-item__title":"vertical-align: middle; white-space: nowrap;",".sv_main .sv-action-bar-item__title--with-icon":"margin-left: 8px;",".sv_main .sv-action":"display: flex; align-items: center;",".sv_main .sv-action--hidden":"visibility: hidden",".sv_main .sv-action-bar-item__icon svg":"display: block;",".sv_main .sv-action-bar-item:active":"opacity: 0.5;",".sv_main .sv-action-bar-item:focus":"outline: none;",".sv_main .sv-title-actions":"display: flex;align-items: center;",".sv_main .sv-title-actions__title":"flex-wrap: wrap; max-width: 90%; min-width: 50%;",".sv_main .sv-title-actions__bar":"min-width: 56px;",".sv_main .sv_matrix_cell_actions .sv-action-bar":"margin-left: 0; padding-left: 0;",".sv_main .sv_p_wrapper_in_row":"display: flex; flex-direction: row; align-items: center;",".sv_main .sv_p_remove_btn_right":"margin-left: 1em;",".sv_main .sv-button-group":"display: flex; align-items: center; flex-direction: row; font-size: 16px; height: 48px; overflow: auto;",".sv_main .sv-button-group__item":"display: flex; box-sizing: border-box; flex-direction: row; justify-content: center; align-items: center; width: 100%; padding: 11px 16px; line-height: 24px; border-width: 1px; border-style: solid; outline: none; font-size: 16px; font-weight: 400; cursor: pointer; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;",".sv_main .sv-button-group__item:not(:first-of-type)":"margin-left: -1px;",".sv_main .sv-button-group__item-icon":"display: block; height: 24px;",".sv_main .sv-button-group__item--selected":"font-weight: 600;",".sv_main .sv-button-group__item-decorator":"display: flex; align-items: center;",".sv_main .sv-button-group__item-icon + .sv-button-group__item-caption":"margin-left: 8px;",".sv_main .sv-button-group__item--disabled":"color: cursor: default;","sv-popup":"display: block; position: absolute; z-index: -1;",".sv-popup":"position: fixed; left: 0; top: 0; z-index: 1000; width: 100vw; height: 100vh;",".sv-popup--modal":"display: flex; align-items: center; justify-content: center;",".sv-popup--modal .sv-popup__container":"position: static; filter: none; padding: calc(4 * 8px);",".sv-popup__container":"position: absolute; filter: drop-shadow(0px calc(1 * 8px) calc(2 * 8px) rgba(0, 0, 0, 0.1)); padding: calc(1 * 8px) 0; background: white; border-radius: 4px;",".sv-popup__scrolling-content":"max-width: 90vw; max-height: 90vh; overflow: auto;",".sv-popup__scrolling-content::-webkit-scrollbar":"height: 6px; width: 6px; background-color: #f3f3f3;",".sv-popup__scrolling-content::-webkit-scrollbar-thumb":"background: rgba(25, 179, 148, 0.1);",".sv-popup__content":"min-width: 100%;",".sv-popup--show-pointer.sv-popup--top":"transform: translateY(calc(-1 * 8px));",".sv-popup--show-pointer.sv-popup--top .sv-popup__pointer":"transform: translate(calc(-1 * 8px)) rotate(180deg);",".sv-popup--show-pointer.sv-popup--bottom":"transform: translateY(calc(1 * 8px));",".sv-popup--show-pointer.sv-popup--bottom .sv-popup__pointer":"transform: translate(calc(-1 * 8px), calc(-1 * 8px));",".sv-popup--show-pointer.sv-popup--right":"transform: translate(calc(1 * 8px));",".sv-popup--show-pointer.sv-popup--right .sv-popup__pointer":"transform: translate(-12px, -4px) rotate(-90deg);",".sv-popup--show-pointer.sv-popup--left":"transform: translate(calc(-1 * 8px));",".sv-popup--show-pointer.sv-popup--left .sv-popup__pointer":"transform: translate(-4px, -4px) rotate(90deg);",".sv-popup__pointer":"display: block; position: absolute;",".sv-popup__pointer:after":"content: ' '; display: block; width: 0; height: 0; border-left: calc(1 * 8px) solid transparent; border-right: calc(1 * 8px) solid transparent; border-bottom: calc(1 * 8px) solid white; align-self: center;",".sv-popup__footer":"display: flex; margin-top: calc(4 * 8px);",".sv-popup__footer-item:first-child":"margin-left: auto;",".sv-popup__footer-item + .sv-popup__footer-item":"margin-left: calc(1 * 8px);",".sv-popup__button":"padding: calc(2 * 8px) calc(6 * 8px); background: #fff; box-shadow: 0px 1px 2px rgba(0, 0, 0, 0.15); border-radius: 4px; cursor: pointer; margin: 2px; font-family: 'Segoe UI', 'Helvetica Neue', Helvetica, Arial, sans-serif; font-style: normal; font-weight: 600; font-size: calc(2 * 8px); line-height: calc(3 * 8px); text-align: center; color: #19b394; border: none; outline: none;",".sv-popup__button:hover":"box-shadow: 0 0 0 2px #19b394;",".sv-popup__button:disabled":"color: rgba(22, 22, 22, 0.16); cursor: default;",".sv-popup__button:disabled:hover":"box-shadow: 0px 1px 2px rgba(0, 0, 0, 0.15);",".sv-popup__button--apply":"background-color: #19b394; color: #fff;",".sv-popup__button--apply:disabled":"background-color: #f3f3f3;",".sv-list":"display: flex; flex-direction: column; align-items: flex-start; padding: 0; margin: 0; background: #ffffff; font-family: 'Open Sans'; list-style-type: none;",".sv-list__item":"width: 100%; display: flex; align-items: center; box-sizing: border-box; padding: calc(1 * 8px) calc(2 * 8px); cursor: pointer;",".sv-list__item-icon":"float: left; width: calc(3 * 8px); height: calc(3 * 8px); margin-right: calc(2 * 8px);",".sv-list__item-icon svg":"display: block;",".sv-list__item-icon use":"fill: #909090;",".sv-list__item:hover":"background-color: #f3f3f3;",".sv-list__item--selected":"background-color: #19b394; color: #fff;",".sv-list__item--selected:hover":"background-color: #19b394;",".sv-list__item--selected .sv-list__item-icon use":"fill: #fff;",".sv-list__item--disabled":"color: rgba(22, 22, 22, 0.16); cursor: default; pointer-events: none;",".sv-list__item span":"white-space: nowrap;"},e.Media={".sv_qstn fieldset .sv-q-col-1":{style:"width: 100%;",media:"@media only screen and (max-width: 480px)"},".sv_qstn fieldset .sv-q-col-2":{style:"width: 100%;",media:"@media only screen and (max-width: 480px)"},".sv_qstn fieldset .sv-q-col-3":{style:"width: 100%;",media:"@media only screen and (max-width: 480px)"},".sv_qstn fieldset .sv-q-col-4":{style:"width: 100%;",media:"@media only screen and (max-width: 480px)"},".sv_qstn fieldset .sv-q-col-5":{style:"width: 100%;",media:"@media only screen and (max-width: 480px)"},".sv_main .sv_container .panel-body.card-block .sv_row .sv_qstn":{style:"display: block; width: 100% !important;",media:"@media (max-width: 600px)"},".sv_main .sv_container .panel-body.card-block .sv_row .sv_qstn .title-left":{style:"float: none;",media:"@media (max-width: 600px)"},".sv_main .sv_container .panel-body.card-block .sv_row .sv_qstn .sv_q_radiogroup_inline, .sv_main .sv_container .panel-body.card-block .sv_row .sv_qstn .sv_q_checkbox_inline, .sv_main .sv_container .panel-body.card-block .sv_row .sv_qstn .sv_q_imagepicker_inline":{style:"display: block;",media:"@media (max-width: 600px)"},".sv_main .sv_container .panel-body.card-block .sv_row .sv_qstn table.table":{style:"display: block;",media:"@media (max-width: 600px)"},".sv_main .sv_container .panel-body.card-block .sv_row .sv_qstn table.table thead":{style:"display: none;",media:"@media (max-width: 600px)"},".sv_main .sv_container .panel-body.card-block .sv_row .sv_qstn table.table tbody, .sv_main .sv_container .panel-body.card-block .sv_row .sv_qstn table.table tr, .sv_main .sv_container .panel-body.card-block .sv_row .sv_qstn table.table td":{style:"display: block;",media:"@media (max-width: 600px)"},".sv_main .sv_container .panel-body.card-block .sv_row .sv_qstn table.table:not(.sv_q_matrix) td:before":{style:"content: attr(title);",media:"@media (max-width: 600px)"},".sv_main .sv_container .panel-body.card-block .sv_row .sv_qstn table.sv_q_matrix td:after":{style:"content: attr(title); padding-left: 1em",media:"@media (max-width: 600px)"},".sv_main .sv_container .panel-body.card-block .sv_row .sv_qstn .radio label, .sv_main .sv_container .panel-body.card-block .sv_row .sv_qstn .checkbox label":{style:"line-height: 12px; vertical-align: top;",media:"@media (max-width: 600px)"},".sv_qstn label.sv_q_m_label":{style:"display: inline;",media:"@media (max-width: 600px)"},".sv_main .sv_custom_header":{style:"display: none;",media:"@media (max-width: 1300px)"},".sv_main .sv_container .sv_header h3":{style:"font-size: 1.5em;",media:"@media (max-width: 1300px)"},".sv_main .sv_container .sv_header h3 span":{style:"font-size: 0.75em;",media:"@media (max-width: 700px)"},".sv_main.sv_bootstrap_css .sv-progress__text":{style:"margin-left: 8em;",media:"@media (min-width: 768px)"},".sv_row":{style:" display: flex; flex-wrap: wrap;",media:"@supports (display: flex)"},".sv-vue-row-additional-div":{style:" display: flex; flex-wrap: wrap; flex-basis: 100%;",media:"@supports (display: flex)"},".sv-row > .sv-row__panel, .sv-row__question:not(:last-child)":{style:"float: left;",media:"@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none)"},"[dir='rtl'],[style*='direction:rtl'] .sv-row__question:not(:last-child)":{style:"float: right;",media:"@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none)"},".sv-row > .sv-row__panel, .sv-row__question":{style:"width: 100% !important; padding-right: 0 !important;",media:"@media only screen and (max-width: 600px)"}},e.ThemeColors={default:{"$header-background-color":"#e7e7e7","$body-container-background-color":"#f4f4f4","$main-color":"#1ab394","$main-hover-color":"#0aa384","$body-background-color":"white","$inputs-background-color":"white","$text-color":"#6d7072","$text-input-color":"#6d7072","$header-color":"#6d7072","$border-color":"#e7e7e7","$error-color":"#ed5565","$error-background-color":"#fd6575","$progress-text-color":"#9d9d9d","$disable-color":"#dbdbdb","$disabled-label-color":"rgba(64, 64, 64, 0.5)","$slider-color":"white","$disabled-switch-color":"#9f9f9f","$disabled-slider-color":"#cfcfcf","$foreground-light":"#909090","$foreground-disabled":"#161616","$background-dim":"#f3f3f3"},orange:{"$header-background-color":"#4a4a4a","$body-container-background-color":"#f8f8f8","$main-color":"#f78119","$main-hover-color":"#e77109","$body-background-color":"white","$inputs-background-color":"white","$text-color":"#4a4a4a","$text-input-color":"#4a4a4a","$header-color":"#f78119","$border-color":"#e7e7e7","$error-color":"#ed5565","$error-background-color":"#fd6575","$progress-text-color":"#9d9d9d","$disable-color":"#dbdbdb","$disabled-label-color":"rgba(64, 64, 64, 0.5)","$slider-color":"white","$disabled-switch-color":"#9f9f9f","$disabled-slider-color":"#cfcfcf","$foreground-light":"#909090","$foreground-disabled":"#161616","$background-dim":"#f3f3f3"},darkblue:{"$header-background-color":"#d9d8dd","$body-container-background-color":"#f6f7f2","$main-color":"#3c4f6d","$main-hover-color":"#2c3f5d","$body-background-color":"white","$inputs-background-color":"white","$text-color":"#4a4a4a","$text-input-color":"#4a4a4a","$header-color":"#6d7072","$border-color":"#e7e7e7","$error-color":"#ed5565","$error-background-color":"#fd6575","$progress-text-color":"#9d9d9d","$disable-color":"#dbdbdb","$disabled-label-color":"rgba(64, 64, 64, 0.5)","$slider-color":"white","$disabled-switch-color":"#9f9f9f","$disabled-slider-color":"#cfcfcf","$foreground-light":"#909090","$foreground-disabled":"#161616","$background-dim":"#f3f3f3"},darkrose:{"$header-background-color":"#ddd2ce","$body-container-background-color":"#f7efed","$main-color":"#68656e","$main-hover-color":"#58555e","$body-background-color":"white","$inputs-background-color":"white","$text-color":"#4a4a4a","$text-input-color":"#4a4a4a","$header-color":"#6d7072","$border-color":"#e7e7e7","$error-color":"#ed5565","$error-background-color":"#fd6575","$progress-text-color":"#9d9d9d","$disable-color":"#dbdbdb","$disabled-label-color":"rgba(64, 64, 64, 0.5)","$slider-color":"white","$disabled-switch-color":"#9f9f9f","$disabled-slider-color":"#cfcfcf","$foreground-light":"#909090","$foreground-disabled":"#161616","$background-dim":"#f3f3f3"},stone:{"$header-background-color":"#cdccd2","$body-container-background-color":"#efedf4","$main-color":"#0f0f33","$main-hover-color":"#191955","$body-background-color":"white","$inputs-background-color":"white","$text-color":"#0f0f33","$text-input-color":"#0f0f33","$header-color":"#0f0f33","$border-color":"#e7e7e7","$error-color":"#ed5565","$error-background-color":"#fd6575","$progress-text-color":"#9d9d9d","$disable-color":"#dbdbdb","$disabled-label-color":"rgba(64, 64, 64, 0.5)","$slider-color":"white","$disabled-switch-color":"#9f9f9f","$disabled-slider-color":"#cfcfcf","$foreground-light":"#909090","$foreground-disabled":"#161616","$background-dim":"#f3f3f3"},winter:{"$header-background-color":"#82b8da","$body-container-background-color":"#dae1e7","$main-color":"#3c3b40","$main-hover-color":"#1e1d20","$body-background-color":"white","$inputs-background-color":"white","$text-color":"#000","$text-input-color":"#000","$header-color":"#000","$border-color":"#e7e7e7","$error-color":"#ed5565","$error-background-color":"#fd6575","$disable-color":"#dbdbdb","$progress-text-color":"#9d9d9d","$disabled-label-color":"rgba(64, 64, 64, 0.5)","$slider-color":"white","$disabled-switch-color":"#9f9f9f","$disabled-slider-color":"#cfcfcf","$foreground-light":"#909090","$foreground-disabled":"#161616","$background-dim":"#f3f3f3"},winterstone:{"$header-background-color":"#323232","$body-container-background-color":"#f8f8f8","$main-color":"#5ac8fa","$main-hover-color":"#06a1e7","$body-background-color":"white","$inputs-background-color":"white","$text-color":"#000","$text-input-color":"#000","$header-color":"#fff","$border-color":"#e7e7e7","$error-color":"#ed5565","$error-background-color":"#fd6575","$disable-color":"#dbdbdb","$progress-text-color":"#9d9d9d","$disabled-label-color":"rgba(64, 64, 64, 0.5)","$slider-color":"white","$disabled-switch-color":"#9f9f9f","$disabled-slider-color":"#cfcfcf","$foreground-light":"#909090","$foreground-disabled":"#161616","$background-dim":"#f3f3f3"},modern:{"$main-color":"#1ab394","$add-button-color":"#1948b3","$remove-button-color":"#ff1800","$disable-color":"#dbdbdb","$progress-text-color":"#9d9d9d","$disabled-label-color":"rgba(64, 64, 64, 0.5)","$slider-color":"white","$disabled-switch-color":"#9f9f9f","$disabled-slider-color":"#cfcfcf","$error-color":"#d52901","$text-color":"#404040","$light-text-color":"#fff","$button-text-color":"#fff","$checkmark-color":"#fff","$matrix-text-checked-color":"#fff","$text-input-color":"#404040","$inputs-background-color":"transparent","$main-hover-color":"#9f9f9f","$body-container-background-color":"#f4f4f4","$text-border-color":"#d4d4d4","$disabled-text-color":"rgba(64, 64, 64, 0.5)","$border-color":"rgb(64, 64, 64, 0.5)","$dropdown-border-color":"#d4d4d4","$header-background-color":"#e7e7e7","$answer-background-color":"rgba(26, 179, 148, 0.2)","$error-background-color":"rgba(213, 41, 1, 0.2)","$radio-checked-color":"#404040","$clean-button-color":"#1948b3","$body-background-color":"#ffffff","$foreground-light":"#909090","$foreground-disabled":"#161616","$background-dim":"#f3f3f3"},bootstrap:{"$main-color":"#18a689","$text-color":"#404040;","$text-input-color":"#404040;","$progress-text-color":"#9d9d9d","$disable-color":"#dbdbdb","$header-background-color":"#e7e7e7","$disabled-label-color":"rgba(64, 64, 64, 0.5)","$slider-color":"white","$disabled-switch-color":"#9f9f9f","$disabled-slider-color":"#cfcfcf","$foreground-light":"#909090","$foreground-disabled":"#161616","$background-dim":"#f3f3f3"},bootstrapmaterial:{"$main-color":"#18a689","$text-color":"#404040;","$text-input-color":"#404040;","$progress-text-color":"#9d9d9d","$disable-color":"#dbdbdb","$header-background-color":"#e7e7e7","$disabled-label-color":"rgba(64, 64, 64, 0.5)","$slider-color":"white","$disabled-switch-color":"#9f9f9f","$disabled-slider-color":"#cfcfcf","$body-background-color":"#ffffff","$foreground-light":"#909090","$foreground-disabled":"#161616","$background-dim":"#f3f3f3"}},e.ThemeCss={".sv_default_css":"background-color: $body-container-background-color;",".sv_default_css hr":"border-color: $border-color;",".sv_default_css input[type='button'], .sv_default_css button":"color: $body-background-color; background-color: $main-color;",".sv_default_css input[type='button']:hover, .sv_default_css button:hover":"background-color: $main-hover-color;",".sv_default_css .sv_header":"color: $header-color;",".sv_default_css .sv_custom_header":"background-color: $header-background-color;",".sv_default_css .sv_container":"color: $text-color;",".sv_default_css .sv_body":"background-color: $body-background-color; border-color: $main-color;",".sv_default_css .sv_progress":"background-color: $border-color;",".sv_default_css .sv_progress_bar":"background-color: $main-color;",".sv_default_css .sv_p_root > .sv_row":"border-color: $border-color;",".sv_default_css .sv_p_root > .sv_row:nth-child(odd)":"background-color: $body-background-color;",".sv_default_css .sv_p_root > .sv_row:nth-child(even)":"background-color: $body-container-background-color;",".sv_default_css .sv_q_other input":"color: $text-color; -webkit-text-fill-color: $text-color; border-color: $border-color; background-color: $inputs-background-color;",".sv_default_css .sv_q_text_root":"color: $text-color; -webkit-text-fill-color: $text-color; border-color: $border-color; background-color: $inputs-background-color;",".sv_default_css .sv_q_dropdown_control":"color: $text-input-color; border-color: $border-color; background-color: $inputs-background-color;",".sv_default_css input[type='text']":"color: $text-color; -webkit-text-fill-color: $text-color; border-color: $border-color; background-color: $inputs-background-color;",".sv_default_css select":"color: $text-color; border-color: $border-color; background-color: $inputs-background-color;",".sv_default_css textarea":"color: $text-input-color; -webkit-text-fill-color: $text-input-color; border-color: $border-color; background-color: $inputs-background-color;",".sv_default_css input:not([type='button']):not([type='reset']):not([type='submit']):not([type='image']):not([type='checkbox']):not([type='radio'])":"border: 1px solid $border-color; background-color: $inputs-background-color;color: $text-input-color; -webkit-text-fill-color: $text-input-color;",".sv_default_css input:not([type='button']):not([type='reset']):not([type='submit']):not([type='image']):not([type='checkbox']):not([type='radio']):focus":"border: 1px solid $main-color;",".sv_default_css .sv_container .sv_body .sv_p_root .sv_q .sv_select_wrapper .sv_q_dropdown_control ":"background-color: $inputs-background-color;",".sv_default_css .sv_q_other input:focus":"border-color: $main-color;",".sv_default_css .sv_q_text_root:focus":"border-color: $main-color;",".sv_default_css .sv_q_dropdown_control:focus":"border-color: $main-color;",".sv_default_css input[type='text']:focus":"border-color: $main-color;",'.sv_default_css .sv_container .sv_body .sv_p_root .sv_q input[type="radio"]:focus, .sv_default_css .sv_container .sv_body .sv_p_root .sv_q input[type="checkbox"]:focus':"outline: 1px dotted $main-color;",".sv_default_css select:focus":"border-color: $main-color;",".sv_default_css textarea:focus":"border-color: $main-color;",".sv_default_css .sv_select_wrapper":"background-color: $body-background-color;",".sv_default_css .sv_select_wrapper::before":"background-color: $main-color;",".sv_default_css .sv_q_rating_item.active .sv_q_rating_item_text":"background-color: $main-hover-color; border-color: $main-hover-color; color: $body-background-color;",".sv_default_css .sv_q_rating_item .sv_q_rating_item_text":"border-color: $border-color;",".sv_default_css .sv_q_rating_item .sv_q_rating_item_text:hover":"border-color: $main-hover-color;",".sv_default_css table.sv_q_matrix tr":"border-color: $border-color;",".sv_default_css table.sv_q_matrix_dropdown tr":"border-color: $border-color;",".sv_default_css table.sv_q_matrix_dynamic tr":"border-color: $border-color;",".sv_default_css .sv_q_m_cell_selected":"color: $body-background-color; background-color: $main-hover-color;",".sv_main .sv_q_file_remove:hover":"color: $main-color;",".sv_main .sv_q_file_choose_button":"color: $body-background-color; background-color: $main-color;",".sv_main .sv_q_file_choose_button:hover":"background-color: $main-hover-color;",".sv_main .sv_q_imgsel.checked label>div":"background-color: $main-color",".sv_default_css .sv_p_description":"padding-left: 1.29em;",".sv_main .sv-progress":"background-color: $header-background-color;",".sv_main .sv-progress__bar":"background-color: $main-color;",".sv_main .sv-paneldynamic__prev-btn.sv-paneldynamic__prev-btn--disabled, .sv_main .sv-paneldynamic__next-btn.sv-paneldynamic__next-btn--disabled":"fill: $disable-color;",".sv_main .sv-paneldynamic__progress-text":"color: $progress-text-color;",".sv_main .sv-paneldynamic__prev-btn, .sv_main .sv-paneldynamic__next-btn":"fill: $text-color",".sv_main .sv-boolean__switch":"background-color: $main-color;",".sv_main .sv-boolean__slider":"background-color: $slider-color;",".sv_main .sv-boolean__label--disabled":"color: $disabled-label-color;",".sv_main .sv-boolean--disabled .sv-boolean__switch":"background-color: $disabled-switch-color;",".sv_main .sv-boolean--disabled .sv-boolean__slider":"background-color: $disabled-slider-color;",".sv_main .sv_matrix_detail_row":"background-color: #ededed; border-top: 1px solid $header-background-color; border-bottom: 1px solid $header-background-color;",".sv_main .sv-action-bar-item":"color: $text-color;",".sv_main .sv-action-bar-item__icon use":"fill: $foreground-light;",".sv_main .sv-action-bar-item:hover":"background-color: $background-dim;",".sv_main .sv-button-group__item:hover:not(.sv-button-group__item--selected):not(not(.sv-button-group__item--disabled)":"background-color: $background-dim;",".sv_main .sv-button-group__item-icon use":"fill: $foreground-light;",".sv_main .sv-button-group__item--selected":"color: $main-color;",".sv_main .sv-button-group__item--selected .sv-button-group__item-icon use":"fill: $main-color;",".sv_main .sv-button-group__item--disabled":"color: $foreground-disabled;",".sv_main .sv-button-group__item--disabled .sv-button-group__item-icon use":"fill: $foreground-disabled;",".sv_main .sv-button-group__item":"background: $body-background-color; border-color: $border-color;",".sv_main .sv_qstn textarea":"max-width: 100%"},e.modernThemeCss={".sv-boolean__switch":"background-color: $main-color;",".sv-boolean__slider":"background-color: $slider-color;",".sv-boolean__label--disabled":"color: $disabled-label-color;",".sv-boolean--disabled .sv-boolean__switch":"background-color: $disabled-switch-color;",".sv-boolean--disabled .sv-boolean__slider":"background-color: $disabled-slider-color;",".sv-btn":"color: $button-text-color;",".sv-checkbox__svg":"border-color: $border-color; fill: transparent;",".sv-checkbox--allowhover:hover .sv-checkbox__svg":"background-color: $main-hover-color; fill: $checkmark-color;",".sv-checkbox--checked .sv-checkbox__svg":"background-color: $main-color; fill: $checkmark-color;",".sv-checkbox--checked.sv-checkbox--disabled .sv-checkbox__svg":"background-color: $disable-color; fill: $checkmark-color;",".sv-checkbox--disabled .sv-checkbox__svg":"border-color: $disable-color;",".sv-comment":"border-color: $text-border-color; max-width: 100%;",".sv-comment:focus":"border-color: $main-color;",".sv-completedpage":"color: $text-color; background-color: $body-container-background-color;",".sv-container-modern":"color: $text-color;",".sv-container-modern__title":"color: $main-color;",".sv-description":"color: $disabled-text-color;",".sv-dropdown":"border-bottom: 0.06em solid $text-border-color;",".sv-dropdown:focus":"border-color: $dropdown-border-color;",".sv-dropdown--error":"border-color: $error-color; color: $error-color;",".sv-dropdown--error::placeholder":"color: $error-color;",".sv-dropdown--error::-ms-input-placeholder":"color: $error-color;",".sv-file__decorator":"background-color: $body-container-background-color;",".sv-file__clean-btn":"background-color: $remove-button-color;",".sv-file__choose-btn:not(.sv-file__choose-btn--disabled)":"background-color: $add-button-color;",".sv-file__choose-btn--disabled":"background-color: $disable-color;",".sv-file__remove-svg":"fill: #ff1800;",".sv-file__sign a":"color: $text-color;",".sv-footer__complete-btn":"background-color: $main-color;",".sv-footer__next-btn":"background-color: $main-color;",".sv-footer__prev-btn":"background-color: $main-color;",".sv-footer__start-btn":"background-color: $main-color;",".sv-footer__preview-btn":"background-color: $main-color;",".sv-footer__edit-btn":"background-color: $main-color;",".sv-imagepicker__item--allowhover:hover .sv-imagepicker__image":"background-color: $main-hover-color; border-color: $main-hover-color;",".sv-imagepicker__item--checked .sv-imagepicker__image":"background-color: $main-color; border-color: $main-color;",".sv-imagepicker__item--disabled.sv-imagepicker__item--checked .sv-imagepicker__image":"background-color: $disable-color; border-color: $disable-color;",".sv-item__control:focus + .sv-item__decorator":"border-color: $main-color;",".sv-matrix__text--checked":"color: $matrix-text-checked-color; background-color: $main-color;",".sv-matrix__text--disabled.sv-matrix__text--checked":"background-color: $disable-color;",".sv-matrixdynamic__add-btn":"background-color: $add-button-color;",".sv-matrixdynamic__remove-btn":"background-color: $remove-button-color;",".sv-paneldynamic__add-btn":"background-color: $add-button-color;",".sv-paneldynamic__remove-btn":"background-color: $remove-button-color;",".sv-paneldynamic__prev-btn, .sv-paneldynamic__next-btn":"fill: $text-color;",".sv-paneldynamic__prev-btn--disabled, .sv-paneldynamic__next-btn--disabled":"fill: $disable-color;",".sv-paneldynamic__progress-text":"color: $progress-text-color;",".sv-progress":"background-color: $header-background-color;",".sv-progress__bar":"background-color: $main-color;",".sv-progress__text":"color: $progress-text-color;",".sv-question__erbox":"color: $error-color;",".sv-question__title--answer":"background-color: $answer-background-color;",".sv-question__title--error":"background-color: $error-background-color;",".sv-panel__title--error":"background-color: $error-background-color;",".sv-radio__svg":"border-color: $border-color; fill: transparent;",".sv-radio--allowhover:hover .sv-radio__svg":"fill: $border-color;",".sv-radio--checked .sv-radio__svg":"border-color: $radio-checked-color; fill: $radio-checked-color;",".sv-radio--disabled .sv-radio__svg":"border-color: $disable-color;",".sv-radio--disabled.sv-radio--checked .sv-radio__svg":"fill: $disable-color;",".sv-rating":"color: $text-color;",".sv-rating input:focus + .sv-rating__min-text + .sv-rating__item-text, .sv-rating input:focus + .sv-rating__item-text":"outline-color: $main-color;",".sv-rating__item-text":"color: $main-hover-color; border: solid 0.1875em $main-hover-color;",".sv-rating__item-text:hover":"background-color: $main-hover-color; color: $body-background-color;",".sv-rating__item--selected .sv-rating__item-text":"background-color: $main-color; color: $body-background-color; border-color: $main-color;",".sv-rating--disabled .sv-rating__item-text":"color: $disable-color; border-color: $disable-color;",".sv-rating--disabled .sv-rating__item-text:hover":"background-color: transparent;",".sv-rating--disabled .sv-rating__item-text:hover .sv-rating__item--selected .sv-rating__item-text":"background-color: $disable-color; color: $body-background-color;","::-webkit-scrollbar":"background-color: $main-hover-color;","::-webkit-scrollbar-thumb":"background: $main-color;",".sv-selectbase__clear-btn":"background-color: $clean-button-color;",".sv-table":"background-color: rgba($main-hover-color, 0.1);",".sv-text:focus":"border-color: $main-color;",'.sv-text[type="date"]::-webkit-calendar-picker-indicator':"color: transparent; background: transparent;",".sv-text--error":"color: $error-color; border-color: $error-color;",".sv-text--error::placeholder":"color: $error-color;",".sv-text--error::-ms-placeholder":"color: $error-color;",".sv-text--error:-ms-placeholder":"color: $error-color;","input.sv-text, textarea.sv-comment, select.sv-dropdown":"color: $text-input-color; background-color: $inputs-background-color;",".sv-text::placeholder":"color: $text-input-color;",".sv-text::-ms-placeholder":"color: $text-input-color;",".sv-text:-ms-placeholder":"color: $text-input-color;",".sv-table__row--detail":"background-color: $header-background-color;"},e.bootstrapThemeCss={".sv_main .sv_q_imgsel.checked label>div":"background-color: $main-color",".sv_main .sv_p_description":"padding-left: 1.66em;",".sv_main .sv_qstn_error_bottom":"margin-top: 20px; margin-bottom: 0;",".sv_main .progress":"width: 60%;",".sv_main .progress-bar":"width: auto; margin-left: 2px; margin-right: 2px;",".sv_main .table>tbody>tr>td":"min-width: 90px;",".sv_main f-panel .sv_qstn":"padding: 0; vertical-align: middle;",".sv_main .sv_q_image":"display: inline-block;",".sv_main .sv_row .sv_qstn:first-child:last-child":"flex: none !important;",".sv_main .sv_row .sv_p_container:first-child:last-child":"flex: none !important;",".sv_main .sv-progress":"background-color: $header-background-color;",".sv_main .sv-progress__bar":"background-color: $main-color;",".sv_main .sv-paneldynamic__prev-btn.sv-paneldynamic__prev-btn--disabled, .sv_main .sv-paneldynamic__next-btn.sv-paneldynamic__next-btn--disabled":"fill: $disable-color;",".sv_main .sv-paneldynamic__progress-text":"color: $progress-text-color;",".sv_main .sv-paneldynamic__prev-btn, .sv_main .sv-paneldynamic__next-btn":"fill: $text-color",".sv_main .sv-boolean__switch":"background-color: $main-color;",".sv_main .sv-boolean__slider":"background-color: $slider-color;",".sv_main .sv-boolean__label--disabled":"color: $disabled-label-color;",".sv_main .sv-boolean--disabled .sv-boolean__switch":"background-color: $disabled-switch-color;",".sv_main .sv-boolean--disabled .sv-boolean__slider":"background-color: $disabled-slider-color;",".sv_main .sv_matrix_detail_row":"background-color: #ededed; border-top: 1px solid $header-background-color; border-bottom: 1px solid $header-background-color;",".sv_main .sv-action-bar-item":"color: $text-color;",".sv_main .sv-action-bar-item__icon use":"fill: $foreground-light;",".sv_main .sv-action-bar-item:hover":"background-color: $background-dim;"},e.bootstrapmaterialThemeCss={".sv_main.sv_bootstrapmaterial_css .form-group.is-focused .form-control":"linear-gradient(0deg, $main-color 2px, $main-color 0),linear-gradient(0deg, #D2D2D2 1px, transparent 0);",".sv_main.sv_bootstrapmaterial_css .sv_qstn":"margin-bottom: 1rem;",".sv_main.sv_bootstrapmaterial_css .sv_qstn label.sv_q_m_label":"height: 100%;",".sv_main.sv_bootstrapmaterial_css .sv_q_image":"display: inline-block;",".sv_main .sv_row .sv_qstn:first-child:last-child":"flex: none !important;",".sv_main .sv_row .sv_p_container:first-child:last-child":"flex: none !important;",".sv_main.sv_bootstrapmaterial_css .checkbox input[type=checkbox]:checked + .checkbox-material .check":"border-color: $main-color;",".sv_main.sv_bootstrapmaterial_css label.checkbox-inline input[type=checkbox]:checked + .checkbox-material .check":"border-color: $main-color;",".sv_main.sv_bootstrapmaterial_css .checkbox input[type=checkbox]:checked + .checkbox-material .check:before":"color: $main-color;",".sv_main.sv_bootstrapmaterial_css label.checkbox-inline input[type=checkbox]:checked + .checkbox-material .check:before":"color: $main-color;",".sv_main.sv_bootstrapmaterial_css .radio input[type=radio]:checked ~ .circle":"border-color: $main-color;",".sv_main.sv_bootstrapmaterial_css label.radio-inline input[type=radio]:checked ~ .circle":"border-color: $main-color;",".sv_main.sv_bootstrapmaterial_css .radio input[type=radio]:checked ~ .check":"background-color: $main-color;",".sv_main.sv_bootstrapmaterial_css label.radio-inline input[type=radio]:checked ~ .check":"background-color: $main-color;",".sv_main.sv_bootstrapmaterial_css .btn-default.active":"background-color: $main-color; color: $body-background-color;",".sv_main.sv_bootstrapmaterial_css .btn-default:active":"background-color: $main-color; color: $body-background-color;",".sv_main.sv_bootstrapmaterial_css .btn-secondary.active":"background-color: $main-color; color: $body-background-color;",".sv_main.sv_bootstrapmaterial_css .btn-secondary:active":"background-color: $main-color; color: $body-background-color;",".sv_main.sv_bootstrapmaterial_css .open>.dropdown-toggle.btn-default":"background-color: $main-color; color: $body-background-color;",".sv_main.sv_bootstrapmaterial_css input[type='button'].btn-primary, .sv_main.sv_bootstrapmaterial_css button.btn-primary":"color: $body-background-color; background-color: $main-color;",".sv_main.sv_bootstrapmaterial_css input[type='button'].btn-primary:hover, .sv_main.sv_bootstrapmaterial_css button.btn-primary:hover":"background-color: $main-hover-color;",".sv_main .sv_q_imgsel.checked label>div":"background-color: $main-color;",".sv_main.sv_bootstrapmaterial_css .sv_q_file_remove:hover":"color: $main-color;",".sv_main.sv_bootstrapmaterial_css .form-group input[type=file]":"position: relative; opacity: 1;",".sv_main.sv_bootstrapmaterial_css .progress":"width: 60%; height: 1.5em;",".sv_main.sv_bootstrapmaterial_css .progress-bar":"width: auto; margin-left: 2px; margin-right: 2px;",".sv_main .sv-progress":"background-color: $header-background-color;",".sv_main .sv-progress__bar":"background-color: $main-color;",".sv_main .sv-paneldynamic__prev-btn.sv-paneldynamic__prev-btn--disabled, .sv_main .sv-paneldynamic__next-btn.sv-paneldynamic__next-btn--disabled":"fill: $disable-color;",".sv_main .sv-paneldynamic__progress-text":"color: $progress-text-color;",".sv_main .sv-paneldynamic__prev-btn, .sv_main .sv-paneldynamic__next-btn":"fill: $text-color",".sv_main .sv-boolean .checkbox-decorator":"display: none;",".sv_main .sv-boolean__switch":"background-color: $main-color;",".sv_main .sv-boolean__slider":"background-color: $slider-color;",".sv_main .sv-boolean__label.sv-boolean__label--disabled":"color: $disabled-label-color;",".sv_main .sv-boolean__label":"color: $text-color;",".sv_main .sv-boolean--disabled .sv-boolean__switch":"background-color: $disabled-switch-color;",".sv_main .sv-boolean--disabled .sv-boolean__slider":"background-color: $disabled-slider-color;",".sv_main .sv_matrix_detail_row":"background-color: #ededed; border-top: 1px solid $header-background-color; border-bottom: 1px solid $header-background-color;",".sv_main .sv-action-bar-item":"color: $text-color;",".sv_main .sv-action-bar-item__icon use":"fill: $foreground-light;",".sv_main .sv-action-bar-item:hover":"background-color: $background-dim;"},e.Enabled=!0,e}()},"./src/survey.ts": /*!***********************!*\ !*** ./src/survey.ts ***! \***********************/ /*! exports provided: SurveyModel */function(e,t,n){"use strict";n.r(t),n.d(t,"SurveyModel",(function(){return x}));var r=n(/*! ./helpers */"./src/helpers.ts"),o=n(/*! ./jsonobject */"./src/jsonobject.ts"),i=n(/*! ./base */"./src/base.ts"),s=n(/*! ./defaultCss/cssstandard */"./src/defaultCss/cssstandard.ts"),a=n(/*! ./page */"./src/page.ts"),l=n(/*! ./textPreProcessor */"./src/textPreProcessor.ts"),u=n(/*! ./conditionProcessValue */"./src/conditionProcessValue.ts"),c=n(/*! ./dxSurveyService */"./src/dxSurveyService.ts"),d=n(/*! ./surveyStrings */"./src/surveyStrings.ts"),p=n(/*! ./error */"./src/error.ts"),h=n(/*! ./localizablestring */"./src/localizablestring.ts"),f=n(/*! ./stylesmanager */"./src/stylesmanager.ts"),m=n(/*! ./surveytimer */"./src/surveytimer.ts"),v=n(/*! ./conditions */"./src/conditions.ts"),g=n(/*! ./settings */"./src/settings.ts"),y=n(/*! ./utils/utils */"./src/utils/utils.ts"),b=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){if("function"!==typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),x=function(e){function t(n){void 0===n&&(n=null);var r=e.call(this)||this;return r.valuesHash={},r.variablesHash={},r.localeValue="",r.completedStateValue="",r.completedStateTextValue="",r.isTimerStarted=!1,r.onCompleting=r.addEvent(),r.onComplete=r.addEvent(),r.onNavigateToUrl=r.addEvent(),r.onStarted=r.addEvent(),r.onPartialSend=r.addEvent(),r.onCurrentPageChanging=r.addEvent(),r.onCurrentPageChanged=r.addEvent(),r.onValueChanging=r.addEvent(),r.onValueChanged=r.addEvent(),r.onVisibleChanged=r.addEvent(),r.onPageVisibleChanged=r.addEvent(),r.onPanelVisibleChanged=r.addEvent(),r.onQuestionCreated=r.addEvent(),r.onQuestionAdded=r.addEvent(),r.onQuestionRemoved=r.addEvent(),r.onPanelAdded=r.addEvent(),r.onPanelRemoved=r.addEvent(),r.onPageAdded=r.addEvent(),r.onValidateQuestion=r.addEvent(),r.onSettingQuestionErrors=r.addEvent(),r.onServerValidateQuestions=r.addEvent(),r.onValidatePanel=r.addEvent(),r.onErrorCustomText=r.addEvent(),r.onValidatedErrorsOnCurrentPage=r.addEvent(),r.onProcessHtml=r.addEvent(),r.onGetQuestionTitle=r.addEvent(),r.onGetQuestionNo=r.addEvent(),r.onProgressText=r.addEvent(),r.onTextMarkdown=r.addEvent(),r.onTextRenderAs=r.addEvent(),r.onSendResult=r.addEvent(),r.onGetResult=r.addEvent(),r.onUploadFiles=r.addEvent(),r.onDownloadFile=r.addEvent(),r.onClearFiles=r.addEvent(),r.onLoadChoicesFromServer=r.addEvent(),r.onLoadedSurveyFromService=r.addEvent(),r.onProcessTextValue=r.addEvent(),r.onUpdateQuestionCssClasses=r.addEvent(),r.onUpdatePanelCssClasses=r.addEvent(),r.onUpdatePageCssClasses=r.addEvent(),r.onAfterRenderSurvey=r.addEvent(),r.onAfterRenderHeader=r.addEvent(),r.onAfterRenderPage=r.addEvent(),r.onAfterRenderQuestion=r.addEvent(),r.onAfterRenderQuestionInput=r.addEvent(),r.onAfterRenderPanel=r.addEvent(),r.onMatrixRowAdded=r.addEvent(),r.onMatrixBeforeRowAdded=r.addEvent(),r.onMatrixRowRemoving=r.addEvent(),r.onMatrixRowRemoved=r.addEvent(),r.onMatrixAllowRemoveRow=r.addEvent(),r.onMatrixCellCreated=r.addEvent(),r.onMatrixAfterCellRender=r.addEvent(),r.onMatrixCellValueChanged=r.addEvent(),r.onMatrixCellValueChanging=r.addEvent(),r.onMatrixCellValidate=r.addEvent(),r.onDynamicPanelAdded=r.addEvent(),r.onDynamicPanelRemoved=r.addEvent(),r.onTimer=r.addEvent(),r.onTimerPanelInfoText=r.addEvent(),r.onDynamicPanelItemValueChanged=r.addEvent(),r.onIsAnswerCorrect=r.addEvent(),r.onDragDropAllow=r.addEvent(),r.onScrollingElementToTop=r.addEvent(),r.onLocaleChangedEvent=r.addEvent(),r.onGetQuestionTitleActions=r.addEvent(),r.onGetPanelTitleActions=r.addEvent(),r.onGetPageTitleActions=r.addEvent(),r.onGetMatrixRowActions=r.addEvent(),r.onElementContentVisibilityChanged=r.addEvent(),r.jsonErrors=null,r.cssValue=null,r.hideRequiredErrors=!1,r._isMobile=!1,r._isDesignMode=!1,r.ignoreValidation=!1,r.isNavigationButtonPressed=!1,r.isCalculatingProgressText=!1,r.isTriggerIsRunning=!1,r.triggerValues=null,r.triggerKeys=null,r.conditionValues=null,r.isValueChangedOnRunningCondition=!1,r.conditionRunnerCounter=0,r.conditionUpdateVisibleIndexes=!1,r.conditionNotifyElementsOnAnyValueOrVariableChanged=!1,r.isEndLoadingFromJson=null,r.questionHashes={names:{},namesInsensitive:{},valueNames:{},valueNamesInsensitive:{}},r.timerFunc=null,r.timeSpent=0,"undefined"!==typeof document&&(t.stylesManager=new f["StylesManager"]),r.createLocalizableString("title",r,!0),r.createLocalizableString("description",r,!0),r.createLocalizableString("logo",r,!1),r.createLocalizableString("completedHtml",r),r.createLocalizableString("completedBeforeHtml",r),r.createLocalizableString("loadingHtml",r),r.createLocalizableString("startSurveyText",r),r.createLocalizableString("pagePrevText",r),r.createLocalizableString("pageNextText",r),r.createLocalizableString("completeText",r),r.createLocalizableString("previewText",r),r.createLocalizableString("editText",r),r.createLocalizableString("questionTitleTemplate",r,!0),r.textPreProcessor=new l["TextPreProcessor"],r.textPreProcessor.onProcess=function(e){r.getProcessedTextValue(e)},r.createNewArray("pages",(function(e){r.doOnPageAdded(e)}),(function(e){r.doOnPageRemoved(e)})),r.createNewArray("triggers",(function(e){e.setOwner(r)})),r.createNewArray("calculatedValues",(function(e){e.setOwner(r)})),r.createNewArray("completedHtmlOnCondition",(function(e){e.locOwner=r})),r.createNewArray("navigateToUrlOnCondition",(function(e){e.locOwner=r})),r.registerFunctionOnPropertyValueChanged("firstPageIsStarted",(function(){r.onFirstPageIsStartedChanged()})),r.registerFunctionOnPropertyValueChanged("mode",(function(){r.onModeChanged()})),r.registerFunctionOnPropertyValueChanged("progressBarType",(function(){r.updateProgressText()})),r.registerFunctionOnPropertiesValueChanged(["questionStartIndex","requiredText","questionTitlePattern"],(function(){r.resetVisibleIndexes()})),r.onGetQuestionNo.onCallbacksChanged=function(){r.resetVisibleIndexes()},r.onProgressText.onCallbacksChanged=function(){r.updateProgressText()},r.onTextMarkdown.onCallbacksChanged=function(){r.locStrsChanged()},r.onBeforeCreating(),n&&(("string"===typeof n||n instanceof String)&&(n=JSON.parse(n)),n&&n.clientId&&(r.clientId=n.clientId),r.fromJSON(n),r.surveyId&&r.loadSurveyFromService(r.surveyId,r.clientId)),r.onCreating(),r}return b(t,e),Object.defineProperty(t.prototype,"platformName",{get:function(){return t.platform},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"commentPrefix",{get:function(){return g["settings"].commentPrefix},set:function(e){g["settings"].commentPrefix=e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"currentPageValue",{get:function(){return this.getPropertyValue("currentPageValue",null)},set:function(e){this.setPropertyValue("currentPageValue",e)},enumerable:!1,configurable:!0}),t.prototype.getType=function(){return"survey"},t.prototype.onPropertyValueChanged=function(e,t,n){"questionsOnPageMode"===e&&this.onQuestionsOnPageModeChanged(t)},Object.defineProperty(t.prototype,"pages",{get:function(){return this.getPropertyValue("pages")},enumerable:!1,configurable:!0}),t.prototype.getCss=function(){return this.css},Object.defineProperty(t.prototype,"css",{get:function(){return this.cssValue||(this.cssValue={},this.copyCssClasses(this.cssValue,s["surveyCss"].getCss())),this.cssValue},set:function(e){this.updateElementCss(!1),this.mergeValues(e,this.css)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"cssNavigationComplete",{get:function(){return this.getNavigationCss(this.css.navigationButton,this.css.navigation.complete)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"cssNavigationPreview",{get:function(){return this.getNavigationCss(this.css.navigationButton,this.css.navigation.preview)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"cssNavigationEdit",{get:function(){return this.getNavigationCss(this.css.navigationButton,this.css.navigation.edit)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"cssNavigationPrev",{get:function(){return this.getNavigationCss(this.css.navigationButton,this.css.navigation.prev)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"cssNavigationStart",{get:function(){return this.getNavigationCss(this.css.navigationButton,this.css.navigation.start)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"cssNavigationNext",{get:function(){return this.getNavigationCss(this.css.navigationButton,this.css.navigation.next)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"completedCss",{get:function(){var e=this.css;return e.body+" "+e.completedPage},enumerable:!1,configurable:!0}),t.prototype.getNavigationCss=function(e,t){var n="";return e&&(n=e),t&&(n+=" "+t),n},Object.defineProperty(t.prototype,"lazyRendering",{get:function(){return!0===this.lazyRenderingValue},set:function(e){this.lazyRenderingValue=e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isLazyRendering",{get:function(){return this.lazyRendering||g["settings"].lazyRowsRendering},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"triggers",{get:function(){return this.getPropertyValue("triggers")},set:function(e){this.setPropertyValue("triggers",e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"calculatedValues",{get:function(){return this.getPropertyValue("calculatedValues")},set:function(e){this.setPropertyValue("calculatedValues",e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"surveyId",{get:function(){return this.getPropertyValue("surveyId","")},set:function(e){this.setPropertyValue("surveyId",e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"surveyPostId",{get:function(){return this.getPropertyValue("surveyPostId","")},set:function(e){this.setPropertyValue("surveyPostId",e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"clientId",{get:function(){return this.getPropertyValue("clientId","")},set:function(e){this.setPropertyValue("clientId",e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"cookieName",{get:function(){return this.getPropertyValue("cookieName","")},set:function(e){this.setPropertyValue("cookieName",e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"sendResultOnPageNext",{get:function(){return this.getPropertyValue("sendResultOnPageNext",!1)},set:function(e){this.setPropertyValue("sendResultOnPageNext",e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"surveyShowDataSaving",{get:function(){return this.getPropertyValue("surveyShowDataSaving",!1)},set:function(e){this.setPropertyValue("surveyShowDataSaving",e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"focusFirstQuestionAutomatic",{get:function(){return this.getPropertyValue("focusFirstQuestionAutomatic",!0)},set:function(e){this.setPropertyValue("focusFirstQuestionAutomatic",e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"focusOnFirstError",{get:function(){return this.getPropertyValue("focusOnFirstError",!0)},set:function(e){this.setPropertyValue("focusOnFirstError",e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"showNavigationButtons",{get:function(){return this.getPropertyValue("showNavigationButtons")},set:function(e){!0!==e&&void 0!==e||(e="bottom"),!1===e&&(e="none"),this.setPropertyValue("showNavigationButtons",e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"showPrevButton",{get:function(){return this.getPropertyValue("showPrevButton",!0)},set:function(e){this.setPropertyValue("showPrevButton",e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"showTitle",{get:function(){return this.getPropertyValue("showTitle",!0)},set:function(e){this.setPropertyValue("showTitle",e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"showPageTitles",{get:function(){return this.getPropertyValue("showPageTitles",!0)},set:function(e){this.setPropertyValue("showPageTitles",e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"showCompletedPage",{get:function(){return this.getPropertyValue("showCompletedPage",!0)},set:function(e){this.setPropertyValue("showCompletedPage",e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"navigateToUrl",{get:function(){return this.getPropertyValue("navigateToUrl")},set:function(e){this.setPropertyValue("navigateToUrl",e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"navigateToUrlOnCondition",{get:function(){return this.getPropertyValue("navigateToUrlOnCondition")},set:function(e){this.setPropertyValue("navigateToUrlOnCondition",e)},enumerable:!1,configurable:!0}),t.prototype.getNavigateToUrl=function(){var e=this.getExpressionItemOnRunCondition(this.navigateToUrlOnCondition),t=e?e.url:this.navigateToUrl;return t&&(t=this.processText(t,!0)),t},t.prototype.navigateTo=function(){var e=this.getNavigateToUrl(),t={url:e};this.onNavigateToUrl.fire(this,t),t.url&&"undefined"!==typeof window&&window.location&&(window.location.href=t.url)},Object.defineProperty(t.prototype,"requiredText",{get:function(){return this.getPropertyValue("requiredText","*")},set:function(e){this.setPropertyValue("requiredText",e)},enumerable:!1,configurable:!0}),t.prototype.beforeSettingQuestionErrors=function(e,t){this.maakeRequiredErrorsInvisibgle(t),this.onSettingQuestionErrors.fire(this,{question:e,errors:t})},t.prototype.beforeSettingPanelErrors=function(e,t){this.maakeRequiredErrorsInvisibgle(t)},t.prototype.maakeRequiredErrorsInvisibgle=function(e){if(this.hideRequiredErrors)for(var t=0;t-1){var n=d["surveyLocalization"].defaultLocale,r=e.indexOf(n);r>-1&&e.splice(r,1),t=e.indexOf("default"),e[t]=n}return e},t.prototype.localeChanged=function(){for(var e=0;e0){var t=e[e.length-1];if(t>="0"&&t<="9"||"."==t)try{var n=parseFloat(e);return n+"px"}catch(r){}}return e},Object.defineProperty(t.prototype,"logoWidth",{get:function(){var e=this.getPropertyValue("logoWidth");return this.getSize(e)},set:function(e){this.setPropertyValue("logoWidth",e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"logoHeight",{get:function(){var e=this.getPropertyValue("logoHeight");return this.getSize(e)},set:function(e){this.setPropertyValue("logoHeight",e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"logoPosition",{get:function(){return this.getPropertyValue("logoPosition")},set:function(e){this.setPropertyValue("logoPosition",e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"hasLogo",{get:function(){return!!this.logo&&"none"!==this.logoPosition},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isLogoBefore",{get:function(){return this.hasLogo&&("left"===this.logoPosition||"top"===this.logoPosition)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isLogoAfter",{get:function(){return this.hasLogo&&("right"===this.logoPosition||"bottom"===this.logoPosition)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"logoClassNames",{get:function(){var e={left:"sv-logo--left",right:"sv-logo--right",top:"sv-logo--top",bottom:"sv-logo--bottom"};return this.css.logo+" "+e[this.logoPosition]},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"logoFit",{get:function(){return this.getPropertyValue("logoFit")},set:function(e){this.setPropertyValue("logoFit",e)},enumerable:!1,configurable:!0}),t.prototype.setIsMobile=function(e){void 0===e&&(e=!0),this._isMobile=e},Object.defineProperty(t.prototype,"isMobile",{get:function(){return Object(y["isMobile"])()||this._isMobile},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"titleMaxWidth",{get:function(){if(!this.isMobile&&!this.isValueEmpty(this.logo)){var e=this.logoWidth;if("left"===this.logoPosition||"right"===this.logoPosition)return"calc(100% - 5px - 2em - "+e+")"}return""},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"completedHtml",{get:function(){return this.getLocalizableStringText("completedHtml")},set:function(e){this.setLocalizableStringText("completedHtml",e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"locCompletedHtml",{get:function(){return this.getLocalizableString("completedHtml")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"completedHtmlOnCondition",{get:function(){return this.getPropertyValue("completedHtmlOnCondition")},set:function(e){this.setPropertyValue("completedHtmlOnCondition",e)},enumerable:!1,configurable:!0}),t.prototype.runExpression=function(e){if(!e)return null;var t=this.getFilteredValues(),n=this.getFilteredProperties();return new v["ExpressionRunner"](e).run(t,n)},t.prototype.runCondition=function(e){if(!e)return!1;var t=this.getFilteredValues(),n=this.getFilteredProperties();return new v["ConditionRunner"](e).run(t,n)},t.prototype.runTriggers=function(){this.checkTriggers(this.getFilteredValues(),!1)},Object.defineProperty(t.prototype,"renderedCompletedHtml",{get:function(){var e=this.getExpressionItemOnRunCondition(this.completedHtmlOnCondition);return e?e.html:this.completedHtml},enumerable:!1,configurable:!0}),t.prototype.getExpressionItemOnRunCondition=function(e){if(0==e.length)return null;for(var t=this.getFilteredValues(),n=this.getFilteredProperties(),r=0;r-1){e=e.substr(e.indexOf("{")+1);var n=e.indexOf("}");if(n<0)break;t.push(e.substr(0,n)),e=e.substr(n+1)}if(t.length>1){if("require"==t[0])return"requireNumTitle";if("require"==t[1]&&3==t.length)return"numRequireTitle";if(t.indexOf("require")<0)return"numTitle"}if(1==t.length&&"title"==t[0])return"numTitle"}return"numTitleRequire"},t.prototype.getNewQuestionTitleElement=function(e,t,n,r){if(t="{"+t+"}",!e||e.indexOf(t)<0)return n;for(var o=e.indexOf(t),i="",s="",a=o-1;a>=0;a--)if("}"==e[a])break;for(ao&&(s=e.substr(o,a-o)),a=0;while(a=0&&s.charCodeAt(a)<33)a--;if(s=s.substr(0,a+1),!i&&!s)return n;var l=n||r;return i+l+s},Object.defineProperty(t.prototype,"locQuestionTitleTemplate",{get:function(){return this.getLocalizableString("questionTitleTemplate")},enumerable:!1,configurable:!0}),t.prototype.getUpdatedQuestionTitle=function(e,t){if(this.onGetQuestionTitle.isEmpty)return t;var n={question:e,title:t};return this.onGetQuestionTitle.fire(this,n),n.title},t.prototype.getUpdatedQuestionNo=function(e,t){if(this.onGetQuestionNo.isEmpty)return t;var n={question:e,no:t};return this.onGetQuestionNo.fire(this,n),n.no},Object.defineProperty(t.prototype,"showPageNumbers",{get:function(){return this.getPropertyValue("showPageNumbers",!1)},set:function(e){e!==this.showPageNumbers&&(this.setPropertyValue("showPageNumbers",e),this.updateVisibleIndexes())},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"showQuestionNumbers",{get:function(){return this.getPropertyValue("showQuestionNumbers")},set:function(e){e=e.toLowerCase(),e="onpage"===e?"onPage":e,e!==this.showQuestionNumbers&&(this.setPropertyValue("showQuestionNumbers",e),this.updateVisibleIndexes())},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"showProgressBar",{get:function(){return this.getPropertyValue("showProgressBar")},set:function(e){this.setPropertyValue("showProgressBar",e.toLowerCase())},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"progressBarType",{get:function(){return this.getPropertyValue("progressBarType")},set:function(e){"correctquestion"===e&&(e="correctQuestion"),"requiredquestion"===e&&(e="requiredQuestion"),this.setPropertyValue("progressBarType",e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isShowProgressBarOnTop",{get:function(){return!!this.canShowProresBar()&&("top"===this.showProgressBar||"both"===this.showProgressBar)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isShowProgressBarOnBottom",{get:function(){return!!this.canShowProresBar()&&("bottom"===this.showProgressBar||"both"===this.showProgressBar)},enumerable:!1,configurable:!0}),t.prototype.canShowProresBar=function(){return!this.isShowingPreview||"showAllQuestions"!=this.showPreviewBeforeComplete},Object.defineProperty(t.prototype,"processedTitle",{get:function(){return this.locTitle.renderedHtml},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"questionTitleLocation",{get:function(){return this.getPropertyValue("questionTitleLocation")},set:function(e){this.setPropertyValue("questionTitleLocation",e.toLowerCase()),this.isLoadingFromJson||this.updateElementCss(!0)},enumerable:!1,configurable:!0}),t.prototype.updateElementCss=function(e){for(var t=this.visiblePages,n=0;n0&&(e[r]=this.getDataValueCore(this.valuesHash,r))}return e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"visiblePages",{get:function(){if(this.isDesignMode)return this.pages;for(var e=new Array,t=0;t0?this.pages[0]:null;return e&&(e.onFirstRendering(),e.setWasShown(!0)),e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"currentPage",{get:function(){var e=this.visiblePages;return null!=this.currentPageValue&&e.indexOf(this.currentPageValue)<0&&(this.onContainsPageCallback&&this.onContainsPageCallback(this.currentPageValue)||(this.currentPage=null)),null==this.currentPageValue&&e.length>0&&(this.currentPage=e[0]),this.currentPageValue},set:function(e){if(!this.isLoadingFromJson){var t=this.getPageByObject(e);if(!e||t){var n=this.visiblePages;if(!(null!=t&&n.indexOf(t)<0)&&t!=this.currentPageValue){var r=this.currentPageValue;this.currentPageChanging(t,r)&&(this.currentPageValue=t,t&&(t.onFirstRendering(),t.updateCustomWidgets(),t.setWasShown(!0)),this.locStrsChanged(),this.currentPageChanged(t,r))}}}},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"activePage",{get:function(){return this.isStartedState&&this.startedPage?this.startedPage:this.currentPage},enumerable:!1,configurable:!0}),t.prototype.getPageByObject=function(e){if(!e)return null;if(e.getType&&"page"==e.getType())return e;if("string"===typeof e||e instanceof String)return this.getPageByName(String(e));if(!isNaN(e)){var t=Number(e),n=this.visiblePages;return e<0||e>=n.length?null:n[t]}return e},Object.defineProperty(t.prototype,"currentPageNo",{get:function(){return this.visiblePages.indexOf(this.currentPage)},set:function(e){var t=this.visiblePages;e<0||e>=t.length||(this.currentPage=t[e])},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"questionsOrder",{get:function(){return this.getPropertyValue("questionsOrder")},set:function(e){this.setPropertyValue("questionsOrder",e)},enumerable:!1,configurable:!0}),t.prototype.focusFirstQuestion=function(){var e=this.activePage;e&&(e.scrollToTop(),e.focusFirstQuestion())},t.prototype.scrollToTopOnPageChange=function(){var e=this.activePage;e&&(e.scrollToTop(),this.focusFirstQuestionAutomatic&&e.focusFirstQuestion())},Object.defineProperty(t.prototype,"state",{get:function(){return this.isLoading?"loading":this.isCompleted?"completed":this.isCompletedBefore?"completedbefore":!this.isDesignMode&&this.isEditMode&&this.isStartedState&&this.startedPage?"starting":this.isShowingPreview?this.currentPage?"preview":"empty":this.currentPage?"running":"empty"},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isCompleted",{get:function(){return this.getPropertyValue("isCompleted",!1)},set:function(e){this.setPropertyValue("isCompleted",e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isShowingPreview",{get:function(){return this.getPropertyValue("isShowingPreview",!1)},set:function(e){this.isShowingPreview!=e&&(this.setPropertyValue("isShowingPreview",e),this.onShowingPreviewChanged())},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isStartedState",{get:function(){return this.getPropertyValue("isStartedState",!1)},set:function(e){this.setPropertyValue("isStartedState",e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isCompletedBefore",{get:function(){return this.getPropertyValue("isCompletedBefore",!1)},set:function(e){this.setPropertyValue("isCompletedBefore",e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isLoading",{get:function(){return this.getPropertyValue("isLoading",!1)},set:function(e){this.setPropertyValue("isLoading",e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"completedState",{get:function(){return this.completedStateValue},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"completedStateText",{get:function(){return this.completedStateTextValue},enumerable:!1,configurable:!0}),t.prototype.setCompletedState=function(e,t){this.completedStateValue=e,t||("saving"==e&&(t=this.getLocString("savingData")),"error"==e&&(t=this.getLocString("savingDataError")),"success"==e&&(t=this.getLocString("savingDataSuccess"))),this.completedStateTextValue=t},t.prototype.clear=function(e,t){void 0===e&&(e=!0),void 0===t&&(t=!0),e&&(this.data=null,this.variablesHash={}),this.timeSpent=0;for(var n=0;n0&&(this.currentPage=this.visiblePages[0]),e&&this.updateValuesWithDefaults()},t.prototype.mergeValues=function(e,t){if(t&&e&&"object"===typeof t)for(var n in e){var r=e[n];r&&"object"===typeof r?(t[n]||(t[n]={}),this.mergeValues(r,t[n])):t[n]=r}},t.prototype.updateValuesWithDefaults=function(){if(!this.isDesignMode&&!this.isLoading)for(var e=0;e1?Math.ceil(100*e.requiredAnsweredQuestionCount/e.requiredQuestionCount):100:e.questionCount>1?Math.ceil(100*e.answeredQuestionCount/e.questionCount):100}var t=this.visiblePages.indexOf(this.currentPage)+1;return Math.ceil(100*t/this.visiblePageCount)},Object.defineProperty(t.prototype,"progressValue",{get:function(){return this.getPropertyValue("progressValue",0)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isNavigationButtonsShowing",{get:function(){if(this.isDesignMode)return"none";var e=this.currentPage;return e?"show"===e.navigationButtonsVisibility?"bottom":"hide"===e.navigationButtonsVisibility?"none":this.showNavigationButtons:"none"},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isNavigationButtonsShowingOnTop",{get:function(){return this.getIsNavigationButtonsShowingOn("top")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isNavigationButtonsShowingOnBottom",{get:function(){return this.getIsNavigationButtonsShowingOn("bottom")},enumerable:!1,configurable:!0}),t.prototype.getIsNavigationButtonsShowingOn=function(e){var t=this.isNavigationButtonsShowing;return"both"==t||t==e},Object.defineProperty(t.prototype,"isEditMode",{get:function(){return"edit"==this.mode},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isCompleteButtonVisible",{get:function(){return this.isEditMode&&(!this.isShowPreviewBeforeComplete||"preview"==this.state)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isPreviewButtonVisible",{get:function(){return this.isEditMode&&this.isShowPreviewBeforeComplete&&"running"==this.state},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isCancelPreviewButtonVisible",{get:function(){return this.isEditMode&&this.isShowPreviewBeforeComplete&&"preview"==this.state},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isDisplayMode",{get:function(){return"display"==this.mode||"preview"==this.state},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isUpdateValueTextOnTyping",{get:function(){return"onTyping"==this.textUpdateMode},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isDesignMode",{get:function(){return this._isDesignMode},enumerable:!1,configurable:!0}),t.prototype.setDesignMode=function(e){this._isDesignMode=e,this.onQuestionsOnPageModeChanged("standard")},Object.defineProperty(t.prototype,"showInvisibleElements",{get:function(){return this.getPropertyValue("showInvisibleElements",!1)},set:function(e){var t=this.visiblePages;this.setPropertyValue("showInvisibleElements",e),this.isLoadingFromJson||(this.runConditions(),this.updateAllElementsVisibility(t))},enumerable:!1,configurable:!0}),t.prototype.updateAllElementsVisibility=function(e){for(var t=0;t-1!=n.isVisible&&this.onPageVisibleChanged.fire(this,{page:n,visible:n.isVisible})}},Object.defineProperty(t.prototype,"areInvisibleElementsShowing",{get:function(){return this.isDesignMode||this.showInvisibleElements},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"areEmptyElementsHidden",{get:function(){return this.isShowingPreview&&"showAnsweredQuestions"==this.showPreviewBeforeComplete},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"hasCookie",{get:function(){if(!this.cookieName||"undefined"===typeof document)return!1;var e=document.cookie;return e&&e.indexOf(this.cookieName+"=true")>-1},enumerable:!1,configurable:!0}),t.prototype.setCookie=function(){this.cookieName&&"undefined"!==typeof document&&(document.cookie=this.cookieName+"=true; expires=Fri, 31 Dec 9999 0:0:0 GMT")},t.prototype.deleteCookie=function(){this.cookieName&&(document.cookie=this.cookieName+"=;")},t.prototype.nextPage=function(){return!this.isLastPage&&this.doCurrentPageComplete(!1)},t.prototype.hasErrorsOnNavigate=function(e){var t=this;if(this.ignoreValidation||!this.isEditMode)return!1;var n=function(n){n||t.doCurrentPageCompleteCore(e)};return"onComplete"===this.checkErrorsMode?!!this.isLastPage&&!1!==this.hasErrors(!0,!0,n):!1!==this.hasCurrentPageErrors(n)},t.prototype.checkForAsyncQuestionValidation=function(e,t){var n=this;this.clearAsyncValidationQuesitons();for(var r=0;r0},t.prototype.clearAsyncValidationQuesitons=function(){if(this.asyncValidationQuesitons)for(var e=this.asyncValidationQuesitons,t=0;t0){a[s].focus(!0);break}}return i||!n?i:!!this.checkForAsyncQuestionValidation(this.getAllQuestions(),(function(e){return n(e)}))&&void 0},t.prototype.ensureUniqueNames=function(e){if(void 0===e&&(e=null),null==e)for(var t=0;t0&&e[t-1]>="0"&&e[t-1]<="9")t--;var n=e.substr(0,t),r=0;return t0){n.push(i);for(var s=0;s0&&(e=this.visiblePageCount-1),null!==e&&(this.currentPage=e))},t.prototype.cancelPreviewByPage=function(e){this.cancelPreview(e["originalPage"])},t.prototype.doCurrentPageComplete=function(e){return!this.isValidatingOnServer&&(this.resetNavigationButton(),!this.hasErrorsOnNavigate(e)&&this.doCurrentPageCompleteCore(e))},t.prototype.doCurrentPageCompleteCore=function(e){return!this.doServerValidation(e)&&(e?(this.currentPage.passed=!0,this.doComplete()):this.doNextPage(),!0)},Object.defineProperty(t.prototype,"isSinglePage",{get:function(){return"singlePage"==this.questionsOnPageMode},set:function(e){this.questionsOnPageMode=e?"singlePage":"standard"},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"questionsOnPageMode",{get:function(){return this.getPropertyValue("questionsOnPageMode","standard")},set:function(e){this.setPropertyValue("questionsOnPageMode",e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"firstPageIsStarted",{get:function(){return this.getPropertyValue("firstPageIsStarted",!1)},set:function(e){this.setPropertyValue("firstPageIsStarted",e)},enumerable:!1,configurable:!0}),t.prototype.isPageStarted=function(e){return this.firstPageIsStarted&&this.pages.length>0&&this.pages[0]===e},Object.defineProperty(t.prototype,"showPreviewBeforeComplete",{get:function(){return this.getPropertyValue("showPreviewBeforeComplete","noPreview")},set:function(e){this.setPropertyValue("showPreviewBeforeComplete",e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isShowPreviewBeforeComplete",{get:function(){var e=this.showPreviewBeforeComplete;return"showAllQuestions"==e||"showAnsweredQuestions"==e},enumerable:!1,configurable:!0}),t.prototype.onFirstPageIsStartedChanged=function(){0!=this.pages.length&&(this.isStartedState=this.firstPageIsStarted,this.pageVisibilityChanged(this.pages[0],!this.firstPageIsStarted))},t.prototype.onShowingPreviewChanged=function(){this.isDesignMode||(this.isShowingPreview?(this.runningPages=this.pages.slice(0,this.pages.length),this.setupPagesForPageModes(!0)):(this.runningPages&&this.restoreOrigionalPages(this.runningPages),this.runningPages=void 0),this.runConditions(),this.updateAllElementsVisibility(this.pages),this.updateVisibleIndexes(),this.currentPageNo=0)},t.prototype.onQuestionsOnPageModeChanged=function(e){this.isShowingPreview||("standard"==this.questionsOnPageMode||this.isDesignMode?(this.origionalPages&&this.restoreOrigionalPages(this.origionalPages),this.origionalPages=void 0):(e&&"standard"!=e||(this.origionalPages=this.pages.slice(0,this.pages.length)),this.setupPagesForPageModes(this.isSinglePage)),this.runConditions(),this.updateVisibleIndexes())},t.prototype.restoreOrigionalPages=function(e){this.questionHashesClear(),this.pages.splice(0,this.pages.length);for(var t=0;t"+this.getLocString("completingSurvey")+""},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"processedCompletedBeforeHtml",{get:function(){return this.completedBeforeHtml?this.processHtml(this.completedBeforeHtml):"

"+this.getLocString("completingSurveyBefore")+"

"},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"processedLoadingHtml",{get:function(){return this.loadingHtml?this.processHtml(this.loadingHtml):"

"+this.getLocString("loadingSurvey")+"

"},enumerable:!1,configurable:!0}),t.prototype.getProgressInfo=function(){var e=this.isDesignMode?this.pages:this.visiblePages;return i["SurveyElement"].getProgressInfoByElements(e,!1)},Object.defineProperty(t.prototype,"progressText",{get:function(){var e=this.getPropertyValue("progressText","");return e||(this.updateProgressText(),e=this.getPropertyValue("progressText","")),e},enumerable:!1,configurable:!0}),t.prototype.updateProgressText=function(e){void 0===e&&(e=!1),this.isCalculatingProgressText||e&&"pages"==this.progressBarType&&this.onProgressText.isEmpty||(this.isCalculatingProgressText=!0,this.setPropertyValue("progressText",this.getProgressText()),this.setPropertyValue("progressValue",this.getProgress()),this.isCalculatingProgressText=!1)},t.prototype.getProgressText=function(){if(!this.isDesignMode&&null==this.currentPage)return"";var e={questionCount:0,answeredQuestionCount:0,requiredQuestionCount:0,requiredAnsweredQuestionCount:0,text:""},t=this.progressBarType.toLowerCase();if("questions"===t||"requiredquestions"===t||"correctquestions"===t||!this.onProgressText.isEmpty){var n=this.getProgressInfo();e.questionCount=n.questionCount,e.answeredQuestionCount=n.answeredQuestionCount,e.requiredQuestionCount=n.requiredQuestionCount,e.requiredAnsweredQuestionCount=n.requiredAnsweredQuestionCount}return e.text=this.getProgressTextCore(e),this.onProgressText.fire(this,e),e.text},t.prototype.getProgressTextCore=function(e){var t=this.progressBarType.toLowerCase();if("questions"===t)return this.getLocString("questionsProgressText")["format"](e.answeredQuestionCount,e.questionCount);if("requiredquestions"===t)return this.getLocString("questionsProgressText")["format"](e.requiredAnsweredQuestionCount,e.requiredQuestionCount);if("correctquestions"===t){var n=this.getCorrectedAnswerCount();return this.getLocString("questionsProgressText")["format"](n,e.questionCount)}var r=this.isDesignMode?this.pages:this.visiblePages,o=this.isDesignMode?1:r.indexOf(this.currentPage)+1;return this.getLocString("progressText")["format"](o,r.length)},t.prototype.afterRenderSurvey=function(e){this.onAfterRenderSurvey.fire(this,{survey:this,htmlElement:e})},t.prototype.updateQuestionCssClasses=function(e,t){this.onUpdateQuestionCssClasses.fire(this,{question:e,cssClasses:t})},t.prototype.updatePanelCssClasses=function(e,t){this.onUpdatePanelCssClasses.fire(this,{panel:e,cssClasses:t})},t.prototype.updatePageCssClasses=function(e,t){this.onUpdatePageCssClasses.fire(this,{page:e,cssClasses:t})},t.prototype.afterRenderPage=function(e){this.onAfterRenderPage.isEmpty||this.onAfterRenderPage.fire(this,{page:this.activePage,htmlElement:e})},t.prototype.afterRenderHeader=function(e){this.onAfterRenderHeader.isEmpty||this.onAfterRenderHeader.fire(this,{htmlElement:e})},t.prototype.afterRenderQuestion=function(e,t){this.onAfterRenderQuestion.fire(this,{question:e,htmlElement:t})},t.prototype.afterRenderQuestionInput=function(e,t){if(!this.onAfterRenderQuestionInput.isEmpty){var n=e.inputId;if(n&&t.id!==n&&"undefined"!==typeof document){var r=document.getElementById(n);r&&(t=r)}this.onAfterRenderQuestionInput.fire(this,{question:e,htmlElement:t})}},t.prototype.afterRenderPanel=function(e,t){this.onAfterRenderPanel.fire(this,{panel:e,htmlElement:t})},t.prototype.matrixBeforeRowAdded=function(e){this.onMatrixBeforeRowAdded.fire(this,e)},t.prototype.matrixRowAdded=function(e,t){this.onMatrixRowAdded.fire(this,{question:e,row:t})},t.prototype.getQuestionByValueNameFromArray=function(e,t,n){var r=this.getQuestionsByValueName(e);if(r){for(var o=0;o=this.pages.length?this.pages.push(e):this.pages.splice(t,0,e))},t.prototype.addNewPage=function(e,t){void 0===e&&(e=null),void 0===t&&(t=-1);var n=this.createNewPage(e);return this.addPage(n,t),n},t.prototype.removePage=function(e){var t=this.pages.indexOf(e);t<0||(this.pages.splice(t,1),this.currentPageValue==e&&(this.currentPage=this.pages.length>0?this.pages[0]:null))},t.prototype.getQuestionByName=function(e,t){if(void 0===t&&(t=!1),!e)return null;t&&(e=e.toLowerCase());var n=t?this.questionHashes.namesInsensitive:this.questionHashes.names,r=n[e];return r?r[0]:null},t.prototype.getQuestionByValueName=function(e,t){void 0===t&&(t=!1);var n=this.getQuestionsByValueName(e,t);return n?n[0]:null},t.prototype.getQuestionsByValueName=function(e,t){void 0===t&&(t=!1);var n=t?this.questionHashes.valueNamesInsensitive:this.questionHashes.valueNames,r=n[e];return r||null},t.prototype.getCalculatedValueByName=function(e){for(var t=0;t0&&e.push(i)}return e},t.prototype.getPanelByName=function(e,t){void 0===t&&(t=!1);var n=this.getAllPanels();t&&(e=e.toLowerCase());for(var r=0;r0)&&this.checkQuestionErrorOnValueChangedCore(e)},t.prototype.checkQuestionErrorOnValueChangedCore=function(e){var t=e.getAllErrors().length,n=e.hasErrors(!0,{isOnValueChanged:!this.isValidateOnValueChanging});return e.page&&(t>0||e.getAllErrors().length>0)&&this.fireValidatedErrorsOnPage(e.page),n},t.prototype.checkErrorsOnValueChanging=function(e,t){if(this.isLoadingFromJson)return!1;var n=this.getQuestionsByValueName(e);if(!n)return!1;for(var r=!1,o=0;o0}return r},t.prototype.notifyQuestionOnValueChanged=function(e,t){if(!this.isLoadingFromJson){var n=this.getQuestionsByValueName(e);if(n)for(var r=0;r0&&(this.jsonErrors=t.errors)}},t.prototype.setJsonObject=function(e){this.fromJSON(e)},t.prototype.endLoadingFromJson=function(){this.isEndLoadingFromJson="processing",this.isStartedState=this.firstPageIsStarted,this.onQuestionsOnPageModeChanged("standard"),e.prototype.endLoadingFromJson.call(this),this.hasCookie&&this.doComplete(),this.doElementsOnLoad(),this.isEndLoadingFromJson="conditions",this.runConditions(),this.notifyElementsOnAnyValueOrVariableChanged(""),this.isEndLoadingFromJson=null,this.updateVisibleIndexes()},t.prototype.onBeforeCreating=function(){},t.prototype.onCreating=function(){},t.prototype.getProcessedTextValue=function(e){if(this.getProcessedTextValueCore(e),!this.onProcessTextValue.isEmpty){var t=this.isValueEmpty(e.value);this.onProcessTextValue.fire(this,e),e.isExists=e.isExists||t&&!this.isValueEmpty(e.value)}},t.prototype.getProcessedTextValueCore=function(e){var t=e.name.toLocaleLowerCase();if(-1===["no","require","title"].indexOf(t))if("pageno"!==t){if("pagecount"===t)return e.isExists=!0,void(e.value=this.visiblePageCount);if("locale"===t)return e.isExists=!0,void(e.value=this.locale?this.locale:d["surveyLocalization"].defaultLocale);if("correctedanswers"===t||"correctedanswercount"===t)return e.isExists=!0,void(e.value=this.getCorrectedAnswerCount());if("incorrectedanswers"===t||"incorrectedanswercount"===t)return e.isExists=!0,void(e.value=this.getInCorrectedAnswerCount());if("questioncount"===t)return e.isExists=!0,void(e.value=this.getQuizQuestionCount());var n=this.getVariable(t);if(void 0!==n)return e.isExists=!0,void(e.value=n);var r=this.getFirstName(t);if(r){e.isExists=!0;var o=r.getValueName().toLowerCase();t=o+t.substr(o.length),t=t.toLocaleLowerCase();var i={};return i[o]=e.returnDisplayValue?r.getDisplayValue(!1,void 0):r.value,void(e.value=(new u["ProcessValue"]).getValue(t,i))}var s=this.getValue(e.name);void 0!==s&&(e.isExists=!0,e.value=s)}else{e.isExists=!0;var a=this.currentPage;e.value=null!=a?this.visiblePages.indexOf(a)+1:0}},t.prototype.getFirstName=function(e){var t;e=e.toLowerCase();do{t=this.getQuestionByValueName(e,!0),e=this.reduceFirstName(e)}while(!t&&e);return t},t.prototype.reduceFirstName=function(e){var t=e.lastIndexOf("."),n=e.lastIndexOf("[");if(t<0&&n<0)return"";var r=Math.max(t,n);return e.substr(0,r)},t.prototype.clearUnusedValues=function(){for(var e=this.getAllQuestions(),t=0;t-1||e.indexOf("[")>-1)&&(new u["ProcessValue"]).hasValue(e,this.variablesHash)?(new u["ProcessValue"]).getValue(e,this.variablesHash):t},t.prototype.setVariable=function(e,t){e&&(e=e.toLowerCase(),this.variablesHash[e]=t,this.notifyElementsOnAnyValueOrVariableChanged(e),this.runConditionOnValueChanged(e,t))},t.prototype.getVariableNames=function(){var e=[];for(var t in this.variablesHash)e.push(t);return e},t.prototype.getUnbindValue=function(e){return this.editingObj?e:r["Helpers"].getUnbindValue(e)},t.prototype.getValue=function(e){if(!e||0==e.length)return null;var t=this.getDataValueCore(this.valuesHash,e);return this.getUnbindValue(t)},t.prototype.setValue=function(e,t,n,r){void 0===n&&(n=!1),void 0===r&&(r=!0);var o=t;if(r&&(o=this.questionOnValueChanging(e,t)),(!this.isValidateOnValueChanging||!this.checkErrorsOnValueChanging(e,o))&&(this.editingObj||!this.isValueEqual(e,o)||!this.isTwoValueEquals(o,t))){var i=this.getValue(e);this.isValueEmpty(o)?this.deleteDataValueCore(this.valuesHash,e):(o=this.getUnbindValue(o),this.setDataValueCore(this.valuesHash,e,o)),this.updateOnSetValue(e,o,i,n,r)}},t.prototype.updateOnSetValue=function(e,t,n,r,o){if(void 0===r&&(r=!1),void 0===o&&(o=!0),this.updateQuestionValue(e,t),!0!==r&&!this.isDisposed){var i={};i[e]={newValue:t,oldValue:n},this.runConditionOnValueChanged(e,t),this.checkTriggers(i,!1),o&&this.notifyQuestionOnValueChanged(e,t),"text"!==r&&this.tryGoNextPageAutomatic(e),this.updateProgressText(!0)}},t.prototype.isValueEqual=function(e,t){""!==t&&void 0!==t||(t=null);var n=this.getValue(e);return""!==n&&void 0!==n||(n=null),null===t||null===n?t===n:this.isTwoValueEquals(t,n)},t.prototype.doOnPageAdded=function(e){e.setSurveyImpl(this),e.name||(e.name=this.generateNewName(this.pages,"page")),this.questionHashesPanelAdded(e),this.updateVisibleIndexes(),this.isDesignMode&&this.updateProgressText();var t={page:e};this.onPageAdded.fire(this,t)},t.prototype.doOnPageRemoved=function(e){e.setSurveyImpl(null),this.updateVisibleIndexes(),this.isDesignMode&&this.updateProgressText()},t.prototype.generateNewName=function(e,t){for(var n={},r=0;r-1&&r.splice(o,1),0==r.length&&delete e[n]}},t.prototype.panelAdded=function(e,t,n,r){e.name||(e.name=this.generateNewName(this.getAllPanels(!1,!0),"panel")),this.questionHashesPanelAdded(e),this.updateVisibleIndexes(),this.onPanelAdded.fire(this,{panel:e,name:e.name,index:t,parentPanel:n,rootPanel:r})},t.prototype.panelRemoved=function(e){this.updateVisibleIndexes(),this.onPanelRemoved.fire(this,{panel:e,name:e.name})},t.prototype.validateQuestion=function(e){if(this.onValidateQuestion.isEmpty)return null;var t={name:e.name,question:e,value:e.value,error:null};return this.onValidateQuestion.fire(this,t),t.error?new p["CustomError"](t.error,this):null},t.prototype.validatePanel=function(e){if(this.onValidatePanel.isEmpty)return null;var t={name:e.name,panel:e,error:null};return this.onValidatePanel.fire(this,t),t.error?new p["CustomError"](t.error,this):null},t.prototype.processHtml=function(e){var t={html:e};return this.onProcessHtml.fire(this,t),this.processText(t.html,!0)},t.prototype.processText=function(e,t){return this.processTextEx(e,t,!1).text},t.prototype.processTextEx=function(e,t,n){var r={text:this.processTextCore(e,t,n),hasAllValuesOnLastRun:!0};return r.hasAllValuesOnLastRun=this.textPreProcessor.hasAllValuesOnLastRun,r},t.prototype.processTextCore=function(e,t,n){return void 0===n&&(n=!1),this.isDesignMode?e:this.textPreProcessor.process(e,t,n)},t.prototype.getSurveyMarkdownHtml=function(e,t,n){var r={element:e,text:t,name:n,html:null};return this.onTextMarkdown.fire(this,r),r.html},t.prototype.getCorrectedAnswerCount=function(){return this.getCorrectedAnswerCountCore(!0)},t.prototype.getQuizQuestionCount=function(){for(var e=this.getQuizQuestions(),t=0,n=0;n0&&this.maxTimeToFinish>0)return this.getLocString("timerLimitAll")["format"](t,o,n,i);var s=this.getTimerInfoPageText(e,t,o),a=this.getTimerInfoSurveyText(n,i);return s+" "+a}return""},t.prototype.getTimerInfoPageText=function(e,t,n){return this.getPageMaxTimeToFinish(e)>0?this.getLocString("timerLimitPage")["format"](t,n):this.getLocString("timerSpentPage")["format"](t,n)},t.prototype.getTimerInfoSurveyText=function(e,t){return this.maxTimeToFinish>0?this.getLocString("timerLimitSurvey")["format"](e,t):this.getLocString("timerSpentSurvey")["format"](e,t)},t.prototype.getDisplayTime=function(e){var t=Math.floor(e/60),n=e%60,r="";return t>0&&(r+=t+" "+this.getLocString("timerMin")),r&&0==n?r:(r&&(r+=" "),r+n+" "+this.getLocString("timerSec"))},t.prototype.startTimer=function(){if(!this.isTimerStarted&&!this.isDesignMode){var e=this;this.timerFunc=function(){e.doTimer()},this.isTimerStarted=!0,m["SurveyTimer"].instance.start(this.timerFunc)}},t.prototype.startTimerFromUI=function(){"none"!=this.showTimerPanel&&"running"===this.state&&this.startTimer()},t.prototype.stopTimer=function(){this.isTimerStarted&&(this.isTimerStarted=!1,m["SurveyTimer"].instance.stop(this.timerFunc))},Object.defineProperty(t.prototype,"maxTimeToFinish",{get:function(){return this.getPropertyValue("maxTimeToFinish",0)},set:function(e){this.setPropertyValue("maxTimeToFinish",e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"maxTimeToFinishPage",{get:function(){return this.getPropertyValue("maxTimeToFinishPage",0)},set:function(e){this.setPropertyValue("maxTimeToFinishPage",e)},enumerable:!1,configurable:!0}),t.prototype.getPageMaxTimeToFinish=function(e){return!e||e.maxTimeToFinish<0?0:e.maxTimeToFinish>0?e.maxTimeToFinish:this.maxTimeToFinishPage},t.prototype.doTimer=function(){var e=this.currentPage;if(e&&(e.timeSpent=e.timeSpent+1),this.timeSpent=this.timeSpent+1,this.onTimer.fire(this,{}),this.maxTimeToFinish>0&&this.maxTimeToFinish==this.timeSpent&&this.completeLastPage(),e){var t=this.getPageMaxTimeToFinish(e);t>0&&t==e.timeSpent&&(this.isLastPage?this.completeLastPage():this.nextPage())}},Object.defineProperty(t.prototype,"inSurvey",{get:function(){return!0},enumerable:!1,configurable:!0}),t.prototype.getSurveyData=function(){return this},t.prototype.getSurvey=function(){return this},t.prototype.getTextProcessor=function(){return this},t.prototype.getObjects=function(e,t){var n=[];return Array.prototype.push.apply(n,this.getPagesByNames(e)),Array.prototype.push.apply(n,this.getQuestionsByNames(t)),n},t.prototype.setTriggerValue=function(e,t,n){if(e)if(n)this.setVariable(e,t);else{var r=this.getQuestionByName(e);if(r)r.value=t;else{var o=new u["ProcessValue"],i=o.getFirstName(e);if(i==e)this.setValue(e,t);else{if(!this.getQuestionByName(i))return;var s=this.getUnbindValue(this.getFilteredValues());o.setValue(s,e,t),this.setValue(i,s[i])}}}},t.prototype.copyTriggerValue=function(e,t){if(e&&t){var n=new u["ProcessValue"],r=n.getValue(t,this.getFilteredValues());this.setTriggerValue(e,r,!1)}},t.prototype.focusQuestion=function(e){var t=this.getQuestionByName(e,!0);return!!(t&&t.isVisible&&t.page)&&(this.currentPage=t.page,setTimeout((function(){t.focus()})),!0)},t.prototype.getRowWrapperComponentName=function(e){return t.TemplateRendererComponentName},t.prototype.getRowWrapperComponentData=function(e){return e},t.prototype.getElementWrapperComponentName=function(e,n){return t.TemplateRendererComponentName},t.prototype.getElementWrapperComponentData=function(e,t){return e},t.prototype.getItemValueWrapperComponentName=function(e,n){return t.TemplateRendererComponentName},t.prototype.getItemValueWrapperComponentData=function(e,t){return e},t.prototype.getMatrixCellTemplateData=function(e){return e.question},t.prototype.searchText=function(e){e&&(e=e.toLowerCase());for(var t=[],n=0;n=this.survey.visiblePages.length)){var t=this.survey.visiblePages[e].passed?this.survey.css.progressButtonsListElementPassed:"";return this.survey.currentPageNo===e&&(t+=""!==t?" ":"",t+=this.survey.css.progressButtonsListElementCurrent),this.isListElementClickable(e)||(t+=""!==t?" ":"",t+=this.survey.css.progressButtonsListElementNonClickable),t}},e.prototype.clickListElement=function(e){if(!this.survey.isDesignMode)if(ethis.survey.currentPageNo)for(var t=this.survey.currentPageNo;t0){n={};for(var r=0;r-1&&(o.clearTimeout(this.timerId),this.timerId=-1)},e.prototype.doTimer=function(){var e=this;this.timerId<0||(this.onTimer.fire(this,{}),this.timerId=o.setTimeout((function(){e.doTimer()})))},e.instanceValue=null,e}()},"./src/template-renderer.ts": /*!**********************************!*\ !*** ./src/template-renderer.ts ***! \**********************************/ /*! no exports provided */function(e,t,n){"use strict";n.r(t)},"./src/textPreProcessor.ts": /*!*********************************!*\ !*** ./src/textPreProcessor.ts ***! \*********************************/ /*! exports provided: TextPreProcessorItem, TextPreProcessorValue, TextPreProcessor, QuestionTextProcessor */function(e,t,n){"use strict";n.r(t),n.d(t,"TextPreProcessorItem",(function(){return i})),n.d(t,"TextPreProcessorValue",(function(){return s})),n.d(t,"TextPreProcessor",(function(){return a})),n.d(t,"QuestionTextProcessor",(function(){return l}));var r=n(/*! ./helpers */"./src/helpers.ts"),o=n(/*! ./conditionProcessValue */"./src/conditionProcessValue.ts"),i=function(){function e(){}return e}(),s=function(){function e(e,t){this.name=e,this.returnDisplayValue=t,this.isExists=!1,this.canProcess=!0}return e}(),a=function(){function e(){}return e.prototype.process=function(e,t,n){if(void 0===t&&(t=!1),void 0===n&&(n=!1),this.hasAllValuesOnLastRunValue=!0,!e)return e;if(!this.onProcess)return e;for(var o=this.getItems(e),i=o.length-1;i>=0;i--){var a=o[i],l=this.getName(e.substring(a.start+1,a.end));if(l){var u=new s(l,t);if(this.onProcess(u),u.isExists){r["Helpers"].isValueEmpty(u.value)&&(this.hasAllValuesOnLastRunValue=!1);var c=r["Helpers"].isValueEmpty(u.value)?"":u.value;n&&(c=encodeURIComponent(c)),e=e.substr(0,a.start)+c+e.substr(a.end+1)}else u.canProcess&&(this.hasAllValuesOnLastRunValue=!1)}}return e},e.prototype.processValue=function(e,t){var n=new s(e,t);return this.onProcess&&this.onProcess(n),n},Object.defineProperty(e.prototype,"hasAllValuesOnLastRun",{get:function(){return!!this.hasAllValuesOnLastRunValue},enumerable:!1,configurable:!0}),e.prototype.getItems=function(e){for(var t=[],n=e.length,r=-1,o="",s=0;s-1){var a=new i;a.start=r,a.end=s,t.push(a)}r=-1}return t},e.prototype.getName=function(e){if(e)return e.trim()},e}(),l=function(){function e(e){var t=this;this.variableName=e,this.textPreProcessor=new a,this.textPreProcessor.onProcess=function(e){t.getProcessedTextValue(e)}}return e.prototype.processValue=function(e,t){return this.textPreProcessor.processValue(e,t)},Object.defineProperty(e.prototype,"survey",{get:function(){return null},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"panel",{get:function(){return null},enumerable:!1,configurable:!0}),e.prototype.getValues=function(){return this.panel?this.panel.getValue():null},e.prototype.getQuestionByName=function(e){return this.panel?this.panel.getQuestionByValueName(e):null},e.prototype.onCustomProcessText=function(e){return!1},e.prototype.getProcessedTextValue=function(e){if(e&&!this.onCustomProcessText(e)){var t=(new o["ProcessValue"]).getFirstName(e.name);if(e.isExists=t==this.variableName,e.canProcess=e.isExists,e.canProcess){e.name=e.name.replace(this.variableName+".","");t=(new o["ProcessValue"]).getFirstName(e.name);var n=this.getQuestionByName(t),r={};if(n)r[t]=e.returnDisplayValue?n.displayValue:n.value;else{var i=this.panel?this.getValues():null;i&&(r[t]=i[t])}e.value=(new o["ProcessValue"]).getValue(e.name,r)}}},e.prototype.processText=function(e,t){e=this.textPreProcessor.process(e,t);var n=this.survey;return n?n.processText(e,t):e},e.prototype.processTextEx=function(e,t){e=this.processText(e,t);var n=this.textPreProcessor.hasAllValuesOnLastRun,r={hasAllValuesOnLastRun:!0,text:e};return this.survey&&(r=this.survey.processTextEx(e,t,!1)),r.hasAllValuesOnLastRun=r.hasAllValuesOnLastRun&&n,r},e}()},"./src/trigger.ts": /*!************************!*\ !*** ./src/trigger.ts ***! \************************/ /*! exports provided: Trigger, SurveyTrigger, SurveyTriggerVisible, SurveyTriggerComplete, SurveyTriggerSetValue, SurveyTriggerSkip, SurveyTriggerRunExpression, SurveyTriggerCopyValue */function(e,t,n){"use strict";n.r(t),n.d(t,"Trigger",(function(){return d})),n.d(t,"SurveyTrigger",(function(){return p})),n.d(t,"SurveyTriggerVisible",(function(){return h})),n.d(t,"SurveyTriggerComplete",(function(){return f})),n.d(t,"SurveyTriggerSetValue",(function(){return m})),n.d(t,"SurveyTriggerSkip",(function(){return v})),n.d(t,"SurveyTriggerRunExpression",(function(){return g})),n.d(t,"SurveyTriggerCopyValue",(function(){return y}));var r=n(/*! ./helpers */"./src/helpers.ts"),o=n(/*! ./base */"./src/base.ts"),i=n(/*! ./jsonobject */"./src/jsonobject.ts"),s=n(/*! ./conditions */"./src/conditions.ts"),a=n(/*! ./expressions/expressions */"./src/expressions/expressions.ts"),l=n(/*! ./conditionProcessValue */"./src/conditionProcessValue.ts"),u=n(/*! ./settings */"./src/settings.ts"),c=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){if("function"!==typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),d=function(e){function t(){var t=e.call(this)||this;t.usedNames=[];var n=t;return t.registerFunctionOnPropertiesValueChanged(["operator","value","name"],(function(){n.oldPropertiesChanged()})),t.registerFunctionOnPropertyValueChanged("expression",(function(){n.onExpressionChanged()})),t}return c(t,e),Object.defineProperty(t,"operators",{get:function(){return null!=t.operatorsValue||(t.operatorsValue={empty:function(e,t){return!e},notempty:function(e,t){return!!e},equal:function(e,t){return e==t},notequal:function(e,t){return e!=t},contains:function(e,t){return e&&e["indexOf"]&&e.indexOf(t)>-1},notcontains:function(e,t){return!e||!e["indexOf"]||-1==e.indexOf(t)},greater:function(e,t){return e>t},less:function(e,t){return e=t},lessorequal:function(e,t){return e<=t}}),t.operatorsValue},enumerable:!1,configurable:!0}),t.prototype.getType=function(){return"triggerbase"},t.prototype.toString=function(){var e=this.getType().replace("trigger",""),t=this.expression?this.expression:this.buildExpression();return t&&(e+=", "+t),e},Object.defineProperty(t.prototype,"operator",{get:function(){return this.getPropertyValue("operator","equal")},set:function(e){e&&(e=e.toLowerCase(),t.operators[e]&&this.setPropertyValue("operator",e))},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"value",{get:function(){return this.getPropertyValue("value",null)},set:function(e){this.setPropertyValue("value",e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"name",{get:function(){return this.getPropertyValue("name","")},set:function(e){this.setPropertyValue("name",e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"expression",{get:function(){return this.getPropertyValue("expression","")},set:function(e){this.setPropertyValue("expression",e)},enumerable:!1,configurable:!0}),t.prototype.checkExpression=function(e,t,n){void 0===n&&(n=null),this.isCheckRequired(e)&&this.conditionRunner&&this.perform(t,n)},t.prototype.check=function(e){var n=t.operators[this.operator](e,this.value);n?this.onSuccess({},null):this.onFailure()},t.prototype.perform=function(e,t){var n=this;this.conditionRunner.onRunComplete=function(r){n.triggerResult(r,e,t)},this.conditionRunner.run(e,t)},t.prototype.triggerResult=function(e,t,n){e?this.onSuccess(t,n):this.onFailure()},t.prototype.onSuccess=function(e,t){},t.prototype.onFailure=function(){},t.prototype.endLoadingFromJson=function(){e.prototype.endLoadingFromJson.call(this),this.oldPropertiesChanged()},t.prototype.oldPropertiesChanged=function(){this.onExpressionChanged()},t.prototype.onExpressionChanged=function(){this.usedNames=[],this.hasFunction=!1,this.conditionRunner=null},t.prototype.buildExpression=function(){return this.name?this.isValueEmpty(this.value)&&this.isRequireValue?"":"{"+this.name+"} "+this.operator+" "+a["OperandMaker"].toOperandString(this.value):""},t.prototype.isCheckRequired=function(e){if(!e)return!1;if(this.buildUsedNames(),!0===this.hasFunction)return!0;for(var t=new l["ProcessValue"],n=0;ne)return r;n+=t[r]}return r},e.prototype.process=function(){var e=this.getDimensions(this.container),t=e.scroll-e.offset;this.previousVisibleItemsCountthis.IGNORE_SHRINK_LIMIT_PX){this.model.canShrink&&(this._itemsSizes=void 0,this.model.shrink());var r=this.getVisibleItemsCount(this.getAvailableSpace());this.previousVisibleItemsCount!==r&&(this.model.showFirstN(r),this.previousVisibleItemsCount=r)}else this.model.canGrow&&t<=0&&n-this.previousParentOffset>this.dotsItemSize&&(this._itemsSizes=void 0,this.model.grow()),this.model.showFirstN(Number.MAX_VALUE),this.previousVisibleItemsCount=Number.MAX_VALUE;this.previousParentOffset=n}},e.prototype.dispose=function(){this.resizeObserver.disconnect()},e}(),i=function(e){function t(t,n,r,o){return e.call(this,t,n,r,o)||this}return r(t,e),t.prototype.getDimensions=function(){return{scroll:this.container.scrollHeight,offset:this.container.offsetHeight}},t.prototype.getAvailableSpace=function(){var e=this.getComputedStyle(this.container),t=this.container.offsetHeight;return"border-box"===e.boxSizing&&(t-=parseFloat(e.paddingTop)+parseFloat(e.paddingBottom)),t},t.prototype.calcItemSize=function(e){return e.offsetHeight},t}(o)},"./src/utils/utils.ts": /*!****************************!*\ !*** ./src/utils/utils.ts ***! \****************************/ /*! exports provided: unwrap, compareVersions, confirmAction, detectIEOrEdge, detectIEBrowser, loadFileFromBase64, isMobile, isElementVisible, findScrollableParent, createSvg */function(e,t,n){"use strict";n.r(t),n.d(t,"unwrap",(function(){return h})),n.d(t,"compareVersions",(function(){return o})),n.d(t,"confirmAction",(function(){return i})),n.d(t,"detectIEOrEdge",(function(){return a})),n.d(t,"detectIEBrowser",(function(){return s})),n.d(t,"loadFileFromBase64",(function(){return l})),n.d(t,"isMobile",(function(){return u})),n.d(t,"isElementVisible",(function(){return c})),n.d(t,"findScrollableParent",(function(){return d})),n.d(t,"createSvg",(function(){return p}));var r=n(/*! ./../settings */"./src/settings.ts");function o(e,t){var n,r,o=/(\.0+)+$/,i=e.replace(o,"").split("."),s=t.replace(o,"").split("."),a=Math.min(i.length,s.length);for(n=0;n-1||n>-1}function a(){if("undefined"===typeof window)return!1;if("undefined"==typeof a.isIEOrEdge){var e=window.navigator.userAgent,t=e.indexOf("MSIE "),n=e.indexOf("Trident/"),r=e.indexOf("Edge/");a.isIEOrEdge=r>0||n>0||t>0}return a.isIEOrEdge}function l(e,t){try{for(var n=atob(e.split(",")[1]),r=e.split(",")[0].split(":")[1].split(";")[0],o=new ArrayBuffer(n.length),i=new Uint8Array(o),s=0;se.clientHeight&&("scroll"===getComputedStyle(e).overflowY||"auto"===getComputedStyle(e).overflowY)?e:d(e.parentElement):document.documentElement}function p(e,t,n,r,o){o.style.width=(e||t||16)+"px",o.style.height=(e||n||16)+"px";var i=o.childNodes[0];i.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href","#"+r)}function h(e){return"function"!==typeof e?e:e()}},"./src/validator.ts": /*!**************************!*\ !*** ./src/validator.ts ***! \**************************/ /*! exports provided: ValidatorResult, SurveyValidator, ValidatorRunner, NumericValidator, TextValidator, AnswerCountValidator, RegexValidator, EmailValidator, ExpressionValidator */function(e,t,n){"use strict";n.r(t),n.d(t,"ValidatorResult",(function(){return c})),n.d(t,"SurveyValidator",(function(){return d})),n.d(t,"ValidatorRunner",(function(){return p})),n.d(t,"NumericValidator",(function(){return h})),n.d(t,"TextValidator",(function(){return f})),n.d(t,"AnswerCountValidator",(function(){return m})),n.d(t,"RegexValidator",(function(){return v})),n.d(t,"EmailValidator",(function(){return g})),n.d(t,"ExpressionValidator",(function(){return y}));var r=n(/*! ./base */"./src/base.ts"),o=n(/*! ./error */"./src/error.ts"),i=n(/*! ./surveyStrings */"./src/surveyStrings.ts"),s=n(/*! ./jsonobject */"./src/jsonobject.ts"),a=n(/*! ./conditions */"./src/conditions.ts"),l=n(/*! ./helpers */"./src/helpers.ts"),u=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){if("function"!==typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),c=function(){function e(e,t){void 0===t&&(t=null),this.value=e,this.error=t}return e}(),d=function(e){function t(){var t=e.call(this)||this;return t.createLocalizableString("text",t,!0),t}return u(t,e),t.prototype.getSurvey=function(e){return void 0===e&&(e=!1),this.errorOwner&&this.errorOwner["getSurvey"]?this.errorOwner.getSurvey():null},Object.defineProperty(t.prototype,"text",{get:function(){return this.getLocalizableStringText("text")},set:function(e){this.setLocalizableStringText("text",e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isValidateAllValues",{get:function(){return!1},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"locText",{get:function(){return this.getLocalizableString("text")},enumerable:!1,configurable:!0}),t.prototype.getErrorText=function(e){return this.text?this.text:this.getDefaultErrorText(e)},t.prototype.getDefaultErrorText=function(e){return""},t.prototype.validate=function(e,t,n,r){return void 0===t&&(t=null),void 0===n&&(n=null),void 0===r&&(r=null),null},Object.defineProperty(t.prototype,"isRunning",{get:function(){return!1},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isAsync",{get:function(){return!1},enumerable:!1,configurable:!0}),t.prototype.getLocale=function(){return this.errorOwner?this.errorOwner.getLocale():""},t.prototype.getMarkdownHtml=function(e,t){return this.errorOwner?this.errorOwner.getMarkdownHtml(e,t):null},t.prototype.getRenderer=function(e){return this.errorOwner?this.errorOwner.getRenderer(e):null},t.prototype.getProcessedText=function(e){return this.errorOwner?this.errorOwner.getProcessedText(e):e},t.prototype.createCustomError=function(e){return new o["CustomError"](this.getErrorText(e),this.errorOwner)},t.prototype.toString=function(){var e=this.getType().replace("validator","");return this.text&&(e+=", "+this.text),e},t}(r["Base"]),p=function(){function e(){}return e.prototype.run=function(e){var t=this,n=[],r=null,o=null;this.prepareAsyncValidators();for(var i=[],s=e.getValidators(),a=0;ai.value||null!==this.maxValue&&this.maxValue0&&e.length0&&e.length>this.maxLength?new c(null,this.createCustomError(t)):null},t.prototype.getDefaultErrorText=function(e){return this.minLength>0&&this.maxLength>0?i["surveyLocalization"].getString("textMinMaxLength")["format"](this.minLength,this.maxLength):this.minLength>0?i["surveyLocalization"].getString("textMinLength")["format"](this.minLength):i["surveyLocalization"].getString("textMaxLength")["format"](this.maxLength)},Object.defineProperty(t.prototype,"minLength",{get:function(){return this.getPropertyValue("minLength")},set:function(e){this.setPropertyValue("minLength",e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"maxLength",{get:function(){return this.getPropertyValue("maxLength")},set:function(e){this.setPropertyValue("maxLength",e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"allowDigits",{get:function(){return this.getPropertyValue("allowDigits",!0)},set:function(e){this.setPropertyValue("allowDigits",e)},enumerable:!1,configurable:!0}),t}(d),m=function(e){function t(t,n){void 0===t&&(t=null),void 0===n&&(n=null);var r=e.call(this)||this;return r.minCount=t,r.maxCount=n,r}return u(t,e),t.prototype.getType=function(){return"answercountvalidator"},t.prototype.validate=function(e,t,n,r){if(void 0===t&&(t=null),void 0===n&&(n=null),void 0===r&&(r=null),null==e||e.constructor!=Array)return null;var o=e.length;return this.minCount&&othis.maxCount?new c(null,this.createCustomError(i["surveyLocalization"].getString("maxSelectError")["format"](this.maxCount))):null},t.prototype.getDefaultErrorText=function(e){return e},Object.defineProperty(t.prototype,"minCount",{get:function(){return this.getPropertyValue("minCount")},set:function(e){this.setPropertyValue("minCount",e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"maxCount",{get:function(){return this.getPropertyValue("maxCount")},set:function(e){this.setPropertyValue("maxCount",e)},enumerable:!1,configurable:!0}),t}(d),v=function(e){function t(t){void 0===t&&(t=null);var n=e.call(this)||this;return n.regex=t,n}return u(t,e),t.prototype.getType=function(){return"regexvalidator"},t.prototype.validate=function(e,t,n,r){if(void 0===t&&(t=null),void 0===n&&(n=null),void 0===r&&(r=null),!this.regex||this.isValueEmpty(e))return null;var o=new RegExp(this.regex);if(Array.isArray(e))for(var i=0;i()\[\]\.,;:\s@\"]+(\.[^<>()\[\]\.,;:\s@\"]+)*)|(\".+\"))@(([^<>()=[\]\.,;:\s@\"]+\.)+[^<>()=[\]\.,;:\s@\"]{2,})$/i,t}return u(t,e),t.prototype.getType=function(){return"emailvalidator"},t.prototype.validate=function(e,t,n,r){return void 0===t&&(t=null),void 0===n&&(n=null),void 0===r&&(r=null),e?this.re.test(e)?null:new c(e,this.createCustomError(t)):null},t.prototype.getDefaultErrorText=function(e){return i["surveyLocalization"].getString("invalidEmail")},t}(d),y=function(e){function t(t){void 0===t&&(t=null);var n=e.call(this)||this;return n.conditionRunner=null,n.isRunningValue=!1,n.expression=t,n}return u(t,e),t.prototype.getType=function(){return"expressionvalidator"},Object.defineProperty(t.prototype,"isValidateAllValues",{get:function(){return!0},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isAsync",{get:function(){return!!this.ensureConditionRunner()&&this.conditionRunner.isAsync},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isRunning",{get:function(){return this.isRunningValue},enumerable:!1,configurable:!0}),t.prototype.validate=function(e,t,n,r){var o=this;if(void 0===t&&(t=null),void 0===n&&(n=null),void 0===r&&(r=null),!this.ensureConditionRunner())return null;this.conditionRunner.onRunComplete=function(n){o.isRunningValue=!1,o.onAsyncCompleted&&o.onAsyncCompleted(o.generateError(n,e,t))},this.isRunningValue=!0;var i=this.conditionRunner.run(n,r);return this.conditionRunner.isAsync?null:(this.isRunningValue=!1,this.generateError(i,e,t))},t.prototype.generateError=function(e,t,n){return e?null:new c(t,this.createCustomError(n))},t.prototype.getDefaultErrorText=function(e){return i["surveyLocalization"].getString("invalidExpression")["format"](this.expression)},t.prototype.ensureConditionRunner=function(){return this.conditionRunner?(this.conditionRunner.expression=this.expression,!0):!!this.expression&&(this.conditionRunner=new a["ConditionRunner"](this.expression),!0)},Object.defineProperty(t.prototype,"expression",{get:function(){return this.getPropertyValue("expression")},set:function(e){this.setPropertyValue("expression",e)},enumerable:!1,configurable:!0}),t}(d);s["Serializer"].addClass("surveyvalidator",[{name:"text",serializationProperty:"locText"}]),s["Serializer"].addClass("numericvalidator",["minValue:number","maxValue:number"],(function(){return new h}),"surveyvalidator"),s["Serializer"].addClass("textvalidator",["minLength:number","maxLength:number","allowDigits:boolean"],(function(){return new f}),"surveyvalidator"),s["Serializer"].addClass("answercountvalidator",["minCount:number","maxCount:number"],(function(){return new m}),"surveyvalidator"),s["Serializer"].addClass("regexvalidator",["regex"],(function(){return new v}),"surveyvalidator"),s["Serializer"].addClass("emailvalidator",[],(function(){return new g}),"surveyvalidator"),s["Serializer"].addClass("expressionvalidator",["expression:condition"],(function(){return new y}),"surveyvalidator")},"./src/vue/base.ts": /*!*************************!*\ !*** ./src/vue/base.ts ***! \*************************/ /*! exports provided: BaseVue, default */function(e,t,n){"use strict";n.r(t),n.d(t,"BaseVue",(function(){return l}));var r=n(/*! vue */"vue"),o=n.n(r),i=n(/*! vue-property-decorator */"./node_modules/vue-property-decorator/lib/index.js"),s=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){if("function"!==typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),a=function(e,t,n,r){var o,i=arguments.length,s=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)s=Reflect.decorate(e,t,n,r);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(i<3?o(s):i>3?o(t,n,s):o(t,n))||s);return i>3&&s&&Object.defineProperty(t,n,s),s},l=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return s(t,e),t.prototype.getModel=function(){return null},t.prototype.setIsRendering=function(e){var t=this.getModel();t&&(t.isRendering=e)},t.prototype.getIsRendering=function(){var e=this.getModel();return!!e&&!!e.isRendering},t.prototype.onMounted=function(){},t.prototype.onUpdated=function(){},t.prototype.onDestroyed=function(){},t.prototype.onCreated=function(){var e=this,t=this.getModel();t&&(t.iteratePropertiesHash((function(e,t){o.a.set(e,t,e[t])})),t.setPropertyValueCoreHandler=function(t,n,r){t.hasOwnProperty(n)&&e.getIsRendering()?t[n]=r:o.a.set(t,n,r)})},t.prototype.created=function(){this.onCreated()},t.prototype.beforeMount=function(){this.setIsRendering(!0)},t.prototype.beforeUpdate=function(){this.setIsRendering(!0)},t.prototype.mounted=function(){this.setIsRendering(!1),this.onMounted()},t.prototype.updated=function(){this.setIsRendering(!1),this.onUpdated()},t.prototype.destroyed=function(){this.onDestroyed()},t=a([i["Component"]],t),t}(o.a);t["default"]=l},"./src/vue/boolean-checkbox.vue": /*!**************************************!*\ !*** ./src/vue/boolean-checkbox.vue ***! \**************************************/ /*! exports provided: BooleanCheckbox, default */function(e,t,n){"use strict";n.r(t);var r=n(/*! ./boolean-checkbox.vue?vue&type=template&id=5ccd340a& */"./src/vue/boolean-checkbox.vue?vue&type=template&id=5ccd340a&"),o=n(/*! ./boolean-checkbox.vue?vue&type=script&lang=ts& */"./src/vue/boolean-checkbox.vue?vue&type=script&lang=ts&");n.d(t,"BooleanCheckbox",(function(){return o["BooleanCheckbox"]}));var i=n(/*! ../../node_modules/vue-loader/lib/runtime/componentNormalizer.js */"./node_modules/vue-loader/lib/runtime/componentNormalizer.js"),s=Object(i["default"])(o["default"],r["render"],r["staticRenderFns"],!1,null,null,null);s.options.__file="src/vue/boolean-checkbox.vue",t["default"]=s.exports},"./src/vue/boolean-checkbox.vue?vue&type=script&lang=ts&": /*!***************************************************************!*\ !*** ./src/vue/boolean-checkbox.vue?vue&type=script&lang=ts& ***! \***************************************************************/ /*! exports provided: default, BooleanCheckbox */function(e,t,n){"use strict";n.r(t);var r=n(/*! -!../../node_modules/ts-loader??ref--0!../../node_modules/vue-loader/lib??vue-loader-options!./boolean-checkbox.vue?vue&type=script&lang=ts& */"./node_modules/ts-loader/index.js?!./node_modules/vue-loader/lib/index.js?!./src/vue/boolean-checkbox.vue?vue&type=script&lang=ts&");n.d(t,"BooleanCheckbox",(function(){return r["BooleanCheckbox"]})),t["default"]=r["default"]},"./src/vue/boolean-checkbox.vue?vue&type=template&id=5ccd340a&": /*!*********************************************************************!*\ !*** ./src/vue/boolean-checkbox.vue?vue&type=template&id=5ccd340a& ***! \*********************************************************************/ /*! exports provided: render, staticRenderFns */function(e,t,n){"use strict";n.r(t);var r=n(/*! -!../../node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../node_modules/vue-loader/lib??vue-loader-options!./boolean-checkbox.vue?vue&type=template&id=5ccd340a& */"./node_modules/vue-loader/lib/loaders/templateLoader.js?!./node_modules/vue-loader/lib/index.js?!./src/vue/boolean-checkbox.vue?vue&type=template&id=5ccd340a&");n.d(t,"render",(function(){return r["render"]})),n.d(t,"staticRenderFns",(function(){return r["staticRenderFns"]}))},"./src/vue/boolean-switch.vue": /*!************************************!*\ !*** ./src/vue/boolean-switch.vue ***! \************************************/ /*! exports provided: BooleanSwitch, default */function(e,t,n){"use strict";n.r(t);var r=n(/*! ./boolean-switch.vue?vue&type=template&id=70e4aebb& */"./src/vue/boolean-switch.vue?vue&type=template&id=70e4aebb&"),o=n(/*! ./boolean-switch.vue?vue&type=script&lang=ts& */"./src/vue/boolean-switch.vue?vue&type=script&lang=ts&");n.d(t,"BooleanSwitch",(function(){return o["BooleanSwitch"]}));var i=n(/*! ../../node_modules/vue-loader/lib/runtime/componentNormalizer.js */"./node_modules/vue-loader/lib/runtime/componentNormalizer.js"),s=Object(i["default"])(o["default"],r["render"],r["staticRenderFns"],!1,null,null,null);s.options.__file="src/vue/boolean-switch.vue",t["default"]=s.exports},"./src/vue/boolean-switch.vue?vue&type=script&lang=ts&": /*!*************************************************************!*\ !*** ./src/vue/boolean-switch.vue?vue&type=script&lang=ts& ***! \*************************************************************/ /*! exports provided: default, BooleanSwitch */function(e,t,n){"use strict";n.r(t);var r=n(/*! -!../../node_modules/ts-loader??ref--0!../../node_modules/vue-loader/lib??vue-loader-options!./boolean-switch.vue?vue&type=script&lang=ts& */"./node_modules/ts-loader/index.js?!./node_modules/vue-loader/lib/index.js?!./src/vue/boolean-switch.vue?vue&type=script&lang=ts&");n.d(t,"BooleanSwitch",(function(){return r["BooleanSwitch"]})),t["default"]=r["default"]},"./src/vue/boolean-switch.vue?vue&type=template&id=70e4aebb&": /*!*******************************************************************!*\ !*** ./src/vue/boolean-switch.vue?vue&type=template&id=70e4aebb& ***! \*******************************************************************/ /*! exports provided: render, staticRenderFns */function(e,t,n){"use strict";n.r(t);var r=n(/*! -!../../node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../node_modules/vue-loader/lib??vue-loader-options!./boolean-switch.vue?vue&type=template&id=70e4aebb& */"./node_modules/vue-loader/lib/loaders/templateLoader.js?!./node_modules/vue-loader/lib/index.js?!./src/vue/boolean-switch.vue?vue&type=template&id=70e4aebb&");n.d(t,"render",(function(){return r["render"]})),n.d(t,"staticRenderFns",(function(){return r["staticRenderFns"]}))},"./src/vue/boolean.ts": /*!****************************!*\ !*** ./src/vue/boolean.ts ***! \****************************/ /*! exports provided: Boolean */function(e,t,n){"use strict";n.r(t),n.d(t,"Boolean",(function(){return a}));var r=n(/*! vue-property-decorator */"./node_modules/vue-property-decorator/lib/index.js"),o=n(/*! ./question */"./src/vue/question.ts"),i=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){if("function"!==typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),s=function(e,t,n,r){var o,i=arguments.length,s=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)s=Reflect.decorate(e,t,n,r);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(i<3?o(s):i>3?o(t,n,s):o(t,n))||s);return i>3&&s&&Object.defineProperty(t,n,s),s},a=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),Object.defineProperty(t.prototype,"itemClass",{get:function(){var e=this.question,t=e.cssClasses,n=e.checkedValue,r=e.isReadOnly,o=t.item;return r&&(o+=" "+t.itemDisabled),n?o+=" "+t.itemChecked:null===n&&(o+=" "+t.itemIndeterminate),o},enumerable:!1,configurable:!0}),t.prototype.getLabelClass=function(e){var t=this.question,n=this.question.cssClasses;return n.label+" "+(t.checkedValue===!e||t.isReadOnly?t.cssClasses.disabledLabel:"")},t.prototype.preventDefaults=function(e){e.preventDefault(),e.stopPropagation()},t.prototype.onSwitchClick=function(e){if(this.question.isIndeterminate){this.preventDefaults(e);var t=e.offsetX/e.target.offsetWidth>.5,n="rtl"==document.defaultView.getComputedStyle(e.target).direction;this.question.checkedValue=n?!t:t}},t.prototype.onLabelClick=function(e,t){this.question.isIndeterminate&&(this.preventDefaults(e),this.question.checkedValue=t)},t=s([r["Component"]],t),t}(o["default"])},"./src/vue/buttongroup.vue": /*!*********************************!*\ !*** ./src/vue/buttongroup.vue ***! \*********************************/ /*! exports provided: ButtonGroup, default */function(e,t,n){"use strict";n.r(t);var r=n(/*! ./buttongroup.vue?vue&type=template&id=6bdc7abb& */"./src/vue/buttongroup.vue?vue&type=template&id=6bdc7abb&"),o=n(/*! ./buttongroup.vue?vue&type=script&lang=ts& */"./src/vue/buttongroup.vue?vue&type=script&lang=ts&");n.d(t,"ButtonGroup",(function(){return o["ButtonGroup"]}));var i=n(/*! ../../node_modules/vue-loader/lib/runtime/componentNormalizer.js */"./node_modules/vue-loader/lib/runtime/componentNormalizer.js"),s=Object(i["default"])(o["default"],r["render"],r["staticRenderFns"],!1,null,null,null);s.options.__file="src/vue/buttongroup.vue",t["default"]=s.exports},"./src/vue/buttongroup.vue?vue&type=script&lang=ts&": /*!**********************************************************!*\ !*** ./src/vue/buttongroup.vue?vue&type=script&lang=ts& ***! \**********************************************************/ /*! exports provided: default, ButtonGroup */function(e,t,n){"use strict";n.r(t);var r=n(/*! -!../../node_modules/ts-loader??ref--0!../../node_modules/vue-loader/lib??vue-loader-options!./buttongroup.vue?vue&type=script&lang=ts& */"./node_modules/ts-loader/index.js?!./node_modules/vue-loader/lib/index.js?!./src/vue/buttongroup.vue?vue&type=script&lang=ts&");n.d(t,"ButtonGroup",(function(){return r["ButtonGroup"]})),t["default"]=r["default"]},"./src/vue/buttongroup.vue?vue&type=template&id=6bdc7abb&": /*!****************************************************************!*\ !*** ./src/vue/buttongroup.vue?vue&type=template&id=6bdc7abb& ***! \****************************************************************/ /*! exports provided: render, staticRenderFns */function(e,t,n){"use strict";n.r(t);var r=n(/*! -!../../node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../node_modules/vue-loader/lib??vue-loader-options!./buttongroup.vue?vue&type=template&id=6bdc7abb& */"./node_modules/vue-loader/lib/loaders/templateLoader.js?!./node_modules/vue-loader/lib/index.js?!./src/vue/buttongroup.vue?vue&type=template&id=6bdc7abb&");n.d(t,"render",(function(){return r["render"]})),n.d(t,"staticRenderFns",(function(){return r["staticRenderFns"]}))},"./src/vue/buttongroupitem.vue": /*!*************************************!*\ !*** ./src/vue/buttongroupitem.vue ***! \*************************************/ /*! exports provided: ButtonGroupItem, default */function(e,t,n){"use strict";n.r(t);var r=n(/*! ./buttongroupitem.vue?vue&type=template&id=4bad6ace& */"./src/vue/buttongroupitem.vue?vue&type=template&id=4bad6ace&"),o=n(/*! ./buttongroupitem.vue?vue&type=script&lang=ts& */"./src/vue/buttongroupitem.vue?vue&type=script&lang=ts&");n.d(t,"ButtonGroupItem",(function(){return o["ButtonGroupItem"]}));var i=n(/*! ../../node_modules/vue-loader/lib/runtime/componentNormalizer.js */"./node_modules/vue-loader/lib/runtime/componentNormalizer.js"),s=Object(i["default"])(o["default"],r["render"],r["staticRenderFns"],!1,null,null,null);s.options.__file="src/vue/buttongroupitem.vue",t["default"]=s.exports},"./src/vue/buttongroupitem.vue?vue&type=script&lang=ts&": /*!**************************************************************!*\ !*** ./src/vue/buttongroupitem.vue?vue&type=script&lang=ts& ***! \**************************************************************/ /*! exports provided: default, ButtonGroupItem */function(e,t,n){"use strict";n.r(t);var r=n(/*! -!../../node_modules/ts-loader??ref--0!../../node_modules/vue-loader/lib??vue-loader-options!./buttongroupitem.vue?vue&type=script&lang=ts& */"./node_modules/ts-loader/index.js?!./node_modules/vue-loader/lib/index.js?!./src/vue/buttongroupitem.vue?vue&type=script&lang=ts&");n.d(t,"ButtonGroupItem",(function(){return r["ButtonGroupItem"]})),t["default"]=r["default"]},"./src/vue/buttongroupitem.vue?vue&type=template&id=4bad6ace&": /*!********************************************************************!*\ !*** ./src/vue/buttongroupitem.vue?vue&type=template&id=4bad6ace& ***! \********************************************************************/ /*! exports provided: render, staticRenderFns */function(e,t,n){"use strict";n.r(t);var r=n(/*! -!../../node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../node_modules/vue-loader/lib??vue-loader-options!./buttongroupitem.vue?vue&type=template&id=4bad6ace& */"./node_modules/vue-loader/lib/loaders/templateLoader.js?!./node_modules/vue-loader/lib/index.js?!./src/vue/buttongroupitem.vue?vue&type=template&id=4bad6ace&");n.d(t,"render",(function(){return r["render"]})),n.d(t,"staticRenderFns",(function(){return r["staticRenderFns"]}))},"./src/vue/checkbox.vue": /*!******************************!*\ !*** ./src/vue/checkbox.vue ***! \******************************/ /*! exports provided: Checkbox, default */function(e,t,n){"use strict";n.r(t);var r=n(/*! ./checkbox.vue?vue&type=template&id=cad276f6& */"./src/vue/checkbox.vue?vue&type=template&id=cad276f6&"),o=n(/*! ./checkbox.vue?vue&type=script&lang=ts& */"./src/vue/checkbox.vue?vue&type=script&lang=ts&");n.d(t,"Checkbox",(function(){return o["Checkbox"]}));var i=n(/*! ../../node_modules/vue-loader/lib/runtime/componentNormalizer.js */"./node_modules/vue-loader/lib/runtime/componentNormalizer.js"),s=Object(i["default"])(o["default"],r["render"],r["staticRenderFns"],!1,null,null,null);s.options.__file="src/vue/checkbox.vue",t["default"]=s.exports},"./src/vue/checkbox.vue?vue&type=script&lang=ts&": /*!*******************************************************!*\ !*** ./src/vue/checkbox.vue?vue&type=script&lang=ts& ***! \*******************************************************/ /*! exports provided: default, Checkbox */function(e,t,n){"use strict";n.r(t);var r=n(/*! -!../../node_modules/ts-loader??ref--0!../../node_modules/vue-loader/lib??vue-loader-options!./checkbox.vue?vue&type=script&lang=ts& */"./node_modules/ts-loader/index.js?!./node_modules/vue-loader/lib/index.js?!./src/vue/checkbox.vue?vue&type=script&lang=ts&");n.d(t,"Checkbox",(function(){return r["Checkbox"]})),t["default"]=r["default"]},"./src/vue/checkbox.vue?vue&type=template&id=cad276f6&": /*!*************************************************************!*\ !*** ./src/vue/checkbox.vue?vue&type=template&id=cad276f6& ***! \*************************************************************/ /*! exports provided: render, staticRenderFns */function(e,t,n){"use strict";n.r(t);var r=n(/*! -!../../node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../node_modules/vue-loader/lib??vue-loader-options!./checkbox.vue?vue&type=template&id=cad276f6& */"./node_modules/vue-loader/lib/loaders/templateLoader.js?!./node_modules/vue-loader/lib/index.js?!./src/vue/checkbox.vue?vue&type=template&id=cad276f6&");n.d(t,"render",(function(){return r["render"]})),n.d(t,"staticRenderFns",(function(){return r["staticRenderFns"]}))},"./src/vue/checkboxitem.vue": /*!**********************************!*\ !*** ./src/vue/checkboxitem.vue ***! \**********************************/ /*! exports provided: CheckboxItem, default */function(e,t,n){"use strict";n.r(t);var r=n(/*! ./checkboxitem.vue?vue&type=template&id=c58c80d0& */"./src/vue/checkboxitem.vue?vue&type=template&id=c58c80d0&"),o=n(/*! ./checkboxitem.vue?vue&type=script&lang=ts& */"./src/vue/checkboxitem.vue?vue&type=script&lang=ts&");n.d(t,"CheckboxItem",(function(){return o["CheckboxItem"]}));var i=n(/*! ../../node_modules/vue-loader/lib/runtime/componentNormalizer.js */"./node_modules/vue-loader/lib/runtime/componentNormalizer.js"),s=Object(i["default"])(o["default"],r["render"],r["staticRenderFns"],!1,null,null,null);s.options.__file="src/vue/checkboxitem.vue",t["default"]=s.exports},"./src/vue/checkboxitem.vue?vue&type=script&lang=ts&": /*!***********************************************************!*\ !*** ./src/vue/checkboxitem.vue?vue&type=script&lang=ts& ***! \***********************************************************/ /*! exports provided: default, CheckboxItem */function(e,t,n){"use strict";n.r(t);var r=n(/*! -!../../node_modules/ts-loader??ref--0!../../node_modules/vue-loader/lib??vue-loader-options!./checkboxitem.vue?vue&type=script&lang=ts& */"./node_modules/ts-loader/index.js?!./node_modules/vue-loader/lib/index.js?!./src/vue/checkboxitem.vue?vue&type=script&lang=ts&");n.d(t,"CheckboxItem",(function(){return r["CheckboxItem"]})),t["default"]=r["default"]},"./src/vue/checkboxitem.vue?vue&type=template&id=c58c80d0&": /*!*****************************************************************!*\ !*** ./src/vue/checkboxitem.vue?vue&type=template&id=c58c80d0& ***! \*****************************************************************/ /*! exports provided: render, staticRenderFns */function(e,t,n){"use strict";n.r(t);var r=n(/*! -!../../node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../node_modules/vue-loader/lib??vue-loader-options!./checkboxitem.vue?vue&type=template&id=c58c80d0& */"./node_modules/vue-loader/lib/loaders/templateLoader.js?!./node_modules/vue-loader/lib/index.js?!./src/vue/checkboxitem.vue?vue&type=template&id=c58c80d0&");n.d(t,"render",(function(){return r["render"]})),n.d(t,"staticRenderFns",(function(){return r["staticRenderFns"]}))},"./src/vue/comment.vue": /*!*****************************!*\ !*** ./src/vue/comment.vue ***! \*****************************/ /*! exports provided: Comment, default */function(e,t,n){"use strict";n.r(t);var r=n(/*! ./comment.vue?vue&type=template&id=099c2c8d& */"./src/vue/comment.vue?vue&type=template&id=099c2c8d&"),o=n(/*! ./comment.vue?vue&type=script&lang=ts& */"./src/vue/comment.vue?vue&type=script&lang=ts&");n.d(t,"Comment",(function(){return o["Comment"]}));var i=n(/*! ../../node_modules/vue-loader/lib/runtime/componentNormalizer.js */"./node_modules/vue-loader/lib/runtime/componentNormalizer.js"),s=Object(i["default"])(o["default"],r["render"],r["staticRenderFns"],!1,null,null,null);s.options.__file="src/vue/comment.vue",t["default"]=s.exports},"./src/vue/comment.vue?vue&type=script&lang=ts&": /*!******************************************************!*\ !*** ./src/vue/comment.vue?vue&type=script&lang=ts& ***! \******************************************************/ /*! exports provided: default, Comment */function(e,t,n){"use strict";n.r(t);var r=n(/*! -!../../node_modules/ts-loader??ref--0!../../node_modules/vue-loader/lib??vue-loader-options!./comment.vue?vue&type=script&lang=ts& */"./node_modules/ts-loader/index.js?!./node_modules/vue-loader/lib/index.js?!./src/vue/comment.vue?vue&type=script&lang=ts&");n.d(t,"Comment",(function(){return r["Comment"]})),t["default"]=r["default"]},"./src/vue/comment.vue?vue&type=template&id=099c2c8d&": /*!************************************************************!*\ !*** ./src/vue/comment.vue?vue&type=template&id=099c2c8d& ***! \************************************************************/ /*! exports provided: render, staticRenderFns */function(e,t,n){"use strict";n.r(t);var r=n(/*! -!../../node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../node_modules/vue-loader/lib??vue-loader-options!./comment.vue?vue&type=template&id=099c2c8d& */"./node_modules/vue-loader/lib/loaders/templateLoader.js?!./node_modules/vue-loader/lib/index.js?!./src/vue/comment.vue?vue&type=template&id=099c2c8d&");n.d(t,"render",(function(){return r["render"]})),n.d(t,"staticRenderFns",(function(){return r["staticRenderFns"]}))},"./src/vue/components/action-bar/action-bar-item-dropdown.vue": /*!********************************************************************!*\ !*** ./src/vue/components/action-bar/action-bar-item-dropdown.vue ***! \********************************************************************/ /*! exports provided: ActionBarItemDropdownViewModel, default */function(e,t,n){"use strict";n.r(t);var r=n(/*! ./action-bar-item-dropdown.vue?vue&type=template&id=4ca4f276& */"./src/vue/components/action-bar/action-bar-item-dropdown.vue?vue&type=template&id=4ca4f276&"),o=n(/*! ./action-bar-item-dropdown.vue?vue&type=script&lang=ts& */"./src/vue/components/action-bar/action-bar-item-dropdown.vue?vue&type=script&lang=ts&");n.d(t,"ActionBarItemDropdownViewModel",(function(){return o["ActionBarItemDropdownViewModel"]}));var i=n(/*! ../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js */"./node_modules/vue-loader/lib/runtime/componentNormalizer.js"),s=Object(i["default"])(o["default"],r["render"],r["staticRenderFns"],!1,null,null,null);s.options.__file="src/vue/components/action-bar/action-bar-item-dropdown.vue",t["default"]=s.exports},"./src/vue/components/action-bar/action-bar-item-dropdown.vue?vue&type=script&lang=ts&": /*!*********************************************************************************************!*\ !*** ./src/vue/components/action-bar/action-bar-item-dropdown.vue?vue&type=script&lang=ts& ***! \*********************************************************************************************/ /*! exports provided: default, ActionBarItemDropdownViewModel */function(e,t,n){"use strict";n.r(t);var r=n(/*! -!../../../../node_modules/ts-loader??ref--0!../../../../node_modules/vue-loader/lib??vue-loader-options!./action-bar-item-dropdown.vue?vue&type=script&lang=ts& */"./node_modules/ts-loader/index.js?!./node_modules/vue-loader/lib/index.js?!./src/vue/components/action-bar/action-bar-item-dropdown.vue?vue&type=script&lang=ts&");n.d(t,"ActionBarItemDropdownViewModel",(function(){return r["ActionBarItemDropdownViewModel"]})),t["default"]=r["default"]},"./src/vue/components/action-bar/action-bar-item-dropdown.vue?vue&type=template&id=4ca4f276&": /*!***************************************************************************************************!*\ !*** ./src/vue/components/action-bar/action-bar-item-dropdown.vue?vue&type=template&id=4ca4f276& ***! \***************************************************************************************************/ /*! exports provided: render, staticRenderFns */function(e,t,n){"use strict";n.r(t);var r=n(/*! -!../../../../node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../../../node_modules/vue-loader/lib??vue-loader-options!./action-bar-item-dropdown.vue?vue&type=template&id=4ca4f276& */"./node_modules/vue-loader/lib/loaders/templateLoader.js?!./node_modules/vue-loader/lib/index.js?!./src/vue/components/action-bar/action-bar-item-dropdown.vue?vue&type=template&id=4ca4f276&");n.d(t,"render",(function(){return r["render"]})),n.d(t,"staticRenderFns",(function(){return r["staticRenderFns"]}))},"./src/vue/components/action-bar/action-bar-item.vue": /*!***********************************************************!*\ !*** ./src/vue/components/action-bar/action-bar-item.vue ***! \***********************************************************/ /*! exports provided: ActionBarItemViewModel, default */function(e,t,n){"use strict";n.r(t);var r=n(/*! ./action-bar-item.vue?vue&type=template&id=40a056f8& */"./src/vue/components/action-bar/action-bar-item.vue?vue&type=template&id=40a056f8&"),o=n(/*! ./action-bar-item.vue?vue&type=script&lang=ts& */"./src/vue/components/action-bar/action-bar-item.vue?vue&type=script&lang=ts&");n.d(t,"ActionBarItemViewModel",(function(){return o["ActionBarItemViewModel"]}));var i=n(/*! ../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js */"./node_modules/vue-loader/lib/runtime/componentNormalizer.js"),s=Object(i["default"])(o["default"],r["render"],r["staticRenderFns"],!1,null,null,null);s.options.__file="src/vue/components/action-bar/action-bar-item.vue",t["default"]=s.exports},"./src/vue/components/action-bar/action-bar-item.vue?vue&type=script&lang=ts&": /*!************************************************************************************!*\ !*** ./src/vue/components/action-bar/action-bar-item.vue?vue&type=script&lang=ts& ***! \************************************************************************************/ /*! exports provided: default, ActionBarItemViewModel */function(e,t,n){"use strict";n.r(t);var r=n(/*! -!../../../../node_modules/ts-loader??ref--0!../../../../node_modules/vue-loader/lib??vue-loader-options!./action-bar-item.vue?vue&type=script&lang=ts& */"./node_modules/ts-loader/index.js?!./node_modules/vue-loader/lib/index.js?!./src/vue/components/action-bar/action-bar-item.vue?vue&type=script&lang=ts&");n.d(t,"ActionBarItemViewModel",(function(){return r["ActionBarItemViewModel"]})),t["default"]=r["default"]},"./src/vue/components/action-bar/action-bar-item.vue?vue&type=template&id=40a056f8&": /*!******************************************************************************************!*\ !*** ./src/vue/components/action-bar/action-bar-item.vue?vue&type=template&id=40a056f8& ***! \******************************************************************************************/ /*! exports provided: render, staticRenderFns */function(e,t,n){"use strict";n.r(t);var r=n(/*! -!../../../../node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../../../node_modules/vue-loader/lib??vue-loader-options!./action-bar-item.vue?vue&type=template&id=40a056f8& */"./node_modules/vue-loader/lib/loaders/templateLoader.js?!./node_modules/vue-loader/lib/index.js?!./src/vue/components/action-bar/action-bar-item.vue?vue&type=template&id=40a056f8&");n.d(t,"render",(function(){return r["render"]})),n.d(t,"staticRenderFns",(function(){return r["staticRenderFns"]}))},"./src/vue/components/action-bar/action-bar-separator.vue": /*!****************************************************************!*\ !*** ./src/vue/components/action-bar/action-bar-separator.vue ***! \****************************************************************/ /*! exports provided: ActionBarSeparatorViewModel, default */function(e,t,n){"use strict";n.r(t);var r=n(/*! ./action-bar-separator.vue?vue&type=template&id=1aab6850& */"./src/vue/components/action-bar/action-bar-separator.vue?vue&type=template&id=1aab6850&"),o=n(/*! ./action-bar-separator.vue?vue&type=script&lang=ts& */"./src/vue/components/action-bar/action-bar-separator.vue?vue&type=script&lang=ts&");n.d(t,"ActionBarSeparatorViewModel",(function(){return o["ActionBarSeparatorViewModel"]}));var i=n(/*! ../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js */"./node_modules/vue-loader/lib/runtime/componentNormalizer.js"),s=Object(i["default"])(o["default"],r["render"],r["staticRenderFns"],!1,null,null,null);s.options.__file="src/vue/components/action-bar/action-bar-separator.vue",t["default"]=s.exports},"./src/vue/components/action-bar/action-bar-separator.vue?vue&type=script&lang=ts&": /*!*****************************************************************************************!*\ !*** ./src/vue/components/action-bar/action-bar-separator.vue?vue&type=script&lang=ts& ***! \*****************************************************************************************/ /*! exports provided: default, ActionBarSeparatorViewModel */function(e,t,n){"use strict";n.r(t);var r=n(/*! -!../../../../node_modules/ts-loader??ref--0!../../../../node_modules/vue-loader/lib??vue-loader-options!./action-bar-separator.vue?vue&type=script&lang=ts& */"./node_modules/ts-loader/index.js?!./node_modules/vue-loader/lib/index.js?!./src/vue/components/action-bar/action-bar-separator.vue?vue&type=script&lang=ts&");n.d(t,"ActionBarSeparatorViewModel",(function(){return r["ActionBarSeparatorViewModel"]})),t["default"]=r["default"]},"./src/vue/components/action-bar/action-bar-separator.vue?vue&type=template&id=1aab6850&": /*!***********************************************************************************************!*\ !*** ./src/vue/components/action-bar/action-bar-separator.vue?vue&type=template&id=1aab6850& ***! \***********************************************************************************************/ /*! exports provided: render, staticRenderFns */function(e,t,n){"use strict";n.r(t);var r=n(/*! -!../../../../node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../../../node_modules/vue-loader/lib??vue-loader-options!./action-bar-separator.vue?vue&type=template&id=1aab6850& */"./node_modules/vue-loader/lib/loaders/templateLoader.js?!./node_modules/vue-loader/lib/index.js?!./src/vue/components/action-bar/action-bar-separator.vue?vue&type=template&id=1aab6850&");n.d(t,"render",(function(){return r["render"]})),n.d(t,"staticRenderFns",(function(){return r["staticRenderFns"]}))},"./src/vue/components/action-bar/action-bar.vue": /*!******************************************************!*\ !*** ./src/vue/components/action-bar/action-bar.vue ***! \******************************************************/ /*! exports provided: ActionBarItemViewModel, ActionBarItemDropdownViewModel, ActionBarSeparatorViewModel, ActionBarViewModel, default */function(e,t,n){"use strict";n.r(t);var r=n(/*! ./action-bar.vue?vue&type=template&id=313bf210& */"./src/vue/components/action-bar/action-bar.vue?vue&type=template&id=313bf210&"),o=n(/*! ./action-bar.vue?vue&type=script&lang=ts& */"./src/vue/components/action-bar/action-bar.vue?vue&type=script&lang=ts&");n.d(t,"ActionBarItemViewModel",(function(){return o["ActionBarItemViewModel"]})),n.d(t,"ActionBarItemDropdownViewModel",(function(){return o["ActionBarItemDropdownViewModel"]})),n.d(t,"ActionBarSeparatorViewModel",(function(){return o["ActionBarSeparatorViewModel"]})),n.d(t,"ActionBarViewModel",(function(){return o["ActionBarViewModel"]}));var i=n(/*! ../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js */"./node_modules/vue-loader/lib/runtime/componentNormalizer.js"),s=Object(i["default"])(o["default"],r["render"],r["staticRenderFns"],!1,null,null,null);s.options.__file="src/vue/components/action-bar/action-bar.vue",t["default"]=s.exports},"./src/vue/components/action-bar/action-bar.vue?vue&type=script&lang=ts&": /*!*******************************************************************************!*\ !*** ./src/vue/components/action-bar/action-bar.vue?vue&type=script&lang=ts& ***! \*******************************************************************************/ /*! exports provided: default, ActionBarItemViewModel, ActionBarItemDropdownViewModel, ActionBarSeparatorViewModel, ActionBarViewModel */function(e,t,n){"use strict";n.r(t);var r=n(/*! -!../../../../node_modules/ts-loader??ref--0!../../../../node_modules/vue-loader/lib??vue-loader-options!./action-bar.vue?vue&type=script&lang=ts& */"./node_modules/ts-loader/index.js?!./node_modules/vue-loader/lib/index.js?!./src/vue/components/action-bar/action-bar.vue?vue&type=script&lang=ts&");n.d(t,"ActionBarItemViewModel",(function(){return r["ActionBarItemViewModel"]})),n.d(t,"ActionBarItemDropdownViewModel",(function(){return r["ActionBarItemDropdownViewModel"]})),n.d(t,"ActionBarSeparatorViewModel",(function(){return r["ActionBarSeparatorViewModel"]})),n.d(t,"ActionBarViewModel",(function(){return r["ActionBarViewModel"]})),t["default"]=r["default"]},"./src/vue/components/action-bar/action-bar.vue?vue&type=template&id=313bf210&": /*!*************************************************************************************!*\ !*** ./src/vue/components/action-bar/action-bar.vue?vue&type=template&id=313bf210& ***! \*************************************************************************************/ /*! exports provided: render, staticRenderFns */function(e,t,n){"use strict";n.r(t);var r=n(/*! -!../../../../node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../../../node_modules/vue-loader/lib??vue-loader-options!./action-bar.vue?vue&type=template&id=313bf210& */"./node_modules/vue-loader/lib/loaders/templateLoader.js?!./node_modules/vue-loader/lib/index.js?!./src/vue/components/action-bar/action-bar.vue?vue&type=template&id=313bf210&");n.d(t,"render",(function(){return r["render"]})),n.d(t,"staticRenderFns",(function(){return r["staticRenderFns"]}))},"./src/vue/components/default-title/default-title.vue": /*!************************************************************!*\ !*** ./src/vue/components/default-title/default-title.vue ***! \************************************************************/ /*! exports provided: DefaultTitle, default */function(e,t,n){"use strict";n.r(t);var r=n(/*! ./default-title.vue?vue&type=template&id=7f6117dc& */"./src/vue/components/default-title/default-title.vue?vue&type=template&id=7f6117dc&"),o=n(/*! ./default-title.vue?vue&type=script&lang=ts& */"./src/vue/components/default-title/default-title.vue?vue&type=script&lang=ts&");n.d(t,"DefaultTitle",(function(){return o["DefaultTitle"]}));var i=n(/*! ../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js */"./node_modules/vue-loader/lib/runtime/componentNormalizer.js"),s=Object(i["default"])(o["default"],r["render"],r["staticRenderFns"],!1,null,null,null);s.options.__file="src/vue/components/default-title/default-title.vue",t["default"]=s.exports},"./src/vue/components/default-title/default-title.vue?vue&type=script&lang=ts&": /*!*************************************************************************************!*\ !*** ./src/vue/components/default-title/default-title.vue?vue&type=script&lang=ts& ***! \*************************************************************************************/ /*! exports provided: default, DefaultTitle */function(e,t,n){"use strict";n.r(t);var r=n(/*! -!../../../../node_modules/ts-loader??ref--0!../../../../node_modules/vue-loader/lib??vue-loader-options!./default-title.vue?vue&type=script&lang=ts& */"./node_modules/ts-loader/index.js?!./node_modules/vue-loader/lib/index.js?!./src/vue/components/default-title/default-title.vue?vue&type=script&lang=ts&");n.d(t,"DefaultTitle",(function(){return r["DefaultTitle"]})),t["default"]=r["default"]},"./src/vue/components/default-title/default-title.vue?vue&type=template&id=7f6117dc&": /*!*******************************************************************************************!*\ !*** ./src/vue/components/default-title/default-title.vue?vue&type=template&id=7f6117dc& ***! \*******************************************************************************************/ /*! exports provided: render, staticRenderFns */function(e,t,n){"use strict";n.r(t);var r=n(/*! -!../../../../node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../../../node_modules/vue-loader/lib??vue-loader-options!./default-title.vue?vue&type=template&id=7f6117dc& */"./node_modules/vue-loader/lib/loaders/templateLoader.js?!./node_modules/vue-loader/lib/index.js?!./src/vue/components/default-title/default-title.vue?vue&type=template&id=7f6117dc&");n.d(t,"render",(function(){return r["render"]})),n.d(t,"staticRenderFns",(function(){return r["staticRenderFns"]}))},"./src/vue/components/list/list.vue": /*!******************************************!*\ !*** ./src/vue/components/list/list.vue ***! \******************************************/ /*! exports provided: List, default */function(e,t,n){"use strict";n.r(t);var r=n(/*! ./list.vue?vue&type=template&id=cc17a010& */"./src/vue/components/list/list.vue?vue&type=template&id=cc17a010&"),o=n(/*! ./list.vue?vue&type=script&lang=ts& */"./src/vue/components/list/list.vue?vue&type=script&lang=ts&");n.d(t,"List",(function(){return o["List"]}));var i=n(/*! ../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js */"./node_modules/vue-loader/lib/runtime/componentNormalizer.js"),s=Object(i["default"])(o["default"],r["render"],r["staticRenderFns"],!1,null,null,null);s.options.__file="src/vue/components/list/list.vue",t["default"]=s.exports},"./src/vue/components/list/list.vue?vue&type=script&lang=ts&": /*!*******************************************************************!*\ !*** ./src/vue/components/list/list.vue?vue&type=script&lang=ts& ***! \*******************************************************************/ /*! exports provided: default, List */function(e,t,n){"use strict";n.r(t);var r=n(/*! -!../../../../node_modules/ts-loader??ref--0!../../../../node_modules/vue-loader/lib??vue-loader-options!./list.vue?vue&type=script&lang=ts& */"./node_modules/ts-loader/index.js?!./node_modules/vue-loader/lib/index.js?!./src/vue/components/list/list.vue?vue&type=script&lang=ts&");n.d(t,"List",(function(){return r["List"]})),t["default"]=r["default"]},"./src/vue/components/list/list.vue?vue&type=template&id=cc17a010&": /*!*************************************************************************!*\ !*** ./src/vue/components/list/list.vue?vue&type=template&id=cc17a010& ***! \*************************************************************************/ /*! exports provided: render, staticRenderFns */function(e,t,n){"use strict";n.r(t);var r=n(/*! -!../../../../node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../../../node_modules/vue-loader/lib??vue-loader-options!./list.vue?vue&type=template&id=cc17a010& */"./node_modules/vue-loader/lib/loaders/templateLoader.js?!./node_modules/vue-loader/lib/index.js?!./src/vue/components/list/list.vue?vue&type=template&id=cc17a010&");n.d(t,"render",(function(){return r["render"]})),n.d(t,"staticRenderFns",(function(){return r["staticRenderFns"]}))},"./src/vue/components/matrix-actions/detail-button/detail-button.vue": /*!***************************************************************************!*\ !*** ./src/vue/components/matrix-actions/detail-button/detail-button.vue ***! \***************************************************************************/ /*! exports provided: SurveyQuestionMatrixDetailButton, default */function(e,t,n){"use strict";n.r(t);var r=n(/*! ./detail-button.vue?vue&type=template&id=5b4e69b6& */"./src/vue/components/matrix-actions/detail-button/detail-button.vue?vue&type=template&id=5b4e69b6&"),o=n(/*! ./detail-button.vue?vue&type=script&lang=ts& */"./src/vue/components/matrix-actions/detail-button/detail-button.vue?vue&type=script&lang=ts&");n.d(t,"SurveyQuestionMatrixDetailButton",(function(){return o["SurveyQuestionMatrixDetailButton"]}));var i=n(/*! ../../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js */"./node_modules/vue-loader/lib/runtime/componentNormalizer.js"),s=Object(i["default"])(o["default"],r["render"],r["staticRenderFns"],!1,null,null,null);s.options.__file="src/vue/components/matrix-actions/detail-button/detail-button.vue",t["default"]=s.exports},"./src/vue/components/matrix-actions/detail-button/detail-button.vue?vue&type=script&lang=ts&": /*!****************************************************************************************************!*\ !*** ./src/vue/components/matrix-actions/detail-button/detail-button.vue?vue&type=script&lang=ts& ***! \****************************************************************************************************/ /*! exports provided: default, SurveyQuestionMatrixDetailButton */function(e,t,n){"use strict";n.r(t);var r=n(/*! -!../../../../../node_modules/ts-loader??ref--0!../../../../../node_modules/vue-loader/lib??vue-loader-options!./detail-button.vue?vue&type=script&lang=ts& */"./node_modules/ts-loader/index.js?!./node_modules/vue-loader/lib/index.js?!./src/vue/components/matrix-actions/detail-button/detail-button.vue?vue&type=script&lang=ts&");n.d(t,"SurveyQuestionMatrixDetailButton",(function(){return r["SurveyQuestionMatrixDetailButton"]})),t["default"]=r["default"]},"./src/vue/components/matrix-actions/detail-button/detail-button.vue?vue&type=template&id=5b4e69b6&": /*!**********************************************************************************************************!*\ !*** ./src/vue/components/matrix-actions/detail-button/detail-button.vue?vue&type=template&id=5b4e69b6& ***! \**********************************************************************************************************/ /*! exports provided: render, staticRenderFns */function(e,t,n){"use strict";n.r(t);var r=n(/*! -!../../../../../node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../../../../node_modules/vue-loader/lib??vue-loader-options!./detail-button.vue?vue&type=template&id=5b4e69b6& */"./node_modules/vue-loader/lib/loaders/templateLoader.js?!./node_modules/vue-loader/lib/index.js?!./src/vue/components/matrix-actions/detail-button/detail-button.vue?vue&type=template&id=5b4e69b6&");n.d(t,"render",(function(){return r["render"]})),n.d(t,"staticRenderFns",(function(){return r["staticRenderFns"]}))},"./src/vue/components/matrix-actions/remove-button/remove-button.vue": /*!***************************************************************************!*\ !*** ./src/vue/components/matrix-actions/remove-button/remove-button.vue ***! \***************************************************************************/ /*! exports provided: SurveyQuestionMatrixDynamicRemoveButton, default */function(e,t,n){"use strict";n.r(t);var r=n(/*! ./remove-button.vue?vue&type=template&id=c8a7aa60& */"./src/vue/components/matrix-actions/remove-button/remove-button.vue?vue&type=template&id=c8a7aa60&"),o=n(/*! ./remove-button.vue?vue&type=script&lang=ts& */"./src/vue/components/matrix-actions/remove-button/remove-button.vue?vue&type=script&lang=ts&");n.d(t,"SurveyQuestionMatrixDynamicRemoveButton",(function(){return o["SurveyQuestionMatrixDynamicRemoveButton"]}));var i=n(/*! ../../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js */"./node_modules/vue-loader/lib/runtime/componentNormalizer.js"),s=Object(i["default"])(o["default"],r["render"],r["staticRenderFns"],!1,null,null,null);s.options.__file="src/vue/components/matrix-actions/remove-button/remove-button.vue",t["default"]=s.exports},"./src/vue/components/matrix-actions/remove-button/remove-button.vue?vue&type=script&lang=ts&": /*!****************************************************************************************************!*\ !*** ./src/vue/components/matrix-actions/remove-button/remove-button.vue?vue&type=script&lang=ts& ***! \****************************************************************************************************/ /*! exports provided: default, SurveyQuestionMatrixDynamicRemoveButton */function(e,t,n){"use strict";n.r(t);var r=n(/*! -!../../../../../node_modules/ts-loader??ref--0!../../../../../node_modules/vue-loader/lib??vue-loader-options!./remove-button.vue?vue&type=script&lang=ts& */"./node_modules/ts-loader/index.js?!./node_modules/vue-loader/lib/index.js?!./src/vue/components/matrix-actions/remove-button/remove-button.vue?vue&type=script&lang=ts&");n.d(t,"SurveyQuestionMatrixDynamicRemoveButton",(function(){return r["SurveyQuestionMatrixDynamicRemoveButton"]})),t["default"]=r["default"]},"./src/vue/components/matrix-actions/remove-button/remove-button.vue?vue&type=template&id=c8a7aa60&": /*!**********************************************************************************************************!*\ !*** ./src/vue/components/matrix-actions/remove-button/remove-button.vue?vue&type=template&id=c8a7aa60& ***! \**********************************************************************************************************/ /*! exports provided: render, staticRenderFns */function(e,t,n){"use strict";n.r(t);var r=n(/*! -!../../../../../node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../../../../node_modules/vue-loader/lib??vue-loader-options!./remove-button.vue?vue&type=template&id=c8a7aa60& */"./node_modules/vue-loader/lib/loaders/templateLoader.js?!./node_modules/vue-loader/lib/index.js?!./src/vue/components/matrix-actions/remove-button/remove-button.vue?vue&type=template&id=c8a7aa60&");n.d(t,"render",(function(){return r["render"]})),n.d(t,"staticRenderFns",(function(){return r["staticRenderFns"]}))},"./src/vue/components/popup/popup-container.vue": /*!******************************************************!*\ !*** ./src/vue/components/popup/popup-container.vue ***! \******************************************************/ /*! exports provided: PopupContainer, showModal, default */function(e,t,n){"use strict";n.r(t);var r=n(/*! ./popup-container.vue?vue&type=template&id=c18dfd74& */"./src/vue/components/popup/popup-container.vue?vue&type=template&id=c18dfd74&"),o=n(/*! ./popup-container.vue?vue&type=script&lang=ts& */"./src/vue/components/popup/popup-container.vue?vue&type=script&lang=ts&");n.d(t,"PopupContainer",(function(){return o["PopupContainer"]})),n.d(t,"showModal",(function(){return o["showModal"]}));var i=n(/*! ../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js */"./node_modules/vue-loader/lib/runtime/componentNormalizer.js"),s=Object(i["default"])(o["default"],r["render"],r["staticRenderFns"],!1,null,null,null);s.options.__file="src/vue/components/popup/popup-container.vue",t["default"]=s.exports},"./src/vue/components/popup/popup-container.vue?vue&type=script&lang=ts&": /*!*******************************************************************************!*\ !*** ./src/vue/components/popup/popup-container.vue?vue&type=script&lang=ts& ***! \*******************************************************************************/ /*! exports provided: default, PopupContainer, showModal */function(e,t,n){"use strict";n.r(t);var r=n(/*! -!../../../../node_modules/ts-loader??ref--0!../../../../node_modules/vue-loader/lib??vue-loader-options!./popup-container.vue?vue&type=script&lang=ts& */"./node_modules/ts-loader/index.js?!./node_modules/vue-loader/lib/index.js?!./src/vue/components/popup/popup-container.vue?vue&type=script&lang=ts&");n.d(t,"PopupContainer",(function(){return r["PopupContainer"]})),n.d(t,"showModal",(function(){return r["showModal"]})),t["default"]=r["default"]},"./src/vue/components/popup/popup-container.vue?vue&type=template&id=c18dfd74&": /*!*************************************************************************************!*\ !*** ./src/vue/components/popup/popup-container.vue?vue&type=template&id=c18dfd74& ***! \*************************************************************************************/ /*! exports provided: render, staticRenderFns */function(e,t,n){"use strict";n.r(t);var r=n(/*! -!../../../../node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../../../node_modules/vue-loader/lib??vue-loader-options!./popup-container.vue?vue&type=template&id=c18dfd74& */"./node_modules/vue-loader/lib/loaders/templateLoader.js?!./node_modules/vue-loader/lib/index.js?!./src/vue/components/popup/popup-container.vue?vue&type=template&id=c18dfd74&");n.d(t,"render",(function(){return r["render"]})),n.d(t,"staticRenderFns",(function(){return r["staticRenderFns"]}))},"./src/vue/components/popup/popup.vue": /*!********************************************!*\ !*** ./src/vue/components/popup/popup.vue ***! \********************************************/ /*! exports provided: Popup, default */function(e,t,n){"use strict";n.r(t);var r=n(/*! ./popup.vue?vue&type=template&id=ef11265c& */"./src/vue/components/popup/popup.vue?vue&type=template&id=ef11265c&"),o=n(/*! ./popup.vue?vue&type=script&lang=ts& */"./src/vue/components/popup/popup.vue?vue&type=script&lang=ts&");n.d(t,"Popup",(function(){return o["Popup"]}));var i=n(/*! ../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js */"./node_modules/vue-loader/lib/runtime/componentNormalizer.js"),s=Object(i["default"])(o["default"],r["render"],r["staticRenderFns"],!1,null,null,null);s.options.__file="src/vue/components/popup/popup.vue",t["default"]=s.exports},"./src/vue/components/popup/popup.vue?vue&type=script&lang=ts&": /*!*********************************************************************!*\ !*** ./src/vue/components/popup/popup.vue?vue&type=script&lang=ts& ***! \*********************************************************************/ /*! exports provided: default, Popup */function(e,t,n){"use strict";n.r(t);var r=n(/*! -!../../../../node_modules/ts-loader??ref--0!../../../../node_modules/vue-loader/lib??vue-loader-options!./popup.vue?vue&type=script&lang=ts& */"./node_modules/ts-loader/index.js?!./node_modules/vue-loader/lib/index.js?!./src/vue/components/popup/popup.vue?vue&type=script&lang=ts&");n.d(t,"Popup",(function(){return r["Popup"]})),t["default"]=r["default"]},"./src/vue/components/popup/popup.vue?vue&type=template&id=ef11265c&": /*!***************************************************************************!*\ !*** ./src/vue/components/popup/popup.vue?vue&type=template&id=ef11265c& ***! \***************************************************************************/ /*! exports provided: render, staticRenderFns */function(e,t,n){"use strict";n.r(t);var r=n(/*! -!../../../../node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../../../node_modules/vue-loader/lib??vue-loader-options!./popup.vue?vue&type=template&id=ef11265c& */"./node_modules/vue-loader/lib/loaders/templateLoader.js?!./node_modules/vue-loader/lib/index.js?!./src/vue/components/popup/popup.vue?vue&type=template&id=ef11265c&");n.d(t,"render",(function(){return r["render"]})),n.d(t,"staticRenderFns",(function(){return r["staticRenderFns"]}))},"./src/vue/components/svg-icon/svg-icon.vue": /*!**************************************************!*\ !*** ./src/vue/components/svg-icon/svg-icon.vue ***! \**************************************************/ /*! exports provided: SvgIcon, default */function(e,t,n){"use strict";n.r(t);var r=n(/*! ./svg-icon.vue?vue&type=template&id=684776f8& */"./src/vue/components/svg-icon/svg-icon.vue?vue&type=template&id=684776f8&"),o=n(/*! ./svg-icon.vue?vue&type=script&lang=ts& */"./src/vue/components/svg-icon/svg-icon.vue?vue&type=script&lang=ts&");n.d(t,"SvgIcon",(function(){return o["SvgIcon"]}));var i=n(/*! ../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js */"./node_modules/vue-loader/lib/runtime/componentNormalizer.js"),s=Object(i["default"])(o["default"],r["render"],r["staticRenderFns"],!1,null,null,null);s.options.__file="src/vue/components/svg-icon/svg-icon.vue",t["default"]=s.exports},"./src/vue/components/svg-icon/svg-icon.vue?vue&type=script&lang=ts&": /*!***************************************************************************!*\ !*** ./src/vue/components/svg-icon/svg-icon.vue?vue&type=script&lang=ts& ***! \***************************************************************************/ /*! exports provided: default, SvgIcon */function(e,t,n){"use strict";n.r(t);var r=n(/*! -!../../../../node_modules/ts-loader??ref--0!../../../../node_modules/vue-loader/lib??vue-loader-options!./svg-icon.vue?vue&type=script&lang=ts& */"./node_modules/ts-loader/index.js?!./node_modules/vue-loader/lib/index.js?!./src/vue/components/svg-icon/svg-icon.vue?vue&type=script&lang=ts&");n.d(t,"SvgIcon",(function(){return r["SvgIcon"]})),t["default"]=r["default"]},"./src/vue/components/svg-icon/svg-icon.vue?vue&type=template&id=684776f8&": /*!*********************************************************************************!*\ !*** ./src/vue/components/svg-icon/svg-icon.vue?vue&type=template&id=684776f8& ***! \*********************************************************************************/ /*! exports provided: render, staticRenderFns */function(e,t,n){"use strict";n.r(t);var r=n(/*! -!../../../../node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../../../node_modules/vue-loader/lib??vue-loader-options!./svg-icon.vue?vue&type=template&id=684776f8& */"./node_modules/vue-loader/lib/loaders/templateLoader.js?!./node_modules/vue-loader/lib/index.js?!./src/vue/components/svg-icon/svg-icon.vue?vue&type=template&id=684776f8&");n.d(t,"render",(function(){return r["render"]})),n.d(t,"staticRenderFns",(function(){return r["staticRenderFns"]}))},"./src/vue/components/title-actions/title-actions.vue": /*!************************************************************!*\ !*** ./src/vue/components/title-actions/title-actions.vue ***! \************************************************************/ /*! exports provided: TitleActions, default */function(e,t,n){"use strict";n.r(t);var r=n(/*! ./title-actions.vue?vue&type=template&id=b72886ec& */"./src/vue/components/title-actions/title-actions.vue?vue&type=template&id=b72886ec&"),o=n(/*! ./title-actions.vue?vue&type=script&lang=ts& */"./src/vue/components/title-actions/title-actions.vue?vue&type=script&lang=ts&");n.d(t,"TitleActions",(function(){return o["TitleActions"]}));var i=n(/*! ../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js */"./node_modules/vue-loader/lib/runtime/componentNormalizer.js"),s=Object(i["default"])(o["default"],r["render"],r["staticRenderFns"],!1,null,null,null);s.options.__file="src/vue/components/title-actions/title-actions.vue",t["default"]=s.exports},"./src/vue/components/title-actions/title-actions.vue?vue&type=script&lang=ts&": /*!*************************************************************************************!*\ !*** ./src/vue/components/title-actions/title-actions.vue?vue&type=script&lang=ts& ***! \*************************************************************************************/ /*! exports provided: default, TitleActions */function(e,t,n){"use strict";n.r(t);var r=n(/*! -!../../../../node_modules/ts-loader??ref--0!../../../../node_modules/vue-loader/lib??vue-loader-options!./title-actions.vue?vue&type=script&lang=ts& */"./node_modules/ts-loader/index.js?!./node_modules/vue-loader/lib/index.js?!./src/vue/components/title-actions/title-actions.vue?vue&type=script&lang=ts&");n.d(t,"TitleActions",(function(){return r["TitleActions"]})),t["default"]=r["default"]},"./src/vue/components/title-actions/title-actions.vue?vue&type=template&id=b72886ec&": /*!*******************************************************************************************!*\ !*** ./src/vue/components/title-actions/title-actions.vue?vue&type=template&id=b72886ec& ***! \*******************************************************************************************/ /*! exports provided: render, staticRenderFns */function(e,t,n){"use strict";n.r(t);var r=n(/*! -!../../../../node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../../../node_modules/vue-loader/lib??vue-loader-options!./title-actions.vue?vue&type=template&id=b72886ec& */"./node_modules/vue-loader/lib/loaders/templateLoader.js?!./node_modules/vue-loader/lib/index.js?!./src/vue/components/title-actions/title-actions.vue?vue&type=template&id=b72886ec&");n.d(t,"render",(function(){return r["render"]})),n.d(t,"staticRenderFns",(function(){return r["staticRenderFns"]}))},"./src/vue/composite.vue": /*!*******************************!*\ !*** ./src/vue/composite.vue ***! \*******************************/ /*! exports provided: Composite, default */function(e,t,n){"use strict";n.r(t);var r=n(/*! ./composite.vue?vue&type=template&id=1a9e2196& */"./src/vue/composite.vue?vue&type=template&id=1a9e2196&"),o=n(/*! ./composite.vue?vue&type=script&lang=ts& */"./src/vue/composite.vue?vue&type=script&lang=ts&");n.d(t,"Composite",(function(){return o["Composite"]}));var i=n(/*! ../../node_modules/vue-loader/lib/runtime/componentNormalizer.js */"./node_modules/vue-loader/lib/runtime/componentNormalizer.js"),s=Object(i["default"])(o["default"],r["render"],r["staticRenderFns"],!1,null,null,null);s.options.__file="src/vue/composite.vue",t["default"]=s.exports},"./src/vue/composite.vue?vue&type=script&lang=ts&": /*!********************************************************!*\ !*** ./src/vue/composite.vue?vue&type=script&lang=ts& ***! \********************************************************/ /*! exports provided: default, Composite */function(e,t,n){"use strict";n.r(t);var r=n(/*! -!../../node_modules/ts-loader??ref--0!../../node_modules/vue-loader/lib??vue-loader-options!./composite.vue?vue&type=script&lang=ts& */"./node_modules/ts-loader/index.js?!./node_modules/vue-loader/lib/index.js?!./src/vue/composite.vue?vue&type=script&lang=ts&");n.d(t,"Composite",(function(){return r["Composite"]})),t["default"]=r["default"]},"./src/vue/composite.vue?vue&type=template&id=1a9e2196&": /*!**************************************************************!*\ !*** ./src/vue/composite.vue?vue&type=template&id=1a9e2196& ***! \**************************************************************/ /*! exports provided: render, staticRenderFns */function(e,t,n){"use strict";n.r(t);var r=n(/*! -!../../node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../node_modules/vue-loader/lib??vue-loader-options!./composite.vue?vue&type=template&id=1a9e2196& */"./node_modules/vue-loader/lib/loaders/templateLoader.js?!./node_modules/vue-loader/lib/index.js?!./src/vue/composite.vue?vue&type=template&id=1a9e2196&");n.d(t,"render",(function(){return r["render"]})),n.d(t,"staticRenderFns",(function(){return r["staticRenderFns"]}))},"./src/vue/custom.vue": /*!****************************!*\ !*** ./src/vue/custom.vue ***! \****************************/ /*! exports provided: Custom, default */function(e,t,n){"use strict";n.r(t);var r=n(/*! ./custom.vue?vue&type=template&id=d4aae09a& */"./src/vue/custom.vue?vue&type=template&id=d4aae09a&"),o=n(/*! ./custom.vue?vue&type=script&lang=ts& */"./src/vue/custom.vue?vue&type=script&lang=ts&");n.d(t,"Custom",(function(){return o["Custom"]}));var i=n(/*! ../../node_modules/vue-loader/lib/runtime/componentNormalizer.js */"./node_modules/vue-loader/lib/runtime/componentNormalizer.js"),s=Object(i["default"])(o["default"],r["render"],r["staticRenderFns"],!1,null,null,null);s.options.__file="src/vue/custom.vue",t["default"]=s.exports},"./src/vue/custom.vue?vue&type=script&lang=ts&": /*!*****************************************************!*\ !*** ./src/vue/custom.vue?vue&type=script&lang=ts& ***! \*****************************************************/ /*! exports provided: default, Custom */function(e,t,n){"use strict";n.r(t);var r=n(/*! -!../../node_modules/ts-loader??ref--0!../../node_modules/vue-loader/lib??vue-loader-options!./custom.vue?vue&type=script&lang=ts& */"./node_modules/ts-loader/index.js?!./node_modules/vue-loader/lib/index.js?!./src/vue/custom.vue?vue&type=script&lang=ts&");n.d(t,"Custom",(function(){return r["Custom"]})),t["default"]=r["default"]},"./src/vue/custom.vue?vue&type=template&id=d4aae09a&": /*!***********************************************************!*\ !*** ./src/vue/custom.vue?vue&type=template&id=d4aae09a& ***! \***********************************************************/ /*! exports provided: render, staticRenderFns */function(e,t,n){"use strict";n.r(t);var r=n(/*! -!../../node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../node_modules/vue-loader/lib??vue-loader-options!./custom.vue?vue&type=template&id=d4aae09a& */"./node_modules/vue-loader/lib/loaders/templateLoader.js?!./node_modules/vue-loader/lib/index.js?!./src/vue/custom.vue?vue&type=template&id=d4aae09a&");n.d(t,"render",(function(){return r["render"]})),n.d(t,"staticRenderFns",(function(){return r["staticRenderFns"]}))},"./src/vue/customwidget.vue": /*!**********************************!*\ !*** ./src/vue/customwidget.vue ***! \**********************************/ /*! exports provided: CustomWidget, default */function(e,t,n){"use strict";n.r(t);var r=n(/*! ./customwidget.vue?vue&type=template&id=1e61a7b7& */"./src/vue/customwidget.vue?vue&type=template&id=1e61a7b7&"),o=n(/*! ./customwidget.vue?vue&type=script&lang=ts& */"./src/vue/customwidget.vue?vue&type=script&lang=ts&");n.d(t,"CustomWidget",(function(){return o["CustomWidget"]}));var i=n(/*! ../../node_modules/vue-loader/lib/runtime/componentNormalizer.js */"./node_modules/vue-loader/lib/runtime/componentNormalizer.js"),s=Object(i["default"])(o["default"],r["render"],r["staticRenderFns"],!1,null,null,null);s.options.__file="src/vue/customwidget.vue",t["default"]=s.exports},"./src/vue/customwidget.vue?vue&type=script&lang=ts&": /*!***********************************************************!*\ !*** ./src/vue/customwidget.vue?vue&type=script&lang=ts& ***! \***********************************************************/ /*! exports provided: default, CustomWidget */function(e,t,n){"use strict";n.r(t);var r=n(/*! -!../../node_modules/ts-loader??ref--0!../../node_modules/vue-loader/lib??vue-loader-options!./customwidget.vue?vue&type=script&lang=ts& */"./node_modules/ts-loader/index.js?!./node_modules/vue-loader/lib/index.js?!./src/vue/customwidget.vue?vue&type=script&lang=ts&");n.d(t,"CustomWidget",(function(){return r["CustomWidget"]})),t["default"]=r["default"]},"./src/vue/customwidget.vue?vue&type=template&id=1e61a7b7&": /*!*****************************************************************!*\ !*** ./src/vue/customwidget.vue?vue&type=template&id=1e61a7b7& ***! \*****************************************************************/ /*! exports provided: render, staticRenderFns */function(e,t,n){"use strict";n.r(t);var r=n(/*! -!../../node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../node_modules/vue-loader/lib??vue-loader-options!./customwidget.vue?vue&type=template&id=1e61a7b7& */"./node_modules/vue-loader/lib/loaders/templateLoader.js?!./node_modules/vue-loader/lib/index.js?!./src/vue/customwidget.vue?vue&type=template&id=1e61a7b7&");n.d(t,"render",(function(){return r["render"]})),n.d(t,"staticRenderFns",(function(){return r["staticRenderFns"]}))},"./src/vue/drag-drop-td.vue": /*!**********************************!*\ !*** ./src/vue/drag-drop-td.vue ***! \**********************************/ /*! exports provided: DragDropTD, default */function(e,t,n){"use strict";n.r(t);var r=n(/*! ./drag-drop-td.vue?vue&type=template&id=6b922537& */"./src/vue/drag-drop-td.vue?vue&type=template&id=6b922537&"),o=n(/*! ./drag-drop-td.vue?vue&type=script&lang=ts& */"./src/vue/drag-drop-td.vue?vue&type=script&lang=ts&");n.d(t,"DragDropTD",(function(){return o["DragDropTD"]}));var i=n(/*! ../../node_modules/vue-loader/lib/runtime/componentNormalizer.js */"./node_modules/vue-loader/lib/runtime/componentNormalizer.js"),s=Object(i["default"])(o["default"],r["render"],r["staticRenderFns"],!1,null,null,null);s.options.__file="src/vue/drag-drop-td.vue",t["default"]=s.exports},"./src/vue/drag-drop-td.vue?vue&type=script&lang=ts&": /*!***********************************************************!*\ !*** ./src/vue/drag-drop-td.vue?vue&type=script&lang=ts& ***! \***********************************************************/ /*! exports provided: default, DragDropTD */function(e,t,n){"use strict";n.r(t);var r=n(/*! -!../../node_modules/ts-loader??ref--0!../../node_modules/vue-loader/lib??vue-loader-options!./drag-drop-td.vue?vue&type=script&lang=ts& */"./node_modules/ts-loader/index.js?!./node_modules/vue-loader/lib/index.js?!./src/vue/drag-drop-td.vue?vue&type=script&lang=ts&");n.d(t,"DragDropTD",(function(){return r["DragDropTD"]})),t["default"]=r["default"]},"./src/vue/drag-drop-td.vue?vue&type=template&id=6b922537&": /*!*****************************************************************!*\ !*** ./src/vue/drag-drop-td.vue?vue&type=template&id=6b922537& ***! \*****************************************************************/ /*! exports provided: render, staticRenderFns */function(e,t,n){"use strict";n.r(t);var r=n(/*! -!../../node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../node_modules/vue-loader/lib??vue-loader-options!./drag-drop-td.vue?vue&type=template&id=6b922537& */"./node_modules/vue-loader/lib/loaders/templateLoader.js?!./node_modules/vue-loader/lib/index.js?!./src/vue/drag-drop-td.vue?vue&type=template&id=6b922537&");n.d(t,"render",(function(){return r["render"]})),n.d(t,"staticRenderFns",(function(){return r["staticRenderFns"]}))},"./src/vue/dropdown.vue": /*!******************************!*\ !*** ./src/vue/dropdown.vue ***! \******************************/ /*! exports provided: Dropdown, default */function(e,t,n){"use strict";n.r(t);var r=n(/*! ./dropdown.vue?vue&type=template&id=6b3215d3& */"./src/vue/dropdown.vue?vue&type=template&id=6b3215d3&"),o=n(/*! ./dropdown.vue?vue&type=script&lang=ts& */"./src/vue/dropdown.vue?vue&type=script&lang=ts&");n.d(t,"Dropdown",(function(){return o["Dropdown"]}));var i=n(/*! ../../node_modules/vue-loader/lib/runtime/componentNormalizer.js */"./node_modules/vue-loader/lib/runtime/componentNormalizer.js"),s=Object(i["default"])(o["default"],r["render"],r["staticRenderFns"],!1,null,null,null);s.options.__file="src/vue/dropdown.vue",t["default"]=s.exports},"./src/vue/dropdown.vue?vue&type=script&lang=ts&": /*!*******************************************************!*\ !*** ./src/vue/dropdown.vue?vue&type=script&lang=ts& ***! \*******************************************************/ /*! exports provided: default, Dropdown */function(e,t,n){"use strict";n.r(t);var r=n(/*! -!../../node_modules/ts-loader??ref--0!../../node_modules/vue-loader/lib??vue-loader-options!./dropdown.vue?vue&type=script&lang=ts& */"./node_modules/ts-loader/index.js?!./node_modules/vue-loader/lib/index.js?!./src/vue/dropdown.vue?vue&type=script&lang=ts&");n.d(t,"Dropdown",(function(){return r["Dropdown"]})),t["default"]=r["default"]},"./src/vue/dropdown.vue?vue&type=template&id=6b3215d3&": /*!*************************************************************!*\ !*** ./src/vue/dropdown.vue?vue&type=template&id=6b3215d3& ***! \*************************************************************/ /*! exports provided: render, staticRenderFns */function(e,t,n){"use strict";n.r(t);var r=n(/*! -!../../node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../node_modules/vue-loader/lib??vue-loader-options!./dropdown.vue?vue&type=template&id=6b3215d3& */"./node_modules/vue-loader/lib/loaders/templateLoader.js?!./node_modules/vue-loader/lib/index.js?!./src/vue/dropdown.vue?vue&type=template&id=6b3215d3&");n.d(t,"render",(function(){return r["render"]})),n.d(t,"staticRenderFns",(function(){return r["staticRenderFns"]}))},"./src/vue/element.vue": /*!*****************************!*\ !*** ./src/vue/element.vue ***! \*****************************/ /*! exports provided: SurveyElementVue, default */function(e,t,n){"use strict";n.r(t);var r=n(/*! ./element.vue?vue&type=template&id=973472ac& */"./src/vue/element.vue?vue&type=template&id=973472ac&"),o=n(/*! ./element.vue?vue&type=script&lang=ts& */"./src/vue/element.vue?vue&type=script&lang=ts&");n.d(t,"SurveyElementVue",(function(){return o["SurveyElementVue"]}));var i=n(/*! ../../node_modules/vue-loader/lib/runtime/componentNormalizer.js */"./node_modules/vue-loader/lib/runtime/componentNormalizer.js"),s=Object(i["default"])(o["default"],r["render"],r["staticRenderFns"],!1,null,null,null);s.options.__file="src/vue/element.vue",t["default"]=s.exports},"./src/vue/element.vue?vue&type=script&lang=ts&": /*!******************************************************!*\ !*** ./src/vue/element.vue?vue&type=script&lang=ts& ***! \******************************************************/ /*! exports provided: default, SurveyElementVue */function(e,t,n){"use strict";n.r(t);var r=n(/*! -!../../node_modules/ts-loader??ref--0!../../node_modules/vue-loader/lib??vue-loader-options!./element.vue?vue&type=script&lang=ts& */"./node_modules/ts-loader/index.js?!./node_modules/vue-loader/lib/index.js?!./src/vue/element.vue?vue&type=script&lang=ts&");n.d(t,"SurveyElementVue",(function(){return r["SurveyElementVue"]})),t["default"]=r["default"]},"./src/vue/element.vue?vue&type=template&id=973472ac&": /*!************************************************************!*\ !*** ./src/vue/element.vue?vue&type=template&id=973472ac& ***! \************************************************************/ /*! exports provided: render, staticRenderFns */function(e,t,n){"use strict";n.r(t);var r=n(/*! -!../../node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../node_modules/vue-loader/lib??vue-loader-options!./element.vue?vue&type=template&id=973472ac& */"./node_modules/vue-loader/lib/loaders/templateLoader.js?!./node_modules/vue-loader/lib/index.js?!./src/vue/element.vue?vue&type=template&id=973472ac&");n.d(t,"render",(function(){return r["render"]})),n.d(t,"staticRenderFns",(function(){return r["staticRenderFns"]}))},"./src/vue/elementheader.vue": /*!***********************************!*\ !*** ./src/vue/elementheader.vue ***! \***********************************/ /*! exports provided: ElementHeader, default */function(e,t,n){"use strict";n.r(t);var r=n(/*! ./elementheader.vue?vue&type=template&id=27adc537& */"./src/vue/elementheader.vue?vue&type=template&id=27adc537&"),o=n(/*! ./elementheader.vue?vue&type=script&lang=ts& */"./src/vue/elementheader.vue?vue&type=script&lang=ts&");n.d(t,"ElementHeader",(function(){return o["ElementHeader"]}));var i=n(/*! ../../node_modules/vue-loader/lib/runtime/componentNormalizer.js */"./node_modules/vue-loader/lib/runtime/componentNormalizer.js"),s=Object(i["default"])(o["default"],r["render"],r["staticRenderFns"],!1,null,null,null);s.options.__file="src/vue/elementheader.vue",t["default"]=s.exports},"./src/vue/elementheader.vue?vue&type=script&lang=ts&": /*!************************************************************!*\ !*** ./src/vue/elementheader.vue?vue&type=script&lang=ts& ***! \************************************************************/ /*! exports provided: default, ElementHeader */function(e,t,n){"use strict";n.r(t);var r=n(/*! -!../../node_modules/ts-loader??ref--0!../../node_modules/vue-loader/lib??vue-loader-options!./elementheader.vue?vue&type=script&lang=ts& */"./node_modules/ts-loader/index.js?!./node_modules/vue-loader/lib/index.js?!./src/vue/elementheader.vue?vue&type=script&lang=ts&");n.d(t,"ElementHeader",(function(){return r["ElementHeader"]})),t["default"]=r["default"]},"./src/vue/elementheader.vue?vue&type=template&id=27adc537&": /*!******************************************************************!*\ !*** ./src/vue/elementheader.vue?vue&type=template&id=27adc537& ***! \******************************************************************/ /*! exports provided: render, staticRenderFns */function(e,t,n){"use strict";n.r(t);var r=n(/*! -!../../node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../node_modules/vue-loader/lib??vue-loader-options!./elementheader.vue?vue&type=template&id=27adc537& */"./node_modules/vue-loader/lib/loaders/templateLoader.js?!./node_modules/vue-loader/lib/index.js?!./src/vue/elementheader.vue?vue&type=template&id=27adc537&");n.d(t,"render",(function(){return r["render"]})),n.d(t,"staticRenderFns",(function(){return r["staticRenderFns"]}))},"./src/vue/empty.vue": /*!***************************!*\ !*** ./src/vue/empty.vue ***! \***************************/ /*! exports provided: Empty, default */function(e,t,n){"use strict";n.r(t);var r=n(/*! ./empty.vue?vue&type=template&id=05052c0a& */"./src/vue/empty.vue?vue&type=template&id=05052c0a&"),o=n(/*! ./empty.vue?vue&type=script&lang=ts& */"./src/vue/empty.vue?vue&type=script&lang=ts&");n.d(t,"Empty",(function(){return o["Empty"]}));var i=n(/*! ../../node_modules/vue-loader/lib/runtime/componentNormalizer.js */"./node_modules/vue-loader/lib/runtime/componentNormalizer.js"),s=Object(i["default"])(o["default"],r["render"],r["staticRenderFns"],!1,null,null,null);s.options.__file="src/vue/empty.vue",t["default"]=s.exports},"./src/vue/empty.vue?vue&type=script&lang=ts&": /*!****************************************************!*\ !*** ./src/vue/empty.vue?vue&type=script&lang=ts& ***! \****************************************************/ /*! exports provided: default, Empty */function(e,t,n){"use strict";n.r(t);var r=n(/*! -!../../node_modules/ts-loader??ref--0!../../node_modules/vue-loader/lib??vue-loader-options!./empty.vue?vue&type=script&lang=ts& */"./node_modules/ts-loader/index.js?!./node_modules/vue-loader/lib/index.js?!./src/vue/empty.vue?vue&type=script&lang=ts&");n.d(t,"Empty",(function(){return r["Empty"]})),t["default"]=r["default"]},"./src/vue/empty.vue?vue&type=template&id=05052c0a&": /*!**********************************************************!*\ !*** ./src/vue/empty.vue?vue&type=template&id=05052c0a& ***! \**********************************************************/ /*! exports provided: render, staticRenderFns */function(e,t,n){"use strict";n.r(t);var r=n(/*! -!../../node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../node_modules/vue-loader/lib??vue-loader-options!./empty.vue?vue&type=template&id=05052c0a& */"./node_modules/vue-loader/lib/loaders/templateLoader.js?!./node_modules/vue-loader/lib/index.js?!./src/vue/empty.vue?vue&type=template&id=05052c0a&");n.d(t,"render",(function(){return r["render"]})),n.d(t,"staticRenderFns",(function(){return r["staticRenderFns"]}))},"./src/vue/errors.vue": /*!****************************!*\ !*** ./src/vue/errors.vue ***! \****************************/ /*! exports provided: Errors, default */function(e,t,n){"use strict";n.r(t);var r=n(/*! ./errors.vue?vue&type=template&id=5682e6ad& */"./src/vue/errors.vue?vue&type=template&id=5682e6ad&"),o=n(/*! ./errors.vue?vue&type=script&lang=ts& */"./src/vue/errors.vue?vue&type=script&lang=ts&");n.d(t,"Errors",(function(){return o["Errors"]}));var i=n(/*! ../../node_modules/vue-loader/lib/runtime/componentNormalizer.js */"./node_modules/vue-loader/lib/runtime/componentNormalizer.js"),s=Object(i["default"])(o["default"],r["render"],r["staticRenderFns"],!1,null,null,null);s.options.__file="src/vue/errors.vue",t["default"]=s.exports},"./src/vue/errors.vue?vue&type=script&lang=ts&": /*!*****************************************************!*\ !*** ./src/vue/errors.vue?vue&type=script&lang=ts& ***! \*****************************************************/ /*! exports provided: default, Errors */function(e,t,n){"use strict";n.r(t);var r=n(/*! -!../../node_modules/ts-loader??ref--0!../../node_modules/vue-loader/lib??vue-loader-options!./errors.vue?vue&type=script&lang=ts& */"./node_modules/ts-loader/index.js?!./node_modules/vue-loader/lib/index.js?!./src/vue/errors.vue?vue&type=script&lang=ts&");n.d(t,"Errors",(function(){return r["Errors"]})),t["default"]=r["default"]},"./src/vue/errors.vue?vue&type=template&id=5682e6ad&": /*!***********************************************************!*\ !*** ./src/vue/errors.vue?vue&type=template&id=5682e6ad& ***! \***********************************************************/ /*! exports provided: render, staticRenderFns */function(e,t,n){"use strict";n.r(t);var r=n(/*! -!../../node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../node_modules/vue-loader/lib??vue-loader-options!./errors.vue?vue&type=template&id=5682e6ad& */"./node_modules/vue-loader/lib/loaders/templateLoader.js?!./node_modules/vue-loader/lib/index.js?!./src/vue/errors.vue?vue&type=template&id=5682e6ad&");n.d(t,"render",(function(){return r["render"]})),n.d(t,"staticRenderFns",(function(){return r["staticRenderFns"]}))},"./src/vue/expression.vue": /*!********************************!*\ !*** ./src/vue/expression.vue ***! \********************************/ /*! exports provided: Expression, default */function(e,t,n){"use strict";n.r(t);var r=n(/*! ./expression.vue?vue&type=template&id=1d20865a& */"./src/vue/expression.vue?vue&type=template&id=1d20865a&"),o=n(/*! ./expression.vue?vue&type=script&lang=ts& */"./src/vue/expression.vue?vue&type=script&lang=ts&");n.d(t,"Expression",(function(){return o["Expression"]}));var i=n(/*! ../../node_modules/vue-loader/lib/runtime/componentNormalizer.js */"./node_modules/vue-loader/lib/runtime/componentNormalizer.js"),s=Object(i["default"])(o["default"],r["render"],r["staticRenderFns"],!1,null,null,null);s.options.__file="src/vue/expression.vue",t["default"]=s.exports},"./src/vue/expression.vue?vue&type=script&lang=ts&": /*!*********************************************************!*\ !*** ./src/vue/expression.vue?vue&type=script&lang=ts& ***! \*********************************************************/ /*! exports provided: default, Expression */function(e,t,n){"use strict";n.r(t);var r=n(/*! -!../../node_modules/ts-loader??ref--0!../../node_modules/vue-loader/lib??vue-loader-options!./expression.vue?vue&type=script&lang=ts& */"./node_modules/ts-loader/index.js?!./node_modules/vue-loader/lib/index.js?!./src/vue/expression.vue?vue&type=script&lang=ts&");n.d(t,"Expression",(function(){return r["Expression"]})),t["default"]=r["default"]},"./src/vue/expression.vue?vue&type=template&id=1d20865a&": /*!***************************************************************!*\ !*** ./src/vue/expression.vue?vue&type=template&id=1d20865a& ***! \***************************************************************/ /*! exports provided: render, staticRenderFns */function(e,t,n){"use strict";n.r(t);var r=n(/*! -!../../node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../node_modules/vue-loader/lib??vue-loader-options!./expression.vue?vue&type=template&id=1d20865a& */"./node_modules/vue-loader/lib/loaders/templateLoader.js?!./node_modules/vue-loader/lib/index.js?!./src/vue/expression.vue?vue&type=template&id=1d20865a&");n.d(t,"render",(function(){return r["render"]})),n.d(t,"staticRenderFns",(function(){return r["staticRenderFns"]}))},"./src/vue/file.vue": /*!**************************!*\ !*** ./src/vue/file.vue ***! \**************************/ /*! exports provided: File, default */function(e,t,n){"use strict";n.r(t);var r=n(/*! ./file.vue?vue&type=template&id=20f70284& */"./src/vue/file.vue?vue&type=template&id=20f70284&"),o=n(/*! ./file.vue?vue&type=script&lang=ts& */"./src/vue/file.vue?vue&type=script&lang=ts&");n.d(t,"File",(function(){return o["File"]}));var i=n(/*! ../../node_modules/vue-loader/lib/runtime/componentNormalizer.js */"./node_modules/vue-loader/lib/runtime/componentNormalizer.js"),s=Object(i["default"])(o["default"],r["render"],r["staticRenderFns"],!1,null,null,null);s.options.__file="src/vue/file.vue",t["default"]=s.exports},"./src/vue/file.vue?vue&type=script&lang=ts&": /*!***************************************************!*\ !*** ./src/vue/file.vue?vue&type=script&lang=ts& ***! \***************************************************/ /*! exports provided: default, File */function(e,t,n){"use strict";n.r(t);var r=n(/*! -!../../node_modules/ts-loader??ref--0!../../node_modules/vue-loader/lib??vue-loader-options!./file.vue?vue&type=script&lang=ts& */"./node_modules/ts-loader/index.js?!./node_modules/vue-loader/lib/index.js?!./src/vue/file.vue?vue&type=script&lang=ts&");n.d(t,"File",(function(){return r["File"]})),t["default"]=r["default"]},"./src/vue/file.vue?vue&type=template&id=20f70284&": /*!*********************************************************!*\ !*** ./src/vue/file.vue?vue&type=template&id=20f70284& ***! \*********************************************************/ /*! exports provided: render, staticRenderFns */function(e,t,n){"use strict";n.r(t);var r=n(/*! -!../../node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../node_modules/vue-loader/lib??vue-loader-options!./file.vue?vue&type=template&id=20f70284& */"./node_modules/vue-loader/lib/loaders/templateLoader.js?!./node_modules/vue-loader/lib/index.js?!./src/vue/file.vue?vue&type=template&id=20f70284&");n.d(t,"render",(function(){return r["render"]})),n.d(t,"staticRenderFns",(function(){return r["staticRenderFns"]}))},"./src/vue/flowpanel.vue": /*!*******************************!*\ !*** ./src/vue/flowpanel.vue ***! \*******************************/ /*! exports provided: FlowPanel, default */function(e,t,n){"use strict";n.r(t);var r=n(/*! ./flowpanel.vue?vue&type=template&id=96ae1a78& */"./src/vue/flowpanel.vue?vue&type=template&id=96ae1a78&"),o=n(/*! ./flowpanel.vue?vue&type=script&lang=ts& */"./src/vue/flowpanel.vue?vue&type=script&lang=ts&");n.d(t,"FlowPanel",(function(){return o["FlowPanel"]}));var i=n(/*! ../../node_modules/vue-loader/lib/runtime/componentNormalizer.js */"./node_modules/vue-loader/lib/runtime/componentNormalizer.js"),s=Object(i["default"])(o["default"],r["render"],r["staticRenderFns"],!1,null,null,null);s.options.__file="src/vue/flowpanel.vue",t["default"]=s.exports},"./src/vue/flowpanel.vue?vue&type=script&lang=ts&": /*!********************************************************!*\ !*** ./src/vue/flowpanel.vue?vue&type=script&lang=ts& ***! \********************************************************/ /*! exports provided: default, FlowPanel */function(e,t,n){"use strict";n.r(t);var r=n(/*! -!../../node_modules/ts-loader??ref--0!../../node_modules/vue-loader/lib??vue-loader-options!./flowpanel.vue?vue&type=script&lang=ts& */"./node_modules/ts-loader/index.js?!./node_modules/vue-loader/lib/index.js?!./src/vue/flowpanel.vue?vue&type=script&lang=ts&");n.d(t,"FlowPanel",(function(){return r["FlowPanel"]})),t["default"]=r["default"]},"./src/vue/flowpanel.vue?vue&type=template&id=96ae1a78&": /*!**************************************************************!*\ !*** ./src/vue/flowpanel.vue?vue&type=template&id=96ae1a78& ***! \**************************************************************/ /*! exports provided: render, staticRenderFns */function(e,t,n){"use strict";n.r(t);var r=n(/*! -!../../node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../node_modules/vue-loader/lib??vue-loader-options!./flowpanel.vue?vue&type=template&id=96ae1a78& */"./node_modules/vue-loader/lib/loaders/templateLoader.js?!./node_modules/vue-loader/lib/index.js?!./src/vue/flowpanel.vue?vue&type=template&id=96ae1a78&");n.d(t,"render",(function(){return r["render"]})),n.d(t,"staticRenderFns",(function(){return r["staticRenderFns"]}))},"./src/vue/flowpanelelement.vue": /*!**************************************!*\ !*** ./src/vue/flowpanelelement.vue ***! \**************************************/ /*! exports provided: FlowPanelElement, default */function(e,t,n){"use strict";n.r(t);var r=n(/*! ./flowpanelelement.vue?vue&type=template&id=9d992c30& */"./src/vue/flowpanelelement.vue?vue&type=template&id=9d992c30&"),o=n(/*! ./flowpanelelement.vue?vue&type=script&lang=ts& */"./src/vue/flowpanelelement.vue?vue&type=script&lang=ts&");n.d(t,"FlowPanelElement",(function(){return o["FlowPanelElement"]}));var i=n(/*! ../../node_modules/vue-loader/lib/runtime/componentNormalizer.js */"./node_modules/vue-loader/lib/runtime/componentNormalizer.js"),s=Object(i["default"])(o["default"],r["render"],r["staticRenderFns"],!1,null,null,null);s.options.__file="src/vue/flowpanelelement.vue",t["default"]=s.exports},"./src/vue/flowpanelelement.vue?vue&type=script&lang=ts&": /*!***************************************************************!*\ !*** ./src/vue/flowpanelelement.vue?vue&type=script&lang=ts& ***! \***************************************************************/ /*! exports provided: default, FlowPanelElement */function(e,t,n){"use strict";n.r(t);var r=n(/*! -!../../node_modules/ts-loader??ref--0!../../node_modules/vue-loader/lib??vue-loader-options!./flowpanelelement.vue?vue&type=script&lang=ts& */"./node_modules/ts-loader/index.js?!./node_modules/vue-loader/lib/index.js?!./src/vue/flowpanelelement.vue?vue&type=script&lang=ts&");n.d(t,"FlowPanelElement",(function(){return r["FlowPanelElement"]})),t["default"]=r["default"]},"./src/vue/flowpanelelement.vue?vue&type=template&id=9d992c30&": /*!*********************************************************************!*\ !*** ./src/vue/flowpanelelement.vue?vue&type=template&id=9d992c30& ***! \*********************************************************************/ /*! exports provided: render, staticRenderFns */function(e,t,n){"use strict";n.r(t);var r=n(/*! -!../../node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../node_modules/vue-loader/lib??vue-loader-options!./flowpanelelement.vue?vue&type=template&id=9d992c30& */"./node_modules/vue-loader/lib/loaders/templateLoader.js?!./node_modules/vue-loader/lib/index.js?!./src/vue/flowpanelelement.vue?vue&type=template&id=9d992c30&");n.d(t,"render",(function(){return r["render"]})),n.d(t,"staticRenderFns",(function(){return r["staticRenderFns"]}))},"./src/vue/header.vue": /*!****************************!*\ !*** ./src/vue/header.vue ***! \****************************/ /*! exports provided: SurveyHeader, default */function(e,t,n){"use strict";n.r(t);var r=n(/*! ./header.vue?vue&type=template&id=69cff8cf& */"./src/vue/header.vue?vue&type=template&id=69cff8cf&"),o=n(/*! ./header.vue?vue&type=script&lang=ts& */"./src/vue/header.vue?vue&type=script&lang=ts&");n.d(t,"SurveyHeader",(function(){return o["SurveyHeader"]}));var i=n(/*! ../../node_modules/vue-loader/lib/runtime/componentNormalizer.js */"./node_modules/vue-loader/lib/runtime/componentNormalizer.js"),s=Object(i["default"])(o["default"],r["render"],r["staticRenderFns"],!1,null,null,null);s.options.__file="src/vue/header.vue",t["default"]=s.exports},"./src/vue/header.vue?vue&type=script&lang=ts&": /*!*****************************************************!*\ !*** ./src/vue/header.vue?vue&type=script&lang=ts& ***! \*****************************************************/ /*! exports provided: default, SurveyHeader */function(e,t,n){"use strict";n.r(t);var r=n(/*! -!../../node_modules/ts-loader??ref--0!../../node_modules/vue-loader/lib??vue-loader-options!./header.vue?vue&type=script&lang=ts& */"./node_modules/ts-loader/index.js?!./node_modules/vue-loader/lib/index.js?!./src/vue/header.vue?vue&type=script&lang=ts&");n.d(t,"SurveyHeader",(function(){return r["SurveyHeader"]})),t["default"]=r["default"]},"./src/vue/header.vue?vue&type=template&id=69cff8cf&": /*!***********************************************************!*\ !*** ./src/vue/header.vue?vue&type=template&id=69cff8cf& ***! \***********************************************************/ /*! exports provided: render, staticRenderFns */function(e,t,n){"use strict";n.r(t);var r=n(/*! -!../../node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../node_modules/vue-loader/lib??vue-loader-options!./header.vue?vue&type=template&id=69cff8cf& */"./node_modules/vue-loader/lib/loaders/templateLoader.js?!./node_modules/vue-loader/lib/index.js?!./src/vue/header.vue?vue&type=template&id=69cff8cf&");n.d(t,"render",(function(){return r["render"]})),n.d(t,"staticRenderFns",(function(){return r["staticRenderFns"]}))},"./src/vue/html.vue": /*!**************************!*\ !*** ./src/vue/html.vue ***! \**************************/ /*! exports provided: Html, default */function(e,t,n){"use strict";n.r(t);var r=n(/*! ./html.vue?vue&type=template&id=0742e16d& */"./src/vue/html.vue?vue&type=template&id=0742e16d&"),o=n(/*! ./html.vue?vue&type=script&lang=ts& */"./src/vue/html.vue?vue&type=script&lang=ts&");n.d(t,"Html",(function(){return o["Html"]}));var i=n(/*! ../../node_modules/vue-loader/lib/runtime/componentNormalizer.js */"./node_modules/vue-loader/lib/runtime/componentNormalizer.js"),s=Object(i["default"])(o["default"],r["render"],r["staticRenderFns"],!1,null,null,null);s.options.__file="src/vue/html.vue",t["default"]=s.exports},"./src/vue/html.vue?vue&type=script&lang=ts&": /*!***************************************************!*\ !*** ./src/vue/html.vue?vue&type=script&lang=ts& ***! \***************************************************/ /*! exports provided: default, Html */function(e,t,n){"use strict";n.r(t);var r=n(/*! -!../../node_modules/ts-loader??ref--0!../../node_modules/vue-loader/lib??vue-loader-options!./html.vue?vue&type=script&lang=ts& */"./node_modules/ts-loader/index.js?!./node_modules/vue-loader/lib/index.js?!./src/vue/html.vue?vue&type=script&lang=ts&");n.d(t,"Html",(function(){return r["Html"]})),t["default"]=r["default"]},"./src/vue/html.vue?vue&type=template&id=0742e16d&": /*!*********************************************************!*\ !*** ./src/vue/html.vue?vue&type=template&id=0742e16d& ***! \*********************************************************/ /*! exports provided: render, staticRenderFns */function(e,t,n){"use strict";n.r(t);var r=n(/*! -!../../node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../node_modules/vue-loader/lib??vue-loader-options!./html.vue?vue&type=template&id=0742e16d& */"./node_modules/vue-loader/lib/loaders/templateLoader.js?!./node_modules/vue-loader/lib/index.js?!./src/vue/html.vue?vue&type=template&id=0742e16d&");n.d(t,"render",(function(){return r["render"]})),n.d(t,"staticRenderFns",(function(){return r["staticRenderFns"]}))},"./src/vue/image.vue": /*!***************************!*\ !*** ./src/vue/image.vue ***! \***************************/ /*! exports provided: QuestionImage, default */function(e,t,n){"use strict";n.r(t);var r=n(/*! ./image.vue?vue&type=template&id=1dc8d709& */"./src/vue/image.vue?vue&type=template&id=1dc8d709&"),o=n(/*! ./image.vue?vue&type=script&lang=ts& */"./src/vue/image.vue?vue&type=script&lang=ts&");n.d(t,"QuestionImage",(function(){return o["QuestionImage"]}));var i=n(/*! ../../node_modules/vue-loader/lib/runtime/componentNormalizer.js */"./node_modules/vue-loader/lib/runtime/componentNormalizer.js"),s=Object(i["default"])(o["default"],r["render"],r["staticRenderFns"],!1,null,null,null);s.options.__file="src/vue/image.vue",t["default"]=s.exports},"./src/vue/image.vue?vue&type=script&lang=ts&": /*!****************************************************!*\ !*** ./src/vue/image.vue?vue&type=script&lang=ts& ***! \****************************************************/ /*! exports provided: default, QuestionImage */function(e,t,n){"use strict";n.r(t);var r=n(/*! -!../../node_modules/ts-loader??ref--0!../../node_modules/vue-loader/lib??vue-loader-options!./image.vue?vue&type=script&lang=ts& */"./node_modules/ts-loader/index.js?!./node_modules/vue-loader/lib/index.js?!./src/vue/image.vue?vue&type=script&lang=ts&");n.d(t,"QuestionImage",(function(){return r["QuestionImage"]})),t["default"]=r["default"]},"./src/vue/image.vue?vue&type=template&id=1dc8d709&": /*!**********************************************************!*\ !*** ./src/vue/image.vue?vue&type=template&id=1dc8d709& ***! \**********************************************************/ /*! exports provided: render, staticRenderFns */function(e,t,n){"use strict";n.r(t);var r=n(/*! -!../../node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../node_modules/vue-loader/lib??vue-loader-options!./image.vue?vue&type=template&id=1dc8d709& */"./node_modules/vue-loader/lib/loaders/templateLoader.js?!./node_modules/vue-loader/lib/index.js?!./src/vue/image.vue?vue&type=template&id=1dc8d709&");n.d(t,"render",(function(){return r["render"]})),n.d(t,"staticRenderFns",(function(){return r["staticRenderFns"]}))},"./src/vue/imagepicker.vue": /*!*********************************!*\ !*** ./src/vue/imagepicker.vue ***! \*********************************/ /*! exports provided: ImagePicker, default */function(e,t,n){"use strict";n.r(t);var r=n(/*! ./imagepicker.vue?vue&type=template&id=153fe052& */"./src/vue/imagepicker.vue?vue&type=template&id=153fe052&"),o=n(/*! ./imagepicker.vue?vue&type=script&lang=ts& */"./src/vue/imagepicker.vue?vue&type=script&lang=ts&");n.d(t,"ImagePicker",(function(){return o["ImagePicker"]}));var i=n(/*! ../../node_modules/vue-loader/lib/runtime/componentNormalizer.js */"./node_modules/vue-loader/lib/runtime/componentNormalizer.js"),s=Object(i["default"])(o["default"],r["render"],r["staticRenderFns"],!1,null,null,null);s.options.__file="src/vue/imagepicker.vue",t["default"]=s.exports},"./src/vue/imagepicker.vue?vue&type=script&lang=ts&": /*!**********************************************************!*\ !*** ./src/vue/imagepicker.vue?vue&type=script&lang=ts& ***! \**********************************************************/ /*! exports provided: default, ImagePicker */function(e,t,n){"use strict";n.r(t);var r=n(/*! -!../../node_modules/ts-loader??ref--0!../../node_modules/vue-loader/lib??vue-loader-options!./imagepicker.vue?vue&type=script&lang=ts& */"./node_modules/ts-loader/index.js?!./node_modules/vue-loader/lib/index.js?!./src/vue/imagepicker.vue?vue&type=script&lang=ts&");n.d(t,"ImagePicker",(function(){return r["ImagePicker"]})),t["default"]=r["default"]},"./src/vue/imagepicker.vue?vue&type=template&id=153fe052&": /*!****************************************************************!*\ !*** ./src/vue/imagepicker.vue?vue&type=template&id=153fe052& ***! \****************************************************************/ /*! exports provided: render, staticRenderFns */function(e,t,n){"use strict";n.r(t);var r=n(/*! -!../../node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../node_modules/vue-loader/lib??vue-loader-options!./imagepicker.vue?vue&type=template&id=153fe052& */"./node_modules/vue-loader/lib/loaders/templateLoader.js?!./node_modules/vue-loader/lib/index.js?!./src/vue/imagepicker.vue?vue&type=template&id=153fe052&");n.d(t,"render",(function(){return r["render"]})),n.d(t,"staticRenderFns",(function(){return r["staticRenderFns"]}))},"./src/vue/matrix.vue": /*!****************************!*\ !*** ./src/vue/matrix.vue ***! \****************************/ /*! exports provided: Matrix, default */function(e,t,n){"use strict";n.r(t);var r=n(/*! ./matrix.vue?vue&type=template&id=7fa2f403& */"./src/vue/matrix.vue?vue&type=template&id=7fa2f403&"),o=n(/*! ./matrix.vue?vue&type=script&lang=ts& */"./src/vue/matrix.vue?vue&type=script&lang=ts&");n.d(t,"Matrix",(function(){return o["Matrix"]}));var i=n(/*! ../../node_modules/vue-loader/lib/runtime/componentNormalizer.js */"./node_modules/vue-loader/lib/runtime/componentNormalizer.js"),s=Object(i["default"])(o["default"],r["render"],r["staticRenderFns"],!1,null,null,null);s.options.__file="src/vue/matrix.vue",t["default"]=s.exports},"./src/vue/matrix.vue?vue&type=script&lang=ts&": /*!*****************************************************!*\ !*** ./src/vue/matrix.vue?vue&type=script&lang=ts& ***! \*****************************************************/ /*! exports provided: default, Matrix */function(e,t,n){"use strict";n.r(t);var r=n(/*! -!../../node_modules/ts-loader??ref--0!../../node_modules/vue-loader/lib??vue-loader-options!./matrix.vue?vue&type=script&lang=ts& */"./node_modules/ts-loader/index.js?!./node_modules/vue-loader/lib/index.js?!./src/vue/matrix.vue?vue&type=script&lang=ts&");n.d(t,"Matrix",(function(){return r["Matrix"]})),t["default"]=r["default"]},"./src/vue/matrix.vue?vue&type=template&id=7fa2f403&": /*!***********************************************************!*\ !*** ./src/vue/matrix.vue?vue&type=template&id=7fa2f403& ***! \***********************************************************/ /*! exports provided: render, staticRenderFns */function(e,t,n){"use strict";n.r(t);var r=n(/*! -!../../node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../node_modules/vue-loader/lib??vue-loader-options!./matrix.vue?vue&type=template&id=7fa2f403& */"./node_modules/vue-loader/lib/loaders/templateLoader.js?!./node_modules/vue-loader/lib/index.js?!./src/vue/matrix.vue?vue&type=template&id=7fa2f403&");n.d(t,"render",(function(){return r["render"]})),n.d(t,"staticRenderFns",(function(){return r["staticRenderFns"]}))},"./src/vue/matrixcell.vue": /*!********************************!*\ !*** ./src/vue/matrixcell.vue ***! \********************************/ /*! exports provided: MatrixCell, default */function(e,t,n){"use strict";n.r(t);var r=n(/*! ./matrixcell.vue?vue&type=template&id=3ca54ee5& */"./src/vue/matrixcell.vue?vue&type=template&id=3ca54ee5&"),o=n(/*! ./matrixcell.vue?vue&type=script&lang=ts& */"./src/vue/matrixcell.vue?vue&type=script&lang=ts&");n.d(t,"MatrixCell",(function(){return o["MatrixCell"]}));var i=n(/*! ../../node_modules/vue-loader/lib/runtime/componentNormalizer.js */"./node_modules/vue-loader/lib/runtime/componentNormalizer.js"),s=Object(i["default"])(o["default"],r["render"],r["staticRenderFns"],!1,null,null,null);s.options.__file="src/vue/matrixcell.vue",t["default"]=s.exports},"./src/vue/matrixcell.vue?vue&type=script&lang=ts&": /*!*********************************************************!*\ !*** ./src/vue/matrixcell.vue?vue&type=script&lang=ts& ***! \*********************************************************/ /*! exports provided: default, MatrixCell */function(e,t,n){"use strict";n.r(t);var r=n(/*! -!../../node_modules/ts-loader??ref--0!../../node_modules/vue-loader/lib??vue-loader-options!./matrixcell.vue?vue&type=script&lang=ts& */"./node_modules/ts-loader/index.js?!./node_modules/vue-loader/lib/index.js?!./src/vue/matrixcell.vue?vue&type=script&lang=ts&");n.d(t,"MatrixCell",(function(){return r["MatrixCell"]})),t["default"]=r["default"]},"./src/vue/matrixcell.vue?vue&type=template&id=3ca54ee5&": /*!***************************************************************!*\ !*** ./src/vue/matrixcell.vue?vue&type=template&id=3ca54ee5& ***! \***************************************************************/ /*! exports provided: render, staticRenderFns */function(e,t,n){"use strict";n.r(t);var r=n(/*! -!../../node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../node_modules/vue-loader/lib??vue-loader-options!./matrixcell.vue?vue&type=template&id=3ca54ee5& */"./node_modules/vue-loader/lib/loaders/templateLoader.js?!./node_modules/vue-loader/lib/index.js?!./src/vue/matrixcell.vue?vue&type=template&id=3ca54ee5&");n.d(t,"render",(function(){return r["render"]})),n.d(t,"staticRenderFns",(function(){return r["staticRenderFns"]}))},"./src/vue/matrixdropdown.vue": /*!************************************!*\ !*** ./src/vue/matrixdropdown.vue ***! \************************************/ /*! exports provided: MatrixDropdown, default */function(e,t,n){"use strict";n.r(t);var r=n(/*! ./matrixdropdown.vue?vue&type=template&id=0b4da6d8& */"./src/vue/matrixdropdown.vue?vue&type=template&id=0b4da6d8&"),o=n(/*! ./matrixdropdown.vue?vue&type=script&lang=ts& */"./src/vue/matrixdropdown.vue?vue&type=script&lang=ts&");n.d(t,"MatrixDropdown",(function(){return o["MatrixDropdown"]}));var i=n(/*! ../../node_modules/vue-loader/lib/runtime/componentNormalizer.js */"./node_modules/vue-loader/lib/runtime/componentNormalizer.js"),s=Object(i["default"])(o["default"],r["render"],r["staticRenderFns"],!1,null,null,null);s.options.__file="src/vue/matrixdropdown.vue",t["default"]=s.exports},"./src/vue/matrixdropdown.vue?vue&type=script&lang=ts&": /*!*************************************************************!*\ !*** ./src/vue/matrixdropdown.vue?vue&type=script&lang=ts& ***! \*************************************************************/ /*! exports provided: default, MatrixDropdown */function(e,t,n){"use strict";n.r(t);var r=n(/*! -!../../node_modules/ts-loader??ref--0!../../node_modules/vue-loader/lib??vue-loader-options!./matrixdropdown.vue?vue&type=script&lang=ts& */"./node_modules/ts-loader/index.js?!./node_modules/vue-loader/lib/index.js?!./src/vue/matrixdropdown.vue?vue&type=script&lang=ts&");n.d(t,"MatrixDropdown",(function(){return r["MatrixDropdown"]})),t["default"]=r["default"]},"./src/vue/matrixdropdown.vue?vue&type=template&id=0b4da6d8&": /*!*******************************************************************!*\ !*** ./src/vue/matrixdropdown.vue?vue&type=template&id=0b4da6d8& ***! \*******************************************************************/ /*! exports provided: render, staticRenderFns */function(e,t,n){"use strict";n.r(t);var r=n(/*! -!../../node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../node_modules/vue-loader/lib??vue-loader-options!./matrixdropdown.vue?vue&type=template&id=0b4da6d8& */"./node_modules/vue-loader/lib/loaders/templateLoader.js?!./node_modules/vue-loader/lib/index.js?!./src/vue/matrixdropdown.vue?vue&type=template&id=0b4da6d8&");n.d(t,"render",(function(){return r["render"]})),n.d(t,"staticRenderFns",(function(){return r["staticRenderFns"]}))},"./src/vue/matrixdynamic.vue": /*!***********************************!*\ !*** ./src/vue/matrixdynamic.vue ***! \***********************************/ /*! exports provided: MatrixDynamic, default */function(e,t,n){"use strict";n.r(t);var r=n(/*! ./matrixdynamic.vue?vue&type=template&id=9a0b88e8& */"./src/vue/matrixdynamic.vue?vue&type=template&id=9a0b88e8&"),o=n(/*! ./matrixdynamic.vue?vue&type=script&lang=ts& */"./src/vue/matrixdynamic.vue?vue&type=script&lang=ts&");n.d(t,"MatrixDynamic",(function(){return o["MatrixDynamic"]}));var i=n(/*! ../../node_modules/vue-loader/lib/runtime/componentNormalizer.js */"./node_modules/vue-loader/lib/runtime/componentNormalizer.js"),s=Object(i["default"])(o["default"],r["render"],r["staticRenderFns"],!1,null,null,null);s.options.__file="src/vue/matrixdynamic.vue",t["default"]=s.exports},"./src/vue/matrixdynamic.vue?vue&type=script&lang=ts&": /*!************************************************************!*\ !*** ./src/vue/matrixdynamic.vue?vue&type=script&lang=ts& ***! \************************************************************/ /*! exports provided: default, MatrixDynamic */function(e,t,n){"use strict";n.r(t);var r=n(/*! -!../../node_modules/ts-loader??ref--0!../../node_modules/vue-loader/lib??vue-loader-options!./matrixdynamic.vue?vue&type=script&lang=ts& */"./node_modules/ts-loader/index.js?!./node_modules/vue-loader/lib/index.js?!./src/vue/matrixdynamic.vue?vue&type=script&lang=ts&");n.d(t,"MatrixDynamic",(function(){return r["MatrixDynamic"]})),t["default"]=r["default"]},"./src/vue/matrixdynamic.vue?vue&type=template&id=9a0b88e8&": /*!******************************************************************!*\ !*** ./src/vue/matrixdynamic.vue?vue&type=template&id=9a0b88e8& ***! \******************************************************************/ /*! exports provided: render, staticRenderFns */function(e,t,n){"use strict";n.r(t);var r=n(/*! -!../../node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../node_modules/vue-loader/lib??vue-loader-options!./matrixdynamic.vue?vue&type=template&id=9a0b88e8& */"./node_modules/vue-loader/lib/loaders/templateLoader.js?!./node_modules/vue-loader/lib/index.js?!./src/vue/matrixdynamic.vue?vue&type=template&id=9a0b88e8&");n.d(t,"render",(function(){return r["render"]})),n.d(t,"staticRenderFns",(function(){return r["staticRenderFns"]}))},"./src/vue/matrixtable.vue": /*!*********************************!*\ !*** ./src/vue/matrixtable.vue ***! \*********************************/ /*! exports provided: MatrixTable, default */function(e,t,n){"use strict";n.r(t);var r=n(/*! ./matrixtable.vue?vue&type=template&id=fa197e4a& */"./src/vue/matrixtable.vue?vue&type=template&id=fa197e4a&"),o=n(/*! ./matrixtable.vue?vue&type=script&lang=ts& */"./src/vue/matrixtable.vue?vue&type=script&lang=ts&");n.d(t,"MatrixTable",(function(){return o["MatrixTable"]}));var i=n(/*! ../../node_modules/vue-loader/lib/runtime/componentNormalizer.js */"./node_modules/vue-loader/lib/runtime/componentNormalizer.js"),s=Object(i["default"])(o["default"],r["render"],r["staticRenderFns"],!1,null,null,null);s.options.__file="src/vue/matrixtable.vue",t["default"]=s.exports},"./src/vue/matrixtable.vue?vue&type=script&lang=ts&": /*!**********************************************************!*\ !*** ./src/vue/matrixtable.vue?vue&type=script&lang=ts& ***! \**********************************************************/ /*! exports provided: default, MatrixTable */function(e,t,n){"use strict";n.r(t);var r=n(/*! -!../../node_modules/ts-loader??ref--0!../../node_modules/vue-loader/lib??vue-loader-options!./matrixtable.vue?vue&type=script&lang=ts& */"./node_modules/ts-loader/index.js?!./node_modules/vue-loader/lib/index.js?!./src/vue/matrixtable.vue?vue&type=script&lang=ts&");n.d(t,"MatrixTable",(function(){return r["MatrixTable"]})),t["default"]=r["default"]},"./src/vue/matrixtable.vue?vue&type=template&id=fa197e4a&": /*!****************************************************************!*\ !*** ./src/vue/matrixtable.vue?vue&type=template&id=fa197e4a& ***! \****************************************************************/ /*! exports provided: render, staticRenderFns */function(e,t,n){"use strict";n.r(t);var r=n(/*! -!../../node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../node_modules/vue-loader/lib??vue-loader-options!./matrixtable.vue?vue&type=template&id=fa197e4a& */"./node_modules/vue-loader/lib/loaders/templateLoader.js?!./node_modules/vue-loader/lib/index.js?!./src/vue/matrixtable.vue?vue&type=template&id=fa197e4a&");n.d(t,"render",(function(){return r["render"]})),n.d(t,"staticRenderFns",(function(){return r["staticRenderFns"]}))},"./src/vue/multipletext.vue": /*!**********************************!*\ !*** ./src/vue/multipletext.vue ***! \**********************************/ /*! exports provided: MultipleText, default */function(e,t,n){"use strict";n.r(t);var r=n(/*! ./multipletext.vue?vue&type=template&id=93fe4c02& */"./src/vue/multipletext.vue?vue&type=template&id=93fe4c02&"),o=n(/*! ./multipletext.vue?vue&type=script&lang=ts& */"./src/vue/multipletext.vue?vue&type=script&lang=ts&");n.d(t,"MultipleText",(function(){return o["MultipleText"]}));var i=n(/*! ../../node_modules/vue-loader/lib/runtime/componentNormalizer.js */"./node_modules/vue-loader/lib/runtime/componentNormalizer.js"),s=Object(i["default"])(o["default"],r["render"],r["staticRenderFns"],!1,null,null,null);s.options.__file="src/vue/multipletext.vue",t["default"]=s.exports},"./src/vue/multipletext.vue?vue&type=script&lang=ts&": /*!***********************************************************!*\ !*** ./src/vue/multipletext.vue?vue&type=script&lang=ts& ***! \***********************************************************/ /*! exports provided: default, MultipleText */function(e,t,n){"use strict";n.r(t);var r=n(/*! -!../../node_modules/ts-loader??ref--0!../../node_modules/vue-loader/lib??vue-loader-options!./multipletext.vue?vue&type=script&lang=ts& */"./node_modules/ts-loader/index.js?!./node_modules/vue-loader/lib/index.js?!./src/vue/multipletext.vue?vue&type=script&lang=ts&");n.d(t,"MultipleText",(function(){return r["MultipleText"]})),t["default"]=r["default"]},"./src/vue/multipletext.vue?vue&type=template&id=93fe4c02&": /*!*****************************************************************!*\ !*** ./src/vue/multipletext.vue?vue&type=template&id=93fe4c02& ***! \*****************************************************************/ /*! exports provided: render, staticRenderFns */function(e,t,n){"use strict";n.r(t);var r=n(/*! -!../../node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../node_modules/vue-loader/lib??vue-loader-options!./multipletext.vue?vue&type=template&id=93fe4c02& */"./node_modules/vue-loader/lib/loaders/templateLoader.js?!./node_modules/vue-loader/lib/index.js?!./src/vue/multipletext.vue?vue&type=template&id=93fe4c02&");n.d(t,"render",(function(){return r["render"]})),n.d(t,"staticRenderFns",(function(){return r["staticRenderFns"]}))},"./src/vue/navigation.vue": /*!********************************!*\ !*** ./src/vue/navigation.vue ***! \********************************/ /*! exports provided: Navigation, default */function(e,t,n){"use strict";n.r(t);var r=n(/*! ./navigation.vue?vue&type=template&id=75eadfd6& */"./src/vue/navigation.vue?vue&type=template&id=75eadfd6&"),o=n(/*! ./navigation.vue?vue&type=script&lang=ts& */"./src/vue/navigation.vue?vue&type=script&lang=ts&");n.d(t,"Navigation",(function(){return o["Navigation"]}));var i=n(/*! ../../node_modules/vue-loader/lib/runtime/componentNormalizer.js */"./node_modules/vue-loader/lib/runtime/componentNormalizer.js"),s=Object(i["default"])(o["default"],r["render"],r["staticRenderFns"],!1,null,null,null);s.options.__file="src/vue/navigation.vue",t["default"]=s.exports},"./src/vue/navigation.vue?vue&type=script&lang=ts&": /*!*********************************************************!*\ !*** ./src/vue/navigation.vue?vue&type=script&lang=ts& ***! \*********************************************************/ /*! exports provided: default, Navigation */function(e,t,n){"use strict";n.r(t);var r=n(/*! -!../../node_modules/ts-loader??ref--0!../../node_modules/vue-loader/lib??vue-loader-options!./navigation.vue?vue&type=script&lang=ts& */"./node_modules/ts-loader/index.js?!./node_modules/vue-loader/lib/index.js?!./src/vue/navigation.vue?vue&type=script&lang=ts&");n.d(t,"Navigation",(function(){return r["Navigation"]})),t["default"]=r["default"]},"./src/vue/navigation.vue?vue&type=template&id=75eadfd6&": /*!***************************************************************!*\ !*** ./src/vue/navigation.vue?vue&type=template&id=75eadfd6& ***! \***************************************************************/ /*! exports provided: render, staticRenderFns */function(e,t,n){"use strict";n.r(t);var r=n(/*! -!../../node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../node_modules/vue-loader/lib??vue-loader-options!./navigation.vue?vue&type=template&id=75eadfd6& */"./node_modules/vue-loader/lib/loaders/templateLoader.js?!./node_modules/vue-loader/lib/index.js?!./src/vue/navigation.vue?vue&type=template&id=75eadfd6&");n.d(t,"render",(function(){return r["render"]})),n.d(t,"staticRenderFns",(function(){return r["staticRenderFns"]}))},"./src/vue/otherChoice.vue": /*!*********************************!*\ !*** ./src/vue/otherChoice.vue ***! \*********************************/ /*! exports provided: OtherChoice, default */function(e,t,n){"use strict";n.r(t);var r=n(/*! ./otherChoice.vue?vue&type=template&id=2ed776ff& */"./src/vue/otherChoice.vue?vue&type=template&id=2ed776ff&"),o=n(/*! ./otherChoice.vue?vue&type=script&lang=ts& */"./src/vue/otherChoice.vue?vue&type=script&lang=ts&");n.d(t,"OtherChoice",(function(){return o["OtherChoice"]}));var i=n(/*! ../../node_modules/vue-loader/lib/runtime/componentNormalizer.js */"./node_modules/vue-loader/lib/runtime/componentNormalizer.js"),s=Object(i["default"])(o["default"],r["render"],r["staticRenderFns"],!1,null,null,null);s.options.__file="src/vue/otherChoice.vue",t["default"]=s.exports},"./src/vue/otherChoice.vue?vue&type=script&lang=ts&": /*!**********************************************************!*\ !*** ./src/vue/otherChoice.vue?vue&type=script&lang=ts& ***! \**********************************************************/ /*! exports provided: default, OtherChoice */function(e,t,n){"use strict";n.r(t);var r=n(/*! -!../../node_modules/ts-loader??ref--0!../../node_modules/vue-loader/lib??vue-loader-options!./otherChoice.vue?vue&type=script&lang=ts& */"./node_modules/ts-loader/index.js?!./node_modules/vue-loader/lib/index.js?!./src/vue/otherChoice.vue?vue&type=script&lang=ts&");n.d(t,"OtherChoice",(function(){return r["OtherChoice"]})),t["default"]=r["default"]},"./src/vue/otherChoice.vue?vue&type=template&id=2ed776ff&": /*!****************************************************************!*\ !*** ./src/vue/otherChoice.vue?vue&type=template&id=2ed776ff& ***! \****************************************************************/ /*! exports provided: render, staticRenderFns */function(e,t,n){"use strict";n.r(t);var r=n(/*! -!../../node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../node_modules/vue-loader/lib??vue-loader-options!./otherChoice.vue?vue&type=template&id=2ed776ff& */"./node_modules/vue-loader/lib/loaders/templateLoader.js?!./node_modules/vue-loader/lib/index.js?!./src/vue/otherChoice.vue?vue&type=template&id=2ed776ff&");n.d(t,"render",(function(){return r["render"]})),n.d(t,"staticRenderFns",(function(){return r["staticRenderFns"]}))},"./src/vue/page.vue": /*!**************************!*\ !*** ./src/vue/page.vue ***! \**************************/ /*! exports provided: Page, default */function(e,t,n){"use strict";n.r(t);var r=n(/*! ./page.vue?vue&type=template&id=4e962a51& */"./src/vue/page.vue?vue&type=template&id=4e962a51&"),o=n(/*! ./page.vue?vue&type=script&lang=ts& */"./src/vue/page.vue?vue&type=script&lang=ts&");n.d(t,"Page",(function(){return o["Page"]}));var i=n(/*! ../../node_modules/vue-loader/lib/runtime/componentNormalizer.js */"./node_modules/vue-loader/lib/runtime/componentNormalizer.js"),s=Object(i["default"])(o["default"],r["render"],r["staticRenderFns"],!1,null,null,null);s.options.__file="src/vue/page.vue",t["default"]=s.exports},"./src/vue/page.vue?vue&type=script&lang=ts&": /*!***************************************************!*\ !*** ./src/vue/page.vue?vue&type=script&lang=ts& ***! \***************************************************/ /*! exports provided: default, Page */function(e,t,n){"use strict";n.r(t);var r=n(/*! -!../../node_modules/ts-loader??ref--0!../../node_modules/vue-loader/lib??vue-loader-options!./page.vue?vue&type=script&lang=ts& */"./node_modules/ts-loader/index.js?!./node_modules/vue-loader/lib/index.js?!./src/vue/page.vue?vue&type=script&lang=ts&");n.d(t,"Page",(function(){return r["Page"]})),t["default"]=r["default"]},"./src/vue/page.vue?vue&type=template&id=4e962a51&": /*!*********************************************************!*\ !*** ./src/vue/page.vue?vue&type=template&id=4e962a51& ***! \*********************************************************/ /*! exports provided: render, staticRenderFns */function(e,t,n){"use strict";n.r(t);var r=n(/*! -!../../node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../node_modules/vue-loader/lib??vue-loader-options!./page.vue?vue&type=template&id=4e962a51& */"./node_modules/vue-loader/lib/loaders/templateLoader.js?!./node_modules/vue-loader/lib/index.js?!./src/vue/page.vue?vue&type=template&id=4e962a51&");n.d(t,"render",(function(){return r["render"]})),n.d(t,"staticRenderFns",(function(){return r["staticRenderFns"]}))},"./src/vue/panel.vue": /*!***************************!*\ !*** ./src/vue/panel.vue ***! \***************************/ /*! exports provided: Panel, default */function(e,t,n){"use strict";n.r(t);var r=n(/*! ./panel.vue?vue&type=template&id=0c78899c& */"./src/vue/panel.vue?vue&type=template&id=0c78899c&"),o=n(/*! ./panel.vue?vue&type=script&lang=ts& */"./src/vue/panel.vue?vue&type=script&lang=ts&");n.d(t,"Panel",(function(){return o["Panel"]}));var i=n(/*! ../../node_modules/vue-loader/lib/runtime/componentNormalizer.js */"./node_modules/vue-loader/lib/runtime/componentNormalizer.js"),s=Object(i["default"])(o["default"],r["render"],r["staticRenderFns"],!1,null,null,null);s.options.__file="src/vue/panel.vue",t["default"]=s.exports},"./src/vue/panel.vue?vue&type=script&lang=ts&": /*!****************************************************!*\ !*** ./src/vue/panel.vue?vue&type=script&lang=ts& ***! \****************************************************/ /*! exports provided: default, Panel */function(e,t,n){"use strict";n.r(t);var r=n(/*! -!../../node_modules/ts-loader??ref--0!../../node_modules/vue-loader/lib??vue-loader-options!./panel.vue?vue&type=script&lang=ts& */"./node_modules/ts-loader/index.js?!./node_modules/vue-loader/lib/index.js?!./src/vue/panel.vue?vue&type=script&lang=ts&");n.d(t,"Panel",(function(){return r["Panel"]})),t["default"]=r["default"]},"./src/vue/panel.vue?vue&type=template&id=0c78899c&": /*!**********************************************************!*\ !*** ./src/vue/panel.vue?vue&type=template&id=0c78899c& ***! \**********************************************************/ /*! exports provided: render, staticRenderFns */function(e,t,n){"use strict";n.r(t);var r=n(/*! -!../../node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../node_modules/vue-loader/lib??vue-loader-options!./panel.vue?vue&type=template&id=0c78899c& */"./node_modules/vue-loader/lib/loaders/templateLoader.js?!./node_modules/vue-loader/lib/index.js?!./src/vue/panel.vue?vue&type=template&id=0c78899c&");n.d(t,"render",(function(){return r["render"]})),n.d(t,"staticRenderFns",(function(){return r["staticRenderFns"]}))},"./src/vue/paneldynamic.vue": /*!**********************************!*\ !*** ./src/vue/paneldynamic.vue ***! \**********************************/ /*! exports provided: PanelDynamic, default */function(e,t,n){"use strict";n.r(t);var r=n(/*! ./paneldynamic.vue?vue&type=template&id=9dda5d06& */"./src/vue/paneldynamic.vue?vue&type=template&id=9dda5d06&"),o=n(/*! ./paneldynamic.vue?vue&type=script&lang=ts& */"./src/vue/paneldynamic.vue?vue&type=script&lang=ts&");n.d(t,"PanelDynamic",(function(){return o["PanelDynamic"]}));var i=n(/*! ../../node_modules/vue-loader/lib/runtime/componentNormalizer.js */"./node_modules/vue-loader/lib/runtime/componentNormalizer.js"),s=Object(i["default"])(o["default"],r["render"],r["staticRenderFns"],!1,null,null,null);s.options.__file="src/vue/paneldynamic.vue",t["default"]=s.exports},"./src/vue/paneldynamic.vue?vue&type=script&lang=ts&": /*!***********************************************************!*\ !*** ./src/vue/paneldynamic.vue?vue&type=script&lang=ts& ***! \***********************************************************/ /*! exports provided: default, PanelDynamic */function(e,t,n){"use strict";n.r(t);var r=n(/*! -!../../node_modules/ts-loader??ref--0!../../node_modules/vue-loader/lib??vue-loader-options!./paneldynamic.vue?vue&type=script&lang=ts& */"./node_modules/ts-loader/index.js?!./node_modules/vue-loader/lib/index.js?!./src/vue/paneldynamic.vue?vue&type=script&lang=ts&");n.d(t,"PanelDynamic",(function(){return r["PanelDynamic"]})),t["default"]=r["default"]},"./src/vue/paneldynamic.vue?vue&type=template&id=9dda5d06&": /*!*****************************************************************!*\ !*** ./src/vue/paneldynamic.vue?vue&type=template&id=9dda5d06& ***! \*****************************************************************/ /*! exports provided: render, staticRenderFns */function(e,t,n){"use strict";n.r(t);var r=n(/*! -!../../node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../node_modules/vue-loader/lib??vue-loader-options!./paneldynamic.vue?vue&type=template&id=9dda5d06& */"./node_modules/vue-loader/lib/loaders/templateLoader.js?!./node_modules/vue-loader/lib/index.js?!./src/vue/paneldynamic.vue?vue&type=template&id=9dda5d06&");n.d(t,"render",(function(){return r["render"]})),n.d(t,"staticRenderFns",(function(){return r["staticRenderFns"]}))},"./src/vue/paneldynamicprogress.vue": /*!******************************************!*\ !*** ./src/vue/paneldynamicprogress.vue ***! \******************************************/ /*! exports provided: PanelDynamicProgress, default */function(e,t,n){"use strict";n.r(t);var r=n(/*! ./paneldynamicprogress.vue?vue&type=template&id=742bffac& */"./src/vue/paneldynamicprogress.vue?vue&type=template&id=742bffac&"),o=n(/*! ./paneldynamicprogress.vue?vue&type=script&lang=ts& */"./src/vue/paneldynamicprogress.vue?vue&type=script&lang=ts&");n.d(t,"PanelDynamicProgress",(function(){return o["PanelDynamicProgress"]}));var i=n(/*! ../../node_modules/vue-loader/lib/runtime/componentNormalizer.js */"./node_modules/vue-loader/lib/runtime/componentNormalizer.js"),s=Object(i["default"])(o["default"],r["render"],r["staticRenderFns"],!1,null,null,null);s.options.__file="src/vue/paneldynamicprogress.vue",t["default"]=s.exports},"./src/vue/paneldynamicprogress.vue?vue&type=script&lang=ts&": /*!*******************************************************************!*\ !*** ./src/vue/paneldynamicprogress.vue?vue&type=script&lang=ts& ***! \*******************************************************************/ /*! exports provided: default, PanelDynamicProgress */function(e,t,n){"use strict";n.r(t);var r=n(/*! -!../../node_modules/ts-loader??ref--0!../../node_modules/vue-loader/lib??vue-loader-options!./paneldynamicprogress.vue?vue&type=script&lang=ts& */"./node_modules/ts-loader/index.js?!./node_modules/vue-loader/lib/index.js?!./src/vue/paneldynamicprogress.vue?vue&type=script&lang=ts&");n.d(t,"PanelDynamicProgress",(function(){return r["PanelDynamicProgress"]})),t["default"]=r["default"]},"./src/vue/paneldynamicprogress.vue?vue&type=template&id=742bffac&": /*!*************************************************************************!*\ !*** ./src/vue/paneldynamicprogress.vue?vue&type=template&id=742bffac& ***! \*************************************************************************/ /*! exports provided: render, staticRenderFns */function(e,t,n){"use strict";n.r(t);var r=n(/*! -!../../node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../node_modules/vue-loader/lib??vue-loader-options!./paneldynamicprogress.vue?vue&type=template&id=742bffac& */"./node_modules/vue-loader/lib/loaders/templateLoader.js?!./node_modules/vue-loader/lib/index.js?!./src/vue/paneldynamicprogress.vue?vue&type=template&id=742bffac&");n.d(t,"render",(function(){return r["render"]})),n.d(t,"staticRenderFns",(function(){return r["staticRenderFns"]}))},"./src/vue/paneldynamicremove.vue": /*!****************************************!*\ !*** ./src/vue/paneldynamicremove.vue ***! \****************************************/ /*! exports provided: PanelDynamicRemove, default */function(e,t,n){"use strict";n.r(t);var r=n(/*! ./paneldynamicremove.vue?vue&type=template&id=db6b2f7e& */"./src/vue/paneldynamicremove.vue?vue&type=template&id=db6b2f7e&"),o=n(/*! ./paneldynamicremove.vue?vue&type=script&lang=ts& */"./src/vue/paneldynamicremove.vue?vue&type=script&lang=ts&");n.d(t,"PanelDynamicRemove",(function(){return o["PanelDynamicRemove"]}));var i=n(/*! ../../node_modules/vue-loader/lib/runtime/componentNormalizer.js */"./node_modules/vue-loader/lib/runtime/componentNormalizer.js"),s=Object(i["default"])(o["default"],r["render"],r["staticRenderFns"],!1,null,null,null);s.options.__file="src/vue/paneldynamicremove.vue",t["default"]=s.exports},"./src/vue/paneldynamicremove.vue?vue&type=script&lang=ts&": /*!*****************************************************************!*\ !*** ./src/vue/paneldynamicremove.vue?vue&type=script&lang=ts& ***! \*****************************************************************/ /*! exports provided: default, PanelDynamicRemove */function(e,t,n){"use strict";n.r(t);var r=n(/*! -!../../node_modules/ts-loader??ref--0!../../node_modules/vue-loader/lib??vue-loader-options!./paneldynamicremove.vue?vue&type=script&lang=ts& */"./node_modules/ts-loader/index.js?!./node_modules/vue-loader/lib/index.js?!./src/vue/paneldynamicremove.vue?vue&type=script&lang=ts&");n.d(t,"PanelDynamicRemove",(function(){return r["PanelDynamicRemove"]})),t["default"]=r["default"]},"./src/vue/paneldynamicremove.vue?vue&type=template&id=db6b2f7e&": /*!***********************************************************************!*\ !*** ./src/vue/paneldynamicremove.vue?vue&type=template&id=db6b2f7e& ***! \***********************************************************************/ /*! exports provided: render, staticRenderFns */function(e,t,n){"use strict";n.r(t);var r=n(/*! -!../../node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../node_modules/vue-loader/lib??vue-loader-options!./paneldynamicremove.vue?vue&type=template&id=db6b2f7e& */"./node_modules/vue-loader/lib/loaders/templateLoader.js?!./node_modules/vue-loader/lib/index.js?!./src/vue/paneldynamicremove.vue?vue&type=template&id=db6b2f7e&");n.d(t,"render",(function(){return r["render"]})),n.d(t,"staticRenderFns",(function(){return r["staticRenderFns"]}))},"./src/vue/progress.vue": /*!******************************!*\ !*** ./src/vue/progress.vue ***! \******************************/ /*! exports provided: Progress, default */function(e,t,n){"use strict";n.r(t);var r=n(/*! ./progress.vue?vue&type=template&id=27e325ef& */"./src/vue/progress.vue?vue&type=template&id=27e325ef&"),o=n(/*! ./progress.vue?vue&type=script&lang=ts& */"./src/vue/progress.vue?vue&type=script&lang=ts&");n.d(t,"Progress",(function(){return o["Progress"]}));var i=n(/*! ../../node_modules/vue-loader/lib/runtime/componentNormalizer.js */"./node_modules/vue-loader/lib/runtime/componentNormalizer.js"),s=Object(i["default"])(o["default"],r["render"],r["staticRenderFns"],!1,null,null,null);s.options.__file="src/vue/progress.vue",t["default"]=s.exports},"./src/vue/progress.vue?vue&type=script&lang=ts&": /*!*******************************************************!*\ !*** ./src/vue/progress.vue?vue&type=script&lang=ts& ***! \*******************************************************/ /*! exports provided: default, Progress */function(e,t,n){"use strict";n.r(t);var r=n(/*! -!../../node_modules/ts-loader??ref--0!../../node_modules/vue-loader/lib??vue-loader-options!./progress.vue?vue&type=script&lang=ts& */"./node_modules/ts-loader/index.js?!./node_modules/vue-loader/lib/index.js?!./src/vue/progress.vue?vue&type=script&lang=ts&");n.d(t,"Progress",(function(){return r["Progress"]})),t["default"]=r["default"]},"./src/vue/progress.vue?vue&type=template&id=27e325ef&": /*!*************************************************************!*\ !*** ./src/vue/progress.vue?vue&type=template&id=27e325ef& ***! \*************************************************************/ /*! exports provided: render, staticRenderFns */function(e,t,n){"use strict";n.r(t);var r=n(/*! -!../../node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../node_modules/vue-loader/lib??vue-loader-options!./progress.vue?vue&type=template&id=27e325ef& */"./node_modules/vue-loader/lib/loaders/templateLoader.js?!./node_modules/vue-loader/lib/index.js?!./src/vue/progress.vue?vue&type=template&id=27e325ef&");n.d(t,"render",(function(){return r["render"]})),n.d(t,"staticRenderFns",(function(){return r["staticRenderFns"]}))},"./src/vue/progressButtons.vue": /*!*************************************!*\ !*** ./src/vue/progressButtons.vue ***! \*************************************/ /*! exports provided: ProgressButtons, default */function(e,t,n){"use strict";n.r(t);var r=n(/*! ./progressButtons.vue?vue&type=template&id=2ae7de42& */"./src/vue/progressButtons.vue?vue&type=template&id=2ae7de42&"),o=n(/*! ./progressButtons.vue?vue&type=script&lang=ts& */"./src/vue/progressButtons.vue?vue&type=script&lang=ts&");n.d(t,"ProgressButtons",(function(){return o["ProgressButtons"]}));var i=n(/*! ../../node_modules/vue-loader/lib/runtime/componentNormalizer.js */"./node_modules/vue-loader/lib/runtime/componentNormalizer.js"),s=Object(i["default"])(o["default"],r["render"],r["staticRenderFns"],!1,null,null,null);s.options.__file="src/vue/progressButtons.vue",t["default"]=s.exports},"./src/vue/progressButtons.vue?vue&type=script&lang=ts&": /*!**************************************************************!*\ !*** ./src/vue/progressButtons.vue?vue&type=script&lang=ts& ***! \**************************************************************/ /*! exports provided: default, ProgressButtons */function(e,t,n){"use strict";n.r(t);var r=n(/*! -!../../node_modules/ts-loader??ref--0!../../node_modules/vue-loader/lib??vue-loader-options!./progressButtons.vue?vue&type=script&lang=ts& */"./node_modules/ts-loader/index.js?!./node_modules/vue-loader/lib/index.js?!./src/vue/progressButtons.vue?vue&type=script&lang=ts&");n.d(t,"ProgressButtons",(function(){return r["ProgressButtons"]})),t["default"]=r["default"]},"./src/vue/progressButtons.vue?vue&type=template&id=2ae7de42&": /*!********************************************************************!*\ !*** ./src/vue/progressButtons.vue?vue&type=template&id=2ae7de42& ***! \********************************************************************/ /*! exports provided: render, staticRenderFns */function(e,t,n){"use strict";n.r(t);var r=n(/*! -!../../node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../node_modules/vue-loader/lib??vue-loader-options!./progressButtons.vue?vue&type=template&id=2ae7de42& */"./node_modules/vue-loader/lib/loaders/templateLoader.js?!./node_modules/vue-loader/lib/index.js?!./src/vue/progressButtons.vue?vue&type=template&id=2ae7de42&");n.d(t,"render",(function(){return r["render"]})),n.d(t,"staticRenderFns",(function(){return r["staticRenderFns"]}))},"./src/vue/question.ts": /*!*****************************!*\ !*** ./src/vue/question.ts ***! \*****************************/ /*! exports provided: QuestionVue, default */function(e,t,n){"use strict";n.r(t),n.d(t,"QuestionVue",(function(){return a}));var r=n(/*! vue-property-decorator */"./node_modules/vue-property-decorator/lib/index.js"),o=n(/*! ./base */"./src/vue/base.ts"),i=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){if("function"!==typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),s=function(e,t,n,r){var o,i=arguments.length,s=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)s=Reflect.decorate(e,t,n,r);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(i<3?o(s):i>3?o(t,n,s):o(t,n))||s);return i>3&&s&&Object.defineProperty(t,n,s),s},a=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.innerValue=null,t}return i(t,e),t.prototype.changeQuestion=function(e,t){this.innerValue=null},t.prototype.getModel=function(){return this.question},t.prototype.onMounted=function(){this.question&&this.question.afterRenderQuestionElement(this.$el)},t.prototype.beforeDestroy=function(){this.question&&this.question.beforeDestroyQuestionElement(this.$el)},s([Object(r["Prop"])()],t.prototype,"question",void 0),s([Object(r["Prop"])()],t.prototype,"css",void 0),s([Object(r["Watch"])("question")],t.prototype,"changeQuestion",null),t=s([r["Component"]],t),t}(o["BaseVue"]);t["default"]=a},"./src/vue/radiogroup.vue": /*!********************************!*\ !*** ./src/vue/radiogroup.vue ***! \********************************/ /*! exports provided: Radiogroup, default */function(e,t,n){"use strict";n.r(t);var r=n(/*! ./radiogroup.vue?vue&type=template&id=06c6d526& */"./src/vue/radiogroup.vue?vue&type=template&id=06c6d526&"),o=n(/*! ./radiogroup.vue?vue&type=script&lang=ts& */"./src/vue/radiogroup.vue?vue&type=script&lang=ts&");n.d(t,"Radiogroup",(function(){return o["Radiogroup"]}));var i=n(/*! ../../node_modules/vue-loader/lib/runtime/componentNormalizer.js */"./node_modules/vue-loader/lib/runtime/componentNormalizer.js"),s=Object(i["default"])(o["default"],r["render"],r["staticRenderFns"],!1,null,null,null);s.options.__file="src/vue/radiogroup.vue",t["default"]=s.exports},"./src/vue/radiogroup.vue?vue&type=script&lang=ts&": /*!*********************************************************!*\ !*** ./src/vue/radiogroup.vue?vue&type=script&lang=ts& ***! \*********************************************************/ /*! exports provided: default, Radiogroup */function(e,t,n){"use strict";n.r(t);var r=n(/*! -!../../node_modules/ts-loader??ref--0!../../node_modules/vue-loader/lib??vue-loader-options!./radiogroup.vue?vue&type=script&lang=ts& */"./node_modules/ts-loader/index.js?!./node_modules/vue-loader/lib/index.js?!./src/vue/radiogroup.vue?vue&type=script&lang=ts&");n.d(t,"Radiogroup",(function(){return r["Radiogroup"]})),t["default"]=r["default"]},"./src/vue/radiogroup.vue?vue&type=template&id=06c6d526&": /*!***************************************************************!*\ !*** ./src/vue/radiogroup.vue?vue&type=template&id=06c6d526& ***! \***************************************************************/ /*! exports provided: render, staticRenderFns */function(e,t,n){"use strict";n.r(t);var r=n(/*! -!../../node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../node_modules/vue-loader/lib??vue-loader-options!./radiogroup.vue?vue&type=template&id=06c6d526& */"./node_modules/vue-loader/lib/loaders/templateLoader.js?!./node_modules/vue-loader/lib/index.js?!./src/vue/radiogroup.vue?vue&type=template&id=06c6d526&");n.d(t,"render",(function(){return r["render"]})),n.d(t,"staticRenderFns",(function(){return r["staticRenderFns"]}))},"./src/vue/radiogroupitem.vue": /*!************************************!*\ !*** ./src/vue/radiogroupitem.vue ***! \************************************/ /*! exports provided: RadiogroupItem, default */function(e,t,n){"use strict";n.r(t);var r=n(/*! ./radiogroupitem.vue?vue&type=template&id=5bbe97b9& */"./src/vue/radiogroupitem.vue?vue&type=template&id=5bbe97b9&"),o=n(/*! ./radiogroupitem.vue?vue&type=script&lang=ts& */"./src/vue/radiogroupitem.vue?vue&type=script&lang=ts&");n.d(t,"RadiogroupItem",(function(){return o["RadiogroupItem"]}));var i=n(/*! ../../node_modules/vue-loader/lib/runtime/componentNormalizer.js */"./node_modules/vue-loader/lib/runtime/componentNormalizer.js"),s=Object(i["default"])(o["default"],r["render"],r["staticRenderFns"],!1,null,null,null);s.options.__file="src/vue/radiogroupitem.vue",t["default"]=s.exports},"./src/vue/radiogroupitem.vue?vue&type=script&lang=ts&": /*!*************************************************************!*\ !*** ./src/vue/radiogroupitem.vue?vue&type=script&lang=ts& ***! \*************************************************************/ /*! exports provided: default, RadiogroupItem */function(e,t,n){"use strict";n.r(t);var r=n(/*! -!../../node_modules/ts-loader??ref--0!../../node_modules/vue-loader/lib??vue-loader-options!./radiogroupitem.vue?vue&type=script&lang=ts& */"./node_modules/ts-loader/index.js?!./node_modules/vue-loader/lib/index.js?!./src/vue/radiogroupitem.vue?vue&type=script&lang=ts&");n.d(t,"RadiogroupItem",(function(){return r["RadiogroupItem"]})),t["default"]=r["default"]},"./src/vue/radiogroupitem.vue?vue&type=template&id=5bbe97b9&": /*!*******************************************************************!*\ !*** ./src/vue/radiogroupitem.vue?vue&type=template&id=5bbe97b9& ***! \*******************************************************************/ /*! exports provided: render, staticRenderFns */function(e,t,n){"use strict";n.r(t);var r=n(/*! -!../../node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../node_modules/vue-loader/lib??vue-loader-options!./radiogroupitem.vue?vue&type=template&id=5bbe97b9& */"./node_modules/vue-loader/lib/loaders/templateLoader.js?!./node_modules/vue-loader/lib/index.js?!./src/vue/radiogroupitem.vue?vue&type=template&id=5bbe97b9&");n.d(t,"render",(function(){return r["render"]})),n.d(t,"staticRenderFns",(function(){return r["staticRenderFns"]}))},"./src/vue/ranking/ranking-item.vue": /*!******************************************!*\ !*** ./src/vue/ranking/ranking-item.vue ***! \******************************************/ /*! exports provided: RankingItem, default */function(e,t,n){"use strict";n.r(t);var r=n(/*! ./ranking-item.vue?vue&type=template&id=2faded76& */"./src/vue/ranking/ranking-item.vue?vue&type=template&id=2faded76&"),o=n(/*! ./ranking-item.vue?vue&type=script&lang=ts& */"./src/vue/ranking/ranking-item.vue?vue&type=script&lang=ts&");n.d(t,"RankingItem",(function(){return o["RankingItem"]}));var i=n(/*! ../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js */"./node_modules/vue-loader/lib/runtime/componentNormalizer.js"),s=Object(i["default"])(o["default"],r["render"],r["staticRenderFns"],!1,null,null,null);s.options.__file="src/vue/ranking/ranking-item.vue",t["default"]=s.exports},"./src/vue/ranking/ranking-item.vue?vue&type=script&lang=ts&": /*!*******************************************************************!*\ !*** ./src/vue/ranking/ranking-item.vue?vue&type=script&lang=ts& ***! \*******************************************************************/ /*! exports provided: default, RankingItem */function(e,t,n){"use strict";n.r(t);var r=n(/*! -!../../../node_modules/ts-loader??ref--0!../../../node_modules/vue-loader/lib??vue-loader-options!./ranking-item.vue?vue&type=script&lang=ts& */"./node_modules/ts-loader/index.js?!./node_modules/vue-loader/lib/index.js?!./src/vue/ranking/ranking-item.vue?vue&type=script&lang=ts&");n.d(t,"RankingItem",(function(){return r["RankingItem"]})),t["default"]=r["default"]},"./src/vue/ranking/ranking-item.vue?vue&type=template&id=2faded76&": /*!*************************************************************************!*\ !*** ./src/vue/ranking/ranking-item.vue?vue&type=template&id=2faded76& ***! \*************************************************************************/ /*! exports provided: render, staticRenderFns */function(e,t,n){"use strict";n.r(t);var r=n(/*! -!../../../node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../../node_modules/vue-loader/lib??vue-loader-options!./ranking-item.vue?vue&type=template&id=2faded76& */"./node_modules/vue-loader/lib/loaders/templateLoader.js?!./node_modules/vue-loader/lib/index.js?!./src/vue/ranking/ranking-item.vue?vue&type=template&id=2faded76&");n.d(t,"render",(function(){return r["render"]})),n.d(t,"staticRenderFns",(function(){return r["staticRenderFns"]}))},"./src/vue/ranking/ranking.vue": /*!*************************************!*\ !*** ./src/vue/ranking/ranking.vue ***! \*************************************/ /*! exports provided: Ranking, default */function(e,t,n){"use strict";n.r(t);var r=n(/*! ./ranking.vue?vue&type=template&id=19074eea& */"./src/vue/ranking/ranking.vue?vue&type=template&id=19074eea&"),o=n(/*! ./ranking.vue?vue&type=script&lang=ts& */"./src/vue/ranking/ranking.vue?vue&type=script&lang=ts&");n.d(t,"Ranking",(function(){return o["Ranking"]}));var i=n(/*! ../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js */"./node_modules/vue-loader/lib/runtime/componentNormalizer.js"),s=Object(i["default"])(o["default"],r["render"],r["staticRenderFns"],!1,null,null,null);s.options.__file="src/vue/ranking/ranking.vue",t["default"]=s.exports},"./src/vue/ranking/ranking.vue?vue&type=script&lang=ts&": /*!**************************************************************!*\ !*** ./src/vue/ranking/ranking.vue?vue&type=script&lang=ts& ***! \**************************************************************/ /*! exports provided: default, Ranking */function(e,t,n){"use strict";n.r(t);var r=n(/*! -!../../../node_modules/ts-loader??ref--0!../../../node_modules/vue-loader/lib??vue-loader-options!./ranking.vue?vue&type=script&lang=ts& */"./node_modules/ts-loader/index.js?!./node_modules/vue-loader/lib/index.js?!./src/vue/ranking/ranking.vue?vue&type=script&lang=ts&");n.d(t,"Ranking",(function(){return r["Ranking"]})),t["default"]=r["default"]},"./src/vue/ranking/ranking.vue?vue&type=template&id=19074eea&": /*!********************************************************************!*\ !*** ./src/vue/ranking/ranking.vue?vue&type=template&id=19074eea& ***! \********************************************************************/ /*! exports provided: render, staticRenderFns */function(e,t,n){"use strict";n.r(t);var r=n(/*! -!../../../node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../../node_modules/vue-loader/lib??vue-loader-options!./ranking.vue?vue&type=template&id=19074eea& */"./node_modules/vue-loader/lib/loaders/templateLoader.js?!./node_modules/vue-loader/lib/index.js?!./src/vue/ranking/ranking.vue?vue&type=template&id=19074eea&");n.d(t,"render",(function(){return r["render"]})),n.d(t,"staticRenderFns",(function(){return r["staticRenderFns"]}))},"./src/vue/rating.vue": /*!****************************!*\ !*** ./src/vue/rating.vue ***! \****************************/ /*! exports provided: Rating, default */function(e,t,n){"use strict";n.r(t);var r=n(/*! ./rating.vue?vue&type=template&id=7092bfdf& */"./src/vue/rating.vue?vue&type=template&id=7092bfdf&"),o=n(/*! ./rating.vue?vue&type=script&lang=ts& */"./src/vue/rating.vue?vue&type=script&lang=ts&");n.d(t,"Rating",(function(){return o["Rating"]}));var i=n(/*! ../../node_modules/vue-loader/lib/runtime/componentNormalizer.js */"./node_modules/vue-loader/lib/runtime/componentNormalizer.js"),s=Object(i["default"])(o["default"],r["render"],r["staticRenderFns"],!1,null,null,null);s.options.__file="src/vue/rating.vue",t["default"]=s.exports},"./src/vue/rating.vue?vue&type=script&lang=ts&": /*!*****************************************************!*\ !*** ./src/vue/rating.vue?vue&type=script&lang=ts& ***! \*****************************************************/ /*! exports provided: default, Rating */function(e,t,n){"use strict";n.r(t);var r=n(/*! -!../../node_modules/ts-loader??ref--0!../../node_modules/vue-loader/lib??vue-loader-options!./rating.vue?vue&type=script&lang=ts& */"./node_modules/ts-loader/index.js?!./node_modules/vue-loader/lib/index.js?!./src/vue/rating.vue?vue&type=script&lang=ts&");n.d(t,"Rating",(function(){return r["Rating"]})),t["default"]=r["default"]},"./src/vue/rating.vue?vue&type=template&id=7092bfdf&": /*!***********************************************************!*\ !*** ./src/vue/rating.vue?vue&type=template&id=7092bfdf& ***! \***********************************************************/ /*! exports provided: render, staticRenderFns */function(e,t,n){"use strict";n.r(t);var r=n(/*! -!../../node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../node_modules/vue-loader/lib??vue-loader-options!./rating.vue?vue&type=template&id=7092bfdf& */"./node_modules/vue-loader/lib/loaders/templateLoader.js?!./node_modules/vue-loader/lib/index.js?!./src/vue/rating.vue?vue&type=template&id=7092bfdf&");n.d(t,"render",(function(){return r["render"]})),n.d(t,"staticRenderFns",(function(){return r["staticRenderFns"]}))},"./src/vue/row.vue": /*!*************************!*\ !*** ./src/vue/row.vue ***! \*************************/ /*! exports provided: Row, default */function(e,t,n){"use strict";n.r(t);var r=n(/*! ./row.vue?vue&type=template&id=7cc0bd88& */"./src/vue/row.vue?vue&type=template&id=7cc0bd88&"),o=n(/*! ./row.vue?vue&type=script&lang=ts& */"./src/vue/row.vue?vue&type=script&lang=ts&");n.d(t,"Row",(function(){return o["Row"]}));var i=n(/*! ../../node_modules/vue-loader/lib/runtime/componentNormalizer.js */"./node_modules/vue-loader/lib/runtime/componentNormalizer.js"),s=Object(i["default"])(o["default"],r["render"],r["staticRenderFns"],!1,null,null,null);s.options.__file="src/vue/row.vue",t["default"]=s.exports},"./src/vue/row.vue?vue&type=script&lang=ts&": /*!**************************************************!*\ !*** ./src/vue/row.vue?vue&type=script&lang=ts& ***! \**************************************************/ /*! exports provided: default, Row */function(e,t,n){"use strict";n.r(t);var r=n(/*! -!../../node_modules/ts-loader??ref--0!../../node_modules/vue-loader/lib??vue-loader-options!./row.vue?vue&type=script&lang=ts& */"./node_modules/ts-loader/index.js?!./node_modules/vue-loader/lib/index.js?!./src/vue/row.vue?vue&type=script&lang=ts&");n.d(t,"Row",(function(){return r["Row"]})),t["default"]=r["default"]},"./src/vue/row.vue?vue&type=template&id=7cc0bd88&": /*!********************************************************!*\ !*** ./src/vue/row.vue?vue&type=template&id=7cc0bd88& ***! \********************************************************/ /*! exports provided: render, staticRenderFns */function(e,t,n){"use strict";n.r(t);var r=n(/*! -!../../node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../node_modules/vue-loader/lib??vue-loader-options!./row.vue?vue&type=template&id=7cc0bd88& */"./node_modules/vue-loader/lib/loaders/templateLoader.js?!./node_modules/vue-loader/lib/index.js?!./src/vue/row.vue?vue&type=template&id=7cc0bd88&");n.d(t,"render",(function(){return r["render"]})),n.d(t,"staticRenderFns",(function(){return r["staticRenderFns"]}))},"./src/vue/signaturepad.vue": /*!**********************************!*\ !*** ./src/vue/signaturepad.vue ***! \**********************************/ /*! exports provided: SignaturePad, default */function(e,t,n){"use strict";n.r(t);var r=n(/*! ./signaturepad.vue?vue&type=template&id=0462349d& */"./src/vue/signaturepad.vue?vue&type=template&id=0462349d&"),o=n(/*! ./signaturepad.vue?vue&type=script&lang=ts& */"./src/vue/signaturepad.vue?vue&type=script&lang=ts&");n.d(t,"SignaturePad",(function(){return o["SignaturePad"]}));var i=n(/*! ../../node_modules/vue-loader/lib/runtime/componentNormalizer.js */"./node_modules/vue-loader/lib/runtime/componentNormalizer.js"),s=Object(i["default"])(o["default"],r["render"],r["staticRenderFns"],!1,null,null,null);s.options.__file="src/vue/signaturepad.vue",t["default"]=s.exports},"./src/vue/signaturepad.vue?vue&type=script&lang=ts&": /*!***********************************************************!*\ !*** ./src/vue/signaturepad.vue?vue&type=script&lang=ts& ***! \***********************************************************/ /*! exports provided: default, SignaturePad */function(e,t,n){"use strict";n.r(t);var r=n(/*! -!../../node_modules/ts-loader??ref--0!../../node_modules/vue-loader/lib??vue-loader-options!./signaturepad.vue?vue&type=script&lang=ts& */"./node_modules/ts-loader/index.js?!./node_modules/vue-loader/lib/index.js?!./src/vue/signaturepad.vue?vue&type=script&lang=ts&");n.d(t,"SignaturePad",(function(){return r["SignaturePad"]})),t["default"]=r["default"]},"./src/vue/signaturepad.vue?vue&type=template&id=0462349d&": /*!*****************************************************************!*\ !*** ./src/vue/signaturepad.vue?vue&type=template&id=0462349d& ***! \*****************************************************************/ /*! exports provided: render, staticRenderFns */function(e,t,n){"use strict";n.r(t);var r=n(/*! -!../../node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../node_modules/vue-loader/lib??vue-loader-options!./signaturepad.vue?vue&type=template&id=0462349d& */"./node_modules/vue-loader/lib/loaders/templateLoader.js?!./node_modules/vue-loader/lib/index.js?!./src/vue/signaturepad.vue?vue&type=template&id=0462349d&");n.d(t,"render",(function(){return r["render"]})),n.d(t,"staticRenderFns",(function(){return r["staticRenderFns"]}))},"./src/vue/string-editor.vue": /*!***********************************!*\ !*** ./src/vue/string-editor.vue ***! \***********************************/ /*! exports provided: SurveyStringEditor, default */function(e,t,n){"use strict";n.r(t);var r=n(/*! ./string-editor.vue?vue&type=template&id=9639f152& */"./src/vue/string-editor.vue?vue&type=template&id=9639f152&"),o=n(/*! ./string-editor.vue?vue&type=script&lang=ts& */"./src/vue/string-editor.vue?vue&type=script&lang=ts&");n.d(t,"SurveyStringEditor",(function(){return o["SurveyStringEditor"]}));var i=n(/*! ../../node_modules/vue-loader/lib/runtime/componentNormalizer.js */"./node_modules/vue-loader/lib/runtime/componentNormalizer.js"),s=Object(i["default"])(o["default"],r["render"],r["staticRenderFns"],!1,null,null,null);s.options.__file="src/vue/string-editor.vue",t["default"]=s.exports},"./src/vue/string-editor.vue?vue&type=script&lang=ts&": /*!************************************************************!*\ !*** ./src/vue/string-editor.vue?vue&type=script&lang=ts& ***! \************************************************************/ /*! exports provided: default, SurveyStringEditor */function(e,t,n){"use strict";n.r(t);var r=n(/*! -!../../node_modules/ts-loader??ref--0!../../node_modules/vue-loader/lib??vue-loader-options!./string-editor.vue?vue&type=script&lang=ts& */"./node_modules/ts-loader/index.js?!./node_modules/vue-loader/lib/index.js?!./src/vue/string-editor.vue?vue&type=script&lang=ts&");n.d(t,"SurveyStringEditor",(function(){return r["SurveyStringEditor"]})),t["default"]=r["default"]},"./src/vue/string-editor.vue?vue&type=template&id=9639f152&": /*!******************************************************************!*\ !*** ./src/vue/string-editor.vue?vue&type=template&id=9639f152& ***! \******************************************************************/ /*! exports provided: render, staticRenderFns */function(e,t,n){"use strict";n.r(t);var r=n(/*! -!../../node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../node_modules/vue-loader/lib??vue-loader-options!./string-editor.vue?vue&type=template&id=9639f152& */"./node_modules/vue-loader/lib/loaders/templateLoader.js?!./node_modules/vue-loader/lib/index.js?!./src/vue/string-editor.vue?vue&type=template&id=9639f152&");n.d(t,"render",(function(){return r["render"]})),n.d(t,"staticRenderFns",(function(){return r["staticRenderFns"]}))},"./src/vue/string-viewer.vue": /*!***********************************!*\ !*** ./src/vue/string-viewer.vue ***! \***********************************/ /*! exports provided: SurveyStringViewer, default */function(e,t,n){"use strict";n.r(t);var r=n(/*! ./string-viewer.vue?vue&type=template&id=7d918508& */"./src/vue/string-viewer.vue?vue&type=template&id=7d918508&"),o=n(/*! ./string-viewer.vue?vue&type=script&lang=ts& */"./src/vue/string-viewer.vue?vue&type=script&lang=ts&");n.d(t,"SurveyStringViewer",(function(){return o["SurveyStringViewer"]}));var i=n(/*! ../../node_modules/vue-loader/lib/runtime/componentNormalizer.js */"./node_modules/vue-loader/lib/runtime/componentNormalizer.js"),s=Object(i["default"])(o["default"],r["render"],r["staticRenderFns"],!1,null,null,null);s.options.__file="src/vue/string-viewer.vue",t["default"]=s.exports},"./src/vue/string-viewer.vue?vue&type=script&lang=ts&": /*!************************************************************!*\ !*** ./src/vue/string-viewer.vue?vue&type=script&lang=ts& ***! \************************************************************/ /*! exports provided: default, SurveyStringViewer */function(e,t,n){"use strict";n.r(t);var r=n(/*! -!../../node_modules/ts-loader??ref--0!../../node_modules/vue-loader/lib??vue-loader-options!./string-viewer.vue?vue&type=script&lang=ts& */"./node_modules/ts-loader/index.js?!./node_modules/vue-loader/lib/index.js?!./src/vue/string-viewer.vue?vue&type=script&lang=ts&");n.d(t,"SurveyStringViewer",(function(){return r["SurveyStringViewer"]})),t["default"]=r["default"]},"./src/vue/string-viewer.vue?vue&type=template&id=7d918508&": /*!******************************************************************!*\ !*** ./src/vue/string-viewer.vue?vue&type=template&id=7d918508& ***! \******************************************************************/ /*! exports provided: render, staticRenderFns */function(e,t,n){"use strict";n.r(t);var r=n(/*! -!../../node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../node_modules/vue-loader/lib??vue-loader-options!./string-viewer.vue?vue&type=template&id=7d918508& */"./node_modules/vue-loader/lib/loaders/templateLoader.js?!./node_modules/vue-loader/lib/index.js?!./src/vue/string-viewer.vue?vue&type=template&id=7d918508&");n.d(t,"render",(function(){return r["render"]})),n.d(t,"staticRenderFns",(function(){return r["staticRenderFns"]}))},"./src/vue/string.vue": /*!****************************!*\ !*** ./src/vue/string.vue ***! \****************************/ /*! exports provided: SurveyString, default */function(e,t,n){"use strict";n.r(t);var r=n(/*! ./string.vue?vue&type=template&id=d3a3d75a& */"./src/vue/string.vue?vue&type=template&id=d3a3d75a&"),o=n(/*! ./string.vue?vue&type=script&lang=ts& */"./src/vue/string.vue?vue&type=script&lang=ts&");n.d(t,"SurveyString",(function(){return o["SurveyString"]}));var i=n(/*! ../../node_modules/vue-loader/lib/runtime/componentNormalizer.js */"./node_modules/vue-loader/lib/runtime/componentNormalizer.js"),s=Object(i["default"])(o["default"],r["render"],r["staticRenderFns"],!1,null,null,null);s.options.__file="src/vue/string.vue",t["default"]=s.exports},"./src/vue/string.vue?vue&type=script&lang=ts&": /*!*****************************************************!*\ !*** ./src/vue/string.vue?vue&type=script&lang=ts& ***! \*****************************************************/ /*! exports provided: default, SurveyString */function(e,t,n){"use strict";n.r(t);var r=n(/*! -!../../node_modules/ts-loader??ref--0!../../node_modules/vue-loader/lib??vue-loader-options!./string.vue?vue&type=script&lang=ts& */"./node_modules/ts-loader/index.js?!./node_modules/vue-loader/lib/index.js?!./src/vue/string.vue?vue&type=script&lang=ts&");n.d(t,"SurveyString",(function(){return r["SurveyString"]})),t["default"]=r["default"]},"./src/vue/string.vue?vue&type=template&id=d3a3d75a&": /*!***********************************************************!*\ !*** ./src/vue/string.vue?vue&type=template&id=d3a3d75a& ***! \***********************************************************/ /*! exports provided: render, staticRenderFns */function(e,t,n){"use strict";n.r(t);var r=n(/*! -!../../node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../node_modules/vue-loader/lib??vue-loader-options!./string.vue?vue&type=template&id=d3a3d75a& */"./node_modules/vue-loader/lib/loaders/templateLoader.js?!./node_modules/vue-loader/lib/index.js?!./src/vue/string.vue?vue&type=template&id=d3a3d75a&");n.d(t,"render",(function(){return r["render"]})),n.d(t,"staticRenderFns",(function(){return r["staticRenderFns"]}))},"./src/vue/survey.vue": /*!****************************!*\ !*** ./src/vue/survey.vue ***! \****************************/ /*! exports provided: Survey, default */function(e,t,n){"use strict";n.r(t);var r=n(/*! ./survey.vue?vue&type=template&id=6874e1c8& */"./src/vue/survey.vue?vue&type=template&id=6874e1c8&"),o=n(/*! ./survey.vue?vue&type=script&lang=ts& */"./src/vue/survey.vue?vue&type=script&lang=ts&");n.d(t,"Survey",(function(){return o["Survey"]}));var i=n(/*! ../../node_modules/vue-loader/lib/runtime/componentNormalizer.js */"./node_modules/vue-loader/lib/runtime/componentNormalizer.js"),s=Object(i["default"])(o["default"],r["render"],r["staticRenderFns"],!1,null,null,null);s.options.__file="src/vue/survey.vue",t["default"]=s.exports},"./src/vue/survey.vue?vue&type=script&lang=ts&": /*!*****************************************************!*\ !*** ./src/vue/survey.vue?vue&type=script&lang=ts& ***! \*****************************************************/ /*! exports provided: default, Survey */function(e,t,n){"use strict";n.r(t);var r=n(/*! -!../../node_modules/ts-loader??ref--0!../../node_modules/vue-loader/lib??vue-loader-options!./survey.vue?vue&type=script&lang=ts& */"./node_modules/ts-loader/index.js?!./node_modules/vue-loader/lib/index.js?!./src/vue/survey.vue?vue&type=script&lang=ts&");n.d(t,"Survey",(function(){return r["Survey"]})),t["default"]=r["default"]},"./src/vue/survey.vue?vue&type=template&id=6874e1c8&": /*!***********************************************************!*\ !*** ./src/vue/survey.vue?vue&type=template&id=6874e1c8& ***! \***********************************************************/ /*! exports provided: render, staticRenderFns */function(e,t,n){"use strict";n.r(t);var r=n(/*! -!../../node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../node_modules/vue-loader/lib??vue-loader-options!./survey.vue?vue&type=template&id=6874e1c8& */"./node_modules/vue-loader/lib/loaders/templateLoader.js?!./node_modules/vue-loader/lib/index.js?!./src/vue/survey.vue?vue&type=template&id=6874e1c8&");n.d(t,"render",(function(){return r["render"]})),n.d(t,"staticRenderFns",(function(){return r["staticRenderFns"]}))},"./src/vue/surveyModel.ts": /*!********************************!*\ !*** ./src/vue/surveyModel.ts ***! \********************************/ /*! exports provided: VueSurveyModel, VueSurveyWindowModel */function(e,t,n){"use strict";n.r(t),n.d(t,"VueSurveyModel",(function(){return a})),n.d(t,"VueSurveyWindowModel",(function(){return l}));var r=n(/*! vue */"vue"),o=n.n(r),i=n(/*! survey-core */"./src/entries/core.ts"),s=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){if("function"!==typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),a=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return s(t,e),t.prototype.render=function(){this.renderCallback&&this.renderCallback()},t.prototype.onLoadSurveyFromService=function(){this.render()},t.prototype.onLoadingSurveyFromService=function(){this.render()},Object.defineProperty(t.prototype,"css",{get:function(){return i["surveyCss"].getCss()},set:function(e){this.mergeValues(e,this.css)},enumerable:!1,configurable:!0}),t.prototype.setDataValueCore=function(e,t,n){o.a.set(e,t,n)},t.prototype.deleteDataValueCore=function(e,t){o.a.delete(e,t)},t.prototype.doAfterRenderSurvey=function(e){this.afterRenderSurvey(e)},t.prototype.doAfterRenderHeader=function(e){this.afterRenderHeader(e)},t}(i["SurveyModel"]),l=function(e){function t(t,n){return void 0===n&&(n=null),e.call(this,t,n)||this}return s(t,e),t.prototype.createSurvey=function(e){return new a(e)},t}(i["SurveyWindowModel"]);i["SurveyModel"].platform="vue"},"./src/vue/text.vue": /*!**************************!*\ !*** ./src/vue/text.vue ***! \**************************/ /*! exports provided: QuestionText, default */function(e,t,n){"use strict";n.r(t);var r=n(/*! ./text.vue?vue&type=template&id=40ece422& */"./src/vue/text.vue?vue&type=template&id=40ece422&"),o=n(/*! ./text.vue?vue&type=script&lang=ts& */"./src/vue/text.vue?vue&type=script&lang=ts&");n.d(t,"QuestionText",(function(){return o["QuestionText"]}));var i=n(/*! ../../node_modules/vue-loader/lib/runtime/componentNormalizer.js */"./node_modules/vue-loader/lib/runtime/componentNormalizer.js"),s=Object(i["default"])(o["default"],r["render"],r["staticRenderFns"],!1,null,null,null);s.options.__file="src/vue/text.vue",t["default"]=s.exports},"./src/vue/text.vue?vue&type=script&lang=ts&": /*!***************************************************!*\ !*** ./src/vue/text.vue?vue&type=script&lang=ts& ***! \***************************************************/ /*! exports provided: default, QuestionText */function(e,t,n){"use strict";n.r(t);var r=n(/*! -!../../node_modules/ts-loader??ref--0!../../node_modules/vue-loader/lib??vue-loader-options!./text.vue?vue&type=script&lang=ts& */"./node_modules/ts-loader/index.js?!./node_modules/vue-loader/lib/index.js?!./src/vue/text.vue?vue&type=script&lang=ts&");n.d(t,"QuestionText",(function(){return r["QuestionText"]})),t["default"]=r["default"]},"./src/vue/text.vue?vue&type=template&id=40ece422&": /*!*********************************************************!*\ !*** ./src/vue/text.vue?vue&type=template&id=40ece422& ***! \*********************************************************/ /*! exports provided: render, staticRenderFns */function(e,t,n){"use strict";n.r(t);var r=n(/*! -!../../node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../node_modules/vue-loader/lib??vue-loader-options!./text.vue?vue&type=template&id=40ece422& */"./node_modules/vue-loader/lib/loaders/templateLoader.js?!./node_modules/vue-loader/lib/index.js?!./src/vue/text.vue?vue&type=template&id=40ece422&");n.d(t,"render",(function(){return r["render"]})),n.d(t,"staticRenderFns",(function(){return r["staticRenderFns"]}))},"./src/vue/timerpanel.vue": /*!********************************!*\ !*** ./src/vue/timerpanel.vue ***! \********************************/ /*! exports provided: TimerPanel, default */function(e,t,n){"use strict";n.r(t);var r=n(/*! ./timerpanel.vue?vue&type=template&id=0d2abe21& */"./src/vue/timerpanel.vue?vue&type=template&id=0d2abe21&"),o=n(/*! ./timerpanel.vue?vue&type=script&lang=ts& */"./src/vue/timerpanel.vue?vue&type=script&lang=ts&");n.d(t,"TimerPanel",(function(){return o["TimerPanel"]}));var i=n(/*! ../../node_modules/vue-loader/lib/runtime/componentNormalizer.js */"./node_modules/vue-loader/lib/runtime/componentNormalizer.js"),s=Object(i["default"])(o["default"],r["render"],r["staticRenderFns"],!1,null,null,null);s.options.__file="src/vue/timerpanel.vue",t["default"]=s.exports},"./src/vue/timerpanel.vue?vue&type=script&lang=ts&": /*!*********************************************************!*\ !*** ./src/vue/timerpanel.vue?vue&type=script&lang=ts& ***! \*********************************************************/ /*! exports provided: default, TimerPanel */function(e,t,n){"use strict";n.r(t);var r=n(/*! -!../../node_modules/ts-loader??ref--0!../../node_modules/vue-loader/lib??vue-loader-options!./timerpanel.vue?vue&type=script&lang=ts& */"./node_modules/ts-loader/index.js?!./node_modules/vue-loader/lib/index.js?!./src/vue/timerpanel.vue?vue&type=script&lang=ts&");n.d(t,"TimerPanel",(function(){return r["TimerPanel"]})),t["default"]=r["default"]},"./src/vue/timerpanel.vue?vue&type=template&id=0d2abe21&": /*!***************************************************************!*\ !*** ./src/vue/timerpanel.vue?vue&type=template&id=0d2abe21& ***! \***************************************************************/ /*! exports provided: render, staticRenderFns */function(e,t,n){"use strict";n.r(t);var r=n(/*! -!../../node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../node_modules/vue-loader/lib??vue-loader-options!./timerpanel.vue?vue&type=template&id=0d2abe21& */"./node_modules/vue-loader/lib/loaders/templateLoader.js?!./node_modules/vue-loader/lib/index.js?!./src/vue/timerpanel.vue?vue&type=template&id=0d2abe21&");n.d(t,"render",(function(){return r["render"]})),n.d(t,"staticRenderFns",(function(){return r["staticRenderFns"]}))},"./src/vue/titlecontent.vue": /*!**********************************!*\ !*** ./src/vue/titlecontent.vue ***! \**********************************/ /*! exports provided: TitleContent, default */function(e,t,n){"use strict";n.r(t);var r=n(/*! ./titlecontent.vue?vue&type=template&id=cd49b83a& */"./src/vue/titlecontent.vue?vue&type=template&id=cd49b83a&"),o=n(/*! ./titlecontent.vue?vue&type=script&lang=ts& */"./src/vue/titlecontent.vue?vue&type=script&lang=ts&");n.d(t,"TitleContent",(function(){return o["TitleContent"]}));var i=n(/*! ../../node_modules/vue-loader/lib/runtime/componentNormalizer.js */"./node_modules/vue-loader/lib/runtime/componentNormalizer.js"),s=Object(i["default"])(o["default"],r["render"],r["staticRenderFns"],!1,null,null,null);s.options.__file="src/vue/titlecontent.vue",t["default"]=s.exports},"./src/vue/titlecontent.vue?vue&type=script&lang=ts&": /*!***********************************************************!*\ !*** ./src/vue/titlecontent.vue?vue&type=script&lang=ts& ***! \***********************************************************/ /*! exports provided: default, TitleContent */function(e,t,n){"use strict";n.r(t);var r=n(/*! -!../../node_modules/ts-loader??ref--0!../../node_modules/vue-loader/lib??vue-loader-options!./titlecontent.vue?vue&type=script&lang=ts& */"./node_modules/ts-loader/index.js?!./node_modules/vue-loader/lib/index.js?!./src/vue/titlecontent.vue?vue&type=script&lang=ts&");n.d(t,"TitleContent",(function(){return r["TitleContent"]})),t["default"]=r["default"]},"./src/vue/titlecontent.vue?vue&type=template&id=cd49b83a&": /*!*****************************************************************!*\ !*** ./src/vue/titlecontent.vue?vue&type=template&id=cd49b83a& ***! \*****************************************************************/ /*! exports provided: render, staticRenderFns */function(e,t,n){"use strict";n.r(t);var r=n(/*! -!../../node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../node_modules/vue-loader/lib??vue-loader-options!./titlecontent.vue?vue&type=template&id=cd49b83a& */"./node_modules/vue-loader/lib/loaders/templateLoader.js?!./node_modules/vue-loader/lib/index.js?!./src/vue/titlecontent.vue?vue&type=template&id=cd49b83a&");n.d(t,"render",(function(){return r["render"]})),n.d(t,"staticRenderFns",(function(){return r["staticRenderFns"]}))},"./src/vue/window.vue": /*!****************************!*\ !*** ./src/vue/window.vue ***! \****************************/ /*! exports provided: Window, default */function(e,t,n){"use strict";n.r(t);var r=n(/*! ./window.vue?vue&type=template&id=62f588b2& */"./src/vue/window.vue?vue&type=template&id=62f588b2&"),o=n(/*! ./window.vue?vue&type=script&lang=ts& */"./src/vue/window.vue?vue&type=script&lang=ts&");n.d(t,"Window",(function(){return o["Window"]}));var i=n(/*! ../../node_modules/vue-loader/lib/runtime/componentNormalizer.js */"./node_modules/vue-loader/lib/runtime/componentNormalizer.js"),s=Object(i["default"])(o["default"],r["render"],r["staticRenderFns"],!1,null,null,null);s.options.__file="src/vue/window.vue",t["default"]=s.exports},"./src/vue/window.vue?vue&type=script&lang=ts&": /*!*****************************************************!*\ !*** ./src/vue/window.vue?vue&type=script&lang=ts& ***! \*****************************************************/ /*! exports provided: default, Window */function(e,t,n){"use strict";n.r(t);var r=n(/*! -!../../node_modules/ts-loader??ref--0!../../node_modules/vue-loader/lib??vue-loader-options!./window.vue?vue&type=script&lang=ts& */"./node_modules/ts-loader/index.js?!./node_modules/vue-loader/lib/index.js?!./src/vue/window.vue?vue&type=script&lang=ts&");n.d(t,"Window",(function(){return r["Window"]})),t["default"]=r["default"]},"./src/vue/window.vue?vue&type=template&id=62f588b2&": /*!***********************************************************!*\ !*** ./src/vue/window.vue?vue&type=template&id=62f588b2& ***! \***********************************************************/ /*! exports provided: render, staticRenderFns */function(e,t,n){"use strict";n.r(t);var r=n(/*! -!../../node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../node_modules/vue-loader/lib??vue-loader-options!./window.vue?vue&type=template&id=62f588b2& */"./node_modules/vue-loader/lib/loaders/templateLoader.js?!./node_modules/vue-loader/lib/index.js?!./src/vue/window.vue?vue&type=template&id=62f588b2&");n.d(t,"render",(function(){return r["render"]})),n.d(t,"staticRenderFns",(function(){return r["staticRenderFns"]}))},vue: /*!******************************************************************************!*\ !*** external {"root":"Vue","commonjs2":"vue","commonjs":"vue","amd":"vue"} ***! \******************************************************************************/ /*! no static exports found */function(t,n){t.exports=e}})}))},"1d2b":function(e,t,n){"use strict";e.exports=function(e,t){return function(){for(var n=new Array(arguments.length),r=0;r=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};r.forEach(["delete","get","head"],(function(e){l.headers[e]={}})),r.forEach(["post","put","patch"],(function(e){l.headers[e]=r.merge(i)})),e.exports=l}).call(this,n("4362"))},2526:function(e,t,n){ /*! * dist/inputmask * https://github.com/RobinHerbots/Inputmask * Copyright (c) 2010 - 2021 Robin Herbots * Licensed under the MIT license * Version: 5.0.6 */ !function(t,n){e.exports=n()}(0,(function(){return function(){"use strict";var e={4528:function(e){e.exports=JSON.parse('{"BACKSPACE":8,"BACKSPACE_SAFARI":127,"DELETE":46,"DOWN":40,"END":35,"ENTER":13,"ESCAPE":27,"HOME":36,"INSERT":45,"LEFT":37,"PAGE_DOWN":34,"PAGE_UP":33,"RIGHT":39,"SPACE":32,"TAB":9,"UP":38,"X":88,"Z":90,"CONTROL":17,"PAUSE/BREAK":19,"WINDOWS_LEFT":91,"WINDOWS_RIGHT":92,"KEY_229":229}')},8741:function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=!("undefined"==typeof window||!window.document||!window.document.createElement);t.default=n},3976:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,o=(r=n(4528))&&r.__esModule?r:{default:r},i={_maxTestPos:500,placeholder:"_",optionalmarker:["[","]"],quantifiermarker:["{","}"],groupmarker:["(",")"],alternatormarker:"|",escapeChar:"\\",mask:null,regex:null,oncomplete:function(){},onincomplete:function(){},oncleared:function(){},repeat:0,greedy:!1,autoUnmask:!1,removeMaskOnSubmit:!1,clearMaskOnLostFocus:!0,insertMode:!0,insertModeVisual:!0,clearIncomplete:!1,alias:null,onKeyDown:function(){},onBeforeMask:null,onBeforePaste:function(e,t){return"function"==typeof t.onBeforeMask?t.onBeforeMask.call(this,e,t):e},onBeforeWrite:null,onUnMask:null,showMaskOnFocus:!0,showMaskOnHover:!0,onKeyValidation:function(){},skipOptionalPartCharacter:" ",numericInput:!1,rightAlign:!1,undoOnEscape:!0,radixPoint:"",_radixDance:!1,groupSeparator:"",keepStatic:null,positionCaretOnTab:!0,tabThrough:!1,supportsInputType:["text","tel","url","password","search"],ignorables:[o.default.BACKSPACE,o.default.TAB,o.default["PAUSE/BREAK"],o.default.ESCAPE,o.default.PAGE_UP,o.default.PAGE_DOWN,o.default.END,o.default.HOME,o.default.LEFT,o.default.UP,o.default.RIGHT,o.default.DOWN,o.default.INSERT,o.default.DELETE,93,112,113,114,115,116,117,118,119,120,121,122,123,0,229],isComplete:null,preValidation:null,postValidation:null,staticDefinitionSymbol:void 0,jitMasking:!1,nullable:!0,inputEventOnly:!1,noValuePatching:!1,positionCaretOnClick:"lvp",casing:null,inputmode:"text",importDataAttributes:!0,shiftPositions:!0,usePrototypeDefinitions:!0,validationEventTimeOut:3e3};t.default=i},7392:function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default={9:{validator:"[0-90-9]",definitionSymbol:"*"},a:{validator:"[A-Za-zА-яЁёÀ-ÿµ]",definitionSymbol:"*"},"*":{validator:"[0-90-9A-Za-zА-яЁёÀ-ÿµ]"}}},253:function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n){if(void 0===n)return e.__data?e.__data[t]:null;e.__data=e.__data||{},e.__data[t]=n}},3776:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.on=function(e,t){function n(e,n){o.addEventListener?o.addEventListener(e,t,!1):o.attachEvent&&o.attachEvent("on"+e,t),r[e]=r[e]||{},r[e][n]=r[e][n]||[],r[e][n].push(t)}if(u(this[0]))for(var r=this[0].eventRegistry,o=this[0],i=e.split(" "),s=0;s0)if(void 0===t)for(o=0,i=n[e][r].length;o0?r:"global",handler:n[e][r][o]});else s.push({ev:e,namespace:r&&r.length>0?r:"global",handler:t});else if(r.length>0)for(var a in n)for(var l in n[a])if(l===r)if(void 0===t)for(o=0,i=n[a][l].length;o0||i.indexOf("Trident/")>0,a="ontouchstart"in o.default,l=/iemobile/i.test(i),u=/iphone/i.test(i)&&!l;t.iphone=u,t.iemobile=l,t.mobile=a,t.ie=s,t.ua=i},7184:function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return e.replace(n,"\\$1")};var n=new RegExp("(\\"+["/",".","*","+","?","|","(",")","[","]","{","}","\\","$","^"].join("|\\")+")","gim")},6030:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.EventHandlers=void 0;var r,o=n(8711),i=(r=n(4528))&&r.__esModule?r:{default:r},s=n(9845),a=n(7215),l=n(7760),u=n(4713),c={keydownEvent:function(e){var t=this.inputmask,n=t.opts,r=t.dependencyLib,c=t.maskset,d=this,p=r(d),h=e.keyCode,f=o.caret.call(t,d),m=n.onKeyDown.call(this,e,o.getBuffer.call(t),f,n);if(void 0!==m)return m;if(h===i.default.BACKSPACE||h===i.default.DELETE||s.iphone&&h===i.default.BACKSPACE_SAFARI||e.ctrlKey&&h===i.default.X&&!("oncut"in d))e.preventDefault(),a.handleRemove.call(t,d,h,f),(0,l.writeBuffer)(d,o.getBuffer.call(t,!0),c.p,e,d.inputmask._valueGet()!==o.getBuffer.call(t).join(""));else if(h===i.default.END||h===i.default.PAGE_DOWN){e.preventDefault();var v=o.seekNext.call(t,o.getLastValidPosition.call(t));o.caret.call(t,d,e.shiftKey?f.begin:v,v,!0)}else h===i.default.HOME&&!e.shiftKey||h===i.default.PAGE_UP?(e.preventDefault(),o.caret.call(t,d,0,e.shiftKey?f.begin:0,!0)):n.undoOnEscape&&h===i.default.ESCAPE&&!0!==e.altKey?((0,l.checkVal)(d,!0,!1,t.undoValue.split("")),p.trigger("click")):!0===n.tabThrough&&h===i.default.TAB?!0===e.shiftKey?(f.end=o.seekPrevious.call(t,f.end,!0),!0===u.getTest.call(t,f.end-1).match.static&&f.end--,f.begin=o.seekPrevious.call(t,f.end,!0),f.begin>=0&&f.end>0&&(e.preventDefault(),o.caret.call(t,d,f.begin,f.end))):(f.begin=o.seekNext.call(t,f.begin,!0),f.end=o.seekNext.call(t,f.begin,!0),f.end=p.length?c.length:p.length,m=d.length>=h.length?d.length:h.length,v="",g=[],y="~";c.length0;){var s=i.pop();["submit","reset"].includes(o)?null!==e.form&&n(e.form).off(o,s):n(e).off(o,s)}delete e.inputmask.events[o]}}}};t.EventRuler=l},219:function(e,t,n){var r=l(n(2394)),o=l(n(4528)),i=l(n(7184)),s=n(8711);function a(e){return(a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function l(e){return e&&e.__esModule?e:{default:e}}var u=r.default.dependencyLib,c=(new Date).getFullYear(),d={d:["[1-9]|[12][0-9]|3[01]",Date.prototype.setDate,"day",Date.prototype.getDate],dd:["0[1-9]|[12][0-9]|3[01]",Date.prototype.setDate,"day",function(){return b(Date.prototype.getDate.call(this),2)}],ddd:[""],dddd:[""],m:["[1-9]|1[012]",Date.prototype.setMonth,"month",function(){return Date.prototype.getMonth.call(this)+1}],mm:["0[1-9]|1[012]",Date.prototype.setMonth,"month",function(){return b(Date.prototype.getMonth.call(this)+1,2)}],mmm:[""],mmmm:[""],yy:["[0-9]{2}",Date.prototype.setFullYear,"year",function(){return b(Date.prototype.getFullYear.call(this),2)}],yyyy:["[0-9]{4}",Date.prototype.setFullYear,"year",function(){return b(Date.prototype.getFullYear.call(this),4)}],h:["[1-9]|1[0-2]",Date.prototype.setHours,"hours",Date.prototype.getHours],hh:["0[1-9]|1[0-2]",Date.prototype.setHours,"hours",function(){return b(Date.prototype.getHours.call(this),2)}],hx:[function(e){return"[0-9]{".concat(e,"}")},Date.prototype.setHours,"hours",function(e){return Date.prototype.getHours}],H:["1?[0-9]|2[0-3]",Date.prototype.setHours,"hours",Date.prototype.getHours],HH:["0[0-9]|1[0-9]|2[0-3]",Date.prototype.setHours,"hours",function(){return b(Date.prototype.getHours.call(this),2)}],Hx:[function(e){return"[0-9]{".concat(e,"}")},Date.prototype.setHours,"hours",function(e){return function(){return b(Date.prototype.getHours.call(this),e)}}],M:["[1-5]?[0-9]",Date.prototype.setMinutes,"minutes",Date.prototype.getMinutes],MM:["0[0-9]|1[0-9]|2[0-9]|3[0-9]|4[0-9]|5[0-9]",Date.prototype.setMinutes,"minutes",function(){return b(Date.prototype.getMinutes.call(this),2)}],s:["[1-5]?[0-9]",Date.prototype.setSeconds,"seconds",Date.prototype.getSeconds],ss:["0[0-9]|1[0-9]|2[0-9]|3[0-9]|4[0-9]|5[0-9]",Date.prototype.setSeconds,"seconds",function(){return b(Date.prototype.getSeconds.call(this),2)}],l:["[0-9]{3}",Date.prototype.setMilliseconds,"milliseconds",function(){return b(Date.prototype.getMilliseconds.call(this),3)}],L:["[0-9]{2}",Date.prototype.setMilliseconds,"milliseconds",function(){return b(Date.prototype.getMilliseconds.call(this),2)}],t:["[ap]",h,"ampm",f,1],tt:["[ap]m",h,"ampm",f,2],T:["[AP]",h,"ampm",f,1],TT:["[AP]M",h,"ampm",f,2],Z:[""],o:[""],S:[""]},p={isoDate:"yyyy-mm-dd",isoTime:"HH:MM:ss",isoDateTime:"yyyy-mm-dd'T'HH:MM:ss",isoUtcDateTime:"UTC:yyyy-mm-dd'T'HH:MM:ss'Z'"};function h(e){e.toLowerCase().includes("p")&&this.setHours(this.getHours()+12)}function f(){}function m(e){var t=new RegExp("\\d+$").exec(e[0]);if(t&&void 0!==t[0]){var n=d[e[0][0]+"x"].slice("");return n[0]=n[0](t[0]),n[3]=n[3](t[0]),n}if(d[e[0]])return d[e[0]]}function v(e){if(!e.tokenizer){var t=[],n=[];for(var r in d)if(/\.*x$/.test(r)){var o=r[0]+"\\d+";-1===n.indexOf(o)&&n.push(o)}else-1===t.indexOf(r[0])&&t.push(r[0]);e.tokenizer="("+(n.length>0?n.join("|")+"|":"")+t.join("+|")+")+?|.",e.tokenizer=new RegExp(e.tokenizer,"g")}return e.tokenizer}function g(e,t,n){if(void 0===e.rawday||!isFinite(e.rawday)&&new Date(e.date.getFullYear(),isFinite(e.rawmonth)?e.month:e.date.getMonth()+1,0).getDate()>=e.day||"29"==e.day&&!Number.isFinite(e.rawyear)||new Date(e.date.getFullYear(),isFinite(e.rawmonth)?e.month:e.date.getMonth()+1,0).getDate()>=e.day)return t;if("29"==e.day){var r=_(t.pos,n);if("yyyy"===r.targetMatch[0]&&t.pos-r.targetMatchIndex==2)return t.remove=t.pos+1,t}else if("02"==e.month&&"30"==e.day&&void 0!==t.c)return e.day="03",e.date.setDate(3),e.date.setMonth(1),t.insert=[{pos:t.pos,c:"0"},{pos:t.pos+1,c:t.c}],t.caret=s.seekNext.call(this,t.pos+1),t;return!1}function y(e,t,n,r){var o,s,a="";for(v(n).lastIndex=0;o=v(n).exec(e);)if(void 0===t)if(s=m(o))a+="("+s[0]+")";else switch(o[0]){case"[":a+="(";break;case"]":a+=")?";break;default:a+=(0,i.default)(o[0])}else(s=m(o))?!0!==r&&s[3]?a+=s[3].call(t.date):s[2]?a+=t["raw"+s[2]]:a+=o[0]:a+=o[0];return a}function b(e,t,n){for(e=String(e),t=t||2;e.length0&&(o-=1),"year"===r&&o.length<4&&(o=b(o,4,!0)),""===o||isNaN(o)||i.call(e.date,o),"ampm"===r&&i.call(e.date,o)}}if("string"==typeof l){for(v(n).lastIndex=0;o=v(n).exec(t);){var c=new RegExp("\\d+$").exec(o[0]),p=c?o[0][0]+"x":o[0],h=void 0;if(c){var f=v(n).lastIndex,m=_(o.index,n);v(n).lastIndex=f,h=l.slice(0,l.indexOf(m.nextMatch[0]))}else h=l.slice(0,p.length);Object.prototype.hasOwnProperty.call(d,p)&&(r=d[p][2],i=d[p][1],u(s,h)),l=l.slice(h.length)}return s}if(l&&"object"===a(l)&&Object.prototype.hasOwnProperty.call(l,"date"))return l}function w(e,t){return y(t.inputFormat,{date:e},t)}function _(e,t){var n,r,o=0,i=0;for(v(t).lastIndex=0;r=v(t).exec(t.inputFormat);){var s=new RegExp("\\d+$").exec(r[0]);if((o+=i=s?parseInt(s[0]):r[0].length)>=e){n=r,r=v(t).exec(t.inputFormat);break}}return{targetMatchIndex:o-i,nextMatch:r,targetMatch:n}}r.default.extendAliases({datetime:{mask:function(e){return e.numericInput=!1,d.S=e.i18n.ordinalSuffix.join("|"),e.inputFormat=p[e.inputFormat]||e.inputFormat,e.displayFormat=p[e.displayFormat]||e.displayFormat||e.inputFormat,e.outputFormat=p[e.outputFormat]||e.outputFormat||e.inputFormat,e.placeholder=""!==e.placeholder?e.placeholder:e.inputFormat.replace(/[[\]]/,""),e.regex=y(e.inputFormat,void 0,e),e.min=x(e.min,e.inputFormat,e),e.max=x(e.max,e.inputFormat,e),null},placeholder:"",inputFormat:"isoDateTime",displayFormat:void 0,outputFormat:void 0,min:null,max:null,skipOptionalPartCharacter:"",i18n:{dayNames:["Mon","Tue","Wed","Thu","Fri","Sat","Sun","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday"],monthNames:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec","January","February","March","April","May","June","July","August","September","October","November","December"],ordinalSuffix:["st","nd","rd","th"]},preValidation:function(e,t,n,r,o,i,s,a){if(a)return!0;if(isNaN(n)&&e[t]!==n){var l=_(t,o);if(l.nextMatch&&l.nextMatch[0]===n&&l.targetMatch[0].length>1){var u=d[l.targetMatch[0]][0];if(new RegExp(u).test("0"+e[t-1]))return e[t]=e[t-1],e[t-1]="0",{fuzzy:!0,buffer:e,refreshFromBuffer:{start:t-1,end:t+1},pos:t+1}}}return!0},postValidation:function(e,t,n,r,o,i,s,a){var l,u;if(s)return!0;if(!1===r&&(((l=_(t+1,o)).targetMatch&&l.targetMatchIndex===t&&l.targetMatch[0].length>1&&void 0!==d[l.targetMatch[0]]||(l=_(t+2,o)).targetMatch&&l.targetMatchIndex===t+1&&l.targetMatch[0].length>1&&void 0!==d[l.targetMatch[0]])&&(u=d[l.targetMatch[0]][0]),void 0!==u&&(void 0!==i.validPositions[t+1]&&new RegExp(u).test(n+"0")?(e[t]=n,e[t+1]="0",r={pos:t+2,caret:t}):new RegExp(u).test("0"+n)&&(e[t]="0",e[t+1]=n,r={pos:t+2})),!1===r))return r;if(r.fuzzy&&(e=r.buffer,t=r.pos),(l=_(t,o)).targetMatch&&l.targetMatch[0]&&void 0!==d[l.targetMatch[0]]){u=d[l.targetMatch[0]][0];var p=e.slice(l.targetMatchIndex,l.targetMatchIndex+l.targetMatch[0].length);!1===new RegExp(u).test(p.join(""))&&2===l.targetMatch[0].length&&i.validPositions[l.targetMatchIndex]&&i.validPositions[l.targetMatchIndex+1]&&(i.validPositions[l.targetMatchIndex+1].input="0")}var h=r,f=x(e.join(""),o.inputFormat,o);return h&&f.date.getTime()==f.date.getTime()&&(o.prefillYear&&(h=function(e,t,n){if(e.year!==e.rawyear){var r=c.toString(),o=e.rawyear.replace(/[^0-9]/g,""),i=r.slice(0,o.length),s=r.slice(o.length);if(2===o.length&&o===i){var a=new Date(c,e.month-1,e.day);e.day==a.getDate()&&(!n.max||n.max.date.getTime()>=a.getTime())&&(e.date.setFullYear(c),e.year=r,t.insert=[{pos:t.pos+1,c:s[0]},{pos:t.pos+2,c:s[1]}])}}return t}(f,h,o)),h=function(e,t,n,r,o){if(!t)return t;if(n.min){if(e.rawyear){var i,s=e.rawyear.replace(/[^0-9]/g,""),a=n.min.year.substr(0,s.length);if(s=e.date.getTime()),t}(f,h=g.call(this,f,h,o),o,i,a)),void 0!==t&&h&&r.pos!==t?{buffer:y(o.inputFormat,f,o).split(""),refreshFromBuffer:{start:t,end:r.pos},pos:r.caret||r.pos}:h},onKeyDown:function(e,t,n,r){e.ctrlKey&&e.keyCode===o.default.RIGHT&&(this.inputmask._valueSet(w(new Date,r)),u(this).trigger("setvalue"))},onUnMask:function(e,t,n){return t?y(n.outputFormat,x(e,n.inputFormat,n),n,!0):t},casing:function(e,t,n,r){return 0==t.nativeDef.indexOf("[ap]")?e.toLowerCase():0==t.nativeDef.indexOf("[AP]")?e.toUpperCase():e},onBeforeMask:function(e,t){return"[object Date]"===Object.prototype.toString.call(e)&&(e=w(e,t)),e},insertMode:!1,shiftPositions:!1,keepStatic:!1,inputmode:"numeric",prefillYear:!0}})},3851:function(e,t,n){var r,o=(r=n(2394))&&r.__esModule?r:{default:r},i=n(8711),s=n(4713);o.default.extendDefinitions({A:{validator:"[A-Za-zА-яЁёÀ-ÿµ]",casing:"upper"},"&":{validator:"[0-9A-Za-zА-яЁёÀ-ÿµ]",casing:"upper"},"#":{validator:"[0-9A-Fa-f]",casing:"upper"}});var a=new RegExp("25[0-5]|2[0-4][0-9]|[01][0-9][0-9]");function l(e,t,n,r,o){return n-1>-1&&"."!==t.buffer[n-1]?(e=t.buffer[n-1]+e,e=n-2>-1&&"."!==t.buffer[n-2]?t.buffer[n-2]+e:"0"+e):e="00"+e,a.test(e)}o.default.extendAliases({cssunit:{regex:"[+-]?[0-9]+\\.?([0-9]+)?(px|em|rem|ex|%|in|cm|mm|pt|pc)"},url:{regex:"(https?|ftp)://.*",autoUnmask:!1,keepStatic:!1,tabThrough:!0},ip:{mask:"i[i[i]].j[j[j]].k[k[k]].l[l[l]]",definitions:{i:{validator:l},j:{validator:l},k:{validator:l},l:{validator:l}},onUnMask:function(e,t,n){return e},inputmode:"numeric"},email:{mask:"*{1,64}[.*{1,64}][.*{1,64}][.*{1,63}]@-{1,63}.-{1,63}[.-{1,63}][.-{1,63}]",greedy:!1,casing:"lower",onBeforePaste:function(e,t){return(e=e.toLowerCase()).replace("mailto:","")},definitions:{"*":{validator:"[0-91-9A-Za-zА-яЁёÀ-ÿµ!#$%&'*+/=?^_`{|}~-]"},"-":{validator:"[0-9A-Za-z-]"}},onUnMask:function(e,t,n){return e},inputmode:"email"},mac:{mask:"##:##:##:##:##:##"},vin:{mask:"V{13}9{4}",definitions:{V:{validator:"[A-HJ-NPR-Za-hj-npr-z\\d]",casing:"upper"}},clearIncomplete:!0,autoUnmask:!0},ssn:{mask:"999-99-9999",postValidation:function(e,t,n,r,o,a,l){var u=s.getMaskTemplate.call(this,!0,i.getLastValidPosition.call(this),!0,!0);return/^(?!219-09-9999|078-05-1120)(?!666|000|9.{2}).{3}-(?!00).{2}-(?!0{4}).{4}$/.test(u.join(""))}}})},207:function(e,t,n){var r=a(n(2394)),o=a(n(4528)),i=a(n(7184)),s=n(8711);function a(e){return e&&e.__esModule?e:{default:e}}var l=r.default.dependencyLib;function u(e,t){for(var n="",o=0;o0&&t>0&&(!n.digitsOptional||r)){var o=e.indexOf(n.radixPoint),i=!1;n.negationSymbol.back===e[e.length-1]&&(i=!0,e.length--),-1===o&&(e.push(n.radixPoint),o=e.length-1);for(var s=1;s<=t;s++)isFinite(e[o+s])||(e[o+s]="0")}return i&&e.push(n.negationSymbol.back),e}function d(e,t){var n=0;if("+"===e){for(n in t.validPositions);n=s.seekNext.call(this,parseInt(n))}for(var r in t.tests)if((r=parseInt(r))>=n)for(var o=0,i=t.tests[r].length;o1&&(e.placeholder=e.placeholder.charAt(0)),"radixFocus"===e.positionCaretOnClick&&""===e.placeholder&&(e.positionCaretOnClick="lvp");var t="0",n=e.radixPoint;!0===e.numericInput&&void 0===e.__financeInput?(t="1",e.positionCaretOnClick="radixFocus"===e.positionCaretOnClick?"lvp":e.positionCaretOnClick,e.digitsOptional=!1,isNaN(e.digits)&&(e.digits=2),e._radixDance=!1,n=","===e.radixPoint?"?":"!",""!==e.radixPoint&&void 0===e.definitions[n]&&(e.definitions[n]={},e.definitions[n].validator="["+e.radixPoint+"]",e.definitions[n].placeholder=e.radixPoint,e.definitions[n].static=!0,e.definitions[n].generated=!0)):(e.__financeInput=!1,e.numericInput=!0);var r,o="[+]";if(o+=u(e.prefix,e),""!==e.groupSeparator?(void 0===e.definitions[e.groupSeparator]&&(e.definitions[e.groupSeparator]={},e.definitions[e.groupSeparator].validator="["+e.groupSeparator+"]",e.definitions[e.groupSeparator].placeholder=e.groupSeparator,e.definitions[e.groupSeparator].static=!0,e.definitions[e.groupSeparator].generated=!0),o+=e._mask(e)):o+="9{+}",void 0!==e.digits&&0!==e.digits){var s=e.digits.toString().split(",");isFinite(s[0])&&s[1]&&isFinite(s[1])?o+=n+t+"{"+e.digits+"}":(isNaN(e.digits)||parseInt(e.digits)>0)&&(e.digitsOptional||e.jitMasking?(r=o+n+t+"{0,"+e.digits+"}",e.keepStatic=!0):o+=n+t+"{"+e.digits+"}")}else e.inputmode="numeric";return o+=u(e.suffix,e),o+="[-]",r&&(o=[r+u(e.suffix,e)+"[-]",o]),e.greedy=!1,function(e){void 0===e.parseMinMaxOptions&&(null!==e.min&&(e.min=e.min.toString().replace(new RegExp((0,i.default)(e.groupSeparator),"g"),""),","===e.radixPoint&&(e.min=e.min.replace(e.radixPoint,".")),e.min=isFinite(e.min)?parseFloat(e.min):NaN,isNaN(e.min)&&(e.min=Number.MIN_VALUE)),null!==e.max&&(e.max=e.max.toString().replace(new RegExp((0,i.default)(e.groupSeparator),"g"),""),","===e.radixPoint&&(e.max=e.max.replace(e.radixPoint,".")),e.max=isFinite(e.max)?parseFloat(e.max):NaN,isNaN(e.max)&&(e.max=Number.MAX_VALUE)),e.parseMinMaxOptions="done")}(e),o},_mask:function(e){return"("+e.groupSeparator+"999){+|1}"},digits:"*",digitsOptional:!0,enforceDigitsOnBlur:!1,radixPoint:".",positionCaretOnClick:"radixFocus",_radixDance:!0,groupSeparator:"",allowMinus:!0,negationSymbol:{front:"-",back:""},prefix:"",suffix:"",min:null,max:null,SetMaxOnOverflow:!1,step:1,inputType:"text",unmaskAsNumber:!1,roundingFN:Math.round,inputmode:"decimal",shortcuts:{k:"000",m:"000000"},placeholder:"0",greedy:!1,rightAlign:!0,insertMode:!0,autoUnmask:!1,skipOptionalPartCharacter:"",usePrototypeDefinitions:!1,definitions:{0:{validator:h},1:{validator:h,definitionSymbol:"9"},9:{validator:"[0-90-9٠-٩۰-۹]",definitionSymbol:"*"},"+":{validator:function(e,t,n,r,o){return o.allowMinus&&("-"===e||e===o.negationSymbol.front)}},"-":{validator:function(e,t,n,r,o){return o.allowMinus&&e===o.negationSymbol.back}}},preValidation:function(e,t,n,r,o,i,s,a){var l;if(!1!==o.__financeInput&&n===o.radixPoint)return!1;if(l=o.shortcuts&&o.shortcuts[n]){if(l.length>1)for(var u=[],c=0;c0||t==o.radixPoint)&&(void 0===r.validPositions[e-1]||r.validPositions[e-1].input!==o.negationSymbol.back)&&(e-=1),e}(t,n,h,i,o),"-"===n||n===o.negationSymbol.front){if(!0!==o.allowMinus)return!1;var m=!1,v=p("+",i),g=p("-",i);return-1!==v&&(m=[v,g]),!1!==m?{remove:m,caret:f-o.negationSymbol.back.length}:{insert:[{pos:d.call(this,"+",i),c:o.negationSymbol.front,fromIsValid:!0},{pos:d.call(this,"-",i),c:o.negationSymbol.back,fromIsValid:void 0}],caret:f+o.negationSymbol.back.length}}if(n===o.groupSeparator)return{caret:f};if(a)return!0;if(-1!==h&&!0===o._radixDance&&!1===r&&n===o.radixPoint&&void 0!==o.digits&&(isNaN(o.digits)||parseInt(o.digits)>0)&&h!==t)return{caret:o._radixDance&&t===h-1?h+1:h};if(!1===o.__financeInput)if(r){if(o.digitsOptional)return{rewritePosition:s.end};if(!o.digitsOptional){if(s.begin>h&&s.end<=h)return n===o.radixPoint?{insert:{pos:h+1,c:"0",fromIsValid:!0},rewritePosition:h}:{rewritePosition:h+1};if(s.begin0&&""===this.__valueGet.call(this.el))return{rewritePosition:h};return{rewritePosition:t}},postValidation:function(e,t,n,r,o,i,s){if(!1===r)return r;if(s)return!0;if(null!==o.min||null!==o.max){var a=o.onUnMask(e.slice().reverse().join(""),void 0,l.extend({},o,{unmaskAsNumber:!0}));if(null!==o.min&&ao.min.toString().length||a<0))return!1;if(null!==o.max&&a>o.max)return!!o.SetMaxOnOverflow&&{refreshFromBuffer:!0,buffer:c(o.max.toString().replace(".",o.radixPoint).split(""),o.digits,o).reverse()}}return r},onUnMask:function(e,t,n){if(""===t&&!0===n.nullable)return t;var r=e.replace(n.prefix,"");return r=(r=r.replace(n.suffix,"")).replace(new RegExp((0,i.default)(n.groupSeparator),"g"),""),""!==n.placeholder.charAt(0)&&(r=r.replace(new RegExp(n.placeholder.charAt(0),"g"),"0")),n.unmaskAsNumber?(""!==n.radixPoint&&-1!==r.indexOf(n.radixPoint)&&(r=r.replace(i.default.call(this,n.radixPoint),".")),r=(r=r.replace(new RegExp("^"+(0,i.default)(n.negationSymbol.front)),"-")).replace(new RegExp((0,i.default)(n.negationSymbol.back)+"$"),""),Number(r)):r},isComplete:function(e,t){var n=(t.numericInput?e.slice().reverse():e).join("");return n=(n=(n=(n=(n=n.replace(new RegExp("^"+(0,i.default)(t.negationSymbol.front)),"-")).replace(new RegExp((0,i.default)(t.negationSymbol.back)+"$"),"")).replace(t.prefix,"")).replace(t.suffix,"")).replace(new RegExp((0,i.default)(t.groupSeparator)+"([0-9]{3})","g"),"$1"),","===t.radixPoint&&(n=n.replace((0,i.default)(t.radixPoint),".")),isFinite(n)},onBeforeMask:function(e,t){var n=t.radixPoint||",";isFinite(t.digits)&&(t.digits=parseInt(t.digits)),"number"!=typeof e&&"number"!==t.inputType||""===n||(e=e.toString().replace(".",n));var r="-"===e.charAt(0)||e.charAt(0)===t.negationSymbol.front,o=e.split(n),s=o[0].replace(/[^\-0-9]/g,""),a=o.length>1?o[1].replace(/[^0-9]/g,""):"",l=o.length>1;e=s+(""!==a?n+a:a);var u=0;if(""!==n&&(u=t.digitsOptional?t.digitst.max&&(e=t.max.toString().replace(".",n))}return r&&"-"!==e.charAt(0)&&(e="-"+e),c(e.toString().split(""),u,t,l).join("")},onBeforeWrite:function(e,t,n,r){function o(e,t){if(!1!==r.__financeInput||t){var n=e.indexOf(r.radixPoint);-1!==n&&e.splice(n,1)}if(""!==r.groupSeparator)for(;-1!==(n=e.indexOf(r.groupSeparator));)e.splice(n,1);return e}var s,a=function(e,t){var n=new RegExp("(^"+(""!==t.negationSymbol.front?(0,i.default)(t.negationSymbol.front)+"?":"")+(0,i.default)(t.prefix)+")(.*)("+(0,i.default)(t.suffix)+(""!=t.negationSymbol.back?(0,i.default)(t.negationSymbol.back)+"?":"")+"$)").exec(e.slice().reverse().join("")),r=n?n[2]:"",o=!1;return r&&(r=r.split(t.radixPoint.charAt(0))[0],o=new RegExp("^[0"+t.groupSeparator+"]*").exec(r)),!(!o||!(o[0].length>1||o[0].length>0&&o[0].length0;p--)delete this.maskset.validPositions[u+p],delete t[u+p];if(e)switch(e.type){case"blur":case"checkval":if(null!==r.min){var h=r.onUnMask(t.slice().reverse().join(""),void 0,l.extend({},r,{unmaskAsNumber:!0}));if(null!==r.min&&h=i.length?i.length:n.begin]),!1}else if(-1!==a&&(n.begin=i.length?a+1:n.begin]),!1}}}},currency:{prefix:"",groupSeparator:",",alias:"numeric",digits:2,digitsOptional:!1},decimal:{alias:"numeric"},integer:{alias:"numeric",inputmode:"numeric",digits:0},percentage:{alias:"numeric",min:0,max:100,suffix:" %",digits:0,allowMinus:!1},indianns:{alias:"numeric",_mask:function(e){return"("+e.groupSeparator+"99){*|1}("+e.groupSeparator+"999){1|1}"},groupSeparator:",",radixPoint:".",placeholder:"0",digits:2,digitsOptional:!1}})},9380:function(e,t,n){var r;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=((r=n(8741))&&r.__esModule?r:{default:r}).default?window:{};t.default=o},7760:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.applyInputValue=c,t.clearOptionalTail=d,t.checkVal=p,t.HandleNativePlaceholder=function(e,t){var n=e?e.inputmask:this;if(l.ie){if(e.inputmask._valueGet()!==t&&(e.placeholder!==t||""===e.placeholder)){var r=s.getBuffer.call(n).slice(),o=e.inputmask._valueGet();if(o!==t){var i=s.getLastValidPosition.call(n);-1===i&&o===s.getBufferTemplate.call(n).join("")?r=[]:-1!==i&&d.call(n,r),h(e,r)}}}else e.placeholder!==t&&(e.placeholder=t,""===e.placeholder&&e.removeAttribute("placeholder"))},t.unmaskedvalue=function(e){var t=e?e.inputmask:this,n=t.opts,r=t.maskset;if(e){if(void 0===e.inputmask)return e.value;e.inputmask&&e.inputmask.refreshValue&&c(e,e.inputmask._valueGet(!0))}var o=[],i=r.validPositions;for(var a in i)i[a]&&i[a].match&&(1!=i[a].match.static||Array.isArray(r.metadata)&&!0!==i[a].generatedInput)&&o.push(i[a].input);var l=0===o.length?"":(t.isRTL?o.reverse():o).join("");if("function"==typeof n.onUnMask){var u=(t.isRTL?s.getBuffer.call(t).slice().reverse():s.getBuffer.call(t)).join("");l=n.onUnMask.call(t,u,l,n)}return l},t.writeBuffer=h;var r,o=(r=n(4528))&&r.__esModule?r:{default:r},i=n(4713),s=n(8711),a=n(7215),l=n(9845),u=n(6030);function c(e,t){var n=e?e.inputmask:this,r=n.opts;e.inputmask.refreshValue=!1,"function"==typeof r.onBeforeMask&&(t=r.onBeforeMask.call(n,t,r)||t),p(e,!0,!1,t=t.toString().split("")),n.undoValue=n._valueGet(!0),(r.clearMaskOnLostFocus||r.clearIncomplete)&&e.inputmask._valueGet()===s.getBufferTemplate.call(n).join("")&&-1===s.getLastValidPosition.call(n)&&e.inputmask._valueSet("")}function d(e){e.length=0;for(var t,n=i.getMaskTemplate.call(this,!0,0,!0,void 0,!0);void 0!==(t=n.shift());)e.push(t);return e}function p(e,t,n,r,o){var l=e?e.inputmask:this,c=l.maskset,d=l.opts,p=l.dependencyLib,f=r.slice(),m="",v=-1,g=void 0,y=d.skipOptionalPartCharacter;d.skipOptionalPartCharacter="",s.resetMaskSet.call(l),c.tests={},v=d.radixPoint?s.determineNewCaretPosition.call(l,{begin:0,end:0},!1,!1===d.__financeInput?"radixFocus":void 0).begin:0,c.p=v,l.caretPos={begin:v};var b=[],x=l.caretPos;if(f.forEach((function(e,t){if(void 0!==e){var r=new p.Event("_checkval");r.which=e.toString().charCodeAt(0),m+=e;var o=s.getLastValidPosition.call(l,void 0,!0);!function(e,t){for(var n=i.getMaskTemplate.call(l,!0,0).slice(e,s.seekNext.call(l,e,!1,!1)).join("").replace(/'/g,""),r=n.indexOf(t);r>0&&" "===n[r-1];)r--;var o=0===r&&!s.isMask.call(l,e)&&(i.getTest.call(l,e).match.nativeDef===t.charAt(0)||!0===i.getTest.call(l,e).match.static&&i.getTest.call(l,e).match.nativeDef==="'"+t.charAt(0)||" "===i.getTest.call(l,e).match.nativeDef&&(i.getTest.call(l,e+1).match.nativeDef===t.charAt(0)||!0===i.getTest.call(l,e+1).match.static&&i.getTest.call(l,e+1).match.nativeDef==="'"+t.charAt(0)));if(!o&&r>0&&!s.isMask.call(l,e,!1,!0)){var a=s.seekNext.call(l,e);l.caretPos.begin0){var w,_,C=s.seekNext.call(l,-1,void 0,!1);if(!a.isComplete.call(l,s.getBuffer.call(l))&&b.length<=C||a.isComplete.call(l,s.getBuffer.call(l))&&b.length>0&&b.length!==C&&0===b[0])for(var P=C;void 0!==(w=b.shift());){var S=new p.Event("_checkval");if((_=c.validPositions[w]).generatedInput=!0,S.which=_.input.charCodeAt(0),(g=u.EventHandlers.keypressEvent.call(l,S,!0,!1,n,P))&&void 0!==g.pos&&g.pos!==w&&c.validPositions[g.pos]&&!0===c.validPositions[g.pos].match.static)b.push(g.pos);else if(!g)break;P++}}t&&h.call(l,e,s.getBuffer.call(l),g?g.forwardPosition:l.caretPos.begin,o||new p.Event("checkval"),o&&"input"===o.type&&l.undoValue!==l._valueGet(!0)),d.skipOptionalPartCharacter=y}function h(e,t,n,r,i){var l=e?e.inputmask:this,u=l.opts,c=l.dependencyLib;if(r&&"function"==typeof u.onBeforeWrite){var d=u.onBeforeWrite.call(l,r,t,n,u);if(d){if(d.refreshFromBuffer){var p=d.refreshFromBuffer;a.refreshFromBuffer.call(l,!0===p?p:p.start,p.end,d.buffer||t),t=s.getBuffer.call(l,!0)}void 0!==n&&(n=void 0!==d.caret?d.caret:n)}}if(void 0!==e&&(e.inputmask._valueSet(t.join("")),void 0===n||void 0!==r&&"blur"===r.type||s.caret.call(l,e,n,void 0,void 0,void 0!==r&&"keydown"===r.type&&(r.keyCode===o.default.DELETE||r.keyCode===o.default.BACKSPACE)),!0===i)){var h=c(e),f=e.inputmask._valueGet();e.inputmask.skipInputEvent=!0,h.trigger("input"),setTimeout((function(){f===s.getBufferTemplate.call(l).join("")?h.trigger("cleared"):!0===a.isComplete.call(l,t)&&h.trigger("complete")}),0)}}},2394:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,n(7149),n(3194);var r=n(157),o=v(n(4963)),i=v(n(9380)),s=n(2391),a=n(4713),l=n(8711),u=n(7215),c=n(7760),d=n(9716),p=v(n(7392)),h=v(n(3976)),f=v(n(8741));function m(e){return(m="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function v(e){return e&&e.__esModule?e:{default:e}}var g=i.default.document,y="_inputmask_opts";function b(e,t,n){if(f.default){if(!(this instanceof b))return new b(e,t,n);this.dependencyLib=o.default,this.el=void 0,this.events={},this.maskset=void 0,!0!==n&&("[object Object]"===Object.prototype.toString.call(e)?t=e:(t=t||{},e&&(t.alias=e)),this.opts=o.default.extend(!0,{},this.defaults,t),this.noMasksCache=t&&void 0!==t.definitions,this.userOptions=t||{},x(this.opts.alias,t,this.opts)),this.refreshValue=!1,this.undoValue=void 0,this.$el=void 0,this.skipKeyPressEvent=!1,this.skipInputEvent=!1,this.validationEvent=!1,this.ignorable=!1,this.maxLength,this.mouseEnter=!1,this.originalPlaceholder=void 0,this.isComposing=!1}}function x(e,t,n){var r=b.prototype.aliases[e];return r?(r.alias&&x(r.alias,void 0,n),o.default.extend(!0,n,r),o.default.extend(!0,n,t),!0):(null===n.mask&&(n.mask=e),!1)}b.prototype={dataAttribute:"data-inputmask",defaults:h.default,definitions:p.default,aliases:{},masksCache:{},get isRTL(){return this.opts.isRTL||this.opts.numericInput},mask:function(e){var t=this;return"string"==typeof e&&(e=g.getElementById(e)||g.querySelectorAll(e)),(e=e.nodeName?[e]:Array.isArray(e)?e:Array.from(e)).forEach((function(e,n){var a=o.default.extend(!0,{},t.opts);if(function(e,t,n,r){function s(t,o){var s=""===r?t:r+"-"+t;null!==(o=void 0!==o?o:e.getAttribute(s))&&("string"==typeof o&&(0===t.indexOf("on")?o=i.default[o]:"false"===o?o=!1:"true"===o&&(o=!0)),n[t]=o)}if(!0===t.importDataAttributes){var a,l,u,c,d=e.getAttribute(r);if(d&&""!==d&&(d=d.replace(/'/g,'"'),l=JSON.parse("{"+d+"}")),l)for(c in u=void 0,l)if("alias"===c.toLowerCase()){u=l[c];break}for(a in s("alias",u),n.alias&&x(n.alias,n,t),t){if(l)for(c in u=void 0,l)if(c.toLowerCase()===a.toLowerCase()){u=l[c];break}s(a,u)}}return o.default.extend(!0,t,n),("rtl"===e.dir||t.rightAlign)&&(e.style.textAlign="right"),("rtl"===e.dir||t.numericInput)&&(e.dir="ltr",e.removeAttribute("dir"),t.isRTL=!0),Object.keys(n).length}(e,a,o.default.extend(!0,{},t.userOptions),t.dataAttribute)){var l=(0,s.generateMaskSet)(a,t.noMasksCache);void 0!==l&&(void 0!==e.inputmask&&(e.inputmask.opts.autoUnmask=!0,e.inputmask.remove()),e.inputmask=new b(void 0,void 0,!0),e.inputmask.opts=a,e.inputmask.noMasksCache=t.noMasksCache,e.inputmask.userOptions=o.default.extend(!0,{},t.userOptions),e.inputmask.el=e,e.inputmask.$el=(0,o.default)(e),e.inputmask.maskset=l,o.default.data(e,y,t.userOptions),r.mask.call(e.inputmask))}})),e&&e[0]&&e[0].inputmask||this},option:function(e,t){return"string"==typeof e?this.opts[e]:"object"===m(e)?(o.default.extend(this.userOptions,e),this.el&&!0!==t&&this.mask(this.el),this):void 0},unmaskedvalue:function(e){if(this.maskset=this.maskset||(0,s.generateMaskSet)(this.opts,this.noMasksCache),void 0===this.el||void 0!==e){var t=("function"==typeof this.opts.onBeforeMask&&this.opts.onBeforeMask.call(this,e,this.opts)||e).split("");c.checkVal.call(this,void 0,!1,!1,t),"function"==typeof this.opts.onBeforeWrite&&this.opts.onBeforeWrite.call(this,void 0,l.getBuffer.call(this),0,this.opts)}return c.unmaskedvalue.call(this,this.el)},remove:function(){if(this.el){o.default.data(this.el,y,null);var e=this.opts.autoUnmask?(0,c.unmaskedvalue)(this.el):this._valueGet(this.opts.autoUnmask);e!==l.getBufferTemplate.call(this).join("")?this._valueSet(e,this.opts.autoUnmask):this._valueSet(""),d.EventRuler.off(this.el),Object.getOwnPropertyDescriptor&&Object.getPrototypeOf?Object.getOwnPropertyDescriptor(Object.getPrototypeOf(this.el),"value")&&this.__valueGet&&Object.defineProperty(this.el,"value",{get:this.__valueGet,set:this.__valueSet,configurable:!0}):g.__lookupGetter__&&this.el.__lookupGetter__("value")&&this.__valueGet&&(this.el.__defineGetter__("value",this.__valueGet),this.el.__defineSetter__("value",this.__valueSet)),this.el.inputmask=void 0}return this.el},getemptymask:function(){return this.maskset=this.maskset||(0,s.generateMaskSet)(this.opts,this.noMasksCache),l.getBufferTemplate.call(this).join("")},hasMaskedValue:function(){return!this.opts.autoUnmask},isComplete:function(){return this.maskset=this.maskset||(0,s.generateMaskSet)(this.opts,this.noMasksCache),u.isComplete.call(this,l.getBuffer.call(this))},getmetadata:function(){if(this.maskset=this.maskset||(0,s.generateMaskSet)(this.opts,this.noMasksCache),Array.isArray(this.maskset.metadata)){var e=a.getMaskTemplate.call(this,!0,0,!1).join("");return this.maskset.metadata.forEach((function(t){return t.mask!==e||(e=t,!1)})),e}return this.maskset.metadata},isValid:function(e){if(this.maskset=this.maskset||(0,s.generateMaskSet)(this.opts,this.noMasksCache),e){var t=("function"==typeof this.opts.onBeforeMask&&this.opts.onBeforeMask.call(this,e,this.opts)||e).split("");c.checkVal.call(this,void 0,!0,!1,t)}else e=this.isRTL?l.getBuffer.call(this).slice().reverse().join(""):l.getBuffer.call(this).join("");for(var n=l.getBuffer.call(this),r=l.determineLastRequiredPosition.call(this),o=n.length-1;o>r&&!l.isMask.call(this,o);o--);return n.splice(r,o+1-r),u.isComplete.call(this,n)&&e===(this.isRTL?l.getBuffer.call(this).slice().reverse().join(""):l.getBuffer.call(this).join(""))},format:function(e,t){this.maskset=this.maskset||(0,s.generateMaskSet)(this.opts,this.noMasksCache);var n=("function"==typeof this.opts.onBeforeMask&&this.opts.onBeforeMask.call(this,e,this.opts)||e).split("");c.checkVal.call(this,void 0,!0,!1,n);var r=this.isRTL?l.getBuffer.call(this).slice().reverse().join(""):l.getBuffer.call(this).join("");return t?{value:r,metadata:this.getmetadata()}:r},setValue:function(e){this.el&&(0,o.default)(this.el).trigger("setvalue",[e])},analyseMask:s.analyseMask},b.extendDefaults=function(e){o.default.extend(!0,b.prototype.defaults,e)},b.extendDefinitions=function(e){o.default.extend(!0,b.prototype.definitions,e)},b.extendAliases=function(e){o.default.extend(!0,b.prototype.aliases,e)},b.format=function(e,t,n){return b(t).format(e,n)},b.unmask=function(e,t){return b(t).unmaskedvalue(e)},b.isValid=function(e,t){return b(t).isValid(e)},b.remove=function(e){"string"==typeof e&&(e=g.getElementById(e)||g.querySelectorAll(e)),(e=e.nodeName?[e]:e).forEach((function(e){e.inputmask&&e.inputmask.remove()}))},b.setValue=function(e,t){"string"==typeof e&&(e=g.getElementById(e)||g.querySelectorAll(e)),(e=e.nodeName?[e]:e).forEach((function(e){e.inputmask?e.inputmask.setValue(t):(0,o.default)(e).trigger("setvalue",[t])}))},b.dependencyLib=o.default,i.default.Inputmask=b;var w=b;t.default=w},5296:function(e,t,n){function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var o=h(n(9380)),i=h(n(2394)),s=h(n(8741));function a(e,t){return!t||"object"!==r(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function l(e){var t="function"==typeof Map?new Map:void 0;return(l=function(e){if(null===e||(n=e,-1===Function.toString.call(n).indexOf("[native code]")))return e;var n;if("function"!=typeof e)throw new TypeError("Super expression must either be null or a function");if(void 0!==t){if(t.has(e))return t.get(e);t.set(e,r)}function r(){return u(e,arguments,p(this).constructor)}return r.prototype=Object.create(e.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),d(r,e)})(e)}function u(e,t,n){return(u=c()?Reflect.construct:function(e,t,n){var r=[null];r.push.apply(r,t);var o=new(Function.bind.apply(e,r));return n&&d(o,n.prototype),o}).apply(null,arguments)}function c(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}function d(e,t){return(d=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function p(e){return(p=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function h(e){return e&&e.__esModule?e:{default:e}}var f=o.default.document;if(s.default&&f&&f.head&&f.head.attachShadow&&o.default.customElements&&void 0===o.default.customElements.get("input-mask")){var m=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&d(e,t)}(o,e);var t,n,r=(t=o,n=c(),function(){var e,r=p(t);if(n){var o=p(this).constructor;e=Reflect.construct(r,arguments,o)}else e=r.apply(this,arguments);return a(this,e)});function o(){var e;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,o);var t=(e=r.call(this)).getAttributeNames(),n=e.attachShadow({mode:"closed"}),s=f.createElement("input");for(var a in s.type="text",n.appendChild(s),t)Object.prototype.hasOwnProperty.call(t,a)&&s.setAttribute(t[a],e.getAttribute(t[a]));var l=new i.default;return l.dataAttribute="",l.mask(s),s.inputmask.shadowRoot=n,e}return o}(l(HTMLElement));o.default.customElements.define("input-mask",m)}},2391:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.generateMaskSet=function(e,t){var n;function o(e,n,o){var i,s,a=!1;if(null!==e&&""!==e||((a=null!==o.regex)?e=(e=o.regex).replace(/^(\^)(.*)(\$)$/,"$2"):(a=!0,e=".*")),1===e.length&&!1===o.greedy&&0!==o.repeat&&(o.placeholder=""),o.repeat>0||"*"===o.repeat||"+"===o.repeat){var l="*"===o.repeat?0:"+"===o.repeat?1:o.repeat;e=o.groupmarker[0]+e+o.groupmarker[1]+o.quantifiermarker[0]+l+","+o.repeat+o.quantifiermarker[1]}return s=a?"regex_"+o.regex:o.numericInput?e.split("").reverse().join(""):e,!1!==o.keepStatic&&(s="ks_"+s),void 0===Inputmask.prototype.masksCache[s]||!0===t?(i={mask:e,maskToken:Inputmask.prototype.analyseMask(e,a,o),validPositions:{},_buffer:void 0,buffer:void 0,tests:{},excludes:{},metadata:n,maskLength:void 0,jitOffset:{}},!0!==t&&(Inputmask.prototype.masksCache[s]=i,i=r.default.extend(!0,{},Inputmask.prototype.masksCache[s]))):i=r.default.extend(!0,{},Inputmask.prototype.masksCache[s]),i}if("function"==typeof e.mask&&(e.mask=e.mask(e)),Array.isArray(e.mask)){if(e.mask.length>1){null===e.keepStatic&&(e.keepStatic=!0);var i=e.groupmarker[0];return(e.isRTL?e.mask.reverse():e.mask).forEach((function(t){i.length>1&&(i+=e.groupmarker[1]+e.alternatormarker+e.groupmarker[0]),void 0!==t.mask&&"function"!=typeof t.mask?i+=t.mask:i+=t})),o(i+=e.groupmarker[1],e.mask,e)}e.mask=e.mask.pop()}return null===e.keepStatic&&(e.keepStatic=!1),n=e.mask&&void 0!==e.mask.mask&&"function"!=typeof e.mask.mask?o(e.mask.mask,e.mask,e):o(e.mask,e.mask,e),n},t.analyseMask=function(e,t,n){var r,i,s,a,l,u,c=/(?:[?*+]|\{[0-9+*]+(?:,[0-9+*]*)?(?:\|[0-9+*]*)?\})|[^.?*+^${[]()|\\]+|./g,d=/\[\^?]?(?:[^\\\]]+|\\[\S\s]?)*]?|\\(?:0(?:[0-3][0-7]{0,2}|[4-7][0-7]?)?|[1-9][0-9]*|x[0-9A-Fa-f]{2}|u[0-9A-Fa-f]{4}|c[A-Za-z]|[\S\s]?)|\((?:\?[:=!]?)?|(?:[?*+]|\{[0-9]+(?:,[0-9]*)?\})\??|[^.?*+^${[()|\\]+|./g,p=!1,h=new o.default,f=[],m=[],v=!1;function g(e,r,o){o=void 0!==o?o:e.matches.length;var i=e.matches[o-1];if(t)0===r.indexOf("[")||p&&/\\d|\\s|\\w]/i.test(r)||"."===r?e.matches.splice(o++,0,{fn:new RegExp(r,n.casing?"i":""),static:!1,optionality:!1,newBlockMarker:void 0===i?"master":i.def!==r,casing:null,def:r,placeholder:void 0,nativeDef:r}):(p&&(r=r[r.length-1]),r.split("").forEach((function(t,r){i=e.matches[o-1],e.matches.splice(o++,0,{fn:/[a-z]/i.test(n.staticDefinitionSymbol||t)?new RegExp("["+(n.staticDefinitionSymbol||t)+"]",n.casing?"i":""):null,static:!0,optionality:!1,newBlockMarker:void 0===i?"master":i.def!==t&&!0!==i.static,casing:null,def:n.staticDefinitionSymbol||t,placeholder:void 0!==n.staticDefinitionSymbol?t:void 0,nativeDef:(p?"'":"")+t})}))),p=!1;else{var s=n.definitions&&n.definitions[r]||n.usePrototypeDefinitions&&Inputmask.prototype.definitions[r];s&&!p?e.matches.splice(o++,0,{fn:s.validator?"string"==typeof s.validator?new RegExp(s.validator,n.casing?"i":""):new function(){this.test=s.validator}:new RegExp("."),static:s.static||!1,optionality:!1,newBlockMarker:void 0===i?"master":i.def!==(s.definitionSymbol||r),casing:s.casing,def:s.definitionSymbol||r,placeholder:s.placeholder,nativeDef:r,generated:s.generated}):(e.matches.splice(o++,0,{fn:/[a-z]/i.test(n.staticDefinitionSymbol||r)?new RegExp("["+(n.staticDefinitionSymbol||r)+"]",n.casing?"i":""):null,static:!0,optionality:!1,newBlockMarker:void 0===i?"master":i.def!==r&&!0!==i.static,casing:null,def:n.staticDefinitionSymbol||r,placeholder:void 0!==n.staticDefinitionSymbol?r:void 0,nativeDef:(p?"'":"")+r}),p=!1)}}function y(){if(f.length>0){if(g(a=f[f.length-1],i),a.isAlternator){l=f.pop();for(var e=0;e0?(a=f[f.length-1]).matches.push(l):h.matches.push(l)}}else g(h,i)}function b(e){var t=new o.default(!0);return t.openGroup=!1,t.matches=e,t}function x(){if((s=f.pop()).openGroup=!1,void 0!==s)if(f.length>0){if((a=f[f.length-1]).matches.push(s),a.isAlternator){l=f.pop();for(var e=0;e0?(a=f[f.length-1]).matches.push(l):h.matches.push(l)}}else h.matches.push(s);else y()}function w(e){var t=e.pop();return t.isQuantifier&&(t=b([e.pop(),t])),t}for(t&&(n.optionalmarker[0]=void 0,n.optionalmarker[1]=void 0);r=t?d.exec(e):c.exec(e);){if(i=r[0],t)switch(i.charAt(0)){case"?":i="{0,1}";break;case"+":case"*":i="{"+i+"}";break;case"|":if(0===f.length){var _=b(h.matches);_.openGroup=!0,f.push(_),h.matches=[],v=!0}}if(p)y();else switch(i.charAt(0)){case"$":case"^":t||y();break;case"(?=":case"(?!":case"(?<=":case"(?0?f[f.length-1].matches:h.matches;if((r=k.pop()).isAlternator){k.push(r),k=r.matches;var E=new o.default(!0),R=k.pop();k.push(E),k=E.matches,r=R}r.isGroup||(r=b([r])),k.push(r),k.push(C);break;case n.alternatormarker:if(f.length>0){var j=(a=f[f.length-1]).matches[a.matches.length-1];u=a.openGroup&&(void 0===j.matches||!1===j.isGroup&&!1===j.isAlternator)?f.pop():w(a.matches)}else u=w(h.matches);if(u.isAlternator)f.push(u);else if(u.alternatorGroup?(l=f.pop(),u.alternatorGroup=!1):l=new o.default(!1,!1,!1,!0),l.matches.push(u),f.push(l),u.openGroup){u.openGroup=!1;var I=new o.default(!0);I.alternatorGroup=!0,f.push(I)}break;default:y()}}for(v&&x();f.length>0;)s=f.pop(),h.matches.push(s);return h.matches.length>0&&(function e(r){r&&r.matches&&r.matches.forEach((function(o,i){var s=r.matches[i+1];(void 0===s||void 0===s.matches||!1===s.isQuantifier)&&o&&o.isGroup&&(o.isGroup=!1,t||(g(o,n.groupmarker[0],0),!0!==o.openGroup&&g(o,n.groupmarker[1]))),e(o)}))}(h),m.push(h)),(n.numericInput||n.isRTL)&&function e(t){for(var r in t.matches=t.matches.reverse(),t.matches)if(Object.prototype.hasOwnProperty.call(t.matches,r)){var o=parseInt(r);if(t.matches[r].isQuantifier&&t.matches[o+1]&&t.matches[o+1].isGroup){var i=t.matches[r];t.matches.splice(r,1),t.matches.splice(o+1,0,i)}void 0!==t.matches[r].matches?t.matches[r]=e(t.matches[r]):t.matches[r]=((s=t.matches[r])===n.optionalmarker[0]?s=n.optionalmarker[1]:s===n.optionalmarker[1]?s=n.optionalmarker[0]:s===n.groupmarker[0]?s=n.groupmarker[1]:s===n.groupmarker[1]&&(s=n.groupmarker[0]),s)}var s;return t}(m[0]),m};var r=i(n(4963)),o=i(n(9695));function i(e){return e&&e.__esModule?e:{default:e}}},157:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.mask=function(){var e=this,t=this.opts,n=this.el,r=this.dependencyLib;a.EventRuler.off(n);var d=function(t,n){"textarea"!==t.tagName.toLowerCase()&&n.ignorables.push(o.default.ENTER);var l=t.getAttribute("type"),u="input"===t.tagName.toLowerCase()&&n.supportsInputType.includes(l)||t.isContentEditable||"textarea"===t.tagName.toLowerCase();if(!u)if("input"===t.tagName.toLowerCase()){var c=document.createElement("input");c.setAttribute("type",l),u="text"===c.type,c=null}else u="partial";return!1!==u?function(t){var o,l;function u(){return this.inputmask?this.inputmask.opts.autoUnmask?this.inputmask.unmaskedvalue():-1!==i.getLastValidPosition.call(e)||!0!==n.nullable?(this.inputmask.shadowRoot||this.ownerDocument).activeElement===this&&n.clearMaskOnLostFocus?(e.isRTL?s.clearOptionalTail.call(e,i.getBuffer.call(e).slice()).reverse():s.clearOptionalTail.call(e,i.getBuffer.call(e).slice())).join(""):o.call(this):"":o.call(this)}function c(e){l.call(this,e),this.inputmask&&(0,s.applyInputValue)(this,e)}if(!t.inputmask.__valueGet){if(!0!==n.noValuePatching){if(Object.getOwnPropertyDescriptor){var d=Object.getPrototypeOf?Object.getOwnPropertyDescriptor(Object.getPrototypeOf(t),"value"):void 0;d&&d.get&&d.set?(o=d.get,l=d.set,Object.defineProperty(t,"value",{get:u,set:c,configurable:!0})):"input"!==t.tagName.toLowerCase()&&(o=function(){return this.textContent},l=function(e){this.textContent=e},Object.defineProperty(t,"value",{get:u,set:c,configurable:!0}))}else document.__lookupGetter__&&t.__lookupGetter__("value")&&(o=t.__lookupGetter__("value"),l=t.__lookupSetter__("value"),t.__defineGetter__("value",u),t.__defineSetter__("value",c));t.inputmask.__valueGet=o,t.inputmask.__valueSet=l}t.inputmask._valueGet=function(t){return e.isRTL&&!0!==t?o.call(this.el).split("").reverse().join(""):o.call(this.el)},t.inputmask._valueSet=function(t,n){l.call(this.el,null==t?"":!0!==n&&e.isRTL?t.split("").reverse().join(""):t)},void 0===o&&(o=function(){return this.value},l=function(e){this.value=e},function(t){if(r.valHooks&&(void 0===r.valHooks[t]||!0!==r.valHooks[t].inputmaskpatch)){var o=r.valHooks[t]&&r.valHooks[t].get?r.valHooks[t].get:function(e){return e.value},a=r.valHooks[t]&&r.valHooks[t].set?r.valHooks[t].set:function(e,t){return e.value=t,e};r.valHooks[t]={get:function(t){if(t.inputmask){if(t.inputmask.opts.autoUnmask)return t.inputmask.unmaskedvalue();var r=o(t);return-1!==i.getLastValidPosition.call(e,void 0,void 0,t.inputmask.maskset.validPositions)||!0!==n.nullable?r:""}return o(t)},set:function(e,t){var n=a(e,t);return e.inputmask&&(0,s.applyInputValue)(e,t),n},inputmaskpatch:!0}}}(t.type),function(t){a.EventRuler.on(t,"mouseenter",(function(){var t=this.inputmask._valueGet(!0);t!==(e.isRTL?i.getBuffer.call(e).reverse():i.getBuffer.call(e)).join("")&&(0,s.applyInputValue)(this,t)}))}(t))}}(t):t.inputmask=void 0,u}(n,t);if(!1!==d){e.originalPlaceholder=n.placeholder,e.maxLength=void 0!==n?n.maxLength:void 0,-1===e.maxLength&&(e.maxLength=void 0),"inputMode"in n&&null===n.getAttribute("inputmode")&&(n.inputMode=t.inputmode,n.setAttribute("inputmode",t.inputmode)),!0===d&&(t.showMaskOnFocus=t.showMaskOnFocus&&-1===["cc-number","cc-exp"].indexOf(n.autocomplete),l.iphone&&(t.insertModeVisual=!1),a.EventRuler.on(n,"submit",c.EventHandlers.submitEvent),a.EventRuler.on(n,"reset",c.EventHandlers.resetEvent),a.EventRuler.on(n,"blur",c.EventHandlers.blurEvent),a.EventRuler.on(n,"focus",c.EventHandlers.focusEvent),a.EventRuler.on(n,"invalid",c.EventHandlers.invalidEvent),a.EventRuler.on(n,"click",c.EventHandlers.clickEvent),a.EventRuler.on(n,"mouseleave",c.EventHandlers.mouseleaveEvent),a.EventRuler.on(n,"mouseenter",c.EventHandlers.mouseenterEvent),a.EventRuler.on(n,"paste",c.EventHandlers.pasteEvent),a.EventRuler.on(n,"cut",c.EventHandlers.cutEvent),a.EventRuler.on(n,"complete",t.oncomplete),a.EventRuler.on(n,"incomplete",t.onincomplete),a.EventRuler.on(n,"cleared",t.oncleared),!0!==t.inputEventOnly&&(a.EventRuler.on(n,"keydown",c.EventHandlers.keydownEvent),a.EventRuler.on(n,"keypress",c.EventHandlers.keypressEvent),a.EventRuler.on(n,"keyup",c.EventHandlers.keyupEvent)),(l.mobile||t.inputEventOnly)&&n.removeAttribute("maxLength"),a.EventRuler.on(n,"input",c.EventHandlers.inputFallBackEvent),a.EventRuler.on(n,"compositionend",c.EventHandlers.compositionendEvent)),a.EventRuler.on(n,"setvalue",c.EventHandlers.setValueEvent),i.getBufferTemplate.call(e).join(""),e.undoValue=e._valueGet(!0);var p=(n.inputmask.shadowRoot||n.ownerDocument).activeElement;if(""!==n.inputmask._valueGet(!0)||!1===t.clearMaskOnLostFocus||p===n){(0,s.applyInputValue)(n,n.inputmask._valueGet(!0),t);var h=i.getBuffer.call(e).slice();!1===u.isComplete.call(e,h)&&t.clearIncomplete&&i.resetMaskSet.call(e),t.clearMaskOnLostFocus&&p!==n&&(-1===i.getLastValidPosition.call(e)?h=[]:s.clearOptionalTail.call(e,h)),(!1===t.clearMaskOnLostFocus||t.showMaskOnFocus&&p===n||""!==n.inputmask._valueGet(!0))&&(0,s.writeBuffer)(n,h),p===n&&i.caret.call(e,n,i.seekNext.call(e,i.getLastValidPosition.call(e)))}}};var r,o=(r=n(4528))&&r.__esModule?r:{default:r},i=n(8711),s=n(7760),a=n(9716),l=n(9845),u=n(7215),c=n(6030)},9695:function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n,r){this.matches=[],this.openGroup=e||!1,this.alternatorGroup=!1,this.isGroup=e||!1,this.isOptional=t||!1,this.isQuantifier=n||!1,this.isAlternator=r||!1,this.quantifier={min:1,max:1}}},3194:function(){Array.prototype.includes||Object.defineProperty(Array.prototype,"includes",{value:function(e,t){if(null==this)throw new TypeError('"this" is null or not defined');var n=Object(this),r=n.length>>>0;if(0===r)return!1;for(var o=0|t,i=Math.max(o>=0?o:r-Math.abs(o),0);ie.scrollWidth?l:0,e.inputmask.caretPos={begin:t,end:n},a.insertModeVisual&&!1===a.insertMode&&t===n&&(o||n++),e===(e.inputmask.shadowRoot||e.ownerDocument).activeElement)if("setSelectionRange"in e)e.setSelectionRange(t,n);else if(window.getSelection){if(i=document.createRange(),void 0===e.firstChild||null===e.firstChild){var c=document.createTextNode("");e.appendChild(c)}i.setStart(e.firstChild,td&&((n=p[t]).match.optionality||n.match.optionalQuantifier&&n.match.newBlockMarker||m&&(m!==p[t].locator[h.alternation]&&1!=n.match.static||!0===n.match.static&&n.locator[h.alternation]&&o.checkAlternationMatch.call(i,n.locator[h.alternation].toString().split(","),m.toString().split(","))&&""!==r.getTests.call(i,t)[0].def))&&u[t]===r.getPlaceholder.call(i,t,n.match);t--)c--;return e?{l:c,def:p[c]?p[c].match:void 0}:c},t.determineNewCaretPosition=function(e,t,n){var o=this,u=this.maskset,c=this.opts;if(t&&(o.isRTL?e.end=e.begin:e.begin=e.end),e.begin===e.end){switch(n=n||c.positionCaretOnClick){case"none":break;case"select":e={begin:0,end:i.call(o).length};break;case"ignore":e.end=e.begin=l.call(o,s.call(o));break;case"radixFocus":if(function(e){if(""!==c.radixPoint&&0!==c.digits){var t=u.validPositions;if(void 0===t[e]||t[e].input===r.getPlaceholder.call(o,e)){if(e=y||p===f)&&(f=y)}e.end=e.begin=f}}return e}},t.getBuffer=i,t.getBufferTemplate=function(){var e=this.maskset;return void 0===e._buffer&&(e._buffer=r.getMaskTemplate.call(this,!1,1),void 0===e.buffer&&(e.buffer=e._buffer.slice())),e._buffer},t.getLastValidPosition=s,t.isMask=a,t.resetMaskSet=function(e){var t=this.maskset;t.buffer=void 0,!0!==e&&(t.validPositions={},t.p=0)},t.seekNext=l,t.seekPrevious=function(e,t){var n=this,o=e-1;if(e<=0)return 0;for(;o>0&&(!0===t&&(!0!==r.getTest.call(n,o).match.newBlockMarker||!a.call(n,o,void 0,!0))||!0!==t&&!a.call(n,o,void 0,!0));)o--;return o},t.translatePosition=u;var r=n(4713),o=n(7215);function i(e){var t=this.maskset;return void 0!==t.buffer&&!0!==e||(t.buffer=r.getMaskTemplate.call(this,!0,s.call(this),!0),void 0===t._buffer&&(t._buffer=t.buffer.slice())),t.buffer}function s(e,t,n){var r=this.maskset,o=-1,i=-1,s=n||r.validPositions;for(var a in void 0===e&&(e=-1),s){var l=parseInt(a);s[l]&&(t||!0!==s[l].generatedInput)&&(l<=e&&(o=l),l>=e&&(i=l))}return-1===o||o==e?i:-1==i||e-o-1){if(n){var a=r.getTests.call(o,e);return a.length>1+(""===a[a.length-1].match.def?1:0)}var l=r.determineTestTemplate.call(o,e,r.getTests.call(o,e)),u=r.getPlaceholder.call(o,e,l.match);return l.match.def!==u}return!1}function l(e,t,n){var o=this;void 0===n&&(n=!0);for(var i=e+1;""!==r.getTest.call(o,i).match.def&&(!0===t&&(!0!==r.getTest.call(o,i).match.newBlockMarker||!a.call(o,i,void 0,!0))||!0!==t&&!a.call(o,i,void 0,n));)i++;return i}function u(e){var t=this.opts,n=this.el;return!this.isRTL||"number"!=typeof e||t.greedy&&""===t.placeholder||!n||(e=Math.abs(this._valueGet().length-e)),e}},4713:function(e,t){function n(e,t){var n=(null!=e.alternation?e.mloc[r(e)]:e.locator).join("");if(""!==n)for(;n.length0&&(t=t.split(",")[0]),void 0!==t?t.toString():""}function o(e,t,n){var r=this.opts,o=this.maskset;if(void 0!==(t=t||a.call(this,e).match).placeholder||!0===n)return"function"==typeof t.placeholder?t.placeholder(r):t.placeholder;if(!0===t.static){if(e>-1&&void 0===o.validPositions[e]){var i,s=u.call(this,e),l=[];if(s.length>1+(""===s[s.length-1].match.def?1:0))for(var c=0;c1&&/[0-9a-bA-Z]/.test(l[0].match.def)))return r.placeholder.charAt(e%r.placeholder.length)}return t.def}return r.placeholder.charAt(e%r.placeholder.length)}function i(e,t,n){return this.maskset.validPositions[e]||s.call(this,e,u.call(this,e,t?t.slice():t,n))}function s(e,t){var r=this.opts;e=e>0?e-1:0;for(var o,i,s,l=n(a.call(this,e)),u=0;ut.alternation)for(var o=t.alternation;oe+u._maxTestPos)throw"Inputmask: There is probably an error in your mask definition or in the code. Create an issue on github with an example of the mask you are using. "+a.mask;if(p===e&&void 0===o.matches)return f.push({match:o,locator:i.reverse(),cd:v,mloc:{}}),!0;if(void 0!==o.matches){if(o.isGroup&&d!==o){if(o=s(t.matches[t.matches.indexOf(o)+1],i,d))return!0}else if(o.isOptional){var w=o,_=f.length;if(o=g(o,n,i,d)){if(f.forEach((function(e,t){t>=_&&(e.match.optionality=!0)})),r=f[f.length-1].match,void 0!==d||!h(r,w))return!0;m=!0,p=e}}else if(o.isAlternator){var C,P=o,S=[],O=f.slice(),T=i.length,V=!1,k=n.length>0?n.shift():-1;if(-1===k||"string"==typeof k){var E,R=p,j=n.slice(),I=[];if("string"==typeof k)I=k.split(",");else for(E=0;E=u.keepStatic)&&(I=I.slice(0,1));for(var L=0;LP.matches[0].matches.length)break;C=f.slice(),p=R,f=[];for(var F=0;F0,o=S.length>0,n=j.slice()}else o=s(P.matches[k]||t.matches[k],[k].concat(i),d);if(o)return!0}else if(o.isQuantifier&&d!==t.matches[t.matches.indexOf(o)-1])for(var U=o,$=n.length>0?n.shift():0;$<(isNaN(U.quantifier.max)?$+1:U.quantifier.max)&&p<=e;$++){var W=t.matches[t.matches.indexOf(U)-1];if(o=s(W,[$].concat(i),W)){if((r=f[f.length-1].match).optionalQuantifier=$>=U.quantifier.min,r.jit=($+1)*(W.matches.indexOf(r)+1)>U.quantifier.jit,r.optionalQuantifier&&h(r,W)){m=!0,p=e;break}return r.jit&&(a.jitOffset[e]=W.matches.length-W.matches.indexOf(r)),!0}}else if(o=g(o,n,i,d))return!0}else p++;var J,G}for(var d=n.length>0?n.shift():0;de)break}}if(e>-1){if(void 0===t){for(var y,b=e-1;void 0===(y=a.validPositions[b]||a.tests[b])&&b>-1;)b--;void 0!==y&&b>-1&&(h=function(e,t){var n,r=[];return Array.isArray(t)||(t=[t]),t.length>0&&(void 0===t[0].alternation||!0===u.keepStatic?0===(r=s.call(o,e,t.slice()).locator.slice()).length&&(r=t[0].locator.slice()):t.forEach((function(e){""!==e.def&&(0===r.length?(n=e.alternation,r=e.locator.slice()):e.locator[n]&&-1===r[n].toString().indexOf(e.locator[n])&&(r[n]+=","+e.locator[n]))}))),r}(b,y),v=h.join(""),p=b)}if(a.tests[e]&&a.tests[e][0].cd===v)return a.tests[e];for(var x=h.shift();xe)break}return(0===f.length||m)&&f.push({match:{fn:null,static:!0,optionality:!1,casing:null,def:"",placeholder:""},locator:[],mloc:{},cd:v}),void 0!==t&&a.tests[e]?i.extend(!0,[],f):(a.tests[e]=i.extend(!0,[],f),a.tests[e])}Object.defineProperty(t,"__esModule",{value:!0}),t.determineTestTemplate=s,t.getDecisionTaker=r,t.getMaskTemplate=function(e,t,n,r,a){var l=this,c=this.opts,d=this.maskset,p=c.greedy;a&&(c.greedy=!1),t=t||0;var h,f,m,v,g=[],y=0;do{if(!0===e&&d.validPositions[y])m=a&&!0===d.validPositions[y].match.optionality&&void 0===d.validPositions[y+1]&&(!0===d.validPositions[y].generatedInput||d.validPositions[y].input==c.skipOptionalPartCharacter&&y>0)?s.call(l,y,u.call(l,y,h,y-1)):d.validPositions[y],f=m.match,h=m.locator.slice(),g.push(!0===n?m.input:!1===n?f.nativeDef:o.call(l,y,f));else{m=i.call(l,y,h,y-1),f=m.match,h=m.locator.slice();var b=!0!==r&&(!1!==c.jitMasking?c.jitMasking:f.jit);(v=(v&&f.static&&f.def!==c.groupSeparator&&null===f.fn||d.validPositions[y-1]&&f.static&&f.def!==c.groupSeparator&&null===f.fn)&&d.tests[y]&&1===d.tests[y].length)||!1===b||void 0===b||"number"==typeof b&&isFinite(b)&&b>y?g.push(!1===n?f.nativeDef:o.call(l,y,f)):v=!1}y++}while(!0!==f.static||""!==f.def||t>y);return""===g[g.length-1]&&g.pop(),!1===n&&void 0!==d.maskLength||(d.maskLength=y-1),c.greedy=p,g},t.getPlaceholder=o,t.getTest=a,t.getTests=u,t.getTestTemplate=i,t.isSubsetOf=l},7215:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.alternate=l,t.checkAlternationMatch=function(e,t,n){for(var r,o=this.opts.greedy?t:t.slice(0,1),i=!1,s=void 0!==n?n.split(","):[],a=0;a=s.getBuffer.call(u).length&&f>=n.end&&(n.end=f+1),t===i.default.BACKSPACE?n.end-n.begin<1&&(n.begin=s.seekPrevious.call(u,n.begin)):t===i.default.DELETE&&n.begin===n.end&&(n.end=s.isMask.call(u,n.end,!0,!0)?n.end+1:s.seekNext.call(u,n.end)+1),!1!==(h=m.call(u,n))){if(!0!==r&&!1!==d.keepStatic||null!==d.regex&&-1!==o.getTest.call(u,n.begin).match.def.indexOf("|")){var v=l.call(u,!0);if(v){var g=void 0!==v.caret?v.caret:v.pos?s.seekNext.call(u,v.pos.begin?v.pos.begin:v.pos):s.getLastValidPosition.call(u,-1,!0);(t!==i.default.DELETE||n.begin>g)&&n.begin}}!0!==r&&(c.p=t===i.default.DELETE?n.begin+h:n.begin,c.p=s.determineNewCaretPosition.call(u,{begin:c.p,end:c.p},!1).begin)}};var r,o=n(4713),i=(r=n(4528))&&r.__esModule?r:{default:r},s=n(8711),a=n(6030);function l(e,t,n,r,i,a){var u,c,p,h,f,m,v,g,y,b,x,w=this,_=this.dependencyLib,C=this.opts,P=w.maskset,S=_.extend(!0,{},P.validPositions),O=_.extend(!0,{},P.tests),T=!1,V=!1,k=void 0!==i?i:s.getLastValidPosition.call(w);if(a&&(b=a.begin,x=a.end,a.begin>a.end&&(b=a.end,x=a.begin)),-1===k&&void 0===i)u=0,c=(h=o.getTest.call(w,u)).alternation;else for(;k>=0;k--)if((p=P.validPositions[k])&&void 0!==p.alternation){if(h&&h.locator[p.alternation]!==p.locator[p.alternation])break;u=k,c=P.validPositions[u].alternation,h=p}if(void 0!==c){v=parseInt(u),P.excludes[v]=P.excludes[v]||[],!0!==e&&P.excludes[v].push((0,o.getDecisionTaker)(h)+":"+h.alternation);var E=[],R=-1;for(f=v;f=x)&&E.push(m.input),delete P.validPositions[f];for(-1===R&&void 0!==t&&(E.push(t),R=E.length-1);void 0!==P.excludes[v]&&P.excludes[v].length<10;){for(P.tests={},s.resetMaskSet.call(w,!0),T=!0,f=0;f1||e.begin-e.end==1:e.end-e.begin>1||e.end-e.begin==1}n=!0===n;var w=e;function _(e){if(void 0!==e){if(void 0!==e.remove&&(Array.isArray(e.remove)||(e.remove=[e.remove]),e.remove.sort((function(e,t){return t.pos-e.pos})).forEach((function(e){m.call(v,{begin:e,end:e+1})})),e.remove=void 0),void 0!==e.insert&&(Array.isArray(e.insert)||(e.insert=[e.insert]),e.insert.sort((function(e,t){return e.pos-t.pos})).forEach((function(e){""!==e.c&&d.call(v,e.pos,e.c,void 0===e.strict||e.strict,void 0!==e.fromIsValid?e.fromIsValid:r)})),e.insert=void 0),e.refreshFromBuffer&&e.buffer){var t=e.refreshFromBuffer;h.call(v,!0===t?t:t.start,t.end,e.buffer),e.refreshFromBuffer=void 0}void 0!==e.rewritePosition&&(w=e.rewritePosition,e=!0)}return e}function C(t,n,i){var a=!1;return o.getTests.call(v,t).every((function(l,c){var d=l.match;if(s.getBuffer.call(v,!0),!1!==(a=(!d.jit||void 0!==b.validPositions[s.seekPrevious.call(v,t)])&&(null!=d.fn?d.fn.test(n,b,t,i,y,x(e)):(n===d.def||n===y.skipOptionalPartCharacter)&&""!==d.def&&{c:o.getPlaceholder.call(v,t,d,!0)||d.def,pos:t}))){var p=void 0!==a.c?a.c:n,h=t;return p=p===y.skipOptionalPartCharacter&&!0===d.static?o.getPlaceholder.call(v,t,d,!0)||d.def:p,!0!==(a=_(a))&&void 0!==a.pos&&a.pos!==t&&(h=a.pos),!0!==a&&void 0===a.pos&&void 0===a.c||!1===m.call(v,e,g.extend({},l,{input:u.call(v,p,d,h)}),r,h)&&(a=!1),!1}return!0})),a}void 0!==e.begin&&(w=v.isRTL?e.end:e.begin);var P=!0,S=g.extend(!0,{},b.validPositions);if(!1===y.keepStatic&&void 0!==b.excludes[w]&&!0!==i&&!0!==r)for(var O=w;O<(v.isRTL?e.begin:e.end);O++)void 0!==b.excludes[O]&&(b.excludes[O]=void 0,delete b.tests[O]);if("function"==typeof y.preValidation&&!0!==r&&!0!==a&&(P=_(P=y.preValidation.call(v,s.getBuffer.call(v),w,t,x(e),y,b,e,n||i))),!0===P){if(P=C(w,t,n),(!n||!0===r)&&!1===P&&!0!==a){var T=b.validPositions[w];if(!T||!0!==T.match.static||T.match.def!==t&&t!==y.skipOptionalPartCharacter){if(y.insertMode||void 0===b.validPositions[s.seekNext.call(v,w)]||e.end>w){var V=!1;if(b.jitOffset[w]&&void 0===b.validPositions[s.seekNext.call(v,w)]&&!1!==(P=d.call(v,w+b.jitOffset[w],t,!0,!0))&&(!0!==i&&(P.caret=w),V=!0),e.end>w&&(b.validPositions[w]=void 0),!V&&!s.isMask.call(v,w,y.keepStatic&&0===w))for(var k=w+1,E=s.seekNext.call(v,w,!1,0!==w);k<=E;k++)if(!1!==(P=C(k,t,n))){P=f.call(v,w,void 0!==P.pos?P.pos:k)||P,w=k;break}}}else P={caret:s.seekNext.call(v,w)}}!1!==P||!y.keepStatic||!c.call(v,s.getBuffer.call(v))&&0!==w||n||!0===i?x(e)&&b.tests[w]&&b.tests[w].length>1&&y.keepStatic&&!n&&!0!==i&&(P=l.call(v,!0)):P=l.call(v,w,t,n,r,void 0,e),!0===P&&(P={pos:w})}if("function"==typeof y.postValidation&&!0!==r&&!0!==a){var R=y.postValidation.call(v,s.getBuffer.call(v,!0),void 0!==e.begin?v.isRTL?e.end:e.begin:e,t,P,y,b,n,p);void 0!==R&&(P=!0===R?P:R)}P&&void 0===P.pos&&(P.pos=w),!1===P||!0===a?(s.resetMaskSet.call(v,!0),b.validPositions=g.extend(!0,{},S)):f.call(v,void 0,w,!0);var j=_(P);return void 0!==v.maxLength&&s.getBuffer.call(v).length>v.maxLength&&!r&&(s.resetMaskSet.call(v,!0),b.validPositions=g.extend(!0,{},S),j=!1),j}function p(e,t,n){for(var r=this.maskset,i=!1,s=o.getTests.call(this,e),a=0;a0&&!i.validPositions[e];e--);for(var l=e;le+1?t[e+1]&&!0===t[e+1].match.static&&t[e+1]:t[e+1];return o&&i}return!1}var h=0,f=void 0!==e.begin?e.begin:e,m=void 0!==e.end?e.end:e,v=!0;if(e.begin>e.end&&(f=e.end,m=e.begin),r=void 0!==r?r:f,f!==m||l.insertMode&&void 0!==a.validPositions[r]&&void 0===n||void 0===t){var g,y=u.extend(!0,{},a.validPositions),b=s.getLastValidPosition.call(i,void 0,!0);for(a.p=f,g=b;g>=f;g--)delete a.validPositions[g],void 0===t&&delete a.tests[g+1];var x,w,_=r,C=_;for(t&&(a.validPositions[r]=u.extend(!0,{},t),C++,_++),g=t?m:m-1;g<=b;g++){if(void 0!==(x=y[g])&&!0!==x.generatedInput&&(g>=m||g>=f&&c(g,y,{begin:f,end:m}))){for(;""!==o.getTest.call(i,C).match.def;){if(!1!==(w=p.call(i,C,x,l))||"+"===x.match.def){"+"===x.match.def&&s.getBuffer.call(i,!0);var P=d.call(i,C,x.input,"+"!==x.match.def,!0);if(v=!1!==P,_=(P.pos||C)+1,!v&&w)break}else v=!1;if(v){void 0===t&&x.match.static&&g===e.begin&&h++;break}if(!v&&C>a.maskLength)break;C++}""==o.getTest.call(i,C).match.def&&(v=!1),C=_}if(!v)break}if(!v)return a.validPositions=u.extend(!0,{},y),s.resetMaskSet.call(i,!0),!1}else t&&o.getTest.call(i,r).match.cd===t.match.cd&&(a.validPositions[r]=u.extend(!0,{},t));return s.resetMaskSet.call(i,!0),h}}},t={};function n(r){var o=t[r];if(void 0!==o)return o.exports;var i=t[r]={exports:{}};return e[r](i,i.exports,n),i.exports}var r={};return function(){var e,t=r;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,n(3851),n(219),n(207),n(5296);var o=((e=n(2394))&&e.__esModule?e:{default:e}).default;t.default=o}(),r}()}))},"2d83":function(e,t,n){"use strict";var r=n("387f");e.exports=function(e,t,n,o,i){var s=new Error(e);return r(s,t,n,o,i)}},"2e67":function(e,t,n){"use strict";e.exports=function(e){return!(!e||!e.__CANCEL__)}},"30b5":function(e,t,n){"use strict";var r=n("c532");function o(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}e.exports=function(e,t,n){if(!t)return e;var i;if(n)i=n(t);else if(r.isURLSearchParams(t))i=t.toString();else{var s=[];r.forEach(t,(function(e,t){null!==e&&"undefined"!==typeof e&&(r.isArray(e)?t+="[]":e=[e],r.forEach(e,(function(e){r.isDate(e)?e=e.toISOString():r.isObject(e)&&(e=JSON.stringify(e)),s.push(o(t)+"="+o(e))})))})),i=s.join("&")}if(i){var a=e.indexOf("#");-1!==a&&(e=e.slice(0,a)),e+=(-1===e.indexOf("?")?"?":"&")+i}return e}},"37c3":function(e,t,n){"use strict";n("ddf1")},"387f":function(e,t,n){"use strict";e.exports=function(e,t,n,r,o){return e.config=t,n&&(e.code=n),e.request=r,e.response=o,e.isAxiosError=!0,e.toJSON=function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:this.config,code:this.code}},e}},3934:function(e,t,n){"use strict";var r=n("c532");e.exports=r.isStandardBrowserEnv()?function(){var e,t=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a");function o(e){var r=e;return t&&(n.setAttribute("href",r),r=n.href),n.setAttribute("href",r),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:"/"===n.pathname.charAt(0)?n.pathname:"/"+n.pathname}}return e=o(window.location.href),function(t){var n=r.isString(t)?o(t):t;return n.protocol===e.protocol&&n.host===e.host}}():function(){return function(){return!0}}()},"3a2b":function(e,t,n){"use strict";var r,o,i,s="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},a="object"===("undefined"===typeof window?"undefined":s(window)); /*! ======================================================= VERSION 10.6.2 ========================================================= */(function(s){o=[n("1157")],r=s,i="function"===typeof r?r.apply(t,o):r,void 0===i||(e.exports=i)})((function(e){var t,n="slider",r="bootstrapSlider";return a&&!window.console&&(window.console={}),a&&!window.console.log&&(window.console.log=function(){}),a&&!window.console.warn&&(window.console.warn=function(){}),function(e){var t=Array.prototype.slice;function n(){}function r(e){if(e){var r="undefined"===typeof console?n:function(e){console.error(e)};return e.bridget=function(e,t){o(t),i(e,t)},e.bridget}function o(t){t.prototype.option||(t.prototype.option=function(t){e.isPlainObject(t)&&(this.options=e.extend(!0,this.options,t))})}function i(n,o){e.fn[n]=function(i){if("string"===typeof i){for(var s=t.call(arguments,1),a=0,l=this.length;at.max?t.max:e},toValue:function(e){var t=e/100*(this.options.max-this.options.min),n=!0;if(this.options.ticks_positions.length>0){for(var r,o,i,a=0,l=1;l0){for(var t,n,r,o=0,i=0;i0?this.options.ticks[i-1]:0,r=i>0?this.options.ticks_positions[i-1]:0,n=this.options.ticks[i],o=this.options.ticks_positions[i];break}if(i>0){var s=(e-t)/(n-t);return r+s*(o-r)}}return 100*(e-this.options.min)/(this.options.max-this.options.min)}},logarithmic:{toValue:function(e){var t=1-this.options.min,n=Math.log(this.options.min+t),r=Math.log(this.options.max+t),o=Math.exp(n+(r-n)*e/100)-t;return Math.round(o)===r?r:(o=this.options.min+Math.round((o-this.options.min)/this.options.step)*this.options.step,s.linear.getValue(o,this.options))},toPercentage:function(e){if(this.options.max===this.options.min)return 0;var t=1-this.options.min,n=Math.log(this.options.max+t),r=Math.log(this.options.min+t),o=Math.log(e+t);return 100*(o-r)/(n-r)}}};function l(t,n){this._state={value:null,enabled:null,offset:null,size:null,percentage:null,inDrag:!1,over:!1,tickIndex:null},this.ticksCallbackMap={},this.handleCallbackMap={},"string"===typeof t?this.element=document.querySelector(t):t instanceof HTMLElement&&(this.element=t),n=n||{};for(var r=Object.keys(this.defaultOptions),o=n.hasOwnProperty("min"),i=n.hasOwnProperty("max"),a=0;a0,this.ticksAreValid||(this.options.lock_to_ticks=!1),"auto"===this.options.rtl){var c=window.getComputedStyle(this.element);this.options.rtl=null!=c?"rtl"===c.direction:"rtl"===this.element.style.direction}function d(e,t){var n="data-slider-"+t.replace(/_/g,"-"),r=e.getAttribute(n);try{return JSON.parse(r)}catch(o){return r}}"vertical"!==this.options.orientation||"top"!==this.options.tooltip_position&&"bottom"!==this.options.tooltip_position?"horizontal"!==this.options.orientation||"left"!==this.options.tooltip_position&&"right"!==this.options.tooltip_position||(this.options.tooltip_position="top"):this.options.rtl?this.options.tooltip_position="left":this.options.tooltip_position="right";var p,h,f,m,v,g=this.element.style.width,y=!1,b=this.element.parentNode;if(this.sliderElem)y=!0;else{this.sliderElem=document.createElement("div"),this.sliderElem.className="slider";var x=document.createElement("div");x.className="slider-track",h=document.createElement("div"),h.className="slider-track-low",p=document.createElement("div"),p.className="slider-selection",f=document.createElement("div"),f.className="slider-track-high",m=document.createElement("div"),m.className="slider-handle min-slider-handle",m.setAttribute("role","slider"),m.setAttribute("aria-valuemin",this.options.min),m.setAttribute("aria-valuemax",this.options.max),v=document.createElement("div"),v.className="slider-handle max-slider-handle",v.setAttribute("role","slider"),v.setAttribute("aria-valuemin",this.options.min),v.setAttribute("aria-valuemax",this.options.max),x.appendChild(h),x.appendChild(p),x.appendChild(f),this.rangeHighlightElements=[];var w=this.options.rangeHighlights;if(Array.isArray(w)&&w.length>0)for(var _=0;_0){for(this.ticksContainer=document.createElement("div"),this.ticksContainer.className="slider-tick-container",a=0;a0)for(this.tickLabelContainer=document.createElement("div"),this.tickLabelContainer.className="slider-tick-label-container",a=0;a0&&(i||(this.options.max=Math.max.apply(Math,this.options.ticks)),o||(this.options.min=Math.min.apply(Math,this.options.ticks))),Array.isArray(this.options.value)?(this.options.range=!0,this._state.value=this.options.value):this.options.range?this._state.value=[this.options.value,this.options.max]:this._state.value=this.options.value,this.trackLow=h||this.trackLow,this.trackSelection=p||this.trackSelection,this.trackHigh=f||this.trackHigh,"none"===this.options.selection?(this._addClass(this.trackLow,"hide"),this._addClass(this.trackSelection,"hide"),this._addClass(this.trackHigh,"hide")):"after"!==this.options.selection&&"before"!==this.options.selection||(this._removeClass(this.trackLow,"hide"),this._removeClass(this.trackSelection,"hide"),this._removeClass(this.trackHigh,"hide")),this.handle1=m||this.handle1,this.handle2=v||this.handle2,!0===y)for(this._removeClass(this.handle1,"round triangle"),this._removeClass(this.handle2,"round triangle hide"),a=0;athis.options.min?this._state.percentage=[this._toPercentage(this._state.value[0]),this._toPercentage(this._state.value[1]),100*this.options.step/(this.options.max-this.options.min)]:this._state.percentage=[0,0,100],this._layout();var i=this.options.range?this._state.value:this._state.value[0];this._setDataVal(i),!0===t&&this._trigger("slide",i);var s=!1;return s=Array.isArray(i)?r[0]!==i[0]||r[1]!==i[1]:r!==i,s&&!0===n&&this._trigger("change",{oldValue:r,newValue:i}),this},destroy:function(){this._removeSliderEventHandlers(),this.sliderElem.parentNode.removeChild(this.sliderElem),this.element.style.display="",this._cleanUpEventCallbacksMap(),this.element.removeAttribute("data"),e&&(this._unbindJQueryEventHandlers(),o===n&&this.$element.removeData(o),this.$element.removeData(r))},disable:function(){return this._state.enabled=!1,this.handle1.removeAttribute("tabindex"),this.handle2.removeAttribute("tabindex"),this._addClass(this.sliderElem,"slider-disabled"),this._trigger("slideDisabled"),this},enable:function(){return this._state.enabled=!0,this.handle1.setAttribute("tabindex",0),this.handle2.setAttribute("tabindex",0),this._removeClass(this.sliderElem,"slider-disabled"),this._trigger("slideEnabled"),this},toggle:function(){return this._state.enabled?this.disable():this.enable(),this},isEnabled:function(){return this._state.enabled},on:function(e,t){return this._bindNonQueryEventHandler(e,t),this},off:function(t,n){e?(this.$element.off(t,n),this.$sliderElem.off(t,n)):this._unbindNonQueryEventHandler(t,n)},getAttribute:function(e){return e?this.options[e]:this.options},setAttribute:function(e,t){return this.options[e]=t,this},refresh:function(t){var i=this.getValue();return this._removeSliderEventHandlers(),l.call(this,this.element,this.options),t&&!0===t.useCurrentValue&&this.setValue(i),e&&(o===n?(e.data(this.element,n,this),e.data(this.element,r,this)):e.data(this.element,r,this)),this},relayout:function(){return this._resize(),this},_removeTooltipListener:function(e,t){this.handle1.removeEventListener(e,t,!1),this.handle2.removeEventListener(e,t,!1)},_removeSliderEventHandlers:function(){if(this.handle1.removeEventListener("keydown",this.handle1Keydown,!1),this.handle2.removeEventListener("keydown",this.handle2Keydown,!1),this.options.ticks_tooltip){for(var e=this.ticksContainer.getElementsByClassName("slider-tick"),t=0;t0&&e.options.ticks_positions[n]||e._toPercentage(e.options.ticks[n])):i=e._toPercentage(o),r.value[0]=o,r.percentage[0]=i,e._setToolTipOnMouseOver(r),e._showTooltip()};return t.addEventListener("mouseenter",r,!1),r},addMouseLeave:function(e,t){var n=function(){e._hideTooltip()};return t.addEventListener("mouseleave",n,!1),n}}},_layout:function(){var e,t,n;if(e=this.options.reversed?[100-this._state.percentage[0],this.options.range?100-this._state.percentage[1]:this._state.percentage[1]]:[this._state.percentage[0],this._state.percentage[1]],this.handle1.style[this.stylePos]=e[0]+"%",this.handle1.setAttribute("aria-valuenow",this._state.value[0]),t=this.options.formatter(this._state.value[0]),isNaN(t)?this.handle1.setAttribute("aria-valuetext",t):this.handle1.removeAttribute("aria-valuetext"),this.handle2.style[this.stylePos]=e[1]+"%",this.handle2.setAttribute("aria-valuenow",this._state.value[1]),t=this.options.formatter(this._state.value[1]),isNaN(t)?this.handle2.setAttribute("aria-valuetext",t):this.handle2.removeAttribute("aria-valuetext"),this.rangeHighlightElements.length>0&&Array.isArray(this.options.rangeHighlights)&&this.options.rangeHighlights.length>0)for(var r=0;r0){var l,u="vertical"===this.options.orientation?"height":"width";l="vertical"===this.options.orientation?"marginTop":this.options.rtl?"marginRight":"marginLeft";var c=this._state.size/(this.options.ticks.length-1);if(this.tickLabelContainer){var d=0;if(0===this.options.ticks_positions.length)"vertical"!==this.options.orientation&&(this.tickLabelContainer.style[l]=-c/2+"px"),d=this.tickLabelContainer.offsetHeight;else for(p=0;pd&&(d=this.tickLabelContainer.childNodes[p].offsetHeight);"horizontal"===this.options.orientation&&(this.sliderElem.style.marginBottom=d+"px")}for(var p=0;p=e[0]&&h<=e[1]&&this._addClass(this.ticks[p],"in-selection"):("after"===this.options.selection&&h>=e[0]||"before"===this.options.selection&&h<=e[0])&&this._addClass(this.ticks[p],"in-selection"),this.tickLabels[p]&&(this.tickLabels[p].style[u]=c+"px","vertical"!==this.options.orientation&&void 0!==this.options.ticks_positions[p]?(this.tickLabels[p].style.position="absolute",this.tickLabels[p].style[this.stylePos]=h+"%",this.tickLabels[p].style[l]=-c/2+"px"):"vertical"===this.options.orientation&&(this.options.rtl?this.tickLabels[p].style["marginRight"]=this.sliderElem.offsetWidth+"px":this.tickLabels[p].style["marginLeft"]=this.sliderElem.offsetWidth+"px",this.tickLabelContainer.style[l]=this.sliderElem.offsetWidth/2*-1+"px"),this._removeClass(this.tickLabels[p],"label-in-selection label-is-selection"),this.options.range?h>=e[0]&&h<=e[1]&&(this._addClass(this.tickLabels[p],"label-in-selection"),(h===e[0]||e[1])&&this._addClass(this.tickLabels[p],"label-is-selection")):(("after"===this.options.selection&&h>=e[0]||"before"===this.options.selection&&h<=e[0])&&this._addClass(this.tickLabels[p],"label-in-selection"),h===e[0]&&this._addClass(this.tickLabels[p],"label-is-selection")))}}if(this.options.range){n=this.options.formatter(this._state.value),this._setText(this.tooltipInner,n),this.tooltip.style[this.stylePos]=(e[1]+e[0])/2+"%";var f=this.options.formatter(this._state.value[0]);this._setText(this.tooltipInner_min,f);var m=this.options.formatter(this._state.value[1]);this._setText(this.tooltipInner_max,m),this.tooltip_min.style[this.stylePos]=e[0]+"%",this.tooltip_max.style[this.stylePos]=e[1]+"%"}else n=this.options.formatter(this._state.value[0]),this._setText(this.tooltipInner,n),this.tooltip.style[this.stylePos]=e[0]+"%";if("vertical"===this.options.orientation)this.trackLow.style.top="0",this.trackLow.style.height=Math.min(e[0],e[1])+"%",this.trackSelection.style.top=Math.min(e[0],e[1])+"%",this.trackSelection.style.height=Math.abs(e[0]-e[1])+"%",this.trackHigh.style.bottom="0",this.trackHigh.style.height=100-Math.min(e[0],e[1])-Math.abs(e[0]-e[1])+"%";else{"right"===this.stylePos?this.trackLow.style.right="0":this.trackLow.style.left="0",this.trackLow.style.width=Math.min(e[0],e[1])+"%","right"===this.stylePos?this.trackSelection.style.right=Math.min(e[0],e[1])+"%":this.trackSelection.style.left=Math.min(e[0],e[1])+"%",this.trackSelection.style.width=Math.abs(e[0]-e[1])+"%","right"===this.stylePos?this.trackHigh.style.left="0":this.trackHigh.style.right="0",this.trackHigh.style.width=100-Math.min(e[0],e[1])-Math.abs(e[0]-e[1])+"%";var v=this.tooltip_min.getBoundingClientRect(),g=this.tooltip_max.getBoundingClientRect();"bottom"===this.options.tooltip_position?v.right>g.left?(this._removeClass(this.tooltip_max,"bottom"),this._addClass(this.tooltip_max,"top"),this.tooltip_max.style.top="",this.tooltip_max.style.bottom="22px"):(this._removeClass(this.tooltip_max,"top"),this._addClass(this.tooltip_max,"bottom"),this.tooltip_max.style.top=this.tooltip_min.style.top,this.tooltip_max.style.bottom=""):v.right>g.left?(this._removeClass(this.tooltip_max,"top"),this._addClass(this.tooltip_max,"bottom"),this.tooltip_max.style.top="18px"):(this._removeClass(this.tooltip_max,"bottom"),this._addClass(this.tooltip_max,"top"),this.tooltip_max.style.top=this.tooltip_min.style.top)}},_createHighlightRange:function(e,t){return this._isHighlightRange(e,t)?e>t?{start:t,size:e-t}:{start:e,size:t-e}:null},_isHighlightRange:function(e,t){return 0<=e&&e<=100&&0<=t&&t<=100},_resize:function(e){this._state.offset=this._offset(this.sliderElem),this._state.size=this.sliderElem[this.sizePos],this._layout()},_removeProperty:function(e,t){e.style.removeProperty?e.style.removeProperty(t):e.style.removeAttribute(t)},_mousedown:function(e){if(!this._state.enabled)return!1;e.preventDefault&&e.preventDefault(),this._state.offset=this._offset(this.sliderElem),this._state.size=this.sliderElem[this.sizePos];var t=this._getPercentage(e);if(this.options.range){var n=Math.abs(this._state.percentage[0]-t),r=Math.abs(this._state.percentage[1]-t);this._state.dragged=nn?(this._state.percentage[1]=this._state.percentage[0],this._state.dragged=0):0===this._state.keyCtrl&&this._toPercentage(this._state.value[1])e&&(this._state.percentage[1]=this._state.percentage[0],this._state.keyCtrl=0,this.handle1.focus())}},_mouseup:function(e){if(!this._state.enabled)return!1;var t=this._getPercentage(e);this._adjustPercentageForRangeSliders(t),this._state.percentage[this._state.dragged]=t,this.touchCapable&&(document.removeEventListener("touchmove",this.mousemove,!1),document.removeEventListener("touchend",this.mouseup,!1)),document.removeEventListener("mousemove",this.mousemove,!1),document.removeEventListener("mouseup",this.mouseup,!1),this._state.inDrag=!1,!1===this._state.over&&this._hideTooltip();var n=this._calculateValue(!0);return this.setValue(n,!1,!0),this._trigger("slideStop",n),this._state.dragged=null,!1},_setValues:function(e,t){var n=0===e?0:100;this._state.percentage[e]!==n&&(t.data[e]=this._toValue(this._state.percentage[e]),t.data[e]=this._applyPrecision(t.data[e]))},_calculateValue:function(e){var t={};return this.options.range?(t.data=[this.options.min,this.options.max],this._setValues(0,t),this._setValues(1,t),e&&(t.data[0]=this._snapToClosestTick(t.data[0]),t.data[1]=this._snapToClosestTick(t.data[1]))):(t.data=this._toValue(this._state.percentage[0]),t.data=parseFloat(t.data),t.data=this._applyPrecision(t.data),e&&(t.data=this._snapToClosestTick(t.data))),t.data},_snapToClosestTick:function(e){for(var t=[e,1/0],n=0;n",afterRender:function(e,t){var n=t.getElementsByTagName("input")[0];n.inputType=e.inputType,n.placeholder=e.placeHolder;var r=t.getElementsByTagName("button")[0];r.innerText=e.buttonText,r.onclick=function(){e.value="You have clicked me"},n.onchange=function(){e.value=n.value};var o=function(){n.value=e.value?e.value:""},i=function(){e.isReadOnly?(n.setAttribute("disabled","disabled"),r.setAttribute("disabled","disabled")):(n.removeAttribute("disabled"),r.removeAttribute("disabled"))};e.readOnlyChangedCallback=i,e.valueChangedCallback=o,o(),i()},willUnmount:function(e,t){}};e.CustomWidgetCollection.Instance.addCustomWidget(t,"customtype")}var c=i["Survey"];c.cssType="bootstrap",l["select2"](i),l["inputmask"](i),l["jquerybarrating"](i),l["jqueryuidatepicker"](i),l["nouislider"](i),l["select2tagbox"](i),l["sortablejs"](i),l["ckeditor"](i),l["autocomplete"](i),l["bootstrapslider"](i),u(i),i["Serializer"].addProperty("question","tag:number");var d={components:{Survey:c},data:function(){var e={title:"Swarmlab Feedback Survey",showProgressBar:"top",pages:[{questions:[{name:"date",type:"datepicker",inputType:"date",title:"Your favorite date:",dateFormat:"mm/dd/yy",isRequired:!0},{type:"matrix",name:"Quality",title:"Please indicate if you agree or disagree with the following statements",columns:[{value:1,text:"Strongly Disagree"},{value:2,text:"Disagree"},{value:3,text:"Neutral"},{value:4,text:"Agree"},{value:5,text:"Strongly Agree"}],rows:[{value:"affordable",text:"Product is easy to use"},{value:"does what it claims",text:"Product does what it claims"},{value:"better then others",text:"Product is better than other products on the market"},{value:"easy to use",text:"Product is making my work easier"}]},{type:"rating",name:"satisfaction",title:"How satisfied are you with the Product?",mininumRateDescription:"Not Satisfied",maximumRateDescription:"Completely satisfied"},{type:"rating",name:"recommend friends",visibleIf:"{satisfaction} > 3",title:"How likely are you to recommend the Product to a friend or co-worker?",mininumRateDescription:"Will not recommend",maximumRateDescription:"I will recommend"},{type:"comment",name:"suggestions",title:"What would make you more satisfied with the Product?"}]},{questions:[{type:"radiogroup",name:"features to competitors",title:"Compared to our competitors, do you feel the Product has",choices:["Less features","features about the same","More features","Not sure"]},{type:"comment",name:"feature",title:"What other features would you like to see in project?"}]},{questions:[{type:"radiogroup",name:"swarmlab use",title:"How often do you use our product?",choices:["Once a week or more often","2 to 3 times a month","Once a month","Every 2-3 months","2-3 times a year","Once a year or less often"]},{type:"comment",name:"use",title:"What would persuade you to use us more often?"}]},{questions:[{type:"radiogroup",name:"swarmlab venus",title:"Have you heard about VENUS(https://git.swarmlab.io:3000/swarmlab/venus-client) our virtual network creator/manager?",choices:["Yes I have.","No, unless you mean the planet."]},{type:"comment",name:"signup",title:"What nearly stopped you from signing up today?"}]},{questions:[{type:"radiogroup",name:"license",title:"Do you feel confortable with our current license?",choices:["Yes, the license is ok","No, the license is not good for the project."]},{type:"radiogroup",name:"swarmlab contribute",title:"Would you consider contributing to our project?",choices:["Definitely","Maybe","Not really"]}]},{questions:[{type:"comment",name:"mention anything specific",title:"Would you like to mention anything specific about your experience with our product that was not asked in the survey?"},{type:"text",name:"email",title:'Thank you for taking our survey. Please enter your email address(optional) then press the "Submit" button.'}]}]},t=new i["Model"](e);return t.onComplete.add((function(e){console.log(JSON.stringify(e.data));var t="token",n={survey:e.data},r={headers:{"content-type":"application/x-www-form-urlencoded",Authorization:"Bearer ".concat(t)}},o="https://api.swarmlab.io/surveyswarmlab1hybridrwiRHp7PzATTOgkDp",i=a.a.post(o,n,r);console.log(JSON.stringify(i))})),{survey:t}}},p=d,h=(n("37c3"),n("2877")),f=Object(h["a"])(p,r,o,!1,null,null,null);t["default"]=f.exports},"5f02":function(e,t,n){"use strict";e.exports=function(e){return"object"===typeof e&&!0===e.isAxiosError}},"7a77":function(e,t,n){"use strict";function r(e){this.message=e}r.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")},r.prototype.__CANCEL__=!0,e.exports=r},"7aac":function(e,t,n){"use strict";var r=n("c532");e.exports=r.isStandardBrowserEnv()?function(){return{write:function(e,t,n,o,i,s){var a=[];a.push(e+"="+encodeURIComponent(t)),r.isNumber(n)&&a.push("expires="+new Date(n).toGMTString()),r.isString(o)&&a.push("path="+o),r.isString(i)&&a.push("domain="+i),!0===s&&a.push("secure"),document.cookie=a.join("; ")},read:function(e){var t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove:function(e){this.write(e,"",Date.now()-864e5)}}}():function(){return{write:function(){},read:function(){return null},remove:function(){}}}()},"83b9":function(e,t,n){"use strict";var r=n("d925"),o=n("e683");e.exports=function(e,t){return e&&!r(t)?o(e,t):t}},"8df4":function(e,t,n){"use strict";var r=n("7a77");function o(e){if("function"!==typeof e)throw new TypeError("executor must be a function.");var t;this.promise=new Promise((function(e){t=e}));var n=this;e((function(e){n.reason||(n.reason=new r(e),t(n.reason))}))}o.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},o.source=function(){var e,t=new o((function(t){e=t}));return{token:t,cancel:e}},e.exports=o},aa47:function(e,t,n){"use strict"; /**! * Sortable 1.13.0 * @author RubaXa * @author owenm * @license MIT */ function r(e){return r="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}function o(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function i(){return i=Object.assign||function(e){for(var t=1;t=0||(o[n]=e[n]);return o}function l(e,t){if(null==e)return{};var n,r,o=a(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function u(e){return c(e)||d(e)||p()}function c(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t"===t[0]&&(t=t.substring(1)),e)try{if(e.matches)return e.matches(t);if(e.msMatchesSelector)return e.msMatchesSelector(t);if(e.webkitMatchesSelector)return e.webkitMatchesSelector(t)}catch(n){return!1}return!1}}function S(e){return e.host&&e!==document&&e.host.nodeType?e.host:e.parentNode}function O(e,t,n,r){if(e){n=n||document;do{if(null!=t&&(">"===t[0]?e.parentNode===n&&P(e,t):P(e,t))||r&&e===n)return e;if(e===n)break}while(e=S(e))}return null}var T,V=/\s+/g;function k(e,t,n){if(e&&t)if(e.classList)e.classList[n?"add":"remove"](t);else{var r=(" "+e.className+" ").replace(V," ").replace(" "+t+" "," ");e.className=(r+(n?" "+t:"")).replace(V," ")}}function E(e,t,n){var r=e&&e.style;if(r){if(void 0===n)return document.defaultView&&document.defaultView.getComputedStyle?n=document.defaultView.getComputedStyle(e,""):e.currentStyle&&(n=e.currentStyle),void 0===t?n:n[t];t in r||-1!==t.indexOf("webkit")||(t="-webkit-"+t),r[t]=n+("string"===typeof n?"":"px")}}function R(e,t){var n="";if("string"===typeof e)n=e;else do{var r=E(e,"transform");r&&"none"!==r&&(n=r+" "+n)}while(!t&&(e=e.parentNode));var o=window.DOMMatrix||window.WebKitCSSMatrix||window.CSSMatrix||window.MSCSSMatrix;return o&&new o(n)}function j(e,t,n){if(e){var r=e.getElementsByTagName(t),o=0,i=r.length;if(n)for(;o=i:o<=i,!s)return r;if(r===I())break;r=z(r,!1)}return!1}function A(e,t,n){var r=0,o=0,i=e.children;while(o2&&void 0!==arguments[2]?arguments[2]:{},r=n.evt,o=l(n,["evt"]);ne.pluginEvent.bind(Ye)(e,t,s({dragEl:se,parentEl:ae,ghostEl:le,rootEl:ue,nextEl:ce,lastDownEl:de,cloneEl:pe,cloneHidden:he,dragStarted:Oe,putSortable:be,activeSortable:Ye.active,originalEvent:r,oldIndex:fe,oldDraggableIndex:ve,newIndex:me,newDraggableIndex:ge,hideGhostForTarget:Je,unhideGhostForTarget:Ge,cloneNowHidden:function(){he=!0},cloneNowShown:function(){he=!1},dispatchSortableEvent:function(e){ie({sortable:t,name:e,originalEvent:r})}},o))};function ie(e){re(s({putSortable:be,cloneEl:pe,targetEl:se,rootEl:ue,oldIndex:fe,oldDraggableIndex:ve,newIndex:me,newDraggableIndex:ge},e))}var se,ae,le,ue,ce,de,pe,he,fe,me,ve,ge,ye,be,xe,we,_e,Ce,Pe,Se,Oe,Te,Ve,ke,Ee,Re=!1,je=!1,Ie=[],De=!1,qe=!1,Ae=[],Me=!1,Le=[],Ne="undefined"!==typeof document,Fe=b,ze=v||m?"cssFloat":"float",Be=Ne&&!x&&!b&&"draggable"in document.createElement("div"),Qe=function(){if(Ne){if(m)return!1;var e=document.createElement("x");return e.style.cssText="pointer-events:auto","auto"===e.style.pointerEvents}}(),He=function(e,t){var n=E(e),r=parseInt(n.width)-parseInt(n.paddingLeft)-parseInt(n.paddingRight)-parseInt(n.borderLeftWidth)-parseInt(n.borderRightWidth),o=A(e,0,t),i=A(e,1,t),s=o&&E(o),a=i&&E(i),l=s&&parseInt(s.marginLeft)+parseInt(s.marginRight)+D(o).width,u=a&&parseInt(a.marginLeft)+parseInt(a.marginRight)+D(i).width;if("flex"===n.display)return"column"===n.flexDirection||"column-reverse"===n.flexDirection?"vertical":"horizontal";if("grid"===n.display)return n.gridTemplateColumns.split(" ").length<=1?"vertical":"horizontal";if(o&&s["float"]&&"none"!==s["float"]){var c="left"===s["float"]?"left":"right";return!i||"both"!==a.clear&&a.clear!==c?"horizontal":"vertical"}return o&&("block"===s.display||"flex"===s.display||"table"===s.display||"grid"===s.display||l>=r&&"none"===n[ze]||i&&"none"===n[ze]&&l+u>r)?"vertical":"horizontal"},Ue=function(e,t,n){var r=n?e.left:e.top,o=n?e.right:e.bottom,i=n?e.width:e.height,s=n?t.left:t.top,a=n?t.right:t.bottom,l=n?t.width:t.height;return r===s||o===a||r+i/2===s+l/2},$e=function(e,t){var n;return Ie.some((function(r){if(!M(r)){var o=D(r),i=r[K].options.emptyInsertThreshold,s=e>=o.left-i&&e<=o.right+i,a=t>=o.top-i&&t<=o.bottom+i;return i&&s&&a?n=r:void 0}})),n},We=function(e){function t(e,n){return function(r,o,i,s){var a=r.options.group.name&&o.options.group.name&&r.options.group.name===o.options.group.name;if(null==e&&(n||a))return!0;if(null==e||!1===e)return!1;if(n&&"clone"===e)return e;if("function"===typeof e)return t(e(r,o,i,s),n)(r,o,i,s);var l=(n?r:o).options.group.name;return!0===e||"string"===typeof e&&e===l||e.join&&e.indexOf(l)>-1}}var n={},o=e.group;o&&"object"==r(o)||(o={name:o}),n.name=o.name,n.checkPull=t(o.pull,!0),n.checkPut=t(o.put),n.revertClone=o.revertClone,e.group=n},Je=function(){!Qe&&le&&E(le,"display","none")},Ge=function(){!Qe&&le&&E(le,"display","")};Ne&&document.addEventListener("click",(function(e){if(je)return e.preventDefault(),e.stopPropagation&&e.stopPropagation(),e.stopImmediatePropagation&&e.stopImmediatePropagation(),je=!1,!1}),!0);var Ke=function(e){if(se){e=e.touches?e.touches[0]:e;var t=$e(e.clientX,e.clientY);if(t){var n={};for(var r in e)e.hasOwnProperty(r)&&(n[r]=e[r]);n.target=n.rootEl=t,n.preventDefault=void 0,n.stopPropagation=void 0,t[K]._onDragOver(n)}}},Xe=function(e){se&&se.parentNode[K]._isOutsideThisEl(e.target)};function Ye(e,t){if(!e||!e.nodeType||1!==e.nodeType)throw"Sortable: `el` must be an HTMLElement, not ".concat({}.toString.call(e));this.el=e,this.options=t=i({},t),e[K]=this;var n={group:null,sort:!0,disabled:!1,store:null,handle:null,draggable:/^[uo]l$/i.test(e.nodeName)?">li":">*",swapThreshold:1,invertSwap:!1,invertedSwapThreshold:null,removeCloneOnHide:!0,direction:function(){return He(e,this.options)},ghostClass:"sortable-ghost",chosenClass:"sortable-chosen",dragClass:"sortable-drag",ignore:"a, img",filter:null,preventOnFilter:!0,animation:0,easing:null,setData:function(e,t){e.setData("Text",t.textContent)},dropBubble:!1,dragoverBubble:!1,dataIdAttr:"data-id",delay:0,delayOnTouchOnly:!1,touchStartThreshold:(Number.parseInt?Number:window).parseInt(window.devicePixelRatio,10)||1,forceFallback:!1,fallbackClass:"sortable-fallback",fallbackOnBody:!1,fallbackTolerance:0,fallbackOffset:{x:0,y:0},supportPointer:!1!==Ye.supportPointer&&"PointerEvent"in window&&!y,emptyInsertThreshold:5};for(var r in ne.initializePlugins(this,e,n),n)!(r in t)&&(t[r]=n[r]);for(var o in We(t),this)"_"===o.charAt(0)&&"function"===typeof this[o]&&(this[o]=this[o].bind(this));this.nativeDraggable=!t.forceFallback&&Be,this.nativeDraggable&&(this.options.touchStartThreshold=1),t.supportPointer?_(e,"pointerdown",this._onTapStart):(_(e,"mousedown",this._onTapStart),_(e,"touchstart",this._onTapStart)),this.nativeDraggable&&(_(e,"dragover",this),_(e,"dragenter",this)),Ie.push(this.el),t.store&&t.store.get&&this.sort(t.store.get(this)||[]),i(this,X())}function Ze(e){e.dataTransfer&&(e.dataTransfer.dropEffect="move"),e.cancelable&&e.preventDefault()}function et(e,t,n,r,o,i,s,a){var l,u,c=e[K],d=c.options.onMove;return!window.CustomEvent||m||v?(l=document.createEvent("Event"),l.initEvent("move",!0,!0)):l=new CustomEvent("move",{bubbles:!0,cancelable:!0}),l.to=t,l.from=e,l.dragged=n,l.draggedRect=r,l.related=o||t,l.relatedRect=i||D(t),l.willInsertAfter=a,l.originalEvent=s,e.dispatchEvent(l),d&&(u=d.call(c,l,s)),u}function tt(e){e.draggable=!1}function nt(){Me=!1}function rt(e,t,n){var r=D(M(n.el,n.options.draggable)),o=10;return t?e.clientX>r.right+o||e.clientX<=r.right&&e.clientY>r.bottom&&e.clientX>=r.left:e.clientX>r.right&&e.clientY>r.top||e.clientX<=r.right&&e.clientY>r.bottom+o}function ot(e,t,n,r,o,i,s,a){var l=r?e.clientY:e.clientX,u=r?n.height:n.width,c=r?n.top:n.left,d=r?n.bottom:n.right,p=!1;if(!s)if(a&&kec+u*i/2:ld-ke)return-Ve}else if(l>c+u*(1-o)/2&&ld-u*i/2)?l>c+u/2?1:-1:0}function it(e){return L(se)=Math.floor(this.options.touchStartThreshold/(this.nativeDraggable&&window.devicePixelRatio||1))&&this._disableDelayedDrag()},_disableDelayedDrag:function(){se&&tt(se),clearTimeout(this._dragStartTimer),this._disableDelayedDragEvents()},_disableDelayedDragEvents:function(){var e=this.el.ownerDocument;C(e,"mouseup",this._disableDelayedDrag),C(e,"touchend",this._disableDelayedDrag),C(e,"touchcancel",this._disableDelayedDrag),C(e,"mousemove",this._delayedDragTouchMoveHandler),C(e,"touchmove",this._delayedDragTouchMoveHandler),C(e,"pointermove",this._delayedDragTouchMoveHandler)},_triggerDragStart:function(e,t){t=t||"touch"==e.pointerType&&e,!this.nativeDraggable||t?this.options.supportPointer?_(document,"pointermove",this._onTouchMove):_(document,t?"touchmove":"mousemove",this._onTouchMove):(_(se,"dragend",this),_(ue,"dragstart",this._onDragStart));try{document.selection?lt((function(){document.selection.empty()})):window.getSelection().removeAllRanges()}catch(n){}},_dragStarted:function(e,t){if(Re=!1,ue&&se){oe("dragStarted",this,{evt:t}),this.nativeDraggable&&_(document,"dragover",Xe);var n=this.options;!e&&k(se,n.dragClass,!1),k(se,n.ghostClass,!0),Ye.active=this,e&&this._appendGhost(),ie({sortable:this,name:"start",originalEvent:t})}else this._nulling()},_emulateDragOver:function(){if(we){this._lastX=we.clientX,this._lastY=we.clientY,Je();var e=document.elementFromPoint(we.clientX,we.clientY),t=e;while(e&&e.shadowRoot){if(e=e.shadowRoot.elementFromPoint(we.clientX,we.clientY),e===t)break;t=e}if(se.parentNode[K]._isOutsideThisEl(e),t)do{if(t[K]){var n=void 0;if(n=t[K]._onDragOver({clientX:we.clientX,clientY:we.clientY,target:e,rootEl:t}),n&&!this.options.dragoverBubble)break}e=t}while(t=t.parentNode);Ge()}},_onTouchMove:function(e){if(xe){var t=this.options,n=t.fallbackTolerance,r=t.fallbackOffset,o=e.touches?e.touches[0]:e,i=le&&R(le,!0),s=le&&i&&i.a,a=le&&i&&i.d,l=Fe&&Ee&&N(Ee),u=(o.clientX-xe.clientX+r.x)/(s||1)+(l?l[0]-Ae[0]:0)/(s||1),c=(o.clientY-xe.clientY+r.y)/(a||1)+(l?l[1]-Ae[1]:0)/(a||1);if(!Ye.active&&!Re){if(n&&Math.max(Math.abs(o.clientX-this._lastX),Math.abs(o.clientY-this._lastY))=0&&(ie({rootEl:ae,name:"add",toEl:ae,fromEl:ue,originalEvent:e}),ie({sortable:this,name:"remove",toEl:ae,originalEvent:e}),ie({rootEl:ae,name:"sort",toEl:ae,fromEl:ue,originalEvent:e}),ie({sortable:this,name:"sort",toEl:ae,originalEvent:e})),be&&be.save()):me!==fe&&me>=0&&(ie({sortable:this,name:"update",toEl:ae,originalEvent:e}),ie({sortable:this,name:"sort",toEl:ae,originalEvent:e})),Ye.active&&(null!=me&&-1!==me||(me=fe,ge=ve),ie({sortable:this,name:"end",toEl:ae,originalEvent:e}),this.save())))),this._nulling()},_nulling:function(){oe("nulling",this),ue=se=ae=le=ce=pe=de=he=xe=we=Oe=me=ge=fe=ve=Te=Ve=be=ye=Ye.dragged=Ye.ghost=Ye.clone=Ye.active=null,Le.forEach((function(e){e.checked=!0})),Le.length=_e=Ce=0},handleEvent:function(e){switch(e.type){case"drop":case"dragend":this._onDrop(e);break;case"dragenter":case"dragover":se&&(this._onDragOver(e),Ze(e));break;case"selectstart":e.preventDefault();break}},toArray:function(){for(var e,t=[],n=this.el.children,r=0,o=n.length,i=this.options;r1&&(It.forEach((function(e){r.addAnimationState({target:e,rect:At?D(e):o}),G(e),e.fromRect=o,t.removeAnimationState(e)})),At=!1,Nt(!this.options.removeCloneOnHide,n))},dragOverCompleted:function(e){var t=e.sortable,n=e.isOwner,r=e.insertion,o=e.activeSortable,i=e.parentEl,s=e.putSortable,a=this.options;if(r){if(n&&o._hideClone(),qt=!1,a.animation&&It.length>1&&(At||!n&&!o.options.sort&&!s)){var l=D(Et,!1,!0,!0);It.forEach((function(e){e!==Et&&(J(e,l),i.appendChild(e))})),At=!0}if(!n)if(At||zt(),It.length>1){var u=jt;o._showClone(t),o.options.animation&&!jt&&u&&Dt.forEach((function(e){o.addAnimationState({target:e,rect:Rt}),e.fromRect=Rt,e.thisAnimationDuration=null}))}else o._showClone(t)}},dragOverAnimationCapture:function(e){var t=e.dragRect,n=e.isOwner,r=e.activeSortable;if(It.forEach((function(e){e.thisAnimationDuration=null})),r.options.animation&&!n&&r.multiDrag.isMultiDrag){Rt=i({},t);var o=R(Et,!0);Rt.top-=o.f,Rt.left-=o.e}},dragOverAnimationComplete:function(){At&&(At=!1,zt())},drop:function(e){var t=e.originalEvent,n=e.rootEl,r=e.parentEl,o=e.sortable,i=e.dispatchSortableEvent,s=e.oldIndex,a=e.putSortable,l=a||this.sortable;if(t){var u=this.options,c=r.children;if(!Mt)if(u.multiDragKey&&!this.multiDragKeyDown&&this._deselectMultiDrag(),k(Et,u.selectedClass,!~It.indexOf(Et)),~It.indexOf(Et))It.splice(It.indexOf(Et),1),Vt=null,re({sortable:o,rootEl:n,name:"deselect",targetEl:Et,originalEvt:t});else{if(It.push(Et),re({sortable:o,rootEl:n,name:"select",targetEl:Et,originalEvt:t}),t.shiftKey&&Vt&&o.el.contains(Vt)){var d,p,h=L(Vt),f=L(Et);if(~h&&~f&&h!==f)for(f>h?(p=h,d=f):(p=f,d=h+1);p1){var m=D(Et),v=L(Et,":not(."+this.options.selectedClass+")");if(!qt&&u.animation&&(Et.thisAnimationDuration=null),l.captureAnimationState(),!qt&&(u.animation&&(Et.fromRect=m,It.forEach((function(e){if(e.thisAnimationDuration=null,e!==Et){var t=At?D(e):m;e.fromRect=t,l.addAnimationState({target:e,rect:t})}}))),zt(),It.forEach((function(e){c[v]?r.insertBefore(e,c[v]):r.appendChild(e),v++})),s===L(Et))){var g=!1;It.forEach((function(e){e.sortableIndex===L(e)||(g=!0)})),g&&i("update")}It.forEach((function(e){G(e)})),l.animateAll()}kt=l}(n===r||a&&"clone"!==a.lastPutMode)&&Dt.forEach((function(e){e.parentNode&&e.parentNode.removeChild(e)}))}},nullingGlobal:function(){this.isMultiDrag=Mt=!1,Dt.length=0},destroyGlobal:function(){this._deselectMultiDrag(),C(document,"pointerup",this._deselectMultiDrag),C(document,"mouseup",this._deselectMultiDrag),C(document,"touchend",this._deselectMultiDrag),C(document,"keydown",this._checkKeyDown),C(document,"keyup",this._checkKeyUp)},_deselectMultiDrag:function(e){if(("undefined"===typeof Mt||!Mt)&&kt===this.sortable&&(!e||!O(e.target,this.options.draggable,this.sortable.el,!1))&&(!e||0===e.button))while(It.length){var t=It[0];k(t,this.options.selectedClass,!1),It.shift(),re({sortable:this.sortable,rootEl:this.sortable.el,name:"deselect",targetEl:t,originalEvt:e})}},_checkKeyDown:function(e){e.key===this.options.multiDragKey&&(this.multiDragKeyDown=!0)},_checkKeyUp:function(e){e.key===this.options.multiDragKey&&(this.multiDragKeyDown=!1)}},i(e,{pluginName:"multiDrag",utils:{select:function(e){var t=e.parentNode[K];t&&t.options.multiDrag&&!~It.indexOf(e)&&(kt&&kt!==t&&(kt.multiDrag._deselectMultiDrag(),kt=t),k(e,t.options.selectedClass,!0),It.push(e))},deselect:function(e){var t=e.parentNode[K],n=It.indexOf(e);t&&t.options.multiDrag&&~n&&(k(e,t.options.selectedClass,!1),It.splice(n,1))}},eventProperties:function(){var e=this,t=[],n=[];return It.forEach((function(r){var o;t.push({multiDragElement:r,index:r.sortableIndex}),o=At&&r!==Et?-1:At?L(r,":not(."+e.options.selectedClass+")"):L(r),n.push({multiDragElement:r,index:o})})),{items:u(It),clones:[].concat(Dt),oldIndicies:t,newIndicies:n}},optionListeners:{multiDragKey:function(e){return e=e.toLowerCase(),"ctrl"===e?e="Control":e.length>1&&(e=e.charAt(0).toUpperCase()+e.substr(1)),e}}})}function Nt(e,t){It.forEach((function(n,r){var o=t.children[n.sortableIndex+(e?Number(r):0)];o?t.insertBefore(n,o):t.appendChild(n)}))}function Ft(e,t){Dt.forEach((function(n,r){var o=t.children[n.sortableIndex+(e?Number(r):0)];o?t.insertBefore(n,o):t.appendChild(n)}))}function zt(){It.forEach((function(e){e!==Et&&e.parentNode&&e.parentNode.removeChild(e)}))}Ye.mount(new yt),Ye.mount(St,Pt),t["default"]=Ye},b50d:function(e,t,n){"use strict";var r=n("c532"),o=n("467f"),i=n("7aac"),s=n("30b5"),a=n("83b9"),l=n("c345"),u=n("3934"),c=n("2d83");e.exports=function(e){return new Promise((function(t,n){var d=e.data,p=e.headers;r.isFormData(d)&&delete p["Content-Type"];var h=new XMLHttpRequest;if(e.auth){var f=e.auth.username||"",m=e.auth.password?unescape(encodeURIComponent(e.auth.password)):"";p.Authorization="Basic "+btoa(f+":"+m)}var v=a(e.baseURL,e.url);if(h.open(e.method.toUpperCase(),s(v,e.params,e.paramsSerializer),!0),h.timeout=e.timeout,h.onreadystatechange=function(){if(h&&4===h.readyState&&(0!==h.status||h.responseURL&&0===h.responseURL.indexOf("file:"))){var r="getAllResponseHeaders"in h?l(h.getAllResponseHeaders()):null,i=e.responseType&&"text"!==e.responseType?h.response:h.responseText,s={data:i,status:h.status,statusText:h.statusText,headers:r,config:e,request:h};o(t,n,s),h=null}},h.onabort=function(){h&&(n(c("Request aborted",e,"ECONNABORTED",h)),h=null)},h.onerror=function(){n(c("Network Error",e,null,h)),h=null},h.ontimeout=function(){var t="timeout of "+e.timeout+"ms exceeded";e.timeoutErrorMessage&&(t=e.timeoutErrorMessage),n(c(t,e,"ECONNABORTED",h)),h=null},r.isStandardBrowserEnv()){var g=(e.withCredentials||u(v))&&e.xsrfCookieName?i.read(e.xsrfCookieName):void 0;g&&(p[e.xsrfHeaderName]=g)}if("setRequestHeader"in h&&r.forEach(p,(function(e,t){"undefined"===typeof d&&"content-type"===t.toLowerCase()?delete p[t]:h.setRequestHeader(t,e)})),r.isUndefined(e.withCredentials)||(h.withCredentials=!!e.withCredentials),e.responseType)try{h.responseType=e.responseType}catch(y){if("json"!==e.responseType)throw y}"function"===typeof e.onDownloadProgress&&h.addEventListener("progress",e.onDownloadProgress),"function"===typeof e.onUploadProgress&&h.upload&&h.upload.addEventListener("progress",e.onUploadProgress),e.cancelToken&&e.cancelToken.promise.then((function(e){h&&(h.abort(),n(e),h=null)})),d||(d=null),h.send(d)}))}},bc3a:function(e,t,n){e.exports=n("cee4")},c345:function(e,t,n){"use strict";var r=n("c532"),o=["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"];e.exports=function(e){var t,n,i,s={};return e?(r.forEach(e.split("\n"),(function(e){if(i=e.indexOf(":"),t=r.trim(e.substr(0,i)).toLowerCase(),n=r.trim(e.substr(i+1)),t){if(s[t]&&o.indexOf(t)>=0)return;s[t]="set-cookie"===t?(s[t]?s[t]:[]).concat([n]):s[t]?s[t]+", "+n:n}})),s):s}},c401:function(e,t,n){"use strict";var r=n("c532");e.exports=function(e,t,n){return r.forEach(n,(function(n){e=n(e,t)})),e}},c532:function(e,t,n){"use strict";var r=n("1d2b"),o=Object.prototype.toString;function i(e){return"[object Array]"===o.call(e)}function s(e){return"undefined"===typeof e}function a(e){return null!==e&&!s(e)&&null!==e.constructor&&!s(e.constructor)&&"function"===typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)}function l(e){return"[object ArrayBuffer]"===o.call(e)}function u(e){return"undefined"!==typeof FormData&&e instanceof FormData}function c(e){var t;return t="undefined"!==typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&e.buffer instanceof ArrayBuffer,t}function d(e){return"string"===typeof e}function p(e){return"number"===typeof e}function h(e){return null!==e&&"object"===typeof e}function f(e){if("[object Object]"!==o.call(e))return!1;var t=Object.getPrototypeOf(e);return null===t||t===Object.prototype}function m(e){return"[object Date]"===o.call(e)}function v(e){return"[object File]"===o.call(e)}function g(e){return"[object Blob]"===o.call(e)}function y(e){return"[object Function]"===o.call(e)}function b(e){return h(e)&&y(e.pipe)}function x(e){return"undefined"!==typeof URLSearchParams&&e instanceof URLSearchParams}function w(e){return e.replace(/^\s*/,"").replace(/\s*$/,"")}function _(){return("undefined"===typeof navigator||"ReactNative"!==navigator.product&&"NativeScript"!==navigator.product&&"NS"!==navigator.product)&&("undefined"!==typeof window&&"undefined"!==typeof document)}function C(e,t){if(null!==e&&"undefined"!==typeof e)if("object"!==typeof e&&(e=[e]),i(e))for(var n=0,r=e.length;n=0;r--){var o=e[r];"."===o?e.splice(r,1):".."===o?(e.splice(r,1),n++):n&&(e.splice(r,1),n--)}if(t)for(;n--;n)e.unshift("..");return e}function r(e){"string"!==typeof e&&(e+="");var t,n=0,r=-1,o=!0;for(t=e.length-1;t>=0;--t)if(47===e.charCodeAt(t)){if(!o){n=t+1;break}}else-1===r&&(o=!1,r=t+1);return-1===r?"":e.slice(n,r)}function o(e,t){if(e.filter)return e.filter(t);for(var n=[],r=0;r=-1&&!r;i--){var s=i>=0?arguments[i]:e.cwd();if("string"!==typeof s)throw new TypeError("Arguments to path.resolve must be strings");s&&(t=s+"/"+t,r="/"===s.charAt(0))}return t=n(o(t.split("/"),(function(e){return!!e})),!r).join("/"),(r?"/":"")+t||"."},t.normalize=function(e){var r=t.isAbsolute(e),s="/"===i(e,-1);return e=n(o(e.split("/"),(function(e){return!!e})),!r).join("/"),e||r||(e="."),e&&s&&(e+="/"),(r?"/":"")+e},t.isAbsolute=function(e){return"/"===e.charAt(0)},t.join=function(){var e=Array.prototype.slice.call(arguments,0);return t.normalize(o(e,(function(e,t){if("string"!==typeof e)throw new TypeError("Arguments to path.join must be strings");return e})).join("/"))},t.relative=function(e,n){function r(e){for(var t=0;t=0;n--)if(""!==e[n])break;return t>n?[]:e.slice(t,n-t+1)}e=t.resolve(e).substr(1),n=t.resolve(n).substr(1);for(var o=r(e.split("/")),i=r(n.split("/")),s=Math.min(o.length,i.length),a=s,l=0;l=1;--i)if(t=e.charCodeAt(i),47===t){if(!o){r=i;break}}else o=!1;return-1===r?n?"/":".":n&&1===r?"/":e.slice(0,r)},t.basename=function(e,t){var n=r(e);return t&&n.substr(-1*t.length)===t&&(n=n.substr(0,n.length-t.length)),n},t.extname=function(e){"string"!==typeof e&&(e+="");for(var t=-1,n=0,r=-1,o=!0,i=0,s=e.length-1;s>=0;--s){var a=e.charCodeAt(s);if(47!==a)-1===r&&(o=!1,r=s+1),46===a?-1===t?t=s:1!==i&&(i=1):-1!==t&&(i=-1);else if(!o){n=s+1;break}}return-1===t||-1===r||0===i||1===i&&t===r-1&&t===n+1?"":e.slice(t,r)};var i="b"==="ab".substr(-1)?function(e,t,n){return e.substr(t,n)}:function(e,t,n){return t<0&&(t=e.length+t),e.substr(t,n)}}).call(this,n("4362"))},e683:function(e,t,n){"use strict";e.exports=function(e,t){return t?e.replace(/\/+$/,"")+"/"+t.replace(/^\/+/,""):e}},e9fa:function(e,t,n){var r,o,i;/*! nouislider - 10.1.0 - 2017-07-28 17:11:18 */(function(n){o=[],r=n,i="function"===typeof r?r.apply(t,o):r,void 0===i||(e.exports=i)})((function(){"use strict";var e="10.1.0";function t(e){return"object"===typeof e&&"function"===typeof e.to&&"function"===typeof e.from}function n(e){e.parentElement.removeChild(e)}function r(e){e.preventDefault()}function o(e){return e.filter((function(e){return!this[e]&&(this[e]=!0)}),{})}function i(e,t){return Math.round(e/t)*t}function s(e,t){var n=e.getBoundingClientRect(),r=e.ownerDocument,o=r.documentElement,i=m(r);return/webkit.*Chrome.*Mobile/i.test(navigator.userAgent)&&(i.x=0),t?n.top+i.y-o.clientTop:n.left+i.x-o.clientLeft}function a(e){return"number"===typeof e&&!isNaN(e)&&isFinite(e)}function l(e,t,n){n>0&&(p(e,t),setTimeout((function(){h(e,t)}),n))}function u(e){return Math.max(Math.min(e,100),0)}function c(e){return Array.isArray(e)?e:[e]}function d(e){e=String(e);var t=e.split(".");return t.length>1?t[1].length:0}function p(e,t){e.classList?e.classList.add(t):e.className+=" "+t}function h(e,t){e.classList?e.classList.remove(t):e.className=e.className.replace(new RegExp("(^|\\b)"+t.split(" ").join("|")+"(\\b|$)","gi")," ")}function f(e,t){return e.classList?e.classList.contains(t):new RegExp("\\b"+t+"\\b").test(e.className)}function m(e){var t=void 0!==window.pageXOffset,n="CSS1Compat"===(e.compatMode||""),r=t?window.pageXOffset:n?e.documentElement.scrollLeft:e.body.scrollLeft,o=t?window.pageYOffset:n?e.documentElement.scrollTop:e.body.scrollTop;return{x:r,y:o}}function v(){return window.navigator.pointerEnabled?{start:"pointerdown",move:"pointermove",end:"pointerup"}:window.navigator.msPointerEnabled?{start:"MSPointerDown",move:"MSPointerMove",end:"MSPointerUp"}:{start:"mousedown touchstart",move:"mousemove touchmove",end:"mouseup touchend"}}function g(){var e=!1;try{var t=Object.defineProperty({},"passive",{get:function(){e=!0}});window.addEventListener("test",null,t)}catch(n){}return e}function y(){return window.CSS&&CSS.supports&&CSS.supports("touch-action","none")}function b(e,t){return 100/(t-e)}function x(e,t){return 100*t/(e[1]-e[0])}function w(e,t){return x(e,e[0]<0?t+Math.abs(e[0]):t-e[0])}function _(e,t){return t*(e[1]-e[0])/100+e[0]}function C(e,t){var n=1;while(e>=t[n])n+=1;return n}function P(e,t,n){if(n>=e.slice(-1)[0])return 100;var r,o,i,s,a=C(n,e);return r=e[a-1],o=e[a],i=t[a-1],s=t[a],i+w([r,o],n)/b(i,s)}function S(e,t,n){if(n>=100)return e.slice(-1)[0];var r,o,i,s,a=C(n,t);return r=e[a-1],o=e[a],i=t[a-1],s=t[a],_([r,o],(n-i)*b(i,s))}function O(e,t,n,r){if(100===r)return r;var o,s,a=C(r,e);return n?(o=e[a-1],s=e[a],r-o>(s-o)/2?s:o):t[a-1]?e[a-1]+i(r-e[a-1],t[a-1]):r}function T(t,n,r){var o;if("number"===typeof n&&(n=[n]),"[object Array]"!==Object.prototype.toString.call(n))throw new Error("noUiSlider ("+e+"): 'range' contains invalid value.");if(o="min"===t?0:"max"===t?100:parseFloat(t),!a(o)||!a(n[0]))throw new Error("noUiSlider ("+e+"): 'range' value isn't numeric.");r.xPct.push(o),r.xVal.push(n[0]),o?r.xSteps.push(!isNaN(n[1])&&n[1]):isNaN(n[1])||(r.xSteps[0]=n[1]),r.xHighestCompleteStep.push(0)}function V(e,t,n){if(!t)return!0;n.xSteps[e]=x([n.xVal[e],n.xVal[e+1]],t)/b(n.xPct[e],n.xPct[e+1]);var r=(n.xVal[e+1]-n.xVal[e])/n.xNumSteps[e],o=Math.ceil(Number(r.toFixed(3))-1),i=n.xVal[e]+n.xNumSteps[e]*o;n.xHighestCompleteStep[e]=i}function k(e,t,n){this.xPct=[],this.xVal=[],this.xSteps=[n||!1],this.xNumSteps=[!1],this.xHighestCompleteStep=[],this.snap=t;var r,o=[];for(r in e)e.hasOwnProperty(r)&&o.push([e[r],r]);for(o.length&&"object"===typeof o[0][0]?o.sort((function(e,t){return e[0][0]-t[0][0]})):o.sort((function(e,t){return e[0]-t[0]})),r=0;r=50)throw new Error("noUiSlider ("+e+"): 'padding' option must be less than half the range.")}}function Q(t,n){switch(n){case"ltr":t.dir=0;break;case"rtl":t.dir=1;break;default:throw new Error("noUiSlider ("+e+"): 'direction' option was not recognized.")}}function H(t,n){if("string"!==typeof n)throw new Error("noUiSlider ("+e+"): 'behaviour' must be a string containing options.");var r=n.indexOf("tap")>=0,o=n.indexOf("drag")>=0,i=n.indexOf("fixed")>=0,s=n.indexOf("snap")>=0,a=n.indexOf("hover")>=0;if(i){if(2!==t.handles)throw new Error("noUiSlider ("+e+"): 'fixed' behaviour must be used with 2 handles");F(t,t.start[1]-t.start[0])}t.events={tap:r||s,drag:o,fixed:i,snap:s,hover:a}}function U(t,n){if(t.multitouch=n,"boolean"!==typeof n)throw new Error("noUiSlider ("+e+"): 'multitouch' option must be a boolean.")}function $(t,n){if(!1!==n)if(!0===n){t.tooltips=[];for(var r=0;r-1?1:"steps"===t?2:0,!s&&l&&(v=0),d===w&&u||(i[h.toFixed(5)]=[d,v]),c=h}})),i}function $(e,t,n){var r=I.createElement("div"),o=[i.cssClasses.valueNormal,i.cssClasses.valueLarge,i.cssClasses.valueSub],s=[i.cssClasses.markerNormal,i.cssClasses.markerLarge,i.cssClasses.markerSub],a=[i.cssClasses.valueHorizontal,i.cssClasses.valueVertical],l=[i.cssClasses.markerHorizontal,i.cssClasses.markerVertical];function u(e,t){var n=t===i.cssClasses.value,r=n?a:l,u=n?o:s;return t+" "+r[i.ort]+" "+u[e]}function c(e,o){o[1]=o[1]&&t?t(o[0],o[1]):o[1];var s=A(r,!1);s.className=u(o[1],i.cssClasses.marker),s.style[i.style]=e+"%",o[1]&&(s=A(r,!1),s.className=u(o[1],i.cssClasses.value),s.style[i.style]=e+"%",s.innerText=n.to(o[0]))}return p(r,i.cssClasses.pips),p(r,0===i.ort?i.cssClasses.pipsHorizontal:i.cssClasses.pipsVertical),Object.keys(e).forEach((function(t){c(t,e[t])})),r}function W(){_&&(n(_),_=null)}function J(e){W();var t=e.mode,n=e.density||1,r=e.filter||!1,o=e.values||!1,i=e.stepped||!1,s=H(t,o,i),a=U(n,t,s),l=e.format||{to:Math.round};return _=O.appendChild($(a,r,l)),_}function G(){var e=d.getBoundingClientRect(),t="offset"+["Width","Height"][i.ort];return 0===i.ort?e.width||d[t]:e.height||d[t]}function K(e,t,n,r){var o=function(o){return!O.hasAttribute("disabled")&&(!f(O,i.cssClasses.tap)&&(o=X(o,r.pageOffset,r.target||t),!!o&&(!(e===C.start&&void 0!==o.buttons&&o.buttons>1)&&((!r.hover||!o.buttons)&&(S||o.preventDefault(),o.calcPoint=o.points[i.ort],void n(o,r))))))},s=[];return e.split(" ").forEach((function(e){t.addEventListener(e,o,!!S&&{passive:!0}),s.push([e,o])})),s}function X(e,t,n){var r,o,s=0===e.type.indexOf("touch"),a=0===e.type.indexOf("mouse"),l=0===e.type.indexOf("pointer");if(0===e.type.indexOf("MSPointer")&&(l=!0),s&&i.multitouch){var u=function(e){return e.target===n||n.contains(e.target)};if("touchstart"===e.type){var c=Array.prototype.filter.call(e.touches,u);if(c.length>1)return!1;r=c[0].pageX,o=c[0].pageY}else{var d=Array.prototype.find.call(e.changedTouches,u);if(!d)return!1;r=d.pageX,o=d.pageY}}else if(s){if(e.touches.length>1)return!1;r=e.changedTouches[0].pageX,o=e.changedTouches[0].pageY}return t=t||m(I),(a||l)&&(r=e.clientX+t.x,o=e.clientY+t.y),e.pageOffset=t,e.points=[r,o],e.cursor=a||l,e}function Z(e){var t=e-s(d,i.ort),n=100*t/G();return i.dir?100-n:n}function ee(e){var t=100,n=!1;return b.forEach((function(r,o){if(!r.hasAttribute("disabled")){var i=Math.abs(T[o]-e);i1?r.forEach((function(e,n){var r=ce(o,e,o[e]+t,i[n],s[n],!1);!1===r?t=0:(t=r-o[e],o[e]=r)})):i=s=[!0];var a=!1;r.forEach((function(e,r){a=fe(e,n[e]+t,i[r],s[r])||a})),a&&r.forEach((function(e){ne("update",e),ne("slide",e)}))}function ne(e,t,n){Object.keys(j).forEach((function(r){var o=r.split(".")[0];e===o&&j[r].forEach((function(e){e.call(w,R.map(i.format.to),t,R.slice(),n||!1,T.slice())}))}))}function re(e,t){"mouseout"===e.type&&"HTML"===e.target.nodeName&&null===e.relatedTarget&&ie(e,t)}function oe(e,t){if(-1===navigator.appVersion.indexOf("MSIE 9")&&0===e.buttons&&0!==t.buttonsProperty)return ie(e,t);var n=(i.dir?-1:1)*(e.calcPoint-t.startCalcPoint),r=100*n/t.baseSize;te(n>0,r,t.locations,t.handleNumbers)}function ie(e,t){t.handle&&(h(t.handle,i.cssClasses.active),k-=1),t.listeners.forEach((function(e){D.removeEventListener(e[0],e[1])})),0===k&&(h(O,i.cssClasses.drag),he(),e.cursor&&(q.style.cursor="",q.removeEventListener("selectstart",r))),t.handleNumbers.forEach((function(e){ne("change",e),ne("set",e),ne("end",e)}))}function se(e,t){var n;if(1===t.handleNumbers.length){var o=b[t.handleNumbers[0]];if(o.hasAttribute("disabled"))return!1;n=o.children[0],k+=1,p(n,i.cssClasses.active)}e.stopPropagation();var s=[],a=K(C.move,D,oe,{target:e.target,handle:n,listeners:s,startCalcPoint:e.calcPoint,baseSize:G(),pageOffset:e.pageOffset,handleNumbers:t.handleNumbers,buttonsProperty:e.buttons,locations:T.slice()}),l=K(C.end,D,ie,{target:e.target,handle:n,listeners:s,handleNumbers:t.handleNumbers}),u=K("mouseout",D,re,{target:e.target,handle:n,listeners:s,handleNumbers:t.handleNumbers});s.push.apply(s,a.concat(l,u)),e.cursor&&(q.style.cursor=getComputedStyle(e.target).cursor,b.length>1&&p(O,i.cssClasses.drag),q.addEventListener("selectstart",r,!1)),t.handleNumbers.forEach((function(e){ne("start",e)}))}function ae(e){e.stopPropagation();var t=Z(e.calcPoint),n=ee(t);if(!1===n)return!1;i.events.snap||l(O,i.cssClasses.tap,i.animationDuration),fe(n,t,!0,!0),he(),ne("slide",n,!0),ne("update",n,!0),ne("change",n,!0),ne("set",n,!0),i.events.snap&&se(e,{handleNumbers:[n]})}function le(e){var t=Z(e.calcPoint),n=E.getStep(t),r=E.fromStepping(n);Object.keys(j).forEach((function(e){"hover"===e.split(".")[0]&&j[e].forEach((function(e){e.call(w,r)}))}))}function ue(e){e.fixed||b.forEach((function(e,t){K(C.start,e.children[0],se,{handleNumbers:[t]})})),e.tap&&K(C.start,d,ae,{}),e.hover&&K(C.move,d,le,{hover:!0}),e.drag&&x.forEach((function(t,n){if(!1!==t&&0!==n&&n!==x.length-1){var r=b[n-1],o=b[n],s=[t];p(t,i.cssClasses.draggable),e.fixed&&(s.push(r.children[0]),s.push(o.children[0])),s.forEach((function(e){K(C.start,e,se,{handles:[r,o],handleNumbers:[n-1,n]})}))}}))}function ce(e,t,n,r,o,s){return b.length>1&&(r&&t>0&&(n=Math.max(n,e[t-1]+i.margin)),o&&t1&&i.limit&&(r&&t>0&&(n=Math.min(n,e[t-1]+i.limit)),o&&t50?-1:1,n=3+(b.length+t*e);b[e].childNodes[0].style.zIndex=n}))}function fe(e,t,n,r){return t=ce(T,e,t,n,r,!1),!1!==t&&(pe(e,t),!0)}function me(e){if(x[e]){var t=0,n=100;0!==e&&(t=T[e-1]),e!==x.length-1&&(n=T[e]),x[e].style[i.style]=de(t),x[e].style[i.styleOposite]=de(100-n)}}function ve(e,t){null!==e&&!1!==e&&("number"===typeof e&&(e=String(e)),e=i.format.from(e),!1===e||isNaN(e)||fe(t,E.toStepping(e),!1,!1))}function ge(e,t){var n=c(e),r=void 0===T[0];t=void 0===t||!!t,n.forEach(ve),i.animate&&!r&&l(O,i.cssClasses.tap,i.animationDuration),V.forEach((function(e){fe(e,T[e],!0,!1)})),he(),V.forEach((function(e){ne("update",e),null!==n[e]&&t&&ne("set",e)}))}function ye(e){ge(i.start,e)}function be(){var e=R.map(i.format.to);return 1===e.length?e[0]:e}function xe(){for(var e in i.cssClasses)i.cssClasses.hasOwnProperty(e)&&h(O,i.cssClasses[e]);while(O.firstChild)O.removeChild(O.firstChild);delete O.noUiSlider}function we(){return T.map((function(e,t){var n=E.getNearbySteps(e),r=R[t],o=n.thisStep.step,i=null;!1!==o&&r+o>n.stepAfter.startValue&&(o=n.stepAfter.startValue-r),i=r>n.thisStep.startValue?n.thisStep.step:!1!==n.stepBefore.step&&r-n.stepBefore.highestStep,100===e?o=null:0===e&&(i=null);var s=E.countStepDecimals();return null!==o&&!1!==o&&(o=Number(o.toFixed(s))),null!==i&&!1!==i&&(i=Number(i.toFixed(s))),[i,o]}))}function _e(e,t){j[e]=j[e]||[],j[e].push(t),"update"===e.split(".")[0]&&b.forEach((function(e,t){ne("update",t)}))}function Ce(e){var t=e&&e.split(".")[0],n=t&&e.substring(t.length);Object.keys(j).forEach((function(e){var r=e.split(".")[0],o=e.substring(r.length);t&&t!==r||n&&n!==o||delete j[e]}))}function Pe(e,t){var n=be(),r=["margin","limit","padding","range","animate","snap","step","format"];r.forEach((function(t){void 0!==e[t]&&(a[t]=e[t])}));var o=Y(a);r.forEach((function(t){void 0!==e[t]&&(i[t]=o[t])})),E=o.spectrum,i.margin=o.margin,i.limit=o.limit,i.padding=o.padding,i.pips&&J(i.pips),T=[],ge(e.start||n,t)}if(O.noUiSlider)throw new Error("noUiSlider ("+e+"): Slider was already initialized.");return F(O),N(i.connect,d),w={destroy:xe,steps:we,on:_e,off:Ce,get:be,set:ge,reset:ye,__moveHandles:function(e,t,n){te(e,t,T,n)},options:a,updateOptions:Pe,target:O,removePips:W,pips:J},ue(i.events),ge(i.start),i.pips&&J(i.pips),i.tooltips&&B(),Q(),w}function ee(t,n){if(!t||!t.nodeName)throw new Error("noUiSlider ("+e+"): create requires a single element, got: "+t);var r=Y(n,t),o=Z(t,r,n);return t.noUiSlider=o,o}return{version:e,create:ee}}))},f6b4:function(e,t,n){"use strict";var r=n("c532");function o(){this.handlers=[]}o.prototype.use=function(e,t){return this.handlers.push({fulfilled:e,rejected:t}),this.handlers.length-1},o.prototype.eject=function(e){this.handlers[e]&&(this.handlers[e]=null)},o.prototype.forEach=function(e){r.forEach(this.handlers,(function(t){null!==t&&e(t)}))},e.exports=o}}]); //# sourceMappingURL=survey.9cc0fcf3.js.map