<!DOCTYPE html>
<html>
    <head>
        <title>Use options to customize the Survey Editor, Survey Builder Example</title>
        <meta name="viewport" content="width=device-width, initial-scale=1">
        <script src="https://cdnjs.cloudflare.com/ajax/libs/knockout/3.4.0/knockout-min.js"></script>
        <script src="https://surveyjs.azureedge.net/1.0.78/survey.ko.js"></script>
        <script src="https://cdnjs.cloudflare.com/ajax/libs/ace/1.2.0/ace.min.js" type="text/javascript" charset="utf-8"></script>
        <script src="https://cdnjs.cloudflare.com/ajax/libs/ace/1.2.0/ext-language_tools.js" type="text/javascript" charset="utf-8"></script>
        <script src="https://unpkg.com/jquery"></script>
        <link href="https://cdnjs.cloudflare.com/ajax/libs/select2/4.0.3/css/select2.min.css" rel="stylesheet" />
        <script src="https://cdnjs.cloudflare.com/ajax/libs/select2/4.0.3/js/select2.min.js"></script>
        <link href="https://surveyjs.azureedge.net/1.0.78/surveyeditor.css" type="text/css" rel="stylesheet"/>
        <script src="./surveyeditor.js"></script>
        <link rel="stylesheet" href="https://unpkg.com/bootstrap@3.3.7/dist/css/bootstrap.min.css">
        <link rel="stylesheet" href="./index.css">
        <script src="https://surveyjs.azureedge.net/1.0.78/surveyjs-widgets.js"></script>

    </head>
    <body>
        <div id="surveyContainer">
            <div id="editorElement"></div>
        </div>

        <script type="text/javascript" src="./index.js"></script>

    </body>
</html>
Survey.JsonObject.metaData.addProperty("question", {
  name: "tagbox:set",
  choices: [1, 2, 3, 4, 5]
});
SurveyEditor.SurveyQuestionEditorDefinition.definition[
  "question"
].properties.push("tagbox");
SurveyEditor.editorLocalization.getLocale("").pe.tagbox = "Tagbox";
var editorOptions = {};
var editor = new SurveyEditor.SurveyEditor("editorElement", editorOptions);
/*!
 * surveyjs Builder(Editor) v1.0.78
 * (c) Devsoft Baltic O� - http://surveyjs.io/
 * Github: https://github.com/surveyjs/editor
 * License: https://surveyjs.io/Licenses#BuildSurvey
 */
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("knockout"),require("survey-knockout")):"function"==typeof define&&define.amd?define("SurveyEditor",["knockout","survey-knockout"],t):"object"==typeof exports?exports.SurveyEditor=t(require("knockout"),require("survey-knockout")):e.SurveyEditor=t(e.ko,e.Survey)}(this,function(e,t){return function(e){function t(r){if(o[r])return o[r].exports;var n=o[r]={i:r,l:!1,exports:{}};return e[r].call(n.exports,n,n.exports,t),n.l=!0,n.exports}var o={};return t.m=e,t.c=o,t.i=function(e){return e},t.d=function(e,o,r){t.o(e,o)||Object.defineProperty(e,o,{configurable:!1,enumerable:!0,get:r})},t.n=function(e){var o=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(o,"a",o),o},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="",t(t.s=47)}([function(e,t,o){"use strict";var r=o(24),n=o(2);o.n(n);o.d(t,"a",function(){return i}),o.d(t,"b",function(){return a});var i={camelCaseBreaking:!0,currentLocale:"",locales:{},getString:function(e,t){void 0===t&&(t=null);for(var o=this.getLocale(t),r=this.getLocale("en"),n=e.split("."),i=o,a=0;a<n.length;a++)if(!(i=i[n[a]])&&""!==i)return o===r?n[a]:this.getString(e,"en");return i},hasString:function(e,t){void 0===t&&(t=null);for(var o=this.getLocale(t),r=e.split("."),n=o,i=0;i<r.length;i++)if(!(n=n[r[i]])&&""!==n)return!1;return!0},getLocaleName:function(e,t){void 0===t&&(t=null);var o=n.surveyLocalization.localeNames;return t||(t=n.surveyLocalization.defaultLocale),e?o[e]:i.getString("ed.defaultLocale").format(o[t])},getPropertyName:function(e,t){void 0===t&&(t=null);var o=this.getProperty(e,t),r=o.name;return r?r!=e?r:this.getAutoPropertyName(r):o},getPropertyTitle:function(e,t){void 0===t&&(t=null);var o=this.getProperty(e,t);return o.title?o.title:""},getProperty:function(e,t){void 0===t&&(t=null);var o=this.getString("p."+e,t);if(o!==e)return o;var r=e.indexOf("_");return r<-1?this.getAutoPropertyName(o):(e=e.substr(r+1),o=this.getString("p."+e,t),o!==e?o:this.getAutoPropertyName(o))},getAutoPropertyName:function(e){if(!e||!this.camelCaseBreaking)return e;for(var t=e[0].toUpperCase(),o=1;o<e.length;o++)e[o]===e[o].toUpperCase()&&(t+=" "),t+=e[o];return t},getPropertyValue:function(e,t){return void 0===t&&(t=null),this.getValueInternal(e,"pv",t)},getValidatorName:function(e,t){return void 0===t&&(t=null),this.getValueInternal(e,"validators",t)},getTriggerName:function(e,t){return void 0===t&&(t=null),this.getValueInternal(e,"triggers",t)},getLocale:function(e){e||(e=this.currentLocale);var t=e?this.locales[e]:a;return t||(t=a),t},getValueInternal:function(e,t,o){if(void 0===o&&(o=null),""===e||null===e||void 0===e)return"";e=e.toString();var r=this.getLocale(o),n=r[t]?r[t][e]:null;return n||(n=a[t][e]),n||e},getLocales:function(){var e=[];e.push("");for(var t in this.locales)e.push(t);return e}},a=r.a},function(t,o){t.exports=e},function(e,o){e.exports=t},function(e,t,o){"use strict";function r(e,t){function o(){this.constructor=e}for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r]);e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)}t.a=r;Object.assign},function(e,t,o){"use strict";var r=o(3),n=o(1),i=(o.n(n),o(2)),a=(o.n(i),o(13)),s=o(26),l=o(0);o.d(t,"a",function(){return d}),o.d(t,"b",function(){return u}),o.d(t,"c",function(){return c}),o.d(t,"d",function(){return p}),o.d(t,"e",function(){return m});var d=function(){function e(){}return e.getOperators=function(){for(var e=["empty","notempty","equal","notequal","contains","notcontains","greater","less","greaterorequal","lessorequal"],t=[],o=0;o<e.length;o++){var r=e[o];t.push({name:r,text:l.a.getString("op."+r)})}return t},e.registerEditor=function(t,o,r){void 0===r&&(r=null),e.creatorList[t]=o;var n=r||t;e.creatorByClassList[n]=o},e.registerCustomEditor=function(t,o){e.widgetRegisterList[t]=o},e.createEditor=function(t,o){var r=t.type;!e.isDropdownEditor(t)||r&&r!=e.defaultEditor||(r="dropdown");var n=e.createCustomEditor(r,t);if(!n){var a=e.creatorList[r];a&&(n=a(t))}if(!n&&t.isArray&&i.JsonObject.metaData.isDescendantOf(t.className,"itemvalue")){var a=e.creatorList["itemvalue[]"];a&&(n=a(t))}return n||(a=e.findParentCreator(r),n=a(t)),n.onChanged=o,n},e.isDropdownEditor=function(e){return void 0!==e.hasChoices?!0===e.hasChoices:null!=e.choices},e.createCustomEditor=function(t,o){var r=e.widgetRegisterList[t];return r?new s.a(o,r):null},e.findParentCreator=function(t){for(var o=i.JsonObject.metaData.findClass(t);o&&o.parentName;){var r=e.creatorByClassList[o.parentName];if(r)return r;o=i.JsonObject.metaData.findClass(o.parentName)}return e.creatorList[e.defaultEditor]},e.defaultEditor="string",e.creatorList={},e.creatorByClassList={},e.widgetRegisterList={},e}(),u=function(e){function t(t){return e.call(this,t)||this}return r.a(t,e),Object.defineProperty(t.prototype,"editorType",{get:function(){return"string"},enumerable:!0,configurable:!0}),t}(a.a),c=function(e){function t(t){var o=e.call(this,t)||this;o.koChoices=n.observableArray([]),o.koHasFocus=n.observable(!1);var r=o;return o.koHasFocus.subscribe(function(e){e&&r.property.isDynamicChoices&&r.koChoices(r.getLocalizableChoices())}),o}return r.a(t,e),Object.defineProperty(t.prototype,"editorType",{get:function(){return"dropdown"},enumerable:!0,configurable:!0}),t.prototype.getValueText=function(e){if("locale"===this.property.name){var t=l.a.getLocaleName(e);if(t)return t}if("cellType"===this.property.name){var t=l.a.getString("qt."+e);if(t)return t}return l.a.getPropertyValue(e)},t.prototype.setObject=function(t){e.prototype.setObject.call(this,t),this.beginValueUpdating(),0==this.koChoices().length&&this.updateChoices(),this.endValueUpdating()},t.prototype.updateChoices=function(){this.koChoices(this.getLocalizableChoices())},t.prototype.getLocalizableChoices=function(){var e=this.getPropertyChoices();if(!e||0==e.length)return[];var t=new Array;i.ItemValue.setData(t,e);for(var o=0;o<t.length;o++){var r=t[o].value,n=this.getValueText(r);n!=r&&(t[o].text=n)}return t},t.prototype.getPropertyChoices=function(){if(!this.property)return null;if(this.object){var e=this.object;this.object.getEditingPropertyValue=function(t){return e.editingProperties&&void 0!=e.editingProperties[t]?e.editingProperties[t]:e[t]}}return this.property.getChoices(this.object)},t}(a.a),p=function(e){function t(t){return e.call(this,t)||this}return r.a(t,e),Object.defineProperty(t.prototype,"editorType",{get:function(){return"boolean"},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"alwaysShowEditor",{get:function(){return!0},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"canShowDisplayNameOnTop",{get:function(){return!1},enumerable:!0,configurable:!0}),t.prototype.getValueText=function(e){return l.a.getPropertyValue(e)},t}(a.a),m=function(e){function t(t){return e.call(this,t)||this}return r.a(t,e),Object.defineProperty(t.prototype,"editorType",{get:function(){return"number"},enumerable:!0,configurable:!0}),t.prototype.getCorrectedValue=function(e){return e?(("string"==typeof e||e instanceof String)&&((e=Number(e))||(e=0)),e):e},t}(a.a);d.registerEditor("string",function(e){return new u(e)}),d.registerEditor("dropdown",function(e){return new c(e)}),d.registerEditor("boolean",function(e){return new p(e)}),d.registerEditor("number",function(e){return new m(e)})},function(e,t,o){"use strict";function r(e){if(!e)return null;var t=e.survey;return t||e.data}function n(e){e.dragEnterCounter=0,e.emptyElement=null,e.rowCount=g.computed(function(){return(e.koRow?e.koRows():e.rows).length},e),e.rowCount.subscribe(function(t){e.emptyElement&&(e.emptyElement.style.display=t>0?"none":"")})}function i(e){e.allowingOptions={allowDelete:!0,allowEdit:!0,allowCopy:!0,allowAddToToolbox:!0,allowDragging:!0,allowChangeType:!0,allowShowHideTitle:!0,allowChangeRequired:!0},e.dragDropHelperValue=null,e.dragDropHelper=function(){return null==e.dragDropHelperValue&&(e.dragDropHelperValue=r(e).dragDropHelper),e.dragDropHelperValue},e.renderedElement=null,e.koIsDragging=g.observable(!1),e.koIsSelected=g.observable(!1),e.koIsDragging.subscribe(function(t){e.renderedElement&&(e.renderedElement.style.opacity=t?.4:1)}),e.koIsSelected.subscribe(function(t){e.renderedElement&&(t?e.renderedElement.classList.add("svd_q_selected","svd-main-border-color"):e.renderedElement.classList.remove("svd_q_selected","svd-main-border-color"))})}function a(e,t,o){var n=document.createElement("div");n.className="well card card-block",n.ondragover=function(e){t.doDragDropOver(e,o)};var i=document.createElement("span");return i.textContent=r(o).getEditorLocString("survey.dropQuestion"),n.appendChild(i),e.appendChild(n),n}function s(e,t,o,n){t.renderedElement=e,t.renderedElement.classList.add("svd_question"),"bootstrap"===b.a.currentTheme()&&t.renderedElement.classList.add("svd-dark-bg-color"),t.renderedElement.classList.add("svd_q_design_border");var i=!t.getLayoutType||"row"==t.getLayoutType(),a=t.allowingOptions;if(a.allowCopy=a.allowCopy&&i,a.allowAddToToolbox=a.allowAddToToolbox&&i,a.allowChangeType=a.allowChangeType&&i,a.allowShowHideTitle=a.allowShowHideTitle&&i,a.allowChangeRequired=a.allowChangeRequired&&i,r(t).updateElementAllowingOptions(t),t.koIsSelected()&&t.renderedElement.classList.add("svd_q_selected","svd-main-border-color"),t.dragDropHelper().attachToElement(e,t),e.tabindex="0",e.onclick=function(e){e.markEvent||(e.markEvent=!0,t.parent&&(r(t).selectedElement=t))},e.onkeyup=function(t){var o=t.which||t.keyCode;19!==o&&32!==o||e.click()},e.ondblclick=function(e){r(t).doElementDoubleClick(t)},n=n&&!("paneldynamic"==t.getType()))for(var s=e.childNodes,l=0;l<s.length;l++)s[l].style&&(s[l].style.pointerEvents="none");var d=function(e){e.tabIndex=-1};["input","select","textarea"].forEach(function(t){for(var o=e.querySelectorAll(t),r=0;r<o.length;r++)d(o[r])}),m(e,t)}function l(e,t){k[e]||(k[e]=[]),k[e].push(t)}function d(e){void 0===e&&(e=void 0),void 0!==e?(e||[]).forEach(function(e){return delete k[e]}):k={}}function u(e,t){var o=t.panel?t.cssClasses.panel:t.cssClasses;Object.keys(k).forEach(function(e){k[e].forEach(function(e){var r=e.getElementName(t.question||t.panel),n=e.getMarkerClass(t.question||t.panel);o[r]=c(o[r],n)})})}function c(e,t){var o=e;return t&&(o=o?o+" "+t:t),o}function p(e,t){for(var r=[],n=0;n<t.length;n++){o.i(y.b)("svd_question",t[n])===e&&r.push(t[n])}return r}function m(e,t){Object.keys(k).forEach(function(o){k[o].forEach(function(o){var n=o.getMarkerClass(t);if(n){for(var i=e.querySelectorAll("."+n.replace(/\s/g,".")),a=[],s=0;s<i.length;s++)a.push(i[s]);i=a,-1!==e.className.split(" ").indexOf(n)&&i.unshift(e),i=p(e,i),0===i.length&&-1!==e.className.indexOf(n)&&(i=[e]),i.length>0&&o.afterRender(i,t,r(t).getEditor())}})})}var h=o(3),g=o(1),v=(o.n(g),o(0)),f=o(2),y=(o.n(f),o(8)),b=o(19);o.d(t,"a",function(){return x}),t.b=l,t.c=d;var x=function(e){function t(t,o,r){void 0===t&&(t=null),void 0===o&&(o=null),void 0===r&&(r=null);var n=e.call(this,t,o,r)||this;n.onSelectedElementChanged=new f.Event,n.onEditButtonClick=new f.Event,n.onGetMenuItems=new f.Event,n.onElementDoubleClick=new f.Event;var i=n;return n.setDesignMode(!0),n.onAfterRenderPage.add(function(e,t){t.page.onAfterRenderPage(t.htmlElement)}),n.onAfterRenderQuestion.add(function(e,t){t.question.onAfterRenderQuestion(t.htmlElement)}),n.onAfterRenderPanel.add(function(e,t){t.panel.onAfterRenderPanel(t.htmlElement)}),n.editQuestionClick=function(){i.onEditButtonClick.fire(i,null)},n.onUpdateQuestionCssClasses.add(u),n.onUpdatePanelCssClasses.add(u),n}return h.a(t,e),t.prototype.updateElementAllowingOptions=function(e){this.onUpdateElementAllowingOptions&&e.allowingOptions&&(e.allowingOptions.obj=e,this.onUpdateElementAllowingOptions(e.allowingOptions))},t.prototype.getMenuItems=function(e){var t=[],o={obj:e,items:t};return this.onGetMenuItems.fire(this,o),o.items},Object.defineProperty(t.prototype,"selectedElement",{get:function(){return this.selectedElementValue},set:function(e){if(e&&e.selectedElementInDesign&&(e=e.selectedElementInDesign),e!=this.selectedElementValue){var t=this.selectedElementValue;this.selectedElementValue=e,null!=t&&t.onSelectedElementChanged&&t.onSelectedElementChanged(),null!=this.selectedElementValue&&this.selectedElementValue.onSelectedElementChanged&&this.selectedElementValue.onSelectedElementChanged(),this.onSelectedElementChanged.fire(this,{oldElement:t,newElement:e})}},enumerable:!0,configurable:!0}),t.prototype.doElementDoubleClick=function(e){this.onElementDoubleClick.fire(this,{element:e})},t.prototype.getEditorLocString=function(e){return v.a.getString(e)},t}(f.Survey),k={};f.Page.prototype.onCreating=function(){n(this)},f.Page.prototype.onAfterRenderPage=function(e){if(r(this).isDesignMode){var t=this,o=r(this).dragDropHelper;this.dragEnterCounter=0,e.ondragenter=function(e){e.preventDefault(),t.dragEnterCounter++},e.ondragleave=function(e){0===--t.dragEnterCounter&&o.doLeavePage(e)},e.ondragover=function(e){return!1},e.ondrop=function(e){o.doDrop(e)}}},f.Panel.prototype.onCreating=function(){n(this),i(this)},f.Panel.prototype.onAfterRenderPanel=function(e){if(r(this).isDesignMode){var t=this;0==this.elements.length&&(this.emptyElement=a(e,t.dragDropHelper(),t)),s(e,this,!0,this.koIsDragging())}},f.Panel.prototype.onSelectedElementChanged=function(){null!=r(this)&&this.koIsSelected(r(this).selectedElementValue==this)},f.FlowPanel&&(f.FlowPanel.prototype.onCreating=function(){this.placeHolder="Enter here text or drop a question",i(this)},f.FlowPanel.prototype.onAfterRenderPanel=function(e){if(r(this).isDesignMode){s(e,this,!0,this.koIsDragging());var t=e.querySelector("f-panel");t&&(t.className?t.className+=" svd_flowpanel":t.className="svd_flowpanel")}},f.FlowPanel.prototype.onSelectedElementChanged=function(){null!=r(this)&&this.koIsSelected(r(this).selectedElementValue==this)});var w=f.QuestionBase?f.QuestionBase.prototype:f.Question.prototype;w.onCreating=function(){i(this)},w.onAfterRenderQuestion=function(e){r(this).isDesignMode&&s(e,this,!1,!0)},w.onSelectedElementChanged=function(){null!=r(this)&&this.koIsSelected(r(this).selectedElementValue==this)},f.QuestionSelectBaseImplementor.prototype.onCreated=function(){var e=this.question;this.question.registerFunctionOnPropertyValueChanged("choices",function(){e.koElementType.notifySubscribers()})}},function(e,t,o){"use strict";var r=o(0);o.d(t,"a",function(){return n}),o.d(t,"b",function(){return i});var n;!function(e){e[e.Unknown=0]="Unknown",e[e.Survey=1]="Survey",e[e.Page=2]="Page",e[e.Panel=3]="Panel",e[e.Question=4]="Question"}(n||(n={}));var i=function(){function e(){}return e.getNewPageName=function(t){return e.getNewName(t,r.a.getString("ed.newPageName"))},e.getNewQuestionName=function(t){return e.getNewName(t,r.a.getString("ed.newQuestionName"))},e.getNewPanelName=function(t){return e.getNewName(t,r.a.getString("ed.newPanelName"))},e.generateNewName=function(e){for(var t=e.length;t>0&&e[t-1]>="0"&&e[t-1]<="9";)t--;var o=e.substr(0,t),r=0;return t<e.length&&(r=parseInt(e.substr(t))),r++,o+r},e.getNewName=function(e,t){for(var o={},r=0;r<e.length;r++)o[e[r].name]=!0;for(var n=1;;){if(!o[t+n.toString()])break;n++}return t+n.toString()},e.getObjectType=function(e){return e&&e.getType?"page"==e.getType()?n.Page:"panel"==e.getType()?n.Panel:"survey"==e.getType()?n.Survey:e.name?n.Question:n.Unknown:n.Unknown},e.getObjectTypeStr=function(t){var o=e.getObjectType(t);return o===n.Survey?"survey":o===n.Page?"page":o===n.Panel?"panel":o===n.Question?"question":"unknown"},e.getObjectName=function(t,o){if(void 0===o&&(o=!1),o&&t.title)return t.title;if(t.name)return t.name;if(e.getObjectType(t)!=n.Page)return"";var r=t.data;return r||(r=t.survey),"[Page "+(r.pages.indexOf(t)+1)+"]"},e.getElements=function(e,t){return void 0===t&&(t=!1),e?e.getElementsInDesign?e.getElementsInDesign(t):e.elements?e.elements:[]:[]},e.isPropertyVisible=function(e,t,o){return void 0===o&&(o=null),!(!t||!t.visible)&&(!(t.isVisible&&e.getLayoutType&&!t.isVisible(e.getLayoutType()))&&!(o&&!o(e,t)))},e.scrollIntoViewIfNeeded=function(e,t){if(e&&e.scrollIntoView&&t){var o=e.getBoundingClientRect(),r=t.offsetParent?t.offsetParent.clientHeight:t.clientHeight;o.top<t.offsetTop?e.scrollIntoView():o.bottom>r&&(o.top>t.offsetTop+r||o.height<r)&&e.scrollIntoView(!1)}},e}()},function(e,t,o){"use strict";var r=o(3),n=o(1),i=(o.n(n),o(13)),a=o(4),s=o(0),l=o(8),d=o(36);o.d(t,"a",function(){return c}),o.d(t,"b",function(){return p}),o.d(t,"c",function(){return m});var u=function(){function e(e){this.json=e}return e.prototype.afterRender=function(t,o){if(this.json&&this.json.afterRender&&(o.id||(o.id=e.customWidgetName+e.customWidgetId,e.customWidgetId++),this.json.afterRender(t,o),this.json.destroy)){var r=this;n.utils.domNodeDisposal.addDisposeCallback(o,function(){r.destroy(t,o)})}},e.prototype.destroy=function(e,t){this.json&&this.json.destroy&&this.json.destroy(e,t)},e.customWidgetId=1,e.customWidgetName="modalEditorCustomWidget",e}(),c=function(e){function t(r){var i=e.call(this,r)||this;i.isShowingModalValue=!1,i.koTitleCaption=n.observable(""),i.koHtmlTop=n.observable(""),i.koHtmlBottom=n.observable(""),i.property&&i.koTitleCaption(s.a.getString("pe.editProperty").format(i.property.name));r&&r.name;i.modalName="modelEditor"+i.editorType+t.idCounter,t.idCounter++,i.modalNameTarget="#"+i.modalName;var a=i;return i.koShowApplyButton=n.observable(!0),a.onHideModal=function(){},a.onApplyClick=function(){a.apply()},a.onOkClick=function(){a.apply(),a.koHasError()||a.onHideModal()},a.onResetClick=function(){a.updateValue(),a.onHideModal()},a.onShowModal=function(){a.beforeShow();var e=new d.a(document.querySelector(a.modalNameTarget),{bodyClass:"",closeTimeout:100,dialogOpenClass:"animated fadeInDown",focus:!1});e.open(),document.addEventListener("keydown",function(t){e.keydown(t)},!1),a.onHideModal=function(){a.beforeCloseModal(),e.close()},this.elements&&o.i(l.c)(this.elements)},a.koAfterRender=function(e,t){return a.afterRender(e,t)},i}return r.a(t,e),t.registerCustomWidget=function(e,o){t.customWidgets||(t.customWidgets={}),t.customWidgets[e]=new u(o)},t.getCustomWidget=function(e){return t.customWidgets?t.customWidgets[e]:null},t.prototype.setup=function(){e.prototype.setup.call(this),this.beforeShow()},Object.defineProperty(t.prototype,"isModal",{get:function(){return!0},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"isShowingModal",{get:function(){return this.isShowingModalValue},enumerable:!0,configurable:!0}),t.prototype.beforeShow=function(){this.isShowingModalValue=!0,this.updateValue()},t.prototype.beforeCloseModal=function(){this.isShowingModalValue=!1},t.prototype.onOptionsChanged=function(){this.koShowApplyButton=n.observable(!this.options||this.options.showApplyButtonInEditors)},t.prototype.setObject=function(t){if(this.editingObject=t,e.prototype.setObject.call(this,t),this.options&&this.property){var o=this.options.onPropertyEditorModalShowDescriptionCallback(this.property.name,t);o&&(o.top&&this.koHtmlTop(o.top),o.bottom&&this.koHtmlBottom(o.bottom))}},Object.defineProperty(t.prototype,"isEditable",{get:function(){return!1},enumerable:!0,configurable:!0}),t.prototype.afterRender=function(e,r){this.elements=e;var n=t.getCustomWidget(this.editorType);if(n){var i=this.GetFirstNonTextElement(e),a=e[0];"#text"==a.nodeName&&(a.data=""),a=e[e.length-1],"#text"==a.nodeName&&(a.data=""),n.afterRender(this,i)}o.i(l.c)(e)},t.prototype.GetFirstNonTextElement=function(e){if(e&&e.length){for(var t=0;t<e.length;t++)if("#text"!=e[t].nodeName&&"#comment"!=e[t].nodeName)return e[t];return null}},t.idCounter=1,t}(i.a),p=function(e){function t(t){var o=e.call(this,t)||this;o.koTextValue=n.observable();var r=o;return o.koTextValue.subscribe(function(e){r.onkoTextValueChanged(e)}),o}return r.a(t,e),Object.defineProperty(t.prototype,"editorType",{get:function(){return"text"},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"isEditable",{get:function(){return!0},enumerable:!0,configurable:!0}),t.prototype.getValueText=function(e){if(!e)return null;var t=e;return t.length>20&&(t=t.substr(0,20)+"..."),t},t.prototype.onkoTextValueChanged=function(e){},t.prototype.onValueChanged=function(){this.koTextValue(this.editingValue)},t.prototype.onBeforeApply=function(){this.setValueCore(this.koTextValue())},t}(c),m=function(e){function t(t){return e.call(this,t)||this}return r.a(t,e),Object.defineProperty(t.prototype,"editorType",{get:function(){return"html"},enumerable:!0,configurable:!0}),t}(p);a.a.registerEditor("text",function(e){return new p(e)}),a.a.registerEditor("html",function(e){return new m(e)})},function(e,t,o){"use strict";function r(e,t){var o=t.reduce(function(t,o){if("string"==typeof o&&0===o.indexOf(e))try{var r=parseInt(o.substring(e.length));if(r>=t)return r+1}catch(e){}return t},1);return e+o}function n(e,t){for(var o=t;o&&!o.classList.contains(e);)o=o.parentElement;return o}function i(e){for(var t=0;t<e.length;t++)if("function"==typeof e[t].getElementsByClassName){var o=e[t].getElementsByClassName("form-control");if(0===o.length&&-1!==e[t].className.indexOf("form-control")&&(o=[e[t]]),o.length>0){var r=o[0];if("a"!==r.tagName.toLowerCase()){setTimeout(function(){return r.focus({preventScroll:!0})},10);break}}}}var a=o(1);o.n(a);t.a=r,t.b=n,t.c=i,a.bindingHandlers.trueclick={init:function(e,t,o){e.onclick=function(){return!0}}},a.bindingHandlers.key2click={init:function(e,t,o){e.onkeyup=function(t){var o=t.which||t.keyCode;13===o||32===o?e.click():27===o&&e.blur()}}},a.bindingHandlers.clickNoFocus={init:function(e,t,o,r){e.onclick=function(o){return t().call(r,r,o),setTimeout(function(){e.blur()},1),!0}}}},function(e,t,o){var r,n;/**!
 * Sortable
 * @author	RubaXa   <trash@rubaxa.org>
 * @license MIT
 */
!function(i){"use strict";r=i,void 0!==(n="function"==typeof r?r.call(t,o,t,e):r)&&(e.exports=n)}(function(){"use strict";function e(e,t){if(!e||!e.nodeType||1!==e.nodeType)throw"Sortable: `el` must be HTMLElement, and not "+{}.toString.call(e);this.el=e,this.options=t=b({},t),e[Q]=this;var o={group:Math.random(),sort:!0,disabled:!1,store:null,handle:null,scroll:!0,scrollSensitivity:30,scrollSpeed:10,draggable:/[uo]l/i.test(e.nodeName)?"li":">*",ghostClass:"sortable-ghost",chosenClass:"sortable-chosen",dragClass:"sortable-drag",ignore:"a, img",filter:null,preventOnFilter:!0,animation:0,setData:function(e,t){e.setData("Text",t.textContent)},dropBubble:!1,dragoverBubble:!1,dataIdAttr:"data-id",delay:0,forceFallback:!1,fallbackClass:"sortable-fallback",fallbackOnBody:!1,fallbackTolerance:0,fallbackOffset:{x:0,y:0}};for(var r in o)!(r in t)&&(t[r]=o[r]);ae(t);for(var n in this)"_"===n.charAt(0)&&"function"==typeof this[n]&&(this[n]=this[n].bind(this));this.nativeDraggable=!t.forceFallback&&X,i(e,"mousedown",this._onTapStart),i(e,"touchstart",this._onTapStart),i(e,"pointerdown",this._onTapStart),this.nativeDraggable&&(i(e,"dragover",this),i(e,"dragenter",this)),ne.push(this._onDragOver),t.store&&this.sort(t.store.get(this))}function t(e,t){"clone"!==e.lastPullMode&&(t=!0),P&&P.state!==t&&(l(P,"display",t?"none":""),t||P.state&&(e.options.group.revertClone?(C.insertBefore(P,E),e._animate(w,P)):C.insertBefore(P,w)),P.state=t)}function o(e,t,o){if(e){o=o||U;do{if(">*"===t&&e.parentNode===o||f(e,t))return e}while(e=r(e))}return null}function r(e){var t=e.host;return t&&t.nodeType?t:e.parentNode}function n(e){e.dataTransfer&&(e.dataTransfer.dropEffect="move"),e.preventDefault()}function i(e,t,o){e.addEventListener(t,o,Y)}function a(e,t,o){e.removeEventListener(t,o,Y)}function s(e,t,o){if(e)if(e.classList)e.classList[o?"add":"remove"](t);else{var r=(" "+e.className+" ").replace($," ").replace(" "+t+" "," ");e.className=(r+(o?" "+t:"")).replace($," ")}}function l(e,t,o){var r=e&&e.style;if(r){if(void 0===o)return U.defaultView&&U.defaultView.getComputedStyle?o=U.defaultView.getComputedStyle(e,""):e.currentStyle&&(o=e.currentStyle),void 0===t?o:o[t];t in r||(t="-webkit-"+t),r[t]=o+("string"==typeof o?"":"px")}}function d(e,t,o){if(e){var r=e.getElementsByTagName(t),n=0,i=r.length;if(o)for(;n<i;n++)o(r[n],n);return r}return[]}function u(e,t,o,r,n,i,a){e=e||t[Q];var s=U.createEvent("Event"),l=e.options,d="on"+o.charAt(0).toUpperCase()+o.substr(1);s.initEvent(o,!0,!0),s.to=t,s.from=n||t,s.item=r||t,s.clone=P,s.oldIndex=i,s.newIndex=a,t.dispatchEvent(s),l[d]&&l[d].call(e,s)}function c(e,t,o,r,n,i,a,s){var l,d,u=e[Q],c=u.options.onMove;return l=U.createEvent("Event"),l.initEvent("move",!0,!0),l.to=t,l.from=e,l.dragged=o,l.draggedRect=r,l.related=n||t,l.relatedRect=i||t.getBoundingClientRect(),l.willInsertAfter=s,e.dispatchEvent(l),c&&(d=c.call(u,l,a)),d}function p(e){e.draggable=!1}function m(){ee=!1}function h(e,t){var o=e.lastElementChild,r=o.getBoundingClientRect();return t.clientY-(r.top+r.height)>5||t.clientX-(r.left+r.width)>5}function g(e){for(var t=e.tagName+e.className+e.src+e.href+e.textContent,o=t.length,r=0;o--;)r+=t.charCodeAt(o);return r.toString(36)}function v(e,t){var o=0;if(!e||!e.parentNode)return-1;for(;e&&(e=e.previousElementSibling);)"TEMPLATE"===e.nodeName.toUpperCase()||">*"!==t&&!f(e,t)||o++;return o}function f(e,t){if(e){t=t.split(".");var o=t.shift().toUpperCase(),r=new RegExp("\\s("+t.join("|")+")(?=\\s)","g");return!(""!==o&&e.nodeName.toUpperCase()!=o||t.length&&((" "+e.className+" ").match(r)||[]).length!=t.length)}return!1}function y(e,t){var o,r;return function(){void 0===o&&(o=arguments,r=this,setTimeout(function(){1===o.length?e.call(r,o[0]):e.apply(r,o),o=void 0},t))}}function b(e,t){if(e&&t)for(var o in t)t.hasOwnProperty(o)&&(e[o]=t[o]);return e}function x(e){return G?G(e).clone(!0)[0]:K&&K.dom?K.dom(e).cloneNode(!0):e.cloneNode(!0)}function k(e){for(var t=e.getElementsByTagName("input"),o=t.length;o--;){var r=t[o];r.checked&&re.push(r)}}if("undefined"==typeof window||!window.document)return function(){throw new Error("Sortable.js requires a window with a document")};var w,T,S,P,C,E,N,V,O,j,I,A,q,R,L,M,D,_,H,z,B={},$=/\s+/g,J=/left|right|inline/,Q="Sortable"+(new Date).getTime(),F=window,U=F.document,W=F.parseInt,G=F.jQuery||F.Zepto,K=F.Polymer,Y=!1,X=!!("draggable"in U.createElement("div")),Z=function(e){return!navigator.userAgent.match(/Trident.*rv[ :]?11\./)&&(e=U.createElement("x"),e.style.cssText="pointer-events:auto","auto"===e.style.pointerEvents)}(),ee=!1,te=Math.abs,oe=Math.min,re=[],ne=[],ie=y(function(e,t,o){if(o&&t.scroll){var r,n,i,a,s,l,d=o[Q],u=t.scrollSensitivity,c=t.scrollSpeed,p=e.clientX,m=e.clientY,h=window.innerWidth,g=window.innerHeight;if(O!==o&&(V=t.scroll,O=o,j=t.scrollFn,!0===V)){V=o;do{if(V.offsetWidth<V.scrollWidth||V.offsetHeight<V.scrollHeight)break}while(V=V.parentNode)}V&&(r=V,n=V.getBoundingClientRect(),i=(te(n.right-p)<=u)-(te(n.left-p)<=u),a=(te(n.bottom-m)<=u)-(te(n.top-m)<=u)),i||a||(i=(h-p<=u)-(p<=u),a=(g-m<=u)-(m<=u),(i||a)&&(r=F)),B.vx===i&&B.vy===a&&B.el===r||(B.el=r,B.vx=i,B.vy=a,clearInterval(B.pid),r&&(B.pid=setInterval(function(){if(l=a?a*c:0,s=i?i*c:0,"function"==typeof j)return j.call(d,s,l,e);r===F?F.scrollTo(F.pageXOffset+s,F.pageYOffset+l):(r.scrollTop+=l,r.scrollLeft+=s)},24)))}},30),ae=function(e){function t(e,t){return void 0!==e&&!0!==e||(e=o.name),"function"==typeof e?e:function(o,r){var n=r.options.group.name;return t?e:e&&(e.join?e.indexOf(n)>-1:n==e)}}var o={},r=e.group;r&&"object"==typeof r||(r={name:r}),o.name=r.name,o.checkPull=t(r.pull,!0),o.checkPut=t(r.put),o.revertClone=r.revertClone,e.group=o};e.prototype={constructor:e,_onTapStart:function(e){var t,r=this,n=this.el,i=this.options,a=i.preventOnFilter,s=e.type,l=e.touches&&e.touches[0],d=(l||e).target,c=e.target.shadowRoot&&e.path&&e.path[0]||d,p=i.filter;if(k(n),!w&&!(/mousedown|pointerdown/.test(s)&&0!==e.button||i.disabled)&&(d=o(d,i.draggable,n))&&N!==d){if(t=v(d,i.draggable),"function"==typeof p){if(p.call(this,e,d,this))return u(r,c,"filter",d,n,t),void(a&&e.preventDefault())}else if(p&&(p=p.split(",").some(function(e){if(e=o(c,e.trim(),n))return u(r,e,"filter",d,n,t),!0})))return void(a&&e.preventDefault());i.handle&&!o(c,i.handle,n)||this._prepareDragStart(e,l,d,t)}},_prepareDragStart:function(e,t,o,r){var n,a=this,l=a.el,c=a.options,m=l.ownerDocument;o&&!w&&o.parentNode===l&&(_=e,C=l,w=o,T=w.parentNode,E=w.nextSibling,N=o,M=c.group,R=r,this._lastX=(t||e).clientX,this._lastY=(t||e).clientY,w.style["will-change"]="transform",n=function(){a._disableDelayedDrag(),w.draggable=a.nativeDraggable,s(w,c.chosenClass,!0),a._triggerDragStart(e,t),u(a,C,"choose",w,C,R)},c.ignore.split(",").forEach(function(e){d(w,e.trim(),p)}),i(m,"mouseup",a._onDrop),i(m,"touchend",a._onDrop),i(m,"touchcancel",a._onDrop),i(m,"pointercancel",a._onDrop),i(m,"selectstart",a),c.delay?(i(m,"mouseup",a._disableDelayedDrag),i(m,"touchend",a._disableDelayedDrag),i(m,"touchcancel",a._disableDelayedDrag),i(m,"mousemove",a._disableDelayedDrag),i(m,"touchmove",a._disableDelayedDrag),i(m,"pointermove",a._disableDelayedDrag),a._dragStartTimer=setTimeout(n,c.delay)):n())},_disableDelayedDrag:function(){var e=this.el.ownerDocument;clearTimeout(this._dragStartTimer),a(e,"mouseup",this._disableDelayedDrag),a(e,"touchend",this._disableDelayedDrag),a(e,"touchcancel",this._disableDelayedDrag),a(e,"mousemove",this._disableDelayedDrag),a(e,"touchmove",this._disableDelayedDrag),a(e,"pointermove",this._disableDelayedDrag)},_triggerDragStart:function(e,t){t=t||("touch"==e.pointerType?e:null),t?(_={target:w,clientX:t.clientX,clientY:t.clientY},this._onDragStart(_,"touch")):this.nativeDraggable?(i(w,"dragend",this),i(C,"dragstart",this._onDragStart)):this._onDragStart(_,!0);try{U.selection?setTimeout(function(){U.selection.empty()}):window.getSelection().removeAllRanges()}catch(e){}},_dragStarted:function(){if(C&&w){var t=this.options;s(w,t.ghostClass,!0),s(w,t.dragClass,!1),e.active=this,u(this,C,"start",w,C,R)}else this._nulling()},_emulateDragOver:function(){if(H){if(this._lastX===H.clientX&&this._lastY===H.clientY)return;this._lastX=H.clientX,this._lastY=H.clientY,Z||l(S,"display","none");var e=U.elementFromPoint(H.clientX,H.clientY),t=e,o=ne.length;if(t)do{if(t[Q]){for(;o--;)ne[o]({clientX:H.clientX,clientY:H.clientY,target:e,rootEl:t});break}e=t}while(t=t.parentNode);Z||l(S,"display","")}},_onTouchMove:function(t){if(_){var o=this.options,r=o.fallbackTolerance,n=o.fallbackOffset,i=t.touches?t.touches[0]:t,a=i.clientX-_.clientX+n.x,s=i.clientY-_.clientY+n.y,d=t.touches?"translate3d("+a+"px,"+s+"px,0)":"translate("+a+"px,"+s+"px)";if(!e.active){if(r&&oe(te(i.clientX-this._lastX),te(i.clientY-this._lastY))<r)return;this._dragStarted()}this._appendGhost(),z=!0,H=i,l(S,"webkitTransform",d),l(S,"mozTransform",d),l(S,"msTransform",d),l(S,"transform",d),t.preventDefault()}},_appendGhost:function(){if(!S){var e,t=w.getBoundingClientRect(),o=l(w),r=this.options;S=w.cloneNode(!0),s(S,r.ghostClass,!1),s(S,r.fallbackClass,!0),s(S,r.dragClass,!0),l(S,"top",t.top-W(o.marginTop,10)),l(S,"left",t.left-W(o.marginLeft,10)),l(S,"width",t.width),l(S,"height",t.height),l(S,"opacity","0.8"),l(S,"position","fixed"),l(S,"zIndex","100000"),l(S,"pointerEvents","none"),r.fallbackOnBody&&U.body.appendChild(S)||C.appendChild(S),e=S.getBoundingClientRect(),l(S,"width",2*t.width-e.width),l(S,"height",2*t.height-e.height)}},_onDragStart:function(e,t){var o=e.dataTransfer,r=this.options;this._offUpEvents(),M.checkPull(this,this,w,e)&&(P=x(w),P.draggable=!1,P.style["will-change"]="",l(P,"display","none"),s(P,this.options.chosenClass,!1),C.insertBefore(P,w),u(this,C,"clone",w)),s(w,r.dragClass,!0),t?("touch"===t?(i(U,"touchmove",this._onTouchMove),i(U,"touchend",this._onDrop),i(U,"touchcancel",this._onDrop),i(U,"pointermove",this._onTouchMove),i(U,"pointerup",this._onDrop)):(i(U,"mousemove",this._onTouchMove),i(U,"mouseup",this._onDrop)),this._loopId=setInterval(this._emulateDragOver,50)):(o&&(o.effectAllowed="move",r.setData&&r.setData.call(this,o,w)),i(U,"drop",this),setTimeout(this._dragStarted,0))},_onDragOver:function(r){var n,i,a,s,d=this.el,u=this.options,p=u.group,g=e.active,v=M===p,f=!1,y=u.sort;if(void 0!==r.preventDefault&&(r.preventDefault(),!u.dragoverBubble&&r.stopPropagation()),!w.animated&&(z=!0,g&&!u.disabled&&(v?y||(s=!C.contains(w)):D===this||(g.lastPullMode=M.checkPull(this,g,w,r))&&p.checkPut(this,g,w,r))&&(void 0===r.rootEl||r.rootEl===this.el))){if(ie(r,u,this.el),ee)return;if(n=o(r.target,u.draggable,d),i=w.getBoundingClientRect(),D!==this&&(D=this,f=!0),s)return t(g,!0),T=C,void(P||E?C.insertBefore(w,P||E):y||C.appendChild(w));if(0===d.children.length||d.children[0]===S||d===r.target&&h(d,r)){if(0!==d.children.length&&d.children[0]!==S&&d===r.target&&(n=d.lastElementChild),n){if(n.animated)return;a=n.getBoundingClientRect()}t(g,v),!1!==c(C,d,w,i,n,a,r)&&(w.contains(d)||(d.appendChild(w),T=d),this._animate(i,w),n&&this._animate(a,n))}else if(n&&!n.animated&&n!==w&&void 0!==n.parentNode[Q]){I!==n&&(I=n,A=l(n),q=l(n.parentNode)),a=n.getBoundingClientRect();var b=a.right-a.left,x=a.bottom-a.top,k=J.test(A.cssFloat+A.display)||"flex"==q.display&&0===q["flex-direction"].indexOf("row"),N=n.offsetWidth>w.offsetWidth,V=n.offsetHeight>w.offsetHeight,O=(k?(r.clientX-a.left)/b:(r.clientY-a.top)/x)>.5,j=n.nextElementSibling,R=!1;if(k){var L=w.offsetTop,_=n.offsetTop;R=L===_?n.previousElementSibling===w&&!N||O&&N:n.previousElementSibling===w||w.previousElementSibling===n?(r.clientY-a.top)/x>.5:_>L}else f||(R=j!==w&&!V||O&&V);var H=c(C,d,w,i,n,a,r,R);!1!==H&&(1!==H&&-1!==H||(R=1===H),ee=!0,setTimeout(m,30),t(g,v),w.contains(d)||(R&&!j?d.appendChild(w):n.parentNode.insertBefore(w,R?j:n)),T=w.parentNode,this._animate(i,w),this._animate(a,n))}}},_animate:function(e,t){var o=this.options.animation;if(o){var r=t.getBoundingClientRect();1===e.nodeType&&(e=e.getBoundingClientRect()),l(t,"transition","none"),l(t,"transform","translate3d("+(e.left-r.left)+"px,"+(e.top-r.top)+"px,0)"),t.offsetWidth,l(t,"transition","all "+o+"ms"),l(t,"transform","translate3d(0,0,0)"),clearTimeout(t.animated),t.animated=setTimeout(function(){l(t,"transition",""),l(t,"transform",""),t.animated=!1},o)}},_offUpEvents:function(){var e=this.el.ownerDocument;a(U,"touchmove",this._onTouchMove),a(U,"pointermove",this._onTouchMove),a(e,"mouseup",this._onDrop),a(e,"touchend",this._onDrop),a(e,"pointerup",this._onDrop),a(e,"touchcancel",this._onDrop),a(e,"pointercancel",this._onDrop),a(e,"selectstart",this)},_onDrop:function(t){var o=this.el,r=this.options;clearInterval(this._loopId),clearInterval(B.pid),clearTimeout(this._dragStartTimer),a(U,"mousemove",this._onTouchMove),this.nativeDraggable&&(a(U,"drop",this),a(o,"dragstart",this._onDragStart)),this._offUpEvents(),t&&(z&&(t.preventDefault(),!r.dropBubble&&t.stopPropagation()),S&&S.parentNode&&S.parentNode.removeChild(S),C!==T&&"clone"===e.active.lastPullMode||P&&P.parentNode&&P.parentNode.removeChild(P),w&&(this.nativeDraggable&&a(w,"dragend",this),p(w),w.style["will-change"]="",s(w,this.options.ghostClass,!1),s(w,this.options.chosenClass,!1),u(this,C,"unchoose",w,C,R),C!==T?(L=v(w,r.draggable))>=0&&(u(null,T,"add",w,C,R,L),u(this,C,"remove",w,C,R,L),u(null,T,"sort",w,C,R,L),u(this,C,"sort",w,C,R,L)):w.nextSibling!==E&&(L=v(w,r.draggable))>=0&&(u(this,C,"update",w,C,R,L),u(this,C,"sort",w,C,R,L)),e.active&&(null!=L&&-1!==L||(L=R),u(this,C,"end",w,C,R,L),this.save()))),this._nulling()},_nulling:function(){C=w=T=S=E=P=N=V=O=_=H=z=L=I=A=D=M=e.active=null,re.forEach(function(e){e.checked=!0}),re.length=0},handleEvent:function(e){switch(e.type){case"drop":case"dragend":this._onDrop(e);break;case"dragover":case"dragenter":w&&(this._onDragOver(e),n(e));break;case"selectstart":e.preventDefault()}},toArray:function(){for(var e,t=[],r=this.el.children,n=0,i=r.length,a=this.options;n<i;n++)e=r[n],o(e,a.draggable,this.el)&&t.push(e.getAttribute(a.dataIdAttr)||g(e));return t},sort:function(e){var t={},r=this.el;this.toArray().forEach(function(e,n){var i=r.children[n];o(i,this.options.draggable,r)&&(t[e]=i)},this),e.forEach(function(e){t[e]&&(r.removeChild(t[e]),r.appendChild(t[e]))})},save:function(){var e=this.options.store;e&&e.set(this)},closest:function(e,t){return o(e,t||this.options.draggable,this.el)},option:function(e,t){var o=this.options;if(void 0===t)return o[e];o[e]=t,"group"===e&&ae(o)},destroy:function(){var e=this.el;e[Q]=null,a(e,"mousedown",this._onTapStart),a(e,"touchstart",this._onTapStart),a(e,"pointerdown",this._onTapStart),this.nativeDraggable&&(a(e,"dragover",this),a(e,"dragenter",this)),Array.prototype.forEach.call(e.querySelectorAll("[draggable]"),function(e){e.removeAttribute("draggable")}),ne.splice(ne.indexOf(this._onDragOver),1),this._onDrop(),this.el=e=null}},i(U,"touchmove",function(t){e.active&&t.preventDefault()});try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:function(){Y={capture:!1,passive:!1}}}))}catch(e){}return e.utils={on:i,off:a,css:l,find:d,is:function(e,t){return!!o(e,t,e)},extend:b,throttle:y,closest:o,toggleClass:s,clone:x,index:v},e.create=function(t,o){return new e(t,o)},e.version="1.6.1",e})},function(e,t,o){"use strict";var r=o(1),n=(o.n(r),o(0)),i=o(28),a=o(16),s=o(2),l=(o.n(s),o(36)),d=o(6),u=o(8);o.d(t,"a",function(){return c}),o.d(t,"b",function(){return m}),o.d(t,"c",function(){return h});var c=function(){function e(){this.koVisible=r.observable(!1),this.koEditor=r.observable(null)}return e.prototype.show=function(e,t,o,r,n){void 0===r&&(r=null),void 0===n&&(n=null);var i=new m(e,this.onCanShowPropertyCallback,null,r);i.onChanged=o,this.koEditor(i),this.koVisible(!0);var a=new l.a(t,{bodyClass:"",closeTimeout:100,dialogOpenClass:"animated fadeIn",focus:!1,afterClose:function(){n&&n()}});a.open(),document.addEventListener("keydown",function(e){a.keydown(e)},!1),i.onHideWindow=function(){a.close()}},e}(),p=function(){function e(e,t){this.obj=e,this.onCanShowPropertyCallback=t,this.properties=s.JsonObject.metaData.getPropertiesByObj?s.JsonObject.metaData.getPropertiesByObj(this.obj):s.JsonObject.metaData.getProperties(this.obj.getType()),this.editorDefinition=a.a.getAllDefinitionsByClass(this.obj.getType())}return e.prototype.getProperty=function(e){var t=this.getPropertyCore(e);return t&&d.b.isPropertyVisible(this.obj,t,this.onCanShowPropertyCallback)?t:null},e.prototype.getPropertyCore=function(e){for(var t=0;t<this.properties.length;t++)if(this.properties[t].name==e)return this.properties[t];return null},e.prototype.getProperties=function(e){var t=this;return this.editorDefinition.reduce(function(e,t){return e.concat(t.properties)},[{name:e.name,tab:e.name}]).filter(function(t){return void 0!==t&&"string"!=typeof t&&t.tab===e.name}).map(function(e){return"string"!=typeof e&&t.getPropertyCore(e.name)}).filter(function(o){return!!o&&(o.name==e.name&&!0===e.visible||d.b.isPropertyVisible(t.obj,o,t.onCanShowPropertyCallback))})},e}(),m=function(){function e(e,t,o,n){void 0===o&&(o=null),void 0===n&&(n=null),this.obj=e,this.onCanShowPropertyCallback=t,this.className=o,this.options=n,this.koActiveTab=r.observable(),this.koTitle=r.observable();var i=this;!this.className&&this.obj.getType&&(this.className=this.obj.getType()),this.properties=new p(e,t),i.onApplyClick=function(){i.apply()},i.onOkClick=function(){i.doCloseWindow(!1)},i.onResetClick=function(){i.doCloseWindow(!0)},this.onTabClick=function(e){i.koActiveTab(e.name)};var a=this.buildTabs();a.forEach(function(e){return e.beforeShow()}),this.koTabs=r.observableArray(a),a.length>0&&this.koActiveTab(a[0].name),this.koShowApplyButton=r.observable(!this.options||this.options.showApplyButtonInEditors),this.koTitle(this.getTitle())}return e.prototype.getTitle=function(){var e;return e=this.obj.name?n.a.getString("pe.qEditorTitle").format(this.obj.name):n.a.getString("pe.surveyEditorTitle"),this.options&&this.options.onGetElementEditorTitleCallback&&(e=this.options.onGetElementEditorTitleCallback(this.obj,e)),e},e.prototype.doCloseWindow=function(e){var t=!1;if(e?this.reset():t=this.apply(),e||t){for(var o=this.koTabs(),r=0;r<o.length;r++)o[r].doCloseWindow();this.onHideWindow&&this.onHideWindow()}},e.prototype.hasError=function(){for(var e=this.koTabs(),t=0;t<e.length;t++)if(e[t].hasError())return this.koActiveTab(e[t].name),!0;return!1},e.prototype.reset=function(){for(var e=this.koTabs(),t=0;t<e.length;t++)e[t].reset()},e.prototype.apply=function(){for(var e=!0,t=!1,o=this.koTabs(),r=0;r<o.length;r++){var n=o[r].apply();n||(o[r].expand(),t||(this.koActiveTab(o[r].name),t=!0)),e=n&&e}return e&&this.onChanged&&this.onChanged(this.obj),e},e.prototype.buildTabs=function(){var e=[],t=new i.a(this.obj,a.a.getProperties(this.className),this.onCanShowPropertyCallback,this.options);a.a.isGeneralTabVisible(this.className)&&e.push(new h(this.obj,t,"general")),this.addPropertiesTabs(e);for(var o=0;o<e.length;o++)e[o].onCanShowPropertyCallback=this.onCanShowPropertyCallback;return e},e.prototype.addPropertiesTabs=function(e){for(var t=a.a.getTabs(this.className),o=0;o<t.length;o++){var r=t[o],n=this.properties.getProperties(r);if(n.length>0){var s=new h(this.obj,new i.a(this.obj,n,this.onCanShowPropertyCallback,this.options,r),r.name);s.title=r.title,e.push(s)}}},Object.defineProperty(e.prototype,"useTabsInElementEditor",{get:function(){return this.options.useTabsInElementEditor},enumerable:!0,configurable:!0}),e}(),h=function(){function e(e,t,o){void 0===t&&(t=null),this.obj=e,this.properties=t,this._name=o}return e.prototype.expand=function(){this.onExpand&&this.onExpand()},e.prototype.koAfterRender=function(e,t){o.i(u.c)(e)},Object.defineProperty(e.prototype,"name",{get:function(){return this._name},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"title",{get:function(){if(this.titleValue)return this.titleValue;var e=n.a.getString("pe.tabs."+this.name);return e||this.name},set:function(e){this.titleValue=e},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"htmlTemplate",{get:function(){return"questioneditortab"},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"templateObject",{get:function(){return this},enumerable:!0,configurable:!0}),e.prototype.hasError=function(){return this.properties.hasError()},e.prototype.beforeShow=function(){this.properties.beforeShow()},e.prototype.reset=function(){this.properties.reset()},e.prototype.apply=function(){return this.properties.apply()},e.prototype.doCloseWindow=function(){},e.prototype.getValue=function(e){return e.getPropertyValue(this.obj)},e}()},function(e,t,o){"use strict";var r=o(3),n=o(1),i=(o.n(n),o(2)),a=(o.n(i),o(5)),s=o(0),l=o(9),d=o.n(l),u=o(17),c=o(8),p=o(76);o.n(p);o.d(t,"a",function(){return g}),o.d(t,"c",function(){return v}),o.d(t,"b",function(){return f});var m=o(126),h=function(e){function t(t,o,r,n,i){var a=e.call(this,t,n)||this;return a.question=o,a.item=r,a.editor=i,a}return r.a(t,e),t.prototype.deleteItem=function(e,t){if(this.question.otherItem===this.item)this.question.hasOther=!1;else if(this.question.selectAllItem===this.item)this.question.hasSelectAll=!1;else if(this.question.noneItem===this.item)this.question.hasNone=!1;else{var o=e.question.choices.indexOf(e.item);e.question.choices.splice(o,1)}this.editor.onQuestionEditorChanged(this.question)},Object.defineProperty(t.prototype,"isDraggable",{get:function(){return this.question.otherItem!==this.item&&this.question.selectAllItem!==this.item&&this.question.noneItem!==this.item},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"isLastItem",{get:function(){return 1===this.question.choices.length},enumerable:!0,configurable:!0}),t}(u.b);n.components.register("item-editor",{viewModel:{createViewModel:function(e,t){var o=new h(e.target[e.name],e.question,e.item,t.element,e.editor),r=i.JsonObject.metaData.findProperty(e.target.getType(),e.name);return o.valueChanged=function(t){var o={propertyName:r.name,obj:e.model,value:t,newValue:null,doValidation:!1};e.editor.onValueChangingCallback(o),t=null===o.newValue?o.value:o.newValue,e.target[e.name]=t,e.editor.onPropertyValueChanged(r,e.target,t),!!e.valueChanged&&e.valueChanged(e.target,r.name,t)},o}},template:m});var g={inplaceEditForValues:!1,getMarkerClass:function(e){return e.parent&&e.choices&&"function"==typeof e.getType&&"imagepicker"!==e.getType()?"item_editable":""},getElementName:function(e){return"controlLabel"},afterRender:function(e,t,o){for(var r=0;r<e.length;r++){e[r].onclick=function(e){return e.preventDefault()};var i=document.createElement("span");i.className="svda-adorner-root";var a=n.dataFor(e[r]),s=g.inplaceEditForValues?"value":"text",l=a;a===t.selectAllItem&&(l=t,s="selectAllText"),a===t.noneItemValue&&(l=t,s="noneText"),a===t.otherItemValue&&(l=t,s="otherText"),i.innerHTML="<item-editor params='name: \""+s+"\", target: target, item: item, question: question, editor: editor'></item-editor>",e[r].appendChild(i),n.applyBindings({item:a,question:t,target:l,editor:o},i),n.tasks.runEarly(),o.onAdornerRenderedCallback(t,"choices-label",i,a)}}};o.i(a.b)("choices-label",g);var v=function(e,t,r){return void 0===r&&(r=null),function(){var n=null,a=e.choices.map(function(e){return e.itemValue}),s=i.surveyLocalization.getString("choices_Item");n=o.i(c.a)(s,a);var l=new i.ItemValue(n);l.locOwner={getLocale:function(){return e.getLocale?e.getLocale():""},getMarkdownHtml:function(e){return e},getProcessedText:function(e){return e}},!!r&&r(l),e.choices=e.choices.concat([l]),l=e.choices.filter(function(e){return e.value===l.value})[0],!!t&&t(l)}},f=function(e){var t=document.createElement("div");t.title=s.a.getString("pe.addItem"),t.className="svda-add-new-item svd-primary-icon",t.onclick=e;var o=document.createElementNS("http://www.w3.org/2000/svg","svg");o.setAttribute("class","svd-svg-icon"),o.style.width="12px",o.style.height="12px";var r=document.createElementNS("http://www.w3.org/2000/svg","use");return r.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href","#icon-inplaceplus"),o.appendChild(r),t.appendChild(o),t},y={getMarkerClass:function(e){return e.parent&&e.choices&&"function"==typeof e.getType&&"imagepicker"!==e.getType()?"item_draggable":""},getElementName:function(e){return"item"},afterRender:function(e,t,o){for(var r=e[0].parentElement,i=0;i<e.length;i++){var a=n.dataFor(e[i]);a!==t.selectAllItemValue&&a!==t.noneItemValue&&a!==t.otherItemValue||e[i].classList.remove("item_draggable")}var s=(d.a.create(r,{handle:".svda-drag-handle",draggable:".item_draggable",animation:150,onEnd:function(e){var r=t.choices,n=r[e.oldIndex];r.splice(e.oldIndex,1),r.splice(e.newIndex,0,n),o.onQuestionEditorChanged(t)}}),f(v(t,function(e){o.onQuestionEditorChanged(t)},function(e){o.onItemValueAddedCallback(t,"choices",e,t.choices)})));r.appendChild(s)}};o.i(a.b)("choices-draggable",y)},function(e,t,o){"use strict";var r=o(1),n=(o.n(r),o(4));o.d(t,"a",function(){return i});var i=function(){function e(e,t,o){void 0===t&&(t=null),void 0===o&&(o=null),this.property=e,this.koIsShowEditor=r.observable(!1),this.onPropertyChanged=t,this.name=this.property.name,this.disabled=e.readOnly;var i=this,a=function(e){i.onEditorValueChanged(e)};this.editor=n.a.createEditor(e,a),this.editor.onGetLocale=this.doOnGetLocale,this.editor.options=o,this.editorType=this.editor.editorType,this.editorTypeTemplate=this.editor.editorTypeTemplate,this.isActive=!1}return Object.defineProperty(e.prototype,"displayName",{get:function(){return this.editor.displayName},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"title",{get:function(){return this.editor.title},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"isActive",{get:function(){return this.isActiveValue},set:function(e){this.isActive!=e&&(this.isActiveValue=e,this.koIsShowEditor(!this.disabled&&(this.editor.alwaysShowEditor||this.isActive)),this.editor.activate())},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"koValue",{get:function(){return this.editor.koValue},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"koText",{get:function(){return this.editor.koText},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"koIsDefault",{get:function(){return this.editor.koIsDefault},enumerable:!0,configurable:!0}),e.prototype.doOnGetLocale=function(){return this.object&&this.object.getLocale?this.object.getLocale():""},Object.defineProperty(e.prototype,"object",{get:function(){return this.objectValue},set:function(e){this.objectValue=e,this.editor.object=e},enumerable:!0,configurable:!0}),e.prototype.onEditorValueChanged=function(e){this.onPropertyChanged&&this.object&&this.onPropertyChanged(this,e)},e}()},function(e,t,o){"use strict";var r=o(1),n=(o.n(r),o(2)),i=(o.n(n),o(0));o.d(t,"a",function(){return a});var a=function(){function e(e){this.editingValue_=null,this.isApplyinNewValue=!1,this.valueUpdatingCounter=0,this.optionsValue=null,this.isRequriedValue=!1,this.isCustomDisplayName=!1,this.isTabProperty=!1,this.isInplaceProperty=!1,this.iskoValueChanging=!1,this.property_=e;var t=this;this.koValue=r.observable(),this.koValue.subscribe(function(e){t.onkoValueChanged(e)}),this.koText=r.computed(function(){return t.getValueText(t.koValue())}),this.koIsDefault=r.computed(function(){return!!t.property&&t.property.isDefaultValue(t.koValue())}),this.koHasError=r.observable(!1),this.koErrorText=r.observable(""),this.koDisplayError=r.computed(function(){return t.koHasError()&&!!t.koErrorText()}),this.setIsRequired(),this.setTitleAndDisplayName(),this.readOnly=r.observable(this.getReadOnly())}return e.prototype.setup=function(){},e.prototype.beforeShow=function(){},Object.defineProperty(e.prototype,"editorType",{get:function(){throw"editorType is not defined"},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"editorTypeTemplate",{get:function(){return this.editorType},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"property",{get:function(){return this.property_},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"defaultValue",{get:function(){return this.property.defaultValue},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"editablePropertyName",{get:function(){return this.property?this.property.name:""},enumerable:!0,configurable:!0}),e.prototype.getReadOnly=function(){var e=!!this.property&&this.property.readOnly;return this.options&&this.property&&this.object&&(e=this.options.onIsEditorReadOnlyCallback(this.object,this,e)),e},Object.defineProperty(e.prototype,"alwaysShowEditor",{get:function(){return!1},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"title",{get:function(){return this.titleValue},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"isDiplayNameVisible",{get:function(){return!(this.isTabProperty&&this.isModal||this.isInplaceProperty||"."===this.displayName)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"displayName",{get:function(){return this.displayNameValue},set:function(e){this.isCustomDisplayName=!0,this.displayNameValue=e},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"showDisplayNameOnTop",{get:function(){return this.isDiplayNameVisible&&this.canShowDisplayNameOnTop},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"canShowDisplayNameOnTop",{get:function(){return!0},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"contentTemplateName",{get:function(){var e="propertyeditor";return this.isModal?e+="-modalcontent":e+="-"+this.editorTypeTemplate,e},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"isModal",{get:function(){return!1},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"object",{get:function(){return this.objectValue},set:function(e){var t=this;this.objectValue=e,"function"==typeof e.registerFunctionOnPropertyValueChanged&&e.registerFunctionOnPropertyValueChanged(this.property.name,function(){return t.updateValue()},this.property.name),this.setIsRequired(),this.setTitleAndDisplayName(),this.setObject(this.object),this.updateValue(),this.options&&this.property&&(this.options.onPropertyEditorObjectSetCallback(this.property.name,this.object,this),this.readOnly(this.getReadOnly()))},enumerable:!0,configurable:!0}),e.prototype.getValueText=function(e){return e},Object.defineProperty(e.prototype,"editingValue",{get:function(){return this.editingValue_},set:function(e){e=this.getCorrectedValue(e),this.setValueCore(e),this.onValueChanged()},enumerable:!0,configurable:!0}),e.prototype.hasError=function(){return this.koHasError(this.checkForErrors()),this.koHasError()},e.prototype.getLocString=function(e){return i.a.getString(e)},e.prototype.hasLocString=function(e){return i.a.hasString(e)},Object.defineProperty(e.prototype,"isCurrentValueEmpty",{get:function(){return this.isValueEmpty(this.koValue())},enumerable:!0,configurable:!0}),e.prototype.checkForErrors=function(){var e="";if(this.isRequired||this.checkForItemValue()){this.isCurrentValueEmpty&&(e=this.getLocString("pe.propertyIsEmpty"))}return!e&&this.property&&this.options&&this.options.onGetErrorTextOnValidationCallback&&(e=this.options.onGetErrorTextOnValidationCallback(this.property.name,this.object,this.editingValue)),this.koErrorText(e),""!==e},e.prototype.checkForItemValue=function(){return this.property&&"value"===this.property.name&&this.objectValue&&"function"==typeof this.objectValue.getType&&"itemvalue"===this.objectValue.getType()},Object.defineProperty(e.prototype,"isRequired",{get:function(){return this.isRequriedValue},enumerable:!0,configurable:!0}),e.prototype.setIsRequired=function(){this.isRequriedValue=!!this.property&&this.property.isRequired},e.prototype.setTitleAndDisplayName=function(){if(!this.isCustomDisplayName&&(this.displayNameValue=this.property?this.property.name:"",this.titleValue="",this.property)){var e=this.property.name;this.displayNameValue=i.a.getPropertyName(e);var t=i.a.getPropertyTitle(e);this.titleValue=t}},e.prototype.onBeforeApply=function(){},e.prototype.apply=function(){return this.onBeforeApply(),!this.hasError()&&(this.isApplyinNewValue=!0,this.koValue(this.editingValue),this.isApplyinNewValue=!1,!0)},Object.defineProperty(e.prototype,"locale",{get:function(){return this.onGetLocale?this.onGetLocale():""},enumerable:!0,configurable:!0}),e.prototype.getLocale=function(){return this.locale},e.prototype.getMarkdownHtml=function(e){return e},e.prototype.getProcessedText=function(e){return e},Object.defineProperty(e.prototype,"options",{get:function(){return this.optionsValue},set:function(e){this.optionsValue=e,this.onOptionsChanged()},enumerable:!0,configurable:!0}),e.prototype.onOptionsChanged=function(){},e.prototype.setValueCore=function(e){this.editingValue_=e},e.prototype.setObject=function(e){if(this.options){var t=this.createEditorOptions();this.options.onSetPropertyEditorOptionsCallback(this.editablePropertyName,e,t),this.onSetEditorOptions(t)}},e.prototype.activate=function(){},e.prototype.createEditorOptions=function(){return{}},e.prototype.onSetEditorOptions=function(e){},e.prototype.onValueChanged=function(){},e.prototype.getCorrectedValue=function(e){return e},e.prototype.beginValueUpdating=function(){this.valueUpdatingCounter++},e.prototype.endValueUpdating=function(){this.valueUpdatingCounter>0&&this.valueUpdatingCounter--},e.prototype.updateValue=function(){this.beginValueUpdating(),this.koValue(this.getValue()),this.editingValue=this.koValue(),this.onValueUpdated&&this.onValueUpdated(this.editingValue),this.endValueUpdating()},e.prototype.getValue=function(){return this.property&&this.object?this.property.getPropertyValue(this.object):null},e.prototype.onkoValueChanged=function(e){if(!(this.valueUpdatingCounter>0||this.iskoValueChanging)){if(this.iskoValueChanging=!0,e=this.getCorrectedValue(e),this.options&&this.property&&this.object){var t={propertyName:this.property.name,obj:this.object,value:e,newValue:null,doValidation:!1};this.updateEditingProperties(e),this.options.onValueChangingCallback(t),this.isValueEmpty(t.newValue)||(e=t.newValue,this.koValue(e)),t.doValidation&&this.hasError()}this.updateEditingProperties(e),this.isApplyinNewValue||(this.editingValue=e),this.iskoValueChanging=!1,this.property&&this.object&&this.getValue()==e||null!=this.onChanged&&this.onChanged(e)}},e.prototype.updateEditingProperties=function(e){!this.isModal&&this.object&&(this.object.editingProperties||(this.object.editingProperties={}),this.object.editingProperties[this.property.name]=e)},e.prototype.isValueEmpty=function(e){return n.Helpers.isValueEmpty(e)},e.prototype.keyDownHandler=function(e,t){var o=e.editor.options;return o&&o.onPropertyEditorKeyDownCallback(e.property.name,e.obj,e.editor,t),!0},e}()},function(e,t,o){"use strict";var r=o(3),n=o(1),i=(o.n(n),o(7)),a=o(0);o.d(t,"a",function(){return s});var s=function(e){function t(t){var o=e.call(this,t)||this;o.sortableOptions={handle:".svd-drag-handle",animation:150},o.koItems=n.observableArray(),o.editingValue=[],o.koAllowAddRemoveItems=n.observable(!0);var r=o;return r.onDeleteClick=function(e){r.koItems.remove(e)},r.onClearClick=function(e){r.koItems.removeAll()},r.onAddClick=function(){r.AddItem()},o}return r.a(t,e),t.prototype.getValueText=function(e){var t=e?e.length:0;return a.a.getString("pe.items").format(t)},t.prototype.getCorrectedValue=function(e){return null!=e&&Array.isArray(e)||(e=[]),e},t.prototype.createEditorOptions=function(){return{allowAddRemoveItems:!0}},t.prototype.onSetEditorOptions=function(e){this.koAllowAddRemoveItems(e.allowAddRemoveItems)},t.prototype.AddItem=function(){this.koItems.push(this.createNewEditorItem())},t.prototype.setupItems=function(){this.koItems(this.getItemsFromValue(this.editingValue))},t.prototype.onValueChanged=function(){this.isShowingModal&&this.setupItems()},t.prototype.setup=function(){e.prototype.setup.call(this),this.updateValue()},t.prototype.getItemsFromValue=function(e){void 0===e&&(e=null);var t=[];e||(e=this.editingValue);for(var o=0;o<e.length;o++)t.push(this.createEditorItem(e[o]));return t},Object.defineProperty(t.prototype,"isCurrentValueEmpty",{get:function(){return 0==this.koItems().length},enumerable:!0,configurable:!0}),t.prototype.onBeforeApply=function(){for(var e=[],t=this.koItems(),o=0;o<t.length;o++)e.push(this.createItemFromEditorItem(t[o]));this.setValueCore(e)},t.prototype.createNewEditorItem=function(){throw"Override 'createNewEditorItem' method"},t.prototype.createEditorItem=function(e){return e},t.prototype.createItemFromEditorItem=function(e){return e},t}(i.a)},function(e,t,o){"use strict";var r=o(3),n=o(1),i=(o.n(n),o(2)),a=(o.n(i),o(14)),s=o(0),l=o(12),d=o(16);o.d(t,"a",function(){return u}),o.d(t,"b",function(){return c});var u=function(e){function t(t){var o=e.call(this,t)||this;o.koColumnsValue=n.observable([]),o.createColumns();var r=o;return o.koEditItem=n.observable(null),o.koIsList=n.observable(!0),o.koActiveView=n.observable("form"),o.koEditItem.subscribe(function(e){r.koIsList(null==r.koEditItem()),r.onListDetailViewChanged()}),o.onEditItemClick=function(e){r.koEditItem(e)},o.onCancelEditItemClick=function(){var e=r.koEditItem();e.itemEditor&&e.itemEditor.hasError()||r.koEditItem(null)},o.koEditorName=n.computed(function(){return r.getEditorName()}),o}return r.a(t,e),Object.defineProperty(t.prototype,"canShowDisplayNameOnTop",{get:function(){return!1},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"columns",{get:function(){return this.koColumnsValue()},enumerable:!0,configurable:!0}),t.prototype.beforeShow=function(){e.prototype.beforeShow.call(this),this.koEditItem(null)},t.prototype.createColumns=function(){for(var e=[],t=this.getProperties(),o=0;o<t.length;o++)e.push(new p(t[o]));this.koColumnsValue(e)},t.prototype.getProperties=function(){return[]},t.prototype.getPropertiesNames=function(e,t){var o=[],r=d.a.getProperties(e);if(r)for(var n=0;n<r.length;n++){var i=r[n];o.push(i.name?i.name:i)}return 0==o.length&&(o=t),o},t.prototype.getPropertiesByNames=function(e,t){for(var o=[],r=0;r<t.length;r++){var n=t[r];n.name&&n.name;var a=i.JsonObject.metaData.findProperty(e,n);a&&a.visible&&o.push(a)}return o},t.prototype.getEditorName=function(){return""},t.prototype.onListDetailViewChanged=function(){},t.prototype.checkForErrors=function(){for(var t=!1,o=0;o<this.koItems().length;o++)t=t||this.koItems()[o].hasError();return e.prototype.checkForErrors.call(this)||t},t.prototype.onBeforeApply=function(){for(var t=this.koItems(),o=0;o<t.length;o++)t[o].apply();e.prototype.onBeforeApply.call(this)},t}(a.a),c=function(){function e(e,t,o){var r=this;this.obj=e,this.getColumns=t,this.koCellsValue=n.observableArray(),this.options=o,n.computed(function(){var t=r.getColumns();r.koCellsValue([]);for(var o=0;o<t.length;o++)r.koCellsValue.push(new m(e,t[o].property,r.options))})}return Object.defineProperty(e.prototype,"columns",{get:function(){return this.getColumns()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"itemEditor",{get:function(){return this.itemEditorValue||(this.itemEditorValue=this.createSurveyQuestionEditor()),this.itemEditorValue},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"cells",{get:function(){return this.koCellsValue()},enumerable:!0,configurable:!0}),e.prototype.hasError=function(){if(this.itemEditorValue&&this.itemEditorValue.hasError())return!0;for(var e=!1,t=0;t<this.cells.length;t++)e=this.cells[t].hasError||e;return e},e.prototype.resetSurveyQuestionEditor=function(){this.itemEditorValue=null},e.prototype.createSurveyQuestionEditor=function(){return null},e.prototype.apply=function(){this.itemEditorValue&&this.itemEditorValue.apply()},e}(),p=function(){function e(e){this.property=e}return Object.defineProperty(e.prototype,"text",{get:function(){var e=s.a.hasString("pel."+this.property.name)?this.getLocText("pel."):this.getLocText("pe.");return e||this.property.name},enumerable:!0,configurable:!0}),e.prototype.getLocText=function(e){return s.a.getString(e+this.property.name)},e}(),m=function(){function e(e,t,o){void 0===o&&(o=null),this.obj=e,this.property=t,this.options=o;var r=this,n=function(e,t){r.value=t};this.objectPropertyValue=new l.a(this.property,n,this.options),this.objectPropertyValue.editor.isInplaceProperty=!0,this.objectProperty.object=e}return Object.defineProperty(e.prototype,"objectProperty",{get:function(){return this.objectPropertyValue},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"editor",{get:function(){return this.objectProperty.editor},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"koValue",{get:function(){return this.objectProperty.editor.koValue},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"value",{get:function(){return this.property.getValue(this.obj)},set:function(e){this.obj[this.property.name]=e},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"hasError",{get:function(){return this.editor.hasError()},enumerable:!0,configurable:!0}),e}()},function(e,t,o){"use strict";var r=o(2);o.n(r);o.d(t,"a",function(){return n});var n=function(){function e(){}return e.getProperties=function(t){for(var o=[],r=e.getAllDefinitionsByClass(t),n=r.length-1;n>=0;n--){var i=r[n];if(i.properties)for(var a=0;a<i.properties.length;a++)i.properties[a].tab&&"general"!==i.properties[a].tab||o.push(i.properties[a])}return o},e.isGeneralTabVisible=function(t){for(var o=e.getAllDefinitionsByClass(t),r=o.length-1;r>=0;r--){var n=o[r];if(n.tabs)for(var i=0;i<n.tabs.length;i++){var a=n.tabs[i];if("general"==a.name)return!1!==a.visible}}return!0},e.getTabs=function(t){for(var o=[],r=e.getAllDefinitionsByClass(t),n={},i=0;i<r.length;i++){var a=r[i];if(a.tabs)for(var s=0;s<a.tabs.length;s++){var l=a.tabs[s];n[l.name]||(n[l.name]=!0,!1!==l.visible&&o.push(l))}}return o.sort(function(e,t){return e.index<t.index?-1:e.index>t.index?1:0}),o},e.getAllDefinitionsByClass=function(t){var o=[];if(t.indexOf("@")>-1&&e.definition[t])return o.push(e.definition[t]),o;for(;t;){var n=r.JsonObject.metaData.findClass(t);if(!n)break;e.definition[n.name]&&o.push(e.definition[n.name]),t=n.parentName}return o},e.definition={question:{properties:["name","title",{name:"visible",category:"checks"},{name:"isRequired",category:"checks"},{name:"startWithNewLine",category:"checks"}],tabs:[{name:"visibleIf",index:100},{name:"enableIf",index:110}]},comment:{properties:["rows","placeHolder"]},file:{properties:[{name:"showPreview",category:"imageChecks"},{name:"storeDataAsText",category:"imageChecks"},"maxSize","imageHeight","imageWidth"]},html:{tabs:[{name:"html",index:10}]},matrixdropdownbase:{properties:["cellType","columnsLocation"],tabs:[{name:"columns",index:10},{name:"rows",index:11},{name:"choices",index:12}]},matrixdynamic:{properties:["rowCount","addRowLocation","addRowText","removeRowText"]},matrix:{tabs:[{name:"columns",index:10},{name:"rows",index:11}]},multipletext:{properties:["colCount"],tabs:[{name:"items",index:10}]},rating:{properties:["minRateDescription","maxRateDescription"],tabs:[{name:"rateValues",index:10}]},selectbase:{properties:[{name:"hasOther",tab:"choices"},{name:"otherText",tab:"choices"},"choicesOrder","colCount"],tabs:[{name:"choices",index:10},{name:"choicesByUrl",index:11}]},"itemvalue[]@choices":{title:"Rules",tabs:[{name:"general",visible:!1},{name:"visibleIf",visible:!0},{name:"enableIf",visible:!0}]},"itemvalue[]@rows":{title:"Rules",tabs:[{name:"general",visible:!1},{name:"visibleIf",visible:!0}]},"itemvalue[]@columns":{title:"Rules",tabs:[{name:"general",visible:!1},{name:"visibleIf",visible:!0}]},checkbox:{},radiogroup:{},dropdown:{properties:["optionsCaption"]},text:{properties:["inputType","placeHolder"]},boolean:{properties:["label"]},expression:{properties:["currency","displayStyle"],tabs:[{name:"expression",index:10}]},matrixdropdowncolumn:{properties:["isRequired","cellType","name","title"]},"matrixdropdowncolumn@default":{tabs:[{name:"general",visible:!1},{name:"visibleIf",index:12},{name:"enableIf",index:20},{name:"requiredIf",index:30}]},"matrixdropdowncolumn@checkbox":{properties:["hasOther","otherText","choicesOrder","colCount"],tabs:[{name:"choices",index:10},{name:"choicesByUrl",index:11},{name:"visibleIf",index:12},{name:"enableIf",index:20},{name:"requiredIf",index:30}]},"matrixdropdowncolumn@radiogroup":{properties:["hasOther","otherText","choicesOrder","colCount"],tabs:[{name:"choices",index:10},{name:"choicesByUrl",index:11},{name:"visibleIf",index:12},{name:"enableIf",index:20},{name:"requiredIf",index:30}]},"matrixdropdowncolumn@dropdown":{properties:["hasOther","otherText","choicesOrder","optionsCaption"],tabs:[{name:"choices",index:10},{name:"choicesByUrl",index:11},{name:"visibleIf",index:12},{name:"enableIf",index:20},{name:"requiredIf",index:30}]},"matrixdropdowncolumn@text":{properties:["inputType","placeHolder","maxLength"],tabs:[{name:"validators",index:10},{name:"visibleIf",index:12},{name:"enableIf",index:20},{name:"requiredIf",index:30}]},"matrixdropdowncolumn@comment":{properties:["rows","placeHolder","maxLength"],tabs:[{name:"validators",index:10},{name:"visibleIf",index:12},{name:"enableIf",index:20},{name:"requiredIf",index:30}]},"matrixdropdowncolumn@boolean":{properties:["defaultValue"],tabs:[{name:"visibleIf",index:12},{name:"enableIf",index:20},{name:"requiredIf",index:30}]},"matrixdropdowncolumn@expression":{properties:["name","displayStyle","currency"],tabs:[{name:"expression",index:10}]},multipletextitem:{properties:["inputType","maxLength","placeHolder"],tabs:[{name:"validators",index:10}]},paneldynamic:{properties:[{name:"renderMode",category:"render"},{name:"allowAddPanel",category:"render"},{name:"allowRemovePanel",category:"render"},"panelAddText","panelRemoveText"],tabs:[{name:"templateTitle",index:10}]},panel:{properties:["name","title",{name:"visible",category:"checks"}],tabs:[{name:"visibleIf",index:100}]},page:{properties:["name","title",{name:"visible",category:"checks"},"questionsOrder"],tabs:[{name:"visibleIf",index:100}]},survey:{properties:["title","showTitle","locale","mode","clearInvisibleValues","cookieName",{name:"sendResultOnPageNext",category:"data"},{name:"storeOthersAsComment",category:"data"},{name:"showPageTitles",category:"page"},{name:"showPageNumbers",category:"page"},{name:"pagePrevText",tab:"navigation"},{name:"pageNextText",tab:"navigation"},{name:"completeText",tab:"navigation"},{name:"startSurveyText",tab:"navigation"},{name:"showNavigationButtons",tab:"navigation",category:"navbuttons"},{name:"showPrevButton",tab:"navigation",category:"navbuttons"},{name:"firstPageIsStarted",tab:"navigation",category:"navpages"},{name:"showCompletedPage",tab:"navigation",category:"navpages"},{name:"goNextPageAutomatic",tab:"navigation",category:"navopt"},{name:"showProgressBar",tab:"navigation",category:"navopt"},{name:"isSinglePage",tab:"navigation"},{name:"questionTitleLocation",tab:"question"},{name:"requiredText",tab:"question"},{name:"questionStartIndex",tab:"question"},{name:"showQuestionNumbers",tab:"question"},{name:"questionTitleTemplate",tab:"question"},{name:"questionErrorLocation",tab:"question"},{name:"focusFirstQuestionAutomatic",tab:"question"},{name:"questionsOrder",tab:"question"},{name:"maxTimeToFinish",tab:"timer"},{name:"maxTimeToFinishPage",tab:"timer"},{name:"showTimerPanel",tab:"timer",category:"check"},{name:"showTimerPanelMode",tab:"timer",category:"check"}],tabs:[{name:"navigation",index:10},{name:"question",index:20},{name:"completedHtml",index:70},{name:"loadingHtml",index:80},{name:"timer",index:90},{name:"triggers",index:100}]}},e}()},function(e,t,o){"use strict";function r(e){var t=window.getComputedStyle(e);e.style.width=n(e.value,t.font)+p+"px"}function n(e,t){var o=u||(u=document.createElement("canvas")),r=o.getContext("2d");return r.font=t,r.measureText(e).width}var i=o(1),a=(o.n(i),o(5)),s=o(0),l=o(81),d=(o.n(l),o(2));o.n(d);o.d(t,"b",function(){return m}),o.d(t,"a",function(){return h});var u,c=o(130),p=36,m=function(){function e(e,t){var o=this;this.rootElement=t,this.editingName=i.observable(),this.prevName=i.observable(),this.isEditing=i.observable(!1),this.hideEditor=function(){o.isEditing(!1),o.forNeibours(function(e){e.style.display=e.dataset.sjsOldDisplay})},this.startEdit=function(e,t){o.editingName(o.prevName()),o.isEditing(!0),o.forNeibours(function(e){e.dataset.sjsOldDisplay=e.style.display,e.style.display="none"});var n=o.rootElement.getElementsByTagName("input")[0];n.focus(),r(n)},this.postEdit=function(){o.prevName()!==o.editingName()&&(o.prevName(o.editingName()),!!o.valueChanged&&o.valueChanged(o.editingName())),o.hideEditor()},this.cancelEdit=function(){o.editingName(o.prevName()),o.hideEditor()},this.nameEditorKeypress=function(e,t){r(t.target),13===t.keyCode?o.postEdit():27===t.keyCode&&o.cancelEdit()},this.editingName(e),this.prevName(e),this.forNeibours(function(e){return e.onclick=function(e){o.startEdit(o,e),e.preventDefault()}})}return e.prototype.forNeibours=function(e){if(this.rootElement.parentElement&&this.rootElement.parentElement.parentElement)for(var t=this.rootElement.parentElement.parentElement,o=0;o<t.children.length-1;o++){var r=t.children[o];-1===r.className.indexOf("svda-custom-content")&&e(r)}},e.prototype.getLocString=function(e){return s.a.getString(e)},e}();i.components.register("title-editor",{viewModel:{createViewModel:function(e,t){var o=new m(e.model[e.name],t.element),r=d.JsonObject.metaData.findProperty(e.model.getType(),e.name);return o.valueChanged=function(t){var o={propertyName:r.name,obj:e.model,value:t,newValue:null,doValidation:!1};e.editor.onValueChangingCallback(o),t=null===o.newValue?o.value:o.newValue,e.model[e.name]=t,e.editor.onPropertyValueChanged(r,e.model,t)},o}},template:c});var h={getMarkerClass:function(e){return"title_editable"},getElementName:function(e){return"title"},afterRender:function(e,t,o){var r=document.createElement("span");r.innerHTML="<title-editor params='name: \"title\", model: model, editor: editor'></title-editor>",e[0].appendChild(r),i.applyBindings({model:t,editor:o},r),i.tasks.runEarly(),o.onAdornerRenderedCallback(t,"title",r)}};o.i(a.b)("title",h);var g={getMarkerClass:function(e){return e.items?"item_title_editable title_editable":""},getElementName:function(e){return"itemTitle"},afterRender:function(e,t,o){for(var r=0;r<e.length;r++){var n=document.createElement("span");n.innerHTML="<title-editor params='name: \"title\", model: model, editor: editor'></title-editor>",e[r].appendChild(n),i.applyBindings({model:t.items[r],editor:o},n),i.tasks.runEarly(),o.onAdornerRenderedCallback(t,"item-title",n,t.items[r])}}};o.i(a.b)("item-title",g)},function(e,t,o){"use strict";var r=o(1),n=(o.n(r),o(2)),i=(o.n(n),o(12)),a=o(6);o.d(t,"a",function(){return s});var s=function(){function e(e){void 0===e&&(e=null);var t=this;this.propertyEditorOptions=e,this.oldActiveProperty=null,this.koProperties=r.observableArray(),this.koActiveProperty=r.observable(),this.koHasObject=r.observable(),this.onPropertyValueChanged=new n.Event,this.koActiveProperty.subscribe(function(e){t.oldActiveProperty!==e&&(t.oldActiveProperty&&(t.oldActiveProperty.isActive=!1),t.oldActiveProperty=e,e&&(e.isActive=!0))});var o=this;this.koAfterRender=function(e,t){o.afterRender(e,t)}}return Object.defineProperty(e.prototype,"selectedObject",{get:function(){return this.selectedObjectValue},set:function(e){this.selectedObjectValue!=e&&(this.koHasObject(null!=e),this.selectedObjectValue=e,this.updateProperties(),this.updatePropertiesObject())},enumerable:!0,configurable:!0}),e.prototype.getPropertyEditor=function(e){for(var t=this.koProperties(),o=0;o<t.length;o++)if(t[o].name==e)return t[o];return null},e.prototype.changeActiveProperty=function(e){this.koActiveProperty(e)},e.prototype.objectChanged=function(){this.updatePropertiesObject()},e.prototype.afterRender=function(e,t){if(n.SurveyElement&&n.SurveyElement.GetFirstNonTextElement&&this.onAfterRenderCallback){var o=n.SurveyElement.GetFirstNonTextElement(e),r=e[0];"#text"===r.nodeName&&(r.data=""),r=e[e.length-1],"#text"===r.nodeName&&(r.data=""),this.onAfterRenderCallback(this.selectedObject,o,t)}},e.prototype.updateProperties=function(){var e=this;if(!this.selectedObject||!this.selectedObject.getType)return this.koProperties([]),void this.koActiveProperty(null);for(var t=n.JsonObject.metaData.getPropertiesByObj?n.JsonObject.metaData.getPropertiesByObj(this.selectedObject):n.JsonObject.metaData.getProperties(this.selectedObject.getType()),o=[],r=this,a=function(t,o){var n={property:t.property,object:t.object,newValue:o,updatedValue:null};r.onPropertyValueChanged.fire(e,n),n.updatedValue&&n.updatedValue!=n.newValue&&t.koValue(n.updatedValue)},s=[],l=0;l<t.length;l++)this.canShowProperty(t[l])&&s.push(t[l]);for(var d=function(e,t){var o=0;return r.onSortPropertyCallback&&(o=r.onSortPropertyCallback(r.selectedObject,e.property,t.property)),o||(e.displayName==t.displayName?0:e.displayName>t.displayName?1:-1)},l=0;l<s.length;l++){var u=new i.a(s[l],a,this.propertyEditorOptions);u.editor.isInplaceProperty=!0,o.push(u)}o.sort(d),this.koProperties(o);var c=this.getPropertyEditor("name");!c&&o.length>0&&(c=this.getPropertyEditor(o[0].name)),c&&this.koActiveProperty(c)},e.prototype.canShowProperty=function(e){return a.b.isPropertyVisible(this.selectedObject,e,this.onCanShowPropertyCallback)},e.prototype.updatePropertiesObject=function(){for(var e=this.koProperties(),t=0;t<e.length;t++)e[t].object=this.selectedObject},e}()},function(e,t,o){"use strict";var r=o(2),n=(o.n(r),o(1));o.n(n);o.d(t,"a",function(){return i});var i=function(){function e(){this.sheet=null,this.sheet=e.findSheet(e.SurveyJSStylesSheetId),this.sheet||(this.sheet=e.createSheet(e.SurveyJSStylesSheetId),this.initializeStyles(this.sheet))}return e.findSheet=function(e){for(var t=0;t<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode&&document.styleSheets[t].ownerNode.id===e)return document.styleSheets[t];return null},e.createSheet=function(e){var t=document.createElement("style");return t.id=e,t.appendChild(document.createTextNode("")),document.head.appendChild(t),t.sheet},e.applyTheme=function(t,o){void 0===t&&(t="default"),void 0===o&&(o=".svd_container"),e.currentTheme(t),e.applySurveyTheme(t);var r=e.findSheet(t+o);if(!r){r=e.createSheet(t+o);var n,i=e.ThemeColors[t]||e.ThemeColors.default;n=-1!==["bootstrap","bootstrapmaterial"].indexOf(t)?e[t+"ThemeCss"]:e.ThemeCss,Object.keys(n).forEach(function(e){var t=n[e];Object.keys(i).forEach(function(e){return t=t.replace(new RegExp("\\"+e,"g"),i[e])}),r.insertRule(o+e+" { "+t+" }",0)})}},e.applySurveyTheme=function(e){-1!==["bootstrap","bootstrapmaterial"].indexOf(e)?r.Survey.cssType=e:r.Survey.cssType="default",r.StylesManager.applyTheme(e)},e.prototype.initializeStyles=function(t){Object.keys(e.Styles).forEach(function(o){return t.insertRule(o+" { "+e.Styles[o]+" }",0)})},e.SurveyJSStylesSheetId="surveyjs",e.Styles={},e.ThemeColors={default:{"$primary-color":"#1ab394","$secondary-color":"#1ab394","$primary-text-color":"#676a6c","$secondary-text-color":"#a7a7a7","$inverted-text-color":"#ffffff","$primary-hover-color":"#18a689","$selection-border-color":"#1ab394","$primary-icon-color":"#3d4d5d","$primary-bg-color":"#fff","$secondary-bg-color":"#f4f4f4","$primary-border-color":"#e7eaec","$secondary-border-color":"#ddd"},orange:{"$primary-color":"#f78119","$secondary-color":"#4a4a4a","$primary-text-color":"#676a6c","$secondary-text-color":"#a7a7a7","$inverted-text-color":"#ffffff","$primary-hover-color":"#e77109","$selection-border-color":"#4a4a4a","$primary-icon-color":"#3d4d5d","$primary-bg-color":"#fff","$secondary-bg-color":"#f4f4f4","$primary-border-color":"#e7eaec","$secondary-border-color":"#ddd"},darkblue:{"$primary-color":"#3c4f6d","$secondary-color":"#3c4f6d","$primary-text-color":"#676a6c","$secondary-text-color":"#a7a7a7","$inverted-text-color":"#ffffff","$primary-hover-color":"#2c3f5d","$selection-border-color":"#4a4a4a","$primary-icon-color":"#3d4d5d","$primary-bg-color":"#fff","$secondary-bg-color":"#f4f4f4","$primary-border-color":"#e7eaec","$secondary-border-color":"#ddd"},darkrose:{"$primary-color":"#68656e","$secondary-color":"#68656e","$primary-text-color":"#676a6c","$secondary-text-color":"#a7a7a7","$inverted-text-color":"#ffffff","$primary-hover-color":"#57545e","$selection-border-color":"#4a4a4a","$primary-icon-color":"#3d4d5d","$primary-bg-color":"#fff","$secondary-bg-color":"#f4f4f4","$primary-border-color":"#e7eaec","$secondary-border-color":"#ddd"},stone:{"$primary-color":"#0f0f33","$secondary-color":"#0f0f33","$primary-text-color":"#676a6c","$secondary-text-color":"#a7a7a7","$inverted-text-color":"#ffffff","$primary-hover-color":"#000023","$selection-border-color":"#cdccd2","$primary-icon-color":"#3d4d5d","$primary-bg-color":"#fff","$secondary-bg-color":"#f4f4f4","$primary-border-color":"#e7eaec","$secondary-border-color":"#ddd"},winter:{"$primary-color":"#5ac8fa","$secondary-color":"#5ac8fa","$primary-text-color":"#676a6c","$secondary-text-color":"#a7a7a7","$inverted-text-color":"#ffffff","$primary-hover-color":"#4ad8ea","$selection-border-color":"#82b8da","$primary-icon-color":"#3d4d5d","$primary-bg-color":"#fff","$secondary-bg-color":"#f4f4f4","$primary-border-color":"#e7eaec","$secondary-border-color":"#ddd"},winterstone:{"$primary-color":"#3c3b40","$secondary-color":"#3c3b40","$primary-text-color":"#676a6c","$secondary-text-color":"#a7a7a7","$inverted-text-color":"#ffffff","$primary-hover-color":"#1c1b20","$selection-border-color":"#b8b8b8","$primary-icon-color":"#3d4d5d","$primary-bg-color":"#fff","$secondary-bg-color":"#f4f4f4","$primary-border-color":"#e7eaec","$secondary-border-color":"#ddd"}},e.ThemeCss={".svd_container":"color: $primary-text-color;",".svd_container a:focus, .svd_container select:focus, .svd_container span:focus, .svd_container div:focus, .svd_container tr:focus, .svd_container input[type='checkbox']:focus + span.checkmark":"outline-color: $primary-color;",".svd_container .svd_toolbar button:focus":"outline-color: $primary-text-color;",".svd_container a":"color: $primary-color;",".svd_container a:hover":"color: $primary-hover-color;",".svd_container .svd-main-color":"color: $primary-color;",".svd_container .svd-main-border-color":"border-color: $selection-border-color;",".svd_container .svd-main-background-color":"background-color: $primary-color;",".svd_container .svd-light-background-color":"background-color: $primary-border-color;",".svd_container .btn-primary":"color: $inverted-text-color; background-color: $secondary-color; border-color: $secondary-color;",".svd_container .btn-link":"color: $primary-text-color; background-color: $secondary-bg-color; border-color: $secondary-bg-color;",".svd_container .svd-svg-icon":"fill: $primary-icon-color;",".svd_container .svd-primary-icon .svd-svg-icon":"fill: $primary-color;",".svd_container .svd-secondary-icon .svd-svg-icon":"fill: $secondary-color;",".svd_container .icon-gearactive .svd-svg-icon":"fill: $primary-color;",".svd_container .nav-tabs a":"color: $primary-text-color",".svd_container .nav-tabs > li.active > a":"color: $primary-color",".svd_container .nav-item.active .nav-link":"background-color: $primary-bg-color;",".svd_container .sjs-cb-container:hover input ~ .checkmark":"background-color: $dd-menu-border",".svd_container .sjs-cb-container:hover input:checked ~ .checkmark":"background-color: $primary-hover-color",".svd_container .svd_custom_select:before":"background-color: $primary-color;",".svd_container .form-control:focus":"border-color: $primary-color;",".svd_container .svd-light-text-color":"color: $secondary-text-color;",".svd-light-bg-color":"background-color: $primary-bg-color;",".svd_container .svd-light-bg-color":"background-color: $primary-bg-color;",".svd_container .svd_toolbar li.active a":"background-color: $primary-color; color: $primary-bg-color;",".svd_container .svd_selected_page":"border-bottom: 1px solid $primary-bg-color;",".svd_container .editor-tabs > li > a:hover":"background-color: $secondary-bg-color; border-bottom: 1px solid $secondary-bg-color;",".svd_container .editor-tabs > li > a:focus":"background-color: $secondary-bg-color; border-bottom: 1px solid $secondary-bg-color;",".svd_container .editor-tabs > li.active > a":"color: $primary-color; background-color: $secondary-bg-color; border: 1px solid $primary-border-color; border-bottom-color: $secondary-bg-color;",".svd_container .svd-light-border-color":"border-color: $primary-border-color",".svd_container .svd-dark-border-color":"border-color: $secondary-border-color",".svd_container .select2-container--default.select2-container--open .select2-selection--single .select2-selection__arrow":"background:  $primary-color;",".svd_container .select2-container .select2-selection--single .select2-selection__arrow":"background:  $primary-color;"},e.bootstrapThemeCss={".svd_container.sv_bootstrap_css":"color: $primary-text-color;",".svd_container.sv_bootstrap_css a:focus, .svd_container.sv_bootstrap_css select:focus, .svd_container.sv_bootstrap_css span:focus, .svd_container.sv_bootstrap_css div:focus, .svd_container.sv_bootstrap_css tr:focus, .svd_container.sv_bootstrap_css input[type='checkbox']:focus + span.checkmark":"outline-color: $primary-color;",".svd_container.sv_bootstrap_css .svd_toolbar button:focus":"outline-color: $primary-text-color;",".svd_container.sv_bootstrap_css a":"color: $primary-color;",".svd_container.sv_bootstrap_css a:hover":"color: $primary-hover-color;",".svd_container.sv_bootstrap_css .svd-main-color":"color: $primary-color;",".svd_container.sv_bootstrap_css .svd-main-border-color":"border-color: $selection-border-color;",".svd_container.sv_bootstrap_css .svd-main-background-color":"background-color: $primary-color;",".svd_container.sv_bootstrap_css .svd-light-background-color":"background-color: $primary-border-color;",".svd_container.sv_bootstrap_css .btn-primary":"color: $inverted-text-color; background-color: $secondary-color; border-color: $secondary-color;",".svd_container.sv_bootstrap_css .btn-link":"color: $primary-text-color; background-color: $secondary-bg-color; border-color: $secondary-bg-color;",".svd_container.sv_bootstrap_css .svd-svg-icon":"fill: $primary-icon-color;",".svd_container.sv_bootstrap_css .svd-primary-icon .svd-svg-icon":"fill: $primary-color;",".svd_container.sv_bootstrap_css .svd-secondary-icon .svd-svg-icon":"fill: $secondary-color;",".svd_container.sv_bootstrap_css .icon-gearactive .svd-svg-icon":"fill: $primary-color;",".svd_container.sv_bootstrap_css .nav-tabs a":"color: $primary-text-color;",".svd_container.sv_bootstrap_css .nav-tabs > li.active > a":"color: $primary-color;",".svd_container.sv_bootstrap_css .nav-item.active .nav-link":"background-color: $primary-bg-color;",".svd_container.sv_bootstrap_css .sjs-cb-container:hover input ~ .checkmark":"background-color: $dd-menu-border",".svd_container.sv_bootstrap_css .sjs-cb-container:hover input:checked ~ .checkmark":"background-color: $primary-hover-color",".svd_container.sv_bootstrap_css .svd_custom_select:before":"background-color: $primary-color;",".svd_container.sv_bootstrap_css .form-control:focus":"border-color: $primary-color;",".svd_container.sv_bootstrap_css .svd-light-text-color":"color: $secondary-text-color;",".svd-light-bg-color":"background-color: $primary-bg-color;",".svd_container.sv_bootstrap_css .svd-light-bg-color":"background-color: $primary-bg-color;",".svd_container.sv_bootstrap_css .svd_toolbar li.active a":"background-color: $primary-color; color: $primary-bg-color;",".svd_container.sv_bootstrap_css .svd_selected_page":"border-bottom: 1px solid $primary-bg-color;",".svd_container.sv_bootstrap_css .editor-tabs > li > a:hover":"background-color: $secondary-bg-color; border-bottom: 1px solid $secondary-bg-color;",".svd_container.sv_bootstrap_css .editor-tabs > li > a:focus":"background-color: $secondary-bg-color; border-bottom: 1px solid $secondary-bg-color",".svd_container.sv_bootstrap_css .editor-tabs > li.active > a":"color: $primary-color; background-color: $secondary-bg-color; border: 1px solid $primary-border-color; border-bottom-color: $secondary-bg-color;",".svd_container.sv_bootstrap_css .svd-light-border-color":"border-color: $primary-border-color",".svd_container.sv_bootstrap_css .svd-dark-border-color":"border-color: $secondary-border-color",".svd_container.sv_bootstrap_css .select2-container--default.select2-container--open .select2-selection--single .select2-selection__arrow":"background:  $primary-color;",".svd_container.sv_bootstrap_css .select2-container .select2-selection--single .select2-selection__arrow":"background:  $primary-color;",".svd_container.sv_bootstrap_css .modal-tabs":"background: transparent; padding-bottom: 10px;",".svd_container.sv_bootstrap_css .modal-tabs > li > a":"color: $primary-text-color; border: 1px solid transparent;",".svd_container.sv_bootstrap_css .modal-tabs > li > a:hover":"color: $primary-color; border-bottom: 1px solid $inverted-text-color;",".svd_container.sv_bootstrap_css .modal-tabs > li > a:focus":"$primary-color; border-bottom: 1px solid $inverted-text-color;",".svd_container.sv_bootstrap_css .modal-tabs > li.active > a":"color: $primary-color; border: 1px solid $primary-border-color; border-bottom-color: $inverted-text-color;",".svd_container.sv_bootstrap_css .form-group.is-focused .form-control":"background-image: linear-gradient($primary-color, $primary-color), linear-gradient(#D2D2D2, #D2D2D2);",".svd_container.sv_bootstrap_css .form-group.is-focused label":"color:$primary-color;"},e.bootstrapmaterialThemeCss={".svd_container.sv_bootstrapmaterial_css":"color: $primary-text-color;",".svd_container.sv_bootstrapmaterial_css a":"color: $primary-color;",".svd_container.sv_bootstrapmaterial_css a:hover":"color: $primary-hover-color;",".svd_container.sv_bootstrapmaterial_css .svd-main-color":"color: $primary-color;",".svd_container.sv_bootstrapmaterial_css .svd-main-border-color":"border-color: $selection-border-color;",".svd_container.sv_bootstrapmaterial_css .svd-main-background-color":"background-color: $primary-color;",".svd_container.sv_bootstrapmaterial_css .svd-light-background-color":"background-color: $primary-border-color;",".svd_container.sv_bootstrapmaterial_css .btn-primary":"color: $inverted-text-color; background-color: $secondary-color; border-color: $secondary-color;",".svd_container.sv_bootstrapmaterial_css .btn-secondary":"background-color: $primary-border-color;",".svd_container.sv_bootstrapmaterial_css .btn-secondary:hover":"opacity: 0.8;",".svd_container.sv_bootstrapmaterial_css .btn-link":"color: $primary-text-color; background-color: $secondary-bg-color; border-color: $secondary-bg-color;",".svd_container.sv_bootstrapmaterial_css .svd-svg-icon":"fill: $primary-icon-color;",".svd_container.sv_bootstrapmaterial_css .svd-primary-icon .svd-svg-icon":"fill: $primary-color;",".svd_container.sv_bootstrapmaterial_css .svd-secondary-icon .svd-svg-icon":"fill: $secondary-color;",".svd_container.sv_bootstrapmaterial_css .icon-gearactive .svd-svg-icon":"fill: $primary-color;",".svd_container.sv_bootstrapmaterial_css .nav-tabs a":"color: $primary-text-color !important;",".svd_container.sv_bootstrapmaterial_css .nav-tabs > li.active > a":"color: $primary-color !important;",".svd_container.sv_bootstrapmaterial_css .nav-item.active .nav-link":"background-color: $primary-bg-color !important;",".svd_container.sv_bootstrapmaterial_css .sjs-cb-container:hover input ~ .checkmark":"background-color: $dd-menu-border",".svd_container.sv_bootstrapmaterial_css .sjs-cb-container:hover input:checked ~ .checkmark":"background-color: $primary-hover-color",".svd_container.sv_bootstrapmaterial_css .svd_custom_select:before":"background-color: $primary-color;",".svd_container.sv_bootstrapmaterial_css .form-control:focus":"border-color: $primary-color;",".svd_container.sv_bootstrapmaterial_css .svd-light-text-color":"color: $secondary-text-color;",".svd-light-bg-color":"background-color: $primary-bg-color;",".svd_container.sv_bootstrapmaterial_css .svd-light-bg-color":"background-color: $primary-bg-color;",".svd_container.sv_bootstrapmaterial_css .svd_toolbar li.active a":"background-color: $primary-color; color: $primary-bg-color;",".svd_container.sv_bootstrapmaterial_css .svd_selected_page":"border-bottom: 1px solid $primary-bg-color;",".svd_container.sv_bootstrapmaterial_css .editor-tabs > li > a:hover":"background-color: $secondary-bg-color !important; border-bottom: 1px solid $secondary-bg-color !important;",".svd_container.sv_bootstrapmaterial_css .editor-tabs > li > a:focus":"background-color: $secondary-bg-color !important; border-bottom: 1px solid $secondary-bg-color !important",".svd_container.sv_bootstrapmaterial_css .editor-tabs > li.active > a":"color: $primary-color !important; background-color: $secondary-bg-color !important; border: 1px solid $primary-border-color !important; border-bottom-color: $secondary-bg-color !important;",".svd_container.sv_bootstrapmaterial_css .svd-light-border-color":"border-color: $primary-border-color",".svd_container.sv_bootstrapmaterial_css .svd-dark-border-color":"border-color: $secondary-border-color",".svd_container.sv_bootstrapmaterial_css .select2-container--default.select2-container--open .select2-selection--single .select2-selection__arrow":"background:  $primary-color;",".svd_container.sv_bootstrapmaterial_css .select2-container .select2-selection--single .select2-selection__arrow":"background:  $primary-color;",".svd_container.sv_bootstrapmaterial_css .svd_properties_grid  .glyphicon-edit":"background-color: $primary-color;",".svd_container.sv_bootstrapmaterial_css .svd_properties_grid  .glyphicon-edit:hover":"background-color:  $primary-hover-color;",".svd_container.sv_bootstrapmaterial_css .modal-tabs":"background: transparent; padding-bottom: 10px;",".svd_container.sv_bootstrapmaterial_css .modal-tabs > li > a":"color: $primary-text-color !important; border: 1px solid transparent !important;",".svd_container.sv_bootstrapmaterial_css .modal-tabs > li > a:hover":"color: $primary-color !important; border-bottom: 1px solid $inverted-text-color !important;",".svd_container.sv_bootstrapmaterial_css .modal-tabs > li > a:focus":"$primary-color !important; border-bottom: 1px solid $inverted-text-color !important;",".svd_container.sv_bootstrapmaterial_css .modal-tabs > li.active > a":"color: $primary-color !important; border: 1px solid $primary-border-color !important; border-bottom-color: $inverted-text-color !important;",".svd_container.sv_bootstrapmaterial_css .form-group.is-focused .form-control":"background-image: linear-gradient($primary-color, $primary-color), linear-gradient(#D2D2D2, #D2D2D2);",".svd_container.sv_bootstrapmaterial_css .form-group.is-focused label":"color:$primary-color;"},e.currentTheme=n.observable("bootstrap"),e}()},function(e,t,o){"use strict";var r=o(3),n=o(21),i=o(2);o.n(i);o.d(t,"a",function(){return s});var a=(function(){function e(){}}(),function(e){function t(t){return e.call(this,t)||this}return r.a(t,e),Object.defineProperty(t.prototype,"isDesignMode",{get:function(){return!0},enumerable:!0,configurable:!0}),t}(i.Survey)),s=function(){function e(e){this.text=e,this.text&&""!=this.text.trim()||(this.text="{}"),this.errors=[],this.process()}return Object.defineProperty(e.prototype,"survey",{get:function(){return this.surveyValue},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"isJsonCorrect",{get:function(){return null!=this.surveyValue},enumerable:!0,configurable:!0}),e.prototype.process=function(){try{this.jsonValue=new n.a(1).parse(this.text)}catch(o){this.errors.push({pos:{start:o.at,end:-1},text:o.message})}if(null!=this.jsonValue){this.updateJsonPositions(this.jsonValue);var e=(new n.a).parse(this.text);if(this.surveyValue=new a(e),null!=this.surveyValue.jsonErrors)for(var t=0;t<this.surveyValue.jsonErrors.length;t++){var o=this.surveyValue.jsonErrors[t];this.errors.push({pos:{start:o.at,end:-1},text:o.getFullDescription()})}}this.surveyObjects=this.createSurveyObjects(),this.setEditorPositionByChartAt(this.surveyObjects),this.setEditorPositionByChartAt(this.errors)},e.prototype.updateJsonPositions=function(e){e.pos.self=e;for(var t in e){var o=e[t];o&&o.pos&&(e.pos[t]=o.pos,this.updateJsonPositions(o))}},e.prototype.createSurveyObjects=function(){var e=[];if(null==this.surveyValue)return e;this.isSurveyAsPage=!1;for(var t=0;t<this.surveyValue.pages.length;t++){var o=this.surveyValue.pages[t];0!=t||o.pos||(o.pos=this.surveyValue.pos,this.isSurveyAsPage=!0),e.push(o);for(var r=0;r<o.questions.length;r++)e.push(o.questions[r])}return e},e.prototype.setEditorPositionByChartAt=function(e){if(null!=e&&0!=e.length)for(var t={row:0,column:0},o=this.getAtArray(e),r=0,n=0;n<o.length;n++){var i=o[n].at;t=this.getPostionByChartAt(t,r,i);var a=o[n].obj;a.position||(a.position={}),i==a.pos.start?a.position.start=t:i==a.pos.end&&(a.position.end=t),r=i}},e.prototype.getPostionByChartAt=function(t,o,r){for(var n={row:t.row,column:t.column},i=o;i<r;)this.text.charAt(i)==e.newLineChar?(n.row++,n.column=0):n.column++,i++;return n},e.prototype.getAtArray=function(e){for(var t=[],o=0;o<e.length;o++){var r=e[o],n=r.pos;n&&(t.push({at:n.start,obj:r}),n.end>0&&t.push({at:n.end,obj:r}))}return t.sort(function(e,t){return e.at>t.at?1:e.at<t.at?-1:0})},e}()},function(e,t,o){"use strict";o.d(t,"a",function(){return r});var r=function(){function e(e){void 0===e&&(e=0),this.parseType=e}return e.prototype.parse=function(e,t,o,r){void 0===t&&(t=null),void 0===o&&(o=0),void 0===r&&(r=-1);var n;return this.text=String(e),this.at=o,this.endAt=r,this.ch=" ",n=this.value(),this.white(),this.ch&&this.error("Syntax error"),"function"==typeof t?function e(o,r){var n,i,a=o[r];if(a&&"object"==typeof a)for(n in a)Object.prototype.hasOwnProperty.call(a,n)&&(i=e(a,n),void 0!==i?a[n]=i:delete a[n]);return t.call(o,r,a)}({"":n},""):n},e.prototype.error=function(e){var t=new SyntaxError;throw t.message=e,t.at=this.at,t},e.prototype.next=function(e){return void 0===e&&(e=null),e&&e!==this.ch&&this.error("Expected '"+e+"' instead of '"+this.ch+"'"),this.ch=this.chartAt(),this.at+=1,this.ch},e.prototype.peek=function(){return this.chartAt()},e.prototype.chartAt=function(){return this.endAt>-1&&this.at>=this.endAt?"":this.text.charAt(this.at)},e.prototype.identifier=function(){var e=this.ch;for("_"!==this.ch&&"$"!==this.ch&&(this.ch<"a"||this.ch>"z")&&(this.ch<"A"||this.ch>"Z")&&this.error("Bad identifier");this.next()&&("_"===this.ch||"$"===this.ch||this.ch>="a"&&this.ch<="z"||this.ch>="A"&&this.ch<="Z"||this.ch>="0"&&this.ch<="9");)e+=this.ch;return e},e.prototype.number=function(){var e,t="",o="",r=10;if("-"!==this.ch&&"+"!==this.ch||(t=this.ch,this.next(this.ch)),"I"===this.ch)return e=this.word(),("number"!=typeof e||isNaN(e))&&this.error("Unexpected word for number"),"-"===t?-e:e;if("N"===this.ch)return e=this.word(),isNaN(e)||this.error("expected word to be NaN"),e;switch("0"===this.ch&&(o+=this.ch,this.next(),"x"===this.ch||"X"===this.ch?(o+=this.ch,this.next(),r=16):this.ch>="0"&&this.ch<="9"&&this.error("Octal literal")),r){case 10:for(;this.ch>="0"&&this.ch<="9";)o+=this.ch,this.next();if("."===this.ch)for(o+=".";this.next()&&this.ch>="0"&&this.ch<="9";)o+=this.ch;if("e"===this.ch||"E"===this.ch)for(o+=this.ch,this.next(),"-"!==this.ch&&"+"!==this.ch||(o+=this.ch,this.next());this.ch>="0"&&this.ch<="9";)o+=this.ch,this.next();break;case 16:for(;this.ch>="0"&&this.ch<="9"||this.ch>="A"&&this.ch<="F"||this.ch>="a"&&this.ch<="f";)o+=this.ch,this.next()}if(e="-"===t?-o:+o,isFinite(e))return e;this.error("Bad number")},e.prototype.string=function(){var t,o,r,n,i="";if('"'===this.ch||"'"===this.ch)for(r=this.ch;this.next();){if(this.ch===r)return this.next(),i;if("\\"===this.ch)if(this.next(),"u"===this.ch){for(n=0,o=0;o<4&&(t=parseInt(this.next(),16),isFinite(t));o+=1)n=16*n+t;i+=String.fromCharCode(n)}else if("\r"===this.ch)"\n"===this.peek()&&this.next();else{if("string"!=typeof e.escapee[this.ch])break;i+=e.escapee[this.ch]}else{if("\n"===this.ch)break;i+=this.ch}}this.error("Bad string")},e.prototype.inlineComment=function(){"/"!==this.ch&&this.error("Not an inline comment");do{if(this.next(),"\n"===this.ch||"\r"===this.ch)return void this.next()}while(this.ch)},e.prototype.blockComment=function(){"*"!==this.ch&&this.error("Not a block comment");do{for(this.next();"*"===this.ch;)if(this.next("*"),"/"===this.ch)return void this.next("/")}while(this.ch);this.error("Unterminated block comment")},e.prototype.comment=function(){"/"!==this.ch&&this.error("Not a comment"),this.next("/"),"/"===this.ch?this.inlineComment():"*"===this.ch?this.blockComment():this.error("Unrecognized comment")},e.prototype.white=function(){for(;this.ch;)if("/"===this.ch)this.comment();else{if(!(e.ws.indexOf(this.ch)>=0))return;this.next()}},e.prototype.word=function(){switch(this.ch){case"t":return this.next("t"),this.next("r"),this.next("u"),this.next("e"),!0;case"f":return this.next("f"),this.next("a"),this.next("l"),this.next("s"),this.next("e"),!1;case"n":return this.next("n"),this.next("u"),this.next("l"),this.next("l"),null;case"I":return this.next("I"),this.next("n"),this.next("f"),this.next("i"),this.next("n"),this.next("i"),this.next("t"),this.next("y"),1/0;case"N":return this.next("N"),this.next("a"),this.next("N"),NaN}this.error("Unexpected '"+this.ch+"'")},e.prototype.array=function(){var e=[];if("["===this.ch)for(this.next("["),this.white();this.ch;){if("]"===this.ch)return this.next("]"),e;if(","===this.ch?this.error("Missing array element"):e.push(this.value()),this.white(),","!==this.ch)return this.next("]"),e;this.next(","),this.white()}this.error("Bad array")},e.prototype.object=function(){var t,o,r=!0,n={};if(this.parseType>0&&(n[e.positionName]={start:this.at-1}),"{"===this.ch)for(this.next("{"),this.white(),o=this.at-1;this.ch;){if("}"===this.ch)return this.parseType>0&&(n[e.positionName].end=o),this.next("}"),n;if(t='"'===this.ch||"'"===this.ch?this.string():this.identifier(),this.white(),this.parseType>1&&(n[e.positionName][t]={start:o,valueStart:this.at}),this.next(":"),n[t]=this.value(),this.parseType>1&&(o=this.at-1,n[e.positionName][t].valueEnd=o,n[e.positionName][t].end=o),this.white(),","!==this.ch)return this.parseType>1&&(n[e.positionName][t].valueEnd--,n[e.positionName][t].end--),this.parseType>0&&(n[e.positionName].end=this.at-1),this.next("}"),n;this.parseType>1&&(n[e.positionName][t].valueEnd--,r||n[e.positionName][t].end--),this.next(","),this.white(),r=!1}this.error("Bad object")},e.prototype.value=function(){switch(this.white(),this.ch){case"{":return this.object();case"[":return this.array();case'"':case"'":return this.string();case"-":case"+":case".":return this.number();default:return this.ch>="0"&&this.ch<="9"?this.number():this.word()}},e.prototype.stringify=function(e,t,o){if(void 0===t&&(t=null),void 0===o&&(o=null),t&&"function"!=typeof t&&!this.isArray(t))throw new Error("Replacer must be a function or an array");this.replacer=t,this.indentStr=this.getIndent(o),this.objStack=[];var r={"":e};return void 0===e?this.getReplacedValueOrUndefined(r,"",!0):this.internalStringify(r,"",!0)},e.prototype.getIndent=function(e){if(e){if("string"==typeof e)return e;if("number"==typeof e&&e>=0)return this.makeIndent(" ",e,!0)}return""},e.prototype.getReplacedValueOrUndefined=function(e,t,o){var r=e[t];return r&&r.toJSON&&"function"==typeof r.toJSON&&(r=r.toJSON()),"function"==typeof this.replacer?this.replacer.call(e,t,r):this.replacer?o||this.isArray(e)||this.replacer.indexOf(t)>=0?r:void 0:r},e.prototype.isWordChar=function(e){return e>="a"&&e<="z"||e>="A"&&e<="Z"||e>="0"&&e<="9"||"_"===e||"$"===e},e.prototype.isWordStart=function(e){return e>="a"&&e<="z"||e>="A"&&e<="Z"||"_"===e||"$"===e},e.prototype.isWord=function(e){if("string"!=typeof e)return!1;if(!this.isWordStart(e[0]))return!1;for(var t=1,o=e.length;t<o;){if(!this.isWordChar(e[t]))return!1;t++}return!0},e.prototype.isArray=function(e){return Array.isArray?Array.isArray(e):"[object Array]"===Object.prototype.toString.call(e)},e.prototype.isDate=function(e){return"[object Date]"===Object.prototype.toString.call(e)},e.prototype.isNaN=function(e){return"number"==typeof e&&e!==e},e.prototype.checkForCircular=function(e){for(var t=0;t<this.objStack.length;t++)if(this.objStack[t]===e)throw new TypeError("Converting circular structure to JSON")},e.prototype.makeIndent=function(e,t,o){if(void 0===o&&(o=!1),!e)return"";e.length>10&&(e=e.substring(0,10));for(var r=o?"":"\n",n=0;n<t;n++)r+=e;return r},e.prototype.escapeString=function(t){return e.escapable.lastIndex=0,e.escapable.test(t)?'"'+t.replace(e.escapable,function(t){var o=e.meta[t];return"string"==typeof o?o:"\\u"+("0000"+t.charCodeAt(0).toString(16)).slice(-4)})+'"':'"'+t+'"'},e.prototype.internalStringify=function(e,t,o){var r,n,i=this.getReplacedValueOrUndefined(e,t,o);switch(i&&!this.isDate(i)&&(i=i.valueOf()),typeof i){case"boolean":return i.toString();case"number":return isNaN(i)||!isFinite(i)?"null":i.toString();case"string":return this.escapeString(i.toString());case"object":if(null===i)return"null";if(this.isArray(i)){this.checkForCircular(i),r="[",this.objStack.push(i);for(var a=0;a<i.length;a++)n=this.internalStringify(i,a,!1),r+=this.makeIndent(this.indentStr,this.objStack.length),r+=null===n||void 0===n?"null":n,a<i.length-1?r+=",":this.indentStr&&(r+="\n");this.objStack.pop(),r+=this.makeIndent(this.indentStr,this.objStack.length,!0)+"]"}else{this.checkForCircular(i),r="{";var s=!1;this.objStack.push(i);for(var l in i)if(i.hasOwnProperty(l)){var d=this.internalStringify(i,l,!1);if(o=!1,void 0!==d&&null!==d){r+=this.makeIndent(this.indentStr,this.objStack.length),s=!0;var u=this.isWord(l)?l:this.escapeString(l);r+=u+":"+(this.indentStr?" ":"")+d+","}}this.objStack.pop(),r=s?r.substring(0,r.length-1)+this.makeIndent(this.indentStr,this.objStack.length)+"}":"{}"}return r;default:return}},e.positionName="pos",e.escapee={"'":"'",'"':'"',"\\":"\\","/":"/","\n":"",b:"\b",f:"\f",n:"\n",r:"\r",t:"\t"},e.ws=[" ","\t","\r","\n","\v","\f"," ","\ufeff"],e.cx=/[\u0000\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,e.escapable=/[\\\"\x00-\x1f\x7f-\x9f\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,e.meta={"\b":"\\b","\t":"\\t","\n":"\\n","\f":"\\f","\r":"\\r",'"':'\\"',"\\":"\\\\"},e}()},function(e,t,o){"use strict";var r=o(1),n=(o.n(r),o(5)),i=o(0),a=o(78);o.n(a);o.d(t,"b",function(){return l}),o.d(t,"a",function(){return d});var s=o(127),l=function(){function e(e,t){this.question=e,this.editor=t,this.actions=r.observableArray();var o=t.survey;this.actions(o.getMenuItems(e))}return e.prototype.getStyle=function(e){return e.icon?r.unwrap(e.icon):"icon-action"+e.name},e.prototype.localize=function(e){return i.a.getString(e)},e}();r.components.register("question-actions",{viewModel:{createViewModel:function(e,t){return new l(e.question,e.editor)}},template:s});var d={getMarkerClass:function(e){return e.isPanel?"":"question_actions"},getElementName:function(e){return"mainRoot"},afterRender:function(e,t,o){var n=document.createElement("div");n.className="svda-question-actions",n.innerHTML="<question-actions params='question: model, editor: editor'></question-actions>",e[0].appendChild(n),r.applyBindings({model:t,editor:o},n),r.tasks.runEarly(),o.onAdornerRenderedCallback(t,"question-actions",n)}};o.i(n.b)("question-actions",d);var u={getMarkerClass:function(e){return e.isPanel&&"flowpanel"!==e.getType()?"panel_actions":""},getElementName:function(e){return"container"},afterRender:d.afterRender};o.i(n.b)("panel-actions",u)},function(e,t,o){"use strict";var r=o(1),n=(o.n(r),o(2));o.n(n);o.d(t,"a",function(){return a}),r.options&&(r.options.useOnlyNativeEvents=!0);var i=function(){function e(e,t,o){this.page=e,this.target=t,this.source=o,this.nestedPanelDepth=-1,e.dragDropStart(o,t)}return e.prototype.moveTo=function(e,t,o){return void 0===o&&(o=!1),this.page.dragDropMoveTo(e,t,o)},e.prototype.doDrop=function(){return this.clearCore(),this.page.dragDropFinish()},e.prototype.clear=function(){this.clearCore(),this.page.dragDropFinish(!0)},e.prototype.clearCore=function(){this.target&&this.target.koIsDragging(!1)},e}(),a=function(){function e(t,o,r){void 0===r&&(r=null),this.data=t,this.scrollableElement=null,this.ddTarget=null,this.id=e.counter++,this.isScrollStop=!0,this.readOnly=!1,this.onModifiedCallback=o,this.scrollableElement=r&&r.querySelector("#scrollableDiv"),this.prevCoordinates={x:-1,y:-1}}return e.prototype.attachToElement=function(e,t){var o=t.isPanel&&"function"==typeof t.getChildrenLayoutType&&"flow"===t.getChildrenLayoutType(),r=o&&!!window.chrome;e.style.opacity=t.koIsDragging()?.4:1,e.draggable=t.allowingOptions.allowDragging&&!o,r&&(e.onpaste=function(e,t){e.preventDefault();var o=window.clipboardData;if(o){var r=o.getData("text");if(window.getSelection){var n=window.getSelection(),i=n.getRangeAt(0);i.deleteContents(),i.insertNode(document.createTextNode(r))}}else(e.originalEvent||e).clipboardData&&(r=(e.originalEvent||e).clipboardData.getData("text/plain"),document.execCommand("insertText",!1,r));return!0}),e.ondragover=function(e){return!!t.allowingOptions.allowDragging&&(o?t.dragDropHelper().doDragDropOverFlow(e,t):e.markEvent?void 0:(e.markEvent=!0,t.dragDropHelper().doDragDropOver(e,t,!0),!1))},e.ondrop=function(e){var n=t.dragDropHelper(),i=!(o&&n.ddTarget&&n.ddTarget.source&&n.ddTarget.source.parent==t);if(r&&(!n.ddTarget||!n.ddTarget.destination||n.ddTarget.destination.isLayoutTypeSupported("flow"))){var a=e.dataTransfer.getData("text"),s=null;if(document.caretRangeFromPoint?s=document.caretRangeFromPoint(e.clientX,e.clientY):document.caretPositionFromPoint&&(s=document.caretPositionFromPoint(e.clientX,e.clientY)),s){if(i=!0,e.preventDefault(),t.isDragStarted){var l=window.getSelection();if(l&&l.rangeCount>0){var d=l.getRangeAt(0);d&&d.deleteContents()}}s.insertNode(document.createTextNode(a));var u=window.getSelection();u&&(u.removeAllRanges(),u.addRange(s))}}e.markEvent||(e.markEvent=!0,n.doDrop(e,i))},e.ondragstart=o?function(e){t.isDragStarted=!0,e.markEvent||(e.markEvent=!0,t.dragDropHelper().getData(e).text||t.dragDropHelper().startDragQuestion(e,t))}:function(e){var o=e.target||e.srcElement;return o&&o.contains&&o.contains(document.activeElement)?(e.preventDefault(),!1):!!t.allowingOptions.allowDragging&&(e.markEvent||(e.markEvent=!0,t.dragDropHelper().startDragQuestion(e,t)),void(e.cancelBubble=!0))},e.ondragend=function(e){delete t.isDragStarted,t.dragDropHelper().end()}},Object.defineProperty(e.prototype,"survey",{get:function(){return this.data},enumerable:!0,configurable:!0}),e.prototype.startDragQuestion=function(e,t){var o=(new n.JsonObject).toJsonObject(t);o.type=t.getType(),this.prepareData(e,t.name,o,t)},e.prototype.startDragToolboxItem=function(e,t,o){this.prepareData(e,t,o,null),e.cancelBubble=!0},e.prototype.isSurveyDragging=function(t){if(!t)return!1;var o=this.getData(t).text;return o&&0==o.indexOf(e.dataStart)},e.prototype.doDragDropOver=function(e,t,o){if(void 0===o&&(o=!1),e=this.isCanDragContinue(e,t)){var r=this.isBottom(e);if(t.isPage&&t.elements.length>0){var n=t.elements[t.elements.length-1];if(!this.isBottomThanElement(e,n))return;t=n,r.isEdge=!0,r.isBottom=!0}o=!t.isPanel||o&&r.isEdge,t.isPanel&&!o&&t.elements.length>0||this.ddTarget.moveTo(t,r.isBottom,o)}},e.prototype.doDragDropOverFlow=function(e,t){if(this.ddTarget){if(!(e=this.isCanDragContinue(e,t)))return!0;var o=this.isBottom(e);return this.ddTarget.moveTo(t,o.isBottom,o.isEdge)}return!0},e.prototype.isCanDragContinue=function(e,t){return e=this.getEvent(e),this.isSameCoordinates(e)?null:(this.checkScrollY(e),t&&this.isSurveyDragging(e)&&!this.isSamePlace(e,t)?e:null)},e.prototype.end=function(){this.ddTarget&&this.ddTarget.clear(),this.isScrollStop=!0,this.clearData()},Object.defineProperty(e.prototype,"isMoving",{get:function(){return this.ddTarget&&this.ddTarget.source},enumerable:!0,configurable:!0}),e.prototype.doDrop=function(e,t){if(void 0===t&&(t=!0),e.stopPropagation&&e.stopPropagation(),this.isSurveyDragging(e)&&(t&&e.preventDefault(),!this.readOnly)){var o=this.ddTarget.doDrop();this.onModifiedCallback&&this.onModifiedCallback({type:"DO_DROP",page:this.ddTarget.page,source:this.ddTarget.source,target:this.ddTarget.target,newElement:this.ddTarget.source?null:o,moveToParent:o.parent,moveToIndex:o.parent?o.parent.elements.indexOf(o):-1})}this.end()},e.prototype.doLeavePage=function(e){this.ddTarget&&this.ddTarget.moveTo(null,!1)},e.prototype.scrollToElement=function(e){this.scrollableElement&&e&&e.scrollIntoView(!1)},e.prototype.createTargetElement=function(e,t){if(!e||!t)return null;var o=null;return o=n.JsonObject.metaData.createClass(t.type),(new n.JsonObject).toObject(t,o),o.name=e,o.setSurveyImpl?o.setSurveyImpl(this.survey):o.setData(this.survey),o.renderWidth="100%",o.koIsDragging(!0),o},e.prototype.isBottom=function(t){t=this.getEvent(t);var o=t.currentTarget.clientHeight,r=t.offsetY;return t.hasOwnProperty("layerX")&&(r=t.layerY-t.currentTarget.offsetTop),{isBottom:r>o/2,isEdge:r<=e.edgeHeight||o-r<=e.edgeHeight}},e.prototype.isBottomThanElement=function(e,t){var o=t.renderedElement;if(!o)return!1;e=this.getEvent(e);var r=o.offsetTop+o.clientHeight,n=e.offsetY;return e.hasOwnProperty("layerX")&&(n=e.layerY-e.currentTarget.offsetTop),n>r},e.prototype.isSameCoordinates=function(e){var t=Math.abs(e.pageX-this.prevCoordinates.x)>5||Math.abs(e.pageY-this.prevCoordinates.y)>5;return t&&(this.prevCoordinates.x=e.pageX,this.prevCoordinates.y=e.pageY),!t},e.prototype.isSamePlace=function(t,o){var r=e.prevEvent;return!(r.element!=o||Math.abs(t.clientX-r.x)>5||Math.abs(t.clientY-r.y)>5)||(r.element=o,r.x=t.clientX,r.y=t.clientY,!1)},e.prototype.checkScrollY=function(t){if(this.scrollableElement){var o=this.getScrollableElementPosY(t);if(!(o<0)){this.isScrollStop=!0;var r=this.scrollableElement.clientHeight;o<e.ScrollOffset&&o>=0&&(this.isScrollStop=!1,this.doScrollY(-1)),r-o<e.ScrollOffset&&r>=o&&(this.isScrollStop=!1,this.doScrollY(1))}}},e.prototype.doScrollY=function(t){var o=this.scrollableElement,r=o.scrollTop+t;if(r<0)return void(this.isScrollStop=!0);o.scrollTop=r;var n=this;this.isScrollStop||setTimeout(function(){n.doScrollY(t)},e.ScrollDelay)},e.prototype.getScrollableElementPosY=function(e){if(!this.scrollableElement||!e.currentTarget)return-1;for(var t=e.currentTarget,o=0;t&&t!=this.scrollableElement;)o+=t.offsetTop,t=t.offsetParent;return e.offsetY+e.currentTarget.offsetTop-this.scrollableElement.offsetTop-this.scrollableElement.scrollTop},e.prototype.getEvent=function(e){return e.originalEvent?e.originalEvent:e},e.prototype.getY=function(e){for(var t=0;e;)t+=e.offsetTop-e.scrollTop+e.clientTop,e=e.offsetParent;return t},e.prototype.prepareData=function(t,o,r,n){var a=e.dataStart+o+"}";this.setData(t,a);var s=this.createTargetElement(o,r);this.ddTarget=new i(this.survey.currentPage,s,n),this.ddTarget.nestedPanelDepth=e.nestedPanelDepth},e.prototype.setData=function(t,o){t.originalEvent&&(t=t.originalEvent),t.dataTransfer&&(t.dataTransfer.setData("Text",o),t.dataTransfer.effectAllowed="copy"),e.dragData={text:o}},e.prototype.getData=function(t){if(t.originalEvent&&(t=t.originalEvent),t.dataTransfer){var o=t.dataTransfer.getData("Text");o&&(e.dragData.text=o)}return e.dragData},e.prototype.clearData=function(){this.ddTarget=null,e.dragData={text:"",json:null};var t=e.prevEvent;t.element=null,t.x=-1,t.y=-1,this.prevCoordinates.x=-1,this.prevCoordinates.y=-1},e.edgeHeight=20,e.nestedPanelDepth=-1,e.dataStart="{element:",e.dragData={text:"",json:null},e.prevEvent={element:null,x:-1,y:-1},e.counter=1,e.ScrollDelay=30,e.ScrollOffset=100,e}()},function(e,t,o){"use strict";o.d(t,"a",function(){return r});var r={survey:{edit:"Edit",dropQuestion:"Please drop a question here from the Toolbox on the left.",copy:"Copy",addToToolbox:"Add to toolbox",deletePanel:"Delete Panel",deleteQuestion:"Delete Question",convertTo:"Convert to",drag:"Drag element"},qt:{default:"Default",checkbox:"Checkbox",comment:"Comment",imagepicker:"Image picker",dropdown:"Dropdown",file:"File",html:"Html",matrix:"Matrix (single choice)",matrixdropdown:"Matrix (multiple choice)",matrixdynamic:"Matrix (dynamic rows)",multipletext:"Multiple Text",panel:"Panel",paneldynamic:"Panel (dynamic panels)",radiogroup:"Radiogroup",rating:"Rating",text:"Single Input",boolean:"Boolean",expression:"Expression",flowpanel:"Flow Panel"},ed:{defaultLocale:"Default ({0})",survey:"Survey",settings:"Survey Settings",editSurvey:"Edit Survey",addNewPage:"Add New Page",moveRight:"Scroll to the Right",moveLeft:"Scroll to the Left",deletePage:"Delete Page",editPage:"Edit Page",edit:"Edit",newPageName:"page",newQuestionName:"question",newPanelName:"panel",newTextItemName:"text",testSurvey:"Test Survey",testSurveyAgain:"Test Survey Again",testSurveyWidth:"Survey width: ",embedSurvey:"Embed Survey",translation:"Translation",saveSurvey:"Save Survey",designer:"Survey Designer",jsonEditor:"JSON Editor",undo:"Undo",redo:"Redo",options:"Options",generateValidJSON:"Generate Valid JSON",generateReadableJSON:"Generate Readable JSON",toolbox:"Toolbox",toolboxGeneralCategory:"General",delSelObject:"Delete selected object",editSelObject:"Edit selected object",correctJSON:"Please correct JSON.",surveyResults:"Survey Result: ",surveyResultsTable:"As Table",surveyResultsJson:"As JSON",resultsTitle:"Question Title",resultsName:"Question Name",resultsValue:"Answer Value",resultsDisplayValue:"Display Value",modified:"Modified",saving:"Saving",saved:"Saved",saveError:"Error! Editor content is not saved.",translationAddLanguage:"Select language to translate",translationShowAllStrings:"Show all strings",translationShowAllPages:"Show all pages",translationNoStrings:"No strings to translate. Please, change the filter.",translationExportToSCVButton:"Export to CSV",translationImportFromSCVButton:"Import from CSV",translationMergeLocaleWithDefault:"Merge {0} with default locale",bold:"Bold",italic:"Italic",underline:"Underline",fpAddQuestion:"Add question..."},pel:{isRequired:"Required?"},pe:{apply:"Apply",ok:"OK",cancel:"Cancel",reset:"Reset",close:"Close",delete:"Delete",addNew:"Add New",addItem:"Click to add an item...",removeAll:"Remove All",edit:"Edit",itemValueEdit:"Visible If",editChoices:"Edit Choices",move:"Move",empty:"<empty>",notEmpty:"<edit value>",fastEntry:"Fast Entry",formEntry:"Form Entry",testService:"Test the service",conditionSelectQuestion:"Select question...",conditionValueQuestionTitle:"Please enter/select the value",conditionButtonAdd:"Add",conditionButtonReplace:"Replace",conditionHelp:"Please enter a boolean expression. It should return true to keep the question/page visible. For example: {question1} = 'value1' or ({question2} * {question4}  > 20 and {question3} < 5)",expressionHelp:"Please enter an expression. You may use curly brackets to get access to the question values: '{question1} + {question2}', '({price}*{quantity}) * (100 - {discount})'",aceEditorHelp:"Press ctrl+space to get expression completion hint",aceEditorRowTitle:"Current row",aceEditorPanelTitle:"Current panel",showMore:"For more details please check the documentation",conditionShowMoreUrl:"https://surveyjs.io/Documentation/LibraryParameter?id=Question&parameter=visibleIf",assistantTitle:"Available questions:",cellsEmptyRowsColumns:"There is should be at least one column or row",propertyIsEmpty:"Please enter a value",value:"Value",text:"Text",rowid:"Row ID",imageLink:"Image Link",columnEdit:"Edit column: {0}",itemEdit:"Edit item: {0}",url:"URL",path:"Path",valueName:"Value name",titleName:"Title name",hasOther:"Has other item",otherText:"Other item text",name:"Name",title:"Title",cellType:"Cell type",colCount:"Column count",choicesOrder:"Select choices order",visible:"Is visible?",isRequired:"Is required?",startWithNewLine:"Is start with new line?",rows:"Row count",placeHolder:"Input place holder",showPreview:"Is image preview shown?",storeDataAsText:"Store file content in JSON result as text",maxSize:"Maximum file size in bytes",imageHeight:"Image height",imageWidth:"Image width",rowCount:"Row count",columnLayout:"Columns layout",addRowLocation:"Add row button location",addRowText:"Add row button text",removeRowText:"Remove row button text",minRateDescription:"Minimum rate description",maxRateDescription:"Maximum rate description",inputType:"Input type",optionsCaption:"Options caption",defaultValue:"Default value",cellsDefaultRow:"Default cells texts",surveyEditorTitle:"Edit survey settings",qEditorTitle:"Edit: {0}",maxLength:"Maximum length",showTitle:"Show/hide title",locale:"Default language",mode:"Mode (edit/read only)",clearInvisibleValues:"Clear invisible values",cookieName:"Cookie name (to disable run survey two times locally)",sendResultOnPageNext:"Send survey results on page next",storeOthersAsComment:"Store 'others' value in separate field",showPageTitles:"Show page titles",showPageNumbers:"Show page numbers",pagePrevText:"Page previous button text",pageNextText:"Page next button text",completeText:"Complete button text",startSurveyText:"Start button text",showNavigationButtons:"Show navigation buttons (default navigation)",showPrevButton:"Show previous button (user may return on previous page)",firstPageIsStarted:"The first page in the survey is a started page.",showCompletedPage:"Show the completed page at the end (completedHtml)",goNextPageAutomatic:"On answering all questions, go to the next page automatically",showProgressBar:"Show progress bar",questionTitleLocation:"Question title location",requiredText:"The question required symbol(s)",questionStartIndex:"Question start index (1, 2 or 'A', 'a')",showQuestionNumbers:"Show question numbers",questionTitleTemplate:"Question title template, default is: '{no}. {require} {title}'",questionErrorLocation:"Question error location",focusFirstQuestionAutomatic:"Focus first question on changing the page",questionsOrder:"Elements order on the page",maxTimeToFinish:"Maximum time to finish the survey",maxTimeToFinishPage:"Maximum time to finish a page in the survey",showTimerPanel:"Show timer panel",showTimerPanelMode:"Show timer panel mode",renderMode:"Render mode",allowAddPanel:"Allow adding a panel",allowRemovePanel:"Allow removing the panel",panelAddText:"Adding panel text",panelRemoveText:"Removing panel text",isSinglePage:"Show all elements on one page",tabs:{general:"General",fileOptions:"Options",html:"Html Editor",columns:"Columns",rows:"Rows",choices:"Choices",items:"Items",visibleIf:"Visible If",enableIf:"Enable If",requiredIf:"Required If",rateValues:"Rate Values",choicesByUrl:"Choices from Web",matrixChoices:"Default Choices",multipleTextItems:"Text Inputs",validators:"Validators",navigation:"Navigation",question:"Question",completedHtml:"Completed Html",loadingHtml:"Loading Html",timer:"Timer/Quiz",triggers:"Triggers",templateTitle:"Template title"},editProperty:"Edit property '{0}'",items:"[ Items: {0} ]",enterNewValue:"Please, enter the value.",noquestions:"There is no any question in the survey.",createtrigger:"Please create a trigger",triggerOn:"On ",triggerMakePagesVisible:"Make pages visible:",triggerMakeQuestionsVisible:"Make elements visible:",triggerCompleteText:"Complete the survey if succeed.",triggerNotSet:"The trigger is not set",triggerRunIf:"Run if",triggerSetToName:"Change value of: ",triggerFromName:"Copy value from: ",triggerRunExpression:"Run this Expression:",triggerSetValue:"to: ",triggerIsVariable:"Do not put the variable into the survey result."},pv:{true:"true",false:"false",inherit:"inherit",show:"show",hide:"hide",default:"default",initial:"initial",random:"random",collapsed:"collapsed",expanded:"expanded",none:"none",asc:"ascending",desc:"descending",indeterminate:"indeterminate",decimal:"decimal",currency:"currency",percent:"percent",firstExpanded:"firstExpanded",off:"off",onPanel:"onPanel",onSurvey:"onSurvey",list:"list",progressTop:"progressTop",progressBottom:"progressBottom",progressTopBottom:"progressTopBottom",horizontal:"horizontal",vertical:"vertical",top:"top",bottom:"bottom",topBottom:"top and bottom",left:"left",color:"color",date:"date",datetime:"datetime","datetime-local":"datetime-local",email:"email",month:"month",number:"number",password:"password",range:"range",tel:"tel",text:"text",time:"time",url:"url",week:"week",hidden:"hidden",on:"on",onPage:"onPage",edit:"edit",display:"display",onComplete:"onComplete",onHidden:"onHidden",all:"all",page:"page",survey:"survey",onNextPage:"onNextPage",onValueChanged:"onValueChanged"},op:{empty:"is empty",notempty:"is not empty",equal:"equals",notequal:"not equals",contains:"contains",notcontains:"not contains",greater:"greater",less:"less",greaterorequal:"greater or equals",lessorequal:"less or equals"},ew:{angular:"Use Angular version",jquery:"Use jQuery version",knockout:"Use Knockout version",react:"Use React version",vue:"Use Vue version",bootstrap:"For bootstrap framework",standard:"No bootstrap",showOnPage:"Show survey on a page",showInWindow:"Show survey in a window",loadFromServer:"Load Survey JSON from server",titleScript:"Scripts and styles",titleHtml:"HTML",titleJavaScript:"JavaScript"},ts:{selectPage:"Select the page to test it:",showInvisibleElements:"Show invisible elements"},validators:{answercountvalidator:"answer count",emailvalidator:"e-mail",expressionvalidator:"expression",numericvalidator:"numeric",regexvalidator:"regex",textvalidator:"text"},triggers:{completetrigger:"complete survey",setvaluetrigger:"set value",copyvaluetrigger:"copy value",runexpressiontrigger:"run expression",visibletrigger:"change visibility"},p:{name:"name",title:{name:"title",title:"Leave it empty, if it is the same as 'Name'"},navigationButtonsVisibility:"navigationButtonsVisibility",questionsOrder:"questionsOrder",maxTimeToFinish:"maxTimeToFinish",visible:"visible",visibleIf:"visibleIf",questionTitleLocation:"questionTitleLocation",description:"description",state:"state",isRequired:"isRequired",requiredIf:"requiredIf",indent:"indent",requiredErrorText:"requiredErrorText",startWithNewLine:"startWithNewLine",innerIndent:"innerIndent",page:"page",width:"width",commentText:"commentText",valueName:"valueName",enableIf:"enableIf",defaultValue:"defaultValue",correctAnswer:"correctAnswer",readOnly:"readOnly",validators:"validators",titleLocation:"titleLocation",hasComment:"hasComment",hasOther:"hasOther",choices:"choices",choicesOrder:"choicesOrder",choicesByUrl:"choicesByUrl",otherText:"otherText",otherErrorText:"otherErrorText",storeOthersAsComment:"storeOthersAsComment",label:"label",showTitle:"showTitle",valueTrue:"valueTrue",valueFalse:"valueFalse",cols:"cols",rows:"rows",placeHolder:"placeHolder",optionsCaption:"optionsCaption",expression:"expression",format:"format",displayStyle:"displayStyle",currency:"currency",useGrouping:"useGrouping",showPreview:"showPreview",allowMultiple:"allowMultiple",imageHeight:"imageHeight",imageWidth:"imageWidth",storeDataAsText:"storeDataAsText",maxSize:"maxSize",html:"html",columns:"columns",cells:"cells",isAllRowRequired:"isAllRowRequired",horizontalScroll:"horizontalScroll",cellType:"cellType",columnsLayout:"columnsLayout",columnColCount:"columnColCount",columnMinWidth:"columnMinWidth",rowCount:"rowCount",minRowCount:"minRowCount",maxRowCount:"maxRowCount",keyName:"keyName",keyDuplicationError:"keyDuplicationError",confirmDelete:"confirmDelete",confirmDeleteText:"confirmDeleteText",addRowLocation:"addRowLocation",addRowText:"addRowText",removeRowText:"removeRowText",items:"items",itemSize:"itemSize",colCount:"colCount",templateTitle:"templateTitle",templateDescription:"templateDescription",allowAddPanel:"allowAddPanel",allowRemovePanel:"allowRemovePanel",panelCount:"panelCount",minPanelCount:"minPanelCount",maxPanelCount:"maxPanelCount",panelsState:"panelsState",panelAddText:"panelAddText",panelRemoveText:"panelRemoveText",panelPrevText:"panelPrevText",panelNextText:"panelNextText",showQuestionNumbers:"showQuestionNumbers",showRangeInProgress:"showRangeInProgress",renderMode:"renderMode",templateTitleLocation:"templateTitleLocation",rateValues:"rateValues",rateMin:"rateMin",rateMax:"rateMax",rateStep:"rateStep",minRateDescription:"minRateDescription",maxRateDescription:"maxRateDescription",inputType:"inputType",size:"size",locale:"locale",focusFirstQuestionAutomatic:"focusFirstQuestionAutomatic",completedHtml:"completedHtml",completedBeforeHtml:"completedBeforeHtml",loadingHtml:"loadingHtml",triggers:"triggers",cookieName:"cookieName",sendResultOnPageNext:"sendResultOnPageNext",showNavigationButtons:"showNavigationButtons",showPrevButton:"showPrevButton",showPageTitles:"showPageTitles",showCompletedPage:"showCompletedPage",showPageNumbers:"showPageNumbers",questionErrorLocation:"questionErrorLocation",showProgressBar:"showProgressBar",mode:"mode",goNextPageAutomatic:"goNextPageAutomatic",checkErrorsMode:"checkErrorsMode",clearInvisibleValues:"clearInvisibleValues",startSurveyText:"startSurveyText",pagePrevText:"pagePrevText",pageNextText:"pageNextText",completeText:"completeText",requiredText:"requiredText",questionStartIndex:"questionStartIndex",questionTitleTemplate:"questionTitleTemplate",firstPageIsStarted:"firstPageIsStarted",isSinglePage:"isSinglePage",maxTimeToFinishPage:"maxTimeToFinishPage",showTimerPanel:"showTimerPanel",showTimerPanelMode:"showTimerPanelMode",defaultPanelValue:"defaultPanelValue",defaultRowValue:"defaultRowValue",hasNone:"hasNone",noneText:"noneText",text:"text",minValue:"minimum value",maxValue:"maximum value",minLength:"minimum length",maxLength:"maximum length",allowDigits:"allow digits",minCount:"minimum count",maxCount:"maximum count",regex:"regular expression"}}},function(e,t,o){"use strict";function r(e,t,o,r){void 0===r&&(r=null);var n=[],i=o.question,a=(o.questions||[]).filter(function(e){return e!==i});if(a||i instanceof s.MatrixDropdownColumn||i.data instanceof s.QuestionPanelDynamicItem)if("row"===e&&i instanceof s.MatrixDropdownColumn)n=i.colOwner.columns.filter(function(e){return e.name!==i.name}).map(function(e){return{name:"",value:"{row."+e.name+"}",some:"",meta:e.title,identifierRegex:h}});else if("panel"===e&&i.data instanceof s.QuestionPanelDynamicItem){var l=i.data.panel;n=l.elements.filter(function(e){return e.name!==i.name}).map(function(e){return{name:"",value:"{panel."+e.name+"}",some:"",meta:e.name,identifierRegex:h}})}else{var d=p.filter(function(e){return!t||-1!==e.value.indexOf(t)}),c=a.filter(function(e){return!t||-1!==e.name.indexOf(t)});i instanceof s.MatrixDropdownColumn?n.push({name:"",value:"{row.",some:"",meta:u.a.getString(u.b.pe.aceEditorRowTitle),identifierRegex:h}):i.data instanceof s.QuestionPanelDynamicItem&&n.push({name:"",value:"{panel.",some:"",meta:u.a.getString(u.b.pe.aceEditorPanelTitle),identifierRegex:h}),n=n.concat(c.map(function(e){return{completer:r,name:"",value:"{"+e.name+"}",some:"",meta:e.title,identifierRegex:h}})).concat(d.map(function(e){return{name:"",value:e.value,some:"",meta:e.title,identifierRegex:h}}))}return n}function n(e,t){if(e.completer.completions.filterText)for(var o,r=e.selection.getAllRanges(),n=0;o=r[n];n++){o.start.column-=e.completer.completions.filterText.length;var i=e.session.getTextRange(o);if(0!==i.indexOf("{")){var a=o.clone();a.start.column--,0===e.session.getTextRange(a).indexOf("{")&&(o=a)}e.session.remove(o)}e.execCommand("insertstring",t.value||t)}var i=o(3),a=o(1),s=(o.n(a),o(2)),l=(o.n(s),o(7)),d=o(4),u=o(0);o.d(t,"a",function(){return c});var c=function(e){function t(o,r,n){void 0===r&&(r="condition"),void 0===n&&(n="createCondition");var i=e.call(this,o)||this;i._type=r,i.syntaxCheckMethodName=n,i.availableOperators=[],i.showHelpText=!0,i.isValueChanging=!1,i.addConditionQuestionsHash={},i.availableOperators=d.a.getOperators(),i.koIsValid=a.observable(!0),i.koAddConditionQuestions=a.observableArray(),i.koAddConditionQuestion=a.observable(""),i.koAddConditionOperator=a.observable(""),i.koAddConditionValue=a.observable(""),i.koAddConditionType=a.observable("and"),i.koHasValueSurvey=a.observable(!1),i.koValueSurvey=a.observable(t.emptySurvey);var s=i;return i.koAddConditionQuestion.subscribe(function(e){s.onValueSurveyChanged(e,s.koAddConditionOperator())}),i.koAddConditionOperator.subscribe(function(e){s.onValueSurveyChanged(s.koAddConditionQuestion(),e)}),i.koAddConditionValue.subscribe(function(e){if(s.koHasValueSurvey()){var t=e?JSON.parse(e):{};s.isValueChanging=!0,s.koValueSurvey().setValue("question",t),s.isValueChanging=!1}}),i.koCanAddCondition=a.computed(function(){return""!=this.koAddConditionQuestion()&&void 0!=this.koAddConditionQuestion()&&""!=this.koAddConditionOperator()&&(!this.koAddContionValueEnabled()||""!=this.koAddConditionValue())},i),i.koShowAddConditionType=a.computed(function(){if(!this.koIsValid())return!1;var e=this.koTextValue();return e&&(e=e.trim()),e},i),i.koAddConditionButtonText=a.computed(function(){var e=this.koIsValid()?"conditionButtonAdd":"conditionButtonReplace";return u.a.getString("pe."+e)},i),i.koAddContionValueEnabled=a.computed(function(){return s.canShowValueByOperator(s.koAddConditionOperator())},i),i.onConditionAddClick=function(){s.addCondition()},i.resetAddConditionValues(),i}return i.a(t,e),t.prototype.beforeShow=function(){e.prototype.beforeShow.call(this),this.addConditionQuestionsHash={},this.koAddConditionQuestions(this.allConditionQuestions)},Object.defineProperty(t.prototype,"editorType",{get:function(){return this._type},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"availableQuestions",{get:function(){return this.object instanceof s.MatrixDropdownColumn?this.object.colOwner.survey.getAllQuestions():this.object&&this.object.survey&&this.object.survey.getAllQuestions()||[]},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"allConditionQuestions",{get:function(){var e=this.getConditionQuetions();return e.sort(function(e,t){return e.text.localeCompare(t.text)}),e},enumerable:!0,configurable:!0}),t.prototype.getConditionQuetions=function(){if(!this.object)return[];var e=[],t=this.availableQuestions;if(t.length>0&&t[0].addConditionObjectsByContext){for(var o=0;o<t.length;o++)this.object!=t[o]&&t[o].addConditionObjectsByContext(e,this.object);this.addConditionQuestionsHash={};for(var o=0;o<e.length;o++)this.options&&this.options.showTitlesInExpressions||(e[o].text=e[o].name),this.addConditionQuestionsHash[e[o].name]=e[o].question}else{for(var r=[],o=0;o<t.length;o++)this.addConditionQuestionNames(t[o],r);this.addMatrixColumnsToCondition(r),this.addPanelDynamicQuestionsToCondition(r);for(var o=0;o<r.length;o++)e.push({name:r[o],text:r[o]})}return!!this.options&&this.options.onConditionQuestionsGetListCallback(this.editablePropertyName,this.object,this,e),e},t.prototype.addQuestionNames=function(e,t,o){for(var r=0;r<t.length;r++)this.addConditionQuestionsHash[t[r]]=e,o.push(t[r])},t.prototype.addConditionQuestionNames=function(e,t){if(e!=this.object){var o=[];e.addConditionNames(o),this.addQuestionNames(e,o,t)}},t.prototype.addMatrixColumnsToCondition=function(e){if(this.object instanceof s.MatrixDropdownColumn&&this.object&&this.object.colOwner&&this.object.colOwner.columns)for(var t=this.object.colOwner.columns,o=0;o<t.length;o++)if(t[o]!=this.object){var r="row."+t[o].name;e.push(r),this.addConditionQuestionsHash[r]=this.object.colOwner}},t.prototype.addPanelDynamicQuestionsToCondition=function(e){if(this.object.data instanceof s.QuestionPanelDynamicItem)for(var t=this.object.data.panel,o=0;o<t.questions.length;o++){var r=t.questions[o],n=[];this.addConditionQuestionNames(r,n);for(var i=0;i<n.length;i++){var a="panel."+n[i];r.name!=this.object.name&&e.push(a),this.addConditionQuestionsHash[a]=r}}},t.prototype.onValueSurveyChanged=function(e,t){if(!(this.canShowValueByOperator(t)&&e&&this.object&&this.object.survey))return void this.koHasValueSurvey(!1);var o=this.getQuestionConditionJson(e,t);this.koHasValueSurvey(!!o&&!!o.type),this.koHasValueSurvey()&&this.koValueSurvey(this.createValueSurvey(o,e))},t.prototype.createValueSurvey=function(e,t){e.name="question",e.title=u.a.getString("pe.conditionValueQuestionTitle"),delete e.visible,delete e.visibleIf,delete e.enable,delete e.enableIf;var o={questions:[],showNavigationButtons:!1,showQuestionNumbers:"off"};o.questions.push(e);var r=new s.Survey(o),n=this;if(r.onValueChanged.add(function(e,t){n.isValueChanging||n.koAddConditionValue(JSON.stringify(t.value))}),this.options){var i=this.property?this.property.name:"";this.options.onConditionValueSurveyCreatedCallBack(t,i,this.object,this,r)}return r},t.prototype.getQuestionByName=function(e){return this.object&&this.object.survey?this.addConditionQuestionsHash[e]:null},t.prototype.getQuestionValueByName=function(e){var t=this.getQuestionByName(e);return t&&t.name!=t.getValueName()?e.replace(t.name,t.getValueName()):e},t.prototype.getQuestionConditionJson=function(e,t){var o="",r=this.getQuestionByName(e);if(!r)return null;var o=e.substr(r.name.length);o&&"."==o[0]&&(o=o.substr(1));var n=r&&r.getConditionJson?r.getConditionJson(t,o):null;return n&&("text"!==n.type||n.inputType)?n:null},t.prototype.canShowValueByOperator=function(e){return"empty"!=e&&"notempty"!=e},Object.defineProperty(t.prototype,"hasAceEditor",{get:function(){return"undefined"!=typeof ace&&void 0!==ace.require("ace/ext/language_tools")},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"addConditionQuestionOptions",{get:function(){return u.a.getString("pe.conditionSelectQuestion")},enumerable:!0,configurable:!0}),t.prototype.addCondition=function(){if(this.koCanAddCondition()){var e="";this.koShowAddConditionType()&&(e=this.koTextValue()+" "+this.koAddConditionType()+" "),e+="{"+this.getQuestionValueByName(this.koAddConditionQuestion())+"} "+this.getAddConditionOperator(),this.koAddContionValueEnabled()&&(e+=" "+this.getAddConditionValue()),this.koTextValue(e),this.resetAddConditionValues()}},t.prototype.onBeforeApply=function(){!this.koTextValue()&&this.koCanAddCondition()&&this.addCondition(),e.prototype.onBeforeApply.call(this)},t.prototype.getAddConditionOperator=function(){var e=this.koAddConditionOperator();return"equal"==e?"=":"notequal"==e?"<>":"greater"==e?">":"less"==e?"<":"greaterorequal"==e?">=":"lessorequal"==e?"<=":e},t.prototype.getAddConditionValue=function(){var e=this.koAddConditionValue();return e?"true"==e||"false"==e?e:isNaN(e)?"["==e[0]?e:(this.isQuote(e[0])||(e="'"+e),this.isQuote(e[e.length-1])||(e+="'"),e.replace(/(?!^)(['"])(?!$)/g,"\\$1")):e:e},t.prototype.isQuote=function(e){return"'"==e||'"'==e},t.prototype.onkoTextValueChanged=function(e){if(e){var t=new s.ConditionsParser;t[this.syntaxCheckMethodName](e),this.koIsValid(!t.error)}else this.koIsValid(!0)},t.prototype.resetAddConditionValues=function(){this.koAddConditionQuestion(""),this.koAddConditionOperator("equal"),this.koAddConditionValue("")},t.emptySurvey=new s.Survey,t}(l.b);d.a.registerEditor("condition",function(e){return new c(e,"condition","createCondition")}),d.a.registerEditor("expression",function(e){return new c(e,"expression","parseExpression")});var p=[{value:"and",title:"logical 'and' operator"},{value:"&&",title:"logical 'and' operator"},{value:"or",title:"logical 'or' operator"},{value:"||",title:"logical 'or' operator"},{value:"empty",title:"returns true if the left operand is empty\t{questionName} empty"},{value:"notempty",title:"returns true if the left operand is not empty\t{questionName} notempty"},{value:"=",title:"returns true if two values are equal\t{questionName} = 5, {questionName} == 'abc', {questionName} equal 124"},{value:"==",title:"returns true if two values are equal\t{questionName} = 5, {questionName} == 'abc', {questionName} equal 124"},{value:"equal",title:"returns true if two values are equal\t{questionName} = 5, {questionName} == 'abc', {questionName} equal 124"},{value:"<>",title:"returns true if two values are not equal\t{questionName} <> 5, {questionName} != 'abc', {questionName} notequal 124"},{value:"!=",title:"returns true if two values are not equal\t{questionName} <> 5, {questionName} != 'abc', {questionName} notequal 124"},{value:"notequal",title:"returns true if two values are not equal\t{questionName} <> 5, {questionName} != 'abc', {questionName} notequal 124"},{value:">",title:"returns true if the left operand greater then the second operand\t{questionName} > 2, {questionName} greater 'a'"},{value:"greater",title:"returns true if the left operand greater then the second operand\t{questionName} > 2, {questionName} greater 'a'"},{value:"<",title:"returns true if the left operand less then the second operand\t{questionName} < 2, {questionName} less 'a'"},{value:"less",title:"returns true if the left operand less then the second operand\t{questionName} < 2, {questionName} less 'a'"},{value:">=",title:"returns true if the left operand equal or greater then the second operand\t{questionName} >= 2, {questionName} greaterorequal 'a'"},{value:"greaterorequal",title:"returns true if the left operand equal or greater then the second operand\t{questionName} >= 2, {questionName} greaterorequal 'a'"},{value:"<=",title:"returns true if the left operand equal or less then the second operand\t{questionName} <= 2, {questionName} lessorequal 'a'"},{value:"lessorequal",title:"returns true if the left operand equal or less then the second operand\t{questionName} <= 2, {questionName} lessorequal 'a'"},{value:"contains",title:"return true if the left operand is an array and it contains a value of the second operand\t{questionName} contains 'a'"},{value:"notcontains",title:"return true if the left operand is an array and it does not contain a value of the second operand"}],m=function(e,t){e=e||"";var o=new Array,r=new s.ConditionsParser;if(r[t](e),e&&r.error){var n=e.substring(0,r.error.at),i=n.length-n.lastIndexOf("\n"),a={row:e.match(/\n/g)?e.match(/\n/g).length:0,column:i,text:r.error.code+" ("+i+")",type:"error"};o.push(a)}return o},h=/[a-zA-Z_0-9{\*\/\<\>\=\!\$\.\-\u00A2-\uFFFF]/;a.bindingHandlers.aceEditor={init:function(e,t){var o=t(),i=ace.require("ace/ext/language_tools"),s=ace.require("ace/autocomplete/util"),l=ace.edit(e),d=o.editor,u=!1;l.setOption("useWorker",!1),l.getSession().on("change",function(){var e=m(l.getValue(),d.syntaxCheckMethodName);u=!0,d.koTextValue(l.getValue()),u=!1,l.getSession().setAnnotations(e)});var c=function(){u||l.setValue(d.koTextValue()||"")},p=d.koTextValue.subscribe(c);c();var g={identifierRegexps:[h],insertMatch:n,getCompletions:function(e,t,n,i,a){a(null,r(s.retrievePrecedingIdentifier(t.getLine(n.row),n.column-1),i,o,g))},getDocTooltip:function(e){e.docHTML="<div style='max-width: 300px; white-space: normal;'>"+e.meta+"</div>"}};i.setCompleters([g]),l.setOptions({enableBasicAutocompletion:!0,enableLiveAutocompletion:!0}),a.utils.domNodeDisposal.addDisposeCallback(e,function(){l.destroy(),p.dispose()}),l.focus()}}},function(e,t,o){"use strict";var r=o(3),n=o(13);o.d(t,"a",function(){return i});var i=function(e){function t(t,o){void 0===o&&(o=null);var r=e.call(this,t)||this;r.isValueChanging=!1,r.widgetJSONValue=o;var n=r;return r.koAfterRender=function(e,t){n.doAfterRender(e,t)},r}return r.a(t,e),Object.defineProperty(t.prototype,"editorType",{get:function(){return"custom"},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"widgetJSON",{get:function(){return this.widgetJSONValue},enumerable:!0,configurable:!0}),t.prototype.onValueChanged=function(){this.isValueChanging||(this.isValueChanging=!0,e.prototype.onValueChanged.call(this),this.onValueChangedCallback&&this.onValueChangedCallback(this.editingValue),this.isValueChanging=!1)},Object.defineProperty(t.prototype,"widgetRender",{get:function(){return this.widgetJSON?this.widgetJSON.render:null},enumerable:!0,configurable:!0}),t.prototype.doAfterRender=function(e,t){var o=e[0];o&&this.widgetRender&&this.widgetRender(this,o)},t}(n.a)},function(e,t,o){"use strict";var r=o(3),n=o(1),i=(o.n(n),o(2)),a=(o.n(i),o(7)),s=o(0),l=o(4);o.d(t,"a",function(){return d}),o.d(t,"b",function(){return c}),o.d(t,"c",function(){return p}),o.d(t,"d",function(){return m});var d=function(e){function t(t){var o=e.call(this,t)||this;return o.koSurvey=n.observable(new i.Survey),o}return r.a(t,e),t.createJsonFromQuestion=function(e){var o=(new i.JsonObject).toJsonObject(e);return o.name=t.defaultQuestionName,o.type=e.getType(),"expression"==o.type&&(o.type="text"),o.titleLocation="hidden",o.showClearButton=!0,o.storeOthersAsComment=!1,delete o.visible,delete o.visibleIf,delete o.enable,delete o.enableIf,o},t.createSurveyFromJsonQuestion=function(e){var t={questions:[],showNavigationButtons:!1,showQuestionNumbers:"off"};return t.questions.push(e),new i.Survey(t)},t.prototype.getValueText=function(e){return e?JSON.stringify(e):s.a.getString("pe.empty")},t.prototype.beforeShow=function(){e.prototype.beforeShow.call(this),this.createSurvey()},t.prototype.onBeforeApply=function(){this.survey&&this.setValueCore(this.getSurveyResult())},Object.defineProperty(t.prototype,"editorType",{get:function(){return"value"},enumerable:!0,configurable:!0}),t.prototype.createSurvey=function(){this.survey=t.createSurveyFromJsonQuestion(this.buildQuestionJson()),this.survey.setValue(t.defaultQuestionName,this.getSurveyInitialValue()),this.koSurvey(this.survey)},t.prototype.buildQuestionJson=function(){return t.createJsonFromQuestion(this.object)},t.prototype.getSurveyInitialValue=function(){return this.editingValue},t.prototype.getSurveyResult=function(){return this.survey.getValue(t.defaultQuestionName)},t.defaultQuestionName="question",t}(a.a),u=function(e){function t(t){return e.call(this,t)||this}return r.a(t,e),Object.defineProperty(t.prototype,"editorTypeTemplate",{get:function(){return"value"},enumerable:!0,configurable:!0}),t.prototype.getSurveyInitialValue=function(){var e=this.editingValue;return e?(Array.isArray(e)||(e=[e]),e):e},t.prototype.getSurveyResult=function(){var t=e.prototype.getSurveyResult.call(this);return t&&Array.isArray(t)?0==t.length?null:t[0]:t},t}(d),c=function(e){function t(t){return e.call(this,t)||this}return r.a(t,e),t.prototype.buildQuestionJson=function(){var t=e.prototype.buildQuestionJson.call(this);return t.rowCount=1,t.minRowCount=1,t.maxRowCount=1,t.columnsLocation="vertical",t},Object.defineProperty(t.prototype,"editorType",{get:function(){return"rowvalue"},enumerable:!0,configurable:!0}),t}(u),p=function(e){function t(t){return e.call(this,t)||this}return r.a(t,e),t.prototype.buildQuestionJson=function(){var t=e.prototype.buildQuestionJson.call(this);return t.panelCount=1,t.minPanelCount=1,t.maxPanelCount=1,t},Object.defineProperty(t.prototype,"editorType",{get:function(){return"panelvalue"},enumerable:!0,configurable:!0}),t}(u),m=function(e){function t(t){return e.call(this,t)||this}return r.a(t,e),Object.defineProperty(t.prototype,"editorType",{get:function(){return"set"},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"editorTypeTemplate",{get:function(){return"value"},enumerable:!0,configurable:!0}),t.prototype.getSurveyInitialValue=function(){var e=this.editingValue;return e?(Array.isArray(e)||(e=[e]),e):e},t.prototype.buildQuestionJson=function(){var e=new i.QuestionCheckbox("q1"),t=!!i.JsonObject.metaData.findClass("tagbox");e.hasSelectAll=!t,this.property&&(e.choices=this.property.getChoices(this.object));var o=d.createJsonFromQuestion(e);return t&&(o.type="tagbox"),o},t}(d);l.a.registerEditor("value",function(e){return new d(e)}),l.a.registerEditor("rowvalue",function(e){return new c(e)}),l.a.registerEditor("panelvalue",function(e){return new p(e)}),l.a.registerEditor("set",function(e){return new m(e)})},function(e,t,o){"use strict";var r=o(0),n=o(2),i=(o.n(n),o(12)),a=o(6);o.d(t,"c",function(){return s}),o.d(t,"b",function(){return l}),o.d(t,"a",function(){return d});var s=function(){function e(e,t,o,n,a){void 0===n&&(n=null),void 0===a&&(a=!1),this.obj=e,this.property=t;this.objectPropertyValue=new i.a(this.property,null),this.editor.isTabProperty=a,this.editor.options=n,o||(o=r.a.getString("pe."+this.property.name)),o&&(this.editor.displayName=o),this.objectProperty.object=e,this.editor.setup()}return Object.defineProperty(e.prototype,"objectProperty",{get:function(){return this.objectPropertyValue},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"editor",{get:function(){return this.objectProperty.editor},enumerable:!0,configurable:!0}),e.prototype.hasError=function(){return this.editor.hasError()},e.prototype.apply=function(){return!!this.editor.apply()&&(this.obj[this.property.name]=this.editor.koValue(),!0)},e.prototype.reset=function(){this.editor.koValue(this.property.getPropertyValue(this.obj))},e.prototype.beforeShow=function(){this.editor.beforeShow()},e}(),l=function(){function e(e){this.obj=e,this.properties=[]}return e.prototype.addProperty=function(e,t,o,r){this.properties.push(new s(this.obj,e,t,o,r))},e.prototype.hasError=function(){for(var e=!1,t=0;t<this.properties.length;t++)e=this.properties[t].hasError()||e;return e},e}(),d=function(){function e(e,t,o,r,i){void 0===o&&(o=null),void 0===r&&(r=null),void 0===i&&(i=null),this.obj=e,this.options=r,this.tab=i,this.isTabProperty=!1,this.rows=[],this.isTabProperty=!!i,this.onCanShowPropertyCallback=o,this.properties=n.JsonObject.metaData.getPropertiesByObj?n.JsonObject.metaData.getPropertiesByObj(this.obj):n.JsonObject.metaData.getProperties(this.obj.getType()),this.buildRows(t)}return e.prototype.apply=function(){var e=!0;return this.performForAllProperties(function(t){return e=t.apply()&&e}),e},e.prototype.reset=function(){this.performForAllProperties(function(e){return e.reset()})},e.prototype.beforeShow=function(){this.performForAllProperties(function(e){return e.beforeShow()})},e.prototype.hasError=function(){for(var e=!1,t=0;t<this.rows.length;t++)e=this.rows[t].hasError()||e;return e},e.prototype.performForAllProperties=function(e){for(var t=0;t<this.rows.length;t++)for(var o=0;o<this.rows[t].properties.length;o++){var r=this.rows[t].properties[o];e(r)}},e.prototype.buildRows=function(e){for(var t=0;t<e.length;t++){var o=this.getName(e[t]),r=this.getProperty(o);if(r){var n=this.getRowByCategory(e[t].category);n||(n=new l(this.obj),e[t].category&&(n.category=e[t].category),this.rows.push(n)),n.addProperty(r,e[t].title,this.options,1===e.length&&this.isTabProperty)}}},e.prototype.getName=function(e){return e?"string"==typeof e?e:e.name?e.name:null:null},e.prototype.getRowByCategory=function(e){if(!e)return null;for(var t=0;t<this.rows.length;t++)if(this.rows[t].category==e)return this.rows[t];return null},e.prototype.getProperty=function(e){if(!e)return null;for(var t=null,o=0;o<this.properties.length;o++)if(this.properties[o].name==e){t=this.properties[o];break}return t?this.tab&&t.name==this.tab.name&&!0===this.tab.visible?t:a.b.isPropertyVisible(this.obj,t,this.onCanShowPropertyCallback)?t:null:null},e}()},function(e,t,o){"use strict";var r=o(1),n=(o.n(r),o(2)),i=(o.n(n),o(0));o.d(t,"a",function(){return a});var a=function(){function e(e){void 0===e&&(e=null),this.supportedQuestions=e,this._orderedQuestions=["text","checkbox","radiogroup","dropdown","comment","rating","imagepicker","boolean","html"],this._questionDefaultSettings={imagepicker:function(){return{choices:[{value:"lion",imageLink:"https://surveyjs.io/Content/Images/examples/image-picker/lion.jpg"},{value:"giraffe",imageLink:"https://surveyjs.io/Content/Images/examples/image-picker/giraffe.jpg"},{value:"panda",imageLink:"https://surveyjs.io/Content/Images/examples/image-picker/panda.jpg"},{value:"camel",imageLink:"https://surveyjs.io/Content/Images/examples/image-picker/camel.jpg"}]}}},this.copiedItemMaxCount=3,this.allowExpandMultipleCategoriesValue=!1,this.itemsValue=[],this.koItems=r.observableArray(),this.koCategories=r.observableArray(),this.koActiveCategory=r.observable(""),this.koHasCategories=r.observable(!1),this.createDefaultItems(e);var t=this;this.koActiveCategory.subscribe(function(e){for(var o=0;o<t.koCategories().length;o++){var r=t.koCategories()[o];r.koCollapsed(r.name!==e)}})}return Object.defineProperty(e.prototype,"orderedQuestions",{get:function(){return this._orderedQuestions},set:function(e){this._orderedQuestions=e,this.reorderItems()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"jsonText",{get:function(){return JSON.stringify(this.itemsValue)},set:function(e){this.itemsValue=e?JSON.parse(e):[],this.onItemsChanged()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"copiedJsonText",{get:function(){return JSON.stringify(this.copiedItems)},set:function(e){var t=e?JSON.parse(e):[];this.clearCopiedItems();for(var o=0;o<t.length;o++)t[o].isCopied=!0,this.addItem(t[o])},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"items",{get:function(){return this.itemsValue},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"copiedItems",{get:function(){for(var e=[],t=0;t<this.itemsValue.length;t++)this.itemsValue[t].isCopied&&e.push(this.itemsValue[t]);return e},enumerable:!0,configurable:!0}),e.prototype.addItems=function(e,t){void 0===t&&(t=!1),t&&this.clearItems();for(var o=0;o<e.length;o++)this.itemsValue.push(e[o]);this.onItemsChanged()},e.prototype.addCopiedItem=function(e,t){void 0===t&&(t=null),t||(t={});var o=t.name?t.name:e.name,r=t.title?t.title:o,n={name:o,title:r,isCopied:!1!==t.isCopied,iconName:t.iconName?t.iconName:"icon-default",json:t.json?t.json:this.getQuestionJSON(e),category:t.category?t.category:""};if(!this.replaceItem(n)){var i=this.copiedItems;this.copiedItemMaxCount>0&&i.length==this.copiedItemMaxCount&&this.removeItem(i[this.copiedItemMaxCount-1].name),this.addItem(n)}},e.prototype.addItem=function(e){this.itemsValue.push(e),this.onItemsChanged()},e.prototype.replaceItem=function(e){var t=this.indexOf(e.name);if(!(t<0))return this.itemsValue[t]=e,this.onItemsChanged(),!0},e.prototype.removeItem=function(e){var t=this.indexOf(e);return!(t<0)&&(this.itemsValue.splice(t,1),this.onItemsChanged(),!0)},e.prototype.clearItems=function(){this.itemsValue=[],this.onItemsChanged()},e.prototype.clearCopiedItems=function(){for(var e=this.copiedItems,t=0;t<e.length;t++)this.removeItem(e[t].name)},e.prototype.getItemByName=function(e){var t=this.indexOf(e);return t>-1?this.itemsValue[t]:null},Object.defineProperty(e.prototype,"allowExpandMultipleCategories",{get:function(){return this.allowExpandMultipleCategoriesValue},set:function(e){this.allowExpandMultipleCategoriesValue=e,e?this.activeCategory="":this.koCategories().length>0&&(this.activeCategory=this.koCategories()[0].name)},enumerable:!0,configurable:!0}),e.prototype.changeCategory=function(e,t){this.changeCategories([{name:e,category:t}])},e.prototype.changeCategories=function(e){for(var t=0;t<e.length;t++){var o=e[t],r=this.getItemByName(o.name);r&&(r.category=o.category)}this.onItemsChanged()},Object.defineProperty(e.prototype,"activeCategory",{get:function(){return this.koActiveCategory()},set:function(e){this.koActiveCategory(e)},enumerable:!0,configurable:!0}),e.prototype.doCategoryClick=function(e){if(this.allowExpandMultipleCategories){var t=this.getCategoryByName(e);t&&t.koCollapsed(!t.koCollapsed())}else this.activeCategory=e},e.prototype.expandCategory=function(e){if(this.allowExpandMultipleCategories){var t=this.getCategoryByName(e);t&&t.koCollapsed(!1)}else this.activeCategory=e},e.prototype.collapseCategory=function(e){if(this.allowExpandMultipleCategories){var t=this.getCategoryByName(e);t&&t.koCollapsed(!0)}},e.prototype.expandAllCategories=function(){this.expandCollapseAllCategories(!1)},e.prototype.collapseAllCategories=function(){this.expandCollapseAllCategories(!0)},e.prototype.expandCollapseAllCategories=function(e){for(var t=this.koCategories(),o=0;o<t.length;o++)t[o].koCollapsed(e)},e.prototype.getCategoryByName=function(e){for(var t=this.koCategories(),o=0;o<t.length;o++){var r=t[o];if(r.name===e)return r}return null},e.prototype.onItemsChanged=function(){this.koItems([]),this.koItems(this.itemsValue);for(var e=[],t={},o=this.koActiveCategory(),n=this,a=0;a<this.itemsValue.length;a++){var s=this.itemsValue[a],l=s.category?s.category:i.a.getString("ed.toolboxGeneralCategory");if(!t[l]){var d={name:l,items:[],koCollapsed:r.observable(l!==o),expand:function(){n.doCategoryClick(this.name)}};t[l]=d,e.push(d)}t[l].items.push(s)}this.koCategories(e),this.allowExpandMultipleCategories?e.length>0&&e[0].koCollapsed(!1):o&&t[o]?this.koActiveCategory(o):this.koActiveCategory(e.length>0?e[0].name:""),this.koHasCategories(e.length>1)},e.prototype.indexOf=function(e){for(var t=0;t<this.itemsValue.length;t++)if(this.itemsValue[t].name==e)return t;return-1},e.prototype.reorderItems=function(){var e=this;this.itemsValue.sort(function(t,o){var r=e._orderedQuestions.indexOf(t.name);-1===r&&(r=Number.MAX_VALUE);var n=e._orderedQuestions.indexOf(o.name);return-1===n&&(n=Number.MAX_VALUE),r-n}),this.onItemsChanged()},e.prototype.createDefaultItems=function(e){this.clearItems();for(var t=this.getQuestionTypes(e),o=0;o<t.length;o++){var r=t[o],a=n.ElementFactory.Instance.createElement(r,"q1");a||(a=n.JsonObject.metaData.createClass(r));var s=this.getQuestionJSON(a),l={name:r,iconName:"icon-"+r,title:i.a.getString("qt."+r),json:s,isCopied:!1,category:""};this.itemsValue.push(l)}this.registerCustomWidgets(),this.onItemsChanged()},e.prototype.registerCustomWidgets=function(){var e=n.CustomWidgetCollection.Instance;if(e.getActivatedBy)for(var t=e.widgets,o=0;o<t.length;o++)if("customtype"==e.getActivatedBy(t[o].name)){var r=t[o].widgetJson;if(r.widgetIsLoaded&&r.widgetIsLoaded()){var a=r.iconName?r.iconName:"icon-default",s=i.a.getString("qt."+r.name);s&&s!=r.name||(s=r.title),s||(s=r.name);var l=r.defaultJSON?r.defaultJSON:{};l.type||(l.type=r.name);var d={name:r.name,iconName:a,title:s,json:l,isCopied:!1,category:""};this.itemsValue.push(d)}}},e.prototype.getQuestionJSON=function(e){var t=(new n.JsonObject).toJsonObject(e);if(t.type=e.getType(),this._questionDefaultSettings[t.type]){var o=this._questionDefaultSettings[t.type]();for(var r in o)t[r]=o[r]}return t},e.prototype.getQuestionTypes=function(e){var t=n.ElementFactory.Instance.getAllTypes();e&&0!=e.length||(e=t);for(var o=[],r=0;r<this.orderedQuestions.length;r++){var i=this.orderedQuestions[r];e.indexOf(i)>-1&&t.indexOf(i)>-1&&o.push(i)}for(var r=0;r<e.length;r++){var i=e[r];o.indexOf(e[r])<0&&t.indexOf(i)>-1&&o.push(i)}return o},e}()},function(e,t,o){"use strict";function r(){for(var e=n.JsonObject.metaData.getChildrenClasses("selectbase",!0),t=0;t<e.length;t++)for(var o=0;o<e.length;o++)t!=o&&i.addConvertInfo(e[t].name,e[o].name);i.addConvertInfo("text","comment"),i.addConvertInfo("comment","text")}var n=o(2);o.n(n);o.d(t,"a",function(){return i});var i=function(){function e(){}return e.addConvertInfo=function(t,o){e.convertInfo[t]||(e.convertInfo[t]=[]),e.convertInfo[t].push(o)},e.getConvertToClasses=function(t){var o=e.convertInfo[t];return o||[]},e.convertObject=function(e,t){if(!e||!e.parent||t==e.getType())return null;var o=n.QuestionFactory.Instance.createQuestion(t,e.name),r=new n.JsonObject,i=r.toJsonObject(e);r.toObject(i,o);var a=e.parent,s=a.elements.indexOf(e);return a.removeElement(e),a.addElement(o,s),o},e.convertInfo={},e}();r()},function(e,t,o){"use strict";var r=o(1),n=(o.n(r),o(2)),i=(o.n(n),o(21));o.d(t,"a",function(){return a});var a=function(){function e(){this.surveyId=null,this.surveyPostId=null,this.generateValidJSON=!1,this.surveyJSVersion=n.Version,this.surveyCDNPath="https://surveyjs.azureedge.net/",this.platformSurveyJSPrefix={angular:"angular",jquery:"jquery",knockout:"ko",react:"react",vue:"vue"},this.platformJSonPage={angular:"@Component({\n  selector: 'ng-app',\n        template: \n        <div id='surveyElement'></div>\",\n})\nexport class AppComponent {\n    ngOnInit() {\n        var survey = new Survey.Model(surveyJSON);\n        survey.onComplete.add(sendDataToServer);\n       Survey.SurveyNG.render(\"surveyElement\", { model: survey });\n    }\n}",jquery:'var survey = new Survey.Model(surveyJSON);\n$("#surveyContainer").Survey({\n    model: survey,\n    onComplete: sendDataToServer\n});',knockout:'var survey = new Survey.Model(surveyJSON, "surveyContainer");\nsurvey.onComplete.add(sendDataToServer);',react:'ReactDOM.render(\n    <Survey.Survey json={ surveyJSON } onComplete={ sendDataToServer } />, document.getElementById("surveyContainer"));',vue:"var survey = new Survey.Model(surveyJSON);\nnew Vue({ el: '#surveyContainer', data: { survey: survey } });"},this.platformJSonWindow={angular:"@Component({\n  selector: 'ng-app',\n        template: \n        <div id='surveyElement'></div>\",\n})\nexport class AppComponent {\n    ngOnInit() {\n        var survey = new Survey.Model(surveyJSON);\n        survey.onComplete.add(sendDataToServer);\n       Survey.SurveyWindowNG.render(\"surveyElement\", { model: survey });\n    }\n}",jquery:'var survey = new Survey.Model(surveyJSON);\n$("#surveyContainer").SurveyWindow({\n    model: survey,\n    onComplete: sendDataToServer\n});',knockout:"var survey = new Survey.Model(surveyJSON);\nsurveyWindow.show();\nsurvey.onComplete.add(sendDataToServer);",react:'ReactDOM.render(\n    <Survey.SurveyWindow json={ surveyJSON } onComplete={ sendDataToServer } />, document.getElementById("surveyContainer"));',vue:""},this.platformHtmlonPage={angular:"<ng-app></ng-app>",jquery:'<div id="surveyContainer"></div>',knockout:'<div id="surveyContainer"></div>',react:'<div id="surveyContainer"></div>',vue:'<div id="surveyContainer"><survey :survey="survey"></survey></div>'},this.platformHtmlonWindow={angular:"<ng-app></ng-app>",jquery:'<div id="surveyContainer"></div>',knockout:"",react:'<div id="surveyContainer"></div>',vue:"<div id='surveyContainer'><survey-window :survey='survey'></survey-window></div>"};var e=this;this.koLibraryVersion=r.observable("jquery"),this.koShowAsWindow=r.observable("page"),this.koScriptUsing=r.observable("bootstrap"),this.koHasIds=r.observable(!1),this.koLoadSurvey=r.observable(!1),this.koHeadText=r.observable(""),this.koJavaText=r.observable(""),this.koBodyText=r.observable(""),this.koVisibleHtml=r.computed(function(){return"page"==e.koShowAsWindow()||""!=e.platformHtmlonWindow[e.koLibraryVersion()]}),this.koLibraryVersion.subscribe(function(t){e.setHeadText(),e.setJavaTest(),e.setBodyText()}),this.koShowAsWindow.subscribe(function(t){e.setJavaTest(),e.setBodyText()}),this.koScriptUsing.subscribe(function(t){e.setHeadText(),e.setJavaTest()}),this.koLoadSurvey.subscribe(function(t){e.setJavaTest()}),this.surveyEmbedingHead=null}return Object.defineProperty(e.prototype,"json",{get:function(){return this.jsonValue},set:function(e){this.jsonValue=e},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"hasAceEditor",{get:function(){return"undefined"!=typeof ace},enumerable:!0,configurable:!0}),e.prototype.show=function(){this.hasAceEditor&&null==this.surveyEmbedingHead&&(this.surveyEmbedingHead=this.createEditor("surveyEmbedingHead"),this.surveyEmbedingBody=this.createEditor("surveyEmbedingBody"),this.surveyEmbedingJava=this.createEditor("surveyEmbedingJava")),this.koHasIds(this.surveyId&&this.surveyPostId),this.setBodyText(),this.setHeadText(),this.setJavaTest()},e.prototype.setBodyText=function(){this.setTextToEditor(this.surveyEmbedingBody,this.koBodyText,this.platformHtmlonPage[this.koLibraryVersion()])},Object.defineProperty(e.prototype,"getCDNPath",{get:function(){return this.surveyCDNPath+this.surveyJSVersion+"/"},enumerable:!0,configurable:!0}),e.prototype.setHeadText=function(){var e="\x3c!-- Your platform ("+this.koLibraryVersion()+") scripts. --\x3e\n";"bootstrap"!=this.koScriptUsing()&&(e+='\n<link href="'+this.getCDNPath+'survey.css" type="text/css" rel="stylesheet" />'),e+='\n<script src="'+this.getCDNPath+"survey."+this.platformSurveyJSPrefix[this.koLibraryVersion()]+'.min.js"><\/script>',this.setTextToEditor(this.surveyEmbedingHead,this.koHeadText,e)},e.prototype.setJavaTest=function(){this.setTextToEditor(this.surveyEmbedingJava,this.koJavaText,this.getJavaText())},e.prototype.createEditor=function(e){var t=ace.edit(e);return t.setTheme("ace/theme/monokai"),t.session.setMode("ace/mode/json"),t.setShowPrintMargin(!1),t.renderer.setShowGutter(!1),t.setReadOnly(!0),t},e.prototype.getJavaText=function(){var e="page"==this.koShowAsWindow(),t=this.getSaveFunc()+"\n\n";t+=e?this.platformJSonPage[this.koLibraryVersion()]:this.platformJSonWindow[this.koLibraryVersion()];var o="var surveyJSON = "+this.getJsonText()+"\n\n";return this.getSetCss()+"\n"+o+t},e.prototype.getSetCss=function(){return"bootstrap"!=this.koScriptUsing()?"":'Survey.Survey.cssType = "bootstrap";\n'},e.prototype.getSaveFunc=function(){return"function sendDataToServer(survey) {\n"+this.getSaveFuncCode()+"\n}"},e.prototype.getSaveFuncCode=function(){return this.koHasIds()?"    survey.sendResult('"+this.surveyPostId+"');":'    //send Ajax request to your web server.\n    alert("The results are:" + JSON.stringify(survey.data));'},e.prototype.getJsonText=function(){return this.koHasIds()&&this.koLoadSurvey()?"{ surveyId: '"+this.surveyId+"'}":this.generateValidJSON?JSON.stringify(this.json):(new i.a).stringify(this.json)},e.prototype.setTextToEditor=function(e,t,o){e&&e.setValue(o),t&&t(o)},e}()},function(e,t,o){"use strict";var r=o(1),n=(o.n(r),o(6)),i=o(0);o.d(t,"a",function(){return s});var a=function(){function e(){this.level=0}return e}(),s=function(){function e(e,t,o){void 0===o&&(o=!1),this.koObjects=e,this.koSelected=t,this.showObjectTitles=o}return Object.defineProperty(e.prototype,"survey",{get:function(){return this.surveyValue},set:function(e){this.survey!=e&&(this.surveyValue=e,this.rebuild())},enumerable:!0,configurable:!0}),e.prototype.addPage=function(e){this.addElement(e,null)},e.prototype.addElement=function(e,t){var o=null!=t?this.getItemIndex(t):0;if(!(o<0)){var r=null!=t?this.getElements(t):this.survey.pages,n=r.indexOf(e),i=n+1+o;if(n>0){var a=r[n-1];i=this.getItemIndex(a)+this.getAllElementCount(a)+1}var s=this.createItem(e,this.koObjects()[o]);this.addItem(s,i);var l=[];this.buildElements(l,this.getElements(e),s);for(var d=0;d<l.length;d++)this.koObjects.splice(i+1+d,0,l[d]);this.koSelected(s)}},e.prototype.selectObject=function(e){for(var t=this.koObjects(),o=0;o<t.length;o++)if(t[o].value==e)return void this.koSelected(t[o])},e.prototype.getSelectedObjectPage=function(e){if(void 0===e&&(e=null),!this.survey)return null;if(!e){if(!this.koSelected())return;e=this.koSelected().value}for(var t=this.koObjects(),o=this.getItemIndex(e);o>0;){var r=t[o];if(1==r.level)return r.value;o--}return null},e.prototype.removeObject=function(e){var t=this.getItemIndex(e);if(!(t<0)){var o=1+this.getAllElementCount(e);this.koObjects.splice(t,o)}},e.prototype.nameChanged=function(e){var t=this.getItemIndex(e);t<0||this.koObjects()[t].text(this.getText(this.koObjects()[t]))},e.prototype.selectNextQuestion=function(e){var t=this.getSelectedQuestion(),o=this.getItemIndex(t);if(o<0)return t;var r=this.koObjects(),i=o+(e?-1:1);if(i<r.length&&n.b.getObjectType(r[i].value)==n.a.Question)o=i;else for(i=o;i<r.length&&n.b.getObjectType(r[i].value)==n.a.Question;)o=i,i+=e?1:-1;this.koSelected(r[o])},e.prototype.getAllElementCount=function(e){for(var t=this.getElements(e),o=0,r=0;r<t.length;r++)o+=1+this.getAllElementCount(t[r]);return o},e.prototype.getSelectedQuestion=function(){if(!this.koSelected())return null;var e=this.koSelected().value;return e&&n.b.getObjectType(e)==n.a.Question?e:null},e.prototype.addItem=function(e,t){t>this.koObjects().length?this.koObjects.push(e):this.koObjects.splice(t,0,e)},e.prototype.rebuild=function(){var e=[];if(null==this.survey)return this.koObjects(e),void this.selectObject(null);var t=this.createItem(this.survey,null);e.push(t);for(var o=0;o<this.survey.pages.length;o++){var r=this.survey.pages[o],n=this.createItem(r,t);e.push(n),this.buildElements(e,this.getElements(r),n)}this.koObjects(e),this.selectObject(this.survey)},e.prototype.getElements=function(e){return n.b.getElements(e)},e.prototype.buildElements=function(e,t,o){for(var r=0;r<t.length;r++){var n=t[r],i=this.createItem(n,o);e.push(i),this.buildElements(e,this.getElements(n),i)}},e.prototype.createItem=function(e,t){var o=new a;return o.value=e,o.level=null!=t?t.level+1:0,o.text=r.observable(this.getText(o)),o},e.prototype.getItemIndex=function(e){if(!e)return-1;e.selectedElementInDesign&&(e=e.selectedElementInDesign);for(var t=this.koObjects(),o=0;o<t.length;o++)if(t[o].value==e)return o;return-1},e.prototype.getText=function(t){if(0==t.level)return i.a.getString("ed.survey");for(var o=e.intend,r=1;r<t.level;r++)o+=e.intend;var a=n.b.getObjectName(t.value,this.showObjectTitles);return this.getItemTextCallback&&(a=this.getItemTextCallback(t.value,a)),o+a},e.intend=".",e}()},function(e,t,o){"use strict";var r=o(1),n=(o.n(r),o(6)),i=o(0),a=o(2);o.n(a);o.d(t,"a",function(){return s});var s=function(){function e(){this.koIsRunning=r.observable(!0),this.koResultText=r.observable(""),this.koResultData=r.observableArray(),this.koResultViewType=r.observable("table"),this.koPages=r.observableArray([]),this.koActivePage=r.observable(null),this.showObjectTitles=!1,this.koShowPagesInTestSurveyTab=r.observable(!0),this.koShowDefaultLanguageInTestSurveyTab=r.observable(!0),this.koShowInvisibleElementsInTestSurveyTab=r.observable(!0);var e=this;this.selectTestClick=function(){e.testAgain()},this.selectPageClick=function(t){e.survey&&("starting"==e.survey.state&&e.survey.start(),e.survey.currentPage=t.page)},this.koActivePage.subscribe(function(t){t&&(e.survey.currentPage=t)}),this.setPageDisable=function(e,t){r.applyBindingsToNode(e,{disable:t.koDisabled},t)},this.koLanguages=r.observable(this.getLanguages()),this.koActiveLanguage=r.observable(""),this.koActiveLanguage.subscribe(function(t){e.survey.locale!=t&&(e.survey.locale=t,e.koSurvey(e.survey))}),this.survey=new a.Survey,this.koSurvey=r.observable(this.survey)}return e.prototype.setJSON=function(e){this.json=e,null!=e&&e.cookieName&&delete e.cookieName,this.survey=e?new a.Survey(e):new a.Survey,this.onSurveyCreatedCallback&&this.onSurveyCreatedCallback(this.survey);var t=this;this.survey.onComplete.add(function(e){t.koIsRunning(!1),t.koResultText(JSON.stringify(t.survey.data,null,4));var o=function(e){return e.forEach(function(e){e&&e.isNode&&(e.collapsed=r.observable(!0),e.data=o(e.data||[]))}),e.filter(function(e){return!!e})},n=t.survey.getPlainData({includeEmpty:!1});n=o(n),t.koResultData(n)}),this.survey.onStarted.add(function(e){t.setActivePageItem(t.survey.currentPage,!0)}),this.survey.onCurrentPageChanged.add(function(e,o){t.koActivePage(o.newCurrentPage),t.setActivePageItem(o.oldCurrentPage,!1),t.setActivePageItem(o.newCurrentPage,!0)}),this.survey.onPageVisibleChanged.add(function(e,o){t.updatePageItem(o.page)})},e.prototype.updatePageItem=function(e){var t=this.getPageItemByPage(e);t&&(t.koVisible(e.isVisible),t.koDisabled(!e.isVisible))},e.prototype.show=function(e){void 0===e&&(e=null);for(var t=[],o=0;o<this.survey.pages.length;o++){var i=this.survey.pages[o];t.push({page:i,title:n.b.getObjectName(i,this.showObjectTitles),koVisible:r.observable(i.isVisible),koDisabled:r.observable(!i.isVisible),koActive:r.observable("running"==this.survey.state&&i===this.survey.currentPage)})}e&&void 0!=e.showPagesInTestSurveyTab&&this.koShowPagesInTestSurveyTab(e.showPagesInTestSurveyTab),e&&void 0!=e.showDefaultLanguageInTestSurveyTab&&this.koShowDefaultLanguageInTestSurveyTab(e.showDefaultLanguageInTestSurveyTab),e&&void 0!=e.showInvisibleElementsInTestSurveyTab&&this.koShowInvisibleElementsInTestSurveyTab(e.showInvisibleElementsInTestSurveyTab),this.koPages(t),this.koSurvey(this.survey),this.koActivePage(this.survey.currentPage),this.koActiveLanguage(this.survey.locale),this.koIsRunning(!0)},Object.defineProperty(e.prototype,"testSurveyAgainText",{get:function(){return i.a.getString("ed.testSurveyAgain")},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"surveyResultsText",{get:function(){return i.a.getString("ed.surveyResults")},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"resultsTitle",{get:function(){return i.a.getString("ed.resultsTitle")},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"resultsName",{get:function(){return i.a.getString("ed.resultsName")},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"resultsValue",{get:function(){return i.a.getString("ed.resultsValue")},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"resultsDisplayValue",{get:function(){return i.a.getString("ed.resultsDisplayValue")},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"selectPageText",{get:function(){return i.a.getString("ts.selectPage")},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"showInvisibleElementsText",{get:function(){return i.a.getString("ts.showInvisibleElements")},enumerable:!0,configurable:!0}),e.prototype.selectTableClick=function(e){e.koResultViewType("table")},e.prototype.selectJsonClick=function(e){e.koResultViewType("text")},Object.defineProperty(e.prototype,"localeText",{get:function(){return i.a.getString("pe.locale")},enumerable:!0,configurable:!0}),e.prototype.testAgain=function(){this.setJSON(this.json),this.show()},e.prototype.setActivePageItem=function(e,t){var o=this.getPageItemByPage(e);o&&o.koActive(t)},e.prototype.getPageItemByPage=function(e){for(var t=this.koPages(),o=0;o<t.length;o++)if(t[o].page===e)return t[o];return null},e.prototype.getLanguages=function(){for(var e=[],t=a.surveyLocalization.getLocales(),o=0;o<t.length;o++){var r=t[o];e.push({value:r,text:i.a.getLocaleName(r)})}return e},e.prototype.koEventAfterRender=function(e,t){t.onRendered.fire(self,{}),t.afterRenderSurvey(e)},e}()},function(e,t,o){"use strict";var r=o(3),n=o(1),i=(o.n(n),o(2)),a=(o.n(i),o(0));o.d(t,"d",function(){return s}),o.d(t,"c",function(){return l}),o.d(t,"b",function(){return d}),o.d(t,"a",function(){return u});var s=function(){function e(e){this.name=e}return Object.defineProperty(e.prototype,"isGroup",{get:function(){return!1},enumerable:!0,configurable:!0}),e.prototype.fillLocales=function(e){},e.prototype.mergeLocaleWithDefault=function(e){},e}(),l=function(e){function t(t,o,r,n,i){void 0===r&&(r="");var a=e.call(this,t)||this;return a.name=t,a.locString=o,a.defaultValue=r,a.translation=n,a.context=i,a.values={},a}return r.a(t,e),Object.defineProperty(t.prototype,"text",{get:function(){return a.a.getPropertyName(this.name)},enumerable:!0,configurable:!0}),t.prototype.koValue=function(e){if(this.values[e])return this.values[e];var t=n.observable(this.locString.getLocaleText(e)),o=this;return t.subscribe(function(t){o.locString.setLocaleText(e,t),!!o.translation.tranlationChangedCallback&&o.translation.tranlationChangedCallback(e,o.name,t,o.context)}),this.values[e]=t,t},t.prototype.fillLocales=function(e){var t=this.locString.getJson();if(t&&"string"!=typeof t)for(var o in t)o&&e.indexOf(o)<0&&o!==i.LocalizableString.defaultLocale&&e.push(o)},t.prototype.mergeLocaleWithDefault=function(e){var t=this.locString.getLocaleText(e);t&&(this.locString.setLocaleText("",t),this.locString.setLocaleText(e,null))},t}(s),d=function(e){function t(t,o,r){void 0===r&&(r=null);var i=e.call(this,t)||this;return i.name=t,i.obj=o,i.translation=r,i.koExpanded=n.observable(!1),i.reset(),i}return r.a(t,e),Object.defineProperty(t.prototype,"items",{get:function(){return this.itemValues},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"locItems",{get:function(){for(var e=[],t=0;t<this.items.length;t++)this.items[t].isGroup||e.push(this.items[t]);return e},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"groups",{get:function(){for(var e=[],t=0;t<this.items.length;t++)this.items[t].isGroup&&e.push(this.items[t]);return e},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"isGroup",{get:function(){return!0},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"koLocales",{get:function(){return this.translation?this.translation.koLocales:null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"localeCount",{get:function(){if(!this.koLocales())return 0;for(var e=this.koLocales(),t=0,o=0;o<e.length;o++)e[o].koVisible()&&t++;return t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"locWidth",{get:function(){var e=this.localeCount;return e<2?"100%":Math.floor(100/e).toString()+"%"},enumerable:!0,configurable:!0}),t.prototype.getLocaleName=function(e){return this.translation?this.translation.getLocaleName(e):a.a.getLocaleName(e)},t.prototype.reset=function(){this.itemValues=[],this.fillItems()},t.prototype.fillLocales=function(e){for(var t=0;t<this.items.length;t++)this.items[t].fillLocales(e)},Object.defineProperty(t.prototype,"showAllStrings",{get:function(){return!this.translation||this.translation.showAllStrings},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"hasItems",{get:function(){if(this.locItems.length>0)return!0;for(var e=this.groups,t=0;t<e.length;t++)if(e[t].hasItems)return!0;return!1},enumerable:!0,configurable:!0}),t.prototype.mergeLocaleWithDefault=function(e){for(var t=0;t<this.itemValues.length;t++)this.itemValues[t].mergeLocaleWithDefault(e)},t.prototype.fillItems=function(){if(this.isItemValueArray(this.obj))return void this.createItemValues();if(this.obj&&this.obj.getType){for(var e=i.JsonObject.metaData.getPropertiesByObj(this.obj),o=0;o<e.length;o++){var r=e[o];if(r.isSerializable||r.isLocalizable)if(r.isLocalizable){if(!r.readOnly&&r.visible){var n=this.getDefaultValue(r),a=this.obj[r.serializationProperty];if(!a)continue;if(!this.showAllStrings&&!n&&a.isEmpty)continue;this.itemValues.push(new l(r.name,a,n,this.translation,this.obj))}}else{var s=this.obj[r.name];if(s&&Array.isArray(s)&&s.length>0)if(this.isItemValueArray(s)){var d=new t(r.name,s,this.translation);d.hasItems&&this.itemValues.push(d)}else this.createGroups(s,r)}}this.itemValues.sort(function(e,t){return e.name?t.name?e.name.localeCompare(t.name):1:-1})}},t.prototype.getDefaultValue=function(e){if("title"==e.name&&e.isLocalizable&&e.serializationProperty){var t=this.obj[e.serializationProperty];if(t&&"page"!=this.obj.getType()&&(t.onGetTextCallback||t.onRenderedHtmlCallback))return this.obj.name}return""},t.prototype.isItemValueArray=function(e){return!!e&&Array.isArray(e)&&e.length>0&&!!e[0]&&!!e[0].getType&&!!e[0].setData&&!!e[0].setLocText},t.prototype.createGroups=function(e,o){for(var r=0;r<e.length;r++){var n=e[r];if(n&&n.getType){var i=n.name;i||(i=o.name+"["+r.toString()+"]");var a=new t(i,n,this.translation);a.hasItems&&this.itemValues.push(a)}}},t.prototype.createItemValues=function(){for(var e=0;e<this.obj.length;e++){var t=this.obj[e];(this.showAllStrings||!t.locText.isEmpty||isNaN(t.value))&&this.itemValues.push(new l(t.value,t.locText,t.value,this.translation,t))}},t}(s),u=function(){function e(e,t){void 0===t&&(t=!1),this.koLocales=n.observableArray([{locale:"",koVisible:n.observable(!0)}]),this.koRoot=n.observable(null),this.koShowAllStrings=n.observable(t),this.koIsEmpty=n.observable(!0),this.koAvailableLanguages=n.observableArray(),this.koSelectedLanguageToAdd=n.observable(null),this.koFilteredPage=n.observable(),this.koCanMergeLocaleWithDefault=n.observable(!1),this.koMergeLocaleWithDefaultText=n.computed(function(){if(!this.koCanMergeLocaleWithDefault())return"";var e=this.getLocaleName(this.defaultLocale);return a.a.getString("ed.translationMergeLocaleWithDefault").format(e)},this),this.koFilteredPages=n.observableArray([{value:null,text:this.showAllPagesText}]);var o=this;this.koSelectedLanguageToAdd.subscribe(function(e){e&&o.addLocale(e.value)}),this.koShowAllStrings.subscribe(function(e){o.reset()}),this.koFilteredPage.subscribe(function(e){o.reset()}),this.koExportToSCVFile=function(){o.exportToSCVFile("survey_translation.csv")},this.koImportFromSCVFile=function(e){e.files.length<1||(o.importFromSCVFile(e.files[0]),e.value="")},this.koMergeLocaleWithDefault=function(){o.mergeLocaleWithDefault()},this.survey=e}return Object.defineProperty(e.prototype,"survey",{get:function(){return this.surveyValue},set:function(e){this.surveyValue=e,this.updateFilteredPages(),this.reset()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"root",{get:function(){return this.rootValue},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"filteredPage",{get:function(){return this.koFilteredPage()},set:function(e){this.koFilteredPage(e)},enumerable:!0,configurable:!0}),e.prototype.reset=function(){var e=this.filteredPage?this.filteredPage:this.survey,t=this.filteredPage?e.name:"survey";this.rootValue=new d(t,e,this),this.root.reset(),this.resetLocales(),this.koIsEmpty(!this.root.hasItems),this.koRoot(this.root)},Object.defineProperty(e.prototype,"locales",{get:function(){for(var e=[],t=this.koLocales(),o=0;o<t.length;o++)e.push(t[o].locale);return e},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"defaultLocale",{get:function(){return this.survey.locale?this.survey.locale:i.surveyLocalization.defaultLocale},enumerable:!0,configurable:!0}),e.prototype.getLocaleName=function(e){return a.a.getLocaleName(e,this.defaultLocale)},e.prototype.hasLocale=function(e){for(var t=this.koLocales(),o=0;o<t.length;o++)if(t[o].locale==e)return!0;return!1},e.prototype.addLocale=function(e){if(!this.hasLocale(e)){var t=this.locales;t.push(e),this.setLocales(t)}},e.prototype.resetLocales=function(){var e=[""];this.root.fillLocales(e),this.setLocales(e)},Object.defineProperty(e.prototype,"selectLanguageOptionsCaption",{get:function(){return a.a.getString("ed.translationAddLanguage")},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"showAllStrings",{get:function(){return this.koShowAllStrings()},set:function(e){this.koShowAllStrings(e)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"showAllStringsText",{get:function(){return a.a.getString("ed.translationShowAllStrings")},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"showAllPagesText",{get:function(){return a.a.getString("ed.translationShowAllPages")},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"noStringsText",{get:function(){return a.a.getString("ed.translationNoStrings")},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"exportToCSVText",{get:function(){return a.a.getString("ed.translationExportToSCVButton")},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"importFromCSVText",{get:function(){return a.a.getString("ed.translationImportFromSCVButton")},enumerable:!0,configurable:!0}),e.prototype.exportToCSV=function(){for(var t=[],o="",r=this.getVisibleLocales(),n=0;n<r.length;n++)o+=e.csvDelimiter+(r[n]?r[n]:"default");t.push(o);var i={};this.fillItemsHash("",this.root,i);for(var a in i){for(var s=a,l=i[a],n=0;n<r.length;n++){var d=l.locString.getLocaleText(r[n]);d||0!=n||(d=l.defaultValue),s+=e.csvDelimiter+d}t.push(s)}return t.join("\n")},e.prototype.importFromCSV=function(t){if(t){var o=t.split("\n");if(!(o.length<2)){var r=this.readLocales(o[0]),n=new e(this.survey,!0),i=[];this.fillItemsHash("",n.root,i);for(var a=1;a<o.length;a++)if(o[a]){var s=o[a].split(e.csvDelimiter),l=s[0].trim();if(l){var d=i[l];d&&this.updateItemWithStrings(d,s,r)}}this.reset(),this.importFinishedCallback&&this.importFinishedCallback()}}},e.prototype.exportToSCVFile=function(e){var t=this.exportToCSV(),o=new Blob([t],{type:"text/csv"});if(window.navigator.msSaveOrOpenBlob)window.navigator.msSaveBlob(o,e);else{var r=window.document.createElement("a");r.href=window.URL.createObjectURL(o),r.download=e,document.body.appendChild(r),r.click(),document.body.removeChild(r)}},e.prototype.importFromSCVFile=function(e){var t=new FileReader,o=this;t.onload=function(e){o.importFromCSV(t.result)},t.readAsText(e)},e.prototype.mergeLocaleWithDefault=function(){this.hasLocale(this.defaultLocale)&&(this.root.mergeLocaleWithDefault(this.defaultLocale),this.koLocales([{locale:"",koVisible:n.observable(!0)}]),this.reset())},e.prototype.updateItemWithStrings=function(e,t,o){for(var r=0;r<t.length-1&&r<o.length;r++){var n=t[r+1].trim();n&&e.koValue(o[r])(n)}},e.prototype.getVisibleLocales=function(){for(var e=[],t=this.koLocales(),o=0;o<t.length;o++)t[o].koVisible()&&e.push(t[o].locale);return e},e.prototype.readLocales=function(t){var o=[];if(!t)return o;for(var r=t.split(e.csvDelimiter),n=1;n<r.length;n++){var i=r[n].trim();"default"==i&&(i=""),o.push(i)}return o},e.prototype.fillItemsHash=function(e,t,o){var r=e;r&&(r+="."),r+=t.name;for(var n=t.locItems,i=0;i<n.length;i++)o[r+"."+n[i].name]=n[i];for(var a=t.groups,i=0;i<a.length;i++)this.fillItemsHash(r,a[i],o)},e.prototype.setLocales=function(e){for(var t=this.koLocales(),o=0;o<e.length;o++){var r=e[o];this.hasLocale(r)||t.push({locale:r,koVisible:n.observable(!0)})}this.koLocales(t),this.koCanMergeLocaleWithDefault(this.hasLocale(this.defaultLocale)),this.updateAvailableTranlations()},e.prototype.updateAvailableTranlations=function(){for(var e=[],t=i.surveyLocalization.getLocales(),o=0;o<t.length;o++){var r=t[o];r&&(this.hasLocale(r)||r!=this.defaultLocale&&e.push({value:r,text:a.a.getLocaleName(r)}))}this.koSelectedLanguageToAdd(null),this.koAvailableLanguages(e),!!this.availableTranlationsChangedCallback&&this.availableTranlationsChangedCallback()},e.prototype.updateFilteredPages=function(){for(var e=[{value:null,text:this.showAllPagesText}],t=0;t<this.survey.pages.length;t++){var o=this.survey.pages[t];e.push({value:o,text:o.name})}this.koFilteredPages(e)},e.csvDelimiter="|",e}()},function(e,t,o){"use strict";var r=o(1),n=(o.n(r),o(2));o.n(n);o.d(t,"a",function(){return i}),o.d(t,"b",function(){return a});var i=function(){function e(){this.index=-1,this.maximumCount=10,this.items=[],this.koCanUndo=r.observable(!1),this.koCanRedo=r.observable(!1)}return e.prototype.clear=function(){this.items=[],this.koCanUndo(!1),this.koCanRedo(!1)},e.prototype.setCurrent=function(e,t){var o=new a;o.surveyJSON=(new n.JsonObject).toJsonObject(e),o.selectedObjName=t,this.index<this.items.length-1&&this.items.splice(this.index+1),this.items.push(o),this.removeOldData(),this.index=this.items.length-1,this.updateCanUndoRedo()},e.prototype.undo=function(){return this.canUndo?this.doUndoRedo(-1):null},e.prototype.redo=function(){return this.canRedo?this.doUndoRedo(1):null},e.prototype.updateCanUndoRedo=function(){this.koCanUndo(this.canUndo),this.koCanRedo(this.canRedo)},e.prototype.doUndoRedo=function(e){return this.index+=e,this.updateCanUndoRedo(),this.index>=0&&this.index<this.items.length?this.items[this.index]:null},Object.defineProperty(e.prototype,"canUndo",{get:function(){return this.index>=1&&this.index<this.items.length},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"canRedo",{get:function(){return this.items.length>1&&this.index<this.items.length-1},enumerable:!0,configurable:!0}),e.prototype.removeOldData=function(){this.items.length-1<this.maximumCount||this.items.splice(0,this.items.length-this.maximumCount-1)},e}(),a=function(){function e(){}return e}()},function(e,t,o){"use strict";var r=function(e,t){return Object.prototype.toString.call(e).toLowerCase()==="[object "+t+"]"},n=function(e,t){e.className.split(/\s+/).filter(function(e){return!!e&&e==t}).length||(e.className+=" "+t)},i=function(e,t){e.className=e.className.split(/\s+/).filter(function(e){return!!e&&e!=t}).join(" ")},a=function(e,t){var o=this;this.opened=!1,this.opts={bodyClass:"modal-open",dialogClass:"modal-dialog",dialogOpenClass:"bounceInDown",dialogCloseClass:"bounceOutUp",focus:!0,focusElements:["a[href]","area[href]","input:not([disabled]):not([type=hidden])","button:not([disabled])","select:not([disabled])","textarea:not([disabled])","iframe","object","embed","*[tabindex]","*[contenteditable]"],escapeClose:!0,content:null,closeTimeout:500},Object.keys(t||{}).forEach(function(e){void 0!==t[e]&&(o.opts[e]=t[e])}),this.overlay=e,this.dialog=e.querySelector("."+this.opts.dialogClass),this.opts.content&&this.content(this.opts.content)};a.prototype.open=function(e){var t=this;if(this.content(e),!r(this.opts.beforeOpen,"function"))return this._doOpen();this.opts.beforeOpen(function(){t._doOpen()})},a.prototype._doOpen=function(){n(document.body,this.opts.bodyClass),i(this.dialog,this.opts.dialogCloseClass),n(this.dialog,this.opts.dialogOpenClass),this.overlay.style.display="block",this.opts.focus&&(this.focusOutElement=document.activeElement,this.focus()),r(this.opts.afterOpen,"function")&&this.opts.afterOpen(),this.opened=!0},a.prototype.close=function(){var e=this;if(!r(this.opts.beforeClose,"function"))return this._doClose();this.opts.beforeClose(function(){e._doClose()})},a.prototype._doClose=function(){var e=this;i(this.dialog,this.opts.dialogOpenClass),n(this.dialog,this.opts.dialogCloseClass),i(document.body,this.opts.bodyClass),this.opts.focus&&this.focus(this.focusOutElement),r(this.opts.afterClose,"function")&&this.opts.afterClose(),this.opened=!1,setTimeout(function(){e.overlay.style.display="none"},this.opts.closeTimeout)},a.prototype.content=function(e){if(void 0===e)return this.dialog.innerHTML;this.dialog.innerHTML=e},a.prototype.elements=function(e,t){return t=t||window.navigator.appVersion.indexOf("MSIE 9.0")>-1,e=r(e,"array")?e.join(","):e,[].filter.call(this.dialog.querySelectorAll(e),function(e){if(t){var o=window.getComputedStyle(e);return"none"!==o.display&&"hidden"!==o.visibility}return null!==e.offsetParent})},a.prototype.focus=function(e){(e=e||this.elements(this.opts.focusElements)[0]||this.dialog.firstChild)&&r(e.focus,"function")&&e.focus()},a.prototype.keydown=function(e){function t(){e.preventDefault(),e.stopPropagation()}if(this.opts.escapeClose&&27==e.which&&this.close(),this.opened&&9==e.which&&this.dialog.contains(e.target)){var o=this.elements(this.opts.focusElements),r=o[0],n=o[o.length-1];r==n?t():e.target==r&&e.shiftKey?(t(),n.focus()):e.target!=n||e.shiftKey||(t(),r.focus())}},a.prototype.version="1.0.31",a.version="1.0.31",t.a=a},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t,o){"use strict";var r=o(3),n=o(1),i=(o.n(n),o(5)),a=o(74),s=(o.n(a),o(22));o.d(t,"a",function(){return u});var l=o(124),d=function(e){function t(t,o,r){var n=e.call(this,t,o)||this;n.adornerElement=r;var i=n,a=(o.survey,i.adornerElement.parentElement.parentElement.getElementsByTagName("f-panel")[0],function(e){return function(){var o=document.getSelection();if(o&&o.rangeCount>0){var r=o.toString();r&&(t.content=t.content.replace(r,"<"+e+">"+r+"</"+e+">"))}}});return n.actions.splice(0,0,{name:"bold",text:n.localize("ed.bold")||"B",onClick:a("b")}),n.actions.splice(1,0,{name:"italic",text:n.localize("ed.italic")||"I",onClick:a("i")}),n.actions.splice(2,0,{name:"underline",text:n.localize("ed.underline")||"U",onClick:a("u")}),n.actions.splice(3,0,{name:"fpAddQuestion",text:n.localize("ed.fpAddQuestion"),title:n.localize("ed.fpAddQuestion"),hasTitle:!0,template:"fp-add-question",availableTypes:["text","boolean","radiogroup","checkbox"],onAddQuestion:function(e,r){var n=r.target.value;if(n){var i=o.getNewName(n);t.addNewQuestion(n,i),r.target.value=""}}}),n.actions.splice(4,0,{template:"action-separator"}),n}return r.a(t,e),t}(s.b);n.components.register("flowpanel-actions",{viewModel:{createViewModel:function(e,t){return new d(e.question,e.editor,t.element)}},template:l});var u={getMarkerClass:function(e){return"flowpanel"===e.getType()?"panel_actions":""},getElementName:function(e){return"container"},afterRender:function(e,t,o){var r=document.createElement("div");r.className="svda-question-actions",r.innerHTML="<flowpanel-actions params='question: model, editor: editor'></question-flowpanel>",e[0].appendChild(r),n.applyBindings({model:t,editor:o},r),n.tasks.runEarly(),o.onAdornerRenderedCallback(t,"flowpanel-actions",r)}};o.i(i.b)("flowpanel-actions",u)},function(e,t,o){"use strict";var r=o(1),n=(o.n(r),o(2)),i=(o.n(n),o(5)),a=o(0),s=o(9),l=o.n(s),d=o(11),u=o(8),c=o(75);o.n(c);o.d(t,"a",function(){return h});var p=o(125),m=function(){function e(e,t,o,r,n,i){var a=this;this.name=e,this.question=t,this.item=o,this.rootElement=r,this.editor=n,this.itemsRoot=i,this.imageChoosen=function(e){var t=a.itemsRoot.getElementsByClassName("svda-choose-file")[0];if(window.FileReader&&t&&t.files&&!(t.files.length<1)){for(var o=[],r=0;r<t.files.length;r++)o.push(t.files[r]);a.valueChanged&&a.valueChanged(o)}}}return e.prototype.deleteItem=function(e,t){if(e.question.choices.length>1){var o=e.question.choices.indexOf(e.item);e.question.choices.splice(o,1),this.editor.onQuestionEditorChanged(this.question)}},Object.defineProperty(e.prototype,"isLastItem",{get:function(){return 1===this.question.choices.length},enumerable:!0,configurable:!0}),e.prototype.chooseImage=function(e,t){var o=this.itemsRoot.getElementsByClassName("svda-choose-file")[0];o.value="",o.onchange=this.imageChoosen,o.click()},e.prototype.getLocString=function(e){return a.a.getString(e)},e}();r.components.register("image-item-editor",{viewModel:{createViewModel:function(e,t){var o=new m(e.target[e.name],e.question,e.item,t.element,e.editor,e.itemsRoot),r=n.JsonObject.metaData.findProperty("imageitemvalue",e.name);return o.valueChanged=function(t){t[0]&&e.editor.uploadFiles(t,function(t,o){var n={propertyName:r.name,obj:e.model,value:o,newValue:null,doValidation:!1};e.editor.onValueChangingCallback(n),o=null===n.newValue?n.value:n.newValue,e.target[e.name]=o,e.editor.onPropertyValueChanged(r,e.target,o)})},o}},template:p});var h={getMarkerClass:function(e){return"function"==typeof e.getType&&"imagepicker"===e.getType()?"image_item_editable":""},getElementName:function(e){return"item"},afterRender:function(e,t,i){for(var a=e[0].parentElement,s=0;s<e.length;s++){e[s].onclick=function(e){return e.preventDefault()};var c=document.createElement("span");c.className="svda-adorner-root",c.innerHTML="<image-item-editor params='name: \"imageLink\", target: target, item: item, question: question, editor: editor, itemsRoot: itemsRoot'></image-item-editor>",e[s].appendChild(c),r.applyBindings({item:t.choices[s],question:t,target:t.choices[s],editor:i,itemsRoot:a},c),r.tasks.runEarly(),i.onAdornerRenderedCallback(t,"image-items",c,t.choices[s])}var p=(l.a.create(a,{handle:".svda-drag-handle",draggable:".image_item_editable",animation:150,onEnd:function(e){var o=t.choices,r=o[e.oldIndex];o.splice(e.oldIndex,1),o.splice(e.newIndex,0,r),i.onQuestionEditorChanged(t)}}),o.i(d.b)(function(){var e=a.getElementsByClassName("svda-choose-file")[0];e.value="",e.onchange=function(r){if(e&&e.files&&!(e.files.length<1)){for(var a=[],s=0;s<e.files.length;s++)a.push(e.files[s]);var l=n.surveyLocalization.getString("choices_Item"),d=o.i(u.a)(l,(t.choices||[]).map(function(e){return e.value})),c=new n.ItemValue(d,void 0,"imageitemvalue");c.locOwner={getLocale:function(){return t.getLocale?t.getLocale():""},getMarkdownHtml:function(e){return e},getProcessedText:function(e){return e}},t.choices=t.choices.concat([c]),c=t.choices[t.choices.length-1],i.onQuestionEditorChanged(t),i.onItemValueAddedCallback(t,"choices",c,t.choices);var p=n.JsonObject.metaData.findProperty("imageitemvalue","imageLink");i.uploadFiles(a,function(e,t){var o={propertyName:p.name,obj:c,value:t,newValue:null,doValidation:!1};i.onValueChangingCallback(o),t=null===o.newValue?o.value:o.newValue,c.imageLink=t,i.onPropertyValueChanged(p,c,t)})}},e.click()}));p.style.width=(t.imageWidth||200)+10+"px",p.style.height=(t.imageHeight||150)+10+"px",p.style.lineHeight=p.style.height,a.appendChild(p);var m=document.createElement("input");m.type="file",m.accept="image/*",m.className="svda-choose-file",m.style.position="absolute",m.style.opacity="0",a.appendChild(m)}};o.i(i.b)("image-items",h)},function(e,t,o){"use strict";var r=o(1),n=(o.n(r),o(5)),i=o(77);o.n(i);o.d(t,"a",function(){return a});var a={getMarkerClass:function(e){return"boolean"===e.getType()?"label_editable":""},getElementName:function(e){return"label"},afterRender:function(e,t,o){var n=document.createElement("span");n.innerHTML="<title-editor params='name: \"title\", model: model, editor: editor'></title-editor>",e[0].onclick=function(e){return e.preventDefault()},e[0].appendChild(n),r.applyBindings({model:t,editor:o},n),r.tasks.runEarly(),o.onAdornerRenderedCallback(t,"label",n)}};o.i(n.b)("label",a)},function(e,t,o){"use strict";var r=o(3),n=o(1),i=(o.n(n),o(2)),a=(o.n(i),o(5)),s=o(0),l=o(17),d=o(8),u=o(79);o.n(u);o.d(t,"a",function(){return h});var c=o(128),p=function(e){function t(t,o,r,n,i){var a=e.call(this,t,n)||this;return a.question=o,a.item=r,a.editor=i,a}return r.a(t,e),t.prototype.deleteItem=function(e,t){var o=e.question,r=o.visibleRateValues.map(function(e){return e.value}).indexOf(e.item.value);0===o.rateValues.length&&r===o.visibleRateValues.length-1?o.rateMax-=o.rateStep:(0===o.rateValues.length&&(o.rateValues=o.visibleRateValues),o.rateValues.splice(r,1)),e.editor.onQuestionEditorChanged(o)},Object.defineProperty(t.prototype,"isLastItem",{get:function(){return 1===this.question.visibleRateValues.length},enumerable:!0,configurable:!0}),t}(l.b);n.components.register("rating-item-editor",{viewModel:{createViewModel:function(e,t){var o=new p(e.target[e.name],e.question,e.item,t.element,e.editor),r=e.question;i.JsonObject.metaData.findProperty(e.target.getType(),e.name);return o.valueChanged=function(t){if(0===r.rateValues.length){r.rateValues=r.visibleRateValues;var o=r.rateValues.map(function(e){return e.value}).indexOf(e.item.value);r.rateValues[o]=e.target}e.target[e.name]=t,e.editor.onQuestionEditorChanged(r)},o}},template:c});var m=function(e,t,r){return void 0===r&&(r=null),function(){if(0===e.rateValues.length)e.rateMax+=e.rateStep;else{var n=null,a=e.rateValues.map(function(e){return e.itemValue}),s=i.surveyLocalization.getString("choices_Item");n=o.i(d.a)(s,a);var l=new i.ItemValue(n);!!r&&r(l),l.locOwner={getLocale:function(){return e.getLocale?e.getLocale():""},getMarkdownHtml:function(e){return e},getProcessedText:function(e){return e}},e.rateValues=e.rateValues.concat([l])}!!t&&t(l)}},h={getMarkerClass:function(e){return e.visibleRateValues?"item_editable":""},getElementName:function(e){return"itemText"},afterRender:function(e,t,o){for(var r=0;r<e.length;r++){e[r].onclick=function(e){return e.preventDefault()};var i=document.createElement("span");i.innerHTML="<rating-item-editor params='name: \"text\", target: target, item: item, question: question, editor: editor'></rating-item-editor>",e[r].appendChild(i);var a=t.visibleRateValues[r];n.applyBindings({item:a,question:t,target:a,editor:o},i),n.tasks.runEarly(),o.onAdornerRenderedCallback(t,"rating-item",i,a)}var l=document.createElement("span");l.title=s.a.getString("pe.addItem"),l.className="svda-add-new-rating-item icon-inplace-add-item svd-primary-icon",l.onclick=m(t,function(e){o.onQuestionEditorChanged(t),o.onItemValueAddedCallback(t,"rateValues",e,t.visibleRateValues)},function(e){o.onItemValueAddedCallback(t,"rateValues",e,t.visibleRateValues)});var d=document.createElementNS("http://www.w3.org/2000/svg","svg");d.setAttribute("class","svd-svg-icon"),d.style.width="12px",d.style.height="12px";var u=document.createElementNS("http://www.w3.org/2000/svg","use");u.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href","#icon-inplaceplus"),d.appendChild(u),l.appendChild(d),e[0].parentElement.parentElement.appendChild(l)}};o.i(a.b)("rating-item",h)},function(e,t,o){"use strict";var r=o(1),n=(o.n(r),o(9)),i=o.n(n),a=o(5),s=o(0),l=o(11),d=o(80);o.n(d);o.d(t,"a",function(){return c});var u=o(129);r.components.register("select-items-editor",{viewModel:{createViewModel:function(e,t){var n=r.observable(!0),a=r.observableArray(e.question.choices),d=r.observable(e.question.otherText),u=t.element.parentElement.getElementsByClassName("svda-select-items-collection")[0],c=null;return{choices:a,valueName:e.valueName,question:e.question,editor:e.editor,isExpanded:n,toggle:function(){return n(!n())},addItem:o.i(l.c)(e.question,function(t){a(e.question.choices)},function(t){e.editor.onItemValueAddedCallback(e.question,"choices",t,e.question.choices)}),getLocString:function(e){return s.a.getString(e)},choicesRendered:function(){c&&c.destroy(),c=i.a.create(u,{handle:".svda-drag-handle",draggable:".item_draggable",animation:150,onEnd:function(t){var o=[].concat(e.question.choices),r=o[t.oldIndex];o.splice(t.oldIndex,1),o.splice(t.newIndex,0,r),e.question.choices=o,a(o)}})},valueChanged:function(o,n,i){var s=[].concat(e.question.choices);a([]),a(s),r.tasks.runEarly(),e.editor.onAdornerRenderedCallback(e.question,"select-choices",t.element)},otherText:d,otherValueChanged:function(t,o,r){d(e.question.otherText)}}}},template:u});var c={getMarkerClass:function(e){return e.parent&&e.choices?"select_items_editor":""},getElementName:function(e){return"selectWrapper"},afterRender:function(e,t,o){e[0].onclick=function(e){return e.preventDefault()};var n=document.createElement("div");n.innerHTML="<select-items-editor params='question: question, editor: editor, valueName: \""+(l.a.inplaceEditForValues?"value":"text")+"\"'></select-items-editor>",e[0].appendChild(n),r.applyBindings({question:t,editor:o},n),r.tasks.runEarly(),o.onAdornerRenderedCallback(t,"select-choices",n)}};o.i(a.b)("select-choices",c)},function(e,t,o){"use strict";var r=o(1),n=(o.n(r),o(0)),i=o(18),a=o(33),s=o(31),l=o(32),d=o(30),u=o(10),c=o(133),p=o(20),m=o(35),h=o(6),g=o(23),v=o(29),f=o(21),y=o(2),b=(o.n(y),o(5)),x=o(19),k=o(11),w=o(34);o.d(t,"a",function(){return S});var T=o(131),S=function(){function e(e,t){void 0===e&&(e=null),void 0===t&&(t=null);var o=this;this._haveCommercialLicense=r.observable(!1),this.surveyValue=r.observable(),this.stateValue="",this.dragDropHelper=null,this.showJSONEditorTabValue=r.observable(!1),this.showTestSurveyTabValue=r.observable(!1),this.showEmbededSurveyTabValue=r.observable(!1),this.showTranslationTabValue=r.observable(!1),this.select2=null,this.alwaySaveTextInPropertyEditorsValue=!1,this.showApplyButtonValue=!0,this.isRTLValue=!1,this.scrollToNewElement=!0,this.useTabsInElementEditor=!1,this.showObjectTitles=!1,this.showTitlesInExpressions=!1,this.showPagesInTestSurveyTab=!0,this.showDefaultLanguageInTestSurveyTab=!0,this.showInvisibleElementsInTestSurveyTab=!0,this.surveyId=null,this.surveyPostId=null,this.onShowingProperty=new y.Event,this.onCanShowProperty=this.onShowingProperty,this.onEditorTabRendered=new y.Event,this.onGetPropertyReadOnly=new y.Event,this.onCustomSortProperty=new y.Event,this.onPropertyAfterRender=new y.Event,this.onElementDeleting=new y.Event,this.onQuestionAdded=new y.Event,this.onElementDoubleClick=new y.Event,this.onItemValueAdded=new y.Event,this.onMatrixColumnAdded=new y.Event,this.onPanelAdded=new y.Event,this.onPageAdded=new y.Event,this.onModified=new y.Event,this.onDesignerSurveyCreated=new y.Event,this.onTestSurveyCreated=new y.Event,this.onSetPropertyEditorOptions=new y.Event,this.onPropertyValidationCustomError=new y.Event,this.onPropertyValueChanging=new y.Event,this.onPropertyEditorObjectAssign=new y.Event,this.onConditionValueSurveyCreated=new y.Event,this.onConditionQuestionsGetList=new y.Event,this.onPropertyEditorKeyDown=new y.Event,this.onElementAllowOperations=new y.Event,this.onDefineElementMenuItems=new y.Event,this.onShowPropertyModalEditorDescription=new y.Event,this.onGetObjectTextInPropertyGrid=new y.Event,this.koAutoSave=r.observable(!1),this.onCustomElementAddingIntoToolbox=new y.Event,this.onCustomElementAddedIntoToolbox=new y.Event,this.onUploadFile=new y.Event,this.onTranslationImported=new y.Event,this.onDragDropAllow=new y.Event,this.onAdornerRendered=new y.Event,this.showErrorOnFailedSave=!0,this.koShowState=r.observable(!1),this.koReadOnly=r.observable(!1),this.isPageUpdating=!1,this.koState=r.observable(""),this.tabs=r.observableArray(),this.themeCss=r.computed(function(){return-1===["bootstrap","bootstrapmaterial"].indexOf(x.a.currentTheme())?"sv_default_css":"sv_"+x.a.currentTheme()+"_css"}),this.toolbarItems=r.observableArray(),this.saveNo=0,this.addPage=function(){var e=h.b.getNewPageName(o.pages()),t=o.survey.addNewPage(e);o.pages.valueHasMutated(),o.addPageToUI(t),o.setModified({type:"PAGE_ADDED",newValue:t})},this.deletePage=function(){o.deleteCurrentObject(),o.pages.valueHasMutated()},this.movePage=function(e,t){var r=o.pages()[t];o.surveyObjects.survey=null,o.surveyObjects.survey=o.survey,o.surveyObjects.selectObject(r),o.setModified({type:"PAGE_MOVED",page:r,indexFrom:e,indexTo:t})},this.newQuestions=[],this.newPanels=[],this.isCurrentPageEmpty=r.computed(function(){return!!o.surveyValue()&&!!o.surveyValue().koCurrentPage()&&0===o.getRows(o.surveyValue().koCurrentPage()).length}),this.showQuestionEditor=function(e,t){void 0===t&&(t=null);var r=o,n=o.renderedElement?o.renderedElement.querySelector("#surveyquestioneditorwindow"):null,i=!0;o.questionEditorWindow.show(e,n,function(e){r.onQuestionEditorChanged(e),i=!1},o,function(){t&&t(i)})},this.dirtyPageUpdate=function(){o.isPageUpdating=!0;try{var e=o.koSelectedObject().value;if(h.b.getObjectType(e)!==h.a.Page)return void(h.b.getObjectType(e)===h.a.Question&&e.koElementType&&e.koElementType.notifySubscribers());var t=o.pages.indexOf(e);o.pages.splice(t,1),o.pages.splice(t,0,e),o.surveyObjects.selectObject(e)}finally{o.isPageUpdating=!1}},this.copyPage=function(e){var t=o.copyElement(e),r=o.pages.indexOf(e);return r>-1?o.pages.splice(r+1,0,t):o.pages.push(t),o.addPageToUI(t),o.setModified({type:"PAGE_ADDED",newValue:t}),t},this.onEditorTabRenderedCallback=function(e,t,r,n){o.onEditorTabRendered.fire(o,{tabName:e,elements:t,model:r,tabData:n})},this.koShowOptions=r.observable(),this.koGenerateValidJSON=r.observable(!0),this.koShowPropertyGrid=r.observable(!0),this.koDesignerHeight=r.observable(),this.koShowPagesToolbox=r.observable(!0),this.setOptions(t),this.koCanDeleteObject=r.observable(!1);var n=this;x.a.applyTheme(x.a.currentTheme()),this.pages=r.observableArray(),this.koShowSaveButton=r.observable(!1),this.koTestSurveyWidth=r.observable("100%"),this.saveButtonClick=function(){n.doSave()},this.koObjects=r.observableArray(),window.sel=this.koSelectedObject,this.koSelectedObject=r.observable(),this.koSelectedObject.subscribe(function(e){n.selectedObjectChanged(null!=e?e.value:null)}),this.koGenerateValidJSON.subscribe(function(e){n.options||(n.options={}),n.options.generateValidJSON=e,n.generateValidJSONChangedCallback&&n.generateValidJSONChangedCallback(e)}),this.surveyObjects=new l.a(this.koObjects,this.koSelectedObject,this.showObjectTitles),this.surveyObjects.getItemTextCallback=function(e,t){var o={obj:e,text:t};return n.onGetObjectTextInPropertyGrid.fire(n,o),o.text},this.selectPage=function(e){o.surveyObjects.selectObject(e)},this.undoRedo=new m.a,this.selectedObjectEditorValue=new i.a(this),this.selectedObjectEditorValue.onCanShowPropertyCallback=function(e,t){return n.onCanShowObjectProperty(e,t)},this.selectedObjectEditorValue.onSortPropertyCallback=function(e,t,o){return n.onCustomSortPropertyObjectProperty(e,t,o)},this.selectedObjectEditorValue.onPropertyValueChanged.add(function(e,t){t.updatedValue=n.onPropertyValueChanged(t.property,t.object,t.newValue)}),this.selectedObjectEditorValue.onAfterRenderCallback=function(e,t,o){if(!n.onPropertyAfterRender.isEmpty){var r={obj:e,htmlElement:t,property:o.property,propertyEditor:o.editor};n.onPropertyAfterRender.fire(n,r)}},this.questionEditorWindow=new u.a,this.questionEditorWindow.onCanShowPropertyCallback=function(e,t){return n.onCanShowObjectProperty(e,t)},this.surveyLive=new a.a,this.surveyLive.showObjectTitles=this.showObjectTitles,this.surveyEmbeding=new s.a,this.translationValue=new w.a(new y.Survey),this.translation.importFinishedCallback=function(){n.onTranslationImported.fire(n,{})},this.translation.availableTranlationsChangedCallback=function(){o.setModified({type:"TRANSLATIONS_CHANGED"})},this.translation.tranlationChangedCallback=function(e,t,r,n){o.setModified({type:"TRANSLATIONS_CHANGED",locale:e,name:t,value:r,context:n})},this.toolboxValue=new v.a(this.options&&this.options.questionTypes?this.options.questionTypes:null),this.koViewType=r.observable("designer"),this.koIsShowDesigner=r.computed(function(){return"designer"==n.koViewType()}),this.generateValidJSONClick=function(){n.koGenerateValidJSON(!0)},this.generateReadableJSONClick=function(){n.koGenerateValidJSON(!1)},this.runSurveyClick=function(){n.showLiveSurvey()},this.deleteObjectClick=function(){n.deleteCurrentObject()},this.draggingToolboxItem=function(e,t){n.doDraggingToolboxItem(e.json,t)},this.clickToolboxItem=function(e){n.doClickToolboxItem(e.json)},this.dragEnd=function(e,t){n.dragDropHelper.end()},this.doUndoClick=function(){n.doUndoRedo(n.undoRedo.undo())},this.doRedoClick=function(){n.doUndoRedo(n.undoRedo.redo())},this.jsonEditor=new c.a,r.computed(function(){o.jsonEditor.readOnly=o.readOnly}),r.computed(function(){o.tabs([]),o.tabs.push({name:"designer",title:o.getLocString("ed.designer"),template:"se-tab-designer",data:o,action:function(){return o.showDesigner()}}),o.showJSONEditorTab&&o.tabs.push({name:"editor",title:o.getLocString("ed.jsonEditor"),template:"jsoneditor",data:o.jsonEditor,action:function(){return o.showJsonEditor()}}),o.showTestSurveyTab&&o.tabs.push({name:"test",title:o.getLocString("ed.testSurvey"),template:"se-tab-test",data:o,action:function(){return o.showTestSurvey()}}),o.showEmbededSurveyTab&&o.tabs.push({name:"embed",title:o.getLocString("ed.embedSurvey"),template:"surveyembeding",data:o.surveyEmbeding,action:function(){return o.showEmbedEditor()}}),o.showTranslationTab&&o.tabs.push({name:"translation",title:o.getLocString("ed.translation"),template:"translation",data:o.translation,action:function(){return o.showTranslationEditor()}})}),e&&this.render(e),this.text="",this.addToolbarItems()}return Object.defineProperty(e.prototype,"haveCommercialLicense",{get:function(){return this._haveCommercialLicense()},set:function(e){this._haveCommercialLicense(e)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"inplaceEditForValues",{get:function(){return k.a.inplaceEditForValues},set:function(e){k.a.inplaceEditForValues=e},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"isAutoSave",{get:function(){return this.koAutoSave()},set:function(e){this.koAutoSave(e)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"showState",{get:function(){return this.koShowState()},set:function(e){this.koShowState(e)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"readOnly",{get:function(){return this.koReadOnly()},set:function(e){this.koReadOnly(e)},enumerable:!0,configurable:!0}),e.prototype.addToolbarItems=function(){var e=this;this.toolbarItems.push({id:"svd-undo",visible:this.koIsShowDesigner,enabled:this.undoRedo.koCanUndo,action:this.doUndoClick,title:this.getLocString("ed.undo")}),this.toolbarItems.push({id:"svd-redo",visible:this.koIsShowDesigner,enabled:this.undoRedo.koCanRedo,action:this.doRedoClick,title:this.getLocString("ed.redo")}),this.toolbarItems.push({id:"svd-survey-settings",visible:this.koIsShowDesigner,enabled:!1,action:function(){e.surveyObjects.selectObject(e.survey),e.showQuestionEditor(e.survey)},title:this.getLocString("ed.settings")}),this.toolbarItems.push({id:"svd-options",visible:r.computed(function(){return e.koIsShowDesigner()&&e.koShowOptions()}),title:this.getLocString("ed.options"),template:"svd-toolbar-options",items:r.observableArray([{id:"svd-valid-json",visible:!0,css:r.computed(function(){return e.koGenerateValidJSON()?"active":""}),action:this.generateValidJSONClick,title:this.getLocString("ed.generateValidJSON")},{id:"svd-readable-json",visible:!0,css:r.computed(function(){return e.koGenerateValidJSON()?"":"active"}),action:this.generateReadableJSONClick,title:this.getLocString("ed.generateReadableJSON")}])}),this.toolbarItems.push({id:"svd-test",visible:r.computed(function(){return"test"===e.koViewType()}),title:r.computed(function(){return e.getLocString("ed.testSurveyWidth")+" "+e.koTestSurveyWidth()}),template:"svd-toolbar-options",items:r.observableArray([{id:"svd-100-json",visible:!0,action:function(){return e.koTestSurveyWidth("100%")},title:"100%"},{id:"svd-1200px-json",visible:!0,action:function(){return e.koTestSurveyWidth("1200px")},title:"1200px"},{id:"svd-1000px-json",visible:!0,action:function(){return e.koTestSurveyWidth("1000px")},title:"1000px"},{id:"svd-800px-json",visible:!0,action:function(){return e.koTestSurveyWidth("800px")},title:"800px"},{id:"svd-600px-json",visible:!0,action:function(){return e.koTestSurveyWidth("600px")},title:"600px"},{id:"svd-400px-json",visible:!0,action:function(){return e.koTestSurveyWidth("400px")},title:"400px"}])}),this.toolbarItems.push({id:"svd-save",visible:this.koShowSaveButton,action:this.saveButtonClick,innerCss:"svd_save_btn",title:this.getLocString("ed.saveSurvey")}),this.toolbarItems.push({id:"svd-state",visible:this.koShowState,css:"svd_state",innerCss:r.computed(function(){return"icon-"+e.koState()}),title:r.computed(function(){return e.getLocString("ed."+e.koState())}),template:"svd-toolbar-state"})},e.prototype.setOptions=function(e){e||(e={}),e.hasOwnProperty("generateValidJSON")||(e.generateValidJSON=!0),this.options=e,this.showJSONEditorTabValue(void 0===e.showJSONEditorTab||e.showJSONEditorTab),this.showTestSurveyTabValue(void 0===e.showTestSurveyTab||e.showTestSurveyTab),this.showEmbededSurveyTabValue(void 0!==e.showEmbededSurveyTab&&e.showEmbededSurveyTab),this.showTranslationTabValue(void 0!==e.showTranslationTab&&e.showTranslationTab),this.haveCommercialLicense=void 0!==e.haveCommercialLicense&&e.haveCommercialLicense,this.inplaceEditForValues=void 0!==e.inplaceEditForValues&&e.inplaceEditForValues,this.showObjectTitles=void 0!==e.showObjectTitles&&e.showObjectTitles,this.showTitlesInExpressions=void 0!==e.showTitlesInExpressions&&e.showTitlesInExpressions,this.useTabsInElementEditor=void 0!==e.useTabsInElementEditor&&e.useTabsInElementEditor,this.showState=void 0!==e.showState&&e.showState,this.koShowOptions(void 0!==e.showOptions&&e.showOptions),this.koShowPropertyGrid(void 0===e.showPropertyGrid||e.showPropertyGrid),this.koGenerateValidJSON(this.options.generateValidJSON),this.isAutoSave=void 0!==e.isAutoSave&&e.isAutoSave,this.showErrorOnFailedSave=void 0===e.showErrorOnFailedSave||e.showErrorOnFailedSave,this.isRTLValue=void 0!==e.isRTL&&e.isRTL,this.scrollToNewElement=void 0===e.scrollToNewElement||e.scrollToNewElement,e.designerHeight&&this.koDesignerHeight(e.designerHeight),e.objectsIntend&&(l.a.intend=e.objectsIntend),void 0!==e.showPagesToolbox&&this.koShowPagesToolbox(e.showPagesToolbox),void 0!==e.readOnly&&this.koReadOnly(e.readOnly),void 0!==e.showPagesInTestSurveyTab&&(this.showPagesInTestSurveyTab=e.showPagesInTestSurveyTab),void 0!==e.showDefaultLanguageInTestSurveyTab&&(this.showDefaultLanguageInTestSurveyTab=e.showDefaultLanguageInTestSurveyTab),void 0!==e.showInvisibleElementsInTestSurveyTab&&(this.showInvisibleElementsInTestSurveyTab=e.showInvisibleElementsInTestSurveyTab)},Object.defineProperty(e.prototype,"survey",{get:function(){return this.surveyValue()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"selectedObjectEditor",{get:function(){return this.selectedObjectEditorValue},enumerable:!0,configurable:!0}),e.prototype.update=function(e){e.koElementType.notifySubscribers()},e.prototype.render=function(e,t){void 0===e&&(e=null),void 0===t&&(t=null),t&&this.setOptions(t);var o=this;e&&"string"==typeof e&&(e=document.getElementById(e)),e&&(this.renderedElement=e),(e=this.renderedElement)&&(e.innerHTML=T,o.applyBinding())},e.prototype.loadSurvey=function(e){var t=this;(new y.dxSurveyService).loadSurvey(e,function(e,o,r){e&&o&&(t.text=JSON.stringify(o))})},Object.defineProperty(e.prototype,"text",{get:function(){return"editor"==this.koViewType()?this.jsonEditor.text:this.getSurveyTextFromDesigner()},set:function(e){this.changeText(e,!0)},enumerable:!0,configurable:!0}),e.prototype.changeText=function(e,t){void 0===t&&(t=!1);var o=new p.a(e);o.isJsonCorrect?(this.initSurvey((new y.JsonObject).toJsonObject(o.survey)),this.showDesigner(),this.setUndoRedoCurrentState(t)):(this.setTextValue(e),this.koViewType("editor"))},Object.defineProperty(e.prototype,"toolbox",{get:function(){return this.toolboxValue},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"translation",{get:function(){return this.translationValue},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"customToolboxQuestionMaxCount",{get:function(){return this.toolbox.copiedItemMaxCount},set:function(e){this.toolbox.copiedItemMaxCount=e},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"state",{get:function(){return this.stateValue},enumerable:!0,configurable:!0}),e.prototype.setState=function(e){this.stateValue=e,this.koState(this.state)},e.prototype.doSave=function(){if(this.setState("saving"),this.saveSurveyFunc){this.saveNo++;var e=this;this.saveSurveyFunc(this.saveNo,function(t,o){e.saveNo===t&&(o?e.setState("saved"):(e.showErrorOnFailedSave&&alert(e.getLocString("ed.saveError")),e.setState("modified")))})}},e.prototype.setModified=function(e){void 0===e&&(e=null),this.setState("modified"),this.setUndoRedoCurrentState(),this.onModified.fire(this,e),this.isAutoSave&&this.doSave()},e.prototype.setUndoRedoCurrentState=function(e){void 0===e&&(e=!1),e&&this.undoRedo.clear();var t=this.koSelectedObject()?this.koSelectedObject().value:null;this.undoRedo.setCurrent(this.surveyValue(),t?t.name:null)},Object.defineProperty(e.prototype,"saveSurveyFunc",{get:function(){return this.saveSurveyFuncValue},set:function(e){this.saveSurveyFuncValue=e,this.koShowSaveButton(null!=e&&!this.isAutoSave)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"showOptions",{get:function(){return this.koShowOptions()},set:function(e){this.koShowOptions(e)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"showPropertyGrid",{get:function(){return this.koShowPropertyGrid()},set:function(e){this.koShowPropertyGrid(e)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"showJSONEditorTab",{get:function(){return this.showJSONEditorTabValue()},set:function(e){this.showJSONEditorTabValue(e)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"showTestSurveyTab",{get:function(){return this.showTestSurveyTabValue()},set:function(e){this.showTestSurveyTabValue(e)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"showEmbededSurveyTab",{get:function(){return this.showEmbededSurveyTabValue()},set:function(e){this.showEmbededSurveyTabValue(e)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"showTranslationTab",{get:function(){return this.showTranslationTabValue()},set:function(e){this.showTranslationTabValue(e)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"isRTL",{get:function(){return this.isRTLValue},set:function(e){this.isRTLValue=e},enumerable:!0,configurable:!0}),e.prototype.onCanShowObjectProperty=function(e,t){var o={obj:e,property:t,canShow:!0};return this.onCanShowProperty.fire(this,o),o.canShow},e.prototype.onCustomSortPropertyObjectProperty=function(e,t,o){if(this.onCustomSortProperty.isEmpty)return 0;var r={obj:e,property1:t,property2:o,result:0};return this.onCustomSortProperty.fire(this,r),r.result},e.prototype.setTextValue=function(e){this.jsonEditor.text=e},e.prototype.getLocString=function(e){return n.a.getString(e)},e.prototype.addPageToUI=function(e){this.surveyObjects.addPage(e)},e.prototype.doOnQuestionAdded=function(e,t){if(!this.dragDropHelper.isMoving){var o=this.getPageByElement(e),r={question:e,page:o};this.onQuestionAdded.fire(this,r)}-1!==t.elements.indexOf(e)&&this.surveyObjects.addElement(e,t)},e.prototype.doOnElementRemoved=function(e){this.surveyObjects.removeObject(e)},e.prototype.doOnPanelAdded=function(e,t){if(!this.dragDropHelper.isMoving){var o=this.getPageByElement(e),r={panel:e,page:o};this.onPanelAdded.fire(this,r)}-1!==t.elements.indexOf(e)&&this.surveyObjects.addElement(e,t)},e.prototype.doOnPageAdded=function(e){if(!this.isPageUpdating){var t={page:e};this.onPageAdded.fire(this,t)}},e.prototype.onPropertyValueChanged=function(e,t,o){var r=t[e.name];if("page"===e.name&&"string"==typeof o?t[e.name]=t.survey.getPageByName(o):t[e.name]=o,"name"==e.name){var n=this.generateUniqueName(t,o);if(n!=o)return n}return"name"!=e.name&&"title"!=e.name||this.surveyObjects.nameChanged(t),"name"===e.name?this.dirtyPageUpdate():"page"===e.name&&(this.selectPage(o),this.surveyObjects.selectObject(t)),this.setModified({type:"PROPERTY_CHANGED",name:e.name,target:t,oldValue:r,newValue:o}),"locale"!=e.name&&"hasComment"!=e.name&&"hasOther"!=e.name||this.selectedObjectEditorValue.objectChanged(),null},e.prototype.doUndoRedo=function(e){if(this.initSurvey(e.surveyJSON),e.selectedObjName){var t=this.findObjByName(e.selectedObjName);t&&this.surveyObjects.selectObject(t)}this.setState("modified"),this.isAutoSave&&this.doSave()},e.prototype.findObjByName=function(e){var t=this.survey.getPageByName(e);if(t)return t;var o=this.survey.getQuestionByName(e);return o||null},e.prototype.canSwitchViewType=function(e){return(!e||this.koViewType()!=e)&&("designer"==this.koViewType()&&(this.jsonEditor.text=this.getSurveyTextFromDesigner()),"translation"==this.koViewType()&&"designer"==e&&this.survey.render(),"editor"!=this.koViewType()||(this.jsonEditor.isJsonCorrect?(this.readOnly||(this.initSurvey((new y.JsonObject).toJsonObject(this.jsonEditor.survey)),this.setModified({type:"VIEW_TYPE_CHANGED",newType:e})),!0):(alert(this.getLocString("ed.correctJSON")),!1)))},e.prototype.showDesigner=function(){this.canSwitchViewType("designer")&&this.koViewType("designer")},e.prototype.showJsonEditor=function(){"editor"!=this.koViewType()&&(this.jsonEditor.show(this.getSurveyTextFromDesigner()),this.koViewType("editor"))},e.prototype.showTestSurvey=function(){this.canSwitchViewType(null)&&(this.showLiveSurvey(),this.koViewType("test"))},e.prototype.showEmbedEditor=function(){this.canSwitchViewType("embed")&&(this.showSurveyEmbeding(),this.koViewType("embed"))},e.prototype.showTranslationEditor=function(){this.canSwitchViewType("translation")&&(this.showSurveyTranslation(),this.koViewType("translation"))},e.prototype.getSurveyTextFromDesigner=function(){var e=(new y.JsonObject).toJsonObject(this.survey);return this.options&&this.options.generateValidJSON?JSON.stringify(e,null,1):(new f.a).stringify(e,null,1)},e.prototype.getPageByElement=function(e){var t=this.survey.getPageByElement(e);return t||this.surveyObjects.getSelectedObjectPage(e)},e.prototype.selectedObjectChanged=function(e){var t=!1;this.selectedObjectEditorValue.selectedObject=e;var o=h.b.getObjectType(e);if(o==h.a.Page&&(this.survey.currentPage=e,t=this.pages().length>1),o==h.a.Question||o==h.a.Panel){this.survey.selectedElement=e,t=!0,this.survey.currentPage=this.getPageByElement(e);var r=e.id;if(this.renderedElement&&r&&this.survey.currentPage){var n=this.renderedElement.querySelector("#"+r),i=this.renderedElement.querySelector("#"+this.survey.currentPage.id);h.b.scrollIntoViewIfNeeded(n,i)}}else this.survey.selectedElement=null;if(this.koCanDeleteObject(t),this.renderedElement&&this.select2){var a=this.renderedElement.querySelector("#select2-objectSelector-container");if(a){var s=this.surveyObjects.koSelected();s&&s.text&&(a.innerText=s.text())}}},e.prototype.applyBinding=function(){var e=this;if(null!=this.renderedElement){if(r.cleanNode(this.renderedElement),r.applyBindings(this,this.renderedElement),this.surveyjs=this.renderedElement.querySelector("#surveyjs"),this.surveyjs){var t=this;this.surveyjs.onkeydown=function(e){e&&(38!=e.keyCode&&40!=e.keyCode||t.selectQuestion(38==e.keyCode))}}if(this.initSurvey(this.getDefaultSurveyJson()),this.setUndoRedoCurrentState(!0),this.jsonEditor.init(this.renderedElement.querySelector("#surveyjsJSONEditor")),"undefined"!=typeof jQuery&&jQuery().select2){var o={width:"100%"};this.isRTLValue&&(o.dir="rtl");var n=jQuery("#objectSelector");this.select2=n.select2(o),n.on("select2:select",function(t){e.koSelectedObject(t.target.value)})}}},e.prototype.getDefaultSurveyJson=function(){var t=(new f.a).parse(e.defaultNewSurveyText);return t.pages&&t.pages.length>0&&t.pages[0].name&&(t.pages[0].name=n.a.getString("ed.newPageName")+"1"),t},e.prototype.initSurvey=function(e){var t=this,o=this;this.surveyValue(new b.a),this.dragDropHelper=new g.a(this.survey,function(e){o.setModified(e)},this.renderedElement),this.dragDropHelper.readOnly=this.readOnly,this.surveyValue().getEditor=function(){return o},this.surveyValue().setJsonObject(e),this.surveyValue().isEmpty&&this.surveyValue().setJsonObject(this.getDefaultSurveyJson()),y.surveyLocalization.currentLocale=this.surveyValue().locale,this.surveyValue().dragDropHelper=this.dragDropHelper,this.surveyValue().onUpdateElementAllowingOptions=function(e){o.onElementAllowOperations.fire(o,e)},this.surveyValue().onDragDropAllow.add(function(e,t){t.survey=e,o.onDragDropAllow.fire(o,t)}),this.surveyValue().onGetMenuItems.add(function(e,n){var i=n.obj.allowingOptions;if(i||(i={}),i.allowEdit&&n.items.push({name:"editelement",text:t.getLocString("survey.edit"),hasTitle:!0,onClick:function(e){return t.showQuestionEditor(e)}}),i.allowDelete){var a=n.obj.isPanel?"survey.deletePanel":"survey.deleteQuestion";n.items.push({name:"delete",text:o.getLocString(a),onClick:function(e){o.deleteCurrentObject()}})}if(i.allowShowHideTitle&&void 0!==n.obj.titleLocation){var s=r.observable("hidden"!==n.obj.titleLocation);n.items.push({name:"showtitle",text:t.getLocString("pe.showTitle"),icon:r.computed(function(){return s()?"icon-actionshowtitle":"icon-actionhidetitle"}),onClick:function(e){"hidden"!==e.titleLocation?(e.titleLocation="hidden","boolean"===e.getType()&&(e.showTitle=!1)):(e.titleLocation="default","boolean"===e.getType()&&(e.showTitle=!0)),s("hidden"!==e.titleLocation),t.onQuestionEditorChanged(e)}})}if(i.allowChangeRequired&&void 0!==n.obj.isRequired){var l=r.computed(function(){return n.obj.isRequired});n.items.push({name:"isrequired",text:t.getLocString("pe.isRequired"),icon:r.computed(function(){return l()?"icon-actionisrequired":"icon-actionnotrequired"}),onClick:function(e){e.isRequired=!e.isRequired,t.onQuestionEditorChanged(e)}})}if(n.items.length>0&&n.items.push({template:"action-separator"}),i.allowCopy&&n.items.push({name:"copy",text:o.getLocString("survey.copy"),onClick:function(e){o.fastCopyQuestion(e)}}),i.allowAddToToolbox&&n.items.push({name:"addtotoolbox",text:o.getLocString("survey.addToToolbox"),onClick:function(e){o.addCustomToolboxQuestion(e)}}),i.allowChangeType){n.items.length>0&&n.items.push({template:"action-separator"});for(var u=n.obj.getType(),c=d.a.getConvertToClasses(u),p=c.length>0,m=function(e){return{name:t.getLocString("qt."+e),value:e}},h=[m(u)],g=0;g<c.length;g++){var v=c[g];h.push(m(v))}n.items.push({text:t.getLocString("qt."+u),title:t.getLocString("survey.convertTo"),type:u,allowChangeType:p,template:"convert-action",availableTypes:h,onConvertType:function(e,o){var r=o.target.value;t.convertCurrentObject(n.obj,r)}})}i.allowDragging&&n.items.push({name:"dragelement",needFocus:!1,text:o.getLocString("survey.drag"),onClick:function(e){}}),o.onDefineElementMenuItems.fire(o,n)}),this.onDesignerSurveyCreated.fire(this,{survey:this.surveyValue()}),this.survey.render(this.surveyjs),this.surveyObjects.survey=this.survey,this.pages(this.survey.pages),this.surveyValue().onSelectedElementChanged.add(function(e,t){o.surveyObjects.selectObject(e.selectedElement)}),this.surveyValue().onEditButtonClick.add(function(e){o.showQuestionEditor(o.koSelectedObject().value)}),this.surveyValue().onElementDoubleClick.add(function(e,t){o.onElementDoubleClick.fire(o,t)}),this.surveyValue().onProcessHtml.add(function(e,t){t.html=o.processHtml(t.html)}),this.surveyValue().onQuestionAdded.add(function(e,t){o.doOnQuestionAdded(t.question,t.parentPanel)}),this.surveyValue().onQuestionRemoved.add(function(e,t){o.doOnElementRemoved(t.question)}),this.surveyValue().onPanelAdded.add(function(e,t){o.doOnPanelAdded(t.panel,t.parentPanel)}),this.surveyValue().onPanelRemoved.add(function(e,t){o.doOnElementRemoved(t.panel)});var n=this.surveyValue().onPageAdded;n&&n.add&&n.add(function(e,t){o.doOnPageAdded(t.page)})},e.prototype.processHtml=function(e){if(!e)return e;for(var t=/<script\b[^<]*(?:(?!<\/script>)<[^<]*)*<\/script>/gi;t.test(e);)e=e.replace(t,"");return e},e.prototype.doDraggingToolboxItem=function(e,t){this.dragDropHelper.startDragToolboxItem(t,this.getNewName(e.type),e)},e.prototype.doClickToolboxItem=function(e){if(!this.readOnly){var t=this.createNewElement(e);this.doClickQuestionCore(t)}},e.prototype.copyElement=function(e){var t=(new y.JsonObject).toJsonObject(e);return t.type=e.getType(),this.createNewElement(t)},e.prototype.getRows=function(e){return e.koRows?e.koRows():e.rows},e.prototype.dragOverQuestionsEditor=function(e,t){return e.survey.dragDropHelper.doDragDropOver(t,e.survey.currentPage),!1},e.prototype.dropOnQuestionsEditor=function(e,t){e.survey.dragDropHelper.doDrop(t)},e.prototype.createNewElement=function(e){var t=y.JsonObject.metaData.createClass(e.type);return(new y.JsonObject).toObject(e,t),this.setNewNames(t),t},e.prototype.setNewNames=function(e){this.newQuestions=[],this.newPanels=[],this.setNewNamesCore(e)},e.prototype.setNewNamesCore=function(e){var t=e.getType();if(e.name=this.getNewName(t),e.isPanel||"page"==t){e.isPanel&&this.newPanels.push(e);for(var o=e,r=0;r<o.elements.length;r++)this.setNewNamesCore(o.elements[r])}else this.newQuestions.push(e)},e.prototype.generateUniqueName=function(e,t){for(;!this.isNameUnique(e,t);)t=h.b.generateNewName(t);return t},e.prototype.isNameUnique=function(e,t){return!!this.isNameUniqueInArray(this.survey.pages,e,t)&&(!!this.isNameUniqueInArray(this.survey.getAllPanels(),e,t)&&this.isNameUniqueInArray(this.survey.getAllQuestions(),e,t))},e.prototype.isNameUniqueInArray=function(e,t,o){o=o.toLowerCase();for(var r=0;r<e.length;r++)if(e[r]!=t&&e[r].name.toLowerCase()==o)return!1;return!0},e.prototype.getNewName=function(e){return"page"==e?h.b.getNewPageName(this.pages()):"panel"==e||"flowpanel"==e?this.getNewPanelName():this.getNewQuestionName()},e.prototype.getNewQuestionName=function(){return h.b.getNewQuestionName(this.getAllQuestions())},e.prototype.getNewPanelName=function(){return h.b.getNewPanelName(this.getAllPanels())},e.prototype.getAllQuestions=function(){for(var e=[],t=0;t<this.pages().length;t++)this.addElements(this.pages()[t].elements,!1,e);return this.addElements(this.newPanels,!1,e),this.addElements(this.newQuestions,!1,e),e},e.prototype.getAllPanels=function(){for(var e=[],t=0;t<this.pages().length;t++)this.addElements(this.pages()[t].elements,!0,e);return this.addElements(this.newPanels,!0,e),this.addElements(this.newQuestions,!0,e),e},e.prototype.addElements=function(e,t,o){for(var r=0;r<e.length;r++)e[r].isPanel===t&&o.push(e[r]),this.addElements(h.b.getElements(e[r]),t,o)},e.prototype.doClickQuestionCore=function(e,t){void 0===t&&(t="ADDED_FROM_TOOLBOX");var o=this.survey.currentPage,r=-1,n=this.survey.selectedElement;n&&n.parent&&(o=n.parent,(r=o.elements.indexOf(this.survey.selectedElement))>-1&&r++),o.addElement(e,r),this.renderedElement&&this.scrollToNewElement&&this.dragDropHelper.scrollToElement(this.renderedElement.querySelector("#"+e.id)),this.setModified({type:t,question:e})},e.prototype.deleteQuestion=function(){this.getSelectedObjAsQuestion()&&this.deleteCurrentObject()},e.prototype.selectQuestion=function(e){this.getSelectedObjAsQuestion()&&this.surveyObjects.selectNextQuestion(e)},e.prototype.getSelectedObjAsQuestion=function(){var e=this.koSelectedObject().value;return e&&h.b.getObjectType(e)==h.a.Question?e:null},e.prototype.deleteCurrentObject=function(){this.deleteObject(this.koSelectedObject().value)},e.prototype.editCurrentObject=function(){this.showQuestionEditor(this.koSelectedObject().value)},e.prototype.convertCurrentObject=function(e,t){var o=d.a.convertObject(e,t);this.setModified({type:"QUESTION_CONVERTED",className:t,oldValue:e,newValue:o})},e.prototype.showElementEditor=function(e,t){this.showQuestionEditor(e,t)},e.prototype.onQuestionEditorChanged=function(e){e.name&&!this.isNameUnique(e,e.name)&&(e.name=this.generateUniqueName(e,e.name)),this.surveyObjects.nameChanged(e),this.selectedObjectEditorValue.objectChanged(),this.dirtyPageUpdate(),this.setModified({type:"QUESTION_CHANGED_BY_EDITOR",question:e})},e.prototype.addCustomToolboxQuestion=function(e){var t={};this.onCustomElementAddingIntoToolbox.fire(this,{element:e,itemOptions:t}),this.toolbox.addCopiedItem(e,t),this.onCustomElementAddedIntoToolbox.fire(this,{element:e})},e.prototype.fastCopyQuestion=function(e){var t=this.copyElement(e);this.doClickQuestionCore(t,"ELEMENT_COPIED")},e.prototype.deleteElement=function(e){this.deleteObject(e)},e.prototype.deleteObject=function(e){var t={element:e,elementType:h.b.getObjectType(e),allowing:!0};if(this.onElementDeleting.fire(this,t),t.allowing){this.surveyObjects.removeObject(e);h.b.getObjectType(e)==h.a.Page?this.survey.removePage(e):(this.survey.currentPage.removeElement(e),this.survey.selectedElement=null,this.surveyObjects.selectObject(this.survey.currentPage)),this.setModified({type:"OBJECT_DELETED",target:e})}},e.prototype.showLiveSurvey=function(){var e=this;this.surveyLive.onSurveyCreatedCallback=function(t){e.onTestSurveyCreated.fire(e,{survey:t})},this.surveyLive.setJSON(this.getSurveyJSON());var t={showPagesInTestSurveyTab:this.showPagesInTestSurveyTab,showDefaultLanguageInTestSurveyTab:this.showDefaultLanguageInTestSurveyTab,showInvisibleElementsInTestSurveyTab:this.showInvisibleElementsInTestSurveyTab};this.surveyLive.show(t)},e.prototype.showSurveyEmbeding=function(){var e=this.getSurveyJSON();this.surveyEmbeding.json=e,this.surveyEmbeding.surveyId=this.surveyId,this.surveyEmbeding.surveyPostId=this.surveyPostId,this.surveyEmbeding.generateValidJSON=this.options&&this.options.generateValidJSON,this.surveyEmbeding.show()},e.prototype.showSurveyTranslation=function(){this.translation.survey=this.survey},e.prototype.getSurveyJSON=function(){return this.koIsShowDesigner()||"translation"==this.koViewType()?(new y.JsonObject).toJsonObject(this.survey):this.jsonEditor.isJsonCorrect?(new y.JsonObject).toJsonObject(this.jsonEditor.survey):null},e.prototype.createAnnotations=function(e,t){for(var o=new Array,r=0;r<t.length;r++){var n=t[r],i={row:n.position.start.row,column:n.position.start.column,text:n.text,type:"error"};o.push(i)}return o},Object.defineProperty(e.prototype,"alwaySaveTextInPropertyEditors",{get:function(){return this.alwaySaveTextInPropertyEditorsValue},set:function(e){this.alwaySaveTextInPropertyEditorsValue=e},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"showApplyButtonInEditors",{get:function(){return this.showApplyButtonValue},set:function(e){this.showApplyButtonValue=e},enumerable:!0,configurable:!0}),e.prototype.onIsEditorReadOnlyCallback=function(e,t,o){var r=this.readOnly||o;if(this.onGetPropertyReadOnly.isEmpty)return r;var n={obj:e,property:t.property,readOnly:r,propertyName:t.property.name};return this.onGetPropertyReadOnly.fire(this,n),n.readOnly},e.prototype.onItemValueAddedCallback=function(e,t,o,r){var n={obj:e,propertyName:t,newItem:o,itemValues:r};this.onItemValueAdded.fire(this,n)},e.prototype.onMatrixDropdownColumnAddedCallback=function(e,t,o){var r={newColumn:t,matrix:e,columns:o};this.onMatrixColumnAdded.fire(this,r)},e.prototype.onSetPropertyEditorOptionsCallback=function(e,t,o){var r={propertyName:e,obj:t,editorOptions:o};this.onSetPropertyEditorOptions.fire(this,r)},e.prototype.onGetErrorTextOnValidationCallback=function(e,t,o){var r={propertyName:e,obj:t,value:o,error:""};return this.onPropertyValidationCustomError.fire(this,r),r.error},e.prototype.onValueChangingCallback=function(e){this.onPropertyValueChanging.fire(this,e)},e.prototype.onPropertyEditorKeyDownCallback=function(e,t,o,r){var n={propertyName:e,obj:t,editor:o,event:r};this.onPropertyEditorKeyDown.fire(this,n)},e.prototype.onPropertyEditorObjectSetCallback=function(e,t,o){var r={propertyName:e,obj:t,editor:o};this.onPropertyEditorObjectAssign.fire(this,r)},e.prototype.onPropertyEditorModalShowDescriptionCallback=function(e,t){var o={obj:t,propertyName:e,htmlTop:"",htmlBottom:""};return this.onShowPropertyModalEditorDescription.fire(this,o),{top:o.htmlTop,bottom:o.htmlBottom}},e.prototype.onGetElementEditorTitleCallback=function(e,t){return t},e.prototype.onConditionValueSurveyCreatedCallBack=function(e,t,o,r,n){var i={valueQuestionName:e,propertyName:t,obj:o,editor:r,survey:n};this.onConditionValueSurveyCreated.fire(this,i)},e.prototype.onConditionQuestionsGetListCallback=function(e,t,o,r){var n={propertyName:e,obj:t,editor:o,list:r};this.onConditionQuestionsGetList.fire(this,n)},e.prototype.onAdornerRenderedCallback=function(e,t,o,r){var n={survey:this.survey,question:e,adorner:t,element:o,context:r};this.onAdornerRendered.fire(this,n)},e.prototype.uploadFiles=function(e,t){if(this.onUploadFile.isEmpty){var o=new FileReader;o.onload=function(e){t("success",o.result)},o.readAsDataURL(e[0])}else this.onUploadFile.fire(this,{files:e||[],callback:t})},e.defaultNewSurveyText="{ pages: [ { name: 'page1'}] }",e}();r.components.register("survey-widget",{viewModel:function(e){this.survey=e.survey},template:"\x3c!-- ko template: { name: 'survey-content', data: survey, afterRender: $parent.koEventAfterRender } --\x3e\x3c!-- /ko --\x3e"}),r.components.register("svg-icon",{viewModel:{createViewModel:function(e,t){r.computed(function(){var o=(r.unwrap(e.size)||16)+"px",n=t.element.childNodes[0];n.style.width=o,n.style.height=o,n.childNodes[0].setAttributeNS("http://www.w3.org/1999/xlink","xlink:href","#"+r.unwrap(e.iconName))})}},template:"<svg class='svd-svg-icon'><use></use></svg>"})},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=o(38),n=(o.n(r),o(39)),i=(o.n(n),o(40)),a=(o.n(i),o(37)),s=(o.n(a),o(24));o.d(t,"enStrings",function(){return s.a});var l=o(0);o.d(t,"editorLocalization",function(){return l.a}),o.d(t,"defaultStrings",function(){return l.b});var d=o(23);o.d(t,"DragDropHelper",function(){return d.a});var u=o(13);o.d(t,"SurveyPropertyEditorBase",function(){return u.a});var c=o(26);o.d(t,"SurveyPropertyCustomEditor",function(){return c.a});var p=o(4);o.d(t,"SurveyPropertyEditorFactory",function(){return p.a}),o.d(t,"SurveyStringPropertyEditor",function(){return p.b}),o.d(t,"SurveyDropdownPropertyEditor",function(){return p.c}),o.d(t,"SurveyBooleanPropertyEditor",function(){return p.d}),o.d(t,"SurveyNumberPropertyEditor",function(){return p.e});var m=o(69);o.d(t,"SurveyPropertyTextItemsEditor",function(){return m.a});var h=o(14);o.d(t,"SurveyPropertyItemsEditor",function(){return h.a});var g=o(65);o.d(t,"SurveyPropertyItemValuesEditor",function(){return g.a});var v=o(67);o.d(t,"SurveyPropertyMultipleValuesEditor",function(){return v.a});var f=o(15);o.d(t,"SurveyNestedPropertyEditor",function(){return f.a}),o.d(t,"SurveyNestedPropertyEditorItem",function(){return f.b});var y=o(66);o.d(t,"SurveyPropertyDropdownColumnsEditor",function(){return y.a}),o.d(t,"SurveyPropertyMatrixDropdownColumnsItem",function(){return y.b});var b=o(7);o.d(t,"SurveyPropertyModalEditor",function(){return b.a}),o.d(t,"SurveyPropertyTextEditor",function(){return b.b}),o.d(t,"SurveyPropertyHtmlEditor",function(){return b.c});var x=o(25);o.d(t,"SurveyPropertyConditionEditor",function(){return x.a});var k=o(68);o.d(t,"SurveyPropertyResultfullEditor",function(){return k.a});var w=o(27);o.d(t,"SurveyPropertyDefaultValueEditor",function(){return w.a}),o.d(t,"SurveyPropertyDefaultRowValueEditor",function(){return w.b}),o.d(t,"SurveyPropertyDefaultPanelValueEditor",function(){return w.c}),o.d(t,"SurveyPropertySetEditor",function(){return w.d});var T=o(70);o.d(t,"SurveyPropertyTriggersEditor",function(){return T.a});var S=o(71);o.d(t,"SurveyPropertyValidatorsEditor",function(){return S.a});var P=o(64);o.d(t,"SurveyPropertyCellsEditor",function(){return P.a});var C=o(32);o.d(t,"SurveyObjects",function(){return C.a});var E=o(28);o.d(t,"SurveyQuestionEditorProperties",function(){return E.a}),o.d(t,"SurveyQuestionEditorRow",function(){return E.b}),o.d(t,"SurveyQuestionEditorProperty",function(){return E.c});var N=o(16);o.d(t,"SurveyQuestionEditorDefinition",function(){return N.a});var V=o(10);o.d(t,"SurveyPropertyEditorShowWindow",function(){return V.a}),o.d(t,"SurveyQuestionEditor",function(){return V.b}),o.d(t,"SurveyQuestionEditorTab",function(){return V.c});var O=o(29);o.d(t,"QuestionToolbox",function(){return O.a});var j=o(12);o.d(t,"SurveyObjectProperty",function(){return j.a});var I=o(18);o.d(t,"SurveyObjectEditor",function(){return I.a});var A=o(63);o.d(t,"PagesEditor",function(){return A.a});var q=o(20);o.d(t,"SurveyTextWorker",function(){return q.a});var R=o(6);o.d(t,"ObjType",function(){return R.a}),o.d(t,"SurveyHelper",function(){return R.b});var L=o(33);o.d(t,"SurveyLiveTester",function(){return L.a});var M=o(31);o.d(t,"SurveyEmbedingWindow",function(){return M.a});var D=o(30);o.d(t,"QuestionConverter",function(){return D.a});var _=o(35);o.d(t,"SurveyUndoRedo",function(){return _.a}),o.d(t,"UndoRedoItem",function(){return _.b});var H=o(5);o.d(t,"SurveyForDesigner",function(){return H.a}),o.d(t,"registerAdorner",function(){return H.b}),o.d(t,"removeAdorners",function(){return H.c});var z=o(48);o.d(t,"Extentions",function(){return z.a});var B=o(46);o.d(t,"SurveyEditor",function(){return B.a});var $=o(62);o.d(t,"SurveysManager",function(){return $.a});var J=o(19);o.d(t,"StylesManager",function(){return J.a});var Q=(o(49),o(50),o(51),o(53),o(52),o(54),o(56),o(57),o(58),o(59),o(60),o(61),o(55),o(34));o.d(t,"Translation",function(){return Q.a}),o.d(t,"TranslationGroup",function(){return Q.b}),o.d(t,"TranslationItem",function(){return Q.c}),o.d(t,"TranslationItemBase",function(){return Q.d});var F=o(17);o.d(t,"titleAdorner",function(){return F.a});var U=o(11);o.d(t,"itemAdorner",function(){return U.a});var W=o(43);o.d(t,"labelAdorner",function(){return W.a});var G=o(22);o.d(t,"questionActionsAdorner",function(){return G.a});var K=o(45);o.d(t,"selectItemsEditorAdorner",function(){return K.a});var Y=o(44);o.d(t,"ratingItemAdorner",function(){return Y.a});var X=o(42);o.d(t,"imageItemsAdorner",function(){return X.a});var Z=o(41);o.d(t,"flowpanelActionsAdorner",function(){return Z.a});var ee=o(72);o.d(t,"AccordionItemModel",function(){return ee.a}),o.d(t,"AccordionModel",function(){return ee.b});var te=o(73);o.d(t,"SplitterComponentViewModel",function(){return te.a}),o.d(t,"Version",function(){return oe});var oe;oe="1.0.78"},function(e,t,o){"use strict";var r=o(4);o.d(t,"a",function(){return n});var n=function(){function e(){}return e.registerCustomPropertyEditor=function(e,t){r.a.registerCustomEditor(e,t)},e.registerPropertyEditor=function(e,t){r.a.registerEditor(e,t)},e}()},function(e,t,o){"use strict";var r=o(0),n={survey:{edit:"Rediger",dropQuestion:"Træk et spørgsmål hertil fra paletten til venstre.",copy:"Kopier",addToToolbox:"Tilføj til paletten",deletePanel:"Slet panel",deleteQuestion:"Slet spørgsmål",convertTo:"Konverter til",drag:"Træk element"},qt:{default:"Standard",checkbox:"Afkrydsningsfelt",comment:"Kommentar",imagepicker:"Billedvælger",dropdown:"Dropdown",file:"Fil",html:"Html",matrix:"Matrice (ét valg)",matrixdropdown:"Matrice (flere valg)",matrixdynamic:"Matrice (dynamiske rækker)",multipletext:"Flere tekstfelter",panel:"Panel",paneldynamic:"Panel (dynamiske paneler)",radiogroup:"Alternativknap",rating:"Vurdering",text:"Tekstfelt",boolean:"Sandt/falsk",expression:"Udtryk"},ed:{defaultLocale:"Standard ({0})",survey:"Undersøgelse",settings:"Indstillinger for undersøgelse",editSurvey:"Rediger undersøgelse",addNewPage:"Tilføj ny side",moveRight:"Gå til højre",moveLeft:"Gå til venstre",deletePage:"Slet side",editPage:"Rediger side",edit:"Rediger",newPageName:"side",newQuestionName:"spørgsmål",newPanelName:"panel",testSurvey:"Afprøv undersøgelse",testSurveyAgain:"Afprøv undersøgelse igen",testSurveyWidth:"Bredde af undersøgelse: ",embedSurvey:"Indlejr undersøgelse",translation:"Oversættelse",saveSurvey:"Gem undersøgelse",designer:"Undersøgelsesdesigner",jsonEditor:"JSON Editor",undo:"Fortryd",redo:"Annuller fortryd",options:"Indstillinger",generateValidJSON:"Generer gylding JSON",generateReadableJSON:"Generer læsbar JSON",toolbox:"Værktøjskasse",toolboxGeneralCategory:"Generelt",delSelObject:"Slet valgt objekt",editSelObject:"Rediger valgt objekt",correctJSON:"Ret venligst JSON.",surveyResults:"Undersøgelsesresultat: ",modified:"Ændret",saving:"Gemmer",saved:"Gemt",saveError:"Fejl! Undersøgelsen er ikke blevet gemt.",translationAddLanguage:"Vælg et sprog at oversætte",translationShowAllStrings:"Vis alle tekststrenge",translationShowAllPages:"Vis alle sider",translationNoStrings:"Ingen tekststrenge at oversætte. Ret filteret.",translationExportToSCVButton:"Eksporter til CSV",translationImportFromSCVButton:"Importer fra CSV",translationMergeLocaleWithDefault:"Flet {0} med standardsprog"},pel:{isRequired:"Påkrævet?"},pe:{apply:"Anvend",ok:"OK",cancel:"Annuller",reset:"Nulstil",close:"Luk",delete:"Slet",addNew:"Tilføj ny",addItem:"Klik for at tilføje...",removeAll:"Fjern alle",edit:"Rediger",itemValueEdit:"Synlig hvis",editChoices:"Rediger valgmuligheder",move:"Flyt",empty:"<tom>",notEmpty:"<redigér værdi>",fastEntry:"Fast Entry",formEntry:"Form Entry",testService:"Test the service",conditionSelectQuestion:"Vælg spørgsmål...",conditionValueQuestionTitle:"Indtast/vælg værdi",conditionButtonAdd:"Tilføj",conditionButtonReplace:"Erstat",conditionHelp:"Indtast et boolsk udtryk. Det skal returnere true for at holde spørgsmålet/siden synlig. For eksempel: {question1} = 'value1' or ({question2} * {question4}  > 20 and {question3} < 5)",expressionHelp:"Indtast et udtryk. Du kan bruge krølle-parenteser for at få adgang til svarene: '{question1} + {question2}', '({price}*{quantity}) * (100 - {discount})'",aceEditorHelp:"Tast ctrl+space for hjælp til at afslutte udtrykket",aceEditorRowTitle:"Aktuel række",aceEditorPanelTitle:"Aktuelt panel",showMore:"Se dokumentationen for flere informationer",conditionShowMoreUrl:"https://surveyjs.io/Documentation/LibraryParameter?id=Question&parameter=visibleIf",assistantTitle:"Tilgængelige spørgsmål:",cellsEmptyRowsColumns:"Der skal være mindst én kolonne eller række",propertyIsEmpty:"Indtast en værdi",value:"Værdi",text:"Tekst",rowid:"Række ID",imageLink:"Billedlink",columnEdit:"Rediger kolonne: {0}",itemEdit:"Redigér: {0}",url:"URL",path:"Sti",valueName:"Værdiens navn",titleName:"Titelnavn",hasOther:"Har andet element",otherText:"Andet element tekst",name:"Navn",title:"Titel",cellType:"Celletype",colCount:"Antal kolonner",choicesOrder:"Vælg rækkefølge på valg",visible:"Er synlig?",isRequired:"Er påkrævet?",startWithNewLine:"Skal starte med ny linie?",rows:"Antal rækker",placeHolder:"Hint-tekst",showPreview:"Vises forhåndsvisning af billeder?",storeDataAsText:"Gem filindhold i JSON-resultat som tekst",maxSize:"Maksimal filstørrelse i bytes",imageHeight:"Billedhøjde",imageWidth:"Billedbredde",rowCount:"Antal rækker",columnLayout:"Kolonnelayout",addRowLocation:"Tilføj række knapplacering",addRowText:"Tilføj række knaptekst",removeRowText:"Fjern række knaptekst",minRateDescription:"Beskriv laveste vurdering",maxRateDescription:"Beskriv højeste vurdering",inputType:"Inputtype",optionsCaption:"Muligheder tekst",defaultValue:"Standardværdi",cellsDefaultRow:"Standard celletekst",surveyEditorTitle:"Rediger undersøgelsesindstillinger",qEditorTitle:"Redigér: {0}",maxLength:"Maximal længde",showTitle:"Vis/skjul titel",locale:"Standardsprog",mode:"Mode (rediger/skrivebeskyttet)",clearInvisibleValues:"Fjern usynlige værdier",cookieName:"Cookienavn (for at undgå at afvikle undersøgelsen to gange lokalt)",sendResultOnPageNext:"Send undersøgelsesresultatet ved næste side",storeOthersAsComment:"Gem 'others' værdien i et seperat felt",showPageTitles:"Vis sidetitler",showPageNumbers:"Vis sidenumre",pagePrevText:"Forrige side knaptekst",pageNextText:"Næste side knaptekst",completeText:"Færdig knaptekst",startSurveyText:"Start knaptekst",showNavigationButtons:"Vis navigationsknapper (standard navigation)",showPrevButton:"Vis forrige knap (brugeren må gå tilbage til forrige side)",firstPageIsStarted:"Den første side in undersøgelsen er starten på undersøgelsen.",showCompletedPage:"Vis afslutningssiden til slut (completedHtml)",goNextPageAutomatic:"Gå til næste side automatisk når alle spørgsmål er besvaret",showProgressBar:"Vis fremdriftslinje",questionTitleLocation:"Spørgsmålstitel placering",requiredText:"Påkrævet spørgsmålssymbol(er)",questionStartIndex:"Spørgsmål startindex (1, 2 eller 'A', 'a')",showQuestionNumbers:"Vis spørgsmålsnumre",questionTitleTemplate:"Spørgsmålstitel template, standard er: '{no}. {require} {title}'",questionErrorLocation:"Spørgsmålsfejl placering",focusFirstQuestionAutomatic:"Fokusér første spørgsmål ved sideskift",questionsOrder:"Rækkefølge af spørgsmål på siden",maxTimeToFinish:"Maximal tid til at gennemføre undersøgelsen",maxTimeToFinishPage:"Maximal tid til at gennemføre en side i undersøgelsen",showTimerPanel:"Vis tidspanel",showTimerPanelMode:"Vis tidspanel tilstand",renderMode:"Renderingstilstand",allowAddPanel:"Tillad at tilføje et panel",allowRemovePanel:"Tillad at fjerne et panel",panelAddText:"Tilføj panel tekst",panelRemoveText:"Fjern panel tekst",isSinglePage:"Vis alle elementer på én side",tabs:{general:"Generelt",fileOptions:"Indstillinger",html:"Html-editor",columns:"Kolonner",rows:"Rækker",choices:"Valgmuligheder",items:"Elementer",visibleIf:"Synlig hvis",enableIf:"Aktiv hvis",rateValues:"Bedøm-værdier",choicesByUrl:"Valgmuligheder fra Web",matrixChoices:"Standard valgmuligheder",multipleTextItems:"Tekst inputmuligheder",validators:"Valideringer",navigation:"Navigation",question:"Spørgsmål",completedHtml:"Færdig Html",loadingHtml:"Indlæser Html",timer:"Tid/Quiz",triggers:"Triggere",templateTitle:"Skabelon titel"},editProperty:"Rediger egenskab '{0}'",items:"[ Element: {0} ]",enterNewValue:"Indtast værdien.",noquestions:"Der er ingen spørgsmål i undersøgelsen.",createtrigger:"Opret en trigger",triggerOn:"På ",triggerMakePagesVisible:"Gør sider synlige:",triggerMakeQuestionsVisible:"Gør spørgsmål synlige:",triggerCompleteText:"Aflslut spørgeskema ved at fortsætte.",triggerNotSet:"Triggerer er ikke sat",triggerRunIf:"Afvikl hvis",triggerSetToName:"Ændr værdien af: ",triggerFromName:"Kopier værdi fra: ",triggerRunExpression:"Afvikl dette udtryk:",triggerSetValue:"til: ",triggerIsVariable:"Gem ikke variablen i undersøgelsesresultatet."},pv:{true:"true",false:"false",inherit:"inherit",show:"show",hide:"hide",default:"default",initial:"initial",random:"random",collapsed:"collapsed",expanded:"expanded",none:"none",asc:"ascending",desc:"descending",indeterminate:"indeterminate",decimal:"decimal",currency:"currency",percent:"percent",firstExpanded:"firstExpanded",off:"off",onPanel:"onPanel",onSurvey:"onSurvey",list:"list",progressTop:"progressTop",progressBottom:"progressBottom",progressTopBottom:"progressTopBottom",horizontal:"horizontal",vertical:"vertical",top:"top",bottom:"bottom",topBottom:"top and bottom",left:"left",color:"color",date:"date",datetime:"datetime","datetime-local":"datetime-local",email:"email",month:"month",number:"number",password:"password",range:"range",tel:"tel",text:"text",time:"time",url:"url",week:"week",hidden:"hidden",on:"on",onPage:"onPage",edit:"edit",display:"display",onComplete:"onComplete",onHidden:"onHidden",all:"all",page:"page",survey:"survey",onNextPage:"onNextPage",onValueChanged:"onValueChanged"},op:{empty:"is empty",notempty:"is not empty",equal:"equals",notequal:"not equals",contains:"contains",notcontains:"not contains",greater:"greater",less:"less",greaterorequal:"greater or equals",lessorequal:"less or equals"},ew:{angular:"Benyt Angular version",jquery:"Benyt jQuery version",knockout:"Benyt Knockout version",react:"Benyt React version",vue:"Benyt Vue version",bootstrap:"For bootstrap framework",standard:"Ingen bootstrap",showOnPage:"Vis undersøgelsen på en side",showInWindow:"Vis undersøgelsen i et vindue",loadFromServer:"Hent undersøgelsen som JSON fra serveren",titleScript:"Scripts og styles",titleHtml:"HTML",titleJavaScript:"JavaScript"},ts:{selectPage:"Vælg siden for at teste den:"},validators:{answercountvalidator:"answer count",emailvalidator:"e-mail",expressionvalidator:"expression",numericvalidator:"numeric",regexvalidator:"regex",textvalidator:"text"},triggers:{completetrigger:"undersøgelse gennemført",setvaluetrigger:"sæt værdi",copyvaluetrigger:"kopiér værdi",runexpressiontrigger:"afvikl udtry",visibletrigger:"skift synlighed"},p:{name:"navn",title:{name:"titel",title:"Lad den være tom hvis det er det samme som 'Navn'"},navigationButtonsVisibility:"navigationButtonsVisibility",questionsOrder:"questionsOrder",maxTimeToFinish:"maxTimeToFinish",visible:"visible",visibleIf:"visibleIf",questionTitleLocation:"questionTitleLocation",description:"description",state:"state",isRequired:"isRequired",indent:"indent",requiredErrorText:"requiredErrorText",startWithNewLine:"startWithNewLine",innerIndent:"innerIndent",page:"page",width:"width",commentText:"commentText",valueName:"valueName",enableIf:"enableIf",defaultValue:"defaultValue",correctAnswer:"correctAnswer",readOnly:"readOnly",validators:"validators",titleLocation:"titleLocation",hasComment:"hasComment",hasOther:"hasOther",choices:"choices",choicesOrder:"choicesOrder",choicesByUrl:"choicesByUrl",otherText:"otherText",otherErrorText:"otherErrorText",storeOthersAsComment:"storeOthersAsComment",label:"label",showTitle:"showTitle",valueTrue:"valueTrue",valueFalse:"valueFalse",cols:"cols",rows:"rows",placeHolder:"placeHolder",optionsCaption:"optionsCaption",expression:"expression",format:"format",displayStyle:"displayStyle",currency:"currency",useGrouping:"useGrouping",showPreview:"showPreview",allowMultiple:"allowMultiple",imageHeight:"imageHeight",imageWidth:"imageWidth",storeDataAsText:"storeDataAsText",maxSize:"maxSize",html:"html",columns:"columns",cells:"cells",isAllRowRequired:"isAllRowRequired",horizontalScroll:"horizontalScroll",cellType:"cellType",columnsLayout:"columnsLayout",columnColCount:"columnColCount",columnMinWidth:"columnMinWidth",rowCount:"rowCount",minRowCount:"minRowCount",maxRowCount:"maxRowCount",keyName:"keyName",keyDuplicationError:"keyDuplicationError",confirmDelete:"confirmDelete",confirmDeleteText:"confirmDeleteText",addRowLocation:"addRowLocation",addRowText:"addRowText",removeRowText:"removeRowText",items:"items",itemSize:"itemSize",colCount:"colCount",templateTitle:"templateTitle",templateDescription:"templateDescription",allowAddPanel:"allowAddPanel",allowRemovePanel:"allowRemovePanel",panelCount:"panelCount",minPanelCount:"minPanelCount",maxPanelCount:"maxPanelCount",panelsState:"panelsState",panelAddText:"panelAddText",panelRemoveText:"panelRemoveText",panelPrevText:"panelPrevText",panelNextText:"panelNextText",showQuestionNumbers:"showQuestionNumbers",showRangeInProgress:"showRangeInProgress",renderMode:"renderMode",templateTitleLocation:"templateTitleLocation",rateValues:"rateValues",rateMin:"rateMin",rateMax:"rateMax",rateStep:"rateStep",minRateDescription:"minRateDescription",maxRateDescription:"maxRateDescription",inputType:"inputType",size:"size",locale:"locale",focusFirstQuestionAutomatic:"focusFirstQuestionAutomatic",completedHtml:"completedHtml",completedBeforeHtml:"completedBeforeHtml",loadingHtml:"loadingHtml",triggers:"triggers",cookieName:"cookieName",sendResultOnPageNext:"sendResultOnPageNext",showNavigationButtons:"showNavigationButtons",showPrevButton:"showPrevButton",showPageTitles:"showPageTitles",showCompletedPage:"showCompletedPage",showPageNumbers:"showPageNumbers",questionErrorLocation:"questionErrorLocation",showProgressBar:"showProgressBar",mode:"mode",goNextPageAutomatic:"goNextPageAutomatic",checkErrorsMode:"checkErrorsMode",clearInvisibleValues:"clearInvisibleValues",startSurveyText:"startSurveyText",pagePrevText:"pagePrevText",pageNextText:"pageNextText",completeText:"completeText",requiredText:"requiredText",questionStartIndex:"questionStartIndex",questionTitleTemplate:"questionTitleTemplate",firstPageIsStarted:"firstPageIsStarted",isSinglePage:"isSinglePage",maxTimeToFinishPage:"maxTimeToFinishPage",showTimerPanel:"showTimerPanel",showTimerPanelMode:"showTimerPanelMode",defaultPanelValue:"defaultPanelValue",defaultRowValue:"defaultRowValue",hasNone:"hasNone",noneText:"noneText",text:"text",minValue:"minimum value",maxValue:"maximum value",minLength:"minumum length",maxLength:"maximum length",allowDigits:"allow digits",minCount:"minumum count",maxCount:"maximum count",regex:"regular expression"}};r.a.locales.da=n},function(e,t,o){"use strict";var r=o(0),n={survey:{edit:"Éditer",dropQuestion:"Déposer votre question ici.",copy:"Copier",addToToolbox:"Ajouter à la boîte à outils",deletePanel:"Supprimer le panneau",deleteQuestion:"Supprimer la question",convertTo:"Convertir en"},qt:{checkbox:"Cases à cocher",comment:"Commentaire",dropdown:"Liste déroulante",file:"Fichier",html:"HTML",matrix:"Matrice (choix unique)",matrixdropdown:"Matrice (choix multiples)",matrixdynamic:"Matrice (lignes dynamiques)",multipletext:"Champ multilignes",panel:"Panneau",paneldynamic:"Panneau (panneaux dynamiques)",radiogroup:"Boutons radio",rating:"Évaluation",text:"Champ texte",boolean:"Booléen",expression:"Expression"},ed:{survey:"Questionnaire",editSurvey:"Éditer le questionnaire",addNewPage:"Ajouter une page",deletePage:"Supprimer une page",editPage:"Éditer une page",newPageName:"page",newQuestionName:"question",newPanelName:"panneau",testSurvey:"Tester le questionnaire",testSurveyAgain:"Tester à nouveau le questionnaire",testSurveyWidth:"Largeur du questionnaire : ",embedSurvey:"Intégrer le questionnaire",saveSurvey:"Sauvegarder le questionnaire",designer:"Éditeur de questionnaire",jsonEditor:"Éditer JSON",undo:"Annuler",redo:"Rétablir",options:"Options",generateValidJSON:"Générer un JSON valide",generateReadableJSON:"Générer un JSON lisible",toolbox:"Boîte à outils",toolboxGeneralCategory:"Général",delSelObject:"Supprimer l'objet sélectionné",editSelObject:"Éditer l'objet sélectionné",correctJSON:"SVP corrigez le JSON",surveyResults:"Résultat du questionnaire : ",modified:"Modifié",saving:"Sauvegarde en cours",saved:"Sauvegardé"},pel:{isRequired:"Obligatoire ?"},pe:{apply:"Appliquer",ok:"OK",cancel:"Annuler",reset:"Réinitialiser",close:"Fermer",delete:"Supprimer",addNew:"Ajouter un nouveau",addItem:"Cliquer pour ajouter un item...",removeAll:"Tout supprimer",edit:"Éditer",move:"Déplacer",empty:"<vide>",notEmpty:"<éditer la valeur>",fastEntry:"Ajout rapide",formEntry:"Ajout via formulaire",testService:"Tester le service",conditionSelectQuestion:"Sélectionner une question...",conditionButtonAdd:"Ajouter",conditionButtonReplace:"Remplacer",conditionHelp:'Veuillez entrer une expression booléenne. Elle doit retourner Vrai(true) pour garder la question/page visible. Par exemple: {question1} = "valeur1" or ({question2} = 3 and {question3} < 5)',expressionHelp:"Veuillez entrer une expression. Vous pouvez utiliser des accolades pour accéder aux valeurs des questions '{question1} + {question2}', '({prix}*{quantite}) * (100 - {remise})'",aceEditorHelp:"Appuyer sur Ctrl + espace pour obtenir une aide pour la saisie d'expression",aceEditorRowTitle:"Ligne courante",aceEditorPanelTitle:"Panneau courant",showMore:"Pour plus d'informations, veuillez vous référer à la documentation",assistantTitle:"Questions disponibles :",cellsEmptyRowsColumns:"Il faut au minimum une ligne ou une colonne",propertyIsEmpty:"Veuillez entrer une valeur pour la propriété",value:"Valeur",text:"Texte",columnEdit:"Éditer la colonne: {0}",itemEdit:"Éditer l'item: {0}",url:"URL",path:"Chemin",valueName:"Nom de la valeur",titleName:"Nom du titre",hasOther:"Contient un autre item",otherText:"Autre item texte",name:"Nom",title:"Titre",cellType:"Type de cellule",colCount:"Nombre de colonnes",choicesOrder:"Sélectionner l'ordre des choix",visible:"Est visible ?",isRequired:"Est obligatoire ?",startWithNewLine:"Commencer avec une nouvelle ligne ?",rows:"Nombre de lignes",placeHolder:"Placeholder (indice dans le champ)",showPreview:"L'aperçu d'image est-il affiché ?",storeDataAsText:"Stocker le contenu du fichier dans le résultat JSON sous forme de texte",maxSize:"Taille maximum du fichier en octets",imageHeight:"Hauteur de l'image",imageWidth:"Largeur de l'image",rowCount:"Nombre de lignes",addRowText:'Texte bouton "Ajouter une ligne"',removeRowText:'Texte bouton "Supprimer une ligne"',minRateDescription:"Description note minimum",maxRateDescription:"Description note maximum",inputType:"Type de champ",optionsCaption:"Texte par défaut",defaultValue:"Valeur par défaut",cellsDefaultRow:"Texte de cellule par défaut",surveyEditorTitle:"Éditer les préférences du questionnaire",qEditorTitle:"Éditer la question: {0}",showTitle:"Afficher/cacher le titre",locale:"Langue par défaut",mode:"Mode (édition/lecture seule)",clearInvisibleValues:"Effacer les valeurs invisibles",cookieName:"Nom du cookie (pour empêcher de compléter 2 fois le questionnaire localement)",sendResultOnPageNext:"Envoyer les résultats au changement de page",storeOthersAsComment:'Sauvegarder la valeur "Autres" dans un champ séparé',showPageTitles:"Afficher les titres de pages",showPageNumbers:"Afficher les numéros de pages",pagePrevText:"Texte bouton page précédente",pageNextText:"Texte bouton page suivante",completeText:"Texte bouton terminer",startSurveyText:"Texte bouton commencer",showNavigationButtons:"Afficher les boutons de navigation (navigation par défaut)",showPrevButton:"Afficher le bouton précédent (l'utilisateur pourra retourner sur la page précédente)",firstPageIsStarted:"La première page du questionnaire est une page de démarrage.",showCompletedPage:'Afficher la page "terminé" à la fin (completedHtml)',goNextPageAutomatic:"Aller à la page suivante automatiquement pour toutes les questions",showProgressBar:"Afficher la barre de progression",questionTitleLocation:"Emplacement du titre de la question",requiredText:"La question requiert un/des symbole(s)",questionStartIndex:"Index de départ de la question (1, 2 ou 'A', 'a')",showQuestionNumbers:"Afficher les numéros de questions",questionTitleTemplate:"Gabarit du titre de question, par défaut : '{no}. {require} {title}'",questionErrorLocation:"Emplacement de l'erreur",focusFirstQuestionAutomatic:"Focus sur la première question au changement de page",questionsOrder:"Ordre des éléments sur la page",maxTimeToFinish:"Temps maximum pour terminer le questionnaire",maxTimeToFinishPage:"Temps maximum pour terminer une page",showTimerPanel:"Afficher le panneau chronomètre",showTimerPanelMode:"Mode d'affichage du panneau chronomètre",renderMode:"Mode de rendu",allowAddPanel:"Autoriser l'ajout du panneau",allowRemovePanel:"Autoriser la suppression du panneau",panelAddText:"Ajouter un panneau texte",panelRemoveText:"Supprimer le panneau texte",isSinglePage:"Afficher tous les éléments sur une seule page",tabs:{general:"Général",fileOptions:"Options",html:"Éditeur HTML",columns:"Colonnes",rows:"Lignes",choices:"Choix",visibleIf:"Visible si",enableIf:"Actif si",rateValues:"Barème",choicesByUrl:"Choix depuis API web",matrixChoices:"Choix par défaut",multipleTextItems:"Champs texte multiples",validators:"Validateurs",navigation:"Navigation",question:"Question",completedHtml:"HTML de fin",loadingHtml:"HTML de chargement",timer:"Chronomètre/Quiz",triggers:"Déclencheurs",templateTitle:"Titre de gabarit"},editProperty:'Éditer la propriété "{0}"',items:"[ Éléments: {0} ]",enterNewValue:"Veuillez saisir la valeur.",noquestions:"Il n'y a aucune question dans le questionnaire.",createtrigger:"Veuillez créer un déclencheur",triggerOn:"Quand ",triggerMakePagesVisible:"Rendre les pages visibles :",triggerMakeQuestionsVisible:"Rendre les questions visibles :",triggerCompleteText:"Terminer le questionnaire en cas de succès.",triggerNotSet:"Le déclencheur n'est pas défini",triggerRunIf:"Exécuter si",triggerSetToName:"Changer la valeur de: ",triggerSetValue:"à: ",triggerIsVariable:"Ne placez pas la variable dans le résultat du questionnaire."},pv:{true:"vrai",false:"faux",inherit:"hérité",show:"afficher",hide:"masquer",default:"par défaut",initial:"initial",random:"aléatoire",collapsed:"replié",expanded:"déployé",none:"aucun",asc:"ascendant",desc:"descendant",indeterminate:"indeterminé",decimal:"décimal",currency:"monnaie",percent:"pourcentage",firstExpanded:"déployé en premier",off:"désactivé",onPanel:"panneau",onSurvey:"questionnaire",list:"liste",progressTop:"Progression en haut",progressBottom:"Progression en bas",progressTopBottom:"Progression en haut et en bas",top:"haut",bottom:"bas",left:"gauche",color:"couleur",date:"date",datetime:"heure","datetime-local":"heure locale",email:"email",month:"mois",number:"nombre",password:"mot de passe",range:"jauge",tel:"tél.",text:"texte",time:"heure",url:"URL",week:"semaine",hidden:"masqué",on:"activé",onPage:"page",edit:"éditer",display:"affichage",onComplete:"onComplete",onHidden:"onHidden",all:"tous",page:"page",survey:"questionnaire"},op:{empty:"est vide",notempty:"n'est pas vide",equal:"égal",notequal:"n'est pas égal",contains:"contient",notcontains:"ne contient pas",greater:"supérieur",less:"inférieur",greaterorequal:"supérieur ou égal",lessorequal:"inférieur ou égal"},ew:{angular:"Utiliser la version Angular",jquery:"Utiliser la version jQuery",knockout:"Utiliser la version Knockout",react:"Utiliser la version React",vue:"Utiliser la version Vue",bootstrap:"Pour le framework Bootstrap",standard:"Sans Bootstrap",showOnPage:"Afficher le questionnaire dans une page",showInWindow:"Afficher le questionnaire dans une fenêtre",loadFromServer:"Charger le JSON du questionnaire depuis un serveur",titleScript:"Scripts et styles",titleHtml:"HTML",titleJavaScript:"JavaScript"},ts:{selectPage:"Sélectionner une page pour la tester"},validators:{answercountvalidator:"total de réponses",emailvalidator:"e-mail",numericvalidator:"numérique",regexvalidator:"regex",textvalidator:"texte"},triggers:{completetrigger:"terminer le questionnaire",setvaluetrigger:"définir la valeur",visibletrigger:"modifier la visibilité"},p:{name:"Nom",title:{name:"Titre",title:'Laissez vide, si même texte que le "Nom"'},navigationButtonsVisibility:"Visibilité des boutons de navigation",questionsOrder:"Ordre des questions",maxTimeToFinish:"Temps maximum pour terminer",visible:"Visible",visibleIf:"Visible si ",questionTitleLocation:"Emplacement titre question",description:"Description",state:"État",isRequired:"Obligatoire ?",requiredErrorText:"Message d'erreur text obligatoire",startWithNewLine:"Commencer avec une nouvelle ligne",innerIndent:"Indentation",page:"page",width:"largeur",commentText:"Description champ commentaire",valueName:"Nom de la valeur",enableIf:"Activer si",defaultValue:"Valeur par défaut",correctAnswer:"Bonne réponse",readOnly:"Lecture seule",validators:"Validateurs",titleLocation:"Emplacement du titre",hasComment:"Champ commentaire ?",hasOther:"Choix autre ?",choices:"Choix",choicesOrder:"Ordre des choix",choicesByUrl:"Choix par API",otherText:"Autre texte",otherErrorText:'Texte d\'erreur champ "Autre"',storeOthersAsComment:"Sauvegarder choix autre comme commentaire",label:"Intitulé",showTitle:"Afficher le titre",valueTrue:"Valeur vrai",valueFalse:"Valeur faux",cols:"Colonnes",rows:"Nombre de lignes",placeHolder:"PlaceHolder (indice dans le champ)",optionsCaption:"Texte par défaut",expression:"Expression",format:"Format",displayStyle:"Style d'affichage",currency:"Monnaie",useGrouping:"Utiliser les groupes",showPreview:"Voir la prévisualisation",allowMultiple:"Autoriser multiples",imageHeight:"Hauteur de l'image",imageWidth:"Largeur de l'image",storeDataAsText:"Stocker les données comme du texte",maxSize:"Taille maximum",html:"HTML",columns:"Colonnes",cells:"Cellules",horizontalScroll:"Scroll horizontal",cellType:"Type de cellule",columnColCount:"Nombre de colonnes",columnMinWidth:"Largeur minimale des colonnes",rowCount:"Nombre de lignes",minRowCount:"Nombre de lignes minimum",maxRowCount:"Nombre de lignes maximum",keyName:"Nom de la clé",keyDuplicationError:"Erreur de clés multiples",confirmDelete:"Confirmation de suppression",confirmDeleteText:"Texte de confirmation de suppression",addRowText:"Bouton ajouter une ligne",removeRowText:"Bouton supprimer une ligne",items:"Items",itemSize:"Nombre maximum de caractères",colCount:"Nombre de colonnes",templateTitle:"Titre de gabarit",templateDescription:"Description du gabarit",allowAddPanel:"Autoriser l'ajout de panneau",allowRemovePanel:"Autoriser la suppression de panneau",panelCount:"Nombre de panneaux",minPanelCount:"Nombre minimum de panneaux",maxPanelCount:"Nombre maximum de panneaux",panelsState:"État des panneaux",panelAddText:"Texte d'ajout des panneaux",panelRemoveText:"Texte de suppression des panneaux",panelPrevText:"Texte panneau précédent",panelNextText:"Texte panneau suivant",showQuestionNumbers:"Numérotation des questions",showRangeInProgress:"Afficher la progression",renderMode:"Mode de rendu",templateTitleLocation:"Emplacement du titre de gabarit",rateValues:"Barème",rateMin:"Valeur minimum",rateMax:"Valeur maximum",rateStep:"Pas",minRateDescription:"Description note minimum",maxRateDescription:"Description note maximum",inputType:"Type de champ",size:"Nombre maximum de caractères",focusFirstQuestionAutomatic:"Focus automatique sur la première question",completedHtml:"HTML questionnaire finalisé",completedBeforeHtml:"HTML avant complétion du questionnaire",loadingHtml:"HTML de chargement",triggers:"Déclencheurs",cookieName:"Nom du cookie",sendResultOnPageNext:"Envoyer les résultats au changement de page",showNavigationButtons:"Boutons de navigation",showPrevButton:"Afficher le bouton précédent",showPageTitles:"Titre des pages",showCompletedPage:"Voir la page formulaire complété ?",showPageNumbers:"Numérotation des pages",questionErrorLocation:"Emplacement des erreurs",showProgressBar:"Barre de progression",mode:"Mode d'affichage",goNextPageAutomatic:"Aller à la page suivante automatiquement",clearInvisibleValues:"Cacher les valeurs invisibles",startSurveyText:"Texte de démarrage du questionnaire",pagePrevText:"Bouton page précédente",pageNextText:"Bouton page suivante",completeText:"Texte questionnaire finalisé",requiredText:"Texte pour les champs obligatoires",questionStartIndex:"Index de numérotation des questions",questionTitleTemplate:"Template d'affichage des questions",firstPageIsStarted:"Commence à la première page",isSinglePage:"Affiché sur une page",maxTimeToFinishPage:"Temps maximum pour finir la page",showTimerPanel:"Afficher le panneau chronomètre",showTimerPanelMode:"Mode d'affichage du panneau chronomètre",indent:"Indentation",isAllRowRequired:"Toutes les lignes sont-elle obligatoires ?",locale:"Langue"}};r.a.locales.fr=n},function(e,t,o){"use strict";var r=o(0),n={survey:{edit:"Bearbeiten",dropQuestion:"Frage bitte hier platzieren.",copy:"Kopieren",addToToolbox:"Zur Werkzeugleiste hinzufügen",deletePanel:"Panel löschen",deleteQuestion:"Frage löschen"},qt:{checkbox:"Checkbox",comment:"Kommentar",dropdown:"Aufklappmenü",file:"Datei",html:"Html",matrix:"Matrix (einfache Auswahl)",matrixdropdown:"Matrix (mehrfache Auswahl)",matrixdynamic:"Matrix (dynamische Zeilen)",multipletext:"Mehrzeiliger Text",panel:"Panel",paneldynamic:"Panel (dynamische Panels)",radiogroup:"Radiogruppe",rating:"Bewertung",text:"Einfache\tEingabe",boolean:"Boolean"},ed:{survey:"Umfrage",addNewPage:"Neue Seite hinzufügen",newPageName:"Seite",newQuestionName:"Frage",newPanelName:"Panel",testSurvey:"Testumfrage",testSurveyAgain:"Testumfrage wiederholen",testSurveyWidth:"Umfragebreite: ",embedSurvey:"Umfrage einfügen",saveSurvey:" Umfrage speichern",designer:"Umfrage Designer",jsonEditor:"JSON Editor",undo:"Rückgängig",redo:"Wiederherstellen",options:"Optionen",generateValidJSON:"Generiere gültiges JSON",generateReadableJSON:"Generiere lesbares JSON",toolbox:"Werkzeugleiste",delSelObject:"Lösche markiertes Objekt",correctJSON:"Bitte JSON korrigieren.",surveyResults:"Umfrageergebnis: "},pel:{isRequired:"Erforderlich?"},pe:{apply:"Anwenden",ok:"OK",cancel:"Abbrechen",reset:"Zurücksetzen",close:"Schliessen",delete:"Löschen",addNew:"Neu hinzufügen",removeAll:"Alles löschen",edit:"Bearbeiten",empty:"<leer>",fastEntry:"Schnell-Eintrag",formEntry:"Formular-Eintrag",testService:"Service testen",expressionHelp:"Bitte geben Sie eine booleschen Ausdruck ein. Es muss 'true' retournieren um die Frage/Seite anzuzeigen. zum Beispiel: {question1} = 'value1' or ({question2} = 3 and {question3} < 5)",propertyIsEmpty:"Bitte geben Sie einen Wert ein",value:"Wert",text:"Text",columnEdit:"Spalte bearbeiten: {0}",itemEdit:"Element bearbeiten: {0}",hasOther:"Hat ein anderes Element",name:"Name",title:"Titel",cellType:"Zellentyp",colCount:"Spaltenanzahl",choicesOrder:"Wähle Auswahlreihenfolge",visible:"Ist es sichtbar?",isRequired:"Ist es erforderlich?",startWithNewLine:"In neuer Zeile beginnen?",rows:"Zeilenanzahl",placeHolder:"Platzhalter eingeben",showPreview:"Wird eine Bildvorschau angezeigt?",storeDataAsText:"Speicher Dateininhalt des JSON-Resultats als Text",maxSize:"Maximale Dateigrösse in Bytes",imageHeight:"Bildhöhe",imageWidth:"Bildbreite",rowCount:"Zeilenanzahl",addRowText:"Zeilenknopftext hinzufügen",removeRowText:"Zeilenknopftext löschen",minRateDescription:"Bewertungsbeschreibung minimieren",maxRateDescription:"Bewertungsbeschreibung maximieren",inputType:"Eingabetyp",optionsCaption:"Auswahlbeschriftung",qEditorTitle:"Frage bearbeiten: {0}",tabs:{general:"Allgemein",fileOptions:"Optionen",html:"Html Editor",columns:"Spalten",rows:"Zeilen",choices:"Auswahlmöglichkeiten",visibleIf:"Sichtbar wenn",rateValues:"Bewertungswerte",choicesByUrl:"Auswahlmöglichkeiten vom Internet",matrixChoices:"Standardauswahl",multipleTextItems:"Texteingabe",validators:"Überprüfung"},editProperty:"Eigenschaft bearbeiten '{0}'",items:"[ Gegenstand: {0} ]",enterNewValue:"Bitte einen Wert eingeben.",noquestions:"Die Umfrage enthält keine Frage.",createtrigger:"Bitte einen Trigger eingeben.",triggerOn:"Ein ",triggerMakePagesVisible:"Seiten sichtbar machen:",triggerMakeQuestionsVisible:"Elemente sichtbar machen:",triggerCompleteText:"Bei Erfolg die Umfrage abschliessen.",triggerNotSet:"Kein Trigger eingerichtet",triggerRunIf:"Ausführen wenn",triggerSetToName:"Ändere Wert von: ",triggerSetValue:"auf: ",triggerIsVariable:"Variable nicht im Umfrageergebnis einbinden."},pv:{true:"true",false:"false"},op:{empty:"ist leer",notempty:"ist nicht leer",equal:"ist gleich",notequal:"ist ungleich",contains:"enthält",notcontains:"enthält nicht",greater:"grösser als",less:"kleiner als",greaterorequal:"grösser oder kleiner als",lessorequal:"kleiner oder ist gleich"},ew:{angular:"Angular-Version benutzen",jquery:"jQuery-Version benutzen",knockout:"Knockout-Version benutzen",react:"React-Version benutzen",vue:"Vue-Version benutzen",bootstrap:"Als Bootstrap Framework",standard:"Kein Bootstrap",showOnPage:"Zeige Umfrage auf Seite",showInWindow:"Zeige Umfrage als Fenster",loadFromServer:"Lade Umfrage als JSON vom Server",titleScript:"Skripte und Styles",titleHtml:"HTML",titleJavaScript:"JavaScript"},validators:{answercountvalidator:"Anzahl Antworten",emailvalidator:"E-Mail",numericvalidator:"numerisch",regexvalidator:"regex",textvalidator:"text"},triggers:{completetrigger:"Umfrage abschliessen",setvaluetrigger:"Wert setzen",visibletrigger:"Sichtbarkeit ändern"},p:{name:"Name",title:{name:"Titel",title:"Bitte leer lassen, falls gleich wie 'Name'"},survey_title:{name:"Titel",title:"Wird auf jeder Seite angezeigt."},page_title:{name:"title",title:"Seitentitel"}}};r.a.locales.de=n},function(e,t,o){"use strict";var r=o(0),n={survey:{edit:"Ubah",dropQuestion:"Silahkan letakkan pertanyaan di sini dari Kotak Perkakas di sebelah kiri.",copy:"Salin",addToToolbox:"Tambahkan ke Kotak Perkakas",deletePanel:"Hapus Panel",deleteQuestion:"Hapus Pertanyaan",convertTo:"Mengubah ke",drag:"Tarik elemen"},qt:{default:"Default",checkbox:"Kotak Centang",comment:"Komentar",imagepicker:"Gambar",dropdown:"Kotak Kombo",file:"Berkas",html:"Html",matrix:"Matriks (pilihan tunggal)",matrixdropdown:"Matriks (pilihan ganda)",matrixdynamic:"Matriks (baris dinamis)",multipletext:"Teks Ganda",panel:"Panel",paneldynamic:"Panel (dynamic panels)",radiogroup:"Pilihan Ganda",rating:"Peringkat",text:"Input Tunggal",boolean:"Boolean",expression:"Ekspresi"},ed:{defaultLocale:"Default ({0})",survey:"Survei",settings:"Pengaturan Survei",editSurvey:"Ubah Survei",addNewPage:"Tambah Halaman Baru",moveRight:"Geser ke Kanan",moveLeft:"Geser ke Kiri",deletePage:"Hapus Halaman",editPage:"Ubah Halaman",edit:"Ubah",newPageName:"halaman",newQuestionName:"pertanyaan",newPanelName:"panel",testSurvey:"Coba Survei",testSurveyAgain:"Coba Survei Lagi",testSurveyWidth:"Lebar survei: ",embedSurvey:"Embed Survei",translation:"Terjemahan",saveSurvey:"Simpan Survei",designer:"Rancangan Survei",jsonEditor:"Pengubah JSON",undo:"Undo",redo:"Redo",options:"Pilihan",generateValidJSON:"Hasilkan JSON yang Valid",generateReadableJSON:"Hasilkan JSON yang dapat dibaca",toolbox:"Kotak Perkakas",toolboxGeneralCategory:"Umum",delSelObject:"Hapus objek yang dipilih",editSelObject:"Ubah objek yang dipilih",correctJSON:"Please correct JSON.",surveyResults:"Hasil survei: ",surveyResultsTable:"Sebagai tabel",surveyResultsJson:"Sebagai JSON",resultsTitle:"Judul Pertanyaan",resultsName:"Nama Pertanyaan",resultsValue:"Nilai Jawaban",resultsDisplayValue:"Tampilkan Nilai",modified:"Dimodifikasi",saving:"Menyimpan",saved:"Tersimpan",saveError:"Error! Konten editor tidak berhasil disimpan.",translationAddLanguage:"Pilih bahasa untuk terjemahan",translationShowAllStrings:"Tampilkan seluruh string",translationShowAllPages:"Tampilkan seluruh halaman",translationNoStrings:"Tidak ada string diterjemahkan. Silahkan ganti penyaring.",translationExportToSCVButton:"Eksport ke CSV",translationImportFromSCVButton:"Import dari CSV",translationMergeLocaleWithDefault:"Gabungkan {0} dengan default locale"},pel:{isRequired:"Wajib?"},pe:{apply:"Terapkan",ok:"OK",cancel:"Batal",reset:"Reset",close:"Tutup",delete:"Hapus",addNew:"Tambahkan Baru",addItem:"Klik untuk menambahkan sebuah item...",removeAll:"Hapus Semua",edit:"Ubah",itemValueEdit:"Ditampilkan Jika",editChoices:"Ubah Pilihan",move:"Pindah",empty:"<kosong>",notEmpty:"<ubah nilai>",fastEntry:"Entri Cepat",formEntry:"Entri Form",testService:"Coba layanan",conditionSelectQuestion:"Pilih pertanyaan...",conditionValueQuestionTitle:"Silahkan masukkan/pilih nilai",conditionButtonAdd:"Tambah",conditionButtonReplace:"Ganti",conditionHelp:"Silahkan masukkan ekspresi boolean. Harus mengembalikan 'benar' agar pertanyaan dapat terlihat. Contoh: {question1} = 'nilai1' or ({question2} * {question4}  > 20 and {question3} < 5)",expressionHelp:"Silahkan masukan sebuah ekspresi. Anda dapat menggunakan kurung kurawal untuk mendapatkan akses pada nilai pertanyaan: '{question1} + {question2}', '({price}*{quantity}) * (100 - {discount})'",aceEditorHelp:"Tekan ctrl+spasi untuk mendapatkan petunjuk penyelesaian ekspresi",aceEditorRowTitle:"Baris saat ini",aceEditorPanelTitle:"Panel saat ini",showMore:"Untuk detil selanjutnya silahkan periksa dokumentasi",conditionShowMoreUrl:"https://surveyjs.io/Documentation/LibraryParameter?id=Question&parameter=visibleIf",assistantTitle:"Pertanyaan tersedia:",cellsEmptyRowsColumns:"Harus ada setidaknya satu kolom atau baris",propertyIsEmpty:"Silahkan masukkan nilai",value:"Nilai",text:"Teks",rowid:"ID baris",imageLink:"Link Gambar",columnEdit:"Ubah kolom: {0}",itemEdit:"Ubah item: {0}",url:"URL",path:"Path",valueName:"Nama nilai",titleName:"Nama judul",hasOther:"Memiliki item lain",otherText:"Teks item lain",name:"Nama",title:"Judul",cellType:"Jenis sel",colCount:"Jumlah kolom",choicesOrder:"Tentukan urutan pilihan",visible:"Terlihat?",isRequired:"Wajib?",startWithNewLine:"Mulai dengan baris baru?",rows:"Jumlah baris",placeHolder:"Masukkan placeholder",showPreview:"Tunjukkan tinjauan gambar?",storeDataAsText:"Simpan konten berkas dalam hasil JSON sebagai teks",maxSize:"Ukuran maksimum berkas dalam byte",imageHeight:"Tinggi gambar",imageWidth:"Lebar gambar",rowCount:"Jumlah baris",columnLayout:"Tata letak kolom",addRowLocation:"Tambah lokasi tombol baris",addRowText:"Tambah teks tombol baris",removeRowText:"Hapus teks tombol baris",minRateDescription:"Deskripsi nilai minimum",maxRateDescription:"Deskripsi nilai maksimum",inputType:"Jenis masukan",optionsCaption:"Keterangan pilihan",defaultValue:"Nilai standar",cellsDefaultRow:"Teks sel standar",surveyEditorTitle:"Ubah pengaturan survei",qEditorTitle:"Ubah: {0}",maxLength:"Panjang maksimum",showTitle:"Tampilkan/sembunyikan judul",locale:"Bahasa standar",mode:"Mode (ubah/baca saja)",clearInvisibleValues:"Bersihkan nilai tak terlihat",cookieName:"Nama cookie (untuk menonaktifkan menjalankan survei dua kali secara lokal)",sendResultOnPageNext:"Kirim hasil survei pada halaman selanjutnya",storeOthersAsComment:"Simpan nilai 'lainnya' pada bidang lainnya",showPageTitles:"Tampilkan judul halaman",showPageNumbers:"Tampilkan nomor halaman",pagePrevText:"Teks halaman tombol sebelumnya",pageNextText:"Teks halaman tombol selanjutnya",completeText:"Teks tombol selesai",startSurveyText:"Teks tombol mulai",showNavigationButtons:"Tampilkan tombol navigasi (navigasi standar)",showPrevButton:"Tampilkan tombol sebelumnya (pengguna mungkin kembali ke halaman sebelumnya)",firstPageIsStarted:"Halaman pertama pada survei adalah halaman yang telah dimulai.",showCompletedPage:"Tampilkan keseluruhan halaman di akhir (completedHtml)",goNextPageAutomatic:"Setelah menjawa seluruh pertanyaan, pergi ke halaman berikutnya secara otomatis",showProgressBar:"Tampilkan progress bar",questionTitleLocation:"Lokasi judul pertanyaan",requiredText:"Simbil pertanyaan wajib",questionStartIndex:"Indeks mulai pertanyaan (1, 2 atau 'A', 'a')",showQuestionNumbers:"Tampilkan nomor pertanyaan",questionTitleTemplate:"Template Judul Pertanyaan, default adalah: '{no}. {require} {title}'",questionErrorLocation:"Lokasi Pertanyaan Error",focusFirstQuestionAutomatic:"Fokus ke pertanyaan pertama saat pergantian halaman",questionsOrder:"Urutakan elemen pada halaan",maxTimeToFinish:"Waktu maksimum untuk menyelesaikan survei",maxTimeToFinishPage:"Waktu maksimum untuk menyelesaikan suatu halaman",showTimerPanel:"Tampilkan panel pengatur waktu",showTimerPanelMode:"Tampilkan mode panel pengatur waktu",renderMode:"Mode render",allowAddPanel:"Bolehkan penambahan panel",allowRemovePanel:"Bolehkan penghapusan panel",panelAddText:"Menambah teks panel",panelRemoveText:"Menghapus teks panel",isSinglePage:"Tampilkan seluruh elemen pada halaman",tabs:{general:"Umum",fileOptions:"Pilihan berkas",html:"Editor Html",columns:"Kolom",rows:"Baris",choices:"Pilihan",items:"Item",visibleIf:"Terlihat Jika",enableIf:"Memungkinkan Jika",requiredIf:"Wajib Jika",rateValues:"Nilai Tingkat",choicesByUrl:"Pilih dari Web",matrixChoices:"Pilihan Standar",multipleTextItems:"Masukan Teks",validators:"Validator",navigation:"Navigasi",question:"Pertanyaan",completedHtml:"Completed Html",loadingHtml:"Loading Html",timer:"Pengatur Waktu/Kuis",triggers:"Triggers",templateTitle:"Template title"},editProperty:"Edit property '{0}'",items:"[ Items: {0} ]",enterNewValue:"Silahkan masukkan nilai",noquestions:"Tidak ada pertanyaan dalam survei.",createtrigger:"Silahkan buat sebuah trigger",triggerOn:"On ",triggerMakePagesVisible:"Buat halaman terlihat:",triggerMakeQuestionsVisible:"Buat elemen terlihat:",triggerCompleteText:"Selesaikan survei jika sukses.",triggerNotSet:"Trigger belum diatur",triggerRunIf:"Berjalan jika",triggerSetToName:"Ubah nilai dari: ",triggerFromName:"Salin nilai dari: ",triggerRunExpression:"Jalankan ekspresi ini:",triggerSetValue:"ke: ",triggerIsVariable:"Jangan meletakkan variabel ke hasil survey."},pv:{true:"benar",false:"salah",inherit:"inherit",show:"tampilkan",hide:"sembunyikan",default:"default",initial:"inisial",random:"acak",collapsed:"collapsed",expanded:"expanded",none:"tidak ada",asc:"ascending",desc:"descending",indeterminate:"indeterminate",decimal:"desimal",currency:"mata uang",percent:"persen",firstExpanded:"firstExpanded",off:"mati",onPanel:"pada Panel",onSurvey:"pada Survei",list:"daftar",progressTop:"progress atas",progressBottom:"progress bawah",progressTopBottom:"progress atas bawah",horizontal:"horizontal",vertical:"vertikal",top:"atas",bottom:"bawah",topBottom:"atas dan bawah",left:"kiri",color:"warna",date:"tanggal",datetime:"tanggal&waktu","datetime-local":"tanggal&waktu-lokal",email:"surel",month:"bulan",number:"nomor",password:"kata sandi",range:"rentang",tel:"telepon",text:"teks",time:"waktu",url:"url",week:"minggu",hidden:"tersembunyi",on:"nyala",onPage:"pada halaman",edit:"ubah",display:"tampilan",onComplete:"saat selesai",onHidden:"saat tersembunyi",all:"semua",page:"halaman",survey:"survei",onNextPage:"pada halaman selanjutnya",onValueChanged:"saat nilai berubah"},op:{empty:"kosong",notempty:"tidak kosong",equal:"sama dengan",notequal:"tidak sama dengan",contains:"mengandung",notcontains:"tidak mengandung",greater:"lebih besar",less:"lebih kecil",greaterorequal:"lebih besar atau sama dengan",lessorequal:"lebih kecil atau sama dengan"},ew:{angular:"Gunakan versi Angular",jquery:"Gunakan versi JQuery",knockout:"Gunakan versi Knockout",react:"Gunakan versi React",vue:"Gunakan versi Vue",bootstrap:"Untuk framework bootstrap",standard:"Tidak ada bootstrap",showOnPage:"Tampilkan survei pada sebuah halaman",showInWindow:"Tampilkan survei pada sebuah jendela",loadFromServer:"Muat JSON survei dari server",titleScript:"Script dan style",titleHtml:"HTML",titleJavaScript:"JavaScript"},ts:{selectPage:"Pilih halaman untuk dicoba:",showInvisibleElements:"Tampilkan elemen tak terlihat",emptySurveyText:"Tidak ada halaman atau pertanyaan yang tersedia di survei ini."},validators:{answercountvalidator:"jumlah jawaban",emailvalidator:"surel",expressionvalidator:"ekspresi",numericvalidator:"numerik",regexvalidator:"ekspresi reguler",textvalidator:"teks"},triggers:{completetrigger:"selesaikan survei",setvaluetrigger:"atur nilai",copyvaluetrigger:"salin nilai",runexpressiontrigger:"jalankan ekspresi",visibletrigger:"ubah visibilitas"},p:{name:"nama",title:{name:"judul",title:"Biarkan kosong, jika sama dengan 'Nama'"},navigationButtonsVisibility:"visibilitas tombol navigasi",questionsOrder:"urutan pertanyaan",maxTimeToFinish:"waktu maks untuk menyelesaikan",visible:"terlihat",visibleIf:"terlihat jika",questionTitleLocation:"lokasi judul pertanyaan",description:"deskripsi",state:"keadaan",isRequired:"wajib",requiredIf:"wajib jika",indent:"indentansi",requiredErrorText:"teks error wajib",startWithNewLine:"mulai dengan baris baru",innerIndent:"inden dalam",page:"halaman",width:"lebar",commentText:"teks komentar",valueName:"nama nilai",enableIf:"aktif jika",defaultValue:"nilai default",correctAnswer:"jawaban benar",readOnly:"baca saja",validators:"validator",titleLocation:"lokasi judul",hasComment:"memiliki comment",hasOther:"memiliki lainnya",choices:"pilihan",choicesOrder:"urutkan pilihan",choicesByUrl:"pilihan dari URL",otherText:"teks lainnya",otherErrorText:"teks error lainnya",storeOthersAsComment:"simpan lainnnya sebagai komentar",label:"label",showTitle:"tampilkan judul",valueTrue:"nilai benar",valueFalse:"nilai salah",cols:"kolom",rows:"baris",placeHolder:"placeHolder",optionsCaption:"keterangan pilihan",expression:"ekspresi",format:"format",displayStyle:"gaya tampilan",currency:"mata uang",useGrouping:"gunakan kelompok",showPreview:"tampilkan pratinjau",allowMultiple:"bolehkan ganda",imageHeight:"tinggi gambar",imageWidth:"lebar gambar",storeDataAsText:"simpan data sebagai teks",maxSize:"ukuran maks",html:"html",columns:"kolom",cells:"sel",isAllRowRequired:"semua baris wajib",horizontalScroll:"horizontalScroll",cellType:"jenis sel",columnsLayout:"tata letak kolom",columnColCount:"jumlah kolom",columnMinWidth:"lebar kolom min",rowCount:"jumlah baris",minRowCount:"jumlah baris min",maxRowCount:"jumlah baris maks",keyName:"nama kunci",keyDuplicationError:"kesalahan duplikasi kunci ",confirmDelete:"konfirmasi hapus",confirmDeleteText:"teks konfirmasi hapus",addRowLocation:"tambah lokasi baris",addRowText:"tambah teks baris",removeRowText:"hapus teks baris",items:"items",itemSize:"Ukuran item",colCount:"Jumlah kolom",templateTitle:"Judul Template",templateDescription:"Deskripsi Template",allowAddPanel:"Bolehkan Tambah Panel",allowRemovePanel:"Bolehkan Hapus Panel",panelCount:"Jumlah Panel",minPanelCount:"Jumlah Panel Minimum",maxPanelCount:"Jumlah Panel Maksimum",panelsState:"Keadaan Panel",panelAddText:"Panel Tambah Teks",panelRemoveText:"Panel Hapus Teks",panelPrevText:"Panel Teks Sebelumnya",panelNextText:"Panel Teks Selanjutnya",showQuestionNumbers:"Tampilkan Nomor Pertanyaan",showRangeInProgress:"Tampilkan Rentang yang Berlangsung",renderMode:"Mode render",templateTitleLocation:"templateTitleLocation",rateValues:"Nilai Tingkat",rateMin:"Tingkat Minimum",rateMax:"Tingkat Maksimum",rateStep:"Langkah Tingkat",minRateDescription:"Deskripsi Tingkat Minimum",maxRateDescription:"Deskripsi Tingkat Maksimum",inputType:"jenis masukan",size:"ukuran",locale:"Lokal",focusFirstQuestionAutomatic:"focusFirstQuestionAutomatic",completedHtml:"completedHtml",completedBeforeHtml:"completedBeforeHtml",loadingHtml:"loadingHtml",triggers:"Trigger",cookieName:"Nama Cookie",sendResultOnPageNext:"Kirim hasil ke halaman selanjutnya",showNavigationButtons:"Tampilkan Tombol Navigasi",showPrevButton:"Tampilkan Tombol Sebelumnya",showPageTitles:"Tampilkan Judul Halaman",showCompletedPage:"Tampilkan Keseluruhan Halaman",showPageNumbers:"Tampilkan Nomor Halaman",questionErrorLocation:"Lokasi Pertanyaan Error",showProgressBar:"Tampilkan progress bar",mode:"mode",goNextPageAutomatic:"Ke Halaman Selanjutnya Otomatis",checkErrorsMode:"Mode Periksa Error",clearInvisibleValues:"Bersihkan Nilai Tak Terlihat",startSurveyText:"Teks Mulai Survei",pagePrevText:"Teks Halaman Sebelumnya",pageNextText:"Teks Halaman Selanjutnya",completeText:"Teks Selesai",requiredText:"Teks Wajib",questionStartIndex:"Index Mulai Pertanyaan",questionTitleTemplate:"Template Judul Pertanyaan",firstPageIsStarted:"Halaman Pertama Dimulai",isSinglePage:"Halaman Tunggal?",maxTimeToFinishPage:"Waktu Maks untuk Menyelesaikan Halaman",showTimerPanel:"Tampilkan Panel Pengatur Waktu",showTimerPanelMode:"Tampilkan showTimerPanelMode",defaultPanelValue:"nilai panel default",defaultRowValue:"nilai baris default",hasNone:"Memiliki None",noneText:"Non-teks",text:"teks",minValue:"nilai minimum",maxValue:"nilai maksimum",minLength:"panjang minimum",maxLength:"panjang maksimum",allowDigits:"bolehkan angka",minCount:"jumlah minimum",maxCount:"jumlah maksimum",regex:"ekspresi reguler"}};r.a.locales.id=n},function(e,t,o){"use strict";var r=o(0),n={survey:{edit:"Modifica",dropQuestion:"Aggiungi una domanda qui",copy:"Copia",addToToolbox:"Aggiungi alla toolbox",deletePanel:"Elimina pannello",deleteQuestion:"Elimina domanda",convertTo:"Converti a"},qt:{checkbox:"Casella di controllo ",comment:"Commento",dropdown:"Combo",file:"Archivio",html:"Html",matrix:"Matrice (unica opzione)",matrixdropdown:"Matrice (opzioni multiple)",matrixdynamic:"Matrice (dinamica)",multipletext:"Testo multiplo",panel:"Pannello",paneldynamic:"Pannello (dinamico)",radiogroup:"Opzione multipla",rating:"Valutazione",text:"Testo semplice",expression:"Espressione"},ed:{survey:"Questionario",editSurvey:"Modifica Questionario",addNewPage:"Aggiungi Nuova Pagina",deletePage:"Elimina Pagina",editPage:"Modifica Pagina",newPageName:"pagina",newQuestionName:"domanda",newPanelName:"pannello",testSurvey:"Testa questionario",testSurveyAgain:"Testa questionario di nuovo",testSurveyWidth:"Larghezza questionario:",embedSurvey:"Includi questionario",saveSurvey:"Salva questionario",designer:"Disegna",jsonEditor:"Modifica JSON",undo:"Annulla",redo:"Ripeti",options:"Opzioni",generateValidJSON:"Genera JSON valido",generateReadableJSON:"Genera JSON leggibile",toolbox:"Strumenti",delSelObject:"Elimina oggetto selezionato",editSelObject:"Modifica oggetto selezionato",correctJSON:"Per favore, correggi il tuo JSON",surveyResults:"Risultati del questionario: ",modified:"Modificato",saving:"Salvataggio",saved:"Salvato"},pel:{isRequired:"Richiesto"},pe:{apply:"Applica",ok:"Accetta",cancel:"Annulla",reset:"Reimposta",close:"Chiudi",delete:"Elimina",addNew:"Nuovo",removeAll:"Elimina tutto",edit:"Modifica",empty:"<vuoto>",notEmpty:"<modifica valore>",fastEntry:"Inserimento rapido",formEntry:"Inserimento con dati ",testService:"Test del servizio",conditionSelectQuestion:"Seleziona domanda...",conditionButtonAdd:"Aggiungi",conditionButtonReplace:"Sostituisci",conditionHelp:"Per favore, inserire una espressione booleana. Dovrebbe restituire true per mantenere la domanda/pagina visibile. Ad esempio: {domanda1} = 'valore1' or ({domanda2} * {domanda4}  > 20 and {domanda3} < 5)",expressionHelp:"Per favore inserire una espressione. Puoi usare parentesi graffe per ottenere l'accesso ai valori delle domande: '{domanda1} + {domanda2}', '({prezzo}*{qta}) * (100 - {sconto})'",aceEditorHelp:"Premi ctrl+space per ottenere un suggerimento sul completamento dell'espressione",aceEditorRowTitle:"Riga corrente",aceEditorPanelTitle:"Pannello Corrente",showMore:"Per favore, per maggiori dettagli guardare la documentazione",assistantTitle:"Domande disponibili:",cellsEmptyRowsColumns:"Dovrebbe esserci almeno una colonna o riga",propertyIsEmpty:"Per favore, inserire un valore per la propietà",value:"Valore",text:"Testo",columnEdit:"Modifica colonna: {0}",itemEdit:"Modifica elemento: {0}",url:"URL",path:"Percorso",valueName:"Nome Valore",titleName:"Nome Titolo",hasOther:"Altri elementi",otherText:"Testo altri elementi",name:"Nome",title:"Titolo",cellType:"Tipo di cella",colCount:"Numero di colonne",choicesOrder:"Seleziona altre opzioni",visible:"Visibile",isRequired:"Richiesto",startWithNewLine:"Nuova linea",rows:"Numero di righe",placeHolder:"Testo di riferimento",showPreview:"Mostra anteprima",storeDataAsText:"Vedi il contenuto JSON come testo",maxSize:"Dimensione massima in bytes",imageHeight:"Altezza immagine",imageWidth:"Larghezza immagine",rowCount:"Numero delle righe",addRowText:"Testo del pulsante per aggiungere una nuova righa",removeRowText:"Testo del pulsante per eliminare una righa",minRateDescription:"Descrizione del valore minimo",maxRateDescription:"Descrizione del valore massimo",inputType:"Tipo di inserimento",optionsCaption:"Titolo dell'opzione",defaultValue:"Valore default",cellsDefaultRow:"Valore default celle",surveyEditorTitle:"Edit survey settings",qEditorTitle:"Modifica domanda: {0}",showTitle:"Mostra/nascondi titolo",locale:"Lingua Default",mode:"Modalità (modifica/sola lettura)",clearInvisibleValues:"Pulischi valori non visibili",cookieName:"Nome cookie (per disabilitare esegui il questionario due volte in locale)",sendResultOnPageNext:"Invia i risultati del sondaggio alla pagina successiva",storeOthersAsComment:"Memorizza il valore 'altri' in campi separati",showPageTitles:"Visualizza titoli pagina",showPageNumbers:"Visualizza numeri pagina",pagePrevText:"Testo bottone pagina precedente",pageNextText:"Testo bottone pagina successiva",completeText:"Testo bottone Completato",startSurveyText:"Testo bottone Inizia",showNavigationButtons:"Visualizza bottoni di navigazione (navigazione di default)",showPrevButton:"Visualizza bottone precedente(l'utente può tornare alla pagina precedente)",firstPageIsStarted:"La prima pagina nel questionario è la pagina iniziale.",showCompletedPage:"Visualizza la pagina completata alla fine del questionario (completedHtml)",goNextPageAutomatic:"Rispondendo a tutte le domande, vai alla pagina successiva in automatico.",showProgressBar:"Visualizza barra di avanzamento",questionTitleLocation:"Posizione titolo domanda",requiredText:"Simbolo domanda obbligatoria, esempio (*)",questionStartIndex:"La domanda inizia con l'indice (1, 2 oppure 'A', 'a')",showQuestionNumbers:"Visualizza i numeri di domanda",questionTitleTemplate:"Template titolo della domanda, il default è: '{no}. {require} {title}'",questionErrorLocation:"Posizione notifica errore sulla domanda",focusFirstQuestionAutomatic:"Sul cambio pagina, posiziona il cursore sulla prima domanda",questionsOrder:"Ordine di elementi sulla pagina",maxTimeToFinish:"Tempo massimo per terminare il sondaggio",maxTimeToFinishPage:"Tempo massimo per terminare una pagina del sondaggio",showTimerPanel:"Visualizza pannello timer",showTimerPanelMode:"Visualizza modalità timer pannello",renderMode:"Modalità di rendering",allowAddPanel:"Consenti l'aggiunta di un pannello",allowRemovePanel:"Consenti la rimozione di un pannello",panelAddText:"Aggiungi testo pannello",panelRemoveText:"Remuovi testo pannello",isSinglePage:"Visualizza tutti gli elementi su una pagina",tabs:{general:"Generale",fileOptions:"Opzioni",html:"Modifica Html",columns:"Colonne",rows:"Righe",choices:"Scelte",visibleIf:"Visibile se",rateValues:"Volori della classifica",choicesByUrl:"Opzioni dal Web",matrixChoices:"Opzioni predefinite",multipleTextItems:"Voci di testo",validators:"Validazioni",navigation:"Navigazione",question:"Domanda",completedHtml:"Html questionario completato",loadingHtml:"Html caricamento questionario",timer:"Timer/Quiz",triggers:"Triggers",templateTitle:"Template titolo"},editProperty:"Modifca propietà '{0}'",items:"[ Elemento: {0} ]",enterNewValue:"Si prega di inserire il valore.",noquestions:"Non c'è alcun dubbio nel questionario.",createtrigger:"Si prega di creare un trigger",triggerOn:"Attivazione ",triggerMakePagesVisible:"Rendere visibili le pagine:",triggerMakeQuestionsVisible:"Rendere visibili le domande:",triggerCompleteText:"Completare il questionario, in caso di successo.",triggerNotSet:"Non impostato",triggerRunIf:"Esegui se",triggerSetToName:"Cambia il valore a: ",triggerSetValue:"a: ",triggerIsVariable:"Non posizionare la variabile del risultato del questionario"},op:{empty:"è vuoto",notempty:"non è vuoto ",equal:"è uguale a",notequal:"non è uguale a",contains:"contiene",notcontains:"non contiene",greater:"maggiore",less:"minore",greaterorequal:"maggiore o uguale",lessorequal:"minore o uguale"},ew:{angular:"Versione per Angular",jquery:"Versione per jQuery",knockout:"Versione per Knockout",react:"Versione per React",vue:"Versione per Vue",bootstrap:"Per framework bootstrap",standard:"No bootstrap",showOnPage:"Visualizza in questa pagina",showInWindow:"Visualizza in una finestra",loadFromServer:"Carica JSON dal server",titleScript:"Scripts e stili",titleHtml:"HTML",titleJavaScript:"JavaScript"},ts:{selectPage:"Seleziona la pagina da testare:"},validators:{answercountvalidator:"numero risposte",emailvalidator:"e-mail",numericvalidator:"numerico",regexvalidator:"regex",textvalidator:"testo"},triggers:{completetrigger:"completa questionario",setvaluetrigger:"setta valore",visibletrigger:"cambia visibilità"},p:{name:"nome",title:{name:"titolo",title:"Lascia vuoto se è lo stesso di 'Nome'"},page_title:{name:"titolo",title:"Titolo della pagina"}}};r.a.locales.it=n},function(e,t,o){"use strict";var r=o(0),n={survey:{edit:"편집",dropQuestion:"왼쪽 도구상자에서 질문을 여기에 놓으십시오.",copy:"복사",addToToolbox:"도구상자에 추가",deletePanel:"패널 삭제",deleteQuestion:"질문 삭제",convertTo:"다음으로 변경",drag:"항목 끌어오기"},qt:{default:"기본값",checkbox:"체크박스",comment:"설명",dropdown:"드롭다운",file:"파일",html:"HTML",matrix:"행렬 (단일 선택)",matrixdropdown:"행렬 (복수 선택)",matrixdynamic:"행렬 (동적 행)",multipletext:"텍스트 상자 그룹",panel:"패널",paneldynamic:"패널 (동적 패널)",radiogroup:"라디오 그룹",rating:"등급",text:"텍스트 상자",boolean:"불린(boolean)",expression:"표현식"},ed:{survey:"설문지",settings:"설정",editSurvey:"설문지 편집",addNewPage:"새 페이지 추가",moveRight:"오른쪽으로 스크롤",moveLeft:"왼쪽으로 스크롤",deletePage:"페이지 삭제",editPage:"페이지 편집",edit:"편집",newPageName:"페이지",newQuestionName:"질문",newPanelName:"패널",testSurvey:"테스트 설문지",testSurveyAgain:"테스트 설문지 다시하기",testSurveyWidth:"설문지 너비: ",embedSurvey:"내장 설문지",saveSurvey:"설문지 저장",designer:"설문지 디자인",jsonEditor:"JSON 편집기",undo:"실행 취소",redo:"복원",options:"옵션",generateValidJSON:"JSON 데이터 생성",generateReadableJSON:"생성 JSON 데이터 읽기",toolbox:"도구상자",toolboxGeneralCategory:"일반",delSelObject:"선택한 객체 삭제",editSelObject:"선택한 객체 편집",correctJSON:"JSON 데이터를 수정하십시오.",surveyResults:"설문 결과: ",modified:"수정됨",saving:"저장중",saved:"저장됨"},pel:{isRequired:"필수입니까?"},pe:{apply:"적용",ok:"확인",cancel:"취소",reset:"재설정",close:"닫기",delete:"삭제",addNew:"새로 만들기",addItem:"항목을 추가하려면 클립하십시오.",removeAll:"모두 삭제",edit:"편집",itemValueEdit:"조건 충족 시 보기",editChoices:"선택사항 편집",move:"이동",empty:"<비어있음>",notEmpty:"<편집 값>",fastEntry:"빠른 입력",formEntry:"양식 입력",testService:"서비스 테스트",conditionSelectQuestion:"질문 선택...",conditionValueQuestionTitle:"값을 입력하거나 선택하십시오.",conditionButtonAdd:"추가",conditionButtonReplace:"바꾸기",conditionHelp:"불린 식을 입력하십시오. 질문 혹은 페이지를 계속 볼 수 있게 하려면 참값을 반환해야 합니다. 예를 들면: {질문1} = '값1' or ({질문2} * {질문4}  > 20 and {질문3} < 5)",expressionHelp:"식을 입력하십시오. 다음과 같은 질문 값에 접근하려면 중괄호를 이용하십시오: '{질문1} + {질문2}', '({가격}*{수량}) * (100 - {할인})'",aceEditorHelp:"ctrl+space를 눌러 완성된 수식에 대한 힌트를 얻으십시오",aceEditorRowTitle:"현재 행",aceEditorPanelTitle:"현재 패널",showMore:"자세한 내용은 설명서를 확인하십시오.",conditionShowMoreUrl:"https://surveyjs.io/Documentation/LibraryParameter?id=Question&parameter=visibleIf",assistantTitle:"유효 질문:",cellsEmptyRowsColumns:"최소한 하나의 열 또는 행이 있어야 합니다.",propertyIsEmpty:"값을 입력하십시오",value:"값",text:"텍스트",columnEdit:"열 편집: {0}",itemEdit:"항목 편집: {0}",url:"URL",path:"경로",valueName:"값 이름",titleName:"제목 이름",hasOther:"다른 항목이 있습니다",otherText:"기타 항목 텍스트",name:"이름",title:"제목",cellType:"셀 유형",colCount:"열 개수",choicesOrder:"항목 순서 선택",visible:"보입니까??",isRequired:"필수입니까?",startWithNewLine:"새 줄로 시작하겠습니까?",rows:"행 수",placeHolder:"입력 자리 표시자 ",showPreview:"이미지 미리보기가 표시됩니까?",storeDataAsText:"파일 내용을 JSON 결과에 텍스트로 저장",maxSize:"최대 파일 크기(bytes)",imageHeight:"이미지 높이",imageWidth:"이미지 너비",rowCount:"행 수",columnsLocation:"열 위치",addRowLocation:"행 버튼 위치 추가",addRowText:"행 버튼 텍스트 추가",removeRowText:"행 버튼 텍스트 제거",minRateDescription:"최소 설명 길이",maxRateDescription:"최대 설명 길이",inputType:"입력 유형",optionsCaption:"옵션 캡션",defaultValue:"기본값",cellsDefaultRow:"기본 셀 텍스트",surveyEditorTitle:"설문지 설정 편집",qEditorTitle:"편집: {0}",showTitle:"제목 표시/숨김",locale:"기본 언어",mode:"모드(편집/읽기전용)",clearInvisibleValues:"보이지 않는 값 지우기",cookieName:"쿠키 이름(로컬에서 설문 조사를 두 번 사용하지 않도록 설정)",sendResultOnPageNext:"다음 페이지에서 설문 조사 결과 보내기",storeOthersAsComment:"다른 사용자의 값을 별도의 필드에 저장",showPageTitles:"페이지 제목 표시",showPageNumbers:"페이지 번호 표시",pagePrevText:"이전 페이지 버튼 텍스트",pageNextText:"다음 페이지 버튼 텍스트",completeText:"완료 버튼 텍스트",startSurveyText:"시작 버튼 텍스트",showNavigationButtons:"탐색 버튼 표시 (기본 탐색)",showPrevButton:"이전 버튼 표시 (사용자가 이전 페이지로 돌아갈 수 있음)",firstPageIsStarted:"설문지의 첫 번째 페이지는 시작 페이지입니다",showCompletedPage:"끝 부분에 완료된 페이지 표시 (완료된 HTML)",goNextPageAutomatic:"모든 질문에 응답 후 자동으로 다음 페이지로 이동",showProgressBar:"진행률 막대 표시",questionTitleLocation:"질문 제목 위치",requiredText:"질문에 필요한 기호",questionStartIndex:"질문 시작 색인 (1, 2 또는 'A', 'a')",showQuestionNumbers:"질문 번호 표시",questionTitleTemplate:"질문 제목 템플릿입니다. 기본값: '{no}. {require} {title}'",questionErrorLocation:"질문 위치 오류",focusFirstQuestionAutomatic:"페이지 변경시 첫 번째 질문에 초점",questionsOrder:"페이지의 요소 순서",maxTimeToFinish:"설문 조사를 마칠 수있는 최대 시간",maxTimeToFinishPage:"설문 조사에서 페이지를 마칠 수있는 최대 시간",showTimerPanel:"타이머 패널 표시",showTimerPanelMode:"타이머 패널 모드 표시",renderMode:"렌더링 모드",allowAddPanel:"패널 추가 허용",allowRemovePanel:"패널 제거 허용",panelAddText:"패널 텍스트 추가",panelRemoveText:"패널 텍스트 삭제",isSinglePage:"한 페이지에 모든 요소 표시",tabs:{general:"일반",fileOptions:"옵션",html:"Html 편집기",columns:"열",rows:"행",choices:"선택",items:"항목",visibleIf:"조건 충족시 보기",enableIf:"조건 충족시 허용",rateValues:"길이 값",choicesByUrl:"웹에서 선택",matrixChoices:"기본 선택",multipleTextItems:"텍스트 입력",validators:"유효성 검사기",navigation:"탐색",question:"질문",completedHtml:"완료된 HTML",loadingHtml:"HTML 로드 중",timer:"타이머 / 퀴즈",triggers:"트리거",templateTitle:"템플릿 제목"},editProperty:"편집 속성 '{0}'",items:"[ 항목: {0} ]",enterNewValue:"값을 입력하십시오.",noquestions:"설문 조사에는 어떤 질문도 없습니다.",createtrigger:"트리거를 만드십시오",triggerOn:"트리거 켜기",triggerMakePagesVisible:"페이지 표시:",triggerMakeQuestionsVisible:"요소 표시:",triggerCompleteText:"조건 충족 시 설문 조사를 작성하십시오.",triggerNotSet:"트리거가 설정되지 않았습니다.",triggerRunIf:"다음 조건 충족 시 실행",triggerSetToName:"다음 값 변경: ",triggerSetValue:"다음으로 수정: ",triggerIsVariable:"변수를 설문 결과에 넣지 마십시오."},pv:{true:"참",false:"거짓",inherit:"상속",show:"보기",hide:"숨기기",default:"기본값",initial:"초기값",random:"무작위",collapsed:"축소",expanded:"확장",none:"없음",asc:"오름차순",desc:"내림차순",indeterminate:"불확정",decimal:"진수",currency:"화폐",percent:"퍼센트",firstExpanded:"우선 확장",off:"꺼짐",onPanel:"패널에서",onSurvey:"설문에서",list:"목록",progressTop:"상단 진행률",progressBottom:"하단 진행률",progressTopBottom:"상하단 진행률",horizontal:"가로",vertical:"세로",top:"위",bottom:"아래",topBottom:"위아래",left:"왼쪽",color:"색상",date:"날짜",datetime:"날짜/시간","datetime-local":"현지 날짜/시간",email:"이메일",month:"월",number:"숫자",password:"패스워드",range:"범위",tel:"tel",text:"텍스트",time:"시간",url:"URL",week:"주",hidden:"숨김",on:"켜기",onPage:"페이지 켜기",edit:"편집",display:"디스플레이",onComplete:"완료",onHidden:"숨김",all:"모두",page:"페이지",survey:"설문지",onNextPage:"다음 페이지로",onValueChanged:"값 변경"},op:{empty:"비어있습니다",notempty:"비어있지 않습니다",equal:"같습니다",notequal:"같지 않습니다",contains:"포함합니다",notcontains:"포함하지 않습니다",greater:"큰",less:"작은",greaterorequal:"크거나 같음",lessorequal:"작거나 같음"},ew:{angular:"Angular 버전 사용",jquery:"jQuery 버전 사용",knockout:"Knockout 버전 사용",react:"React 버전 사용",vue:"Vue 버전 사용",bootstrap:"부트 스트랩 프레임",standard:"부트 스트랩 없음",showOnPage:"페이지에서 설문조사 보기",showInWindow:"윈도우 창에서 설문조사 보기",loadFromServer:"서버에서 설문조사 JSON 실행",titleScript:"스크립트 및 스타일",titleHtml:"HTML",titleJavaScript:"자바스크립트"},ts:{selectPage:"테스트 할 페이지를 선택하십시오:"},validators:{answercountvalidator:"답 개수",emailvalidator:"이메일",expressionvalidator:"표현식",numericvalidator:"숫자",regexvalidator:"정규식",textvalidator:"텍스트"},triggers:{completetrigger:"설문 완료",setvaluetrigger:"값 설정",visibletrigger:"선명도 변경"},p:{name:"이름",title:{name:"제목",title:"'이름'과 같은 경우 비워 둡니다."},navigationButtonsVisibility:"탐색 버튼 선명도",questionsOrder:"질문 순서",maxTimeToFinish:"최대 완료 시간",visible:"보기",visibleIf:"조건 충족시 보기",questionTitleLocation:"질문 제목 위치",description:"설명",state:"state",isRequired:"필수",indent:"들여쓰기",requiredErrorText:"필수 오류 텍스트",startWithNewLine:"새 줄로 시작",innerIndent:"안으로 들여쓰기",page:"페이지",width:"너비",commentText:"메모 텍스트",valueName:"이름값",enableIf:"조건 충족시 허가",defaultValue:"기본값",correctAnswer:"답안 수정",readOnly:"읽기 전용",validators:"유효성 검사기",titleLocation:"제목 위치",hasComment:"답변",hasOther:"다른 답변 허용",choices:"선택",choicesOrder:"기타 선택",choicesByUrl:"URL을 통한 선택",otherText:"기타 텍스트",otherErrorText:"기타 오류 텍스트",storeOthersAsComment:"기타 답변 저장",label:"라벨",showTitle:"제목 표시",valueTrue:"참값",valueFalse:"거짓값",cols:"열",rows:"행",placeHolder:"자리 표시자",optionsCaption:"옵션 캡션",expression:"표현식",format:"포맷",displayStyle:"디스플레이 스타일",currency:"화폐",useGrouping:"그룹 사용",showPreview:"미리보기 보기",allowMultiple:"다수 허용",imageHeight:"이미지 높이",imageWidth:"이미지 너비",storeDataAsText:"텍스트로 데이터 저장",maxSize:"최대 크기",html:"HTML",columns:"열",cells:"셀",isAllRowRequired:"모두 필수 행입니까",horizontalScroll:"가로 스크롤바",cellType:"셀 유형",columnsLocation:"열 위치",columnColCount:"열 개수",columnMinWidth:"열 최소 너비",rowCount:"행 수",minRowCount:"최소 행 개수",maxRowCount:"최대 행 개수",keyName:"keyName",keyDuplicationError:"주요 복제 에러",confirmDelete:"삭제 확인",confirmDeleteText:"텍스트 삭제 확인",addRowLocation:"행 위치 추가",addRowText:"행 텍스트 추가",removeRowText:"행 텍스트 제거",items:"항목",itemSize:"항목 크기",colCount:"열 개수",templateTitle:"템플릿 이름",templateDescription:"템플릿 설명",allowAddPanel:"패널 추가 허용",allowRemovePanel:"패널 제거 허용",panelCount:"패널 개수",minPanelCount:"최소 패널 개수",maxPanelCount:"최대 패널 개수",panelsState:"panelsState",panelAddText:"패널 텍스트 추가",panelRemoveText:"패널 텍스트 제거",panelPrevText:"이전 패널 텍스트",panelNextText:"다음 패널 텍스트",showQuestionNumbers:"질문 개수 보기",showRangeInProgress:"진행중인 범위 보기",renderMode:"renderMode",templateTitleLocation:"템플릿 이름 위치",rateValues:"길이값",rateMin:"최소 길이",rateMax:"최대 길이",rateStep:"rateStep",minRateDescription:"최소 설명 길이",maxRateDescription:"최대 설명 길이",inputType:"입력 유형",size:"크기",locale:"로컬",focusFirstQuestionAutomatic:"첫 질문 자동 초점",completedHtml:"완료된 HTML",completedBeforeHtml:"완료된 이전 HTML",loadingHtml:"HTML 로드",triggers:"트리거",cookieName:"쿠키 이름",sendResultOnPageNext:"현 페이지로 결과 전송",showNavigationButtons:"탐색 버튼 보기",showPrevButton:"뒤로가기 버튼 보기",showPageTitles:"페이지 제목 보기",showCompletedPage:"완료 페이지 보기",showPageNumbers:"페이지 수 보기",questionErrorLocation:"질문 오류 위치",showProgressBar:"진행 상태바 보기",mode:"모드",goNextPageAutomatic:"다음 페이지로 자동으로 넘어가기",checkErrorsMode:"오류 모드 확인",clearInvisibleValues:"보이지 않는 변수 제거",startSurveyText:"설문 테스트 시작",pagePrevText:"이전 텍스트 페이지",pageNextText:"다음 텍스트 페이지",completeText:"완료 텍스트",requiredText:"필수 텍스트",questionStartIndex:"질문 시작 색인",questionTitleTemplate:"질문 제목 템플릿",firstPageIsStarted:"첫 페이지에서 시작",isSinglePage:"단일 페이지",maxTimeToFinishPage:"페이지 종료 최대 시간",showTimerPanel:"타이머 패널 보기",showTimerPanelMode:"타이머 패널 모드 보기",text:"텍스트",minValue:"최소값",maxValue:"최대값",minLength:"최소 길이",maxLength:"최대 길이",allowDigits:"숫자 허용",minCount:"최소 개수",maxCount:"최대 개수",regex:"정규 표현식"}};r.a.locales.ko=n},function(e,t,o){"use strict";var r=o(0),n={survey:{edit:"Rediger",dropQuestion:"Dra og slipp et spørsmål her fra Verktøylisten til venstre.",copy:"Kopier",addToToolbox:"Legg til Verktøylisten",deletePanel:"Slett Panel",deleteQuestion:"Slett spørsmål",convertTo:"Konverter til",drag:"Dra element"},qt:{default:"Standard",checkbox:"Sjekkboks",comment:"Kommentar",imagepicker:"Bilde-velger",dropdown:"Nedtrekksliste",file:"Fil",html:"Html",matrix:"Matrise (enkelvalg)",matrixdropdown:"Matrise (flere valg)",matrixdynamic:"Matrise (dynamiske rader)",multipletext:"Flerlinje tekst",panel:"Panel",paneldynamic:"Panel (dynamisk panel)",radiogroup:"Radiogruppe",rating:"Rangering",text:"Enkel tekst",boolean:"Boolean",expression:"Formel"},ed:{defaultLocale:"Standard ({0})",survey:"Skjema",settings:"Skjema innstillinger",editSurvey:"Rediger skjema",addNewPage:"Legg til ny side",moveRight:"Bla til høyre",moveLeft:"Bla til venstre",deletePage:"Slett side",editPage:"Rediger side",edit:"Rediger",newPageName:"side",newQuestionName:"spørsmål",newPanelName:"panel",testSurvey:"Test skjema",testSurveyAgain:"Test skjema igjen",testSurveyWidth:"Skjema bredde: ",embedSurvey:"Integrer skjema",translation:"Oversettelse",saveSurvey:"Lagre skjema",designer:"Skjema Designer",jsonEditor:"JSON Redigering",undo:"Angre",redo:"Gjenta",options:"Alternativer",generateValidJSON:"Lag gyldig JSON",generateReadableJSON:"Lag lesbar JSON",toolbox:"Verktøyliste",toolboxGeneralCategory:"Generelt",delSelObject:"Slett valgte elementer",editSelObject:"Rediger valgte elementer",correctJSON:"Vennligst korriger JSON.",surveyResults:"Skjema resultat: ",surveyResultsTable:"Som tabell",surveyResultsJson:"Som JSON",resultsTitle:"Spørsmål tittel",resultsName:"Spørsmål navn",resultsValue:"Svar verdi",resultsDisplayValue:"Vist verdi",modified:"Endret",saving:"Lagrer",saved:"Lagret",saveError:"Feil! Skjema innhold er ikke lagret.",translationAddLanguage:"Velg språk for oversetting",translationShowAllStrings:"Vis alle strenger",translationShowAllPages:"Vis alle sider",translationNoStrings:"Ingen strenger å oversette. Vennligst endre filteret.",translationExportToSCVButton:"Eksporter til CSV",translationImportFromSCVButton:"Importer fra CSV",translationMergeLocaleWithDefault:"Flett {0} med standard språk"},pel:{isRequired:"Nødvendig?"},pe:{apply:"Bruk",ok:"OK",cancel:"Avbryt",reset:"Tilbakestill",close:"Lukk",delete:"Slett",addNew:"Legg til ny",addItem:"Klikk for å legge til...",removeAll:"Fjern alt",edit:"Rediger",itemValueEdit:"Synlig dersom",editChoices:"Rediger valg",move:"Flytt",empty:"<tom>",notEmpty:"<rediger verdi>",fastEntry:"Rask innfylling",formEntry:"Innfylling i skjema",testService:"Sjekk tjenesten",conditionSelectQuestion:"Velg spørsmål...",conditionValueQuestionTitle:"Vennligst skriv inn/velg verdi",conditionButtonAdd:"Legg til",conditionButtonReplace:"Erstatt",conditionHelp:"Skriv inn et boolsk uttrykk. Det burde returnere SANN for å gjøre spørsmål/side synlig. For eksempel: {question1} = 'value1' or ({question2} * {question4}  > 20 and {question3} < 5)",expressionHelp:"Vennligst skriv inn et uttrykk.  Du kan bruke klammeparenteser for å få tilgang til spørsmåls verdiene: '{question1} + {question2}', '({price}*{quantity}) * (100 - {discount})'",aceEditorHelp:"Trykk ctrl+mellomrom for å få hint til å fullføre uttrykk",aceEditorRowTitle:"Gjeldende rad",aceEditorPanelTitle:"Gjeldende panel",showMore:"For mer detaljer - se dokumentasjonen",conditionShowMoreUrl:"https://surveyjs.io/Documentation/LibraryParameter?id=Question&parameter=visibleIf",assistantTitle:"Tilgjengelige spørsmål:",cellsEmptyRowsColumns:"Det må være minst 1 kolonne eller rad",propertyIsEmpty:"Vennligst fyll inn en verdi",value:"Verdi",text:"Tekst",rowid:"Rad ID",imageLink:"Bilde lenke",columnEdit:"Rediger kolonne: {0}",itemEdit:"Rediger element: {0}",url:"URL",path:"Sti",valueName:"Verdi navn",titleName:"Tittel navn",hasOther:"Har annet element",otherText:"Annet element tekst",name:"Navn",title:"Tittel",cellType:"Celle type",colCount:"Antall kolonner",choicesOrder:"Velg rekkefølge på valg",visible:"Er synlig?",isRequired:"Er nødvendig?",startWithNewLine:"Er start med ny linje?",rows:"Antall rader",placeHolder:"Inndate plassholder",showPreview:"Er forhåndsvisning av bilde vist?",storeDataAsText:"Lagre fil innhold i JSON resultat som tekst",maxSize:"Maksimum filstørrelse i bytes",imageHeight:"Bilde høyde",imageWidth:"Bilde bredde",rowCount:"Antall rader",columnLayout:"Oppsett kolonner",addRowLocation:"Legg til rad knapp plassering",addRowText:"Legg til rad knapp tekst",removeRowText:"Fjern rad knapp tekst",minRateDescription:"Beskrivelse Minimum vudering",maxRateDescription:"Beskrivelse Maksimum vurdering",inputType:"Inndata type",optionsCaption:"Tekst for alternativer",defaultValue:"Standard verdi",cellsDefaultRow:"Standard celle tekster",surveyEditorTitle:"Rediger skjema innstillinger",qEditorTitle:"Rediger: {0}",maxLength:"Maksimum lengde",showTitle:"Vis/skjul tittel",locale:"Standard språk",mode:"Modus (redigere/kun lesing)",clearInvisibleValues:"Fjern usynlige verdier",cookieName:"Informasjonskapsel navn (for å hindre bruk av skjema to ganger localt)",sendResultOnPageNext:"Send skjema resultat ved neste side",storeOthersAsComment:"Lagre 'andre' verdier i et separat felt",showPageTitles:"Vis sidetitel",showPageNumbers:"Vis sidenummer",pagePrevText:"Forrige side knapp tekst",pageNextText:"Neste side knapp tekst",completeText:"Fullfør knapp tekst",startSurveyText:"Start knapp tekst",showNavigationButtons:"Vis navigasjonsknapper (standard navigering)",showPrevButton:"Vis forrige knapp (bruker kan gå til forrige side)",firstPageIsStarted:"Den første siden i skjema er startside.",showCompletedPage:"Vis ferdigsiden på slutten (completedHtml)",goNextPageAutomatic:"Når en har svart alle spørsmål, gå til neste side automatisk",showProgressBar:"Vis fremdriftslinje",questionTitleLocation:"Spørsmål tittel plassering",requiredText:"Svar nødvendig symbol(er)",questionStartIndex:"Spørsmål startindeks (1, 2 eller 'A', 'a')",showQuestionNumbers:"Vis spørsmålsnummer",questionTitleTemplate:"Spørsmål tittel mal, standard er: '{no}. {require} {title}'",questionErrorLocation:"Spørsmål feil plassering",focusFirstQuestionAutomatic:"Sett fokus på første spørsmål når en endrer side",questionsOrder:"Rekkefølge på elementer på siden",maxTimeToFinish:"Maks tid for å gjøre ferdig skjema",maxTimeToFinishPage:"Maks tid til å gjøre ferdig en side i skjema",showTimerPanel:"Vis tidtaking",showTimerPanelMode:"Vis tidtaking modus",renderMode:"Gjengivelse modus",allowAddPanel:"Tillat å legge til panel",allowRemovePanel:"Tillat å fjerne panel",panelAddText:"Legg til panel tekst",panelRemoveText:"Fjern panel tekst",isSinglePage:"Vis alle elementer på en side",tabs:{general:"Generelt",fileOptions:"Alternativer",html:"Html-editor",columns:"Kolonner",rows:"Rader",choices:"Valg",items:"Elementer",visibleIf:"Synlig hvis",enableIf:"Tilgjengelig hvis",rateValues:"Rangering verdier",choicesByUrl:"Valg fra web",matrixChoices:"Standard valg",multipleTextItems:"Tekst inndata",validators:"Valideringer",navigation:"Navigering",question:"Spørsmål",completedHtml:"Fullført Html",loadingHtml:"Laster Html",timer:"Tidtaker/Quiz",triggers:"Triggere",templateTitle:"Mal tittel"},editProperty:"Rediger egenskap '{0}'",items:"[ Elementer: {0} ]",enterNewValue:"Vennligst skriv inn en verdi.",noquestions:"Der er ingen spørsmål i skjema.",createtrigger:"Vennligst lag en trigger",triggerOn:"Når ",triggerMakePagesVisible:"Gjør sider synlige:",triggerMakeQuestionsVisible:"Gjør elementer synlige:",triggerCompleteText:"Fullfør skjema dersom vellykket.",triggerNotSet:"Trigger er ikke satt",triggerRunIf:"Kjør dersom",triggerSetToName:"Endre verdien av: ",triggerFromName:"Kopier verdi fra: ",triggerRunExpression:"Kjør dette uttrykket:",triggerSetValue:"til: ",triggerIsVariable:"Ikke legg variabelen i resultatet."},pv:{true:"true",false:"false",inherit:"inherit",show:"show",hide:"hide",default:"default",initial:"initial",random:"random",collapsed:"collapsed",expanded:"expanded",none:"none",asc:"ascending",desc:"descending",indeterminate:"indeterminate",decimal:"decimal",currency:"currency",percent:"percent",firstExpanded:"firstExpanded",off:"off",onPanel:"onPanel",onSurvey:"onSurvey",list:"list",progressTop:"progressTop",progressBottom:"progressBottom",progressTopBottom:"progressTopBottom",horizontal:"horizontal",vertical:"vertical",top:"top",bottom:"bottom",topBottom:"top and bottom",left:"left",color:"color",date:"date",datetime:"datetime","datetime-local":"datetime-local",email:"email",month:"month",number:"number",password:"password",range:"range",tel:"tel",text:"text",time:"time",url:"url",week:"week",hidden:"hidden",on:"on",onPage:"onPage",edit:"edit",display:"display",onComplete:"onComplete",onHidden:"onHidden",all:"all",page:"page",survey:"survey",onNextPage:"onNextPage",onValueChanged:"onValueChanged"},op:{empty:"is empty",notempty:"is not empty",equal:"equals",notequal:"not equals",contains:"contains",notcontains:"not contains",greater:"greater",less:"less",greaterorequal:"greater or equals",lessorequal:"less or equals"},ew:{angular:"Bruk Angular versjon",jquery:"Bruk jQuery versjon",knockout:"Bruk Knockout versjon",react:"Bruk React versjon",vue:"Bruk Vue versjon",bootstrap:"For bootstrap framework",standard:"Ingen bootstrap",showOnPage:"Vis skjema på en side",showInWindow:"Vis skjema i et vindu",loadFromServer:"Hent skjema som JSON fra serveren",titleScript:"Scripts og styles",titleHtml:"HTML",titleJavaScript:"JavaScript"},ts:{selectPage:"Velg siden for å teste den:",showInvisibleElements:"Vis usynlige elementer"},validators:{answercountvalidator:"answer count",emailvalidator:"e-mail",expressionvalidator:"expression",numericvalidator:"numeric",regexvalidator:"regex",textvalidator:"text"},triggers:{completetrigger:"skjema fullført",setvaluetrigger:"sett verdi",copyvaluetrigger:"kopier verdi",runexpressiontrigger:"kjør uttrykk",visibletrigger:"endre synlighet"},p:{name:"name",title:{name:"title",title:"La den være tom hvis det er samme som 'Name'"},navigationButtonsVisibility:"navigationButtonsVisibility",questionsOrder:"questionsOrder",maxTimeToFinish:"maxTimeToFinish",visible:"visible",visibleIf:"visibleIf",questionTitleLocation:"questionTitleLocation",description:"description",state:"state",isRequired:"isRequired",indent:"indent",requiredErrorText:"requiredErrorText",startWithNewLine:"startWithNewLine",innerIndent:"innerIndent",page:"page",width:"width",commentText:"commentText",valueName:"valueName",enableIf:"enableIf",defaultValue:"defaultValue",correctAnswer:"correctAnswer",readOnly:"readOnly",validators:"validators",titleLocation:"titleLocation",hasComment:"hasComment",hasOther:"hasOther",choices:"choices",choicesOrder:"choicesOrder",choicesByUrl:"choicesByUrl",otherText:"otherText",otherErrorText:"otherErrorText",storeOthersAsComment:"storeOthersAsComment",label:"label",showTitle:"showTitle",valueTrue:"valueTrue",valueFalse:"valueFalse",cols:"cols",rows:"rows",placeHolder:"placeHolder",optionsCaption:"optionsCaption",expression:"expression",format:"format",displayStyle:"displayStyle",currency:"currency",useGrouping:"useGrouping",showPreview:"showPreview",allowMultiple:"allowMultiple",imageHeight:"imageHeight",imageWidth:"imageWidth",storeDataAsText:"storeDataAsText",maxSize:"maxSize",html:"html",columns:"columns",cells:"cells",isAllRowRequired:"isAllRowRequired",horizontalScroll:"horizontalScroll",cellType:"cellType",columnsLayout:"columnsLayout",columnColCount:"columnColCount",columnMinWidth:"columnMinWidth",rowCount:"rowCount",minRowCount:"minRowCount",maxRowCount:"maxRowCount",keyName:"keyName",keyDuplicationError:"keyDuplicationError",confirmDelete:"confirmDelete",confirmDeleteText:"confirmDeleteText",addRowLocation:"addRowLocation",addRowText:"addRowText",removeRowText:"removeRowText",items:"items",itemSize:"itemSize",colCount:"colCount",templateTitle:"templateTitle",templateDescription:"templateDescription",allowAddPanel:"allowAddPanel",allowRemovePanel:"allowRemovePanel",panelCount:"panelCount",minPanelCount:"minPanelCount",maxPanelCount:"maxPanelCount",panelsState:"panelsState",panelAddText:"panelAddText",panelRemoveText:"panelRemoveText",panelPrevText:"panelPrevText",panelNextText:"panelNextText",showQuestionNumbers:"showQuestionNumbers",showRangeInProgress:"showRangeInProgress",renderMode:"renderMode",templateTitleLocation:"templateTitleLocation",rateValues:"rateValues",rateMin:"rateMin",rateMax:"rateMax",rateStep:"rateStep",minRateDescription:"minRateDescription",maxRateDescription:"maxRateDescription",inputType:"inputType",size:"size",locale:"locale",focusFirstQuestionAutomatic:"focusFirstQuestionAutomatic",completedHtml:"completedHtml",completedBeforeHtml:"completedBeforeHtml",loadingHtml:"loadingHtml",triggers:"triggers",cookieName:"cookieName",sendResultOnPageNext:"sendResultOnPageNext",showNavigationButtons:"showNavigationButtons",showPrevButton:"showPrevButton",showPageTitles:"showPageTitles",showCompletedPage:"showCompletedPage",showPageNumbers:"showPageNumbers",questionErrorLocation:"questionErrorLocation",showProgressBar:"showProgressBar",mode:"mode",goNextPageAutomatic:"goNextPageAutomatic",checkErrorsMode:"checkErrorsMode",clearInvisibleValues:"clearInvisibleValues",startSurveyText:"startSurveyText",pagePrevText:"pagePrevText",pageNextText:"pageNextText",completeText:"completeText",requiredText:"requiredText",questionStartIndex:"questionStartIndex",questionTitleTemplate:"questionTitleTemplate",firstPageIsStarted:"firstPageIsStarted",isSinglePage:"isSinglePage",maxTimeToFinishPage:"maxTimeToFinishPage",showTimerPanel:"showTimerPanel",showTimerPanelMode:"showTimerPanelMode",defaultPanelValue:"defaultPanelValue",defaultRowValue:"defaultRowValue",hasNone:"hasNone",noneText:"noneText",text:"text",minValue:"minimum value",maxValue:"maximum value",minLength:"minumum length",maxLength:"maximum length",allowDigits:"allow digits",minCount:"minumum count",maxCount:"maximum count",regex:"regular expression"}};r.a.locales.nb=n},function(e,t,o){"use strict";var r=o(0),n={survey:{edit:"ویرایش",dropQuestion:"لطفا از جعبه ابزار سوالی در اینجا قرار دهید",copy:"کپی",addToToolbox:"افزودن به جعبه ابزار",deletePanel:"حذف پنل",deleteQuestion:"حذف سوال",convertTo:"تبدیل به"},qt:{checkbox:"چند انتخابی",comment:"نظر",dropdown:"لیست انتخابی",file:"فایل",html:"Html",matrix:"ماتریس (تک انتخابی)",matrixdropdown:"ماتریس (چند انتخابی)",matrixdynamic:"ماتریس (سطرهای داینامیک)",multipletext:"متن چند خطی",panel:"پنل",paneldynamic:"پنل (پنل های داینامیک)",radiogroup:"تک انتخابی",rating:"رتبه بندی",text:"متن تک خطی",boolean:"صحیح و غلط",expression:"توصیفی"},ed:{defaultLocale:"پیش فرض ({0})",survey:"نظرسنجی",editSurvey:"ویرایش نظرسنجی",addNewPage:"درج صفحه جدید",moveRight:"اسکرول به راست",moveLeft:"اسکرول به چپ",deletePage:"حذف صفحه",editPage:"ویرایش صفحه",edit:"ویرایش",newPageName:"صفحه",newQuestionName:"سوال",newPanelName:"پنل",testSurvey:"آزمایش نظرسنجی",testSurveyAgain:"آزمایش دوباره نظرسنجی",testSurveyWidth:"عرض نظرسنجی: ",embedSurvey:"نظرسنجی توکار",translation:"ترجمه",saveSurvey:"ذخیره نظرسنجی",designer:"طراح نظرسنجی",jsonEditor:"ویرایشگر JSON",undo:"بازگردانی",redo:"بازانجام",options:"انتخاب ها",generateValidJSON:"تولید کد معتبر JSON",generateReadableJSON:"تولید کد خوانا JSON",toolbox:"جعبه ابزار",toolboxGeneralCategory:"عمومی",delSelObject:"حذف مورد انتخابی",editSelObject:"ویرایش مورد انتخابی",correctJSON:"لطفا JSON را تصحیح کنید.",surveyResults:"نتایج نظرسنجی: ",surveyResultsTable:"به صورت جدول",surveyResultsJson:"به صورت JSON",resultsTitle:"عنوان سوال",resultsName:"نام سوال",resultsValue:"محتوای پاسخ",resultsDisplayValue:"محتوای نمایشی",modified:"تغییر داده شده",saving:"در حال ذخیره",saved:"ذخیره شد",saveError:"خطا! محتوای ویرایشگر ذخیره نشده است.",translationAddLanguage:"زبانی را برای ترجمه انتخاب کنید",translationShowAllStrings:"نمایش تمام عبارات",translationShowAllPages:"نمایش تمام صفحات",translationNoStrings:"هیچ عبارتی برای ترجمه نیست، لطفا فیلتر را عوض کنید.",translationExportToSCVButton:"برون بری به CSV",translationImportFromSCVButton:"برون ریزی از CSV",translationMergeLocaleWithDefault:"ادغام {0} با زبان پیش فرض"},pel:{isRequired:"اجباری؟"},pe:{apply:"اعمال",ok:"تایید",cancel:"لغو",reset:"بازنشانی",close:"بستن",delete:"حذف",addNew:"افزودن",removeAll:"حذف همه",edit:"ویرایش",empty:"<خالی>",fastEntry:"تکمیل سریع",formEntry:"تکمیل فرم",testService:"بررسی سرویس",conditionHelp:"لطفا یک مقدار بولین توصیفی وارد کنید که صحیح یا غلط را برگرداند تا صفحه سوالات نمایش داده شود. برای مثال: {question1} = 'value1' or ({question2} * {question4}  > 20 and {question3} < 5)",expressionHelp:"لطفا یک عبارت توصیفی را وارد کنید. شما ممکن است از کروشه برای دسترسی به مقدار سوالات استفاده کنید. برای مثال: {question1} = 'value1' or ({question2} = 3 and {question3} < 5)",aceEditorHelp:"برای مشاهده نکات تکمیلی ctrl+space را بفشارید",aceEditorRowTitle:"سطر فعلی",aceEditorPanelTitle:"پنل فعلی",showMore:"برای اطلاعات بیشتر لطفا سند راهنما را مطالعه کنید",assistantTitle:"سوالات موجود:",propertyIsEmpty:"لطفا یک مقدار وارد کنید",value:"مقدار",text:"متن",columnEdit:"ویرایش ستون: {0}",itemEdit:"ویرایش آیتم: {0}",url:"URL",path:"Path",valueName:"نام مقدار",titleName:"نام عنوان",hasOther:"دارای آیتم دیگر",name:"نام",title:"عنوان",cellType:"نوع سلول",colCount:"تعداد ستون",choicesOrder:"ترتیب گزینه را انتخاب کنید",visible:"نمایش داده شود؟",isRequired:"ضروری است؟",startWithNewLine:"با سطر جدید شروع شود؟",rows:"تعداد سطر",placeHolder:"نگهدارنده متن",showPreview:"پیش نمایش تصویر نشان داده شود؟",storeDataAsText:"ذخیره کردن محتوای فایل در JSON به عنوان متن",maxSize:"حداکثر سایز به بایت",imageHeight:"ارتفاع تصویر",imageWidth:"عرض تصویر",rowCount:"تعداد سطر",addRowText:"متن دکمه درج سطر",removeRowText:"متن دکمه حذف سطر",minRateDescription:"توضیح حداقل امتیاز",maxRateDescription:"توضیح حداکثر امتیاز",inputType:"نوع ورودی",optionsCaption:"نوشته انتخاب ها",defaultValue:"مقدار پیش فرض",surveyEditorTitle:"ویرایش نظرسنجی",qEditorTitle:"ویرایش سوال: {0}",showTitle:"نمایش/پنهان کردن عنوان",locale:"زبان پیش فرض",mode:"حالت (ویرایش/خواندن)",clearInvisibleValues:"پاکسازی مقادیر پنهان",cookieName:"نام کوکی (به منظور جلوگیری از اجرای دوباره نظرسنجی)",sendResultOnPageNext:"ارسال نتایج نظرسنجی در صفحه بعدی",storeOthersAsComment:"ذخیره مقدار 'سایر' در فیلد جداگانه",showPageTitles:"نمایش عنوان صفحات",showPageNumbers:"نمایش شماره صفحات",pagePrevText:"متن دکمه صفحه قبلی",pageNextText:"متن دکمه صفحه بعدی",completeText:"متن دکمه تکمیل نظرسنجی",startSurveyText:"متن دکمه شروع نظرسنجی",showNavigationButtons:"نمایش دکمه های ناوبری (ناوبری پیش فرض)",showPrevButton:"نمایش دکمه قبلی (کاربر ممکن است به صفحه قبل برگردد)",firstPageIsStarted:"صفحه اول در نظرسنجی نقطه آغازین آن است.",showCompletedPage:"نمایش صفحه اتمام نظرسنجی در پایان (completedHtml)",goNextPageAutomatic:"با پاسخگویی به تمام سوالات، به صورت اتوماتیک به صفحه بعد برود",showProgressBar:"نمایش نشانگر پیشرفت",questionTitleLocation:"محل عنوان سوال",requiredText:"سوالات نشان دار اجباری هستند",questionStartIndex:"نمایه شروع سوالات (۱،۲ یا a و b)",showQuestionNumbers:"نمایش شماره های سوالات",questionTitleTemplate:"قالب عنوان سوال، به صورت پیش فرض: '{no}. {require} {title}'",questionErrorLocation:"محل خطای سوال",focusFirstQuestionAutomatic:"تمرکز بر روی اولین سوال با تغییر صفحه",questionsOrder:"ترتیب المان ها در صفحه",maxTimeToFinish:"نهایت زمان برای اتمام نظرسنجی",maxTimeToFinishPage:"نهایت زمان برای اتمام این صفحه نظرسنجی",showTimerPanel:"نمایش پنل زمان سنج",showTimerPanelMode:"نمایش حالت پنل زمان سنج",renderMode:"حالت رندر",allowAddPanel:"اجازه افزودن پنل",allowRemovePanel:"اجازه حذف پنل",panelAddText:"متن افزودن پنل",panelRemoveText:"متن حذف پنل",isSinglePage:"نمایش تمام المان ها در یک صفحه",tabs:{general:"عمومی",fileOptions:"انتخاب ها",html:"ویرایشگر HTML",columns:"ستون ها",rows:"سطرها",choices:"انتخاب ها",visibleIf:"نمایش در صورت",rateValues:"مقادیر رتبه بندی",choicesByUrl:"انتخاب ها از وب",matrixChoices:"انتخاب های پیشفرض",multipleTextItems:"فیلدهای متنی",validators:"اعتبارسنجی ها",navigation:"ناوبری",question:"سوال",completedHtml:"HTML صفحه تکمیل نظرسنجی",loadingHtml:"HTML بارگزاری",timer:"زمان سنج/کوئیز",triggers:"اجرا کننده",templateTitle:"عنوان قالب"},editProperty:"ویرایش خصوصیت '{0}'",items:"[ آیتم ها: {0} ]",enterNewValue:"لطفا یک مقدار وارد کنید",noquestions:"سوالی در پرسشنامه درج نشده",createtrigger:"اجرا کننده ای بسازید",triggerOn:"در ",triggerMakePagesVisible:"صفحات را قابل نمایش کن:",triggerMakeQuestionsVisible:"سوالات را قابل نمایش کن:",triggerCompleteText:"پرسشنامه را تکمیل کن اگر موفق بود.",triggerNotSet:"اجرا کننده تنظیم نشده.",triggerRunIf:"اجرا در صورت",triggerSetToName:"تعییر مقدار از: ",triggerSetValue:"به: ",triggerIsVariable:"عدم درج متغییر در نتایج پرسشنامه"},pv:{true:"صحیح",false:"غلط",inherit:"ارث بری",show:"آشکار",hide:"پنهان",default:"پیش فرض",initial:"اولیه",random:"تصادفی",collapsed:"جمع شده",expanded:"باز شده",none:"هیچ کدام",asc:"صعودی",desc:"نزولی",indeterminate:"نامشخص",decimal:"اعشاری",currency:"ارز",percent:"درصد",firstExpanded:"firstExpanded",off:"خاموش",onPanel:"روی پنل",onSurvey:"روی نظرسنجی",list:"لیست",progressTop:"progressTop",progressBottom:"progressBottom",progressTopBottom:"progressTopBottom",horizontal:"افقی",vertical:"عمودی",top:"بالا",bottom:"پایین",topBottom:"بالا و پایین",left:"چپ",color:"رنگ",date:"تاریخ",datetime:"تاریخ و ساعت","datetime-local":"تاریخ و سوال پیش فرض",email:"ایمیل",month:"ماه",number:"عدد",password:"رمزعبور",range:"دامنه",tel:"تلفن",text:"متن",time:"زمان",url:"url",week:"هفته",hidden:"مخفی",on:"روشن",onPage:"روی صفحه",edit:"ویرایش",display:"نمایش",onComplete:"به محض تمام شدن",onHidden:"به محض مخفی شدن",all:"تمام",page:"صفحه",survey:"نظرسنجی",onNextPage:"به محض صفحه بعدی",onValueChanged:"به محض تغییر مقدار"},op:{empty:"خالی باشد",notempty:"خالی نباشد",equal:"مساوی باشد",notequal:"مساوی نباشد",contains:"شامل",notcontains:"شامل نباشد",greater:"بزرگتر",less:"کوچکتر",greaterorequal:"بزرگتر یا مساوی",lessorequal:"کوچکتر یا مساوی"},ew:{angular:"استفاده از نسخه Angular",jquery:"استفاده از نسخه jQuery",knockout:"استفاده از نسخه ناک اوت",react:"استفاده از نسخه React",vue:"استفاده از نسخه Vue",bootstrap:"برای فریم ورک بوتسترپ",standard:"بدون بوتسترپ",showOnPage:"نمایش نظرسنجی در یک صفحه",showInWindow:"نمایش نظرسنجی در یک پنجره",loadFromServer:"بارگزاری JSON از سرور",titleScript:"اسکریپت و شیوه نمایش",titleHtml:"HTML",titleJavaScript:"جاوااسکریپت"},ts:{selectPage:"صفحه ای را برای آزمایش انتخاب کنید:",showInvisibleElements:"نمایش المان های مخفی"},validators:{answercountvalidator:"تعداد پاسخ",emailvalidator:"ایمیل",numericvalidator:"عدد",regexvalidator:"regex",textvalidator:"متن"},triggers:{completetrigger:"تکمیل نظرسنجی",setvaluetrigger:"تنظیم مقدار",visibletrigger:"تغییر وضعیت دیده شدن"},p:{name:"نام",title:{name:"عنوان",title:"اگر خالی باشد مانند نام درج می شود"},survey_title:{name:"عنوان",title:"در تمام صفحات دیده می شود"},page_title:{name:"عنوان",title:"عنوان صفحه"},navigationButtonsVisibility:"پدیداری دکمه های ناوبری",questionsOrder:"ترتیب سوالات",maxTimeToFinish:"حداکثر زمان برای تکمیل",visible:"آشکار",visibleIf:"آشکار اگر",questionTitleLocation:"questionTitleLocation",description:"توضیحات",state:"وضعیت",isRequired:"اجباری؟",requiredIf:"اجبار اگر؟",indent:"indent",requiredErrorText:"requiredErrorText",startWithNewLine:"startWithNewLine",innerIndent:"innerIndent",page:"صفحه",width:"عرض",commentText:"متن نظر",valueName:"نام مقدار",enableIf:"فعال اگر",defaultValue:"مقدار پیش فرض",correctAnswer:"پاسخ صحیح",readOnly:"فقط خوانش",validators:"اعتبارسنج ها",titleLocation:"titleLocation",hasComment:"نظر دارد؟",hasOther:"سایر دارد؟",choices:"گزینه ها",choicesOrder:"ترتیب گزینه ها",choicesByUrl:"گزینه ها با لینک",otherText:"متن سایر",otherErrorText:"متن خطای سایر",storeOthersAsComment:"ذخیره سایر به صورت نظر",label:"برچسب",showTitle:"نامیش عنوان",valueTrue:"valueTrue",valueFalse:"valueFalse",cols:"ستون ها",rows:"سطر ها",placeHolder:"placeHolder",optionsCaption:"optionsCaption",expression:"expression",format:"فرمت",displayStyle:"سبک نمایش",currency:"ارز",useGrouping:"useGrouping",showPreview:"پیش نمایش",allowMultiple:"اجازه چند انتخابی",imageHeight:"طول عکس",imageWidth:"عرض عکس",storeDataAsText:"ذخیره داده به صورت متنی",maxSize:"نهایت حجم",html:"html",columns:"ستون ها",cells:"سلول ها",isAllRowRequired:"آیا تمام سطرها اجباری اند؟",horizontalScroll:"اسکرول افقی",cellType:"نوع سلول",columnsLayout:"columnsLayout",columnColCount:"columnColCount",columnMinWidth:"columnMinWidth",rowCount:"تعداد سطر",minRowCount:"حداقل تعداد سطر",maxRowCount:"حداکثر تعداد سطر",keyName:"keyName",keyDuplicationError:"keyDuplicationError",confirmDelete:"تاییدیه حذف",confirmDeleteText:"متن تاییدیه حذف",addRowLocation:"addRowLocation",addRowText:"افزودن متن سطر",removeRowText:"حذف متن سطر",items:"items",itemSize:"itemSize",colCount:"colCount",templateTitle:"templateTitle",templateDescription:"templateDescription",allowAddPanel:"allowAddPanel",allowRemovePanel:"allowRemovePanel",panelCount:"panelCount",minPanelCount:"minPanelCount",maxPanelCount:"maxPanelCount",panelsState:"panelsState",panelAddText:"panelAddText",panelRemoveText:"panelRemoveText",panelPrevText:"panelPrevText",panelNextText:"panelNextText",showQuestionNumbers:"showQuestionNumbers",showRangeInProgress:"showRangeInProgress",renderMode:"renderMode",templateTitleLocation:"templateTitleLocation",rateValues:"rateValues",rateMin:"rateMin",rateMax:"rateMax",rateStep:"rateStep",minRateDescription:"minRateDescription",maxRateDescription:"maxRateDescription",inputType:"inputType",size:"حجم",locale:"زبان",focusFirstQuestionAutomatic:"focusFirstQuestionAutomatic",completedHtml:"completedHtml",completedBeforeHtml:"completedBeforeHtml",loadingHtml:"loadingHtml",triggers:"triggers",cookieName:"cookieName",sendResultOnPageNext:"sendResultOnPageNext",showNavigationButtons:"showNavigationButtons",showPrevButton:"showPrevButton",showPageTitles:"showPageTitles",showCompletedPage:"showCompletedPage",showPageNumbers:"showPageNumbers",questionErrorLocation:"questionErrorLocation",showProgressBar:"showProgressBar",mode:"mode",goNextPageAutomatic:"goNextPageAutomatic",checkErrorsMode:"checkErrorsMode",clearInvisibleValues:"clearInvisibleValues",startSurveyText:"startSurveyText",pagePrevText:"pagePrevText",pageNextText:"pageNextText",completeText:"completeText",requiredText:"requiredText",questionStartIndex:"questionStartIndex",questionTitleTemplate:"questionTitleTemplate",firstPageIsStarted:"firstPageIsStarted",isSinglePage:"isSinglePage",maxTimeToFinishPage:"maxTimeToFinishPage",showTimerPanel:"showTimerPanel",showTimerPanelMode:"showTimerPanelMode",defaultPanelValue:"defaultPanelValue",defaultRowValue:"defaultRowValue",hasNone:"hasNone",noneText:"noneText",text:"متن",minValue:"حداقل مقدار",maxValue:"حداکثر مقدار",minLength:"حداقل طول",maxLength:"حداکثر طول",allowDigits:"اجازه عدد",minCount:"حداقل تعداد",maxCount:"حداکثر تعداد",regex:"regular expression"}};r.a.locales.fa=n},function(e,t,o){"use strict";var r=o(0),n={survey:{edit:"Edytuj",dropQuestion:"Przeciągnij pytanie.",copy:"Kopiuj",addToToolbox:"Dodaj do palety",deletePanel:"Usuń panel",deleteQuestion:"Usuń pytanie",convertTo:"Konwertuj na"},qt:{checkbox:"Wielokrotny wybór",comment:"Komentarz",dropdown:"Lista wyboru",file:"Plik",html:"Html",matrix:"Macierz (jednokrotny wybór)",matrixdropdown:"Matrix (wielokrotny wybór)",matrixdynamic:"Matrix (dynamiczne wiersze)",multipletext:"Wiele linii tekstu",panel:"Panel",paneldynamic:"Panel (dynamiczne panele)",radiogroup:"Jednokrotny wybór",rating:"Ocena",text:"Pojedyncza odpowiedź",boolean:"Prawda/Fałsz",expression:"Wyrażenie"},ed:{survey:"Ankieta",Survey:"Ankieta",editSurvey:"Edytuj ankietę",addNewPage:"Dodaj nową sekcję",deletePage:"Usuń sekcję",editPage:"Edytuj sekcję",newPageName:"sekcja",newQuestionName:"pytanie",newPanelName:"panel",testSurvey:"Testuj ankietę",testSurveyAgain:"Testuj ponownie",testSurveyWidth:"Szerokość ankiety: ",embedSurvey:"Embed Survey",saveSurvey:"Zapisz ankietę",designer:"Projektant ankiety",jsonEditor:"JSON Editor",undo:"Cofnij",redo:"Ponów",options:"Opcje",generateValidJSON:"Generate Valid JSON",generateReadableJSON:"Generate Readable JSON",toolbox:"Paleta",delSelObject:"Usuń wybrany element",correctJSON:"Please correct JSON.",surveyResults:"Wynik ankiety: ",modified:"Zmodyfikowana",saving:"Trwa zapis",saved:"Zapisano"},pel:{isRequired:"Wymagane?"},pe:{apply:"Zastosuj",ok:"OK",cancel:"Anuluj",reset:"Resetuj",close:"Zamknij",delete:"Usuń",addNew:"Dodaj nową",removeAll:"Usuń wszystkie",edit:"Edytuj",empty:"<pusty>",fastEntry:"Szybkie wprowadzanie",formEntry:"Formularz",testService:"Testuj usługę",conditionHelp:"Podaj wyrażenie, które zwróci wartość prawda/fałsz. Jeśli chcesz, aby sekcja lub pytanie pozostały widoczne - powinno zwrócić prawdę. Przykład: {pytanie1} = 'wartość1' or ({pytanie2} * {pytanie4}  > 20 and {pytanie3} < 5)",expressionHelp:"Please enter an expression. You may use curly brackets to get access to the question values: '{question1} + {question2}', '({price}*{quantity}) * (100 - {discount})'",aceEditorHelp:"Press ctrl+space to get expression completion hint",aceEditorRowTitle:"Current row",aceEditorPanelTitle:"Current panel",showMore:"For more details please check the documentation",assistantTitle:"Available questions:",propertyIsEmpty:"Podaj wartość",value:"Wartość",text:"Etykieta",columnEdit:"Edit column: {0}",itemEdit:"Edit item: {0}",url:"URL",path:"Path",valueName:"Value name",titleName:"Title name",hasOther:"Czy możliwa własna odpowiedź",otherText:"Other item text",name:"Nazwa",title:"Etykieta",cellType:"Typ komórki",colCount:"Liczba kolumn",choicesOrder:"Kolejność odpowiedzi",visible:"Czy widoczne?",isRequired:"Czy wymagalne?",startWithNewLine:"Czy rozpoczyna się nową linią?",rows:"Liczba wierszy",placeHolder:"Input place holder",showPreview:"Is image preview shown?",storeDataAsText:"Store file content in JSON result as text",maxSize:"Maximum file size in bytes",imageHeight:"Image height",imageWidth:"Image width",rowCount:"Row count",addRowText:"Add row button text",removeRowText:"Remove row button text",minRateDescription:"Opis najniższej oceny",maxRateDescription:"Opis najwyższej oceny",inputType:"Input type",optionsCaption:"Options caption",defaultValue:"Default value",surveyEditorTitle:"Edytuj ankietę",qEditorTitle:"Edytuj: {0}",showTitle:"Pokaż/ukryj tytuł",locale:"Domyślny język",mode:"Tryb (edycja/podgląd)",clearInvisibleValues:"Usuń niewidoczne odpowiedzi",cookieName:"Cookie name (to disable run survey two times locally)",sendResultOnPageNext:"Send survey results on page next",storeOthersAsComment:"Store 'others' value in separate field",showPageTitles:"Show page titles",showPageNumbers:"Show page numbers",pagePrevText:"Page previous button text",pageNextText:"Page next button text",completeText:"Complete button text",startSurveyText:"Start button text",showNavigationButtons:"Show navigation buttons (default navigation)",showPrevButton:"Show previous button (user may return on previous page)",firstPageIsStarted:"The first page in the survey is a started page.",showCompletedPage:"Show the completed page at the end (completedHtml)",goNextPageAutomatic:"On answering all questions, go to the next page automatically",showProgressBar:"Show progress bar",questionTitleLocation:"Question title location",requiredText:"The question required symbol(s)",questionStartIndex:"Question start index (1, 2 or 'A', 'a')",showQuestionNumbers:"Show question numbers",questionTitleTemplate:"Question title template, default is: '{no}. {require} {title}'",questionErrorLocation:"Question error location",focusFirstQuestionAutomatic:"Focus first question on changing the page",questionsOrder:"Elements order on the page",maxTimeToFinish:"Maximum time to finish the survey",maxTimeToFinishPage:"Maximum time to finish a page in the survey",showTimerPanel:"Show timer panel",showTimerPanelMode:"Show timer panel mode",renderMode:"Render mode",allowAddPanel:"Allow adding a panel",allowRemovePanel:"Allow removing the panel",panelAddText:"Adding panel text",panelRemoveText:"Removing panel text",isSinglePage:"Show all elements on one page",tabs:{general:"Ogólne",fileOptions:"Options",html:"Html Editor",columns:"Kolumny",rows:"Wiersze",choices:"Odpowiedzi",visibleIf:"Widoczne jeśli",enableIf:"Enable If",rateValues:"Wartość oceny",choicesByUrl:"Odpowiedzi z webserwisu",matrixChoices:"Default Choices",multipleTextItems:"Text Inputs",validators:"Validators",navigation:"Navigation",question:"Question",completedHtml:"Completed Html",loadingHtml:"Loading Html",timer:"Timer/Quiz",triggers:"Triggers",templateTitle:"Template title"},editProperty:"Edit property '{0}'",items:"[ Items: {0} ]",enterNewValue:"Please, enter the value.",noquestions:"There is no any question in the survey.",createtrigger:"Please create a trigger",triggerOn:"On ",triggerMakePagesVisible:"Make pages visible:",triggerMakeQuestionsVisible:"Make elements visible:",triggerCompleteText:"Complete the survey if succeed.",triggerNotSet:"The trigger is not set",triggerRunIf:"Run if",triggerSetToName:"Change value of: ",triggerSetValue:"to: ",triggerIsVariable:"Do not put the variable into the survey result."},pv:{true:"prawda",false:"fałsz"},op:{empty:"is empty",notempty:"is not empty",equal:"equals",notequal:"not equals",contains:"contains",notcontains:"not contains",greater:"greater",less:"less",greaterorequal:"greater or equals",lessorequal:"Less or Equals"},ew:{angular:"Use Angular version",jquery:"Use jQuery version",knockout:"Use Knockout version",react:"Use React version",vue:"Use Vue version",bootstrap:"For bootstrap framework",standard:"No bootstrap",showOnPage:"Show survey on a page",showInWindow:"Show survey in a window",loadFromServer:"Load Survey JSON from server",titleScript:"Scripts and styles",titleHtml:"HTML",titleJavaScript:"JavaScript"},ts:{selectPage:"Wybierz stronę, aby ją przetestować:"},validators:{answercountvalidator:"answer count",emailvalidator:"e-mail",numericvalidator:"numeric",regexvalidator:"regex",textvalidator:"text"},triggers:{completetrigger:"complete survey",setvaluetrigger:"set value",visibletrigger:"change visibility"},p:{name:"nazwa",title:{name:"tytuł",title:"Pozostaw pusty, jeśli ma być taki sam, jak 'Nazwa'"},page_title:{name:"tytuł",title:"Tytuł sekcji"}}};r.a.locales.pl=n},function(e,t,o){"use strict";var r=o(0),n={survey:{edit:"Editar",dropQuestion:"Por favor arraste uma pergunta aqui.",copy:"Copiar",addToToolbox:"Adicionar à toolbox",deletePanel:"Remover Painel",deleteQuestion:"Remover Pergunta",convertTo:"Converter para",drag:"Arrastar elemento"},qt:{default:"Default",checkbox:"Checkbox",comment:"Comentário",imagepicker:"Selecionador de imagem",dropdown:"Dropdown",file:"Arquivo",html:"Html",matrix:"Matriz (opção única)",matrixdropdown:"Matriz (multiplas opções)",matrixdynamic:"Matriz (linhas dinâmicas)",multipletext:"Texto múltiplo",panel:"Painel",paneldynamic:"Painel (painéis dinâmicos)",radiogroup:"Radiogroup",rating:"Rating",text:"Texto único",boolean:"Boleano",expression:"Expressão"},ed:{defaultLocale:"Default ({0})",survey:"Pesquisa",settings:"Configurações da Pesquisa",editSurvey:"Editar Pesquisa",addNewPage:"Adicionar Nova Página",moveRight:"Role para direita",moveLeft:"Role para esquerda",deletePage:"Deletar Página",editPage:"Editar Página",edit:"Editar",newPageName:"página",newQuestionName:"pergunta",newPanelName:"painel",testSurvey:"Testar pesquisa",testSurveyAgain:"Testar pesquisa novamente",testSurveyWidth:"Tamanho do pesquisa: ",embedSurvey:"Incorporar Pesquisa",translation:"Tradução",saveSurvey:"Salvar Pesquisa",designer:"Designer de Pesquisa",jsonEditor:"Editor de JSON",undo:"Desfazer",redo:"Refazer",options:"Opções",generateValidJSON:"Gerar JSON válido",generateReadableJSON:"Gerar JSON legível",toolbox:"Toolbox",toolboxGeneralCategory:"Geral",delSelObject:"Apagar objeto selecionado",editSelObject:"Editar objeto selecionado",correctJSON:"Por favor corrija o JSON.",surveyResults:"Resultado da pesquisa: ",surveyResultsTable:"Como Tabela",surveyResultsJson:"Como JSON",resultsTitle:"Título da Pergunta",resultsName:"Nome da Pergunta",resultsValue:"Valor da Resposta",resultsDisplayValue:"Mostrar Valor",modified:"Modificado",saving:"Salvando",saved:"Salvo",saveError:"Erro! Conteúdo do editor não foi salvo.",translationAddLanguage:"Selecione o idioma para traduzir",translationShowAllStrings:"Mostrar todas strings",translationShowAllPages:"Mostrar todas páginas",translationNoStrings:"Nenhuma string para traduzir. Por favor, altere o filtro.",translationExportToSCVButton:"Exportar para CSV",translationImportFromSCVButton:"Importar de CSV",translationMergeLocaleWithDefault:"Combinar {0} com o idioma default"},pel:{isRequired:"Obrigatório?"},pe:{apply:"Aplicar",ok:"OK",cancel:"Cancelar",reset:"Limpar",close:"Fechar",delete:"Apagar",addNew:"Adicionar Novo",addItem:"Clique para adicionar um item...",removeAll:"Remover Todos",edit:"Editar",itemValueEdit:"Visível Se",editChoices:"Editar Opções",move:"Mover",empty:"<vazio>",notEmpty:"<editar valor>",fastEntry:"Entrada Rápida",formEntry:"Entrada com formulário",testService:"Testar o serviço",conditionSelectQuestion:"Selecionar pergunta...",conditionValueQuestionTitle:"Por favor, entre/selecione o valor",conditionButtonAdd:"Add",conditionButtonReplace:"Substituir",conditionHelp:"Por favor, entre com uma expressão boleana. Deve retornar verdadeiro para manter a pergunta/página visível. Por exemplo: {´pergunta1} = 'valor1' ou ({pergunta2} * {pergunta4} > 20 e {pergunta3} < 5)",expressionHelp:"Por favor informe uma expressão boleana. Ela deve retornar verdadeiro para manter a pergunta/página visível. Por exemplo: {´pergunta1} = 'valor1' or ({pergunta2} = 3 and {pergunta3} < 5)",aceEditorHelp:"Pressione ctrl+space para autocompletar",aceEditorRowTitle:"Linha atual",aceEditorPanelTitle:"Painel atual",showMore:"Para mais detalhes, por favor visite a documentação",conditionShowMoreUrl:"https://surveyjs.io/Documentation/LibraryParameter?id=Question&parameter=visibleIf",assistantTitle:"Perguntas disponíveis:",cellsEmptyRowsColumns:"Deve haver ao menos uma coluna ou linha",propertyIsEmpty:"Por favor informe um valor na propriedade",value:"Valor",text:"Texto",rowid:"ID da Linha",imageLink:"Link da Imagem",columnEdit:"Editar coluna: {0}",itemEdit:"Editar item: {0}",url:"URL",path:"Caminho",valueName:"Nome do valor",titleName:"Nome do título",hasOther:"Tem item 'outros'",otherText:"Texto do item 'outros'",name:"Nome",title:"Título",cellType:"Tipo de célula",colCount:"Contagem de células",choicesOrder:"Selecione a ordem das alternativas",visible:"É visível?",isRequired:"É obrigatório?",startWithNewLine:"Começa com uma nova linha?",rows:"Contagem de linhas",placeHolder:"Texto de referência",showPreview:"Mostra pré-visualização de imagem?",storeDataAsText:"Gravar conteúdo de arquivo no resultado JSON como texto",maxSize:"Tamanho máximo de arquivo em bytes",imageHeight:"Altura da imagem",imageWidth:"Largura da imagem",rowCount:"Contagem de linhas",columnLayout:"Layout das colunas",addRowLocation:"Localização do botão de adicionar linha",addRowText:"Texto do botão para adicionar linhas",removeRowText:"Texto do botão para remover linhas",minRateDescription:"Descrição de qualificação mínima",maxRateDescription:"Descrição de qualificação máxima",inputType:"Tipo de entrada",optionsCaption:"Título de opção",defaultValue:"Valor default",cellsDefaultRow:"Texto default das células",surveyEditorTitle:"Editar configurações da pesquisa",qEditorTitle:"Editar pergunta: {0}",maxLength:"Tamanho máximo",showTitle:"Mostrar/ocultar título",locale:"Idioma default",mode:"Modo (editável/somente leitura)",clearInvisibleValues:"Limpar valores invisíveis",cookieName:"Nome do cookie (para desativar rode a pesquisa duas vezes localmente)",sendResultOnPageNext:"Enviar resultado da pesquisa na página seguinte",storeOthersAsComment:"Armazenar 'outros' valores em um campo separado",showPageTitles:"Mostrar título da página",showPageNumbers:"Mostrar número da página",pagePrevText:"Texto para botão de página anterior",pageNextText:"Texto para botão de página seguinte",completeText:"Texto para botão de completar",startSurveyText:"Texto para botão de começar",showNavigationButtons:"Mostrar botões de navegação (navegação default)",showPrevButton:"Mostrar botão de voltar (usuário pode retornar para página anterior)",firstPageIsStarted:"Primeira página da pesquisa é a página de início.",showCompletedPage:"Mostrar a página de conclusão no final (completedHtml)",goNextPageAutomatic:"Ao responder todas as perguntas, ir automaticamente para a próxima página",showProgressBar:"Mostrar barra de progresso",questionTitleLocation:"Localização do título da pergunta",requiredText:"Símbolo(s) para perguntas obrigatórias",questionStartIndex:"Index das perguntas (1, 2 or 'A', 'a')",showQuestionNumbers:"Mostrar número das perguntas",questionTitleTemplate:"Template do título da pergunta, default é: '{no}. {obrigatório} {título}'",questionErrorLocation:"Localização do erro da pergunta",focusFirstQuestionAutomatic:"Focar automaticamente na primeira pergunta ao trocar de página",questionsOrder:"Ordenar elementos na página",maxTimeToFinish:"Tempo máximo para finalizar pesquisa",maxTimeToFinishPage:"Tempo máximo para finalizar página da pesquisa",showTimerPanel:"Mostrar o painel de cronômetro",showTimerPanelMode:"Mostrar painel de modo de cronômetro",renderMode:"Modo de renderização",allowAddPanel:"Permitir adicionar painel",allowRemovePanel:"Permitir remover painel",panelAddText:"Texto de adicionar painel",panelRemoveText:"Texto de remover painel",isSinglePage:"Mostrar todos elementos em uma página",tabs:{general:"Geral",fileOptions:"Opções",html:"Editor Html",columns:"Colunas",rows:"Linhas",choices:"Opções",items:"Itens",visibleIf:"Visível se",enableIf:"Habilitar se",requiredIf:"Obrigatório se",rateValues:"Valores de qualificação",choicesByUrl:"Opções com origem na Web",matrixChoices:"Opções padrão",multipleTextItems:"Entradas de texto",validators:"Validadores",navigation:"Navegação",question:"Pergunta",completedHtml:"Completo Html",loadingHtml:"Carregando Html",timer:"Cronômetro/Quiz",triggers:"Triggers",templateTitle:"Título do template"},editProperty:"Editar propriedade '{0}'",items:"[ Items: {0} ]",enterNewValue:"Por favor, informe o valor.",noquestions:"Não há nenhuma pergunta na pesquisa.",createtrigger:"Por favor, crie um gatilho",triggerOn:"Ligado ",triggerMakePagesVisible:"Tornar páginas visíveis:",triggerMakeQuestionsVisible:"Tornar perguntas visíves:",triggerCompleteText:"Completar a pesquisa se obtiver êxito.",triggerNotSet:"O gatilho não está definido",triggerRunIf:"Executar se",triggerSetToName:"Mudar o valor de: ",triggerFromName:"Copiar valor de: ",triggerRunExpression:"Rodar essa expressão:",triggerSetValue:"para: ",triggerIsVariable:"Não colocar a variável no resultado da pesquisa."},pv:{true:"verdadeiro",false:"falso",inherit:"inherit",show:"mostrar",hide:"ocultar",default:"default",initial:"inicial",random:"aleatório",collapsed:"colapsado",expanded:"expandido",none:"nenhum",asc:"ascendente",desc:"descendente",indeterminate:"indeterminado",decimal:"decimal",currency:"moeda",percent:"percentagem",firstExpanded:"primeiro expandido",off:"desligado",onPanel:"no painel",onSurvey:"na pesquisa",list:"lista",progressTop:"progresso superior",progressBottom:"progresso inferior",progressTopBottom:"progresso superior inferior",horizontal:"horizontal",vertical:"vertical",top:"superior",bottom:"inferior",topBottom:"superior and bottom",left:"esquerda",color:"cor",date:"data",datetime:"data e hora","datetime-local":"data e hora - local",email:"email",month:"mês",number:"número",password:"senha",range:"intervalo",tel:"tel",text:"texto",time:"hora",url:"url",week:"semana",hidden:"oculto",on:"ligado",onPage:"na página",edit:"editar",display:"mostrar",onComplete:"ao completar",onHidden:"ao ocultar",all:"todos",page:"página",survey:"pesquisa",onNextPage:"na página seguinte",onValueChanged:"ao mudar valor"},op:{empty:"está vazio",notempty:"não está vazio",equal:"é igual",notequal:"não é igual",contains:"contém",notcontains:"não contém",greater:"maior",less:"menor",greaterorequal:"maior ou igual",lessorequal:"menor ou igual"},ew:{angular:"Usar versão Angular",jquery:"Usar versão jQuery",knockout:"Usar versão Knockout",react:"Usar versão React",vue:"Usar versão Vue",bootstrap:"Para framework bootstrap",standard:"Sem bootstrap",showOnPage:"Mostrar pesquisa em uma página",showInWindow:"Mostrar pesquisa em uma janela",loadFromServer:"Carregar JSON da pesquisa de um servidor",titleScript:"Scripts e estilos",titleHtml:"HTML",titleJavaScript:"JavaScript"},ts:{selectPage:"Selecione a página para testar:",showInvisibleElements:"Mostrar elementos invisíveis"},validators:{answercountvalidator:"contador de respostas",emailvalidator:"e-mail",expressionvalidator:"expressão",numericvalidator:"numérico",regexvalidator:"regex",textvalidator:"texto"},triggers:{completetrigger:"completar pesquisa",setvaluetrigger:"definir valor",copyvaluetrigger:"copiar valor",runexpressiontrigger:"rodar expressão",visibletrigger:"alterar visibilidade"},p:{name:"nome",title:{name:"título",title:"Deixar vazio se for o mesmo que 'Nome'"},navigationButtonsVisibility:"Visibilidade dos botões de navegação",questionsOrder:"Ordenar elementos na página",maxTimeToFinish:"Tempo máximo para finalizar pesquisa",visible:"Visível?",visibleIf:"Visível se",questionTitleLocation:"Localização do título da pergunta",description:"Descrição",state:"Estado",isRequired:"Obrigatório?",requiredIf:"Obrigatório se",indent:"Indentação",requiredErrorText:"Texto de erro para obrigatório",startWithNewLine:"Começar com uma nova linha",innerIndent:"Indentação interna",page:"Página",width:"Largura",commentText:"Texto do comentário",valueName:"Nome do valor",enableIf:"Habilitar se",defaultValue:"Valor default",correctAnswer:"Resposta correta",readOnly:"Somente leitura",validators:"Validadores",titleLocation:"Localização do título",hasComment:"Tem comentário",hasOther:"Tem item 'outros'",choices:"Opções",choicesOrder:"Selecione a ordem das alternativas",choicesByUrl:"Opções com origem na Web",otherText:"Texto do item 'outros'",otherErrorText:"Texto de erro da opção 'outros'",storeOthersAsComment:"Armazenar 'outros' valores em um campo separado",label:"Label",showTitle:"Mostrar título",valueTrue:"Valor verdadeiro",valueFalse:"Valor falso",cols:"Colunas",rows:"Linhas",placeHolder:"placeholder",optionsCaption:"Título das opções",expression:"Expressão",format:"Formato",displayStyle:"Mostrar estilo",currency:"Moeda",useGrouping:"Usar agrupamento",showPreview:"Mostrar preview",allowMultiple:"Permitir múltiplos",imageHeight:"Altura da imagem",imageWidth:"Largura da imagem",storeDataAsText:"Armazenar dados como texto",maxSize:"Tamanho máximo",html:"html",columns:"Colunas",cells:"Células",isAllRowRequired:"Todas linhas são obrigatórias",horizontalScroll:"Scroll horizontal",cellType:"Tipo de célula",columnsLayout:"Layout de colunas",columnColCount:"Contador de células de coluna",columnMinWidth:"Largura mínima da coluna",rowCount:"Contagem de linhas",minRowCount:"Contagem de linhas mínima",maxRowCount:"Contagem de linhas máxima",keyName:"Nome da chave",keyDuplicationError:"Erro de chave duplicada",confirmDelete:"Confirmar deleção",confirmDeleteText:"Texto de confirmar deleção",addRowLocation:"Localização do botão de adicionar linha",addRowText:"Texto do botão para adicionar linhas",removeRowText:"Texto do botão para remover linhas",items:"Itens",itemSize:"Tamanho do item",colCount:"Contagem de células",templateTitle:"Título do template",templateDescription:"Descrição do template",allowAddPanel:"Permitir adicionar painel",allowRemovePanel:"Permitir remover painel",panelCount:"Contador do painel",minPanelCount:"Contador do painel mínimo",maxPanelCount:"Contador do painel máximo",panelsState:"Estado dos painéis",panelAddText:"Texto de adicionar painel",panelRemoveText:"Texto de remover painel",panelPrevText:"Texto do painel anterior",panelNextText:"Texto do próximo painel",showQuestionNumbers:"Mostrar número das perguntas",showRangeInProgress:"showRangeInProgress",renderMode:"Modo de renderização",templateTitleLocation:"Localização do título do template",rateValues:"Valores de qualificação",rateMin:"Qualificação mínima",rateMax:"Qualificação máxima",rateStep:"Incremento da qualificação",minRateDescription:"Descrição de qualificação mínima",maxRateDescription:"Descrição de qualificação máxima",inputType:"Tipo de entrada",size:"Tamanho",locale:"Localidade",focusFirstQuestionAutomatic:"Focar automaticamente na primeira pergunta",completedHtml:"Completo Html",completedBeforeHtml:"Completo Html antes",loadingHtml:"Carregando Html",triggers:"Triggers",cookieName:"Nome do cookie",sendResultOnPageNext:"Enviar resultado da pesquisa na página seguinte",showNavigationButtons:"Mostrar botões de navegação (navegação default)",showPrevButton:"Mostrar botão de voltar (usuário pode retornar para página anterior)",showPageTitles:"Mostrar título da página",showCompletedPage:"Mostrar a página de conclusão no final (completedHtml)",showPageNumbers:"Mostrar número da página",questionErrorLocation:"Localização do erro da pergunta",showProgressBar:"Mostrar barra de progresso",mode:"Modo",goNextPageAutomatic:"Ao responder todas as perguntas, ir automaticamente para a próxima página",checkErrorsMode:"Modo de verificação de erros",clearInvisibleValues:"Limpar valores invisíveis",startSurveyText:"Texto para botão de começar",pagePrevText:"Texto para botão de página anterior",pageNextText:"Texto para botão de página seguinte",completeText:"Texto para botão de completar",requiredText:"Símbolo(s) para perguntas obrigatórias",questionStartIndex:"Index das perguntas (1, 2 or 'A', 'a')",questionTitleTemplate:"Template do título da pergunta, default é: '{no}. {obrigatório} {título}'",firstPageIsStarted:"Primeira página da pesquisa é a página de início.",isSinglePage:"Mostrar todos elementos em uma página",maxTimeToFinishPage:"Tempo máximo para finalizar página da pesquisa",showTimerPanel:"Mostrar o painel de cronômetro",showTimerPanelMode:"Mostrar painel de modo de cronômetro",defaultPanelValue:"valor default do painel",defaultRowValue:"valor default da linha",hasNone:"não tem nenhum",noneText:"nenhum texto",text:"texto",minValue:"valor mínimo",maxValue:"valor máximo",minLength:"tamanho mínimo",maxLength:"tamanho máximo",allowDigits:"permitir dígitos",minCount:"contador mínimo",maxCount:"contador máximo",regex:"expressão regular"}};r.a.locales.pt=n},function(e,t,o){"use strict";var r=o(0),n={survey:{edit:"编辑",dropQuestion:"请将问题放置于此",copy:"复制",addToToolbox:"添加到工具箱",deletePanel:"删除面板",deleteQuestion:"删除题目",convertTo:"转变为"},qt:{checkbox:"多项选择",comment:"多行文本框",dropdown:"下拉框",file:"文件上传",html:"Html 代码",matrix:"矩阵 (单选题)",matrixdropdown:"矩阵 (下拉框)",matrixdynamic:"矩阵 (动态问题)",multipletext:"文本框组",panel:"面板",paneldynamic:"面板(动态)",radiogroup:"单项选择",rating:"评分",text:"文本框",boolean:"布尔选择",expression:"表达式"},ed:{survey:"调查问卷",editSurvey:"修改",addNewPage:"添加新页面",deletePage:"删除页面",editPage:"编辑页面",newPageName:"页面",newQuestionName:"问题",newPanelName:"面板",testSurvey:"测试问卷",testSurveyAgain:"再次测试问卷",testSurveyWidth:"问卷宽度: ",embedSurvey:"将问卷嵌入网页",saveSurvey:"保存问卷",designer:"问卷设计器",jsonEditor:"JSON 编辑器",undo:"撤销",redo:"恢复",options:"选项",generateValidJSON:"生成 JSON 数据",generateReadableJSON:"生成易读的 JSON 数据",toolbox:"工具箱",delSelObject:"删除所选对象",editSelObject:"编辑所选对象",correctJSON:"请修正 JSON 数据",surveyResults:"问卷结果: ",modified:"已修改",saving:"保存中...",saved:"已保存"},pel:{isRequired:"是否为必填项?"},pe:{apply:"应用",ok:"确定",cancel:"取消",reset:"重置",close:"关闭",delete:"删除",addNew:"新建",removeAll:"全部删除",edit:"编辑器",empty:"<空>",fastEntry:"快速输入",formEntry:"表单输入",testService:"测试服务",showMore:"更多细节请查看文档",conditionHelp:"请输入一个布尔表达式。当布尔值为真,问题/页面可见。例如:{question1} = 'value1' or ({question2} * {question4}  > 20 and {question3} < 5)",expressionHelp:"请输入一项条件判断。当条件判断为真时问题/页面将可见。例如: {question1} = 'value1' or ({question2} = 3 and {question3} < 5)",propertyIsEmpty:"请为该属性设定一个值",value:"值",text:"显示文本",columnEdit:"编辑列: {0}",itemEdit:"编辑选项: {0}",hasOther:"可添加其他答案?",otherText:"其他答案文本",url:"URL",path:"Path",valueName:"Value name",titleName:"Title name",name:"题目名",title:"题目文本",cellType:"单元格类型",colCount:"列数",choicesOrder:"设置选项顺序",visible:"是否可见?",isRequired:"是否为必填项?",startWithNewLine:"问题是否新起一行?",rows:"文本框行数",placeHolder:"占位文本",showPreview:"是否显示图像预览?",storeDataAsText:"以 JSON 文本方式存储文件",maxSize:"文件最大尺寸 (Bytes)",imageHeight:"图片高度",imageWidth:"图片宽度",rowCount:"默认行数",addRowText:"添加条目按钮文本",removeRowText:"删除条目按钮文本",minRateDescription:"最小值提示",maxRateDescription:"最大值提示",inputType:"文本框类型",optionsCaption:"下拉框提示语",qEditorTitle:"编辑问题: {0}",showTitle:"显示/隐藏 标题",locale:"默认语言",mode:"模式 (编辑/只读)",clearInvisibleValues:"清除隐藏值",cookieName:"Cookie name (to disable run survey two times locally)",sendResultOnPageNext:"Send survey results on page next",storeOthersAsComment:"Store 'others' value in separate field",showPageTitles:"显示页面标题",showPageNumbers:"显示页数",pagePrevText:"前一页按钮文本",pageNextText:"后一页按钮文本",completeText:"完成按钮文本",startSurveyText:"开始按钮文本",showNavigationButtons:"显示导航按钮 (默认导航)",showPrevButton:"显示前一页按钮 (用户可返回至前一页面)",firstPageIsStarted:"调查的第一页面为起始页.",showCompletedPage:"结尾展示完成后的页面 (completedHtml)",goNextPageAutomatic:"回答本页所有问题后,自动跳转到下一页",showProgressBar:"显示进度条",questionTitleLocation:"问题的标题位置",requiredText:"The question required symbol(s)",questionStartIndex:"问题起始标志 (1, 2 or 'A', 'a')",showQuestionNumbers:"显示问题编号",questionTitleTemplate:"问题标题模板, 默认为: '{no}. {require} {title}'",questionErrorLocation:"问题错误定位",focusFirstQuestionAutomatic:"改变页面时聚焦在第一个问题",questionsOrder:"Elements order on the page",maxTimeToFinish:"完成调查的最长时间",maxTimeToFinishPage:"完成调查中页面的最长时间",showTimerPanel:"显示计时器面板",showTimerPanelMode:"显示计时器面板模式",renderMode:"渲染模式",allowAddPanel:"允许添加面板",allowRemovePanel:"允许删除面板",panelAddText:"添加面板文本",panelRemoveText:"删除面板文本",isSinglePage:"在一个页面上展示所有元素",tabs:{general:"通用项",navigation:"导航",question:"问题",completedHtml:"完成后的Html",loadingHtml:"加载中的Html",timer:"问卷计时器",trigger:"触发器",fileOptions:"选项",html:"HTML 编辑器",columns:"设置列",rows:"设置行",choices:"设置选项",visibleIf:"设置可见条件",enableIf:"Enable If",rateValues:"设置评分值",choicesByUrl:"通过 URL 导入选项",matrixChoices:"默认选项",multipleTextItems:"文本输入",validators:"校验规则"},editProperty:"编辑属性: '{0}'",items:"[ 项目数量: {0} ]",enterNewValue:"请设定值",noquestions:"问卷中还没有创建任何问题",createtrigger:"请创建触发器",triggerOn:"当 ",triggerMakePagesVisible:"使页面可见:",triggerMakeQuestionsVisible:"使问题可见:",triggerCompleteText:"如果满足条件,则完成问卷",triggerNotSet:"触发器尚未设置",triggerRunIf:"满足下列条件时执行",triggerSetToName:"修改下列问题值: ",triggerSetValue:"修改为: ",triggerIsVariable:"在问卷提交结果中不要包含该变量"},op:{empty:"为空",notempty:"不为空",equal:"等于",notequal:"不等于",contains:"包含",notcontains:"不包含",greater:"大于",less:"小于",greaterorequal:"大于等于",lessorequal:"小于等于"},ew:{angular:"使用 Angular 时",jquery:"使用 JQuery 时",knockout:"使用 Knockout 时",react:"使用 React 时",vue:"使用 Vue 时",bootstrap:"使用 Bootstrap 时",standard:"不使用 Bootstrap 时",showOnPage:"嵌入页面显示",showInWindow:"使用单独的问卷窗口",loadFromServer:"从服务器加载问卷 JSON 数据",titleScript:"脚本和样式",titleHtml:"HTML",titleJavaScript:"JavaScript"},validators:{answercountvalidator:"数量检查",emailvalidator:"Email",numericvalidator:"数字",regexvalidator:"正则表达式",textvalidator:"文本"},triggers:{completetrigger:"完成问卷",setvaluetrigger:"设置问题值",visibletrigger:"修改可见性"},p:{commentText:"备注文本",choices:"选项",choicesByUrl:"Url选项",choicesOrder:"选项排序",colCount:"列数",correctAnswer:"正确答案",defaultVaule:"默认选项",description:"说明",enableIf:"允许判断",hasComment:"hasComment",hasOther:"允许其他答案",otherText:"其他答案文本",page:"所在页面",readOnly:"只读",indent:"缩进",isRequired:"必选",requiredErrorText:"requiredErrorText",otherErrorText:"requiredErrorText",startWithNewLine:"允许问题在新行",showTitle:"显示/隐藏 标题",locale:"默认语言",mode:"模式 (编辑/只读)",clearInvisibleValues:"清除隐藏值",cookieName:"Cookie name (to disable run survey two times locally)",sendResultOnPageNext:"Send survey results on page next",storeOthersAsComment:"Store 'others' value in separate field",showPageTitles:"显示页面标题",showPageNumbers:"显示页数",pagePrevText:"前一页按钮文本",pageNextText:"后一页按钮文本",completeText:"完成按钮文本",startSurveyText:"开始按钮文本",showNavigationButtons:"显示导航按钮 (默认导航)",showPrevButton:"显示前一页按钮 (用户可返回至前一页面)",firstPageIsStarted:"调查的第一页面为起始页.",showCompletedPage:"结尾展示完成后的页面 (completedHtml)",goNextPageAutomatic:"回答本页所有问题后,自动跳转到下一页",showProgressBar:"显示进度条",questionTitleLocation:"问题的标题位置",requiredText:"The question required symbol(s)",questionStartIndex:"问题起始标志 (1, 2 or 'A', 'a')",showQuestionNumbers:"显示问题编号",questionTitleTemplate:"问题标题模板, 默认为: '{no}. {require} {title}'",questionErrorLocation:"问题错误定位",focusFirstQuestionAutomatic:"改变页面时聚焦在第一个问题",questionsOrder:"页面中元素的顺序",maxTimeToFinish:"完成调查的最长时间",maxTimeToFinishPage:"完成调查中页面的最长时间",showTimerPanel:"显示计时器面板",showTimerPanelMode:"显示计时器面板模式",renderMode:"渲染模式",allowAddPanel:"允许添加面板",allowRemovePanel:"允许删除面板",panelAddText:"添加面板文本",panelRemoveText:"删除面板文本",isSinglePage:"在一个页面上展示所有元素",name:"名字",title:{name:"标题",title:"如果与名字相同,请设置为空值"},survey_title:{name:"标题",title:"问卷标题在每页上都会显示"},page_title:{name:"标题",title:"页面标题"}}};r.a.locales["zh-cn"]=n},function(e,t,o){"use strict";var r=o(0),n={survey:{edit:"Editar",dropQuestion:"Por favor coloque una pregunta aquí de la caja de herramientas en la izquierda.",copy:"Copiar",addToToolbox:"Añadir a la caja de herramientas",deletePanel:"Eliminar Panel",deleteQuestion:"Borrar Pregunta",convertTo:"Convertir a",drag:"Arrastrar Elemento"},qt:{default:"Predefinido",checkbox:"Checkbox",comment:"Comentario",dropdown:"Dropdown",file:"Archivo",html:"Html",matrix:"Matriz (elección única)",matrixdropdown:"Matriz (elección múltiple)",matrixdynamic:"Matriz (filas dinámicas)",multipletext:"Texto múltiple",panel:"Panel",paneldynamic:"Panel (paneles dinámicos)",radiogroup:"Grupo de radio",rating:"Rating",text:"Entrada sencilla",boolean:"Booleano",expression:"Expresión"},ed:{survey:"Encuesta",settings:"Ajustar Encuesta",editSurvey:"Editar Encuesta",addNewPage:"Añadir Nueva Página",moveRight:"Moverse hacia la derecha",moveLeft:"Moverse hacia la izquierda",deletePage:"Borrar Página",editPage:"Editar Página",edit:"Editar",newPageName:"página",newQuestionName:"pregunta",newPanelName:"panel",testSurvey:"Probar Encuesta",testSurveyAgain:"Probar Encuesta Otra Vez",testSurveyWidth:"Ancho de Encuesta: ",embedSurvey:"Empotrar Encuesta",saveSurvey:"Guardar Encuesta",designer:"Diseñador de Encuesta",jsonEditor:"Editor de JSON",undo:"Deshacer",redo:"Rehacer",options:"Opciones",generateValidJSON:"Generar JSON válido",generateReadableJSON:"Generar JSON legible",toolbox:"Caja de herramientas",toolboxGeneralCategory:"Categoría General",delSelObject:"Borrar objeto seleccionado",editSelObject:"Editar objeto seleccionado",correctJSON:"Por favor corrija JSON.",surveyResults:"Resultado de Encuesta: ",modified:"Modificado",saving:"Salvando",saved:"Salvado"},pel:{isRequired:"Requerido?"},pe:{apply:"Aplicar",ok:"OK",cancel:"Cancelar",reset:"Restaurar",close:"Cerrar",delete:"Borrar",addNew:"Añadir nuevo",addItem:"Click para añadir articulo...",removeAll:"Quitar todos",edit:"Editar",itemValueEdit:"Visible Si",editChoices:"Editar Opciones",move:"Mover",empty:"<vacío>",notEmpty:"<editar valor>",fastEntry:"Entrada rápida",formEntry:"Entrar en forma",testService:"Pruebe el servicio",conditionSelectQuestion:"Seleccionar pregunta...",conditionValueQuestionTitle:"Porfavor selecciona el valor",conditionButtonAdd:"Añadir",conditionButtonReplace:"Reemplazar",conditionHelp:"Por favor proporcione una expresión booleana. Debería regresar verdadero para mantener la pregunta/página visible. Por ejemplo: {pregunta1} = 'valor1' or ({pregunta2} * {pregunta4}  > 20 and {pregunta3} < 5)",expressionHelp:"Por favor proporcione una expresión. Puede hacer uso de llaves para tener acceso a los valores de la pregunta: '{pregunta1} + {pregunta2}', '({precio}*{cantidad}) * (100 - {descuento})'",aceEditorHelp:"Presione ctrl+espacio para obtener un indicio de completado de expresión",aceEditorRowTitle:"Fila actual",aceEditorPanelTitle:"Panel actual",showMore:"Por favor use la documentación para más detalles",conditionShowMoreUrl:"https://surveyjs.io/Documentation/LibraryParameter?id=Question&parameter=visibleIf",assistantTitle:"Preguntas disponibles:",cellsEmptyRowsColumns:"Debe haber al menos una columna o fila",propertyIsEmpty:"Por favor proporcione un valor",value:"Valor",text:"Texto",columnEdit:"Editar columna: {0}",itemEdit:"Editar artículo: {0}",url:"URL",path:"trayecto",valueName:"Nombre del valor",titleName:"Título",hasOther:"Tiene otro artículo",otherText:"Texto de otro artículo",name:"Nombre",title:"Título",cellType:"Tipo de celda",colCount:"Conteo de columnas",choicesOrder:"Orden de selección de elecciones",visible:"Es visible?",isRequired:"Es requerido?",startWithNewLine:"Es inicio con nueva línea?",rows:"Conteo de filas",placeHolder:"Marcador de entrada",showPreview:"Se muestra avance de imagen?",storeDataAsText:"Guardar contenido de archivo en resultado JSON como texto",maxSize:"Tamaño máximo de archivo en bytes",imageHeight:"Altura de imagen",imageWidth:"Ancho de imagen",rowCount:"Conteo de filas",columnsLocation:"Columns location",addRowLocation:"Agregar ubicación de botón de fila",addRowText:"Añadir texto de boton de fila",removeRowText:"Quitar texto de boton de fila",minRateDescription:"Descripción de la tasa mínima",maxRateDescription:"Descripción de la tarifa máxima",inputType:"Tipo de entrada",optionsCaption:"Leyenda de opciones",defaultValue:"Valor de defecto",cellsDefaultRow:"Textos de celdas por defecto",surveyEditorTitle:"Editar ajustes de encuesta",qEditorTitle:"Editar: {0}",showTitle:"Mostrar/esconder título",locale:"Lenguaje de defecto",mode:"Modo (editar/solo lectura)",clearInvisibleValues:"Borrar valores invisibles",cookieName:"Nombre de Cookie (para deshabilitar corra encuesta dos veces localmente)",sendResultOnPageNext:"Mandar resultados de encuesta en página siguiente",storeOthersAsComment:"Guardar valor 'otros' en campo separado",showPageTitles:"Mostrar títulos de página",showPageNumbers:"Mostrar números de página",pagePrevText:"Texto de botón de página previa",pageNextText:"Texto de botón de página próxima",completeText:"Texto de botón de completado",startSurveyText:"Texto de botón de inicio",showNavigationButtons:"Mostrar botones de navigación (navegación de defecto)",showPrevButton:"Mostrar botón previo (el usuario puede regresar en página previa)",firstPageIsStarted:"La primera página en la encuesta es una página iniciada.",showCompletedPage:"Mostrar la página completada al final (completedHtml)",goNextPageAutomatic:"Al contestar todas las preguntas, ir a la próxima página automáticamente",showProgressBar:"Mostrar barra de progreso",questionTitleLocation:"Localización de título de pregunta",requiredText:"La pregunta requiere de símbolo(s)",questionStartIndex:"Índice de inicio de pregunta (1, 2 o 'A', 'a')",showQuestionNumbers:"Mostrar números de preguntas",questionTitleTemplate:"Plantilla de título de pregunta, defecto es: '{no}. {require} {title}'",questionErrorLocation:"Error en ubucación de la pregunta",focusFirstQuestionAutomatic:"Foco en primera pregunta al cambiar la página",questionsOrder:"Órden de elementos en la página",maxTimeToFinish:"Tiempo máximo para finalizar la encuesta",maxTimeToFinishPage:"Tiempo máximo para finalizar una página en la encuesta",showTimerPanel:"Mostrar panel de temporizador",showTimerPanelMode:"Modo de muestra de panel de temporizador",renderMode:"Modo de interpretador",allowAddPanel:"Permitir adición de un panel",allowRemovePanel:"Permitir remoción del panel",panelAddText:"Añadiendo texto de panel",panelRemoveText:"Quitando texto de panel",isSinglePage:"Mostrar todos los elementos en una página",tabs:{general:"General",fileOptions:"Opciones",html:"Editor Html",columns:"Columnas",rows:"Filas",choices:"Opciones",items:"Elementos",visibleIf:"Visible Si",enableIf:"Habilitar Si",rateValues:"Valores de tasa",choicesByUrl:"Opciones de la Web",matrixChoices:"Opciones de defecto",multipleTextItems:"Entradas de texto",validators:"Validadores",navigation:"Navegación",question:"Pregunta",completedHtml:"Html Completado",loadingHtml:"Cargando Html",timer:"Temporizador/Quiz",triggers:"Disparadores",templateTitle:"Título de plantilla"},editProperty:"Editar propiedad '{0}'",items:"[ Items: {0} ]",enterNewValue:"Por favor, proporcione el valor.",noquestions:"No hay ni una pregunta en la encuesta.",createtrigger:"Por favor cree un disparador",triggerOn:"En ",triggerMakePagesVisible:"Hacer páginas visibles:",triggerMakeQuestionsVisible:"Hacer elementos visibles:",triggerCompleteText:"Complete la encuesta en caso de éxito.",triggerNotSet:"El disparador no está configurado",triggerRunIf:"Correr si",triggerSetToName:"Cambiar valor de: ",triggerSetValue:"a: ",triggerIsVariable:"No poner la variable en el resultado de la encuesta."},pv:{true:"verdadero",false:"falso",inherit:"heredar",show:"mostrar",hide:"ocultar",default:"predefinido",initial:"inicial",random:"aleatorio",collapsed:"colapsado",expanded:"expandido",none:"ninguna",asc:"ascendente",desc:"descendente",indeterminate:"indeterminado",decimal:"decimal",currency:"moneda",percent:"por ciento",firstExpanded:"primeroExpandido",off:"apagado",onPanel:"onPanel",onSurvey:"onSurvey",list:"lista",progressTop:"progresoArriba",progressBottom:"progresoAbajo",progressTopBottom:"progresoArribaAbajo",horizontal:"horizontal",vertical:"vertical",top:"arriba",bottom:"abajo",topBottom:"arriba y abajo",left:"izquierda",color:"color",date:"fecha",datetime:"fecha y hora","datetime-local":"fechaHora-local",email:"correo electrónico",month:"mes",number:"número",password:"contraseña",range:"rango",tel:"teléfono",text:"texto",time:"tiempo",url:"url",week:"semana",hidden:"oculto",on:"encendido",onPage:"onPage",edit:"editar",display:"mostrar",onComplete:"Cuando se complete",onHidden:"Cuando se oculte",all:"todo",page:"página",survey:"encuesta",onNextPage:"Cuando se cambie de página",onValueChanged:"Cuando el valor cambie"},op:{empty:"es vacío",notempty:"no es vacío",equal:"igual a",notequal:"no igual a",contains:"contiene",notcontains:"no contiene",greater:"mayor",less:"menor",greaterorequal:"mayor o igual a",lessorequal:"menor or igual a"},ew:{angular:"Use versión Angular",jquery:"Use versión jQuery",knockout:"Use versión Knockout",react:"Use versión React",vue:"Use versión Vue",bootstrap:"Para entorno bootstrap",standard:"No bootstrap",showOnPage:"Mostrar encuesta en una página",showInWindow:"Mostrar encuesta en una ventana",loadFromServer:"Cargar JSON de encuesta del servidor",titleScript:"Scripts y estilos",titleHtml:"HTML",titleJavaScript:"JavaScript"},ts:{selectPage:"Seleccione la página para probarla:"},validators:{answercountvalidator:"cuenta de respuestas",emailvalidator:"e-mail",expressionvalidator:"expresión",numericvalidator:"numerico",regexvalidator:"regex",textvalidator:"texto"},triggers:{completetrigger:"encuesta completa",setvaluetrigger:"valor ajustado",visibletrigger:"cambio de visibilidad"},p:{name:"nombre",title:{name:"título",title:"Dejarlo vacío, si es igual que 'Nombre'"},page_title:{name:"título",title:"Título de página"},navigationButtonsVisibility:"Visibilidad de botones de navegación",questionsOrder:"Orden de las preguntas",maxTimeToFinish:"Tiempo máximo para terminar",visible:"Visible",visibleIf:"Visible Si",questionTitleLocation:"preguntaTituloLocacion",description:"Descripción",state:"Estado",isRequired:"Es Requerido",indent:"Indentar",requiredErrorText:"Texto del error",startWithNewLine:"Comenzar con una nueva línea",innerIndent:"Identación interna",page:"Página",width:"Ancho",commentText:"Texto del Comentario",valueName:"Nombre del valor",enableIf:"Habilitado Si",defaultValue:"Valor por defecto",correctAnswer:"Respuesta correcta",readOnly:"Solo Lectura",validators:"Validadores",titleLocation:"Titulo de la ubicación",hasComment:"Tiene Comentario",hasOther:"Tiene Otro",choices:"Elecciones",choicesOrder:"Orden de las opciones",choicesByUrl:"Opciones por URL",otherText:"Otro Texto",otherErrorText:"Texto del error para otro",storeOthersAsComment:"Guardar otros como comentario",label:"Etiqueta",showTitle:"Mostrar Título",valueTrue:"Valor Verdadero",valueFalse:"Valor Falso",cols:"Columnas",rows:"Filas",placeHolder:"Marcador de entrada",optionsCaption:"Opciones de Título",expression:"Expresión",format:"Formato",displayStyle:"Estilo de visualización",currency:"Moneda",useGrouping:"Usar agrupación",showPreview:"Mostrar vista previa",allowMultiple:"Permitir múltiples",imageHeight:"Altura de la imagen",imageWidth:"Ancho de la imagen",storeDataAsText:"Almacenar datos como texto",maxSize:"Tamaño máximo",html:"html",columns:"columnas",cells:"celdas",isAllRowRequired:"Se requieren todas las filas",horizontalScroll:"Desplazamiento horizontal",cellType:"Tipo de celda",columnsLocation:"Columnas de Locación",columnColCount:"Conteo de columna",columnMinWidth:"Ancho mínimo de columna",rowCount:"Conteo de fila",minRowCount:"Conteo mínima de fila",maxRowCount:"Conteo máxima de fila",keyName:"Nombre clave",keyDuplicationError:"Mensaje de error para clave de duplicada",confirmDelete:"Confirmación de eliminación",confirmDeleteText:"Texto de la confirmación para eliminación",addRowLocation:"Agrega fila de ubicación",addRowText:"Agregar texto de la fila",removeRowText:"Quitar texto de la fila",items:"ítems",itemSize:"Tamaño del ítem",colCount:"Conteo de columnas",templateTitle:"Título de la plantilla",templateDescription:"Descripción de la platilla",allowAddPanel:"Permitir agregar panel",allowRemovePanel:"Permitir eliminar panel",panelCount:"Conteo de panel",minPanelCount:"Conteo mínimo de panel",maxPanelCount:"Conteo máximo de panel",panelsState:"Paneles de Estado",panelAddText:"Agregar texto al panel",panelRemoveText:"Eliminar texto al panel",panelPrevText:"Texto anterior del panel",panelNextText:"Texto siguiente del panel",showQuestionNumbers:"Nostrar números de pregunta",showRangeInProgress:"Mostrar el rango de progreso",renderMode:"Modo renderizado",templateTitleLocation:"Plantilla del Título Ubicación",rateValues:"Valores de tarifa",rateMin:"Tarifa mínima",rateMax:"Tarifa máxima",rateStep:"Pasos de tarifa",minRateDescription:"Descripción mínima de tarifa",maxRateDescription:"Descripción máxima de tarifa",inputType:"Tipo de entrada",size:"Tamaño",locale:"Lugar",focusFirstQuestionAutomatic:"Enfocar primera pregunta automática",completedHtml:"HTML Completado",completedBeforeHtml:"Completado antes de HTML",loadingHtml:"Cargando HTML",triggers:"Disparadores",cookieName:"Nombre de la cookie",sendResultOnPageNext:"Enviar resultado a la página siguiente",showNavigationButtons:"Mostrar botones de navegación",showPrevButton:"Mostrar botón anterior",showPageTitles:"Mostrar Títulos de la página",showCompletedPage:"Mostrar página completada",showPageNumbers:"Mostrar los números de página",questionErrorLocation:"Pregunta error ubicación",showProgressBar:"Mostrar barra de progreso",mode:"Modo",goNextPageAutomatic:"Ir a la siguiente página automática",checkErrorsMode:"Verifica el modo de errores",clearInvisibleValues:"Limpiar en valores visibles",startSurveyText:"Comenzar el texto de la encuesta",pagePrevText:"Texto anterior de la página",pageNextText:"Texto siguiente de la página",completeText:"Texto completado de la página",requiredText:"Texto requerido",questionStartIndex:"Índice de inicio de pregunta",questionTitleTemplate:"Título platilla de la pregunta",firstPageIsStarted:"Se inicia la primera página",isSinglePage:"Es una sola página",maxTimeToFinishPage:"Tiempo máximo para terminar la página",showTimerPanel:"Mostrar tiempo del panel",showTimerPanelMode:"Mostrar tiempo del modo panel",text:"texto",minValue:"Valor mínimo",maxValue:"Valor máximo",minLength:"Largo mínimo",maxLength:"Largo máximo",allowDigits:"Permitir dígitos",minCount:"Conteo mínimo",maxCount:"Conteo máximo",regex:"Expresión regular"}};r.a.locales.es=n},function(e,t,o){"use strict";var r=o(0),n={survey:{edit:"編輯",dropQuestion:"請將問題放置於此",copy:"複製",addToToolbox:"添加到工具箱",deletePanel:"刪除面板",deleteQuestion:"刪除題目",convertTo:"轉變為"},qt:{checkbox:"多項選擇",comment:"多行文本框",dropdown:"下拉框",file:"文件上傳",html:"Html 代碼",matrix:"矩陣 (單選題)",matrixdropdown:"矩陣 (下拉框)",matrixdynamic:"矩陣 (動態問題)",multipletext:"文本框組",panel:"面板",paneldynamic:"面板(動態)",radiogroup:"單項選擇",rating:"評分",text:"文本框",boolean:"布林選項",expression:"表達式"},ed:{survey:"調查問捲",editSurvey:"修改",addNewPage:"添加新頁面",deletePage:"刪除頁面",editPage:"編輯頁面",newPageName:"頁面",newQuestionName:"問題",newPanelName:"面板",testSurvey:"測試問捲",testSurveyAgain:"再次測試問捲",testSurveyWidth:"問捲寬度: ",embedSurvey:"將問捲嵌入網頁",saveSurvey:"保存問捲",designer:"問捲設計器",jsonEditor:"JSON 編輯器",undo:"還原",redo:"重做",options:"選項",generateValidJSON:"生成 JSON",generateReadableJSON:"生成易讀的 JSON",toolbox:"工具箱",delSelObject:"刪除所選對象",editSelObject:"編輯所選對象",correctJSON:"修正 JSON",surveyResults:"問卷結果: ",modified:"已修改",saving:"保存中...",saved:"已保存"},pel:{isRequired:"是否為必填項?"},pe:{apply:"應用",ok:"確定",cancel:"取消",reset:"重置",close:"關閉",delete:"刪除",addNew:"新建",removeAll:"全部刪除",edit:"編輯器",empty:"<空>",fastEntry:"快速輸入",formEntry:"表單輸入",testService:"測試服務",showMore:"更多細節...",conditionHelp:"請輸入一個布林表達式。當布林值為真,問題/頁面可見。例如:{question1} = 'value1' or ({question2} * {question4}  > 20 and {question3} < 5)",expressionHelp:"請輸入一項條件判斷。當條件判斷為真時問題/頁面將可見。例如: {question1} = 'value1' or ({question2} = 3 and {question3} < 5)",propertyIsEmpty:"請為該屬性設定一個值",value:"值",text:"顯示文本",columnEdit:"編輯列: {0}",itemEdit:"編輯選項: {0}",hasOther:"可添加其他答案?",otherText:"其他答案文本",url:"URL",path:"Path",valueName:"Value name",titleName:"Title name",name:"題目名",title:"題目文本",cellType:"單元格類型",colCount:"列數",choicesOrder:"設置選項順序",visible:"是否可見?",isRequired:"是否為必填項?",startWithNewLine:"問題是否新起一行?",rows:"文本框行數",placeHolder:"占位文本",showPreview:"是否顯示圖像預覽?",storeDataAsText:"以 JSON 文本方式存儲文件",maxSize:"文件最大尺寸 (Bytes)",imageHeight:"圖片高度",imageWidth:"圖片寬度",rowCount:"默認行數",addRowText:"添加條目按鈕文本",removeRowText:"刪除條目按鈕文本",minRateDescription:"最小值提示",maxRateDescription:"最大值提示",inputType:"文本框類型",optionsCaption:"下拉框提示語",qEditorTitle:"編輯問題: {0}",showTitle:"顯示/隱藏 標題",locale:"默認語言",mode:"模式 (編輯/只讀)",clearInvisibleValues:"清除隱藏值",cookieName:"Cookie name (to disable run survey two times locally)",sendResultOnPageNext:"Send survey results on page next",storeOthersAsComment:"Store 'others' value in separate field",showPageTitles:"顯示頁面標題",showPageNumbers:"顯示頁數",pagePrevText:"前一頁按鈕文本",pageNextText:"後一頁按鈕文本",completeText:"完成按鈕文本",startSurveyText:"開始按鈕文本",showNavigationButtons:"顯示導航按鈕 (默認導航)",showPrevButton:"顯示前一頁按鈕 (用戶可返回至前一頁面)",firstPageIsStarted:"調查的第一頁面為起始頁.",showCompletedPage:"結尾展示完成後的頁面 (completedHtml)",goNextPageAutomatic:"回答本頁所有問題後,自動跳轉到下一頁",showProgressBar:"顯示進度條",questionTitleLocation:"問題的標題位置",requiredText:"The question required symbol(s)",questionStartIndex:"問題起始標誌 (1, 2 or 'A', 'a')",showQuestionNumbers:"顯示問題編號",questionTitleTemplate:"問題標題模板, 默認為: '{no}. {require} {title}'",questionErrorLocation:"問題錯誤定位",focusFirstQuestionAutomatic:"改變頁面時聚焦在第一個問題",questionsOrder:"Elements order on the page",maxTimeToFinish:"完成調查的最長時間",maxTimeToFinishPage:"完成調查中頁面的最長時間",showTimerPanel:"顯示計時器面板",showTimerPanelMode:"顯示計時器面板模式",renderMode:"渲染模式",allowAddPanel:"允許添加面板",allowRemovePanel:"允許刪除面板",panelAddText:"添加面板文本",panelRemoveText:"刪除面板文本",isSinglePage:"在一個頁面上展示所有元素",tabs:{general:"通用項",navigation:"導航",question:"問題",completedHtml:"完成後的Html",loadingHtml:"加載中的Html",timer:"問捲計時器",trigger:"觸發器",fileOptions:"選項",html:"HTML 編輯器",columns:"設置列",rows:"設置行",choices:"設置選項",visibleIf:"設置可見條件",enableIf:"Enable If",rateValues:"設置評分值",choicesByUrl:"通過 URL 導入選項",matrixChoices:"默認選項",multipleTextItems:"文本輸入",validators:"校驗規則"},editProperty:"編輯屬性: '{0}'",items:"[ 項目數量: {0} ]",enterNewValue:"請設定值",noquestions:"問捲中還沒有創建任何問題",createtrigger:"請創建觸發器",triggerOn:"當 ",triggerMakePagesVisible:"使頁面可見:",triggerMakeQuestionsVisible:"使問題可見:",triggerCompleteText:"如果滿足條件,則完成問捲",triggerNotSet:"觸發器尚未設置",triggerRunIf:"滿足下列條件時執行",triggerSetToName:"修改下列問題值: ",triggerSetValue:"修改為: ",triggerIsVariable:"在問捲提交結果中不要包含該變量"},op:{empty:"為空",notempty:"不為空",equal:"等於",notequal:"不等於",contains:"包含",notcontains:"不包含",greater:"大於",less:"小於",greaterorequal:"大於等於",lessorequal:"小於等於"},ew:{angular:"使用 Angular 時",jquery:"使用 JQuery 時",knockout:"使用 Knockout 時",react:"使用 React 時",vue:"使用 Vue 時",bootstrap:"使用 Bootstrap 時",standard:"不使用 Bootstrap 時",showOnPage:"嵌入頁面顯示",showInWindow:"使用單獨的問捲視窗",loadFromServer:"從服務器加載問捲 JSON 數據",titleScript:"腳本和樣式",titleHtml:"HTML",titleJavaScript:"JavaScript"},validators:{answercountvalidator:"數量檢查",emailvalidator:"Email",numericvalidator:"數字",regexvalidator:"正則表達式",textvalidator:"文本"},triggers:{completetrigger:"完成問捲",setvaluetrigger:"設置問題值",visibletrigger:"修改可見性"},p:{commentText:"備註文本",choices:"選項",choicesByUrl:"Url選項",choicesOrder:"選項排序",colCount:"列數",correctAnswer:"正確答案",defaultVaule:"預設選項",description:"說明",enableIf:"允許判斷",hasComment:"hasComment",hasOther:"允許其他答案",otherText:"其他答案文本",page:"所在頁面",readOnly:"只讀",indent:"縮排",isRequired:"必填",requiredErrorText:"requiredErrorText",otherErrorText:"requiredErrorText",startWithNewLine:"允許問題在新行",showTitle:"顯示/隱藏 標題",locale:"默認語言",mode:"模式 (編輯/只讀)",clearInvisibleValues:"清除隱藏值",cookieName:"Cookie name (to disable run survey two times locally)",sendResultOnPageNext:"Send survey results on page next",storeOthersAsComment:"Store 'others' value in separate field",showPageTitles:"顯示頁面標題",showPageNumbers:"顯示頁數",pagePrevText:"前一頁按鈕文本",pageNextText:"後一頁按鈕文本",completeText:"完成按鈕文本",startSurveyText:"開始按鈕文本",showNavigationButtons:"顯示導航按鈕 (默認導航)",showPrevButton:"顯示前一頁按鈕 (用戶可返回至前一頁面)",firstPageIsStarted:"調查的第一頁面為起始頁.",showCompletedPage:"結尾展示完成後的頁面 (completedHtml)",goNextPageAutomatic:"回答本頁所有問題後,自動跳轉到下一頁",showProgressBar:"顯示進度條",questionTitleLocation:"問題的標題位置",requiredText:"The question required symbol(s)",questionStartIndex:"問題起始標志 (1, 2 or 'A', 'a')",showQuestionNumbers:"顯示問題編號",questionTitleTemplate:"問題標題模板, 默認為: '{no}. {require} {title}'",questionErrorLocation:"問題錯誤定位",focusFirstQuestionAutomatic:"改變頁面時聚焦在第一個問題",questionsOrder:"頁面中元素的順序",maxTimeToFinish:"完成調查的最長時間",maxTimeToFinishPage:"完成調查中頁面的最長時間",showTimerPanel:"顯示計時器面板",showTimerPanelMode:"顯示計時器面板模式",renderMode:"渲染模式",allowAddPanel:"允許添加面板",allowRemovePanel:"允許刪除面板",panelAddText:"添加面板文本",panelRemoveText:"刪除面板文本",isSinglePage:"在一個頁面上展示所有元素",name:"名字",title:{name:"標題",title:"如果與名字相同,請設置為空值"},survey_title:{name:"標題",title:"問捲標題在每頁上都會顯示"},page_title:{name:"標題",title:"頁面標題"}}};r.a.locales["zh-tw"]=n},function(e,t,o){"use strict";var r=o(3),n=o(2);o.n(n);o.d(t,"a",function(){return s});var i=function(e){function t(t,o){var r=e.call(this)||this;return r.baseUrl=t,r.accessKey=o,r}return r.a(t,e),t.prototype.getActiveSurveys=function(e){var t=new XMLHttpRequest;t.open("GET",this.baseUrl+"/getActive?accessKey="+this.accessKey),t.setRequestHeader("Content-Type","application/x-www-form-urlencoded"),t.onload=function(){var o=t.response?JSON.parse(t.response):null;e(200==t.status,o,t.response)},t.send()},t.prototype.createSurvey=function(e,t){var o=new XMLHttpRequest;o.open("GET",this.baseUrl+"/create?accessKey="+this.accessKey+"&name="+e),o.setRequestHeader("Content-Type","application/x-www-form-urlencoded"),o.onload=function(){var e=o.response?JSON.parse(o.response):null;t(200==o.status,e,o.response)},o.send()},t.prototype.saveSurvey=function(e,t,o){var r=new XMLHttpRequest;r.open("POST",this.baseUrl+"/changeJson?accessKey="+this.accessKey),r.setRequestHeader("Content-Type","application/json;charset=UTF-8"),r.onload=function(){var e=r.response?JSON.parse(r.response):null;!!o&&o(200==r.status,e,r.response)},r.send(JSON.stringify({Id:e,Json:t,Text:t}))},t.prototype.updateSurveyName=function(e,t,o){var r=new XMLHttpRequest;r.open("GET",this.baseUrl+"/changeName/"+e+"?accessKey="+this.accessKey+"&name="+t),r.setRequestHeader("Content-Type","application/x-www-form-urlencoded"),r.onload=function(){var e=r.response?JSON.parse(r.response):null;!!o&&o(200==r.status,e,r.response)},r.send()},t}(n.dxSurveyService),a=function(){function e(e,t,o,r,n){void 0===e&&(e=ko.observable("")),void 0===t&&(t=new Date(Date.now()).toDateString()),void 0===o&&(o=""),void 0===r&&(r=""),void 0===n&&(n=""),this.name=e,this.createdAt=t,this.id=o,this.resultId=r,this.postId=n}return e}(),s=function(){function e(t,o,r){var n=this;this.baseUrl=t,this.accessKey=o,this.editor=r,this.isEditMode=ko.observable(!1),this.surveyId=ko.observable(),this.surveys=ko.observableArray(),this.currentSurvey=ko.observable(),this.currentSurveyName=ko.observable(""),this.isLoading=ko.observable(!1),this.nameEditorKeypress=function(e,t){13===t.keyCode?n.edit(e,t):27===t.keyCode&&n.isEditMode(!1)};var a=window.location.hash;if(0===a.indexOf("#")&&this.surveyId(a.slice(1)),this.api=new i(t+e.serviceUrlPath,o),r.isAutoSave=!0,r.showState=!0,r.saveSurveyFunc=function(e,t){r.surveyId||n.surveyId()||n.addHandler(function(o){return t(e,o)}),(r.surveyId||n.surveyId())&&n.api.saveSurvey(r.surveyId||n.surveyId(),r.text,function(o){return t(e,o)})},this.surveys(this.getSurveys()),this.surveyId()){var s=this.surveys().filter(function(e){return e.id===n.surveyId()})[0];s?(this.currentSurvey(s),this.surveyId(void 0)):r.loadSurvey(this.surveyId())}else this.currentSurvey(this.surveys()[0]);var l=function(e){if(e){if(n.surveyId(void 0),window.location.hash="#"+e.id,r.surveyId===e.id)return;r.loadSurvey(e.id),r.surveyId=e.id,r.surveyPostId=e.postId}else n.surveyId()||(r.surveyId="",r.surveyPostId="",window.location.hash="",r.text="")};this.currentSurvey.subscribe(l),l(this.currentSurvey());var d=ko.observable(!1);ko.computed(function(){var e=n.currentSurvey();d(!1),e&&n.api.updateSurveyName(e.id,e.name.peek(),function(e){d(e)})}),this.toolbarItem={id:"svd-attach-survey",template:"attach-survey",visible:d,action:ko.computed(function(){return"https://dxsurvey.com/Home/AttachSurvey/"+(n.currentSurvey()&&n.currentSurvey().id)}),css:"link-to-attach",innerCss:"icon-cloud",title:"Attach survey to your SurveyJS service account..."}}return e.prototype.getSurveys=function(){return JSON.parse(window.localStorage.getItem(e.StorageKey)||"[]").map(function(e){return new a(ko.observable(e.name),e.createdAt,e.id,e.resultId,e.postId)})},e.prototype.setSurveys=function(t){window.localStorage.setItem(e.StorageKey,ko.toJSON(t))},e.prototype.edit=function(e,t){var o=this.currentSurvey();o&&(this.isEditMode()?(o.name(this.currentSurveyName()),this.setSurveys(this.surveys()),this.api.updateSurveyName(o.id,o.name()),this.isEditMode(!1)):(this.currentSurveyName(o.name()),this.isEditMode(!0),t.target.parentNode.parentElement.getElementsByTagName("input")[0].focus()))},e.prototype.addHandler=function(e){var t=this;this.isLoading(!0),this.api.createSurvey("NewSurvey",function(o,r,n){var i=new a(ko.observable(r.Name),r.CreatedAt,r.Id,r.ResultId,r.PostId);t.surveys.push(i),t.setSurveys(t.surveys()),t.editor.surveyId=r.Id,t.editor.surveyPostId=r.PostId,t.api.saveSurvey(r.Id,t.editor.text),t.currentSurvey(i),t.isLoading(!1),e&&e(o,r,n)})},e.prototype.add=function(){this.addHandler()},e.prototype.remove=function(){confirm("Do you really want to remove current survey?")&&(this.surveys.remove(this.currentSurvey()),this.setSurveys(this.surveys()),this.currentSurvey(this.surveys()[0]))},Object.defineProperty(e.prototype,"cssEdit",{get:function(){return this.isEditMode()?"icon-saved":"icon-edit"},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"cssAdd",{get:function(){return this.surveyId()?"icon-fork":"icon-new"},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"titleEdit",{get:function(){return this.isEditMode()?"Save survey name":"Edit survey name"},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"titleAdd",{get:function(){return this.surveyId()?"Fork this survey":"Add new survey"},enumerable:!0,configurable:!0}),e.serviceUrlPath="/api/MySurveys",e.StorageKey="mySurveys",e}()},function(e,t,o){"use strict";var r=o(1),n=(o.n(r),o(6)),i=o(0),a=o(134);o.n(a);o.d(t,"a",function(){return s});var s=function(){function e(e,t){var o=this;this.editor=e,this.element=t,this.isNeedAutoScroll=!0,this.isDraggingPage=r.observable(!1),this.prevPagesForSelector=[],this._selectedPage=r.observable(),this.getDisplayText=function(e){return(o.editor.showObjectTitles?e.title:"")||e.name},this.pageSelection=r.computed({read:function(){return o._selectedPage()},write:function(e){e&&"function"==typeof e.getType?o.selectedPage=e:o.editor.pages().length>0&&o.addPage()}}),this.onPageClick=function(e,t){o.isNeedAutoScroll=!1,o.editor.selectPage(e),t.stopPropagation(),o.updateMenuPosition()},this.getPageClass=function(e){var t=e===o.selectedPage?"svd_selected_page svd-light-bg-color":"";return o.editor.pages().indexOf(e)!==o.editor.pages().length-1&&(t+=" svd-border-right-none"),t},this.getPageMenuIconClass=function(e){return e===o.selectedPage&&o.isActive()?"icon-gearactive":"icon-gear"},this.showActions=function(e){return e===o.selectedPage&&o.isActive()},this._readOnly=r.observable(!1),this.pagesSelection=r.computed(function(){return o.isDraggingPage()||(o.prevPagesForSelector=o.editor.pages(),o.readOnly||(o.prevPagesForSelector=o.prevPagesForSelector.concat([{name:o.getLocString("ed.addNewPage")}]))),o.prevPagesForSelector}),this._selectedPage(this.editor.pages()[0]),this.editor.koSelectedObject.subscribe(function(t){if(!o.isActive())return void(e.survey.currentPage&&e.survey.currentPage!=o._selectedPage()&&o._selectedPage(e.survey.currentPage));o._selectedPage(t.value),o.isNeedAutoScroll?o.scrollToSelectedPage():o.isNeedAutoScroll=!0})}return e.prototype.addPage=function(){this.editor.addPage()},e.prototype.copyPage=function(e){this.editor.copyPage(e)},e.prototype.deletePage=function(){this.editor.deletePage()},e.prototype.showPageSettings=function(e){this.editor.showQuestionEditor(e)},Object.defineProperty(e.prototype,"sortableOptions",{get:function(){var e=this;return{onStart:function(t){e.isDraggingPage(!0)},onEnd:function(t){e.isNeedAutoScroll=!1,e.editor.movePage(t.oldIndex,t.newIndex),e.isDraggingPage(!1)},handle:".svd-page-name",animation:150}},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"selectedPage",{get:function(){return this._selectedPage()},set:function(e){this.editor.selectPage(e)},enumerable:!0,configurable:!0}),e.prototype.isLastPage=function(){return 1===this.editor.pages().length},e.prototype.moveLeft=function(e,t){this.element.querySelector(".svd-pages").scrollLeft-=50,this.updateMenuPosition()},e.prototype.moveRight=function(e,t){this.element.querySelector(".svd-pages").scrollLeft+=50,this.updateMenuPosition()},e.prototype.scrollToSelectedPage=function(){var e=this.element.querySelector(".svd-pages");if(e){var t=this.editor.pages().indexOf(this.selectedPage),o=e.children[t];o&&(e.scrollLeft=o.offsetLeft-e.offsetLeft-e.offsetWidth/2,this.updateMenuPosition())}},e.prototype.onWheel=function(e,t){var o=e.element.querySelector(".svd-pages");t=t||window.event,t.originalEvent&&(t=t.originalEvent);var r=t.deltaY||t.detail||t.wheelDelta;o.scrollLeft-=r,t.preventDefault?t.preventDefault():t.returnValue=!1,this.updateMenuPosition()},e.prototype.updateMenuPosition=function(){for(var e=this.element.querySelector(".svd-pages"),t=e.getElementsByClassName("svd-page-actions"),o=0;o<t.length;o++)t[o].style.left=t[o].parentElement.offsetLeft-e.scrollLeft+"px"},e.prototype.getLocString=function(e){return i.a.getString(e)},e.prototype.isActive=function(){var e=this.editor.koSelectedObject();if(e)return n.b.getObjectType(e.value)===n.a.Page},Object.defineProperty(e.prototype,"readOnly",{get:function(){return this.editor.readOnly||this._readOnly()},set:function(e){this._readOnly(e)},enumerable:!0,configurable:!0}),e}();r.components.register("pages-editor",{viewModel:{createViewModel:function(e,t){return new s(e.editor,t.element)}},template:{element:"svd-page-selector-template"}})},function(e,t,o){"use strict";var r=o(3),n=o(1),i=(o.n(n),o(2)),a=(o.n(i),o(7)),s=o(0),l=o(4);o.d(t,"a",function(){return d});var d=function(e){function t(t){var o=e.call(this,t)||this;return o.koRows=n.observableArray(),o.koColumns=n.observableArray(),o.koCanEdit=n.observable(!1),o}return r.a(t,e),t.prototype.getValueText=function(e){var t=e?"notEmpty":"empty";return s.a.getString("pe."+t)},t.prototype.beforeShow=function(){e.prototype.beforeShow.call(this),this.setupCells()},t.prototype.onBeforeApply=function(){if(this.canEdit){var e=new i.QuestionMatrix("");e.setSurveyImpl(this.object.survey),e.rows=this.rows,e.columns=this.columns,e.cells=this.object.cells;for(var t=this.koRows(),o=0;o<t.length;o++)for(var r=t[o],n=r.koCells(),a=0;a<e.columns.length;a++)r.rowIndex<0?e.setDefaultCellText(a,n[a].text()):e.setCellText(t[o].rowIndex,a,n[a].text());e.cells.isEmpty?this.koValue(null):this.koValue(e.cells)}},Object.defineProperty(t.prototype,"editorType",{get:function(){return"cells"},enumerable:!0,configurable:!0}),t.prototype.onValueChanged=function(){this.isShowingModal&&this.setupCells()},Object.defineProperty(t.prototype,"canEdit",{get:function(){return this.rows.length>0&&this.columns.length>0},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"rows",{get:function(){return this.object&&this.object.rows?this.object.rows:[]},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"columns",{get:function(){return this.object&&this.object.columns?this.object.columns:[]},enumerable:!0,configurable:!0}),t.prototype.getCellText=function(e,t){return e<0?this.object.getDefaultCellText(t):this.object.getCellText(e,t)},t.prototype.setupCells=function(){if(this.koRows([]),this.koColumns([]),this.koCanEdit(this.canEdit),this.canEdit){for(var e=[],t=0;t<this.columns.length;t++)e.push(this.columns[t].text);var o=[];o.push(this.createRow(-1,s.a.getString("pe.cellsDefaultRow")));for(var t=0;t<this.rows.length;t++)o.push(this.createRow(t,this.rows[t].text));this.koColumns(e),this.koRows(o)}},t.prototype.createRow=function(e,t){for(var o={rowIndex:e,rowText:t,koCells:n.observableArray()},r=[],i=0;i<this.columns.length;i++)r.push({text:n.observable(this.getCellText(e,i))});return o.koCells(r),o},t}(a.a);l.a.registerEditor("cells",function(e){return new d(e)})},function(e,t,o){"use strict";var r=o(3),n=o(1),i=(o.n(n),o(2)),a=(o.n(i),o(0)),s=o(4),l=o(8),d=o(16),u=o(15),c=o(10),p=o(47);o.d(t,"a",function(){return m});var m=function(e){function t(t){var o=e.call(this,t)||this;o.optionsShowTextView=!0,o.koShowTextView=n.observable(!0);var r=o;return t&&(o.detailDefinition=d.a.definition[o.getItemValueClassName()]),o.koItemsText=n.observable(""),o.koActiveView.subscribe(function(e){"form"==e?r.updateItems(r.koItemsText()):r.koItemsText(r.getItemsText())}),o.changeToTextViewClick=function(){r.koActiveView("text")},o.changeToFormViewClick=function(){r.koActiveView("form")},o.modalName="modelEditoritemvalues"+p.SurveyPropertyModalEditor.idCounter,p.SurveyPropertyModalEditor.idCounter++,o.modalNameTarget="#"+o.modalName,o}return r.a(t,e),Object.defineProperty(t.prototype,"editorType",{get:function(){return"itemvalue[]"},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"editorTypeTemplate",{get:function(){return"itemvalues"},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"hasDetailButton",{get:function(){return!!this.detailDefinition},enumerable:!0,configurable:!0}),t.prototype.getItemValueClassName=function(){return this.property?this.editorType+"@"+this.property.name:""},t.prototype.getEditorName=function(){return this.koEditItem()&&this.koEditItem().item?a.a.getString("pe.itemEdit").format(this.koEditItem().item.value):""},t.prototype.beforeShow=function(){e.prototype.beforeShow.call(this);var t=this.getDefinedProperties();t&&t.length>0&&this.createColumns()},t.prototype.getProperties=function(){var e=this.getDefinedProperties();return e&&e.length>0?e:this.getDefaultProperties()},t.prototype.getDefinedProperties=function(){if(this.property&&this.object&&this.object.getType){var e=d.a.getProperties(this.object.getType()+"@"+this.property.name);if(e&&e.length>0)return this.getPropertiesByNames(this.property.className,e)}return[]},t.prototype.getDefaultProperties=function(){for(var e=i.JsonObject.metaData.getProperties(this.property.className),t=[],o=0;o<e.length;o++)e[o].visible&&t.push(e[o]);return t},t.prototype.createEditorOptions=function(){var t=e.prototype.createEditorOptions.call(this);return t.showTextView=!0,t.itemsEntryType=this.options.options&&this.options.options.itemValuesEditorEntryType||"form",t},t.prototype.onSetEditorOptions=function(t){e.prototype.onSetEditorOptions.call(this,t),this.optionsShowTextView=t.showTextView,this.updateShowTextViewVisibility(),this.koActiveView(t.itemsEntryType||"form")},t.prototype.createNewEditorItem=function(){var e=this,t=null,r=this.koItems().map(function(e){return e.item.itemValue}),n=i.surveyLocalization.getString("choices_Item");t=o.i(l.a)(n,r);var a=this.createEditorItemCore(t);return this.options&&this.options.onItemValueAddedCallback(this.object,this.editablePropertyName,a,r),new h(a,function(){return e.columns},this.options,this.getItemValueClassName())},t.prototype.createEditorItem=function(e){var t=this,o=this.createEditorItemCore(null);return o.setData(e),new h(o,function(){return t.columns},this.options,this.getItemValueClassName())},t.prototype.createEditorItemCore=function(e){var t=i.JsonObject.metaData.createClass(this.property.className);return t.setData(e),this.object&&(t.survey=this.object.survey,t.object=this.object),t.locOwner=this,t},t.prototype.createItemFromEditorItem=function(e){var t=e.item;this.options&&this.options.alwaySaveTextInPropertyEditors||t.text!=t.value||this.isTextLocalized(t)||(t.text=null);var o=i.JsonObject.metaData.createClass(t.getType());return o.setData(t),delete o.survey,delete o.object,o},t.prototype.isTextLocalized=function(e){return Object.keys(e.locText.values).length>1},t.prototype.onValueChanged=function(){e.prototype.onValueChanged.call(this),this.isShowingModal&&"form"!==this.koActiveView()&&this.koItemsText(this.getItemsText()),this.updateShowTextViewVisibility()},t.prototype.onBeforeApply=function(){"form"!==this.koActiveView()&&this.updateItems(this.koItemsText()),e.prototype.onBeforeApply.call(this)},t.prototype.onListDetailViewChanged=function(){e.prototype.onListDetailViewChanged.call(this),this.updateShowTextViewVisibility()},t.prototype.updateItems=function(e){var t=[];if(e)for(var o=this.getProperties(),r=e.split("\n"),n=0;n<r.length;n++)if(r[n]){var a=r[n].split(i.ItemValue.Separator),s=i.JsonObject.metaData.createClass(this.property.className);o.forEach(function(e,t){s[e.name]=a[t]}),t.push(s)}this.koItems(this.getItemsFromValue(t))},t.prototype.getItemsText=function(){return this.koItems().filter(function(e){return!e.cells[0].hasError}).map(function(e){return e.cells.map(function(e){return e.value||""}).join(i.ItemValue.Separator).replace(/\|$/,"")}).join("\n")},t.prototype.updateShowTextViewVisibility=function(){if(this.koShowTextView)return this.optionsShowTextView&&0!=this.columns.length?void this.koShowTextView(this.isValuePropertyVisible()&&!this.hasVisibleIfOrEnableIf()&&!this.hasMultipleLanguage()):void this.koShowTextView(!1)},t.prototype.hasMultipleLanguage=function(){for(var e=this.koItems(),t=0;t<e.length;t++){var o=e[t].item.locText.getJson();if(o&&"string"!=typeof o){var r=Object.keys(o);return r.length>1||"default"!=r[0]}}return!1},t.prototype.isValuePropertyVisible=function(){var e=i.JsonObject.metaData.findProperty("itemvalue","value");return!!e&&e.visible&&!e.readOnly},t.prototype.hasVisibleIfOrEnableIf=function(){for(var e=this.koItems(),t=0;t<e.length;t++)if(e[t].item.visibleIf||e[t].item.enableIf)return!0;return!1},t}(u.a),h=function(e){function t(t,o,r,n){void 0===n&&(n="");var i=e.call(this,t,o,r)||this;return i.item=t,i.className=n,i}return r.a(t,e),t.prototype.createSurveyQuestionEditor=function(){return new c.b(this.item,null,this.className,this.options)},t}(u.b);s.a.registerEditor("itemvalue[]",function(e){return new m(e)},"itemvalue")},function(e,t,o){"use strict";var r=o(3),n=o(2),i=(o.n(n),o(10)),a=o(0),s=o(15),l=o(4);o.d(t,"a",function(){return d}),o.d(t,"b",function(){return u});var d=function(e){function t(t){return e.call(this,t)||this}return r.a(t,e),Object.defineProperty(t.prototype,"editorType",{get:function(){return"matrixdropdowncolumns"},enumerable:!0,configurable:!0}),t.prototype.getEditorName=function(){return this.koEditItem()?a.a.getString("pe.columnEdit").format(this.koEditItem().column.name):""},t.prototype.createNewEditorItem=function(){for(var e=this,t=this.createEditorItemCore(null),o=[],r=0;r<this.koItems().length;r++)o.push(this.koItems()[r].column);return o.push(t),this.options&&this.options.onMatrixDropdownColumnAddedCallback(this.object,t,o),new u(t,function(){return e.columns},this.options)},t.prototype.createEditorItem=function(e){var t=this,o=this.createEditorItemCore(e);return new u(o,function(){return t.columns},this.options)},t.prototype.createItemFromEditorItem=function(e){var t=new n.MatrixDropdownColumn(""),o=(new n.JsonObject).toJsonObject(e.column);return(new n.JsonObject).toObject(o,t),t},t.prototype.createEditorItemCore=function(e){var t=new n.MatrixDropdownColumn("");if(t.object=this.object,t.colOwner=this.object,e){var o=(new n.JsonObject).toJsonObject(e);(new n.JsonObject).toObject(o,t)}return t},t.prototype.getProperties=function(){var e=this.getPropertiesNames("matrixdropdowncolumn",["isRequired","cellType","name","title"]);return this.getPropertiesByNames("matrixdropdowncolumn",e)},t}(s.a),u=function(e){function t(t,o,r){void 0===r&&(r=null);var n=e.call(this,t,o,r)||this;n.column=t;var i=n;return t.registerFunctionOnPropertyValueChanged("cellType",function(){i.resetSurveyQuestionEditor()},"colEdit"),n}return r.a(t,e),t.prototype.createSurveyQuestionEditor=function(){return new i.b(this.column,null,"matrixdropdowncolumn@"+this.column.cellType,this.options)},t}(s.b);l.a.registerEditor("matrixdropdowncolumns",function(e){return new d(e)})},function(e,t,o){"use strict";var r=o(3),n=o(1),i=(o.n(n),o(2)),a=(o.n(i),o(7)),s=o(0),l=o(4);o.d(t,"a",function(){return d});var d=function(e){function t(t){var o=e.call(this,t)||this;return o.items=[],o.koEditingValue=n.observableArray(),o.koItems=n.observableArray(),o.setItems(),o}return r.a(t,e),t.prototype.getValueText=function(e){if(!e)return s.a.getString("pe.empty");Array.isArray(e)||(e=[e]);for(var t="[",o=0;o<e.length;o++)o>0&&(t+=", "),t+=this.getTextByItemValue(e[o]);return t+="]"},t.prototype.setObject=function(t){e.prototype.setObject.call(this,t),this.setItems(),this.setEditingValue()},t.prototype.updateValue=function(){e.prototype.updateValue.call(this),this.setEditingValue()},t.prototype.onBeforeApply=function(){this.koValue([].concat(this.koEditingValue()))},Object.defineProperty(t.prototype,"editorType",{get:function(){return"multiplevalues"},enumerable:!0,configurable:!0}),t.prototype.getBackgroundCls=function(e){return-1===this.koEditingValue().indexOf(""+e)?"svd-light-background-color":"svd-main-background-color"},t.prototype.setItems=function(){i.ItemValue.setData(this.items,this.property.choices),this.koItems(this.items)},t.prototype.getTextByItemValue=function(e){for(var t=0;t<this.items.length;t++)if(this.items[t].value==e)return this.items[t].text;return e},t.prototype.setEditingValue=function(){var e=this.koValue();null!=e&&void 0!=e||(e=[]),Array.isArray(e)||(e=[e]),this.koEditingValue(e)},t}(a.a);l.a.registerEditor("multiplevalues",function(e){return new d(e)})},function(e,t,o){"use strict";var r=o(3),n=o(1),i=(o.n(n),o(2)),a=(o.n(i),o(7)),s=o(0),l=o(4);o.d(t,"a",function(){return d});var d=function(e){function t(t){var o=e.call(this,t)||this;return o.items=[],o.koItems=n.observableArray(),o.createSurvey(),o}return r.a(t,e),Object.defineProperty(t.prototype,"editorType",{get:function(){return"restfull"},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"restfullValue",{get:function(){return this.editingObject?this.editingObject[this.property.name]:this.editingValue?this.editingValue:null},enumerable:!0,configurable:!0}),t.prototype.getValueText=function(e){if(!e||!e.url)return s.a.getString("pe.empty");var t=e.url;return t.length>20&&(t=t.substr(0,20)+"..."),t},t.prototype.addItem=function(e,t){var o=this;this.items.push(new u(e,t?t[e]:"",function(e){o.onItemValueChanged(e)}))},t.prototype.onItemValueChanged=function(e){this.question.choicesByUrl[e.name]=e.koValue(),this.run()},t.prototype.onValueChanged=function(){var e=this.restfullValue;if(this.items=[],this.addItem("url",e),this.addItem("path",e),this.addItem("valueName",e),this.addItem("titleName",e),e&&e.getCustomPropertiesNames)for(var t=e.getCustomPropertiesNames(),o=0;o<t.length;o++){var r=t[o];"visibleIfName"!==r&&this.addItem(r,e)}this.koItems(this.items)},t.prototype.onBeforeApply=function(){var e=new i.ChoicesRestfull;e.owner=this.editingObject;for(var t=0;t<this.items.length;t++){var o=this.items[t];e[o.name]=o.koValue()}this.setValueCore(e)},t.prototype.run=function(){this.question.choicesByUrl.run()},t.prototype.createSurvey=function(){this.survey=new i.Survey,this.survey.showNavigationButtons=!1,this.survey.showQuestionNumbers="off";var e=this.survey.addNewPage("page1");this.question=e.addNewQuestion("dropdown","q1"),this.question.title=s.a.getString("pe.testService"),this.question.choices=[]},t}(a.a),u=function(){function e(e,t,o){this.name=e,this.onValueChanged=o,this.isSetttingValue=!1,this.koValue=n.observable(t||"");var r=this;this.koValue.subscribe(function(e){r.isSetttingValue||r.onValueChanged(r)})}return e.prototype.setValue=function(e){this.isSetttingValue=!0,this.koValue(e),this.isSetttingValue=!1},e}();l.a.registerEditor("restfull",function(e){return new d(e)})},function(e,t,o){"use strict";var r=o(3),n=o(2),i=(o.n(n),o(6)),a=o(0),s=o(10),l=o(15),d=o(4);o.d(t,"a",function(){return u});var u=function(e){function t(t){return e.call(this,t)||this}return r.a(t,e),Object.defineProperty(t.prototype,"editorType",{get:function(){return"textitems"},enumerable:!0,configurable:!0}),t.prototype.getEditorName=function(){return this.koEditItem()?a.a.getString("pe.columnEdit").format(this.koEditItem().koName()):""},t.prototype.createNewEditorItem=function(){var e=this,t=new n.MultipleTextItem(this.getNewName());return t.object=this.object,new c(t,function(){return e.columns},this.options)},t.prototype.createEditorItem=function(e){var t=this;return new c(e,function(){return t.columns},this.options)},t.prototype.createItemFromEditorItem=function(e){var t=new n.MultipleTextItem,o=(new n.JsonObject).toJsonObject(e.item);return(new n.JsonObject).toObject(o,t),t},t.prototype.getProperties=function(){var e=this.getPropertiesNames("multipletext@items",["isRequired","name","title"]);return this.getPropertiesByNames("multipletextitem",e)},t.prototype.getNewName=function(){for(var e=[],t=this.koItems(),o=0;o<t.length;o++){var r=t[o].item;r&&e.push({name:r.name})}return i.b.getNewName(e,a.a.getString("ed.newTextItemName"))},t}(l.a),c=function(e){function t(t,o,r){var n=e.call(this,t,o,r)||this;return n.item=t,n}return r.a(t,e),t.prototype.createSurveyQuestionEditor=function(){return new s.b(this.item,null,"multipletextitem",this.options)},t}(l.b);d.a.registerEditor("textitems",function(e){return new u(e)})},function(e,t,o){"use strict";var r=o(3),n=o(1),i=(o.n(n),o(2)),a=(o.n(i),o(14)),s=o(0),l=o(4),d=o(25),u=o(27);o.d(t,"a",function(){return c});var c=function(e){function t(t){var o=e.call(this,t)||this;o.availableTriggers=[],o.triggerClasses=[];var r=o;return o.onDeleteClick=function(){r.koItems.remove(r.koSelected())},o.onAddClick=function(e){r.addItem(e.value)},o.koSelected=n.observable(null),o.koSelected.subscribe(function(e){e&&e.beforeShow()}),o.koPages=n.observableArray(),o.koQuestions=n.observableArray(),o.koQuestionNames=n.observableArray(),o.koElements=n.observableArray(),o.triggerClasses=i.JsonObject.metaData.getChildrenClasses("surveytrigger",!0),o.availableTriggers=o.getAvailableTriggers(),o.koTriggers=n.observableArray(o.getLocalizedTriggers()),o}return r.a(t,e),Object.defineProperty(t.prototype,"editorType",{get:function(){return"triggers"},enumerable:!0,configurable:!0}),t.prototype.onValueChanged=function(){if(this.editingObject){var t=this.editingObject.getAllQuestions();this.koPages(this.getElements(this.editingObject.pages)),this.koQuestions(this.getElements(t)),this.koQuestionNames(this.getQuestionNames(t)),this.koElements(this.getElements(this.getAllElements()))}e.prototype.onValueChanged.call(this),this.koSelected&&this.koSelected(this.koItems().length>0?this.koItems()[0]:null)},t.prototype.getAllElements=function(){for(var e=[],t=this.editingObject.pages,o=0;o<t.length;o++)this.addElemenetsIntoList(t[o],e);return e},t.prototype.addElemenetsIntoList=function(e,t){var o=e.getElementsInDesign(!1);if(o)for(var r=0;r<o.length;r++)t.push(o[r]),this.addElemenetsIntoList(o[r],t)},t.prototype.addItem=function(e){var t=i.JsonObject.metaData.createClass(e),o=this.createPropertyTrigger(t);this.koItems.push(o),this.koSelected(o)},t.prototype.createEditorItem=function(e){var t=new i.JsonObject,o=i.JsonObject.metaData.createClass(e.getType());return t.toObject(e,o),this.createPropertyTrigger(o)},t.prototype.createItemFromEditorItem=function(e){return e.createTrigger()},t.prototype.getLocalizedTriggers=function(){for(var e=[],t=0;t<this.availableTriggers.length;t++){var o=this.availableTriggers[t];e.push({value:o,text:s.a.getTriggerName(o)})}return e},t.prototype.getAvailableTriggers=function(){for(var e=[],t=0;t<this.triggerClasses.length;t++)e.push(this.triggerClasses[t].name);return e},t.prototype.getElements=function(e){var t=this,o=[],r=this.options;return e.forEach(function(e){var r={};r.name=e.name,r.text=e.name,t.options&&t.options.showTitlesInExpressions&&e.title&&(r.text=e.title),e.isPage?r.page=e:r.question=e,o.push(r)}),r&&r.onConditionQuestionsGetListCallback(this.editablePropertyName,this,r,o),o},t.prototype.getQuestionNames=function(e){for(var t=[],o=0;o<e.length;o++)e[o].addConditionNames(t);for(var r=[],o=0;o<t.length;o++)t[o].indexOf("[")<0&&r.push(t[o]);return r},t.prototype.createPropertyTrigger=function(e){var t=null;return e.survey=this.object,"visibletrigger"==e.getType()&&(t=new m(e,this.koPages,this.koElements,this.options)),"setvaluetrigger"==e.getType()&&(t=new h(e,this.koQuestions,this.editingObject,this.options)),"copyvaluetrigger"==e.getType()&&(t=new g(e,this.koQuestions,this.options)),"runexpressiontrigger"==e.getType()&&(t=new v(e,this.koQuestions,this.options)),t||(t=new p(e,this.options)),t},t}(a.a),p=function(){function e(e,t){var o=this;this.trigger=e,this.availableOperators=[],this.conditionEditor=null,this.availableOperators=l.a.getOperators(),this.triggerType=e.getType(),this.koType=n.observable(this.triggerType),this.koName=n.observable(e.name),this.koOperator=n.observable(e.operator),this.koValue=n.observable(e.value);var r=i.JsonObject.metaData.findProperty("trigger","expression");r&&(this.conditionEditor=new d.a(r),this.conditionEditor.options=t,this.conditionEditor.showHelpText=!1,this.trigger.expression||(this.trigger.expression=this.trigger.buildExpression()),this.conditionEditor.object=this.trigger);var a=this;this.koRequireValue=n.computed(function(){return"empty"!=a.koOperator()&&"notempty"!=a.koOperator()}),this.koIsValid=n.computed(function(){if(o.conditionEditor){return!!a.conditionEditor.koTextValue()}return!(!a.koName()||a.koRequireValue()&&!a.koValue())}),this.koText=n.computed(function(){return a.koName(),a.koOperator(),a.koValue(),a.getText()})}return e.prototype.beforeShow=function(){this.conditionEditor&&this.conditionEditor.beforeShow()},e.prototype.createTrigger=function(){var e=i.JsonObject.metaData.createClass(this.triggerType);return this.conditionEditor?e.expression=this.conditionEditor.koTextValue():(e.name=this.koName(),e.operator=this.koOperator(),e.value=this.koValue()),e},e.prototype.getText=function(){if(!this.koIsValid())return s.a.getString("pe.triggerNotSet");if(this.conditionEditor){var e=this.conditionEditor.koTextValue();return e?s.a.getString("pe.triggerRunIf")+": "+e:""}return s.a.getString("pe.triggerRunIf")+" '"+this.koName()+"' "+this.getOperatorText()+this.getValueText()},e.prototype.getOperatorText=function(){for(var e=this.koOperator(),t=0;t<this.availableOperators.length;t++)if(this.availableOperators[t].name==e)return this.availableOperators[t].text;return e},e.prototype.getValueText=function(){return this.koRequireValue()?" "+this.koValue():""},e}(),m=function(e){function t(t,o,r,n){var i=e.call(this,t,n)||this;return i.trigger=t,i.pages=new f(s.a.getString("pe.triggerMakePagesVisible"),o(),t.pages),i.questions=new f(s.a.getString("pe.triggerMakeQuestionsVisible"),r(),t.questions),i}return r.a(t,e),t.prototype.createTrigger=function(){var t=e.prototype.createTrigger.call(this);return t.pages=this.pages.koChoosen().map(function(e){return e.name}),t.questions=this.questions.koChoosen().map(function(e){return e.name}),t},t}(p),h=function(e){function t(o,r,i,a){var s=e.call(this,o,a)||this;s.trigger=o,s.triggerSurvey=i,s.koQuestions=r,s.koSurvey=n.observable(t.emptySurvey),s.koHasSurvey=n.observable(!1),s.kosetToName=n.observable(o.setToName),s.kosetValue=n.observable(o.setValue),s.koisVariable=n.observable(o.isVariable);var l=s;return s.kosetToName.subscribe(function(e){l.koisVariable()||l.kosetValue(null),l.buildSurvey()}),s.koisVariable.subscribe(function(e){l.kosetToName(""),l.kosetValue(null),l.buildSurvey()}),s.buildSurvey(),s}return r.a(t,e),t.prototype.createTrigger=function(){var t=e.prototype.createTrigger.call(this);return t.setToName=this.kosetToName(),t.setValue=this.kosetValue(),t.isVariable=this.koisVariable(),t},Object.defineProperty(t.prototype,"setToNameOptions",{get:function(){return s.a.getString("pe.conditionSelectQuestion")},enumerable:!0,configurable:!0}),t.prototype.buildSurvey=function(){var e=!this.koisVariable()&&this.kosetToName()?this.triggerSurvey.getQuestionByName(this.kosetToName()):null;if(!e)return this.survey=null,this.koHasSurvey(!1),void this.koSurvey(t.emptySurvey);var o=u.a.createJsonFromQuestion(e);o.titleLocation="top",o.title=s.a.getString("pe.triggerSetValue"),this.survey=u.a.createSurveyFromJsonQuestion(o),this.survey.setValue("question",this.kosetValue());var r=this;this.survey.onValueChanged.add(function(e,t){r.kosetValue(t.value)}),this.koSurvey(this.survey),this.koHasSurvey(!0)},t.emptySurvey=new i.Survey,t}(p),g=function(e){function t(t,o,r){var i=e.call(this,t,r)||this;return i.trigger=t,i.koQuestions=o,i.kosetToName=n.observable(t.setToName),i.kofromName=n.observable(t.fromName),i}return r.a(t,e),t.prototype.createTrigger=function(){var t=e.prototype.createTrigger.call(this);return t.setToName=this.kosetToName(),t.fromName=this.kofromName(),t},t}(p),v=function(e){function t(t,o,r){var i=e.call(this,t,r)||this;return i.trigger=t,i.koQuestions=o,i.kosetToName=n.observable(t.setToName),i.korunExpression=n.observable(t.runExpression),i}return r.a(t,e),t.prototype.createTrigger=function(){var t=e.prototype.createTrigger.call(this);return t.setToName=this.kosetToName(),t.runExpression=this.korunExpression(),t},t}(p),f=function(){function e(e,t,o){var r=this;this.title=e,this.koObjects=n.observableArray(),this.koChoosen=n.observableArray(),this.koSelected=n.observable(),this.koChoosenSelected=n.observable(),this.deleteItem=function(){r.changeItems(r.koChoosenSelected(),r.koChoosen,r.koObjects)},this.addItem=function(){r.changeItems(r.koSelected(),r.koObjects,r.koChoosen)},t.forEach(function(e){-1!==o.indexOf(e.name)?r.koChoosen.push(e):r.koObjects.push(e)})}return e.prototype.changeItems=function(e,t,o){e&&(t.remove(e),o.push(e),t.sort(),o.sort())},e}();l.a.registerEditor("triggers",function(e){return new c(e)})},function(e,t,o){"use strict";var r=o(3),n=o(1),i=(o.n(n),o(2)),a=(o.n(i),o(14)),s=o(18),l=o(0),d=o(4);o.d(t,"a",function(){return u});var u=function(e){function t(t){var o=e.call(this,t)||this;o.availableValidators=[],o.validatorClasses=[];var r=o;return o.selectedObjectEditor=new s.a,o.selectedObjectEditor.onPropertyValueChanged.add(function(e,t){r.onPropertyValueChanged(t.property,t.object,t.newValue)}),o.koSelected=n.observable(null),o.koSelected.subscribe(function(e){r.selectedObjectEditor.selectedObject=null!=e?e.validator:null}),o.validatorClasses=i.JsonObject.metaData.getChildrenClasses("surveyvalidator",!0),o.availableValidators=o.getAvailableValidators(),o.koValidators=n.observableArray(o.getLocalizedValidators()),o.onDeleteClick=function(){r.koItems.remove(r.koSelected())},o.onAddClick=function(e){r.addItem(e.value)},o}return r.a(t,e),Object.defineProperty(t.prototype,"editorType",{get:function(){return"validators"},enumerable:!0,configurable:!0}),t.prototype.onValueChanged=function(){e.prototype.onValueChanged.call(this),this.koSelected&&this.koSelected(this.koItems().length>0?this.koItems()[0]:null)},t.prototype.createEditorItem=function(e){var t=new i.JsonObject,o=i.JsonObject.metaData.createClass(e.getType());return t.toObject(e,o),this.setItemProperties(o),new c(o)},t.prototype.createItemFromEditorItem=function(e){var t=e;return delete t.validator.survey,t.validator},t.prototype.addItem=function(e){var t=new c(i.JsonObject.metaData.createClass(e));this.setItemProperties(t.validator),this.koItems.push(t),this.koSelected(t)},t.prototype.setItemProperties=function(e){this.object&&(e.survey=this.object.survey),e.locOwner=this},t.prototype.getLocalizedValidators=function(){for(var e=[],t=0;t<this.availableValidators.length;t++){var o=this.availableValidators[t];e.push({value:o,text:l.a.getValidatorName(o)})}return e},t.prototype.getAvailableValidators=function(){for(var e=[],t=0;t<this.validatorClasses.length;t++)e.push(this.validatorClasses[t].name);return e},t.prototype.onPropertyValueChanged=function(e,t,o){null!=this.koSelected()&&(this.koSelected().validator[e.name]=o)},t}(a.a),c=function(){function e(e){this.validator=e,this.text=l.a.getValidatorName(e.getType())}return e}();d.a.registerEditor("validators",function(e){return new u(e)})},function(e,t,o){"use strict";var r=o(1),n=(o.n(r),o(82));o.n(n);o.d(t,"a",function(){return a}),o.d(t,"b",function(){return s});var i=o(132),a=function(){function e(e,t){var o=this;this.data=e,this.template=t,this.collapsed=r.observable(!0),this.toggle=function(){return o.collapsed(!o.collapsed())};var n=this;e.onExpand=function(){n.collapsed(!1)}}return Object.defineProperty(e.prototype,"title",{get:function(){return this.data.title},enumerable:!0,configurable:!0}),e}(),s=function(){function e(e){this.tabs=r.computed(function(){return r.unwrap(e.tabs).map(function(t){return new a(t,r.unwrap(e.template))})}),!!this.tabs()[0]&&this.tabs()[0].collapsed(!1)}return e}();r.components.register("svd-accordion",{viewModel:s,template:i})},function(e,t,o){"use strict";var r=o(1),n=(o.n(r),o(83));o.n(n);o.d(t,"a",function(){return i});var i=function(){function e(e,t){for(var o=t.element,r=t.element.parentElement,n=[],i=e.minLeft||10,a=e.minRight||10,s=0;s<r.children.length;s++)n.push(r.children[s]);var l=n.indexOf(o),d=n[l-1],u=n[l+1],c=function(){o.style.left=n.slice(0,l).reduce(function(e,t){return e+t.offsetWidth},0)-o.offsetWidth+"px"};window.addEventListener("resize",c),c();var p=function(e){var t=d.offsetWidth+e.movementX,n=u.offsetWidth-e.movementX;t>i&&n>a&&(o.style.left=o.offsetLeft+e.movementX+"px",d.style.width=t/r.offsetWidth*100+"%",u.style.width=n/r.offsetWidth*100+"%")},m=function(){o.className=o.className.replace(/\ssvd-active-splitter/g,""),document.removeEventListener("mousemove",p),document.removeEventListener("mouseleave",m),document.removeEventListener("mouseup",m)};o.onmousedown=function(){o.className+=" svd-active-splitter",document.addEventListener("mousemove",p),document.addEventListener("mouseleave",m),document.addEventListener("mouseup",m)}}return e}();r.components.register("svd-splitter",{viewModel:{createViewModel:function(e,t){return new i(e,t)}},template:'<div class="svd-splitter"></div>'})},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){e.exports='<svg style="display:none;"><symbol viewBox="0 0 16 16" id="icon-actionaddtotoolbox"><path d="M7.3 8H1v2h5.2c.2-.7.6-1.4 1.1-2zM10 6.2V5H1v2h7.3c.5-.3 1.1-.6 1.7-.8zM1 2h9v2H1zM11.5 7C9 7 7 9 7 11.5S9 16 11.5 16s4.5-2 4.5-4.5S14 7 11.5 7zm2.5 5h-2v2h-1v-2H9v-1h2V9h1v2h2v1z"></path></symbol><symbol viewBox="0 0 16 16" id="icon-actionbold"><path d="M1 1v5h2V4h3v8H4v2h7v-2H9V4h3v2h2V1z"></path></symbol><symbol viewBox="0 0 16 16" id="icon-actionconvertto"><path d="M3 10L0 7h6zM13 7l3 3h-6z"></path><path d="M8 4c1.5 0 2.8.8 3.4 2h2.2c-.8-2.3-3-4-5.7-4C4.7 2 2 4.7 2 8h2c0-2.2 1.8-4 4-4zM11.9 9c-.4 1.7-2 3-3.9 3-1 0-1.9-.4-2.6-1H2.8c1 1.8 3 3 5.2 3 3 0 5.4-2.2 5.9-5h-2z"></path></symbol><symbol viewBox="0 0 16 16" id="icon-actioncopy"><path d="M2 6h9v9H2z"></path><path d="M5 3v2h7v7h2V3z"></path></symbol><symbol viewBox="0 0 16 16" id="icon-actiondelete"><path d="M8 2C4.7 2 2 4.7 2 8s2.7 6 6 6 6-2.7 6-6-2.7-6-6-6zm3 8l-1 1-2-2-2 2-1-1 2-2-2-2 1-1 2 2 2-2 1 1-2 2 2 2z"></path></symbol><symbol viewBox="0 0 32 32" id="icon-actiondragelement"><path d="M4 10h24a2 2 0 0 0 0-4H4a2 2 0 0 0 0 4zm24 4H4a2 2 0 0 0 0 4h24a2 2 0 0 0 0-4zm0 8H4a2 2 0 0 0 0 4h24a2 2 0 0 0 0-4z"></path></symbol><symbol viewBox="0 0 16 16" id="icon-actioneditelement"><path d="M1 15h4l-4-4zM7 5l-5 5 4 4 5-5zM14 6l-4-4-2 2 4 4zM9 14h5v1H9z"></path></symbol><symbol viewBox="0 0 16 16" id="icon-actionfontlarger"><path d="M7 6H5l-3 8H1v1h4v-1H4l.67-2h2.67L8 14H7v1h4v-1h-1L7 6zm-2 5l1-3 1 3H5zM15 3h-2V1h-2v2H9v2h2v2h2V5h2z"></path></symbol><symbol viewBox="0 0 16 16" id="icon-actionfontsmaller"><path d="M7 5H5l-3 8H1v1h4v-1H4l.67-2h2.67L8 13H7v1h4v-1h-1L7 5zm-2 5l1-3 1 3H5zM9 2h6v2H9z"></path></symbol><symbol viewBox="0 0 16 16" id="icon-actionhidetitle"><path d="M15.7 7.7c-.1-.1-1.5-1.7-3.4-3L15 2l-1-1-2.9 2.9C10.1 3.4 9 3 8 3 4.3 3 .4 7.5.3 7.7L0 8l.3.3c.1.1 1.5 1.7 3.4 3L1 14l1 1 2.9-2.9c1 .5 2.1.9 3.1.9 3.7 0 7.6-4.5 7.7-4.7L16 8l-.3-.3zM2 8c.8-.8 3.4-3 6-3 .6 0 .6 0 0 0-1.7 0-3 1.3-3 3 0 .6.2 1.1.4 1.6l-.6.6C3.5 9.4 2.5 8.5 2 8zm6 3c-.6 0-.6 0 0 0 1.7 0 3-1.3 3-3 0-.6-.2-1.1-.4-1.6l.6-.6c1.3.8 2.3 1.7 2.8 2.2-.8.8-3.4 3-6 3z"></path></symbol><symbol viewBox="0 0 16 16" id="icon-actionisrequired"><circle cx="7.5" cy="13.5" r="1.5"></circle><path d="M8 10l1-9H6l1 9z"></path></symbol><symbol viewBox="0 0 16 16" id="icon-actionitalic"><path d="M14 1H2L1 4h1l.33-1H7L5 13H3v1h6v-1H7L9 3h4.33L13 4h1l1-3z"></path></symbol><symbol viewBox="0 0 16 16" id="icon-actionnotrequired"><path d="M14 1L8.4 6.6 9 1H6l.8 7.2L1 14l1 1L15 2z"></path><circle cx="7.5" cy="13.5" r="1.5"></circle></symbol><symbol viewBox="0 0 16 16" id="icon-actionshowtitle"><path d="M15.7 7.7C15.6 7.5 11.7 3 8 3S.4 7.5.3 7.7L0 8l.3.3c.1.2 4 4.7 7.7 4.7s7.6-4.5 7.7-4.7L16 8l-.3-.3zM8 11c-2.6 0-5.2-2.2-6-3 .8-.8 3.4-3 6-3s5.2 2.2 6 3c-.8.8-3.4 3-6 3z"></path><circle cx="8" cy="8" r="3"></circle></symbol><symbol viewBox="0 0 16 16" id="icon-actionunderline"><path class="st0" d="M2 13h12v1H2z"></path><path d="M13 1H2v3h1V3h4v8H5v1h6v-1H9V3h4v1h1V1z"></path></symbol><symbol viewBox="0 0 16 16" id="icon-add"><path d="M14 7h-4V3H7v4H3v3h4v4h3v-4h4z"></path></symbol><symbol viewBox="0 0 10 10" id="icon-arrow_down_10x10"><path d="M2 2L0 4l5 5 5-5-2-2-3 3z"></path></symbol><symbol viewBox="0 0 10 10" id="icon-arrow_up_10x10"><path d="M8 9l2-2-5-5-5 5 2 2 3-3z"></path></symbol><symbol viewBox="0 0 34 34" id="icon-arrowdown_34x34"><style><![CDATA[.st0{fill:#fff}]]></style><path class="st0" d="M12 16l2-2 3 3 3-3 2 2-5 5z"></path></symbol><symbol viewBox="0 0 24 24" id="icon-cloud_24x24"><style><![CDATA[.st0{fill:#1ab394}]]></style><path class="st0" d="M75 6.5C75 4.6 73.4 3 71.5 3S68 4.6 68 6.5c0 1.4.8 2.6 2 3.2-.2 1-.7 1.8-1.7 2.3-.4.2-.9.4-1.3.6-.8.3-1.7.6-2.5.9-.2.1-.3.1-.5.2v-6c1.2-.6 2-1.8 2-3.2C66 2.6 64.4 1 62.5 1S59 2.6 59 4.5c0 1.4.8 2.6 2 3.2v9.7c-1.2.6-2 1.8-2 3.2 0 1.8 1.6 3.4 3.5 3.4s3.5-1.6 3.5-3.5c0-1.4-.8-2.6-2-3.2.1-.5.4-1 .9-1.2.3-.1.6-.3 1-.4 1.1-.4 2.1-.7 3.2-1.2 1.4-.6 2.5-1.5 3.1-2.9.2-.4.3-1.1.4-1.8C74 9.3 75 8.1 75 6.5zM62.5 3c.8 0 1.5.7 1.5 1.5S63.3 6 62.5 6 61 5.3 61 4.5 61.7 3 62.5 3zm0 19c-.8 0-1.5-.7-1.5-1.5s.7-1.5 1.5-1.5 1.5.7 1.5 1.5-.7 1.5-1.5 1.5zM70 6.5c0-.8.7-1.5 1.5-1.5s1.5.7 1.5 1.5S72.3 8 71.5 8 70 7.3 70 6.5zM9 18l1 1 2-2v6h2v-6l2 2 1-1-4-4z"></path><path class="st0" d="M20.9 7.9c.1-.3.1-.6.1-.9 0-2.8-2.2-5-5-5-2.6 0-4.7 1.9-4.9 4.4C10.3 5.6 9.2 5 8 5 5.8 5 4 6.8 4 9v.2c-1.7.4-3 1.3-3 3.8 0 2.3 2.4 3 4 3h3l5-5 5 5c2.8 0 5-1.2 5-4 0-1.7-.8-3.1-2.1-4.1z"></path></symbol><symbol viewBox="0 0 16 16" id="icon-autocomplete"><style><![CDATA[.st0{fill:#3d4d5d}]]></style><path class="st0" d="M15 6H7v10h9v-1H8v-2h7v2h1V6h-1zm0 6H8v-2h7v2zm0-3H8V7h7v2zM3 10H1V4h2V3H0v8h3zM14 5h1V3H6v1h8zM5 1h1V0H3v1h1v11H3v1h3v-1H5z"></path></symbol><symbol viewBox="0 0 16 16" id="icon-barrating"><style><![CDATA[.st0{fill:#3d4d5d}]]></style><path class="st0" d="M12.1 15l-4.6-2.4L2.9 15l.9-5.1L0 6.3l5.2-.7L7.5 1l2.3 4.6 5.2.7-3.8 3.6.9 5.1z"></path></symbol><symbol viewBox="0 0 16 16" id="icon-datepicker"><style><![CDATA[.st0{fill:#3d4d5d}]]></style><path class="st0" d="M3 7h2v2H3zM7 11h2v2H7zM3 11h2v2H3zM11 11h2v2h-2zM11 7h2v2h-2zM10 6H6v4h4V6zM9 9H7V7h2v2zM4 0h1v3H4zM11 0h1v3h-1z"></path><path class="st0" d="M13 2v2h-3V2H6v2H3V2H0v14h16V2h-3zm2 13H1V5h14v10z"></path></symbol><symbol viewBox="0 0 16 16" id="icon-editor"><style><![CDATA[.st0{fill:#3d4d5d}]]></style><path class="st0" d="M1 3h2v5H2v1h4V8H5V3h2v1h1V1H0v3h1zM10 5h6v1h-6zM10 8h6v1h-6zM0 11h16v1H0zM0 14h16v1H0z"></path></symbol><symbol viewBox="0 0 16 16" id="icon-microphone"><style><![CDATA[.st0{fill:#3d4d5d}]]></style><path class="st0" d="M11 3.4C11 2.1 9.9 1 8.6 1h-.2C7.1 1 6 2.1 6 3.4V5h5V3.4zM8.4 10h.3C9.9 10 11 8.9 11 7.6V6H6v1.6C6 8.9 7.1 10 8.4 10z"></path><path class="st0" d="M12 6v.9c0 2.2-1.6 4.1-3.5 4.1S5 9.1 5 6.9V6H4v1c0 2.5 1.8 4.6 4 4.9V14H6v1h5v-1H9v-2.1c2.2-.3 4-2.4 4-4.9V6h-1z"></path></symbol><symbol viewBox="0 0 16 16" id="icon-nouislider"><style><![CDATA[.st0{fill:#3d4d5d}]]></style><path class="st0" d="M0 10h16v2H0zM2 4v3l2 2 2-2V4zM10 4v3l2 2 2-2V4z"></path></symbol><symbol viewBox="0 0 16 16" id="icon-signaturepad"><style><![CDATA[.st0{fill:#3d4d5d}]]></style><path class="st0" d="M0 0v15h16V0H0zm15 14H1V1h14v13z"></path><path class="st0" d="M2.6 10.2c.1.1.1.2.2.3-.2.3-.4.6-.7.8l.7.7c.2-.3.5-.6.7-.9h.1c.2.1.9.1 1.1.1 1.5-.1 2.3-.5 2.8-.8h.1l.6.3h.6c.7-.1 1.9-.8 2.5-1.2.2-.1.5-.3.5-.3v.2c0 .2 0 .3.1.5.1.3.3.4.6.5.2 0 .4 0 .5-.1.1-.3.8-1 1-1.3V8c-.1.1-.3.2-.4.4-.2.2-.5.4-.8.6l-.1.1v-.3c0-.2 0-.4-.1-.5-.1-.4-.5-.6-.9-.4-.1.1-.4.2-.6.4-.9.6-2 1.2-2.2 1.3-.1 0-.2.1-.4.1l.1-.1c.3-.3.7-.6.9-1 .2-.3.3-.6.3-.9 0-.4 0-.7-.2-1.1-.1-.3-.4-.6-.8-.7-.2-.1-.4-.1-.7 0-.2.1-.5.2-.7.4-.3.3-.5.6-.6 1-.1.2-.1.5-.1.7 0 .4 0 .7.1 1.1 0 .2.1.3.2.5-.6.3-1.5.7-2.8.6v-.1c0-.1.1-.3.2-.4.4-.7.7-1.4.9-2.1.2-.6.3-1.3.3-1.9V4.3c0-.3-.1-.6-.3-.8-.2-.4-.6-.6-1-.5-.3.1-.5.2-.7.4-.3.2-.6.5-.8.9-.2.5-.4 1-.6 1.6-.1.5-.2 1-.2 1.5s0 1 .1 1.4c.1.6.3 1 .5 1.4zm5-2.5c.1-.2.2-.5.4-.6.2-.2.4-.2.7-.2.1 0 .2.1.2.2.1.3.1.6-.1.8-.2.3-.4.6-.6.8-.2.2-.3.3-.5.4-.1-.1-.1-.2-.1-.4v-1zM3 6.7c.1-.6.3-1.3.6-1.8.1-.3.3-.5.5-.8.1 0 .2-.1.2-.1.1-.1.2 0 .3.1.1.1.1.3.1.4 0 .4.1.9 0 1.3 0 .8-.2 1.6-.5 2.3-.3.5-.5 1-.8 1.5-.1 0-.2-.1-.2-.2-.2-.6-.3-1.2-.3-1.8 0-.3.1-.6.1-.9z"></path></symbol><symbol viewBox="0 0 16 16" id="icon-sortablejs"><style><![CDATA[.st0{fill:#3d4d5d}]]></style><path class="st0" d="M7 1h9v2H7zM9 6h7v2H9zM11 11h5v2h-5zM5 10l1 1c-2.2 0-4-1.8-4-4 0-1.9 1.3-3.4 3-3.9v-2C2.2 1.5 0 4 0 7c0 3.3 2.7 6 5.9 6H6l-1 1 1 1 3-3-3-3-1 1z"></path></symbol><symbol viewBox="0 0 16 16" id="icon-tagbox"><style><![CDATA[.st0{fill:#3d4d5d}]]></style><path class="st0" d="M15 11H0V5h15v6zM1 10h13V6H1v4z"></path><path class="st0" d="M2 7h4v2H2zM7 7h4v2H7z"></path></symbol><symbol viewBox="0 0 24 24" id="icon-delete_24x24"><path fill-rule="evenodd" clip-rule="evenodd" fill="#1AB394" d="M6 8l2-2 4 4 4-4 2 2-4 4 4 4-2 2-4-4-4 4-2-2 4-4-4-4z"></path></symbol><symbol viewBox="0 0 24 24" id="icon-edit"><g fill-rule="evenodd" clip-rule="evenodd"><path d="M19 4l-9 9 4 4 9-9-4-4zM8 15v4h4l-4-4zM1 17v2h4v-2H1z"></path></g></symbol><symbol viewBox="0 0 16 16" id="icon-boolean"><path d="M0 16h10V6H0v10zm2-6l2 2 4-4 1 1-5 5-3-3 1-1z"></path><path d="M5 1v4h1V2h8v8h-3v1h4V1z"></path></symbol><symbol viewBox="0 0 16 16" id="icon-checkbox"><path d="M1 1v14h14V1H1zm6 10L4 8l1-1 2 2 4-4 1 1-5 5z"></path></symbol><symbol viewBox="0 0 16 16" id="icon-comment"><path d="M8 2C4.1 2 1 4.2 1 7c0 1.9 1.5 3.6 3.8 4.4C4.6 13.1 3 14 3 14s1.5-.2 2.7-.9c.4-.2.9-.8 1.3-1.2.3.1.6.1 1 .1 3.9 0 7-2.2 7-5s-3.1-5-7-5zM4 8c-.6 0-1-.4-1-1s.4-1 1-1 1 .4 1 1-.4 1-1 1zm4 0c-.6 0-1-.4-1-1s.4-1 1-1 1 .4 1 1-.4 1-1 1zm4 0c-.6 0-1-.4-1-1s.4-1 1-1 1 .4 1 1-.4 1-1 1z"></path></symbol><symbol viewBox="0 0 16 16" id="icon-default"><path d="M0 4h4V0H0v4zm6 0h4V0H6v4zm6-4v4h4V0h-4zM0 10h4V6H0v4zm6 0h4V6H6v4zm6 0h4V6h-4v4zM0 16h4v-4H0v4zm6 0h4v-4H6v4zm6 0h4v-4h-4v4z"></path></symbol><symbol viewBox="0 0 16 16" id="icon-dropdown"><path d="M1 1v6h14V1H1zm10 5L8 3l1-1 2 2 2-2 1 1-3 3zm-8 5h12V9H3v2zm0 4h12v-2H3v2z"></path></symbol><symbol viewBox="0 0 16 16" id="icon-expression"><path d="M15 9l-4 4-2-2-1 1 3 3 5-5zM4 4v1h2v1H3v3h4V4H4zm2 4H4V7h2v1zM8 8h1v1H8z"></path><path d="M1 1h13v7l1-1V0H0v12h6l1-1H1z"></path><path d="M10 4h1v1h-1zM9 5h1v1H9zM11 5h1v1h-1zM11 3h1v1h-1zM9 3h1v1H9z"></path></symbol><symbol viewBox="0 0 16 16" id="icon-file"><path d="M9 0v5h5z"></path><path d="M8 0H2v16h12V6H8z"></path></symbol><symbol viewBox="0 0 16 16" id="icon-flowpanel"><path d="M14 4h2v1h-2zM0 4h2v1H0zM14 6h2v1h-2zM0 6h2v1H0zM14 8h2v1h-2zM0 8h2v1H0zM14 10h2v1h-2zM0 10h2v1H0zM0 2h16v1H0zM0 0h16v1H0zM0 12h16v1H0zM0 14h16v1H0zM11 4L7 8 5 6 4 7l3 3 5-5z"></path></symbol><symbol viewBox="0 0 16 16" id="icon-html"><path d="M4 4L0 8l4 4 1-1-3-3 3-3zM11 4l-1 1 3 3-3 3 1 1 4-4z"></path></symbol><symbol viewBox="0 0 16 16" id="icon-imagepicker"><style><![CDATA[.st0{fill:#3d4d5d}]]></style><path class="st0" d="M15 14H0V1h15v13zM1 13h13V2H1v11z"></path><path class="st0" d="M2 3v9h11V3H2zm4 1c.6 0 1 .4 1 1s-.4 1-1 1-1-.4-1-1 .4-1 1-1zm-3 7l2-3 1 1 2-3 4 5H3z"></path></symbol><symbol viewBox="0 0 16 16" id="icon-matrix"><path d="M4 1C2.3 1 1 2.3 1 4s1.3 3 3 3 3-1.3 3-3-1.3-3-3-3zm0 5c-1.1 0-2-.9-2-2s.9-2 2-2 2 .9 2 2-.9 2-2 2z"></path><circle cx="4" cy="4" r="1"></circle><path d="M12 7c1.7 0 3-1.3 3-3s-1.3-3-3-3-3 1.3-3 3 1.3 3 3 3zm0-5c1.1 0 2 .9 2 2s-.9 2-2 2-2-.9-2-2 .9-2 2-2zM4 9c-1.7 0-3 1.3-3 3s1.3 3 3 3 3-1.3 3-3-1.3-3-3-3zm0 5c-1.1 0-2-.9-2-2s.9-2 2-2 2 .9 2 2-.9 2-2 2zM12 9c-1.7 0-3 1.3-3 3s1.3 3 3 3 3-1.3 3-3-1.3-3-3-3zm0 5c-1.1 0-2-.9-2-2s.9-2 2-2 2 .9 2 2-.9 2-2 2z"></path></symbol><symbol viewBox="0 0 16 16" id="icon-matrixdropdown"><path d="M4 1C2.3 1 1 2.3 1 4s1.3 3 3 3 3-1.3 3-3-1.3-3-3-3zm0 5c-1.1 0-2-.9-2-2s.9-2 2-2 2 .9 2 2-.9 2-2 2z"></path><circle cx="4" cy="4" r="1"></circle><path d="M12 7c1.7 0 3-1.3 3-3s-1.3-3-3-3-3 1.3-3 3 1.3 3 3 3zm0-5c1.1 0 2 .9 2 2s-.9 2-2 2-2-.9-2-2 .9-2 2-2zM4 9c-1.7 0-3 1.3-3 3s1.3 3 3 3 3-1.3 3-3-1.3-3-3-3zm0 5c-1.1 0-2-.9-2-2s.9-2 2-2 2 .9 2 2-.9 2-2 2z"></path><circle cx="4" cy="12" r="1"></circle><path d="M12 9c-1.7 0-3 1.3-3 3s1.3 3 3 3 3-1.3 3-3-1.3-3-3-3zm0 5c-1.1 0-2-.9-2-2s.9-2 2-2 2 .9 2 2-.9 2-2 2z"></path></symbol><symbol viewBox="0 0 16 16" id="icon-matrixdynamic"><path d="M3 1C1.3 1 0 2.3 0 4s1.3 3 3 3 3-1.3 3-3-1.3-3-3-3zm0 5c-1.1 0-2-.9-2-2s.9-2 2-2 2 .9 2 2-.9 2-2 2z"></path><circle cx="3" cy="4" r="1"></circle><path d="M11 7c1.7 0 3-1.3 3-3s-1.3-3-3-3-3 1.3-3 3 1.3 3 3 3zm0-5c1.1 0 2 .9 2 2s-.9 2-2 2-2-.9-2-2 .9-2 2-2zM3 9c-1.7 0-3 1.3-3 3s1.3 3 3 3 3-1.3 3-3-1.3-3-3-3zm0 5c-1.1 0-2-.9-2-2s.9-2 2-2 2 .9 2 2-.9 2-2 2zM8 15h2l-2-2zM9.03 11.99l4.03-4.03 1.98 1.98-4.03 4.03z"></path></symbol><symbol viewBox="0 0 16 16" id="icon-multipletext"><path d="M0 2v12h16V2H0zm5 9H2V9h3v2zm0-4H2V5h3v2zm9 4H7V9h7v2zm0-4H7V5h7v2z"></path></symbol><symbol viewBox="0 0 16 16" id="icon-panel_dynamic"><path d="M2 8h10v1H2zM2 11h8l1-1H2zM9 16h2l-2-2zM14 9l-4 4 2 2 4-4zM3 3v2H2l2 2 2-2H5V3zM11 5V3H9v2H8l2 2 2-2z"></path><path d="M1 1h12v7l1-1V0H0v14h7l1-1H1z"></path></symbol><symbol viewBox="0 0 16 16" id="icon-panel"><path d="M0 0v16h16V0H0zm15 15H1V1h14v14z"></path><path d="M2 12h12v2H2zM2 9h12v2H2zM11 8L8 5h2V2h2v3h2zM5 8L2 5h2V2h2v3h2z"></path></symbol><symbol viewBox="0 0 16 16" id="icon-paneldynamic"><path d="M2 8h10v1H2zM2 11h8l1-1H2zM9 16h2l-2-2zM14 9l-4 4 2 2 4-4zM3 3v2H2l2 2 2-2H5V3zM11 5V3H9v2H8l2 2 2-2z"></path><path d="M1 1h12v7l1-1V0H0v14h7l1-1H1z"></path></symbol><symbol viewBox="0 0 16 16" id="icon-radiogroup"><path d="M3 1C1.3 1 0 2.3 0 4s1.3 3 3 3 3-1.3 3-3-1.3-3-3-3zm0 4c-.6 0-1-.4-1-1s.4-1 1-1 1 .4 1 1-.4 1-1 1zm0 4c-1.7 0-3 1.3-3 3s1.3 3 3 3 3-1.3 3-3-1.3-3-3-3zm0 4c-.6 0-1-.4-1-1s.4-1 1-1 1 .4 1 1-.4 1-1 1zM8 3v2h8V3H8zm0 10h8v-2H8v2z"></path></symbol><symbol viewBox="0 0 16 16" id="icon-rating"><path d="M0 7h1l1-1v5h1V5H2L0 7zm5 5h5V4H5v8zm1-5h2V6H6V5h3v3H7v2h2v1H6V7zm6-2v1h2v1h-2v1h2v2h-2v1h3V5h-3z"></path></symbol><symbol viewBox="0 0 16 16" id="icon-text"><path d="M2 1v3h1V3h4v10H5v1h6v-1H9V3h4v1h1V1H2z"></path></symbol><symbol viewBox="0 0 24 24" id="icon-fork_24x24"><path opacity=".9" d="M-40-20c-1.2 0-2-.9-2-2v-2c0-1.1.9-2 2-2h.1c1.1 0 2 .9 2 2v2.1c-.1 1-1 1.9-2.1 1.9z"></path><path opacity=".5" d="M-40-2c-1.2 0-2-.9-2-2v-2c0-1.1.9-2 2-2h.1c1.1 0 2 .9 2 2v2c-.1 1.1-1 2-2.1 2z"></path><path opacity=".2" d="M-52-14c0-1.2.9-2 2-2h2.1c1.1 0 2 .9 2 2v.1c0 1.1-.9 2-2 2H-50c-1.1-.1-2-1-2-2.1z"></path><path opacity=".7" d="M-34-14c0-1.2.9-2 2-2h2.1c1.1 0 2 .9 2 2v.1c0 1.1-.9 2-2 2H-32c-1.1-.1-2-1-2-2.1z"></path><path opacity=".1" d="M-44.5-18.6c-.8.8-2.1.8-2.8.1l-1.2-1.2c-.8-.8-.8-2 0-2.8l.1-.1c.8-.8 2-.8 2.8 0l1.2 1.2c.7.8.7 2.1-.1 2.8z"></path><path opacity=".6" d="M-31.5-5.5c-.8.8-2.1.8-2.8.1l-1.2-1.2c-.8-.8-.8-2 0-2.8l.1-.1c.8-.8 2-.8 2.8 0l1.2 1.2c.7.8.7 2-.1 2.8z"></path><path opacity=".3" d="M-48.5-5.5c-.8-.8-.8-2.1-.1-2.8l1.2-1.2c.8-.8 2-.8 2.8 0l.1.1c.8.8.8 2 0 2.8l-1.2 1.2c-.7.7-2 .7-2.8-.1z"></path><path opacity=".8" d="M-35.4-18.5c-.8-.8-.8-2.1-.1-2.8l1.2-1.2c.8-.8 2-.8 2.8 0l.1.1c.8.8.8 2 0 2.8l-1.2 1.2c-.8.7-2.1.7-2.8-.1z"></path><path opacity=".9" fill="#9D9FA1" d="M-22-13l2-2 4 4 9-9 2 2-11 11z"></path><path d="M41-19h-1.2c-.2-.7-.4-1.3-.8-1.9l.8-.8c.4-.4.4-1 0-1.4l-.7-.7c-.4-.4-1-.4-1.4 0l-.8.8c-.6-.4-1.2-.6-1.9-.8V-25c0-.5-.5-1-1-1h-1c-.5 0-1 .5-1 1v1.2c-.7.2-1.3.4-1.9.8l-.8-.8c-.4-.4-1-.4-1.4 0l-.7.7c-.4.4-.4 1 0 1.4l.8.8c-.4.6-.6 1.2-.8 1.9H26c-.5 0-1 .5-1 1v1c0 .5.5 1 1 1h1.2c.2.7.4 1.3.8 1.9l-.8.8c-.4.4-.4 1 0 1.4l.7.7c.4.4 1 .4 1.4 0l.8-.8c.6.4 1.2.6 1.9.8v1.2c0 .5.5 1 1 1h1c.5 0 1-.5 1-1v-1.2c.7-.2 1.3-.4 1.9-.8l.8.8c.4.4 1 .4 1.4 0l.7-.7c.4-.4.4-1 0-1.4l-.8-.8c.4-.6.6-1.2.8-1.9H41c.5 0 1-.5 1-1v-1c0-.5-.5-1-1-1zm-7.5 5.5c-2.2 0-4-1.8-4-4s1.8-4 4-4 4 1.8 4 4-1.8 4-4 4z"></path><path opacity=".9" fill="#9D9FA1" d="M13-15v-3h-1.2c-.1-.4-.3-.8-.5-1.2l.9-.9-2.2-2-.9.9c-.4-.2-.8-.4-1.2-.5V-23H5v1.2c-.4.1-.8.3-1.2.5l-.8-.8L.8-20l.9.9c-.2.4-.4.8-.5 1.2H0v3h1.2c.1.4.3.8.5 1.2l-.9.7L3-10.8l.9-.9c.4.2.8.4 1.2.5v1.2h3v-1.2c.4-.1.8-.3 1.2-.5l.9.9 2.1-2.1-.9-.9c.2-.4.4-.8.5-1.2H13zm-6.5 1.5c-1.7 0-3-1.3-3-3s1.3-3 3-3 3 1.3 3 3-1.3 3-3 3z"></path><path opacity=".6" fill="#9D9FA1" d="M23-9v-2h-1.1c-.1-.4-.2-.7-.4-1l.8-.8-1.4-1.4-.9.8c-.3-.2-.7-.3-1-.4V-15h-2v1.1c-.4.1-.7.2-1 .4l-.8-.8-1.4 1.4.8.8c-.2.3-.3.7-.4 1H13v2h1.1c.1.4.2.7.4 1l-.8.8 1.4 1.4.9-.7c.3.2.7.3 1 .4V-5h2v-1.1c.4-.1.7-.2 1-.4l.8.8 1.4-1.4-.8-.9c.2-.3.3-.7.4-1H23zm-5 1c-1.1 0-2-.9-2-2s.9-2 2-2 2 .9 2 2-.9 2-2 2z"></path><path opacity=".5" fill="#9D9FA1" d="M-69-7h3v5h-3z"></path><path opacity=".9" fill="#9D9FA1" d="M-69-23h3v5h-3z"></path><path opacity=".2" fill="#9D9FA1" d="M-72.993-13.993v3h-5v-3z"></path><path opacity=".7" fill="#9D9FA1" d="M-56.993-13.993v3h-5v-3z"></path><path opacity=".6" fill="#9D9FA1" d="M-64.615-7.549l2.121-2.12 3.536 3.535-2.122 2.121z"></path><path opacity=".1" fill="#9D9FA1" d="M-75.98-18.791l2.121-2.122 3.536 3.536-2.122 2.121z"></path><path opacity=".3" fill="#9D9FA1" d="M-72.505-9.669l2.121 2.121-3.535 3.536-2.122-2.121z"></path><path opacity=".8" fill="#9D9FA1" d="M-61.14-20.912l2.121 2.121-3.535 3.536-2.122-2.121z"></path><path fill="#1AB394" d="M21 6.5C21 4.6 19.4 3 17.5 3S14 4.6 14 6.5c0 1.4.8 2.6 2 3.2-.2 1-.7 1.8-1.7 2.3-.4.2-.9.4-1.3.6-.8.3-1.7.6-2.5.9-.2.1-.3.1-.5.2v-6c1.2-.6 2-1.8 2-3.2C12 2.6 10.4 1 8.5 1S5 2.6 5 4.5c0 1.4.8 2.6 2 3.2v9.7c-1.2.6-2 1.8-2 3.2C5 22.4 6.6 24 8.5 24s3.5-1.6 3.5-3.5c0-1.4-.8-2.6-2-3.2.1-.5.4-1 .9-1.2.3-.1.6-.3 1-.4 1.1-.4 2.1-.7 3.2-1.2 1.4-.6 2.5-1.5 3.1-2.9.2-.4.3-1.1.4-1.8C20 9.3 21 8.1 21 6.5zM8.5 3c.8 0 1.5.7 1.5 1.5S9.3 6 8.5 6 7 5.3 7 4.5 7.7 3 8.5 3zm0 19c-.8 0-1.5-.7-1.5-1.5S7.7 19 8.5 19s1.5.7 1.5 1.5S9.3 22 8.5 22zM16 6.5c0-.8.7-1.5 1.5-1.5s1.5.7 1.5 1.5S18.3 8 17.5 8 16 7.3 16 6.5z"></path></symbol><symbol viewBox="0 0 12 12" id="icon-gear"><path d="M12 7V5H9.9c-.1-.4-.3-.7-.5-1l1.5-1.5-1.4-1.4L8 2.6c-.3-.2-.6-.4-1-.5V0H5v2.1c-.4.1-.7.3-1 .5L2.5 1.1 1.1 2.5 2.6 4c-.2.3-.4.6-.5 1H0v2h2.1c.1.4.2.7.4 1L1.1 9.5l1.4 1.4L4 9.4c.3.2.7.3 1 .4V12h2V9.9c.4-.1.7-.2 1-.4L9.5 11l1.4-1.4L9.4 8c.2-.3.3-.7.4-1H12zM6 8c-1.1 0-2-.9-2-2s.9-2 2-2 2 .9 2 2-.9 2-2 2z"></path></symbol><symbol viewBox="0 0 12 12" id="icon-gearactive"><path d="M12 7V5H9.9c-.1-.4-.3-.7-.5-1l1.5-1.5-1.4-1.4L8 2.6c-.3-.2-.6-.4-1-.5V0H5v2.1c-.4.1-.7.3-1 .5L2.5 1.1 1.1 2.5 2.6 4c-.2.3-.4.6-.5 1H0v2h2.1c.1.4.2.7.4 1L1.1 9.5l1.4 1.4L4 9.4c.3.2.7.3 1 .4V12h2V9.9c.4-.1.7-.2 1-.4L9.5 11l1.4-1.4L9.4 8c.2-.3.3-.7.4-1H12zM6 8c-1.1 0-2-.9-2-2s.9-2 2-2 2 .9 2 2-.9 2-2 2z"></path></symbol><symbol viewBox="0 0 12 12" id="icon-inplacecheck"><path d="M2 7l1-1 2 2 5-5 1 1-6 6z"></path></symbol><symbol viewBox="0 0 12 12" id="icon-inplacedelete"><path d="M3 2L2 3l3 3-3 3 1 1 3-3 3 3 1-1-3-3 3-3-1-1-3 3z"></path></symbol><symbol viewBox="0 0 12 12" id="icon-inplacedraggable"><path d="M0 4h7v7H0z"></path><path d="M2 3h6v6h1V2H2z"></path><path d="M4 1h6v6h1V0H4z"></path></symbol><symbol viewBox="0 0 12 12" id="icon-inplaceedit"><path d="M1 11h3L1 8zM6 3L2 7l3 3 4-4zM11 4L8 1 7 2l3 3zM7 10h5v1H7z"></path></symbol><symbol viewBox="0 0 12 12" id="icon-inplaceplus"><path d="M11 5H7V1H5v4H1v2h4v4h2V7h4z"></path></symbol><symbol viewBox="0 0 16 16" id="icon-left"><path d="M11 12l-2 2-6-6 6-6 2 2-4 4z"></path></symbol><symbol viewBox="0 0 24 24" id="icon-new_24x24"><path fill="#1AB394" d="M18 11h-5V6h-3v5H5v3h5v5h3v-5h5z"></path></symbol><symbol viewBox="0 0 20 20" id="icon-noncommercial"><path d="M10 0C4.5 0 0 4.5 0 10s4.5 10 10 10 10-4.5 10-10S15.5 0 10 0zM2 10c0-1.4.4-2.8 1.1-3.9l7.6 7.6c-.3.1-.6.2-.9.2-1.1 0-2.1-.4-3-1.1l-1 1.8c.2.2.5.5.9.7s.9.4 1.4.5c.3.1.6.1.9.2v1h2v-1.3c.5-.1.9-.3 1.2-.5l1.7 1.7c-1.1.7-2.5 1.1-3.9 1.1-4.4 0-8-3.6-8-8zm14.1 5.1l-2.4-2.4v-.3c0-.6-.1-1.2-.3-1.6s-.5-.7-.8-.9c-.3-.2-.7-.4-1.1-.5l-1.2-.3c-.1-.1-.2-.1-.4-.2L8.4 7.4c0-.3.2-.6.4-.8.3-.2.7-.3 1.3-.3.8 0 1.6.3 2.4 1l.9-1.8c-.5-.4-1-.7-1.6-.9-.3-.1-.6-.2-.9-.2V3H9v1.4c-.7.1-1.3.3-1.7.7-.2.2-.4.4-.5.7L4.9 3.9C6.3 2.7 8 2 10 2c4.4 0 8 3.6 8 8 0 2-.7 3.7-1.9 5.1z"></path></symbol><symbol viewBox="0 0 16 16" id="icon-right"><path d="M5 4l2-2 6 6-6 6-2-2 4-4z"></path></symbol><symbol viewBox="0 0 24 24" id="icon-modified"><path opacity=".9" d="M14 11V8h-1.2c-.1-.4-.3-.8-.5-1.2l.9-.8L11 3.8l-.9.9c-.3-.2-.7-.4-1.1-.5V3H6v1.2c-.4.1-.8.3-1.2.5L4 3.8 1.8 6l.9.9c-.2.3-.4.7-.5 1.1H1v3h1.2c.1.4.3.8.5 1.2l-.9.8L4 15.2l.9-.9c.4.2.8.4 1.2.5V16h3v-1.2c.4-.1.8-.3 1.2-.5l.9.9 2.1-2.1-.9-.9c.2-.4.4-.8.5-1.2H14zm-6.5 1.5c-1.7 0-3-1.3-3-3s1.3-3 3-3 3 1.3 3 3-1.3 3-3 3z"></path><path opacity=".6" d="M24 17v-2h-1.1c-.1-.4-.2-.7-.4-1l.8-.8-1.4-1.4-.9.8c-.3-.2-.7-.3-1-.4V11h-2v1.1c-.4.1-.7.2-1 .4l-.8-.8-1.4 1.4.8.8c-.2.3-.3.7-.4 1H14v2h1.1c.1.4.2.7.4 1l-.8.8 1.4 1.4.8-.8c.3.2.7.3 1 .4V21h2v-1.1c.4-.1.7-.2 1-.4l.8.8 1.4-1.4-.7-.9c.2-.3.3-.7.4-1H24zm-5 1c-1.1 0-2-.9-2-2s.9-2 2-2 2 .9 2 2-.9 2-2 2z"></path></symbol><symbol viewBox="0 0 24 24" id="icon-saved"><path opacity=".9" d="M4 13l2-2 4 4 9-9 2 2-11 11z"></path></symbol><symbol viewBox="0 0 24 24" id="icon-saving"><path opacity=".5" d="M10 17h3v5h-3z"></path><path opacity=".9" d="M10 1h3v5h-3z"></path><path opacity=".2" d="M6 10v3H1v-3z"></path><path opacity=".7" d="M22 10v3h-5v-3z"></path><path opacity=".6" d="M14.39 16.45l2.12-2.121 3.536 3.535-2.121 2.121z"></path><path opacity=".1" d="M2.954 5.136l2.121-2.121L8.61 6.55 6.49 8.672z"></path><path opacity=".3" d="M6.49 14.328l2.12 2.122-3.535 3.535-2.121-2.121z"></path><path opacity=".8" d="M17.925 3.015l2.121 2.12-3.535 3.536-2.122-2.12z"></path></symbol></svg>'},function(e,t){e.exports='<script type="text/html" id="convert-action">\r\n  <span class="svda_question_action">\r\n      \x3c!-- ko if: allowChangeType --\x3e\r\n      <select onmousewheel="return false;" class="svda_current_type svd-main-color svd-light-bg-color" data-bind="foreach: availableTypes, event: { change: onConvertType }, attr: {title: title}">\r\n          <option class="svd-light-bg-color" data-bind="text: $data.name, value: $data.value, attr:{selected: $data.value === $parent.type ? \'selected\': null}"></option>\r\n      </select>\r\n      \x3c!-- /ko --\x3e\r\n      \x3c!-- ko ifnot: allowChangeType --\x3e\r\n      <span data-bind="text: text" class="svda_current_type svd-main-color"> </span>\r\n      \x3c!-- /ko --\x3e\r\n  </span>\r\n<\/script>\r\n\r\n<script type="text/html" id="action-separator">\r\n  <span class="svda_action_separator svd-dark-border-color">\r\n  </span>\r\n<\/script>\r\n\r\n<script type="text/html" id="fp-add-question">\r\n  <span class="svda_question_action">\r\n      <select onmousewheel="return false;" class="svda_current_type svd-main-color svd-light-bg-color" data-bind="event: { change: onAddQuestion }, attr: {title: title}">\r\n        <option class="svd-light-bg-color" data-bind="text: title, value: undefined"></option>\r\n        \x3c!-- ko foreach: availableTypes --\x3e\r\n          <option class="svd-light-bg-color" data-bind="text: $data.name || $data, value: $data.value || $data"></option>\r\n        \x3c!-- /ko --\x3e\r\n    </select>\r\n  </span>\r\n<\/script>\r\n'},function(e,t){e.exports='<div class="svd_container svd-light-bg-color" data-bind="css: themeCss">\r\n  \x3c!-- ko ifnot: haveCommercialLicense --\x3e\r\n  <div class="svd_commercial_container">\r\n    <a\r\n      class="svd_commercial_text"\r\n      href="https://surveyjs.io/Licenses#BuildSurvey"\r\n      target="_blank"\r\n    >\r\n      <span>\r\n        <svg-icon\r\n          class="svd-primary-icon"\r\n          params="iconName: \'icon-noncommercial\', size: 20"\r\n        ></svg-icon>\r\n      </span>\r\n      <span class="svd_commercial_product svd-main-color"\r\n        >SurveyJS Builder</span\r\n      >\r\n      <span class="svd_noncommercial_use svd-light-text-color"\r\n        >for non-commercial use only</span\r\n      >\r\n    </a>\r\n  </div>\r\n  \x3c!-- /ko  --\x3e\r\n  <ul\r\n    class="navbar-default container-fluid nav nav-tabs editor-tabs svd-light-bg-color"\r\n  >\r\n    \x3c!-- ko foreach: tabs --\x3e\r\n    <li\r\n      class="nav-item"\r\n      data-bind="css: {active: $parent.koViewType() == name}"\r\n    >\r\n      <a class="nav-link" href="#" data-bind="click: action, text: title"></a>\r\n    </li>\r\n    \x3c!-- /ko --\x3e\r\n  </ul>\r\n  <div class="panel card svd_content svd-dark-bg-color">\r\n    \x3c!-- ko foreach: tabs --\x3e\r\n    <div data-bind="visible: $parent.koViewType() == name">\r\n      \x3c!-- ko template: { name: template, data: data, afterRender: function(element, model) { $parent.onEditorTabRenderedCallback(name, element, model, $data); } } --\x3e\r\n      \x3c!-- /ko --\x3e\r\n    </div>\r\n    \x3c!-- /ko --\x3e\r\n  </div>\r\n  <div\r\n    data-bind="template: { name: \'questioneditor\', data: questionEditorWindow }"\r\n  ></div>\r\n</div>\r\n'},function(e,t){e.exports='<script type="text/html" id="jsoneditor">\r\n    <div data-bind="visible: !hasAceEditor">\r\n        <textarea class="svd_json_editor_area" data-bind="textInput:koText, disable: readOnly"></textarea>\r\n        \x3c!-- ko foreach: koErrors --\x3e\r\n        <div>\r\n            <span>Error: </span><span data-bind="text: text"></span>\r\n        </div>\r\n        \x3c!-- /ko  --\x3e\r\n    </div>\r\n    <div id="surveyjsJSONEditor" class="svd_json_editor"></div>\r\n<\/script>'},function(e,t){e.exports='<script type="text/html" id="surveys-manage">\r\n    <div class="svd-manage">\r\n        <div class="svd-manage-mask" data-bind="visible: isLoading"></div>\r\n        <div class="svd-manage-control svd-light-border-color">\r\n            <select onmousewheel="return false;" class="svd-manage-select" data-bind="visible: !isEditMode(), options: surveys,\r\n                        optionsText: \'name\',\r\n                        value: currentSurvey,\r\n                        optionsCaption: \'Choose survey to edit or start editing and survey will be saved automatically...\'"></select>\r\n            <input type="text" class="svd-manage-name" data-bind="visible: isEditMode, value: currentSurveyName, event: { keyup: nameEditorKeypress }"\r\n            />\r\n        </div>\r\n        <div class="svd-manage-buttons">\r\n            <span class="icon" data-bind="visible: currentSurvey, click: edit, css: cssEdit, attr: { title: titleEdit }"></span>\r\n            <span class="icon" data-bind="visible: !isEditMode(), click: add, css: cssAdd, attr: { title: titleAdd }"></span>\r\n            <span class="icon icon-delete" title="Delete current survey" data-bind="visible: !isEditMode() && !surveyId() && currentSurvey(), click:remove"></span>\r\n        </div>\r\n    </div>\r\n<\/script>\r\n<script type="text/html" id="attach-survey">\r\n    <a target="_blank" href="#" data-bind="attr: { href: action, title: title }">\r\n        <span class="icon" data-bind="css: innerCss"></span>\r\n        <span data-bind="text: title"></span>\r\n    </a>\r\n<\/script>'},function(e,t){e.exports='<script type="text/html" id="objecteditor">\r\n    <table class="table svd_table-nowrap svd_properties_grid">\r\n        <tbody data-bind="foreach: koProperties">\r\n            \x3c!-- ko template: { name: \'objecteditorproperty\', afterRender: $parent.koAfterRender } --\x3e\r\n            \x3c!-- /ko --\x3e\r\n        </tbody>\r\n    </table>\r\n<\/script>\r\n<script type="text/html" id="objecteditorproperty">\r\n    <tr data-bind="click: $parent.changeActiveProperty($data), css: {\'active\': $parent.koActiveProperty() == $data}">\r\n        <td width="50%">\r\n            <span data-bind="text: displayName, attr: {title: title || displayName}"></span>\r\n        </td>\r\n        <td class="svd-light-text-color form-group" width="50%">\r\n            <div data-bind="event: { keydown: $data.editor.keyDownHandler }">\r\n                \x3c!-- ko template: { name: \'propertyeditor-\' + editorTypeTemplate, data: $data.editor } --\x3e\r\n                \x3c!-- /ko --\x3e\r\n            </div>\r\n        </td>\r\n    </tr>\r\n<\/script>'},function(e,t){e.exports='<script type="text/html" id="svd-page-selector-template">\r\n  <div class="svd-page-selector svd_custom_select svd-light-bg-color svd-light-border-color">\r\n      <select onmousewheel="return false;" data-bind="options: pagesSelection, value: pageSelection, optionsText: getDisplayText"></select>\r\n  </div>\r\n  <div tabindex="0" class="svd-page-scroller-arrow" data-bind="key2click, clickNoFocus: moveLeft, attr: {title: getLocString(\'ed.moveLeft\')}">\r\n      <span>\r\n          <svg-icon class="svd-secondary-icon" params="iconName: \'icon-left\'"></svg-icon>\r\n      </span>\r\n  </div>\r\n\r\n  <div class="svd-pages" data-bind="sortable: {foreach: editor.pages, options: sortableOptions}, event: {wheel: onWheel}">\r\n      <div tabindex="0" class="svd-page svd-light-border-color" data-bind="key2click, css: $parent.getPageClass($data), clickNoFocus: $parent.onPageClick">\r\n          <span class="svd-page-name" data-bind="text: $parent.getDisplayText($data)"></span>\r\n          <span class="svd-page-actions-container">\r\n              <svg-icon data-bind="css: $parent.getPageMenuIconClass($data)" params="iconName: $parent.getPageMenuIconClass($data), size: 12"></svg-icon>\r\n              \x3c!-- ko ifnot: $parent.readOnly --\x3e\r\n              <div style="position: static">\r\n                  <div class="svd-page-actions svd-dark-border-color svd-light-bg-color" data-bind="visible: $parent.showActions($data)">\r\n                      <span class="svd-page-action" data-bind="click: function(model, event) {$parent.showPageSettings($data); event.stopPropagation();}, attr: {title: $parent.getLocString(\'ed.editPage\')}">\r\n                          <span>\r\n                              <svg-icon class="svd-primary-icon" params="iconName: \'icon-actioneditelement\'"></svg-icon>\r\n                          </span>\r\n                          <span class="svd-main-color" data-bind="text: $parent.getLocString(\'ed.edit\')"></span>\r\n                      </span>\r\n                      <span class="svd-page-action" data-bind="click: function(model, event) {$parent.deletePage($data); event.stopPropagation();}, attr: {title: $parent.getLocString(\'ed.deletePage\')}, visible: !$parent.isLastPage()">\r\n                          <svg-icon class="svd-primary-icon" params="iconName: \'icon-actiondelete\'"></svg-icon>\r\n                      </span>\r\n                      <span class="svda_action_separator svd-dark-border-color" data-bind="visible: !$parent.isLastPage()"></span>\r\n                      <span class="svd-page-action" data-bind="click: function(model, event) {$parent.copyPage($data); event.stopPropagation();}, attr: {title: $parent.getLocString(\'survey.Copy\')}">\r\n                          <svg-icon class="svd-primary-icon" params="iconName: \'icon-actioncopy\'"></svg-icon>\r\n                      </span>\r\n                  </div>\r\n              </div>\r\n              \x3c!-- /ko --\x3e\r\n          </span>\r\n      </div>\r\n  </div>\r\n  <div tabindex="0" class="svd-page-scroller-arrow" data-bind="key2click, clickNoFocus: moveRight, attr: {title: getLocString(\'ed.moveRight\')}">\r\n      <span>\r\n          <svg-icon class="svd-secondary-icon" params="iconName: \'icon-right\'"></svg-icon>\r\n      </span>\r\n  </div>\r\n  \x3c!-- ko ifnot: readOnly --\x3e\r\n  <div tabindex="0" class="svd-page-add" data-bind="key2click, clickNoFocus: addPage, attr: {title: getLocString(\'ed.addNewPage\')}">\r\n      <span>\r\n          <svg-icon class="svd-secondary-icon" params="iconName: \'icon-add\'"></svg-icon>\r\n      </span>\r\n  </div>\r\n  \x3c!-- /ko --\x3e\r\n<\/script>\r\n'},function(e,t){e.exports='<script type="text/html" id="propertyeditor-boolean">\r\n    <div class="sjs-cb-wrapper">\r\n        <label>\r\n            <div class="sjs-cb-container">\r\n                <input class="svd_editor_control" type="checkbox" data-bind="checked: koValue, disable: $data.readOnly">\r\n                <span class="checkmark" data-bind="css: { \'svd-main-background-color\': koValue, \'svd-light-background-color\': !koValue() }"></span>\r\n                \x3c!-- ko if: $data.isDiplayNameVisible --\x3e\r\n                <span class="sjs-cb-label" data-bind="text: $data.displayName"></span>\r\n                \x3c!-- /ko --\x3e\r\n            </div>\r\n        </label>\r\n    </div>\r\n<\/script>'},function(e,t){e.exports='<script type="text/html" id="propertyeditor-cells">\r\n    \x3c!-- ko template: { name: \'propertyeditor-modal\', data: $data } --\x3e\r\n    \x3c!-- /ko --\x3e\r\n<\/script>\r\n<script type="text/html" id="propertyeditorcontent-cells">\r\n    <div class="panel card">\r\n        <div data-bind="visible:!koCanEdit(), text: $root.getLocString(\'pe.cellsEmptyRowsColumns\')"></div>\r\n        <div  data-bind="visible: koCanEdit" style="overflow:auto">\r\n            <table class="table">\r\n                <thead>\r\n                    <tr>\r\n                        <th></th>\r\n                        \x3c!-- ko foreach: koColumns --\x3e\r\n                        <th>\r\n                            <span data-bind="text:$data"></span>\r\n                        </th>\r\n                        \x3c!-- /ko --\x3e\r\n                    </tr>\r\n                </thead>\r\n                <tbody>\r\n                    \x3c!-- ko foreach: koRows  --\x3e\r\n                    <tr>\r\n                        <td>\r\n                        <span data-bind="text:rowText"></span>\r\n                        </td>\r\n                        \x3c!-- ko foreach: koCells --\x3e\r\n                        <td style="min-width:120px" class="form-group">\r\n                            <textarea rows="2" cols="25" class="form-control" data-bind="textInput:text"></textarea>\r\n                        </td>\r\n                        \x3c!-- /ko --\x3e\r\n                    </tr>\r\n                    \x3c!-- /ko --\x3e\r\n                </tbody>\r\n            </table>\r\n        </div>\r\n    </div>\r\n<\/script>'},function(e,t){e.exports='<script type="text/html" id="propertyeditor-condition">\r\n  \x3c!-- ko template: { name: \'propertyeditor-modal\', data: $data } --\x3e\r\n  \x3c!-- /ko --\x3e\r\n<\/script>\r\n\r\n<script type="text/html" id="propertyeditorcontent-condition">\r\n  <div class="propertyeditor-condition">\r\n      <div class="form-inline form-group">\r\n          <div class="form-control svd_custom_select">\r\n              <select onmousewheel="return false;" style="max-width:200px" data-bind="value: koAddConditionQuestion">\r\n                <option data-bind="text: addConditionQuestionOptions, attr: {title: addConditionQuestionOptions}" ></option>\r\n                \x3c!-- ko foreach: koAddConditionQuestions --\x3e\r\n                <option data-bind="value: name, text: (text || \'\').substring(0, 80), attr: {title: text}" ></option>\r\n                \x3c!-- /ko --\x3e\r\n              </select>\r\n          </div>\r\n          <div class="form-control svd_custom_select">\r\n              <select onmousewheel="return false;" data-bind="options:availableOperators, optionsValue: \'name\', optionsText: \'text\', value:koAddConditionOperator"></select>\r\n          </div>\r\n          <input class="form-control" type="text" data-bind="textInput:koAddConditionValue, enable: koAddContionValueEnabled" style="width:120px"\r\n          />\r\n          <input type="button" class="form-control btn btn-primary" data-bind="enable: koCanAddCondition, click: onConditionAddClick, value: koAddConditionButtonText"\r\n          />\r\n          <div class="svd_wrap_elements" data-bind="visible:koHasValueSurvey">\r\n              <survey-widget params="survey: koValueSurvey"></survey-widget>\r\n          </div>\r\n      </div>\r\n      \x3c!-- ko if: $parent.hasAceEditor --\x3e\r\n      <span data-bind="text:$data.getLocString(\'pe.aceEditorHelp\')"></span>\r\n      <div id="expression-ace-editor" style="height: 200px; width: 100%;" data-bind="value:koValue, aceEditor:{questions: $parent.availableQuestions, question: $data.editingObject, editor: $parent}"></div>\r\n      \x3c!-- /ko --\x3e\r\n\r\n      \x3c!-- ko if: !$parent.hasAceEditor --\x3e\r\n      <textarea class="svd-dark-border-color" data-bind="value:koTextValue" rows="4" autofocus="autofocus"></textarea>\r\n      \x3c!-- /ko --\x3e\r\n\r\n      \x3c!-- <div class="assistant">\r\n          <div class="assistant-title" data-bind="text:$data.getLocString(\'pe.assistantTitle\')"></div>\r\n          <div class="assistant-content" data-bind="foreach:availableQuestions">\r\n              <div class="assistant-item" data-bind=" text:name, click:function () { $parent.insertQuestion($data, $element); } "></div>\r\n          </div>\r\n      </div> --\x3e\r\n      \x3c!-- ko if: showHelpText --\x3e\r\n      <span data-bind="text:$data.getLocString(\'pe.conditionHelp\')" style="white-space:normal "></span>\r\n      <div data-bind="visible: $data.hasLocString(\'pe.conditionShowMoreUrl\')">\r\n          <a data-bind="attr: { href: $data.getLocString(\'pe.conditionShowMoreUrl\')}, text:$data.getLocString(\'pe.showMore\')" target="_blank"></a>\r\n      </div>\r\n      \x3c!-- /ko --\x3e\r\n  </div>\r\n<\/script>\r\n'},function(e,t){e.exports='<script type="text/html" id="propertyeditor-custom">\r\n    \x3c!-- ko template: { name: "propertyeditor-customcontent", data: $data, afterRender: $data.koAfterRender } --\x3e\x3c!-- /ko --\x3e\r\n<\/script>\r\n<script type="text/html" id="propertyeditor-customcontent"><div></div><\/script>'},function(e,t){e.exports='<script type="text/html" id="propertyeditor-value">\r\n    \x3c!-- ko template: { name: \'propertyeditor-modal\', data: $data } --\x3e\r\n    \x3c!-- /ko --\x3e\r\n<\/script>\r\n\r\n<script type="text/html" id="propertyeditorcontent-value">\r\n    <form>\r\n        <div class="svd_wrap_elements">\r\n            <survey-widget params="survey: koSurvey"></survey-widget>\r\n        </div>\r\n    </form>\r\n<\/script>'},function(e,t){e.exports='<script type="text/html" id="propertyeditor-dropdown">\r\n    <div class="svd_custom_select svd_property_editor_dropdown">\r\n        <select onmousewheel="return false;" class="form-control svd_editor_control" data-bind="value: koValue, disable: readOnly, options: koChoices,  optionsValue: \'value\',  optionsText: \'text\', hasFocus: koHasFocus"  style="width:100%"></select>\r\n    </div>\r\n<\/script>'},function(e,t){e.exports='<script type="text/html" id="propertyeditor-error">\r\n    <div class="alert alert-danger" role="alert" data-bind="visible:koDisplayError">\r\n        <span class="glyphicon glyphicon-exclamation-sign" aria-hidden="true"></span>\r\n        <span class="sr-only">Error:</span>\r\n        <span data-bind="text:koErrorText"></span>\r\n    </div>\r\n<\/script>'},function(e,t){e.exports='<script type="text/html" id="propertyeditor-expression">\r\n    \x3c!-- ko template: { name: \'propertyeditor-modal\', data: $data } --\x3e\r\n    \x3c!-- /ko --\x3e\r\n<\/script>\r\n\r\n<script type="text/html" id="propertyeditorcontent-expression">\r\n    <div class="propertyeditor-expression">\r\n        \x3c!-- ko if: $parent.hasAceEditor --\x3e\r\n        <span data-bind="text:$root.getLocString(\'pe.aceEditorHelp\')"></span>\r\n        <div id="expression-ace-editor" style="height: 400px; width: 100%;" data-bind="value:koValue, aceEditor: {questions: $parent.availableQuestions, question: $data.editingObject, editor: $parent}"></div>\r\n        \x3c!-- /ko --\x3e\r\n\r\n        \x3c!-- ko if: !$parent.hasAceEditor --\x3e\r\n        <textarea class="svd-dark-border-color" data-bind="value:koTextValue" rows="4" autofocus="autofocus"></textarea>\r\n        \x3c!-- /ko --\x3e\r\n        \x3c!-- <div class="assistant">\r\n            <div class="assistant-title" data-bind="text:$root.getLocString(\'pe.assistantTitle\')"></div>\r\n            <div class="assistant-content" data-bind="foreach:availableQuestions">\r\n                <div class="assistant-item" data-bind="text:name, click:function () { $parent.insertQuestion($data, $element); } "></div>\r\n            </div>\r\n        </div> --\x3e\r\n        \x3c!-- ko if: showHelpText --\x3e        \r\n            <span data-bind="text:$root.getLocString(\'pe.expressionHelp\')" style="white-space:normal"></span>\r\n            \x3c!-- <div>\r\n                <a data-bind="text:$root.getLocString(\'pe.showMore\')" target="_blank" href="https://surveyjs.io/Documentation/LibraryParameter?id=Question&parameter=visibleIf"></a>\r\n            </div> --\x3e\r\n        \x3c!-- /ko --\x3e\r\n    </div>\r\n<\/script>'},function(e,t){e.exports='<script type="text/html" id="propertyeditor-html">\r\n  \x3c!-- ko template: { name: \'propertyeditor-modal\', data: $data } --\x3e\x3c!-- /ko --\x3e\r\n<\/script>\r\n\r\n<script type="text/html" id="propertyeditorcontent-html">\r\n  <textarea class="form-control" data-bind="value:koValue, disable: readOnly" style="width:100%;height:auto" rows="10" autofocus="autofocus"></textarea>\r\n<\/script>\r\n'},function(e,t){e.exports='<script type="text/html" id="propertyeditor-itemvalues">\r\n    \x3c!-- ko template: { name: \'propertyeditor-modal\' } --\x3e\r\n    \x3c!-- /ko --\x3e\r\n<\/script>\r\n<script type="text/html" id="propertyeditorcontent-itemvalues">\r\n    <div style="margin-bottom:3px" data-bind="visible: koIsList() && koShowTextView()">\r\n        <button class="btn btn-sm btn-xs" data-bind="css: {\'btn-primary\': koActiveView() === \'form\', \'btn-link\': koActiveView() !== \'form\'}, click:changeToFormViewClick, text: $root.getLocString(\'pe.formEntry\')"></button>\r\n        <button class="btn btn-sm btn-xs" data-bind="css: {\'btn-primary\': koActiveView() !== \'form\', \'btn-link\': koActiveView() === \'form\'}, click:changeToTextViewClick, text: $root.getLocString(\'pe.fastEntry\')"></button>\r\n    </div>\r\n    <div data-bind="visible: koActiveView() == \'form\'">\r\n        \x3c!-- ko template: { name: \'propertyeditorcontent-nesteditems\', data: $data } --\x3e\r\n        \x3c!-- /ko --\x3e\r\n    </div>\r\n    <div data-bind="visible:koIsList() && koActiveView() != \'form\'">\r\n        <textarea class="form-control" data-bind="textInput: koItemsText" style="overflow-y: auto; overflow-x:hidden; max-height:400px; min-height:250px; width:100%"></textarea>\r\n    </div>\r\n<\/script>'},function(e,t){e.exports='<script type="text/html" id="propertyeditor-matrixdropdowncolumns">\r\n    \x3c!-- ko template: { name: \'propertyeditor-modal\', data: $data } --\x3e\r\n    \x3c!-- /ko --\x3e\r\n<\/script>\r\n<script type="text/html" id="propertyeditorcontent-matrixdropdowncolumns">\r\n    \x3c!-- ko template: { name: \'propertyeditorcontent-nesteditems\', data: $data } --\x3e\r\n    \x3c!-- /ko --\x3e\r\n<\/script>'},function(e,t){e.exports='<script type="text/html" id="propertyeditor-modal">\r\n    <div class="input-group form-group" data-bind="visible:!$data.isEditable">\r\n        <a tabindex="0" class="form-control" data-bind="key2click, click: $data.onShowModal, attr: {\'data-target\' : modalNameTarget}">\r\n            <span data-bind="text: koText"></span>\r\n        </a>\r\n        <div class="input-group-addon">\r\n            <span class="glyphicon glyphicon-edit" aria-hidden="true" data-bind="click: $data.onShowModal, attr: {\'data-target\' : modalNameTarget}, text: $root.getLocString(\'pe.edit\')"></span>\r\n        </div>\r\n    </div>\r\n    <div class="input-group form-group" data-bind="visible:$data.isEditable">\r\n        <input class="form-control svd_editor_control" type="text" data-bind="value: koValue" />\r\n        <div class="input-group-addon">\r\n            <span class="glyphicon glyphicon-edit" aria-hidden="true" data-bind="click: $data.onShowModal, attr: {\'data-target\' : modalNameTarget}, text: $root.getLocString(\'pe.edit\')"></span>\r\n        </div>\r\n    </div>\r\n\r\n    <div data-bind="attr: {id : modalName}" class="modal" role="dialog">\r\n        <div class="modal-dialog">\r\n            <div class="modal-content">\r\n                <div class="modal-header">\r\n                    <button type="button" class="close" data-bind="click: onResetClick">&times;</button>\r\n                    <h4 class="modal-title" data-bind="text:$data.koTitleCaption"></h4>\r\n                </div>\r\n                <div class="modal-body svd_notopbottompaddings">\r\n                    \x3c!-- ko template: {name: \'propertyeditor-error\', data: $data} --\x3e\r\n                    \x3c!-- /ko --\x3e\r\n                    \x3c!-- ko template: { name: \'propertyeditor-modalcontent\', data: $data } --\x3e\r\n                    \x3c!-- /ko --\x3e\r\n                </div>\r\n                <div class="modal-footer">\r\n                    <input type="button" class="btn btn-primary" data-bind="visible: $data.koShowApplyButton, click: $data.onApplyClick, value: $root.getLocString(\'pe.apply\')"\r\n                        style="width:100px" />\r\n                    <input type="button" class="btn btn-default btn-secondary" data-bind="click: $data.onOkClick, value: $root.getLocString(\'pe.ok\')"\r\n                        style="width:100px" />\r\n                    <input type="button" class="btn btn-primary" data-bind="click: $data.onResetClick, value: $root.getLocString(\'pe.cancel\')"\r\n                        style="width:100px" />\r\n                </div>\r\n            </div>\r\n        </div>\r\n    </div>\r\n<\/script>'},function(e,t){e.exports='<script type="text/html" id="propertyeditor-modalcontent">\r\n    <div data-bind="html: $data.koHtmlTop"></div>\r\n    \x3c!-- ko template: { name: \'propertyeditorcontent-\' + editorTypeTemplate, data: $data, afterRender: $data.koAfterRender } --\x3e\r\n    \x3c!-- /ko --\x3e\r\n    <div data-bind="html: $data.koHtmlBottom"></div>\r\n<\/script>'},function(e,t){e.exports='<script type="text/html" id="propertyeditor-multiplevalues">\r\n    \x3c!-- ko template: { name: \'propertyeditor-modal\', data: $data } --\x3e\r\n    \x3c!-- /ko --\x3e\r\n<\/script>\r\n<script type="text/html" class="btn-xs" id="propertyeditorcontent-multiplevalues">\r\n    <div style="max-height:300px; overflow-y:scroll;">\r\n        \x3c!-- ko foreach: { data: koItems, as: \'item\'}  --\x3e\r\n        <div class="sjs-cb-wrapper" data-bind="style:{display: \'inline-block\'">\r\n            <label>\r\n                <div class="sjs-cb-container">\r\n                    <input type="checkbox" data-bind="attr: {value: item.value}, checked: $parent.koEditingValue" />\r\n                    <span class="checkmark" data-bind="css: $parent.getBackgroundCls(item.value)">\r\n                        <span class="check"></span>\r\n                    </span>\r\n                    <span class="sjs-cb-label" style="position: static;" data-bind="text: item.text"></span>\r\n                </div>\r\n            </label>\r\n        </div>\r\n        \x3c!-- /ko --\x3e\r\n    </div>\r\n<\/script>'},function(e,t){e.exports='<script type="text/html" id="propertyeditorcontent-nested">\r\n    <div style="padding-left: 10px;">\r\n        <button type="button" class="btn btn-sm btn-secondary" data-bind="click: onCancelEditItemClick">\r\n            <span class="glyphicon glyphicon-list-alt"></span>\r\n        </button>\r\n        <span data-bind="text: koEditorName"></span>\r\n      \x3c!-- ko template: { name: "questioneditor-content", data: koEditItem().itemEditor } --\x3e\r\n      \x3c!-- /ko --\x3e\r\n  </div>\r\n<\/script>\r\n'},function(e,t){e.exports='<script type="text/html" id="propertyeditorcontent-nesteditems">\r\n    <div data-bind="visible: koIsList"  style="overflow-y: auto; overflow-x:hidden; max-height:400px;min-height:200px">\r\n        <table class="svd_items_table">\r\n            <thead>\r\n                <tr>\r\n                    <th></th>\r\n                    \x3c!-- ko foreach: columns --\x3e\r\n                    <th data-bind="text: text"></th>\r\n                    \x3c!-- /ko --\x3e\r\n                    <th></th>\r\n                </tr>\r\n            </thead>\r\n            <tbody data-bind="sortable: { foreach: koItems, options: { handle: \'.svd-drag-handle\', animation: 150 } }">\r\n                <tr>\r\n                    <td class="svd-itemvalue-actions-container">\r\n                        <div class="svd-drag-handle svd-itemvalue-action">\r\n                            ☰\r\n                        </div>\r\n                        <button type="button" class="btn btn-default btn-secondary svd-textitems-edit svd-itemvalue-action" data-bind="click: $parent.onEditItemClick">\r\n                            <span class="glyphicon glyphicon-edit" data-bind="text: $root.getLocString(\'pe.edit\')"></span>\r\n                        </button>\r\n                    </td>\r\n                    \x3c!-- ko foreach: cells --\x3e\r\n                    <td class="form-group">\r\n                        \x3c!-- ko template: { name: \'propertyeditor\', data: objectProperty.editor } --\x3e\r\n                        \x3c!-- /ko --\x3e\r\n                    </td>\r\n                    \x3c!-- /ko --\x3e\r\n                    <td class="svd-textitems-column">\r\n                        <button type="button" class="btn btn-sm btn-danger" data-bind="visible: $parent.koAllowAddRemoveItems, click: $parent.onDeleteClick">\r\n                            <span class="glyphicon glyphicon-remove" aria-hidden="true"></span>\r\n                        </button>\r\n                    </td>\r\n                </tr>\r\n            </tbody>\r\n        </table>\r\n        <div class="svd-items-control-footer" data-bind="visible: koAllowAddRemoveItems">\r\n            <input type="button" class="btn btn-primary" data-bind="click: onAddClick, value: $root.getLocString(\'pe.addNew\')" />\r\n            <input type="button" class="btn btn-danger" data-bind="click: onClearClick, value: $root.getLocString(\'pe.removeAll\')" />\r\n        </div>\r\n    </div>\r\n    \x3c!-- ko if: !koIsList() --\x3e\r\n    \x3c!-- ko template: { name: "propertyeditorcontent-nested", data: $data } --\x3e\r\n    \x3c!-- /ko --\x3e\r\n    \x3c!-- /ko --\x3e\r\n<\/script>'},function(e,t){e.exports='<script type="text/html" id="propertyeditor-number">\r\n    <input class="form-control svd_editor_control" type="number" data-bind="value: koValue, disable: readOnly" style="width:100%" />\r\n<\/script>'},function(e,t){e.exports='<script type="text/html" id="propertyeditor-restfull">\r\n  \x3c!-- ko template: { name: \'propertyeditor-modal\', data: $data } --\x3e\r\n  \x3c!-- /ko --\x3e\r\n<\/script>\r\n\r\n<script type="text/html" id="propertyeditorcontent-restfull">\r\n  <form>\r\n      <div class="form-group" data-bind="foreach: koItems">\r\n          <div class="form-group">\r\n              <label data-bind="attr: {for: name}, text: $root.getLocString(\'pe.\'+name)"></label>\r\n              <input type="text" data-bind="attr: {id: name}, value:koValue" class="form-control"></input>\r\n          </div>\r\n      </div>\r\n      <div class="form-group">\r\n          <label for="titleName">\r\n              <span data-bind="text:$root.getLocString(\'pe.testService\')"></span>\r\n          </label>\r\n          <div class="form-control svd_custom_select" style="display: block;">\r\n              <select onmousewheel="return false;" data-bind="options: question.visibleChoices, optionsText: \'text\', optionsValue: \'value\', optionsCaption: question.optionsCaption"></select>\r\n          </div>\r\n      </div>\r\n  </form>\r\n<\/script>\r\n'},function(e,t){e.exports='<script type="text/html" id="propertyeditor-string">\r\n    <input class="form-control svd_editor_control" type="text" data-bind="value: koValue, disable: readOnly, attr: {placeholder: defaultValue}" style="width:100%" />\r\n<\/script>'},function(e,t){e.exports='<script type="text/html" id="propertyeditor-text">\r\n  \x3c!-- ko template: { name: \'propertyeditor-modal\', data: $data } --\x3e\x3c!-- /ko --\x3e\r\n<\/script>\r\n\r\n<script type="text/html" id="propertyeditorcontent-text">\r\n  <textarea class="form-control" data-bind="value:koValue, disable: readOnly, attr: {rows: isDiplayNameVisible ? \'2\' : \'5\'}" style="width:100%;height:auto" autofocus="autofocus"></textarea>\r\n<\/script>\r\n'},function(e,t){e.exports='<script type="text/html" id="propertyeditor-textitems">\r\n    \x3c!-- ko template: { name: \'propertyeditor-modal\', data: $data } --\x3e\r\n    \x3c!-- /ko --\x3e\r\n<\/script>\r\n<script type="text/html" id="propertyeditorcontent-textitems">\r\n    \x3c!-- ko template: { name: \'propertyeditorcontent-nesteditems\', data: $data } --\x3e\r\n    \x3c!-- /ko --\x3e\r\n<\/script>'},function(e,t){e.exports='<script type="text/html" id="propertyeditor-triggers">\r\n    \x3c!-- ko template: { name: \'propertyeditor-modal\', data: $data } --\x3e\r\n    \x3c!-- /ko --\x3e\r\n<\/script>\r\n<script type="text/html" id="propertyeditorcontent-triggers">\r\n    <div class="propertyeditor-triggers">\r\n        <div class="input-group form-group">\r\n            <div class="input-group-addon first-addon" data-bind="visible: koAllowAddRemoveItems">\r\n                <div class="ddmenu-container">\r\n                    <div style="-webkit-tap-highlight-color:rgba(0,0,0,0)" data-bind="trueclick"></div>\r\n\r\n                    <div class="ddmenu">\r\n                        <span tabindex="0" data-bind="attr: { title: $root.getLocString(\'pe.addNew\') }">\r\n                            <span class="glyphicon glyphicon-plus svd-main-color"></span>\r\n                        </span>\r\n                        <div tabindex="0" data-bind="trueclick"></div>\r\n                        <ul class="svd-light-bg-color">\r\n                            \x3c!-- ko foreach: koTriggers --\x3e\r\n                            <li>\r\n                                <a data-bind="click: $parent.onAddClick, text:$data.text"></a>\r\n                            </li>\r\n                            \x3c!-- /ko  --\x3e\r\n                        </ul>\r\n                    </div>\r\n                </div>\r\n            </div>\r\n            <div class="form-control svd_custom_select">\r\n                <select onmousewheel="return false;" data-bind="options: koItems, optionsText: \'koText\', value: koSelected"></select>\r\n            </div>\r\n            <span data-bind="visible: koAllowAddRemoveItems, attr: { title: $root.getLocString(\'pe.delete\') }, enable: koSelected() != null, click: onDeleteClick"\r\n                class="input-group-addon btn-danger">\r\n                <span class="glyphicon glyphicon-remove"></span>\r\n            </span>\r\n        </div>\r\n        <div data-bind="visible: koSelected() == null">\r\n            <div data-bind="visible: koQuestionNames().length == 0, text: $root.getLocString(\'pe.noquestions\')"></div>\r\n            <div data-bind="visible: koQuestionNames().length > 0, text: $root.getLocString(\'pe.createtrigger\')"></div>\r\n        </div>\r\n        <div data-bind="visible: koSelected() != null">\r\n            <div data-bind="with: koSelected">\r\n                \x3c!-- ko if: conditionEditor != null --\x3e\r\n                    \x3c!-- ko template: { name: \'propertyeditorcontent-condition\', data: conditionEditor } --\x3e\r\n                    \x3c!-- /ko --\x3e\r\n                \x3c!-- /ko --\x3e\r\n                \x3c!-- ko if: conditionEditor == null --\x3e\r\n                <div class="form-inline form-group">\r\n                    <span class="input-group" data-bind="text: $root.getLocString(\'pe.triggerOn\')"></span>\r\n                    <div class="form-control svd_custom_select">\r\n                        <select onmousewheel="return false;" data-bind="options:$parent.koQuestionNames, value: koName"></select>\r\n                    </div>\r\n                    <div class="form-control svd_custom_select">\r\n                        <select onmousewheel="return false;" data-bind="options:availableOperators, optionsValue: \'name\', optionsText: \'text\', value:koOperator"></select>\r\n                    </div>\r\n                    <input class="form-control" type="text" data-bind="visible: koRequireValue, value:koValue" />\r\n                </div>\r\n                \x3c!-- /ko --\x3e\r\n                \x3c!-- ko if: koType() == \'visibletrigger\' --\x3e\r\n                <div class="row">\r\n                    <div class="col-lg-6 col-sm-6">\r\n                        \x3c!-- ko template: { name: \'propertyeditor-triggersitems\', data: pages } --\x3e\r\n                        \x3c!-- /ko --\x3e\r\n                    </div>\r\n                    <div class="col-lg-6 col-sm-6">\r\n                        \x3c!-- ko template: { name: \'propertyeditor-triggersitems\', data: questions } --\x3e\r\n                        \x3c!-- /ko --\x3e\r\n                    </div>\r\n                </div>\r\n                \x3c!-- /ko --\x3e\r\n                \x3c!-- ko if: koType() == \'completetrigger\' --\x3e\r\n                <div class="row">\r\n                    <div style="margin: 10px" data-bind="text: $root.getLocString(\'pe.triggerCompleteText\')"></div>\r\n                </div>\r\n                \x3c!-- /ko --\x3e\r\n                \x3c!-- ko if: koType() == \'setvaluetrigger\' --\x3e\r\n                <div class="row col-lg-12 col-sm-12">\r\n                    <div data-bind="text: $root.getLocString(\'pe.triggerSetToName\')"></div>\r\n                </div>\r\n                <div class="row">\r\n                    <div class="col-lg-6 col-sm-6">\r\n                        <div class="form-group">\r\n                            <input class="form-control" type="text" data-bind="value:kosetToName, visible: koisVariable" />\r\n                            <div class="form-control svd_custom_select" data-bind="visible: !koisVariable()">\r\n                                <select onmousewheel="return false;" data-bind="options:koQuestions, value: kosetToName, optionsText: \'text\', optionsValue: \'name\', optionsCaption: setToNameOptions"></select>\r\n                            </div>\r\n                        </div>\r\n                    </div>\r\n                    <div class="col-lg-6 col-sm-6">\r\n                        \x3c!-- ko template: { name: "propertyeditor-boolean", data: { koValue: koisVariable, displayName: $root.getLocString(\'pe.triggerIsVariable\'), isDiplayNameVisible: true } } --\x3e\r\n                        \x3c!-- /ko --\x3e\r\n                    </div>\r\n                    <div class="col-lg-12 col-sm-12">\r\n                        <div class="form-group" data-bind="visible:koisVariable">\r\n                            <div data-bind="text: $root.getLocString(\'pe.triggerSetValue\')"></div>\r\n                            <input class="form-control" type="text" data-bind="value:kosetValue" />\r\n                        </div>\r\n                        <div class="form-group" data-bind="visible:koHasSurvey">\r\n                            <survey-widget params="survey: koSurvey"></survey-widget>\r\n                        </div>\r\n                    </div>\r\n                </div>\r\n                \x3c!-- /ko --\x3e\r\n                \x3c!-- ko if: koType() == \'copyvaluetrigger\' --\x3e\r\n                <div class="row">\r\n                    <div class="col-lg-6 col-sm-6">\r\n                        <div class="form-group">\r\n                            <div data-bind="text: $root.getLocString(\'pe.triggerSetToName\')"></div>\r\n                            <input class="form-control" type="text" data-bind="value:kosetToName" />\r\n                        </div>\r\n                    </div>\r\n                    <div class="col-lg-6 col-sm-6">\r\n                        <div class="form-group">\r\n                            <div data-bind="text: $root.getLocString(\'pe.triggerFromName\')"></div>\r\n                            <input class="form-control" type="text" data-bind="value:kofromName" />\r\n                        </div>\r\n                    </div>\r\n                </div>\r\n                \x3c!-- /ko --\x3e\r\n                \x3c!-- ko if: koType() == \'runexpressiontrigger\' --\x3e\r\n                <div class="row">\r\n                    <div class="form-group col-lg-12 col-sm-12">\r\n                        <div data-bind="text: $root.getLocString(\'pe.triggerSetToName\')"></div>\r\n                        <input class="form-control" type="text" data-bind="value:kosetToName" />\r\n                        <div data-bind="text: $root.getLocString(\'pe.triggerRunExpression\')"></div>\r\n                        <textarea class="form-control" type="text" data-bind="value:korunExpression" rows="3"></textarea>\r\n                    </div>\r\n                </div>\r\n                \x3c!-- /ko --\x3e\r\n            </div>\r\n        </div>\r\n    </div>\r\n<\/script>'},function(e,t){e.exports='<script type="text/html" id="propertyeditor-triggersitems">\r\n  <div>\r\n      <div class="form-group" data-bind="text: title"></div>\r\n      <div class="form-group input-group">\r\n          <select onmousewheel="return false;" class="form-control" multiple="multiple" data-bind="options:koChoosen, value: koChoosenSelected, optionsText: \'text\'"></select>\r\n          <span class="input-group-addon btn-danger" data-bind="click: deleteItem">\r\n              <span class="glyphicon glyphicon-remove"></span>\r\n          </span>\r\n      </div>\r\n      <div class="form-group input-group">\r\n          <div class="form-control svd_custom_select">\r\n              <select onmousewheel="return false;" data-bind="options:koObjects, value: koSelected, optionsText: \'text\'"></select>\r\n          </div>\r\n          <span class="input-group-addon btn-default" data-bind="click: addItem">\r\n              <span class="glyphicon glyphicon-plus svd-main-color"></span>\r\n          </span>\r\n      </div>\r\n  </div>\r\n<\/script>\r\n'},function(e,t){e.exports='<script type="text/html" id="propertyeditor-validators">\r\n    \x3c!-- ko template: { name: \'propertyeditor-modal\', data: $data } --\x3e\r\n    \x3c!-- /ko --\x3e\r\n<\/script>\r\n<script type="text/html" id="propertyeditorcontent-validators">\r\n    <div class="propertyeditor-validators">\r\n        <div class="input-group form-group">\r\n            <div class="input-group-addon first-addon" data-bind="visible: koAllowAddRemoveItems">\r\n                <div class="ddmenu-container">\r\n                    <div style="-webkit-tap-highlight-color:rgba(0,0,0,0)" data-bind="trueclick"></div>\r\n\r\n                    <div class="ddmenu">\r\n                        <span tabindex="0">\r\n                            <span class="glyphicon glyphicon-plus svd-main-color"></span>\r\n                        </span>\r\n\r\n                        <div tabindex="0" data-bind="trueclick"></div>\r\n                        <ul class="svd-light-bg-color">\r\n                            \x3c!-- ko foreach: koValidators --\x3e\r\n                            <li>\r\n                                <a href="#" data-bind="click: $parent.onAddClick">\r\n                                    <span data-bind="text:$data.text"></span>\r\n                                </a>\r\n                            </li>\r\n                            \x3c!-- /ko  --\x3e\r\n                        </ul>\r\n                    </div>\r\n                </div>\r\n            </div>\r\n            <div class="form-control svd_custom_select">\r\n                <select onmousewheel="return false;" data-bind="options: koItems, optionsText: \'text\', value: koSelected"></select>\r\n            </div>\r\n            <span class="input-group-addon btn-danger" data-bind="visible: koAllowAddRemoveItems, enable: koSelected() != null, click: onDeleteClick">\r\n                <span class="glyphicon glyphicon-remove"></span>\r\n            </span>\r\n        </div>\r\n        <div data-bind="template: { name: \'objecteditor\', data: selectedObjectEditor }"></div>\r\n    </div>\r\n<\/script>'},function(e,t){e.exports='<script type="text/html" id="propertyeditor">\r\n    <label data-bind="text:displayName, visible: showDisplayNameOnTop"></label>\r\n    \x3c!-- ko template: {name: \'propertyeditor-error\', data: $data} --\x3e\r\n    \x3c!-- /ko --\x3e\r\n    \x3c!-- ko template: {name: $data.contentTemplateName, data: $data} --\x3e\r\n    \x3c!-- /ko --\x3e\r\n<\/script>'},function(e,t){e.exports='<script type="text/html" id="questioneditor-content">\r\n    \x3c!-- ko if: $data.useTabsInElementEditor --\x3e\r\n    <ul class="nav nav-tabs modal-tabs" data-bind="foreach: koTabs">\r\n        <li class="nav-item" role="presentation" data-bind="css: {active: $parent.koActiveTab() == $data.name}, click: $parent.onTabClick">\r\n            <a class="nav-link" data-bind="css: {active: $parent.koActiveTab() == $data.name}">\r\n                <span data-bind="text:$data.title"></span>\r\n            </a>\r\n        </li>\r\n    </ul>\r\n    \x3c!-- ko foreach: koTabs --\x3e\r\n    <div data-bind="if: $parent.koActiveTab() === $data.name" style="margin-top:5px">\r\n        \x3c!-- ko template: { name: $data.htmlTemplate, data: $data.templateObject, afterRender: $data.koAfterRender } --\x3e\r\n        \x3c!-- /ko --\x3e\r\n    </div>\r\n    \x3c!-- /ko  --\x3e\r\n    \x3c!-- /ko  --\x3e\r\n    \x3c!-- ko ifnot: $data.useTabsInElementEditor --\x3e\r\n    <svd-accordion params="tabs: koTabs, template: \'svd-editor-tab-template\'"></svd-accordion>\r\n    \x3c!-- /ko  --\x3e\r\n<\/script>\r\n\r\n<script type="text/html" id="svd-editor-tab-template">\r\n    \x3c!-- ko template: { name: $data.htmlTemplate, data: $data.templateObject, afterRender: $data.koAfterRender } --\x3e\r\n    \x3c!-- /ko --\x3e\r\n<\/script>'},function(e,t){e.exports='<script type="text/html" id="questioneditor">\r\n    <div id="surveyquestioneditorwindow" class="modal" data-bind="with:koEditor">\r\n        <div class="modal-dialog">\r\n            <div class="modal-content">\r\n                <div class="modal-header">\r\n                    <button type="button" class="close" data-bind="click: onResetClick">&times;</button>\r\n                    <h4 class="modal-title" data-bind="text:koTitle"></h4>\r\n                </div>\r\n                <div class="modal-body svd_notopbottompaddings">\r\n                    \x3c!-- ko template: { name: "questioneditor-content", data: $data } --\x3e\r\n                    \x3c!-- /ko --\x3e\r\n                </div>\r\n                <div class="modal-footer">\r\n                    <input type="button" class="btn btn-primary" data-bind="visible: koShowApplyButton, click: onApplyClick, value: $root.getLocString(\'pe.apply\')"\r\n                        style="width:100px" />\r\n                    <input type="button" class="btn btn-default btn-secondary" data-bind="click: onOkClick, value: $root.getLocString(\'pe.ok\')"\r\n                        style="width:100px" />\r\n                    <input type="button" class="btn btn-primary" data-bind="click: onResetClick, value: $root.getLocString(\'pe.cancel\')" style="width:100px"\r\n                    />\r\n                </div>\r\n            </div>\r\n        </div>\r\n    </div>\r\n<\/script>'},function(e,t){e.exports='<script type="text/html" id="questioneditortab">\r\n  <div class="row" data-bind="css: \'svd-popup-editor-tab-\' + name">\r\n      <div class="col-sm-12">\r\n          \x3c!-- ko foreach: properties.rows --\x3e\r\n          <div class="form-group">\r\n              \x3c!-- ko foreach: properties --\x3e\r\n                  <div data-bind="event: { keydown: objectProperty.editor.keyDownHandler }">\r\n                  \x3c!-- ko template: { name: \'propertyeditor\', data: objectProperty.editor } --\x3e\x3c!-- /ko --\x3e\r\n                  </div>\r\n              \x3c!-- /ko  --\x3e\r\n          </div>\r\n          \x3c!-- /ko  --\x3e\r\n      </div>\r\n  </div>\r\n<\/script>\r\n'},function(e,t){e.exports='<script type="text/html" id="surveyembeding">\r\n    <div class="row">\r\n        <div class="form-control svd_custom_select svd_embed_tab">\r\n            <select onmousewheel="return false;" data-bind="value:koLibraryVersion">\r\n                <option value="angular" data-bind="text: $root.getLocString(\'ew.angular\')"></option>\r\n                <option value="jquery" data-bind="text: $root.getLocString(\'ew.jquery\')"></option>\r\n                <option value="knockout" data-bind="text: $root.getLocString(\'ew.knockout\')"></option>\r\n                <option value="react" data-bind="text: $root.getLocString(\'ew.react\')"></option>\r\n                <option value="vue" data-bind="text: $root.getLocString(\'ew.vue\')"></option>\r\n            </select>\r\n        </div>\r\n        <div class="form-control svd_custom_select svd_embed_tab">\r\n            <select onmousewheel="return false;" data-bind="value:koScriptUsing">\r\n                <option value="bootstrap" data-bind="text: $root.getLocString(\'ew.bootstrap\')"></option>\r\n                <option value="standard" data-bind="text: $root.getLocString(\'ew.standard\')"></option>\r\n            </select>\r\n        </div>\r\n        <div class="form-control svd_custom_select svd_embed_tab">\r\n            <select onmousewheel="return false;" data-bind="value:koShowAsWindow">\r\n                <option value="page" data-bind="text: $root.getLocString(\'ew.showOnPage\')"></option>\r\n                <option value="window" data-bind="text: $root.getLocString(\'ew.showInWindow\')"></option>\r\n            </select>\r\n        </div>\r\n        <label class="checkbox-inline form-check-label" data-bind="visible:koHasIds">\r\n            <input type="checkbox" data-bind="checked:koLoadSurvey" />\r\n            <span data-bind="text: $root.getLocString(\'ew.loadFromServer\')"></span>\r\n        </label>\r\n    </div>\r\n    <div class="panel card">\r\n        <div class="panel-heading card-header" data-bind="text: $root.getLocString(\'ew.titleScript\')"></div>\r\n        <div data-bind="visible:hasAceEditor">\r\n            <div id="surveyEmbedingHead" style="height:70px;width:100%"></div>\r\n        </div>\r\n        <textarea data-bind="visible:!hasAceEditor, text: koHeadText" style="height:70px;width:100%"></textarea>\r\n    </div>\r\n    <div class="panel card" data-bind="visible: koVisibleHtml">\r\n        <div class="panel-heading card-header" data-bind="text: $root.getLocString(\'ew.titleHtml\')"></div>\r\n        <div data-bind="visible:hasAceEditor">\r\n            <div id="surveyEmbedingBody" style="height:30px;width:100%"></div>\r\n        </div>\r\n        <textarea data-bind="visible:!hasAceEditor, text: koBodyText" style="height:30px;width:100%"></textarea>\r\n    </div>\r\n    <div class="panel card">\r\n        <div class="panel-heading card-header" data-bind="text: $root.getLocString(\'ew.titleJavaScript\')"></div>\r\n        <div data-bind="visible:hasAceEditor">\r\n            <div id="surveyEmbedingJava" style="height:300px;width:100%"></div>\r\n        </div>\r\n        <textarea data-bind="visible:!hasAceEditor, text: koJavaText" style="height:300px;width:100%"></textarea>\r\n    </div>\r\n<\/script>'},function(e,t){e.exports='<script type="text/html" id="surveylive">\r\n  <div data-bind="visible: koIsRunning()">\r\n      <span data-bind="visible: koPages().length > 1 && koShowPagesInTestSurveyTab()">\r\n          <label  for="testSurveyPageChanged" data-bind="text: selectPageText"></label>\r\n          <span id="testSurveyPageChanged">\r\n              <select onmousewheel="return false;" class="form-control" data-bind="options: koPages, optionsText: \'title\', optionsValue: \'page\', value: koActivePage, optionsAfterRender: setPageDisable"></select>\r\n          </span>\r\n      </span>\r\n       <span data-bind="visible: koShowDefaultLanguageInTestSurveyTab">\r\n          <label  for="testSurveyLocale" data-bind="text: localeText"></label>\r\n          <span id="testSurveyLocale">\r\n              <select onmousewheel="return false;" class="form-control" data-bind="options: koLanguages, value: koActiveLanguage, optionsText:\'text\', optionsValue: \'value\'"></select>\r\n          </span>\r\n      </span>\r\n      <label data-bind="visible: koShowInvisibleElementsInTestSurveyTab">\r\n          <div class="sjs-cb-container">\r\n              <input class="svd_editor_control" type="checkbox" data-bind="checked: survey.showInvisibleElements">\r\n              <span class="checkmark" data-bind="css: { \'svd-main-background-color\': survey.showInvisibleElements, \'svd-light-background-color\': !survey.showInvisibleElements }"></span>\r\n              <span class="sjs-cb-label" data-bind="text: showInvisibleElementsText"></span>\r\n          </div>\r\n       </label>\r\n  </div>\r\n  <survey-widget params="survey: koSurvey"></survey-widget>\r\n  \x3c!-- ko ifnot: koIsRunning --\x3e\r\n  <div class="svd_test_results">\r\n      <div class="svd_results_header">\r\n          <button class="btn btn-primary" data-bind="click: selectTestClick, text: testSurveyAgainText"></button>\r\n          <h2 data-bind="text: surveyResultsText"></h2>\r\n      </div>\r\n      <ul class="navbar-default container-fluid nav nav-tabs editor-tabs">\r\n          <li class="nav-item active" data-bind="css: {active: koResultViewType() === \'table\'}">\r\n              <a class="nav-link" href="#" data-bind="click: selectTableClick, text: $root.getLocString(\'ed.surveyResultsTable\')"></a>\r\n          </li>\r\n          <li class="nav-item" data-bind="css: {active: koResultViewType() === \'text\'}">\r\n              <a class="nav-link" href="#" data-bind="click: selectJsonClick, text: $root.getLocString(\'ed.surveyResultsJson\')"></a>\r\n          </li>\r\n      </ul>\r\n      <div class="svd_results_text svd-light-bg-color" data-bind="visible: koResultViewType() === \'text\'">\r\n          <div data-bind="html: koResultText"></div>\r\n      </div>\r\n      <div class="svd_results_table svd-light-bg-color" data-bind="visible: koResultViewType() === \'table\'">\r\n          <table>\r\n              <thead>\r\n                  <tr class="svd-light-background-color">\r\n                      <th class="svd-dark-border-color" data-bind="text: resultsTitle"></th>\r\n                      <th class="svd-dark-border-color" data-bind="text: resultsName"></th>\r\n                      <th class="svd-dark-border-color" data-bind="text: resultsValue"></th>\r\n                      <th class="svd-dark-border-color" data-bind="text: resultsDisplayValue"></th>\r\n                  </tr>\r\n              </thead>\r\n              <tbody>\r\n                  \x3c!-- ko foreach: koResultData --\x3e\r\n                  \x3c!-- ko template: "survey-result-table-row" --\x3e\r\n                  \x3c!-- /ko --\x3e\r\n                  \x3c!-- /ko --\x3e\r\n              </tbody>\r\n          </table>\r\n      </div>\r\n  </div>\r\n  \x3c!-- /ko --\x3e\r\n<\/script>\r\n<script type="text/html" id="survey-result-table-row">\r\n  <tr data-bind="click: function() { isNode && collapsed(!collapsed()); }">\r\n      <td class="svd-dark-border-color">\r\n          \x3c!-- ko if: isNode --\x3e\r\n          <span class="survey-result-marker" data-bind="css: { \'survey-result-marker--expanded\': !collapsed() }">▶</span>\r\n          \x3c!-- /ko --\x3e\r\n          <span data-bind="text: title"></span></td>\r\n      <td class="svd-dark-border-color" data-bind="text: name"></td>\r\n      <td class="svd-dark-border-color"><div class="survey-result-value" data-bind="text: getString(value)"></div></td>\r\n      <td class="svd-dark-border-color" data-bind="text: getString(displayValue)"></td>\r\n  </tr>\r\n  \x3c!-- ko if: isNode && !collapsed() --\x3e\r\n  \x3c!-- ko foreach: data --\x3e\r\n  \x3c!-- ko template: "survey-result-table-row" --\x3e\r\n  \x3c!-- /ko --\x3e\r\n  \x3c!-- /ko --\x3e\r\n  \x3c!-- /ko --\x3e\r\n<\/script>\r\n'},function(e,t){e.exports='<script type="text/html" id="se-tab-designer">\r\n    <div\r\n    class="row svd_survey_designer"\r\n  >\r\n    <div\r\n      class="col-lg-2 col-md-2 col-sm-1 col-xs-1 svd_toolbox svd-dark-bg-color"\r\n    >\r\n      \x3c!-- ko if: toolbox.koHasCategories --\x3e\r\n      <div\r\n        class="panel-group"\r\n        role="tablist"\r\n        data-bind="foreach: toolbox.koCategories"\r\n      >\r\n        <div class="panel panel-info">\r\n          <div\r\n            class="svd-toolbox-category-header"\r\n            role="tab"\r\n            data-bind="click: expand"\r\n          >\r\n            <span\r\n              data-bind="css: { \'svd-main-color\': !koCollapsed() }, text: name"\r\n            ></span>\r\n            \x3c!-- ko if: koCollapsed --\x3e\r\n            <svg-icon\r\n              class="icon-toolbox-arrow"\r\n              params="iconName: \'icon-arrow_down_10x10\', size: 10"\r\n            ></svg-icon>\r\n            \x3c!-- /ko --\x3e\r\n            \x3c!-- ko ifnot: koCollapsed --\x3e\r\n            <svg-icon\r\n              class="icon-toolbox-arrow svd-primary-icon"\r\n              params="iconName: \'icon-arrow_up_10x10\', size: 10"\r\n            ></svg-icon>\r\n            \x3c!-- /ko --\x3e\r\n          </div>\r\n          <div\r\n            role="tabpanel"\r\n            data-bind="css: { \'panel-collapse collapse\': koCollapsed}"\r\n          >\r\n            \x3c!-- ko foreach: items --\x3e\r\n            <div\r\n              tabindex="0"\r\n              draggable="true"\r\n              class="svd_toolbox_item svd-light-border-color"\r\n              data-bind="css: \'svd_toolbox_item_\' + iconName, key2click, clickNoFocus: $root.clickToolboxItem, event:{dragstart: function(el, e) { $root.draggingToolboxItem($data, e); return true;}, dragend: function(el, e) { $root.dragEnd(); }}"\r\n            >\r\n              <span data-bind="attr: {title: title}">\r\n                <svg-icon params="iconName: iconName"></svg-icon>\r\n              </span>\r\n              <span\r\n                class="svd_toolbox_item_text hidden-sm hidden-xs"\r\n                data-bind="text:title"\r\n              ></span>\r\n            </div>\r\n            \x3c!-- /ko  --\x3e\r\n          </div>\r\n        </div>\r\n      </div>\r\n      \x3c!-- /ko  --\x3e\r\n      \x3c!-- ko if: !toolbox.koHasCategories() --\x3e\r\n      <div\r\n        class="svd_toolbox_title hidden-sm hidden-xs"\r\n        data-bind="text: $root.getLocString(\'ed.toolbox\')"\r\n      ></div>\r\n      \x3c!-- ko foreach: toolbox.koItems --\x3e\r\n      <div\r\n        tabindex="0"\r\n        draggable="true"\r\n        class="svd_toolbox_item svd-light-border-color"\r\n        data-bind="css: \'svd_toolbox_item_\' + iconName, key2click, clickNoFocus: $root.clickToolboxItem, event:{dragstart: function(el, e) { $root.draggingToolboxItem($data, e); return true;}, dragend: function(el, e) { $root.dragEnd(); }}"\r\n      >\r\n        <span data-bind="attr: {title: title}">\r\n          <svg-icon params="iconName: iconName"></svg-icon>\r\n        </span>\r\n        <span\r\n          class="svd_toolbox_item_text hidden-sm hidden-xs"\r\n          data-bind="text:title"\r\n        ></span>\r\n      </div>\r\n      \x3c!-- /ko  --\x3e\r\n      \x3c!-- /ko  --\x3e\r\n    </div>\r\n    <svd-splitter params="minLeft: 100, minRight: 600"></svd-splitter>\r\n    <div\r\n      class="col-xs-11 svd_editors"\r\n      data-bind="css: {\'col-lg-7 col-md-7 col-sm-8\': koShowPropertyGrid, \'col-lg-10 col-md-10 col-sm-11\': !koShowPropertyGrid(), \'svd_wide\': !koShowPropertyGrid()}"\r\n    >\r\n      <div class="svd_toolbar">\r\n        \x3c!-- ko foreach: toolbarItems --\x3e\r\n        <span\r\n          tabindex="0"\r\n          class="svd_action"\r\n          data-bind="css: $data.css, visible: visible, attr: { id: id }"\r\n        >\r\n          \x3c!-- ko template: { name: $data.template || \'svd-toolbar-button\', data: $data.data || $data } --\x3e\r\n          \x3c!-- /ko --\x3e\r\n        </span>\r\n        \x3c!-- /ko --\x3e\r\n      </div>\r\n      <pages-editor params="editor:$data" data-bind="visible: koShowPagesToolbox">\r\n      </pages-editor>\r\n      <div\r\n        class="svd_questions_editor svd-light-bg-color"\r\n        id="scrollableDiv"\r\n        data-bind="style: { height: koDesignerHeight }, event: { dragover: dragOverQuestionsEditor, drop: dropOnQuestionsEditor }"\r\n      >\r\n        <div id="surveyjs"></div>\r\n        \x3c!-- ko if: isCurrentPageEmpty --\x3e\r\n        <div\r\n          class="empty-message"\r\n          data-bind="text: $root.getLocString(\'survey.dropQuestion\')"\r\n        ></div>\r\n        \x3c!-- /ko --\x3e\r\n      </div>\r\n    </div>\r\n    <svd-splitter params="minLeft: 600, minRight: 150"></svd-splitter>\r\n    <div\r\n      class="col-lg-3 col-md-3 col-sm-3 hidden-xs svd_properties svd-light-border-color svd-light-bg-color"\r\n      data-bind="visible: koShowPropertyGrid"\r\n    >\r\n      <div class="svd_object_selector svd-light-border-color">\r\n        <div class="svd_custom_select">\r\n          <select\r\n            onmousewheel="return false;"\r\n            id="objectSelector"\r\n            class="form-control"\r\n            data-bind="options: koObjects, optionsText: \'text\', value: koSelectedObject"\r\n          ></select>\r\n        </div>\r\n        <span\r\n          data-bind="click: editCurrentObject, attr: { title: $root.getLocString(\'ed.editSelObject\')}"\r\n        >\r\n          <svg-icon\r\n            class="svd-primary-icon icon-edit"\r\n            params="iconName: \'icon-edit\', size:24"\r\n          ></svg-icon>\r\n        </span>\r\n      </div>\r\n      <div\r\n        class="svd_object_editor"\r\n        data-bind="style: {height: koDesignerHeight}"\r\n      >\r\n        <div\r\n          data-bind="template: { name: \'objecteditor\', data: selectedObjectEditor }"\r\n        ></div>\r\n      </div>\r\n    </div>\r\n  </div>\r\n<\/script>\r\n<script type="text/html" id="se-tab-test">\r\n  <div data-bind="style: {width: koTestSurveyWidth}">\r\n    <div id="surveyjsExample" data-bind="template: { name: \'surveylive\', data: surveyLive }"></div>\r\n  </div>\r\n<\/script>\r\n'},function(e,t){e.exports='<script type="text/html" id="svd-toolbar-button">\r\n    <button type="button" class="btn btn-primary" data-bind="enable: $data.enabled || true, click: action, css: $data.innerCss">\r\n        <span data-bind="text: title"></span>\r\n    </button>\r\n<\/script>\r\n<script type="text/html" id="svd-toolbar-options">\r\n    <div class="ddmenu-container toolbar-options btn-group inline">\r\n        <div style="-webkit-tap-highlight-color:rgba(0,0,0,0)" data-bind="trueclick"></div>\r\n\r\n        <div class="ddmenu">\r\n            <span class="btn btn-primary" tabindex="0">\r\n                <span data-bind="text: title"></span>\r\n                <span class="caret"></span>\r\n            </span>\r\n            <div tabindex="0" data-bind="trueclick"></div>\r\n            <ul class="svd-light-bg-color">\r\n                \x3c!-- ko foreach: items --\x3e\r\n                <li data-bind="css: $data.css">\r\n                    <a href="#" data-bind="click: action, text: title"></a>\r\n                </li>\r\n                \x3c!-- /ko --\x3e\r\n            </ul>\r\n        </div>\r\n    </div>\r\n<\/script>\r\n<script type="text/html" id="svd-toolbar-state">\r\n    <span class="icon">\r\n        <svg-icon class="icon-status" params="iconName: innerCss, size: 24"></svg-icon>\r\n    </span>\r\n    <span class="svd-light-text-color" data-bind="text: title"></span>\r\n<\/script>'},function(e,t){e.exports='<script type="text/html" id="translation">\r\n    <div class="form-group svd-translation-tab">\r\n        <div class="form-group svd-language-select">\r\n        <div class="svd_custom_select svd-light-bg-color svd-light-border-color"> \r\n            <select onmousewheel="return false;" data-bind="options: koAvailableLanguages, value: koSelectedLanguageToAdd, optionsText:\'text\', optionsCaption: $data.selectLanguageOptionsCaption"></select>\r\n        </div>\r\n        <div class="svd-translation-tab-show-all-strings-container">\r\n        \x3c!-- ko template: { name: \'propertyeditor-boolean\', data: {  koValue: koShowAllStrings, displayName: $data.showAllStringsText, isDiplayNameVisible: true } } --\x3e\r\n        \x3c!-- /ko --\x3e\r\n        </div>\r\n        <div class="svd_custom_select svd-light-bg-color svd-light-border-color"> \r\n            <select onmousewheel="return false;" data-bind="options: koFilteredPages, value: koFilteredPage, optionsValue: \'value\', optionsText:\'text\'"></select>\r\n        </div>\r\n        </div>\r\n        <div>\r\n        \x3c!-- ko foreach: {data: $data.koLocales, as: \'item\' } --\x3e\r\n        <label data-bind="visible: !!item.locale">\r\n        \x3c!-- ko template: { name: \'propertyeditor-boolean\', data: {  koValue: item.koVisible, displayName: $parent.getLocaleName($data.locale), isDiplayNameVisible: true } } --\x3e\r\n        \x3c!-- /ko --\x3e\r\n        </label>\r\n        \x3c!-- /ko --\x3e\r\n        </div>\r\n        <div class="form-group">\r\n            <button class="btn btn-primary"  type="button" data-bind="visible:$data.koCanMergeLocaleWithDefault, text:$data.koMergeLocaleWithDefaultText, click:$data.koMergeLocaleWithDefault"></button>\r\n            <button class="btn btn-primary"  type="button" data-bind="text:$data.exportToCSVText, click:$data.koExportToSCVFile"></button>\r\n            <button class="btn btn-primary"  type="button" onclick="this.getElementsByTagName(\'input\')[0].click();">\r\n            <input type="file" style="display:none;" accept=".csv" data-bind="event: { change: function() { $data.koImportFromSCVFile($element) } }" />\r\n            <span data-bind="text:$data.importFromCSVText"></span>\r\n            </button>\r\n        </div>\r\n        <div class="svd-translation-no-strings svd-light-text-color" data-bind="visible:$data.koIsEmpty">\r\n            <span data-bind="text:$data.noStringsText"></span>\r\n        </div>\r\n        \x3c!-- ko ifnot: $data.koIsEmpty --\x3e\r\n        \x3c!-- ko template: { name: "translation-group", data: $data.koRoot } --\x3e\r\n        \x3c!-- /ko --\x3e    \r\n        \x3c!-- /ko --\x3e    \r\n    </div>    \r\n<\/script>\r\n<script type="text/html" id="translation-group">\r\n    <div class="svd-translation-strings svd-light-border-color svd-light-bg-color">\r\n        <table class="svd_items_table" data-bind="visible: $data.locItems.length > 0">\r\n            <thead>\r\n                <tr>\r\n                    <th></th>\r\n                    \x3c!-- ko foreach: $data.koLocales --\x3e\r\n                    <th data-bind="visible: $data.koVisible, text: $parent.getLocaleName($data.locale), style: {width: $parent.locWidth}"></th>\r\n                    \x3c!-- /ko --\x3e\r\n                </tr>\r\n            </thead>\r\n            <tbody data-bind="foreach: {data: $data.locItems, as: \'item\' }">\r\n                <tr>\r\n                    <td style="max-width: 200px; min-width:100px"><span data-bind="text:item.text"></span></td>\r\n                    \x3c!-- ko foreach: $parent.koLocales --\x3e\r\n                    <td data-bind="visible: $data.koVisible, style: {width: $data.koVisible ? $parent.locWidth : \'0px\'}">\r\n                        <textarea class="form-control" style="width:100%" data-bind="visible: $data.koVisible, value:item.koValue($data.locale), attr: {placeholder: !$data.locale? item.defaultValue : \'\'}"></textarea>\r\n                    </td>\r\n                    \x3c!-- /ko --\x3e\r\n                </tr>\r\n            </tbody>\r\n        </table>\r\n\r\n        <div class="svd-translation-panel-strings" data-bind="foreach: {data: $data.groups, as: \'group\' }">\r\n            <div class="svd-toolbox-category-header" role="tab" data-bind="click: function(){ group.koExpanded(!group.koExpanded())}">\r\n                <span class="svd-translation-panel-strings-title"data-bind="css: { \'svd-main-color\': group.koExpanded() }, text: group.name"></span>\r\n                \x3c!-- ko ifnot: koExpanded --\x3e\r\n                <svg-icon class="icon-toolbox-arrow" params="iconName: \'icon-arrow_down_10x10\', size: 10"></svg-icon>\r\n                \x3c!-- /ko --\x3e\r\n                \x3c!-- ko if: koExpanded --\x3e\r\n                <svg-icon class="icon-toolbox-arrow svd-primary-icon" params="iconName: \'icon-arrow_up_10x10\', size: 10"></svg-icon>\r\n                \x3c!-- /ko --\x3e\r\n            </div>\r\n            <div data-bind="visible: koExpanded">\r\n            \x3c!-- ko template: { name: "translation-group", data: group } --\x3e\r\n            \x3c!-- /ko --\x3e\r\n            <div>\r\n        </div>\r\n    </div>\r\n<\/script>'},function(e,t){e.exports='<div>\n    \x3c!-- ko foreach: actions --\x3e\n    \x3c!-- ko if: !$data.template --\x3e\n    <span class="svda_question_action svd-main-color" data-bind="key2click, clickNoFocus: function() { onClick($parent.question); }, attr: {title: text, tabindex: $data.needFocus === undefined || !!$data.needFocus ? 0 : undefined }">\n        <span>\n            <svg-icon class="svd-primary-icon" data-bind="css: $parent.getStyle($data)" params="iconName: $parent.getStyle($data)"></svg-icon>\n        </span>\n        <span data-bind="text: $data.hasTitle ? text: \'\'"></span>\n    </span>\n    \x3c!-- /ko --\x3e\n    \x3c!-- ko if: !!$data.template --\x3e\n    \x3c!-- ko template: template --\x3e\n    \x3c!-- /ko --\x3e\n    \x3c!-- /ko --\x3e\n    \x3c!-- /ko --\x3e\n</div>'},function(e,t){e.exports='<div class="svda-content">\n  <span class="svda-image-editor">\n    <span\n      class="edit-image-item"\n      data-bind="click: chooseImage, clickBubble: false, attr: { title: getLocString(\'pe.edit\') }"\n    >\n      <svg-icon\n        class="svd-primary-icon"\n        params="iconName: \'icon-inplaceedit\', size: 12"\n      ></svg-icon>\n    </span>\n  </span>\n  <span\n    class="svda-drag-handle"\n    data-bind="attr: { title: getLocString(\'pe.move\') }"\n  >\n    <svg-icon\n      class="svd-primary-icon"\n      params="iconName: \'icon-inplacedraggable\', size: 12"\n    ></svg-icon>\n  </span>\n  \x3c!--ko ifnot: isLastItem --\x3e\n  <span\n    class="svda-delete-item"\n    data-bind="click: deleteItem, attr: { title: getLocString(\'pe.delete\') }"\n  >\n    <svg-icon\n      class="svd-primary-icon"\n      params="iconName: \'icon-inplacedelete\', size: 12"\n    ></svg-icon>\n  </span>\n  \x3c!-- /ko --\x3e\n</div>\n'},function(e,t){e.exports='<div class="svda-content">\n  <span\n    class="svda-title-editor-content"\n    data-bind="visible: isEditing"\n    style="display: none;"\n  >\n    <input\n      data-bind="textInput: editingName, event: { keyup: nameEditorKeypress, blur: postEdit }"\n      style="border-top: none; border-left: none; border-right: none; outline: none; background-color: transparent; display: inline-block;"\n    />\n    <span\n      class="svda-edit-button"\n      data-bind="click: postEdit, enable: editingName() != \'\'"\n    >\n      <svg-icon\n        class="svd-primary-icon"\n        params="iconName: \'icon-inplacecheck\', size: 12"\n      ></svg-icon>\n    </span>\n    \x3c!-- <span class="svda-edit-button" data-bind="click: cancelEdit">✕</span> --\x3e\n  </span>\n  <span\n    class="svda-title-editor-content svda-title-editor-start"\n    data-bind="visible: !isEditing()"\n  >\n    <span style="display: none;" data-bind="text: editingName"></span>\n    <span\n      class="edit-survey-name"\n      data-bind="click: startEdit, attr: { title: getLocString(\'pe.edit\') }"\n    >\n      <svg-icon\n        class="svd-primary-icon"\n        params="iconName: \'icon-inplaceedit\', size: 12"\n      ></svg-icon>\n    </span>\n  </span>\n  \x3c!-- ko if: isDraggable --\x3e\n  <span\n    class="svda-drag-handle"\n    data-bind="attr: { title: getLocString(\'pe.move\') }, visible: !isEditing()"\n  >\n    <svg-icon\n      class="svd-primary-icon"\n      params="iconName: \'icon-inplacedraggable\', size: 12"\n    ></svg-icon>\n  </span>\n  \x3c!-- /ko --\x3e\n  \x3c!--ko ifnot: isLastItem --\x3e\n  <span\n    class="svda-delete-item"\n    data-bind="click: deleteItem, attr: { title: getLocString(\'pe.delete\') }, visible: !isEditing()"\n  >\n    <svg-icon\n      class="svd-primary-icon"\n      params="iconName: \'icon-inplacedelete\', size: 12"\n    ></svg-icon>\n  </span>\n  \x3c!-- /ko --\x3e\n</div>\n'},function(e,t){e.exports='<div>\n    \x3c!-- ko foreach: actions --\x3e\n    \x3c!-- ko if: !$data.template --\x3e\n    <span class="svda_question_action svd-main-color" data-bind="key2click, clickNoFocus: function() { onClick($parent.question); }, attr: {title: text, tabindex: $data.needFocus === undefined || !!$data.needFocus ? 0 : undefined }">\n        <span>\n            <svg-icon class="svd-primary-icon" data-bind="css: $parent.getStyle($data)" params="iconName: $parent.getStyle($data)"></svg-icon>\n        </span>\n        <span data-bind="text: $data.hasTitle ? text: \'\'"></span>\n    </span>\n    \x3c!-- /ko --\x3e\n    \x3c!-- ko if: !!$data.template --\x3e\n    \x3c!-- ko template: template --\x3e\n    \x3c!-- /ko --\x3e\n    \x3c!-- /ko --\x3e\n    \x3c!-- /ko --\x3e\n</div>'},function(e,t){e.exports='<div class="svda-content">\n  <span\n    class="svda-title-editor-content"\n    data-bind="visible: isEditing"\n    style="display: none;"\n  >\n    <input\n      data-bind="textInput: editingName, event: { keyup: nameEditorKeypress, blur: postEdit }"\n      style="border-top: none; border-left: none; border-right: none; outline: none; background-color: transparent; display: inline-block; margin: -6px;"\n    />\n    <span\n      class="svda-edit-button"\n      data-bind="click: postEdit, enable: editingName() != \'\'"\n    >\n      <svg-icon\n        class="svd-primary-icon"\n        params="iconName: \'icon-inplacecheck\', size: 12"\n      ></svg-icon>\n    </span>\n    \x3c!-- <span class="svda-edit-button" data-bind="click: cancelEdit">✕</span> --\x3e\n  </span>\n  <span\n    class="svda-title-editor-content svda-title-editor-start"\n    data-bind="visible: !isEditing()"\n  >\n    <span style="display: none;" data-bind="text: editingName"></span>\n    <span\n      class="edit-survey-name"\n      data-bind="click: startEdit, attr: { title: getLocString(\'pe.edit\') }"\n    >\n      <svg-icon\n        class="svd-primary-icon"\n        params="iconName: \'icon-inplaceedit\', size: 12"\n      ></svg-icon>\n    </span>\n  </span>\n  \x3c!--ko ifnot: isLastItem --\x3e\n  <span\n    class="svda-delete-item"\n    data-bind="click: deleteItem, attr: { title: getLocString(\'pe.delete\') }, visible: !isEditing()"\n  >\n    <svg-icon\n      class="svd-primary-icon"\n      params="iconName: \'icon-inplacedelete\', size: 12"\n    ></svg-icon>\n  </span>\n  \x3c!-- /ko --\x3e\n</div>\n'},function(e,t){e.exports='<div class="svda-select-items-editor">\n  <div class="svda-select-items-title" data-bind="click: toggle">\n    <span\n      class="svd-main-color"\n      data-bind="text: getLocString(\'pe.editChoices\')"\n    ></span>\n  </div>\n  <div\n    class="svda-select-items-content svd-dark-border-color svd-light-bg-color"\n    data-bind="visible: isExpanded"\n  >\n    <div class="svda-select-items-collection">\n      \x3c!-- ko foreach: { data: choices, afterRender: choicesRendered } --\x3e\n      <div class="item_editable item_draggable">\n        <span data-bind="text: text"></span>\n        <span>\n          <item-editor\n            params="name: $parent.valueName, valueChanged: $parent.valueChanged, target: $data, model: $data, item: $data, question: $parent.question, editor: $parent.editor"\n          ></item-editor>\n        </span>\n      </div>\n      \x3c!-- /ko --\x3e\n    </div>\n    \x3c!-- ko if: question.hasOther --\x3e\n    <div class="item_editable">\n      <span data-bind="text: otherText"></span>\n      <span>\n        <item-editor\n          params="name: &quot;otherText&quot;, target: question, model: question, valueChanged: otherValueChanged, item: question.otherItem, question: question, editor: editor"\n        ></item-editor>\n      </span>\n    </div>\n    \x3c!-- /ko --\x3e\n    <div\n      class="svda-add-new-item"\n      data-bind="click: addItem, attr: { title: getLocString(\'pe.addItem\') }"\n    >\n      <svg-icon\n        class="svd-primary-icon"\n        params="iconName: \'icon-inplaceplus\', size: 12"\n      ></svg-icon>\n    </div>\n  </div>\n</div>\n'},function(e,t){e.exports='<div class="svda-content">\n    <span class="svda-title-editor-content" data-bind="visible: isEditing" style="display: none;">\n        <input data-bind="textInput: editingName, event: { keyup: nameEditorKeypress, blur: postEdit }" style="border-top: none; border-left: none; border-right: none; outline: none; background-color: transparent; display: inline-block;"\n        />\n        <span class="svda-edit-button" data-bind="click: postEdit, enable: editingName() != \'\'">\n            <svg-icon class="svd-primary-icon" params="iconName: \'icon-inplacecheck\', size: 12"></svg-icon>\n        </span>\n        \x3c!-- <span class="svda-edit-button" data-bind="click: cancelEdit">✕</span> --\x3e\n    </span>\n    <span class="svda-title-editor-content svda-title-editor-start" data-bind="visible: !isEditing()">\n        <span style="display: none;" data-bind="text: editingName"></span>\n        <span class="edit-survey-name" data-bind="click: startEdit, attr: { title: getLocString(\'pe.edit\') }">\n            <svg-icon class="svd-primary-icon" params="iconName: \'icon-inplaceedit\', size: 12"></svg-icon>\n        </span>\n    </span>\n</div>'},function(e,t,o){e.exports=o(86)+" "+o(87)+"\n"+o(89)+" "+o(90)+"\n"+o(120)+" "+o(119)+"\n"+o(123)+"\n"+o(117)+"\n"+o(116)+"\n"+o(118)+"\n"+o(115)+"\n"+o(91)+"\n"+o(96)+"\n"+o(99)+"\n"+o(93)+"\n"+o(98)+"\n"+o(100)+"\n"+o(104)+"\n"+o(105)+"\n"+o(101)+"\n"+o(102)+o(103)+"\n"+o(107)+"\n"+o(108)+"\n"+o(95)+"\n"+o(109)+"\n"+o(110)+"\n"+o(92)+"\n"+o(111)+"\n"+o(112)+"\n"+o(113)+"\n"+o(114)+"\n"+o(94)+"\n"+o(88)+" "+o(122)+"\n"+o(85)+"\n"+o(106)+o(97)+"\n"+o(84)+" "+o(121)+"\n"},function(e,t){e.exports='<div>\n    \x3c!-- ko foreach: tabs --\x3e\n    <div class="svd-accordion-tab-header" role="tab" data-bind="click: toggle">\n        <span data-bind="css: { \'svd-main-color\': !collapsed() }, text: title"></span>\n        \x3c!-- ko if: collapsed --\x3e\n        <svg-icon class="icon-toolbox-arrow" params="iconName: \'icon-arrow_down_10x10\', size: 10"></svg-icon>\n        \x3c!-- /ko --\x3e\n        \x3c!-- ko ifnot: collapsed --\x3e\n        <svg-icon class="icon-toolbox-arrow svd-primary-icon" params="iconName: \'icon-arrow_up_10x10\', size: 10"></svg-icon>\n        \x3c!-- /ko --\x3e\n    </div>\n    <div class="svd-accordion-tab-content" role="tab" data-bind="ifnot: collapsed">\n        \x3c!-- ko template: { name: template, data: data } --\x3e\n        \x3c!-- /ko --\x3e\n    </div>\n    \x3c!-- /ko --\x3e\n</div>'},function(e,t,o){"use strict";var r=o(1),n=(o.n(r),o(20));o.d(t,"a",function(){return i});var i=function(){function e(){this.isProcessingImmediately=!1,this.timeoutId=-1,this._readOnly=r.observable(!1),this.koText=r.observable(""),this.koErrors=r.observableArray();var e=this;this.koText.subscribe(function(t){e.onJsonEditorChanged()})}return e.prototype.init=function(e){if(this.hasAceEditor){this.aceEditor=ace.edit(e),this.aceEditor.setReadOnly(this.readOnly);var t=this;this.aceEditor.setShowPrintMargin(!1),this.aceEditor.getSession().on("change",function(){t.onJsonEditorChanged()}),this.aceEditor.getSession().setUseWorker(!0),n.a.newLineChar=this.aceEditor.session.doc.getNewLineCharacter()}},Object.defineProperty(e.prototype,"hasAceEditor",{get:function(){return"undefined"!=typeof ace},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"text",{get:function(){return this.hasAceEditor?this.aceEditor.getValue():this.koText()},set:function(e){this.isProcessingImmediately=!0,this.koText(e),this.aceEditor&&(this.aceEditor.setValue(e),this.aceEditor.renderer.updateFull(!0)),this.processJson(e),this.isProcessingImmediately=!1},enumerable:!0,configurable:!0}),e.prototype.show=function(e){this.text=e,this.aceEditor&&this.aceEditor.focus()},Object.defineProperty(e.prototype,"isJsonCorrect",{get:function(){return this.textWorker=new n.a(this.text),this.textWorker.isJsonCorrect},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"survey",{get:function(){return this.textWorker.survey},enumerable:!0,configurable:!0}),e.prototype.onJsonEditorChanged=function(){if(this.timeoutId>-1&&clearTimeout(this.timeoutId),this.isProcessingImmediately)this.timeoutId=-1;else{var t=this;this.timeoutId=window.setTimeout(function(){t.timeoutId=-1,t.processJson(t.text)},e.updateTextTimeout)}},e.prototype.processJson=function(e){this.textWorker=new n.a(e),this.aceEditor?this.aceEditor.getSession().setAnnotations(this.createAnnotations(e,this.textWorker.errors)):this.koErrors(this.textWorker.errors)},e.prototype.createAnnotations=function(e,t){for(var o=new Array,r=0;r<t.length;r++){var n=t[r],i={row:n.position.start.row,column:n.position.start.column,text:n.text,type:"error"};o.push(i)}return o},Object.defineProperty(e.prototype,"readOnly",{get:function(){return this._readOnly()},set:function(e){this._readOnly(e)},enumerable:!0,configurable:!0}),e.updateTextTimeout=1e3,e}()},function(e,t,o){var r,n,r,n,i,r,n;!function(a){"use strict";var s;s="undefined"!=typeof ko?ko:o(1);var l;l="undefined"!=typeof Sortable?Sortable:o(9),void 0!==s&&void 0!==l?a(s,l):void 0!==s&&void 0===l?(r=[o(9)],void 0!==(n=function(e){a(s,e)}.apply(t,r))&&(e.exports=n)):void 0===s&&void 0!==l?(r=[o(1)],void 0!==(n=function(e){a(e,l)}.apply(t,r))&&(e.exports=n)):void 0===s&&void 0===l&&(r=[o(1),o(9)],i=a,void 0!==(n="function"==typeof i?i.apply(t,r):i)&&(e.exports=n))}(function(e,t){"use strict";var o=function(o,r,a,s,l,d){var u=i(r,d);["onStart","onEnd","onRemove","onAdd","onUpdate","onSort","onFilter","onMove","onClone"].forEach(function(t){(u[t]||n[t])&&(u[t]=function(t,o,r,i,a){var s=e.dataFor(a.item),l=e.utils.peekObservable(r()),d=l.sortable||l.draggable,u=d.collection||d.foreach;i&&i(a,s,o,u,l),n[t]&&n[t](a,s,o,u,l)}.bind(void 0,t,s,a,u[t]))});var c=t.create(o,u);return e.utils.domNodeDisposal.addDisposeCallback(o,function(){c.destroy()}),e.bindingHandlers.template.init(o,r)},r=function(t,o,r,n,i,a){return e.bindingHandlers.template.update(t,o,r,n,i)},n=function(t){var o=[],r=function(e,t,r,i,a){var s={event:e,itemVM:t,parentVM:r,collection:i,parentBindings:a},l=o.filter(function(e){return e.itemVM===s.itemVM})[0];if(l){o.splice(o.indexOf(l),1);var d="remove"===s.event.type?s:l,u="add"===s.event.type?s:l;n(t,d.collection,u.collection,u.event.clone,u.event)}else o.push(s)},n=function(t,o,r,n,i){var a=o(),s=a.indexOf(t),l=i.newIndex;i.item.previousElementSibling&&(l=r().indexOf(e.dataFor(i.item.previousElementSibling)),l+=l>s?0:1),i.item.parentNode.removeChild(i.item),a.splice(s,1),o.valueHasMutated(),n&&o!==r&&(a.splice(s,0,t),o.valueHasMutated()),!!e.tasks&&e.tasks.runEarly(),r().splice(l,0,t),r.valueHasMutated()};return t.onRemove=r,t.onAdd=r,t.onUpdate=function(e,t,o,r,i){n(t,r,r,!1,e)},t}({}),i=function(t,o){var r=function(e,t){for(var o in t)"[object Object]"===Object.prototype.toString.call(t[o])?("[object Object]"!==Object.prototype.toString.call(e[o])&&(e[o]={}),e[o]=r(e[o],t[o])):e[o]=t[o];return e},n=e.utils.peekObservable(t()).options||{};return o=r({},o),n.group&&"[object Object]"!==Object.prototype.toString.call(n.group)&&(n.group={name:n.group}),r(o,n)};e.bindingHandlers.draggable={sortableOptions:{group:{pull:"clone",put:!1},sort:!1},init:function(t,r,n,i,a){return o(t,r,n,i,a,e.bindingHandlers.draggable.sortableOptions)},update:function(t,o,n,i,a){return r(t,o,n,i,a,e.bindingHandlers.draggable.sortableOptions)}},e.bindingHandlers.sortable={sortableOptions:{group:{pull:!0,put:!0}},init:function(t,r,n,i,a){return o(t,r,n,i,a,e.bindingHandlers.sortable.sortableOptions)},update:function(t,o,n,i,a){return r(t,o,n,i,a,e.bindingHandlers.sortable.sortableOptions)}}})}])});