vendor: 16,580 bytes, lines 1-11
1/*! 2 * surveyjs - Survey JavaScript library v1.12.57 3 * Copyright (c) 2015-2025 Devsoft Baltic OÃ - http://surveyjs.io/ 4 * License: MIT (http://www.opensource.org/licenses/mit-license.php) 5 */ 6!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("jquery")):"function"==typeof define&&define.amd?define("survey-jquery",["jquery"],t):"object"==typeof exports?exports["survey-jquery"]=t(require("jquery")):e.Survey=t(e.jQuery)}(this,(function(e){return function(e){var t={};function n(o){if(t[o])return t[o].exports;var i=t[o]={i:o,l:!1,exports:{}};return e[o].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=e,n.c=t,n.d=function(e,t,o){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:o})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var o=Object.create(null);if(n.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)n.d(o,i,function(t){return e[t]}.bind(null,i));return o},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=226)}([function(e,t,n){var o,i,r; 7/*! 8 * Knockout JavaScript library v3.5.1 9 * (c) The Knockout.js team - http://knockoutjs.com/ 10 * License: MIT (http://www.opensource.org/licenses/mit-license.php) 11 */!function(a){var s=this||(0,eval)("this"),l=s.document,u=s.navigator,c=s.jQuery,p=s.JSON;c||"undefined"==typeof jQuery||(c=jQuery),function(a){i=[t,n],void 0===(r="function"==typeof(o=a)?o.apply(t,i):o)||(e.exports=r)}((function(e,t){function n(e,t){return(null===e||typeof e in C)&&e===t}function o(e,t){var n;return function(){n||(n=x.a.setTimeout((function(){n=a,e()}),t))}}function i(e,t){var n;return function(){clearTimeout(n),n=x.a.setTimeout(e,t)}}function r(e,t){t&&"change"!==t?"beforeChange"===t?this.pc(e):this.gb(e,t):this.qc(e)}function d(e,t){null!==t&&t.s&&t.s()}function h(e,t){var n=this.qd,o=n[_];o.ra||(this.Qb&&this.mb[t]?(n.uc(t,e,this.mb[t]),this.mb[t]=null,--this.Qb):o.I[t]||n.uc(t,e,o.J?{da:e}:n.$c(e)),e.Ja&&e.gd())}var m,g,f,y,v,b,x=void 0!==e?e:{};x.b=function(e,t){for(var n=e.split("."),o=x,i=0;i<n.length-1;i++)o=o[n[i]];o[n[n.length-1]]=t},x.L=function(e,t,n){e[t]=n},x.version="3.5.1",x.b("version",x.version),x.options={deferUpdates:!1,useOnlyNativeEvents:!1,foreachHidesDestroyed:!1},x.a=function(){function e(e,t){for(var n in e)i.call(e,n)&&t(n,e[n])}function t(e,t){if(t)for(var n in t)i.call(t,n)&&(e[n]=t[n]);return e}function n(e,t){return e.__proto__=t,e}function o(e,t,n,o){var i=e[t].match(v)||[];x.a.D(n.match(v),(function(e){x.a.Na(i,e,o)})),e[t]=i.join(" ")}var i=Object.prototype.hasOwnProperty,r={__proto__:[]}instanceof Array,d="function"==typeof Symbol,h={},m={};h[u&&/Firefox\/2/i.test(u.userAgent)?"KeyboardEvent":"UIEvents"]=["keyup","keydown","keypress"],h.MouseEvents="click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave".split(" "),e(h,(function(e,t){if(t.length)for(var n=0,o=t.length;n<o;n++)m[t[n]]=e}));var g,f={propertychange:!0},y=l&&function(){for(var e=3,t=l.createElement("div"),n=t.getElementsByTagName("i");t.innerHTML="\x3c!--[if gt IE "+ ++e+"]><i></i><![endif]--\x3e",n[0];);return 4<e?e:a}(),v=/\S+/g;return{Jc:["authenticity_token",/^__RequestVerificationToken(_.*)?$/],D:function(e,t,n){for(var o=0,i=e.length;o<i;o++)t.call(n,e[o],o,e)},A:"function"==typeof Array.prototype.indexOf?function(e,t){return Array.prototype.indexOf.call(e,t)}:function(e,t){for(var n=0,o=e.length;n<o;n++)if(e[n]===t)return n;return-1},Lb:function(e,t,n){for(var o=0,i=e.length;o<i;o++)if(t.call(n,e[o],o,e))return e[o];return a},Pa:function(e,t){var n=x.a.A(e,t);0<n?e.splice(n,1):0===n&&e.shift()},wc:function(e){var t=[];return e&&x.a.D(e,(function(e){0>x.a.A(t,e)&&t.push(e)})),t},Mb:function(e,t,n){var o=[];if(e)for(var i=0,r=e.length;i<r;i++)o.push(t.call(n,e[i],i));return o},jb:function(e,t,n){var o=[];if(e)for(var i=0,r=e.length;i<r;i++)t.call(n,e[i],i)&&o.push(e[i]);return o},Nb:function(e,t){if(t instanceof Array)e.push.apply(e,t);else for(var n=0,o=t.length;n<o;n++)e.push(t[n]);return e},Na:function(e,t,n){var o=x.a.A(x.a.bc(e),t);0>o?n&&e.push(t):n||e.splice(o,1)},Ba:r,extend:t,setPrototypeOf:n,Ab:r?n:t,P:e,Ga:function(e,t,n){if(!e)return e;var o,r={};for(o in e)i.call(e,o)&&(r[o]=t.call(n,e[o],o,e));return r},Tb:function(e){for(;e.firstChild;)x.removeNode(e.firstChild)},Yb:function(e){for(var t=((e=x.a.la(e))[0]&&e[0].ownerDocument||l).createElement("div"),n=0,o=e.length;n<o;n++)t.appendChild(x.oa(e[n]));return t},Ca:function(e,t){for(var n=0,o=e.length,i=[];n<o;n++){var r=e[n].cloneNode(!0);i.push(t?x.oa(r):r)}return i},va:function(e,t){if(x.a.Tb(e),t)for(var n=0,o=t.length;n<o;n++)e.appendChild(t[n])},Xc:function(e,t){var n=e.nodeType?[e]:e;if(0<n.length){for(var o=n[0],i=o.parentNode,r=0,a=t.length;r<a;r++)i.insertBefore(t[r],o);for(r=0,a=n.length;r<a;r++)x.removeNode(n[r])}},Ua:function(e,t){if(e.length){for(t=8===t.nodeType&&t.parentNode||t;e.length&&e[0].parentNode!==t;)e.splice(0,1);for(;1<e.length&&e[e.length-1].parentNode!==t;)e.length--;if(1<e.length){var n=e[0],o=e[e.length-1];for(e.length=0;n!==o;)e.push(n),n=n.nextSibling;e.push(o)}}return e},Zc:function(e,t){7>y?e.setAttribute("selected",t):e.selected=t},Db:function(e){return null===e||e===a?"":e.trim?e.trim():e.toString().replace(/^[\s\xa0]+|[\s\xa0]+$/g,"")},Ud:function(e,t){return e=e||"",!(t.length>e.length)&&e.substring(0,t.length)===t},vd:function(e,t){if(e===t)return!0;if(11===e.nodeType)return!1;if(t.contains)return t.contains(1!==e.nodeType?e.parentNode:e);if(t.compareDocumentPosition)return 16==(16&t.compareDocumentPosition(e));for(;e&&e!=t;)e=e.parentNode;return!!e},Sb:function(e){return x.a.vd(e,e.ownerDocument.documentElement)},kd:function(e){return!!x.a.Lb(e,x.a.Sb)},R:function(e){return e&&e.tagName&&e.tagName.toLowerCase()},Ac:function(e){return x.onError?function(){try{return e.apply(this,arguments)}catch(e){throw x.onError&&x.onError(e),e}}:e},setTimeout:function(e,t){return setTimeout(x.a.Ac(e),t)},Gc:function(e){setTimeout((function(){throw x.onError&&x.onError(e),e}),0)},B:function(e,t,n){var o=x.a.Ac(n);if(n=f[t],x.options.useOnlyNativeEvents||n||!c)if(n||"function"!=typeof e.addEventListener){if(void 0===e.attachEvent)throw Error("Browser doesn't support addEventListener or attachEvent");var i=function(t){o.call(e,t)},r="on"+t;e.attachEvent(r,i),x.a.K.za(e,(function(){e.detachEvent(r,i)}))}else e.addEventListener(t,o,!1);else g||(g="function"==typeof c(e).on?"on":"bind"),c(e)[g](t,o)},Fb:function(e,t){if(!e||!e.nodeType)throw Error("element must be a DOM node when calling triggerEvent");var n;if(n=!("input"!==x.a.R(e)||!e.type||"click"!=t.toLowerCase())&&("checkbox"==(n=e.type)||"radio"==n),x.options.useOnlyNativeEvents||!c||n)if("function"==typeof l.createEvent){if("function"!=typeof e.dispatchEvent)throw Error("The supplied element doesn't support dispatchEvent");(n=l.createEvent(m[t]||"HTMLEvents")).initEvent(t,!0,!0,s,0,0,0,0,0,!1,!1,!1,!1,0,e),e.dispatchEvent(n)}else if(n&&e.click)e.click();else{if(void 0===e.fireEvent)throw Error("Browser doesn't support triggering events");e.fireEvent("on"+t)}else c(e).trigger(t)},f:function(e){return x.O(e)?e():e},bc:function(e){return x.O(e)?e.v():e},Eb:function(e,t,n){var i;t&&("object"==typeof e.classList?(i=e.classList[n?"add":"remove"],x.a.D(t.match(v),(function(t){i.call(e.classList,t)}))):"string"==typeof e.className.baseVal?o(e.className,"baseVal",t,n):o(e,"className",t,n))},Bb:function(e,t){var n=x.a.f(t);null!==n&&n!==a||(n="");var o=x.h.firstChild(e);!o||3!=o.nodeType||x.h.nextSibling(o)?x.h.va(e,[e.ownerDocument.createTextNode(n)]):o.data=n,x.a.Ad(e)},Yc:function(e,t){if(e.name=t,7>=y)try{var n=e.name.replace(/[&<>'"]/g,(function(e){return"&#"+e.charCodeAt(0)+";"}));e.mergeAttributes(l.createElement("<input name='"+n+"'/>"),!1)}catch(e){}},Ad:function(e){9<=y&&(e=1==e.nodeType?e:e.parentNode).style&&(e.style.zoom=e.style.zoom)},wd:function(e){if(y){var t=e.style.width;e.style.width=0,e.style.width=t}},Pd:function(e,t){e=x.a.f(e),t=x.a.f(t);for(var n=[],o=e;o<=t;o++)n.push(o);return n},la:function(e){for(var t=[],n=0,o=e.length;n<o;n++)t.push(e[n]);return t},Da:function(e){return d?Symbol(e):e},Zd:6===y,$d:7===y,W:y,Lc:function(e,t){for(var n=x.a.la(e.getElementsByTagName("input")).concat(x.a.la(e.getElementsByTagName("textarea"))),o="string"==typeof t?function(e){return e.name===t}:function(e){return t.test(e.name)},i=[],r=n.length-1;0<=r;r--)o(n[r])&&i.push(n[r]);return i},Nd:function(e){return"string"==typeof e&&(e=x.a.Db(e))?p&&p.parse?p.parse(e):new Function("return "+e)():null},hc:function(e,t,n){if(!p||!p.stringify)throw Error("Cannot find JSON.stringify(). Some browsers (e.g., IE < 8) don't support it natively, but you can overcome this by adding a script reference to json2.js, downloadable from http://www.json.org/json2.js");return p.stringify(x.a.f(e),t,n)},Od:function(t,n,o){var i=(o=o||{}).params||{},r=o.includeFields||this.Jc,a=t;if("object"==typeof t&&"form"===x.a.R(t)){a=t.action;for(var s=r.length-1;0<=s;s--)for(var u=x.a.Lc(t,r[s]),c=u.length-1;0<=c;c--)i[u[c].name]=u[c].value}n=x.a.f(n);var p=l.createElement("form");for(var d in p.style.display="none",p.action=a,p.method="post",n)(t=l.createElement("input")).type="hidden",t.name=d,t.value=x.a.hc(x.a.f(n[d])),p.appendChild(t);e(i,(function(e,t){var n=l.createElement("input");n.type="hidden",n.name=e,n.value=t,p.appendChild(n)})),l.body.appendChild(p),o.submitter?o.submitter(p):p.submit(),setTimeout((function(){p.parentNode.removeChild(p)}),0)}}}(),x.b("utils",x.a),x.b("utils.arrayForEach",x.a.D),x.b("utils.arrayFirst",x.a.Lb),x.b("utils.arrayFilter",x.a.jb),x.b("utils.arrayGetDistinctValues",x.a.wc),x.b("utils.arrayIndexOf",x.a.A),x.b("utils.arrayMap",x.a.Mb),x.b("utils.arrayPushAll",x.a.Nb),x.b("utils.arrayRemoveItem",x.a.Pa),x.b("utils.cloneNodes",x.a.Ca),x.b("utils.createSymbolOrString",x.a.Da),x.b("utils.extend",x.a.extend),x.b("utils.fieldsIncludedWithJsonPost",x.a.Jc),x.b("utils.getFormFields",x.a.Lc),x.b("utils.objectMap",x.a.Ga),x.b("utils.peekObservable",x.a.bc),x.b("utils.postJson",x.a.Od),x.b("utils.parseJson",x.a.Nd),x.b("utils.registerEventHandler",x.a.B),x.b("utils.stringifyJson",x.a.hc),x.b("utils.range",x.a.Pd),x.b("utils.toggleDomNodeCssClass",x.a.Eb),x.b("utils.triggerEvent",x.a.Fb),x.b("utils.unwrapObservable",x.a.f),x.b("utils.objectForEach",x.a.P),x.b("utils.addOrRemoveItem",x.a.Na),x.b("utils.setTextContent",x.a.Bb),x.b("unwrap",x.a.f),Function.prototype.bind||(Function.prototype.bind=function(e){var t=this;if(1===arguments.length)return function(){return t.apply(e,arguments)};var n=Array.prototype.slice.call(arguments,1);return function(){var o=n.slice(0);return o.push.apply(o,arguments),t.apply(e,o)}}),x.a.g=new function(){var e,t,n=0,o="__ko__"+(new Date).getTime(),i={};return x.a.W?(e=function(e,t){var r=e[o];if(!r||"null"===r||!i[r]){if(!t)return a;r=e[o]="ko"+n++,i[r]={}}return i[r]},t=function(e){var t=e[o];return!!t&&(delete i[t],e[o]=null,!0)}):(e=function(e,t){var n=e[o];return!n&&t&&(n=e[o]={}),n},t=function(e){return!!e[o]&&(delete e[o],!0)}),{get:function(t,n){var o=e(t,!1);return o&&o[n]},set:function(t,n,o){(t=e(t,o!==a))&&(t[n]=o)},Ub:function(t,n,o){return(t=e(t,!0))[n]||(t[n]=o)},clear:t,Z:function(){return n+++o}}},x.b("utils.domData",x.a.g),x.b("utils.domData.clear",x.a.g.clear),x.a.K=new function(){function e(e,t){var n=x.a.g.get(e,o);return n===a&&t&&(n=[],x.a.g.set(e,o,n)),n}function t(t){if(o=e(t,!1))for(var o=o.slice(0),i=0;i<o.length;i++)o[i](t);x.a.g.clear(t),x.a.K.cleanExternalData(t),r[t.nodeType]&&n(t.childNodes,!0)}function n(e,n){for(var o,i=[],r=0;r<e.length;r++)if((!n||8===e[r].nodeType)&&(t(i[i.length]=o=e[r]),e[r]!==o))for(;r--&&-1==x.a.A(i,e[r]););}var o=x.a.g.Z(),i={1:!0,8:!0,9:!0},r={1:!0,9:!0};return{za:function(t,n){if("function"!=typeof n)throw Error("Callback must be a function");e(t,!0).push(n)},yb:function(t,n){var i=e(t,!1);i&&(x.a.Pa(i,n),0==i.length&&x.a.g.set(t,o,a))},oa:function(e){return x.u.G((function(){i[e.nodeType]&&(t(e),r[e.nodeType]&&n(e.getElementsByTagName("*")))})),e},removeNode:function(e){x.oa(e),e.parentNode&&e.parentNode.removeChild(e)},cleanExternalData:function(e){c&&"function"==typeof c.cleanData&&c.cleanData([e])}}},x.oa=x.a.K.oa,x.removeNode=x.a.K.removeNode,x.b("cleanNode",x.oa),x.b("removeNode",x.removeNode),x.b("utils.domNodeDisposal",x.a.K),x.b("utils.domNodeDisposal.addDisposeCallback",x.a.K.za),x.b("utils.domNodeDisposal.removeDisposeCallback",x.a.K.yb),m=[0,"",""],v={thead:g=[1,"<table>","</table>"],tbody:g,tfoot:g,tr:[2,"<table><tbody>","</tbody></table>"],td:f=[3,"<table><tbody><tr>","</tr></tbody></table>"],th:f,option:y=[1,"<select multiple='multiple'>","</select>"],optgroup:y},b=8>=x.a.W,x.a.ua=function(e,t){var n;if(c){if(c.parseHTML)n=c.parseHTML(e,t)||[];else if((n=c.clean([e],t))&&n[0]){for(var o=n[0];o.parentNode&&11!==o.parentNode.nodeType;)o=o.parentNode;o.parentNode&&o.parentNode.removeChild(o)}}else{(n=t)||(n=l),o=n.parentWindow||n.defaultView||s;var i,r=x.a.Db(e).toLowerCase(),a=n.createElement("div");for(i=(r=r.match(/^(?:\x3c!--.*?--\x3e\s*?)*?<([a-z]+)[\s>]/))&&v[r[1]]||m,r=i[0],i="ignored<div>"+i[1]+e+i[2]+"</div>","function"==typeof o.innerShiv?a.appendChild(o.innerShiv(i)):(b&&n.body.appendChild(a),a.innerHTML=i,b&&a.parentNode.removeChild(a));r--;)a=a.lastChild;n=x.a.la(a.lastChild.childNodes)}return n},x.a.Md=function(e,t){var n=x.a.ua(e,t);return n.length&&n[0].parentElement||x.a.Yb(n)},x.a.fc=function(e,t){if(x.a.Tb(e),null!==(t=x.a.f(t))&&t!==a)if("string"!=typeof t&&(t=t.toString()),c)c(e).html(t);else for(var n=x.a.ua(t,e.ownerDocument),o=0;o<n.length;o++)e.appendChild(n[o])},x.b("utils.parseHtmlFragment",x.a.ua),x.b("utils.setHtml",x.a.fc),x.aa=function(){var e={};return{Xb:function(t){if("function"!=typeof t)throw Error("You can only pass a function to ko.memoization.memoize()");var n=(4294967296*(1+Math.random())|0).toString(16).substring(1)+(4294967296*(1+Math.random())|0).toString(16).substring(1);return e[n]=t,"\x3c!--[ko_memo:"+n+"]--\x3e"},bd:function(t,n){var o=e[t];if(o===a)throw Error("Couldn't find any memo with ID "+t+". Perhaps it's already been unmemoized.");try{return o.apply(null,n||[]),!0}finally{delete e[t]}},cd:function(e,t){var n=[];!function e(t,n){if(t)if(8==t.nodeType)null!=(o=x.aa.Uc(t.nodeValue))&&n.push({ud:t,Kd:o});else if(1==t.nodeType)for(var o=0,i=t.childNodes,r=i.length;o<r;o++)e(i[o],n)}(e,n);for(var o=0,i=n.length;o<i;o++){var r=n[o].ud,a=[r];t&&x.a.Nb(a,t),x.aa.bd(n[o].Kd,a),r.nodeValue="",r.parentNode&&r.parentNode.removeChild(r)}},Uc:function(e){return(e=e.match(/^\[ko_memo\:(.*?)\]$/))?e[1]:null}}}(),x.b("memoization",x.aa),x.b("memoization.memoize",x.aa.Xb),x.b("memoization.unmemoize",x.aa.bd),x.b("memoization.parseMemoText",x.aa.Uc),x.b("memoization.unmemoizeDomNodeAndDescendants",x.aa.cd),x.na=function(){function e(){if(o)for(var e,t=o,i=0;r<o;)if(e=n[r++]){if(r>t){if(5e3<=++i){r=o,x.a.Gc(Error("'Too much recursion' after processing "+i+" task groups."));break}t=o}try{e()}catch(e){x.a.Gc(e)}}}function t(){e(),r=o=n.length=0}var n=[],o=0,i=1,r=0;return{scheduler:s.MutationObserver?function(e){var t=l.createElement("div");return new MutationObserver(e).observe(t,{attributes:!0}),function(){t.classList.toggle("foo")}}(t):l&&"onreadystatechange"in l.createElement("script")?function(e){var t=l.createElement("script");t.onreadystatechange=function(){t.onreadystatechange=null,l.documentElement.removeChild(t),t=null,e()},l.documentElement.appendChild(t)}:function(e){setTimeout(e,0)},zb:function(e){return o||x.na.scheduler(t),n[o++]=e,i++},cancel:function(e){(e-=i-o)>=r&&e<o&&(n[e]=null)},resetForTesting:function(){var e=o-r;return r=o=n.length=0,e},Sd:e}}(),x.b("tasks",x.na),x.b("tasks.schedule",x.na.zb),x.b("tasks.runEarly",x.na.Sd),x.Ta={throttle:function(e,t){e.throttleEvaluation=t;var n=null;return x.$({read:e,write:function(o){clearTimeout(n),n=x.a.setTimeout((function(){e(o)}),t)}})},rateLimit:function(e,t){var n,r,a;"number"==typeof t?n=t:(n=t.timeout,r=t.method),e.Hb=!1,a="function"==typeof r?r:"notifyWhenChangesStop"==r?i:o,e.ub((function(e){return a(e,n,t)}))},deferred:function(e,t){if(!0!==t)throw Error("The 'deferred' extender only accepts the value 'true', be
11cause it is not supported to turn deferral off once enabled.");e.Hb||(e.Hb=!0,e.ub((function(t){var n,o=!1;return function(){if(!o){x.na.cancel(n),n=x.na.zb(t);try{o=!0,e.notifySubscribers(a,"dirty")}finally{o=!1}}}})))},notify:function(e,t){e.equalityComparer="always"==t?null:n}};var C={undefined:1,boolean:1,number:1,string:1};x.b("extenders",x.Ta),x.ic=function(e,t,n){this.da=e,this.lc=t,this.mc=n,this.Ib=!1,this.fb=this.Jb=null,x.L(this,"dispose",this.s),x.L(this,"disposeWhenNodeIsRemoved",this.l)},x.ic.prototype.s=function(){this.Ib||(this.fb&&x.a.K.yb(this.Jb,this.fb),this.Ib=!0,this.mc(),this.da=this.lc=this.mc=this.Jb=this.fb=null)},x.ic.prototype.l=function(e){this.Jb=e,x.a.K.za(e,this.fb=this.s.bind(this))},x.T=function(){x.a.Ab(this,w),w.qb(this)};var w={qb:function(e){e.U={change:[]},e.sc=1},subscribe:function(e,t,n){var o=this;n=n||"change";var i=new x.ic(o,t?e.bind(t):e,(function(){x.a.Pa(o.U[n],i),o.hb&&o.hb(n)}));return o.Qa&&o.Qa(n),o.U[n]||(o.U[n]=[]),o.U[n].push(i),i},notifySubscribers:function(e,t){if("change"===(t=t||"change")&&this.Gb(),this.Wa(t)){var n="change"===t&&this.ed||this.U[t].slice(0);try{x.u.xc();for(var o,i=0;o=n[i];++i)o.Ib||o.lc(e)}finally{x.u.end()}}},ob:function(){return this.sc},Dd:function(e){return this.ob()!==e},Gb:function(){++this.sc},ub:function(e){var t,n,o,i,a,s=this,l=x.O(s);s.gb||(s.gb=s.notifySubscribers,s.notifySubscribers=r);var u=e((function(){s.Ja=!1,l&&i===s&&(i=s.nc?s.nc():s());var e=n||a&&s.sb(o,i);a=n=t=!1,e&&s.gb(o=i)}));
vendor: 51,115 bytes, line 11
11s.qc=function(e,n){n&&s.Ja||(a=!n),s.ed=s.U.change.slice(0),s.Ja=t=!0,i=e,u()},s.pc=function(e){t||(o=e,s.gb(e,"beforeChange"))},s.rc=function(){a=!0},s.gd=function(){s.sb(o,s.v(!0))&&(n=!0)}},Wa:function(e){return this.U[e]&&this.U[e].length},Bd:function(e){if(e)return this.U[e]&&this.U[e].length||0;var t=0;return x.a.P(this.U,(function(e,n){"dirty"!==e&&(t+=n.length)})),t},sb:function(e,t){return!this.equalityComparer||!this.equalityComparer(e,t)},toString:function(){return"[object Object]"},extend:function(e){var t=this;return e&&x.a.P(e,(function(e,n){var o=x.Ta[e];"function"==typeof o&&(t=o(t,n)||t)})),t}};x.L(w,"init",w.qb),x.L(w,"subscribe",w.subscribe),x.L(w,"extend",w.extend),x.L(w,"getSubscriptionsCount",w.Bd),x.a.Ba&&x.a.setPrototypeOf(w,Function.prototype),x.T.fn=w,x.Qc=function(e){return null!=e&&"function"==typeof e.subscribe&&"function"==typeof e.notifySubscribers},x.b("subscribable",x.T),x.b("isSubscribable",x.Qc),x.S=x.u=function(){function e(e){o.push(n),n=e}function t(){n=o.pop()}var n,o=[],i=0;return{xc:e,end:t,cc:function(e){if(n){if(!x.Qc(e))throw Error("Only subscribable things can act as dependencies");n.od.call(n.pd,e,e.fd||(e.fd=++i))}},G:function(n,o,i){try{return e(),n.apply(o,i||[])}finally{t()}},qa:function(){if(n)return n.o.qa()},Va:function(){if(n)return n.o.Va()},Ya:function(){if(n)return n.Ya},o:function(){if(n)return n.o}}}(),x.b("computedContext",x.S),x.b("computedContext.getDependenciesCount",x.S.qa),x.b("computedContext.getDependencies",x.S.Va),x.b("computedContext.isInitial",x.S.Ya),x.b("computedContext.registerDependency",x.S.cc),x.b("ignoreDependencies",x.Yd=x.u.G);var P=x.a.Da("_latestValue");x.ta=function(e){function t(){return 0<arguments.length?(t.sb(t[P],arguments[0])&&(t.ya(),t[P]=arguments[0],t.xa()),this):(x.u.cc(t),t[P])}return t[P]=e,x.a.Ba||x.a.extend(t,x.T.fn),x.T.fn.qb(t),x.a.Ab(t,k),x.options.deferUpdates&&x.Ta.deferred(t,!0),t};var k={equalityComparer:n,v:function(){return this[P]},xa:function(){this.notifySubscribers(this[P],"spectate"),this.notifySubscribers(this[P])},ya:function(){this.notifySubscribers(this[P],"beforeChange")}};x.a.Ba&&x.a.setPrototypeOf(k,x.T.fn);var V=x.ta.Ma="__ko_proto__";k[V]=x.ta,x.O=function(e){if((e="function"==typeof e&&e[V])&&e!==k[V]&&e!==x.o.fn[V])throw Error("Invalid object that looks like an observable; possibly from another Knockout instance");return!!e},x.Za=function(e){return"function"==typeof e&&(e[V]===k[V]||e[V]===x.o.fn[V]&&e.Nc)},x.b("observable",x.ta),x.b("isObservable",x.O),x.b("isWriteableObservable",x.Za),x.b("isWritableObservable",x.Za),x.b("observable.fn",k),x.L(k,"peek",k.v),x.L(k,"valueHasMutated",k.xa),x.L(k,"valueWillMutate",k.ya),x.Ha=function(e){if("object"!=typeof(e=e||[])||!("length"in e))throw Error("The argument passed when initializing an observable array must be an array, or null, or undefined.");return e=x.ta(e),x.a.Ab(e,x.Ha.fn),e.extend({trackArrayChanges:!0})},x.Ha.fn={remove:function(e){for(var t=this.v(),n=[],o="function"!=typeof e||x.O(e)?function(t){return t===e}:e,i=0;i<t.length;i++){var r=t[i];if(o(r)){if(0===n.length&&this.ya(),t[i]!==r)throw Error("Array modified during remove; cannot remove item");n.push(r),t.splice(i,1),i--}}return n.length&&this.xa(),n},removeAll:function(e){if(e===a){var t=this.v(),n=t.slice(0);return this.ya(),t.splice(0,t.length),this.xa(),n}return e?this.remove((function(t){return 0<=x.a.A(e,t)})):[]},destroy:function(e){var t=this.v(),n="function"!=typeof e||x.O(e)?function(t){return t===e}:e;this.ya();for(var o=t.length-1;0<=o;o--){var i=t[o];n(i)&&(i._destroy=!0)}this.xa()},destroyAll:function(e){return e===a?this.destroy((function(){return!0})):e?this.destroy((function(t){return 0<=x.a.A(e,t)})):[]},indexOf:function(e){var t=this();return x.a.A(t,e)},replace:function(e,t){var n=this.indexOf(e);0<=n&&(this.ya(),this.v()[n]=t,this.xa())},sorted:function(e){var t=this().slice(0);return e?t.sort(e):t.sort()},reversed:function(){return this().slice(0).reverse()}},x.a.Ba&&x.a.setPrototypeOf(x.Ha.fn,x.ta.fn),x.a.D("pop push reverse shift sort splice unshift".split(" "),(function(e){x.Ha.fn[e]=function(){var t=this.v();this.ya(),this.zc(t,e,arguments);var n=t[e].apply(t,arguments);return this.xa(),n===t?this:n}})),x.a.D(["slice"],(function(e){x.Ha.fn[e]=function(){var t=this();return t[e].apply(t,arguments)}})),x.Pc=function(e){return x.O(e)&&"function"==typeof e.remove&&"function"==typeof e.push},x.b("observableArray",x.Ha),x.b("isObservableArray",x.Pc),x.Ta.trackArrayChanges=function(e,t){function n(){function t(){if(u){var t,n=[].concat(e.v()||[]);e.Wa("arrayChange")&&((!l||1<u)&&(l=x.a.Pb(r,n,e.Ob)),t=l),r=n,l=null,u=0,t&&t.length&&e.notifySubscribers(t,"arrayChange")}}s?t():(s=!0,i=e.subscribe((function(){++u}),null,"spectate"),r=[].concat(e.v()||[]),l=null,o=e.subscribe(t))}if(e.Ob={},t&&"object"==typeof t&&x.a.extend(e.Ob,t),e.Ob.sparse=!0,!e.zc){var o,i,r,s=!1,l=null,u=0,c=e.Qa,p=e.hb;e.Qa=function(t){c&&c.call(e,t),"arrayChange"===t&&n()},e.hb=function(t){p&&p.call(e,t),"arrayChange"!==t||e.Wa("arrayChange")||(o&&o.s(),i&&i.s(),i=o=null,s=!1,r=a)},e.zc=function(e,t,n){function o(e,t,n){return i[i.length]={status:e,value:t,index:n}}if(s&&!u){var i=[],r=e.length,a=n.length,c=0;switch(t){case"push":c=r;case"unshift":for(t=0;t<a;t++)o("added",n[t],c+t);break;case"pop":c=r-1;case"shift":r&&o("deleted",e[c],c);break;case"splice":t=Math.min(Math.max(0,0>n[0]?r+n[0]:n[0]),r),r=1===a?r:Math.min(t+(n[1]||0),r),a=t+a-2,c=Math.max(r,a);for(var p=[],d=[],h=2;t<c;++t,++h)t<r&&d.push(o("deleted",e[t],t)),t<a&&p.push(o("added",n[h],t));x.a.Kc(d,p);break;default:return}l=i}}}};var _=x.a.Da("_state");x.o=x.$=function(e,t,n){function o(){if(0<arguments.length){if("function"!=typeof i)throw Error("Cannot write a value to a ko.computed unless you specify a 'write' option. If you wish to read the current value, don't pass any parameters.");return i.apply(r.nb,arguments),this}return r.ra||x.u.cc(o),(r.ka||r.J&&o.Xa())&&o.ha(),r.X}if("object"==typeof e?n=e:(n=n||{},e&&(n.read=e)),"function"!=typeof n.read)throw Error("Pass a function that returns the value of the ko.computed");var i=n.write,r={X:a,sa:!0,ka:!0,rb:!1,jc:!1,ra:!1,wb:!1,J:!1,Wc:n.read,nb:t||n.owner,l:n.disposeWhenNodeIsRemoved||n.l||null,Sa:n.disposeWhen||n.Sa,Rb:null,I:{},V:0,Ic:null};return o[_]=r,o.Nc="function"==typeof i,x.a.Ba||x.a.extend(o,x.T.fn),x.T.fn.qb(o),x.a.Ab(o,T),n.pure?(r.wb=!0,r.J=!0,x.a.extend(o,S)):n.deferEvaluation&&x.a.extend(o,E),x.options.deferUpdates&&x.Ta.deferred(o,!0),r.l&&(r.jc=!0,r.l.nodeType||(r.l=null)),r.J||n.deferEvaluation||o.ha(),r.l&&o.ja()&&x.a.K.za(r.l,r.Rb=function(){o.s()}),o};var T={equalityComparer:n,qa:function(){return this[_].V},Va:function(){var e=[];return x.a.P(this[_].I,(function(t,n){e[n.Ka]=n.da})),e},Vb:function(e){if(!this[_].V)return!1;var t=this.Va();return-1!==x.a.A(t,e)||!!x.a.Lb(t,(function(t){return t.Vb&&t.Vb(e)}))},uc:function(e,t,n){if(this[_].wb&&t===this)throw Error("A 'pure' computed must not be called recursively");this[_].I[e]=n,n.Ka=this[_].V++,n.La=t.ob()},Xa:function(){var e,t,n=this[_].I;for(e in n)if(Object.prototype.hasOwnProperty.call(n,e)&&(t=n[e],this.Ia&&t.da.Ja||t.da.Dd(t.La)))return!0},Jd:function(){this.Ia&&!this[_].rb&&this.Ia(!1)},ja:function(){var e=this[_];return e.ka||0<e.V},Rd:function(){this.Ja?this[_].ka&&(this[_].sa=!0):this.Hc()},$c:function(e){if(e.Hb){var t=e.subscribe(this.Jd,this,"dirty"),n=e.subscribe(this.Rd,this);return{da:e,s:function(){t.s(),n.s()}}}return e.subscribe(this.Hc,this)},Hc:function(){var e=this,t=e.throttleEvaluation;t&&0<=t?(clearTimeout(this[_].Ic),this[_].Ic=x.a.setTimeout((function(){e.ha(!0)}),t)):e.Ia?e.Ia(!0):e.ha(!0)},ha:function(e){var t=this[_],n=t.Sa,o=!1;if(!t.rb&&!t.ra){if(t.l&&!x.a.Sb(t.l)||n&&n()){if(!t.jc)return void this.s()}else t.jc=!1;t.rb=!0;try{o=this.zd(e)}finally{t.rb=!1}return o}},zd:function(e){var t=this[_],n=!1,o=t.wb?a:!t.V;n={qd:this,mb:t.I,Qb:t.V},x.u.xc({pd:n,od:h,o:this,Ya:o}),t.I={},t.V=0;var i=this.yd(t,n);return t.V?n=this.sb(t.X,i):(this.s(),n=!0),n&&(t.J?this.Gb():this.notifySubscribers(t.X,"beforeChange"),t.X=i,this.notifySubscribers(t.X,"spectate"),!t.J&&e&&this.notifySubscribers(t.X),this.rc&&this.rc()),o&&this.notifySubscribers(t.X,"awake"),n},yd:function(e,t){try{var n=e.Wc;return e.nb?n.call(e.nb):n()}finally{x.u.end(),t.Qb&&!e.J&&x.a.P(t.mb,d),e.sa=e.ka=!1}},v:function(e){var t=this[_];return(t.ka&&(e||!t.V)||t.J&&this.Xa())&&this.ha(),t.X},ub:function(e){x.T.fn.ub.call(this,e),this.nc=function(){return this[_].J||(this[_].sa?this.ha():this[_].ka=!1),this[_].X},this.Ia=function(e){this.pc(this[_].X),this[_].ka=!0,e&&(this[_].sa=!0),this.qc(this,!e)}},s:function(){var e=this[_];!e.J&&e.I&&x.a.P(e.I,(function(e,t){t.s&&t.s()})),e.l&&e.Rb&&x.a.K.yb(e.l,e.Rb),e.I=a,e.V=0,e.ra=!0,e.sa=!1,e.ka=!1,e.J=!1,e.l=a,e.Sa=a,e.Wc=a,this.Nc||(e.nb=a)}},S={Qa:function(e){var t=this,n=t[_];if(!n.ra&&n.J&&"change"==e){if(n.J=!1,n.sa||t.Xa())n.I=null,n.V=0,t.ha()&&t.Gb();else{var o=[];x.a.P(n.I,(function(e,t){o[t.Ka]=e})),x.a.D(o,(function(e,o){var i=n.I[e],r=t.$c(i.da);r.Ka=o,r.La=i.La,n.I[e]=r})),t.Xa()&&t.ha()&&t.Gb()}n.ra||t.notifySubscribers(n.X,"awake")}},hb:function(e){var t=this[_];t.ra||"change"!=e||this.Wa("change")||(x.a.P(t.I,(function(e,n){n.s&&(t.I[e]={da:n.da,Ka:n.Ka,La:n.La},n.s())})),t.J=!0,this.notifySubscribers(a,"asleep"))},ob:function(){var e=this[_];return e.J&&(e.sa||this.Xa())&&this.ha(),x.T.fn.ob.call(this)}},E={Qa:function(e){"change"!=e&&"beforeChange"!=e||this.v()}};x.a.Ba&&x.a.setPrototypeOf(T,x.T.fn);var R=x.ta.Ma;T[R]=x.o,x.Oc=function(e){return"function"==typeof e&&e[R]===T[R]},x.Fd=function(e){return x.Oc(e)&&e[_]&&e[_].wb},x.b("computed",x.o),x.b("dependentObservable",x.o),x.b("isComputed",x.Oc),x.b("isPureComputed",x.Fd),x.b("computed.fn",T),x.L(T,"peek",T.v),x.L(T,"dispose",T.s),x.L(T,"isActive",T.ja),x.L(T,"getDependenciesCount",T.qa),x.L(T,"getDependencies",T.Va),x.xb=function(e,t){return"function"==typeof e?x.o(e,t,{pure:!0}):((e=x.a.extend({},e)).pure=!0,x.o(e,t))},x.b("pureComputed",x.xb),function(){function e(n,o,i){if(i=i||new t,"object"!=typeof(n=o(n))||null===n||n===a||n instanceof RegExp||n instanceof Date||n instanceof String||n instanceof Number||n instanceof Boolean)return n;var r=n instanceof Array?[]:{};return i.save(n,r),function(e,t){if(e instanceof Array){for(var n=0;n<e.length;n++)t(n);"function"==typeof e.toJSON&&t("toJSON")}else for(n in e)t(n)}(n,(function(t){var s=o(n[t]);switch(typeof s){case"boolean":case"number":case"string":case"function":r[t]=s;break;case"object":case"undefined":var l=i.get(s);r[t]=l!==a?l:e(s,o,i)}})),r}function t(){this.keys=[],this.values=[]}x.ad=function(t){if(0==arguments.length)throw Error("When calling ko.toJS, pass the object you want to convert.");return e(t,(function(e){for(var t=0;x.O(e)&&10>t;t++)e=e();return e}))},x.toJSON=function(e,t,n){return e=x.ad(e),x.a.hc(e,t,n)},t.prototype={constructor:t,save:function(e,t){var n=x.a.A(this.keys,e);0<=n?this.values[n]=t:(this.keys.push(e),this.values.push(t))},get:function(e){return 0<=(e=x.a.A(this.keys,e))?this.values[e]:a}}}(),x.b("toJS",x.ad),x.b("toJSON",x.toJSON),x.Wd=function(e,t,n){function o(t){var o=x.xb(e,n).extend({ma:"always"}),i=o.subscribe((function(e){e&&(i.s(),t(e))}));return o.notifySubscribers(o.v()),i}return"function"!=typeof Promise||t?o(t.bind(n)):new Promise(o)},x.b("when",x.Wd),x.w={M:function(e){switch(x.a.R(e)){case"option":return!0===e.__ko__hasDomDataOptionValue__?x.a.g.get(e,x.c.options.$b):7>=x.a.W?e.getAttributeNode("value")&&e.getAttributeNode("value").specified?e.value:e.text:e.value;case"select":return 0<=e.selectedIndex?x.w.M(e.options[e.selectedIndex]):a;default:return e.value}},cb:function(e,t,n){switch(x.a.R(e)){case"option":"string"==typeof t?(x.a.g.set(e,x.c.options.$b,a),"__ko__hasDomDataOptionValue__"in e&&delete e.__ko__hasDomDataOptionValue__,e.value=t):(x.a.g.set(e,x.c.options.$b,t),e.__ko__hasDomDataOptionValue__=!0,e.value="number"==typeof t?t:"");break;case"select":""!==t&&null!==t||(t=a);for(var o,i=-1,r=0,s=e.options.length;r<s;++r)if((o=x.w.M(e.options[r]))==t||""===o&&t===a){i=r;break}(n||0<=i||t===a&&1<e.size)&&(e.selectedIndex=i,6===x.a.W&&x.a.setTimeout((function(){e.selectedIndex=i}),0));break;default:null!==t&&t!==a||(t=""),e.value=t}}},x.b("selectExtensions",x.w),x.b("selectExtensions.readValue",x.w.M),x.b("selectExtensions.writeValue",x.w.cb),x.m=function(){function e(e){123===(e=x.a.Db(e)).charCodeAt(0)&&(e=e.slice(1,-1));var t,n=[],a=(e+="\n,").match(o),s=[],l=0;if(1<a.length){for(var u,c=0;u=a[c];++c){var p=u.charCodeAt(0);if(44===p){if(0>=l){n.push(t&&s.length?{key:t,value:s.join("")}:{unknown:t||s.join("")}),t=l=0,s=[];continue}}else if(58===p){if(!l&&!t&&1===s.length){t=s.pop();continue}}else{if(47===p&&1<u.length&&(47===u.charCodeAt(1)||42===u.charCodeAt(1)))continue;47===p&&c&&1<u.length?(p=a[c-1].match(i))&&!r[p[0]]&&(a=(e=e.substr(e.indexOf(u)+1)).match(o),c=-1,u="/"):40===p||123===p||91===p?++l:41===p||125===p||93===p?--l:t||s.length||34!==p&&39!==p||(u=u.slice(1,-1))}s.push(u)}if(0<l)throw Error("Unbalanced parentheses, braces, or brackets")}return n}var t=["true","false","null","undefined"],n=/^(?:[$_a-z][$\w]*|(.+)(\.\s*[$_a-z][$\w]*|\[.+\]))$/i,o=RegExp("\"(?:\\\\.|[^\"])*\"|'(?:\\\\.|[^'])*'|`(?:\\\\.|[^`])*`|/\\*(?:[^*]|\\*+[^*/])*\\*+/|//.*\n|/(?:\\\\.|[^/])+/w*|[^\\s:,/][^,\"'`{}()/:[\\]]*[^\\s,\"'`{}()/:[\\]]|[^\\s]","g"),i=/[\])"'A-Za-z0-9_$]+$/,r={in:1,return:1,typeof:1},a={};return{Ra:[],wa:a,ac:e,vb:function(o,i){function r(e,o){var i;if(!c){var p=x.getBindingHandler(e);if(p&&p.preprocess&&!(o=p.preprocess(o,e,r)))return;(p=a[e])&&(i=o,0<=x.a.A(t,i)?i=!1:(p=i.match(n),i=null!==p&&(p[1]?"Object("+p[1]+")"+p[2]:i)),p=i),p&&l.push("'"+("string"==typeof a[e]?a[e]:e)+"':function(_z){"+i+"=_z}")}u&&(o="function(){return "+o+" }"),s.push("'"+e+"':"+o)}var s=[],l=[],u=(i=i||{}).valueAccessors,c=i.bindingParams,p="string"==typeof o?e(o):o;return x.a.D(p,(function(e){r(e.key||e.unknown,e.value)})),l.length&&r("_ko_property_writers","{"+l.join(",")+" }"),s.join(",")},Id:function(e,t){for(var n=0;n<e.length;n++)if(e[n].key==t)return!0;return!1},eb:function(e,t,n,o,i){e&&x.O(e)?!x.Za(e)||i&&e.v()===o||e(o):(e=t.get("_ko_property_writers"))&&e[n]&&e[n](o)}}}(),x.b("expressionRewriting",x.m),x.b("expressionRewriting.bindingRewriteValidators",x.m.Ra),x.b("expressionRewriting.parseObjectLiteral",x.m.ac),x.b("expressionRewriting.preProcessBindings",x.m.vb),x.b("expressionRewriting._twoWayBindings",x.m.wa),x.b("jsonExpressionRewriting",x.m),x.b("jsonExpressionRewriting.insertPropertyAccessorsIntoJson",x.m.vb),function(){function e(e){return 8==e.nodeType&&r.test(i?e.text:e.nodeValue)}function t(e){return 8==e.nodeType&&a.test(i?e.text:e.nodeValue)}function n(n,o){for(var i=n,r=1,a=[];i=i.nextSibling;){if(t(i)&&(x.a.g.set(i,u,!0),0==--r))return a;a.push(i),e(i)&&r++}if(!o)throw Error("Cannot find closing comment tag to match: "+n.nodeValue);return null}function o(e,t){var o=n(e,t);return o?0<o.length?o[o.length-1].nextSibling:e.nextSibling:null}var i=l&&"\x3c!--test--\x3e"===l.createComment("test").text,r=i?/^\x3c!--\s*ko(?:\s+([\s\S]+))?\s*--\x3e$/:/^\s*ko(?:\s+([\s\S]+))?\s*$/,a=i?/^\x3c!--\s*\/ko\s*--\x3e$/:/^\s*\/ko\s*$/,s={ul:!0,ol:!0},u="__ko_matchedEndComment__";x.h={ea:{},childNodes:function(t){return e(t)?n(t):t.childNodes},Ea:function(t){if(e(t))for(var n=0,o=(t=x.h.childNodes(t)).length;n<o;n++)x.removeNode(t[n]);else x.a.Tb(t)},va:function(t,n){if(e(t)){x.h.Ea(t);for(var o=t.nextSibling,i=0,r=n.length;i<r;i++)o.parentNode.insertBefore(n[i],o)}else x.a.va(t,n)},Vc:function(t,n){var o;e(t)?(o=t.nextSibling,t=t.parentNode):o=t.firstChild,o?n!==o&&t.insertBefore(n,o):t.appendChild(n)},Wb:function(t,n,o){o?(o=o.nextSibling,e(t)&&(t=t.parentNode),o?n!==o&&t.insertBefore(n,o):t.appendChild(n)):x.h.Vc(t,n)},firstChild:function(n){if(e(n))return!n.nextSibling||t(n.nextSibling)?null:n.nextSibling;if(n.firstChild&&t(n.firstChild))throw Error("Found invalid end comment, as the first child of "+n);return n.firstChild},nextSibling:function(n){if(e(n)&&(n=o(n)),n.nextSibling&&t(n.nextSibling)){var i=n.nextSibling;if(t(i)&&!x.a.g.get(i,u))throw Error("Found end comment without a matching opening comment, as child of "+n);return null}return n.nextSibling},Cd:e,Vd:function(e){return(e=(i?e.text:e.nodeValue).match(r))?e[1]:null},Sc:function(n){if(s[x.a.R(n)]){var i=n.firstChild;if(i)do{if(1===i.nodeType){var r,a=null;if(r=i.firstChild)do{if(a)a.push(r);else if(e(r)){var l=o(r,!0);l?r=l:a=[r]}else t(r)&&(a=[r])}while(r=r.nextSibling);if(r=a)for(a=i.nextSibling,l=0;l<r.length;l++)a?n.insertBefore(r[l],a):n.appendChild(r[l])}}while(i=i.nextSibling)}}}}(),x.b("virtualElements",x.h),x.b("virtualElements.allowedBindings",x.h.ea),x.b("virtualElements.emptyNode",x.h.Ea),x.b("virtualElements.insertAfter",x.h.Wb),x.b("virtualElements.prepend",x.h.Vc),x.b("virtualElements.setDomNodeChildren",x.h.va),x.ga=function(){this.nd={}},x.a.extend(x.ga.prototype,{nodeHasBindings:function(e){switch(e.nodeType){case 1:return null!=e.getAttribute("data-bind")||x.j.getComponentNameForNode(e);case 8:return x.h.Cd(e);default:return!1}},getBindings:function(e,t){var n=(n=this.getBindingsString(e,t))?this.parseBindingsString(n,t,e):null;return x.j.tc(n,e,t,!1)},getBindingAccessors:function(e,t){var n=(n=this.getBindingsString(e,t))?this.parseBindingsString(n,t,e,{valueAccessors:!0}):null;return x.j.tc(n,e,t,!0)},getBindingsString:function(e){switch(e.nodeType){case 1:return e.getAttribute("data-bind");case 8:return x.h.Vd(e);default:return null}},parseBindingsString:function(e,t,n,o){try{var i,r=this.nd,a=e+(o&&o.valueAccessors||"");if(!(i=r[a])){var s,l="with($context){with($data||{}){return{"+x.m.vb(e,o)+"}}}";s=new Function("$context","$element",l),i=r[a]=s}return i(t,n)}catch(t){throw t.message="Unable to parse bindings.\nBindings value: "+e+"\nMessage: "+t.message,t}}}),x.ga.instance=new x.ga,x.b("bindingProvider",x.ga),function(){function e(e){var t=(e=x.a.g.get(e,C))&&e.N;t&&(e.N=null,t.Tc())}function t(t,n,o){this.node=t,this.yc=n,this.kb=[],this.H=!1,n.N||x.a.K.za(t,e),o&&o.N&&(o.N.kb.push(t),this.Kb=o)}function n(e){return function(){return e}}function o(e){return e()}function i(e){return x.a.Ga(x.u.G(e),(function(t,n){return function(){return e()[n]}}))}function r(e,t,o){return"function"==typeof e?i(e.bind(null,t,o)):x.a.Ga(e,n)}function u(e,t){return i(this.getBindings.bind(this,e,t))}function p(e,t){var n=x.h.firstChild(t);if(n){var o,i=x.ga.instance,r=i.preprocessNode;if(r){for(;o=n;)n=x.h.nextSibling(o),r.call(i,o);n=x.h.firstChild(t)}for(;o=n;)n=x.h.nextSibling(o),d(e,o)}x.i.ma(t,x.i.H)}function d(e,t){var n=e,o=1===t.nodeType;o&&x.h.Sc(t),(o||x.ga.instance.nodeHasBindings(t))&&(n=h(t,null,e).bindingContextForDescendants),n&&!v[x.a.R(t)]&&p(n,t)}function h(e,t,n){var i,r=x.a.g.Ub(e,C,{}),s=r.hd;if(!t){if(s)throw Error("You cannot apply bindings multiple times to the same element.");r.hd=!0}if(s||(r.context=n),r.Zb||(r.Zb={}),t&&"function"!=typeof t)i=t;else{var l=x.ga.instance,c=l.getBindingAccessors||u,p=x.$((function(){return(i=t?t(n,e):c.call(l,e,n))&&(n[g]&&n[g](),n[y]&&n[y]()),i}),null,{l:e});i&&p.ja()||(p=null)}var d,h=n;if(i){var m=function(){return x.a.Ga(p?p():i,o)},f=p?function(e){return function(){return o(p()[e])}}:function(e){return i[e]};m.get=function(e){return i[e]&&o(f(e))},m.has=function(e){return e in i},x.i.H in i&&x.i.subscribe(e,x.i.H,(function(){var t=(0,i[x.i.H])();if(t){var n=x.h.childNodes(e);n.length&&t(n,x.Ec(n[0]))}})),x.i.pa in i&&(h=x.i.Cb(e,n),x.i.subscribe(e,x.i.pa,(function(){var t=(0,i[x.i.pa])();t&&x.h.firstChild(e)&&t(e)}))),r=function(e){var t=[],n={},o=[];return x.a.P(e,(function i(r){if(!n[r]){var a=x.getBindingHandler(r);a&&(a.after&&(o.push(r),x.a.D(a.after,(function(t){if(e[t]){if(-1!==x.a.A(o,t))throw Error("Cannot combine the following bindings, because they have a cyclic dependency: "+o.join(", "));i(t)}})),o.length--),t.push({key:r,Mc:a})),n[r]=!0}})),t}(i),x.a.D(r,(function(t){var n=t.Mc.init,o=t.Mc.update,r=t.key;if(8===e.nodeType&&!x.h.ea[r])throw Error("The binding '"+r+"' cannot be used with virtual elements");try{"function"==typeof n&&x.u.G((function(){var t=n(e,f(r),m,h.$data,h);if(t&&t.controlsDescendantBindings){if(d!==a)throw Error("Multiple bindings ("+d+" and "+r+") are trying to control descendant bindings of the same element. You cannot use these bindings together on the same element.");d=r}})),"function"==typeof o&&x.$((function(){o(e,f(r),m,h.$data,h)}),null,{l:e})}catch(e){throw e.message='Unable to process binding "'+r+": "+i[r]+'"\nMessage: '+e.message,e}}))}return{shouldBindDescendants:r=d===a,bindingContextForDescendants:r&&h}}function m(e,t){return e&&e instanceof x.fa?e:new x.fa(e,a,a,t)}var g=x.a.Da("_subscribable"),f=x.a.Da("_ancestorBindingInfo"),y=x.a.Da("_dataDependency");x.c={};var v={script:!0,textarea:!0,template:!0};x.getBindingHandler=function(e){return x.c[e]};var b={};x.fa=function(e,t,n,o,i){function r(){var e=p?c():c,i=x.a.f(e);return t?(x.a.extend(l,t),f in t&&(l[f]=t[f])):(l.$parents=[],l.$root=i,l.ko=x),l[g]=s,u?i=l.$data:(l.$rawData=e,l.$data=i),n&&(l[n]=i),o&&o(l,t,i),t&&t[g]&&!x.S.o().Vb(t[g])&&t[g](),d&&(l[y]=d),l.$data}var s,l=this,u=e===b,c=u?a:e,p="function"==typeof c&&!x.O(c),d=i&&i.dataDependency;i&&i.exportDependencies?r():((s=x.xb(r)).v(),s.ja()?s.equalityComparer=null:l[g]=a)},x.fa.prototype.createChildContext=function(e,t,n,o){if(!o&&t&&"object"==typeof t&&(t=(o=t).as,n=o.extend),t&&o&&o.noChildContext){var i="function"==typeof e&&!x.O(e);return new x.fa(b,this,null,(function(o){n&&n(o),o[t]=i?e():e}),o)}return new x.fa(e,this,t,(function(e,t){e.$parentContext=t,e.$parent=t.$data,e.$parents=(t.$parents||[]).slice(0),e.$parents.unshift(e.$parent),n&&n(e)}),o)},x.fa.prototype.extend=function(e,t){return new x.fa(b,this,null,(function(t){x.a.extend(t,"function"==typeof e?e(t):e)}),t)};var C=x.a.g.Z();t.prototype.Tc=function(){this.Kb&&this.Kb.N&&this.Kb.N.sd(this.node)},t.prototype.sd=function(e){x.a.Pa(this.kb,e),!this.kb.length&&this.H&&this.Cc()},t.prototype.Cc=function(){this.H=!0,this.yc.N&&!this.kb.length&&(this.yc.N=null,x.a.K.yb(this.node,e),x.i.ma(this.node,x.i.pa),this.Tc())},x.i={H:"childrenComplete",pa:"descendantsComplete",subscribe:function(e,t,n,o,i){var r=x.a.g.Ub(e,C,{});return r.Fa||(r.Fa=new x.T),i&&i.notifyImmediately&&r.Zb[t]&&x.u.G(n,o,[e]),r.Fa.subscribe(n,o,t)},ma:function(e,t){var n=x.a.g.get(e,C);if(n&&(n.Zb[t]=!0,n.Fa&&n.Fa.notifySubscribers(e,t),t==x.i.H))if(n.N)n.N.Cc();else if(n.N===a&&n.Fa&&n.Fa.Wa(x.i.pa))throw Error("descendantsComplete event not supported for bindings on this node")},Cb:function(e,n){var o=x.a.g.Ub(e,C,{});return o.N||(o.N=new t(e,o,n[f])),n[f]==o?n:n.extend((function(e){e[f]=o}))}},x.Td=function(e){return(e=x.a.g.get(e,C))&&e.context},x.ib=function(e,t,n){return 1===e.nodeType&&x.h.Sc(e),h(e,t,m(n))},x.ld=function(e,t,n){return n=m(n),x.ib(e,r(t,n,e),n)},x.Oa=function(e,t){1!==t.nodeType&&8!==t.nodeType||p(m(e),t)},x.vc=function(e,t,n){if(!c&&s.jQuery&&(c=s.jQuery),2>arguments.length){if(!(t=l.body))throw Error("ko.applyBindings: could not find document.body; has the document been loaded?")}else if(!t||1!==t.nodeType&&8!==t.nodeType)throw Error("ko.applyBindings: first parameter should be your view model; second parameter should be a DOM node");d(m(e,n),t)},x.Dc=function(e){return!e||1!==e.nodeType&&8!==e.nodeType?a:x.Td(e)},x.Ec=function(e){return(e=x.Dc(e))?e.$data:a},x.b("bindingHandlers",x.c),x.b("bindingEvent",x.i),x.b("bindingEvent.subscribe",x.i.subscribe),x.b("bindingEvent.startPossiblyAsyncContentBinding",x.i.Cb),x.b("applyBindings",x.vc),x.b("applyBindingsToDescendants",x.Oa),x.b("applyBindingAccessorsToNode",x.ib),x.b("applyBindingsToNode",x.ld),x.b("contextFor",x.Dc),x.b("dataFor",x.Ec)}(),function(e){function t(t,o){var a,s=Object.prototype.hasOwnProperty.call(i,t)?i[t]:e;s?s.subscribe(o):((s=i[t]=new x.T).subscribe(o),n(t,(function(e,n){var o=!(!n||!n.synchronous);r[t]={definition:e,Gd:o},delete i[t],a||o?s.notifySubscribers(e):x.na.zb((function(){s.notifySubscribers(e)}))})),a=!0)}function n(e,t){o("getConfig",[e],(function(n){n?o("loadComponent",[e,n],(function(e){t(e,n)})):t(null,null)}))}function o(t,n,i,r){r||(r=x.j.loaders.slice(0));var a=r.shift();if(a){var s=a[t];if(s){var l=!1;if(s.apply(a,n.concat((function(e){l?i(null):null!==e?i(e):o(t,n,i,r)})))!==e&&(l=!0,!a.suppressLoaderExceptions))throw Error("Component loaders must supply values by invoking the callback, not by returning values synchronously.")}else o(t,n,i,r)}else i(null)}var i={},r={};x.j={get:function(n,o){var i=Object.prototype.hasOwnProperty.call(r,n)?r[n]:e;i?i.Gd?x.u.G((function(){o(i.definition)})):x.na.zb((function(){o(i.definition)})):t(n,o)},Bc:function(e){delete r[e]},oc:o},x.j.loaders=[],x.b("components",x.j),x.b("components.get",x.j.get),x.b("components.clearCachedDefinition",x.j.Bc)}(),function(){function e(e,t,n,o){function r(){0==--s&&o(a)}var a={},s=2,l=n.template;n=n.viewModel,l?i(t,l,(function(t){x.j.oc("loadTemplate",[e,t],(function(e){a.template=e,r()}))})):r(),n?i(t,n,(function(t){x.j.oc("loadViewModel",[e,t],(function(e){a[u]=e,r()}))})):r()}function n(e){switch(x.a.R(e)){case"script":return x.a.ua(e.text);case"textarea":return x.a.ua(e.value);case"template":if(o(e.content))return x.a.Ca(e.content.childNodes)}return x.a.Ca(e.childNodes)}function o(e){return s.DocumentFragment?e instanceof DocumentFragment:e&&11===e.nodeType}function i(e,n,o){"string"==typeof n.require?t||s.require?(t||s.require)([n.require],(function(e){e&&"object"==typeof e&&e.Xd&&e.default&&(e=e.default),o(e)})):e("Uses require, but no AMD loader is present"):o(n)}function r(e){return function(t){throw Error("Component '"+e+"': "+t)}}var a={};x.j.register=function(e,t){if(!t)throw Error("Invalid configuration for "+e);if(x.j.tb(e))throw Error("Component "+e+" is already registered");a[e]=t},x.j.tb=function(e){return Object.prototype.hasOwnProperty.call(a,e)},x.j.unregister=function(e){delete a[e],x.j.Bc(e)},x.j.Fc={getConfig:function(e,t){t(x.j.tb(e)?a[e]:null)},loadComponent:function(t,n,o){var a=r(t);i(a,n,(function(n){e(t,a,n,o)}))},loadTemplate:function(e,t,i){if(e=r(e),"string"==typeof t)i(x.a.ua(t));else if(t instanceof Array)i(t);else if(o(t))i(x.a.la(t.childNodes));else if(t.element)if(t=t.element,s.HTMLElement?t instanceof HTMLElement:t&&t.tagName&&1===t.nodeType)i(n(t));else if("string"==typeof t){var a=l.getElementById(t);a?i(n(a)):e("Cannot find element with ID "+t)}else e("Unknown element type: "+t);else e("Unknown template value: "+t)},loadViewModel:function(e,t,n){!function e(t,n,o){if("function"==typeof n)o((function(e){return new n(e)}));else if("function"==typeof n[u])o(n[u]);else if("instance"in n){var i=n.instance;o((function(){return i}))}else"viewModel"in n?e(t,n.viewModel,o):t("Unknown viewModel value: "+n)}(r(e),t,n)}};var u="createViewModel";x.b("components.register",x.j.register),x.b("components.isRegistered",x.j.tb),x.b("components.unregister",x.j.unregister),x.b("components.defaultLoader",x.j.Fc),x.j.loaders.push(x.j.Fc),x.j.dd=a}(),function(){function e(e,n){if(o=e.getAttribute("params")){var o=t.parseBindingsString(o,n,e,{valueAccessors:!0,bindingParams:!0}),i=(o=x.a.Ga(o,(function(t){return x.o(t,null,{l:e})})),x.a.Ga(o,(function(t){var n=t.v();return t.ja()?x.o({read:function(){return x.a.f(t())},write:x.Za(n)&&function(e){t()(e)},l:e}):n})));return Object.prototype.hasOwnProperty.call(i,"$raw")||(i.$raw=o),i}return{$raw:{}}}x.j.getComponentNameForNode=function(e){var t=x.a.R(e);if(x.j.tb(t)&&(-1!=t.indexOf("-")||"[object HTMLUnknownElement]"==""+e||8>=x.a.W&&e.tagName===t))return t},x.j.tc=function(t,n,o,i){if(1===n.nodeType){var r=x.j.getComponentNameForNode(n);if(r){if((t=t||{}).component)throw Error('Cannot use the "component" binding on a custom element matching a component');var a={name:r,params:e(n,o)};t.component=i?function(){return a}:a}}return t};var t=new x.ga;9>x.a.W&&(x.j.register=function(e){return function(t){return e.apply(this,arguments)}}(x.j.register),l.createDocumentFragment=function(e){return function(){var t,n=e(),o=x.j.dd;for(t in o);return n}}(l.createDocumentFragment))}(),function(){var e=0;x.c.component={init:function(t,n,o,i,r){function a(){var e=s&&s.dispose;"function"==typeof e&&e.call(s),u&&u.s(),l=s=u=null}var s,l,u,c=x.a.la(x.h.childNodes(t));return x.h.Ea(t),x.a.K.za(t,a),x.o((function(){var o,i,p=x.a.f(n());if("string"==typeof p?o=p:(o=x.a.f(p.name),i=x.a.f(p.params)),!o)throw Error("No component name specified");var d=x.i.Cb(t,r),h=l=++e;x.j.get(o,(function(e){if(l===h){if(a(),!e)throw Error("Unknown component '"+o+"'");!function(e,t,n){if(!(t=t.template))throw Error("Component '"+e+"' has no template");e=x.a.Ca(t),x.h.va(n,e)}(o,e,t);var n=function(e,t,n){var o=e.createViewModel;return o?o.call(e,t,n):t}(e,i,{element:t,templateNodes:c});e=d.createChildContext(n,{extend:function(e){e.$component=n,e.$componentTemplateNodes=c}}),n&&n.koDescendantsComplete&&(u=x.i.subscribe(t,x.i.pa,n.koDescendantsComplete,n)),s=n,x.Oa(e,t)}}))}),null,{l:t}),{controlsDescendantBindings:!0}}},x.h.ea.component=!0}();var I={class:"className",for:"htmlFor"};x.c.attr={update:function(e,t){var n=x.a.f(t())||{};x.a.P(n,(function(t,n){n=x.a.f(n);var o=t.indexOf(":"),i=(o="lookupNamespaceURI"in e&&0<o&&e.lookupNamespaceURI(t.substr(0,o)),!1===n||null===n||n===a);i?o?e.removeAttributeNS(o,t):e.removeAttribute(t):n=n.toString(),8>=x.a.W&&t in I?(t=I[t],i?e.removeAttribute(t):e[t]=n):i||(o?e.setAttributeNS(o,t,n):e.setAttribute(t,n)),"name"===t&&x.a.Yc(e,i?"":n)}))}},x.c.checked={after:["value","attr"],init:function(e,t,n){function o(){var o=e.checked,l=i();if(!x.S.Ya()&&(o||!s&&!x.S.qa())){var p=x.u.G(t);if(u){var h=c?p.v():p,m=d;d=l,m!==l?o&&(x.a.Na(h,l,!0),x.a.Na(h,m,!1)):x.a.Na(h,l,o),c&&x.Za(p)&&p(h)}else r&&(l===a?l=o:o||(l=a)),x.m.eb(p,n,"checked",l,!0)}}var i=x.xb((function(){return n.has("checkedValue")?x.a.f(n.get("checkedValue")):p?n.has("value")?x.a.f(n.get("value")):e.value:void 0})),r="checkbox"==e.type,s="radio"==e.type;if(r||s){var l=t(),u=r&&x.a.f(l)instanceof Array,c=!(u&&l.push&&l.splice),p=s||u,d=u?i():a;s&&!e.name&&x.c.uniqueName.init(e,(function(){return!0})),x.o(o,null,{l:e}),x.a.B(e,"click",o),x.o((function(){var n=x.a.f(t()),o=i();u?(e.checked=0<=x.a.A(n,o),d=o):e.checked=r&&o===a?!!n:i()===n}),null,{l:e}),l=a}}},x.m.wa.checked=!0,x.c.checkedValue={update:function(e,t){e.value=x.a.f(t())}},x.c.class={update:function(e,t){var n=x.a.Db(x.a.f(t()));x.a.Eb(e,e.__ko__cssValue,!1),e.__ko__cssValue=n,x.a.Eb(e,n,!0)}},x.c.css={update:function(e,t){var n=x.a.f(t());null!==n&&"object"==typeof n?x.a.P(n,(function(t,n){n=x.a.f(n),x.a.Eb(e,t,n)})):x.c.class.update(e,t)}},x.c.enable={update:function(e,t){var n=x.a.f(t());n&&e.disabled?e.removeAttribute("disabled"):n||e.disabled||(e.disabled=!0)}},x.c.disable={update:function(e,t){x.c.enable.update(e,(function(){return!x.a.f(t())}))}},x.c.event={init:function(e,t,n,o,i){var r=t()||{};x.a.P(r,(function(r){"string"==typeof r&&x.a.B(e,r,(function(e){var a,s=t()[r];if(s){try{var l=x.a.la(arguments);o=i.$data,l.unshift(o),a=s.apply(o,l)}finally{!0!==a&&(e.preventDefault?e.preventDefault():e.returnValue=!1)}!1===n.get(r+"Bubble")&&(e.cancelBubble=!0,e.stopPropagation&&e.stopPropagation())}}))}))}},x.c.foreach={Rc:function(e){return function(){var t=e(),n=x.a.bc(t);return n&&"number"!=typeof n.length?(x.a.f(t),{foreach:n.data,as:n.as,noChildContext:n.noChildContext,includeDestroyed:n.includeDestroyed,afterAdd:n.afterAdd,beforeRemove:n.beforeRemove,afterRender:n.afterRender,beforeMove:n.beforeMove,afterMove:n.afterMove,templateEngine:x.ba.Ma}):{foreach:t,templateEngine:x.ba.Ma}}},init:function(e,t){return x.c.template.init(e,x.c.foreach.Rc(t))},update:function(e,t,n,o,i){return x.c.template.update(e,x.c.foreach.Rc(t),n,o,i)}},x.m.Ra.foreach=!1,x.h.ea.foreach=!0,x.c.hasfocus={init:function(e,t,n){function o(o){e.__ko_hasfocusUpdating=!0;var i=e.ownerDocument;if("activeElement"in i){var r;try{r=i.activeElement}catch(e){r=i.body}o=r===e}i=t(),x.m.eb(i,n,"hasfocus",o,!0),e.__ko_hasfocusLastValue=o,e.__ko_hasfocusUpdating=!1}var i=o.bind(null,!0),r=o.bind(null,!1);x.a.B(e,"focus",i),x.a.B(e,"focusin",i),x.a.B(e,"blur",r),x.a.B(e,"focusout",r),e.__ko_hasfocusLastValue=!1},update:function(e,t){var n=!!x.a.f(t());e.__ko_hasfocusUpdating||e.__ko_hasfocusLastValue===n||(n?e.focus():e.blur(),!n&&e.__ko_hasfocusLastValue&&e.ownerDocument.body.focus(),x.u.G(x.a.Fb,null,[e,n?"focusin":"focusout"]))}},x.m.wa.hasfocus=!0,x.c.hasFocus=x.c.hasfocus,x.m.wa.hasFocus="hasfocus",x.c.html={init:function(){return{controlsDescendantBindings:!0}},update:function(e,t){x.a.fc(e,t())}},function(){function e(e,t,n){x.c[e]={init:function(e,o,i,r,a){var s,l,u,c,p,d={};if(t){r=i.get("as");var h=i.get("noChildContext");d={as:r,noChildContext:h,exportDependencies:p=!(r&&h)}}return c=(u="render"==i.get("completeOn"))||i.has(x.i.pa),x.o((function(){var i,r=x.a.f(o()),h=!n!=!r,m=!l;(p||h!==s)&&(c&&(a=x.i.Cb(e,a)),h&&(t&&!p||(d.dataDependency=x.S.o()),i=t?a.createChildContext("function"==typeof r?r:o,d):x.S.qa()?a.extend(null,d):a),m&&x.S.qa()&&(l=x.a.Ca(x.h.childNodes(e),!0)),h?(m||x.h.va(e,x.a.Ca(l)),x.Oa(i,e)):(x.h.Ea(e),u||x.i.ma(e,x.i.H)),s=h)}),null,{l:e}),{controlsDescendantBindings:!0}}},x.m.Ra[e]=!1,x.h.ea[e]=!0}e("if"),e("ifnot",!1,!0),e("with",!0)}(),x.c.let={init:function(e,t,n,o,i){return t=i.extend(t),x.Oa(t,e),{controlsDescendantBindings:!0}}},x.h.ea.let=!0;var O={};x.c.options={init:function(e){if("select"!==x.a.R(e))throw Error("options binding applies only to SELECT elements");for(;0<e.length;)e.remove(0);return{controlsDescendantBindings:!0}},update:function(e,t,n){function o(){return x.a.jb(e.options,(function(e){return e.selected}))}function i(e,t,n){var o=typeof t;return"function"==o?t(e):"string"==o?e[t]:n}function r(t,n){if(m&&c)x.i.ma(e,x.i.H);else if(h.length){var o=0<=x.a.A(h,x.w.M(n[0]));x.a.Zc(n[0],o),m&&!o&&x.u.G(x.a.Fb,null,[e,"change"])}}var s=e.multiple,l=0!=e.length&&s?e.scrollTop:null,u=x.a.f(t()),c=n.get("valueAllowUnset")&&n.has("value"),p=n.get("optionsIncludeDestroyed");t={};var d,h=[];c||(s?h=x.a.Mb(o(),x.w.M):0<=e.selectedIndex&&h.push(x.w.M(e.options[e.selectedIndex]))),u&&(void 0===u.length&&(u=[u]),d=x.a.jb(u,(function(e){return p||e===a||null===e||!x.a.f(e._destroy)})),n.has("optionsCaption")&&null!==(u=x.a.f(n.get("optionsCaption")))&&u!==a&&d.unshift(O));var m=!1;t.beforeRemove=function(t){e.removeChild(t)},u=r,n.has("optionsAfterRender")&&"function"==typeof n.get("optionsAfterRender")&&(u=function(e,t){r(0,t),x.u.G(n.get("optionsAfterRender"),null,[t[0],e!==O?e:a])}),x.a.ec(e,d,(function(t,o,r){return r.length&&(h=!c&&r[0].selected?[x.w.M(r[0])]:[],m=!0),o=e.ownerDocument.createElement("option"),t===O?(x.a.Bb(o,n.get("optionsCaption")),x.w.cb(o,a)):(r=i(t,n.get("optionsValue"),t),x.w.cb(o,x.a.f(r)),t=i(t,n.get("optionsText"),r),x.a.Bb(o,t)),[o]}),t,u),c||(s?h.length&&o().length<h.length:h.length&&0<=e.selectedIndex?x.w.M(e.options[e.selectedIndex])!==h[0]:h.length||0<=e.selectedIndex)&&x.u.G(x.a.Fb,null,[e,"change"]),(c||x.S.Ya())&&x.i.ma(e,x.i.H),x.a.wd(e),l&&20<Math.abs(l-e.scrollTop)&&(e.scrollTop=l)}},x.c.options.$b=x.a.g.Z(),x.c.selectedOptions={init:function(e,t,n){function o(){var o=t(),i=[];x.a.D(e.getElementsByTagName("option"),(function(e){e.selected&&i.push(x.w.M(e))})),x.m.eb(o,n,"selectedOptions",i)}function i(){var n=x.a.f(t()),o=e.scrollTop;n&&"number"==typeof n.length&&x.a.D(e.getElementsByTagName("option"),(function(e){var t=0<=x.a.A(n,x.w.M(e));e.selected!=t&&x.a.Zc(e,t)})),e.scrollTop=o}if("select"!=x.a.R(e))throw Error("selectedOptions binding applies only to SELECT elements");var r;x.i.subscribe(e,x.i.H,(function(){r?o():(x.a.B(e,"change",o),r=x.o(i,null,{l:e}))}),null,{notifyImmediately:!0})},update:function(){}},x.m.wa.selectedOptions=!0,x.c.style={update:function(e,t){var n=x.a.f(t()||{});x.a.P(n,(function(t,n){if(null!==(n=x.a.f(n))&&n!==a&&!1!==n||(n=""),c)c(e).css(t,n);else if(/^--/.test(t))e.style.setProperty(t,n);else{t=t.replace(/-(\w)/g,(function(e,t){return t.toUpperCase()}));var o=e.style[t];e.style[t]=n,n===o||e.style[t]!=o||isNaN(n)||(e.style[t]=n+"px")}}))}},x.c.submit={init:function(e,t,n,o,i){if("function"!=typeof t())throw Error("The value for a submit binding must be a function");x.a.B(e,"submit",(function(n){var o,r=t();try{o=r.call(i.$data,e)}finally{!0!==o&&(n.preventDefault?n.preventDefault():n.returnValue=!1)}}))}},x.c.text={init:function(){return{controlsDescendantBindings:!0}},update:function(e,t){x.a.Bb(e,t())}},x.h.ea.text=!0,function(){if(s&&s.navigator){var e,t,n,o,i,r=function(e){if(e)return parseFloat(e[1])},l=s.navigator.userAgent;(e=s.opera&&s.opera.version&&parseInt(s.opera.version()))||(i=r(l.match(/Edge\/([^ ]+)$/)))||r(l.match(/Chrome\/([^ ]+)/))||(t=r(l.match(/Version\/([^ ]+) Safari/)))||(n=r(l.match(/Firefox\/([^ ]+)/)))||(o=x.a.W||r(l.match(/MSIE ([^ ]+)/)))||(o=r(l.match(/rv:([^ )]+)/)))}if(8<=o&&10>o)var u=x.a.g.Z(),c=x.a.g.Z(),p=function(e){var t=this.activeElement;(t=t&&x.a.g.get(t,c))&&t(e)},d=function(e,t){var n=e.ownerDocument;x.a.g.get(n,u)||(x.a.g.set(n,u,!0),x.a.B(n,"selectionchange",p)),x.a.g.set(e,c,t)};x.c.textInput={init:function(r,s,l){function u(e,t){x.a.B(r,e,t)}function c(){h||(m=r.value,h=x.a.setTimeout(p,4))}function p(){clearTimeout(h),m=h=a;var e=r.value;g!==e&&(g=e,x.m.eb(s(),l,"textInput",e))}var h,m,g=r.value,f=9==x.a.W?c:p,y=!1;o&&u("keypress",p),11>o&&u("propertychange",(function(e){y||"value"!==e.propertyName||f(e)})),8==o&&(u("keyup",p),u("keydown",p)),d&&(d(r,f),u("dragend",c)),(!o||9<=o)&&u("input",f),5>t&&"textarea"===x.a.R(r)?(u("keydown",c),u("paste",c),u("cut",c)):11>e?u("keydown",c):4>n?(u("DOMAutoComplete",p),u("dragdrop",p),u("drop",p)):i&&"number"===r.type&&u("keydown",c),u("change",p),u("blur",p),x.o((function e(){var t=x.a.f(s());null!==t&&t!==a||(t=""),m!==a&&t===m?x.a.setTimeout(e,4):r.value!==t&&(y=!0,r.value=t,y=!1,g=r.value)}),null,{l:r})}},x.m.wa.textInput=!0,x.c.textinput={preprocess:function(e,t,n){n("textInput",e)}}}(),x.c.uniqueName={init:function(e,t){if(t()){var n="ko_unique_"+ ++x.c.uniqueName.rd;x.a.Yc(e,n)}}},x.c.uniqueName.rd=0,x.c.using={init:function(e,t,n,o,i){var r;return n.has("as")&&(r={as:n.get("as"),noChildContext:n.get("noChildContext")}),t=i.createChildContext(t,r),x.Oa(t,e),{controlsDescendantBindings:!0}}},x.h.ea.using=!0,x.c.value={init:function(e,t,n){var o=x.a.R(e),i="input"==o;if(!i||"checkbox"!=e.type&&"radio"!=e.type){var r=[],s=n.get("valueUpdate"),l=!1,u=null;s&&(r="string"==typeof s?[s]:x.a.wc(s),x.a.Pa(r,"change"));var c,p,d=function(){u=null,l=!1;var o=t(),i=x.w.M(e);x.m.eb(o,n,"value",i)};!x.a.W||!i||"text"!=e.type||"off"==e.autocomplete||e.form&&"off"==e.form.autocomplete||-1!=x.a.A(r,"propertychange")||(x.a.B(e,"propertychange",(function(){l=!0})),x.a.B(e,"focus",(function(){l=!1})),x.a.B(e,"blur",(function(){l&&d()}))),x.a.D(r,(function(t){var n=d;x.a.Ud(t,"after")&&(n=function(){u=x.w.M(e),x.a.setTimeout(d,0)},t=t.substring(5)),x.a.B(e,t,n)})),c=i&&"file"==e.type?function(){var n=x.a.f(t());null===n||n===a||""===n?e.value="":x.u.G(d)}:function(){var i=x.a.f(t()),r=x.w.M(e);null!==u&&i===u?x.a.setTimeout(c,0):i===r&&r!==a||("select"===o?(r=n.get("valueAllowUnset"),x.w.cb(e,i,r),r||i===x.w.M(e)||x.u.G(d)):x.w.cb(e,i))},"select"===o?x.i.subscribe(e,x.i.H,(function(){p?n.get("valueAllowUnset")?c():d():(x.a.B(e,"change",d),p=x.o(c,null,{l:e}))}),null,{notifyImmediately:!0}):(x.a.B(e,"change",d),x.o(c,null,{l:e}))}else x.ib(e,{checkedValue:t})},update:function(){}},x.m.wa.value=!0,x.c.visible={update:function(e,t){var n=x.a.f(t()),o="none"!=e.style.display;n&&!o?e.style.display="":!n&&o&&(e.style.display="none")}},x.c.hidden={update:function(e,t){x.c.visible.update(e,(function(){return!x.a.f(t())}))}},function(e){x.c[e]={init:function(t,n,o,i,r){return x.c.event.init.call(this,t,(function(){var t={};return t[e]=n(),t}),o,i,r)}}}("click"),x.ca=function(){},x.ca.prototype.renderTemplateSource=function(){throw Error("Override renderTemplateSource")},x.ca.prototype.createJavaScriptEvaluatorBlock=function(){throw Error("Override createJavaScriptEvaluatorBlock")},x.ca.prototype.makeTemplateSource=function(e,t){if("string"==typeof e){var n=(t=t||l).getElementById(e);if(!n)throw Error("Cannot find template with ID "+e);return new x.C.F(n)}if(1==e.nodeType||8==e.nodeType)return new x.C.ia(e);throw Error("Unknown template type: "+e)},x.ca.prototype.renderTemplate=function(e,t,n,o){return e=this.makeTemplateSource(e,o),this.renderTemplateSource(e,t,n,o)},x.ca.prototype.isTemplateRewritten=function(e,t){return!1===this.allowTemplateRewriting||this.makeTemplateSource(e,t).data("isRewritten")},x.ca.prototype.rewriteTemplate=function(e,t,n){t=t((e=this.makeTemplateSource(e,n)).text()),e.text(t),e.data("isRewritten",!0)},x.b("templateEngine",x.ca),x.kc=function(){function e(e,t,n,o){e=x.m.ac(e);for(var i=x.m.Ra,r=0;r<e.length;r++){var a=e[r].key;if(Object.prototype.hasOwnProperty.call(i,a)){var s=i[a];if("function"==typeof s){if(a=s(e[r].value))throw Error(a)}else if(!s)throw Error("This template engine does not support the '"+a+"' binding within its templates")}}return n="ko.__tr_ambtns(function($context,$element){return(function(){return{ "+x.m.vb(e,{valueAccessors:!0})+" } })()},'"+n.toLowerCase()+"')",o.createJavaScriptEvaluatorBlock(n)+t}var t=/(<([a-z]+\d*)(?:\s+(?!data-bind\s*=\s*)[a-z0-9\-]+(?:=(?:\"[^\"]*\"|\'[^\']*\'|[^>]*))?)*\s+)data-bind\s*=\s*(["'])([\s\S]*?)\3/gi,n=/\x3c!--\s*ko\b\s*([\s\S]*?)\s*--\x3e/g;return{xd:function(e,t,n){t.isTemplateRewritten(e,n)||t.rewriteTemplate(e,(function(e){return x.kc.Ld(e,t)}),n)},Ld:function(o,i){return o.replace(t,(function(t,n,o,r,a){return e(a,n,o,i)})).replace(n,(function(t,n){return e(n,"\x3c!-- ko --\x3e","#comment",i)}))},md:function(e,t){return x.aa.Xb((function(n,o){var i=n.nextSibling;i&&i.nodeName.toLowerCase()===t&&x.ib(i,e,o)}))}}}(),x.b("__tr_ambtns",x.kc.md),function(){x.C={},x.C.F=function(e){if(this.F=e){var t=x.a.R(e);this.ab="script"===t?1:"textarea"===t?2:"template"==t&&e.content&&11===e.content.nodeType?3:4}},x.C.F.prototype.text=function(){var e=1===this.ab?"text":2===this.ab?"value":"innerHTML";if(0==arguments.length)return this.F[e];var t=arguments[0];"innerHTML"===e?x.a.fc(this.F,t):this.F[e]=t};var e=x.a.g.Z()+"_";x.C.F.prototype.data=function(t){if(1===arguments.length)return x.a.g.get(this.F,e+t);x.a.g.set(this.F,e+t,arguments[1])};var t=x.a.g.Z();x.C.F.prototype.nodes=function(){var e=this.F;if(0==arguments.length){var n=x.a.g.get(e,t)||{},o=n.lb||(3===this.ab?e.content:4===this.ab?e:a);if(!o||n.jd){var i=this.text();i&&i!==n.bb&&(o=x.a.Md(i,e.ownerDocument),x.a.g.set(e,t,{lb:o,bb:i,jd:!0}))}return o}n=arguments[0],this.ab!==a&&this.text(""),x.a.g.set(e,t,{lb:n})},x.C.ia=function(e){this.F=e},x.C.ia.prototype=new x.C.F,x.C.ia.prototype.constructor=x.C.ia,x.C.ia.prototype.text=function(){if(0==arguments.length){var e=x.a.g.get(this.F,t)||{};return e.bb===a&&e.lb&&(e.bb=e.lb.innerHTML),e.bb}x.a.g.set(this.F,t,{bb:arguments[0]})},x.b("templateSources",x.C),x.b("templateSources.domElement",x.C.F),x.b("templateSources.anonymousTemplate",x.C.ia)}(),function(){function e(e,t,n){var o;for(t=x.h.nextSibling(t);e&&(o=e)!==t;)n(o,e=x.h.nextSibling(o))}function t(t,n){if(t.length){var o=t[0],i=t[t.length-1],r=o.parentNode,a=x.ga.instance,s=a.preprocessNode;if(s){if(e(o,i,(function(e,t){var n=e.previousSibling,r=s.call(a,e);r&&(e===o&&(o=r[0]||t),e===i&&(i=r[r.length-1]||n))})),t.length=0,!o)return;o===i?t.push(o):(t.push(o,i),x.a.Ua(t,r))}e(o,i,(function(e){1!==e.nodeType&&8!==e.nodeType||x.vc(n,e)})),e(o,i,(function(e){1!==e.nodeType&&8!==e.nodeType||x.aa.cd(e,[n])})),x.a.Ua(t,r)}}function n(e){return e.nodeType?e:0<e.length?e[0]:null}function o(e,o,i,a,s){s=s||{};var l=(e&&n(e)||i||{}).ownerDocument,u=s.templateEngine||r;if(x.kc.xd(i,u,l),"number"!=typeof(i=u.renderTemplate(i,a,s,l)).length||0<i.length&&"number"!=typeof i[0].nodeType)throw Error("Template engine must return an array of DOM nodes");switch(l=!1,o){case"replaceChildren":x.h.va(e,i),l=!0;break;case"replaceNode":x.a.Xc(e,i),l=!0;break;case"ignoreTargetNode":break;default:throw Error("Unknown renderMode: "+o)}return l&&(t(i,a),s.afterRender&&x.u.G(s.afterRender,null,[i,a[s.as||"$data"]]),"replaceChildren"==o&&x.i.ma(e,x.i.H)),i}function i(e,t,n){return x.O(e)?e():"function"==typeof e?e(t,n):e}var r;x.gc=function(e){if(e!=a&&!(e instanceof x.ca))throw Error("templateEngine must inherit from ko.templateEngine");r=e},x.dc=function(e,t,s,l,u){if(((s=s||{}).templateEngine||r)==a)throw Error("Set a template engine before calling renderTemplate");if(u=u||"replaceChildren",l){var c=n(l);return x.$((function(){var r=t&&t instanceof x.fa?t:new x.fa(t,null,null,null,{exportDependencies:!0}),a=i(e,r.$data,r);r=o(l,u,a,r,s),"replaceNode"==u&&(c=n(l=r))}),null,{Sa:function(){return!c||!x.a.Sb(c)},l:c&&"replaceNode"==u?c.parentNode:c})}return x.aa.Xb((function(n){x.dc(e,t,s,n,"replaceNode")}))},x.Qd=function(e,n,r,s,l){function u(e,t){x.u.G(x.a.ec,null,[s,e,p,r,c,t]),x.i.ma(s,x.i.H)}function c(e,n){t(n,d),r.afterRender&&r.afterRender(n,e),d=null}function p(t,n){d=l.createChildContext(t,{as:h,noChildContext:r.noChildContext,extend:function(e){e.$index=n,h&&(e[h+"Index"]=n)}});var a=i(e,t,d);return o(s,"ignoreTargetNode",a,d,r)}var d,h=r.as,m=!1===r.includeDestroyed||x.options.foreachHidesDestroyed&&!r.includeDestroyed;if(m||r.beforeRemove||!x.Pc(n))return x.$((function(){var e=x.a.f(n)||[];void 0===e.length&&(e=[e]),m&&(e=x.a.jb(e,(function(e){return e===a||null===e||!x.a.f(e._destroy)}))),u(e)}),null,{l:s});u(n.v());var g=n.subscribe((function(e){u(n(),e)}),null,"arrayChange");return g.l(s),g};var s=x.a.g.Z(),l=x.a.g.Z();x.c.template={init:function(e,t){var n=x.a.f(t());if("string"==typeof n||"name"in n)x.h.Ea(e);else if("nodes"in n){if(n=n.nodes||[],x.O(n))throw Error('The "nodes" option must be a plain, non-observable array.');var o=n[0]&&n[0].parentNode;o&&x.a.g.get(o,l)||(o=x.a.Yb(n),x.a.g.set(o,l,!0)),new x.C.ia(e).nodes(o)}else{if(!(0<(n=x.h.childNodes(e)).length))throw Error("Anonymous template defined, but no template content was provided");o=x.a.Yb(n),new x.C.ia(e).nodes(o)}return{controlsDescendantBindings:!0}},update:function(e,t,n,o,i){var r=t();n=!0,o=null,"string"==typeof(t=x.a.f(r))?t={}:(r="name"in t?t.name:e,"if"in t&&(n=x.a.f(t.if)),n&&"ifnot"in t&&(n=!x.a.f(t.ifnot)),n&&!r&&(n=!1)),"foreach"in t?o=x.Qd(r,n&&t.foreach||[],t,e,i):n?(n=i,"data"in t&&(n=i.createChildContext(t.data,{as:t.as,noChildContext:t.noChildContext,exportDependencies:!0})),o=x.dc(r,n,t,e)):x.h.Ea(e),i=o,(t=x.a.g.get(e,s))&&"function"==typeof t.s&&t.s(),x.a.g.set(e,s,!i||i.ja&&!i.ja()?a:i)}},x.m.Ra.template=function(e){return 1==(e=x.m.ac(e)).length&&e[0].unknown||x.m.Id(e,"name")?null:"This template engine does not support anonymous templates nested within its templates"},x.h.ea.template=!0}(),x.b("setTemplateEngine",x.gc),x.b("renderTemplate",x.dc),x.a.Kc=function(e,t,n){var o,i,r,a,s;if(e.length&&t.length)for(o=i=0;(!n||o<n)&&(a=e[i]);++i){for(r=0;s=t[r];++r)if(a.value===s.value){a.moved=s.index,s.moved=a.index,t.splice(r,1),o=r=0;break}o+=r}},x.a.Pb=function(){function e(e,t,n,o,i){var r,a,s,l,u,c=Math.min,p=Math.max,d=[],h=e.length,m=t.length,g=m-h||1,f=h+m+1;for(r=0;r<=h;r++)for(l=s,d.push(s=[]),u=c(m,r+g),a=p(0,r-1);a<=u;a++)s[a]=a?r?e[r-1]===t[a-1]?l[a-1]:c(l[a]||f,s[a-1]||f)+1:a+1:r+1;for(c=[],p=[],g=[],r=h,a=m;r||a;)m=d[r][a]-1,a&&m===d[r][a-1]?p.push(c[c.length]={status:n,value:t[--a],index:a}):r&&m===d[r-1][a]?g.push(c[c.length]={status:o,value:e[--r],index:r}):(--a,--r,i.sparse||c.push({status:"retained",value:t[a]}));return x.a.Kc(g,p,!i.dontLimitMoves&&10*h),c.reverse()}return function(t,n,o){return o="boolean"==typeof o?{dontLimitMoves:o}:o||{},n=n||[],(t=t||[]).length<n.length?e(t,n,"added","deleted",o):e(n,t,"deleted","added",o)}}(),x.b("utils.compareArrays",x.a.Pb),function(){function e(e,t,n,o,i){var r=[],s=x.$((function(){var a=t(n,i,x.a.Ua(r,e))||[];0<r.length&&(x.a.Xc(r,a),o&&x.u.G(o,null,[n,a,i])),r.length=0,x.a.Nb(r,a)}),null,{l:e,Sa:function(){return!x.a.kd(r)}});return{Y:r,$:s.ja()?s:a}}var t=x.a.g.Z(),n=x.a.g.Z();x.a.ec=function(o,i,r,s,l,u){function c(e){h={Aa:e,pb:x.ta(w++)},b.push(h),v||T.push(h)}function p(e){h=y[e],w!==h.pb.v()&&_.push(h),h.pb(w++),x.a.Ua(h.Y,o),b.push(h)}function d(e,t){if(e)for(var n=0,o=t.length;n<o;n++)x.a.D(t[n].Y,(function(o){e(o,n,t[n].Aa)}))}void 0===(i=i||[]).length&&(i=[i]),s=s||{};var h,m,g,f,y=x.a.g.get(o,t),v=!y,b=[],C=0,w=0,P=[],k=[],V=[],_=[],T=[],S=0;if(v)x.a.D(i,c);else{if(!u||y&&y._countWaitingForRemove){var E=x.a.Mb(y,(function(e){return e.Aa}));u=x.a.Pb(E,i,{dontLimitMoves:s.dontLimitMoves,sparse:!0})}var R,I,O;for(E=0;R=u[E];E++)switch(I=R.moved,O=R.index,R.status){case"deleted":for(;C<O;)p(C++);I===a&&((h=y[C]).$&&(h.$.s(),h.$=a),x.a.Ua(h.Y,o).length&&(s.beforeRemove&&(b.push(h),S++,h.Aa===n?h=null:V.push(h)),h&&P.push.apply(P,h.Y))),C++;break;case"added":for(;w<O;)p(C++);I!==a?(k.push(b.length),p(I)):c(R.value)}for(;w<i.length;)p(C++);b._countWaitingForRemove=S}x.a.g.set(o,t,b),d(s.beforeMove,_),x.a.D(P,s.beforeRemove?x.oa:x.removeNode);try{f=o.ownerDocument.activeElement}catch(e){}if(k.length)for(;(E=k.shift())!=a;){for(h=b[E],m=a;E;)if((g=b[--E].Y)&&g.length){m=g[g.length-1];break}for(i=0;C=h.Y[i];m=C,i++)x.h.Wb(o,C,m)}for(E=0;h=b[E];E++){for(h.Y||x.a.extend(h,e(o,r,h.Aa,l,h.pb)),i=0;C=h.Y[i];m=C,i++)x.h.Wb(o,C,m);!h.Ed&&l&&(l(h.Aa,h.Y,h.pb),h.Ed=!0,m=h.Y[h.Y.length-1])}for(f&&o.ownerDocument.activeElement!=f&&f.focus(),d(s.beforeRemove,V),E=0;E<V.length;++E)V[E].Aa=n;d(s.afterMove,_),d(s.afterAdd,T)}}(),x.b("utils.setDomNodeChildrenFromArrayMapping",x.a.ec),x.ba=function(){this.allowTemplateRewriting=!1},x.ba.prototype=new x.ca,x.ba.prototype.constructor=x.ba,x.ba.prototype.renderTemplateSource=function(e,t,n,o){return(t=9>x.a.W||!e.nodes?null:e.nodes())?x.a.la(t.cloneNode(!0).childNodes):(e=e.text(),x.a.ua(e,o))},x.ba.Ma=new x.ba,x.gc(x.ba.Ma),x.b("nativeTemplateEngine",x.ba),function(){x.$a=function(){var e=this.Hd=function(){if(!c||!c.tmpl)return 0;try{if(0<=c.tmpl.tag.tmpl.open.toString().indexOf("__"))return 2}catch(e){}return 1}();this.renderTemplateSource=function(t,n,o,i){if(i=i||l,o=o||{},2>e)throw Error("Your version of jQuery.tmpl is too old. Please upgrade to jQuery.tmpl 1.0.0pre or later.");var r=t.data("precompiled");return r||(r=t.text()||"",r=c.template(null,"{{ko_with $item.koBindingContext}}"+r+"{{/ko_with}}"),t.data("precompiled",r)),t=[n.$data],n=c.extend({koBindingContext:n},o.templateOptions),(n=c.tmpl(r,t,n)).appendTo(i.createElement("div")),c.fragments={},n},this.createJavaScriptEvaluatorBlock=function(e){return"{{ko_code ((function() { return "+e+" })()) }}"},this.addTemplate=function(e,t){l.write("<script type='text/html' id='"+e+"'>"+t+"<\/script>")},0<e&&(c.tmpl.tag.ko_code={open:"__.push($1 || '');"},c.tmpl.tag.ko_with={open:"with($1) {",close:"} "})},x.$a.prototype=new x.ca,x.$a.prototype.constructor=x.$a;var e=new x.$a;0<e.Hd&&x.gc(e),x.b("jqueryTmplTemplateEngine",x.$a
vendor: 86,194 bytes, line 11
11)}()}))}()},function(t,n){t.exports=e},function(e,t,n){e.exports=n(3)+"\n"+n(4)+"\n"+n(5)+"\n"+n(6)+"\n"+n(7)+"\n"+n(8)+"\n"+n(9)+"\n"+n(10)+"\n"+n(11)+"\n"+n(12)+"\n"+n(13)+"\n"+n(14)+"\n"+n(15)+"\n"+n(16)+"\n"+n(17)+"\n"+n(18)+"\n"+n(19)+"\n"+n(20)+"\n"+n(21)+"\n"+n(22)+"\n"+n(23)+"\n"+n(24)+"\n"+n(25)+"\n"+n(26)+"\n"+n(27)+"\n"+n(28)+"\n"+n(29)+"\n"+n(30)+"\n"+n(31)+"\n"+n(32)+"\n"+n(33)+"\n"+n(34)+"\n"+n(35)+"\n"+n(36)+"\n"+n(37)+"\n"+n(38)+"\n"+n(39)+"\n"+n(40)+"\n"+n(41)+"\n"+n(42)},function(e,t){e.exports='<script type="text/html" id="survey-comment">\n\x3c!-- ko if: !question.isReadOnlyRenderDiv() --\x3e\n\x3c!-- ko component: { name: \'sv-text-area\', params: question.commentTextAreaModel } --\x3e\n\x3c!-- /ko --\x3e\n\x3c!-- /ko--\x3e\n\x3c!-- ko if: question.isReadOnlyRenderDiv() --\x3e\n<div data-bind="text: question.comment"></div>\n\x3c!--/ko--\x3e\n<\/script>\n<script type="text/html" id="survey-other">\n\x3c!-- ko if: !question.isReadOnlyRenderDiv() --\x3e\n\x3c!-- ko component: { name: \'sv-text-area\', params: question.otherTextAreaModel } --\x3e\n\x3c!-- /ko --\x3e\n\x3c!-- /ko--\x3e\n\x3c!-- ko if: question.isReadOnlyRenderDiv() --\x3e\n<div data-bind="text: question.otherValue"></div>\n\x3c!-- /ko--\x3e\n<\/script>'},function(e,t){e.exports='<script type="text/html" id="survey-flowpanel">\n <div data-bind="style: { flexBasis: renderWidth, flexGrow: 1, flexShrink: 1, width: renderWidth, minWidth: $data.minWidth, maxWidth: $data.maxWidth }, attr: { id: id }, css: cssClasses.panel.container">\n <h4 data-bind="visible: (processedTitle.length > 0), css: question.cssTitle">\n \x3c!-- ko template: { name: \'survey-string\', data: locTitle } --\x3e\n \x3c!-- /ko --\x3e\n </h4>\n <div data-bind="css: cssClasses.panel.description">\n \x3c!-- ko template: { name: \'survey-string\', data: locDescription } --\x3e\n \x3c!-- /ko --\x3e\n </div>\n <div data-bind="style: { paddingLeft: innerPaddingLeft }"></div>\n <f-panel params="question: question" data-bind="attr: { contenteditable : question.isDesignMode, placeHolder: question.placeHolder }"></f-panel>\n </div>\n<\/script>\n<script type="text/html" id="survey-flowpanel-question">\n \x3c!-- ko with: $parent.question.getQuestionByName($data) --\x3e\n \x3c!-- ko template: { name: koElementType(), data: $data, as: \'question\', afterRender: parent.koElementAfterRender } --\x3e\x3c!-- /ko --\x3e\n \x3c!-- /ko --\x3e\n<\/script>\n'},function(e,t){e.exports="<script type=\"text/html\" id=\"survey-header\">\n \x3c!-- ko if: renderedHasHeader --\x3e\n<div data-bind=\"css: css.header\">\n \x3c!-- ko if: isLogoBefore --\x3e\n \x3c!-- ko component: { name: getElementWrapperComponentName($data, 'logo-image'), params: getElementWrapperComponentData($data, 'logo-image') } --\x3e\n \x3c!-- /ko --\x3e\n \x3c!-- /ko --\x3e\n\n \x3c!-- ko if: renderedHasTitle --\x3e\n <div data-bind=\"css: css.headerText, style: { maxWidth: titleMaxWidth }\">\n \x3c!-- ko component: { name: 'survey-element-title', params: {element: $data } } --\x3e\n \x3c!-- /ko --\x3e\n \x3c!-- ko if: renderedHasDescription --\x3e\n <div data-bind=\"css: css.description\">\n \x3c!-- ko template: { name: 'survey-string', data: locDescription } --\x3e\n \x3c!-- /ko --\x3e\n </div>\n \x3c!-- /ko --\x3e\n </div>\n \x3c!-- /ko --\x3e\n\n \x3c!-- ko if: isLogoAfter --\x3e\n \x3c!-- ko component: { name: getElementWrapperComponentName($data, 'logo-image'), params: getElementWrapperComponentData($data, 'logo-image') } --\x3e\n \x3c!-- /ko --\x3e\n \x3c!-- /ko --\x3e\n <div data-bind=\"css: css.headerClose\"></div>\n</div>\n\x3c!-- /ko --\x3e\n<\/script>"},function(e,t){e.exports='<script type="text/html" id="survey-content">\n \x3c!-- ko template: { name: "survey-content-template", afterRender: $data.implementor.koEventAfterRender } --\x3e\n \x3c!-- /ko --\x3e\n<\/script>\n\n<script type="text/html" id="survey-content-template">\n <div data-bind="css: rootCss, elementStyle: themeVariables, attr: { lang: locale || \'en\', dir: localeDir }">\n \x3c!-- ko if: needRenderIcons --\x3e\n \x3c!-- ko component: { name: \'sv-svg-bundle\'} --\x3e\n \x3c!-- /ko --\x3e\n \x3c!-- /ko --\x3e\n <div data-bind="css: wrapperFormCss">\n \x3c!-- ko if: !!renderBackgroundImage --\x3e\n <div data-bind="css: css.rootBackgroundImage, elementStyle: backgroundImageStyle"></div>\n \x3c!-- /ko --\x3e\n <form onsubmit="return false;">\n <div class="sv_custom_header" data-bind="visible: !hasLogo"></div>\n <div data-bind="css: containerCss">\n \x3c!-- ko if: headerView === \'basic\' --\x3e\n \x3c!-- ko template: { name: koTitleTemplate, afterRender: koAfterRenderHeader } --\x3e\n \x3c!-- /ko --\x3e\n \x3c!-- /ko --\x3e\n \x3c!-- ko component: { name: "sv-components-container", params: { survey: $data, container: "header", needRenderWrapper: false } } --\x3e\x3c!-- /ko --\x3e\n \x3c!-- ko if: isShowingPage --\x3e\n <div data-bind="css: $data.bodyContainerCss">\n \x3c!-- ko component: { name: "sv-components-container", params: { survey: $data, container: "left" } } --\x3e\x3c!-- /ko --\x3e\n <div class="sv-components-column sv-components-column--expandable">\n \x3c!-- ko component: { name: "sv-components-container", params: { survey: $data, container: "center" } } --\x3e\x3c!-- /ko --\x3e\n <div data-bind="css: bodyCss, style:{maxWidth: renderedWidth}, attr: { id: activePage ? activePage.id : \'\' }">\n \x3c!-- ko component: { name: "sv-components-container", params: { survey: $data, container: "contentTop" } } --\x3e\x3c!-- /ko --\x3e\n \x3c!-- ko if: activePage --\x3e\n \x3c!-- ko template: { name: \'survey-page\', data: activePage, afterRender: koAfterRenderPage } --\x3e\n \x3c!-- /ko --\x3e\n \x3c!-- ko if: activePage.rows.length == 0 && $data.emptyPageTemplate --\x3e\n \x3c!-- ko template: { name: emptyPageTemplate, data: $data.emptyPageTemplateData || $data } --\x3e\n \x3c!-- /ko --\x3e\n \x3c!-- /ko --\x3e\n \x3c!-- /ko --\x3e\n \x3c!-- ko component: { name: "sv-components-container", params: { survey: $data, container: "contentBottom" } } --\x3e\x3c!-- /ko --\x3e\n \x3c!-- ko if: showBrandInfo --\x3e\n <sv-brand-info></sv-brand-info>\n \x3c!-- /ko --\x3e\n </div>\n </div>\n \x3c!-- ko component: { name: "sv-components-container", params: { survey: $data, container: "right" } } --\x3e\x3c!-- /ko --\x3e\n </div>\n \x3c!-- /ko --\x3e\n \x3c!-- ko component: { name: "sv-components-container", params: { survey: $data, container: "footer", needRenderWrapper: false } } --\x3e\x3c!-- /ko --\x3e\n \x3c!-- ko if: state == "completed" && showCompletedPage --\x3e\n <div data-bind="html: koProcessedCompletedHtml, css: completedCss"></div>\n \x3c!-- ko component: { name: "sv-components-container", params: { survey: $data, container: "completePage", needRenderWrapper: false } } --\x3e\x3c!-- /ko --\x3e\n \x3c!-- /ko --\x3e\n \x3c!-- ko if: state == "completedbefore" --\x3e\n <div data-bind="html: locCompletedBeforeHtml.koRenderedHtml, css: completedBeforeCss"></div>\n \x3c!-- /ko --\x3e\n \x3c!-- ko if: state == "loading" --\x3e\n <div data-bind="html: locLoadingHtml.koRenderedHtml, css: loadingBodyCss"></div>\n \x3c!-- /ko --\x3e\n \x3c!-- ko if: state == "empty" --\x3e\n <div data-bind="text:emptySurveyText, css: css.bodyEmpty"></div>\n \x3c!-- /ko --\x3e\n </div>\n </form>\n \x3c!-- ko component: { name: \'sv-notifier\', params: { notifier: notifier } } --\x3e\n \x3c!-- /ko --\x3e\n </div>\n </div>\n<\/script>'},function(e,t){e.exports="<script type=\"text/html\" id=\"survey-page\">\n <div data-bind=\"css: cssRoot\">\n \x3c!-- ko component: { name: 'survey-element-title', params: {element: $data } } --\x3e\x3c!-- /ko --\x3e\n \x3c!-- ko if: _showDescription--\x3e\n <div\n data-bind=\"visible: data.showPageTitles, css: cssClasses.page?.description\"\n >\n \x3c!-- ko template: { name: 'survey-string', data: locDescription } --\x3e\n \x3c!-- /ko --\x3e\n </div>\n \x3c!-- /ko --\x3e\n \x3c!-- ko template: { name: 'survey-question-errors', data: $data, as: 'question' } --\x3e\n \x3c!-- /ko --\x3e\n \x3c!-- ko template: { name: 'survey-rows', data: $data} --\x3e\n \x3c!-- /ko --\x3e\n </div>\n<\/script>\n"},function(e,t){e.exports="<script type=\"text/html\" id=\"survey-panel\">\n \x3c!-- ko if: $data.getIsContentVisible() --\x3e\n <div\n data-bind=\"attr: { id: id }, css: $data.getContainerCss(), event: {focusin: focusIn}\"\n >\n \x3c!-- ko if: showErrorsAbovePanel--\x3e\n \x3c!-- ko template: { name: 'survey-question-errors', data: $data } --\x3e\n \x3c!-- /ko --\x3e\n \x3c!-- /ko --\x3e\n \x3c!-- ko if: hasDescription || hasTitle --\x3e\n \x3c!--ko template: { name: 'survey-question-title', data: $data } --\x3e\x3c!-- /ko --\x3e\n \x3c!-- /ko --\x3e\n \x3c!-- ko ifnot: showErrorsAbovePanel--\x3e\n \x3c!-- ko template: { name: 'survey-question-errors', data: $data } --\x3e\n \x3c!-- /ko --\x3e\n \x3c!-- /ko --\x3e\n \x3c!-- ko if: renderedIsExpanded --\x3e\n <div\n data-bind=\"style: { paddingLeft: innerPaddingLeft }, css: cssClasses.panel.content, attr: {id:contentId}\"\n >\n \x3c!-- ko template: { name: 'survey-rows', data: $data} --\x3e\n \x3c!-- /ko --\x3e\n \x3c!-- ko component: { name: 'sv-action-bar', params: { model: getFooterToolbar() } } --\x3e\n \x3c!-- /ko --\x3e\n </div>\n \x3c!-- /ko --\x3e\n </div>\n \x3c!-- /ko --\x3e\n<\/script>\n"},function(e,t){e.exports="<script type=\"text/html\" id=\"survey-rows\">\n \x3c!-- ko foreach: { data: visibleRows, as: 'row' } --\x3e\n \x3c!-- ko component: { name: $parent.survey.getRowWrapperComponentName(row), params: { componentData: $parent.survey.getRowWrapperComponentData(row), templateData: { name: 'survey-row', data: row } } } --\x3e\n \x3c!-- /ko --\x3e\n \x3c!-- /ko --\x3e\n<\/script>"},function(e,t){e.exports='<script type="text/html" id="survey-row">\n <div data-bind="css: row.getRowCss()">\n \x3c!-- ko template: { name: "survey-row-content", afterRender: row.rowAfterRender } --\x3e\n \x3c!-- /ko --\x3e\n </div>\n<\/script>\n<script type="text/html" id="survey-row-content">\n\x3c!-- ko foreach: { data: row.visibleElements, as: \'question\', afterRender: row.koAfterRender } --\x3e\n <div data-bind="css: question.cssClasses.questionWrapper, style: $data.rootStyle">\n \x3c!-- ko if: row.isNeedRender --\x3e\n \x3c!-- ko component: { name: row.panel.survey.getElementWrapperComponentName(question), params: { componentData: row.panel.survey.getElementWrapperComponentData(question), templateData: { name: question.koElementType, data: question, afterRender: $parent.koElementAfterRender } } } --\x3e\n \x3c!-- /ko --\x3e\n \x3c!-- /ko --\x3e\n \x3c!-- ko if: !row.isNeedRender && question.skeletonComponentName --\x3e\n \x3c!-- ko component: { name: question.skeletonComponentName, params: { element: question } } --\x3e\n \x3c!-- /ko --\x3e\n \x3c!-- /ko --\x3e\n </div>\n\x3c!-- /ko --\x3e\n<\/script>'},function(e,t){e.exports='<script type="text/html" id="survey-string">\n \x3c!-- ko component: { name: renderAs, params: { locString: renderAsData } } --\x3e\n \x3c!-- /ko --\x3e\n<\/script>\n'},function(e,t){e.exports='<script type="text/html" id="survey-timerpanel">\n \x3c!-- ko if: isRunning && showTimerAsClock --\x3e\n <div data-bind="css: rootCss">\n \x3c!-- ko if: showProgress --\x3e\n <svg data-bind="css: getProgressCss(), style: { strokeDasharray: 440, strokeDashoffset: -440 * progress }">\n <use data-bind="attr:{\'xlink:href\': \'#icon-timercircle\'}" xlink:href=\'\'></use>\n </svg>\n \x3c!-- /ko --\x3e\n <div data-bind="css: textContainerCss">\n <span data-bind="css: majorTextCss, text: clockMajorText"></span>\n \x3c!-- ko if: !!minorTextCss --\x3e\n <span data-bind="css: minorTextCss, text: clockMinorText"></span>\n \x3c!-- /ko --\x3e\n </div>\n </div>\n \x3c!-- /ko --\x3e\n \x3c!-- ko if: isRunning && !showTimerAsClock --\x3e\n <div data-bind="css: survey.getCss().timerRoot, text: text"></div>\n \x3c!--/ko --\x3e\n<\/script>\n'},function(e,t){e.exports="<script type=\"text/html\" id=\"survey-question\">\n<div data-bind=\"css: question.getRootCss(), style: question.getRootStyle(), attr: { id: question.id, 'data-name': question.name, role: question.ariaRole, 'aria-required': question.ariaRequired, 'aria-invalid': question.ariaInvalid, 'aria-labelledby': question.ariaLabelledBy, 'aria-describedby':question.ariaDescribedBy, 'aria-expanded': question.ariaExpanded}\">\n \x3c!-- ko if: question.showErrorsAboveQuestion --\x3e\n \x3c!-- ko template: { name: 'survey-question-errors', data: question } --\x3e\n \x3c!-- /ko --\x3e\n \x3c!-- /ko --\x3e\n \x3c!-- ko if: question.hasTitleOnLeftTop --\x3e\n \x3c!--ko template: { name: 'survey-question-title', data: question } --\x3e\n \x3c!-- /ko --\x3e\n \x3c!-- /ko --\x3e\n \x3c!-- ko component: { name: question.survey.getQuestionContentWrapperComponentName(question), params: { componentData: question.survey.getElementWrapperComponentData(question), templateData: { name: 'survey-question-content', data: question } } } --\x3e\n \x3c!-- /ko --\x3e\n \x3c!-- ko if: question.hasTitleOnBottom --\x3e\n \x3c!--ko template: { name: 'survey-question-title', data: question } --\x3e\n \x3c!-- /ko --\x3e\n \x3c!-- /ko --\x3e\n \x3c!-- ko if: question.showErrorsBelowQuestion --\x3e\n \x3c!-- ko template: { name: 'survey-question-errors', data: question } --\x3e\n \x3c!-- /ko --\x3e\n \x3c!-- /ko --\x3e\n</div>\n<\/script>\n"},function(e,t){e.exports="<script type=\"text/html\" id=\"survey-question-content\">\n<div data-bind=\"visible: question.renderedIsExpanded, css: question.cssContent, event: {focusin: question.focusIn }\" role=\"presentation\">\n \x3c!-- ko if: question.showErrorOnTop --\x3e\n \x3c!-- ko template: { name: 'survey-question-errors', data: question } --\x3e\n \x3c!-- /ko --\x3e\n \x3c!-- /ko --\x3e\n \x3c!-- ko if: question.isDefaultRendering() --\x3e\n \x3c!-- ko template: { name: question.koTemplateName(), data: question, afterRender: question.koQuestionAfterRender } --\x3e\n \x3c!-- /ko --\x3e\n \x3c!-- /ko --\x3e\n \x3c!-- ko ifnot: question.isDefaultRendering() --\x3e\n \x3c!-- ko component: { name: getComponentName(), params: { question: question } } --\x3e\n \x3c!-- /ko --\x3e\n \x3c!-- /ko --\x3e\n \x3c!-- ko if: question.hasComment --\x3e\n <div data-bind=\"css: question.getCommentAreaCss()\">\n <div>\n \x3c!-- ko template: { name: 'survey-string', data: question.locCommentText } --\x3e\n \x3c!-- /ko --\x3e\n </div>\n \x3c!-- ko template: { name: 'survey-comment', data: {'question': question, 'visible': true } } --\x3e\n \x3c!-- /ko --\x3e\n </div>\n \x3c!-- /ko --\x3e\n \x3c!-- ko if: question.showErrorOnBottom --\x3e\n \x3c!-- ko template: { name: 'survey-question-errors', data: question } --\x3e\n \x3c!-- /ko --\x3e\n \x3c!-- /ko --\x3e\n \x3c!-- ko if: question.hasDescriptionUnderInput --\x3e\n <div data-bind=\"css: question.cssDescription, attr: {'id': question.ariaDescriptionId}\">\n \x3c!-- ko template: { name: 'survey-string', data: locDescription } --\x3e\n \x3c!-- /ko --\x3e\n </div>\n \x3c!-- /ko --\x3e\n</div>\n<\/script>"},function(e,t){e.exports="<script type=\"text/html\" id=\"survey-question-title\">\n <div data-bind=\"css: question.cssHeader, style: { width: $data.titleWidth }, click: function(m, e) { if(question.clickTitleFunction) return question.clickTitleFunction(e); }\">\n \x3c!-- ko component: { name: 'survey-element-title', params: { element: $data } } --\x3e\x3c!-- /ko --\x3e\n \x3c!-- ko if: $data.hasDescriptionUnderTitle --\x3e\n <div data-bind=\"css: $data.cssDescription, visible: $data.hasDescription, attr: {'id': $data.ariaDescriptionId}\">\n \x3c!-- ko template: { name: 'survey-string', data: $data.locDescription } --\x3e\x3c!-- /ko --\x3e\n </div>\n \x3c!-- /ko --\x3e\n \x3c!-- ko if: $data.hasAdditionalTitleToolbar --\x3e\n \x3c!-- ko component: { name: 'sv-action-bar', params: { model: $data.additionalTitleToolbar } } --\x3e\x3c!-- /ko --\x3e\n \x3c!-- /ko --\x3e\n </div>\n<\/script>"},function(e,t){e.exports='<script type="text/html" id="survey-question-boolean">\n <div data-bind="css: question.cssClasses.root, event: { keydown: question.onKeyDown}">\n <label data-bind="css: question.getItemCss()">\n <input\n type="checkbox"\n data-bind="value: question.booleanValue, css: question.cssClasses.control, attr: {name: question.name, id: question.inputId, \'role\': question.a11y_input_ariaRole, \'aria-required\': question.a11y_input_ariaRequired, \'aria-labelledby\': question.a11y_input_ariaLabelledBy, \'aria-describedby\': question.a11y_input_ariaDescribedBy, \'aria-invalid\': question.a11y_input_ariaInvalid, \'aria-errormessage\': question.a11y_input_ariaErrormessage, \'aria-label\': question.a11y_input_ariaLabel, readonly: question.isReadOnlyAttr}, checked: question.booleanValue, surveyProp: {indeterminate: question.isIndeterminate}, enable: !question.isDisabledAttr"\n />\n <div data-bind="css: question.cssClasses.sliderGhost, click: onFalseLabelClick">\n <span data-bind="css: question.getLabelCss(swapOrder)">\n \x3c!-- ko template: { name: \'survey-string\', data: locLabelLeft } --\x3e\x3c!-- /ko --\x3e\n </span>\n </div>\n <div data-bind="css: question.cssClasses.switch, click: onSwitchClick">\n <span data-bind="css: question.cssClasses.slider">\n \x3c!-- ko if: question.cssClasses.sliderText && question.isDeterminated --\x3e\n <span data-bind="css: question.cssClasses.sliderText">\n \x3c!-- ko template: { name: \'survey-string\', data: question.getCheckedLabel() } --\x3e\x3c!-- /ko --\x3e\n </span>\n \x3c!-- /ko --\x3e\n </span>\n </div>\n <div data-bind="css: question.cssClasses.sliderGhost, click: onTrueLabelClick">\n <span data-bind="css: question.getLabelCss(!swapOrder)">\n \x3c!-- ko template: { name: \'survey-string\', data: locLabelRight } --\x3e\x3c!-- /ko --\x3e\n </span>\n </div>\n </label>\n </div>\n<\/script>'},function(e,t){e.exports='<script type="text/html" id="survey-question-checkbox">\n <fieldset data-bind="css: question.getSelectBaseRootCss(), attr: { \'role\': question.a11y_input_ariaRole, \'aria-required\': question.a11y_input_ariaRequired, \'aria-labelledby\': question.a11y_input_ariaLabelledBy, \'aria-describedby\': question.a11y_input_ariaDescribedBy, \'aria-invalid\': question.a11y_input_ariaInvalid, \'aria-errormessage\': question.a11y_input_ariaErrormessage, \'aria-label\': question.a11y_input_ariaLabel }">\n <legend data-bind="text: question.locTitle.renderedHtml" class="sv-hidden"></legend>\n \x3c!-- ko if: question.hasHeadItems --\x3e\n \x3c!-- ko foreach: { data: question.headItems, as: \'item\', afterRender: question.koAfterRender } --\x3e\n \x3c!-- ko component: { name: question.getItemValueWrapperComponentName(item), params: { componentData: question.getItemValueWrapperComponentData(item), templateData: { name: question.itemComponent, data: item } } } --\x3e\n \x3c!-- /ko --\x3e\n \x3c!-- /ko --\x3e\n \x3c!-- /ko --\x3e\n \x3c!-- ko ifnot: question.hasColumns --\x3e\n \x3c!-- ko if: question.blockedRow --\x3e\n <div data-bind="css: question.cssClasses.rootRow">\n \x3c!-- ko foreach: { data: question.dataChoices, as: \'item\', afterRender: question.koAfterRender } --\x3e\n \x3c!-- ko component: { name: question.getItemValueWrapperComponentName(item), params: { componentData: question.getItemValueWrapperComponentData(item), templateData: { name: question.itemComponent, data: item } } } --\x3e\n \x3c!-- /ko --\x3e\n \x3c!-- /ko --\x3e\n </div>\n \x3c!-- /ko --\x3e\n \x3c!-- ko ifnot: question.blockedRow --\x3e\n \x3c!-- ko foreach: { data: question.bodyItems, as: \'item\', afterRender: question.koAfterRender } --\x3e\n \x3c!-- ko component: { name: question.getItemValueWrapperComponentName(item), params: { componentData: question.getItemValueWrapperComponentData(item), templateData: { name: question.itemComponent, data: item } } } --\x3e\n \x3c!-- /ko --\x3e\n \x3c!-- /ko --\x3e\n \x3c!-- /ko --\x3e\n \x3c!-- /ko --\x3e\n \x3c!-- ko if: question.hasColumns --\x3e\n <div data-bind="css: question.cssClasses.rootMultiColumn">\n \x3c!-- ko foreach: question.columns --\x3e\n <div data-bind="css: question.getColumnClass()" role="presentation">\n \x3c!-- ko foreach: { data: $data, as: \'item\', afterRender: question.koAfterRender } --\x3e\n \x3c!-- ko component: { name: question.getItemValueWrapperComponentName(item), params: { componentData: question.getItemValueWrapperComponentData(item), templateData: { name: question.itemComponent, data: item } } } --\x3e\n \x3c!-- /ko --\x3e\n \x3c!-- /ko --\x3e\n </div>\n \x3c!-- /ko --\x3e\n </div>\n \x3c!-- /ko --\x3e\n \x3c!-- ko if: question.hasFootItems --\x3e\n \x3c!-- ko foreach: { data: question.footItems, as: \'item\', afterRender: question.koAfterRender } --\x3e\n \x3c!-- ko component: { name: question.getItemValueWrapperComponentName(item), params: { componentData: question.getItemValueWrapperComponentData(item), templateData: { name: question.itemComponent, data: item } } } --\x3e\n \x3c!-- /ko --\x3e\n \x3c!-- /ko --\x3e\n \x3c!-- /ko --\x3e\n \x3c!-- ko if: question.hasOther && question.isOtherSelected --\x3e\n <div data-bind="css: question.getCommentAreaCss(true), template: { name: \'survey-other\', data: {\'question\': question, \'visible\': question.isOtherSelected } }"></div>\n \x3c!-- /ko --\x3e\n </fieldset>\n<\/script>\n\n<script type="text/html" id="survey-checkbox-item">\n <div role="presentation" data-bind="css: question.getItemClass($data)">\n <label data-bind="css: question.getLabelClass($data)">\n <input type="checkbox" data-bind="attr: {name: question.name + id, id: question.getItemId($data), readonly: question.isReadOnlyAttr, required: question.hasRequiredError()}, value: $data.value, checked: question.isItemSelected($data), event: { change: (i, e) => { question.clickItemHandler($data, e.target.checked); } }, enable: question.getItemEnabled($data), css: question.cssClasses.itemControl"/>\n \x3c!-- ko if: question.cssClasses.materialDecorator --\x3e\n <span data-bind="css: question.cssClasses.materialDecorator">\n \x3c!-- ko if: question.itemSvgIcon --\x3e\n <svg data-bind="css:question.cssClasses.itemDecorator">\n <use data-bind="attr:{\'xlink:href\':question.itemSvgIcon}" xlink:href=\'\'></use>\n </svg>\n \x3c!-- /ko --\x3e\n </span>\n \x3c!-- /ko --\x3e\n \x3c!-- ko if: !$data.hideCaption --\x3e\n <span data-bind="css: question.cssClasses.controlLabel">\n \x3c!-- ko template: { name: \'survey-string\', data: $data.locText } --\x3e\n \x3c!-- /ko --\x3e\n </span>\n \x3c!-- /ko --\x3e\n </label>\n </div>\n<\/script>\n'},function(e,t){e.exports="<script type=\"text/html\" id=\"survey-question-tagbox\">\n <div data-bind=\"css: question.renderCssRoot\">\n \x3c!-- ko component: { name: 'sv-tagbox', params: { question: question } } --\x3e\n \x3c!-- /ko --\x3e\n \x3c!-- ko if: question.isOtherSelected --\x3e\n <div\n data-bind=\"css: question.getCommentAreaCss(true), template: { name: 'survey-other', data: {'question': question, 'visible': question.isOtherSelected } }, style: {display: question.isFlowLayout ? 'inline': ''}\">\n </div>\n \x3c!-- /ko --\x3e\n </div>\n<\/script>"},function(e,t){e.exports='<script type="text/html" id="survey-question-ranking">\n \x3c!-- ko ifnot: question.selectToRankEnabled --\x3e\n <div data-bind="css: question.rootClass">\n \x3c!-- ko foreach: { data: question.renderedRankingChoices, as: \'item\', afterRender: question.koAfterRender } --\x3e\n \x3c!-- ko component: { name: question.getItemValueWrapperComponentName(item), params: { number: question.getNumberByIndex($index()), componentData: question.getItemValueWrapperComponentData(item), templateData: { name: \'survey-ranking-item\', data: item } } } --\x3e\n \x3c!-- /ko --\x3e\n \x3c!-- /ko --\x3e\n </div>\n \x3c!-- /ko --\x3e\n\n \x3c!-- ko if: question.selectToRankEnabled --\x3e\n <div data-bind="css: question.rootClass">\n <div data-bind="css: question.getContainerClasses(\'from\')" data-ranking="from-container">\n \x3c!-- ko foreach: { data: question.renderedUnRankingChoices, as: \'item\', afterRender: question.koAfterRender } --\x3e\n \x3c!-- ko component: { name: question.getItemValueWrapperComponentName(item), params: { number: \'\', componentData: question.getItemValueWrapperComponentData(item), templateData: { name: \'survey-ranking-item\', data: item } } } --\x3e\n \x3c!-- /ko --\x3e\n \x3c!-- /ko --\x3e\n \x3c!-- ko if: question.renderedUnRankingChoices.length === 0 --\x3e\n <div data-bind="css: cssClasses.containerPlaceholder">\n \x3c!-- ko template: { name: \'survey-string\', data: question.locSelectToRankEmptyRankedAreaText } --\x3e\n \x3c!-- /ko --\x3e\n </div>\n \x3c!-- /ko --\x3e\n </div>\n <div data-bind="css: cssClasses.containersDivider"></div>\n <div data-bind="css: question.getContainerClasses(\'to\')" data-ranking="to-container">\n \x3c!-- ko foreach: { data: question.renderedRankingChoices, as: \'item\', afterRender: question.koAfterRender } --\x3e\n \x3c!-- ko component: { name: question.getItemValueWrapperComponentName(item), params: { number: question.getNumberByIndex($index()), componentData: question.getItemValueWrapperComponentData(item), templateData: { name: \'survey-ranking-item\', data: item } } } --\x3e\n \x3c!-- /ko --\x3e\n \x3c!-- /ko --\x3e\n \x3c!-- ko if: question.renderedRankingChoices.length === 0 --\x3e\n <div data-bind="css: cssClasses.containerPlaceholder">\n \x3c!-- ko template: { name: \'survey-string\', data: question.locSelectToRankEmptyUnrankedAreaText } --\x3e\n \x3c!-- /ko --\x3e\n </div>\n \x3c!-- /ko --\x3e\n </div>\n </div>\n\n \x3c!-- /ko --\x3e\n<\/script>\n\n<script type="text/html" id="survey-ranking-item">\n <div\n data-bind="event: { keydown: question.koHandleKeydown, pointerdown: question.koHandlePointerDown, pointerup: question.koHandlePointerUp}, css: question.getItemClass($data), attr: {id: question.getItemId($data), tabindex: question.getItemTabIndex($data), \'data-sv-drop-target-ranking-item\': $index() }"\n >\n <div tabindex="-1" style="outline: none;">\n <div data-bind="css: question.cssClasses.itemGhostNode"></div>\n <div data-bind="css: question.cssClasses.itemContent">\n <div data-bind="css: question.cssClasses.itemIconContainer">\n <svg data-bind="css:question.getIconHoverCss()">\n <use data-bind="attr:{\'xlink:href\':question.dragDropSvgIcon}" xlink:href=\'\'></use>\n </svg>\n <svg data-bind="css:question.getIconFocusCss()">\n <use data-bind="attr:{\'xlink:href\':question.arrowsSvgIcon}" xlink:href=\'\'></use>\n </svg>\n </div>\n \x3c!-- ko if: $parent.number --\x3e\n <div\n data-bind="css: question.getItemIndexClasses(item), text: $parent.number"\n ></div>\n \x3c!-- /ko --\x3e\n \x3c!-- ko ifnot: $parent.number --\x3e\n <div\n data-bind="css: question.getItemIndexClasses(item)"\n >\n <svg>\n <use data-bind="attr:{\'xlink:href\':question.dashSvgIcon}" xlink:href=\'\'></use>\n </svg>\n </div>\n \x3c!-- /ko --\x3e\n\n \x3c!-- ko component: { name: question.itemComponent, params: { cssClasses: question.cssClasses, item: $data } } --\x3e\n \x3c!-- /ko --\x3e\n </div>\n </div>\n </div>\n<\/script>'},function(e,t){e.exports='<script type="text/html" id="survey-question-comment">\n\x3c!-- ko if: !question.isReadOnlyRenderDiv() --\x3e\n \x3c!-- ko component: { name: \'sv-text-area\', params: question.textAreaModel } --\x3e\n \x3c!-- /ko --\x3e\n \x3c!-- ko if: question.getMaxLength() --\x3e\n \x3c!-- ko component: { name: \'sv-character-counter\', params: { counter: question.characterCounter, remainingCharacterCounter: question.cssClasses.remainingCharacterCounter } } --\x3e\n \x3c!-- /ko --\x3e\n \x3c!-- /ko--\x3e\n\x3c!--/ko--\x3e\n\n\x3c!-- ko if: question.isReadOnlyRenderDiv() --\x3e\n<div data-bind="text: question.value"></div>\n\x3c!-- /ko--\x3e\n<\/script>'},function(e,t){e.exports="<script type=\"text/html\" id=\"survey-question-composite\">\n \x3c!-- ko template: { name: 'survey-panel', data: question.contentPanel, as: 'question', afterRender: question.contentPanel.koPanelAfterRender } --\x3e\n \x3c!-- /ko --\x3e\n<\/script>\n"},function(e,t){e.exports='<script type="text/html" id="survey-question-custom">\n \x3c!-- ko if: question.contentQuestion.isDefaultRendering() --\x3e\n \x3c!-- ko template: { name: question.contentQuestion.koTemplateName(), data: question.contentQuestion, as: \'question\', afterRender: question.contentQuestion.koQuestionAfterRender } --\x3e\n \x3c!-- /ko --\x3e\n \x3c!-- /ko --\x3e\n \x3c!-- ko ifnot: question.contentQuestion.isDefaultRendering() --\x3e\n \x3c!-- ko component: { name: question.contentQuestion.getComponentName(), params: { question: question.contentQuestion } } --\x3e\n \x3c!-- /ko --\x3e\n \x3c!-- /ko --\x3e\n<\/script>\n'},function(e,t){e.exports="<script type=\"text/html\" id=\"survey-question-dropdown\">\n <div data-bind=\"css: question.renderCssRoot\">\n \x3c!-- ko component: { name: 'sv-dropdown', params: { question: question } } --\x3e\n \x3c!-- /ko --\x3e\n \x3c!-- ko if: question.isOtherSelected --\x3e\n <div data-bind=\"css: question.getCommentAreaCss(true), template: { name: 'survey-other', data: {'question': question, 'visible': question.isOtherSelected } }, style: {display: question.isFlowLayout ? 'inline': ''}\">\n </div>\n \x3c!-- /ko --\x3e\n </div>\n<\/script>\n"},function(e,t){e.exports='<script type="text/html" id="survey-question-empty">\n <div></div>\n<\/script>\n'},function(e,t){e.exports='<script type="text/html" id="survey-question-errors">\n \x3c!-- ko if: hasVisibleErrors --\x3e\n <div role="alert" aria-live="polite" data-bind="visible: hasVisibleErrors, foreach: { data: errors, as: \'error\' }, css: cssError, attr: { id: question.id + \'_errors\' }">\n \x3c!-- ko if: error.visible --\x3e\n \x3c!-- ko component: { name: question.survey.questionErrorComponent, params: { error: error, cssClasses: question.cssClasses, element: question } } --\x3e\n \x3c!-- /ko --\x3e\n \x3c!-- /ko --\x3e\n </div>\n \x3c!-- /ko --\x3e\n<\/script>'},function(e,t){e.exports='<script type="text/html" id="survey-question-expression">\n <div data-bind="text:question.formatedValue, css: question.cssClasses.root"></div>\n<\/script>\n'},function(e,t){e.exports='<script type="text/html" id="survey-question-file">\n <div data-bind="css: question.fileRootCss">\n \x3c!-- ko ifnot: question.isInputReadOnly --\x3e\n \x3c!-- ko if: question.hasFileUI --\x3e\n <input type="file" tabindex="-1" data-bind="css: question.cssClasses.fileInput, attr: { id: question.inputId, \'aria-required\': question.ariaRequired, \'aria-label\': question.ariaLabel, \'aria-invalid\': question.ariaInvalid, \'aria-errormessage\': question.ariaErrormessage, multiple: question.allowMultiple ? \'multiple\' : undefined, title: koInputTitle, accept: question.acceptedTypes, capture: question.renderCapture }">\n \x3c!-- /ko --\x3e\n \x3c!-- /ko --\x3e\n \x3c!-- ko if: question.isReadOnlyAttr --\x3e\n <input type="file" readonly data-bind="css: question.getReadOnlyFileCss(), attr: { id: question.inputId, placeholder: question.title, multiple: question.allowMultiple ? \'multiple\' : undefined }" style="color: transparent;"/>\n \x3c!-- /ko --\x3e\n \x3c!-- ko if: question.isDisabledAttr --\x3e\n <input type="file" disabled data-bind="css: question.getReadOnlyFileCss(), attr: { id: question.inputId, placeholder: question.title, multiple: question.allowMultiple ? \'multiple\' : undefined }" style="color: transparent;"/>\n \x3c!-- /ko --\x3e\n <div data-bind="css: question.cssClasses.dragArea, event: { dragenter: question.ondragenter, dragover: question.ondragover, drop: question.ondrop, dragleave: question.ondragleave }"> \n \x3c!-- ko if: question.showFileDecorator --\x3e\n <div data-bind="css: question.getFileDecoratorCss()">\n \x3c!-- ko if: question.showDragAreaPlaceholder --\x3e\n <span data-bind="css: question.cssClasses.dragAreaPlaceholder">\n \x3c!-- ko template: { name: \'survey-string\', data: question.locRenderedPlaceholder } --\x3e\n \x3c!-- /ko --\x3e\n </span>\n \x3c!-- /ko --\x3e\n <div data-bind="css: question.cssClasses.wrapper">\n \x3c!-- ko if: question.showChooseButton --\x3e\n \x3c!-- ko component: { name: \'sv-file-choose-btn\' } --\x3e\n \x3c!-- /ko --\x3e\n \x3c!-- /ko --\x3e\n \x3c!-- ko if: question.actionsContainerVisible --\x3e\n \x3c!-- ko component: { name: \'sv-action-bar\', params: { model: question.actionsContainer } } --\x3e\n \x3c!-- /ko --\x3e\n \x3c!-- /ko --\x3e\n \x3c!-- ko if: !question.koHasValue() --\x3e\n <span data-bind="css: question.cssClasses.noFileChosen, text: question.noFileChosenCaption"></span>\n \x3c!-- /ko --\x3e\n </div>\n </div>\n \x3c!-- /ko --\x3e\n \x3c!-- ko if: question.showLoadingIndicator --\x3e\n <div data-bind="css: question.cssClasses.loadingIndicator">\n \x3c!-- ko component: { name: "sv-loading-indicator" } --\x3e\n \x3c!-- /ko --\x3e\n </div>\n \x3c!-- /ko --\x3e\n \x3c!-- ko if: question.isPlayingVideo --\x3e\n \x3c!-- ko template: { name: \'survey-question-file-video\', data: { question: question } } --\x3e\x3c!-- /ko --\x3e \n \x3c!-- /ko --\x3e\n \x3c!-- ko template: { name: \'survey-question-file-clean-button\', data: {question: question, showRemoveButton: question.showRemoveButton} } --\x3e\x3c!-- /ko --\x3e\n \x3c!-- ko if: question.allowShowPreview --\x3e\n \x3c!-- ko component: { name: \'sv-file-preview\', data: { question: question } } --\x3e\x3c!-- /ko --\x3e \n \x3c!-- /ko --\x3e\n \x3c!-- ko template: { name: \'survey-question-file-clean-button\', data: {question: question, showRemoveButton: question.showRemoveButtonBottom} } --\x3e\x3c!-- /ko --\x3e\n \x3c!-- ko if: question.fileNavigatorVisible --\x3e\n \x3c!-- ko component: { name: \'sv-action-bar\', params: { model: question.fileNavigator } } --\x3e\n \x3c!-- /ko --\x3e\n \x3c!-- /ko --\x3e\n </div>\n </div>\n<\/script>\n<script type="text/html" id="survey-question-file-clean-button">\n \x3c!-- ko if: question.koHasValue() && !question.isReadOnly && $data.showRemoveButton--\x3e\n <button type="button" data-bind="css: showRemoveButton, enabled: !question.isInputReadOnly, click: question.doclean">\n <span data-bind="text: question.clearButtonCaption"></span>\n </button>\n \x3c!-- /ko --\x3e\n<\/script>\n<script type="text/html" id="survey-question-file-video">\n <div data-bind="css: question.cssClasses.videoContainer">\n \x3c!-- ko component: { name: \'sv-action\', params: { item: question.changeCameraAction } } --\x3e\x3c!-- /ko --\x3e\n \x3c!-- ko component: { name: \'sv-action\', params: { item: question.closeCameraAction } } --\x3e\x3c!-- /ko --\x3e\n <video autoplay playsinline data-bind="attr: { id: question.videoId }, css: question.cssClasses.video"></video>\n \x3c!-- ko component: { name: \'sv-action\', params: { item: question.takePictureAction } } --\x3e\x3c!-- /ko --\x3e\n </div>\n<\/script>\n<script type="text/html" id="survey-question-file-sign">\n \x3c!-- ko if: item.name && fileSignCss --\x3e\n <div data-bind="css: fileSignCss">\n <a data-bind="style: { width: question.imageWidth }, click: question.dodownload, text: item.name, attr: { href: item.content, title: item.name, download: item.name }"></a>\n </div>\n \x3c!-- /ko --\x3e\n<\/script>'},function(e,t){e.exports='<script type="text/html" id="survey-question-html">\n <div data-bind="html: question.locHtml.koRenderedHtml, css: question.renderCssRoot"></div>\n<\/script>\n'},function(e,t){e.exports='<script type="text/html" id="survey-question-image">\n <div data-bind="css: question.cssClasses.root">\n \x3c!-- ko if: question.renderedMode === "image" --\x3e\n <img data-bind="event: { load: question.onLoadHandler, error: question.onErrorHandler }, css: question.getImageCss(), attr: { src: $data.locImageLink.koRenderedHtml() || null, width: question.renderedWidth, height: question.renderedHeight, alt: question.altText || question.title }, style: { objectFit: question.imageFit, width: question.renderedStyleWidth, height: question.renderedStyleHeight }, visible: $data.locImageLink.koRenderedHtml() && !question.contentNotLoaded"/>\n \x3c!-- /ko --\x3e\n \x3c!-- ko if: question.renderedMode === "video" --\x3e\n <video controls data-bind="event: { load: question.onLoadHandler, error: question.onErrorHandler }, css: question.getImageCss(), attr: { src: $data.locImageLink.koRenderedHtml(), width: question.renderedWidth, height: question.renderedHeight }, style: { objectFit: question.imageFit, width: question.renderedStyleWidth, height: question.renderedStyleHeight }, visible: $data.locImageLink.koRenderedHtml() && !question.contentNotLoaded"></video>\n \x3c!-- /ko --\x3e\n \x3c!-- ko if: question.renderedMode === "youtube" --\x3e\n <iframe data-bind=" css: question.getImageCss(), attr: { src: $data.locImageLink.koRenderedHtml(), width: question.renderedWidth, height: question.renderedHeight }, style: { objectFit: question.imageFit, width: question.renderedStyleWidth, height: question.renderedStyleHeight }"></iframe>\n \x3c!-- /ko --\x3e\n \x3c!-- ko if: !$data.locImageLink.koRenderedHtml() || question.contentNotLoaded --\x3e\n <div data-bind="css: question.cssClasses.noImage">\n \x3c!-- ko component: { name: \'sv-svg-icon\', params: { iconName: question.cssClasses.noImageSvgIconId, size: 48 } } --\x3e\x3c!-- /ko --\x3e\n </div>\n \x3c!-- /ko --\x3e\n </div>\n<\/script>\n'},function(e,t){e.exports='<script type="text/html" id="survey-question-imagepicker">\n <fieldset data-bind="css: question.getSelectBaseRootCss(), style: question.getContainerStyle()">\n <legend class="sv-hidden" data-bind="text: question.locTitle.renderedHtml"></legend>\n \x3c!-- ko ifnot: question.hasColumns --\x3e\n \x3c!-- ko foreach: { data: question.visibleChoices, as: \'item\', afterRender: question.koAfterRender} --\x3e\n \x3c!-- ko component: { name: question.getItemValueWrapperComponentName(item), params: { componentData: question.getItemValueWrapperComponentData(item), templateData: { name: \'survey-imagepicker-item\', data: item } } } --\x3e\n \x3c!-- /ko --\x3e\n \x3c!-- /ko --\x3e\n \x3c!-- /ko --\x3e\n \x3c!-- ko if: question.hasColumns --\x3e\n \x3c!-- ko foreach: question.columns --\x3e\n <div data-bind="css: question.getColumnClass()" role="presentation">\n \x3c!-- ko foreach: { data: $data, as: \'item\', afterRender: question.koAfterRender } --\x3e\n \x3c!-- ko component: { name: question.getItemValueWrapperComponentName(item), params: { componentData: question.getItemValueWrapperComponentData(item), templateData: { name: \'survey-imagepicker-item\', data: item } } } --\x3e\n \x3c!-- /ko --\x3e\n \x3c!-- /ko --\x3e\n </div>\n \x3c!-- /ko --\x3e\n \x3c!-- /ko --\x3e\n </fieldset>\n<\/script>\n<script type="text/html" id="survey-imagepicker-item">\n <div data-bind="css: question.koGetItemClass(item)">\n <label data-bind="css: question.cssClasses.label">\n <input data-bind="attr: {type: question.inputType, name: question.questionName, value: item.value, id: question.getItemId(item), \'aria-required\': question.ariaRequired, \'aria-label\': item.locText.renderedHtml, \'aria-invalid\': question.ariaInvalid, \'aria-errormessage\': question.ariaErrormessage, readonly: question.isReadOnlyAttr}, checked: question.koValue, enable: question.getItemEnabled(item), css: question.cssClasses.itemControl"\n />\n <div data-bind="css: question.cssClasses.itemDecorator">\n <div data-bind="css: question.cssClasses.imageContainer">\n \x3c!-- ko if: question.cssClasses.checkedItemDecorator --\x3e\n <span data-bind="css: question.cssClasses.checkedItemDecorator" aria-hidden="true">\n \x3c!-- ko if: question.cssClasses.checkedItemSvgIconId --\x3e\n \x3c!-- ko component: { name: \'sv-svg-icon\', params: { css: question.cssClasses.checkedItemSvgIcon, iconName: question.cssClasses.checkedItemSvgIconId, size: \'auto\' } } --\x3e\n \x3c!-- /ko --\x3e\n \x3c!-- /ko --\x3e\n </span>\n \x3c!-- /ko --\x3e\n \x3c!-- ko if: ($data.locImageLink.koRenderedHtml() && !$data.contentNotLoaded && question.contentMode === "image") --\x3e\n <img data-bind="css: question.cssClasses.image, attr: { src: $data.locImageLink.koRenderedHtml, width: question.renderedImageWidth, height: question.renderedImageHeight, alt: item.locText.koRenderedHtml }, style: { objectFit: question.imageFit }, event: { load: question.onContentLoaded, error: $data.onErrorHandler }"/>\n \x3c!-- /ko --\x3e\n \x3c!-- ko if: ($data.locImageLink.koRenderedHtml() && !$data.contentNotLoaded && question.contentMode === "video") --\x3e\n <video controls data-bind="css: question.cssClasses.image, attr: { src: $data.locImageLink.koRenderedHtml, width: question.renderedImageWidth, height: question.renderedImageHeight }, style: { objectFit: question.imageFit }, event: { loadedmetadata: question.onContentLoaded, error: $data.onErrorHandler }"></video>\n \x3c!-- /ko --\x3e\n \x3c!-- ko if: (!$data.locImageLink.koRenderedHtml() || $data.contentNotLoaded) --\x3e\n <div data-bind="css: question.cssClasses.itemNoImage, style: { width: question.renderedImageWidth, height: question.renderedImageHeight, objectFit: question.imageFit}">\n \x3c!-- ko component: { name: \'sv-svg-icon\', params: { css: question.cssClasses.itemNoImageSvgIcon, iconName: question.cssClasses.itemNoImageSvgIconId, size: 48 } } --\x3e\x3c!-- /ko --\x3e\n </div>\n \x3c!-- /ko --\x3e\n \n </div>\n \x3c!-- ko if: question.showLabel --\x3e\n <span data-bind="css: question.cssClasses.itemText">\n \x3c!-- ko template: { name: \'survey-string\', data: item.locText } --\x3e\n \x3c!-- /ko --\x3e\n </span>\n \x3c!-- /ko --\x3e\n </div>\n </label>\n </div>\n<\/script>'},function(e,t){e.exports='<script type="text/html" id="survey-question-matrix">\n <div data-bind="css: question.cssClasses.tableWrapper">\n <fieldset>\n <legend class="sv-hidden"\n data-bind="text: question.locTitle.renderedHtml"\n ></legend>\n <table data-bind="css: question.getTableCss()">\n \x3c!-- ko if: question.showHeader --\x3e\n <thead>\n <tr>\n \x3c!-- ko if: question.hasRows --\x3e\n <td data-bind="visible: question.hasRows"></td>\n \x3c!-- /ko --\x3e\n \x3c!-- ko foreach: question.koVisibleColumns --\x3e\n <th data-bind="css: question.cssClasses.headerCell, style: { minWidth: question.columnMinWidth, width: question.columnMinWidth }">\n \x3c!-- ko component: { name: question.getColumnHeaderWrapperComponentName($data), params: { componentData: question.getColumnHeaderWrapperComponentData($data), templateData: { data: $data } } } --\x3e\n \x3c!-- ko template: { name: \'survey-string\', data: $data.locText } --\x3e\x3c!-- /ko --\x3e\n \x3c!-- /ko --\x3e\n </th>\n \x3c!-- /ko --\x3e\n </tr>\n </thead>\n \x3c!-- /ko --\x3e\n <tbody>\n \x3c!-- ko foreach: { data: question.koVisibleRows, as: \'row\' } --\x3e\n <tr data-bind="css: row.rowClasses">\n <td\n data-bind="visible: question.hasRows, css: row.rowTextClasses, style: { minWidth: question.rowTitleWidth, width: question.rowTitleWidth }"\n >\n \x3c!-- ko component: { name: question.getRowHeaderWrapperComponentName($data), params: { componentData: question.getRowHeaderWrapperComponentData($data), templateData: { data: $data } } } --\x3e\n \x3c!-- ko template: { name: \'survey-string\', data: row.locText } --\x3e\n \x3c!-- /ko --\x3e\n \x3c!-- /ko --\x3e\n </td>\n \x3c!-- ko foreach: question.koVisibleColumns --\x3e\n \x3c!-- ko if: question.hasCellText --\x3e\n <td\n data-bind="css: question.getItemClass(row, $data), click: function() { row.cellClick($data); }"\n >\n \x3c!-- ko template: { name: \'survey-string\', data: question.getCellDisplayLocText(row.name, $data) } --\x3e\n \x3c!-- /ko --\x3e\n </td>\n \x3c!-- /ko --\x3e\n \x3c!-- ko if: !question.hasCellText --\x3e\n <td\n data-bind="attr: { \'data-responsive-title\': $data.locText.renderedHtml }, css: question.cssClasses.cell"\n >\n \x3c!-- ko component: { name: "sv-template-renderer", params: { templateData: { name: question.cellComponent, data: { question: question, row: $parent, column: $data } } } } --\x3e\n \x3c!-- /ko --\x3e\n </td>\n \x3c!-- /ko --\x3e\n \x3c!-- /ko --\x3e\n </tr>\n \x3c!-- /ko --\x3e\n </tbody>\n </table>\n </fieldset>\n </div>\n<\/script>\n<script type="text/html" id="survey-text">\n <span data-bind="text:$data.renderedHtml"></span>\n<\/script>\n<script type="text/html" id="survey-matrix-cell">\n <label data-bind="css: question.getItemClass(row, column), event: { mousedown: question.koMouseDown }" >\n <input\n type="radio"\n data-bind="css: question.cssClasses.itemValue, attr: { name: row.fullName, readonly: row.isReadOnlyAttr, \'aria-required\': question.a11y_input_ariaRequired, \'aria-label\': question.getCellAriaLabel(row.locText.renderedHtml, column.locText.renderedHtml), \'aria-invalid\': question.a11y_input_ariaInvalid, \'aria-errormessage\': question.a11y_input_ariaErrormessage, id: question.inputId + \'_\' + row.name + \'_\' + $index() }, enable: !row.isDisabledAttr, checkedValue: column.value, checked: row.value"\n />\n <span data-bind="css: question.cssClasses.materialDecorator">\n \x3c!-- ko if: question.itemSvgIcon --\x3e\n <svg data-bind="css:question.cssClasses.itemDecorator">\n <use data-bind="attr:{\'xlink:href\':question.itemSvgIcon}" xlink:href=\'\'></use>\n </svg> \n \x3c!-- /ko --\x3e\n </span>\n \x3c!-- ko if: question.isMobile --\x3e\n <span data-bind="css: question.cssClasses.cellResponsiveTitle">\n \x3c!-- ko template: { name: \'survey-string\', data: column.locText } --\x3e\x3c!-- /ko --\x3e\n </span>\n \x3c!-- /ko --\x3e\n </label>\n<\/script>\n'},function(e,t){e.exports='<script type="text/html" id="survey-question-matrixdynamic">\n <div>\n \x3c!-- ko if: question.koTable().showAddRowOnTop --\x3e\n <div\n data-bind="css: question.cssClasses.footer"\n >\n <button\n type="button"\n data-bind="click: question.isDesignMode ? undefined : question.koAddRowClick, css: question.getAddRowButtonCss(), disable: question.isInputReadOnly"\n >\n \x3c!-- ko template: { name: \'survey-string\', data: question.locAddRowText } --\x3e\x3c!-- /ko --\x3e\n <span data-bind="css: question.cssClasses.iconAdd"></span>\n </button>\n </div>\n \x3c!-- /ko --\x3e\n \x3c!-- ko template: { name: \'survey-matrixtable\' } --\x3e\n \x3c!--/ko--\x3e\n \x3c!-- ko ifnot: question.koTable().showTable --\x3e\n <div data-bind="css: question.cssClasses.emptyRowsSection">\n <div data-bind="css: question.cssClasses.emptyRowsText">\n \x3c!-- ko template: { name: \'survey-string\', data: question.locEmptyRowsText } --\x3e\x3c!-- /ko --\x3e\n </div>\n \x3c!-- ko if: question.koTable().showAddRow --\x3e \n <button\n type="button"\n data-bind="click:question.koAddRowClick, css: question.getAddRowButtonCss(true), disable: question.isInputReadOnly"\n >\n \x3c!-- ko template: { name: \'survey-string\', data: question.locAddRowText } --\x3e\x3c!-- /ko --\x3e\n <span data-bind="css: question.cssClasses.iconAdd"></span>\n </button>\n \x3c!-- /ko --\x3e\n </div>\n \x3c!-- /ko --\x3e\n \x3c!-- ko if: question.koTable().showAddRowOnBottom --\x3e\n <div\n data-bind="css: question.cssClasses.footer"\n >\n <button\n type="button"\n data-bind="click: question.koAddRowClick, css: question.getAddRowButtonCss(), disable: question.isInputReadOnly"\n >\n \x3c!-- ko template: { name: \'survey-string\', data: question.locAddRowText } --\x3e\x3c!-- /ko --\x3e\n <span data-bind="css: question.cssClasses.iconAdd"></span>\n </button>\n </div>\n \x3c!-- /ko --\x3e\n </div>\n<\/script>\n<script type="text/html" id="survey-matrixdropdown-cell">\n \x3c!-- ko if: $data.isVisible --\x3e\n <td\n data-bind="css: $data.className, style: { minWidth: $data.minWidth, width: $data.width }, attr: { title: $data.getTitle(), colspan: $data.colSpans }, event: {focusin: $data.focusIn }"\n >\n \x3c!-- ko if: $data.showResponsiveTitle --\x3e\n <span data-bind="css: $data.responsiveTitleCss">\n \x3c!-- ko template: { name: \'survey-string\', data: $data.responsiveLocTitle } --\x3e\x3c!-- /ko --\x3e\n \x3c!-- ko if: $data.column && $data.column.isRenderedRequired --\x3e\n <span> </span>\n <span data-bind="css: $data.matrix.cssClasses.cellRequiredText, text: $data.column.requiredText"></span>\n \x3c!-- /ko --\x3e\n </span>\n \x3c!-- /ko --\x3e\n \x3c!-- ko if: $data.matrix --\x3e\n <div data-bind="visible: question.isVisible, css: cellQuestionWrapperClassName">\n \x3c!-- ko if: $data.isOtherChoice --\x3e\n <div data-bind="css: question.getCommentAreaCss(true), template: { name: \'survey-other\', data: {\'question\': question, \'visible\': true } }"></div>\n \x3c!-- /ko --\x3e\n \x3c!-- ko if: $data.isCheckbox --\x3e\n \x3c!-- ko let: { question: $data.matrix.getCellTemplateData($data) } --\x3e\n \x3c!-- ko component: { name: $data.matrix.getCellWrapperComponentName($data), params: { componentData: $data.matrix.getCellWrapperComponentData($data), templateData: { name: \'survey-checkbox-item\', data: item } } } --\x3e\n \x3c!-- /ko --\x3e\n \x3c!-- /ko --\x3e\n \x3c!-- /ko --\x3e\n \x3c!-- ko if: $data.isRadio --\x3e\n \x3c!-- ko let: { question: $data.matrix.getCellTemplateData($data) } --\x3e\n \x3c!-- ko component: { name: $data.matrix.getCellWrapperComponentName($data), params: { componentData: $data.matrix.getCellWrapperComponentData($data), templateData: { name: \'survey-radiogroup-item\', data: item } } } --\x3e\n \x3c!-- /ko --\x3e \n \x3c!-- /ko --\x3e \n \x3c!-- /ko --\x3e\n \x3c!-- ko ifnot: $data.isChoice --\x3e\n \x3c!-- ko if: question.isDefaultRendering() --\x3e\n \x3c!-- ko let: { question: $data.matrix.getCellTemplateData($data) } --\x3e\n \x3c!-- ko component: { name: $data.matrix.getCellWrapperComponentName($data), params: { componentData: $data.matrix.getCellWrapperComponentData($data), templateData: { name: question.koTemplateName(), data: question, afterRender: function(el) { $data.matrix.koCellQuestionAfterRender(el, $data); } } } } --\x3e\n \x3c!-- /ko --\x3e\n \x3c!-- /ko --\x3e\n \x3c!-- /ko --\x3e\n \x3c!-- ko ifnot: question.isDefaultRendering() --\x3e\n \x3c!-- ko component: { name: question.getComponentName(), params: { question: question } } --\x3e\n \x3c!-- /ko --\x3e\n \x3c!-- /ko --\x3e\n \x3c!-- /ko --\x3e\n </div>\n \x3c!-- /ko --\x3e\n \x3c!-- ko ifnot: $data.matrix --\x3e\n \x3c!-- ko if: $data.locTitle --\x3e\n \x3c!-- ko template: { name: \'survey-string\', data: $data.locTitle } --\x3e\x3c!-- /ko --\x3e\n \x3c!-- /ko --\x3e\n \x3c!-- /ko --\x3e\n </td>\n \x3c!-- /ko --\x3e\n<\/script>\n<script type="text/html" id="survey-matrixtable">\n<div\n data-bind="visible: question.koTable().showTable, css: question.cssClasses.tableWrapper, style: { overflowX: question.showHorizontalScroll ? \'scroll\': \'\' }"\n>\n <table data-bind="css: question.getTableCss()">\n \x3c!-- ko if: question.koTable().showHeader --\x3e\n <thead>\n <tr>\n \x3c!-- ko foreach: question.koTable().headerRow.cells --\x3e\n \x3c!-- ko if: $data.hasTitle --\x3e\n <th\n data-bind="style: { minWidth: $data.minWidth, width: $data.width }, css: $data.className"\n >\n \x3c!-- ko component: { name: question.getColumnHeaderWrapperComponentName($data), params: { componentData: question.getColumnHeaderWrapperComponentData($data), templateData: { data: $data } } } --\x3e\n \x3c!-- ko template: { name: \'survey-string\', data: $data.locTitle } --\x3e\x3c!-- /ko --\x3e\n \x3c!-- ko if: $data.column && $data.column.isRenderedRequired --\x3e\n <span> </span>\n <span data-bind="css: question.cssClasses.cellRequiredText, text: $data.column.requiredText"></span>\n \x3c!-- /ko --\x3e\n \x3c!-- /ko --\x3e\n </th>\n \x3c!-- /ko --\x3e\n \x3c!-- ko ifnot: $data.hasTitle --\x3e\n <td data-bind="style: { minWidth: $data.minWidth, width: $data.width }, css: $data.className"></td>\n \x3c!-- /ko --\x3e\n \x3c!-- /ko --\x3e\n </tr>\n </thead>\n \x3c!-- /ko --\x3e\n <tbody>\n \x3c!-- ko foreach: { data: question.koTable().renderedRows, afterRender: question.koRowAfterRender } --\x3e\n \x3c!-- ko ifnot: ($parent.detailPanelMode === "popup" && $data.isDetailRow) || !$data.visible--\x3e\n <tr data-bind="css: $data.className, attr: attributes, event: { pointerdown: function (model, event) { question.onPointerDown(event, row); return true;} }">\n \x3c!-- ko foreach: $data.cells --\x3e\n \x3c!-- ko if: $data.isDragHandlerCell --\x3e\n <td data-bind="css:$data.className, attr: {colspan: $data.colSpans}">\n \x3c!-- ko component: { name: \'sv-matrix-drag-drop-icon\', params: { item: { data: { row: row, question: question } } }} --\x3e\n \x3c!-- /ko --\x3e\n </td>\n \x3c!-- /ko --\x3e\n \x3c!-- ko if: $data.isActionsCell --\x3e\n <td data-bind="css: $data.className, attr: { colspan: $data.colSpans, title: $data.getTitle() }">\n \x3c!-- ko component: { name: \'sv-action-bar\', params: { model: $data.item.getData(), handleClick: false } } --\x3e\n \x3c!-- /ko --\x3e\n </td>\n \x3c!-- /ko --\x3e\n \x3c!-- ko if: $data.isEmpty --\x3e\n <td data-bind="css: $data.className, attr: { colspan: $data.colSpans, title: $data.getTitle() }"></td>\n \x3c!-- /ko --\x3e\n \x3c!-- ko if: $data.hasPanel --\x3e\n <td data-bind="css: $data.className, attr: { colspan: $data.colSpans }">\n \x3c!-- ko component: { name: $data.panel.survey.getElementWrapperComponentName($data.panel), \n params: { componentData: $data.panel.survey.getElementWrapperComponentData($data.panel), \n templateData: { name: $data.panel.koElementType, data: $data.panel, afterRender: question.koPanelAfterRender } } } \n --\x3e\n \x3c!-- /ko --\x3e\n </td>\n \x3c!-- /ko --\x3e\n \x3c!-- ko if: $data.isErrorsCell && $data.isVisible --\x3e\n <td data-bind="css: $data.className, attr: { colspan: $data.colSpans, title: $data.getTitle() }">\n \x3c!-- ko template: { name: \'survey-question-errors\', data: $data.question, as: \'question\' } --\x3e\n \x3c!-- /ko --\x3e\n </td>\n \x3c!-- /ko --\x3e\n \x3c!-- ko if: $data.hasQuestion --\x3e\n \x3c!-- ko template: { name: \'survey-matrixdropdown-cell\', afterRender: function(els) { $data.matrix.koCellAfterRender(els, $data); } } --\x3e\x3c!-- /ko --\x3e\n \x3c!-- /ko --\x3e\n \x3c!-- ko if: $data.hasTitle --\x3e\n <td\n data-bind="css: $data.className, style: { minWidth: $data.minWidth, width: $data.width }, attr: { colspan: $data.colSpans, title: $data.getTitle() }"\n >\n \x3c!-- ko component: { name: question.getRowHeaderWrapperComponentName($data), params: { componentData: question.getRowHeaderWrapperComponentData($data), templateData: { data: $data } } } --\x3e\n \x3c!-- ko template: { name: \'survey-string\', data: $data.locTitle } --\x3e\x3c!-- /ko --\x3e\n \x3c!-- ko if: $data.requiredText --\x3e\n <span data-bind="css: question.cssClasses.cellRequiredText, text: $data.requiredText"></span>\n \x3c!-- /ko --\x3e\n \x3c!-- /ko --\x3e\n </td>\n \x3c!-- /ko --\x3e\n \x3c!-- /ko --\x3e\n </tr>\n\n \x3c!-- /ko --\x3e\n \x3c!-- /ko --\x3e\n </tbody>\n \x3c!-- ko if:question.koTable().hasFooter --\x3e\n <tfoot>\n <tr>\n \x3c!-- ko foreach: question.koTable().footerRow.cells --\x3e\n \x3c!-- ko template: { name: \'survey-matrixdropdown-cell\', afterRender: function(els) { $data.matrix && $data.matrix.koCellAfterRender(els, $data); } } --\x3e\x3c!-- /ko --\x3e\n \x3c!-- /ko --\x3e\n </tr>\n </tfoot>\n \x3c!-- /ko --\x3e\n </table>\n</div>\n<\/script>'},function(e,t){e.exports='<script type="text/html" id="survey-question-matrixdropdown">\n \x3c!-- ko template: { name: \'survey-matrixtable\' } --\x3e\x3c!--/ko--\x3e\n<\/script>'},function(e,t){e.exports='<script type="text/html" id="survey-question-multipletext">\n <table data-bind="css: question.getQuestionRootCss()">\n <tbody data-bind="foreach: { data: question.getRows(), as: \'row\' }">\n \x3c!-- ko if: row.isVisible --\x3e\n <tr data-bind="foreach: { data: row.cells, as: \'cell\' }, css: question.cssClasses.row">\n <td data-bind="css: cell.className"> \n \x3c!-- ko ifnot: cell.isErrorsCell --\x3e\n <label data-bind="css: question.getItemLabelCss(item)">\n <span data-bind="css: question.koItemTitleCss, style: { minWidth: question.itemTitleWidth, width: question.itemTitleWidth }">\n \x3c!-- ko component: { name: \'survey-element-title-content\', params: {element: cell.item.editor} } --\x3e\x3c!-- /ko --\x3e\n </span>\n <div data-bind="css: question.koItemCss, event: {focusin: cell.item.focusIn }">\n \x3c!-- ko template: { name: item.editor.koTemplateName(), data: cell.item.editor, as: \'question\', afterRender: cell.item.editor.koQuestionAfterRender } --\x3e\n \x3c!-- /ko --\x3e\n </div>\n </label>\n \x3c!-- /ko --\x3e\n \x3c!-- ko if: cell.isErrorsCell --\x3e\n \x3c!-- ko template: { name: \'survey-question-errors\', data: cell.item.editor, as: \'question\' } --\x3e\n \x3c!-- /ko --\x3e\n \x3c!-- /ko --\x3e\n </td>\n </tr>\n \x3c!-- /ko --\x3e\n </tbody>\n </table>\n<\/script>\n'},function(e,t){e.exports="<script type=\"text/html\" id=\"survey-question-paneldynamic\">\n <div data-bind=\"css: question.cssClasses.root\">\n \x3c!-- ko if: question.hasTabbedMenu --\x3e\n <div data-bind=\"css: question.getTabsContainerCss()\">\n \x3c!-- ko component: { name: \"sv-action-bar\", params: { model: question.tabbedMenu } } --\x3e\n \x3c!-- /ko --\x3e\n </div>\n \x3c!-- /ko --\x3e\n \x3c!-- ko if: question.getShowNoEntriesPlaceholder() --\x3e\n <div data-bind=\"css: question.cssClasses.noEntriesPlaceholder\">\n <span>\n \x3c!-- ko template: { name: 'survey-string', data: locNoEntriesText } --\x3e\x3c!-- /ko --\x3e\n </span>\n \x3c!-- ko component: { name: 'sv-paneldynamic-add-btn', params: { question: question }} --\x3e\n \x3c!-- /ko --\x3e\n </div>\n \x3c!-- /ko --\x3e\n \x3c!-- ko if: question.koIsList() --\x3e\n <div data-bind=\"css: question.cssClasses.panelsContainer\">\n \x3c!-- ko foreach: { data: question.renderedPanels } --\x3e\n <div data-bind=\"css: question.getPanelWrapperCss($data)\">\n \x3c!-- ko let: { question: $data } --\x3e\n \x3c!-- ko component: { name: survey.getElementWrapperComponentName(question), params: { componentData: survey.getElementWrapperComponentData(question), templateData: { name: question.koElementType, data: question, afterRender: $parent.koPanelAfterRender } } } --\x3e\n \x3c!-- /ko --\x3e\n \x3c!-- /ko --\x3e\n \x3c!-- ko if: question.panelRemoveButtonLocation === 'right' && question.koCanRemovePanel() && $data.state != 'collapsed'--\x3e\n \x3c!-- ko component: { name: 'sv-paneldynamic-remove-btn', params: { question: question, panel: $data } } --\x3e\n \x3c!-- /ko --\x3e\n \x3c!-- /ko --\x3e\n \n </div>\n \x3c!-- ko if: question.showSeparator($index()) --\x3e\n <hr data-bind=\"css: question.cssClasses.separator\"/>\n \x3c!-- /ko --\x3e\n \x3c!-- /ko --\x3e\n </div>\n \x3c!-- ko if: question.showLegacyNavigation --\x3e\n \x3c!-- ko component: { name: 'sv-paneldynamic-add-btn', params: { question: question }} --\x3e\x3c!-- /ko --\x3e\n \x3c!-- /ko --\x3e\n \x3c!-- /ko --\x3e\n \x3c!-- ko ifnot: question.koIsList() --\x3e\n \x3c!-- ko if: question.koIsProgressTop--\x3e\n \x3c!-- ko if: !question.showLegacyNavigation && question.koIsRange --\x3e\n \x3c!-- ko template: { name: 'survey-question-paneldynamic-progress', data: question, as: 'question'} --\x3e\n \x3c!-- /ko --\x3e\n \x3c!-- /ko --\x3e\n \x3c!-- ko if: question.showLegacyNavigation --\x3e\n <div data-bind=\"css: question.cssClasses.progressTop\">\n \x3c!-- ko template: { name: 'survey-question-paneldynamic-navigator', data: question, as: 'question'} --\x3e\n \x3c!-- /ko --\x3e\n </div>\n \x3c!-- /ko --\x3e\n \x3c!-- /ko --\x3e\n \x3c!-- ko if: question.koPanel() --\x3e\n <div data-bind=\"css: question.cssClasses.panelsContainer\">\n \x3c!-- ko foreach: { data: question.renderedPanels } --\x3e\n <div data-bind=\"css: question.getPanelWrapperCss($data)\">\n \x3c!-- ko let: { question: $data } --\x3e\n \x3c!-- ko component: { name: question.survey.getElementWrapperComponentName(question), params: { componentData: question.survey.getElementWrapperComponentData(question), templateData: { name: question.koElementType, data: question, afterRender: $parent.koPanelAfterRender } } } --\x3e\n \x3c!-- /ko --\x3e\n \x3c!-- /ko --\x3e\n \x3c!-- ko if: question.panelRemoveButtonLocation === 'right'--\x3e\n \x3c!-- ko template: { name: 'survey-question-paneldynamic-remove-btn', data: { question: question, panel: question.koPanel() }, as: 'question'} --\x3e\n \x3c!-- /ko --\x3e\n \x3c!-- /ko--\x3e\n </div>\n \x3c!-- /ko --\x3e\n </div>\n \x3c!-- /ko --\x3e\n \x3c!-- ko if: question.showLegacyNavigation && question.koIsProgressBottom--\x3e \n <div data-bind=\"css: question.cssClasses.progressBottom\">\n \x3c!-- ko template: { name: 'survey-question-paneldynamic-navigator', data: question, as: 'question'} --\x3e\n \x3c!-- /ko --\x3e\n </div>\n \x3c!-- /ko --\x3e\n \x3c!-- /ko --\x3e\n \x3c!-- ko if: question.showNavigation --\x3e\n <div data-bind=\"css: question.cssClasses.footer\">\n <hr data-bind=\"css: question.cssClasses.separator\"/>\n \x3c!-- ko if: question.koIsRange() && question.koIsProgressBottom --\x3e\n \x3c!-- ko template: { name: 'survey-question-paneldynamic-progress', data: question, as: 'question'} --\x3e\n \x3c!-- /ko --\x3e\n \x3c!-- /ko --\x3e\n \x3c!-- ko if: question.footerToolbar.visibleActions.length --\x3e\n <div data-bind=\"css: question.cssClasses.footerButtonsContainer\">\n \x3c!-- ko component: { name: \"sv-action-bar\", params: { model: question.footerToolbar } } --\x3e\n \x3c!-- /ko --\x3e\n </div>\n \x3c!-- /ko --\x3e\n </div>\n \x3c!-- /ko --\x3e\n </div>\n<\/script>"},function(e,t){e.exports='<script type="text/html" id="survey-question-paneldynamic-navigator">\n <div style="clear: both;">\n <div data-bind="css: question.cssClasses.progressContainer">\n \x3c!-- ko component: { name: \'sv-paneldynamic-prev-btn\', params: { question: question }} --\x3e\x3c!-- /ko --\x3e\n \x3c!-- ko if: question.koIsRange --\x3e\n \x3c!-- ko template: { name: \'survey-question-paneldynamic-progress\', data: question, as: \'question\'} --\x3e\x3c!-- /ko --\x3e\n \x3c!-- /ko --\x3e\n \x3c!-- ko component: { name: \'sv-paneldynamic-next-btn\', params: { question: question }} --\x3e\x3c!-- /ko --\x3e\n </div>\n \x3c!-- ko component: { name: \'sv-paneldynamic-add-btn\', params: { question: question }} --\x3e\x3c!-- /ko --\x3e\n <div data-bind="text: question.koProgressText, css: question.cssClasses.progressText"></div>\n </div>\n<\/script>\n<script type="text/html" id="survey-question-paneldynamic-progress">\n <div data-bind="css: question.cssClasses.progress">\n <div\n data-bind="css: question.cssClasses.progressBar, style: { width: question.koProgress }"\n role="progressbar"\n ></div>\n </div>\n<\/script>'},function(e,t){e.exports='<script type="text/html" id="survey-question-radiogroup">\n\n <fieldset data-bind="css: question.getSelectBaseRootCss(), attr: { \'role\': question.a11y_input_ariaRole, \'aria-required\': question.a11y_input_ariaRequired, \'aria-labelledby\': question.a11y_input_ariaLabelledBy, \'aria-describedby\': question.a11y_input_ariaDescribedBy, \'aria-invalid\': question.a11y_input_ariaInvalid, \'aria-errormessage\': question.a11y_input_ariaErrormessage, \'aria-label\': question.a11y_input_ariaLabel }">\n \x3c!-- ko ifnot: question.hasColumns --\x3e\n \x3c!-- ko if: question.blockedRow --\x3e\n <div data-bind="css: question.cssClasses.rootRow">\n \x3c!-- ko foreach: { data: question.dataChoices, as: \'item\', afterRender: question.koAfterRender } --\x3e\n \x3c!-- ko component: { name: question.getItemValueWrapperComponentName(item), params: { componentData: question.getItemValueWrapperComponentData(item), templateData: { name: question.itemComponent, data: item } } } --\x3e\n \x3c!-- /ko --\x3e\n \x3c!-- /ko --\x3e\n </div>\n \x3c!-- /ko --\x3e\n \x3c!-- ko ifnot: question.blockedRow --\x3e\n \x3c!-- ko foreach: { data: question.bodyItems, as: \'item\', afterRender: question.koAfterRender } --\x3e\n \x3c!-- ko component: { name: question.getItemValueWrapperComponentName(item), params: { componentData: question.getItemValueWrapperComponentData(item), templateData: { name: question.itemComponent, data: item } } } --\x3e\n \x3c!-- /ko --\x3e\n \x3c!-- /ko --\x3e\n \x3c!-- /ko --\x3e\n \x3c!-- /ko --\x3e\n \x3c!-- ko if: question.hasColumns --\x3e\n <div data-bind="css: question.cssClasses.rootMultiColumn">\n\n \x3c!-- ko foreach: question.columns --\x3e\n <div data-bind="css: question.getColumnClass()" role="presentation">\n \x3c!-- ko foreach: { data: $data, as: \'item\', afterRender: question.koAfterRender } --\x3e\n \x3c!-- ko component: { name: question.getItemValueWrapperComponentName(item), params: { componentData: question.getItemValueWrapperComponentData(item), templateData: { name: question.itemComponent, data: item } } } --\x3e\n \x3c!-- /ko --\x3e\n \x3c!-- /ko --\x3e\n </div>\n \x3c!-- /ko --\x3e\n </div>\n \x3c!-- /ko --\x3e\n \x3c!-- ko if: question.hasFootItems --\x3e\n \x3c!-- ko foreach: { data: question.footItems, as: \'item\', afterRender: question.koAfterRender } --\x3e\n \x3c!-- ko component: { name: question.getItemValueWrapperComponentName(item), params: { componentData: question.getItemValueWrapperComponentData(item), templateData: { name: question.itemComponent, data: item } } } --\x3e\n \x3c!-- /ko --\x3e\n \x3c!-- /ko --\x3e\n \x3c!-- /ko --\x3e\n\n \x3c!-- ko if: question.hasOther && question.isOtherSelected --\x3e\n <div data-bind="css: question.getCommentAreaCss(true), template: { name: \'survey-other\', data: {\'question\': question, \'visible\': question.isOtherSelected } }"></div>\n \x3c!-- /ko --\x3e\n \x3c!-- ko if: question.showClearButtonInContent --\x3e\n <div>\n <input\n type="button"\n data-bind="click:question.clearValueOnly, css: question.cssClasses.clearButton, value: question.clearButtonCaption"\n />\n </div>\n \x3c!-- /ko --\x3e\n </fieldset>\n<\/script>\n<script type="text/html" id="survey-radiogroup-item">\n <div role="presentation" data-bind="css: question.getItemClass($data)">\n <label data-bind="css: question.getLabelClass($data), event: { mousedown: question.koMouseDown }">\n <input\n type="radio"\n data-bind="attr: { name: question.questionName, id: question.getItemId($data), \'aria-errormessage\': question.ariaErrormessage, readonly: question.isReadOnlyAttr}, checkedValue: $data.value, checked: question.renderedValue, enable: question.getItemEnabled($data), css: question.cssClasses.itemControl"\n />\n \x3c!-- ko if: question.cssClasses.materialDecorator --\x3e\n <span data-bind="css: question.cssClasses.materialDecorator">\n \x3c!-- ko if: question.itemSvgIcon --\x3e\n <svg data-bind="css:question.cssClasses.itemDecorator">\n <use data-bind="attr:{\'xlink:href\':question.itemSvgIcon}" xlink:href=\'\'></use>\n </svg>\n \x3c!-- /ko --\x3e\n </span>\n \x3c!-- /ko --\x3e\n \x3c!-- ko if: !$data.hideCaption --\x3e\n <span data-bind="css: question.getControlLabelClass($data)">\n \x3c!-- ko template: { name: \'survey-string\', data: $data.locText } --\x3e\n \x3c!-- /ko --\x3e\n </span>\n \x3c!-- /ko --\x3e\n </label>\n </div>\n<\/script>\n'},function(e,t){e.exports='<script type="text/html" id="survey-question-rating">\n <div data-bind="css: question.ratingRootCss">\n <fieldset role="radiogroup">\n <legend role="presentation" class="sv-hidden"></legend>\n \x3c!-- ko if: question.hasMinLabel--\x3e\n <span data-bind="css: question.cssClasses.minText">\n \x3c!-- ko template: { name: \'survey-string\', data: question.locMinRateDescription } --\x3e\n \x3c!-- /ko --\x3e\n </span>\n \x3c!-- /ko --\x3e\n \x3c!-- ko foreach: question.renderedRateItems --\x3e\n \x3c!-- ko component: { name: question.itemComponent, params: { question: question, item: $data, index: $index() } } --\x3e\n \x3c!-- /ko --\x3e\n \n \x3c!-- /ko --\x3e\n \x3c!-- ko if: question.hasMaxLabel--\x3e\n <span data-bind="css: question.cssClasses.maxText">\n \x3c!-- ko template: { name: \'survey-string\', data: question.locMaxRateDescription } --\x3e\n \x3c!-- /ko --\x3e\n </span>\n \x3c!-- /ko --\x3e\n\n </fieldset>\n </div>\n </fieldset>\n<\/script>\n'},function(e,t){e.exports='<script type="text/html" id="survey-question-signaturepad">\n <div data-bind="css: question.cssClasses.root, style: { width: question.renderedCanvasWidth }">\n <div data-bind="css: question.cssClasses.placeholder, visible: $data.needShowPlaceholder()">\n \x3c!-- ko template: { name: \'survey-string\', data: question.locRenderedPlaceholder } --\x3e\n \x3c!-- /ko --\x3e\n </div>\n <div>\n \x3c!-- ko if: question.backgroundImage --\x3e\n <img data-bind="attr: { src: question.backgroundImage}, style: { width: question.renderedCanvasWidth }, css: question.cssClasses.backgroundImage">\n \x3c!-- /ko --\x3e\n <canvas tabindex=\'-1\' data-bind="css: question.cssClasses.canvas, event: { blur: question.koOnBlur }" ></canvas>\n </div>\n \x3c!-- ko if: question.canShowClearButton --\x3e\n <div data-bind="css: question.cssClasses.controls">\n <button type=\'button\'\n data-bind="click: question.clearValueOnly, css: question.cssClasses.clearButton, attr: { title: question.clearButtonCaption }">\n \x3c!-- ko ifnot: question.cssClasses.clearButtonIconId --\x3e\n <span>â</span>\n \x3c!-- /ko --\x3e\n \x3c!-- ko if: question.cssClasses.clearButtonIconId --\x3e\n <sv-svg-icon params="iconName: question.cssClasses.clearButtonIconId, size: \'auto\'"></sv-svg-icon>\n \x3c!-- /ko --\x3e\n </button>\n </div>\n \x3c!-- /ko --\x3e\n \x3c!-- ko if: question.showLoadingIndicator --\x3e\n <div data-bind="css: question.cssClasses.loadingIndicator">\n \x3c!-- ko component: { name: "sv-loading-indicator" } --\x3e\n \x3c!-- /ko --\x3e\n </div>\n \x3c!-- /ko --\x3e\n </div>\n<\/script>'},function(e,t){e.exports="<script type=\"text/html\" id=\"survey-question-text\">\n \x3c!--ko if: !question.dataListId && !question.isReadOnlyRenderDiv()--\x3e\n \x3c!-- ko template: { name: 'survey-question-text-input' } --\x3e\x3c!-- /ko --\x3e\n \x3c!--/ko--\x3e\n \x3c!--ko if: question.dataListId && !question.isReadOnlyRenderDiv()--\x3e\n <div>\n \x3c!-- ko template: { name: 'survey-question-text-input' } --\x3e\x3c!-- /ko --\x3e\n <datalist data-bind=\"attr: {id: question.dataListId}\">\n \x3c!-- ko foreach: question.dataList --\x3e\n <option data-bind=\"value:$data\"></option>\n \x3c!--/ko--\x3e\n </datalist>\n </div>\n \x3c!--/ko--\x3e\n \x3c!--ko if: question.isReadOnlyRenderDiv() --\x3e\n <div data-bind=\"text: question.koReadOnlyValue\"></div>\n \x3c!--/ko--\x3e\n<\/script>\n<script type=\"text/html\" id=\"survey-question-text-input\">\n <input\n data-bind=\"disable: question.isDisabledAttr, \n style: question.inputStyle, \n attr: { type: question.inputType, size: question.renderedInputSize, id: question.inputId, placeholder: question.renderedPlaceholder, maxLength: question.getMaxLength(), min: question.renderedMin, max: question.renderedMax, step: question.renderedStep, 'aria-required': question.a11y_input_ariaRequired, 'aria-invalid': question.ariaInvalid, 'aria-label': question.a11y_input_ariaLabel, 'aria-labelledby': question.a11y_input_ariaLabelledBy, 'aria-describedby': question.a11y_input_ariaDescribedBy, 'aria-invalid': question.a11y_input_ariaInvalid, 'aria-errormessage': question.a11y_input_ariaErrormessage, autocomplete: question.autocomplete, list:question.dataListId, readonly:question.isReadOnlyAttr }, \n event: { keydown: koOnKeyDown, keyup: koOnKeyUp, change: koOnChange, compositionupdate: koOnCompositeUpdate, blur: koOnBlur, focus: koOnFocus },\n value: question.koReadOnlyValue,\n css: question.getControlClass()\"/>\n \x3c!--ko if: question.getMaxLength() --\x3e\n \x3c!-- ko component: { name: 'sv-character-counter', params: { counter: question.characterCounter, remainingCharacterCounter: question.cssClasses.remainingCharacterCounter } } --\x3e\n \x3c!-- /ko --\x3e\n \x3c!--/ko--\x3e\n<\/script>"},function(e,t){e.exports='<script type="text/html" id="survey-question-buttongroup">\n <div role="group" data-bind="css: question.cssClasses.root">\n \x3c!-- ko foreach: question.visibleChoices --\x3e\n \x3c!-- ko component: { name: \'sv-button-group-item\', params: { question: question, item: $data, index: $index } } --\x3e\n \x3c!-- /ko --\x3e\n \x3c!-- /ko --\x3e\n </div>\n<\/script>\n'},function(e,t){e.exports='<script type="text/html" id="popup-pointer">\n <span class="sv-popup__pointer" data-bind="style: { left: pointerTarget.left, top: pointerTarget.top }"></span>\n<\/script>'},function(e,t,n){var o={"./ModernBooleanCheckChecked.svg":44,"./ModernBooleanCheckInd.svg":45,"./ModernBooleanCheckUnchecked.svg":46,"./ModernCheck.svg":47,"./ModernRadio.svg":48,"./ProgressButton.svg":49,"./RemoveFile.svg":50,"./TimerCircle.svg":51,"./add-24x24.svg":52,"./arrowleft-16x16.svg":53,"./arrowright-16x16.svg":54,"./camera-24x24.svg":55,"./camera-32x32.svg":56,"./cancel-24x24.svg":57,"./check-16x16.svg":58,"./check-24x24.svg":59,"./chevrondown-24x24.svg":60,"./chevronright-16x16.svg":61,"./clear-16x16.svg":62,"./clear-24x24.svg":63,"./close-16x16.svg":64,"./close-24x24.svg":65,"./collapse-16x16.svg":66,"./collapsedetails-16x16.svg":67,"./delete-24x24.svg":68,"./drag-24x24.svg":69,"./draghorizontal-24x16.svg":70,"./expand-16x16.svg":71,"./expanddetails-16x16.svg":72,"./file-72x72.svg":73,"./flip-24x24.svg":74,"./folder-24x24.svg":75,"./fullsize-16x16.svg":76,"./image-48x48.svg":77,"./loading-48x48.svg":78,"./maximize-16x16.svg":79,"./minimize-16x16.svg":80,"./more-24x24.svg":81,"./navmenu-24x24.svg":82,"./noimage-48x48.svg":83,"./ranking-arrows.svg":84,"./rankingundefined-16x16.svg":85,"./rating-star-2.svg":86,"./rating-star-small-2.svg":87,"./rating-star-small.svg":88,"./rating-star.svg":89,"./reorder-24x24.svg":90,"./restoredown-16x16.svg":91,"./search-24x24.svg":92,"./smiley-rate1-24x24.svg":93,"./smiley-rate10-24x24.svg":94,"./smiley-rate2-24x24.svg":95,"./smiley-rate3-24x24.svg":96,"./smiley-rate4-24x24.svg":97,"./smiley-rate5-24x24.svg":98,"./smiley-rate6-24x24.svg":99,"./smiley-rate7-24x24.svg":100,"./smiley-rate8-24x24.svg":101,"./smiley-rate9-24x24.svg":102};function i(e){var t=r(e);return n(t)}function r(e){if(!n.o(o,e)){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return o[e]}i.keys=function(){return Object.keys(o)},i.resolve=r,e.exports=i,i.id=43},function(e,t){e.exports='<svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 24 24"><polygon points="19,10 14,10 14,5 10,5 10,10 5,10 5,14 10,14 10,19 14,19 14,14 19,14 "></polygon></svg>'},function(e,t){e.exports='<svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 24 24"><path d="M22,0H2C0.9,0,0,0.9,0,2v20c0,1.1,0.9,2,2,2h20c1.1,0,2-0.9,2-2V2C24,0.9,23.1,0,22,0z M21,18L6,3h15V18z M3,6l15,15H3V6z"></path></svg>'},function(e,t){e.exports='<svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 24 24"><rect x="5" y="10" width="14" height="4"></rect></svg>'},function(e,t){e.exports='<svg viewBox="0 0 24 24"><path d="M5,13l2-2l3,3l7-7l2,2l-9,9L5,13z"></path></svg>'},function(e,t){e.exports='<svg viewBox="-12 -12 24 24"><circle r="6" cx="0" cy="0"></circle></svg>'},function(e,t){e.exports='<svg viewBox="0 0 10 10"><polygon points="2,2 0,4 5,9 10,4 8,2 5,5 "></polygon></svg>'},function(e,t){e.exports='<svg viewBox="0 0 16 16"><path d="M8,2C4.7,2,2,4.7,2,8s2.7,6,6,6s6-2.7,6-6S11.3,2,8,2z M11,10l-1,1L8,9l-2,2l-1-1l2-2L5,6l1-1l2,2l2-2l1,1L9,8 L11,10z"></path></svg>'},function(e,t){e.exports='<svg xmlns="http://www.w3.org/2000/svg" version="1.1" viewBox="0 0 160 160"><circle cx="80" cy="80" r="70" style="stroke: var(--sd-timer-stroke-background-color); stroke-width: var(--sd-timer-stroke-background-width)" stroke-dasharray="none" stroke-dashoffset="none"></circle><circle cx="80" cy="80" r="70"></circle></svg>'},function(e,t){e.exports='<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M13 11H17V13H13V17H11V13H7V11H11V7H13V11ZM23 12C23 18.1 18.1 23 12 23C5.9 23 1 18.1 1 12C1 5.9 5.9 1 12 1C18.1 1 23 5.9 23 12ZM21 12C21 7 17 3 12 3C7 3 3 7 3 12C3 17 7 21 12 21C17 21 21 17 21 12Z"></path></svg>'},function(e,t){e.exports='<svg viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg"><path d="M15 8.99999H4.4L8.7 13.3L7.3 14.7L0.599998 7.99999L7.3 1.29999L8.7 2.69999L4.4 6.99999H15V8.99999Z"></path></svg>'},function(e,t){e.exports='<svg viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg"><path d="M1 6.99999H11.6L7.3 2.69999L8.7 1.29999L15.4 7.99999L8.7 14.7L7.3 13.3L11.6 8.99999H1V6.99999Z"></path></svg>'},function(e,t){e.exports='<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M20.01 4H18.4C18.2 4 18.01 3.9 17.9 3.73L16.97 2.34C16.41 1.5 15.48 1 14.47 1H9.54C8.53 1 7.6 1.5 7.04 2.34L6.11 3.73C6 3.9 5.81 4 5.61 4H4C2.35 4 1 5.35 1 7V19C1 20.65 2.35 22 4 22H20C21.65 22 23 20.65 23 19V7C23 5.35 21.65 4 20 4H20.01ZM21.01 19C21.01 19.55 20.56 20 20.01 20H4.01C3.46 20 3.01 19.55 3.01 19V7C3.01 6.45 3.46 6 4.01 6H5.62C6.49 6 7.3 5.56 7.79 4.84L8.72 3.45C8.91 3.17 9.22 3 9.55 3H14.48C14.81 3 15.13 3.17 15.31 3.45L16.24 4.84C16.72 5.56 17.54 6 18.41 6H20.02C20.57 6 21.02 6.45 21.02 7V19H21.01ZM12.01 6C8.7 6 6.01 8.69 6.01 12C6.01 15.31 8.7 18 12.01 18C15.32 18 18.01 15.31 18.01 12C18.01 8.69 15.32 6 12.01 6ZM12.01 16C9.8 16 8.01 14.21 8.01 12C8.01 9.79 9.8 8 12.01 8C14.22 8 16.01 9.79 16.01 12C16.01 14.21 14.22 16 12.01 16ZM13.01 10C13.01 10.55 12.56 11 12.01 11C11.46 11 11.01 11.45 11.01 12C11.01 12.55 10.56 13 10.01 13C9.46 13 9.01 12.55 9.01 12C9.01 10.35 10.36 9 12.01 9C12.56 9 13.01 9.45 13.01 10Z"></path></svg>'},function(e,t){e.exports='<svg viewBox="0 0 32 32" xmlns="http://www.w3.org/2000/svg"><path d="M27 6H23.8C23.34 6 22.92 5.77 22.66 5.39L22.25 4.78C21.51 3.66 20.26 3 18.92 3H13.06C11.72 3 10.48 3.67 9.73 4.78L9.32 5.39C9.07 5.77 8.64 6 8.18 6H4.98C2.79 6 1 7.79 1 10V24C1 26.21 2.79 28 5 28H27C29.21 28 31 26.21 31 24V10C31 7.79 29.21 6 27 6ZM29 24C29 25.1 28.1 26 27 26H5C3.9 26 3 25.1 3 24V10C3 8.9 3.9 8 5 8H8.2C9.33 8 10.38 7.44 11 6.5L11.41 5.89C11.78 5.33 12.41 5 13.07 5H18.93C19.6 5 20.22 5.33 20.59 5.89L21 6.5C21.62 7.44 22.68 8 23.8 8H27C28.1 8 29 8.9 29 10V24ZM16 9C12.13 9 9 12.13 9 16C9 19.87 12.13 23 16 23C19.87 23 23 19.87 23 16C23 12.13 19.87 9 16 9ZM16 21C13.24 21 11 18.76 11 16C11 13.24 13.24 11 16 11C18.76 11 21 13.24 21 16C21 18.76 18.76 21 16 21ZM17 13C17 13.55 16.55 14 16 14C14.9 14 14 14.9 14 16C14 16.55 13.55 17 13 17C12.45 17 12 16.55 12 16C12 13.79 13.79 12 16 12C16.55 12 17 12.45 17 13Z"></path></svg>'},function(e,t){e.exports='<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M22.6 8.6L16.4 2.4C16 2 15.5 1.8 15 1.8C14.5 1.8 14 2 13.6 2.4L1.40005 14.6C0.600049 15.4 0.600049 16.6 1.40005 17.4L6.00005 22H12L22.6 11.4C23.3 10.6 23.3 9.3 22.6 8.6ZM11.1 20H6.80005L2.80005 16L6.2000
vendor: 26,501 bytes, line 11
115 12.6L12.4 18.8L11.1 20ZM13.8 17.4L7.60005 11.2L15 3.8L21.2 10L13.8 17.4ZM16 20H23V22H14L16 20Z"></path></svg>'},function(e,t){e.exports='<svg viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg"><path d="M5.003 14.413L0.292999 9.70303L1.703 8.29303L5.003 11.583L14.293 2.29303L15.703 3.70303L5.003 14.413Z"></path></svg>'},function(e,t){e.exports='<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M9 20.1L1 12L3.1 9.9L9 15.9L20.9 4L23 6.1L9 20.1Z"></path></svg>'},function(e,t){e.exports='<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M12 15L17 10H7L12 15Z"></path></svg>'},function(e,t){e.exports='<svg viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg"><path d="M5.64648 12.6465L6.34648 13.3465L11.7465 8.04648L6.34648 2.64648L5.64648 3.34648L10.2465 8.04648L5.64648 12.6465Z"></path></svg>'},function(e,t){e.exports='<svg viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg"><path d="M13.35 3.34999L12.65 2.64999L8.05002 7.24999L3.35002 2.64999L2.65002 3.34999L7.25002 8.04999L2.65002 12.65L3.35002 13.35L8.05002 8.74999L12.65 13.35L13.35 12.65L8.75002 8.04999L13.35 3.34999Z"></path></svg>'},function(e,t){e.exports='<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M22.6 8.6L16.4 2.4C16 2 15.5 1.8 15 1.8C14.5 1.8 14 2 13.6 2.4L1.40005 14.6C0.600049 15.4 0.600049 16.6 1.40005 17.4L6.00005 22H12L22.6 11.4C23.3 10.6 23.3 9.3 22.6 8.6ZM11.1 20H6.80005L2.80005 16L6.20005 12.6L12.4 18.8L11.1 20ZM13.8 17.4L7.60005 11.2L15 3.8L21.2 10L13.8 17.4ZM16 20H23V22H14L16 20Z"></path></svg>'},function(e,t){e.exports='<svg viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg"><path d="M9.43 8.0025L13.7 3.7225C14.09 3.3325 14.09 2.6925 13.7 2.2925C13.31 1.9025 12.67 1.9025 12.27 2.2925L7.99 6.5725L3.72 2.3025C3.33 1.9025 2.69 1.9025 2.3 2.3025C1.9 2.6925 1.9 3.3325 2.3 3.7225L6.58 8.0025L2.3 12.2825C1.91 12.6725 1.91 13.3125 2.3 13.7125C2.69 14.1025 3.33 14.1025 3.73 13.7125L8.01 9.4325L12.29 13.7125C12.68 14.1025 13.32 14.1025 13.72 13.7125C14.11 13.3225 14.11 12.6825 13.72 12.2825L9.44 8.0025H9.43Z"></path></svg>'},function(e,t){e.exports='<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M13.4101 12L20.7001 4.71C21.0901 4.32 21.0901 3.69 20.7001 3.3C20.3101 2.91 19.6801 2.91 19.2901 3.3L12.0001 10.59L4.71006 3.29C4.32006 2.9 3.68006 2.9 3.29006 3.29C2.90006 3.68 2.90006 4.32 3.29006 4.71L10.5801 12L3.29006 19.29C2.90006 19.68 2.90006 20.31 3.29006 20.7C3.49006 20.9 3.74006 20.99 4.00006 20.99C4.26006 20.99 4.51006 20.89 4.71006 20.7L12.0001 13.41L19.2901 20.7C19.4901 20.9 19.7401 20.99 20.0001 20.99C20.2601 20.99 20.5101 20.89 20.7101 20.7C21.1001 20.31 21.1001 19.68 20.7101 19.29L13.4201 12H13.4101Z"></path></svg>'},function(e,t){e.exports='<svg viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg"><path d="M2 6L3 5L8 10L13 5L14 6L8 12L2 6Z"></path></svg>'},function(e,t){e.exports='<svg viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg"><path d="M13 7H3V9H13V7Z"></path></svg>'},function(e,t){e.exports='<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M22 4H20H16V2C16 0.9 15.1 0 14 0H10C8.9 0 8 0.9 8 2V4H4H2V6H4V20C4 21.1 4.9 22 6 22H18C19.1 22 20 21.1 20 20V6H22V4ZM10 2H14V4H10V2ZM18 20H6V6H8H16H18V20ZM14 8H16V18H14V8ZM11 8H13V18H11V8ZM8 8H10V18H8V8Z"></path></svg>'},function(e,t){e.exports='<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M13 6C13 4.9 13.9 4 15 4C16.1 4 17 4.9 17 6C17 7.1 16.1 8 15 8C13.9 8 13 7.1 13 6ZM9 4C7.9 4 7 4.9 7 6C7 7.1 7.9 8 9 8C10.1 8 11 7.1 11 6C11 4.9 10.1 4 9 4ZM15 10C13.9 10 13 10.9 13 12C13 13.1 13.9 14 15 14C16.1 14 17 13.1 17 12C17 10.9 16.1 10 15 10ZM9 10C7.9 10 7 10.9 7 12C7 13.1 7.9 14 9 14C10.1 14 11 13.1 11 12C11 10.9 10.1 10 9 10ZM15 16C13.9 16 13 16.9 13 18C13 19.1 13.9 20 15 20C16.1 20 17 19.1 17 18C17 16.9 16.1 16 15 16ZM9 16C7.9 16 7 16.9 7 18C7 19.1 7.9 20 9 20C10.1 20 11 19.1 11 18C11 16.9 10.1 16 9 16Z"></path></svg>'},function(e,t){e.exports='<svg viewBox="0 0 24 16" xmlns="http://www.w3.org/2000/svg"><path d="M18 9C19.1 9 20 9.9 20 11C20 12.1 19.1 13 18 13C16.9 13 16 12.1 16 11C16 9.9 16.9 9 18 9ZM20 5C20 3.9 19.1 3 18 3C16.9 3 16 3.9 16 5C16 6.1 16.9 7 18 7C19.1 7 20 6.1 20 5ZM14 11C14 9.9 13.1 9 12 9C10.9 9 10 9.9 10 11C10 12.1 10.9 13 12 13C13.1 13 14 12.1 14 11ZM14 5C14 3.9 13.1 3 12 3C10.9 3 10 3.9 10 5C10 6.1 10.9 7 12 7C13.1 7 14 6.1 14 5ZM8 11C8 9.9 7.1 9 6 9C4.9 9 4 9.9 4 11C4 12.1 4.9 13 6 13C7.1 13 8 12.1 8 11ZM8 5C8 3.9 7.1 3 6 3C4.9 3 4 3.9 4 5C4 6.1 4.9 7 6 7C7.1 7 8 6.1 8 5Z"></path></svg>'},function(e,t){e.exports='<svg viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg"><path d="M6 14L5 13L10 8L5 3L6 2L12 8L6 14Z"></path></svg>'},function(e,t){e.exports='<svg viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg"><path d="M13 7H9V3H7V7H3V9H7V13H9V9H13V7Z"></path></svg>'},function(e,t){e.exports='<svg viewBox="0 0 72 72" xmlns="http://www.w3.org/2000/svg"><path d="M62.83 12.83L53.17 3.17C52.7982 2.79866 52.357 2.50421 51.8714 2.30346C51.3858 2.1027 50.8654 1.99959 50.34 2H14C12.4087 2 10.8826 2.63214 9.75735 3.75736C8.63214 4.88258 8 6.4087 8 8V64C8 65.5913 8.63214 67.1174 9.75735 68.2426C10.8826 69.3679 12.4087 70 14 70H58C59.5913 70 61.1174 69.3679 62.2426 68.2426C63.3679 67.1174 64 65.5913 64 64V15.66C64.0004 15.1346 63.8973 14.6142 63.6965 14.1286C63.4958 13.643 63.2013 13.2018 62.83 12.83ZM52 4.83L61.17 14H56C54.9391 14 53.9217 13.5786 53.1716 12.8284C52.4214 12.0783 52 11.0609 52 10V4.83ZM62 64C62 65.0609 61.5786 66.0783 60.8284 66.8284C60.0783 67.5786 59.0609 68 58 68H14C12.9391 68 11.9217 67.5786 11.1716 66.8284C10.4214 66.0783 10 65.0609 10 64V8C10 6.93914 10.4214 5.92172 11.1716 5.17157C11.9217 4.42143 12.9391 4 14 4H50V10C50 11.5913 50.6321 13.1174 51.7574 14.2426C52.8826 15.3679 54.4087 16 56 16H62V64ZM22 26H50V28H22V26ZM22 32H50V34H22V32ZM22 38H50V40H22V38ZM22 44H50V46H22V44Z"></path></svg>'},function(e,t){e.exports='<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M23 12.0037C23 14.2445 21.7794 16.3052 19.5684 17.8257C19.3984 17.9458 19.1983 18.0058 19.0082 18.0058C18.688 18.0058 18.3779 17.8557 18.1778 17.5756C17.8677 17.1155 17.9777 16.4953 18.4379 16.1852C20.0887 15.0448 21.0091 13.5643 21.0091 12.0138C21.0091 8.70262 16.9673 6.01171 12.005 6.01171C11.4948 6.01171 10.9945 6.04172 10.5043 6.09173L11.7149 7.30215C12.105 7.69228 12.105 8.32249 11.7149 8.71263C11.5148 8.9127 11.2647 9.00273 11.0045 9.00273C10.7444 9.00273 10.4943 8.90269 10.2942 8.71263L6.58254 5.00136L10.2842 1.2901C10.6744 0.899964 11.3047 0.899964 11.6949 1.2901C12.085 1.68023 12.085 2.31045 11.6949 2.70058L10.3042 4.09105C10.8545 4.03103 11.4147 4.00102 11.985 4.00102C18.0578 4.00102 22.99 7.59225 22.99 12.0037H23ZM12.2851 15.2949C11.895 15.685 11.895 16.3152 12.2851 16.7054L13.4957 17.9158C13.0055 17.9758 12.4952 17.9958 11.995 17.9958C7.03274 17.9958 2.99091 15.3049 2.99091 11.9937C2.99091 10.4332 3.90132 8.95271 5.56207 7.82232C6.02228 7.51222 6.13233 6.89201 5.82219 6.43185C5.51205 5.97169 4.89177 5.86166 4.43156 6.17176C2.22055 7.69228 1 9.76299 1 11.9937C1 16.4052 5.93224 19.9965 12.005 19.9965C12.5753 19.9965 13.1355 19.9665 13.6858 19.9064L12.2951 21.2969C11.905 21.6871 11.905 22.3173 12.2951 22.7074C12.4952 22.9075 12.7453 22.9975 13.0055 22.9975C13.2656 22.9975 13.5157 22.8975 13.7158 22.7074L17.4275 18.9961L13.7158 15.2849C13.3256 14.8947 12.6953 14.8947 12.3051 15.2849L12.2851 15.2949Z"></path></svg>'},function(e,t){e.exports='<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M21.93 9H21V7C21 6.46957 20.7893 5.96086 20.4142 5.58579C20.0391 5.21071 19.5304 5 19 5H10L8 3H4C3.46957 3 2.96086 3.21071 2.58579 3.58579C2.21071 3.96086 2 4.46957 2 5L2 21H21L23.89 11.63C23.9916 11.3244 24.0179 10.9988 23.9667 10.6809C23.9155 10.363 23.7882 10.0621 23.5958 9.80392C23.4034 9.54571 23.1514 9.33779 22.8614 9.19782C22.5714 9.05786 22.2519 8.99 21.93 9ZM4 5H7.17L8.59 6.41L9.17 7H19V9H6L4 15V5ZM22 11L19.54 19H4.77L7.44 11H22Z"></path></svg>'},function(e,t){e.exports='<svg viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg"><path d="M12 13H4C2.9 13 2 12.1 2 11V5C2 3.9 2.9 3 4 3H12C13.1 3 14 3.9 14 5V11C14 12.1 13.1 13 12 13ZM4 5V11H12V5H4Z"></path></svg>'},function(e,t){e.exports='<svg viewBox="0 0 48 48" xmlns="http://www.w3.org/2000/svg"><path d="M36 8H12C9.79 8 8 9.79 8 12V36C8 38.21 9.79 40 12 40H36C38.21 40 40 38.21 40 36V12C40 9.79 38.21 8 36 8ZM38 36C38 37.1 37.1 38 36 38H12C10.9 38 10 37.1 10 36V12C10 10.9 10.9 10 12 10H36C37.1 10 38 10.9 38 12V36ZM14 17C14 15.34 15.34 14 17 14C18.66 14 20 15.34 20 17C20 18.66 18.66 20 17 20C15.34 20 14 18.66 14 17ZM27 24L36 36H12L19 27L23 29L27 24Z"></path></svg>'},function(e,t){e.exports='<svg viewBox="0 0 48 48" fill="none" xmlns="http://www.w3.org/2000/svg"><g clip-path="url(#clip0_19679_369428)"><path opacity="0.1" d="M24 40C15.18 40 8 32.82 8 24C8 15.18 15.18 8 24 8C32.82 8 40 15.18 40 24C40 32.82 32.82 40 24 40ZM24 12C17.38 12 12 17.38 12 24C12 30.62 17.38 36 24 36C30.62 36 36 30.62 36 24C36 17.38 30.62 12 24 12Z" fill="black" fill-opacity="0.91"></path><path d="M10 26C8.9 26 8 25.1 8 24C8 15.18 15.18 8 24 8C25.1 8 26 8.9 26 10C26 11.1 25.1 12 24 12C17.38 12 12 17.38 12 24C12 25.1 11.1 26 10 26Z" fill="#19B394"></path></g><defs><clipPath id="clip0_19679_369428"><rect width="32" height="32" fill="white" transform="translate(8 8)"></rect></clipPath></defs></svg>'},function(e,t){e.exports='<svg viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg"><path d="M6.71 10.71L4.42 13H6.01C6.56 13 7.01 13.45 7.01 14C7.01 14.55 6.56 15 6.01 15H2C1.45 15 1 14.55 1 14V10C1 9.45 1.45 9 2 9C2.55 9 3 9.45 3 10V11.59L5.29 9.3C5.68 8.91 6.31 8.91 6.7 9.3C7.09 9.69 7.09 10.32 6.7 10.71H6.71ZM14 1H10C9.45 1 9 1.45 9 2C9 2.55 9.45 3 10 3H11.59L9.3 5.29C8.91 5.68 8.91 6.31 9.3 6.7C9.5 6.9 9.75 6.99 10.01 6.99C10.27 6.99 10.52 6.89 10.72 6.7L13.01 4.41V6C13.01 6.55 13.46 7 14.01 7C14.56 7 15.01 6.55 15.01 6V2C15.01 1.45 14.56 1 14.01 1H14Z"></path></svg>'},function(e,t){e.exports='<svg viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg"><path d="M13 9H3C2.45 9 2 8.55 2 8C2 7.45 2.45 7 3 7H13C13.55 7 14 7.45 14 8C14 8.55 13.55 9 13 9Z"></path></svg>'},function(e,t){e.exports='<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M6 12C6 13.1 5.1 14 4 14C2.9 14 2 13.1 2 12C2 10.9 2.9 10 4 10C5.1 10 6 10.9 6 12ZM12 10C10.9 10 10 10.9 10 12C10 13.1 10.9 14 12 14C13.1 14 14 13.1 14 12C14 10.9 13.1 10 12 10ZM20 10C18.9 10 18 10.9 18 12C18 13.1 18.9 14 20 14C21.1 14 22 13.1 22 12C22 10.9 21.1 10 20 10Z"></path></svg>'},function(e,t){e.exports='<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M16 7H2V5H16V7ZM2 11V13H22V11H2ZM2 19H10V17H2V19Z"></path></svg>'},function(e,t){e.exports='<svg viewBox="0 0 48 48" xmlns="http://www.w3.org/2000/svg"><path d="M14 17.01C14 16.4167 14.1759 15.8366 14.5056 15.3433C14.8352 14.8499 15.3038 14.4654 15.8519 14.2384C16.4001 14.0113 17.0033 13.9519 17.5853 14.0676C18.1672 14.1834 18.7018 14.4691 19.1213 14.8887C19.5409 15.3082 19.8266 15.8428 19.9424 16.4247C20.0581 17.0067 19.9987 17.6099 19.7716 18.1581C19.5446 18.7062 19.1601 19.1748 18.6667 19.5044C18.1734 19.8341 17.5933 20.01 17 20.01C16.2044 20.01 15.4413 19.6939 14.8787 19.1313C14.3161 18.5687 14 17.8056 14 17.01ZM27.09 24.14L20 36.01H36L27.09 24.14ZM36.72 8.14L35.57 10.01H36C36.5304 10.01 37.0391 10.2207 37.4142 10.5958C37.7893 10.9709 38 11.4796 38 12.01V36.01C38 36.5404 37.7893 37.0491 37.4142 37.4242C37.0391 37.7993 36.5304 38.01 36 38.01H18.77L17.57 40.01H36C37.0609 40.01 38.0783 39.5886 38.8284 38.8384C39.5786 38.0883 40 37.0709 40 36.01V12.01C39.9966 11.0765 39.6668 10.1737 39.0678 9.45778C38.4688 8.74188 37.6382 8.25802 36.72 8.09V8.14ZM36.86 4.5L12.86 44.5L11.14 43.5L13.23 40.01H12C10.9391 40.01 9.92172 39.5886 9.17157 38.8384C8.42143 38.0883 8 37.0709 8 36.01V12.01C8 10.9491 8.42143 9.93172 9.17157 9.18157C9.92172 8.43143 10.9391 8.01 12 8.01H32.43L35.14 3.5L36.86 4.5ZM14.43 38.01L15.63 36.01H12L19 27.01L20.56 27.8L31.23 10.01H12C11.4696 10.01 10.9609 10.2207 10.5858 10.5958C10.2107 10.9709 10 11.4796 10 12.01V36.01C10 36.5404 10.2107 37.0491 10.5858 37.4242C10.9609 37.7993 11.4696 38.01 12 38.01H14.43Z"></path></svg>'},function(e,t){e.exports='<svg viewBox="0 0 10 24" xmlns="http://www.w3.org/2000/svg"><path d="M10 5L5 0L0 5H4V9H6V5H10Z"></path><path d="M6 19V15H4V19H0L5 24L10 19H6Z"></path></svg>'},function(e,t){e.exports='<svg viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg"><path d="M13 7H3V9H13V7Z"></path></svg>'},function(e,t){e.exports='<svg viewBox="0 0 48 48" xmlns="http://www.w3.org/2000/svg"><path d="M24 39.5057L11.7226 45.9839C10.4095 46.6739 8.87606 45.5622 9.12525 44.096L11.4734 30.373L1.54411 20.6556C0.480254 19.6207 1.06489 17.8095 2.53128 17.5986L16.2559 15.5957L22.3994 3.10891C23.0512 1.77685 24.9488 1.77685 25.6102 3.10891L31.7441 15.5957L45.4687 17.5986C46.9351 17.8095 47.5197 19.6207 46.4559 20.6556L36.5266 30.373L38.8748 44.096C39.1239 45.5622 37.5905 46.6835 36.2774 45.9839L24 39.5057Z" fill="none" stroke-width="2"></path><path d="M24.3981 33.1305L24 32.9206L23.6019 33.1305L15.8715 37.2059L17.3542 28.5663L17.43 28.1246L17.1095 27.8113L10.83 21.6746L19.4965 20.4049L19.9405 20.3399L20.1387 19.9373L24 12.0936L27.8613 19.9373L28.0595 20.3399L28.5035 20.4049L37.17 21.6746L30.8905 27.8113L30.57 28.1246L30.6458 28.5663L32.1285 37.2059L24.3981 33.1305Z" stroke-width="1.70746"></path></svg>'},function(e,t){e.exports='<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M12 19.3373L6.13001 22.4373C5.50001 22.7673 4.77001 22.2373 4.89001 21.5373L6.01001 14.9773L1.26001 10.3273C0.750007 9.83728 1.03001 8.96728 1.73001 8.86728L8.29001 7.90728L11.23 1.93728C11.54 1.29728 12.45 1.29728 12.77 1.93728L15.7 7.90728L22.26 8.86728C22.96 8.96728 23.24 9.83728 22.73 10.3273L17.98 14.9773L19.1 21.5373C19.22 22.2373 18.49 22.7773 17.86 22.4373L11.99 19.3373H12Z" fill="none" stroke-width="2"></path><path d="M12 15.9472L8.58001 17.7572L9.23001 13.9272L6.45001 11.2072L10.29 10.6472L12 7.17725L13.71 10.6472L17.55 11.2072L14.77 13.9272L15.42 17.7572L12 15.9472Z"></path></svg>'},function(e,t){e.exports='<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><g><path d="M12 19.3373L6.13001 22.4373C5.50001 22.7673 4.77001 22.2373 4.89001 21.5373L6.01001 14.9773L1.26001 10.3273C0.750007 9.83728 1.03001 8.96728 1.73001 8.86728L8.29001 7.90728L11.23 1.93728C11.54 1.29728 12.45 1.29728 12.77 1.93728L15.7 7.90728L22.26 8.86728C22.96 8.96728 23.24 9.83728 22.73 10.3273L17.98 14.9773L19.1 21.5373C19.22 22.2373 18.49 22.7773 17.86 22.4373L11.99 19.3373H12Z"></path></g></svg>'},function(e,t){e.exports='<svg viewBox="0 0 48 48" xmlns="http://www.w3.org/2000/svg"><g><path d="M24 39.5057L11.7226 45.9839C10.4095 46.6739 8.87606 45.5622 9.12525 44.096L11.4734 30.373L1.54411 20.6556C0.480254 19.6207 1.06489 17.8095 2.53128 17.5986L16.2559 15.5957L22.3994 3.10891C23.0512 1.77685 24.9488 1.77685 25.6102 3.10891L31.7441 15.5957L45.4687 17.5986C46.9351 17.8095 47.5197 19.6207 46.4559 20.6556L36.5266 30.373L38.8748 44.096C39.1239 45.5622 37.5905 46.6835 36.2774 45.9839L24 39.5057Z"></path></g></svg>'},function(e,t){e.exports='<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M17 5L12 0L7 5H11V9H13V5H17Z"></path><path d="M13 19V15H11V19H7L12 24L17 19H13Z"></path></svg>'},function(e,t){e.exports='<svg viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg"><path d="M15 6C15 6.55 14.55 7 14 7H10C9.45 7 9 6.55 9 6V2C9 1.45 9.45 1 10 1C10.55 1 11 1.45 11 2V3.59L13.29 1.29C13.49 1.09 13.74 1 14 1C14.26 1 14.51 1.1 14.71 1.29C15.1 1.68 15.1 2.31 14.71 2.7L12.42 4.99H14.01C14.56 4.99 15.01 5.44 15.01 5.99L15 6ZM6 9H2C1.45 9 0.999998 9.45 0.999998 10C0.999998 10.55 1.45 11 2 11H3.59L1.29 13.29C0.899998 13.68 0.899998 14.31 1.29 14.7C1.68 15.09 2.31 15.09 2.7 14.7L4.99 12.41V14C4.99 14.55 5.44 15 5.99 15C6.54 15 6.99 14.55 6.99 14V10C6.99 9.45 6.54 9 5.99 9H6Z"></path></svg>'},function(e,t){e.exports='<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M14 2C9.6 2 6 5.6 6 10C6 11.8 6.6 13.5 7.7 14.9L2.3 20.3C1.9 20.7 1.9 21.3 2.3 21.7C2.5 21.9 2.7 22 3 22C3.3 22 3.5 21.9 3.7 21.7L9.1 16.3C10.5 17.4 12.2 18 14 18C18.4 18 22 14.4 22 10C22 5.6 18.4 2 14 2ZM14 16C10.7 16 8 13.3 8 10C8 6.7 10.7 4 14 4C17.3 4 20 6.7 20 10C20 13.3 17.3 16 14 16Z"></path></svg>'},function(e,t){e.exports='<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M4 4.9938C4 4.44362 4.45 3.99348 5 3.99348H6.59L5.3 2.70306C4.91 2.31293 4.91 1.68272 5.3 1.2926C5.69 0.902468 6.32 0.902468 6.71 1.2926L9.71 4.29357C9.8 4.3836 9.88 4.49364 9.93 4.62368C10.03 4.86376 10.03 5.14385 9.93 5.38393C9.88 5.50397 9.81 5.614 9.71 5.71404L6.71 8.71501C6.51 8.91508 6.26 9.00511 6 9.00511C5.74 9.00511 5.49 8.90508 5.29 8.71501C4.9 8.32489 4.9 7.69468 5.29 7.30456L6.58 6.01413H4.99C4.44 6.01413 3.99 5.56399 3.99 5.01381L4 4.9938ZM14.08 5.37393C14.13 5.49397 14.2 5.604 14.3 5.70403L17.3 8.70501C17.5 8.90508 17.75 8.99511 18.01 8.99511C18.27 8.99511 18.52 8.89507 18.72 8.70501C19.11 8.31488 19.11 7.68468 18.72 7.29455L17.43 6.00413H19.02C19.57 6.00413 20.02 5.55399 20.02 5.00381C20.02 4.45363 19.57 4.00348 19.02 4.00348H17.43L18.72 2.71306C19.11 2.32293 19.11 1.69273 18.72 1.3026C18.33 0.912471 17.7 0.912471 17.31 1.3026L14.31 4.30358C14.22 4.39361 14.14 4.50364 14.09 4.63368C13.99 4.87376 13.99 5.15385 14.09 5.39393L14.08 5.37393ZM22 14.9971V20.999C22 22.6496 20.65 24 19 24H5C3.35 24 2 22.6496 2 20.999V14.9971C2 13.3465 3.35 11.9961 5 11.9961H19C20.65 11.9961 22 13.3465 22 14.9971ZM19 13.9967H16V16.9977H20V14.9971C20 14.4469 19.55 13.9967 19 13.9967ZM14 16.9977V13.9967H10V16.9977H14ZM10 18.9984V21.9993H14V18.9984H10ZM4 14.9971V16.9977H8V13.9967H5C4.45 13.9967 4 14.4469 4 14.9971ZM5 21.9993H8V18.9984H4V20.999C4 21.5492 4.45 21.9993 5 21.9993ZM20 20.999V18.9984H16V21.9993H19C19.55 21.9993 20 21.5492 20 20.999Z"></path></svg>'},function(e,t){e.exports='<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M12.01 23C6.85721 23 1.15412 19.9621 0.0134987 13.1669C-0.0765501 12.6272 0.293651 12.1076 0.833944 12.0177C1.38424 11.9277 1.89452 12.2975 1.98457 12.8371C2.92508 18.4732 7.69767 20.9914 12 20.9914C16.3023 20.9914 21.0749 18.4732 22.0154 12.8371C22.1055 12.2975 22.6158 11.9277 23.1661 12.0177C23.7063 12.1076 24.0765 12.6272 23.9865 13.1669C22.8559 19.9521 17.1428 23 11.99 23H12.01ZM21.165 6.15177C22.3056 5.01257 22.3056 3.16386 21.165 2.02465L21.0049 1.85477C19.9143 0.765533 18.1633 0.725561 17.0227 1.71487C15.8821 0.715568 14.1312 0.765533 13.0406 1.85477L12.8705 2.01466C11.7299 3.15386 11.7299 5.00257 12.8705 6.14178L17.0227 10.2889L21.175 6.14178L21.165 6.15177ZM15.742 3.27378L17.0127 4.54289L18.2834 3.27378C18.6436 2.91403 19.2239 2.91403 19.5841 3.27378L19.7442 3.43367C20.1044 3.79342 20.1044 4.37301 19.7442 4.73276L17.0127 7.46086L14.2812 4.73276C13.921 4.37301 13.921 3.79342 14.2812 3.43367L14.4413 3.27378C14.6214 3.09391 14.8515 3.00397 15.0917 3.00397C15.3318 3.00397 15.5619 3.09391 15.742 3.27378ZM11.1595 6.15177C12.3002 5.01257 12.3002 3.16386 11.1595 2.02465L10.9995 1.85477C9.90886 0.765533 8.15792 0.725561 7.0173 1.71487C5.87668 0.715568 4.12573 0.765533 3.03514 1.85477L2.86505 2.01466C1.72443 3.15386 1.72443 5.00257 2.86505 6.14178L7.0173 10.2889L11.1695 6.14178L11.1595 6.15177ZM5.7366 3.27378L7.00729 4.54289L8.27798 3.27378C8.63818 2.91403 9.21849 2.91403 9.57869 3.27378L9.73877 3.43367C10.099 3.79342 10.099 4.37301 9.73877 4.73276L7.00729 7.46086L4.27581 4.73276C3.91562 4.37301 3.91562 3.79342 4.27581 3.43367L4.4359 3.27378C4.61599 3.09391 4.84612 3.00397 5.08625 3.00397C5.32638 3.00397 5.5565 3.09391 5.7366 3.27378Z"></path></svg>'},function(e,t){e.exports='<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><g clip-path="url(#clip0_15894_140103)"><path d="M4.88291 4.51001C4.47291 4.51001 4.08291 4.25001 3.94291 3.84001C3.76291 3.32001 4.03291 2.75001 4.55291 2.57001L8.32291 1.25001C8.84291 1.06001 9.41291 1.34001 9.59291 1.86001C9.77291 2.38001 9.50291 2.95001 8.98291 3.13001L5.20291 4.45001C5.09291 4.49001 4.98291 4.51001 4.87291 4.51001H4.88291ZM19.8129 3.89001C20.0229 3.38001 19.7729 2.79001 19.2629 2.59001L15.5529 1.07001C15.0429 0.860007 14.4529 1.11001 14.2529 1.62001C14.0429 2.13001 14.2929 2.72001 14.8029 2.92001L18.5029 4.43001C18.6229 4.48001 18.7529 4.50001 18.8829 4.50001C19.2729 4.50001 19.6529 4.27001 19.8129 3.88001V3.89001ZM3.50291 6.00001C2.64291 6.37001 1.79291 6.88001 1.00291 7.48001C0.79291 7.64001 0.64291 7.87001 0.59291 8.14001C0.48291 8.73001 0.87291 9.29001 1.45291 9.40001C2.04291 9.51001 2.60291 9.12001 2.71291 8.54001C2.87291 7.69001 3.12291 6.83001 3.50291 5.99001V6.00001ZM21.0429 8.55001C21.6029 10.48 24.2429 8.84001 22.7529 7.48001C21.9629 6.88001 21.1129 6.37001 20.2529 6.00001C20.6329 6.84001 20.8829 7.70001 21.0429 8.55001ZM21.5729 13.2C21.2529 14.2 22.5429 15.09 23.3629 14.39C23.8529 14 23.9229 13.29 23.5429 12.81C21.7429 10.67 22.1329 10.55 21.5829 13.2H21.5729ZM1.75291 11C1.22291 11.79 -0.14709 12.64 0.0129102 13.75C0.15291 14.36 0.75291 14.74 1.35291 14.6C2.98291 14.1 1.80291 12.22 1.75291 11ZM19.8829 17C19.8829 13.14 16.2929 10 11.8829 10C7.47291 10 3.88291 13.14 3.88291 17C3.88291 20.86 7.47291 24 11.8829 24C16.2929 24 19.8829 20.86 19.8829 17ZM17.8829 17C17.8829 19.76 15.1929 22 11.8829 22C8.57291 22 5.88291 19.76 5.88291 17C5.88291 14.24 8.57291 12 11.8829 12C15.1929 12 17.8829 14.24 17.8829 17Z"></path></g><defs><clipPath id="clip0_15894_140103"><rect width="24" height="24" fill="white"></rect></clipPath></defs></svg>'},function(e,t){e.exports='<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M7.01915 7C6.46961 7 6.01998 6.55 6.01998 6V2C6.01998 1.45 6.46961 1 7.01915 1C7.56869 1 8.01832 1.45 8.01832 2V6C8.01832 6.55 7.56869 7 7.01915 7ZM18.01 6V2C18.01 1.45 17.5604 1 17.0108 1C16.4613 1 16.0117 1.45 16.0117 2V6C16.0117 6.55 16.4613 7 17.0108 7C17.5604 7 18.01 6.55 18.01 6ZM16.4213 21.58L18.01 19.99L19.2989 21.28C19.6886 21.67 20.3181 21.67 20.7077 21.28C21.0974 20.89 21.0974 20.26 20.7077 19.87L19.4188 18.58C18.6395 17.8 17.3705 17.8 16.5912 18.58L15.0025 20.17L13.4138 18.58C12.6345 17.8 11.3655 17.8 10.5862 18.58L8.9975 20.17L7.40883 18.58C6.62948 17.8 5.36053 17.8 4.58118 18.58L3.29226 19.87C2.90258 20.26 2.90258 20.89 3.29226 21.28C3.68193 21.67 4.31141 21.67 4.70108 21.28L5.99001 19.99L7.57868 21.58C8.35803 22.36 9.62698 22.36 10.4063 21.58L11.995 19.99L13.5837 21.58C13.9734 21.97 14.4829 22.16 14.9925 22.16C15.5021 22.16 16.0117 21.97 16.4013 21.58H16.4213Z"></path></svg>'},function(e,t){e.exports='<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M7.06927 7C6.51927 7 6.06927 6.55 6.06927 6V2C6.06927 1.45 6.51927 1 7.06927 1C7.61927 1 8.06927 1.45 8.06927 2V6C8.06927 6.55 7.61927 7 7.06927 7ZM18.0693 6V2C18.0693 1.45 17.6193 1 17.0693 1C16.5193 1 16.0693 1.45 16.0693 2V6C16.0693 6.55 16.5193 7 17.0693 7C17.6193 7 18.0693 6.55 18.0693 6ZM22.5693 21.9C23.0693 21.66 23.2793 21.07 23.0393 20.57C21.1093 16.52 16.9093 14 12.0693 14C7.22927 14 3.02927 16.52 1.09927 20.57C0.859273 21.07 1.06927 21.67 1.56927 21.9C2.06927 22.14 2.65927 21.93 2.89927 21.43C4.49927 18.08 8.00927 16 12.0593 16C16.1093 16 19.6293 18.08 21.2193 21.43C21.3893 21.79 21.7493 22 22.1193 22C22.2593 22 22.4093 21.97 22.5493 21.9H22.5693Z"></path></svg>'},function(e,t){e.exports='<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M7.00572 7C6.45572 7 6.00572 6.55 6.00572 6V2C6.00572 1.45 6.45572 1 7.00572 1C7.55572 1 8.00572 1.45 8.00572 2V6C8.00572 6.55 7.55572 7 7.00572 7ZM18.0057 6V2C18.0057 1.45 17.5557 1 17.0057 1C16.4557 1 16.0057 1.45 16.0057 2V6C16.0057 6.55 16.4557 7 17.0057 7C17.5557 7 18.0057 6.55 18.0057 6ZM19.9457 21.33C20.1257 20.81 19.8557 20.24 19.3357 20.05C14.5457 18.35 9.45572 18.35 4.66572 20.05C4.14572 20.23 3.87572 20.81 4.05572 21.33C4.23572 21.85 4.80572 22.12 5.33572 21.94C9.69572 20.4 14.3057 20.4 18.6657 21.94C18.7757 21.98 18.8857 22 18.9957 22C19.4057 22 19.7957 21.74 19.9357 21.33H19.9457Z"></path></svg>'},function(e,t){e.exports='<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M7 7C6.45 7 6 6.55 6 6V2C6 1.45 6.45 1 7 1C7.55 1 8 1.45 8 2V6C8 6.55 7.55 7 7 7ZM18 6V2C18 1.45 17.55 1 17 1C16.45 1 16 1.45 16 2V6C16 6.55 16.45 7 17 7C17.55 7 18 6.55 18 6ZM21 21C21 20.45 20.55 20 20 20H4C3.45 20 3 20.45 3 21C3 21.55 3.45 22 4 22H20C20.55 22 21 21.55 21 21Z"></path></svg>'},function(e,t){e.exports='<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M12.0022 23.99C11.452 23.99 11.0018 23.5402 11.0018 22.9904C11.0018 22.4407 11.452 21.9909 12.0022 21.9909C16.3137 21.9909 21.0755 19.472 22.0158 13.8344C22.1058 13.2947 22.616 12.9248 23.1662 13.0148C23.7064 13.1047 24.0765 13.6245 23.9865 14.1643C22.8561 20.9513 17.144 24 11.9922 24L12.0022 23.99ZM8.00072 5.99783V1.99957C8.00072 1.4498 7.55056 1 7.00036 1C6.45016 1 6 1.4498 6 1.99957V5.99783C6 6.54759 6.45016 6.99739 7.00036 6.99739C7.55056 6.99739 8.00072 6.54759 8.00072 5.99783ZM18.0043 5.99783V1.99957C18.0043 1.4498 17.5542 1 17.004 1C16.4538 1 16.0036 1.4498 16.0036 1.99957V5.99783C16.0036 6.54759 16.4538 6.99739 17.004 6.99739C17.5542 6.99739 18.0043 6.54759 18.0043 5.99783Z"></path></svg>'},function(e,t){e.exports='<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M12.01 24C6.85721 24 1.15412 20.96 0.0134987 14.16C-0.0765501 13.62 0.293651 13.1 0.833944 13.01C1.38424 12.92 1.89452 13.29 1.98457 13.83C2.92508 19.47 7.69767 21.99 12 21.99C16.3023 21.99 21.0749 19.47 22.0154 13.83C22.1055 13.29 22.6158 12.92 23.1661 13.01C23.7063 13.1 24.0765 13.62 23.9865 14.16C22.8559 20.95 17.1428 24 11.99 24H12.01ZM8.00783 6V2C8.00783 1.45 7.55759 1 7.00729 1C6.45699 1 6.00675 1.45 6.00675 2V6C6.00675 6.55 6.45699 7 7.00729 7C7.55759 7 8.00783 6.55 8.00783 6ZM18.0133 6V2C18.0133 1.45 17.563 1 17.0127 1C16.4624 1 16.0122 1.45 16.0122 2V6C16.0122 6.55 16.4624 7 17.0127 7C17.563 7 18.0133 6.55 18.0133 6Z"></path></svg>'},function(e,t){e.exports='<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M12.01 24C6.85767 24 1.15509 20.96 0.0145752 14.16C-0.0354475 13.87 0.0445888 13.57 0.234675 13.35C0.424761 13.13 0.704888 13 0.995019 13H23.005C23.2951 13 23.5752 13.13 23.7653 13.35C23.9554 13.57 24.0354 13.87 23.9854 14.16C22.8549 20.95 17.1423 24 11.99 24H12.01ZM2.25559 15C3.61621 19.82 8.0182 22 12.01 22C16.0018 22 20.4038 19.82 21.7644 15H2.25559ZM8.00819 6V2C8.00819 1.45 7.55799 1 7.00774 1C6.45749 1 6.00729 1.45 6.00
vendor: 15,246 bytes, line 11
11729 2V6C6.00729 6.55 6.45749 7 7.00774 7C7.55799 7 8.00819 6.55 8.00819 6ZM18.0127 6V2C18.0127 1.45 17.5625 1 17.0123 1C16.462 1 16.0118 1.45 16.0118 2V6C16.0118 6.55 16.462 7 17.0123 7C17.5625 7 18.0127 6.55 18.0127 6Z"></path></svg>'},function(e,t,n){var o={"./ModernBooleanCheckChecked.svg":104,"./ModernBooleanCheckInd.svg":105,"./ModernBooleanCheckUnchecked.svg":106,"./ModernCheck.svg":107,"./ModernRadio.svg":108,"./ProgressButton.svg":109,"./RemoveFile.svg":110,"./TimerCircle.svg":111,"./add-24x24.svg":112,"./arrowleft-16x16.svg":113,"./arrowright-16x16.svg":114,"./camera-24x24.svg":115,"./camera-32x32.svg":116,"./cancel-24x24.svg":117,"./check-16x16.svg":118,"./check-24x24.svg":119,"./chevrondown-24x24.svg":120,"./chevronright-16x16.svg":121,"./clear-16x16.svg":122,"./clear-24x24.svg":123,"./close-16x16.svg":124,"./close-24x24.svg":125,"./collapse-16x16.svg":126,"./collapsedetails-16x16.svg":127,"./delete-24x24.svg":128,"./drag-24x24.svg":129,"./draghorizontal-24x16.svg":130,"./expand-16x16.svg":131,"./expanddetails-16x16.svg":132,"./file-72x72.svg":133,"./flip-24x24.svg":134,"./folder-24x24.svg":135,"./fullsize-16x16.svg":136,"./image-48x48.svg":137,"./loading-48x48.svg":138,"./maximize-16x16.svg":139,"./minimize-16x16.svg":140,"./more-24x24.svg":141,"./navmenu-24x24.svg":142,"./noimage-48x48.svg":143,"./ranking-arrows.svg":144,"./rankingundefined-16x16.svg":145,"./rating-star-2.svg":146,"./rating-star-small-2.svg":147,"./rating-star-small.svg":148,"./rating-star.svg":149,"./reorder-24x24.svg":150,"./restoredown-16x16.svg":151,"./search-24x24.svg":152,"./smiley-rate1-24x24.svg":153,"./smiley-rate10-24x24.svg":154,"./smiley-rate2-24x24.svg":155,"./smiley-rate3-24x24.svg":156,"./smiley-rate4-24x24.svg":157,"./smiley-rate5-24x24.svg":158,"./smiley-rate6-24x24.svg":159,"./smiley-rate7-24x24.svg":160,"./smiley-rate8-24x24.svg":161,"./smiley-rate9-24x24.svg":162};function i(e){var t=r(e);return n(t)}function r(e){if(!n.o(o,e)){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return o[e]}i.keys=function(){return Object.keys(o)},i.resolve=r,e.exports=i,i.id=103},function(e,t){e.exports='<svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 24 24"><polygon points="19,10 14,10 14,5 10,5 10,10 5,10 5,14 10,14 10,19 14,19 14,14 19,14 "></polygon></svg>'},function(e,t){e.exports='<svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 24 24"><path d="M22,0H2C0.9,0,0,0.9,0,2v20c0,1.1,0.9,2,2,2h20c1.1,0,2-0.9,2-2V2C24,0.9,23.1,0,22,0z M21,18L6,3h15V18z M3,6l15,15H3V6z"></path></svg>'},function(e,t){e.exports='<svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 24 24"><rect x="5" y="10" width="14" height="4"></rect></svg>'},function(e,t){e.exports='<svg viewBox="0 0 24 24"><path d="M5,13l2-2l3,3l7-7l2,2l-9,9L5,13z"></path></svg>'},function(e,t){e.exports='<svg viewBox="-12 -12 24 24"><circle r="6" cx="0" cy="0"></circle></svg>'},function(e,t){e.exports='<svg viewBox="0 0 10 10"><polygon points="2,2 0,4 5,9 10,4 8,2 5,5 "></polygon></svg>'},function(e,t){e.exports='<svg viewBox="0 0 16 16"><path d="M8,2C4.7,2,2,4.7,2,8s2.7,6,6,6s6-2.7,6-6S11.3,2,8,2z M11,10l-1,1L8,9l-2,2l-1-1l2-2L5,6l1-1l2,2l2-2l1,1L9,8 L11,10z"></path></svg>'},function(e,t){e.exports='<svg xmlns="http://www.w3.org/2000/svg" version="1.1" viewBox="0 0 160 160"><circle cx="80" cy="80" r="70" style="stroke: var(--sd-timer-stroke-background-color); stroke-width: var(--sd-timer-stroke-background-width)" stroke-dasharray="none" stroke-dashoffset="none"></circle><circle cx="80" cy="80" r="70"></circle></svg>'},function(e,t){e.exports='<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M15.75 12C15.75 12.41 15.41 12.75 15 12.75H12.75V15C12.75 15.41 12.41 15.75 12 15.75C11.59 15.75 11.25 15.41 11.25 15V12.75H9C8.59 12.75 8.25 12.41 8.25 12C8.25 11.59 8.59 11.25 9 11.25H11.25V9C11.25 8.59 11.59 8.25 12 8.25C12.41 8.25 12.75 8.59 12.75 9V11.25H15C15.41 11.25 15.75 11.59 15.75 12ZM21.75 12C21.75 17.38 17.38 21.75 12 21.75C6.62 21.75 2.25 17.38 2.25 12C2.25 6.62 6.62 2.25 12 2.25C17.38 2.25 21.75 6.62 21.75 12ZM20.25 12C20.25 7.45 16.55 3.75 12 3.75C7.45 3.75 3.75 7.45 3.75 12C3.75 16.55 7.45 20.25 12 20.25C16.55 20.25 20.25 16.55 20.25 12Z"></path></svg>'},function(e,t){e.exports='<svg viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg"><path d="M14.7475 7.9975C14.7475 8.4075 14.4075 8.7475 13.9975 8.7475H3.8075L7.5275 12.4675C7.8175 12.7575 7.8175 13.2375 7.5275 13.5275C7.3775 13.6775 7.1875 13.7475 6.9975 13.7475C6.8075 13.7475 6.6175 13.6775 6.4675 13.5275L1.4675 8.5275C1.1775 8.2375 1.1775 7.7575 1.4675 7.4675L6.4675 2.4675C6.7575 2.1775 7.2375 2.1775 7.5275 2.4675C7.8175 2.7575 7.8175 3.2375 7.5275 3.5275L3.8075 7.2475H13.9975C14.4075 7.2475 14.7475 7.5875 14.7475 7.9975Z"></path></svg>'},function(e,t){e.exports='<svg viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg"><path d="M14.53 8.5275L9.53 13.5275C9.38 13.6775 9.19 13.7475 9 13.7475C8.81 13.7475 8.62 13.6775 8.47 13.5275C8.18 13.2375 8.18 12.7575 8.47 12.4675L12.19 8.7475H2C1.59 8.7475 1.25 8.4075 1.25 7.9975C1.25 7.5875 1.59 7.2475 2 7.2475H12.19L8.47 3.5275C8.18 3.2375 8.18 2.7575 8.47 2.4675C8.76 2.1775 9.24 2.1775 9.53 2.4675L14.53 7.4675C14.82 7.7575 14.82 8.2375 14.53 8.5275Z"></path></svg>'},function(e,t){e.exports='<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M19.19 4.25H17.12C16.72 4.25 16.35 4.03 16.17 3.67C15.73 2.8 14.86 2.25 13.88 2.25H10.12C9.14 2.25 8.27 2.79 7.83 3.67C7.65 4.03 7.29 4.25 6.88 4.25H4.81C3.4 4.25 2.25 5.4 2.25 6.81V18.19C2.25 19.6 3.4 20.75 4.81 20.75H19.19C20.6 20.75 21.75 19.6 21.75 18.19V6.81C21.75 5.4 20.6 4.25 19.19 4.25ZM20.25 18.19C20.25 18.77 19.78 19.25 19.19 19.25H4.81C4.23 19.25 3.75 18.78 3.75 18.19V6.81C3.75 6.23 4.22 5.75 4.81 5.75H6.88C7.86 5.75 8.73 5.21 9.17 4.33C9.35 3.97 9.71 3.75 10.12 3.75H13.88C14.28 3.75 14.65 3.97 14.83 4.33C15.27 5.2 16.14 5.75 17.12 5.75H19.19C19.77 5.75 20.25 6.22 20.25 6.81V18.19ZM12 6.25C8.83 6.25 6.25 8.83 6.25 12C6.25 15.17 8.83 17.75 12 17.75C15.17 17.75 17.75 15.17 17.75 12C17.75 8.83 15.17 6.25 12 6.25ZM12 16.25C9.66 16.25 7.75 14.34 7.75 12C7.75 9.66 9.66 7.75 12 7.75C14.34 7.75 16.25 9.66 16.25 12C16.25 14.34 14.34 16.25 12 16.25ZM14.75 12C14.75 13.52 13.52 14.75 12 14.75C11.59 14.75 11.25 14.41 11.25 14C11.25 13.59 11.59 13.25 12 13.25C12.69 13.25 13.25 12.69 13.25 12C13.25 11.59 13.59 11.25 14 11.25C14.41 11.25 14.75 11.59 14.75 12Z"></path></svg>'},function(e,t){e.exports='<svg viewBox="0 0 32 32" xmlns="http://www.w3.org/2000/svg"><path d="M25 7.25H22.19C21.73 7.25 21.31 7 21.09 6.59L20.89 6.22C20.23 5.01 18.97 4.25 17.59 4.25H14.41C13.03 4.25 11.77 5 11.11 6.22L10.91 6.6C10.69 7 10.27 7.26 9.81 7.26H7C4.93 7.26 3.25 8.94 3.25 11.01V24.01C3.25 26.08 4.93 27.76 7 27.76H25C27.07 27.76 28.75 26.08 28.75 24.01V11C28.75 8.93 27.07 7.25 25 7.25ZM27.25 24C27.25 25.24 26.24 26.25 25 26.25H7C5.76 26.25 4.75 25.24 4.75 24V11C4.75 9.76 5.76 8.75 7 8.75H9.81C10.82 8.75 11.75 8.2 12.23 7.31L12.43 6.94C12.82 6.21 13.58 5.76 14.41 5.76H17.59C18.42 5.76 19.18 6.21 19.57 6.94L19.77 7.31C20.25 8.2 21.18 8.76 22.19 8.76H25C26.24 8.76 27.25 9.77 27.25 11.01V24.01V24ZM16 10.25C12.28 10.25 9.25 13.28 9.25 17C9.25 20.72 12.28 23.75 16 23.75C19.72 23.75 22.75 20.72 22.75 17C22.75 13.28 19.72 10.25 16 10.25ZM16 22.25C13.11 22.25 10.75 19.89 10.75 17C10.75 14.11 13.11 11.75 16 11.75C18.89 11.75 21.25 14.11 21.25 17C21.25 19.89 18.89 22.25 16 22.25ZM19.75 17C19.75 19.07 18.07 20.75 16 20.75C15.59 20.75 15.25 20.41 15.25 20C15.25 19.59 15.59 19.25 16 19.25C17.24 19.25 18.25 18.24 18.25 17C18.25 16.59 18.59 16.25 19 16.25C19.41 16.25 19.75 16.59 19.75 17Z"></path></svg>'},function(e,t){e.exports='<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M12.8099 11.75L15.2799 9.28C15.5699 8.99 15.5699 8.51 15.2799 8.22C14.9899 7.93 14.5099 7.93 14.2199 8.22L11.7499 10.69L9.27994 8.22C8.98994 7.93 8.50994 7.93 8.21994 8.22C7.92994 8.51 7.92994 8.99 8.21994 9.28L10.6899 11.75L8.21994 14.22C7.92994 14.51 7.92994 14.99 8.21994 15.28C8.36994 15.43 8.55994 15.5 8.74994 15.5C8.93994 15.5 9.12994 15.43 9.27994 15.28L11.7499 12.81L14.2199 15.28C14.3699 15.43 14.5599 15.5 14.7499 15.5C14.9399 15.5 15.1299 15.43 15.2799 15.28C15.5699 14.99 15.5699 14.51 15.2799 14.22L12.8099 11.75Z"></path></svg>'},function(e,t){e.exports='<svg viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg"><path d="M14.0275 5.0275L6.5275 12.5275C6.3775 12.6775 6.1875 12.7475 5.9975 12.7475C5.8075 12.7475 5.6175 12.6775 5.4675 12.5275L2.4675 9.5275C2.1775 9.2375 2.1775 8.7575 2.4675 8.4675C2.7575 8.1775 3.2375 8.1775 3.5275 8.4675L5.9975 10.9375L12.9675 3.9675C13.2575 3.6775 13.7375 3.6775 14.0275 3.9675C14.3175 4.2575 14.3175 4.7375 14.0275 5.0275Z"></path></svg>'},function(e,t){e.exports='<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M19.5275 7.5275L9.5275 17.5275C9.3775 17.6775 9.1875 17.7475 8.9975 17.7475C8.8075 17.7475 8.6175 17.6775 8.4675 17.5275L4.4675 13.5275C4.1775 13.2375 4.1775 12.7575 4.4675 12.4675C4.7575 12.1775 5.2375 12.1775 5.5275 12.4675L8.9975 15.9375L18.4675 6.4675C18.7575 6.1775 19.2375 6.1775 19.5275 6.4675C19.8175 6.7575 19.8175 7.2375 19.5275 7.5275Z"></path></svg>'},function(e,t){e.exports='<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M16.5275 10.5275L12.5275 14.5275C12.3775 14.6775 12.1875 14.7475 11.9975 14.7475C11.8075 14.7475 11.6175 14.6775 11.4675 14.5275L7.4675 10.5275C7.1775 10.2375 7.1775 9.7575 7.4675 9.4675C7.7575 9.1775 8.2375 9.1775 8.5275 9.4675L11.9975 12.9375L15.4675 9.4675C15.7575 9.1775 16.2375 9.1775 16.5275 9.4675C16.8175 9.7575 16.8175 10.2375 16.5275 10.5275Z"></path></svg>'},function(e,t){e.exports='<svg viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg"><path d="M11.35 8.34627L7.35 12.3463C7.25 12.4463 7.12 12.4963 7 12.4963C6.88 12.4963 6.74 12.4463 6.65 12.3463C6.45 12.1463 6.45 11.8363 6.65 11.6363L10.3 7.98627L6.65 4.34627C6.45 4.15627 6.45 3.83627 6.65 3.64627C6.85 3.45627 7.16 3.44627 7.35 3.64627L11.35 7.64627C11.55 7.84627 11.55 8.15627 11.35 8.35627V8.34627Z"></path></svg>'},function(e,t){e.exports='<svg viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg"><path d="M12.35 11.65C12.55 11.85 12.55 12.16 12.35 12.36C12.25 12.46 12.12 12.51 12 12.51C11.88 12.51 11.74 12.46 11.65 12.36L8 8.71L4.35 12.36C4.25 12.46 4.12 12.51 4 12.51C3.88 12.51 3.74 12.46 3.65 12.36C3.45 12.16 3.45 11.85 3.65 11.65L7.3 8L3.65 4.35C3.45 4.16 3.45 3.84 3.65 3.65C3.85 3.46 4.16 3.45 4.35 3.65L8 7.3L11.65 3.65C11.85 3.45 12.16 3.45 12.36 3.65C12.56 3.85 12.56 4.16 12.36 4.36L8.71 8.01L12.36 11.66L12.35 11.65Z"></path></svg>'},function(e,t){e.exports='<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M20.12 10.9325C20.64 10.4125 20.93 9.7225 20.93 8.9925C20.93 8.2625 20.64 7.5725 20.12 7.0525L16.95 3.8825C15.88 2.8125 14.13 2.8125 13.06 3.8825L3.88 13.0525C3.36 13.5725 3.07 14.2625 3.07 14.9925C3.07 15.7225 3.36 16.4125 3.88 16.9325L5.64 18.6925C6.57 19.6225 7.78 20.0825 9 20.0825C10.22 20.0825 11.43 19.6225 12.36 18.6925L20.12 10.9325ZM14.12 4.9325C14.36 4.6925 14.67 4.5625 15 4.5625C15.33 4.5625 15.65 4.6925 15.88 4.9325L19.05 8.1025C19.54 8.5925 19.54 9.3825 19.05 9.8725L12.99 15.9325L8.05 10.9925L14.12 4.9325ZM6.7 17.6325L4.94 15.8725C4.45 15.3825 4.45 14.5925 4.94 14.1025L7 12.0425L11.94 16.9825L11.3 17.6225C10.07 18.8525 7.93 18.8525 6.7 17.6225V17.6325ZM22.75 20.9925C22.75 21.4025 22.41 21.7425 22 21.7425H14C13.59 21.7425 13.25 21.4025 13.25 20.9925C13.25 20.5825 13.59 20.2425 14 20.2425H22C22.41 20.2425 22.75 20.5825 22.75 20.9925ZM4.75 20.9925C4.75 21.4025 4.41 21.7425 4 21.7425H2C1.59 21.7425 1.25 21.4025 1.25 20.9925C1.25 20.5825 1.59 20.2425 2 20.2425H4C4.41 20.2425 4.75 20.5825 4.75 20.9925Z"></path></svg>'},function(e,t){e.exports='<svg viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg"><path d="M13.5275 12.4675C13.8175 12.7575 13.8175 13.2375 13.5275 13.5275C13.3775 13.6775 13.1875 13.7475 12.9975 13.7475C12.8075 13.7475 12.6175 13.6775 12.4675 13.5275L7.9975 9.0575L3.5275 13.5275C3.3775 13.6775 3.1875 13.7475 2.9975 13.7475C2.8075 13.7475 2.6175 13.6775 2.4675 13.5275C2.1775 13.2375 2.1775 12.7575 2.4675 12.4675L6.9375 7.9975L2.4675 3.5275C2.1775 3.2375 2.1775 2.7575 2.4675 2.4675C2.7575 2.1775 3.2375 2.1775 3.5275 2.4675L7.9975 6.9375L12.4675 2.4675C12.7575 2.1775 13.2375 2.1775 13.5275 2.4675C13.8175 2.7575 13.8175 3.2375 13.5275 3.5275L9.0575 7.9975L13.5275 12.4675Z"></path></svg>'},function(e,t){e.exports='<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M19.5275 18.4675C19.8175 18.7575 19.8175 19.2375 19.5275 19.5275C19.3775 19.6775 19.1875 19.7475 18.9975 19.7475C18.8075 19.7475 18.6175 19.6775 18.4675 19.5275L11.9975 13.0575L5.5275 19.5275C5.3775 19.6775 5.1875 19.7475 4.9975 19.7475C4.8075 19.7475 4.6175 19.6775 4.4675 19.5275C4.1775 19.2375 4.1775 18.7575 4.4675 18.4675L10.9375 11.9975L4.4675 5.5275C4.1775 5.2375 4.1775 4.7575 4.4675 4.4675C4.7575 4.1775 5.2375 4.1775 5.5275 4.4675L11.9975 10.9375L18.4675 4.4675C18.7575 4.1775 19.2375 4.1775 19.5275 4.4675C19.8175 4.7575 19.8175 5.2375 19.5275 5.5275L13.0575 11.9975L19.5275 18.4675Z"></path></svg>'},function(e,t){e.exports='<svg viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg"><path d="M11.75 8C11.75 8.41 11.41 8.75 11 8.75H5C4.59 8.75 4.25 8.41 4.25 8C4.25 7.59 4.59 7.25 5 7.25H11C11.41 7.25 11.75 7.59 11.75 8Z"></path></svg>'},function(e,t){e.exports='<svg viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg"><path d="M11.75 8C11.75 8.41 11.41 8.75 11 8.75H5C4.59 8.75 4.25 8.41 4.25 8C4.25 7.59 4.59 7.25 5 7.25H11C11.41 7.25 11.75 7.59 11.75 8Z"></path></svg>'},function(e,t){e.exports='<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M12.75 9V17C12.75 17.41 12.41 17.75 12 17.75C11.59 17.75 11.25 17.41 11.25 17V9C11.25 8.59 11.59 8.25 12 8.25C12.41 8.25 12.75 8.59 12.75 9ZM14.25 9V17C14.25 17.41 14.59 17.75 15 17.75C15.41 17.75 15.75 17.41 15.75 17V9C15.75 8.59 15.41 8.25 15 8.25C14.59 8.25 14.25 8.59 14.25 9ZM9 8.25C8.59 8.25 8.25 8.59 8.25 9V17C8.25 17.41 8.59 17.75 9 17.75C9.41 17.75 9.75 17.41 9.75 17V9C9.75 8.59 9.41 8.25 9 8.25ZM20.75 6C20.75 6.41 20.41 6.75 20 6.75H18.75V18C18.75 19.52 17.52 20.75 16 20.75H8C6.48 20.75 5.25 19.52 5.25 18V6.75H4C3.59 6.75 3.25 6.41 3.25 6C3.25 5.59 3.59 5.25 4 5.25H8.25V4C8.25 3.04 9.04 2.25 10 2.25H14C14.96 2.25 15.75 3.04 15.75 4V5.25H20C20.41 5.25 20.75 5.59 20.75 6ZM9.75 5.25H14.25V4C14.25 3.86 14.14 3.75 14 3.75H10C9.86 3.75 9.75 3.86 9.75 4V5.25ZM17.25 6.75H6.75V18C6.75 18.69 7.31 19.25 8 19.25H16C16.69 19.25 17.25 18.69 17.25 18V6.75Z"></path></svg>'},function(e,t){e.exports='<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M14.5 8.75C15.19 8.75 15.75 8.19 15.75 7.5C15.75 6.81 15.19 6.25 14.5 6.25C13.81 6.25 13.25 6.81 13.25 7.5C13.25 8.19 13.81 8.75 14.5 8.75ZM14.5 7.25C14.64 7.25 14.75 7.36 14.75 7.5C14.75 7.78 14.25 7.78 14.25 7.5C14.25 7.36 14.36 7.25 14.5 7.25ZM9.5 6.25C8.81 6.25 8.25 6.81 8.25 7.5C8.25 8.19 8.81 8.75 9.5 8.75C10.19 8.75 10.75 8.19 10.75 7.5C10.75 6.81 10.
vendor: 26,502 bytes, line 11
1119 6.25 9.5 6.25ZM9.25 7.5C9.25 7.36 9.36 7.25 9.5 7.25C9.64 7.25 9.75 7.36 9.75 7.5C9.75 7.78 9.25 7.78 9.25 7.5ZM14.5 11.25C13.81 11.25 13.25 11.81 13.25 12.5C13.25 13.19 13.81 13.75 14.5 13.75C15.19 13.75 15.75 13.19 15.75 12.5C15.75 11.81 15.19 11.25 14.5 11.25ZM14.25 12.5C14.25 12.36 14.36 12.25 14.5 12.25C14.64 12.25 14.75 12.36 14.75 12.5C14.75 12.78 14.25 12.78 14.25 12.5ZM9.5 11.25C8.81 11.25 8.25 11.81 8.25 12.5C8.25 13.19 8.81 13.75 9.5 13.75C10.19 13.75 10.75 13.19 10.75 12.5C10.75 11.81 10.19 11.25 9.5 11.25ZM9.25 12.5C9.25 12.36 9.36 12.25 9.5 12.25C9.64 12.25 9.75 12.36 9.75 12.5C9.75 12.78 9.25 12.78 9.25 12.5ZM14.5 16.25C13.81 16.25 13.25 16.81 13.25 17.5C13.25 18.19 13.81 18.75 14.5 18.75C15.19 18.75 15.75 18.19 15.75 17.5C15.75 16.81 15.19 16.25 14.5 16.25ZM14.25 17.5C14.25 17.36 14.36 17.25 14.5 17.25C14.64 17.25 14.75 17.36 14.75 17.5C14.75 17.78 14.25 17.78 14.25 17.5ZM9.5 16.25C8.81 16.25 8.25 16.81 8.25 17.5C8.25 18.19 8.81 18.75 9.5 18.75C10.19 18.75 10.75 18.19 10.75 17.5C10.75 16.81 10.19 16.25 9.5 16.25ZM9.25 17.5C9.25 17.36 9.36 17.25 9.5 17.25C9.64 17.25 9.75 17.36 9.75 17.5C9.75 17.78 9.25 17.78 9.25 17.5Z"></path></svg>'},function(e,t){e.exports='<svg viewBox="0 0 24 16" xmlns="http://www.w3.org/2000/svg"><path d="M17.5 9.25C16.81 9.25 16.25 9.81 16.25 10.5C16.25 11.19 16.81 11.75 17.5 11.75C18.19 11.75 18.75 11.19 18.75 10.5C18.75 9.81 18.19 9.25 17.5 9.25ZM17.25 10.5C17.25 10.36 17.36 10.25 17.5 10.25C17.64 10.25 17.75 10.36 17.75 10.5C17.75 10.78 17.25 10.78 17.25 10.5ZM17.5 6.75C18.19 6.75 18.75 6.19 18.75 5.5C18.75 4.81 18.19 4.25 17.5 4.25C16.81 4.25 16.25 4.81 16.25 5.5C16.25 6.19 16.81 6.75 17.5 6.75ZM17.5 5.25C17.64 5.25 17.75 5.36 17.75 5.5C17.75 5.78 17.25 5.78 17.25 5.5C17.25 5.36 17.36 5.25 17.5 5.25ZM12.5 9.25C11.81 9.25 11.25 9.81 11.25 10.5C11.25 11.19 11.81 11.75 12.5 11.75C13.19 11.75 13.75 11.19 13.75 10.5C13.75 9.81 13.19 9.25 12.5 9.25ZM12.25 10.5C12.25 10.36 12.36 10.25 12.5 10.25C12.64 10.25 12.75 10.36 12.75 10.5C12.75 10.78 12.25 10.78 12.25 10.5ZM12.5 4.25C11.81 4.25 11.25 4.81 11.25 5.5C11.25 6.19 11.81 6.75 12.5 6.75C13.19 6.75 13.75 6.19 13.75 5.5C13.75 4.81 13.19 4.25 12.5 4.25ZM12.25 5.5C12.25 5.36 12.36 5.25 12.5 5.25C12.64 5.25 12.75 5.36 12.75 5.5C12.75 5.78 12.25 5.78 12.25 5.5ZM7.5 9.25C6.81 9.25 6.25 9.81 6.25 10.5C6.25 11.19 6.81 11.75 7.5 11.75C8.19 11.75 8.75 11.19 8.75 10.5C8.75 9.81 8.19 9.25 7.5 9.25ZM7.25 10.5C7.25 10.36 7.36 10.25 7.5 10.25C7.64 10.25 7.75 10.36 7.75 10.5C7.75 10.78 7.25 10.78 7.25 10.5ZM7.5 4.25C6.81 4.25 6.25 4.81 6.25 5.5C6.25 6.19 6.81 6.75 7.5 6.75C8.19 6.75 8.75 6.19 8.75 5.5C8.75 4.81 8.19 4.25 7.5 4.25ZM7.25 5.5C7.25 5.36 7.36 5.25 7.5 5.25C7.64 5.25 7.75 5.36 7.75 5.5C7.75 5.78 7.25 5.78 7.25 5.5Z"></path></svg>'},function(e,t){e.exports='<svg viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg"><path d="M11.75 8C11.75 8.41 11.41 8.75 11 8.75H8.75V11C8.75 11.41 8.41 11.75 8 11.75C7.59 11.75 7.25 11.41 7.25 11V8.75H5C4.59 8.75 4.25 8.41 4.25 8C4.25 7.59 4.59 7.25 5 7.25H7.25V5C7.25 4.59 7.59 4.25 8 4.25C8.41 4.25 8.75 4.59 8.75 5V7.25H11C11.41 7.25 11.75 7.59 11.75 8Z"></path></svg>'},function(e,t){e.exports='<svg viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg"><path d="M11.75 8C11.75 8.41 11.41 8.75 11 8.75H8.75V11C8.75 11.41 8.41 11.75 8 11.75C7.59 11.75 7.25 11.41 7.25 11V8.75H5C4.59 8.75 4.25 8.41 4.25 8C4.25 7.59 4.59 7.25 5 7.25H7.25V5C7.25 4.59 7.59 4.25 8 4.25C8.41 4.25 8.75 4.59 8.75 5V7.25H11C11.41 7.25 11.75 7.59 11.75 8Z"></path></svg>'},function(e,t){e.exports='<svg viewBox="0 0 72 72" xmlns="http://www.w3.org/2000/svg"><path d="M62.83 12.83L53.17 3.17C52.7982 2.79866 52.357 2.50421 51.8714 2.30346C51.3858 2.1027 50.8654 1.99959 50.34 2H14C12.4087 2 10.8826 2.63214 9.75735 3.75736C8.63214 4.88258 8 6.4087 8 8V64C8 65.5913 8.63214 67.1174 9.75735 68.2426C10.8826 69.3679 12.4087 70 14 70H58C59.5913 70 61.1174 69.3679 62.2426 68.2426C63.3679 67.1174 64 65.5913 64 64V15.66C64.0004 15.1346 63.8973 14.6142 63.6965 14.1286C63.4958 13.643 63.2013 13.2018 62.83 12.83ZM52 4.83L61.17 14H56C54.9391 14 53.9217 13.5786 53.1716 12.8284C52.4214 12.0783 52 11.0609 52 10V4.83ZM62 64C62 65.0609 61.5786 66.0783 60.8284 66.8284C60.0783 67.5786 59.0609 68 58 68H14C12.9391 68 11.9217 67.5786 11.1716 66.8284C10.4214 66.0783 10 65.0609 10 64V8C10 6.93914 10.4214 5.92172 11.1716 5.17157C11.9217 4.42143 12.9391 4 14 4H50V10C50 11.5913 50.6321 13.1174 51.7574 14.2426C52.8826 15.3679 54.4087 16 56 16H62V64ZM22 26H50V28H22V26ZM22 32H50V34H22V32ZM22 38H50V40H22V38ZM22 44H50V46H22V44Z"></path></svg>'},function(e,t){e.exports='<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M14.53 17.4775C14.82 17.7675 14.82 18.2475 14.53 18.5375L11.53 21.5375C11.38 21.6875 11.19 21.7575 11 21.7575C10.81 21.7575 10.62 21.6875 10.47 21.5375C10.18 21.2475 10.18 20.7675 10.47 20.4775L12.2 18.7475C12.13 18.7475 12.07 18.7475 12 18.7475C6.62 18.7475 2.25 15.7475 2.25 12.0575C2.25 10.2975 3.22 8.6375 4.99 7.3875C5.33 7.1475 5.8 7.2275 6.03 7.5675C6.27 7.9075 6.19 8.3775 5.85 8.6075C4.49 9.5675 3.74 10.7875 3.74 12.0575C3.74 14.9175 7.44 17.2475 11.99 17.2475C12.05 17.2475 12.11 17.2475 12.17 17.2475L10.46 15.5375C10.17 15.2475 10.17 14.7675 10.46 14.4775C10.75 14.1875 11.23 14.1875 11.52 14.4775L14.52 17.4775H14.53ZM12 5.2575C11.93 5.2575 11.87 5.2575 11.8 5.2575L13.53 3.5275C13.82 3.2375 13.82 2.7575 13.53 2.4675C13.24 2.1775 12.76 2.1775 12.47 2.4675L9.47 5.4675C9.18 5.7575 9.18 6.2375 9.47 6.5275L12.47 9.5275C12.62 9.6775 12.81 9.7475 13 9.7475C13.19 9.7475 13.38 9.6775 13.53 9.5275C13.82 9.2375 13.82 8.7575 13.53 8.4675L11.82 6.7575C11.88 6.7575 11.94 6.7575 12 6.7575C16.55 6.7575 20.25 9.0875 20.25 11.9475C20.25 13.2075 19.5 14.4375 18.14 15.3975C17.8 15.6375 17.72 16.1075 17.96 16.4475C18.11 16.6575 18.34 16.7675 18.57 16.7675C18.72 16.7675 18.87 16.7275 19 16.6275C20.77 15.3775 21.75 13.7175 21.75 11.9575C21.75 8.2675 17.38 5.2675 12 5.2675V5.2575Z"></path></svg>'},function(e,t){e.exports='<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M21.72 9.24C21.45 8.92 21.12 8.67 20.75 8.5V8C20.75 6.48 19.52 5.25 18 5.25H10.65C10.32 4.1 9.26 3.25 8 3.25H6C4.48 3.25 3.25 4.48 3.25 6V18C3.25 19.52 4.48 20.75 6 20.75H18.33C19.66 20.75 20.8 19.8 21.04 18.49L22.31 11.49C22.46 10.69 22.24 9.86 21.72 9.24ZM4.75 18V6C4.75 5.31 5.31 4.75 6 4.75H8C8.69 4.75 9.25 5.31 9.25 6C9.25 6.41 9.59 6.75 10 6.75H18C18.69 6.75 19.25 7.31 19.25 8V8.25H9.27C7.94 8.25 6.8 9.2 6.56 10.51L5.29 17.51C5.19 18.07 5.27 18.64 5.51 19.15C5.06 18.96 4.75 18.52 4.75 18ZM20.83 11.22L19.56 18.22C19.45 18.81 18.94 19.25 18.33 19.25H8C7.63 19.25 7.28 19.09 7.04 18.8C6.8 18.51 6.7 18.14 6.77 17.78L8.04 10.78C8.15 10.19 8.66 9.75 9.27 9.75H19.6C19.97 9.75 20.32 9.91 20.56 10.2C20.8 10.49 20.9 10.86 20.83 11.22Z"></path></svg>'},function(e,t){e.exports='<svg viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg"><path d="M12 3.25H4C3.04 3.25 2.25 4.04 2.25 5V11C2.25 11.96 3.04 12.75 4 12.75H12C12.96 12.75 13.75 11.96 13.75 11V5C13.75 4.04 12.96 3.25 12 3.25ZM12.25 11C12.25 11.14 12.14 11.25 12 11.25H4C3.86 11.25 3.75 11.14 3.75 11V5C3.75 4.86 3.86 4.75 4 4.75H12C12.14 4.75 12.25 4.86 12.25 5V11Z"></path></svg>'},function(e,t){e.exports='<svg viewBox="0 0 48 48" xmlns="http://www.w3.org/2000/svg"><path d="M33 10.25H15C12.38 10.25 10.25 12.38 10.25 15V33C10.25 35.62 12.38 37.75 15 37.75H33C35.62 37.75 37.75 35.62 37.75 33V15C37.75 12.38 35.62 10.25 33 10.25ZM36.25 33C36.25 34.79 34.79 36.25 33 36.25H15C13.21 36.25 11.75 34.79 11.75 33V15C11.75 13.21 13.21 11.75 15 11.75H33C34.79 11.75 36.25 13.21 36.25 15V33ZM30.5 14.25C28.71 14.25 27.25 15.71 27.25 17.5C27.25 19.29 28.71 20.75 30.5 20.75C32.29 20.75 33.75 19.29 33.75 17.5C33.75 15.71 32.29 14.25 30.5 14.25ZM30.5 19.25C29.54 19.25 28.75 18.46 28.75 17.5C28.75 16.54 29.54 15.75 30.5 15.75C31.46 15.75 32.25 16.54 32.25 17.5C32.25 18.46 31.46 19.25 30.5 19.25ZM29.26 26.28C28.94 25.92 28.49 25.71 28.01 25.7C27.54 25.68 27.07 25.87 26.73 26.2L24.95 27.94L22.28 25.23C21.94 24.89 21.5 24.71 21 24.71C20.52 24.71 20.06 24.93 19.74 25.28L14.74 30.78C14.25 31.3 14.12 32.06 14.41 32.72C14.69 33.36 15.28 33.75 15.95 33.75H32.07C32.74 33.75 33.33 33.35 33.61 32.72C33.89 32.06 33.77 31.31 33.29 30.79L29.27 26.29L29.26 26.28ZM32.22 32.12C32.18 32.2 32.13 32.25 32.06 32.25H15.94C15.87 32.25 15.81 32.21 15.78 32.12C15.77 32.09 15.71 31.93 15.83 31.8L20.84 26.29C20.9 26.22 20.99 26.21 21.02 26.21C21.06 26.21 21.14 26.22 21.2 26.29L24.4 29.54C24.69 29.83 25.16 29.84 25.46 29.54L27.77 27.27C27.83 27.21 27.9 27.2 27.94 27.2C28.01 27.2 28.06 27.21 28.13 27.28L32.16 31.79C32.16 31.79 32.16 31.79 32.17 31.8C32.29 31.93 32.23 32.09 32.22 32.12Z"></path></svg>'},function(e,t){e.exports='<svg viewBox="0 0 48 48" fill="none" xmlns="http://www.w3.org/2000/svg"><g clip-path="url(#clip0_19679_369428)"><path opacity="0.1" d="M24 40C15.18 40 8 32.82 8 24C8 15.18 15.18 8 24 8C32.82 8 40 15.18 40 24C40 32.82 32.82 40 24 40ZM24 12C17.38 12 12 17.38 12 24C12 30.62 17.38 36 24 36C30.62 36 36 30.62 36 24C36 17.38 30.62 12 24 12Z" fill="black" fill-opacity="0.91"></path><path d="M10 26C8.9 26 8 25.1 8 24C8 15.18 15.18 8 24 8C25.1 8 26 8.9 26 10C26 11.1 25.1 12 24 12C17.38 12 12 17.38 12 24C12 25.1 11.1 26 10 26Z" fill="#19B394"></path></g><defs><clipPath id="clip0_19679_369428"><rect width="32" height="32" fill="white" transform="translate(8 8)"></rect></clipPath></defs></svg>'},function(e,t){e.exports='<svg viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg"><path d="M13.75 3V7C13.75 7.41 13.41 7.75 13 7.75C12.59 7.75 12.25 7.41 12.25 7V4.81L9.53 7.53C9.38 7.68 9.19 7.75 9 7.75C8.81 7.75 8.62 7.68 8.47 7.53C8.18 7.24 8.18 6.76 8.47 6.47L11.19 3.75H9C8.59 3.75 8.25 3.41 8.25 3C8.25 2.59 8.59 2.25 9 2.25H13C13.1 2.25 13.19 2.27 13.29 2.31C13.47 2.39 13.62 2.53 13.7 2.72C13.74 2.81 13.76 2.91 13.76 3.01L13.75 3ZM7.53 8.47C7.24 8.18 6.76 8.18 6.47 8.47L3.75 11.19V9C3.75 8.59 3.41 8.25 3 8.25C2.59 8.25 2.25 8.59 2.25 9V13C2.25 13.1 2.27 13.19 2.31 13.29C2.39 13.47 2.53 13.62 2.72 13.7C2.81 13.74 2.91 13.76 3.01 13.76H7.01C7.42 13.76 7.76 13.42 7.76 13.01C7.76 12.6 7.42 12.26 7.01 12.26H4.82L7.54 9.54C7.83 9.25 7.83 8.77 7.54 8.48L7.53 8.47Z"></path></svg>'},function(e,t){e.exports='<svg viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg"><path d="M13.75 8C13.75 8.41 13.41 8.75 13 8.75H3C2.59 8.75 2.25 8.41 2.25 8C2.25 7.59 2.59 7.25 3 7.25H13C13.41 7.25 13.75 7.59 13.75 8Z"></path></svg>'},function(e,t){e.exports='<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M12 10.25C11.04 10.25 10.25 11.04 10.25 12C10.25 12.96 11.04 13.75 12 13.75C12.96 13.75 13.75 12.96 13.75 12C13.75 11.04 12.96 10.25 12 10.25ZM11.75 12C11.75 11.86 11.86 11.75 12 11.75C12.14 11.75 12.25 11.86 12.25 12C12.25 12.28 11.75 12.28 11.75 12ZM19 10.25C18.04 10.25 17.25 11.04 17.25 12C17.25 12.96 18.04 13.75 19 13.75C19.96 13.75 20.75 12.96 20.75 12C20.75 11.04 19.96 10.25 19 10.25ZM18.75 12C18.75 11.86 18.86 11.75 19 11.75C19.14 11.75 19.25 11.86 19.25 12C19.25 12.28 18.75 12.28 18.75 12ZM5 10.25C4.04 10.25 3.25 11.04 3.25 12C3.25 12.96 4.04 13.75 5 13.75C5.96 13.75 6.75 12.96 6.75 12C6.75 11.04 5.96 10.25 5 10.25ZM4.75 12C4.75 11.86 4.86 11.75 5 11.75C5.14 11.75 5.25 11.86 5.25 12C5.25 12.28 4.75 12.28 4.75 12Z"></path></svg>'},function(e,t){e.exports='<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M3.25 7C3.25 6.59 3.59 6.25 4 6.25H15C15.41 6.25 15.75 6.59 15.75 7C15.75 7.41 15.41 7.75 15 7.75H4C3.59 7.75 3.25 7.41 3.25 7ZM20 11.25H4C3.59 11.25 3.25 11.59 3.25 12C3.25 12.41 3.59 12.75 4 12.75H20C20.41 12.75 20.75 12.41 20.75 12C20.75 11.59 20.41 11.25 20 11.25ZM9 16.25H4C3.59 16.25 3.25 16.59 3.25 17C3.25 17.41 3.59 17.75 4 17.75H9C9.41 17.75 9.75 17.41 9.75 17C9.75 16.59 9.41 16.25 9 16.25Z"></path></svg>'},function(e,t){e.exports='<svg viewBox="0 0 48 48" xmlns="http://www.w3.org/2000/svg"><path d="M30.4975 14.2475C28.7075 14.2475 27.2475 15.7075 27.2475 17.4975C27.2475 19.2875 28.7075 20.7475 30.4975 20.7475C32.2875 20.7475 33.7475 19.2875 33.7475 17.4975C33.7475 15.7075 32.2875 14.2475 30.4975 14.2475ZM30.4975 19.2475C29.5375 19.2475 28.7475 18.4575 28.7475 17.4975C28.7475 16.5375 29.5375 15.7475 30.4975 15.7475C31.4575 15.7475 32.2475 16.5375 32.2475 17.4975C32.2475 18.4575 31.4575 19.2475 30.4975 19.2475ZM13.5175 11.2175C13.4375 10.8075 13.7075 10.4175 14.1175 10.3375C14.4275 10.2775 14.7175 10.2475 14.9975 10.2475H32.9975C35.6175 10.2475 37.7475 12.3775 37.7475 14.9975V32.9975C37.7475 33.2775 37.7175 33.5675 37.6575 33.8775C37.5875 34.2375 37.2775 34.4875 36.9175 34.4875C36.8675 34.4875 36.8275 34.4875 36.7775 34.4775C36.3675 34.3975 36.1075 34.0075 36.1775 33.5975C36.2175 33.3775 36.2375 33.1775 36.2375 32.9975V14.9975C36.2375 13.2075 34.7775 11.7475 32.9875 11.7475H14.9975C14.8075 11.7475 14.6175 11.7675 14.3975 11.8075C13.9875 11.8875 13.5975 11.6175 13.5175 11.2075V11.2175ZM34.4775 36.7775C34.5575 37.1875 34.2875 37.5775 33.8775 37.6575C33.5675 37.7175 33.2775 37.7475 32.9975 37.7475H14.9975C12.3775 37.7475 10.2475 35.6175 10.2475 32.9975V14.9975C10.2475 14.7175 10.2775 14.4275 10.3375 14.1175C10.4175 13.7075 10.8075 13.4375 11.2175 13.5175C11.6275 13.5975 11.8875 13.9875 11.8175 14.3975C11.7775 14.6175 11.7575 14.8175 11.7575 14.9975V32.9975C11.7575 34.7875 13.2175 36.2475 15.0075 36.2475H33.0075C33.1975 36.2475 33.3875 36.2275 33.6075 36.1875C34.0075 36.1075 34.4075 36.3775 34.4875 36.7875L34.4775 36.7775ZM15.8275 31.7975C15.6975 31.9375 15.7575 32.0875 15.7775 32.1175C15.8175 32.1975 15.8675 32.2475 15.9375 32.2475H29.8175C30.2275 32.2475 30.5675 32.5875 30.5675 32.9975C30.5675 33.4075 30.2275 33.7475 29.8175 33.7475H15.9375C15.2675 33.7475 14.6775 33.3475 14.3975 32.7175C14.1075 32.0575 14.2375 31.2975 14.7275 30.7775L19.7275 25.2775C20.0475 24.9275 20.5075 24.7175 20.9875 24.7075C21.4875 24.7275 21.9375 24.8875 22.2675 25.2275L25.4675 28.4775C25.7575 28.7675 25.7575 29.2475 25.4675 29.5375C25.1675 29.8275 24.6975 29.8275 24.4075 29.5375L21.2075 26.2875C21.1475 26.2175 21.0675 26.1875 21.0275 26.2075C20.9875 26.2075 20.9075 26.2175 20.8475 26.2875L15.8375 31.7975H15.8275ZM38.5275 38.5275C38.3775 38.6775 38.1875 38.7475 37.9975 38.7475C37.8075 38.7475 37.6175 38.6775 37.4675 38.5275L9.4675 10.5275C9.1775 10.2375 9.1775 9.7575 9.4675 9.4675C9.7575 9.1775 10.2375 9.1775 10.5275 9.4675L38.5275 37.4675C38.8175 37.7575 38.8175 38.2375 38.5275 38.5275Z"></path></svg>'},function(e,t){e.exports='<svg viewBox="0 0 10 24" xmlns="http://www.w3.org/2000/svg"><path d="M10 5L5 0L0 5H4V9H6V5H10Z"></path><path d="M6 19V15H4V19H0L5 24L10 19H6Z"></path></svg>'},function(e,t){e.exports='<svg viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg"><path d="M11.75 8C11.75 8.41 11.41 8.75 11 8.75H5C4.59 8.75 4.25 8.41 4.25 8C4.25 7.59 4.59 7.25 5 7.25H11C11.41 7.25 11.75 7.59 11.75 8Z"></path></svg>'},function(e,t){e.exports='<svg viewBox="0 0 48 48" xmlns="http://www.w3.org/2000/svg"><path d="M24 39.5057L11.7226 45.9839C10.4095 46.6739 8.87606 45.5622 9.12525 44.096L11.4734 30.373L1.54411 20.6556C0.480254 19.6207 1.06489 17.8095 2.53128 17.5986L16.2559 15.5957L22.3994 3.10891C23.0512 1.77685 24.9488 1.77685 25.6102 3.10891L31.7441 15.5957L45.4687 17.5986C46.9351 17.8095 47.5197 19.6207 46.4559 20.6556L36.5266 30.373L38.8748 44.096C39.1239 45.5622 37.5905 46.6835 36.2774 45.9839L24 39.5057Z" fill="none" stroke-width="2"></path><path d="M24.3981 33.1305L24 32.9206L23.6019 33.1305L15.8715 37.2059L17.3542 28.5663L17.43 28.1246L17.1095 27.8113L10.83 21.6746L19.4965 20.4049L19.9405 20.3399L20.1387 19.9373L24 12.0936L27.8613 19.9373L28.0595 20.3399L28.5035 20.4049L37.17 21.6746L30.8905 27.8113L30.57 28.1246L30.6458 28.5663L32.1285 37.2059L24.3981 33.1305Z" stroke-width="1.70746"></path></svg>'},function(e,t){e.exports='<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M12 19.3373L6.13001 22.4373C5.50001 22.7673 4.77001 22.2373 4.89001 21.5373L6.01001 14.9773L1.26001 10.3273C0.750007 9.83728 1.03001 8.96728 1.73001 8.86728L8.29001 7.90728L11.23 1.93728C11.54 1.29728 12.45 1.29728 12.77 1.93728L15.7 7.90728L22.26 8.86728C22.96 8.96728 23.24 9.83728 22.73 10.3273L17.98 14.9773L19.1 21.5373C19.22 22.2373 18.49 22.7773 17.86 22.4373L11.99 19.3373H12Z" fill="none" stroke-width="2"></path><path d="M12 15.9472L8.58001 17.7572L9.23001 13.9272L6.45001 11.2072L10.29 10.6472L12 7.17725L13.71 10.6472L17.55 11.2072L14.77 13.9272L15.42 17.7572L12 15.9472Z"></path></svg>'},function(e,t){e.exports='<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><g><path d="M12 19.3373L6.13001 22.4373C5.50001 22.7673 4.77001 22.2373 4.89001 21.5373L6.01001 14.9773L1.26001 10.3273C0.750007 9.83728 1.03001 8.96728 1.73001 8.86728L8.29001 7.90728L11.23 1.93728C11.54 1.29728 12.45 1.29728 12.77 1.93728L15.7 7.90728L22.26 8.86728C22.96 8.96728 23.24 9.83728 22.73 10.3273L17.98 14.9773L19.1 21.5373C19.22 22.2373 18.49 22.7773 17.86 22.4373L11.99 19.3373H12Z"></path></g></svg>'},function(e,t){e.exports='<svg viewBox="0 0 48 48" xmlns="http://www.w3.org/2000/svg"><g><path d="M24 39.5057L11.7226 45.9839C10.4095 46.6739 8.87606 45.5622 9.12525 44.096L11.4734 30.373L1.54411 20.6556C0.480254 19.6207 1.06489 17.8095 2.53128 17.5986L16.2559 15.5957L22.3994 3.10891C23.0512 1.77685 24.9488 1.77685 25.6102 3.10891L31.7441 15.5957L45.4687 17.5986C46.9351 17.8095 47.5197 19.6207 46.4559 20.6556L36.5266 30.373L38.8748 44.096C39.1239 45.5622 37.5905 46.6835 36.2774 45.9839L24 39.5057Z"></path></g></svg>'},function(e,t){e.exports='<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M8.9444 10.75H15.0544C15.7144 10.75 16.3144 10.39 16.6144 9.80002C16.9144 9.22002 16.8644 8.52002 16.4844 7.98002L13.4244 3.71002C12.7644 2.79002 11.2344 2.79002 10.5744 3.71002L7.5244 7.99002C7.1444 8.53002 7.0944 9.22002 7.3944 9.81002C7.6944 10.4 8.2944 10.76 8.9544 10.76L8.9444 10.75ZM8.7444 8.86002L11.7944 4.58002C11.8644 4.49002 11.9544 4.48002 11.9944 4.48002C12.0344 4.48002 12.1344 4.49002 12.1944 4.58002L15.2544 8.86002C15.3344 8.97002 15.3044 9.07002 15.2744 9.12002C15.2444 9.17002 15.1844 9.26002 15.0544 9.26002H8.9444C8.8144 9.26002 8.7444 9.18002 8.7244 9.12002C8.7044 9.06002 8.6644 8.97002 8.7444 8.86002ZM15.0544 13.25H8.9444C8.2844 13.25 7.6844 13.61 7.3844 14.2C7.0844 14.78 7.1344 15.48 7.5144 16.02L10.5744 20.3C10.9044 20.76 11.4344 21.03 11.9944 21.03C12.5544 21.03 13.0944 20.76 13.4144 20.3L16.4744 16.02C16.8544 15.48 16.9044 14.79 16.6044 14.2C16.3044 13.61 15.7044 13.25 15.0444 13.25H15.0544ZM15.2644 15.15L12.2044 19.43C12.0744 19.61 11.9244 19.61 11.7944 19.43L8.7344 15.15C8.6544 15.04 8.6844 14.94 8.7144 14.89C8.7444 14.84 8.8044 14.75 8.9344 14.75H15.0444C15.1744 14.75 15.2444 14.83 15.2644 14.89C15.2844 14.95 15.3244 15.04 15.2444 15.15H15.2644Z"></path></svg>'},function(e,t){e.exports='<svg viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg"><path d="M7.69 8.71C7.73 8.8 7.75 8.9 7.75 9V13C7.75 13.41 7.41 13.75 7 13.75C6.59 13.75 6.25 13.41 6.25 13V10.81L3.53 13.53C3.38 13.68 3.19 13.75 3 13.75C2.81 13.75 2.62 13.68 2.47 13.53C2.18 13.24 2.18 12.76 2.47 12.47L5.19 9.75H3C2.59 9.75 2.25 9.41 2.25 9C2.25 8.59 2.59 8.25 3 8.25H7C7.1 8.25 7.19 8.27 7.29 8.31C7.47 8.39 7.62 8.53 7.7 8.72L7.69 8.71ZM13 6.25H10.81L13.53 3.53C13.82 3.24 13.82 2.76 13.53 2.47C13.24 2.18 12.76 2.18 12.47 2.47L9.75 5.19V3C9.75 2.59 9.41 2.25 9 2.25C8.59 2.25 8.25 2.59 8.25 3V7C8.25 7.1 8.27 7.19 8.31 7.29C8.39 7.47 8.53 7.62 8.72 7.7C8.81 7.74 8.91 7.76 9.01 7.76H13.01C13.42 7.76 13.76 7.42 13.76 7.01C13.76 6.6 13.42 6.26 13.01 6.26L13 6.25Z"></path></svg>'},function(e,t){e.exports='<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M13.9975 2.25C9.7275 2.25 6.2475 5.73 6.2475 10C6.2475 11.87 6.9075 13.58 8.0175 14.92L2.4675 20.47C2.1775 20.76 2.1775 21.24 2.4675 21.53C2.6175 21.68 2.8075 21.75 2.9975 21.75C3.1875 21.75 3.3775 21.68 3.5275 21.53L9.0775 15.98C10.4175 17.08 12.1275 17.75 13.9975 17.75C18.2675 17.75 21.7475 14.27 21.7475 10C21.7475 5.73 18.2675 2.25 13.9975 2.25ZM13.9975 16.25C10.5475 16.25 7.7475 13.45 7.7475 10C7.7475 6.55 10.5475 3.75 13.9975 3.75C17.4475 3.75 20.2475 6.55 20.2475 10C20.2475 13.45 17.4475 16.25 13.9975 16.25Z"></path></svg>'},function(e,t){e.exports='<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M4 4.9938C4 4.44362 4.45 3.99348 5 3.99348H6.59L5.3 2.70306C4.91 2.31293 4.91 1.68272 5.3 1.2926C5.69 0.902468 6.32 0.902468 6.71 1.2926L9.71 4.29357C9.8 4.3836 9.88 4.49364 9.93 4.62368C10.03 4.86376 10.03 5.14385 9.93 5.38393C9.88 5.50397 9.81 5.614 9.71 5.71404L6.71 8.71501C6.51 8.91508 6.26 9.00511 6 9.00511C5.74 9.00511 5.49 8.90508 5.29 8.71501C4.9 8.32489 4.9 7.69468 5.29 7.30456L6.58 6.01413H4.99C4.44 6.01413 3.99 5.56399 3.99 5.01381L4 4.9938ZM14.08 5.37393C14.13 5.49397 14.2 5.604 14.3 5.70403L17.3 8.70501C17.5 8.90508 17.75 8.99511 18.01 8.99511C18.27 8.99511 18.52 8.89507 18.72 8.70501C19.11 8.31488 19.11 7.68468 18.72 7.29455L17.43 6.00413H19.02C19.57 6.00413 20.02 5.55399 20.02 5.00381C20.02 4.45363 19.57 4.00348 19.02 4.00348H17.43L18.72 2.71306C19.11 2.32293 19.11 1.69273 18.72 1.3026C18.33 0.912471 17.7 0.912471 17.31 1.3026L14.31 4.30358C14.22 4.39361 14.14 4.50364 14.09 4.63368C13.99 4.87376 13.99 5.15385 14.09 5.39393L14.08 5.37393ZM22 14.9971V20.999C22 22.6496 20.65 24 19 24H5C3.35 24 2 22.6496 2 20.999V14.9971C2 13.3465 3.35 11.9961 5 11.9961H19C20.65 11.9961 22 13.3465 22 14.9971ZM19 13.9967H16V16.9977H20V14.9971C20 14.4469 19.55 13.9967 19 13.9967ZM14 16.9977V13.9967H10V16.9977H14ZM10 18.9984V21.9993H14V18.9984H10ZM4 14.9971V16.9977H8V13.9967H5C4.45 13.9967 4 14.4469 4 14.9971ZM5 21.9993H8V18.9984H4V20.999C4 21.5492 4.45 21.9993 5 21.9993ZM20 20.999V18.9984H16V21.9993H19C19.55 21.9993 20 21.5492 20 20.999Z"></path></svg>'},function(e,t){e.exports='<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M12.01 23C6.85721 23 1.15412 19.9621 0.0134987 13.1669C-0.0765501 12.6272 0.293651 12.1076 0.833944 12.0177C1.38424 11.9277 1.89452 12.2975 1.98457 12.8371C2.92508 18.4732 7.69767 20.9914 12 20.9914C16.3023 20.9914 21.0749 18.4732 22.0154 12.8371C22.1055 12.2975 22.6158 11.9277 23.1661 12.0177C23.7063 12.1076 24.0765 12.6272 23.9865 13.1669C22.8559 19.9521 17.1428 23 11.99 23H12.01ZM21.165 6.15177C22.3056 5.01257 22.3056 3.16386 21.165 2.02465L21.0049 1.85477C19.9143 0.765533 18.1633 0.725561 17.0227 1.71487C15.8821 0.715568 14.1312 0.765533 13.0406 1.85477L12.8705 2.01466C11.7299 3.15386 11.7299 5.00257 12.8705 6.14178L17.0227 10.2889L21.175 6.14178L21.165 6.15177ZM15.742 3.27378L17.0127 4.54289L18.2834 3.27378C18.6436 2.91403 19.2239 2.91403 19.5841 3.27378L19.7442 3.43367C20.1044 3.79342 20.1044 4.37301 19.7442 4.73276L17.0127 7.46086L14.2812 4.73276C13.921 4.37301 13.921 3.79342 14.2812 3.43367L14.4413 3.27378C14.6214 3.09391 14.8515 3.00397 15.0917 3.00397C15.3318 3.00397 15.5619 3.09391 15.742 3.27378ZM11.1595 6.15177C12.3002 5.01257 12.3002 3.16386 11.1595 2.02465L10.9995 1.85477C9.90886 0.765533 8.15792 0.725561 7.0173 1.71487C5.87668 0.715568 4.12573 0.765533 3.03514 1.85477L2.86505 2.01466C1.72443 3.15386 1.72443 5.00257 2.86505 6.14178L7.0173 10.2889L11.1695 6.14178L11.1595 6.15177ZM5.7366 3.27378L7.00729 4.54289L8.27798 3.27378C8.63818 2.91403 9.21849 2.91403 9.57869 3.27378L9.73877 3.43367C10.099 3.79342 10.099 4.37301 9.73877 4.73276L7.00729 7.46086L4.27581 4.73276C3.91562 4.37301 3.91562 3.79342 4.27581 3.43367L4.4359 3.27378C4.61599 3.09391 4.84612 3.00397 5.08625 3.00397C5.32638 3.00397 5.5565 3.09391 5.7366 3.27378Z"></path></svg>'},function(e,t){e.exports='<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><g clip-path="url(#clip0_15894_140103)"><path d="M4.88291 4.51001C4.47291 4.51001 4.08291 4.25001 3.94291 3.84001C3.76291 3.32001 4.03291 2.75001 4.55291 2.57001L8.32291 1.25001C8.84291 1.06001 9.41291 1.34001 9.59291 1.86001C9.77291 2.38001 9.50291 2.95001 8.98291 3.13001L5.20291 4.45001C5.09291 4.49001 4.98291 4.51001 4.87291 4.51001H4.88291ZM19.8129 3.89001C20.0229 3.38001 19.7729 2.79001 19.2629 2.59001L15.5529 1.07001C15.0429 0.860007 14.4529 1.11001 14.2529 1.62001C14.0429 2.13001 14.2929 2.72001 14.8029 2.92001L18.5029 4.43001C18.6229 4.48001 18.7529 4.50001 18.8829 4.50001C19.2729 4.50001 19.6529 4.27001 19.8129 3.88001V3.89001ZM3.50291 6.00001C2.64291 6.37001 1.79291 6.88001 1.00291 7.48001C0.79291 7.64001 0.64291 7.87001 0.59291 8.14001C0.48291 8.73001 0.87291 9.29001 1.45291 9.40001C2.04291 9.51001 2.60291 9.12001 2.71291 8.54001C2.87291 7.69001 3.12291 6.83001 3.50291 5.99001V6.00001ZM21.0429 8.55001C21.6029 10.48 24.2429 8.84001 22.7529 7.48001C21.9629 6.88001 21.1129 6.37001 20.2529 6.00001C20.6329 6.84001 20.8829 7.70001 21.0429 8.55001ZM21.5729 13.2C21.2529 14.2 22.5429 15.09 23.3629 14.39C23.8529 14 23.9229 13.29 23.5429 12.81C21.7429 10.67 22.1329 10.55 21.5829 13.2H21.5729ZM1.75291 11C1.22291 11.79 -0.14709 12.64 0.0129102 13.75C0.15291 14.36 0.75291 14.74 1.35291 14.6C2.98291 14.1 1.80291 12.22 1.75291 11ZM19.8829 17C19.8829 13.14 16.2929 10 11.8829 10C7.47291 10 3.88291 13.14 3.88291 17C3.88291 20.86 7.47291 24 11.8829 24C16.2929 24 19.8829 20.86 19.8829 17ZM17.8829 17C17.8829 19.76 15.1929 22 11.8829 22C8.57291 22 5.88291 19.76 5.88291 17C5.88291 14.24 8.57291 12 11.8829 12C15.1929 12 17.8829 14.24 17.8829 17Z"></path></g><defs><clipPath id="clip0_15894_140103"><rect width="24" height="24" fill="white"></rect></clipPath></defs></svg>'},function(e,t){e.exports='<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M7.01915 7C6.46961 7 6.01998 6.55 6.01998 6V2C6.01998 1.45 6.46961 1 7.01915 1C7.56869 1 8.01832 1.45 8.01832 2V6C8.01832 6.55 7.56869 7 7.01915 7ZM18.01 6V2C18.01 1.45 17.5604 1 17.0108 1C16.4613 1 16.0117 1.45 16.0117 2V6C16.0117 6.55 16.4613 7 17.0108 7C17.5604 7 18.01 6.55 18.01 6ZM16.4213 21.58L18.01 19.99L19.2989 21.28C19.6886 21.67 20.3181 21.67 20.7077 21.28C21.0974 20.89 21.0974 20.26 20.7077 19.87L19.4188 18.58C18.6395 17.8 17.3705 17.8 16.5912 18.58L15.0025 20.17L13.4138 18.58C12.6345 17.8 11.3655 17.8 10.5862 18.58L8.9975 20.17L7.40883 18.58C6.62948 17.8 5.36053 17.8 4.58118 18.58L3.29226 19.87C2.90258 20.26 2.90258 20.89 3.29226 21.28C3.68193 21.67 4.31141 21.67 4.70108 21.28L5.99001 19.99L7.57868 21.58C8.35803 22.36 9.62698 22.36 10.4063 21.58L11.995 19.99L13.5837 21.58C13.9734 21.97 14.4829 22.16 14.9925 22.16C15.5021 22.16 16.0117 21.97 16.4013 21.58H16.4213Z"></path></svg>'},function(e,t){e.exports='<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
vendor: 133,808 bytes, line 11
11<path d="M7.06927 7C6.51927 7 6.06927 6.55 6.06927 6V2C6.06927 1.45 6.51927 1 7.06927 1C7.61927 1 8.06927 1.45 8.06927 2V6C8.06927 6.55 7.61927 7 7.06927 7ZM18.0693 6V2C18.0693 1.45 17.6193 1 17.0693 1C16.5193 1 16.0693 1.45 16.0693 2V6C16.0693 6.55 16.5193 7 17.0693 7C17.6193 7 18.0693 6.55 18.0693 6ZM22.5693 21.9C23.0693 21.66 23.2793 21.07 23.0393 20.57C21.1093 16.52 16.9093 14 12.0693 14C7.22927 14 3.02927 16.52 1.09927 20.57C0.859273 21.07 1.06927 21.67 1.56927 21.9C2.06927 22.14 2.65927 21.93 2.89927 21.43C4.49927 18.08 8.00927 16 12.0593 16C16.1093 16 19.6293 18.08 21.2193 21.43C21.3893 21.79 21.7493 22 22.1193 22C22.2593 22 22.4093 21.97 22.5493 21.9H22.5693Z"></path></svg>'},function(e,t){e.exports='<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M7.00572 7C6.45572 7 6.00572 6.55 6.00572 6V2C6.00572 1.45 6.45572 1 7.00572 1C7.55572 1 8.00572 1.45 8.00572 2V6C8.00572 6.55 7.55572 7 7.00572 7ZM18.0057 6V2C18.0057 1.45 17.5557 1 17.0057 1C16.4557 1 16.0057 1.45 16.0057 2V6C16.0057 6.55 16.4557 7 17.0057 7C17.5557 7 18.0057 6.55 18.0057 6ZM19.9457 21.33C20.1257 20.81 19.8557 20.24 19.3357 20.05C14.5457 18.35 9.45572 18.35 4.66572 20.05C4.14572 20.23 3.87572 20.81 4.05572 21.33C4.23572 21.85 4.80572 22.12 5.33572 21.94C9.69572 20.4 14.3057 20.4 18.6657 21.94C18.7757 21.98 18.8857 22 18.9957 22C19.4057 22 19.7957 21.74 19.9357 21.33H19.9457Z"></path></svg>'},function(e,t){e.exports='<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M7 7C6.45 7 6 6.55 6 6V2C6 1.45 6.45 1 7 1C7.55 1 8 1.45 8 2V6C8 6.55 7.55 7 7 7ZM18 6V2C18 1.45 17.55 1 17 1C16.45 1 16 1.45 16 2V6C16 6.55 16.45 7 17 7C17.55 7 18 6.55 18 6ZM21 21C21 20.45 20.55 20 20 20H4C3.45 20 3 20.45 3 21C3 21.55 3.45 22 4 22H20C20.55 22 21 21.55 21 21Z"></path></svg>'},function(e,t){e.exports='<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M12.0022 23.99C11.452 23.99 11.0018 23.5402 11.0018 22.9904C11.0018 22.4407 11.452 21.9909 12.0022 21.9909C16.3137 21.9909 21.0755 19.472 22.0158 13.8344C22.1058 13.2947 22.616 12.9248 23.1662 13.0148C23.7064 13.1047 24.0765 13.6245 23.9865 14.1643C22.8561 20.9513 17.144 24 11.9922 24L12.0022 23.99ZM8.00072 5.99783V1.99957C8.00072 1.4498 7.55056 1 7.00036 1C6.45016 1 6 1.4498 6 1.99957V5.99783C6 6.54759 6.45016 6.99739 7.00036 6.99739C7.55056 6.99739 8.00072 6.54759 8.00072 5.99783ZM18.0043 5.99783V1.99957C18.0043 1.4498 17.5542 1 17.004 1C16.4538 1 16.0036 1.4498 16.0036 1.99957V5.99783C16.0036 6.54759 16.4538 6.99739 17.004 6.99739C17.5542 6.99739 18.0043 6.54759 18.0043 5.99783Z"></path></svg>'},function(e,t){e.exports='<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M12.01 24C6.85721 24 1.15412 20.96 0.0134987 14.16C-0.0765501 13.62 0.293651 13.1 0.833944 13.01C1.38424 12.92 1.89452 13.29 1.98457 13.83C2.92508 19.47 7.69767 21.99 12 21.99C16.3023 21.99 21.0749 19.47 22.0154 13.83C22.1055 13.29 22.6158 12.92 23.1661 13.01C23.7063 13.1 24.0765 13.62 23.9865 14.16C22.8559 20.95 17.1428 24 11.99 24H12.01ZM8.00783 6V2C8.00783 1.45 7.55759 1 7.00729 1C6.45699 1 6.00675 1.45 6.00675 2V6C6.00675 6.55 6.45699 7 7.00729 7C7.55759 7 8.00783 6.55 8.00783 6ZM18.0133 6V2C18.0133 1.45 17.563 1 17.0127 1C16.4624 1 16.0122 1.45 16.0122 2V6C16.0122 6.55 16.4624 7 17.0127 7C17.563 7 18.0133 6.55 18.0133 6Z"></path></svg>'},function(e,t){e.exports='<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M12.01 24C6.85767 24 1.15509 20.96 0.0145752 14.16C-0.0354475 13.87 0.0445888 13.57 0.234675 13.35C0.424761 13.13 0.704888 13 0.995019 13H23.005C23.2951 13 23.5752 13.13 23.7653 13.35C23.9554 13.57 24.0354 13.87 23.9854 14.16C22.8549 20.95 17.1423 24 11.99 24H12.01ZM2.25559 15C3.61621 19.82 8.0182 22 12.01 22C16.0018 22 20.4038 19.82 21.7644 15H2.25559ZM8.00819 6V2C8.00819 1.45 7.55799 1 7.00774 1C6.45749 1 6.00729 1.45 6.00729 2V6C6.00729 6.55 6.45749 7 7.00774 7C7.55799 7 8.00819 6.55 8.00819 6ZM18.0127 6V2C18.0127 1.45 17.5625 1 17.0123 1C16.462 1 16.0118 1.45 16.0118 2V6C16.0118 6.55 16.462 7 17.0123 7C17.5625 7 18.0127 6.55 18.0127 6Z"></path></svg>'},function(e,t){e.exports="<div data-bind=\"css: cssRoot, style:{width: renderedWidth, maxWidth: renderedWidth}, event: { scroll: $data.onScroll }\">\n <div data-bind=\"css: cssRootContent\">\n <div data-bind=\"css: cssHeaderRoot, {cssRootCollapsedMod: isCollapsed}\">\n\n \x3c!-- ko if: isCollapsed && !!locTitle --\x3e \n <div data-bind=\"css: cssHeaderTitleCollapsed, text: locTitle.koRenderedHtml\"></div>\n \x3c!-- /ko --\x3e\n \n <div data-bind=\"css: cssHeaderButtonsContainer\">\n \x3c!-- ko if: allowFullScreen --\x3e \n <div data-bind=\"click:doToggleFullScreen, css: cssHeaderFullScreenButton\">\n \x3c!-- ko if: isFullScreen--\x3e \n \x3c!-- ko component: { name: 'sv-svg-icon', params: { iconName: 'icon-back-to-panel_16x16', size: '16' } } --\x3e\x3c!-- /ko --\x3e\n \x3c!-- /ko --\x3e\n \n \x3c!-- ko if: !isFullScreen--\x3e \n \x3c!-- ko component: { name: 'sv-svg-icon', params: { iconName: 'icon-full-screen_16x16', size: '16' } } --\x3e\x3c!-- /ko --\x3e\n \x3c!-- /ko --\x3e\n </div>\n \x3c!-- /ko --\x3e\n <div data-bind=\"click:doExpand, css: cssHeaderCollapseButton\">\n \x3c!-- ko if: isExpanded--\x3e \n \x3c!-- ko component: { name: 'sv-svg-icon', params: { iconName: 'icon-minimize_16x16', size: '16' } } --\x3e\x3c!-- /ko --\x3e\n \x3c!-- /ko --\x3e\n \n \x3c!-- ko if: isCollapsed--\x3e \n \x3c!-- ko component: { name: 'sv-svg-icon', params: { iconName: 'icon-restore_16x16', size: '16' } } --\x3e\x3c!-- /ko --\x3e\n \x3c!-- /ko --\x3e\n </div>\n \x3c!-- ko if: allowClose --\x3e \n <div data-bind=\"click:doHide, css: cssHeaderCloseButton\">\n \x3c!-- ko component: { name: 'sv-svg-icon', params: { iconName: 'icon-close_16x16', size: '16' } } --\x3e\x3c!-- /ko --\x3e\n </div>\n \x3c!-- /ko --\x3e\n </div>\n </div>\n <div data-bind=\"visible:isExpanded, css: cssBody\">\n <survey params=\"survey: survey\"></survey>\n </div>\n </div>\n</div>"},function(e,t){e.exports="<div data-bind=\"css: cssClasses.controlLabel\">\n \x3c!-- ko template: { name: 'survey-string', data: item.locText } --\x3e\n \x3c!-- /ko --\x3e\n</div>"},function(e,t){e.exports="<textarea data-bind=\"\n attr: { \n id: $data.model.id, \n 'readonly': $data.model.isReadOnlyAttr, \n 'disabled': $data.model.isDisabledAttr, \n maxLength: $data.model.maxLength, \n cols: $data.model.cols, \n rows: $data.model.rows, \n placeholder: $data.model.placeholder, \n 'aria-required': $data.model.ariaRequired,\n 'aria-label': $data.model.ariaLabel,\n 'aria-labelledby': $data.model.ariaLabelledBy, \n 'aria-describedby': $data.model.ariaDescribedBy, \n 'aria-invalid': $data.model.ariaInvalid, \n 'aria-errormessage': $data.model.ariaErrormessage\n }, \n event: { \n focus: function(s, e) { $data.model.onTextAreaFocus(e); return true; }, \n blur: function(s, e) { $data.model.onTextAreaBlur(e); return true; },\n input: function(s, e) { $data.model.onTextAreaInput(e); },\n keydown: function(s, e) { $data.model.onTextAreaKeyDown(e); return true; }\n }, \n value: $data.value, \n css: $data.model.className,\n style: { resize: $data.model.question.resizeStyle },\n\"></textarea>\n"},function(e,t){e.exports="\x3c!-- ko if: model.hasActions --\x3e\n<div\n data-bind=\"css: model.getRootCss(), click: handleClick ? function() { return true; } : undefined, clickBubble: handleClick ? false : undefined\"\n>\n \x3c!-- ko foreach: model.renderedActions --\x3e\n \x3c!-- ko component: { name: 'sv-action', params: { item: $data } } --\x3e\n \x3c!-- /ko --\x3e\n \x3c!--/ko--\x3e\n</div>\n\x3c!--/ko--\x3e\n"},function(e,t){e.exports='\x3c!-- ko with: $data.item --\x3e\r\n<div data-bind="class: $data.getActionRootCss(), attr: { id: $data.id }">\r\n \x3c!-- ko ifnot: $data.isEmpty --\x3e\r\n <div class="sv-action__content">\r\n \x3c!-- ko if: $data.needSeparator --\x3e\r\n <sv-action-bar-separator></sv-action-bar-separator>\r\n \x3c!-- /ko --\x3e\r\n \x3c!-- ko ifnot: $data.template--\x3e\r\n \x3c!-- ko component: { name: $data.component || \'sv-action-bar-item\', params: { item: $data } } --\x3e\r\n \x3c!-- /ko --\x3e\r\n \x3c!-- /ko --\x3e\r\n \x3c!-- ko if: $data.template --\x3e\r\n \x3c!-- ko template: { name: $data.template, data: $data.data || $data } --\x3e\r\n \x3c!-- /ko --\x3e\r\n \x3c!-- /ko --\x3e\r\n </div>\r\n \x3c!-- /ko --\x3e\r\n</div>\r\n\x3c!-- /ko --\x3e'},function(e,t){e.exports="\x3c!-- ko with: $data.item --\x3e\n<button\n type=\"button\"\n data-bind=\"click: function(s, args) { $data.doAction(args); }, key2click: { processEsc: false }, disable: $data.disabled, css: getActionBarItemCss(), attr: { title: $data.tooltip || $data.title, 'aria-checked': $data.ariaChecked, 'role': $data.ariaRole, 'aria-expanded': typeof $data.ariaExpanded === 'undefined' ? null : ($data.ariaExpanded ? 'true': 'false') }\"\n>\n \x3c!-- ko if: $data.iconName --\x3e\n \x3c!-- ko component: { name: 'sv-svg-icon', params: { css: $data.cssClasses.itemIcon, iconName: iconName, size: iconSize, title: $data.tooltip || $data.title } } --\x3e\x3c!-- /ko --\x3e\n \x3c!-- /ko --\x3e\n \x3c!-- ko if: $data.hasTitle --\x3e\n <span\n data-bind=\"text: title, css: getActionBarItemTitleCss()\"\n ></span>\n \x3c!-- /ko --\x3e\n</button>\n\x3c!-- /ko --\x3e"},function(e,t){e.exports='\x3c!-- ko with: $data.model.item --\x3e\n<button type="button"\n data-bind="click: function(s, args) { $data.action($data, getIsTrusted(args)); }, key2click: { processEsc: false }, css: getActionBarItemCss(), attr: { disabled: $data.enabled !== undefined && !ko.unwrap($data.enabled), title: $data.tooltip || $data.title, \'role\': $data.ariaRole }">\n \x3c!-- ko if: $data.iconName --\x3e\n \x3c!-- ko component: { name: \'sv-svg-icon\', params: { iconName: iconName, size: iconSize, title: $data.tooltip || $data.title, css: $data.cssClasses.itemIcon } } --\x3e\n \x3c!-- /ko --\x3e\n \x3c!-- /ko --\x3e\n \x3c!-- ko if: $data.hasTitle --\x3e\n <span data-bind="text: title, css: getActionBarItemTitleCss()"></span>\n \x3c!-- /ko --\x3e\n</button>\n<sv-popup params="{ model: popupModel }"></sv-popup>\n\x3c!-- /ko --\x3e'},function(e,t){e.exports='<div class="sv-action-bar-separator" data-bind="css: $data.css"></div>'},function(e,t){e.exports='<div data-bind="css: question.cssClasses.rootCheckbox">\n <div data-bind="css: question.getCheckboxItemCss()">\n <label data-bind="css: question.cssClasses.checkboxLabel">\n <input\n type="checkbox"\n data-bind="value: question.booleanValue, css: question.cssClasses.controlCheckbox, attr: {name: question.name, id: question.inputId, \'aria-required\': question.ariaRequired, \'aria-label\': question.ariaLabel, \'aria-invalid\': question.ariaInvalid, \'aria-errormessage\': question.ariaErrormessage, readonly: question.isReadOnlyAttr}, checked: question.booleanValue, surveyProp: {indeterminate: question.isIndeterminate}, enable: !question.isDisabledAttr"\n />\n <span data-bind="css: question.cssClasses.checkboxMaterialDecorator">\n \x3c!-- ko if: question.svgIcon --\x3e\n <svg data-bind="css:question.cssClasses.checkboxItemDecorator">\n <use data-bind="attr:{\'xlink:href\':question.svgIcon}" xlink:href=\'\'></use>\n </svg>\n \x3c!-- /ko --\x3e\n <span class="check"></span>\n </span>\n <span\n data-bind="if: question.isLabelRendered, css: question.cssClasses.checkboxControlLabel, attr: {id: question.labelRenderedAriaID}"\n >\n \x3c!-- ko component: { name: \'sv-title-actions\', params: {element: question } } --\x3e\x3c!-- /ko --\x3e\n </span>\n </label>\n \x3c!-- ko if: question.canRenderLabelDescription --\x3e\n <div data-bind="css: question.cssDescription, attr: {\'id\': question.ariaDescriptionId}">\n \x3c!-- ko template: { name: \'survey-string\', data: question.locDescription } --\x3e\n \x3c!-- /ko --\x3e\n </div>\n \x3c!-- /ko --\x3e\n </div>\n</div>\n'},function(e,t){e.exports=' <div role="presentation" data-bind="class: question.getRadioItemClass(question.cssClasses, $data.value)">\n <label data-bind="css: question.cssClasses.radioLabel">\n <input\n type="radio"\n data-bind="event: { change: handleChange }, attr: { name: question.name, \'aria-errormessage\': question.ariaErrormessage, value: \'\'+$data.value, checked: $data.value === question.booleanValue, readonly: question.isReadOnlyAttr }, enable: !question.isDisabledAttr, css: question.cssClasses.itemRadioControl"\n />\n \x3c!-- ko if: question.cssClasses.materialRadioDecorator --\x3e\n <span data-bind="css: question.cssClasses.materialRadioDecorator">\n \x3c!-- ko if: question.itemSvgIcon --\x3e\n <svg data-bind="css:question.cssClasses.itemRadioDecorator">\n <use data-bind="attr:{\'xlink:href\':question.itemSvgIcon}" xlink:href=\'\'></use>\n </svg>\n \x3c!-- /ko --\x3e\n </span>\n \x3c!-- /ko --\x3e\n <span data-bind="css: question.cssClasses.radioControlLabel">\n \x3c!-- ko template: { name: \'survey-string\', data: $data.locText } --\x3e\n \x3c!-- /ko --\x3e\n </span>\n </label>\n </div>\n\n'},function(e,t){e.exports="<div data-bind=\"css: question.cssClasses.rootRadio\">\n <fieldset role=\"presentation\" data-bind=\"css: question.cssClasses.radioFieldset\">\n \x3c!-- ko ifnot: question.swapOrder --\x3e\n \x3c!-- ko component: { name: 'sv-boolean-radio-item', params: { value: false, locText: question.locLabelFalse, question: question } } --\x3e\x3c!-- /ko --\x3e\n \x3c!-- ko component: { name: 'sv-boolean-radio-item', params: { value: true, locText: question.locLabelTrue, question: question } } --\x3e\x3c!-- /ko --\x3e\n \x3c!-- /ko --\x3e\n \x3c!-- ko if: question.swapOrder --\x3e\n \x3c!-- ko component: { name: 'sv-boolean-radio-item', params: { value: true, locText: question.locLabelTrue, question: question } } --\x3e\x3c!-- /ko --\x3e\n \x3c!-- ko component: { name: 'sv-boolean-radio-item', params: { value: false, locText: question.locLabelFalse, question: question } } --\x3e\x3c!-- /ko --\x3e\n \x3c!-- /ko --\x3e\n </fieldset>\n</div>\n"},function(e,t){e.exports="\x3c!-- ko template: { name: 'survey-panel', data: question, as: 'question', afterRender: question.koPanelAfterRender } --\x3e\x3c!-- /ko --\x3e"},function(e,t){e.exports='<div>\n \x3c!-- ko with: popupViewModel --\x3e\n <div class="sv-popup" tabindex="-1"\n data-bind="visible: isVisible, click: function(data, event) { clickOutside(event); return true; }, class: styleClass, event: { keydown: function(data, event) { onKeyDown(event); return true; } }">\n <div class="sv-popup__container"\n data-bind="style: { left: left, top: top, height: height, minWidth: minWidth, width: width }, click: function() { return true; }, clickBubble: false">\n \x3c!-- ko if: $data.showHeader --\x3e\n \x3c!-- ko template: { name: $data.popupHeaderTemplate, data: $data } --\x3e\n \x3c!-- /ko --\x3e\n \x3c!-- /ko --\x3e\n <div class="sv-popup__body-content">\n \x3c!-- ko if: !!title --\x3e\n <div class="sv-popup__body-header" data-bind="text: title"></div>\n \x3c!-- /ko --\x3e\n <div class="sv-popup__scrolling-content">\n <div class="sv-popup__content"\n data-bind="component: { name: contentComponentName, params: contentComponentData }"></div>\n </div>\n \x3c!-- ko if: showFooter --\x3e\n <div class="sv-popup__body-footer">\n \x3c!-- ko component: { name: "sv-action-bar", params: { model: $data.footerToolbar } } --\x3e\n \x3c!-- /ko --\x3e\n </div>\n \x3c!-- /ko --\x3e\n </div>\n </div>\n </div>\n \x3c!-- /ko --\x3e\n</div>\n'},function(e,t){e.exports='<div data-bind="css: model.getRootCss(container), style: { maxWidth: model.progressWidth }" role="progressbar" aria-valuemin="0" aria-valuemax="100" aria-label="progress">\n \x3c!-- ko if: canShowHeader --\x3e\n <div data-bind="css: survey.css.progressButtonsHeader">\n <div data-bind="css: survey.css.progressButtonsPageTitle, text: model.headerText, attr: { title: model.headerText }"></div>\n </div>\n \x3c!-- /ko --\x3e\n <div data-bind="css: survey.css.progressButtonsContainer">\n <div data-bind="css: getScrollButtonCss(true), click: clickScrollButton.bind($data, $element.nextElementSibling, true)" role="button"></div>\n <div data-bind="css: survey.css.progressButtonsListContainer">\n <ul data-bind="foreach: survey.visiblePages, css: survey.css.progressButtonsList">\n <li data-bind="css: $parent.model.getListElementCss($index()), click: $parent.model.isListElementClickable($index()) ? $parent.model.clickListElement : null, attr: { \'data-page-number\' : $parent.model.getItemNumber($data) }">\n <div data-bind="css: css.progressButtonsConnector"></div>\n \x3c!-- ko if: $parent.canShowItemTitles --\x3e\n <div data-bind="css: css.progressButtonsPageTitle, attr: { title: renderedNavigationTitle }">\x3c!-- ko template: { name: \'survey-string\', data: locNavigationTitle } --\x3e\x3c!-- /ko --\x3e</div>\n <div data-bind="css: css.progressButtonsPageDescription, text: locNavigationDescription.koRenderedHtml(), attr: { title: locNavigationDescription.koRenderedHtml() }"></div>\n \x3c!-- /ko --\x3e\n <div data-bind="css: css.progressButtonsButton"><div data-bind="css: css.progressButtonsButtonBackground"></div><div data-bind="css: css.progressButtonsButtonContent"></div><span data-bind="text: $parent.model.getItemNumber($data)"></span></div>\n </li>\n </ul>\n </div>\n <div data-bind="css: getScrollButtonCss(false), click: clickScrollButton.bind($data, $element.previousElementSibling, false)" role="button"></div>\n </div>\n \x3c!-- ko if: canShowFooter --\x3e\n <div data-bind="css: survey.css.progressButtonsFooter">\n <div data-bind="css: survey.css.progressButtonsPageTitle, text: model.footerText, attr: { title: model.footerText }"></div>\n </div>\n \x3c!-- /ko --\x3e\n</div>'},function(e,t){e.exports='<div data-bind="css: getProgressCssClasses()">\n <div data-bind="css: model.css.progressBar, style: { width: model.progressValue + \'%\' }"\n role="progressbar" aria-valuemin="0" aria-valuemax="100" aria-label="progress">\n <span data-bind="text: model.progressText, css: getProgressTextInBarCss(model.css)"></span>\n </div>\n <span data-bind="text: model.progressText, css: getProgressTextUnderBarCss(model.css)"></span>\n</div>'},function(e,t){e.exports='\x3c!-- ko with: tocModel --\x3e\n<div data-bind="css: containerCss">\n \x3c!-- ko ifnot: isMobile --\x3e\n <sv-list params="model: listModel"></sv-list>\n \x3c!-- /ko --\x3e\n \x3c!-- ko if: isMobile --\x3e\n <div class="" data-bind="click: togglePopup, key2click">\n <sv-svg-icon class="" params="iconName: icon, size: 24"></sv-svg-icon>\n <sv-popup params="model: popupModel"></sv-popup>\n </div>\n \x3c!-- /ko --\x3e\n</div>\n\x3c!-- /ko --\x3e'},function(e,t){e.exports='\x3c!-- ko if: components.length > 0 --\x3e\n\x3c!-- ko if: $data.needRenderWrapper --\x3e\n<div data-bind="css: css">\n \x3c!-- ko foreach: components --\x3e\n \x3c!-- ko if: $data.component && !$data.template --\x3e\n \x3c!-- ko component: { name: component, params: { survey: $parent.survey, model: $data.data, container: $parent.container } } --\x3e\n \x3c!-- /ko --\x3e\n \x3c!-- /ko --\x3e\n \x3c!-- ko if: $data.template --\x3e\n \x3c!-- ko template: { name: template, data: $data.data } --\x3e\n \x3c!-- /ko --\x3e\n \x3c!-- /ko --\x3e\n \x3c!-- /ko --\x3e\n</div>\n\x3c!-- /ko --\x3e\n\x3c!-- ko ifnot: $data.needRenderWrapper --\x3e\n \x3c!-- ko foreach: components --\x3e\n \x3c!-- ko if: $data.component && !$data.template --\x3e\n \x3c!-- ko component: { name: component, params: { survey: $parent.survey, model: $data.data, container: $parent.container } } --\x3e\n \x3c!-- /ko --\x3e\n \x3c!-- /ko --\x3e\n \x3c!-- ko if: $data.template --\x3e\n \x3c!-- ko template: { name: template, data: $data.data } --\x3e\n \x3c!-- /ko --\x3e\n \x3c!-- /ko --\x3e\n \x3c!-- /ko --\x3e\n\x3c!-- /ko --\x3e\n\x3c!-- /ko --\x3e'},function(e,t){e.exports="\x3c!-- ko if: templateData.name --\x3e\n \x3c!-- ko template: { name: templateData.name, data: templateData.data, afterRender: templateData.afterRender } --\x3e\n \x3c!-- /ko --\x3e\n\x3c!-- /ko --\x3e\n\x3c!-- ko ifnot: templateData.name --\x3e\n \x3c!-- ko template: { nodes: templateData.nodes || $componentTemplateNodes, data: templateData.data, afterRender: templateData.afterRender } --\x3e\n \x3c!-- /ko --\x3e\n\x3c!-- /ko --\x3e\n"},function(e,t){e.exports="\x3c!-- ko if: element.isTitleRenderedAsString --\x3e\n \x3c!-- ko template: { name: 'survey-string', data: element.locTitle } --\x3e\x3c!-- /ko --\x3e\n\x3c!-- /ko --\x3e\n\x3c!-- ko ifnot: element.isTitleRenderedAsString --\x3e\n \x3c!-- ko if: element.isRequireTextOnStart --\x3e\n <span\n data-bind=\"css: element.cssRequiredText, text: element.requiredText, attr: { 'aria-hidden': true }\"\n ></span>\n \x3c!-- /ko --\x3e\n \x3c!-- ko if: element.no --\x3e\n <span\n style=\"position: static;\"\n data-bind=\"css: element.cssTitleNumber, text: element.no, attr: { 'aria-hidden': true }\"\n ></span>\n <span> </span>\n \x3c!-- /ko --\x3e\n \x3c!-- ko if: element.isRequireTextBeforeTitle --\x3e\n <span\n data-bind=\"css: element.cssRequiredText, text: element.requiredText, attr: { 'aria-hidden': true }\"\n ></span>\n <span> </span>\n \x3c!-- /ko --\x3e\n \x3c!-- ko template: { name: 'survey-string', data: element.locTitle } --\x3e\x3c!-- /ko --\x3e\n \x3c!-- ko if: element.isRequireTextAfterTitle --\x3e\n <span> </span>\n <span\n data-bind=\"css: element.cssRequiredText, text: element.requiredText, attr: { 'aria-hidden': true }\"\n ></span>\n \x3c!-- /ko --\x3e\n\x3c!-- /ko --\x3e"},function(e,t){e.exports="\x3c!-- ko ifnot: element.hasTitleActions --\x3e\n \x3c!-- ko component: { name: 'survey-element-title-content', params: {element: element } } --\x3e\x3c!-- /ko --\x3e\n\x3c!-- /ko --\x3e\n\x3c!-- ko if: element.hasTitleActions --\x3e\n<div class=\"sv-title-actions\">\n <span class=\"sv-title-actions__title\">\n \x3c!-- ko component: { name: 'survey-element-title-content', params: {element: element } } --\x3e\x3c!-- /ko --\x3e\n </span>\n \x3c!-- ko component: { name: 'sv-action-bar', params: { model: toolbar } } --\x3e\n \x3c!-- /ko --\x3e\n</div>\n\x3c!-- /ko --\x3e"},function(e,t){e.exports='\x3c!-- <input class="sv-string-editor" data-bind="value: editValue" /> --\x3e\n\n\x3c!-- ko ifnot: koHasHtml --\x3e\n<span class="sv-string-editor" data-bind="text: editValue, event: { blur: onInput, click: onClick, clickBubble: false }" contenteditable="true"></span>\n\x3c!-- /ko --\x3e\n\x3c!-- ko if: koHasHtml --\x3e\n<span class="sv-string-editor" data-bind="html: editValue, event: { blur: onInput, click: onClick, clickBubble: false }" contenteditable="true"></span>\n\x3c!-- /ko --\x3e'},function(e,t){e.exports='\x3c!-- ko ifnot: locString.koHasHtml --\x3e\n<span class="sv-string-viewer" data-bind="text: locString.koRenderedHtml, css: {\'sv-string-viewer--multiline\': locString.allowLineBreaks}"></span>\n\x3c!-- /ko --\x3e\n\x3c!-- ko if: locString.koHasHtml --\x3e\n<span class="sv-string-viewer" data-bind="html: locString.koRenderedHtml, css: {\'sv-string-viewer--multiline\': locString.allowLineBreaks}"></span>\n\x3c!-- /ko --\x3e'},function(e,t){e.exports='\x3c!-- ko with: survey --\x3e\n<div data-bind="css: logoClassNames">\n <img data-bind="css: css.logoImage, attr: { src: locLogo.koRenderedHtml, width: renderedLogoWidth, height: renderedLogoHeight, alt: locTitle.renderedHtml }, style: { objectFit: logoFit, width: renderedStyleLogoWidth, height: renderedStyleLogoHeight }">\n</div>\n\x3c!-- /ko --\x3e'},function(e,t){e.exports='<div class="sv-skeleton-element" data-bind="attr: { id: element.id }, style: { height: element.skeletonHeight }">\n</div>'},function(e,t){e.exports='<div data-bind="text: counter.remainingCharacterCounter, css: remainingCharacterCounter"></div>'},function(e,t){e.exports="<div data-bind=\"css: question.cssClasses.rootDropdown\">\n \x3c!-- ko component: { name: 'sv-dropdown', params: { question: question } } --\x3e\n \x3c!-- /ko --\x3e\n</div>\n"},function(e,t){e.exports='<div class="sd-rating-dropdown-item">\n <span class="sd-rating-dropdown-item_text" data-bind="text: item.title"></span>\n \x3c!-- ko if: !!item.description --\x3e\n <div class="sd-rating-dropdown-item_description">\n \x3c!-- ko template: { name: \'survey-string\', data: item.description } --\x3e\n \x3c!-- /ko --\x3e\n </div>\n \x3c!-- /ko --\x3e\n</div>'},function(e,t){e.exports="<label data-bind=\"css: question.getItemClassByText(item.itemValue, item.text), event: { mousedown: question.koMouseDown }\">\n <input\n type=\"radio\"\n class=\"sv-visuallyhidden\"\n data-bind=\"attr: { name: question.questionName, id: question.getInputId(index), value: item.value, readonly: question.isReadOnlyAttr, 'aria-required': question.ariaRequired, 'aria-label': question.ariaLabel, 'aria-invalid': question.ariaInvalid, 'aria-errormessage': question.ariaErrormessage }, checkedValue: item.value, enable: !question.isDisabledAttr, event: { click: function(data, event) { question.setValueFromClick(event.target.value); return true; } }\"\n />\n <span data-bind=\"css: question.cssClasses.itemText, attr: {'data-text': item.text }\">\n \x3c!-- ko template: { name: 'survey-string', data: item.locText } --\x3e\n \x3c!-- /ko --\x3e\n </span>\n</label>\n"},function(e,t){e.exports="<label data-bind=\"css: question.getItemClass(item.itemValue, item.highlight), event: { mouseover: function () { question.onItemMouseIn(item); }, mouseleave: function () { question.onItemMouseOut(item);}, mousedown: question.koMouseDown }\">\n <input\n type=\"radio\"\n class=\"sv-visuallyhidden\"\n data-bind=\"attr: { name: question.questionName, id: question.getInputId(index), value: item.value, readonly: question.isReadOnlyAttr, 'aria-required': question.ariaRequired, 'aria-label': question.ariaLabel, 'aria-invalid': question.ariaInvalid, 'aria-errormessage': question.ariaErrormessage }, checkedValue: item.value, enable: !question.isDisabledAttr, event: { click: function(data, event) { question.setValueFromClick(event.target.value); return true; } }\"\n />\n \x3c!-- ko component: { name: 'sv-svg-icon', params: { css: 'sv-star', iconName: question.itemStarIcon, size: 'auto', title: item.text } } --\x3e\x3c!-- /ko --\x3e\n \x3c!-- ko component: { name: 'sv-svg-icon', params: { css: 'sv-star-2', iconName: question.itemStarIconAlt, size: 'auto', title: item.text } } --\x3e\x3c!-- /ko --\x3e\n</label>"},function(e,t){e.exports="<label data-bind=\"style: question.getItemStyle(item.itemValue, item.highlight), css: question.getItemClass(item.itemValue, item.highlight), event: { mouseover: function () { question.onItemMouseIn(item); }, mouseleave: function () { question.onItemMouseOut(item);}, mousedown: question.koMouseDown }\">\n <input\n type=\"radio\"\n class=\"sv-visuallyhidden\"\n data-bind=\"attr: { name: question.questionName, id: question.getInputId(index), value: item.value, readonly: question.isReadOnlyAttr, 'aria-required': question.ariaRequired, 'aria-label': question.ariaLabel, 'aria-invalid': question.ariaInvalid, 'aria-errormessage': question.ariaErrormessage }, checkedValue: item.value, enable: !question.isDisabledAttr, event: { click: function(data, event) { question.setValueFromClick(event.target.value); return true; } }\"\n />\n \x3c!-- ko component: { name: 'sv-svg-icon', params: { iconName: question.getItemSmileyIconName(item.itemValue), size: 'auto', title: item.text } } --\x3e\x3c!-- /ko --\x3e\n</label>"},function(e,t){e.exports="<div data-bind=\"css: question.cssClasses.selectWrapper, click: click\">\n \x3c!-- ko ifnot: question.isReadOnly --\x3e\n <div data-bind=\"css: question.getControlClass(),\n event: { keydown: keyhandler, blur: blur },\n attr: { \n id: question.inputId, \n required: question.isRequired, \n tabindex: model.noTabIndex ? undefined : 0,\n disabled: question.isDisabledAttr,\n role: question.ariaRole,\n 'aria-required': question.ariaRequired, \n 'aria-label': question.ariaLabel, \n 'aria-invalid': question.ariaInvalid, \n 'aria-errormessage': question.ariaErrormessage,\n 'aria-expanded': question.ariaExpanded,\n 'aria-controls': model.listElementId,\n 'aria-activedescendant': model.ariaActivedescendant,\n },\">\n \x3c!-- ko if: model.showHintPrefix --\x3e\n <div data-bind=\"css: question.cssClasses.hintPrefix\">\n <span data-bind=\"text: model.hintStringPrefix\"></span>\n </div>\n \x3c!-- /ko --\x3e\n <div data-bind=\"css: question.cssClasses.controlValue\">\n \x3c!-- ko if: model.showHintString --\x3e\n <div data-bind=\"css: question.cssClasses.hintSuffix\">\n <span style=\"visibility: hidden\" data-bind=\"text: model.inputStringRendered\"></span>\n <span data-bind=\"text: model.hintStringSuffix\"></span>\n </div>\n \x3c!-- /ko --\x3e\n \x3c!-- ko if: question.showInputFieldComponent --\x3e\n \x3c!-- ko component: { name: question.inputFieldComponentName, params: { item: model.getSelectedAction(), question: question } } --\x3e\n \x3c!-- /ko --\x3e\n \x3c!-- /ko --\x3e\n \x3c!-- ko if: question.showSelectedItemLocText --\x3e\n \x3c!-- ko template: { name: 'survey-string', data: question.selectedItemLocText } --\x3e\n \x3c!-- /ko --\x3e\n \x3c!-- /ko --\x3e\n <input type=\"text\" autocomplete=\"off\" data-bind=\"\n textInput: model.inputStringRendered, \n css: question.cssClasses.filterStringInput, \n attr: {\n 'aria-expanded': question.ariaExpanded,\n 'aria-controls': model.listElementId,\n 'aria-activedescendant': model.ariaActivedescendant,\n 'aria-label': question.a11y_input_ariaLabel,\n 'aria-labelledby': question.a11y_input_ariaLabelledBy,\n 'aria-describedby': question.a11y_input_ariaDescribedBy,\n placeholder: model.placeholderRendered, \n readonly: model.filterReadOnly || undefined, \n role: model.filterStringEnabled ? question.ariaRole : undefined,\n tabindex: model.noTabIndex ? undefined : -1,\n disabled: question.isDisabledAttr,\n id: question.getInputId(), \n inputmode: model.inputMode\n },\n event: { blur: blur, focus: focus }\"></input>\n </div>\n \x3c!-- ko if: (question.allowClear && question.cssClasses.cleanButtonIconId) --\x3e\n <div data-bind=\"css: question.cssClasses.cleanButton, click: clear, visible: question.showClearButton\" aria-hidden=\"true\">\n \x3c!-- ko component: { name: 'sv-svg-icon', params: { css: question.cssClasses.cleanButtonSvg, iconName: question.cssClasses.cleanButtonIconId, size: 'auto', title: question.clearCaption } } --\x3e\n \x3c!-- /ko --\x3e\n </div>\n \x3c!-- /ko --\x3e\n </div>\n \x3c!-- ko component: { name: \"sv-popup\", params: { model: model.popupModel }} --\x3e\n \x3c!-- /ko --\x3e\n \x3c!-- /ko --\x3e\n \x3c!-- ko if: question.isReadOnly --\x3e\n <div data-bind=\"css: question.getControlClass(), attr: { \n id: question.inputId,\n 'aria-label': question.a11y_input_ariaLabel,\n 'aria-labelledby': question.a11y_input_ariaLabelledBy,\n 'aria-describedby': question.a11y_input_ariaDescribedBy,\n tabindex: model.isDisabledAttr ? undefined : 0,\n disabled: model.isDisabledAttr\n } \">\n \x3c!-- ko if: question.locReadOnlyText --\x3e\n \x3c!-- ko template: { name: 'survey-string', data: question.locReadOnlyText } --\x3e\n \x3c!-- /ko --\x3e\n \x3c!-- /ko --\x3e\n </div>\n \x3c!-- /ko --\x3e\n \x3c!-- ko if: question.cssClasses.chevronButtonIconId --\x3e\n <div data-bind=\"css: question.cssClasses.chevronButton, event: {pointerdown: chevronPointerDown}\" aria-hidden=\"true\">\n \x3c!-- ko component: { name: 'sv-svg-icon', params: { css: question.cssClasses.chevronButtonSvg, iconName: question.cssClasses.chevronButtonIconId, size: 'auto' } } --\x3e\n \x3c!-- /ko --\x3e\n </div>\n \x3c!-- /ko --\x3e\n</div>"},function(e,t){e.exports="<div data-bind=\"css: question.renderCssRoot\">\n <div data-bind=\"css: question.cssClasses.selectWrapper\">\n \x3c!-- ko ifnot: question.isReadOnly --\x3e\n <select data-bind=\"options: question.visibleChoices, \n optionsValue: 'value', \n optionsText: 'koText', \n optionsCaption: question.allowClear ? question.locPlaceholder.koRenderedHtml : undefined, \n optionsAfterRender: question.koDisableOption, \n attr: {id: question.inputId, autocomplete: question.autocomplete, required: question.isRequired, 'aria-required': question.ariaRequired, 'aria-label': question.ariaLabel, 'aria-invalid': question.ariaInvalid, 'aria-errormessage': question.ariaErrormessage},\n click: click,\n event: { keyup: keyup },\n disable: question.isInputReadOnly, \n value: question.renderedValue, \n valueAllowUnset: true, \n css: question.getControlClass()\">\n </select>\n \x3c!-- /ko --\x3e\n \x3c!-- ko if: question.isReadOnly --\x3e\n <div disabled\n data-bind=\"attr: {id: question.inputId}, text: question.readOnlyText, css: question.getControlClass()\">\n </div>\n \x3c!-- /ko --\x3e\n \x3c!-- ko if: question.cssClasses.chevronButtonIconId --\x3e\n <div data-bind=\"css: question.cssClasses.chevronButton\">\n \x3c!-- ko component: { name: 'sv-svg-icon', params: { css: question.cssClasses.chevronButtonSvg, iconName: question.cssClasses.chevronButtonIconId, size: 'auto' } } --\x3e\n \x3c!-- /ko --\x3e\n </div>\n \x3c!-- /ko --\x3e\n </div>\n \x3c!-- ko if: question.isOtherSelected --\x3e\n <div data-bind=\"css: question.getCommentAreaCss(true), template: { name: 'survey-other', data: {'question': question, 'visible': question.isOtherSelected } }, style: {display: question.isFlowLayout ? 'inline': ''}\">\n </div>\n \x3c!-- /ko --\x3e\n</div>"},function(e,t){e.exports='<div class="sv-tagbox__item">\n <div class="sv-tagbox__item-text">\n \x3c!-- ko template: { name: \'survey-string\', data: item.locText } --\x3e\n \x3c!-- /ko --\x3e\n </div>\n <div data-bind="css: question.cssClasses.cleanItemButton, click: removeItem">\n <sv-svg-icon params="iconName: question.cssClasses.cleanItemButtonIconId, css: question.cssClasses.cleanItemButtonSvg, size:\'auto\' "></sv-svg-icon>\n </div>\n</div>'},function(e,t){e.exports="<div data-bind=\"css: question.cssClasses.selectWrapper, click: click\">\n \x3c!-- ko ifnot: question.isReadOnly --\x3e\n <div data-bind=\"css: question.getControlClass(),\n event: { keydown: keyhandler, blur: blur },\n attr: { \n id: question.inputId, \n required: question.isRequired, \n tabindex: model.noTabIndex ? undefined : 0,\n disabled: question.isDisabledAttr,\n role: question.ariaRole,\n 'aria-required': question.ariaRequired, \n 'aria-label': question.ariaLabel, \n 'aria-invalid': question.ariaInvalid, \n 'aria-errormessage': question.ariaErrormessage,\n 'aria-expanded': question.ariaExpanded,\n 'aria-controls': model.listElementId,\n 'aria-activedescendant': model.ariaActivedescendant, \n },\">\n <div data-bind=\"css: question.cssClasses.controlValue\">\n \x3c!-- ko foreach: question.selectedChoices --\x3e\n \x3c!-- ko component: { name: 'sv-tagbox-item', params: { item: $data, question: question } } --\x3e\n \x3c!-- /ko --\x3e\n \x3c!-- /ko --\x3e\n <div data-bind=\"css: question.cssClasses.hint\">\n \x3c!-- ko if: model.showHintPrefix --\x3e\n <div data-bind=\"css: question.cssClasses.hintPrefix\">\n <span data-bind=\"text: model.hintStringPrefix\"></span>\n </div>\n \x3c!-- /ko --\x3e\n <div data-bind=\"css: question.cssClasses.hintSuffixWrapper\">\n \x3c!-- ko if: model.showHintString --\x3e\n <div data-bind=\"css: question.cssClasses.hintSuffix\">\n <span style=\"visibility: hidden\" data-bind=\"text: model.inputStringRendered\"></span>\n <span data-bind=\"text: model.hintStringSuffix\"></span>\n </div>\n \x3c!-- /ko --\x3e\n <input type=\"text\" autocomplete=\"off\" data-bind=\"textInput: model.inputStringRendered, \n css: question.cssClasses.filterStringInput, \n attr: { \n inputmode: model.inputMode,\n size: !model.inputStringRendered ? 1 : null, \n id: question.getInputId(), \n role: model.filterStringEnabled ? question.ariaRole : undefined,\n 'aria-expanded': question.ariaExpanded,\n 'aria-controls': model.listElementId,\n 'aria-activedescendant': model.ariaActivedescendant,\n 'aria-label': question.a11y_input_ariaLabel,\n 'aria-labelledby': question.a11y_input_ariaLabelledBy,\n 'aria-describedby': question.a11y_input_ariaDescribedBy,\n placeholder: model.filterStringPlaceholder, \n disabled: question.isDisabledAttr,\n readonly: model.filterReadOnly\n },\n event: { keydown: inputKeyHandler, blur: blur, focus: focus }\"></input>\n </div>\n </div>\n </div>\n \x3c!-- ko if: (question.allowClear && question.cssClasses.cleanButtonIconId) --\x3e\n <div data-bind=\"css: question.cssClasses.cleanButton, click: clear, visible: question.showClearButton\" aria-hidden=\"true\">\n \x3c!-- ko component: { name: 'sv-svg-icon', params: { css: question.cssClasses.cleanButtonSvg, iconName: question.cssClasses.cleanButtonIconId, size: 'auto', title: question.clearCaption } } --\x3e\n \x3c!-- /ko --\x3e\n </div>\n \x3c!-- /ko --\x3e\n </div>\n \x3c!-- ko component: { name: \"sv-popup\", params: { model: model.popupModel }} --\x3e\n \x3c!-- /ko --\x3e\n \x3c!-- /ko --\x3e\n \x3c!-- ko if: question.isReadOnly --\x3e\n <div disabled data-bind=\"css: question.getControlClass(), attr: {\n id: question.inputId,\n 'aria-label': question.a11y_input_ariaLabel,\n 'aria-labelledby': question.a11y_input_ariaLabelledBy,\n 'aria-describedby': question.a11y_input_ariaDescribedBy,\n tabindex: model.isDisabledAttr ? undefined : 0,\n disabled: model.isDisabledAttr } \">\n \x3c!-- ko if: question.locReadOnlyText --\x3e\n \x3c!-- ko template: { name: 'survey-string', data: question.locReadOnlyText } --\x3e\n \x3c!-- /ko --\x3e\n \x3c!-- /ko --\x3e\n </div>\n \x3c!-- /ko --\x3e\n \x3c!-- ko if: question.cssClasses.chevronButtonIconId --\x3e\n <div data-bind=\"css: question.cssClasses.chevronButton, event: {pointerdown: chevronPointerDown}\" aria-hidden=\"true\">\n \x3c!-- ko component: { name: 'sv-svg-icon', params: { css: question.cssClasses.chevronButtonSvg, iconName: question.cssClasses.chevronButtonIconId, size: 'auto' } } --\x3e\n \x3c!-- /ko --\x3e\n </div>\n \x3c!-- /ko --\x3e\n</div>"},function(e,t){e.exports='<div data-bind="css: css, style: style">\n <div class="sv-header__cell-content" data-bind="style: contentStyle">\n \x3c!-- ko if: showLogo --\x3e\n <div class="sv-header__logo">\n \x3c!-- ko component: { name: survey.getElementWrapperComponentName(survey, \'logo-image\'), params: survey.getElementWrapperComponentData(survey, \'logo-image\') } --\x3e\n \x3c!-- /ko --\x3e\n </div>\n \x3c!-- /ko --\x3e\n \x3c!-- ko if: showTitle --\x3e\n <div class="sv-header__title" data-bind="style: { maxWidth: textAreaWidth }">\n \x3c!-- ko component: { name: \'survey-element-title\', params: { element: survey } } --\x3e\n \x3c!-- /ko --\x3e\n </div>\n \x3c!-- /ko --\x3e\n \x3c!-- ko if: showDescription --\x3e\n <div class="sv-header__description" data-bind="style: { maxWidth: textAreaWidth }">\n <div data-bind="css: survey.css.description">\n \x3c!-- ko template: { name: \'survey-string\', data: survey.locDescription } --\x3e\n \x3c!-- /ko --\x3e\n </div>\n </div>\n \x3c!-- /ko --\x3e\n </div>\n</div>\n'},function(e,t){e.exports='<div class="sv-header--mobile">\n \x3c!-- ko if: survey.hasLogo --\x3e\n <div class="sv-header__logo">\n \x3c!-- ko component: { name: survey.getElementWrapperComponentName(survey, \'logo-image\'), params: survey.getElementWrapperComponentData(survey, \'logo-image\') } --\x3e\n \x3c!-- /ko --\x3e\n </div>\n \x3c!-- /ko --\x3e\n \x3c!-- ko if: survey.hasTitle --\x3e\n <div class="sv-header__title" data-bind="style: { maxWidth: textAreaWidth }">\n \x3c!-- ko component: { name: \'survey-element-title\', params: { element: survey } } --\x3e\n \x3c!-- /ko --\x3e\n </div>\n \x3c!-- /ko --\x3e\n \x3c!-- ko if: survey.renderedHasDescription --\x3e\n <div class="sv-header__description" data-bind="style: { maxWidth: textAreaWidth }">\n <div data-bind="css: survey.css.description">\n \x3c!-- ko template: { name: \'survey-string\', data: survey.locDescription } --\x3e\n \x3c!-- /ko --\x3e\n </div>\n </div>\n \x3c!-- /ko --\x3e\n</div>\n'},function(e,t){e.exports="\x3c!-- ko if: (survey.headerView === 'advanced') --\x3e\n<div data-bind=\"css: model.headerClasses, style: { height: model.renderedHeight }\">\n \x3c!-- ko if: !!model.backgroundImage --\x3e\n <div data-bind=\"style: model.backgroundImageStyle, css: model.backgroundImageClasses\"></div>\n \x3c!-- /ko --\x3e\n \x3c!-- ko ifnot: survey.isMobile --\x3e\n <div data-bind=\"css: model.contentClasses, style: { maxWidth: model.maxWidth }\">\n \x3c!-- ko foreach: model.cells --\x3e\n \x3c!-- ko component: { name: 'sv-header-cell', params: { model: $data } } --\x3e\n \x3c!-- /ko --\x3e\n \x3c!--/ko--\x3e\n </div>\n \x3c!--/ko--\x3e\n \x3c!-- ko if: survey.isMobile --\x3e\n \x3c!-- ko component: { name: 'sv-header-mobile', params: { model: model } } --\x3e\n \x3c!-- /ko --\x3e\n \x3c!--/ko--\x3e\n </div>\n\x3c!-- /ko --\x3e"},function(e,t){e.exports="<label tabindex=\"0\" data-bind=\"css: question.koChooseFileCss, key2click, click: function(d, e) { question.chooseFile(e); }, attr: { for: question.inputId, 'aria-label': question.koGetChooseButtonText() }\">\n \x3c!-- ko if: question.cssClasses.chooseFileIconId --\x3e\n \x3c!-- ko component: { name: 'sv-svg-icon', params: { title: question.koGetChooseButtonText(), iconName: question.cssClasses.chooseFileIconId, size: 'auto' } } --\x3e\x3c!-- /ko --\x3e\n \x3c!-- /ko --\x3e\n <span data-bind=\"text: question.koGetChooseButtonText()\"></span>\n</label>"},function(e,t){e.exports="\x3c!-- ko if: question.koHasValue && question.showPreviewContainer --\x3e\n<div data-bind=\"css: question.cssClasses.fileList, visible: question.koHasValue\">\n \x3c!-- ko if: question.supportFileNavigator --\x3e\n \x3c!-- ko foreach: question.renderedPages --\x3e\n \x3c!-- ko component: { name: 'sv-file-page', params: { model: $data } } --\x3e\n \x3c!-- /ko --\x3e\n \x3c!-- /ko --\x3e\n \x3c!-- /ko --\x3e\n \x3c!-- ko if: !question.supportFileNavigator --\x3e\n \x3c!-- ko foreach: question.koData --\x3e\n \x3c!-- ko component: { name: 'sv-file-item', params: { item: $data, question: question } } --\x3e\n \x3c!-- /ko --\x3e\n \x3c!-- /ko --\x3e\n \x3c!-- /ko --\x3e\n</div>\n\x3c!-- /ko --\x3e"},function(e,t){e.exports="\x3c!-- ko with: model --\x3e\n<div data-bind=\"css: css, attr: { id: id }\">\n \x3c!-- ko foreach: $data.items --\x3e\n \x3c!-- ko component: { name: 'sv-file-item', params: { item: $data, question: question } } --\x3e\n \x3c!-- /ko --\x3e\n \x3c!-- /ko --\x3e\n</div>\n\x3c!-- /ko --\x3e"},function(e,t){e.exports="<span data-bind=\"css: question.cssClasses.previewItem, click: question.dodownloadFromContainer\">\n \x3c!-- ko template: { name: 'survey-question-file-sign', data: {question: question, item: item, fileSignCss: question.cssClasses.fileSign} } --\x3e\x3c!-- /ko --\x3e\n <div data-bind=\"css: question.getImageWrapperCss(item)\">\n \x3c!-- ko if: question.canPreviewImage(item) --\x3e\n <img data-bind=\"attr: { src: item.content }, style : { height: question.imageHeight, width: question.imageWidth }\" alt=\"File preview\">\n \x3c!-- /ko --\x3e\n \x3c!-- ko if: question.defaultImage(item) --\x3e\n \x3c!-- ko component: { name: 'sv-svg-icon', params: { css: question.cssClasses.defaultImage, iconName: question.cssClasses.defaultImageIconId, size: 'auto' } } --\x3e\x3c!-- /ko --\x3e\n \x3c!-- /ko --\x3e\n \x3c!-- ko if: item.name --\x3e\n \x3c!-- ko ifnot: question.isReadOnly --\x3e\n <div data-bind=\"click: () => question.doremovefile(item), css: question.getRemoveButtonCss()\">\n <span data-bind=\"css: question.cssClasses.removeFile, text: question.removeFileCaption\"></span>\n \x3c!-- ko if: question.cssClasses.removeFileSvgIconId --\x3e\n \x3c!-- ko component: { name: 'sv-svg-icon', params: { css: question.cssClasses.removeFileSvg, title: question.removeFileCaption, iconName: question.cssClasses.removeFileSvgIconId, size: 'auto' } } --\x3e\x3c!-- /ko --\x3e\n \x3c!-- /ko --\x3e\n </div>\n \x3c!-- /ko --\x3e\n \x3c!-- /ko --\x3e\n </div>\n \x3c!-- ko template: { name: 'survey-question-file-sign', data: {question: question, item: item, fileSignCss: question.cssClasses.fileSignBottom} } --\x3e\x3c!-- /ko --\x3e\n</span>"},function(e,t){e.exports='<div data-bind="css: model.cssClasses.root">\n \x3c!-- ko if: $data.model.showFilter --\x3e\n <div data-bind="css: model.cssClasses.filter">\n <div data-bind="css: model.cssClasses.filterIcon">\n \x3c!-- ko component: { name: \'sv-svg-icon\', params: { iconName: \'icon-search\', size: \'auto\' } } --\x3e\n \x3c!-- /ko --\x3e\n </div>\n <input type="text" \n data-bind="css: model.cssClasses.filterInput, textInput: model.filterString, attr: { placeholder: model.filterStringPlaceholder, \'aria-label\': model.filterStringPlaceholder }, event: { keyup: function (model, event) { $data.model.goToItems(event); } }"></input>\n \x3c!-- ko if: $data.model.showSearchClearButton && !!$data.model.filterString --\x3e\n <button data-bind="event: { click: (_, event) => { model.onClickSearchClearButton(event); } }, css: model.cssClasses.searchClearButtonIcon">\n \x3c!-- ko component: { name: \'sv-svg-icon\', params: { iconName: \'icon-searchclear\', size: \'auto\' } } --\x3e\n \x3c!-- /ko --\x3e\n </button>\n \x3c!-- /ko --\x3e\n </div>\n \x3c!-- /ko --\x3e\n <div data-bind="css: model.cssClasses.emptyContainer, visible: $data.model.isEmpty">\n <div data-bind="css: model.cssClasses.emptyText, text: model.emptyMessage, attr: { \'aria-label\': model.emptyMessage }"></div>\n </div>\n \x3c!-- ko if: $data.model.renderElements --\x3e\n <ul role="listbox"\n data-bind="css: model.getListClass(), visible: !$data.model.isEmpty, attr: { id: model.elementId },\n event: { mousedown: function (data, e) { e.preventDefault(); }, keydown: function(data, e) { $data.model.onKeyDown(event); return true; }, mousemove: function(data, e) { $data.model.onMouseMove(event); return true; } }">\n \x3c!-- ko template: { foreach: model.renderedActions, afterRender: $data.afterItemRender } --\x3e\n \x3c!-- ko component: { name: \'sv-list-item\', params: { item: $data, model: $parent.model } } --\x3e\n \x3c!-- /ko --\x3e\n \x3c!-- /ko --\x3e\n </ul>\n \x3c!-- /ko --\x3e\n</div>'},function(e,t){e.exports='\r\n<li role="option"\r\ndata-bind="css: $data.model.getItemClass($data.item), attr: { id: $data.item.elementId, \'aria-selected\': $data.model.isItemSelected($data.item) ? \'true\' : \'false\' }, click: itemClick, key2click, visible: $data.model.isItemVisible($data.item), event: { pointerdown: function (model, event) { $data.model.onPointerDown(event, $data.item); } }">\r\n \x3c!-- ko if: $data.item.needSeparator --\x3e\r\n <div data-bind="css: $data.model.cssClasses.itemSeparator"></div>\r\n \x3c!-- /ko --\x3e\r\n <div data-bind="style: $data.model.getItemStyle($data.item), css: $data.model.cssClasses.itemBody, attr: { title: $data.item.locTitle.calculatedText }, event: { mouseover: function(m, e) { $data.hover(e, $data); return true; }, mouseleave: function(m, e) { $data.leave(e, $data); return true; } }">\r\n \x3c!-- ko component: { name: $data.itemComponent, params: { item: $data.item, model: $data.model } } --\x3e\r\n \x3c!-- /ko --\x3e\r\n </div>\r\n</li>'},function(e,t){e.exports="\x3c!-- ko if: $data.item.iconName --\x3e\n\x3c!-- ko component: { name: \"sv-svg-icon\", params: { iconName: $data.item.iconName, size: $data.item.iconSize, css: $data.model.cssClasses.itemIcon } }--\x3e\n\x3c!-- /ko --\x3e\n\x3c!-- /ko --\x3e\n\x3c!-- ko template: { name: 'survey-string', data: $data.item.locTitle } --\x3e\n\x3c!-- /ko --\x3e\n\x3c!-- ko if: $data.item.markerIconName --\x3e\n\x3c!-- ko component: { name: 'sv-svg-icon', params: { css: $data.item.cssClasses.itemMarkerIcon, iconName: $data.item.markerIconName, size: 'auto' } } --\x3e\n\x3c!-- /ko --\x3e\n\x3c!-- /ko --\x3e"},function(e,t){e.exports='\x3c!-- ko component: { name: "sv-list-item-content", params: { item: $data.item, model: $data.model } } --\x3e\n\x3c!-- /ko --\x3e\n<sv-popup params="{ model: $data.item.popupModel }"></sv-popup>'},function(e,t){e.exports='\x3c!-- ko if: hasIcon --\x3e\n<svg class="sv-svg-icon" data-bind="css: css" role="img"><use></use></svg>\n\x3c!-- /ko --\x3e\n'},function(e,t){e.exports='<button\n type="button"\n data-bind="click: question.koRemoveRowClick, disable: question.isInputReadOnly, css: question.getRemoveRowButtonCss()"\n>\n \x3c!-- ko template: { name: \'survey-string\', data: question.locRemoveRowText } --\x3e\x3c!-- /ko --\x3e\n <span data-bind="css: question.cssClasses.iconRemove"></span>\n</button>\n'},function(e,t){e.exports="<button\ntype=\"button\"\ndata-bind=\"css:question.getDetailPanelButtonCss(row), click:row.showHideDetailPanelClick, attr:{ 'aria-expanded': question.getIsDetailPanelShowing($data.row) ? 'true': 'false', 'aria-controls': question.getIsDetailPanelShowing($data.row) ? row.detailPanelId: false}\"\n>\n\x3c!-- ko component: { name: 'sv-svg-icon', params: { css: question.getDetailPanelIconCss(row), iconName: question.getDetailPanelIconId(row), size: 'auto' } } --\x3e\n\x3c!-- /ko --\x3e\n</button>\n\x3c!-- ko if: question.detailPanelMode === \"popup\" && question.getKoPopupIsVisible(row) --\x3e\n<sv-popup\nparams=\"contentComponentName: 'sv-panel', contentComponentData: { question: row.detailPanel, onItemSelect: function(){} }, isVisible: question.getKoPopupIsVisible(row), isModal: true, onHide: function() { row.hideDetailPanel() }, verticalPosition: 'top', horizontalPosition: 'right'\"\n></sv-popup>\n\x3c!-- /ko --\x3e"},function(e,t){e.exports='<div>\n \x3c!-- ko if: question.iconDragElement --\x3e\n <svg data-bind="css: question.cssClasses.dragElementDecorator">\n <use data-bind="attr: { \'xlink:href\': question.iconDragElement }" xlink:href=\'\'></use>\n </svg>\n \x3c!-- /ko --\x3e\n \x3c!-- ko ifnot: question.iconDragElement --\x3e\n <span data-bind="css: question.cssClasses.iconDrag"></span>\n \x3c!-- /ko --\x3e\n</div>'},function(e,t){e.exports='<label role="radio" data-bind="css: model.css.label, attr: { title: model.caption.koRenderedHtml }">\r\n <input type="radio"\r\n data-bind="attr: { name: model.name, id: model.id, \'aria-required\': model.isRequired, \'aria-label\': model.caption.koRenderedHtml, role: \'radio\', \'aria-invalid\': model.hasErrors, \'aria-errormessage\': model.describeBy}, checkedValue: model.value, checked: model.question.renderedValue, disable: model.readOnly, css: model.css.control" />\r\n <div data-bind="css: model.css.decorator">\r\n \x3c!-- ko if: !!model.iconName--\x3e\r\n <sv-svg-icon data-bind="css: model.css.icon" params="iconName: model.iconName, size: model.iconSize"></sv-svg-icon>\r\n \x3c!-- /ko --\x3e\r\n \x3c!-- ko if: model.showCaption --\x3e\r\n <span data-bind="css: model.css.caption, attr: { title: model.caption.koRenderedHtml }">\r\n \x3c!-- ko template: { name: \'survey-string\', data: model.caption } --\x3e\r\n \x3c!-- /ko --\x3e\r\n </span>\r\n \x3c!-- /ko --\x3e\r\n </div>\r\n</label>'},function(e,t){e.exports='\x3c!-- ko with: $data.item --\x3e\n <input type="button" data-bind="event: { mousedown: $data.data && $data.data.mouseDown }, value: $data.title, click: $data.action, visible: $data.visible, css: $data.innerCss, disable: $data.disabled, attr: { title: $data.getTooltip() }"/>\n\x3c!-- /ko --\x3e'},function(e,t){e.exports='\x3c!-- ko if: question.koCanAddPanel --\x3e\n<button type="button" data-bind="click: question.koAddPanelClick, css: question.koAddButtonCss, visible: question.koCanAddPanel, attr: { id: question.addButtonId }">\n <span data-bind="css: question.cssClasses.buttonAddText">\x3c!-- ko template: { name: \'survey-string\', data: question.locPanelAddText } --\x3e\x3c!-- /ko --\x3e</span>\n</button>\n\x3c!-- /ko --\x3e'},function(e,t){e.exports="<div data-bind=\"attr: { title: question.panelNextText }, click: question.koNextPanelClick, css: question.koNextButtonCss\">\n \x3c!-- ko component: { name: 'sv-svg-icon', params: { iconName: question.cssClasses.progressBtnIcon, size: 'auto' } } --\x3e\x3c!-- /ko --\x3e\n</div>"},function(e,t){e.exports="<div data-bind=\"attr: { title: question.panelPrevText }, click: question.koPrevPanelClick, css: question.koPrevButtonCss\">\n \x3c!-- ko component: { name: 'sv-svg-icon', params: { iconName: question.cssClasses.progressBtnIcon, size: 'auto' } } --\x3e\x3c!-- /ko --\x3e\n</div>"},function(e,t){e.exports='<div data-bind="text: question.koProgressText, css: question.cssClasses.progressText"></div>'},function(e,t){e.exports='<button type="button" data-bind="click: function() { question.koRemovePanelClick(panel); }, css: question.getPanelRemoveButtonCss(), attr: { id: question.getPanelRemoveButtonId(panel) }">\n <span data-bind="css: question.cssClasses.buttonRemoveText">\x3c!-- ko template: { name: \'survey-string\', data: question.locPanelRemoveText } --\x3e\x3c!-- /ko --\x3e</span>\n <span data-bind="css: question.cssClasses.iconRemove"></span>\n</button>'},function(e,t){e.exports='<div class="sv-brand-info">\n <a class="sv-brand-info__logo" href="https://surveyjs.io/?utm_source=built-in_links&utm_medium=online_survey_tool&utm_campaign=landing_page"><img src="https://surveyjs.io/Content/Images/poweredby.svg"/></a>\n <div class="sv-brand-info__text">Try and see how easy it is to <a href="https://surveyjs.io/create-survey?utm_source=built-in_links&utm_medium=online_survey_tool&utm_campaign=create_survey">create a survey</a></div>\n <div class="sv-brand-info__terms"><a href="https://surveyjs.io/TermsOfUse">Terms of Use & Privacy Statement</a></div>\n</div>\n'},function(e,t){e.exports='<div>\n <span aria-hidden="true" data-bind="css: cssClasses.error.icon"></span>\n <span data-bind="css: cssClasses.error.item">\n \x3c!-- ko template: { name: \'survey-string\', data: error.locText } --\x3e\x3c!-- /ko --\x3e\n </span>\n</div>\n'},function(e,t){e.exports='\x3c!-- ko if: notifier.isDisplayed --\x3e\n<div data-bind="css: notifier.css, style: { visibility: notifier.active ? \'visible\' : \'hidden\' }" role="alert" aria-live="polite">\n <span data-bind="text: notifier.message"></span>\n \x3c!-- ko component: { name: "sv-action-bar", params: { model: notifier.actionBar } } --\x3e\n \x3c!-- /ko --\x3e\n</div>\n\x3c!-- /ko --\x3e'},function(e,t){e.exports="<div class=\"sd-loading-indicator\">\n \x3c!-- ko component: { name: \"sv-svg-icon\", params: { iconName: 'icon-loading', size: 'auto' } } --\x3e\n \x3c!-- /ko --\x3e\n</div>"},,,,function(e,t,n){"use strict";n.r(t),n.d(t,"Model",(function(){return Ol})),n.d(t,"Version",(function(){return Zs})),n.d(t,"ReleaseDate",(function(){return Js})),n.d(t,"checkLibraryVersion",(function(){return tl})),n.d(t,"setLicenseKey",(function(){return nl})),n.d(t,"slk",(function(){return ol})),n.d(t,"hasLicense",(function(){return il})),n.d(t,"glc",(function(){return rl})),n.d(t,"settings",(function(){return tn})),n.d(t,"ISurveyEnvironment",(function(){})),n.d(t,"Helpers",(function(){return u})),n.d(t,"HashTable",(function(){})),n.d(t,"AnswerCountValidator",(function(){return kn})),n.d(t,"EmailValidator",(function(){return _n})),n.d(t,"NumericValidator",(function(){return wn})),n.d(t,"RegexValidator",(function(){return Vn})),n.d(t,"SurveyValidator",(function(){return xn})),n.d(t,"TextValidator",(function(){return Pn})),n.d(t,"ValidatorResult",(function(){return bn})),n.d(t,"ExpressionValidator",(function(){return Tn})),n.d(t,"ValidatorRunner",(function(){return Cn})),n.d(t,"ItemValue",(function(){return Nn})),n.d(t,"Base",(function(){return _e})),n.d(t,"Event",(function(){return Se})),n.d(t,"EventBase",(function(){return Ee})),n.d(t,"ArrayChanges",(function(){return Te})),n.d(t,"ComputedUpdater",(function(){return Ve})),n.d(t,"ISurvey",(function(){})),n.d(t,"ISurveyElement",(function(){})),n.d(t,"IElement",(function(){})),n.d(t,"IQuestion",(function(){})),n.d(t,"IPage",(function(){})),n.d(t,"IPanel",(function(){})),n.d(t,"ISurveyData",(function(){})),n.d(t,"ITitleOwner",(function(){})),n.d(t,"ISurveyLayoutElement",(function(){})),n.d(t,"IPlainData",(function(){})),n.d(t,"IShortcutText",(function(){})),n.d(t,"ILoadFromJSONOptions",(function(){})),n.d(t,"ISaveToJSONOptions",(function(){})),n.d(t,"HorizontalAlignment",(function(){})),n.d(t,"VerticalAlignment",(function(){})),n.d(t,"SurveyError",(function(){return nn})),n.d(t,"SurveyElementCore",(function(){return ft})),n.d(t,"SurveyElement",(function(){return yt})),n.d(t,"DragTypeOverMeEnum",(function(){return rt})),n.d(t,"CalculatedValue",(function(){return Bn})),n.d(t,"CustomError",(function(){return yn})),n.d(t,"AnswerRequiredError",(function(){return rn})),n.d(t,"OneAnswerRequiredError",(function(){return an})),n.d(t,"RequreNumericError",(function(){return sn})),n.d(t,"ExceedSizeError",(function(){return ln})),n.d(t,"ILocalizableOwner",(function(){})),n.d(t,"ILocalizableString",(function(){})),n.d(t,"LocalizableString",(function(){return bt})),n.d(t,"LocalizableStrings",(function(){return xt})),n.d(t,"HtmlConditionItem",(function(){return Qn})),n.d(t,"UrlConditionItem",(function(){return Un})),n.d(t,"ChoicesRestful",(function(){return Gn})),n.d(t,"ChoicesRestfull",(function(){return Kn})),n.d(t,"FunctionFactory",(function(){return N})),n.d(t,"registerFunction",(function(){return F})),n.d(t,"ConditionRunner",(function(){return be})),n.d(t,"ExpressionRunner",(function(){return xe})),n.d(t,"IExpresionExecutor",(function(){})),n.d(t,"ExpressionExecutor",(function(){return ye})),n.d(t,"Operand",(function(){return ne})),n.d(t,"Const",(function(){return ae})),n.d(t,"BinaryOperand",(function(){return oe})),n.d(t,"Variable",(function(){return se})),n.d(t,"FunctionOperand",(function(){return le})),n.d(t,"ArrayOperand",(function(){return re})),n.d(t,"UnaryOperand",(function(){return ie})),n.d(t,"ConditionsParser",(function(){return me})),n.d(t,"ProcessValue",(function(){return M})),n.d(t,"JsonError",(function(){return T})),n.d(t,"JsonIncorrectTypeError",(function(){return I})),n.d(t,"JsonMetadata",(function(){return _})),n.d(t,"JsonMetadataClass",(function(){return V})),n.d(t,"JsonMissingTypeError",(function(){return R})),n.d(t,"JsonMissingTypeErrorBase",(function(){return E})),n.d(t,"JsonObject",(function(){return q})),n.d(t,"IJsonPropertyInfo",(function(){})),n.d(t,"JsonObjectProperty",(function(){return P})),n.d(t,"JsonRequiredPropertyError",(function(){return O})),n.d(t,"JsonUnknownPropertyError",(function(){return S})),n.d(t,"Serializer",(function(){return L})),n.d(t,"property",(function(){return x})),n.d(t,"propertyArray",(function(){return w})),n.d(t,"IMatrixDropdownData",(function(){})),n.d(t,"MatrixDropdownCell",(function(){return So})),n.d(t,"MatrixDropdownRowModelBase",(function(){return Io})),n.d(t,"QuestionMatrixDropdownModelBase",(function(){return Ao})),n.d(t,"MatrixDropdownColumn",(function(){return vo})),n.d(t,"matrixDropdownColumnTypes",(function(){return yo})),n.d(t,"QuestionMatrixDropdownRenderedCell",(function(){return Po})),n.d(t,"QuestionMatrixDropdownRenderedRow",(function(){return ko})),n.d(t,"QuestionMatrixDropdownRenderedErrorRow",(function(){return Vo})),n.d(t,"QuestionMatrixDropdownRenderedTable",(function(){return _o})),n.d(t,"MatrixDropdownRowModel",(function(){return qo})),n.d(t,"QuestionMatrixDropdownModel",(function(){return Lo})),n.d(t,"MatrixDynamicRowModel",(function(){return Yo})),n.d(t,"QuestionMatrixDynamicModel",(function(){return Xo})),n.d(t,"MatrixRowModel",(function(){return fr})),n.d(t,"MatrixCells",(function(){return yr})),n.d(t,"QuestionMatrixModel",(function(){return vr})),n.d(t,"IMatrixData",(function(){})),n.d(t,"QuestionMatrixBaseModel",(function(){return Yn})),n.d(t,"MultipleTextItemModel",(function(){return Mr})),n.d(t,"MultipleTextCell",(function(){return Br})),n.d(t,"MultipleTextErrorCell",(function(){return zr})),n.d(t,"MutlipleTextErrorRow",(function(){return Fr})),n.d(t,"MutlipleTextRow",(function(){return Nr})),n.d(t,"QuestionMultipleTextModel",(function(){return jr})),n.d(t,"MultipleTextEditorModel",(function(){return Lr})),n.d(t,"PanelModel",(function(){return Ii})),n.d(t,"PanelModelBase",(function(){return Ri})),n.d(t,"QuestionRowModel",(function(){return Ei})),n.d(t,"FlowPanelModel",(function(){return Qr})),n.d(t,"PageModel",(function(){return qi})),n.d(t,"DefaultTitleModel",(function(){return Ur})),n.d(t,"Question",(function(){return qn})),n.d(t,"QuestionNonValue",(function(){return $r})),n.d(t,"QuestionEmptyModel",(function(){return Kr})),n.d(t,"QuestionCheckboxBase",(function(){return Ji})),n.d(t,"QuestionSelectBase",(function(){return Zi})),n.d(t,"QuestionCheckboxModel",(function(){return Jr})),n.d(t,"QuestionTagboxModel",(function(){return aa})),n.d(t,"QuestionRankingModel",(function(){return ga})),n.d(t,"QuestionCommentModel",(function(){return ya})),n.d(t,"QuestionDropdownModel",(function(){return mr})),n.d(t,"QuestionFactory",(function(){return co})),n.d(t,"ElementFactory",(function(){return po})),n.d(t,"QuestionFileModel",(function(){return ka})),n.d(t,"QuestionFilePage",(function(){return Pa})),n.d(t,"QuestionHtmlModel",(function(){return Ta})),n.d(t,"QuestionRadiogroupModel",(function(){return Ea})),n.d(t,"QuestionRatingModel",(function(){return La})),n.d(t,"RenderedRatingItem",(function(){return Da})),n.d(t,"QuestionExpressionModel",(function(){return mo})),n.d(t,"QuestionTextBase",(function(){return wr})),n.d(t,"CharacterCounter",(function(){return Cr})),n.d(t,"QuestionTextModel",(function(){return Sr})),n.d(t,"QuestionBooleanModel",(function(){return Na})),n.d(t,"QuestionImagePickerModel",(function(){return Ha})),n.d(t,"ImageItemValue",(function(){return za})),n.d(t,"QuestionImageModel",(function(){return $a})),n.d(t,"QuestionSignaturePadModel",(function(){return Xa})),n.d(t,"QuestionPanelDynamicModel",(function(){return ls})),n.d(t,"QuestionPanelDynamicItem",(function(){return as})),n.d(t,"SurveyTimer",(function(){return ai})),n.d(t,"SurveyTimerModel",(function(){return ui})),n.d(t,"tryFocusPage",(function(){return Ni})),n.d(t,"createTOCListModel",(function(){return Fi})),n.d(t,"getTocRootCss",(function(){return zi})),n.d(t,"TOCModel",(function(){return Hi})),n.d(t,"SurveyProgressModel",(function(){return us})),n.d(t,"ProgressButtons",(function(){return Mi})),n.d(t,"ProgressButtonsResponsivityManager",(function(){return ji})),n.d(t,"IProgressButtonsViewModel",(function(){})),n.d(t,"SurveyModel",(function(){return Wi})),n.d(t,"SurveyTrigger",(function(){return ds})),n.d(t,"SurveyTriggerComplete",(function(){return ms})),n.d(t,"SurveyTriggerSetValue",(function(){return gs})),n.d(t,"SurveyTriggerVisible",(function(){return hs})),n.d(t,"SurveyTriggerCopyValue",(function(){return vs})),n.d(t,"SurveyTriggerRunExpression",(function(){return ys})),n.d(t,"SurveyTriggerSkip",(function(){return fs})),n.d(t,"Trigger",(function(){return ps})),n.d(t,"PopupSurveyModel",(function(){return Cs})),n.d(t,"SurveyWindowModel",(function(){return ws})),n.d(t,"TextPreProcessor",(function(){return to})),n.d(t,"Notifier",(function(){return di})),n.d(t,"Cover",(function(){return fi})),n.d(t,"CoverCell",(function(){return gi})),n.d(t,"dxSurveyService",(function(){return ii})),n.d(t,"englishStrings",(function(){return c})),n.d(t,"surveyLocalization",(function(){return p})),n.d(t,"surveyStrings",(function(){return g})),n.d(t,"getLocaleString",(function(){return d})),n.d(t,"getLocaleStrings",(function(){return h})),n.d(t,"setupLocale",(function(){return m})),n.d(t,"QuestionCustomWidget",(function(){return Sn})),n.d(t,"CustomWidgetCollection",(function(){return En})),n.d(t,"QuestionCustomModel",(function(){return so})),n.d(t,"QuestionCompositeModel",(function(){return uo})),n.d(t,"ComponentQuestionJSON",(function(){return io})),n.d(t,"ComponentCollection",(function(){return ro})),n.d(t,"ICustomQuestionTypeConfiguration",(function(){})),n.d(t,"ListModel",(function(){return ze})),n.d(t,"MultiSelectListModel",(function(){return ea})),n.d(t,"PopupModel",(function(){return Ue})),n.d(t,"createDialogOptions",(function(){return We})),n.d(t,"IDialogOptions",(function(){})),n.d(t,"PopupBaseViewModel",(function(){return ir})),n.d(t,"PopupDropdownViewModel",(function(){return lr})),n.d(t,"PopupModalViewModel",(function(){return ks})),n.d(t,"createPopupViewModel",(function(){return Ts})),n.d(t,"createPopupModalViewModel",(function(){return _s})),n.d(t,"DropdownListModel",(function(){return pr})),n.d(t,"DropdownMultiSelectListModel",(function(){return oa})),n.d(t,"QuestionButtonGroupModel",(function(){return Is})),n.d(t,"ButtonGroupItemModel",(function(){return Os})),n.d(t,"ButtonGroupItemValue",(function(){return Rs})),n.d(t,"IsMobile",(function(){return Fo})),n.d(t,"IsTouch",(function(){return Ho})),n.d(t,"_setIsTouch",(function(){return Qo})),n.d(t,"confirmAction",(function(){return Ct})),n.d(t,"confirmActionAsync",(function(){return wt})),n.d(t,"detectIEOrEdge",(function(){return Pt})),n.d(t,"doKey2ClickUp",(function(){return Nt})),n.d(t,"doKey2ClickDown",(function(){return Ft})),n.d(t,"doKey2ClickBlur",(function(){return jt})),n.d(t,"loadFileFromBase64",(function(){return kt})),n.d(t,"increaseHeightByContent",(function(){return Bt})),n.d(t,"createSvg",(function(){return Dt})),n.d(t,"chooseFiles",(function(){return Zt})),n.d(t,"sanitizeEditableContent",(function(){return $t})),n.d(t,"prepareElementForVerticalAnimation",(function(){return Yt})),n.d(t,"cleanHtmlElementAfterAnimation",(function(){return Xt})),n.d(t,"classesToSelector",(function(){return Qt})),n.d(t,"IAttachKey2clickOptions",(function(){})),n.d(t,"renamedIcons",(function(){return It})),n.d(t,"getIconNameFromProxy",(function(){return Ot})),n.d(t,"InputMaskBase",(function(){return qs})),n.d(t,"InputMaskPattern",(function(){return Bs})),n.d(t,"InputMaskNumeric",(function(){return Qs})),n.d(t,"InputMaskDateTime",(function(){return Ks})),n.d(t,"InputMaskCurrency",(function(){return el})),n.d(t,"CssClassBuilder",(function(){return Ae})),n.d(t,"TextAreaModel",(function(){return In})),n.d(t,"surveyCss",(function(){return ti})),n.d(t,"defaultV2Css",(function(){return ni})),n.d(t,"defaultV2ThemeName",(function(){return oi})),n.d(t,"DragDropCore",(function(){return $o})),n.d(t,"DragDropChoices",(function(){return la})),n.d(t,"DragDropRankingSelectToRank",(function(){return da})),n.d(t,"StylesManager",(function(){return gl})),n.d(t,"defaultStandardCss",(function(){return fl})),n.d(t,"modernCss",(function(){return yl})),n.d(t,"SvgIconRegistry",(function(){return vl})),n.d(t,"SvgRegistry",(function(){return bl})),n.d(t,"SvgThemeSets",(function(){return xl})),n.d(t,"addIconsToThemeSet",(function(){return Cl})),n.d(t,"RendererFactory",(function(){return Rn})),n.d(t,"ResponsivityManager",(function(){return Ie})),n.d(t,"VerticalResponsivityManager",(function(){return Oe})),n.d(t,"unwrap",(function(){return qt})),n.d(t,"getOriginalEvent",(function(){return zt})),n.d(t,"getElement",(function(){return _t})),n.d(t,"activateLazyRenderingChecks",(function(){return St})),n.d(t,"createDropdownActionModel",(function(){return Ze})),n.d(t,"createDropdownActionModelAdvanced",(function(){return Je})),n.d(t,"createPopupModelWithListModel",(function(){return Ye})),n.d(t,"getActionDropdownButtonTarget",(function(){return Xe})),n.d(t,"BaseAction",(function(){return et})),n.d(t,"Action",(function(){return tt})),n.d(t,"ActionDropdownViewModel",(function(){return nt})),n.d(t,"AnimationUtils",(function(){return st})),n.d(t,"AnimationPropertyUtils",(function(){return lt})),n.d(t,"AnimationGroupUtils",(function(){return ut})),n.d(t,"AnimationProperty",(function(){return ct})),n.d(t,"AnimationBoolean",(function(){return pt})),n.d(t,"AnimationGroup",(function(){return dt})),n.d(t,"AnimationTab",(function(){return ht})),n.d(t,"AdaptiveActionContainer",(function(){return it})),n.d(t,"defaultActionBarCss",(function(){return Le})),n.d(t,"ActionContainer",(function(){return Me})),n.d(t,"DragOrClickHelper",(function(){return Zo})),n.d(t,"bootstrapThemeName",(function(){return wp})),n.d(t,"bootstrapThemeColors",(function(){return Pp})),n.d(t,"bootstrapThemeCssRules",(function(){return kp})),n.d(t,"bootstrapMaterialThemeName",(function(){return Vp})),n.d(t,"bootstrapMaterialThemeColors",(function(){return _p})),n.d(t,"bootstrapMaterialThemeCssRules",(function(){return Tp})),n.d(t,"defaultBootstrapCss",(function(){return Sp})),n.d(t,"defaultBootstrapMaterialCss",(function(){return Ep})),n.d(t,"ko",(function(){return Ip}));var o=n(0),i=n(1),r=n.n(i),a=function(){function e(){}return e.isAvailable=function(){return"undefined"!=typeof window},e.isFileReaderAvailable=function(){return!!e.isAvailable()&&!!window.FileReader},e.getLocation=function(){if(e.isAvailable())return window.location},e.getVisualViewport=function(){return e.isAvailable()?window.visualViewport:null},e.getInnerWidth=function(){if(e.isAvailable())return window.innerWidth},e.getInnerHeight=function(){return e.isAvailable()?window.innerHeight:null},e.getDevicePixelRatio=function(){return e.isAvailable()?window.devicePixelRatio:null},e.getWindow=function(){if(e.isAvailable())return window},e.hasOwn=function(t){if(e.isAvailable())return t in window},e.getSelection=function(){if(e.isAvailable()&&window.getSelection)return window.getSelection()},e.requestAnimationFrame=function(t){if(e.isAvailable())return window.requestAnimationFrame(t)},e.addEventListener=function(t,n){e.isAvailable()&&window.addEventListener(t,n)},e.removeEventListener=function(t,n){e.isAvailable()&&window.removeEventListener(t,n)},e.matchMedia=function(t){return e.isAvailable()&&void 0!==window.matchMedia?window.matchMedia(t):null},e}(),s=function(){function e(){}return e.isAvailable=function(){return"undefined"!=typeof document},e.getBody=function(){if(e.isAvailable())return document.body},e.getDocumentElement=function(){if(e.isAvailable())return document.documentElement},e.getDocument=function(){if(e.isAvailable())return document},e.getCookie=function(){if(e.isAvailable())return document.cookie},e.setCookie=function(t){e.isAvailable()&&(document.cookie=t)},e.activeElementBlur=function(){if(e.isAvailable()){var t=document.activeElement;t&&t.blur&&t.blur()}},e.createElement=function(t){if(e.isAvailable())return document.createElement(t)},e.getComputedStyle=function(t){return e.isAvailable()?document.defaultView.getComputedStyle(t):new CSSStyleDeclaration},e.addEventListener=function(t,n){e.isAvailable()&&document.addEventListener(t,n)},e.removeEventListener=function(t,n){e.isAvailable()&&document.removeEventListener(t,n)},e}();function l(e,t){if(!t)return new Date;var n;tn.storeUtcDates||"string"!=typeof t||((n=t).indexOf("T")>0||!/\d{4}-\d{2}-\d{2}/.test(n)||isNaN(new Date(n).getTime()))||(t+="T00:00:00");var o=new Date(t);return tn.onDateCreated(o,e,t)}var u=function(){function e(){}return e.isValueEmpty=function(t){if(Array.isArray(t)&&0===t.length)return!0;if(t&&e.isValueObject(t)&&t.constructor===Object){for(var n in t)if(!e.isValueEmpty(t[n]))return!1;return!0}return!t&&0!==t&&!1!==t},e.isValueUndefined=function(e){return null==e||"number"==typeof e&&isNaN(e)},e.isArrayContainsEqual=function(t,n){if(!Array.isArray(t)||!Array.isArray(n))return!1;if(t.length!==n.length)return!1;for(var o=0;o<t.length;o++){for(var i=0;i<n.length&&!e.isTwoValueEquals(t[o],n[i]);i++);if(i===n.length)return!1}return!0},e.checkIfArraysEqual=function(t,n,o){if(!Array.isArray(t)||!Array.isArray(n))return!1;if(t.length!==n.length)return!1;if(void 0!==o.ignoreOrder&&o.ignoreOrder){for(var i=[],r=[],a=0;a<t.length;a++)i.push(t[a]),r.push(n[a]);i.sort(),r.sort(),t=i,n=r}for(a=0;a<t.length;a++)if(!e.checkIfValuesEqual(t[a],n[a],o))return!1;return!0},e.isArraysEqual=function(t,n,o,i,r){return void 0===o&&(o=!1),e.checkIfArraysEqual(t,n,{ignoreOrder:o,caseSensitive:i,trimStrings:r})},e.compareStrings=function(e,t){var n=tn.comparator.normalizeTextCallback;if(e&&(e=n(e,"compare").trim()),t&&(t=n(t,"compare").trim()),!e&&!t)return 0;if(!e)return-1;if(!t)return 1;if(e===t)return 0;for(var o=-1,i=0;i<e.length&&i<t.length;i++){if(this.isCharDigit(e[i])&&this.isCharDigit(t[i])){o=i;break}if(e[i]!==t[i])break}if(o>-1){var r=this.getNumberFromStr(e,o),a=this.getNumberFromStr(t,o);if(!Number.isNaN(r)&&!Number.isNaN(a)&&r!==a)return r>a?1:-1}return e>t?1:-1},e.checkIfValuesEqual=function(t,n,o){if(t===n)return!0;if(Array.isArray(t)&&0===t.length&&void 0===n)return!0;if(Array.isArray(n)&&0===n.length&&void 0===t)return!0;if(null==t&&""===n)return!0;if(null==n&&""===t)return!0;var i=void 0!==o.caseSensitive?o.caseSensitive:tn.comparator.caseSensitive,r=void 0!==o.trimStrings?o.trimStrings:tn.comparator.trimStrings;if("string"==typeof t&&"string"==typeof n){var a=tn.comparator.normalizeTextCallback;return t=a(t,"compare"),n=a(n,"compare"),r&&(t=t.trim(),n=n.trim()),i||(t=t.toLowerCase(),n=n.toLowerCase()),t===n}if(t instanceof Date&&n instanceof Date)return t.getTime()==n.getTime();var s=!o.doNotConvertNumbers;if(s&&e.isConvertibleToNumber(t)&&e.isConvertibleToNumber(n)&&parseInt(t)===parseInt(n)&&parseFloat(t)===parseFloat(n))return!0;if(!e.isValueEmpty(t)&&e.isValueEmpty(n)||e.isValueEmpty(t)&&!e.isValueEmpty(n))return!1;if((!0===t||!1===t)&&"string"==typeof n)return t.toString()===n.toLocaleLowerCase();if((!0===n||!1===n)&&"string"==typeof t)return n.toString()===t.toLocaleLowerCase();var l=e.isValueObject(t),u=e.isValueObject(n);if(!l&&!u&&(s||"number"!=typeof t&&"number"!=typeof n))return t==n;if(!l||!u)return!1;if(t.equals&&n.equals)return t.equals(n);if(Array.isArray(t)&&Array.isArray(n))return e.checkIfArraysEqual(t,n,o);for(var c in t)if(t.hasOwnProperty(c)){if(!n.hasOwnProperty(c))return!1;if(!this.checkIfValuesEqual(t[c],n[c],o))return!1}for(c in n)if(n.hasOwnProperty(c)&&!t.hasOwnProperty(c))return!1;return!0},e.isTwoValueEquals=function(e,t,n,o,i){return void 0===n&&(n=!1),this.checkIfValuesEqual(e,t,{ignoreOrder:n,caseSensitive:o,trimStrings:i})},e.randomizeArray=function(e){for(var t=e.length-1;t>0;t--){var n=Math.floor(Math.random()*(t+1)),o=e[t];e[t]=e[n],e[n]=o}return e},e.getUnbindValue=function(t){if(Array.isArray(t)){for(var n=[],o=0;o<t.length;o++)n.push(e.getUnbindValue(t[o]));return n}return!t||!e.isValueObject(t)||t instanceof Date?t:JSON.parse(JSON.stringify(t))},e.createCopy=function(e){return this.createCopyWithPrefix(e,void 0)},e.createCopyWithPrefix=function(e,t){var n={};if(!e)return n;for(var o in e){n[t?t+o:o]=e[o]}return n},e.isConvertibleToNumber=function(e){return null!=e&&!Array.isArray(e)&&!isNaN(e)},e.isValueObject=function(e,t){return e instanceof Object&&(!t||!Array.isArray(e))},e.isNumber=function(e){return!isNaN(this.getNumber(e))},e.getNumber=function(t){var n=e.getNumberCore(t);return tn.parseNumber(t,n)},e.getNumberCore=function(t){if("string"==typeof t){if(!(t=t.trim()))return NaN;if(0==t.indexOf("0x"))return t.length>32?NaN:parseInt(t);if(t.length>15&&e.isDigitsOnly(t))return NaN;if(e.isStringHasOperator(t))return NaN}t=this.prepareStringToNumber(t);var n=parseFloat(t);return isNaN(n)||!isFinite(t)?NaN:n},e.isStringHasOperator=function(e){if(e.lastIndexOf("-")>0)return!1;if(e.lastIndexOf("+")>0)return!1;for(var t=0;t<"*^/%".length;t++)if(e.indexOf("*^/%"[t])>-1)return!0;return!1},e.prepareStringToNumber=function(e){if("string"!=typeof e||!e)return e;var t=e.indexOf(",");return t>-1&&e.indexOf(",",t+1)<0?e.replace(",","."):e},e.getMaxLength=function(e,t){return e<0&&(e=t),e>0?e:null},e.getRemainingCharacterCounterText=function(e,t){return!t||t<=0||!tn.showMaxLengthIndicator?"":[e?e.length:"0",t].join("/")},e.getNumberByIndex=function(t,n,o){if(t<0)return"";var i=1,r="",a=".",s=!0,l="A",u="",c=function(t){if(!t)return!1;for(var n=0;n<t.length;n++)if(e.isCharDigit(t[n]))return!0;return!1};if(n){for(var p=(u=n).length-1,d=c(u),h=function(){return d&&!e.isCharDigit(u[p])||e.isCharNotLetterAndDigit(u[p])};p>=0&&h();)p--;var m="";for(p<u.length-1&&(m=u.substring(p+1),u=u.substring(0,p+1)),p=u.length-1;p>=0&&!h()&&(p--,d););l=u.substring(p+1),r=u.substring(0,p+1),parseInt(l)?i=parseInt(l):1==l.length&&(s=!1),(m||r)&&(a=m)}if(o>-1&&c(r)&&(r=this.getNumberByIndex(o,r)),s){for(var g=(t+i).toString();g.length<l.length;)g="0"+g;return r+g+a}return r+String.fromCharCode(l.charCodeAt(0)+t)+a},e.isCharNotLetterAndDigit=function(t){return t.toUpperCase()==t.toLowerCase()&&!e.isCharDigit(t)},e.isCharDigit=function(e){return e>="0"&&e<="9"},e.isDigitsOnly=function(t){if(!t)return!1;for(var n=0;n<t.length;n++)if(!e.isCharDigit(t[n]))return!1;return!0},e.getNumberFromStr=function(e,t){if(!this.isCharDigit(e[t]))return NaN;for(var n="";t<e.length&&this.isCharDigit(e[t]);)n+=e[t],t++;return n?this.getNumber(n):NaN},e.countDecimals=function(t){if(e.isNumber(t)&&Math.floor(t)!==t){var n=t.toString().split(".");return n.length>1&&n[1].length||0}return 0},e.correctAfterPlusMinis=function(t,n,o){var i=e.countDecimals(t),r=e.countDecimals(n);if(i>0||r>0){var a=Math.max(i,r);o=parseFloat(o.toFixed(a))}return o},e.sumAnyValues=function(t,n){if(!e.isNumber(t)||!e.isNumber(n)){if(Array.isArray(t)&&Array.isArray(n))return[].concat(t).concat(n);if(Array.isArray(t)||Array.isArray(n)){var o=Array.isArray(t)?t:n,i=o===t?n:t;if("string"==typeof i){var r=o.join(", ");return o===t?r+i:i+r}if("number"==typeof i){for(var a=0,s=0;s<o.length;s++)"number"==typeof o[s]&&(a=e.correctAfterPlusMinis(a,o[s],a+o[s]));return e.correctAfterPlusMinis(a,i,a+i)}}return t+n}return"string"==typeof t||"string"==typeof n?t+n:e.correctAfterPlusMinis(t,n,t+n)},e.correctAfterMultiple=function(t,n,o){var i=e.countDecimals(t)+e.countDecimals(n);return i>0&&(o=parseFloat(o.toFixed(i))),o},e.convertArrayValueToObject=function(t,n,o){void 0===o&&(o=void 0);var i=new Array;if(!t||!Array.isArray(t))return i;for(var r=0;r<t.length;r++){var a=void 0;Array.isArray(o)&&(a=e.findObjByPropValue(o,n,t[r])),a||((a={})[n]=t[r]),i.push(a)}return i},e.findObjByPropValue=function(t,n,o){for(var i=0;i<t.length;i++)if(e.isTwoValueEquals(t[i][n],o))return t[i]},e.convertArrayObjectToValue=function(t,n){var o=new Array;if(!t||!Array.isArray(t))return o;for(var i=0;i<t.length;i++){var r=t[i]?t[i][n]:void 0;e.isValueEmpty(r)||o.push(r)}return o},e.convertDateToString=function(e){var t=function(e){return e<10?"0"+e.toString():e.toString()};return e.getFullYear()+"-"+t(e.getMonth()+1)+"-"+t(e.getDate())},e.convertDateTimeToString=function(e){var t=function(e){return e<10?"0"+e.toString():e.toString()};return this.convertDateToString(e)+" "+t(e.getHours())+":"+t(e.getMinutes())},e.convertValToQuestionVal=function(t,n){return t instanceof Date?"datetime-local"===n?e.convertDateTimeToString(t):e.convertDateToString(t):this.getUnbindValue(t)},e.compareVerions=function(e,t){if(!e&&!t)return 0;for(var n=e.split("."),o=t.split("."),i=n.length,r=o.length,a=0;a<i&&a<r;a++){var s=n[a],l=o[a];if(s.length!==l.length)return s.length<l.length?-1:1;if(s!==l)return s<l?-1:1}return i===r?0:i<r?-1:1},e.isUrlYoutubeVideo=function(e){if(!e)return!1;var t=["www.youtube.com","m.youtube.com","youtube.com","youtu.be"];e=(e=e.toLowerCase()).replace(/^https?:\/\//,"");for(var n=0;n<t.length;n++)if(0===e.indexOf(t[n]+"/"))return!0;return!1},e}();String.prototype.format||(String.prototype.format=function(){var e=arguments;return this.replace(/{(\d+)}/g,(function(t,n){return void 0!==e[n]?e[n]:t}))});var c={pagePrevText:"Previous",pageNextText:"Next",completeText:"Complete",previewText:"Preview",editText:"Edit",startSurveyText:"Start",otherItemText:"Other (describe)",noneItemText:"None",refuseItemText:"Refuse to answer",dontKnowItemText:"Don't know",selectAllItemText:"Select All",deselectAllItemText:"Deselect all",progressText:"Page {0} of {1}",indexText:"{0} of {1}",panelDynamicProgressText:"{0} of {1}",panelDynamicTabTextFormat:"Panel {panelIndex}",questionsProgressText:"Answered {0}/{1} questions",emptySurvey:"The survey doesn't contain any visible elements.",completingSurvey:"Thank you for completing the survey",completingSurveyBefore:"You have already completed this survey.",loadingSurvey:"Loading Survey...",placeholder:"Select...",ratingOptionsCaption:"Select...",value:"value",requiredError:"Response required.",requiredErrorInPanel:"Response required: answer at least one question.",requiredInAllRowsError:"Response required: answer questions in all rows.",eachRowUniqueError:"Each row must have a unique value.",numericError:"The value should be numeric.",minError:"The value should not be less than {0}",maxError:"The value should not be greater than {0}",textNoDigitsAllow:"Numbers are not allowed.",textMinLength:"Please enter at least {0} character(s).",textMaxLength:"Please enter no more than {0} character(s).",textMinMaxLength:"Please enter at least {0} and no more than {1} characters.",minRowCountError:"Please fill in at least {0} row(s).",minSelectError:"Please select at least {0} option(s).",maxSelectError:"Please select no more than {0} option(s).",numericMinMax:"The '{0}' should be at least {1} and at most {2}",numericMin:"The '{0}' should be at least {1}",numericMax:"The '{0}' should be at most {1}",invalidEmail:"Please enter a valid e-mail address.",invalidExpression:"The expression: {0} should return 'true'.",urlRequestError:"The request returned error '{0}'. {1}",urlGetChoicesError:"The request returned empty data or the 'path' property is incorrect",exceedMaxSize:"The file size should not exceed {0}.",noUploadFilesHandler:"Files cannot be uploaded. Please add a handler for the 'onUploadFiles' event.",otherRequiredError:"Response required: enter another value.",uploadingFile:"Your file is uploading. Please wait several seconds and try again.",loadingFile:"Loading...",chooseFile:"Choose file(s)...",noFileChosen:"No file selected",filePlaceholder:"Drag and drop a file here or click the button below to select a file to upload.",confirmDelete:"Are you sure you want to delete this record?",keyDuplicationError:"This value should be unique.",addColumn:"Add Column",addRow:"Add Row",removeRow:"Remove",emptyRowsText:"There are no rows.",addPanel:"Add new",removePanel:"Remove",showDetails:"Show Details",hideDetails:"Hide Details",choices_Item:"item",matrix_column:"Column",matrix_row:"Row",multipletext_itemname:"text",savingData:"The results are being saved on the server...",savingDataError:"An error occurred and we could not save the results.",savingDataSuccess:"The results were saved successfully!",savingExceedSize:"Your response exceeds 64KB. Please reduce the size of your file(s) and try again or contact the survey owner.",saveAgainButton:"Try again",timerMin:"min",timerSec:"sec",timerSpentAll:"You have spent {0} on this page and {1} in total.",timerSpentPage:"You have spent {0} on this page.",timerSpentSurvey:"You have spent {0} in total.",timerLimitAll:"You have spent {0} of {1} on this page and {2} of {3} in total.",timerLimitPage:"You have spent {0} of {1} on this page.",timerLimitSurvey:"You have spent {0} of {1} in total.",clearCaption:"Clear",signaturePlaceHolder:"Sign here",signaturePlaceHolderReadOnly:"No signature",chooseFileCaption:"Select File",takePhotoCaption:"Take Photo",photoPlaceholder:"Click the button below to take a photo using the camera.",fileOrPhotoPlaceholder:"Drag and drop or select a file to upload or take a photo using the camera.",replaceFileCaption:"Replace file",removeFileCaption:"Remove this file",booleanCheckedLabel:"Yes",booleanUncheckedLabel:"No",confirmRemoveFile:"Are you sure that you want to remove this file: {0}?",confirmRemoveAllFiles:"Are you sure that you want to remove all files?",questionTitlePatternText:"Question Title",modalCancelButtonText:"Cancel",modalApplyButtonText:"Apply",filterStringPlaceholder:"Type to search...",emptyMessage:"No data to display",noEntriesText:"No entries yet.\nClick the button below to add a new entry.",noEntriesReadonlyText:"No entries",tabTitlePlaceholder:"New Panel",more:"More",tagboxDoneButtonCaption:"OK",selectToRankEmptyRankedAreaText:"All choices are selected for ranking",selectToRankEmptyUnrankedAreaText:"Drag choices here to rank them",ok:"OK",cancel:"Cancel"},p={currentLocaleValue:"",defaultLocaleValue:"en",locales:{},localeNames:{},localeNamesInEnglish:{},localeDirections:{},supportedLocales:[],useEnglishNames:!1,get showNamesInEnglish(){return this.useEnglishNames},set showNamesInEnglish(e){this.useEnglishNames=e},setupLocale:function(e){var t=e.localeCode;this.locales[t]=e.strings,this.localeNames[t]=e.nativeName,this.localeNamesInEnglish[t]=e.englishName,void 0!==e.rtl&&(this.localeDirections[t]=e.rtl?"rtl":"ltr")},get currentLocale(){return this.currentLocaleValue===this.defaultLocaleValue?"":this.currentLocaleValue},set currentLocale(e){this.currentLocaleValue=this.getCorrectLocaleName(e)},get defaultLocale(){return this.defaultLocaleValue},set defaultLocale(e){this.defaultLocaleValue=this.getCorrectLocaleName(e)},getCorrectLocaleName:function(e){return"cz"===e&&(e="cs"),"gr"===e&&(e="el"),"rs"===e&&(e="sr"),"ua"===e&&(e="uk"),e},getLocaleStrings:function(e){return this.locales[e]},getString:function(e,t){var n=this;void 0===t&&(t=null);var o=new Array,i=function(e){var t=n.locales[e];t&&o.push(t)},r=function(e){if(e){i(e);var t=e.indexOf("-");t<1||(e=e.substring(0,t),i(e))}};r(t),r(this.currentLocale),r(this.defaultLocale),"en"!==this.defaultLocale&&i("en");for(var a=0;a<o.length;a++){var s=o[a][e];if(void 0!==s)return s}return this.onGetExternalString(e,t)},getLocaleName:function(e,t){if(!e)return"";void 0===t&&(t=this.showNamesInEnglish);var n=t?this.localeNamesInEnglish:this.localeNames,o=t?this.localeNames:this.localeNamesInEnglish;return n[e]||o[e]||e},getLocales:function(e){var t=this;void 0===e&&(e=!1);var n=[];n.push("");var o=this.locales;if(this.supportedLocales&&this.supportedLocales.length>0){o={};for(var i=0;i<this.supportedLocales.length;i++)o[this.supportedLocales[i]]=!0}for(var r in o)e&&r==this.defaultLocale||n.push(r);var a=function(e){return t.getLocaleName(e).toLowerCase()};return n.sort((function(e,t){var n=a(e),o=a(t);return n===o?0:n<o?-1:1})),n},onGetExternalString:function(e,t){}};function d(e,t){return void 0===t&&(t=null),p.getString(e,t)}function h(e){return p.getLocaleStrings(e)}function m(e){p.setupLocale(e)}var g=c;p.locales.en=c,p.localeNames.en="english";var f,y=(f=function(e,t){return(f=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}f(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),v=function(e,t){for(var n=0,o=t.length,i=e.length;n<o;n++,i++)e[i]=t[n];return e};function b(e,t,n){var o=e.getLocalizableString(n);if(!o){var i=void 0;"object"==typeof t.localizable&&t.localizable.defaultStr&&(i=t.localizable.defaultStr),o=e.createLocalizableString(n,e,!0,i),"object"==typeof t.localizable&&"function"==typeof t.localizable.onGetTextCallback&&(o.onGetTextCallback=t.localizable.onGetTextCallback)}}function x(e){return void 0===e&&(e={}),function(t,n){var o=function(e,t){if(t&&"object"==typeof t&&t.type===Ve.ComputedUpdaterType){_e.startCollectDependencies((function(){return e[n]=t.updater()}),e,n);var o=t.updater(),i=_e.finishCollectDependencies();return t.setDependencies(i),e.dependencies[n]&&e.dependencies[n].dispose(),e.dependencies[n]=t,o}return t};e&&e.localizable?(Object.defineProperty(t,n,{get:function(){return function(e,t,n){b(e,t,n);var o=e.getLocalizableStringText(n);if(o)return o;if("object"==typeof t.localizable&&t.localizable.defaultStr){var i=e.getLocale?e.getLocale():"";return d(t.localizable.defaultStr,i)}return""}(this,e,n)},set:function(t){b(this,e,n);var i=o(this,t);this.setLocalizableStringText(n,i),e&&e.onSet&&e.onSet(i,this)}}),Object.defineProperty(t,"object"==typeof e.localizable&&e.localizable.name?e.localizable.name:"loc"+n.charAt(0).toUpperCase()+n.slice(1),{get:function(){return b(this,e,n),this.getLocalizableString(n)}})):Object.defineProperty(t,n,{get:function(){var t=null;return e&&("function"==typeof e.getDefaultValue&&(t=e.getDefaultValue(this)),void 0!==e.defaultValue&&(t=e.defaultValue)),this.getPropertyValue(n,t)},set:function(t){var i=o(this,t),r=this.getPropertyValue(n);i!==r&&(this.setPropertyValue(n,i),e&&e.onSet&&e.onSet(i,this,r))}})}}function C(e,t,n){e.ensureArray(n,(function(n,o){var i=t?t.onPush:null;i&&i(n,o,e)}),(function(n,o){var i=t?t.onRemove:null;i&&i(n,o,e)}))}function w(e){return function(t,n){Object.defineProperty(t,n,{get:function(){return C(this,e,n),this.getPropertyValue(n)},set:function(t){C(this,e,n);var o=this.getPropertyValue(n);t!==o&&(o?o.splice.apply(o,v([0,o.length],t||[])):this.setPropertyValue(n,t),e&&e.onSet&&e.onSet(t,this))}})}}var P=function(){function e(t,n,o){void 0===o&&(o=!1),this.name=n,this.isRequiredValue=!1,this.isUniqueValue=!1,this.isSerializable=!0,this.isLightSerializable=!0,this.isCustom=!1,this.isDynamicChoices=!1,this.isBindable=!1,this.category="",this.categoryIndex=-1,this.visibleIndex=-1,this.maxLength=-1,this.isArray=!1,this.classInfoValue=t,this.isRequiredValue=o,this.idValue=e.Index++}return Object.defineProperty(e.prototype,"id",{get:function(){return this.idValue},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"classInfo",{get:function(){return this.classInfoValue},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"type",{get:function(){return this.typeValue?this.typeValue:"string"},set:function(e){"itemvalues"===e&&(e="itemvalue[]"),"textitems"===e&&(e="textitem[]"),this.typeValue=e,this.typeValue.indexOf("[]")===this.typeValue.length-2&&(this.isArray=!0,this.className=this.typeValue.substring(0,this.typeValue.length-2))},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"isRequired",{get:function(){return this.isRequiredValue},set:function(e){e!==this.isRequired&&(this.isRequiredValue=e,this.classInfo&&this.classInfo.resetAllProperties())},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"isUnique",{get:function(){return this.isUniqueValue},set:function(e){this.isUniqueValue=e},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"uniquePropertyName",{get:function(){return this.uniquePropertyValue},set:function(e){this.uniquePropertyValue=e},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"hasToUseGetValue",{get:function(){return this.onGetValue||this.serializationProperty},enumerable:!1,configurable:!0}),e.prototype.getDefaultValue=function(t){var n=this.defaultValueFunc?this.defaultValueFunc(t):this.defaultValueValue;return e.getItemValuesDefaultValue&&L.isDescendantOf(this.className,"itemvalue")&&(n=e.getItemValuesDefaultValue(this.defaultValueValue||[],this.className)),n},Object.defineProperty(e.prototype,"defaultValue",{get:function(){return this.getDefaultValue(void 0)},set:function(e){this.defaultValueValue=e,void 0!==e&&(this.defaultValueFunc=void 0)},enumerable:!1,configurable:!0}),e.prototype.isDefaultValue=function(e){return this.isDefaultValueByObj(void 0,e)},e.prototype.isDefaultValueByObj=function(e,t){if(this.isLocalizable)return null==t;var n=this.getDefaultValue(e);return u.isValueEmpty(n)?!1===t&&("boolean"==this.type||"switch"==this.type)&&!this.defaultValueFunc||""===t||u.isValueEmpty(t):u.isTwoValueEquals(t,n,!1,!0,!1)},e.prototype.getSerializableValue=function(e,t){if(this.onSerializeValue)return this.onSerializeValue(e);var n=this.getValue(e);return null==n||!t&&this.isDefaultValueByObj(e,n)?void 0:n},e.prototype.getValue=function(e){return this.onGetValue?(e=this.getOriginalObj(e),this.onGetValue(e)):this.serializationProperty&&e[this.serializationProperty]?e[this.serializationProperty].getJson():e[this.name]},e.prototype.getPropertyValue=function(e){return this.isLocalizable?e[this.serializationProperty]?e[this.serializationProperty].text:null:this.getValue(e)},Object.defineProperty(e.prototype,"hasToUseSetValue",{get:function(){return this.onSetValue||this.serializationProperty},enumerable:!1,configurable:!0}),e.prototype.settingValue=function(e,t){return!this.onSettingValue||e.isLoadingFromJson?t:this.onSettingValue(e,t)},e.prototype.setValue=function(e,t,n){this.onSetValue?(e=this.getOriginalObj(e),this.onSetValue(e,t,n)):this.serializationProperty&&e[this.serializationProperty]?e[this.serializationProperty].setJson(t,!0):(t&&"string"==typeof t&&("number"==this.type&&(t=parseInt(t)),"boolean"!=this.type&&"switch"!=this.type||(t="true"===t.toLowerCase())),e[this.name]=t)},e.prototype.validateValue=function(e){var t=this.choices;return!Array.isArray(t)||0===t.length||t.indexOf(e)>-1},e.prototype.getObjType=function(e){return this.classNamePart?e.replace(this.classNamePart,""):e},Object.defineProperty(e.prototype,"choices",{get:function(){return this.getChoices(null)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"hasChoices",{get:function(){return!!this.choicesValue||!!this.choicesfunc},enumerable:!1,configurable:!0}),e.prototype.getChoices=function(e,t){return void 0===t&&(t=null),null!=this.choicesValue?this.choicesValue:null!=this.choicesfunc?this.choicesfunc(e,t):null},e.prototype.setChoices=function(e,t){void 0===t&&(t=null),this.choicesValue=e,this.choicesfunc=t},e.prototype.getBaseValue=function(){return this.baseValue?"function"==typeof this.baseValue?this.baseValue():this.baseValue:""},e.prototype.setBaseValue=function(e){this.baseValue=e},Object.defineProperty(e.prototype,"readOnly",{get:function(){return null!=this.readOnlyValue&&this.readOnlyValue},set:function(e){this.readOnlyValue=e},enumerable:!1,configurable:!0}),e.prototype.isEnable=function(e){return!this.readOnly&&(!e||!this.enableIf||this.enableIf(this.getOriginalObj(e)))},e.prototype.isVisible=function(e,t){void 0===t&&(t=null);var n=!this.layout||!e||this.layout===e;return!(!this.visible||!n)&&(!this.visibleIf||!t||this.visibleIf(this.getOriginalObj(t)))},e.prototype.getOriginalObj=function(e){if(e&&e.getOriginalObj){var t=e.getOriginalObj();if(t&&L.findProperty(t.getType(),this.name))return t}return e},Object.defineProperty(e.prototype,"visible",{get:function(){return null==this.visibleValue||this.visibleValue},set:function(e){this.visibleValue=e},enumerable:!1,configurable:!0}),e.prototype.isAvailableInVersion=function(e){return!(!this.alternativeName&&!this.oldName)||this.isAvailableInVersionCore(e)},e.prototype.getSerializedName=function(e){return this.alternativeName?this.isAvailableInVersionCore(e)?this.name:this.alternativeName||this.oldName:this.name},e.prototype.getSerializedProperty=function(e,t){return!this.oldName||this.isAvailableInVersionCore(t)?this:e&&e.getType?L.findProperty(e.getType(),this.oldName):null},e.prototype.isAvailableInVersionCore=function(e){return!e||!this.version||u.compareVerions(this.version,e)<=0},Object.defineProperty(e.prototype,"isLocalizable",{get:function(){return null!=this.isLocalizableValue&&this.isLocalizableValue},set:function(e){this.isLocalizableValue=e},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"dataList",{get:function(){return Array.isArray(this.dataListValue)?this.dataListValue:[]},set:function(e){this.dataListValue=e},enumerable:!1,configurable:!0}),e.prototype.mergeWith=function(t){for(var n=e.mergableValues,o=0;o<n.length;o++)this.mergeValue(t,n[o])},e.prototype.addDependedProperty=function(e){this.dependedProperties||(this.dependedProperties=[]),this.dependedProperties.indexOf(e)<0&&this.dependedProperties.push(e)},e.prototype.getDependedProperties=function(){return this.dependedProperties?this.dependedProperties:[]},e.prototype.schemaType=function(){if("choicesByUrl"!==this.className)return"string"===this.className?this.className:this.className||this.baseClassName?"array":"switch"==this.type?"boolean":"boolean"==this.type||"number"==this.type?this.type:"string"},e.prototype.schemaRef=function(){if(this.className)return this.className},e.prototype.mergeValue=function(e,t){null==this[t]&&null!=e[t]&&(this[t]=e[t])},e.Index=1,e.mergableValues=["typeValue","choicesValue","baseValue","readOnlyValue","visibleValue","isSerializable","isLightSerializable","isCustom","isBindable","isUnique","uniquePropertyName","isDynamicChoices","isLocalizableValue","className","alternativeName","oldName","layout","version","classNamePart","baseClassName","defaultValue","defaultValueFunc","serializationProperty","onGetValue","onSetValue","onSettingValue","displayName","category","categoryIndex","visibleIndex","nextToProperty","overridingProperty","showMode","dependedProperties","visibleIf","enableIf","onExecuteExpression","onPropertyEditorUpdate","maxLength","maxValue","minValue","dataListValue"],e}(),k=function(){function e(){}return e.addProperty=function(t,n){t=t.toLowerCase();var o=e.properties;o[t]||(o[t]=[]),o[t].push(n)},e.removeProperty=function(t,n){t=t.toLowerCase();var o=e.properties;if(o[t])for(var i=o[t],r=0;r<i.length;r++)if(i[r].name==n){o[t].splice(r,1);break}},e.removeAllProperties=function(t){t=t.toLowerCase(),delete e.properties[t]},e.addClass=function(t,n){t=t.toLowerCase(),n&&(n=n.toLowerCase()),e.parentClasses[t]=n},e.getProperties=function(t){t=t.toLowerCase();for(var n=[],o=e.properties;t;){var i=o[t];if(i)for(var r=0;r<i.length;r++)n.push(i[r]);t=e.parentClasses[t]}return n},e.createProperties=function(t){t&&t.getType&&e.createPropertiesCore(t,t.getType())},e.createPropertiesCore=function(t,n){var o=e.properties;o[n]&&e.createPropertiesInObj(t,o[n]);var i=e.parentClasses[n];i&&e.createPropertiesCore(t,i)},e.createPropertiesInObj=function(t,n){for(var o=0;o<n.length;o++)e.createPropertyInObj(t,n[o])},e.createPropertyInObj=function(t,n){if(!(e.checkIsPropertyExists(t,n.name)||n.serializationProperty&&e.checkIsPropertyExists(t,n.serializationProperty))){if(n.isLocalizable&&n.serializationProperty&&t.createCustomLocalizableObj){t.createCustomLocalizableObj(n.name).defaultValue=n.getDefaultValue(t);var o={get:function(){return t.getLocalizableString(n.name)}};Object.defineProperty(t,n.serializationProperty,o);var i={get:function(){return t.getLocalizableStringText(n.name)},set:function(e){t.setLocalizableStringText(n.name,e)}};Object.defineProperty(t,n.name,i)}else{var r=n.isArray||"multiplevalues"===n.type;if("function"==typeof t.createNewArray&&(L.isDescendantOf(n.className,"itemvalue")?(t.createNewArray(n.name,(function(e){e.locOwner=t,e.ownerPropertyName=n.name})),r=!0):r&&t.createNewArray(n.name),r)){var a=n.getDefaultValue(t);Array.isArray(a)&&t.setPropertyValue(n.name,a)}if(t.getPropertyValue&&t.setPropertyValue){i={get:function(){return n.onGetValue?n.onGetValue(t):t.getPropertyValue(n.name,void 0)},set:function(e){n.onSetValue?n.onSetValue(t,e,null):t.setPropertyValue(n.name,e)}};Object.defineProperty(t,n.name,i)}}"condition"!==n.type&&"expression"!==n.type||n.onExecuteExpression&&t.addExpressionProperty(n.name,n.onExecuteExpression)}},e.checkIsPropertyExists=function(e,t){return e.hasOwnProperty(t)||e[t]},e.properties={},e.parentClasses={},e}(),V=function(){function e(e,t,n,o){void 0===n&&(n=null),void 0===o&&(o=null),this.name=e,this.creator=n,this.parentName=o,e=e.toLowerCase(),this.isCustomValue=!n&&"survey"!==e,this.parentName&&(this.parentName=this.parentName.toLowerCase(),k.addClass(e,this.parentName),n&&this.makeParentRegularClass()),this.properties=new Array;for(var i=0;i<t.length;i++)this.createProperty(t[i],this.isCustom)}return e.prototype.find=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.findProperty=function(e){return this.fillAllProperties(),this.hashProperties[e]},e.prototype.getAllProperties=function(){return this.fillAllProperties(),this.allProperties},e.prototype.getRequiredProperties=function(){if(this.requiredProperties)return this.requiredProperties;this.requiredProperties=[];for(var e=this.getAllProperties(),t=0;t<e.length;t++)e[t].isRequired&&this.requiredProperties.push(e[t]);return this.requiredProperties},e.prototype.resetAllProperties=function(){this.allProperties=void 0,this.requiredProperties=void 0,this.hashProperties=void 0;for(var e=L.getChildrenClasses(this.name),t=0;t<e.length;t++)e[t].resetAllProperties()},Object.defineProperty(e.prototype,"isCustom",{get:function(){return this.isCustomValue},enumerable:!1,configurable:!0}),e.prototype.fillAllProperties=function(){var e=this;if(!this.allProperties){this.allProperties=[],this.hashProperties={};var t={};this.properties.forEach((function(e){return t[e.name]=e}));var n=this.parentName?L.findClass(this.parentName):null;if(n)n.getAllProperties().forEach((function(n){var o=t[n.name];o?(o.mergeWith(n),e.addPropCore(o)):e.addPropCore(n)}));this.properties.forEach((function(t){e.hashProperties[t.name]||e.addPropCore(t)}))}},e.prototype.addPropCore=function(e){this.allProperties.push(e),this.hashProperties[e.name]=e,e.alternativeName&&(this.hashProperties[e.alternativeName]=e)},e.prototype.isOverridedProp=function(e){return!!this.parentName&&!!L.findProperty(this.parentName,e)},e.prototype.hasRegularChildClass=function(){if(this.isCustom){this.isCustomValue=!1;for(var e=0;e<this.properties.length;e++)this.properties[e].isCustom=!1;k.removeAllProperties(this.name),this.makeParentRegularClass()}},e.prototype.makeParentRegularClass=function(){if(this.parentName){var e=L.findClass(this.parentName);e&&e.hasRegularChildClass()}},e.prototype.createProperty=function(t,n){void 0===n&&(n=!1);var o="string"==typeof t?t:t.name;if(o){var i=null,r=o.indexOf(e.typeSymbol);r>-1&&(i=o.substring(r+1),o=o.substring(0,r));var a=this.getIsPropertyNameRequired(o)||!!t.isRequired;o=this.getPropertyName(o);var s=new P(this,o,a);if(i&&(s.type=i),"object"==typeof t){if(t.type&&(s.type=t.type),void 0!==t.default&&(s.defaultValue=t.default),void 0!==t.defaultFunc&&(s.defaultValueFunc=t.defaultFunc),u.isValueEmpty(t.isSerializable)||(s.isSerializable=t.isSerializable),u.isValueEmpty(t.isLightSerializable)||(s.isLightSerializable=t.isLightSerializable),u.isValueEmpty(t.maxLength)||(s.maxLength=t.maxLength),void 0!==t.displayName&&(s.displayName=t.displayName),u.isValueEmpty(t.category)||(s.category=t.category),u.isValueEmpty(t.categoryIndex)||(s.categoryIndex=t.categoryIndex),u.isValueEmpty(t.nextToProperty)||(s.nextToProperty=t.nextToProperty),u.isValueEmpty(t.overridingProperty)||(s.overridingProperty=t.overridingProperty),u.isValueEmpty(t.visibleIndex)||(s.visibleIndex=t.visibleIndex),u.isValueEmpty(t.showMode)||(s.showMode=t.showMode),u.isValueEmpty(t.maxValue)||(s.maxValue=t.maxValue),u.isValueEmpty(t.minValue)||(s.minValue=t.minValue),u.isValueEmpty(t.dataList)||(s.dataList=t.dataList),u.isValueEmpty(t.isDynamicChoices)||(s.isDynamicChoices=t.isDynamicChoices),u.isValueEmpty(t.isBindable)||(s.isBindable=t.isBindable),u.isValueEmpty(t.isUnique)||(s.isUnique=t.isUnique),u.isValueEmpty(t.uniqueProperty)||(s.uniquePropertyName=t.uniqueProperty),u.isValueEmpty(t.isArray)||(s.isArray=t.isArray),!0!==t.visible&&!1!==t.visible||(s.visible=t.visible),t.visibleIf&&(s.visibleIf=t.visibleIf),t.enableIf&&(s.enableIf=t.enableIf),t.onExecuteExpression&&(s.onExecuteExpression=t.onExecuteExpression),t.onPropertyEditorUpdate&&(s.onPropertyEditorUpdate=t.onPropertyEditorUpdate),!0===t.readOnly&&(s.readOnly=!0),!0===t.availableInMatrixColumn&&(s.availableInMatrixColumn=!0),t.choices){var l="function"==typeof t.choices?t.choices:null,c="function"!=typeof t.choices?t.choices:null;s.setChoices(c,l)}if(t.baseValue&&s.setBaseValue(t.baseValue),t.onSerializeValue&&(s.onSerializeValue=t.onSerializeValue),t.onGetValue&&(s.onGetValue=t.onGetValue),t.onSetValue&&(s.onSetValue=t.onSetValue),t.onSettingValue&&(s.onSettingValue=t.onSettingValue),t.isLocalizable&&(t.serializationProperty="loc"+s.name),t.serializationProperty)s.serializationProperty=t.serializationProperty,s.serializationProperty&&0==s.serializationProperty.indexOf("loc")&&(s.isLocalizable=!0);t.isLocalizable&&(s.isLocalizable=t.isLocalizable),t.className&&(s.className=t.className),t.baseClassName&&(s.baseClassName=t.baseClassName,s.isArray=!0),!0===s.isArray&&(s.isArray=!0),t.classNamePart&&(s.classNamePart=t.classNamePart),t.alternativeName&&(s.alternativeName=t.alternativeName),t.oldName&&(s.oldName=t.oldName),t.layout&&(s.layout=t.layout),t.version&&(s.version=t.version),t.dependsOn&&this.addDependsOnProperties(s,t.dependsOn)}return this.properties.push(s),n&&!this.isOverridedProp(s.name)&&(s.isCustom=!0,k.addProperty(this.name,s)),s}},e.prototype.addDependsOnProperties=function(e,t){var n=Array.isArray(t)?t:[t];e.dependsOn=n;for(var o=0;o<n.length;o++)this.addDependsOnProperty(e,n[o])},e.prototype.addDependsOnProperty=function(e,t){var n=this.find(t);n||(n=L.findProperty(this.parentName,t)),n&&n.addDependedProperty(e.name)},e.prototype.getIsPropertyNameRequired=function(t){return t.length>0&&t[0]==e.requiredSymbol},e.prototype.getPropertyName=function(e){return this.getIsPropertyNameRequired(e)?e=e.slice(1):e},e.requiredSymbol="!",e.typeSymbol=":",e}(),_=function(){function e(){this.classes={},this.alternativeNames={},this.childrenClasses={},this.dynamicPropsCache={}}return e.prototype.getObjPropertyValue=function(e,t){if(this.isObjWrapper(e)&&this.isNeedUseObjWrapper(e,t)){var n=e.getOriginalObj(),o=L.findProperty(n.getType(),t);if(o)return this.getObjPropertyValueCore(n,o)}var i=L.findProperty(e.getType(),t);return i?this.getObjPropertyValueCore(e,i):e[t]},e.prototype.setObjPropertyValue=function(e,t,n){if(e[t]!==n)if(e[t]&&e[t].setJson)e[t].setJson(n,!0);else{if(Array.isArray(n)){for(var o=[],i=0;i<n.length;i++)o.push(n[i]);n=o}e[t]=n}},e.prototype.getObjPropertyValueCore=function(e,t){if(!t.isSerializable)return e[t.name];if(t.isLocalizable){if(t.isArray)return e[t.name];if(t.serializationProperty)return e[t.serializationProperty].text}return e.getPropertyValue(t.name)},e.prototype.isObjWrapper=function(e){return!!e.getOriginalObj&&!!e.getOriginalObj()},e.prototype.isNeedUseObjWrapper=function(e,t){if(!e.getDynamicProperties)return!0;var n=e.getDynamicProperties();if(!Array.isArray(n))return!1;for(var o=0;o<n.length;o++)if(n[o].name===t)return!0;return!1},e.prototype.addClass=function(e,t,n,o){void 0===n&&(n=null),void 0===o&&(o=null),e=e.toLowerCase();var i=new V(e,t,n,o);(this.classes[e]=i,o)&&(o=o.toLowerCase(),this.childrenClasses[o]||(this.childrenClasses[o]=[]),this.childrenClasses[o].push(i));return i},e.prototype.removeClass=function(e){var t=this.findClass(e);if(t&&(delete this.classes[t.name],t.parentName)){var n=this.childrenClasses[t.parentName].indexOf(t);n>-1&&this.childrenClasses[t.parentName].splice(n,1)}},e.prototype.overrideClassCreatore=function(e,t){this.overrideClassCreator(e,t)},e.prototype.overrideClassCreator=function(e,t){e=e.toLowerCase();var n=this.findClass(e);n&&(n.creator=t)},e.prototype.getProperties=function(e){var t=this.findClass(e);return t?t.getAllProperties():[]},e.prototype.getPropertiesByObj=function(e){var t=e&&e.getType?e.getType():void 0;if(!t)return[];for(var n=this.getProperties(t),o=this.getDynamicPropertiesByObj(e),i=o.length-1;i>=0;i--)this.findProperty(t,o[i].name)&&o.splice(i,1);return 0===o.length?n:[].concat(n).concat(o)},e.prototype.addDynamicPropertiesIntoObj=function(e,t,n){var o=this;n.forEach((function(n){o.addDynamicPropertyIntoObj(e,t,n.name,!1),n.serializationProperty&&o.addDynamicPropertyIntoObj(e,t,n.serializationProperty,!0),n.alternativeName&&o.addDynamicPropertyIntoObj(e,t,n.alternativeName,!1)}))},e.prototype.addDynamicPropertyIntoObj=function(e,t,n,o){var i={configurable:!0,get:function(){return t[n]}};o||(i.set=function(e){t[n]=e}),Object.defineProperty(e,n,i)},e.prototype.getDynamicPropertiesByObj=function(e,t){if(void 0===t&&(t=null),!e||!e.getType)return[];if(e.getDynamicProperties)return e.getDynamicProperties();if(!e.getDynamicType&&!t)return[];var n=t||e.getDynamicType();return this.getDynamicPropertiesByTypes(e.getType(),n)},e.prototype.getDynamicPropertiesByTypes=function(e,t,n){if(!t)return[];var o=t+"-"+e;if(this.dynamicPropsCache[o])return this.dynamicPropsCache[o];var i=this.getProperties(t);if(!i||0==i.length)return[];for(var r={},a=this.getProperties(e),s=0;s<a.length;s++)r[a[s].name]=a[s];var l=[];n||(n=[]);for(var u=0;u<i.length;u++){var c=i[u];n.indexOf(c.name)<0&&this.canAddDybamicProp(c,r[c.name])&&l.push(c)}return this.dynamicPropsCache[o]=l,l},e.prototype.canAddDybamicProp=function(e,t){if(!t)return!0;if(e===t)return!1;for(var n=e.classInfo;n&&n.parentName;){if((e=this.findProperty(n.parentName,e.name))&&e===t)return!0;n=e?e.classInfo:void 0}return!1},e.prototype.hasOriginalProperty=function(e,t){return!!this.getOriginalProperty(e,t)},e.prototype.getOriginalProperty=function(e,t){var n=this.findProperty(e.getType(),t);return n||(this.isObjWrapper(e)?this.findProperty(e.getOriginalObj().getType(),t):null)},e.prototype.getProperty=function(e,t){var n=this.findProperty(e,t);if(!n)return n;var o=this.findClass(e);if(n.classInfo===o)return n;var i=new P(o,n.name,n.isRequired);return i.mergeWith(n),i.isArray=n.isArray,o.properties.push(i),o.resetAllProperties(),i},e.prototype.findProperty=function(e,t){var n=this.findClass(e);return n?n.findProperty(t):null},e.prototype.findProperties=function(e,t){var n=new Array,o=this.findClass(e);if(!o)return n;for(var i=0;i<t.length;i++){var r=o.findProperty(t[i]);r&&n.push(r)}return n},e.prototype.getAllPropertiesByName=function(e){for(var t=new Array,n=this.getAllClasses(),o=0;o<n.length;o++)for(var i=this.findClass(n[o]),r=0;r<i.properties.length;r++)if(i.properties[r].name==e){t.push(i.properties[r]);break}return t},e.prototype.getAllClasses=function(){var e=new Array;for(var t in this.classes)e.push(t);return e},e.prototype.createClass=function(e,t){void 0===t&&(t=void 0),e=e.toLowerCase();var n=this.findClass(e);if(!n)return null;if(n.creator)return n.creator(t);for(var o=n.parentName;o;){if(!(n=this.findClass(o)))return null;if(o=n.parentName,n.creator)return this.createCustomType(e,n.creator,t)}return null},e.prototype.createCustomType=function(e,t,n){void 0===n&&(n=void 0),e=e.toLowerCase();var o=t(n),i=e,r=o.getTemplate?o.getTemplate():o.getType();return o.getType=function(){return i},o.getTemplate=function(){return r},k.createProperties(o),o},e.prototype.getChildrenClasses=function(e,t){void 0===t&&(t=!1),e=e.toLowerCase();var n=[];return this.fillChildrenClasses(e,t,n),n},e.prototype.getRequiredProperties=function(e){var t=this.findClass(e);if(!t)return[];for(var n=t.getRequiredProperties(),o=[],i=0;i<n.length;i++)o.push(n[i].name);return o},e.prototype.addProperties=function(e,t){e=e.toLowerCase();for(var n=this.findClass(e),o=0;o<t.length;o++)this.addCustomPropertyCore(n,t[o])},e.prototype.addProperty=function(e,t){return this.addCustomPropertyCore(this.findClass(e),t)},e.prototype.addCustomPropertyCore=function(e,t){if(!e)return null;var n=e.createProperty(t,!0);return n&&(this.clearDynamicPropsCache(e),e.resetAllProperties()),n},e.prototype.removeProperty=function(e,t){var n=this.findClass(e);if(!n)return!1;var o=n.find(t);o&&(this.clearDynamicPropsCache(n),this.removePropertyFromClass(n,o),n.resetAllProperties(),k.removeProperty(n.name,t))},e.prototype.clearDynamicPropsCache=function(e){this.dynamicPropsCache={}},e.prototype.removePropertyFromClass=function(e,t){var n=e.properties.indexOf(t);n<0||e.properties.splice(n,1)},e.prototype.fillChildrenClasses=function(e,t,n){var o=this.childrenClasses[e];if(o)for(var i=0;i<o.length;i++)t&&!o[i].creator||n.push(o[i]),this.fillChildrenClasses(o[i].name,t,n)},e.prototype.findClass=function(e){e=e.toLowerCase();var t=this.classes[e];if(!t){var n=this.alternativeNames[e];if(n&&n!=e)return this.findClass(n)}return t},e.prototype.isDescendantOf=function(e,t){if(!e||!t)return!1;e=e.toLowerCase(),t=t.toLowerCase();var n=this.findClass(e);if(!n)return!1;var o=n;do{if(o.name===t)return!0;o=this.classes[o.parentName]}while(o);return!1},e.prototype.addAlterNativeClassName=function(e,t){this.alternativeNames[t.toLowerCase()]=e.toLowerCase()},e.prototype.generateSchema=function(e){void 0===e&&(e=void 0),e||(e="survey");var t=this.findClass(e);if(!t)return null;var n={$schema:"http://json-schema.org/draft-07/schema#",title:"SurveyJS Library json schema",type:"object",properties:{},definitions:{locstring:this.generateLocStrClass()}};return this.generateSchemaProperties(t,n,n.definitions,!0),n},e.prototype.generateLocStrClass=function(){var e={},t=L.findProperty("survey","locale");if(t){var n=t.getChoices(null);Array.isArray(n)&&(n.indexOf("en")<0&&n.splice(0,0,"en"),n.splice(0,0,"default"),n.forEach((function(t){t&&(e[t]={type:"string"})})))}return{$id:"locstring",type:"object",properties:e}},e.prototype.generateSchemaProperties=function(e,t,n,o){if(e){var i=t.properties,r=[];"question"===e.name&&(i.type={type:"string"},r.push("type"));for(var a=0;a<e.properties.length;a++){var s=e.properties[a];!1!==s.isSerializable&&(e.parentName&&L.findProperty(e.parentName,s.name)||(i[s.name]=this.generateSchemaProperty(s,n,o),s.isRequired&&r.push(s.name)))}r.length>0&&(t.required=r)}},e.prototype.generateSchemaProperty=function(e,t,n){if(e.isLocalizable)return{oneOf:[{type:"string"},{$ref:this.getChemeRefName("locstring",n)}]};var o=e.schemaType(),i=e.schemaRef(),r={};if(o&&(r.type=o),e.hasChoices){var a=e.getChoices(null);Array.isArray(a)&&a.length>0&&(r.enum=this.getChoicesValues(a))}if(i&&("array"===o?"string"===e.className?r.items={type:e.className}:r.items={$ref:this.getChemeRefName(e.className,n)}:r.$ref=this.getChemeRefName(i,n),this.generateChemaClass(e.className,t,!1)),e.baseClassName){var s=this.getChildrenClasses(e.baseClassName,!0);"question"==e.baseClassName&&s.push(this.findClass("panel")),r.items={anyOf:[]};for(var l=0;l<s.length;l++){var u=s[l].name;r.items.anyOf.push({$ref:this.getChemeRefName(u,n)}),this.generateChemaClass(u,t,!1)}}return r},e.prototype.getChemeRefName=function(e,t){return t?"#/definitions/"+e:e},e.prototype.generateChemaClass=function(e,t,n){if(!t[e]){var o=this.findClass(e);if(o){var i=!!o.parentName&&"base"!=o.parentName;i&&this.generateChemaClass(o.parentName,t,n);var r={type:"object",$id:e};t[e]=r;var a={properties:{}};this.generateSchemaProperties(o,a,t,n),i?r.allOf=[{$ref:this.getChemeRefName(o.parentName,n)},{properties:a.properties}]:r.properties=a.properties,Array.isArray(a.required)&&(r.required=a.required)}}},e.prototype.getChoicesValues=function(e){var t=new Array;return e.forEach((function(e){"object"==typeof e&&void 0!==e.value?t.push(e.value):t.push(e)})),t},e}(),T=function(){function e(e,t){this.type=e,this.message=t,this.description="",this.at=-1,this.end=-1}return e.prototype.getFullDescription=function(){return this.message+(this.description?"\n"+this.description:"")},e}(),S=function(e){function t(t,n){var o=e.call(this,"unknownproperty","Unknown property in class '"+n+"': '"+t+"'.")||this;return o.propertyName=t,o.className=n,o}return y(t,e),t}(T),E=function(e){function t(t,n,o){var i=e.call(this,n,o)||this;return i.baseClassName=t,i.type=n,i.message=o,i}return y(t,e),t}(T),R=function(e){function t(t,n){var o=e.call(this,n,"missingtypeproperty","The property type is missing in the object. Please take a look at property: '"+t+"'.")||this;return o.propertyName=t,o.baseClassName=n,o}return y(t,e),t}(E),I=function(e){function t(t,n){var o=e.call(this,n,"incorrecttypeproperty","The property type is incorrect in the object. Please take a look at property: '"+t+"'.")||this;return o.propertyName=t,o.baseClassName=n,o}return y(t,e),t}(E),O=function(e){function t(t,n){var o=e.call(this,"requiredproperty","The property '"+t+"' is required in class '"+n+"'.")||this;return o.propertyName=t,o.className=n,o}return y(t,e),t}(T),A=function(e){function t(t,n){var o=e.call(this,"arrayproperty","The property '"+t+"' should be an array in '"+n+"'.")||this;return o.propertyName=t,o.className=n,o}return y(t,e),t}(T),D=function(e){function t(t,n){var o=e.call(this,"incorrectvalue","The property value: '"+n+"' is incorrect for property '"+t.name+"'.")||this;return o.property=t,o.value=n,o}return y(t,e),t}(T),q=function(){function e(){this.errors=new Array,this.lightSerializing=!1}return Object.defineProperty(e,"metaData",{get:function(){return e.metaDataValue},enumerable:!1,configurable:!0}),e.prototype.toJsonObject=function(e,t){return this.toJsonObjectCore(e,null,t)},e.prototype.toObject=function(e,t,n){this.toObjectCore(e,t,n);var o=this.getRequiredError(t,e);o&&this.addNewError(o,e,t)},e.prototype.toObjectCore=function(t,n,o){if(t){var i=null,r=void 0,a=!0;if(n.getType&&(r=n.getType(),i=L.getProperties(r),a=!!r&&!L.isDescendantOf(r,"itemvalue")),i){n.startLoadingFromJson&&n.startLoadingFromJson(t),i=this.addDynamicProperties(n,t,i),this.options=o;var s={};s[e.typePropertyName]=!0;var l={};for(var u in t)this.setPropertyValueToObj(t,n,u,i,s,l,r,a,o);this.options=void 0,n.endLoadingFromJson&&n.endLoadingFromJson()}}},e.prototype.setPropertyValueToObj=function(t,n,o,i,r,a,s,l,u){var c=this;if(!r[o])if(o!==e.positionPropertyName){var p=this.findProperty(i,o);if(!p&&l&&this.addNewError(new S(o.toString(),s),t,n),p){var d=p.dependsOn;Array.isArray(d)&&(a[o]=!0,d.forEach((function(e){a[e]||c.setPropertyValueToObj(t,n,e,i,r,a,s,!1,u)}))),this.valueToObj(t[o],n,p,t,u),r[o]=!0}}else n[o]=t[o]},e.prototype.toJsonObjectCore=function(t,n,o){if(!t||!t.getType)return t;if(!t.isSurvey&&"function"==typeof t.getData)return t.getData();var i={};null==n||n.className||(i[e.typePropertyName]=n.getObjType(t.getType()));var r=!0===o;return o&&!0!==o||(o={}),r&&(o.storeDefaults=r),this.propertiesToJson(t,L.getProperties(t.getType()),i,o),this.propertiesToJson(t,this.getDynamicProperties(t),i,o),i},e.prototype.getDynamicProperties=function(e){return L.getDynamicPropertiesByObj(e)},e.prototype.addDynamicProperties=function(e,t,n){if(!e.getDynamicPropertyName&&!e.getDynamicProperties)return n;if(e.getDynamicPropertyName){var o=e.getDynamicPropertyName();if(!o)return n;o&&t[o]&&(e[o]=t[o])}var i=this.getDynamicProperties(e);return 0===i.length?n:[].concat(n).concat(i)},e.prototype.propertiesToJson=function(e,t,n,o){for(var i=0;i<t.length;i++)this.valueToJson(e,n,t[i],o)},e.prototype.valueToJson=function(e,t,n,o){o||(o={}),!1===n.isSerializable||!1===n.isLightSerializable&&this.lightSerializing||o.version&&!n.isAvailableInVersion(o.version)||this.valueToJsonCore(e,t,n,o)},e.prototype.valueToJsonCore=function(e,t,n,o){var i=n.getSerializedProperty(e,o.version);if(i&&i!==n)this.valueToJsonCore(e,t,i,o);else{var r=n.getSerializableValue(e,o.storeDefaults);if(void 0!==r){if(this.isValueArray(r)){for(var a=[],s=0;s<r.length;s++)a.push(this.toJsonObjectCore(r[s],n,o));r=a.length>0?a:null}else r=this.toJsonObjectCore(r,n,o);if(null!=r){var l=n.getSerializedName(o.version),u="function"==typeof e.getPropertyValue&&null!==e.getPropertyValue(l,null);(o.storeDefaults&&u||!n.isDefaultValueByObj(e,r))&&(L.onSerializingProperty&&L.onSerializingProperty(e,n,r,t)||(t[l]=this.removePosOnValueToJson(n,r)))}}}},e.prototype.valueToObj=function(e,t,n,o,i){if(null!=e)if(this.removePos(n,e),null!=n&&n.hasToUseSetValue)n.setValue(t,e,this);else{if(n.isArray&&!Array.isArray(e)&&e){e=[e];var r=o&&n.alternativeName&&o[n.alternativeName]?n.alternativeName:n.name;this.addNewError(new A(r,t.getType()),o||e,t)}if(this.isValueArray(e))this.valueToArray(e,t,n.name,n,i);else{var a=this.createNewObj(e,n);a.newObj&&(this.toObjectCore(e,a.newObj,i),e=a.newObj),a.error||(null!=n?(n.setValue(t,e,this),i&&i.validatePropertyValues&&(n.validateValue(e)||this.addNewError(new D(n,e),o,t))):t[n.name]=e)}}},e.prototype.removePosOnValueToJson=function(e,t){return e.isCustom&&t?(this.removePosFromObj(t),t):t},e.prototype.removePos=function(e,t){!e||!e.type||e.type.indexOf("value")<0||this.removePosFromObj(t)},e.prototype.removePosFromObj=function(t){if(t&&"function"!=typeof t.getType){if(Array.isArray(t))for(var n=0;n<t.length;n++)this.removePosFromObj(t[n]);if("object"==typeof t)for(var o in t[e.positionPropertyName]&&delete t[e.positionPropertyName],t)this.removePosFromObj(t[o])}},e.prototype.isValueArray=function(e){return e&&Array.isArray(e)},e.prototype.createNewObj=function(e,t){var n={newObj:null,error:null},o=this.getClassNameForNewObj(e,t);return n.newObj=o?L.createClass(o,e):null,n.error=this.checkNewObjectOnErrors(n.newObj,e,t,o),n},e.prototype.getClassNameForNewObj=function(t,n){var o=null!=n&&n.className?n.className:void 0;if(o||(o=t[e.typePropertyName]),!o)return o;o=o.toLowerCase();var i=n.classNamePart;return i&&o.indexOf(i)<0&&(o+=i),o},e.prototype.checkNewObjectOnErrors=function(e,t,n,o){var i=null;return e?i=this.getRequiredError(e,t):n.baseClassName&&(i=o?new I(n.name,n.baseClassName):new R(n.name,n.baseClassName)),i&&this.addNewError(i,t,e),i},e.prototype.getRequiredError=function(e,t){if(!e.getType||"function"==typeof e.getData)return null;var n=L.findClass(e.getType());if(!n)return null;var o=n.getRequiredProperties();if(!Array.isArray(o))return null;for(var i=0;i<o.length;i++){var r=o[i];if(u.isValueEmpty(r.defaultValue)&&!t[r.name])return new O(r.name,e.getType())}return null},e.prototype.addNewError=function(t,n,o){if(t.jsonObj=n,t.element=o,this.errors.push(t),n){var i=n[e.positionPropertyName];i&&(t.at=i.start,t.end=i.end)}},e.prototype.valueToArray=function(e,t,n,o,i){if(!t[n]||this.isValueArray(t[n])){t[n]&&e.length>0&&t[n].splice(0,t[n].length);var r=t[n]?t[n]:[];this.addValuesIntoArray(e,r,o,i),t[n]||(t[n]=r)}},e.prototype.addValuesIntoArray=function(e,t,n,o){for(var i=0;i<e.length;i++){var r=this.createNewObj(e[i],n);r.newObj?(e[i].name&&(r.newObj.name=e[i].name),e[i].valueName&&(r.newObj.valueName=e[i].valueName.toString()),t.push(r.newObj),this.toObjectCore(e[i],r.newObj,o)):r.error||t.push(e[i])}},e.prototype.findProperty=function(e,t){if(!e)return null;for(var n=0;n<e.length;n++){var o=e[n];if(o.name==t||o.alternativeName==t)return o}return null},e.typePropertyName="type",e.positionPropertyName="pos",e.metaDataValue=new _,e}(),L=q.metaData,M=function(){function e(){this.values=null,this.properties=null,this.asyncValues={}}return e.prototype.getFirstName=function(e,t){if(void 0===t&&(t=null),!e)return e;var n="";if(t&&(n=this.getFirstPropertyName(e,t)))return n;for(var o=0;o<e.length;o++){var i=e[o];if("."==i||"["==i)break;n+=i}return n},e.prototype.hasValue=function(e,t){return void 0===t&&(t=null),t||(t=this.values),this.getValueCore(e,t).hasValue},e.prototype.getValue=function(e,t){void 0===t&&(t=null),t||(t=this.values);var n=this.getValueCore(e,t);return n.onProcessValue?n.onProcessValue(n.value):n.value},e.prototype.setValue=function(e,t,n){if(t){var o=this.getNonNestedObject(e,t,!0);o&&(e=o.value,t=o.text,e&&t&&(e[t]=n))}},e.prototype.getValueInfo=function(e){if(e.path)return e.value=this.getValueFromPath(e.path,this.values),e.hasValue=null!==e.value&&!u.isValueEmpty(e.value),void(!e.hasValue&&e.path.length>1&&"length"==e.path[e.path.length-1]&&(e.hasValue=!0,e.value=0));var t=this.getValueCore(e.name,this.values);e.value=t.value,e.hasValue=t.hasValue,e.path=t.hasValue?t.path:null,e.onProcessValue=t.onProcessValue,e.sctrictCompare=t.sctrictCompare},e.prototype.isAnyKeyChanged=function(e,t){for(var n=0;n<t.length;n++){var o=t[n];if(o){var i=o.toLowerCase();if(e.hasOwnProperty(o))return!0;if(o!==i&&e.hasOwnProperty(i))return!0;var r=this.getFirstName(o);if(e.hasOwnProperty(r)){if(o===r)return!0;var a=e[r];if(null!=a){if(!a.hasOwnProperty("oldValue")||!a.hasOwnProperty("newValue"))return!0;var s={};s[r]=a.oldValue;var l=this.getValue(o,s);s[r]=a.newValue;var c=this.getValue(o,s);if(!u.isTwoValueEquals(l,c,!1,!1,!1))return!0}}}}return!1},e.prototype.getValueFromPath=function(e,t){if(2===e.length&&"@survey"===e[0])return this.getValueFromSurvey(e[1]);for(var n=0;t&&n<e.length;){var o=e[n];if(u.isNumber(o)&&Array.isArray(t)&&o>=t.length)return null;t=t[o],n++}return t},e.prototype.getValueCore=function(e,t){var n=this.getQuestionDirectly(e);if(n)return{hasValue:!0,value:n.value,onProcessValue:function(e){return n.getExpressionValue(e)},path:[e],sctrictCompare:n.requireStrictCompare};var o=this.getValueFromValues(e,t);if(e&&!o.hasValue){var i=this.getValueFromSurvey(e);void 0!==i&&(o.hasValue=!0,o.value=i,o.path=["@survey",e])}return o},e.prototype.getQuestionDirectly=function(e){if(this.properties&&this.properties.survey)return this.properties.survey.getQuestionByValueName(e)},e.prototype.getValueFromSurvey=function(e){if(this.properties&&this.properties.survey)return this.properties.survey.getBuiltInVariableValue(e.toLocaleLowerCase())},e.prototype.getValueFromValues=function(e,t){var n={hasValue:!1,value:null,path:null},o=t;if(!o&&0!==o&&!1!==o)return n;e&&e.lastIndexOf(".length")>-1&&e.lastIndexOf(".length")===e.length-".length".length&&(n.value=0,n.hasValue=!0);var i=this.getNonNestedObject(o,e,!1);return i?(n.path=i.path,n.value=i.text?this.getObjectValue(i.value,i.text):i.value,n.hasValue=!u.isValueEmpty(n.value),n):n},e.prototype.getNonNestedObject=function(e,t,n){for(var o=this.getFirstPropertyName(t,e,n),i=e,r=o?[o]:null,a=t;a!=o&&i;){if("["==a[0]){var s=this.getObjInArray(i,a);if(!s)return null;i=s.value,a=s.text,r.push(s.index)}else{if(!o&&a===this.getFirstName(a))return{value:e,text:t,path:r};if(i=this.getObjectValue(i,o),u.isValueEmpty(i)&&!n)return null;a=a.substring(o.length)}a&&"."==a[0]&&(a=a.substring(1)),(o=this.getFirstPropertyName(a,i,n))&&r.push(o)}return{value:i,text:a,path:r}},e.prototype.getObjInArray=function(e,t){if(!Array.isArray(e))return null;for(var n=1,o="";n<t.length&&"]"!=t[n];)o+=t[n],n++;return t=n<t.length?t.substring(n+1):"",(n=this.getIntValue(o))<0||n>=e.length?null:{value:e[n],text:t,index:n}},e.prototype.getFirstPropertyName=function(e,t,n){if(void 0===n&&(n=!1),!e)return"";if(t||(t={}),t.hasOwnProperty(e))return e;var o=e.toLowerCase(),i=o[0],r=i.toUpperCase(),a="";for(var s in t){var l=s[0];if(l===r||l===i){var u=s.toLowerCase();if(u==o)return s;if(o.length<=u.length)continue;var c=o[u.length];if("."!=c&&"["!=c)continue;u==o.substring(0,u.length)&&a.length<s.length&&(a=s)}}if(a)return a;if(n&&"["!==e[0]){var p=e.indexOf(".");return p>-1&&(t[e=e.substring(0,p)]={}),e}return""},e.prototype.getObjectValue=function(e,t){return t?e[t]:null},e.prototype.getIntValue=function(e){return"0"==e||(0|e)>0&&e%1==0?Number(e):-1},e}(),j=function(){function e(){}return e.disposedObjectChangedProperty=function(t,n){e.warn('An attempt to set a property "'+t+'" of a disposed object "'+n+'"')},e.inCorrectQuestionValue=function(t,n){var o=JSON.stringify(n,null,3);e.warn("An attempt to assign an incorrect value"+o+' to the following question: "'+t+'"')},e.warn=function(e){console.warn(e)},e.error=function(e){console.error(e)},e}(),N=function(){function e(){this.functionHash={},this.isAsyncHash={}}return e.prototype.register=function(e,t,n){void 0===n&&(n=!1),this.functionHash[e]=t,n&&(this.isAsyncHash[e]=!0)},e.prototype.unregister=function(e){delete this.functionHash[e],delete this.isAsyncHash[e]},e.prototype.hasFunction=function(e){return!!this.functionHash[e]},e.prototype.isAsyncFunction=function(e){return!!this.isAsyncHash[e]},e.prototype.clear=function(){this.functionHash={}},e.prototype.getAll=function(){var e=[];for(var t in this.functionHash)e.push(t);return e.sort()},e.prototype.run=function(e,t,n,o){void 0===n&&(n=null);var i=this.functionHash[e];if(!i)return j.warn("Unknown function name: "+e),null;var r={func:i};if(n)for(var a in n)r[a]=n[a];return r.func(t,o)},e.Instance=new e,e}(),F=N.Instance.register;function B(e,t){if(null!=e)if(Array.isArray(e))for(var n=0;n<e.length;n++)B(e[n],t);else u.isNumber(e)&&(e=u.getNumber(e)),t.push(e)}function z(e){var t=[];B(e,t);for(var n=0,o=0;o<t.length;o++)n=u.correctAfterPlusMinis(n,t[o],n+t[o]);return n}function H(e,t){var n=[];B(e,n);for(var o=void 0,i=0;i<n.length;i++)void 0===o&&(o=n[i]),t?o>n[i]&&(o=n[i]):o<n[i]&&(o=n[i]);return o}function Q(e,t,n,o,i,r){return!e||u.isValueEmpty(e[t])||r&&!r.run(e)?n:o(n,i?function(e){return"string"==typeof e?u.isNumber(e)?u.getNumber(e):void 0:e}(e[t]):1)}function U(e,t,n,o){void 0===o&&(o=!0);var i=function(e,t){if(e.length<2||e.length>3)return null;var n=e[0];if(!n)return null;if(!Array.isArray(n)&&!Array.isArray(Object.keys(n)))return null;var o=e[1];if("string"!=typeof o&&!(o instanceof String))return null;var i=e.length>2?e[2]:void 0;if("string"==typeof i||i instanceof String||(i=void 0),!i){var r=Array.isArray(t)&&t.length>2?t[2]:void 0;r&&r.toString()&&(i=r.toString())}return{data:n,name:o,expression:i}}(e,t);if(i){var r=i.expression?new be(i.expression):void 0;r&&r.isAsync&&(r=void 0);var a=void 0;if(Array.isArray(i.data))for(var s=0;s<i.data.length;s++)a=Q(i.data[s],i.name,a,n,o,r);else for(var l in i.data)a=Q(i.data[l],i.name,a,n,o,r);return a}}function W(e,t){var n=U(e,t,(function(e,t){return null==e&&(e=0),null==t||null==t?e:u.correctAfterPlusMinis(e,t,e+t)}));return void 0!==n?n:0}function $(e,t){var n=U(e,t,(function(e,t){return null==e&&(e=0),null==t||null==t?e:e+1}),!1);return void 0!==n?n:0}function G(e,t,n){if("days"===n)return J([e,t]);var o=l("function-dateDiffMonths",e),i=l("function-dateDiffMonths",t);n=n||"years";var r=12*(i.getFullYear()-o.getFullYear())+i.getMonth()-o.getMonth();return i.getDate()<o.getDate()&&(r-=1),"months"===n?r:~~(r/12)}function K(e){if(!e)return!1;for(var t=e.questions,n=0;n<t.length;n++)if(!t[n].validate(!1))return!1;return!0}function Z(e){var t=l("function-today");return tn.localization.useLocalTimeZone?t.setHours(0,0,0,0):t.setUTCHours(0,0,0,0),Array.isArray(e)&&1==e.length&&t.setDate(t.getDate()+e[0]),t}function J(e){if(!Array.isArray(e)||2!==e.length)return 0;if(!e[0]||!e[1])return 0;var t=l("function-diffDays",e[0]),n=l("function-diffDays",e[1]),o=Math.abs(n-t);return Math.ceil(o/864e5)}function Y(e,t){var n=Z(void 0);return t&&t[0]&&(n=l("function-"+e,t[0])),n}function X(e,t){if(e&&t){for(var n=e.question;n&&n.parent;){if(r=n.parent.getQuestionByName(t))return r;n=n.parentQuestion}for(var o=["row","panel","survey"],i=0;i<o.length;i++){var r,a=e[o[i]];if(a&&a.getQuestionByName)if(r=a.getQuestionByName(t))return r}return null}}function ee(e,t){return t.length>1&&!u.isValueEmpty(t[1])?e.getDisplayValue(!0,t[1]):e.displayValue}N.Instance.register("sum",z),N.Instance.register("min",(function(e){return H(e,!0)})),N.Instance.register("max",(function(e){return H(e,!1)})),N.Instance.register("count",(function(e){var t=[];return B(e,t),t.length})),N.Instance.register("avg",(function(e){var t=[];B(e,t);var n=z(e);return t.length>0?n/t.length:0})),N.Instance.register("sumInArray",W),N.Instance.register("minInArray",(function(e,t){return U(e,t,(function(e,t){return null==e?t:null==t||null==t||e<t?e:t}))})),N.Instance.register("maxInArray",(function(e,t){return U(e,t,(function(e,t){return null==e?t:null==t||null==t||e>t?e:t}))})),N.Instance.register("countInArray",$),N.Instance.register("avgInArray",(function(e,t){var n=$(e,t);return 0==n?0:W(e,t)/n})),N.Instance.register("iif",(function(e){return e||3===e.length?e[0]?e[1]:e[2]:""})),N.Instance.register("getDate",(function(e){return!e&&e.length<1?null:e[0]?l("function-getDate",e[0]):null})),N.Instance.register("age",(function(e){return!Array.isArray(e)||e.length<1||!e[0]?null:G(e[0],void 0,(e.length>1?e[1]:"")||"years")})),N.Instance.register("dateDiff",(function(e){if(!Array.isArray(e)||e.length<2||!e[0]||!e[1])return null;var t=(e.length>2?e[2]:"")||"days"
11,n="hours"===t||"minutes"===t,o=n?"days":t,i=G(e[0],e[1],o);if(n){var r=l("function-dateDiffMonths",e[0]),a=l("function-dateDiffMonths",e[1]);(a.getHours()>r.getHours()||"hours"!==t&&a.getHours()===r.getHours()&&a.getMinutes()>r.getMinutes())&&(i-=1);var s=24*i+a.getHours()-r.getHours();return"hours"===t?s:(a.getMinutes()<r.getMinutes()&&(s-=1),60*s+a.getMinutes()-r.getMinutes())}return i
vendor: 131,313 bytes, line 11
11})),N.Instance.register("dateAdd",(function(e){if(!Array.isArray(e)||e.length<2||!e[0]||!e[1])return null;var t=l("function-dateAdd",e[0]),n=e[1],o=e[2]||"days";return"days"===o&&t.setDate(t.getDate()+n),"months"===o&&t.setMonth(t.getMonth()+n),"years"===o&&t.setFullYear(t.getFullYear()+n),t})),N.Instance.register("isContainerReady",(function(e){if(!e&&e.length<1)return!1;if(!e[0]||!this.survey)return!1;var t=e[0],n=this.survey.getPageByName(t);if(n||(n=this.survey.getPanelByName(t)),!n){var o=this.survey.getQuestionByName(t);if(!o||!Array.isArray(o.panels))return!1;if(!(e.length>1)){for(var i=0;i<o.panels.length;i++)if(!K(o.panels[i]))return!1;return!0}e[1]<o.panels.length&&(n=o.panels[e[1]])}return K(n)})),N.Instance.register("isDisplayMode",(function(){return this.survey&&this.survey.isDisplayMode})),N.Instance.register("currentDate",(function(){return l("function-currentDate")})),N.Instance.register("today",Z),N.Instance.register("getYear",(function(e){if(1===e.length&&e[0])return l("function-getYear",e[0]).getFullYear()})),N.Instance.register("currentYear",(function(){return l("function-currentYear").getFullYear()})),N.Instance.register("diffDays",J),N.Instance.register("year",(function(e){return Y("year",e).getFullYear()})),N.Instance.register("month",(function(e){return Y("month",e).getMonth()+1})),N.Instance.register("day",(function(e){return Y("day",e).getDate()})),N.Instance.register("weekday",(function(e){return Y("weekday",e).getDay()})),N.Instance.register("displayValue",(function(e){var t=this,n=X(this,e[0]);if(!n)return"";if(n.isReady)this.returnResult(ee(n,e));else{var o=function(n,i){n.isReady&&(n.onReadyChanged.remove(o),t.returnResult(ee(n,e)))};n.onReadyChanged.add(o)}}),!0),N.Instance.register("propertyValue",(function(e){if(2===e.length&&e[0]&&e[1]){var t=X(this,e[0]);return t?t[e[1]]:void 0}})),N.Instance.register("substring",(function(e){if(e.length<2)return"";var t=e[0];if(!t||"string"!=typeof t)return"";var n=e[1];if(!u.isNumber(n))return"";var o=e.length>2?e[2]:void 0;return u.isNumber(o)?t.substring(n,o):t.substring(n)}));var te=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(t,n)};return function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function o(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}}(),ne=function(){function e(){this._id=e.counter++}return Object.defineProperty(e.prototype,"id",{get:function(){return this._id},enumerable:!1,configurable:!0}),e.prototype.toString=function(e){return void 0===e&&(e=void 0),""},e.prototype.hasFunction=function(){return!1},e.prototype.hasAsyncFunction=function(){return!1},e.prototype.addToAsyncList=function(e){},e.prototype.addOperandsToList=function(e){e.push(this),this.addChildrenToList(e)},e.prototype.isEqual=function(e){return!!e&&e.getType()===this.getType()&&this.isContentEqual(e)},e.prototype.areOperatorsEquals=function(e,t){return!e&&!t||!!e&&e.isEqual(t)},e.prototype.addChildrenToList=function(e){},e.counter=1,e}(),oe=function(e){function t(t,n,o,i){void 0===n&&(n=null),void 0===o&&(o=null),void 0===i&&(i=!1);var r=e.call(this)||this;return r.operatorName=t,r.left=n,r.right=o,r.isArithmeticValue=i,r.consumer=i?ue.binaryFunctions.arithmeticOp(t):ue.binaryFunctions[t],null==r.consumer&&ue.throwInvalidOperatorError(t),r}return te(t,e),Object.defineProperty(t.prototype,"requireStrictCompare",{get:function(){return this.getIsOperandRequireStrict(this.left)||this.getIsOperandRequireStrict(this.right)},enumerable:!1,configurable:!0}),t.prototype.getIsOperandRequireStrict=function(e){return!!e&&e.requireStrictCompare},t.prototype.getType=function(){return"binary"},Object.defineProperty(t.prototype,"isArithmetic",{get:function(){return this.isArithmeticValue},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isConjunction",{get:function(){return"or"==this.operatorName||"and"==this.operatorName},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"conjunction",{get:function(){return this.isConjunction?this.operatorName:""},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"operator",{get:function(){return this.operatorName},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"leftOperand",{get:function(){return this.left},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"rightOperand",{get:function(){return this.right},enumerable:!1,configurable:!0}),t.prototype.isContentEqual=function(e){var t=e;return t.operator===this.operator&&this.areOperatorsEquals(this.left,t.left)&&this.areOperatorsEquals(this.right,t.right)},t.prototype.evaluateParam=function(e,t){return null==e?null:e.evaluate(t)},t.prototype.evaluate=function(e){return this.consumer.call(this,this.evaluateParam(this.left,e),this.evaluateParam(this.right,e),this.requireStrictCompare)},t.prototype.toString=function(e){if(void 0===e&&(e=void 0),e){var t=e(this);if(t)return t}return"("+ue.safeToString(this.left,e)+" "+ue.operatorToString(this.operatorName)+" "+ue.safeToString(this.right,e)+")"},t.prototype.setVariables=function(e){null!=this.left&&this.left.setVariables(e),null!=this.right&&this.right.setVariables(e)},t.prototype.hasFunction=function(){return!!this.left&&this.left.hasFunction()||!!this.right&&this.right.hasFunction()},t.prototype.addChildrenToList=function(e){this.left&&this.left.addOperandsToList(e),this.right&&this.right.addOperandsToList(e)},t.prototype.hasAsyncFunction=function(){return!!this.left&&this.left.hasAsyncFunction()||!!this.right&&this.right.hasAsyncFunction()},t.prototype.addToAsyncList=function(e){this.left&&this.left.addToAsyncList(e),this.right&&this.right.addToAsyncList(e)},t}(ne),ie=function(e){function t(t,n){var o=e.call(this)||this;return o.expressionValue=t,o.operatorName=n,o.consumer=ue.unaryFunctions[n],null==o.consumer&&ue.throwInvalidOperatorError(n),o}return te(t,e),Object.defineProperty(t.prototype,"operator",{get:function(){return this.operatorName},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"expression",{get:function(){return this.expressionValue},enumerable:!1,configurable:!0}),t.prototype.getType=function(){return"unary"},t.prototype.toString=function(e){if(void 0===e&&(e=void 0),e){var t=e(this);if(t)return t}var n=ue.operatorToString(this.operator),o=this.expression.toString(e);return this.isRigtOperator?o+" "+n:n+" "+o},Object.defineProperty(t.prototype,"isRigtOperator",{get:function(){var e=this.operatorName.toLowerCase();return"notempty"===e||"empty"===e},enumerable:!1,configurable:!0}),t.prototype.isContentEqual=function(e){var t=e;return t.operator==this.operator&&this.areOperatorsEquals(this.expression,t.expression)},t.prototype.hasFunction=function(){return this.expression.hasFunction()},t.prototype.addChildrenToList=function(e){this.expression.addOperandsToList(e)},t.prototype.hasAsyncFunction=function(){return this.expression.hasAsyncFunction()},t.prototype.addToAsyncList=function(e){this.expression.addToAsyncList(e)},t.prototype.evaluate=function(e){var t=this.expression.evaluate(e);return this.consumer.call(this,t)},t.prototype.setVariables=function(e){this.expression.setVariables(e)},t}(ne),re=function(e){function t(t){var n=e.call(this)||this;return n.values=t,n}return te(t,e),t.prototype.getType=function(){return"array"},t.prototype.toString=function(e){if(void 0===e&&(e=void 0),e){var t=e(this);if(t)return t}return"["+this.values.map((function(t){return t.toString(e)})).join(", ")+"]"},t.prototype.evaluate=function(e){return this.values.map((function(t){return t.evaluate(e)}))},t.prototype.setVariables=function(e){this.values.forEach((function(t){t.setVariables(e)}))},t.prototype.hasFunction=function(){return this.values.some((function(e){return e.hasFunction()}))},t.prototype.addChildrenToList=function(e){this.values.forEach((function(t){t.addOperandsToList(e)}))},t.prototype.hasAsyncFunction=function(){return this.values.some((function(e){return e.hasAsyncFunction()}))},t.prototype.addToAsyncList=function(e){this.values.forEach((function(t){return t.addToAsyncList(e)}))},t.prototype.isContentEqual=function(e){var t=e;if(t.values.length!==this.values.length)return!1;for(var n=0;n<this.values.length;n++)if(!t.values[n].isEqual(this.values[n]))return!1;return!0},t}(ne),ae=function(e){function t(t){var n=e.call(this)||this;return n.value=t,n}return te(t,e),t.prototype.getType=function(){return"const"},t.prototype.toString=function(e){if(void 0===e&&(e=void 0),e){var t=e(this);if(t)return t}return this.value.toString()},Object.defineProperty(t.prototype,"correctValue",{get:function(){return this.getCorrectValue(this.value)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"requireStrictCompare",{get:function(){return!1},enumerable:!1,configurable:!0}),t.prototype.evaluate=function(){return this.getCorrectValue(this.value)},t.prototype.setVariables=function(e){},t.prototype.getCorrectValue=function(e){if(!e||"string"!=typeof e)return e;if(ue.isBooleanValue(e))return"true"===e.toLowerCase();if(e.length>1&&this.isQuote(e[0])&&this.isQuote(e[e.length-1]))return e.substring(1,e.length-1);if(u.isNumber(e)){if("0"===e[0]&&0!=e.indexOf("0x")){var t=e.length,n=t>1&&("."===e[1]||","===e[1]);if(!n&&t>1||n&&t<2)return e}return u.getNumber(e)}return e},t.prototype.isContentEqual=function(e){return e.value==this.value},t.prototype.isQuote=function(e){return"'"==e||'"'==e},t}(ne),se=function(e){function t(n){var o=e.call(this,n)||this;return o.variableName=n,o.valueInfo={},o.useValueAsItIs=!1,o.variableName&&o.variableName.length>1&&o.variableName[0]===t.DisableConversionChar&&(o.variableName=o.variableName.substring(1),o.useValueAsItIs=!0),o}return te(t,e),Object.defineProperty(t,"DisableConversionChar",{get:function(){return tn.expressionDisableConversionChar},set:function(e){tn.expressionDisableConversionChar=e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"requireStrictCompare",{get:function(){return!0===this.valueInfo.sctrictCompare},enumerable:!1,configurable:!0}),t.prototype.getType=function(){return"variable"},t.prototype.toString=function(e){if(void 0===e&&(e=void 0),e){var n=e(this);if(n)return n}return"{"+(this.useValueAsItIs?t.DisableConversionChar:"")+this.variableName+"}"},Object.defineProperty(t.prototype,"variable",{get:function(){return this.variableName},enumerable:!1,configurable:!0}),t.prototype.evaluate=function(e){if(this.valueInfo.name=this.variableName,e.getValueInfo(this.valueInfo),!this.valueInfo.hasValue)return null;var t=this.valueInfo.value;return this.valueInfo.onProcessValue&&(t=this.valueInfo.onProcessValue(t)),this.getCorrectValue(t)},t.prototype.setVariables=function(e){e.push(this.variableName)},t.prototype.getCorrectValue=function(t){return this.useValueAsItIs?t:e.prototype.getCorrectValue.call(this,t)},t.prototype.isContentEqual=function(e){return e.variable==this.variable},t}(ae),le=function(e){function t(t,n){var o=e.call(this)||this;return o.originalValue=t,o.parameters=n,Array.isArray(n)&&0===n.length&&(o.parameters=new re([])),o}return te(t,e),t.prototype.getType=function(){return"function"},t.prototype.evaluate=function(e){var t=this.getAsynValue(e);return t?t.value:this.evaluateCore(e)},t.prototype.evaluateCore=function(e){var t=e.properties;if(this.isAsyncFunction){t=u.createCopy(e.properties);var n=this.id,o=e.asyncValues,i=e.onCompleteAsyncFunc,r=this;t.returnResult=function(e){o[n]={value:e},i(r)}}return N.Instance.run(this.originalValue,this.parameters.evaluate(e),t,this.parameters.values)},t.prototype.toString=function(e){if(void 0===e&&(e=void 0),e){var t=e(this);if(t)return t}return this.originalValue+"("+this.parameters.toString(e)+")"},t.prototype.setVariables=function(e){this.parameters.setVariables(e)},t.prototype.isReady=function(e){return!!this.getAsynValue(e)},t.prototype.getAsynValue=function(e){return e.asyncValues[this.id]},t.prototype.hasFunction=function(){return!0},t.prototype.addChildrenToList=function(e){this.parameters.addOperandsToList(e)},t.prototype.hasAsyncFunction=function(){return this.isAsyncFunction()||this.parameters.hasAsyncFunction()},t.prototype.isAsyncFunction=function(){return N.Instance.isAsyncFunction(this.originalValue)},t.prototype.addToAsyncList=function(e){var t=void 0;if(this.isAsyncFunction()&&(t={operand:this}),this.parameters.hasAsyncFunction()){var n=new Array;this.parameters.addToAsyncList(n),n.forEach((function(e){return e.parent=t})),t||(t={}),t.children=n}t&&e.push(t)},t.prototype.isContentEqual=function(e){var t=e;return t.originalValue==this.originalValue&&this.areOperatorsEquals(t.parameters,this.parameters)},t}(ne),ue=function(){function e(){}return e.throwInvalidOperatorError=function(e){throw new Error("Invalid operator: '"+e+"'")},e.safeToString=function(e,t){return null==e?"":e.toString(t)},e.toOperandString=function(t){return!t||u.isNumber(t)||e.isBooleanValue(t)||(t="'"+t+"'"),t},e.isBooleanValue=function(e){return!!e&&("true"===e.toLowerCase()||"false"===e.toLowerCase())},e.countDecimals=function(e){if(u.isNumber(e)&&Math.floor(e)!==e){var t=e.toString().split(".");return t.length>1&&t[1].length||0}return 0},e.plusMinus=function(t,n,o){var i=e.countDecimals(t),r=e.countDecimals(n);if(i>0||r>0){var a=Math.max(i,r);o=parseFloat(o.toFixed(a))}return o},e.isTwoValueEquals=function(e,t,n){return void 0===n&&(n=!0),"undefined"===e&&(e=void 0),"undefined"===t&&(t=void 0),u.isTwoValueEquals(e,t,n)},e.operatorToString=function(t){var n=e.signs[t];return null==n?t:n},e.convertValForDateCompare=function(e,t){if(t instanceof Date&&"string"==typeof e){var n=l("expression-operand",e);return n.setHours(0,0,0),n}return e},e.unaryFunctions={empty:function(e){return u.isValueEmpty(e)},notempty:function(t){return!e.unaryFunctions.empty(t)},negate:function(e){return!e}},e.binaryFunctions={arithmeticOp:function(t){var n=function(e,t){return u.isValueEmpty(e)?"number"==typeof t?0:"string"==typeof e?e:"string"==typeof t?"":Array.isArray(t)?[]:0:e};return function(o,i){o=n(o,i),i=n(i,o);var r=e.binaryFunctions[t];return null==r?null:r.call(this,o,i)}},and:function(e,t){return e&&t},or:function(e,t){return e||t},plus:function(e,t){return u.sumAnyValues(e,t)},minus:function(e,t){return u.correctAfterPlusMinis(e,t,e-t)},mul:function(e,t){return u.correctAfterMultiple(e,t,e*t)},div:function(e,t){return t?e/t:null},mod:function(e,t){return t?e%t:null},power:function(e,t){return Math.pow(e,t)},greater:function(t,n){return null!=t&&null!=n&&(t=e.convertValForDateCompare(t,n))>(n=e.convertValForDateCompare(n,t))},less:function(t,n){return null!=t&&null!=n&&(t=e.convertValForDateCompare(t,n))<(n=e.convertValForDateCompare(n,t))},greaterorequal:function(t,n){return!!e.binaryFunctions.equal(t,n)||e.binaryFunctions.greater(t,n)},lessorequal:function(t,n){return!!e.binaryFunctions.equal(t,n)||e.binaryFunctions.less(t,n)},equal:function(t,n,o){return t=e.convertValForDateCompare(t,n),n=e.convertValForDateCompare(n,t),e.isTwoValueEquals(t,n,!0!==o)},notequal:function(t,n,o){return!e.binaryFunctions.equal(t,n,o)},contains:function(t,n){return e.binaryFunctions.containsCore(t,n,!0)},notcontains:function(t,n){return!t&&!u.isValueEmpty(n)||e.binaryFunctions.containsCore(t,n,!1)},anyof:function(t,n){if(u.isValueEmpty(t)&&u.isValueEmpty(n))return!0;if(u.isValueEmpty(t)||!Array.isArray(t)&&0===t.length)return!1;if(u.isValueEmpty(n))return!0;if(!Array.isArray(t))return e.binaryFunctions.contains(n,t);if(!Array.isArray(n))return e.binaryFunctions.contains(t,n);for(var o=0;o<n.length;o++)if(e.binaryFunctions.contains(t,n[o]))return!0;return!1},allof:function(t,n){if(!t&&!u.isValueEmpty(n))return!1;if(!Array.isArray(n))return e.binaryFunctions.contains(t,n);for(var o=0;o<n.length;o++)if(!e.binaryFunctions.contains(t,n[o]))return!1;return!0},containsCore:function(t,n,o){if(!t&&0!==t&&!1!==t)return!1;if(t.length||(t=t.toString(),("string"==typeof n||n instanceof String)&&(t=t.toUpperCase(),n=n.toUpperCase())),"string"==typeof t||t instanceof String){if(!n)return!1;n=n.toString();var i=t.indexOf(n)>-1;return o?i:!i}for(var r=Array.isArray(n)?n:[n],a=0;a<r.length;a++){var s=0;for(n=r[a];s<t.length&&!e.isTwoValueEquals(t[s],n);s++);if(s==t.length)return!o}return o}},e.signs={less:"<",lessorequal:"<=",greater:">",greaterorequal:">=",equal:"==",notequal:"!=",plus:"+",minus:"-",mul:"*",div:"/",and:"and",or:"or",power:"^",mod:"%",negate:"!"},e}(),ce=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(t,n)};return function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function o(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}}(),pe=function(e){function t(n,o,i,r){var a=e.call(this)||this;return a.message=n,a.expected=o,a.found=i,a.location=r,a.name="SyntaxError","function"==typeof Error.captureStackTrace&&Error.captureStackTrace(a,t),a}return ce(t,e),t.buildMessage=function(e,t){function n(e){return e.charCodeAt(0).toString(16).toUpperCase()}function o(e){return e.replace(/\\/g,"\\\\").replace(/"/g,'\\"').replace(/\0/g,"\\0").replace(/\t/g,"\\t").replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/[\x00-\x0F]/g,(function(e){return"\\x0"+n(e)})).replace(/[\x10-\x1F\x7F-\x9F]/g,(function(e){return"\\x"+n(e)}))}function i(e){return e.replace(/\\/g,"\\\\").replace(/\]/g,"\\]").replace(/\^/g,"\\^").replace(/-/g,"\\-").replace(/\0/g,"\\0").replace(/\t/g,"\\t").replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/[\x00-\x0F]/g,(function(e){return"\\x0"+n(e)})).replace(/[\x10-\x1F\x7F-\x9F]/g,(function(e){return"\\x"+n(e)}))}function r(e){switch(e.type){case"literal":return'"'+o(e.text)+'"';case"class":var t=e.parts.map((function(e){return Array.isArray(e)?i(e[0])+"-"+i(e[1]):i(e)}));return"["+(e.inverted?"^":"")+t+"]";case"any":return"any character";case"end":return"end of input";case"other":return e.description}}return"Expected "+function(e){var t,n,o=e.map(r);if(o.sort(),o.length>0){for(t=1,n=1;t<o.length;t++)o[t-1]!==o[t]&&(o[n]=o[t],n++);o.length=n}switch(o.length){case 1:return o[0];case 2:return o[0]+" or "+o[1];default:return o.slice(0,-1).join(", ")+", or "+o[o.length-1]}}(e)+" but "+(((a=t)?'"'+o(a)+'"':"end of input")+" found.");var a},t}(Error);var de=function(e,t){t=void 0!==t?t:{};var n,o={},i={Expression:Ke},r=Ke,a=function(e,t){return bt(e,t,!0)},s=ze("||",!1),l=ze("or",!0),u=ze("&&",!1),c=ze("and",!0),p=function(e,t){return bt(e,t)},d=ze("<=",!1),h=ze("lessorequal",!0),m=ze(">=",!1),g=ze("greaterorequal",!0),f=ze("==",!1),y=ze("equal",!0),v=ze("=",!1),b=ze("!=",!1),x=ze("notequal",!0),C=ze("<",!1),w=ze("less",!0),P=ze(">",!1),k=ze("greater",!0),V=ze("+",!1),_=ze("-",!1),T=ze("*",!1),S=ze("/",!1),E=ze("%",!1),R=ze("^",!1),I=ze("power",!0),O=ze("*=",!1),A=ze("contains",!0),D=ze("contain",!0),q=ze("notcontains",!0),L=ze("notcontain",!0),M=ze("anyof",!0),j=ze("allof",!0),N=ze("(",!1),F=ze(")",!1),B=ze("!",!1),z=ze("negate",!0),H=ze("empty",!0),Q=ze("notempty",!0),U=ze("undefined",!1),W=ze("null",!1),$=ze("{",!1),G=ze("}",!1),K=ze("''",!1),Z=ze('""',!1),J=ze("'",!1),Y=function(e){return"'"+e+"'"},X=ze('"',!1),ee=ze("[",!1),te=ze("]",!1),ne=ze(",",!1),ue=ze("true",!0),ce=ze("false",!0),de=ze("0x",!1),he=/^[\-]/,me=He(["-"],!1,!1),ge=ze(".",!1),fe=ze("0",!1),ye=function(e){return e.join("")},ve=ze("\\'",!1),be=ze('\\"',!1),xe=/^[^"']/,Ce=He(['"',"'"],!0,!1),we=function(){return Be()},Pe=/^[^{}]/,ke=He(["{","}"],!0,!1),Ve=/^[0-9]/,_e=He([["0","9"]],!1,!1),Te=/^[1-9]/,Se=He([["1","9"]],!1,!1),Ee=/^[a-zA-Z_]/,Re=He([["a","z"],["A","Z"],"_"],!1,!1),Ie=Qe("whitespace"),Oe=/^[ \t\n\r]/,Ae=He([" ","\t","\n","\r"],!1,!1),De=0,qe=0,Le=[{line:1,column:1}],Me=0,je=[],Ne=0,Fe={};if(void 0!==t.startRule){if(!(t.startRule in i))throw new Error("Can't start parsing from rule \""+t.startRule+'".');r=i[t.startRule]}function Be(){return e.substring(qe,De)}function ze(e,t){return{type:"literal",text:e,ignoreCase:t}}function He(e,t,n){return{type:"class",parts:e,inverted:t,ignoreCase:n}}function Qe(e){return{type:"other",description:e}}function Ue(t){var n,o=Le[t];if(o)return o;for(n=t-1;!Le[n];)n--;for(o={line:(o=Le[n]).line,column:o.column};n<t;)10===e.charCodeAt(n)?(o.line++,o.column=1):o.column++,n++;return Le[t]=o,o}function We(e,t){var n=Ue(e),o=Ue(t);return{start:{offset:e,line:n.line,column:n.column},end:{offset:t,line:o.line,column:o.column}}}function $e(e){De<Me||(De>Me&&(Me=De,je=[]),je.push(e))}function Ge(e,t,n){return new pe(pe.buildMessage(e,t),e,t,n)}function Ke(){var e,t,n,i,r,s,l,u,c=34*De+0,p=Fe[c];if(p)return De=p.nextPos,p.result;if(e=De,vt()!==o)if((t=Je())!==o){for(n=[],i=De,(r=vt())!==o&&(s=Ze())!==o&&(l=vt())!==o&&(u=Je())!==o?i=r=[r,s,l,u]:(De=i,i=o);i!==o;)n.push(i),i=De,(r=vt())!==o&&(s=Ze())!==o&&(l=vt())!==o&&(u=Je())!==o?i=r=[r,s,l,u]:(De=i,i=o);n!==o&&(i=vt())!==o?(qe=e,e=a(t,n)):(De=e,e=o)}else De=e,e=o;else De=e,e=o;return Fe[c]={nextPos:De,result:e},e}function Ze(){var t,n,i=34*De+1,r=Fe[i];return r?(De=r.nextPos,r.result):(t=De,"||"===e.substr(De,2)?(n="||",De+=2):(n=o,0===Ne&&$e(s)),n===o&&("or"===e.substr(De,2).toLowerCase()?(n=e.substr(De,2),De+=2):(n=o,0===Ne&&$e(l))),n!==o&&(qe=t,n="or"),t=n,Fe[i]={nextPos:De,result:t},t)}function Je(){var e,t,n,i,r,s,l,u,c=34*De+2,p=Fe[c];if(p)return De=p.nextPos,p.result;if(e=De,(t=Xe())!==o){for(n=[],i=De,(r=vt())!==o&&(s=Ye())!==o&&(l=vt())!==o&&(u=Xe())!==o?i=r=[r,s,l,u]:(De=i,i=o);i!==o;)n.push(i),i=De,(r=vt())!==o&&(s=Ye())!==o&&(l=vt())!==o&&(u=Xe())!==o?i=r=[r,s,l,u]:(De=i,i=o);n!==o?(qe=e,e=t=a(t,n)):(De=e,e=o)}else De=e,e=o;return Fe[c]={nextPos:De,result:e},e}function Ye(){var t,n,i=34*De+3,r=Fe[i];return r?(De=r.nextPos,r.result):(t=De,"&&"===e.substr(De,2)?(n="&&",De+=2):(n=o,0===Ne&&$e(u)),n===o&&("and"===e.substr(De,3).toLowerCase()?(n=e.substr(De,3),De+=3):(n=o,0===Ne&&$e(c))),n!==o&&(qe=t,n="and"),t=n,Fe[i]={nextPos:De,result:t},t)}function Xe(){var e,t,n,i,r,a,s,l,u=34*De+4,c=Fe[u];if(c)return De=c.nextPos,c.result;if(e=De,(t=tt())!==o){for(n=[],i=De,(r=vt())!==o&&(a=et())!==o&&(s=vt())!==o&&(l=tt())!==o?i=r=[r,a,s,l]:(De=i,i=o);i!==o;)n.push(i),i=De,(r=vt())!==o&&(a=et())!==o&&(s=vt())!==o&&(l=tt())!==o?i=r=[r,a,s,l]:(De=i,i=o);n!==o?(qe=e,e=t=p(t,n)):(De=e,e=o)}else De=e,e=o;return Fe[u]={nextPos:De,result:e},e}function et(){var t,n,i=34*De+5,r=Fe[i];return r?(De=r.nextPos,r.result):(t=De,"<="===e.substr(De,2)?(n="<=",De+=2):(n=o,0===Ne&&$e(d)),n===o&&("lessorequal"===e.substr(De,11).toLowerCase()?(n=e.substr(De,11),De+=11):(n=o,0===Ne&&$e(h))),n!==o&&(qe=t,n="lessorequal"),(t=n)===o&&(t=De,">="===e.substr(De,2)?(n=">=",De+=2):(n=o,0===Ne&&$e(m)),n===o&&("greaterorequal"===e.substr(De,14).toLowerCase()?(n=e.substr(De,14),De+=14):(n=o,0===Ne&&$e(g))),n!==o&&(qe=t,n="greaterorequal"),(t=n)===o&&(t=De,"=="===e.substr(De,2)?(n="==",De+=2):(n=o,0===Ne&&$e(f)),n===o&&("equal"===e.substr(De,5).toLowerCase()?(n=e.substr(De,5),De+=5):(n=o,0===Ne&&$e(y))),n!==o&&(qe=t,n="equal"),(t=n)===o&&(t=De,61===e.charCodeAt(De)?(n="=",De++):(n=o,0===Ne&&$e(v)),n===o&&("equal"===e.substr(De,5).toLowerCase()?(n=e.substr(De,5),De+=5):(n=o,0===Ne&&$e(y))),n!==o&&(qe=t,n="equal"),(t=n)===o&&(t=De,"!="===e.substr(De,2)?(n="!=",De+=2):(n=o,0===Ne&&$e(b)),n===o&&("notequal"===e.substr(De,8).toLowerCase()?(n=e.substr(De,8),De+=8):(n=o,0===Ne&&$e(x))),n!==o&&(qe=t,n="notequal"),(t=n)===o&&(t=De,60===e.charCodeAt(De)?(n="<",De++):(n=o,0===Ne&&$e(C)),n===o&&("less"===e.substr(De,4).toLowerCase()?(n=e.substr(De,4),De+=4):(n=o,0===Ne&&$e(w))),n!==o&&(qe=t,n="less"),(t=n)===o&&(t=De,62===e.charCodeAt(De)?(n=">",De++):(n=o,0===Ne&&$e(P)),n===o&&("greater"===e.substr(De,7).toLowerCase()?(n=e.substr(De,7),De+=7):(n=o,0===Ne&&$e(k))),n!==o&&(qe=t,n="greater"),t=n)))))),Fe[i]={nextPos:De,result:t},t)}function tt(){var e,t,n,i,r,s,l,u,c=34*De+6,p=Fe[c];if(p)return De=p.nextPos,p.result;if(e=De,(t=ot())!==o){for(n=[],i=De,(r=vt())!==o&&(s=nt())!==o&&(l=vt())!==o&&(u=ot())!==o?i=r=[r,s,l,u]:(De=i,i=o);i!==o;)n.push(i),i=De,(r=vt())!==o&&(s=nt())!==o&&(l=vt())!==o&&(u=ot())!==o?i=r=[r,s,l,u]:(De=i,i=o);n!==o?(qe=e,e=t=a(t,n)):(De=e,e=o)}else De=e,e=o;return Fe[c]={nextPos:De,result:e},e}function nt(){var t,n,i=34*De+7,r=Fe[i];return r?(De=r.nextPos,r.result):(t=De,43===e.charCodeAt(De)?(n="+",De++):(n=o,0===Ne&&$e(V)),n!==o&&(qe=t,n="plus"),(t=n)===o&&(t=De,45===e.charCodeAt(De)?(n="-",De++):(n=o,0===Ne&&$e(_)),n!==o&&(qe=t,n="minus"),t=n),Fe[i]={nextPos:De,result:t},t)}function ot(){var e,t,n,i,r,s,l,u,c=34*De+8,p=Fe[c];if(p)return De=p.nextPos,p.result;if(e=De,(t=rt())!==o){for(n=[],i=De,(r=vt())!==o&&(s=it())!==o&&(l=vt())!==o&&(u=rt())!==o?i=r=[r,s,l,u]:(De=i,i=o);i!==o;)n.push(i),i=De,(r=vt())!==o&&(s=it())!==o&&(l=vt())!==o&&(u=rt())!==o?i=r=[r,s,l,u]:(De=i,i=o);n!==o?(qe=e,e=t=a(t,n)):(De=e,e=o)}else De=e,e=o;return Fe[c]={nextPos:De,result:e},e}function it(){var t,n,i=34*De+9,r=Fe[i];return r?(De=r.nextPos,r.result):(t=De,42===e.charCodeAt(De)?(n="*",De++):(n=o,0===Ne&&$e(T)),n!==o&&(qe=t,n="mul"),(t=n)===o&&(t=De,47===e.charCodeAt(De)?(n="/",De++):(n=o,0===Ne&&$e(S)),n!==o&&(qe=t,n="div"),(t=n)===o&&(t=De,37===e.charCodeAt(De)?(n="%",De++):(n=o,0===Ne&&$e(E)),n!==o&&(qe=t,n="mod"),t=n)),Fe[i]={nextPos:De,result:t},t)}function rt(){var e,t,n,i,r,s,l,u,c=34*De+10,p=Fe[c];if(p)return De=p.nextPos,p.result;if(e=De,(t=st())!==o){for(n=[],i=De,(r=vt())!==o&&(s=at())!==o&&(l=vt())!==o&&(u=st())!==o?i=r=[r,s,l,u]:(De=i,i=o);i!==o;)n.push(i),i=De,(r=vt())!==o&&(s=at())!==o&&(l=vt())!==o&&(u=st())!==o?i=r=[r,s,l,u]:(De=i,i=o);n!==o?(qe=e,e=t=a(t,n)):(De=e,e=o)}else De=e,e=o;return Fe[c]={nextPos:De,result:e},e}function at(){var t,n,i=34*De+11,r=Fe[i];return r?(De=r.nextPos,r.result):(t=De,94===e.charCodeAt(De)?(n="^",De++):(n=o,0===Ne&&$e(R)),n===o&&("power"===e.substr(De,5).toLowerCase()?(n=e.substr(De,5),De+=5):(n=o,0===Ne&&$e(I))),n!==o&&(qe=t,n="power"),t=n,Fe[i]={nextPos:De,result:t},t)}function st(){var e,t,n,i,r,a,s,l,u=34*De+12,c=Fe[u];if(c)return De=c.nextPos,c.result;if(e=De,(t=ut())!==o){for(n=[],i=De,(r=vt())!==o&&(a=lt())!==o&&(s=vt())!==o?((l=ut())===o&&(l=null),l!==o?i=r=[r,a,s,l]:(De=i,i=o)):(De=i,i=o);i!==o;)n.push(i),i=De,(r=vt())!==o&&(a=lt())!==o&&(s=vt())!==o?((l=ut())===o&&(l=null),l!==o?i=r=[r,a,s,l]:(De=i,i=o)):(De=i,i=o);n!==o?(qe=e,e=t=p(t,n)):(De=e,e=o)}else De=e,e=o;return Fe[u]={nextPos:De,result:e},e}function lt(){var t,n,i=34*De+13,r=Fe[i];return r?(De=r.nextPos,r.result):(t=De,"*="===e.substr(De,2)?(n="*=",De+=2):(n=o,0===Ne&&$e(O)),n===o&&("contains"===e.substr(De,8).toLowerCase()?(n=e.substr(De,8),De+=8):(n=o,0===Ne&&$e(A)),n===o&&("contain"===e.substr(De,7).toLowerCase()?(n=e.substr(De,7),De+=7):(n=o,0===Ne&&$e(D)))),n!==o&&(qe=t,n="contains"),(t=n)===o&&(t=De,"notcontains"===e.substr(De,11).toLowerCase()?(n=e.substr(De,11),De+=11):(n=o,0===Ne&&$e(q)),n===o&&("notcontain"===e.substr(De,10).toLowerCase()?(n=e.substr(De,10),De+=10):(n=o,0===Ne&&$e(L))),n!==o&&(qe=t,n="notcontains"),(t=n)===o&&(t=De,"anyof"===e.substr(De,5).toLowerCase()?(n=e.substr(De,5),De+=5):(n=o,0===Ne&&$e(M)),n!==o&&(qe=t,n="anyof"),(t=n)===o&&(t=De,"allof"===e.substr(De,5).toLowerCase()?(n=e.substr(De,5),De+=5):(n=o,0===Ne&&$e(j)),n!==o&&(qe=t,n="allof"),t=n))),Fe[i]={nextPos:De,result:t},t)}function ut(){var t,n,i,r,a=34*De+14,s=Fe[a];return s?(De=s.nextPos,s.result):(t=De,40===e.charCodeAt(De)?(n="(",De++):(n=o,0===Ne&&$e(N)),n!==o&&vt()!==o&&(i=Ke())!==o&&vt()!==o?(41===e.charCodeAt(De)?(r=")",De++):(r=o,0===Ne&&$e(F)),r===o&&(r=null),r!==o?(qe=t,t=n=i):(De=t,t=o)):(De=t,t=o),t===o&&(t=function(){var t,n,i,r,a,s=34*De+15,l=Fe[s];if(l)return De=l.nextPos,l.result;t=De,(n=gt())!==o?(40===e.charCodeAt(De)?(i="(",De++):(i=o,0===Ne&&$e(N)),i!==o&&(r=pt())!==o?(41===e.charCodeAt(De)?(a=")",De++):(a=o,0===Ne&&$e(F)),a===o&&(a=null),a!==o?(qe=t,n=new le(n,r),t=n):(De=t,t=o)):(De=t,t=o)):(De=t,t=o);return Fe[s]={nextPos:De,result:t},t}())===o&&(t=function(){var t,n,i,r=34*De+16,a=Fe[r];if(a)return De=a.nextPos,a.result;t=De,33===e.charCodeAt(De)?(n="!",De++):(n=o,0===Ne&&$e(B));n===o&&("negate"===e.substr(De,6).toLowerCase()?(n=e.substr(De,6),De+=6):(n=o,0===Ne&&$e(z)));n!==o&&vt()!==o&&(i=Ke())!==o?(qe=t,n=new ie(i,"negate"),t=n):(De=t,t=o);t===o&&(t=De,(n=ct())!==o&&vt()!==o&&(i=function(){var t,n,i=34*De+17,r=Fe[i];if(r)return De=r.nextPos,r.result;t=De,"empty"===e.substr(De,5).toLowerCase()?(n=e.substr(De,5),De+=5):(n=o,0===Ne&&$e(H));n!==o&&(qe=t,n="empty");(t=n)===o&&(t=De,"notempty"===e.substr(De,8).toLowerCase()?(n=e.substr(De,8),De+=8):(n=o,0===Ne&&$e(Q)),n!==o&&(qe=t,n="notempty"),t=n);return Fe[i]={nextPos:De,result:t},t}())!==o?(qe=t,n=function(e,t){return new ie(e,t)}(n,i),t=n):(De=t,t=o));return Fe[r]={nextPos:De,result:t},t}())===o&&(t=ct())===o&&(t=function(){var t,n,i,r,a=34*De+20,s=Fe[a];if(s)return De=s.nextPos,s.result;t=De,91===e.charCodeAt(De)?(n="[",De++):(n=o,0===Ne&&$e(ee));n!==o&&(i=pt())!==o?(93===e.charCodeAt(De)?(r="]",De++):(r=o,0===Ne&&$e(te)),r!==o?(qe=t,t=n=i):(De=t,t=o)):(De=t,t=o);return Fe[a]={nextPos:De,result:t},t}()),Fe[a]={nextPos:De,result:t},t)}function ct(){var t,n,i,r,a=34*De+18,s=Fe[a];return s?(De=s.nextPos,s.result):(t=De,vt()!==o?("undefined"===e.substr(De,9)?(n="undefined",De+=9):(n=o,0===Ne&&$e(U)),n===o&&("null"===e.substr(De,4)?(n="null",De+=4):(n=o,0===Ne&&$e(W))),n!==o?(qe=t,t=null):(De=t,t=o)):(De=t,t=o),t===o&&(t=De,vt()!==o&&(n=function(){var t,n,i,r,a=34*De+19,s=Fe[a];if(s)return De=s.nextPos,s.result;t=De,(n=function(){var t,n,i=34*De+22,r=Fe[i];if(r)return De=r.nextPos,r.result;t=De,"true"===e.substr(De,4).toLowerCase()?(n=e.substr(De,4),De+=4):(n=o,0===Ne&&$e(ue));n!==o&&(qe=t,n=!0);(t=n)===o&&(t=De,"false"===e.substr(De,5).toLowerCase()?(n=e.substr(De,5),De+=5):(n=o,0===Ne&&$e(ce)),n!==o&&(qe=t,n=!1),t=n);return Fe[i]={nextPos:De,result:t},t}())!==o&&(qe=t,n=n);(t=n)===o&&(t=De,(n=function(){var t,n,i,r=34*De+23,a=Fe[r];if(a)return De=a.nextPos,a.result;t=De,"0x"===e.substr(De,2)?(n="0x",De+=2):(n=o,0===Ne&&$e(de));n!==o&&(i=ft())!==o?(qe=t,n=parseInt(Be(),16),t=n):(De=t,t=o);t===o&&(t=De,he.test(e.charAt(De))?(n=e.charAt(De),De++):(n=o,0===Ne&&$e(me)),n===o&&(n=null),n!==o&&(i=function(){var t,n,i,r=34*De+24,a=Fe[r];if(a)return De=a.nextPos,a.result;t=De,(n=ft())!==o?(46===e.charCodeAt(De)?(i=".",De++):(i=o,0===Ne&&$e(ge)),i!==o&&ft()!==o?(qe=t,n=parseFloat(Be()),t=n):(De=t,t=o)):(De=t,t=o);t===o&&(t=De,(n=function(){var t,n,i=34*De+31,r=Fe[i];if(r)return De=r.nextPos,r.result;t=[],Te.test(e.charAt(De))?(n=e.charAt(De),De++):(n=o,0===Ne&&$e(Se));if(n!==o)for(;n!==o;)t.push(n),Te.test(e.charAt(De))?(n=e.charAt(De),De++):(n=o,0===Ne&&$e(Se));else t=o;return Fe[i]={nextPos:De,result:t},t}())!==o?((i=ft())===o&&(i=null),i!==o?(qe=t,n=parseInt(Be(),10),t=n):(De=t,t=o)):(De=t,t=o),t===o&&(t=De,48===e.charCodeAt(De)?(n="0",De++):(n=o,0===Ne&&$e(fe)),n!==o&&(qe=t,n=0),t=n));return Fe[r]={nextPos:De,result:t},t}())!==o?(qe=t,s=i,t=n=null==n?s:-s):(De=t,t=o));var s;return Fe[r]={nextPos:De,result:t},t}())!==o&&(qe=t,n=n),(t=n)===o&&(t=De,(n=gt())!==o&&(qe=t,n=n),(t=n)===o&&(t=De,"''"===e.substr(De,2)?(n="''",De+=2):(n=o,0===Ne&&$e(K)),n!==o&&(qe=t,n=""),(t=n)===o&&(t=De,'""'===e.substr(De,2)?(n='""',De+=2):(n=o,0===Ne&&$e(Z)),n!==o&&(qe=t,n=""),(t=n)===o&&(t=De,39===e.charCodeAt(De)?(n="'",De++):(n=o,0===Ne&&$e(J)),n!==o&&(i=dt())!==o?(39===e.charCodeAt(De)?(r="'",De++):(r=o,0===Ne&&$e(J)),r!==o?(qe=t,n=Y(i),t=n):(De=t,t=o)):(De=t,t=o),t===o&&(t=De,34===e.charCodeAt(De)?(n='"',De++):(n=o,0===Ne&&$e(X)),n!==o&&(i=dt())!==o?(34===e.charCodeAt(De)?(r='"',De++):(r=o,0===Ne&&$e(X)),r!==o?(qe=t,n=Y(i),t=n):(De=t,t=o)):(De=t,t=o)))))));return Fe[a]={nextPos:De,result:t},t}())!==o?(qe=t,t=new ae(n)):(De=t,t=o),t===o&&(t=De,vt()!==o?(123===e.charCodeAt(De)?(n="{",De++):(n=o,0===Ne&&$e($)),n!==o&&(i=function(){var e,t,n,i=34*De+25,r=Fe[i];if(r)return De=r.nextPos,r.result;if(e=De,t=[],(n=mt())!==o)for(;n!==o;)t.push(n),n=mt();else t=o;t!==o&&(qe=e,t=ye(t));return e=t,Fe[i]={nextPos:De,result:e},e}())!==o?(125===e.charCodeAt(De)?(r="}",De++):(r=o,0===Ne&&$e(G)),r!==o?(qe=t,t=function(e){return new se(e)}(i)):(De=t,t=o)):(De=t,t=o)):(De=t,t=o))),Fe[a]={nextPos:De,result:t},t)}function pt(){var t,n,i,r,a,s,l,u,c=34*De+21,p=Fe[c];if(p)return De=p.nextPos,p.result;if(t=De,(n=Ke())===o&&(n=null),n!==o){for(i=[],r=De,(a=vt())!==o?(44===e.charCodeAt(De)?(s=",",De++):(s=o,0===Ne&&$e(ne)),s!==o&&(l=vt())!==o&&(u=Ke())!==o?r=a=[a,s,l,u]:(De=r,r=o)):(De=r,r=o);r!==o;)i.push(r),r=De,(a=vt())!==o?(44===e.charCodeAt(De)?(s=",",De++):(s=o,0===Ne&&$e(ne)),s!==o&&(l=vt())!==o&&(u=Ke())!==o?r=a=[a,s,l,u]:(De=r,r=o)):(De=r,r=o);i!==o?(qe=t,t=n=function(e,t){if(null==e)return new re([]);var n=[e];if(Array.isArray(t))for(var o=function(e){return[].concat.apply([],e)}(t),i=3;i<o.length;i+=4)n.push(o[i]);return new re(n)}(n,i)):(De=t,t=o)}else De=t,t=o;return Fe[c]={nextPos:De,result:t},t}function dt(){var e,t,n,i=34*De+26,r=Fe[i];if(r)return De=r.nextPos,r.result;if(e=De,t=[],(n=ht())!==o)for(;n!==o;)t.push(n),n=ht();else t=o;return t!==o&&(qe=e,t=ye(t)),e=t,Fe[i]={nextPos:De,result:e},e}function ht(){var t,n,i=34*De+27,r=Fe[i];return r?(De=r.nextPos,r.result):(t=De,"\\'"===e.substr(De,2)?(n="\\'",De+=2):(n=o,0===Ne&&$e(ve)),n!==o&&(qe=t,n="'"),(t=n)===o&&(t=De,'\\"'===e.substr(De,2)?(n='\\"',De+=2):(n=o,0===Ne&&$e(be)),n!==o&&(qe=t,n='"'),(t=n)===o&&(t=De,xe.test(e.charAt(De))?(n=e.charAt(De),De++):(n=o,0===Ne&&$e(Ce)),n!==o&&(qe=t,n=we()),t=n)),Fe[i]={nextPos:De,result:t},t)}function mt(){var t,n,i=34*De+28,r=Fe[i];return r?(De=r.nextPos,r.result):(t=De,Pe.test(e.charAt(De))?(n=e.charAt(De),De++):(n=o,0===Ne&&$e(ke)),n!==o&&(qe=t,n=we()),t=n,Fe[i]={nextPos:De,result:t},t)}function gt(){var e,t,n,i,r,a,s=34*De+29,l=Fe[s];if(l)return De=l.nextPos,l.result;if(e=De,yt()!==o){if(t=[],n=De,(i=ft())!==o){for(r=[],a=yt();a!==o;)r.push(a),a=yt();r!==o?n=i=[i,r]:(De=n,n=o)}else De=n,n=o;for(;n!==o;)if(t.push(n),n=De,(i=ft())!==o){for(r=[],a=yt();a!==o;)r.push(a),a=yt();r!==o?n=i=[i,r]:(De=n,n=o)}else De=n,n=o;t!==o?(qe=e,e=we()):(De=e,e=o)}else De=e,e=o;return Fe[s]={nextPos:De,result:e},e}function ft(){var t,n,i=34*De+30,r=Fe[i];if(r)return De=r.nextPos,r.result;if(t=[],Ve.test(e.charAt(De))?(n=e.charAt(De),De++):(n=o,0===Ne&&$e(_e)),n!==o)for(;n!==o;)t.push(n),Ve.test(e.charAt(De))?(n=e.charAt(De),De++):(n=o,0===Ne&&$e(_e));else t=o;return Fe[i]={nextPos:De,result:t},t}function yt(){var t,n,i=34*De+32,r=Fe[i];if(r)return De=r.nextPos,r.result;if(t=[],Ee.test(e.charAt(De))?(n=e.charAt(De),De++):(n=o,0===Ne&&$e(Re)),n!==o)for(;n!==o;)t.push(n),Ee.test(e.charAt(De))?(n=e.charAt(De),De++):(n=o,0===Ne&&$e(Re));else t=o;return Fe[i]={nextPos:De,result:t},t}function vt(){var t,n,i=34*De+33,r=Fe[i];if(r)return De=r.nextPos,r.result;for(Ne++,t=[],Oe.test(e.charAt(De))?(n=e.charAt(De),De++):(n=o,0===Ne&&$e(Ae));n!==o;)t.push(n),Oe.test(e.charAt(De))?(n=e.charAt(De),De++):(n=o,0===Ne&&$e(Ae));return Ne--,t===o&&(n=o,0===Ne&&$e(Ie)),Fe[i]={nextPos:De,result:t},t}function bt(e,t,n){return void 0===n&&(n=!1),t.reduce((function(e,t){return new oe(t[1],e,t[3],n)}),e)}if((n=r())!==o&&De===e.length)return n;throw n!==o&&De<e.length&&$e({type:"end"}),Ge(je,Me<e.length?e.charAt(Me):null,Me<e.length?We(Me,Me+1):We(Me,Me))},he=function(e,t){this.at=e,this.code=t},me=function(){function e(){}return e.prototype.patchExpression=function(e){return e.replace(/=>/g,">=").replace(/=</g,"<=").replace(/<>/g,"!=").replace(/equals/g,"equal ").replace(/notequals/g,"notequal ")},e.prototype.createCondition=function(e){return this.parseExpression(e)},e.prototype.parseExpression=function(e){try{return de(this.patchExpression(e))}catch(e){e instanceof pe&&(this.conditionError=new he(e.location.start.offset,e.message))}},Object.defineProperty(e.prototype,"error",{get:function(){return this.conditionError},enumerable:!1,configurable:!0}),e}(),ge=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(t,n)};return function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function o(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}}(),fe=function(){function e(e,t,n,o,i){this.operand=e,this.id=t,this.onComplete=n,this.processValue=new M,this.processValue.values=o,this.processValue.properties=i}return e.prototype.run=function(e){var t=this;if(!e)return this.runValues();this.processValue.values=u.createCopy(this.processValue.values),this.processValue.onCompleteAsyncFunc=function(e){var n=t.getAsyncItemByOperand(e,t.asyncFuncList);n&&t.doAsyncFunctionReady(n)},this.asyncFuncList=new Array,this.operand.addToAsyncList(this.asyncFuncList);for(var n=0;n<this.asyncFuncList.length;n++)this.runAsyncItem(this.asyncFuncList[n]);return!1},e.prototype.getAsyncItemByOperand=function(e,t){if(!Array.isArray(t))return null;for(var n=0;n<t.length;n++){if(t[n].operand===e)return t[n];var o=this.getAsyncItemByOperand(e,t[n].children);if(o)return o}return null},e.prototype.runAsyncItem=function(e){var t=this;e.children?e.children.forEach((function(e){return t.runAsyncItem(e)})):this.runAsyncItemCore(e)},e.prototype.runAsyncItemCore=function(e){e.operand?e.operand.evaluate(this.processValue):this.doAsyncFunctionReady(e)},e.prototype.doAsyncFunctionReady=function(e){if(e.parent&&this.isAsyncChildrenReady(e))this.runAsyncItemCore(e.parent);else{for(var t=0;t<this.asyncFuncList.length;t++)if(!this.isAsyncFuncReady(this.asyncFuncList[t]))return;this.runValues()}},e.prototype.isAsyncFuncReady=function(e){return!(e.operand&&!e.operand.isReady(this.processValue))&&this.isAsyncChildrenReady(e)},e.prototype.isAsyncChildrenReady=function(e){if(e.children)for(var t=0;t<e.children.length;t++)if(!this.isAsyncFuncReady(e.children[t]))return!1;return!0},e.prototype.runValues=function(){var e=this.operand.evaluate(this.processValue);return this.onComplete&&this.onComplete(e,this.id),e},e}(),ye=function(){function e(e){this.parser=new me,this.isAsyncValue=!1,this.hasFunctionValue=!1,this.setExpression(e)}return Object.defineProperty(e.prototype,"expression",{get:function(){return this.expressionValue},enumerable:!1,configurable:!0}),e.prototype.setExpression=function(e){this.expression!==e&&(this.expressionValue=e,this.operand=this.parser.parseExpression(e),this.hasFunctionValue=!!this.canRun()&&this.operand.hasFunction(),this.isAsyncValue=!!this.hasFunction()&&this.operand.hasAsyncFunction())},e.prototype.getVariables=function(){if(!this.operand)return[];var e=[];return this.operand.setVariables(e),e},e.prototype.hasFunction=function(){return this.hasFunctionValue},Object.defineProperty(e.prototype,"isAsync",{get:function(){return this.isAsyncValue},enumerable:!1,configurable:!0}),e.prototype.canRun=function(){return!!this.operand},e.prototype.run=function(e,t,n){return void 0===t&&(t=null),this.operand?new fe(this.operand,n,this.onComplete,e,t).run(this.isAsync):(this.expression&&j.warn("Invalid expression: "+this.expression),null)},e.createExpressionExecutor=function(t){return new e(t)},e}(),ve=function(){function e(e){this.expression=e}return Object.defineProperty(e.prototype,"expression",{get:function(){return this.expressionExecutor?this.expressionExecutor.expression:""},set:function(e){var t=this;this.expressionExecutor&&e===this.expression||(this.expressionExecutor=ye.createExpressionExecutor(e),this.expressionExecutor.onComplete=function(e,n){t.doOnComplete(e,n)},this.variables=void 0,this.containsFunc=void 0)},enumerable:!1,configurable:!0}),e.prototype.getVariables=function(){return void 0===this.variables&&(this.variables=this.expressionExecutor.getVariables()),this.variables},e.prototype.hasFunction=function(){return void 0===this.containsFunc&&(this.containsFunc=this.expressionExecutor.hasFunction()),this.containsFunc},Object.defineProperty(e.prototype,"isAsync",{get:function(){return this.expressionExecutor.isAsync},enumerable:!1,configurable:!0}),e.prototype.canRun=function(){return this.expressionExecutor.canRun()},e.prototype.runCore=function(t,n){void 0===n&&(n=null);var o=e.IdRunnerCounter++;return this.onBeforeAsyncRun&&this.isAsync&&this.onBeforeAsyncRun(o),this.expressionExecutor.run(t,n,o)},e.prototype.doOnComplete=function(e,t){this.onAfterAsyncRun&&this.isAsync&&this.onAfterAsyncRun(t)},e.IdRunnerCounter=1,e}(),be=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return ge(t,e),t.prototype.run=function(e,t){return void 0===t&&(t=null),1==this.runCore(e,t)},t.prototype.doOnComplete=function(t,n){this.onRunComplete&&this.onRunComplete(1==t),e.prototype.doOnComplete.call(this,t,n)},t}(ve),xe=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return ge(t,e),t.prototype.run=function(e,t){return void 0===t&&(t=null),this.runCore(e,t)},t.prototype.doOnComplete=function(t,n){this.onRunComplete&&this.onRunComplete(t),e.prototype.doOnComplete.call(this,t,n)},t}(ve),Ce=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(t,n)};return function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function o(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}}(),we=function(e,t){for(var n=0,o=t.length,i=e.length;n<o;n++,i++)e[i]=t[n];return e},Pe=function(){function e(e){this.obj=e,this.properties=null,this.values=null}return e.prototype.getType=function(){return"bindings"},e.prototype.getNames=function(){var e=[];this.fillProperties();for(var t=0;t<this.properties.length;t++)this.properties[t].isVisible("",this.obj)&&e.push(this.properties[t].name);return e},e.prototype.getProperties=function(){var e=[];this.fillProperties();for(var t=0;t<this.properties.length;t++)e.push(this.properties[t]);return e},e.prototype.setBinding=function(e,t){this.values||(this.values={});var n=this.getJson();n!==t&&(t?this.values[e]=t:(delete this.values[e],0==Object.keys(this.values).length&&(this.values=null)),this.onChangedJSON(n))},e.prototype.clearBinding=function(e){this.setBinding(e,"")},e.prototype.isEmpty=function(){if(!this.values)return!0;for(var e in this.values)return!1;return!0},e.prototype.getValueNameByPropertyName=function(e){if(this.values)return this.values[e]},e.prototype.getPropertiesByValueName=function(e){if(!this.values)return[];var t=[];for(var n in this.values)this.values[n]==e&&t.push(n);return t},e.prototype.getJson=function(){var e=this;if(!this.isEmpty()){var t={};return this.getNames().forEach((function(n){void 0!==e.values[n]&&(t[n]=e.values[n])})),t}},e.prototype.setJson=function(e,t){var n=this,o=this.getJson();this.values=null,e&&this.getNames().forEach((function(t){void 0!==e[t]&&(n.values||(n.values={}),n.values[t]=e[t])})),t||u.isTwoValueEquals(o,this.values)||this.onChangedJSON(o)},e.prototype.fillProperties=function(){if(null===this.properties){this.properties=[];for(var e=L.getPropertiesByObj(this.obj),t=0;t<e.length;t++)e[t].isBindable&&this.properties.push(e[t])}},e.prototype.onChangedJSON=function(e){this.obj&&this.obj.onBindingChanged(e,this.getJson())},e}(),ke=function(){function e(t,n,o){this.currentDependency=t,this.target=n,this.property=o,this.dependencies=[],this.id=""+ ++e.DependenciesCount}return e.prototype.addDependency=function(e,t){this.target===e&&this.property===t||this.dependencies.some((function(n){return n.obj===e&&n.prop===t}))||(this.dependencies.push({obj:e,prop:t,id:this.id}),e.registerPropertyChangedHandlers([t],this.currentDependency,this.id))},e.prototype.dispose=function(){this.dependencies.forEach((function(e){e.obj.unregisterPropertyChangedHandlers([e.prop],e.id)}))},e.DependenciesCount=0,e}(),Ve=function(){function e(t){this._updater=t,this.dependencies=void 0,this.type=e.ComputedUpdaterType}return Object.defineProperty(e.prototype,"updater",{get:function(){return this._updater},enumerable:!1,configurable:!0}),e.prototype.setDependencies=function(e){this.clearDependencies(),this.dependencies=e},e.prototype.getDependencies=function(){return this.dependencies},e.prototype.clearDependencies=function(){this.dependencies&&(this.dependencies.dispose(),this.dependencies=void 0)},e.prototype.dispose=function(){this.clearDependencies(),this._updater=void 0},e.ComputedUpdaterType="__dependency_computed",e}(),_e=function(){function e(){this.dependencies={},this.propertyHash=e.createPropertiesHash(),this.eventList=[],this.isLoadingFromJsonValue=!1,this.loadingOwner=null,this.onPropertyChanged=this.addEvent(),this.onItemValuePropertyChanged=this.addEvent(),this.isCreating=!0,this.animationAllowedLock=0,this.supportOnElementRerenderedEvent=!0,this.onElementRerenderedEventEnabled=!1,this._onElementRerendered=new Ee,this.bindingsValue=new Pe(this),k.createProperties(this),this.onBaseCreating(),this.isCreating=!1}return e.finishCollectDependencies=function(){var t=e.currentDependencis;return e.currentDependencis=void 0,t},e.startCollectDependencies=function(t,n,o){if(void 0!==e.currentDependencis)throw new Error("Attempt to collect nested dependencies. Nested dependencies are not supported.");e.currentDependencis=new ke(t,n,o)},e.collectDependency=function(t,n){void 0!==e.currentDependencis&&e.currentDependencis.addDependency(t,n)},Object.defineProperty(e,"commentSuffix",{get:function(){return tn.commentSuffix},set:function(e){tn.commentSuffix=e},enumerable:!1,configurable:!0}),Object.defineProperty(e,"commentPrefix",{get:function(){return e.commentSuffix},set:function(t){e.commentSuffix=t},enumerable:!1,configurable:!0}),e.prototype.isValueEmpty=function(e,t){return void 0===t&&(t=!0),t&&(e=this.trimValue(e)),u.isValueEmpty(e)},e.prototype.equals=function(e){return!!e&&(!this.isDisposed&&!e.isDisposed&&(this.getType()==e.getType()&&this.equalsCore(e)))},e.prototype.equalsCore=function(e){return this.name===e.name&&u.isTwoValueEquals(this.toJSON(),e.toJSON(),!1,!0,!1)},e.prototype.trimValue=function(e){return e&&("string"==typeof e||e instanceof String)?e.trim():e},e.createPropertiesHash=function(){return{}},e.prototype.dispose=function(){for(var e=this,t=0;t<this.eventList.length;t++)this.eventList[t].clear();this.onPropertyValueChangedCallback=void 0,this.isDisposedValue=!0,Object.keys(this.dependencies).forEach((function(t){return e.dependencies[t].dispose()})),Object.keys(this.propertyHash).forEach((function(t){var n=e.getPropertyValueCore(e.propertyHash,t);n&&n.type==Ve.ComputedUpdaterType&&n.dispose()}))},Object.defineProperty(e.prototype,"isDisposed",{get:function(){return!0===this.isDisposedValue},enumerable:!1,configurable:!0}),e.prototype.addEvent=function(){var e=new Ee;return this.eventList.push(e),e},e.prototype.onBaseCreating=function(){},e.prototype.getType=function(){return"base"},e.prototype.isDescendantOf=function(e){return L.isDescendantOf(this.getType(),e)},e.prototype.getSurvey=function(e){return void 0===e&&(e=!1),null},Object.defineProperty(e.prototype,"isDesignMode",{get:function(){var e=this.getSurvey();return!!e&&e.isDesignMode},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"isDesignModeV2",{get:function(){return tn.supportCreatorV2&&this.isDesignMode},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"inSurvey",{get:function(){return!!this.getSurvey(!0)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"bindings",{get:function(){return this.bindingsValue},enumerable:!1,configurable:!0}),e.prototype.checkBindings=function(e,t){},e.prototype.updateBindings=function(e,t){var n=this.bindings.getValueNameByPropertyName(e);n&&this.updateBindingValue(n,t)},e.prototype.updateBindingValue=function(e,t){},e.prototype.getTemplate=function(){return this.getType()},Object.defineProperty(e.prototype,"isLoadingFromJson",{get:function(){return this.isLoadingFromJsonValue||this.getIsLoadingFromJson()},enumerable:!1,configurable:!0}),e.prototype.getIsLoadingFromJson=function(){return!(!this.loadingOwner||!this.loadingOwner.isLoadingFromJson)||this.isLoadingFromJsonValue},e.prototype.startLoadingFromJson=function(e){this.isLoadingFromJsonValue=!0,this.jsonObj=e},e.prototype.endLoadingFromJson=function(){this.isLoadingFromJsonValue=!1},e.prototype.toJSON=function(e){return(new q).toJsonObject(this,e)},e.prototype.fromJSON=function(e,t){(new q).toObject(e,this,t),this.onSurveyLoad()},e.prototype.onSurveyLoad=function(){},e.prototype.clone=function(){var e=L.createClass(this.getType());return e.fromJSON(this.toJSON()),e},e.prototype.getPropertyByName=function(e){var t=this.getType();return this.classMetaData&&this.classMetaData.name===t||(this.classMetaData=L.findClass(t)),this.classMetaData?this.classMetaData.findProperty(e):null},e.prototype.isPropertyVisible=function(e){var t=this.getPropertyByName(e);return!!t&&t.isVisible("",this)},e.createProgressInfo=function(){return{questionCount:0,answeredQuestionCount:0,requiredQuestionCount:0,requiredAnsweredQuestionCount:0}},e.prototype.getProgressInfo=function(){return e.createProgressInfo()},e.prototype.localeChanged=function(){},e.prototype.locStrsChanged=function(){if(this.arraysInfo)for(var t in this.arraysInfo){if((o=this.arraysInfo[t])&&o.isItemValues){var n=this.getPropertyValue(t);n&&e.itemValueLocStrChanged&&e.itemValueLocStrChanged(n)}}if(this.localizableStrings)for(var t in this.localizableStrings){var o;(o=this.getLocalizableString(t))&&o.strChanged()}},e.prototype.getPropertyValue=function(e,t,n){var o=this.getPropertyValueWithoutDefault(e);if(this.isValueUndefined(o)){var i=this.localizableStrings?this.localizableStrings[e]:void 0;if(i)return i.text;if(!this.isValueUndefined(t))return t;if(n){var r=n();if(void 0!==r){if(Array.isArray(r)){var a=this.createNewArray(e);return a.splice.apply(a,we([0,0],r)),a}return this.setPropertyValueDirectly(e,r),r}}var s=this.getDefaultPropertyValue(e);if(void 0!==s)return s}return o},e.prototype.isValueUndefined=function(e){return u.isValueUndefined(e)},e.prototype.getDefaultPropertyValue=function(e){var t=this.getPropertyByName(e);if(!(!t||t.isCustom&&this.isCreating)){if(t.defaultValueFunc)return t.defaultValueFunc(this);var n=t.getDefaultValue(this);if(!this.isValueUndefined(n)&&!Array.isArray(n))return n;var o=this.localizableStrings?this.localizableStrings[e]:void 0;return o&&o.localizationName?this.getLocalizationString(o.localizationName):"boolean"!=t.type&&"switch"!=t.type&&(t.isCustom&&t.onGetValue?t.onGetValue(this):void 0)}},e.prototype.hasDefaultPropertyValue=function(e){return void 0!==this.getDefaultPropertyValue(e)},e.prototype.resetPropertyValue=function(e){var t=this.localizableStrings?this.localizableStrings[e]:void 0;t?(this.setLocalizableStringText(e,void 0),t.clear()):this.setPropertyValue(e,void 0)},e.prototype.getPropertyValueWithoutDefault=function(e){return this.getPropertyValueCore(this.propertyHash,e)},e.prototype.getPropertyValueCore=function(t,n){return this.isLoadingFromJson||e.collectDependency(this,n),this.getPropertyValueCoreHandler?this.getPropertyValueCoreHandler(t,n):t[n]},e.prototype.geValueFromHash=function(){return this.propertyHash.value},e.prototype.setPropertyValueCore=function(e,t,n){this.setPropertyValueCoreHandler?this.isDisposedValue?j.disposedObjectChangedProperty(t,this.getType()):this.setPropertyValueCoreHandler(e,t,n):e[t]=n},Object.defineProperty(e.prototype,"isEditingSurveyElement",{get:function(){var e=this.getSurvey();return!!e&&e.isEditingSurveyElement},enumerable:!1,configurable:!0}),e.prototype.iteratePropertiesHash=function(e){var t=this,n=[];for(var o in this.propertyHash)"value"===o&&this.isEditingSurveyElement&&Array.isArray(this.value)||n.push(o);n.forEach((function(n){return e(t.propertyHash,n)}))},e.prototype.setPropertyValue=function(e,t){if(!this.isDisposedValue){if(!this.isLoadingFromJson){var n=this.getPropertyByName(e);n&&(t=n.settingValue(this,t))}var o=this.getPropertyValue(e);o&&Array.isArray(o)&&this.arraysInfo&&(!t||Array.isArray(t))?this.isTwoValueEquals(o,t)||this.setArrayPropertyDirectly(e,t):t!==o&&(this.setPropertyValueDirectly(e,t),this.isTwoValueEquals(o,t)||this.propertyValueChanged(e,o,t))}},e.prototype.setArrayPropertyDirectly=function(e,t,n){void 0===n&&(n=!0);var o=this.arraysInfo[e];this.setArray(e,this.getPropertyValue(e),t,!!o&&o.isItemValues,o?n&&o.onPush:null)},e.prototype.setPropertyValueDirectly=function(e,t){this.setPropertyValueCore(this.propertyHash,e,t)},e.prototype.clearPropertyValue=function(e){this.setPropertyValueCore(this.propertyHash,e,null),delete this.propertyHash[e]},e.prototype.onPropertyValueChangedCallback=function(e,t,n,o,i){},e.prototype.itemValuePropertyChanged=function(e,t,n,o){this.onItemValuePropertyChanged.fire(this,{obj:e,name:t,oldValue:n,newValue:o,propertyName:e.ownerPropertyName})},e.prototype.onPropertyValueChanged=function(e,t,n){},e.prototype.propertyValueChanged=function(e,t,n,o,i){if(!this.isLoadingFromJson&&(this.updateBindings(e,n),this.onPropertyValueChanged(e,t,n),this.onPropertyChanged.fire(this,{name:e,oldValue:t,newValue:n,arrayChanges:o,target:i}),this.doPropertyValueChangedCallback(e,t,n,o,this),this.checkConditionPropertyChanged(e),this.onPropChangeFunctions))for(var r=0;r<this.onPropChangeFunctions.length;r++)this.onPropChangeFunctions[r].name==e&&this.onPropChangeFunctions[r].func(n,o)},e.prototype.onBindingChanged=function(e,t){this.isLoadingFromJson||this.doPropertyValueChangedCallback("bindings",e,t)},Object.defineProperty(e.prototype,"isInternal",{get:function(){return!1},enumerable:!1,configurable:!0}),e.prototype.doPropertyValueChangedCallback=function(e,t,n,o,i){var r=function(r){r&&r.onPropertyValueChangedCallback&&r.onPropertyValueChangedCallback(e,t,n,i,o)};if(this.isInternal)r(this);else{i||(i=this);var a=this.getSurvey();a||(a=this),r(a),a!==this&&r(this)}},e.prototype.addExpressionProperty=function(e,t,n){this.expressionInfo||(this.expressionInfo={}),this.expressionInfo[e]={onExecute:t,canRun:n}},e.prototype.getDataFilteredValues=function(){return{}},e.prototype.getDataFilteredProperties=function(){return{}},e.prototype.runConditionCore=function(e,t){if(this.expressionInfo)for(var n in this.expressionInfo)this.runConditionItemCore(n,e,t)},e.prototype.canRunConditions=function(){return!this.isDesignMode},e.prototype.checkConditionPropertyChanged=function(e){this.expressionInfo&&this.expressionInfo[e]&&this.canRunConditions()&&this.runConditionItemCore(e,this.getDataFilteredValues(),this.getDataFilteredProperties())},e.prototype.runConditionItemCore=function(e,t,n){var o=this,i=this.expressionInfo[e],r=this.getPropertyValue(e);r&&(i.canRun&&!i.canRun(this)||(i.runner||(i.runner=this.createExpressionRunner(r),i.runner.onRunComplete=function(e){i.onExecute(o,e)}),i.runner.expression=r,i.runner.run(t,n)))},e.prototype.doBeforeAsynRun=function(e){this.asynExpressionHash||(this.asynExpressionHash={});var t=!this.isAsyncExpressionRunning;this.asynExpressionHash[e]=!0,t&&this.onAsyncRunningChanged()},e.prototype.doAfterAsynRun=function(e){this.asynExpressionHash&&(delete this.asynExpressionHash[e],this.isAsyncExpressionRunning||this.onAsyncRunningChanged())},e.prototype.onAsyncRunningChanged=function(){},Object.defineProperty(e.prototype,"isAsyncExpressionRunning",{get:function(){return!!this.asynExpressionHash&&Object.keys(this.asynExpressionHash).length>0},enumerable:!1,configurable:!0}),e.prototype.createExpressionRunner=function(e){var t=this,n=new xe(e);return n.onBeforeAsyncRun=function(e){t.doBeforeAsynRun(e)},n.onAfterAsyncRun=function(e){t.doAfterAsynRun(e)},n},e.prototype.registerPropertyChangedHandlers=function(e,t,n){void 0===n&&(n=null);for(var o=0;o<e.length;o++)this.registerFunctionOnPropertyValueChanged(e[o],t,n)},e.prototype.unregisterPropertyChangedHandlers=function(e,t){void 0===t&&(t=null);for(var n=0;n<e.length;n++)this.unRegisterFunctionOnPropertyValueChanged(e[n],t)},e.prototype.registerFunctionOnPropertyValueChanged=function(e,t,n){if(void 0===n&&(n=null),this.onPropChangeFunctions||(this.onPropChangeFunctions=[]),n)for(var o=0;o<this.onPropChangeFunctions.length;o++){var i=this.onPropChangeFunctions[o];if(i.name==e&&i.key==n)return void(i.func=t)}this.onPropChangeFunctions.push({name:e,func:t,key:n})},e.prototype.registerFunctionOnPropertiesValueChanged=function(e,t,n){void 0===n&&(n=null),this.registerPropertyChangedHandlers(e,t,n)},e.prototype.unRegisterFunctionOnPropertyValueChanged=function(e,t){if(void 0===t&&(t=null),this.onPropChangeFunctions)for(var n=0;n<this.onPropChangeFunctions.length;n++){var o=this.onPropChangeFunctions[n];if(o.name==e&&o.key==t)return void this.onPropChangeFunctions.splice(n,1)}},e.prototype.unRegisterFunctionOnPropertiesValueChanged=function(e,t){void 0===t&&(t=null),this.unregisterPropertyChangedHandlers(e,t)},e.prototype.createCustomLocalizableObj=function(e){var t=this.getLocalizableString(e);return t||this.createLocalizableString(e,this,!1,!0)},e.prototype.getLocale=function(){var e=this.getSurvey();return e?e.getLocale():""},e.prototype.getLocalizationString=function(e){return d(e,this.getLocale())},e.prototype.getLocalizationFormatString=function(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];var o=this.getLocalizationString(e);return o&&o.format?o.format.apply(o,t):""},e.prototype.createLocalizableString=function(e,t,n,o){var i=this;void 0===n&&(n=!1),void 0===o&&(o=!1);var r=void 0;o&&(r=!0===o?e:o);var a=new bt(t,n,e,r);a.onStrChanged=function(t,n){i.propertyValueChanged(e,t,n)},this.localizableStrings||(this.localizableStrings={}),this.localizableStrings[e]=a;var s=this.getPropertyByName(e);return a.disableLocalization=s&&!1===s.isLocalizable,a},e.prototype.getLocalizableString=function(e){return this.localizableStrings?this.localizableStrings[e]:null},e.prototype.getLocalizableStringText=function(t,n){void 0===n&&(n=""),e.collectDependency(this,t);var o=this.getLocalizableString(t);if(!o)return"";var i=o.text;return i||n},e.prototype.setLocalizableStringText=function(e,t){var n=this.getLocalizableString(e);n&&(n.text!=t&&(n.text=t))},e.prototype.addUsedLocales=function(e){if(this.localizableStrings)for(var t in this.localizableStrings){(r=this.getLocalizableString(t))&&this.AddLocStringToUsedLocales(r,e)}if(this.arraysInfo)for(var t in this.arraysInfo){var n=this.getPropertyByName(t);if(n&&n.isSerializable){var o=this.getPropertyValue(t);if(o&&o.length)for(var i=0;i<o.length;i++){var r;(r=o[i])&&r.addUsedLocales&&r.addUsedLocales(e)}}}},e.prototype.searchText=function(e,t){var n=[];this.getSearchableLocalizedStrings(n);for(var o=0;o<n.length;o++)n[o].setFindText(e)&&t.push({element:this,str:n[o]})},e.prototype.getSearchableLocalizedStrings=function(e){if(this.localizableStrings){var t=[];this.getSearchableLocKeys(t);for(var n=0;n<t.length;n++){var o=this.getLocalizableString(t[n]);o&&e.push(o)}}if(this.arraysInfo){var i=[];this.getSearchableItemValueKeys(i);for(n=0;n<i.length;n++){var r=this.getPropertyValue(i[n]);if(r)for(var a=0;a<r.length;a++)e.push(r[a].locText)}}},e.prototype.getSearchableLocKeys=function(e){},e.prototype.getSearchableItemValueKeys=function(e){},e.prototype.AddLocStringToUsedLocales=function(e,t){for(var n=e.getLocales(),o=0;o<n.length;o++)t.indexOf(n[o])<0&&t.push(n[o])},e.prototype.createItemValues=function(e){var t=this,n=this.createNewArray(e,(function(n){if(n.locOwner=t,n.ownerPropertyName=e,"function"==typeof n.getSurvey){var o=n.getSurvey();o&&"function"==typeof o.makeReactive&&o.makeReactive(n)}}));return this.arraysInfo[e].isItemValues=!0,n},e.prototype.notifyArrayChanged=function(e,t){e.onArrayChanged&&e.onArrayChanged(t)},e.prototype.createNewArrayCore=function(e){var t=null;return this.createArrayCoreHandler&&(t=this.createArrayCoreHandler(this.propertyHash,e)),t||(t=new Array,this.setPropertyValueCore(this.propertyHash,e,t)),t},e.prototype.ensureArray=function(e,t,n){if(void 0===t&&(t=null),void 0===n&&(n=null),!this.arraysInfo||!this.arraysInfo[e])return this.createNewArray(e,t,n)},e.prototype.createNewArray=function(e,t,n){void 0===t&&(t=null),void 0===n&&(n=null);var o=this.createNewArrayCore(e);this.arraysInfo||(this.arraysInfo={}),this.arraysInfo[e]={onPush:t,isItemValues:!1};var i=this;return o.push=function(n){var r=Object.getPrototypeOf(o).push.call(o,n);if(!i.isDisposedValue){t&&t(n,o.length-1);var a=new Te(o.length-1,0,[n],[]);i.propertyValueChanged(e,o,o,a),i.notifyArrayChanged(o,a)}return r},o.shift=function(){var t=Object.getPrototypeOf(o).shift.call(o);if(!i.isDisposedValue&&t){n&&n(t);var r=new Te(o.length-1,1,[],[]);i.propertyValueChanged(e,o,o,r),i.notifyArrayChanged(o,r)}return t},o.unshift=function(n){var r=Object.getPrototypeOf(o).unshift.call(o,n);if(!i.isDisposedValue){t&&t(n,o.length-1);var a=new Te(0,0,[n],[]);i.propertyValueChanged(e,o,o,a),i.notifyArrayChanged(o,a)}return r},o.pop=function(){var t=Object.getPrototypeOf(o).pop.call(o);if(!i.isDisposedValue){n&&n(t);var r=new Te(o.length-1,1,[],[]);i.propertyValueChanged(e,o,o,r),i.notifyArrayChanged(o,r)}return t},o.splice=function(r,a){for(var s,l=[],u=2;u<arguments.length;u++)l[u-2]=arguments[u];r||(r=0),a||(a=0);var c=(s=Object.getPrototypeOf(o).splice).call.apply(s,we([o,r,a],l));if(l||(l=[]),!i.isDisposedValue){if(n&&c)for(var p=0;p<c.length;p++)n(c[p]);if(t)for(p=0;p<l.length;p++)t(l[p],r+p);var d=new Te(r,a,l,c);i.propertyValueChanged(e,o,o,d),i.notifyArrayChanged(o,d)}return c},o},e.prototype.getItemValueType=function(){},e.prototype.setArray=function(t,n,o,i,r){var a=[].concat(n);if(Object.getPrototypeOf(n).splice.call(n,0,n.length),o)for(var s=0;s<o.length;s++){var l=o[s];i&&e.createItemValue&&(l=e.createItemValue(l,this.getItemValueType())),Object.getPrototypeOf(n).push.call(n,l),r&&r(n[s])}var u=new Te(0,a.length,n,a);this.propertyValueChanged(t,a,n,u),this.notifyArrayChanged(n,u)},e.prototype.isTwoValueEquals=function(e,t,n,o){return void 0===n&&(n=!1),void 0===o&&(o=!1),u.checkIfValuesEqual(e,t,{ignoreOrder:!1,caseSensitive:!n,trimStrings:o,doNotConvertNumbers:!0})},e.copyObject=function(e,t){for(var n in t){var o=t[n];"object"==typeof o&&(o={},this.copyObject(o,t[n])),e[n]=o}},e.prototype.copyCssClasses=function(t,n){n&&("string"==typeof n||n instanceof String?t.root=n:e.copyObject(t,n))},e.prototype.getValueInLowCase=function(e){return e&&"string"==typeof e?e.toLowerCase():e},e.prototype.getElementsInDesign=function(e){return void 0===e&&(e=!1),[]},Object.defineProperty(e.prototype,"animationAllowed",{get:function(){return this.getIsAnimationAllowed()},enumerable:!1,configurable:!0}),e.prototype.getIsAnimationAllowed=function(){return tn.animationEnabled&&this.animationAllowedLock>=0&&!this.isLoadingFromJson&&!this.isDisposed&&(!!this.onElementRerendered||!this.supportOnElementRerenderedEvent)},e.prototype.blockAnimations=function(){this.animationAllowedLock--},e.prototype.releaseAnimations=function(){this.animationAllowedLock++},e.prototype.enableOnElementRerenderedEvent=function(){this.onElementRerenderedEventEnabled=!0},e.prototype.disableOnElementRerenderedEvent=function(){var e;null===(e=this.onElementRerendered)||void 0===e||e.fire(this,{isCancel:!0}),this.onElementRerenderedEventEnabled=!1},Object.defineProperty(e.prototype,"onElementRerendered",{get:function(){return this.supportOnElementRerenderedEvent&&this.onElementRerenderedEventEnabled?this._onElementRerendered:void 0},enumerable:!1,configurable:!0}),e.prototype.afterRerender=function(){var e;null===(e=this.onElementRerendered)||void 0===e||e.fire(this,{isCancel:!1})},e.currentDependencis=void 0,e}(),Te=function(e,t,n,o){this.index=e,this.deleteCount=t,this.itemsToAdd=n,this.deletedItems=o},Se=function(){function e(){}return Object.defineProperty(e.prototype,"isEmpty",{get:function(){return 0===this.length},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"length",{get:function(){return this.callbacks?this.callbacks.length:0},enumerable:!1,configurable:!0}),e.prototype.fireByCreatingOptions=function(e,t){if(this.callbacks)for(var n=0;n<this.callbacks.length;n++)if(this.callbacks[n](e,t()),!this.callbacks)return},e.prototype.fire=function(e,t){if(this.callbacks)for(var n=[].concat(this.callbacks),o=0;o<n.length;o++)if(n[o](e,t),!this.callbacks)return},e.prototype.clear=function(){this.callbacks=void 0},e.prototype.add=function(e){this.hasFunc(e)||(this.callbacks||(this.callbacks=new Array),this.callbacks.push(e),this.fireCallbackChanged())},e.prototype.remove=function(e){if(this.hasFunc(e)){var t=this.callbacks.indexOf(e,0);this.callbacks.splice(t,1),this.fireCallbackChanged()}},e.prototype.hasFunc=function(e){return null!=this.callbacks&&this.callbacks.indexOf(e,0)>-1},e.prototype.fireCallbackChanged=function(){this.onCallbacksChanged&&this.onCallbacksChanged()},e}(),Ee=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Ce(t,e),t}(Se),Re=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(t,n)};return function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function o(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}}(),Ie=function(){function e(e,t,n,o,i){var r=this;void 0===o&&(o=null),void 0===i&&(i=function(e){queueMicrotask?queueMicrotask(e):e()}),this.container=e,this.model=t,this.itemsSelector=n,this.dotsItemSize=o,this.delayedUpdateFunction=i,this.resizeObserver=void 0,this.isInitialized=!1,this.minDimensionConst=56,this.separatorSize=17,this.separatorAddConst=1,this.paddingSizeConst=8,this.dotsSizeConst=48,this.dotsIconClass=".sv-dots",this.iconClass=".sv-svg-icon",this.recalcMinDimensionConst=!0,this.getComputedStyle=function(e){return s.getComputedStyle(e)},this.model.updateCallback=function(e){e&&(r.isInitialized=!1),setTimeout((function(){r.process()}),1)},"undefined"!=typeof ResizeObserver&&(this.resizeObserver=new ResizeObserver((function(e){a.requestAnimationFrame((function(){r.process()}))})),this.resizeObserver.observe(this.container.parentElement))}return e.prototype.getDimensions=function(e){return{scroll:e.scrollWidth,offset:e.offsetWidth}},e.prototype.getAvailableSpace=function(){var e=this.getComputedStyle(this.container),t=this.container.offsetWidth;return"border-box"===e.boxSizing&&(t-=parseFloat(e.paddingLeft)+parseFloat(e.paddingRight)),t},e.prototype.calcItemSize=function(e){return e.offsetWidth||e.getBoundingClientRect().width},e.prototype.calcMinDimension=function(e,t){var n;if(!t||e.iconSize&&"auto"!==e.iconSize)e.iconSize&&"number"==typeof e.iconSize&&this.recalcMinDimensionConst&&(n=e.iconSize);else{var o=t.querySelector(this.iconClass);n=o&&this.calcItemSize(o)}var i=n?n+2*this.paddingSizeConst:this.minDimensionConst;return e.canShrink?i+(e.needSeparator?this.separatorSize:0):e.maxDimension},e.prototype.calcItemsSizes=function(){var e=this;if(this.container&&!this.isInitialized){var t=this.model.actions;(this.container.querySelectorAll(this.itemsSelector)||[]).forEach((function(n,o){var i=t[o];i&&e.calcActionDimensions(i,n)}))}},e.prototype.calcActionDimensions=function(e,t){e.maxDimension=this.calcItemSize(t),e.minDimension=this.calcMinDimension(e,t)},Object.defineProperty(e.prototype,"isContainerVisible",{get:function(){return!!this.container&&Wt(this.container)},enumerable:!1,configurable:!0}),e.prototype.process=function(){var e=this;if(this.isContainerVisible&&!this.model.isResponsivenessDisabled){this.isInitialized||this.model.setActionsMode("large");var t=function(){var t,n=e.dotsItemSize;if(!e.dotsItemSize){var o=null===(t=e.container)||void 0===t?void 0:t.querySelector(e.dotsIconClass);n=o&&e.calcItemSize(o)||e.dotsSizeConst}e.model.fit(e.getAvailableSpace(),n)};if(this.isInitialized)t();else{var n=function(){e.container&&(e.calcItemsSizes(),e.isInitialized=!0,t())};this.delayedUpdateFunction?this.delayedUpdateFunction(n):n()}}},e.prototype.dispose=function(){this.model.updateCallback=void 0,this.resizeObserver&&this.resizeObserver.disconnect(),this.resizeObserver=void 0,this.container=void 0},e}(),Oe=function(e){function t(t,n,o,i,r,a){void 0===r&&(r=40);var s=e.call(this,t,n,o,i,a)||this;return s.minDimensionConst=r,s.recalcMinDimensionConst=!1,s}return Re(t,e),t.prototype.getDimensions=function(){return{scroll:this.container.scrollHeight,offset:this.container.offsetHeight}},t.prototype.getAvailableSpace=function(){var e=this.getComputedStyle(this.container),t=this.container.offsetHeight;return"border-box"===e.boxSizing&&(t-=parseFloat(e.paddingTop)+parseFloat(e.paddingBottom)),t},t.prototype.calcItemSize=function(e){return e.offsetHeight},t.prototype.calcActionDimensions=function(e,t){e.maxDimension=this.calcItemSize(t),e.minDimension=this.calcItemSize(t)},t}(Ie),Ae=function(){function e(){this.classes=[]}return e.prototype.isEmpty=function(){return""===this.toString()},e.prototype.append=function(e,t){return void 0===t&&(t=!0),e&&t&&("string"==typeof e&&(e=e.trim()),this.classes.push(e)),this},e.prototype.toString=function(){return this.classes.join(" ")},e}(),De=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(t,n)};return function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function o(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}}(),qe=function(e,t,n,o){var i,r=arguments.length,a=r<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,n):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,o);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(a=(r<3?i(a):r>3?i(t,n,a):i(t,n))||a);return r>3&&a&&Object.defineProperty(t,n,a),a},Le={root:"sv-action-bar",defaultSizeMode:"sv-action-bar--default-size-mode",smallSizeMode:"sv-action-bar--small-size-mode",item:"sv-action-bar-item",itemWithTitle:"",itemAsIcon:"sv-action-bar-item--icon",itemActive:"sv-action-bar-item--active",itemPressed:"sv-action-bar-item--pressed",itemIcon:"sv-action-bar-item__icon",itemTitle:"sv-action-bar-item__title",itemTitleWithIcon:"sv-action-bar-item__title--with-icon"},Me=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.sizeMode="default",t}return De(t,e),t.prototype.getMarkdownHtml=function(e,t){return this.locOwner?this.locOwner.getMarkdownHtml(e,t):void 0},t.prototype.getRenderer=function(e){return this.locOwner?this.locOwner.getRenderer(e):null},t.prototype.getRendererContext=function(e){return this.locOwner?this.locOwner.getRendererContext(e):e},t.prototype.getProcessedText=function(e){return this.locOwner?this.locOwner.getProcessedText(e):e},t.prototype.getLocale=function(){return this.locOwner?this.locOwner.getLocale():""},t.prototype.getRenderedActions=function(){return this.actions},t.prototype.locStrsChanged=function(){e.prototype.locStrsChanged.call(this),this.actions.forEach((function(e){e.locTitle&&e.locTitle.strChanged(),e.locStrsChanged()}))},t.prototype.raiseUpdate=function(e){this.isEmpty=!this.actions.some((function(e){return e.visible})),this.updateCallback&&this.updateCallback(e)},t.prototype.onSet=function(){var e=this;this.actions.forEach((function(t){e.setActionCssClasses(t)})),this.raiseUpdate(!0)},t.prototype.onPush=function(e){this.setActionCssClasses(e),e.owner=this,this.raiseUpdate(!0)},t.prototype.onRemove=function(e){e.owner=null,this.raiseUpdate(!0)},t.prototype.setActionCssClasses=function(e){e.cssClasses=this.cssClasses},Object.defineProperty(t.prototype,"hasActions",{get:function(){return(this.actions||[]).length>0},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"renderedActions",{get:function(){return this.getRenderedActions()},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"visibleActions",{get:function(){return this.actions.filter((function(e){return!1!==e.visible}))},enumerable:!1,configurable:!0}),t.prototype.getRootCss=function(){var e="small"===this.sizeMode?this.cssClasses.smallSizeMode:this.cssClasses.defaultSizeMode;return(new Ae).append(this.cssClasses.root+(e?" "+e:"")+(this.containerCss?" "+this.containerCss:"")).append(this.cssClasses.root+"--empty",this.isEmpty).toString()},t.prototype.getDefaultCssClasses=function(){return Le},Object.defineProperty(t.prototype,"cssClasses",{get:function(){return this.cssClassesValue||(this.cssClassesValue=this.getDefaultCssClasses()),this.cssClassesValue},set:function(e){var t=this;this.cssClassesValue={},this.copyCssClasses(this.cssClassesValue,this.getDefaultCssClasses()),Gt(e,this.cssClasses),this.actions.forEach((function(e){t.setActionCssClasses(e)}))},enumerable:!1,configurable:!0}),t.prototype.createAction=function(e){return e instanceof et?e:new tt(e)},t.prototype.addAction=function(e,t){void 0===t&&(t=!0);var n=this.createAction(e);if(t&&!this.isActionVisible(n))return n;var o=[].concat(this.actions,n);return this.sortItems(o),this.actions=o,n},t.prototype.setItems=function(e,t){var n=this;void 0===t&&(t=!0);var o=[];e.forEach((function(e){t&&!n.isActionVisible(e)||o.push(n.createAction(e))})),t&&this.sortItems(o),this.actions=o},t.prototype.sortItems=function(e){this.hasSetVisibleIndex(e)&&e.sort(this.compareByVisibleIndex)},t.prototype.hasSetVisibleIndex=function(e){for(var t=0;t<e.length;t++){var n=e[t].visibleIndex;if(void 0!==n&&n>=0)return!0}return!1},t.prototype.compareByVisibleIndex=function(e,t){return e.visibleIndex-t.visibleIndex},t.prototype.isActionVisible=function(e){return e.visibleIndex>=0||void 0===e.visibleIndex},t.prototype.popupAfterShowCallback=function(e){},t.prototype.mouseOverHandler=function(e){var t=this;e.isHovered=!0,this.actions.forEach((function(n){n===e&&e.popupModel&&(e.showPopupDelayed(t.subItemsShowDelay),t.popupAfterShowCallback(e))}))},t.prototype.initResponsivityManager=function(e,t){},t.prototype.resetResponsivityManager=function(){},t.prototype.getActionById=function(e){for(var t=0;t<this.actions.length;t++)if(this.actions[t].id===e)return this.actions[t];return null},t.prototype.dispose=function(){e.prototype.dispose.call(this),this.resetResponsivityManager(),this.actions.forEach((function(e){return e.dispose()})),this.actions.length=0},qe([w({onSet:function(e,t){t.onSet()},onPush:function(e,t,n){n.onPush(e)},onRemove:function(e,t,n){n.onRemove(e)}})],t.prototype,"actions",void 0),qe([x({})],t.prototype,"containerCss",void 0),qe([x({defaultValue:!1})],t.prototype,"isEmpty",void 0),qe([x({defaultValue:300})],t.prototype,"subItemsShowDelay",void 0),qe([x({defaultValue:300})],t.prototype,"subItemsHideDelay",void 0),t}(_e),je=function(){function e(){}return e.focusElement=function(e){e&&e.focus()},e.visibility=function(e){var t=s.getComputedStyle(e);return"none"!==t.display&&"hidden"!==t.visibility&&(!e.parentElement||this.visibility(e.parentElement))},e.getNextElementPreorder=function(e){var t=e.nextElementSibling?e.nextElementSibling:e.parentElement.firstElementChild;return this.visibility(t)?t:this.getNextElementPreorder(t)},e.getNextElementPostorder=function(e){var t=e.previousElementSibling?e.previousElementSibling:e.parentElement.lastElementChild;return this.visibility(t)?t:this.getNextElementPostorder(t)},e.hasHorizontalScroller=function(e){return!!e&&e.scrollWidth>e.offsetWidth},e.hasVerticalScroller=function(e){return!!e&&e.scrollHeight>e.offsetHeight},e}(),Ne=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(t,n)};return function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function o(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}}(),Fe=function(e,t,n,o){var i,r=arguments.length,a=r<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,n):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,o);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(a=(r<3?i(a):r>3?i(t,n,a):i(t,n))||a);return r>3&&a&&Object.defineProperty(t,n,a),a},Be={root:"sv-list__container",item:"sv-list__item",searchClearButtonIcon:"sv-list__filter-clear-button",loadingIndicator:"sv-list__loading-indicator",itemSelected:"sv-list__item--selected",itemGroup:"sv-list__item--group",itemGroupSelected:"sv-list__item--group-selected",itemWithIcon:"sv-list__item--with-icon",itemDisabled:"sv-list__item--disabled",itemFocused:"sv-list__item--focused",itemHovered:"sv-list__item--hovered",itemTextWrap:"sv-list__item-text--wrap",itemIcon:"sv-list__item-icon",itemMarkerIcon:"sv-list-item__marker-icon",itemSeparator:"sv-list__item-separator",itemBody:"sv-list__item-body",itemsContainer:"sv-list",itemsContainerFiltering:"sv-list--filtering",filter:"sv-list__filter",filterIcon:"sv-list__filter-icon",filterInput:"sv-list__input",emptyContainer:"sv-list__empty-container",emptyText:"sv-list__empty-text"},ze=function(e){function t(t,n,o,i,r){var a=e.call(this)||this;if(a.onSelectionChanged=n,a.allowSelection=o,a.elementId=r,a.onItemClick=function(e){if(!a.isItemDisabled(e)){a.isExpanded=!1,a.allowSelection&&(a.selectedItem=e),a.onSelectionChanged&&a.onSelectionChanged(e);var t=e.action;t&&t(e)}},a.onItemHover=function(e){a.mouseOverHandler(e)},a.isItemDisabled=function(e){return void 0!==e.enabled&&!e.enabled},a.isItemSelected=function(e){return a.areSameItems(a.selectedItem,e)},a.isItemFocused=function(e){return a.areSameItems(a.focusedItem,e)},a.getListClass=function(){return(new Ae).append(a.cssClasses.itemsContainer).append(a.cssClasses.itemsContainerFiltering,!!a.filterString&&a.visibleActions.length!==a.visibleItems.length).toString()},a.getItemClass=function(e){var t=a.isItemSelected(e);return(new Ae).append(a.cssClasses.item).append(a.cssClasses.itemWithIcon,!!e.iconName).append(a.cssClasses.itemDisabled,a.isItemDisabled(e)).append(a.cssClasses.itemFocused,a.isItemFocused(e)).append(a.cssClasses.itemSelected,!e.hasSubItems&&t).append(a.cssClasses.itemGroup,e.hasSubItems).append(a.cssClasses.itemGroupSelected,e.hasSubItems&&t).append(a.cssClasses.itemHovered,e.isHovered).append(a.cssClasses.itemTextWrap,a.textWrapEnabled).append(e.css).toString()},a.getItemStyle=function(e){return{"--sjs-list-item-level":(e.level||0)+1}},-1!==Object.keys(t).indexOf("items")){var s=t;Object.keys(s).forEach((function(e){switch(e){case"items":a.setItems(s.items);break;case"onFilterStringChangedCallback":a.setOnFilterStringChangedCallback(s.onFilterStringChangedCallback);break;case"onTextSearchCallback":a.setOnTextSearchCallback(s.onTextSearchCallback);break;default:a[e]=s[e]}})),a.updateActionsIds()}else a.setItems(t),a.selectedItem=i;return a}return Ne(t,e),t.prototype.hasText=function(e,t){if(!t)return!0;var n=e.title||"";if(this.onTextSearchCallback)return this.onTextSearchCallback(e,t);var o=n.toLocaleLowerCase();return(o=tn.comparator.normalizeTextCallback(o,"filter")).indexOf(t.toLocaleLowerCase())>-1},t.prototype.isItemVisible=function(e){return e.visible&&(!this.shouldProcessFilter||this.hasText(e,this.filterString))},t.prototype.getRenderedActions=function(){var t=e.prototype.getRenderedActions.call(this);if(this.filterString){var n=[];return t.forEach((function(e){n.push(e),e.items&&e.items.forEach((function(t){var o=new tt(t);o.iconName||(o.iconName=e.iconName),n.push(o)}))})),n}return t},Object.defineProperty(t.prototype,"visibleItems",{get:function(){var e=this;return this.visibleActions.filter((function(t){return e.isItemVisible(t)}))},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"shouldProcessFilter",{get:function(){return!this.onFilterStringChangedCallback},enumerable:!1,configurable:!0}),t.prototype.onFilterStringChanged=function(e){this.onFilterStringChangedCallback&&this.onFilterStringChangedCallback(e),this.updateIsEmpty()},t.prototype.updateIsEmpty=function(){var e=this;this.isEmpty=0===this.renderedActions.filter((function(t){return e.isItemVisible(t)})).length},t.prototype.scrollToItem=function(e,t){var n=this;void 0===t&&(t=0),setTimeout((function(){if(n.listContainerHtmlElement){var o=n.listContainerHtmlElement.querySelector(Qt(e));o&&setTimeout((function(){o.scrollIntoView({behavior:"smooth",block:"nearest",inline:"start"})}),t)}}),t)},t.prototype.setOnFilterStringChangedCallback=function(e){this.onFilterStringChangedCallback=e},t.prototype.setOnTextSearchCallback=function(e){this.onTextSearchCallback=e},t.prototype.setItems=function(t,n){void 0===n&&(n=!0),e.prototype.setItems.call(this,t,n),this.updateActionsIds(),!this.isAllDataLoaded&&this.actions.length&&this.actions.push(this.loadingIndicator)},t.prototype.updateActionsIds=function(){var e=this;this.elementId&&this.renderedActions.forEach((function(t){t.elementId=e.elementId+t.id}))},t.prototype.setSearchEnabled=function(e){this.searchEnabled=e,this.showSearchClearButton=e},t.prototype.onSet=function(){this.showFilter=this.searchEnabled&&(this.forceShowFilter||(this.actions||[]).length>t.MINELEMENTCOUNT),e.prototype.onSet.call(this)},t.prototype.getDefaultCssClasses=function(){return Be},t.prototype.popupAfterShowCallback=function(e){this.addScrollEventListener((function(){e.hidePopup()}))},t.prototype.onItemLeave=function(e){e.hidePopupDelayed(this.subItemsHideDelay)},t.prototype.areSameItems=function(e,t){return this.areSameItemsCallback?this.areSameItemsCallback(e,t):!!e&&!!t&&e.id==t.id},Object.defineProperty(t.prototype,"filterStringPlaceholder",{get:function(){return this.getLocalizationString("filterStringPlaceholder")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"emptyMessage",{get:function(){return this.isAllDataLoaded?this.getLocalizationString("emptyMessage"):this.loadingText},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"scrollableContainer",{get:function(){return this.listContainerHtmlElement.querySelector(Qt(this.cssClasses.itemsContainer))},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"loadingText",{get:function(){return this.getLocalizationString("loadingFile")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"loadingIndicator",{get:function(){return this.loadingIndicatorValue||(this.loadingIndicatorValue=new tt({id:"loadingIndicator",title:this.loadingText,action:function(){},css:this.cssClasses.loadingIndicator})),this.loadingIndicatorValue},enumerable:!1,configurable:!0}),t.prototype.goToItems=function(e){if("ArrowDown"===e.key||40===e.keyCode){var t=e.target.parentElement.parentElement.querySelector("ul"),n=function(e){for(var t,n=0;n<e.children.length;n++)t||"none"===getComputedStyle(e.children[n]).display||(t=e.children[n]);return t}(t);t&&n&&(je.focusElement(n),e.preventDefault())}},t.prototype.onMouseMove=function(e){this.resetFocusedItem()},t.prototype.onKeyDown=function(e){var t=e.target;"ArrowDown"===e.key||40===e.keyCode?(je.focusElement(je.getNextElementPreorder(t)),e.preventDefault()):"ArrowUp"!==e.key&&38!==e.keyCode||(je.focusElement(je.getNextElementPostorder(t)),e.preventDefault())},t.prototype.onPointerDown=function(e,t){},t.prototype.refresh=function(){""!==this.filterString?this.filterString="":this.updateIsEmpty(),this.resetFocusedItem()},t.prototype.onClickSearchClearButton=function(e){e.currentTarget.parentElement.querySelector("input").focus(),this.refresh()},t.prototype.resetFocusedItem=function(){this.focusedItem=void 0},t.prototype.focusFirstVisibleItem=function(){this.focusedItem=this.visibleItems[0]},t.prototype.focusLastVisibleItem=function(){this.focusedItem=this.visibleItems[this.visibleItems.length-1]},t.prototype.initFocusedItem=function(){var e=this;this.focusedItem=this.visibleItems.filter((function(t){return t.visible&&e.isItemSelected(t)}))[0],this.focusedItem||this.focusFirstVisibleItem()},t.prototype.focusNextVisibleItem=function(){if(this.focusedItem){var e=this.visibleItems,t=e.indexOf(this.focusedItem),n=e[t+1];n?this.focusedItem=n:this.focusFirstVisibleItem()}else this.initFocusedItem()},t.prototype.focusPrevVisibleItem=function(){if(this.focusedItem){var e=this.visibleItems,t=e.indexOf(this.focusedItem),n=e[t-1];n?this.focusedItem=n:this.focusLastVisibleItem()}else this.initFocusedItem()},t.prototype.selectFocusedItem=function(){this.focusedItem&&this.onItemClick(this.focusedItem)},t.prototype.initListContainerHtmlElement=function(e){this.listContainerHtmlElement=e},t.prototype.onLastItemRended=function(e){this.isAllDataLoaded||e===this.actions[this.actions.length-1]&&this.listContainerHtmlElement&&(this.hasVerticalScroller=je.hasVerticalScroller(this.scrollableContainer))},t.prototype.scrollToFocusedItem=function(){this.scrollToItem(this.cssClasses.itemFocused)},t.prototype.scrollToSelectedItem=function(){this.selectedItem&&this.selectedItem.items&&this.selectedItem.items.length>0?this.scrollToItem(this.cssClasses.itemGroupSelected,110):this.scrollToItem(this.cssClasses.itemSelected,110)},t.prototype.addScrollEventListener=function(e){e&&(this.removeScrollEventListener(),this.scrollHandler=e),this.scrollHandler&&this.scrollableContainer.addEventListener("scroll",this.scrollHandler)},t.prototype.removeScrollEventListener=function(){this.scrollHandler&&this.scrollableContainer.removeEventListener("scroll",this.scrollHandler)},t.prototype.dispose=function(){e.prototype.dispose.call(this),this.loadingIndicatorValue&&this.loadingIndicatorValue.dispose(),this.listContainerHtmlElement=void 0},t.INDENT=16,t.MINELEMENTCOUNT=10,Fe([x({defaultValue:!0,onSet:function(e,t){t.onSet()}})],t.prototype,"searchEnabled",void 0),Fe([x({defaultValue:!1})],t.prototype,"showFilter",void 0),Fe([x({defaultValue:!1})],t.prototype,"forceShowFilter",void 0),Fe([x({defaultValue:!1})],t.prototype,"isExpanded",void 0),Fe([x({})],t.prototype,"selectedItem",void 0),Fe([x()],t.prototype,"focusedItem",void 0),Fe([x({onSet:function(e,t){t.onFilterStringChanged(t.filterString)}})],t.prototype,"filterString",void 0),Fe([x({defaultValue:!1})],t.prototype,"hasVerticalScroller",void 0),Fe([x({defaultValue:!0})],t.prototype,"isAllDataLoaded",void 0),Fe([x({defaultValue:!1})],t.prototype,"showSearchClearButton",void 0),Fe([x({defaultValue:!0})],t.prototype,"renderElements",void 0),Fe([x({defaultValue:!1})],t.prototype,"textWrapEnabled",void 0),Fe([x({defaultValue:"sv-list-item-content"})],t.prototype,"itemComponent",void 0),t}(Me),He=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(t,n)};return function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function o(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}}(),Qe=function(e,t,n,o){var i,r=arguments.length,a=r<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,n):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,o);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(a=(r<3?i(a):r>3?i(t,n,a):i(t,n))||a);return r>3&&a&&Object.defineProperty(t,n,a),a},Ue=function(e){function t(t,n,o,i){var r=e.call(this)||this;if(r.focusFirstInputSelector="",r.onCancel=function(){},r.onApply=function(){return!0},r.onHide=function(){},r.onShow=function(){},r.onDispose=function(){},r.onVisibilityChanged=r.addEvent(),r.onFooterActionsCreated=r.addEvent(),r.onRecalculatePosition=r.addEvent(),r.contentComponentName=t,r.contentComponentData=n,o&&"string"==typeof o)r.verticalPosition=o,r.horizontalPosition=i;else if(o){var a=o;for(var s in a)r[s]=a[s]}return r}return He(t,e),t.prototype.refreshInnerModel=function(){var e=this.contentComponentData.model;e&&e.refresh&&e.refresh()},Object.defineProperty(t.prototype,"isVisible",{get:function(){return this.getPropertyValue("isVisible",!1)},set:function(e){this.isVisible!==e&&(this.setPropertyValue("isVisible",e),this.onVisibilityChanged.fire(this,{model:this,isVisible:e}))},enumerable:!1,configurable:!0}),t.prototype.toggleVisibility=function(){this.isVisible=!this.isVisible},t.prototype.show=function(){this.isVisible||(this.isVisible=!0)},t.prototype.hide=function(){this.isVisible&&(this.isVisible=!1)},t.prototype.recalculatePosition=function(e){this.onRecalculatePosition.fire(this,{isResetHeight:e})},t.prototype.updateFooterActions=function(e){var t={actions:e};return this.onFooterActionsCreated.fire(this,t),t.actions},t.prototype.updateDisplayMode=function(e){if(this.displayMode!==e){var t="dropdown"===e;this.setWidthByTarget=t,this.isFocusedContent=!t}switch(e){case"dropdown":this.displayMode="popup";break;case"popup":this.displayMode="overlay",this.overlayDisplayMode="tablet-dropdown-overlay";break;case"overlay":this.displayMode="overlay",this.overlayDisplayMode="dropdown-overlay"}},t.prototype.onHiding=function(){this.refreshInnerModel(),this.onHide()},t.prototype.dispose=function(){e.prototype.dispose.call(this),this.onDispose()},Qe([x()],t.prototype,"contentComponentName",void 0),Qe([x()],t.prototype,"contentComponentData",void 0),Qe([x({defaultValue:"bottom"})],t.prototype,"verticalPosition",void 0),Qe([x({defaultValue:"left"})],t.prototype,"horizontalPosition",void 0),Qe([x({defaultValue:!0})],t.prototype,"showPointer",void 0),Qe([x({defaultValue:!1})],t.prototype,"isModal",void 0),Qe([x({defaultValue:!0})],t.prototype,"canShrink",void 0),Qe([x({defaultValue:!0})],t.prototype,"isFocusedContent",void 0),Qe([x({defaultValue:!0})],t.prototype,"isFocusedContainer",void 0),Qe([x({defaultValue:""})],t.prototype,"cssClass",void 0),Qe([x({defaultValue:""})],t.prototype,"title",void 0),Qe([x({defaultValue:"auto"})],t.prototype,"overlayDisplayMode",void 0),Qe([x({defaultValue:"popup"})],t.prototype,"displayMode",void 0),Qe([x({defaultValue:"flex"})],t.prototype,"positionMode",void 0),t}(_e);function We(e,t,n,o,i,r,a,s,l){return void 0===i&&(i=function(){}),void 0===r&&(r=function(){}),void 0===l&&(l="popup"),j.warn("The `showModal()` and `createDialogOptions()` methods are obsolete. Use the `showDialog()` method instead."),{componentName:e,data:t,onApply:n,onCancel:o,onHide:i,onShow:r,cssClass:a,title:s,displayMode:l}}var $e=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(t,n)};return function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function o(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}}(),Ge=function(e,t,n,o){var i,r=arguments.length,a=r<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,n):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,o);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(a=(r<3?i(a):r>3?i(t,n,a):i(t,n))||a);return r>3&&a&&Object.defineProperty(t,n,a),a},Ke=function(e,t){for(var n=0,o=t.length,i=e.length;n<o;n++,i++)e[i]=t[n];return e};function Ze(e,t,n){return t.locOwner=n,Je(e,t,t)}function Je(e,t,n){var o,i=t.onSelectionChanged;t.onSelectionChanged=function(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];s.hasTitle&&(s.title=e.title),i&&i(e,t)};var r=Ye(t,n);r.getTargetCallback=Xe;var a=Object.assign({},e,{component:"sv-action-bar-item-dropdown",popupModel:r,action:function(t,n){e.action&&e.action(),r.isFocusedContent=r.isFocusedContent||!n,r.show()}}),s=new tt(a);return s.data=null===(o=r.contentComponentData)||void 0===o?void 0:o.model,s}function Ye(e,t){var n=new ze(e);n.onSelectionChanged=function(t){e.onSelectionChanged&&e.onSelectionChanged(t),i.hide()};var o=t||{};o.onDispose=function(){n.dispose()};var i=new Ue("sv-list",{model:n},o);return i.isFocusedContent=n.showFilter,i.onShow=function(){o.onShow&&o.onShow(),n.scrollToSelectedItem()},i}function Xe(e){return null==e?void 0:e.previousElementSibling}var et=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.rendredIdValue=t.getNextRendredId(),n}return $e(t,e),t.getNextRendredId=function(){return t.renderedId++},Object.defineProperty(t.prototype,"renderedId",{get:function(){return this.rendredIdValue},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"owner",{get:function(){return this.ownerValue},set:function(e){e!==this.owner&&(this.ownerValue=e,this.locStrsChanged())},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"visible",{get:function(){return this.getVisible()},set:function(e){this.setVisible(e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"enabled",{get:function(){return this.getEnabled()},set:function(e){this.setEnabled(e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"component",{get:function(){return this.getComponent()},set:function(e){this.setComponent(e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"locTitle",{get:function(){return this.getLocTitle()},set:function(e){this.setLocTitle(e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"title",{get:function(){return this.getTitle()},set:function(e){this.setTitle(e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"cssClasses",{get:function(){return this.cssClassesValue||Le},set:function(e){this.cssClassesValue=e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isVisible",{get:function(){return this.visible&&"popup"!==this.mode&&"removed"!==this.mode},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"disabled",{get:function(){return void 0!==this.enabled&&!this.enabled},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"canShrink",{get:function(){return!this.disableShrink&&!!this.iconName},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"hasTitle",{get:function(){return("small"!=this.mode&&(this.showTitle||void 0===this.showTitle)||!this.iconName)&&!!this.title},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"hasSubItems",{get:function(){return!!this.items&&this.items.length>0},enumerable:!1,configurable:!0}),t.prototype.getActionBarItemTitleCss=function(){return(new Ae).append(this.cssClasses.itemTitle).append(this.cssClasses.itemTitleWithIcon,!!this.iconName).toString()},t.prototype.getActionBarItemCss=function(){return(new Ae).append(this.cssClasses.item).append(this.cssClasses.itemWithTitle,this.hasTitle).append(this.cssClasses.itemAsIcon,!this.hasTitle).append(this.cssClasses.itemActive,!!this.active).append(this.cssClasses.itemPressed,!!this.pressed).append(this.innerCss).toString()},t.prototype.getActionRootCss=function(){return(new Ae).append("sv-action").append(this.css).append("sv-action--space",this.needSpace).append("sv-action--hidden",!this.isVisible).toString()},t.prototype.getTooltip=function(){return this.tooltip||this.title},t.prototype.getIsTrusted=function(e){return e.originalEvent?e.originalEvent.isTrusted:e.isTrusted},t.prototype.showPopup=function(){this.popupModel&&this.popupModel.show()},t.prototype.hidePopup=function(){this.popupModel&&this.popupModel.hide()},t.prototype.clearPopupTimeouts=function(){this.showPopupTimeout&&clearTimeout(this.showPopupTimeout),this.hidePopupTimeout&&clearTimeout(this.hidePopupTimeout)},t.prototype.showPopupDelayed=function(e){var t=this;this.clearPopupTimeouts(),this.showPopupTimeout=setTimeout((function(){t.clearPopupTimeouts(),t.showPopup()}),e)},t.prototype.hidePopupDelayed=function(e){var t,n=this;(null===(t=this.popupModel)||void 0===t?void 0:t.isVisible)?(this.clearPopupTimeouts(),this.hidePopupTimeout=setTimeout((function(){n.clearPopupTimeouts(),n.hidePopup(),n.isHovered=!1}),e)):(this.clearPopupTimeouts(),this.isHovered=!1)},t.renderedId=1,Ge([x()],t.prototype,"tooltip",void 0),Ge([x()],t.prototype,"showTitle",void 0),Ge([x()],t.prototype,"innerCss",void 0),Ge([x()],t.prototype,"active",void 0),Ge([x()],t.prototype,"pressed",void 0),Ge([x()],t.prototype,"popupModel",void 0),Ge([x()],t.prototype,"needSeparator",void 0),Ge([x()],t.prototype,"template",void 0),Ge([x({defaultValue:"large"})],t.prototype,"mode",void 0),Ge([x()],t.prototype,"visibleIndex",void 0),Ge([x()],t.prototype,"disableTabStop",void 0),Ge([x()],t.prototype,"disableShrink",void 0),Ge([x()],t.prototype,"disableHide",void 0),Ge([x({defaultValue:!1})],t.prototype,"needSpace",void 0),Ge([x()],t.prototype,"ariaChecked",void 0),Ge([x()],t.prototype,"ariaExpanded",void 0),Ge([x({defaultValue:"button"})],t.prototype,"ariaRole",void 0),Ge([x()],t.prototype,"iconName",void 0),Ge([x({defaultValue:24})],t.prototype,"iconSize",void 0),Ge([x()],t.prototype,"markerIconName",void 0),Ge([x()],t.prototype,"css",void 0),Ge([x({defaultValue:!1})],t.prototype,"isPressed",void 0),Ge([x({defaultValue:!1})],t.prototype,"isHovered",void 0),t}(_e),tt=function(e){function t(n){var o=e.call(this)||this;o.locTitleChanged=function(){var e=o.locTitle.renderedHtml;o.setPropertyValue("_title",e||void 0)};var i=n instanceof t?n.innerItem:n;if(o.innerItem=i,o.locTitle=i?i.locTitle:null,i)for(var r in i)"locTitle"===r||"title"===r&&o.locTitle&&o.title||(o[r]=i[r]);return o.locTitleName&&o.locTitleChanged(),o.registerFunctionOnPropertyValueChanged("_title",(function(){o.raiseUpdate(!0)})),o.locStrChangedInPopupModel(),o}return $e(t,e),t.prototype.raiseUpdate=function(e){void 0===e&&(e=!1),this.updateCallback&&this.updateCallback(e)},t.prototype.createLocTitle=function(){return this.createLocalizableString("title",this,!0)},t.prototype.setSubItems=function(e){this.markerIconName="icon-next_16x16",this.component="sv-list-item-group",this.items=Ke([],e.items);var t=Object.assign({},e);t.searchEnabled=!1;var n=Ye(t,{horizontalPosition:"right",showPointer:!1,canShrink:!1});n.cssClass="sv-popup-inner",this.popupModel=n},t.prototype.getLocTitle=function(){return this.locTitleValue},t.prototype.setLocTitle=function(e){e||this.locTitleValue||(e=this.createLocTitle()),this.locTitleValue&&this.locTitleValue.onStringChanged.remove(this.locTitleChanged),this.locTitleValue=e,this.locTitleValue.onStringChanged.add(this.locTitleChanged),this.locTitleChanged()},t.prototype.getTitle=function(){return this._title},t.prototype.setTitle=function(e){this._title=e},Object.defineProperty(t.prototype,"locTitleName",{get:function(){return this.locTitle.localizationName},set:function(e){this.locTitle.localizationName=e},enumerable:!1,configurable:!0}),t.prototype.locStrsChanged=function(){e.prototype.locStrsChanged.call(this),this.locTooltipChanged(),this.locStrChangedInPopupModel()},t.prototype.doAction=function(e){var t=e.originalEvent?e.originalEvent:e;return this.action(this,t.isTrusted),t.preventDefault(),t.stopPropagation(),!0},t.prototype.doMouseDown=function(e){this.isMouseDown=!0},t.prototype.doFocus=function(e){if(this.onFocus){var t=e.originalEvent?e.originalEvent:e;this.onFocus(this.isMouseDown,t)}this.isMouseDown=!1},t.prototype.locStrChangedInPopupModel=function(){if(this.popupModel&&this.popupModel.contentComponentData&&this.popupModel.contentComponentData.model){var e=this.popupModel.contentComponentData.model;if(Array.isArray(e.actions))e.actions.forEach((function(e){e.locStrsChanged&&e.locStrsChanged()}))}},t.prototype.locTooltipChanged=function(){this.locTooltipName&&(this.tooltip=d(this.locTooltipName,this.locTitle.locale))},t.prototype.getLocale=function(){return this.owner?this.owner.getLocale():""},t.prototype.getMarkdownHtml=function(e,t){return this.owner?this.owner.getMarkdownHtml(e,t):void 0},t.prototype.getProcessedText=function(e){return this.owner?this.owner.getProcessedText(e):e},t.prototype.getRenderer=function(e){return this.owner?this.owner.getRenderer(e):null},t.prototype.getRendererContext=function(e){return this.owner?this.owner.getRendererContext(e):e},t.prototype.setVisible=function(e){this.visible!==e&&(this._visible=e)},t.prototype.getVisible=function(){return this._visible},t.prototype.setEnabled=function(e){this._enabled=e},t.prototype.getEnabled=function(){return this.enabledIf?this.enabledIf():this._enabled},t.prototype.setComponent=function(e){this._component=e},t.prototype.getComponent=function(){return this._component},t.prototype.dispose=function(){this.updateCallback=void 0,this.locTitleValue&&this.locTitleValue.onStringChanged.remove(this.locTitleChanged),this.locTitleChanged=void 0,this.action=void 0,e.prototype.dispose.call(this),this.popupModel&&this.popupModel.dispose()},Ge([x()],t.prototype,"id",void 0),Ge([x({defaultValue:!0,onSet:function(e,t){t.raiseUpdate()}})],t.prototype,"_visible",void 0),Ge([x({onSet:function(e,t){t.locTooltipChanged()}})],t.prototype,"locTooltipName",void 0),Ge([x()],t.prototype,"_enabled",void 0),Ge([x()],t.prototype,"action",void 0),Ge([x()],t.prototype,"onFocus",void 0),Ge([x()],t.prototype,"_component",void 0),Ge([x()],t.prototype,"items",void 0),Ge([x({onSet:function(e,t){t.locTitleValue.text!==e&&(t.locTitleValue.text=e)}})],t.prototype,"_title",void 0),t}(et),nt=function(){function e(e){this.item=e,this.funcKey="sv-dropdown-action",this.setupPopupCallbacks()}return e.prototype.setupPopupCallbacks=function(){var e=this,t=this.popupModel=this.item.popupModel;t&&t.registerPropertyChangedHandlers(["isVisible"],(function(){t.isVisible?e.item.pressed=!0:e.item.pressed=!1}),this.funcKey)},e.prototype.removePopupCallbacks=function(){this.popupModel&&this.popupModel.unregisterPropertyChangedHandlers(["isVisible"],this.funcKey)},e.prototype.dispose=function(){this.removePopupCallbacks()},e}(),ot=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(t,n)};return function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function o(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}}(),it=function(e){function t(){var n=e.call(this)||this;return n.minVisibleItemsCount=0,n.isResponsivenessDisabled=!1,n.dotsItem=Je({id:"dotsItem-id"+t.ContainerID++,css:"sv-dots",innerCss:"sv-dots__item",iconName:"icon-more",visible:!1,tooltip:d("more")},{items:[],allowSelection:!1}),n}return ot(t,e),t.prototype.hideItemsGreaterN=function(e){var t=this.getActionsToHide();e=Math.max(e,this.minVisibleItemsCount-(this.visibleActions.length-t.length));var n=[];t.forEach((function(t){e<=0&&(t.removePriority?t.mode="removed":(t.mode="popup",n.push(t.innerItem))),e--})),this.hiddenItemsListModel.setItems(n)},t.prototype.getActionsToHide=function(){return this.visibleActions.filter((function(e){return!e.disableHide})).sort((function(e,t){return e.removePriority||0-t.removePriority||0}))},t.prototype.getVisibleItemsCount=function(e){this.visibleActions.filter((function(e){return e.disableHide})).forEach((function(t){return e-=t.minDimension}));for(var t=this.getActionsToHide().map((function(e){return e.minDimension})),n=0,o=0;o<t.length;o++)if((n+=t[o])>e)return o;return o},t.prototype.updateItemMode=function(e,t){for(var n=this.visibleActions,o=n.length-1;o>=0;o--)t>e&&!n[o].disableShrink?(t-=n[o].maxDimension-n[o].minDimension,n[o].mode="small"):n[o].mode="large";if(t>e){var i=this.visibleActions.filter((function(e){return e.removePriority}));i.sort((function(e,t){return e.removePriority-t.removePriority}));for(o=0;o<i.length;o++)t>e&&(t-=n[o].disableShrink?i[o].maxDimension:i[o].minDimension,i[o].mode="removed")}},Object.defineProperty(t.prototype,"hiddenItemsListModel",{get:function(){return this.dotsItem.data},enumerable:!1,configurable:!0}),t.prototype.onSet=function(){var t=this;this.actions.forEach((function(e){return e.updateCallback=function(e){return t.raiseUpdate(e)}})),e.prototype.onSet.call(this)},t.prototype.onPush=function(t){var n=this;t.updateCallback=function(e){return n.raiseUpdate(e)},e.prototype.onPush.call(this,t)},t.prototype.getRenderedActions=function(){return 1===this.actions.length&&this.actions[0].iconName?this.actions:this.actions.concat([this.dotsItem])},t.prototype.raiseUpdate=function(t){this.isResponsivenessDisabled||e.prototype.raiseUpdate.call(this,t)},t.prototype.fit=function(e,t){if(!(e<=0)){this.dotsItem.visible=!1;var n=0,o=0;this.visibleActions.forEach((function(e){n+=e.minDimension,o+=e.maxDimension})),e>=o?this.setActionsMode("large"):e<n?(this.setActionsMode("small"),this.hideItemsGreaterN(this.getVisibleItemsCount(e-t)),this.dotsItem.visible=!!this.hiddenItemsListModel.actions.length):this.updateItemMode(e,o)}},t.prototype.initResponsivityManager=function(e,t){if(this.responsivityManager){if(this.responsivityManager.container==e)return;this.responsivityManager.dispose()}this.responsivityManager=new Ie(e,this,":scope > .sv-action:not(.sv-dots) > .sv-action__content",null,t)},t.prototype.resetResponsivityManager=function(){this.responsivityManager&&(this.responsivityManager.dispose(),this.responsivityManager=void 0)},t.prototype.setActionsMode=function(e){this.actions.forEach((function(t){"small"==e&&t.disableShrink?t.mode="large":t.mode=e}))},t.prototype.dispose=function(){e.prototype.dispose.call(this),this.dotsItem.data.dispose(),this.dotsItem.dispose(),this.resetResponsivityManager()},t.ContainerID=1,t}(Me);(function(){function e(e,t){var n=this;void 0===t&&(t=!1),this.func=e,this.isMultiple=t,this._isCompleted=!1,this.execute=function(){n._isCompleted||(n.func(),n._isCompleted=!n.isMultiple)}}e.prototype.discard=function(){this._isCompleted=!0},Object.defineProperty(e.prototype,"isCompleted",{get:function(){return this._isCompleted},enumerable:!1,configurable:!0})})(),function(){function e(t){void 0===t&&(t=100),this.interval=t,setTimeout(e.Instance().tick,t)}e.Instance=function(){return e.instance||(e.instance=new e),e.instance},e.prototype.tick=function(){try{for(var t=[],n=0;n<e.tasks.length;n++){var o=e.tasks[n];o.execute(),o.isCompleted?"function"==typeof o.dispose&&o.dispose():t.push(o)}e.tasks=t}finally{setTimeout(e.Instance().tick,this.interval)}},e.schedule=function(t){e.tasks.push(t)},e.instance=void 0,e.tasks=[]}();var rt,at=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(t,n)};return function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function o(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}}(),st=function(){function e(){this.cancelQueue=[]}return e.prototype.getMsFromRule=function(e){return"auto"===e?0:1e3*Number(e.slice(0,-1).replace(",","."))},e.prototype.reflow=function(e){return e.offsetHeight},e.prototype.getAnimationsCount=function(e){var t="";return getComputedStyle&&(t=getComputedStyle(e).animationName),t&&"none"!=t?t.split(", ").length:0},e.prototype.getAnimationDuration=function(e){for(var t=getComputedStyle(e),n=t.animationDelay.split(", "),o=t.animationDuration.split(", "),i=0,r=0;r<Math.max(o.length,n.length);r++)i=Math.max(i,this.getMsFromRule(o[r%o.length])+this.getMsFromRule(n[r%n.length]));return i},e.prototype.addCancelCallback=function(e){this.cancelQueue.push(e)},e.prototype.removeCancelCallback=function(e){this.cancelQueue.indexOf(e)>=0&&this.cancelQueue.splice(this.cancelQueue.indexOf(e),1)},e.prototype.onAnimationEnd=function(e,t,n){var o,i=this,r=this.getAnimationsCount(e),a=function(n){void 0===n&&(n=!0),t(n),clearTimeout(o),i.removeCancelCallback(a),e.removeEventListener("animationend",s)},s=function(e){e.target==e.currentTarget&&--r<=0&&a(!1)};r>0?(e.addEventListener("animationend",s),this.addCancelCallback(a),o=setTimeout((function(){a(!1)}),this.getAnimationDuration(e)+10)):t(!0)},e.prototype.afterAnimationRun=function(e,t){e&&t&&t.onAfterRunAnimation&&t.onAfterRunAnimation(e)},e.prototype.beforeAnimationRun=function(e,t){e&&t&&t.onBeforeRunAnimation&&t.onBeforeRunAnimation(e)},e.prototype.getCssClasses=function(e){return e.cssClass.replace(/\s+$/,"").split(/\s+/)},e.prototype.runAnimation=function(e,t,n){e&&(null==t?void 0:t.cssClass)?(this.reflow(e),this.getCssClasses(t).forEach((function(t){e.classList.add(t)})),this.onAnimationEnd(e,n,t)):n(!0)},e.prototype.clearHtmlElement=function(e,t){e&&t.cssClass&&this.getCssClasses(t).forEach((function(t){e.classList.remove(t)})),this.afterAnimationRun(e,t)},e.prototype.onNextRender=function(e,t){var n=this;if(void 0===t&&(t=!1),!t&&a.isAvailable()){var o=function(){e(!0),cancelAnimationFrame(i)},i=a.requestAnimationFrame((function(){i=a.requestAnimationFrame((function(){e(!1),n.removeCancelCallback(o)}))}));this.addCancelCallback(o)}else e(!0)},e.prototype.cancel=function(){[].concat(this.cancelQueue).forEach((function(e){return e()})),this.cancelQueue=[]},e}(),lt=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return at(t,e),t.prototype.onEnter=function(e){var t=this,n=e.getAnimatedElement(),o=e.getEnterOptions?e.getEnterOptions():{};this.beforeAnimationRun(n,o),this.runAnimation(n,o,(function(){t.clearHtmlElement(n,o)}))},t.prototype.onLeave=function(e,t){var n=this,o=e.getAnimatedElement(),i=e.getLeaveOptions?e.getLeaveOptions():{};this.beforeAnimationRun(o,i),this.runAnimation(o,i,(function(e){t(),n.onNextRender((function(){n.clearHtmlElement(o,i)}),e)}))},t}(st),ut=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return at(t,e),t.prototype.runGroupAnimation=function(e,t,n,o,i){var r=this,a={isAddingRunning:t.length>0,isDeletingRunning:n.length>0,isReorderingRunning:o.length>0},s=t.map((function(t){return e.getAnimatedElement(t)})),l=t.map((function(t){return e.getEnterOptions?e.getEnterOptions(t,a):{}})),u=n.map((function(t){return e.getAnimatedElement(t)})),c=n.map((function(t){return e.getLeaveOptions?e.getLeaveOptions(t,a):{}})),p=o.map((function(t){return e.getAnimatedElement(t.item)})),d=o.map((function(t){return e.getReorderOptions?e.getReorderOptions(t.item,t.movedForward,a):{}}));t.forEach((function(e,t){r.beforeAnimationRun(s[t],l[t])})),n.forEach((function(e,t){r.beforeAnimationRun(u[t],c[t])})),o.forEach((function(e,t){r.beforeAnimationRun(p[t],d[t])}));var h=t.length+n.length+p.length,m=function(e){--h<=0&&(i&&i(),r.onNextRender((function(){t.forEach((function(e,t){r.clearHtmlElement(s[t],l[t])})),n.forEach((function(e,t){r.clearHtmlElement(u[t],c[t])})),o.forEach((function(e,t){r.clearHtmlElement(p[t],d[t])}))}),e))};t.forEach((function(e,t){r.runAnimation(s[t],l[t],m)})),n.forEach((function(e,t){r.runAnimation(u[t],c[t],m)})),o.forEach((function(e,t){r.runAnimation(p[t],d[t],m)}))},t}(st),ct=function(){function e(e,t,n){var o=this;this.animationOptions=e,this.update=t,this.getCurrentValue=n,this._debouncedSync=function(e){var t,n=this,o=!1,i=!1;return{run:function(){for(var r=[],a=0;a<arguments.length;a++)r[a]=arguments[a];i=!1,t=r,o||(o=!0,queueMicrotask((function(){i||e.apply(n,t),i=!1,o=!1})))},cancel:function(){i=!0}}}((function(e){o.cancelAnimations();try{o._sync(e)}catch(t){o.update(e)}}))}return e.prototype.onNextRender=function(e,t){var n=this,o=this.animationOptions.getRerenderEvent();if(o){var i=function(){o.remove(r),n.cancelCallback=void 0},r=function(n,o){o.isCancel?t&&t():e(),i()};this.cancelCallback=function(){t&&t(),i()},o.add(r)}else{if(!a.isAvailable())throw new Error("Can't get next render");var s=a.requestAnimationFrame((function(){e(),n.cancelCallback=void 0}));this.cancelCallback=function(){t&&t(),cancelAnimationFrame(s),n.cancelCallback=void 0}}},e.prototype.sync=function(e){this.animationOptions.isAnimationEnabled()?this._debouncedSync.run(e):(this.cancel(),this.update(e))},e.prototype.cancel=function(){this._debouncedSync.cancel(),this.cancelAnimations()},e.prototype.cancelAnimations=function(){this.cancelCallback&&this.cancelCallback(),this.animation.cancel()},e}(),pt=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.animation=new lt,t}return at(t,e),t.prototype._sync=function(e){var t=this;e!==this.getCurrentValue()?e?(this.onNextRender((function(){t.animation.onEnter(t.animationOptions)})),this.update(e)):this.animation.onLeave(this.animationOptions,(function(){t.update(e)})):this.update(e)},t}(ct),dt=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.animation=new ut,t}return at(t,e),t.prototype._sync=function(e){var t,n,o=this;e=[].concat(e);var i=[].concat(this.getCurrentValue()),r=null===(t=this.animationOptions.allowSyncRemovalAddition)||void 0===t||t,a=function(e,t,n){var o=new Map,i=new Map,r=new Map,a=new Map;e.forEach((function(e){var t=n(e);if(o.has(t))throw new Error("keys must be unique");o.set(n(e),e)})),t.forEach((function(e){var t=n(e);if(i.has(t))throw new Error("keys must be unique");i.set(t,e)}));var s=[],l=[];i.forEach((function(e,t){o.has(t)?r.set(t,r.size):s.push(e)})),o.forEach((function(e,t){i.has(t)?a.set(t,a.size):l.push(e)}));var u=[];r.forEach((function(e,t){var n=a.get(t),o=i.get(t);n!==e&&u.push({item:o,movedForward:n<e})}));var c=new Array(e.length),p=0,d=Array.from(r.keys());e.forEach((function(e,t){r.has(n(e))?(c[t]=i.get(d[p]),p++):c[t]=e}));var h=new Map,m=[];c.forEach((function(e){var t=n(e);i.has(t)?m.length>0&&(h.set(t,m),m=[]):m.push(e)}));var g=new Array;return i.forEach((function(e,t){h.has(t)&&h.get(t).forEach((function(e){g.push(e)})),g.push(e)})),m.forEach((function(e){g.push(e)})),{reorderedItems:u,deletedItems:l,addedItems:s,mergedItems:g}}(i,e,null!==(n=this.animationOptions.getKey)&&void 0!==n?n:function(e){return e});!r&&(a.reorderedItems.length>0||a.addedItems.length>0)&&(a.deletedItems=[],a.mergedItems=e),this.animationOptions.onCompareArrays&&this.animationOptions.onCompareArrays(a);var s=a.addedItems,l=a.reorderedItems,u=a.deletedItems,c=a.mergedItems,p=function(){o.animation.runGroupAnimation(o.animationOptions,s,u,l,(function(){u.length>0&&o.update(e)}))};[s,u,l].some((function(e){return e.length>0}))?u.length<=0||l.length>0||s.length>0?(this.onNextRender(p,(function(){o.update(e)})),this.update(c)):p():this.update(e)},t}(ct),ht=function(e){function t(t,n,o,i){var r=e.call(this,t,n,o)||this;return r.mergeValues=i,r.animation=new ut,r}return at(t,e),t.prototype._sync=function(e){var t=this,n=[].concat(this.getCurrentValue());if(n[0]!==e[0]){var o=this.mergeValues?this.mergeValues(e,n):[].concat(n,e);this.onNextRender((function(){t.animation.runGroupAnimation(t.animationOptions,e,n,[],(function(){t.update(e)}))}),(function(){return t.update(e)})),this.update(o,!0)}else this.update(e)},t}(ct),mt=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(t,n)};return function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function o(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}}(),gt=function(e,t,n,o){var i,r=arguments.length,a=r<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,n):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,o);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(a=(r<3?i(a):r>3?i(t,n,a):i(t,n))||a);return r>3&&a&&Object.defineProperty(t,n,a),a},ft=function(e){function t(){var t=e.call(this)||this;return t.createLocTitleProperty(),t}return mt(t,e),t.prototype.createLocTitleProperty=function(){return this.createLocalizableString("title",this,!0)},Object.defineProperty(t.prototype,"isPage",{get:function(){return!1},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isPanel",{get:function(){return!1},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isQuestion",{get:function(){return!1},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isSurvey",{get:function(){return!1},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"title",{get:function(){return this.getLocalizableStringText("title",this.getDefaultTitleValue())},set:function(e){this.setTitleValue(e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"locTitle",{get:function(){return this.getLocalizableString("title")},enumerable:!1,configurable:!0}),t.prototype.getDefaultTitleValue=function(){},t.prototype.setTitleValue=function(e){this.setLocalizableStringText("title",e)},t.prototype.updateDescriptionVisibility=function(e){var t=!1;if(this.isDesignMode){var n=L.findProperty(this.getType(),"description");t=!!(null==n?void 0:n.placeholder)}this.hasDescription=!!e||t&&this.isDesignMode},Object.defineProperty(t.prototype,"locDescription",{get:function(){return this.getLocalizableString("description")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"titleTagName",{get:function(){var e=this.getDefaultTitleTagName(),t=this.getSurvey();return t?t.getElementTitleTagName(this,e):e},enumerable:!1,configurable:!0}),t.prototype.getDefaultTitleTagName=function(){return tn.titleTags[this.getType()]},Object.defineProperty(t.prototype,"hasTitle",{get:function(){return this.title.length>0},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"hasTitleActions",{get:function(){return!1},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"hasTitleEvents",{get:function(){return this.hasTitleActions},enumerable:!1,configurable:!0}),t.prototype.getTitleToolbar=function(){return null},t.prototype.getTitleOwner=function(){},Object.defineProperty(t.prototype,"isTitleOwner",{get:function(){return!!this.getTitleOwner()},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isTitleRenderedAsString",{get:function(){return this.getIsTitleRenderedAsString()},enumerable:!1,configurable:!0}),t.prototype.toggleState=function(){},Object.defineProperty(t.prototype,"cssClasses",{get:function(){return{}},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"cssTitle",{get:function(){return""},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"ariaTitleId",{get:function(){},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"ariaDescriptionId",{get:function(){},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"titleTabIndex",{get:function(){},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"titleAriaExpanded",{get:function(){},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"titleAriaRole",{get:function(){},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"ariaLabel",{get:function(){return this.locTitle.renderedHtml},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"titleAriaLabel",{get:function(){return this.ariaLabel},enumerable:!1,configurable:!0}),t.prototype.getIsTitleRenderedAsString=function(){return!this.isTitleOwner},gt([x({})],t.prototype,"hasDescription",void 0),gt([x({localizable:!0,onSet:function(e,t){t.updateDescriptionVisibility(e)}})],t.prototype,"description",void 0),t}(_e);!function(e){e[e.InsideEmptyPanel=1]="InsideEmptyPanel",e[e.MultilineRight=2]="MultilineRight",e[e.MultilineLeft=3]="MultilineLeft",e[e.Top=4]="Top",e[e.Right=5]="Right",e[e.Bottom=6]="Bottom",e[e.Left=7]="Left"}(rt||(rt={}));var yt=function(e){function t(n){var o=e.call(this)||this;return o.selectedElementInDesignValue=o,o.disableDesignActions=t.CreateDisabledDesignElements,o.parentQuestionValue=null,o.isContentElement=!1,o.isEditableTemplateElement=!1,o.isInteractiveDesignElement=!0,o.isSingleInRow=!0,o._renderedIsExpanded=!0,o._isAnimatingCollapseExpand=!1,o.animationCollapsed=new pt(o.getExpandCollapseAnimationOptions(),(function(e){o._renderedIsExpanded=e,o.animationAllowed&&(e?o.isAnimatingCollapseExpand=!0:o.updateElementCss(!1))}),(function(){return o.renderedIsExpanded})),o.onAfterRenderElement=o.addEvent(),o.name=n,o.createNewArray("errors"),o.createNewArray("titleActions"),o.registerPropertyChangedHandlers(["isReadOnly"],(function(){o.onReadOnlyChanged()})),o.registerPropertyChangedHandlers(["errors"],(function(){o.updateVisibleErrors()})),o.registerPropertyChangedHandlers(["isSingleInRow"],(function(){o.updateElementCss(!1)})),o.registerPropertyChangedHandlers(["minWidth","maxWidth","renderWidth","allowRootStyle","parent"],(function(){o.updateRootStyle()})),o}return mt(t,e),t.getProgressInfoByElements=function(e,t){for(var n=_e.createProgressInfo(),o=0;o<e.length;o++)if(e[o].isVisible){var i=e[o].getProgressInfo();n.questionCount+=i.questionCount,n.answeredQuestionCount+=i.answeredQuestionCount,n.requiredQuestionCount+=i.requiredQuestionCount,n.requiredAnsweredQuestionCount+=i.requiredAnsweredQuestionCount}return t&&n.questionCount>0&&(0==n.requiredQuestionCount&&(n.requiredQuestionCount=1),n.answeredQuestionCount>0&&(n.requiredAnsweredQuestionCount=1)),n},t.IsNeedScrollIntoView=function(e,t,n){var o=n?-1:e.getBoundingClientRect().top,i=o<0,r=-1;if(!i&&t&&(i=(r=e.getBoundingClientRect().left)<0),!i&&a.isAvailable()){var s=a.getInnerHeight();if(!(i=s>0&&s<o)&&t){var l=a.getInnerWidth();i=l>0&&l<r}}return i},t.ScrollIntoView=function(e,t,n){if(e.scrollIntoView(t),"function"==typeof n){var o=null,i=0,r=function(){var t=e.getBoundingClientRect().top;if(t===o){if(i++>2)return void n()}else o=t,i=0;requestAnimationFrame(r)};a.requestAnimationFrame(r)}},t.ScrollElementToTop=function(e,n,o,i){var r=tn.environment.root;if(!e||void 0===r)return!1;var a=r.getElementById(e);return t.ScrollElementToViewCore(a,!1,n,o,i)},t.ScrollElementToViewCore=function(e,n,o,i,r){if(!e||!e.scrollIntoView)return r&&r(),!1;var a=t.IsNeedScrollIntoView(e,n,o);return a?t.ScrollIntoView(e,i,r):r&&r(),a},t.GetFirstNonTextElement=function(e,t){if(void 0===t&&(t=!1),!e||!e.length||0==e.length)return null;if(t){var n=e[0];"#text"===n.nodeName&&(n.data=""),"#text"===(n=e[e.length-1]).nodeName&&(n.data="")}for(var o=0;o<e.length;o++)if("#text"!=e[o].nodeName&&"#comment"!=e[o].nodeName)return e[o];return null},t.FocusElement=function(e,n,o){if(!e||!s.isAvailable())return!1;var i=!n&&t.focusElementCore(e,o);return i||setTimeout((function(){t.focusElementCore(e,o)}),n?100:10),i},t.focusElementCore=function(e,n){var o=tn.environment.root;if(!o&&!n)return!1;var i=n?n.querySelector("#"+CSS.escape(e)):o.getElementById(e);return!(!i||i.disabled||"none"===i.style.display||null===i.offsetParent)&&(t.ScrollElementToViewCore(i,!0,!1),i.focus(),!0)},Object.defineProperty(t.prototype,"colSpan",{get:function(){return this.getPropertyValue("colSpan",1)},set:function(e){this.setPropertyValue("colSpan",e)},enumerable:!1,configurable:!0}),t.prototype.onPropertyValueChanged=function(t,n,o){e.prototype.onPropertyValueChanged.call(this,t,n,o),"state"===t&&(this.updateElementCss(!1),this.notifyStateChanged(n),this.stateChangedCallback&&this.stateChangedCallback())},t.prototype.getSkeletonComponentNameCore=function(){return this.survey?this.survey.getSkeletonComponentName(this):""},Object.defineProperty(t.prototype,"parentQuestion",{get:function(){return this.parentQuestionValue},enumerable:!1,configurable:!0}),t.prototype.setParentQuestion=function(e){this.parentQuestionValue=e,this.onParentQuestionChanged()},t.prototype.onParentQuestionChanged=function(){},t.prototype.updateElementVisibility=function(){this.setPropertyValue("isVisible",this.isVisible)},Object.defineProperty(t.prototype,"skeletonComponentName",{get:function(){return this.getSkeletonComponentNameCore()},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"state",{get:function(){return this.getPropertyValue("state")},set:function(e){this.setPropertyValue("state",e),this.renderedIsExpanded=!this.isCollapsed},enumerable:!1,configurable:!0}),t.prototype.notifyStateChanged=function(e){this.survey&&this.survey.elementContentVisibilityChanged(this)},Object.defineProperty(t.prototype,"isCollapsed",{get:function(){return"collapsed"===this.state&&!this.isDesignMode},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isExpanded",{get:function(){return"expanded"===this.state},enumerable:!1,configurable:!0}),t.prototype.collapse=function(){this.isDesignMode||(this.state="collapsed")},t.prototype.expand=function(){this.state="expanded"},t.prototype.toggleState=function(){return this.isCollapsed?(this.expand(),!0):!this.isExpanded||(this.collapse(),!1)},Object.defineProperty(t.prototype,"hasStateButton",{get:function(){return this.isExpanded||this.isCollapsed},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"shortcutText",{get:function(){return this.title||this.name},enumerable:!1,configurable:!0}),t.prototype.getTitleToolbar=function(){return this.titleToolbarValue||(this.titleToolbarValue=this.createActionContainer(!0),this.titleToolbarValue.locOwner=this,this.titleToolbarValue.containerCss=(this.isPanel?this.cssClasses.panel.titleBar:this.cssClasses.titleBar)||"sv-action-title-bar",this.titleToolbarValue.setItems(this.getTitleActions())),this.titleToolbarValue},t.prototype.createActionContainer=function(e){var t=e?new it:new Me;return this.survey&&this.survey.getCss().actionBar&&(t.cssClasses=this.survey.getCss().actionBar),t},Object.defineProperty(t.prototype,"titleActions",{get:function(){return this.getPropertyValue("titleActions")},enumerable:!1,configurable:!0}),t.prototype.getTitleActions=function(){return this.isTitleActionRequested||(this.updateTitleActions(),this.isTitleActionRequested=!0),this.titleActions},t.prototype.getDefaultTitleActions=function(){return[]},t.prototype.updateTitleActions=function(){var e=this.getDefaultTitleActions();this.survey&&(e=this.survey.getUpdatedElementTitleActions(this,e)),this.setPropertyValue("titleActions",e)},t.prototype.locStrsChanged=function(){e.prototype.locStrsChanged.call(this),this.titleToolbarValue&&this.titleToolbarValue.locStrsChanged()},Object.defineProperty(t.prototype,"hasTitleActions",{get:function(){return this.getTitleActions().length>0},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"hasTitleEvents",{get:function(){return void 0!==this.state&&"default"!==this.state},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"titleTabIndex",{get:function(){return this.isPage||"default"===this.state?void 0:0},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"titleAriaExpanded",{get:function(){if(!this.isPage&&"default"!==this.state)return"expanded"===this.state?"true":"false"},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"titleAriaRole",{get:function(){if(!this.isPage&&"default"!==this.state)return"button"},enumerable:!1,configurable:!0}),t.prototype.setSurveyImpl=function(e,t){this.surveyImplValue=e,this.surveyImplValue?(this.surveyDataValue=this.surveyImplValue.getSurveyData(),this.setSurveyCore(this.surveyImplValue.getSurvey()),this.textProcessorValue=this.surveyImplValue.getTextProcessor(),this.onSetData()):(this.setSurveyCore(null),this.surveyDataValue=null),this.survey&&(this.updateDescriptionVisibility(this.description),this.clearCssClasses()),this.blockAnimations(),this.renderedIsExpanded=!this.isCollapsed,this.releaseAnimations()},t.prototype.canRunConditions=function(){return e.prototype.canRunConditions.call(this)&&!!this.data},t.prototype.getDataFilteredValues=function(){return this.data?this.data.getFilteredValues():{}},t.prototype.getDataFilteredProperties=function(){var e=this.data?this.data.getFilteredProperties():{};return e.question=this,e},Object.defineProperty(t.prototype,"surveyImpl",{get:function(){return this.surveyImplValue},enumerable:!1,configurable:!0}),t.prototype.__setData=function(e){tn.supportCreatorV2&&(this.surveyDataValue=e)},Object.defineProperty(t.prototype,"data",{get:function(){return this.surveyDataValue},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"survey",{get:function(){return this.getSurvey()},enumerable:!1,configurable:!0}),t.prototype.getSurvey=function(e){return void 0===e&&(e=!1),this.surveyValue||this.surveyImplValue&&this.setSurveyCore(this.surveyImplValue.getSurvey()),this.surveyValue},t.prototype.setSurveyCore=function(e){this.surveyValue=e,this.surveyChangedCallback&&this.surveyChangedCallback()},Object.defineProperty(t.prototype,"skeletonHeight",{get:function(){var e=void 0;return this.survey&&this.survey.skeletonHeight&&(e=this.survey.skeletonHeight+"px"),e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isInternal",{get:function(){return this.isContentElement},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"areInvisibleElementsShowing",{get:function(){return!!this.survey&&this.survey.areInvisibleElementsShowing&&!this.isContentElement},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isVisible",{get:function(){return!0},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isReadOnly",{get:function(){return this.readOnly},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"readOnly",{get:function(){return this.getPropertyValue("readOnly")},set:function(e){this.readOnly!=e&&(this.setPropertyValue("readOnly",e),this.isLoadingFromJson||this.setPropertyValue("isReadOnly",this.isReadOnly))},enumerable:!1,configurable:!0}),t.prototype.onReadOnlyChanged=function(){this.readOnlyChangedCallback&&this.readOnlyChangedCallback()},Object.defineProperty(t.prototype,"css",{get:function(){return this.survey?this.survey.getCss():{}},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"cssClassesValue",{get:function(){var e=this.getPropertyValueWithoutDefault("cssClassesValue");return e||this.isCssValueCalculating||(this.isCssValueCalculating=!0,e=this.createCssClassesValue(),this.isCssValueCalculating=!1),e},enumerable:!1,configurable:!0}),t.prototype.ensureCssClassesValue=function(){this.cssClassesValue||this.createCssClassesValue()},t.prototype.createCssClassesValue=function(){var e=this.calcCssClasses(this.css);return this.setPropertyValue("cssClassesValue",e),this.onCalcCssClasses(e),this.updateElementCssCore(this.cssClassesValue),e},t.prototype.onCalcCssClasses=function(e){},Object.defineProperty(t.prototype,"cssClasses",{get:function(){this.cssClassesValue;return this.survey?(this.ensureCssClassesValue(),this.cssClassesValue):this.calcCssClasses(this.css)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"cssTitleNumber",{get:function(){var e=this.cssClasse
vendor: 4,159 bytes, line 11
11s;return e.number?e.number:e.panel?e.panel.number:void 0},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"cssRequiredText",{get:function(){var e=this.cssClasses;return e.requiredText||e.panel&&e.panel.requiredText},enumerable:!1,configurable:!0}),t.prototype.getCssTitleExpandableSvg=function(){return"default"===this.state?null:this.cssClasses.titleExpandableSvg},t.prototype.calcCssClasses=function(e){},t.prototype.updateElementCssCore=function(e){},Object.defineProperty(t.prototype,"cssError",{get:function(){return""},enumerable:!1,configurable:!0}),t.prototype.updateElementCss=function(e){this.clearCssClasses()},t.prototype.clearCssClasses=function(){this.resetPropertyValue("cssClassesValue")},t.prototype.getIsLoadingFromJson=function(){return!!e.prototype.getIsLoadingFromJson.call(this)||!!this.surveyValue&&this.surveyValue.isLoadingFromJson},Object.defineProperty(t.prototype,"name",{get:function(){return this.getPropertyValue("name","")},set:function(e){var t=this.name;this.setPropertyValue("name",this.getValidName(e)),!this.isLoadingFromJson&&t&&this.onNameChanged(t)},enumerable:!1,configurable:!0}),t.prototype.getValidName=function(e){return e},t.prototype.onNameChanged=function(e){},t.prototype.updateBindingValue=function(e,t){this.data&&!this.isTwoValueEquals(t,this.data.getValue(e))&&this.data.setValue(e,t,!1)},Object.defineProperty(t.prototype,"errors",{get:function(){return this.getPropertyValue("errors")},set:function(e){this.setPropertyValue("errors",e)},enumerable:!1,configurable:!0}),t.prototype.updateVisibleErrors=function(){for(var e=0,t=0;t<this.errors.length;t++)this.errors[t].visible&&e++;this.hasVisibleErrors=e>0},Object.defineProperty(t.prototype,"containsErrors",{get:function(){return this.getPropertyValue("containsErrors",!1)},enumerable:!1,configurable:!0}),t.prototype.updateContainsErrors=function(){this.setPropertyValue("containsErrors",this.getContainsErrors())},t.prototype.getContainsErrors=function(){return this.errors.length>0},Object.defineProperty(t.prototype,"selectedElementInDesign",{get:function(){return this.selectedElementInDesignValue},set:function(e){this.selectedElementInDesignValue=e},enumerable:!1,configurable:!0}),t.prototype.updateCustomWidgets=function(){},t.prototype.onSurveyLoad=function(){},Object.defineProperty(t.prototype,"wasRendered",{get:function(){return!!this.wasRenderedValue},enumerable:!1,configurable:!0}),t.prototype.onFirstRendering=function(){this.wasRendered||(this.wasRenderedValue=!0,this.onFirstRenderingCore())},t.prototype.onFirstRenderingCore=function(){this.ensureCssClassesValue()},t.prototype.endLoadingFromJson=function(){e.prototype.endLoadingFromJson.call(this),this.survey||this.onSurveyLoad(),this.updateDescriptionVisibility(this.description)},t.prototype.setVisibleIndex=function(e){return 0},t.prototype.delete=function(e){},t.prototype.getLocale=function(){return this.survey?this.survey.getLocale():this.locOwner?this.locOwner.getLocale():""},t.prototype.getMarkdownHtml=function(e,t){return this.survey?this.survey.getSurveyMarkdownHtml(this,e,t):this.locOwner?this.locOwner.getMarkdownHtml(e,t):void 0},t.prototype.getRenderer=function(e){return this.survey&&"function"==typeof this.survey.getRendererForString?this.survey.getRendererForString(this,e):this.locOwner&&"function"==typeof this.locOwner.getRenderer?this.locOwner.getRenderer(e):null},t.prototype.getRendererContext=function(e){return this.survey&&"function"==typeof this.survey.getRendererContextForString?this.survey.getRendererContextForString(this,e):this.locOwner&&"function"==typeof this.locOwner.getRendererContext?this.locOwner.getRendererContext(e):e},t.prototype.getProcessedText=function(e){return this.isLoadingFromJson?e:this.textProcessor?this.textProcessor.processText(e,this.getUseDisplayValuesInDynamicTexts()):this.locOwner?this.locOwner.getProcessedText(e):e},t.prototype.getUseDisplayValuesInDynamicTexts=function(){return!0},t.prototype.removeSelfFromList=function(e){if(e&&Array.isArray(e)){var t=e.indexOf(this);t>-1&&e.splice(t,1)}},Object.defineProperty(t.prototype,"textProcessor",{get:function(){return this.textProcessorValue}
vendor: 73,791 bytes, line 11
11,enumerable:!1,configurable:!0}),t.prototype.getProcessedHtml=function(e){return e&&this.textProcessor?this.textProcessor.processText(e,!0):e},t.prototype.onSetData=function(){},Object.defineProperty(t.prototype,"parent",{get:function(){return this.getPropertyValue("parent",null)},set:function(e){this.setPropertyValue("parent",e)},enumerable:!1,configurable:!0}),t.prototype.getPage=function(e){for(;e&&e.parent;)e=e.parent;return e&&e.isPage?e:null},t.prototype.moveToBase=function(e,t,n){if(void 0===n&&(n=null),!t)return!1;e.removeElement(this);var o=-1;return u.isNumber(n)&&(o=parseInt(n)),-1==o&&n&&n.getType&&(o=t.indexOf(n)),t.addElement(this,o),!0},t.prototype.setPage=function(e,t){var n=this.getPage(e);(this.prevSurvey=this.survey,"string"==typeof t)&&this.getSurvey().pages.forEach((function(e){t===e.name&&(t=e)}));n!==t&&(e&&e.removeElement(this),t&&t.addElement(this,-1),this.prevSurvey=void 0)},t.prototype.getSearchableLocKeys=function(e){e.push("title"),e.push("description")},Object.defineProperty(t.prototype,"isDefaultV2Theme",{get:function(){return this.survey&&-1!==this.survey.getCss().root.indexOf("sd-root-modern")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"hasParent",{get:function(){return this.parent&&!this.parent.isPage||void 0===this.parent},enumerable:!1,configurable:!0}),t.prototype.shouldAddRunnerStyles=function(){return!this.isDesignMode&&this.isDefaultV2Theme},Object.defineProperty(t.prototype,"isCompact",{get:function(){return this.survey&&this.survey.isCompact},enumerable:!1,configurable:!0}),t.prototype.canHaveFrameStyles=function(){var e;return(null===(e=this.survey)||void 0===e?void 0:e.currentSingleElement)===this||void 0!==this.parent&&(!this.hasParent||this.parent&&this.parent.showPanelAsPage)},t.prototype.getHasFrameV2=function(){return this.shouldAddRunnerStyles()&&this.canHaveFrameStyles()},t.prototype.getIsNested=function(){return this.shouldAddRunnerStyles()&&!this.canHaveFrameStyles()},t.prototype.getCssRoot=function(e){var t=!!this.isCollapsed||!!this.isExpanded;return(new Ae).append(e.withFrame,this.getHasFrameV2()&&!this.isCompact).append(e.compact,this.isCompact&&this.getHasFrameV2()).append(e.collapsed,!!this.isCollapsed).append(e.expandableAnimating,t&&this.isAnimatingCollapseExpand).append(e.expanded,!!this.isExpanded&&this.renderedIsExpanded).append(e.expandable,t).append(e.nested,this.getIsNested()).toString()},Object.defineProperty(t.prototype,"width",{get:function(){return this.getPropertyValue("width","")},set:function(e){this.setPropertyValue("width",e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"minWidth",{get:function(){return this.getPropertyValue("minWidth")},set:function(e){this.setPropertyValue("minWidth",e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"maxWidth",{get:function(){return this.getPropertyValue("maxWidth")},set:function(e){this.setPropertyValue("maxWidth",e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"renderWidth",{get:function(){return this.getPropertyValue("renderWidth","")},set:function(e){this.setPropertyValue("renderWidth",e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"indent",{get:function(){return this.getPropertyValue("indent")},set:function(e){this.setPropertyValue("indent",e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"rightIndent",{get:function(){return this.getPropertyValue("rightIndent",0)},set:function(e){this.setPropertyValue("rightIndent",e)},enumerable:!1,configurable:!0}),t.prototype.getRootStyle=function(){var e={};return this.paddingLeft&&(e["--sv-element-add-padding-left"]=this.paddingLeft),this.paddingRight&&(e["--sv-element-add-padding-right"]=this.paddingRight),e},Object.defineProperty(t.prototype,"paddingLeft",{get:function(){var e=this;return this.getPropertyValue("paddingLeft",void 0,(function(){return e.calcPaddingLeft()}))},enumerable:!1,configurable:!0}),t.prototype.calcPaddingLeft=function(){return""},Object.defineProperty(t.prototype,"paddingRight",{get:function(){var e=this;return this.getPropertyValue("paddingRight",void 0,(function(){return e.calcPaddingRight()}))},set:function(e){this.setPropertyValue("paddingRight",e)},enumerable:!1,configurable:!0}),t.prototype.calcPaddingRight=function(){return""},t.prototype.resetIndents=function(){this.resetPropertyValue("paddingLeft"),this.resetPropertyValue("paddingRight")},t.prototype.updateRootStyle=function(){var e,t={};this.parent&&((e=this.parent.getColumsForElement(this).reduce((function(e,t){return t.effectiveWidth+e}),0))&&100!==e&&(t.flexGrow=1,t.flexShrink=0,t.flexBasis=e+"%",t.minWidth=void 0,t.maxWidth=this.maxWidth));if(0==Object.keys(t).length){var n=""+this.minWidth;if(n&&"auto"!=n){if(-1!=n.indexOf("px")&&this.survey){n=n.replace("px","");var o=parseFloat(n);isNaN(o)||(n=o*this.survey.widthScale/100,n+="px")}n="min(100%, "+n+")"}this.allowRootStyle&&this.renderWidth&&(t.flexGrow=1,t.flexShrink=1,t.flexBasis=this.renderWidth,t.minWidth=n,t.maxWidth=this.maxWidth)}this.rootStyle=t},t.prototype.isContainsSelection=function(e){var t=void 0,n=s.getDocument();if(s.isAvailable()&&n&&n.selection)t=n.selection.createRange().parentElement();else{var o=a.getSelection();if(o&&o.rangeCount>0){var i=o.getRangeAt(0);i.startOffset!==i.endOffset&&(t=i.startContainer.parentNode)}}return t==e},Object.defineProperty(t.prototype,"clickTitleFunction",{get:function(){var e=this;if(this.needClickTitleFunction())return function(t){if(!t||!e.isContainsSelection(t.target))return e.processTitleClick()}},enumerable:!1,configurable:!0}),t.prototype.needClickTitleFunction=function(){return"default"!==this.state},t.prototype.processTitleClick=function(){"default"!==this.state&&this.toggleState()},Object.defineProperty(t.prototype,"hasAdditionalTitleToolbar",{get:function(){return!1},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"additionalTitleToolbar",{get:function(){return this.getAdditionalTitleToolbar()},enumerable:!1,configurable:!0}),t.prototype.getAdditionalTitleToolbar=function(){return null},t.prototype.getCssTitle=function(e){if(!e)return"";var t="default"!==this.state;return(new Ae).append(e.title).append(e.titleNumInline,(this.no||"").length>4||t).append(e.titleExpandable,t).append(e.titleExpanded,this.isExpanded).append(e.titleCollapsed,this.isCollapsed).append(e.titleDisabled,this.isDisabledStyle).append(e.titleReadOnly,this.isReadOnly).append(e.titleOnError,this.containsErrors).toString()},Object.defineProperty(t.prototype,"isDisabledStyle",{get:function(){return this.getIsDisableAndReadOnlyStyles(!1)[1]},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isReadOnlyStyle",{get:function(){return this.getIsDisableAndReadOnlyStyles(!1)[0]},enumerable:!1,configurable:!0}),t.prototype.getIsDisableAndReadOnlyStyles=function(e){var t=this.isPreviewStyle,n=e||this.isReadOnly;return[n&&!t,!this.isDefaultV2Theme&&(n||t)]},Object.defineProperty(t.prototype,"isPreviewStyle",{get:function(){return!!this.survey&&"preview"===this.survey.state},enumerable:!1,configurable:!0}),t.prototype.localeChanged=function(){e.prototype.localeChanged.call(this),this.updateDescriptionVisibility(this.description),this.errors.length>0&&this.errors.forEach((function(e){e.updateText()}))},t.prototype.setWrapperElement=function(e){this.wrapperElement=e},t.prototype.getWrapperElement=function(){return this.wrapperElement},Object.defineProperty(t.prototype,"isAnimatingCollapseExpand",{get:function(){return this._isAnimatingCollapseExpand||this._renderedIsExpanded!=this.isExpanded},set:function(e){e!==this._isAnimatingCollapseExpand&&(this._isAnimatingCollapseExpand=e,this.updateElementCss(!1))},enumerable:!1,configurable:!0}),t.prototype.onElementExpanded=function(e){},t.prototype.getExpandCollapseAnimationOptions=function(){var e=this,t=function(t){e.isAnimatingCollapseExpand=!0,Yt(t)},n=function(t){e.isAnimatingCollapseExpand=!1,Xt(t)};return{getRerenderEvent:function(){return e.onElementRerendered},getEnterOptions:function(){return{cssClass:(e.isPanel?e.cssClasses.panel:e.cssClasses).contentEnter,onBeforeRunAnimation:t,onAfterRunAnimation:function(t){n(t),e.onElementExpanded(!0)}}},getLeaveOptions:function(){return{cssClass:(e.isPanel?e.cssClasses.panel:e.cssClasses).contentLeave,onBeforeRunAnimation:t,onAfterRunAnimation:n}},getAnimatedElement:function(){var t,n=e.isPanel?e.cssClasses.panel:e.cssClasses;if(n.content){var o=Qt(n.content);if(o)return null===(t=e.getWrapperElement())||void 0===t?void 0:t.querySelector(":scope "+o)}},isAnimationEnabled:function(){return e.isExpandCollapseAnimationEnabled}}},Object.defineProperty(t.prototype,"isExpandCollapseAnimationEnabled",{get:function(){return this.animationAllowed&&!this.isDesignMode},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"renderedIsExpanded",{get:function(){return!!this._renderedIsExpanded},set:function(e){var t=this._renderedIsExpanded;this.animationCollapsed.sync(e),this.isExpandCollapseAnimationEnabled||t||!this.renderedIsExpanded||this.onElementExpanded(!1)},enumerable:!1,configurable:!0}),t.prototype.getIsAnimationAllowed=function(){return e.prototype.getIsAnimationAllowed.call(this)&&!!this.survey&&!this.survey.isEndLoadingFromJson},t.prototype.afterRenderCore=function(e){this.onAfterRenderElement.fire(this,{htmlElement:e})},t.prototype.dispose=function(){e.prototype.dispose.call(this),this.titleToolbarValue&&this.titleToolbarValue.dispose()},t.CreateDisabledDesignElements=!1,gt([x({defaultValue:null})],t.prototype,"dragTypeOverMe",void 0),gt([x({defaultValue:!1})],t.prototype,"isDragMe",void 0),gt([x({onSet:function(e,t){t.colSpan=e}})],t.prototype,"effectiveColSpan",void 0),gt([x({defaultValue:!1})],t.prototype,"hasVisibleErrors",void 0),gt([x({defaultValue:!0})],t.prototype,"isSingleInRow",void 0),gt([x({defaultValue:!0})],t.prototype,"allowRootStyle",void 0),gt([x()],t.prototype,"rootStyle",void 0),gt([x()],t.prototype,"_renderedIsExpanded",void 0),t}(ft),vt=function(){function e(e,t,n){var o=this;void 0===n&&(n=100),this._elements=e,this._renderedHandler=t,this._elementsToRenderCount=0,this._elementsToRenderTimer=void 0,this._elementRenderedHandler=function(e,t){var n;null===(n=e.onAfterRenderElement)||void 0===n||n.remove(o._elementRenderedHandler),o._elementsToRenderCount--,o._elementsToRenderCount<=0&&o.visibleElementsRendered()},this._elements.forEach((function(e){e.onAfterRenderElement&&(e.onAfterRenderElement.add(o._elementRenderedHandler),o._elementsToRenderCount++)})),this._elementsToRenderCount>0?this._elementsToRenderTimer=setTimeout((function(){o._elementsToRenderCount>0&&o.visibleElementsRendered()}),n):this.visibleElementsRendered()}return e.prototype.stopWaitingForElementsRendering=function(){var e=this;this._elementsToRenderTimer&&(clearTimeout(this._elementsToRenderTimer),this._elementsToRenderTimer=void 0),this._elements.forEach((function(t){var n;null===(n=t.onAfterRenderElement)||void 0===n||n.remove(e._elementRenderedHandler)})),this._elementsToRenderCount=0},e.prototype.visibleElementsRendered=function(){var e=this._renderedHandler;this.dispose(),"function"==typeof e&&e()},e.prototype.dispose=function(){this.stopWaitingForElementsRendering(),this._elements=void 0,this._renderedHandler=void 0},e}(),bt=function(){function e(e,t,n,o){void 0===t&&(t=!1),this.owner=e,this.useMarkdown=t,this.name=n,this.values={},this.htmlValues={},this.onStringChanged=new Ee,this._localizationName=o,this.onCreating()}return Object.defineProperty(e,"defaultLocale",{get:function(){return tn.localization.defaultLocaleName},set:function(e){tn.localization.defaultLocaleName=e},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"localizationName",{get:function(){return this._localizationName},set:function(e){this._localizationName!=e&&(this._localizationName=e,this.strChanged())},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"allowLineBreaks",{get:function(){var e;return void 0===this._allowLineBreaks&&(this._allowLineBreaks=!1,this.name&&this.owner instanceof ft&&(this._allowLineBreaks="text"==(null===(e=L.findProperty(this.owner.getType(),this.name))||void 0===e?void 0:e.type))),this._allowLineBreaks},enumerable:!1,configurable:!0}),e.prototype.getIsMultiple=function(){return!1},Object.defineProperty(e.prototype,"locale",{get:function(){if(this.owner&&this.owner.getLocale){var e=this.owner.getLocale();if(e||!this.sharedData)return e}return this.sharedData?this.sharedData.locale:""},enumerable:!1,configurable:!0}),e.prototype.strChanged=function(){this.searchableText=void 0,(void 0!==this.renderedText||!this.isEmpty||this.onGetTextCallback||this.localizationName)&&(this.calculatedTextValue=this.calcText(),this.renderedText!==this.calculatedTextValue&&(this.renderedText=void 0,this.calculatedTextValue=void 0),this.htmlValues={},this.onChanged(),this.onStringChanged.fire(this,{}))},Object.defineProperty(e.prototype,"text",{get:function(){return this.pureText},set:function(e){this.setLocaleText(this.locale,e)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"calculatedText",{get:function(){return this.renderedText=void 0!==this.calculatedTextValue?this.calculatedTextValue:this.calcText(),this.calculatedTextValue=void 0,this.renderedText},enumerable:!1,configurable:!0}),e.prototype.calcText=function(){var e=this.pureText,t=e;return t&&this.owner&&this.owner.getProcessedText&&t.indexOf("{")>-1&&(t=this.owner.getProcessedText(t)),this.onGetTextCallback&&(t=this.onGetTextCallback(t,e)),t},Object.defineProperty(e.prototype,"pureText",{get:function(){var e=this.locale;e||(e=this.defaultLoc);var t=this.getValue(e);if(this.isValueEmpty(t)&&e===this.defaultLoc&&(t=this.getValue(p.defaultLocale)),this.isValueEmpty(t)){var n=this.getRootDialect(e);n&&(t=this.getValue(n))}return this.isValueEmpty(t)&&e!==this.defaultLoc&&(t=this.getValue(this.defaultLoc)),this.isValueEmpty(t)&&this.getLocalizationName()&&(t=this.getLocalizationStr(),this.onGetLocalizationTextCallback&&(t=this.onGetLocalizationTextCallback(t))),t||(t=this.defaultValue||""),t},enumerable:!1,configurable:!0}),e.prototype.getRootDialect=function(e){if(!e)return e;var t=e.indexOf("-");return t>-1?e.substring(0,t):""},e.prototype.getLocalizationName=function(){return this.sharedData?this.sharedData.localizationName:this.localizationName},e.prototype.getLocalizationStr=function(){var e=this.getLocalizationName();return e?d(e,this.locale):""},Object.defineProperty(e.prototype,"hasHtml",{get:function(){return this.hasHtmlValue()},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"html",{get:function(){return this.hasHtml?this.getHtmlValue():""},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"isEmpty",{get:function(){return 0==this.getValuesKeys().length},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"textOrHtml",{get:function(){return this.hasHtml?this.getHtmlValue():this.calculatedText},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"renderedHtml",{get:function(){return this.textOrHtml},enumerable:!1,configurable:!0}),e.prototype.getLocaleText=function(e){var t=this.getLocaleTextCore(e);return t||""},e.prototype.getLocaleTextCore=function(e){return e||(e=this.defaultLoc),this.getValue(e)},e.prototype.isLocaleTextEqualsWithDefault=function(e,t){var n=this.getLocaleTextCore(e);return n===t||this.isValueEmpty(n)&&this.isValueEmpty(t)},e.prototype.clear=function(){this.setJson(void 0)},e.prototype.clearLocale=function(e){this.setLocaleText(e,void 0)},e.prototype.setLocaleText=function(e,t){if((e=this.getValueLoc(e))&&void 0===t){var n=this.getValue(e);void 0!==n&&(this.deleteValue(e),this.fireStrChanged(e,n))}else if(this.storeDefaultText||!this.isLocaleTextEqualsWithDefault(e,t)){if(tn.localization.storeDuplicatedTranslations||this.isValueEmpty(t)||!e||e==this.defaultLoc||this.getValue(e)||t!=this.getLocaleText(this.defaultLoc)){var o=this.curLocale;e||(e=this.defaultLoc);var i=this.onStrChanged&&e===o?this.pureText:void 0;delete this.htmlValues[e],this.isValueEmpty(t)?this.deleteValue(e):"string"==typeof t&&(this.canRemoveLocValue(e,t)?this.setLocaleText(e,null):(this.setValue(e,t),e==this.defaultLoc&&this.deleteValuesEqualsToDefault(t))),this.fireStrChanged(e,i)}}else{if(!this.isValueEmpty(t)||e&&e!==this.defaultLoc)return;var r=p.defaultLocale,a=this.getValue(r);r&&!this.isValueEmpty(a)&&(this.setValue(r,t),this.fireStrChanged(r,a))}},e.prototype.isValueEmpty=function(e){return null==e||!this.localizationName&&""===e},Object.defineProperty(e.prototype,"curLocale",{get:function(){return this.locale?this.locale:this.defaultLoc},enumerable:!1,configurable:!0}),e.prototype.canRemoveLocValue=function(e,t){if(tn.localization.storeDuplicatedTranslations)return!1;if(e===this.defaultLoc)return!1;var n=this.getRootDialect(e);if(n){var o=this.getLocaleText(n);return o?o==t:this.canRemoveLocValue(n,t)}return t==this.getLocaleText(this.defaultLoc)},e.prototype.fireStrChanged=function(e,t){if(this.strChanged(),this.onStrChanged){var n=this.pureText;e===this.curLocale&&t===n||this.onStrChanged(t,n)}},e.prototype.hasNonDefaultText=function(){var e=this.getValuesKeys();return 0!=e.length&&(e.length>1||e[0]!=this.defaultLoc)},e.prototype.getLocales=function(){var e=this.getValuesKeys();return 0==e.length?[]:e},e.prototype.getJson=function(){if(this.sharedData)return this.sharedData.getJson();var e=this.getValuesKeys();if(0==e.length){if(this.serializeCallBackText){var t=this.calcText();if(t)return t}return null}if(1==e.length&&e[0]==tn.localization.defaultLocaleName&&!tn.serialization.localizableStringSerializeAsObject)return this.values[e[0]];var n={};for(var o in this.values)n[o]=this.values[o];return n},e.prototype.setJson=function(e,t){if(this.sharedData)this.sharedData.setJson(e,t);else if(this.values={},this.htmlValues={},null!=e)if(t)"string"==typeof e?this.values[tn.defaultLocaleName]=e:(this.values=e,delete this.values.pos);else{if("string"==typeof e)this.setLocaleText(null,e);else for(var n in e)this.setLocaleText(n,e[n]);this.strChanged()}},Object.defineProperty(e.prototype,"renderAs",{get:function(){return this.owner&&"function"==typeof this.owner.getRenderer&&this.owner.getRenderer(this.name)||e.defaultRenderer},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"renderAsData",{get:function(){return this.owner&&"function"==typeof this.owner.getRendererContext&&this.owner.getRendererContext(this)||this},enumerable:!1,configurable:!0}),e.prototype.equals=function(e){return this.sharedData?this.sharedData.equals(e):!(!e||!e.values)&&u.isTwoValueEquals(this.values,e.values,!1,!0,!1)},e.prototype.setFindText=function(e){if(this.searchText!=e){if(this.searchText=e,!this.searchableText){var t=this.textOrHtml;this.searchableText=t?t.toLowerCase():""}var n=this.searchableText,o=n&&e?n.indexOf(e):void 0;return o<0&&(o=void 0),null==o&&this.searchIndex==o||(this.searchIndex=o,this.onSearchChanged&&this.onSearchChanged()),null!=this.searchIndex}},e.prototype.onChanged=function(){},e.prototype.onCreating=function(){},e.prototype.hasHtmlValue=function(){if(!this.owner||!this.useMarkdown)return!1;var e=this.locale;if(e||(e=this.defaultLoc),void 0!==this.htmlValues[e])return!!this.htmlValues[e];var t=this.calculatedText;if(!t)return this.setHtmlValue(e,""),!1;if(this.getLocalizationName()&&t===this.getLocalizationStr())return this.setHtmlValue(e,""),!1;var n=this.owner.getMarkdownHtml(t,this.name);return this.setHtmlValue(e,n),!!n},e.prototype.setHtmlValue=function(e,t){this.htmlValues[e]=t},e.prototype.getHtmlValue=function(){var e=this.locale;return e||(e=this.defaultLoc),this.htmlValues[e]},e.prototype.deleteValuesEqualsToDefault=function(e){if(!tn.localization.storeDuplicatedTranslations)for(var t=this.getValuesKeys(),n=0;n<t.length;n++)t[n]!=this.defaultLoc&&this.getValue(t[n])==e&&this.deleteValue(t[n])},e.prototype.getValue=function(e){return this.sharedData?this.sharedData.getValue(e):this.values[this.getValueLoc(e)]},e.prototype.setValue=function(e,t){this.sharedData?this.sharedData.setValue(e,t):this.values[this.getValueLoc(e)]=t},e.prototype.deleteValue=function(e){this.sharedData?this.sharedData.deleteValue(e):delete this.values[this.getValueLoc(e)]},e.prototype.getValueLoc=function(e){return this.disableLocalization?tn.localization.defaultLocaleName:e},e.prototype.getValuesKeys=function(){return this.sharedData?this.sharedData.getValuesKeys():Object.keys(this.values)},Object.defineProperty(e.prototype,"defaultLoc",{get:function(){return tn.localization.defaultLocaleName},enumerable:!1,configurable:!0}),e.SerializeAsObject=!1,e.defaultRenderer="sv-string-viewer",e.editableRenderer="sv-string-editor",e}(),xt=function(){function e(e){this.owner=e,this.values={}}return e.prototype.getIsMultiple=function(){return!0},Object.defineProperty(e.prototype,"locale",{get:function(){return this.owner&&this.owner.getLocale?this.owner.getLocale():""},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"value",{get:function(){return this.getValue("")},set:function(e){this.setValue("",e)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"text",{get:function(){return Array.isArray(this.value)?this.value.join("\n"):""},set:function(e){this.value=e?e.split("\n"):[]},enumerable:!1,configurable:!0}),e.prototype.getLocaleText=function(e){var t=this.getValueCore(e,!e||e===this.locale);return t&&Array.isArray(t)&&0!=t.length?t.join("\n"):""},e.prototype.setLocaleText=function(e,t){var n=t?t.split("\n"):null;this.setValue(e,n)},e.prototype.getValue=function(e){return this.getValueCore(e)},e.prototype.getValueCore=function(e,t){if(void 0===t&&(t=!0),e=this.getLocale(e),this.values[e])return this.values[e];if(t){var n=tn.localization.defaultLocaleName;if(e!==n&&this.values[n])return this.values[n]}return[]},e.prototype.setValue=function(e,t){e=this.getLocale(e);var n=u.createCopy(this.values);t&&0!=t.length?this.values[e]=t:delete this.values[e],this.onValueChanged&&this.onValueChanged(n,this.values)},e.prototype.hasValue=function(e){return void 0===e&&(e=""),!this.isEmpty&&this.getValue(e).length>0},Object.defineProperty(e.prototype,"isEmpty",{get:function(){return 0==this.getValuesKeys().length},enumerable:!1,configurable:!0}),e.prototype.getLocale=function(e){return e||((e=this.locale)||tn.localization.defaultLocaleName)},e.prototype.getLocales=function(){var e=this.getValuesKeys();return 0==e.length?[]:e},e.prototype.getJson=function(){var e=this.getValuesKeys();return 0==e.length?null:1!=e.length||e[0]!=tn.localization.defaultLocaleName||tn.serialization.localizableStringSerializeAsObject?u.createCopy(this.values):this.values[e[0]]},e.prototype.setJson=function(e){if(this.values={},e)if(Array.isArray(e))this.setValue(null,e);else for(var t in e)this.setValue(t,e[t])},e.prototype.getValuesKeys=function(){return Object.keys(this.values)},e}();function Ct(e){return tn&&tn.confirmActionFunc?tn.confirmActionFunc(e):confirm(e)}function wt(e){var t=function(t){t?e.funcOnYes():e.funcOnNo&&e.funcOnNo()};tn&&tn.confirmActionAsync&&tn.confirmActionAsync(e.message,t,e)||t(Ct(e.message))}function Pt(){if(void 0===Pt.isIEOrEdge){var e=navigator.userAgent,t=e.indexOf("MSIE "),n=e.indexOf("Trident/"),o=e.indexOf("Edge/");Pt.isIEOrEdge=o>0||n>0||t>0}return Pt.isIEOrEdge}function kt(e,t){try{for(var n=atob(e.split(",")[1]),o=e.split(",")[0].split(":")[1].split(";")[0],i=new ArrayBuffer(n.length),r=new Uint8Array(i),a=0;a<n.length;a++)r[a]=n.charCodeAt(a);var s=new Blob([i],{type:o});navigator&&navigator.msSaveBlob&&navigator.msSaveOrOpenBlob(s,t)}catch(e){}}var Vt=function(e){return!!e&&!(!("host"in e)||!e.host)},_t=function(e){var t=tn.environment.root;return"string"==typeof e?t.getElementById(e):e};function Tt(e){var t=tn.environment.root;return e?e.scrollHeight>e.clientHeight&&("scroll"===getComputedStyle(e).overflowY||"auto"===getComputedStyle(e).overflowY)||e.scrollWidth>e.clientWidth&&("scroll"===getComputedStyle(e).overflowX||"auto"===getComputedStyle(e).overflowX)?e:Tt(e.parentElement):Vt(t)?t.host:t.documentElement}function St(e){var t=tn.environment;if(t){var n=t.root.getElementById(e);if(n){var o=Tt(n);o&&setTimeout((function(){return o.dispatchEvent(new CustomEvent("scroll"))}),10)}}}function Et(e){var t=a.getLocation();e&&t&&(t.href=function(e){return e&&e.toLocaleLowerCase().indexOf("javascript:")>-1?encodeURIComponent(e):e}(e))}function Rt(e){return e?["url(",e,")"].join(""):""}var It={changecamera:"flip-24x24",clear:"clear-24x24",cancel:"cancel-24x24",closecamera:"close-24x24",defaultfile:"file-72x72",choosefile:"folder-24x24",file:"toolbox-file-24x24",left:"chevronleft-16x16",modernbooleancheckchecked:"plus-32x32",modernbooleancheckunchecked:"minus-32x32",more:"more-24x24",navmenu_24x24:"navmenu-24x24",removefile:"error-24x24",takepicture:"camera-32x32",takepicture_24x24:"camera-24x24",v2check:"check-16x16",checked:"check-16x16",v2check_24x24:"check-24x24","back-to-panel_16x16":"restoredown-16x16",clear_16x16:"clear-16x16",close_16x16:"close-16x16",collapsedetail:"collapsedetails-16x16",expanddetail:"expanddetails-16x16","full-screen_16x16":"maximize-16x16",loading:"loading-48x48",minimize_16x16:"minimize-16x16",next_16x16:"chevronright-16x16",previous_16x16:"chevronleft-16x16","no-image":"noimage-48x48","ranking-dash":"rankingundefined-16x16","drag-n-drop":"drag-24x24","ranking-arrows":"reorder-24x24",restore_16x16:"fullsize-16x16",reset:"restore-24x24",search:"search-24x24",average:"smiley-rate5-24x24",excellent:"smiley-rate9-24x24",good:"smiley-rate7-24x24",normal:"smiley-rate6-24x24","not-good":"smiley-rate4-24x24",perfect:"smiley-rate10-24x24",poor:"smiley-rate3-24x24",terrible:"smiley-rate1-24x24","very-good":"smiley-rate8-24x24","very-poor":"smiley-rate2-24x24",add_16x16:"add-16x16",add_24x24:"add-24x24",alert_24x24:"warning-24x24",apply:"apply-24x24","arrow-down":"arrowdown-24x24","arrow-left":"arrowleft-24x24","arrow-left_16x16":"arrowleft-16x16",arrowleft:"arrowleft-16x16","arrow-right":"arrowright-24x24","arrow-right_16x16":"arrowright-16x16",arrowright:"arrowright-16x16","arrow-up":"arrowup-24x24",boolean:"toolbox-boolean-24x24","change-question-type_16x16":"speechbubble-16x16",checkbox:"toolbox-checkbox-24x24","collapse-detail_16x16":"minusbox-16x16","collapse-panel":"collapse-pg-24x24",collapse_16x16:"collapse-16x16","color-picker":"dropper-16x16",comment:"toolbox-longtext-24x24",config:"wrench-24x24",copy:"copy-24x24",default:"toolbox-customquestion-24x24",delete_16x16:"delete-16x16",delete_24x24:"delete-24x24",delete:"delete-24x24","description-hide":"hidehint-16x16",description:"hint-16x16","device-desktop":"desktop-24x24","device-phone":"phone-24x24","device-rotate":"rotate-24x24","device-tablet":"tablet-24x24",download:"download-24x24","drag-area-indicator":"drag-24x24","drag-area-indicator_24x16":"draghorizontal-24x16",v2dragelement_16x16:"draghorizontal-24x16","drop-down-arrow":"chevrondown-24x24","drop-down-arrow_16x16":"chevrondown-16x16",chevron_16x16:"chevrondown-16x16",dropdown:"toolbox-dropdown-24x24",duplicate_16x16:"copy-16x16",edit:"edit-24x24",edit_16x16:"edit-16x16","editing-finish":"finishedit-24x24",error:"error-16x16","expand-detail_16x16":"plusbox-16x16","expand-panel":"expand-pg-24x24",expand_16x16:"expand-16x16",expression:"toolbox-expression-24x24","fast-entry":"textedit-24x24",fix:"fix-24x24",html:"toolbox-html-24x24",image:"toolbox-image-24x24",imagepicker:"toolbox-imagepicker-24x24",import:"import-24x24","invisible-items":"invisible-24x24",language:"language-24x24",load:"import-24x24","logic-collapse":"collapse-24x24","logic-expand":"expand-24x24",logo:"image-48x48",matrix:"toolbox-matrix-24x24",matrixdropdown:"toolbox-multimatrix-24x24",matrixdynamic:"toolbox-dynamicmatrix-24x24",multipletext:"toolbox-multipletext-24x24",panel:"toolbox-panel-24x24",paneldynamic:"toolbox-dynamicpanel-24x24",preview:"preview-24x24",radiogroup:"toolbox-radiogroup-24x24",ranking:"toolbox-ranking-24x24",rating:"toolbox-rating-24x24",redo:"redo-24x24",remove_16x16:"remove-16x16",required:"required-16x16",save:"save-24x24","select-page":"selectpage-24x24",settings:"settings-24x24",settings_16x16:"settings-16x16",signaturepad:"toolbox-signature-24x24","switch-active_16x16":"switchon-16x16","switch-inactive_16x16":"switchoff-16x16",tagbox:"toolbox-tagbox-24x24",text:"toolbox-singleline-24x24",theme:"theme-24x24",toolbox:"toolbox-24x24",undo:"undo-24x24",visible:"visible-24x24",wizard:"wand-24x24",searchclear:"clear-16x16","chevron-16x16":"chevrondown-16x16",chevron:"chevrondown-24x24",progressbuttonv2:"arrowleft-16x16",right:"chevronright-16x16","add-lg":"add-24x24",add:"add-24x24"};function Ot(e){return function(e){var t=tn.customIcons[e];return t?At(t):(e=At(e),(t=tn.customIcons[e])||null)}(e)||At(e)}function At(e){var t=e.replace("icon-","");return"icon-"+(It[t]||t)}function Dt(e,t,n,o,i,r){if(i){"auto"!==e&&(i.style.width=(e||t||16)+"px",i.style.height=(e||n||16)+"px");var a=i.childNodes[0],l=Ot(o);a.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href","#"+l);var u=i.getElementsByTagName("title")[0];r?(u||(u=s.getDocument().createElementNS("http://www.w3.org/2000/svg","title"),i.appendChild(u)),u.textContent=r):u&&i.removeChild(u)}}function qt(e){return"function"!=typeof e?e:e()}function Lt(e){if("string"==typeof e){if(!isNaN(Number(e)))return Number(e);if(e.includes("px"))return parseFloat(e)}if("number"==typeof e)return e}function Mt(e){if(void 0===Lt(e))return e}function jt(e){var t=e.target;t&&t.classList&&t.classList.remove("sv-focused--by-key")}function Nt(e,t){if(!e.target||"true"!==e.target.contentEditable){var n=e.target;if(n){var o=e.which||e.keyCode;if(9!==o){if(t){if(!t.__keyDownReceived)return;t.__keyDownReceived=!1}13===o||32===o?n.click&&n.click():t&&!t.processEsc||27!==o||n.blur&&n.blur()}else n.classList&&!n.classList.contains("sv-focused--by-key")&&n.classList.add("sv-focused--by-key")}}}function Ft(e,t){if(void 0===t&&(t={processEsc:!0}),t&&(t.__keyDownReceived=!0),!e.target||"true"!==e.target.contentEditable){var n=e.which||e.keyCode,o=[13,32];t.processEsc&&o.push(27),-1!==o.indexOf(n)&&e.preventDefault()}}function Bt(e,t){if(e){t||(t=function(e){return s.getComputedStyle(e)});var n=t(e);e.style.height="auto",e.scrollHeight&&(e.style.height=e.scrollHeight+parseFloat(n.borderTopWidth)+parseFloat(n.borderBottomWidth)+"px")}}function zt(e){return e.originalEvent||e}function Ht(e){e.preventDefault(),e.stopPropagation()}function Qt(e){if(!e)return e;return e.replace(/\s*?([\w-]+)\s*?/g,".$1")}function Ut(e){return getComputedStyle?Number.parseFloat(getComputedStyle(e).width):e.offsetWidth}function Wt(e){return!!(e.offsetWidth||e.offsetHeight||e.getClientRects().length)}function $t(e,t){if(void 0===t&&(t=!0),a.isAvailable()&&s.isAvailable()&&e.childNodes.length>0){var n=a.getSelection();if(0==n.rangeCount)return;var o=n.getRangeAt(0);o.setStart(o.endContainer,o.endOffset),o.setEndAfter(e.lastChild),n.removeAllRanges(),n.addRange(o);var i=n.toString(),r=e.innerText;i=i.replace(/\r/g,""),t&&(i=i.replace(/\n/g,""),r=r.replace(/\n/g,""));var l=i.length;for(e.innerText=r,(o=s.getDocument().createRange()).setStart(e.firstChild,0),o.setEnd(e.firstChild,0),n.removeAllRanges(),n.addRange(o);n.toString().length<r.length-l;){var u=n.toString().length;if(n.modify("extend","forward","character"),n.toString().length==u)break}(o=n.getRangeAt(0)).setStart(o.endContainer,o.endOffset)}}function Gt(e,t){if(t&&e&&"object"==typeof t)for(var n in e){var o=e[n];!Array.isArray(o)&&o&&"object"==typeof o?(t[n]&&"object"==typeof t[n]||(t[n]={}),Gt(o,t[n])):t[n]=o}}function Kt(e,t){var n={};Gt(t.list,n),Gt(e.list,n),e.list=n}!function(){function e(){this._result=""}e.prototype.log=function(e){this._result+="->"+e},Object.defineProperty(e.prototype,"result",{get:function(){return this._result},enumerable:!1,configurable:!0})}();function Zt(e,t){a.isFileReaderAvailable()&&(e.value="",e.onchange=function(n){if(a.isFileReaderAvailable()&&e&&e.files&&!(e.files.length<1)){for(var o=[],i=0;i<e.files.length;i++)o.push(e.files[i]);t(o)}},e.click())}function Jt(e,t,n){var o;void 0===n&&(n="--animation-"),e.__sv_created_properties=null!==(o=e.__sv_created_properties)&&void 0!==o?o:[],Object.keys(t).forEach((function(o){var i=""+n+o.split(/\.?(?=[A-Z])/).join("-").toLowerCase();e.style.setProperty(i,t[o]),e.__sv_created_properties.push(i)}))}function Yt(e){Jt(e,function(e){if(s.isAvailable()){var t=s.getComputedStyle(e),n=t.paddingTop,o=t.paddingBottom,i=t.borderTopWidth,r=t.borderBottomWidth,a=t.marginTop,l=t.marginBottom,u=t.boxSizing,c=e.offsetHeight+"px";if("content-box"==u){var p=e.offsetHeight;[r,i,o,n].forEach((function(e){p-=parseFloat(e)})),c=p+"px"}return{paddingTop:n,paddingBottom:o,borderTopWidth:i,borderBottomWidth:r,marginTop:a,marginBottom:l,heightFrom:"0px",heightTo:c}}}(e))}function Xt(e){Array.isArray(e.__sv_created_properties)&&(e.__sv_created_properties.forEach((function(t){e.style.removeProperty(t)})),delete e.__sv_created_properties)}var en="undefined"!=typeof globalThis?globalThis.document:(void 0).document,tn={version:"",designMode:{showEmptyDescriptions:!0,showEmptyTitles:!0},get allowShowEmptyDescriptionInDesignMode(){return this.designMode.showEmptyDescriptions},set allowShowEmptyDescriptionInDesignMode(e){this.designMode.showEmptyDescriptions=e},get allowShowEmptyTitleInDesignMode(){return this.designMode.showEmptyTitles},set allowShowEmptyTitleInDesignMode(e){this.designMode.showEmptyTitles=e},localization:{useLocalTimeZone:!0,storeDuplicatedTranslations:!1,defaultLocaleName:"default"},get useLocalTimeZone(){return this.localization.useLocalTimeZone},set useLocalTimeZone(e){this.localization.useLocalTimeZone=e},get storeDuplicatedTranslations(){return this.localization.storeDuplicatedTranslations},set storeDuplicatedTranslations(e){this.localization.storeDuplicatedTranslations=e},get defaultLocaleName(){return this.localization.defaultLocaleName},set defaultLocaleName(e){this.localization.defaultLocaleName=e},web:{onBeforeRequestChoices:function(e,t){},encodeUrlParams:!0,cacheLoadedChoices:!0,disableQuestionWhileLoadingChoices:!1,surveyServiceUrl:"https://api.surveyjs.io/public/v1/Survey"},get webserviceEncodeParameters(){return this.web.encodeUrlParams},set webserviceEncodeParameters(e){this.web.encodeUrlParams=e},get useCachingForChoicesRestful(){return this.web.cacheLoadedChoices},set useCachingForChoicesRestful(e){this.web.cacheLoadedChoices=e},get useCachingForChoicesRestfull(){return this.web.cacheLoadedChoices},set useCachingForChoicesRestfull(e){this.web.cacheLoadedChoices=e},get disableOnGettingChoicesFromWeb(){return this.web.disableQuestionWhileLoadingChoices},set disableOnGettingChoicesFromWeb(e){this.web.disableQuestionWhileLoadingChoices=e},get surveyServiceUrl(){return this.web.surveyServiceUrl},set surveyServiceUrl(e){this.web.surveyServiceUrl=e},triggers:{changeNavigationButtonsOnComplete:!0,executeCompleteOnValueChanged:!1,executeSkipOnValueChanged:!0},get executeCompleteTriggerOnValueChanged(){return this.triggers.executeCompleteOnValueChanged},set executeCompleteTriggerOnValueChanged(e){this.triggers.executeCompleteOnValueChanged=e},get changeNavigationButtonsOnCompleteTrigger(){return this.triggers.changeNavigationButtonsOnComplete},set changeNavigationButtonsOnCompleteTrigger(e){this.triggers.changeNavigationButtonsOnComplete=e},get executeSkipTriggerOnValueChanged(){return this.triggers.executeSkipOnValueChanged},set executeSkipTriggerOnValueChanged(e){this.triggers.executeSkipOnValueChanged=e},serialization:{itemValueSerializeAsObject:!1,itemValueSerializeDisplayText:!1,localizableStringSerializeAsObject:!1,matrixDropdownColumnSerializeTitle:!1},get itemValueAlwaysSerializeAsObject(){return this.serialization.itemValueSerializeAsObject},set itemValueAlwaysSerializeAsObject(e){this.serialization.itemValueSerializeAsObject=e},get itemValueAlwaysSerializeText(){return this.serialization.itemValueSerializeDisplayText},set itemValueAlwaysSerializeText(e){this.serialization.itemValueSerializeDisplayText=e},get serializeLocalizableStringAsObject(){return this.serialization.localizableStringSerializeAsObject},set serializeLocalizableStringAsObject(e){this.serialization.localizableStringSerializeAsObject=e},lazyRender:{enabled:!1,firstBatchSize:3},get lazyRowsRendering(){return this.lazyRender.enabled},set lazyRowsRendering(e){this.lazyRender.enabled=e},get lazyRowsRenderingStartRow(){return this.lazyRender.firstBatchSize},set lazyRowsRenderingStartRow(e){this.lazyRender.firstBatchSize=e},matrix:{defaultCellType:"dropdown",defaultRowName:"default",totalsSuffix:"-total",maxRowCount:1e3,maxRowCountInCondition:1,renderRemoveAsIcon:!0,columnWidthsByType:{file:{minWidth:"240px"},comment:{minWidth:"200px"}},rateSize:"small"},get matrixDefaultRowName(){return this.matrix.defaultRowName},set matrixDefaultRowName(e){this.matrix.defaultRowName=e},get matrixDefaultCellType(){return this.matrix.defaultCellType},set matrixDefaultCellType(e){this.matrix.defaultCellType=e},get matrixTotalValuePostFix(){return this.matrix.totalsSuffix},set matrixTotalValuePostFix(e){this.matrix.totalsSuffix=e},get matrixMaximumRowCount(){return this.matrix.maxRowCount},set matrixMaximumRowCount(e){this.matrix.maxRowCount=e},get matrixMaxRowCountInCondition(){return this.matrix.maxRowCountInCondition},set matrixMaxRowCountInCondition(e){this.matrix.maxRowCountInCondition=e},get matrixRenderRemoveAsIcon(){return this.matrix.renderRemoveAsIcon},set matrixRenderRemoveAsIcon(e){this.matrix.renderRemoveAsIcon=e},panel:{maxPanelCount:100,maxPanelCountInCondition:1},get panelDynamicMaxPanelCountInCondition(){return this.panel.maxPanelCountInCondition},set panelDynamicMaxPanelCountInCondition(e){this.panel.maxPanelCountInCondition=e},get panelMaximumPanelCount(){return this.panel.maxPanelCount},set panelMaximumPanelCount(e){this.panel.maxPanelCount=e},readOnly:{enableValidation:!1,commentRenderMode:"textarea",textRenderMode:"input"},get readOnlyCommentRenderMode(){return this.readOnly.commentRenderMode},set readOnlyCommentRenderMode(e){this.readOnly.commentRenderMode=e},get readOnlyTextRenderMode(){return this.readOnly.textRenderMode},set readOnlyTextRenderMode(e){this.readOnly.textRenderMode=e},numbering:{includeQuestionsWithHiddenNumber:!1,includeQuestionsWithHiddenTitle:!1},get setQuestionVisibleIndexForHiddenTitle(){return this.numbering.includeQuestionsWithHiddenTitle},set setQuestionVisibleIndexForHiddenTitle(e){this.numbering.includeQuestionsWithHiddenTitle=e},get setQuestionVisibleIndexForHiddenNumber(){return this.numbering.includeQuestionsWithHiddenNumber},set setQuestionVisibleIndexForHiddenNumber(e){this.numbering.includeQuestionsWithHiddenNumber=e},enterKeyAction:"default",comparator:{trimStrings:!0,caseSensitive:!1,normalizeTextCallback:function(e,t){return e}},expressionDisableConversionChar:"#",get commentPrefix(){return tn.commentSuffix},set commentPrefix(e){tn.commentSuffix=e},commentSuffix:"-Comment",itemValueSeparator:"|",ratingMaximumRateValueCount:20,tagboxCloseOnSelect:!1,dropdownSearchDelay:500,confirmActionFunc:function(e){return confirm(e)},confirmActionAsync:function(e,t,n){return function(e,t,n){void 0===n&&(n={});var o=new bt(void 0),i=tn.showDialog({componentName:"sv-string-viewer",data:{locStr:o,locString:o,model:o},onApply:function(){return t(!0),!0},onCancel:function(){return t(!1),!1},title:e||n.message,displayMode:"popup",isFocusedContent:!1,cssClass:n.cssClass||"sv-popup--confirm"},n.rootElement),r=i.footerToolbar,a=r.getActionById("apply"),s=r.getActionById("cancel");return s.title=d("cancel",n.locale),s.innerCss="sv-popup__body-footer-item sv-popup__button sd-btn sd-btn--small",a.title=n.applyTitle||d("ok",n.locale),a.innerCss="sv-popup__body-footer-item sv-popup__button sv-popup__button--danger sd-btn sd-btn--small sd-btn--danger",function(e){e.width="min-content"}(i),!0}(e,t,n)},minWidth:"300px",maxWidth:"100%",maxConditionRunCountOnValueChanged:10,notifications:{lifetime:2e3},autoAdvanceDelay:300,showItemsInOrder:"default",noneItemValue:"none",refuseItemValue:"refused",dontKnowItemValue:"dontknow",specialChoicesOrder:{selectAllItem:[-1],noneItem:[1],refuseItem:[2],dontKnowItem:[3],otherItem:[4]},choicesSeparator:", ",supportedValidators:{question:["expression"],comment:["text","regex"],text:["numeric","text","regex","email"],checkbox:["answercount"],imagepicker:["answercount"]},minDate:"",maxDate:"",showModal:void 0,showDialog:void 0,supportCreatorV2:!1,showDefaultItemsInCreatorV2:!0,customIcons:{},rankingDragHandleArea:"entireItem",environment:en?{root:en,_rootElement:s.getBody(),get rootElement(){var e;return null!==(e=this._rootElement)&&void 0!==e?e:s.getBody()},set rootElement(e){this._rootElement=e},_popupMountContainer:s.getBody(),get popupMountContainer(){var e;return null!==(e=this._popupMountContainer)&&void 0!==e?e:s.getBody()},set popupMountContainer(e){this._popupMountContainer=e},svgMountContainer:en.head,stylesSheetsMountContainer:en.head}:void 0,showMaxLengthIndicator:!0,animationEnabled:!0,titleTags:{survey:"h3",page:"h4",panel:"h4",question:"h5"},questions:{inputTypes:["color","date","datetime-local","email","month","number","password","range","tel","text","time","url","week"],dataList:["","name","honorific-prefix","given-name","additional-name","family-name","honorific-suffix","nickname","organization-title","username","new-password","current-password","organization","street-address","address-line1","address-line2","address-line3","address-level4","address-level3","address-level2","address-level1","country","country-name","postal-code","cc-name","cc-given-name","cc-additional-name","cc-family-name","cc-number","cc-exp","cc-exp-month","cc-exp-year","cc-csc","cc-type","transaction-currency","transaction-amount","language","bday","bday-day","bday-month","bday-year","sex","url","photo","tel","tel-country-code","tel-national","tel-area-code","tel-local","tel-local-prefix","tel-local-suffix","tel-extension","email","impp"]},legacyProgressBarView:!1,maskSettings:{patternPlaceholderChar:"_",patternEscapeChar:"\\",patternDefinitions:{9:/[0-9]/,a:/[a-zA-Z]/,"#":/[a-zA-Z0-9]/}},storeUtcDates:!1,onDateCreated:function(e,t,n){return e},parseNumber:function(e,t){return t}},nn=function(){function e(e,t){void 0===e&&(e=null),void 0===t&&(t=null),this.text=e,this.errorOwner=t,this.visible=!0,this.onUpdateErrorTextCallback=void 0}return e.prototype.equals=function(e){return!(!e||!e.getErrorType)&&(this.getErrorType()===e.getErrorType()&&(this.text===e.text&&this.visible===e.visible))},Object.defineProperty(e.prototype,"locText",{get:function(){return this.locTextValue||(this.locTextValue=new bt(this.errorOwner,!0),this.locTextValue.storeDefaultText=!0,this.locTextValue.text=this.getText()),this.locTextValue},enumerable:!1,configurable:!0}),e.prototype.getText=function(){var e=this.text;return e||(e=this.getDefaultText()),this.errorOwner&&(e=this.errorOwner.getErrorCustomText(e,this)),e},e.prototype.getErrorType=function(){return"base"},e.prototype.getDefaultText=function(){return""},e.prototype.getLocale=function(){return this.errorOwner?this.errorOwner.getLocale():""},e.prototype.getLocalizationString=function(e){return d(e,this.getLocale())},e.prototype.updateText=function(){this.onUpdateErrorTextCallback&&this.onUpdateErrorTextCallback(this),this.locText.text=this.getText()},e}(),on=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(t,n)};return function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function o(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}}(),rn=function(e){function t(t,n){void 0===t&&(t=null),void 0===n&&(n=null);var o=e.call(this,t,n)||this;return o.text=t,o}return on(t,e),t.prototype.getErrorType=function(){return"required"},t.prototype.getDefaultText=function(){return this.getLocalizationString("requiredError")},t}(nn),an=function(e){function t(t,n){void 0===t&&(t=null),void 0===n&&(n=null);var o=e.call(this,t,n)||this;return o.text=t,o}return on(t,e),t.prototype.getErrorType=function(){return"requireoneanswer"},t.prototype.getDefaultText=function(){return this.getLocalizationString("requiredErrorInPanel")},t}(nn),sn=function(e){function t(t,n){void 0===t&&(t=null),void 0===n&&(n=null);var o=e.call(this,t,n)||this;return o.text=t,o}return on(t,e),t.prototype.getErrorType=function(){return"requirenumeric"},t.prototype.getDefaultText=function(){return this.getLocalizationString("numericError")},t}(nn),ln=function(e){function t(t,n){void 0===n&&(n=null);var o=e.call(this,null,n)||this;return o.maxSize=t,o.locText.text=o.getText(),o}return on(t,e),t.prototype.getErrorType=function(){return"exceedsize"},t.prototype.getDefaultText=function(){return this.getLocalizationString("exceedMaxSize").format(this.getTextSize())},t.prototype.getTextSize=function(){if(0===this.maxSize)return"0 Byte";var e=Math.floor(Math.log(this.maxSize)/Math.log(1024));return(this.maxSize/Math.pow(1024,e)).toFixed([0,0,2,3,3][e])+" "+["Bytes","KB","MB","GB","TB"][e]},t}(nn),un=function(e){function t(t,n,o){void 0===o&&(o=null);var i=e.call(this,null,o)||this;return i.status=t,i.response=n,i}return on(t,e),t.prototype.getErrorType=function(){return"webrequest"},t.prototype.getDefaultText=function(){var e=this.getLocalizationString("urlRequestError");return e?e.format(this.status,this.response):""},t}(nn),cn=function(e){function t(t,n){void 0===n&&(n=null);var o=e.call(this,t,n)||this;return o.text=t,o}return on(t,e),t.prototype.getErrorType=function(){return"webrequestempty"},t.prototype.getDefaultText=function(){return this.getLocalizationString("urlGetChoicesError")},t}(nn),pn=function(e){function t(t,n){void 0===n&&(n=null);var o=e.call(this,t,n)||this;return o.text=t,o}return on(t,e),t.prototype.getErrorType=function(){return"otherempty"},t.prototype.getDefaultText=function(){return this.getLocalizationString("otherRequiredError")},t}(nn),dn=function(e){function t(t,n){void 0===n&&(n=null);var o=e.call(this,t,n)||this;return o.text=t,o}return on(t,e),t.prototype.getErrorType=function(){return"uploadingfile"},t.prototype.getDefaultText=function(){return this.getLocalizationString("uploadingFile")},t}(nn),hn=function(e){function t(t,n){void 0===n&&(n=null);var o=e.call(this,t,n)||this;return o.text=t,o}return on(t,e),t.prototype.getErrorType=function(){return"requiredinallrowserror"},t.prototype.getDefaultText=function(){return this.getLocalizationString("requiredInAllRowsError")},t}(nn),mn=function(e){function t(t,n){void 0===n&&(n=null);var o=e.call(this,t,n)||this;return o.text=t,o}return on(t,e),t.prototype.getErrorType=function(){return"eachrowuniqueeerror"},t.prototype.getDefaultText=function(){return this.getLocalizationString("eachRowUniqueError")},t}(nn),gn=function(e){function t(t,n){void 0===n&&(n=null);var o=e.call(this,null,n)||this;return o.minRowCount=t,o}return on(t,e),t.prototype.getErrorType=function(){return"minrowcounterror"},t.prototype.getDefaultText=function(){return this.getLocalizationString("minRowCountError").format(this.minRowCount)},t}(nn),fn=function(e){function t(t,n){void 0===n&&(n=null);var o=e.call(this,t,n)||this;return o.text=t,o}return on(t,e),t.prototype.getErrorType=function(){return"keyduplicationerror"},t.prototype.getDefaultText=function(){return this.getLocalizationString("keyDuplicationError")},t}(nn),yn=function(e){function t(t,n){void 0===n&&(n=null);var o=e.call(this,t,n)||this;return o.text=t,o}return on(t,e),t.prototype.getErrorType=function(){return"custom"},t}(nn),vn=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(t,n)};return function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function o(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}}(),bn=function(e,t){void 0===t&&(t=null),this.value=e,this.error=t},xn=function(e){function t(){var t=e.call(this)||this;return t.createLocalizableString("text",t,!0),t}return vn(t,e),Object.defineProperty(t.prototype,"isValidator",{get:function(){return!0},enumerable:!1,configurable:!0}),t.prototype.getSurvey=function(e){return void 0===e&&(e=!1),this.errorOwner&&this.errorOwner.getSurvey?this.errorOwner.getSurvey():null},Object.defineProperty(t.prototype,"text",{get:function(){return this.getLocalizableStringText("text")},set:function(e){this.setLocalizableStringText("text",e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isValidateAllValues",{get:function(){return!1},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"locText",{get:function(){return this.getLocalizableString("text")},enumerable:!1,configurable:!0}),t.prototype.getErrorText=function(e){return this.text?this.text:this.getDefaultErrorText(e)},t.prototype.getDefaultErrorText=function(e){return""},t.prototype.validate=function(e,t,n,o){return void 0===t&&(t=null),void 0===n&&(n=null),void 0===o&&(o=null),null},Object.defineProperty(t.prototype,"isRunning",{get:function(){return!1},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isAsync",{get:function(){return!1},enumerable:!1,configurable:!0}),t.prototype.getLocale=function(){return this.errorOwner?this.errorOwner.getLocale():""},t.prototype.getMarkdownHtml=function(e,t){return this.errorOwner?this.errorOwner.getMarkdownHtml(e,t):void 0},t.prototype.getRenderer=function(e){return this.errorOwner?this.errorOwner.getRenderer(e):null},t.prototype.getRendererContext=function(e){return this.errorOwner?this.errorOwner.getRendererContext(e):e},t.prototype.getProcessedText=function(e){return this.errorOwner?this.errorOwner.getProcessedText(e):e},t.prototype.createCustomError=function(e){var t=this,n=new yn(this.getErrorText(e),this.errorOwner);return n.onUpdateErrorTextCallback=function(n){return n.text=t.getErrorText(e)},n},t.prototype.toString=function(){var e=this.getType().replace("validator","");return this.text&&(e+=", "+this.text),e},t}(_e),Cn=function(){function e(){}return e.prototype.run=function(e){var t=this,n=[],o=null,i=null;this.prepareAsyncValidators();for(var r=[],a=e.getValidators(),s=0;s<a.length;s++){var l=a[s];!o&&l.isValidateAllValues&&(o=e.getDataFilteredValues(),i=e.getDataFilteredProperties()),l.isAsync&&(this.asyncValidators.push(l),l.onAsyncCompleted=function(e){if(e&&e.error&&r.push(e.error),t.onAsyncCompleted){for(var n=0;n<t.asyncValidators.length;n++)if(t.asyncValidators[n].isRunning)return;t.onAsyncCompleted(r)}})}a=e.getValidators();for(s=0;s<a.length;s++){var u=(l=a[s]).validate(e.validatedValue,e.getValidatorTitle(),o,i);u&&u.error&&n.push(u.error)}return 0==this.asyncValidators.length&&this.onAsyncCompleted&&this.onAsyncCompleted([]),n},e.prototype.prepareAsyncValidators=function(){if(this.asyncValidators)for(var e=0;e<this.asyncValidators.length;e++)this.asyncValidators[e].onAsyncCompleted=null;this.asyncValidators=[]},e}(),wn=function(e){function t(t,n){void 0===t&&(t=null),void 0===n&&(n=null);var o=e.call(this)||this;return o.minValue=t,o.maxValue=n,o}return vn(t,e),t.prototype.getType=function(){return"numericvalidator"},t.prototype.validate=function(e,t,n,o){if(void 0===t&&(t=null),void 0===n&&(n=null),void 0===o&&(o=null),this.isValueEmpty(e))return null;if(!u.isNumber(e))return new bn(null,new sn(this.text,this.errorOwner));var i=new bn(u.getNumber(e));return null!==this.minValue&&this.minValue>i.value||null!==this.maxValue&&this.maxValue<i.value?(i.error=this.createCustomError(t),i):"number"==typeof e?null:i},t.prototype.getDefaultErrorText=function(e){var t=e||this.getLocalizationString("value");return null!==this.minValue&&null!==this.maxValue?this.getLocalizationFormatString("numericMinMax",t,this.minValue,this.maxValue):null!==this.minValue?this.getLocalizationFormatString("numericMin",t,this.minValue):this.getLocalizationFormatString("numericMax",t,this.maxValue)},Object.defineProperty(t.prototype,"minValue",{get:function(){return this.getPropertyValue("minValue")},set:function(e){this.setPropertyValue("minValue",e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"maxValue",{get:function(){return this.getPropertyValue("maxValue")},set:function(e){this.setPropertyValue("maxValue",e)},enumerable:!1,configurable:!0}),t}(xn),Pn=function(e){function t(){return e.call(this)||this}return vn(t,e),t.prototype.getType=function(){return"textvalidator"},t.prototype.validate=function(e,t,n,o){if(void 0===t&&(t=null),void 0===n&&(n=null),void 0===o&&(o=null),this.isValueEmpty(e))return null;if(!this.allowDigits){if(/\d+$/.test(e))return new bn(null,this.createCustomError("textNoDigitsAllow"))}return this.minLength>0&&e.length<this.minLength||this.maxLength>0&&e.length>this.maxLength?new bn(null,this.createCustomError(t)):null},t.prototype.getDefaultErrorText=function(e){return"textNoDigitsAllow"===e?this.getLocalizationString(e):this.minLength>0&&this.maxLength>0?this.getLocalizationFormatString("textMinMaxLength",this.minLength,this.maxLength):this.minLength>0?this.getLocalizationFormatString("textMinLength",this.minLength):this.getLocalizationFormatString("textMaxLength",this.maxLength)},Object.defineProperty(t.prototype,"minLength",{get:function(){return this.getPropertyValue("minLength")},set:function(e){this.setPropertyValue("minLength",e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"maxLength",{get:function(){return this.getPropertyValue("maxLength")},set:function(e){this.setPropertyValue("maxLength",e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"allowDigits",{get:function(){return this.getPropertyValue("allowDigits")},set:function(e){this.setPropertyValue("allowDigits",e)},enumerable:!1,configurable:!0}),t}(xn),kn=function(e){function t(t,n){void 0===t&&(t=null),void 0===n&&(n=null);var o=e.call(this)||this;return o.minCount=t,o.maxCount=n,o}return vn(t,e),t.prototype.getType=function(){return"answercountvalidator"},t.prototype.validate=function(e,t,n,o){if(void 0===t&&(t=null),void 0===n&&(n=null),void 0===o&&(o=null),null==e||e.constructor!=Array)return null;var i=e.length;return 0==i?null:this.minCount&&i<this.minCount?new bn(null,this.createCustomError(this.getLocalizationFormatString("minSelectError",this.minCount))):this.maxCount&&i>this.maxCount?new bn(null,this.createCustomError(this.getLocalizationFormatString("maxSelectError",this.maxCount))):null},t.prototype.getDefaultErrorText=function(e){return e},Object.defineProperty(t.prototype,"minCount",{get:function(){return this.getPropertyValue("minCount")},set:function(e){this.setPropertyValue("minCount",e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"maxCount",{get:function(){return this.getPropertyValue("maxCount")},set:function(e){this.setPropertyValue("maxCount",e)},enumerable:!1,configurable:!0}),t}(xn),Vn=function(e){function t(t){void 0===t&&(t=null);var n=e.call(this)||this;return n.regex=t,n}return vn(t,e),t.prototype.getType=function(){return"regexvalidator"},t.prototype.validate=function(e,t,n,o){if(void 0===t&&(t=null),void 0===n&&(n=null),void 0===o&&(o=null),!this.regex||this.isValueEmpty(e))return null;var i=this.createRegExp();if(Array.isArray(e))for(var r=0;r<e.length;r++){var a=this.hasError(i,e[r],t);if(a)return a}return this.hasError(i,e,t)},t.prototype.hasError=function(e,t,n){return e.test(t)?null:new bn(t,this.createCustomError(n))},Object.defineProperty(t.prototype,"regex",{get:function(){return this.getPropertyValue("regex")},set:function(e){this.setPropertyValue("regex",e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"caseInsensitive",{get:function(){return this.getPropertyValue("caseInsensitive")},set:function(e){this.setPropertyValue("caseInsensitive",e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"insensitive",{get:function(){return this.caseInsensitive},set:function(e){this.caseInsensitive=e},enumerable:!1,configurable:!0}),t.prototype.createRegExp=function(){return new RegExp(this.regex,this.caseInsensitive?"i":"")},t}(xn),_n=function(e){function t(){var t=e.call(this)||this;return t.re=/^(([^<>()\[\]\.,;:\s@\"]+(\.[^<>()\[\]\.,;:\s@\"]+)*)|(\".+\"))@(([^<>()=[\]\.,;:\s@\"]+\.)+[^<>()=[\]\.,;:\s@\"]{2,})$/i,t}return vn(t,e),t.prototype.getType=function(){return"emailvalidator"},t.prototype.validate=function(e,t,n,o){return void 0===t&&(t=null),void 0===n&&(n=null),void 0===o&&(o=null),e?this.re.test(e)?null:new bn(e,this.createCustomError(t)):null},t.prototype.getDefaultErrorText=function(e){return this.getLocalizationString("invalidEmail")},t}(xn),Tn=function(e){function t(t){void 0===t&&(t=null);var n=e.call(this)||this;return n.conditionRunner=null,n.isRunningValue=!1,n.expression=t,n}return vn(t,e),t.prototype.getType=function(){return"expressionvalidator"},Object.defineProperty(t.prototype,"isValidateAllValues",{get:function(){return!0},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isAsync",{get:function(){return!!this.ensureConditionRunner(!1)&&this.conditionRunner.isAsync},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isRunning",{get:function(){return this.isRunningValue},enumerable:!1,configurable:!0}),t.prototype.validate=function(e,t,n,o){var i=this;if(void 0===t&&(t=null),void 0===n&&(n=null),void 0===o&&(o=null),!this.expression)return null;this.conditionRunner&&(this.conditionRunner.onRunComplete=null),this.ensureConditionRunner(!0),this.conditionRunner.onRunComplete=function(n){i.isRunningValue=!1,i.onAsyncCompleted&&i.onAsyncCompleted(i.generateError(n,e,t))},this.isRunningValue=!0;var r=this.conditionRunner.run(n,o);return this.conditionRunner.isAsync?null:(this.isRunningValue=!1,this.generateError(r,e,t))},t.prototype.generateError=function(e,t,n){return e?null:new bn(t,this.createCustomError(n))},t.prototype.getDefaultErrorText=function(e){return this.getLocalizationFormatString("invalidExpression",this.expression)},t.prototype.ensureConditionRunner=function(e){return!!this.expression&&(e||!this.conditionRunner?this.conditionRunner=new be(this.expression):this.conditionRunner.expression=this.expression,!0)},Object.defineProperty(t.prototype,"expression",{get:function(){return this.getPropertyValue("expression")},set:function(e){this.setPropertyValue("expression",e)},enumerable:!1,configurable:!0}),t}(xn);L.addClass("surveyvalidator",[{name:"text",serializationProperty:"locText"}]),L.addClass("numericvalidator",["minValue:number","maxValue:number"],(function(){return new wn}),"surveyvalidator"),L.addClass("textvalidator",[{name:"minLength:number",default:0},{name:"maxLength:number",default:0},{name:"allowDigits:boolean",default:!0}],(function(){return new Pn}),"surveyvalidator"),L.addClass("answercountvalidator",["minCount:number","maxCount:number"],(function(){return new kn}),"surveyvalidator"),L.addClass("regexvalidator",["regex",{name:"caseInsensitive:boolean",alternativeName:"insensitive"}],(function(){return new Vn}),"surveyvalidator"),L.addClass("emailvalidator",[],(function(){return new _n}),"surveyvalidator"),L.addClass("expressionvalidator",["expression:condition"],(function(){return new Tn}),"surveyvalidator");var Sn=function(){function e(e,t){this.name=e,this.widgetJson=t,this.htmlTemplate=t.htmlTemplate?t.htmlTemplate:""}return e.prototype.afterRender=function(e,t){var n=this;this.widgetJson.afterRender&&(e.localeChangedCallback=function(){n.widgetJson.willUnmount&&n.widgetJson.willUnmount(e,t),n.widgetJson.afterRender(e,t)},this.widgetJson.afterRender(e,t))},e.prototype.willUnmount=function(e,t){this.widgetJson.willUnmount&&this.widgetJson.willUnmount(e,t)},e.prototype.getDisplayValue=function(e,t){return void 0===t&&(t=void 0),this.widgetJson.getDisplayValue?this.widgetJson.getDisplayValue(e,t):null},e.prototype.validate=function(e){if(this.widgetJson.validate)return this.widgetJson.validate(e)},e.prototype.isFit=function(e){return!(!this.isLibraryLoaded()||!this.widgetJson.isFit)&&this.widgetJson.isFit(e)},Object.defineProperty(e.prototype,"canShowInToolbox",{get:function(){return!1!==this.widgetJson.showInToolbox&&("customtype"==En.Instance.getActivatedBy(this.name)&&(!this.widgetJson.widgetIsLoaded||this.widgetJson.widgetIsLoaded()))},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"showInToolbox",{get:function(){return!1!==this.widgetJson.showInToolbox},set:function(e){this.widgetJson.showInToolbox=e},enumerable:!1,configurable:!0}),e.prototype.init=function(){this.widgetJson.init&&this.widgetJson.init()},e.prototype.activatedByChanged=function(e){this.isLibraryLoaded()&&this.widgetJson.activatedByChanged&&this.widgetJson.activatedByChanged(e)},e.prototype.isLibraryLoaded=function(){return!this.widgetJson.widgetIsLoaded||1==this.widgetJson.widgetIsLoaded()},Object.defineProperty(e.prototype,"isDefaultRender",{get:function(){return this.widgetJson.isDefaultRender},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"pdfQuestionType",{get:function(){return this.widgetJson.pdfQuestionType},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"pdfRender",{get:function(){return this.widgetJson.pdfRender},enumerable:!1,configurable:!0}),e}(),En=function(){function e(){this.widgetsValues=[],this.widgetsActivatedBy={},this.onCustomWidgetAdded=new Se}return Object.defineProperty(e.prototype,"widgets",{get:function(){return this.widgetsValues},enumerable:!1,configurable:!0}),e.prototype.add=function(e,t){void 0===t&&(t="property"),this.addCustomWidget(e,t)},e.prototype.addCustomWidget=function(e,t){void 0===t&&(t="property");var n=e.name;n||(n="widget_"+this.widgets.length+1);var o=new Sn(n,e);return this.widgetsValues.push(o),o.init(),this.widgetsActivatedBy[n]=t,o.activatedByChanged(t),this.onCustomWidgetAdded.fire(o,null),o},e.prototype.getActivatedBy=function(e){var t=this.widgetsActivatedBy[e];return t||"property"},e.prototype.setActivatedBy=function(e,t){if(e&&t){var n=this.getCustomWidgetByName(e);n&&(this.widgetsActivatedBy[e]=t,n.activatedByChanged(t))}},e.prototype.clear=function(){this.widgetsValues=[]},e.prototype.getCustomWidgetByName=function(e){for(var t=0;t<this.widgets.length;t++)if(this.widgets[t].name==e)return this.widgets[t];return null},e.prototype.getCustomWidget=function(e){for(var t=0;t<this.widgetsValues.length;t++)if(this.widgetsValues[t].isFit(e))return this.widgetsValues[t];return null},e.Instance=new e,e}(),Rn=function(){function e(){this.renderersHash={},this.defaultHash={}}return e.prototype.unregisterRenderer=function(e,t){delete this.renderersHash[e][t],this.defaultHash[e]===t&&delete this.defaultHash[e]},e.prototype.registerRenderer=function(e,t,n,o){void 0===o&&(o=!1),this.renderersHash[e]||(this.renderersHash[e]={}),this.renderersHash[e][t]=n,o&&(this.defaultHash[e]=t)},e.prototype.getRenderer=function(e,t){var n=this.renderersHash[e];if(n){if(t&&n[t])return n[t];var o=this.defaultHash[e];if(o&&n[o])return n[o]}return"default"},e.prototype.getRendererByQuestion=function(e){return this.getRenderer(e.getType(),e.renderAs)},e.prototype.clear=function(){this.renderersHash={}},e.Instance=new e,e}(),In=function(){function e(e){var t=this;this.options=e,this.onPropertyChangedCallback=function(){t.element&&(t.element.value=t.getTextValue(),t.updateElement())},this.question.registerFunctionOnPropertiesValueChanged(this.options.propertyNames,this.onPropertyChangedCallback,"__textarea")}return e.prototype.updateElement=function(){var e=this;this.element&&this.autoGrow&&setTimeout((function(){return Bt(e.element)}),1)},e.prototype.setElement=function(e){e&&(this.element=e,this.updateElement())},e.prototype.resetElement=function(){this.element=void 0},e.prototype.getTextValue=function(){return this.options.getTextValue&&this.options.getTextValue()||""},e.prototype.onTextAreaChange=function(e){this.options.onTextAreaChange&&this.options.onTextAreaChange(e)},e.prototype.onTextAreaInput=function(e){this.options.onTextAreaInput&&this.options.onTextAreaInput(e),this.element&&this.autoGrow&&Bt(this.element)},e.prototype.onTextAreaKeyDown=function(e){this.options.onTextAreaKeyDown&&this.options.onTextAreaKeyDown(e)},e.prototype.onTextAreaBlur=function(e){this.onTextAreaChange(e),this.options.onTextAreaBlur&&this.options.onTextAreaBlur(e)},e.prototype.onTextAreaFocus=function(e){this.options.onTextAreaFocus&&this.options.onTextAreaFocus(e)},Object.defineProperty(e.prototype,"question",{get:function(){return this.options.question},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"id",{get:function(){return this.options.id()},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"placeholder",{get:function(){return this.options.placeholder()},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"className",{get:function(){return this.options.className()},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"maxLength",{get:function(){if(this.options.maxLength)return this.options.maxLength()},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"autoGrow",{get:function(){if(this.options.autoGrow)return this.options.autoGrow()},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"rows",{get:function(){if(this.options.rows)return this.options.rows()},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"cols",{get:function(){if(this.options.cols)return this.options.cols()},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"isDisabledAttr",{get:function(){return this.options.isDisabledAttr()},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"isReadOnlyAttr",{get:function(){if(this.options.isReadOnlyAttr)return this.options.isReadOnlyAttr()},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"ariaRequired",{get:function(){if(this.options.ariaRequired)return this.options.ariaRequired()},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"ariaLabel",{get:function(){if(this.options.ariaLabel)return this.options.ariaLabel()},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"ariaInvalid",{get:function(){if(this.options.ariaInvalid)return this.options.ariaInvalid()},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"ariaLabelledBy",{get:function(){if(this.options.ariaLabelledBy)return this.options.ariaLabelledBy()},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"ariaDescribedBy",{get:function(){if(this.options.ariaDescribedBy)return this.options.ariaDescribedBy()},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"ariaErrormessage",{get:function(){if(this.options.ariaErrormessage)return this.options.ariaErrormessage()},enumerable:!1,configurable:!0}),e.prototype.dispose=function(){this.question&&this.question.unRegisterFunctionOnPropertiesValueChanged(this.options.propertyNames,"__textarea"),this.resetElement()},e}(),On=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(t,n)};return function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function o(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}}(),An=function(e,t,n,o){var i,r=arguments.length,a=r<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,n):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,o);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(a=(r<3?i(a):r>3?i(t,n,a):i(t,n))||a);return r>3&&a&&Object.defineProperty(t,n,a),a},Dn=function(e,t,n){this.name=e,this.canRun=t,this.doComplete=n,this.getSecondRunner=function(){}},qn=function(e){function t(n){var o=e.call(this,n)||this;return o.customWidgetData={isNeedRender:!0},o.hasCssErrorCallback=function(){return!1},o.isReadyValue=!0,o.dependedQuestions=[],o.onReadyChanged=o.addEvent(),o.triggersInfo=[],o.isRunningValidatorsValue=!1,o.isValueChangedInSurvey=!1,o.allowNotifyValueChanged=!0,o.id=t.getQuestionId(),o.onCreating(),o.createNewArray("validators",(function(e){e.errorOwner=o})),o.addExpressionProperty("visibleIf",(function(e,t){o.visible=!0===t})),o.addExpressionProperty("enableIf",(function(e,t){o.readOnly=!1===t})),o.addExpressionProperty("requiredIf",(function(e,t){o.isRequired=!0===t})),o.createLocalizableString("commentText",o,!0,"otherItemText"),o.createLocalizableString("requiredErrorText",o),o.addTriggerInfo("resetValueIf",(function(){return!o.isEmpty()}),(function(){o.startSetValueOnExpression(),o.updateValueWithDefaultsOrClear(),o.finishSetValueOnExpression()})),o.addTriggerInfo("setValueIf",(function(){return!0}),(function(){return o.runSetValueExpression()})).getSecondRunner=function(){return o.getSetValueExpressionRunner()},o.registerPropertyChangedHandlers(["width"],(function(){o.updateQuestionCss(),o.parent&&o.parent.elementWidthChanged(o)})),o.registerPropertyChangedHandlers(["isRequired"],(function(){!o.isRequired&&o.errors.length>0&&o.validate(),o.locTitle.strChanged(),o.clearCssClasses()})),o.registerPropertyChangedHandlers(["indent","rightIndent"],(function(){o.resetIndents()})),o.registerPropertyChangedHandlers(["showCommentArea","showOtherItem"],(function(){o.initCommentFromSurvey()})),o.registerFunctionOnPropertiesValueChanged(["no","readOnly","hasVisibleErrors","containsErrors"],(function(){o.updateQuestionCss()})),o.registerPropertyChangedHandlers(["_isMobile"],(function(){o.onMobileChanged()})),o.registerPropertyChangedHandlers(["colSpan"],(function(){var e;null===(e=o.parent)||void 0===e||e.updateColumns()})),o}return On(t,e),t.getQuestionId=function(){return"sq_"+t.questionCounter++},t.prototype.isReadOnlyRenderDiv=function(){return this.isReadOnly&&"div"===tn.readOnly.commentRenderMode},t.prototype.allowMobileInDesignMode=function(){return!1},t.prototype.updateIsMobileFromSurvey=function(){this.setIsMobile(this.survey._isMobile)},t.prototype.setIsMobile=function(e){var t=e&&(this.allowMobileInDesignMode()||!this.isDesignMode);this.isMobile=t},t.prototype.getIsMobile=function(){return this._isMobile},Object.defineProperty(t.prototype,"isMobile",{get:function(){return this.getIsMobile()},set:function(e){this._isMobile=e},enumerable:!1,configurable:!0}),t.prototype.themeChanged=function(e){},t.prototype.getDefaultTitle=function(){return this.name},t.prototype.createLocTitleProperty=function(){var t=this,n=e.prototype.createLocTitleProperty.call(this);return n.storeDefaultText=!0,n.onGetTextCallback=function(e,n){return e||n||(e=t.getDefaultTitle()),t.survey?t.survey.getUpdatedQuestionTitle(t,e):e},this.locProcessedTitle=new bt(this,!0),this.locProcessedTitle.sharedData=n,n},Object.defineProperty(t.prototype,"commentTextAreaModel",{get:function(){return this.commentTextAreaModelValue||(this.commentTextAreaModelValue=new In(this.getCommentTextAreaOptions())),this.commentTextAreaModelValue},enumerable:!1,configurable:!0}),t.prototype.getCommentTextAreaOptions=function(){var e=this;return{question:this,id:function(){return e.commentId},propertyNames:["comment"],className:function(){return e.cssClasses.comment},placeholder:function(){return e.renderedCommentPlaceholder},isDisabledAttr:function(){return e.isInputReadOnly||!1},rows:function(){return e.commentAreaRows},autoGrow:function(){return e.autoGrowComment},maxLength:function(){return e.getOthersMaxLength()},ariaRequired:function(){return e.a11y_input_ariaRequired},ariaLabel:function(){return e.a11y_input_ariaLabel},getTextValue:function(){return e.comment},onTextAreaChange:function(t){e.onCommentChange(t)},onTextAreaInput:function(t){e.onCommentInput(t)}}},t.prototype.getSurvey=function(t){return void 0===t&&(t=!1),t?this.parent?this.parent.getSurvey(t):null:this.onGetSurvey?this.onGetSurvey():e.prototype.getSurvey.call(this)},t.prototype.getValueName=function(){return this.valueName?this.valueName.toString():this.name},Object.defineProperty(t.prototype,"valueName",{get:function(){return this.getPropertyValue("valueName","")},set:function(e){var t=this.getValueName();this.setPropertyValue("valueName",e),this.onValueNameChanged(t)},enumerable:!1,configurable:!0}),t.prototype.onValueNameChanged=function(e){this.survey&&(this.survey.questionRenamed(this,this.name,e||this.name),this.initDataFromSurvey())},t.prototype.onNameChanged=function(e){this.locTitle.strChanged(),this.survey&&this.survey.questionRenamed(this,e,this.valueName?this.valueName:e)},Object.defineProperty(t.prototype,"isReady",{get:function(){return this.isReadyValue},enumerable:!1,configurable:!0}),t.prototype.onAsyncRunningChanged=function(){this.updateIsReady()},t.prototype.updateIsReady=function(){var e=this.getIsQuestionReady();if(e)for(var t=this.getIsReadyDependsOn(),n=0;n<t.length;n++)if(!t[n].getIsQuestionReady()){e=!1;break}this.setIsReady(e)},t.prototype.getIsQuestionReady=function(){return!this.isAsyncExpressionRunning&&this.getAreNestedQuestionsReady()},t.prototype.getAreNestedQuestionsReady=function(){var e=this.getIsReadyNestedQuestions();if(!Array.isArray(e))return!0;for(var t=0;t<e.length;t++)if(!e[t].isReady)return!1;return!0},t.prototype.getIsReadyNestedQuestions=function(){return this.getNestedQuestions()},t.prototype.setIsReady=function(e){var t=this.isReadyValue;
vendor: 4,089 bytes, line 11
11this.isReadyValue=e,t!=e&&(this.getIsReadyDependends().forEach((function(e){return e.updateIsReady()})),this.onReadyChanged.fire(this,{question:this,isReady:e,oldIsReady:t}))},t.prototype.getIsReadyDependsOn=function(){return this.getIsReadyDependendCore(!0)},t.prototype.getIsReadyDependends=function(){return this.getIsReadyDependendCore(!1)},t.prototype.getDependedQuestionsByValueName=function(e){return this.survey.questionsByValueName(this.getValueName())},t.prototype.getIsReadyDependendCore=function(e){var t=this;if(!this.survey)return[];var n=this.getDependedQuestionsByValueName(e),o=new Array;return n.forEach((function(e){e!==t&&o.push(e)})),e||(this.parentQuestion&&o.push(this.parentQuestion),this.dependedQuestions.length>0&&this.dependedQuestions.forEach((function(e){return o.push(e)}))),o},t.prototype.choicesLoaded=function(){},Object.defineProperty(t.prototype,"page",{get:function(){return this.parentQuestion?this.parentQuestion.page:this.getPage(this.parent)},set:function(e){this.setPage(this.parent,e)},enumerable:!1,configurable:!0}),t.prototype.getPanel=function(){return null},t.prototype.delete=function(e){void 0===e&&(e=!0),this.removeFromParent(),e?this.dispose():this.resetDependedQuestions()},t.prototype.removeFromParent=function(){this.parent&&this.removeSelfFromList(this.parent.elements)},t.prototype.addDependedQuestion=function(e){!e||this.dependedQuestions.indexOf(e)>-1||this.dependedQuestions.push(e)},t.prototype.removeDependedQuestion=function(e){if(e){var t=this.dependedQuestions.indexOf(e);t>-1&&this.dependedQuestions.splice(t,1)}},t.prototype.updateDependedQuestions=function(){for(var e=0;e<this.dependedQuestions.length;e++)this.dependedQuestions[e].updateDependedQuestion()},t.prototype.updateDependedQuestion=function(){},t.prototype.resetDependedQuestion=function(){},Object.defineProperty(t.prototype,"isFlowLayout",{get:function(){return"flow"===this.getLayoutType()},enumerable:!1,configurable:!0}),t.prototype.getLayoutType=function(){return this.parent?this.parent.getChildrenLayoutType():"row"},t.prototype.isLayoutTypeSupported=function(e){return"flow"!==e},Object.defineProperty(t.prototype,"visible",{get:function(){return this.getPropertyValue("visible",!0)},set:function(e){e!=this.visible&&(this.setPropertyValue("visible",e),this.onVisibleChangedCore(),this.notifySurveyVisibilityChanged())},enumerable:!1,configurable:!0}),t.prototype.onVisibleChanged=function(){var e=this.getPropertyValue("isVisible");this.onVisibleChangedCore();var t=this.getPropertyValue("isVisible");void 0!==e&&e!==t&&this.notifySurveyVisibilityChanged()},t.prototype.onVisibleChangedCore=function(){this.updateIsVisibleProp(),!this.isVisible&&this.errors&&this.errors.length>0&&(this.errors=[])},t.prototype.notifyStateChanged=function(t){e.prototype.notifyStateChanged.call(this,t),this.isCollapsed&&this.onHidingContent()},t.prototype.updateElementVisibility=function(){this.updateIsVisibleProp()},t.prototype.updateIsVisibleProp=function(){var e=this.getPropertyValue("isVisible"),t=this.isVisible;e!==t&&(this.setPropertyValue("isVisible",t),t||this.onHidingContent()),t!==this.visible&&this.areInvisibleElementsShowing&&this.updateQuestionCss(!0)},Object.defineProperty(t.prototype,"useDisplayValuesInDynamicTexts",{get:function(){return this.getPropertyValue("useDisplayValuesInDynamicTexts")},set:function(e){this.setPropertyValue("useDisplayValuesInDynamicTexts",e)},enumerable:!1,configurable:!0}),t.prototype.getUseDisplayValuesInDynamicTexts=function(){return this.useDisplayValuesInDynamicTexts},Object.defineProperty(t.prototype,"visibleIf",{get:function(){return this.getPropertyValue("visibleIf","")},set:function(e){this.setPropertyValue("visibleIf",e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isVisible",{get:function(){return!(this.survey&&this.survey.areEmptyElementsHidden&&this.isEmpty())&&(!!this.areInvisibleElementsShowing||this.isVisibleCore())},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isVisibleInSurvey",{get:function(){return this.isVisible&&this.isParentVisible}
vendor: 21,201 bytes, line 11
11,enumerable:!1,configurable:!0}),t.prototype.isVisibleCore=function(){return this.visible},Object.defineProperty(t.prototype,"visibleIndex",{get:function(){return this.getPropertyValue("visibleIndex",-1)},enumerable:!1,configurable:!0}),t.prototype.onHidingContent=function(){},Object.defineProperty(t.prototype,"hideNumber",{get:function(){return this.getPropertyValue("hideNumber")},set:function(e){this.setPropertyValue("hideNumber",e),this.notifySurveyVisibilityChanged()},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isAllowTitleLeft",{get:function(){return!0},enumerable:!1,configurable:!0}),t.prototype.getType=function(){return"question"},Object.defineProperty(t.prototype,"isQuestion",{get:function(){return!0},enumerable:!1,configurable:!0}),t.prototype.moveTo=function(e,t){return void 0===t&&(t=null),this.moveToBase(this.parent,e,t)},t.prototype.getProgressInfo=function(){return this.hasInput?{questionCount:1,answeredQuestionCount:this.isEmpty()?0:1,requiredQuestionCount:this.isRequired?1:0,requiredAnsweredQuestionCount:!this.isEmpty()&&this.isRequired?1:0}:e.prototype.getProgressInfo.call(this)},t.prototype.ensureSetValueExpressionRunner=function(){var e=this;this.setValueExpressionRunner?this.setValueExpressionRunner.expression=this.setValueExpression:(this.setValueExpressionRunner=this.createExpressionRunner(this.setValueExpression),this.setValueExpressionRunner.onRunComplete=function(t){e.runExpressionSetValue(t)})},t.prototype.runSetValueExpression=function(){this.setValueExpression?(this.ensureSetValueExpressionRunner(),this.setValueExpressionRunner.run(this.getDataFilteredValues(),this.getDataFilteredProperties())):this.clearValue()},t.prototype.getSetValueExpressionRunner=function(){return this.ensureSetValueExpressionRunner(),this.setValueExpressionRunner},t.prototype.addTriggerInfo=function(e,t,n){var o=new Dn(e,t,n);return this.triggersInfo.push(o),o},t.prototype.runTriggerInfo=function(e,t){var n=this[e.name];(n||e.getSecondRunner())&&!e.isRunning&&e.canRun()&&(e.runner?e.runner.expression=n:(e.runner=this.createExpressionRunner(n),e.runner.onRunComplete=function(t){!0===t&&e.doComplete(),e.isRunning=!1}),this.canExecuteTriggerByKeys(t,e.runner,e.getSecondRunner())&&(e.isRunning=!0,!n&&e.getSecondRunner()?(e.doComplete(),e.isRunning=!1):e.runner.run(this.getDataFilteredValues(),this.getDataFilteredProperties())))},t.prototype.canExecuteTriggerByKeys=function(e,t,n){!t&&n&&(t=n,n=void 0);var o=this.canExecuteTriggerByKeysCore(e,t);return"var"===o||(n?""!==this.canExecuteTriggerByKeysCore(e,n):"func"===o||"const"===o)},t.prototype.canExecuteTriggerByKeysCore=function(e,t){if(!t.expression)return"";var n=t.getVariables();return Array.isArray(n)&&0!==n.length?(new M).isAnyKeyChanged(e,n)?"var":"":t.hasFunction()?"func":"const"},t.prototype.runTriggers=function(e,t,n){var o=this;this.isSettingQuestionValue||this.parentQuestion&&this.parentQuestion.getValueName()===e||(n||((n={})[e]=t),this.triggersInfo.forEach((function(e){o.runTriggerInfo(e,n)})))},t.prototype.runConditions=function(){this.data&&!this.isLoadingFromJson&&(this.isDesignMode||this.runCondition(this.getDataFilteredValues(),this.getDataFilteredProperties()),this.locStrsChanged())},t.prototype.setSurveyImpl=function(t,n){e.prototype.setSurveyImpl.call(this,t),this.survey&&(this.survey.questionCreated(this),!0!==n&&this.runConditions(),this.visible||this.updateIsVisibleProp(),this.updateIsMobileFromSurvey())},Object.defineProperty(t.prototype,"parent",{get:function(){return this.getPropertyValue("parent",null)},set:function(e){this.parent!==e&&(this.removeFromParent(),this.setPropertyValue("parent",e),e&&this.updateQuestionCss(),this.onParentChanged())},enumerable:!1,configurable:!0}),t.prototype.onParentChanged=function(){},Object.defineProperty(t.prototype,"hasTitle",{get:function(){return"hidden"!==this.getTitleLocation()},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"titleLocation",{get:function(){return this.getPropertyValue("titleLocation")},set:function(e){var t="hidden"==this.titleLocation||"hidden"==e;this.setPropertyValue("titleLocation",e.toLowerCase()),this.updateQuestionCss(),t&&this.notifySurveyVisibilityChanged()},enumerable:!1,configurable:!0}),t.prototype.getTitleOwner=function(){return this},t.prototype.getIsTitleRenderedAsString=function(){return"hidden"===this.titleLocation},t.prototype.notifySurveyOnChildrenVisibilityChanged=function(){return!1},t.prototype.notifySurveyVisibilityChanged=function(){if(this.survey&&!this.isLoadingFromJson){this.survey.questionVisibilityChanged(this,this.isVisible,!this.parentQuestion||this.parentQuestion.notifySurveyOnChildrenVisibilityChanged());var e=this.isClearValueOnHidden;this.visible||this.clearValueOnHidding(e),e&&this.isVisibleInSurvey&&this.updateValueWithDefaults()}},t.prototype.clearValueOnHidding=function(e){e&&this.clearValueIfInvisible()},Object.defineProperty(t.prototype,"titleWidth",{get:function(){if(this.parent&&"left"===this.getTitleLocation()){var e=this.parent.getColumsForElement(this),t=e.length;if(0!==t&&e[0].questionTitleWidth)return e[0].questionTitleWidth;var n=this.getPercentQuestionTitleWidth();if(!n&&this.parent){var o=this.parent.getQuestionTitleWidth();return o&&!isNaN(o)&&(o+="px"),o}return n/(t||1)+"%"}},enumerable:!1,configurable:!0}),t.prototype.getPercentQuestionTitleWidth=function(){var e=!!this.parent&&this.parent.getQuestionTitleWidth();if(e&&"%"===e[e.length-1])return parseInt(e)},t.prototype.getTitleLocation=function(){if(this.isFlowLayout)return"hidden";var e=this.getTitleLocationCore();return"left"!==e||this.isAllowTitleLeft||(e="top"),e},t.prototype.getTitleLocationCore=function(){return"default"!==this.titleLocation?this.titleLocation:this.parent?this.parent.getQuestionTitleLocation():this.survey?this.survey.questionTitleLocation:"top"},Object.defineProperty(t.prototype,"hasTitleOnLeft",{get:function(){return this.hasTitle&&"left"===this.getTitleLocation()},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"hasTitleOnTop",{get:function(){return this.hasTitle&&"top"===this.getTitleLocation()},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"hasTitleOnBottom",{get:function(){return this.hasTitle&&"bottom"===this.getTitleLocation()},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"hasTitleOnLeftTop",{get:function(){if(!this.hasTitle)return!1;var e=this.getTitleLocation();return"left"===e||"top"===e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"errorLocation",{get:function(){return this.getPropertyValue("errorLocation")},set:function(e){this.setPropertyValue("errorLocation",e)},enumerable:!1,configurable:!0}),t.prototype.getErrorLocation=function(){return"default"!==this.errorLocation?this.errorLocation:this.parentQuestion?this.parentQuestion.getChildErrorLocation(this):this.parent?this.parent.getQuestionErrorLocation():this.survey?this.survey.questionErrorLocation:"top"},t.prototype.getChildErrorLocation=function(e){return this.getErrorLocation()},Object.defineProperty(t.prototype,"hasInput",{get:function(){return!0},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"hasSingleInput",{get:function(){return this.hasInput},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"inputId",{get:function(){return this.id+"i"},enumerable:!1,configurable:!0}),t.prototype.getDefaultTitleValue=function(){return this.name},t.prototype.getDefaultTitleTagName=function(){return tn.titleTags.question},Object.defineProperty(t.prototype,"descriptionLocation",{get:function(){return this.getPropertyValue("descriptionLocation")},set:function(e){this.setPropertyValue("descriptionLocation",e),this.updateQuestionCss()},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"hasDescriptionUnderTitle",{get:function(){return"underTitle"==this.getDescriptionLocation()&&this.hasDescription},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"hasDescriptionUnderInput",{get:function(){return"underInput"==this.getDescriptionLocation()&&this.hasDescription},enumerable:!1,configurable:!0}),t.prototype.getDescriptionLocation=function(){return"default"!==this.descriptionLocation?this.descriptionLocation:this.survey?this.survey.questionDescriptionLocation:"underTitle"},t.prototype.needClickTitleFunction=function(){return e.prototype.needClickTitleFunction.call(this)||this.hasInput},t.prototype.processTitleClick=function(){var t=this;if(e.prototype.processTitleClick.call(this),!this.isCollapsed)return setTimeout((function(){t.focus()}),1),!0},Object.defineProperty(t.prototype,"requiredErrorText",{get:function(){return this.getLocalizableStringText("requiredErrorText")},set:function(e){this.setLocalizableStringText("requiredErrorText",e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"locRequiredErrorText",{get:function(){return this.getLocalizableString("requiredErrorText")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"commentText",{get:function(){return this.getLocalizableStringText("commentText")},set:function(e){this.setLocalizableStringText("commentText",e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"locCommentText",{get:function(){return this.getLocalizableString("commentText")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"commentPlaceHolder",{get:function(){return this.commentPlaceholder},set:function(e){this.commentPlaceholder=e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"renderedCommentPlaceholder",{get:function(){var e;return null!==(e=this.getPropertyValue("renderedCommentPlaceholder"))&&void 0!==e?e:this.isReadOnly?void 0:this.commentPlaceHolder},enumerable:!1,configurable:!0}),t.prototype.resetRenderedCommentPlaceholder=function(){this.resetPropertyValue("renderedCommentPlaceholder")},t.prototype.getAllErrors=function(){return this.errors.slice()},t.prototype.getErrorByType=function(e){for(var t=0;t<this.errors.length;t++)if(this.errors[t].getErrorType()===e)return this.errors[t];return null},Object.defineProperty(t.prototype,"customWidget",{get:function(){return this.isCustomWidgetRequested||this.customWidgetValue||(this.isCustomWidgetRequested=!0,this.updateCustomWidget()),this.customWidgetValue},enumerable:!1,configurable:!0}),t.prototype.updateCustomWidget=function(){this.customWidgetValue=En.Instance.getCustomWidget(this)},t.prototype.localeChanged=function(){e.prototype.localeChanged.call(this),this.resetRenderedCommentPlaceholder(),this.localeChangedCallback&&this.localeChangedCallback()},Object.defineProperty(t.prototype,"isCompositeQuestion",{get:function(){return!1},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isContainer",{get:function(){return!1},enumerable:!1,configurable:!0}),t.prototype.updateCommentElements=function(){},t.prototype.onCommentInput=function(e){this.isInputTextUpdate?e.target&&(this.comment=e.target.value):this.updateCommentElements()},t.prototype.onCommentChange=function(e){this.comment=e.target.value,this.comment!==e.target.value&&(e.target.value=this.comment)},t.prototype.afterRenderQuestionElement=function(e){this.survey&&this.hasSingleInput&&this.survey.afterRenderQuestionInput(this,e)},t.prototype.afterRender=function(e){var t=this;this.afterRenderCore(e),this.survey&&(this.survey.afterRenderQuestion(this,e),this.afterRenderQuestionCallback&&this.afterRenderQuestionCallback(this,e),(this.supportComment()||this.supportOther())&&(this.commentElements=[],this.getCommentElementsId().forEach((function(e){var n=tn.environment.root.getElementById(e);n&&t.commentElements.push(n)})),this.updateCommentElements()),this.checkForResponsiveness(e))},t.prototype.afterRenderCore=function(t){e.prototype.afterRenderCore.call(this,t)},t.prototype.getCommentElementsId=function(){return[this.commentId]},t.prototype.beforeDestroyQuestionElement=function(e){this.commentElements=void 0},Object.defineProperty(t.prototype,"processedTitle",{get:function(){var e=this.locProcessedTitle.textOrHtml;return e||this.name},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"fullTitle",{get:function(){return this.locTitle.renderedHtml},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"titlePattern",{get:function(){return this.survey?this.survey.questionTitlePattern:"numTitleRequire"},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isRequireTextOnStart",{get:function(){return this.isRequired&&"requireNumTitle"==this.titlePattern},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isRequireTextBeforeTitle",{get:function(){return this.isRequired&&"numRequireTitle"==this.titlePattern&&""!==this.requiredText},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isRequireTextAfterTitle",{get:function(){return this.isRequired&&"numTitleRequire"==this.titlePattern&&""!==this.requiredText},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"startWithNewLine",{get:function(){return this.getPropertyValue("startWithNewLine")},set:function(e){this.startWithNewLine!=e&&this.setPropertyValue("startWithNewLine",e)},enumerable:!1,configurable:!0}),t.prototype.calcCssClasses=function(e){var t={error:{}};return this.copyCssClasses(t,e.question),this.copyCssClasses(t.error,e.error),this.updateCssClasses(t,e),t},t.prototype.onCalcCssClasses=function(t){e.prototype.onCalcCssClasses.call(this,t),this.survey&&this.survey.updateQuestionCssClasses(this,t),this.onUpdateCssClassesCallback&&this.onUpdateCssClassesCallback(t)},Object.defineProperty(t.prototype,"cssRoot",{get:function(){return this.ensureElementCss(),this.getPropertyValue("cssRoot","")},enumerable:!1,configurable:!0}),t.prototype.setCssRoot=function(e){this.setPropertyValue("cssRoot",e)},t.prototype.getCssRoot=function(t){var n=this.hasCssError();return(new Ae).append(e.prototype.getCssRoot.call(this,t)).append(this.isFlowLayout&&!this.isDesignMode?t.flowRoot:t.mainRoot).append(t.titleLeftRoot,!this.isFlowLayout&&this.hasTitleOnLeft).append(t.titleTopRoot,!this.isFlowLayout&&this.hasTitleOnTop).append(t.titleBottomRoot,!this.isFlowLayout&&this.hasTitleOnBottom).append(t.descriptionUnderInputRoot,!this.isFlowLayout&&this.hasDescriptionUnderInput).append(t.hasError,n).append(t.hasErrorTop,n&&"top"==this.getErrorLocation()).append(t.hasErrorBottom,n&&"bottom"==this.getErrorLocation()).append(t.small,!this.width).append(t.answered,this.isAnswered).append(t.noPointerEventsMode,this.isReadOnlyAttr).toString()},Object.defineProperty(t.prototype,"cssHeader",{get:function(){return this.ensureElementCss(),this.getPropertyValue("cssHeader","")},enumerable:!1,configurable:!0}),t.prototype.setCssHeader=function(e){this.setPropertyValue("cssHeader",e)},t.prototype.getCssHeader=function(e){return(new Ae).append(e.header).append(e.headerTop,this.hasTitleOnTop).append(e.headerLeft,this.hasTitleOnLeft).append(e.headerBottom,this.hasTitleOnBottom).toString()},t.prototype.supportContainerQueries=function(){return!1},Object.defineProperty(t.prototype,"cssContent",{get:function(){return this.ensureElementCss(),this.getPropertyValue("cssContent","")},enumerable:!1,configurable:!0}),t.prototype.setCssContent=function(e){this.setPropertyValue("cssContent",e)},t.prototype.getCssContent=function(e){return(new Ae).append(e.content).append(e.contentSupportContainerQueries,this.supportContainerQueries()).append(e.contentLeft,this.hasTitleOnLeft).toString()},Object.defineProperty(t.prototype,"cssTitle",{get:function(){return this.ensureElementCss(),this.getPropertyValue("cssTitle","")},enumerable:!1,configurable:!0}),t.prototype.setCssTitle=function(e){this.setPropertyValue("cssTitle",e)},t.prototype.getCssTitle=function(t){return(new Ae).append(e.prototype.getCssTitle.call(this,t)).append(t.titleOnAnswer,!this.containsErrors&&this.isAnswered).append(t.titleEmpty,!this.title.trim()).toString()},Object.defineProperty(t.prototype,"cssDescription",{get:function(){return this.ensureElementCss(),this.getPropertyValue("cssDescription","")},enumerable:!1,configurable:!0}),t.prototype.setCssDescription=function(e){this.setPropertyValue("cssDescription",e)},t.prototype.getCssDescription=function(e){return(new Ae).append(e.description).append(e.descriptionUnderInput,"underInput"==this.getDescriptionLocation()).toString()},t.prototype.showErrorOnCore=function(e){return!this.showErrorsAboveQuestion&&!this.showErrorsBelowQuestion&&this.getErrorLocation()===e},Object.defineProperty(t.prototype,"showErrorOnTop",{get:function(){return this.showErrorOnCore("top")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"showErrorOnBottom",{get:function(){return this.showErrorOnCore("bottom")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"showErrorsOutsideQuestion",{get:function(){return this.isDefaultV2Theme},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"showErrorsAboveQuestion",{get:function(){return this.showErrorsOutsideQuestion&&"top"===this.getErrorLocation()},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"showErrorsBelowQuestion",{get:function(){return this.showErrorsOutsideQuestion&&"bottom"===this.getErrorLocation()},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"cssError",{get:function(){return this.ensureElementCss(),this.getPropertyValue("cssError","")},enumerable:!1,configurable:!0}),t.prototype.setCssError=function(e){this.setPropertyValue("cssError",e)},t.prototype.getCssError=function(e){return(new Ae).append(e.error.root).append(e.errorsContainer,this.showErrorsBelowQuestion||this.showErrorsAboveQuestion).append(e.errorsContainerTop,this.showErrorsAboveQuestion).append(e.errorsContainerBottom,this.showErrorsBelowQuestion).append(e.error.locationTop,this.showErrorOnTop).append(e.error.locationBottom,this.showErrorOnBottom).toString()},t.prototype.hasCssError=function(){return this.errors.length>0||this.hasCssErrorCallback()},t.prototype.getRootCss=function(){return(new Ae).append(this.cssRoot).append(this.cssClasses.mobile,this.isMobile).append(this.cssClasses.readOnly,this.isReadOnlyStyle).append(this.cssClasses.disabled,this.isDisabledStyle).append(this.cssClasses.preview,this.isPreviewStyle).append(this.cssClasses.invisible,!this.isDesignMode&&this.areInvisibleElementsShowing&&!this.visible).toString()},t.prototype.getQuestionRootCss=function(){return(new Ae).append(this.cssClasses.root).append(this.cssClasses.rootMobile,this.isMobile).toString()},t.prototype.updateElementCss=function(t){this.wasRendered?(e.prototype.updateElementCss.call(this,t),t&&this.updateQuestionCss(!0)):this.isRequireUpdateElements=!0,this.resetIndents()},t.prototype.onFirstRenderingCore=function(){this.isRequireUpdateElements&&(this.isRequireUpdateElements=!1,this.updateElementCss(!0)),e.prototype.onFirstRenderingCore.call(this)},t.prototype.updateQuestionCss=function(e){!this.isLoadingFromJson&&this.survey&&(this.wasRendered?this.updateElementCssCore(this.cssClasses):this.isRequireUpdateElements=!0)},t.prototype.ensureElementCss=function(){this.cssClassesValue||this.updateQuestionCss(!0)},t.prototype.updateElementCssCore=function(e){this.setCssRoot(this.getCssRoot(e)),this.setCssHeader(this.getCssHeader(e)),this.setCssContent(this.getCssContent(e)),this.setCssTitle(this.getCssTitle(e)),this.setCssDescription(this.getCssDescription(e)),this.setCssError(this.getCssError(e))},t.prototype.updateCssClasses=function(e,t){if(t.question){var n=t[this.getCssType()],o=(new Ae).append(e.title).append(t.question.titleRequired,this.isRequired);e.title=o.toString();var i=(new Ae).append(e.root).append(n,this.isRequired&&!!t.question.required);if(null==n)e.root=i.toString();else if("string"==typeof n||n instanceof String)e.root=i.append(n.toString()).toString();else for(var r in e.root=i.toString(),n)e[r]=n[r]}},t.prototype.getCssType=function(){return this.getType()},Object.defineProperty(t.prototype,"renderCssRoot",{get:function(){return this.cssClasses.root||void 0},enumerable:!1,configurable:!0}),t.prototype.calcPaddingLeft=function(){return this.getIndentSize(this.indent)},t.prototype.calcPaddingRight=function(){return this.getIndentSize(this.rightIndent)},t.prototype.getIndentSize=function(e){return e<1||!this.getSurvey()||!this.cssClasses||!this.cssClasses.indent?"":e*this.cssClasses.indent+"px"},t.prototype.focus=function(e,t){var n=this;if(void 0===e&&(e=!1),!this.isDesignMode&&this.isVisible&&this.survey){var o=this.page;if(!!o&&this.survey.activePage!==o)this.survey.focusQuestionByInstance(this,e);else if(this.survey){this.expandAllParents();var i=this.survey.isSmoothScrollEnabled?{behavior:"smooth"}:void 0;this.survey.scrollElementToTop(this,this,null,this.id,t,i,void 0,(function(){n.focusInputElement(e)}))}else this.focusInputElement(e)}},t.prototype.focusInputElement=function(e){var t,n=e?this.getFirstErrorInputElementId():this.getFirstInputElementId(),o=null===(t=this.survey)||void 0===t?void 0:t.rootElement;yt.FocusElement(n,!1,o)&&this.fireCallback(this.focusCallback)},Object.defineProperty(t.prototype,"isValidateVisitedEmptyFields",{get:function(){return this.supportEmptyValidation()&&
vendor: 4,109 bytes, line 11
11!!this.survey&&this.survey.getValidateVisitedEmptyFields()&&this.isEmpty()},enumerable:!1,configurable:!0}),t.prototype.supportEmptyValidation=function(){return!1},t.prototype.onBlur=function(e){this.onBlurCore(e)},t.prototype.onFocus=function(e){this.onFocusCore(e)},t.prototype.onBlurCore=function(e){this.isFocusEmpty&&this.isEmpty()&&this.validate(!0)},t.prototype.onFocusCore=function(e){this.isFocusEmpty=this.isValidateVisitedEmptyFields},t.prototype.expandAllParents=function(){this.expandAllParentsCore(this)},t.prototype.expandAllParentsCore=function(e){e&&(e.isCollapsed&&e.expand(),this.expandAllParentsCore(e.parent),this.expandAllParentsCore(e.parentQuestion))},t.prototype.focusIn=function(){!this.survey||this.isDisposed||this.isContainer||this.survey.whenQuestionFocusIn(this)},t.prototype.fireCallback=function(e){e&&e()},t.prototype.getOthersMaxLength=function(){return this.survey&&this.survey.maxOthersLength>0?this.survey.maxOthersLength:null},t.prototype.onCreating=function(){},t.prototype.getFirstQuestionToFocus=function(e){return this.hasInput&&(!e||this.currentErrorCount>0)?this:null},t.prototype.getFirstInputElementId=function(){return this.inputId},t.prototype.getFirstErrorInputElementId=function(){return this.getFirstInputElementId()},t.prototype.getProcessedTextValue=function(e){var n=e.name.toLocaleLowerCase();e.isExists=-1!==Object.keys(t.TextPreprocessorValuesMap).indexOf(n)||void 0!==this[e.name],e.value=this[t.TextPreprocessorValuesMap[n]||e.name]},t.prototype.supportComment=function(){var e=this.getPropertyByName("showCommentArea");return!e||e.visible},t.prototype.supportOther=function(){return!1},Object.defineProperty(t.prototype,"isRequired",{get:function(){return this.getPropertyValue("isRequired")},set:function(e){this.setPropertyValue("isRequired",e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"requiredIf",{get:function(){return this.getPropertyValue("requiredIf","")},set:function(e){this.setPropertyValue("requiredIf",e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"showCommentArea",{get:function(){return this.getPropertyValue("showCommentArea",!1)},set:function(e){this.supportComment()&&this.setPropertyValue("showCommentArea",e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"hasComment",{get:function(){return this.showCommentArea},set:function(e){this.showCommentArea=e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"id",{get:function(){return this.getPropertyValue("id")},set:function(e){this.setPropertyValue("id",e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"ariaTitleId",{get:function(){return this.id+"_ariaTitle"},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"ariaDescriptionId",{get:function(){return this.id+"_ariaDescription"},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"commentId",{get:function(){return this.id+"_comment"},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"showOtherItem",{get:function(){return this.getPropertyValue("showOtherItem",!1)},set:function(e){this.supportOther()&&this.showOtherItem!=e&&(this.setPropertyValue("showOtherItem",e),this.hasOtherChanged())},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"hasOther",{get:function(){return this.showOtherItem},set:function(e){this.showOtherItem=e},enumerable:!1,configurable:!0}),t.prototype.hasOtherChanged=function(){},Object.defineProperty(t.prototype,"requireUpdateCommentValue",{get:function(){return this.hasComment||this.hasOther},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isReadOnly",{get:function(){var e=!!this.parent&&this.parent.isReadOnly,t=!!this.parentQuestion&&this.parentQuestion.isReadOnly,n=!!this.survey&&this.survey.isDisplayMode,o=!!this.readOnlyCallback&&this.readOnlyCallback();return this.readOnly||e||n||t||o},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isInputReadOnly",{get:function(){return void 0!==this.forceIsInputReadOnly?this.forceIsInputReadOnly:this.isReadOnly||this.isDesignModeV2}
vendor: 10,120 bytes, line 11
11,enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"renderedInputReadOnly",{get:function(){return this.isInputReadOnly?"":void 0},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"renderedInputDisabled",{get:function(){return this.isInputReadOnly?"":void 0},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isReadOnlyAttr",{get:function(){return this.isReadOnly},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isDisabledAttr",{get:function(){return this.isDesignModeV2||!!this.readOnlyCallback&&this.readOnlyCallback()},enumerable:!1,configurable:!0}),t.prototype.onReadOnlyChanged=function(){this.setPropertyValue("isInputReadOnly",this.isInputReadOnly),e.prototype.onReadOnlyChanged.call(this),this.isReadOnly&&this.clearErrors(),this.updateQuestionCss(),this.resetRenderedCommentPlaceholder()},Object.defineProperty(t.prototype,"enableIf",{get:function(){return this.getPropertyValue("enableIf","")},set:function(e){this.setPropertyValue("enableIf",e)},enumerable:!1,configurable:!0}),t.prototype.surveyChoiceItemVisibilityChange=function(){},t.prototype.runCondition=function(e,t){this.isDesignMode||(t||(t={}),t.question=this,this.runConditionCore(e,t),this.isValueChangedDirectly||this.isClearValueOnHidden&&!this.isVisibleInSurvey||(this.defaultValueRunner=this.getDefaultRunner(this.defaultValueRunner,this.defaultValueExpression),this.runDefaultValueExpression(this.defaultValueRunner,e,t)))},Object.defineProperty(t.prototype,"isInDesignMode",{get:function(){return!this.isContentElement&&this.isDesignMode},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isInDesignModeV2",{get:function(){return!this.isContentElement&&this.isDesignModeV2},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"no",{get:function(){return this.getPropertyValue("no")},enumerable:!1,configurable:!0}),t.prototype.calcNo=function(){var e;if(!this.hasTitle||this.hideNumber)return"";var t=null===(e=this.parent)||void 0===e?void 0:e.visibleIndex,n=u.getNumberByIndex(this.visibleIndex,this.getStartIndex(),t);return this.survey&&(n=this.survey.getUpdatedQuestionNo(this,n)),n},t.prototype.getStartIndex=function(){return this.parent?this.parent.getQuestionStartIndex():this.survey?this.survey.questionStartIndex:""},t.prototype.onSurveyLoad=function(){this.isCustomWidgetRequested=!1,this.fireCallback(this.surveyLoadCallback),this.updateValueWithDefaults(),this.isEmpty()&&this.initDataFromSurvey()},t.prototype.onSetData=function(){e.prototype.onSetData.call(this),this.isDesignMode||!this.survey||this.isLoadingFromJson||(this.initDataFromSurvey(),this.onSurveyValueChanged(this.value),this.updateValueWithDefaults(),this.updateIsAnswered())},t.prototype.initDataFromSurvey=function(){if(this.data){var e=this.data.getValue(this.getValueName());u.isValueEmpty(e)&&this.isLoadingFromJson||this.updateValueFromSurvey(e),this.initCommentFromSurvey()}},t.prototype.initCommentFromSurvey=function(){this.data&&this.requireUpdateCommentValue?this.updateCommentFromSurvey(this.data.getComment(this.getValueName())):this.updateCommentFromSurvey("")},t.prototype.runExpression=function(e){if(this.survey&&e)return this.survey.runExpression(e)},Object.defineProperty(t.prototype,"commentAreaRows",{get:function(){return this.survey&&this.survey.commentAreaRows},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"autoGrowComment",{get:function(){return this.survey&&this.survey.autoGrowComment},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"allowResizeComment",{get:function(){return this.survey&&this.survey.allowResizeComment},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"questionValue",{get:function(){return this.getPropertyValueWithoutDefault("value")},set:function(e){this.setPropertyValue("value",e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"questionComment",{get:function(){return this.getPropertyValueWithoutDefault("comment")},set:function(e){this.setPropertyValue("comment",e),this.fireCallback(this.commentChangedCallback)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isValueArray",{get:function(){return!1},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"value",{get:function(){return this.getValueCore()},set:function(e){this.setNewValue(e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"hasFilteredValue",{get:function(){return!1},enumerable:!1,configurable:!0}),t.prototype.getFilteredValue=function(){return this.value},t.prototype.getFilteredName=function(){return this.getValueName()},Object.defineProperty(t.prototype,"valueForSurvey",{get:function(){return this.valueForSurveyCore(this.value)},enumerable:!1,configurable:!0}),t.prototype.valueForSurveyCore=function(e){return this.valueToDataCallback?this.valueToDataCallback(e):e},t.prototype.valueFromDataCore=function(e){return this.valueFromDataCallback?this.valueFromDataCallback(e):e},t.prototype.clearValue=function(e){void 0!==this.value&&(this.value=void 0),this.comment&&!0!==e&&(this.comment=void 0),this.setValueChangedDirectly(!1)},t.prototype.clearValueOnly=function(){this.clearValue(!0)},t.prototype.unbindValue=function(){this.clearValue()},t.prototype.createValueCopy=function(){return this.getUnbindValue(this.value)},t.prototype.initDataUI=function(){},t.prototype.getUnbindValue=function(e){return this.isValueSurveyElement(e)?e:u.getUnbindValue(e)},t.prototype.isValueSurveyElement=function(e){return!!e&&(Array.isArray(e)?e.length>0&&this.isValueSurveyElement(e[0]):!!e.getType&&!!e.onPropertyChanged)},t.prototype.canClearValueAsInvisible=function(e){return"onHiddenContainer"===e&&!this.isParentVisible||!this.isVisibleInSurvey&&((!this.page||!this.page.isStartPage)&&(!this.survey||!this.survey.hasVisibleQuestionByValueName(this)))},Object.defineProperty(t.prototype,"isParentVisible",{get:function(){if(this.parentQuestion&&!this.parentQuestion.isVisible)return!1;for(var e=this.parent;e;){if(!e.isVisible)return!1;e=e.parent}return!0},enumerable:!1,configurable:!0}),t.prototype.clearValueIfInvisible=function(e){void 0===e&&(e="onHidden");var t=this.getClearIfInvisible();"none"!==t&&("onHidden"===e&&"onComplete"===t||"onHiddenContainer"===e&&t!==e||this.clearValueIfInvisibleCore(e))},t.prototype.clearValueIfInvisibleCore=function(e){this.canClearValueAsInvisible(e)&&this.clearValue()},Object.defineProperty(t.prototype,"clearIfInvisible",{get:function(){return this.getPropertyValue("clearIfInvisible")},set:function(e){this.setPropertyValue("clearIfInvisible",e)},enumerable:!1,configurable:!0}),t.prototype.getClearIfInvisible=function(){var e=this.clearIfInvisible;return this.survey?this.survey.getQuestionClearIfInvisible(e):"default"!==e?e:"onComplete"},Object.defineProperty(t.prototype,"displayValue",{get:function(){return this.isLoadingFromJson?"":this.getDisplayValue(!0)},enumerable:!1,configurable:!0}),t.prototype.getDisplayValue=function(e,t){void 0===t&&(t=void 0);var n=this.calcDisplayValue(e,t);return this.survey&&(n=this.survey.getQuestionDisplayValue(this,n)),this.displayValueCallback?this.displayValueCallback(n):n},t.prototype.calcDisplayValue=function(e,t){if(void 0===t&&(t=void 0),this.customWidget){var n=this.customWidget.getDisplayValue(this,t);if(n)return n}return t=null==t?this.createValueCopy():t,this.isValueEmpty(t,!this.allowSpaceAsAnswer)?this.getDisplayValueEmpty():this.getDisplayValueCore(e,t)},t.prototype.getDisplayValueCore=function(e,t){return t},t.prototype.getDisplayValueEmpty=function(){return""},Object.defineProperty(t.prototype,"defaultValue",{get:function(){return this.getPropertyValue("defaultValue")},set:function(e){this.isValueExpression(e)?this.defaultValueExpression=e.substring(1):(this.setPropertyValue("defaultValue",this.convertDefaultValue(e)),this.updateValueWithDefaults())},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"defaultValueExpression",{get:function(){return this.getPropertyValue("defaultValueExpression")},set:function(e){this.setPropertyValue("defaultValueExpression",e),this.defaultValueRunner=void 0,this.updateValueWithDefaults()},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"resetValueIf",{get:function(){return this.getPropertyValue("resetValueIf")},set:function(e){this.setPropertyValue("resetValueIf",e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"setValueIf",{get:function(){return this.getPropertyValue("setValueIf")},set:function(e){this.setPropertyValue("setValueIf",e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"setValueExpression",{get:function(){return this.getPropertyValue("setValueExpression")},set:function(e){this.setPropertyValue("setValueExpression",e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"resizeStyle",{get:function(){return this.allowResizeComment?"both":"none"},enumerable:!1,configurable:!0}),t.prototype.getPlainData=function(e){var t=this;if(e||(e={includeEmpty:!0,includeQuestionTypes:!1}),e.includeEmpty||!this.isEmpty()){var n={name:this.name,title:this.locTitle.renderedHtml,value:this.value,displayValue:this.displayValue,isNode:!1,getString:function(e){return"object"==typeof e?JSON.stringify(e):e}};return!0===e.includeQuestionTypes&&(n.questionType=this.getType()),(e.calculations||[]).forEach((function(e){n[e.propertyName]=t.getPlainDataCalculatedValue(e.propertyName)})),this.hasComment&&(n.isNode=!0,n.data=[{name:0,isComment:!0,title:"Comment",value:tn.commentSuffix,displayValue:this.comment,getString:function(e){return"object"==typeof e?JSON.stringify(e):e},isNode:!1}]),n}},t.prototype.getPlainDataCalculatedValue=function(e){return this[e]},Object.defineProperty(t.prototype,"correctAnswer",{get:function(){return this.getPropertyValue("correctAnswer")},set:function(e){this.setPropertyValue("correctAnswer",this.convertDefaultValue(e))},enumerable:!1,configurable:!0}),t.prototype.convertDefaultValue=function(e){return e},Object.defineProperty(t.prototype,"quizQuestionCount",{get:function(){return this.isVisible&&this.hasInput&&
11!this.isValueEmpty(this.correctAnswer)?this.getQuizQuestionCount():0},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"correctAnswerCount",{get:function(){return this.isEmpty()||this.isValueEmpty(this.correctAnswer)?0:this.getCorrectAnswerCount()},enumerable:!1,configurable:!0})
vendor: 106,371 bytes, line 11
11,t.prototype.getQuizQuestionCount=function(){return 1},t.prototype.getCorrectAnswerCount=function(){return this.checkIfAnswerCorrect()?1:0},t.prototype.checkIfAnswerCorrect=function(){var e=u.isTwoValueEquals(this.value,this.correctAnswer,this.getAnswerCorrectIgnoreOrder(),tn.comparator.caseSensitive,!0),t=e?1:0,n=this.quizQuestionCount-t,o={result:e,correctAnswers:t,correctAnswerCount:t,incorrectAnswers:n,incorrectAnswerCount:n};return this.survey&&this.survey.onCorrectQuestionAnswer(this,o),o.result},t.prototype.getAnswerCorrectIgnoreOrder=function(){return!1},t.prototype.isAnswerCorrect=function(){return this.correctAnswerCount==this.quizQuestionCount},t.prototype.updateValueWithDefaults=function(){this.isLoadingFromJson||!this.isDesignMode&&this.isDefaultValueEmpty()||(this.isDesignMode||this.isEmpty())&&(this.isEmpty()&&this.isDefaultValueEmpty()||this.isClearValueOnHidden&&!this.isVisible||this.isDesignMode&&this.isContentElement&&this.isDefaultValueEmpty()||this.setDefaultValue())},Object.defineProperty(t.prototype,"isValueDefault",{get:function(){return!this.isEmpty()&&(this.isTwoValueEquals(this.defaultValue,this.value)||!this.isValueChangedDirectly&&!!this.defaultValueExpression)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isClearValueOnHidden",{get:function(){var e=this.getClearIfInvisible();return"none"!==e&&"onComplete"!==e&&("onHidden"===e||"onHiddenContainer"===e)},enumerable:!1,configurable:!0}),t.prototype.getQuestionFromArray=function(e,t){return null},t.prototype.getDefaultValue=function(){return this.defaultValue},t.prototype.isDefaultValueEmpty=function(){return!this.defaultValueExpression&&this.isValueEmpty(this.defaultValue,!this.allowSpaceAsAnswer)},t.prototype.getDefaultRunner=function(e,t){return!e&&t&&(e=this.createExpressionRunner(t)),e&&(e.expression=t),e},t.prototype.setDefaultValue=function(){var e=this;this.setDefaultValueCore((function(t){e.isTwoValueEquals(e.value,t)||(e.value=t)}))},t.prototype.setDefaultValueCore=function(e){this.defaultValueRunner=this.getDefaultRunner(this.defaultValueRunner,this.defaultValueExpression),this.setValueAndRunExpression(this.defaultValueRunner,this.getUnbindValue(this.defaultValue),(function(t){return e(t)}))},t.prototype.updateValueWithDefaultsOrClear=function(){this.isDesignMode||this.isLoadingFromJson||(this.isDefaultValueEmpty()?this.clearValue():this.setDefaultValue())},t.prototype.isValueExpression=function(e){return!!e&&"string"==typeof e&&e.length>0&&"="==e[0]},t.prototype.setValueAndRunExpression=function(e,t,n,o,i){var r=this;void 0===o&&(o=null),void 0===i&&(i=null);var a=function(e){r.runExpressionSetValueCore(e,n)};this.runDefaultValueExpression(e,o,i,a)||a(t)},t.prototype.convertFuncValuetoQuestionValue=function(e){return u.convertValToQuestionVal(e)},t.prototype.runExpressionSetValueCore=function(e,t){t(this.convertFuncValuetoQuestionValue(e))},t.prototype.runExpressionSetValue=function(e){var t=this;this.runExpressionSetValueCore(e,(function(e){t.isTwoValueEquals(t.value,e)||(t.startSetValueOnExpression(),t.value=e,t.finishSetValueOnExpression())}))},t.prototype.startSetValueOnExpression=function(){var e;null===(e=this.survey)||void 0===e||e.startSetValueOnExpression()},t.prototype.finishSetValueOnExpression=function(){var e;null===(e=this.survey)||void 0===e||e.finishSetValueOnExpression()},t.prototype.runDefaultValueExpression=function(e,t,n,o){var i=this;return void 0===t&&(t=null),void 0===n&&(n=null),!(!e||!this.data)&&(o||(o=function(e){i.runExpressionSetValue(e)}),t||(t=this.defaultValueExpression?this.data.getFilteredValues():{}),n||((n=this.defaultValueExpression?this.data.getFilteredProperties():{}).question=this),e&&e.canRun&&(e.onRunComplete=function(e){null==e&&(e=i.defaultValue),i.isChangingViaDefaultValue=!0,o(e),i.isChangingViaDefaultValue=!1},e.run(t,n)),!0)},Object.defineProperty(t.prototype,"comment",{get:function(){return this.getQuestionComment()},set:function(e){if(e){var t=e.toString().trim();t!==e&&(e=t)===this.comment&&this.setPropertyValueDirectly("comment",e)}this.comment!=e&&(this.setQuestionComment(e),this.updateCommentElements())},enumerable:!1,configurable:!0}),t.prototype.getCommentAreaCss=function(e){return void 0===e&&(e=!1),(new Ae).append("form-group",e).append(this.cssClasses.formGroup,!e).append(this.cssClasses.commentArea).toString()},t.prototype.getQuestionComment=function(){return this.questionComment},t.prototype.setQuestionComment=function(e){this.setNewComment(e)},t.prototype.isEmpty=function(){return this.isValueEmpty(this.value,!this.allowSpaceAsAnswer)},Object.defineProperty(t.prototype,"isAnswered",{get:function(){return this.getPropertyValue("isAnswered")||!1},set:function(e){this.setPropertyValue("isAnswered",e)},enumerable:!1,configurable:!0}),t.prototype.updateIsAnswered=function(){var e=this.isAnswered;this.setPropertyValue("isAnswered",this.getIsAnswered()),e!==this.isAnswered&&this.updateQuestionCss()},t.prototype.getIsAnswered=function(){return!this.isEmpty()},Object.defineProperty(t.prototype,"validators",{get:function(){return this.getPropertyValue("validators")},set:function(e){this.setPropertyValue("validators",e)},enumerable:!1,configurable:!0}),t.prototype.getValidators=function(){return this.validators},t.prototype.getSupportedValidators=function(){for(var e=[],t=this.getType();t;){var n=tn.supportedValidators[t];if(n)for(var o=n.length-1;o>=0;o--)e.splice(0,0,n[o]);t=L.findClass(t).parentName}return e},t.prototype.addConditionObjectsByContext=function(e,t){e.push({name:this.getFilteredName(),text:this.processedTitle,question:this})},t.prototype.getNestedQuestions=function(e,t){void 0===e&&(e=!1),void 0===t&&(t=!1);var n=[];return this.collectNestedQuestions(n,e,t),t||1!==n.length||n[0]!==this?n:[]},t.prototype.collectNestedQuestions=function(e,t,n){void 0===t&&(t=!1),void 0===n&&(n=!1),t&&!this.isVisible||this.collectNestedQuestionsCore(e,t,n)},t.prototype.collectNestedQuestionsCore=function(e,t,n){e.push(this)},t.prototype.getConditionJson=function(e,t){void 0===e&&(e=null),void 0===t&&(t=null);var n=(new q).toJsonObject(this);return n.type=this.getType(),n},t.prototype.hasErrors=function(e,t){void 0===e&&(e=!0),void 0===t&&(t=null);var n=this.checkForErrors(!!t&&!0===t.isOnValueChanged,e);return e&&(this.survey&&this.survey.beforeSettingQuestionErrors(this,n),this.errors=n,this.errors!==n&&this.errors.forEach((function(e){return e.locText.strChanged()}))),this.updateContainsErrors(),this.isCollapsed&&t&&e&&n.length>0&&this.expand(),n.length>0},t.prototype.validate=function(e,t){return void 0===e&&(e=!0),void 0===t&&(t=null),t&&t.isOnValueChanged&&this.parent&&this.parent.validateContainerOnly(),!this.hasErrors(e,t)},Object.defineProperty(t.prototype,"currentErrorCount",{get:function(){return this.errors.length},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"requiredText",{get:function(){return null!=this.survey&&this.isRequired?this.survey.requiredText:""},enumerable:!1,configurable:!0}),t.prototype.addError=function(e){if(e){var t=null;t="string"==typeof e||e instanceof String?this.addCustomError(e):e,this.errors.push(t)}},t.prototype.addCustomError=function(e){return new yn(e,this.survey)},t.prototype.removeError=function(e){if(!e)return!1;var t=this.errors,n=t.indexOf(e);return-1!==n&&t.splice(n,1),-1!==n},t.prototype.checkForErrors=function(e,t){var n=new Array;return this.isVisible&&this.canCollectErrors()&&this.collectErrors(n,e,t),n},t.prototype.canCollectErrors=function(){return!this.isReadOnly||tn.readOnly.enableValidation},t.prototype.collectErrors=function(e,t,n){if(this.onCheckForErrors(e,t,n),!(e.length>0)&&this.canRunValidators(t)){var o=this.runValidators();if(o.length>0){e.length=0;for(var i=0;i<o.length;i++)e.push(o[i])}if(this.survey&&0==e.length){var r=this.fireSurveyValidation();r&&e.push(r)}}},t.prototype.canRunValidators=function(e){return!0},t.prototype.fireSurveyValidation=function(){return this.validateValueCallback?this.validateValueCallback():this.survey?this.survey.validateQuestion(this):null},t.prototype.onCheckForErrors=function(e,t,n){var o=this;if((!t||this.isOldAnswered)&&this.hasRequiredError()){var i=new rn(this.requiredErrorText,this);i.onUpdateErrorTextCallback=function(e){e.text=o.requiredErrorText},e.push(i)}if(!this.isEmpty()&&this.customWidget){var r=this.customWidget.validate(this);r&&e.push(this.addCustomError(r))}},t.prototype.hasRequiredError=function(){return this.isRequired&&this.isEmpty()},Object.defineProperty(t.prototype,"isRunningValidators",{get:function(){return this.getIsRunningValidators()},enumerable:!1,configurable:!0}),t.prototype.getIsRunningValidators=function(){return this.isRunningValidatorsValue},t.prototype.runValidators=function(){var e=this;return this.validatorRunner&&(this.validatorRunner.onAsyncCompleted=null),this.validatorRunner=new Cn,this.isRunningValidatorsValue=!0,this.validatorRunner.onAsyncCompleted=function(t){e.doOnAsyncCompleted(t)},this.validatorRunner.run(this)},t.prototype.doOnAsyncCompleted=function(e){for(var t=0;t<e.length;t++)this.errors.push(e[t]);this.isRunningValidatorsValue=!1,this.raiseOnCompletedAsyncValidators()},t.prototype.raiseOnCompletedAsyncValidators=function(){this.onCompletedAsyncValidators&&!this.isRunningValidators&&(this.onCompletedAsyncValidators(this.getAllErrors().length>0),this.onCompletedAsyncValidators=null)},t.prototype.setNewValue=function(e){this.isNewValueEqualsToValue(e)||this.checkIsValueCorrect(e)&&(this.isOldAnswered=this.isAnswered,this.isSettingQuestionValue=!0,this.setNewValueInData(e),this.allowNotifyValueChanged&&this.onValueChanged(),this.isSettingQuestionValue=!1,this.isAnswered!==this.isOldAnswered&&this.updateQuestionCss(),this.isOldAnswered=void 0,this.parent&&this.parent.onQuestionValueChanged(this))},t.prototype.checkIsValueCorrect=function(e){var t=this.isValueEmpty(e,!this.allowSpaceAsAnswer)||this.isNewValueCorrect(e);return t||j.inCorrectQuestionValue(this.name,e),t},t.prototype.isNewValueCorrect=function(e){return!0},t.prototype.isNewValueEqualsToValue=function(e){var t=this.value;return!!this.isTwoValueEquals(e,t,!1,!1)&&!(e===t&&!!t&&(Array.isArray(t)||"object"==typeof t))},t.prototype.isTextValue=function(){return!1},t.prototype.getIsInputTextUpdate=function(){return!!this.survey&&this.survey.isUpdateValueTextOnTyping},Object.defineProperty(t.prototype,"requireStrictCompare",{get:function(){return!1},enumerable:!1,configurable:!0}),t.prototype.getExpressionValue=function(e){return e},t.prototype.getDataLocNotification=function(){return!!this.isInputTextUpdate&&"text"},Object.defineProperty(t.prototype,"isInputTextUpdate",{get:function(){return this.getIsInputTextUpdate()&&this.isTextValue()},enumerable:!1,configurable:!0}),t.prototype.setNewValueInData=function(e){e=this.valueToData(e),this.isValueChangedInSurvey||this.setValueCore(e)},t.prototype.getValueCore=function(){return this.questionValue},t.prototype.setValueCore=function(e){this.setQuestionValue(e),null!=this.data&&this.canSetValueToSurvey()&&(e=this.valueForSurvey,this.data.setValue(this.getValueName(),e,this.getDataLocNotification(),this.allowNotifyValueChanged,this.name)),this.isMouseDown=!1},t.prototype.canSetValueToSurvey=function(){return!0},t.prototype.valueFromData=function(e){return e},t.prototype.valueToData=function(e){return e},t.prototype.convertToCorrectValue=function(e){return e},t.prototype.onValueChanged=function(){},t.prototype.onMouseDown=function(){this.isMouseDown=!0},t.prototype.setNewComment=function(e){this.questionComment!==e&&(this.questionComment=e,this.setCommentIntoData(e))},t.prototype.setCommentIntoData=function(e){null!=this.data&&this.data.setComment(this.getValueName(),e,!!this.getIsInputTextUpdate()&&"text")},t.prototype.getValidName=function(e){return Ln(e)},t.prototype.updateValueFromSurvey=function(e,t){var n=this;if(void 0===t&&(t=!1),e=this.getUnbindValue(e),e=this.valueFromDataCore(e),this.checkIsValueCorrect(e)){var o=this.isValueEmpty(e);!o&&this.defaultValueExpression?this.setDefaultValueCore((function(t){n.updateValueFromSurveyCore(e,n.isTwoValueEquals(e,t))})):(this.updateValueFromSurveyCore(e,this.data!==this.getSurvey()),t&&o&&(this.isValueChangedDirectly=!1)),this.updateDependedQuestions(),this.updateIsAnswered()}},t.prototype.updateValueFromSurveyCore=function(e,t){this.isChangingViaDefaultValue=t,this.setQuestionValue(this.valueFromData(e)),this.isChangingViaDefaultValue=!1},t.prototype.updateCommentFromSurvey=function(e){this.questionComment=e},t.prototype.onChangeQuestionValue=function(e){},t.prototype.setValueChangedDirectly=function(e){this.isValueChangedDirectly=e,this.setValueChangedDirectlyCallback&&this.setValueChangedDirectlyCallback(e)},t.prototype.setQuestionValue=function(e,t){void 0===t&&(t=!0),e=this.convertToCorrectValue(e);var n=this.isTwoValueEquals(this.questionValue,e);n||this.isChangingViaDefaultValue||this.isParentChangingViaDefaultValue||this.setValueChangedDirectly(!0),this.questionValue=e,n||this.onChangeQuestionValue(e),!n&&this.allowNotifyValueChanged&&this.fireCallback(this.valueChangedCallback),t&&this.updateIsAnswered()},Object.defineProperty(t.prototype,"isParentChangingViaDefaultValue",{get:function(){var e;return!0===(null===(e=this.data)||void 0===e?void 0:e.isChangingViaDefaultValue)},enumerable:!1,configurable:!0}),t.prototype.onSurveyValueChanged=function(e){},t.prototype.setVisibleIndex=function(e){return(!this.isVisible||!this.hasTitle&&!tn.numbering.includeQuestionsWithHiddenTitle||this.hideNumber&&!tn.numbering.includeQuestionsWithHiddenNumber)&&(e=-1),this.setPropertyValue("visibleIndex",e),this.setPropertyValue("no",this.calcNo()),e<0?0:1},t.prototype.removeElement=function(e){return!1},t.prototype.supportGoNextPageAutomatic=function(){return!1},t.prototype.supportGoNextPageError=function(){return!0},t.prototype.clearIncorrectValues=function(){},t.prototype.clearOnDeletingContainer=function(){},t.prototype.clearErrors=function(){this.errors=[]},t.prototype.clearUnusedValues=function(){},t.prototype.onAnyValueChanged=function(e,t){},t.prototype.checkBindings=function(e,t){if(!this.bindings.isEmpty()&&this.data)for(var n=this.bindings.getPropertiesByValueName(e),o=0;o<n.length;o++){var i=n[o];this.isValueEmpty(t)&&u.isNumber(this[i])&&(t=0),this.updateBindingProp(i,t)}},t.prototype.updateBindingProp=function(e,t){this[e]=t},t.prototype.getComponentName=function(){return Rn.Instance.getRendererByQuestion(this)},t.prototype.isDefaultRendering=function(){return!!this.customWidget||"default"===this.getComponentName()},t.prototype.getErrorCustomText=function(e,t){return this.survey?this.survey.getSurveyErrorCustomText(this,e,t):e},t.prototype.getValidatorTitle=function(){return null},Object.defineProperty(t.prototype,"validatedValue",{get:function(){return this.value},set:function(e){this.value=e},enumerable:!1,configurable:!0}),t.prototype.getAllValues=function(){return this.data?this.data.getAllValues():null},t.prototype.processPopupVisiblilityChanged=function(e,t){this.survey.processPopupVisiblityChanged(this,e,t)},t.prototype.processOpenDropdownMenu=function(e){this.survey.processOpenDropdownMenu(this,e)},t.prototype.onTextKeyDownHandler=function(e){13===e.keyCode&&this.survey.questionEditFinishCallback(this,e)},t.prototype.transformToMobileView=function(){},t.prototype.transformToDesktopView=function(){},t.prototype.needResponsiveWidth=function(){return!1},t.prototype.supportResponsiveness=function(){return!1},t.prototype.needResponsiveness=function(){return this.supportResponsiveness()&&this.isDefaultV2Theme&&!this.isDesignMode},t.prototype.checkForResponsiveness=function(e){var t=this;if(this.needResponsiveness())if(this.isCollapsed){this.registerPropertyChangedHandlers(["state"],(function(){t.isExpanded&&(t.initResponsiveness(e),t.unregisterPropertyChangedHandlers(["state"],"for-responsiveness"))}),"for-responsiveness")}else this.initResponsiveness(e)},t.prototype.getObservedElementSelector=function(){return".sd-scrollable-container"},t.prototype.onMobileChanged=function(){this.onMobileChangedCallback&&this.onMobileChangedCallback()},t.prototype.triggerResponsiveness=function(e){void 0===e&&(e=!0),this.triggerResponsivenessCallback&&this.triggerResponsivenessCallback(e)},t.prototype.initResponsiveness=function(e){var t=this;if(this.destroyResizeObserver(),e&&this.isDefaultRendering()){var n=this.getObservedElementSelector();if(!n)return;if(!e.querySelector(n))return;var o=!1,i=void 0;this.triggerResponsivenessCallback=function(r){r&&(i=void 0,t.renderAs="default",o=!1);var a=function(){var r=e.querySelector(n);!i&&t.isDefaultRendering()&&(i=r.scrollWidth),o=!(o||!Wt(r))&&t.processResponsiveness(i,Ut(r))};r?setTimeout(a,1):a()},this.resizeObserver=new ResizeObserver((function(e){a.requestAnimationFrame((function(){t.triggerResponsiveness(!1)}))})),this.onMobileChangedCallback=function(){setTimeout((function(){var o=e.querySelector(n);t.processResponsiveness(i,Ut(o))}),0)},this.resizeObserver.observe(e)}},t.prototype.getCompactRenderAs=function(){return"default"},t.prototype.getDesktopRenderAs=function(){return"default"},t.prototype.onBeforeSetCompactRenderer=function(){},t.prototype.onBeforeSetDesktopRenderer=function(){},t.prototype.processResponsiveness=function(e,t){if(t=Math.round(t),Math.abs(e-t)>2){var n=this.renderAs;return e>t?(this.onBeforeSetCompactRenderer(),this.renderAs=this.getCompactRenderAs()):(this.onBeforeSetDesktopRenderer(),this.renderAs=this.getDesktopRenderAs()),n!==this.renderAs}return!1},t.prototype.destroyResizeObserver=function(){this.resizeObserver&&(this.resizeObserver.disconnect(),this.resizeObserver=void 0,this.onMobileChangedCallback=void 0,this.triggerResponsivenessCallback=void 0,this.renderAs=this.getDesktopRenderAs())},t.prototype.dispose=function(){e.prototype.dispose.call(this),this.resetDependedQuestions(),this.destroyResizeObserver()},t.prototype.resetDependedQuestions=function(){for(var e=0;e<this.dependedQuestions.length;e++)this.dependedQuestions[e].resetDependedQuestion()},Object.defineProperty(t.prototype,"isNewA11yStructure",{get:function(){return!1},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"ariaLabel",{get:function(){return this.isNewA11yStructure?null:this.locTitle.renderedHtml},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"ariaRole",{get:function(){return this.isNewA11yStructure?null:"textbox"},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"ariaRequired",{get:function(){return this.isNewA11yStructure?null:this.isRequired?"true":"false"},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"ariaInvalid",{get:function(){return this.isNewA11yStructure?null:this.hasCssError()?"true":"false"},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"ariaLabelledBy",{get:function(){return this.isNewA11yStructure?null:this.hasTitle?this.ariaTitleId:null},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"ariaDescribedBy",{get:function(){return this.isNewA11yStructure?null:this.hasTitle&&this.hasDescription?this.ariaDescriptionId:null},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"ariaErrormessage",{get:function(){return this.isNewA11yStructure?null:this.hasCssError()?this.id+"_errors":null},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"a11y_input_ariaRole",{get:function(){return null},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"a11y_input_ariaRequired",{get:function(){return this.isRequired?"true":"false"},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"a11y_input_ariaInvalid",{get:function(){return this.hasCssError()?"true":"false"},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"a11y_input_ariaLabel",{get:function(){return this.hasTitle&&!this.parentQuestion?null:this.locTitle.renderedHtml},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"a11y_input_ariaLabelledBy",{get:function(){return this.hasTitle&&!this.parentQuestion?this.ariaTitleId:null},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"a11y_input_ariaDescribedBy",{get:function(){return this.hasTitle&&!this.parentQuestion&&this.hasDescription?this.ariaDescriptionId:null},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"a11y_input_ariaErrormessage",{get:function(){return this.hasCssError()?this.id+"_errors":null},enumerable:!1,configurable:!0}),t.TextPreprocessorValuesMap={title:"processedTitle",require:"requiredText"},t.questionCounter=100,An([x({defaultValue:!1})],t.prototype,"_isMobile",void 0),An([x()],t.prototype,"forceIsInputReadOnly",void 0),An([x()],t.prototype,"ariaExpanded",void 0),An([x({localizable:!0,onSet:function(e,t){return t.resetRenderedCommentPlaceholder()}})],t.prototype,"commentPlaceholder",void 0),An([x()],t.prototype,"renderAs",void 0),An([x({defaultValue:!1})],t.prototype,"inMatrixMode",void 0),t}(yt);function Ln(e){if(!e)return e;for(e=e.trim().replace(/[\{\}]+/g,"");e&&e[0]===tn.expressionDisableConversionChar;)e=e.substring(1);return e}L.addClass("question",[{name:"!name",onSettingValue:function(e,t){return Ln(t)}},{name:"state",default:"default",choices:["default","collapsed","expanded"]},{name:"visible:switch",default:!0,overridingProperty:"visibleIf"},{name:"useDisplayValuesInDynamicTexts:boolean",alternativeName:"useDisplayValuesInTitle",default:!0,layout:"row"},"visibleIf:condition",{name:"width"},{name:"minWidth",defaultFunc:function(){return tn.minWidth}},{name:"maxWidth",defaultFunc:function(){return tn.maxWidth}},{name:"colSpan:number",visible:!1,onSerializeValue:function(e){return e.getPropertyValue("colSpan")}},{name:"effectiveColSpan:number",minValue:1,isSerializable:!1,visibleIf:function(e){return!!e&&!!e.survey&&e.survey.gridLayoutEnabled}},{name:"startWithNewLine:boolean",default:!0,layout:"row"},{name:"indent:number",default:0,choices:[0,1,2,3],layout:"row"},{name:"page",isSerializable:!1,visibleIf:function(e){var t=e?e.survey:null;return!t||!t.pages||t.pages.length>1},choices:function(e){var t=e?e.survey:null;return t?t.pages.map((function(e){return{value:e.name,text:e.title}})):[]}},{name:"title:text",serializationProperty:"locTitle",layout:"row",dependsOn:"name",onPropertyEditorUpdate:function(e,t){e&&t&&(t.placeholder=e.getDefaultTitle())}},{name:"titleLocation",default:"default",choices:["default","top","bottom","left","hidden"],layout:"row"},{name:"description:text",serializationProperty:"locDescription",layout:"row"},{name:"descriptionLocation",default:"default",choices:["default","underInput","underTitle"]},{name:"hideNumber:boolean",dependsOn:"titleLocation",visibleIf:function(e){if(!e)return!0;if("hidden"===e.titleLocation)return!1;var t=e?e.parent:null;if(!(!t||"off"!==t.showQuestionNumbers))return!1;var n=e?e.survey:null;return!n||"off"!==n.showQuestionNumbers||!!t&&"onpanel"===t.showQuestionNumbers}},{name:"valueName",onSettingValue:function(e,t){return Ln(t)}},"enableIf:condition","resetValueIf:condition","setValueIf:condition","setValueExpression:expression","defaultValue:value",{name:"defaultValueExpression:expression",category:"logic"},"correctAnswer:value",{name:"clearIfInvisible",default:"default",choices:["default","none","onComplete","onHidden","onHiddenContainer"]},{name:"isRequired:switch",overridingProperty:"requiredIf"},"requiredIf:condition",{name:"requiredErrorText:text",serializationProperty:"locRequiredErrorText"},{name:"errorLocation",default:"default",choices:["default","top","bottom"]},{name:"readOnly:switch",overridingProperty:"enableIf"},{name:"validators:validators",baseClassName:"surveyvalidator",classNamePart:"validator"},{name:"bindings:bindings",serializationProperty:"bindings",visibleIf:function(e){return e.bindings.getNames().length>0}},{name:"renderAs",default:"default",visible:!1},{name:"showCommentArea",visible:!1,default:!1,alternativeName:"hasComment",category:"general"},{name:"commentText",dependsOn:"showCommentArea",visibleIf:function(e){return e.showCommentArea},serializationProperty:"locCommentText"},{name:"commentPlaceholder",alternativeName:"commentPlaceHolder",serializationProperty:"locCommentPlaceholder",dependsOn:"showCommentArea",visibleIf:function(e){return e.hasComment}}]),L.addAlterNativeClassName("question","questionbase");var Mn=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(t,n)};return function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function o(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}}(),jn=function(e,t,n,o){var i,r=arguments.length,a=r<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,n):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,o);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(a=(r<3?i(a):r>3?i(t,n,a):i(t,n))||a);return r>3&&a&&Object.defineProperty(t,n,a),a},Nn=function(e){function t(t,n,o){void 0===n&&(n=null),void 0===o&&(o="itemvalue");var i=e.call(this)||this;return i.typeName=o,i.ownerPropertyName="",i.locTextValue=new bt(i,!0,"text"),i.locTextValue.onStrChanged=function(e,t){i.propertyValueChanged("text",e,t)},i.locTextValue.onGetTextCallback=function(e){return e||(u.isValueEmpty(i.value)?null:i.value.toString())},n&&(i.locText.text=n),t&&"object"==typeof t?i.setData(t,!0):i.setValue(t,!0),"itemvalue"!=i.getType()&&k.createProperties(i),i.data=i,i.onCreating(),i}return Mn(t,e),t.prototype.getMarkdownHtml=function(e,t){return this.locOwner?this.locOwner.getMarkdownHtml(e,t):void 0},t.prototype.getRenderer=function(e){return this.locOwner?this.locOwner.getRenderer(e):null},t.prototype.getRendererContext=function(e){return this.locOwner?this.locOwner.getRendererContext(e):e},t.prototype.getProcessedText=function(e){return this.locOwner?this.locOwner.getProcessedText(e):e},Object.defineProperty(t,"Separator",{get:function(){return tn.itemValueSeparator},set:function(e){tn.itemValueSeparator=e},enumerable:!1,configurable:!0}),t.setData=function(e,t,n){e.length=0;for(var o=0;o<t.length;o++){var i=t[o],r=i&&"function"==typeof i.getType?i.getType():null!=n?n:"itemvalue",a=L.createClass(r);a.setData(i),i.originalItem&&(a.originalItem=i.originalItem),e.push(a)}},t.getData=function(e){for(var t=[],n=0;n<e.length;n++)t.push(e[n].getData());return t},t.getItemByValue=function(e,t){if(!Array.isArray(e))return null;for(var n=u.isValueEmpty(t),o=0;o<e.length;o++){if(n&&u.isValueEmpty(e[o].value))return e[o];if(u.isTwoValueEquals(e[o].value,t,!1,!0,!1))return e[o]}return null},t.getTextOrHtmlByValue=function(e,n){var o=t.getItemByValue(e,n);return null!==o?o.locText.textOrHtml:""},t.locStrsChanged=function(e){for(var t=0;t<e.length;t++)e[t].locStrsChanged()},t.runConditionsForItems=function(e,n,o,i,r,a,s){return void 0===a&&(a=!0),t.runConditionsForItemsCore(e,n,o,i,r,!0,a,s)},t.runEnabledConditionsForItems=function(e,n,o,i,r){return t.runConditionsForItemsCore(e,null,n,o,i,!1,!0,r)},t.runConditionsForItemsCore=function(e,t,n,o,i,r,a,s){void 0===a&&(a=!0),o||(o={});for(var l=o.item,u=o.choice,c=!1,p=0;p<e.length;p++){var d=e[p];o.item=d.value,o.choice=d.value;var h=!(!a||!d.getConditionRunner)&&d.getConditionRunner(r);h||(h=n);var m=!0;h&&(m=h.run(o,i)),s&&(m=s(d,m)),t&&m&&t.push(d),m!=(r?d.isVisible:d.isEnabled)&&(c=!0,r?d.setIsVisible&&d.setIsVisible(m):d.setIsEnabled&&d.setIsEnabled(m))}return l?o.item=l:delete o.item,u?o.choice=u:delete o.choice,c},t.prototype.onCreating=function(){},t.prototype.getType=function(){return this.typeName?this.typeName:"itemvalue"},t.prototype.getSurvey=function(e){return void 0===e&&(e=!1),this.locOwner&&this.locOwner.getSurvey?this.locOwner.getSurvey():null},t.prototype.getLocale=function(){return this.locOwner&&this.locOwner.getLocale?this.locOwner.getLocale():""},Object.defineProperty(t.prototype,"isInternal",{get:function(){return!0===this.isGhost},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"locText",{get:function(){return this.locTextValue},enumerable:!1,configurable:!0}),t.prototype.setLocText=function(e){this.locTextValue=e},Object.defineProperty(t.prototype,"locOwner",{get:function(){return this._locOwner},set:function(e){this._locOwner=e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"value",{get:function(){return this.getPropertyValue("value")},set:function(e){this.setValue(e,!1)},enumerable:!1,configurable:!0}),t.prototype.setValue=function(e,t){var n=void 0;if(!u.isValueEmpty(e)){var o=e.toString(),i=o.indexOf(tn.itemValueSeparator);i>-1&&(e=o.slice(0,i),n=o.slice(i+1))}t?this.setPropertyValueDirectly("value",e):this.setPropertyValue("value",e),n&&(this.text=n),this.id=this.value},Object.defineProperty(t.prototype,"hasText",{get:function(){return!!this.locText.pureText},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"pureText",{get:function(){return this.locText.pureText},set:function(e){this.text=e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"text",{get:function(){return this.locText.calculatedText},set:function(e){this.locText.text=e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"calculatedText",{get:function(){return this.locText.calculatedText},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"shortcutText",{get:function(){return this.text},enumerable:!1,configurable:!0}),t.prototype.canSerializeValue=function(){var e=this.value;return null!=e&&(!Array.isArray(e)&&"object"!=typeof e)},t.prototype.getData=function(){var e=this.toJSON();if(e.value&&e.value.pos&&delete e.value.pos,u.isValueEmpty(e.value))return e;var t=this.canSerializeValue();return t&&(tn.serialization.itemValueSerializeAsObject||tn.serialization.itemValueSerializeDisplayText)||1!=Object.keys(e).length?(tn.serialization.itemValueSerializeDisplayText&&void 0===e.text&&t&&(e.text=this.value.toString()),e):this.value},t.prototype.toJSON=function(){var e={},t=L.getProperties(this.getType());t&&0!=t.length||(t=L.getProperties("itemvalue"));for(var n=new q,o=0;o<t.length;o++){var i=t[o];"text"===i.name&&!this.locText.hasNonDefaultText()&&u.isTwoValueEquals(this.value,this.text,!1,!0,!1)||n.valueToJson(this,e,i)}return e},t.prototype.setData=function(e,t){if(!u.isValueEmpty(e)){if(void 0===e.value&&void 0!==e.text&&1===Object.keys(e).length&&(e.value=e.text),void 0!==e.value){var n=void 0;n="function"==typeof e.toJSON?e.toJSON():e,(new q).toObject(n,this)}else this.setValue(e,t);t||this.locText.strChanged()}},Object.defineProperty(t.prototype,"visibleIf",{get:function(){return this.getPropertyValueWithoutDefault("visibleIf")||""},set:function(e){this.setPropertyValue("visibleIf",e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"enableIf",{get:function(){return this.getPropertyValueWithoutDefault("enableIf")||""},set:function(e){this.setPropertyValue("enableIf",e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isVisible",{get:function(){var e=this.getPropertyValueWithoutDefault("isVisible");return void 0===e||e},enumerable:!1,configurable:!0}),t.prototype.setIsVisible=function(e){this.setPropertyValue("isVisible",e)},Object.defineProperty(t.prototype,"isEnabled",{get:function(){var e=this.getPropertyValueWithoutDefault("isEnabled");return void 0===e||e},enumerable:!1,configurable:!0}),t.prototype.setIsEnabled=function(e){this.setPropertyValue("isEnabled",e)},t.prototype.addUsedLocales=function(e){this.AddLocStringToUsedLocales(this.locTextValue,e)},t.prototype.locStrsChanged=function(){e.prototype.locStrsChanged.call(this),this.locText.strChanged()},t.prototype.onPropertyValueChanged=function(e,t,n){"value"!==e||this.hasText||this.locText.strChanged();this.locOwner&&this.locOwner.itemValuePropertyChanged&&this.locOwner.itemValuePropertyChanged(this,e,t,n)},t.prototype.getConditionRunner=function(e){return e?this.getVisibleConditionRunner():this.getEnableConditionRunner()},t.prototype.getVisibleConditionRunner=function(){return this.visibleIf?(this.visibleConditionRunner||(this.visibleConditionRunner=new be(this.visibleIf)),this.visibleConditionRunner.expression=this.visibleIf,this.visibleConditionRunner):null},t.prototype.getEnableConditionRunner=function(){return this.enableIf?(this.enableConditionRunner||(this.enableConditionRunner=new be(this.enableIf)),this.enableConditionRunner.expression=this.enableIf,this.enableConditionRunner):null},Object.defineProperty(t.prototype,"selected",{get:function(){var e=this,t=this._locOwner;return t instanceof qn&&t.isItemSelected&&void 0===this.selectedValue&&(this.selectedValue=new Ve((function(){return t.isItemSelected(e)}))),this.selectedValue},enumerable:!1,configurable:!0}),t.prototype.getComponent=function(){return this._locOwner instanceof qn?this.componentValue||this._locOwner.itemComponent:this.componentValue},t.prototype.setComponent=function(e){this.componentValue=e},t.prototype.setRootElement=function(e){this._htmlElement=e},t.prototype.getRootElement=function(){return this._htmlElement},t.prototype.getEnabled=function(){return this.isEnabled},t.prototype.setEnabled=function(e){this.setIsEnabled(e)},t.prototype.getVisible=function(){var e=void 0===this.isVisible||this.isVisible,t=void 0===this._visible||this._visible;return e&&t},t.prototype.setVisible=function(e){this.visible!==e&&(this._visible=e)},t.prototype.getLocTitle=function(){return this.locText},t.prototype.getTitle=function(){return this.text},t.prototype.setLocTitle=function(e){},t.prototype.setTitle=function(e){},jn([x({defaultValue:!0})],t.prototype,"_visible",void 0),jn([x()],t.prototype,"selectedValue",void 0),jn([x()],t.prototype,"icon",void 0),t}(et);_e.createItemValue=function(e,t){var n=null;return(n=t?q.metaData.createClass(t,{}):"function"==typeof e.getType?new Nn(null,void 0,e.getType()):new Nn(null)).setData(e),n},_e.itemValueLocStrChanged=function(e){Nn.locStrsChanged(e)},P.getItemValuesDefaultValue=function(e,t){var n=new Array;return Nn.setData(n,Array.isArray(e)?e:[],t),n},L.addClass("itemvalue",[{name:"!value",isUnique:!0},{name:"text",serializationProperty:"locText"},{name:"visibleIf:condition",showMode:"form"},{name:"enableIf:condition",showMode:"form",visibleIf:function(e){return!e||"rateValues"!==e.ownerPropertyName}}],(function(e){return new Nn(e)}));var Fn=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(t,n)};return function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function o(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}}(),Bn=function(e){function t(t,n){void 0===t&&(t=null),void 0===n&&(n=null);var o=e.call(this)||this;return o.expressionIsRunning=!1,o.isCalculated=!1,t&&(o.name=t),n&&(o.expression=n),o}return Fn(t,e),t.prototype.setOwner=function(e){this.data=e,this.rerunExpression()},t.prototype.getType=function(){return"calculatedvalue"},t.prototype.getSurvey=function(e){return void 0===e&&(e=!1),this.data&&this.data.getSurvey?this.data.getSurvey():null},Object.defineProperty(t.prototype,"owner",{get:function(){return this.data},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"name",{get:function(){return this.getPropertyValue("name")||""},set:function(e){this.setPropertyValue("name",e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"includeIntoResult",{get:function(){return this.getPropertyValue("includeIntoResult")},set:function(e){this.setPropertyValue("includeIntoResult",e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"expression",{get:function(){return this.getPropertyValue("expression")||""},set:function(e){this.setPropertyValue("expression",e),this.rerunExpression()},enumerable:!1,configurable:!0}),t.prototype.locCalculation=function(){this.expressionIsRunning=!0},t.prototype.unlocCalculation=function(){this.expressionIsRunning=!1},t.prototype.resetCalculation=function(){this.isCalculated=!1},t.prototype.doCalculation=function(e,t,n){this.isCalculated||(this.runExpressionCore(e,t,n),this.isCalculated=!0)},t.prototype.runExpression=function(e,t){this.runExpressionCore(null,e,t)},Object.defineProperty(t.prototype,"value",{get:function(){if(this.data)return this.data.getVariable(this.name)},enumerable:!1,configurable:!0}),t.prototype.setValue=function(e){this.data&&this.data.setVariable(this.name,e)},Object.defineProperty(t.prototype,"canRunExpression",{get:function(){return!(!this.data||this.isLoadingFromJson||!this.expression||this.expressionIsRunning||!this.name)},enumerable:!1,configurable:!0}),t.prototype.rerunExpression=function(){this.canRunExpression&&this.runExpression(this.data.getFilteredValues(),this.data.getFilteredProperties())},t.prototype.runExpressionCore=function(e,t,n){this.canRunExpression&&(this.ensureExpression(t),this.locCalculation(),e&&this.runDependentExpressions(e,t,n),this.expressionRunner.run(t,n))},t.prototype.runDependentExpressions=function(e,t,n){var o=this.expressionRunner.getVariables();if(o)for(var i=0;i<e.length;i++){var r=e[i];r===this||o.indexOf(r.name)<0||(r.doCalculation(e,t,n),t[r.name]=r.value)}},t.prototype.ensureExpression=function(e){var t=this;this.expressionRunner||(this.expressionRunner=new xe(this.expression),this.expressionRunner.onRunComplete=function(e){u.isTwoValueEquals(e,t.value,!1,!0,!1)||t.setValue(e),t.unlocCalculation()})},t}(_e);L.addClass("calculatedvalue",[{name:"!name",isUnique:!0},"expression:expression","includeIntoResult:boolean"],(function(){return new Bn}),"base");var zn=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(t,n)};return function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function o(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}}(),Hn=function(e){function t(t){void 0===t&&(t=null);var n=e.call(this)||this;return n.expression=t,n}return zn(t,e),t.prototype.getType=function(){return"expressionitem"},t.prototype.runCondition=function(e,t){return!!this.expression&&new be(this.expression).run(e,t)},Object.defineProperty(t.prototype,"expression",{get:function(){return this.getPropertyValue("expression","")},set:function(e){this.setPropertyValue("expression",e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"locHtml",{get:function(){return this.getLocalizableString("html")},enumerable:!1,configurable:!0}),t.prototype.getLocale=function(){return this.locOwner?this.locOwner.getLocale():""},t.prototype.getMarkdownHtml=function(e,t){return this.locOwner?this.locOwner.getMarkdownHtml(e,t):void 0},t.prototype.getRenderer=function(e){return this.locOwner?this.locOwner.getRenderer(e):null},t.prototype.getRendererContext=function(e){return this.locOwner?this.locOwner.getRendererContext(e):e},t.prototype.getProcessedText=function(e){return this.locOwner?this.locOwner.getProcessedText(e):e},t.prototype.getSurvey=function(e){return void 0===e&&(e=!1),this.locOwner},t}(_e),Qn=function(e){function t(t,n){void 0===t&&(t=null),void 0===n&&(n=null);var o=e.call(this,t)||this;return o.createLocalizableString("html",o),o.html=n,o}return zn(t,e),t.prototype.getType=function(){return"htmlconditionitem"},Object.defineProperty(t.prototype,"html",{get:function(){return this.getLocalizableStringText("html")},set:function(e){this.setLocalizableStringText("html",e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"locHtml",{get:function(){return this.getLocalizableString("html")},enumerable:!1,configurable:!0}),t}(Hn),Un=function(e){function t(t,n){void 0===t&&(t=null),void 0===n&&(n=null);var o=e.call(this,t)||this;return o.createLocalizableString("url",o),o.url=n,o}return zn(t,e),t.prototype.getType=function(){return"urlconditionitem"},Object.defineProperty(t.prototype,"url",{get:function(){return this.getLocalizableStringText("url")},set:function(e){this.setLocalizableStringText("url",e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"locUrl",{get:function(){return this.getLocalizableString("url")},enumerable:!1,configurable:!0}),t}(Hn);L.addClass("expressionitem",["expression:condition"],(function(){return new Hn}),"base"),L.addClass("htmlconditionitem",[{name:"html:html",serializationProperty:"locHtml"}],(function(){return new Qn}),"expressionitem"),L.addClass("urlconditionitem",[{name:"url:string",serializationProperty:"locUrl"}],(function(){return new Un}),"expressionitem");var Wn=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(t,n)};return function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function o(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}}(),$n=function(){function e(){this.parser=new DOMParser}return e.prototype.assignValue=function(e,t,n){Array.isArray(e[t])?e[t].push(n):void 0!==e[t]?e[t]=[e[t]].concat(n):"object"==typeof n&&1===Object.keys(n).length&&Object.keys(n)[0]===t?e[t]=n[t]:e[t]=n},e.prototype.xml2Json=function(e,t){if(e.children&&e.children.length>0)for(var n=0;n<e.children.length;n++){var o=e.children[n],i={};this.xml2Json(o,i),this.assignValue(t,o.nodeName,i)}else this.assignValue(t,e.nodeName,e.textContent)},e.prototype.parseXmlString=function(e){var t=this.parser.parseFromString(e,"text/xml"),n={};return this.xml2Json(t,n),n},e}(),Gn=function(e){function t(){var t=e.call(this)||this;return t.lastObjHash="",t.isRunningValue=!1,t.processedUrl="",t.processedPath="",t.isUsingCacheFromUrl=void 0,t.error=null,t.createItemValue=function(e){return new Nn(e)},t.registerPropertyChangedHandlers(["url"],(function(){t.owner&&t.owner.setPropertyValue("isUsingRestful",!!t.url)})),t}return Wn(t,e),Object.defineProperty(t,"EncodeParameters",{get:function(){return tn.web.encodeUrlParams},set:function(e){tn.web.encodeUrlParams=e},enumerable:!1,configurable:!0}),t.clearCache=function(){t.itemsResult={},t.sendingSameRequests={}},t.addSameRequest=function(e){if(!e.isUsingCache)return!1;var n=e.objHash,o=t.sendingSameRequests[n];return o?(o.push(e),e.isRunningValue=!0,!0):(t.sendingSameRequests[e.objHash]=[],!1)},t.unregisterSameRequests=function(e,n){if(e.isUsingCache){var o=t.sendingSameRequests[e.objHash];if(delete t.sendingSameRequests[e.objHash],o)for(var i=0;i<o.length;i++)o[i].isRunningValue=!1,o[i].getResultCallback&&o[i].getResultCallback(n)}},Object.defineProperty(t,"onBeforeSendRequest",{get:function(){return tn.web.onBeforeRequestChoices},set:function(e){tn.web.onBeforeRequestChoices=e},enumerable:!1,configurable:!0}),t.getCachedItemsResult=function(e){var n=e.objHash,o=t.itemsResult[n];return!!o&&(e.getResultCallback&&e.getResultCallback(o),!0)},t.prototype.getSurvey=function(e){return void 0===e&&(e=!1),this.owner?this.owner.survey:null},t.prototype.run=function(e){if(void 0===e&&(e=null),this.url&&this.getResultCallback){if(this.processedText(e),!this.processedUrl)return this.doEmptyResultCallback({}),void(this.lastObjHash=this.objHash);this.lastObjHash!==this.objHash&&(this.lastObjHash=this.objHash,this.error=null,this.useChangedItemsResults()||t.addSameRequest(this)||this.sendRequest())}},Object.defineProperty(t.prototype,"isUsingCache",{get:function(){return!0===this.isUsingCacheFromUrl||!1!==this.isUsingCacheFromUrl&&tn.web.cacheLoadedChoices},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isRunning",{get:function(){return this.getIsRunning()},enumerable:!1,configurable:!0}),t.prototype.getIsRunning=function(){return this.isRunningValue},Object.defineProperty(t.prototype,"isWaitingForParameters",{get:function(){return this.url&&!this.processedUrl},enumerable:!1,configurable:!0}),t.prototype.useChangedItemsResults=function(){return t.getCachedItemsResult(this)},t.prototype.doEmptyResultCallback=function(e){var t=[];this.updateResultCallback&&(t=this.updateResultCallback(t,e)),this.getResultCallback(t)},t.prototype.processedText=function(e){var n=this.url;if(n&&(n=n.replace(t.cacheText,"").replace(t.noCacheText,"")),e){var o=e.processTextEx({text:n,runAtDesign:!0}),i=e.processTextEx({text:this.path,runAtDesign:!0});o.hasAllValuesOnLastRun&&i.hasAllValuesOnLastRun?(this.processedUrl=o.text,this.processedPath=i.text):(this.processedUrl="",this.processedPath="")}else this.processedUrl=n,this.processedPath=this.path;this.onProcessedUrlCallback&&this.onProcessedUrlCallback(this.processedUrl,this.processedPath)},t.prototype.parseResponse=function(e){var t;if(e&&"function"==typeof e.indexOf&&0===e.indexOf("<"))t=(new $n).parseXmlString(e);else try{t=JSON.parse(e)}catch(n){t=(e||"").split("\n").map((function(e){return e.trim(" ")})).filter((function(e){return!!e}))}return t},t.prototype.sendRequest=function(){var e=new XMLHttpRequest;e.open("GET",this.processedUrl),e.setRequestHeader("Content-Type","application/x-www-form-urlencoded");var t=this,n=this.objHash;e.onload=function(){t.beforeLoadRequest(),200===e.status?t.onLoad(t.parseResponse(e.response),n):t.onError(e.statusText,e.responseText)};var o={request:e};tn.web.onBeforeRequestChoices&&tn.web.onBeforeRequestChoices(this,o),this.beforeSendRequest(),o.request.send()},t.prototype.getType=function(){return"choicesByUrl"},Object.defineProperty(t.prototype,"isEmpty",{get:function(){return!this.url&&!this.path},enumerable:!1,configurable:!0}),t.prototype.getCustomPropertiesNames=function(){for(var e=this.getCustomProperties(),t=new Array,n=0;n<e.length;n++)t.push(this.getCustomPropertyName(e[n].name));return t},t.prototype.getCustomPropertyName=function(e){return e+"Name"},t.prototype.getCustomProperties=function(){for(var e=L.getProperties(this.itemValueType),t=[],n=0;n<e.length;n++)"value"!==e[n].name&&"text"!==e[n].name&&"visibleIf"!==e[n].name&&"enableIf"!==e[n].name&&t.push(e[n]);return t},t.prototype.getAllPropertiesNames=function(){var e=new Array;return L.getPropertiesByObj(this).forEach((function(t){return e.push(t.name)})),this.getCustomPropertiesNames().forEach((function(t){return e.push(t)})),e},t.prototype.setData=function(e){var t=this;e||(e={}),this.getAllPropertiesNames().forEach((function(n){t[n]=e[n]}))},t.prototype.getData=function(){var e=this,t={},n=!1;return this.getAllPropertiesNames().forEach((function(o){var i=e[o];e.isValueEmpty(i)||i===e.getDefaultPropertyValue(o)||(t[o]=i,n=!0)})),n?t:null},Object.defineProperty(t.prototype,"url",{get:function(){return this.getPropertyValue("url")||""},set:function(e){this.setPropertyValue("url",e),this.isUsingCacheFromUrl=void 0,e&&(e.indexOf(t.cacheText)>-1?this.isUsingCacheFromUrl=!0:e.indexOf(t.noCacheText)>-1&&(this.isUsingCacheFromUrl=!1))},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"path",{get:function(){return this.getPropertyValue("path")||""},set:function(e){this.setPropertyValue("path",e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"valueName",{get:function(){return this.getPropertyValue("valueName")||""},set:function(e){this.setPropertyValue("valueName",e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"titleName",{get:function(){return this.getPropertyValue("titleName")||""},set:function(e){this.setPropertyValue("titleName",e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"imageLinkName",{get:function(){return this.getPropertyValue("imageLinkName")||""},set:function(e){this.setPropertyValue("imageLinkName",e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"allowEmptyResponse",{get:function(){return this.getPropertyValue("allowEmptyResponse")},set:function(e){this.setPropertyValue("allowEmptyResponse",e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"attachOriginalItems",{get:function(){return this.getPropertyValue("attachOriginalItems")},set:function(e){this.setPropertyValue("attachOriginalItems",e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"itemValueType",{get:function(){if(!this.owner)return"itemvalue";var e=L.findProperty(this.owner.getType(),"choices");return e?"itemvalue[]"==e.type?"itemvalue":e.type:"itemvalue"},enumerable:!1,configurable:!0}),t.prototype.clear=function(){this.setData(void 0)},t.prototype.beforeSendRequest=function(){this.isRunningValue=!0,this.beforeSendRequestCallback&&this.beforeSendRequestCallback()},t.prototype.beforeLoadRequest=function(){this.isRunningValue=!1},t.prototype.onLoad=function(e,n){void 0===n&&(n=null),n||(n=this.objHash);var o=new Array,i=this.getResultAfterPath(e);if(i&&i.length)for(var r=0;r<i.length;r++){var a=i[r];if(a){var s=this.getItemValueCallback?this.getItemValueCallback(a):this.getValue(a),l=this.createItemValue(s);this.setTitle(l,a),this.setCustomProperties(l,a),this.attachOriginalItems&&(l.originalItem=a);var u=this.getImageLink(a);u&&(l.imageLink=u),o.push(l)}}else this.allowEmptyResponse||(this.error=new cn(null,this.owner));this.updateResultCallback&&(o=this.updateResultCallback(o,e)),this.isUsingCache&&(t.itemsResult[n]=o),this.callResultCallback(o,n),t.unregisterSameRequests(this,o)},t.prototype.callResultCallback=function(e,t){t==this.objHash&&this.getResultCallback(e)},t.prototype.setCustomProperties=function(e,t){for(var n=this.getCustomProperties(),o=0;o<n.length;o++){var i=n[o],r=this.getValueCore(t,this.getPropertyBinding(i.name));this.isValueEmpty(r)||(e[i.name]=r)}},t.prototype.getPropertyBinding=function(e){return this[this.getCustomPropertyName(e)]?this[this.getCustomPropertyName(e)]:this[e]?this[e]:e},t.prototype.onError=function(e,n){this.error=new un(e,n,this.owner),this.doEmptyResultCallback(n),t.unregisterSameRequests(this,[])},t.prototype.getResultAfterPath=function(e){if(!e)return e;if(!this.processedPath)return e;for(var t=this.getPathes(),n=0;n<t.length;n++)if(!(e=e[t[n]]))return null;return e},t.prototype.getPathes=function(){var e=[];return 0==(e=this.processedPath.indexOf(";")>-1?this.path.split(";"):this.processedPath.indexOf(",")>-1?this.processedPath.split(","):this.processedPath.split(".")).length&&e.push(this.processedPath),e},t.prototype.getValue=function(e){return e?this.valueName?this.getValueCore(e,this.valueName):e instanceof Object?Object.keys(e).length<1?null:e[Object.keys(e)[0]]:e:null},t.prototype.setTitle=function(e,t){var n=this.titleName?this.titleName:"title",o=this.getValueCore(t,n);o&&("string"==typeof o?e.text=o:e.locText.setJson(o))},t.prototype.getImageLink=function(e){var t=this.imageLinkName?this.imageLinkName:"imageLink";return this.getValueCore(e,t)},t.prototype.getValueCore=function(e,t){if(!e)return null;if(t.indexOf(".")<0)return e[t];for(var n=t.split("."),o=0;o<n.length;o++)if(!(e=e[n[o]]))return null;return e},Object.defineProperty(t.prototype,"objHash",{get:function(){return this.processedUrl+";"+this.processedPath+";"+this.valueName+";"+this.titleName+";"+this.imageLinkName},enumerable:!1,configurable:!0}),t.cacheText="{CACHE}",t.noCacheText="{NOCACHE}",t.itemsResult={},t.sendingSameRequests={},t}(_e),Kn=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Wn(t,e),Object.defineProperty(t,"EncodeParameters",{get:function(){return Gn.EncodeParameters},set:function(e){Gn.EncodeParameters=e},enumerable:!1,configurable:!0}),t.clearCache=function(){Gn.clearCache()},Object.defineProperty(t,"onBeforeSendRequest",{get:function(){return tn.web.onBeforeRequestChoices},set:function(e){tn.web.onBeforeRequestChoices=e},enumerable:!1,configurable:!0}),t}(Gn);L.addClass("choicesByUrl",["url","path","valueName","titleName",{name:"imageLinkName",visibleIf:function(e){return!!e&&!!e.owner&&"imagepicker"==e.owner.getType()}},{name:"allowEmptyResponse:boolean"},{name:"attachOriginalItems:boolean",visible:!1}],(function(){return new Gn}));var Zn=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(t,n)};return function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function o(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}}(),Jn=function(e,t,n,o){var i,r=arguments.length,a=r<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,n):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,o);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(a=(r<3?i(a):r>3?i(t,n,a):i(t,n))||a);return r>3&&a&&Object.defineProperty(t,n,a),a},Yn=function(e){function t(t){var n=e.call(this,t)||this;return n.generatedVisibleRows=null,n.generatedTotalRow=null,n.filteredRows=null,n.columns=n.createColumnValues(),n.rows=n.createItemValues("rows"),n}return Zn(t,e),t.prototype.createColumnValues=function(){return this.createItemValues("columns")},t.prototype.getType=function(){return"matrixbase"},t.prototype.endLoadingFromJson=function(){e.prototype.endLoadingFromJson.call(this),this.updateVisibilityBasedOnRows()},Object.defineProperty(t.prototype,"isCompositeQuestion",{get:function(){return!0},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"showHeader",{get:function(){return this.getPropertyValue("showHeader")},set:function(e){this.setPropertyValue("showHeader",e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"columns",{get:function(){return this.getPropertyValue("columns")},set:function(e){this.setPropertyValue("columns",e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"visibleColumns",{get:function(){var e=this,t=[];return this.columns.forEach((function(n){e.isColumnVisible(n)&&t.push(n)})),t},enumerable:!1,configurable:!0}),t.prototype.isColumnVisible=function(e){return e.isVisible},Object.defineProperty(t.prototype,"rows",{get:function(){return this.getPropertyValue("rows")},set:function(e){var t=this.processRowsOnSet(e);this.setPropertyValue("rows",t)},enumerable:!1,configurable:!0}),t.prototype.processRowsOnSet=function(e){return e},t.prototype.getVisibleRows=function(){return[]},Object.defineProperty(t.prototype,"visibleRows",{get:function(){return this.getVisibleRows()},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"rowsVisibleIf",{get:function(){return this.getPropertyValue("rowsVisibleIf","")},set:function(e){this.setPropertyValue("rowsVisibleIf",e),this.isLoadingFromJsonValue||this.runCondition(this.getDataFilteredValues(),this.getDataFilteredProperties())},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"columnsVisibleIf",{get:function(){return this.getPropertyValue("columnsVisibleIf","")},set:function(e){this.setPropertyValue("columnsVisibleIf",e),this.isLoadingFromJson||this.runCondition(this.getDataFilteredValues(),this.getDataFilteredProperties())},enumerable:!1,configurable:!0}),t.prototype.runCondition=function(t,n){e.prototype.runCondition.call(this,t,n),this.runItemsCondition(t,n)},t.prototype.onColumnsChanged=function(){},t.prototype.onRowsChanged=function(){this.updateVisibilityBasedOnRows(),this.fireCallback(this.visibleRowsChangedCallback)},t.prototype.updateVisibilityBasedOnRows=function(){this.hideIfRowsEmpty&&this.onVisibleChanged()},t.prototype.isVisibleCore=function(){var t,n=e.prototype.isVisibleCore.call(this);return n&&this.hideIfRowsEmpty?(null===(t=this.visibleRows)||void 0===t?void 0:t.length)>0:n},t.prototype.shouldRunColumnExpression=function(){return!this.survey||!this.survey.areInvisibleElementsShowing},t.prototype.hasRowsAsItems=function(){return!0},t.prototype.runItemsCondition=function(e,t){var n=this.hasRowsAsItems()&&this.runConditionsForRows(e,t),o=this.runConditionsForColumns(e,t);(n=o||n)&&(this.isClearValueOnHidden&&o&&this.clearInvisibleColumnValues(),this.clearGeneratedRows(),o&&this.onColumnsChanged(),this.onRowsChanged())},t.prototype.isRowsFiltered=function(){return!!this.filteredRows},t.prototype.clearGeneratedRows=function(){this.generatedVisibleRows=null},t.prototype.createRowsVisibleIfRunner=function(){return null},t.prototype.runConditionsForRows=function(e,t){var n=!!this.survey&&this.survey.areInvisibleElementsShowing,o=n?null:this.createRowsVisibleIfRunner();this.filteredRows=[];var i=Nn.runConditionsForItems(this.rows,this.filteredRows,o,e,t,!n);return Nn.runEnabledConditionsForItems(this.rows,void 0,e,t),this.filteredRows.length===this.rows.length&&(this.filteredRows=null),i},t.prototype.runConditionsForColumns=function(e,t){var n=!!this.survey&&!this.survey.areInvisibleElementsShowing&&this.columnsVisibleIf?new be(this.columnsVisibleIf):null;return Nn.runConditionsForItems(this.columns,void 0,n,e,t,this.shouldRunColumnExpression())},t.prototype.clearInvisibleColumnValues=function(){},t.prototype.clearInvisibleValuesInRows=function(){},t.prototype.needResponsiveWidth=function(){return!0},Object.defineProperty(t.prototype,"columnsAutoWidth",{get:function(){return!this.isMobile&&!this.columns.some((function(e){return!!e.width}))},enumerable:!1,configurable:!0}),t.prototype.getTableCss=function(){var e;return(new Ae).append(this.cssClasses.root).append(this.cssClasses.columnsAutoWidth,this.columnsAutoWidth).append(this.cssClasses.noHeader,!this.showHeader).append(this.cssClasses.hasFooter,!!(null===(e=this.renderedTable)||void 0===e?void 0:e.showAddRowOnBottom)).append(this.cssClasses.rootAlternateRows,this.alternateRows).append(this.cssClasses.rootVerticalAlignTop,"top"===this.verticalAlign).append(this.cssClasses.rootVerticalAlignMiddle,"middle"===this.verticalAlign).toString()},Object.defineProperty(t.prototype,"columnMinWidth",{get:function(){return this.getPropertyValue("columnMinWidth")||""},set:function(e){this.setPropertyValue("columnMinWidth",e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"rowTitleWidth",{get:function(){return this.getPropertyValue("rowTitleWidth")||""},set:function(e){this.setPropertyValue("rowTitleWidth",e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"displayMode",{get:function(){return this.getPropertyValue("displayMode")},set:function(e){this.setPropertyValue("displayMode",e)},enumerable:!1,configurable:!0}),t.prototype.getCellAriaLabel=function(e,t){return(this.getLocalizationString("matrix_row")||"row").toLocaleLowerCase()+" "+e+", "+(this.getLocalizationString("matrix_column")||"column").toLocaleLowerCase()+" "+t},Object.defineProperty(t.prototype,"isNewA11yStructure",{get:function(){return!0},enumerable:!1,configurable:!0}),t.prototype.getIsMobile=function(){return"auto"==this.displayMode?e.prototype.getIsMobile.call(this):"list"===this.displayMode},Jn([x()],t.prototype,"verticalAlign",void 0),Jn([x()],t.prototype,"alternateRows",void 0),t}(qn);L.addClass("matrixbase",[{name:"showCommentArea:switch",layout:"row",visible:!0,category:"general"},"columnsVisibleIf:condition","rowsVisibleIf:condition","columnMinWidth",{name:"showHeader:boolean",default:!0},{name:"verticalAlign",choices:["top","middle"],default:"middle"},{name:"alternateRows:boolean",default:!1},{name:"displayMode",default:"auto",choices:["auto","table","list"],visible:!1}],void 0,"question");var Xn=function(){},eo=function(e,t){this.name=e,this.returnDisplayValue=t,this.isExists=!1,this.canProcess=!0},to=function(){function e(){this._unObservableValues=[void 0]}return Object.defineProperty(e.prototype,"hasAllValuesOnLastRunValue",{get:function(){return this._unObservableValues[0]},set:function(e){this._unObservableValues[0]=e},enumerable:!1,configurable:!0}),e.prototype.process=function(e,t,n,o){if(this.hasAllValuesOnLastRunValue=!0,!e)return e;if(!this.onProcess)return e;for(var i=this.getItems(e),r=i.length-1;r>=0;r--){var a=i[r],s=this.getName(e.substring(a.start+1,a.end));if(s){var l=new eo(s,!0===t);if(this.onProcess(l),l.isExists||l.canProcess&&(this.hasAllValuesOnLastRunValue=!1),l.isExists||o){u.isValueEmpty(l.value)&&(this.hasAllValuesOnLastRunValue=!1);var c=u.isValueEmpty(l.value)?"":l.value;n&&(c=encodeURIComponent(c)),e=e.substring(0,a.start)+c+e.substring(a.end+1)}}}return e},e.prototype.processValue=function(e,t){var n=new eo(e,t);return this.onProcess&&this.onProcess(n),n},Object.defineProperty(e.prototype,"hasAllValuesOnLastRun",{get:function(){return!!this.hasAllValuesOnLastRunValue},enumerable:!1,configurable:!0}),e.prototype.processText=function(e,t){return this.process(e,t)},e.prototype.processTextEx=function(e){var t={hasAllValuesOnLastRun:!0,text:e.text};return t.text=this.process(e.text,e.returnDisplayValue,e.doEncoding,e.replaceUndefinedValues),t.hasAllValuesOnLastRun=this.hasAllValuesOnLastRun,t},e.prototype.getItems=function(e){for(var t=[],n=e.length,o=-1,i="",r=0;r<n;r++)if("{"==(i=e[r])&&(o=r),"}"==i){if(o>-1){var a=new Xn;a.start=o,a.end=r,this.isValidItemName(e.substring(o+1,r))&&t.push(a)}o=-1}return t},e.prototype.isValidItemName=function(e){return!!e&&e.indexOf(":")<0},e.prototype.getName=function(e){if(e)return e.trim()},e}(),no=function(){function e(e){var t=this;this.variableName=e,this.textPreProcessor=new to,this.textPreProcessor.onProcess=function(e){t.getProcessedTextValue(e)}}return e.prototype.processValue=function(e,t){return this.textPreProcessor.processValue(e,t)},Object.defineProperty(e.prototype,"survey",{get:function(){return null},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"panel",{get:function(){return null},enumerable:!1,configurable:!0}),e.prototype.getValues=function(){return this.panel?this.panel.getValue():null},e.prototype.getQuestionByName=function(e){return this.panel?this.panel.getQuestionByValueName(e):null},e.prototype.getParentTextProcessor=function(){return null},e.prototype.onCustomProcessText=function(e){return!1},e.prototype.getQuestionDisplayText=function(e){return e.displayValue},e.prototype.getProcessedTextValue=function(e){if(e&&!this.onCustomProcessText(e)){var t=(new M).getFirstName(e.name);if(e.isExists=t==this.variableName,e.canProcess=e.isExists,e.canProcess){e.name=e.name.replace(this.variableName+".","");t=(new M).getFirstName(e.name);var n=this.getQuestionByName(t),o={};if(n)o[t]=e.returnDisplayValue?this.getQuestionDisplayText(n):n.value;else{var i=this.panel?this.getValues():null;i&&(o[t]=i[t])}e.value=(new M).getValue(e.name,o)}}},e.prototype.processText=function(e,t){var n={text:e,returnDisplayValue:t};return this.processTextEx(n).text},e.prototype.processTextEx=function(e){var t,n={hasAllValuesOnLastRun:!0,text:e.text};if(!e.runAtDesign&&(null===(t=this.survey)||void 0===t?void 0:t.isDesignMode))return n;var o=new Array;this.addTextPreProcessor(o,this.textPreProcessor),this.addTextPreProcessor(o,this.getParentTextProcessor()),this.addTextPreProcessor(o,this.survey);for(var i=0;i<o.length;i++){var r=o[i];e.text=n.text,e.doEncoding=e.doEncoding||!1;var a=r.processTextEx(e);n.text=a.text,n.hasAllValuesOnLastRun=n.hasAllValuesOnLastRun&&a.hasAllValuesOnLastRun}return n},e.prototype.addTextPreProcessor=function(e,t){!t||e.indexOf(t)>-1||e.push(t)},e}(),oo=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(t,n)};return function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function o(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}}(),io=function(){function e(e,t){this.name=e,this.json=t;var n=this;L.addClass(e,[],(function(e){return ro.Instance.createQuestion(e?e.name:"",n)}),"question"),this.onInit()}return e.prototype.onInit=function(){this.json.onInit&&this.json.onInit()},e.prototype.onCreated=function(e){this.json.onCreated&&this.json.onCreated(e)},e.prototype.onLoaded=function(e){this.json.onLoaded&&this.json.onLoaded(e)},e.prototype.onAfterRender=function(e,t){this.json.onAfterRender&&this.json.onAfterRender(e,t)},e.prototype.onAfterRenderContentElement=function(e,t,n){this.json.onAfterRenderContentElement&&this.json.onAfterRenderContentElement(e,t,n)},e.prototype.onUpdateQuestionCssClasses=function(e,t,n){this.json.onUpdateQuestionCssClasses&&this.json.onUpdateQuestionCssClasses(e,t,n)},e.prototype.onSetQuestionValue=function(e,t){this.json.onSetQuestionValue&&this.json.onSetQuestionValue(e,t),this.json.onValueSet&&this.json.onValueSet(e,t)},e.prototype.onPropertyChanged=function(e,t,n){this.json.onPropertyChanged&&this.json.onPropertyChanged(e,t,n)},e.prototype.onValueChanged=function(e,t,n){this.json.onValueChanged&&this.json.onValueChanged(e,t,n)},e.prototype.onValueChanging=function(e,t,n){return this.json.onValueChanging?this.json.onValueChanging(e,t,n):n},e.prototype.onGetErrorText=function(e){if(this.json.getErrorText)return this.json.getErrorText(e)},e.prototype.onItemValuePropertyChanged=function(e,t,n,o,i){this.json.onItemValuePropertyChanged&&this.json.onItemValuePropertyChanged(e,{obj:t,propertyName:n,name:o,newValue:i})},e.prototype.getDisplayValue=function(e,t,n){return this.json.getDisplayValue?this.json.getDisplayValue(n):n.getDisplayValue(e,t)},Object.defineProperty(e.prototype,"defaultQuestionTitle",{get:function(){return this.json.defaultQuestionTitle},enumerable:!1,configurable:!0}),e.prototype.setValueToQuestion=function(e){var t=this.json.valueToQuestion||this.json.setValue;return t?t(e):e},e.prototype.getValueFromQuestion=function(e){var t=this.json.valueFromQuestion||this.json.getValue;return t?t(e):e},Object.defineProperty(e.prototype,"isComposite",{get:function(){return!!this.json.elementsJSON||!!this.json.createElements},enumerable:!1,configurable:!0}),e.prototype.getDynamicProperties=function(){return Array.isArray(this.dynamicProperties)||(this.dynamicProperties=this.calcDynamicProperties()),this.dynamicProperties},e.prototype.calcDynamicProperties=function(){var e=this.json.inheritBaseProps;if(!e||!this.json.questionJSON)return[];var t=this.json.questionJSON.type;if(!t)return[];if(Array.isArray(e)){var n=[];return e.forEach((function(e){var o=L.findProperty(t,e);o&&n.push(o)})),n}var o=[];for(var i in this.json.questionJSON)o.push(i);return L.getDynamicPropertiesByTypes(this.name,t,o)},e}(),ro=function(){function e(){this.customQuestionValues=[]}return e.prototype.add=function(e){if(e){var t=e.name;if(!t)throw"Attribute name is missed";if(t=t.toLowerCase(),this.getCustomQuestionByName(t))throw"There is already registered custom question with name '"+t+"'";if(L.findClass(t))throw"There is already class with name '"+t+"'";var n=new io(t,e);this.onAddingJson&&this.onAddingJson(t,n.isComposite),this.customQuestionValues.push(n)}},e.prototype.remove=function(e){if(!e)return!1;var t=this.getCustomQuestionIndex(e.toLowerCase());return!(t<0)&&(this.removeByIndex(t),!0)},Object.defineProperty(e.prototype,"items",{get:function(){return this.customQuestionValues},enumerable:!1,configurable:!0}),e.prototype.getCustomQuestionByName=function(e){var t=this.getCustomQuestionIndex(e);return t>=0?this.customQuestionValues[t]:void 0},e.prototype.getCustomQuestionIndex=function(e){for(var t=0;t<this.customQuestionValues.length;t++)if(this.customQuestionValues[t].name===e)return t;return-1},e.prototype.removeByIndex=function(e){L.removeClass(this.customQuestionValues[e].name),this.customQuestionValues.splice(e,1)},e.prototype.clear=function(e){for(var t=this.customQuestionValues.length-1;t>=0;t--)!e&&this.customQuestionValues[t].json.internal||this.removeByIndex(t)},e.prototype.createQuestion=function(e,t){return t.isComposite?this.createCompositeModel(e,t):this.createCustomModel(e,t)},e.prototype.createCompositeModel=function(e,t){return this.onCreateComposite?this.onCreateComposite(e,t):new uo(e,t)},e.prototype.createCustomModel=function(e,t){return this.onCreateCustom?this.onCreateCustom(e,t):new so(e,t)},e.Instance=new e,e}(),ao=function(e){function t(t,n){var o=e.call(this,t)||this;return o.customQuestion=n,k.createProperties(o),yt.CreateDisabledDesignElements=!0,o.locQuestionTitle=o.createLocalizableString("questionTitle",o),o.locQuestionTitle.setJson(o.customQuestion.defaultQuestionTitle),o.createWrapper(),yt.CreateDisabledDesignElements=!1,o.customQuestion&&o.customQuestion.onCreated(o),o}return oo(t,e),t.prototype.getType=function(){return this.customQuestion?this.customQuestion.name:"custom"},t.prototype.locStrsChanged=function(){e.prototype.locStrsChanged.call(this),this.getElement()&&this.getElement().locStrsChanged()},t.prototype.localeChanged=function(){e.prototype.locStrsChanged.call(this),this.getElement()&&this.getElement().localeChanged()},t.prototype.getDefaultTitle=function(){return this.locQuestionTitle.isEmpty?e.prototype.getDefaultTitle.call(this):this.getProcessedText(this.locQuestionTitle.textOrHtml)},t.prototype.addUsedLocales=function(t){e.prototype.addUsedLocales.call(this,t),this.getElement()&&this.getElement().addUsedLocales(t)},t.prototype.needResponsiveWidth=function(){var e=this.getElement();return!!e&&e.needResponsiveWidth()},t.prototype.createWrapper=function(){},t.prototype.onPropertyValueChanged=function(t,n,o){e.prototype.onPropertyValueChanged.call(this,t,n,o),this.customQuestion&&!this.isLoadingFromJson&&this.customQuestion.onPropertyChanged(this,t,o)},t.prototype.itemValuePropertyChanged=function(t,n,o,i){e.prototype.itemValuePropertyChanged.call(this,t,n,o,i),this.customQuestion&&!this.isLoadingFromJson&&this.customQuestion.onItemValuePropertyChanged(this,t,t.ownerPropertyName,n,i)},t.prototype.onFirstRenderingCore=function(){e.prototype.onFirstRenderingCore.call(this);var t=this.getElement();t&&t.onFirstRendering()},t.prototype.onHidingContent=function(){e.prototype.onHidingContent.call(this);var t=this.getElement();t&&t.onHidingContent()},t.prototype.getProgressInfo=function(){var t=e.prototype.getProgressInfo.call(this);return this.getElement()&&(t=this.getElement().getProgressInfo()),this.isRequired&&0==t.requiredQuestionCount&&(t.requiredQuestionCount=1,this.isEmpty()||(t.answeredQuestionCount=1)),t},t.prototype.initElement=function(e){e&&(e.setSurveyImpl(this),e.disableDesignActions=!0)},t.prototype.setSurveyImpl=function(t,n){this.isSettingValOnLoading=!0,e.prototype.setSurveyImpl.call(this,t,n),this.initElement(this.getElement()),this.isSettingValOnLoading=!1},t.prototype.onSurveyLoad=function(){e.prototype.onSurveyLoad.call(this),this.getElement()&&(this.getElement().onSurveyLoad(),this.customQuestion.onLoaded(this))},t.prototype.afterRenderQuestionElement=function(e){},t.prototype.afterRenderCore=function(t){e.prototype.afterRenderCore.call(this,t),this.customQuestion&&this.customQuestion.onAfterRender(this,t)},t.prototype.onUpdateQuestionCssClasses=function(e,t){this.customQuestion&&this.customQuestion.onUpdateQuestionCssClasses(this,e,t)},t.prototype.setQuestionValue=function(t,n){void 0===n&&(n=!0),e.prototype.setQuestionValue.call(this,t,n),this.updateElementCss(),this.customQuestion&&this.customQuestion.onSetQuestionValue(this,t)},t.prototype.setNewValue=function(t){e.prototype.setNewValue.call(this,t),this.updateElementCss()},t.prototype.onCheckForErrors=function(t,n,o){if(e.prototype.onCheckForErrors.call(this,t,n,o),this.customQuestion){var i=this.customQuestion.onGetErrorText(this);i&&t.push(new yn(i,this))}},t.prototype.getSurveyData=function(){return this},t.prototype.getTextProcessor=function(){return this.textProcessor},t.prototype.getValue=function(e){return this.value},t.prototype.setValue=function(e,t,n,o){if(this.data){this.customQuestion&&this.customQuestion.onValueChanged(this,e,t);var i=this.convertDataName(e),r=this.convertDataValue(e,t);this.valueToDataCallback&&(r=this.valueToDataCallback(r)),this.data.setValue(i,r,n,o),this.updateIsAnswered(),this.updateElementCss()}},t.prototype.getQuestionByName=function(e){},t.prototype.isValueChanging=function(e,t){if(this.customQuestion){var n=t;if(t=this.customQuestion.onValueChanging(this,e,t),!u.isTwoValueEquals(t,n)){var o=this.getQuestionByName(e);if(o)return o.value=t,!0}}return!1},t.prototype.convertDataName=function(e){return this.getValueName()},t.prototype.convertDataValue=function(e,t){return t},t.prototype.getVariable=function(e){return this.data?this.data.getVariable(e):null},t.prototype.setVariable=function(e,t){this.data&&this.data.setVariable(e,t)},t.prototype.getComment=function(e){return this.data?this.data.getComment(this.getValueName()):""},t.prototype.setComment=function(e,t,n){this.data&&this.data.setComment(this.getValueName(),t,n)},t.prototype.getAllValues=function(){return this.data?this.data.getAllValues():{}},t.prototype.getFilteredValues=function(){return this.data?this.data.getFilteredValues():{}},t.prototype.getFilteredProperties=function(){return this.data?this.data.getFilteredProperties():{}},t.prototype.findQuestionByName=function(e){return this.data?this.data.findQuestionByName(e):null},t.prototype.getEditingSurveyElement=function(){},t.prototype.addElement=function(e,t){},t.prototype.removeElement=function(e){return!1},t.prototype.getQuestionTitleLocation=function(){return"left"},t.prototype.getQuestionTitleWidth=function(){},t.prototype.getColumsForElement=function(e){return[]},t.prototype.updateColumns=function(){},t.prototype.getQuestionStartIndex=function(){return this.getStartIndex()},t.prototype.getChildrenLayoutType=function(){return"row"},t.prototype.elementWidthChanged=function(e){},Object.defineProperty(t.prototype,"elements",{get:function(){return[]},enumerable:!1,configurable:!0}),t.prototype.indexOf=function(e){return-1},t.prototype.ensureRowsVisibility=function(){},t.prototype.validateContainerOnly=function(){},t.prototype.onQuestionValueChanged=function(e){},t.prototype.getQuestionErrorLocation=function(){return this.getErrorLocation()},t.prototype.getContentDisplayValueCore=function(t,n,o){return o?this.customQuestion.getDisplayValue(t,n,o):e.prototype.getDisplayValueCore.call(this,t,n)},t}(qn),so=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return oo(t,e),t.prototype.getTemplate=function(){return"custom"},t.prototype.getDynamicProperties=function(){return this.customQuestion.getDynamicProperties()||[]},t.prototype.getDynamicType=function(){return this.questionWrapper?this.questionWrapper.getType():"question"},t.prototype.getOriginalObj=function(){return this.questionWrapper},t.prototype.createWrapper=function(){var e=this;this.questionWrapper=this.createQuestion(),this.createDynamicProperties(this.questionWrapper),this.getDynamicProperties().length>0&&(this.questionWrapper.onPropertyValueChangedCallback=function(t,n,o,i,r){e.getDynamicProperty(t)&&e.propertyValueChanged(t,n,o,r)})},t.prototype.getDynamicProperty=function(e){for(var t=this.getDynamicProperties(),n=0;n<t.length;n++)if(t[n].name===e)return t[n];return null},t.prototype.getElement=function(){return this.contentQuestion},t.prototype.supportGoNextPageAutomatic=function(){return!!this.contentQuestion&&this.contentQuestion.supportGoNextPageAutomatic()},t.prototype.onAnyValueChanged=function(t,n){e.prototype.onAnyValueChanged.call(this,t,n),this.contentQuestion&&this.contentQuestion.onAnyValueChanged(t,n)},t.prototype.getQuestionByName=function(e){return this.contentQuestion},t.prototype.getDefaultTitle=function(){return this.hasJSONTitle&&this.contentQuestion?this.getProcessedText(this.contentQuestion.title):e.prototype.getDefaultTitle.call(this)},t.prototype.setValue=function(t,n,o,i){this.isValueChanging(t,n)||e.prototype.setValue.call(this,t,n,o,i)},t.prototype.updateCommentFromSurvey=function(t){e.prototype.updateCommentFromSurvey.call(this,t);var n=this.contentQuestion;n&&n.updateCommentFromSurvey(t)},Object.defineProperty(t.prototype,"requireUpdateCommentValue",{get:function(){var e;return null===(e=this.contentQuestion)||void 0===e?void 0:e.requireUpdateCommentValue},enumerable:!1,configurable:!0}),t.prototype.onSetData=function(){e.prototype.onSetData.call(this),this.survey&&!this.isEmpty()&&this.setValue(this.name,this.value,!1,this.allowNotifyValueChanged)},t.prototype.hasErrors=function(t,n){if(void 0===t&&(t=!0),void 0===n&&(n=null),!this.contentQuestion)return!1;var o=this.contentQuestion.hasErrors(t,n);this.errors=[];for(var i=0;i<this.contentQuestion.errors.length;i++)this.errors.push(this.contentQuestion.errors[i]);return o||(o=e.prototype.hasErrors.call(this,t,n)),this.updateElementCss(),o},t.prototype.focus=function(t){void 0===t&&(t=!1),this.contentQuestion?this.contentQuestion.focus(t):e.prototype.focus.call(this,t)},t.prototype.afterRenderCore=function(t){e.prototype.afterRenderCore.call(this,t),this.contentQuestion&&this.contentQuestion.afterRender(t)},Object.defineProperty(t.prototype,"contentQuestion",{get:function(){return this.questionWrapper},enumerable:!1,configurable:!0}),t.prototype.createQuestion=function(){var e=this,t=this.customQuestion.json,n=null;if(t.questionJSON){this.hasJSONTitle=!!t.questionJSON.title;var o=t.questionJSON.type;if(!o||!L.findClass(o))throw"type attribute in questionJSON is empty or incorrect";(n=L.createClass(o)).fromJSON(t.questionJSON),n=this.checkCreatedQuestion(n)}else t.createQuestion&&(n=this.checkCreatedQuestion(t.createQuestion()));return this.initElement(n),n&&(n.isContentElement=!0,n.name||(n.name="question"),n.onUpdateCssClassesCallback=function(t){e.onUpdateQuestionCssClasses(n,t)},n.hasCssErrorCallback=function(){return e.errors.length>0},n.setValueChangedDirectlyCallback=function(t){e.setValueChangedDirectly(t)}),n},t.prototype.checkCreatedQuestion=function(e){return e?(e.isQuestion||(e=Array.isArray(e.questions)&&e.questions.length>0?e.questions[0]:L.createClass("text"),j.error("Could not create component: '"+this.getType()+"'. questionJSON should be a question.")),e):e},t.prototype.onSurveyLoad=function(){e.prototype.onSurveyLoad.call(this),this.contentQuestion&&this.isEmpty()&&!this.contentQuestion.isEmpty()&&(this.value=this.getContentQuestionValue())},t.prototype.runCondition=function(t,n){e.prototype.runCondition.call(this,t,n),this.contentQuestion&&this.contentQuestion.runCondition(t,n)},t.prototype.convertDataName=function(t){var n=this.contentQuestion;if(!n||t===this.getValueName())return e.prototype.convertDataName.call(this,t);var o=t.replace(n.getValueName(),this.getValueName());return 0==o.indexOf(this.getValueName())?o:e.prototype.convertDataName.call(this,t)},t.prototype.convertDataValue=function(t,n){return this.convertDataName(t)==e.prototype.convertDataName.call(this,t)?this.getContentQuestionValue():n},t.prototype.getContentQuestionValue=function(){if(this.contentQuestion){var e=this.contentQuestion.value;return this.customQuestion&&(e=this.customQuestion.getValueFromQuestion(e)),e}},t.prototype.setContentQuestionValue=function(e){this.contentQuestion&&(this.customQuestion&&(e=this.customQuestion.setValueToQuestion(e)),this.contentQuestion.value=e)},t.prototype.canSetValueToSurvey=function(){return!1},t.prototype.setQuestionValue=function(t,n){void 0===n&&(n=!0),e.prototype.setQuestionValue.call(this,t,n),this.isLoadingFromJson||!this.contentQuestion||this.isTwoValueEquals(this.getContentQuestionValue(),t)||this.setContentQuestionValue(this.getUnbindValue(t))},t.prototype.onSurveyValueChanged=function(t){e.prototype.onSurveyValueChanged.call(this,t),this.contentQuestion&&this.contentQuestion.onSurveyValueChanged(t)},t.prototype.getValueCore=function(){return this.contentQuestion?this.getContentQuestionValue():e.prototype.getValueCore.call(this)},t.prototype.setValueChangedDirectly=function(t){this.isSettingValueChanged||(this.isSettingValueChanged=!0,e.prototype.setValueChangedDirectly.call(this,t),this.contentQuestion&&this.contentQuestion.setValueChangedDirectly(t),this.isSettingValueChanged=!1)},t.prototype.createDynamicProperties=function(e){if(e){var t=this.getDynamicProperties();Array.isArray(t)&&L.addDynamicPropertiesIntoObj(this,e,t)}},t.prototype.initElement=function(t){var n=this;e.prototype.initElement.call(this,t),t&&(t.parent=this,t.afterRenderQuestionCallback=function(e,t){n.customQuestion&&n.customQuestion.onAfterRenderContentElement(n,e,t)})},t.prototype.updateElementCss=function(t){this.contentQuestion&&this.questionWrapper.updateElementCss(t),e.prototype.updateElementCss.call(this,t)},t.prototype.setIsMobile=function(t){e.prototype.setIsMobile.call(this,t),this.contentQuestion&&this.contentQuestion.setIsMobile(t)},t.prototype.updateElementCssCore=function(t){this.contentQuestion&&(t=this.contentQuestion.cssClasses),e.prototype.updateElementCssCore.call(this,t)},t.prototype.getDisplayValueCore=function(t,n){return e.prototype.getContentDisplayValueCore.call(this,t,n,this.contentQuestion)},t}(ao),lo=function(e){function t(t,n){var o=e.call(this,n)||this;return o.composite=t,o.variableName=n,o}return oo(t,e),Object.defineProperty(t.prototype,"survey",{get:function(){return this.composite.survey},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"panel",{get:function(){return this.composite.contentPanel},enumerable:!1,configurable:!0}),t}(no),uo=function(e){function t(n,o){var i=e.call(this,n,o)||this;return i.customQuestion=o,i.settingNewValue=!1,i.textProcessing=new lo(i,t.ItemVariableName),i}return oo(t,e),t.prototype.createWrapper=function(){this.panelWrapper=this.createPanel()},t.prototype.getTemplate=function(){return"composite"},t.prototype.getElement=function(){return this.contentPanel},t.prototype.getCssRoot=function(t){return(new Ae).append(e.prototype.getCssRoot.call(this,t)).append(t.composite).toString()},Object.defineProperty(t.prototype,"contentPanel",{get:function(){return this.panelWrapper},enumerable:!1,configurable:!0}),t.prototype.hasErrors=function(t,n){void 0===t&&(t=!0),void 0===n&&(n=null);var o=e.prototype.hasErrors.call(this,t,n);return this.contentPanel&&this.contentPanel.hasErrors(t,!1,n)||o},t.prototype.updateElementCss=function(t){e.prototype.updateElementCss.call(this,t),this.contentPanel&&this.contentPanel.updateElementCss(t)},t.prototype.dispose=function(){this.unConnectEditingObj(),e.prototype.dispose.call(this)},t.prototype.updateEditingObj=function(){var e,t=this,n=null===(e=this.data)||void 0===e?void 0:e.getEditingSurveyElement();if(n){var o=n[this.getValueName()];return o&&!o.onPropertyChanged&&(o=void 0),o!==this.editingObjValue&&(this.unConnectEditingObj(),this.editingObjValue=o,o&&(this.onEditingObjPropertyChanged=function(e,n){t.setNewValueIntoQuestion(n.name,t.editingObjValue[n.name])},o.onPropertyChanged.add(this.onEditingObjPropertyChanged))),this.editingObjValue}},t.prototype.unConnectEditingObj=function(){this.editingObjValue&&!this.editingObjValue.isDisposed&&this.editingObjValue.onPropertyChanged.remove(this.onEditingObjPropertyChanged)},t.prototype.getEditingSurveyElement=function(){return this.editingObjValue},t.prototype.getTextProcessor=function(){return this.textProcessing},t.prototype.findQuestionByName=function(t){var n=this.getQuestionByName(t);return n||e.prototype.findQuestionByName.call(this,t)},t.prototype.clearValueIfInvisibleCore=function(t){e.prototype.clearValueIfInvisibleCore.call(this,t);for(var n=this.contentPanel.questions,o=0;o<n.length;o++)n[o].clearValueIfInvisible(t)},t.prototype.onAnyValueChanged=function(t,n){e.prototype.onAnyValueChanged.call(this,t,n);for(var o=this.contentPanel.questions,i=0;i<o.length;i++)o[i].onAnyValueChanged(t,n)},Object.defineProperty(t.prototype,"hasSingleInput",{get:function(){return!1},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isContainer",{get:function(){return!0},enumerable:!1,configurable:!0}),t.prototype.createPanel=function(){var e=this,t=L.createClass("panel");t.showQuestionNumbers="off",t.renderWidth="100%";var n=this.customQuestion.json;return n.elementsJSON&&t.fromJSON({elements:n.elementsJSON}),n.createElements&&n.createElements(t,this),this.initElement(t),t.readOnly=this.isReadOnly,t.questions.forEach((function(t){t.setParentQuestion(e),t.onUpdateCssClassesCallback=function(n){e.onUpdateQuestionCssClasses(t,n)}})),this.setAfterRenderCallbacks(t),t},t.prototype.onReadOnlyChanged=function(){this.contentPanel&&(this.contentPanel.readOnly=this.isReadOnly),e.prototype.onReadOnlyChanged.call(this)},t.prototype.updateValueFromSurvey=function(t,n){void 0===n&&(n=!1),this.updateEditingObj(),e.prototype.updateValueFromSurvey.call(this,t,n)},t.prototype.onSurveyLoad=function(){if(this.isSettingValOnLoading=!0,this.contentPanel&&(this.contentPanel.readOnly=this.isReadOnly,this.setIsContentElement(this.contentPanel)),e.prototype.onSurveyLoad.call(this),this.contentPanel){var t=this.getContentPanelValue();u.isValueEmpty(t)||(this.value=t)}this.isSettingValOnLoading=!1},t.prototype.setIsContentElement=function(e){e.isContentElement=!0;for(var t=e.elements,n=0;n<t.length;n++){var o=t[n];o.isPanel?this.setIsContentElement(o):o.isContentElement=!0}},t.prototype.setVisibleIndex=function(t){var n=e.prototype.setVisibleIndex.call(this,t);return this.isVisible&&this.contentPanel&&(n+=this.contentPanel.setVisibleIndex(t)),n},t.prototype.runCondition=function(n,o){if(e.prototype.runCondition.call(this,n,o),this.contentPanel){var i=n[t.ItemVariableName];n[t.ItemVariableName]=this.contentPanel.getValue(),this.contentPanel.runCondition(n,o),delete n[t.ItemVariableName],i&&(n[t.ItemVariableName]=i)}},t.prototype.onSurveyValueChanged=function(t){e.prototype.onSurveyValueChanged.call(this,t);var n=t||{};this.contentPanel&&this.contentPanel.questions.forEach((function(e){e.onSurveyValueChanged(n[e.getValueName()])}))},t.prototype.getValue=function(e){var t=this.value;return t?t[e]:null},t.prototype.getQuestionByName=function(e){return this.contentPanel?this.contentPanel.getQuestionByName(e):void 0},t.prototype.setValue=function(n,o,i,r){if(this.settingNewValue)this.setNewValueIntoQuestion(n,o);else if(!this.isValueChanging(n,o)){if(this.settingNewValue=!0,!this.isEditingSurveyElement&&this.contentPanel)for(var a=0,s=this.contentPanel.questions.length+1;a<s&&this.updateValueCoreWithPanelValue();)a++;this.setNewValueIntoQuestion(n,o),e.prototype.setValue.call(this,n,o,i,r),this.settingNewValue=!1,this.runPanelTriggers(t.ItemVariableName+"."+n,o)}},t.prototype.setComment=function(e,t,n){var o=this.getUnbindValue(this.value),i=this.getCommentName(e);if(!(!o&&!t||t&&o&&o[i]===t)){t?(o||(o={}),o[i]=t):delete o[i];var r=this.getQuestionByName(e);r&&r.comment!==t&&(r.comment=t),this.settingNewValue||(this.value=o)}},t.prototype.getComment=function(e){var t=this.getQuestionByName(e);if(t)return t.comment;var n=this.value;return!!n&&n[this.getCommentName(e)]||""},t.prototype.getCommentName=function(e){return e+tn.commentSuffix},t.prototype.runPanelTriggers=function(e,t){this.contentPanel&&this.contentPanel.questions.forEach((function(n){n.runTriggers(e,t)}))},t.prototype.getFilteredValues=function(){var e=this.data?this.data.getFilteredValues():{};return this.contentPanel&&(e[t.ItemVariableName]=this.contentPanel.getValue()),e},t.prototype.updateValueCoreWithPanelValue=function(){var e=this.getContentPanelValue();return!this.isTwoValueEquals(this.getValueCore(),e)&&(this.setValueCore(e),!0)},t.prototype.getContentPanelValue=function(e){return e||(e=this.contentPanel.getValue()),this.customQuestion.setValueToQuestion(e)},t.prototype.getValueForContentPanel=function(e){return this.customQuestion.getValueFromQuestion(e)},t.prototype.setNewValueIntoQuestion=function(e,t){var n=this.getQuestionByName(e);n&&!this.isTwoValueEquals(t,n.value)&&(n.value=t)},t.prototype.addConditionObjectsByContext=function(e,t){if(this.contentPanel)for(var n=this.contentPanel.questions,o=this.name,i=this.title,r=0;r<n.length;r++)e.push({name:o+"."+n[r].name,text:i+"."+n[r].title,question:n[r]})},t.prototype.collectNestedQuestionsCore=function(e,t,n){this.contentPanel&&(n&&e.push(this),this.contentPanel.questions.forEach((function(n){return n.collectNestedQuestions(e,t)})))},t.prototype.convertDataValue=function(e,t){var n=this.contentPanel&&!this.isEditingSurveyElement?this.contentPanel.getValue():this.getValueForContentPanel(this.value);return n||(n={}),n.getType||(n=u.getUnbindValue(n)),this.isValueEmpty(t)&&!this.isEditingSurveyElement?delete n[e]:n[e]=t,this.getContentPanelValue(n)},t.prototype.setQuestionValue=function(t,n){void 0===n&&(n=!0),this.setValuesIntoQuestions(t),!this.isEditingSurveyElement&&this.contentPanel&&(t=this.getContentPanelValue()),e.prototype.setQuestionValue.call(this,t,n)},t.prototype.setValuesIntoQuestions=function(e){if(this.contentPanel&&!this.settingNewValue){e=this.getValueForContentPanel(e);var t=this.settingNewValue;this.settingNewValue=!0;for(var n=this.contentPanel.questions,o=0;o<n.length;o++){var i=n[o],r=i.getValueName(),a=this.getCommentName(r),s=e?e[r]:void 0,l=!!e&&e[a]||"";this.isTwoValueEquals(i.value,s)||void 0===s&&i.isEmpty()||(i.value=s),i.comment!==l&&(i.comment=l)}this.settingNewValue=t}},t.prototype.getDisplayValueCore=function(t,n){return e.prototype.getContentDisplayValueCore.call(this,t,n,this.contentPanel)},t.prototype.setAfterRenderCallbacks=function(e){var t=this;if(e&&this.customQuestion)for(var n=e.questions,o=0;o<n.length;o++)n[o].afterRenderQuestionCallback=function(e,n){t.customQuestion.onAfterRenderContentElement(t,e,n)}},Object.defineProperty(t.prototype,"ariaRole",{get:function(){return"group"},enumerable:!1,configurable:!0}),t.prototype.setIsMobile=function(t){e.prototype.setIsMobile.call(this,t),this.contentPanel&&this.contentPanel.questions.forEach((function(e){e.setIsMobile(t)}))},t.ItemVariableName="composite",t}(ao),co=function(){function e(){}return Object.defineProperty(e,"DefaultChoices",{get:function(){var e=d("choices_Item");return[e+"1",e+"2",e+"3"]},enumerable:!1,configurable:!0}),Object.defineProperty(e,"DefaultColums",{get:function(){var e=d("matrix_column")+" ";return[e+"1",e+"2",e+"3"]},enumerable:!1,configurable:!0}),Object.defineProperty(e,"DefaultRows",{get:function(){var e=d("matrix_row")+" ";return[e+"1",e+"2"]},enumerable:!1,configurable:!0}),Object.defineProperty(e,"DefaultMutlipleTextItems",{get:function(){var e=d("multipletext_itemname");return[e+"1",e+"2"]},enumerable:!1,configurable:!0}),e.prototype.registerQuestion=function(e,t,n){void 0===n&&(n=!0),po.Instance.registerElement(e,t,n)},e.prototype.registerCustomQuestion=function(e){po.Instance.registerCustomQuestion(e)},e.prototype.unregisterElement=function(e,t){void 0===t&&(t=!1),po.Instance.unregisterElement(e,t)},e.prototype.clear=function(){po.Instance.clear()},e.prototype.getAllTypes=function(){return po.Instance.getAllTypes()},e.prototype.createQuestion=function(e,t){return po.Instance.createElement(e,t)},e.Instance=new e,e}(),po=function(){function e(){var e=this;this.creatorHash={},this.registerCustomQuestion=function(t,n){void 0===n&&(n=!0);e.registerElement(t,(function(e){var n=L.createClass(t);return n&&(n.name=e),n}),n)}}return e.prototype.registerElement=function(e,t,n){void 0===n&&(n=!0),this.creatorHash[e]={showInToolbox:n,creator:t}},e.prototype.clear=function(){this.creatorHash={}},e.prototype.unregisterElement=function(e,t){void 0===t&&(t=!1),delete this.creatorHash[e],t&&L.removeClass(e)},e.prototype.getAllToolboxTypes=function(){return this.getAllTypesCore(!0)},e.prototype.getAllTypes=function(){return this.getAllTypesCore(!1)},e.prototype.createElement=function(e,t){var n=this.creatorHash[e];if(n&&n.creator)return n.creator(t);var o=ro.Instance.getCustomQuestionByName(e);return o?ro.Instance.createQuestion(t,o):null},e.prototype.getAllTypesCore=function(e){var t=new Array;for(var n in this.creatorHash)e&&!this.creatorHash[n].showInToolbox||t.push(n);return t.sort()},e.Instance=new e,e}(),ho=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(t,n)};return function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function o(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}}(),mo=function(e){function t(t){var n=e.call(this,t)||this;return n.createLocalizableString("format",n),n.registerPropertyChangedHandlers(["expression"],(function(){n.expressionRunner&&(n.expressionRunner=n.createRunner())})),n.registerPropertyChangedHandlers(["format","currency","displayStyle"],(function(){n.updateFormatedValue()})),n}return ho(t,e),t.prototype.getType=function(){return"expression"},Object.defineProperty(t.prototype,"hasInput",{get:function(){return!1},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"format",{get:function(){return this.getLocalizableStringText("format","")},set:function(e){this.setLocalizableStringText("format",e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"locFormat",{get:function(){return this.getLocalizableString("format")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"expression",{get:function(){return this.getPropertyValue("expression","")},set:function(e){this.setPropertyValue("expression",e)},enumerable:!1,configurable:!0}),t.prototype.locCalculation=function(){this.expressionIsRunning=!0},t.prototype.unlocCalculation=function(){this.expressionIsRunning=!1},t.prototype.runCondition=function(t,n){e.prototype.runCondition.call(this,t,n),!this.expression||this.expressionIsRunning||!this.runIfReadOnly&&this.isReadOnly||(this.locCalculation(),this.expressionRunner||(this.expressionRunner=this.createRunner()),this.expressionRunner.run(t,n))},t.prototype.canCollectErrors=function(){return!0},t.prototype.hasRequiredError=function(){return!1},t.prototype.createRunner=function(){var e=this,t=this.createExpressionRunner(this.expression);return t.onRunComplete=function(t){e.value=e.roundValue(t),e.unlocCalculation()},t},Object.defineProperty(t.prototype,"maximumFractionDigits",{get:function(){return this.getPropertyValue("maximumFractionDigits")},set:function(e){e<-1||e>20||this.setPropertyValue("maximumFractionDigits",e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"minimumFractionDigits",{get:function(){return this.getPropertyValue("minimumFractionDigits")},set:function(e){e<-1||e>20||this.setPropertyValue("minimumFractionDigits",e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"runIfReadOnly",{get:function(){return!0===this.runIfReadOnlyValue},set:function(e){this.runIfReadOnlyValue=e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"formatedValue",{get:function(){return this.getPropertyValue("formatedValue","")},enumerable:!1,configurable:!0}),t.prototype.updateFormatedValue=function(){this.setPropertyValue("formatedValue",this.getDisplayValueCore(!1,this.value))},t.prototype.onValueChanged=function(){this.updateFormatedValue()},t.prototype.updateValueFromSurvey=function(t,n){e.prototype.updateValueFromSurvey.call(this,t,n),this.updateFormatedValue()},t.prototype.getDisplayValueCore=function(e,t){var n=null==t?this.defaultValue:t,o="";if(!this.isValueEmpty(n)){var i=this.getValueAsStr(n);o=this.format?this.format.format(i):i}return this.survey&&(o=this.survey.getExpressionDisplayValue(this,n,o)),o},Object.defineProperty(t.prototype,"displayStyle",{get:function(){return this.getPropertyValue("displayStyle")},set:function(e){this.setPropertyValue("displayStyle",e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"currency",{get:function(){return this.getPropertyValue("currency")},set:function(e){["AED","AFN","ALL","AMD","ANG","AOA","ARS","AUD","AWG","AZN","BAM","BBD","BDT","BGN","BHD","BIF","BMD","BND","BOB","BOV","BRL","BSD","BTN","BWP","BYN","BZD","CAD","CDF","CHE","CHF","CHW","CLF","CLP","CNY","COP","COU","CRC","CUC","CUP","CVE","CZK","DJF","DKK","DOP","DZD","EGP","ERN","ETB","EUR","FJD","FKP","GBP","GEL","GHS","GIP","GMD","GNF","GTQ","GYD","HKD","HNL","HRK","HTG","HUF","IDR","ILS","INR","IQD","IRR","ISK","JMD","JOD","JPY","KES","KGS","KHR","KMF","KPW","KRW","KWD","KYD","KZT","LAK","LBP","LKR","LRD","LSL","LYD","MAD","MDL","MGA","MKD","MMK","MNT","MOP","MRO","MUR","MVR","MWK","MXN","MXV","MYR","MZN","NAD","NGN","NIO","NOK","NPR","NZD","OMR","PAB","PEN","PGK","PHP","PKR","PLN","PYG","QAR","RON","RSD","RUB","RWF","SAR","SBD","SCR","SDG","SEK","SGD","SHP","SLL","SOS","SRD","SSP","STD","SVC","SYP","SZL","THB","TJS","TMT","TND","TOP","TRY","TTD","TWD","TZS","UAH","UGX","USD","USN","UYI","UYU","UZS","VEF","VND","VUV","WST","XAF","XAG","XAU","XBA","XBB","XBC","XBD","XCD","XDR","XOF","XPD","XPF","XPT","XSU","XTS","XUA","XXX","YER","ZAR","ZMW","ZWL"].indexOf(e)<0||this.setPropertyValue("currency",e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"useGrouping",{get:function(){return this.getPropertyValue("useGrouping")},set:function(e){this.setPropertyValue("useGrouping",e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"precision",{get:function(){return this.getPropertyValue("precision")},set:function(e){this.setPropertyValue("precision",e)},enumerable:!1,configurable:!0}),t.prototype.roundValue=function(e){if(e!==1/0)return this.precision<0?e:u.isNumber(e)?parseFloat(e.toFixed(this.precision)):e},t.prototype.getValueAsStr=function(e){if("date"==this.displayStyle){var t=l("question-expression",e);if(t&&t.toLocaleDateString)return t.toLocaleDateString()}if("none"!=this.displayStyle&&u.isNumber(e)){var n=this.getLocale();n||(n="en");var o={style:this.displayStyle,currency:this.currency,useGrouping:this.useGrouping};return this.maximumFractionDigits>-1&&(o.maximumFractionDigits=this.maximumFractionDigits),this.minimumFractionDigits>-1&&(o.minimumFractionDigits=this.minimumFractionDigits),e.toLocaleString(n,o)}return e.toString()},t}(qn);L.addClass("expression",["expression:expression",{name:"format",serializationProperty:"locFormat"},{name:"displayStyle",default:"none",choices:["none","decimal","currency","percent","date"]},{name:"currency",choices:function(){return["AED","AFN","ALL","AMD","ANG","AOA","ARS","AUD","AWG","AZN","BAM","BBD","BDT","BGN","BHD","BIF","BMD","BND","BOB","BOV","BRL","BSD","BTN","BWP","BYN","BZD","CAD","CDF","CHE","CHF","CHW","CLF","CLP","CNY","COP","COU","CRC","CUC","CUP","CVE","CZK","DJF","DKK","DOP","DZD","EGP","ERN","ETB","EUR","FJD","FKP","GBP","GEL","GHS","GIP","GMD","GNF","GTQ","GYD","HKD","HNL","HRK","HTG","HUF","IDR","ILS","INR","IQD","IRR","ISK","JMD","JOD","JPY","KES","KGS","KHR","KMF","KPW","KRW","KWD","KYD","KZT","LAK","LBP","LKR","LRD","LSL","LYD","MAD","MDL","MGA","MKD","MMK","MNT","MOP","MRO","MUR","MVR","MWK","MXN","MXV","MYR","MZN","NAD","NGN","NIO","NOK","NPR","NZD","OMR","PAB","PEN","PGK","PHP","PKR","PLN","PYG","QAR","RON","RSD","RUB","RWF","SAR","SBD","SCR","SDG","SEK","SGD","SHP","SLL","SOS","SRD","SSP","STD","SVC","SYP","SZL","THB","TJS","TMT","TND","TOP","TRY","TTD","TWD","TZS","UAH","UGX","USD","USN","UYI","UYU","UZS","VEF","VND","VUV","WST","XAF","XAG","XAU","XBA","XBB","XBC","XBD","XCD","XDR","XOF","XPD","XPF","XPT","XSU","XTS","XUA","XXX","YER","ZAR","ZMW","ZWL"]},default:"USD",visibleIf:function(e){return"currency"===e.displayStyle}},{name:"maximumFractionDigits:number",default:-1},{name:"minimumFractionDigits:number",default:-1},{name:"useGrouping:boolean",default:!0},{name:"precision:number",default:-1,category:"data"},{name:"enableIf",visible:!1,isSerializable:!1},{name:"isRequired",visible:!1,isSerializable:!1},{name:"readOnly",visible:!1,isSerializable:!1},{name:"requiredErrorText",visible:!1,isSerializable:!1},{name:"resetValueIf",visible:!1,isSerializable:!1},{name:"setValueIf",visible:!1,isSerializable:!1},{name:"setValueExpression",visible:!1,isSerializable:!1},{name:"defaultValueExpression",visible:!1,isSerializable:!1},{name:"defaultValue",visible:!1,isSerializable:!1},{name:"correctAnswer",visible:!1,isSerializable:!1},{name:"requiredIf",visible:!1,isSerializable:!1}],(function(){return new mo("")}),"question"),co.Instance.registerQuestion("expression",(function(e){return new mo(e)}));var go=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(t,n)};return function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function o(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}}();function fo(e,t,n,o){e.storeOthersAsComment=!!n&&n.storeOthersAsComment,e.choices&&0!=e.choices.length||!e.choicesByUrl.isEmpty||(e.choices=n.choices),e.choicesByUrl.isEmpty||e.choicesByUrl.run(o.getTextProcessor())}var yo={dropdown:{onCellQuestionUpdate:function(e,t,n,o){!function(e,t,n,o){fo(e,0,n,o),e.locPlaceholder&&e.locPlaceholder.isEmpty&&!n.locPlaceholder.isEmpty&&(e.optionsCaption=n.optionsCaption)}(e,0,n,o)}},checkbox:{onCellQuestionUpdate:function(e,t,n,o){fo(e,0,n,o),e.colCount=t.colCount>-1?t.colCount:n.columnColCount}},radiogroup:{onCellQuestionUpdate:function(e,t,n,o){fo(e,0,n,o),e.colCount=t.colCount>-1?t.colCount:n.columnColCount}},tagbox:{onCellQuestionUpdate:function(e,t,n,o){fo(e,0,n,o)}},text:{},comment:{},boolean:{onCellQuestionUpdate:function(e,t,n,o){e.renderAs=t.renderAs}},expression:{},rating:{}},vo=function(e){function t(t,n,o){var i=e.call(this)||this;return i.indexValue=-1,i._hasVisibleCell=!0,i.isColumnsVisibleIf=!0,i.previousChoicesId=void 0,i.colOwnerValue=o,i.createLocalizableString("totalFormat",i),i.createLocalizableString("cellHint",i),i.registerPropertyChangedHandlers(["showInMultipleColumns"],(function(){i.doShowInMultipleColumnsChanged()})),i.registerPropertyChangedHandlers(["visible"],(function(){i.doColumnVisibilityChanged()})),i.updateTemplateQuestion(void 0,t,n),i}return go(t,e),t.getColumnTypes=function(){var e=[];for(var t in yo)e.push(t);return e},t.prototype.getOriginalObj=function(){return this.templateQuestion},t.prototype.getClassNameProperty=function(){return"cellType"},t.prototype.getSurvey=function(e){return void 0===e&&(e=!1),this.colOwner?this.colOwner.survey:null},t.prototype.endLoadingFromJson=function(){var t=this;e.prototype.endLoadingFromJson.call(this),this.templateQuestion.autoOtherMode=this.isShowInMultipleColumns,this.templateQuestion.endLoadingFromJson(),this.templateQuestion.onGetSurvey=function(){return t.getSurvey()}},t.prototype.getDynamicPropertyName=function(){return"cellType"},t.prototype.getDynamicType=function(){return"default"===this.cellType?"question":this.calcCellQuestionType(null)},Object.defineProperty(t.prototype,"colOwner",{get:function(){return this.colOwnerValue},set:function(e){this.colOwnerValue=e,e&&(this.updateTemplateQuestion(),this.setParentQuestionToTemplate(this.templateQuestion))},enumerable:!1,configurable:!0}),t.prototype.locStrsChanged=function(){e.prototype.locStrsChanged.call(this),this.locTitle.strChanged()},t.prototype.addUsedLocales=function(t){e.prototype.addUsedLocales.call(this,t),this.templateQuestion.addUsedLocales(t)},Object.defineProperty(t.prototype,"index",{get:function(){return this.indexValue},enumerable:!1,configurable:!0}),t.prototype.setIndex=function(e){this.indexValue=e},t.prototype.getType=function(){return"matrixdropdowncolumn"},Object.defineProperty(t.prototype,"cellType",{get:function(){return this.getPropertyValue("cellType")},set:function(e){e=e.toLocaleLowerCase(),this.updateTemplateQuestion(e),this.setPropertyValue("cellType",e),this.colOwner&&this.colOwner.onColumnCellTypeChanged(this)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"templateQuestion",{get:function(){return this.templateQuestionValue},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"value",{get:function(){return this.templateQuestion.name},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isVisible",{get:function(){return!0},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isColumnVisible",{get:function(){return!!this.isDesignMode||this.visible&&this.hasVisibleCell},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"visible",{get:function(){return this.templateQuestion.visible},set:function(e){this.templateQuestion.visible=e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"hasVisibleCell",{get:function(){return this._hasVisibleCell},set:function(e){this._hasVisibleCell=e},enumerable:!1,configurable:!0}),t.prototype.getVisibleMultipleChoices=function(){var e=this.templateQuestion.visibleChoices;if(!Array.isArray(e))return[];if(!Array.isArray(this._visiblechoices))return e;for(var t=new Array,n=0;n<e.length;n++){var o=e[n];this._visiblechoices.indexOf(o.value)>-1&&t.push(o)}return t},Object.defineProperty(t.prototype,"getVisibleChoicesInCell",{get:function(){if(Array.isArray(this._visiblechoices))return this._visiblechoices;var e=this.templateQuestion.visibleChoices;return Array.isArray(e)?e:[]},enumerable:!1,configurable:!0}),t.prototype.setVisibleChoicesInCell=function(e){this._visiblechoices=e},Object.defineProperty(t.prototype,"isFilteredMultipleColumns",{get:function(){if(!this.showInMultipleColumns)return!1;var e=this.templateQuestion.choices;if(!Array.isArray(e))return!1;for(var t=0;t<e.length;t++)if(e[t].visibleIf)return!0;return!1},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"name",{get:function(){return this.templateQuestion.name},set:function(e){this.templateQuestion.name=e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"title",{get:function(){return this.templateQuestion.title},set:function(e){this.templateQuestion.title=e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"locTitle",{get:function(){return this.templateQuestion.locTitle}
vendor: 8,227 bytes, line 11
11,enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"fullTitle",{get:function(){return this.locTitle.textOrHtml},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isRequired",{get:function(){return this.getPropertyValue("isRequired")},set:function(e){this.setPropertyValue("isRequired",e),this.templateQuestion.isRequired=e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isRenderedRequired",{get:function(){return this.getPropertyValue("isRenderedRequired",this.isRequired)},set:function(e){this.setPropertyValue("isRenderedRequired",e)},enumerable:!1,configurable:!0}),t.prototype.updateIsRenderedRequired=function(e){this.isRenderedRequired=e||this.isRequired},Object.defineProperty(t.prototype,"requiredText",{get:function(){return this.isRenderedRequired&&this.getSurvey()?this.getSurvey().requiredText:this.templateQuestion.requiredText},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"requiredErrorText",{get:function(){return this.templateQuestion.requiredErrorText},set:function(e){this.templateQuestion.requiredErrorText=e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"locRequiredErrorText",{get:function(){return this.templateQuestion.locRequiredErrorText},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"readOnly",{get:function(){return this.templateQuestion.readOnly},set:function(e){this.templateQuestion.readOnly=e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"hasOther",{get:function(){return this.templateQuestion.hasOther},set:function(e){this.templateQuestion.hasOther=e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"visibleIf",{get:function(){return this.templateQuestion.visibleIf},set:function(e){this.templateQuestion.visibleIf=e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"enableIf",{get:function(){return this.templateQuestion.enableIf},set:function(e){this.templateQuestion.enableIf=e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"requiredIf",{get:function(){return this.templateQuestion.requiredIf},set:function(e){this.templateQuestion.requiredIf=e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"resetValueIf",{get:function(){return this.templateQuestion.resetValueIf},set:function(e){this.templateQuestion.resetValueIf=e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"defaultValueExpression",{get:function(){return this.templateQuestion.defaultValueExpression},set:function(e){this.templateQuestion.defaultValueExpression=e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"setValueIf",{get:function(){return this.templateQuestion.setValueIf},set:function(e){this.templateQuestion.setValueIf=e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"setValueExpression",{get:function(){return this.templateQuestion.setValueExpression},set:function(e){this.templateQuestion.setValueExpression=e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isUnique",{get:function(){return this.getPropertyValue("isUnique")},set:function(e){this.setPropertyValue("isUnique",e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"showInMultipleColumns",{get:function(){return this.getPropertyValue("showInMultipleColumns")},set:function(e){this.setPropertyValue("showInMultipleColumns",e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isSupportMultipleColumns",{get:function(){return["checkbox","radiogroup"].indexOf(this.cellType)>-1},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isShowInMultipleColumns",{get:function(){return this.showInMultipleColumns&&this.isSupportMultipleColumns},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"validators",{get:function(){return this.templateQuestion.validators},set:function(e){this.templateQuestion.validators=e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"totalType",{get:function(){return this.getPropertyValue("totalType")},set:function(e){this.setPropertyValue("totalType",e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"totalExpression",{get:function(){return this.getPropertyValue("totalExpression")},set:function(e){this.setPropertyValue("totalExpression",e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"hasTotal",{get:function(){return"none"!=this.totalType||!!this.totalExpression},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"totalFormat",{get:function(){return this.getLocalizableStringText("totalFormat","")},set:function(e){this.setLocalizableStringText("totalFormat",e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"locTotalFormat",{get:function(){return this.getLocalizableString("totalFormat")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"cellHint",{get:function(){return this.getLocalizableStringText("cellHint","")},set:function(e){this.setLocalizableStringText("cellHint",e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"locCellHint",{get:function(){return this.getLocalizableString("cellHint")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"renderAs",{get:function(){return this.getPropertyValue("renderAs")},set:function(e){this.setPropertyValue("renderAs",e),this.templateQuestion&&(this.templateQuestion.renderAs=e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"totalMaximumFractionDigits",{get:function(){return this.getPropertyValue("totalMaximumFractionDigits")},set:function(e){e<-1||e>20||this.setPropertyValue("totalMaximumFractionDigits",e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"totalMinimumFractionDigits",{get:function(){return this.getPropertyValue("totalMinimumFractionDigits")},set:function(e){e<-1||e>20||this.setPropertyValue("totalMinimumFractionDigits",e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"totalDisplayStyle",{get:function(){return this.getPropertyValue("totalDisplayStyle")},set:function(e){this.setPropertyValue("totalDisplayStyle",e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"totalAlignment",{get:function(){return this.getPropertyValue("totalAlignment")},set:function(e){this.setPropertyValue("totalAlignment",e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"totalCurrency",{get:function(){return this.getPropertyValue("totalCurrency")},set:function(e){["AED","AFN","ALL","AMD","ANG","AOA","ARS","AUD","AWG","AZN","BAM","BBD","BDT","BGN","BHD","BIF","BMD","BND","BOB","BOV","BRL","BSD","BTN","BWP","BYN","BZD","CAD","CDF","CHE","CHF","CHW","CLF","CLP","CNY","COP","COU","CRC","CUC","CUP","CVE","CZK","DJF","DKK","DOP","DZD","EGP","ERN","ETB","EUR","FJD","FKP","GBP","GEL","GHS","GIP","GMD","GNF","GTQ","GYD","HKD","HNL","HRK","HTG","HUF","IDR","ILS","INR","IQD","IRR","ISK","JMD","JOD","JPY","KES","KGS","KHR","KMF","KPW","KRW","KWD","KYD","KZT","LAK","LBP","LKR","LRD","LSL","LYD","MAD","MDL","MGA","MKD","MMK","MNT","MOP","MRO","MUR","MVR","MWK","MXN","MXV","MYR","MZN","NAD","NGN","NIO","NOK","NPR","NZD","OMR","PAB","PEN","PGK","PHP","PKR","PLN","PYG","QAR","RON","RSD","RUB","RWF","SAR","SBD","SCR","SDG","SEK","SGD","SHP","SLL","SOS","SRD","SSP","STD","SVC","SYP","SZL","THB","TJS","TMT","TND","TOP","TRY","TTD","TWD","TZS","UAH","UGX","USD","USN","UYI","UYU","UZS","VEF","VND","VUV","WST","XAF","XAG","XAU","XBA","XBB","XBC","XBD","XCD","XDR","XOF","XPD","XPF","XPT","XSU","XTS","XUA","XXX","YER","ZAR","ZMW","ZWL"].indexOf(e)<0||this.setPropertyValue("totalCurrency",e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"minWidth",{get:function(){return this.getPropertyValue("minWidth","")},set:function(e){this.setPropertyValue("minWidth",e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"width",{get:function(){return this.templateQuestion.width},set:function(e){this.templateQuestion.width=e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"colCount",{get:function(){return this.getPropertyValue("colCount")},set:function(e){e<-1||e>4||this.setPropertyValue("colCount",e)}
vendor: 143,294 bytes, line 11
11,enumerable:!1,configurable:!0}),t.prototype.getLocale=function(){return this.colOwner?this.colOwner.getLocale():""},t.prototype.getMarkdownHtml=function(e,t){return this.colOwner?this.colOwner.getMarkdownHtml(e,t):void 0},t.prototype.getRenderer=function(e){return this.colOwner?this.colOwner.getRenderer(e):null},t.prototype.getRendererContext=function(e){return this.colOwner?this.colOwner.getRendererContext(e):e},t.prototype.getProcessedText=function(e){return this.colOwner?this.colOwner.getProcessedText(e):e},t.prototype.createCellQuestion=function(e){var t=this.calcCellQuestionType(e),n=this.createNewQuestion(t);return this.callOnCellQuestionUpdate(n,e),n},t.prototype.startLoadingFromJson=function(t){e.prototype.startLoadingFromJson.call(this,t),t&&!t.cellType&&t.choices&&(t.cellType=this.colOwner.getCellType())},t.prototype.updateCellQuestion=function(e,t,n){void 0===n&&(n=null),this.setQuestionProperties(e,n)},t.prototype.callOnCellQuestionUpdate=function(e,t){var n=e.getType(),o=yo[n];o&&o.onCellQuestionUpdate&&o.onCellQuestionUpdate(e,this,this.colOwner,t)},t.prototype.defaultCellTypeChanged=function(){this.updateTemplateQuestion()},t.prototype.calcCellQuestionType=function(e){var t=this.getDefaultCellQuestionType();return e&&this.colOwner&&(t=this.colOwner.getCustomCellType(this,e,t)),t},t.prototype.getDefaultCellQuestionType=function(e){return e||(e=this.cellType),"default"!==e?e:this.colOwner?this.colOwner.getCellType():tn.matrix.defaultCellType},t.prototype.updateTemplateQuestion=function(e,t,n){var o=this,i=this.getDefaultCellQuestionType(e),r=this.templateQuestion?this.templateQuestion.getType():"";i!==r&&(this.templateQuestion&&this.removeProperties(r),this.templateQuestionValue=this.createNewQuestion(i),this.templateQuestion.locOwner=this,this.addProperties(i),t&&(this.name=t),n?this.title=n:this.templateQuestion.locTitle.strChanged(),tn.serialization.matrixDropdownColumnSerializeTitle&&(this.templateQuestion.locTitle.serializeCallBackText=!0),this.templateQuestion.onPropertyChanged.add((function(e,t){o.propertyValueChanged(t.name,t.oldValue,t.newValue,t.arrayChanges,t.target)})),this.templateQuestion.onItemValuePropertyChanged.add((function(e,t){o.doItemValuePropertyChanged(t.propertyName,t.obj,t.name,t.newValue,t.oldValue)})),this.templateQuestion.isContentElement=!0,this.isLoadingFromJson||(this.templateQuestion.onGetSurvey=function(){return o.getSurvey()}),this.templateQuestion.locTitle.strChanged())},t.prototype.createNewQuestion=function(e){var t=L.createClass(e);return t||(t=L.createClass("text")),t.loadingOwner=this,t.isEditableTemplateElement=!0,t.autoOtherMode=this.isShowInMultipleColumns,this.setQuestionProperties(t),this.setParentQuestionToTemplate(t),t},t.prototype.setParentQuestionToTemplate=function(e){this.colOwner&&this.colOwner.isQuestion&&e.setParentQuestion(this.colOwner)},t.prototype.setQuestionProperties=function(e,t){var n=this;if(void 0===t&&(t=null),this.templateQuestion){var o=(new q).toJsonObject(this.templateQuestion,!0);if(t&&t(o),o.type=e.getType(),"default"===this.cellType&&this.colOwner&&this.colOwner.hasChoices()&&delete o.choices,delete o.itemComponent,this.jsonObj&&"rating"===o.type&&this.isLoadingFromJson&&Object.keys(this.jsonObj).forEach((function(e){o[e]=n.jsonObj[e]})),"random"===o.choicesOrder){o.choicesOrder="none";var i=this.templateQuestion.visibleChoices;Array.isArray(i)&&(o.choices=i)}(new q).toObject(o,e),e.isContentElement=this.templateQuestion.isContentElement,this.previousChoicesId=void 0,e.loadedChoicesFromServerCallback=function(){if(n.isShowInMultipleColumns&&(!n.previousChoicesId||n.previousChoicesId===e.id)){n.previousChoicesId=e.id;var t=e.visibleChoices;n.templateQuestion.choices=t,n.propertyValueChanged("choices",t,t)}}}},t.prototype.propertyValueChanged=function(t,n,o,i,r){if(e.prototype.propertyValueChanged.call(this,t,n,o,i,r),"isRequired"===t&&this.updateIsRenderedRequired(o),this.colOwner&&!this.isLoadingFromJson){if(this.isShowInMultipleColumns){if("choicesOrder"===t)return;["visibleChoices","choices"].indexOf(t)>-1&&this.colOwner.onShowInMultipleColumnsChanged(this)}L.hasOriginalProperty(this,t)&&this.colOwner.onColumnPropertyChanged(this,t,o)}},t.prototype.doItemValuePropertyChanged=function(e,t,n,o,i){L.hasOriginalProperty(t,n)&&(null==this.colOwner||this.isLoadingFromJson||this.colOwner.onColumnItemValuePropertyChanged(this,e,t,n,o,i))},t.prototype.doShowInMultipleColumnsChanged=function(){null!=this.colOwner&&this.colOwner.onShowInMultipleColumnsChanged(this),this.templateQuestion&&(this.templateQuestion.autoOtherMode=this.isShowInMultipleColumns)},t.prototype.doColumnVisibilityChanged=function(){null==this.colOwner||this.isDesignMode||this.colOwner.onColumnVisibilityChanged(this)},t.prototype.getProperties=function(e){return L.getDynamicPropertiesByObj(this,e)},t.prototype.removeProperties=function(e){for(var t=this.getProperties(e),n=0;n<t.length;n++){var o=t[n];delete this[o.name],o.serializationProperty&&delete this[o.serializationProperty]}},t.prototype.addProperties=function(e){var t=this.getProperties(e);L.addDynamicPropertiesIntoObj(this,this.templateQuestion,t)},t}(_e);L.addClass("matrixdropdowncolumn",[{name:"!name",isUnique:!0},{name:"title",serializationProperty:"locTitle",dependsOn:"name",onPropertyEditorUpdate:function(e,t){e&&t&&(t.placeholder=e.name)}},{name:"cellHint",serializationProperty:"locCellHint",visible:!1},{name:"cellType",default:"default",choices:function(){var e=vo.getColumnTypes();return e.splice(0,0,"default"),e}},{name:"colCount",default:-1,choices:[-1,0,1,2,3,4]},{name:"isRequired:boolean",defaultFunc:function(e){var t,n=null===(t=e)||void 0===t?void 0:t.templateQuestion;return n&&L.findProperty(n.getType(),"isRequired").getDefaultValue(n)||!1}},"isUnique:boolean",{name:"requiredErrorText:text",serializationProperty:"locRequiredErrorText"},"readOnly:boolean",{name:"minWidth",onPropertyEditorUpdate:function(e,t){e&&t&&(t.value=e.minWidth)}},"width",{name:"visible:switch",default:!0,overridingProperty:"visibleIf"},"visibleIf:condition","enableIf:condition","requiredIf:condition","resetValueIf:condition","setValueIf:condition","setValueExpression:expression",{name:"showInMultipleColumns:boolean",dependsOn:"cellType",visibleIf:function(e){return e.isSupportMultipleColumns}},{name:"validators:validators",baseClassName:"surveyvalidator",classNamePart:"validator"},{name:"totalType",visibleIf:function(e){return!e.isShowInMultipleColumns},default:"none",choices:["none","sum","count","min","max","avg"]},{name:"totalExpression:expression",visibleIf:function(e){return!e.isShowInMultipleColumns}},{name:"totalFormat",serializationProperty:"locTotalFormat",visibleIf:function(e){return e.hasTotal}},{name:"totalDisplayStyle",visibleIf:function(e){return e.hasTotal},default:"none",choices:["none","decimal","currency","percent"]},{name:"totalAlignment",visibleIf:function(e){return e.hasTotal},default:"auto",choices:["auto","left","center","right"]},{name:"totalCurrency",visibleIf:function(e){return e.hasTotal},choices:function(){return["AED","AFN","ALL","AMD","ANG","AOA","ARS","AUD","AWG","AZN","BAM","BBD","BDT","BGN","BHD","BIF","BMD","BND","BOB","BOV","BRL","BSD","BTN","BWP","BYN","BZD","CAD","CDF","CHE","CHF","CHW","CLF","CLP","CNY","COP","COU","CRC","CUC","CUP","CVE","CZK","DJF","DKK","DOP","DZD","EGP","ERN","ETB","EUR","FJD","FKP","GBP","GEL","GHS","GIP","GMD","GNF","GTQ","GYD","HKD","HNL","HRK","HTG","HUF","IDR","ILS","INR","IQD","IRR","ISK","JMD","JOD","JPY","KES","KGS","KHR","KMF","KPW","KRW","KWD","KYD","KZT","LAK","LBP","LKR","LRD","LSL","LYD","MAD","MDL","MGA","MKD","MMK","MNT","MOP","MRO","MUR","MVR","MWK","MXN","MXV","MYR","MZN","NAD","NGN","NIO","NOK","NPR","NZD","OMR","PAB","PEN","PGK","PHP","PKR","PLN","PYG","QAR","RON","RSD","RUB","RWF","SAR","SBD","SCR","SDG","SEK","SGD","SHP","SLL","SOS","SRD","SSP","STD","SVC","SYP","SZL","THB","TJS","TMT","TND","TOP","TRY","TTD","TWD","TZS","UAH","UGX","USD","USN","UYI","UYU","UZS","VEF","VND","VUV","WST","XAF","XAG","XAU","XBA","XBB","XBC","XBD","XCD","XDR","XOF","XPD","XPF","XPT","XSU","XTS","XUA","XXX","YER","ZAR","ZMW","ZWL"]},default:"USD"},{name:"totalMaximumFractionDigits:number",default:-1,visibleIf:function(e){return e.hasTotal}},{name:"totalMinimumFractionDigits:number",default:-1,visibleIf:function(e){return e.hasTotal}},{name:"renderAs",default:"default",visible:!1}],(function(){return new vo("")}));var bo=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(t,n)};return function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function o(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}}(),xo=function(e,t,n,o){var i,r=arguments.length,a=r<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,n):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,o);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(a=(r<3?i(a):r>3?i(t,n,a):i(t,n))||a);return r>3&&a&&Object.defineProperty(t,n,a),a},Co=function(e,t){for(var n=0,o=t.length,i=e.length;n<o;n++,i++)e[i]=t[n];return e};function wo(e,t,n){return e+(t?"-error":"")+(n?"-detail":"")}var Po=function(){function e(){this.minWidth="",this.width="",this.colSpans=1,this.isActionsCell=!1,this.isErrorsCell=!1,this.isDragHandlerCell=!1,this.isDetailRowCell=!1,this.classNameValue="",this.idValue=e.counter++}return Object.defineProperty(e.prototype,"requiredText",{get:function(){return this.column&&this.column.isRenderedRequired?this.column.requiredText:void 0},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"hasQuestion",{get:function(){return!!this.question&&!this.isErrorsCell},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"hasTitle",{get:function(){return!!this.locTitle},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"hasPanel",{get:function(){return!!this.panel},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"id",{get:function(){var e=this.question?this.question.id:this.idValue.toString();return this.isChoice&&(e+="-"+(Number.isInteger(this.choiceIndex)?"index"+this.choiceIndex.toString():this.item.id)),wo(e,this.isErrorsCell,this.isDetailRowCell)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"item",{get:function(){return this.itemValue},set:function(e){this.itemValue=e,e&&(e.hideCaption=!0)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"isChoice",{get:function(){return!!this.item},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"isItemChoice",{get:function(){return this.isChoice&&!this.isOtherChoice},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"choiceValue",{get:function(){return this.isChoice?this.item.value:null},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"isCheckbox",{get:function(){return this.isItemChoice&&this.question.isDescendantOf("checkbox")},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"isRadio",{get:function(){return this.isItemChoice&&this.question.isDescendantOf("radiogroup")},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"isFirstChoice",{get:function(){return 0===this.choiceIndex},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"className",{get:function(){var e=(new Ae).append(this.classNameValue);return this.hasQuestion&&e.append(this.question.cssClasses.hasError,this.question.errors.length>0).append(this.question.cssClasses.answered,this.question.isAnswered),e.toString()},set:function(e){this.classNameValue=e},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"cellQuestionWrapperClassName",{get:function(){return this.cell.getQuestionWrapperClassName(this.matrix.cssClasses.cellQuestionWrapper)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"isVisible",{get:function(){var e;return!this.hasQuestion&&!this.isErrorsCell||!(null===(e=this.matrix)||void 0===e?void 0:e.isMobile)||this.question.isVisible},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"showResponsiveTitle",{get:function(){var e;return this.hasQuestion&&(null===(e=this.matrix)||void 0===e?void 0:e.isMobile)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"responsiveTitleCss",{get:function(){return(new Ae).append(this.matrix.cssClasses.cellResponsiveTitle).toString()},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"responsiveLocTitle",{get:function(){return this.cell.column.locTitle},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"headers",{get:function(){if(this.cell&&this.cell.column){if(this.matrix.IsMultiplyColumn(this.cell.column))return this.item?this.item.locText.renderedHtml:"";var e=this.cell.column.cellHint;return e?""===e.trim()?"":this.cell.column.locCellHint.renderedHtml:this.hasQuestion&&this.question.isVisible&&this.question.title?this.question.title:this.cell.column.title}return this.hasQuestion&&this.question.isVisible?this.question.locTitle.renderedHtml:this.hasTitle&&this.locTitle.renderedHtml||""},enumerable:!1,configurable:!0}),e.prototype.getTitle=function(){return this.matrix&&this.matrix.showHeader?this.headers:""},e.prototype.calculateFinalClassName=function(e){var t=this.cell.question.cssClasses,n=(new Ae).append(t.itemValue,!!t).append(t.asCell,!!t);return n.append(e.cell,n.isEmpty()&&!!e).append(e.choiceCell,this.isChoice).toString()},e.prototype.focusIn=function(){this.question&&this.question.focusIn()},e.counter=1,e}(),ko=function(e){function t(n,o){void 0===o&&(o=!1);var i=e.call(this)||this;return i.cssClasses=n,i.isDetailRow=o,i.hasEndActions=!1,i.isErrorsRow=!1,i.cells=[],i.idValue=t.counter++,i}return bo(t,e),Object.defineProperty(t.prototype,"id",{get:function(){var e;return wo((null===(e=this.row)||void 0===e?void 0:e.id)||this.idValue.toString(),this.isErrorsRow,this.isDetailRow)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"attributes",{get:function(){return this.row?{"data-sv-drop-target-matrix-row":this.row.id}:{}},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"className",{get:function(){var e,t;return(new Ae).append(this.cssClasses.row).append(this.cssClasses.detailRow,this.isDetailRow).append(this.cssClasses.rowHasPanel,null===(e=this.row)||void 0===e?void 0:e.hasPanel).append(this.cssClasses.expandedRow,(null===(t=this.row)||void 0===t?void 0:t.isDetailPanelShowing)&&!this.isDetailRow).append(this.cssClasses.rowHasEndActions,this.hasEndActions).append(this.cssClasses.ghostRow,this.isGhostRow).append(this.cssClasses.rowAdditional,this.isAdditionalClasses).toString()},enumerable:!1,configurable:!0}),t.prototype.setRootElement=function(e){this.rootElement=e},t.prototype.getRootElement=function(){return this.rootElement},t.prototype.focusCell=function(e){if(this.rootElement){var t=":scope td:nth-of-type("+(e+1)+") input, :scope td:nth-of-type("+(e+1)+") button",n=this.rootElement.querySelectorAll(t)[0];n&&n.focus()}},t.counter=1,xo([x({defaultValue:!1})],t.prototype,"isGhostRow",void 0),xo([x({defaultValue:!1})],t.prototype,"isAdditionalClasses",void 0),xo([x({defaultValue:!0})],t.prototype,"visible",void 0),t}(_e),Vo=function(e){function t(t){var n=e.call(this,t)||this;return n.isErrorsRow=!0,n}return bo(t,e),Object.defineProperty(t.prototype,"attributes",{get:function(){return{}},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"className",{get:function(){return(new Ae).append(this.cssClasses.row).append(this.cssClasses.errorRow).toString()},enumerable:!1,configurable:!0}),t.prototype.onAfterCreated=function(){var e=this,t=function(){e.visible=e.cells.some((function(e){return e.question&&e.question.hasVisibleErrors}))};this.cells.forEach((function(e){e.question&&e.question.registerFunctionOnPropertyValueChanged("hasVisibleErrors",t)})),t()},t}(ko),_o=function(e){function t(t){var n=e.call(this)||this;return n.matrix=t,n._renderedRows=[],n.renderedRowsAnimation=new dt(n.getRenderedRowsAnimationOptions(),(function(e){n._renderedRows=e}),(function(){return n._renderedRows})),n.hasActionCellInRowsValues={},n.build(),n}return bo(t,e),t.prototype.getIsAnimationAllowed=function(){return e.prototype.getIsAnimationAllowed.call(this)&&this.matrix.animationAllowed},t.prototype.getRenderedRowsAnimationOptions=function(){var e=this,t=function(e){e.querySelectorAll(":scope > td > *").forEach((function(e){Yt(e)}))},n=function(e){e.querySelectorAll(":scope > td > *").forEach((function(e){Xt(e)}))};return{isAnimationEnabled:function(){return e.animationAllowed},getRerenderEvent:function(){return e.onElementRerendered},getAnimatedElement:function(e){return e.getRootElement()},getLeaveOptions:function(){return{cssClass:e.cssClasses.rowLeave,onBeforeRunAnimation:t,onAfterRunAnimation:n}},getEnterOptions:function(o,i){return{cssClass:e.cssClasses.rowEnter,onBeforeRunAnimation:t,onAfterRunAnimation:n}},getKey:function(e){return e.id}}},t.prototype.updateRenderedRows=function(){this.renderedRows=this.rows},Object.defineProperty(t.prototype,"renderedRows",{get:function(){return this._renderedRows},set:function(e){this.renderedRowsAnimation.sync(e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"showTable",{get:function(){return this.getPropertyValue("showTable",!0)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"showHeader",{get:function(){return this.getPropertyValue("showHeader")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"showAddRow",{get:function(){return this.getPropertyValue("showAddRow",!1)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"showAddRowOnTop",{get:function(){return this.getPropertyValue("showAddRowOnTop",!1)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"showAddRowOnBottom",{get:function(){return this.getPropertyValue("showAddRowOnBottom",!1)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"showFooter",{get:function(){return this.matrix.hasFooter&&this.matrix.isColumnLayoutHorizontal},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"hasFooter",{get:function(){return!!this.footerRow},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"hasRemoveRows",{get:function(){return this.hasRemoveRowsValue},enumerable:!1,configurable:!0}),t.prototype.isRequireReset=function(){return this.isRequireResetValue||this.hasRemoveRows!=this.matrix.canRemoveRows||!this.matrix.isColumnLayoutHorizontal},t.prototype.requireReset=function(){this.isRequireResetValue=!0},Object.defineProperty(t.prototype,"headerRow",{get:function(){return this.headerRowValue},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"footerRow",{get:function(){return this.footerRowValue},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isRowsDragAndDrop",{get:function(){return this.matrix.isRowsDragAndDrop&&this.matrix.isColumnLayoutHorizontal},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"showCellErrorsTop",{get:function(){return"top"===this.matrix.getErrorLocation()},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"showCellErrorsBottom",{get:function(){return"bottom"===this.matrix.getErrorLocation()},enumerable:!1,configurable:!0}),t.prototype.build=function(){this.hasRemoveRowsValue=this.matrix.canRemoveRows;this.matrix.visibleRows;this.cssClasses=this.matrix.cssClasses,this.buildRowsActions(),this.buildHeader(),this.buildRows(),this.buildFooter(),this.updateShowTableAndAddRow()},t.prototype.updateShowTableAndAddRow=function(){var e=this.rows.length>0||this.matrix.isDesignMode||!this.matrix.getShowColumnsIfEmpty();this.setPropertyValue("showTable",e);var t=this.matrix.canAddRow&&e,n=t,o=t;n&&(n="default"===this.matrix.getAddRowLocation()?!this.matrix.isColumnLayoutHorizontal:"bottom"!==this.matrix.getAddRowLocation()),o&&"topBottom"!==this.matrix.getAddRowLocation()&&(o=!n),this.setPropertyValue("showAddRow",this.matrix.canAddRow),this.setPropertyValue("showAddRowOnTop",n),this.setPropertyValue("showAddRowOnBottom",o)},t.prototype.onAddedRow=function(e,t){if(!(this.getRenderedDataRowCount()>=this.matrix.visibleRows.length)){var n=this.getRenderedRowIndexByIndex(t);this.rowsActions.splice(t,0,this.buildRowActions(e)),this.addHorizontalRow(this.rows,e,n),this.updateShowTableAndAddRow()}},t.prototype.getRenderedRowIndexByIndex=function(e){for(var t=0,n=0,o=0;o<this.rows.length;o++){if(n===e){(this.rows[o].isErrorsRow||this.rows[o].isDetailRow)&&(t++,o+1<this.rows.length&&this.rows[o+1].isDetailRow&&t++);break}t++,this.rows[o].isErrorsRow||this.rows[o].isDetailRow||n++}return n<e?this.rows.length:t},t.prototype.getRenderedDataRowCount=function(){for(var e=0,t=0;t<this.rows.length;t++)this.rows[t].isErrorsRow||this.rows[t].isDetailRow||e++;return e},t.prototype.onRemovedRow=function(e){var t=this.getRenderedRowIndex(e);if(!(t<0)){this.rowsActions.splice(t,1);var n=1;t<this.rows.length-1&&this.showCellErrorsBottom&&this.rows[t+1].isErrorsRow&&n++,t<this.rows.length-1&&(this.rows[t+1].isDetailRow||this.showCellErrorsBottom&&t+1<this.rows.length-1&&this.rows[t+2].isDetailRow)&&n++,t>0&&this.showCellErrorsTop&&this.rows[t-1].isErrorsRow&&(t--,n++),this.rows.splice(t,n),this.updateShowTableAndAddRow()}},t.prototype.onDetailPanelChangeVisibility=function(e,t){var n=this.getRenderedRowIndex(e);if(!(n<0)){var o=n;this.showCellErrorsBottom&&o++;var i=o<this.rows.length-1&&this.rows[o+1].isDetailRow?o+1:-1;if(!(t&&i>-1||!t&&i<0))if(t){var r=this.createDetailPanelRow(e,this.rows[n]);this.rows.splice(o+1,0,r)}else this.rows.splice(i,1)}},t.prototype.focusActionCell=function(e,t){var n=this.rows[this.rows.length-1];if(this.matrix.isColumnLayoutHorizontal){var o=this.getRenderedRowIndex(e);n=this.rows[o]}null==n||n.focusCell(t)},t.prototype.getRenderedRowIndex=function(e){for(var t=0;t<this.rows.length;t++)if(this.rows[t].row==e)return t;return-1},t.prototype.buildRowsActions=function(){this.rowsActions=[];for(var e=this.matrix.visibleRows,t=0;t<e.length;t++)this.rowsActions.push(this.buildRowActions(e[t]))},t.prototype.createRenderedRow=function(e,t){return void 0===t&&(t=!1),new ko(e,t)},t.prototype.createErrorRenderedRow=function(e){return new Vo(e)},t.prototype.buildHeader=function(){var e=this.matrix.isColumnLayoutHorizontal&&this.matrix.showHeader||this.matrix.hasRowText&&!this.matrix.isColumnLayoutHorizontal;if(this.setPropertyValue("showHeader",e),e){if(this.headerRowValue=this.createRenderedRow(this.cssClasses),this.isRowsDragAndDrop&&this.headerRow.cells.push(this.createHeaderCell(null,"action",this.cssClasses.actionsCellDrag)),this.hasActionCellInRows("start")&&this.headerRow.cells.push(this.createHeaderCell(null,"action")),this.matrix.hasRowText&&this.matrix.showHeader&&this.headerRow.cells.push(this.createHeaderCell(null)),this.matrix.isColumnLayoutHorizontal)for(var t=0;t<this.matrix.columns.length;t++){var n=this.matrix.columns[t];n.isColumnVisible&&(this.matrix.IsMultiplyColumn(n)?this.createMutlipleColumnsHeader(n):this.headerRow.cells.push(this.createHeaderCell(n)))}else{var o=this.matrix.visibleRows;for(t=0;t<o.length;t++){var i=this.createTextCell(o[t].locText);this.setHeaderCellCssClasses(i),i.row=o[t],this.headerRow.cells.push(i)}if(this.matrix.hasFooter){i=this.createTextCell(this.matrix.getFooterText());this.setHeaderCellCssClasses(i),this.headerRow.cells.push(i)}}this.hasActionCellInRows("end")&&this.headerRow.cells.push(this.createHeaderCell(null,"action"))}},t.prototype.buildFooter=function(){if(this.showFooter){if(this.footerRowValue=this.createRenderedRow(this.cssClasses),this.isRowsDragAndDrop&&this.footerRow.cells.push(this.createHeaderCell(null)),this.hasActionCellInRows("start")&&this.footerRow.cells.push(this.createHeaderCell(null,"action")),this.matrix.hasRowText){var e=this.createTextCell(this.matrix.getFooterText());e.className=(new Ae).append(e.className).append(this.cssClasses.footerTotalCell).toString(),this.footerRow.cells.push(e)}for(var t=this.matrix.visibleTotalRow.cells,n=0;n<t.length;n++){var o=t[n];if(o.column.isColumnVisible)if(this.matrix.IsMultiplyColumn(o.column))this.createMutlipleColumnsFooter(this.footerRow,o);else{var i=this.createEditCell(o);o.column&&this.setCellWidth(o.column,i),i.className=(new Ae).append(i.className).append(this.cssClasses.footerCell).toString(),this.footerRow.cells.push(i)}}this.hasActionCellInRows("end")&&this.footerRow.cells.push(this.createHeaderCell(null,"action"))}},t.prototype.buildRows=function(){this.blockAnimations();var e=this.matrix.isColumnLayoutHorizontal?this.buildHorizontalRows():this.buildVerticalRows();this.rows=e,this.releaseAnimations()},t.prototype.hasActionCellInRows=function(e){return void 0===this.hasActionCellInRowsValues[e]&&(this.hasActionCellInRowsValues[e]=this.hasActionsCellInLocaltion(e)),this.hasActionCellInRowsValues[e]},t.prototype.hasActionsCellInLocaltion=function(e){var t=this;return!("end"!=e||!this.hasRemoveRows)||this.matrix.visibleRows.some((function(n,o){return!t.isValueEmpty(t.getRowActions(o,e))}))},t.prototype.canRemoveRow=function(e){return this.matrix.canRemoveRow(e)},t.prototype.buildHorizontalRows=function(){for(var e=this.matrix.visibleRows,t=[],n=0;n<e.length;n++)this.addHorizontalRow(t,e[n]);return t},t.prototype.addHorizontalRow=function(e,t,n){void 0===n&&(n=-1);var o=this.createHorizontalRow(t),i=this.createErrorRow(o);if(o.row=t,n<0&&(n=e.length),this.matrix.isMobile){for(var r=[],a=0;a<o.cells.length;a++)this.showCellErrorsTop&&!i.cells[a].isEmpty&&r.push(i.cells[a]),r.push(o.cells[a]),this.showCellErrorsBottom&&!i.cells[a].isEmpty&&r.push(i.cells[a]);o.cells=r,e.splice(n,0,o)}else e.splice.apply(e,Co([n,0],this.showCellErrorsTop?[i,o]:[o,i])),n++;t.isDetailPanelShowing&&e.splice(n+1,0,this.createDetailPanelRow(t,o))},t.prototype.getRowDragCell=function(e){var t=new Po,n=this.matrix.lockedRowCount;return t.isDragHandlerCell=n<1||e>=n,t.isEmpty=!t.isDragHandlerCell,t.className=this.getActionsCellClassName(t),t.row=this.matrix.visibleRows[e],t},t.prototype.getActionsCellClassName=function(e){var t=this;void 0===e&&(e=null);var n=(new Ae).append(this.cssClasses.actionsCell).append(this.cssClasses.actionsCellDrag,null==e?void 0:e.isDragHandlerCell).append(this.cssClasses.detailRowCell,null==e?void 0:e.isDetailRowCell).append(this.cssClasses.verticalCell,!this.matrix.isColumnLayoutHorizontal);if(e.isActionsCell){var o=e.item.value.actions;this.cssClasses.actionsCellPrefix&&o.forEach((function(e){n.append(t.cssClasses.actionsCellPrefix+"--"+e.id)}))}return n.toString()},t.prototype.getRowActionsCell=function(e,t,n){void 0===n&&(n=!1);var o=this.getRowActions(e,t);if(!this.isValueEmpty(o)){var i=new Po,r=this.matrix.allowAdaptiveActions?new it:new Me;this.matrix.survey&&this.matrix.survey.getCss().actionBar&&(r.cssClasses=this.matrix.survey.getCss().actionBar),r.setItems(o);var a=new Nn(r);return i.item=a,i.isActionsCell=!0,i.isDragHandlerCell=!1,i.isDetailRowCell=n,i.className=this.getActionsCellClassName(i),i.row=this.matrix.visibleRows[e],i}return null},t.prototype.getRowActions=function(e,t){var n=this.rowsActions[e];return Array.isArray(n)?n.filter((function(e){return e.location||(e.location="start"),e.location===t})):[]},t.prototype.buildRowActions=function(e){var t=[];return this.setDefaultRowActions(e,t),this.matrix.survey&&(t=this.matrix.survey.getUpdatedMatrixRowActions(this.matrix,e,t)),t},Object.defineProperty(t.prototype,"showRemoveButtonAsIcon",{get:function(){return tn.matrix.renderRemoveAsIcon&&this.matrix.survey&&"sd-root-modern"===this.matrix.survey.css.root},enumerable:!1,configurable:!0}),t.prototype.setDefaultRowActions=function(e,t){var n=this,o=this.matrix;this.hasRemoveRows&&this.canRemoveRow(e)&&(this.showRemoveButtonAsIcon?t.push(new tt({id:"remove-row",iconName:"icon-delete-24x24",iconSize:"auto",component:"sv-action-bar-item",innerCss:(new Ae).append(this.matrix.cssClasses.button).append(this.matrix.cssClasses.buttonRemove).toString(),location:"end",showTitle:!1,title:o.removeRowText,enabled:!o.isInputReadOnly,data:{row:e,question:o},action:function(){o.removeRowUI(e)}})):t.push(new tt({id:"remove-row",location:"end",enabled:!this.matrix.isInputReadOnly,component:"sv-matrix-remove-button",data:{row:e,question:this.matrix}}))),e.hasPanel&&(this.matrix.isMobile?t.unshift(new tt({id:"show-detail-mobile",title:new Ve((function(){return e.isDetailPanelShowing?n.matrix.getLocalizationString("hideDetails"):n.matrix.getLocalizationString("showDetails")})),showTitle:!0,location:"end",action:function(t){e.showHideDetailPanelClick()}})):t.push(new tt({id:"show-detail",title:this.matrix.getLocalizationString("editText"),showTitle:!1,location:"start",component:"sv-matrix-detail-button",data:{row:e,question:this.matrix}})))},t.prototype.createErrorRow=function(e){for(var t=this.createErrorRenderedRow(this.cssClasses),n=0;n<e.cells.length;n++){var o=e.cells[n];o.hasQuestion?this.matrix.IsMultiplyColumn(o.cell.column)?o.isFirstChoice?t.cells.push(this.createErrorCell(o.cell)):t.cells.push(this.createEmptyCell(!0)):t.cells.push(this.createErrorCell(o.cell)):t.cells.push(this.createEmptyCell(!0))}return t.onAfterCreated(),t},t.prototype.createHorizontalRow=function(e){var t=this.createRenderedRow(this.cssClasses);if(this.isRowsDragAndDrop){var n=this.matrix.visibleRows.indexOf(e);t.cells.push(this.getRowDragCell(n))}(this.addRowActionsCell(e,t,"start"),this.matrix.hasRowText)&&((r=this.createTextCell(e.locText)).row=e,t.cells.push(r),this.setCellWidth(null,r),r.className=(new Ae).append(r.className).append(this.cssClasses.rowTextCell).append(this.cssClasses.columnTitleCell,!this.matrix.isColumnLayoutHorizontal).append(this.cssClasses.detailRowText,e.hasPanel).toString());for(var o=0;o<e.cells.length;o++){var i=e.cells[o];if(i.column.isColumnVisible)if(this.matrix.IsMultiplyColumn(i.column))this.createMutlipleEditCells(t,i);else{i.column.isShowInMultipleColumns&&i.question.visibleChoices.map((function(e){return e.hideCaption=!1}));var r=this.createEditCell(i);t.cells.push(r),this.setCellWidth(i.column,r)}}return this.addRowActionsCell(e,t,"end"),t},t.prototype.addRowActionsCell=function(e,t,n){var o=this.matrix.visibleRows.indexOf(e);if(this.hasActionCellInRows(n)){var i=this.getRowActionsCell(o,n,t.isDetailRow);if(i)t.cells.push(i),t.hasEndActions=!0;else{var r=new Po;r.isEmpty=!0,r.isDetailRowCell=t.isDetailRow,t.cells.push(r)}}},t.prototype.createDetailPanelRow=function(e,t){var n=this.matrix.isDesignMode,o=this.createRenderedRow(this.cssClasses,!0);o.row=e;var i=new Po;this.matrix.hasRowText&&(i.colSpans=2),i.isEmpty=!0,n||o.cells.push(i);var r=null;this.hasActionCellInRows("end")&&((r=new Po).isEmpty=!0);var a=new Po;return a.panel=e.detailPanel,a.colSpans=t.cells.length-(n?0:i.colSpans)-(r?r.colSpans:0),a.className=this.cssClasses.detailPanelCell,o.cells.push(a),r&&(this.matrix.isMobile?this.addRowActionsCell(e,o,"end"):o.cells.push(r)),"function"==typeof this.matrix.onCreateDetailPanelRenderedRowCallback&&this.matrix.onCreateDetailPanelRenderedRowCallback(o),o},t.prototype.buildVerticalRows=function(){for(var e=this.matrix.columns,t=[],n=0;n<e.length;n++){var o=e[n];if(o.isColumnVisible)if(this.matrix.IsMultiplyColumn(o))this.createMutlipleVerticalRows(t,o,n);else{var i=this.createVerticalRow(o,n),r=this.createErrorRow(i);this.showCellErrorsTop?(t.push(r),t.push(i)):(t.push(i),t.push(r))}}return this.hasActionCellInRows("end")&&t.push(this.createEndVerticalActionRow()),t},t.prototype.createMutlipleVerticalRows=function(e,t,n){var o=this.getMultipleColumnChoices(t);if(o)for(var i=0;i<o.length;i++){var r=this.createVerticalRow(t,n,o[i],i),a=this.createErrorRow(r);this.showCellErrorsTop?(e.push(a),e.push(r)):(e.push(r),e.push(a))}},t.prototype.createVerticalRow=function(e,t,n,o){void 0===n&&(n=null),void 0===o&&(o=-1);var i=this.createRenderedRow(this.cssClasses);if(this.matrix.showHeader){var r=n?n.locText:e.locTitle,a=this.createTextCell(r);a.column=e,a.className=(new Ae).append(a.className).append(this.cssClasses.rowTextCell).append(this.cssClasses.columnTitleCell).toString(),i.cells.push(a)}for(var s=this.matrix.visibleRows,l=0;l<s.length;l++){var u=n,c=o>=0?o:l,p=s[l].cells[t],d=n?p.question.visibleChoices:void 0;d&&c<d.length&&(u=d[c]);var h=this.createEditCell(p,u);h.item=u,h.choiceIndex=c,i.cells.push(h)}return this.matrix.hasTotal&&i.cells.push(this.createEditCell(this.matrix.visibleTotalRow.cells[t])),i},t.prototype.createEndVerticalActionRow=function(){var e=this.createRenderedRow(this.cssClasses);this.matrix.showHeader&&e.cells.push(this.createEmptyCell());for(var t=this.matrix.visibleRows,n=0;n<t.length;n++)e.cells.push(this.getRowActionsCell(n,"end"));return this.matrix.hasTotal&&e.cells.push(this.createEmptyCell()),e},t.prototype.createMutlipleEditCells=function(e,t,n){void 0===n&&(n=!1);var o=n?this.getMultipleColumnChoices(t.column):t.question.visibleChoices;if(o)for(var i=0;i<o.length;i++){var r=this.createEditCell(t,n?void 0:o[i]);n||(this.setItemCellCssClasses(r),r.choiceIndex=i),e.cells.push(r)}},t.prototype.setItemCellCssClasses=function(e){e.className=(new Ae).append(this.cssClasses.cell).append(this.cssClasses.itemCell).append(this.cssClasses.radioCell,e.isRadio).append(this.cssClasses.checkboxCell,e.isCheckbox).toString()},t.prototype.createEditCell=function(e,t){void 0===t&&(t=void 0);var n=new Po;return n.cell=e,n.row=e.row,n.column=e.column,n.question=e.question,n.matrix=this.matrix,n.item=t,n.isOtherChoice=!!t&&!!e.question&&e.question.otherItem===t,n.className=n.calculateFinalClassName(this.cssClasses),n},t.prototype.createErrorCell=function(e,t){void 0===t&&(t=void 0);var n=new Po;return n.question=e.question,n.row=e.row,n.matrix=this.matrix,n.isErrorsCell=!0,n.className=(new Ae).append(this.cssClasses.cell).append(this.cssClasses.errorsCell).append(this.cssClasses.errorsCellTop,this.showCellErrorsTop).append(this.cssClasses.errorsCellBottom,this.showCellErrorsBottom).toString(),n},t.prototype.createMutlipleColumnsFooter=function(e,t){this.createMutlipleEditCells(e,t,!0)},t.prototype.createMutlipleColumnsHeader=function(e){var t=this.getMultipleColumnChoices(e);if(t)for(var n=0;n<t.length;n++){var o=this.createTextCell(t[n].locText);this.setHeaderCell(e,o),this.setHeaderCellCssClasses(o),this.headerRow.cells.push(o)}},t.prototype.getMultipleColumnChoices=function(e){var t=e.templateQuestion.choices;return t&&Array.isArray(t)&&0==t.length?[].concat(this.matrix.choices,e.getVisibleMultipleChoices()):(t=e.getVisibleMultipleChoices())&&Array.isArray(t)?t:null},t.prototype.setHeaderCellCssClasses=function(e,t,n){e.className=(new Ae).append(this.cssClasses.headerCell).append(this.cssClasses.columnTitleCell,this.matrix.isColumnLayoutHorizontal).append(this.cssClasses.emptyCell,!!e.isEmpty).append(this.cssClasses.cell+"--"+t,!!t).append(n,!!n).toString()},t.prototype.createHeaderCell=function(e,t,n){void 0===t&&(t=null);var o=e?this.createTextCell(e.locTitle):this.createEmptyCell();return o.column=e,this.setHeaderCell(e,o),t||(t=e&&"default"!==e.cellType?e.cellType:this.matrix.cellType),this.setHeaderCellCssClasses(o,t,n),o},t.prototype.setHeaderCell=function(e,t){this.setCellWidth(e,t)},t.prototype.setCellWidth=function(e,t){t.minWidth=null!=e?this.matrix.getColumnWidth(e):this.matrix.getRowTitleWidth(),t.width=null!=e?e.width:this.matrix.getRowTitleWidth()},t.prototype.createTextCell=function(e){var t=new Po;return t.locTitle=e,this.cssClasses.cell&&(t.className=this.cssClasses.cell),t},t.prototype.createEmptyCell=function(e){void 0===e&&(e=!1);var t=this.createTextCell(null);return t.isEmpty=!0,t.className=(new Ae).append(this.cssClasses.cell).append(this.cssClasses.emptyCell).append(this.cssClasses.errorsCell,e).toString(),t},xo([w({onPush:function(e,t,n){n.updateRenderedRows()},onRemove:function(e,t,n){n.updateRenderedRows()}})],t.prototype,"rows",void 0),xo([w()],t.prototype,"_renderedRows",void 0),t}(_e),To=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(t,n)};return function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function o(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}}(),So=function(){function e(e,t,n){this.column=e,this.row=t,this.data=n,this.questionValue=this.createQuestion(e,t,n),this.questionValue.updateCustomWidget(),this.updateCellQuestionTitleDueToAccessebility(t)}return e.prototype.updateCellQuestionTitleDueToAccessebility=function(e){var t=this;this.questionValue.locTitle.onGetTextCallback=function(n){if(!e||!e.getSurvey())return t.questionValue.title;var o=e.getAccessbilityText();return o?t.column.colOwner.getCellAriaLabel(o,t.questionValue.title):t.questionValue.title}},e.prototype.locStrsChanged=function(){this.question.locStrsChanged()},e.prototype.createQuestion=function(e,t,n){var o=this,i=n.createQuestion(this.row,this.column);return i.readOnlyCallback=function(){return!o.row.isRowEnabled()},i.validateValueCallback=function(){return n.validateCell(t,e.name,t.value)},k.getProperties(e.getType()).forEach((function(t){var n=t.name;void 0!==e[n]&&(i[n]=e[n])})),i},Object.defineProperty(e.prototype,"question",{get:function(){return this.questionValue},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"value",{get:function(){return this.question.value},set:function(e){this.question.value=e},enumerable:!1,configurable:!0}),e.prototype.getQuestionWrapperClassName=function(e){return e},e.prototype.runCondition=function(e,t){this.question.runCondition(e,t)},e}(),Eo=function(e){function t(t,n,o){var i=e.call(this,t,n,o)||this;return i.column=t,i.row=n,i.data=o,i.updateCellQuestion(),i}return To(t,e),t.prototype.createQuestion=function(e,t,n){var o=L.createClass("expression");return o.setSurveyImpl(t),o},t.prototype.locStrsChanged=function(){this.updateCellQuestion(),e.prototype.locStrsChanged.call(this)},t.prototype.updateCellQuestion=function(){this.question.locCalculation(),this.column.updateCellQuestion(this.question,null,(function(e){delete e.defaultValue})),this.question.expression=this.getTotalExpression(),this.question.format=this.column.totalFormat,this.question.currency=this.column.totalCurrency,this.question.displayStyle=this.column.totalDisplayStyle,this.question.maximumFractionDigits=this.column.totalMaximumFractionDigits,this.question.minimumFractionDigits=this.column.totalMinimumFractionDigits,this.question.unlocCalculation(),this.question.runIfReadOnly=!0},t.prototype.getQuestionWrapperClassName=function(t){var n=e.prototype.getQuestionWrapperClassName.call(this,t);if(!n)return n;this.question.expression&&"''"!=this.question.expression&&(n+=" "+t+"--expression");var o=this.column.totalAlignment;return"auto"===o&&"dropdown"===this.column.cellType&&(o="left"),n+" "+t+"--"+o},t.prototype.getTotalExpression=function(){if(this.column.totalExpression)return this.column.totalExpression;if("none"==this.column.totalType)return"''";var e=this.column.totalType+"InArray";return N.Instance.hasFunction(e)?e+"({self}, '"+this.column.name+"')":""},t}(So),Ro=function(e){function t(t,n,o){var i=e.call(this,n)||this;return i.row=t,i.variableName=n,i.parentTextProcessor=o,i}return To(t,e),t.prototype.getParentTextProcessor=function(){return this.parentTextProcessor},Object.defineProperty(t.prototype,"survey",{get:function(){return this.row.getSurvey()},enumerable:!1,configurable:!0}),t.prototype.getValues=function(){return this.row.value},t.prototype.getQuestionByName=function(e){return this.row.getQuestionByName(e)},t.prototype.onCustomProcessText=function(e){return e.name==Io.IndexVariableName?(e.isExists=!0,e.value=this.row.rowIndex,!0):[Io.RowValueVariableName,Io.RowNameVariableName].indexOf(e.name)>-1&&(e.isExists=!0,e.value=this.row.rowName,!0)},t}(no),Io=function(){function e(t,n){var o=this;this.isSettingValue=!1,this.detailPanelValue=null,this.visibleValue=!0,this.cells=[],this.isCreatingDetailPanel=!1,this.data=t,this.subscribeToChanges(n),this.textPreProcessor=new Ro(this,e.RowVariableName,t?t.getParentTextProcessor():null),this.showHideDetailPanelClick=function(){if(o.getSurvey().isDesignMode)return!0;o.showHideDetailPanel()},this.idValue=e.getId()}return e.getId=function(){return"srow_"+e.idCounter++},Object.defineProperty(e.prototype,"id",{get:function(){return this.idValue},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"rowName",{get:function(){return null},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"dataName",{get:function(){return this.rowName},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"text",{get:function(){return this.rowName},enumerable:!1,configurable:!0}),e.prototype.isRowEnabled=function(){return!0},e.prototype.isRowHasEnabledCondition=function(){return!1},Object.defineProperty(e.prototype,"isVisible",{get:function(){return this.visible&&this.isItemVisible()},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"visible",{get:function(){return this.visibleValue},set:function(e){var t;this.visible!==e&&(this.visibleValue=e,null===(t=this.data)||void 0===t||t.onRowVisibilityChanged(this))},enumerable:!1,configurable:!0}),e.prototype.isItemVisible=function(){return!0},Object.defineProperty(e.prototype,"value",{get:function(){for(var e={},t=this.questions,n=0;n<t.length;n++){var o=t[n];o.isEmpty()||(e[o.getValueName()]=o.value),o.comment&&this.getSurvey()&&this.getSurvey().storeOthersAsComment&&(e[o.getValueName()+_e.commentSuffix]=o.comment)}return e},set:function(e){this.isSettingValue=!0,this.subscribeToChanges(e);for(var t=this.questions,n=0;n<t.length;n++){var o=t[n],i=this.getCellValue(e,o.getValueName()),r=o.comment,a=e?e[o.getValueName()+_e.commentSuffix]:"";null==a&&(a=""),o.updateValueFromSurvey(i),(a||this.isTwoValueEquals(r,o.comment))&&o.updateCommentFromSurvey(a),o.onSurveyValueChanged(i)}this.isSettingValue=!1},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"locText",{get:function(){return null},enumerable:!1,configurable:!0}),e.prototype.getAccessbilityText=function(){return this.locText&&this.locText.renderedHtml},Object.defineProperty(e.prototype,"hasPanel",{get:function(){return!!this.data&&this.data.hasDetailPanel(this)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"detailPanel",{get:function(){return this.detailPanelValue},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"detailPanelId",{get:function(){return this.detailPanel?this.detailPanel.id:""},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"isDetailPanelShowing",{get:function(){return!!this.data&&this.data.getIsDetailPanelShowing(this)},enumerable:!1,configurable:!0}),e.prototype.setIsDetailPanelShowing=function(e){!e&&this.detailPanel&&this.detailPanel.onHidingContent(),this.data&&this.data.setIsDetailPanelShowing(this,e),this.onDetailPanelShowingChanged&&this.onDetailPanelShowingChanged()},e.prototype.showHideDetailPanel=function(){this.isDetailPanelShowing?this.hideDetailPanel():this.showDetailPanel()},e.prototype.showDetailPanel=function(){this.ensureDetailPanel(),this.detailPanelValue&&this.setIsDetailPanelShowing(!0)},e.prototype.hideDetailPanel=function(e){void 0===e&&(e=!1),this.setIsDetailPanelShowing(!1),e&&(this.detailPanelValue=null)},e.prototype.ensureDetailPanel=function(){if(!this.isCreatingDetailPanel&&!this.detailPanelValue&&this.hasPanel&&this.data){this.isCreatingDetailPanel=!0,this.detailPanelValue=this.data.createRowDetailPanel(this);var e=this.detailPanelValue.questions,t=this.getDataRowValue();if(!u.isValueEmpty(t))for(var n=0;n<e.length;n++){var o=e[n].getValueName(),i=this.editingObj?L.getObjPropertyValue(this.editingObj,o):t[o];u.isValueEmpty(i)||(e[n].value=i)}this.detailPanelValue.setSurveyImpl(this),this.isCreatingDetailPanel=!1}},e.prototype.getAllValues=function(){return this.value},e.prototype.getFilteredValues=function(){var e=this.data?this.data.getDataFilteredValues():{},t=this.validationValues;if(t)for(var n in t)e[n]=t[n];if(e.row=this.getAllValues(),this.data){var o=this.getDataRowValue();if(o)for(var n in o)void 0===e.row[n]&&(e.row[n]=o[n])}return this.applyRowVariablesToValues(e,this.rowIndex),e},e.prototype.getFilteredProperties=function(){return{survey:this.getSurvey(),row:this}},e.prototype.getDataRowValue=function(){return this.data?this.data.getRowValue(this.data.getRowIndex(this)):null},e.prototype.applyRowVariablesToValues=function(t,n){t[e.IndexVariableName]=n,t[e.RowValueVariableName]=this.rowName,t[e.RowNameVariableName]=this.rowName},e.prototype.runCondition=function(t,n,o){if(this.data){t[e.OwnerVariableName]=this.data.getFilteredData();var i=this.rowIndex;this.applyRowVariablesToValues(t,i);var r=u.createCopy(n);r[e.RowVariableName]=this;var a=i>0?this.getDataRowValue():this.value;o?(t[e.RowVariableName]=a,this.setRowsVisibleIfValues(t),this.visible=new be(o).run(t,n)):this.visible=!0;for(var s=0;s<this.cells.length;s++)s>0&&Gt(this.value,a),t[e.RowVariableName]=a,this.cells[s].runCondition(t,r);this.detailPanel&&this.detailPanel.runCondition(t,r),this.isRowHasEnabledCondition()&&this.onQuestionReadOnlyChanged()}},e.prototype.updateElementVisibility=function(){this.cells.forEach((function(e){return e.question.updateElementVisibility()})),this.detailPanel&&this.detailPanel.updateElementVisibility()},e.prototype.setRowsVisibleIfValues=function(e){},e.prototype.getNamesWithDefaultValues=function(){var e=[];return this.questions.forEach((function(t){t.isValueDefault&&e.push(t.getValueName())})),e},e.prototype.clearValue=function(e){for(var t=this.questions,n=0;n<t.length;n++)t[n].clearValue(e)},e.prototype.onAnyValueChanged=function(e,t){for(var n=this.questions,o=0;o<n.length;o++)n[o].onAnyValueChanged(e,t)},e.prototype.getDataValueCore=function(e,t){var n=this.getSurvey();return n?n.getDataValueCore(e,t):e[t]},e.prototype.getValue=function(e){var t=this.getQuestionByName(e);return t?t.value:null},e.prototype.setValue=function(e,t){this.setValueCore(e,t,!1)},e.prototype.getVariable=function(e){},e.prototype.setVariable=function(e,t){},e.prototype.getComment=function(e){var t=this.getQuestionByName(e);return t?t.comment:""},e.prototype.setComment=function(e,t,n){this.setValueCore(e,t,!0)},e.prototype.findQuestionByName=function(t){if(t){var n=e.RowVariableName+".";if(0===t.indexOf(n))return this.getQuestionByName(t.substring(n.length));var o=this.getSurvey();return o?o.getQuestionByName(t):null}},e.prototype.getEditingSurveyElement=function(){},e.prototype.setValueCore=function(t,n,o){if(!this.isSettingValue&&!this.isCreatingDetailPanel){this.updateQuestionsValue(t,n,o),o||this.updateSharedQuestionsValue(t,n);var i=this.value,r=o?t+_e.commentSuffix:t,a=n,s=this.getQuestionByName(t),l=this.data.onRowChanging(this,r,i);if(s&&!this.isTwoValueEquals(l,a)&&(this.isSettingValue=!0,o?s.comment=l:s.value=l,this.isSettingValue=!1,i=this.value),!this.data.isValidateOnValueChanging||!this.hasQuestonError(s)){var u=null==n&&!s||o&&!n&&!!s;this.data.onRowChanged(this,r,i,u),r&&this.runTriggers(Oo.RowVariableName+"."+r,i),this.onAnyValueChanged(e.RowVariableName,"")}}},e.prototype.updateQuestionsValue=function(e,t,n){if(this.detailPanel){var o=this.getQuestionByColumnName(e),i=this.detailPanel.getQuestionByName(e);if(o&&i){var r=this.isTwoValueEquals(t,n?o.comment:o.value)?i:o;this.isSettingValue=!0,n?r.comment=t:r.value=t,this.isSettingValue=!1}}},e.prototype.updateSharedQuestionsValue=function(e,t){var n=this.getQuestionsByValueName(e);if(n.length>1)for(var o=0;o<n.length;o++)u.isTwoValueEquals(n[o].value,t)||(this.isSettingValue=!0,n[o].updateValueFromSurvey(t),this.isSettingValue=!1)},e.prototype.runTriggers=function(e,t,n){(e||n)&&this.questions.forEach((function(o){return o.runTriggers(e,t,n)}))},e.prototype.hasQuestonError=function(e){if(!e)return!1;if(e.hasErrors(!0,{isOnValueChanged:!this.data.isValidateOnValueChanging}))return!0;if(e.isEmpty())return!1;var t=this.getCellByColumnName(e.name);return!!(t&&t.column&&t.column.isUnique)&&this.data.checkIfValueInRowDuplicated(this,e)},Object.defineProperty(e.prototype,"isEmpty",{get:function(){var e=this.value;if(u.isValueEmpty(e))return!0;for(var t in e)if(void 0!==e[t]&&null!==e[t])return!1;return!0},enumerable:!1,configurable:!0}),e.prototype.getQuestionByColumn=function(e){var t=this.getCellByColumn(e);return t?t.question:null},e.prototype.getCellByColumn=function(e){for(var t=0;t<this.cells.length;t++)if(this.cells[t].column==e)return this.cells[t];return null},e.prototype.getCellByColumnName=function(e){for(var t=0;t<this.cells.length;t++)if(this.cells[t].column.name==e)return this.cells[t];return null},e.prototype.getQuestionByColumnName=function(e){var t=this.getCellByColumnName(e);return t?t.question:null},Object.defineProperty(e.prototype,"questions",{get:function(){for(var e=[],t=0;t<this.cells.length;t++)e.push(this.cells[t].question);var n=this.detailPanel?this.detailPanel.questions:[];for(t=0;t<n.length;t++)e.push(n[t]);return e},enumerable:!1,configurable:!0}),e.prototype.getQuestionByName=function(e){var t=this.getQuestionByColumnName(e);return t||(this.detailPanel?this.detailPanel.getQuestionByName(e):null)},e.prototype.getQuestionsByName=function(e){var t=[],n=this.getQuestionByColumnName(e);return n&&t.push(n),this.detailPanel&&(n=this.detailPanel.getQuestionByName(e))&&t.push(n),t},e.prototype.getQuestionsByValueName=function(e){for(var t=[],n=0;n<this.cells.length;n++){var o=this.cells[n];o.question&&o.question.getValueName()===e&&t.push(o.question)}return this.detailPanel&&(t=t.concat(this.detailPanel.getQuestionsByValueName(e))),t},e.prototype.getSharedQuestionByName=function(e){return this.data?this.data.getSharedQuestionByName(e,this):null},e.prototype.clearIncorrectValues=function(e){for(var t in e){var n=this.getQuestionByName(t);if(n){var o=n.value;n.clearIncorrectValues(),this.isTwoValueEquals(o,n.value)||this.setValue(t,n.value)}else!this.getSharedQuestionByName(t)&&t.indexOf(tn.matrix.totalsSuffix)<0&&this.setValue(t,null)}},e.prototype.getLocale=function(){return this.data?this.data.getLocale():""},e.prototype.getMarkdownHtml=function(e,t){return this.data?this.data.getMarkdownHtml(e,t):void 0},e.prototype.getRenderer=function(e){return this.data?this.data.getRenderer(e):null},e.prototype.getRendererContext=function(e){return this.data?this.data.getRendererContext(e):e},e.prototype.getProcessedText=function(e){return this.data?this.data.getProcessedText(e):e},e.prototype.locStrsChanged=function(){for(var e=0;e<this.cells.length;e++)this.cells[e].locStrsChanged();this.detailPanel&&this.detailPanel.locStrsChanged()},e.prototype.updateCellQuestionOnColumnChanged=function(e,t,n){var o=this.getCellByColumn(e);o&&this.updateCellOnColumnChanged(o,t,n)},e.prototype.updateCellQuestionOnColumnItemValueChanged=function(e,t,n,o,i,r){var a=this.getCellByColumn(e);a&&this.updateCellOnColumnItemValueChanged(a,t,n,o,i,r)},e.prototype.onQuestionReadOnlyChanged=function(){for(var e=this.questions,t=0;t<e.length;t++){var n=e[t];n.setPropertyValue("isReadOnly",n.isReadOnly)}if(this.detailPanel){var o=!!this.data&&this.data.isMatrixReadOnly();this.detailPanel.readOnly=o||!this.isRowEnabled()}},e.prototype.hasErrors=function(e,t,n){var o=!1,i=this.cells;if(!i)return o;this.validationValues=t.validationValues;for(var r=0;r<i.length;r++)if(i[r]){var a=i[r].question;a&&a.visible&&(a.onCompletedAsyncValidators=function(e){n()},t&&!0===t.isOnValueChanged&&a.isEmpty()||(o=a.hasErrors(e,t)||o))}if(this.hasPanel){this.ensureDetailPanel();var s=this.detailPanel.hasErrors(e,!1,t);!t.hideErroredPanel&&s&&e&&(t.isSingleDetailPanel&&(t.hideErroredPanel=!0),this.showDetailPanel()),o=s||o}return this.validationValues=void 0,o},e.prototype.updateCellOnColumnChanged=function(e,t,n){"choices"===t&&Array.isArray(n)&&0===n.length&&this.data&&(n=this.data.choices),e.question[t]=n},e.prototype.updateCellOnColumnItemValueChanged=function(e,t,n,o,i,r){var a=e.question[t];if(Array.isArray(a)){var s="value"===o?r:n.value,l=Nn.getItemByValue(a,s);l&&(l[o]=i)}},e.prototype.buildCells=function(e){this.isSettingValue=!0;for(var t=this.data.columns,n=0;n<t.length;n++){var o=t[n],i=this.createCell(o);this.cells.push(i);var r=this.getCellValue(e,o.name);if(!u.isValueEmpty(r)){i.question.value=r;var a=o.name+_e.commentSuffix;e&&!u.isValueEmpty(e[a])&&(i.question.comment=e[a])}}this.isSettingValue=!1},e.prototype.isTwoValueEquals=function(e,t){return u.isTwoValueEquals(e,t,!1,!0,!1)},e.prototype.getCellValue=function(e,t){return this.editingObj?L.getObjPropertyValue(this.editingObj,t):e?e[t]:void 0},e.prototype.createCell=function(e){return new So(e,this,this.data)},e.prototype.getSurveyData=function(){return this},e.prototype.getSurvey=function(){return this.data?this.data.getSurvey():null},e.prototype.getTextProcessor=function(){return this.textPreProcessor},Object.defineProperty(e.prototype,"rowIndex",{get:function(){return this.getRowIndex()},enumerable:!1,configurable:!0}),e.prototype.getRowIndex=function(){return this.data?this.data.getRowIndex(this)+1:-1},Object.defineProperty(e.prototype,"editingObj",{get:function(){return this.editingObjValue},enumerable:!1,configurable:!0}),e.prototype.dispose=function(){this.editingObj&&(this.editingObj.onPropertyChanged.remove(this.onEditingObjPropertyChanged),this.editingObjValue=null)},e.prototype.subscribeToChanges=function(e){var t=this;e&&e.getType&&e.onPropertyChanged&&e!==this.editingObj&&(this.editingObjValue=e,this.onEditingObjPropertyChanged=function(e,n){t.updateOnSetValue(n.name,n.newValue)},this.editingObj.onPropertyChanged.add(this.onEditingObjPropertyChanged))},e.prototype.updateOnSetValue=function(e,t){this.isSettingValue=!0;for(var n=this.getQuestionsByName(e),o=0;o<n.length;o++)n[o].value=t;this.isSettingValue=!1},e.RowVariableName="row",e.OwnerVariableName="self",e.IndexVariableName="rowIndex",e.RowValueVariableName="rowValue",e.RowNameVariableName="rowName",e.idCounter=1,e}(),Oo=function(e){function t(t){var n=e.call(this,t,null)||this;return n.buildCells(null),n}return To(t,e),t.prototype.createCell=function(e){return new Eo(e,this,this.data)},t.prototype.setValue=function(e,t){this.data&&!this.isSettingValue&&this.data.onTotalValueChanged()},t.prototype.runCondition=function(t,n,o){var i,r=0;do{i=u.getUnbindValue(this.value),e.prototype.runCondition.call(this,t,n,""),r++}while(!u.isTwoValueEquals(i,this.value)&&r<3)},t.prototype.updateCellOnColumnChanged=function(e,t,n){e.updateCellQuestion()},t}(Io),Ao=function(e){function t(t){var n=e.call(this,t)||this;return n.isRowChanging=!1,n.lockResetRenderedTable=!1,n.createItemValues("choices"),n.createLocalizableString("placeholder",n,!1,!0),n.createLocalizableString("keyDuplicationError",n,!1,!0),n.detailPanelValue=n.createNewDetailPanel(),n.detailPanel.selectedElementInDesign=n,n.detailPanel.renderWidth="100%",n.detailPanel.isInteractiveDesignElement=!1,n.detailPanel.showTitle=!1,n.registerPropertyChangedHandlers(["columns","cellType"],(function(){n.updateColumnsAndRows()})),n.registerPropertyChangedHandlers(["placeholder","columnColCount","rowTitleWidth","choices"],(function(){n.clearRowsAndResetRenderedTable()})),n.registerPropertyChangedHandlers(["transposeData","addRowLocation","hideColumnsIfEmpty","showHeader","minRowCount","isReadOnly","rowCount","hasFooter","detailPanelMode","displayMode"],(function(){n.resetRenderedTable()})),n}return To(t,e),Object.defineProperty(t,"defaultCellType",{get:function(){return tn.matrix.defaultCellType},set:function(e){tn.matrix.defaultCellType=e},enumerable:!1,configurable:!0}),t.addDefaultColumns=function(e){for(var t=co.DefaultColums,n=0;n<t.length;n++)e.addColumn(t[n])},t.prototype.createColumnValues=function(){var e=this;return this.createNewArray("columns",(function(t){t.colOwner=e,e.onAddColumn&&e.onAddColumn(t),e.survey&&e.survey.matrixColumnAdded(e,t)}),(function(t){t.colOwner=null,e.onRemoveColumn&&e.onRemoveColumn(t)}))},t.prototype.getType=function(){return"matrixdropdownbase"},t.prototype.dispose=function(){e.prototype.dispose.call(this),this.clearGeneratedRows()},Object.defineProperty(t.prototype,"hasSingleInput",{get:function(){return!1},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isContainer",{get:function(){return!0},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isRowsDynamic",{get:function(){return!1},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isUpdateLocked",{get:function(){return this.isLoadingFromJson||this.isUpdating},enumerable:!1,configurable:!0}),t.prototype.beginUpdate=function(){this.isUpdating=!0},t.prototype.endUpdate=function(){this.isUpdating=!1,this.updateColumnsAndRows()},t.prototype.updateColumnsAndRows=function(){this.updateColumnsIndexes(this.columns),this.updateColumnsCellType(),this.generatedTotalRow=null,this.clearRowsAndResetRenderedTable()},t.prototype.itemValuePropertyChanged=function(t,n,o,i){e.prototype.itemValuePropertyChanged.call(this,t,n,o,i),"choices"===t.ownerPropertyName&&this.clearRowsAndResetRenderedTable()},Object.defineProperty(t.prototype,"transposeData",{get:function(){return this.getPropertyValue("transposeData")},set:function(e){this.setPropertyValue("transposeData",e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"columnLayout",{get:function(){return this.transposeData?"vertical":"horizontal"},set:function(e){this.transposeData="vertical"===e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"columnsLocation",{get:function(){return this.columnLayout},set:function(e){this.columnLayout=e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"detailErrorLocation",{get:function(){return this.getPropertyValue("detailErrorLocation")},set:function(e){this.setPropertyValue("detailErrorLocation",e.toLowerCase())},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"cellErrorLocation",{get:function(){return this.getPropertyValue("cellErrorLocation")},set:function(e){this.setPropertyValue("cellErrorLocation",e.toLowerCase())},enumerable:!1,configurable:!0}),t.prototype.getChildErrorLocation=function(t){var n=t.parent?this.detailErrorLocation:this.cellErrorLocation;return"default"!==n?n:e.prototype.getChildErrorLocation.call(this,t)},Object.defineProperty(t.prototype,"isColumnLayoutHorizontal",{get:function(){return!!this.isMobile||!this.transposeData},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isUniqueCaseSensitive",{get:function(){return void 0!==this.isUniqueCaseSensitiveValue?this.isUniqueCaseSensitiveValue:tn.comparator.caseSensitive},set:function(e){this.isUniqueCaseSensitiveValue=e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"detailPanelMode",{get:function(){return this.getPropertyValue("detailPanelMode")},set:function(e){this.setPropertyValue("detailPanelMode",e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"detailPanel",{get:function(){return this.detailPanelValue},enumerable:!1,configurable:!0}),t.prototype.getPanel=function(){return this.detailPanel},Object.defineProperty(t.prototype,"detailElements",{get:function(){return this.detailPanel.elements},enumerable:!1,configurable:!0}),t.prototype.createNewDetailPanel=function(){return L.createClass("panel")},Object.defineProperty(t.prototype,"hasRowText",{get:function(){return!0},enumerable:!1,configurable:!0}),t.prototype.getFooterText=function(){return null},Object.defineProperty(t.prototype,"canAddRow",{get:function(){return!1},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"canRemoveRows",{get:function(){return!1},enumerable:!1,configurable:!0}),t.prototype.canRemoveRow=function(e){return!0},t.prototype.onPointerDown=function(e,t){},t.prototype.onRowsChanged=function(){this.clearVisibleRows(),this.resetRenderedTable(),e.prototype.onRowsChanged.call(this)},t.prototype.onStartRowAddingRemoving=function(){this.lockResetRenderedTable=!0,this.setValueChangedDirectly(!0)},t.prototype.onEndRowAdding=function(){if(this.lockResetRenderedTable=!1,this.renderedTable)if(this.renderedTable.isRequireReset())this.resetRenderedTable();else{var e=this.visibleRows.length-1;this.renderedTable.onAddedRow(this.visibleRows[e],e)}},t.prototype.onEndRowRemoving=function(e){this.lockResetRenderedTable=!1,this.renderedTable.isRequireReset()?this.resetRenderedTable():e&&this.renderedTable.onRemovedRow(e)},Object.defineProperty(t.prototype,"renderedTableValue",{get:function(){return this.getPropertyValue("renderedTable",null)},set:function(e){this.setPropertyValue("renderedTable",e)},enumerable:!1,configurable:!0}),t.prototype.clearRowsAndResetRenderedTable=function(){this.clearGeneratedRows(),this.resetRenderedTable(),this.fireCallback(this.columnsChangedCallback)},t.prototype.resetRenderedTable=function(e){this.renderedTableValue&&(this.lockResetRenderedTable||this.isUpdateLocked?e&&this.renderedTableValue.requireReset():(this.renderedTableValue=null,this.fireCallback(this.onRenderedTableResetCallback)))},t.prototype.clearGeneratedRows=function(){if(this.clearVisibleRows(),this.generatedVisibleRows){for(var t=0;t<this.generatedVisibleRows.length;t++)this.generatedVisibleRows[t].dispose();e.prototype.clearGeneratedRows.call(this)}},Object.defineProperty(t.prototype,"isRendredTableCreated",{get:function(){return!!this.renderedTableValue},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"renderedTable",{get:function(){return this.renderedTableValue||this.isDisposed||(this.renderedTableValue=this.createRenderedTable(),this.onRenderedTableCreatedCallback&&this.onRenderedTableCreatedCallback(this.renderedTableValue)),this.renderedTableValue},enumerable:!1,configurable:!0}),t.prototype.createRenderedTable=function(){return new _o(this)},t.prototype.onMatrixRowCreated=function(e){if(this.survey)for(var t={rowValue:e.value,row:e,column:null,columnName:null,cell:null,cellQuestion:null,value:null},n=0;n<this.columns.length;n++){t.column=this.columns[n],t.columnName=t.column.name;var o=e.cells[n];t.cell=o,t.cellQuestion=o.question,t.value=o.value,this.onCellCreatedCallback&&this.onCellCreatedCallback(t),this.survey.matrixCellCreated(this,t)}},Object.defineProperty(t.prototype,"cellType",{get:function(){return this.getPropertyValue("cellType",tn.matrix.defaultCellType)},set:function(e){e=e.toLowerCase(),this.setPropertyValue("cellType",e)},enumerable:!1,configurable:!0}),t.prototype.isSelectCellType=function(){return L.isDescendantOf(this.cellType,"selectbase")},t.prototype.updateColumnsCellType=function(){for(var e=0;e<this.columns.length;e++)this.columns[e].defaultCellTypeChanged()},t.prototype.updateColumnsIndexes=function(e){for(var t=0;t<e.length;t++)e[t].setIndex(t)},Object.defineProperty(t.prototype,"columnColCount",{get:function(){return this.getPropertyValue("columnColCount")},set:function(e){e<0||e>4||this.setPropertyValue("columnColCount",e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"horizontalScroll",{get:function(){return this.getPropertyValue("horizontalScroll")},set:function(e){this.setPropertyValue("horizontalScroll",e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"allowAdaptiveActions",{get:function(){return this.getPropertyValue("allowAdaptiveActions")},set:function(e){this.setPropertyValue("allowAdaptiveActions",e),this.detailPanel&&(this.detailPanel.allowAdaptiveActions=e)},enumerable:!1,configurable:!0}),t.prototype.getRequiredText=function(){return this.survey?this.survey.requiredText:""},t.prototype.hasChoices=function(){return this.choices.length>0},t.prototype.onColumnPropertyChanged=function(e,t,n){if(this.updateHasFooter(),this.generatedVisibleRows){for(var o=0;o<this.generatedVisibleRows.length;o++)this.generatedVisibleRows[o].updateCellQuestionOnColumnChanged(e,t,n);this.generatedTotalRow&&this.generatedTotalRow.updateCellQuestionOnColumnChanged(e,t,n),this.onColumnsChanged(),"isRequired"==t&&this.resetRenderedTable()}},t.prototype.onColumnItemValuePropertyChanged=function(e,t,n,o,i,r){if(this.generatedVisibleRows)for(var a=0;a<this.generatedVisibleRows.length;a++)this.generatedVisibleRows[a].updateCellQuestionOnColumnItemValueChanged(e,t,n,o,i,r)},t.prototype.onShowInMultipleColumnsChanged=function(e){this.resetTableAndRows()},t.prototype.onColumnVisibilityChanged=function(e){this.resetTableAndRows()},t.prototype.onColumnCellTypeChanged=function(e){this.updateDefaultRowValue(e),this.resetTableAndRows()},t.prototype.updateDefaultRowValue=function(e){var t=this.defaultRowValue;t&&"file"===e.cellType&&t[e.name]&&(delete t[e.name],0===Object.keys(t).length&&(t=void 0),this.defaultRowValue=t)},t.prototype.resetTableAndRows=function(){this.clearGeneratedRows(),this.resetRenderedTable()},t.prototype.getRowTitleWidth=function(){return""},Object.defineProperty(t.prototype,"hasFooter",{get:function(){return this.getPropertyValue("hasFooter",!1)},enumerable:!1,configurable:!0}),t.prototype.getAddRowLocation=function(){return"default"},t.prototype.getShowColumnsIfEmpty=function(){return!1},t.prototype.updateShowTableAndAddRow=function(){this.renderedTable&&this.renderedTable.updateShowTableAndAddRow()},t.prototype.updateHasFooter=function(){this.setPropertyValue("hasFooter",this.hasTotal)},Object.defineProperty(t.prototype,"hasTotal",{get:function(){for(var e=0;e<this.columns.length;e++)if(this.columns[e].hasTotal)return!0;return!1},enumerable:!1,configurable:!0}),t.prototype.getCellType=function(){return this.cellType},t.prototype.getCustomCellType=function(e,t,n){if(!this.survey)return n;var o={rowValue:t.value,row:t,column:e,columnName:e.name,cellType:n};return this.survey.matrixCellCreating(this,o),o.cellType},t.prototype.getConditionJson=function(t,n){if(void 0===t&&(t=null),void 0===n&&(n=null),!n)return e.prototype.getConditionJson.call(this,t);for(var o="",i=n.length-1;i>=0&&"."!=n[i];i--)o=n[i]+o;var r=void 0,a=this.getColumnByName(o);return a?r=a.createCellQuestion(null):"none"!==this.detailPanelMode&&(r=this.detailPanel.getQuestionByName(o)),r?r.getConditionJson(t):null},t.prototype.clearIncorrectValues=function(){if(Array.isArray(this.visibleRows))for(var e=this.generatedVisibleRows,t=0;t<e.length;t++)e[t].clearIncorrectValues(this.getRowValue(t))},t.prototype.clearErrors=function(){e.prototype.clearErrors.call(this),this.runFuncForCellQuestions((function(e){e.clearErrors()}))},t.prototype.localeChanged=function(){e.prototype.localeChanged.call(this),this.runFuncForCellQuestions((function(e){e.localeChanged()}))},t.prototype.runFuncForCellQuestions=function(e){var t=this.generatedVisibleRows;if(t)for(var n=0;n<t.length;n++){var o=t[n];if(o.isVisible)for(var i=0;i<o.cells.length;i++)e(o.cells[i].question)}},t.prototype.runCondition=function(t,n){var o=t[Io.RowVariableName];e.prototype.runCondition.call(this,t,n);var i,r=0;do{i=u.getUnbindValue(this.totalValue),this.runCellsCondition(t,n),this.runTotalsCondition(t,n),r++}while(!u.isTwoValueEquals(i,this.totalValue)&&r<3);this.updateVisibilityBasedOnRows(),t[Io.RowVariableName]=o},t.prototype.runTriggers=function(t,n,o){e.prototype.runTriggers.call(this,t,n,o),this.runFuncForCellQuestions((function(e){e.runTriggers(t,n,o)}))},t.prototype.updateElementVisibility=function(){e.prototype.updateElementVisibility.call(this);var t=this.generatedVisibleRows;t&&t.forEach((function(e){return e.updateElementVisibility()})),this.updateShowTableAndAddRow()},t.prototype.shouldRunColumnExpression=function(){return!1},t.prototype.runCellsCondition=function(e,t){var n=this.generatedVisibleRows;if(n)for(var o=this.getRowConditionValues(e),i=0;i<n.length;i++)n[i].runCondition(o,t,this.rowsVisibleIf);this.checkColumnsVisibility(),this.checkColumnsRenderedRequired()},t.prototype.runConditionsForColumns=function(e,t){var n=this;return this.columns.forEach((function(o){if(n.columnsVisibleIf){var i=new be(n.columnsVisibleIf);e.item=o.name,o.isColumnsVisibleIf=!0===i.run(e,t)}else o.isColumnsVisibleIf=!0})),!1},t.prototype.checkColumnsVisibility=function(){if(!this.isDesignMode){for(var e=!1,t=0;t<this.columns.length;t++){var n=this.columns[t],o=!!n.visibleIf||n.isFilteredMultipleColumns;(o||this.columnsVisibleIf||!n.isColumnVisible)&&(e=this.isColumnVisibilityChanged(n,o)||e)}e&&this.resetRenderedTable(!0)}},t.prototype.checkColumnsRenderedRequired=function(){var e=this.generatedVisibleRows;if(e)for(var t=0;t<this.columns.length;t++){var n=this.columns[t];if(n.requiredIf&&n.isColumnVisible){for(var o=e.length>0,i=0;i<e.length;i++)if(!e[i].cells[t].question.isRequired){o=!1;break}n.updateIsRenderedRequired(o)}}},t.prototype.isColumnVisibilityChanged=function(e,t){var n=e.isColumnVisible,o=!t,i=this.generatedVisibleRows,r=t&&i,a=r&&e.isFilteredMultipleColumns,s=a?e.getVisibleChoicesInCell:[],l=new Array;if(r)for(var c=0;c<i.length;c++){var p=i[c].cells[e.index],d=null==p?void 0:p.question;if(d&&d.isVisible){if(o=!0,!a)break;this.updateNewVisibleChoices(d,l)}}return e.hasVisibleCell=o&&e.isColumnsVisibleIf,!(!a||(e.setVisibleChoicesInCell(l),u.isArraysEqual(s,l,!0,!1,!1)))||n!==e.isColumnVisible},t.prototype.updateNewVisibleChoices=function(e,t){var n=e.visibleChoices;if(Array.isArray(n))for(var o=0;o<n.length;o++){var i=n[o];t.indexOf(i.value)<0&&t.push(i.value)}},t.prototype.runTotalsCondition=function(e,t){this.generatedTotalRow&&this.generatedTotalRow.runCondition(this.getRowConditionValues(e),t)},t.prototype.getRowConditionValues=function(e){var t=e;t||(t={});var n={};return this.isValueEmpty(this.totalValue)||(n=JSON.parse(JSON.stringify(this.totalValue))),t.row={},t.totalRow=n,t},t.prototype.IsMultiplyColumn=function(e){return e.isShowInMultipleColumns&&!this.isMobile},t.prototype.locStrsChanged=function(){e.prototype.locStrsChanged.call(this);for(var t=this.columns,n=0;n<t.length;n++)t[n].locStrsChanged();var o=this.generatedVisibleRows;if(o){for(n=0;n<o.length;n++)o[n].locStrsChanged();this.generatedTotalRow&&this.generatedTotalRow.locStrsChanged()}},t.prototype.getColumnByName=function(e){for(var t=0;t<this.columns.length;t++)if(this.columns[t].name==e)return this.columns[t];return null},t.prototype.getColumnName=function(e){return this.getColumnByName(e)},t.prototype.getColumnWidth=function(e){var t;return e.minWidth?e.minWidth:this.columnMinWidth?this.columnMinWidth:(null===(t=tn.matrix.columnWidthsByType[e.cellType])||void 0===t?void 0:t.minWidth)||""},Object.defineProperty(t.prototype,"choices",{get:function(){return this.getPropertyValue("choices")},set:function(e){this.setPropertyValue("choices",e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"placeholder",{get:function(){return this.getLocalizableStringText("placeholder")},set:function(e){this.setLocalizableStringText("placeholder",e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"locPlaceholder",{get:function(){return this.getLocalizableString("placeholder")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"optionsCaption",{get:function(){return this.placeholder},set:function(e){this.placeholder=e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"keyDuplicationError",{get:function(){return this.getLocalizableStringText("keyDuplicationError")},set:function(e){this.setLocalizableStringText("keyDuplicationError",e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"locKeyDuplicationError",{get:function(){return this.getLocalizableString("keyDuplicationError")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"storeOthersAsComment",{get:function(){return!!this.survey&&this.survey.storeOthersAsComment},enumerable:!1,configurable:!0}),t.prototype.addColumn=function(e,t){var n=new vo(e,t,this);return this.columns.push(n),n},t.prototype.clearVisibleRows=function(){this.visibleRowsArray=null},t.prototype.isColumnVisible=function(e){return e.isColumnVisible},t.prototype.getVisibleRows=function(){return this.isUpdateLocked?null:this.isGenereatingRows?[]:(this.visibleRowsArray||(this.generateVisibleRowsIfNeeded(),this.visibleRowsArray=this.getVisibleFromGenerated(this.generatedVisibleRows)),this.visibleRowsArray)},t.prototype.generateVisibleRowsIfNeeded=function(){var e=this;this.isUpdateLocked||this.generatedVisibleRows||this.generatedVisibleRows||(this.isGenereatingRows=!0,this.generatedVisibleRows=this.generateRows(),this.isGenereatingRows=!1,this.generatedVisibleRows.forEach((function(t){return e.onMatrixRowCreated(t)})),this.data&&(this.runCellsCondition(this.data.getFilteredValues(),this.data.getFilteredProperties()),this.isValueChangedWithoutRows&&(this.isValueChangedWithoutRows=!1,this.runTriggersOnNewRows())),this.generatedVisibleRows&&(this.updateValueOnRowsGeneration(this.generatedVisibleRows),this.updateIsAnswered()))},t.prototype.runTriggersOnNewRows=function(){var e=this,t=this.value;this.generatedVisibleRows.forEach((function(n){var o=e.getRowValueCore(n,t);if(!u.isValueEmpty(o)){var i=u.createCopyWithPrefix(o,Io.RowVariableName+".");n.runTriggers("",void 0,i)}}))},t.prototype.getVisibleFromGenerated=function(e){var t=[];return e?(e.forEach((function(e){e.isVisible&&t.push(e)})),t.length===e.length?e:t):t},t.prototype.updateValueOnRowsGeneration=function(e){for(var t=this.createNewValue(!0),n=this.createNewValue(),o=0;o<e.length;o++){var i=e[o];if(!i.editingObj){var r=this.getRowValue(o),a=i.value;this.isTwoValueEquals(r,a)||(n=this.getNewValueOnRowChanged(i,"",a,!1,n).value)}}this.isTwoValueEquals(t,n)||(this.isRowChanging=!0,this.setNewValue(n),this.isRowChanging=!1)},Object.defineProperty(t.prototype,"totalValue",{get:function(){return this.hasTotal&&this.visibleTotalRow?this.visibleTotalRow.value:{}},enumerable:!1,configurable:!0}),t.prototype.getVisibleTotalRow=function(){if(this.isUpdateLocked)return null;if(this.hasTotal){if(!this.generatedTotalRow&&(this.generatedTotalRow=this.generateTotalRow(),this.data)){var e={survey:this.survey};this.runTotalsCondition(this.data.getAllValues(),e)}}else this.generatedTotalRow=null;return this.generatedTotalRow},Object.defineProperty(t.prototype,"visibleTotalRow",{get:function(){return this.getVisibleTotalRow()},enumerable:!1,configurable:!0}),t.prototype.onSurveyLoad=function(){e.prototype.onSurveyLoad.call(this),this.updateColumnsIndexes(this.columns),this.clearGeneratedRows(),this.generatedTotalRow=null,this.updateHasFooter()},t.prototype.getRowValue=function(e){if(e<0||!Array.isArray(this.visibleRows))return null;var t=this.generatedVisibleRows;if(e>=t.length)return null;var n=this.value,o=this.getRowValueCore(t[e],n);return this.isValueSurveyElement(n)?o:u.getUnbindValue(o)},t.prototype.checkIfValueInRowDuplicated=function(e,t){return!!this.generatedVisibleRows&&this.isValueInColumnDuplicated(t.name,!0,e)},t.prototype.setRowValue=function(e,t){if(e<0)return null;var n=this.visibleRows;if(e>=n.length)return null;n[e].value=t,this.onRowChanged(n[e],"",t,!1)},t.prototype.generateRows=function(){return null},t.prototype.generateTotalRow=function(){return new Oo(this)},t.prototype.createNewValue=function(e){void 0===e&&(e=!1);var t=this.value?this.createValueCopy():{};return e&&this.isMatrixValueEmpty(t)?null:t},t.prototype.getRowValueCore=function(e,t,n){void 0===n&&(n=!1);var o=t&&t[e.rowName]?t[e.rowName]:null;return!o&&n&&(o={},t&&(t[e.rowName]=o)),o},t.prototype.getRowObj=function(e){var t=this.getRowValueCore(e,this.value);return t&&t.getType?t:null},t.prototype.getRowDisplayValue=function(e,t,n){if(!n)return n;if(t.editingObj)return n;for(var o=Object.keys(n),i=0;i<o.length;i++){var r=o[i],a=t.getQuestionByName(r);if(a||(a=this.getSharedQuestionByName(r,t)),a){var s=a.getDisplayValue(e,n[r]);e&&a.title&&a.title!==r?(n[a.title]=s,delete n[r]):n[r]=s}}return n},t.prototype.getPlainData=function(t){var n=this;void 0===t&&(t={includeEmpty:!0});var o=e.prototype.getPlainData.call(this,t);if(o){o.isNode=!0;var i=Array.isArray(o.data)?[].concat(o.data):[];o.data=this.visibleRows.map((function(e){var o={name:e.dataName,title:e.text,value:e.value,displayValue:n.getRowDisplayValue(!1,e,e.value),getString:function(e){return"object"==typeof e?JSON.stringify(e):e},isNode:!0,data:e.cells.map((function(e){return e.question.getPlainData(t)})).filter((function(e){return!!e}))};return(t.calculations||[]).forEach((function(t){o[t.propertyName]=e[t.propertyName]})),o})),o.data=o.data.concat(i)}return o},t.prototype.addConditionObjectsByContext=function(e,t){var n=[].concat(this.columns);"none"!==this.detailPanelMode&&(n=n.concat(this.detailPanel.questions));var o=!!t&&n.indexOf(t)>-1,i=!0===t||o,r=this.getConditionObjectsRowIndeces();i&&r.push(-1);for(var a=0;a<r.length;a++){var s=r[a],l=s>-1?this.getConditionObjectRowName(s):"row";if(l)for(var u=s>-1?this.getConditionObjectRowText(s):"row",c=s>-1||!0===t,p=c&&-1===s?".":"",d=(c?this.getValueName():"")+p+l+".",h=(c?this.processedTitle:"")+p+u+".",m=0;m<n.length;m++){var g=n[m];if(-1!==s||t!==g){var f={name:d+g.name,text:h+g.fullTitle,question:this};-1===s&&!0===t?f.context=this:o&&d.startsWith("row.")&&(f.context=t),e.push(f)}}}},t.prototype.onHidingContent=function(){if(e.prototype.onHidingContent.call(this),this.generatedVisibleRows){var t=[];this.collectNestedQuestions(t,!0),t.forEach((function(e){return e.onHidingContent()}))}},t.prototype.getIsReadyNestedQuestions=function(){if(!this.generatedVisibleRows)return[];var e=new Array;return this.collectNestedQuestonsInRows(this.generatedVisibleRows,e,!1,!1),this.generatedTotalRow&&this.collectNestedQuestonsInRows([this.generatedTotalRow],e,!1,!1),e},t.prototype.collectNestedQuestionsCore=function(e,t,n){n&&e.push(this),this.collectNestedQuestonsInRows(this.visibleRows,e,t,n)},t.prototype.collectNestedQuestonsInRows=function(e,t,n,o){Array.isArray(e)&&e.forEach((function(e){e.questions.forEach((function(e){return e.collectNestedQuestions(t,n,o)}))}))},t.prototype.getConditionObjectRowName=function(e){return""},t.prototype.getConditionObjectRowText=function(e){return this.getConditionObjectRowName(e)},t.prototype.getConditionObjectsRowIndeces=function(){return[]},t.prototype.getProgressInfo=function(){if(this.getIsRequireToGenerateRows()&&this.generateVisibleRowsIfNeeded(),this.generatedVisibleRows)return yt.getProgressInfoByElements(this.getCellQuestions(),this.isRequired);var e=_e.createProgressInfo();return this.updateProgressInfoByValues(e),0===e.requiredQuestionCount&&this.isRequired&&(e.requiredQuestionCount=1,e.requiredAnsweredQuestionCount=this.isEmpty()?0:1),e},t.prototype.getIsRequireToGenerateRows=function(){return!!this.rowsVisibleIf},t.prototype.updateProgressInfoByValues=function(e){},t.prototype.updateProgressInfoByRow=function(e,t){for(var n=0;n<this.columns.length;n++){var o=this.columns[n];if(o.templateQuestion.hasInput){var i=!u.isValueEmpty(t[o.name]);!i&&o.templateQuestion.visibleIf||(e.questionCount+=1,e.requiredQuestionCount+=o.isRequired,e.answeredQuestionCount+=i?1:0,e.requiredAnsweredQuestionCount+=i&&o.isRequired?1:0)}}},t.prototype.getCellQuestions=function(){var e=[];return this.runFuncForCellQuestions((function(t){e.push(t)})),e},t.prototype.onBeforeValueChanged=function(e){},t.prototype.onSetQuestionValue=function(){if(!this.isRowChanging&&(this.onBeforeValueChanged(this.value),this.generatedVisibleRows&&0!=this.generatedVisibleRows.length)){this.isRowChanging=!0;for(var e=this.createNewValue(),t=0;t<this.generatedVisibleRows.length;t++){var n=this.generatedVisibleRows[t];this.generatedVisibleRows[t].value=this.getRowValueCore(n,e)}this.isRowChanging=!1}},t.prototype.setQuestionValue=function(t){e.prototype.setQuestionValue.call(this,t,!1),this.onSetQuestionValue(),this.updateIsAnswered()},t.prototype.supportGoNextPageAutomatic=function(){var e=this.generatedVisibleRows;if(e||(e=this.visibleRows),!e)return!0;for(var t=0;t<e.length;t++){var n=this.generatedVisibleRows[t].cells;if(n)for(var o=0;o<n.length;o++){var i=n[o].question;if(i&&(!i.supportGoNextPageAutomatic()||!i.value))return!1}}return!0},t.prototype.getContainsErrors=function(){return e.prototype.getContainsErrors.call(this)||this.checkForAnswersOrErrors((function(e){return e.containsErrors}),!1)},t.prototype.getIsAnswered=function(){return e.prototype.getIsAnswered.call(this)&&this.checkForAnswersOrErrors((function(e){return e.isAnswered}),!0)},t.prototype.checkForAnswersOrErrors=function(e,t){void 0===t&&(t=!1);var n=this.generatedVisibleRows;if(!n)return!1;for(var o=0;o<n.length;o++){var i=n[o].cells;if(i)for(var r=0;r<i.length;r++)if(i[r]){var a=i[r].question;if(a&&a.isVisible)if(e(a)){if(!t)return!0}else if(t)return!1}}return!!t},t.prototype.hasErrors=function(t,n){void 0===t&&(t=!0),void 0===n&&(n=null);var o=this.hasErrorInRows(t,n),i=this.isValueDuplicated();return e.prototype.hasErrors.call(this,t,n)||o||i},t.prototype.getIsRunningValidators=function(){if(e.prototype.getIsRunningValidators.call(this))return!0;if(!this.generatedVisibleRows)return!1;for(var t=0;t<this.generatedVisibleRows.length;t++){var n=this.generatedVisibleRows[t].cells;if(n)for(var o=0;o<n.length;o++)if(n[o]){var i=n[o].question;if(i&&i.isRunningValidators)return!0}}return!1},t.prototype.getAllErrors=function(){var t=e.prototype.getAllErrors.call(this),n=this.generatedVisibleRows;if(null===n)return t;for(var o=0;o<n.length;o++)for(var i=n[o],r=0;r<i.cells.length;r++){var a=i.cells[r].question.getAllErrors();a&&a.length>0&&(t=t.concat(a))}return t},t.prototype.hasErrorInRows=function(e,t){var n=this,o=this.generatedVisibleRows;this.generatedVisibleRows||(o=this.visibleRows);var i=!1;if(t||(t={}),!o)return t;t.validationValues=this.getDataFilteredValues(),t.isSingleDetailPanel="underRowSingle"===this.detailPanelMode;for(var r=0;r<o.length;r++)o[r].isVisible&&(i=o[r].hasErrors(e,t,(function(){n.raiseOnCompletedAsyncValidators()}))||i);return i},t.prototype.isValueDuplicated=function(){if(!this.generatedVisibleRows)return!1;for(var e=this.getUniqueColumnsNames(),t=!1,n=0;n<e.length;n++)t=this.isValueInColumnDuplicated(e[n],!0)||t;return t},t.prototype.getUniqueColumnsNames=function(){for(var e=new Array,t=0;t<this.columns.length;t++)this.columns[t].isUnique&&e.push(this.columns[t].name);return e},t.prototype.isValueInColumnDuplicated=function(e,t,n){var o=this.getDuplicatedRows(e);return t&&this.showDuplicatedErrorsInRows(o,e),this.removeDuplicatedErrorsInRows(o,e),n?o.indexOf(n)>-1:o.length>0},t.prototype.getDuplicatedRows=function(e){for(var t={},n=[],o=this.generatedVisibleRows,i=0;i<o.length;i++){var r=void 0,a=o[i].getQuestionByName(e);if(a)r=a.value;else{var s=this.getRowValue(i);r=s?s[e]:void 0}this.isValueEmpty(r)||(this.isUniqueCaseSensitive||"string"!=typeof r||(r=r.toLocaleLowerCase()),t[r]||(t[r]=[]),t[r].push(o[i]))}for(var l in t)t[l].length>1&&t[l].forEach((function(e){return n.push(e)}));return n},t.prototype.showDuplicatedErrorsInRows=function(e,t){var n=this;e.forEach((function(e){var o=e.getQuestionByName(t),i=n.detailPanel.getQuestionByName(t);!o&&i&&(e.showDetailPanel(),e.detailPanel&&(o=e.detailPanel.getQuestionByName(t))),o&&(i&&e.showDetailPanel(),n.addDuplicationError(o))}))},t.prototype.removeDuplicatedErrorsInRows=function(e,t){var n=this;this.generatedVisibleRows.forEach((function(o){if(e.indexOf(o)<0){var i=o.getQuestionByName(t);i&&n.removeDuplicationError(o,i)}}))},t.prototype.getDuplicationError=function(e){for(var t=e.errors,n=0;n<t.length;n++)if("keyduplicationerror"===t[n].getErrorType())return t[n];return null},t.prototype.addDuplicationError=function(e){this.getDuplicationError(e)||e.addError(new fn(this.keyDuplicationError,this))},t.prototype.removeDuplicationError=function(e,t){t.removeError(this.getDuplicationError(t))&&0===t.errors.length&&e.editingObj&&(e.editingObj[t.getValueName()]=t.value)},t.prototype.getFirstQuestionToFocus=function(e){return this.getFirstCellQuestion(e)},t.prototype.getFirstInputElementId=function(){var t=this.getFirstCellQuestion(!1);return t?t.inputId:e.prototype.getFirstInputElementId.call(this)},t.prototype.getFirstErrorInputElementId=function(){var t=this.getFirstCellQuestion(!0);return t?t.inputId:e.prototype.getFirstErrorInputElementId.call(this)},t.prototype.getFirstCellQuestion=function(e){if(!this.generatedVisibleRows)return null;for(var t=0;t<this.generatedVisibleRows.length;t++)for(var n=this.generatedVisibleRows[t].cells,o=0;o<n.length;o++){if(!e)return n[o].question;if(n[o].question.currentErrorCount>0)return n[o].question}return null},t.prototype.onReadOnlyChanged=function(){if(e.prototype.onReadOnlyChanged.call(this),this.generateRows)for(var t=0;t<this.visibleRows.length;t++)this.visibleRows[t].onQuestionReadOnlyChanged()},t.prototype.createQuestion=function(e,t){return this.createQuestionCore(e,t)},t.prototype.createQuestionCore=function(e,t){var n=t.createCellQuestion(e);return n.setSurveyImpl(e),n.setParentQuestion(this),n.inMatrixMode=!0,n},t.prototype.deleteRowValue=function(e,t){return e?(delete e[t.rowName],this.isObject(e)&&0==Object.keys(e).length?null:e):e},t.prototype.onAnyValueChanged=function(e,t){if(!this.isUpdateLocked&&!this.isDoingonAnyValueChanged)if(this.generatedVisibleRows){this.isDoingonAnyValueChanged=!0;for(var n=this.generatedVisibleRows,o=0;o<n.length;o++)n[o].onAnyValueChanged(e,t);var i=this.visibleTotalRow;i&&i.onAnyValueChanged(e,t),this.isDoingonAnyValueChanged=!1}else e===this.getValueName()&&(this.isValueChangedWithoutRows=!0)},t.prototype.isObject=function(e){return null!==e&&"object"==typeof e},t.prototype.getOnCellValueChangedOptions=function(e,t,n){return{row:e,columnName:t,rowValue:n,value:n?n[t]:null,getCellQuestion:function(t){return e.getQuestionByName(t)},cellQuestion:e.getQuestionByName(t),column:this.getColumnByName(t)}},t.prototype.onCellValueChanged=function(e,t,n){if(this.survey){var o=this.getOnCellValueChangedOptions(e,t,n);this.onCellValueChangedCallback&&this.onCellValueChangedCallback(o),this.survey.matrixCellValueChanged(this,o)}},t.prototype.validateCell=function(e,t,n){if(this.survey){var o=this.getOnCellValueChangedOptions(e,t,n);return this.survey.matrixCellValidate(this,o)}},Object.defineProperty(t.prototype,"isValidateOnValueChanging",{get:function(){return!!this.survey&&this.survey.isValidateOnValueChanging},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"hasInvisibleRows",{get:function(){var e=this.generatedVisibleRows;if(!Array.isArray(e))return!1;for(var t=0;t<e.length;t++)if(!e[t].isVisible)return!0;return!1},enumerable:!1,configurable:!0}),t.prototype.getFilteredData=function(){return!this.isEmpty()&&this.generatedVisibleRows&&this.hasInvisibleRows?this.getFilteredDataCore():this.value},t.prototype.getFilteredDataCore=function(){return this.value},t.prototype.onRowChanging=function(e,t,n){if(!this.survey&&!this.cellValueChangingCallback)return n?n[t]:null;var o=this.getOnCellValueChangedOptions(e,t,n),i=this.getRowValueCore(e,this.createNewValue(),!0);return o.oldValue=i?i[t]:null,this.cellValueChangingCallback&&(o.value=this.cellValueChangingCallback(e,t,o.value,o.oldValue)),this.survey&&this.survey.matrixCellValueChanging(this,o),o.value},t.prototype.onRowChanged=function(e,t,n,o){var i=t?this.getRowObj(e):null;if(i){var r=null;n&&!o&&(r=n[t]),this.isRowChanging=!0,L.setObjPropertyValue(i,t,r),this.isRowChanging=!1,this.onCellValueChanged(e,t,i)}else{var a=this.createNewValue(!0),s=this.getNewValueOnRowChanged(e,t,n,o,this.createNewValue());if(this.isTwoValueEquals(a,s.value))return;this.isRowChanging=!0,this.setNewValue(s.value),this.isRowChanging=!1,t&&this.onCellValueChanged(e,t,s.rowValue)}this.getUniqueColumnsNames().indexOf(t)>-1&&this.isValueInColumnDuplicated(t,!!i)},t.prototype.getNewValueOnRowChanged=function(e,t,n,o,i){var r=this.getRowValueCore(e,i,!0);if(o&&delete r[t],e.questions.forEach((function(e){delete r[e.getValueName()]})),n)for(var a in n=JSON.parse(JSON.stringify(n)))this.isValueEmpty(n[a])||(r[a]=n[a]);return this.isObject(r)&&0===Object.keys(r).length&&(i=this.deleteRowValue(i,e)),{value:i=this.correctValueForMinMaxRows(i),rowValue:r}},t.prototype.correctValueForMinMaxRows=function(e){return e},t.prototype.getRowIndex=function(e){return Array.isArray(this.generatedVisibleRows)?this.generatedVisibleRows.indexOf(e):-1},t.prototype.getElementsInDesign=function(t){var n;return void 0===t&&(t=!1),n="none"==this.detailPanelMode?e.prototype.getElementsInDesign.call(this,t):t?[this.detailPanel]:this.detailElements,this.columns.concat(n)},t.prototype.hasDetailPanel=function(e){return"none"!=this.detailPanelMode&&(!!this.isDesignMode||(this.onHasDetailPanelCallback?this.onHasDetailPanelCallback(e):this.detailElements.length>0))},t.prototype.getIsDetailPanelShowing=function(e){if("none"==this.detailPanelMode)return!1;if(this.isDesignMode){var t=0==this.visibleRows.indexOf(e);return t&&(e.detailPanel||e.showDetailPanel()),t}return this.getPropertyValue("isRowShowing"+e.id,!1)},t.prototype.setIsDetailPanelShowing=function(e,t){if(t!=this.getIsDetailPanelShowing(e)&&(this.setPropertyValue("isRowShowing"+e.id,t),this.updateDetailPanelButtonCss(e),this.renderedTable&&this.renderedTable.onDetailPanelChangeVisibility(e,t),this.survey&&this.survey.matrixDetailPanelVisibleChanged(this,e.rowIndex-1,e,t),t&&"underRowSingle"===this.detailPanelMode))for(var n=this.visibleRows,o=0;o<n.length;o++)n[o].id!==e.id&&n[o].isDetailPanelShowing&&n[o].hideDetailPanel()},t.prototype.getDetailPanelButtonCss=function(e){var t=(new Ae).append(this.getPropertyValue("detailButtonCss"+e.id));return t.append(this.cssClasses.detailButton,""===t.toString()).toString()},t.prototype.getDetailPanelIconCss=function(e){var t=(new Ae).append(this.getPropertyValue("detailIconCss"+e.id));return t.append(this.cssClasses.detailIcon,""===t.toString()).toString()},t.prototype.getDetailPanelIconId=function(e){return this.getIsDetailPanelShowing(e)?this.cssClasses.detailIconExpandedId:this.cssClasses.detailIconId},t.prototype.updateDetailPanelButtonCss=function(e){var t=this.cssClasses,n=this.getIsDetailPanelShowing(e),o=(new Ae).append(t.detailIcon).append(t.detailIconExpanded,n);this.setPropertyValue("detailIconCss"+e.id,o.toString());var i=(new Ae).append(t.detailButton).append(t.detailButtonExpanded,n);this.setPropertyValue("detailButtonCss"+e.id,i.toString())},t.prototype.createRowDetailPanel=function(e){var t=this;if(this.isDesignMode)return this.detailPanel;var n=this.createNewDetailPanel();n.readOnly=this.isReadOnly||!e.isRowEnabled(),n.setSurveyImpl(e);var o=this.detailPanel.toJSON();return(new q).toObject(o,n),n.renderWidth="100%",n.updateCustomWidgets(),this.onCreateDetailPanelCallback&&this.onCreateDetailPanelCallback(e,n),n.questions.forEach((function(e){return e.setParentQuestion(t)})),n.onSurveyLoad(),n},t.prototype.getSharedQuestionByName=function(e,t){if(!this.survey||!this.valueName)return null;var n=this.getRowIndex(t);return n<0?null:this.survey.getQuestionByValueNameFromArray(this.valueName,e,n)},t.prototype.onTotalValueChanged=function(){this.data&&this.visibleTotalRow&&!this.isUpdateLocked&&!this.isSett&&this.data.setValue(this.getValueName()+tn.matrix.totalsSuffix,this.totalValue,!1)},t.prototype.getDataFilteredValues=function(){return this.data?this.data.getFilteredValues():{}},t.prototype.getParentTextProcessor=function(){if(!this.parentQuestion||!this.parent)return null;var e=this.parent.data;return e&&e.getTextProcessor?e.getTextProcessor():null},t.prototype.isMatrixReadOnly=function(){return this.isReadOnly},t.prototype.onRowVisibilityChanged=function(e){this.clearVisibleRows(),this.resetRenderedTable()},t.prototype.clearValueIfInvisibleCore=function(t){e.prototype.clearValueIfInvisibleCore.call(this,t),this.clearInvisibleValuesInRows()},t.prototype.clearInvisibleValuesInRows=function(){var e;!this.isEmpty()&&this.isRowsFiltered()&&(((null===(e=this.survey)||void 0===e?void 0:e.questionsByValueName(this.getValueName()))||[]).length<2&&(this.value=this.getFilteredData()))},t.prototype.isRowsFiltered=function(){return e.prototype.isRowsFiltered.call(this)||this.visibleRows!==this.generatedVisibleRows},t.prototype.getQuestionFromArray=function(e,t){return t>=this.visibleRows.length?null:this.visibleRows[t].getQuestionByName(e)},t.prototype.isMatrixValueEmpty=function(e){if(e){if(Array.isArray(e)){for(var t=0;t<e.length;t++)if(this.isObject(e[t])&&Object.keys(e[t]).length>0)return!1;return!0}return 0==Object.keys(e).length}},Object.defineProperty(t.prototype,"SurveyModel",{get:function(){return this.survey},enumerable:!1,configurable:!0}),t.prototype.getCellTemplateData=function(e){return this.SurveyModel.getMatrixCellTemplateData(e)},t.prototype.getCellWrapperComponentName=function(e){return this.SurveyModel.getElementWrapperComponentName(e,e.row instanceof Oo?"row-footer":"cell")},t.prototype.getCellWrapperComponentData=function(e){return this.SurveyModel.getElementWrapperComponentData(e,e.row instanceof Oo?"row-footer":"cell")},t.prototype.getColumnHeaderWrapperComponentName=function(e){return this.SurveyModel.getElementWrapperComponentName(e,"column-header")},t.prototype.getColumnHeaderWrapperComponentData=function(e){return this.SurveyModel.getElementWrapperComponentData(e,"column-header")},t.prototype.getRowHeaderWrapperComponentName=function(e){return this.SurveyModel.getElementWrapperComponentName(e,"row-header")},t.prototype.getRowHeaderWrapperComponentData=function(e){return this.SurveyModel.getElementWrapperComponentData(e,"row-header")},Object.defineProperty(t.prototype,"showHorizontalScroll",{get:function(){return!this.isDefaultV2Theme&&this.horizontalScroll},enumerable:!1,configurable:!0}),t.prototype.onMobileChanged=function(){e.prototype.onMobileChanged.call(this),this.resetRenderedTable()},t.prototype.getRootCss=function(){return(new Ae).append(e.prototype.getRootCss.call(this)).append(this.cssClasses.rootScroll,this.horizontalScroll).toString()},t.prototype.afterRenderQuestionElement=function(t){e.prototype.afterRenderQuestionElement.call(this,t),this.setRootElement(null==t?void 0:t.parentElement)},t.prototype.beforeDestroyQuestionElement=function(t){e.prototype.beforeDestroyQuestionElement.call(this,t),this.setRootElement(void 0)},t.prototype.setRootElement=function(e){this.rootElement=e},t.prototype.getRootElement=function(){return this.rootElement},t}(Yn);L.addClass("matrixdropdownbase",[{name:"columns:matrixdropdowncolumns",className:"matrixdropdowncolumn",isArray:!0},{name:"columnLayout",alternativeName:"columnsLocation",choices:["horizontal","vertical"],visible:!1,isSerializable:!1},{name:"transposeData:boolean",version:"1.9.130",oldName:"columnLayout"},{name:"detailElements",baseClassName:"question",visible:!1,isLightSerializable:!1},{name:"detailPanelMode",choices:["none","underRow","underRowSingle"],default:"none"},{name:"cellErrorLocation",default:"default",choices:["default","top","bottom"]},{name:"detailErrorLocation",default:"default",choices:["default","top","bottom"],visibleIf:function(e){return!!e&&"none"!=e.detailPanelMode}},{name:"horizontalScroll:boolean",visible:!1},{name:"choices:itemvalue[]",uniqueProperty:"value",visibleIf:function(e){return e.isSelectCellType()}},{name:"placeholder",alternativeName:"optionsCaption",serializationProperty:"locPlaceholder"},{name:"keyDuplicationError",serializationProperty:"locKeyDuplicationError"},{name:"cellType",default:"dropdown",choices:function(){return vo.getColumnTypes()}},{name:"columnColCount",default:0,choices:[0,1,2,3,4]},"columnMinWidth",{name:"allowAdaptiveActions:boolean",default:!1,visible:!1}],(function(){return new Ao("")}),"matrixbase");var Do=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(t,n)};return function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function o(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}}(),qo=function(e){function t(t,n,o,i){var r=e.call(this,o,i)||this;return r.name=t,r.item=n,r.buildCells(i),r}return Do(t,e),Object.defineProperty(t.prototype,"rowName",{get:function(){return this.name},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"text",{get:function(){return this.item.text},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"locText",{get:function(){return this.item.locText},enumerable:!1,configurable:!0}),t.prototype.isItemVisible=function(){return this.item.isVisible},t.prototype.isRowEnabled=function(){return this.item.isEnabled},t.prototype.isRowHasEnabledCondition=function(){return!!this.item.enableIf},t.prototype.setRowsVisibleIfValues=function(e){e.item=this.item.value,e.choice=this.item.value},t}(Io),Lo=function(e){function t(t){var n=e.call(this,t)||this;return n.defaultValuesInRows={},n.createLocalizableString("totalText",n,!0),n.registerPropertyChangedHandlers(["rows"],(function(){n.generatedVisibleRows&&(n.clearGeneratedRows(),n.resetRenderedTable(),n.getVisibleRows(),n.clearIncorrectValues())})),n.registerPropertyChangedHandlers(["hideIfRowsEmpty"],(function(){n.updateVisibilityBasedOnRows()})),n}return Do(t,e),t.prototype.getType=function(){return"matrixdropdown"},Object.defineProperty(t.prototype,"totalText",{get:function(){return this.getLocalizableStringText("totalText","")},set:function(e){this.setLocalizableStringText("totalText",e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"locTotalText",{get:function(){return this.getLocalizableString("totalText")},enumerable:!1,configurable:!0}),t.prototype.getFooterText=function(){return this.locTotalText},t.prototype.getRowTitleWidth=function(){return this.rowTitleWidth},Object.defineProperty(t.prototype,"hideIfRowsEmpty",{get:function(){return this.getPropertyValue("hideIfRowsEmpty")},set:function(e){this.setPropertyValue("hideIfRowsEmpty",e)},enumerable:!1,configurable:!0}),t.prototype.getDisplayValueCore=function(e,t){if(!t)return t;var n=this.visibleRows,o={};if(!n)return o;for(var i=0;i<n.length;i++){var r=n[i].rowName,a=t[r];if(a){if(e){var s=Nn.getTextOrHtmlByValue(this.rows,r);s&&(r=s)}o[r]=this.getRowDisplayValue(e,n[i],a)}}return o},t.prototype.getConditionObjectRowName=function(e){return"."+this.rows[e].value},t.prototype.getConditionObjectRowText=function(e){return"."+this.rows[e].calculatedText},t.prototype.getConditionObjectsRowIndeces=function(){for(var e=[],t=0;t<this.rows.length;t++)e.push(t);return e},t.prototype.isNewValueCorrect=function(e){return u.isValueObject(e,!0)},t.prototype.clearIncorrectValues=function(){if(!this.isEmpty()){this.getVisibleRows();var t={},n=this.value;for(var o in n){var i=this.getRowByKey(o);i&&i.isVisible&&(t[o]=n[o])}this.value=t}e.prototype.clearIncorrectValues.call(this)},t.prototype.getRowByKey=function(e){var t=this.generatedVisibleRows;if(!t)return null;for(var n=0;n<t.length;n++)if(t[n].rowName===e)return t[n];return null},t.prototype.clearGeneratedRows=function(){var t=this;this.generatedVisibleRows&&(this.isDisposed||this.generatedVisibleRows.forEach((function(e){t.defaultValuesInRows[e.rowName]=e.getNamesWithDefaultValues()})),e.prototype.clearGeneratedRows.call(this))},t.prototype.getRowValueForCreation=function(e,t){var n=e[t];if(!n)return n;var o=this.defaultValuesInRows[t];return Array.isArray(o)&&0!==o.length?(o.forEach((function(e){delete n[e]})),n):n},t.prototype.generateRows=function(){var e=new Array,t=this.rows;if(!t||0===t.length)return e;var n=this.value;n||(n={});for(var o=0;o<t.length;o++){var i=t[o];this.isValueEmpty(i.value)||e.push(this.createMatrixRow(i,this.getRowValueForCreation(n,i.value)))}return e},t.prototype.createMatrixRow=function(e,t){return new qo(e.value,e,this,t)},t.prototype.getFilteredDataCore=function(){var e={},t=this.createValueCopy();return this.generatedVisibleRows.forEach((function(n){var o=t[n.rowName];n.isVisible&&!u.isValueEmpty(o)&&(e[n.rowName]=o)})),e},t.prototype.getSearchableItemValueKeys=function(e){e.push("rows")},t.prototype.getIsRequireToGenerateRows=function(){if(e.prototype.getIsRequireToGenerateRows.call(this))return!0;for(var t=0;t<this.rows.length;t++)if(this.rows[t].visibleIf)return!0;return!1},t.prototype.updateProgressInfoByValues=function(e){var t=this.value;t||(t={});for(var n=0;n<this.rows.length;n++){var o=t[this.rows[n].value];this.updateProgressInfoByRow(e,o||{})}},t}(Ao);L.addClass("matrixdropdown",[{name:"rows:itemvalue[]",uniqueProperty:"value"},"rowsVisibleIf:condition","rowTitleWidth",{name:"totalText",serializationProperty:"locTotalText"},"hideIfRowsEmpty:boolean"],(function(){return new Lo("")}),"matrixdropdownbase"),co.Instance.registerQuestion("matrixdropdown",(function(e){var t=new Lo(e);return t.choices=[1,2,3,4,5],t.rows=co.DefaultRows,Ao.addDefaultColumns(t),t}));var Mo,jo=!1,No=null;"undefined"!=typeof navigator&&navigator&&a.isAvailable()&&(No=navigator.userAgent||navigator.vendor||a.hasOwn("opera")),(Mo=No)&&("MacIntel"===navigator.platform&&navigator.maxTouchPoints>0||"iPad"===navigator.platform||/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino/i.test(Mo)||/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s\-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|\-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw\-(n|u)|c55\/|capi|ccwa|cdm\-|cell|chtm|cldc|cmd\-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc\-s|devi|dica|dmob|do(c|p)o|ds(12|\-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(\-|_)|g1 u|g560|gene|gf\-5|g\-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd\-(m|p|t)|hei\-|hi(pt|ta)|hp( i|ip)|hs\-c|ht(c(\-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i\-(20|go|ma)|i230|iac( |\-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc\-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|\-[a-w])|libw|lynx|m1\-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m\-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(\-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)\-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|\-([1-8]|c))|phil|pire|pl(ay|uc)|pn\-2|po(ck|rt|se)|prox|psio|pt\-g|qa\-a|qc(07|12|21|32|60|\-[2-7]|i\-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h\-|oo|p\-)|sdk\/|se(c(\-|0|1)|47|mc|nd|ri)|sgh\-|shar|sie(\-|m)|sk\-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h\-|v\-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl\-|tdg\-|tel(i|m)|tim\-|t\-mo|to(pl|sh)|ts(70|m\-|m3|m5)|tx\-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|\-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(\-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas\-|your|zeto|zte\-/i.test(Mo.substring(0,4)))&&(jo=!0);var Fo=jo||!1,Bo={get isTouch(){return!this.hasMouse&&this.hasTouchEvent},get hasTouchEvent(){return a.isAvailable()&&(a.hasOwn("ontouchstart")||navigator.maxTouchPoints>0)},hasMouse:!0},zo=a.matchMedia;Bo.hasMouse=function(e){if(!e)return!1;if(Fo)return!1;var t=e("(pointer:fine)"),n=e("(any-hover:hover)");return!!t&&t.matches||!!n&&n.matches}(zo);var Ho=Bo.isTouch;function Qo(e){Ho=e}var Uo=function(e,t){for(var n=0,o=t.length,i=e.length;n<o;n++,i++)e[i]=t[n];return e};"undefined"!=typeof window&&window.addEventListener("touchmove",(function(e){Wo.PreventScrolling&&e.preventDefault()}),{passive:!1});var Wo=function(){function e(t,n,o){var i=this;void 0===n&&(n=!0),void 0===o&&(o=!1),this.dd=t,this.longTap=n,this.fitToContainer=o,this.scrollIntervalId=null,this.stopLongTapIfMoveEnough=function(e){e.preventDefault(),i.currentX=e.pageX,i.currentY=e.pageY,i.isMicroMovement||(i.returnUserSelectBack(),i.stopLongTap())},this.stopLongTap=function(e){clearTimeout(i.timeoutID),i.timeoutID=null,document.removeEventListener("pointerup",i.stopLongTap),document.removeEventListener("pointermove",i.stopLongTapIfMoveEnough)},this.handlePointerCancel=function(e){i.clear()},this.handleEscapeButton=function(e){27==e.keyCode&&i.clear()},this.onContextMenu=function(e){e.preventDefault(),e.stopPropagation()},this.dragOver=function(e){i.moveShortcutElement(e),i.draggedElementShortcut.style.cursor="grabbing",i.dd.dragOver(e)},this.clear=function(){cancelAnimationFrame(i.scrollIntervalId),document.removeEventListener("pointermove",i.dragOver),document.removeEventListener("pointercancel",i.handlePointerCancel),document.removeEventListener("keydown",i.handleEscapeButton),document.removeEventListener("pointerup",i.drop),i.draggedElementShortcut.removeEventListener("pointerup",i.drop),Ho&&i.draggedElementShortcut.removeEventListener("contextmenu",i.onContextMenu),i.draggedElementShortcut.parentElement.removeChild(i.draggedElementShortcut),i.dd.clear(),i.draggedElementShortcut=null,i.scrollIntervalId=null,Ho&&(i.savedTargetNode.style.cssText=null,i.savedTargetNode&&i.savedTargetNode.parentElement.removeChild(i.savedTargetNode),i.insertNodeToParentAtIndex(i.savedTargetNodeParent,i.savedTargetNode,i.savedTargetNodeIndex),e.PreventScrolling=!1),i.savedTargetNode=null,i.savedTargetNodeParent=null,i.savedTargetNodeIndex=null,i.returnUserSelectBack()},this.drop=function(){i.dd.drop(),i.clear()},this.draggedElementShortcut=null}return Object.defineProperty(e.prototype,"documentOrShadowRoot",{get:function(){return tn.environment.root},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"rootElement",{get:function(){return Vt(tn.environment.root)?this.rootContainer||tn.environment.root.host:this.rootContainer||tn.environment.root.documentElement||document.body},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"isMicroMovement",{get:function(){var e=Math.abs(this.currentX-this.startX),t=Math.abs(this.currentY-this.startY);return e<5&&t<5},enumerable:!1,configurable:!0}),e.prototype.startLongTapProcessing=function(e,t,n,o,i){var r=this;void 0===i&&(i=!1),this.startX=e.pageX,this.startY=e.pageY,document.body.style.setProperty("touch-action","none","important"),this.timeoutID=setTimeout((function(){r.doStartDrag(e,t,n,o),i||(r.savedTargetNode=e.target,r.savedTargetNode.style.cssText="\n position: absolute;\n height: 1px!important;\n width: 1px!important;\n overflow: hidden;\n clip: rect(1px 1px 1px 1px);\n clip: rect(1px, 1px, 1px, 1px);\n ",r.savedTargetNodeParent=r.savedTargetNode.parentElement,r.savedTargetNodeIndex=r.getNodeIndexInParent(r.savedTargetNode),r.rootElement.appendChild(r.savedTargetNode)),r.stopLongTap()}),this.longTap?500:0),document.addEventListener("pointerup",this.stopLongTap),document.addEventListener("pointermove",this.stopLongTapIfMoveEnough)},e.prototype.moveShortcutElement=function(e){var t=this.rootElement.getBoundingClientRect().x,n=this.rootElement.getBoundingClientRect().y,o=this.rootElement.scrollLeft,i=this.rootElement.scrollTop;this.doScroll(e.clientY,e.clientX);var r=this.draggedElementShortcut.offsetHeight,a=this.draggedElementShortcut.offsetWidth,s=this.draggedElementShortcut.shortcutXOffset||a/2,l=this.draggedElementShortcut.shortcutYOffset||r/2;0!==document.querySelectorAll("[dir='rtl']").length&&(s=a/2,l=r/2);var u=document.documentElement.clientHeight,c=document.documentElement.clientWidth,p=e.pageX,d=e.pageY,h=e.clientX,m=e.clientY;t-=o,n-=i;var g=this.getShortcutBottomCoordinate(m,r,l);return this.getShortcutRightCoordinate(h,a,s)>=c?(this.draggedElementShortcut.style.left=c-a-t+"px",void(this.draggedElementShortcut.style.top=m-l-n+"px")):h-s<=0?(this.draggedElementShortcut.style.left=p-h-t+"px",void(this.draggedElementShortcut.style.top=m-n-l+"px")):g>=u?(this.draggedElementShortcut.style.left=h-s-t+"px",void(this.draggedElementShortcut.style.top=u-r-n+"px")):m-l<=0?(this.draggedElementShortcut.style.left=h-s-t+"px",void(this.draggedElementShortcut.style.top=d-m-n+"px")):(this.draggedElementShortcut.style.left=h-t-s+"px",void(this.draggedElementShortcut.style.top=m-n-l+"px"))},e.prototype.getShortcutBottomCoordinate=function(e,t,n){return e+t-n},e.prototype.getShortcutRightCoordinate=function(e,t,n){return e+t-n},e.prototype.requestAnimationFrame=function(e){return requestAnimationFrame(e)},e.prototype.scrollByDrag=function(e,t,n){var o,i,r,a,s=this;"HTML"===e.tagName?(o=0,i=document.documentElement.clientHeight,r=0,a=document.documentElement.clientWidth):(o=e.getBoundingClientRect().top,i=e.getBoundingClientRect().bottom,r=e.getBoundingClientRect().left,a=e.getBoundingClientRect().right);var l=function(){var u=t-o<=100,c=i-t<=100,p=n-r<=100,d=a-n<=100;!u||p||d?!c||p||d?!d||u||c?!p||u||c||(e.scrollLeft-=15):e.scrollLeft+=15:e.scrollTop+=15:e.scrollTop-=15,s.scrollIntervalId=s.requestAnimationFrame(l)};this.scrollIntervalId=this.requestAnimationFrame(l)},e.prototype.doScroll=function(e,t){cancelAnimationFrame(this.scrollIntervalId);var n=this.draggedElementShortcut.style.display;this.draggedElementShortcut.style.display="none";var o=this.documentOrShadowRoot.elementFromPoint(t,e);this.draggedElementShortcut.style.display=n||"block";var i=Tt(o);this.scrollByDrag(i,e,t)},e.prototype.doStartDrag=function(t,n,o,i){Ho&&(e.PreventScrolling=!0),3!==t.which&&(this.dd.dragInit(t,n,o,i),this.rootElement.append(this.draggedElementShortcut),this.moveShortcutElement(t),document.addEventListener("pointermove",this.dragOver),document.addEventListener("pointercancel",this.handlePointerCancel),document.addEventListener("keydown",this.handleEscapeButton),document.addEventListener("pointerup",this.drop),Ho?this.draggedElementShortcut.addEventListener("contextmenu",this.onContextMenu):this.draggedElementShortcut.addEventListener("pointerup",this.drop))},e.prototype.returnUserSelectBack=function(){document.body.style.setProperty("touch-action","auto"),document.body.style.setProperty("user-select","auto"),document.body.style.setProperty("-webkit-user-select","auto")},e.prototype.startDrag=function(e,t,n,o,i){void 0===i&&(i=!1),document.body.style.setProperty("user-select","none","important"),document.body.style.setProperty("-webkit-user-select","none","important"),Ho?this.startLongTapProcessing(e,t,n,o,i):this.doStartDrag(e,t,n,o)},e.prototype.getNodeIndexInParent=function(e){return Uo([],e.parentElement.childNodes).indexOf(e)},e.prototype.insertNodeToParentAtIndex=function(e,t,n){e.insertBefore(t,e.childNodes[n])},e.PreventScrolling=!1,e}(),$o=function(){function e(e,t,n,o){var i,r=this;this.surveyValue=e,this.creator=t,this._isBottom=null,this.onGhostPositionChanged=new Ee,this.onDragStart=new Ee,this.onDragEnd=new Ee,this.onDragClear=new Ee,this.onBeforeDrop=this.onDragStart,this.onAfterDrop=this.onDragEnd,this.draggedElement=null,this.dropTarget=null,this.prevDropTarget=null,this.allowDropHere=!1,this.banDropHere=function(){r.allowDropHere=!1,r.doBanDropHere(),r.dropTarget=null,r.domAdapter.draggedElementShortcut.style.cursor="not-allowed",r.isBottom=null},this.doBanDropHere=function(){},this.domAdapter=o||new Wo(this,n,null===(i=this.survey)||void 0===i?void 0:i.fitToContainer)}return Object.defineProperty(e.prototype,"isBottom",{get:function(){return!!this._isBottom},set:function(e){this._isBottom=e,this.ghostPositionChanged()},enumerable:!1,configurable:!0}),e.prototype.ghostPositionChanged=function(){this.onGhostPositionChanged.fire({},{})},Object.defineProperty(e.prototype,"dropTargetDataAttributeName",{get:function(){return"[data-sv-drop-target-"+this.draggedElementType+"]"},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"survey",{get:function(){var e;return this.surveyValue||(null===(e=this.creator)||void 0===e?void 0:e.survey)},enumerable:!1,configurable:!0}),e.prototype.startDrag=function(e,t,n,o,i){void 0===i&&(i=!1),this.domAdapter.rootContainer=this.getRootElement(this.survey,this.creator),this.domAdapter.startDrag(e,t,n,o,i)},e.prototype.getRootElement=function(e,t){return t?t.rootElement:e.rootElement},e.prototype.dragInit=function(e,t,n,o){this.draggedElement=t,this.parentElement=n;var i=this.getShortcutText(this.draggedElement);this.domAdapter.draggedElementShortcut=this.createDraggedElementShortcut(i,o,e),this.onStartDrag(e);var r=this.draggedElement&&this.draggedElement.parent;this.onDragStart.fire(this,{fromElement:r,draggedElement:this.draggedElement})},e.prototype.onStartDrag=function(e){},e.prototype.isDropTargetDoesntChanged=function(e){return this.dropTarget===this.prevDropTarget&&e===this.isBottom},e.prototype.getShortcutText=function(e){return null==e?void 0:e.shortcutText},e.prototype.createDraggedElementShortcut=function(e,t,n){var o=s.createElement("div");return o&&(o.innerText=e,o.className=this.getDraggedElementClass()),o},e.prototype.getDraggedElementClass=function(){return"sv-dragged-element-shortcut"},e.prototype.doDragOver=function(){},e.prototype.afterDragOver=function(e){},e.prototype.findDropTargetNodeFromPoint=function(e,t){var n=this.domAdapter.draggedElementShortcut.style.display;if(this.domAdapter.draggedElementShortcut.style.display="none",!s.isAvailable())return null;var o=this.domAdapter.documentOrShadowRoot.elementsFromPoint(e,t);this.domAdapter.draggedElementShortcut.style.display=n||"block";for(var i=0,r=o[i];r&&r.className&&"function"==typeof r.className.indexOf&&-1!=r.className.indexOf("sv-drag-target-skipped");)r=o[++i];return r?this.findDropTargetNodeByDragOverNode(r):null},e.prototype.getDataAttributeValueByNode=function(e){var t=this,n="svDropTarget";return this.draggedElementType.split("-").forEach((function(e){n+=t.capitalizeFirstLetter(e)})),e.dataset[n]},e.prototype.getDropTargetByNode=function(e,t){var n=this.getDataAttributeValueByNode(e);return this.getDropTargetByDataAttributeValue(n,e,t)},e.prototype.capitalizeFirstLetter=function(e){return e.charAt(0).toUpperCase()+e.slice(1)},e.prototype.calculateVerticalMiddleOfHTMLElement=function(e){var t=e.getBoundingClientRect();return t.y+t.height/2},e.prototype.calculateHorizontalMiddleOfHTMLElement=function(e){var t=e.getBoundingClientRect();return t.x+t.width/2},e.prototype.calculateIsBottom=function(e,t){return!1},e.prototype.findDropTargetNodeByDragOverNode=function(e){return e.closest(this.dropTargetDataAttributeName)},e.prototype.dragOver=function(e){var t=this.findDropTargetNodeFromPoint(e.clientX,e.clientY);if(t){this.dropTarget=this.getDropTargetByNode(t,e);var n=this.isDropTargetValid(this.dropTarget,t);if(this.doDragOver(),n){var o=this.calculateIsBottom(e.clientY,t);this.allowDropHere=!0,this.isDropTargetDoesntChanged(o)||(this.isBottom=null,this.isBottom=o,this.draggedElement!=this.dropTarget&&this.afterDragOver(t),this.prevDropTarget=this.dropTarget)}else this.banDropHere()}else this.banDropHere()},e.prototype.drop=function(){if(this.allowDropHere){var e=this.draggedElement.parent,t=this.doDrop();this.onDragEnd.fire(this,{fromElement:e,draggedElement:t,toElement:this.dropTarget})}},e.prototype.clear=function(){this.dropTarget=null,this.prevDropTarget=null,this.draggedElement=null,this.isBottom=null,this.parentElement=null,this.onDragClear.fire(this,{})},e}(),Go=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(t,n)};return function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function o(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}}(),Ko=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.fromIndex=null,t.toIndex=null,t.doDrop=function(){return t.parentElement.moveRowByIndex(t.fromIndex,t.toIndex),t.parentElement},t}return Go(t,e),Object.defineProperty(t.prototype,"draggedElementType",{get:function(){return"matrix-row"},enumerable:!1,configurable:!0}),t.prototype.onStartDrag=function(){var e=s.getBody();e&&(this.restoreUserSelectValue=e.style.userSelect,e.style.userSelect="none")},Object.defineProperty(t.prototype,"shortcutClass",{get:function(){return(new Ae).append(this.parentElement.cssClasses.draggedRow).toString()},enumerable:!1,configurable:!0}),t.prototype.createDraggedElementShortcut=function(e,t,n){var o=this,i=s.createElement("div");if(i){i.className=this.shortcutClass;if(t){var r=t.closest("[data-sv-drop-target-matrix-row]"),a=r.cloneNode(!0);a.style.cssText="\n width: "+r.offsetWidth+"px;\n ",a.classList.remove("sv-matrix__drag-drop--moveup"),a.classList.remove("sv-matrix__drag-drop--movedown"),this.draggedElement.isDragDropMoveDown=!1,this.draggedElement.isDragDropMoveUp=!1,i.appendChild(a);var l=t.getBoundingClientRect();i.shortcutXOffset=n.clientX-l.x,i.shortcutYOffset=n.clientY-l.y}return this.parentElement.renderedTable.rows.forEach((function(e,t){e.row===o.draggedElement&&(e.isGhostRow=!0)})),this.fromIndex=this.parentElement.visibleRows.indexOf(this.draggedElement),i}},t.prototype.getDropTargetByDataAttributeValue=function(e){return this.parentElement.renderedTable.rows.filter((function(t){return t.row&&t.row.id===e}))[0].row},t.prototype.canInsertIntoThisRow=function(e){var t=this.parentElement.lockedRowCount;return t<=0||e.rowIndex>t},t.prototype.isDropTargetValid=function(e,t){return this.canInsertIntoThisRow(e)},t.prototype.calculateIsBottom=function(e){var t=this.parentElement.renderedTable.rows.map((function(e){return e.row}));return t.indexOf(this.dropTarget)-t.indexOf(this.draggedElement)>0},t.prototype.afterDragOver=function(t){var n=this;if(!this.isDropTargetDoesntChanged(this.isBottom)){var o,i,r,a=this.parentElement.renderedTable.rows;a.forEach((function(e,t){e.row===n.dropTarget&&(o=t),e.row===n.draggedElement&&(i=t,(r=e).isGhostRow=!0)})),a.splice(i,1),a.splice(o,0,r),this.toIndex=this.parentElement.visibleRows.indexOf(this.dropTarget),e.prototype.ghostPositionChanged.call(this)}},t.prototype.clear=function(){this.parentElement.renderedTable.rows.forEach((function(e){e.isGhostRow=!1})),this.parentElement.clearOnDrop(),this.fromIndex=null,this.toIndex=null;var t=s.getBody();t&&(t.style.userSelect=this.restoreUserSelectValue||"initial"),e.prototype.clear.call(this)},t}($o),Zo=function(){function e(e){var t=this;this.dragHandler=e,this.onPointerUp=function(e){t.clearListeners()},this.tryToStartDrag=function(e){if(t.currentX=e.pageX,t.currentY=e.pageY,!t.isMicroMovement)return t.clearListeners(),t.dragHandler(t.pointerDownEvent,t.currentTarget,t.itemModel),!0}}return e.prototype.onPointerDown=function(e,t){Ho?this.dragHandler(e,e.currentTarget,t):(this.pointerDownEvent=e,this.currentTarget=e.currentTarget,this.startX=e.pageX,this.startY=e.pageY,s.addEventListener("pointermove",this.tryToStartDrag),this.currentTarget.addEventListener("pointerup",this.onPointerUp),this.itemModel=t)},Object.defineProperty(e.prototype,"isMicroMovement",{get:function(){var e=Math.abs(this.currentX-this.startX),t=Math.abs(this.currentY-this.startY);return e<10&&t<10},enumerable:!1,configurable:!0}),e.prototype.clearListeners=function(){this.pointerDownEvent&&(s.removeEventListener("pointermove",this.tryToStartDrag),this.currentTarget.removeEventListener("pointerup",this.onPointerUp))},e}(),Jo=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(t,n)};return function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function o(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}}(),Yo=function(e){function t(t,n,o){var i=e.call(this,n,o)||this;return i.index=t,i.buildCells(o),i}return Jo(t,e),t.prototype.getRowIndex=function(){var t=e.prototype.getRowIndex.call(this);return t>0?t:this.index+1},Object.defineProperty(t.prototype,"rowName",{get:function(){return this.id},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"dataName",{get:function(){return"row"+(this.index+1)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"text",{get:function(){return"row "+(this.index+1)},enumerable:!1,configurable:!0}),t.prototype.getAccessbilityText=function(){return(this.index+1).toString()},Object.defineProperty(t.prototype,"shortcutText",{get:function(){var e=this.data.visibleRows.indexOf(this)+1,t=this.cells.length>1?this.cells[1].questionValue:void 0,n=this.cells.length>0?this.cells[0].questionValue:void 0;return t&&t.value||n&&n.value||""+e},enumerable:!1,configurable:!0}),t}(Io),Xo=function(e){function t(t){var n=e.call(this,t)||this;return n.rowCounter=0,n.setRowCountValueFromData=!1,n.startDragMatrixRow=function(e,t){n.dragDropMatrixRows.startDrag(e,n.draggedRow,n,e.target)},n.initialRowCount=n.getDefaultPropertyValue("rowCount"),n.createLocalizableString("confirmDeleteText",n,!1,"confirmDelete"),n.createLocalizableString("addRowText",n).onGetTextCallback=function(e){return e||n.defaultAddRowText},n.createLocalizableString("removeRowText",n,!1,"removeRow"),n.createLocalizableString("emptyRowsText",n,!1,!0),n.registerPropertyChangedHandlers(["hideColumnsIfEmpty","allowAddRows"],(function(){n.updateShowTableAndAddRow()})),n.registerPropertyChangedHandlers(["allowRowsDragAndDrop","isReadOnly","lockedRowCount"],(function(){n.resetRenderedTable()})),n.registerPropertyChangedHandlers(["minRowCount"],(function(){n.onMinRowCountChanged()})),n.registerPropertyChangedHandlers(["maxRowCount"],(function(){n.onMaxRowCountChanged()})),n.dragOrClickHelper=new Zo(n.startDragMatrixRow),n}return Jo(t,e),t.prototype.setSurveyImpl=function(t,n){e.prototype.setSurveyImpl.call(this,t,n),this.dragDropMatrixRows=new Ko(this.survey,null,!0)},t.prototype.isBanStartDrag=function(e){var t=e.target;return"true"===t.getAttribute("contenteditable")||"INPUT"===t.nodeName||!this.isDragHandleAreaValid(t)},t.prototype.isDragHandleAreaValid=function(e){return"icon"!==this.survey.matrixDragHandleArea||e.classList.contains(this.cssClasses.dragElementDecorator)},t.prototype.onPointerDown=function(e,t){t&&this.isRowsDragAndDrop&&!this.isDesignMode&&(this.isBanStartDrag(e)||t.isDetailPanelShowing||(this.draggedRow=t,this.dragOrClickHelper.onPointerDown(e)))},t.prototype.getType=function(){return"matrixdynamic"},Object.defineProperty(t.prototype,"isRowsDynamic",{get:function(){return!0},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"confirmDelete",{get:function(){return this.getPropertyValue("confirmDelete")},set:function(e){this.setPropertyValue("confirmDelete",e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isValueArray",{get:function(){return!0},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"keyName",{get:function(){return this.getPropertyValue("keyName","")},set:function(e){this.setPropertyValue("keyName",e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"defaultRowValue",{get:function(){return this.getPropertyValue("defaultRowValue")},set:function(e){this.setPropertyValue("defaultRowValue",e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"defaultValueFromLastRow",{get:function(){return this.getPropertyValue("defaultValueFromLastRow")},set:function(e){this.setPropertyValue("defaultValueFromLastRow",e)},enumerable:!1,configurable:!0}),t.prototype.isDefaultValueEmpty=function(){return e.prototype.isDefaultValueEmpty.call(this)&&this.isValueEmpty(this.defaultRowValue)},t.prototype.valueFromData=function(t){return this.minRowCount<1||this.isEmpty()?e.prototype.valueFromData.call(this,t):this.correctValueForMinMaxRows(t)},t.prototype.correctValueForMinMaxRows=function(e){Array.isArray(e)||(e=[]);for(var t=e.length;t<this.minRowCount;t++)e.push({});return e},t.prototype.isNewValueCorrect=function(e){return Array.isArray(e)},t.prototype.setDefaultValue=function(){if(!this.isValueEmpty(this.defaultRowValue)&&this.isValueEmpty(this.defaultValue)){if(this.isEmpty()&&0!=this.rowCount){for(var t=[],n=0;n<this.rowCount;n++)t.push(this.defaultRowValue);this.value=t}}else e.prototype.setDefaultValue.call(this)},t.prototype.moveRowByIndex=function(e,t){var n=this.createNewValue();if(Array.isArray(n)||!(Math.max(e,t)>=n.length)){var o=n[e];n.splice(e,1),n.splice(t,0,o),this.value=n}},t.prototype.clearOnDrop=function(){this.isEditingSurveyElement||this.resetRenderedTable()},t.prototype.initDataUI=function(){this.generatedVisibleRows||this.getVisibleRows()},Object.defineProperty(t.prototype,"rowCount",{get:function(){return this.rowCountValue},set:function(e){if(!((e=u.getNumber(e))<0||e>tn.matrix.maxRowCount)){this.setRowCountValueFromData=!1;var t=this.rowCountValue;if(this.rowCountValue=e,this.value&&this.value.length>e){var n=this.value;n.splice(e),this.value=n}if(this.isUpdateLocked)this.initialRowCount=e;else{if(this.generatedVisibleRows||0==t){this.generatedVisibleRows||(this.clearGeneratedRows(),this.generatedVisibleRows=[]),this.generatedVisibleRows.splice(e);for(var o=t;o<e;o++){var i=this.createMatrixRow(this.getValueForNewRow());this.generatedVisibleRows.push(i),this.onMatrixRowCreated(i)}this.runCondition(this.getDataFilteredValues(),this.getDataFilteredProperties())}this.onRowsChanged()}}},enumerable:!1,configurable:!0}),t.prototype.updateBindingProp=function(t,n){e.prototype.updateBindingProp.call(this,t,n);var o=this.generatedVisibleRows;if("rowCount"===t&&Array.isArray(o)){var i=this.getUnbindValue(this.value)||[];if(i.length<o.length){for(var r=!1,a=i.length;a<o.length;a++)r||(r=!o[a].isEmpty),i.push(o[a].value||{});r&&(this.value=i)}}},t.prototype.updateProgressInfoByValues=function(e){var t=this.value;Array.isArray(t)||(t=[]);for(var n=0;n<this.rowCount;n++){var o=n<t.length?t[n]:{};this.updateProgressInfoByRow(e,o)}},t.prototype.getValueForNewRow=function(){var e=null;return this.onGetValueForNewRowCallBack&&(e=this.onGetValueForNewRowCallBack(this)),e},Object.defineProperty(t.prototype,"allowRowsDragAndDrop",{get:function(){return this.getPropertyValue("allowRowsDragAndDrop")},set:function(e){this.setPropertyValue("allowRowsDragAndDrop",e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isRowsDragAndDrop",{get:function(){return this.allowRowsDragAndDrop&&!this.isReadOnly},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"lockedRowCount",{get:function(){return this.getPropertyValue("lockedRowCount",0)},set:function(e){this.setPropertyValue("lockedRowCount",e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"iconDragElement",{get:function(){return this.cssClasses.iconDragElement},enumerable:!1,configurable:!0}),t.prototype.createRenderedTable=function(){return new ei(this)},Object.defineProperty(t.prototype,"rowCountValue",{get:function(){return this.getPropertyValue("rowCount")},set:function(e){this.setPropertyValue("rowCount",e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"minRowCount",{get:function(){return this.getPropertyValue("minRowCount")},set:function(e){e<0&&(e=0),this.setPropertyValue("minRowCount",e)},enumerable:!1,configurable:!0}),t.prototype.onMinRowCountChanged=function(){var e=this.minRowCount;e>this.maxRowCount&&(this.maxRowCount=e),this.initialRowCount<e&&(this.initialRowCount=e),this.rowCount<e&&(this.rowCount=e)},Object.defineProperty(t.prototype,"maxRowCount",{get:function(){return this.getPropertyValue("maxRowCount")},set:function(e){e<=0||(e>tn.matrix.maxRowCount&&(e=tn.matrix.maxRowCount),e!=this.maxRowCount&&this.setPropertyValue("maxRowCount",e))},enumerable:!1,configurable:!0}),t.prototype.onMaxRowCountChanged=function(){var e=this.maxRowCount;e<this.minRowCount&&(this.minRowCount=e),this.rowCount>e&&(this.rowCount=e)},Object.defineProperty(t.prototype,"allowAddRows",{get:function(){return this.getPropertyValue("allowAddRows")},set:function(e){this.setPropertyValue("allowAddRows",e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"allowRemoveRows",{get:function(){return this.getPropertyValue("allowRemoveRows")},set:function(e){this.setPropertyValue("allowRemoveRows",e),this.isUpdateLocked||this.resetRenderedTable()},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"canAddRow",{get:function(){return this.allowAddRows&&!this.isReadOnly&&this.rowCount<this.maxRowCount},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"canRemoveRows",{get:function(){var e=this.allowRemoveRows&&!this.isReadOnly&&this.rowCount>this.minRowCount;return this.canRemoveRowsCallback?this.canRemoveRowsCallback(e):e},enumerable:!1,configurable:!0}),t.prototype.canRemoveRow=function(e){if(!this.survey)return!0;var t=e.rowIndex-1;return!(this.lockedRowCount>0&&t<this.lockedRowCount)&&this.survey.matrixAllowRemoveRow(this,t,e)},t.prototype.addRowUI=function(){this.addRow(!0)},t.prototype.getQuestionToFocusOnAddingRow=function(){if(0===this.visibleRows.length)return null;for(var e=this.visibleRows[this.visibleRows.length-1],t=0;t<e.cells.length;t++){var n=e.cells[t].question;if(n&&n.isVisible&&!n.isReadOnly)return n}return null},t.prototype.addRow=function(e){var t=this.rowCount,n=this.canAddRow,o={question:this,canAddRow:n,allow:n};if(this.survey&&this.survey.matrixBeforeRowAdded(o),(n!==o.allow?o.allow:n!==o.canAddRow?o.canAddRow:n)&&(this.onStartRowAddingRemoving(),this.addRowCore(),this.onEndRowAdding(),this.detailPanelShowOnAdding&&this.visibleRows.length>0&&this.visibleRows[this.visibleRows.length-1].showDetailPanel(),e&&t!==this.rowCount)){var i=this.getQuestionToFocusOnAddingRow();i&&i.focus()}},Object.defineProperty(t.prototype,"detailPanelShowOnAdding",{get:function(){return this.getPropertyValue("detailPanelShowOnAdding")},set:function(e){this.setPropertyValue("detailPanelShowOnAdding",e)},enumerable:!1,configurable:!0}),t.prototype.hasRowsAsItems=function(){return!1},t.prototype.unbindValue=function(){this.clearGeneratedRows(),this.clearPropertyValue("value"),this.rowCountValue=0,e.prototype.unbindValue.call(this)},t.prototype.isValueSurveyElement=function(t){return this.isEditingSurveyElement||e.prototype.isValueSurveyElement.call(this,t)},t.prototype.addRowCore=function(){var e=this.rowCount;this.rowCount=this.rowCount+1;var t=this.getDefaultRowValue(!0),n=null;if(this.isValueEmpty(t)||(n=this.createNewValue()).length==this.rowCount&&(n[n.length-1]=t,this.value=n),this.data){this.runCellsCondition(this.getDataFilteredValues(),this.getDataFilteredProperties());var o=this.visibleRows;if(this.isValueEmpty(t)&&o.length>0){var i=o[o.length-1];this.isValueEmpty(i.value)||(n||(n=this.createNewValue()),this.isValueSurveyElement(n)||this.isTwoValueEquals(n[n.length-1],i.value)||(n[n.length-1]=i.value,this.value=n))}}if(this.survey){o=this.visibleRows;if(e+1==this.rowCount&&o.length>0){i=o[o.length-1];this.survey.matrixRowAdded(this,i),this.onRowsChanged()}}},t.prototype.getDefaultRowValue=function(e){for(var t=null,n=0;n<this.columns.length;n++){var o=this.columns[n].templateQuestion;o&&!this.isValueEmpty(o.getDefaultValue())&&((t=t||{})[this.columns[n].name]=o.getDefaultValue())}if(!this.isValueEmpty(this.defaultRowValue))for(var i in this.defaultRowValue)(t=t||{})[i]=this.defaultRowValue[i];if(e&&this.defaultValueFromLastRow){var r=this.value;if(r&&Array.isArray(r)&&r.length>=this.rowCount-1){var a=r[this.rowCount-2];for(var i in a)(t=t||{})[i]=a[i]}}return t},t.prototype.focusAddBUtton=function(){var e=this.getRootElement();if(e&&this.cssClasses.buttonAdd){var t=e.querySelectorAll("."+this.cssClasses.buttonAdd)[0];t&&t.focus()}},t.prototype.getActionCellIndex=function(e){var t=this.showHeader?1:0;return this.isColumnLayoutHorizontal?e.cells.length-1+t:this.visibleRows.indexOf(e)+t},t.prototype.removeRowUI=function(e){var t=this;if(e&&e.rowName){var n=this.visibleRows.indexOf(e);if(n<0)return;e=n}this.removeRow(e,void 0,(function(){var e=t.visibleRows.length,o=n>=e?e-1:n,i=o>-1?t.visibleRows[o]:void 0;setTimeout((function(){i?t.renderedTable.focusActionCell(i,t.getActionCellIndex(i)):t.focusAddBUtton()}),10)}))},t.prototype.isRequireConfirmOnRowDelete=function(e){if(!this.confirmDelete)return!1;if(e<0||e>=this.rowCount)return!1;var t=this.createNewValue();return!(this.isValueEmpty(t)||!Array.isArray(t))&&(!(e>=t.length)&&!this.isValueEmpty(t[e]))},t.prototype.removeRow=function(e,t,n){var o=this;if(this.canRemoveRows&&!(e<0||e>=this.rowCount)){var i=this.visibleRows&&e<this.visibleRows.length?this.visibleRows[e]:null;void 0===t&&(t=this.isRequireConfirmOnRowDelete(e)),t?wt({message:this.confirmDeleteText,funcOnYes:function(){o.removeRowAsync(e,i),n&&n()},locale:this.getLocale(),rootElement:this.survey.rootElement,cssClass:this.cssClasses.confirmDialog}):(this.removeRowAsync(e,i),n&&n())}},t.prototype.removeRowAsync=function(e,t){t&&this.survey&&!this.survey.matrixRowRemoving(this,e,t)||(this.onStartRowAddingRemoving(),this.removeRowCore(e),this.onEndRowRemoving(t))},t.prototype.removeRowCore=function(e){var t=this.generatedVisibleRows?this.generatedVisibleRows[e]:null;if(this.generatedVisibleRows&&e<this.generatedVisibleRows.length&&this.generatedVisibleRows.splice(e,1),this.rowCountValue--,this.value){var n=[];(n=Array.isArray(this.value)&&e<this.value.length?this.createValueCopy():this.createNewValue()).splice(e,1),n=this.deleteRowValue(n,null),this.isRowChanging=!0,this.value=n,this.isRowChanging=!1}this.onRowsChanged(),this.survey&&this.survey.matrixRowRemoved(this,e,t)},Object.defineProperty(t.prototype,"confirmDeleteText",{get:function(){return this.getLocalizableStringText("confirmDeleteText")},set:function(e){this.setLocalizableStringText("confirmDeleteText",e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"locConfirmDeleteText",{get:function(){return this.getLocalizableString("confirmDeleteText")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"addRowText",{get:function(){return this.getLocalizableStringText("addRowText",this.defaultAddRowText)},set:function(e){this.setLocalizableStringText("addRowText",e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"locAddRowText",{get:function(){return this.getLocalizableString("addRowText")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"defaultAddRowText",{get:function(){return this.getLocalizationString(this.isColumnLayoutHorizontal?"addRow":"addColumn")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"addRowLocation",{get:function(){return this.getPropertyValue("addRowLocation")},set:function(e){this.setPropertyValue("addRowLocation",e)},enumerable:!1,configurable:!0}),t.prototype.getAddRowLocation=function(){return this.addRowLocation},Object.defineProperty(t.prototype,"hideColumnsIfEmpty",{get:function(){return this.getPropertyValue("hideColumnsIfEmpty")},set:function(e){this.setPropertyValue("hideColumnsIfEmpty",e)},enumerable:!1,configurable:!0}),t.prototype.getShowColumnsIfEmpty=function(){return this.hideColumnsIfEmpty},Object.defineProperty(t.prototype,"removeRowText",{get:function(){return this.getLocalizableStringText("removeRowText")},set:function(e){this.setLocalizableStringText("removeRowText",e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"locRemoveRowText",{get:function(){return this.getLocalizableString("removeRowText")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"emptyRowsText",{get:function(){return this.getLocalizableStringText("emptyRowsText")},set:function(e){this.setLocalizableStringText("emptyRowsText",e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"locEmptyRowsText",{get:function(){return this.getLocalizableString("emptyRowsText")},enumerable:!1,configurable:!0}),t.prototype.getDisplayValueCore=function(e,t){if(!t||!Array.isArray(t))return t;for(var n=this.getUnbindValue(t),o=this.visibleRows,i=0;i<o.length&&i<n.length;i++){var r=n[i];r&&(n[i]=this.getRowDisplayValue(e,o[i],r))}return n},t.prototype.getConditionObjectRowName=function(e){return"["+e.toString()+"]"},t.prototype.getConditionObjectsRowIndeces=function(){for(var e=[],t=Math.max(this.rowCount,1),n=0;n<Math.min(tn.matrix.maxRowCountInCondition,t);n++)e.push(n);return e},t.prototype.supportGoNextPageAutomatic=function(){return!1},Object.defineProperty(t.prototype,"hasRowText",{get:function(){return!1},enumerable:!1,configurable:!0}),t.prototype.onCheckForErrors=function(t,n,o){e.prototype.onCheckForErrors.call(this,t,n,o),!n&&this.hasErrorInMinRows()&&t.push(new gn(this.minRowCount,this))},t.prototype.hasErrorInMinRows=function(){if(this.minRowCount<=0||!this.isRequired||!this.generatedVisibleRows)return!1;for(var e=0,t=0;t<this.generatedVisibleRows.length;t++){this.generatedVisibleRows[t].isEmpty||e++}return e<this.minRowCount},t.prototype.getUniqueColumnsNames=function(){var t=e.prototype.getUniqueColumnsNames.call(this),n=this.keyName;return n&&t.indexOf(n)<0&&t.push(n),t},t.prototype.generateRows=function(){var e=new Array;if(0===this.rowCount)return e;for(var t=this.createNewValue(),n=0;n<this.rowCount;n++)e.push(this.createMatrixRow(this.getRowValueByIndex(t,n)));return this.isValueEmpty(this.getDefaultRowValue(!1))||(this.value=t),e},t.prototype.createMatrixRow=function(e){return new Yo(this.rowCounter++,this,e)},t.prototype.getInsertedDeletedIndex=function(e,t){for(var n=Math.min(e.length,t.length),o=0;o<n;o++)if(t[o]!==e[o].editingObj)return o;return n},t.prototype.isEditingObjectValueChanged=function(){var e=this.value;if(!this.generatedVisibleRows||!this.isValueSurveyElement(e))return!1;var t=this.lastDeletedRow;this.lastDeletedRow=void 0;var n=this.generatedVisibleRows;if(!Array.isArray(e)||Math.abs(n.length-e.length)>1||n.length===e.length)return!1;var o=this.getInsertedDeletedIndex(n,e);if(n.length>e.length){this.lastDeletedRow=n[o];var i=n[o];n.splice(o,1),this.isRendredTableCreated&&this.renderedTable.onRemovedRow(i)}else{var r=void 0;t&&t.editingObj===e[o]?r=t:(t=void 0,r=this.createMatrixRow(e[o])),n.splice(o,0,r),t||this.onMatrixRowCreated(r),this.isRendredTableCreated&&this.renderedTable.onAddedRow(r,o)}return this.setPropertyValueDirectly("rowCount",e.length),!0},t.prototype.updateValueFromSurvey=function(t,n){if(void 0===n&&(n=!1),this.setRowCountValueFromData=!0,this.minRowCount>0&&u.isValueEmpty(t)&&!u.isValueEmpty(this.defaultRowValue)){t=[];for(var o=0;o<this.minRowCount;o++)t.push(u.createCopy(this.defaultRowValue))}e.prototype.updateValueFromSurvey.call(this,t,n),this.setRowCountValueFromData=!1},t.prototype.getFilteredDataCore=function(){var e=[],t=this.createValueCopy();if(!Array.isArray(t))return e;for(var n=this.generatedVisibleRows,o=0;o<n.length&&o<t.length;o++){var i=t[o];n[o].isVisible&&!u.isValueEmpty(i)&&e.push(i)}return e},t.prototype.onBeforeValueChanged=function(e){if(e&&Array.isArray(e)){var t=e.length;if(t!=this.rowCount&&(this.setRowCountValueFromData||!(t<this.initialRowCount))&&!this.isEditingObjectValueChanged()&&(this.setRowCountValueFromData=!0,this.rowCountValue=t,this.generatedVisibleRows)){if(t==this.generatedVisibleRows.length+1){this.onStartRowAddingRemoving();var n=this.getRowValueByIndex(e,t-1),o=this.createMatrixRow(n);this.generatedVisibleRows.push(o),this.onMatrixRowCreated(o),this.onEndRowAdding()}else this.clearGeneratedRows(),this.getVisibleRows(),this.onRowsChanged();this.setRowCountValueFromData=!1}}},t.prototype.createNewValue=function(){var e=this.createValueCopy();e&&Array.isArray(e)||(e=[]),e.length>this.rowCount&&e.splice(this.rowCount);var t=this.getDefaultRowValue(!1);t=t||{};for(var n=e.length;n<this.rowCount;n++)e.push(this.getUnbindValue(t));return e},t.prototype.deleteRowValue=function(e,t){if(!Array.isArray(e))return e;for(var n=!0,o=0;o<e.length;o++)if(this.isObject(e[o])&&Object.keys(e[o]).length>0){n=!1;break}return n?null:e},t.prototype.getRowValueByIndex=function(e,t){return Array.isArray(e)&&t>=0&&t<e.length?e[t]:null},t.prototype.getRowValueCore=function(e,t,n){if(void 0===n&&(n=!1),!this.generatedVisibleRows)return{};var o=this.getRowValueByIndex(t,this.generatedVisibleRows.indexOf(e));return!o&&n&&(o={}),o},t.prototype.getAddRowButtonCss=function(e){return void 0===e&&(e=!1),(new Ae).append(this.cssClasses.button).append(this.cssClasses.buttonAdd).append(this.cssClasses.emptyRowsButton,e).toString()},t.prototype.getRemoveRowButtonCss=function(){return(new Ae).append(this.cssClasses.button).append(this.cssClasses.buttonRemove).toString()},t.prototype.getRootCss=function(){var t;return(new Ae).append(e.prototype.getRootCss.call(this)).append(this.cssClasses.empty,!(null===(t=this.renderedTable)||void 0===t?void 0:t.showTable)).toString()},t}(Ao),ei=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Jo(t,e),t.prototype.setDefaultRowActions=function(t,n){e.prototype.setDefaultRowActions.call(this,t,n)},t}(_o);L.addClass("matrixdynamic",[{name:"allowAddRows:boolean",default:!0},{name:"allowRemoveRows:boolean",default:!0},{name:"rowCount:number",default:2,minValue:0,isBindable:!0},{name:"minRowCount:number",default:0,minValue:0},{name:"maxRowCount:number",default:tn.matrix.maxRowCount},{name:"keyName"},"defaultRowValue:rowvalue","defaultValueFromLastRow:boolean",{name:"confirmDelete:boolean"},{name:"confirmDeleteText",dependsOn:"confirmDelete",visibleIf:function(e){return!e||e.confirmDelete},serializationProperty:"locConfirmDeleteText"},{name:"addRowLocation",default:"default",choices:["default","top","bottom","topBottom"]},{name:"addRowText",serializationProperty:"locAddRowText"},{name:"removeRowText",serializationProperty:"locRemoveRowText"},"hideColumnsIfEmpty:boolean",{name:"emptyRowsText:text",serializationProperty:"locEmptyRowsText",dependsOn:"hideColumnsIfEmpty",visibleIf:function(e){return!e||e.hideColumnsIfEmpty}},{name:"detailPanelShowOnAdding:boolean",dependsOn:"detailPanelMode",visibleIf:function(e){return"none"!==e.detailPanelMode}},"allowRowsDragAndDrop:switch"],(function(){return new Xo("")}),"matrixdropdownbase"),co.Instance.registerQuestion("matrixdynamic",(function(e){var t=new Xo(e);return t.choices=[1,2,3,4,5],Ao.addDefaultColumns(t),t}));var ti={currentType:"",getCss:function(){var e=this.currentType?this[this.currentType]:ni;return e||(e=ni),e},getAvailableThemes:function(){return Object.keys(this).filter((function(e){return-1===["currentType","getCss","getAvailableThemes"].indexOf(e)}))}},ni={root:"sd-root-modern",rootProgress:"sd-progress",rootMobile:"sd-root-modern--mobile",rootAnimationDisabled:"sd-root-modern--animation-disabled",rootReadOnly:"sd-root--readonly",rootCompact:"sd-root--compact",rootFitToContainer:"sd-root-modern--full-container",rootWrapper:"sd-root-modern__wrapper",rootWrapperFixed:"sd-root-modern__wrapper--fixed",rootWrapperHasImage:"sd-root-modern__wrapper--has-image",rootBackgroun
vendor: 33,932 bytes, line 11
11dImage:"sd-root_background-image",container:"sd-container-modern",header:"sd-title sd-container-modern__title",bodyContainer:"sv-components-row",body:"sd-body",bodyWithTimer:"sd-body--with-timer",clockTimerRoot:"sd-timer",clockTimerRootTop:"sd-timer--top",clockTimerRootBottom:"sd-timer--bottom",clockTimerProgress:"sd-timer__progress",clockTimerProgressAnimation:"sd-timer__progress--animation",clockTimerTextContainer:"sd-timer__text-container",clockTimerMinorText:"sd-timer__text--minor",clockTimerMajorText:"sd-timer__text--major",bodyEmpty:"sd-body sd-body--empty",bodyLoading:"sd-body--loading",footer:"sd-footer sd-body__navigation sd-clearfix",title:"sd-title",description:"sd-description",logo:"sd-logo",logoImage:"sd-logo__image",headerText:"sd-header__text",headerClose:"sd-hidden",navigationButton:"",bodyNavigationButton:"sd-btn",completedPage:"sd-completedpage",completedBeforePage:"sd-completed-before-page",timerRoot:"sd-body__timer",navigation:{complete:"sd-btn--action sd-navigation__complete-btn",prev:"sd-navigation__prev-btn",next:"sd-navigation__next-btn",start:"sd-navigation__start-btn",preview:"sd-navigation__preview-btn",edit:"sd-btn sd-btn--small"},panel:{contentEnter:"sd-element__content--enter",contentLeave:"sd-element__content--leave",enter:"sd-element-wrapper--enter",leave:"sd-element-wrapper--leave",asPage:"sd-panel--as-page",number:"sd-element__num",title:"sd-title sd-element__title sd-panel__title",titleExpandable:"sd-element__title--expandable",titleExpandableSvg:"sd-element__title-expandable-svg",titleNumInline:"sd-element__title--num-inline",titleExpanded:"sd-element__title--expanded",titleCollapsed:"sd-element__title--collapsed",titleDisabled:"sd-element__title--disabled",titleOnExpand:"sd-panel__title--expanded",titleOnError:"sd-panel__title--error",titleBar:"sd-action-title-bar",description:"sd-description sd-panel__description",container:"sd-element sd-element--complex sd-panel sd-row__panel",withFrame:"sd-element--with-frame",content:"sd-element__content sd-panel__content",icon:"sd-panel__icon",iconExpanded:"sd-panel__icon--expanded",footer:"sd-panel__footer",requiredText:"sd-panel__required-text",header:"sd-panel__header sd-element__header sd-element__header--location-top",collapsed:"sd-element--collapsed",expanded:"sd-element--expanded",expandable:"sd-element--expandable",expandableAnimating:"sd-elemenet--expandable--animating",nested:"sd-element--nested sd-element--nested-with-borders",invisible:"sd-element--invisible",navigationButton:"",compact:"sd-element--with-frame sd-element--compact",errorsContainer:"sd-panel__errbox sd-element__erbox sd-element__erbox--above-element"},paneldynamic:{mainRoot:"sd-element sd-question sd-question--paneldynamic sd-element--complex sd-question--complex sd-row__question",empty:"sd-question--empty",root:"sd-paneldynamic",iconRemove:"sd-hidden",navigation:"sd-paneldynamic__navigation",title:"sd-title sd-element__title sd-question__title",header:"sd-paneldynamic__header sd-element__header",headerTab:"sd-paneldynamic__header-tab",button:"sd-action sd-paneldynamic__btn",buttonRemove:"sd-action--negative sd-paneldynamic__remove-btn",buttonAdd:"sd-paneldynamic__add-btn",buttonPrev:"sd-paneldynamic__prev-btn sd-action--icon sd-action",buttonPrevDisabled:"sd-action--disabled",buttonNextDisabled:"sd-action--disabled",buttonNext:"sd-paneldynamic__next-btn sd-action--icon sd-action",progressContainer:"sd-paneldynamic__progress-container",progress:"sd-progress",progressBar:"sd-progress__bar",nested:"sd-element--nested sd-element--nested-with-borders",progressText:"sd-paneldynamic__progress-text",separator:"sd-paneldynamic__separator",panelWrapper:"sd-paneldynamic__panel-wrapper",footer:"sd-paneldynamic__footer",panelFooter:"sd-paneldynamic__panel-footer",footerButtonsContainer:"sd-paneldynamic__buttons-container",panelsContainer:"sd-paneldynamic__panels-container",panelWrapperInRow:"sd-paneldynamic__panel-wrapper--in-row",panelWrapperEnter:"sd-paneldynamic__panel-wrapper--enter",panelWrapperLeave:"sd-paneldynamic__panel-wrapper--leave",panelWrapperList:"sd-paneldynamic__panel-wrapper--list",progressBtnIcon:"icon-progressbuttonv2",noEntriesPlaceholder:"sd-paneldynamic__placeholder sd-question__placeholder",compact:"sd-element--with-frame sd-element--compact",tabsContainer:"sd-paneldynamic__tabs-container",tabsContainerWithHeader:"sd-paneldynamic__tabs-container--with-header",tabsRoot:"sd-tabs-toolbar",tabsLeft:"sd-tabs-toolbar--left",tabsRight:"sd-tabs-toolbar--right",tabsCenter:"sd-tabs-toolbar--center",tabs:{item:"sd-tab-item",itemPressed:"sd-tab-item--pressed",itemAsIcon:"sd-tab-item--icon",itemIcon:"sd-tab-item__icon",itemTitle:"sd-tab-item__title"}},progress:"sd-progress sd-body__progress",progressTop:"sd-body__progress--top",progressBottom:"sd-body__progress--bottom",progressBar:"sd-progress__bar",progressText:"sd-progress__text",progressButtonsRoot:"sd-progress-buttons",progressButtonsNumbered:"sd-progress-buttons--numbered",progressButtonsFitSurveyWidth:"sd-progress-buttons--fit-survey-width",progressButtonsContainerCenter:"sd-progress-buttons__container-center",progressButtonsContainer:"sd-progress-buttons__container",progressButtonsConnector:"sd-progress-buttons__connector",progressButtonsButton:"sd-progress-buttons__button",progressButtonsButtonBackground:"sd-progress-buttons__button-background",progressButtonsButtonContent:"sd-progress-buttons__button-content",progressButtonsHeader:"sd-progress-buttons__header",progressButtonsFooter:"sd-progress-buttons__footer",progressButtonsImageButtonLeft:"sd-progress-buttons__image-button-left",progressButtonsImageButtonRight:"sd-progress-buttons__image-button-right",progressButtonsImageButtonHidden:"sd-progress-buttons__image-button--hidden",progressButtonsListContainer:"sd-progress-buttons__list-container",progressButtonsList:"sd-progress-buttons__list",progressButtonsListElementPassed:"sd-progress-buttons__list-element--passed",progressButtonsListElementCurrent:"sd-progress-buttons__list-element--current",progressButtonsListElementNonClickable:"sd-progress-buttons__list-element--nonclickable",progressButtonsPageTitle:"sd-progress-buttons__page-title",progressButtonsPageDescription:"sd-progress-buttons__page-description",progressTextInBar:"sd-hidden",page:{root:"sd-page sd-body__page",emptyHeaderRoot:"sd-page__empty-header",title:"sd-title sd-page__title",description:"sd-description sd-page__description",number:"sd-page__num",errorsContainer:"sd-page__errbox"},pageTitle:"sd-title sd-page__title",pageDescription:"sd-description sd-page__description",row:"sd-row sd-clearfix",rowMultiple:"sd-row--multiple",rowCompact:"sd-row--compact",rowEnter:"sd-row--enter",rowDelayedEnter:"sd-row--delayed-enter",rowLeave:"sd-row--leave",rowReplace:"sd-row--replace",pageRow:"sd-page__row",question:{contentEnter:"sd-element__content--enter",contentLeave:"sd-element__content--leave",enter:"sd-element-wrapper--enter",leave:"sd-element-wrapper--leave",mobile:"sd-question--mobile",mainRoot:"sd-element sd-question sd-row__question",flowRoot:"sd-element sd-question sd-row__question sd-row__question--flow",withFrame:"sd-element--with-frame",asCell:"sd-table__cell",answered:"sd-question--answered",header:"sd-question__header sd-element__header",headerLeft:"sd-question__header--location--left",headerTop:"sd-question__header--location-top sd-element__header--location-top",headerBottom:"sd-question__header--location--bottom",content:"sd-element__content sd-question__content",contentSupportContainerQueries:"sd-question__content--support-container-queries",contentLeft:"sd-question__content--left",titleNumInline:"sd-element__title--num-inline",titleLeftRoot:"sd-question--left",titleTopRoot:"sd-question--title-top",descriptionUnderInputRoot:"sd-question--description-under-input",titleBottomRoot:"sd-question--title-bottom",titleOnAnswer:"sd-question__title--answer",titleEmpty:"sd-question__title--empty",titleOnError:"sd-question__title--error",title:"sd-title sd-element__title sd-question__title",titleExpandable:"sd-element__title--expandable",titleExpandableSvg:"sd-element__title-expandable-svg",titleExpanded:"sd-element__title--expanded",titleCollapsed:"sd-element__title--collapsed",titleDisabled:"sd-element__title--disabled",titleReadOnly:"sd-element__title--readonly",titleBar:"sd-action-title-bar",requiredText:"sd-question__required-text",number:"sd-element__num",description:"sd-description sd-question__description",descriptionUnderInput:"sd-question__description--under-input",comment:"sd-input sd-comment",other:"sd-input sd-comment",required:"sd-question--required",titleRequired:"sd-question__title--required",indent:20,footer:"sd-question__footer",commentArea:"sd-question__comment-area",formGroup:"sd-question__form-group",hasError:"sd-question--error",hasErrorTop:"sd-question--error-top",hasErrorBottom:"sd-question--error-bottom",collapsed:"sd-element--collapsed",expandable:"sd-element--expandable",expandableAnimating:"sd-elemenet--expandable--animating",expanded:"sd-element--expanded",nested:"sd-element--nested",invisible:"sd-element--invisible",composite:"sd-element--complex sd-composite",disabled:"sd-question--disabled",readOnly:"sd-question--readonly",preview:"sd-question--preview",noPointerEventsMode:"sd-question--no-pointer-events",errorsContainer:"sd-element__erbox sd-question__erbox",errorsContainerTop:"sd-element__erbox--above-element sd-question__erbox--above-question",errorsContainerBottom:"sd-question__erbox--below-question",confirmDialog:"sd-popup--confirm sv-popup--confirm"},image:{mainRoot:"sd-question sd-question--image",root:"sd-image",image:"sd-image__image",adaptive:"sd-image__image--adaptive",noImage:"sd-image__no-image",noImageSvgIconId:"icon-no-image",withFrame:""},html:{mainRoot:"sd-question sd-row__question sd-question--html",root:"sd-html",withFrame:"",nested:"sd-element--nested sd-html--nested"},error:{root:"sd-error",icon:"",item:"",locationTop:"",locationBottom:""},checkbox:{root:"sd-selectbase",rootMobile:"sd-selectbase--mobile",rootRow:"sd-selectbase--row",rootMultiColumn:"sd-selectbase--multi-column",item:"sd-item sd-checkbox sd-selectbase__item",itemEnter:"sd-item--enter",itemLeave:"sd-item--leave",itemOnError:"sd-item--error",itemSelectAll:"sd-checkbox--selectall",itemNone:"sd-checkbox--none",itemDisabled:"sd-item--disabled sd-checkbox--disabled",itemReadOnly:"sd-item--readonly sd-checkbox--readonly",itemPreview:"sd-item--preview sd-checkbox--preview",itemPreviewSvgIconId:"#icon-check-16x16",itemChecked:"sd-item--checked sd-checkbox--checked",itemHover:"sd-item--allowhover sd-checkbox--allowhover",itemInline:"sd-selectbase__item--inline",label:"sd-selectbase__label",labelChecked:"",itemControl:"sd-visuallyhidden sd-item__control sd-checkbox__control",itemDecorator:"sd-item__svg sd-checkbox__svg",itemSvgIconId:"#icon-check-16x16",controlLabel:"sd-item__control-label",materialDecorator:"sd-item__decorator sd-checkbox__decorator",other:"sd-input sd-comment sd-selectbase__other",column:"sd-selectbase__column"},radiogroup:{root:"sd-selectbase",rootMobile:"sd-selectbase--mobile",rootRow:"sd-selectbase--row",rootMultiColumn:"sd-selectbase--multi-column",item:"sd-item sd-radio sd-selectbase__item",itemOnError:"sd-item--error",itemInline:"sd-selectbase__item--inline",label:"sd-selectbase__label",labelChecked:"",itemEnter:"sd-item--enter",itemLeave:"sd-item--leave",itemDisabled:"sd-item--disabled sd-radio--disabled",itemReadOnly:"sd-item--readonly sd-radio--readonly",itemPreview:"sd-item--preview sd-radio--preview",itemPreviewSvgIconId:"#icon-check-16x16",itemChecked:"sd-item--checked sd-radio--checked",itemHover:"sd-item--allowhover sd-radio--allowhover",itemControl:"sd-visuallyhidden sd-item__control sd-radio__control",itemDecorator:"sd-item__svg sd-radio__svg",controlLabel:"sd-item__control-label",materialDecorator:"sd-item__decorator sd-radio__decorator",other:"sd-input sd-comment sd-selectbase__other",clearButton:"",column:"sd-selectbase__column"},boolean:{mainRoot:"sd-element sd-question sd-row__question sd-question--boolean",root:"sv_qcbc sv_qbln sd-scrollable-container sd-boolean-root",rootRadio:"sv_qcbc sv_qbln sd-scrollable-container sd-scrollable-container--compact",item:"sd-boolean",itemOnError:"sd-boolean--error",control:"sd-boolean__control sd-visuallyhidden",itemChecked:"sd-boolean--checked",itemExchanged:"sd-boolean--exchanged",itemIndeterminate:"sd-boolean--indeterminate",itemDisabled:"sd-boolean--disabled",itemReadOnly:"sd-boolean--readonly",itemPreview:"sd-boolean--preview",itemHover:"sd-boolean--allowhover",label:"sd-boolean__label",labelTrue:"sd-boolean__label--true",labelFalse:"sd-boolean__label--false",switch:"sd-boolean__switch",disabledLabel:"sd-checkbox__label--disabled",labelReadOnly:"sd-checkbox__label--readonly",labelPreview:"sd-checkbox__label--preview",sliderText:"sd-boolean__thumb-text",slider:"sd-boolean__thumb",sliderGhost:"sd-boolean__thumb-ghost",radioItem:"sd-item",radioItemChecked:"sd-item--checked sd-radio--checked",radioItemDisabled:"sd-item--disabled sd-radio--disabled",radioItemReadOnly:"sd-item--readonly sd-radio--readonly",radioItemPreview:"sd-item--preview sd-radio--preview",itemPreviewSvgIconId:"#icon-check-16x16",radioLabel:"sd-selectbase__label",radioControlLabel:"sd-item__control-label",radioFieldset:"sd-selectbase",itemRadioDecorator:"sd-item__svg sd-radio__svg",materialRadioDecorator:"sd-item__decorator sd-radio__decorator",itemRadioControl:"sd-visuallyhidden sd-item__control sd-radio__control",rootCheckbox:"sd-selectbase",checkboxItem:"sd-item sd-selectbase__item sd-checkbox",checkboxLabel:"sd-selectbase__label",checkboxItemOnError:"sd-item--error",checkboxItemIndeterminate:"sd-checkbox--intermediate",checkboxItemChecked:"sd-item--checked sd-checkbox--checked",checkboxItemDecorator:"sd-item__svg sd-checkbox__svg",checkboxItemDisabled:"sd-item--disabled sd-checkbox--disabled",checkboxItemReadOnly:"sd-item--readonly sd-checkbox--readonly",checkboxItemPreview:"sd-item--preview sd-checkbox--preview",controlCheckbox:"sd-visuallyhidden sd-item__control sd-checkbox__control",checkboxMaterialDecorator:"sd-item__decorator sd-checkbox__decorator",checkboxControlLabel:"sd-item__control-label",svgIconCheckedId:"#icon-check-16x16"},text:{root:"sd-input sd-text",small:"sd-row__question--small",controlDisabled:"sd-input--disabled",controlReadOnly:"sd-input--readonly",controlPreview:"sd-input--preview",constrolWithCharacterCounter:"sd-text__character-counter",characterCounterBig:"sd-text__character-counter--big",content:"sd-text__content sd-question__content",remainingCharacterCounter:"sd-remaining-character-counter",onError:"sd-input--error"},multipletext:{root:"sd-multipletext",rootMobile:"sd-multipletext--mobile",itemLabel:"sd-multipletext__item-container sd-input",itemLabelReadOnly:"sd-input--readonly",itemLabelDisabled:"sd-input--disabled",itemLabelPreview:"sd-input--preview",itemLabelOnError:"sd-multipletext__item-container--error",itemLabelAllowFocus:"sd-multipletext__item-container--allow-focus",itemLabelAnswered:"sd-multipletext__item-container--answered",itemWithCharacterCounter:"sd-multipletext-item__character-counter",item:"sd-multipletext__item",itemTitle:"sd-multipletext__item-title",content:"sd-multipletext__content sd-question__content",row:"sd-multipletext__row",cell:"sd-multipletext__cell",cellError:"sd-multipletext__cell--error",cellErrorTop:"sd-multipletext__cell--error-top",cellErrorBottom:"sd-multipletext__cell--error-bottom"},dropdown:{root:"sd-selectbase",popup:"sv-dropdown-popup",small:"sd-row__question--small",selectWrapper:"sv-dropdown_select-wrapper",other:"sd-input sd-comment sd-selectbase__other",onError:"sd-input--error",label:"sd-selectbase__label",itemEnter:"sd-item--enter",itemLeave:"sd-item--leave",item:"sd-item sd-radio sd-selectbase__item",itemDisabled:"sd-item--disabled sd-radio--disabled",itemChecked:"sd-item--checked sd-radio--checked",itemHover:"sd-item--allowhover sd-radio--allowhover",itemControl:"sd-visuallyhidden sd-item__control sd-radio__control",itemDecorator:"sd-item__svg sd-radio__svg",cleanButton:"sd-dropdown_clean-button",cleanButtonSvg:"sd-dropdown_clean-button-svg",cleanButtonIconId:"icon-cancel",chevronButton:"sd-dropdown_chevron-button",chevronButtonSvg:"sd-dropdown_chevron-button-svg",chevronButtonIconId:"icon-chevron",control:"sd-input sd-dropdown",controlInputFieldComponent:"sd-dropdown__input-field-component",controlValue:"sd-dropdown__value",controlDisabled:"sd-input--disabled",controlReadOnly:"sd-input--readonly",controlPreview:"sd-input--preview",controlEmpty:"sd-dropdown--empty",controlLabel:"sd-item__control-label",filterStringInput:"sd-dropdown__filter-string-input",materialDecorator:"sd-item__decorator sd-radio__decorator",hintPrefix:"sd-dropdown__hint-prefix",hintSuffix:"sd-dropdown__hint-suffix"},imagepicker:{mainRoot:"sd-element sd-question sd-row__question",root:"sd-selectbase sd-imagepicker",rootResponsive:"sd-imagepicker--responsive",rootStatic:"sd-imagepicker--static",rootColumn:"sd-imagepicker--column",item:"sd-imagepicker__item",itemOnError:"sd-imagepicker__item--error",itemInline:"sd-imagepicker__item--inline",itemChecked:"sd-imagepicker__item--checked",itemDisabled:"sd-imagepicker__item--disabled",itemReadOnly:"sd-imagepicker__item--readonly",itemPreview:"sd-imagepicker__item--preview",itemHover:"sd-imagepicker__item--allowhover",label:"sd-imagepicker__label",itemDecorator:"sd-imagepicker__item-decorator",imageContainer:"sd-imagepicker__image-container",itemControl:"sd-imagepicker__control sd-visuallyhidden",image:"sd-imagepicker__image",itemText:"sd-imagepicker__text",other:"sd-input sd-comment",itemNoImage:"sd-imagepicker__no-image",itemNoImageSvgIcon:"sd-imagepicker__no-image-svg",itemNoImageSvgIconId:"icon-no-image",column:"sd-selectbase__column sd-imagepicker__column",checkedItemDecorator:"sd-imagepicker__check-decorator",checkedItemSvgIcon:"sd-imagepicker__check-icon",checkedItemSvgIconId:"icon-check-24x24"},matrix:{mainRoot:"sd-element sd-question sd-row__question sd-element--complex sd-question--complex sd-question--table",tableWrapper:"sd-matrix sd-table-wrapper",root:"sd-table sd-matrix__table",columnsAutoWidth:"sd-table--columnsautowidth",noHeader:"sd-table--no-header",rootVerticalAlignTop:"sd-table--align-top",rootVerticalAlignMiddle:"sd-table--align-middle",rootAlternateRows:"sd-table--alternate-rows",rowError:"sd-matrix__row--error",cell:"sd-table__cell sd-matrix__cell",row:"sd-table__row",rowDisabled:"sd-table__row-disabled",rowReadOnly:"sd-table__row-readonly",headerCell:"sd-table__cell sd-table__cell--header",rowTextCell:"sd-table__cell sd-matrix__cell sd-table__cell--row-text",label:"sd-item sd-radio sd-matrix__label",itemOnError:"sd-item--error",itemValue:"sd-visuallyhidden sd-item__control sd-radio__control",itemChecked:"sd-item--checked sd-radio--checked",itemDisabled:"sd-item--disabled sd-radio--disabled",itemReadOnly:"sd-item--readonly sd-radio--readonly",itemPreview:"sd-item--preview sd-radio--preview",itemPreviewSvgIconId:"#icon-check-16x16",itemHover:"sd-radio--allowhover",materialDecorator:"sd-item__decorator sd-radio__decorator",itemDecorator:"sd-item__svg sd-radio__svg",cellText:"sd-matrix__text",cellTextSelected:"sd-matrix__text--checked",cellTextDisabled:"sd-matrix__text--disabled",cellResponsiveTitle:"sd-matrix__responsive-title",compact:"sd-element--with-frame sd-element--compact"},matrixdropdown:{mainRoot:"sd-element sd-question sd-row__question sd-element--complex sd-question--complex sd-question--table",rootScroll:"sd-question--scroll",root:"sd-table sd-matrixdropdown",columnsAutoWidth:"sd-table--columnsautowidth",noHeader:"sd-table--no-header",hasFooter:"sd-table--has-footer",rootVerticalAlignTop:"sd-table--align-top",rootVerticalAlignMiddle:"sd-table--align-middle",tableWrapper:"sd-table-wrapper",rootAlternateRows:"sd-table--alternate-rows",cell:"sd-table__cell",cellResponsiveTitle:"sd-table__responsive-title",errorsCell:"sd-table__cell--error",errorsCellTop:"sd-table__cell--error-top",errorsCellBottom:"sd-table__cell--error-bottom",itemCell:"sd-table__cell--item",row:"sd-table__row",rowDelayedEnter:"sd-table__row--delayed-enter",rowEnter:"sd-table__row--enter",rowLeave:"sd-table__row--leave",expandedRow:"sd-table__row--expanded",rowHasPanel:"sd-table__row--has-panel",rowHasEndActions:"sd-table__row--has-end-actions",headerCell:"sd-table__cell sd-table__cell--header",rowTextCell:"sd-table__cell sd-table__cell--row-text",footerCell:"sd-table__cell sd-table__cell--footer",footerTotalCell:"sd-table__cell sd-table__cell--footer-total",columnTitleCell:"sd-table__cell--column-title",cellRequiredText:"sd-question__required-text",detailButton:"sd-table__cell--detail-button",detailButtonExpanded:"sd-table__cell--detail-button--expanded",detailIcon:"sd-detail-panel__icon",detailIconExpanded:"sd-detail-panel__icon--expanded",detailIconId:"icon-expanddetail",detailIconExpandedId:"icon-collapsedetail",detailPanelCell:"sd-table__cell--detail-panel",detailRowCell:"sd-table__cell--detail",actionsCellPrefix:"sd-table__cell-action",actionsCell:"sd-table__cell sd-table__cell--actions",actionsCellDrag:"sd-table__cell--drag",emptyCell:"sd-table__cell--empty",verticalCell:"sd-table__cell--vertical",cellQuestionWrapper:"sd-matrix__question-wrapper sd-table__question-wrapper",compact:"sd-element--with-frame sd-element--compact"},matrixdynamic:{mainRoot:"sd-element sd-question sd-row__question sd-element--complex sd-question--complex sd-question--table",rootScroll:"sd-question--scroll",empty:"sd-question--empty",root:"sd-table sd-matrixdynamic",columnsAutoWidth:"sd-table--columnsautowidth",noHeader:"sd-table--no-header",hasFooter:"sd-table--has-footer",tableWrapper:"sd-table-wrapper",rootAlternateRows:"sd-table--alternate-rows",content:"sd-matrixdynamic__content sd-question__content",cell:"sd-table__cell",cellResponsiveTitle:"sd-table__responsive-title",row:"sd-table__row",rowDelayedEnter:"sd-table__row--delayed-enter",rowEnter:"sd-table__row--enter",rowLeave:"sd-table__row--leave",rowHasPanel:"sd-table__row--has-panel",rowHasEndActions:"sd-table__row--has-end-actions",expandedRow:"sd-table__row--expanded",itemCell:"sd-table__cell--item",headerCell:"sd-table__cell sd-table__cell--header",rowTextCell:"sd-table__cell sd-table__cell--row-text",footerCell:"sd-table__cell sd-table__cell--footer",columnTitleCell:"sd-table__cell--column-title",cellRequiredText:"sd-question__required-text",button:"sd-action sd-matrixdynamic__btn",detailRow:"sd-table__row sd-table__row--detail",detailButton:"sd-table__cell--detail-button",detailButtonExpanded:"sd-table__cell--detail-button--expanded",detailIcon:"sd-detail-panel__icon",detailIconExpanded:"sd-detail-panel__icon--expanded",detailIconId:"icon-expanddetail",detailIconExpandedId:"icon-collapsedetail",detailPanelCell:"sd-table__cell--detail-panel",detailRowCell:"sd-table__cell--detail",actionsCellPrefix:"sd-table__cell-action",actionsCell:"sd-table__cell sd-table__cell--actions",actionsCellDrag:"sd-table__cell--drag",buttonAdd:"sd-matrixdynamic__add-btn",buttonRemove:"sd-action--negative sd-matrixdynamic__remove-btn",iconAdd:"sd-hidden",iconRemove:"",dragElementDecorator:"sd-drag-element__svg",iconDragElement:"#icon-drag-24x24",footer:"sd-matrixdynamic__footer",footerTotalCell:"sd-table__cell sd-table__cell--footer-total",emptyRowsSection:"sd-matrixdynamic__placeholder sd-question__placeholder",iconDrag:"sv-matrixdynamic__drag-icon",ghostRow:"sv-matrix-row--drag-drop-ghost-mod",draggedRow:"sv-matrixdynamic-dragged-row",emptyCell:"sd-table__cell--empty",verticalCell:"sd-table__cell--vertical",cellQuestionWrapper:"sd-matrix__question-wrapper sd-table__question-wrapper",errorsCell:"sd-table__cell--error",errorsCellTop:"sd-table__cell--error-top",errorsCellBottom:"sd-table__cell--error-bottom",compact:"sd-element--with-frame sd-element--compact"},rating:{rootDropdown:"sd-scrollable-container sd-scrollable-container--compact sd-selectbase",root:"sd-scrollable-container sd-rating",rootWrappable:"sd-rating--wrappable",rootLabelsTop:"sd-rating--labels-top",rootLabelsBottom:"sd-rating--labels-bottom",rootLabelsDiagonal:"sd-rating--labels-diagonal",item:"sd-rating__item",itemOnError:"sd-rating__item--error",itemHover:"sd-rating__item--allowhover",selected:"sd-rating__item--selected",itemStar:"sd-rating__item-star",itemStarOnError:"sd-rating__item-star--error",itemStarHover:"sd-rating__item-star--allowhover",itemStarSelected:"sd-rating__item-star--selected",itemStarDisabled:"sd-rating__item-star--disabled",itemStarReadOnly:"sd-rating__item-star--readonly",itemStarPreview:"sd-rating__item-star--preview",itemStarHighlighted:"sd-rating__item-star--highlighted",itemStarUnhighlighted:"sd-rating__item-star--unhighlighted",itemStarSmall:"sd-rating__item-star--small",itemSmiley:"sd-rating__item-smiley",itemSmileyOnError:"sd-rating__item-smiley--error",itemSmileyHover:"sd-rating__item-smiley--allowhover",itemSmileySelected:"sd-rating__item-smiley--selected",itemSmileyDisabled:"sd-rating__item-smiley--disabled",itemSmileyReadOnly:"sd-rating__item-smiley--readonly",itemSmileyPreview:"sd-rating__item-smiley--preview",itemSmileyHighlighted:"sd-rating__item-star--highlighted",itemSmileyScaleColored:"sd-rating__item-smiley--scale-colored",itemSmileyRateColored:"sd-rating__item-smiley--rate-colored",itemSmileySmall:"sd-rating__item-smiley--small",minText:"sd-rating__item-text sd-rating__min-text",itemText:"sd-rating__item-text",maxText:"sd-rating__item-text sd-rating__max-text",itemDisabled:"sd-rating__item--disabled",itemReadOnly:"sd-rating__item--readonly",itemPreview:"sd-rating__item--preview",itemFixedSize:"sd-rating__item--fixed-size",control:"sd-input sd-dropdown",itemSmall:"sd-rating--small",selectWrapper:"sv-dropdown_select-wrapper",controlValue:"sd-dropdown__value",controlDisabled:"sd-input--disabled",controlReadOnly:"sd-input--readonly",controlPreview:"sd-input--preview",controlEmpty:"sd-dropdown--empty",filterStringInput:"sd-dropdown__filter-string-input",chevronButton:"sd-dropdown_chevron-button",chevronButtonSvg:"sd-dropdown_chevron-button-svg",chevronButtonIconId:"icon-chevron",popup:"sv-dropdown-popup",onError:"sd-input--error"},comment:{root:"sd-input sd-comment",small:"sd-row__question--small",controlDisabled:"sd-input--disabled",controlReadOnly:"sd-input--readonly",controlPreview:"sd-input--preview",content:"sd-comment__content sd-question__content",remainingCharacterCounter:"sd-remaining-character-counter",onError:"sd-input--error"},expression:"sd-expression",file:{root:"sd-file",rootDragging:"sd-file--dragging",rootAnswered:"sd-file--answered",rootDisabled:"sd-file--disabled",rootReadOnly:"sd-file--readonly",rootPreview:"sd-file--preview",other:"sd-input sd-comment",placeholderInput:"sd-visuallyhidden",previewItem:"sd-file__preview-item",fileSign:"",fileList:"sd-file__list",fileSignBottom:"sd-file__sign",dragArea:"sd-file__drag-area",dragAreaActive:"sd-file__drag-area--active",fileDecorator:"sd-file__decorator",onError:"sd-file__decorator--error",fileDecoratorDrag:"sd-file__decorator--drag",fileInput:"sd-visuallyhidden",noFileChosen:"sd-description sd-file__no-file-chosen",chooseFile:"sd-file__choose-btn",chooseFileAsText:"sd-action sd-file__choose-btn--text",chooseFileAsTextDisabled:"sd-action--disabled",chooseFileAsIcon:"sd-file__choose-btn--icon",chooseFileIconId:"icon-choosefile",disabled:"sd-file__choose-btn--disabled",controlDisabled:"sd-file__choose-file-btn--disabled",removeButton:"sd-context-btn--negative",removeButtonBottom:"",removeButtonIconId:"icon-clear",removeFile:"sd-hidden",removeFileSvg:"",removeFileSvgIconId:"icon-close_16x16",wrapper:"sd-file__wrapper",defaultImage:"sd-file__default-image",defaultImageIconId:"icon-defaultfile",leftIconId:"icon-arrowleft",rightIconId:"icon-arrowright",removeFileButton:"sd-context-btn--small sd-context-btn--with-border sd-context-btn--colorful sd-context-btn--negative sd-file__remove-file-button",dragAreaPlaceholder:"sd-file__drag-area-placeholder",imageWrapper:"sd-file__image-wrapper",imageWrapperDefaultImage:"sd-file__image-wrapper--default-image",single:"sd-file--single",singleImage:"sd-file--single-image",mobile:"sd-file--mobile",videoContainer:"sd-file__video-container",contextButton:"sd-context-btn",video:"sd-file__video",actionsContainer:"sd-file__actions-container",closeCameraButton:"sd-file__close-camera-button",changeCameraButton:"sd-file__change-camera-button",takePictureButton:"sd-file__take-picture-button",loadingIndicator:"sd-file__loading-indicator",page:"sd-file__page"},signaturepad:{mainRoot:"sd-element sd-question sd-question--signature sd-row__question",root:"sd-signaturepad sjs_sp_container",small:"sd-row__question--small",controls:"sjs_sp_controls sd-signaturepad__controls",placeholder:"sjs_sp_placeholder",canvas:"sjs_sp_canvas sd-signaturepad__canvas",backgroundImage:"sjs_sp__background-image sd-signaturepad__background-image",clearButton:"sjs_sp_clear sd-context-btn sd-context-btn--negative sd-signaturepad__clear",clearButtonIconId:"icon-clear",loadingIndicator:"sd-signaturepad__loading-indicator"},saveData:{root:"sv-save-data_root",rootWithButtons:"sv-save-data_root--with-buttons",info:"sv-save-data_info",error:"sv-save-data_error",success:"sv-save-data_success",button:"sv-save-data_button",shown:"sv-save-data_root--shown"},window:{root:"sv_window",rootCollapsedMod:"sv_window--collapsed",rootFullScreenMode:"sv_window--full-screen",rootContent:"sv_window_root-content",body:"sv_window_content",header:{root:"sv_window_header",titleCollapsed:"sv_window_header_title_collapsed",buttonsContainer:"sv_window_buttons_container",button:"sv_window_button",buttonExpanded:"",buttonCollapsed:"",collapseButton:"sv_window_button sv_window_button_collapse",closeButton:"sv_window_button sv_window_button_close",fullScreenButton:"sv_window_button sv_window_button_full_screen"}},ranking:{root:"sv-ranking",rootMobileMod:"sv-ranking--mobile",rootDragMod:"sv-ranking--drag",rootDisabled:"sd-ranking--disabled",rootReadOnly:"sd-ranking--readonly",rootPreview:"sd-ranking--preview",rootDesignMode:"sv-ranking--design-mode",rootDragHandleAreaIcon:"sv-ranking--drag-handle-area-icon",rootSelectToRankMod:"sv-ranking--select-to-rank",rootSelectToRankEmptyValueMod:"sv-ranking--select-to-rank-empty-value",rootSelectToRankAlignVertical:"sv-ranking--select-to-rank-vertical",rootSelectToRankAlignHorizontal:"sv-ranking--select-to-rank-horizontal",rootSelectToRankSwapAreas:"sv-ranking--select-to-rank-swap-areas",item:"sv-ranking-item",itemContent:"sv-ranking-item__content sd-ranking-item__content",itemIndex:"sv-ranking-item__index sd-ranking-item__index",itemIndexEmptyMode:"sv-ranking-item__index--empty sd-ranking-item__index--empty",itemDisabled:"sv-ranking-item--disabled",itemReadOnly:"sv-ranking-item--readonly",itemPreview:"sv-ranking-item--preview",controlLabel:"sv-ranking-item__text",itemGhostNode:"sv-ranking-item__ghost",itemIconContainer:"sv-ranking-item__icon-container",itemIcon:"sv-ranking-item__icon",itemIconHoverMod:"sv-ranking-item__icon--hover",itemIconFocusMod:"sv-ranking-item__icon--focus",itemGhostMod:"sv-ranking-item--ghost",itemDragMod:"sv-ranking--drag",itemOnError:"sv-ranking-item--error",container:"sv-ranking__container",containerEmptyMode:"sv-ranking__container--empty",containerFromMode:"sv-ranking__container--from",containerToMode:"sv-ranking__container--to",containerPlaceholder:"sv-ranking__container-placeholder",containersDivider:"sv-ranking__containers-divider"},buttongroup:{root:"sv-button-group",item:"sv-button-group__item",itemIcon:"sv-button-group__item-icon",itemDecorator:"sv-button-group__item-decorator",itemCaption:"sv-button-group__item-caption",itemHover:"sv-button-group__item--hover",itemSelected:"sv-button-group__item--selected",itemDisabled:"sv-button-group__item--disabled",itemControl:"sv-visuallyhidden"},list:{root:"sv-list__container sd-list",item:"sv-list__item sd-list__item",itemBody:"sv-list__item-body sd-list__item-body",itemSelected:"sv-list__item--selected sd-list__item--selected",itemFocused:"sv-list__item--focused sd-list__item--focused",itemHovered:"sv-list__item--hovered sd-list__item--hovered"},actionBar:{root:"sd-action-bar",item:"sd-action",defaultSizeMode:"",smallSizeMode:"",itemPressed:"sd-action--pressed",itemAsIcon:"sd-action--icon",itemIcon:"sd-action__icon",itemTitle:"sd-action__title"},variables:{mobileWidth:"--sd-mobile-width",themeMark:"--sv-defaultV2-mark"},tagbox:{root:"sd-selectbase",popup:"sv-dropdown-popup",small:"sd-row__question--small",selectWrapper:"sv-dropdown_select-wrapper",other:"sd-input sd-comment sd-selectbase__other",onError:"sd-input--error",label:"sd-selectbase__label",itemSvgIconId:"#icon-check-16x16",item:"sd-item sd-checkbox sd-selectbase__item",itemDisabled:"sd-item--disabled sd-checkbox--disabled",itemChecked:"sd-item--checked sd-checkbox--checked",itemHover:"sd-item--allowhover sd-checkbox--allowhover",itemControl:"sd-visuallyhidden sd-item__control sd-checkbox__control",itemDecorator:"sd-item__svg sd-checkbox__svg",itemEnter:"sd-item--enter",itemLeave:"sd-item--leave",cleanButton:"sd-tagbox_clean-button sd-dropdown_clean-button",cleanButtonSvg:"sd-tagbox_clean-button-svg sd-dropdown_clean-button-svg",cleanButtonIconId:"icon-cancel-24x24",cleanItemButton:"sd-tagbox-item_clean-button",cleanItemButtonSvg:"sd-tagbox-item_clean-button-svg",cleanItemButtonIconId:"icon-clear_16x16",chevronButton:"sd-dropdown_chevron-button",chevronButtonSvg:"sd-dropdown_chevron-button-svg",chevronButtonIconId:"icon-chevron",control:"sd-input sd-tagbox sd-dropdown",controlValue:"sd-tagbox__value sd-dropdown__value",controlValueItems:"sd-tagbox__value-items",placeholderInput:"sd-tagbox__placeholder",controlEditable:"sd-input--editable",controlDisabled:"sd-input--disabled",controlReadOnly:"sd-input--readonly",controlPreview:"sd-input--preview",controlEmpty:"sd-dropdown--empty sd-tagbox--empty",controlLabel:"sd-item__control-label",f
vendor: 111,938 bytes, line 11
11ilterStringInput:"sd-tagbox__filter-string-input sd-dropdown__filter-string-input",materialDecorator:"sd-item__decorator sd-checkbox__decorator",hint:"sd-tagbox__hint",hintPrefix:"sd-dropdown__hint-prefix sd-tagbox__hint-prefix",hintSuffix:"sd-dropdown__hint-suffix sd-tagbox__hint-suffix",hintSuffixWrapper:"sd-tagbox__hint-suffix-wrapper"}},oi="defaultV2";ti[oi]=ni;var ii=function(){function e(){}return Object.defineProperty(e,"serviceUrl",{get:function(){return tn.web.surveyServiceUrl},set:function(e){tn.web.surveyServiceUrl=e},enumerable:!1,configurable:!0}),e.prototype.loadSurvey=function(e,t){var n=new XMLHttpRequest;n.open("GET",this.serviceUrl+"/getSurvey?surveyId="+e),n.setRequestHeader("Content-Type","application/x-www-form-urlencoded"),n.onload=function(){var e=JSON.parse(n.response);t(200==n.status,e,n.response)},n.send()},e.prototype.getSurveyJsonAndIsCompleted=function(e,t,n){var o=new XMLHttpRequest;o.open("GET",this.serviceUrl+"/getSurveyAndIsCompleted?surveyId="+e+"&clientId="+t),o.setRequestHeader("Content-Type","application/x-www-form-urlencoded"),o.onload=function(){var e=JSON.parse(o.response),t=e?e.survey:null,i=e?e.isCompleted:null;n(200==o.status,t,i,o.response)},o.send()},e.prototype.canSendResult=function(e){return!this.isSurveJSIOService||JSON.stringify(e).length<65536},Object.defineProperty(e.prototype,"isSurveJSIOService",{get:function(){return this.serviceUrl.indexOf("surveyjs.io")>=0},enumerable:!1,configurable:!0}),e.prototype.sendResult=function(e,t,n,o,i){void 0===o&&(o=null),void 0===i&&(i=!1),this.canSendResult(t)?this.sendResultCore(e,t,n,o,i):n(!1,d("savingExceedSize",this.locale),void 0)},e.prototype.sendResultCore=function(e,t,n,o,i){void 0===o&&(o=null),void 0===i&&(i=!1);var r=new XMLHttpRequest;r.open("POST",this.serviceUrl+"/post/"),r.setRequestHeader("Content-Type","application/json; charset=utf-8");var a={postId:e,surveyResult:JSON.stringify(t)};o&&(a.clientId=o),i&&(a.isPartialCompleted=!0);var s=JSON.stringify(a);r.onload=r.onerror=function(){n&&n(200===r.status,r.response,r)},r.send(s)},e.prototype.sendFile=function(e,t,n){var o=new XMLHttpRequest;o.onload=o.onerror=function(){n&&n(200==o.status,JSON.parse(o.response))},o.open("POST",this.serviceUrl+"/upload/",!0);var i=new FormData;i.append("file",t),i.append("postId",e),o.send(i)},e.prototype.getResult=function(e,t,n){var o=new XMLHttpRequest,i="resultId="+e+"&name="+t;o.open("GET",this.serviceUrl+"/getResult?"+i),o.setRequestHeader("Content-Type","application/x-www-form-urlencoded");o.onload=function(){var e=null,t=null;if(200==o.status)for(var i in t=[],(e=JSON.parse(o.response)).QuestionResult){var r={name:i,value:e.QuestionResult[i]};t.push(r)}n(200==o.status,e,t,o.response)},o.send()},e.prototype.isCompleted=function(e,t,n){var o=new XMLHttpRequest,i="resultId="+e+"&clientId="+t;o.open("GET",this.serviceUrl+"/isCompleted?"+i),o.setRequestHeader("Content-Type","application/x-www-form-urlencoded");o.onload=function(){var e=null;200==o.status&&(e=JSON.parse(o.response)),n(200==o.status,e,o.response)},o.send()},Object.defineProperty(e.prototype,"serviceUrl",{get:function(){return e.serviceUrl||""},enumerable:!1,configurable:!0}),e}(),ri={setTimeout:function(e){return ri.safeTimeOut(e,1e3)},clearTimeout:function(e){clearTimeout(e)},safeTimeOut:function(e,t){return t<=0?(e(),0):setTimeout(e,t)},now:function(){return Date.now()}},ai=function(){function e(){this.listenerCounter=0,this.timerId=-1,this.onTimerTick=new Ee,this.onTimer=this.onTimerTick}return Object.defineProperty(e,"instance",{get:function(){return e.instanceValue||(e.instanceValue=new e),e.instanceValue},enumerable:!1,configurable:!0}),e.prototype.start=function(e){var t=this;void 0===e&&(e=null),e&&this.onTimerTick.add(e),this.prevTimeInMs=ri.now(),this.timerId<0&&(this.timerId=ri.setTimeout((function(){t.doTimer()}))),this.listenerCounter++},e.prototype.stop=function(e){void 0===e&&(e=null),e&&this.onTimerTick.remove(e),this.listenerCounter--,0==this.listenerCounter&&this.timerId>-1&&(ri.clearTimeout(this.timerId),this.timerId=-1)},e.prototype.doTimer=function(){var e=this;if((this.onTimerTick.isEmpty||0==this.listenerCounter)&&(this.timerId=-1),!(this.timerId<0)){var t=ri.now(),n=Math.floor((t-this.prevTimeInMs)/1e3);this.prevTimeInMs=t,n<0&&(n=1);var o=this.timerId;this.onTimerTick.fire(this,{seconds:n}),o===this.timerId&&(this.timerId=ri.setTimeout((function(){e.doTimer()})))}},e.instanceValue=null,e}(),si=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(t,n)};return function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function o(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}}(),li=function(e,t,n,o){var i,r=arguments.length,a=r<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,n):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,o);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(a=(r<3?i(a):r>3?i(t,n,a):i(t,n))||a);return r>3&&a&&Object.defineProperty(t,n,a),a},ui=function(e){function t(t){var n=e.call(this)||this;return n.timerFunc=null,n.surveyValue=t,n.onCreating(),n}return si(t,e),Object.defineProperty(t.prototype,"survey",{get:function(){return this.surveyValue},enumerable:!1,configurable:!0}),t.prototype.onCreating=function(){},t.prototype.start=function(){var e=this;this.survey&&(this.isRunning||this.isDesignMode||(this.survey.onCurrentPageChanged.add((function(){e.update()})),this.timerFunc=function(t,n){e.doTimer(n.seconds)},this.setIsRunning(!0),this.update(),ai.instance.start(this.timerFunc)))},t.prototype.stop=function(){this.isRunning&&(this.setIsRunning(!1),ai.instance.stop(this.timerFunc))},Object.defineProperty(t.prototype,"isRunning",{get:function(){return this.getPropertyValue("isRunning",!1)},enumerable:!1,configurable:!0}),t.prototype.setIsRunning=function(e){this.setPropertyValue("isRunning",e)},t.prototype.update=function(){this.updateText(),this.updateProgress()},t.prototype.doTimer=function(e){var t=this.survey.currentPage;if(t){var n=t.getMaxTimeToFinish();n>0&&n<t.timeSpent+e&&(e=n-t.timeSpent),t.timeSpent=t.timeSpent+e}this.spent=this.spent+e,this.update(),this.onTimerTick&&this.onTimerTick(t)},t.prototype.updateProgress=function(){var e=this,t=this.survey.timerInfo,n=t.spent,o=t.limit;o?(0==n?(this.progress=0,setTimeout((function(){e.progress=Math.floor((n+1)/o*100)/100}),0)):n<=o&&(this.progress=Math.floor((n+1)/o*100)/100),this.progress>1&&(this.progress=void 0)):this.progress=void 0},t.prototype.updateText=function(){var e=this.survey.timerClock;this.clockMajorText=e.majorText,this.clockMinorText=e.minorText,this.text=this.survey.timerInfoText},Object.defineProperty(t.prototype,"showProgress",{get:function(){return void 0!==this.progress},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"showTimerAsClock",{get:function(){return!!this.survey.getCss().clockTimerRoot},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"rootCss",{get:function(){return(new Ae).append(this.survey.getCss().clockTimerRoot).append(this.survey.getCss().clockTimerRootTop,this.survey.isTimerPanelShowingOnTop).append(this.survey.getCss().clockTimerRootBottom,this.survey.isTimerPanelShowingOnBottom).toString()},enumerable:!1,configurable:!0}),t.prototype.getProgressCss=function(){return(new Ae).append(this.survey.getCss().clockTimerProgress).append(this.survey.getCss().clockTimerProgressAnimation,this.progress>0).toString()},Object.defineProperty(t.prototype,"textContainerCss",{get:function(){return this.survey.getCss().clockTimerTextContainer},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"minorTextCss",{get:function(){return this.survey.getCss().clockTimerMinorText},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"majorTextCss",{get:function(){return this.survey.getCss().clockTimerMajorText},enumerable:!1,configurable:!0}),li([x()],t.prototype,"text",void 0),li([x()],t.prototype,"progress",void 0),li([x()],t.prototype,"clockMajorText",void 0),li([x()],t.prototype,"clockMinorText",void 0),li([x({defaultValue:0})],t.prototype,"spent",void 0),t}(_e),ci=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(t,n)};return function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function o(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}}(),pi=function(e,t,n,o){var i,r=arguments.length,a=r<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,n):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,o);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(a=(r<3?i(a):r>3?i(t,n,a):i(t,n))||a);return r>3&&a&&Object.defineProperty(t,n,a),a},di=function(e){function t(t){var n=e.call(this)||this;return n.cssClasses=t,n.timeout=tn.notifications.lifetime,n.timer=void 0,n.actionsVisibility={},n.showActions=!0,n.actionBar=new Me,n.actionBar.updateCallback=function(e){n.actionBar.actions.forEach((function(e){return e.cssClasses={}}))},n.css=n.cssClasses.root,n}return ci(t,e),t.prototype.getCssClass=function(e){return(new Ae).append(this.cssClasses.root).append(this.cssClasses.rootWithButtons,this.actionBar.visibleActions.length>0).append(this.cssClasses.info,"error"!==e&&"success"!==e).append(this.cssClasses.error,"error"===e).append(this.cssClasses.success,"success"===e).append(this.cssClasses.shown,this.active).toString()},t.prototype.updateActionsVisibility=function(e){var t=this;this.actionBar.actions.forEach((function(n){return n.visible=t.showActions&&t.actionsVisibility[n.id]===e}))},t.prototype.notify=function(e,t,n){var o=this;void 0===t&&(t="info"),void 0===n&&(n=!1),this.isDisplayed=!0,setTimeout((function(){o.updateActionsVisibility(t),o.message=e,o.active=!0,o.css=o.getCssClass(t),o.timer&&(clearTimeout(o.timer),o.timer=void 0),n||(o.timer=setTimeout((function(){o.timer=void 0,o.active=!1,o.css=o.getCssClass(t)}),o.timeout))}),1)},t.prototype.addAction=function(e,t){e.visible=!1,e.innerCss=this.cssClasses.button;var n=this.actionBar.addAction(e);this.actionsVisibility[n.id]=t},pi([x({defaultValue:!1})],t.prototype,"active",void 0),pi([x({defaultValue:!1})],t.prototype,"isDisplayed",void 0),pi([x()],t.prototype,"message",void 0),pi([x()],t.prototype,"css",void 0),t}(_e),hi=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(t,n)};return function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function o(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}}(),mi=function(e,t,n,o){var i,r=arguments.length,a=r<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,n):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,o);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(a=(r<3?i(a):r>3?i(t,n,a):i(t,n))||a);return r>3&&a&&Object.defineProperty(t,n,a),a},gi=function(){function e(e,t,n){this.cover=e,this.positionX=t,this.positionY=n}return e.prototype.calcRow=function(e){return"top"===e?1:"middle"===e?2:3},e.prototype.calcColumn=function(e){return"left"===e?1:"center"===e?2:3},e.prototype.calcAlignItems=function(e){return"left"===e?"flex-start":"center"===e?"center":"flex-end"},e.prototype.calcAlignText=function(e){return"left"===e?"start":"center"===e?"center":"end"},e.prototype.calcJustifyContent=function(e){return"top"===e?"flex-start":"middle"===e?"center":"flex-end"},Object.defineProperty(e.prototype,"survey",{get:function(){return this.cover.survey},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"css",{get:function(){return e.CLASSNAME+" "+e.CLASSNAME+"--"+this.positionX+" "+e.CLASSNAME+"--"+this.positionY},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"style",{get:function(){var e={};return e.gridColumn=this.calcColumn(this.positionX),e.gridRow=this.calcRow(this.positionY),e},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"contentStyle",{get:function(){var e={};return e.textAlign=this.calcAlignText(this.positionX),e.alignItems=this.calcAlignItems(this.positionX),e.justifyContent=this.calcJustifyContent(this.positionY),e},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"showLogo",{get:function(){return this.survey.hasLogo&&this.positionX===this.cover.logoPositionX&&this.positionY===this.cover.logoPositionY},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"showTitle",{get:function(){return this.survey.hasTitle&&this.positionX===this.cover.titlePositionX&&this.positionY===this.cover.titlePositionY},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"showDescription",{get:function(){return this.survey.renderedHasDescription&&this.positionX===this.cover.descriptionPositionX&&this.positionY===this.cover.descriptionPositionY},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"textAreaWidth",{get:function(){return this.cover.textAreaWidth?this.cover.textAreaWidth+"px":""},enumerable:!1,configurable:!0}),e.CLASSNAME="sv-header__cell",e}(),fi=function(e){function t(){var t=e.call(this)||this;return t.cells=[],["top","middle","bottom"].forEach((function(e){return["left","center","right"].forEach((function(n){return t.cells.push(new gi(t,n,e))}))})),t.init(),t}return hi(t,e),t.prototype.calcBackgroundSize=function(e){return"fill"===e?"100% 100%":"tile"===e?"auto":e},t.prototype.updateHeaderClasses=function(){this.headerClasses=(new Ae).append("sv-header").append("sv-header__without-background","transparent"===this.backgroundColor&&!this.backgroundImage).append("sv-header__background-color--none","transparent"===this.backgroundColor&&!this.titleColor&&!this.descriptionColor).append("sv-header__background-color--accent",!this.backgroundColor&&!this.titleColor&&!this.descriptionColor).append("sv-header__background-color--custom",!!this.backgroundColor&&"transparent"!==this.backgroundColor&&!this.titleColor&&!this.descriptionColor).append("sv-header__overlap",this.overlapEnabled).toString()},t.prototype.updateContentClasses=function(){var e=!!this.survey&&this.survey.calculateWidthMode();this.maxWidth="survey"===this.inheritWidthFrom&&!!e&&"static"===e&&this.survey.renderedWidth,this.contentClasses=(new Ae).append("sv-header__content").append("sv-header__content--static","survey"===this.inheritWidthFrom&&!!e&&"static"===e).append("sv-header__content--responsive","container"===this.inheritWidthFrom||!!e&&"responsive"===e).toString()},t.prototype.updateBackgroundImageClasses=function(){this.backgroundImageClasses=(new Ae).append("sv-header__background-image").append("sv-header__background-image--contain","contain"===this.backgroundImageFit).append("sv-header__background-image--tile","tile"===this.backgroundImageFit).toString()},t.prototype.fromTheme=function(t){e.prototype.fromJSON.call(this,t.header||{}),t.cssVariables&&(this.backgroundColor=t.cssVariables["--sjs-header-backcolor"],this.titleColor=t.cssVariables["--sjs-font-headertitle-color"],this.descriptionColor=t.cssVariables["--sjs-font-headerdescription-color"]),this.init()},t.prototype.init=function(){this.renderBackgroundImage=Rt(this.backgroundImage),this.updateHeaderClasses(),this.updateContentClasses(),this.updateBackgroundImageClasses()},t.prototype.getType=function(){return"cover"},Object.defineProperty(t.prototype,"renderedHeight",{get:function(){return this.survey&&!this.survey.isMobile||!this.survey?this.height?Math.max(this.height,this.actualHeight+40)+"px":void 0:this.survey&&this.survey.isMobile&&this.mobileHeight?Math.max(this.mobileHeight,this.actualHeight)+"px":void 0},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"renderedtextAreaWidth",{get:function(){return this.textAreaWidth?this.textAreaWidth+"px":void 0},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"survey",{get:function(){return this._survey},set:function(e){var t=this;this._survey!==e&&(this._survey=e,e&&(this.updateContentClasses(),this._survey.onPropertyChanged.add((function(e,n){"widthMode"!=n.name&&"width"!=n.name||t.updateContentClasses()}))))},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"backgroundImageStyle",{get:function(){return this.backgroundImage?{opacity:this.backgroundImageOpacity,backgroundImage:this.renderBackgroundImage,backgroundSize:this.calcBackgroundSize(this.backgroundImageFit)}:null},enumerable:!1,configurable:!0}),t.prototype.propertyValueChanged=function(t,n,o,i,r){e.prototype.propertyValueChanged.call(this,t,n,o),"backgroundColor"!==t&&"backgroundImage"!==t&&"overlapEnabled"!==t||this.updateHeaderClasses(),"inheritWidthFrom"===t&&this.updateContentClasses(),"backgroundImageFit"===t&&this.updateBackgroundImageClasses()},t.prototype.calculateActualHeight=function(e,t,n){var o=["top","middle","bottom"],i=o.indexOf(this.logoPositionY),r=o.indexOf(this.titlePositionY),a=o.indexOf(this.descriptionPositionY),s=["left","center","right"],l=s.indexOf(this.logoPositionX),u=s.indexOf(this.titlePositionX),c=s.indexOf(this.descriptionPositionX),p=[[0,0,0],[0,0,0],[0,0,0]];return p[i][l]=e,p[r][u]+=t,p[a][c]+=n,p.reduce((function(e,t){return e+Math.max.apply(Math,t)}),0)},t.prototype.processResponsiveness=function(e){if(this.survey&&this.survey.rootElement)if(this.survey.isMobile){var t=this.survey.rootElement.querySelectorAll(".sv-header > div")[0];this.actualHeight=t?t.getBoundingClientRect().height:0}else{var n=this.survey.rootElement.querySelectorAll(".sv-header__logo")[0],o=this.survey.rootElement.querySelectorAll(".sv-header__title")[0],i=this.survey.rootElement.querySelectorAll(".sv-header__description")[0],r=n?n.getBoundingClientRect().height:0,a=o?o.getBoundingClientRect().height:0,s=i?i.getBoundingClientRect().height:0;this.actualHeight=this.calculateActualHeight(r,a,s)}},Object.defineProperty(t.prototype,"hasBackground",{get:function(){return!!this.backgroundImage||"transparent"!==this.backgroundColor},enumerable:!1,configurable:!0}),mi([x({defaultValue:0})],t.prototype,"actualHeight",void 0),mi([x()],t.prototype,"height",void 0),mi([x()],t.prototype,"mobileHeight",void 0),mi([x()],t.prototype,"inheritWidthFrom",void 0),mi([x()],t.prototype,"textAreaWidth",void 0),mi([x()],t.prototype,"textGlowEnabled",void 0),mi([x()],t.prototype,"overlapEnabled",void 0),mi([x()],t.prototype,"backgroundColor",void 0),mi([x()],t.prototype,"titleColor",void 0),mi([x()],t.prototype,"descriptionColor",void 0),mi([x({onSet:function(e,t){t.renderBackgroundImage=Rt(e)}})],t.prototype,"backgroundImage",void 0),mi([x()],t.prototype,"renderBackgroundImage",void 0),mi([x()],t.prototype,"backgroundImageFit",void 0),mi([x()],t.prototype,"backgroundImageOpacity",void 0),mi([x()],t.prototype,"logoPositionX",void 0),mi([x()],t.prototype,"logoPositionY",void 0),mi([x()],t.prototype,"titlePositionX",void 0),mi([x()],t.prototype,"titlePositionY",void 0),mi([x()],t.prototype,"descriptionPositionX",void 0),mi([x()],t.prototype,"descriptionPositionY",void 0),mi([x()],t.prototype,"logoStyle",void 0),mi([x()],t.prototype,"titleStyle",void 0),mi([x()],t.prototype,"descriptionStyle",void 0),mi([x()],t.prototype,"headerClasses",void 0),mi([x()],t.prototype,"contentClasses",void 0),mi([x()],t.prototype,"maxWidth",void 0),mi([x()],t.prototype,"backgroundImageClasses",void 0),t}(_e);L.addClass("cover",[{name:"height:number",minValue:0,default:256},{name:"mobileHeight:number",minValue:0,default:0},{name:"inheritWidthFrom",default:"container"},{name:"textAreaWidth:number",minValue:0,default:512},{name:"textGlowEnabled:boolean"},{name:"overlapEnabled:boolean"},{name:"backgroundImage:file"},{name:"backgroundImageOpacity:number",minValue:0,maxValue:1,default:1},{name:"backgroundImageFit",default:"cover",choices:["cover","fill","contain"]},{name:"logoPositionX",default:"right"},{name:"logoPositionY",default:"top"},{name:"titlePositionX",default:"left"},{name:"titlePositionY",default:"bottom"},{name:"descriptionPositionX",default:"left"},{name:"descriptionPositionY",default:"bottom"}],(function(){return new fi}));var yi=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(t,n)};return function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function o(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}}(),vi=function(e,t,n,o){var i,r=arguments.length,a=r<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,n):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,o);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(a=(r<3?i(a):r>3?i(t,n,a):i(t,n))||a);return r>3&&a&&Object.defineProperty(t,n,a),a},bi=function(e){this.type=e,this.timestamp=new Date},xi=function(e){function t(){var t=e.call(this)||this;return t.taskList=[],t.onAllTasksCompleted=t.addEvent(),t}return yi(t,e),t.prototype.runTask=function(e,t){var n=this,o=new bi(e);return this.taskList.push(o),this.hasActiveTasks=!0,t((function(){return n.taskFinished(o)})),o},t.prototype.waitAndExecute=function(e){this.hasActiveTasks?this.onAllTasksCompleted.add((function(){e()})):e()},t.prototype.taskFinished=function(e){var t=this.taskList.indexOf(e);t>-1&&this.taskList.splice(t,1),this.hasActiveTasks&&0==this.taskList.length&&(this.hasActiveTasks=!1,this.onAllTasksCompleted.fire(this,{}))},vi([x({defaultValue:!1})],t.prototype,"hasActiveTasks",void 0),t}(_e),Ci=function(e,t,n){void 0===n&&(n=-1),this.source=e,this.target=t,this.nestedPanelDepth=n},wi=function(){function e(e){this.panel=e}return e.prototype.dragDropAddTarget=function(e){var t=this.dragDropFindRow(e.target);this.dragDropAddTargetToRow(e,t)&&this.panel.updateRowsRemoveElementFromRow(e.target,t)},e.prototype.dragDropFindRow=function(e){if(!e||e.isPage)return null;for(var t=e,n=this.panel.rows,o=0;o<n.length;o++)if(n[o].elements.indexOf(t)>-1)return n[o];for(o=0;o<this.panel.elements.length;o++){var i=this.panel.elements[o].getPanel();if(i){var r=i.dragDropFindRow(t);if(r)return r}}return null},e.prototype.dragDropMoveElement=function(e,t,n){n>e.parent.elements.indexOf(e)&&n--,this.panel.removeElement(e),this.panel.addElement(t,n)},e.prototype.updateRowsOnElementAdded=function(e,t,n,o){n||((n=new Ci(null,e)).target=e,n.isEdge=this.panel.elements.length>1,this.panel.elements.length<2?n.destination=o:(n.isBottom=t>0,n.destination=0==t?this.panel.elements[1]:this.panel.elements[t-1])),this.dragDropAddTargetToRow(n,null)},e.prototype.dragDropAddTargetToRow=function(e,t){if(!e.destination)return!0;if(this.dragDropAddTargetToEmptyPanel(e))return!0;var n=e.destination,o=this.dragDropFindRow(n);return!o||(e.target.startWithNewLine?this.dragDropAddTargetToNewRow(e,o,t):this.dragDropAddTargetToExistingRow(e,o,t))},e.prototype.dragDropAddTargetToEmptyPanel=function(e){if(e.destination.isPage)return this.dragDropAddTargetToEmptyPanelCore(this.panel.root,e.target,e.isBottom),!0;var t=e.destination;if(t.isPanel&&!e.isEdge){var n=t;if(e.target.template===t)return!1;if(e.nestedPanelDepth<0||e.nestedPanelDepth>=n.depth)return this.dragDropAddTargetToEmptyPanelCore(t,e.target,e.isBottom),!0}return!1},e.prototype.dragDropAddTargetToExistingRow=function(e,t,n){var o=t.elements.indexOf(e.destination);if(0==o&&!e.isBottom)if(this.panel.isDesignModeV2);else if(t.elements[0].startWithNewLine)return t.index>0?(e.isBottom=!0,t=t.panel.rows[t.index-1],e.destination=t.elements[t.elements.length-1],this.dragDropAddTargetToExistingRow(e,t,n)):this.dragDropAddTargetToNewRow(e,t,n);var i=-1;n==t&&(i=t.elements.indexOf(e.target)),e.isBottom&&o++;var r=this.panel.findRowByElement(e.source);return(r!=t||r.elements.indexOf(e.source)!=o)&&(o!=i&&(i>-1&&(t.elements.splice(i,1),i<o&&o--),t.elements.splice(o,0,e.target),t.updateVisible(),i<0))},e.prototype.dragDropAddTargetToNewRow=function(e,t,n){var o=t.panel.createRowAndSetLazy(t.panel.rows.length);this.panel.isDesignModeV2&&o.setIsLazyRendering(!1),o.addElement(e.target);var i=t.index;if(e.isBottom&&i++,n&&n.panel==o.panel&&n.index==i)return!1;var r=this.panel.findRowByElement(e.source);return(!r||r.panel!=o.panel||1!=r.elements.length||r.index!=i)&&(t.panel.rows.splice(i,0,o),!0)},e.prototype.dragDropAddTargetToEmptyPanelCore=function(e,t,n){var o=e.createRow();o.addElement(t),0==e.elements.length||n?e.rows.push(o):e.rows.splice(0,0,o)},e}(),Pi=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(t,n)};return function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function o(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}}(),ki=function(e,t,n,o){var i,r=arguments.length,a=r<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,n):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,o);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(a=(r<3?i(a):r>3?i(t,n,a):i(t,n))||a);return r>3&&a&&Object.defineProperty(t,n,a),a},Vi=function(e){function t(t,n){var o=e.call(this)||this;return o.effectiveWidth=t,o.questionTitleWidth=n,o}return Pi(t,e),t.prototype.getType=function(){return"panellayoutcolumn"},t.prototype.isEmpty=function(){return!this.width&&!this.questionTitleWidth},ki([x()],t.prototype,"width",void 0),ki([x({onSet:function(e,t,n){e!==n&&(t.width=e)}})],t.prototype,"effectiveWidth",void 0),ki([x()],t.prototype,"questionTitleWidth",void 0),t}(_e);L.addClass("panellayoutcolumn",[{name:"effectiveWidth:number",isSerializable:!1,minValue:0},{name:"width:number",visible:!1},"questionTitleWidth"],(function(e){return new Vi}));var _i=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(t,n)};return function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function o(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}}(),Ti=function(e,t,n,o){var i,r=arguments.length,a=r<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,n):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,o);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(a=(r<3?i(a):r>3?i(t,n,a):i(t,n))||a);return r>3&&a&&Object.defineProperty(t,n,a),a},Si=function(e,t){for(var n=0,o=t.length,i=e.length;n<o;n++,i++)e[i]=t[n];return e},Ei=function(e){function t(n){var o=e.call(this)||this;return o.panel=n,o._scrollableParent=void 0,o._updateVisibility=void 0,o.visibleElementsAnimation=new dt(o.getVisibleElementsAnimationOptions(),(function(e){o.setWidth(e),o.setPropertyValue("visibleElements",e)}),(function(){return o.visibleElements})),o.idValue=t.getRowId(),o.visible=n.areInvisibleElementsShowing,o.createNewArray("elements"),o.createNewArray("visibleElements"),o}return _i(t,e),t.getRowId=function(){return"pr_"+t.rowCounter++},Object.defineProperty(t.prototype,"allowRendering",{get:function(){return!this.panel||!this.panel.survey||!this.panel.survey.isLazyRenderingSuspended},enumerable:!1,configurable:!0}),t.prototype.startLazyRendering=function(e,t){var n=this;if(void 0===t&&(t=Tt),s.isAvailable()){this._scrollableParent=t(e),this._scrollableParent===s.getDocumentElement()&&(this._scrollableParent=a.getWindow());var o=this._scrollableParent.scrollHeight>this._scrollableParent.clientHeight;this.isNeedRender=!o,o&&(this._updateVisibility=function(){if(n.allowRendering){var t=function(e,t){if(void 0===t&&(t=0),void 0===tn.environment||!e.offsetHeight)return!1;var n=tn.environment.root,o=Vt(n)?n.host.clientHeight:n.documentElement.clientHeight,i=e.getBoundingClientRect(),r=-t,s=Math.max(o,a.getInnerHeight())+t,l=i.top,u=i.bottom;return Math.max(r,l)<=Math.min(s,u)}(e,50);!n.isNeedRender&&t&&(n.isNeedRender=!0,n.stopLazyRendering())}},this.lazyRenderingTimeout=setTimeout((function(){n._scrollableParent&&n._scrollableParent.addEventListener&&n._scrollableParent.addEventListener("scroll",n._updateVisibility),n.ensureVisibility()}),10))}},t.prototype.ensureVisibility=function(){this._updateVisibility&&this._updateVisibility()},t.prototype.stopLazyRendering=function(){this._scrollableParent&&this._updateVisibility&&this._scrollableParent.removeEventListener&&this._scrollableParent.removeEventListener("scroll",this._updateVisibility),clearTimeout(this.lazyRenderingTimeout),this._scrollableParent=void 0,this._updateVisibility=void 0},t.prototype.setIsLazyRendering=function(e){this.isLazyRenderingValue=e,this.isNeedRender=!e},t.prototype.isLazyRendering=function(){return!0===this.isLazyRenderingValue},Object.defineProperty(t.prototype,"id",{get:function(){return this.idValue},enumerable:!1,configurable:!0}),t.prototype.equalsCore=function(e){return this==e},Object.defineProperty(t.prototype,"elements",{get:function(){return this.getPropertyValue("elements")},enumerable:!1,configurable:!0}),t.prototype.getIsAnimationAllowed=function(){var t;return e.prototype.getIsAnimationAllowed.call(this)&&this.visible&&(null===(t=this.panel)||void 0===t?void 0:t.animationAllowed)},t.prototype.getVisibleElementsAnimationOptions=function(){var e=this,t=function(e){Yt(e),Jt(e,{width:Ut(e)+"px"})};return{getRerenderEvent:function(){return e.onElementRerendered},isAnimationEnabled:function(){return e.animationAllowed},allowSyncRemovalAddition:!1,getAnimatedElement:function(e){return e.getWrapperElement()},getLeaveOptions:function(e){var n=e;return{cssClass:(e.isPanel?n.cssClasses.panel:n.cssClasses).leave,onBeforeRunAnimation:t,onAfterRunAnimation:Xt}},getEnterOptions:function(e){var n=e;return{cssClass:(e.isPanel?n.cssClasses.panel:n.cssClasses).enter,onBeforeRunAnimation:t,onAfterRunAnimation:Xt}}}},Object.defineProperty(t.prototype,"visibleElements",{get:function(){return this.getPropertyValue("visibleElements")},set:function(e){if(!e.length)return this.visible=!1,void this.visibleElementsAnimation.cancel();this.visible=!0,this.visibleElementsAnimation.sync(e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"visible",{get:function(){return this.getPropertyValue("visible",!0)},set:function(e){this.setPropertyValue("visible",e),this.onVisibleChangedCallback&&this.onVisibleChangedCallback()},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isNeedRender",{get:function(){return this.getPropertyValue("isneedrender",!0)},set:function(e){this.setPropertyValue("isneedrender",e)},enumerable:!1,configurable:!0}),t.prototype.updateVisible=function(){for(var e=[],t=0;t<this.elements.length;t++)this.elements[t].isVisible&&e.push(this.elements[t]),(this.elements[t].isPanel||"paneldynamic"===this.elements[t].getType())&&(this.setIsLazyRendering(!1),this.stopLazyRendering());this.visibleElements=e},t.prototype.addElement=function(e){this.elements.push(e),this.updateVisible()},Object.defineProperty(t.prototype,"index",{get:function(){return this.panel.rows.indexOf(this)},enumerable:!1,configurable:!0}),t.prototype.setWidth=function(e){var t,n=e.length;if(0!=n){for(var o=1===e.length,i=0,r=[],a=0;a<this.elements.length;a++){if((l=this.elements[a]).isVisible){l.isSingleInRow=o;var s=this.getElementWidth(l);s&&(l.renderWidth=this.getRenderedWidthFromWidth(s),r.push(l)),i<n-1&&!this.panel.isDefaultV2Theme&&!(null===(t=this.panel.parentQuestion)||void 0===t?void 0:t.isDefaultV2Theme)?l.rightIndent=1:l.rightIndent=0,i++}else l.renderWidth=""}for(a=0;a<this.elements.length;a++){var l;!(l=this.elements[a]).isVisible||r.indexOf(l)>-1||(0==r.length?l.renderWidth=Number.parseFloat((100/n).toFixed(6))+"%":l.renderWidth=this.getRenderedCalcWidth(l,r,n))}}},t.prototype.getRenderedCalcWidth=function(e,t,n){for(var o="100%",i=0;i<t.length;i++)o+=" - "+t[i].renderWidth;var r=n-t.length;return r>1&&(o="("+o+")/"+r.toString()),"calc("+o+")"},t.prototype.getElementWidth=function(e){var t=e.width;return t&&"string"==typeof t?t.trim():""},t.prototype.getRenderedWidthFromWidth=function(e){return u.isNumber(e)?e+"px":e},t.prototype.dispose=function(){e.prototype.dispose.call(this),this.stopLazyRendering()},t.prototype.getRowCss=function(){return(new Ae).append(this.panel.cssClasses.row).append(this.panel.cssClasses.rowCompact,this.panel.isCompact).append(this.panel.cssClasses.pageRow,this.panel.isPage||this.panel.showPanelAsPage).append(this.panel.cssClasses.rowMultiple,this.visibleElements.length>1).toString()},t.prototype.setRootElement=function(e){this.rootElement=e},t.prototype.getRootElement=function(){return this.rootElement},t.rowCounter=100,Ti([x({defaultValue:null})],t.prototype,"dragTypeOverMe",void 0),t}(_e),Ri=function(e){function t(n){void 0===n&&(n="");var o=e.call(this,n)||this;return o.isQuestionsReady=!1,o.questionsValue=new Array,o._columns=void 0,o._columnsReady=!1,o.rowsAnimation=new dt(o.getRowsAnimationOptions(),(function(e){o.setPropertyValue("visibleRows",e)}),(function(){return o.visibleRows})),o.isRandomizing=!1,o.onColumnPropertyValueChangedCallback=function(e,t,n,i,r){o._columnsReady&&(o.updateColumnWidth(o.gridLayoutColumns),o.updateRootStyle())},o.locCountRowUpdates=0,o.createNewArray("rows",(function(e,t){o.onAddRow(e)}),(function(e){o.onRemoveRow(e)})),o.createNewArray("visibleRows"),o.elementsValue=o.createNewArray("elements",o.onAddElement.bind(o),o.onRemoveElement.bind(o)),o.id=t.getPanelId(),o.addExpressionProperty("visibleIf",(function(e,t){o.visible=!0===t}),(function(e){return!o.areInvisibleElementsShowing})),o.addExpressionProperty("enableIf",(function(e,t){o.readOnly=!1===t})),o.addExpressionProperty("requiredIf",(function(e,t){o.isRequired=!0===t})),o.createLocalizableString("requiredErrorText",o),o.createLocalizableString("navigationTitle",o,!0).onGetTextCallback=function(e){return e||o.title||o.name},o.registerPropertyChangedHandlers(["questionTitleLocation"],(function(){o.onVisibleChanged.bind(o),o.updateElementCss(!0)})),o.registerPropertyChangedHandlers(["questionStartIndex","showQuestionNumbers"],(function(){o.updateVisibleIndexes()})),o.registerPropertyChangedHandlers(["title"],(function(){o.resetHasTextInTitle()})),o.dragDropPanelHelper=new wi(o),o}return _i(t,e),t.getPanelId=function(){return"sp_"+t.panelCounter++},t.prototype.onAddRow=function(e){var t=this;this.onRowVisibleChanged(),e.onVisibleChangedCallback=function(){return t.onRowVisibleChanged()}},t.prototype.getRowsAnimationOptions=function(){var e=this;return{getRerenderEvent:function(){return e.onElementRerendered},isAnimationEnabled:function(){return e.animationAllowed},getAnimatedElement:function(e){return e.getRootElement()},getLeaveOptions:function(t,n){return{cssClass:e.cssClasses.rowLeave,onBeforeRunAnimation:Yt,onAfterRunAnimation:Xt}},getEnterOptions:function(t,n){var o=e.cssClasses;return{cssClass:(new Ae).append(o.rowEnter).append(o.rowDelayedEnter,n.isDeletingRunning).toString(),onBeforeRunAnimation:Yt,onAfterRunAnimation:Xt}}}},Object.defineProperty(t.prototype,"visibleRows",{get:function(){return this.getPropertyValue("visibleRows")},set:function(e){this.rowsAnimation.sync(e)},enumerable:!1,configurable:!0}),t.prototype.onRemoveRow=function(e){e.visibleElementsAnimation.cancel(),this.visibleRows=this.rows.filter((function(e){return e.visible})),e.onVisibleChangedCallback=void 0},t.prototype.onRowVisibleChanged=function(){this.visibleRows=this.rows.filter((function(e){return e.visible}))},t.prototype.getType=function(){return"panelbase"},t.prototype.setSurveyImpl=function(t,n){this.blockAnimations(),e.prototype.setSurveyImpl.call(this,t,n),this.isDesignMode&&this.onVisibleChanged();for(var o=0;o<this.elements.length;o++)this.elements[o].setSurveyImpl(t,n);this.releaseAnimations()},t.prototype.endLoadingFromJson=function(){var t=this;e.prototype.endLoadingFromJson.call(this),this.updateDescriptionVisibility(this.description),this.markQuestionListDirty(),this.onRowsChanged(),this.gridLayoutColumns.forEach((function(e){e.onPropertyValueChangedCallback=t.onColumnPropertyValueChangedCallback}))},Object.defineProperty(t.prototype,"hasTextInTitle",{get:function(){var e=this;return this.getPropertyValue("hasTextInTitle",void 0,(function(){return!!e.title}))},enumerable:!1,configurable:!0}),t.prototype.resetHasTextInTitle=function(){this.resetPropertyValue("hasTextInTitle")},Object.defineProperty(t.prototype,"hasTitle",{get:function(){return this.canShowTitle(this.survey)&&(this.hasTextInTitle||this.locTitle.textOrHtml.length>0)||this.isDesignMode&&!(tn.supportCreatorV2&&this.isPanel)&&this.showTitle&&tn.designMode.showEmptyTitles},enumerable:!1,configurable:!0}),t.prototype.delete=function(e){void 0===e&&(e=!0),this.deletePanel(),this.removeFromParent(),e&&this.dispose()},t.prototype.deletePanel=function(){for(var e=this.elements,t=0;t<e.length;t++){var n=e[t];n.isPanel&&n.deletePanel(),this.onRemoveElementNotifySurvey(n)}},t.prototype.removeFromParent=function(){},t.prototype.canShowTitle=function(e){return!0},Object.defineProperty(t.prototype,"_showDescription",{get:function(){return!(!this.hasTitle&&this.isDesignMode)&&(this.survey&&this.survey.showPageTitles&&this.hasDescription||this.showDescription&&this.isDesignMode&&tn.designMode.showEmptyDescriptions)},enumerable:!1,configurable:!0}),t.prototype.localeChanged=function(){e.prototype.localeChanged.call(this);for(var t=0;t<this.elements.length;t++)this.elements[t].localeChanged()},t.prototype.locStrsChanged=function(){e.prototype.locStrsChanged.call(this);for(var t=0;t<this.elements.length;t++)this.elements[t].locStrsChanged()},t.prototype.getMarkdownHtml=function(t,n){return"navigationTitle"===n&&this.locNavigationTitle.isEmpty?this.locTitle.renderedHtml||this.name:e.prototype.getMarkdownHtml.call(this,t,n)},Object.defineProperty(t.prototype,"locNavigationTitle",{get:function(){return this.getLocalizableString("navigationTitle")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"renderedNavigationTitle",{get:function(){return this.locNavigationTitle.renderedHtml},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"requiredText",{get:function(){return this.survey&&this.isRequired?this.survey.requiredText:""},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"titlePattern",{get:function(){return this.survey?this.survey.questionTitlePattern:"numTitleRequire"},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isRequireTextOnStart",{get:function(){return this.isRequired&&"requireNumTitle"==this.titlePattern},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isRequireTextBeforeTitle",{get:function(){return this.isRequired&&"numRequireTitle"==this.titlePattern},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isRequireTextAfterTitle",{get:function(){return this.isRequired&&"numTitleRequire"==this.titlePattern},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"requiredErrorText",{get:function(){return this.getLocalizableStringText("requiredErrorText")},set:function(e){this.setLocalizableStringText("requiredErrorText",e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"locRequiredErrorText",{get:function(){return this.getLocalizableString("requiredErrorText")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"questionsOrder",{get:function(){return this.getPropertyValue("questionsOrder")},set:function(e){this.setPropertyValue("questionsOrder",e)},enumerable:!1,configurable:!0}),t.prototype.canRandomize=function(e){return e&&"initial"!==this.questionsOrder||"random"===this.questionsOrder},t.prototype.randomizeElements=function(e){if(!this.canRandomize(e)||this.isRandomizing)return!1;this.isRandomizing=!0;for(var t=[],n=this.elements,o=0;o<n.length;o++)t.push(n[o]);var i=u.randomizeArray(t);return this.setArrayPropertyDirectly("elements",i,!1),this.updateRows(),this.updateVisibleIndexes(),this.isRandomizing=!1,!0},Object.defineProperty(t.prototype,"areQuestionsRandomized",{get:function(){return"random"==("default"==this.questionsOrder&&this.survey?this.survey.questionsOrder:this.questionsOrder)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"parent",{get:function(){return this.getPropertyValue("parent",null)},set:function(e){this.setPropertyValue("parent",e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"depth",{get:function(){return null==this.parent?0:this.parent.depth+1},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"visibleIf",{get:function(){return this.getPropertyValue("visibleIf","")},set:function(e){this.setPropertyValue("visibleIf",e)},enumerable:!1,configurable:!0}),t.prototype.calcCssClasses=function(e){var t={panel:{},error:{},row:"",rowEnter:"",rowLeave:"",rowDelayedEnter:"",rowMultiple:"",pageRow:"",rowCompact:""};return this.copyCssClasses(t.panel,e.panel),this.copyCssClasses(t.error,e.error),e.pageRow&&(t.pageRow=e.pageRow),e.rowCompact&&(t.rowCompact=e.rowCompact),e.row&&(t.row=e.row),e.rowEnter&&(t.rowEnter=e.rowEnter),e.rowLeave&&(t.rowLeave=e.rowLeave),e.rowDelayedEnter&&(t.rowDelayedEnter=e.rowDelayedEnter),e.rowMultiple&&(t.rowMultiple=e.rowMultiple),this.survey&&this.survey.updatePanelCssClasses(this,t),t},Object.defineProperty(t.prototype,"id",{get:function(){return this.getPropertyValue("id")},set:function(e){this.setPropertyValue("id",e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isPanel",{get:function(){return!1},enumerable:!1,configurable:!0}),t.prototype.getPanel=function(){return this},t.prototype.getLayoutType=function(){return"row"},t.prototype.isLayoutTypeSupported=function(e){return"flow"!==e},Object.defineProperty(t.prototype,"questions",{get:function(){if(!this.isQuestionsReady){this.questionsValue=[];for(var e=0;e<this.elements.length;e++){var t=this.elements[e];if(t.isPanel)for(var n=t.questions,o=0;o<n.length;o++)this.questionsValue.push(n[o]);else this.questionsValue.push(t)}this.isQuestionsReady=!0}return this.questionsValue},enumerable:!1,configurable:!0}),t.prototype.getQuestions=function(e){var t=this.questions;if(!e)return t;var n=[];return t.forEach((function(e){n.push(e),e.getNestedQuestions().forEach((function(e){return n.push(e)}))})),n},t.prototype.getValidName=function(e){return e?e.trim():e},t.prototype.getQuestionByName=function(e){for(var t=this.questions,n=0;n<t.length;n++)if(t[n].name==e)return t[n];return null},t.prototype.getElementByName=function(e){for(var t=this.elements,n=0;n<t.length;n++){var o=t[n];if(o.name==e)return o;var i=o.getPanel();if(i){var r=i.getElementByName(e);if(r)return r}}return null},t.prototype.getQuestionByValueName=function(e){var t=this.getQuestionsByValueName(e);return t.length>0?t[0]:null},t.prototype.getQuestionsByValueName=function(e){for(var t=[],n=this.questions,o=0;o<n.length;o++)n[o].getValueName()==e&&t.push(n[o]);return t},t.prototype.getValue=function(){var e={};return this.collectValues(e,0),u.getUnbindValue(e)},t.prototype.collectValues=function(e,t){var n=this.elements;0===t&&(n=this.questions);for(var o=0;o<n.length;o++){var i=n[o];if(i.isPanel||i.isPage){var r={};i.collectValues(r,t-1)&&(e[i.name]=r,!0)}else{var a=i;if(!a.isEmpty()){var s=a.getValueName();if(e[s]=a.value,this.data){var l=this.data.getComment(s);l&&(e[s+_e.commentSuffix]=l)}}!0}}return!0},t.prototype.getDisplayValue=function(e){for(var t={},n=this.questions,o=0;o<n.length;o++){var i=n[o];if(!i.isEmpty())t[e?i.title:i.getValueName()]=i.getDisplayValue(e)}return t},t.prototype.getComments=function(){var e={};if(!this.data)return e;for(var t=this.questions,n=0;n<t.length;n++){var o=t[n],i=this.data.getComment(o.getValueName());i&&(e[o.getValueName()]=i)}return e},t.prototype.clearIncorrectValues=function(){for(var e=0;e<this.elements.length;e++)this.elements[e].clearIncorrectValues()},t.prototype.clearErrors=function(){for(var e=0;e<this.elements.length;e++)this.elements[e].clearErrors();this.errors=[]},t.prototype.markQuestionListDirty=function(){this.isQuestionsReady=!1,this.parent&&this.parent.markQuestionListDirty()},Object.defineProperty(t.prototype,"elements",{get:function(){return _e.collectDependency(this,"elements"),this.elementsValue},enumerable:!1,configurable:!0}),t.prototype.getElementsInDesign=function(e){return void 0===e&&(e=!1),this.elements},t.prototype.containsElement=function(e){for(var t=0;t<this.elements.length;t++){var n=this.elements[t];if(n==e)return!0;var o=n.getPanel();if(o&&o.containsElement(e))return!0}return!1},Object.defineProperty(t.prototype,"isRequired",{get:function(){return this.getPropertyValue("isRequired")},set:function(e){this.setPropertyValue("isRequired",e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"requiredIf",{get:function(){return this.getPropertyValue("requiredIf","")},set:function(e){this.setPropertyValue("requiredIf",e)},enumerable:!1,configurable:!0}),t.prototype.searchText=function(t,n){e.prototype.searchText.call(this,t,n);for(var o=0;o<this.elements.length;o++)this.elements[o].searchText(t,n)},t.prototype.hasErrors=function(e,t,n){return void 0===e&&(e=!0),void 0===t&&(t=!1),void 0===n&&(n=null),!this.validate(e,t,n)},t.prototype.validate=function(e,t,n){return void 0===e&&(e=!0),void 0===t&&(t=!1),void 0===n&&(n=null),!0!==(n=n||{fireCallback:e,focusOnFirstError:t,firstErrorQuestion:null,result:!1}).result&&(n.result=!1),this.hasErrorsCore(n),!n.result},t.prototype.validateContainerOnly=function(){this.hasErrorsInPanels({fireCallback:!0}),this.parent&&this.parent.validateContainerOnly()},t.prototype.onQuestionValueChanged=function(e){var t=this.questions.indexOf(e);if(!(t<0))for(var n=this.questions.length-1,o=t+5<n?t+5:n,i=t-5>0?t-5:0;i<=o;i++)if(i!==t){var r=this.questions[i];r.errors.length>0&&r.validate(!1)&&r.validate(!0)}},t.prototype.hasErrorsInPanels=function(e){var t=[];if(this.hasRequiredError(e,t),this.isPanel&&this.survey){var n=this.survey.validatePanel(this);n&&(t.push(n),e.result=!0)}e.fireCallback&&(this.survey&&this.survey.beforeSettingPanelErrors(this,t),this.errors=t)},t.prototype.getErrorCustomText=function(e,t){return this.survey?this.survey.getSurveyErrorCustomText(this,e,t):e},t.prototype.hasRequiredError=function(e,t){if(this.isRequired){var n=[];if(this.addQuestionsToList(n,!0),0!=n.length){for(var o=0;o<n.length;o++)if(!n[o].isEmpty())return;e.result=!0,t.push(new an(this.requiredErrorText,this)),e.focusOnFirstError&&!e.firstErrorQuestion&&(e.firstErrorQuestion=n[0])}}},t.prototype.hasErrorsCore=function(e){for(var t=this.elements,n=null,o=null,i=0;i<t.length;i++)if((n=t[i]).isVisible)if(n.isPanel)n.hasErrorsCore(e);else{var r=n;r.validate(e.fireCallback,e)||(o||(o=r),e.firstErrorQuestion||(e.firstErrorQuestion=r),e.result=!0)}this.hasErrorsInPanels(e),this.updateContainsErrors(),!o&&this.errors.length>0&&(o=this.getFirstQuestionToFocus(!1,!0),e.firstErrorQuestion||(e.firstErrorQuestion=o)),e.fireCallback&&o&&(o===e.firstErrorQuestion&&e.focusOnFirstError?o.focus(!0):o.expandAllParents())},t.prototype.getContainsErrors=function(){var t=e.prototype.getContainsErrors.call(this);if(t)return t;for(var n=this.elements,o=0;o<n.length;o++)if(n[o].containsErrors)return!0;return!1},t.prototype.updateElementVisibility=function(){for(var t=0;t<this.elements.length;t++)this.elements[t].updateElementVisibility();e.prototype.updateElementVisibility.call(this)},t.prototype.getFirstQuestionToFocus=function(e,t){if(void 0===e&&(e=!1),void 0===t&&(t=!1),!e&&!t&&this.isCollapsed)return null;for(var n=this.elements,o=0;o<n.length;o++){var i=n[o];if(i.isVisible&&(t||!i.isCollapsed))if(i.isPanel){var r=i.getFirstQuestionToFocus(e,t);if(r)return r}else{var a=i.getFirstQuestionToFocus(e);if(a)return a}}return null},t.prototype.getFirstVisibleQuestion=function(){for(var e=this.questions,t=0;t<e.length;t++)if(e[t].isVisible)return e[t];return null},t.prototype.getFirstVisibleElement=function(){for(var e=this.elements,t=0;t<e.length;t++)if(e[t].isVisible)return e[t];return null},t.prototype.focusFirstQuestion=function(){var e=this.getFirstQuestionToFocus();e&&e.focus()},t.prototype.focusFirstErrorQuestion=function(){var e=this.getFirstQuestionToFocus(!0);e&&e.focus()},t.prototype.addQuestionsToList=function(e,t,n){void 0===t&&(t=!1),void 0===n&&(n=!1),this.addElementsToList(e,t,n,!1)},t.prototype.addPanelsIntoList=function(e,t,n){void 0===t&&(t=!1),void 0===n&&(n=!1),this.addElementsToList(e,t,n,!0)},t.prototype.addElementsToList=function(e,t,n,o){t&&!this.visible||this.addElementsToListCore(e,this.elements,t,n,o)},t.prototype.addElementsToListCore=function(e,t,n,o,i){for(var r=0;r<t.length;r++){var a=t[r];n&&!a.visible||((i&&a.isPanel||!i&&!a.isPanel)&&e.push(a),a.isPanel?a.addElementsToListCore(e,a.elements,n,o,i):o&&this.addElementsToListCore(e,a.getElementsInDesign(!1),n,o,i))}},t.prototype.calcMaxRowColSpan=function(){var e=0;return this.rows.forEach((function(t){var n=0,o=!1;t.elements.forEach((function(e){e.width&&(o=!0),n+=e.colSpan||1})),!o&&n>e&&(e=n)})),e},t.prototype.updateColumnWidth=function(e){var t,n=0,o=0;if(e.forEach((function(e){e.width?(n+=e.width,e.setPropertyValue("effectiveWidth",e.width)):o++})),o)for(var i=(t=(100-n)/o,Math.floor(100*t)/100),r=0;r<e.length;r++)e[r].width||e[r].setPropertyValue("effectiveWidth",i)},t.prototype.updateColumns=function(){this._columns=void 0,this.updateRootStyle()},t.prototype.updateRootStyle=function(){var t;e.prototype.updateRootStyle.call(this),null===(t=this.elements)||void 0===t||t.forEach((function(e){return e.updateRootStyle()}))},t.prototype.updateCustomWidgets=function(){for(var e=0;e<this.elements.length;e++)this.elements[e].updateCustomWidgets()},Object.defineProperty(t.prototype,"questionTitleLocation",{get:function(){return this.getPropertyValue("questionTitleLocation")},set:function(e){this.setPropertyValue("questionTitleLocation",e.toLowerCase())},enumerable:!1,configurable:!0}),t.prototype.getQuestionTitleLocation=function(){return this.onGetQuestionTitleLocation?this.onGetQuestionTitleLocation():"default"!=this.questionTitleLocation?this.questionTitleLocation:this.parent?this.parent.getQuestionTitleLocation():this.survey?this.survey.questionTitleLocation:"top"},t.prototype.availableQuestionTitleWidth=function(){return"left"===this.getQuestionTitleLocation()||this.hasElementWithTitleLocationLeft()},t.prototype.hasElementWithTitleLocationLeft=function(){return this.elements.some((function(e){return e instanceof t?e.hasElementWithTitleLocationLeft():e instanceof qn?"left"===e.getTitleLocation():void 0}))},t.prototype.getQuestionTitleWidth=function(){return this.questionTitleWidth||this.parent&&this.parent.getQuestionTitleWidth()},Object.defineProperty(t.prototype,"columns",{get:function(){return this._columns||this.generateColumns(),this._columns||[]},enumerable:!1,configurable:!0}),t.prototype.generateColumns=function(){var e=this.calcMaxRowColSpan(),t=[].concat(this.gridLayoutColumns);if(e<=this.gridLayoutColumns.length)t=this.gridLayoutColumns.slice(0,e);else for(var n=this.gridLayoutColumns.length;n<e;n++){var o=new Vi;o.onPropertyValueChangedCallback=this.onColumnPropertyValueChangedCallback,t.push(o)}this._columns=t;try{this._columnsReady=!1,this.updateColumnWidth(t)}finally{this._columnsReady=!0}this.gridLayoutColumns=t},t.prototype.updateGridColumns=function(){this.updateColumns(),this.elements.forEach((function(e){e.isPanel&&e.updateGridColumns()}))},t.prototype.getColumsForElement=function(e){var t=this.findRowByElement(e);if(!t||!this.survey||!this.survey.gridLayoutEnabled)return[];for(var n=t.elements.length-1;n>=0&&t.elements[n].getPropertyValueWithoutDefault("colSpan");)n--;for(var o=t.elements.indexOf(e),i=0,r=0;r<o;r++)i+=t.elements[r].colSpan;var a=e.getPropertyValueWithoutDefault("colSpan");if(!a&&o===n){var s=0;for(r=0;r<t.elements.length;r++)r!==n&&(s+=t.elements[r].colSpan);a=this.columns.length-s}var l=this.columns.slice(i,i+(a||1));return e.setPropertyValue("effectiveColSpan",l.length),l},t.prototype.getStartIndex=function(){return this.parent?this.parent.getQuestionStartIndex():this.survey?this.survey.questionStartIndex:""},t.prototype.getQuestionStartIndex=function(){return this.getStartIndex()},t.prototype.getChildrenLayoutType=function(){return"row"},t.prototype.getProgressInfo=function(){return yt.getProgressInfoByElements(this.elements,this.isRequired)},Object.defineProperty(t.prototype,"root",{get:function(){for(var e=this;e.parent;)e=e.parent;return e},enumerable:!1,configurable:!0}),t.prototype.childVisibilityChanged=function(){this.isRunningConditions||this.getIsPageVisible(null)!==this.getPropertyValue("isVisible",!0)&&this.onVisibleChanged()},t.prototype.canRenderFirstRows=function(){return this.isPage},t.prototype.isLazyRenderInRow=function(e){return!(!this.survey||!this.survey.isLazyRendering)&&(e>=this.survey.lazyRenderingFirstBatchSize||!this.canRenderFirstRows())},t.prototype.createRowAndSetLazy=function(e){var t=this.createRow();return t.setIsLazyRendering(this.isLazyRenderInRow(e)),t},t.prototype.createRow=function(){return new Ei(this)},t.prototype.onSurveyLoad=function(){this.blockAnimations(),e.prototype.onSurveyLoad.call(this);for(var t=0;t<this.elements.length;t++)this.elements[t].onSurveyLoad();this.onElementVisibilityChanged(this),this.releaseAnimations()},t.prototype.onFirstRenderingCore=function(){e.prototype.onFirstRenderingCore.call(this),this.onRowsChanged(),this.elements.forEach((function(e){return e.onFirstRendering()}))},t.prototype.updateRows=function(){this.isLoadingFromJson||(this.getElementsForRows().forEach((function(e){e.isPanel&&e.updateRows()})),this.onRowsChanged())},Object.defineProperty(t.prototype,"rows",{get:function(){return this.getPropertyValue("rows")},enumerable:!1,configurable:!0}),t.prototype.ensureRowsVisibility=function(){this.rows.forEach((function(e){e.ensureVisibility()}))},t.prototype.onRowsChanged=function(){this.isLoadingFromJson||(this.blockAnimations(),this.setArrayPropertyDirectly("rows",this.buildRows()),this.updateColumns(),this.releaseAnimations())},t.prototype.blockRowsUpdates=function(){this.locCountRowUpdates++},t.prototype.releaseRowsUpdates=function(){this.locCountRowUpdates--},t.prototype.updateRowsBeforeElementRemoved=function(e){var t=this,n=this.findRowByElement(e),o=this.rows.indexOf(n),i=n.elements.indexOf(e);n.elements.splice(i,1),0==n.elements.length?this.rows.splice(o,1):!n.elements[0].startWithNewLine&&this.rows[o-1]?(n.elements.forEach((function(e){return t.rows[o-1].addElement(e)})),this.rows.splice(o,1)):n.updateVisible()},t.prototype.updateRowsOnElementAdded=function(e){var t=this,n=this.elements.indexOf(e),o=this.elements[n+1],i=function(e){var n=t.createRowAndSetLazy(e);return t.isDesignModeV2&&n.setIsLazyRendering(!1),t.rows.splice(e,0,n),n},r=function(e,t,n){for(var o,i=[],r=3;r<arguments.length;r++)i[r-3]=arguments[r];var a=(o=e.elements).splice.apply(o,Si([t,n],i));return e.updateVisible(),a};if(o){var a=this.findRowByElement(o);if(a){var s=this.rows.indexOf(a),l=a.elements.indexOf(o);0==l?o.startWithNewLine?e.startWithNewLine||s<1?i(s).addElement(e):this.rows[s-1].addElement(e):r(a,0,0,e):e.startWithNewLine?r.apply(void 0,Si([i(s+1),0,0],[e].concat(r(a,l,a.elements.length)))):r(a,l,0,e)}}else 0==n||e.startWithNewLine?r(i(this.rows.length),0,0,e):this.rows[this.rows.length-1].addElement(e)},t.prototype.canFireAddRemoveNotifications=function(e){return!!this.survey&&e.prevSurvey!==this.survey},t.prototype.onAddElement=function(e,t){var n=this,o=this.survey,i=this.canFireAddRemoveNotifications(e);this.surveyImpl&&e.setSurveyImpl(this.surveyImpl),e.parent=this,this.markQuestionListDirty(),this.canBuildRows()&&this.updateRowsOnElementAdded(e),i&&(e.isPanel?o.panelAdded(e,t,this,this.root):o.questionAdded(e,t,this,this.root)),this.addElementCallback&&this.addElementCallback(e),e.registerPropertyChangedHandlers(["visible","isVisible"],(function(){n.onElementVisibilityChanged(e)}),this.id),e.registerPropertyChangedHandlers(["startWithNewLine"],(function(){n.onElementStartWithNewLineChanged(e)}),this.id),this.onElementVisibilityChanged(this)},t.prototype.onRemoveElement=function(e){e.parent=null,this.unregisterElementPropertiesChanged(e),this.markQuestionListDirty(),this.updateRowsOnElementRemoved(e),this.isRandomizing||(this.onRemoveElementNotifySurvey(e),this.removeElementCallback&&this.removeElementCallback(e),this.onElementVisibilityChanged(this))},t.prototype.unregisterElementPropertiesChanged=function(e){e.unregisterPropertyChangedHandlers(["visible","isVisible","startWithNewLine"],this.id)},t.prototype.onRemoveElementNotifySurvey=function(e){this.canFireAddRemoveNotifications(e)&&(e.isPanel?this.survey.panelRemoved(e):this.survey.questionRemoved(e))},t.prototype.onElementVisibilityChanged=function(e){this.isLoadingFromJson||this.isRandomizing||(this.updateRowsVisibility(e),this.childVisibilityChanged(),this.parent&&this.parent.onElementVisibilityChanged(this))},t.prototype.onElementStartWithNewLineChanged=function(e){this.locCountRowUpdates>0||(this.blockAnimations(),this.updateRowsBeforeElementRemoved(e),this.updateRowsOnElementAdded(e),this.releaseAnimations())},t.prototype.updateRowsVisibility=function(e){for(var t=this.rows,n=0;n<t.length;n++){var o=t[n];if(o.elements.indexOf(e)>-1){o.updateVisible(),o.visible&&!o.isNeedRender&&(o.isNeedRender=!0);break}}},t.prototype.canBuildRows=function(){return!this.isLoadingFromJson&&"row"==this.getChildrenLayoutType()},t.prototype.buildRows=function(){if(!this.canBuildRows())return[];for(var e=new Array,t=this.getElementsForRows(),n=0;n<t.length;n++){var o=t[n],i=0==n||o.startWithNewLine,r=i?this.createRowAndSetLazy(e.length):e[e.length-1];i&&e.push(r),r.addElement(o)}return e.forEach((function(e){return e.updateVisible()})),e},t.prototype.getElementsForRows=function(){return this.elements},t.prototype.getDragDropInfo=function(){var e=this.getPage(this.parent);return e?e.getDragDropInfo():void 0},t.prototype.updateRowsOnElementRemoved=function(e){this.canBuildRows()&&(this.updateRowsRemoveElementFromRow(e,this.findRowByElement(e)),this.updateColumns())},t.prototype.updateRowsRemoveElementFromRow=function(e,t){if(t&&t.panel){var n=t.elements.indexOf(e);n<0||(t.elements.splice(n,1),t.elements.length>0?(this.blockRowsUpdates(),t.elements[0].startWithNewLine=!0,this.releaseRowsUpdates(),t.updateVisible()):t.index>=0&&t.panel.rows.splice(t.index,1))}},t.prototype.getAllRows=function(){var e=this,t=[];return this.rows.forEach((function(n){var o=[];n.elements.forEach((function(t){t.isPanel?o.push.apply(o,t.getAllRows()):"paneldynamic"==t.getType()&&(e.isDesignMode?o.push.apply(o,t.template.getAllRows()):t.panels.forEach((function(e){return o.push.apply(o,e.getAllRows())})))})),t.push(n),t.push.apply(t,o)})),t},t.prototype.findRowAndIndexByElement=function(e,t){if(!e)return{row:void 0,index:this.rows.length-1};t=t||this.rows;for(var n=0;n<t.length;n++)if(t[n].elements.indexOf(e)>-1)return{row:t[n],index:n};return{row:null,index:-1}},t.prototype.forceRenderRow=function(e){e&&!e.isNeedRender&&(e.isNeedRender=!0,e.stopLazyRendering())},t.prototype.forceRenderElement=function(e,t,n){void 0===t&&(t=function(){}),void 0===n&&(n=0);var o=this.getAllRows(),i=this.findRowAndIndexByElement(e,o),r=i.row,a=i.index;if(a>=0&&a<o.length){var s=[];s.push(r);for(var l=a-1;l>=a-n&&l>=0;l--)s.push(o[l]);this.forceRenderRows(s,t)}},t.prototype.forceRenderRows=function(e,t){var n=this;void 0===t&&(t=function(){});var o,i=(o=e.length,function(){--o<=0&&t()});e.forEach((function(e){return new vt(e.visibleElements,i)})),e.forEach((function(e){return n.forceRenderRow(e)}))},t.prototype.findRowByElement=function(e){return this.findRowAndIndexByElement(e).row},t.prototype.elementWidthChanged=function(e){if(!this.isLoadingFromJson){var t=this.findRowByElement(e);t&&t.updateVisible()}},Object.defineProperty(t.prototype,"processedTitle",{get:function(){return this.getRenderedTitle(this.locTitle.textOrHtml)},enumerable:!1,configurable:!0}),t.prototype.getRenderedTitle=function(e){return null!=this.textProcessor?this.textProcessor.processText(e,!0):e},Object.defineProperty(t.prototype,"visible",{get:function(){return this.getPropertyValue("visible",!0)},set:function(e){e!==this.visible&&(this.setPropertyValue("visible",e),this.setPropertyValue("isVisible",this.isVisible),this.isLoadingFromJson||this.onVisibleChanged())},enumerable:!1,configurable:!0}),t.prototype.onHidingContent=function(){this.questions.forEach((function(e){return e.onHidingContent()}))},t.prototype.onVisibleChanged=function(){if(!this.isRandomizing&&(this.setPropertyValue("isVisible",this.isVisible),!this.isLoadingFromJson))for(var e=this.questions,t=this.isVisible,n=0;n<e.length;n++){var o=e[n];t?o.updateValueWithDefaults():(o.clearValueIfInvisible("onHiddenContainer"),o.onHidingContent())}},t.prototype.notifyStateChanged=function(t){e.prototype.notifyStateChanged.call(this,t),this.isCollapsed&&this.questions.forEach((function(e){return e.onHidingContent()}))},Object.defineProperty(t.prototype,"isVisible",{get:function(){return this.areInvisibleElementsShowing||this.getIsPageVisible(null)},enumerable:!1,configurable:!0}),t.prototype.getIsContentVisible=function(e){if(this.areInvisibleElementsShowing)return!0;for(var t=0;t<this.elements.length;t++)if(this.elements[t]!=e&&this.elements[t].isVisible)return!0;return!1},t.prototype.getIsPageVisible=function(e){var t=this.getIsContentVisible(e);return this.visible&&t},t.prototype.setVisibleIndex=function(e){if(!this.isVisible||e<0)return this.resetVisibleIndexes(),0;this.lastVisibleIndex=e;var t=e;e+=this.beforeSetVisibleIndex(e);for(var n=this.getPanelStartIndex(e),o=n,i=0;i<this.elements.length;i++)o+=this.elements[i].setVisibleIndex(o);return this.isContinueNumbering()&&(e+=o-n),e-t},t.prototype.updateVisibleIndexes=function(){void 0!==this.lastVisibleIndex&&(this.resetVisibleIndexes(),this.setVisibleIndex(this.lastVisibleIndex))},t.prototype.resetVisibleIndexes=function(){for(var e=0;e<this.elements.length;e++)this.elements[e].setVisibleIndex(-1)},t.prototype.beforeSetVisibleIndex=function(e){return 0},t.prototype.getPanelStartIndex=function(e){return e},t.prototype.isContinueNumbering=function(){return!0},Object.defineProperty(t.prototype,"isReadOnly",{get:function(){var e=!!this.parent&&this.parent.isReadOnly,t=!!this.survey&&this.survey.isDisplayMode;return this.readOnly||e||t},enumerable:!1,configurable:!0}),t.prototype.onReadOnlyChanged=function(){for(var t=0;t<this.elements.length;t++){var n=this.elements[t];n.setPropertyValue("isReadOnly",n.isReadOnly)}e.prototype.onReadOnlyChanged.call(this)},t.prototype.updateElementCss=function(t){e.prototype.updateElementCss.call(this,t);for(var n=0;n<this.elements.length;n++){this.elements[n].updateElementCss(t)}},Object.defineProperty(t.prototype,"enableIf",{get:function(){return this.getPropertyValue("enableIf","")},set:function(e){this.setPropertyValue("enableIf",e)},enumerable:!1,configurable:!0}),t.prototype.addElement=function(e,t){return void 0===t&&(t=-1),!!this.canAddElement(e)&&(t<0||t>=this.elements.length?this.elements.push(e):this.elements.splice(t,0,e),this.wasRendered&&e.onFirstRendering(),this.updateColumns(),!0)},t.prototype.insertElement=function(e,t,n){if(void 0===n&&(n="bottom"),t){this.blockRowsUpdates();var o=this.elements.indexOf(t),i=this.findRowByElement(t);"left"==n||"right"==n?"right"==n?(e.startWithNewLine=!1,o++):0==i.elements.indexOf(t)?(t.startWithNewLine=!1,e.startWithNewLine=!0):e.startWithNewLine=!1:(e.startWithNewLine=!0,o="top"==n?this.elements.indexOf(i.elements[0]):this.elements.indexOf(i.elements[i.elements.length-1])+1),this.releaseRowsUpdates(),this.addElement(e,o)}else this.addElement(e)},t.prototype.insertElementAfter=function(e,t){var n=this.elements.indexOf(t);n>=0&&this.addElement(e,n+1)},t.prototype.insertElementBefore=function(e,t){var n=this.elements.indexOf(t);n>=0&&this.addElement(e,n)},t.prototype.canAddElement=function(e){return!!e&&e.isLayoutTypeSupported(this.getChildrenLayoutType())},t.prototype.addQuestion=function(e,t){return void 0===t&&(t=-1),this.addElement(e,t)},t.prototype.addPanel=function(e,t){return void 0===t&&(t=-1),this.addElement(e,t)},t.prototype.addNewQuestion=function(e,t,n){void 0===t&&(t=null),void 0===n&&(n=-1);var o=co.Instance.createQuestion(e,t);return this.addQuestion(o,n)?o:null},t.prototype.addNewPanel=function(e){void 0===e&&(e=null);var t=this.createNewPanel(e);return this.addPanel(t)?t:null},t.prototype.indexOf=function(e){return this.elements.indexOf(e)},t.prototype.createNewPanel=function(e){var t=L.createClass("panel");return t.name=e,t},t.prototype.removeElement=function(e){var t=this.elements.indexOf(e);if(t<0){for(var n=0;n<this.elements.length;n++)if(this.elements[n].removeElement(e))return!0;return!1}return this.elements.splice(t,1),this.updateColumns(),!0},t.prototype.removeQuestion=function(e){this.removeElement(e)},t.prototype.runCondition=function(e,t){if(!this.isDesignMode&&!this.isLoadingFromJson){var n=this.elements.slice(),o=this.getIsPageVisible();this.isRunningConditions=!0;for(var i=0;i<n.length;i++)n[i].runCondition(e,t);this.runConditionCore(e,t);var r=this.getIsPageVisible();this.isRunningConditions=!1,o!==r&&this.childVisibilityChanged()}},t.prototype.onAnyValueChanged=function(e,t){for(var n=this.elements,o=0;o<n.length;o++)n[o].onAnyValueChanged(e,t)},t.prototype.checkBindings=function(e,t){for(var n=this.elements,o=0;o<n.length;o++)n[o].checkBindings(e,t)},t.prototype.dragDropAddTarget=function(e){this.dragDropPanelHelper.dragDropAddTarget(e)},t.prototype.dragDropFindRow=function(e){return this.dragDropPanelHelper.dragDropFindRow(e)},t.prototype.dragDropMoveElement=function(e,t,n){this.dragDropPanelHelper.dragDropMoveElement(e,t,n)},t.prototype.needResponsiveWidth=function(){var e=!1;return this.elements.forEach((function(t){t.needResponsiveWidth()&&(e=!0)})),this.rows.forEach((function(t){t.elements.length>1&&(e=!0)})),e},Object.defineProperty(t.prototype,"hasDescriptionUnderTitle",{get:function(){return this.hasDescription},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"cssHeader",{get:function(){return this.cssClasses.panel.header},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"cssDescription",{get:function(){return this.cssClasses.panel.description},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"questionErrorLocation",{get:function(){return this.getPropertyValue("questionErrorLocation")},set:function(e){this.setPropertyValue("questionErrorLocation",e)},enumerable:!1,configurable:!0}),t.prototype.getQuestionErrorLocation=function(){return"default"!==this.questionErrorLocation?this.questionErrorLocation:this.parent?this.parent.getQuestionErrorLocation():this.survey?this.survey.questionErrorLocation:"top"},t.prototype.getTitleOwner=function(){return this},Object.defineProperty(t.prototype,"no",{get:function(){return""},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"cssTitleNumber",{get:function(){return this.cssClasses.panel.number},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"cssRequiredText",{get:function(){return this.cssClasses.panel.requiredText},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"cssError",{get:function(){return this.getCssError(this.cssClasses)},enumerable:!1,configurable:!0}),t.prototype.getCssError=function(e){return(new Ae).append(e.error.root).toString()},t.prototype.getSerializableColumnsValue=function(){for(var e=-1,t=this.gridLayoutColumns.length-1;t>=0;t--)if(!this.gridLayoutColumns[t].isEmpty()){e=t;break}return this.gridLayoutColumns.slice(0,e+1)},t.prototype.afterRender=function(e){this.afterRenderCore(e)},t.prototype.dispose=function(){if(e.prototype.dispose.call(this),this.rows){for(var t=0;t<this.rows.length;t++)this.rows[t].dispose();this.rows.splice(0,this.rows.length)}this.disposeElements(),this.elements.splice(0,this.elements.length)},t.prototype.disposeElements=function(){for(var e=0;e<this.elements.length;e++)this.elements[e].dispose()},t.panelCounter=100,Ti([w()],t.prototype,"gridLayoutColumns",void 0),Ti([x({defaultValue:!0})],t.prototype,"showTitle",void 0),Ti([x({defaultValue:!0})],t.prototype,"showDescription",void 0),Ti([x()],t.prototype,"questionTitleWidth",void 0),t}(yt),Ii=function(e){function t(t){void 0===t&&(t="");var n=e.call(this,t)||this;return n.forcusFirstQuestionOnExpand=!0,n.createNewArray("footerActions"),n.registerPropertyChangedHandlers(["width"],(function(){n.parent&&n.parent.elementWidthChanged(n)})),n.registerPropertyChangedHandlers(["indent","innerIndent","rightIndent"],(function(){n.resetIndents()})),n.registerPropertyChangedHandlers(["colSpan"],(function(){var e;null===(e=n.parent)||void 0===e||e.updateColumns()})),n}return _i(t,e),t.prototype.getType=function(){return"panel"},Object.defineProperty(t.prototype,"contentId",{get:function(){return this.id+"_content"},enumerable:!1,configurable:!0}),t.prototype.getSurvey=function(t){return void 0===t&&(t=!1),t&&this.isPanel?this.parent?this.parent.getSurvey(t):null:e.prototype.getSurvey.call(this,t)},Object.defineProperty(t.prototype,"isPanel",{get:function(){return!0},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"page",{get:function(){return this.getPage(this.parent)},set:function(e){this.setPage(this.parent,e)},enumerable:!1,configurable:!0}),t.prototype.removeFromParent=function(){this.parent&&this.removeSelfFromList(this.parent.elements)},t.prototype.moveTo=function(e,t){return void 0===t&&(t=null),this.moveToBase(this.parent,e,t)},Object.defineProperty(t.prototype,"visibleIndex",{get:function(){return this.getPropertyValue("visibleIndex",-1)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"showNumber",{get:function(){return this.getPropertyValue("showNumber")},set:function(e){this.setPropertyValue("showNumber",e),this.notifySurveyOnVisibilityChanged()},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"showQuestionNumbers",{get:function(){return this.getPropertyValue("showQuestionNumbers")},set:function(e){this.setPropertyValue("showQuestionNumbers",e),this.notifySurveyOnVisibilityChanged()},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"questionStartIndex",{get:function(){return this.getPropertyValue("questionStartIndex","")},set:function(e){this.setPropertyValue("questionStartIndex",e)},enumerable:!1,configurable:!0}),t.prototype.getQuestionStartIndex=function(){return this.questionStartIndex?this.questionStartIndex:e.prototype.getQuestionStartIndex.call(this)},Object.defineProperty(t.prototype,"no",{get:function(){var e=this;return this.getPropertyValue("no",void 0,(function(){return e.calcNo()}))},enumerable:!1,configurable:!0}),t.prototype.calcNo=function(){var e=u.getNumberByIndex(this.visibleIndex,this.getStartIndex());return this.survey&&(e=this.survey.getUpdatedPanelNo(this,e)),e||""},t.prototype.notifyStateChanged=function(t){this.isLoadingFromJson||this.locTitle.strChanged(),e.prototype.notifyStateChanged.call(this,t)},t.prototype.createLocTitleProperty=function(){var t=this,n=e.prototype.createLocTitleProperty.call(this);return n.onGetTextCallback=function(e){return e||"default"===t.state||(e=t.name),e},n},t.prototype.beforeSetVisibleIndex=function(t){if(this.isPage)return e.prototype.beforeSetVisibleIndex.call(this,t);var n=-1;return this.showNumber&&(this.isDesignMode||!this.locTitle.isEmpty||this.hasParentInQuestionIndex())&&(n=t),this.setPropertyValue("visibleIndex",n),this.resetPropertyValue("no"),n<0?0:1},t.prototype.getPanelStartIndex=function(e){return"off"===this.showQuestionNumbers?-1:"onpanel"===this.showQuestionNumbers?0:e},t.prototype.hasParentInQuestionIndex=function(){if("onpanel"!==this.showQuestionNumbers)return!1;var e=this.questionStartIndex,t=e.indexOf(".");return t>-1&&t<e.length-1},t.prototype.isContinueNumbering=function(){return"off"!==this.showQuestionNumbers&&"onpanel"!==this.showQuestionNumbers},t.prototype.notifySurveyOnVisibilityChanged=function(){null==this.survey||this.isLoadingFromJson||this.survey.panelVisibilityChanged(this,this.isVisible)},t.prototype.getRenderedTitle=function(t){if(this.isPanel&&!t){if(this.isCollapsed||this.isExpanded)return this.name;if(this.isDesignMode)return"["+this.name+"]"}return e.prototype.getRenderedTitle.call(this,t)},Object.defineProperty(t.prototype,"innerIndent",{get:function(){return this.getPropertyValue("innerIndent")},set:function(e){this.setPropertyValue("innerIndent",e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"startWithNewLine",{get:function(){return this.getPropertyValue("startWithNewLine")},set:function(e){this.setPropertyValue("startWithNewLine",e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"allowAdaptiveActions",{get:function(){return this.getPropertyValue("allowAdaptiveActions")},set:function(e){this.setPropertyValue("allowAdaptiveActions",e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"innerPaddingLeft",{get:function(){var e=this;return this.getPropertyValue("innerPaddingLeft",void 0,(function(){return e.getIndentSize(e.innerIndent)}))},set:function(e){this.setPropertyValue("innerPaddingLeft",e)},enumerable:!1,configurable:!0}),t.prototype.calcPaddingLeft=function(){return this.getIndentSize(this.indent)},t.prototype.calcPaddingRight=function(){return this.getIndentSize(this.rightIndent)},t.prototype.resetIndents=function(){this.resetPropertyValue("innerPaddingLeft"),e.prototype.resetIndents.call(this)},t.prototype.getIndentSize=function(e){if(this.survey){if(e<1)return"";var t=this.survey.css;return t&&t.question&&t.question.indent?e*t.question.indent+"px":""}},t.prototype.clearOnDeletingContainer=function(){this.elements.forEach((function(e){(e instanceof qn||e instanceof t)&&e.clearOnDeletingContainer()}))},Object.defineProperty(t.prototype,"footerActions",{get:function(){return this.getPropertyValue("footerActions")},enumerable:!1,configurable:!0}),t.prototype.getFooterToolbar=function(){var e,t,n=this;if(!this.footerToolbarValue){var o=this.footerActions;this.hasEditButton&&o.push({id:"cancel-preview",locTitle:this.survey.locEditText,innerCss:this.survey.cssNavigationEdit,component:"sv-nav-btn",action:function(){n.cancelPreview()}}),o=this.onGetFooterActionsCallback?this.onGetFooterActionsCallback():null===(e=this.survey)||void 0===e?void 0:e.getUpdatedPanelFooterActions(this,o),this.footerToolbarValue=this.createActionContainer(this.allowAdaptiveActions);var i=this.onGetFooterToolbarCssCallback?this.onGetFooterToolbarCssCallback():"";i||(i=null===(t=this.cssClasses.panel)||void 0===t?void 0:t.footer),i&&(this.footerToolbarValue.containerCss=i),this.footerToolbarValue.setItems(o)}return this.footerToolbarValue},Object.defineProperty(t.prototype,"hasEditButton",{get:function(){return!1},enumerable:!1,configurable:!0}),t.prototype.cancelPreview=function(){this.hasEditButton&&this.survey.cancelPreviewByPage(this)},Object.defineProperty(t.prototype,"cssTitle",{get:function(){return this.getCssPanelTitle()},enumerable:!1,configurable:!0}),t.prototype.getCssPanelTitle=function(){return this.getCssTitle(this.cssClasses.panel)},t.prototype.getCssTitleExpandableSvg=function(){return"default"===this.state?null:this.cssClasses.panel.titleExpandableSvg},Object.defineProperty(t.prototype,"showErrorsAbovePanel",{get:function(){return this.isDefaultV2Theme&&!this.showPanelAsPage},enumerable:!1,configurable:!0}),t.prototype.getCssError=function(t){if(this.isPage)return e.prototype.getCssError.call(this,t);var n=(new Ae).append(e.prototype.getCssError.call(this,t)).append(t.panel.errorsContainer);return n.append("panel-error-root",n.isEmpty()).toString()},t.prototype.onVisibleChanged=function(){e.prototype.onVisibleChanged.call(this),this.notifySurveyOnVisibilityChanged()},t.prototype.needResponsiveWidth=function(){return!this.startWithNewLine||e.prototype.needResponsiveWidth.call(this)},t.prototype.focusIn=function(){this.survey&&this.survey.whenPanelFocusIn(this)},t.prototype.getHasFrameV2=function(){return e.prototype.getHasFrameV2.call(this)&&!this.showPanelAsPage},t.prototype.getIsNested=function(){return e.prototype.getIsNested.call(this)&&void 0!==this.parent},Object.defineProperty(t.prototype,"showPanelAsPage",{get:function(){return!1},enumerable:!1,configurable:!0}),t.prototype.expand=function(t){void 0===t&&(t=!0),this.forcusFirstQuestionOnExpand=t,e.prototype.expand.call(this)},t.prototype.onElementExpanded=function(e){var t=this;if(this.forcusFirstQuestionOnExpand&&null!=this.survey&&!this.isLoadingFromJson){var n=this.getFirstQuestionToFocus(!1);n&&setTimeout((function(){!t.isDisposed&&t.survey&&t.survey.scrollElementToTop(n,n,null,n.inputId,!1,{behavior:"smooth"})}),e?0:15)}},t.prototype.getCssRoot=function(t){return(new Ae).append(e.prototype.getCssRoot.call(this,t)).append(t.container).append(t.asPage,this.showPanelAsPage).append(t.invisible,!this.isDesignMode&&this.areInvisibleElementsShowing&&!this.visible).toString()},t.prototype.getContainerCss=function(){return this.getCssRoot(this.cssClasses.panel)},t.prototype.afterRenderCore=function(t){var n;e.prototype.afterRenderCore.call(this,t),this.isPanel&&(null===(n=this.survey)||void 0===n||n.afterRenderPanel(this,t))},t}(Ri);L.addClass("panelbase",["name",{name:"elements",alternativeName:"questions",baseClassName:"question",visible:!1,isLightSerializable:!1},{name:"visible:switch",default:!0,overridingProperty:"visibleIf"},{name:"readOnly:boolean",overridingProperty:"enableIf"},"visibleIf:condition","enableIf:condition","requiredIf:condition",{name:"questionTitleWidth",visibleIf:function(e){return!!e&&e.availableQuestionTitleWidth()}},{name:"questionTitleLocation",default:"default",choices:["default","top","bottom","left","hidden"]},{name:"gridLayoutColumns:panellayoutcolumns",className:"panellayoutcolumn",isArray:!0,onSerializeValue:function(e){return e.getSerializableColumnsValue()},visibleIf:function(e){return!!e&&!!e.survey&&e.survey.gridLayoutEnabled}},{name:"title:text",serializationProperty:"locTitle"},{name:"description:text",serializationProperty:"locDescription"},{name:"questionsOrder",default:"default",choices:["default","initial","random"]},{name:"questionErrorLocation",default:"default",choices:["default","top","bottom"]}],(function(){return new Ri})),L.addClass("panel",[{name:"state",default:"default",choices:["default","collapsed","expanded"]},{name:"isRequired:switch",overridingProperty:"requiredIf"},{name:"requiredErrorText:text",serializationProperty:"locRequiredErrorText"},{name:"startWithNewLine:boolean",default:!0},{name:"width"},{name:"minWidth",defaultFunc:function(){return"auto"}},{name:"maxWidth",defaultFunc:function(){return tn.maxWidth}},{name:"colSpan:number",visible:!1,onSerializeValue:function(e){return e.getPropertyValue("colSpan")}},{name:"effectiveColSpan:number",minValue:1,isSerializable:!1,visibleIf:function(e){return!!e.survey&&e.survey.gridLayoutEnabled}},{name:"innerIndent:number",default:0,choices:[0,1,2,3]},{name:"indent:number",default:0,choices:[0,1,2,3],visible:!1},{name:"page",isSerializable:!1,visibleIf:function(e){var t=e?e.survey:null;return!t||!t.pages||t.pages.length>1},choices:function(e){var t=e?e.survey:null;return t?t.pages.map((function(e){return{value:e.name,text:e.title}})):[]}},{name:"showNumber:boolean"},{name:"showQuestionNumbers",default:"default",choices:["default","onpanel","off"]},{name:"questionStartIndex",visibleIf:function(e){return e.isPanel}},{name:"allowAdaptiveActions:boolean",default:!0,visible:!1}],(function(){return new Ii}),"panelbase"),po.Instance.registerElement("panel",(function(e){return new Ii(e)}));var Oi=function(){function e(e){this.page=e}return e.prototype.getDragDropInfo=function(){return this.dragDropInfo},e.prototype.dragDropStart=function(e,t,n){void 0===n&&(n=-1),this.dragDropInfo=new Ci(e,t,n)},e.prototype.dragDropMoveTo=function(e,t,n){if(void 0===t&&(t=!1),void 0===n&&(n=!1),!this.dragDropInfo)return!1;if(this.dragDropInfo.destination=e,this.dragDropInfo.isBottom=t,this.dragDropInfo.isEdge=n,this.correctDragDropInfo(this.dragDropInfo),!this.dragDropCanDropTagert())return!1;if(!this.dragDropCanDropSource()||!this.dragDropAllowFromSurvey()){if(this.dragDropInfo.source){var o=this.page.dragDropFindRow(this.dragDropInfo.target);this.page.updateRowsRemoveElementFromRow(this.dragDropInfo.target,o)}return!1}return this.page.dragDropAddTarget(this.dragDropInfo),!0},e.prototype.correctDragDropInfo=function(e){if(e.destination){var t=e.destination.isPanel?e.destination:null;t&&(e.target.isLayoutTypeSupported(t.getChildrenLayoutType())||(e.isEdge=!0))}},e.prototype.dragDropAllowFromSurvey=function(){var e=this.dragDropInfo.destination;if(!e||!this.page.survey)return!0;var t=null,n=null,o=e.isPage||!this.dragDropInfo.isEdge&&e.isPanel?e:e.parent;if(!e.isPage){var i=e.parent;if(i){var r=i.elements,a=r.indexOf(e);a>-1&&(t=e,n=e,this.dragDropInfo.isBottom?t=a<r.length-1?r[a+1]:null:n=a>0?r[a-1]:null)}}var s={allow:!0,target:this.dragDropInfo.target,source:this.dragDropInfo.source,toElement:this.dragDropInfo.target,draggedElement:this.dragDropInfo.source,parent:o,fromElement:this.dragDropInfo.source?this.dragDropInfo.source.parent:null,insertAfter:n,insertBefore:t};return this.page.survey.dragAndDropAllow(s)},e.prototype.dragDropFinish=function(e){if(void 0===e&&(e=!1),this.dragDropInfo){var t=this.dragDropInfo.target,n=this.dragDropInfo.source,o=this.dragDropInfo.destination,i=this.page.dragDropFindRow(t),r=this.dragDropGetElementIndex(t,i);this.page.updateRowsRemoveElementFromRow(t,i);var a=[],s=[];if(!e&&i){if(this.page.isDesignModeV2){var l=n&&n.parent&&n.parent.dragDropFindRow(n);i.panel.elements[r]&&i.panel.elements[r].startWithNewLine&&i.elements.length>1&&i.panel.elements[r]===o&&(a.push(t),s.push(i.panel.elements[r])),!(t.startWithNewLine&&i.elements.length>1)||i.panel.elements[r]&&i.panel.elements[r].startWithNewLine||s.push(t),l&&l.elements[0]===n&&l.elements[1]&&a.push(l.elements[1]),i.elements.length<=1&&a.push(t),t.startWithNewLine&&i.elements.length>1&&i.elements[0]!==o&&s.push(t)}this.page.survey.startMovingQuestion(),n&&n.parent&&(i.panel==n.parent?(i.panel.dragDropMoveElement(n,t,r),r=-1):n.parent.removeElement(n)),r>-1&&i.panel.addElement(t,r),this.page.survey.stopMovingQuestion()}return a.map((function(e){e.startWithNewLine=!0})),s.map((function(e){e.startWithNewLine=!1})),this.dragDropInfo=null,e?null:t}},e.prototype.dragDropGetElementIndex=function(e,t){if(!t)return-1;var n=t.elements.indexOf(e);if(0==t.index)return n;var o=t.panel.rows[t.index-1],i=o.elements[o.elements.length-1];return n+t.panel.elements.indexOf(i)+1},e.prototype.dragDropCanDropTagert=function(){var e=this.dragDropInfo.destination;return!(e&&!e.isPage)||this.dragDropCanDropCore(this.dragDropInfo.target,e)},e.prototype.dragDropCanDropSource=function(){var e=this.dragDropInfo.source;if(!e)return!0;var t=this.dragDropInfo.destination;if(!this.dragDropCanDropCore(e,t))return!1;if(this.page.isDesignModeV2){if(this.page.dragDropFindRow(e)!==this.page.dragDropFindRow(t)){if(!e.startWithNewLine&&t.startWithNewLine)return!0;if(e.startWithNewLine&&!t.startWithNewLine)return!0}var n=this.page.dragDropFindRow(t);if(n&&1==n.elements.length)return!0}return this.dragDropCanDropNotNext(e,t,this.dragDropInfo.isEdge,this.dragDropInfo.isBottom)},e.prototype.dragDropCanDropCore=function(e,t){if(!t)return!0;if(this.dragDropIsSameElement(t,e))return!1;if(e.isPanel){var n=e;if(n.containsElement(t)||n.getElementByName(t.name))return!1}return!0},e.prototype.dragDropCanDropNotNext=function(e,t,n,o){if(!t||t.isPanel&&!n)return!0;if(void 0===e.parent||e.parent!==t.parent)return!0;var i=e.parent,r=i.elements.indexOf(e),a=i.elements.indexOf(t);return a<r&&!o&&a--,o&&a++,r<a?a-r>1:r-a>0},e.prototype.dragDropIsSameElement=function(e,t){return e==t||e.name==t.name},e}(),Ai=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(t,n)};return function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function o(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}}(),Di=function(e,t,n,o){var i,r=arguments.length,a=r<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,n):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,o);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(a=(r<3?i(a):r>3?i(t,n,a):i(t,n))||a);return r>3&&a&&Object.defineProperty(t,n,a),a},qi=function(e){function t(t){void 0===t&&(t="");var n=e.call(this,t)||this;return n.hasShownValue=!1,n.timeSpent=0,n._isReadyForClean=!0,n.createLocalizableString("navigationDescription",n,!0),n.dragDropPageHelper=new Oi(n),n}return Ai(t,e),t.prototype.getType=function(){return"page"},t.prototype.toString=function(){return this.name},Object.defineProperty(t.prototype,"isPage",{get:function(){return!this.isPanel},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isPanel",{get:function(){return!!this.parent},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"showPanelAsPage",{get:function(){return!0},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"hasEditButton",{get:function(){return this.isPanel&&this.survey&&"preview"===this.survey.state&&!!this.parent&&!this.parent.isPanel},enumerable:!1,configurable:!0}),t.prototype.getElementsForRows=function(){var t;if(!this.isStartPage){var n=null===(t=this.survey)||void 0===t?void 0:t.currentSingleElement;if(n)return n.page===this?[n]:[]}return e.prototype.getElementsForRows.call(this)},t.prototype.disposeElements=function(){this.isPageContainer||e.prototype.disposeElements.call(this)},t.prototype.onRemoveElement=function(t){this.isPageContainer?(t.parent=null,this.unregisterElementPropertiesChanged(t)):e.prototype.onRemoveElement.call(this,t)},t.prototype.getTemplate=function(){return this.isPanel?"panel":e.prototype.getTemplate.call(this)},Object.defineProperty(t.prototype,"no",{get:function(){if(!this.canShowPageNumber()||!this.survey)return"";var e=this.isStartPage?"":this.num+". ";return this.survey.getUpdatedPageNo(this,e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"cssTitleNumber",{get:function(){return this.isPanel?this.cssClasses.panel.number:this.cssClasses.page.number},enumerable:!1,configurable:!0}),t.prototype.getCssTitleExpandableSvg=function(){return null},Object.defineProperty(t.prototype,"cssRequiredText",{get:function(){return""},enumerable:!1,configurable:!0}),t.prototype.canShowPageNumber=function(){return this.survey&&this.survey.showPageNumbers},t.prototype.canShowTitle=function(e){return!e||e.showPageTitles},t.prototype.setTitleValue=function(t){e.prototype.setTitleValue.call(this,t),this.navigationLocStrChanged()},Object.defineProperty(t.prototype,"navigationTitle",{get:function(){return this.getLocalizableStringText("navigationTitle")},set:function(e){this.setLocalizableStringText("navigationTitle",e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"navigationDescription",{get:function(){return this.getLocalizableStringText("navigationDescription")},set:function(e){this.setLocalizableStringText("navigationDescription",e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"locNavigationDescription",{get:function(){return this.getLocalizableString("navigationDescription")},enumerable:!1,configurable:!0}),t.prototype.navigationLocStrChanged=function(){this.locNavigationTitle.isEmpty&&this.locTitle.strChanged(),this.locNavigationTitle.strChanged(),this.locNavigationDescription.strChanged()},t.prototype.getMarkdownHtml=function(t,n){var o=e.prototype.getMarkdownHtml.call(this,t,n);return"navigationTitle"===n&&this.canShowPageNumber()&&o?this.num+". "+o:o},Object.defineProperty(t.prototype,"passed",{get:function(){return this.getPropertyValue("passed",!1)},set:function(e){this.setPropertyValue("passed",e)},enumerable:!1,configurable:!0}),t.prototype.removeFromParent=function(){this.survey&&this.removeSelfFromList(this.survey.pages)},Object.defineProperty(t.prototype,"visibleIndex",{get:function(){return this.getPropertyValue("visibleIndex",-1)},set:function(e){this.setPropertyValue("visibleIndex",e)},enumerable:!1,configurable:!0}),t.prototype.canRenderFirstRows=function(){return!this.isDesignMode||0==this.visibleIndex},Object.defineProperty(t.prototype,"isStartPage",{get:function(){return this.survey&&this.survey.isPageStarted(this)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isStarted",{get:function(){return this.isStartPage},enumerable:!1,configurable:!0}),t.prototype.calcCssClasses=function(t){if(this.isPanel)return e.prototype.calcCssClasses.call(this,t);var n={page:{},error:{},pageTitle:"",pageDescription:"",row:"",rowMultiple:"",pageRow:"",rowCompact:"",rowEnter:"",rowLeave:"",rowDelayedEnter:"",rowReplace:""};return this.copyCssClasses(n.page,t.page),this.copyCssClasses(n.error,t.error),t.pageTitle&&(n.pageTitle=t.pageTitle),t.pageDescription&&(n.pageDescription=t.pageDescription),t.row&&(n.row=t.row),t.pageRow&&(n.pageRow=t.pageRow),t.rowMultiple&&(n.rowMultiple=t.rowMultiple),t.rowCompact&&(n.rowCompact=t.rowCompact),t.rowEnter&&(n.rowEnter=t.rowEnter),t.rowDelayedEnter&&(n.rowDelayedEnter=t.rowDelayedEnter),t.rowLeave&&(n.rowLeave=t.rowLeave),t.rowReplace&&(n.rowReplace=t.rowReplace),this.survey&&this.survey.updatePageCssClasses(this,n),n},t.prototype.getCssPanelTitle=function(){return this.isPanel?e.prototype.getCssPanelTitle.call(this):this.cssClasses.page?(new Ae).append(this.cssClasses.page.title).toString():""},Object.defineProperty(t.prototype,"cssRoot",{get:function(){return!this.isPanel&&this.cssClasses.page&&this.survey?(new Ae).append(this.cssClasses.page.root).append(this.cssClasses.page.emptyHeaderRoot,!(this.survey.renderedHasHeader||this.survey.isShowProgressBarOnTop&&!this.survey.isStaring)).toString():""},enumerable:!1,configurable:!0}),t.prototype.getCssError=function(t){return this.isPanel?e.prototype.getCssError.call(this,t):(new Ae).append(e.prototype.getCssError.call(this,t)).append(t.page.errorsContainer).toString()},Object.defineProperty(t.prototype,"navigationButtonsVisibility",{get:function(){return this.getPropertyValue("navigationButtonsVisibility")},set:function(e){this.setPropertyValue("navigationButtonsVisibility",e.toLowerCase())},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isActive",{get:function(){return!!this.survey&&this.survey.currentPage===this},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"wasShown",{get:function(){return this.hasShownValue},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"hasShown",{get:function(){return this.wasShown},enumerable:!1,configurable:!0}),t.prototype.setWasShown=function(e){var t;if(e!=this.hasShownValue&&(this.hasShownValue=e,!this.isDesignMode&&!0===e)){for(var n=this.elements,o=0;o<n.length;o++)n[o].isPanel&&n[o].randomizeElements(this.areQuestionsRandomized);if(this.randomizeElements(this.areQuestionsRandomized)){var i=null===(t=this.survey)||void 0===t?void 0:t.currentSingleElement;(null==i?void 0:i.page)===this&&(this.survey.currentSingleElement=this.getFirstVisibleElement())}}},t.prototype.scrollToTop=function(){this.survey&&this.survey.scrollElementToTop(this,null,this,this.id,!0,{block:"start"})},t.prototype.getAllPanels=function(e,t){void 0===e&&(e=!1),void 0===t&&(t=!1);var n=new Array;return this.addPanelsIntoList(n,e,t),n},t.prototype.getPanels=function(e,t){return void 0===e&&(e=!1),void 0===t&&(t=!1),this.getAllPanels(e,t)},Object.defineProperty(t.prototype,"timeLimit",{get:function(){return this.getPropertyValue("timeLimit",0)},set:function(e){this.setPropertyValue("timeLimit",e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"maxTimeToFinish",{get:function(){return this.timeLimit},set:function(e){this.timeLimit=e},enumerable:!1,configurable:!0}),t.prototype.getMaxTimeToFinish=function(){if(0!==this.timeLimit)return this.timeLimit;var e=this.survey?this.survey.timeLimitPerPage:0;return e>0?e:0},t.prototype.onNumChanged=function(e){},t.prototype.onVisibleChanged=function(){this.isRandomizing||(e.prototype.onVisibleChanged.call(this),null!=this.survey&&this.survey.pageVisibilityChanged(this,this.isVisible))},t.prototype.getDragDropInfo=function(){return this.dragDropPageHelper.getDragDropInfo()},t.prototype.dragDropStart=function(e,t,n){void 0===n&&(n=-1),this.dragDropPageHelper.dragDropStart(e,t,n)},t.prototype.dragDropMoveTo=function(e,t,n){return void 0===t&&(t=!1),void 0===n&&(n=!1),this.dragDropPageHelper.dragDropMoveTo(e,t,n)},t.prototype.dragDropFinish=function(e){return void 0===e&&(e=!1),this.dragDropPageHelper.dragDropFinish(e)},t.prototype.ensureRowsVisibility=function(){e.prototype.ensureRowsVisibility.call(this),this.getPanels().forEach((function(e){return e.ensureRowsVisibility()}))},Object.defineProperty(t.prototype,"isReadyForClean",{get:function(){return this._isReadyForClean},set:function(e){var t=this._isReadyForClean;this._isReadyForClean=e,this._isReadyForClean!==t&&this.isReadyForCleanChangedCallback&&this.isReadyForCleanChangedCallback()},enumerable:!1,configurable:!0}),t.prototype.enableOnElementRerenderedEvent=function(){e.prototype.enableOnElementRerenderedEvent.call(this),this.isReadyForClean=!1},t.prototype.disableOnElementRerenderedEvent=function(){e.prototype.disableOnElementRerenderedEvent.call(this),this.isReadyForClean=!0},Di([x({defaultValue:-1,onSet:function(e,t){return t.onNumChanged(e)}})],t.prototype,"num",void 0),t}(Ii);L.addClass("page",[{name:"navigationButtonsVisibility",default:"inherit",choices:["inherit","show","hide"]},{name:"timeLimit:number",alternativeName:"maxTimeToFinish",default:0,minValue:0},{name:"navigationTitle",visibleIf:function(e){return!!e.survey&&("buttons"===e.survey.progressBarType||e.survey.showTOC)},serializationProperty:"locNavigationTitle"},{name:"navigationDescription",visibleIf:function(e){return!!e.survey&&"buttons"===e.survey.progressBarType},serializationProperty:"locNavigationDescription"},{name:"title:text",serializationProperty:"locTitle"},{name:"description:text",serializationProperty:"locDescription"},{name:"state",visible:!1},{name:"isRequired",visible:!1},{name:"startWithNewLine",visible:!1},{name:"width",visible:!1},{name:"minWidth",visible:!1},{name:"maxWidth",visible:!1},{name:"colSpan",visible:!1,isSerializable:!1},{name:"effectiveColSpan:number",visible:!1,isSerializable:!1},{name:"innerIndent",visible:!1},{name:"indent",visible:!1},{name:"page",visible:!1,isSerializable:!1},{name:"showNumber",visible:!1},{name:"showQuestionNumbers",visible:!1},{name:"questionStartIndex",visible:!1},{name:"allowAdaptiveActions",visible:!1},{name:"requiredErrorText:text",serializationProperty:"locRequiredErrorText",visible:!1}],(function(){return new qi}),"panel");var Li=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(t,n)};return function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function o(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}}(),Mi=function(e){function t(t){var n=e.call(this)||this;return n.survey=t,n.onResize=n.addEvent(),n}return Li(t,e),t.prototype.isListElementClickable=function(e){return!(this.survey.onServerValidateQuestions&&!this.survey.onServerValidateQuestions.isEmpty&&"onComplete"!==this.survey.checkErrorsMode)||e<=this.survey.currentPageNo+1},t.prototype.getRootCss=function(e){void 0===e&&(e="center");var t=this.survey.css.progressButtonsContainerCenter;return this.survey.css.progressButtonsRoot&&(t+=" "+this.survey.css.progressButtonsRoot+" "+this.survey.css.progressButtonsRoot+"--"+(-1!==["footer","contentBottom"].indexOf(e)?"bottom":"top"),t+=" "+this.survey.css.progressButtonsRoot+"--"+(this.showItemTitles?"with-titles":"no-titles")),this.showItemNumbers&&this.survey.css.progressButtonsNumbered&&(t+=" "+this.survey.css.progressButtonsNumbered),this.isFitToSurveyWidth&&(t+=" "+this.survey.css.progressButtonsFitSurveyWidth),t},t.prototype.getListElementCss=function(e){if(!(e>=this.survey.visiblePages.length))return(new Ae).append(this.survey.css.progressButtonsListElementPassed,this.survey.visiblePages[e].passed).append(this.survey.css.progressButtonsListElementCurrent,this.survey.currentPageNo===e).append(this.survey.css.progressButtonsListElementNonClickable,!this.isListElementClickable(e)).toString()},t.prototype.getScrollButtonCss=function(e,t){return(new Ae).append(this.survey.css.progressButtonsImageButtonLeft,t).append(this.survey.css.progressButtonsImageButtonRight,!t).append(this.survey.css.progressButtonsImageButtonHidden,!e).toString()},t.prototype.clickListElement=function(e){e instanceof qi||(e=this.survey.visiblePages[e]),this.survey.tryNavigateToPage(e)},t.prototype.isListContainerHasScroller=function(e){var t=e.querySelector("."+this.survey.css.progressButtonsListContainer);return!!t&&t.scrollWidth>t.offsetWidth},t.prototype.isCanShowItemTitles=function(e){var t=e.querySelector("ul");if(!t||t.children.length<2)return!0;if(t.clientWidth>t.parentElement.clientWidth)return!1;for(var n=t.children[0].clientWidth,o=0;o<t.children.length;o++)if(Math.abs(t.children[o].clientWidth-n)>5)return!1;return!0},t.prototype.clearConnectorsWidth=function(e){for(var t=e.querySelectorAll(".sd-progress-buttons__connector"),n=0;n<t.length;n++)t[n].style.width=""},t.prototype.adjustConnectors=function(e){var t=e.querySelector("ul");if(t)for(var n=e.querySelectorAll(".sd-progress-buttons__connector"),o=this.showItemNumbers?36:20,i=(t.clientWidth-o)/(t.children.length-1)-o,r=0;r<n.length;r++)n[r].style.width=i+"px"},Object.defineProperty(t.prototype,"isFitToSurveyWidth",{get:function(){return"defaultV2"===ti.currentType&&("survey"===this.survey.progressBarInheritWidthFrom&&"static"==this.survey.widthMode)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"progressWidth",{get:function(){return this.isFitToSurveyWidth?this.survey.renderedWidth:""},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"showItemNumbers",{get:function(){return"defaultV2"===ti.currentType&&this.survey.progressBarShowPageNumbers},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"showItemTitles",{get:function(){return"defaultV2"!==ti.currentType||this.survey.progressBarShowPageTitles},enumerable:!1,configurable:!0}),t.prototype.getItemNumber=function(e){var t="";return this.showItemNumbers&&(t+=this.survey.visiblePages.indexOf(e)+1),t},Object.defineProperty(t.prototype,"headerText",{get:function(){return this.survey.currentPage?this.survey.currentPage.renderedNavigationTitle:""},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"footerText",{get:function(){return this.survey.progressText},enumerable:!1,configurable:!0}),t.prototype.processResponsiveness=function(e){this.onResize.fire(this,{width:e})},t}(_e),ji=function(){function e(e,t,n){var o=this;this.model=e,this.element=t,this.viewModel=n,this.criticalProperties=["progressBarType","progressBarShowPageTitles"],this.canShowItemTitles=!0,this.processResponsiveness=function(e,t){if(o.viewModel.onUpdateScroller(e.isListContainerHasScroller(o.element)),o.model.clearConnectorsWidth(o.element),e.showItemTitles){if(e.survey.isMobile)return o.prevWidth=t.width,o.canShowItemTitles=!1,o.model.adjustConnectors(o.element),void o.viewModel.onResize(o.canShowItemTitles);void 0!==o.timer&&clearTimeout(o.timer),o.timer=setTimeout((function(){(void 0===o.prevWidth||o.prevWidth<t.width&&!o.canShowItemTitles||o.prevWidth>t.width&&o.canShowItemTitles)&&(o.prevWidth=t.width,o.canShowItemTitles=e.isCanShowItemTitles(o.element),o.viewModel.onResize(o.canShowItemTitles),o.timer=void 0)}),10)}else o.model.adjustConnectors(o.element)},this.model.survey.registerFunctionOnPropertiesValueChanged(this.criticalProperties,(function(){return o.forceUpdate()}),"ProgressButtonsResponsivityManager"+this.viewModel.container),this.model.onResize.add(this.processResponsiveness),this.forceUpdate()}return e.prototype.forceUpdate=function(){this.viewModel.onUpdateSettings(),this.processResponsiveness(this.model,{})},e.prototype.dispose=function(){clearTimeout(this.timer),this.model.onResize.remove(this.processResponsiveness),this.model.survey.unRegisterFunctionOnPropertiesValueChanged(this.criticalProperties,"ProgressButtonsResponsivityManager"+this.viewModel.container),this.element=void 0,this.model=void 0},e}();function Ni(e,t){return e.isDesignMode||t.focusFirstQuestion(),!0}function Fi(e,t){var n=Bi(e,t),o=new ze({items:n,searchEnabled:!1,locOwner:e});o.allowSelection=!1;var i=function(e,t){o.selectedItem=!!e&&o.actions.filter((function(t){return t.id===e.name}))[0]||t};return i(e.currentPage,n[0]),e.onCurrentPageChanged.add((function(t,n){i(e.currentPage)})),e.onFocusInQuestion.add((function(e,t){i(function e(t){if(t.parentQuestion)return e(t.parentQuestion);for(var n=t.parent;n&&"page"!==n.getType()&&n.parent;)n=n.parent;return n&&"page"===n.getType()?n:null}(t.question))})),e.registerFunctionOnPropertyValueChanged("pages",(function(){o.setItems(Bi(e,t))}),"toc"),o}function Bi(e,t){return(e.pages||[]).map((function(n){return new tt({id:n.name,locTitle:n.locNavigationTitle,action:function(){return s.activeElementBlur(),t&&t(),n.isPage?e.tryNavigateToPage(n):n.isPanel?Ni(e,n):void 0},visible:new Ve((function(){return n.isVisible&&!n.isStartPage}))})}))}function zi(e,t){void 0===t&&(t=!1);var n=Hi.RootStyle;return t?n+" "+Hi.RootStyle+"--mobile":(n+=" "+Hi.RootStyle+"--"+(e.tocLocation||"").toLowerCase(),Hi.StickyPosition&&(n+=" "+Hi.RootStyle+"--sticky"),n)}var Hi=function(){function e(t){var n=this;this.survey=t,this.icon="icon-navmenu_24x24",this.togglePopup=function(){n.popupModel.toggleVisibility()},this.listModel=Fi(t,(function(){n.popupModel.isVisible=!1})),this.popupModel=new Ue("sv-list",{model:this.listModel}),this.popupModel.overlayDisplayMode="plain",this.popupModel.displayMode=new Ve((function(){return n.isMobile?"overlay":"popup"})),e.StickyPosition&&(t.onAfterRenderSurvey.add((function(e,t){return n.initStickyTOCSubscriptions(t.htmlElement)})),this.initStickyTOCSubscriptions(t.rootElement))}return e.prototype.initStickyTOCSubscriptions=function(t){var n=this;e.StickyPosition&&t&&(t.addEventListener("scroll",(function(e){n.updateStickyTOCSize(t)})),this.updateStickyTOCSize(t))},e.prototype.updateStickyTOCSize=function(t){if(t){var n=t.querySelector("."+e.RootStyle);if(n&&(n.style.height="",!this.isMobile&&e.StickyPosition&&t)){var o=t.getBoundingClientRect().height,i="advanced"===this.survey.headerView?".sv-header":".sv_custom_header+div div."+(this.survey.css.title||"sd-title"),r=t.querySelector(i),a=r?r.getBoundingClientRect().height:0,s=t.scrollTop>a?0:a-t.scrollTop;n.style.height=o-s-1+"px"}}},Object.defineProperty(e.prototype,"isMobile",{get:function(){return this.survey.isMobile},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"containerCss",{get:function(){return zi(this.survey,this.isMobile)},enumerable:!1,configurable:!0}),e.prototype.dispose=function(){this.survey.unRegisterFunctionOnPropertyValueChanged("pages","toc"),this.popupModel.dispose(),this.listModel.dispose()},e.RootStyle="sv_progress-toc",e.StickyPosition=!0,e}(),Qi=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(t,n)};return function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function o(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}}(),Ui=function(e,t,n,o){var i,r=arguments.length,a=r<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,n):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,o);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(a=(r<3?i(a):r>3?i(t,n,a):i(t,n))||a);return r>3&&a&&Object.defineProperty(t,n,a),a},Wi=function(e){function t(t,n){void 0===t&&(t=null),void 0===n&&(n=null);var o=e.call(this)||this;o.valuesHash={},o.variablesHash={},o.onTriggerExecuted=o.addEvent(),o.onCompleting=o.addEvent(),o.onComplete=o.addEvent(),o.onShowingPreview=o.addEvent(),o.onNavigateToUrl=o.addEvent(),o.onStarted=o.addEvent(),o.onPartialSend=o.addEvent(),o.onCurrentPageChanging=o.addEvent(),o.onCurrentPageChanged=o.addEvent(),o.onValueChanging=o.addEvent(),o.onValueChanged=o.addEvent(),o.onVariableChanged=o.addEvent(),o.onQuestionVisibleChanged=o.addEvent(),o.onVisibleChanged=o.onQuestionVisibleChanged,o.onPageVisibleChanged=o.addEvent(),o.onPanelVisibleChanged=o.addEvent(),o.onQuestionCreated=o.addEvent(),o.onQuestionAdded=o.addEvent(),o.onQuestionRemoved=o.addEvent(),o.onPanelAdded=o.addEvent(),o.onPanelRemoved=o.addEvent(),o.onPageAdded=o.addEvent(),o.onValidateQuestion=o.addEvent(),o.onSettingQuestionErrors=o.addEvent(),o.onServerValidateQuestions=o.addEvent(),o.onValidatePanel=o.addEvent(),o.onErrorCustomText=o.addEvent(),o.onValidatedErrorsOnCurrentPage=o.addEvent(),o.onProcessHtml=o.addEvent(),o.onGetQuestionDisplayValue=o.addEvent(),o.onGetQuestionTitle=o.addEvent(),o.onGetTitleTagName=o.addEvent(),o.onGetQuestionNumber=o.addEvent(),o.onGetQuestionNo=o.onGetQuestionNumber,o.onGetPanelNumber=o.addEvent(),o.onGetPageNumber=o.addEvent(),o.onGetProgressText=o.addEvent(),o.onProgressText=o.onGetProgressText,o.onTextMarkdown=o.addEvent(),o.onTextRenderAs=o.addEvent(),o.onSendResult=o.addEvent(),o.onGetResult=o.addEvent(),o.onOpenFileChooser=o.addEvent(),o.onUploadFiles=o.addEvent(),o.onDownloadFile=o.addEvent(),o.onClearFiles=o.addEvent(),o.onLoadChoicesFromServer=o.addEvent(),o.onLoadedSurveyFromService=o.addEvent(),o.onProcessTextValue=o.addEvent(),o.onUpdateQuestionCssClasses=o.addEvent(),o.onUpdatePanelCssClasses=o.addEvent(),o.onUpdatePageCssClasses=o.addEvent(),o.onUpdateChoiceItemCss=o.addEvent(),o.onAfterRenderSurvey=o.addEvent(),o.onAfterRenderHeader=o.addEvent(),o.onAfterRenderPage=o.addEvent(),o.onAfterRenderQuestion=o.addEvent(),o.onAfterRenderQuestionInput=o.addEvent(),o.onAfterRenderPanel=o.addEvent(),o.onFocusInQuestion=o.addEvent(),o.onFocusInPanel=o.addEvent(),o.onShowingChoiceItem=o.addEvent(),o.onChoicesLazyLoad=o.addEvent(),o.onChoicesSearch=o.addEvent(),o.onGetChoiceDisplayValue=o.addEvent(),o.onMatrixRowAdded=o.addEvent(),o.onMatrixRowAdding=o.addEvent(),o.onMatrixBeforeRowAdded=o.onMatrixRowAdding,o.onMatrixRowRemoving=o.addEvent(),o.onMatrixRowRemoved=o.addEvent(),o.onMatrixRenderRemoveButton=o.addEvent(),o.onMatrixAllowRemoveRow=o.onMatrixRenderRemoveButton,o.onMatrixDetailPanelVisibleChanged=o.addEvent(),o.onMatrixCellCreating=o.addEvent(),o.onMatrixCellCreated=o.addEvent(),o.onAfterRenderMatrixCell=o.addEvent(),o.onMatrixAfterCellRender=o.onAfterRenderMatrixCell,o.onMatrixCellValueChanged=o.addEvent(),o.onMatrixCellValueChanging=o.addEvent(),o.onMatrixCellValidate=o.addEvent(),o.onMatrixColumnAdded=o.addEvent(),o.onMultipleTextItemAdded=o.addEvent(),o.onDynamicPanelAdded=o.addEvent(),o.onDynamicPanelRemoved=o.addEvent(),o.onDynamicPanelRemoving=o.addEvent(),o.onTimerTick=o.addEvent(),o.onTimer=o.onTimerTick,o.onTimerPanelInfoText=o.addEvent(),o.onDynamicPanelValueChanged=o.addEvent(),o.onDynamicPanelItemValueChanged=o.onDynamicPanelValueChanged,o.onDynamicPanelValueChanging=o.addEvent(),o.onGetDynamicPanelTabTitle=o.addEvent(),o.onDynamicPanelCurrentIndexChanged=o.addEvent(),o.onCheckAnswerCorrect=o.addEvent(),o.onIsAnswerCorrect=o.onCheckAnswerCorrect,o.onDragDropAllow=o.addEvent(),o.onScrollToTop=o.addEvent(),o.onScrollingElementToTop=o.onScrollToTop,o.onLocaleChangedEvent=o.addEvent(),o.onGetQuestionTitleActions=o.addEvent(),o.onGetPanelTitleActions=o.addEvent(),o.onGetPageTitleActions=o.addEvent(),o.onGetPanelFooterActions=o.addEvent(),o.onGetMatrixRowActions=o.addEvent(),o.onElementContentVisibilityChanged=o.addEvent(),o.onGetExpressionDisplayValue=o.addEvent(),o.onPopupVisibleChanged=o.addEvent(),o.onOpenDropdownMenu=o.addEvent(),o.onElementWrapperComponentName=o.addEvent(),o.onElementWrapperComponentData=o.addEvent(),o.jsonErrors=null,o.cssValue=null,o.showHeaderOnCompletePage="auto",o._isLazyRenderingSuspended=!1,o.hideRequiredErrors=!1,o.cssVariables={},o._isMobile=!1,o._isCompact=!1,o.setValueOnExpressionCounter=0,o._isDesignMode=!1,o.validationAllowSwitchPages=!1,o.validationAllowComplete=!1,o.isNavigationButtonPressed=!1,o.mouseDownPage=null,o.isCalculatingProgressText=!1,o.isSmoothScrollEnabled=!1,o.onResize=new Ee,o.isCurrentPageRendering=!0,o.isCurrentPageRendered=void 0,o.skeletonHeight=void 0,o.isTriggerIsRunning=!1,o.triggerValues=null,o.triggerKeys=null,o.conditionValues=null,o.isValueChangedOnRunningCondition=!1,o.conditionRunnerCounter=0,o.conditionUpdateVisibleIndexes=!1,o.conditionNotifyElementsOnAnyValueOrVariableChanged=!1,o.isEndLoadingFromJson=null,o.nofifyQuesitonHash={},o.questionHashes={names:{},namesInsensitive:{},valueNames:{},valueNamesInsensitive:{}},o.setValueFromTriggerCounter=0,o.needRenderIcons=!0,o.skippedPages=[],o.skeletonComponentName="sv-skeleton",o.taskManager=new xi,o.questionErrorComponent="sv-question-error",o.onBeforeRunConstructor();var i=function(e){return"<h3>"+e+"</h3>"};o.createHtmlLocString("completedHtml","completingSurvey",i),o.createHtmlLocString("completedBeforeHtml","completingSurveyBefore",i,"completed-before"),o.createHtmlLocString("loadingHtml","loadingSurvey",i,"loading"),o.createLocalizableString("emptySurveyText",o,!0,"emptySurvey"),o.createLocalizableString("logo",o,!1),o.createLocalizableString("startSurveyText",o,!1,!0),o.createLocalizableString("pagePrevText",o,!1,!0),o.createLocalizableString("pageNextText",o,!1,!0),o.createLocalizableString("completeText",o,!1,!0),o.createLocalizableString("previewText",o,!1,!0),o.createLocalizableString("editText",o,!1,!0),o.createLocalizableString("questionTitleTemplate",o,!0),o.timerModelValue=new ui(o),o.timerModelValue.onTimerTick=function(e){o.doTimer(e)},o.createNewArray("pages",(function(e){e.isReadyForCleanChangedCallback&&e.isReadyForCleanChangedCallback(),o.doOnPageAdded(e)}),(function(e){e.isReadyForClean?o.doOnPageRemoved(e):e.isReadyForCleanChangedCallback=function(){o.doOnPageRemoved(e),e.isReadyForCleanChangedCallback=void 0}})),o.createNewArray("triggers",(function(e){e.setOwner(o)})),o.createNewArray("calculatedValues",(function(e){e.setOwner(o)})),o.createNewArray("completedHtmlOnCondition",(function(e){e.locOwner=o})),o.createNewArray("navigateToUrlOnCondition",(function(e){e.locOwner=o}
vendor: 1,166 bytes, line 11
11)),o.registerPropertyChangedHandlers(["locale"],(function(){o.onSurveyLocaleChanged()})),o.registerPropertyChangedHandlers(["firstPageIsStarted"],(function(){o.onFirstPageIsStartedChanged()})),o.registerPropertyChangedHandlers(["mode"],(function(){o.onModeChanged()})),o.registerPropertyChangedHandlers(["progressBarType"],(function(){o.updateProgressText()})),o.registerPropertyChangedHandlers(["questionStartIndex","requiredText","questionTitlePattern"],(function(){o.resetVisibleIndexes()})),o.registerPropertyChangedHandlers(["isLoading","isCompleted","isCompletedBefore","mode","isStartedState","currentPage","isShowingPreview"],(function(){o.updateState()})),o.registerPropertyChangedHandlers(["state","currentPage","showPreviewBeforeComplete"],(function(){o.onStateAndCurrentPageChanged()})),o.registerPropertyChangedHandlers(["logo","logoPosition"],(function(){o.updateHasLogo()})),o.registerPropertyChangedHandlers(["backgroundImage"],(function(){o.updateRenderBackgroundImage()})),o.registerPropertyChangedHandlers(["renderBackgroundImage","backgroundOpacity","backgroundImageFit","fitToContainer","backgroundImageAttachment"],(function(){o.updateBackgroun
vendor: 13,421 bytes, line 11
11dImageStyle()})),o.registerPropertyChangedHandlers(["showPrevButton","showCompleteButton"],(function(){o.updateButtonsVisibility()})),o.onGetQuestionNumber.onCallbacksChanged=function(){o.resetVisibleIndexes()},o.onGetPanelNumber.onCallbacksChanged=function(){o.resetVisibleIndexes()},o.onGetProgressText.onCallbacksChanged=function(){o.updateProgressText()},o.onTextMarkdown.onCallbacksChanged=function(){o.locStrsChanged()},o.onProcessHtml.onCallbacksChanged=function(){o.locStrsChanged()},o.onGetQuestionTitle.onCallbacksChanged=function(){o.locStrsChanged()},o.onUpdatePageCssClasses.onCallbacksChanged=function(){o.currentPage&&o.currentPage.updateElementCss()},o.onUpdatePanelCssClasses.onCallbacksChanged=function(){o.currentPage&&o.currentPage.updateElementCss()},o.onUpdateQuestionCssClasses.onCallbacksChanged=function(){o.currentPage&&o.currentPage.updateElementCss()},o.onShowingChoiceItem.onCallbacksChanged=function(){o.rebuildQuestionChoices()},o.navigationBarValue=o.createNavigationBar(),o.navigationBar.locOwner=o,o.onBeforeCreating(),t&&(("string"==typeof t||t instanceof String)&&(t=JSON.parse(t)),t&&t.clientId&&(o.clientId=t.clientId),o.fromJSON(t),o.surveyId&&o.loadSurveyFromService(o.surveyId,o.clientId)),o.onCreating(),n&&o.render(n),o.updateCss(),o.setCalculatedWidthModeUpdater(),o.notifier=new di(o.css.saveData),o.notifier.addAction(o.createTryAgainAction(),"error"),o.onPopupVisibleChanged.add((function(e,t){t.visible?o.onScrollCallback=function(){t.popup.hide()}:o.onScrollCallback=void 0})),o.progressBarValue=new Mi(o),o.layoutElements.push({id:"timerpanel",template:"survey-timerpanel",component:"sv-timerpanel",data:o.timerModel}),o.layoutElements.push({id:"progress-buttons",component:"sv-progress-buttons",data:o.progressBar,processResponsiveness:function(e){return o.progressBar.processResponsiveness&&o.progressBar.processResponsiveness(e)}}),o.layoutElements.push({id:"progress-questions",component:"sv-progress-questions",data:o}),o.layoutElements.push({id:"progress-pages",component:"sv-progress-pages",data:o}),o.layoutElements.push({id:"progress-correctquestions",component:"sv-progress-correctquestions",data:o}),o.layoutElements.push({id:"progress-requiredquestions",component:"sv-progress-requiredquestions",data:o});var r=new Hi(o);return o.addLayoutElement({id:"toc-navigation",component:"sv-navigation-toc",data:r,processResponsiveness:function(e){return r.updateStickyTOCSize(o.rootElement)}}),o.layoutElements.push({id:"buttons-navigation",component:"sv-action-bar",data:o.navigationBar}),o.locTitle.onStringChanged.add((function(){return o.titleIsEmpty=o.locTitle.isEmpty})),o}return Qi(t,e),Object.defineProperty(t.prototype,"platformName",{get:function(){return t.platform},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"commentSuffix",{get:function(){return tn.commentSuffix},set:function(e){tn.commentSuffix=e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"commentPrefix",{get:function(){return this.commentSuffix},set:function(e){this.commentSuffix=e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"sjsVersion",{get:function(){return this.getPropertyValue("sjsVersion")},set:function(e){this.setPropertyValue("sjsVersion",e)},enumerable:!1,configurable:!0}),t.prototype.processClosedPopup=function(e,t){throw new Error("Method not implemented.")},t.prototype.createTryAgainAction=function(){var e=this;return{id:"save-again",title:this.getLocalizationString("saveAgainButton"),action:function(){e.isCompleted?e.saveDataOnComplete():e.doComplete()}}},t.prototype.createHtmlLocString=function(e,t,n,o){var i=this,r=this.createLocalizableString(e,this,!1,t);r.onGetLocalizationTextCallback=n,o&&(r.onGetTextCallback=function(e){return i.processHtml(e,o)})},t.prototype.getType=function(){return"survey"},t.prototype.onPropertyValueChanged=function(e,t,n){"questionsOnPageMode"===e&&this.onQuestionsOnPageModeChanged(t)},Object.defineProperty(t.prototype,"pages",{get:function(){return this.getPropertyValue("pages")},enumerable:!1,configurable:!0}),t.prototype.render=function(e){void 0===e&&(e=null),this.renderCallback&&this.renderCallback()},t.prototype.updateSurvey=function(e,t){var n=function(){if("model"==i||"children"==i)return"continue";if(0==i.indexOf("on")&&o[i]&&o[i].add){var t=e[i];o[i].add((function(e,n){t(e,n)}))}else o[i]=e[i]},o=this;for(var i in e)n();e&&e.data&&this.onValueChanged.add((function(t,n){e.data[n.name]=n.value}))},t.prototype.getCss=function(){return this.css},t.prototype.updateCompletedPageCss=function(){this.containerCss=this.css.container,this.completedCss=(new Ae).append(this.css.body).append(this.css.completedPage).toString(),this.completedBeforeCss=(new Ae).append(this.css.body).append(this.css.completedBeforePage).toString(),this.loadingBodyCss=(new Ae).append(this.css.body).append(this.css.bodyLoading).toString()},t.prototype.updateCss=function(){this.rootCss=this.getRootCss(),this.updateNavigationCss(),this.updateCompletedPageCss(),this.updateWrapperFormCss()},Object.defineProperty(t.prototype,"css",{get:function(){return this.cssValue||(this.cssValue={},this.copyCssClasses(this.cssValue,ti.getCss())),this.cssValue},set:function(e){this.setCss(e)},enumerable:!1,configurable:!0}),t.prototype.setCss=function(e,t){void 0===t&&(t=!0),t?this.mergeValues(e,this.css):this.cssValue=e,this.updateElementCss(!1)},Object.defineProperty(t.prototype,"cssTitle",{get:function(){return this.css.title},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"cssNavigationComplete",{get:function(){return this.getNavigationCss(this.cssSurveyNavigationButton,this.css.navigation.complete)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"cssNavigationPreview",{get:function(){return this.getNavigationCss(this.cssSurveyNavigationButton,this.css.navigation.preview)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"cssNavigationEdit",{get:function(){return this.getNavigationCss(this.css.navigationButton,this.css.navigation.edit)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"cssNavigationPrev",{get:function(){return this.getNavigationCss(this.cssSurveyNavigationButton,this.css.navigation.prev)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"cssNavigationStart",{get:function(){return this.getNavigationCss(this.cssSurveyNavigationButton,this.css.navigation.start)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"cssNavigationNext",{get:function(){return this.getNavigationCss(this.cssSurveyNavigationButton,this.css.navigation.next)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"cssSurveyNavigationButton",{get:function(){return(new Ae).append(this.css.navigationButton).append(this.css.bodyNavigationButton).toString()},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"bodyCss",{get:function(){return(new Ae).append(this.css.body).append(this.css.bodyWithTimer,this.showTimer&&"running"===this.state).append(this.css.body+"--"+this.calculatedWidthMode).toString()},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"bodyContainerCss",{get:function(){return this.css.bodyContainer},enumerable:!1,configurable:!0}),t.prototype.insertAdvancedHeader=function(e){e.survey=this,this.layoutElements.push({id:"advanced-header",container:"header",component:"sv-header",index:-100,data:e,processResponsiveness:function(t){return e.processResponsiveness(t)}})},t.prototype.getNavigationCss=function(e,t){return(new Ae).append(e).append(t).toString()},Object.defineProperty(t.prototype,"lazyRendering",{get:function(){return!0===this.lazyRenderingValue},set:function(e){if(this.lazyRendering!==e){this.lazyRenderingValue=e;var t=this.currentPage;t&&t.updateRows()}},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isLazyRendering",{get:function(){return this.lazyRendering||tn.lazyRender.enabled},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"lazyRenderingFirstBatchSize",{get:function(){return this.lazyRenderingFirstBatchSizeValue||tn.lazyRender.firstBatchSize},set:function(e){this.lazyRenderingFirstBatchSizeValue=e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isLazyRenderingSuspended",{get:function(){return this._isLazyRenderingSuspended},enumerable:!1,configurable:!0}),t.prototype.suspendLazyRendering=function(){this.isLazyRendering&&(this._isLazyRenderingSuspended=!0)},t.prototype.releaseLazyRendering=function(){this.isLazyRendering&&(this._isLazyRenderingSuspended=!1)},t.prototype.updateLazyRenderingRowsOnRemovingElements=function(){if(this.isLazyRendering){var e=this.currentPage;e&&St(e.id)}},Object.defineProperty(t.prototype,"triggers",{get:function(){return this.getPropertyValue("triggers")},set:function(e){this.setPropertyValue("triggers",e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"calculatedValues",{get:function(){return this.getPropertyValue("calculatedValues")},set:function(e){this.setPropertyValue("calculatedValues",e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"surveyId",{get:function(){return this.getPropertyValue("surveyId","")},set:function(e){this.setPropertyValue("surveyId",e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"surveyPostId",{get:function(){return this.getPropertyValue("surveyPostId","")},set:function(e){this.setPropertyValue("surveyPostId",e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"clientId",{get:function(){return this.getPropertyValue("clientId","")},set:function(e){this.setPropertyValue("clientId",e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"cookieName",{get:function(){return this.getPropertyValue("cookieName","")},set:function(e){this.setPropertyValue("cookieName",e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"sendResultOnPageNext",{get:function(){return this.getPropertyValue("sendResultOnPageNext")},set:function(e){this.setPropertyValue("sendResultOnPageNext",e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"surveyShowDataSaving",{get:function(){return this.getPropertyValue("surveyShowDataSaving")},set:function(e){this.setPropertyValue("surveyShowDataSaving",e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"focusFirstQuestionAutomatic",{get:function(){return this.getPropertyValue("focusFirstQuestionAutomatic")},set:function(e){this.setPropertyValue("focusFirstQuestionAutomatic",e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"focusOnFirstError",{get:function(){return this.getPropertyValue("focusOnFirstError")},set:function(e){this.setPropertyValue("focusOnFirstError",e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"showNavigationButtons",{get:function(){return this.getPropertyValue("showNavigationButtons")},set:function(e){!0!==e&&void 0!==e||(e="bottom"),!1===e&&(e="none"),this.setPropertyValue("showNavigationButtons",e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"showPrevButton",{get:function(){return this.getPropertyValue("showPrevButton")},set:function(e){this.setPropertyValue("showPrevButton",e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"showCompleteButton",{get:function(){return this.getPropertyValue("showCompleteButton",!0)},set:function(e){this.setPropertyValue("showCompleteButton",e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"showTOC",{get:function(){return this.getPropertyValue("showTOC")},set:function(e){this.setPropertyValue("showTOC",e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"tocLocation",{get:function(){return this.getPropertyValue("tocLocation")},set:function(e){this.setPropertyValue("tocLocation",e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"showTitle",{get:function(){return this.getPropertyValue("showTitle")},set:function(e){this.setPropertyValue("showTitle",e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"showPageTitles",{get:function(){return this.getPropertyValue("showPageTitles")},set:function(e){this.setPropertyValue("showPageTitles",e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"showCompletedPage",{get:function(){return this.getPropertyValue("showCompletedPage")},set:function(e){this.setPropertyValue("showCompletedPage",e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"navigateToUrl",{get:function(){return this.getPropertyValue("navigateToUrl")},set:function(e){this.setPropertyValue("navigateToUrl",e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"navigateToUrlOnCondition",{get:function(){return this.getPropertyValue("navigateToUrlOnCondition")},set:function(e){this.setPropertyValue("navigateToUrlOnCondition",e)},enumerable:!1,configurable:!0}),t.prototype.getNavigateToUrl=function(){var e=this.getExpressionItemOnRunCondition(this.navigateToUrlOnCondition),t=e?e.url:this.navigateToUrl;return t&&(t=this.processText(t,!1)),t},t.prototype.navigateTo=function(){var e={url:this.getNavigateToUrl(),allow:!0};this.onNavigateToUrl.fire(this,e),e.url&&e.allow&&Et(e.url)},Object.defineProperty(t.prototype,"requiredText",{get:function(){return this.getPropertyValue("requiredText","*")},set:function(e){this.setPropertyValue("requiredText",e)}
vendor: 2,481 bytes, line 11
11,enumerable:!1,configurable:!0}),t.prototype.beforeSettingQuestionErrors=function(e,t){this.makeRequiredErrorsInvisible(t),this.onSettingQuestionErrors.fire(this,{question:e,errors:t})},t.prototype.beforeSettingPanelErrors=function(e,t){this.makeRequiredErrorsInvisible(t)},t.prototype.makeRequiredErrorsInvisible=function(e){if(this.hideRequiredErrors)for(var t=0;t<e.length;t++){var n=e[t].getErrorType();"required"!=n&&"requireoneanswer"!=n||(e[t].visible=!1)}},Object.defineProperty(t.prototype,"questionStartIndex",{get:function(){return this.getPropertyValue("questionStartIndex","")},set:function(e){this.setPropertyValue("questionStartIndex",e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"storeOthersAsComment",{get:function(){return this.getPropertyValue("storeOthersAsComment")},set:function(e){this.setPropertyValue("storeOthersAsComment",e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"maxTextLength",{get:function(){return this.getPropertyValue("maxTextLength")},set:function(e){this.setPropertyValue("maxTextLength",e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"maxOthersLength",{get:function(){return this.getPropertyValue("maxOthersLength")},set:function(e){this.setPropertyValue("maxOthersLength",e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"goNextPageAutomatic",{get:function(){return this.getPropertyValue("goNextPageAutomatic")},set:function(e){this.setPropertyValue("goNextPageAutomatic",e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"allowCompleteSurveyAutomatic",{get:function(){return this.getPropertyValue("allowCompleteSurveyAutomatic")},set:function(e){this.setPropertyValue("allowCompleteSurveyAutomatic",e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"checkErrorsMode",{get:function(){return this.getPropertyValue("checkErrorsMode")},set:function(e){this.setPropertyValue("checkErrorsMode",e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"validateVisitedEmptyFields",{get:function(){return this.getPropertyValue("validateVisitedEmptyFields")},set:function(e){this.setPropertyValue("validateVisitedEmptyFields",e)},enumerable:!1,configurable:!0}),t.prototype.getValidateVisitedEmptyFields=function(){return this.validateVisitedEmptyFields&&this.isValidateOnValueChange},Object.defineProperty(t.prototype,"autoGrowComment",{get:function(){return this.getPropertyValue("autoGrowComment")}
vendor: 356,644 bytes, line 11
11,set:function(e){this.setPropertyValue("autoGrowComment",e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"allowResizeComment",{get:function(){return this.getPropertyValue("allowResizeComment")},set:function(e){this.setPropertyValue("allowResizeComment",e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"commentAreaRows",{get:function(){return this.getPropertyValue("commentAreaRows")},set:function(e){this.setPropertyValue("commentAreaRows",e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"textUpdateMode",{get:function(){return this.getPropertyValue("textUpdateMode")},set:function(e){this.setPropertyValue("textUpdateMode",e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"clearInvisibleValues",{get:function(){return this.getPropertyValue("clearInvisibleValues")},set:function(e){!0===e&&(e="onComplete"),!1===e&&(e="none"),this.setPropertyValue("clearInvisibleValues",e)},enumerable:!1,configurable:!0}),t.prototype.clearIncorrectValues=function(e){void 0===e&&(e=!1);for(var t=0;t<this.pages.length;t++)this.pages[t].clearIncorrectValues();if(e){var n=this.data,o=!1;for(var i in n)if(!this.getQuestionByValueName(i)&&!this.iscorrectValueWithPostPrefix(i,tn.commentSuffix)&&!this.iscorrectValueWithPostPrefix(i,tn.matrix.totalsSuffix)){var r=this.getCalculatedValueByName(i);r&&r.includeIntoResult||(o=!0,delete n[i])}o&&(this.data=n)}},t.prototype.iscorrectValueWithPostPrefix=function(e,t){return e.indexOf(t)===e.length-t.length&&!!this.getQuestionByValueName(e.substring(0,e.indexOf(t)))},Object.defineProperty(t.prototype,"keepIncorrectValues",{get:function(){return this.getPropertyValue("keepIncorrectValues")},set:function(e){this.setPropertyValue("keepIncorrectValues",e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"locale",{get:function(){return this.getPropertyValueWithoutDefault("locale")||p.currentLocale},set:function(e){e!==p.defaultLocale||p.currentLocale||(e=""),this.setPropertyValue("locale",e)},enumerable:!1,configurable:!0}),t.prototype.onSurveyLocaleChanged=function(){this.notifyElementsOnAnyValueOrVariableChanged("locale"),this.localeChanged(),this.onLocaleChangedEvent.fire(this,this.locale)},Object.defineProperty(t.prototype,"localeDir",{get:function(){return p.localeDirections[this.locale]},enumerable:!1,configurable:!0}),t.prototype.getUsedLocales=function(){var e=new Array;this.addUsedLocales(e);var t=e.indexOf("default");if(t>-1){var n=p.defaultLocale,o=e.indexOf(n);o>-1&&e.splice(o,1),t=e.indexOf("default"),e[t]=n}return e},t.prototype.localeChanged=function(){for(var e=0;e<this.pages.length;e++)this.pages[e].localeChanged()},t.prototype.getLocale=function(){return this.locale},t.prototype.locStrsChanged=function(){if(!this.isClearingUnsedValues&&(e.prototype.locStrsChanged.call(this),this.currentPage)){if(this.isDesignMode)this.pages.forEach((function(e){return e.locStrsChanged()}));else{var t=this.activePage;t&&t.locStrsChanged();for(var n=this.visiblePages,o=0;o<n.length;o++)n[o].navigationLocStrChanged()}this.isShowStartingPage||this.updateProgressText(),this.navigationBar.locStrsChanged()}},t.prototype.getMarkdownHtml=function(e,t){return this.getSurveyMarkdownHtml(this,e,t)},t.prototype.getRenderer=function(e){return this.getRendererForString(this,e)},t.prototype.getRendererContext=function(e){return this.getRendererContextForString(this,e)},t.prototype.getRendererForString=function(e,t){var n=this.getBuiltInRendererForString(e,t),o={element:e,name:t,renderAs:n=this.elementWrapperComponentNameCore(n,e,"string",t)};return this.onTextRenderAs.fire(this,o),o.renderAs},t.prototype.getRendererContextForString=function(e,t){return this.elementWrapperDataCore(t,e,"string")},t.prototype.getExpressionDisplayValue=function(e,t,n){var o={question:e,value:t,displayValue:n};return this.onGetExpressionDisplayValue.fire(this,o),o.displayValue},t.prototype.getBuiltInRendererForString=function(e,t){if(this.isDesignMode)return bt.editableRenderer},t.prototype.getProcessedText=function(e){return this.processText(e,!0)},t.prototype.getLocString=function(e){return this.getLocalizationString(e)},t.prototype.getErrorCustomText=function(e,t){return this.getSurveyErrorCustomText(this,e,t)},t.prototype.getSurveyErrorCustomText=function(e,t,n){var o={text:t,name:n.getErrorType(),obj:e,error:n};return this.onErrorCustomText.fire(this,o),o.text},t.prototype.getQuestionDisplayValue=function(e,t){var n={question:e,displayValue:t};return this.onGetQuestionDisplayValue.fire(this,n),n.displayValue},Object.defineProperty(t.prototype,"emptySurveyText",{get:function(){return this.getLocalizableStringText("emptySurveyText")},set:function(e){this.setLocalizableStringText("emptySurveyText",e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"logo",{get:function(){return this.getLocalizableStringText("logo")},set:function(e){this.setLocalizableStringText("logo",e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"locLogo",{get:function(){return this.getLocalizableString("logo")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"logoWidth",{get:function(){return this.getPropertyValue("logoWidth")},set:function(e){this.setPropertyValue("logoWidth",e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"renderedLogoWidth",{get:function(){return this.logoWidth?Lt(this.logoWidth):void 0},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"renderedStyleLogoWidth",{get:function(){return this.logoWidth?Mt(this.logoWidth):void 0},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"logoHeight",{get:function(){return this.getPropertyValue("logoHeight")},set:function(e){this.setPropertyValue("logoHeight",e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"renderedLogoHeight",{get:function(){return this.logoHeight?Lt(this.logoHeight):void 0},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"renderedStyleLogoHeight",{get:function(){return this.logoHeight?Mt(this.logoHeight):void 0},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"logoPosition",{get:function(){return this.getPropertyValue("logoPosition")},set:function(e){this.setPropertyValue("logoPosition",e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"hasLogo",{get:function(){return this.getPropertyValue("hasLogo",!1)},enumerable:!1,configurable:!0}),t.prototype.updateHasLogo=function(){this.setPropertyValue("hasLogo",!!this.logo&&"none"!==this.logoPosition)},Object.defineProperty(t.prototype,"isLogoBefore",{get:function(){return!this.isDesignMode&&(this.renderedHasLogo&&("left"===this.logoPosition||"top"===this.logoPosition))},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isLogoAfter",{get:function(){return this.isDesignMode?this.renderedHasLogo:this.renderedHasLogo&&("right"===this.logoPosition||"bottom"===this.logoPosition)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"logoClassNames",{get:function(){return(new Ae).append(this.css.logo).append({left:"sv-logo--left",right:"sv-logo--right",top:"sv-logo--top",bottom:"sv-logo--bottom"}[this.logoPosition]).toString()},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"renderedHasTitle",{get:function(){return this.isDesignMode?this.isPropertyVisible("title"):!this.titleIsEmpty&&this.showTitle},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"renderedHasDescription",{get:function(){return this.isDesignMode?this.isPropertyVisible("description"):!!this.hasDescription&&this.showTitle},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"hasTitle",{get:function(){return this.renderedHasTitle},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"renderedHasLogo",{get:function(){return this.isDesignMode?this.isPropertyVisible("logo"):this.hasLogo},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"renderedHasHeader",{get:function(){return this.renderedHasTitle||this.renderedHasLogo},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"logoFit",{get:function(){return this.getPropertyValue("logoFit")},set:function(e){this.setPropertyValue("logoFit",e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"themeVariables",{get:function(){return Object.assign({},this.cssVariables)},enumerable:!1,configurable:!0}),t.prototype.setIsMobile=function(e){void 0===e&&(e=!0),this._isMobile!==e&&(this._isMobile=e,this.updateCss(),this.getAllQuestions().forEach((function(t){return t.setIsMobile(e)})))},Object.defineProperty(t.prototype,"isMobile",{get:function(){return this._isMobile&&!this.isDesignMode},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isCompact",{get:function(){return this._isCompact},set:function(e){e!==this._isCompact&&(this._isCompact=e,this.updateElementCss(),this.triggerResponsiveness(!0))},enumerable:!1,configurable:!0}),t.prototype.isLogoImageChoosen=function(){return this.locLogo.renderedHtml},Object.defineProperty(t.prototype,"titleMaxWidth",{get:function(){if(!(a.isAvailable()&&a.hasOwn("orientation")||this.isMobile||this.isValueEmpty(this.isLogoImageChoosen())||tn.supportCreatorV2)){var e=this.logoWidth;if("left"===this.logoPosition||"right"===this.logoPosition)return"calc(100% - 5px - 2em - "+e+")"}return""},enumerable:!1,configurable:!0}),t.prototype.updateRenderBackgroundImage=function(){var e=this.backgroundImage;this.renderBackgroundImage=Rt(e)},Object.defineProperty(t.prototype,"backgroundOpacity",{get:function(){return this.getPropertyValue("backgroundOpacity")},set:function(e){this.setPropertyValue("backgroundOpacity",e)},enumerable:!1,configurable:!0}),t.prototype.updateBackgroundImageStyle=function(){this.backgroundImageStyle={opacity:this.backgroundOpacity,backgroundImage:this.renderBackgroundImage,backgroundSize:this.backgroundImageFit,backgroundAttachment:this.fitToContainer?void 0:this.backgroundImageAttachment}},t.prototype.updateWrapperFormCss=function(){this.wrapperFormCss=(new Ae).append(this.css.rootWrapper).append(this.css.rootWrapperHasImage,!!this.backgroundImage).append(this.css.rootWrapperFixed,!!this.backgroundImage&&"fixed"===this.backgroundImageAttachment).toString()},Object.defineProperty(t.prototype,"completedHtml",{get:function(){return this.getLocalizableStringText("completedHtml")},set:function(e){this.setLocalizableStringText("completedHtml",e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"locCompletedHtml",{get:function(){return this.getLocalizableString("completedHtml")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"completedHtmlOnCondition",{get:function(){return this.getPropertyValue("completedHtmlOnCondition")},set:function(e){this.setPropertyValue("completedHtmlOnCondition",e)},enumerable:!1,configurable:!0}),t.prototype.runExpression=function(e,t){if(!e)return null;var n=this.getFilteredValues(),o=this.getFilteredProperties(),i=new xe(e),r=void 0;return i.onRunComplete=function(e){r=e,t&&t(e)},i.run(n,o)||r},Object.defineProperty(t.prototype,"isSettingValueOnExpression",{get:function(){return this.setValueOnExpressionCounter>0},enumerable:!1,configurable:!0}),t.prototype.startSetValueOnExpression=function(){this.setValueOnExpressionCounter++},t.prototype.finishSetValueOnExpression=function(){this.setValueOnExpressionCounter--},t.prototype.runCondition=function(e){if(!e)return!1;var t=this.getFilteredValues(),n=this.getFilteredProperties();return new be(e).run(t,n)},t.prototype.runTriggers=function(){this.checkTriggers(this.getFilteredValues(),!1)},Object.defineProperty(t.prototype,"renderedCompletedHtml",{get:function(){var e=this.getExpressionItemOnRunCondition(this.completedHtmlOnCondition);return e?e.html:this.completedHtml},enumerable:!1,configurable:!0}),t.prototype.getExpressionItemOnRunCondition=function(e){if(0==e.length)return null;for(var t=this.getFilteredValues(),n=this.getFilteredProperties(),o=0;o<e.length;o++)if(e[o].runCondition(t,n))return e[o];return null},Object.defineProperty(t.prototype,"completedBeforeHtml",{get:function(){return this.getLocalizableStringText("completedBeforeHtml")},set:function(e){this.setLocalizableStringText("completedBeforeHtml",e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"locCompletedBeforeHtml",{get:function(){return this.getLocalizableString("completedBeforeHtml")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"loadingHtml",{get:function(){return this.getLocalizableStringText("loadingHtml")},set:function(e){this.setLocalizableStringText("loadingHtml",e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"locLoadingHtml",{get:function(){return this.getLocalizableString("loadingHtml")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"defaultLoadingHtml",{get:function(){return"<h3>"+this.getLocalizationString("loadingSurvey")+"</h3>"},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"navigationBar",{get:function(){return this.navigationBarValue},enumerable:!1,configurable:!0}),t.prototype.addNavigationItem=function(e){var t=this;e.component||(e.component="sv-nav-btn"),e.innerCss||(e.innerCss=this.cssSurveyNavigationButton);var n=e.action;return e.action=function(){t.taskManager.waitAndExecute((function(){return n()}))},this.navigationBar.addAction(e)},Object.defineProperty(t.prototype,"startSurveyText",{get:function(){return this.getLocalizableStringText("startSurveyText")},set:function(e){this.setLocalizableStringText("startSurveyText",e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"locStartSurveyText",{get:function(){return this.getLocalizableString("startSurveyText")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"pagePrevText",{get:function(){return this.getLocalizableStringText("pagePrevText")},set:function(e){this.setLocalizableStringText("pagePrevText",e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"locPagePrevText",{get:function(){return this.getLocalizableString("pagePrevText")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"pageNextText",{get:function(){return this.getLocalizableStringText("pageNextText")},set:function(e){this.setLocalizableStringText("pageNextText",e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"locPageNextText",{get:function(){return this.getLocalizableString("pageNextText")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"completeText",{get:function(){return this.getLocalizableStringText("completeText")},set:function(e){this.setLocalizableStringText("completeText",e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"locCompleteText",{get:function(){return this.getLocalizableString("completeText")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"previewText",{get:function(){return this.getLocalizableStringText("previewText")},set:function(e){this.setLocalizableStringText("previewText",e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"locPreviewText",{get:function(){return this.getLocalizableString("previewText")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"editText",{get:function(){return this.getLocalizableStringText("editText")},set:function(e){this.setLocalizableStringText("editText",e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"locEditText",{get:function(){return this.getLocalizableString("editText")},enumerable:!1,configurable:!0}),t.prototype.getElementTitleTagName=function(e,t){if(this.onGetTitleTagName.isEmpty)return t;var n={element:e,tagName:t};return this.onGetTitleTagName.fire(this,n),n.tagName},Object.defineProperty(t.prototype,"questionTitlePattern",{get:function(){return this.getPropertyValue("questionTitlePattern","numTitleRequire")},set:function(e){"numRequireTitle"!==e&&"requireNumTitle"!==e&&"numTitle"!=e&&(e="numTitleRequire"),this.setPropertyValue("questionTitlePattern",e)},enumerable:!1,configurable:!0}),t.prototype.getQuestionTitlePatternOptions=function(){var e=new Array,t=this.getLocalizationString("questionTitlePatternText"),n=this.questionStartIndex?this.questionStartIndex:"1.";return e.push({value:"numTitleRequire",text:n+" "+t+" "+this.requiredText}),e.push({value:"numRequireTitle",text:n+" "+this.requiredText+" "+t}),e.push({value:"numTitle",text:n+" "+t}),e},Object.defineProperty(t.prototype,"questionTitleTemplate",{get:function(){return this.getLocalizableStringText("questionTitleTemplate")},set:function(e){this.setLocalizableStringText("questionTitleTemplate",e),this.questionTitlePattern=this.getNewTitlePattern(e),this.questionStartIndex=this.getNewQuestionTitleElement(e,"no",this.questionStartIndex,"1"),this.requiredText=this.getNewQuestionTitleElement(e,"require",this.requiredText,"*")},enumerable:!1,configurable:!0}),t.prototype.getNewTitlePattern=function(e){if(e){for(var t=[];e.indexOf("{")>-1;){var n=(e=e.substring(e.indexOf("{")+1)).indexOf("}");if(n<0)break;t.push(e.substring(0,n)),e=e.substring(n+1)}if(t.length>1){if("require"==t[0])return"requireNumTitle";if("require"==t[1]&&3==t.length)return"numRequireTitle";if(t.indexOf("require")<0)return"numTitle"}if(1==t.length&&"title"==t[0])return"numTitle"}return"numTitleRequire"},t.prototype.getNewQuestionTitleElement=function(e,t,n,o){if(t="{"+t+"}",!e||e.indexOf(t)<0)return n;for(var i=e.indexOf(t),r="",a="",s=i-1;s>=0&&"}"!=e[s];s--);for(s<i-1&&(r=e.substring(s+1,i)),s=i+=t.length;s<e.length&&"{"!=e[s];s++);for(s>i&&(a=e.substring(i,s)),s=0;s<r.length&&r.charCodeAt(s)<33;)s++;for(r=r.substring(s),s=a.length-1;s>=0&&a.charCodeAt(s)<33;)s--;return a=a.substring(0,s+1),r||a?r+(n||o)+a:n},Object.defineProperty(t.prototype,"locQuestionTitleTemplate",{get:function(){return this.getLocalizableString("questionTitleTemplate")},enumerable:!1,configurable:!0}),t.prototype.getUpdatedQuestionTitle=function(e,t){if(this.onGetQuestionTitle.isEmpty)return t;var n={question:e,title:t};return this.onGetQuestionTitle.fire(this,n),n.title},t.prototype.getUpdatedQuestionNo=function(e,t){if(this.onGetQuestionNumber.isEmpty)return t;var n={question:e,number:t,no:t};return this.onGetQuestionNumber.fire(this,n),n.no===t?n.number:n.no},t.prototype.getUpdatedPanelNo=function(e,t){if(this.onGetPanelNumber.isEmpty)return t;var n={panel:e,number:t};return this.onGetPanelNumber.fire(this,n),n.number},t.prototype.getUpdatedPageNo=function(e,t){if(this.onGetPageNumber.isEmpty)return t;var n={page:e,number:t};return this.onGetPageNumber.fire(this,n),n.number},Object.defineProperty(t.prototype,"showPageNumbers",{get:function(){return this.getPropertyValue("showPageNumbers")},set:function(e){e!==this.showPageNumbers&&(this.setPropertyValue("showPageNumbers",e),this.updateVisibleIndexes())},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"showQuestionNumbers",{get:function(){return this.getPropertyValue("showQuestionNumbers")},set:function(e){!0===e&&(e="on"),!1===e&&(e="off"),(e="onpage"===(e=e.toLowerCase())?"onPage":e)!==this.showQuestionNumbers&&(this.setPropertyValue("showQuestionNumbers",e),this.updateVisibleIndexes())},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"progressBar",{get:function(){return this.progressBarValue},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"showProgressBar",{get:function(){return this.getPropertyValue("showProgressBar")},set:function(e){!0===e&&(e="auto"),!1===e&&(e="off"),this.setPropertyValue("showProgressBar",e.toLowerCase())},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"progressBarType",{get:function(){return this.getPropertyValue("progressBarType")},set:function(e){"correctquestion"===e&&(e="correctQuestion"),"requiredquestion"===e&&(e="requiredQuestion"),this.setPropertyValue("progressBarType",e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"progressBarComponentName",{get:function(){var e=this.progressBarType;return tn.legacyProgressBarView||"defaultV2"!==ti.currentType||$i(e,"pages")&&(e="buttons"),"progress-"+e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isShowProgressBarOnTop",{get:function(){return!!this.canShowProresBar()&&-1!==["auto","aboveheader","belowheader","topbottom","top","both"].indexOf(this.showProgressBar)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isShowProgressBarOnBottom",{get:function(){return!!this.canShowProresBar()&&("bottom"===this.showProgressBar||"both"===this.showProgressBar||"topbottom"===this.showProgressBar)},enumerable:!1,configurable:!0}),t.prototype.getProgressTypeComponent=function(){return"sv-progress-"+this.progressBarType.toLowerCase()},t.prototype.getProgressCssClasses=function(e){return void 0===e&&(e=""),(new Ae).append(this.css.progress).append(this.css.progressTop,this.isShowProgressBarOnTop&&(!e||"header"==e)).append(this.css.progressBottom,this.isShowProgressBarOnBottom&&(!e||"footer"==e)).toString()},t.prototype.canShowProresBar=function(){return!this.isShowingPreview||"showAllQuestions"!=this.showPreviewBeforeComplete},Object.defineProperty(t.prototype,"processedTitle",{get:function(){return this.locTitle.renderedHtml},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"questionTitleLocation",{get:function(){return this.getPropertyValue("questionTitleLocation")},set:function(e){this.setPropertyValue("questionTitleLocation",e.toLowerCase()),this.isLoadingFromJson||this.updateElementCss(!0)},enumerable:!1,configurable:!0}),t.prototype.updateElementCss=function(e){this.startedPage&&this.startedPage.updateElementCss(e);for(var t=this.visiblePages,n=0;n<t.length;n++)t[n].updateElementCss(e);this.updateCss()},Object.defineProperty(t.prototype,"questionErrorLocation",{get:function(){return this.getPropertyValue("questionErrorLocation")},set:function(e){this.setPropertyValue("questionErrorLocation",e.toLowerCase())},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"questionDescriptionLocation",{get:function(){return this.getPropertyValue("questionDescriptionLocation")},set:function(e){this.setPropertyValue("questionDescriptionLocation",e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"mode",{get:function(){return this.getPropertyValue("mode")},set:function(e){(e=e.toLowerCase())!=this.mode&&("edit"!=e&&"display"!=e||this.setPropertyValue("mode",e))},enumerable:!1,configurable:!0}),t.prototype.onModeChanged=function(){for(var e=0;e<this.pages.length;e++){var t=this.pages[e];t.setPropertyValue("isReadOnly",t.isReadOnly)}this.updateButtonsVisibility(),this.updateCss()},Object.defineProperty(t.prototype,"data",{get:function(){for(var e={},t=this.getValuesKeys(),n=0;n<t.length;n++){var o=t[n],i=this.getDataValueCore(this.valuesHash,o);void 0!==i&&(e[o]=i)}return this.setCalculatedValuesIntoResult(e),e},set:function(e){this.valuesHash={},this.setDataCore(e,!e)},enumerable:!1,configurable:!0}),t.prototype.mergeData=function(e){if(e){var t=this.data;this.mergeValues(e,t),this.setDataCore(t)}},t.prototype.setDataCore=function(e,t){if(void 0===t&&(t=!1),t&&(this.valuesHash={}),e)for(var n in e){var o="string"==typeof n?n.trim():n;this.setDataValueCore(this.valuesHash,o,e[n])}this.updateAllQuestionsValue(t),this.notifyAllQuestionsOnValueChanged(),this.notifyElementsOnAnyValueOrVariableChanged(""),this.runConditions(),this.updateAllQuestionsValue(t)},Object.defineProperty(t.prototype,"isSurvey",{get:function(){return!0},enumerable:!1,configurable:!0}),t.prototype.getData=function(e){var t=e||{includePages:!1,includePanels:!1};return t.includePages||t.includePanels?this.getStructuredData(!!t.includePages,t.includePanels?-1:t.includePages?1:0):this.data},t.prototype.getStructuredData=function(e,t){if(void 0===e&&(e=!0),void 0===t&&(t=-1),0===t)return this.data;var n={};return this.pages.forEach((function(o){if(e){var i={};o.collectValues(i,t-1)&&(n[o.name]=i)}else o.collectValues(n,t)})),n},t.prototype.setStructuredData=function(e,t){if(void 0===t&&(t=!1),e){var n={};for(var o in e){if(this.getQuestionByValueName(o))n[o]=e[o];else{var i=this.getPageByName(o);i||(i=this.getPanelByName(o)),i&&this.collectDataFromPanel(i,n,e[o])}}t?this.mergeData(n):this.data=n}},t.prototype.collectDataFromPanel=function(e,t,n){for(var o in n){var i=e.getElementByName(o);i&&(i.isPanel?this.collectDataFromPanel(i,t,n[o]):t[o]=n[o])}},Object.defineProperty(t.prototype,"editingObj",{get:function(){return this.editingObjValue},set:function(e){var t=this;if(this.editingObj!=e&&(this.unConnectEditingObj(),this.editingObjValue=e,!this.isDisposed)){if(!e)for(var n=this.getAllQuestions(),o=0;o<n.length;o++)n[o].unbindValue();this.editingObj&&(this.setDataCore({}),this.onEditingObjPropertyChanged=function(e,n){L.hasOriginalProperty(t.editingObj,n.name)&&("locale"===n.name&&t.setDataCore({}),t.updateOnSetValue(n.name,t.editingObj[n.name],n.oldValue))},this.editingObj.onPropertyChanged.add(this.onEditingObjPropertyChanged))}},enumerable:!1,configurable:!0}),t.prototype.unConnectEditingObj=function(){this.editingObj&&!this.editingObj.isDisposed&&this.editingObj.onPropertyChanged.remove(this.onEditingObjPropertyChanged)},Object.defineProperty(t.prototype,"isEditingSurveyElement",{get:function(){return!!this.editingObj},enumerable:!1,configurable:!0}),t.prototype.setCalculatedValuesIntoResult=function(e){for(var t=0;t<this.calculatedValues.length;t++){var n=this.calculatedValues[t];n.includeIntoResult&&n.name&&void 0!==this.getVariable(n.name)&&(e[n.name]=this.getVariable(n.name))}},t.prototype.getAllValues=function(){return this.data},t.prototype.getPlainData=function(e){e||(e={includeEmpty:!0,includeQuestionTypes:!1,includeValues:!1});var t=[],n=[];if(this.getAllQuestions().forEach((function(o){var i=o.getPlainData(e);i&&(t.push(i),n.push(o.valueName||o.name))})),e.includeValues)for(var o=this.getValuesKeys(),i=0;i<o.length;i++){var r=o[i];if(-1==n.indexOf(r)){var a=this.getDataValueCore(this.valuesHash,r);a&&t.push({name:r,title:r,value:a,displayValue:a,isNode:!1,getString:function(e){return"object"==typeof e?JSON.stringify(e):e}})}}return t},t.prototype.getFilteredValues=function(){var e={};for(var t in this.variablesHash)e[t]=this.variablesHash[t];if(this.addCalculatedValuesIntoFilteredValues(e),!this.isDesignMode){for(var n=this.getValuesKeys(),o=0;o<n.length;o++){t=n[o];e[t]=this.getDataValueCore(this.valuesHash,t)}this.getAllQuestions().forEach((function(t){t.hasFilteredValue&&(e[t.getFilteredName()]=t.getFilteredValue())}))}return e},t.prototype.addCalculatedValuesIntoFilteredValues=function(e){for(var t=this.calculatedValues,n=0;n<t.length;n++)e[t[n].name]=t[n].value},t.prototype.getFilteredProperties=function(){return{survey:this}},t.prototype.getValuesKeys=function(){if(!this.editingObj)return Object.keys(this.valuesHash);for(var e=L.getPropertiesByObj(this.editingObj),t=[],n=0;n<e.length;n++)t.push(e[n].name);return t},t.prototype.getDataValueCore=function(e,t){return this.editingObj?L.getObjPropertyValue(this.editingObj,t):this.getDataFromValueHash(e,t)},t.prototype.setDataValueCore=function(e,t,n){this.editingObj?L.setObjPropertyValue(this.editingObj,t,n):this.setDataToValueHash(e,t,n)},t.prototype.deleteDataValueCore=function(e,t){this.editingObj?this.editingObj[t]=null:this.deleteDataFromValueHash(e,t)},t.prototype.getDataFromValueHash=function(e,t){return this.valueHashGetDataCallback?this.valueHashGetDataCallback(e,t):e[t]},t.prototype.setDataToValueHash=function(e,t,n){this.valueHashSetDataCallback?this.valueHashSetDataCallback(e,t,n):e[t]=n},t.prototype.deleteDataFromValueHash=function(e,t){this.valueHashDeleteDataCallback?this.valueHashDeleteDataCallback(e,t):delete e[t]},Object.defineProperty(t.prototype,"comments",{get:function(){for(var e={},t=this.getValuesKeys(),n=0;n<t.length;n++){var o=t[n];o.indexOf(this.commentSuffix)>0&&(e[o]=this.getDataValueCore(this.valuesHash,o))}return e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"visiblePages",{get:function(){if(this.isDesignMode)return this.pages;if(this.pageContainerValue&&(this.isShowingPreview||this.isSinglePage))return[this.pageContainerValue];for(var e=new Array,t=0;t<this.pages.length;t++)this.isPageInVisibleList(this.pages[t])&&e.push(this.pages[t]);return e},enumerable:!1,configurable:!0}),t.prototype.isPageInVisibleList=function(e){return this.isDesignMode||e.isVisible&&!e.isStartPage},Object.defineProperty(t.prototype,"isEmpty",{get:function(){return 0==this.pages.length},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"PageCount",{get:function(){return this.pageCount},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"pageCount",{get:function(){return this.pages.length},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"visiblePageCount",{get:function(){return this.visiblePages.length},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"startedPage",{get:function(){var e=this.firstPageIsStarted&&this.pages.length>1?this.pages[0]:null;return e&&(e.onFirstRendering(),e.setWasShown(!0)),e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"currentPage",{get:function(){return this.getPropertyValue("currentPage",null)},set:function(e){if(!this.isLoadingFromJson){var t=this.getPageByObject(e);if((!e||t)&&(t||!this.isCurrentPageAvailable)){var n=this.visiblePages;if(!(null!=t&&n.indexOf(t)<0)&&t!=this.currentPage){var o=this.currentSingleElement;if(this.isShowingPreview||!o||t===o.page){var i=this.currentPage;(this.isShowingPreview||o||this.currentPageChanging(t,i))&&(this.setPropertyValue("currentPage",t),t&&(t.onFirstRendering(),t.updateCustomWidgets(),t.setWasShown(!0)),this.locStrsChanged(),this.isShowingPreview||this.currentPageChanged(t,i))}else this.currentSingleElement=t.getFirstVisibleElement()}}}},enumerable:!1,configurable:!0}),t.prototype.tryNavigateToPage=function(e){if(!this.performValidationOnPageChanging(e))return!1;var t=this.visiblePages.indexOf(e)<this.currentPageNo||!this.doServerValidation(!1,!1,e);return t&&(this.currentPage=e),t},t.prototype.performValidationOnPageChanging=function(e){if(this.isDesignMode)return!1;if(this.canGoTroughValidation())return!0;var t=this.visiblePages.indexOf(e);if(t<0||t>=this.visiblePageCount)return!1;if(t===this.currentPageNo)return!1;if(t<this.currentPageNo||"onComplete"===this.checkErrorsMode||this.validationAllowSwitchPages)return!0;if(!this.validateCurrentPage())return!1;for(var n=this.currentPageNo+1;n<t;n++){var o=this.visiblePages[n];if(!o.validate(!0,!0))return!1;o.passed=!0}return!0},t.prototype.updateCurrentPage=function(){this.isCurrentPageAvailable||(this.currentPage=this.firstVisiblePage)},Object.defineProperty(t.prototype,"isCurrentPageAvailable",{get:function(){var e=this.currentPage;return!!e&&this.isPageInVisibleList(e)&&this.isPageExistsInSurvey(e)},enumerable:!1,configurable:!0}),t.prototype.isPageExistsInSurvey=function(e){return this.pages.indexOf(e)>-1||!!this.onContainsPageCallback&&this.onContainsPageCallback(e)},Object.defineProperty(t.prototype,"activePage",{get:function(){return this.getPropertyValue("activePage")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isShowStartingPage",{get:function(){return"starting"===this.state},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"matrixDragHandleArea",{get:function(){return this.getPropertyValue("matrixDragHandleArea","entireItem")},set:function(e){this.setPropertyValue("matrixDragHandleArea",e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isShowingPage",{get:function(){return"running"==this.state||"preview"==this.state||this.isShowStartingPage},enumerable:!1,configurable:!0}),t.prototype.updateActivePage=function(){var e=this.isShowStartingPage?this.startedPage:this.currentPage;e!==this.activePage&&this.setPropertyValue("activePage",e)},t.prototype.onStateAndCurrentPageChanged=function(){this.updateActivePage(),this.updateButtonsVisibility()},t.prototype.getPageByObject=function(e){if(!e)return null;if(e.getType&&"page"==e.getType())return e;if("string"==typeof e||e instanceof String)return this.getPageByName(String(e));if(!isNaN(e)){var t=Number(e),n=this.visiblePages;return e<0||e>=n.length?null:n[t]}return e},Object.defineProperty(t.prototype,"currentPageNo",{get:function(){return this.visiblePages.indexOf(this.currentPage)},set:function(e){var t=this.visiblePages;e<0||e>=t.length||(this.currentPage=t[e])},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"questionsOrder",{get:function(){return this.getPropertyValue("questionsOrder")},set:function(e){this.setPropertyValue("questionsOrder",e)},enumerable:!1,configurable:!0}),t.prototype.focusFirstQuestion=function(){if(!this.focusingQuestionInfo){var e=this.activePage;e&&(e.scrollToTop(),e.focusFirstQuestion())}},t.prototype.scrollToTopOnPageChange=function(e){void 0===e&&(e=!0);var t=this.activePage;t&&(e&&t.scrollToTop(),this.isCurrentPageRendering&&this.focusFirstQuestionAutomatic&&!this.focusingQuestionInfo&&(t.focusFirstQuestion(),this.isCurrentPageRendering=!1))},Object.defineProperty(t.prototype,"state",{get:function(){return this.getPropertyValue("state","empty")},enumerable:!1,configurable:!0}),t.prototype.updateState=function(){this.setPropertyValue("state",this.calcState())},t.prototype.calcState=function(){return this.isLoading?"loading":this.isCompleted?"completed":this.isCompletedBefore?"completedbefore":!this.isDesignMode&&this.isEditMode&&this.isStartedState&&this.startedPage?"starting":this.isShowingPreview?this.currentPage?"preview":"empty":this.currentPage?"running":"empty"},Object.defineProperty(t.prototype,"isCompleted",{get:function(){return this.getPropertyValue("isCompleted",!1)},set:function(e){this.setPropertyValue("isCompleted",e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isShowingPreview",{get:function(){return this.getPropertyValue("isShowingPreview",!1)},set:function(e){this.isShowingPreview!=e&&(this.setPropertyValue("isShowingPreview",e),this.onShowingPreviewChanged())},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isStartedState",{get:function(){return this.getPropertyValue("isStartedState",!1)},set:function(e){this.setPropertyValue("isStartedState",e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isCompletedBefore",{get:function(){return this.getPropertyValue("isCompletedBefore",!1)},set:function(e){this.setPropertyValue("isCompletedBefore",e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isLoading",{get:function(){return this.getPropertyValue("isLoading",!1)},set:function(e){this.setPropertyValue("isLoading",e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"completedState",{get:function(){return this.getPropertyValue("completedState","")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"completedStateText",{get:function(){return this.getPropertyValue("completedStateText","")},enumerable:!1,configurable:!0}),t.prototype.setCompletedState=function(e,t){this.setPropertyValue("completedState",e),t||("saving"==e&&(t=this.getLocalizationString("savingData")),"error"==e&&(t=this.getLocalizationString("savingDataError")),"success"==e&&(t=this.getLocalizationString("savingDataSuccess"))),this.setPropertyValue("completedStateText",t),"completed"===this.state&&this.showCompletedPage&&this.completedState&&this.notify(this.completedStateText,this.completedState,"error"===e)},t.prototype.notify=function(e,t,n){void 0===n&&(n=!1),this.notifier.showActions=n,this.notifier.notify(e,t,n)},t.prototype.clear=function(e,t){void 0===e&&(e=!0),void 0===t&&(t=!0),this.isCompleted=!1,this.isCompletedBefore=!1,this.isLoading=!1,this.skippedPages=[],this.completedByTriggers=void 0,e&&this.setDataCore(null,!0),this.timerModel.spent=0;for(var n=0;n<this.pages.length;n++)this.pages[n].timeSpent=0,this.pages[n].setWasShown(!1),this.pages[n].passed=!1;if(this.onFirstPageIsStartedChanged(),t&&(this.currentPage=this.firstVisiblePage,this.currentSingleElement)){var o=this.getSingleElements();this.currentSingleElement=o.length>0?o[0]:void 0}e&&this.updateValuesWithDefaults()},t.prototype.mergeValues=function(e,t){Gt(e,t)},t.prototype.updateValuesWithDefaults=function(){if(!this.isDesignMode&&!this.isLoading)for(var e=0;e<this.pages.length;e++)for(var t=this.pages[e].questions,n=0;n<t.length;n++)t[n].updateValueWithDefaults()},t.prototype.updateCustomWidgets=function(e){e&&e.updateCustomWidgets()},t.prototype.currentPageChanging=function(e,t,n,o){var i=this.createPageChangeEventOptions(e,t,n,o);return this.currentPageChangingFromOptions(i)},t.prototype.currentPageChangingFromOptions=function(e){e.allow=!0,e.allowChanging=!0,this.onCurrentPageChanging.fire(this,e);var t=e.allowChanging&&e.allow;return t&&e.newCurrentPage!==e.oldCurrentPage&&(this.isCurrentPageRendering=!0),t},t.prototype.currentPageChanged=function(e,t){if(this.notifyQuestionsOnHidingContent(t),!t||t.isDisposed||t.passed||t.validate(!1)&&(t.passed=!0),!0===this.isCurrentPageRendered&&(this.isCurrentPageRendered=!1),!this.currentSingleElement){var n=this.createPageChangeEventOptions(e,t);this.onCurrentPageChanged.fire(this,n)}},t.prototype.notifyQuestionsOnHidingContent=function(e){e&&!e.isDisposed&&e.questions.forEach((function(e){return e.onHidingContent()}))},t.prototype.createPageChangeEventOptions=function(e,t,n,o){var i=e&&t?e.visibleIndex-t.visibleIndex:0,r=i;return 0===r&&o&&n&&(r=e.elements.indexOf(n)-e.elements.indexOf(o)),{oldCurrentQuestion:o,newCurrentQuestion:n,oldCurrentPage:t,newCurrentPage:e,isNextPage:1===i,isPrevPage:-1===i,isGoingForward:r>0,isGoingBackward:r<0,isAfterPreview:!0===this.changeCurrentPageFromPreview}},t.prototype.getProgress=function(){if(null==this.currentPage)return 0;if("pages"!==this.progressBarType){var e=this.getProgressInfo();return"requiredQuestions"===this.progressBarType?e.requiredQuestionCount>=1?Math.ceil(100*e.requiredAnsweredQuestionCount/e.requiredQuestionCount):100:e.questionCount>=1?Math.ceil(100*e.answeredQuestionCount/e.questionCount):100}var t=this.visiblePages,n=t.indexOf(this.currentPage);return Math.ceil(100*n/t.length)},Object.defineProperty(t.prototype,"progressValue",{get:function(){return this.getPropertyValue("progressValue",0)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isNavigationButtonsShowing",{get:function(){if(this.isDesignMode)return"none";var e=this.activePage;return e?"show"===e.navigationButtonsVisibility?"none"===this.showNavigationButtons?"bottom":this.showNavigationButtons:"hide"===e.navigationButtonsVisibility?"none":this.showNavigationButtons:"none"},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isNavigationButtonsShowingOnTop",{get:function(){return this.getIsNavigationButtonsShowingOn("top")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isNavigationButtonsShowingOnBottom",{get:function(){return this.getIsNavigationButtonsShowingOn("bottom")},enumerable:!1,configurable:!0}),t.prototype.getIsNavigationButtonsShowingOn=function(e){var t=this.isNavigationButtonsShowing;return"both"==t||t==e},Object.defineProperty(t.prototype,"isEditMode",{get:function(){return"edit"==this.mode},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isDisplayMode",{get:function(){return"display"==this.mode&&!this.isDesignMode||"preview"==this.state},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isUpdateValueTextOnTyping",{get:function(){return"onTyping"==this.textUpdateMode},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isDesignMode",{get:function(){return this._isDesignMode},enumerable:!1,configurable:!0}),t.prototype.setDesignMode=function(e){!!this._isDesignMode!=!!e&&(this._isDesignMode=!!e,this.onQuestionsOnPageModeChanged("standard"))},Object.defineProperty(t.prototype,"showInvisibleElements",{get:function(){return this.getPropertyValue("showInvisibleElements",!1)},set:function(e){var t=this.visiblePages;this.setPropertyValue("showInvisibleElements",e),this.isLoadingFromJson||(this.runConditions(),this.updateAllElementsVisibility(t))},enumerable:!1,configurable:!0}),t.prototype.updateAllElementsVisibility=function(e){for(var t=0;t<this.pages.length;t++){var n=this.pages[t];n.updateElementVisibility(),e.indexOf(n)>-1!=n.isVisible&&this.onPageVisibleChanged.fire(this,{page:n,visible:n.isVisible})}},Object.defineProperty(t.prototype,"areInvisibleElementsShowing",{get:function(){return this.isDesignMode||this.showInvisibleElements},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"areEmptyElementsHidden",{get:function(){return this.isShowingPreview&&"showAnsweredQuestions"==this.showPreviewBeforeComplete&&this.isAnyQuestionAnswered},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isAnyQuestionAnswered",{get:function(){for(var e=this.getAllQuestions(!0),t=0;t<e.length;t++)if(!e[t].isEmpty())return!0;return!1},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"hasCookie",{get:function(){if(!this.cookieName)return!1;var e=s.getCookie();return e&&e.indexOf(this.cookieName+"=true")>-1},enumerable:!1,configurable:!0}),t.prototype.setCookie=function(){this.cookieName&&s.setCookie(this.cookieName+"=true; expires=Fri, 31 Dec 9999 0:0:0 GMT")},t.prototype.deleteCookie=function(){this.cookieName&&s.setCookie(this.cookieName+"=;")},Object.defineProperty(t.prototype,"ignoreValidation",{get:function(){return!this.validationEnabled},set:function(e){this.validationEnabled=!e},enumerable:!1,configurable:!0}),t.prototype.nextPage=function(){return this.currentSingleElement?this.performNext():!this.isLastPage&&this.doCurrentPageComplete(!1)},t.prototype.performNext=function(){var e=this.currentSingleElement;if(!e)return this.nextPage();if(this.validationEnabled&&!e.validate(!0))return!1;var t=this.getSingleElements(),n=t.indexOf(e);if(n<0||n===t.length-1)return!1;var o={};return e.isQuestion?o[e.name]=e.value:e.isPanel&&(o=e.getValue()),this.checkTriggers(o,!0,!1,!0,e.name),e===this.currentSingleElement&&(this.currentSingleElement=t[n+1]),!0},t.prototype.performPrevious=function(){return this.prevPage()},t.prototype.hasErrorsOnNavigate=function(e){var t=this;if(this.canGoTroughValidation())return!1;var n=e&&this.validationAllowComplete||!e&&this.validationAllowSwitchPages,o=function(o){o&&!n||t.doCurrentPageCompleteCore(e)};return this.isValidateOnComplete?!!this.isLastPage&&(!0!==this.validate(!0,this.focusOnFirstError,o,!0)&&!n):!0!==this.validateCurrentPage(o)&&!n},t.prototype.canGoTroughValidation=function(){return!this.isEditMode||!this.validationEnabled},t.prototype.checkForAsyncQuestionValidation=function(e,t){var n=this;this.clearAsyncValidationQuesitons();for(var o=function(){if(e[r].isRunningValidators){var o=e[r];o.onCompletedAsyncValidators=function(e){n.onCompletedAsyncQuestionValidators(o,t,e)},i.asyncValidationQuesitons.push(e[r])}},i=this,r=0;r<e.length;r++)o();return this.asyncValidationQuesitons.length>0},t.prototype.clearAsyncValidationQuesitons=function(){if(this.asyncValidationQuesitons)for(var e=this.asyncValidationQuesitons,t=0;t<e.length;t++)e[t].onCompletedAsyncValidators=null;this.asyncValidationQuesitons=[]},t.prototype.onCompletedAsyncQuestionValidators=function(e,t,n){if(n){if(this.clearAsyncValidationQuesitons(),t(!0),this.focusOnFirstError&&e&&e.page&&e.page===this.currentPage){for(var o=this.currentPage.questions,i=0;i<o.length;i++)if(o[i]!==e&&o[i].errors.length>0)return;e.focus(!0)}}else{for(var r=this.asyncValidationQuesitons,a=0;a<r.length;a++)if(r[a].isRunningValidators)return;t(!1)}},Object.defineProperty(t.prototype,"isCurrentPageHasErrors",{get:function(){return this.checkIsCurrentPageHasErrors()},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isCurrentPageValid",{get:function(){return!this.checkIsCurrentPageHasErrors()},enumerable:!1,configurable:!0}),t.prototype.hasCurrentPageErrors=function(e){return this.hasPageErrors(void 0,e)},t.prototype.validateCurrentPage=function(e){return this.validatePage(void 0,e)},t.prototype.hasPageErrors=function(e,t){var n=this.validatePage(e,t);return void 0===n?n:!n},t.prototype.validatePage=function(e,t){return e||(e=this.activePage),!e||!this.checkIsPageHasErrors(e)&&(!t||(!this.checkForAsyncQuestionValidation(e.questions,(function(e){return t(e)}))||void 0))},t.prototype.hasErrors=function(e,t,n){void 0===e&&(e=!0),void 0===t&&(t=!1);var o=this.validate(e,t,n);return void 0===o?o:!o},t.prototype.validate=function(e,t,n,o){void 0===e&&(e=!0),void 0===t&&(t=!1),n&&(e=!0);for(var i=this.visiblePages,r=!0,a={fireCallback:e,focusOnFirstError:t,firstErrorQuestion:null,result:!1},s=0;s<i.length;s++)i[s].validate(e,t,a)||(r=!1);return a.firstErrorQuestion&&(t||o)&&(t?a.firstErrorQuestion.focus(!0):this.currentPage=a.firstErrorQuestion.page),r&&n?!this.checkForAsyncQuestionValidation(this.getAllQuestions(),(function(e){return n(e)}))||void 0:r},t.prototype.ensureUniqueNames=function(e){if(void 0===e&&(e=null),null==e)for(var t=0;t<this.pages.length;t++)this.ensureUniqueName(this.pages[t]);else this.ensureUniqueName(e)},t.prototype.ensureUniqueName=function(e){if(e.isPage&&this.ensureUniquePageName(e),e.isPanel&&this.ensureUniquePanelName(e),e.isPage||e.isPanel)for(var t=e.elements,n=0;n<t.length;n++)this.ensureUniqueNames(t[n]);else this.ensureUniqueQuestionName(e)},t.prototype.ensureUniquePageName=function(e){var t=this;return this.ensureUniqueElementName(e,(function(e){return t.getPageByName(e)}))},t.prototype.ensureUniquePanelName=function(e){var t=this;return this.ensureUniqueElementName(e,(function(e){return t.getPanelByName(e)}))},t.prototype.ensureUniqueQuestionName=function(e){var t=this;return this.ensureUniqueElementName(e,(function(e){return t.getQuestionByName(e)}))},t.prototype.ensureUniqueElementName=function(e,t){var n=t(e.name);if(n&&n!=e){for(var o=this.getNewName(e.name);t(o);)o=this.getNewName(e.name);e.name=o}},t.prototype.getNewName=function(e){for(var t=e.length;t>0&&e[t-1]>="0"&&e[t-1]<="9";)t--;var n=e.substring(0,t),o=0;return t<e.length&&(o=parseInt(e.substring(t))),n+ ++o},t.prototype.checkIsCurrentPageHasErrors=function(e){return void 0===e&&(e=void 0),this.checkIsPageHasErrors(this.activePage,e)},t.prototype.checkIsPageHasErrors=function(e,t){if(void 0===t&&(t=void 0),void 0===t&&(t=this.focusOnFirstError),!e)return!0;var n=!1;return n=this.currentSingleElement?!this.currentSingleElement.validate(!0):!e.validate(!0,t),this.fireValidatedErrorsOnPage(e),n},t.prototype.fireValidatedErrorsOnPage=function(e){if(!this.onValidatedErrorsOnCurrentPage.isEmpty&&e){for(var t=this.getNestedQuestionsByQuestionArray(e.questions,!0),n=new Array,o=new Array,i=0;i<t.length;i++){var r=t[i];if(r.errors.length>0){n.push(r);for(var a=0;a<r.errors.length;a++)o.push(r.errors[a])}}this.onValidatedErrorsOnCurrentPage.fire(this,{questions:n,errors:o,page:e})}},t.prototype.prevPage=function(){if(this.isFirstPage||"starting"===this.state)return!1;this.resetNavigationButton();var e=this.currentSingleElement;if(this.doSkipOnPrevPage(e))return!0;if(e)return this.prevPageSingleElement(e);var t=this.visiblePages,n=t.indexOf(this.currentPage);return this.currentPage=t[n-1],!0},t.prototype.doSkipOnPrevPage=function(e){var t=e||this.currentPage,n=this.skippedPages.find((function(e){return e.to===t})),o=void 0;if(n){this.skippedPages.splice(this.skippedPages.indexOf(n),1);var i=n.from;!i.isDisposed&&i.isVisible&&(o=i)}return o&&(e?this.currentSingleElement=o:this.currentPage=o),!!o},t.prototype.prevPageSingleElement=function(e){var t=this.getSingleElements(),n=t.indexOf(e);return!(n<=0)&&(this.currentSingleElement=t[n-1],!0)},t.prototype.tryComplete=function(){this.isValidateOnComplete&&this.cancelPreview();var e=this.doCurrentPageComplete(!0);return e&&this.cancelPreview(),e},t.prototype.completeLastPage=function(){return this.tryComplete()},t.prototype.navigationMouseDown=function(){return this.isNavigationButtonPressed=!0,!0},t.prototype.resetNavigationButton=function(){this.isNavigationButtonPressed=!1},t.prototype.nextPageUIClick=function(){return(!this.mouseDownPage||this.mouseDownPage===this.activePage)&&(this.mouseDownPage=null,this.performNext())},t.prototype.nextPageMouseDown=function(){return this.mouseDownPage=this.activePage,this.navigationMouseDown()},t.prototype.showPreview=function(){if(this.resetNavigationButton(),!this.isValidateOnComplete){if(this.hasErrorsOnNavigate(!0))return!1;if(this.doServerValidation(!0,!0))return!1}return this.showPreviewCore(),this.isShowingPreview},t.prototype.showPreviewCore=function(){var e={allowShowPreview:!0,allow:!0};this.onShowingPreview.fire(this,e),this.isShowingPreview=e.allowShowPreview&&e.allow},t.prototype.cancelPreview=function(e){var t;if(void 0===e&&(e=null),this.isShowingPreview){this.gotoPageFromPreview=e,this.isShowingPreview=!1;var n=null===(t=this.currentSingleElement)||void 0===t?void 0:t.page;n&&(n.updateRows(),this.currentPage=n)}},t.prototype.cancelPreviewByPage=function(e){this.cancelPreview(e)},t.prototype.doCurrentPageComplete=function(e){return!this.isValidatingOnServer&&(this.resetNavigationButton(),!this.hasErrorsOnNavigate(e)&&this.doCurrentPageCompleteCore(e))},t.prototype.doCurrentPageCompleteCore=function(e){return!this.doServerValidation(e)&&(e?(this.currentPage.passed=!0,this.doComplete(this.canBeCompletedByTrigger,this.completedTrigger)):(this.doNextPage(),!0))},Object.defineProperty(t.prototype,"isSinglePage",{get:function(){return"singlePage"==this.questionsOnPageMode},set:function(e){this.questionsOnPageMode=e?"singlePage":"standard"},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isSingleVisibleQuestion",{get:function(){return this.isSingleVisibleQuestionVal(this.questionsOnPageMode)},enumerable:!1,configurable:!0}),t.prototype.isSingleVisibleQuestionVal=function(e){return"questionPerPage"===e||"questionOnPage"===e},Object.defineProperty(t.prototype,"questionsOnPageMode",{get:function(){return this.getPropertyValue("questionsOnPageMode")},set:function(e){this.setPropertyValue("questionsOnPageMode",e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"firstPageIsStarted",{get:function(){return this.getPropertyValue("firstPageIsStarted")},set:function(e){this.setPropertyValue("firstPageIsStarted",e)},enumerable:!1,configurable:!0}),t.prototype.isPageStarted=function(e){return this.firstPageIsStarted&&this.pages.length>1&&this.pages[0]===e},Object.defineProperty(t.prototype,"showPreviewBeforeComplete",{get:function(){return this.getPropertyValue("showPreviewBeforeComplete")},set:function(e){this.setPropertyValue("showPreviewBeforeComplete",e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isShowPreviewBeforeComplete",{get:function(){var e=this.showPreviewBeforeComplete;return"showAllQuestions"==e||"showAnsweredQuestions"==e},enumerable:!1,configurable:!0}),t.prototype.onFirstPageIsStartedChanged=function(){this.isStartedState=this.firstPageIsStarted&&this.pages.length>1,this.pageVisibilityChanged(this.pages[0],!this.isStartedState)},t.prototype.onShowingPreviewChanged=function(){this.updatePagesContainer()},t.prototype.createRootPage=function(e,t){var n=L.createClass("page");return n.name=e,n.isPageContainer=!0,t.forEach((function(e){e.isStartPage||n.addElement(e)})),n},t.prototype.disposeContainerPage=function(){var e=this.pageContainerValue;[].concat(e.elements).forEach((function(t){return e.removeElement(t)})),e.dispose(),this.pageContainerValue=void 0},t.prototype.updatePagesContainer=function(){if(!this.isDesignMode){this.getAllQuestions().forEach((function(e){return e.updateElementVisibility()})),this.setPropertyValue("currentPage",void 0);var e=void 0;if(this.isSinglePage){var t=this.pageContainerValue;t&&"preview-page"===t.name?(e=t.elements[0],this.disposeContainerPage()):e=this.createRootPage("single-page",this.pages)}if(this.isShowingPreview&&(e=this.createRootPage("preview-page",e?[e]:this.pages)),e&&(e.setSurveyImpl(this),this.pageContainerValue=e,this.currentPage=e,this.currentSingleElementValue&&this.visiblePages.forEach((function(e){return e.updateRows()}))),!this.isSinglePage&&!this.isShowingPreview){this.disposeContainerPage();var n=this.gotoPageFromPreview;this.gotoPageFromPreview=null,u.isValueEmpty(n)&&this.visiblePageCount>0&&(n=this.visiblePages[this.visiblePageCount-1]),n&&(this.changeCurrentPageFromPreview=!0,this.currentPage=n,this.changeCurrentPageFromPreview=!1)}!this.currentPage&&this.visiblePageCount>0&&(this.currentPage=this.visiblePages[0]),this.isShowingPreview&&this.pages.forEach((function(e){e.onFirstRendering()})),this.pages.forEach((function(e){e.wasRendered&&e.updateElementCss(!0)})),this.updateButtonsVisibility()}},t.prototype.getSingleElements=function(e){for(var t=new Array,n=this.pages,o=function(){var o=n[i];if(!o.isStartPage&&o.isVisible){var r=[];o.elements.forEach((function(e){return r.push(e)})),r.forEach((function(n){(n===e||n.isVisible)&&t.push(n)}))}},i=0;i<n.length;i++)o();return t},Object.defineProperty(t.prototype,"currentSingleElement",{get:function(){return this.isShowingPreview?void 0:this.currentSingleElementValue},set:function(e){var t,n=this.currentSingleElement;if(e!==n&&!this.isCompleted){var o=(null==e?void 0:e.isQuestion)?e:void 0,i=(null==n?void 0:n.isQuestion)?n:void 0,r=null===(t=e)||void 0===t?void 0:t.page,a=r&&n?this.createPageChangeEventOptions(r,n.page,o,i):void 0;if(a&&!this.currentPageChangingFromOptions(a))return;this.currentSingleElementValue=e,e?(r.updateRows(),r!==this.currentPage?this.currentPage=r:o&&this.focusFirstQuestionAutomatic&&o.focus(),this.updateButtonsVisibility(),a&&this.onCurrentPageChanged.fire(this,a)):this.visiblePages.forEach((function(e){return e.updateRows()}))}},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"currentSingleQuestion",{get:function(){var e=this.currentSingleElement;return e&&e.isQuestion?e:void 0},set:function(e){this.currentSingleElement=e},enumerable:!1,configurable:!0}),t.prototype.changeCurrentSingleElementOnVisibilityChanged=function(){var e=this.currentSingleElement;if(e&&!e.isVisible){var t=this.getSingleElements(e),n=t.indexOf(e),o=n>0?t[n-1]:n<t.length-1?t[n+1]:void 0;this.currentSingleElement=o}},t.prototype.onQuestionsOnPageModeChanged=function(e){if(!this.isShowingPreview&&!this.isDesignMode&&(this.skippedPages=[],this.currentSingleElement=void 0,"singlePage"===e&&this.updatePagesContainer(),this.isSinglePage&&this.updatePagesContainer(),this.isSingleVisibleQuestion)){var t=this.getSingleElements();t.length>0&&(this.currentSingleElement=t[0])}},t.prototype.getPageStartIndex=function(){return this.firstPageIsStarted&&this.pages.length>0?1:0},Object.defineProperty(t.prototype,"isFirstPage",{get:function(){return this.getPropertyValue("isFirstPage")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isLastPage",{get:function(){return this.getPropertyValue("isLastPage")},enumerable:!1,configurable:!0}),t.prototype.updateButtonsVisibility=function(){this.updateIsFirstLastPageState(),this.setPropertyValue("isShowPrevButton",this.calcIsShowPrevButton()),this.setPropertyValue("isShowNextButton",this.calcIsShowNextButton()),this.setPropertyValue("isCompleteButtonVisible",this.calcIsCompleteButtonVisible()),this.setPropertyValue("isPreviewButtonVisible",this.calcIsPreviewButtonVisible()),this.setPropertyValue("isCancelPreviewButtonVisible",this.calcIsCancelPreviewButtonVisible())},Object.defineProperty(t.prototype,"isShowPrevButton",{get:function(){return this.getPropertyValue("isShowPrevButton")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isShowNextButton",{get:function(){return this.getPropertyValue("isShowNextButton")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isCompleteButtonVisible",{get:function(){return this.getPropertyValue("isCompleteButtonVisible")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isPreviewButtonVisible",{get:function(){return this.getPropertyValue("isPreviewButtonVisible")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isCancelPreviewButtonVisible",{get:function(){return this.getPropertyValue("isCancelPreviewButtonVisible")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isFirstElement",{get:function(){return this.getPropertyValue("isFirstElement")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isLastElement",{get:function(){return this.getPropertyValue("isLastElement")},enumerable:!1,configurable:!0}),t.prototype.updateIsFirstLastPageState=function(){var e=this.currentPage,t=void 0,n=void 0,o=this.currentSingleElement;if(o){var i=this.getSingleElements(),r=i.indexOf(o);r>=0&&(t=0===r,n=r===i.length-1)}this.setPropertyValue("isFirstPage",!(!e||e!==this.firstVisiblePage||o&&!0!==t)),this.setPropertyValue("isLastPage",!(!e||e!==this.lastVisiblePage||o&&!0!==n)),this.setPropertyValue("isFirstElement",t),this.setPropertyValue("isLastElement",n)},Object.defineProperty(t.prototype,"isLastPageOrElement",{get:function(){return void 0!==this.isLastElement?this.isLastElement:this.isLastPage},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isFirstPageOrElement",{get:function(){return void 0!==this.isFirstElement?this.isFirstElement:this.isFirstPage},enumerable:!1,configurable:!0}),t.prototype.calcIsShowPrevButton=function(){if(this.isFirstPageOrElement||!this.showPrevButton||"running"!==this.state)return!1;if(void 0!==this.isFirstElement)return!0;var e=this.visiblePages[this.currentPageNo-1];return e&&e.getMaxTimeToFinish()<=0},t.prototype.calcIsShowNextButton=function(){return"running"===this.state&&!this.isLastPageOrElement&&!this.canBeCompletedByTrigger},t.prototype.calcIsCompleteButtonVisible=function(){var e=this.state;return this.isEditMode&&("running"===this.state&&(this.isLastPageOrElement&&!this.isShowPreviewBeforeComplete||this.canBeCompletedByTrigger)||"preview"===e)&&this.showCompleteButton},t.prototype.calcIsPreviewButtonVisible=function(){return this.isEditMode&&this.isShowPreviewBeforeComplete&&"running"==this.state&&this.isLastPageOrElement},t.prototype.calcIsCancelPreviewButtonVisible=function(){return this.isEditMode&&this.isShowPreviewBeforeComplete&&"preview"==this.state},Object.defineProperty(t.prototype,"firstVisiblePage",{get:function(){if(1===this.visiblePageCount)return this.visiblePages[0];for(var e=this.pages,t=0;t<e.length;t++)if(this.isPageInVisibleList(e[t]))return e[t];return null},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"lastVisiblePage",{get:function(){if(1===this.visiblePageCount)return this.visiblePages[0];for(var e=this.pages,t=e.length-1;t>=0;t--)if(this.isPageInVisibleList(e[t]))return e[t];return null},enumerable:!1,configurable:!0}),t.prototype.doComplete=function(e,t){if(void 0===e&&(e=!1),!this.isCompleted)return this.checkOnCompletingEvent(e,t)?(this.checkOnPageTriggers(!0),this.stopTimer(),this.notifyQuestionsOnHidingContent(this.currentPage),this.isCompleted=!0,this.clearUnusedValues(),this.saveDataOnComplete(e,t),this.setCookie(),!0):(this.isCompleted=!1,!1)},t.prototype.saveDataOnComplete=function(e,t){var n=this;void 0===e&&(e=!1);var o=this.hasCookie,i=function(e){l=!0,n.setCompletedState("saving",e)},r=function(e){n.setCompletedState("error",e)},a=function(e){n.setCompletedState("success",e),n.navigateTo()},s=function(e){n.setCompletedState("","")},l=!1,u={isCompleteOnTrigger:e,completeTrigger:t,showSaveInProgress:i,showSaveError:r,showSaveSuccess:a,clearSaveMessages:s,showDataSaving:i,showDataSavingError:r,showDataSavingSuccess:a,showDataSavingClear:s};this.onComplete.fire(this,u),!o&&this.surveyPostId&&this.sendResult(),l||this.navigateTo()},t.prototype.checkOnCompletingEvent=function(e,t){var n={allowComplete:!0,allow:!0,isCompleteOnTrigger:e,completeTrigger:t};return this.onCompleting.fire(this,n),n.allowComplete&&n.allow},t.prototype.start=function(){return!!this.firstPageIsStarted&&(this.isCurrentPageRendering=!0,!this.checkIsPageHasErrors(this.startedPage,!0)&&(this.isStartedState=!1,this.notifyQuestionsOnHidingContent(this.pages[0]),this.startTimerFromUI(),this.onStarted.fire(this,{}),this.updateVisibleIndexes(),this.currentPageNo=0,this.currentPage&&this.currentPage.locStrsChanged(),!0))},Object.defineProperty(t.prototype,"isValidatingOnServer",{get:function(){return this.getPropertyValue("isValidatingOnServer",!1)},enumerable:!1,configurable:!0}),t.prototype.setIsValidatingOnServer=function(e){e!=this.isValidatingOnServer&&(this.setPropertyValue("isValidatingOnServer",e),this.onIsValidatingOnServerChanged())},t.prototype.createServerValidationOptions=function(e,t,n){var o=this,i={data:{},errors:{},survey:this,complete:function(){o.completeServerValidation(i,t,n)}};if(e&&this.isValidateOnComplete)i.data=this.data;else for(var r=this.activePage.questions,a=0;a<r.length;a++){var s=r[a];if(s.visible){var l=this.getValue(s.getValueName());this.isValueEmpty(l)||(i.data[s.getValueName()]=l)}}return i},t.prototype.onIsValidatingOnServerChanged=function(){},t.prototype.doServerValidation=function(e,t,n){var o=this;if(void 0===t&&(t=!1),!this.onServerValidateQuestions||this.onServerValidateQuestions.isEmpty)return!1;if(!e&&this.isValidateOnComplete)return!1;this.setIsValidatingOnServer(!0);var i="function"==typeof this.onServerValidateQuestions;return this.serverValidationEventCount=i?1:this.onServerValidateQuestions.length,i?this.onServerValidateQuestions(this,this.createServerValidationOptions(e,t,n)):this.onServerValidateQuestions.fireByCreatingOptions(this,(function(){return o.createServerValidationOptions(e,t,n)})),!0},t.prototype.completeServerValidation=function(e,t,n){if(!(this.serverValidationEventCount>1&&(this.serverValidationEventCount--,e&&e.errors&&0===Object.keys(e.errors).length))&&(this.serverValidationEventCount=0,this.setIsValidatingOnServer(!1),e||e.survey)){var o=e.survey,i=!1;if(e.errors){var r=this.focusOnFirstError;for(var a in e.errors){var s=o.getQuestionByName(a);s&&s.errors&&(i=!0,s.addError(new yn(e.errors[a],this)),r&&(r=!1,s.page&&(this.currentPage=s.page),s.focus(!0)))}this.fireValidatedErrorsOnPage(this.currentPage)}i||(t?this.showPreviewCore():n?this.currentPage=n:o.isLastPage?o.doComplete():o.doNextPage())}},t.prototype.doNextPage=function(){var e=this.currentPage;if(this.checkOnPageTriggers(!1),this.isCompleted)this.doComplete(!0);else if(this.sendResultOnPageNext&&this.sendResult(this.surveyPostId,this.clientId,!0),e===this.currentPage){var t=this.visiblePages,n=t.indexOf(this.currentPage);this.currentPage=t[n+1]}},t.prototype.setCompleted=function(e){this.doComplete(!0,e)},t.prototype.canBeCompleted=function(e,t){var n;if(tn.triggers.changeNavigationButtonsOnComplete){var o=this.canBeCompletedByTrigger;this.completedByTriggers||(this.completedByTriggers={}),t?this.completedByTriggers[e.id]={trigger:e,pageId:null===(n=this.currentPage)||void 0===n?void 0:n.id}:delete this.completedByTriggers[e.id],o!==this.canBeCompletedByTrigger&&this.updateButtonsVisibility()}},Object.defineProperty(t.prototype,"canBeCompletedByTrigger",{get:function(){var e;if(!this.completedByTriggers)return!1;var t=Object.keys(this.completedByTriggers);if(0===t.length)return!1;var n=null===(e=this.currentPage)||void 0===e?void 0:e.id;if(!n)return!0;for(var o=0;o<t.length;o++)if(n===this.completedByTriggers[t[o]].pageId)return!0;return!1},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"completedTrigger",{get:function(){if(this.canBeCompletedByTrigger){var e=Object.keys(this.completedByTriggers)[0];return this.completedByTriggers[e].trigger}},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"processedCompletedHtml",{get:function(){var e=this.renderedCompletedHtml;return e?this.processHtml(e,"completed"):""},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"processedCompletedBeforeHtml",{get:function(){return this.locCompletedBeforeHtml.textOrHtml},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"processedLoadingHtml",{get:function(){return this.locLoadingHtml.textOrHtml},enumerable:!1,configurable:!0}),t.prototype.getProgressInfo=function(){var e=this.isDesignMode?this.pages:this.visiblePages;return yt.getProgressInfoByElements(e,!1)},Object.defineProperty(t.prototype,"progressText",{get:function(){var e=this.getPropertyValue("progressText","");return e||(this.updateProgressText(),e=this.getPropertyValue("progressText","")),e},enumerable:!1,configurable:!0}),t.prototype.updateProgressText=function(e){void 0===e&&(e=!1),this.isCalculatingProgressText||this.isShowingPreview||e&&"pages"==this.progressBarType&&this.onGetProgressText.isEmpty||(this.isCalculatingProgressText=!0,this.setPropertyValue("progressText",this.getProgressText()),this.setPropertyValue("progressValue",this.getProgress()),this.isCalculatingProgressText=!1)},t.prototype.getProgressText=function(){if(!this.isDesignMode&&null==this.currentPage)return"";var e={questionCount:0,answeredQuestionCount:0,requiredQuestionCount:0,requiredAnsweredQuestionCount:0,text:""},t=this.progressBarType.toLowerCase();if("questions"===t||"requiredquestions"===t||"correctquestions"===t||!this.onGetProgressText.isEmpty){var n=this.getProgressInfo();e.questionCount=n.questionCount,e.answeredQuestionCount=n.answeredQuestionCount,e.requiredQuestionCount=n.requiredQuestionCount,e.requiredAnsweredQuestionCount=n.requiredAnsweredQuestionCount}return e.text=this.getProgressTextCore(e),this.onGetProgressText.fire(this,e),e.text},t.prototype.getProgressTextCore=function(e){var t=this.progressBarType.toLowerCase();if("questions"===t)return this.getLocalizationFormatString("questionsProgressText",e.answeredQuestionCount,e.questionCount);if("requiredquestions"===t)return this.getLocalizationFormatString("questionsProgressText",e.requiredAnsweredQuestionCount,e.requiredQuestionCount);if("correctquestions"===t){var n=this.getCorrectedAnswerCount();return this.getLocalizationFormatString("questionsProgressText",n,e.questionCount)}var o=this.isDesignMode?this.pages:this.visiblePages,i=o.indexOf(this.currentPage)+1;return this.getLocalizationFormatString("progressText",i,o.length)},t.prototype.getRootCss=function(){return(new Ae).append(this.css.root).append(this.css.rootProgress+"--"+this.progressBarType).append(this.css.rootMobile,this.isMobile).append(this.css.rootAnimationDisabled,!tn.animationEnabled).append(this.css.rootReadOnly,"display"===this.mode&&!this.isDesignMode).append(this.css.rootCompact,this.isCompact).append(this.css.rootFitToContainer,this.fitToContainer).toString()},t.prototype.afterRenderSurvey=function(e){var t=this;this.destroyResizeObserver(),Array.isArray(e)&&(e=yt.GetFirstNonTextElement(e));var n=e,o=this.css.variables;if(o){var i=Number.parseFloat(s.getComputedStyle(n).getPropertyValue(o.mobileWidth));if(i){var r=!1;this.resizeObserver=new ResizeObserver((function(e){a.requestAnimationFrame((function(){r=!(r||!Wt(n))&&t.processResponsiveness(n.offsetWidth,i,n.offsetHeight)}))})),this.resizeObserver.observe(n)}}this.onAfterRenderSurvey.fire(this,{survey:this,htmlElement:e}),this.rootElement=e,this.addScrollEventListener()},t.prototype.beforeDestroySurveyElement=function(){this.destroyResizeObserver(),this.removeScrollEventListener(),this.rootElement=void 0},t.prototype.processResponsiveness=function(e,t,n){var o=e<t,i=this.isMobile!==o;this.setIsMobile(o),this.layoutElements.forEach((function(t){return t.processResponsiveness&&t.processResponsiveness(e)}));var r={height:n,width:e};return this.onResize.fire(this,r),i},t.prototype.triggerResponsiveness=function(e){this.getAllQuestions().forEach((function(t){t.triggerResponsiveness(e)}))},t.prototype.destroyResizeObserver=function(){this.resizeObserver&&(this.resizeObserver.disconnect(),this.resizeObserver=void 0)},t.prototype.updateQuestionCssClasses=function(e,t){this.onUpdateQuestionCssClasses.fire(this,{question:e,cssClasses:t})},t.prototype.updatePanelCssClasses=function(e,t){this.onUpdatePanelCssClasses.fire(this,{panel:e,cssClasses:t})},t.prototype.updatePageCssClasses=function(e,t){this.onUpdatePageCssClasses.fire(this,{page:e,cssClasses:t})},t.prototype.updateChoiceItemCss=function(e,t){t.question=e,this.onUpdateChoiceItemCss.fire(this,t)},t.prototype.afterRenderPage=function(e){var t=this;if(!this.isDesignMode&&!this.focusingQuestionInfo){var n=!1===this.isCurrentPageRendered;setTimeout((function(){return t.scrollToTopOnPageChange(n)}),1)}this.focusQuestionInfo(),this.isCurrentPageRendered=!0,this.onAfterRenderPage.isEmpty||this.onAfterRenderPage.fire(this,{page:this.activePage,htmlElement:e})},t.prototype.afterRenderHeader=function(e){this.onAfterRenderHeader.isEmpty||this.onAfterRenderHeader.fire(this,{htmlElement:e})},t.prototype.afterRenderQuestion=function(e,t){this.onAfterRenderQuestion.fire(this,{question:e,htmlElement:t})},t.prototype.afterRenderQuestionInput=function(e,t){if(!this.onAfterRenderQuestionInput.isEmpty){var n=e.inputId,o=tn.environment.root;if(n&&(!t||t.id!==n)&&void 0!==o){var i=o.getElementById(n);i&&(t=i)}this.onAfterRenderQuestionInput.fire(this,{question:e,htmlElement:t})}},t.prototype.afterRenderPanel=function(e,t){this.onAfterRenderPanel.fire(this,{panel:e,htmlElement:t})},t.prototype.whenQuestionFocusIn=function(e){this.onFocusInQuestion.fire(this,{question:e})},t.prototype.whenPanelFocusIn=function(e){this.onFocusInPanel.fire(this,{panel:e})},t.prototype.rebuildQuestionChoices=function(){this.getAllQuestions().forEach((function(e){return e.surveyChoiceItemVisibilityChange()}))},t.prototype.canChangeChoiceItemsVisibility=function(){return!this.onShowingChoiceItem.isEmpty},t.prototype.getChoiceItemVisibility=function(e,t,n){var o={question:e,item:t,visible:n};return this.onShowingChoiceItem.fire(this,o),o.visible},t.prototype.loadQuestionChoices=function(e){this.onChoicesLazyLoad.fire(this,e)},t.prototype.getChoiceDisplayValue=function(e){this.onGetChoiceDisplayValue.isEmpty?e.setItems(null):this.onGetChoiceDisplayValue.fire(this,e)},t.prototype.matrixBeforeRowAdded=function(e){this.onMatrixRowAdding.fire(this,e)},t.prototype.matrixRowAdded=function(e,t){this.onMatrixRowAdded.fire(this,{question:e,row:t})},t.prototype.matrixColumnAdded=function(e,t){this.onMatrixColumnAdded.fire(this,{question:e,column:t})},t.prototype.multipleTextItemAdded=function(e,t){this.onMultipleTextItemAdded.fire(this,{question:e,item:t})},t.prototype.getQuestionByValueNameFromArray=function(e,t,n){var o=this.getQuestionsByValueName(e);if(o){for(var i=0;i<o.length;i++){var r=o[i].getQuestionFromArray(t,n);if(r)return r}return null}},t.prototype.matrixRowRemoved=function(e,t,n){this.onMatrixRowRemoved.fire(this,{question:e,rowIndex:t,row:n})},t.prototype.matrixRowRemoving=function(e,t,n){var o={question:e,rowIndex:t,row:n,allow:!0};return this.onMatrixRowRemoving.fire(this,o),o.allow},t.prototype.matrixAllowRemoveRow=function(e,t,n){var o={question:e,rowIndex:t,row:n,allow:!0};return this.onMatrixRenderRemoveButton.fire(this,o),o.allow},t.prototype.matrixDetailPanelVisibleChanged=function(e,t,n,o){var i={question:e,rowIndex:t,row:n,visible:o,detailPanel:n.detailPanel};this.onMatrixDetailPanelVisibleChanged.fire(this,i)},t.prototype.matrixCellCreating=function(e,t){t.question=e,this.onMatrixCellCreating.fire(this,t)},t.prototype.matrixCellCreated=function(e,t){t.question=e,this.onMatrixCellCreated.fire(this,t)},t.prototype.matrixAfterCellRender=function(e,t){t.question=e,this.onAfterRenderMatrixCell.fire(this,t)},t.prototype.matrixCellValueChanged=function(e,t){t.question=e,this.onMatrixCellValueChanged.fire(this,t)},t.prototype.matrixCellValueChanging=function(e,t){t.question=e,this.onMatrixCellValueChanging.fire(this,t)},Object.defineProperty(t.prototype,"isValidateOnValueChanging",{get:function(){return"onValueChanging"===this.checkErrorsMode},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isValidateOnValueChanged",{get:function(){return"onValueChanged"===this.checkErrorsMode},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isValidateOnValueChange",{get:function(){return this.isValidateOnValueChanged||this.isValidateOnValueChanging},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isValidateOnComplete",{get:function(){return"onComplete"===this.checkErrorsMode||this.validationAllowSwitchPages&&!this.validationAllowComplete},enumerable:!1,configurable:!0}),t.prototype.matrixCellValidate=function(e,t){return t.question=e,this.onMatrixCellValidate.fire(this,t),t.error?new yn(t.error,this):null},t.prototype.dynamicPanelAdded=function(e,t,n,o){!this.isLoadingFromJson&&o&&this.updateVisibleIndexes(e.page),this.onDynamicPanelAdded.fire(this,{question:e,panel:n,panelIndex:t})},t.prototype.dynamicPanelRemoved=function(e,t,n,o){for(var i=n?n.questions:[],r=0;r<i.length;r++)i[r].clearOnDeletingContainer();o&&this.updateVisibleIndexes(e.page),this.onDynamicPanelRemoved.fire(this,{question:e,panelIndex:t,panel:n})},t.prototype.dynamicPanelRemoving=function(e,t,n){var o={question:e,panelIndex:t,panel:n,allow:!0};return this.onDynamicPanelRemoving.fire(this,o),o.allow},t.prototype.dynamicPanelItemValueChanged=function(e,t){t.question=e,this.onDynamicPanelValueChanged.fire(this,t)},t.prototype.dynamicPanelItemValueChanging=function(e,t){t.question=e,this.onDynamicPanelValueChanging.fire(this,t)},t.prototype.dynamicPanelGetTabTitle=function(e,t){t.question=e,this.onGetDynamicPanelTabTitle.fire(this,t)},t.prototype.dynamicPanelCurrentIndexChanged=function(e,t){t.question=e,this.onDynamicPanelCurrentIndexChanged.fire(this,t)},t.prototype.dragAndDropAllow=function(e){return this.onDragDropAllow.fire(this,e),e.allow},t.prototype.elementContentVisibilityChanged=function(e){this.currentPage&&this.currentPage.ensureRowsVisibility(),this.onElementContentVisibilityChanged.fire(this,{element:e})},t.prototype.getUpdatedPanelFooterActions=function(e,t,n){var o={question:n,panel:e,actions:t};return this.onGetPanelFooterActions.fire(this,o),o.actions},t.prototype.getUpdatedElementTitleActions=function(e,t){return e.isPage?this.getUpdatedPageTitleActions(e,t):e.isPanel?this.getUpdatedPanelTitleActions(e,t):this.getUpdatedQuestionTitleActions(e,t)},t.prototype.getTitleActionsResult=function(e,t){return e!=t.actions?t.actions:e!=t.titleActions?t.titleActions:e},t.prototype.getUpdatedQuestionTitleActions=function(e,t){var n={question:e,actions:t,titleActions:t};return this.onGetQuestionTitleActions.fire(this,n),this.getTitleActionsResult(t,n)},t.prototype.getUpdatedPanelTitleActions=function(e,t){var n={panel:e,actions:t,titleActions:t};return this.onGetPanelTitleActions.fire(this,n),this.getTitleActionsResult(t,n)},t.prototype.getUpdatedPageTitleActions=function(e,t){var n={page:e,actions:t,titleActions:t};return this.onGetPageTitleActions.fire(this,n),this.getTitleActionsResult(t,n)},t.prototype.getUpdatedMatrixRowActions=function(e,t,n){var o={question:e,actions:n,row:t};return this.onGetMatrixRowActions.fire(this,o),o.actions},t.prototype.scrollElementToTop=function(e,t,n,o,i,r,a,s){var l=this,u={element:e,question:t,page:n,elementId:o,cancel:!1,allow:!0};if(this.onScrollToTop.fire(this,u),!u.cancel&&u.allow){var c=this.getPageByElement(e);if(this.isLazyRendering&&c){var p=1,d=tn.environment.rootElement,h=this.rootElement||a||d;this.skeletonHeight&&h&&"function"==typeof h.getBoundingClientRect&&(p=h.getBoundingClientRect().height/this.skeletonHeight-1),c.forceRenderElement(e,(function(){l.suspendLazyRendering(),yt.ScrollElementToTop(u.elementId,i,r,(function(){l.releaseLazyRendering(),St(c.id),s&&s()}))}),p)}else if(e.isPage&&!this.isSinglePage&&!this.isDesignMode&&this.rootElement){var m=this.rootElement.querySelector(Qt(this.css.rootWrapper));yt.ScrollElementToViewCore(m,!1,i,r,s)}else yt.ScrollElementToTop(u.elementId,i,r,s)}},t.prototype.chooseFiles=function(e,t,n){this.onOpenFileChooser.isEmpty?Zt(e,t):this.onOpenFileChooser.fire(this,{input:e,element:n&&n.element||this.survey,elementType:n&&n.elementType,item:n&&n.item,propertyName:n&&n.propertyName,callback:t,context:n})},t.prototype.uploadFiles=function(e,t,n,o){var i=this;this.onUploadFiles.isEmpty?o("error",this.getLocString("noUploadFilesHandler")):this.taskManager.runTask("file",(function(r){i.onUploadFiles.fire(i,{question:e,name:t,files:n||[],callback:function(e,t){o(e,t),r()}})})),this.surveyPostId&&this.uploadFilesCore(t,n,o)},t.prototype.downloadFile=function(e,t,n,o){this.onDownloadFile.isEmpty&&o&&o("skipped",n.content||n),this.onDownloadFile.fire(this,{question:e,name:t,content:n.content||n,fileValue:n,callback:o})},t.prototype.clearFiles=function(e,t,n,o,i){this.onClearFiles.isEmpty&&i&&i("success",n),this.onClearFiles.fire(this,{question:e,name:t,value:n,fileName:o,callback:i})},t.prototype.updateChoicesFromServer=function(e,t,n){var o={question:e,choices:t,serverResult:n};return this.onLoadChoicesFromServer.fire(this,o),o.choices},t.prototype.loadedChoicesFromServer=function(e){this.locStrsChanged()},t.prototype.createSurveyService=function(){return new ii},t.prototype.uploadFilesCore=function(e,t,n){var o=this,i=[];t.forEach((function(e){n&&n("uploading",e),o.createSurveyService().sendFile(o.surveyPostId,e,(function(o,r){o?(i.push({content:r,file:e}),i.length===t.length&&n&&n("success",i)):n&&n("error",{response:r,file:e})}))}))},t.prototype.getPage=function(e){return this.pages[e]},t.prototype.addPage=function(e,t){void 0===t&&(t=-1),null!=e&&(t<0||t>=this.pages.length?this.pages.push(e):this.pages.splice(t,0,e))},t.prototype.addNewPage=function(e,t){void 0===e&&(e=null),void 0===t&&(t=-1);var n=this.createNewPage(e);return this.addPage(n,t),n},t.prototype.removePage=function(e){var t=this.pages.indexOf(e);t<0||(this.pages.splice(t,1),this.currentPage==e&&(this.currentPage=this.pages.length>0?this.pages[0]:null))},t.prototype.getQuestionByName=function(e,t){if(void 0===t&&(t=!1),!e)return null;t&&(e=e.toLowerCase());var n=(t?this.questionHashes.namesInsensitive:this.questionHashes.names)[e];return n?n[0]:null},t.prototype.findQuestionByName=function(e){return this.getQuestionByName(e)},t.prototype.getEditingSurveyElement=function(){return this.editingObjValue},t.prototype.getQuestionByValueName=function(e,t){void 0===t&&(t=!1);var n=this.getQuestionsByValueName(e,t);return n?n[0]:null},t.prototype.getQuestionsByValueName=function(e,t){void 0===t&&(t=!1);var n=(t?this.questionHashes.valueNamesInsensitive:this.questionHashes.valueNames)[e];return n||null},t.prototype.getCalculatedValueByName=function(e){for(var t=0;t<this.calculatedValues.length;t++)if(e==this.calculatedValues[t].name)return this.calculatedValues[t];return null},t.prototype.getQuestionsByNames=function(e,t){void 0===t&&(t=!1);var n=[];if(!e)return n;for(var o=0;o<e.length;o++)if(e[o]){var i=this.getQuestionByName(e[o],t);i&&n.push(i)}return n},t.prototype.getPageByElement=function(e){for(var t=0;t<this.pages.length;t++){var n=this.pages[t];if(n.containsElement(e))return n}return null},t.prototype.getPageByQuestion=function(e){return this.getPageByElement(e)},t.prototype.getPageByName=function(e){for(var t=0;t<this.pages.length;t++)if(this.pages[t].name==e)return this.pages[t];return null},t.prototype.getPagesByNames=function(e){var t=[];if(!e)return t;for(var n=0;n<e.length;n++)if(e[n]){var o=this.getPageByName(e[n]);o&&t.push(o)}return t},t.prototype.getAllQuestions=function(e,t,n){(void 0===e&&(e=!1),void 0===t&&(t=!1),void 0===n&&(n=!1),n)&&(t=!1,(e?this.visiblePages:this.pages).forEach((function(e){return e.onFirstRendering()})));for(var o=[],i=0;i<this.pages.length;i++)this.pages[i].addQuestionsToList(o,e,t);return n?this.getNestedQuestionsByQuestionArray(o,e):o},t.prototype.getNestedQuestionsByQuestionArray=function(e,t){var n=[];return e.forEach((function(e){e.getNestedQuestions(t,!0).forEach((function(e){return n.push(e)}))})),n},t.prototype.getQuizQuestions=function(){for(var e=new Array,t=this.getPageStartIndex();t<this.pages.length;t++)if(this.pages[t].isVisible)for(var n=this.pages[t].questions,o=0;o<n.length;o++){var i=n[o];i.quizQuestionCount>0&&e.push(i)}return e},t.prototype.getPanelByName=function(e,t){void 0===t&&(t=!1);var n=this.getAllPanels();t&&(e=e.toLowerCase());for(var o=0;o<n.length;o++){var i=n[o].name;if(t&&(i=i.toLowerCase()),i==e)return n[o]}return null},t.prototype.getAllPanels=function(e,t){void 0===e&&(e=!1),void 0===t&&(t=!1);for(var n=new Array,o=0;o<this.pages.length;o++)this.pages[o].addPanelsIntoList(n,e,t);return n},t.prototype.createNewPage=function(e){var t=L.createClass("page");return t.name=e,t},t.prototype.getValueChangeReason=function(){return this.isSettingValueOnExpression?"expression":this.isSettingValueFromTrigger?"trigger":void 0},t.prototype.questionOnValueChanging=function(e,t,n){if(this.editingObj){var o=L.findProperty(this.editingObj.getType(),e);o&&(t=o.settingValue(this.editingObj,t))}if(this.onValueChanging.isEmpty)return t;var i={name:e,question:this.getQuestionByValueName(n||e),value:this.getUnbindValue(t),oldValue:this.getValue(e),reason:this.getValueChangeReason()};return this.onValueChanging.fire(this,i),i.value},t.prototype.getLocNotification=function(e,t,n){return e||u.isTwoValueEquals(t,n,!1,!0,!1)},t.prototype.updateQuestionValue=function(e,t){if(!this.isLoadingFromJson){var n=this.getQuestionsByValueName(e);if(n)for(var o=0;o<n.length;o++){var i=n[o].value;(i===t&&Array.isArray(i)&&this.editingObj||!this.isTwoValueEquals(i,t))&&n[o].updateValueFromSurvey(t,!1)}}},t.prototype.checkQuestionErrorOnValueChanged=function(e){!this.isNavigationButtonPressed&&(this.isValidateOnValueChanged||e.getAllErrors().length>0)&&this.checkQuestionErrorOnValueChangedCore(e)},t.prototype.checkQuestionErrorOnValueChangedCore=function(e){var t=e.getAllErrors().length,n=!e.validate(!0,{isOnValueChanged:!this.isValidateOnValueChanging});return e.page&&this.isValidateOnValueChange&&(t>0||e.getAllErrors().length>0)&&this.fireValidatedErrorsOnPage(e.page),n},t.prototype.checkErrorsOnValueChanging=function(e,t){if(this.isLoadingFromJson)return!1;var n=this.getQuestionsByValueName(e);if(!n)return!1;for(var o=!1,i=0;i<n.length;i++){var r=n[i];this.isTwoValueEquals(r.valueForSurvey,t)||(r.value=t),this.checkQuestionErrorOnValueChangedCore(r)&&(o=!0),o=o||r.errors.length>0}return o},t.prototype.fireOnValueChanged=function(e,t,n){this.onValueChanged.fire(this,{name:e,question:n,value:t,reason:this.getValueChangeReason()})},t.prototype.notifyQuestionOnValueChanged=function(e,t,n){if(!this.isLoadingFromJson){var o=this.getQuestionsByValueName(e);if(o)for(var i=0;i<o.length;i++){var r=o[i];this.checkQuestionErrorOnValueChanged(r),r.onSurveyValueChanged(t)}this.updateProgressText(!0),this.fireOnValueChanged(e,t,n?this.getQuestionByName(n):void 0),this.isDisposed||(this.checkElementsBindings(e,t),this.notifyElementsOnAnyValueOrVariableChanged(e,n))}},t.prototype.checkElementsBindings=function(e,t){this.isRunningElementsBindings=!0;for(var n=0;n<this.pages.length;n++)this.pages[n].checkBindings(e,t);this.isRunningElementsBindings=!1,this.updateVisibleIndexAfterBindings&&(this.updateVisibleIndexes(),this.updateVisibleIndexAfterBindings=!1)},t.prototype.notifyElementsOnAnyValueOrVariableChanged=function(e,t){if("processing"!==this.isEndLoadingFromJson)if(this.isRunningConditions)this.conditionNotifyElementsOnAnyValueOrVariableChanged=!0;else{for(var n=0;n<this.pages.length;n++)this.pages[n].onAnyValueChanged(e,t);this.isEndLoadingFromJson||this.locStrsChanged()}},t.prototype.updateAllQuestionsValue=function(e){for(var t=this.getAllQuestions(),n=0;n<t.length;n++){var o=t[n],i=o.getValueName();o.updateValueFromSurvey(this.getValue(i),e),o.requireUpdateCommentValue&&o.updateCommentFromSurvey(this.getComment(i))}},t.prototype.notifyAllQuestionsOnValueChanged=function(){for(var e=this.getAllQuestions(),t=0;t<e.length;t++)e[t].onSurveyValueChanged(this.getValue(e[t].getValueName()))},t.prototype.checkOnPageTriggers=function(e){for(var t=this.getCurrentPageQuestions(!0),n={},o=0;o<t.length;o++){var i=t[o].getValueName();n[i]=this.getValue(i)}this.addCalculatedValuesIntoFilteredValues(n),this.checkTriggers(n,!0,e)},t.prototype.getCurrentPageQuestions=function(e){void 0===e&&(e=!1);var t=[],n=this.currentPage;if(!n)return t;for(var o=0;o<n.questions.length;o++){var i=n.questions[o];(e||i.visible)&&i.name&&t.push(i)}return t},t.prototype.checkTriggers=function(e,t,n,o,i){if(void 0===n&&(n=!1),void 0===o&&(o=!1),!this.isCompleted&&0!=this.triggers.length&&!this.isDisplayMode)if(this.isTriggerIsRunning)for(var r in this.triggerValues=this.getFilteredValues(),e)this.triggerKeys[r]=e[r];else{var a=!1;if(!n&&i&&this.hasRequiredValidQuestionTrigger){var s=this.getQuestionByValueName(i);a=s&&!s.validate(!1)}this.isTriggerIsRunning=!0,this.triggerKeys=e,this.triggerValues=this.getFilteredValues();for(var l=this.getFilteredProperties(),u=this.canBeCompletedByTrigger,c=0;c<this.triggers.length;c++){var p=this.triggers[c];if(!a||!p.requireValidQuestion){var d={isOnNextPage:t,isOnComplete:n,isOnNavigation:o,keys:this.triggerKeys,values:this.triggerValues,properties:l};p.checkExpression(d)}}u!==this.canBeCompletedByTrigger&&this.updateButtonsVisibility(),this.isTriggerIsRunning=!1}},t.prototype.checkTriggersAndRunConditions=function(e,t,n){var o={};o[e]={newValue:t,oldValue:n},this.runConditionOnValueChanged(e,t),this.checkTriggers(o,!1,!1,!1,e)},Object.defineProperty(t.prototype,"hasRequiredValidQuestionTrigger",{get:function(){for(var e=0;e<this.triggers.length;e++)if(this.triggers[e].requireValidQuestion)return!0;return!1},enumerable:!1,configurable:!0}),t.prototype.doElementsOnLoad=function(){for(var e=0;e<this.pages.length;e++)this.pages[e].onSurveyLoad()},Object.defineProperty(t.prototype,"isRunningConditions",{get:function(){return!!this.conditionValues},enumerable:!1,configurable:!0}),t.prototype.runExpressions=function(){this.runConditions()},t.prototype.runConditions=function(){if(!this.isCompleted&&"processing"!==this.isEndLoadingFromJson&&!this.isRunningConditions){this.conditionValues=this.getFilteredValues();var e=this.getFilteredProperties(),t=this.pages.indexOf(this.currentPage);this.runConditionsCore(e),this.checkIfNewPagesBecomeVisible(t),this.conditionValues=null,this.isValueChangedOnRunningCondition&&this.conditionRunnerCounter<tn.maxConditionRunCountOnValueChanged?(this.isValueChangedOnRunningCondition=!1,this.conditionRunnerCounter++,this.runConditions()):(this.isValueChangedOnRunningCondition=!1,this.conditionRunnerCounter=0,this.conditionUpdateVisibleIndexes&&(this.conditionUpdateVisibleIndexes=!1,this.updateVisibleIndexes()),this.conditionNotifyElementsOnAnyValueOrVariableChanged&&(this.conditionNotifyElementsOnAnyValueOrVariableChanged=!1,this.notifyElementsOnAnyValueOrVariableChanged("")))}},t.prototype.runConditionOnValueChanged=function(e,t){this.questionTriggersKeys||(this.questionTriggersKeys={}),this.questionTriggersKeys[e]=t,this.isRunningConditions?this.isValueChangedOnRunningCondition=!0:(this.runConditions(),this.runQuestionsTriggers(e,t),this.questionTriggersKeys=void 0)},t.prototype.runConditionsCore=function(t){for(var n=this.pages,o=0;o<this.calculatedValues.length;o++)this.calculatedValues[o].resetCalculation();for(o=0;o<this.calculatedValues.length;o++)this.calculatedValues[o].doCalculation(this.calculatedValues,this.conditionValues,t);e.prototype.runConditionCore.call(this,this.conditionValues,t);for(var i=0;i<n.length;i++)n[i].runCondition(this.conditionValues,t)},t.prototype.runQuestionsTriggers=function(e,t){var n=this;this.isDisplayMode||this.isDesignMode||this.getAllQuestions().forEach((function(o){o.runTriggers(e,t,n.questionTriggersKeys)}))},t.prototype.checkIfNewPagesBecomeVisible=function(e){var t=this.pages.indexOf(this.currentPage);if(!(t<=e+1))for(var n=e+1;n<t;n++)if(this.pages[n].isVisible){this.currentPage=this.pages[n];break}},t.prototype.sendResult=function(e,t,n){var o=this;if(void 0===e&&(e=null),void 0===t&&(t=null),void 0===n&&(n=!1),this.isEditMode&&(n&&this.onPartialSend&&this.onPartialSend.fire(this,null),!e&&this.surveyPostId&&(e=this.surveyPostId),e&&(t&&(this.clientId=t),!n||this.clientId))){var i=this.createSurveyService();i.locale=this.getLocale();var r=this.surveyShowDataSaving||!n&&i.isSurveJSIOService;r&&this.setCompletedState("saving",""),i.sendResult(e,this.data,(function(e,t,n){(r||i.isSurveJSIOService)&&(e?o.setCompletedState("success",""):o.setCompletedState("error",t));var a={success:e,response:t,request:n};o.onSendResult.fire(o,a)}),this.clientId,n)}},t.prototype.getResult=function(e,t){var n=this;this.createSurveyService().getResult(e,t,(function(e,t,o,i){n.onGetResult.fire(n,{success:e,data:t,dataList:o,response:i})}))},t.prototype.loadSurveyFromService=function(e,t){void 0===e&&(e=null),void 0===t&&(t=null),e&&(this.surveyId=e),t&&(this.clientId=t);var n=this;this.isLoading=!0,this.onLoadingSurveyFromService(),t?this.createSurveyService().getSurveyJsonAndIsCompleted(this.surveyId,this.clientId,(function(e,t,o,i){e&&(n.isCompletedBefore="completed"==o,n.loadSurveyFromServiceJson(t)),n.isLoading=!1})):this.createSurveyService().loadSurvey(this.surveyId,(function(e,t,o){e&&n.loadSurveyFromServiceJson(t),n.isLoading=!1}))},t.prototype.loadSurveyFromServiceJson=function(e){e&&(this.fromJSON(e),this.notifyAllQuestionsOnValueChanged(),this.onLoadSurveyFromService(),this.onLoadedSurveyFromService.fire(this,{}))},t.prototype.onLoadingSurveyFromService=function(){},t.prototype.onLoadSurveyFromService=function(){},t.prototype.resetVisibleIndexes=function(){for(var e=this.getAllQuestions(!0),t=0;t<e.length;t++)e[t].setVisibleIndex(-1);this.updateVisibleIndexes()},t.prototype.updateVisibleIndexes=function(e){this.isLoadingFromJson||this.isEndLoadingFromJson||(this.isRunningConditions&&this.onQuestionVisibleChanged.isEmpty&&this.onPageVisibleChanged.isEmpty?this.conditionUpdateVisibleIndexes=!0:this.isRunningElementsBindings?this.updateVisibleIndexAfterBindings=!0:(this.updatePageVisibleIndexes(),this.updatePageElementsVisibleIndexes(e),this.updateProgressText(!0)))},t.prototype.updatePageElementsVisibleIndexes=function(e){if("onPage"==this.showQuestionNumbers)for(var t=e?[e]:this.visiblePages,n=0;n<t.length;n++)t[n].setVisibleIndex(0);else for(var o=this.getStartVisibleIndex(),i=0;i<this.pages.length;i++)o+=this.pages[i].setVisibleIndex(o)},t.prototype.getStartVisibleIndex=function(){return"on"==this.showQuestionNumbers?0:-1},t.prototype.updatePageVisibleIndexes=function(){this.updateButtonsVisibility();for(var e=0,t=0;t<this.pages.length;t++){var n=this.pages[t],o=n.isVisible&&(t>0||!n.isStartPage);n.visibleIndex=o?e++:-1,n.num=o?n.visibleIndex+1:-1}},t.prototype.fromJSON=function(e,t){if(e){this.questionHashesClear(),this.jsonErrors=null,this.sjsVersion=void 0;var n=new q;n.toObject(e,this,t),n.errors.length>0&&(this.jsonErrors=n.errors),this.onStateAndCurrentPageChanged(),this.updateState(),this.sjsVersion&&tn.version&&u.compareVerions(this.sjsVersion,tn.version)>0&&j.warn("The version of the survey JSON schema (v"+this.sjsVersion+") is newer than your current Form Library version ("+tn.version+"). Please update the Form Library to make sure that all survey features work as expected.")}},t.prototype.startLoadingFromJson=function(t){e.prototype.startLoadingFromJson.call(this,t),t&&t.locale&&(this.locale=t.locale)},t.prototype.setJsonObject=function(e){this.fromJSON(e)},t.prototype.endLoadingFromJson=function(){this.isEndLoadingFromJson="processing",this.onFirstPageIsStartedChanged(),e.prototype.endLoadingFromJson.call(this),this.hasCookie&&(this.isCompletedBefore=!0),this.doElementsOnLoad(),this.onQuestionsOnPageModeChanged("standard"),this.isEndLoadingFromJson="conditions",this.runConditions(),this.notifyElementsOnAnyValueOrVariableChanged(""),this.isEndLoadingFromJson=null,this.updateVisibleIndexes(),this.updateHasLogo(),this.updateRenderBackgroundImage(),this.updateCurrentPage(),this.hasDescription=!!this.description,this.titleIsEmpty=this.locTitle.isEmpty,this.setCalculatedWidthModeUpdater()},t.prototype.updateNavigationCss=function(){this.navigationBar&&(this.updateNavigationBarCss(),this.updateNavigationItemCssCallback&&this.updateNavigationItemCssCallback())},t.prototype.updateNavigationBarCss=function(){var e=this.navigationBar;e.cssClasses=this.css.actionBar,e.containerCss=this.css.footer},t.prototype.createNavigationBar=function(){var e=new Me;return e.setItems(this.createNavigationActions()),e},t.prototype.createNavigationActions=function(){var e=this,t=new tt({id:"sv-nav-start",visible:new Ve((function(){return e.isShowStartingPage})),visibleIndex:10,locTitle:this.locStartSurveyText,action:function(){return e.start()},component:"sv-nav-btn"}),n=new tt({id:"sv-nav-prev",visible:new Ve((function(){return e.isShowPrevButton})),visibleIndex:20,data:{mouseDown:function(){return e.navigationMouseDown()}},locTitle:this.locPagePrevText,action:function(){return e.performPrevious()},component:"sv-nav-btn"}),o=new tt({id:"sv-nav-next",visible:new Ve((function(){return e.isShowNextButton})),visibleIndex:30,data:{mouseDown:function(){return e.nextPageMouseDown()}},locTitle:this.locPageNextText,action:function(){return e.nextPageUIClick()},component:"sv-nav-btn"}),i=new tt({id:"sv-nav-preview",visible:new Ve((function(){return e.isPreviewButtonVisible})),visibleIndex:40,data:{mouseDown:function(){return e.navigationMouseDown()}},locTitle:this.locPreviewText,action:function(){return e.showPreview()},component:"sv-nav-btn"}),r=new tt({id:"sv-nav-complete",visible:new Ve((function(){return e.isCompleteButtonVisible})),visibleIndex:50,data:{mouseDown:function(){return e.navigationMouseDown()}},locTitle:this.locCompleteText,action:function(){return e.taskManager.waitAndExecute((function(){return e.tryComplete()}))},component:"sv-nav-btn"});return this.updateNavigationItemCssCallback=function(){t.innerCss=e.cssNavigationStart,n.innerCss=e.cssNavigationPrev,o.innerCss=e.cssNavigationNext,i.innerCss=e.cssNavigationPreview,r.innerCss=e.cssNavigationComplete},[t,n,o,i,r]},t.prototype.onBeforeRunConstructor=function(){},t.prototype.onBeforeCreating=function(){},t.prototype.onCreating=function(){},t.prototype.getProcessedTextValue=function(e){if(this.getProcessedTextValueCore(e),!this.onProcessTextValue.isEmpty){var t=this.isValueEmpty(e.value);this.onProcessTextValue.fire(this,e),e.isExists=e.isExists||t&&!this.isValueEmpty(e.value)}},t.prototype.getBuiltInVariableValue=function(e){if("pageno"===e){var t=this.currentPage;return null!=t?this.visiblePages.indexOf(t)+1:0}return"pagecount"===e?this.visiblePageCount:"correctedanswers"===e||"correctanswers"===e||"correctedanswercount"===e?this.getCorrectedAnswerCount():"incorrectedanswers"===e||"incorrectanswers"===e||"incorrectedanswercount"===e?this.getInCorrectedAnswerCount():"questioncount"===e?this.getQuizQuestionCount():void 0},t.prototype.getProcessedTextValueCore=function(e){var t=e.name.toLocaleLowerCase();if(-1===["no","require","title"].indexOf(t)){var n=this.getBuiltInVariableValue(t);if(void 0!==n)return e.isExists=!0,void(e.value=n);if("locale"===t)return e.isExists=!0,void(e.value=this.locale?this.locale:p.defaultLocale);var o=this.getVariable(t);if(void 0!==o)return e.isExists=!0,void(e.value=o);var i=this.getFirstName(t);if(i){var r=i.useDisplayValuesInDynamicTexts;e.isExists=!0;var a=i.getValueName().toLowerCase();t=(t=a+t.substring(a.length)).toLocaleLowerCase();var s={};return s[a]=e.returnDisplayValue&&r?i.getDisplayValue(!1,void 0):i.value,void(e.value=(new M).getValue(t,s))}this.getProcessedValuesWithoutQuestion(e)}},t.prototype.getProcessedValuesWithoutQuestion=function(e){var t=this.getValue(e.name);if(void 0!==t)return e.isExists=!0,void(e.value=t);var n=new M,o=n.getFirstName(e.name);if(o!==e.name){var i={},r=this.getValue(o);u.isValueEmpty(r)&&(r=this.getVariable(o)),u.isValueEmpty(r)||(i[o]=r,e.value=n.getValue(e.name,i),e.isExists=n.hasValue(e.name,i))}},t.prototype.getFirstName=function(e){var t;e=e.toLowerCase();do{t=this.getQuestionByValueName(e,!0),e=this.reduceFirstName(e)}while(!t&&e);return t},t.prototype.reduceFirstName=function(e){var t=e.lastIndexOf("."),n=e.lastIndexOf("[");if(t<0&&n<0)return"";var o=Math.max(t,n);return e.substring(0,o)},t.prototype.clearUnusedValues=function(){this.isClearingUnsedValues=!0;for(var e=this.getAllQuestions(),t=0;t<e.length;t++)e[t].clearUnusedValues();this.clearInvisibleQuestionValues(),this.isClearingUnsedValues=!1},t.prototype.hasVisibleQuestionByValueName=function(e){var t=e,n=this.getQuestionsByValueName(t.getValueName());if(!Array.isArray(n)||n.length<2)return!1;for(var o=0;o<n.length;o++){var i=n[o];if(i!==t&&i.isVisible&&i.isParentVisible&&!i.parentQuestion&&i.parentQuestion===t.parentQuestion)return!0}return!1},t.prototype.questionsByValueName=function(e){var t=this.getQuestionsByValueName(e);return t||[]},t.prototype.clearInvisibleQuestionValues=function(){for(var e="none"===this.clearInvisibleValues?"none":"onComplete",t=this.getAllQuestions(),n=0;n<t.length;n++)t[n].clearValueIfInvisible(e)},t.prototype.getVariable=function(e){if(!e)return null;e=e.toLowerCase();var t=this.variablesHash[e];return this.isValueEmpty(t)&&(e.indexOf(".")>-1||e.indexOf("[")>-1)&&(new M).hasValue(e,this.variablesHash)?(new M).getValue(e,this.variablesHash):t},t.prototype.setVariable=function(e,t){if(e){var n=this.getVariable(e);this.valuesHash&&delete this.valuesHash[e],e=e.toLowerCase(),this.variablesHash[e]=t,this.notifyElementsOnAnyValueOrVariableChanged(e),u.isTwoValueEquals(n,t)||(this.checkTriggersAndRunConditions(e,t,n),this.onVariableChanged.fire(this,{name:e,value:t}))}},t.prototype.getVariableNames=function(){var e=[];for(var t in this.variablesHash)e.push(t);return e},t.prototype.getUnbindValue=function(e){return this.editingObj?e:u.getUnbindValue(e)},t.prototype.getValue=function(e){if(!e||0==e.length)return null;var t=this.getDataValueCore(this.valuesHash,e);return this.getUnbindValue(t)},t.prototype.setValue=function(e,t,n,o,i){void 0===n&&(n=!1),void 0===o&&(o=!0);var r=t;if(o&&(r=this.questionOnValueChanging(e,t)),(!this.isValidateOnValueChanging||!this.checkErrorsOnValueChanging(e,r))&&(this.editingObj||!this.isValueEqual(e,r)||!this.isTwoValueEquals(r,t))){var a=this.getValue(e);this.isValueEmpyOnSetValue(e,r)?this.deleteDataValueCore(this.valuesHash,e):(r=this.getUnbindValue(r),this.setDataValueCore(this.valuesHash,e,r)),n=this.getLocNotification(n,r,a),this.updateOnSetValue(e,r,a,n,o,i)}},t.prototype.isValueEmpyOnSetValue=function(e,t){return!!this.isValueEmpty(t,!1)&&(!this.editingObj||null==t||this.editingObj.getDefaultPropertyValue(e)===t)},t.prototype.updateOnSetValue=function(e,t,n,o,i,r){void 0===o&&(o=!1),void 0===i&&(i=!0),this.updateQuestionValue(e,t),!0===o||this.isDisposed||this.isRunningElementsBindings||(r=r||e,this.nofifyQuesitonHash[e]=!0,this.checkTriggersAndRunConditions(e,t,n),this.nofifyQuesitonHash[e]&&(i&&this.notifyQuestionOnValueChanged(e,t,r),"text"!==o&&this.tryGoNextPageAutomatic(e),delete this.nofifyQuesitonHash[e]))},t.prototype.isValueEqual=function(e,t){""!==t&&void 0!==t||(t=null);var n=this.getValue(e);return""!==n&&void 0!==n||(n=null),null===t||null===n?t===n:this.isTwoValueEquals(t,n)},t.prototype.doOnPageAdded=function(e){if(e.setSurveyImpl(this),e.name||(e.name=this.generateNewName(this.pages,"page")),this.questionHashesPanelAdded(e),this.updateVisibleIndexes(),!this.runningPages){this.isLoadingFromJson||(this.updateProgressText(),this.updateCurrentPage());var t={page:e};this.onPageAdded.fire(this,t)}},t.prototype.doOnPageRemoved=function(e){e.setSurveyImpl(null),this.runningPages||(e===this.currentPage&&this.updateCurrentPage(),this.updateVisibleIndexes(),this.updateProgressText(),this.updateLazyRenderingRowsOnRemovingElements())},t.prototype.generateNewName=function(e,t){for(var n={},o=0;o<e.length;o++)n[e[o].name]=!0;for(var i=1;n[t+i];)i++;return t+i},t.prototype.tryGoNextPageAutomatic=function(e){var t=this;if(!this.isEndLoadingFromJson&&this.goNextPageAutomatic&&this.currentPage){var n=this.getQuestionByValueName(e);if(n&&(!n||n.visible&&n.supportGoNextPageAutomatic())&&(n.validate(!1)||n.supportGoNextPageError())){if(this.currentSingleElement){var o=this.currentSingleElement;ri.safeTimeOut((function(){o===t.currentSingleElement&&(t.isLastElement?t.allowCompleteSurveyAutomatic&&t.tryCompleteOrShowPreview():t.performNext())}),tn.autoAdvanceDelay)}var i=this.getCurrentPageQuestions();if(!(i.indexOf(n)<0)){for(var r=0;r<i.length;r++)if(i[r].hasInput&&i[r].isEmpty())return;if((!this.isLastPage||!0===this.goNextPageAutomatic&&this.allowCompleteSurveyAutomatic)&&!this.checkIsCurrentPageHasErrors(!1)){var a=this.currentPage;ri.safeTimeOut((function(){a===t.currentPage&&(t.isLastPage?t.tryCompleteOrShowPreview():t.nextPage())}),tn.autoAdvanceDelay)}}}}},t.prototype.tryCompleteOrShowPreview=function(){this.isShowPreviewBeforeComplete?this.showPreview():this.tryComplete()},t.prototype.getComment=function(e){return this.getValue(e+this.commentSuffix)||""},t.prototype.setComment=function(e,t,n){if(void 0===n&&(n=!1),t||(t=""),!this.isTwoValueEquals(t,this.getComment(e))){var o=e+this.commentSuffix;t=this.questionOnValueChanging(o,t,e),n=this.getLocNotification(n,t,this.getComment(e)),this.isValueEmpty(t)?this.deleteDataValueCore(this.valuesHash,o):this.setDataValueCore(this.valuesHash,o,t);var i=this.getQuestionsByValueName(e);if(i)for(var r=0;r<i.length;r++)i[r].updateCommentFromSurvey(t),this.checkQuestionErrorOnValueChanged(i[r]);n||this.checkTriggersAndRunConditions(e,this.getValue(e),void 0),"text"!==n&&this.tryGoNextPageAutomatic(e);var a=this.getQuestionByValueName(e);a&&(this.fireOnValueChanged(o,t,a),a.comment=t,a.comment!=t&&(a.comment=t))}},t.prototype.clearValue=function(e){this.setValue(e,null),this.setComment(e,null)},Object.defineProperty(t.prototype,"clearValueOnDisableItems",{get:function(){return this.getPropertyValue("clearValueOnDisableItems",!1)},set:function(e){this.setPropertyValue("clearValueOnDisableItems",e)},enumerable:!1,configurable:!0}),t.prototype.getQuestionClearIfInvisible=function(e){return this.isShowingPreview||this.runningPages?"none":"default"!==e?e:this.clearInvisibleValues},t.prototype.questionVisibilityChanged=function(e,t,n){n&&this.updateVisibleIndexes(e.page),t||this.changeCurrentSingleElementOnVisibilityChanged(),this.onQuestionVisibleChanged.fire(this,{question:e,name:e.name,visible:t})},t.prototype.pageVisibilityChanged=function(e,t){if(!this.isLoadingFromJson){(t&&!this.currentPage||e===this.currentPage)&&this.updateCurrentPage(),this.updateVisibleIndexes(),t||this.changeCurrentSingleElementOnVisibilityChanged();var n=this.currentSingleElement,o=this.currentPage;n&&o&&n.page!==o&&(this.currentSingleElement=o.getFirstVisibleElement()),this.onPageVisibleChanged.fire(this,{page:e,visible:t})}},t.prototype.panelVisibilityChanged=function(e,t){e.page&&(this.updateVisibleIndexes(e.page),t||this.changeCurrentSingleElementOnVisibilityChanged()),this.onPanelVisibleChanged.fire(this,{panel:e,visible:t})},t.prototype.questionCreated=function(e){this.onQuestionCreated.fire(this,{question:e})},t.prototype.questionAdded=function(e,t,n,o){e.name||(e.name=this.generateNewName(this.getAllQuestions(!1,!0),"question")),e.page&&this.questionHashesAdded(e),this.isLoadingFromJson||(this.currentPage||this.updateCurrentPage(),this.updateVisibleIndexes(e.page),this.setCalculatedWidthModeUpdater()),this.canFireAddElement()&&this.onQuestionAdded.fire(this,{question:e,name:e.name,index:t,parent:n,page:o,parentPanel:n,rootPanel:o})},t.prototype.canFireAddElement=function(){return!this.isMovingQuestion||this.isDesignMode&&!tn.supportCreatorV2},t.prototype.questionRemoved=function(e){this.questionHashesRemoved(e,e.name,e.getValueName()),this.updateVisibleIndexes(e.page),this.onQuestionRemoved.fire(this,{question:e,name:e.name}),this.updateLazyRenderingRowsOnRemovingElements()},t.prototype.questionRenamed=function(e,t,n){this.questionHashesRemoved(e,t,n),this.questionHashesAdded(e)},t.prototype.questionHashesClear=function(){this.questionHashes.names={},this.questionHashes.namesInsensitive={},this.questionHashes.valueNames={},this.questionHashes.valueNamesInsensitive={}},t.prototype.questionHashesPanelAdded=function(e){if(!this.isLoadingFromJson)for(var t=e.questions,n=0;n<t.length;n++)this.questionHashesAdded(t[n])},t.prototype.questionHashesAdded=function(e){this.questionHashAddedCore(this.questionHashes.names,e,e.name),this.questionHashAddedCore(this.questionHashes.namesInsensitive,e,e.name.toLowerCase()),this.questionHashAddedCore(this.questionHashes.valueNames,e,e.getValueName()),this.questionHashAddedCore(this.questionHashes.valueNamesInsensitive,e,e.getValueName().toLowerCase())},t.prototype.questionHashesRemoved=function(e,t,n){t&&(this.questionHashRemovedCore(this.questionHashes.names,e,t),this.questionHashRemovedCore(this.questionHashes.namesInsensitive,e,t.toLowerCase())),n&&(this.questionHashRemovedCore(this.questionHashes.valueNames,e,n),this.questionHashRemovedCore(this.questionHashes.valueNamesInsensitive,e,n.toLowerCase()))},t.prototype.questionHashAddedCore=function(e,t,n){var o;(o=e[n])?(o=e[n]).indexOf(t)<0&&o.push(t):e[n]=[t]},t.prototype.questionHashRemovedCore=function(e,t,n){var o=e[n];if(o){var i=o.indexOf(t);i>-1&&o.splice(i,1),0==o.length&&delete e[n]}},t.prototype.panelAdded=function(e,t,n,o){e.name||(e.name=this.generateNewName(this.getAllPanels(!1,!0),"panel")),this.questionHashesPanelAdded(e),this.updateVisibleIndexes(e.page),this.canFireAddElement()&&this.onPanelAdded.fire(this,{panel:e,name:e.name,index:t,parent:n,page:o,parentPanel:n,rootPanel:o})},t.prototype.panelRemoved=function(e){this.updateVisibleIndexes(e.page),this.onPanelRemoved.fire(this,{panel:e,name:e.name}),this.updateLazyRenderingRowsOnRemovingElements()},t.prototype.validateQuestion=function(e){if(this.onValidateQuestion.isEmpty)return null;var t={name:e.name,question:e,value:e.value,error:null};return this.onValidateQuestion.fire(this,t),t.error?new yn(t.error,this):null},t.prototype.validatePanel=function(e){if(this.onValidatePanel.isEmpty)return null;var t={name:e.name,panel:e,error:null};return this.onValidatePanel.fire(this,t),t.error?new yn(t.error,this):null},t.prototype.processHtml=function(e,t){t||(t="");var n={html:e,reason:t};return this.onProcessHtml.fire(this,n),this.processText(n.html,!0)},t.prototype.processText=function(e,t){return this.processTextEx({text:e,returnDisplayValue:t,doEncoding:!1}).text},t.prototype.processTextEx=function(e){var t=void 0===e.doEncoding?tn.web.encodeUrlParams:e.doEncoding,n=e.text;!e.runAtDesign&&this.isDesignMode||(n=this.textPreProcessor.process(n,!0===e.returnDisplayValue,t,e.replaceUndefinedValues));var o={text:n,hasAllValuesOnLastRun:!0};return o.hasAllValuesOnLastRun=this.textPreProcessor.hasAllValuesOnLastRun,o},Object.defineProperty(t.prototype,"textPreProcessor",{get:function(){var e=this;return this.textPreProcessorValue||(this.textPreProcessorValue=new to,this.textPreProcessorValue.onProcess=function(t){e.getProcessedTextValue(t)}),this.textPreProcessorValue},enumerable:!1,configurable:!0}),t.prototype.getSurveyMarkdownHtml=function(e,t,n){var o={element:e,text:t,name:n,html:null};return this.onTextMarkdown.fire(this,o),o.html},t.prototype.getCorrectedAnswerCount=function(){return this.getCorrectAnswerCount()},t.prototype.getCorrectAnswerCount=function(){return this.getCorrectedAnswerCountCore(!0)},t.prototype.getQuizQuestionCount=function(){for(var e=this.getQuizQuestions(),t=0,n=0;n<e.length;n++)t+=e[n].quizQuestionCount;return t},t.prototype.getInCorrectedAnswerCount=function(){return this.getIncorrectAnswerCount()},t.prototype.getInCorrectAnswerCount=function(){return this.getIncorrectAnswerCount()},t.prototype.getIncorrectAnswerCount=function(){return this.getCorrectedAnswerCountCore(!1)},t.prototype.onCorrectQuestionAnswer=function(e,t){this.onIsAnswerCorrect.isEmpty||(t.question=e,this.onIsAnswerCorrect.fire(this,t))},t.prototype.getCorrectedAnswerCountCore=function(e){for(var t=this.getQuizQuestions(),n=0,o=0;o<t.length;o++){var i=t[o],r=i.correctAnswerCount;n+=e?r:i.quizQuestionCount-r}return n},t.prototype.getCorrectedAnswers=function(){return this.getCorrectedAnswerCount()},t.prototype.getInCorrectedAnswers=function(){return this.getInCorrectedAnswerCount()},Object.defineProperty(t.prototype,"showTimerPanel",{get:function(){return this.showTimer?this.timerLocation:"none"},set:function(e){this.showTimer="none"!==e,this.showTimer&&(this.timerLocation=e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"showTimer",{get:function(){return this.getPropertyValue("showTimer")},set:function(e){this.setPropertyValue("showTimer",e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"timerLocation",{get:function(){return this.getPropertyValue("timerLocation")},set:function(e){this.setPropertyValue("timerLocation",e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isTimerPanelShowingOnTop",{get:function(){return this.showTimer&&"top"===this.timerLocation},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isTimerPanelShowingOnBottom",{get:function(){return this.showTimer&&"bottom"===this.timerLocation},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"timerInfoMode",{get:function(){return this.getTimerInfoVal(this.getPropertyValue("timerInfoMode"))},set:function(e){this.setPropertyValue("timerInfoMode",e)},enumerable:!1,configurable:!0}),t.prototype.getTimerInfoVal=function(e){return"all"===e?"combined":e},Object.defineProperty(t.prototype,"showTimerPanelMode",{get:function(){var e=this.timerInfoMode;return"combined"===e?"all":e},set:function(e){this.timerInfoMode=this.getTimerInfoVal(e)},enumerable:!1,configurable:!0}),t.prototype.updateGridColumns=function(){this.pages.forEach((function(e){return e.updateGridColumns()}))},Object.defineProperty(t.prototype,"widthMode",{get:function(){return this.getPropertyValue("widthMode")},set:function(e){this.setPropertyValue("widthMode",e)},enumerable:!1,configurable:!0}),t.prototype.setCalculatedWidthModeUpdater=function(){var e=this;this.isLoadingFromJson||(this.calculatedWidthModeUpdater&&this.calculatedWidthModeUpdater.dispose(),this.calculatedWidthModeUpdater=new Ve((function(){return e.calculateWidthMode()})),this.calculatedWidthMode=this.calculatedWidthModeUpdater)},t.prototype.calculateWidthMode=function(){if("auto"==this.widthMode){var e=!1;return this.pages.forEach((function(t){t.needResponsiveWidth()&&(e=!0)})),e?"responsive":"static"}return this.widthMode},Object.defineProperty(t.prototype,"width",{get:function(){return this.getPropertyValue("width")},set:function(e){this.setPropertyValue("width",e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"renderedWidth",{get:function(){var e="static"==this.getPropertyValue("calculatedWidthMode"),t=this.getPropertyValue("width");if(this.isScaled&&this.responsiveStartWidth>1){var n=this.responsiveStartWidth;try{t=t||this.staticStartWidth,n=isNaN(t)?parseFloat(t.toString().replace("px","")):t}catch(e){}return(e?n:this.responsiveStartWidth)*this.widthScale/100+"px"}return t&&!isNaN(t)&&(t+="px"),e&&t||void 0},enumerable:!1,configurable:!0}),t.prototype.setStaticStartWidth=function(e){this.staticStartWidth=e},t.prototype.setResponsiveStartWidth=function(e){this.responsiveStartWidth=e},Object.defineProperty(t.prototype,"isScaled",{get:function(){return Math.abs(this.widthScale-100)>.001},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"timerInfo",{get:function(){return this.getTimerInfo()},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"timerClock",{get:function(){var e,t;if(this.currentPage){var n=this.getTimerInfo(),o=n.spent,i=n.limit,r=n.minorSpent,a=n.minorLimit;e=i>0?this.getDisplayClockTime(i-o):this.getDisplayClockTime(o),void 0!==r&&(t=a>0?this.getDisplayClockTime(a-r):this.getDisplayClockTime(r))}return{majorText:e,minorText:t}},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"timerInfoText",{get:function(){var e={text:this.getTimerInfoText()};this.onTimerPanelInfoText.fire(this,e);var t=new bt(this,!0);return t.text=e.text,t.textOrHtml},enumerable:!1,configurable:!0}),t.prototype.getTimerInfo=function(){var e=this.currentPage;if(!e)return{spent:0,limit:0};var t=e.timeSpent,n=this.timeSpent,o=e.getMaxTimeToFinish(),i=this.timeLimit;return"page"==this.timerInfoMode?{spent:t,limit:o}:"survey"==this.timerInfoMode?{spent:n,limit:i}:o>0&&i>0?{spent:t,limit:o,minorSpent:n,minorLimit:i}:o>0?{spent:t,limit:o,minorSpent:n}:i>0?{spent:n,limit:i,minorSpent:t}:{spent:t,minorSpent:n}},t.prototype.getTimerInfoText=function(){var e=this.currentPage;if(!e)return"";var t=this.getDisplayTime(e.timeSpent),n=this.getDisplayTime(this.timeSpent),o=e.getMaxTimeToFinish(),i=this.getDisplayTime(o),r=this.getDisplayTime(this.timeLimit);return"page"==this.timerInfoMode?this.getTimerInfoPageText(e,t,i):"survey"==this.timerInfoMode?this.getTimerInfoSurveyText(n,r):"combined"==this.timerInfoMode?o<=0&&this.timeLimit<=0?this.getLocalizationFormatString("timerSpentAll",t,n):o>0&&this.timeLimit>0?this.getLocalizationFormatString("timerLimitAll",t,i,n,r):this.getTimerInfoPageText(e,t,i)+" "+this.getTimerInfoSurveyText(n,r):""},t.prototype.getTimerInfoPageText=function(e,t,n){return e&&e.getMaxTimeToFinish()>0?this.getLocalizationFormatString("timerLimitPage",t,n):this.getLocalizationFormatString("timerSpentPage",t,n)},t.prototype.getTimerInfoSurveyText=function(e,t){var n=this.timeLimit>0?"timerLimitSurvey":"timerSpentSurvey";return this.getLocalizationFormatString(n,e,t)},t.prototype.getDisplayClockTime=function(e){e<0&&(e=0);var t=Math.floor(e/60),n=e%60,o=n.toString();return n<10&&(o="0"+o),t+":"+o},t.prototype.getDisplayTime=function(e){var t=Math.floor(e/60),n=e%60,o="";return t>0&&(o+=t+" "+this.getLocalizationString("timerMin")),o&&0==n?o:(o&&(o+=" "),o+n+" "+this.getLocalizationString("timerSec"))},Object.defineProperty(t.prototype,"timerModel",{get:function(){return this.timerModelValue},enumerable:!1,configurable:!0}),t.prototype.startTimer=function(){this.isEditMode&&this.timerModel.start()},t.prototype.startTimerFromUI=function(){this.showTimer&&"running"===this.state&&this.startTimer()},t.prototype.stopTimer=function(){this.timerModel.stop()},Object.defineProperty(t.prototype,"timeSpent",{get:function(){return this.timerModel.spent},set:function(e){this.timerModel.spent=e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"timeLimit",{get:function(){return this.getPropertyValue("timeLimit",0)},set:function(e){this.setPropertyValue("timeLimit",e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"maxTimeToFinish",{get:function(){return this.timeLimit},set:function(e){this.timeLimit=e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"timeLimitPerPage",{get:function(){return this.getPropertyValue("timeLimitPerPage",0)},set:function(e){this.setPropertyValue("timeLimitPerPage",e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"maxTimeToFinishPage",{get:function(){return this.timeLimitPerPage},set:function(e){this.timeLimitPerPage=e},enumerable:!1,configurable:!0}),t.prototype.doTimer=function(e){if(this.onTimerTick.fire(this,{}),this.timeLimit>0&&this.timeLimit<=this.timeSpent&&(this.timeSpent=this.timeLimit,this.tryComplete()),e){var t=e.getMaxTimeToFinish();t>0&&t==e.timeSpent&&(this.isLastPage?this.tryComplete():this.nextPage())}},Object.defineProperty(t.prototype,"inSurvey",{get:function(){return!0},enumerable:!1,configurable:!0}),t.prototype.getSurveyData=function(){return this},t.prototype.getSurvey=function(){return this},t.prototype.getTextProcessor=function(){return this},t.prototype.getObjects=function(e,t){var n=[];return Array.prototype.push.apply(n,this.getPagesByNames(e)),Array.prototype.push.apply(n,this.getQuestionsByNames(t)),n},t.prototype.setTriggerValue=function(e,t,n){if(e)if(n)this.setVariable(e,t);else{var o=this.getQuestionByName(e);if(this.startSetValueFromTrigger(),o)o.value=t;else{var i=new M,r=i.getFirstName(e);if(r==e)this.setValue(e,t);else{if(!this.getQuestionByName(r))return;var a=this.getUnbindValue(this.getFilteredValues());i.setValue(a,e,t),this.setValue(r,a[r])}}this.finishSetValueFromTrigger()}},t.prototype.copyTriggerValue=function(e,t,n){if(e&&t){var o;if(n)o=this.processText("{"+t+"}",!0);else o=(new M).getValue(t,this.getFilteredValues());this.setTriggerValue(e,u.getUnbindValue(o),!1)}},t.prototype.triggerExecuted=function(e){this.onTriggerExecuted.fire(this,{trigger:e})},Object.defineProperty(t.prototype,"isSettingValueFromTrigger",{get:function(){return this.setValueFromTriggerCounter>0},enumerable:!1,configurable:!0}),t.prototype.startSetValueFromTrigger=function(){this.setValueFromTriggerCounter++},t.prototype.finishSetValueFromTrigger=function(){this.setValueFromTriggerCounter--},t.prototype.startMovingQuestion=function(){this.isMovingQuestion=!0},t.prototype.stopMovingQuestion=function(){this.isMovingQuestion=!1},Object.defineProperty(t.prototype,"isQuestionDragging",{get:function(){return this.isMovingQuestion},enumerable:!1,configurable:!0}),t.prototype.focusQuestion=function(e){return this.focusQuestionByInstance(this.getQuestionByName(e,!0))},t.prototype.focusQuestionByInstance=function(e,t){var n;if(void 0===t&&(t=!1),!e||!e.isVisible||!e.page)return!1;if((null===(n=this.focusingQuestionInfo)||void 0===n?void 0:n.question)===e)return!1;this.focusingQuestionInfo={question:e,onError:t};var o=this.currentSingleElement;this.skippedPages.push({from:o||this.currentPage,to:o?e:e.page});var i=this.activePage!==e.page&&!e.page.isStartPage;return i&&(this.currentPage=e.page),this.isSingleVisibleQuestion&&!this.isDesignMode&&(this.currentSingleElement=e),i||this.focusQuestionInfo(),!0},t.prototype.focusQuestionInfo=function(){var e,t=null===(e=this.focusingQuestionInfo)||void 0===e?void 0:e.question;t&&!t.isDisposed&&t.focus(this.focusingQuestionInfo.onError),this.focusingQuestionInfo=void 0},t.prototype.questionEditFinishCallback=function(e,t){var n=this.enterKeyAction||tn.enterKeyAction;if("loseFocus"==n&&t.target.blur(),"moveToNextEditor"==n){var o=this.currentPage.questions,i=o.indexOf(e);i>-1&&i<o.length-1?o[i+1].focus():t.target.blur()}},t.prototype.elementWrapperComponentNameCore=function(e,t,n,o,i){if(this.onElementWrapperComponentName.isEmpty)return e;var r={componentName:e,element:t,wrapperName:n,reason:o,item:i};return this.onElementWrapperComponentName.fire(this,r),r.componentName},t.prototype.elementWrapperDataCore=function(e,t,n,o,i){if(this.onElementWrapperComponentData.isEmpty)return e;var r={data:e,element:t,wrapperName:n,reason:o,item:i};return this.onElementWrapperComponentData.fire(this,r),r.data},t.prototype.getElementWrapperComponentName=function(e,n){var o="logo-image"===n?"sv-logo-image":t.TemplateRendererComponentName;return this.elementWrapperComponentNameCore(o,e,"component",n)},t.prototype.getQuestionContentWrapperComponentName=function(e){return this.elementWrapperComponentNameCore(t.TemplateRendererComponentName,e,"content-component")},t.prototype.getRowWrapperComponentName=function(e){return this.elementWrapperComponentNameCore(t.TemplateRendererComponentName,e,"row")},t.prototype.getItemValueWrapperComponentName=function(e,n){return this.elementWrapperComponentNameCore(t.TemplateRendererComponentName,n,"itemvalue",void 0,e)},t.prototype.getElementWrapperComponentData=function(e,t){return this.elementWrapperDataCore(e,e,"component",t)},t.prototype.getRowWrapperComponentData=function(e){return this.elementWrapperDataCore(e,e,"row")},t.prototype.getItemValueWrapperComponentData=function(e,t){return this.elementWrapperDataCore(e,t,"itemvalue",void 0,e)},t.prototype.getMatrixCellTemplateData=function(e){var t=e.question;return this.elementWrapperDataCore(t,t,"cell")},t.prototype.searchText=function(e){e&&(e=e.toLowerCase());for(var t=[],n=0;n<this.pages.length;n++)this.pages[n].searchText(e,t);return t},t.prototype.getSkeletonComponentName=function(e){return this.skeletonComponentName},t.prototype.addLayoutElement=function(e){var t=this.removeLayoutElement(e.id);return this.layoutElements.push(e),t},t.prototype.findLayoutElement=function(e){return this.layoutElements.filter((function(t){return t.id===e}))[0]},t.prototype.removeLayoutElement=function(e){var t=this.findLayoutElement(e);if(t){var n=this.layoutElements.indexOf(t);this.layoutElements.splice(n,1)}return t},t.prototype.getContainerContent=function(e){for(var t=[],n=0,o=this.layoutElements;n<o.length;n++){var i=o[n];if("display"!==this.mode&&$i(i.id,"timerpanel"))"header"===e&&this.isTimerPanelShowingOnTop&&!this.isShowStartingPage&&t.push(i),"footer"===e&&this.isTimerPanelShowingOnBottom&&!this.isShowStartingPage&&t.push(i);else if("running"===this.state&&$i(i.id,this.progressBarComponentName)){if("singlePage"!=this.questionsOnPageMode||"questions"==this.progressBarType){var r=this.findLayoutElement("advanced-header"),a=r&&r.data,s=!a||a.hasBackground;$i(this.showProgressBar,"aboveHeader")&&(s=!1),$i(this.showProgressBar,"belowHeader")&&(s=!0),"header"!==e||s||(i.index=-150,this.isShowProgressBarOnTop&&!this.isShowStartingPage&&t.push(i)),"center"===e&&s&&(i.index&&delete i.index,this.isShowProgressBarOnTop&&!this.isShowStartingPage&&t.push(i)),"footer"===e&&this.isShowProgressBarOnBottom&&!this.isShowStartingPage&&t.push(i)}}else $i(i.id,"buttons-navigation")?("contentTop"===e&&this.isNavigationButtonsShowingOnTop&&t.push(i),"contentBottom"===e&&this.isNavigationButtonsShowingOnBottom&&t.push(i)):"running"===this.state&&$i(i.id,"toc-navigation")&&this.showTOC?("left"===e&&-1!==["left","both"].indexOf(this.tocLocation)&&t.push(i),"right"===e&&-1!==["right","both"].indexOf(this.tocLocation)&&t.push(i)):$i(i.id,"advanced-header")?("running"===this.state||"starting"===this.state||!0===this.showHeaderOnCompletePage&&"completed"===this.state)&&i.container===e&&t.push(i):(Array.isArray(i.container)&&-1!==i.container.indexOf(e)||i.container===e)&&t.push(i)}return t.sort((function(e,t){return(e.index||0)-(t.index||0)})),t},t.prototype.processPopupVisiblityChanged=function(e,t,n){this.onPopupVisibleChanged.fire(this,{question:e,popup:t,visible:n})},t.prototype.processOpenDropdownMenu=function(e,t){var n=Object.assign({question:e},t);this.onOpenDropdownMenu.fire(this,n),t.menuType=n.menuType},t.prototype.getCssTitleExpandableSvg=function(){return null},t.prototype.applyTheme=function(e){var t=this;if(e){if(Object.keys(e).forEach((function(n){"header"!==n&&("isPanelless"===n?t.isCompact=e[n]:t[n]=e[n])})),"advanced"===this.headerView||"header"in e){this.removeLayoutElement("advanced-header");var n=new fi;n.fromTheme(e),this.insertAdvancedHeader(n)}this.themeChanged(e)}},t.prototype.themeChanged=function(e){this.getAllQuestions().forEach((function(t){return t.themeChanged(e)}))},t.prototype.dispose=function(){if(this.unConnectEditingObj(),this.removeScrollEventListener(),this.destroyResizeObserver(),this.rootElement=void 0,this.layoutElements){for(var t=0;t<this.layoutElements.length;t++)this.layoutElements[t].data&&this.layoutElements[t].data!==this&&this.layoutElements[t].data.dispose&&this.layoutElements[t].data.dispose();this.layoutElements.splice(0,this.layoutElements.length)}if(e.prototype.dispose.call(this),this.editingObj=null,this.pages){this.currentPage=null;for(t=0;t<this.pages.length;t++)this.pages[t].setSurveyImpl(void 0),this.pages[t].dispose();this.pages.splice(0,this.pages.length),this.disposeCallback&&this.disposeCallback()}},t.prototype._isElementShouldBeSticky=function(e){if(!e)return!1;var t=this.rootElement.querySelector(e);return!!t&&(this.rootElement.scrollTop>0&&t.getBoundingClientRect().y<=this.rootElement.getBoundingClientRect().y)},t.prototype.onScroll=function(){this.rootElement&&(this._isElementShouldBeSticky(".sv-components-container-center")?this.rootElement.classList&&this.rootElement.classList.add("sv-root--sticky-top"):this.rootElement.classList&&this.rootElement.classList.remove("sv-root--sticky-top")),this.onScrollCallback&&this.onScrollCallback()},t.prototype.addScrollEventListener=function(){var e,t=this;this.scrollHandler=function(){t.onScroll()},this.rootElement.addEventListener("scroll",this.scrollHandler),this.rootElement.getElementsByTagName("form")[0]&&this.rootElement.getElementsByTagName("form")[0].addEventListener("scroll",this.scrollHandler),this.css.rootWrapper&&(null===(e=this.rootElement.getElementsByClassName(this.css.rootWrapper)[0])||void 0===e||e.addEventListener("scroll",this.scrollHandler))},t.prototype.removeScrollEventListener=function(){var e;this.rootElement&&this.scrollHandler&&(this.rootElement.removeEventListener("scroll",this.scrollHandler),this.rootElement.getElementsByTagName("form")[0]&&this.rootElement.getElementsByTagName("form")[0].removeEventListener("scroll",this.scrollHandler),this.css.rootWrapper&&(null===(e=this.rootElement.getElementsByClassName(this.css.rootWrapper)[0])||void 0===e||e.removeEventListener("scroll",this.scrollHandler)))},t.TemplateRendererComponentName="sv-template-renderer",t.platform="unknown",Ui([x()],t.prototype,"completedCss",void 0),Ui([x()],t.prototype,"completedBeforeCss",void 0),Ui([x()],t.prototype,"loadingBodyCss",void 0),Ui([x()],t.prototype,"containerCss",void 0),Ui([x({onSet:function(e,t){t.updateCss()}})],t.prototype,"fitToContainer",void 0),Ui([x({onSet:function(e,t){if("advanced"===e){if(!t.findLayoutElement("advanced-header")){var n=new fi;n.logoPositionX="right"===t.logoPosition?"right":"left",n.logoPositionY="middle",n.titlePositionX="right"===t.logoPosition?"left":"right",n.titlePositionY="middle",n.descriptionPositionX="right"===t.logoPosition?"left":"right",n.descriptionPositionY="middle",t.insertAdvancedHeader(n)}}else t.removeLayoutElement("advanced-header")}})],t.prototype,"headerView",void 0),Ui([x()],t.prototype,"showBrandInfo",void 0),Ui([x()],t.prototype,"enterKeyAction",void 0),Ui([x()],t.prototype,"lazyRenderingFirstBatchSizeValue",void 0),Ui([x({defaultValue:!0})],t.prototype,"titleIsEmpty",void 0),Ui([x({defaultValue:{}})],t.prototype,"cssVariables",void 0),Ui([x()],t.prototype,"_isMobile",void 0),Ui([x()],t.prototype,"_isCompact",void 0),Ui([x({onSet:function(e,t){t.updateCss()}})],t.prototype,"backgroundImage",void 0),Ui([x()],t.prototype,"renderBackgroundImage",void 0),Ui([x()],t.prototype,"backgroundImageFit",void 0),Ui([x({onSet:function(e,t){t.updateCss()}})],t.prototype,"backgroundImageAttachment",void 0),Ui([x()],t.prototype,"backgroundImageStyle",void 0),Ui([x()],t.prototype,"wrapperFormCss",void 0),Ui([x({getDefaultValue:function(e){return"buttons"===e.progressBarType}})],t.prototype,"progressBarShowPageTitles",void 0),Ui([x()],t.prototype,"progressBarShowPageNumbers",void 0),Ui([x()],t.prototype,"progressBarInheritWidthFrom",void 0),Ui([x({defaultValue:!0})],t.prototype,"validationEnabled",void 0),Ui([x()],t.prototype,"rootCss",void 0),Ui([x({onSet:function(e,t){t.updateGridColumns()}})],t.prototype,"gridLayoutEnabled",void 0),Ui([x()],t.prototype,"calculatedWidthMode",void 0),Ui([x({defaultValue:100,onSet:function(e,t,n){t.pages.forEach((function(e){return e.updateRootStyle()}))}})],t.prototype,"widthScale",void 0),Ui([x()],t.prototype,"staticStartWidth",void 0),Ui([x()],t.prototype,"responsiveStartWidth",void 0),Ui([w()],t.prototype,"layoutElements",void 0),t}(ft);function $i(e,t){return!!e&&(!!t&&e.toUpperCase()===t.toUpperCase())}L.addClass("survey",[{name:"locale",choices:function(){return p.getLocales(!0)},onGetValue:function(e){return e.locale==p.defaultLocale?null:e.locale}},{name:"title",serializationProperty:"locTitle",dependsOn:"locale"},{name:"description:text",serializationProperty:"locDescription",dependsOn:"locale"},{name:"logo:file",serializationProperty:"locLogo"},{name:"logoWidth",default:"300px",minValue:0},{name:"logoHeight",default:"200px",minValue:0},{name:"logoFit",default:"contain",choices:["none","contain","cover","fill"]},{name:"logoPosition",default:"left",choices:["none","left","right","top","bottom"]},{name:"focusFirstQuestionAutomatic:boolean"},{name:"focusOnFirstError:boolean",default:!0},{name:"completedHtml:html",serializationProperty:"locCompletedHtml"},{name:"completedBeforeHtml:html",serializationProperty:"locCompletedBeforeHtml"},{name:"completedHtmlOnCondition:htmlconditions",className:"htmlconditionitem",isArray:!0},{name:"loadingHtml:html",serializationProperty:"locLoadingHtml"},{name:"pages:surveypages",className:"page",isArray:!0,onSerializeValue:function(e){return e.originalPages||e.pages}},{name:"elements",alternativeName:"questions",baseClassName:"question",visible:!1,isLightSerializable:!1,onGetValue:function(e){return null},onSetValue:function(e,t,n){e.pages.splice(0,e.pages.length);var o=e.addNewPage("");n.toObject({questions:t},o,null==n?void 0:n.options)}},{name:"triggers:triggers",baseClassName:"surveytrigger",classNamePart:"trigger"},{name:"calculatedValues:calculatedvalues",className:"calculatedvalue",isArray:!0},{name:"sjsVersion",visible:!1},{name:"surveyId",visible:!1},{name:"surveyPostId",visible:!1},{name:"surveyShowDataSaving:boolean",visible:!1},"cookieName","sendResultOnPageNext:boolean",{name:"showNavigationButtons",default:"bottom",choices:["none","top","bottom","both"]},{name:"showPrevButton:boolean",default:!0,visibleIf:function(e){return"none"!==e.showNavigationButtons}},{name:"showTitle:boolean",default:!0},{name:"showPageTitles:boolean",default:!0},{name:"showCompletedPage:boolean",default:!0},"navigateToUrl",{name:"navigateToUrlOnCondition:urlconditions",className:"urlconditionitem",isArray:!0},{name:"questionsOrder",default:"initial",choices:["initial","random"]},{name:"matrixDragHandleArea",visible:!1,default:"entireItem",choices:["entireItem","icon"]},"showPageNumbers:boolean",{name:"showQuestionNumbers",default:"on",choices:["on","onPage","off"]},{name:"questionTitleLocation",default:"top",choices:["top","bottom","left"]},{name:"questionDescriptionLocation",default:"underTitle",choices:["underInput","underTitle"]},{name:"questionErrorLocation",default:"top",choices:["top","bottom"]},{name:"showProgressBar",default:"off",choices:["off","auto","aboveheader","belowheader","bottom","topbottom"]},{name:"progressBarType",default:"pages",choices:["pages","questions","requiredQuestions","correctQuestions"],visibleIf:function(e){return"off"!==e.showProgressBar}},{name:"progressBarShowPageTitles:switch",category:"navigation",visibleIf:function(e){return"off"!==e.showProgressBar&&"pages"===e.progressBarType}},{name:"progressBarShowPageNumbers:switch",default:!1,category:"navigation",visibleIf:function(e){return"off"!==e.showProgressBar&&"pages"===e.progressBarType}},{name:"progressBarInheritWidthFrom",default:"container",choices:["container","survey"],category:"navigation",visibleIf:function(e){return"off"!==e.showProgressBar&&"pages"===e.progressBarType}},{name:"showTOC:switch",default:!1},{name:"tocLocation",default:"left",choices:["left","right"],dependsOn:["showTOC"],visibleIf:function(e){return!!e&&e.showTOC}},{name:"mode",default:"edit",choices:["edit","display"]},{name:"storeOthersAsComment:boolean",default:!0},{name:"maxTextLength:number",default:0,minValue:0},{name:"maxOthersLength:number",default:0,minValue:0},{name:"goNextPageAutomatic:boolean",onSetValue:function(e,t){"autogonext"!==t&&(t=u.isTwoValueEquals(t,!0)),e.setPropertyValue("goNextPageAutomatic",t)}},{name:"allowCompleteSurveyAutomatic:boolean",default:!0,visibleIf:function(e){return!0===e.goNextPageAutomatic}},{name:"clearInvisibleValues",default:"onComplete",choices:["none","onComplete","onHidden","onHiddenContainer"]},{name:"checkErrorsMode",default:"onNextPage",choices:["onNextPage","onValueChanged","onComplete"]},{name:"validateVisitedEmptyFields:boolean",dependsOn:"checkErrorsMode",visibleIf:function(e){return"onValueChanged"===e.checkErrorsMode}},{name:"textUpdateMode",default:"onBlur",choices:["onBlur","onTyping"]},{name:"autoGrowComment:boolean",default:!1},{name:"allowResizeComment:boolean",default:!0},{name:"commentAreaRows:number",minValue:1},{name:"startSurveyText",serializationProperty:"locStartSurveyText",visibleIf:function(e){return e.firstPageIsStarted}},{name:"pagePrevText",serializationProperty:"locPagePrevText",visibleIf:function(e){return"none"!==e.showNavigationButtons&&e.showPrevButton}},{name:"pageNextText",serializationProperty:"locPageNextText",visibleIf:function(e){return"none"!==e.showNavigationButtons}},{name:"completeText",serializationProperty:"locCompleteText",visibleIf:function(e){return"none"!==e.showNavigationButtons}},{name:"previewText",serializationProperty:"locPreviewText",visibleIf:function(e){return"noPreview"!==e.showPreviewBeforeComplete}},{name:"editText",serializationProperty:"locEditText",visibleIf:function(e){return"noPreview"!==e.showPreviewBeforeComplete}},{name:"requiredText",default:"*"},{name:"questionStartIndex",dependsOn:["showQuestionNumbers"],visibleIf:function(e){return!e||"off"!==e.showQuestionNumbers}},{name:"questionTitlePattern",default:"numTitleRequire",dependsOn:["questionStartIndex","requiredText"],choices:function(e){return e?e.getQuestionTitlePatternOptions():[]}},{name:"questionTitleTemplate",visible:!1,isSerializable:!1,serializationProperty:"locQuestionTitleTemplate"},{name:"firstPageIsStarted:boolean",default:!1},{name:"isSinglePage:boolean",default:!1,visible:!1,isSerializable:!1},{name:"questionsOnPageMode",default:"standard",choices:["standard","singlePage","questionPerPage"]},{name:"showPreviewBeforeComplete",default:"noPreview",choices:["noPreview","showAllQuestions","showAnsweredQuestions"]},{name:"showTimer:boolean"},{name:"timeLimit:number",alternativeName:"maxTimeToFinish",default:0,minValue:0,enableIf:function(e){return e.showTimer}},{name:"timeLimitPerPage:number",alternativeName:"maxTimeToFinishPage",default:0,minValue:0,enableIf:function(e){return e.showTimer}},{name:"timerLocation",default:"top",choices:["top","bottom"],enableIf:function(e){return e.showTimer}},{name:"timerInfoMode",alternativeName:"showTimerPanelMode",default:"combined",choices:["page","survey","combined"],enableIf:function(e){return e.showTimer}},{name:"showTimerPanel",visible:!1,isSerializable:!1},{name:"widthMode",default:"auto",choices:["auto","static","responsive"]},{name:"gridLayoutEnabled:boolean",default:!1},{name:"width",visibleIf:function(e){return"static"===e.widthMode}},{name:"fitToContainer:boolean",default:!0,visible:!1},{name:"headerView",default:"basic",choices:["basic","advanced"],visible:!1},{name:"backgroundImage:file",visible:!1},{name:"backgroundImageFit",default:"cover",choices:["auto","contain","cover"],visible:!1},{name:"backgroundImageAttachment",default:"scroll",choices:["scroll","fixed"],visible:!1},{name:"backgroundOpacity:number",minValue:0,maxValue:1,default:1,visible:!1},{name:"showBrandInfo:boolean",default:!1,visible:!1}]);var Gi=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(t,n)};return function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function o(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}}(),Ki=function(e,t,n,o){var i,r=arguments.length,a=r<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,n):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,o);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(a=(r<3?i(a):r>3?i(t,n,a):i(t,n))||a);return r>3&&a&&Object.defineProperty(t,n,a),a},Zi=function(e){function t(t){var n=e.call(this,t)||this;n.otherItemValue=new Nn("other"),n.isSettingDefaultValue=!1,n.isSettingComment=!1,n.isRunningChoices=!1,n.isFirstLoadChoicesFromUrl=!0,n.isUpdatingChoicesDependedQuestions=!1,n._renderedChoices=[],n.renderedChoicesAnimation=new dt(n.getRenderedChoicesAnimationOptions(),(function(e){n._renderedChoices=e,n.renderedChoicesChangedCallback&&n.renderedChoicesChangedCallback()}),(function(){return n._renderedChoices})),n.headItemsCount=0,n.footItemsCount=0,n.noneItemValue=n.createDefaultItem(tn.noneItemValue,"noneText","noneItemText"),n.refuseItemValue=n.createDefaultItem(tn.refuseItemValue,"refuseText","refuseItemText"),n.dontKnowItemValue=n.createDefaultItem(tn.dontKnowItemValue,"dontKnowText","dontKnowItemText"),n.createItemValues("choices"),n.registerPropertyChangedHandlers(["choices"],(function(){n.filterItems()||n.onVisibleChoicesChanged()})),n.registerPropertyChangedHandlers(["choicesFromQuestion","choicesFromQuestionMode","choiceValuesFromQuestion","choiceTextsFromQuestion","showNoneItem","showRefuseItem","showDontKnowItem","isUsingRestful","isMessagePanelVisible"],(function(){n.onVisibleChoicesChanged()})),n.registerPropertyChangedHandlers(["hideIfChoicesEmpty"],(function(){n.onVisibleChanged()})),n.createNewArray("visibleChoices",(function(){return n.updateRenderedChoices()}),(function(){return n.updateRenderedChoices()})),n.setNewRestfulProperty();var o=n.createLocalizableString("otherText",n.otherItemValue,!0,"otherItemText");return n.createLocalizableString("otherErrorText",n,!0,"otherRequiredError"),n.otherItemValue.locOwner=n,n.otherItemValue.setLocText(o),n.choicesByUrl.createItemValue=function(e){return n.createItemValue(e)},n.choicesByUrl.beforeSendRequestCallback=function(){n.onBeforeSendRequest()},n.choicesByUrl.getResultCallback=function(e){n.onLoadChoicesFromUrl(e)},n.choicesByUrl.updateResultCallback=function(e,t){return n.survey?n.survey.updateChoicesFromServer(n,e,t):e},n}return Gi(t,e),Object.defineProperty(t.prototype,"waitingChoicesByURL",{get:function(){return!this.isChoicesLoaded&&this.hasChoicesUrl},enumerable:!1,configurable:!0}),t.prototype.getType=function(){return"selectbase"},t.prototype.dispose=function(){e.prototype.dispose.call(this);var t=this.getQuestionWithChoices();t&&t.removeDependedQuestion(this)},Object.defineProperty(t.prototype,"otherTextAreaModel",{get:function(){return this.otherTextAreaModelValue||(this.otherTextAreaModelValue=new In(this.getOtherTextAreaOptions())),this.otherTextAreaModelValue},enumerable:!1,configurable:!0}),t.prototype.getOtherTextAreaOptions=function(){var e=this;return{question:this,id:function(){return e.otherId},propertyNames:["otherValue","comment"],className:function(){return e.cssClasses.other},placeholder:function(){return e.otherPlaceholder},isDisabledAttr:function(){return e.isInputReadOnly||!1},rows:function(){return e.commentAreaRows},maxLength:function(){return e.getOthersMaxLength()},autoGrow:function(){return e.survey&&e.survey.autoGrowComment},ariaRequired:function(){return e.ariaRequired||e.a11y_input_ariaRequired},ariaLabel:function(){return e.ariaLabel||e.a11y_input_ariaLabel},getTextValue:function(){return e.otherValue},onTextAreaChange:function(t){e.onOtherValueChange(t)},onTextAreaInput:function(t){e.onOtherValueInput(t)}}},t.prototype.resetDependedQuestion=function(){this.choicesFromQuestion=""},Object.defineProperty(t.prototype,"otherId",{get:function(){return this.id+"_other"},enumerable:!1,configurable:!0}),t.prototype.getCommentElementsId=function(){return[this.commentId,this.otherId]},t.prototype.getItemValueType=function(){return"itemvalue"},t.prototype.createItemValue=function(e,t){var n=L.createClass(this.getItemValueType(),{value:e});return n.locOwner=this,t&&(n.text=t),n},t.prototype.hasErrors=function(t,n){return void 0===t&&(t=!0),void 0===n&&(n=null),n&&!0===n.isOnValueChanged||this.clearIncorrectValues(),e.prototype.hasErrors.call(this,t,n)},Object.defineProperty(t.prototype,"isUsingCarryForward",{get:function(){return!!this.carryForwardQuestionType},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"carryForwardQuestionType",{get:function(){return this.getPropertyValue("carryForwardQuestionType")},enumerable:!1,configurable:!0}),t.prototype.setCarryForwardQuestionType=function(e,t){var n=e?"select":t?"array":void 0;this.setPropertyValue("carryForwardQuestionType",n)},Object.defineProperty(t.prototype,"isUsingRestful",{get:function(){return this.getPropertyValueWithoutDefault("isUsingRestful")||!1},enumerable:!1,configurable:!0}),t.prototype.updateIsUsingRestful=function(){this.setPropertyValueDirectly("isUsingRestful",this.hasChoicesUrl)},t.prototype.supportGoNextPageError=function(){return!this.isOtherSelected||!!this.otherValue},t.prototype.isLayoutTypeSupported=function(e){return!0},t.prototype.localeChanged=function(){e.prototype.localeChanged.call(this),"none"!==this.choicesOrder&&(this.updateVisibleChoices(),this.onVisibleChoicesChanged())},t.prototype.locStrsChanged=function(){e.prototype.locStrsChanged.call(this),this.choicesFromUrl&&(Nn.locStrsChanged(this.choicesFromUrl),Nn.locStrsChanged(this.visibleChoices)),this.isUsingCarryForward&&Nn.locStrsChanged(this.visibleChoices)},t.prototype.updatePrevOtherErrorValue=function(e){var t=this.otherValue;e!==t&&(this.prevOtherErrorValue=t)},Object.defineProperty(t.prototype,"otherValue",{get:function(){return this.showCommentArea?this.otherValueCore:this.comment},set:function(e){this.updatePrevOtherErrorValue(e),this.showCommentArea?this.setOtherValueInternally(e):this.comment=e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"otherValueCore",{get:function(){return this.getPropertyValue("otherValue")},set:function(e){this.setPropertyValue("otherValue",e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"otherItem",{get:function(){return this.otherItemValue},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isOtherSelected",{get:function(){return this.hasOther&&this.getHasOther(this.renderedValue)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isNoneSelected",{get:function(){return this.showNoneItem&&this.getIsItemValue(this.renderedValue,this.noneItem)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"showNoneItem",{get:function(){return this.getPropertyValue("showNoneItem")},set:function(e){this.setPropertyValue("showNoneItem",e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"hasNone",{get:function(){return this.showNoneItem},set:function(e){this.showNoneItem=e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"noneItem",{get:function(){return this.noneItemValue},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"noneText",{get:function(){return this.getLocalizableStringText("noneText")},set:function(e){this.setLocalizableStringText("noneText",e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"locNoneText",{get:function(){return this.getLocalizableString("noneText")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"showRefuseItem",{get:function(){return this.getPropertyValue("showRefuseItem")},set:function(e){this.setPropertyValue("showRefuseItem",e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"refuseItem",{get:function(){return this.refuseItemValue},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"refuseText",{get:function(){return this.getLocalizableStringText("refuseText")},set:function(e){this.setLocalizableStringText("refuseText",e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"locRefuseText",{get:function(){return this.getLocalizableString("refuseText")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"showDontKnowItem",{get:function(){return this.getPropertyValue("showDontKnowItem")},set:function(e){this.setPropertyValue("showDontKnowItem",e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"dontKnowItem",{get:function(){return this.dontKnowItemValue},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"dontKnowText",{get:function(){return this.getLocalizableStringText("dontKnowText")},set:function(e){this.setLocalizableStringText("dontKnowText",e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"locDontKnowText",{get:function(){return this.getLocalizableString("dontKnowText")},enumerable:!1,configurable:!0}),t.prototype.createDefaultItem=function(e,t,n){var o=new Nn(e),i=this.createLocalizableString(t,o,!0,n);return o.locOwner=this,o.setLocText(i),o},Object.defineProperty(t.prototype,"choicesVisibleIf",{get:function(){return this.getPropertyValue("choicesVisibleIf","")},set:function(e){this.setPropertyValue("choicesVisibleIf",e),this.filterItems()},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"choicesEnableIf",{get:function(){return this.getPropertyValue("choicesEnableIf","")},set:function(e){this.setPropertyValue("choicesEnableIf",e),this.filterItems()},enumerable:!1,configurable:!0}),t.prototype.surveyChoiceItemVisibilityChange=function(){this.filterItems()},t.prototype.runCondition=function(t,n){e.prototype.runCondition.call(this,t,n),this.runItemsEnableCondition(t,n),this.runItemsCondition(t,n),this.choices.forEach((function(e){e.runConditionCore(t,n)}))},t.prototype.isTextValue=function(){return!0},t.prototype.setDefaultValue=function(){this.isSettingDefaultValue=!this.isValueEmpty(this.defaultValue)&&this.hasUnknownValue(this.defaultValue),this.prevOtherValue=void 0;var t=this.comment;e.prototype.setDefaultValue.call(this),this.isSettingDefaultValue=!1,this.comment&&this.getStoreOthersAsComment()&&t!==this.comment&&(this.setValueCore(this.setOtherValueIntoValue(this.value)),this.setCommentIntoData(this.comment))},t.prototype.getIsMultipleValue=function(){return!1},t.prototype.convertDefaultValue=function(e){if(null==e||null==e)return e;if(this.getIsMultipleValue()){if(!Array.isArray(e))return[e]}else if(Array.isArray(e)&&e.length>0)return e[0];return e},t.prototype.filterItems=function(){if(this.isLoadingFromJson||!this.data||this.areInvisibleElementsShowing)return!1;var e=this.getDataFilteredValues(),t=this.getDataFilteredProperties();return this.runItemsEnableCondition(e,t),this.runItemsCondition(e,t)},t.prototype.runItemsCondition=function(e,t){this.setConditionalChoicesRunner();var n=this.runConditionsForItems(e,t);return this.filteredChoicesValue&&this.filteredChoicesValue.length===this.activeChoices.length&&(this.filteredChoicesValue=void 0),n&&(this.onVisibleChoicesChanged(),this.clearIncorrectValues()),n},t.prototype.runItemsEnableCondition=function(e,t){var n=this;this.setConditionalEnableChoicesRunner(),Nn.runEnabledConditionsForItems(this.activeChoices,this.conditionChoicesEnableIfRunner,e,t,(function(e,t){return t&&n.onEnableItemCallBack(e)}))&&this.clearDisabledValues(),this.onAfterRunItemsEnableCondition()},t.prototype.onAfterRunItemsEnableCondition=function(){},t.prototype.onEnableItemCallBack=function(e){return!0},t.prototype.onSelectedItemValuesChangedHandler=function(e){var t;null===(t=this.survey)||void 0===t||t.loadedChoicesFromServer(this)},t.prototype.getItemIfChoicesNotContainThisValue=function(e,t){return this.waitingChoicesByURL?this.createItemValue(e,t):null},t.prototype.getSingleSelectedItem=function(){var e=this.selectedItemValues;if(this.isEmpty())return null;var t=Nn.getItemByValue(this.visibleChoices,this.value);return this.onGetSingleSelectedItem(t),t||e&&this.value==e.id||this.updateSelectedItemValues(),t||e||(this.isOtherSelected?this.otherItem:this.getItemIfChoicesNotContainThisValue(this.value))},t.prototype.onGetSingleSelectedItem=function(e){},t.prototype.getMultipleSelectedItems=function(){return[]},t.prototype.setConditionalChoicesRunner=function(){this.choicesVisibleIf?(this.conditionChoicesVisibleIfRunner||(this.conditionChoicesVisibleIfRunner=new be(this.choicesVisibleIf)),this.conditionChoicesVisibleIfRunner.expression=this.choicesVisibleIf):this.conditionChoicesVisibleIfRunner=null},t.prototype.setConditionalEnableChoicesRunner=function(){this.choicesEnableIf?(this.conditionChoicesEnableIfRunner||(this.conditionChoicesEnableIfRunner=new be(this.choicesEnableIf)),this.conditionChoicesEnableIfRunner.expression=this.choicesEnableIf):this.conditionChoicesEnableIfRunner=null},t.prototype.canSurveyChangeItemVisibility=function(){return!!this.survey&&this.survey.canChangeChoiceItemsVisibility()},t.prototype.changeItemVisibility=function(){var e=this;return this.canSurveyChangeItemVisibility()?function(t,n){return e.survey.getChoiceItemVisibility(e,t,n)}:null},t.prototype.runConditionsForItems=function(e,t){this.filteredChoicesValue=[];var n=this.changeItemVisibility();return Nn.runConditionsForItems(this.activeChoices,this.getFilteredChoices(),this.areInvisibleElementsShowing?null:this.conditionChoicesVisibleIfRunner,e,t,!this.survey||!this.survey.areInvisibleElementsShowing,(function(e,t){return n?n(e,t):t}))},t.prototype.getHasOther=function(e){return this.getIsItemValue(e,this.otherItem)},t.prototype.getIsItemValue=function(e,t){return e===t.value},Object.defineProperty(t.prototype,"validatedValue",{get:function(){return this.rendredValueToDataCore(this.value)},enumerable:!1,configurable:!0}),t.prototype.createRestful=function(){return new Gn},t.prototype.setNewRestfulProperty=function(){this.setPropertyValue("choicesByUrl",this.createRestful()),this.choicesByUrl.owner=this,this.choicesByUrl.loadingOwner=this},Object.defineProperty(t.prototype,"autoOtherMode",{get:function(){return this.getPropertyValue("autoOtherMode")},set:function(e){this.setPropertyValue("autoOtherMode",e)},enumerable:!1,configurable:!0}),t.prototype.getQuestionComment=function(){return this.showCommentArea?e.prototype.getQuestionComment.call(this):this.otherValueCore?this.otherValueCore:this.hasComment||this.getStoreOthersAsComment()?e.prototype.getQuestionComment.call(this):this.otherValueCore},t.prototype.selectOtherValueFromComment=function(e){this.value=e?this.otherItem.value:void 0},t.prototype.setQuestionComment=function(t){this.updatePrevOtherErrorValue(t),this.showCommentArea?e.prototype.setQuestionComment.call(this,t):(this.onUpdateCommentOnAutoOtherMode(t),this.getStoreOthersAsComment()?e.prototype.setQuestionComment.call(this,t):this.setOtherValueInternally(t),this.updateChoicesDependedQuestions())},t.prototype.onUpdateCommentOnAutoOtherMode=function(e){if(this.autoOtherMode){this.prevOtherValue=void 0;var t=this.isOtherSelected;(!t&&e||t&&!e)&&this.selectOtherValueFromComment(!!e)}},t.prototype.setOtherValueInternally=function(e){this.isSettingComment||e==this.otherValueCore||(this.isSettingComment=!0,this.otherValueCore=e,this.isOtherSelected&&!this.isRenderedValueSetting&&(this.value=this.getValueOnSettingOther(e)),this.isSettingComment=!1)},t.prototype.getValueOnSettingOther=function(e){var t=this.rendredValueToData(this.renderedValue);if(this.showCommentArea||this.getStoreOthersAsComment())return t;var n=Nn.getItemByValue(this.visibleChoices,e);if(!n||n===this.otherItem)return t;if(this.otherValueCore="",!Array.isArray(t))return e;var o=t.indexOf(this.otherItem.value);return o>-1&&t.splice(o,1),t.indexOf(e)<0&&t.push(e),t},t.prototype.clearValue=function(t){e.prototype.clearValue.call(this,t),this.prevOtherValue=void 0,this.selectedItemValues=void 0},t.prototype.updateCommentFromSurvey=function(t){e.prototype.updateCommentFromSurvey.call(this,t),this.prevOtherValue=void 0},Object.defineProperty(t.prototype,"renderedValue",{get:function(){return this.getPropertyValue("renderedValue",null)},set:function(e){if(!this.isReadOnlyAttr){this.setPropertyValue("renderedValue",e);e=this.rendredValueToData(e);this.isTwoValueEquals(e,this.value)||(this.value=e)}},enumerable:!1,configurable:!0}),t.prototype.setQuestionValue=function(t,n,o){if(void 0===n&&(n=!0),void 0===o&&(o=!0),!this.isLoadingFromJson&&!this.isTwoValueEquals(this.value,t)&&(e.prototype.setQuestionValue.call(this,t,n),this.setPropertyValue("renderedValue",this.rendredValueFromData(t)),this.updateChoicesDependedQuestions(),!this.hasComment&&o)){var i=this.isOtherSelected;if(i&&this.prevOtherValue){var r=this.prevOtherValue;this.prevOtherValue=void 0,this.otherValue=r}!i&&this.otherValue&&(this.getStoreOthersAsComment()&&!this.autoOtherMode&&(this.prevOtherValue=this.otherValue),this.makeCommentEmpty=!0,this.otherValueCore="",this.setPropertyValue("comment",""))}},t.prototype.setValueCore=function(t){e.prototype.setValueCore.call(this,t),this.makeCommentEmpty&&(this.setCommentIntoData(""),this.makeCommentEmpty=!1)},t.prototype.setNewValue=function(t){t=this.valueFromData(t),(this.choicesByUrl.isRunning||this.choicesByUrl.isWaitingForParameters)&&this.isValueEmpty(t)||(this.cachedValueForUrlRequests=t),e.prototype.setNewValue.call(this,t)},t.prototype.valueFromData=function(t){var n=Nn.getItemByValue(this.activeChoices,t);return n?n.value:e.prototype.valueFromData.call(this,t)},t.prototype.rendredValueFromData=function(e){return this.getStoreOthersAsComment()?e:this.renderedValueFromDataCore(e)},t.prototype.rendredValueToData=function(e){return this.getStoreOthersAsComment()?e:this.rendredValueToDataCore(e)},t.prototype.renderedValueFromDataCore=function(e){return this.hasUnknownValue(e,!0,!1)?(this.otherValue=e,this.otherItem.value):this.valueFromData(e)},t.prototype.rendredValueToDataCore=function(e){return e==this.otherItem.value&&this.needConvertRenderedOtherToDataValue()&&(e=this.otherValue),e},t.prototype.needConvertRenderedOtherToDataValue=function(){var e=this.otherValue;return!!e&&(!!(e=e.trim())&&this.hasUnknownValue(e,!0,!1))},t.prototype.getIsQuestionReady=function(){return e.prototype.getIsQuestionReady.call(this)&&!this.waitingChoicesByURL&&!this.waitingGetChoiceDisplayValueResponse},t.prototype.updateSelectedItemValues=function(){var e=this;if(!this.waitingGetChoiceDisplayValueResponse&&this.survey&&!this.isEmpty()){var t=this.value,n=Array.isArray(t)?t:[t];n.some((function(t){return!Nn.getItemByValue(e.choices,t)}))&&(this.choicesLazyLoadEnabled||this.hasChoicesUrl)&&(this.waitingGetChoiceDisplayValueResponse=!0,this.updateIsReady(),this.survey.getChoiceDisplayValue({question:this,values:n,setItems:function(o){for(var i=[],r=1;r<arguments.length;r++)i[r-1]=arguments[r];if(e.waitingGetChoiceDisplayValueResponse=!1,o&&o.length){var a=o.map((function(t,o){return e.createItemValue(n[o],t)}));e.setCustomValuesIntoItems(a,i),Array.isArray(t)?e.selectedItemValues=a:e.selectedItemValues=a[0],e.updateIsReady()}else e.updateIsReady()}}))}},t.prototype.setCustomValuesIntoItems=function(e,t){Array.isArray(t)&&0!==t.length&&t.forEach((function(t){var n=t.values,o=t.propertyName;if(Array.isArray(n))for(var i=0;i<e.length&&i<n.length;i++)e[i][o]=n[i]}))},t.prototype.hasUnknownValue=function(e,t,n,o){if(void 0===t&&(t=!1),void 0===n&&(n=!0),void 0===o&&(o=!1),!Array.isArray(e))return this.hasUnknownValueItem(e,t,n,o);for(var i=0;i<e.length;i++)if(this.hasUnknownValueItem(e,t,n,o))return!0;return!1},t.prototype.hasUnknownValueItem=function(e,t,n,o){if(void 0===t&&(t=!1),void 0===n&&(n=!0),void 0===o&&(o=!1),!o&&this.isValueEmpty(e))return!1;if(t&&e==this.otherItem.value)return!1;if(this.showNoneItem&&e==this.noneItem.value)return!1;if(this.showRefuseItem&&e==this.refuseItem.value)return!1;if(this.showDontKnowItem&&e==this.dontKnowItem.value)return!1;var i=n?this.getFilteredChoices():this.activeChoices;return null==Nn.getItemByValue(i,e)},t.prototype.isValueDisabled=function(e){var t=Nn.getItemByValue(this.getFilteredChoices(),e);return!!t&&!t.isEnabled},t.prototype.endLoadingFromJson=function(){e.prototype.endLoadingFromJson.call(this),this.updateVisibleChoices()},Object.defineProperty(t.prototype,"choicesByUrl",{get:function(){return this.getPropertyValue("choicesByUrl")},set:function(e){e&&(this.setNewRestfulProperty(),this.choicesByUrl.fromJSON(e.toJSON()))},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"choices",{get:function(){return this.getPropertyValue("choices")},set:function(e){this.setPropertyValue("choices",e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"choicesFromQuestion",{get:function(){return this.getPropertyValue("choicesFromQuestion")},set:function(e){var t=this.getQuestionWithChoices();this.isLockVisibleChoices=!!t&&t.name===e,t&&t.name!==e&&(t.removeDependedQuestion(this),this.isInDesignMode&&!this.isLoadingFromJson&&e&&this.setPropertyValue("choicesFromQuestion",void 0)),this.setPropertyValue("choicesFromQuestion",e),this.isLockVisibleChoices=!1},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"choicesFromQuestionMode",{get:function(){return this.getPropertyValue("choicesFromQuestionMode")},set:function(e){this.setPropertyValue("choicesFromQuestionMode",e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"choiceValuesFromQuestion",{get:function(){return this.getPropertyValue("choiceValuesFromQuestion")},set:function(e){this.setPropertyValue("choiceValuesFromQuestion",e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"choiceTextsFromQuestion",{get:function(){return this.getPropertyValue("choiceTextsFromQuestion")},set:function(e){this.setPropertyValue("choiceTextsFromQuestion",e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"hideIfChoicesEmpty",{get:function(){return this.getPropertyValue("hideIfChoicesEmpty")},set:function(e){this.setPropertyValue("hideIfChoicesEmpty",e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"keepIncorrectValues",{get:function(){return this.getPropertyValue("keepIncorrectValues",!1)},set:function(e){this.setPropertyValue("keepIncorrectValues",e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"storeOthersAsComment",{get:function(){return this.getPropertyValue("storeOthersAsComment")},set:function(e){this.setPropertyValue("storeOthersAsComment",e)},enumerable:!1,configurable:!0}),t.prototype.hasOtherChanged=function(){this.onVisibleChoicesChanged()},Object.defineProperty(t.prototype,"choicesOrder",{get:function(){return this.getPropertyValue("choicesOrder")},set:function(e){(e=e.toLowerCase())!=this.choicesOrder&&(this.setPropertyValue("choicesOrder",e),this.onVisibleChoicesChanged())},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"otherText",{get:function(){return this.getLocalizableStringText("otherText")},set:function(e){this.setLocalizableStringText("otherText",e),this.onVisibleChoicesChanged()},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"locOtherText",{get:function(){return this.getLocalizableString("otherText")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"otherPlaceHolder",{get:function(){return this.otherPlaceholder},set:function(e){this.otherPlaceholder=e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"otherErrorText",{get:function(){return this.getLocalizableStringText("otherErrorText")},set:function(e){this.setLocalizableStringText("otherErrorText",e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"locOtherErrorText",{get:function(){return this.getLocalizableString("otherErrorText")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"visibleChoices",{get:function(){return this.getPropertyValue("visibleChoices")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"enabledChoices",{get:function(){for(var e=[],t=this.visibleChoices,n=0;n<t.length;n++)t[n].isEnabled&&e.push(t[n]);return e},enumerable:!1,configurable:!0}),t.prototype.updateVisibleChoices=function(){if(!this.isLoadingFromJson&&!this.isDisposed){var e=new Array,t=this.calcVisibleChoices();t||(t=[]);for(var n=0;n<t.length;n++)e.push(t[n]);var o=this.visibleChoices;this.isTwoValueEquals(o,e)&&!this.choicesLazyLoadEnabled||(this.setArrayPropertyDirectly("visibleChoices",e),this.updateRenderedChoices())}},t.prototype.calcVisibleChoices=function(){if(this.canUseFilteredChoices())return this.getFilteredChoices();var e=this.sortVisibleChoices(this.getFilteredChoices().slice());return this.addToVisibleChoices(e,this.isAddDefaultItems),e},t.prototype.canUseFilteredChoices=function(){return!(this.isAddDefaultItems||this.showNoneItem||this.showRefuseItem||this.showDontKnowItem||this.hasOther||"none"!=this.choicesOrder)},t.prototype.setCanShowOptionItemCallback=function(e){this.canShowOptionItemCallback=e,e&&this.onVisibleChoicesChanged()},Object.defineProperty(t.prototype,"newItem",{get:function(){return this.newItemValue},enumerable:!1,configurable:!0}),t.prototype.addToVisibleChoices=function(e,t){this.headItemsCount=0,this.footItemsCount=0,this.isEmptyActiveChoicesInDesign||this.addNewItemToVisibleChoices(e,t);var n=new Array;this.addNonChoicesItems(n,t),n.sort((function(e,t){return e.index===t.index?0:e.index<t.index?-1:1}));for(var o=0;o<n.length;o++){var i=n[o];i.index<0?(e.splice(o,0,i.item),this.headItemsCount++):(e.push(i.item),this.footItemsCount++)}},t.prototype.addNewItemToVisibleChoices=function(e,t){var n=this;t&&(this.newItemValue||(this.newItemValue=this.createItemValue("newitem"),this.newItemValue.isGhost=!0,this.newItemValue.registerFunctionOnPropertyValueChanged("isVisible",(function(){n.updateVisibleChoices()}))),this.newItemValue.isVisible&&!this.isUsingCarryForward&&this.canShowOptionItem(this.newItemValue,t,!1)&&(this.footItemsCount=1,e.push(this.newItemValue)))},t.prototype.addNonChoicesItems=function(e,t){this.supportNone()&&this.addNonChoiceItem(e,this.noneItem,t,this.showNoneItem,tn.specialChoicesOrder.noneItem),this.supportRefuse()&&this.addNonChoiceItem(e,this.refuseItem,t,this.showRefuseItem,tn.specialChoicesOrder.refuseItem),this.supportDontKnow()&&this.addNonChoiceItem(e,this.dontKnowItem,t,this.showDontKnowItem,tn.specialChoicesOrder.dontKnowItem),this.supportOther()&&this.addNonChoiceItem(e,this.otherItem,t,this.hasOther,tn.specialChoicesOrder.otherItem)},t.prototype.addNonChoiceItem=function(e,t,n,o,i){this.canShowOptionItem(t,n,o)&&i.forEach((function(n){return e.push({index:n,item:t})}))},t.prototype.canShowOptionItem=function(e,t,n){var o=t&&(!this.canShowOptionItemCallback||this.canShowOptionItemCallback(e))||n;return this.canSurveyChangeItemVisibility()?this.changeItemVisibility()(e,o):o},t.prototype.isItemInList=function(e){return e===this.otherItem?this.hasOther:e===this.noneItem?this.showNoneItem:e===this.refuseItem?this.showRefuseItem:e===this.dontKnowItem?this.showDontKnowItem:e!==this.newItemValue},Object.defineProperty(t.prototype,"isAddDefaultItems",{get:function(){return tn.showDefaultItemsInCreatorV2&&this.isInDesignModeV2&&!this.customWidget},enumerable:!1,configurable:!0}),t.prototype.getPlainData=function(t){var n=this;void 0===t&&(t={includeEmpty:!0,includeQuestionTypes:!1});var o=e.prototype.getPlainData.call(this,t);if(o){var i=Array.isArray(this.value)?this.value:[this.value];o.isNode=!0,o.data=(o.data||[]).concat(i.map((function(e,o){var i=Nn.getItemByValue(n.visibleChoices,e),r={name:o,title:"Choice",value:e,displayValue:n.getChoicesDisplayValue(n.visibleChoices,e),getString:function(e){return"object"==typeof e?JSON.stringify(e):e},isNode:!1};return i&&(t.calculations||[]).forEach((function(e){r[e.propertyName]=i[e.propertyName]})),n.isOtherSelected&&n.otherItemValue===i&&(r.isOther=!0,r.displayValue=n.otherValue),r})))}return o},t.prototype.getDisplayValueCore=function(e,t){return this.useDisplayValuesInDynamicTexts?this.getChoicesDisplayValue(this.visibleChoices,t):t},t.prototype.getDisplayValueEmpty=function(){return Nn.getTextOrHtmlByValue(this.visibleChoices,void 0)},t.prototype.getChoicesDisplayValue=function(e,t){if(t==this.otherItemValue.value)return this.otherValue?this.otherValue:this.locOtherText.textOrHtml;var n=this.getSingleSelectedItem();if(n&&this.isTwoValueEquals(n.value,t))return n.locText.textOrHtml;var o=Nn.getTextOrHtmlByValue(e,t);return""==o&&t?t:o},t.prototype.getDisplayArrayValue=function(e,t,n){for(var o=this,i=this.visibleChoices,r=[],a=[],s=0;s<t.length;s++)a.push(n?n(s):t[s]);if(u.isTwoValueEquals(this.value,a)&&this.getMultipleSelectedItems().forEach((function(e,t){return r.push(o.getItemDisplayValue(e,a[t]))})),0===r.length)for(s=0;s<a.length;s++){var l=this.getChoicesDisplayValue(i,a[s]);l&&r.push(l)}return r.join(tn.choicesSeparator)},t.prototype.getItemDisplayValue=function(e,t){if(e===this.otherItem){if(this.hasOther&&this.showCommentArea&&t)return t;if(this.comment)return this.comment}return e.locText.textOrHtml},t.prototype.getFilteredChoices=function(){return this.filteredChoicesValue?this.filteredChoicesValue:this.activeChoices},Object.defineProperty(t.prototype,"activeChoices",{get:function(){var e=this.getCarryForwardQuestion();return"select"===this.carryForwardQuestionType?(e.addDependedQuestion(this),this.getChoicesFromSelectQuestion(e)):"array"===this.carryForwardQuestionType?(e.addDependedQuestion(this),this.getChoicesFromArrayQuestion(e)):this.isEmptyActiveChoicesInDesign?[]:this.choicesFromUrl?this.choicesFromUrl:this.getChoices()},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isMessagePanelVisible",{get:function(){return this.getPropertyValue("isMessagePanelVisible",!1)},set:function(e){this.setPropertyValue("isMessagePanelVisible",e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isEmptyActiveChoicesInDesign",{get:function(){return this.isInDesignModeV2&&(this.hasChoicesUrl||this.isMessagePanelVisible)},enumerable:!1,configurable:!0}),t.prototype.getCarryForwardQuestion=function(e){var t=this.findCarryForwardQuestion(e),n=this.getQuestionWithChoicesCore(t),o=n?null:this.getQuestionWithArrayValue(t);return this.setCarryForwardQuestionType(!!n,!!o),n||o?t:null},t.prototype.getIsReadyDependsOn=function(){var t=e.prototype.getIsReadyDependsOn.call(this);return this.carryForwardQuestion&&t.push(this.carryForwardQuestion),t},t.prototype.getQuestionWithChoices=function(){return this.getQuestionWithChoicesCore(this.findCarryForwardQuestion())},t.prototype.findCarryForwardQuestion=function(e){var t;return e||(e=this.data||(null===(t=this.parentQuestion)||void 0===t?void 0:t.data)),this.carryForwardQuestion=null,this.choicesFromQuestion&&e&&(this.carryForwardQuestion=e.findQuestionByName(this.choicesFromQuestion)),this.carryForwardQuestion},t.prototype.getQuestionWithChoicesCore=function(e){return e&&e.visibleChoices&&L.isDescendantOf(e.getType(),"selectbase")&&e!==this?e:null},t.prototype.getQuestionWithArrayValue=function(e){return e&&e.isValueArray?e:null},t.prototype.getChoicesFromArrayQuestion=function(e){if(this.isInDesignMode)return[];var t=e.value;if(!Array.isArray(t))return[];for(var n=[],o=0;o<t.length;o++){var i=t[o];if(u.isValueObject(i)){var r=this.getValueKeyName(i);if(r&&!this.isValueEmpty(i[r])){var a=this.choiceTextsFromQuestion?i[this.choiceTextsFromQuestion]:void 0;n.push(this.createItemValue(i[r],a))}}}return n},t.prototype.getValueKeyName=function(e){if(this.choiceValuesFromQuestion)return this.choiceValuesFromQuestion;var t=Object.keys(e);return t.length>0?t[0]:void 0},t.prototype.getChoicesFromSelectQuestion=function(e){if(this.isInDesignMode)return[];for(var t=[],n="selected"==this.choicesFromQuestionMode||"unselected"!=this.choicesFromQuestionMode&&void 0,o=e.visibleChoices,i=0;i<o.length;i++)if(!e.isBuiltInChoice(o[i]))if(void 0!==n){var r=e.isItemSelected(o[i]);(r&&n||!r&&!n)&&t.push(this.copyChoiceItem(o[i]))}else t.push(this.copyChoiceItem(o[i]));return"selected"===this.choicesFromQuestionMode&&!this.showOtherItem&&e.isOtherSelected&&e.comment&&t.push(this.createItemValue(e.otherItem.value,e.comment)),t},t.prototype.copyChoiceItem=function(e){var t=this.createItemValue(e.value);return t.setData(e),t},Object.defineProperty(t.prototype,"hasActiveChoices",{get:function(){var e=this.visibleChoices;e&&0!=e.length||(this.onVisibleChoicesChanged(),e=this.visibleChoices);for(var t=0;t<e.length;t++)if(!this.isBuiltInChoice(e[t]))return!0;return!1},enumerable:!1,configurable:!0}),t.prototype.isBuiltInChoice=function(e){return this.isNoneItem(e)||e===this.otherItem||e===this.newItemValue},t.prototype.isNoneItem=function(e){return this.getNoneItems().indexOf(e)>-1},t.prototype.getNoneItems=function(){return[this.noneItem,this.refuseItem,this.dontKnowItem]},t.prototype.getChoices=function(){return this.choices},t.prototype.supportOther=function(){return this.isSupportProperty("showOtherItem")},t.prototype.supportNone=function(){return this.isSupportProperty("showNoneItem")},t.prototype.supportRefuse=function(){return this.isSupportProperty("showRefuseItem")},t.prototype.supportDontKnow=function(){return this.isSupportProperty("showDontKnowItem")},t.prototype.isSupportProperty=function(e){return!this.isDesignMode||this.getPropertyByName(e).visible},t.prototype.onCheckForErrors=function(t,n,o){var i=this;if(e.prototype.onCheckForErrors.call(this,t,n,o),this.hasOther&&this.isOtherSelected&&!this.otherValue&&(!n||this.prevOtherErrorValue)){var r=new pn(this.otherErrorText,this);r.onUpdateErrorTextCallback=function(e){e.text=i.otherErrorText},t.push(r)}},t.prototype.setSurveyImpl=function(t,n){this.isRunningChoices=!0,e.prototype.setSurveyImpl.call(this,t,n),this.isRunningChoices=!1,this.runChoicesByUrl(),this.isAddDefaultItems&&this.updateVisibleChoices()},t.prototype.setSurveyCore=function(t){e.prototype.setSurveyCore.call(this,t),t&&this.choicesFromQuestion&&this.onVisibleChoicesChanged()},t.prototype.getStoreOthersAsComment=function(){return!this.isSettingDefaultValue&&(!this.showCommentArea&&(!0===this.storeOthersAsComment||"default"==this.storeOthersAsComment&&(null==this.survey||this.survey.storeOthersAsComment)||this.hasChoicesUrl&&!this.choicesFromUrl))},t.prototype.onSurveyLoad=function(){this.runChoicesByUrl(),this.onVisibleChoicesChanged(),e.prototype.onSurveyLoad.call(this)},t.prototype.onAnyValueChanged=function(t,n){e.prototype.onAnyValueChanged.call(this,t,n),t!=this.getValueName()&&this.runChoicesByUrl();var o=this.choicesFromQuestion;t&&o&&(t===o||n===o)&&(this.onVisibleChoicesChanged(),this.clearIncorrectValues())},t.prototype.updateValueFromSurvey=function(t,n){var o="";this.hasOther&&this.activeChoices.length>0&&!this.isRunningChoices&&!this.choicesByUrl.isRunning&&this.getStoreOthersAsComment()&&(this.hasUnknownValue(t)&&!this.getHasOther(t)?(o=this.getCommentFromValue(t),t=this.setOtherValueIntoValue(t)):this.data&&(o=this.data.getComment(this.getValueName()))),e.prototype.updateValueFromSurvey.call(this,t,n),!this.isRunningChoices&&!this.choicesByUrl.isRunning||this.isEmpty()||(this.cachedValueForUrlRequests=this.value),o&&this.setNewComment(o)},t.prototype.getCommentFromValue=function(e){return e},t.prototype.setOtherValueIntoValue=function(e){return this.otherItem.value},t.prototype.onOtherValueInput=function(e){this.isInputTextUpdate?e.target&&(this.otherValue=e.target.value):this.updateCommentElements()},t.prototype.onOtherValueChange=function(e){this.otherValue=e.target.value,this.otherValue!==e.target.value&&(e.target.value=this.otherValue)},t.prototype.runChoicesByUrl=function(){if(this.updateIsUsingRestful(),this.choicesByUrl&&!this.isLoadingFromJson&&!this.isRunningChoices&&!this.isInDesignModeV2){var e=this.surveyImpl?this.surveyImpl.getTextProcessor():this.textProcessor;e||(e=this.survey),e&&(this.updateIsReady(),this.isRunningChoices=!0,this.choicesByUrl.run(e),this.isRunningChoices=!1)}},t.prototype.onBeforeSendRequest=function(){!0!==tn.web.disableQuestionWhileLoadingChoices||this.isReadOnly||(this.enableOnLoadingChoices=!0,this.readOnly=!0)},t.prototype.onLoadChoicesFromUrl=function(e){this.enableOnLoadingChoices&&(this.readOnly=!1);var t=[];this.isReadOnly||this.choicesByUrl&&this.choicesByUrl.error&&t.push(this.choicesByUrl.error);var n=null,o=!0;this.isFirstLoadChoicesFromUrl&&!this.cachedValueForUrlRequests&&this.defaultValue&&(this.cachedValueForUrlRequests=this.defaultValue,o=!1),this.isValueEmpty(this.cachedValueForUrlRequests)&&(this.cachedValueForUrlRequests=this.value);var i=this.createCachedValueForUrlRequests(this.cachedValueForUrlRequests,o);if(e&&(e.length>0||this.choicesByUrl.allowEmptyResponse)&&(n=new Array,Nn.setData(n,e)),n)for(var r=0;r<n.length;r++)n[r].locOwner=this;this.setChoicesFromUrl(n,t,i)},t.prototype.canAvoidSettChoicesFromUrl=function(e){return!this.isFirstLoadChoicesFromUrl&&(!((!e||Array.isArray(e)&&0===e.length)&&!this.isEmpty())&&u.isTwoValueEquals(this.choicesFromUrl,e))},t.prototype.setChoicesFromUrl=function(e,t,n){if(!this.canAvoidSettChoicesFromUrl(e)){if(this.isFirstLoadChoicesFromUrl=!1,this.choicesFromUrl=e,this.filterItems(),this.onVisibleChoicesChanged(),e){var o=this.updateCachedValueForUrlRequests(n,e);if(o&&!this.isReadOnly){var i=!this.isTwoValueEquals(this.value,o.value);try{this.isValueEmpty(o.value)||(this.allowNotifyValueChanged=!1,this.setQuestionValue(void 0,!0,!1)),this.allowNotifyValueChanged=i,i?this.value=o.value:this.setQuestionValue(o.value)}finally{this.allowNotifyValueChanged=!0}}}this.isReadOnly||e||this.isFirstLoadChoicesFromUrl||(this.value=null),this.errors=t,this.choicesLoaded()}},t.prototype.createCachedValueForUrlRequests=function(e,t){if(this.isValueEmpty(e))return null;if(Array.isArray(e)){for(var n=[],o=0;o<e.length;o++)n.push(this.createCachedValueForUrlRequests(e[o],!0));return n}return{value:e,isExists:!t||!this.hasUnknownValue(e)}},t.prototype.updateCachedValueForUrlRequests=function(e,t){if(this.isValueEmpty(e))return null;if(Array.isArray(e)){for(var n=[],o=0;o<e.length;o++){var i=this.updateCachedValueForUrlRequests(e[o],t);if(i&&!this.isValueEmpty(i.value)){var r=i.value;(a=Nn.getItemByValue(t,i.value))&&(r=a.value),n.push(r)}}return{value:n}}var a,s=e.isExists&&this.hasUnknownValue(e.value)?null:e.value;return(a=Nn.getItemByValue(t,s))&&(s=a.value),{value:s}},t.prototype.updateChoicesDependedQuestions=function(){this.isLoadingFromJson||this.isUpdatingChoicesDependedQuestions||!this.allowNotifyValueChanged||this.choicesByUrl.isRunning||(this.isUpdatingChoicesDependedQuestions=!0,this.updateDependedQuestions(),this.isUpdatingChoicesDependedQuestions=!1)},t.prototype.updateDependedQuestion=function(){this.onVisibleChoicesChanged(),this.clearIncorrectValues()},t.prototype.onSurveyValueChanged=function(t){e.prototype.onSurveyValueChanged.call(this,t),this.updateChoicesDependedQuestions()},t.prototype.onVisibleChoicesChanged=function(){this.isLoadingFromJson||this.isLockVisibleChoices||(this.updateVisibleChoices(),this.onVisibleChanged(),this.visibleChoicesChangedCallback&&this.visibleChoicesChangedCallback(),this.updateChoicesDependedQuestions())},t.prototype.isVisibleCore=function(){var t=e.prototype.isVisibleCore.call(this);if(!this.hideIfChoicesEmpty||!t)return t;var n=this.isUsingCarryForward?this.visibleChoices:this.getFilteredChoices();return!n||n.length>0},t.prototype.sortVisibleChoices=function(e){if(this.isInDesignMode)return e;var t=this.choicesOrder.toLowerCase();return"asc"==t?this.sortArray(e,1):"desc"==t?this.sortArray(e,-1):"random"==t?this.randomizeArray(e):e},t.prototype.sortArray=function(e,t){return e.sort((function(e,n){return u.compareStrings(e.calculatedText,n.calculatedText)*t}))},t.prototype.randomizeArray=function(e){return u.randomizeArray(e)},Object.defineProperty(t.prototype,"hasChoicesUrl",{get:function(){return this.choicesByUrl&&!!this.choicesByUrl.url},enumerable:!1,configurable:!0}),t.prototype.clearIncorrectValues=function(){this.hasValueToClearIncorrectValues()&&this.canClearIncorrectValues()&&(this.clearIncorrectValuesCallback?this.clearIncorrectValuesCallback():this.clearIncorrectValuesCore())},t.prototype.canClearIncorrectValues=function(){return!(this.carryForwardQuestion&&!this.carryForwardQuestion.isReady)&&(!(this.survey&&this.survey.questionsByValueName(this.getValueName()).length>1)&&!(this.hasChoicesUrl&&(!this.choicesFromUrl||0==this.choicesFromUrl.length)))},t.prototype.hasValueToClearIncorrectValues=function(){return(!this.survey||!this.survey.keepIncorrectValues)&&(!this.keepIncorrectValues&&!this.isEmpty())},t.prototype.clearValueIfInvisibleCore=function(t){e.prototype.clearValueIfInvisibleCore.call(this,t),this.clearIncorrectValues()},t.prototype.isItemSelected=function(e){return e===this.otherItem?this.isOtherSelected:this.isItemSelectedCore(e)},t.prototype.isItemSelectedCore=function(e){return e.value===this.value},t.prototype.clearDisabledValues=function(){this.survey&&this.survey.clearValueOnDisableItems&&this.clearDisabledValuesCore()},t.prototype.clearIncorrectValuesCore=function(){var e=this.value;this.canClearValueAnUnknown(e)&&this.clearValue(!0)},t.prototype.canClearValueAnUnknown=function(e){return!(!this.getStoreOthersAsComment()&&this.isOtherSelected)&&this.hasUnknownValue(e,!0,!0,!0)},t.prototype.clearDisabledValuesCore=function(){this.isValueDisabled(this.value)&&this.clearValue(!0)},t.prototype.clearUnusedValues=function(){e.prototype.clearUnusedValues.call(this),this.isOtherSelected||(this.otherValue=""),this.showCommentArea||this.getStoreOthersAsComment()||this.isOtherSelected||(this.comment="")},t.prototype.getColumnClass=function(){return(new Ae).append(this.cssClasses.column).append("sv-q-column-"+this.colCount,this.hasColumns).toString()},t.prototype.getItemIndex=function(e){return this.visibleChoices.indexOf(e)},t.prototype.getItemClass=function(e){var t={item:e},n=this.getItemClassCore(e,t);return t.css=n,this.survey&&this.survey.updateChoiceItemCss(this,t),t.css},t.prototype.getCurrentColCount=function(){return this.colCount},t.prototype.getItemClassCore=function(e,t){var n=(new Ae).append(this.cssClasses.item).append(this.cssClasses.itemInline,!this.hasColumns&&0===this.colCount).append("sv-q-col-"+this.getCurrentColCount(),!this.hasColumns&&0!==this.colCount).append(this.cssClasses.itemOnError,this.hasCssError()),o=this.getIsDisableAndReadOnlyStyles(!e.isEnabled),i=o[0],r=o[1],a=this.isItemSelected(e)||this.isOtherSelected&&this.otherItem.value===e.value,s=!(r||a||this.survey&&this.survey.isDesignMode),l=e===this.noneItem;return t.isDisabled=r||i,t.isChecked=a,t.isNone=l,n.append(this.cssClasses.itemDisabled,r).append(this.cssClasses.itemReadOnly,i).append(this.cssClasses.itemPreview,this.isPreviewStyle).append(this.cssClasses.itemChecked,a).append(this.cssClasses.itemHover,s).append(this.cssClasses.itemNone,l).toString()},t.prototype.getLabelClass=function(e){return(new Ae).append(this.cssClasses.label).append(this.cssClasses.labelChecked,this.isItemSelected(e)).toString()},t.prototype.getControlLabelClass=function(e){return(new Ae).append(this.cssClasses.controlLabel).append(this.cssClasses.controlLabelChecked,this.isItemSelected(e)).toString()||void 0},t.prototype.updateRenderedChoices=function(){this.renderedChoices=this.onGetRenderedChoicesCallback?this.onGetRenderedChoicesCallback(this.visibleChoices):this.visibleChoices},t.prototype.getRenderedChoicesAnimationOptions=function(){var e=this;return{isAnimationEnabled:function(){return e.animationAllowed},getRerenderEvent:function(){return e.onElementRerendered},getKey:function(t){return t!=e.newItemValue?t.value:e.newItemValue},getLeaveOptions:function(t){var n=e.cssClasses.itemLeave;if(e.hasColumns){var o=e.bodyItems.indexOf(t);-1!==o&&o!==e.bodyItems.length-1&&(n="")}return{cssClass:n,onBeforeRunAnimation:Yt,onAfterRunAnimation:Xt}},getAnimatedElement:function(e){return e.getRootElement()},getEnterOptions:function(t){var n=e.cssClasses.itemEnter;if(e.hasColumns){var o=e.bodyItems.indexOf(t);-1!==o&&o!==e.bodyItems.length-1&&(n="")}return{cssClass:n,onBeforeRunAnimation:function(n){if(0==e.getCurrentColCount()&&e.bodyItems.indexOf(t)>=0){var o=n.parentElement.firstElementChild.offsetLeft;n.offsetLeft>o&&Jt(n,{moveAnimationDuration:"0s",fadeAnimationDelay:"0s"},"--")}Yt(n)},onAfterRunAnimation:Xt}}}},Object.defineProperty(t.prototype,"renderedChoices",{get:function(){return this._renderedChoices},set:function(e){this.renderedChoicesAnimation.sync(e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"headItems",{get:function(){for(var e=this.separateSpecialChoices||this.isInDesignMode?this.headItemsCount:0,t=[],n=0;n<e;n++)this.renderedChoices[n]&&t.push(this.renderedChoices[n]);return t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"footItems",{get:function(){for(var e=this.separateSpecialChoices||this.isInDesignMode?this.footItemsCount:0,t=[],n=this.renderedChoices,o=0;o<e;o++)this.renderedChoices[n.length-e+o]&&t.push(this.renderedChoices[n.length-e+o]);return t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"dataChoices",{get:function(){var e=this;return this.renderedChoices.filter((function(t){return!e.isBuiltInChoice(t)}))},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"bodyItems",{get:function(){return this.hasHeadItems||this.hasFootItems?this.dataChoices:this.renderedChoices},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"hasHeadItems",{get:function(){return this.headItems.length>0},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"hasFootItems",{get:function(){return this.footItems.length>0},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"columns",{get:function(){var e=[],t=this.getCurrentColCount();if(this.hasColumns&&this.renderedChoices.length>0){var n=this.separateSpecialChoices||this.isInDesignMode?this.dataChoices:this.renderedChoices;if("column"==tn.showItemsInOrder)for(var o=0,i=n.length%t,r=0;r<t;r++){for(var a=[],s=o;s<o+Math.floor(n.length/t);s++)a.push(n[s]);i>0&&(i--,a.push(n[s]),s++),o=s,e.push(a)}else for(r=0;r<t;r++){for(a=[],s=r;s<n.length;s+=t)a.push(n[s]);e.push(a)}}return e},enumerable:!1,configurable:!0}),t.prototype.getItemsColumnKey=function(e){return(e||[]).map((function(e){return e.value||""})).join("")},Object.defineProperty(t.prototype,"hasColumns",{get:function(){return!this.isMobile&&this.getCurrentColCount()>1},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"rowLayout",{get:function(){return 0==this.getCurrentColCount()&&!(this.hasFootItems||this.hasHeadItems)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"blockedRow",{get:function(){return 0==this.getCurrentColCount()&&(this.hasFootItems||this.hasHeadItems)},enumerable:!1,configurable:!0}),t.prototype.choicesLoaded=function(){this.isChoicesLoaded=!0,this.updateIsReady(),this.survey&&this.survey.loadedChoicesFromServer(this),this.loadedChoicesFromServerCallback&&this.loadedChoicesFromServerCallback()},t.prototype.getItemValueWrapperComponentName=function(e){var t=this.survey;return t?t.getItemValueWrapperComponentName(e,this):Wi.TemplateRendererComponentName},t.prototype.getItemValueWrapperComponentData=function(e){var t=this.survey;return t?t.getItemValueWrapperComponentData(e,this):e},t.prototype.ariaItemChecked=function(e){return this.renderedValue===e.value?"true":"false"},t.prototype.isOtherItem=function(e){return this.hasOther&&e.value==this.otherItem.value},Object.defineProperty(t.prototype,"itemSvgIcon",{get:function(){return this.isPreviewStyle&&this.cssClasses.itemPreviewSvgIconId?this.cssClasses.itemPreviewSvgIconId:this.cssClasses.itemSvgIconId},enumerable:!1,configurable:!0}),t.prototype.getSelectBaseRootCss=function(){return(new Ae).append(this.getQuestionRootCss()).append(this.cssClasses.rootRow,this.rowLayout).toString()},t.prototype.allowMobileInDesignMode=function(){return!0},t.prototype.getAriaItemLabel=function(e){return e.locText.renderedHtml},t.prototype.getItemId=function(e){return this.inputId+"_"+this.getItemIndex(e)},Object.defineProperty(t.prototype,"questionName",{get:function(){return this.name+"_"+this.id},enumerable:!1,configurable:!0}),t.prototype.getItemEnabled=function(e){return!this.isDisabledAttr&&e.isEnabled},t.prototype.focusOtherComment=function(){var e;yt.FocusElement(this.otherId,!1,null===(e=this.survey)||void 0===e?void 0:e.rootElement)},t.prototype.onItemSelected=function(e){this.isOtherItem(e)&&this.focusOtherComment()},t.prototype.getDefaultItemComponent=function(){return""},Object.defineProperty(t.prototype,"itemComponent",{get:function(){return this.getPropertyValue("itemComponent",this.getDefaultItemComponent())},set:function(e){this.setPropertyValue("itemComponent",e)},enumerable:!1,configurable:!0}),Ki([x({onSet:function(e,t){t.onSelectedItemValuesChangedHandler(e)}})],t.prototype,"selectedItemValues",void 0),Ki([x()],t.prototype,"separateSpecialChoices",void 0),Ki([x({localizable:!0})],t.prototype,"otherPlaceholder",void 0),Ki([w()],t.prototype,"_renderedChoices",void 0),t}(qn),Ji=function(e){function t(t){return e.call(this,t)||this}return Gi(t,e),Object.defineProperty(t.prototype,"colCount",{get:function(){return this.getPropertyValue("colCount",this.isFlowLayout?0:void 0)},set:function(e){e<0||e>5||this.isFlowLayout||(this.setPropertyValue("colCount",e),this.fireCallback(this.colCountChangedCallback))},enumerable:!1,configurable:!0}),t.prototype.onParentChanged=function(){e.prototype.onParentChanged.call(this),this.isFlowLayout&&this.setPropertyValue("colCount",null)},t.prototype.onParentQuestionChanged=function(){this.onVisibleChoicesChanged()},t.prototype.getSearchableItemValueKeys=function(e){e.push("choices")},t}(Zi);function Yi(e,t){var n;if(!e)return!1;if(e.templateQuestion){var o=null===(n=e.colOwner)||void 0===n?void 0:n.data;if(!(e=e.templateQuestion).getCarryForwardQuestion(o))return!1}return e.carryForwardQuestionType===t}L.addClass("selectbase",[{name:"showCommentArea:switch",layout:"row",visible:!0,category:"general"},"choicesFromQuestion:question_carryforward",{name:"choices:itemvalue[]",uniqueProperty:"value",baseValue:function(){return d("choices_Item")},dependsOn:"choicesFromQuestion",visibleIf:function(e){return!e.choicesFromQuestion}},{name:"choicesFromQuestionMode",default:"all",choices:["all","selected","unselected"],dependsOn:"choicesFromQuestion",visibleIf:function(e){return Yi(e,"select")}},{name:"choiceValuesFromQuestion",dependsOn:"choicesFromQuestion",visibleIf:function(e){return Yi(e,"array")}},{name:"choiceTextsFromQuestion",dependsOn:"choicesFromQuestion",visibleIf:function(e){return Yi(e,"array")}},{name:"choicesOrder",default:"none",choices:["none","asc","desc","random"],dependsOn:"choicesFromQuestion",visibleIf:function(e){return!e.choicesFromQuestion}},{name:"choicesByUrl:restfull",className:"choicesByUrl",onGetValue:function(e){return e.choicesByUrl.getData()},onSetValue:function(e,t){e.choicesByUrl.setData(t)}},"hideIfChoicesEmpty:boolean","choicesVisibleIf:condition",{name:"choicesEnableIf:condition",dependsOn:"choicesFromQuestion",visibleIf:function(e){return!e.choicesFromQuestion}},{name:"defaultValue:value",visibleIf:function(e){return!e.choicesFromQuestion},dependsOn:"choicesFromQuestion"},{name:"correctAnswer:value",visibleIf:function(e){return!e.choicesFromQuestion},dependsOn:"choicesFromQuestion"},{name:"separateSpecialChoices:boolean",visible:!1},{name:"showOtherItem:boolean",alternativeName:"hasOther"},{name:"showNoneItem:boolean",alternativeName:"hasNone"},{name:"showRefuseItem:boolean",visible:!1,version:"1.9.128"},{name:"showDontKnowItem:boolean",visible:!1,version:"1.9.128"},{name:"otherPlaceholder",alternativeName:"otherPlaceHolder",serializationProperty:"locOtherPlaceholder",dependsOn:"showOtherItem",visibleIf:function(e){return e.hasOther}},{name:"noneText",serializationProperty:"locNoneText",dependsOn:"showNoneItem",visibleIf:function(e){return e.showNoneItem}},{name:"refuseText",serializationProperty:"locRefuseText",dependsOn:"showRefuseItem",visibleIf:function(e){return e.showRefuseItem}},{name:"dontKnowText",serializationProperty:"locDontKnowText",dependsOn:"showDontKnowItem",visibleIf:function(e){return e.showDontKnowItem}},{name:"otherText",serializationProperty:"locOtherText",dependsOn:"showOtherItem",visibleIf:function(e){return e.hasOther}},{name:"otherErrorText",serializationProperty:"locOtherErrorText",dependsOn:"showOtherItem",visibleIf:function(e){return e.hasOther}},{name:"storeOthersAsComment",default:"default",choices:["default",!0,!1],visible:!1}],null,"question"),L.addClass("checkboxbase",[{name:"colCount:number",default:1,choices:[0,1,2,3,4,5],layout:"row"}],null,"selectbase");var Xi=function(){function e(e,t,n,o){this.x=e,this.y=t,this.width=n,this.height=o}return Object.defineProperty(e.prototype,"left",{get:function(){return this.x},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"top",{get:function(){return this.y},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"right",{get:function(){return this.x+this.width},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"bottom",{get:function(){return this.y+this.height},enumerable:!1,configurable:!0}),e}(),er=function(){function e(){}return e.calculatePosition=function(e,t,n,o,i,r){void 0===r&&(r="flex");var a=e.left,s=e.top;return"flex"===r&&(a="center"==i?(e.left+e.right-n)/2:"left"==i?e.left-n:e.right),s="middle"==o?(e.top+e.bottom-t)/2:"top"==o?e.top-t:e.bottom,"center"!=i&&"middle"!=o&&("top"==o?s+=e.height:s-=e.height),{left:Math.round(a),top:Math.round(s)}},e.getCorrectedVerticalDimensions=function(t,n,o,i,r,a){var s;void 0===r&&(r=!0),void 0===a&&(a={top:0,bottom:0});var l=o-e.bottomIndent;if("top"===i&&(s={height:n,top:t}),t<-a.top)s={height:r?n+t:n,top:-a.top};else if(n+t>o){var u=Math.min(n,l-t);s={height:r?u:n,top:r?t:t-(n-u)}}return s&&(s.height=Math.min(s.height,l),s.top=Math.max(s.top,-a.top)),s},e.updateHorizontalDimensions=function(e,t,n,o,i,r){void 0===i&&(i="flex"),void 0===r&&(r={left:0,right:0}),t+=r.left+r.right;var a=void 0,s=e;return"center"===o&&("fixed"===i?(e+t>n&&(a=n-e),s-=r.left):e<0?(s=r.left,a=Math.min(t,n)):t+e>n&&(s=n-t,s=Math.max(s,r.left),a=Math.min(t,n))),"left"===o&&e<0&&(s=r.left,a=Math.min(t,n)),"right"===o&&t+e>n&&(a=n-e),{width:a-r.left-r.right,left:s}},e.updateVerticalPosition=function(e,t,n,o,i){if("middle"===o)return o;var r=t-(e.top+("center"!==n?e.height:0)),a=t+e.bottom-("center"!==n?e.height:0)-i;return r>0&&a<=0&&"top"==o?o="bottom":a>0&&r<=0&&"bottom"==o?o="top":a>0&&r>0&&(o=r<a?"top":"bottom"),o},e.updateHorizontalPosition=function(e,t,n,o){if("center"===n)return n;var i=t-e.left,r=t+e.right-o;return i>0&&r<=0&&"left"==n?n="right":r>0&&i<=0&&"right"==n?n="left":r>0&&i>0&&(n=i<r?"left":"right"),n},e.calculatePopupDirection=function(e,t){var n;return"center"==t&&"middle"!=e?n=e:"center"!=t&&(n=t),n},e.calculatePointerTarget=function(e,t,n,o,i,r,a){void 0===r&&(r=0),void 0===a&&(a=0);var s={};return"center"!=i?(s.top=e.top+e.height/2,s.left=e[i]):"middle"!=o&&(s.top=e[o],s.left=e.left+e.width/2),s.left=Math.round(s.left-n),s.top=Math.round(s.top-t),"left"==i&&(s.left-=r+a),"center"===i&&(s.left-=r),s},e.bottomIndent=16,e}(),tr=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(t,n)};return function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function o(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}}(),nr=function(e,t,n,o){var i,r=arguments.length,a=r<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,n):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,o);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(a=(r<3?i(a):r>3?i(t,n,a):i(t,n))||a);return r>3&&a&&Object.defineProperty(t,n,a),a},or='input:not(:disabled):not([readonly]):not([type=hidden]),select:not(:disabled):not([readonly]),textarea:not(:disabled):not([readonly]), button:not(:disabled):not([readonly]), [tabindex]:not([tabindex^="-"])',ir=function(e){function t(t){var n=e.call(this)||this;return n.popupSelector=".sv-popup",n.fixedPopupContainer=".sv-popup",n.containerSelector=".sv-popup__container",n.scrollingContentSelector=".sv-popup__scrolling-content",n.visibilityAnimation=new pt(n,(function(e){n._isVisible!==e&&(e?(n.updateBeforeShowing(),n.updateIsVisible(e)):(n.updateOnHiding(),n.updateIsVisible(e),n.updateAfterHiding(),n._isPositionSetValue=!1))}),(function(){return n._isVisible})),n.onVisibilityChanged=new Ee,n.onModelIsVisibleChangedCallback=function(){n.isVisible=n.model.isVisible},n._isPositionSetValue=!1,n.model=t,n.locale=n.model.locale,n}return tr(t,e),t.prototype.updateIsVisible=function(e){this._isVisible=e,this.onVisibilityChanged.fire(this,{isVisible:e})},t.prototype.updateBeforeShowing=function(){this.model.onShow()},t.prototype.updateAfterHiding=function(){this.model.onHiding()},t.prototype.getLeaveOptions=function(){return{cssClass:"sv-popup--leave",onBeforeRunAnimation:function(e){e.setAttribute("inert","")},onAfterRunAnimation:function(e){return e.removeAttribute("inert")}}},t.prototype.getEnterOptions=function(){return{cssClass:"sv-popup--enter"}},t.prototype.getAnimatedElement=function(){return this.getAnimationContainer()},t.prototype.isAnimationEnabled=function(){return"overlay"!==this.model.displayMode&&tn.animationEnabled},t.prototype.getRerenderEvent=function(){return this.onElementRerendered},t.prototype.getAnimationContainer=function(){var e;return null===(e=this.container)||void 0===e?void 0:e.querySelector(this.fixedPopupContainer)},Object.defineProperty(t.prototype,"isVisible",{get:function(){return this._isVisible},set:function(e){this.visibilityAnimation.sync(e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"container",{get:function(){return this.containerElement||this.createdContainer},enumerable:!1,configurable:!0}),t.prototype.getLocale=function(){return this.locale?this.locale:e.prototype.getLocale.call(this)},t.prototype.hidePopup=function(){this.model.isVisible=!1},t.prototype.getStyleClass=function(){return(new Ae).append(this.model.cssClass).append("sv-popup--"+this.model.displayMode,this.isOverlay)},t.prototype.getShowFooter=function(){return this.isOverlay},t.prototype.getShowHeader=function(){return!1},t.prototype.getPopupHeaderTemplate=function(){},t.prototype.createFooterActionBar=function(){var e=this;this.footerToolbarValue=new Me,this.footerToolbar.updateCallback=function(t){e.footerToolbarValue.actions.forEach((function(e){return e.cssClasses={item:"sv-popup__body-footer-item sv-popup__button sd-btn"}}))};var t=[{id:"cancel",visibleIndex:10,title:this.cancelButtonText,innerCss:"sv-popup__button--cancel sd-btn",action:function(){e.cancel()}}];t=this.model.updateFooterActions(t),this.footerToolbarValue.setItems(t)},t.prototype.resetDimensionsAndPositionStyleProperties=function(){this.top="",this.left="",this.height="",this.width="",this.minWidth=""},t.prototype.onModelChanging=function(e){},t.prototype.setupModel=function(e){this.model&&this.model.onVisibilityChanged.remove(this.onModelIsVisibleChangedCallback),this.onModelChanging(e),this._model=e,e.onVisibilityChanged.add(this.onModelIsVisibleChangedCallback),this.onModelIsVisibleChangedCallback()},Object.defineProperty(t.prototype,"model",{get:function(){return this._model},set:function(e){this.setupModel(e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"title",{get:function(){return this.model.title},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"contentComponentName",{get:function(){return this.model.contentComponentName},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"contentComponentData",{get:function(){return this.model.contentComponentData},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isModal",{get:function(){return this.model.isModal},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isFocusedContent",{get:function(){return this.model.isFocusedContent},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isFocusedContainer",{get:function(){return this.model.isFocusedContainer},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"showFooter",{get:function(){return this.getShowFooter()},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"showHeader",{get:function(){return this.getShowHeader()},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"popupHeaderTemplate",{get:function(){return this.getPopupHeaderTemplate()},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isOverlay",{get:function(){return"overlay"===this.model.displayMode},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"styleClass",{get:function(){return this.getStyleClass().toString()},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"cancelButtonText",{get:function(){return this.getLocalizationString("modalCancelButtonText")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"footerToolbar",{get:function(){return this.footerToolbarValue||this.createFooterActionBar(),this.footerToolbarValue},enumerable:!1,configurable:!0}),t.prototype.onKeyDown=function(e){"Tab"===e.key||9===e.keyCode?this.trapFocus(e):"Escape"!==e.key&&27!==e.keyCode||this.hidePopup()},t.prototype.trapFocus=function(e){var t=this.container.querySelectorAll(or),n=t[0],o=t[t.length-1];e.shiftKey?tn.environment.root.activeElement===n&&(o.focus(),e.preventDefault()):tn.environment.root.activeElement===o&&(n.focus(),e.preventDefault())},t.prototype.switchFocus=function(){this.isFocusedContent?this.focusFirstInput():this.isFocusedContainer&&this.focusContainer()},Object.defineProperty(t.prototype,"isPositionSet",{get:function(){return this._isPositionSetValue},enumerable:!1,configurable:!0}),t.prototype.updateOnShowing=function(){this.prevActiveElement=tn.environment.root.activeElement,this.isOverlay&&this.resetDimensionsAndPositionStyleProperties(),this.switchFocus(),this._isPositionSetValue=!0},t.prototype.updateOnHiding=function(){this.isFocusedContent&&this.prevActiveElement&&this.prevActiveElement.focus({preventScroll:!0})},t.prototype.focusContainer=function(){if(this.container){var e=this.container.querySelector(this.popupSelector);null==e||e.focus()}},t.prototype.focusFirstInput=function(){var e=this;setTimeout((function(){if(e.container){var t=e.container.querySelector(e.model.focusFirstInputSelector||or);t?t.focus():e.focusContainer()}}),100)},t.prototype.clickOutside=function(e){this.hidePopup(),null==e||e.stopPropagation()},t.prototype.cancel=function(){this.model.onCancel(),this.hidePopup()},t.prototype.dispose=function(){e.prototype.dispose.call(this),this.model&&this.model.onVisibilityChanged.remove(this.onModelIsVisibleChangedCallback),this.createdContainer&&(this.createdContainer.remove(),this.createdContainer=void 0),this.footerToolbarValue&&this.footerToolbarValue.dispose(),this.resetComponentElement()},t.prototype.initializePopupContainer=function(){if(!this.container){var e=s.createElement("div");this.createdContainer=e,_t(tn.environment.popupMountContainer).appendChild(e)}},t.prototype.setComponentElement=function(e){e&&(this.containerElement=e)},t.prototype.resetComponentElement=function(){this.containerElement=void 0,this.prevActiveElement=void 0},t.prototype.preventScrollOuside=function(e,t){for(var n=e.target;n!==this.container;){if("auto"===s.getComputedStyle(n).overflowY&&n.scrollHeight!==n.offsetHeight){var o=n.scrollHeight,i=n.scrollTop,r=n.clientHeight;if(!(t>0&&Math.abs(o-r-i)<1||t<0&&i<=0))return}n=n.parentElement}e.cancelable&&e.preventDefault()},nr([x({defaultValue:"0px"})],t.prototype,"top",void 0),nr([x({defaultValue:"0px"})],t.prototype,"left",void 0),nr([x({defaultValue:"auto"})],t.prototype,"height",void 0),nr([x({defaultValue:"auto"})],t.prototype,"width",void 0),nr([x({defaultValue:"auto"})],t.prototype,"minWidth",void 0),nr([x({defaultValue:!1})],t.prototype,"_isVisible",void 0),nr([x()],t.prototype,"locale",void 0),t}(_e),rr=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(t,n)};return function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function o(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}}(),ar=function(e,t,n,o){var i,r=arguments.length,a=r<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,n):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,o);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(a=(r<3?i(a):r>3?i(t,n,a):i(t,n))||a);return r>3&&a&&Object.defineProperty(t,n,a),a};function sr(e,t){var n=e||a.getInnerWidth(),o=t||a.getInnerHeight();return Math.min(n,o)>=lr.tabletSizeBreakpoint}var lr=function(e){function t(t){var n=e.call(this,t)||this;return n.scrollEventCallBack=function(e){if(n.isOverlay&&Ho)return e.stopPropagation(),void e.preventDefault();n.hidePopup()},n.resizeEventCallback=function(){if(a.isAvailable()){var e=a.getVisualViewport(),t=s.getDocumentElement();t&&e&&t.style.setProperty("--sv-popup-overlay-height",e.height*e.scale+"px")}},n.resizeWindowCallback=function(){n.isOverlay||n.updatePosition(!0,"vue"===Wi.platform||"vue3"===Wi.platform||"react"==Wi.platform)},n.clientY=0,n.isTablet=!1,n.touchStartEventCallback=function(e){n.clientY=e.touches[0].clientY},n.touchMoveEventCallback=function(e){n.preventScrollOuside(e,n.clientY-e.changedTouches[0].clientY)},n.model.onRecalculatePosition.add(n.recalculatePositionHandler),n}return rr(t,e),t.prototype.calculateIsTablet=function(e,t){this.isTablet=sr(e,t)},t.prototype.getAvailableAreaRect=function(){var e=this.model.getAreaCallback?this.model.getAreaCallback(this.container):void 0;if(e){var t=e.getBoundingClientRect();return new Xi(t.x,t.y,t.width,t.height)}return new Xi(0,0,a.getInnerWidth(),a.getInnerHeight())},t.prototype.getTargetElementRect=function(){var e=this.container,t=this.model.getTargetCallback?this.model.getTargetCallback(e):void 0;if(e&&e.parentElement&&!this.isModal&&!t&&(t=e.parentElement),!t)return null;var n=t.getBoundingClientRect(),o=this.getAvailableAreaRect();return new Xi(n.left-o.left,n.top-o.top,n.width,n.height)},t.prototype._updatePosition=function(){var e,t,n,o=this.getTargetElementRect();if(o){var i=this.getAvailableAreaRect(),r=null===(e=this.container)||void 0===e?void 0:e.querySelector(this.containerSelector);if(r){var l=null===(t=this.container)||void 0===t?void 0:t.querySelector(this.fixedPopupContainer),u=r.querySelector(this.scrollingContentSelector),c=s.getComputedStyle(r),p=parseFloat(c.marginLeft)||0,d=parseFloat(c.marginRight)||0,h=parseFloat(c.marginTop)||0,m=parseFloat(c.marginBottom)||0,g=r.offsetHeight-u.offsetHeight+u.scrollHeight,f=r.getBoundingClientRect().width;this.model.setWidthByTarget&&(this.minWidth=o.width+"px");var y=this.model.verticalPosition,v=this.getActualHorizontalPosition();if(a.isAvailable()){var b=[g,.9*a.getInnerHeight(),null===(n=a.getVisualViewport())||void 0===n?void 0:n.height];g=Math.ceil(Math.min.apply(Math,b.filter((function(e){return"number"==typeof e})))),y=er.updateVerticalPosition(o,g,this.model.horizontalPosition,this.model.verticalPosition,i.height),v=er.updateHorizontalPosition(o,f,v,i.width)}this.popupDirection=er.calculatePopupDirection(y,v);var x=er.calculatePosition(o,g,f+p+d,y,v,this.model.positionMode);if(a.isAvailable()){var C=er.getCorrectedVerticalDimensions(x.top,g,i.height,y,this.model.canShrink,{top:h,bottom:m});if(C&&(this.height=C.height+"px",x.top=C.top),this.model.setWidthByTarget)this.width=o.width+"px",x.left=o.left;else{var w=er.updateHorizontalDimensions(x.left,f,a.getInnerWidth(),v,this.model.positionMode,{left:p,right:d});w&&(this.width=w.width?w.width+"px":void 0,x.left=w.left)}}if(l){var P=l.getBoundingClientRect();x.top-=P.top,x.left-=P.left}x.left+=i.left,x.top+=i.top,this.left=x.left+"px",this.top=x.top+"px",this.showHeader&&(this.pointerTarget=er.calculatePointerTarget(o,x.top,x.left,y,v,p,d),this.pointerTarget.top+="px",this.pointerTarget.left+="px")}}},t.prototype.getActualHorizontalPosition=function(){var e=this.model.horizontalPosition;s.isAvailable()&&("rtl"==s.getComputedStyle(s.getBody()).direction&&("left"===this.model.horizontalPosition?e="right":"right"===this.model.horizontalPosition&&(e="left")));return e},t.prototype.getStyleClass=function(){var t=this.model.overlayDisplayMode;return e.prototype.getStyleClass.call(this).append("sv-popup--dropdown",!this.isOverlay).append("sv-popup--dropdown-overlay",this.isOverlay&&"plain"!==t).append("sv-popup--tablet",this.isOverlay&&("tablet-dropdown-overlay"==t||"auto"==t&&this.isTablet)).append("sv-popup--show-pointer",!this.isOverlay&&this.showHeader).append("sv-popup--"+this.popupDirection,!this.isOverlay&&(this.showHeader||"top"==this.popupDirection||"bottom"==this.popupDirection))},t.prototype.getShowHeader=function(){return this.model.showPointer&&!this.isOverlay},t.prototype.getPopupHeaderTemplate=function(){return"popup-pointer"},t.prototype.setComponentElement=function(t){e.prototype.setComponentElement.call(this,t)},t.prototype.resetComponentElement=function(){e.prototype.resetComponentElement.call(this)},t.prototype.updateOnShowing=function(){var e=tn.environment.root;this.prevActiveElement=e.activeElement,this.isOverlay?this.resetDimensionsAndPositionStyleProperties():this.updatePosition(!0,!1),this.switchFocus(),a.addEventListener("resize",this.resizeWindowCallback),this.shouldCreateResizeCallback&&(a.getVisualViewport().addEventListener("resize",this.resizeEventCallback),this.container&&(this.container.addEventListener("touchstart",this.touchStartEventCallback),this.container.addEventListener("touchmove",this.touchMoveEventCallback)),this.calculateIsTablet(),this.resizeEventCallback()),a.addEventListener("scroll",this.scrollEventCallBack),this._isPositionSetValue=!0},Object.defineProperty(t.prototype,"shouldCreateResizeCallback",{get:function(){return!!a.getVisualViewport()&&this.isOverlay&&Ho},enumerable:!1,configurable:!0}),t.prototype.updatePosition=function(e,t){var n=this;void 0===t&&(t=!0),e&&(this.height="auto"),t?setTimeout((function(){n._updatePosition()}),1):this._updatePosition()},t.prototype.updateOnHiding=function(){e.prototype.updateOnHiding.call(this),a.removeEventListener("resize",this.resizeWindowCallback),this.shouldCreateResizeCallback&&(a.getVisualViewport().removeEventListener("resize",this.resizeEventCallback),this.container&&(this.container.removeEventListener("touchstart",this.touchStartEventCallback),this.container.removeEventListener("touchmove",this.touchMoveEventCallback))),a.removeEventListener("scroll",this.scrollEventCallBack),this.isDisposed||(this.top=void 0,this.left=void 0,this.height=void 0,this.width=void 0,this.minWidth=void 0)},t.prototype.onModelChanging=function(t){var n=this;this.model&&this.model.onRecalculatePosition.remove(this.recalculatePositionHandler),this.recalculatePositionHandler||(this.recalculatePositionHandler=function(e,t){n.isOverlay||n.updatePosition(t.isResetHeight)}),e.prototype.onModelChanging.call(this,t),t.onRecalculatePosition.add(this.recalculatePositionHandler)},t.prototype.dispose=function(){e.prototype.dispose.call(this),this.updateOnHiding(),this.model&&(this.model.onRecalculatePosition.remove(this.recalculatePositionHandler),this.recalculatePositionHandler=void 0),this.resetComponentElement()},t.tabletSizeBreakpoint=600,ar([x()],t.prototype,"isTablet",void 0),ar([x({defaultValue:"left"})],t.prototype,"popupDirection",void 0),ar([x({defaultValue:{left:"0px",top:"0px"}})],t.prototype,"pointerTarget",void 0),t}(ir),ur=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(t,n)};return function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function o(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}}(),cr=function(e,t,n,o){var i,r=arguments.length,a=r<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,n):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,o);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(a=(r<3?i(a):r>3?i(t,n,a):i(t,n))||a);return r>3&&a&&Object.defineProperty(t,n,a),a},pr=function(e){function t(t,n){var o=e.call(this)||this;o.question=t,o.onSelectionChanged=n,o.minPageSize=25,o.loadingItemHeight=40,o.timer=void 0,o._markdownMode=!1,o.filteredItems=void 0,o.selectedItemSelector=".sv-list__item--selected",o.itemSelector=".sv-list__item",o.itemsSettings={skip:0,take:0,totalCount:0,items:[]},o.listModelFilterStringChanged=function(e){o.filterString!==e&&(o.filterString=e)},o.questionPropertyChangedHandler=function(e,t){o.onPropertyChangedHandler(e,t)},o.htmlCleanerElement=s.createElement("div"),t.onPropertyChanged.add(o.questionPropertyChangedHandler),o.showInputFieldComponent=o.question.showInputFieldComponent,o.listModel=o.createListModel(),o.updateAfterListModelCreated(o.listModel),o.setChoicesLazyLoadEnabled(o.question.choicesLazyLoadEnabled),o.setInputPlaceholder(o.question.placeholder),o.setSearchEnabled(o.question.searchEnabled),o.setTextWrapEnabled(o.question.textWrapEnabled),o.createPopup(),o.resetItemsSettings();var i=t.cssClasses;return o.updateCssClasses(i.popup,i.list),o}return ur(t,e),Object.defineProperty(t.prototype,"focusFirstInputSelector",{get:function(){return this.getFocusFirstInputSelector()},enumerable:!1,configurable:!0}),t.prototype.getFocusFirstInputSelector=function(){return Ho?this.isValueEmpty(this.question.value)?this.itemSelector:this.selectedItemSelector:!this.listModel.showFilter&&this.question.value?this.selectedItemSelector:""},t.prototype.resetItemsSettings=function(){this.itemsSettings.skip=0,this.itemsSettings.take=Math.max(this.minPageSize,this.question.choicesLazyLoadPageSize),this.itemsSettings.totalCount=0,this.itemsSettings.items=[]},t.prototype.setItems=function(e,t){this.itemsSettings.items=[].concat(this.itemsSettings.items,e),this.itemsSettings.totalCount=t,this.listModel.isAllDataLoaded=this.question.choicesLazyLoadEnabled&&this.itemsSettings.items.length==this.itemsSettings.totalCount,this.question.choices=this.itemsSettings.items},t.prototype.loadQuestionChoices=function(e){var t=this;this.question.survey.loadQuestionChoices({question:this.question,filter:this.filterString,skip:this.itemsSettings.skip,take:this.itemsSettings.take,setItems:function(n,o){t.setItems(n||[],o||0),t.popupRecalculatePosition(t.itemsSettings.skip===t.itemsSettings.take),e&&e()}}),this.itemsSettings.skip+=this.itemsSettings.take},t.prototype.updateQuestionChoices=function(e){var t=this,n=this.itemsSettings.skip+1<this.itemsSettings.totalCount;this.itemsSettings.skip&&!n||(this.resetTimer(),this.filterString&&tn.dropdownSearchDelay>0?this.timer=setTimeout((function(){t.loadQuestionChoices(e)}),tn.dropdownSearchDelay):this.loadQuestionChoices(e))},t.prototype.resetTimer=function(){this.timer&&(clearTimeout(this.timer),this.timer=void 0)},t.prototype.updatePopupFocusFirstInputSelector=function(){this._popupModel.focusFirstInputSelector=this.focusFirstInputSelector},t.prototype.getDropdownMenuOptions=function(){var e=a.getInnerWidth(),t=a.getInnerHeight(),n=sr(e,t),o="dropdown",i="desktop";return Ho&&(o=n?"popup":"overlay",i=n?"tablet":"mobile"),{menuType:o,deviceType:i,hasTouchScreen:Ho,screenHeight:t,screenWidth:e}},t.prototype.createPopup=function(){var e=this;this._popupModel=new Ue("sv-list",{model:this.listModel},{verticalPosition:"bottom",horizontalPosition:"center",showPointer:!1}),this._popupModel.displayMode=Ho?"overlay":"popup",this._popupModel.positionMode="fixed",this._popupModel.isFocusedContainer=!1,this._popupModel.isFocusedContent=Ho,this._popupModel.setWidthByTarget=!Ho,this._popupModel.locale=this.question.getLocale(),this.updatePopupFocusFirstInputSelector(),this.listModel.registerPropertyChangedHandlers(["showFilter"],(function(){e.updatePopupFocusFirstInputSelector()})),this._popupModel.onVisibilityChanged.add((function(t,n){if(n.isVisible&&(e.listModel.renderElements=!0),n.isVisible&&e.question.choicesLazyLoadEnabled&&(e.listModel.actions=[],e.resetItemsSettings(),e.updateQuestionChoices()),n.isVisible){e.updatePopupFocusFirstInputSelector();var o=e.getDropdownMenuOptions(),i=o.menuType;e.question.processOpenDropdownMenu(o),i!==o.menuType&&(e._popupModel.updateDisplayMode(o.menuType),e.listModel.setSearchEnabled(e.searchEnabled&&"dropdown"!==o.menuType)),e.question.onOpenedCallBack&&e.question.onOpenedCallBack()}n.isVisible||(e.onHidePopup(),e.question.choicesLazyLoadEnabled&&e.resetItemsSettings()),e.question.ariaExpanded=n.isVisible?"true":"false",e.question.processPopupVisiblilityChanged(e.popupModel,n.isVisible)}))},t.prototype.setFilterStringToListModel=function(e){var t=this;if(this.listModel.filterString=e,this.listModel.resetFocusedItem(),this.question.selectedItem&&this.question.selectedItem.text.indexOf(e)>=0)return this.listModel.focusedItem=this.getAvailableItems().filter((function(e){return e.id==t.question.selectedItem.value}))[0],void(this.listModel.filterString&&this.listModel.actions.map((function(e){return e.selectedValue=!1})));this.listModel.focusedItem&&this.listModel.isItemVisible(this.listModel.focusedItem)||this.listModel.focusFirstVisibleItem()},t.prototype.setTextWrapEnabled=function(e){this.listModel.textWrapEnabled=e},t.prototype.popupRecalculatePosition=function(e){var t=this;setTimeout((function(){t.popupModel.recalculatePosition(e)}),1)},t.prototype.onHidePopup=function(){this.resetFilterString(),this.question.suggestedItem=null},t.prototype.getAvailableItems=function(){return this.question.visibleChoices},t.prototype.setOnTextSearchCallbackForListModel=function(e){var t=this;e.setOnTextSearchCallback((function(e,n){if(t.filteredItems)return t.filteredItems.indexOf(e)>=0;var o=e.text.toLocaleLowerCase(),i=(o=tn.comparator.normalizeTextCallback(o,"filter")).indexOf(n.toLocaleLowerCase());return"startsWith"==t.question.searchMode?0==i:i>-1}))},t.prototype.createListModel=function(){var e=this,t=this.getAvailableItems(),n=this.onSelectionChanged;n||(n=function(t){e.question.value=t.id,e.question.onItemSelected&&e.question.onItemSelected(t),e.question.searchEnabled&&e.applyInputString(t),e.popupModel.hide()});var o={items:t,onSelectionChanged:n,allowSelection:!1,locOwner:this.question,elementId:this.listElementId},i=new ze(o);return this.setOnTextSearchCallbackForListModel(i),i.renderElements=!1,i.forceShowFilter=!0,i.areSameItemsCallback=function(e,t){return e===t},i},t.prototype.updateAfterListModelCreated=function(e){var t=this;e.isItemSelected=function(e){return!!e.selected},e.onPropertyChanged.add((function(e,n){"hasVerticalScroller"==n.name&&(t.hasScroll=n.newValue)})),e.isAllDataLoaded=!this.question.choicesLazyLoadEnabled,e.actions.forEach((function(e){return e.disableTabStop=!0}))},t.prototype.getPopupCssClasses=function(){return"sv-single-select-list"},t.prototype.updateCssClasses=function(e,t){this.popupModel.cssClass=(new Ae).append(e).append(this.getPopupCssClasses()).toString(),this.listModel.cssClasses=t},t.prototype.resetFilterString=function(){this.filterString&&(this.filterString=void 0)},t.prototype.clear=function(){this.inputString=null,this.hintString="",this.resetFilterString()},t.prototype.onSetFilterString=function(){var e=this;if(this.filteredItems=void 0,this.filterString||this.popupModel.isVisible){var t={question:this.question,choices:this.getAvailableItems(),filter:this.filterString,filteredChoices:void 0};this.question.survey.onChoicesSearch.fire(this.question.survey,t),this.filteredItems=t.filteredChoices,this.filterString&&!this.popupModel.isVisible&&this.popupModel.show();var n=function(){e.setFilterStringToListModel(e.filterString),e.filterString&&e.applyHintString(),e.popupRecalculatePosition(!0)};this.question.choicesLazyLoadEnabled?(this.resetItemsSettings(),this.updateQuestionChoices(n)):n()}},Object.defineProperty(t.prototype,"isAllDataLoaded",{get:function(){return!!this.itemsSettings.totalCount&&this.itemsSettings.items.length==this.itemsSettings.totalCount},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"canShowSelectedItem",{get:function(){return!this.focused||this._markdownMode||!this.searchEnabled},enumerable:!1,configurable:!0}),t.prototype.applyInputString=function(e){(null==e?void 0:e.locText.hasHtml)||this.question.inputFieldComponentName?(this._markdownMode=!0,this.inputString=this.cleanHtml(null==e?void 0:e.locText.getHtmlValue()),this.hintString=""):(this.inputString=null==e?void 0:e.title,this.hintString=null==e?void 0:e.title)},t.prototype.cleanHtml=function(e){return this.htmlCleanerElement?(this.htmlCleanerElement.innerHTML=e,this.htmlCleanerElement.textContent):""},t.prototype.fixInputCase=function(){var e=this.hintStringMiddle;e&&this.inputString!=e&&(this.inputString=e)},t.prototype.applyHintString=function(){var e=this.listModel.focusedItem||this.question.selectedItem;(null==e?void 0:e.locText.hasHtml)||this.question.inputFieldComponentName?(this._markdownMode=!0,this.hintString=""):this.hintString=null==e?void 0:e.title},Object.defineProperty(t.prototype,"inputStringRendered",{get:function(){return this.inputString||""},set:function(e){this.inputString=e,this.filterString=e,e||(this.hintString="")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"placeholderRendered",{get:function(){return this.hintString||this.question.readOnly||!this.question.isEmpty()?"":this.inputPlaceholder},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"listElementId",{get:function(){return this.question.inputId+"_list"},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"hintStringLC",{get:function(){var e;return(null===(e=this.hintString)||void 0===e?void 0:e.toLowerCase())||""},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"inputStringLC",{get:function(){var e;return(null===(e=this.inputString)||void 0===e?void 0:e.toLowerCase())||""},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"showHintPrefix",{get:function(){return!!this.inputString&&this.hintStringLC.indexOf(this.inputStringLC)>0},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"hintStringPrefix",{get:function(){return this.inputString?this.hintString.substring(0,this.hintStringLC.indexOf(this.inputStringLC)):null},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"showHintString",{get:function(){return!!this.question.searchEnabled&&!(!this.hintStringLC&&!this.inputStringLC)||!this.question.searchEnabled&&this.hintStringLC&&this.question.isEmpty()},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"hintStringSuffix",{get:function(){return this.hintStringLC.indexOf(this.inputStringLC)>=0?this.hintString.substring(this.hintStringLC.indexOf(this.inputStringLC)+this.inputStringLC.length):""},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"hintStringMiddle",{get:function(){var e=this.hintStringLC.indexOf(this.inputStringLC);return-1==e?null:this.hintString.substring(e,e+this.inputStringLC.length)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"popupModel",{get:function(){return this._popupModel},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"noTabIndex",{get:function(){return this.question.isInputReadOnly||this.searchEnabled},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"filterReadOnly",{get:function(){return this.question.isInputReadOnly||!this.searchEnabled||!this.focused},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"filterStringEnabled",{get:function(){return!this.question.isInputReadOnly&&this.searchEnabled},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"inputMode",{get:function(){return Ho?"none":"text"},enumerable:!1,configurable:!0}),t.prototype.setSearchEnabled=function(e){this.listModel.setSearchEnabled(Ho&&e),this.searchEnabled=e},t.prototype.setChoicesLazyLoadEnabled=function(e){this.listModel.setOnFilterStringChangedCallback(e?this.listModelFilterStringChanged:void 0)},t.prototype.setInputPlaceholder=function(e){this.inputPlaceholder=e},t.prototype.updateItems=function(){this.listModel.setItems(this.getAvailableItems())},t.prototype.onClick=function(e){this.question.readOnly||this.question.isDesignMode||this.question.isPreviewStyle||this.question.isReadOnlyAttr||(this._popupModel.toggleVisibility(),this.focusItemOnClickAndPopup(),this.question.focusInputElement(!1))},t.prototype.chevronPointerDown=function(e){this._popupModel.isVisible&&e.preventDefault()},t.prototype.onPropertyChangedHandler=function(e,t){"value"==t.name&&(this.showInputFieldComponent=this.question.showInputFieldComponent),"textWrapEnabled"==t.name&&this.setTextWrapEnabled(t.newValue)},t.prototype.focusItemOnClickAndPopup=function(){this._popupModel.isVisible&&this.question.value&&this.changeSelectionWithKeyboard(!1)},t.prototype.onClear=function(e){this.question.clearValue(!0),this._popupModel.hide(),e&&(e.preventDefault(),e.stopPropagation())},t.prototype.getSelectedAction=function(){return this.question.selectedItem||null},t.prototype.changeSelectionWithKeyboard=function(e){var t,n=this.listModel.focusedItem;!n&&this.question.selectedItem?Nn.getItemByValue(this.question.visibleChoices,this.question.value)&&(this.listModel.focusedItem=this.question.selectedItem):e?this.listModel.focusPrevVisibleItem():this.listModel.focusNextVisibleItem(),this.beforeScrollToFocusedItem(n),this.scrollToFocusedItem(),this.afterScrollToFocusedItem(),this.ariaActivedescendant=null===(t=this.listModel.focusedItem)||void 0===t?void 0:t.elementId},t.prototype.beforeScrollToFocusedItem=function(e){this.question.value&&e&&(e.selectedValue=!1,this.listModel.focusedItem.selectedValue=!this.listModel.filterString,this.question.suggestedItem=this.listModel.focusedItem)},t.prototype.afterScrollToFocusedItem=function(){var e;this.question.value&&!this.listModel.filterString&&this.question.searchEnabled?this.applyInputString(this.listModel.focusedItem||this.question.selectedItem):this.applyHintString(),this.fixInputCase(),this.ariaActivedescendant=null===(e=this.listModel.focusedItem)||void 0===e?void 0:e.elementId},t.prototype.keyHandler=function(e){var t=e.which||e.keyCode;if(this.popupModel.isVisible&&38===e.keyCode?(this.changeSelectionWithKeyboard(!0),e.preventDefault(),e.stopPropagation()):40===e.keyCode&&(this.popupModel.show(),this.changeSelectionWithKeyboard(!1),e.preventDefault(),e.stopPropagation()),9===e.keyCode)this.popupModel.hide();else if(this.popupModel.isVisible||13!==e.keyCode&&32!==e.keyCode)if(!this.popupModel.isVisible||13!==e.keyCode&&(32!==e.keyCode||this.question.searchEnabled&&this.inputString))if(46===t||8===t)this.searchEnabled||this.onClear(e);else if(27===e.keyCode)this._popupModel.hide(),this.hintString="",this.onEscape();else{if((38===e.keyCode||40===e.keyCode||32===e.keyCode&&!this.question.searchEnabled)&&(e.preventDefault(),e.stopPropagation()),32===e.keyCode&&this.question.searchEnabled)return;Nt(e,{processEsc:!1,disableTabStop:this.question.isInputReadOnly})}else 13===e.keyCode&&this.question.searchEnabled&&!this.inputString&&this.question instanceof mr&&!this._markdownMode&&this.question.value?(this._popupModel.hide(),this.onClear(e)):(this.listModel.selectFocusedItem(),this.onFocus(e)),e.preventDefault(),e.stopPropagation();else 32===e.keyCode&&(this.popupModel.show(),this.changeSelectionWithKeyboard(!1)),13===e.keyCode&&this.question.survey.questionEditFinishCallback(this.question,e),e.preventDefault(),e.stopPropagation()},t.prototype.onEscape=function(){this.question.searchEnabled&&this.applyInputString(this.question.selectedItem)},t.prototype.onScroll=function(e){var t=e.target;t.scrollHeight-(t.scrollTop+t.offsetHeight)<=this.loadingItemHeight&&this.updateQuestionChoices()},t.prototype.onBlur=function(e){this.focused=!1,this.popupModel.isVisible&&"overlay"==this.popupModel.displayMode||(jt(e),this._popupModel.hide(),this.resetFilterString(),this.inputString=null,this.hintString="",e.stopPropagation())},t.prototype.onFocus=function(e){this.focused=!0,this.setInputStringFromSelectedItem(this.question.selectedItem)},t.prototype.setInputStringFromSelectedItem=function(e){this.focused&&(this.question.searchEnabled&&e?this.applyInputString(e):this.inputString=null)},t.prototype.dispose=function(){e.prototype.dispose.call(this),this.question&&this.question.onPropertyChanged.remove(this.questionPropertyChangedHandler),this.questionPropertyChangedHandler=void 0,this.listModel&&this.listModel.dispose(),this.popupModel&&this.popupModel.dispose(),this.htmlCleanerElement=void 0},t.prototype.scrollToFocusedItem=function(){this.listModel.scrollToFocusedItem()},cr([x({defaultValue:!1})],t.prototype,"focused",void 0),cr([x({defaultValue:!0})],t.prototype,"searchEnabled",void 0),cr([x({defaultValue:"",onSet:function(e,t){t.onSetFilterString()}})],t.prototype,"filterString",void 0),cr([x({defaultValue:"",onSet:function(e,t){t.question.inputHasValue=!!e}})],t.prototype,"inputString",void 0),cr([x({})],t.prototype,"showInputFieldComponent",void 0),cr([x()],t.prototype,"ariaActivedescendant",void 0),cr([x()],t.prototype,"inputPlaceholder",void 0),cr([x({defaultValue:!1,onSet:function(e,t){e?t.listModel.addScrollEventListener((function(e){t.onScroll(e)})):t.listModel.removeScrollEventListener()}})],t.prototype,"hasScroll",void 0),cr([x({defaultValue:""})],t.prototype,"hintString",void 0),t}(_e),dr=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(t,n)};return function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function o(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}}(),hr=function(e,t,n,o){var i,r=arguments.length,a=r<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,n):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,o);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(a=(r<3?i(a):r>3?i(t,n,a):i(t,n))||a);return r>3&&a&&Object.defineProperty(t,n,a),a},mr=function(e){function t(t){var n=e.call(this,t)||this;return n.lastSelectedItemValue=null,n.minMaxChoices=[],n.onOpened=n.addEvent(),n.ariaExpanded="false",n.createLocalizableString("placeholder",n,!1,!0),n.createLocalizableString("clearCaption",n,!1,!0),n.createLocalizableString("readOnlyText",n,!0),n.registerPropertyChangedHandlers(["choicesMin","choicesMax","choicesStep"],(function(){n.onVisibleChoicesChanged()})),n.registerPropertyChangedHandlers(["value","renderAs","showOtherItem","otherText","placeholder","choices","visibleChoices"],(function(){n.getSingleSelectedItem(),n.updateReadOnlyText()})),n.updateReadOnlyText(),n}return dr(t,e),t.prototype.locStrsChanged=function(){e.prototype.locStrsChanged.call(this),this.updateReadOnlyText(),this.updateInputPlaceholder(this.placeholder)},t.prototype.updateReadOnlyText=function(){this.readOnlyText=this.calculateReadOnlyText()},t.prototype.updateInputPlaceholder=function(e){this.dropdownListModelValue&&this.dropdownListModel.setInputPlaceholder(e)},Object.defineProperty(t.prototype,"showOptionsCaption",{get:function(){return this.allowClear},set:function(e){this.allowClear=e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"showClearButton",{get:function(){return this.allowClear&&!this.isEmpty()&&(!this.isDesignMode||tn.supportCreatorV2)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"optionsCaption",{get:function(){return this.placeholder},set:function(e){this.placeholder=e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"placeholder",{get:function(){return this.getLocalizableStringText("placeholder")},set:function(e){this.setLocalizableStringText("placeholder",e),this.updateInputPlaceholder(e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"locPlaceholder",{get:function(){return this.getLocalizableString("placeholder")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"clearCaption",{get:function(){return this.getLocalizableStringText("clearCaption")},set:function(e){this.setLocalizableStringText("clearCaption",e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"locClearCaption",{get:function(){return this.getLocalizableString("clearCaption")},enumerable:!1,configurable:!0}),t.prototype.getType=function(){return"dropdown"},Object.defineProperty(t.prototype,"ariaRole",{get:function(){return"combobox"},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"selectedItem",{get:function(){return this.getSingleSelectedItem()},enumerable:!1,configurable:!0}),t.prototype.onGetSingleSelectedItem=function(e){e&&(this.lastSelectedItemValue=e)},t.prototype.supportGoNextPageAutomatic=function(){return!this.isOtherSelected},t.prototype.getChoices=function(){var t=e.prototype.getChoices.call(this);if(this.choicesMax<=this.choicesMin)return t;for(var n=[],o=0;o<t.length;o++)n.push(t[o]);if(0===this.minMaxChoices.length||this.minMaxChoices.length!==(this.choicesMax-this.choicesMin)/this.choicesStep+1){this.minMaxChoices=[];for(o=this.choicesMin;o<=this.choicesMax;o+=this.choicesStep)this.minMaxChoices.push(this.createItemValue(o))}return n=n.concat(this.minMaxChoices)},Object.defineProperty(t.prototype,"choicesMin",{get:function(){return this.getPropertyValue("choicesMin")},set:function(e){this.setPropertyValue("choicesMin",e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"choicesMax",{get:function(){return this.getPropertyValue("choicesMax")},set:function(e){this.setPropertyValue("choicesMax",e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"choicesStep",{get:function(){return this.getPropertyValue("choicesStep")},set:function(e){e<1&&(e=1),this.setPropertyValue("choicesStep",e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"autocomplete",{get:function(){return this.getPropertyValue("autocomplete","")},set:function(e){this.setPropertyValue("autocomplete",e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"readOnlyText",{get:function(){return this.getLocalizableStringText("readOnlyText")},set:function(e){this.setLocalizableStringText("readOnlyText",e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"locReadOnlyText",{get:function(){return this.getLocalizableString("readOnlyText")},enumerable:!1,configurable:!0}),t.prototype.calculateReadOnlyText=function(){if("select"==this.renderAs){if(this.isOtherSelected)return this.otherText;if(this.isNoneSelected)return this.noneText;if(this.selectedItem)return this.selectedItemText}return this.selectedItem?this.selectedItemText:this.placeholder},t.prototype.getControlClass=function(){return(new Ae).append(this.cssClasses.control).append(this.cssClasses.controlEmpty,this.isEmpty()).append(this.cssClasses.onError,this.hasCssError()).append(this.cssClasses.controlDisabled,this.isDisabledStyle).append(this.cssClasses.controlReadOnly,this.isReadOnlyStyle).append(this.cssClasses.controlPreview,this.isPreviewStyle).append(this.cssClasses.controlInputFieldComponent,!!this.inputFieldComponentName).toString()},t.prototype.updateCssClasses=function(t,n){e.prototype.updateCssClasses.call(this,t,n),this.useDropdownList&&Kt(t,n)},t.prototype.calcCssClasses=function(t){var n=e.prototype.calcCssClasses.call(this,t);return this.dropdownListModelValue&&this.dropdownListModel.updateCssClasses(n.popup,n.list),n},Object.defineProperty(t.prototype,"selectedItemLocText",{get:function(){var e=this.suggestedItem||this.selectedItem;return null==e?void 0:e.locText},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"inputFieldComponentName",{get:function(){return this.inputFieldComponent||this.itemComponent},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"showSelectedItemLocText",{get:function(){return!this.inputHasValue&&!this.inputFieldComponentName&&!!this.selectedItemLocText&&this.dropdownListModel.canShowSelectedItem},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"showInputFieldComponent",{get:function(){return!this.inputHasValue&&!!this.inputFieldComponentName&&!this.isEmpty()},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"selectedItemText",{get:function(){var e=this.selectedItem;return e?e.text:""},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"useDropdownList",{get:function(){return"select"!==this.renderAs},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"dropdownListModel",{get:function(){return this.isDisposed||!this.useDropdownList||this.dropdownListModelValue||(this.dropdownListModelValue=new pr(this)),this.dropdownListModelValue},set:function(e){this.dropdownListModelValue=e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"popupModel",{get:function(){return this.dropdownListModel.popupModel},enumerable:!1,configurable:!0}),t.prototype.onOpenedCallBack=function(){this.onOpened.fire(this,{question:this,choices:this.choices})},t.prototype.onSelectedItemValuesChangedHandler=function(t){var n;null===(n=this.dropdownListModelValue)||void 0===n||n.setInputStringFromSelectedItem(t),e.prototype.onSelectedItemValuesChangedHandler.call(this,t)},t.prototype.hasUnknownValue=function(t,n,o,i){return!this.choicesLazyLoadEnabled&&e.prototype.hasUnknownValue.call(this,t,n,o,i)},t.prototype.needConvertRenderedOtherToDataValue=function(){var t,n=null===(t=this.otherValue)||void 0===t?void 0:t.trim();return!!n&&e.prototype.hasUnknownValue.call(this,n,!0,!1)},t.prototype.getItemIfChoicesNotContainThisValue=function(t,n){return this.choicesLazyLoadEnabled?this.createItemValue(t,n):e.prototype.getItemIfChoicesNotContainThisValue.call(this,t,n)},t.prototype.onVisibleChoicesChanged=function(){e.prototype.onVisibleChoicesChanged.call(this),this.dropdownListModelValue&&this.dropdownListModel.updateItems()},t.prototype.getFirstInputElementId=function(){return this.inputId+(this.searchEnabled?"_0":"")},t.prototype.getInputId=function(){return this.inputId+"_0"},t.prototype.clearValue=function(t){var n;e.prototype.clearValue.call(this,t),this.lastSelectedItemValue=null,null===(n=this.dropdownListModelValue)||void 0===n||n.clear()},t.prototype.afterRenderCore=function(t){e.prototype.afterRenderCore.call(this,t),this.dropdownListModelValue&&this.dropdownListModelValue.clear()},t.prototype.onClick=function(e){this.onOpenedCallBack&&this.onOpenedCallBack()},t.prototype.onKeyUp=function(e){46===(e.which||e.keyCode)&&(this.clearValue(!0),e.preventDefault(),e.stopPropagation())},t.prototype.supportEmptyValidation=function(){return!0},t.prototype.onBlurCore=function(t){this.dropdownListModel.onBlur(t),e.prototype.onBlurCore.call(this,t)},t.prototype.onFocusCore=function(t){this.dropdownListModel.onFocus(t),e.prototype.onFocusCore.call(this,t)},t.prototype.dispose=function(){e.prototype.dispose.call(this),this.dropdownListModelValue&&(this.dropdownListModelValue.dispose(),this.dropdownListModelValue=void 0)},hr([x()],t.prototype,"allowClear",void 0),hr([x({onSet:function(e,t){t.dropdownListModelValue&&t.dropdownListModel.setSearchEnabled(e)}})],t.prototype,"searchEnabled",void 0),hr([x()],t.prototype,"searchMode",void 0),hr([x()],t.prototype,"textWrapEnabled",void 0),hr([x({defaultValue:!1})],t.prototype,"inputHasValue",void 0),hr([x({onSet:function(e,t){t.dropdownListModelValue&&t.dropdownListModel.setChoicesLazyLoadEnabled(e)}})],t.prototype,"choicesLazyLoadEnabled",void 0),hr([x()],t.prototype,"choicesLazyLoadPageSize",void 0),hr([x()],t.prototype,"suggestedItem",void 0),t}(Zi);L.addClass("dropdown",[{name:"placeholder",alternativeName:"optionsCaption",serializationProperty:"locPlaceholder"},{name:"allowClear:boolean",alternativeName:"showOptionsCaption",default:!0},{name:"choicesMin:number",default:0},{name:"choicesMax:number",default:0},{name:"choicesStep:number",default:1,minValue:1},{name:"autocomplete",alternativeName:"autoComplete",choices:tn.questions.dataList},{name:"textWrapEnabled:boolean",default:!0},{name:"renderAs",default:"default",visible:!1},{name:"searchEnabled:boolean",default:!0,visible:!1},{name:"searchMode",default:"contains",choices:["contains","startsWith"]},{name:"choicesLazyLoadEnabled:boolean",default:!1,visible:!1},{name:"choicesLazyLoadPageSize:number",default:25,visible:!1},{name:"inputFieldComponent",visible:!1},{name:"itemComponent",visible:!1,default:""}],(function(){return new mr("")}),"selectbase"),co.Instance.registerQuestion("dropdown",(function(e){var t=new mr(e);return t.choices=co.DefaultChoices,t}));var gr=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(t,n)};return function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function o(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}}(),fr=function(e){function t(t,n,o,i){var r=e.call(this)||this;return r.item=t,r.fullName=n,r.data=o,r.setValueDirectly(i),r.cellClick=function(e){r.value=e.value},r.registerPropertyChangedHandlers(["value"],(function(){r.data&&r.data.onMatrixRowChanged(r)})),r.data&&r.data.hasErrorInRow(r)&&(r.hasError=!0),r}return gr(t,e),Object.defineProperty(t.prototype,"name",{get:function(){return this.item.value},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"text",{get:function(){return this.item.text},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"locText",{get:function(){return this.item.locText},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"value",{get:function(){return this.getPropertyValue("value")},set:function(e){this.isReadOnly||this.setValueDirectly(this.data.getCorrectedRowValue(e))},enumerable:!1,configurable:!0}),t.prototype.setValueDirectly=function(e){this.setPropertyValue("value",e)},Object.defineProperty(t.prototype,"isReadOnly",{get:function(){return!this.item.enabled||this.data.isInputReadOnly},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isReadOnlyAttr",{get:function(){return this.data.isReadOnlyAttr},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isDisabledAttr",{get:function(){return!this.item.enabled||this.data.isDisabledAttr},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"rowTextClasses",{get:function(){return(new Ae).append(this.data.cssClasses.rowTextCell).toString()},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"hasError",{get:function(){return this.getPropertyValue("hasError",!1)},set:function(e){this.setPropertyValue("hasError",e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"rowClasses",{get:function(){var e=this.data.cssClasses;return(new Ae).append(e.row).append(e.rowError,this.hasError).append(e.rowReadOnly,this.isReadOnly).append(e.rowDisabled,this.data.isDisabledStyle).toString()},enumerable:!1,configurable:!0}),t}(_e),yr=function(e){function t(t){var n=e.call(this)||this;return n.cellsOwner=t,n.values={},n.locs={},n}return gr(t,e),t.prototype.getType=function(){return"cells"},Object.defineProperty(t.prototype,"isEmpty",{get:function(){return 0==Object.keys(this.values).length},enumerable:!1,configurable:!0}),t.prototype.valuesChanged=function(){!this.locNotification&&this.onValuesChanged&&this.onValuesChanged()},t.prototype.getDefaultCellLocText=function(e){return this.getCellLocCore(this.defaultRowValue,e)},t.prototype.getCellDisplayLocText=function(e,t){return this.getCellLocCore(e,t)},t.prototype.getCellLocCore=function(e,t){var n=this;if(e=this.getCellRowColumnValue(e,this.rows),t=this.getCellRowColumnValue(t,this.columns),u.isValueEmpty(e)||u.isValueEmpty(t))return null;this.locs[e]||(this.locs[e]={});var o=this.locs[e][t];return o||((o=this.createString()).setJson(this.getCellLocData(e,t)),o.onGetTextCallback=function(e){if(!e){var o=Nn.getItemByValue(n.columns,t);if(o)return o.locText.getJson()||o.value}return e},o.onStrChanged=function(o,i){n.updateValues(e,t,i)},this.locs[e][t]=o),o},Object.defineProperty(t.prototype,"defaultRowValue",{get:function(){return tn.matrix.defaultRowName},enumerable:!1,configurable:!0}),t.prototype.getCellLocData=function(e,t){var n=this.getCellLocDataFromValue(e,t);return n||this.getCellLocDataFromValue(this.defaultRowValue,t)},t.prototype.getCellLocDataFromValue=function(e,t){return this.values[e]&&this.values[e][t]?this.values[e][t]:null},t.prototype.getCellText=function(e,t){var n=this.getCellLocCore(e,t);return n?n.calculatedText:null},t.prototype.setCellText=function(e,t,n){var o=this.getCellLocCore(e,t);o&&(o.text=n)},t.prototype.updateValues=function(e,t,n){n?(this.values[e]||(this.values[e]={}),this.values[e][t]=n,this.valuesChanged()):this.values[e]&&this.values[e][t]&&(delete this.values[e][t],0==Object.keys(this.values[e]).length&&delete this.values[e],this.valuesChanged())},t.prototype.getDefaultCellText=function(e){var t=this.getCellLocCore(this.defaultRowValue,e);return t?t.calculatedText:null},t.prototype.setDefaultCellText=function(e,t){this.setCellText(this.defaultRowValue,e,t)},t.prototype.getCellDisplayText=function(e,t){var n=this.getCellDisplayLocText(e,t);return n?n.calculatedText:null},Object.defineProperty(t.prototype,"rows",{get:function(){return this.cellsOwner?this.cellsOwner.getRows():[]},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"columns",{get:function(){return this.cellsOwner?this.cellsOwner.getColumns():[]},enumerable:!1,configurable:!0}),t.prototype.getCellRowColumnValue=function(e,t){if(null==e)return null;if("number"==typeof e){if(e<0||e>=t.length)return null;e=t[e].value}return e.value?e.value:e},t.prototype.getJson=function(){if(this.isEmpty)return null;var e=this.values[this.defaultRowValue],t={};for(var n in this.values){var o={},i=this.values[n];for(var r in i)if(n===this.defaultRowValue||!e||e[r]!==i[r]){var a=this.getCellLocCore(n,r);o[r]=a?a.getJson():i[r]}t[n]=o}return t},t.prototype.setJson=function(e,t){var n=this;if(this.values={},e)for(var o in e)if("pos"!=o){var i=e[o];for(var r in this.values[o]={},i)"pos"!=r&&(this.values[o][r]=i[r])}this.locNotification=!0,this.runFuncOnLocs((function(e,t,o){return o.setJson(n.getCellLocData(e,t))})),this.locNotification=!1,this.valuesChanged()},t.prototype.locStrsChanged=function(){this.runFuncOnLocs((function(e,t,n){return n.strChanged()}))},t.prototype.runFuncOnLocs=function(e){for(var t in this.locs){var n=this.locs[t];for(var o in n)e(t,o,n[o])}},t.prototype.createString=function(){return new bt(this.cellsOwner,!0)},t}(_e),vr=function(e){function t(t){var n=e.call(this,t)||this;return n.isRowChanging=!1,n.emptyLocalizableString=new bt(n),n.cellsValue=new yr(n),n.cellsValue.onValuesChanged=function(){n.updateHasCellText(),n.propertyValueChanged("cells",n.cells,n.cells)},n.registerPropertyChangedHandlers(["columns"],(function(){n.onColumnsChanged()})),n.registerPropertyChangedHandlers(["rows"],(function(){n.runCondition(n.getDataFilteredValues(),n.getDataFilteredProperties()),n.onRowsChanged()})),n.registerPropertyChangedHandlers(["hideIfRowsEmpty"],(function(){n.updateVisibilityBasedOnRows()})),n}return gr(t,e),t.prototype.getType=function(){return"matrix"},Object.defineProperty(t.prototype,"cellComponent",{get:function(){return this.getPropertyValue("cellComponent")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"itemComponent",{set:function(e){this.setPropertyValue("cellComponent",e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"hasSingleInput",{get:function(){return!1},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isAllRowRequired",{get:function(){return this.getPropertyValue("isAllRowRequired")},set:function(e){this.setPropertyValue("isAllRowRequired",e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"eachRowUnique",{get:function(){return this.getPropertyValue("eachRowUnique")},set:function(e){this.setPropertyValue("eachRowUnique",e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"hasRows",{get:function(){return this.rows.length>0},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"rowsOrder",{get:function(){return this.getPropertyValue("rowsOrder")},set:function(e){(e=e.toLowerCase())!=this.rowsOrder&&(this.setPropertyValue("rowsOrder",e),this.onRowsChanged())},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"hideIfRowsEmpty",{get:function(){return this.getPropertyValue("hideIfRowsEmpty")},set:function(e){this.setPropertyValue("hideIfRowsEmpty",e)},enumerable:!1,configurable:!0}),t.prototype.getRows=function(){return this.rows},t.prototype.getColumns=function(){return this.visibleColumns},t.prototype.addColumn=function(e,t){var n=new Nn(e,t);return this.columns.push(n),n},t.prototype.getItemClass=function(e,t){var n=e.value==t.value,o=this.isReadOnly,i=!n&&!o,r=this.hasCellText,a=this.cssClasses;return(new Ae).append(a.cell,r).append(r?a.cellText:a.label).append(a.itemOnError,!r&&(this.isAllRowRequired||this.eachRowUnique?e.hasError:this.hasCssError())).append(r?a.cellTextSelected:a.itemChecked,n).append(r?a.cellTextDisabled:a.itemDisabled,this.isDisabledStyle).append(r?a.cellTextReadOnly:a.itemReadOnly,this.isReadOnlyStyle).append(r?a.cellTextPreview:a.itemPreview,this.isPreviewStyle).append(a.itemHover,i&&!r).toString()},Object.defineProperty(t.prototype,"itemSvgIcon",{get:function(){return this.isPreviewStyle&&this.cssClasses.itemPreviewSvgIconId?this.cssClasses.itemPreviewSvgIconId:this.cssClasses.itemSvgIconId},enumerable:!1,configurable:!0}),t.prototype.locStrsChanged=function(){e.prototype.locStrsChanged.call(this),this.cells.locStrsChanged()},t.prototype.getQuizQuestionCount=function(){for(var e=0,t=0;t<this.rows.length;t++)this.isValueEmpty(this.correctAnswer[this.rows[t].value])||e++;return e},t.prototype.getCorrectAnswerCount=function(){for(var e=0,t=this.value,n=0;n<this.rows.length;n++){var o=this.rows[n].value;!this.isValueEmpty(t[o])&&this.isTwoValueEquals(this.correctAnswer[o],t[o])&&e++}return e},t.prototype.runCondition=function(t,n){Nn.runEnabledConditionsForItems(this.rows,void 0,t,n),e.prototype.runCondition.call(this,t,n)},t.prototype.createRowsVisibleIfRunner=function(){return this.rowsVisibleIf?new be(this.rowsVisibleIf):null},t.prototype.onRowsChanged=function(){this.clearGeneratedRows(),e.prototype.onRowsChanged.call(this)},t.prototype.getVisibleRows=function(){if(this.generatedVisibleRows)return this.generatedVisibleRows;var e=new Array,t=this.value;t||(t={});for(var n=this.filteredRows||this.rows,o=0;o<n.length;o++){var i=n[o];if(!this.isValueEmpty(i.value)){var r=this.id+"_"+i.value.toString().replace(/\s/g,"_");e.push(this.createMatrixRow(i,r,t[i.value]))}}return this.generatedVisibleRows=e,e},t.prototype.sortVisibleRows=function(e){return this.survey&&this.survey.isDesignMode?e:"random"===this.rowsOrder.toLowerCase()?u.randomizeArray(e):e},t.prototype.endLoadingFromJson=function(){e.prototype.endLoadingFromJson.call(this),this.rows=this.sortVisibleRows(this.rows),this.onRowsChanged(),this.onColumnsChanged()},t.prototype.isNewValueCorrect=function(e){return u.isValueObject(e,!0)},t.prototype.processRowsOnSet=function(e){return this.sortVisibleRows(e)},Object.defineProperty(t.prototype,"visibleRows",{get:function(){return this.getVisibleRows()},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"cells",{get:function(){return this.cellsValue},set:function(e){this.cells.setJson(e&&e.getJson?e.getJson():null)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"hasCellText",{get:function(){return this.getPropertyValue("hasCellText",!1)},enumerable:!1,configurable:!0}),t.prototype.updateHasCellText=function(){this.setPropertyValue("hasCellText",!this.cells.isEmpty)},t.prototype.setCellText=function(e,t,n){this.cells.setCellText(e,t,n)},t.prototype.getCellText=function(e,t){return this.cells.getCellText(e,t)},t.prototype.setDefaultCellText=function(e,t){this.cells.setDefaultCellText(e,t)},t.prototype.getDefaultCellText=function(e){return this.cells.getDefaultCellText(e)},t.prototype.getCellDisplayText=function(e,t){return this.cells.getCellDisplayText(e,t)},t.prototype.getCellDisplayLocText=function(e,t){var n=this.cells.getCellDisplayLocText(e,t);return n||this.emptyLocalizableString},t.prototype.supportGoNextPageAutomatic=function(){return!0===this.isMouseDown&&this.hasValuesInAllRows()},t.prototype.onCheckForErrors=function(t,n,o){if(e.prototype.onCheckForErrors.call(this,t,n,o),!n||this.hasCssError()){var i={noValue:!1,isNotUnique:!1};this.checkErrorsAllRows(o,i),i.noValue&&t.push(new hn(null,this)),i.isNotUnique&&t.push(new mn(null,this))}},t.prototype.hasValuesInAllRows=function(){var e={noValue:!1,isNotUnique:!1};return this.checkErrorsAllRows(!1,e,!0),!e.noValue},t.prototype.checkErrorsAllRows=function(e,t,n){var o=this,i=this.generatedVisibleRows;if(i||(i=this.visibleRows),i){var r=this.isAllRowRequired||n,a=this.eachRowUnique;if(t.noValue=!1,t.isNotUnique=!1,e&&(this.errorsInRow=void 0),r||a){for(var s={},l=0;l<i.length;l++){var u=i[l].value,c=this.isValueEmpty(u),p=a&&!c&&!0===s[u];c=c&&r,e&&(c||p)&&this.addErrorIntoRow(i[l]),c||(s[u]=!0),t.noValue=t.noValue||c,t.isNotUnique=t.isNotUnique||p}e&&i.forEach((function(e){e.hasError=o.hasErrorInRow(e)}))}}},t.prototype.addErrorIntoRow=function(e){this.errorsInRow||(this.errorsInRow={}),this.errorsInRow[e.name]=!0,e.hasError=!0},t.prototype.refreshRowsErrors=function(){this.errorsInRow&&this.checkErrorsAllRows(!0,{noValue:!1,isNotUnique:!1})},t.prototype.getIsAnswered=function(){return e.prototype.getIsAnswered.call(this)&&this.hasValuesInAllRows()},t.prototype.createMatrixRow=function(e,t,n){var o=new fr(e,t,this,n);return this.onMatrixRowCreated(o),o},t.prototype.onMatrixRowCreated=function(e){},t.prototype.setQuestionValue=function(t,n){if(void 0===n&&(n=!0),e.prototype.setQuestionValue.call(this,t,this.isRowChanging||n),this.generatedVisibleRows&&0!=this.generatedVisibleRows.length){this.isRowChanging=!0;var o=this.value;if(o||(o={}),0==this.rows.length)this.generatedVisibleRows[0].setValueDirectly(o);else for(var i=0;i<this.generatedVisibleRows.length;i++){var r=o[this.generatedVisibleRows[i].name];this.isValueEmpty(r)&&(r=null),this.generatedVisibleRows[i].setValueDirectly(r)}this.refreshRowsErrors(),this.updateIsAnswered(),this.isRowChanging=!1}},t.prototype.getDisplayValueCore=function(e,t){var n={};for(var o in t){var i=e?Nn.getTextOrHtmlByValue(this.rows,o):o;i||(i=o);var r=Nn.getTextOrHtmlByValue(this.columns,t[o]);r||(r=t[o]),n[i]=r}return n},t.prototype.getPlainData=function(t){var n=this;void 0===t&&(t={includeEmpty:!0});var o=e.prototype.getPlainData.call(this,t);if(o){var i=this.createValueCopy();o.isNode=!0,o.data=Object.keys(i||{}).map((function(e){var o=n.rows.filter((function(t){return t.value===e}))[0],r={name:e,title:o?o.text:"row",value:i[e],displayValue:Nn.getTextOrHtmlByValue(n.visibleColumns,i[e]),getString:function(e){return"object"==typeof e?JSON.stringify(e):e},isNode:!1},a=Nn.getItemByValue(n.visibleColumns,i[e]);return a&&(t.calculations||[]).forEach((function(e){r[e.propertyName]=a[e.propertyName]})),r}))}return o},t.prototype.addConditionObjectsByContext=function(e,t){for(var n=0;n<this.rows.length;n++){var o=this.rows[n];o.value&&e.push({name:this.getValueName()+"."+o.value,text:this.processedTitle+"."+o.calculatedText,question:this})}},t.prototype.getConditionJson=function(t,n){if(void 0===t&&(t=null),void 0===n&&(n=null),!n)return e.prototype.getConditionJson.call(this,t);var o=new mr(n);o.choices=this.columns;var i=(new q).toJsonObject(o);return i.type=o.getType(),i},t.prototype.clearIncorrectValues=function(){this.clearInvisibleValuesInRowsAndColumns(!0,!0,!0),e.prototype.clearIncorrectValues.call(this)},t.prototype.clearValueIfInvisibleCore=function(t){e.prototype.clearValueIfInvisibleCore.call(this,t),this.clearInvisibleValuesInRowsAndColumns(!0,!0,!1)},t.prototype.clearInvisibleColumnValues=function(){this.clearInvisibleValuesInRowsAndColumns(!1,!0,!1)},t.prototype.clearInvisibleValuesInRows=function(){this.clearInvisibleValuesInRowsAndColumns(!0,!1,!1)},t.prototype.clearInvisibleValuesInRowsAndColumns=function(e,t,n){if(!this.isEmpty()){for(var o=this.getUnbindValue(this.value),i={},r=this.rows,a=0;a<r.length;a++){var s=r[a].value;o[s]&&(e&&!r[a].isVisible||t&&!this.getVisibleColumnByValue(o[s])?delete o[s]:i[s]=o[s])}n&&(o=i),this.isTwoValueEquals(o,this.value)||(this.value=o)}},t.prototype.getVisibleColumnByValue=function(e){var t=Nn.getItemByValue(this.columns,e);return t&&t.isVisible?t:null},t.prototype.getFirstInputElementId=function(){var t=this.generatedVisibleRows;return t||(t=this.visibleRows),t.length>0&&this.visibleColumns.length>0?this.inputId+"_"+t[0].name+"_0":e.prototype.getFirstInputElementId.call(this)},t.prototype.onMatrixRowChanged=function(e){if(!this.isRowChanging){if(this.isRowChanging=!0,this.hasRows){var t=this.value;t||(t={}),t[e.name]=e.value,this.setNewValue(t)}else this.setNewValue(e.value);this.isRowChanging=!1}},t.prototype.getCorrectedRowValue=function(e){for(var t=0;t<this.columns.length;t++)if(e===this.columns[t].value)return e;for(t=0;t<this.columns.length;t++)if(this.isTwoValueEquals(e,this.columns[t].value))return this.columns[t].value;return e},t.prototype.hasErrorInRow=function(e){return!!this.errorsInRow&&!!this.errorsInRow[e.name]},t.prototype.getSearchableItemValueKeys=function(e){e.push("columns"),e.push("rows")},Object.defineProperty(t.prototype,"SurveyModel",{get:function(){return this.survey},enumerable:!1,configurable:!0}),t.prototype.getColumnHeaderWrapperComponentName=function(e){return this.SurveyModel.getElementWrapperComponentName({column:e},"column-header")},t.prototype.getColumnHeaderWrapperComponentData=function(e){return this.SurveyModel.getElementWrapperComponentData({column:e},"column-header")},t.prototype.getRowHeaderWrapperComponentName=function(e){return this.SurveyModel.getElementWrapperComponentName({row:e},"row-header")},t.prototype.getRowHeaderWrapperComponentData=function(e){return this.SurveyModel.getElementWrapperComponentData({row:e},"row-header")},t}(Yn);L.addClass("matrix",["rowTitleWidth",{name:"columns:itemvalue[]",uniqueProperty:"value",baseValue:function(){return d("matrix_column")}},{name:"rows:itemvalue[]",uniqueProperty:"value",baseValue:function(){return d("matrix_row")}},{name:"cells:cells",serializationProperty:"cells"},{name:"rowsOrder",default:"initial",choices:["initial","random"]},"isAllRowRequired:boolean",{name:"eachRowUnique:boolean",category:"validation"},"hideIfRowsEmpty:boolean",{name:"cellComponent",visible:!1,default:"survey-matrix-cell"}],(function(){return new vr("")}),"matrixbase"),co.Instance.registerQuestion("matrix",(function(e){var t=new vr(e);return t.rows=co.DefaultRows,t.columns=co.DefaultColums,t}));var br=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(t,n)};return function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function o(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}}(),xr=function(e,t,n,o){var i,r=arguments.length,a=r<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,n):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,o);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(a=(r<3?i(a):r>3?i(t,n,a):i(t,n))||a);return r>3&&a&&Object.defineProperty(t,n,a),a},Cr=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return br(t,e),t.prototype.updateRemainingCharacterCounter=function(e,t){this.remainingCharacterCounter=u.getRemainingCharacterCounterText(e,t)},xr([x()],t.prototype,"remainingCharacterCounter",void 0),t}(_e),wr=function(e){function t(t){var n=e.call(this,t)||this;return n.characterCounter=new Cr,n}return br(t,e),t.prototype.isTextValue=function(){return!0},Object.defineProperty(t.prototype,"maxLength",{get:function(){return this.getPropertyValue("maxLength")},set:function(e){this.setPropertyValue("maxLength",e),this.updateRemainingCharacterCounter(this.value)},enumerable:!1,configurable:!0}),t.prototype.getMaxLength=function(){return u.getMaxLength(this.maxLength,this.survey?this.survey.maxTextLength:-1)},t.prototype.updateRemainingCharacterCounter=function(e){this.characterCounter.updateRemainingCharacterCounter(e,this.getMaxLength())},Object.defineProperty(t.prototype,"placeHolder",{get:function(){return this.placeholder},set:function(e){this.placeholder=e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"locPlaceHolder",{get:function(){return this.locPlaceholder},enumerable:!1,configurable:!0}),t.prototype.getType=function(){return"textbase"},t.prototype.isEmpty=function(){return e.prototype.isEmpty.call(this)||""===this.value},Object.defineProperty(t.prototype,"textUpdateMode",{get:function(){return this.getPropertyValue("textUpdateMode")},set:function(e){this.setPropertyValue("textUpdateMode",e)},enumerable:!1,configurable:!0}),t.prototype.getIsInputTextUpdate=function(){return"default"==this.textUpdateMode?e.prototype.getIsInputTextUpdate.call(this):"onTyping"==this.textUpdateMode},Object.defineProperty(t.prototype,"renderedPlaceholder",{get:function(){var e=this;return this.getPropertyValue("renderedPlaceholder",void 0,(function(){return e.hasPlaceholder()?e.placeHolder:void 0}))},enumerable:!1,configurable:!0}),t.prototype.onReadOnlyChanged=function(){e.prototype.onReadOnlyChanged.call(this),this.resetRenderedPlaceholder()},t.prototype.localeChanged=function(){e.prototype.localeChanged.call(this),this.resetRenderedPlaceholder()},t.prototype.supportEmptyValidation=function(){return!0},t.prototype.resetRenderedPlaceholder=function(){this.resetPropertyValue("renderedPlaceholder")},t.prototype.hasPlaceholder=function(){return!this.isReadOnly},t.prototype.setNewValue=function(t){e.prototype.setNewValue.call(this,t),this.updateRemainingCharacterCounter(t)},t.prototype.setQuestionValue=function(t,n){void 0===n&&(n=!0),e.prototype.setQuestionValue.call(this,t,n),this.updateRemainingCharacterCounter(t)},t.prototype.convertToCorrectValue=function(e){return Array.isArray(e)?e.join(this.getValueSeparator()):e},t.prototype.getValueSeparator=function(){return", "},t.prototype.getControlCssClassBuilder=function(){return(new Ae).append(this.cssClasses.root).append(this.cssClasses.onError,this.hasCssError()).append(this.cssClasses.controlDisabled,this.isDisabledStyle).append(this.cssClasses.controlReadOnly,this.isReadOnlyStyle).append(this.cssClasses.controlPreview,this.isPreviewStyle)},t.prototype.getControlClass=function(){return this.getControlCssClassBuilder().toString()},Object.defineProperty(t.prototype,"isNewA11yStructure",{get:function(){return!0},enumerable:!1,configurable:!0}),xr([x({localizable:!0,onSet:function(e,t){return t.resetRenderedPlaceholder()}})],t.prototype,"placeholder",void 0),t}(qn);L.addClass("textbase",[],(function(){return new wr("")}),"question");var Pr=function(){function e(e,t,n){var o=this;this.inputMaskInstance=e,this.inputElement=t,this.prevUnmaskedValue=void 0,this.inputMaskInstancePropertyChangedHandler=function(e,t){if("saveMaskedValue"!==t.name){var n=o.inputMaskInstance.getMaskedValue(o.prevUnmaskedValue);o.setInputValue(n)}},this.clickHandler=function(e){o.inputElement.value==o.inputMaskInstance.getMaskedValue("")&&o.inputElement.setSelectionRange(0,0)},this.beforeInputHandler=function(e){var t=o.createArgs(e),n=o.inputMaskInstance.processInput(t);o.setInputValue(n.value),o.inputElement.setSelectionRange(n.caretPosition,n.caretPosition),n.cancelPreventDefault||e.preventDefault()},this.changeHandler=function(e){var t=o.inputMaskInstance.processInput({prevValue:"",insertedChars:e.target.value,selectionStart:0,selectionEnd:0});o.setInputValue(t.value)};var i=n;null==i&&(i=""),this.setInputValue(e.saveMaskedValue?i:e.getMaskedValue(i)),this.prevUnmaskedValue=i,e.onPropertyChanged.add(this.inputMaskInstancePropertyChangedHandler),this.addInputEventListener()}return e.prototype.setInputValue=function(e){this.inputElement.maxLength>=0&&this.inputElement.maxLength<e.length&&(e=e.slice(0,this.inputElement.maxLength)),this.inputElement.value=e},e.prototype.createArgs=function(e){var t={insertedChars:e.data,selectionStart:e.target.selectionStart,selectionEnd:e.target.selectionEnd,prevValue:e.target.value,inputDirection:"forward"};return"deleteContentBackward"===e.inputType&&(t.inputDirection="backward",t.selectionStart===t.selectionEnd&&(t.selectionStart=Math.max(t.selectionStart-1,0))),"deleteContentForward"===e.inputType&&t.selectionStart===t.selectionEnd&&(t.selectionEnd+=1),t},e.prototype.addInputEventListener=function(){this.inputElement&&(this.inputElement.addEventListener("beforeinput",this.beforeInputHandler),this.inputElement.addEventListener("click",this.clickHandler),this.inputElement.addEventListener("focus",this.clickHandler),this.inputElement.addEventListener("change",this.changeHandler))},e.prototype.removeInputEventListener=function(){this.inputElement&&(this.inputElement.removeEventListener("beforeinput",this.beforeInputHandler),this.inputElement.removeEventListener("click",this.clickHandler),this.inputElement.removeEventListener("focus",this.clickHandler),this.inputElement.removeEventListener("change",this.changeHandler))},e.prototype.dispose=function(){this.removeInputEventListener(),this.inputElement=void 0,this.inputMaskInstance.onPropertyChanged.remove(this.inputMaskInstancePropertyChangedHandler)},e}(),kr=/[0-9]/;function Vr(){var e=(L.getChildrenClasses("masksettings")||[]).map((function(e){var t=e.name;return-1!==e.name.indexOf("mask")&&(t=t.slice(0,t.indexOf("mask"))),t}));return e.unshift("none"),e}var _r=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(t,n)};return function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function o(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}}(),Tr=function(e,t,n,o){var i,r=arguments.length,a=r<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,n):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,o);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(a=(r<3?i(a):r>3?i(t,n,a):i(t,n))||a);return r>3&&a&&Object.defineProperty(t,n,a),a},Sr=function(e){function t(t){var n=e.call(this,t)||this;return n._isWaitingForEnter=!1,n.onCompositionUpdate=function(e){n.isInputTextUpdate&&setTimeout((function(){n.updateValueOnEvent(e)}),1),n.updateRemainingCharacterCounter(e.target.value)},n.onKeyUp=function(e){n.updateDateValidationMessage(e),n.isInputTextUpdate?n._isWaitingForEnter&&13!==e.keyCode||(n.updateValueOnEvent(e),n._isWaitingForEnter=!1):13===e.keyCode&&n.updateValueOnEvent(e),n.updateRemainingCharacterCounter(e.target.value)},n.readOnlyBlocker=function(e){if(n.isReadOnlyAttr&&["color","range"].indexOf(n.inputType)>-1)return e.preventDefault(),!0},n.onKeyDown=function(e){n.readOnlyBlocker(e)||(n.onKeyDownPreprocess&&n.onKeyDownPreprocess(e),n.isInputTextUpdate&&(n._isWaitingForEnter=229===e.keyCode),n.onTextKeyDownHandler(e))},n.onChange=function(e){n.updateDateValidationMessage(e),e.target===tn.environment.root.activeElement?n.isInputTextUpdate&&n.updateValueOnEvent(e):n.updateValueOnEvent(e),n.updateRemainingCharacterCounter(e.target.value)},n.createLocalizableString("minErrorText",n,!0,"minError"),n.createLocalizableString("maxErrorText",n,!0,"maxError"),n.setNewMaskSettingsProperty(),n.locDataListValue=new xt(n),n.locDataListValue.onValueChanged=function(e,t){n.propertyValueChanged("dataList",e,t)},n.registerPropertyChangedHandlers(["min","max","inputType","minValueExpression","maxValueExpression"],(function(){n.setRenderedMinMax()})),n.registerPropertyChangedHandlers(["inputType","size"],(function(){n.updateInputSize(),n.resetRenderedPlaceholder()})),n}return _r(t,e),t.prototype.createMaskAdapter=function(){this.input&&!this.maskTypeIsEmpty&&(this.maskInputAdapter=new Pr(this.maskInstance,this.input,this.value))},t.prototype.deleteMaskAdapter=function(){this.maskInputAdapter&&(this.maskInputAdapter.dispose(),this.maskInputAdapter=void 0)},t.prototype.updateMaskAdapter=function(){this.deleteMaskAdapter(),this.createMaskAdapter()},t.prototype.onSetMaskType=function(e){this.setNewMaskSettingsProperty(),this.updateMaskAdapter()},Object.defineProperty(t.prototype,"maskTypeIsEmpty",{get:function(){switch(this.inputType){case"tel":case"text":return"none"===this.maskType;default:return!0}},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"maskSettings",{get:function(){return this.getPropertyValue("maskSettings")},set:function(e){e&&(this.setNewMaskSettingsProperty(),this.maskSettings.fromJSON(e.toJSON()),this.updateMaskAdapter())},enumerable:!1,configurable:!0}),t.prototype.setNewMaskSettingsProperty=function(){this.setPropertyValue("maskSettings",this.createMaskSettings())},t.prototype.createMaskSettings=function(){var e=this.maskType&&"none"!==this.maskType?this.maskType+"mask":"masksettings";L.findClass(e)||(e="masksettings");var t=L.createClass(e);return t.owner=this.survey,t},t.prototype.isTextValue=function(){return this.isDateInputType||["text","number","password"].indexOf(this.inputType)>-1},t.prototype.getType=function(){return"text"},t.prototype.onSurveyLoad=function(){e.prototype.onSurveyLoad.call(this),this.setRenderedMinMax(),this.updateInputSize()},Object.defineProperty(t.prototype,"inputType",{get:function(){return this.getPropertyValue("inputType")},set:function(e){"datetime_local"!==(e=e.toLowerCase())&&"datetime"!==e||(e="datetime-local"),this.setPropertyValue("inputType",e.toLowerCase()),this.isLoadingFromJson||(this.min=void 0,this.max=void 0,this.step=void 0),this.updateMaskAdapter()},enumerable:!1,configurable:!0}),t.prototype.getMaxLength=function(){return this.isTextInput?e.prototype.getMaxLength.call(this):null},t.prototype.runCondition=function(t,n){e.prototype.runCondition.call(this,t,n),(this.minValueExpression||this.maxValueExpression)&&this.setRenderedMinMax(t,n)},t.prototype.getDisplayValueCore=function(t,n){return this.maskTypeIsEmpty||u.isValueEmpty(n)?e.prototype.getDisplayValueCore.call(this,t,n):this.maskInstance.getMaskedValue(n)},t.prototype.isLayoutTypeSupported=function(e){return!0},Object.defineProperty(t.prototype,"size",{get:function(){return this.getPropertyValue("size")},set:function(e){this.setPropertyValue("size",e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isTextInput",{get:function(){return["text","search","tel","url","email","password"].indexOf(this.inputType)>-1},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"inputSize",{get:function(){return this.getPropertyValue("inputSize",0)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"renderedInputSize",{get:function(){return this.getPropertyValue("inputSize")||null},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"inputWidth",{get:function(){return this.getPropertyValue("inputWidth")},enumerable:!1,configurable:!0}),t.prototype.updateInputSize=function(){var e=this.isTextInput&&this.size>0?this.size:0;this.isTextInput&&e<1&&this.parent&&this.parent.itemSize&&(e=this.parent.itemSize),this.setPropertyValue("inputSize",e),this.setPropertyValue("inputWidth",e>0?"auto":"")},Object.defineProperty(t.prototype,"autocomplete",{get:function(){return this.getPropertyValue("autocomplete",null)},set:function(e){this.setPropertyValue("autocomplete",e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"min",{get:function(){return this.getPropertyValue("min")},set:function(e){this.isValueExpression(e)?this.minValueExpression=e.substring(1):this.setPropertyValue("min",e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"max",{get:function(){return this.getPropertyValue("max")},set:function(e){this.isValueExpression(e)?this.maxValueExpression=e.substring(1):this.setPropertyValue("max",e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"minValueExpression",{get:function(){return this.getPropertyValue("minValueExpression","")},set:function(e){this.setPropertyValue("minValueExpression",e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"maxValueExpression",{get:function(){return this.getPropertyValue("maxValueExpression","")},set:function(e){this.setPropertyValue("maxValueExpression",e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"renderedMin",{get:function(){return this.getPropertyValue("renderedMin")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"renderedMax",{get:function(){return this.getPropertyValue("renderedMax")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"minErrorText",{get:function(){return this.getLocalizableStringText("minErrorText")},set:function(e){this.setLocalizableStringText("minErrorText",e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"locMinErrorText",{get:function(){return this.getLocalizableString("minErrorText")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"maxErrorText",{get:function(){return this.getLocalizableStringText("maxErrorText")},set:function(e){this.setLocalizableStringText("maxErrorText",e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"locMaxErrorText",{get:function(){return this.getLocalizableString("maxErrorText")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isMinMaxType",{get:function(){return Rr(this)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"maskInstance",{get:function(){return this.maskSettings},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"inputValue",{get:function(){return this._inputValue||this.maskTypeIsEmpty?this._inputValue:this.maskInstance.getMaskedValue("")},set:function(e){var t=e;this._inputValue=e,this.maskTypeIsEmpty||(t=this.maskInstance.getUnmaskedValue(e),this._inputValue=this.maskInstance.getMaskedValue(t),t&&this.maskSettings.saveMaskedValue&&(t=this._inputValue)),this.value=t},enumerable:!1,configurable:!0}),t.prototype.getExpressionValue=function(e){return!this.maskTypeIsEmpty&&this.maskSettings.saveMaskedValue?this.maskInstance.getUnmaskedValue(e):e},t.prototype.convertToCorrectValue=function(t){return null!=t&&"string"!=typeof t&&!this.maskTypeIsEmpty&&this.maskSettings.saveMaskedValue?this.maskInstance.getMaskedValue(t):e.prototype.convertToCorrectValue.call(this,t)},t.prototype.onChangeQuestionValue=function(t){e.prototype.onChangeQuestionValue.call(this,t),this.updateInputValue()},t.prototype.updateInputValue=function(){var e=this.value;this.maskTypeIsEmpty?this._inputValue=e:this.maskSettings.saveMaskedValue?this._inputValue=null!=e?e:this.maskInstance.getMaskedValue(""):this._inputValue=this.maskInstance.getMaskedValue(e)},t.prototype.hasToConvertToUTC=function(e){return tn.storeUtcDates&&this.isDateTimeLocaleType()&&!!e},t.prototype.createDate=function(e){return l("question-text",e)},t.prototype.valueForSurveyCore=function(t){return this.hasToConvertToUTC(t)&&(t=this.createDate(t).toISOString()),e.prototype.valueForSurveyCore.call(this,t)},t.prototype.valueFromDataCore=function(t){if(this.hasToConvertToUTC(t)){var n=this.createDate(t),o=this.createDate(n.getTime()-60*n.getTimezoneOffset()*1e3).toISOString();t=o.substring(0,o.length-2)}return e.prototype.valueFromDataCore.call(this,t)},t.prototype.onCheckForErrors=function(t,n,o){var i=this;if(e.prototype.onCheckForErrors.call(this,t,n,o),!n){if(this.isValueLessMin){var r=new yn(this.getMinMaxErrorText(this.minErrorText,this.getCalculatedMinMax(this.renderedMin)),this);r.onUpdateErrorTextCallback=function(e){e.text=i.getMinMaxErrorText(i.minErrorText,i.getCalculatedMinMax(i.renderedMin))},t.push(r)}if(this.isValueGreaterMax){var a=new yn(this.getMinMaxErrorText(this.maxErrorText,this.getCalculatedMinMax(this.renderedMax)),this);a.onUpdateErrorTextCallback=function(e){e.text=i.getMinMaxErrorText(i.maxErrorText,i.getCalculatedMinMax(i.renderedMax))},t.push(a)}this.dateValidationMessage&&t.push(new yn(this.dateValidationMessage,this));var s=this.getValidatorTitle(),l=new _n;if(l.errorOwner=this,"email"===this.inputType&&!this.validators.some((function(e){return"emailvalidator"===e.getType()}))){var u=l.validate(this.value,s);u&&u.error&&t.push(u.error)}}},t.prototype.canSetValueToSurvey=function(){if(!this.isMinMaxType)return!0;var e=!this.isValueLessMin&&!this.isValueGreaterMax;return(!e||this.errors.length>0)&&this.survey&&(this.survey.isValidateOnValueChanging||this.survey.isValidateOnValueChanged)&&this.hasErrors(),e},t.prototype.convertFuncValuetoQuestionValue=function(e){var t=this.maskTypeIsEmpty?this.inputType:this.maskSettings.getTypeForExpressions();return u.convertValToQuestionVal(e,t)},t.prototype.getMinMaxErrorText=function(e,t){if(u.isValueEmpty(t))return e;var n=t.toString();return"date"===this.inputType&&t.toDateString&&(n=t.toDateString()),e.replace("{0}",n)},Object.defineProperty(t.prototype,"isValueLessMin",{get:function(){return!this.isValueEmpty(this.renderedMin)&&!this.isEmpty()&&this.getCalculatedMinMax(this.value)<this.getCalculatedMinMax(this.renderedMin)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isValueGreaterMax",{get:function(){return!this.isValueEmpty(this.renderedMax)&&!this.isEmpty()&&this.getCalculatedMinMax(this.value)>this.getCalculatedMinMax(this.renderedMax)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isDateInputType",{get:function(){return"date"===this.inputType||this.isDateTimeLocaleType()},enumerable:!1,configurable:!0}),t.prototype.isDateTimeLocaleType=function(){return"datetime-local"===this.inputType},t.prototype.getCalculatedMinMax=function(e){return this.isValueEmpty(e)?e:this.isDateInputType?this.createDate(e):e},t.prototype.setRenderedMinMax=function(e,t){var n=this;void 0===e&&(e=null),void 0===t&&(t=null),this.minValueRunner=this.getDefaultRunner(this.minValueRunner,this.minValueExpression),this.setValueAndRunExpression(this.minValueRunner,this.min,(function(e){!e&&n.isDateInputType&&tn.minDate&&(e=tn.minDate),n.setPropertyValue("renderedMin",e)}),e,t),this.maxValueRunner=this.getDefaultRunner(this.maxValueRunner,this.maxValueExpression),this.setValueAndRunExpression(this.maxValueRunner,this.max,(function(e){!e&&n.isDateInputType&&(e=tn.maxDate?tn.maxDate:"2999-12-31"),n.setPropertyValue("renderedMax",e)}),e,t)},Object.defineProperty(t.prototype,"step",{get:function(){return this.getPropertyValue("step")},set:function(e){this.setPropertyValue("step",e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"renderedStep",{get:function(){return this.isValueEmpty(this.step)?"number"!==this.inputType?void 0:"any":this.step},enumerable:!1,configurable:!0}),t.prototype.getIsInputTextUpdate=function(){return!!this.maskTypeIsEmpty&&e.prototype.getIsInputTextUpdate.call(this)},t.prototype.supportGoNextPageAutomatic=function(){return!this.getIsInputTextUpdate()&&!this.isDateInputType},t.prototype.supportGoNextPageError=function(){return!this.isDateInputType},Object.defineProperty(t.prototype,"dataList",{get:function(){return this.locDataList.value},set:function(e){this.locDataList.value=e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"locDataList",{get:function(){return this.locDataListValue},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"dataListId",{get:function(){return this.locDataList.hasValue()?this.id+"_datalist":void 0},enumerable:!1,configurable:!0}),t.prototype.setNewValue=function(t){(t=this.correctValueType(t))&&(this.dateValidationMessage=void 0),e.prototype.setNewValue.call(this,t)},t.prototype.correctValueType=function(e){if(!e)return e;if("number"===this.inputType||"range"===this.inputType)return u.isNumber(e)?u.getNumber(e):"";if("month"===this.inputType){var t=this.createDate(e),n=0==t.toISOString().indexOf(e)&&-1==e.indexOf("T"),o=(n?t.getUTCMonth():t.getMonth())+1;return(n?t.getUTCFullYear():t.getFullYear())+"-"+(o<10?"0":"")+o}return e},t.prototype.hasPlaceholder=function(){return!this.isReadOnly&&"range"!==this.inputType},t.prototype.getControlCssClassBuilder=function(){var t=this.getMaxLength();return e.prototype.getControlCssClassBuilder.call(this).append(this.cssClasses.constrolWithCharacterCounter,!!t).append(this.cssClasses.characterCounterBig,t>99)},t.prototype.isReadOnlyRenderDiv=function(){return this.isReadOnly&&"div"===tn.readOnly.textRenderMode},Object.defineProperty(t.prototype,"inputStyle",{get:function(){var e={};return e.width=this.inputWidth,this.updateTextAlign(e),e},enumerable:!1,configurable:!0}),t.prototype.updateTextAlign=function(e){"auto"!==this.inputTextAlignment?e.textAlign=this.inputTextAlignment:this.maskTypeIsEmpty||"auto"===this.maskSettings.getTextAlignment()||(e.textAlign=this.maskSettings.getTextAlignment())},t.prototype.updateValueOnEvent=function(e){var t=e.target.value;this.isTwoValueEquals(this.value,t)||(this.inputValue=t)},t.prototype.updateDateValidationMessage=function(e){this.dateValidationMessage=this.isDateInputType&&e.target?e.target.validationMessage:void 0},t.prototype.onBlurCore=function(t){this.updateDateValidationMessage(t),this.updateValueOnEvent(t),this.updateRemainingCharacterCounter(t.target.value),e.prototype.onBlurCore.call(this,t)},t.prototype.onFocusCore=function(t){this.updateRemainingCharacterCounter(t.target.value),e.prototype.onFocusCore.call(this,t)},t.prototype.afterRenderQuestionElement=function(t){t&&(this.input=t instanceof HTMLInputElement?t:t.querySelector("input"),this.createMaskAdapter()),e.prototype.afterRenderQuestionElement.call(this,t)},t.prototype.beforeDestroyQuestionElement=function(e){this.deleteMaskAdapter(),this.input=void 0},Tr([x({onSet:function(e,t){t.onSetMaskType(e)}})],t.prototype,"maskType",void 0),Tr([x()],t.prototype,"inputTextAlignment",void 0),Tr([x()],t.prototype,"_inputValue",void 0),t}(wr),Er=["number","range","date","datetime-local","month","time","week"];function Rr(e){var t=e?e.inputType:"";return!!t&&Er.indexOf(t)>-1}function Ir(e,t){var n=e.split(t);return 2!==n.length?-1:u.isNumber(n[0])&&u.isNumber(n[1])?60*parseFloat(n[0])+parseFloat(n[1]):-1}function Or(e,t,n,o){var i=o?n:t;if(!Rr(e))return i;if(u.isValueEmpty(t)||u.isValueEmpty(n))return i;if(0===e.inputType.indexOf("date")||"month"===e.inputType){var r="month"===e.inputType,a="question-text-minmax",s=l(a,r?t+"-01":t),c=l(a,r?n+"-01":n);if(!s||!c)return i;if(s>c)return o?t:n}if("week"===e.inputType||"time"===e.inputType)return function(e,t,n){var o=Ir(e,n),i=Ir(t,n);return!(o<0||i<0)&&o>i}(t,n,"week"===e.inputType?"-W":":")?o?t:n:i;if("number"===e.inputType){if(!u.isNumber(t)||!u.isNumber(n))return i;if(u.getNumber(t)>u.getNumber(n))return o?t:n}return"string"==typeof t||"string"==typeof n?i:t>n?o?t:n:i}function Ar(e,t){e&&e.inputType&&(t.inputType="range"!==e.inputType?e.inputType:"number",t.textUpdateMode="onBlur")}L.addClass("text",[{name:"inputType",default:"text",choices:tn.questions.inputTypes},{name:"size:number",minValue:0,dependsOn:"inputType",visibleIf:function(e){return!!e&&e.isTextInput}},{name:"textUpdateMode",default:"default",choices:["default","onBlur","onTyping"],dependsOn:"inputType",visibleIf:function(e){return!!e&&e.isTextInput}},{name:"autocomplete",alternativeName:"autoComplete",choices:tn.questions.dataList},{name:"min",dependsOn:"inputType",visibleIf:function(e){return Rr(e)},onPropertyEditorUpdate:function(e,t){Ar(e,t)},onSettingValue:function(e,t){return Or(e,t,e.max,!1)}},{name:"max",dependsOn:"inputType",nextToProperty:"*min",visibleIf:function(e){return Rr(e)},onSettingValue:function(e,t){return Or(e,e.min,t,!0)},onPropertyEditorUpdate:function(e,t){Ar(e,t)}},{name:"minValueExpression:expression",category:"logic",dependsOn:"inputType",visibleIf:function(e){return Rr(e)}},{name:"maxValueExpression:expression",category:"logic",dependsOn:"inputType",visibleIf:function(e){return Rr(e)}},{name:"minErrorText",serializationProperty:"locMinErrorText",dependsOn:"inputType",visibleIf:function(e){return Rr(e)}},{name:"maxErrorText",serializationProperty:"locMaxErrorText",dependsOn:"inputType",visibleIf:function(e){return Rr(e)}},{name:"inputTextAlignment",default:"auto",choices:["left","right","auto"]},{name:"maskType",default:"none",visibleIndex:0,dependsOn:"inputType",visibleIf:function(e){return"text"===e.inputType||"tel"===e.inputType},choices:function(e){return Vr()}},{name:"maskSettings:masksettings",className:"masksettings",visibleIndex:1,dependsOn:["inputType","maskType"],visibleIf:function(e){return"text"===e.inputType||"tel"===e.inputType},onGetValue:function(e){return e.maskSettings.getData()},onSetValue:function(e,t){e.maskSettings.setData(t)}},{name:"step:number",dependsOn:"inputType",visibleIf:function(e){return!!e&&("number"===e.inputType||"range"===e.inputType)}},{name:"maxLength:number",default:-1,dependsOn:"inputType",visibleIf:function(e){return!!e&&e.isTextInput}},{name:"placeholder",alternativeName:"placeHolder",serializationProperty:"locPlaceholder",dependsOn:"inputType",visibleIf:function(e){return!!e&&e.isTextInput}},{name:"dataList:string[]",serializationProperty:"locDataList",dependsOn:"inputType",visibleIf:function(e){return!!e&&"text"===e.inputType}}],(function(){return new Sr("")}),"textbase"),co.Instance.registerQuestion("text",(function(e){return new Sr(e)}));var Dr=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(t,n)};return function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function o(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}}(),qr=function(e,t,n,o){var i,r=arguments.length,a=r<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,n):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,o);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(a=(r<3?i(a):r>3?i(t,n,a):i(t,n))||a);return r>3&&a&&Object.defineProperty(t,n,a),a},Lr=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Dr(t,e),Object.defineProperty(t.prototype,"a11y_input_ariaLabel",{get:function(){return this.locTitle.renderedHtml},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"a11y_input_ariaLabelledBy",{get:function(){return null},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"a11y_input_ariaDescribedBy",{get:function(){return null},enumerable:!1,configurable:!0}),t}(Sr),Mr=function(e){function t(t,n){void 0===t&&(t=null),void 0===n&&(n=null);var o=e.call(this)||this;return o.focusIn=function(){o.editor.focusIn()},o.editorValue=o.createEditor(t),o.maskSettings=o.editorValue.maskSettings,o.editor.questionTitleTemplateCallback=function(){return""},o.editor.titleLocation="left",n&&(o.title=n),o.editor.onPropertyChanged.add((function(e,t){"maskSettings"!==t.name&&o.onPropertyChanged.fire(o,t)})),o}return Dr(t,e),t.prototype.getType=function(){return"multipletextitem"},Object.defineProperty(t.prototype,"id",{get:function(){return this.editor.id},enumerable:!1,configurable:!0}),t.prototype.getOriginalObj=function(){return this.editor},Object.defineProperty(t.prototype,"name",{get:function(){return this.editor.name},set:function(e){this.editor.name=e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"question",{get:function(){return this.data},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"editor",{get:function(){return this.editorValue},enumerable:!1,configurable:!0}),t.prototype.createEditor=function(e){return new Lr(e)},t.prototype.addUsedLocales=function(t){e.prototype.addUsedLocales.call(this,t),this.editor.addUsedLocales(t)},t.prototype.localeChanged=function(){e.prototype.localeChanged.call(this),this.editor.localeChanged()},t.prototype.locStrsChanged=function(){e.prototype.locStrsChanged.call(this),this.editor.locStrsChanged()},t.prototype.setData=function(e){this.data=e,e&&(this.editor.defaultValue=e.getItemDefaultValue(this.name),this.editor.setSurveyImpl(this),this.editor.parent=e,this.editor.setParentQuestion(e))},Object.defineProperty(t.prototype,"isRequired",{get:function(){return this.editor.isRequired},set:function(e){this.editor.isRequired=e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"inputType",{get:function(){return this.editor.inputType},set:function(e){this.editor.inputType=e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"title",{get:function(){return this.editor.title},set:function(e){this.editor.title=e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"locTitle",{get:function(){return this.editor.locTitle},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"fullTitle",{get:function(){return this.editor.fullTitle},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"maxLength",{get:function(){return this.editor.maxLength},set:function(e){this.editor.maxLength=e},enumerable:!1,configurable:!0}),t.prototype.getMaxLength=function(){var e=this.getSurvey();return u.getMaxLength(this.maxLength,e?e.maxTextLength:-1)},Object.defineProperty(t.prototype,"placeholder",{get:function(){return this.editor.placeholder},set:function(e){this.editor.placeholder=e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"locPlaceholder",{get:function(){return this.editor.locPlaceholder},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"placeHolder",{get:function(){return this.placeholder},set:function(e){this.placeholder=e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"locPlaceHolder",{get:function(){return this.locPlaceholder},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"requiredErrorText",{get:function(){return this.editor.requiredErrorText},set:function(e){this.editor.requiredErrorText=e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"locRequiredErrorText",{get:function(){return this.editor.locRequiredErrorText},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"size",{get:function(){return this.editor.size},set:function(e){this.editor.size=e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"defaultValueExpression",{get:function(){return this.editor.defaultValueExpression},set:function(e){this.editor.defaultValueExpression=e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"minValueExpression",{get:function(){return this.editor.minValueExpression},set:function(e){this.editor.minValueExpression=e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"maxValueExpression",{get:function(){return this.editor.maxValueExpression},set:function(e){this.editor.maxValueExpression=e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"validators",{get:function(){return this.editor.validators},set:function(e){this.editor.validators=e},enumerable:!1,configurable:!0}),t.prototype.getValidators=function(){return this.validators},Object.defineProperty(t.prototype,"maskType",{get:function(){return this.editor.maskType},set:function(e){this.editor.maskType=e,this.maskSettings=this.editor.maskSettings},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"maskSettings",{get:function(){return this.getPropertyValue("maskSettings")},set:function(e){this.setPropertyValue("maskSettings",e),this.editor.maskSettings!==e&&(this.editor.maskSettings=e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"inputTextAlignment",{get:function(){return this.editor.inputTextAlignment},set:function(e){this.editor.inputTextAlignment=e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"value",{get:function(){return this.data?this.data.getMultipleTextValue(this.name):null},set:function(e){null!=this.data&&this.data.setMultipleTextValue(this.name,e)},enumerable:!1,configurable:!0}),t.prototype.isEmpty=function(){return this.editor.isEmpty()},t.prototype.onValueChanged=function(e){this.valueChangedCallback&&this.valueChangedCallback(e)},t.prototype.getSurveyData=function(){return this},t.prototype.getSurvey=function(){return this.data?this.data.getSurvey():null},t.prototype.getTextProcessor=function(){return this.data?this.data.getTextProcessor():null},t.prototype.getValue=function(e){return this.data?this.data.getMultipleTextValue(e):null},t.prototype.setValue=function(e,t){this.data&&this.data.setMultipleTextValue(e,t)},t.prototype.getVariable=function(e){},t.prototype.setVariable=function(e,t){},t.prototype.getComment=function(e){return null},t.prototype.setComment=function(e,t){},t.prototype.getAllValues=function(){return this.data?this.data.getAllValues():this.value},t.prototype.getFilteredValues=function(){return this.getAllValues()},t.prototype.getFilteredProperties=function(){return{survey:this.getSurvey()}},t.prototype.findQuestionByName=function(e){var t=this.getSurvey();return t?t.getQuestionByName(e):null},t.prototype.getEditingSurveyElement=function(){},t.prototype.getValidatorTitle=function(){return this.title},Object.defineProperty(t.prototype,"validatedValue",{get:function(){return this.value},set:function(e){this.value=e},enumerable:!1,configurable:!0}),t.prototype.getDataFilteredValues=function(){return this.getFilteredValues()},t.prototype.getDataFilteredProperties=function(){return this.getFilteredProperties()},t}(_e),jr=function(e){function t(t){var n=e.call(this,t)||this;return n.isMultipleItemValueChanging=!1,n.createNewArray("items",(function(e){e.setData(n),n.survey&&n.survey.multipleTextItemAdded(n,e)})),n.registerPropertyChangedHandlers(["items","colCount","itemErrorLocation"],(function(){n.calcVisibleRows()})),n.registerPropertyChangedHandlers(["itemSize"],(function(){n.updateItemsSize()})),n}return Dr(t,e),t.addDefaultItems=function(e){for(var t=co.DefaultMutlipleTextItems,n=0;n<t.length;n++)e.addItem(t[n])},t.prototype.getType=function(){return"multipletext"},t.prototype.setSurveyImpl=function(t,n){e.prototype.setSurveyImpl.call(this,t,n);for(var o=0;o<this.items.length;o++)this.items[o].setData(this)},Object.defineProperty(t.prototype,"isAllowTitleLeft",{get:function(){return!1},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"hasSingleInput",{get:function(){return!1},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isContainer",{get:function(){return!0},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"id",{get:function(){return this.getPropertyValue("id")},set:function(e){var t;null===(t=this.items)||void 0===t||t.map((function(t,n){return t.editor.id=e+"_"+n})),this.setPropertyValue("id",e)},enumerable:!1,configurable:!0}),t.prototype.onSurveyLoad=function(){this.editorsOnSurveyLoad(),e.prototype.onSurveyLoad.call(this),u.isValueEmpty(this.rows)||this.calcVisibleRows()},t.prototype.setQuestionValue=function(t,n){void 0===n&&(n=!0),e.prototype.setQuestionValue.call(this,t,n),this.performForEveryEditor((function(e){e.editor.updateValueFromSurvey(e.value)})),this.updateIsAnswered()},t.prototype.onSurveyValueChanged=function(t){e.prototype.onSurveyValueChanged.call(this,t),this.performForEveryEditor((function(e){e.editor.onSurveyValueChanged(e.value)}))},t.prototype.updateItemsSize=function(){this.performForEveryEditor((function(e){e.editor.updateInputSize()}))},t.prototype.editorsOnSurveyLoad=function(){this.performForEveryEditor((function(e){e.editor.onSurveyLoad()}))},t.prototype.performForEveryEditor=function(e){for(var t=0;t<this.items.length;t++){var n=this.items[t];n.editor&&e(n)}},Object.defineProperty(t.prototype,"items",{get:function(){return this.getPropertyValue("items")},set:function(e){this.setPropertyValue("items",e)},enumerable:!1,configurable:!0}),t.prototype.addItem=function(e,t){void 0===t&&(t=null);var n=this.createTextItem(e,t);return this.items.push(n),n},t.prototype.getItemByName=function(e){for(var t=0;t<this.items.length;t++)if(this.items[t].name==e)return this.items[t];return null},t.prototype.getElementsInDesign=function(t){return void 0===t&&(t=!1),e.prototype.getElementsInDesign.call(this,t).concat(this.items)},t.prototype.addConditionObjectsByContext=function(e,t){for(var n=0;n<this.items.length;n++){var o=this.items[n];e.push({name:this.getValueName()+"."+o.name,text:this.processedTitle+"."+o.fullTitle,question:this})}},t.prototype.collectNestedQuestionsCore=function(e,t,n){n&&e.push(this),this.items.forEach((function(n){return n.editor.collectNestedQuestions(e,t)}))},t.prototype.getConditionJson=function(t,n){if(void 0===t&&(t=null),void 0===n&&(n=null),!n)return e.prototype.getConditionJson.call(this,t);var o=this.getItemByName(n);if(!o)return null;var i=(new q).toJsonObject(o);return i.type="text",i},t.prototype.locStrsChanged=function(){e.prototype.locStrsChanged.call(this);for(var t=0;t<this.items.length;t++)this.items[t].locStrsChanged()},t.prototype.localeChanged=function(){e.prototype.localeChanged.call(this);for(var t=0;t<this.items.length;t++)this.items[t].localeChanged()},Object.defineProperty(t.prototype,"itemErrorLocation",{get:function(){return this.getPropertyValue("itemErrorLocation")},set:function(e){this.setPropertyValue("itemErrorLocation",e)},enumerable:!1,configurable:!0}),t.prototype.getQuestionErrorLocation=function(){return"default"!==this.itemErrorLocation?this.itemErrorLocation:this.getErrorLocation()},Object.defineProperty(t.prototype,"showItemErrorOnTop",{get:function(){return"top"==this.getQuestionErrorLocation()},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"showItemErrorOnBottom",{get:function(){return"bottom"==this.getQuestionErrorLocation()},enumerable:!1,configurable:!0}),t.prototype.getChildErrorLocation=function(e){return this.getQuestionErrorLocation()},t.prototype.isNewValueCorrect=function(e){return u.isValueObject(e,!0)},t.prototype.supportGoNextPageAutomatic=function(){for(var e=0;e<this.items.length;e++)if(this.items[e].isEmpty())return!1;return!0},Object.defineProperty(t.prototype,"colCount",{get:function(){return this.getPropertyValue("colCount")},set:function(e){e<1||e>5||this.setPropertyValue("colCount",e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"itemSize",{get:function(){return this.getPropertyValue("itemSize")},set:function(e){this.setPropertyValue("itemSize",e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"itemTitleWidth",{get:function(){return this.getPropertyValue("itemTitleWidth")||""},set:function(e){this.setPropertyValue("itemTitleWidth",e)},enumerable:!1,configurable:!0}),t.prototype.onRowCreated=function(e){return e},t.prototype.calcVisibleRows=function(){for(var e,t,n=this.colCount,o=this.items,i=0,r=[],a=0;a<o.length;a++)0==i&&(e=this.onRowCreated(new Nr),t=this.onRowCreated(new Fr),this.showItemErrorOnTop?(r.push(t),r.push(e)):(r.push(e),r.push(t))),e.cells.push(new Br(o[a],this)),t.cells.push(new zr(o[a],this)),(++i>=n||a==o.length-1)&&(i=0,t.onAfterCreated());this.rows=r},t.prototype.getRows=function(){return u.isValueEmpty(this.rows)&&this.calcVisibleRows(),this.rows},t.prototype.onValueChanged=function(){e.prototype.onValueChanged.call(this),this.onItemValueChanged()},t.prototype.createTextItem=function(e,t){return new Mr(e,t)},t.prototype.onItemValueChanged=function(){if(!this.isMultipleItemValueChanging)for(var e=0;e<this.items.length;e++){var t=null;this.value&&this.items[e].name in this.value&&(t=this.value[this.items[e].name]),this.items[e].onValueChanged(t)}},t.prototype.runCondition=function(t,n){e.prototype.runCondition.call(this,t,n),this.items.forEach((function(e){return e.editor.runCondition(t,n)}))},t.prototype.getIsRunningValidators=function(){if(e.prototype.getIsRunningValidators.call(this))return!0;for(var t=0;t<this.items.length;t++)if(this.items[t].editor.isRunningValidators)return!0;return!1},t.prototype.hasErrors=function(t,n){var o=this;void 0===t&&(t=!0),void 0===n&&(n=null);for(var i=!1,r=0;r<this.items.length;r++)this.items[r].editor.onCompletedAsyncValidators=function(e){o.raiseOnCompletedAsyncValidators()},n&&!0===n.isOnValueChanged&&this.items[r].editor.isEmpty()||(i=this.items[r].editor.hasErrors(t,n)||i);return e.prototype.hasErrors.call(this,t)||i},t.prototype.getAllErrors=function(){for(var t=e.prototype.getAllErrors.call(this),n=0;n<this.items.length;n++){var o=this.items[n].editor.getAllErrors();o&&o.length>0&&(t=t.concat(o))}return t},t.prototype.clearErrors=function(){e.prototype.clearErrors.call(this);for(var t=0;t<this.items.length;t++)this.items[t].editor.clearErrors()},t.prototype.getContainsErrors=function(){var t=e.prototype.getContainsErrors.call(this);if(t)return t;for(var n=this.items,o=0;o<n.length;o++)if(n[o].editor.containsErrors)return!0;return!1},t.prototype.getIsAnswered=function(){if(!e.prototype.getIsAnswered.call(this))return!1;for(var t=0;t<this.items.length;t++){var n=this.items[t].editor;if(n.isVisible&&!n.isAnswered)return!1}return!0},t.prototype.getProgressInfo=function(){for(var e=[],t=0;t<this.items.length;t++)e.push(this.items[t].editor);return yt.getProgressInfoByElements(e,this.isRequired)},t.prototype.getDisplayValueCore=function(e,t){if(!t)return t;for(var n={},o=0;o<this.items.length;o++){var i=this.items[o],r=t[i.name];if(!u.isValueEmpty(r)){var a=i.name;e&&i.title&&(a=i.title),n[a]=i.editor.getDisplayValue(e,r)}}return n},t.prototype.allowMobileInDesignMode=function(){return!0},t.prototype.getMultipleTextValue=function(e){return this.value?this.value[e]:null},t.prototype.setMultipleTextValue=function(e,t){this.isMultipleItemValueChanging=!0,this.isValueEmpty(t)&&(t=void 0);var n=this.value;n||(n={}),n[e]=t,this.setNewValue(n),this.isMultipleItemValueChanging=!1},t.prototype.getItemDefaultValue=function(e){return this.defaultValue?this.defaultValue[e]:null},t.prototype.getTextProcessor=function(){return this.textProcessor},t.prototype.getAllValues=function(){return this.data?this.data.getAllValues():null},t.prototype.getIsRequiredText=function(){return this.survey?this.survey.requiredText:""},t.prototype.addElement=function(e,t){},t.prototype.removeElement=function(e){return!1},t.prototype.getQuestionTitleLocation=function(){return"left"},t.prototype.getQuestionTitleWidth=function(){},t.prototype.getColumsForElement=function(e){return[]},t.prototype.updateColumns=function(){},t.prototype.getQuestionStartIndex=function(){return this.getStartIndex()},t.prototype.getChildrenLayoutType=function(){return"row"},t.prototype.elementWidthChanged=function(e){},Object.defineProperty(t.prototype,"elements",{get:function(){return[]},enumerable:!1,configurable:!0}),t.prototype.indexOf=function(e){return-1},t.prototype.ensureRowsVisibility=function(){},t.prototype.validateContainerOnly=function(){},t.prototype.onQuestionValueChanged=function(e){},t.prototype.getItemLabelCss=function(e){return(new Ae).append(this.cssClasses.itemLabel).append(this.cssClasses.itemLabelDisabled,this.isDisabledStyle).append(this.cssClasses.itemLabelReadOnly,this.isReadOnlyStyle).append(this.cssClasses.itemLabelPreview,this.isPreviewStyle).append(this.cssClasses.itemLabelAnswered,e.editor.isAnswered).append(this.cssClasses.itemLabelAllowFocus,!this.isDesignMode).append(this.cssClasses.itemLabelOnError,e.editor.errors.length>0).append(this.cssClasses.itemWithCharacterCounter,!!e.getMaxLength()).toString()},t.prototype.getItemCss=function(){return(new Ae).append(this.cssClasses.item).toString()},t.prototype.getItemTitleCss=function(){return(new Ae).append(this.cssClasses.itemTitle).toString()},qr([w()],t.prototype,"rows",void 0),t}(qn),Nr=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.isVisible=!0,t.cells=[],t}return Dr(t,e),qr([x()],t.prototype,"isVisible",void 0),qr([w()],t.prototype,"cells",void 0),t}(_e),Fr=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Dr(t,e),t.prototype.onAfterCreated=function(){var e=this,t=function(){e.isVisible=e.cells.some((function(e){var t,n;return(null===(t=e.item)||void 0===t?void 0:t.editor)&&(null===(n=e.item)||void 0===n?void 0:n.editor.hasVisibleErrors)}))};this.cells.forEach((function(e){var n,o;(null===(n=e.item)||void 0===n?void 0:n.editor)&&(null===(o=e.item)||void 0===o||o.editor.registerFunctionOnPropertyValueChanged("hasVisibleErrors",t))})),t()},t}(Nr),Br=function(){function e(e,t){this.item=e,this.question=t,this.isErrorsCell=!1}return e.prototype.getClassName=function(){return(new Ae).append(this.question.cssClasses.cell).toString()},Object.defineProperty(e.prototype,"className",{get:function(){return this.getClassName()},enumerable:!1,configurable:!0}),e}(),zr=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.isErrorsCell=!0,t}return Dr(t,e),t.prototype.getClassName=function(){return(new Ae).append(e.prototype.getClassName.call(this)).append(this.question.cssClasses.cellError).append(this.question.cssClasses.cellErrorTop,this.question.showItemErrorOnTop).append(this.question.cssClasses.cellErrorBottom,this.question.showItemErrorOnBottom).toString()},t}(Br);L.addClass("multipletextitem",[{name:"!name",isUnique:!0},"isRequired:boolean",{name:"placeholder",alternativeName:"placeHolder",serializationProperty:"locPlaceholder"},{name:"inputType",default:"text",choices:tn.questions.inputTypes},{name:"maskType",default:"none",visibleIndex:0,dependsOn:"inputType",visibleIf:function(e){return"text"===e.inputType},choices:function(e){return Vr()}},{name:"maskSettings:masksettings",className:"masksettings",visibleIndex:1,dependsOn:"inputType",visibleIf:function(e){return"text"===e.inputType},onGetValue:function(e){return e.maskSettings.getData()},onSetValue:function(e,t){e.maskSettings.setData(t)}},{name:"inputTextAlignment",default:"auto",choices:["left","right","auto"]},{name:"title",serializationProperty:"locTitle"},{name:"maxLength:number",default:-1},{name:"size:number",minValue:0},{name:"requiredErrorText:text",serializationProperty:"locRequiredErrorText"},{name:"defaultValueExpression:expression",visible:!1},{name:"minValueExpression:expression",category:"logic",dependsOn:"inputType",visibleIf:function(e){return Rr(e)}},{name:"maxValueExpression:expression",category:"logic",dependsOn:"inputType",visibleIf:function(e){return Rr(e)}},{name:"validators:validators",baseClassName:"surveyvalidator",classNamePart:"validator"}],(function(){return new Mr("")})),L.addClass("multipletext",[{name:"!items:textitems",className:"multipletextitem",isArray:!0},{name:"itemSize:number",minValue:0,visible:!1},{name:"colCount:number",default:1,choices:[1,2,3,4,5]},{name:"itemErrorLocation",default:"default",choices:["default","top","bottom"],visible:!1},{name:"itemTitleWidth",category:"layout"}],(function(){return new jr("")}),"question"),co.Instance.registerQuestion("multipletext",(function(e){var t=new jr(e);return jr.addDefaultItems(t),t}));var Hr=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(t,n)};return function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function o(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}}(),Qr=function(e){function t(t){void 0===t&&(t="");var n=e.call(this,t)||this;return n.createLocalizableString("content",n,!0),n.registerPropertyChangedHandlers(["content"],(function(){n.onContentChanged()})),n}return Hr(t,e),t.prototype.getType=function(){return"flowpanel"},t.prototype.getChildrenLayoutType=function(){return"flow"},t.prototype.onSurveyLoad=function(){e.prototype.onSurveyLoad.call(this),this.onContentChanged()},Object.defineProperty(t.prototype,"content",{get:function(){return this.getLocalizableStringText("content")},set:function(e){this.setLocalizableStringText("content",e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"locContent",{get:function(){return this.getLocalizableString("content")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"html",{get:function(){return this.getPropertyValue("html","")},set:function(e){this.setPropertyValue("html",e)},enumerable:!1,configurable:!0}),t.prototype.onContentChanged=function(){var e="";e=this.onCustomHtmlProducing?this.onCustomHtmlProducing():this.produceHtml(),this.html=e,this.contentChangedCallback&&this.contentChangedCallback()},t.prototype.produceHtml=function(){for(var e=[],t=/{(.*?(element:)[^$].*?)}/g,n=this.content,o=0,i=null;null!==(i=t.exec(n));){i.index>o&&(e.push(n.substring(o,i.index)),o=i.index);var r=this.getQuestionFromText(i[0]);r?e.push(this.getHtmlForQuestion(r)):e.push(n.substring(o,i.index+i[0].length)),o=i.index+i[0].length}return o<n.length&&e.push(n.substring(o,n.length)),e.join("").replace(new RegExp("<br>","g"),"<br/>")},t.prototype.getQuestionFromText=function(e){return e=(e=e.substring(1,e.length-1)).replace(t.contentElementNamePrefix,"").trim(),this.getQuestionByName(e)},t.prototype.getHtmlForQuestion=function(e){return this.onGetHtmlForQuestion?this.onGetHtmlForQuestion(e):""},t.prototype.getQuestionHtmlId=function(e){return this.name+"_"+e.id},t.prototype.onAddElement=function(t,n){e.prototype.onAddElement.call(this,t,n),this.addElementToContent(t),t.renderWidth=""},t.prototype.onRemoveElement=function(t){var n=this.getElementContentText(t);this.content=this.content.replace(n,""),e.prototype.onRemoveElement.call(this,t)},t.prototype.dragDropMoveElement=function(e,t,n){},t.prototype.addElementToContent=function(e){if(!this.isLoadingFromJson){var t=this.getElementContentText(e);this.insertTextAtCursor(t)||(this.content=this.content+t)}},t.prototype.insertTextAtCursor=function(e,t){if(void 0===t&&(t=null),!this.isDesignMode||!a.isAvailable())return!1;var n=a.getSelection();if(n.getRangeAt&&n.rangeCount){var o=n.getRangeAt(0);o.deleteContents();var i=new Text(e);o.insertNode(i);if(this.getContent){var r=this.getContent(t);this.content=r}return!0}return!1},t.prototype.getElementContentText=function(e){return"{"+t.contentElementNamePrefix+e.name+"}"},t.contentElementNamePrefix="element:",t}(Ii);L.addClass("flowpanel",[{name:"content:html",serializationProperty:"locContent"}],(function(){return new Qr}),"panel");var Ur=function(){function e(){}return e.getIconCss=function(e,t){return(new Ae).append(e.icon).append(e.iconExpanded,!t).toString()},e}(),Wr=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(t,n)};return function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function o(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}}(),$r=function(e){function t(t){return e.call(this,t)||this}return Wr(t,e),t.prototype.getType=function(){return"nonvalue"},Object.defineProperty(t.prototype,"hasInput",{get:function(){return!1},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"hasTitle",{get:function(){return!1},enumerable:!1,configurable:!0}),t.prototype.getTitleLocation=function(){return""},Object.defineProperty(t.prototype,"hasComment",{get:function(){return!1},enumerable:!1,configurable:!0}),t.prototype.hasErrors=function(e,t){return void 0===e&&(e=!0),void 0===t&&(t=null),!1},t.prototype.getAllErrors=function(){return[]},t.prototype.supportGoNextPageAutomatic=function(){return!1},t.prototype.addConditionObjectsByContext=function(e,t){},t.prototype.getConditionJson=function(e,t){return void 0===e&&(e=null),void 0===t&&(t=null),null},Object.defineProperty(t.prototype,"ariaRole",{get:function(){return null},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"ariaRequired",{get:function(){return null},enumerable:!1,configurable:!0}),t}(qn);L.addClass("nonvalue",[{name:"title",visible:!1},{name:"description",visible:!1},{name:"valueName",visible:!1},{name:"enableIf",visible:!1},{name:"defaultValue",visible:!1},{name:"correctAnswer",visible:!1},{name:"clearIfInvisible",visible:!1},{name:"isRequired",visible:!1,isSerializable:!1},{name:"requiredErrorText",visible:!1},{name:"readOnly",visible:!1},{name:"requiredIf",visible:!1},{name:"validators",visible:!1},{name:"titleLocation",visible:!1},{name:"showCommentArea",visible:!1},{name:"useDisplayValuesInDynamicTexts",alternativeName:"useDisplayValuesInTitle",visible:!1}],(function(){return new $r("")}),"question");var Gr=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(t,n)};return function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function o(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}}(),Kr=function(e){function t(t){return e.call(this,t)||this}return Gr(t,e),t.prototype.getType=function(){return"empty"},t}(qn);L.addClass("empty",[],(function(){return new Kr("")}),"question");var Zr=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(t,n)};return function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function o(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}}(),Jr=function(e){function t(t){var n=e.call(this,t)||this;return n.invisibleOldValues={},n.isChangingValueOnClearIncorrect=!1,n.selectAllItemValue=new Nn(""),n.selectAllItemValue.id="selectall",n.selectAllItemText=n.createLocalizableString("selectAllText",n.selectAllItem,!0,"selectAllItemText"),n.selectAllItem.locOwner=n,n.selectAllItem.setLocText(n.selectAllItemText),n.registerPropertyChangedHandlers(["showSelectAllItem","selectAllText"],(function(){n.onVisibleChoicesChanged()})),n}return Zr(t,e),t.prototype.getDefaultItemComponent=function(){return"survey-checkbox-item"},t.prototype.getType=function(){return"checkbox"},t.prototype.onCreating=function(){e.prototype.onCreating.call(this),this.createNewArray("renderedValue"),this.createNewArray("value")},t.prototype.getFirstInputElementId=function(){return this.inputId+"_0"},Object.defineProperty(t.prototype,"valuePropertyName",{get:function(){return this.getPropertyValue("valuePropertyName")},set:function(e){this.setPropertyValue("valuePropertyName",e)},enumerable:!1,configurable:!0}),t.prototype.getQuestionFromArray=function(e,t){if(e&&e===this.valuePropertyName){var n=this.value;if(Array.isArray(n)&&t<n.length)return this}return null},t.prototype.getDependedQuestionsByValueName=function(t){return t&&this.valuePropertyName?[]:e.prototype.getDependedQuestionsByValueName.call(this,t)},Object.defineProperty(t.prototype,"selectAllItem",{get:function(){return this.selectAllItemValue},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"selectAllText",{get:function(){return this.getLocalizableStringText("selectAllText")},set:function(e){this.setLocalizableStringText("selectAllText",e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"locSelectAllText",{get:function(){return this.getLocalizableString("selectAllText")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"showSelectAllItem",{get:function(){return this.getPropertyValue("showSelectAllItem")},set:function(e){this.setPropertyValue("showSelectAllItem",e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"hasSelectAll",{get:function(){return this.showSelectAllItem},set:function(e){this.showSelectAllItem=e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isAllSelected",{get:function(){return this.allElementsSelected()},set:function(e){e?this.selectAll():this.clearValue(!0)},enumerable:!1,configurable:!0}),t.prototype.toggleSelectAll=function(){this.isAllSelected=!this.isAllSelected},t.prototype.allElementsSelected=function(){if(this.isNoneItemsSelected())return!1;var e=this.getVisibleEnableItems();if(0===e.length)return!1;var t=this.value;if(!t||!Array.isArray(t)||0===t.length)return!1;if(t.length<e.length)return!1;for(var n=[],o=0;o<t.length;o++)n.push(this.getRealValue(t[o]));for(o=0;o<e.length;o++)if(n.indexOf(e[o].value)<0)return!1;return!0},t.prototype.isNoneItemsSelected=function(){for(var e=this.getNoneItems(),t=0;t<e.length;t++)if(this.isItemSelected(e[t]))return!0;return!1},t.prototype.selectAll=function(){for(var e=[],t=this.getVisibleEnableItems(),n=0;n<t.length;n++)e.push(t[n].value);this.renderedValue=e},t.prototype.clickItemHandler=function(e,t){if(!this.isReadOnlyAttr){if(e===this.selectAllItem)!0===t||!1===t?this.isAllSelected=t:this.toggleSelectAll();else if(this.isNoneItem(e))this.renderedValue=t?[e.value]:[];else{var n=[].concat(this.renderedValue||[]),o=n.indexOf(e.value);t?o<0&&n.push(e.value):o>-1&&n.splice(o,1),this.renderedValue=n}t&&this.onItemSelected(e)}},t.prototype.isItemSelectedCore=function(e){if(e===this.selectAllItem)return this.isAllSelected;var t=this.renderedValue;if(!t||!Array.isArray(t))return!1;for(var n=0;n<t.length;n++)if(this.isTwoValueEquals(t[n],e.value))return!0;return!1},t.prototype.hasUnknownValueItem=function(t,n,o,i){void 0===n&&(n=!1),void 0===o&&(o=!0),void 0===i&&(i=!1);var r=this.valuePropertyName;return r&&"object"==typeof t&&void 0!==t[r]&&(t=t[r]),e.prototype.hasUnknownValueItem.call(this,t,n,o,i)},t.prototype.convertFuncValuetoQuestionValue=function(t){var n=this;if(this.valuePropertyName&&Array.isArray(t)&&t.length>0){var o=[];t.forEach((function(e){var t="object"==typeof e,i=t?e:{};t||(i[n.valuePropertyName]=e),o.push(i)})),t=o}return e.prototype.convertDefaultValue.call(this,t)},t.prototype.getRealValue=function(e){return e&&this.valuePropertyName?e[this.valuePropertyName]:e},Object.defineProperty(t.prototype,"isValueArray",{get:function(){return!0},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"maxSelectedChoices",{get:function(){return this.getPropertyValue("maxSelectedChoices")},set:function(e){e<0&&(e=0),this.setPropertyValue("maxSelectedChoices",e),this.filterItems()},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"minSelectedChoices",{get:function(){return this.getPropertyValue("minSelectedChoices")},set:function(e){e<0&&(e=0),this.setPropertyValue("minSelectedChoices",e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"selectedChoices",{get:function(){var e=this.renderedValue,t=this.visibleChoices,n=this.selectedItemValues;if(this.isEmpty())return[];var o=this.defaultSelectedItemValues?[].concat(this.defaultSelectedItemValues,t):t,i=e.map((function(e){return Nn.getItemByValue(o,e)})).filter((function(e){return!!e}));return i.length||n||this.updateSelectedItemValues(),this.validateItemValues(i)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"selectedItems",{get:function(){return this.selectedChoices},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"hasFilteredValue",{get:function(){return!!this.valuePropertyName},enumerable:!1,configurable:!0}),t.prototype.getFilteredName=function(){var t=e.prototype.getFilteredName.call(this);return this.hasFilteredValue&&(t+="-unwrapped"),t},t.prototype.getFilteredValue=function(){return this.hasFilteredValue?this.renderedValue:e.prototype.getFilteredValue.call(this)},t.prototype.getMultipleSelectedItems=function(){return this.selectedChoices},t.prototype.validateItemValues=function(e){var t=this;if(e.length)return e;var n=this.selectedItemValues;return n&&n.length?(this.defaultSelectedItemValues=[].concat(n),n):this.renderedValue.map((function(e){return t.createItemValue(e)}))},t.prototype.getAnswerCorrectIgnoreOrder=function(){return!0},t.prototype.onCheckForErrors=function(t,n,o){if(e.prototype.onCheckForErrors.call(this,t,n,o),!n&&this.checkMinSelectedChoicesUnreached()){var i=new yn(this.getLocalizationFormatString("minSelectError",this.minSelectedChoices),this);t.push(i)}},t.prototype.onVisibleChoicesChanged=function(){e.prototype.onVisibleChoicesChanged.call(this),this.updateSelectAllItemProps()},t.prototype.onEnableItemCallBack=function(e){return!this.shouldCheckMaxSelectedChoices()||this.isItemSelected(e)},t.prototype.onAfterRunItemsEnableCondition=function(){this.updateSelectAllItemProps(),this.maxSelectedChoices<1?this.otherItem.setIsEnabled(!0):this.hasOther&&this.otherItem.setIsEnabled(!this.shouldCheckMaxSelectedChoices()||this.isOtherSelected)},t.prototype.updateSelectAllItemProps=function(){this.hasSelectAll&&this.selectAllItem.setIsEnabled(this.getSelectAllEnabled())},t.prototype.getSelectAllEnabled=function(){if(!this.hasSelectAll)return!0;var e=this.getVisibleEnableItems().length,t=this.maxSelectedChoices;return!(t>0&&t<e)&&e>0},t.prototype.getVisibleEnableItems=function(){for(var e=new Array,t=this.visibleChoices,n=0;n<t.length;n++){var o=t[n];o.isEnabled&&!this.isBuiltInChoice(o)&&e.push(o)}return e},t.prototype.shouldCheckMaxSelectedChoices=function(){if(this.maxSelectedChoices<1)return!1;var e=this.value;return(Array.isArray(e)?e.length:0)>=this.maxSelectedChoices},t.prototype.checkMinSelectedChoicesUnreached=function(){if(this.minSelectedChoices<1)return!1;var e=this.value,t=Array.isArray(e)?e.length:0;return(1!==t||!this.isNoneItemsSelected())&&t<this.minSelectedChoices},t.prototype.getItemClassCore=function(t,n){this.value;return n.isSelectAllItem=t===this.selectAllItem,(new Ae).append(e.prototype.getItemClassCore.call(this,t,n)).append(this.cssClasses.itemSelectAll,n.isSelectAllItem).toString()},t.prototype.updateValueFromSurvey=function(t,n){e.prototype.updateValueFromSurvey.call(this,t,n),this.invisibleOldValues={}},t.prototype.setDefaultValue=function(){e.prototype.setDefaultValue.call(this);var t=this.defaultValue;if(Array.isArray(t))for(var n=0;n<t.length;n++){var o=this.getRealValue(t[n]);this.canClearValueAnUnknown(o)&&this.addIntoInvisibleOldValues(o)}},t.prototype.addIntoInvisibleOldValues=function(e){this.invisibleOldValues[e]=e},t.prototype.hasValueToClearIncorrectValues=function(){return e.prototype.hasValueToClearIncorrectValues.call(this)||!u.isValueEmpty(this.invisibleOldValues)},t.prototype.setNewValue=function(t){this.isChangingValueOnClearIncorrect||(this.invisibleOldValues={}),t=this.valueFromData(t);var n=this.value;t||(t=[]),n||(n=[]),this.isTwoValueEquals(n,t)||(this.removeNoneItemsValues(n,t),e.prototype.setNewValue.call(this,t))},t.prototype.getIsMultipleValue=function(){return!0},t.prototype.getCommentFromValue=function(e){var t=this.getFirstUnknownIndex(e);return t<0?"":e[t]},t.prototype.getStoreOthersAsComment=function(){return!this.valuePropertyName&&e.prototype.getStoreOthersAsComment.call(this)},t.prototype.setOtherValueIntoValue=function(e){var t=this.getFirstUnknownIndex(e);if(t<0)return e;var n=this.otherItem.value,o=this.valuePropertyName;if(o){var i={};i[o]=n,n=i}return e.splice(t,1,n),e},t.prototype.getFirstUnknownIndex=function(e){if(!Array.isArray(e))return-1;for(var t=0;t<e.length;t++)if(this.hasUnknownValueItem(e[t],!1,!1))return t;return-1},t.prototype.removeNoneItemsValues=function(e,t){var n=[];if(this.showNoneItem&&n.push(this.noneItem.value),this.showRefuseItem&&n.push(this.refuseItem.value),this.showDontKnowItem&&n.push(this.dontKnowItem.value),n.length>0){var o=this.noneIndexInArray(e,n),i=this.noneIndexInArray(t,n);if(o.index>-1)if(o.val===i.val)t.length>0&&t.splice(i.index,1);else{var r=this.noneIndexInArray(t,[o.val]);r.index>-1&&r.index<t.length-1&&t.splice(r.index,1)}else if(i.index>-1&&t.length>1){var a=this.convertValueToObject([i.val])[0];t.splice(0,t.length,a)}}},t.prototype.noneIndexInArray=function(e,t){if(!Array.isArray(e))return{index:-1,val:void 0};for(var n=e.length-1;n>=0;n--){var o=t.indexOf(this.getRealValue(e[n]));if(o>-1)return{index:n,val:t[o]}}return{index:-1,val:void 0}},t.prototype.canUseFilteredChoices=function(){return!this.hasSelectAll&&e.prototype.canUseFilteredChoices.call(this)},t.prototype.supportSelectAll=function(){return this.isSupportProperty("showSelectAllItem")},t.prototype.addNonChoicesItems=function(t,n){e.prototype.addNonChoicesItems.call(this,t,n),this.supportSelectAll()&&this.addNonChoiceItem(t,this.selectAllItem,n,this.hasSelectAll,tn.specialChoicesOrder.selectAllItem)},t.prototype.isBuiltInChoice=function(t){return t===this.selectAllItem||e.prototype.isBuiltInChoice.call(this,t)},t.prototype.isItemInList=function(t){return t==this.selectAllItem?this.hasSelectAll:e.prototype.isItemInList.call(this,t)},t.prototype.getDisplayValueEmpty=function(){var e=this;return Nn.getTextOrHtmlByValue(this.visibleChoices.filter((function(t){return t!=e.selectAllItemValue})),void 0)},t.prototype.getDisplayValueCore=function(t,n){if(!Array.isArray(n))return e.prototype.getDisplayValueCore.call(this,t,n);var o=this.valuePropertyName;return this.getDisplayArrayValue(t,n,(function(e){var t=n[e];return o&&t[o]&&(t=t[o]),t}))},t.prototype.clearIncorrectValuesCore=function(){this.clearIncorrectAndDisabledValues(!1)},t.prototype.clearDisabledValuesCore=function(){this.clearIncorrectAndDisabledValues(!0)},t.prototype.clearIncorrectAndDisabledValues=function(e){var t=this.value,n=!1,o=this.restoreValuesFromInvisible();if(t||0!=o.length){if(!Array.isArray(t)||0==t.length){if(this.isChangingValueOnClearIncorrect=!0,e||(this.hasComment?this.value=null:this.clearValue(!0)),this.isChangingValueOnClearIncorrect=!1,0==o.length)return;t=[]}for(var i=[],r=0;r<t.length;r++){var a=this.getRealValue(t[r]),s=this.canClearValueAnUnknown(a);!e&&!s||e&&!this.isValueDisabled(a)?i.push(t[r]):(n=!0,s&&this.addIntoInvisibleOldValues(t[r]))}for(r=0;r<o.length;r++)i.push(o[r]),n=!0;n&&(this.isChangingValueOnClearIncorrect=!0,0==i.length?this.clearValue(!0):this.value=i,this.isChangingValueOnClearIncorrect=!1)}},t.prototype.restoreValuesFromInvisible=function(){for(var e=[],t=this.visibleChoices,n=0;n<t.length;n++){var o=t[n];if(o!==this.selectAllItem){var i=t[n].value;u.isTwoValueEquals(i,this.invisibleOldValues[i])&&(this.isItemSelected(o)||e.push(i),delete this.invisibleOldValues[i])}}return e},t.prototype.getConditionJson=function(t,n){void 0===t&&(t=null),void 0===n&&(n=null);var o=e.prototype.getConditionJson.call(this,t,n);return"contains"!=t&&"notcontains"!=t||(o.type="radiogroup"),o.maxSelectedChoices=0,o.minSelectedChoices=0,o},t.prototype.isAnswerCorrect=function(){return u.isArrayContainsEqual(this.value,this.correctAnswer)},t.prototype.setDefaultValueWithOthers=function(){this.value=this.renderedValueFromDataCore(this.defaultValue)},t.prototype.getIsItemValue=function(e,t){return!(!e||!Array.isArray(e))&&e.indexOf(t.value)>=0},t.prototype.valueFromData=function(t){if(!t)return t;if(!Array.isArray(t))return[e.prototype.valueFromData.call(this,t)];for(var n=[],o=0;o<t.length;o++){var i=Nn.getItemByValue(this.visibleChoices,t[o]);i?n.push(i.value):n.push(t[o])}return n},t.prototype.rendredValueFromData=function(t){return t=this.convertValueFromObject(t),e.prototype.rendredValueFromData.call(this,t)},t.prototype.rendredValueToData=function(t){return t=e.prototype.rendredValueToData.call(this,t),this.convertValueToObject(t)},t.prototype.convertValueFromObject=function(e){return this.valuePropertyName?u.convertArrayObjectToValue(e,this.valuePropertyName):e},t.prototype.convertValueToObject=function(e){if(!this.valuePropertyName)return e;var t=void 0;return this.survey&&this.survey.questionsByValueName(this.getValueName()).length>1&&(t=this.data.getValue(this.getValueName())),u.convertArrayValueToObject(e,this.valuePropertyName,t)},t.prototype.renderedValueFromDataCore=function(e){if(e&&Array.isArray(e)||(e=[]),!this.hasActiveChoices)return e;for(var t=0;t<e.length;t++){if(e[t]==this.otherItem.value)return e;if(this.hasUnknownValueItem(e[t],!0,!1)){this.otherValue=e[t];var n=e.slice();return n[t]=this.otherItem.value,n}}return e},t.prototype.rendredValueToDataCore=function(e){if(!e||!e.length)return e;for(var t=0;t<e.length;t++)if(e[t]==this.otherItem.value&&this.needConvertRenderedOtherToDataValue()){var n=e.slice();return n[t]=this.otherValue,n}return e},t.prototype.selectOtherValueFromComment=function(e){var t=[],n=this.renderedValue;if(Array.isArray(n))for(var o=0;o<n.length;o++)n[o]!==this.otherItem.value&&t.push(n[o]);e&&t.push(this.otherItem.value),this.value=t},Object.defineProperty(t.prototype,"checkBoxSvgPath",{get:function(){return"M5,13l2-2l3,3l7-7l2,2l-9,9L5,13z"},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isNewA11yStructure",{get:function(){return!0},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"a11y_input_ariaRole",{get:function(){return"group"},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"a11y_input_ariaRequired",{get:function(){return null},enumerable:!1,configurable:!0}),t}(Ji);L.addClass("checkbox",[{name:"showSelectAllItem:boolean",alternativeName:"hasSelectAll"},{name:"separateSpecialChoices",visible:!0},{name:"maxSelectedChoices:number",default:0,onSettingValue:function(e,t){if(t<=0)return 0;var n=e.minSelectedChoices;return n>0&&t<n?n:t}},{name:"minSelectedChoices:number",default:0,onSettingValue:function(e,t){if(t<=0)return 0;var n=e.maxSelectedChoices;return n>0&&t>n?n:t}},{name:"selectAllText",serializationProperty:"locSelectAllText",dependsOn:"showSelectAllItem",visibleIf:function(e){return e.hasSelectAll}},{name:"valuePropertyName",category:"data"},{name:"itemComponent",visible:!1,default:"survey-checkbox-item"}],(function(){return new Jr("")}),"checkboxbase"),co.Instance.registerQuestion("checkbox",(function(e){var t=new Jr(e);return t.choices=co.DefaultChoices,t}));var Yr=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(t,n)};return function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function o(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}}(),Xr=function(e,t,n,o){var i,r=arguments.length,a=r<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,n):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,o);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(a=(r<3?i(a):r>3?i(t,n,a):i(t,n))||a);return r>3&&a&&Object.defineProperty(t,n,a),a},ea=function(e){function t(t){var n=e.call(this,t)||this;return n.onItemClick=function(e){n.isItemDisabled(e)||(n.isExpanded=!1,n.isItemSelected(e)?(n.selectedItems.splice(n.selectedItems.indexOf(e),1)[0],n.onSelectionChanged&&n.onSelectionChanged(e,"removed")):(n.selectedItems.push(e),n.onSelectionChanged&&n.onSelectionChanged(e,"added")))},n.isItemDisabled=function(e){return void 0!==e.enabled&&!e.enabled},n.isItemSelected=function(e){return!!n.allowSelection&&n.selectedItems.filter((function(t){return n.areSameItems(t,e)})).length>0},n.setSelectedItems(t.selectedItems||[]),n}return Yr(t,e),t.prototype.updateItemState=function(){var e=this;this.actions.forEach((function(t){var n=e.isItemSelected(t);t.visible=!e.hideSelectedItems||!n}))},t.prototype.updateState=function(){var e=this;this.updateItemState(),this.isEmpty=0===this.renderedActions.filter((function(t){return e.isItemVisible(t)})).length},t.prototype.setSelectedItems=function(e){this.selectedItems=e,this.updateState()},t.prototype.selectFocusedItem=function(){e.prototype.selectFocusedItem.call(this),this.hideSelectedItems&&this.focusNextVisibleItem()},Xr([x()],t.prototype,"hideSelectedItems",void 0),t}(ze),ta=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(t,n)};return function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function o(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}}(),na=function(e,t,n,o){var i,r=arguments.length,a=r<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,n):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,o);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(a=(r<3?i(a):r>3?i(t,n,a):i(t,n))||a);return r>3&&a&&Object.defineProperty(t,n,a),a},oa=function(e){function t(t,n){var o=e.call(this,t,n)||this;return o.setHideSelectedItems(t.hideSelectedItems),o.syncFilterStringPlaceholder(),o.closeOnSelect=t.closeOnSelect,o}return ta(t,e),t.prototype.locStrsChanged=function(){e.prototype.locStrsChanged.call(this),this.syncFilterStringPlaceholder()},t.prototype.updateListState=function(){this.listModel.updateState(),this.syncFilterStringPlaceholder()},t.prototype.syncFilterStringPlaceholder=function(){this.getSelectedActions().length||this.question.selectedItems.length||this.listModel.focusedItem?this.filterStringPlaceholder=void 0:this.filterStringPlaceholder=this.question.placeholder},t.prototype.getSelectedActions=function(){return this.listModel.actions.filter((function(e){return e.selected}))},t.prototype.getFocusFirstInputSelector=function(){return this.listModel.hideSelectedItems&&Ho&&!this.isValueEmpty(this.question.value)?this.itemSelector:e.prototype.getFocusFirstInputSelector.call(this)},t.prototype.getPopupCssClasses=function(){return"sv-multi-select-list"},t.prototype.createListModel=function(){var e=this,t=this.getAvailableItems(),n=this.onSelectionChanged;n||(n=function(t,n){e.resetFilterString(),"selectall"===t.id?e.selectAllItems():"added"===n&&t.value===tn.noneItemValue?e.selectNoneItem():"added"===n?e.selectItem(t.value):"removed"===n&&e.deselectItem(t.value),e.popupRecalculatePosition(!1),e.closeOnSelect&&(e.popupModel.isVisible=!1)});var o={items:t,onSelectionChanged:n,allowSelection:!1,locOwner:this.question,elementId:this.listElementId},i=new ea(o);return this.setOnTextSearchCallbackForListModel(i),i.forceShowFilter=!0,i},t.prototype.resetFilterString=function(){e.prototype.resetFilterString.call(this),this.inputString=null,this.hintString=""},Object.defineProperty(t.prototype,"shouldResetAfterCancel",{get:function(){return Ho&&!this.closeOnSelect},enumerable:!1,configurable:!0}),t.prototype.createPopup=function(){var t=this;e.prototype.createPopup.call(this),this.popupModel.onFooterActionsCreated.add((function(e,n){t.shouldResetAfterCancel&&n.actions.push({id:"sv-dropdown-done-button",title:t.doneButtonCaption,innerCss:"sv-popup__button--done",needSpace:!0,action:function(){t.popupModel.isVisible=!1},enabled:new Ve((function(){return!t.isTwoValueEquals(t.question.renderedValue,t.previousValue)}))})})),this.popupModel.onVisibilityChanged.add((function(e,n){t.shouldResetAfterCancel&&n.isVisible&&(t.previousValue=[].concat(t.question.renderedValue||[]))})),this.popupModel.onCancel=function(){t.shouldResetAfterCancel&&(t.question.renderedValue=t.previousValue,t.updateListState())}},t.prototype.selectAllItems=function(){this.question.toggleSelectAll(),this.question.isAllSelected&&this.question.hideSelectedItems&&this.popupModel.hide(),this.updateListState()},t.prototype.selectNoneItem=function(){this.question.renderedValue=[tn.noneItemValue],this.updateListState()},t.prototype.selectItem=function(e){var t=[].concat(this.question.renderedValue||[]);t.push(e),this.question.renderedValue=t,this.updateListState()},t.prototype.deselectItem=function(e){var t=[].concat(this.question.renderedValue||[]);t.splice(t.indexOf(e),1),this.question.renderedValue=t,this.applyHintString(),this.updateListState()},t.prototype.clear=function(){e.prototype.clear.call(this),this.syncFilterStringPlaceholder()},t.prototype.onClear=function(t){e.prototype.onClear.call(this,t),this.updateListState()},t.prototype.setHideSelectedItems=function(e){this.listModel.hideSelectedItems=e,this.updateListState()},t.prototype.removeLastSelectedItem=function(){this.deselectItem(this.question.renderedValue[this.question.renderedValue.length-1]),this.popupRecalculatePosition(!1)},t.prototype.inputKeyHandler=function(e){8!==e.keyCode||this.filterString||(this.removeLastSelectedItem(),e.preventDefault(),e.stopPropagation())},t.prototype.setInputStringFromSelectedItem=function(e){this.question.searchEnabled&&(this.inputString=null)},t.prototype.focusItemOnClickAndPopup=function(){},t.prototype.onEscape=function(){},t.prototype.beforeScrollToFocusedItem=function(e){},t.prototype.afterScrollToFocusedItem=function(){var e;(null===(e=this.listModel.focusedItem)||void 0===e?void 0:e.selected)?this.hintString="":this.applyHintString(),this.syncFilterStringPlaceholder()},t.prototype.onPropertyChangedHandler=function(t,n){e.prototype.onPropertyChangedHandler.call(this,t,n),"value"!==n.name&&"renderedValue"!==n.name&&"placeholder"!==n.name||this.syncFilterStringPlaceholder()},na([x({defaultValue:""})],t.prototype,"filterStringPlaceholder",void 0),na([x({defaultValue:!0})],t.prototype,"closeOnSelect",void 0),na([x()],t.prototype,"previousValue",void 0),na([x({localizable:{defaultStr:"tagboxDoneButtonCaption"}})],t.prototype,"doneButtonCaption",void 0),t}(pr),ia=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(t,n)};return function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function o(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}}(),ra=function(e,t,n,o){var i,r=arguments.length,a=r<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,n):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,o);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(a=(r<3?i(a):r>3?i(t,n,a):i(t,n))||a);return r>3&&a&&Object.defineProperty(t,n,a),a},aa=function(e){function t(t){var n=e.call(this,t)||this;return n.itemDisplayNameMap={},n.onOpened=n.addEvent(),n.ariaExpanded="false",n.createLocalizableString("placeholder",n,!1,!0),n.createLocalizableString("clearCaption",n,!1,!0),n.createLocalizableString("readOnlyText",n,!0),n.deselectAllItemText=n.createLocalizableString("deselectAllText",n.selectAllItem,!0,"deselectAllItemText"),n.registerPropertyChangedHandlers(["value","renderAs","showOtherItem","otherText","placeholder","choices","visibleChoices"],(function(){n.updateReadOnlyText()})),n.updateReadOnlyText(),n}return ia(t,e),t.prototype.locStrsChanged=function(){var t;e.prototype.locStrsChanged.call(this),this.updateReadOnlyText(),null===(t=this.dropdownListModelValue)||void 0===t||t.locStrsChanged()},t.prototype.updateReadOnlyText=function(){this.readOnlyText=this.displayValue||this.placeholder},t.prototype.getDefaultItemComponent=function(){return""},Object.defineProperty(t.prototype,"dropdownListModel",{get:function(){return this.isDisposed||this.dropdownListModelValue||(this.dropdownListModelValue=new oa(this)),this.dropdownListModelValue},set:function(e){this.dropdownListModelValue=e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"placeholder",{get:function(){return this.getLocalizableStringText("placeholder")},set:function(e){this.setLocalizableStringText("placeholder",e),this.dropdownListModelValue&&this.dropdownListModel.setInputPlaceholder(e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"locPlaceholder",{get:function(){return this.getLocalizableString("placeholder")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"clearCaption",{get:function(){return this.getLocalizableStringText("clearCaption")},set:function(e){this.setLocalizableStringText("clearCaption",e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"locClearCaption",{get:function(){return this.getLocalizableString("clearCaption")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"readOnlyText",{get:function(){return this.getLocalizableStringText("readOnlyText")},set:function(e){this.setLocalizableStringText("readOnlyText",e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"locReadOnlyText",{get:function(){return this.getLocalizableString("readOnlyText")},enumerable:!1,configurable:!0}),t.prototype.getType=function(){return"tagbox"},Object.defineProperty(t.prototype,"ariaRole",{get:function(){return"combobox"},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"popupModel",{get:function(){return this.dropdownListModel.popupModel},enumerable:!1,configurable:!0}),t.prototype.getControlClass=function(){return(new Ae).append(this.cssClasses.control).append(this.cssClasses.controlEmpty,this.isEmpty()).append(this.cssClasses.onError,this.hasCssError()).append(this.cssClasses.controlEditable,!this.isDisabledStyle&&!this.isReadOnlyStyle&&!this.isPreviewStyle).append(this.cssClasses.controlDisabled,this.isDisabledStyle).append(this.cssClasses.controlReadOnly,this.isReadOnlyStyle).append(this.cssClasses.controlPreview,this.isPreviewStyle).toString()},t.prototype.updateCssClasses=function(t,n){e.prototype.updateCssClasses.call(this,t,n),Kt(t,n)},t.prototype.calcCssClasses=function(t){var n=e.prototype.calcCssClasses.call(this,t);return this.dropdownListModelValue&&this.dropdownListModel.updateCssClasses(n.popup,n.list),n},t.prototype.onOpenedCallBack=function(){this.onOpened.fire(this,{question:this,choices:this.choices})},t.prototype.hasUnknownValue=function(t,n,o,i){return void 0===n&&(n=!1),void 0===o&&(o=!0),void 0===i&&(i=!1),!this.choicesLazyLoadEnabled&&e.prototype.hasUnknownValue.call(this,t,n,o,i)},t.prototype.needConvertRenderedOtherToDataValue=function(){var t,n=null===(t=this.otherValue)||void 0===t?void 0:t.trim();return!!n&&e.prototype.hasUnknownValue.call(this,n,!0,!1)},t.prototype.onVisibleChoicesChanged=function(){e.prototype.onVisibleChoicesChanged.call(this),this.dropdownListModelValue&&this.dropdownListModel.updateItems()},t.prototype.getItemIfChoicesNotContainThisValue=function(t,n){return this.choicesLazyLoadEnabled?this.createItemValue(t,n):e.prototype.getItemIfChoicesNotContainThisValue.call(this,t,n)},t.prototype.validateItemValues=function(e){var t=this;this.updateItemDisplayNameMap();var n=this.renderedValue;if(e.length&&e.length===n.length)return e;var o=this.selectedItemValues;if(!e.length&&o&&o.length)return this.defaultSelectedItemValues=[].concat(o),o;var i=e.map((function(e){return e.value}));return n.filter((function(e){return-1===i.indexOf(e)})).forEach((function(n){var o=t.getItemIfChoicesNotContainThisValue(n,t.itemDisplayNameMap[n]);o&&e.push(o)})),e.sort((function(e,t){return n.indexOf(e.value)-n.indexOf(t.value)})),e},t.prototype.updateItemDisplayNameMap=function(){var e=this,t=function(t){e.itemDisplayNameMap[t.value]=t.text};(this.defaultSelectedItemValues||[]).forEach(t),(this.selectedItemValues||[]).forEach(t),this.visibleChoices.forEach(t)},t.prototype.getFirstInputElementId=function(){return this.inputId+(this.searchEnabled?"_0":"")},t.prototype.getInputId=function(){return this.inputId+"_0"},t.prototype.supportEmptyValidation=function(){return!0},t.prototype.onBlurCore=function(t){this.dropdownListModel.onBlur(t),e.prototype.onBlurCore.call(this,t)},t.prototype.onFocusCore=function(t){this.dropdownListModel.onFocus(t),e.prototype.onFocusCore.call(this,t)},t.prototype.allElementsSelected=function(){var t=e.prototype.allElementsSelected.call(this);return this.updateSelectAllItemText(t),t},t.prototype.updateSelectAllItemText=function(e){this.selectAllItem.setLocText(e?this.deselectAllItemText:this.selectAllItemText)},t.prototype.dispose=function(){e.prototype.dispose.call(this),this.dropdownListModelValue&&(this.dropdownListModelValue.dispose(),this.dropdownListModelValue=void 0)},t.prototype.clearValue=function(t){var n;e.prototype.clearValue.call(this,t),null===(n=this.dropdownListModelValue)||void 0===n||n.clear()},Object.defineProperty(t.prototype,"showClearButton",{get:function(){return this.allowClear&&!this.isEmpty()&&(!this.isDesignMode||tn.supportCreatorV2)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isNewA11yStructure",{get:function(){return!1},enumerable:!1,configurable:!0}),ra([x()],t.prototype,"searchMode",void 0),ra([x()],t.prototype,"allowClear",void 0),ra([x({onSet:function(e,t){t.dropdownListModelValue&&t.dropdownListModel.setSearchEnabled(e)}})],t.prototype,"searchEnabled",void 0),ra([x({onSet:function(e,t){t.dropdownListModelValue&&t.dropdownListModel.setHideSelectedItems(e)}})],t.prototype,"hideSelectedItems",void 0),ra([x({onSet:function(e,t){t.dropdownListModelValue&&t.dropdownListModel.setChoicesLazyLoadEnabled(e)}})],t.prototype,"choicesLazyLoadEnabled",void 0),ra([x()],t.prototype,"choicesLazyLoadPageSize",void 0),ra([x({getDefaultValue:function(){return tn.tagboxCloseOnSelect}})],t.prototype,"closeOnSelect",void 0),ra([x()],t.prototype,"textWrapEnabled",void 0),t}(Jr);L.addClass("tagbox",[{name:"placeholder",serializationProperty:"locPlaceholder"},{name:"allowClear:boolean",default:!0},{name:"searchEnabled:boolean",default:!0},{name:"textWrapEnabled:boolean",default:!0},{name:"choicesLazyLoadEnabled:boolean",default:!1,visible:!1},{name:"choicesLazyLoadPageSize:number",default:25,visible:!1},{name:"hideSelectedItems:boolean",default:!1},{name:"closeOnSelect:boolean"},{name:"itemComponent",visible:!1,default:""},{name:"searchMode",default:"contains",choices:["contains","startsWith"]}],(function(){return new aa("")}),"checkbox"),co.Instance.registerQuestion("tagbox",(function(e){var t=new aa(e);return t.choices=co.DefaultChoices,t}));var sa=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(t,n)};return function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function o(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}}(),la=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.doDragOver=function(){"imagepicker"!==t.parentElement.getType()&&(t.domAdapter.draggedElementShortcut.querySelector(".svc-item-value-controls__button").style.cursor="grabbing")},t.doBanDropHere=function(){"imagepicker"!==t.parentElement.getType()&&(t.domAdapter.draggedElementShortcut.querySelector(".svc-item-value-controls__button").style.cursor="not-allowed")},t}return sa(t,e),Object.defineProperty(t.prototype,"draggedElementType",{get:function(){return"item-value"},enumerable:!1,configurable:!0}),t.prototype.createDraggedElementShortcut=function(e,t,n){if("imagepicker"===this.parentElement.getType())return this.createImagePickerShortcut(this.draggedElement,e,t,n);var o=s.createElement("div");if(o){o.className="sv-drag-drop-choices-shortcut";var i=t.closest("[data-sv-drop-target-item-value]").cloneNode(!0);i.classList.add("sv-drag-drop-choices-shortcut__content"),i.querySelector(".svc-item-value-controls__drag-icon").style.visibility="visible",i.querySelector(".svc-item-value-controls__remove").style.backgroundColor="transparent",i.classList.remove("svc-item-value--moveup"),i.classList.remove("svc-item-value--movedown"),this.draggedElement.isDragDropMoveDown=!1,this.draggedElement.isDragDropMoveUp=!1,o.appendChild(i);var r=t.getBoundingClientRect();return o.shortcutXOffset=n.clientX-r.x,o.shortcutYOffset=n.clientY-r.y,this.isBottom=null,"function"==typeof this.onShortcutCreated&&this.onShortcutCreated(o),o}},t.prototype.createImagePickerShortcut=function(e,t,n,o){var i=s.createElement("div");if(i){i.style.cssText=" \n cursor: grabbing;\n position: absolute;\n z-index: 10000;\n box-shadow: var(--sjs-shadow-large, 0px 8px 16px 0px rgba(0, 0, 0, 0.1)), var(--sjs-shadow-medium, 0px 2px 6px 0px rgba(0, 0, 0, 0.1));\n background-color: var(--sjs-general-backcolor, var(--background, #fff));\n padding: calc(0.5 * var(--sjs-base-unit, var(--base-unit, 8px)));\n border-radius: calc(0.5 * var(--sjs-base-unit, var(--base-unit, 8px)));\n ";var r=n.closest("[data-sv-drop-target-item-value]");this.imagepickerControlsNode=r.querySelector(".svc-image-item-value-controls");var a=r.querySelector(".sd-imagepicker__image-container"),l=r.querySelector(e.imageLink?"img":".sd-imagepicker__no-image").cloneNode(!0);return this.imagepickerControlsNode&&(this.imagepickerControlsNode.style.display="none"),a.style.width=l.width+"px",a.style.height=l.height+"px",l.style.objectFit="cover",l.style.borderRadius="4px",i.appendChild(l),i}},t.prototype.getDropTargetByDataAttributeValue=function(e){return this.parentElement.choices.filter((function(t){return""+t.value==e}))[0]},t.prototype.getChoices=function(){var e=this.parentElement;return"ranking"===e.getType()?e.selectToRankEnabled?e.unRankingChoices:e.rankingChoices:e.visibleChoices},t.prototype.isDropTargetValid=function(e,t){var n=this.getChoices();if("imagepicker"!==this.parentElement.getType()){var o=n.indexOf(this.dropTarget),i=n.indexOf(this.draggedElement);if(i>o&&this.dropTarget.isDragDropMoveUp)return this.dropTarget.isDragDropMoveUp=!1,!1;if(i<o&&this.dropTarget.isDragDropMoveDown)return this.dropTarget.isDragDropMoveDown=!1,!1}return-1!==n.indexOf(e)},t.prototype.isDropTargetDoesntChanged=function(e){return this.dropTarget===this.prevDropTarget&&e===this.isBottom},t.prototype.calculateIsBottom=function(e,t){var n=t.getBoundingClientRect();return e>=n.y+n.height/2},t.prototype.afterDragOver=function(t){var n=this.getChoices(),o=n.indexOf(this.dropTarget),i=n.indexOf(this.draggedElement);if(i<o&&!0===this.isBottom)n.splice(i,1),n.splice(o,0,this.draggedElement);else{if(!(i>o&&!1===this.isBottom))return;n.splice(o,1),n.splice(i,0,this.dropTarget)}"imagepicker"!==this.parentElement.getType()&&(i!==o&&(t.classList.remove("svc-item-value--moveup"),t.classList.remove("svc-item-value--movedown"),this.dropTarget.isDragDropMoveDown=!1,this.dropTarget.isDragDropMoveUp=!1),i>o&&(this.dropTarget.isDragDropMoveDown=!0),i<o&&(this.dropTarget.isDragDropMoveUp=!0),e.prototype.ghostPositionChanged.call(this))},t.prototype.doDrop=function(){var e=this.parentElement.choices,t=this.getChoices().filter((function(t){return-1!==e.indexOf(t)})),n=e.indexOf(this.draggedElement),o=t.indexOf(this.draggedElement);return e.splice(n,1),e.splice(o,0,this.draggedElement),this.parentElement},t.prototype.clear=function(){this.parentElement&&this.updateVisibleChoices(this.parentElement),this.imagepickerControlsNode&&(this.imagepickerControlsNode.style.display="flex",this.imagepickerControlsNode=null),e.prototype.clear.call(this)},t.prototype.updateVisibleChoices=function(e){"ranking"===e.getType()?e.updateRankingChoices():e.updateVisibleChoices()},t}($o),ua=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(t,n)};return function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function o(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}}(),ca=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.isDragOverRootNode=!1,t.doDragOver=function(){t.domAdapter.draggedElementShortcut.querySelector(".sv-ranking-item").style.cursor="grabbing"},t.reorderRankedItem=function(e,n,o){if(n!=o){var i=e.rankingChoices,r=i[n];e.isValueSetByUser=!0,i.splice(n,1),i.splice(o,0,r),t.updateDraggedElementShortcut(o+1)}},t.doBanDropHere=function(){t.isDragOverRootNode?t.allowDropHere=!0:(t.domAdapter.draggedElementShortcut.querySelector(".sv-ranking-item").style.cursor="not-allowed",Ho&&t.parentElement.updateRankingChoices(!0))},t}return ua(t,e),Object.defineProperty(t.prototype,"draggedElementType",{get:function(){return"ranking-item"},enumerable:!1,configurable:!0}),t.prototype.createDraggedElementShortcut=function(e,t,n){var o=s.createElement("div");if(o){o.className=this.shortcutClass+" sv-ranking-shortcut";var i=t.cloneNode(!0);o.appendChild(i);var r=t.getBoundingClientRect();o.style.left=r.x,o.style.top=r.y,this.domAdapter.rootElement.append(o);var a=o.offsetHeight,l=n.clientY;return l>r.y+a&&(l=r.y+a-10),o.shortcutXOffset=n.clientX-r.x,o.shortcutYOffset=l-r.y,this.parentElement&&this.parentElement.useFullItemSizeForShortcut&&(o.style.width=t.offsetWidth+"px",o.style.height=t.offsetHeight+"px"),o}},Object.defineProperty(t.prototype,"shortcutClass",{get:function(){return(new Ae).append(this.parentElement.cssClasses.root).append(this.parentElement.cssClasses.rootMobileMod,Fo).toString()},enumerable:!1,configurable:!0}),t.prototype.getDropTargetByDataAttributeValue=function(e){return this.parentElement.rankingChoices[e]},t.prototype.findDropTargetNodeByDragOverNode=function(t){return this.isDragOverRootNode=this.getIsDragOverRootNode(t),e.prototype.findDropTargetNodeByDragOverNode.call(this,t)},t.prototype.getIsDragOverRootNode=function(e){return"string"==typeof e.className&&-1!==e.className.indexOf("sv-ranking")},t.prototype.isDropTargetValid=function(e,t){return-1!==this.parentElement.rankingChoices.indexOf(e)},t.prototype.calculateIsBottom=function(t,n){return this.dropTarget instanceof Nn&&this.draggedElement!==this.dropTarget&&e.prototype.calculateIsBottom.call(this,t,n)},t.prototype.getIndices=function(e,t,n){var o=t.indexOf(this.draggedElement),i=n.indexOf(this.dropTarget);(o<0&&this.draggedElement&&(this.draggedElement=Nn.getItemByValue(t,this.draggedElement.value)||this.draggedElement,o=t.indexOf(this.draggedElement)),-1===i)?i=e.value.length:t==n?(!this.isBottom&&o<i&&i--,this.isBottom&&o>i&&i++):t!=n&&this.isBottom&&i++;return{fromIndex:o,toIndex:i}},t.prototype.afterDragOver=function(e){var t=this.getIndices(this.parentElement,this.parentElement.rankingChoices,this.parentElement.rankingChoices),n=t.fromIndex,o=t.toIndex;this.reorderRankedItem(this.parentElement,n,o)},t.prototype.updateDraggedElementShortcut=function(e){var t;if(null===(t=this.domAdapter)||void 0===t?void 0:t.draggedElementShortcut){var n=null!==e?e+"":"";this.domAdapter.draggedElementShortcut.querySelector(".sv-ranking-item__index").innerText=n}},t.prototype.ghostPositionChanged=function(){this.parentElement.currentDropTarget=this.draggedElement,e.prototype.ghostPositionChanged.call(this)},t.prototype.doDrop=function(){return this.parentElement.setValue(),this.parentElement},t.prototype.clear=function(){this.parentElement&&(this.parentElement.dropTargetNodeMove=null,this.parentElement.updateRankingChoices(!0)),e.prototype.clear.call(this)},t}(la),pa=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(t,n)};return function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function o(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}}(),da=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.selectToRank=function(e,n,o){var i=[].concat(e.rankingChoices),r=e.unRankingChoices[n];i.splice(o,0,r),t.updateChoices(e,i)},t.unselectFromRank=function(e,n,o){var i=[].concat(e.rankingChoices);i.splice(n,1),t.updateChoices(e,i)},t}return pa(t,e),t.prototype.findDropTargetNodeByDragOverNode=function(t){if("from-container"===t.dataset.ranking||"to-container"===t.dataset.ranking)return t;var n=t.closest("[data-ranking='to-container']"),o=t.closest("[data-ranking='from-container']");return 0===this.parentElement.unRankingChoices.length&&o?o:0===this.parentElement.rankingChoices.length&&n?n:e.prototype.findDropTargetNodeByDragOverNode.call(this,t)},t.prototype.getDropTargetByDataAttributeValue=function(e){return this.parentElement.rankingChoices[e]||this.parentElement.unRankingChoices[e]},t.prototype.getDropTargetByNode=function(t,n){return"to-container"===t.dataset.ranking?"to-container":"from-container"===t.dataset.ranking||t.closest("[data-ranking='from-container']")?"from-container":e.prototype.getDropTargetByNode.call(this,t,n)},t.prototype.isDropTargetValid=function(t,n){return"to-container"===t||"from-container"===t||e.prototype.isDropTargetValid.call(this,t,n)},t.prototype.afterDragOver=function(e){var t=this.parentElement,n=t.rankingChoices,o=t.unRankingChoices;this.isDraggedElementUnranked&&this.isDropTargetRanked?this.doRankBetween(e,o,n,this.selectToRank):this.isDraggedElementRanked&&this.isDropTargetRanked?this.doRankBetween(e,n,n,this.reorderRankedItem):!this.isDraggedElementRanked||this.isDropTargetRanked||this.doRankBetween(e,n,o,this.unselectFromRank)},t.prototype.doRankBetween=function(e,t,n,o){var i=this.parentElement,r=this.getIndices(i,t,n);o(i,r.fromIndex,r.toIndex,e)},Object.defineProperty(t.prototype,"isDraggedElementRanked",{get:function(){return-1!==this.parentElement.rankingChoices.indexOf(this.draggedElement)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isDropTargetRanked",{get:function(){return"to-container"===this.dropTarget||-1!==this.parentElement.rankingChoices.indexOf(this.dropTarget)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isDraggedElementUnranked",{get:function(){return!this.isDraggedElementRanked},enumerable:!1,configurable:!0}),t.prototype.updateChoices=function(e,t){e.isValueSetByUser=!0,e.rankingChoices=t,e.updateUnRankingChoices(t)},t}(ca),ha=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(t,n)};return function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function o(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}}(),ma=function(e,t,n,o){var i,r=arguments.length,a=r<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,n):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,o);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(a=(r<3?i(a):r>3?i(t,n,a):i(t,n))||a);return r>3&&a&&Object.defineProperty(t,n,a),a},ga=function(e){function t(t){var n=e.call(this,t)||this;return n.domNode=null,n.onVisibleChoicesChanged=function(){if(e.prototype.onVisibleChoicesChanged.call(n),!n.carryForwardStartUnranked||n.isValueSetByUser||n.selectToRankEnabled||n.defaultValue||(n.value=[]),1===n.visibleChoices.length&&!n.selectToRankEnabled)return n.value=[],n.value.push(n.visibleChoices[0].value),void n.updateRankingChoices();n.isEmpty()||n.selectToRankEnabled||(n.
vendor: 8,882 bytes, line 11
11visibleChoices.length>n.value.length&&n.addToValueByVisibleChoices(),n.visibleChoices.length<n.value.length&&n.removeFromValueByVisibleChoices()),n.updateRankingChoices()},n.localeChanged=function(){e.prototype.localeChanged.call(n),n.updateRankingChoicesSync()},n._rankingChoicesAnimation=new dt(n.getChoicesAnimationOptions(!0),(function(e){n._renderedRankingChoices=e}),(function(){return n.renderedRankingChoices})),n._unRankingChoicesAnimation=new dt(n.getChoicesAnimationOptions(!1),(function(e){n._renderedUnRankingChoices=e}),(function(){return n.renderedUnRankingChoices})),n.rankingChoices=[],n.unRankingChoices=[],n._renderedRankingChoices=[],n._renderedUnRankingChoices=[],n.handlePointerDown=function(e,t,o){var i=e.target;n.isDragStartNodeValid(i)&&n.isAllowStartDrag(i,t)&&(n.draggedChoiceValue=t.value,n.draggedTargetNode=o,n.dragOrClickHelper.onPointerDown(e))},n.startDrag=function(e){var t=Nn.getItemByValue(n.visibleChoices,n.draggedChoiceValue);n.dragDropRankingChoices.startDrag(e,t,n,n.draggedTargetNode)},n.handlePointerUp=function(e,t,o){if(n.selectToRankEnabled){var i=e.target;n.isAllowStartDrag(i,t)&&n.handleKeydownSelectToRank(e,t," ",!1)}},n.handleKeydown=function(e,t){if(!n.isReadOnlyAttr&&!n.isDesignMode){var o=e.key,i=n.rankingChoices.indexOf(t);if(n.selectToRankEnabled)return void n.handleKeydownSelectToRank(e,t);if("ArrowUp"===o&&i||"ArrowDown"===o&&i!==n.rankingChoices.length-1){var r="ArrowUp"==o?i-1:i+1;n.dragDropRankingChoices.reorderRankedItem(n,i,r),n.setValueAfterKeydown(r,"",!0,e)}}},n.focusItem=function(e,t){if(n.domNode)if(n.selectToRankEnabled&&t){var o="[data-ranking='"+t+"']";n.domNode.querySelectorAll(o+" ."+n.cssClasses.item)[e].focus()}else{n.domNode.querySelectorAll("."+n.cssClasses.item)[e].focus()}},n.isValueSetByUser=!1,n.setValue=function(){var e=[];n.rankingChoices.forEach((function(t){e.push(t.value)})),n.value=e,n.isValueSetByUser=!0},n.registerFunctionOnPropertyValueChanged("selectToRankEnabled",(function(){n.clearValue(!0),n.setDragDropRankingChoices(),n.updateRankingChoicesSync()})),n.dragOrClickHelper=new Zo(n.startDrag),n}return ha(t,e),t.prototype.getType=function(){return"ranking"},t.prototype.getItemTabIndex=function(e){if(!this.isDesignMode&&!e.disabled)return 0},t.prototype.supportContainerQueries=function(){return this.selectToRankEnabled},Object.defineProperty(t.prototype,"rootClass",{get:function(){return(new Ae).append(this.cssClasses.root).append(this.cssClasses.rootMobileMod,this.isMobileMode()).append(this.cssClasses.rootDisabled,this.isDisabledStyle).append(this.cssClasses.rootReadOnly,this.isReadOnlyStyle).append(this.cssClasses.rootPreview,this.isPreviewStyle).append(this.cssClasses.rootDesignMode,!!this.isDesignMode).append(this.cssClasses.itemOnError,this.hasCssError()).append(this.cssClasses.rootDragHandleAreaIcon,"icon"===tn.rankingDragHandleArea).append(this.cssClasses.rootSelectToRankMod,this.selectToRankEnabled).append(this.cssClasses.rootSelectToRankEmptyValueMod,this.isEmpty()).append(this.cssClasses.rootSelectToRankAlignHorizontal,this.selectToRankEnabled&&"horizontal"===this.renderedSelectToRankAreasLayout).append(this.cssClasses.rootSelectToRankAlignVertical,this.selectToRankEnabled&&"vertical"===this.renderedSelectToRankAreasLayout).append(this.cssClasses.rootSelectToRankSwapAreas,this.selectToRankEnabled&&"horizontal"===this.renderedSelectToRankAreasLayout&&this.selectToRankSwapAreas).toString()},enumerable:!1,configurable:!0}),t.prototype.isItemSelectedCore=function(t){return!this.selectToRankEnabled||e.prototype.isItemSelectedCore.call(this,t)},t.prototype.getItemClassCore=function(t,n){return(new Ae).append(e.prototype.getItemClassCore.call(this,t,n)).append(this.cssClasses.itemGhostMod,this.currentDropTarget===t).toString()},t.prototype.getContainerClasses=function(e){var t=!1,n="to"===e,o="from"===e;return n?t=0===this.renderedRankingChoices.length:o&&(t=0===this.renderedUnRankingChoices.length),(new Ae).append(this.cssClasses.container).append(this.cssClasses.containerToMode,n).append(this.cssClasses.containerFromMode,o).append(this.cssClasses.containerEmptyMode,t).toString()},t.prototype.isItemCurrentDropTarget=function(e){return this.dragDropRankingChoices.dropTarget===e},Object.defineProperty(t.prototype,"ghostPositionCssClass",{get:function(){return"top"===this.ghostPosition?this.cssClasses.dragDropGhostPositionTop:"bottom"===this.ghostPosition?this.cssClasses.dragDropGhostPositionBottom:""},enumerable:!1,configurable:!0}),t.prototype.getItemIndexClasses=function(e){var t;return t=this.selectToRankEnabled?-1!==this.unRankingChoices.indexOf(e):this.isEmpty(),(new Ae).append(this.cssClasses.itemIndex).append(this.cssClasses.itemIndexEmptyMode,t).toString()},t.prototype.getNumberByIndex=function(e){return this.isEmpty()?"":e+1+""},t.prototype.updateRankingChoicesSync=function(){this.blockAnimations(),this.updateRankingChoices(),this.releaseAnimations()},t.prototype.setSurveyImpl=function(t,n){e.prototype.setSurveyImpl.call(this,t,n),this.setDragDropRankingChoices(),this.updateRankingChoicesSync()},t.prototype.isAnswerCorrect=function(){return u.isArraysEqual(this.value,this.correctAnswer,!1)},Object.defineProperty(t.prototype,"requireStrictCompare",{get:function(){return!0},enumerable:!1,configurable:!0}),t.prototype.onSurveyValueChanged=function(t){e.prototype.onSurveyValueChanged.call(this,t),this.isLoadingFromJson||this.updateRankingChoices()},t.prototype.onSurveyLoad=function(){this.blockAnimations(),e.prototype.onSurveyLoad.call(this),this.updateRankingChoices(),this.releaseAnimations()},t.prototype.updateValueFromSurvey=function(t,n){e.prototype.updateValueFromSurvey.call(this,t,n),t&&(this.isValueSetByUser=!0)},t.prototype.addToValueByVisibleChoices=function(){var e=this.value.slice();this.visibleChoices.forEach((function(t){-1===e.indexOf(t.value)&&e.push(t.value)})),this.value=e},t.prototype.removeFromValueByVisibleChoices=function(){for(var e=this.value.slice(),t=this.visibleChoices,n=this.value.length-1;n>=0;n--)Nn.getItemByValue(t,this.value[n])||e.splice(n,1);this.value=e},t.prototype.getChoicesAnimationOptions=function(e){var t=this;return{getKey:function(e){return e.value},getRerenderEvent:function(){return t.onElementRerendered},isAnimationEnabled:function(){return t.animationAllowed&&!t.isDesignMode&&t.isVisible&&!!t.domNode},getReorderOptions:function(e,n){var o="";return e!==t.currentDropTarget&&(o=n?"sv-dragdrop-movedown":"sv-dragdrop-moveup"),{cssClass:o}},getLeaveOptions:function(n){var o=e?t.renderedRankingChoices:t.renderedUnRankingChoices;return"vertical"==t.renderedSelectToRankAreasLayout&&1==o.length&&o.indexOf(n)>=0?{cssClass:"sv-ranking-item--animate-item-removing-empty"}:{cssClass:"sv-ranking-item--animate-item-removing",onBeforeRunAnimation:function(e){e.style.setProperty("--animation-height",e.offsetHeight+"px")}}},getEnterOptions:function(n){var o=e?t.renderedRankingChoices:t.renderedUnRankingChoices;return"vertical"==t.renderedSelectToRankAreasLayout&&1==o.length&&o.indexOf(n)>=0?{cssClass:"sv-ranking-item--animate-item-adding-empty"}:{cssClass:"sv-ranking-item--animate-item-adding",onBeforeRunAnimation:function(e){e.style.setProperty("--animation-height",e.offsetHeight+"px")}}},getAnimatedElement:function(n){var o,i=t.cssClasses,r="";t.selectToRankEnabled&&(!e&&i.containerFromMode?r=Qt(i.containerFromMode):e&&i.containerToMode&&(r=Qt(i.containerToMode)));var a=e?t.renderedRankingChoices.indexOf(n):t.renderedUnRankingChoices.indexOf(n);return null===(o=t.domNode)||void 0===o?void 0:o.querySelector(r+" [data-sv-drop-target-ranking-item='"+a+"']")},allowSyncRemovalAddition:!0}},Object.defineProperty(t.prototype,"rankingChoicesAnimation",{get:function(){return this._rankingChoicesAnimation},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"unRankingChoicesAnimation",{get:function(){return this._unRankingChoicesAnimation},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"renderedRankingChoices",{get:function(){return this._renderedRankingChoices},set:function(e){this.rankingChoicesAnimation.sync(e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"renderedUnRankingChoices",{get:function(){return this._renderedUnRankingChoices},set:function(e){this.unRankingChoicesAnimation.sync(e)},enumerable:!1,configurable:!0}),t.prototype.updateRenderedRankingChoices=function(){this.renderedRankingChoices=this.rankingChoices},t.prototype.updateRenderedUnRankingChoices=function(){this.renderedUnRankingChoices=this.unRankingChoices},t.prototype.updateRankingChoices=function(e){var t=this;if(void 0===e&&(e=!1),this.selectToRankEnabled)this.updateRankingChoicesSelectToRankMode(e);else{var n=[];e&&(this.rankingChoices=[]),this.isEmpty()?this.rankingChoices=this.visibleChoices:(this.value.forEach((function(e){t.visibleChoices.forEach((function(t){t.value===e&&n.push(t)})
vendor: 150,115 bytes, lines 11-16
11)})),this.rankingChoices=n)}},t.prototype.updateUnRankingChoices=function(e){var t=[];this.visibleChoices.forEach((function(e){t.push(e)})),e.forEach((function(e){t.forEach((function(n,o){n.value===e.value&&t.splice(o,1)}))})),this.unRankingChoices=t},t.prototype.updateRankingChoicesSelectToRankMode=function(e){var t=this,n=[];this.isEmpty()||this.value.forEach((function(e){t.visibleChoices.forEach((function(t){t.value===e&&n.push(t)}))})),this.updateUnRankingChoices(n),this.rankingChoices=n},t.prototype.endLoadingFromJson=function(){e.prototype.endLoadingFromJson.call(this),this.setDragDropRankingChoices()},t.prototype.setDragDropRankingChoices=function(){this.dragDropRankingChoices=this.createDragDropRankingChoices()},t.prototype.createDragDropRankingChoices=function(){return this.selectToRankEnabled?new da(this.survey,null,this.longTap):new ca(this.survey,null,this.longTap)},t.prototype.isDragStartNodeValid=function(e){return"icon"!==tn.rankingDragHandleArea||e.classList.contains(this.cssClasses.itemIconHoverMod)},t.prototype.isAllowStartDrag=function(e,t){return!this.isReadOnly&&!this.isDesignMode&&this.canStartDragDueMaxSelectedChoices(e)&&this.canStartDragDueItemEnabled(t)},t.prototype.canStartDragDueMaxSelectedChoices=function(e){return!this.selectToRankEnabled||(!e.closest("[data-ranking='from-container']")||this.checkMaxSelectedChoicesUnreached())},t.prototype.canStartDragDueItemEnabled=function(e){return e.enabled},t.prototype.checkMaxSelectedChoicesUnreached=function(){if(this.maxSelectedChoices<1)return!0;var e=this.value;return(Array.isArray(e)?e.length:0)<this.maxSelectedChoices},t.prototype.afterRenderQuestionElement=function(t){this.domNode=t,e.prototype.afterRenderQuestionElement.call(this,t)},t.prototype.beforeDestroyQuestionElement=function(t){this.domNode=void 0,e.prototype.beforeDestroyQuestionElement.call(this,t)},t.prototype.supportSelectAll=function(){return!1},t.prototype.supportOther=function(){return!1},t.prototype.supportNone=function(){return!1},t.prototype.supportRefuse=function(){return!1},t.prototype.supportDontKnow=function(){return!1},t.prototype.handleKeydownSelectToRank=function(e,t,n,o){if(void 0===o&&(o=!0),!this.isDesignMode){var i=e.key;if(n&&(i=n)," "===i||"ArrowUp"===i||"ArrowDown"===i){var r=this.dragDropRankingChoices,a=this.rankingChoices,s=-1!==a.indexOf(t),l=(s?a:this.unRankingChoices).indexOf(t);if(!(l<0)){var u;if(" "===i&&!s){if(!this.checkMaxSelectedChoicesUnreached()||!this.canStartDragDueItemEnabled(t))return;return u=this.value.length,r.selectToRank(this,l,u),void this.setValueAfterKeydown(u,"to-container",o,e)}if(s){if(" "===i)return r.unselectFromRank(this,l),u=this.unRankingChoices.indexOf(t),void this.setValueAfterKeydown(u,"from-container",o,e);var c="ArrowUp"===i?-1:"ArrowDown"===i?1:0;0!==c&&((u=l+c)<0||u>=a.length||(r.reorderRankedItem(this,l,u),this.setValueAfterKeydown(u,"to-container",o,e)))}}}}},t.prototype.setValueAfterKeydown=function(e,t,n,o){var i=this;void 0===n&&(n=!0),this.setValue(),n&&setTimeout((function(){i.focusItem(e,t)}),1),o&&o.preventDefault()},t.prototype.getIconHoverCss=function(){return(new Ae).append(this.cssClasses.itemIcon).append(this.cssClasses.itemIconHoverMod).toString()},t.prototype.getIconFocusCss=function(){return(new Ae).append(this.cssClasses.itemIcon).append(this.cssClasses.itemIconFocusMod).toString()},Object.defineProperty(t.prototype,"longTap",{get:function(){return this.getPropertyValue("longTap")},set:function(e){this.setPropertyValue("longTap",e)},enumerable:!1,configurable:!0}),t.prototype.getDefaultItemComponent=function(){return"sv-ranking-item"},Object.defineProperty(t.prototype,"selectToRankEnabled",{get:function(){return this.getPropertyValue("selectToRankEnabled",!1)},set:function(e){this.setPropertyValue("selectToRankEnabled",e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"selectToRankSwapAreas",{get:function(){return this.getPropertyValue("selectToRankSwapAreas",!1)},set:function(e){this.setPropertyValue("selectToRankSwapAreas",e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"selectToRankAreasLayout",{get:function(){return this.getPropertyValue("selectToRankAreasLayout")},set:function(e){this.setPropertyValue("selectToRankAreasLayout",e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"renderedSelectToRankAreasLayout",{get:function(){return this.isMobileMode()?"vertical":this.selectToRankAreasLayout},enumerable:!1,configurable:!0}),t.prototype.isMobileMode=function(){return Fo},Object.defineProperty(t.prototype,"useFullItemSizeForShortcut",{get:function(){return this.getPropertyValue("useFullItemSizeForShortcut")},set:function(e){this.setPropertyValue("useFullItemSizeForShortcut",e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"dragDropSvgIcon",{get:function(){return this.cssClasses.dragDropSvgIconId||"#icon-drag-24x24"},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"arrowsSvgIcon",{get:function(){return this.cssClasses.arrowsSvgIconId||"#icon-reorder-24x24"},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"dashSvgIcon",{get:function(){return this.cssClasses.dashSvgIconId||"#icon-rankingundefined-16x16"},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isNewA11yStructure",{get:function(){return!1},enumerable:!1,configurable:!0}),ma([w({onSet:function(e,t){return t.updateRenderedRankingChoices()},onRemove:function(e,t,n){return n.updateRenderedRankingChoices()},onPush:function(e,t,n){return n.updateRenderedRankingChoices()}})],t.prototype,"rankingChoices",void 0),ma([w({onSet:function(e,t){return t.updateRenderedUnRankingChoices()},onRemove:function(e,t,n){return n.updateRenderedUnRankingChoices()},onPush:function(e,t,n){return n.updateRenderedUnRankingChoices()}})],t.prototype,"unRankingChoices",void 0),ma([w()],t.prototype,"_renderedRankingChoices",void 0),ma([w()],t.prototype,"_renderedUnRankingChoices",void 0),ma([x({defaultValue:null})],t.prototype,"currentDropTarget",void 0),ma([x({defaultValue:!0})],t.prototype,"carryForwardStartUnranked",void 0),ma([x({localizable:{defaultStr:"selectToRankEmptyRankedAreaText"}})],t.prototype,"selectToRankEmptyRankedAreaText",void 0),ma([x({localizable:{defaultStr:"selectToRankEmptyUnrankedAreaText"}})],t.prototype,"selectToRankEmptyUnrankedAreaText",void 0),t}(Jr);L.addClass("ranking",[{name:"showOtherItem",visible:!1,isSerializable:!1},{name:"otherText",visible:!1,isSerializable:!1},{name:"otherErrorText",visible:!1,isSerializable:!1},{name:"storeOthersAsComment",visible:!1,isSerializable:!1},{name:"showNoneItem",visible:!1,isSerializable:!1},{name:"showRefuseItem",visible:!1,isSerializable:!1},{name:"showDontKnowItem",visible:!1,isSerializable:!1},{name:"noneText",visible:!1,isSerializable:!1},{name:"showSelectAllItem",visible:!1,isSerializable:!1},{name:"selectAllText",visible:!1,isSerializable:!1},{name:"colCount:number",visible:!1,isSerializable:!1},{name:"separateSpecialChoices",visible:!1,isSerializable:!1},{name:"longTap",default:!0,visible:!1,isSerializable:!1},{name:"selectToRankEnabled:switch",default:!1,visible:!0,isSerializable:!0},{name:"selectToRankSwapAreas:switch",default:!1,visible:!1,isSerializable:!0,dependsOn:"selectToRankEnabled"},{name:"selectToRankAreasLayout",default:"horizontal",choices:["horizontal","vertical"],dependsOn:"selectToRankEnabled",visibleIf:function(e){return!!e.selectToRankEnabled},visible:!0,isSerializable:!0},{name:"selectToRankEmptyRankedAreaText:text",serializationProperty:"locSelectToRankEmptyRankedAreaText",category:"general",dependsOn:"selectToRankEnabled",visibleIf:function(e){return!!e.selectToRankEnabled}},{name:"selectToRankEmptyUnrankedAreaText:text",serializationProperty:"locSelectToRankEmptyUnrankedAreaText",category:"general",dependsOn:"selectToRankEnabled",visibleIf:function(e){return!!e.selectToRankEnabled}},{name:"maxSelectedChoices:number",visible:!0,default:0,dependsOn:"selectToRankEnabled",visibleIf:function(e){return!!e.selectToRankEnabled},isSerializable:!0},{name:"minSelectedChoices:number",visible:!0,default:0,dependsOn:"selectToRankEnabled",visibleIf:function(e){return!!e.selectToRankEnabled},isSerializable:!0},{name:"itemComponent",visible:!1,default:"sv-ranking-item"}],(function(){return new ga("")}),"checkbox"),co.Instance.registerQuestion("ranking",(function(e){var t=new ga(e);return t.choices=co.DefaultChoices,t}));var fa=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(t,n)};return function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function o(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}}(),ya=function(e){function t(t){return e.call(this,t)||this}return fa(t,e),Object.defineProperty(t.prototype,"textAreaModel",{get:function(){return this.textAreaModelValue||(this.textAreaModelValue=new In(this.getTextAreaOptions())),this.textAreaModelValue},enumerable:!1,configurable:!0}),t.prototype.getTextAreaOptions=function(){var e=this,t=this;return{question:this,id:function(){return e.inputId},propertyNames:["value"],className:function(){return e.className},placeholder:function(){return e.renderedPlaceholder},isDisabledAttr:function(){return e.isDisabledAttr},isReadOnlyAttr:function(){return e.isReadOnlyAttr},autoGrow:function(){return e.renderedAutoGrow},maxLength:function(){return e.getMaxLength()},rows:function(){return e.rows},cols:function(){return e.cols},ariaRequired:function(){return e.a11y_input_ariaRequired},ariaLabel:function(){return e.a11y_input_ariaLabel},ariaLabelledBy:function(){return e.a11y_input_ariaLabelledBy},ariaDescribedBy:function(){return e.a11y_input_ariaDescribedBy},ariaInvalid:function(){return e.a11y_input_ariaInvalid},ariaErrormessage:function(){return e.a11y_input_ariaErrormessage},getTextValue:function(){return e.value},onTextAreaChange:function(e){var n;n=e.target.value,u.isTwoValueEquals(t.value,n,!1,!0,!1)||(t.value=n)},onTextAreaInput:function(t){e.onInput(t)},onTextAreaKeyDown:function(t){e.onKeyDown(t)},onTextAreaFocus:function(t){e.onFocus(t)},onTextAreaBlur:function(t){e.onBlur(t)}}},Object.defineProperty(t.prototype,"rows",{get:function(){return this.getPropertyValue("rows")},set:function(e){this.setPropertyValue("rows",e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"cols",{get:function(){return this.getPropertyValue("cols")},set:function(e){this.setPropertyValue("cols",e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"acceptCarriageReturn",{get:function(){return this.getPropertyValue("acceptCarriageReturn")},set:function(e){this.setPropertyValue("acceptCarriageReturn",e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"autoGrow",{get:function(){return this.getPropertyValue("autoGrow")},set:function(e){this.setPropertyValue("autoGrow",e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"renderedAutoGrow",{get:function(){var e=this.autoGrow;return void 0===e&&this.survey?this.survey.autoGrowComment:!!e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"allowResize",{get:function(){return this.getPropertyValue("allowResize")},set:function(e){this.setPropertyValue("allowResize",e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"renderedAllowResize",{get:function(){var e=this.allowResize;return void 0===e&&this.survey?this.survey.allowResizeComment:!!e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"resizeStyle",{get:function(){return this.renderedAllowResize?"both":"none"},enumerable:!1,configurable:!0}),t.prototype.getType=function(){return"comment"},t.prototype.afterRenderQuestionElement=function(t){var n=tn.environment.root;this.element=n.getElementById(this.inputId)||t,e.prototype.afterRenderQuestionElement.call(this,t)},t.prototype.beforeDestroyQuestionElement=function(t){e.prototype.beforeDestroyQuestionElement.call(this,t),this.element=void 0},t.prototype.onInput=function(e){this.isInputTextUpdate&&(this.value=e.target.value),this.updateRemainingCharacterCounter(e.target.value)},t.prototype.onBlurCore=function(t){e.prototype.onBlurCore.call(this,t)},t.prototype.onKeyDown=function(e){this.onKeyDownPreprocess&&this.onKeyDownPreprocess(e),this.acceptCarriageReturn||"Enter"!==e.key&&13!==e.keyCode||(e.preventDefault(),e.stopPropagation())},t.prototype.setNewValue=function(t){!this.acceptCarriageReturn&&t&&(t=t.replace(new RegExp("(\r\n|\n|\r)","gm"),"")),e.prototype.setNewValue.call(this,t)},t.prototype.getValueSeparator=function(){return"\n"},t.prototype.notifyStateChanged=function(t){e.prototype.notifyStateChanged.call(this,t),this.isCollapsed||this.textAreaModel.updateElement()},Object.defineProperty(t.prototype,"className",{get:function(){return(this.cssClasses?this.getControlClass():"panel-comment-root")||void 0},enumerable:!1,configurable:!0}),t}(wr);L.addClass("comment",[{name:"maxLength:number",default:-1},{name:"cols:number",default:50,visible:!1,isSerializable:!1},{name:"rows:number",default:4},{name:"placeholder",alternativeName:"placeHolder",serializationProperty:"locPlaceholder"},{name:"textUpdateMode",default:"default",choices:["default","onBlur","onTyping"]},{name:"autoGrow:boolean",defaultFunc:function(){}},{name:"allowResize:boolean",defaultFunc:function(){}},{name:"acceptCarriageReturn:boolean",default:!0,visible:!1}],(function(){return new ya("")}),"textbase"),co.Instance.registerQuestion("comment",(function(e){return new ya(e)}));var va="environment",ba=function(){function e(){this.canFlipValue=void 0}return e.clear=function(){e.cameraList=void 0,e.cameraIndex=-1},e.setCameraList=function(t){var n=function(e){var t=e.label.toLocaleLowerCase();return t.indexOf("user")>-1?"user":t.indexOf(va)>-1?va:t.indexOf("front")>-1?"user":t.indexOf("back")>-1?va:""};e.clear(),Array.isArray(t)&&t.length>0&&(e.cameraIndex=-1,t.sort((function(e,o){if(e===o)return 0;if(e.label!==o.label){var i=n(e),r=n(o);if(i!==r){if("user"===i)return-1;if("user"===r)return 1;if(i===va)return-1;if(r===va)return 1}}return t.indexOf(e)<t.indexOf(o)?-1:1}))),e.cameraList=t},e.prototype.hasCamera=function(t){var n=this;if(void 0===e.cameraList)if(e.mediaDevicesCallback){e.mediaDevicesCallback((function(e){n.setVideoInputs(e),n.hasCameraCallback(t)}))}else"undefined"!=typeof navigator&&navigator.mediaDevices?navigator.mediaDevices.enumerateDevices().then((function(e){n.setVideoInputs(e),n.hasCameraCallback(t),n.updateCanFlipValue()})).catch((function(o){e.cameraList=null,n.hasCameraCallback(t)})):(e.cameraList=null,this.hasCameraCallback(t));else this.hasCameraCallback(t)},e.prototype.getMediaConstraints=function(t){var n=e.cameraList;if(Array.isArray(n)&&!(n.length<1)){e.cameraIndex<0&&(e.cameraIndex=0);var o=n[e.cameraIndex],i={};return o&&o.deviceId?i.deviceId={exact:o.deviceId}:i.facingMode=e.cameraFacingMode,t&&((null==t?void 0:t.height)&&(i.height={ideal:t.height}),(null==t?void 0:t.width)&&(i.width={ideal:t.width})),{video:i,audio:!1}}},e.prototype.startVideo=function(t,n,o,i){var r=this;if(t){t.style.width="100%",t.style.height="auto",t.style.height="100%",t.style.objectFit="contain";var a=this.getMediaConstraints({width:o,height:i});navigator.mediaDevices.getUserMedia(a).then((function(o){var i;t.srcObject=o,!(null===(i=e.cameraList[e.cameraIndex])||void 0===i?void 0:i.deviceId)&&o.getTracks()[0].getCapabilities().facingMode&&(e.canSwitchFacingMode=!0,r.updateCanFlipValue()),t.play(),n(o)})).catch((function(e){n(void 0)}))}else n(void 0)},e.prototype.getImageSize=function(e){return{width:e.videoWidth,height:e.videoHeight}},e.prototype.snap=function(e,t){if(!e)return!1;if(!s.isAvailable())return!1;var n=s.getDocument().createElement("canvas"),o=this.getImageSize(e);n.height=o.height,n.width=o.width;var i=n.getContext("2d");return i.clearRect(0,0,n.width,n.height),i.drawImage(e,0,0,n.width,n.height),n.toBlob(t,"image/png"),!0},e.prototype.updateCanFlipValue=function(){var t=e.cameraList;this.canFlipValue=Array.isArray(t)&&t.length>1||e.canSwitchFacingMode,this.onCanFlipChangedCallback&&this.onCanFlipChangedCallback(this.canFlipValue)},e.prototype.canFlip=function(e){return void 0===this.canFlipValue&&this.updateCanFlipValue(),e&&(this.onCanFlipChangedCallback=e),this.canFlipValue},e.prototype.flip=function(){this.canFlip()&&(e.canSwitchFacingMode?e.cameraFacingMode="user"===e.cameraFacingMode?"environment":"user":e.cameraIndex>=e.cameraList.length-1?e.cameraIndex=0:e.cameraIndex++)},e.prototype.hasCameraCallback=function(t){t(Array.isArray(e.cameraList))},e.prototype.setVideoInputs=function(t){var n=[];t.forEach((function(e){"videoinput"===e.kind&&n.push(e)})),e.setCameraList(n.length>0?n:null)},e.cameraIndex=-1,e.cameraFacingMode="user",e.canSwitchFacingMode=!1,e}(),xa=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(t,n)};return function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function o(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}}(),Ca=function(e,t,n,o){var i,r=arguments.length,a=r<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,n):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,o);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(a=(r<3?i(a):r>3?i(t,n,a):i(t,n))||a);return r>3&&a&&Object.defineProperty(t,n,a),a};var wa=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.isUploading=!1,t.onUploadStateChanged=t.addEvent(),t.onStateChanged=t.addEvent(),t}return xa(t,e),t.prototype.stateChanged=function(e){this.currentState!=e&&("loading"===e&&(this.isUploading=!0),"loaded"===e&&(this.isUploading=!1),"error"===e&&(this.isUploading=!1),this.currentState=e,this.onStateChanged.fire(this,{state:e}),this.onUploadStateChanged.fire(this,{state:e}))},Object.defineProperty(t.prototype,"showLoadingIndicator",{get:function(){return this.isUploading&&this.isDefaultV2Theme},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"storeDataAsText",{get:function(){return this.getPropertyValue("storeDataAsText")},set:function(e){this.setPropertyValue("storeDataAsText",e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"waitForUpload",{get:function(){return this.getPropertyValue("waitForUpload")},set:function(e){this.setPropertyValue("waitForUpload",e)},enumerable:!1,configurable:!0}),t.prototype.clearValue=function(t){this.clearOnDeletingContainer(),e.prototype.clearValue.call(this,t)},t.prototype.clearOnDeletingContainer=function(){this.survey&&this.survey.clearFiles(this,this.name,this.value,null,(function(){}))},t.prototype.onCheckForErrors=function(t,n,o){e.prototype.onCheckForErrors.call(this,t,n,o),this.isUploading&&this.waitForUpload&&t.push(new dn(this.getLocalizationString("uploadingFile"),this))},t.prototype.uploadFiles=function(e){var t=this;this.survey&&(this.errors=[],this.stateChanged("loading"),this.survey.uploadFiles(this,this.name,e,(function(e,n){Array.isArray(e)&&(t.setValueFromResult(e),Array.isArray(n)&&(n.forEach((function(e){return t.errors.push(new dn(e,t))})),t.stateChanged("error"))),"success"===e&&Array.isArray(n)&&t.setValueFromResult(n),"error"===e&&("string"==typeof n&&t.errors.push(new dn(n,t)),Array.isArray(n)&&n.length>0&&n.forEach((function(e){return t.errors.push(new dn(e,t))})),t.stateChanged("error")),t.stateChanged("loaded")})))},t.prototype.loadPreview=function(e){},t.prototype.onChangeQuestionValue=function(t){e.prototype.onChangeQuestionValue.call(this,t),this.stateChanged(this.isEmpty()?"empty":"loaded")},t.prototype.getIsQuestionReady=function(){return e.prototype.getIsQuestionReady.call(this)&&!this.isFileLoading},Object.defineProperty(t.prototype,"isFileLoading",{get:function(){return this.isFileLoadingValue},set:function(e){this.isFileLoadingValue=e,this.updateIsReady()},enumerable:!1,configurable:!0}),Ca([x()],t.prototype,"isUploading",void 0),Ca([x({defaultValue:"empty"})],t.prototype,"currentState",void 0),t}(qn),Pa=function(e){function t(n,o){var i=e.call(this)||this;return i.question=n,i.index=o,i.id=t.getId(),i}return xa(t,e),t.getId=function(){return"sv_sfp_"+t.pageCounter++},Object.defineProperty(t.prototype,"css",{get:function(){return this.question.cssClasses.page},enumerable:!1,configurable:!0}),t.pageCounter=0,Ca([w({})],t.prototype,"items",void 0),t}(_e),ka=function(e){function t(t){var n=e.call(this,t)||this;return n.isDragging=!1,n.fileNavigator=new Me,n.canFlipCameraValue=void 0,n.prevPreviewLength=0,n._renderedPages=[],n.pagesAnimation=new ht(n.getPagesAnimationOptions(),(function(e){n._renderedPages=e}),(function(){return n.renderedPages})),n.calcAvailableItemsCount=function(e,t,n){var o=Math.floor(e/(t+n));return(o+1)*(t+n)-n<=e&&o++,o},n.dragCounter=0,n.onDragEnter=function(e){n.canDragDrop()&&(e.preventDefault(),n.isDragging=!0,n.dragCounter++)},n.onDragOver=function(e){if(!n.canDragDrop())return e.returnValue=!1,!1;e.dataTransfer.dropEffect="copy",e.preventDefault()},n.onDrop=function(e){if(n.canDragDrop()){n.isDragging=!1,n.dragCounter=0,e.preventDefault();var t=e.dataTransfer;n.onChange(t)}},n.onDragLeave=function(e){n.canDragDrop()&&(n.dragCounter--,0===n.dragCounter&&(n.isDragging=!1))},n.doChange=function(e){var t=e.target||e.srcElement;n.onChange(t)},n.doClean=function(){n.needConfirmRemoveFile?wt({message:n.confirmRemoveAllMessage,funcOnYes:function(){n.clearFilesCore()},locale:n.getLocale(),rootElement:n.survey.rootElement,cssClass:n.cssClasses.confirmDialog}):n.clearFilesCore()},n.doDownloadFileFromContainer=function(e){e.stopPropagation();var t=e.currentTarget;if(t&&t.getElementsByTagName){var n=t.getElementsByTagName("a")[0];null==n||n.click()}},n.doDownloadFile=function(e,t){e.stopPropagation(),Pt()&&(e.preventDefault(),kt(t.content,t.name))},n.createLocalizableString("takePhotoCaption",n,!1,!0),n.createLocalizableString("clearCaption",n,!1,!0),n.actionsContainer=new Me,n.actionsContainer.locOwner=n,n.fileIndexAction=new tt({id:"fileIndex",title:n.getFileIndexCaption(),enabled:!1}),n.prevFileAction=new tt({id:"prevPage",iconSize:16,action:function(){n.navigationDirection="left",n.indexToShow=n.previewValue.length&&(n.indexToShow-1+n.pagesCount)%n.pagesCount||0,n.fileIndexAction.title=n.getFileIndexCaption()}}),n.nextFileAction=new tt({id:"nextPage",iconSize:16,action:function(){n.navigationDirection="right",n.indexToShow=n.previewValue.length&&(n.indexToShow+1)%n.pagesCount||0,n.fileIndexAction.title=n.getFileIndexCaption()}}),n.takePictureAction=new tt({iconName:"icon-takepicture",id:"sv-file-take-picture",iconSize:"auto",innerCss:new Ve((function(){return(new Ae).append(n.cssClasses.contextButton).append(n.cssClasses.takePictureButton).toString()})),locTitle:n.locTakePhotoCaption,showTitle:!1,action:function(){n.snapPicture()}}),n.closeCameraAction=new tt({iconName:"icon-closecamera",id:"sv-file-close-camera",iconSize:"auto",innerCss:new Ve((function(){return(new Ae).append(n.cssClasses.contextButton).append(n.cssClasses.closeCameraButton).toString()})),action:function(){n.stopVideo()}}),n.changeCameraAction=new tt({iconName:"icon-changecamera",id:"sv-file-change-camera",iconSize:"auto",innerCss:new Ve((function(){return(new Ae).append(n.cssClasses.contextButton).append(n.cssClasses.changeCameraButton).toString()})),visible:new Ve((function(){return n.canFlipCamera()})),action:function(){n.flipCamera()}}),n.chooseFileAction=new tt({iconName:"icon-choosefile",id:"sv-file-choose-file",iconSize:"auto",data:{question:n},enabledIf:function(){return!n.isInputReadOnly},component:"sv-file-choose-btn"}),n.startCameraAction=new tt({iconName:"icon-takepicture_24x24",id:"sv-file-start-camera",iconSize:"auto",locTitle:n.locTakePhotoCaption,showTitle:new Ve((function(){return!n.isAnswered})),enabledIf:function(){return!n.isInputReadOnly},action:function(){n.startVideo()}}),n.cleanAction=new tt({iconName:"icon-clear",id:"sv-file-clean",iconSize:"auto",locTitle:n.locClearButtonCaption,showTitle:!1,enabledIf:function(){return!n.isInputReadOnly},innerCss:new Ve((function(){return n.cssClasses.removeButton})),action:function(){n.doClean()}}),[n.closeCameraAction,n.changeCameraAction,n.takePictureAction].forEach((function(e){e.cssClasses={}})),n.registerFunctionOnPropertiesValueChanged(["sourceType","currentMode","isAnswered"],(function(){n.updateActionsVisibility()})),n.actionsContainer.actions=[n.chooseFileAction,n.startCameraAction,n.cleanAction],n.fileNavigator.actions=[n.prevFileAction,n.fileIndexAction,n.nextFileAction],n}return xa(t,e),Object.defineProperty(t.prototype,"supportFileNavigator",{get:function(){return this.isDefaultV2Theme},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"fileNavigatorVisible",{get:function(){var e=this.isUploading,t=this.isPlayingVideo,n=this.containsMultiplyFiles,o=this.pageSize<this.previewValue.length;return!e&&!t&&n&&o&&this.isDefaultV2Theme},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"pagesCount",{get:function(){return Math.ceil(this.previewValue.length/this.pageSize)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"actionsContainerVisible",{get:function(){var e=this.isUploading,t=this.isPlayingVideo,n=this.isDefaultV2Theme;return!e&&!t&&n},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"videoId",{get:function(){return this.id+"_video"},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"hasVideoUI",{get:function(){return"file"!==this.currentMode},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"hasFileUI",{get:function(){return"camera"!==this.currentMode},enumerable:!1,configurable:!0}),t.prototype.startVideo=function(){var e=this;"file"===this.currentMode||this.isDesignMode||this.isPlayingVideo||(this.setIsPlayingVideo(!0),setTimeout((function(){e.startVideoInCamera()}),0))},Object.defineProperty(t.prototype,"videoHtmlElement",{get:function(){var e;return null===(e=this.rootElement)||void 0===e?void 0:e.querySelector("#"+this.videoId)},enumerable:!1,configurable:!0}),t.prototype.startVideoInCamera=function(){var e=this;this.camera.startVideo(this.videoHtmlElement,(function(t){e.videoStream=t,t||e.stopVideo()}),Lt(this.imageWidth),Lt(this.imageHeight))},t.prototype.stopVideo=function(){this.setIsPlayingVideo(!1),this.closeVideoStream()},t.prototype.snapPicture=function(){var e=this;if(this.isPlayingVideo){this.camera.snap(this.videoHtmlElement,(function(t){if(t){var n=new File([t],"snap_picture.png",{type:"image/png"});e.loadFiles([n])}})),this.stopVideo()}},t.prototype.canFlipCamera=function(){var e=this;return void 0===this.canFlipCameraValue&&(this.canFlipCameraValue=this.camera.canFlip((function(t){e.canFlipCameraValue=t}))),this.canFlipCameraValue},t.prototype.flipCamera=function(){this.canFlipCamera()&&(this.closeVideoStream(),this.camera.flip(),this.startVideoInCamera())},t.prototype.closeVideoStream=function(){this.videoStream&&(this.videoStream.getTracks().forEach((function(e){e.stop()})),this.videoStream=void 0)},t.prototype.onHidingContent=function(){e.prototype.onHidingContent.call(this),this.stopVideo()},t.prototype.updateElementCssCore=function(t){e.prototype.updateElementCssCore.call(this,t),this.prevFileAction.iconName=this.cssClasses.leftIconId,this.nextFileAction.iconName=this.cssClasses.rightIconId,this.updateCurrentMode()},t.prototype.getFileIndexCaption=function(){return this.getLocalizationFormatString("indexText",this.indexToShow+1,this.pagesCount)},t.prototype.updateFileNavigator=function(){this.updatePages(),this.navigationDirection=void 0,this.indexToShow=this.previewValue.length&&(this.indexToShow+this.pagesCount)%this.pagesCount||0,this.fileIndexAction.title=this.getFileIndexCaption()},t.prototype.updateRenderedPages=function(){this.pages&&this.pages[this.indexToShow]&&(this.renderedPages=[this.pages[this.indexToShow]])},t.prototype.updatePages=function(){var e,t=this;this.blockAnimations(),this.pages=[],this.renderedPages=[],this.previewValue.forEach((function(n,o){o%t.pageSize==0&&(e=new Pa(t,t.pages.length),t.pages.push(e)),e.items.push(n)})),this.releaseAnimations(),this.updateRenderedPages()},t.prototype.previewValueChanged=function(){var e=this;this.navigationDirection=void 0,this.previewValue.length!==this.prevPreviewLength&&(this.previewValue.length>0?this.prevPreviewLength>this.previewValue.length?this.indexToShow>=this.pagesCount&&this.indexToShow>0&&(this.indexToShow=this.pagesCount-1,this.navigationDirection="left-delete"):this.indexToShow=Math.floor(this.prevPreviewLength/this.pageSize):this.indexToShow=0),this.updatePages(),this.fileIndexAction.title=this.getFileIndexCaption(),this.containsMultiplyFiles=this.previewValue.length>1,this.previewValue.length>0&&!this.calculatedGapBetweenItems&&!this.calculatedItemWidth&&setTimeout((function(){e.processResponsiveness(0,e._width)}),1),this.prevPreviewLength=this.previewValue.length},t.prototype.getType=function(){return"file"},t.prototype.onChangeQuestionValue=function(t){e.prototype.onChangeQuestionValue.call(this,t),this.isLoadingFromJson||this.loadPreview(t)},Object.defineProperty(t.prototype,"showPreview",{get:function(){return this.getPropertyValue("showPreview")},set:function(e){this.setPropertyValue("showPreview",e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"allowMultiple",{get:function(){return this.getPropertyValue("allowMultiple")},set:function(e){this.setPropertyValue("allowMultiple",e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"imageHeight",{get:function(){return this.getPropertyValue("imageHeight")},set:function(e){this.setPropertyValue("imageHeight",e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"imageWidth",{get:function(){return this.getPropertyValue("imageWidth")},set:function(e){this.setPropertyValue("imageWidth",e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"acceptedTypes",{get:function(){return this.getPropertyValue("acceptedTypes")},set:function(e){this.setPropertyValue("acceptedTypes",e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"allowImagesPreview",{get:function(){return this.getPropertyValue("allowImagesPreview")},set:function(e){this.setPropertyValue("allowImagesPreview",e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"maxSize",{get:function(){return this.getPropertyValue("maxSize")},set:function(e){this.setPropertyValue("maxSize",e)},enumerable:!1,configurable:!0}),t.prototype.chooseFile=function(e){var t=this;if(this.rootElement){var n=this.rootElement.querySelector("#"+this.inputId);n&&(e.preventDefault(),e.stopImmediatePropagation(),n&&(this.survey?this.survey.chooseFiles(n,(function(e){return t.loadFiles(e)}),{element:this,elementType:this.getType(),propertyName:this.name}):n.click()))}},Object.defineProperty(t.prototype,"needConfirmRemoveFile",{get:function(){return this.getPropertyValue("needConfirmRemoveFile")},set:function(e){this.setPropertyValue("needConfirmRemoveFile",e)},enumerable:!1,configurable:!0}),t.prototype.getConfirmRemoveMessage=function(e){return this.confirmRemoveMessage.format(e)},Object.defineProperty(t.prototype,"takePhotoCaption",{get:function(){return this.getLocalizableStringText("takePhotoCaption")},set:function(e){this.setLocalizableStringText("takePhotoCaption",e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"locTakePhotoCaption",{get:function(){return this.getLocalizableString("takePhotoCaption")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"clearButtonCaption",{get:function(){return this.getLocalizableStringText("clearCaption")},set:function(e){this.setLocalizableStringText("clearCaption",e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"locClearButtonCaption",{get:function(){return this.getLocalizableString("clearCaption")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"locRenderedPlaceholder",{get:function(){var e=this;return void 0===this.locRenderedPlaceholderValue&&(this.locRenderedPlaceholderValue=new Ve((function(){var t=e.isReadOnly,n=!e.isDesignMode&&e.hasFileUI||e.isDesignMode&&"camera"!=e.sourceType,o=!e.isDesignMode&&e.hasVideoUI||e.isDesignMode&&"file"!=e.sourceType;return t?e.locNoFileChosenCaption:n&&o?e.locFileOrPhotoPlaceholder:n?e.locFilePlaceholder:e.locPhotoPlaceholder}))),this.locRenderedPlaceholderValue},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"currentMode",{get:function(){return this.getPropertyValue("currentMode",this.sourceType)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isPlayingVideo",{get:function(){return this.getPropertyValue("isPlayingVideo",!1)},enumerable:!1,configurable:!0}),t.prototype.setIsPlayingVideo=function(e){this.setPropertyValue("isPlayingVideo",e)},t.prototype.updateCurrentMode=function(){var e=this;!this.isDesignMode&&this.survey&&("file"!==this.sourceType?this.camera.hasCamera((function(t){e.setPropertyValue("currentMode",t&&e.isDefaultV2Theme?e.sourceType:"file")})):this.setPropertyValue("currentMode",this.sourceType))},t.prototype.updateActionsVisibility=function(){var e=this.isDesignMode;this.chooseFileAction.visible=!e&&this.hasFileUI||e&&"camera"!==this.sourceType,this.startCameraAction.visible=!e&&this.hasVideoUI||e&&"file"!==this.sourceType,this.cleanAction.visible=!!this.isAnswered},Object.defineProperty(t.prototype,"inputTitle",{get:function(){return this.isUploading?this.loadingFileTitle:this.isEmpty()?this.chooseFileTitle:" "},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"chooseButtonText",{get:function(){return this.isEmpty()||this.allowMultiple?this.chooseButtonCaption:this.replaceButtonCaption},enumerable:!1,configurable:!0}),t.prototype.clear=function(e){var t=this;this.survey&&(this.containsMultiplyFiles=!1,this.survey.clearFiles(this,this.name,this.value,null,(function(n,o){"success"===n&&(t.value=void 0,t.errors=[],e&&e(),t.indexToShow=0,t.fileIndexAction.title=t.getFileIndexCaption())})))},Object.defineProperty(t.prototype,"renderCapture",{get:function(){return this.allowCameraAccess?"user":void 0},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"multipleRendered",{get:function(){return this.allowMultiple?"multiple":void 0},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"showChooseButton",{get:function(){return!this.isReadOnly&&!this.isDefaultV2Theme},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"showFileDecorator",{get:function(){var e=this.isPlayingVideo,t=this.showLoadingIndicator;return!e&&!t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"showDragAreaPlaceholder",{get:function(){return!this.isAnswered},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"allowShowPreview",{get:function(){var e=this.showLoadingIndicator,t=this.isPlayingVideo;return!e&&!t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"showPreviewContainer",{get:function(){return this.previewValue&&this.previewValue.length>0},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"showRemoveButtonCore",{get:function(){var e=this.showLoadingIndicator,t=this.isReadOnly,n=this.isEmpty();return!(t||n||e||this.isDefaultV2Theme)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"showRemoveButton",{get:function(){return this.showRemoveButtonCore&&this.cssClasses.removeButton},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"showRemoveButtonBottom",{get:function(){var e=(new Ae).append(this.cssClasses.removeButtonBottom).append(this.cssClasses.contextButton).toString();return this.showRemoveButtonCore&&e},enumerable:!1,configurable:!0}),t.prototype.defaultImage=function(e){return!this.canPreviewImage(e)&&!!this.cssClasses.defaultImage},t.prototype.removeFile=function(e){this.removeFileByContent(this.value.filter((function(t){return t.name===e}))[0])},t.prototype.removeFileByContent=function(e){var t=this;this.survey&&this.survey.clearFiles(this,this.name,this.value,e.name,(function(n,o){if("success"===n){var i=t.value;Array.isArray(i)?t.value=i.filter((function(t){return!u.isTwoValueEquals(t,e,!0,!1,!1)})):t.value=void 0}}))},t.prototype.setValueFromResult=function(e){this.value=(this.value||[]).concat(e.map((function(e){return{name:e.file.name,type:e.file.type,content:e.content}})))},t.prototype.loadFiles=function(e){var t=this;if(this.survey&&(this.errors=[],this.allFilesOk(e))){var n=function(){t.stateChanged("loading");var n=[];t.storeDataAsText?e.forEach((function(o){var i=new FileReader;i.onload=function(r){(n=n.concat([{name:o.name,type:o.type,content:i.result}])).length===e.length&&(t.value=(t.value||[]).concat(n))},i.readAsDataURL(o)})):t.uploadFiles(e)};this.allowMultiple?n():this.clear(n)}},Object.defineProperty(t.prototype,"camera",{get:function(){return this.cameraValue||(this.cameraValue=new ba),this.cameraValue},enumerable:!1,configurable:!0}),t.prototype.canPreviewImage=function(e){return this.allowImagesPreview&&!!e&&this.isFileImage(e)},t.prototype.loadPreview=function(e){var t=this;if((!this.showPreview||this.prevLoadedPreviewValue!==e)&&(this.previewValue.splice(0,this.previewValue.length),this.showPreview&&e)){this.prevLoadedPreviewValue=e;var n=Array.isArray(e)?e:e?[e]:[];this.storeDataAsText?(n.forEach((function(e){var n=e.content||e;t.previewValue.push({name:e.name,type:e.type,content:n})})),this.previewValueChanged()):(this._previewLoader&&this._previewLoader.dispose(),this.isFileLoading=!0,this._previewLoader=new Va(this,(function(e,n){"error"!==e&&(n.forEach((function(e){t.previewValue.push(e)})),t.previewValueChanged()),t.isFileLoading=!1,t._previewLoader.dispose(),t._previewLoader=void 0})),this._previewLoader.load(n))}},t.prototype.allFilesOk=function(e){var t=this,n=this.errors?this.errors.length:0;return(e||[]).forEach((function(e){t.maxSize>0&&e.size>t.maxSize&&t.errors.push(new ln(t.maxSize,t))})),n===this.errors.length},t.prototype.isFileImage=function(e){if(!e||!e.content||!e.content.substring)return!1;var t=e.content&&e.content.substring(0,"data:image".length);return"data:image"===(t=t&&t.toLowerCase())||!!e.type&&0===e.type.toLowerCase().indexOf("image/")},t.prototype.getPlainData=function(t){void 0===t&&(t={includeEmpty:!0});var n=e.prototype.getPlainData.call(this,t);if(n&&!this.isEmpty()){n.isNode=!1;var o=Array.isArray(this.value)?this.value:[this.value];n.data=o.map((function(e,t){return{name:t,title:"File",value:e.content&&e.content||e,displayValue:e.name&&e.name||e,getString:function(e){return"object"==typeof e?JSON.stringify(e):e},isNode:!1}}))}return n},t.prototype.getImageWrapperCss=function(e){return(new Ae).append(this.cssClasses.imageWrapper).append(this.cssClasses.imageWrapperDefaultImage,this.defaultImage(e)).toString()},t.prototype.getActionsContainerCss=function(e){return(new Ae).append(e.actionsContainer).append(e.actionsContainerAnswered,this.isAnswered).toString()},t.prototype.getRemoveButtonCss=function(){return(new Ae).append(this.cssClasses.removeFileButton).append(this.cssClasses.contextButton).toString()},t.prototype.getChooseFileCss=function(){var e=this.isAnswered;return(new Ae).append(this.cssClasses.chooseFile).append(this.cssClasses.controlDisabled,this.isReadOnly).append(this.cssClasses.chooseFileAsText,!e).append(this.cssClasses.chooseFileAsTextDisabled,!e&&this.isInputReadOnly).append(this.cssClasses.contextButton,e).append(this.cssClasses.chooseFileAsIcon,e).toString()},t.prototype.getReadOnlyFileCss=function(){return(new Ae).append("form-control").append(this.cssClasses.placeholderInput).toString()},Object.defineProperty(t.prototype,"fileRootCss",{get:function(){return(new Ae).append(this.cssClasses.root).append(this.cssClasses.rootDisabled,this.isDisabledStyle).append(this.cssClasses.rootReadOnly,this.isReadOnlyStyle).append(this.cssClasses.rootPreview,this.isPreviewStyle).append(this.cssClasses.rootDragging,this.isDragging).append(this.cssClasses.rootAnswered,this.isAnswered).append(this.cssClasses.single,!this.allowMultiple).append(this.cssClasses.singleImage,!this.allowMultiple&&this.isAnswered&&this.canPreviewImage(this.value[0])).append(this.cssClasses.mobile,this.isMobile).toString()},enumerable:!1,configurable:!0}),t.prototype.getFileDecoratorCss=function(){return(new Ae).append(this.cssClasses.fileDecorator).append(this.cssClasses.onError,this.hasCssError()).append(this.cssClasses.fileDecoratorDrag,this.isDragging).toString()},t.prototype.onChange=function(e){if(a.isFileReaderAvailable()&&e&&e.files&&!(e.files.length<1)){for(var t=[],n=this.allowMultiple?e.files.length:1,o=0;o<n;o++)t.push(e.files[o]);e.value="",this.loadFiles(t)}},t.prototype.calcCssClasses=function(t){var n=e.prototype.calcCssClasses.call(this,t);return this.actionsContainer.cssClasses=t.actionBar,this.actionsContainer.cssClasses.itemWithTitle=this.actionsContainer.cssClasses.item,this.actionsContainer.cssClasses.item="",this.actionsContainer.cssClasses.itemAsIcon=n.contextButton,this.actionsContainer.containerCss=n.actionsContainer,n},t.prototype.onSurveyLoad=function(){e.prototype.onSurveyLoad.call(this),this.updateCurrentMode(),this.updateActionsVisibility(),this.loadPreview(this.value)},t.prototype.needResponsiveness=function(){return this.supportResponsiveness()&&this.isDefaultV2Theme},t.prototype.supportResponsiveness=function(){return!0},t.prototype.getObservedElementSelector=function(){return Qt(this.cssClasses.dragArea)},t.prototype.getFileListSelector=function(){return Qt(this.cssClasses.fileList)},Object.defineProperty(t.prototype,"renderedPages",{get:function(){return this._renderedPages},set:function(e){this.pagesAnimation.sync(e)},enumerable:!1,configurable:!0}),t.prototype.getPagesAnimationOptions=function(){var e=this;return{getEnterOptions:function(t){var n=e.cssClasses.page;return{cssClass:n?(new Ae).append(n+"--enter-from-left","left"==e.navigationDirection||"left-delete"==e.navigationDirection).append(n+"--enter-from-right","right"==e.navigationDirection).toString():""}},getLeaveOptions:function(t){var n=e.cssClasses.page;return{cssClass:n?(new Ae).append(n+"--leave-to-left","right"==e.navigationDirection).append(n+"--leave-to-right","left"==e.navigationDirection).toString():""}},getAnimatedElement:function(t){var n;return null===(n=e.rootElement)||void 0===n?void 0:n.querySelector("#"+t.id)},isAnimationEnabled:function(){return e.animationAllowed&&!!e.rootElement},getRerenderEvent:function(){return e.onElementRerendered}}},t.prototype.triggerResponsiveness=function(t){t&&(this.calculatedGapBetweenItems=void 0,this.calculatedItemWidth=void 0),e.prototype.triggerResponsiveness.call(this)},t.prototype.processResponsiveness=function(e,t){if(this._width=t,this.rootElement&&(!this.calculatedGapBetweenItems||!this.calculatedItemWidth)&&this.allowMultiple){var n=this.getFileListSelector()?this.rootElement.querySelector(this.getFileListSelector()):void 0;if(n){var o=n.querySelector(Qt(this.cssClasses.page));if(o){var i=o.querySelector(Qt(this.cssClasses.previewItem));this.calculatedGapBetweenItems=Math.ceil(Number.parseFloat(s.getComputedStyle(o).gap)),i&&(this.calculatedItemWidth=Math.ceil(Number.parseFloat(s.getComputedStyle(i).width)))}}}return!(!this.calculatedGapBetweenItems||!this.calculatedItemWidth)&&(this.pageSize=Math.max(this.calcAvailableItemsCount(t,this.calculatedItemWidth,this.calculatedGapBetweenItems),1),!0)},t.prototype.canDragDrop=function(){return!this.isInputReadOnly&&"camera"!==this.currentMode&&!this.isPlayingVideo},t.prototype.afterRenderQuestionElement=function(t){e.prototype.afterRenderQuestionElement.call(this,t),this.rootElement=t},t.prototype.beforeDestroyQuestionElement=function(t){e.prototype.beforeDestroyQuestionElement.call(this,t),this.stopVideo(),this.rootElement=void 0},t.prototype.clearFilesCore=function(){if(this.rootElement){var e=this.rootElement.querySelectorAll("input")[0];e&&(e.value="")}this.clear()},t.prototype.doRemoveFile=function(e,t){var n=this;t.stopPropagation(),this.needConfirmRemoveFile?wt({message:this.getConfirmRemoveMessage(e.name),funcOnYes:function(){n.removeFileCore(e)},locale:this.getLocale(),rootElement:this.survey.rootElement,cssClass:this.cssClasses.confirmDialog}):this.removeFileCore(e)},t.prototype.removeFileCore=function(e){var t=this.previewValue.indexOf(e);this.removeFileByContent(-1===t?e:this.value[t])},t.prototype.dispose=function(){this.cameraValue=void 0,this.closeVideoStream(),e.prototype.dispose.call(this)},Ca([x()],t.prototype,"isDragging",void 0),Ca([w({})],t.prototype,"previewValue",void 0),Ca([w({})],t.prototype,"pages",void 0),Ca([x({defaultValue:0,onSet:function(e,t){t.updateRenderedPages()}})],t.prototype,"indexToShow",void 0),Ca([x({defaultValue:1,onSet:function(e,t){t.updateFileNavigator()}})],t.prototype,"pageSize",void 0),Ca([x({defaultValue:!1})],t.prototype,"containsMultiplyFiles",void 0),Ca([x()],t.prototype,"allowCameraAccess",void 0),Ca([x({onSet:function(e,t){t.isLoadingFromJson||t.updateCurrentMode()}})],t.prototype,"sourceType",void 0),Ca([x()],t.prototype,"canFlipCameraValue",void 0),Ca([x({localizable:{defaultStr:"confirmRemoveFile"}})],t.prototype,"confirmRemoveMessage",void 0),Ca([x({localizable:{defaultStr:"confirmRemoveAllFiles"}})],t.prototype,"confirmRemoveAllMessage",void 0),Ca([x({localizable:{defaultStr:"noFileChosen"}})],t.prototype,"noFileChosenCaption",void 0),Ca([x({localizable:{defaultStr:"chooseFileCaption"}})],t.prototype,"chooseButtonCaption",void 0),Ca([x({localizable:{defaultStr:"replaceFileCaption"}})],t.prototype,"replaceButtonCaption",void 0),Ca([x({localizable:{defaultStr:"removeFileCaption"}})],t.prototype,"removeFileCaption",void 0),Ca([x({localizable:{defaultStr:"loadingFile"}})],t.prototype,"loadingFileTitle",void 0),Ca([x({localizable:{defaultStr:"chooseFile"}})],t.prototype,"chooseFileTitle",void 0),Ca([x({localizable:{defaultStr:"fileOrPhotoPlaceholder"}})],t.prototype,"fileOrPhotoPlaceholder",void 0),Ca([x({localizable:{defaultStr:"photoPlaceholder"}})],t.prototype,"photoPlaceholder",void 0),Ca([x({localizable:{defaultStr:"filePlaceholder"}})],t.prototype,"filePlaceholder",void 0),Ca([x()],t.prototype,"locRenderedPlaceholderValue",void 0),Ca([w()],t.prototype,"_renderedPages",void 0),t}(wa);L.addClass("file",[{name:"showCommentArea:switch",layout:"row",visible:!0,category:"general"},{name:"showPreview:boolean",default:!0,visible:!1},"allowMultiple:boolean",{name:"allowImagesPreview:boolean",default:!0,dependsOn:"showPreview",visibleIf:function(e){return!!e.showPreview}},"imageHeight","imageWidth","acceptedTypes",{name:"storeDataAsText:boolean",default:!0},{name:"waitForUpload:boolean",default:!1},{name:"maxSize:number",default:0},{name:"defaultValue",visible:!1},{name:"correctAnswer",visible:!1},{name:"validators",visible:!1},{name:"needConfirmRemoveFile:boolean"},{name:"sourceType",choices:["file","camera","file-camera"],default:"file",category:"general",visible:!0,visibleIf:function(){return tn.supportCreatorV2}},{name:"fileOrPhotoPlaceholder:text",serializationProperty:"locFileOrPhotoPlaceholder",category:"general",visibleIf:function(){return tn.supportCreatorV2}},{name:"photoPlaceholder:text",serializationProperty:"locPhotoPlaceholder",category:"general",visibleIf:function(){return tn.supportCreatorV2}},{name:"filePlaceholder:text",serializationProperty:"locFilePlaceholder",category:"general",visibleIf:function(){return tn.supportCreatorV2}},{name:"allowCameraAccess:switch",category:"general",visible:!1}],(function(){return new ka("")}),"question"),co.Instance.registerQuestion("file",(function(e){return new ka(e)}));var Va=function(){function e(e,t){this.fileQuestion=e,this.callback=t,this.loaded=[]}return e.prototype.load=function(e){var t=this,n=0;this.loaded=new Array(e.length),e.forEach((function(o,i){t.fileQuestion.survey&&t.fileQuestion.survey.downloadFile(t.fileQuestion,t.fileQuestion.name,o,(function(r,a){t.fileQuestion&&t.callback&&("error"!==r?(t.loaded[i]={content:a,name:o.name,type:o.type},++n===e.length&&t.callback(r,t.loaded)):t.callback("error",t.loaded))}))}))},e.prototype.dispose=function(){this.fileQuestion=void 0,this.callback=void 0},e}(),_a=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(t,n)};return function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function o(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}}(),Ta=function(e){function t(t){var n=e.call(this,t)||this;return n.createLocalizableString("html",n).onGetTextCallback=function(e){return n.survey&&!n.ignoreHtmlProgressing?n.processHtml(e):e},n}return _a(t,e),t.prototype.getType=function(){return"html"},Object.defineProperty(t.prototype,"isCompositeQuestion",{get:function(){return!0},enumerable:!1,configurable:!0}),t.prototype.getProcessedText=function(t){return this.ignoreHtmlProgressing?t:e.prototype.getProcessedText.call(this,t)},Object.defineProperty(t.prototype,"html",{get:function(){return this.getLocalizableStringText("html","")},set:function(e){this.setLocalizableStringText("html",e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"locHtml",{get:function(){return this.getLocalizableString("html")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"processedHtml",{get:function(){return this.processHtml(this.html)},enumerable:!1,configurable:!0}),t.prototype.processHtml=function(e){return this.survey?this.survey.processHtml(e,"html-question"):this.html},Object.defineProperty(t.prototype,"isNewA11yStructure",{get:function(){return!0},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"renderCssRoot",{get:function(){return(new Ae).append(this.cssClasses.root).append(this.cssClasses.nested,this.getIsNested()).toString()||void 0},enumerable:!1,configurable:!0}),t}($r);L.addClass("html",[{name:"html:html",serializationProperty:"locHtml"},{name:"hideNumber",visible:!1},{name:"state",visible:!1},{name:"titleLocation",visible:!1},{name:"descriptionLocation",visible:!1},{name:"errorLocation",visible:!1},{name:"indent",visible:!1},{name:"width",visible:!1}],(function(){return new Ta("")}),"nonvalue"),co.Instance.registerQuestion("html",(function(e){return new Ta(e)}));var Sa=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(t,n)};return function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function o(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}}(),Ea=function(e){function t(t){return e.call(this,t)||this}return Sa(t,e),t.prototype.getDefaultItemComponent=function(){return"survey-radiogroup-item"},t.prototype.getType=function(){return"radiogroup"},t.prototype.getFirstInputElementId=function(){return this.inputId+"_0"},Object.defineProperty(t.prototype,"selectedItem",{get:function(){return this.getSingleSelectedItem()},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"showClearButton",{get:function(){return this.getPropertyValue("showClearButton")},set:function(e){this.setPropertyValue("showClearButton",e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"canShowClearButton",{get:function(){return this.showClearButton&&!this.isReadOnly},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"clearButtonCaption",{get:function(){return this.getLocalizationString("clearCaption")},enumerable:!1,configurable:!0}),t.prototype.supportGoNextPageAutomatic=function(){return!0===this.isMouseDown&&!this.isOtherSelected},t.prototype.getConditionJson=function(t,n){void 0===t&&(t=null),void 0===n&&(n=null);var o=e.prototype.getConditionJson.call(this,t,n);return delete o.showClearButton,o},t.prototype.setNewComment=function(t){this.isMouseDown=!0,e.prototype.setNewComment.call(this,t),this.isMouseDown=!1},Object.defineProperty(t.prototype,"showClearButtonInContent",{get:function(){return!this.isDefaultV2Theme&&this.canShowClearButton},enumerable:!1,configurable:!0}),t.prototype.clickItemHandler=function(e){this.isReadOnlyAttr||(this.renderedValue=e.value,this.onItemSelected(e))},t.prototype.getDefaultTitleActions=function(){var e=this,t=[];if(this.isDefaultV2Theme&&!this.isDesignMode){var n=new tt({locTitleName:"clearCaption",id:"sv-clr-btn-"+this.id,action:function(){e.clearValue(!0)},innerCss:this.cssClasses.clearButton,visible:new Ve((function(){return e.canShowClearButton}))});t.push(n)}return t},Object.defineProperty(t.prototype,"isNewA11yStructure",{get:function(){return!0},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"a11y_input_ariaRole",{get:function(){return"radiogroup"},enumerable:!1,configurable:!0}),t}(Ji);L.addClass("radiogroup",[{name:"showClearButton:boolean",default:!1},{name:"separateSpecialChoices",visible:!0},{name:"itemComponent",visible:!1,default:"survey-radiogroup-item"}],(function(){return new Ea("")}),"checkboxbase"),co.Instance.registerQuestion("radiogroup",(function(e){var t=new Ea(e);return t.choices=co.DefaultChoices,t}));var Ra=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(t,n)};return function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function o(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}}(),Ia=function(e,t,n,o){var i,r=arguments.length,a=r<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,n):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,o);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(a=(r<3?i(a):r>3?i(t,n,a):i(t,n))||a);return r>3&&a&&Object.defineProperty(t,n,a),a};function Oa(e){if("function"==typeof getComputedStyle){var t=getComputedStyle(s.getDocumentElement());return t.getPropertyValue&&t.getPropertyValue(e)}return""}function Aa(e,t,n){var o=!!e&&e[t];if(o||(o=Oa(n)),!o)return null;var i=s.createElement("canvas");if(!i)return null;var r=i.getContext("2d");r.fillStyle=o,"#000000"==r.fillStyle&&(r.fillStyle=Oa(n));var a=r.fillStyle;if(a.startsWith("rgba"))return a.substring(5,a.length-1).split(",").map((function(e){return+e.trim()}));var l=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(a);return l?[parseInt(l[1],16),parseInt(l[2],16),parseInt(l[3],16),1]:null}var Da=function(e){function t(t,n){void 0===n&&(n=null);var o=e.call(this)||this;return o.itemValue=t,o.locString=n,o.locText.onStringChanged.add(o.onStringChangedCallback.bind(o)),o.onStringChangedCallback(),o}return Ra(t,e),t.prototype.onStringChangedCallback=function(){this.text=this.itemValue.text},Object.defineProperty(t.prototype,"value",{get:function(){return this.itemValue.getPropertyValue("value")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"locText",{get:function(){return this.locString||this.itemValue.locText},enumerable:!1,configurable:!0}),Ia([x({defaultValue:""})],t.prototype,"highlight",void 0),Ia([x({defaultValue:""})],t.prototype,"text",void 0),Ia([x()],t.prototype,"style",void 0),t}(_e),qa=function(e){function t(t,n,o){var i=e.call(this,t,n)||this;return i.description=o,i}return Ra(t,e),t}(Nn),La=function(e){function t(t){var n=e.call(this,t)||this;return n._syncPropertiesChanging=!1,n.iCounter=0,n.createItemValues("rateValues"),n.createLocalizableString("ratingOptionsCaption",n,!1,!0),n.registerFunctionOnPropertiesValueChanged(["rateMin","rateMax","minRateDescription","maxRateDescription","rateStep","displayRateDescriptionsAsExtremeItems"],(function(){return n.resetRenderedItems()})),n.registerFunctionOnPropertiesValueChanged(["rateType"],(function(){n.setIconsToRateValues(),n.resetRenderedItems(),n.updateRateCount()})),n.registerFunctionOnPropertiesValueChanged(["rateValues"],(function(){n.setIconsToRateValues(),n.resetRenderedItems()})),n.registerSychProperties(["rateValues"],(function(){n.autoGenerate=0==n.rateValues.length,n.setIconsToRateValues(),n.resetRenderedItems()})),n.registerFunctionOnPropertiesValueChanged(["rateColorMode","scaleColorMode"],(function(){n.updateColors(n.survey.themeVariables)})),n.registerFunctionOnPropertiesValueChanged(["displayMode"],(function(){n.updateRenderAsBasedOnDisplayMode(!0)})),n.registerSychProperties(["autoGenerate"],(function(){n.autoGenerate||0!==n.rateValues.length||n.setPropertyValue("rateValues",n.visibleRateValues),n.autoGenerate&&(n.rateValues.splice(0,n.rateValues.length),n.updateRateMax()),n.resetRenderedItems()})),n.createLocalizableString("minRateDescription",n,!0).onStringChanged.add((function(e,t){n.hasMinRateDescription=!e.isEmpty})),n.createLocalizableString("maxRateDescription",n,!0).onStringChanged.add((function(e,t){n.hasMaxRateDescription=!e.isEmpty})),n.createLocalizableString("readOnlyText",n,!0),n.registerPropertyChangedHandlers(["value","renderAs","placeholder","choices","visibleChoices"],(function(){n.updateReadOnlyText()})),n.updateReadOnlyText(),n.initPropertyDependencies(),n}return Ra(t,e),t.prototype.setIconsToRateValues=function(){var e=this;"smileys"==this.rateType&&this.rateValues.map((function(t){return t.icon=e.getItemSmiley(t)}))},t.prototype.locStrsChanged=function(){var t;e.prototype.locStrsChanged.call(this),this.updateReadOnlyText(),null===(t=this.dropdownListModelValue)||void 0===t||t.locStrsChanged()},t.prototype.updateReadOnlyText=function(){this.readOnlyText=this.displayValue||this.placeholder},t.prototype.endLoadingFromJson=function(){e.prototype.endLoadingFromJson.call(this),void 0!==this.jsonObj.rateMin&&void 0!==this.jsonObj.rateCount&&void 0===this.jsonObj.rateMax&&this.updateRateMax(),void 0!==this.jsonObj.rateMax&&void 0!==this.jsonObj.rateCount&&void 0===this.jsonObj.rateMin&&this.updateRateMin(),void 0===this.jsonObj.autoGenerate&&void 0!==this.jsonObj.rateValues&&(this.autoGenerate=!this.jsonObj.rateValues.length),this.updateRateCount(),this.setIconsToRateValues()},t.prototype.registerSychProperties=function(e,t){var n=this;this.registerFunctionOnPropertiesValueChanged(e,(function(){n._syncPropertiesChanging||(n._syncPropertiesChanging=!0,t(),n._syncPropertiesChanging=!1)}))},t.prototype.useRateValues=function(){return!!this.rateValues.length&&!this.autoGenerate},t.prototype.updateRateMax=function(){this.rateMax=this.rateMin+this.rateStep*(this.rateCount-1)},t.prototype.updateRateMin=function(){this.rateMin=this.rateMax-this.rateStep*(this.rateCount-1)},t.prototype.updateRateCount=function(){var e=0;(e=this.useRateValues()?this.rateValues.length:Math.trunc((this.rateMax-this.rateMin)/(this.rateStep||1))+1)>10&&"smileys"==this.rateDisplayMode&&(e=10),this.rateCount=e,this.rateValues.length>e&&this.rateValues.splice(e,this.rateValues.length-e)},t.prototype.initPropertyDependencies=function(){var e=this;this.registerSychProperties(["rateCount"],(function(){if(e.useRateValues())if(e.rateCount<e.rateValues.length){if(e.rateCount>=10&&"smileys"==e.rateDisplayMode)return;e.rateValues.splice(e.rateCount,e.rateValues.length-e.rateCount)}else for(var t=e.rateValues.length;t<e.rateCount;t++)e.rateValues.push(new Nn(d("choices_Item")+(t+1)));else e.rateMax=e.rateMin+e.rateStep*(e.rateCount-1)})),this.registerSychProperties(["rateMin","rateMax","rateStep","rateValues"],(function(){e.updateRateCount()}))},Object.defineProperty(t.prototype,"showSelectedItemLocText",{get:function(){return!this.readOnly&&!this.inputHasValue&&!!this.selectedItemLocText},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"selectedItemLocText",{get:function(){var e,t=this;return!this.readOnly&&(null===(e=this.visibleRateValues.filter((function(e){return e.value==t.value}))[0])||void 0===e?void 0:e.locText)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"rateValues",{get:function(){return this.getPropertyValue("rateValues")},set:function(e){this.setPropertyValue("rateValues",e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"rateMin",{get:function(){return this.getPropertyValue("rateMin")},set:function(e){this.setPropertyValue("rateMin",e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"rateMax",{get:function(){return this.getPropertyValue("rateMax")},set:function(e){this.setPropertyValue("rateMax",e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"rateStep",{get:function(){return this.getPropertyValue("rateStep")},set:function(e){this.setPropertyValue("rateStep",e)},enumerable:!1,configurable:!0}),t.prototype.updateColors=function(e){"monochrome"!==this.colorMode&&s.isAvailable()&&(t.colorsCalculated||(t.badColor=Aa(e,"--sjs-special-red","--sd-rating-bad-color"),t.normalColor=Aa(e,"--sjs-special-yellow","--sd-rating-normal-color"),t.goodColor=Aa(e,"--sjs-special-green","--sd-rating-good-color"),t.badColorLight=Aa(e,"--sjs-special-red-light","--sd-rating-bad-color-light"),t.normalColorLight=Aa(e,"--sjs-special-yellow-light","--sd-rating-normal-color-light"),t.goodColorLight=Aa(e,"--sjs-special-green-light","--sd-rating-good-color-light"),this.colorsCalculated=!0,this.resetRenderedItems()))},t.prototype.getDisplayValueCore=function(t,n){if(!this.useRateValues)return e.prototype.getDisplayValueCore.call(this,t,n);var o=Nn.getTextOrHtmlByValue(this.visibleRateValues,n);return o||n},Object.defineProperty(t.prototype,"visibleRateValues",{get:function(){return this.renderedRateItems.map((function(e){return e.itemValue}))},enumerable:!1,configurable:!0}),t.prototype.supportEmptyValidation=function(){return"dropdown"===this.renderAs},t.prototype.itemValuePropertyChanged=function(t,n,o,i){this.useRateValues()||void 0===i||(this.autoGenerate=!1),e.prototype.itemValuePropertyChanged.call(this,t,n,o,i)},t.prototype.runConditionCore=function(t,n){e.prototype.runConditionCore.call(this,t,n),this.runRateItesmCondition(t,n)},t.prototype.runRateItesmCondition=function(e,t){var n;if(this.useRateValues()){var o=!1;if((null===(n=this.survey)||void 0===n?void 0:n.areInvisibleElementsShowing)?this.rateValues.forEach((function(e){o=o||!e.isVisible,e.setIsVisible(e,!0)})):o=Nn.runConditionsForItems(this.rateValues,void 0,void 0,e,t,!0),o&&(this.resetRenderedItems(),!this.isEmpty()&&!this.isReadOnly)){var i=Nn.getItemByValue(this.rateValues,this.value);i&&!i.isVisible&&this.clearValue()}}},t.prototype.getRateValuesCore=function(){if(!this.useRateValues())return this.createRateValues();var e=new Array;return this.rateValues.forEach((function(t){t.isVisible&&e.push(t)})),e},t.prototype.calculateRateValues=function(){var e=this.getRateValuesCore();return"smileys"==this.rateType&&e.length>10&&(e=e.slice(0,10)),e},t.prototype.calculateRenderedRateItems=function(){var e=this,t=this.calculateRateValues();return t.map((function(n,o){var i=null;return e.displayRateDescriptionsAsExtremeItems&&(0==o&&(i=new Da(n,e.minRateDescription&&e.locMinRateDescription||n.locText)),o==t.length-1&&(i=new Da(n,e.maxRateDescription&&e.locMaxRateDescription||n.locText))),i||(i=new Da(n)),i}))},t.prototype.calculateVisibleChoices=function(){var e=this;return this.calculateRateValues().map((function(t,n){return e.getRatingItemValue(t,n)}))},t.prototype.resetRenderedItems=function(){if(this.autoGenerate){var e=this.getRateValuesCore();this.rateMax=e[e.length-1].value}Array.isArray(this.getPropertyValueWithoutDefault("renderedRateItems"))&&this.setArrayPropertyDirectly("renderedRateItems",this.calculateRenderedRateItems()),Array.isArray(this.getPropertyValueWithoutDefault("visibleChoices"))&&this.setArrayPropertyDirectly("visibleChoices",this.calculateVisibleChoices)},Object.defineProperty(t.prototype,"renderedRateItems",{get:function(){var e=this;return this.getPropertyValue("renderedRateItems",void 0,(function(){return e.calculateRenderedRateItems()}))},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"visibleChoices",{get:function(){var e=this;return this.getPropertyValue("visibleChoices",void 0,(function(){return e.calculateVisibleChoices()}))},enumerable:!1,configurable:!0}),t.prototype.createRateValues=function(){for(var e=[],t=this.rateMin,n=this.rateStep;t<=this.rateMax&&e.length<tn.ratingMaximumRateValueCount;){var o=new Nn(t);o.locOwner=this,o.ownerPropertyName="rateValues",e.push(o),t=this.correctValue(t+n,n)}return e},t.prototype.getRatingItemValue=function(e,t){if(!e)return null;var n,o=e.value;0===t&&(n=this.minRateDescription&&this.locMinRateDescription),t===this.rateCount-1&&(n=this.maxRateDescription&&this.locMaxRateDescription);var i=new qa(o,e.text,n);return i.locOwner=e.locOwner,i.ownerPropertyName=e.ownerPropertyName,i},t.prototype.correctValue=function(e,t){if(!e)return e;if(Math.round(e)==e)return e;for(var n=0;Math.round(t)!=t;)t*=10,n++;return parseFloat(e.toFixed(n))},t.prototype.getType=function(){return"rating"},t.prototype.getFirstInputElementId=function(){return this.inputId+"_0"},t.prototype.getInputId=function(e){return this.inputId+"_"+e},Object.defineProperty(t.prototype,"questionName",{get:function(){return this.name+"_"+this.id},enumerable:!1,configurable:!0}),t.prototype.supportGoNextPageAutomatic=function(){return!0===this.isMouseDown||"dropdown"===this.renderAs},t.prototype.supportOther=function(){return!1},t.prototype.getPlainDataCalculatedValue=function(t){var n=e.prototype.getPlainDataCalculatedValue.call(this,t);if(void 0!==n||!this.useRateValues||this.isEmpty())return n;var o=Nn.getItemByValue(this.visibleRateValues,this.value);return o?o[t]:void 0},Object.defineProperty(t.prototype,"minRateDescription",{get:function(){return this.getLocalizableStringText("minRateDescription")},set:function(e){this.setLocalizableStringText("minRateDescription",e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"locMinRateDescription",{get:function(){return this.getLocalizableString("minRateDescription")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"maxRateDescription",{get:function(){return this.getLocalizableStringText("maxRateDescription")},set:function(e){this.setLocalizableStringText("maxRateDescription",e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"locMaxRateDescription",{get:function(){return this.getLocalizableString("maxRateDescription")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"hasMinLabel",{get:function(){return!this.displayRateDescriptionsAsExtremeItems&&!!this.hasMinRateDescription},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"hasMaxLabel",{get:function(){return!this.displayRateDescriptionsAsExtremeItems&&!!this.hasMaxRateDescription},enumerable:!1,configurable:!0}),t.prototype.updateRenderAsBasedOnDisplayMode=function(e){this.isDesignMode?(e||"dropdown"===this.renderAs)&&(this.renderAs="default"):(e||"auto"!==this.displayMode)&&(this.renderAs="dropdown"===this.displayMode?"dropdown":"default")},t.prototype.onSurveyLoad=function(){e.prototype.onSurveyLoad.call(this),"dropdown"===this.renderAs&&"auto"===this.displayMode?this.displayMode=this.renderAs:this.updateRenderAsBasedOnDisplayMode()},Object.defineProperty(t.prototype,"rateDisplayMode",{get:function(){return this.rateType},set:function(e){this.rateType=e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isStar",{get:function(){return"stars"==this.rateType},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isSmiley",{get:function(){return"smileys"==this.rateType},enumerable:!1,configurable:!0}),t.prototype.getDefaultItemComponent=function(){return"dropdown"==this.renderAs?"sv-rating-dropdown-item":this.isStar?"sv-rating-item-star":this.isSmiley?"sv-rating-item-smiley":"sv-rating-item"},Object.defineProperty(t.prototype,"itemComponent",{get:function(){return this.getPropertyValue("itemComponent",this.getDefaultItemComponent())},set:function(e){this.setPropertyValue("itemComponent",e)},enumerable:!1,configurable:!0}),t.prototype.valueToData=function(e){if(this.useRateValues()){var t=Nn.getItemByValue(this.rateValues,e);return t?t.value:e}return isNaN(e)?e:parseFloat(e)},t.prototype.setValueFromClick=function(e){if(!this.isReadOnlyAttr){this.value===("string"==typeof this.value?e:parseFloat(e))?this.clearValue(!0):this.value=e;for(var t=0;t<this.renderedRateItems.length;t++)this.renderedRateItems[t].highlight="none"}},t.prototype.onItemMouseIn=function(e){if(!Ho&&!this.isReadOnly&&e.itemValue.isEnabled&&!this.isDesignMode){var t=!0,n=null!=this.value;if("stars"===this.rateType)for(var o=0;o<this.renderedRateItems.length;o++)this.renderedRateItems[o].highlight=(t&&!n?"highlighted":!t&&n&&"unhighlighted")||"none",this.renderedRateItems[o]==e&&(t=!1),this.renderedRateItems[o].itemValue.value==this.value&&(n=!1);else e.highlight="highlighted"}},t.prototype.onItemMouseOut=function(e){Ho||this.renderedRateItems.forEach((function(e){return e.highlight="none"}))},Object.defineProperty(t.prototype,"itemSmallMode",{get:function(){return this.inMatrixMode&&"small"==tn.matrix.rateSize},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"ratingRootCss",{get:function(){var e=this.hasMaxLabel||this.hasMinLabel;return(new Ae).append(this.cssClasses.root).append(this.cssClasses.rootWrappable,"buttons"==this.displayMode||!!this.survey&&this.survey.isDesignMode||"auto"==this.displayMode&&!this.supportResponsiveness()).append(this.cssClasses.rootLabelsTop,e&&"top"==this.rateDescriptionLocation).append(this.cssClasses.rootLabelsBottom,e&&"bottom"==this.rateDescriptionLocation).append(this.cssClasses.rootLabelsDiagonal,e&&"topBottom"==this.rateDescriptionLocation).append(this.cssClasses.itemSmall,this.itemSmallMode&&"labels"!=this.rateType).toString()},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"itemStarIcon",{get:function(){return this.itemSmallMode?"icon-rating-star-small":"icon-rating-star"},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"itemStarIconAlt",{get:function(){return this.itemStarIcon+"-2"},enumerable:!1,configurable:!0}),t.prototype.getItemSmiley=function(e){var t=this.useRateValues()?this.rateValues.length:this.rateMax-this.rateMin+1,n=["very-good","not-good","normal","good","average","excellent","poor","perfect","very-poor","terrible"].slice(0,t),o=["terrible","very-poor","poor","not-good","average","normal","good","very-good","excellent","perfect"].filter((function(e){return-1!=n.indexOf(e)}));return this.useRateValues()?o[this.rateValues.indexOf(e)]:o[e.value-this.rateMin]},t.prototype.getItemSmileyIconName=function(e){return"icon-"+this.getItemSmiley(e)},t.prototype.getItemClassByText=function(e,t){return this.getItemClass(e)},t.prototype.getRenderedItemColor=function(e,n){var o=n?t.badColorLight:t.badColor,i=n?t.goodColorLight:t.goodColor,r=(this.rateCount-1)/2,a=n?t.normalColorLight:t.normalColor;if(e<r?i=a:(o=a,e-=r),!o||!i)return null;for(var s=[0,0,0,0],l=0;l<4;l++)s[l]=o[l]+(i[l]-o[l])*e/r,l<3&&(s[l]=Math.trunc(s[l]));return"rgba("+s[0]+", "+s[1]+", "+s[2]+", "+s[3]+")"},t.prototype.getItemStyle=function(e,t){if(void 0===t&&(t="none"),"monochrome"===this.scaleColorMode&&"default"==this.rateColorMode||this.isPreviewStyle||this.isReadOnlyStyle)return{};var n=this.visibleRateValues.indexOf(e),o=this.getRenderedItemColor(n,!1),i="highlighted"==t&&"colored"===this.scaleColorMode&&this.getRenderedItemColor(n,!0);return i?{"--sd-rating-item-color":o,"--sd-rating-item-color-light":i}:{"--sd-rating-item-color":o}},t.prototype.getItemClass=function(e,t){var n=this;void 0===t&&(t="none");var o=this.value==e.value;this.isStar&&(o=this.useRateValues()?this.rateValues.indexOf(this.rateValues.filter((function(e){return e.value==n.value}))[0])>=this.rateValues.indexOf(e):this.value>=e.value);var i=!(this.isReadOnly||!e.isEnabled||this.value==e.value||this.survey&&this.survey.isDesignMode),r=this.renderedRateItems.filter((function(t){return t.itemValue==e}))[0],a=this.isStar&&"highlighted"==(null==r?void 0:r.highlight),s=this.isStar&&"unhighlighted"==(null==r?void 0:r.highlight),l=this.cssClasses.item,u=this.cssClasses.selected,c=this.cssClasses.itemDisabled,p=this.cssClasses.itemReadOnly,d=this.cssClasses.itemPreview,h=this.cssClasses.itemHover,m=this.cssClasses.itemOnError,g=null,f=null,y=null,v=null,b=null;this.isStar&&(l=this.cssClasses.itemStar,u=this.cssClasses.itemStarSelected,c=this.cssClasses.itemStarDisabled,p=this.cssClasses.itemStarReadOnly,d=this.cssClasses.itemStarPreview,h=this.cssClasses.itemStarHover,m=this.cssClasses.itemStarOnError,g=this.cssClasses.itemStarHighlighted,f=this.cssClasses.itemStarUnhighlighted,b=this.cssClasses.itemStarSmall),this.isSmiley&&(l=this.cssClasses.itemSmiley,u=this.cssClasses.itemSmileySelected,c=this.cssClasses.itemSmileyDisabled,p=this.cssClasses.itemSmileyReadOnly,d=this.cssClasses.itemSmileyPreview,h=this.cssClasses.itemSmileyHover,m=this.cssClasses.itemSmileyOnError,g=this.cssClasses.itemSmileyHighlighted,y=this.cssClasses.itemSmileyScaleColored,v=this.cssClasses.itemSmileyRateColored,b=this.cssClasses.itemSmileySmall);var x=!this.isStar&&!this.isSmiley&&(!this.displayRateDescriptionsAsExtremeItems||this.useRateValues()&&e!=this.rateValues[0]&&e!=this.rateValues[this.rateValues.length-1]||!this.useRateValues()&&e.value!=this.rateMin&&e.value!=this.rateMax)&&e.locText.calculatedText.length<=2&&Number.isInteger(Number(e.locText.calculatedText));return(new Ae).append(l).append(u,o).append(c,this.isDisabledStyle).append(p,this.isReadOnlyStyle).append(d,this.isPreviewStyle).append(h,i).append(g,a).append(y,"colored"==this.scaleColorMode).append(v,"scale"==this.rateColorMode&&o).append(f,s).append(m,this.hasCssError()).append(b,this.itemSmallMode).append(this.cssClasses.itemFixedSize,x).toString()},t.prototype.getControlClass=function(){return this.isEmpty(),(new Ae).append(this.cssClasses.control).append(this.cssClasses.controlEmpty,this.isEmpty()).append(this.cssClasses.onError,this.hasCssError()).append(this.cssClasses.controlDisabled,this.isDisabledStyle).append(this.cssClasses.controlReadOnly,this.isReadOnlyStyle).append(this.cssClasses.controlPreview,this.isPreviewStyle).toString()},Object.defineProperty(t.prototype,"placeholder",{get:function(){return this.getLocalizableStringText("ratingOptionsCaption")},set:function(e){this.setLocalizableStringText("ratingOptionsCaption",e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"locPlaceholder",{get:function(){return this.getLocalizableString("ratingOptionsCaption")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"allowClear",{get:function(){return!0},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"searchEnabled",{get:function(){return!1},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"renderedValue",{get:function(){return this.value},set:function(e){this.value=e},enumerable:!1,configurable:!0}),t.prototype.isItemSelected=function(e){return e.value==this.value},Object.defineProperty(t.prototype,"readOnlyText",{get:function(){return this.getLocalizableStringText("readOnlyText")},set:function(e){this.setLocalizableStringText("readOnlyText",e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"locReadOnlyText",{get:function(){return this.getLocalizableString("readOnlyText")},enumerable:!1,configurable:!0}),t.prototype.needResponsiveWidth=function(){this.getPropertyValue("rateValues");var e=this.getPropertyValue("rateStep"),t=this.getPropertyValue("rateMax"),n=this.getPropertyValue("rateMin");return"dropdown"!=this.displayMode&&!!(this.hasMinRateDescription||this.hasMaxRateDescription||e&&(t-n)/e>9)},t.prototype.supportResponsiveness=function(){return!this.inMatrixMode},t.prototype.onBeforeSetCompactRenderer=function(){this.isDisposed||this.dropdownListModelValue||(this.dropdownListModelValue=new pr(this),this.ariaExpanded="false")},t.prototype.getCompactRenderAs=function(){return"buttons"==this.displayMode?"default":"dropdown"},t.prototype.getDesktopRenderAs=function(){return"dropdown"==this.displayMode?"dropdown":"default"},Object.defineProperty(t.prototype,"dropdownListModel",{get:function(){return"dropdown"===this.renderAs&&this.onBeforeSetCompactRenderer(),this.dropdownListModelValue},set:function(e){this.dropdownListModelValue=e,this.ariaExpanded=e?"false":void 0,this.updateElementCss()},enumerable:!1,configurable:!0}),t.prototype.onBlurCore=function(t){var n;null===(n=this.dropdownListModel)||void 0===n||n.onBlur(t),e.prototype.onBlurCore.call(this,t)},t.prototype.updateCssClasses=function(t,n){e.prototype.updateCssClasses.call(this,t,n),Kt(t,n)},t.prototype.calcCssClasses=function(t){var n=e.prototype.calcCssClasses.call(this,t);return this.dropdownListModelValue&&this.dropdownListModelValue.updateCssClasses(n.popup,n.list),n},t.prototype.themeChanged=function(e){this.colorsCalculated=!1,this.updateColors(e.cssVariables)},t.prototype.setSurveyImpl=function(t,n){e.prototype.setSurveyImpl.call(this,t,n),this.survey&&(this.updateColors(this.survey.themeVariables),this.updateRenderAsBasedOnDisplayMode())},t.prototype.dispose=function(){e.prototype.dispose.call(this),this.dropdownListModelValue&&(this.dropdownListModelValue.dispose(),this.dropdownListModelValue=void 0)},t.colorsCalculated=!1,Ia([x({defaultValue:!1})],t.prototype,"inputHasValue",void 0),Ia([x()],t.prototype,"autoGenerate",void 0),Ia([x()],t.prototype,"rateCount",void 0),Ia([x({defaultValue:!1})],t.prototype,"hasMinRateDescription",void 0),Ia([x({defaultValue:!1})],t.prototype,"hasMaxRateDescription",void 0),Ia([x()],t.prototype,"displayRateDescriptionsAsExtremeItems",void 0),Ia([x()],t.prototype,"displayMode",void 0),Ia([x()],t.prototype,"rateDescriptionLocation",void 0),Ia([x()],t.prototype,"rateType",void 0),Ia([x()],t.prototype,"scaleColorMode",void 0),Ia([x()],t.prototype,"rateColorMode",void 0),t}(qn);L.addClass("rating",[{name:"showCommentArea:switch",layout:"row",visible:!0,category:"general"},{name:"rateType",alternativeName:"rateDisplayMode",default:"labels",category:"rateValues",choices:["labels","stars","smileys"],visibleIndex:1},{name:"scaleColorMode",category:"rateValues",default:"monochrome",choices:["monochrome","colored"],visibleIf:function(e){return"smileys"==e.rateDisplayMode},visibleIndex:2},{name:"rateColorMode",category:"rateValues",default:"scale",choices:["default","scale"],visibleIf:function(e){return"smileys"==e.rateDisplayMode&&"monochrome"==e.scaleColorMode},visibleIndex:3},{name:"autoGenerate",category:"rateValues",default:!0,choices:[!0,!1],visibleIndex:5},{name:"rateCount:number",default:5,category:"rateValues",visibleIndex:4,onSettingValue:function(e,t){return t<2?2:t>tn.ratingMaximumRateValueCount&&t>e.rateValues.length?tn.ratingMaximumRateValueCount:t>10&&"smileys"==e.rateDisplayMode?10:t}},{name:"rateValues:itemvalue[]",baseValue:function(){return d("choices_Item")},category:"rateValues",visibleIf:function(e){return!e.autoGenerate},visibleIndex:6},{name:"rateMin:number",default:1,onSettingValue:function(e,t){return t>e.rateMax-e.rateStep?e.rateMax-e.rateStep:t},visibleIf:function(e){return!!e.autoGenerate},visibleIndex:7},{name:"rateMax:number",default:5,onSettingValue:function(e,t){return t<e.rateMin+e.rateStep?e.rateMin+e.rateStep:t},visibleIf:function(e){return!!e.autoGenerate},visibleIndex:8},{name:"rateStep:number",default:1,minValue:.1,onSettingValue:function(e,t){return t<=0&&(t=1),t>e.rateMax-e.rateMin&&(t=e.rateMax-e.rateMin),t},visibleIf:function(e){return!!e.autoGenerate},visibleIndex:9},{name:"minRateDescription",alternativeName:"mininumRateDescription",serializationProperty:"locMinRateDescription",visibleIndex:18},{name:"maxRateDescription",alternativeName:"maximumRateDescription",serializationProperty:"locMaxRateDescription",visibleIndex:19},{name:"displayRateDescriptionsAsExtremeItems:boolean",default:!1,visibleIndex:21,visibleIf:function(e){return"labels"==e.rateType}},{name:"rateDescriptionLocation",default:"leftRight",choices:["leftRight","top","bottom","topBottom"],visibleIndex:20},{name:"displayMode",default:"auto",choices:["auto","buttons","dropdown"],visibleIndex:0},{name:"itemComponent",visible:!1,defaultFunc:function(e){return e?(e.getOriginalObj&&(e=e.getOriginalObj()),e.getDefaultItemComponent()):"sv-rating-item"}}],(function(){return new La("")}),"question"),co.Instance.registerQuestion("rating",(function(e){return new La(e)}));var Ma=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(t,n)};return function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function o(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}}(),ja=function(e,t,n,o){var i,r=arguments.length,a=r<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,n):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,o);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(a=(r<3?i(a):r>3?i(t,n,a):i(t,n))||a);return r>3&&a&&Object.defineProperty(t,n,a),a},Na=function(e){function t(t){var n=e.call(this,t)||this;return n.createLocalizableString("labelFalse",n,!0,"booleanUncheckedLabel"),n.createLocalizableString("labelTrue",n,!0,"booleanCheckedLabel"),n}return Ma(t,e),t.prototype.getType=function(){return"boolean"},t.prototype.isLayoutTypeSupported=function(e){return!0},t.prototype.supportGoNextPageAutomatic=function(){return"checkbox"!==this.renderAs},Object.defineProperty(t.prototype,"isIndeterminate",{get:function(){return this.isEmpty()},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"hasTitle",{get:function(){return!0},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"booleanValue",{get:function(){return this.isEmpty()?null:this.value==this.getValueTrue()},set:function(e){this.isReadOnly||this.isDesignMode||this.setBooleanValue(e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"checkedValue",{get:function(){return this.booleanValue},set:function(e){this.booleanValue=e},enumerable:!1,configurable:!0}),t.prototype.setBooleanValue=function(e){this.isValueEmpty(e)?(this.value=void 0,this.booleanValueRendered=void 0):(this.value=1==e?this.getValueTrue():this.getValueFalse(),this.booleanValueRendered=e)},Object.defineProperty(t.prototype,"defaultValue",{get:function(){return this.getPropertyValue("defaultValue")},set:function(e){!0===e&&(e="true"),!1===e&&(e="false"),this.setPropertyValue("defaultValue",e),this.updateValueWithDefaults()},enumerable:!1,configurable:!0}),t.prototype.getDefaultValue=function(){var e=this.defaultValue;if("indeterminate"!==e&&null!=e)return"true"==e?this.getValueTrue():this.getValueFalse()},Object.defineProperty(t.prototype,"locTitle",{get:function(){var e=this.getLocalizableString("title");return!this.isValueEmpty(this.locLabel.text)&&(this.isValueEmpty(e.text)||this.isLabelRendered&&!this.showTitle)?this.locLabel:e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"labelRenderedAriaID",{get:function(){return this.isLabelRendered?this.ariaTitleId:null},enumerable:!1,configurable:!0}),t.prototype.beforeDestroyQuestionElement=function(t){e.prototype.beforeDestroyQuestionElement.call(this,t),this.leftAnswerElement=void 0},Object.defineProperty(t.prototype,"isLabelRendered",{get:function(){return"hidden"===this.titleLocation},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"canRenderLabelDescription",{get:function(){return this.isLabelRendered&&this.hasDescription&&(this.hasDescriptionUnderTitle||this.hasDescriptionUnderInput)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"labelTrue",{get:function(){return this.getLocalizableStringText("labelTrue")},set:function(e){this.setLocalizableStringText("labelTrue",e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"locLabelTrue",{get:function(){return this.getLocalizableString("labelTrue")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isDeterminated",{get:function(){return null!==this.booleanValue&&void 0!==this.booleanValue},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"locLabelLeft",{get:function(){return this.swapOrder?this.getLocalizableString("labelTrue"):this.getLocalizableString("labelFalse")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"locLabelRight",{get:function(){return this.swapOrder?this.getLocalizableString("labelFalse"):this.getLocalizableString("labelTrue")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"labelFalse",{get:function(){return this.getLocalizableStringText("labelFalse")},set:function(e){this.setLocalizableStringText("labelFalse",e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"locLabelFalse",{get:function(){return this.getLocalizableString("labelFalse")},enumerable:!1,configurable:!0}),t.prototype.getValueTrue=function(){return void 0===this.valueTrue||this.valueTrue},t.prototype.getValueFalse=function(){return void 0!==this.valueFalse&&this.valueFalse},t.prototype.setDefaultValue=function(){this.isDefaultValueSet("true",this.valueTrue)&&this.setBooleanValue(!0),this.isDefaultValueSet("false",this.valueFalse)&&this.setBooleanValue(!1);var e=this.defaultValue;"indeterminate"!==e&&null!=e||this.setBooleanValue(void 0)},t.prototype.isDefaultValueSet=function(e,t){return this.defaultValue==e||void 0!==t&&this.defaultValue===t},t.prototype.getDisplayValueCore=function(e,t){return t==this.getValueTrue()?this.locLabelTrue.textOrHtml:this.locLabelFalse.textOrHtml},t.prototype.getItemCssValue=function(e){return(new Ae).append(e.item).append(e.itemOnError,this.hasCssError()).append(e.itemDisabled,this.isDisabledStyle).append(e.itemReadOnly,this.isReadOnlyStyle).append(e.itemPreview,this.isPreviewStyle).append(e.itemHover,!this.isDesignMode).append(e.itemChecked,!!this.booleanValue).append(e.itemExchanged,!!this.swapOrder).append(e.itemIndeterminate,!this.isDeterminated).toString()},t.prototype.getItemCss=function(){return this.getItemCssValue(this.cssClasses)},t.prototype.getCheckboxItemCss=function(){return this.getItemCssValue({item:this.cssClasses.checkboxItem,itemOnError:this.cssClasses.checkboxItemOnError,itemDisabled:this.cssClasses.checkboxItemDisabled,itemDisable:this.cssClasses.checkboxItemDisabled,itemReadOnly:this.cssClasses.checkboxItemReadOnly,itemPreview:this.cssClasses.checkboxItemPreview,itemChecked:this.cssClasses.checkboxItemChecked,itemIndeterminate:this.cssClasses.checkboxItemIndeterminate})},t.prototype.getLabelCss=function(e){return(new Ae).append(this.cssClasses.label).append(this.cssClasses.disabledLabel,this.booleanValue===!e||this.isDisabledStyle).append(this.cssClasses.labelReadOnly,this.isReadOnlyStyle).append(this.cssClasses.labelPreview,this.isPreviewStyle).append(this.cssClasses.labelTrue,!this.isIndeterminate&&e===!this.swapOrder).append(this.cssClasses.labelFalse,!this.isIndeterminate&&e===this.swapOrder).toString()},t.prototype.updateValueFromSurvey=function(t,n){void 0===n&&(n=!1),e.prototype.updateValueFromSurvey.call(this,t,n)},t.prototype.onValueChanged=function(){e.prototype.onValueChanged.call(this)},Object.defineProperty(t.prototype,"svgIcon",{get:function(){return this.booleanValue&&this.cssClasses.svgIconCheckedId?this.cssClasses.svgIconCheckedId:!this.isDeterminated&&this.cssClasses.svgIconIndId?this.cssClasses.svgIconIndId:!this.booleanValue&&this.cssClasses.svgIconUncheckedId?this.cssClasses.svgIconUncheckedId:this.cssClasses.svgIconId},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"itemSvgIcon",{get:function(){return this.isPreviewStyle&&this.cssClasses.itemPreviewSvgIconId?this.cssClasses.itemPreviewSvgIconId:this.cssClasses.itemSvgIconId},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"allowClick",{get:function(){return this.isIndeterminate&&!this.isInputReadOnly},enumerable:!1,configurable:!0}),t.prototype.getCheckedLabel=function(){return!0===this.booleanValue?this.locLabelTrue:!1===this.booleanValue?this.locLabelFalse:void 0},t.prototype.setQuestionValue=function(t,n){void 0===n&&(n=!0),"true"===t&&"true"!==this.valueTrue&&(t=!0),"false"===t&&"false"!==this.valueFalse&&(t=!1),"indeterminate"!==t&&null!==t||(t=void 0),e.prototype.setQuestionValue.call(this,t,n)},t.prototype.onLabelClick=function(e,t){return this.allowClick&&(Ht(e),this.booleanValue=t),!0},t.prototype.calculateBooleanValueByEvent=function(e,t){var n=!1;s.isAvailable()&&(n="rtl"==s.getComputedStyle(e.target).direction),this.booleanValue=n?!t:t},t.prototype.onSwitchClickModel=function(e){if(!this.allowClick)return!0;Ht(e);var t=e.offsetX/e.target.offsetWidth>.5;this.calculateBooleanValueByEvent(e,t)},t.prototype.onKeyDownCore=function(e){return"ArrowLeft"!==e.key&&"ArrowRight"!==e.key||(e.stopPropagation(),this.calculateBooleanValueByEvent(e,"ArrowRight"===e.key)),!0},t.prototype.getRadioItemClass=function(e,t){var n=void 0;return e.radioItem&&(n=e.radioItem),e.radioItemChecked&&t===this.booleanValue&&(n=(n?n+" ":"")+e.radioItemChecked),this.isDisabledStyle&&(n+=" "+e.radioItemDisabled),this.isReadOnlyStyle&&(n+=" "+e.radioItemReadOnly),this.isPreviewStyle&&(n+=" "+e.radioItemPreview),n},t.prototype.supportResponsiveness=function(){return!0},t.prototype.getCompactRenderAs=function(){return"radio"},t.prototype.createActionContainer=function(t){return e.prototype.createActionContainer.call(this,"checkbox"!==this.renderAs)},Object.defineProperty(t.prototype,"isNewA11yStructure",{get:function(){return!0},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"a11y_input_ariaRole",{get:function(){return"switch"},enumerable:!1,configurable:!0}),ja([x()],t.prototype,"booleanValueRendered",void 0),ja([x()],t.prototype,"showTitle",void 0),ja([x({localizable:!0})],t.prototype,"label",void 0),ja([x({defaultValue:!1})],t.prototype,"swapOrder",void 0),ja([x()],t.prototype,"valueTrue",void 0),ja([x()],t.prototype,"valueFalse",void 0),t}(qn);L.addClass("boolean",[{name:"showCommentArea:switch",layout:"row",visible:!0,category:"general"},{name:"label:text",serializationProperty:"locLabel",isSerializable:!1,visible:!1},{name:"labelTrue:text",serializationProperty:"locLabelTrue"},{name:"labelFalse:text",serializationProperty:"locLabelFalse"},"valueTrue","valueFalse",{name:"swapOrder:boolean",category:"general"},{name:"renderAs",default:"default",visible:!1}],(function(){return new Na("")}),"question"),co.Instance.registerQuestion("boolean",(function(e){return new Na(e)}));var Fa=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(t,n)};return function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function o(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}}(),Ba=function(e,t,n,o){var i,r=arguments.length,a=r<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,n):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,o);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(a=(r<3?i(a):r>3?i(t,n,a):i(t,n))||a);return r>3&&a&&Object.defineProperty(t,n,a),a},za=function(e){function t(t,n,o){void 0===n&&(n=null),void 0===o&&(o="imageitemvalue");var i=e.call(this,t,n,o)||this;return i.typeName=o,i.createLocalizableString("imageLink",i,!1),i}return Fa(t,e),t.prototype.getType=function(){return this.typeName?this.typeName:"itemvalue"},Object.defineProperty(t.prototype,"imageLink",{get:function(){return this.getLocalizableStringText("imageLink")},set:function(e){this.setLocalizableStringText("imageLink",e),this.imageNotLoaded=!1,this.videoNotLoaded=!1},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"locImageLink",{get:function(){return this.getLocalizableString("imageLink")},enumerable:!1,configurable:!0}),t.prototype.getLocale=function(){return this.locOwner?this.locOwner.getLocale():""},t.prototype.getMarkdownHtml=function(e,t){return this.locOwner?this.locOwner.getMarkdownHtml(e,t):void 0},t.prototype.getRenderer=function(e){return this.locOwner?this.locOwner.getRenderer(e):null},t.prototype.getRendererContext=function(e){return this.locOwner?this.locOwner.getRendererContext(e):e},t.prototype.getProcessedText=function(e){return this.locOwner?this.locOwner.getProcessedText(e):e},t.prototype.onErrorHandler=function(){this.contentNotLoaded=!0},Object.defineProperty(t.prototype,"contentNotLoaded",{get:function(){return this.locOwner instanceof Ha&&"video"==this.locOwner.contentMode?this.videoNotLoaded:this.imageNotLoaded},set:function(e){this.locOwner instanceof Ha&&"video"==this.locOwner.contentMode?this.videoNotLoaded=e:this.imageNotLoaded=e},enumerable:!1,configurable:!0}),Ba([x({defaultValue:!1})],t.prototype,"videoNotLoaded",void 0),Ba([x({defaultValue:!1})],t.prototype,"imageNotLoaded",void 0),t}(Nn),Ha=function(e){function t(t){var n=e.call(this,t)||this;return n.isResponsiveValue=!1,n.onContentLoaded=function(e,t){e.contentNotLoaded=!1;var o=t.target;"video"==n.contentMode?e.aspectRatio=o.videoWidth/o.videoHeight:e.aspectRatio=o.naturalWidth/o.naturalHeight,n._width&&n.processResponsiveness(0,n._width)},n.gridColCount=void 0,n.colCount=0,n.registerPropertyChangedHandlers(["minImageWidth","maxImageWidth","minImageHeight","maxImageHeight","visibleChoices","colCount","isResponsiveValue"],(function(){n._width&&n.processResponsiveness(0,n._width)})),n.registerPropertyChangedHandlers(["imageWidth","imageHeight"],(function(){n.calcIsResponsive()})),n.calcIsResponsive(),n}return Fa(t,e),t.prototype.getType=function(){return"imagepicker"},t.prototype.supportGoNextPageAutomatic=function(){return!this.multiSelect},Object.defineProperty(t.prototype,"hasSingleInput",{get:function(){return!1},enumerable:!1,configurable:!0}),t.prototype.getItemValueType=function(){return"imageitemvalue"},Object.defineProperty(t.prototype,"isCompositeQuestion",{get:function(){return!0},enumerable:!1,configurable:!0}),t.prototype.supportOther=function(){return!1},t.prototype.supportNone=function(){return!1},t.prototype.supportRefuse=function(){return!1},t.prototype.supportDontKnow=function(){return!1},t.prototype.isAnswerCorrect=function(){return this.multiSelect?u.isArrayContainsEqual(this.value,this.correctAnswer):e.prototype.isAnswerCorrect.call(this)},Object.defineProperty(t.prototype,"multiSelect",{get:function(){return this.getPropertyValue("multiSelect")},set:function(e){this.setPropertyValue("multiSelect",e)},enumerable:!1,configurable:!0}),t.prototype.isItemSelected=function(e){var t=this.value,n=e;if(this.isValueEmpty(t))return!1;if(!n.imageLink||n.contentNotLoaded)return!1;if(!this.multiSelect)return this.isTwoValueEquals(t,e.value);if(!Array.isArray(t))return!1;for(var o=0;o<t.length;o++)if(this.isTwoValueEquals(t[o],e.value))return!0;return!1},t.prototype.getItemEnabled=function(t){var n=t;return!(!n.imageLink||n.contentNotLoaded)&&e.prototype.getItemEnabled.call(this,t)},t.prototype.clearIncorrectValues=function(){if(this.multiSelect){var t=this.value;if(!t)return;if(!Array.isArray(t)||0==t.length)return void this.clearValue(!0);for(var n=[],o=0;o<t.length;o++)this.hasUnknownValue(t[o],!0)||n.push(t[o]);if(n.length==t.length)return;0==n.length?this.clearValue(!0):this.value=n}else e.prototype.clearIncorrectValues.call(this)},t.prototype.getDisplayValueCore=function(t,n){return this.multiSelect||Array.isArray(n)?this.getDisplayArrayValue(t,n):e.prototype.getDisplayValueCore.call(this,t,n)},Object.defineProperty(t.prototype,"showLabel",{get:function(){return this.getPropertyValue("showLabel")},set:function(e){this.setPropertyValue("showLabel",e)},enumerable:!1,configurable:!0}),t.prototype.endLoadingFromJson=function(){e.prototype.endLoadingFromJson.call(this),!this.isDesignMode&&this.multiSelect&&(this.createNewArray("renderedValue"),this.createNewArray("value")),this.calcIsResponsive()},t.prototype.getValueCore=function(){var t=e.prototype.getValueCore.call(this);return void 0!==t?t:this.multiSelect?[]:t},t.prototype.convertValToArrayForMultSelect=function(e){return this.multiSelect?this.isValueEmpty(e)||Array.isArray(e)?e:[e]:e},t.prototype.renderedValueFromDataCore=function(e){return this.convertValToArrayForMultSelect(e)},t.prototype.rendredValueToDataCore=function(e){return this.convertValToArrayForMultSelect(e)},Object.defineProperty(t.prototype,"imageHeight",{get:function(){return this.getPropertyValue("imageHeight")},set:function(e){this.setPropertyValue("imageHeight",e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"imageScale",{get:function(){return this.survey?this.survey.widthScale/100:1},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"renderedImageHeight",{get:function(){var e=this.isResponsive?Math.floor(this.responsiveImageHeight):this.imageHeight*this.imageScale;return e||150*this.imageScale},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"imageWidth",{get:function(){return this.getPropertyValue("imageWidth")},set:function(e){this.setPropertyValue("imageWidth",e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"renderedImageWidth",{get:function(){var e=this.isResponsive?Math.floor(this.responsiveImageWidth):this.imageWidth*this.imageScale;return e||200*this.imageScale},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"imageFit",{get:function(){return this.getPropertyValue("imageFit")},set:function(e){this.setPropertyValue("imageFit",e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"contentMode",{get:function(){return this.getPropertyValue("contentMode")},set:function(e){this.setPropertyValue("contentMode",e),"video"===e&&(this.showLabel=!0)},enumerable:!1,configurable:!0}),t.prototype.convertDefaultValue=function(e){return e},Object.defineProperty(t.prototype,"inputType",{get:function(){return this.multiSelect?"checkbox":"radio"},enumerable:!1,configurable:!0}),t.prototype.isBuiltInChoice=function(e){return!1},t.prototype.addToVisibleChoices=function(e,t){this.addNewItemToVisibleChoices(e,t)},t.prototype.getSelectBaseRootCss=function(){var t=this.isResponsive;return(new Ae).append(e.prototype.getSelectBaseRootCss.call(this)).append(this.cssClasses.rootResponsive,t).append(this.cssClasses.rootStatic,!t).append(this.cssClasses.rootColumn,1==this.getCurrentColCount()).toString()},Object.defineProperty(t.prototype,"isResponsive",{get:function(){return this.isResponsiveValue&&this.isDefaultV2Theme},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"exactSizesAreEmpty",{get:function(){var e=this;return!["imageHeight","imageWidth"].some((function(t){return void 0!==e[t]&&null!==e[t]}))},enumerable:!1,configurable:!0}),t.prototype.calcIsResponsive=function(){this.isResponsiveValue=this.exactSizesAreEmpty},t.prototype.getObservedElementSelector=function(){return Qt(this.cssClasses.root)},t.prototype.supportResponsiveness=function(){return!0},t.prototype.needResponsiveness=function(){return this.supportResponsiveness()&&this.isDefaultV2Theme},t.prototype.needResponsiveWidth=function(){return this.colCount>2},t.prototype.getCurrentColCount=function(){return void 0===this.responsiveColCount||0===this.colCount?this.colCount:this.responsiveColCount},t.prototype.getContainerStyle=function(){return this.isResponsive?{gridAutoFlow:this.gridColCount?null:"column",gridTemplateColumns:this.gridColCount?"repeat("+this.gridColCount+", 1fr)":null}:{}},t.prototype.processResponsiveness=function(e,t){this._width=t=Math.floor(t);if(this.isResponsive){var n,o=this.choices.length+(this.isDesignMode?1:0),i=(this.gapBetweenItems||0)*this.imageScale,r=this.minImageWidth*this.imageScale,a=this.maxImageWidth*this.imageScale,s=this.maxImageHeight*this.imageScale,l=this.minImageHeight*this.imageScale,u=this.colCount,c=function(e,t,n){var o=Math.floor(e/(t+n));return(o+1)*(t+n)-n<=e&&o++,o}(t,r,i);0===u?(n=(i+r)*o-i>t?Math.floor((t-i*(c-1))/c):Math.floor((t-i*(o-1))/o),this.gridColCount=Math.max(Math.min(o,c),1)):(c<u?(this.responsiveColCount=Math.max(c,1),u=this.responsiveColCount):this.responsiveColCount=u,this.gridColCount=this.responsiveColCount,n=Math.floor((t-i*(u-1))/u)),n=Math.max(r,Math.min(n,a));var p=Number.MIN_VALUE;this.choices.forEach((function(e){var t=n/e.aspectRatio;p=t>p?t:p})),p>s?p=s:p<l&&(p=l);var d=this.responsiveImageWidth,h=this.responsiveImageHeight;return this.responsiveImageWidth=n,this.responsiveImageHeight=p,d!==this.responsiveImageWidth||h!==this.responsiveImageHeight}return!1},t.prototype.triggerResponsiveness=function(t){void 0===t&&(t=!0),t&&this.reCalcGapBetweenItemsCallback&&this.reCalcGapBetweenItemsCallback(),e.prototype.triggerResponsiveness.call(this,t)},t.prototype.afterRender=function(t){var n=this;e.prototype.afterRender.call(this,t);var o=this.getObservedElementSelector(),i=t&&o?t.querySelector(o):void 0;i&&(this.reCalcGapBetweenItemsCallback=function(){n.gapBetweenItems=Math.ceil(Number.parseFloat(s.getComputedStyle(i).gap))||16},this.reCalcGapBetweenItemsCallback())},Ba([x({})],t.prototype,"responsiveImageHeight",void 0),Ba([x({})],t.prototype,"responsiveImageWidth",void 0),Ba([x({})],t.prototype,"isResponsiveValue",void 0),Ba([x({})],t.prototype,"maxImageWidth",void 0),Ba([x({})],t.prototype,"minImageWidth",void 0),Ba([x({})],t.prototype,"maxImageHeight",void 0),Ba([x({})],t.prototype,"minImageHeight",void 0),Ba([x({})],t.prototype,"responsiveColCount",void 0),Ba([x()],t.prototype,"gridColCount",void 0),t}(Ji);L.addClass("imageitemvalue",[{name:"imageLink:file",serializationProperty:"locImageLink"}],(function(e){return new za(e)}),"itemvalue"),L.addClass("responsiveImageSize",[],void 0,"number"),L.addClass("imagepicker",[{name:"showOtherItem",visible:!1},{name:"otherText",visible:!1},{name:"showNoneItem",visible:!1},{name:"showRefuseItem",visible:!1},{name:"showDontKnowItem",visible:!1},{name:"noneText",visible:!1},{name:"optionsCaption",visible:!1},{name:"otherErrorText",visible:!1},{name:"storeOthersAsComment",visible:!1},{name:"contentMode",default:"image",choices:["image","video"]},{name:"imageFit",default:"contain",choices:["none","contain","cover","fill"]},{name:"imageHeight:number",minValue:0},{name:"imageWidth:number",minValue:0},{name:"minImageWidth:responsiveImageSize",default:200,minValue:0,visibleIf:function(){return tn.supportCreatorV2}},{name:"minImageHeight:responsiveImageSize",default:133,minValue:0,visibleIf:function(){return tn.supportCreatorV2}},{name:"maxImageWidth:responsiveImageSize",default:400,minValue:0,visibleIf:function(){return tn.supportCreatorV2}},{name:"maxImageHeight:responsiveImageSize",default:266,minValue:0,visibleIf:function(){return tn.supportCreatorV2}}],(function(){return new Ha("")}),"checkboxbase"),L.addProperty("imagepicker",{name:"showLabel:boolean",default:!1}),L.addProperty("imagepicker",{name:"colCount:number",default:0,choices:[0,1,2,3,4,5]}),L.addProperty("imagepicker",{name:"multiSelect:boolean",default:!1}),L.addProperty("imagepicker",{name:"choices:imageitemvalue[]"}),co.Instance.registerQuestion("imagepicker",(function(e){return new Ha(e)}));var Qa=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(t,n)};return function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function o(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}}(),Ua=function(e,t,n,o){var i,r=arguments.length,a=r<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,n):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,o);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(a=(r<3?i(a):r>3?i(t,n,a):i(t,n))||a);return r>3&&a&&Object.defineProperty(t,n,a),a},Wa=[".mp4",".mov",".wmv",".flv",".avi",".mkv"],$a=function(e){function t(t){var n=e.call(this,t)||this;return n.createLocalizableString("imageLink",n,!1).onGetTextCallback=function(e){return function(e,t){if(!e||!u.isUrlYoutubeVideo(e))return t?"":e;if(e.toLocaleLowerCase().indexOf("embed")>-1)return e;for(var n="",o=e.length-1;o>=0&&("="!==e[o]&&"/"!==e[o]);o--)n=e[o]+n;return"https://www.youtube.com/embed/"+n}(e,"youtube"==n.contentMode)},n.createLocalizableString("altText",n,!1),n.registerPropertyChangedHandlers(["contentMode","imageLink"],(function(){return n.calculateRenderedMode()})),n}return Qa(t,e),t.prototype.getType=function(){return"image"},Object.defineProperty(t.prototype,"isCompositeQuestion",{get:function(){return!1},enumerable:!1,configurable:!0}),t.prototype.onSurveyLoad=function(){e.prototype.onSurveyLoad.call(this),this.calculateRenderedMode()},Object.defineProperty(t.prototype,"imageLink",{get:function(){return this.getLocalizableStringText("imageLink")},set:function(e){this.setLocalizableStringText("imageLink",e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"locImageLink",{get:function(){return this.getLocalizableString("imageLink")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"altText",{get:function(){return this.getLocalizableStringText("altText")},set:function(e){this.setLocalizableStringText("altText",e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"locAltText",{get:function(){return this.getLocalizableString("altText")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"imageHeight",{get:function(){return this.getPropertyValue("imageHeight")},set:function(e){this.setPropertyValue("imageHeight",e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"renderedStyleHeight",{get:function(){return this.imageHeight?Mt(this.imageHeight):void 0},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"renderedHeight",{get:function(){return this.imageHeight?Lt(this.imageHeight):void 0},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"imageWidth",{get:function(){return this.getPropertyValue("imageWidth")},set:function(e){this.setPropertyValue("imageWidth",e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"renderedStyleWidth",{get:function(){return this.imageWidth?Mt(this.imageWidth):void 0},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"renderedWidth",{get:function(){return this.imageWidth?Lt(this.imageWidth):void 0},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"imageFit",{get:function(){return this.getPropertyValue("imageFit")},set:function(e){this.setPropertyValue("imageFit",e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"contentMode",{get:function(){return this.getPropertyValue("contentMode")},set:function(e){this.setPropertyValue("contentMode",e),"video"===e&&(this.showLabel=!0)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"renderedMode",{get:function(){return this.getPropertyValue("renderedMode","image")},enumerable:!1,configurable:!0}),t.prototype.getImageCss=function(){var e=this.getPropertyByName("imageHeight"),t=this.getPropertyByName("imageWidth"),n=e.isDefaultValue(this.imageHeight)&&t.isDefaultValue(this.imageWidth);return(new Ae).append(this.cssClasses.image).append(this.cssClasses.adaptive,n).toString()},t.prototype.onLoadHandler=function(){this.contentNotLoaded=!1},t.prototype.onErrorHandler=function(){this.contentNotLoaded=!0},t.prototype.setRenderedMode=function(e){this.setPropertyValue("renderedMode",e)},t.prototype.calculateRenderedMode=function(){"auto"!==this.contentMode?this.setRenderedMode(this.contentMode):this.isYoutubeVideo()?this.setRenderedMode("youtube"):this.isVideo()?this.setRenderedMode("video"):this.setRenderedMode("image")},t.prototype.isYoutubeVideo=function(){return u.isUrlYoutubeVideo(this.imageLink)},t.prototype.isVideo=function(){var e=this.imageLink;if(!e)return!1;e=e.toLowerCase();for(var t=0;t<Wa.length;t++)if(e.endsWith(Wa[t]))return!0;return!1},Ua([x({defaultValue:!1})],t.prototype,"contentNotLoaded",void 0),t}($r);L.addClass("image",[{name:"imageLink:file",serializationProperty:"locImageLink"},{name:"altText",serializationProperty:"locAltText",alternativeName:"text",category:"general"},{name:"contentMode",default:"auto",choices:["auto","image","video","youtube"]},{name:"imageFit",default:"contain",choices:["none","contain","cover","fill"]},{name:"imageHeight",default:"150"},{name:"imageWidth",default:"200"}],(function(){return new $a("")}),"nonvalue"),co.Instance.registerQuestion("image",(function(e){return new $a(e)})); 12/*! 13 * Signature Pad v4.2.0 | https://github.com/szimek/signature_pad 14 * (c) 2024 Szymon Nowak | Released under the MIT license 15 */ 16class Ga{constructor(e,t,n,o){if(isNaN(e)||isNaN(t))throw new Error(`Point is invalid: (${e}, ${t})`);this.x=+e,this.y=+t,this.pressure=n||0,this.time=o||Date.now()}distanceTo(e){return Math.sqrt(Math.pow(this.x-e.x,2)+Math.pow(this.y-e.y,2))}equals(e){return this.x===e.x&&this.y===e.y&&this.pressure===e.pressure&&this.time===e.time}velocityFrom(e){return this.time!==e.time?this.distanceTo(e)/(this.time-e.time):0}}class Ka{static fromPoints(e,t){const n=this.calculateControlPoints(e[0],e[1],e[2]).c2,o=this.calculateControlPoints(e[1],e[2],e[3]).c1;return new Ka(e[1],n,o,e[2],t.start,t.end)}static calculateControlPoints(e,t,n){const o=e.x-t.x,i=e.y-t.y,r=t.x-n.x,a=t.y-n.y,s=(e.x+t.x)/2,l=(e.y+t.y)/2,u=(t.x+n.x)/2,c=(t.y+n.y)/2,p=Math.sqrt(o*o+i*i),d=Math.sqrt(r*r+a*a),h=d/(p+d),m=u+(s-u)*h,g=c+(l-c)*h,f=t.x-m,y=t.y-g;return{c1:new Ga(s+f,l+y),c2:new Ga(u+f,c+y)}}constructor(e,t,n,o,i,r){this.startPoint=e,this.control2=t,this.control1=n,this.endPoint=o,this.startWidth=i,this.endWidth=r}length(){let e,t,n=0;for(let o=0;o<=10;o+=1){const i=o/10,r=this.point(i,this.startPoint.x,this.control1.x,this.control2.x,this.endPoint.x),a=this.point(i,this.startPoint.y,this.control1.y,this.control2.y,this.endPoint.y);if(o>0){const o=r-e,i=a-t;n+=Math.sqrt(o*o+i*i)}e=r,t=a}return n}point(e,t,n,o,i){return t*(1-e)*(1-e)*(1-e)+3*n*(1-e)*(1-e)*e+3*o*(1-e)*e*e+i*e*e*e}}class Za extends class{constructor(){try{this._et=new EventTarget}catch(e){this._et=document}}addEventListener(e,t,n){this._et.addEventListener(e,t,n)}dispatchEvent(e){return this._et.dispatchEvent(e)}removeEventListener(e,t,n){this._et.removeEventListener(e,t,n)}}{constructor(e,t={}){super(),this.canvas=e,this._drawingStroke=!1,this._isEmpty=!0,this._lastPoints=[],this._data=[],this._lastVelocity=0,this._lastWidth=0,this._handleMouseDown=e=>{1===e.buttons&&this._strokeBegin(e)},this._handleMouseMove=e=>{this._strokeMoveUpdate(e)},this._handleMouseUp=e=>{1===e.buttons&&this._strokeEnd(e)},this._handleTouchStart=e=>{if(e.cancelable&&e.preventDefault(),1===e.targetTouches.length){const t=e.changedTouches[0];this._strokeBegin(t)}},this._handleTouchMove=e=>{e.cancelable&&e.preventDefault();const t=e.targetTouches[0];this._strokeMoveUpdate(t)},this._handleTouchEnd=e=>{if(e.target===this.canvas){e.cancelable&&e.preventDefault();const t=e.changedTouches[0];this._strokeEnd(t)}},this._handlePointerStart=e=>{e.preventDefault(),this._strokeBegin(e)},this._handlePointerMove=e=>{this._strokeMoveUpdate(e)},this._handlePointerEnd=e=>{this._drawingStroke&&(e.preventDefault(),this._strokeEnd(e))},this.velocityFilterWeight=t.velocityFilterWeight||.7,this.minWidth=t.minWidth||.5,this.maxWidth=t.maxWidth||2.5,this.throttle="throttle"in t?t.throttle:16,this.minDistance="minDistance"in t?t.minDistance:5,this.dotSize=t.dotSize||0,this.penColor=t.penColor||"black",this.backgroundColor=t.backgroundColor||"rgba(0,0,0,0)",this.compositeOperation=t.compositeOperation||"source-over",this.canvasContextOptions="canvasContextOptions"in t?t.canvasContextOptions:{},this._strokeMoveUpdate=this.throttle?function(e,t=250){let n,o,i,r=0,a=null;const s=()=>{r=Date.now(),a=null,n=e.apply(o,i),a||(o=null,i=[])};return function(...l){const u=Date.now(),c=t-(u-r);return o=this,i=l,c<=0||c>t?(a&&(clearTimeout(a),a=null),r=u,n=e.apply(o,i),a||(o=null,i=[])):a||(a=window.setTimeout(s,c)),n}}(Za.prototype._strokeUpdate,this.throttle):Za.prototype._strokeUpdate,this._ctx=e.getContext("2d",this.canvasContextOptions),this.clear(),this.on()}clear(){const{_ctx:e,canvas:t}=this;e.fillStyle=this.backgroundColor,e.clearRect(0,0,t.width,t.height),e.fillRect(0,0,t.width,t.height),this._data=[],this._reset(this._getPointGroupOptions()),this._isEmpty=!0}fromDataURL(e,t={}){return new Promise((n,o)=>{const i=new Image,r=t.ratio||window.devicePixelRatio||1,a=t.width||this.canvas.width/r,s=t.height||this.canvas.height/r,l=t.xOffset||0,u=t.yOffset||0;this._reset(this._getPointGroupOptions()),i.onload=()=>{this._ctx.drawImage(i,l,u,a,s),n()},i.onerror=e=>{o(e)},i.crossOrigin="anonymous",i.src=e,this._isEmpty=!1})}toDataURL(e="image/png",t){switch(e){case"image/svg+xml":return"object"!=typeof t&&(t=void 0),"data:image/svg+xml;base64,"+btoa(this.toSVG(t));default:return"number"!=typeof t&&(t=void 0),this.canvas.toDataURL(e,t)}}on(){this.canvas.style.touchAction="none",this.canvas.style.msTouchAction="none",this.canvas.style.userSelect="none";const e=/Macintosh/.test(navigator.userAgent)&&"ontouchstart"in document;window.PointerEvent&&!e?this._handlePointerEvents():(this._handleMouseEvents(),"ontouchstart"in window&&this._handleTouchEvents())}off(){this.canvas.style.touchAction="auto",this.canvas.style.msTouchAction="auto",this.canvas.style.userSelect="auto",this.canvas.removeEventListener("pointerdown",this._handlePointerStart),this.canvas.removeEventListener("pointermove",this._handlePointerMove),this.canvas.ownerDocument.removeEventListener("pointerup",this._handlePointerEnd),this.canvas.removeEventListener("mousedown",this._handleMouseDown),this.canvas.removeEventListener("mousemove",this._handleMouseMove),this.canvas.ownerDocument.removeEventListener("mouseup",this._handleMouseUp),this.canvas.removeEventListener("touchstart",this._handleTouchStart),this.canvas.removeEventListener("touchmove",this._handleTouchMove),this.canvas.removeEventListener("touchend",this._handleTouchEnd)}isEmpty(){return this._isEmpty}fromData(e,{clear:t=!0}={}){t&&this.clear(),this._fromData(e,this._drawCurve.bind(this),this._drawDot.bind(this)),this._data=this._data.concat(e)}toData(){return this._data}_getPointGroupOptions(e){return{penColor:e&&"penColor"in e?e.penColor:this.penColor,dotSize:e&&"dotSize"in e?e.dotSize:this.dotSize,minWidth:e&&"minWidth"in e?e.minWidth:this.minWidth,maxWidth:e&&"maxWidth"in e?e.maxWidth:this.maxWidth,velocityFilterWeight:e&&"velocityFilterWeight"in e?e.velocityFilterWeight:this.velocityFilterWeight,compositeOperation:e&&"compositeOperation"in e?e.compositeOperation:this.compositeOperation}}_strokeBegin(e){if(!this.dispatchEvent(new CustomEvent("beginStroke",{detail:e,cancelable:!0})))return;this._drawingStroke=!0;const t=this._getPointGroupOptions(),n=Object.assign(Object.assign({},t),{points:[]});this._data.push(n),this._reset(t),this._strokeUpdate(e)}_strokeUpdate(e){if(!this._drawingStroke)return;if(0===this._data.length)return void this._strokeBegin(e);this.dispatchEvent(new CustomEvent("beforeUpdateStroke",{detail:e}));const t=e.clientX,n=e.clientY,o=void 0!==e.pressure?e.pressure:void 0!==e.force?e.force:0,i=this._createPoint(t,n,o),r=this._data[this._data.length-1],a=r.points,s=a.length>0&&a[a.length-1],l=!!s&&i.distanceTo(s)<=this.minDistance,u=this._getPointGroupOptions(r);if(!s||!s||!l){const e=this._addPoint(i,u);s?e&&this._drawCurve(e,u):this._drawDot(i,u),a.push({time:i.time,x:i.x,y:i.y,pressure:i.pressure})}this.dispatchEvent(new CustomEvent("afterUpdateStroke",{detail:e}))}_strokeEnd(e){this._drawingStroke&&(this._strokeUpdate(e),this._drawingStroke=!1,this.dispatchEvent(new CustomEvent("endStroke",{detail:e})))}_handlePointerEvents(){this._drawingStroke=!1,this.canvas.addEventListener("pointerdown",this._handlePointerStart),this.canvas.addEventListener("pointermove",this._handlePointerMove),this.canvas.ownerDocument.addEventListener("pointerup",this._handlePointerEnd)}_handleMouseEvents(){this._drawingStroke=!1,this.canvas.addEventListener("mousedown",this._handleMouseDown),this.canvas.addEventListener("mousemove",this._handleMouseMove),this.canvas.ownerDocument.addEventListener("mouseup",this._handleMouseUp)}_handleTouchEvents(){this.canvas.addEventListener("touchstart",this._handleTouchStart),this.canvas.addEventListener("touchmove",this._handleTouchMove),this.canvas.addEventListener("touchend",this._handleTouchEnd)}_reset(e){this._lastPoints=[],this._lastVelocity=0,this._lastWidth=(e.minWidth+e.maxWidth)/2,this._ctx.fillStyle=e.penColor,this._ctx.globalCompositeOperation=e.compositeOperation}_createPoint(e,t,n){const o=this.canvas.getBoundingClientRect();return new Ga(e-o.left,t-o.top,n,(new Date).getTime())}_addPoint(e,t){const{_lastPoints:n}=this;if(n.push(e),n.length>2){3===n.length&&n.unshift(n[0]);const e=this._calculateCurveWidths(n[1],n[2],t),o=Ka.fromPoints(n,e);return n.shift(),o}return null}_calculateCurveWidths(e,t,n){const o=n.velocityFilterWeight*t.velocityFrom(e)+(1-n.velocityFilterWeight)*this._lastVelocity,i=this._strokeWidth(o,n),r={end:i,start:this._lastWidth};return this._lastVelocity=o,this._lastWidth=i,r}_strokeWidth(e,t){return Math.max(t.maxWidth/(e+1),t.minWidth)}_drawCurveSegment(e,t,n){const o=this._ctx;o.moveTo(e,t),o.arc(e,t,n,0,2*Math.PI,!1),this._isEmpty=!1}_drawCurve(e,t){const n=this._ctx,o=e.endWidth-e.startWidth,i=2*Math.ceil(e.length());n.beginPath(),n.fillStyle=t.penColor;for(let n=0;n<i;n+=1){const r=n/i,a=r*r,s=a*r,l=1-r,u=l*l,c=u*l;let p=c*e.startPoint.x;p+=3*u*r*e.control1.x,p+=3*l*a*e.control2.x,p+=s*e.endPoint.x;let d=c*e.startPoint.y;d+=3*u*r*e.control1.y,d+=3*l*a*e.control2.y,d+=s*e.endPoint.y;const h=Math.min(e.startWidth+s*o,t.maxWidth);this._drawCurveSegment(p,d,h)}n.closePath(),n.fill()}_drawDot(e,t){const n=this._ctx,o=t.dotSize>0?t.dotSize:(t.minWidth+t.maxWidth)/2;n.beginPath(),this._drawCurveSegment(e.x,e.y,o),n.closePath(),n.fillStyle=t.penColor,n.fill()}_fromData(e,t,n){for(const o of e){const{points:e}=o,i=this._getPointGroupOptions(o);if(e.length>1)for(let n=0;n<e.length;n+=1){const o=e[n],r=new Ga(o.x,o.y,o.pressure,o.time);0===n&&this._reset(i);const a=this._addPoint(r,i);a&&t(a,i)}else this._reset(i),n(e[0],i)}}toSVG({includeBackgroundColor:e=!1}={}){const t=this._data,n=Math.max(window.devicePixelRatio||1,1),o=this.canvas.width/n,i=this.canvas.height/n,r=document.createElementNS("http://www.w3.org/2000/svg","svg");if(r.setAttribute("xmlns","http://www.w3.org/2000/svg"),r.setAttribute("xmlns:xlink","http://www.w3.org/1999/xlink"),r.setAttribute("viewBox",`0 0 ${o} ${i}`),r.setAttribute("width",o.toString()),r.setAttribute("height",i.toString()),e&&this.backgroundColor){const e=document.createElement("rect");e.setAttribute("width","100%"),e.setAttribute("height","100%"),e.setAttribute("fill",this.backgroundColor),r.appendChild(e)}return this._fromData(t,(e,{penColor:t})=>{const n=document.createElement("path");if(!(isNaN(e.control1.x)||isNaN(e.control1.y)||isNaN(e.control2.x)||isNaN(e.control2.y))){const o=`M ${e.startPoint.x.toFixed(3)},${e.startPoint.y.toFixed(3)} C ${e.control1.x.toFixed(3)},${e.control1.y.toFixed(3)} ${e.control2.x.toFixed(3)},${e.control2.y.toFixed(3)} ${e.endPoint.x.toFixed(3)},${e.endPoint.y.toFixed(3)}`;n.setAttribute("d",o),n.setAttribute("stroke-width",(2.25*e.endWidth).toFixed(3)),n.setAttribute("stroke",t),n.setAttribute("fill","none"),n.setAttribute("stroke-linecap","round"),r.appendChild(n)}},(e,{penColor:t,dotSize:n,minWidth:o,maxWidth:i})=>{const a=document.createElement("circle"),s=n>0?n:(o+i)/2;a.setAttribute("r",s.toString()),a.setAttribute("cx",e.x.toString()),a.setAttribute("cy",e.y.toString()),a.setAttribute("fill",t),r.appendChild(a)}),r.outerHTML}}var Ja=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(t,n)};return function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function o(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}}(),Ya=function(e,t,n,o){var i,r=arguments.length,a=r<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,n):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,o);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(a=(r<3?i(a):r>3?i(t,n,a):i(t,n))||a);return r>3&&a&&Object.defineProperty(t,n,a),a},Xa=function(e){function t(t){var n=e.call(this,t)||this;return n.valueIsUpdatingInternally=!1,n._loadedData=void 0,n.updateValueHandler=function(){n._loadedData=void 0,n.scaleCanvas(!0,!0)},n}return Ja(t,e),t.prototype.getPenColorFromTheme=function(){var e=this.survey;return!!e&&!!e.themeVariables&&e.themeVariables["--sjs-primary-backcolor"]},t.prototype.updateColors=function(e){var t=this.getPenColorFromTheme(),n=this.getPropertyByName("penColor");e.penColor=this.penColor||t||n.defaultValue||"#1ab394";var o=this.getPropertyByName("backgroundColor"),i=t?"transparent":void 0,r=this.backgroundImage?"transparent":this.backgroundColor;e.backgroundColor=r||i||o.defaultValue||"#ffffff"},t.prototype.getCssRoot=function(t){return(new Ae).append(e.prototype.getCssRoot.call(this,t)).append(t.small,"300"===this.signatureWidth.toString()).toString()},t.prototype.getFormat=function(){return"jpeg"===this.dataFormat?"image/jpeg":"svg"===this.dataFormat?"image/svg+xml":""},t.prototype.updateValue=function(){if(this.signaturePad){var e=this.signaturePad.toDataURL(this.getFormat());this.valueIsUpdatingInternally=!0,this.value=e,this.valueIsUpdatingInternally=!1}},t.prototype.getType=function(){return"signaturepad"},t.prototype.afterRenderQuestionElement=function(t){t&&(this.isDesignMode||this.initSignaturePad(t),this.element=t),e.prototype.afterRenderQuestionElement.call(this,t)},t.prototype.beforeDestroyQuestionElement=function(e){e&&this.destroySignaturePad(e)},t.prototype.themeChanged=function(e){this.signaturePad&&this.updateColors(this.signaturePad)},t.prototype.resizeCanvas=function(){this.canvas.width=this.containerWidth,this.canvas.height=this.containerHeight},t.prototype.scaleCanvas=function(e,t){void 0===e&&(e=!0),void 0===t&&(t=!1);var n=this.canvas,o=n.offsetWidth/this.containerWidth;(this.scale!=o||t)&&(this.scale=o,n.style.width=this.renderedCanvasWidth,this.resizeCanvas(),this.signaturePad.minWidth=this.penMinWidth*o,this.signaturePad.maxWidth=this.penMaxWidth*o,n.getContext("2d").scale(1/o,1/o),e&&this.loadPreview(this.value))},t.prototype.fromUrl=function(e){var t=this;if(this.isFileLoading=!0,function(e){return"string"==typeof e?/^data:((?:\w+\/(?:(?!;).)+)?)((?:;[^;]+?)*),(.+)$/.test(e):null}(e))this.fromDataUrl(e),this.isFileLoading=!1;else{var n=new Image;n.crossOrigin="anonymous",n.src=e,n.onload=function(){if(t.canvas){var e=s.createElement("canvas");e.width=t.containerWidth,e.height=t.containerHeight,e.getContext("2d").drawImage(n,0,0);var o=e.toDataURL(t.getFormat());t.fromDataUrl(o)}t.isFileLoading=!1},n.onerror=function(){t.isFileLoading=!1}}},t.prototype.fromDataUrl=function(e){if(this._loadedData=e,this.signaturePad){var t=1,n=this.scale;if("svg"===this.dataFormat)t=a.getDevicePixelRatio()||1,n=1;var o={width:this.canvas.width*n/t,height:this.canvas.height*n/t};this.signaturePad.fromDataURL(e,o)}},Object.defineProperty(t.prototype,"loadedData",{get:function(){return this._loadedData},enumerable:!1,configurable:!0}),t.prototype.loadPreview=function(e){var t=this;if(!e)return this.signaturePad&&this.canvas&&(this.canvas.getContext("2d").clearRect(0,0,this.canvas.width*this.scale,this.canvas.height*this.scale),this.signaturePad.clear()),this.hasDrawnStroke=!1,void(this.valueWasChangedFromLastUpload=!1);if(this.storeDataAsText)this.fromDataUrl(e);else if(this.loadedData)this.fromDataUrl(this.loadedData);else{var n=e?[e]:[];this._previewLoader&&this._previewLoader.dispose(),this.isFileLoading=!0,this._previewLoader=new Va(this,(function(n,o){"success"===n&&o&&o.length>0&&o[0].content?(t.fromDataUrl(o[0].content),t.isFileLoading=!1):"skipped"===n&&t.fromUrl(e),t._previewLoader.dispose(),t._previewLoader=void 0})),this._previewLoader.load(n)}},t.prototype.onChangeQuestionValue=function(t){e.prototype.onChangeQuestionValue.call(this,t),this.isLoadingFromJson||(this._loadedData=void 0,this.loadPreview(t))},t.prototype.onSurveyLoad=function(){e.prototype.onSurveyLoad.call(this),this.loadPreview(this.value)},t.prototype.initSignaturePad=function(e){var t=this,n=e.getElementsByTagName("canvas")[0];this.canvas=n,this.resizeCanvas();var o=new Za(n,{backgroundColor:"#ffffff"});this.signaturePad=o,this.isInputReadOnly&&o.off(),this.readOnlyChangedCallback=function(){t.isInputReadOnly?o.off():o.on()},this.updateColors(o),o.addEventListener("beginStroke",(function(){t.scaleCanvas(),t.hasDrawnStroke=!0,n.focus()}),{once:!1}),o.addEventListener("endStroke",(function(){t.storeDataAsText?t.updateValue():t.valueWasChangedFromLastUpload=!0}),{once:!1}),this.updateValueHandler(),this.readOnlyChangedCallback();var i=function(e,n){"signatureWidth"!==n.name&&"signatureHeight"!==n.name||t.valueIsUpdatingInternally||t.updateValueHandler()};this.onPropertyChanged.add(i),this.signaturePad.propertyChangedHandler=i},t.prototype.destroySignaturePad=function(e){this.signaturePad&&(this.onPropertyChanged.remove(this.signaturePad.propertyChangedHandler),this.signaturePad.off()),this.readOnlyChangedCallback=null,this.signaturePad=null},Object.defineProperty(t.prototype,"dataFormat",{get:function(){return this.getPropertyValue("dataFormat")},set:function(e){this.setPropertyValue("dataFormat",es(e))},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"signatureWidth",{get:function(){return this.getPropertyValue("signatureWidth")},set:function(e){this.setPropertyValue("signatureWidth",e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"signatureHeight",{get:function(){return this.getPropertyValue("signatureHeight")},set:function(e){this.setPropertyValue("signatureHeight",e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"containerHeight",{get:function(){return this.signatureHeight||200},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"containerWidth",{get:function(){return this.signatureWidth||300},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"renderedCanvasWidth",{get:function(){return this.signatureAutoScaleEnabled?"100%":this.containerWidth+"px"},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"height",{get:function(){return this.getPropertyValue("height")},set:function(e){this.setPropertyValue("height",e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"allowClear",{get:function(){return this.getPropertyValue("allowClear")},set:function(e){this.setPropertyValue("allowClear",e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"canShowClearButton",{get:function(){var e=!this.nothingIsDrawn(),t=this.isUploading;return!this.isInputReadOnly&&this.allowClear&&e&&!t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"penColor",{get:function(){return this.getPropertyValue("penColor")},set:function(e){this.setPropertyValue("penColor",e),this.signaturePad&&this.updateColors(this.signaturePad)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"backgroundColor",{get:function(){return this.getPropertyValue("backgroundColor")},set:function(e){this.setPropertyValue("backgroundColor",e),this.signaturePad&&this.updateColors(this.signaturePad)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"backgroundImage",{get:function(){return this.getPropertyValue("backgroundImage")},set:function(e){this.setPropertyValue("backgroundImage",e),this.signaturePad&&this.updateColors(this.signaturePad)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"clearButtonCaption",{get:function(){return this.getLocalizationString("clearCaption")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"locRenderedPlaceholder",{get:function(){return this.isReadOnly?this.locPlaceholderReadOnly:this.locPlaceholder},enumerable:!1,configurable:!0}),t.prototype.nothingIsDrawn=function(){var e=this.hasDrawnStroke,t=this.isEmpty(),n=this.isUploading,o=this.valueWasChangedFromLastUpload;return!e&&t&&!n&&!o},t.prototype.needShowPlaceholder=function(){return this.showPlaceholder&&this.nothingIsDrawn()},t.prototype.onBlurCore=function(t){if(e.prototype.onBlurCore.call(this,t),!this.storeDataAsText&&!this.element.contains(t.relatedTarget)){if(!this.valueWasChangedFromLastUpload)return;this.uploadFiles([(n=this.signaturePad.toDataURL(this.getFormat()),o=this.name+"."+es(this.dataFormat),i=this.getFormat(),r=atob(n.split(",")[1]),a=new Uint8Array(r.split("").map((function(e){return e.charCodeAt(0)}))).buffer,new File([a],o,{type:i}))]),this.valueWasChangedFromLastUpload=!1}var n,o,i,r,a},t.prototype.uploadResultItemToValue=function(e){return e.content},t.prototype.setValueFromResult=function(e){this.valueIsUpdatingInternally=!0,this.value=(null==e?void 0:e.length)?e.map((function(e){return e.content}))[0]:void 0,this.valueIsUpdatingInternally=!1},t.prototype.clearValue=function(t){this.valueWasChangedFromLastUpload=!1,e.prototype.clearValue.call(this,t),this._loadedData=void 0,this.loadPreview(this.value)},t.prototype.endLoadingFromJson=function(){e.prototype.endLoadingFromJson.call(this),300===this.signatureWidth&&this.width&&"number"==typeof this.width&&this.width&&(j.warn("Use signatureWidth property to set width for the signature pad"),this.signatureWidth=this.width,this.width=void 0),200===this.signatureHeight&&this.height&&(j.warn("Use signatureHeight property to set width for the signature pad"),this.signatureHeight=this.height,this.height=void 0)},Ya([x({defaultValue:!1})],t.prototype,"hasDrawnStroke",void 0),Ya([x({defaultValue:!1})],t.prototype,"isReadyForUpload",void 0),Ya([x({defaultValue:!1})],t.prototype,"valueWasChangedFromLastUpload",void 0),Ya([x()],t.prototype,"signatureAutoScaleEnabled",void 0),Ya([x()],t.prototype,"penMinWidth",void 0),Ya([x()],t.prototype,"penMaxWidth",void 0),Ya([x({})],t.prototype,"showPlaceholder",void 0),Ya([x({localizable:{defaultStr:"signaturePlaceHolder"}})],t.prototype,"placeholder",void 0),Ya([x({localizable:{defaultStr:"signaturePlaceHolderReadOnly"}})],t.prototype,"placeholderReadOnly",void 0),t}(wa);function es(e){return e||(e="png"),"jpeg"!==(e=e.replace("image/","").replace("+xml",""))&&"svg"!==e&&(e="png"),e}L.addClass("signaturepad",[{name:"signatureWidth:number",category:"general",default:300},{name:"signatureHeight:number",category:"general",default:200},{name:"signatureAutoScaleEnabled:boolean",category:"general",default:!1},{name:"penMinWidth:number",category:"general",default:.5},{name:"penMaxWidth:number",category:"general",default:2.5},{name:"height:number",category:"general",visible:!1},{name:"allowClear:boolean",category:"general",default:!0},{name:"showPlaceholder:boolean",category:"general",default:!0},{name:"placeholder:text",serializationProperty:"locPlaceholder",category:"general",dependsOn:"showPlaceholder",visibleIf:function(e){return e.showPlaceholder}},{name:"placeholderReadOnly:text",serializationProperty:"locPlaceholderReadOnly",category:"general",dependsOn:"showPlaceholder",visibleIf:function(e){return e.showPlaceholder}},{name:"backgroundImage:file",category:"general"},{name:"penColor:color",category:"general"},{name:"backgroundColor:color",category:"general"},{name:"dataFormat",category:"general",default:"png",choices:[{value:"png",text:"PNG"},{value:"jpeg",text:"JPEG"},{value:"svg",text:"SVG"}],onSettingValue:function(e,t){return es(t)}},{name:"defaultValue",visible:!1},{name:"correctAnswer",visible:!1},{name:"storeDataAsText:boolean",default:!0},{name:"waitForUpload:boolean",default:!1}],(function(){return new Xa("")}),"question"),co.Instance.registerQuestion("signaturepad",(function(e){return new Xa(e)}));var ts=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(t,n)};return function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function o(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}}(),ns=function(e,t,n,o){var i,r=arguments.length,a=r<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,n):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,o);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(a=(r<3?i(a):r>3?i(t,n,a):i(t,n))||a);return r>3&&a&&Object.defineProperty(t,n,a),a},os=function(e,t){for(var n=0,o=t.length,i=e.length;n<o;n++,i++)e[i]=t[n];return e},is=function(e){function t(t,n,o){var i=e.call(this,o)||this;return i.data=t,i.panelItem=n,i.variableName=o,i.sharedQuestions={},i}return ts(t,e),Object.defineProperty(t.prototype,"survey",{get:function(){return this.panelItem.getSurvey()},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"panel",{get:function(){return this.panelItem.panel},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"panelIndex",{get:function(){return this.data?this.data.getItemIndex(this.panelItem):-1},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"visiblePanelIndex",{get:function(){return this.data?this.data.getVisibleItemIndex(this.panelItem):-1},enumerable:!1,configurable:!0}),t.prototype.getValues=function(){return this.panelItem.getAllValues()},t.prototype.getQuestionByName=function(t){var n=e.prototype.getQuestionByName.call(this,t);if(n)return n;var o=this.panelIndex,i=(n=o>-1?this.data.getSharedQuestionFromArray(t,o):void 0)?n.name:t;return this.sharedQuestions[i]=t,n},t.prototype.getQuestionDisplayText=function(t){var n=this.sharedQuestions[t.name];if(!n)return e.prototype.getQuestionDisplayText.call(this,t);var o=this.panelItem.getValue(n);return t.getDisplayValue(!0,o)},t.prototype.onCustomProcessText=function(e){var n;if(e.name==as.IndexVariableName&&(n=this.panelIndex)>-1)return e.isExists=!0,e.value=n+1,!0;if(e.name==as.VisibleIndexVariableName&&(n=this.visiblePanelIndex)>-1)return e.isExists=!0,e.value=n+1,!0;if(0==e.name.toLowerCase().indexOf(as.ParentItemVariableName+".")){var o=this.data;if(o&&o.parentQuestion&&o.parent&&o.parent.data){var i=new t(o.parentQuestion,o.parent.data,as.ItemVariableName),r=as.ItemVariableName+e.name.substring(as.ParentItemVariableName.length),a=i.processValue(r,e.returnDisplayValue);e.isExists=a.isExists,e.value=a.value}return!0}return!1},t}(no),rs=function(e){function t(t){return e.call(this,t)||this}return ts(t,e),t}(tt),as=function(){function e(t,n){this.data=t,this.panelValue=n,this.textPreProcessor=new is(t,this,e.ItemVariableName),this.setSurveyImpl()}return Object.defineProperty(e.prototype,"panel",{get:function(){return this.panelValue},enumerable:!1,configurable:!0}),e.prototype.setSurveyImpl=function(){this.panel.setSurveyImpl(this)},e.prototype.getValue=function(e){return this.getAllValues()[e]},e.prototype.setValue=function(t,n){var o=this.data.getPanelItemData(this),i=o?o[t]:void 0;if(!u.isTwoValueEquals(n,i,!1,!0,!1)){this.data.setPanelItemData(this,t,u.getUnbindValue(n));for(var r=this.panel.questions,a=0;a<r.length;a++){var s=r[a];s.getValueName()!==t&&s.checkBindings(t,n);var l=tn.commentSuffix;if(t.endsWith(l)){t=t.substring(0,t.length-l.length);var c=this.panel.getQuestionByName(t);c&&(n=c.value)}var p=e.ItemVariableName+"."+t;s.runTriggers(p,n)}}},e.prototype.getVariable=function(e){},e.prototype.setVariable=function(e,t){},e.prototype.getComment=function(e){var t=this.getValue(e+tn.commentSuffix);return t||""},e.prototype.setComment=function(e,t,n){this.setValue(e+tn.commentSuffix,t)},e.prototype.findQuestionByName=function(t){if(t){var n=e.ItemVariableName+".";if(0===t.indexOf(n))return this.panel.getQuestionByName(t.substring(n.length));var o=this.getSurvey();return o?o.getQuestionByName(t):null}},e.prototype.getEditingSurveyElement=function(){},e.prototype.getAllValues=function(){return this.data.getPanelItemData(this)},e.prototype.getFilteredValues=function(){var t={},n=this.data&&this.data.getRootData()?this.data.getRootData().getFilteredValues():{};for(var o in n)t[o]=n[o];if(t[e.ItemVariableName]=this.getAllValues(),this.data){var i=e.IndexVariableName,r=e.VisibleIndexVariableName;delete t[i],delete t[r],t[i.toLowerCase()]=this.data.getItemIndex(this),t[r.toLowerCase()]=this.data.getVisibleItemIndex(this);var a=this.data;a&&a.parentQuestion&&a.parent&&(t[e.ParentItemVariableName]=a.parent.getValue())}return t},e.prototype.getFilteredProperties=function(){return this.data&&this.data.getRootData()?this.data.getRootData().getFilteredProperties():{survey:this.getSurvey()}},e.prototype.getSurveyData=function(){return this},e.prototype.getSurvey=function(){return this.data?this.data.getSurvey():null},e.prototype.getTextProcessor=function(){return this.textPreProcessor},e.ItemVariableName="panel",e.ParentItemVariableName="parentpanel",e.IndexVariableName="panelIndex",e.VisibleIndexVariableName="visiblePanelIndex",e}(),ss=function(){function e(e){this.data=e}return e.prototype.getSurveyData=function(){return null},e.prototype.getSurvey=function(){return this.data.getSurvey()},e.prototype.getTextProcessor=function(){return null},e}(),ls=function(e){function t(t){var n=e.call(this,t)||this;return n._renderedPanels=[],n.isPanelsAnimationRunning=!1,n.isAddingNewPanels=!1,n.isSetPanelItemData={},n.createNewArray("panels",(function(e){n.onPanelAdded(e)}),(function(e){n.onPanelRemoved(e)})),n.createNewArray("visiblePanels"),n.templateValue=n.createAndSetupNewPanelObject(),n.template.renderWidth="100%",n.template.selectedElementInDesign=n,n.template.addElementCallback=function(e){n.addOnPropertyChangedCallback(e),n.rebuildPanels()},n.template.removeElementCallback=function(){n.rebuildPanels()},n.createLocalizableString("confirmDeleteText",n,!1,"confirmDelete"),n.createLocalizableString("keyDuplicationError",n,!1,!0),n.createLocalizableString("panelAddText",n,!1,"addPanel"),n.createLocalizableString("panelRemoveText",n,!1,"removePanel"),n.createLocalizableString("panelPrevText",n,!1,"pagePrevText"),n.createLocalizableString("panelNextText",n,!1,"pageNextText"),n.createLocalizableString("noEntriesText",n,!1,"noEntriesText"),n.createLocalizableString("templateTabTitle",n,!0,"panelDynamicTabTextFormat"),n.createLocalizableString("tabTitlePlaceholder",n,!0,"tabTitlePlaceholder"),n.registerPropertyChangedHandlers(["panelsState"],(function(){n.setPanelsState()})),n.registerPropertyChangedHandlers(["newPanelPosition","displayMode","showProgressBar"],(function(){n.updateFooterActions()})),n.registerPropertyChangedHandlers(["allowAddPanel"],(function(){n.updateNoEntriesTextDefaultLoc()})),n.registerPropertyChangedHandlers(["minPanelCount"],(function(){n.onMinPanelCountChanged()})),n.registerPropertyChangedHandlers(["maxPanelCount"],(function(){n.onMaxPanelCountChanged()})),n}return ts(t,e),Object.defineProperty(t.prototype,"isCompositeQuestion",{get:function(){return!0},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"hasSingleInput",{get:function(){return!1},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isContainer",{get:function(){return!0},enumerable:!1,configurable:!0}),t.prototype.getFirstQuestionToFocus=function(e){for(var t=0;t<this.visiblePanelsCore.length;t++){var n=this.visiblePanelsCore[t].getFirstQuestionToFocus(e);if(n)return n}return this.showAddPanelButton&&(!e||this.currentErrorCount>0)?this:null},t.prototype.getFirstInputElementId=function(){return this.showAddPanelButton?this.addButtonId:e.prototype.getFirstInputElementId.call(this)},t.prototype.setSurveyImpl=function(t,n){e.prototype.setSurveyImpl.call(this,t,n),this.setTemplatePanelSurveyImpl(),this.setPanelsSurveyImpl()},t.prototype.assignOnPropertyChangedToTemplate=function(){for(var e=this.template.elements,t=0;t<e.length;t++)this.addOnPropertyChangedCallback(e[t])},t.prototype.addOnPropertyChangedCallback=function(e){var t=this;e.isQuestion&&e.setParentQuestion(this),e.onPropertyChanged.add((function(e,n){t.onTemplateElementPropertyChanged(e,n)})),e.isPanel&&(e.addElementCallback=function(e){t.addOnPropertyChangedCallback(e)})},t.prototype.onTemplateElementPropertyChanged=function(e,t){if(!this.isLoadingFromJson&&!this.useTemplatePanel&&0!=this.panelsCore.length&&L.findProperty(e.getType(),t.name))for(var n=this.panelsCore,o=0;o<n.length;o++){var i=n[o].getQuestionByName(e.name);i&&i[t.name]!==t.newValue&&(i[t.name]=t.newValue)}},Object.defineProperty(t.prototype,"useTemplatePanel",{get:function(){return this.isDesignMode&&!this.isContentElement},enumerable:!1,configurable:!0}),t.prototype.getType=function(){return"paneldynamic"},t.prototype.clearOnDeletingContainer=function(){this.panelsCore.forEach((function(e){e.clearOnDeletingContainer()}))},Object.defineProperty(t.prototype,"isAllowTitleLeft",{get:function(){return!1},enumerable:!1,configurable:!0}),t.prototype.removeElement=function(e){return this.template.removeElement(e)},Object.defineProperty(t.prototype,"template",{get:function(){return this.templateValue},enumerable:!1,configurable:!0}),t.prototype.getPanel=function(){return this.template},Object.defineProperty(t.prototype,"templateElements",{get:function(){return this.template.elements},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"templateTitle",{get:function(){return this.template.title},set:function(e){this.template.title=e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"locTemplateTitle",{get:function(){return this.template.locTitle},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"templateTabTitle",{get:function(){return this.locTemplateTabTitle.text},set:function(e){this.locTemplateTabTitle.text=e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"locTemplateTabTitle",{get:function(){return this.getLocalizableString("templateTabTitle")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"tabTitlePlaceholder",{get:function(){return this.locTabTitlePlaceholder.text},set:function(e){this.locTabTitlePlaceholder.text=e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"locTabTitlePlaceholder",{get:function(){return this.getLocalizableString("tabTitlePlaceholder")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"templateDescription",{get:function(){return this.template.description},set:function(e){this.template.description=e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"locTemplateDescription",{get:function(){return this.template.locDescription},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"templateVisibleIf",{get:function(){return this.getPropertyValue("templateVisibleIf")},set:function(e){this.setPropertyValue("templateVisibleIf",e),this.template.visibleIf=e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"items",{get:function(){for(var e=[],t=0;t<this.panelsCore.length;t++)e.push(this.panelsCore[t].data);return e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"panels",{get:function(){return this.buildPanelsFirstTime(this.canBuildPanels),this.panelsCore},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"visiblePanels",{get:function(){return this.buildPanelsFirstTime(this.canBuildPanels),this.visiblePanelsCore},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"panelsCore",{get:function(){return this.getPropertyValue("panels")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"visiblePanelsCore",{get:function(){return this.getPropertyValue("visiblePanels")},enumerable:!1,configurable:!0}),t.prototype.onPanelAdded=function(e){if(this.onPanelRemovedCore(e),e.visible){for(var t=0,n=this.panelsCore,o=0;o<n.length&&n[o]!==e;o++)n[o].visible&&t++;this.visiblePanelsCore.splice(t,0,e),this.addTabFromToolbar(e,t),this.currentPanel||(this.currentPanel=e),this.updateRenderedPanels()}},t.prototype.onPanelRemoved=function(e){var t=this.onPanelRemovedCore(e);if(this.currentPanel===e){var n=this.visiblePanelsCore;t>=n.length&&(t=n.length-1),this.currentPanel=t>=0?n[t]:null}this.updateRenderedPanels()},t.prototype.onPanelRemovedCore=function(e){var t=this.visiblePanelsCore,n=t.indexOf(e);return n>-1&&(t.splice(n,1),this.removeTabFromToolbar(e)),n},Object.defineProperty(t.prototype,"currentIndex",{get:function(){return this.isRenderModeList?-1:this.useTemplatePanel?0:this.visiblePanelsCore.indexOf(this.currentPanel)},set:function(e){e<0||this.visiblePanelCount<1||(e>=this.visiblePanelCount&&(e=this.visiblePanelCount-1),this.currentPanel=this.visiblePanelsCore[e])},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"currentPanel",{get:function(){if(this.isDesignMode)return this.template;if(this.isRenderModeList||this.useTemplatePanel)return null;var e=this.getPropertyValue("currentPanel",null);return!e&&this.visiblePanelCount>0&&(e=this.visiblePanelsCore[0],this.currentPanel=e),e},set:function(e){if(!this.isRenderModeList&&!this.useTemplatePanel){var t=this.getPropertyValue("currentPanel"),n=e?this.visiblePanelsCore.indexOf(e):-1;if(!(e&&n<0||e===t)&&(t&&t.onHidingContent(),this.setPropertyValue("currentPanel",e),this.updateRenderedPanels(),this.updateFooterActions(),this.updateTabToolbarItemsPressedState(),this.fireCallback(this.currentIndexChangedCallback),n>-1&&this.survey)){var o={panel:e,visiblePanelIndex:n};this.survey.dynamicPanelCurrentIndexChanged(this,o)}}},enumerable:!1,configurable:!0}),t.prototype.updateRenderedPanels=function(){this.isRenderModeList?this.renderedPanels=[].concat(this.visiblePanels):this.currentPanel?this.renderedPanels=[this.currentPanel]:this.renderedPanels=[]},Object.defineProperty(t.prototype,"renderedPanels",{get:function(){return this._renderedPanels},set:function(e){0==this.renderedPanels.length||0==e.length?(this.blockAnimations(),this.panelsAnimation.sync(e),this.releaseAnimations()):(this.isPanelsAnimationRunning=!0,this.panelsAnimation.sync(e))},enumerable:!1,configurable:!0}),t.prototype.getPanelsAnimationOptions=function(){var e=this,t=function(){if(e.isRenderModeList)return"";var t=new Ae,n=!1,o=e.renderedPanels.filter((function(t){return t!==e.currentPanel}))[0],i=e.visiblePanels.indexOf(o);return i<0&&(n=!0,i=e.removedPanelIndex),t.append("sv-pd-animation-adding",!!e.focusNewPanelCallback).append("sv-pd-animation-removing",n).append("sv-pd-animation-left",i<=e.currentIndex).append("sv-pd-animation-right",i>e.currentIndex).toString()};return{getRerenderEvent:function(){return e.onElementRerendered},getAnimatedElement:function(t){var n,o;if(t&&e.cssContent){var i=Qt(e.cssContent);return null===(o=null===(n=e.getWrapperElement())||void 0===n?void 0:n.querySelector(":scope "+i+" #"+t.id))||void 0===o?void 0:o.parentElement}},getEnterOptions:function(){return{onBeforeRunAnimation:function(t){if(e.focusNewPanelCallback){var n=e.isRenderModeList?t:t.parentElement;yt.ScrollElementToViewCore(n,!1,!1,{behavior:"smooth"})}!e.isRenderModeList&&t.parentElement?Jt(t.parentElement,{heightTo:t.offsetHeight+"px"}):Yt(t)},onAfterRunAnimation:function(e){Xt(e),e.parentElement&&Xt(e.parentElement)},cssClass:(new Ae).append(e.cssClasses.panelWrapperEnter).append(t()).toString()}},getLeaveOptions:function(){return{onBeforeRunAnimation:function(t){!e.isRenderModeList&&t.parentElement?Jt(t.parentElement,{heightFrom:t.offsetHeight+"px"}):Yt(t)},onAfterRunAnimation:function(e){Xt(e),e.parentElement&&Xt(e.parentElement)},cssClass:(new Ae).append(e.cssClasses.panelWrapperLeave).append(t()).toString()}},isAnimationEnabled:function(){return e.animationAllowed&&!!e.getWrapperElement()}}},t.prototype.disablePanelsAnimations=function(){this.panelsCore.forEach((function(e){e.blockAnimations()}))},t.prototype.enablePanelsAnimations=function(){this.panelsCore.forEach((function(e){e.releaseAnimations()}))},t.prototype.updatePanelsAnimation=function(){var e=this;this._panelsAnimations=new(this.isRenderModeList?dt:ht)(this.getPanelsAnimationOptions(),(function(t,n){e._renderedPanels=t,n||(e.isPanelsAnimationRunning=!1,e.focusNewPanel())}),(function(){return e._renderedPanels}))},Object.defineProperty(t.prototype,"panelsAnimation",{get:function(){return this._panelsAnimations||this.updatePanelsAnimation(),this._panelsAnimations},enumerable:!1,configurable:!0}),t.prototype.onHidingContent=function(){e.prototype.onHidingContent.call(this),this.currentPanel?this.currentPanel.onHidingContent():this.visiblePanelsCore.forEach((function(e){return e.onHidingContent()}))},Object.defineProperty(t.prototype,"confirmDelete",{get:function(){return this.getPropertyValue("confirmDelete")}
vendor: 4,628 bytes, line 16
16,set:function(e){this.setPropertyValue("confirmDelete",e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"keyName",{get:function(){return this.getPropertyValue("keyName","")},set:function(e){this.setPropertyValue("keyName",e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"confirmDeleteText",{get:function(){return this.getLocalizableStringText("confirmDeleteText")},set:function(e){this.setLocalizableStringText("confirmDeleteText",e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"locConfirmDeleteText",{get:function(){return this.getLocalizableString("confirmDeleteText")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"keyDuplicationError",{get:function(){return this.getLocalizableStringText("keyDuplicationError")},set:function(e){this.setLocalizableStringText("keyDuplicationError",e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"locKeyDuplicationError",{get:function(){return this.getLocalizableString("keyDuplicationError")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"panelPrevText",{get:function(){return this.getLocalizableStringText("panelPrevText")},set:function(e){this.setLocalizableStringText("panelPrevText",e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"locPanelPrevText",{get:function(){return this.getLocalizableString("panelPrevText")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"panelNextText",{get:function(){return this.getLocalizableStringText("panelNextText")},set:function(e){this.setLocalizableStringText("panelNextText",e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"locPanelNextText",{get:function(){return this.getLocalizableString("panelNextText")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"panelAddText",{get:function(){return this.getLocalizableStringText("panelAddText")},set:function(e){this.setLocalizableStringText("panelAddText",e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"locPanelAddText",{get:function(){return this.getLocalizableString("panelAddText")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"panelRemoveText",{get:function(){return this.getLocalizableStringText("panelRemoveText")},set:function(e){this.setLocalizableStringText("panelRemoveText",e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"locPanelRemoveText",{get:function(){return this.getLocalizableString("panelRemoveText")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isProgressTopShowing",{get:function(){return"carousel"==this.displayMode&&("top"===this.progressBarLocation||"topBottom"===this.progressBarLocation)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isProgressBottomShowing",{get:function(){return"carousel"==this.displayMode&&("bottom"===this.progressBarLocation||"topBottom"===this.progressBarLocation)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isPrevButtonVisible",{get:function(){return this.currentIndex>0},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isPrevButtonShowing",{get:function(){return this.isPrevButtonVisible},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isNextButtonVisible",{get:function(){return this.currentIndex>=0&&this.currentIndex<this.visiblePanelCount-1},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isNextButtonShowing",{get:function(){return this.isNextButtonVisible},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isRangeShowing",{get:function(){return this.showRangeInProgress&&this.currentIndex>=0&&this.visiblePanelCount>1},enumerable:!1,configurable:!0}),t.prototype.getElementsInDesign=function(e){return void 0===e&&(e=!1),e?[this.template]:this.templateElements},t.prototype.prepareValueForPanelCreating=function(){this.addingNewPanelsValue=this.value,this.isAddingNewPanels=!0,this.isNewPanelsValueChanged=!1},t.prototype.setValueAfterPanelsCreating=function(){this.isAddingNewPanels=!1,this.isNewPanelsValueChanged&&(this.isValueChangingInternally=!0,this.value=this.addingNewPanelsValue,this.isValueChangingInternally=!1)},t.prototype.getValueCore=function(){return this.isAddingNewPanels?this.addingNewPanelsValue:e.prototype.getValueCore.call(this)},t.prototype.setValueCore=function(t){this.isAddingNewPanels?(this.isNewPanelsValueChanged=!0,this.addingNewPanelsValue=t):e.prototype.setValueCore.call(this,t)},t.prototype.setIsMobile=function(t){e.prototype.setIsMobile.call(this,t),(this.panelsCore||[]).forEac
vendor: 28,289 bytes, line 16
16h((function(e){return e.getQuestions(!0).forEach((function(e){e.setIsMobile(t)}))}))},t.prototype.themeChanged=function(t){e.prototype.themeChanged.call(this,t),(this.panelsCore||[]).forEach((function(e){return e.getQuestions(!0).forEach((function(e){e.themeChanged(t)}))}))},Object.defineProperty(t.prototype,"panelCount",{get:function(){return!this.canBuildPanels||this.wasNotRenderedInSurvey?this.getPropertyValue("panelCount"):this.panelsCore.length},set:function(e){if(!(e<0)){if(!this.canBuildPanels||this.wasNotRenderedInSurvey)return this.setPropertyValue("panelCount",e),void this.updateFooterActions();if(e!=this.panelsCore.length&&!this.useTemplatePanel){this.updateBindings("panelCount",e),this.prepareValueForPanelCreating();for(var t=this.panelCount;t<e;t++){var n=this.createNewPanel();this.panelsCore.push(n),"list"==this.displayMode&&"default"!=this.panelsState&&("expanded"===this.panelsState?n.expand():n.title&&n.collapse())}e<this.panelCount&&this.panelsCore.splice(e,this.panelCount-e),this.disablePanelsAnimations(),this.setValueAfterPanelsCreating(),this.setValueBasedOnPanelCount(),this.reRunCondition(),this.updateFooterActions(),this.fireCallback(this.panelCountChangedCallback),this.enablePanelsAnimations()}}},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"visiblePanelCount",{get:function(){return this.visiblePanels.length},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"panelsState",{get:function(){return this.getPropertyValue("panelsState")},set:function(e){this.setPropertyValue("panelsState",e)},enumerable:!1,configurable:!0}),t.prototype.setTemplatePanelSurveyImpl=function(){this.template.setSurveyImpl(this.useTemplatePanel?this.surveyImpl:new ss(this))},t.prototype.setPanelsSurveyImpl=function(){for(var e=0;e<this.panelsCore.length;e++){var t=this.panelsCore[e];t!=this.template&&t.setSurveyImpl(t.data)}},t.prototype.setPanelsState=function(){if(!this.useTemplatePanel&&"list"==this.displayMode&&this.templateTitle)for(var e=0;e<this.panelsCore.length;e++){var t=this.panelsState;"firstExpanded"===t&&(t=0===e?"expanded":"collapsed"),this.panelsCore[e].state=t}},t.prototype.setValueBasedOnPanelCount=function(){var e=this.value;if(e&&Array.isArray(e)||(e=[]),e.length!=this.panelCount){for(var t=e.length;t<this.panelCount;t++){var n=this.panels[t].getValue(),o=u.isValueEmpty(n)?{}:n;e.push(o)}e.length>this.panelCount&&e.splice(this.panelCount,e.length-this.panelCount),this.isValueChangingInternally=!0,this.value=e,this.isValueChangingInternally=!1}},Object.defineProperty(t.prototype,"minPanelCount",{get:function(){return this.getPropertyValue("minPanelCount")},set:function(e){e<0&&(e=0),this.setPropertyValue("minPanelCount",e)},enumerable:!1,configurable:!0}),t.prototype.onMinPanelCountChanged=function(){var e=this.minPanelCount;e>this.maxPanelCount&&(this.maxPanelCount=e),this.panelCount<e&&(this.panelCount=e)},Object.defineProperty(t.prototype,"maxPanelCount",{get:function(){return this.getPropertyValue("maxPanelCount")},set:function(e){e<=0||(e>tn.panel.maxPanelCount&&(e=tn.panel.maxPanelCount),this.setPropertyValue("maxPanelCount",e),this.updateFooterActions())},enumerable:!1,configurable:!0}),t.prototype.onMaxPanelCountChanged=function(){var e=this.maxPanelCount;e<this.minPanelCount&&(this.minPanelCount=e),this.panelCount>e&&(this.panelCount=e),this.updateFooterActions()},Object.defineProperty(t.prototype,"allowAddPanel",{get:function(){return this.getPropertyValue("allowAddPanel")},set:function(e){this.setPropertyValue("allowAddPanel",e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"addButtonId",{get:function(){return this.id+"addPanel"},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"newPanelPosition",{get:function(){return this.getPropertyValue("newPanelPosition")},set:function(e){this.setPropertyValue("newPanelPosition",e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"allowRemovePanel",{get:function(){return this.getPropertyValue("allowRemovePanel")},set:function(e){this.setPropertyValue("allowRemovePanel",e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"templateTitleLocation",{get:function(){return this.getPropertyValue("templateTitleLocation")},set:function(e){this.setPropertyValue("templateTitleLocation",e.toLowerCase())},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"templateErrorLocation",{get:function(){return this.getPropertyValue("templateErrorLocation")},set:function(e){this.setPropertyValue("templateErrorLocation",e.toLowerCase())},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"showQuestionNumbers",{get:function(){return this.getPropertyValue("showQuestionNumbers")},set:function(e){this.setPropertyValue("showQuestionNumbers",e),!this.isLoadingFromJson&&this.survey&&this.survey.questionVisibilityChanged(this,this.visible,!0)},enumerable:!1,configurable:!0}),t.prototype.notifySurveyOnChildrenVisibilityChanged=function(){return"onSurvey"===this.showQuestionNumbers},Object.defineProperty(t.prototype,"panelRemoveButtonLocation",{get:function(){return this.getPropertyValue("panelRemoveButtonLocation")},set:function(e){this.setPropertyValue("panelRemoveButtonLocation",e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"showRangeInProgress",{get:function(){return this.showProgressBar},set:function(e){this.showProgressBar=e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"renderMode",{get:function(){var e=this.displayMode;if("carousel"==e){var t=this.progressBarLocation;if("top"==t)return"progressTop";if("bottom"==t)return"progressBottom";if("topBottom"==t)return"progressTopBottom"}return e},set:function(e){(e||"").startsWith("progress")?("progressTop"==e?this.progressBarLocation="top":"progressBottom"==e?this.progressBarLocation="bottom":"progressTopBottom"==e&&(this.progressBarLocation="topBottom"),this.displayMode="carousel"):this.displayMode=e},enumerable:!1,configurable:!0}),t.prototype.updatePanelView=function(){this.blockAnimations(),this.updateRenderedPanels(),this.releaseAnimations(),this.updatePanelsAnimation()},Object.defineProperty(t.prototype,"tabAlign",{get:function(){return this.getPropertyValue("tabAlign")},set:function(e){this.setPropertyValue("tabAlign",e),this.isRenderModeTab&&(this.tabbedMenu.containerCss=this.getTabbedMenuCss())},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isRenderModeList",{get:function(){return"list"===this.displayMode},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isRenderModeTab",{get:function(){return"tab"===this.displayMode},enumerable:!1,configurable:!0}),t.prototype.setVisibleIndex=function(t){if(!this.isVisible)return 0;for(var n="onSurvey"===this.showQuestionNumbers,o=n?t:0,i=this.isDesignMode?[this.template]:this.visiblePanelsCore,r=0;r<i.length;r++){var a=this.setPanelVisibleIndex(i[r],o,"off"!=this.showQuestionNumbers);n&&(o+=a)}return e.prototype.setVisibleIndex.call(this,n?-1:t),n?o-t:1},t.prototype.setPanelVisibleIndex=function(e,t,n){return n?e.setVisibleIndex(t):(e.setVisibleIndex(-1),0)},Object.defineProperty(t.prototype,"canAddPanel",{get:function(){return!this.isDesignMode&&(!(this.isDefaultV2Theme&&!this.legacyNavigation&&!this.isRenderModeList&&this.currentIndex<this.visiblePanelCount-1&&"next"!==this.newPanelPosition)&&(this.allowAddPanel&&!this.isReadOnly&&this.panelCount<this.maxPanelCount))},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"canRemovePanel",{get:function(){return!this.isDesignMode&&(this.allowRemovePanel&&!this.isReadOnly&&this.panelCount>this.minPanelCount)},enumerable:!1,configurable:!0}),t.prototype.rebuildPanels=function(){var e;if(!this.isLoadingFromJson){this.prepareValueForPanelCreating();var t=[];if(this.useTemplatePanel)new as(this,this.template),t.push(this.template);else for(var n=0;n<this.panelCount;n++)this.createNewPanel(),t.push(this.createNewPanel());(e=this.panelsCore).splice.apply(e,os([0,this.panelsCore.length],t)),this.setValueAfterPanelsCreating(),this.setPanelsState(),this.reRunCondition(),this.updateFooterActions(),this.fireCallback(this.panelCountChangedCallback),this.updateTabToolbar()}},Object.defineProperty(t.prototype,"defaultPanelValue",{get:function(){return this.getPropertyValue("defaultPanelValue")},set:function(e){this.setPropertyValue("defaultPanelValue",e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"defaultValueFromLastPanel",{get:function(){return this.getPropertyValue("defaultValueFromLastPanel")},set:function(e){this.setPropertyValue("defaultValueFromLastPanel",e)},enumerable:!1,configurable:!0}),t.prototype.isDefaultValueEmpty=function(){return e.prototype.isDefaultValueEmpty.call(this)&&this.isValueEmpty(this.defaultPanelValue)},t.prototype.setDefaultValue=function(){if(!this.isValueEmpty(this.defaultPanelValue)&&this.isValueEmpty(this.defaultValue)){if(this.isEmpty()&&0!=this.panelCount){for(var t=[],n=0;n<this.panelCount;n++)t.push(this.defaultPanelValue);this.value=t}}else e.prototype.setDefaultValue.call(this)},Object.defineProperty(t.prototype,"isValueArray",{get:function(){return!0},enumerable:!1,configurable:!0}),t.prototype.isEmpty=function(){var e=this.value;if(!e||!Array.isArray(e))return!0;for(var t=0;t<e.length;t++)if(!this.isRowEmpty(e[t]))return!1;return!0},t.prototype.getProgressInfo=function(){return yt.getProgressInfoByElements(this.visiblePanelsCore,this.isRequired)},t.prototype.isRowEmpty=function(e){for(var t in e)if(e.hasOwnProperty(t))return!1;return!0},t.prototype.addPanelUI=function(){if(!this.canAddPanel)return null;if(!this.canLeaveCurrentPanel())return null;var e=this.addPanel();return"list"===this.displayMode&&"default"!==this.panelsState&&e.expand(),this.focusNewPanelCallback=function(){e.focusFirstQuestion()},this.isPanelsAnimationRunning||this.focusNewPanel(),e},t.prototype.focusNewPanel=function(){this.focusNewPanelCallback&&(this.focusNewPanelCallback(),this.focusNewPanelCallback=void 0)},t.prototype.addPanel=function(e){var t=this.currentIndex;return void 0===e&&(e=t<0?this.panelCount:t+1),(e<0||e>this.panelCount)&&(e=this.panelCount),this.updateValueOnAddingPanel(t<0?this.panelCount-1:t,e),this.isRenderModeList||(this.currentIndex=e),this.notifyOnPanelAddedRemoved(!0,e),this.panelsCore[e]},t.prototype.updateValueOnAddingPanel=function(e,t){this.panelCount++;var n=this.value;if(Array.isArray(n)&&n.length===this.panelCount){var o=!1,i=this.panelCount-1;if(t<i){o=!0;var r=n[i];n.splice(i,1),n.splice(t,0,r)}if(this.isValueEmpty(this.defaultPanelValue)||(o=!0,this.copyValue(n[t],this.defaultPanelValue)),this.defaultValueFromLastPanel&&n.length>1){var a=e>-1&&e<=i?e:i;o=!0,this.copyValue(n[t],n[a])}o&&(this.value=n)}},t.prototype.canLeaveCurrentPanel=function(){return!("list"!==this.displayMode&&this.currentPanel&&this.currentPanel.hasErrors(!0,!0))},t.prototype.copyValue=function(e,t){for(var n in t)e[n]=t[n]},t.prototype.removePanelUI=function(e){var t=this,n=this.getVisualPanelIndex(e);if(!(n<0||n>=this.visiblePanelCount)&&this.canRemovePanel){var o=function(){var e;t.removePanel(n);var o=t.visiblePanelCount,i=n>=o?o-1:n,r=0===o?t.addButtonId:i>-1?t.getPanelRemoveButtonId(t.visiblePanels[i]):"";r&&yt.FocusElement(r,!0,null===(e=t.survey)||void 0===e?void 0:e.rootElement)};this.isRequireConfirmOnDelete(e)?wt({message:this.confirmDeleteText,funcOnYes:function(){o()},locale:this.getLocale(),rootElement:this.survey.rootElement,cssClass:this.cssClasses.confirmDialog}):o()}},t.prototype.getPanelRemoveButtonId=function(e){return e.id+"_remove_button"},t.prototype.isRequireConfirmOnDelete=function(e){if(!this.confirmDelete)return!1;var t=this.getVisualPanelIndex(e);if(t<0||t>=this.visiblePanelCount)return!1;var n=this.visiblePanelsCore[t].getValue();return!this.isValueEmpty(n)&&(this.isValueEmpty(this.defaultPanelValue)||!this.isTwoValueEquals(n,this.defaultPanelValue))},t.prototype.goToNextPanel=function(){return!(this.currentIndex<0)&&(!!this.canLeaveCurrentPanel()&&(this.currentIndex++,!0))},t.prototype.goToPrevPanel=function(){this.currentIndex<0||this.currentIndex--},t.prototype.removePanel=function(e){var t=this.getVisualPanelIndex(e);if(!(t<0||t>=this.visiblePanelCount)){this.removedPanelIndex=t;var n=this.visiblePanelsCore[t],o=this.panelsCore.indexOf(n);if(!(o<0))if(!this.survey||this.survey.dynamicPanelRemoving(this,o,n))this.panelsCore.splice(o,1),this.updateBindings("panelCount",this.panelCount),!(e=this.value)||!Array.isArray(e)||o>=e.length?this.updateFooterActions():(this.isValueChangingInternally=!0,e.splice(o,1),this.value=e,this.updateFooterActions(),this.fireCallback(this.panelCountChangedCallback),this.notifyOnPanelAddedRemoved(!1,o,n),this.isValueChangingInternally=!1)}},t.prototype.notifyOnPanelAddedRemoved=function(e,t,n){if(n||(n=this.panelsCore[t]),this.survey){var o="onSurvey"===this.showQuestionNumbers;e?this.survey.dynamicPanelAdded(this,t,n,o):this.survey.dynamicPanelRemoved(this,t,n,o)}e&&n&&"onPanel"===this.showQuestionNumbers&&n.setVisibleIndex(0)},t.prototype.getVisualPanelIndex=function(e){if(u.isNumber(e))return e;for(var t=this.visiblePanelsCore,n=0;n<t.length;n++)if(t[n]===e||t[n].data===e)return n;return-1},t.prototype.getPanelVisibleIndexById=function(e){for(var t=this.visiblePanelsCore,n=0;n<t.length;n++)if(t[n].id===e)return n;return-1},t.prototype.locStrsChanged=function(){e.prototype.locStrsChanged.call(this);for(var t=this.panelsCore,n=0;n<t.length;n++)t[n].locStrsChanged();this.tabbedMenu&&this.tabbedMenu.locStrsChanged()},t.prototype.clearIncorrectValues=function(){for(var e=0;e<this.panelsCore.length;e++)this.clearIncorrectValuesInPanel(e)},t.prototype.clearErrors=function(){e.prototype.clearErrors.call(this);for(var t=0;t<this.panelsCore.length;t++)this.panelsCore[t].clearErrors()},t.prototype.getQuestionFromArray=function(e,t){return t<0||t>=this.panelsCore.length?null:this.panelsCore[t].getQuestionByName(e)},t.prototype.clearIncorrectValuesInPanel=function(e){var t=this.panelsCore[e];t.clearIncorrectValues();var n=this.value,o=n&&e<n.length?n[e]:null;if(o){var i=!1;for(var r in o){if(!this.getSharedQuestionFromArray(r,e))t.getQuestionByValueName(r)||this.iscorrectValueWithPostPrefix(t,r,tn.commentSuffix)||this.iscorrectValueWithPostPrefix(t,r,tn.matrix.totalsSuffix)||(delete o[r],i=!0)}i&&(n[e]=o,this.value=n)}},t.prototype.iscorrectValueWithPostPrefix=function(e,t,n){return t.indexOf(n)===t.length-n.length&&!!e.getQuestionByName(t.substring(0,t.indexOf(n)))},t.prototype.getSharedQuestionFromArray=function(e,t){return this.survey&&this.valueName?this.survey.getQuestionByValueNameFromArray(this.valueName,e,t):null},t.prototype.addConditionObjectsByContext=function(e,t){for(var n=(null==t?void 0:t.isValidator)?t.errorOwner:t,o=!!t&&(!0===t||this.template.questions.indexOf(n)>-1),i=new Array,r=this.template.questions,a=0;a<r.length;a++)r[a].addConditionObjectsByContext(i,t);for(var s=0;s<tn.panel.maxPanelCountInCondition;s++){var l="["+s+"].",u=this.getValueName()+l,c=this.processedTitle+l;for(a=0;a<i.length;a++)i[a].context?e.push(i[a]):e.push({name:u+i[a].name,text:c+i[a].text,question:i[a].question})}if(o)for(u=!0===t?this.getValueName()+".":"",c=!0===t?this.processedTitle+".":"",a=0;a<i.length;a++)if(i[a].question!=t){var p={name:u+as.ItemVariableName+"."+i[a].name,text:c+as.ItemVariableName+"."+i[a].text,question:i[a].question};p.context=this,e.push(p)}},t.prototype.collectNestedQuestionsCore=function(e,t,n){n&&e.push(this);var o=t?this.visiblePanelsCore:this.panelsCore;Array.isArray(o)&&o.forEach((function(o){o.questions.forEach((function(o){return o.collectNestedQuestions(e,t,n)}))}))},t.prototype.getConditionJson=function(t,n){if(void 0===t&&(t=null),void 0===n&&(n=null),!n)return e.prototype.getConditionJson.call(this,t);var o=n,i=n.indexOf(".");i>-1&&(o=n.substring(0,i),n=n.substring(i+1));var r=this.template.getQuestionByName(o);return r?r.getConditionJson(t,n):null},t.prototype.onReadOnlyChanged=function(){var t=this.isReadOnly;this.template.readOnly=t;for(var n=0;n<this.panelsCore.length;n++)this.panelsCore[n].readOnly=t;this.updateNoEntriesTextDefaultLoc(),this.updateFooterActions(),e.prototype.onReadOnlyChanged.call(this)},t.prototype.updateNoEntriesTextDefaultLoc=function(){var e=this.getLocalizableString("noEntriesText");e&&(e.localizationName=this.isReadOnly||!this.allowAddPanel?"noEntriesReadonlyText":"noEntriesText")},t.prototype.onSurveyLoad=function(){this.template.readOnly=this.isReadOnly,this.template.onSurveyLoad(),this.panelCount<this.minPanelCount&&(this.panelCount=this.minPanelCount),this.panelCount>this.maxPanelCount&&(this.panelCount=this.maxPanelCount),this.buildPanelsFirstTime(),e.prototype.onSurveyLoad.call(this)},t.prototype.buildPanelsFirstTime=function(e){if(void 0===e&&(e=!1),!this.hasPanelBuildFirstTime&&(e||!this.wasNotRenderedInSurvey)){if(this.blockAnimations(),this.hasPanelBuildFirstTime=!0,this.isBuildingPanelsFirstTime=!0,this.getPropertyValue("panelCount")>0&&(this.panelCount=this.getPropertyValue("panelCount")),this.useTemplatePanel&&this.rebuildPanels(),this.setPanelsSurveyImpl(),this.setPanelsState(),this.assignOnPropertyChangedToTemplate(),this.data&&this.isValueChangedWithoutPanels&&(this.isValueChangedWithoutPanels=!1,this.runTriggersOnBuildPanelsFirstTime()),this.survey)for(var t=0;t<this.panelCount;t++)this.notifyOnPanelAddedRemoved(!0,t);this.updateIsReady(),this.showAddPanelButton||this.updateNoEntriesTextDefaultLoc(),this.updateFooterActions(),this.isBuildingPanelsFirstTime=!1,this.releaseAnimations()}},t.prototype.runTriggersOnBuildPanelsFirstTime=function(){var e=this;this.value;this.visiblePanelsCore.forEach((function(t){var n=e.getPanelItemData(t.data);if(!u.isValueEmpty(n)){var o=u.createCopyWithPrefix(n,as.ItemVariableName+".");t.questions.forEach((function(e){return e.runTriggers("",void 0,o)}))}}))},Object.defineProperty(t.prototype,"showAddPanelButton",{get:function(){return this.allowAddPanel&&!this.isReadOnly},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"wasNotRenderedInSurvey",{get:function(){return!this.hasPanelBuildFirstTime&&!this.wasRendered&&!!this.survey},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"canBuildPanels",{get:function(){return!this.isLoadingFromJson&&!this.useTemplatePanel},enumerable:!1,configurable:!0}),t.prototype.onFirstRenderingCore=function(){e.prototype.onFirstRenderingCore.call(this),this.buildPanelsFirstTime(),this.template.onFirstRendering();for(var t=0;t<this.panelsCore.length;t++)this.panelsCore[t].onFirstRendering()},t.prototype.localeChanged=function(){e.prototype.localeChanged.call(this);for(var t=0;t<this.panelsCore.length;t++)this.panelsCore[t].localeChanged()},t.prototype.runCondition=function(t,n){e.prototype.runCondition.call(this,t,n),this.runPanelsCondition(this.panelsCore,t,n)},t.prototype.runTriggers=function(t,n,o){e.prototype.runTriggers.call(this,t,n,o),this.visiblePanelsCore.forEach((function(e){e.questions.forEach((function(e){return e.runTriggers(t,n,o)}))}))},t.prototype.reRunCondition=function(){this.data&&this.runCondition(this.getDataFilteredValues(),this.getDataFilteredProperties())},t.prototype.runPanelsCondition=function(e,t,n){var o={};t&&t instanceof Object&&(o=JSON.parse(JSON.stringify(t))),this.parentQuestion&&this.parent&&(o[as.ParentItemVariableName]=this.parent.getValue()),this.isValueChangingInternally=!0;for(var i=0,r=0;r<e.length;r++){var a=e[r],s=this.getPanelItemData(a.data),l=u.createCopy(o),c=as.ItemVariableName;l[c]=s,l[as.IndexVariableName.toLowerCase()]=r,l[as.VisibleIndexVariableName.toLowerCase()]=i;var p=u.createCopy(n);p[c]=a,a.runCondition(l,p),a.isVisible&&i++}this.isValueChangingInternally=!1},t.prototype.onAnyValueChanged=function(t,n){e.prototype.onAnyValueChanged.call(this,t,n),this.hasPanelBuildFirstTime||t!==this.getValueName()||(this.isValueChangedWithoutPanels=!0);for(var o=0;o<this.panelsCore.length;o++)this.panelsCore[o].onAnyValueChanged(t,n),this.panelsCore[o].onAnyValueChanged(as.ItemVariableName,"")},t.prototype.hasKeysDuplicated=function(e,t){void 0===t&&(t=null);for(var n,o=[],i=0;i<this.panelsCore.length;i++)n=this.isValueDuplicated(this.panelsCore[i],o,t,e)||n;return n},t.prototype.updatePanelsContainsErrors=function(){for(var e=this.changingValueQuestion.parent;e;)e.updateContainsErrors(),e=e.parent;this.updateContainsErrors()},t.prototype.hasErrors=function(t,n){if(void 0===t&&(t=!0),void 0===n&&(n=null),this.isValueChangingInternally||this.isBuildingPanelsFirstTime)return!1;var o=!1;if(this.changingValueQuestion){o=this.changingValueQuestion.hasErrors(t,n);o=this.hasKeysDuplicated(t,n)||o,this.updatePanelsContainsErrors()}else o=this.hasErrorInPanels(t,n);return e.prototype.hasErrors.call(this,t,n)||o},t.prototype.getContainsErrors=function(){var t=e.prototype.getContainsErrors.call(this);if(t)return t;for(var n=this.panelsCore,o=0;o<n.length;o++)if(n[o].containsErrors)return!0;return!1},t.prototype.getIsAnswered=function(){if(!e.prototype.getIsAnswered.call(this))return!1;for(var t=this.visiblePanelsCore,n=0;n<t.length;n++){var o=[];t[n].addQuestionsToList(o,!0);for(var i=0;i<o.length;i++)if(!o[i].isAnswered)return!1}return!0},t.prototype.clearValueOnHidding=function(t){if(!t){if(this.survey&&"none"===this.survey.getQuestionClearIfInvisible("onHidden"))return;this.clearValueInPanelsIfInvisible("onHiddenContainer")}e.prototype.clearValueOnHidding.call(this,t)},t.prototype.clearValueIfInvisible=function(t){void 0===t&&(t="onHidden");var n="onHidden"===t?"onHiddenContainer":t;this.clearValueInPanelsIfInvisible(n),e.prototype.clearValueIfInvisible.call(this,t)},t.prototype.clearValueInPanelsIfInvisible=function(e){for(var t=0;t<this.panelsCore.length;t++){var n=this.panelsCore[t],o=n.questions;this.isSetPanelItemData={};for(var i=0;i<o.length;i++){var r=o[i];r.visible&&!n.isVisible||(r.clearValueIfInvisible(e),this.isSetPanelItemData[r.getValueName()]=this.maxCheckCount+1)}}this.isSetPanelItemData={}},t.prototype.getIsRunningValidators=function(){if(e.prototype.getIsRunningValidators.call(this))return!0;for(var t=0;t<this.panelsCore.length;t++)for(var n=this.panelsCore[t].questions,o=0;o<n.length;o++)if(n[o].isRunningValidators)return!0;return!1},t.prototype.getAllErrors=function(){for(var t=e.prototype.getAllErrors.call(this),n=this.visiblePanelsCore,o=0;o<n.length;o++)for(var i=n[o].questions,r=0;r<i.length;r++){var a=i[r].getAllErrors();a&&a.length>0&&(t=t.concat(a))}return t},t.prototype.getDisplayValueCore=function(e,t){var n=this.getUnbindValue(t);if(!n||!Array.isArray(n))return n;for(var o=0;o<this.panelsCore.length&&o<n.length;o++){var i=n[o];i&&(n[o]=this.getPanelDisplayValue(o,i,e))}return n},t.prototype.getPanelDisplayValue=function(e,t,n){if(!t)return t;for(var o=this.panelsCore[e],i=Object.keys(t),r=0;r<i.length;r++){var a=i[r],s=o.getQuestionByValueName(a);if(s||(s=this.getSharedQuestionFromArray(a,e)),s){var l=s.getDisplayValue(n,t[a]);t[a]=l,n&&s.title&&s.title!==a&&(t[s.title]=l,delete t[a])}}return t},t.prototype.hasErrorInPanels=function(e,t){for(var n=!1,o=this.visiblePanels,i=[],r=0;r<o.length;r++)this.setOnCompleteAsyncInPanel(o[r]);for(var a=!!t&&t.focusOnFirstError,s=0;s<o.length;s++){var l=o[s].hasErrors(e,a,t);l=this.isValueDuplicated(o[s],i,t,e)||l,!this.isRenderModeList&&l&&!n&&a&&(this.currentIndex=s),n=l||n}return n},t.prototype.setOnCompleteAsyncInPanel=function(e){for(var t=this,n=e.questions,o=0;o<n.length;o++)n[o].onCompletedAsyncValidators=function(e){t.raiseOnCompletedAsyncValidators()}},t.prototype.isValueDuplicated=function(e,t,n,o){if(!this.keyName)return!1;var i=e.getQuestionByValueName(this.keyName);if(!i||i.isEmpty())return!1;var r=i.value;this.changingValueQuestion&&i!=this.changingValueQuestion&&i.hasErrors(o,n);for(var a=0;a<t.length;a++)if(r==t[a])return o&&i.addError(new fn(this.keyDuplicationError,this)),n&&!n.firstErrorQuestion&&(n.firstErrorQuestion=i),!0;return t.push(r),!1},t.prototype.getPanelActions=function(e){var t=this,n=e.footerActions;return"right"!==this.panelRemoveButtonLocation&&n.push(new tt({id:"remove-panel-"+e.id,component:"sv-paneldynamic-remove-btn",visible:new Ve((function(){return[t.canRemovePanel,"collapsed"!==e.state,"right"!==t.panelRemoveButtonLocation].every((function(e){return!0===e}))})),data:{question:this,panel:e}})),this.survey&&(n=this.survey.getUpdatedPanelFooterActions(e,n,this)),n},t.prototype.createNewPanel=function(){var e=this,t=this.createAndSetupNewPanelObject(),n=this.template.toJSON();(new q).toObject(n,t),t.renderWidth="100%",t.updateCustomWidgets(),new as(this,t),this.isDesignMode||this.isReadOnly||this.isValueEmpty(t.getValue())||this.runPanelsCondition([t],this.getDataFilteredValues(),this.getDataFilteredProperties());for(var o=t.questions,i=0;i<o.length;i++)o[i].setParentQuestion(this);return this.wasRendered&&(t.onFirstRendering(),t.locStrsChanged()),t.onGetFooterActionsCallback=function(){return e.getPanelActions(t)},t.onGetFooterToolbarCssCallback=function(){return e.cssClasses.panelFooter},t.registerPropertyChangedHandlers(["visible"],(function(){t.visible?e.onPanelAdded(t):e.onPanelRemoved(t),e.updateFooterActions()})),t},t.prototype.createAndSetupNewPanelObject=function(){var e=this,t=this.createNewPanelObject();return t.isInteractiveDesignElement=!1,t.setParentQuestion(this),t.onGetQuestionTitleLocation=function(){return e.getTemplateQuestionTitleLocation()},t},t.prototype.getTemplateQuestionTitleLocation=function(){return"default"!=this.templateTitleLocation?this.templateTitleLocation:this.getTitleLocationCore()},t.prototype.getChildErrorLocation=function(t){return"default"!==this.templateErrorLocation?this.templateErrorLocation:e.prototype.getChildErrorLocation.call(this,t)},t.prototype.createNewPanelObject=function(){return L.createClass("panel")},t.prototype.setPanelCountBasedOnValue=function(){if(!this.isValueChangingInternally&&!this.useTemplatePanel){var e=this.value,t=e&&Array.isArray(e)?e.length:0;0==t&&this.getPropertyValue("panelCount")>0&&(t=this.getPropertyValue("panelCount")),this.settingPanelCountBasedOnValue=!0,this.panelCount=t,this.settingPanelCountBasedOnValue=!1}},t.prototype.setQuestionValue=function(t){if(!this.settingPanelCountBasedOnValue){e.prototype.setQuestionValue.call(this,t,!1),this.setPanelCountBasedOnValue();for(var n=0;n<this.panelsCore.length;n++)this.panelUpdateValueFromSurvey(this.panelsCore[n]);this.updateIsAnswered()}},t.prototype.onSurveyValueChanged=function(t){if(void 0!==t||!this.isAllPanelsEmpty()){e.prototype.onSurveyValueChanged.call(this,t);for(var n=0;n<this.panelsCore.length;n++)this.panelSurveyValueChanged(this.panelsCore[n]);void 0===t&&this.setValueBasedOnPanelCount(),this.updateIsReady()}},t.prototype.isAllPanelsEmpty=function(){for(var e=0;e<this.panelsCore.length;e++)if(!u.isValueEmpty(this.panelsCore[e].getValue()))return!1;return!0},t.prototype.panelUpdateValueFromSurvey=function(e){for(var t=e.questions,n=this.getPanelItemData(e.data),o=0;o<t.length;o++){var i=t[o];i.updateValueFromSurvey(n[i.getValueName()]),i.updateCommentFromSurvey(n[i.getValueName()+tn.commentSuffix]),i.initDataUI()}},t.prototype.panelSurveyValueChanged=function(e){for(var t=e.questions,n=this.getPanelItemData(e.data),o=0;o<t.length;o++){var i=t[o];i.onSurveyValueChanged(n[i.getValueName()])}},t.prototype.onSetData=function(){e.prototype.onSetData.call(this),!this.isLoadingFromJson&&this.useTemplatePanel&&(this.setTemplatePanelSurveyImpl(),this.rebuildPanels())},t.prototype.isNewValueCorrect=function(e){return Array.isArray(e)},t.prototype.getItemIndex=function(e){var t=this.items.indexOf(e);return t>-1?t:this.items.length},t.prototype.getVisibleItemIndex=function(e){for(var t=this.visiblePanelsCore,n=0;n<t.length;n++)if(t[n].data===e)return n;return t.length},t.prototype.getPanelItemData=function(e){var t=this.items,n=t.indexOf(e),o=this.value;return n<0&&Array.isArray(o)&&o.length>t.length&&(n=t.length),n<0||!o||!Array.isArray(o)||o.length<=n?{}:o[n]},t.prototype.setPanelItemData=function(e,t,n){if(!(this.isSetPanelItemData[t]>this.maxCheckCount)){this.isSetPanelItemData[t]||(this.isSetPanelItemData[t]=0),this.isSetPanelItemData[t]++;var o=this.items,i=o.indexOf(e);i<0&&(i=o.length);var r=this.getUnbindValue(this.value);
16if(r&&Array.isArray(r)||(r=[]),r.length<=i)for(var a=r.length;a<=i;a++)r.push({});r[i]||(r[i]={});var s=r[i][t];this.isValueEmpty(n)?delete r[i][t]:r[i][t]=n,i>=0&&i<this.panelsCore.length&&(this.changingValueQuestion=this.panelsCore[i].getQuestionByValueName(t));var l={panel:e.panel,name:t,panelIndex:i,panelData:r[i],value:n,oldValue:s};this.survey&&this.survey.dynamicPanelItemValueChanging(this,l),this.value=r,this.changingValueQuestion=null,this.survey&&this.survey.dynamicPanelItemValueChanged(this,l
vendor: 64,736 bytes, line 16
16),this.isSetPanelItemData[t]--,this.isSetPanelItemData[t]-1&&delete this.isSetPanelItemData[t]}},t.prototype.getRootData=function(){return this.data},t.prototype.getPlainData=function(t){void 0===t&&(t={includeEmpty:!0});var n=e.prototype.getPlainData.call(this,t);if(n){n.isNode=!0;var o=Array.isArray(n.data)?[].concat(n.data):[];n.data=this.panels.map((function(e,n){var o={name:e.name||n,title:e.title||"Panel",value:e.getValue(),displayValue:e.getValue(),getString:function(e){return"object"==typeof e?JSON.stringify(e):e},isNode:!0,data:e.questions.map((function(e){return e.getPlainData(t)})).filter((function(e){return!!e}))};return(t.calculations||[]).forEach((function(t){o[t.propertyName]=e[t.propertyName]})),o})),n.data=n.data.concat(o)}return n},t.prototype.updateElementCss=function(t){e.prototype.updateElementCss.call(this,t);for(var n=0;n<this.panelsCore.length;n++){this.panelsCore[n].updateElementCss(t)}},Object.defineProperty(t.prototype,"progressText",{get:function(){var e=this.visiblePanelCount;return this.getLocalizationFormatString("panelDynamicProgressText",this.currentIndex+1,e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"progress",{get:function(){return(this.currentIndex+1)/this.visiblePanelCount*100+"%"},enumerable:!1,configurable:!0}),t.prototype.getRootCss=function(){return(new Ae).append(e.prototype.getRootCss.call(this)).append(this.cssClasses.empty,this.getShowNoEntriesPlaceholder()).toString()},Object.defineProperty(t.prototype,"cssHeader",{get:function(){var t=this.isRenderModeTab&&!!this.visiblePanelCount;return(new Ae).append(e.prototype.getCssHeader.call(this,this.cssClasses)).append(this.cssClasses.headerTab,this.hasTitleOnTop&&t).toString()},enumerable:!1,configurable:!0}),t.prototype.getTabsContainerCss=function(){return(new Ae).append(this.cssClasses.tabsContainer).append(this.cssClasses.tabsContainerWithHeader,this.hasTitleOnTop).toString()},t.prototype.getPanelWrapperCss=function(e){return(new Ae).append(this.cssClasses.panelWrapper,!e||e.visible).append(this.cssClasses.panelWrapperList,this.isRenderModeList).append(this.cssClasses.panelWrapperInRow,"right"===this.panelRemoveButtonLocation).toString()},t.prototype.getPanelRemoveButtonCss=function(){return(new Ae).append(this.cssClasses.button).append(this.cssClasses.buttonRemove).append(this.cssClasses.buttonRemoveRight,"right"===this.panelRemoveButtonLocation).toString()},t.prototype.getAddButtonCss=function(){return(new Ae).append(this.cssClasses.button).append(this.cssClasses.buttonAdd).append(this.cssClasses.buttonAdd+"--list-mode","list"===this.displayMode).toString()},t.prototype.getPrevButtonCss=function(){return(new Ae).append(this.cssClasses.buttonPrev).append(this.cssClasses.buttonPrevDisabled,!this.isPrevButtonVisible).toString()},t.prototype.getNextButtonCss=function(){return(new Ae).append(this.cssClasses.buttonNext).append(this.cssClasses.buttonNextDisabled,!this.isNextButtonVisible).toString()},Object.defineProperty(t.prototype,"noEntriesText",{get:function(){return this.getLocalizableStringText("noEntriesText")},set:function(e){this.setLocalizableStringText("noEntriesText",e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"locNoEntriesText",{get:function(){return this.getLocalizableString("noEntriesText")},enumerable:!1,configurable:!0}),t.prototype.getShowNoEntriesPlaceholder=function(){return!!this.cssClasses.noEntriesPlaceholder&&!this.isDesignMode&&0===this.visiblePanelCount},t.prototype.needResponsiveWidth=function(){var e=this.getPanel();return!(!e||!e.needResponsiveWidth())},Object.defineProperty(t.prototype,"hasTabbedMenu",{get:function(){return this.isRenderModeTab&&this.visiblePanels.length>0},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"tabbedMenu",{get:function(){return this.isRenderModeTab?(this.tabbedMenuValue||(this.tabbedMenuValue=new it,this.tabbedMenuValue.dotsItem.popupModel.showPointer=!1,this.tabbedMenuValue.dotsItem.popupModel.verticalPosition="bottom",this.tabbedMenuValue.dotsItem.popupModel.horizontalPosition="center",this.updateElementCss(!1)),this.tabbedMenuValue):null},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"footerToolbar",{get:function(){return this.footerToolbarValue||this.initFooterToolbar(),this.footerToolbarValue},enumerable:!1,configurable:!0}),t.prototype.updateFooterActions=function(){this.updateFooterActionsCallback&&this.updateFooterActionsCallback()},t.prototype.initFooterToolbar=function(){var e=this;this.footerToolbarValue=this.createActionContainer();var t=[],n=new tt({id:"sv-pd-prev-btn",title:this.panelPrevText,action:function(){e.goToPrevPanel()}}),o=new tt({id:"sv-pd-next-btn",title:this.panelNextText,action:function(){e.goToNextPanel()}}),i=new tt({id:"sv-pd-add-btn",component:"sv-paneldynamic-add-btn",data:{question:this}}),r=new tt({id:"sv-prev-btn-icon",component:"sv-paneldynamic-prev-btn",data:{question:this}}),a=new tt({id:"sv-pd-progress-text",component:"sv-paneldynamic-progress-text",data:{question:this}}),s=new tt({id:"sv-pd-next-btn-icon",component:"sv-paneldynamic-next-btn",data:{question:this}});t.push(n,o,i,r,a,s),this.updateFooterActionsCallback=function(){var t=e.legacyNavigation,l=e.isRenderModeList,u=e.isMobile,c=!t&&!l;n.visible=c&&e.currentIndex>0,o.visible=c&&e.currentIndex<e.visiblePanelCount-1,o.needSpace=u&&o.visible&&n.visible,i.visible=e.canAddPanel,i.needSpace=e.isMobile&&!o.visible&&n.visible,a.visible=!e.isRenderModeList&&!u,a.needSpace=!t&&!e.isMobile;var p=t&&!l;r.visible=p,s.visible=p,r.needSpace=p},this.updateFooterActionsCallback(),this.footerToolbarValue.setItems(t)},t.prototype.createTabByPanel=function(e,t){var n=this;if(this.isRenderModeTab){var o=new bt(e,!0);o.onGetTextCallback=function(o){if(o||(o=n.locTabTitlePlaceholder.renderedHtml),!n.survey)return o;var i={title:o,panel:e,visiblePanelIndex:t};return n.survey.dynamicPanelGetTabTitle(n,i),i.title},o.sharedData=this.locTemplateTabTitle;var i=e.id,r=this.getPanelVisibleIndexById(i)===this.currentIndex;return new rs({id:this.id+"_tab_"+i,panelId:i,pressed:r,locTitle:o,disableHide:r,action:function(){n.currentIndex=n.getPanelVisibleIndexById(i)}})}},t.prototype.getTabbedMenuCss=function(e){var t=null!=e?e:this.cssClasses;return(new Ae).append(t.tabsRoot).append(t.tabsLeft,"left"===this.tabAlign).append(t.tabsRight,"right"===this.tabAlign).append(t.tabsCenter,"center"===this.tabAlign).toString()},t.prototype.updateTabToolbarItemsPressedState=function(){if(this.isRenderModeTab&&!(this.currentIndex<0||this.currentIndex>=this.visiblePanelCount)){var e=this.visiblePanelsCore[this.currentIndex];this.tabbedMenu.renderedActions.forEach((function(t){var n=t.panelId===e.id;t.pressed=n,t.disableHide=n,"popup"===t.mode&&t.disableHide&&t.raiseUpdate()}))}},t.prototype.updateTabToolbar=function(){var e=this;if(this.isRenderModeTab){for(var t=[],n=this.visiblePanelsCore,o=function(o){i.visiblePanelsCore.forEach((function(i){return t.push(e.createTabByPanel(n[o],o))}))},i=this,r=0;r<n.length;r++)o(r);this.tabbedMenu.setItems(t)}},t.prototype.addTabFromToolbar=function(e,t){if(this.isRenderModeTab){var n=this.createTabByPanel(e,t);this.tabbedMenu.actions.splice(t,0,n),this.updateTabToolbarItemsPressedState()}},t.prototype.removeTabFromToolbar=function(e){if(this.isRenderModeTab){var t=this.tabbedMenu.actions.find((function(t){return t.panelId==e.id}));t&&(this.tabbedMenu.actions.splice(this.tabbedMenu.actions.indexOf(t),1),this.updateTabToolbarItemsPressedState())}},Object.defineProperty(t.prototype,"showLegacyNavigation",{get:function(){return!this.isDefaultV2Theme},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"showNavigation",{get:function(){return(!this.isReadOnly||1!=this.visiblePanelCount)&&(this.visiblePanelCount>0&&!this.showLegacyNavigation&&!!this.cssClasses.footer)},enumerable:!1,configurable:!0}),t.prototype.showSeparator=function(e){return this.isRenderModeList&&e<this.renderedPanels.length-1},t.prototype.calcCssClasses=function(t){var n=e.prototype.calcCssClasses.call(this,t),o=this.tabbedMenu;return o&&(o.containerCss=this.getTabbedMenuCss(n),o.cssClasses=n.tabs,o.dotsItem.cssClasses=n.tabs,o.dotsItem.popupModel.contentComponentData.model.cssClasses=t.list),n},t.prototype.onMobileChanged=function(){e.prototype.onMobileChanged.call(this),this.updateFooterActions()},t.maxCheckCount=3,ns([w({})],t.prototype,"_renderedPanels",void 0),ns([x({onSet:function(e,t){t.fireCallback(t.renderModeChangedCallback),t.updatePanelView()}})],t.prototype,"displayMode",void 0),ns([x({onSet:function(e,t){t.fireCallback(t.currentIndexChangedCallback)}})],t.prototype,"showProgressBar",void 0),ns([x({onSet:function(e,t){}})],t.prototype,"progressBarLocation",void 0),ns([x({defaultValue:!1,onSet:function(e,t){t.updateFooterActions()}})],t.prototype,"legacyNavigation",void 0),t}(qn);L.addClass("paneldynamic",[{name:"showCommentArea:switch",layout:"row",visible:!0,category:"general"},{name:"templateElements",alternativeName:"questions",baseClassName:"question",visible:!1,isLightSerializable:!1},{name:"templateTitle:text",serializationProperty:"locTemplateTitle"},{name:"templateTabTitle",serializationProperty:"locTemplateTabTitle",visibleIf:function(e){return"tab"===e.displayMode}},{name:"tabTitlePlaceholder",serializationProperty:"locTabTitlePlaceholder",visibleIf:function(e){return"tab"===e.displayMode}},{name:"templateDescription:text",serializationProperty:"locTemplateDescription"},{name:"minWidth",defaultFunc:function(){return"auto"}},{name:"noEntriesText:text",serializationProperty:"locNoEntriesText"},{name:"allowAddPanel:boolean",default:!0},{name:"allowRemovePanel:boolean",default:!0},{name:"newPanelPosition",choices:["next","last"],default:"last",category:"layout"},{name:"panelCount:number",isBindable:!0,default:0,choices:[0,1,2,3,4,5,6,7,8,9,10]},{name:"minPanelCount:number",default:0,minValue:0},{name:"maxPanelCount:number",defaultFunc:function(){return tn.panel.maxPanelCount}},"defaultPanelValue:panelvalue","defaultValueFromLastPanel:boolean",{name:"panelsState",default:"default",choices:["default","collapsed","expanded","firstExpanded"],visibleIf:function(e){return"list"===e.displayMode}},{name:"keyName"},{name:"keyDuplicationError",serializationProperty:"locKeyDuplicationError"},{name:"confirmDelete:boolean"},{name:"confirmDeleteText",serializationProperty:"locConfirmDeleteText",visibleIf:function(e){return e.confirmDelete}},{name:"panelAddText",serializationProperty:"locPanelAddText",visibleIf:function(e){return e.allowAddPanel}},{name:"panelRemoveText",serializationProperty:"locPanelRemoveText",visibleIf:function(e){return e.allowRemovePanel}},{name:"panelPrevText",serializationProperty:"locPanelPrevText",visibleIf:function(e){return"list"!==e.displayMode}},{name:"panelNextText",serializationProperty:"locPanelNextText",visibleIf:function(e){return"list"!==e.displayMode}},{name:"showQuestionNumbers",default:"off",choices:["off","onPanel","onSurvey"]},{name:"renderMode",visible:!1,isSerializable:!1},{name:"displayMode",default:"list",choices:["list","carousel","tab"]},{name:"showProgressBar:boolean",alternativeName:"showRangeInProgress",default:!0,visibleIf:function(e){return"carousel"===e.displayMode}},{name:"progressBarLocation",default:"top",choices:["top","bottom","topBottom"],visibleIf:function(e){return e.showProgressBar}},{name:"tabAlign",default:"center",choices:["left","center","right"],visibleIf:function(e){return"tab"===e.displayMode}},{name:"templateTitleLocation",default:"default",choices:["default","top","bottom","left"]},{name:"templateErrorLocation",default:"default",choices:["default","top","bottom"]},{name:"templateVisibleIf:expression",category:"logic"},{name:"panelRemoveButtonLocation",default:"bottom",choices:["bottom","right"],visibleIf:function(e){return e.allowRemovePanel}}],(function(){return new ls("")}),"question"),co.Instance.registerQuestion("paneldynamic",(function(e){return new ls(e)}));var us=function(){function e(){}return e.getProgressTextInBarCss=function(e){return(new Ae).append(e.progressText).append(e.progressTextInBar).toString()},e.getProgressTextUnderBarCss=function(e){return(new Ae).append(e.progressText).append(e.progressTextUnderBar).toString()},e}(),cs=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(t,n)};return function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function o(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}}(),ps=function(e){function t(){var n=e.call(this)||this;return n.idValue=t.idCounter++,n.registerPropertyChangedHandlers(["operator","value","name"],(function(){n.oldPropertiesChanged()})),n.registerPropertyChangedHandlers(["expression"],(function(){n.onExpressionChanged()})),n}return cs(t,e),Object.defineProperty(t,"operators",{get:function(){return null!=t.operatorsValue||(t.operatorsValue={empty:function(e,t){return!e},notempty:function(e,t){return!!e},equal:function(e,t){return e==t},notequal:function(e,t){return e!=t},contains:function(e,t){return e&&e.indexOf&&e.indexOf(t)>-1},notcontains:function(e,t){return!e||!e.indexOf||-1==e.indexOf(t)},greater:function(e,t){return e>t},less:function(e,t){return e<t},greaterorequal:function(e,t){return e>=t},lessorequal:function(e,t){return e<=t}}),t.operatorsValue},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"id",{get:function(){return this.idValue},enumerable:!1,configurable:!0}),t.prototype.getType=function(){return"triggerbase"},t.prototype.toString=function(){var e=this.getType().replace("trigger",""),t=this.expression?this.expression:this.buildExpression();return t&&(e+=", "+t),e},Object.defineProperty(t.prototype,"isInternal",{get:function(){return!0===this.isGhost},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"operator",{get:function(){return this.getPropertyValue("operator","equal")},set:function(e){e&&(e=e.toLowerCase(),t.operators[e]&&this.setPropertyValue("operator",e))},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"value",{get:function(){return this.getPropertyValue("value",null)},set:function(e){this.setPropertyValue("value",e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"name",{get:function(){return this.getPropertyValue("name","")},set:function(e){this.setPropertyValue("name",e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"expression",{get:function(){return this.getPropertyValue("expression","")},set:function(e){this.setPropertyValue("expression",e)},enumerable:!1,configurable:!0}),t.prototype.canBeExecuted=function(e){return!0},t.prototype.canBeExecutedOnComplete=function(){return!1},t.prototype.checkExpression=function(e){if(this.isExecutingOnNextPage=e.isOnNextPage,this.isExecutingOnNavigation=e.isOnNavigation||e.isOnNextPage,this.canBeExecuted(e.isOnNextPage)&&(!e.isOnComplete||this.canBeExecutedOnComplete())&&this.isCheckRequired(e.keys)){var t=Object.keys(e.keys);Array.isArray(t)&&!this.canBeExecuteOnKeysChange(t)||(this.conditionRunner?this.perform(e.values,e.properties||null):this.canSuccessOnEmptyExpression()&&this.triggerResult(!0,e.values,e.properties||null))}},t.prototype.canBeExecuteOnKeysChange=function(e){return!0},t.prototype.canSuccessOnEmptyExpression=function(){return!1},t.prototype.check=function(e){t.operators[this.operator](e,this.value)?this.onSuccess({},null):this.onFailure()},Object.defineProperty(t.prototype,"requireValidQuestion",{get:function(){return!1},enumerable:!1,configurable:!0}),t.prototype.perform=function(e,t){var n=this;this.conditionRunner.onRunComplete=function(o){n.triggerResult(o,e,t)},this.conditionRunner.run(e,t)},t.prototype.triggerResult=function(e,t,n){e?(this.onSuccess(t,n),this.onSuccessExecuted()):this.onFailure()},t.prototype.onSuccess=function(e,t){},t.prototype.onFailure=function(){},t.prototype.onSuccessExecuted=function(){},t.prototype.endLoadingFromJson=function(){e.prototype.endLoadingFromJson.call(this),this.oldPropertiesChanged()},t.prototype.oldPropertiesChanged=function(){this.onExpressionChanged()},t.prototype.onExpressionChanged=function(){this.conditionRunner=null},t.prototype.buildExpression=function(){return this.name?this.isValueEmpty(this.value)&&this.isRequireValue?"":"{"+this.name+"} "+this.operator+" "+ue.toOperandString(this.value):""},t.prototype.isCheckRequired=function(e){return!!e&&(this.createConditionRunner(),!(!this.conditionRunner||!0!==this.conditionRunner.hasFunction())||(new M).isAnyKeyChanged(e,this.getUsedVariables()))},t.prototype.getUsedVariables=function(){if(!this.conditionRunner)return[];var e=this.conditionRunner.getVariables();if(Array.isArray(e))for(var t="-unwrapped",n=e.length-1;n>=0;n--){var o=e[n];o.endsWith(t)&&e.push(o.substring(0,o.length-t.length))}return e},t.prototype.createConditionRunner=function(){if(!this.conditionRunner){var e=this.expression;e||(e=this.buildExpression()),e&&(this.conditionRunner=new be(e))}},Object.defineProperty(t.prototype,"isRequireValue",{get:function(){return"empty"!==this.operator&&"notempty"!=this.operator},enumerable:!1,configurable:!0}),t.idCounter=1,t.operatorsValue=null,t}(_e),ds=function(e){function t(){var t=e.call(this)||this;return t.ownerValue=null,t}return cs(t,e),Object.defineProperty(t.prototype,"owner",{get:function(){return this.ownerValue},enumerable:!1,configurable:!0}),t.prototype.setOwner=function(e){this.ownerValue=e},t.prototype.getSurvey=function(e){return void 0===e&&(e=!1),this.owner&&this.owner.getSurvey?this.owner.getSurvey():null},t.prototype.isRealExecution=function(){return!0},t.prototype.onSuccessExecuted=function(){this.owner&&this.isRealExecution()&&this.owner.triggerExecuted(this)},t}(ps),hs=function(e){function t(){var t=e.call(this)||this;return t.pages=[],t.questions=[],t}return cs(t,e),t.prototype.getType=function(){return"visibletrigger"},t.prototype.onSuccess=function(e,t){this.onTrigger(this.onItemSuccess)},t.prototype.onFailure=function(){this.onTrigger(this.onItemFailure)},t.prototype.onTrigger=function(e){if(this.owner)for(var t=this.owner.getObjects(this.pages,this.questions),n=0;n<t.length;n++)e(t[n])},t.prototype.onItemSuccess=function(e){e.visible=!0},t.prototype.onItemFailure=function(e){e.visible=!1},t}(ds),ms=function(e){function t(){return e.call(this)||this}return cs(t,e),t.prototype.getType=function(){return"completetrigger"},Object.defineProperty(t.prototype,"requireValidQuestion",{get:function(){return!0},enumerable:!1,configurable:!0}),t.prototype.isRealExecution=function(){return!tn.triggers.executeCompleteOnValueChanged===this.isExecutingOnNavigation},t.prototype.onSuccess=function(e,t){this.owner&&(this.isRealExecution()?this.owner.setCompleted(this):this.owner.canBeCompleted(this,!0))},t.prototype.onFailure=function(){this.owner.canBeCompleted(this,!1)},t}(ds),gs=function(e){function t(){return e.call(this)||this}return cs(t,e),t.prototype.getType=function(){return"setvaluetrigger"},t.prototype.canBeExecuted=function(e){return!e&&!!this.setToName},t.prototype.canBeExecuteOnKeysChange=function(t){return(1!==t.length||t[0]!==this.setToName)&&e.prototype.canBeExecuteOnKeysChange.call(this,t)},t.prototype.onPropertyValueChanged=function(t,n,o){if(e.prototype.onPropertyValueChanged.call(this,t,n,o),"setToName"===t){var i=this.getSurvey();i&&!i.isLoadingFromJson&&i.isDesignMode&&(this.setValue=void 0)}},Object.defineProperty(t.prototype,"setToName",{get:function(){return this.getPropertyValue("setToName","")},set:function(e){this.setPropertyValue("setToName",e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"setValue",{get:function(){return this.getPropertyValue("setValue")},set:function(e){this.setPropertyValue("setValue",e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isVariable",{get:function(){return this.getPropertyValue("isVariable")},set:function(e){this.setPropertyValue("isVariable",e)},enumerable:!1,configurable:!0}),t.prototype.onSuccess=function(e,t){this.setToName&&this.owner&&this.owner.setTriggerValue(this.setToName,u.getUnbindValue(this.setValue),this.isVariable)},t}(ds),fs=function(e){function t(){return e.call(this)||this}return cs(t,e),t.prototype.getType=function(){return"skiptrigger"},Object.defineProperty(t.prototype,"requireValidQuestion",{get:function(){return this.canBeExecuted(!1)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"gotoName",{get:function(){return this.getPropertyValue("gotoName","")},set:function(e){this.setPropertyValue("gotoName",e)},enumerable:!1,configurable:!0}),t.prototype.canBeExecuted=function(e){return e===!tn.triggers.executeSkipOnValueChanged},t.prototype.onSuccess=function(e,t){this.gotoName&&this.owner&&this.owner.focusQuestion(this.gotoName)},t}(ds),ys=function(e){function t(){return e.call(this)||this}return cs(t,e),t.prototype.getType=function(){return"runexpressiontrigger"},Object.defineProperty(t.prototype,"setToName",{get:function(){return this.getPropertyValue("setToName","")},set:function(e){this.setPropertyValue("setToName",e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"runExpression",{get:function(){return this.getPropertyValue("runExpression","")},set:function(e){this.setPropertyValue("runExpression",e)},enumerable:!1,configurable:!0}),t.prototype.canBeExecuted=function(e){return!e},t.prototype.onSuccess=function(e,t){var n=this;if(this.owner&&this.runExpression){var o=new xe(this.runExpression);o.canRun&&(o.onRunComplete=function(e){n.onCompleteRunExpression(e)},o.run(e,t))}},t.prototype.onCompleteRunExpression=function(e){this.setToName&&void 0!==e&&this.owner.setTriggerValue(this.setToName,u.convertValToQuestionVal(e),!1)},t}(ds),vs=function(e){function t(){return e.call(this)||this}return cs(t,e),t.prototype.canBeExecuted=function(e){return!e&&!!this.setToName&&!!this.fromName},Object.defineProperty(t.prototype,"setToName",{get:function(){return this.getPropertyValue("setToName","")},set:function(e){this.setPropertyValue("setToName",e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"fromName",{get:function(){return this.getPropertyValue("fromName","")},set:function(e){this.setPropertyValue("fromName",e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"copyDisplayValue",{get:function(){return this.getPropertyValue("copyDisplayValue")},set:function(e){this.setPropertyValue("copyDisplayValue",e)},enumerable:!1,configurable:!0}),t.prototype.getType=function(){return"copyvaluetrigger"},t.prototype.canBeExecuteOnKeysChange=function(t){return(1!==t.length||t[0]!==this.setToName)&&e.prototype.canBeExecuteOnKeysChange.call(this,t)},t.prototype.onSuccess=function(e,t){this.setToName&&this.owner&&this.owner.copyTriggerValue(this.setToName,this.fromName,this.copyDisplayValue)},t.prototype.canSuccessOnEmptyExpression=function(){return!0},t.prototype.getUsedVariables=function(){var t=e.prototype.getUsedVariables.call(this);return 0===t.length&&this.fromName&&t.push(this.fromName),t},t}(ds);L.addClass("trigger",[{name:"operator",default:"equal",visible:!1},{name:"value",visible:!1},"expression:condition"]),L.addClass("surveytrigger",[{name:"name",visible:!1}],null,"trigger"),L.addClass("visibletrigger",["pages:pages","questions:questions"],(function(){return new hs}),"surveytrigger"),L.addClass("completetrigger",[],(function(){return new ms}),"surveytrigger"),L.addClass("setvaluetrigger",[{name:"!setToName:questionvalue"},{name:"setValue:triggervalue",dependsOn:"setToName",visibleIf:function(e){return!!e&&!!e.setToName}},{name:"isVariable:boolean",visible:!1}],(function(){return new gs}),"surveytrigger"),L.addClass("copyvaluetrigger",[{name:"!fromName:questionvalue"},{name:"!setToName:questionvalue"},{name:"copyDisplayValue:boolean",visible:!1}],(function(){return new vs}),"surveytrigger"),L.addClass("skiptrigger",[{name:"!gotoName:question"}],(function(){return new fs}),"surveytrigger"),L.addClass("runexpressiontrigger",[{name:"setToName:questionvalue"},"runExpression:expression"],(function(){return new ys}),"surveytrigger");var bs=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(t,n)};return function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function o(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}}(),xs=function(e,t,n,o){var i,r=arguments.length,a=r<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,n):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,o);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(a=(r<3?i(a):r>3?i(t,n,a):i(t,n))||a);return r>3&&a&&Object.defineProperty(t,n,a),a},Cs=function(e){function t(t,n){void 0===n&&(n=null);var o=e.call(this)||this;return o.closeOnCompleteTimeout=0,o.surveyValue=n||o.createSurvey(t),o.surveyValue.fitToContainer=!0,o.windowElement=s.createElement("div"),o.survey.onComplete.add((function(e,t){o.onSurveyComplete()})),o.registerPropertyChangedHandlers(["isShowing"],(function(){o.showingChangedCallback&&o.showingChangedCallback()})),o.registerPropertyChangedHandlers(["isExpanded"],(function(){o.onExpandedChanged()})),o.width=new Ve((function(){return o.survey.width})),o.width=o.survey.width,o.updateCss(),o.onCreating(),o}return bs(t,e),t.prototype.onCreating=function(){},t.prototype.getType=function(){return"popupsurvey"},Object.defineProperty(t.prototype,"survey",{get:function(){return this.surveyValue},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isShowing",{get:function(){return this.getPropertyValue("isShowing",!1)},set:function(e){this.setPropertyValue("isShowing",e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isFullScreen",{get:function(){return this.getPropertyValue("isFullScreen",!1)},set:function(e){!this.isExpanded&&e&&(this.isExpanded=!0),this.setPropertyValue("isFullScreen",e),this.setCssRoot()},enumerable:!1,configurable:!0}),t.prototype.show=function(){this.isShowing=!0},t.prototype.hide=function(){this.isShowing=!1},t.prototype.toggleFullScreen=function(){this.isFullScreen=!this.isFullScreen},Object.defineProperty(t.prototype,"isExpanded",{get:function(){return this.getPropertyValue("isExpanded",!1)},set:function(e){this.isFullScreen&&!e&&(this.isFullScreen=!1),this.setPropertyValue("isExpanded",e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isCollapsed",{get:function(){return!this.isExpanded},enumerable:!1,configurable:!0}),t.prototype.onExpandedChanged=function(){this.expandedChangedCallback&&this.expandedChangedCallback(),this.updateCssButton()},Object.defineProperty(t.prototype,"title",{get:function(){return this.survey.title},set:function(e){this.survey.title=e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"locTitle",{get:function(){return this.survey.locTitle.isEmpty?null:this.survey.locTitle},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"locDescription",{get:function(){return this.survey.locTitle.isEmpty?null:this.survey.locDescription},enumerable:!1,configurable:!0}),t.prototype.expand=function(){this.isExpanded=!0},t.prototype.collapse=function(){this.isExpanded=!1},t.prototype.changeExpandCollapse=function(){this.isExpanded=!this.isExpanded},Object.defineProperty(t.prototype,"allowClose",{get:function(){return this.getPropertyValue("allowClose",!1)},set:function(e){this.setPropertyValue("allowClose",e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"allowFullScreen",{get:function(){return this.getPropertyValue("allowFullScreen",!1)},set:function(e){this.setPropertyValue("allowFullScreen",e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"css",{get:function(){return this.survey.css},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"cssButton",{get:function(){return this.getPropertyValue("cssButton","")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"cssRoot",{get:function(){var e=this.getPropertyValue("cssRoot","");return this.isCollapsed&&(e+=" "+this.getPropertyValue("cssRootCollapsedMod","")),e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"cssRootCollapsedMod",{get:function(){return this.getPropertyValue("cssRootCollapsedMod")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"cssRootContent",{get:function(){return this.getPropertyValue("cssRootContent")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"cssBody",{get:function(){return this.getPropertyValue("cssBody","")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"cssHeaderRoot",{get:function(){return this.getPropertyValue("cssHeaderRoot","")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"cssHeaderTitleCollapsed",{get:function(){return this.getPropertyValue("cssHeaderTitleCollapsed","")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"cssHeaderButtonsContainer",{get:function(){return this.getPropertyValue("cssHeaderButtonsContainer","")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"cssHeaderCollapseButton",{get:function(){return this.getPropertyValue("cssHeaderCollapseButton","")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"cssHeaderCloseButton",{get:function(){return this.getPropertyValue("cssHeaderCloseButton","")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"cssHeaderFullScreenButton",{get:function(){return this.getPropertyValue("cssHeaderFullScreenButton","")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"renderedWidth",{get:function(){var e=this.getPropertyValue("width","60%");return e&&!isNaN(e)&&(e+="px"),e},enumerable:!1,configurable:!0}),t.prototype.updateCss=function(){if(this.css&&this.css.window){var e=this.css.window;this.setCssRoot(),this.setPropertyValue("cssRootCollapsedMod",e.rootCollapsedMod),this.setPropertyValue("cssRootContent",e.rootContent),this.setPropertyValue("cssBody",e.body);var t=e.header;t&&(this.setPropertyValue("cssHeaderRoot",t.root),this.setPropertyValue("cssHeaderTitleCollapsed",t.titleCollapsed),this.setPropertyValue("cssHeaderButtonsContainer",t.buttonsContainer),this.setPropertyValue("cssHeaderCollapseButton",t.collapseButton),this.setPropertyValue("cssHeaderCloseButton",t.closeButton),this.setPropertyValue("cssHeaderFullScreenButton",t.fullScreenButton),this.updateCssButton())}},t.prototype.setCssRoot=function(){var e=this.css.window;this.isFullScreen?this.setPropertyValue("cssRoot",e.root+" "+e.rootFullScreenMode):this.setPropertyValue("cssRoot",e.root)},t.prototype.updateCssButton=function(){var e=this.css.window?this.css.window.header:null;e&&this.setCssButton(this.isExpanded?e.buttonExpanded:e.buttonCollapsed)},t.prototype.setCssButton=function(e){e&&this.setPropertyValue("cssButton",e)},t.prototype.createSurvey=function(e){return new Wi(e)},t.prototype.onSurveyComplete=function(){if(!(this.closeOnCompleteTimeout<0))if(0==this.closeOnCompleteTimeout)this.hide();else{var e=this,t=null;t=setInterval((function(){e.hide(),clearInterval(t)}),1e3*this.closeOnCompleteTimeout)}},t.prototype.onScroll=function(){this.survey.onScroll()},xs([x()],t.prototype,"width",void 0),t}(_e),ws=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return bs(t,e),t}(Cs),Ps=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(t,n)};return function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function o(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}}(),ks=function(e){function t(t){var n=e.call(this,t)||this;return n.onScrollOutsideCallback=function(e){n.preventScrollOuside(e,e.deltaY)},n}return Ps(t,e),t.prototype.getStyleClass=function(){return e.prototype.getStyleClass.call(this).append("sv-popup--modal",!this.isOverlay)},t.prototype.getShowFooter=function(){return!0},t.prototype.createFooterActionBar=function(){var t=this;e.prototype.createFooterActionBar.call(this),this.footerToolbar.containerCss="sv-footer-action-bar",this.footerToolbarValue.addAction({id:"apply",visibleIndex:20,title:this.applyButtonText,innerCss:"sv-popup__body-footer-item sv-popup__button sv-popup__button--apply sd-btn sd-btn--action",action:function(){t.apply()}})},Object.defineProperty(t.prototype,"applyButtonText",{get:function(){return this.getLocalizationString("modalApplyButtonText")},enumerable:!1,configurable:!0}),t.prototype.apply=function(){this.model.onApply&&!this.model.onApply()||this.hidePopup()},t.prototype.clickOutside=function(){},t.prototype.onKeyDown=function(t){"Escape"!==t.key&&27!==t.keyCode||this.model.onCancel(),e.prototype.onKeyDown.call(this,t)},t.prototype.updateOnShowing=function(){this.container&&this.container.addEventListener("wheel",this.onScrollOutsideCallback,{passive:!1}),e.prototype.updateOnShowing.call(this)},t.prototype.updateOnHiding=function(){this.container&&this.container.removeEventListener("wheel",this.onScrollOutsideCallback),e.prototype.updateOnHiding.call(this)},t}(ir),Vs=function(){return(Vs=Object.assign||function(e){for(var t,n=1,o=arguments.length;n<o;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)};function _s(e,t){var n,o=Vs({},e);o.verticalPosition="top",o.horizontalPosition="left",o.showPointer=!1,o.isModal=!0,o.displayMode=e.displayMode||"popup";var i=new Ue(e.componentName,e.data,o);i.isFocusedContent=null===(n=e.isFocusedContent)||void 0===n||n;var r=new ks(i);if(t&&t.appendChild){var a=s.createElement("div");t.appendChild(a),r.setComponentElement(a)}r.container||r.initializePopupContainer();var l=function(e,t){t.isVisible||a&&r.resetComponentElement(),r.onVisibilityChanged.remove(l)};return r.onVisibilityChanged.add(l),r}function Ts(e){return e.isModal?new ks(e):new lr(e)}var Ss=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(t,n)};return function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function o(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}}(),Es=function(e,t,n,o){var i,r=arguments.length,a=r<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,n):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,o);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(a=(r<3?i(a):r>3?i(t,n,a):i(t,n))||a);return r>3&&a&&Object.defineProperty(t,n,a),a},Rs=function(e){function t(t,n,o){void 0===n&&(n=null),void 0===o&&(o="buttongroupitemvalue");var i=e.call(this,t,n,o)||this;return i.typeName=o,i}return Ss(t,e),t.prototype.getType=function(){return this.typeName?this.typeName:"buttongroupitemvalue"},Es([x()],t.prototype,"iconName",void 0),Es([x()],t.prototype,"iconSize",void 0),Es([x()],t.prototype,"showCaption",void 0),t}(Nn),Is=function(e){function t(t){var n=e.call(this,t)||this;return n.createLocalizableString("buttongroupOptionsCaption",n,!1,!0),n.createLocalizableString("readOnlyText",n,!0),n.registerPropertyChangedHandlers(["value","renderAs","placeholder","choices","visibleChoices"],(function(){n.updateReadOnlyText()})),n.updateReadOnlyText(),n}return Ss(t,e),t.prototype.locStrsChanged=function(){var t;e.prototype.locStrsChanged.call(this),this.updateReadOnlyText(),null===(t=this.dropdownListModelValue)||void 0===t||t.locStrsChanged()},t.prototype.updateReadOnlyText=function(){this.readOnlyText=this.displayValue||this.placeholder},t.prototype.getType=function(){return"buttongroup"},t.prototype.getItemValueType=function(){return"buttongroupitemvalue"},t.prototype.supportOther=function(){return!1},t}(Ji);L.addClass("buttongroup",[{name:"choices:buttongroupitemvalue[]"}],(function(){return new Is("")}),"checkboxbase"),L.addClass("buttongroupitemvalue",[{name:"showCaption:boolean",default:!0},{name:"iconName:text"},{name:"iconSize:number"}],(function(e){return new Rs(e)}),"itemvalue");var Os=function(){function e(e,t,n){this.question=e,this.item=t,this.index=n}return Object.defineProperty(e.prototype,"value",{get:function(){return this.item.value},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"iconName",{get:function(){return this.item.iconName},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"iconSize",{get:function(){return this.item.iconSize||24},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"caption",{get:function(){return this.item.locText},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"showCaption",{get:function(){return this.item.showCaption||void 0===this.item.showCaption},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"isRequired",{get:function(){return this.question.isRequired},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"selected",{get:function(){return this.question.isItemSelected(this.item)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"readOnly",{get:function(){return this.question.isInputReadOnly||!this.item.isEnabled},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"name",{get:function(){return this.question.name+"_"+this.question.id},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"id",{get:function(){return this.question.inputId+"_"+this.index},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"hasErrors",{get:function(){return this.question.errors.length>0},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"describedBy",{get:function(){return this.question.errors.length>0?this.question.id+"_errors":null},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"labelClass",{get:function(){return(new Ae).append(this.question.cssClasses.item).append(this.question.cssClasses.itemSelected,this.selected).append(this.question.cssClasses.itemHover,!this.readOnly&&!this.selected).append(this.question.cssClasses.itemDisabled,this.question.isReadOnly||!this.item.isEnabled).toString()},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"css",{get:function(){return{label:this.labelClass,icon:this.question.cssClasses.itemIcon,control:this.question.cssClasses.itemControl,caption:this.question.cssClasses.itemCaption,decorator:this.question.cssClasses.itemDecorator}},enumerable:!1,configurable:!0}),e.prototype.onChange=function(){this.question.renderedValue=this.item.value},e}(),As=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(t,n)};return function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function o(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}}(),Ds=function(e,t,n,o){var i,r=arguments.length,a=r<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,n):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,o);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(a=(r<3?i(a):r>3?i(t,n,a):i(t,n))||a);return r>3&&a&&Object.defineProperty(t,n,a),a},qs=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return As(t,e),t.prototype.getSurvey=function(e){return void 0===e&&(e=!1),this.owner},t.prototype.getType=function(){return"masksettings"},t.prototype.setData=function(e){var t=this;L.getProperties(this.getType()).forEach((function(n){var o=e[n.name];t[n.name]=void 0!==o?o:n.getDefaultValue(t)}))},t.prototype.getData=function(){var e=this,t={};return L.getProperties(this.getType()).forEach((function(n){var o=e[n.name];n.isDefaultValue(o)||(t[n.name]=o)})),t},t.prototype.processInput=function(e){return{value:e.prevValue,caretPosition:e.selectionEnd,cancelPreventDefault:!1}},t.prototype.getUnmaskedValue=function(e){return e},t.prototype.getMaskedValue=function(e){return e},t.prototype.getTextAlignment=function(){return"auto"},t.prototype.getTypeForExpressions=function(){return"text"},Ds([x()],t.prototype,"saveMaskedValue",void 0),t}(_e);L.addClass("masksettings",[{name:"saveMaskedValue:boolean",visibleIf:function(e){return!!e&&"masksettings"!==e.getType()}}],(function(){return new qs}));var Ls=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(t,n)};return function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function o(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}}(),Ms=function(e,t,n,o){var i,r=arguments.length,a=r<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,n):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,o);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(a=(r<3?i(a):r>3?i(t,n,a):i(t,n))||a);return r>3&&a&&Object.defineProperty(t,n,a),a};function js(e){for(var t=[],n=!1,o=Object.keys(tn.maskSettings.patternDefinitions),i=0;i<e.length;i++){var r=e[i];r===tn.maskSettings.patternEscapeChar?n=!0:n?(n=!1,t.push({type:"fixed",value:r})):t.push({type:-1!==o.indexOf(r)?"regex":"const",value:r})}return t}function Ns(e,t,n){for(var o=tn.maskSettings.patternDefinitions[n.value];t<e.length;){if(e[t].match(o))return t;t++}return t}function Fs(e,t,n,o){void 0===o&&(o=!1);var i="";if(!e)return i;for(var r="string"==typeof t?js(t):t,a=0;a<r.length;a++)if("fixed"!==r[a].type||o||(i+=r[a].value),"regex"===r[a].type){var s=tn.maskSettings.patternDefinitions[r[a].value];if(!e[a]||!e[a].match(s)){if(n){i="";break}break}i+=e[a]}return i}var Bs=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.literals=[],t}return Ls(t,e),t.prototype.updateLiterals=function(){this.literals=js(this.pattern||"")},t.prototype.onPropertyValueChanged=function(e,t,n){"pattern"===e&&this.updateLiterals()},t.prototype.getType=function(){return"patternmask"},t.prototype.fromJSON=function(t,n){e.prototype.fromJSON.call(this,t,n),this.updateLiterals()},t.prototype._getMaskedValue=function(e,t){return void 0===t&&(t=!1),function(e,t,n){for(var o=null==e?"":e,i="",r=0,a="string"==typeof t?js(t):t,s=0;s<a.length;s++)switch(a[s].type){case"regex":if(r<o.length&&(r=Ns(o,r,a[s])),r<o.length)i+=o[r];else{if(!n)return i;i+=tn.maskSettings.patternPlaceholderChar}r++;break;case"const":case"fixed":i+=a[s].value,a[s].value===o[r]&&r++}return i}(null==e?"":e,this.literals,t)},t.prototype._getUnmaskedValue=function(e,t){return void 0===t&&(t=!1),Fs(null==e?"":e,this.literals,t)},t.prototype.processInput=function(e){var t={value:e.prevValue,caretPosition:e.selectionEnd,cancelPreventDefault:!1};if(!e.insertedChars&&e.selectionStart===e.selectionEnd)return t;var n=e.prevValue.slice(0,e.selectionStart)+(e.insertedChars||""),o=Fs(e.prevValue.slice(0,e.selectionStart),this.literals.slice(0,e.selectionStart),!1),i=Fs(e.prevValue.slice(e.selectionEnd),this.literals.slice(e.selectionEnd),!1,!0);return t.value=this._getMaskedValue(o+(e.insertedChars||"")+i,!0),e.insertedChars||"backward"!==e.inputDirection?t.caretPosition=this._getMaskedValue(n).length:t.caretPosition=e.selectionStart,t},t.prototype.getMaskedValue=function(e){return this._getMaskedValue(e,!0)},t.prototype.getUnmaskedValue=function(e){return this._getUnmaskedValue(e,!0)},Ms([x()],t.prototype,"pattern",void 0),t}(qs);L.addClass("patternmask",[{name:"pattern"}],(function(){return new Bs}),"masksettings");var zs=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(t,n)};return function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function o(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}}(),Hs=function(e,t,n,o){var i,r=arguments.length,a=r<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,n):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,o);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(a=(r<3?i(a):r>3?i(t,n,a):i(t,n))||a);return r>3&&a&&Object.defineProperty(t,n,a),a};var Qs=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return zs(t,e),t.prototype.calccaretPosition=function(e,t,n){for(var o=e?this.displayNumber(this.parseNumber(e),!1).length:0,i=0,r=t.selectionStart,a=!t.insertedChars&&"forward"===t.inputDirection,s=0;s<n.length;s++){if(n[s]!==this.thousandsSeparator&&i++,i===o+(a?1:0)){r=a?s:s+1;break}}return r},t.prototype.numericalCompositionIsEmpty=function(e){return!e.integralPart&&!e.fractionalPart},t.prototype.displayNumber=function(e,t,n){void 0===t&&(t=!0),void 0===n&&(n=!1);var o=e.integralPart;t&&o&&(o=function(e,t,n){void 0===t&&(t=!0),void 0===n&&(n=3);var o=[];if(t){for(var i=e.length-n;i>-n;i-=n)o.push(e.substring(i,i+n));o=o.reverse()}else for(i=0;i<e.length;i+=n)o.push(e.substring(i,i+n));return o}(o).join(this.thousandsSeparator));var i=e.fractionalPart,r=e.isNegative?"-":"";if(""===i){if(n)return o&&"0"!==o?r+o:o;var a=o+(e.hasDecimalSeparator&&!n?this.decimalSeparator:"");return"0"===a?a:r+a}return[r+(o=o||"0"),i=i.substring(0,this.precision)].join(this.decimalSeparator)},t.prototype.convertNumber=function(e){var t=e.isNegative?"-":"";return e.fractionalPart?parseFloat(t+(e.integralPart||"0")+"."+e.fractionalPart.substring(0,this.precision)):parseInt(t+e.integralPart||"0")},t.prototype.validateNumber=function(e,t){var n=this.min||Number.MIN_SAFE_INTEGER,o=this.max||Number.MAX_SAFE_INTEGER;if(this.numericalCompositionIsEmpty(e))return!0;if(void 0!==this.min||void 0!==this.max){var i=this.convertNumber(e);if(Number.isNaN(i))return!0;if(i>=n&&i<=o)return!0;if(!t){if(e.hasDecimalSeparator||0==i){var r=Math.pow(.1,(e.fractionalPart||"").length);if(i>=0)return i+r>n&&i<=o;if(i<0)return i>=n&&i-r<o}else{var a=i,s=i;if(i>0){if(i+1>n&&i<=o)return!0;for(;a=10*a+9,!((s*=10)>o);)if(a>n)return!0;return!1}if(i<0){if(i>=n&&i-1<o)return!0;for(;s=10*s-9,!((a*=10)<n);)if(s<o)return!0;return!1}}return i>=0&&i<=o||i<0&&i>=n}return!1}return!0},t.prototype.parseNumber=function(e){for(var t={integralPart:"",fractionalPart:"",hasDecimalSeparator:!1,isNegative:!1},n=null==e?"":e.toString(),o=0,i=0;i<n.length;i++){var r=n[i];switch(r){case"-":this.allowNegativeValues&&(void 0===this.min||this.min<0)&&o++;break;case this.decimalSeparator:this.precision>0&&(t.hasDecimalSeparator=!0);break;case this.thousandsSeparator:break;default:r.match(kr)&&(t.hasDecimalSeparator?t.fractionalPart+=r:t.integralPart+=r)}}return t.isNegative=o%2!=0,t.integralPart.length>1&&"0"===t.integralPart[0]&&(t.integralPart=t.integralPart.slice(1)),t},t.prototype.getNumberMaskedValue=function(e,t){void 0===t&&(t=!1);var n=this.parseNumber(e);return this.validateNumber(n,t)?this.displayNumber(n,!0,t):null},t.prototype.getNumberUnmaskedValue=function(e){var t=this.parseNumber(e);if(!this.numericalCompositionIsEmpty(t))return this.convertNumber(t)},t.prototype.getTextAlignment=function(){return"right"},t.prototype.getMaskedValue=function(e){var t=null==e?"":e.toString();return t=t.replace(".",this.decimalSeparator),this.getNumberMaskedValue(t,!0)},t.prototype.getUnmaskedValue=function(e){return this.getNumberUnmaskedValue(e)},t.prototype.processInput=function(e){var t={value:e.prevValue,caretPosition:e.selectionEnd,cancelPreventDefault:!1},n=e.prevValue.slice(0,e.selectionStart)+(e.insertedChars||""),o=n+e.prevValue.slice(e.selectionEnd),i=this.parseNumber(o);if(!this.validateNumber(i,!1))return t;var r=this.getNumberMaskedValue(o),a=this.calccaretPosition(n,e,r);return t.value=r,t.caretPosition=a,t},t.prototype.getType=function(){return"numericmask"},t.prototype.isValueUndefined=function(t){return""===t||e.prototype.isValueUndefined.call(this,t)},Hs([x()],t.prototype,"allowNegativeValues",void 0),Hs([x()],t.prototype,"decimalSeparator",void 0),Hs([x()],t.prototype,"precision",void 0),Hs([x()],t.prototype,"thousandsSeparator",void 0),Hs([x()],t.prototype,"min",void 0),Hs([x()],t.prototype,"max",void 0),t}(qs);L.addClass("numericmask",[{name:"allowNegativeValues:boolean",default:!0},{name:"decimalSeparator",default:".",maxLength:1},{name:"thousandsSeparator",default:",",maxLength:1},{name:"precision:number",default:2,minValue:0},{name:"min:number"},{name:"max:number"}],(function(){return new Qs}),"masksettings");var Us=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(t,n)};return function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function o(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}}(),Ws=function(){return(Ws=Object.assign||function(e){for(var t,n=1,o=arguments.length;n<o;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)},$s=function(e,t,n,o){var i,r=arguments.length,a=r<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,n):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,o);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(a=(r<3?i(a):r>3?i(t,n,a):i(t,n))||a);return r>3&&a&&Object.defineProperty(t,n,a),a};function Gs(e,t){switch(e){case"hour":case"minute":case"second":case"day":case"month":return 2;case"timeMarker":case"year":return t;default:return 1}}var Ks=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.defaultDate="1970-01-01T",t.turnOfTheCentury=68,t.twelve=12,t.lexems=[],t.inputDateTimeData=[],t.validBeginningOfNumbers={hour:1,hourU:2,minute:5,second:5,day:3,month:1},t}return Us(t,e),Object.defineProperty(t.prototype,"hasDatePart",{get:function(){return this.lexems.some((function(e){return"day"===e.type||"month"===e.type||"year"===e.type}))},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"hasTimePart",{get:function(){return this.lexems.some((function(e){return"hour"===e.type||"minute"===e.type||"second"===e.type}))},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"is12Hours",{get:function(){return this.lexems.filter((function(e){return"hour"===e.type&&!e.upperCase})).length>0},enumerable:!1,configurable:!0}),t.prototype.getType=function(){return"datetimemask"},t.prototype.getTypeForExpressions=function(){return this.hasTimePart?"datetime-local":"datetime"},t.prototype.updateLiterals=function(){this.lexems=function(e){for(var t,n=[],o=function(e,o,i){if(void 0===i&&(i=!1),t&&t===e){n[n.length-1].count++;var r=Gs(e,n[n.length-1].count);n[n.length-1].maxCount=r}else{r=Gs(e,1);n.push({type:e,value:o,count:1,maxCount:r,upperCase:i})}},i=0;i<e.length;i++){var r=e[i];switch(r){case"m":o("month",r);break;case"d":o("day",r);break;case"y":o("year",r);break;case"h":o("hour",r,!1);break;case"H":o("hour",r,!0);break;case"M":o("minute",r);break;case"s":o("second",r);break;case"t":o("timeMarker",r);break;case"T":o("timeMarker",r,!0);break;default:n.push({type:"separator",value:r,count:1,maxCount:1,upperCase:!1})}t=n[n.length-1].type}return n}(this.pattern||"")},t.prototype.leaveOnlyNumbers=function(e){for(var t="",n=0;n<e.length;n++)e[n].match(kr)&&(t+=e[n]);return t},t.prototype.getMaskedStrFromISO=function(e){var t=this,n=new Date(e);return this.initInputDateTimeData(),this.hasTimePart||(n=new Date(e+"T00:00:00")),this.hasDatePart||(n=new Date(this.defaultDate+e)),isNaN(n)||this.lexems.forEach((function(e,o){var i=t.inputDateTimeData[o];switch(i.isCompleted=!0,e.type){case"hour":t.is12Hours?i.value=((n.getHours()-1)%t.twelve+1).toString():i.value=n.getHours().toString();break;case"minute":i.value=n.getMinutes().toString();break;case"second":i.value=n.getSeconds().toString();break;case"timeMarker":var r=n.getHours()>=t.twelve?"pm":"am";i.value=e.upperCase?r.toUpperCase():r;break;case"day":i.value=n.getDate().toString();break;case"month":i.value=(n.getMonth()+1).toString();break;case"year":var a=n.getFullYear();2==e.count&&(a%=100),i.value=a.toString()}})),this.getFormatedString(!0)},t.prototype.initInputDateTimeData=function(){var e=this;this.inputDateTimeData=[],this.lexems.forEach((function(t){e.inputDateTimeData.push({lexem:t,isCompleted:!1,value:void 0})}))},t.prototype.getISO_8601Format=function(e){var t=[],n=[];if(void 0!==e.year){var o=this.getPlaceholder(4,e.year.toString(),"0")+e.year;t.push(o)}if(void 0!==e.month&&void 0!==e.year){var i=this.getPlaceholder(2,e.month.toString(),"0")+e.month;t.push(i)}if(void 0!==e.day&&void 0!==e.month&&void 0!==e.year){var r=this.getPlaceholder(2,e.day.toString(),"0")+e.day;t.push(r)}if(void 0!==e.hour){var a=this.getPlaceholder(2,e.hour.toString(),"0")+e.hour;n.push(a)}if(void 0!==e.minute&&void 0!==e.hour){var s=this.getPlaceholder(2,e.minute.toString(),"0")+e.minute;n.push(s)}if(void 0!==e.second&&void 0!==e.minute&&void 0!==e.hour){var l=this.getPlaceholder(2,e.second.toString(),"0")+e.second;n.push(l)}var u=[];return t.length>0&&u.push(t.join("-")),n.length>1&&u.push(n.join(":")),u.join("T")},t.prototype.isYearValid=function(e){if(void 0===e.min&&void 0===e.max)return!1;var t=e.year.toString(),n=e.min.toISOString().slice(0,t.length),o=e.max.toISOString().slice(0,t.length);return e.year>=parseInt(n)&&e.year<=parseInt(o)},t.prototype.createIDateTimeCompositionWithDefaults=function(e,t){var n=29==e.day&&2==e.month,o=e.min.getFullYear(),i=e.max.getFullYear();n&&(o=4*Math.ceil(o/4))>(i=4*Math.floor(i/4))&&(o=void 0,i=void 0);var r=void 0!==e.year?e.year:t?i:o,a=void 0!==e.month?e.month:t&&this.hasDatePart?12:1;return{year:r,month:a,day:void 0!==e.day?e.day:t&&this.hasDatePart?this.getMaxDateForMonth(r,a):1,hour:void 0!==e.hour?e.hour:t?23:0,minute:void 0!==e.minute?e.minute:t?59:0,second:void 0!==e.second?e.second:t?59:0}},t.prototype.getMaxDateForMonth=function(e,t){return 2==t?e%4==0&&e%100!=0||e%400==0?29:28:[31,28,31,30,31,30,31,31,30,31,30,31][t-1]},t.prototype.isDateValid=function(e){var t=new Date(this.getISO_8601Format(this.createIDateTimeCompositionWithDefaults(e,!1))),n=new Date(this.getISO_8601Format(this.createIDateTimeCompositionWithDefaults(e,!0)));return!isNaN(t)&&(t.getDate()===e.day||void 0===e.day)&&(t.getMonth()===e.month-1||void 0===e.month)&&(t.getFullYear()===e.year||void 0===e.year)&&n>=e.min&&t<=e.max},t.prototype.getPlaceholder=function(e,t,n){var o=e-(t||"").length;return o>0?n.repeat(o):""},t.prototype.isDateValid12=function(e){return this.is12Hours?!(this.is12Hours&&e.hour>this.twelve)&&(e.timeMarker?"p"===e.timeMarker[0].toLowerCase()?(e.hour!==this.twelve&&(e.hour+=this.twelve),this.isDateValid(e)):(e.hour===this.twelve&&(e.hour=0),this.isDateValid(e)):!!this.isDateValid(e)||(e.hour+=this.twelve,this.isDateValid(e))):this.isDateValid(e)},t.prototype.updateTimeMarkerInputDateTimeData=function(e,t){var n=e.value;if(n){var o=Ws({},t);o.timeMarker=n,this.isDateValid12(o)?e.isCompleted=!0:n=n.slice(0,n.length-1),e.value=n||void 0,t.timeMarker=n||void 0}},t.prototype.updateInputDateTimeData=function(e,t){var n=e.value;if(n){var o=e.lexem.type,i=Ws({},t);if(i[o]=parseInt(this.parseTwoDigitYear(e)),n.length===e.lexem.maxCount){if(this.isDateValid12(i))return e.isCompleted=!0,e.value=n||void 0,void(t[o]=parseInt(n)>0?parseInt(n):void 0);n=n.slice(0,n.length-1)}i[o]=parseInt(n);var r=parseInt(n[0]),a=this.validBeginningOfNumbers[o+(e.lexem.upperCase?"U":"")];"year"!==o||this.isYearValid(i)?void 0!==a&&r>a?this.isDateValid12(i)?e.isCompleted=!0:n=n.slice(0,n.length-1):void 0!==a&&0!==r&&r<=a&&(this.checkValidationDateTimePart(i,o,e),e.isCompleted&&!this.isDateValid12(i)&&(n=n.slice(0,n.length-1))):(n=n.slice(0,n.length-1),e.isCompleted=!1),e.value=n||void 0,t[o]=parseInt(n)>0?parseInt(n):void 0}},t.prototype.checkValidationDateTimePart=function(e,t,n){var o=e[t],i=10*o,r=10;"month"===t&&(r=3),"hour"===t&&(r=this.is12Hours?3:5),n.isCompleted=!0;for(var a=0;a<r;a++)if(e[t]=i+a,this.isDateValid12(e)){n.isCompleted=!1;break}e[t]=o},t.prototype.getCorrectDatePartFormat=function(e,t){var n=e.lexem,o=e.value||"";if(o&&"timeMarker"===n.type)return t&&(o+=this.getPlaceholder(n.count,o,n.value)),o;(o&&e.isCompleted&&(o=parseInt(o).toString()),o&&e.isCompleted)?o=this.getPlaceholder(n.count,o,"0")+o:(o=function(e,t){var n=t;return e.count<e.maxCount&&("day"===e.type&&0===parseInt(t[0])||"month"===e.type&&0===parseInt(t[0]))&&(n=t.slice(1,t.length)),n}(n,o),t&&(o+=this.getPlaceholder(n.count,o,n.value)));return o},t.prototype.createIDateTimeComposition=function(){var e,t;return this.hasDatePart?(e=this.min||"0001-01-01",t=this.max||"9996-12-31"):(e=this.defaultDate+(this.min||"00:00:00"),t=this.defaultDate+(this.max||"23:59:59")),{hour:void 0,minute:void 0,second:void 0,day:void 0,month:void 0,year:void 0,min:new Date(e),max:new Date(t)}},t.prototype.parseTwoDigitYear=function(e){var t=e.value;return"year"!==e.lexem.type||e.lexem.count>2?t:(this.max&&this.max.length>=4&&(this.turnOfTheCentury=parseInt(this.max.slice(2,4))),(parseInt(t)>this.turnOfTheCentury?"19":"20")+t)},t.prototype.getFormatedString=function(e){var t="",n="",o=!1,i=this.inputDateTimeData.length-1;if(!e){var r=this.inputDateTimeData.filter((function(e){return!!e.value}));i=this.inputDateTimeData.indexOf(r[r.length-1])}for(var a=0;a<this.inputDateTimeData.length;a++){var s=this.inputDateTimeData[a];switch(s.lexem.type){case"timeMarker":case"hour":case"minute":case"second":case"day":case"month":case"year":if(void 0===s.value&&!e)return t+=o?n:"";var l=e||i>a;t+=n+this.getCorrectDatePartFormat(s,l),o=s.isCompleted;break;case"separator":n=s.lexem.value}}return t},t.prototype.cleanTimeMarker=function(e,t){var n="";e=e.toUpperCase();for(var o=0;o<e.length;o++)(!n&&("P"==e[o]||"A"==e[o])||n&&"M"==e[o])&&(n+=e[o]);return n=t?n.toUpperCase():n.toLowerCase()},t.prototype.setInputDateTimeData=function(e){var t=this,n=0;this.initInputDateTimeData(),this.lexems.forEach((function(o,i){if(e.length>0&&n<e.length){if("separator"===o.type)return;var r=t.inputDateTimeData[i],a=e[n],s=void 0;s="timeMarker"===o.type?t.cleanTimeMarker(a,o.upperCase):t.leaveOnlyNumbers(a),r.value=s.slice(0,o.maxCount),n++}}))},t.prototype._getMaskedValue=function(e,t){var n=this;void 0===t&&(t=!0);var o=null==e?"":e.toString(),i=this.getParts(o);this.setInputDateTimeData(i);var r=this.createIDateTimeComposition();return this.inputDateTimeData.forEach((function(e){"timeMarker"===e.lexem.type?n.updateTimeMarkerInputDateTimeData(e,r):n.updateInputDateTimeData(e,r)})),this.getFormatedString(t)},t.prototype.getParts=function(e){for(var t=[],n=this.lexems.filter((function(e){return"separator"!==e.type})),o=this.lexems.filter((function(e){return"separator"===e.type})).map((function(e){return e.value})),i="",r=!1,a=!1,s=0;s<e.length;s++){var l=e[s];if(l.match(kr)||l===n[t.length].value||"timeMarker"===n[t.length].type?(r=!1,a=!1,i+=l):-1!==o.indexOf(l)?a||(r=!0,t.push(i),i=""):r||(a=!0,t.push(i),i=""),t.length>=n.length){r=!1;break}}return(""!=i||r)&&t.push(i),t},t.prototype.getUnmaskedValue=function(e){var t,n=this,o=null==e?"":e.toString(),i=this.getParts(o);this.setInputDateTimeData(i);var r=null===(t=this.inputDateTimeData.filter((function(e){return"timeMarker"===e.lexem.type}))[0])||void 0===t?void 0:t.value.toLowerCase()[0],a=this.createIDateTimeComposition(),s=!1;return this.inputDateTimeData.forEach((function(e){var t=e.value;if("timeMarker"!=e.lexem.type&&"separator"!=e.lexem.type)if(!t||t.length<e.lexem.count)s=!0;else{var o=parseInt(n.parseTwoDigitYear(e));"hour"==e.lexem.type&&"p"===r&&o!=n.twelve&&(o+=n.twelve),a[e.lexem.type]=o}})),s?"":this.getISO_8601Format(a)},t.prototype.getMaskedValue=function(e){return this.getMaskedStrFromISO(e)},t.prototype.processInput=function(e){var t={value:e.prevValue,caretPosition:e.selectionEnd,cancelPreventDefault:!1},n=e.prevValue.slice(0,e.selectionStart),o=e.prevValue.slice(e.selectionEnd);return t.value=this._getMaskedValue(n+(e.insertedChars||"")+o),e.insertedChars||"backward"!==e.inputDirection?t.caretPosition=this._getMaskedValue(n+(e.insertedChars||""),!1).length:t.caretPosition=e.selectionStart,t},$s([x()],t.prototype,"min",void 0),$s([x()],t.prototype,"max",void 0),t}(Bs);L.addClass("datetimemask",[{name:"min",type:"datetime",enableIf:function(e){return!!e.pattern}},{name:"max",type:"datetime",enableIf:function(e){return!!e.pattern}}],(function(){return new Ks}),"patternmask");var Zs,Js,Ys=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(t,n)};return function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function o(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}}(),Xs=function(e,t,n,o){var i,r=arguments.length,a=r<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,n):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,o);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(a=(r<3?i(a):r>3?i(t,n,a):i(t,n))||a);return r>3&&a&&Object.defineProperty(t,n,a),a},el=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Ys(t,e),t.prototype.getType=function(){return"currencymask"},t.prototype.wrapText=function(e){var t=this.prefix||"",n=this.suffix||"",o=e;return o?(-1===o.indexOf(t)&&(o=t+o),-1===o.indexOf(n)&&(o+=n),o):o},t.prototype.unwrapInputArgs=function(e){var t=e.prevValue;if(t){if(this.prefix&&-1!==t.indexOf(this.prefix)){t=t.slice(t.indexOf(this.prefix)+this.prefix.length);var n=(this.prefix||"").length;e.selectionStart=Math.max(e.selectionStart-n,0),e.selectionEnd-=n}this.suffix&&-1!==t.indexOf(this.suffix)&&(t=t.slice(0,t.indexOf(this.suffix))),e.prevValue=t}},t.prototype.processInput=function(t){this.unwrapInputArgs(t);var n=e.prototype.processInput.call(this,t),o=(this.prefix||"").length;return n.value&&(n.caretPosition+=o),n.value=this.wrapText(n.value),n},t.prototype.getMaskedValue=function(t){var n=e.prototype.getMaskedValue.call(this,t);return this.wrapText(n)},Xs([x()],t.prototype,"prefix",void 0),Xs([x()],t.prototype,"suffix",void 0),t}(Qs);function tl(e,t){if(Zs!=e){var n="survey-core has version '"+Zs+"' and "+t+" has version '"+e+"'. SurveyJS libraries should have the same versions to work correctly.";console.error(n)}}function nl(e){ol(e)}function ol(e){!function(e,t,n){if(!e)return;var o=function(e){var t,n,o,i={},r=0,a=0,s="",l=String.fromCharCode,u=e.length;for(t=0;t<64;t++)i["ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".charAt(t)]=t;for(n=0;n<u;n++){for(r=(r<<6)+i[e.charAt(n)],a+=6;a>=8;)((o=r>>>(a-=8)&255)||n<u-2)&&(s+=l(o))}return s}(e);if(!o)return;var i=o.indexOf(";");if(i<0)return;if(!function(e){if(!e)return!0;var t="domains:",n=e.indexOf(t);if(n<0)return!0;var o=e.substring(n+t.length).toLowerCase().split(",");if(!Array.isArray(o)||0===o.length)return!0;var i=a.getLocation();if(i&&i.hostname){var r=i.hostname.toLowerCase();o.push("localhost");for(var s=0;s<o.length;s++)if(r.indexOf(o[s])>-1)return!0;return!1}return!0}(o.substring(0,i)))return;(o=o.substring(i+1)).split(",").forEach((function(e){var o=e.indexOf("=");if(o>0){var i=new Date(e.substring(o+1));t[e.substring(0,o)]=new Date(n)<=i||i}}))}(e,al,Js)}function il(e){return!0===rl(e)}function rl(e){var t=al[e.toString()];return t||!1}L.addClass("currencymask",[{name:"prefix"},{name:"suffix"}],(function(){return new el}),"numericmask"),Zs="1.12.
1657",tn.version=Zs,Js="2025-11-1
vendor: 21,945 bytes, line 16
164";var al={};var sl={"$main-color":"#1ab394","$add-button-color":"#1948b3","$remove-button-color":"#ff1800","$disable-color":"#dbdbdb","$progress-text-color":"#9d9d9d","$disabled-label-color":"rgba(64, 64, 64, 0.5)","$slider-color":"white","$disabled-slider-color":"#cfcfcf","$error-color":"#d52901","$text-color":"#404040","$light-text-color":"#fff","$checkmark-color":"#fff","$progress-buttons-color":"#8dd9ca","$inputs-background-color":"transparent","$main-hover-color":"#9f9f9f","$body-container-background-color":"#f4f4f4","$text-border-color":"#d4d4d4","$disabled-text-color":"rgba(64, 64, 64, 0.5)","$border-color":"rgb(64, 64, 64, 0.5)","$header-background-color":"#e7e7e7","$answer-background-color":"rgba(26, 179, 148, 0.2)","$error-background-color":"rgba(213, 41, 1, 0.2)","$radio-checked-color":"#404040","$clean-button-color":"#1948b3","$body-background-color":"#ffffff","$foreground-light":"#909090","$font-family":"Raleway"},ll={"$header-background-color":"#e7e7e7","$body-container-background-color":"#f4f4f4","$main-color":"#1ab394","$main-hover-color":"#0aa384","$body-background-color":"white","$inputs-background-color":"white","$text-color":"#6d7072","$text-input-color":"#6d7072","$header-color":"#6d7072","$border-color":"#e7e7e7","$error-color":"#ed5565","$error-background-color":"#fcdfe2","$progress-text-color":"#9d9d9d","$disable-color":"#dbdbdb","$disabled-label-color":"rgba(64, 64, 64, 0.5)","$slider-color":"white","$disabled-switch-color":"#9f9f9f","$disabled-slider-color":"#cfcfcf","$foreground-light":"#909090","$foreground-disabled":"#161616","$background-dim":"#f3f3f3","$progress-buttons-color":"#8dd9ca","$progress-buttons-line-color":"#d4d4d4"},ul={"$header-background-color":"#4a4a4a","$body-container-background-color":"#f8f8f8","$main-color":"#f78119","$main-hover-color":"#e77109","$body-background-color":"white","$inputs-background-color":"white","$text-color":"#4a4a4a","$text-input-color":"#4a4a4a","$header-color":"#f78119","$border-color":"#e7e7e7","$error-color":"#ed5565","$error-background-color":"#fcdfe2","$progress-text-color":"#9d9d9d","$disable-color":"#dbdbdb","$disabled-label-color":"rgba(64, 64, 64, 0.5)","$slider-color":"white","$disabled-switch-color":"#9f9f9f","$disabled-slider-color":"#cfcfcf","$foreground-light":"#909090","$foreground-disabled":"#161616","$background-dim":"#f3f3f3","$progress-buttons-color":"#f7b781","$progress-buttons-line-color":"#d4d4d4"},cl={"$header-background-color":"#d9d8dd","$body-container-background-color":"#f6f7f2","$main-color":"#3c4f6d","$main-hover-color":"#2c3f5d","$body-background-color":"white","$inputs-background-color":"white","$text-color":"#4a4a4a","$text-input-color":"#4a4a4a","$header-color":"#6d7072","$border-color":"#e7e7e7","$error-color":"#ed5565","$error-background-color":"#fcdfe2","$progress-text-color":"#9d9d9d","$disable-color":"#dbdbdb","$disabled-label-color":"rgba(64, 64, 64, 0.5)","$slider-color":"white","$disabled-switch-color":"#9f9f9f","$disabled-slider-color":"#cfcfcf","$foreground-light":"#909090","$foreground-disabled":"#161616","$background-dim":"#f3f3f3","$progress-buttons-color":"#839ec9","$progress-buttons-line-color":"#d4d4d4"},pl={"$header-background-color":"#ddd2ce","$body-container-background-color":"#f7efed","$main-color":"#68656e","$main-hover-color":"#58555e","$body-background-color":"white","$inputs-background-color":"white","$text-color":"#4a4a4a","$text-input-color":"#4a4a4a","$header-color":"#6d7072","$border-color":"#e7e7e7","$error-color":"#ed5565","$error-background-color":"#fcdfe2","$progress-text-color":"#9d9d9d","$disable-color":"#dbdbdb","$disabled-label-color":"rgba(64, 64, 64, 0.5)","$slider-color":"white","$disabled-switch-color":"#9f9f9f","$disabled-slider-color":"#cfcfcf","$foreground-light":"#909090","$foreground-disabled":"#161616","$background-dim":"#f3f3f3","$progress-buttons-color":"#c6bed4","$progress-buttons-line-color":"#d4d4d4"},dl={"$header-background-color":"#cdccd2","$body-container-background-color":"#efedf4","$main-color":"#0f0f33","$main-hover-color":"#191955","$body-background-color":"white","$inputs-background-color":"white","$text-color":"#0f0f33","$text-input-color":"#0f0f33","$header-color":"#0f0f33","$border-color":"#e7e7e7","$error-color":"#ed5565","$error-background-color":"#fcdfe2","$progress-text-color":"#9d9d9d","$disable-color":"#dbdbdb","$disabled-label-color":"rgba(64, 64, 64, 0.5)","$slider-color":"white","$disabled-switch-color":"#9f9f9f","$disabled-slider-color":"#cfcfcf","$foreground-light":"#909090","$foreground-disabled":"#161616","$background-dim":"#f3f3f3","$progress-buttons-color":"#747491","$progress-buttons-line-color":"#d4d4d4"},hl={"$header-background-color":"#82b8da","$body-container-background-color":"#dae1e7","$main-color":"#3c3b40","$main-hover-color":"#1e1d20","$body-background-color":"white","$inputs-background-color":"white","$text-color":"#000","$text-input-color":"#000","$header-color":"#000","$border-color":"#e7e7e7","$error-color":"#ed5565","$error-background-color":"#fcdfe2","$disable-color":"#dbdbdb","$progress-text-color":"#9d9d9d","$disabled-label-color":"rgba(64, 64, 64, 0.5)","$slider-color":"white","$disabled-switch-color":"#9f9f9f","$disabled-slider-color":"#cfcfcf","$foreground-light":"#909090","$foreground-disabled":"#161616","$background-dim":"#f3f3f3","$progress-buttons-color":"#d1c9f5","$progress-buttons-line-color":"#d4d4d4"},ml={"$header-background-color":"#323232","$body-container-background-color":"#f8f8f8","$main-color":"#5ac8fa","$main-hover-color":"#06a1e7","$body-background-color":"white","$inputs-background-color":"white","$text-color":"#000","$text-input-color":"#000","$header-color":"#000","$border-color":"#e7e7e7","$error-color":"#ed5565","$error-background-color":"#fcdfe2","$disable-color":"#dbdbdb","$progress-text-color":"#9d9d9d","$disabled-label-color":"rgba(64, 64, 64, 0.5)","$slider-color":"white","$disabled-switch-color":"#9f9f9f","$disabled-slider-color":"#cfcfcf","$foreground-light":"#909090","$foreground-disabled":"#161616","$background-dim":"#f3f3f3","$progress-buttons-color":"#acdcf2","$progress-buttons-line-color":"#d4d4d4"};var gl=function(){function e(){e.autoApplyTheme()}return e.autoApplyTheme=function(){if("bootstrap"!==ti.currentType&&"bootstrapmaterial"!==ti.currentType){var t=e.getIncludedThemeCss();1===t.length&&e.applyTheme(t[0].name)}},e.getAvailableThemes=function(){return ti.getAvailableThemes().filter((function(e){return-1!==["defaultV2","default","modern"].indexOf(e)})).map((function(e){return{name:e,theme:ti[e]}}))},e.getIncludedThemeCss=function(){if(void 0===tn.environment)return[];var t=tn.environment.rootElement,n=e.getAvailableThemes(),o=Vt(t)?t.host:t;if(o){var i=getComputedStyle(o);if(i.length)return n.filter((function(e){return e.theme.variables&&i.getPropertyValue(e.theme.variables.themeMark)}))}return[]},e.findSheet=function(e){if(void 0===tn.environment)return null;for(var t=tn.environment.root.styleSheets,n=0;n<t.length;n++)if(t[n].ownerNode&&t[n].ownerNode.id===e)return t[n];return null},e.createSheet=function(t){var n=tn.environment.stylesSheetsMountContainer,o=s.createElement("style");return o.id=t,o.appendChild(new Text("")),_t(n).appendChild(o),e.Logger&&e.Logger.log("style sheet "+t+" created"),o.sheet},e.applyTheme=function(t,n){if(void 0===t&&(t="default"),void 0!==tn.environment){var o=tn.environment.rootElement,i=Vt(o)?o.host:o;if(ti.currentType=t,e.Enabled){if("bootstrap"!==t&&"bootstrapmaterial"!==t)return function(e,t){Object.keys(e||{}).forEach((function(n){var o=n.substring(1);t.style.setProperty("--"+o,e[n])}))}(e.ThemeColors[t],i),void(e.Logger&&e.Logger.log("apply theme "+t+" completed"));var r=e.ThemeCss[t];if(!r)return void(ti.currentType="defaultV2");e.insertStylesRulesIntoDocument();var a=n||e.ThemeSelector[t]||e.ThemeSelector.default,s=(t+a).trim(),l=e.findSheet(s);if(!l){l=e.createSheet(s);var u=e.ThemeColors[t]||e.ThemeColors.default;Object.keys(r).forEach((function(e){var t=r[e];Object.keys(u||{}).forEach((function(e){return t=t.replace(new RegExp("\\"+e,"g"),u[e])}));try{0===e.indexOf("body")?l.insertRule(e+" { "+t+" }",0):l.insertRule(a+e+" { "+t+" }",0)}catch(e){}}))}}e.Logger&&e.Logger.log("apply theme "+t+" completed")}},e.insertStylesRulesIntoDocument=function(){if(e.Enabled){var t=e.findSheet(e.SurveyJSStylesSheetId);t||(t=e.createSheet(e.SurveyJSStylesSheetId)),Object.keys(e.Styles).length&&Object.keys(e.Styles).forEach((function(n){try{t.insertRule(n+" { "+e.Styles[n]+" }",0)}catch(e){}})),Object.keys(e.Media).length&&Object.keys(e.Media).forEach((function(n){try{t.insertRule(e.Media[n].media+" { "+n+" { "+e.Media[n].style+" } }",0)}catch(e){}}))}},e.SurveyJSStylesSheetId="surveyjs-styles",e.Styles={},e.Media={},e.ThemeColors={modern:sl,default:ll,orange:ul,darkblue:cl,darkrose:pl,stone:dl,winter:hl,winterstone:ml},e.ThemeCss={},e.ThemeSelector={default:".sv_main ",modern:".sv-root-modern "},e.Enabled=!0,e}();Wi.prototype.onBeforeRunConstructor=function(){a.isAvailable()&&gl.autoApplyTheme()};var fl={root:"sv_main sv_default_css",rootProgress:"sv_progress",container:"sv_container",header:"sv_header",bodyContainer:"sv-components-row",body:"sv_body",bodyEmpty:"sv_body sv_body_empty",footer:"sv_nav",title:"",description:"",logo:"sv_logo",logoImage:"sv_logo__image",headerText:"sv_header__text",navigationButton:"sv_nav_btn",completedPage:"sv_completed_page",navigation:{complete:"sv_complete_btn",prev:"sv_prev_btn",next:"sv_next_btn",start:"sv_start_btn",preview:"sv_preview_btn",edit:"sv_edit_btn"},progress:"sv_progress",progressBar:"sv_progress_bar",progressTextInBar:"sv-hidden",progressButtonsContainerCenter:"sv_progress-buttons__container-center",progressButtonsContainer:"sv_progress-buttons__container",progressButtonsImageButtonLeft:"sv_progress-buttons__image-button-left",progressButtonsImageButtonRight:"sv_progress-buttons__image-button-right",progressButtonsImageButtonHidden:"sv_progress-buttons__image-button--hidden",progressButtonsListContainer:"sv_progress-buttons__list-container",progressButtonsList:"sv_progress-buttons__list",progressButtonsListElementPassed:"sv_progress-buttons__list-element--passed",progressButtonsListElementCurrent:"sv_progress-buttons__list-element--current",progressButtonsListElementNonClickable:"sv_progress-buttons__list-element--nonclickable",progressButtonsPageTitle:"sv_progress-buttons__page-title",progressButtonsPageDescription:"sv_progress-buttons__page-description",page:{root:"sv_p_root",title:"sv_page_title",description:""},pageTitle:"sv_page_title",pageDescription:"",row:"sv_row",question:{mainRoot:"sv_q sv_qstn",flowRoot:"sv_q_flow sv_qstn",header:"",headerLeft:"title-left",content:"",contentLeft:"content-left",titleLeftRoot:"sv_qstn_left",requiredText:"sv_q_required_text",title:"sv_q_title",titleExpandable:"sv_q_title_expandable",titleExpandableSvg:"sd-element__title-expandable-svg",titleExpanded:"sv_q_title_expanded",titleCollapsed:"sv_q_title_collapsed",number:"sv_q_num",description:"sv_q_description",comment:"",required:"",titleRequired:"",hasError:"",indent:20,footer:"sv_q_footer",formGroup:"form-group",asCell:"sv_matrix_cell",icon:"sv_question_icon",iconExpanded:"sv_expanded",disabled:"sv_q--disabled"},panel:{title:"sv_p_title",titleExpandable:"sv_p_title_expandable",titleExpandableSvg:"sd-element__title-expandable-svg",titleExpanded:"sv_p_title_expanded",titleCollapsed:"sv_p_title_collapsed",titleOnError:"",icon:"sv_panel_icon",iconExpanded:"sv_expanded",description:"sv_p_description",container:"sv_p_container",footer:"sv_p_footer",number:"sv_q_num",requiredText:"sv_q_required_text"},error:{root:"sv_q_erbox",icon:"",item:"",locationTop:"sv_qstn_error_top",locationBottom:"sv_qstn_error_bottom"},boolean:{root:"sv_qcbc sv_qbln",rootRadio:"sv_qcbc sv_qbln",item:"sv-boolean",control:"sv-visuallyhidden",itemChecked:"sv-boolean--checked checked",itemIndeterminate:"sv-boolean--indeterminate",itemDisabled:"sv-boolean--disabled",switch:"sv-boolean__switch",slider:"sv-boolean__slider",label:"sv-boolean__label ",disabledLabel:"sv-boolean__label--disabled",sliderGhost:"sv-boolean__thumb-ghost",rootCheckbox:"sv_qcbc sv_qbln",checkboxItem:"sv-boolean",checkboxItemChecked:"sv-boolean--checked",controlCheckbox:"sv-visuallyvisible",checkboxControlLabel:"sv-boolean__label",checkboxItemIndeterminate:"sv-boolean--indeterminate",checkboxItemDisabled:"sv-item--disabled sv-boolean--disabled",checkboxMaterialDecorator:"sv-item__decorator sv-boolean__decorator",checkboxItemDecorator:"sv-item__svg sv-boolean__svg"},checkbox:{root:"sv_qcbc sv_qcbx",item:"sv_q_checkbox",itemSelectAll:"sv_q_checkbox_selectall",itemNone:"sv_q_checkbox_none",itemChecked:"checked",itemInline:"sv_q_checkbox_inline",label:"sv_q_checkbox_label",labelChecked:"",itemControl:"sv_q_checkbox_control_item",itemDecorator:"sv-hidden",controlLabel:"sv_q_checkbox_control_label",other:"sv_q_other sv_q_checkbox_other",column:"sv_q_select_column"},ranking:{root:"sv-ranking",rootMobileMod:"sv-ranking--mobile",rootDragMod:"sv-ranking--drag",rootDisabled:"sv-ranking--disabled",rootDragHandleAreaIcon:"sv-ranking--drag-handle-area-icon",rootSelectToRankMod:"sv-ranking--select-to-rank",rootSelectToRankAlignVertical:"sv-ranking--select-to-rank-vertical",rootSelectToRankAlignHorizontal:"sv-ranking--select-to-rank-horizontal",rootSelectToRankSwapAreas:"sv-ranking--select-to-rank-swap-areas",item:"sv-ranking-item",itemContent:"sv-ranking-item__content",itemIndex:"sv-ranking-item__index",itemIndexEmptyMode:"sv-ranking-item__index--empty",controlLabel:"sv-ranking-item__text",itemGhostNode:"sv-ranking-item__ghost",itemIconContainer:"sv-ranking-item__icon-container",itemIcon:"sv-ranking-item__icon",itemIconHoverMod:"sv-ranking-item__icon--hover",itemIconFocusMod:"sv-ranking-item__icon--focus",itemGhostMod:"sv-ranking-item--ghost",itemDragMod:"sv-ranking-item--drag",container:"sv-ranking__container",containerEmptyMode:"sv-ranking__container--empty",containerFromMode:"sv-ranking__container--from",containerToMode:"sv-ranking__container--to",containerPlaceholder:"sv-ranking__container-placeholder",containersDivider:"sv-ranking__containers-divider"},comment:{remainingCharacterCounter:"sv-remaining-character-counter"},dropdown:{root:"",popup:"sv-dropdown-popup",control:"sv_q_dropdown_control",controlInputFieldComponent:"sv_q_dropdown_control__input-field-component",selectWrapper:"sv_select_wrapper",other:"sv_q_dd_other",cleanButton:"sv_q_dropdown_clean-button",cleanButtonSvg:"sv_q_dropdown_clean-button-svg",cleanButtonIconId:"icon-clear_16x16",controlValue:"sv_q_dropdown__value",filterStringInput:"sv_q_dropdown__filter-string-input",hintPrefix:"sv_q_dropdown__hint-prefix",hintSuffix:"sv_q_dropdown__hint-suffix"},html:{root:""},image:{root:"sv_q_image",image:"sv_image_image",noImage:"sv-image__no-image",noImageSvgIconId:"icon-no-image"},matrix:{root:"sv_q_matrix",label:"sv_q_m_label",itemChecked:"checked",itemDecorator:"sv-hidden",cell:"sv_q_m_cell",cellText:"sv_q_m_cell_text",cellTextSelected:"sv_q_m_cell_selected",cellLabel:"sv_q_m_cell_label",cellResponsiveTitle:"sv_q_m_cell_responsive_title"},matrixdropdown:{root:"sv_q_matrix_dropdown",cell:"sv_matrix_cell",cellResponsiveTitle:"sv_matrix_cell_responsive_title",headerCell:"sv_matrix_cell_header",row:"sv_matrix_row",rowAdditional:"sv-matrix__row--additional",rowTextCell:"sv-table__cell--row-text",detailRow:"sv_matrix_detail_row",detailRowText:"sv_matrix_cell_detail_rowtext",detailCell:"sv_matrix_cell_detail",choiceCell:"sv-table__cell--choice",detailButton:"sv_matrix_cell_detail_button",detailButtonExpanded:"sv_matrix_cell_detail_button_expanded",detailIcon:"sv_detail_panel_icon",detailIconExpanded:"sv_detail_expanded",detailPanelCell:"sv_matrix_cell_detail_panel",actionsCell:"sv_matrix_cell sv_matrix_cell_actions"},matrixdynamic:{root:"sv_q_matrix_dynamic",button:"sv_matrix_dynamic_button",buttonAdd:"sv_matrix_dynamic_button--add",buttonRemove:"",iconAdd:"",iconRemove:"",iconDrag:"sv-matrixdynamic__drag-icon",cell:"sv_matrix_cell",cellResponsiveTitle:"sv_matrix_cell_responsive_title",headerCell:"sv_matrix_cell_header",row:"sv_matrix_row",detailRow:"sv_matrix_detail_row",detailCell:"sv_matrix_cell_detail",choiceCell:"sv-table__cell--choice",detailButton:"sv_matrix_cell_detail_button",detailButtonExpanded:"sv_matrix_cell_detail_button_expanded",detailIcon:"sv_detail_panel_icon",detailIconExpanded:"sv_detail_expanded",detailPanelCell:"sv_matrix_cell_detail_panel",actionsCell:"sv_matrix_cell sv_matrix_cell_actions",emptyRowsSection:"sv_matrix_empty_rows_section",emptyRowsText:"sv_matrix_empty_rows_text",emptyRowsButton:"",ghostRow:"sv-matrix-row--drag-drop-ghost-mod",draggedRow:"sv-matrixdynamic-dragged-row"},paneldynamic:{root:"sv_panel_dynamic",title:"sv_p_title",header:"sv-paneldynamic__header sv_header",headerTab:"sv-paneldynamic__header-tab",button:"",buttonAdd:"sv-paneldynamic__add-btn",buttonRemove:"sv_p_remove_btn",buttonRemoveRight:"sv_p_remove_btn_right",buttonPrev:"sv-paneldynamic__prev-btn",buttonPrevDisabled:"sv-paneldynamic__prev-btn--disabled",buttonNextDisabled:"sv-paneldynamic__next-btn--disabled",buttonNext:"sv-paneldynamic__next-btn",progressContainer:"sv-paneldynamic__progress-container",progress:"sv-progress",progressBar:"sv-progress__bar",progressText:"sv-paneldynamic__progress-text",panelWrapper:"sv_p_wrapper",panelWrapperInRow:"sv_p_wrapper_in_row",footer:"",progressBtnIcon:"icon-progressbutton"},multipletext:{root:"sv_q_mt",itemTitle:"sv_q_mt_title",item:"sv_q_mt_item",row:"sv_q_mt_row",itemLabel:"sv_q_mt_label",itemValue:"sv_q_mt_item_value sv_q_text_root"},radiogroup:{root:"sv_qcbc",item:"sv_q_radiogroup",itemChecked:"checked",itemInline:"sv_q_radiogroup_inline",itemDecorator:"sv-hidden",label:"sv_q_radiogroup_label",labelChecked:"",itemControl:"sv_q_radiogroup_control_item",controlLabel:"",other:"sv_q_other sv_q_radiogroup_other",clearButton:"sv_q_radiogroup_clear",column:"sv_q_select_column"},buttongroup:{root:"sv-button-group",item:"sv-button-group__item",itemIcon:"sv-button-group__item-icon",itemDecorator:"sv-button-group__item-decorator",itemCaption:"sv-button-group__item-caption",itemHover:"sv-button-group__item--hover",itemSelected:"sv-button-group__item--selected",itemDisabled:"sv-button-group__item--disabled",itemControl:"sv-visuallyhidden"},imagepicker:{root:"sv_imgsel",item:"sv_q_imgsel",itemChecked:"checked",label:"sv_q_imgsel_label",itemControl:"sv_q_imgsel_control_item",image:"sv_q_imgsel_image",itemInline:"sv_q_imagepicker_inline",itemText:"sv_q_imgsel_text",clearButton:"sv_q_radiogroup_clear",column:"sv_q_select_column",itemNoImage:"sv_q_imgsel__no-image",itemNoImageSvgIcon:"sv_q_imgsel__no-image-svg",itemNoImageSvgIconId:"icon-no-image"},rating:{root:"sv_q_rating",item:"sv_q_rating_item",itemFixedSize:"sv_q_rating_item_fixed",selected:"active",minText:"sv_q_rating_min_text",itemText:"sv_q_rating_item_text",maxText:"sv_q_rating_max_text",itemStar:"sv_q_rating__item-star",itemStarSelected:"sv_q_rating__item-star--selected",itemSmiley:"sv_q_rating__item-smiley",itemSmileySelected:"sv_q_rating__item-smiley--selected"},text:{root:"sv_q_text_root",remainingCharacterCounter:"sv-remaining-character-counter"},expression:"",file:{root:"sv_q_file",placeholderInput:"sv-visuallyhidden",previewItem:"sv_q_file_preview",removeButton:"sv_q_file_remove_button",fileInput:"sv-visuallyhidden",removeFile:"sv_q_file_remove",fileDecorator:"sv-file__decorator",fileSign:"sv_q_file_sign",chooseFile:"sv_q_file_choose_button",noFileChosen:"sv_q_file_placeholder",dragAreaPlaceholder:"sv-hidden",fileList:""},signaturepad:{root:"sv_q_signaturepad sjs_sp_container",controls:"sjs_sp_controls",placeholder:"sjs_sp_placeholder",canvas:"sjs_sp_canvas",backgroundImage:"sjs_sp__background-image",clearButton:"sjs_sp_clear"},saveData:{root:"sv-save-data_root",rootWithButtons:"sv-save-data_root--with-buttons",info:"sv-save-data_info",error:"sv-save-data_error",success:"sv-save-data_success",button:"sv-save-data_button",shown:"sv-save-data_root--shown"},window:{root:"sv_window",rootCollapsedMod:"sv_window--collapsed",rootFullScreenMode:"sv_window--full-screen",rootContent:"sv_window_root-content",body:"sv_window_content",header:{root:"sv_window_header",titleCollapsed:"sv_window_header_title_collapsed",buttonsContainer:"sv_window_buttons_container",button:"sv_window_button",buttonExpanded:"",buttonCollapsed:"",collapseButton:"sv_window_button sv_window_button_collapse",closeButton:"sv_window_button sv_window_button_close",fullScreenButton:"sv_window_button sv_window_button_full_screen"}},variables:{mobileWidth:"--sv-mobile-width",themeMark:"--sv-default-mark"},tagbox:{root:"",popup:"sv-dropdown-popup",small:"sv_q_row__question--small",selectWrapper:"sv_select_wrapper sv_q_tagbox_wrapper",other:"sv_q_input sv_q_comment sv_q_selectbase__other",cleanButton:"sv_q_tagbox_clean-button sv_q_dropdown_clean-button",cleanButtonSvg:"sv_q_tagbox_clean-button-svg sv_q_dropdown_clean-button-svg",cleanButtonIconId:"icon-clear_16x16",cleanItemButton:"sv_q_tagbox-item_clean-button",cleanItemButtonSvg:"sv_q_tagbox-item_clean-button-svg",cleanItemButtonIconId:"icon-clear_16x16",control:"sv_q_input sv_q_tagbox sv_q_dropdown_control",controlValue:"sv_q_tagbox__value sv_q_dropdown__value",controlEmpty:"sv_q_dropdown--empty sv_q_tagbox--empty",placeholderInput:"sv_q_tagbox__placeholder",filterStringInput:"sv_q_tagbox__filter-string-input sv_q_dropdown__filter-string-input",hint:"sv_q_tagbox__hint",hintPrefix:"sv_q_dropdown__hint-prefix sv_q_tagbox__hint-prefix",hintSuffix:"sv_q_dropdown__hint-suffix sv_q_tagbox__hint-suffix",hintSuffixWrapper:"sv_q_tagbox__hint-suffix-wrapper"}};ti.default=fl,ti.orange=fl,ti.darkblue=fl,ti.darkrose=fl,ti.stone=fl,ti.winter=fl,ti.winterstone=fl;var yl={root:"sv-root-modern",rootProgress:"sv-progress",timerRoot:"sv-body__timer",container:"sv-container-modern",header:"sv-title sv-container-modern__title",headerClose:"sv-container-modern__
vendor: 4,644 bytes, line 16
16close",bodyContainer:"sv-components-row",body:"sv-body",bodyEmpty:"sv-body sv-body--empty",footer:"sv-footer sv-body__footer sv-clearfix",title:"",description:"",logo:"sv-logo",logoImage:"sv-logo__image",headerText:"sv-header__text",navigationButton:"sv-btn sv-btn--navigation",completedPage:"sv-completedpage",navigation:{complete:"sv-footer__complete-btn",prev:"sv-footer__prev-btn",next:"sv-footer__next-btn",start:"sv-footer__start-btn",preview:"sv-footer__preview-btn",edit:"sv-footer__edit-btn"},panel:{title:"sv-title sv-panel__title",titleExpandable:"sv-panel__title--expandable",titleExpandableSvg:"sd-element__title-expandable-svg",titleExpanded:"sv-panel__title--expanded",titleCollapsed:"sv-panel__title--collapsed",titleOnError:"sv-panel__title--error",description:"sv-description sv-panel__description",container:"sv-panel sv-row__panel",content:"sv-panel__content",icon:"sv-panel__icon",iconExpanded:"sv-panel__icon--expanded",footer:"sv-panel__footer",requiredText:"sv-panel__required-text",number:"sv-question__num"},paneldynamic:{root:"sv-paneldynamic",navigation:"sv-paneldynamic__navigation",title:"sv-title sv-question__title",button:"sv-btn",buttonRemove:"sv-paneldynamic__remove-btn",buttonRemoveRight:"sv-paneldynamic__remove-btn--right",buttonAdd:"sv-paneldynamic__add-btn",progressTop:"sv-paneldynamic__progress sv-paneldynamic__progress--top",progressBottom:"sv-paneldynamic__progress sv-paneldynamic__progress--bottom",buttonPrev:"sv-paneldynamic__prev-btn",buttonNext:"sv-paneldynamic__next-btn",buttonPrevDisabled:"sv-paneldynamic__prev-btn--disabled",buttonNextDisabled:"sv-paneldynamic__next-btn--disabled",progressContainer:"sv-paneldynamic__progress-container",progress:"sv-progress",progressBar:"sv-progress__bar",progressText:"sv-paneldynamic__progress-text",separator:"sv-paneldynamic__separator",panelWrapper:"sv-paneldynamic__panel-wrapper",panelWrapperInRow:"sv-paneldynamic__panel-wrapper--in-row",progressBtnIcon:"icon-progressbutton",footer:""},progress:"sv-progress sv-body__progress",progressBar:"sv-progress__bar",progressText:"sv-progress__text",progressTextInBar:"sv-hidden",progressButtonsContainerCenter:"sv_progress-buttons__container-center",progressButtonsContainer:"sv_progress-buttons__container",progressButtonsImageButtonLeft:"sv_progress-buttons__image-button-left",progressButtonsImageButtonRight:"sv_progress-buttons__image-button-right",progressButtonsImageButtonHidden:"sv_progress-buttons__image-button--hidden",progressButtonsListContainer:"sv_progress-buttons__list-container",progressButtonsList:"sv_progress-buttons__list",progressButtonsListElementPassed:"sv_progress-buttons__list-element--passed",progressButtonsListElementCurrent:"sv_progress-buttons__list-element--current",progressButtonsListElementNonClickable:"sv_progress-buttons__list-element--nonclickable",progressButtonsPageTitle:"sv_progress-buttons__page-title",progressButtonsPageDescription:"sv_progress-buttons__page-description",page:{root:"sv-page sv-body__page",title:"sv-title sv-page__title",number:"sv-page__num",description:"sv-description sv-page__description"},pageTitle:"sv-title sv-page__title",pageDescription:"sv-description sv-page__description",row:"sv-row sv-clearfix",question:{mainRoot:"sv-question sv-row__question",flowRoot:"sv-question sv-row__question sv-row__question--flow",asCell:"sv-table__cell",header:"sv-question__header",headerLeft:"sv-question__header--location--left",headerTop:"sv-question__header--location--top",headerBottom:"sv-question__header--location--bottom",content:"sv-question__content",contentLeft:"sv-question__content--left",titleLeftRoot:"",answered:"sv-question--answered",titleOnAnswer:"sv-question__title--answer",titleOnError:"sv-question__title--error",title:"sv-title sv-question__title",titleExpandable:"sv-question__title--expandable",titleExpandableSvg:"sd-element__title-expandable-svg",titleExpanded:"sv-question__title--expanded",titleCollapsed:"sv-question__title--collapsed",icon:"sv-question__icon",iconExpanded:"sv-question__icon--expanded",requiredText:"sv-question__required-text",number:"sv-question__num",description:"sv-description sv-question__description",descriptionUnderInput:"sv-description sv-question__description",comment:"sv-comment",required:"sv-question--required",titleRequired:"sv-question__title--required",indent:20,footer:"sv-question__footer",formGroup:"sv-question__form-group",hasError:"",disabled:"sv-question--disabled"},image:{root:"sv-image",image:"sv_image_image"},error:{root:"sv-question__erbox",icon:"",item:"",locationTop:"sv-question__erbox--location--top",locationBottom:"sv-question__erbox--location--bottom"}
vendor: 100,335 bytes, line 16
16,checkbox:{root:"sv-selectbase",item:"sv-item sv-checkbox sv-selectbase__item",itemSelectAll:"sv-checkbox--selectall",itemNone:"sv-checkbox--none",itemDisabled:"sv-item--disabled sv-checkbox--disabled",itemChecked:"sv-checkbox--checked",itemHover:"sv-checkbox--allowhover",itemInline:"sv-selectbase__item--inline",label:"sv-selectbase__label",labelChecked:"",itemControl:"sv-visuallyhidden sv-item__control",itemDecorator:"sv-item__svg sv-checkbox__svg",itemSvgIconId:"#icon-moderncheck",controlLabel:"sv-item__control-label",materialDecorator:"sv-item__decorator sv-selectbase__decorator sv-checkbox__decorator",other:"sv-comment sv-question__other",column:"sv-selectbase__column"},ranking:{root:"sv-ranking",rootMobileMod:"sv-ranking--mobile",rootDragMod:"sv-ranking--drag",rootDisabled:"sv-ranking--disabled",rootDragHandleAreaIcon:"sv-ranking--drag-handle-area-icon",rootSelectToRankMod:"sv-ranking--select-to-rank",rootSelectToRankAlignVertical:"sv-ranking--select-to-rank-vertical",rootSelectToRankAlignHorizontal:"sv-ranking--select-to-rank-horizontal",rootSelectToRankSwapAreas:"sv-ranking--select-to-rank-swap-areas",item:"sv-ranking-item",itemContent:"sv-ranking-item__content",itemIndex:"sv-ranking-item__index",itemIndexEmptyMode:"sv-ranking-item__index--empty",controlLabel:"sv-ranking-item__text",itemGhostNode:"sv-ranking-item__ghost",itemIconContainer:"sv-ranking-item__icon-container",itemIcon:"sv-ranking-item__icon",itemIconHoverMod:"sv-ranking-item__icon--hover",itemIconFocusMod:"sv-ranking-item__icon--focus",itemGhostMod:"sv-ranking-item--ghost",itemDragMod:"sv-ranking-item--drag",container:"sv-ranking__container",containerEmptyMode:"sv-ranking__container--empty",containerFromMode:"sv-ranking__container--from",containerToMode:"sv-ranking__container--to",containerPlaceholder:"sv-ranking__container-placeholder",containersDivider:"sv-ranking__containers-divider"},radiogroup:{root:"sv-selectbase",item:"sv-item sv-radio sv-selectbase__item",itemInline:"sv-selectbase__item--inline",label:"sv-selectbase__label",labelChecked:"",itemDisabled:"sv-item--disabled sv-radio--disabled",itemChecked:"sv-radio--checked",itemHover:"sv-radio--allowhover",itemControl:"sv-visuallyhidden sv-item__control",itemDecorator:"sv-item__svg sv-radio__svg",itemSvgIconId:"#icon-modernradio",controlLabel:"sv-item__control-label",materialDecorator:"sv-item__decorator sv-selectbase__decorator sv-radio__decorator",other:"sv-comment sv-question__other",clearButton:"sv-btn sv-selectbase__clear-btn",column:"sv-selectbase__column"},buttongroup:{root:"sv-button-group",item:"sv-button-group__item",itemIcon:"sv-button-group__item-icon",itemDecorator:"sv-button-group__item-decorator",itemCaption:"sv-button-group__item-caption",itemSelected:"sv-button-group__item--selected",itemHover:"sv-button-group__item--hover",itemDisabled:"sv-button-group__item--disabled",itemControl:"sv-visuallyhidden"},boolean:{root:"sv_qbln",rootRadio:"sv_qbln",small:"sv-row__question--small",item:"sv-boolean sv-item",control:"sv-visuallyhidden",itemChecked:"sv-boolean--checked",itemIndeterminate:"sv-boolean--indeterminate",itemDisabled:"sv-item--disabled sv-boolean--disabled",switch:"sv-boolean__switch",slider:"sv-boolean__slider",label:"sv-boolean__label",disabledLabel:"sv-boolean__label--disabled",sliderGhost:"sv-boolean__thumb-ghost",rootCheckbox:"sv_qbln",checkboxItem:"sv-boolean sv-item",checkboxItemChecked:"sv-boolean--checked",controlCheckbox:"sv-visuallyhidden",checkboxControlLabel:"sv-boolean__label",checkboxItemIndeterminate:"sv-boolean--indeterminate",checkboxItemDisabled:"sv-item--disabled sv-boolean--disabled",checkboxMaterialDecorator:"sv-item__decorator sv-boolean__decorator ",checkboxItemDecorator:"sv-item__svg sv-boolean__svg",indeterminatePath:"sv-boolean__indeterminate-path",svgIconCheckedId:"#icon-modernbooleancheckchecked",svgIconUncheckedId:"#icon-modernbooleancheckunchecked",svgIconIndId:"#icon-modernbooleancheckind"},text:{root:"sv-text",small:"sv-row__question--small",remainingCharacterCounter:"sv-remaining-character-counter",onError:"sv-text--error"},multipletext:{root:"sv-multipletext",item:"sv-multipletext__item",itemLabel:"sv-multipletext__item-label",itemTitle:"sv-multipletext__item-title",row:"sv-multipletext__row",cell:"sv-multipletext__cell"},dropdown:{root:"",popup:"sv-dropdown-popup",small:"sv-row__question--small",control:"sv-dropdown",selectWrapper:"",other:"sv-comment sv-question__other",onError:"sv-dropdown--error",cleanButton:"sv-dropdown_clean-button",cleanButtonSvg:"sv-dropdown_clean-button-svg",cleanButtonIconId:"icon-clear_16x16",filterStringInput:"sv-dropdown__filter-string-input",controlValue:"sv-dropdown__value",controlInputFieldComponent:"sv_dropdown_control__input-field-component",hintPrefix:"sv-dropdown__hint-prefix",hintSuffix:"sv-dropdown__hint-suffix"},tagbox:{root:"",popup:"sv-dropdown-popup",small:"sv-row__question--small",selectWrapper:"sv_select_wrapper sv-tagbox_wrapper",other:"sv-input sv-comment sv-selectbase__other",cleanButton:"sv-tagbox_clean-button sv-dropdown_clean-button",cleanButtonSvg:"sv-tagbox_clean-button-svg sv-dropdown_clean-button-svg",cleanButtonIconId:"icon-clear_16x16",cleanItemButton:"sv-tagbox__item_clean-button",cleanItemButtonSvg:"sv-tagbox__item_clean-button-svg",cleanItemButtonIconId:"icon-clear_16x16",control:"sv-input sv-tagbox sv-dropdown",controlValue:"sv-tagbox__value sv-dropdown__value",controlEmpty:"sv-dropdown--empty sv-tagbox--empty",placeholderInput:"sv-tagbox__placeholder",filterStringInput:"sv-tagbox__filter-string-input sv-dropdown__filter-string-input"},imagepicker:{root:"sv-selectbase sv-imagepicker",column:"sv-selectbase__column",item:"sv-imagepicker__item",itemInline:"sv-imagepicker__item--inline",itemChecked:"sv-imagepicker__item--checked",itemDisabled:"sv-imagepicker__item--disabled",itemHover:"sv-imagepicker__item--allowhover",label:"sv-imagepicker__label",itemControl:"sv-imagepicker__control sv-visuallyhidden",image:"sv-imagepicker__image",itemText:"sv-imagepicker__text",clearButton:"sv-btn",other:"sv-comment sv-question__other"},matrix:{tableWrapper:"sv-matrix",root:"sv-table sv-matrix-root",rowError:"sv-matrix__row--error",cell:"sv-table__cell sv-matrix__cell",headerCell:"sv-table__cell sv-table__cell--header",label:"sv-item sv-radio sv-matrix__label",itemValue:"sv-visuallyhidden sv-item__control sv-radio__control",itemChecked:"sv-radio--checked",itemDisabled:"sv-item--disabled sv-radio--disabled",itemHover:"sv-radio--allowhover",materialDecorator:"sv-item__decorator sv-radio__decorator",itemDecorator:"sv-item__svg sv-radio__svg",cellText:"sv-matrix__text",cellTextSelected:"sv-matrix__text--checked",cellTextDisabled:"sv-matrix__text--disabled",cellResponsiveTitle:"sv-matrix__cell-responsive-title",itemSvgIconId:"#icon-modernradio"},matrixdropdown:{root:"sv-table sv-matrixdropdown",cell:"sv-table__cell",cellResponsiveTitle:"sv-table__responsive-title",headerCell:"sv-table__cell sv-table__cell--header",row:"sv-table__row",rowTextCell:"sv-table__cell--row-text",rowAdditional:"sv-table__row--additional",detailRow:"sv-table__row--detail",detailRowText:"sv-table__cell--detail-rowtext",detailCell:"sv-table__cell--detail",choiceCell:"sv-table__cell--choice",detailButton:"sv-table__cell--detail-button",detailButtonExpanded:"sv-table__cell--detail-button--expanded",detailIcon:"sv-detail-panel__icon",detailIconExpanded:"sv-detail-panel__icon--expanded",detailPanelCell:"sv-table__cell--detail-panel",actionsCell:"sv-table__cell sv-table__cell--actions"},matrixdynamic:{root:"sv-table sv-matrixdynamic",cell:"sv-table__cell",cellResponsiveTitle:"sv-table__responsive-title",headerCell:"sv-table__cell sv-table__cell--header",button:"sv-btn",buttonAdd:"sv-matrixdynamic__add-btn",buttonRemove:"sv-matrixdynamic__remove-btn",iconAdd:"",iconRemove:"",iconDrag:"sv-matrixdynamic__drag-icon",row:"sv-table__row",detailRow:"sv-table__row--detail",detailCell:"sv-table__cell--detail",choiceCell:"sv-table__cell--choice",detailButton:"sv-table__cell--detail-button",detailButtonExpanded:"sv-table__cell--detail-button--expanded",detailIcon:"sv-detail-panel__icon",detailIconExpanded:"sv-detail-panel__icon--expanded",detailPanelCell:"sv-table__cell--detail-panel",actionsCell:"sv-table__cell sv-table__cell--actions",emptyRowsSection:"sv-table__empty--rows--section",emptyRowsText:"sv-table__empty--rows--text",emptyRowsButton:"",ghostRow:"sv-matrix-row--drag-drop-ghost-mod",draggedRow:"sv-matrixdynamic-dragged-row"},rating:{root:"sv-rating",item:"sv-rating__item",selected:"sv-rating__item--selected",minText:"sv-rating__min-text",itemText:"sv-rating__item-text",maxText:"sv-rating__max-text",itemDisabled:"sv-rating--disabled",filterStringInput:"sv-dropdown__filter-string-input",control:"sv-dropdown",cleanButton:"sv-dropdown_clean-button",cleanButtonSvg:"sv-dropdown_clean-button-svg",cleanButtonIconId:"icon-clear_16x16",controlValue:"sv-dropdown__value",controlInputFieldComponent:"sv_dropdown_control__input-field-component",itemSmiley:"sv-rating__item-smiley",itemStar:"sv-rating__item-star",itemSmileySelected:"sv-rating__item-smiley--selected",itemStarSelected:"sv-rating__item-star--selected"},comment:{root:"sv-comment",small:"sv-row__question--small",remainingCharacterCounter:"sv-remaining-character-counter"},expression:"",file:{root:"sv-file",other:"sv-comment sv-question__other",placeholderInput:"sv-visuallyhidden",previewItem:"sd-file__preview-item",fileSignBottom:"sv-file__sign",fileDecorator:"sv-file__decorator",fileInput:"sv-visuallyhidden",noFileChosen:"sv-description sv-file__no-file-chosen",chooseFile:"sv-btn sv-file__choose-btn",controlDisabled:"sv-file__choose-btn--disabled",removeButton:"sv-hidden",removeButtonBottom:"sv-btn sv-file__clean-btn",removeFile:"sv-hidden",removeFileSvg:"sv-file__remove-svg",removeFileSvgIconId:"icon-removefile",wrapper:"sv-file__wrapper",dragAreaPlaceholder:"sv-hidden",fileList:""},signaturepad:{root:"sv-signaturepad sjs_sp_container",small:"sv-row__question--small",controls:"sjs_sp_controls",placeholder:"sjs_sp_placeholder",canvas:"sjs_sp_canvas",backgroundImage:"sjs_sp__background-image",clearButton:"sjs_sp_clear"},saveData:{root:"sv-save-data_root",rootWithButtons:"sv-save-data_root--with-buttons",info:"sv-save-data_info",error:"sv-save-data_error",success:"sv-save-data_success",button:"sv-save-data_button",shown:"sv-save-data_root--shown"},window:{root:"sv_window",rootCollapsedMod:"sv_window--collapsed",rootFullScreenMode:"sv_window--full-screen",rootContent:"sv_window_root-content",body:"sv_window_content",header:{root:"sv_window_header",titleCollapsed:"sv_window_header_title_collapsed",buttonsContainer:"sv_window_buttons_container",button:"sv_window_button",buttonExpanded:"",buttonCollapsed:"",collapseButton:"sv_window_button sv_window_button_collapse",closeButton:"sv_window_button sv_window_button_close",fullScreenButton:"sv_window_button sv_window_button_full_screen"}},variables:{mobileWidth:"--sv-mobile-width",themeMark:"--sv-modern-mark"}};ti.modern=yl;var vl=function(){function e(){this.icons={},this.iconPrefix="icon-",this.onIconsChanged=new Ee}return e.prototype.processId=function(e,t){return 0==e.indexOf(t)&&(e=e.substring(t.length)),e=It[e]||e},e.prototype.registerIconFromSymbol=function(e,t){this.icons[e]=t},e.prototype.registerIconFromSvgViaElement=function(e,t,n){if(void 0===n&&(n=this.iconPrefix),s.isAvailable()){e=this.processId(e,n);var o=s.createElement("div");o.innerHTML=t;var i=s.createElement("symbol"),r=o.querySelector("svg");i.innerHTML=r.innerHTML;for(var a=0;a<r.attributes.length;a++)i.setAttributeNS("http://www.w3.org/2000/svg",r.attributes[a].name,r.attributes[a].value);i.id=n+e,this.registerIconFromSymbol(e,i.outerHTML)}},e.prototype.registerIconFromSvg=function(e,t,n){void 0===n&&(n=this.iconPrefix),e=this.processId(e,n);var o=(t=t.trim()).toLowerCase();return"<svg "===o.substring(0,"<svg ".length)&&"</svg>"===o.substring(o.length-"</svg>".length,o.length)&&(this.registerIconFromSymbol(e,'<symbol id="'+n+e+'" '+t.substring("<svg ".length,o.length-"</svg>".length)+"</symbol>"),!0)},e.prototype.registerIconsFromFolder=function(e){var t=this;e.keys().forEach((function(n){t.registerIconFromSvg(n.substring(2,n.length-4).toLowerCase(),e(n))}))},e.prototype.registerIcons=function(e){for(var t in e)this.registerIconFromSvg(t,e[t]);this.updateMarkup()},e.prototype.iconsRenderedHtml=function(){var e=this;return Object.keys(this.icons).map((function(t){return e.icons[t]})).join("")},e.prototype.updateMarkup=function(){this.onIconsChanged.fire(this,{})},e}(),bl=new vl,xl={};function Cl(e,t){xl[e]||(xl[e]={});var n=xl[e];for(var o in t)n[o]=t[o]}var wl=n(2),Pl=function(){function e(){}return e.prototype.addText=function(e,t,n){t=this.getId(t,n),this.text=this.text+'<script type="text/html" '+t+">"+e+"<\/script>"},e.prototype.replaceText=function(e,t,n){void 0===n&&(n=null);var o=this.getId(t,n),i=this.text.indexOf(o);if(i<0)this.addText(e,t,n);else if(!((i=this.text.indexOf(">",i))<0)){var r=i+1;(i=this.text.indexOf("<\/script>",r))<0||(this.text=this.text.substring(0,r)+e+this.text.substring(i))}},e.prototype.getId=function(e,t){var n='id="survey-'+e;return t&&(n+="-"+t),n+'"'},Object.defineProperty(e.prototype,"text",{get:function(){return wl},set:function(e){wl=e},enumerable:!1,configurable:!0}),e}(),kl=function(){function e(t){this.element=t,this.implementedMark="__surveyImplementedKo",t[this.implementedMark]||(t.supportOnElementRerenderedEvent=!1,t.iteratePropertiesHash((function(n,o){e.doIterateProperties(t,n,o)})),t.createArrayCoreHandler=function(e,n){var i=o.observableArray();return i().onArrayChanged=function(){t.isLoadingFromJson||t.isDisposed||i.notifySubscribers()},e[n]=i,i()},t.getPropertyValueCoreHandler=function(e,t){return void 0===e[t]&&(e[t]=o.observable()),"function"==typeof e[t]?e[t]():e[t]},t.setPropertyValueCoreHandler=function(e,t,n){void 0!==e[t]?e[t](n):e[t]=o.observable(n)},t[this.implementedMark]=!0)}return e.doIterateProperties=function(e,t,n){var i=t[n];"function"!==i&&(Array.isArray(i)?(t[n]=o.observableArray(i),i.onArrayChanged=function(){e.isLoadingFromJson||e.isDisposed||t[n].notifySubscribers()}):t[n]=o.observable(i))},e.prototype.dispose=function(){this.element.iteratePropertiesHash((function(e,t){e[t]=o.unwrap(e[t]),Array.isArray(e[t])&&(e[t].onArrayChanged=void 0)})),this.element.supportOnElementRerenderedEvent=!0,this.element.createArrayCoreHandler=void 0,this.element.getPropertyValueCoreHandler=void 0,this.element.setPropertyValueCoreHandler=void 0,delete this.element[this.implementedMark]},e}(),Vl=n(43),_l={};Vl.keys().forEach((function(e){_l[e.substring(2,e.length-4).toLowerCase()]=Vl(e)}));var Tl=n(103),Sl={};Tl.keys().forEach((function(e){Sl[e.substring(2,e.length-4).toLowerCase()]=Tl(e)}));var El=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(t,n)};return function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function o(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}}(),Rl=function(){return(Rl=Object.assign||function(e){for(var t,n=1,o=arguments.length;n<o;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)};Cl("v1",_l),Cl("v2",Sl),bl.registerIcons(_l),En.Instance.onCustomWidgetAdded.add((function(e){e.widgetJson.isDefaultRender||(e.htmlTemplate||(e.htmlTemplate="<div>'htmlTemplate' attribute is missed.</div>"),(new Pl).replaceText(e.htmlTemplate,"widget",e.name))}));var Il=function(e){function t(t){var n=e.call(this,t)||this;return n.survey=t,n.survey.valueHashGetDataCallback=function(e,t){return void 0===e[t]&&(e[t]=o.observable()),o.unwrap(e[t])},n.survey.valueHashSetDataCallback=function(e,t,n){o.isWriteableObservable(e[t])?e[t](n):e[t]=o.observable(n)},n.survey.valueHashDeleteDataCallback=function(e,t){o.isWriteableObservable(e[t])?e[t](void 0):delete e[t]},n.survey.koTitleTemplate=o.observable("survey-header"),n.survey.koAfterRenderPage=function(e,t){var i=yt.GetFirstNonTextElement(e);i&&setTimeout((function(){o.tasks&&o.tasks.runEarly(),n.survey.afterRenderPage(i)}),0)},n.survey.koAfterRenderHeader=function(e,t){var o=yt.GetFirstNonTextElement(e);o&&n.survey.afterRenderHeader(o)},n.survey.koProcessedCompletedHtml=o.observable(n.survey.processedCompletedHtml),n.survey.locCompletedHtml.koRenderedHtml.subscribe((function(){n.survey.koProcessedCompletedHtml(n.survey.processedCompletedHtml)})),n.survey.registerPropertyChangedHandlers(["state"],(function(){n.survey.koProcessedCompletedHtml(n.survey.processedCompletedHtml)})),n.survey.disposeCallback=function(){n.dispose()},new kl(n.survey.timerModel),n}return El(t,e),t.prototype.render=function(e){if(void 0===e&&(e=null),void 0===o)throw new Error("knockoutjs library is not loaded.");var t=this.survey.activePage;t&&t.updateCustomWidgets(),this.survey.updateElementCss(!1),e&&"string"==typeof e&&(e=_t(e)),e&&(this.renderedElement=e),this.survey.startTimerFromUI(),this.applyBinding()},t.prototype.applyBinding=function(){this.renderedElement&&(o.cleanNode(this.renderedElement),o.renderTemplate("survey-content",this.survey,{},this.renderedElement))},t.prototype.koEventAfterRender=function(e,t){t.afterRenderSurvey(e)},t.prototype.dispose=function(){e.prototype.dispose.call(this),this.renderedElement&&(o.cleanNode(this.renderedElement),this.renderedElement.innerHTML="",this.renderedElement=void 0),this.survey.koAfterRenderPage=void 0,this.survey.koAfterRenderHeader=void 0,this.survey.iteratePropertiesHash((function(e,t){delete e[t]}))},t}(kl),Ol=function(e){function t(t,n){void 0===t&&(t=null),void 0===n&&(n=null);var o=e.call(this,t,n)||this;return o.implementor=new Il(o),o}return El(t,e),t.prototype.render=function(e){void 0===e&&(e=null),this.implementor.render(e)},t.prototype.fromJSON=function(t,n){t&&(e.prototype.fromJSON.call(this,t,n),this.locStrsChanged())},t.prototype.getHtmlTemplate=function(){return wl},t.prototype.makeReactive=function(e){new kl(e)},t.prototype.dispose=function(){e.prototype.dispose.call(this),this.implementor&&(this.implementor.dispose(),this.implementor=void 0)},t}(Wi);bt.prototype.onCreating=function(){var e=this;this.koHasHtml=o.observable(this.hasHtml),this.koRenderedHtml=o.observable(this.renderedHtml),this.onStringChanged.add((function(){var t=e.hasHtml;e.koHasHtml(t),e.koRenderedHtml(t?e.getHtmlValue():e.calculatedText)}))},Nn.prototype.onCreating=function(){var e=this;new kl(this),this.koText=o.pureComputed((function(){return e.locText.koRenderedHtml()})),this.locText.strChanged()},o.components.register("survey",{viewModel:{createViewModel:function(e,t){var n=o.unwrap(e.survey)||o.unwrap(e.model);return function(e){e.implementor||(e.implementor=new Il(e),e.render=function(t){void 0===t&&(t=null),e.implementor.render(t)},e.getHtmlTemplate=function(){return wl},e.makeReactive=function(e){new kl(e)})}(n),setTimeout((function(){var e=document.createElement("div");e.style.width="100%",e.style.height="100%",t.element.appendChild(e),n.render(e)}),1),e.survey}},template:wl}),o.bindingHandlers.surveyProp={update:function(e,t,n){var i=o.utils.unwrapObservable(t())||{};for(var r in i)if("string"==typeof r){var a=o.utils.unwrapObservable(i[r]);e[r]=a}}},Wi.platform="knockout";var Al=function(e,t){e.surveyTemplateEngine=function(){},e.surveyTemplateEngine.prototype=new e.nativeTemplateEngine,e.surveyTemplateEngine.prototype.makeTemplateSource=function(n,o){if("string"==typeof n){var i,r=(o=o||document).getElementById("survey-content-"+t);if(!r){var a=tn.environment.rootElement;(r=document.createElement("div")).id="survey-content-"+Wi.platform,r.style.display="none",r.innerHTML=wl,a.appendChild(r)}for(var s=0;s<r.children.length;s++)if(r.children[s].id===n){i=r.children[s];break}return i||(i=o.getElementById(n)),i?new e.templateSources.domElement(i):(new e.nativeTemplateEngine).makeTemplateSource(n,o)}if(1===n.nodeType||8===n.nodeType)return new e.templateSources.anonymousTemplate(n);throw new Error("Unknown template type: "+n)};var n=new e.surveyTemplateEngine;e.setTemplateEngine(n)};o.bindingHandlers.elementStyle={update:function(e,t,n){if(e&&e.style.length)for(var i=e.style.length-1;i>=0;i--){var r=e.style[i];r&&0===r.indexOf("--sjs-")&&e.style.removeProperty(r)}var a=o.utils.unwrapObservable(t())||{};Object.keys(a).forEach((function(t){0===t.indexOf("--")?e.style.setProperty(t,a[t]):e.style[t]=a[t]}))}},o.bindingHandlers.key2click={init:function(e,t,n,o){var i=Rl({},t())||{processEsc:!0,disableTabStop:!1};o&&o.disableTabStop||i&&i.disableTabStop?e.tabIndex=-1:(e.tabIndex=0,e.onkeyup=function(e){return e.preventDefault(),e.stopPropagation(),Nt(e,i),!1},e.onkeydown=function(e){return Ft(e,i)},e.onblur=function(e){return jt(e)})}};var Dl=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(t,n)};return function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function o(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}}(),ql=n(163),Ll=function(e){function t(t){var n=e.call(this,t)||this;return n.window=t,n.window.showingChangedCallback=function(){n.doShowingChanged()},n.window.doExpand=function(){n.window.changeExpandCollapse()},n.window.doHide=function(){n.window.hide()},n.window.doToggleFullScreen=function(){n.window.toggleFullScreen()},n}return Dl(t,e),t.prototype.doShowingChanged=function(){var e=this.window.windowElement,t=tn.environment.rootElement;this.window.isShowing?(e.innerHTML=this.template,o.cleanNode(e),o.applyBindings(this.window,e),t.appendChild(e)):(t.removeChild(e),e.innerHTML="")},Object.defineProperty(t.prototype,"template",{get:function(){return this.window.templateValue?this.window.templateValue:ql},enumerable:!1,configurable:!0}),t}(kl);Cs.prototype.onCreating=function(){this.implementor=new Ll(this)};var Ml=function(e){function t(t,n){return void 0===n&&(n=null),e.call(this,t,n)||this}return Dl(t,e),t}(Cs),jl=(function(e){function t(){return null!==e&&e.apply(this,arguments)||this}Dl(t,e)}(Ml),function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(t,n)};return function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function o(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}}()),Nl=function(e){function t(t){var n=e.call(this,t)||this;n.panel=t,new kl(n);var o=n;return n.koElementAfterRender=function(e,t){return o.elementAfterRender(e,t)},n}return jl(t,e),t.prototype.getElementType=function(e){return e.isPanel?"survey-panel":"survey-question"},t.prototype.koAfterRender=function(e,t){for(var n=0;n<e.length;n++){var i=e[n];"#text"==i.nodeName?i.data="":(t.setWrapperElement(i),o.utils.domNodeDisposal.addDisposeCallback(i,(function(){t.setWrapperElement(void 0)})))}},t.prototype.elementAfterRender=function(e,t){this.panel&&this.panel.survey&&setTimeout((function(){o.tasks&&o.tasks.runEarly();var n=yt.GetFirstNonTextElement(e);if(n){var i=t;i.isDisposed||(i.isPanel,i.afterRender(n))}}),0)},t.prototype.rowAfterRender=function(e,t){var n=e[0].parentElement;if(t.setRootElement(n),o.utils.domNodeDisposal.addDisposeCallback(n,(function(){t.setRootElement(void 0)})),!t.isNeedRender){var i=setTimeout((function(){return t.startLazyRendering(n)}),1);o.utils.domNodeDisposal.addDisposeCallback(n,(function(){clearTimeout(i),t.stopLazyRendering(),t.isDisposed||(t.isNeedRender=!t.isLazyRendering())}))}},t.prototype.dispose=function(){e.prototype.dispose.call(this),this.koElementAfterRender=void 0},t}(Ei),Fl=function(e){function t(t){var n=e.call(this,t)||this;return n.panel=t,n}return jl(t,e),t}(kl),Bl=function(e){function t(t){void 0===t&&(t="");var n=e.call(this,t)||this;return n.onCreating(),n.koElementType=o.observable("survey-panel"),n}return jl(t,e),t.prototype.onBaseCreating=function(){e.prototype.onBaseCreating.call(this),this._implementor=new Fl(this)},t.prototype.createRow=function(){return new Nl(this)},t.prototype.onCreating=function(){},t.prototype.onNumChanged=function(e){this.locTitle.strChanged()},t.prototype.dispose=function(){this._implementor.dispose(),this._implementor=void 0,e.prototype.dispose.call(this)},t}(Ii),zl=function(e){function t(t){void 0===t&&(t="");var n=e.call(this,t)||this;return n.onCreating(),n.koElementType=o.observable("survey-panel"),n}return jl(t,e),t.prototype.onBaseCreating=function(){e.prototype.onBaseCreating.call(this),this._implementor=new kl(this)},t.prototype.createRow=function(){return new Nl(this)},t.prototype.onCreating=function(){},t.prototype.onNumChanged=function(e){this.locTitle.strChanged()},t.prototype.dispose=function(){e.prototype.dispose.call(this),this._implementor.dispose(),this._implementor=void 0},t}(qi);L.overrideClassCreator("panel",(function(){return new Bl})),L.overrideClassCreator("page",(function(){return new zl})),po.Instance.registerElement("panel",(function(e){return new Bl(e)}));var Hl=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(t,n)};return function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function o(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}}(),Ql=function(e){function t(t){void 0===t&&(t="");var n=e.call(this,t)||this;n.koElementType=o.observable("survey-flowpanel"),new kl(n),n.onCreating();var i=n;return n.koElementAfterRender=function(e,t){return i.elementAfterRender(e,t)},n}return Hl(t,e),t.prototype.onCreating=function(){},t.prototype.getHtmlForQuestion=function(e){return'<span question="true" contenteditable="false" id="flowpanel_'+e.name+'">\x3c!-- ko template: { name: "survey-flowpanel-question", data: "'+e.name+'"} --\x3e\x3c!-- /ko --\x3e</span>'},t.prototype.elementAfterRender=function(e,t){if(this.survey){var n=yt.GetFirstNonTextElement(e);n&&this.survey.afterRenderQuestion(t,n)}},t}(Qr);L.overrideClassCreator("flowpanel",(function(){return new Ql})),o.components.register("f-panel",{viewModel:{createViewModel:function(e,t){var n=this,i=o.unwrap(e.question);n.element=t.element,n.element.innerHTML=i.html,n.isOnFocus=!1,n.wasChanged=!1,n.isContentUpdating=!1,i.contentChangedCallback=function(){n.isContentUpdating||(o.cleanNode(n.element),n.element.innerHTML=i.html,o.applyBindings({question:i},n.element),o.tasks&&o.tasks.runEarly())},n.element.onfocus=function(){n.isOnFocus=!0},n.element.onblur=function(){n.wasChanged&&n.updateContent(),n.isOnFocus=!1,n.wasChanged=!1},n.element.ondragend=function(e){var t=n.element.innerHTML,o=/{(.*?(element:)[^$].*?)}/g.exec(t);if(null!==o){var r=i.getQuestionFromText(o[0]);r&&(i.content=n.getContent(r.name))}},n.updateContent=function(){n.isContentUpdating=!0,i.content=n.getContent(),n.isContentUpdating=!1},i.getContent=n.getContent=function(e){var t=document.createElement("div");t.innerHTML=n.element.innerHTML;for(var o=t.querySelectorAll('span[question="true"]'),r=0;r<o.length;r++){var a=o[r].id.replace("flowpanel_",""),s="";if(a!==e){var l=i.getQuestionByName(a);s=l?i.getElementContentText(l):""}o[r].outerHTML=s}return t.innerHTML};return new MutationObserver((function(e,t){n.isOnFocus&&(n.wasChanged=!0)})).observe(n.element,{characterData:!0,attributes:!0,childList:!0,subtree:!0}),{question:i}}},template:"<div></div>"});var Ul=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(t,n)};return function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function o(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}}(),Wl=function(e){function t(t){var n=e.call(this,t)||this;n.question=t,n._koValue=o.observableArray(),n.disposedObjects=[],n.callBackFunctions=[];var i=!1;return n._koValue.subscribe((function(e){i||n.setKoValue(e)})),Object.defineProperty(n.question,"koValue",{get:function(){if(!u.isTwoValueEquals(n._koValue(),n.getKoValue(),!1,!0,!1))try{i=!0,n._koValue(n.getKoValue())}finally{i=!1}return n._koValue},enumerable:!0,configurable:!0}),t.surveyLoadCallback=function(){n.onSurveyLoad()},n.setObservaleObj("koTemplateName",o.pureComputed((function(){return n.getTemplateName()}))),n.setObservaleObj("koElementType",o.observable("survey-question")),n.koDummy=o.observable(0),n.setCallbackFunc("koQuestionAfterRender",(function(e,t){n.koQuestionAfterRender(e,t)})),n.setCallbackFunc("koMouseDown",(function(){return n.question.onMouseDown(),!0})),n}return Ul(t,e),t.prototype.setObservaleObj=function(e,t,n){return void 0===n&&(n=!0),this.disposedObjects.push(e),n&&(this.question[e]=t),t},t.prototype.setCallbackFunc=function(e,t){this.callBackFunctions.push(e),this.question[e]=t},t.prototype.getKoValue=function(){return this.question.value},t.prototype.setKoValue=function(e){this.question.isReadOnlyAttr||(this.question.value=e)},t.prototype.onSurveyLoad=function(){},t.prototype.getQuestionTemplate=function(){return this.question.getTemplate()},t.prototype.getTemplateName=function(){return this.question&&this.question.customWidget&&!this.question.customWidget.widgetJson.isDefaultRender?"survey-widget-"+this.question.customWidget.name:"survey-question-"+this.getQuestionTemplate()},t.prototype.getNo=function(){return this.question.visibleIndex>-1?this.question.visibleIndex+1+". ":""},t.prototype.updateKoDummy=function(){this.question.isDisposed||(this.koDummy(this.koDummy()+1),this.question.locTitle.strChanged())},t.prototype.koQuestionAfterRender=function(e,t){var n=this;setTimeout((function(){o.tasks&&o.tasks.runEarly();var t=yt.GetFirstNonTextElement(e,!0);t&&(n.question.afterRenderQuestionElement(t),n.question&&n.question.customWidget&&n.question.customWidget.afterRender(n.question,t),o.utils.domNodeDisposal.addDisposeCallback(t,(function(){if(n.question.beforeDestroyQuestionElement(t),n.question&&n.question.customWidget)try{n.question.customWidget.willUnmount(n.question,t)}catch(e){console.warn("Custom widget will unmount failed")}})))}),0)},t.prototype.dispose=function(){e.prototype.dispose.call(this);for(var t=0;t<this.disposedObjects.length;t++){var n=this.disposedObjects[t],o=this[n]||this.question[n];o&&(this[n]&&(this[n]=void 0),this.question[n]&&(this.question[n]=void 0),o.dispose&&o.dispose())}this.disposedObjects=[];for(var i=0;i<this.callBackFunctions.length;i++)this.question[this.callBackFunctions[i]]=void 0;this.callBackFunctions=[],this.question.unregisterPropertyChangedHandlers(["visibleIndex"])},t}(kl),$l=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(t,n)};return function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function o(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}}(),Gl=function(e){function t(t){var n=e.call(this,t)||this;return n.onCreated(),n}return $l(t,e),t.prototype.onCreated=function(){},Object.defineProperty(t.prototype,"isOtherSelected",{get:function(){return this.question.isOtherSelected},enumerable:!1,configurable:!0}),t}(Wl),Kl=function(e){function t(t){var n=e.call(this,t)||this;return n.setCallbackFunc("koAfterRender",n.koAfterRender),n}return $l(t,e),t.prototype.koAfterRender=function(e,t){var n=e[0];"#text"==n.nodeName&&(n.data=""),"#text"==(n=e[e.length-1]).nodeName&&(n.data="")},t}(Gl),Zl=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(t,n)};return function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function o(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}}(),Jl=function(e){function t(t){return e.call(this,t)||this}return Zl(t,e),t.prototype.getKoValue=function(){return this.question.renderedValue},t.prototype.setKoValue=function(e){this.question.renderedValue=e},t}(Kl),Yl=function(e){function t(t){var n=e.call(this,t)||this;return n._selectAllItemImpl=void 0,n._otherItemImpl=void 0,n._selectAllItemImpl=new kl(n.selectAllItem),n._otherItemImpl=new kl(n.otherItem),n}return Zl(t,e),t.prototype.onBaseCreating=function(){e.prototype.onBaseCreating.call(this),this._implementor=new Jl(this)},t.prototype.dispose=function(){this._selectAllItemImpl&&(this._selectAllItemImpl.dispose(),this._selectAllItemImpl=void 0),this._otherItemImpl&&(this._otherItemImpl.dispose(),this._otherItemImpl=void 0),this._implementor.dispose(),this._implementor=void 0,e.prototype.dispose.call(this)},t}(Jr);L.overrideClassCreator("checkbox",(function(){return new Yl("")})),co.Instance.registerQuestion("checkbox",(function(e){var t=new Yl(e);return t.choices=co.DefaultChoices,t}));var Xl=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(t,n)};return function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function o(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}}(),eu=function(e){function t(t){var n=e.call(this,t)||this;return n.isAllSelectedUpdating=!1,n.koAllSelected=o.observable(n.isAllSelected),n.koAllSelected.subscribe((function(e){n.isAllSelectedUpdating||(e?n.selectAll():n.clearValue(!0))})),n}return Xl(t,e),t.prototype.onBaseCreating=function(){e.prototype.onBaseCreating.call(this),this._implementor=new Kl(this)},t.prototype.onSurveyValueChanged=function(t){e.prototype.onSurveyValueChanged.call(this,t),this.updateAllSelected()},t.prototype.onVisibleChoicesChanged=function(){e.prototype.onVisibleChoicesChanged.call(this),this.updateAllSelected()},t.prototype.updateAllSelected=function(){this.isAllSelectedUpdating=!0,this.koAllSelected(this.isAllSelected),this.isAllSelectedUpdating=!1},t.prototype.dispose=function(){this._implementor.dispose(),this._implementor=void 0,this.koAllSelected=void 0,e.prototype.dispose.call(this)},t}(aa);L.overrideClassCreator("tagbox",(function(){return new eu("")})),co.Instance.registerQuestion("tagbox",(function(e){var t=new eu(e);return t.choices=co.DefaultChoices,t}));var tu=n(164);o.components.register("sv-ranking-item",{viewModel:{createViewModel:function(e,t){return e}},template:tu});var nu=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(t,n)};return function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function o(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}}(),ou=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.koHandleKeydown=function(e,n){return t.handleKeydown(n,e),!0},t.koHandlePointerDown=function(e,n){return t.survey.isDesignMode||n.preventDefault(),t.handlePointerDown(n,e,n.currentTarget),!0},t.koHandlePointerUp=function(e,n){return t.survey.isDesignMode||n.preventDefault(),t.handlePointerUp(n,e,n.currentTarget),!0},t}return nu(t,e),t.prototype.onBaseCreating=function(){e.prototype.onBaseCreating.call(this),this._implementor=new Wl(this)},t.prototype.dispose=function(){this._implementor.dispose(),this._implementor=void 0,e.prototype.dispose.call(this)},t}(ga);L.overrideClassCreator("ranking",(function(){return new ou("")})),co.Instance.registerQuestion("ranking",(function(e){var t=new ou(e);return t.choices=co.DefaultChoices,t}));var iu=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(t,n)};return function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function o(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}}(),ru=function(e){function t(t){return e.call(this,t)||this}return iu(t,e),t.prototype.onBaseCreating=function(){e.prototype.onBaseCreating.call(this),this._implementor=new Wl(this)},t.prototype.dispose=function(){this._implementor.dispose(),this._implementor=void 0,e.prototype.dispose.call(this)},t}(ya);L.overrideClassCreator("comment",(function(){return new ru("")})),co.Instance.registerQuestion("comment",(function(e){return new ru(e)}));var au=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(t,n)};return function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function o(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}}(),su=function(e){function t(t){return e.call(this,t)||this}return au(t,e),t}(Gl),lu=function(e){function t(t){var n=e.call(this,t)||this;return n.koDisableOption=function(e,t){t&&o.applyBindingsToNode(e,{disable:o.computed((function(){return!t.isEnabled}))},t)},n}return au(t,e),t.prototype.onBaseCreating=function(){e.prototype.onBaseCreating.call(this),this._implementor=new su(this)},t.prototype.dispose=function(){this._implementor.dispose(),this._implementor=void 0,e.prototype.dispose.call(this)},t}(mr);L.overrideClassCreator("dropdown",(function(){return new lu("")})),co.Instance.registerQuestion("dropdown",(function(e){var t=new lu(e);return t.choices=co.DefaultChoices,t}));var uu=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(t,n)};return function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function o(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}}(),cu=function(e){function t(t){var n=e.call(this,t)||this;return n.koRecalc=o.observable(0),n.setObservaleObj("koState",o.observable("empty")),n.setObservaleObj("koHasValue",o.computed((function(){return"loaded"===n.question.koState()}))),n.setObservaleObj("koData",o.computed((function(){return n.question.koHasValue()?n.question.previewValue:[]}))),n.setObservaleObj("ko",o.observable()),n.setObservaleObj("koInputTitle",o.computed((function(){return n.koRecalc(),n.question.inputTitle}))),n.setObservaleObj("koChooseFileCss",o.pureComputed((function(){return n.question.getChooseFileCss()}))),n.setCallbackFunc("koGetChooseButtonText",(function(){return n.question.koState(),n.question.chooseButtonText})),n.setCallbackFunc("ondrop",(function(e,t){n.question.onDrop(zt(t))})),n.setCallbackFunc("ondragover",(function(e,t){n.question.onDragOver(zt(t))})),n.setCallbackFunc("ondragenter",(function(e,t){n.question.onDragEnter(zt(t))})),n.setCallbackFunc("ondragleave",(function(e,t){n.question.onDragLeave(zt(t))})),n.setCallbackFunc("dochange",(function(e,t){n.question.doChange(zt(t))})),n.setCallbackFunc("doclean",(function(e,t){n.question.doClean(zt(t))})),n.setCallbackFunc("doremovefile",(function(e,t){n.question.doRemoveFile(e,t)})),n.setCallbackFunc("dodownload",(function(e,t){return n.question.doDownloadFile(zt(t),e),!0})),n.setCallbackFunc("dodownloadFromContainer",(function(e,t){return n.question.doDownloadFileFromContainer(zt(t),e),!0})),n}return uu(t,e),t}(Wl),pu=function(e){function t(t){var n=e.call(this,t)||this;return n.updateState=function(e,t){n.koState(t.state),n._implementor.koRecalc(n._implementor.koRecalc()+1)},n.onUploadStateChanged.add(n.updateState),n.updateState(n,{state:n.currentState}),n}return uu(t,e),t.prototype.onBaseCreating=function(){e.prototype.onBaseCreating.call(this),this._implementor=new cu(this)},t.prototype.dispose=function(){this.onUploadStateChanged.remove(this.updateState),this._implementor.dispose(),this._implementor=void 0,e.prototype.dispose.call(this)},t}(ka);L.overrideClassCreator("file",(function(){return new pu("")})),co.Instance.registerQuestion("file",(function(e){return new pu(e)}));var du=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(t,n)};return function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function o(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}}(),hu=function(e){function t(t){return e.call(this,t)||this}return du(t,e),t.prototype.onBaseCreating=function(){e.prototype.onBaseCreating.call(this),this._implementor=new Wl(this)},t.prototype.dispose=function(){this._implementor.dispose(),this._implementor=void 0,e.prototype.dispose.call(this)},t}(Ta);L.overrideClassCreator("html",(function(){return new hu("")})),co.Instance.registerQuestion("html",(function(e){return new hu(e)}));var mu=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(t,n)};return function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function o(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}}(),gu=function(e){function t(t){var n=e.call(this,t)||this;return n.koVisibleRows=o.observableArray(),n.koVisibleColumns=o.observableArray(),n.koVisibleRows(n.visibleRows),n.koVisibleColumns(n.visibleColumns),n}return mu(t,e),t.prototype.onBaseCreating=function(){e.prototype.onBaseCreating.call(this),this._implementor=new Wl(this)},t.prototype.onColumnsChanged=function(){e.prototype.onColumnsChanged.call(this),this.koVisibleColumns(this.visibleColumns)},t.prototype.onRowsChanged=function(){e.prototype.onRowsChanged.call(this),this.koVisibleRows(this.visibleRows)},t.prototype.onSurveyLoad=function(){e.prototype.onSurveyLoad.call(this),this.onRowsChanged()},t.prototype.onMatrixRowCreated=function(e){new kl(e)},t.prototype.getVisibleRows=function(){var t=e.prototype.getVisibleRows.call(this);return this.koVisibleRows(t),t},t.prototype.dispose=function(){this._implementor.dispose(),this._implementor=void 0,this.koVisibleRows=void 0,this.koVisibleColumns=void 0,e.prototype.dispose.call(this)},t}(vr);L.overrideClassCreator("matrix",(function(){return new gu("")})),co.Instance.registerQuestion("matrix",(function(e){var t=new gu(e);return t.rows=co.DefaultRows,t.columns=co.DefaultColums,t}));var fu=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(t,n)};return function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function o(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}}(),yu=function(e){function t(t){var n=e.call(this,t)||this;return n.koRecalc=o.observable(0),n.matrix.onRenderedTableCreatedCallback=function(e){n._tableImplementor&&n._tableImplementor.dispose(),n._tableImplementor=new kl(e)},n.matrix.onRenderedTableResetCallback=function(){n.question.isDisposed||n.koRecalc(n.koRecalc()+1)},n.matrix.onAddColumn=function(e){new kl(e)},n.setObservaleObj("koTable",o.pureComputed((function(){return n.koRecalc(),n.matrix.renderedTable}))),n.setCallbackFunc("koCellAfterRender",(function(e,t){return n.cellAfterRender(e,t)})),n.setCallbackFunc("koCellQuestionAfterRender",(function(e,t){return n.cellQuestionAfterRender(e,t)})),n.setCallbackFunc("koAddRowClick",(function(){n.addRow()})),n.setCallbackFunc("koRemoveRowClick",(function(e){n.removeRow(e.row)})),n.setCallbackFunc("koPanelAfterRender",(function(e,t){n.panelAfterRender(e,t)})),n.setCallbackFunc("koRowAfterRender",(function(e,t){for(var n=0;n<e.length;n++){var i=e[n],r=i.nodeName;"#text"!==r&&"#comment"!==r&&(t.setRootElement(i),o.utils.domNodeDisposal.addDisposeCallback(i,(function(){t.setRootElement(void 0)})))}})),n}return fu(t,e),Object.defineProperty(t.prototype,"matrix",{get:function(){return this.question},enumerable:!1,configurable:!0}),t.prototype.cellAfterRender=function(e,t){var n=this;this.question.survey&&setTimeout((function(){o.tasks&&o.tasks.runEarly();var i=yt.GetFirstNonTextElement(e);if(i){var r=t;if(r&&n.question&&n.question.survey&&!n.question.isDisposed){var a={cell:r.cell,cellQuestion:r.question,htmlElement:i,row:r.row,column:r.cell?r.cell.column:null};n.question.survey.matrixAfterCellRender(n.question,a),r.question&&r.question.afterRenderCore(i)}}}),0)},t.prototype.cellQuestionAfterRender=function(e,t){this.question&&this.question.survey&&setTimeout((function(){o.tasks&&o.tasks.runEarly();var n=yt.GetFirstNonTextElement(e);if(n){var i=t;if(i){var r=i.question;r&&r.survey&&!r.isDisposed&&(r.customWidget&&(r.customWidget.afterRender(i.question,n),o.utils.domNodeDisposal.addDisposeCallback(n,(function(){r.customWidget.willUnmount(i.question,n)}))),o.utils.domNodeDisposal.addDisposeCallback(n,(function(){r.beforeDestroyQuestionElement(n)})),r.afterRenderQuestionElement(n))}}}),0)},t.prototype.isAddRowTop=function(){return!1},t.prototype.isAddRowBottom=function(){return!1},t.prototype.addRow=function(){},t.prototype.removeRow=function(e){},t.prototype.panelAfterRender=function(e,t){if(this.question&&this.question.survey){var n=yt.GetFirstNonTextElement(e);this.question.survey.afterRenderPanel(t,n)}},t.prototype.dispose=function(){this._tableImplementor&&this._tableImplementor.dispose(),this.matrix.onRenderedTableCreatedCallback=void 0,this.matrix.onRenderedTableResetCallback=void 0,this.matrix.onAddColumn=void 0,e.prototype.dispose.call(this)},t}(Wl),vu=function(e){function t(t){return e.call(this,t)||this}return fu(t,e),t.prototype.createRenderedTable=function(){return new bu(this)},t.prototype.onBaseCreating=function(){e.prototype.onBaseCreating.call(this),this._implementor=new yu(this)},t.prototype.dispose=function(){e.prototype.dispose.call(this),this._implementor.dispose(),this._implementor=void 0},t}(Lo),bu=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return fu(t,e),t.prototype.createRenderedRow=function(e,t){void 0===t&&(t=!1);var n=new ko(e,t);return new kl(n),n},t.prototype.createErrorRenderedRow=function(t){var n=e.prototype.createErrorRenderedRow.call(this,t);return new kl(n),n},t}(_o);L.overrideClassCreator("matrixdropdown",(function(){return new vu("")})),co.Instance.registerQuestion("matrixdropdown",(function(e){var t=new vu(e);return t.choices=[1,2,3,4,5],t.rows=co.DefaultRows,Ao.addDefaultColumns(t),t}));var xu=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(t,n)};return function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function o(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}}(),Cu=function(e){function t(t){var n=e.call(this,t)||this;return n.question.getKoPopupIsVisible=n.getKoPopupIsVisible,n}return xu(t,e),t.prototype.addRow=function(){this.question.addRowUI()},t.prototype.removeRow=function(e){this.question.removeRowUI(e)},t.prototype.getKoPopupIsVisible=function(e){return o.observable(e.isDetailPanelShowing)},t.prototype.dispose=function(){e.prototype.dispose.call(this),this.question.getKoPopupIsVisible=void 0},t}(yu),wu=function(e){function t(t){return e.call(this,t)||this}return xu(t,e),t.prototype.createRenderedTable=function(){return new bu(this)},t.prototype.onBaseCreating=function(){e.prototype.onBaseCreating.call(this),this._implementor=new Cu(this)},t.prototype.dispose=function(){this._implementor.dispose(),this._implementor=void 0,e.prototype.dispose.call(this)},t}(Xo);L.overrideClassCreator("matrixdynamic",(function(){return new wu("")})),co.Instance.registerQuestion("matrixdynamic",(function(e){var t=new wu(e);return t.choices=[1,2,3,4,5],t.rowCount=2,Ao.addDefaultColumns(t),t}));var Pu=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(t,n)};return function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function o(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}}(),ku=function(e){function t(t){var n=e.call(this,t)||this;n.koRecalc=o.observable(0),n.setCallbackFunc("koAddPanelClick",(function(){n.addPanel()})),n.setCallbackFunc("koRemovePanelClick",(function(e){n.removePanel(e)})),n.setCallbackFunc("koPrevPanelClick",(function(){n.question.goToPrevPanel()})),n.setCallbackFunc("koNextPanelClick",(function(){n.question.goToNextPanel()})),n.setObservaleObj("koCanAddPanel",o.pureComputed((function(){return n.koRecalc(),n.question.canAddPanel}))),n.setObservaleObj("koCanRemovePanel",o.pureComputed((function(){return n.koRecalc(),n.question.canRemovePanel}))),n.setObservaleObj("koIsPrevButton",o.pureComputed((function(){return n.koRecalc(),n.question.isPrevButtonVisible}))),n.setObservaleObj("koIsNextButton",o.pureComputed((function(){return n.koRecalc(),n.question.isNextButtonVisible}))),n.setObservaleObj("koIsRange",o.pureComputed((function(){return n.koRecalc(),n.question.isRangeShowing}))),n.setObservaleObj("koPanel",o.pureComputed((function(){return n.koRecalc(),n.question.currentPanel}))),n.setObservaleObj("koIsList",o.pureComputed((function(){return n.koRecalc(),n.question.isRenderModeList}))),n.setObservaleObj("koIsProgressTop",o.pureComputed((function(){return n.koRecalc(),n.question.isProgressTopShowing}))),n.setObservaleObj("koIsProgressBottom",o.pureComputed((function(){return n.koRecalc(),n.question.isProgressBottomShowing})));var i=o.observable(n.question.currentIndex);return i.subscribe((function(e){n.question.currentIndex=e})),n.setObservaleObj("koRangeValue",i),n.setObservaleObj("koRangeMax",o.pureComputed((function(){return n.koRecalc(),n.question.visiblePanelCount-1}))),n.setObservaleObj("koAddButtonCss",o.pureComputed((function(){return n.koRecalc(),n.question.getAddButtonCss()}))),n.setObservaleObj("koPrevButtonCss",o.pureComputed((function(){return n.koRecalc(),n.question.getPrevButtonCss()}))),n.setObservaleObj("koNextButtonCss",o.pureComputed((function(){return n.koRecalc(),n.question.getNextButtonCss()}))),n.setObservaleObj("koProgressText",o.pureComputed((function(){return n.koRecalc(),n.question.progressText}))),n.setObservaleObj("koProgress",o.pureComputed((function(){return n.koRecalc(),n.question.progress}))),n.setCallbackFunc("koPanelAfterRender",(function(e,t){n.panelAfterRender(e,t)})),n.question.panelCountChangedCallback=function(){n.onPanelCountChanged()},n.question.renderModeChangedCallback=function(){n.onRenderModeChanged()},n.question.currentIndexChangedCallback=function(){n.onCurrentIndexChanged()},n}return Pu(t,e),t.prototype.onPanelCountChanged=function(){this.onCurrentIndexChanged()},t.prototype.onRenderModeChanged=function(){this.onCurrentIndexChanged()},t.prototype.onCurrentIndexChanged=function(){this.question.isDisposed||(this.koRecalc(this.koRecalc()+1),this.question.koRangeValue(this.question.currentIndex))},t.prototype.addPanel=function(){this.question.addPanelUI()},t.prototype.removePanel=function(e){this.question.isRenderModeList||(e=this.question.currentPanel),this.question.removePanelUI(e)},t.prototype.panelAfterRender=function(e,t){if(this.question&&this.question.survey){var n=yt.GetFirstNonTextElement(e);this.question.survey.afterRenderPanel(t,n)}},t.prototype.dispose=function(){this.question.panelCountChangedCallback=void 0,this.question.renderModeChangedCallback=void 0,this.question.currentIndexChangedCallback=void 0,e.prototype.dispose.call(this)},t}(Wl),Vu=function(e){function t(t){return e.call(this,t)||this}return Pu(t,e),t.prototype.onBaseCreating=function(){e.prototype.onBaseCreating.call(this),this._implementor=new ku(this)},t.prototype.dispose=function(){this._implementor.dispose(),this._implementor=void 0,e.prototype.dispose.call(this)},t}(ls);L.overrideClassCreator("paneldynamic",(function(){return new Vu("")})),co.Instance.registerQuestion("paneldynamic",(function(e){return new Vu(e)}));var _u=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(t,n)};return function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function o(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}}(),Tu=function(e){function t(t){var n=e.call(this,t)||this;return n.setCallbackFunc("koOnFocus",(function(e,t){return n.question.onFocus(t),!0})),n.setCallbackFunc("koOnBlur",(function(e,t){return n.question.onBlur(t),!0})),n.setCallbackFunc("koOnKeyDown",(function(e,t){return n.question.onKeyDown(t),!0})),n.setCallbackFunc("koOnKeyUp",(function(e,t){return n.question.onKeyUp(t),!0})),n.setCallbackFunc("koOnChange",(function(e,t){return n.question.onChange(t),!0})),n.setCallbackFunc("koOnCompositeUpdate",(function(e,t){return n.question.onCompositionUpdate(t),!0})),n.setObservaleObj("koReadOnlyValue",o.computed((function(){return n.question.inputValue}))),n}return _u(t,e),t}(Wl),Su=function(e){function t(t){return e.call(this,t)||this}return _u(t,e),t.prototype.onBaseCreating=function(){e.prototype.onBaseCreating.call(this),this._implementor=new Tu(this)},t.prototype.dispose=function(){this._implementor.dispose(),this._implementor=void 0,e.prototype.dispose.call(this)},t}(Sr);L.overrideClassCreator("text",(function(){return new Su("")})),co.Instance.registerQuestion("text",(function(e){return new Su(e)}));var Eu=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(t,n)};return function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function o(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}}(),Ru=function(e){function t(t){return e.call(this,t)||this}return Eu(t,e),t.prototype.onBaseCreating=function(){e.prototype.onBaseCreating.call(this),this._implementor=new Tu(this)},t.prototype.dispose=function(){this._implementor.dispose(),this._implementor=void 0,e.prototype.dispose.call(this)},t}(Lr),Iu=function(e){function t(t,n){return void 0===t&&(t=null),void 0===n&&(n=null),e.call(this,t,n)||this}return Eu(t,e),t.prototype.createEditor=function(e){return new Ru(e)},t}(Mr),Ou=function(e){function t(t){var n=e.call(this,t)||this;return n.koRecalc=o.observable(0),n.setObservaleObj("koItemCss",o.pureComputed((function(){return n.koRecalc(),n.question.getItemCss()}))),n.setObservaleObj("koItemTitleCss",o.pureComputed((function(){return n.koRecalc(),n.question.getItemTitleCss()}))),n}return Eu(t,e),t}(Wl),Au=function(e){function t(t){return e.call(this,t)||this}return Eu(t,e),t.prototype.onBaseCreating=function(){e.prototype.onBaseCreating.call(this),this._implementor=new Ou(this)},t.prototype.onRowCreated=function(e){return new kl(e),e},t.prototype.createTextItem=function(e,t){return new Iu(e,t)},t.prototype.dispose=function(){this._implementor.dispose(),this._implementor=void 0,this.koRows=void 0,e.prototype.dispose.call(this)},t}(jr);L.overrideClassCreator("multipletextitem",(function(){return new Iu("")})),L.overrideClassCreator("multipletext",(function(){return new Au("")})),co.Instance.registerQuestion("multipletext",(function(e){var t=new Au(e);return jr.addDefaultItems(t),t}));var Du=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(t,n)};return function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function o(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}}(),qu=function(e){function t(t){return e.call(this,t)||this}return Du(t,e),t.prototype.onBaseCreating=function(){e.prototype.onBaseCreating.call(this),this._implementor=new Kl(this)},t.prototype.dispose=function(){this._implementor.dispose(),this._implementor=void 0,e.prototype.dispose.call(this)},t}(Ea);L.overrideClassCreator("radiogroup",(function(){return new qu("")})),co.Instance.registerQuestion("radiogroup",(function(e){var t=new qu(e);return t.choices=co.DefaultChoices,t}));var Lu=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(t,n)};return function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function o(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}}(),Mu=function(e){function t(t){var n=e.call(this,t)||this;return n.onCreated(),n}return Lu(t,e),t.prototype.onCreated=function(){},t}(Wl),ju=function(e){function t(t){return e.call(this,t)||this}return Lu(t,e),t.prototype.onBaseCreating=function(){e.prototype.onBaseCreating.call(this),this._implementor=new Mu(this)},t.prototype.dispose=function(){this._implementor.dispose(),this._implementor=void 0,e.prototype.dispose.call(this)},t}(La);L.overrideClassCreator("rating",(function(){return new ju("")})),co.Instance.registerQuestion("rating",(function(e){return new ju(e)}));var Nu=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(t,n)};return function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function o(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}}(),Fu=function(e){function t(t){return e.call(this,t)||this}return Nu(t,e),t.prototype.onBaseCreating=function(){e.prototype.onBaseCreating.call(this),this._implementor=new Wl(this)},t.prototype.onSwitchClick=function(t,n){return e.prototype.onSwitchClickModel.call(this,zt(n))},t.prototype.onTrueLabelClick=function(e,t){return this.onLabelClick(t,!this.swapOrder)},t.prototype.onFalseLabelClick=function(e,t){return this.onLabelClick(t,this.swapOrder)},t.prototype.onKeyDown=function(e,t){return this.onKeyDownCore(t)},t.prototype.dispose=function(){this._implementor.dispose(),this._implementor=void 0,e.prototype.dispose.call(this)},t}(Na);L.overrideClassCreator("boolean",(function(){return new Fu("")})),co.Instance.registerQuestion("boolean",(function(e){return new Fu(e)}));var Bu=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(t,n)};return function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function o(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}}(),zu=function(e){function t(t){return e.call(this,t)||this}return Bu(t,e),t.prototype.onBaseCreating=function(){e.prototype.onBaseCreating.call(this),this._implementor=new Wl(this)},t.prototype.dispose=function(){this._implementor.dispose(),this._implementor=void 0,e.prototype.dispose.call(this)},t}(Kr);L.overrideClassCreator("empty",(function(){return new zu("")}));var Hu=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(t,n)};return function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function o(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}}(),Qu=function(e){function t(t){return e.call(this,t)||this}return Hu(t,e),t.prototype.onBaseCreating=function(){e.prototype.onBaseCreating.call(this),this._implementor=new Wl(this)},t.prototype.dispose=function(){this._implementor.dispose(),this._implementor=void 0,e.prototype.dispose.call(this)},t}(mo);L.overrideClassCreator("expression",(function(){return new Qu("")})),co.Instance.registerQuestion("expression",(function(e){return new Qu(e)}));var Uu=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(t,n)};return function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function o(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}}(),Wu=function(e){function t(t){var n=e.call(this,t)||this;return n.question=t,n.koRecalc=o.observable(0),n.setCallbackFunc("koGetItemClass",(function(e){return n.koRecalc(),t.getItemClass(e)})),n.question.registerFunctionOnPropertyValueChanged("value",(function(){n.question.multiSelect&&n.question.isDesignMode&&n.koRecalc(n.koRecalc()+1)}),"__koOnValueChangeTrigger"),n}return Uu(t,e),t.prototype.getKoValue=function(){return this.question.renderedValue},t.prototype.dispose=function(){this.question.unRegisterFunctionOnPropertyValueChanged("value","__koOnValueChangeTrigger"),e.prototype.dispose.call(this)},t}(Kl),$u=function(e){function t(t){return e.call(this,t)||this}return Uu(t,e),t.prototype.onBaseCreating=function(){e.prototype.onBaseCreating.call(this),this._implementor=new Wu(this)},t.prototype.dispose=function(){this._implementor.dispose(),this._implementor=void 0,e.prototype.dispose.call(this)},t}(Ha);L.overrideClassCreator("imagepicker",(function(){return new $u("")})),co.Instance.registerQuestion("imagepicker",(function(e){return new $u(e)}));var Gu=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(t,n)};return function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function o(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}}(),Ku=function(e){function t(t){return e.call(this,t)||this}return Gu(t,e),t.prototype.onBaseCreating=function(){e.prototype.onBaseCreating.call(this),this._implementor=new Wl(this)},t.prototype.dispose=function(){this._implementor.dispose(),this._implementor=void 0,e.prototype.dispose.call(this)},t}($a);L.overrideClassCreator("image",(function(){return new Ku("")})),co.Instance.registerQuestion("image",(function(e){return new Ku(e)}));var Zu=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(t,n)};return function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function o(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}}(),Ju=function(e){function t(t){return e.call(this,t)||this}return Zu(t,e),t.prototype.koOnBlur=function(e,t){return this.onBlur(t)},t.prototype.onBaseCreating=function(){e.prototype.onBaseCreating.call(this),this._implementor=new Wl(this)},t.prototype.dispose=function(){this._implementor.dispose(),this._implementor=void 0,e.prototype.dispose.call(this)},t}(Xa);L.overrideClassCreator("signaturepad",(function(){return new Ju("")})),co.Instance.registerQuestion("signaturepad",(function(e){return new Ju(e)}));var Yu=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(t,n)};return function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function o(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}}(),Xu=function(e){function t(t,n){return e.call(this,t,n)||this}return Yu(t,e),t.prototype.onBaseCreating=function(){e.prototype.onBaseCreating.call(this),this._implementor=new Wl(this)},t.prototype.dispose=function(){this._implementor.dispose(),this._implementor=void 0,e.prototype.dispose.call(this)},t}(so),ec=function(e){function t(t,n){return e.call(this,t,n)||this}return Yu(t,e),t.prototype.onBaseCreating=function(){e.prototype.onBaseCreating.call(this),this._implementor=new Wl(this)},t.prototype.dispose=function(){this._implementor.dispose(),this._implementor=void 0,e.prototype.dispose.call(this)},t}(uo);ro.Instance.onCreateCustom=function(e,t){return new Xu(e,t)},ro.Instance.onCreateComposite=function(e,t){return new ec(e,t)};var tc=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(t,n)};return function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function o(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}}(),nc=(function(e){function t(t){return e.call(this,t)||this}tc(t,e),t.prototype.onBaseCreating=function(){e.prototype.onBaseCreating.call(this),this._implementor=new Kl(this)},t.prototype.dispose=function(){this._implementor.dispose(),this._implementor=void 0,e.prototype.dispose.call(this)}}(Is),n(165));o.components.register("sv-text-area",{viewModel:{createViewModel:function(e,t){var n=t.element.querySelector&&t.element.querySelector("textarea")||t.element.nextElementSibling;return e.setElement(n),{model:e,value:o.observable(e.getTextValue()||"")}}},template:nc});var oc=n(167);o.components.register("sv-action",{viewModel:{createViewModel:function(e){var t=e.item;return new kl(t),e}},template:oc});var ic=n(168);o.components.register("sv-action-bar-item",{viewModel:{createViewModel:function(e,t){var n=t.element;if(n=n.nextElementSibling?n.nextElementSibling:n.parentElement.firstElementChild){var o=e.item;n.onfocus=function(e){o.doFocus(e)},n.onmousedown=function(e){o.doMouseDown(e)}}return e}},template:ic});var rc=n(169);o.components.register("sv-action-bar-item-dropdown",{viewModel:{createViewModel:function(e){return{model:new nt(e.item)}}},template:rc});var ac=n(170);o.components.register("sv-action-bar-separator",{viewModel:{createViewModel:function(e,t){var n=e.item;return n?{css:n.innerCss}:{}}},template:ac});var sc=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(t,n)};return function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function o(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}}(),lc=n(166),uc=function(e){function t(t,n){void 0===n&&(n=!0);var i=e.call(this,t)||this;return i.model=t,i.handleClick=n,i.itemsSubscription=o.computed((function(){(t.renderedActions||t.items||t.actions).forEach((function(e){e.stateItem?new kl(e.stateItem):new kl(e)}))})),i}return sc(t,e),t.prototype.dispose=function(){e.prototype.dispose.call(this),this.itemsSubscription.dispose(),this.model.resetResponsivityManager()},t}(kl);o.components.register("sv-action-bar",{viewModel:{createViewModel:function(e,t){var n=void 0===e.handleClick||e.handleClick,o=e.model,i=t.element.nextElementSibling;return e.model.initResponsivityManager(i),new uc(o,n)}},template:lc});var cc=n(171);o.components.register("sv-boolean-checkbox",{viewModel:{createViewModel:function(e,t){return{question:e.question}}},template:cc}),Rn.Instance.registerRenderer("boolean","checkbox","sv-boolean-checkbox");var pc=n(172);o.components.register("sv-boolean-radio-item",{viewModel:{createViewModel:function(e){return e.handleChange=function(){e.question.booleanValue=e.value},e}},template:pc});var dc=n(173);o.components.register("sv-boolean-radio",{viewModel:{createViewModel:function(e,t){return{question:e.question}}},template:dc}),Rn.Instance.registerRenderer("boolean","radio","sv-boolean-radio");var hc=n(174),mc=function(e,t){this.question=e,this.targetElement=t};o.components.register("sv-panel",{viewModel:{createViewModel:function(e,t){return new mc(e.question,t.element.parentElement)}},template:hc});var gc=n(175),fc=function(){function e(e){var t=this;this.popupViewModel=e,this.visibilityChangedHandler=function(e,n){n.isVisible&&(o.tasks.runEarly(),t.popupViewModel.updateOnShowing())},this._popupModelImplementor=new kl(e.model),this._popupImplementor=new kl(e),e.onVisibilityChanged.add(this.visibilityChangedHandler)}return e.prototype.dispose=function(){this._popupModelImplementor.dispose(),this._popupModelImplementor=void 0,this._popupImplementor.dispose(),this._popupImplementor=void 0,this.popupViewModel.resetComponentElement(),this.popupViewModel.onVisibilityChanged.remove(this.visibilityChangedHandler),this.popupViewModel.dispose(),this.visibilityChangedHandler=void 0},e}();function yc(e,t){var n=_s(e,t),i=function(e,t){t.isVisible||(n.onVisibilityChanged.remove(i),o.cleanNode(n.container),n.container.remove(),n.dispose(),r.dispose())};n.onVisibilityChanged.add(i);var r=new fc(n);return n.container.innerHTML=gc,o.applyBindings(r,n.container),n.model.isVisible=!0,n}tn.showModal=function(e,t,n,o,i,r,a,s){return void 0===a&&(a="popup"),yc(We(e,t,n,o,void 0,void 0,i,r,a),s)},tn.showDialog=yc,o.components.register("sv-popup",{viewModel:{createViewModel:function(e,t){var n=t.element.nodeType===Node.COMMENT_NODE?t.element.nextElementSibling:t.element,i=Ts(o.unwrap(e.model));return i.setComponentElement(n),new fc(i)}},template:gc});var vc=n(176),bc=function(){function e(e,t,n,i){void 0===n&&(n="center"),this.model=e,this.element=t,this.container=n,this.survey=i,this.hasScroller=o.observable(!1),this.canShowHeader=o.observable(!1),this.canShowFooter=o.observable(!1),this.canShowItemTitles=o.observable(!0),this.respManager=new ji(e,t,this)}return e.prototype.onResize=function(e){this.canShowItemTitles(e),this.canShowHeader(!this.canShowItemTitles())},e.prototype.onUpdateScroller=function(e){this.hasScroller(e)},e.prototype.onUpdateSettings=function(){this.canShowItemTitles(this.model.showItemTitles),this.canShowFooter(!this.model.showItemTitles)},e.prototype.getScrollButtonCss=function(e){return this.model.getScrollButtonCss(this.hasScroller(),e)},e.prototype.clickScrollButton=function(e,t){e.scrollLeft+=70*(t?-1:1)},e.prototype.dispose=function(){this.respManager.dispose()},e}();o.components.register("sv-progress-buttons",{viewModel:{createViewModel:function(e,t){var n=new bc(e.model,t.element.nextElementSibling,e.container,e.survey);return setTimeout((function(){var t;return null===(t=e.model)||void 0===t?void 0:t.processResponsiveness(0)}),10),n}},template:vc});var xc=n(177),Cc=function(){function e(e,t){void 0===t&&(t="header"),this.model=e,this.container=t}return e.prototype.getProgressTextInBarCss=function(e){return us.getProgressTextInBarCss(e)},e.prototype.getProgressTextUnderBarCss=function(e){return us.getProgressTextUnderBarCss(e)},e.prototype.getProgressCssClasses=function(){return this.model.getProgressCssClasses(this.container)},e}();o.components.register("sv-progress-progress",{viewModel:{createViewModel:function(e){return new Cc(e.model,e.container)}},template:xc});var wc="\x3c!-- ko component: { name: 'sv-progress-progress', params: $data } --\x3e\x3c!-- /ko --\x3e";o.components.register("sv-progress-pages",{viewModel:{createViewModel:function(e){return new Cc(e.model,e.container)}},template:wc}),o.components.register("sv-progress-questions",{viewModel:{createViewModel:function(e){return new Cc(e.model,e.container)}},template:wc}),o.components.register("sv-progress-correctquestions",{viewModel:{createViewModel:function(e){return new Cc(e.model,e.container)}},template:wc}),o.components.register("sv-progress-requiredquestions",{viewModel:{createViewModel:function(e){return new Cc(e.model,e.container)}},template:wc});var Pc=n(178);o.components.register("sv-navigation-toc",{viewModel:{createViewModel:function(e,t){return{tocModel:e.model}}},template:Pc});var kc=n(179),Vc=function(){function e(e,t,n){void 0===n&&(n=!0),this.survey=e,this.container=t,this.needRenderWrapper=n,this.css="sv-components-column",this.css+=" sv-components-container-"+t}return Object.defineProperty(e.prototype,"components",{get:function(){return this.survey.getContainerContent(this.container)},enumerable:!1,configurable:!0}),e}();o.components.register("sv-components-container",{viewModel:{createViewModel:function(e){var t=e.survey;return new Vc(t,e.container,e.needRenderWrapper)}},template:kc});var _c=n(180);o.components.register(Wi.TemplateRendererComponentName,{viewModel:{createViewModel:function(e){return e}},template:_c}),o.components.register("survey-element-title",{viewModel:{createViewModel:function(e,t){var n=e.element,o=t.element,i=document.createElement(n.titleTagName),r="css: element.cssTitle, attr: { "+(n.titleAriaLabel?"'aria-label': element.titleAriaLabel,":"")+" id: element.ariaTitleId, tabindex: element.titleTabIndex, 'aria-expanded': element.titleAriaExpanded, role: element.titleAriaRole }";n.hasTitleEvents&&(r+=", key2click"),i.setAttribute("data-bind",r);var a="\x3c!-- ko component: { name: 'sv-title-actions', params: {element: element } } --\x3e\x3c!-- /ko --\x3e";if(n.getCssTitleExpandableSvg()){var s=function(e){return"\x3c!-- ko component: { name: 'sv-svg-icon', params: { css: element.getCssTitleExpandableSvg(), iconName: '"+e+"', size: 'auto' } } --\x3e\x3c!-- /ko --\x3e"};a="\x3c!-- ko ifnot: element.isExpanded --\x3e"+s("icon-expand-16x16")+"\x3c!-- /ko --\x3e"+("\x3c!-- ko if: element.isExpanded --\x3e"+s("icon-collapse-16x16")+"\x3c!-- /ko --\x3e")+a}i.innerHTML=a;var l=o.nextSibling;return o.parentNode.insertBefore(document.createComment(" ko if: element.hasTitle "),l),o.parentNode.insertBefore(i,l),o.parentNode.insertBefore(document.createComment(" /ko "),l),o.parentNode.removeChild(l),{element:n}}},template:"<span></span>"});var Tc=n(181);o.components.register("survey-element-title-content",{viewModel:{createViewModel:function(e,t){return{element:e.element}}},template:Tc});var Sc=n(182);o.components.register("sv-title-actions",{viewModel:{createViewModel:function(e,t){var n=e.element;return{element:n,toolbar:n.getTitleToolbar()}}},template:Sc}),Rn.Instance.registerRenderer("element","title-actions","sv-title-actions");var Ec=n(183),Rc=function(){function e(e){this.locString=e}return Object.defineProperty(e.prototype,"koHasHtml",{get:function(){return this.locString.koHasHtml()},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"editValue",{get:function(){return this.locString.koRenderedHtml()},set:function(e){this.locString.searchElement=void 0,this.locString.text=e},enumerable:!1,configurable:!0}),e.prototype.onInput=function(e,t){e.editValue=t.target.innerText},e.prototype.onClick=function(e,t){t.stopPropagation()},e.prototype.dispose=function(){this.locString.onSearchChanged=void 0},e}();function Ic(e,t){for(;e.childNodes.length>1;)e.removeChild(e.childNodes[1]);e.childNodes[0].textContent=t.renderedHtml}o.components.register(bt.editableRenderer,{viewModel:{createViewModel:function(e,t){var n=e.locString;return function(e,t){t.onSearchChanged=function(){if(null==t.searchElement&&(t.searchElement=function(e){for(;e&&"SPAN"!==e.nodeName;){var t=e.parentElement.getElementsByClassName("sv-string-editor");e=t.length>0?t[0]:void 0}return e&&e.childNodes.length>0?e:null}(e)),null!=t.searchElement){var n=t.searchElement;if(t.highlightDiv||(t.highlightDiv=document.createElement("span"),t.highlightDiv.style.backgroundColor="lightgray"),null!=t.searchIndex){Ic(n,t);var o=document.createRange();o.setStart(n.childNodes[0],t.searchIndex),o.setEnd(n.childNodes[0],t.searchIndex+t.searchText.length),o.surroundContents(t.highlightDiv)}else Ic(n,t),t.searchElement=void 0}}}(t.element,n),new Rc(n)}},template:Ec});var Oc=n(184);o.components.register("sv-string-viewer",{viewModel:{createViewModel:function(e,t){return{locString:e.locString}}},template:Oc});var Ac=n(185);o.components.register("sv-logo-image",{viewModel:{createViewModel:function(e){return{survey:e}}},template:Ac});var Dc=n(186);o.components.register("sv-skeleton",{viewModel:{createViewModel:function(e,t){return{element:e.element}}},template:Dc});var qc=n(187);o.components.register("sv-character-counter",{viewModel:{createViewModel:function(e,t){var n=e.counter,o=e.remainingCharacterCounter;return new kl(n),{counter:n,remainingCharacterCounter:o}}},template:qc});var Lc=n(189);o.components.register("sv-rating-dropdown-item",{viewModel:{createViewModel:function(e,t){return new kl(e.item),{item:e.item,description:e.item.description}}},template:Lc});var Mc=n(188);o.components.register("sv-rating-dropdown",{viewModel:{createViewModel:function(e,t){return{question:e.question}}},template:Mc}),Rn.Instance.registerRenderer("rating","dropdown","sv-rating-dropdown");var jc=n(190);o.components.register("sv-rating-item",{viewModel:{createViewModel:function(e,t){return new kl(e.item),{question:e.question,item:e.item,index:e.index}}},template:jc});var Nc=n(191);o.components.register("sv-rating-item-star",{viewModel:{createViewModel:function(e,t){return new kl(e.item),{question:e.question,item:e.item,index:e.index}}},template:Nc});var Fc=n(192);o.components.register("sv-rating-item-smiley",{viewModel:{createViewModel:function(e,t){return new kl(e.item),{question:e.question,item:e.item,index:e.index}}},template:Fc});var Bc=n(193);o.components.register("sv-dropdown",{viewModel:{createViewModel:function(e,t){var n=e.question;return new kl(n.dropdownListModel),{question:n,model:n.dropdownListModel,click:function(e,t){var o;null===(o=n.dropdownListModel)||void 0===o||o.onClick(t)},clear:function(e,t){var o;null===(o=n.dropdownListModel)||void 0===o||o.onClear(t)},keyhandler:function(e,t){var o;return null===(o=n.dropdownListModel)||void 0===o||o.keyHandler(t),!0},blur:function(e,t){n.onBlur(t)},focus:function(e,t){n.onFocus(t)},chevronPointerDown:function(e,t){var o;null===(o=n.dropdownListModel)||void 0===o||o.chevronPointerDown(t)}}}},template:Bc});var zc=n(194);o.components.register("sv-dropdown-select",{viewModel:{createViewModel:function(e,t){e.question.choices.forEach((function(e){new kl(e)}));return{question:e.question,click:function(t,n){e.question.onClick(n)},keyup:function(t,n){e.question.onKeyUp(n)}}}},template:zc}),Rn.Instance.registerRenderer("dropdown","select","sv-dropdown-select");var Hc=n(195);o.components.register("sv-tagbox-item",{viewModel:{createViewModel:function(e,t){var n=e.item;return new kl(n),{item:n,question:e.question,removeItem:function(e,t){e.question.dropdownListModel.deselectItem(e.item.value),t.stopPropagation()}}}},template:Hc});var Qc=n(196);o.components.register("sv-tagbox",{viewModel:{createViewModel:function(e,t){var n=e.question;return n.dropdownListModel||(n.dropdownListModel=new oa(n)),new kl(n.dropdownListModel),{question:n,model:n.dropdownListModel,click:function(e,t){var o;null===(o=n.dropdownListModel)||void 0===o||o.onClick(t)},clear:function(e,t){var o;null===(o=n.dropdownListModel)||void 0===o||o.onClear(t)},keyhandler:function(e,t){var o;return null===(o=n.dropdownListModel)||void 0===o||o.keyHandler(t),!0},blur:function(e,t){n.onBlur(t)},focus:function(e,t){n.onFocus(t)},inputKeyHandler:function(e,t){var o;return null===(o=n.dropdownListModel)||void 0===o||o.inputKeyHandler(t),!0},chevronPointerDown:function(e,t){var o;null===(o=n.dropdownListModel)||void 0===o||o.chevronPointerDown(t)}}}},template:Qc});var Uc=n(197);o.components.register("sv-header-cell",{viewModel:{createViewModel:function(e,t){return e.model}},template:Uc});var Wc=n(198);o.components.register("sv-header-mobile",{viewModel:{createViewModel:function(e,t){return e.model}},template:Wc});var $c=n(199);o.components.register("sv-header",{viewModel:{createViewModel:function(e,t){return e.model.survey=e.survey,new kl(e.model),e}},template:$c});var Gc=n(200);o.components.register("sv-file-choose-btn",{viewModel:{createViewModel:function(e,t){return e}},template:Gc});var Kc=n(201);o.components.register("sv-file-preview",{viewModel:{createViewModel:function(e,t){return e}},template:Kc});var Zc=n(202);o.components.register("sv-file-page",{viewModel:{createViewModel:function(e,t){var n=new kl(e.model);return{dispose:function(){n.dispose()},model:e.model}}},template:Zc});var Jc=n(203);o.components.register("sv-file-item",{viewModel:{createViewModel:function(e,t){return e}},template:Jc});var Yc=n(205);o.components.register("sv-list-item",{viewModel:{createViewModel:function(e,t){return new kl(e.item),{item:e.item,model:e.model,disableTabStop:e.item.disableTabStop,itemClick:function(e,t){e.model.onItemClick(e.item),t.stopPropagation()},hover:function(e,t){"mouseover"===e.type&&t.model.onItemHover(t.item)},leave:function(e,t){t.model.onItemLeave(t.item)},itemComponent:e.item.component||e.model.itemComponent}}},template:Yc});var Xc=n(206);o.components.register("sv-list-item-content",{viewModel:{createViewModel:function(e,t){return new kl(e.item),{item:e.item,model:e.model}}},template:Xc});var ep=n(207);o.components.register("sv-list-item-group",{viewModel:{createViewModel:function(e){return new kl(e.item),{item:e.item,model:e.model,disableTabStop:e.item.disableTabStop,itemClick:function(e,t){e.model.onItemClick(e.item),t.stopPropagation()}}}},template:ep});var tp=n(204);o.components.register("sv-list",{viewModel:{createViewModel:function(e,t){var n=e.model,i=new uc(n);return n.initListContainerHtmlElement(t.element),{model:n,dispose:function(){i.dispose(),n.initListContainerHtmlElement(void 0)},afterItemRender:function(e,t){o.tasks&&o.tasks.runEarly(),n.onLastItemRended(t)}}}},template:tp});var np=n(208);o.components.register("sv-svg-icon",{viewModel:{createViewModel:function(e,t){return o.computed((function(){var n=o.unwrap(e.iconName),i=t.element.querySelector&&t.element.querySelector("svg")||t.element.nextElementSibling;n&&Dt(o.unwrap(e.size),o.unwrap(e.width),o.unwrap(e.height),n,i,o.unwrap(e.title))})),{hasIcon:e.iconName,css:e.css,title:e.title}}},template:np});var op=n(209);o.components.register("sv-matrix-remove-button",{viewModel:{createViewModel:function(e){return e.item.data}},template:op});var ip=n(210);o.components.register("sv-matrix-detail-button",{viewModel:{createViewModel:function(e,t){return e.item.data}},template:ip});var rp=n(211);o.components.register("sv-matrix-drag-drop-icon",{viewModel:{createViewModel:function(e,t){return e.item.data}},template:rp});var ap=n(212),sp=function(e){this.model=e};o.components.register("sv-button-group-item",{viewModel:{createViewModel:function(e){var t=new Os(e.question,e.item,e.index());return new sp(t)}},template:ap});var lp=n(213);o.components.register("sv-nav-btn",{viewModel:{createViewModel:function(e,t){return e}},template:lp});var up=n(214),cp=n(215),pp=n(216),dp=n(217),hp=n(218);o.components.register("sv-paneldynamic-add-btn",{viewModel:{createViewModel:function(e,t){return!!e.item&&e.item.data||e}},template:up}),o.components.register("sv-paneldynamic-next-btn",{viewModel:{createViewModel:function(e,t){return!!e.item&&e.item.data||e}},template:cp}),o.components.register("sv-paneldynamic-prev-btn",{viewModel:{createViewModel:function(e,t){return!!e.item&&e.item.data||e}},template:pp}),o.components.register("sv-paneldynamic-progress-text",{viewModel:{createViewModel:function(e,t){return!!e.item&&e.item.data||e}},template:dp}),o.components.register("sv-paneldynamic-remove-btn",{viewModel:{createViewModel:function(e,t){return!!e.item&&e.item.data||e}},template:hp});var mp=n(219);o.components.register("sv-brand-info",{viewModel:{createViewModel:function(e,t){return{}}},template:mp});var gp=n(220);o.components.register("sv-question-error",{viewModel:{createViewModel:function(e,t){return e}},template:gp});var fp=n(221);o.components.register("sv-notifier",{viewModel:{createViewModel:function(e,t){return new kl(e.notifier),e}},template:fp});var yp=n(222);o.components.register("sv-loading-indicator",{viewModel:{createViewModel:function(e,t){}},template:yp}),o.components.register("sv-svg-bundle",{viewModel:{createViewModel:function(e,t){return(t.element.querySelector&&t.element.querySelector("svg")||t.element.nextElementSibling).innerHTML=bl.iconsRenderedHtml(),e}},template:"<svg id='sv-icon-holder-global-container' style=\"display:none\"></svg>"}),Al(o,Wi.platform);var vp={root:"sv_main sv_bootstrap_css",container:"sv_container",header:"panel-heading card-header",body:"panel-body card-block mt-4",bodyEmpty:"panel-body card-block mt-4 sv_body_empty",footer:"panel-footer card-footer",title:"",description:"",logo:"sv_logo",logoImage:"sv_logo__image",headerText:"sv_header__text",navigationButton:"btn sv_nav_btn",completedPage:"",navigation:{complete:"sv_complete_btn",prev:"sv_prev_btn",next:"sv_next_btn",start:"sv_start_btn",preview:"sv_preview_btn",edit:"sv_edit_btn"},progress:"progress center-block mx-auto mb-4",progressBar:"progress-bar",progressTextUnderBar:"sv-hidden",progressTextInBar:"sv-hidden",progressButtonsContainerCenter:"sv_progress-buttons__container-center",progressButtonsContainer:"sv_progress-buttons__container",progressButtonsImageButtonLeft:"sv_progress-buttons__image-button-left",progressButtonsImageButtonRight:"sv_progress-buttons__image-button-right",progressButtonsImageButtonHidden:"sv_progress-buttons__image-button--hidden",progressButtonsListContainer:"sv_progress-buttons__list-container",progressButtonsList:"sv_progress-buttons__list",progressButtonsListElementPassed:"sv_progress-buttons__list-element--passed",progressButtonsListElementCurrent:"sv_progress-buttons__list-element--current",progressButtonsListElementNonClickable:"sv_progress-buttons__list-element--nonclickable",progressButtonsPageTitle:"sv_progress-buttons__page-title",progressButtonsPageDescription:"sv_progress-buttons__page-description",page:{root:"",title:"",description:"small"},pageTitle:"",pageDescription:"small",row:"sv_row",question:{mainRoot:"sv_qstn",flowRoot:"sv_q_flow sv_qstn",header:"",headerLeft:"title-left",content:"",contentLeft:"content-left",titleLeftRoot:"sv_qstn_left",title:"",titleExpandable:"sv_q_title_expandable",titleExpandableSvg:"sd-element__title-expandable-svg",titleExpanded:"sv_q_title_expanded",titleCollapsed:"sv_q_title_collapsed",number:"sv_q_num",description:"small",descriptionUnderInput:"small",requiredText:"sv_q_required_text",comment:"form-control",required:"",titleRequired:"",hasError:"has-error",indent:20,formGroup:"form-group",disabled:"sv_q--disabled"},panel:{title:"sv_p_title",titleExpandable:"sv_p_title_expandable",titleExpandableSvg:"sd-element__title-expandable-svg",titleExpanded:"sv_p_title_expanded",titleCollapsed:"sv_p_title_collapsed",titleOnError:"",icon:"sv_panel_icon",iconExpanded:"sv_expanded",description:"small sv_p_description",container:"sv_p_container",footer:"sv_p_footer",number:"sv_q_num",requiredText:"sv_q_required_text"},error:{root:"alert alert-danger",icon:"glyphicon glyphicon-exclamation-sign",item:"",locationTop:"sv_qstn_error_top",locationBottom:"sv_qstn_error_bottom"},boolean:{root:"sv_qbln form-inline checkbox",rootRadio:"sv_qbln form-inline checkbox",item:"sv-boolean",control:"sv-visuallyhidden",controlCheckbox:"sv-visuallyhidden",itemChecked:"sv-boolean--checked checked",itemIndeterminate:"sv-boolean--indeterminate",itemDisabled:"sv-boolean--disabled",switch:"sv-boolean__switch",slider:"sv-boolean__slider",label:"sv-boolean__label ",disabledLabel:"sv-boolean__label--disabled",sliderGhost:"sv-boolean__thumb-ghost",materialDecorator:"sv-item__decorator sv-boolean__decorator",itemDecorator:"sv-item__svg sv-boolean__svg",checkedPath:"sv-boolean__checked-path",uncheckedPath:"sv-boolean__unchecked-path",indeterminatePath:"sv-boolean__indeterminate-path"},checkbox:{root:"sv_qcbc sv_qcbx form-inline",item:"checkbox",itemChecked:"checked",itemSelectAll:"sv_q_checkbox_selectall",itemNone:"sv_q_checkbox_none",itemInline:"sv_q_checkbox_inline",itemControl:"",itemDecorator:"sv-hidden",label:"",labelChecked:"",controlLabel:"",materialDecorator:"checkbox-material",other:"sv_q_checkbox_other form-control",column:"sv_q_select_column"},ranking:{root:"sv-ranking",rootMobileMod:"sv-ranking--mobile",rootDragMod:"sv-ranking--drag",rootDisabled:"sv-ranking--disabled",rootDragHandleAreaIcon:"sv-ranking--drag-handle-area-icon",rootSelectToRankMod:"sv-ranking--select-to-rank",rootSelectToRankAlignVertical:"sv-ranking--select-to-rank-vertical",rootSelectToRankAlignHorizontal:"sv-ranking--select-to-rank-horizontal",item:"sv-ranking-item",itemContent:"sv-ranking-item__content",itemIndex:"sv-ranking-item__index",itemIndexEmptyMode:"sv-ranking-item__index--empty",controlLabel:"sv-ranking-item__text",itemGhostNode:"sv-ranking-item__ghost",itemIconContainer:"sv-ranking-item__icon-container",itemIcon:"sv-ranking-item__icon",itemIconHoverMod:"sv-ranking-item__icon--hover",itemIconFocusMod:"sv-ranking-item__icon--focus",itemGhostMod:"sv-ranking-item--ghost",itemDragMod:"sv-ranking-item--drag",container:"sv-ranking__container",containerEmptyMode:"sv-ranking__container--empty",containerFromMode:"sv-ranking__container--from",containerToMode:"sv-ranking__container--to",containerPlaceholder:"sv-ranking__container-placeholder",containersDivider:"sv-ranking__containers-divider"},comment:"form-control",dropdown:{root:"sv_q_dd_root",popup:"sv-dropdown-popup",selectWrapper:"sv_q_dd_select_wrapper",control:"form-control sv_q_dd_control",controlValue:"sv_q_dd_value",other:"sv_q_dd_other form-control",cleanButton:"sv_q_dd_clean-button",cleanButtonSvg:"sv_q_dd_clean-button-svg",cleanButtonIconId:"icon-clear_16x16",filterStringInput:"sv_q_dd_filter-string-input",hintPrefix:"sv_q_dd_hint-prefix",hintSuffix:"sv_q_dd_hint-suffix"},tagbox:{root:"sv_q_dd_root",popup:"sv-dropdown-popup",selectWrapper:"sv_q_dd_select_wrapper",control:"form-control sv_q_dd_control",controlValue:"sv_q_dd_value",other:"sv_q_dd_other form-control",cleanButton:"sv_q_dd_clean-button",cleanButtonSvg:"sv_q_dd_clean-button-svg",cleanButtonIconId:"icon-clear_16x16",filterStringInput:"sv_q_dd_filter-string-input"},html:{root:""},image:{root:"sv_q_image",image:"sv_image_image"},matrix:{root:"table sv_q_matrix",label:"sv_q_m_label",itemChecked:"checked",itemDecorator:"sv-hidden",cellText:"sv_q_m_cell_text",cellTextSelected:"sv_q_m_cell_selected bg-primary",cellLabel:"sv_q_m_cell_label",cellResponsiveTitle:"sv-hidden"},matrixdropdown:{root:"table",cell:"sv_matrix_cell",headerCell:"sv_matrix_cell_header",row:"sv_matrix_row",rowAdditional:"sv-matrix__row--additional",detailRow:"sv_matrix_detail_row",detailRowText:"sv_matrix_cell_detail_rowtext",detailCell:"sv_matrix_cell_detail",detailButton:"sv_matrix_cell_detail_button",detailButtonExpanded:"sv_matrix_cell_detail_button_expanded",detailIcon:"sv_detail_panel_icon",detailIconExpanded:"sv_detail_expanded",detailPanelCell:"sv_matrix_cell_detail_panel",actionsCell:"sv_matrix_cell sv_matrix_cell_actions"},matrixdynamic:{root:"table",button:"button",buttonAdd:"",buttonRemove:"",iconAdd:"",iconRemove:"",iconDrag:"sv-matrixdynamic__drag-icon",headerCell:"sv_matrix_cell_header",row:"sv_matrix_row",detailRow:"sv_matrix_detail_row",detailCell:"sv_matrix_cell_detail",detailButton:"sv_matrix_cell_detail_button",detailButtonExpanded:"sv_matrix_cell_detail_button_expanded",detailIcon:"sv_detail_panel_icon",detailIconExpanded:"sv_detail_expanded",detailPanelCell:"sv_matrix_cell_detail_panel",actionsCell:"sv_matrix_cell sv_matrix_cell_actions",emptyRowsSection:"sv_matrix_empty_rows_section",emptyRowsText:"sv_matrix_empty_rows_text",emptyRowsButton:"",ghostRow:"sv-matrix-row--drag-drop-ghost-mod",draggedRow:"sv-matrixdynamic-dragged-row"},paneldynamic:{root:"",navigation:"sv-paneldynamic__navigation",progressTop:"sv-paneldynamic__progress sv-paneldynamic__progress--top",progressBottom:"sv-paneldynamic__progress sv-paneldynamic__progress--bottom",title:"sv-title sv-question__title",button:"button",buttonAdd:"button sv-paneldynamic__add-btn",buttonRemove:"sv_p_remove_btn",buttonRemoveRight:"button sv-paneldynamic__remove-btn--right",buttonPrev:"sv-paneldynamic__prev-btn",buttonNext:"sv-paneldynamic__next-btn",buttonPrevDisabled:"sv-paneldynamic__prev-btn--disabled",buttonNextDisabled:"sv-paneldynamic__next-btn--disabled",progressContainer:"sv-paneldynamic__progress-container",progress:"sv-progress",progressBar:"sv-progress__bar",progressText:"sv-paneldynamic__progress-text",panelWrapper:"sv_p_wrapper",panelWrapperInRow:"sv_p_wrapper_in_row",footer:"",progressBtnIcon:"icon-progressbutton"},multipletext:{root:"sv_q_mt table",itemTitle:"sv_q_mt_title",item:"sv_q_mt_item",itemLabel:"sv_q_mt_label",row:"form-group bmd-form-group",itemValue:"sv_q_mt_item_value form-control"},radiogroup:{root:"sv_qcbc form-inline",item:"radio",itemChecked:"checked",itemInline:"sv_q_radiogroup_inline",label:"",labelChecked:"",itemControl:"",itemDecorator:"sv-hidden",controlLabel:"",materialDecorator:"circle",other:"sv_q_radiogroup_other form-control",clearButton:"sv_q_radiogroup_clear button",column:"sv_q_select_column"},buttongroup:{root:"sv-button-group",item:"sv-button-group__item",itemIcon:"sv-button-group__item-icon",itemDecorator:"sv-button-group__item-decorator",itemCaption:"sv-button-group__item-caption",itemHover:"sv-button-group__item--hover",itemSelected:"sv-button-group__item--selected",itemDisabled:"sv-button-group__item--disabled",itemControl:"sv-visuallyhidden"},imagepicker:{root:"sv_imgsel",item:"sv_q_imgsel",itemChecked:"checked",itemInline:"sv_q_imagepicker_inline",label:"sv_q_imgsel_label",itemControl:"sv_q_imgsel_control_item",image:"sv_q_imgsel_image",itemText:"sv_q_imgsel_text",clearButton:"sv_q_radiogroup_clear"},rating:{root:"btn-group",item:"btn btn-default btn-secondary",selected:"active",minText:"sv_q_rating_min_text",itemText:"sv_q_rating_item_text",maxText:"sv_q_rating_max_text",disabled:""},text:"form-control",expression:"form-control",file:{root:"sv_q_file",placeholderInput:"sv_q_file_placeholder",preview:"sv_q_file_preview",removeButton:"sv_q_file_remove_button",fileInput:"sv_q_file_input",removeFile:"sv_q_file_remove",fileDecorator:"sv-hidden",fileSign:"sv_q_file_sign",removeButtonBottom:"sv-hidden",dragAreaPlaceholder:"sv-hidden",fileList:""},signaturepad:{root:"sv_q_signaturepad sjs_sp_container",controls:"sjs_sp_controls",placeholder:"sjs_sp_placeholder",canvas:"sjs_sp_canvas",backgroundImage:"sjs_sp__background-image",clearButton:"sjs_sp_clear"},saveData:{root:"",info:"alert alert-info",error:"alert alert-danger",success:"alert alert-success",button:""},window:{root:"modal-content",body:"modal-body",header:{root:"modal-header panel-title",title:"pull-left",button:"glyphicon pull-right",buttonExpanded:"glyphicon pull-right glyphicon-chevron-up",buttonCollapsed:"glyphicon pull-right glyphicon-chevron-down"}}},bp={root:"sv_main sv_bootstrapmaterial_css",container:"sv_container",header:"card-heading",body:"card-body",bodyEmpty:"card-body sv_body_empty",footer:"card-footer",title:"",description:"",logo:"sv_logo",logoImage:"sv_logo__image",headerText:"sv_header__text",navigationButton:"btn-primary sv_nav_btn",completedPage:"",navigation:{complete:"sv_complete_btn",prev:"sv_prev_btn",next:"sv_next_btn",start:"sv_start_btn",preview:"sv_preview_btn",edit:"sv_edit_btn"},progress:"progress center-block mx-auto mb-4",progressBar:"progress-bar",progressTextUnderBar:"sv-hidden",progressTextInBar:"sv-hidden",progressButtonsContainerCenter:"sv_progress-buttons__container-center",progressButtonsContainer:"sv_progress-buttons__container",progressButtonsImageButtonLeft:"sv_progress-buttons__image-button-left",progressButtonsImageButtonRight:"sv_progress-buttons__image-button-right",progressButtonsImageButtonHidden:"sv_progress-buttons__image-button--hidden",progressButtonsListContainer:"sv_progress-buttons__list-container",progressButtonsList:"sv_progress-buttons__list",progressButtonsListElementPassed:"sv_progress-buttons__list-element--passed",progressButtonsListElementCurrent:"sv_progress-buttons__list-element--current",progressButtonsListElementNonClickable:"sv_progress-buttons__list-element--nonclickable",progressButtonsPageTitle:"sv_progress-buttons__page-title",progressButtonsPageDescription:"sv_progress-buttons__page-description",page:{root:"",title:"",description:"small"},pageTitle:"",pageDescription:"small",row:"sv_row",question:{mainRoot:"sv_qstn form-group bmd-form-group",flowRoot:"sv_q_flow form-group bmd-form-group",header:"",headerLeft:"title-left",content:"",contentLeft:"content-left",titleLeftRoot:"sv_qstn_left",requiredText:"sv_q_required_text",title:"",titleExpandable:"sv_q_title_expandable",titleExpandableSvg:"sd-element__title-expandable-svg",titleExpanded:"sv_q_title_expanded",titleCollapsed:"sv_q_title_collapsed",number:"sv_q_num",description:"small",descriptionUnderInput:"small",comment:"form-control",required:"",titleRequired:"",hasError:"has-error",indent:20,formGroup:"form-group bmd-form-group",disabled:"sv_q--disabled"},panel:{title:"sv_p_title",titleExpandable:"sv_p_title_expandable",titleExpandableSvg:"sd-element__title-expandable-svg",titleExpanded:"sv_p_title_expanded",titleCollapsed:"sv_p_title_collapsed",titleOnError:"",icon:"sv_panel_icon",iconExpanded:"sv_expanded",de
vendor: 5,976 bytes, line 16
16scription:"small sv_p_description",container:"sv_p_container",footer:"sv_p_footer",number:"sv_q_num",requiredText:"sv_q_required_text"},error:{root:"alert alert-danger",icon:"glyphicon glyphicon-exclamation-sign",item:"",locationTop:"sv_qstn_error_top",locationBottom:"sv_qstn_error_bottom"},boolean:{root:"sv_qbln checkbox",rootRadio:"sv_qbln form-inline checkbox",item:"sv-boolean",control:"sv-visuallyhidden",controlCheckbox:"sv-visuallyhidden",itemChecked:"sv-boolean--checked checked",itemIndeterminate:"sv-boolean--indeterminate",itemDisabled:"sv-boolean--disabled",switch:"sv-boolean__switch",slider:"sv-boolean__slider",label:"sv-boolean__label ",disabledLabel:"sv-boolean__label--disabled",sliderGhost:"sv-boolean__thumb-ghost",materialDecorator:"sv-item__decorator sv-boolean__decorator",itemDecorator:"sv-item__svg sv-boolean__svg",checkedPath:"sv-boolean__checked-path",uncheckedPath:"sv-boolean__unchecked-path",indeterminatePath:"sv-boolean__indeterminate-path"},checkbox:{root:"sv_qcbx",item:"checkbox",itemChecked:"checked",itemSelectAll:"sv_q_checkbox_selectall",itemNone:"sv_q_checkbox_none",itemInline:"sv_q_checkbox_inline",itemDecorator:"sv-hidden",itemControl:"",label:"",labelChecked:"",controlLabel:"",materialDecorator:"checkbox-decorator",other:"sv_q_checkbox_other form-control",column:"sv_q_select_column"},ranking:{root:"sv-ranking",rootMobileMod:"sv-ranking--mobile",rootDragMod:"sv-ranking--drag",rootDisabled:"sv-ranking--disabled",rootDragHandleAreaIcon:"sv-ranking--drag-handle-area-icon",rootSelectToRankMod:"sv-ranking--select-to-rank",rootSelectToRankAlignVertical:"sv-ranking--select-to-rank-vertical",rootSelectToRankAlignHorizontal:"sv-ranking--select-to-rank-horizontal",rootSelectToRankSwapAreas:"sv-ranking--select-to-rank-swap-areas",item:"sv-ranking-item",itemContent:"sv-ranking-item__content",itemIndex:"sv-ranking-item__index",itemIndexEmptyMode:"sv-ranking-item__index--empty",controlLabel:"sv-ranking-item__text",itemGhostNode:"sv-ranking-item__ghost",itemIconContainer:"sv-ranking-item__icon-container",itemIcon:"sv-ranking-item__icon",itemIconHoverMod:"sv-ranking-item__icon--hover",itemIconFocusMod:"sv-ranking-item__icon--focus",itemGhostMod:"sv-ranking-item--ghost",itemDragMod:"sv-ranking-item--drag",container:"sv-ranking__container",containerEmptyMode:"sv-ranking__container--empty",containerFromMode:"sv-ranking__container--from",containerToMode:"sv-ranking__container--to",containerPlaceholder:"sv-ranking__container-placeholder",containersDivider:"sv-ranking__containers-divider"},comment:"form-control",dropdown:{root:"sv_q_dd_root",popup:"sv-dropdown-popup",selectWrapper:"sv_q_dd_select_wrapper",control:"form-control sv_q_dd_control",controlValue:"sv_q_dd_value",other:"sv_q_dd_other form-control",cleanButton:"sv_q_dd_clean-button",cleanButtonSvg:"sv_q_dd_clean-button-svg",cleanButtonIconId:"icon-clear_16x16",filterStringInput:"sv_q_dd_filter-string-input"},tagbox:{root:"sv_q_dd_root",popup:"sv-dropdown-popup",selectWrapper:"sv_q_dd_select_wrapper",control:"form-control sv_q_dd_control",controlValue:"sv_q_dd_value",other:"sv_q_dd_other form-control",cleanButton:"sv_q_dd_clean-button",cleanButtonSvg:"sv_q_dd_clean-button-svg",cleanButtonIconId:"icon-clear_16x16",filterStringInput:"sv_q_dd_filter-string-input"},html:{root:""},image:{root:"sv_q_image",image:"sv_image_image"},matrix:{root:"table sv_q_matrix",row:"form-group bmd-form-group",label:"sv_q_m_label radio-inline",cellText:"sv_q_m_cell_text",cellTextSelected:"sv_q_m_cell_selected bg-primary",cellLabel:"sv_q_m_cell_label",itemValue:"form-control",itemChecked:"checked",itemDecorator:"sv-hidden",materialDecorator:"bmd-radio",cellResponsiveTitle:"sv-hidden"},matrixdropdown:{root:"table",itemValue:"form-group bmd-form-group",headerCell:"sv_matrix_cell_header",row:"sv_matrix_row",rowAdditional:"sv-matrix__row--additional",detailRow:"sv_matrix_detail_row",detailRowText:"sv_matrix_cell_detail_rowtext",detailCell:"sv_matrix_cell_detail",detailButton:"sv_matrix_cell_detail_button",detailButtonExpanded:"sv_matrix_cell_detail_button_expanded",detailIcon:"sv_detail_panel_icon",detailIconExpanded:"sv_detail_expanded",detailPanelCell:"sv_matrix_cell_detail_panel",actionsCell:"sv_matrix_cell sv_matrix_cell_actions"},matrixdynamic:{mainRoot:"sv_qstn",flowRoot:"sv_q_flow",root:"table",button:"btn btn-primary",itemValue:"form-group bmd-form-group",buttonAdd:"",buttonRemove:"",iconAdd:"",iconRemove:"",iconDrag:"sv-matrixdynamic__drag-icon",headerCell:"sv_matrix_cell_header",row:"sv_matrix_row",detailRow:"sv_matrix_detail_row",detailCell:"sv_matrix_cell_detail",detailButton:"sv_matrix_cell_detail_button",detailButtonExpanded:"sv_matrix_cell_detail_button_expanded",detailIcon:"sv_detail_panel_icon",detailIconExpanded:"sv_detail_expanded",detailPanelCell:"sv_matrix_cell_detail_panel",actionsCell:"sv_matrix_cell sv_matrix_cell_actions",emptyRowsSection:"sv_matrix_empty_rows_section",emptyRowsText:"sv_matrix_empty_rows_text",emptyRowsButton:"",ghostRow:"sv-matrix-row--drag-drop-ghost-mod",draggedRow:"sv-matrixdynamic-dragged-row"},paneldynamic:{root:"",navigation:"sv-paneldynamic__navigation",progressTop:"sv-paneldynamic__progress sv-paneldynamic__progress--top",progressBottom:"sv-paneldynamic__progress sv-paneldynamic__progress--bottom",title:"sv-title sv-question__title",button:"button",buttonAdd:"button sv-paneldynamic__add-btn btn btn-primary",buttonRemove:"button sv-paneldynamic__remove-btn btn btn-primary",buttonRemoveRight:"sv-paneldynamic__remove-btn--right",buttonPrev:"sv-paneldynamic__prev-btn",buttonNext:"sv-paneldynamic__next-btn",buttonPrevDisabled:"sv-paneldynamic__prev-btn--disabled",buttonNextDisabled:"sv-paneldynamic__next-btn--disabled",progressContainer:"sv-paneldynamic__progress-container",progress:"sv-progress",progressBar:"sv-progress__bar",progressText:"sv-paneldynamic__progress-text",panelWrapper:"sv_p_wrapper",panelWrapperInRow:"sv_p_wrapper_in_row",progressBtnIcon:"icon-progressbutton",footer
vendor: 6,140 bytes, line 16
16:""},multipletext:{root:"sv_q_mt table",itemTitle:"sv_q_mt_title",item:"sv_q_mt_item",itemLabel:"sv_q_mt_label",row:"form-group bmd-form-group",itemValue:"sv_q_mt_item_value form-control"},radiogroup:{root:"",item:"radio",itemChecked:"checked",itemInline:"sv_q_radiogroup_inline",itemDecorator:"sv-hidden",label:"",labelChecked:"",itemControl:"",controlLabel:"sv_q_radiogroup_control_label",materialDecorator:"bmd-radio",other:"sv_q_radiogroup_other form-control",clearButton:"sv_q_radiogroup_clear button btn btn-primary",column:"sv_q_select_column"},buttongroup:{root:"sv-button-group",item:"sv-button-group__item",itemIcon:"sv-button-group__item-icon",itemDecorator:"sv-button-group__item-decorator",itemCaption:"sv-button-group__item-caption",itemSelected:"sv-button-group__item--selected",itemHover:"sv-button-group__item--hover",itemDisabled:"sv-button-group__item--disabled",itemControl:"sv-visuallyhidden"},imagepicker:{root:"sv_imgsel",item:"sv_q_imgsel",itemChecked:"checked",itemInline:"sv_q_imagepicker_inline",label:"sv_q_imgsel_label",itemControl:"sv_q_imgsel_control_item",image:"sv_q_imgsel_image",itemText:"sv_q_imgsel_text",clearButton:"sv_q_radiogroup_clear"},rating:{root:"btn-group",item:"btn btn-default btn-secondary",selected:"active",minText:"sv_q_rating_min_text",itemText:"sv_q_rating_item_text",maxText:"sv_q_rating_max_text",disabled:""},text:"form-control",expression:"form-control",file:{root:"form-group bmd-form-group is-fileinput sv_q_file",placeholderInput:"",preview:"sv_q_file_preview",removeButton:"sv_q_file_remove_button",fileInput:"sv_q_file_input",fileSign:"sv_q_file_sign",removeFile:"sv_q_file_remove",fileDecorator:"sv-hidden",removeButtonBottom:"sv-hidden",dragAreaPlaceholder:"sv-hidden",fileList:""},signaturepad:{root:"sv_q_signaturepad sjs_sp_container",controls:"sjs_sp_controls",placeholder:"sjs_sp_placeholder",canvas:"sjs_sp_canvas",backgroundImage:"sjs_sp__background-image",clearButton:"sjs_sp_clear"},saveData:{root:"",info:"alert alert-info",error:"alert alert-danger",success:"alert alert-success",button:""},window:{root:"modal-content",body:"modal-body",header:{root:"modal-header card-title",title:"pull-left",button:"glyphicon pull-right",buttonExpanded:"glyphicon pull-right glyphicon-chevron-up",buttonCollapsed:"glyphicon pull-right glyphicon-chevron-down"}}};function xp(){gl.Media={".sv_qstn fieldset .sv-q-col-1":{style:"width: 100%;",media:"@media only screen and (max-width: 480px)"},".sv_qstn fieldset .sv-q-col-2":{style:"width: 100%;",media:"@media only screen and (max-width: 480px)"},".sv_qstn fieldset .sv-q-col-3":{style:"width: 100%;",media:"@media only screen and (max-width: 480px)"},".sv_qstn fieldset .sv-q-col-4":{style:"width: 100%;",media:"@media only screen and (max-width: 480px)"},".sv_qstn fieldset .sv-q-col-5":{style:"width: 100%;",media:"@media only screen and (max-width: 480px)"},".sv_main .sv_container .panel-body.card-block .sv_row .sv_qstn":{style:"display: block; width: 100% !important;",media:"@media (max-width: 600px)"},".sv_main .sv_container .panel-body.card-block .sv_row .sv_qstn .title-left":{style:"float: none;",media:"@media (max-width: 600px)"},".sv_main .sv_container .panel-body.card-block .sv_row .sv_qstn .sv_q_radiogroup_inline, .sv_main .sv_container .panel-body.card-block .sv_row .sv_qstn .sv_q_checkbox_inline, .sv_main .sv_container .panel-body.card-block .sv_row .sv_qstn .sv_q_imagepicker_inline":{style:"display: block;",media:"@media (max-width: 600px)"},".sv_main .sv_container .panel-body.card-block .sv_row .sv_qstn table.table":{style:"display: block;",media:"@media (max-width: 600px)"},".sv_main .sv_container .panel-body.card-block .sv_row .sv_qstn table.table thead":{style:"display: none;",media:"@media (max-width: 600px)"},".sv_main .sv_container .panel-body.card-block .sv_row .sv_qstn table.table tbody, .sv_main .sv_container .panel-body.card-block .sv_row .sv_qstn table.table tr, .sv_main .sv_container .panel-body.card-block .sv_row .sv_qstn table.table td":{style:"display: block;",media:"@media (max-width: 600px)"},".sv_main .sv_container .panel-body.card-block .sv_row .sv_qstn table.table:not(.sv_q_matrix) td:before":{style:"content: attr(data-responsive-title);",media:"@media (max-width: 600px)"},".sv_main .sv_container .panel-body.card-block .sv_row .sv_qstn table.sv_q_matrix td:after":{style:"content: attr(data-responsive-title); padding-left: 1em",media:"@media (max-width: 600px)"},".sv_main .sv_container .panel-body.card-block .sv_row .sv_qstn .radio label, .sv_main .sv_container .panel-body.card-block .sv_row .sv_qstn .checkbox label":{style:"line-height: 12px; vertical-align: top;",media:"@media (max-width: 600px)"},".sv_qstn label.sv_q_m_label":{style:"display: inline;",media:"@media (max-width: 600px)"},".sv_main .sv_custom_header":{style:"display: none;",media:"@media (max-width: 1300px)"},".sv_main .sv_container .sv_header h3":{style:"font-size: 1.5em;",media:"@media (max-width: 1300px)"},".sv_main .sv_container .sv_header h3 span":{style:"font-size: 0.75em;",media:"@media (max-width: 700px)"},".sv_main.sv_bootstrap_css .sv-progress__text":{style:"margin-left: 8em;",media:"@media (min-width: 768px)"},".sv_row":{style:" display: flex; flex-wrap: wrap;",media:"@supports (display: flex)"},".sv-row > .sv-row__panel, .sv-row__question:not(:last-child)":{style:"float: left;",media:"@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none)"},"[dir='rtl'],[style*='direction:rtl'] .sv-row__question:not(:last-child)":{style:"float: right;",media:"@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none)"},".sv-row > .sv-row__panel, .sv-row__question":{style:"width: 100% !important; padding-right: 0 !important;",media:"@media only screen and (max-width: 600px)"}}}function Cp(){gl.Styles={".sv_main span":"word-break: break-word;",".sv_main legend":"border: none; margin: 0;",".sv_bootstrap_css .sv_qstn":"padding: 0.5em var(--sv-element-add-padding-right, 1em) 1.5em var(--sv-element-add-padding-left, 1em);",".sv_bootstrap_css .sv_qcbc input[type=checkbox], .sv_bootstrap_css .sv_qcbc input[type=radio]":"vertical-align: middle;
vendor: 28,673 bytes, line 16
16 margin-top: -1px",".sv_bootstrap_css .sv_qstn fieldset":"display: block;",".sv_bootstrap_css .sv_qstn .sv_q_checkbox_inline, .sv_bootstrap_css .sv_qstn .sv_q_radiogroup_inline":"display: inline-block;",".sv_bootstrap_css .sv-paneldynamic__progress-container ":"position: relative; margin-right: 250px; margin-left: 40px; margin-top: 10px;",".sv_main.sv_bootstrapmaterial_css .sv_q_radiogroup_control_label":"display: inline; position: static;",".sv_main.sv_bootstrapmaterial_css .checkbox":"margin-top:10px;margin-bottom:10px;",".sv_row":"clear: both; min-width:300px;",".sv_row .sv_qstn":"float: left",".sv_row .sv_qstn:last-child":"float: none",".sv_qstn":"display: vertical-align: top; overflow: auto; min-width:300px;",".sv_p_container":"display: vertical-align: top; min-width:300px;",".sv_q_title .sv_question_icon":"float: right; margin-right: 1em;",".sv_q_title .sv_question_icon::before":"content: ''; background-repeat: no-repeat; background-position: center; padding: 0.5em; display: inline-block; background-image: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4NCjwhLS0gR2VuZXJhdG9yOiBBZG9iZSBJbGx1c3RyYXRvciAyMi4wLjEsIFNWRyBFeHBvcnQgUGx1Zy1JbiAuIFNWRyBWZXJzaW9uOiA2LjAwIEJ1aWxkIDApICAtLT4NCjxzdmcgdmVyc2lvbj0iMS4xIiBpZD0iTGF5ZXJfMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgeD0iMHB4IiB5PSIwcHgiDQoJIHZpZXdCb3g9IjAgMCAxMCAxMCIgc3R5bGU9ImVuYWJsZS1iYWNrZ3JvdW5kOm5ldyAwIDAgMTAgMTA7IiB4bWw6c3BhY2U9InByZXNlcnZlIj4NCjxzdHlsZSB0eXBlPSJ0ZXh0L2NzcyI+DQoJLnN0MHtmaWxsOiM2RDcwNzI7fQ0KPC9zdHlsZT4NCjxwb2x5Z29uIGNsYXNzPSJzdDAiIHBvaW50cz0iMiwyIDAsNCA1LDkgMTAsNCA4LDIgNSw1ICIvPg0KPC9zdmc+DQo=);",".sv_q_title .sv_question_icon.sv_expanded::before":"transform: rotate(180deg);",".sv_qbln .checkbox-material":"margin-right: 3px;",".sv_qcbx .checkbox-material":"margin-right: 5px;",".sv_qcbx .checkbox label":"justify-content: left; display: inline-block;",".sv_qstn .radio label":"justify-content: left; display: inline-block;",".sv_qstn .sv_q_imgsel > label img":"pointer-events: none;",".sv_qstn .sv_q_imgsel.sv_q_imagepicker_inline":"display: inline-block;",".sv_qstn label.sv_q_m_label":"position: absolute; margin: 0; display: block; width: 100%;",".sv_qstn td":"position: relative;",".sv_q_mt":"table-layout: fixed;",".sv_q_mt_label":"display: flex; align-items: center; font-weight: inherit;",".sv_q_mt_title":"margin-right: 0.5em; width: 33%;",".sv_q_mt_item":"flex: 1;",".sv_q_mt_item_value":"float: left;",'[dir="rtl"] .sv_q_mt_item_value':"float: right;",".sv_qstn.sv_qstn_left":"margin-top: 0.75em;",".sv_qstn .title-left":"float: left; margin-right: 1em; max-width: 50%",'[dir="rtl"] .sv_qstn .title-left':"float: right; margin-left: 1em;",".sv_qstn .content-left":"overflow: hidden",".sv_q_radiogroup_inline .sv_q_radiogroup_other":"display: inline-block;",".sv_q_checkbox_inline .sv_q_checkbox_other":"display: inline-block;",".sv_q_checkbox_inline, .sv_q_radiogroup_inline, .sv_q_imagepicker_inline":"line-height: 2.5em;",".form-inline .sv_q_checkbox_inline:not(:last-child)":"margin-right: 1em;",".form-inline .sv_q_radiogroup_inline:not(:last-child)":"margin-right: 1em;",".sv_imgsel .sv_q_imagepicker_inline:not(:last-child)":"margin-right: 1em;",".sv_qstn fieldset":"border: none; margin: 0; padding: 0;",".sv_qstn .sv_q_file_placeholder":"display:none",".sv_p_title":"padding-left: 1em; padding-bottom: 0.3em;",".sv_p_title_expandable, .sv_q_title_expandable":"cursor: pointer; position: relative; display: flex; align-items: center; padding-right: 24px;",".sv_p_title_expandable::after, .sv_q_title_expandable::after":"content: \"\"; display: block;background-image: url(\"data:image/svg+xml,%3C%3Fxml version='1.0' encoding='utf-8'%3F%3E%3C!-- Generator: Adobe Illustrator 21.1.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) --%3E%3Csvg version='1.1' id='Layer_1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' viewBox='0 0 10 10' style='enable-background:new 0 0 10 10;' xml:space='preserve'%3E%3Cstyle type='text/css'%3E .st0%7Bfill:%23404040;%7D%0A%3C/style%3E%3Cpolygon class='st0' points='2,2 0,4 5,9 10,4 8,2 5,5 '/%3E%3C/svg%3E%0A\"); background-repeat: no-repeat; background-position: center center; background-size: 10px 12px; width: 24px; height: 24px; position: absolute; right: 0;",".sv_p_title_expanded::after, .sv_q_title_expanded::after":"transform: rotate(180deg);",".sv_p_title .sv_panel_icon":"float: right; margin-right: 1em;",".sv_p_title .sv_panel_icon::before":"content: ''; background-repeat: no-repeat; background-position: center; padding: 0.5em; display: inline-block; background-image: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4NCjwhLS0gR2VuZXJhdG9yOiBBZG9iZSBJbGx1c3RyYXRvciAyMi4wLjEsIFNWRyBFeHBvcnQgUGx1Zy1JbiAuIFNWRyBWZXJzaW9uOiA2LjAwIEJ1aWxkIDApICAtLT4NCjxzdmcgdmVyc2lvbj0iMS4xIiBpZD0iTGF5ZXJfMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgeD0iMHB4IiB5PSIwcHgiDQoJIHZpZXdCb3g9IjAgMCAxMCAxMCIgc3R5bGU9ImVuYWJsZS1iYWNrZ3JvdW5kOm5ldyAwIDAgMTAgMTA7IiB4bWw6c3BhY2U9InByZXNlcnZlIj4NCjxzdHlsZSB0eXBlPSJ0ZXh0L2NzcyI+DQoJLnN0MHtmaWxsOiM2RDcwNzI7fQ0KPC9zdHlsZT4NCjxwb2x5Z29uIGNsYXNzPSJzdDAiIHBvaW50cz0iMiwyIDAsNCA1LDkgMTAsNCA4LDIgNSw1ICIvPg0KPC9zdmc+DQo=);",".sv_p_title .sv_panel_icon.sv_expanded::before":"transform: rotate(180deg);",".sv_p_footer":"padding-left: 1em; padding-bottom: 1em;padding-top: 1em;",".sv_matrix_cell_detail_button":"position: relative",".sv_detail_panel_icon":"display: block; position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 14px; height: 14px;",".sv_detail_panel_icon::before":"content: ''; background-repeat: no-repeat; background-position: center; width: 14px; height: 14px; display: block; transform: rotate(270deg); background-image: url(\"data:image/svg+xml,%3C%3Fxml version='1.0' encoding='utf-8'%3F%3E%3C!-- Generator: Adobe Illustrator 21.1.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) --%3E%3Csvg version='1.1' id='Layer_1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' viewBox='0 0 15 15' style='enable-background:new 0 0 15 15;' xml:space='preserve'%3E%3Cstyle type='text/css'%3E .st0%7Bfill:%23FFFFFF;%7D%0A%3C/style%3E%3Cpolygon class='st0' points='14,5.5 12.6,4.1 7.5,9.1 2.4,4.1 1,5.5 7.5,12 '/%3E%3C/svg%3E%0A\");",".sv_detail_panel_icon.sv_detail_expanded::before":"transform: rotate(0deg)",".sv_matrix_empty_rows_section":"text-align: center; vertical-align: middle;",".sv_matrix_empty_rows_text":"padding:20px",".sv_q_file > input[type=file], .sv_q_file > button":"display: inline-block;",".sv_q_file_preview":"display: inline-block; vertical-align: top; border: 1px solid lightgray; padding: 5px; margin-top: 10px;",".sv_q_file_preview > a":"display: block; overflow: hidden; vertical-align: top; white-space: nowrap; text-overflow: ellipsis;",".sv_q_file_remove_button":"line-height: normal;",".sv_q_file_remove":"display: block; cursor: pointer;",".sv_q_m_cell_text":"cursor: pointer;",".sv_q_dd_other":"margin-top: 1em;",".sv_q_dd_other input":"width: 100%;",".sv_q_dd_clean-button":"margin: 0.15em 3em;",".sv_q_dd_clean-button-svg":"width: 1em; height: 1em;",".sv_q_dd_control":"display: flex; justify-content: space-between; appearance: none;",".sv_q_dd_value":"width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; position: relative;",".sv_q_dd_hint-prefix span":"white-space: pre;",".sv_q_dd_hint-suffix":"display: flex;",".sv_q_dd_root":"position: relative;",".sv_q_dd_select_wrapper":"position: relative;",".sv_q_dd_select_wrapper::after":"content: \"\"; display: block;background-image: url(\"data:image/svg+xml,%3C%3Fxml version='1.0' encoding='utf-8'%3F%3E%3C!-- Generator: Adobe Illustrator 21.1.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) --%3E%3Csvg version='1.1' id='Layer_1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' viewBox='0 0 10 10' style='enable-background:new 0 0 10 10;' xml:space='preserve'%3E%3Cstyle type='text/css'%3E .st0%7Bfill:%23404040;%7D%0A%3C/style%3E%3Cpolygon class='st0' points='2,2 0,4 5,9 10,4 8,2 5,5 '/%3E%3C/svg%3E%0A\"); background-repeat: no-repeat; background-position: center center; background-size: 10px 12px; width: 34px; height: 100%; position: absolute; inset-inline-end: 0; top: 0;",".sv_q_dd_filter-string-input":"outline: none; border: none; background-color: transparent; position: absolute; inset-inline-start: 0; inset-block-start: 0; width: 100%; max-width: 100%; padding: 0;",".sv_q_dropdown_clean-button":"margin: auto 2em;",".sv_q_tagbox__placeholder":"position: absolute; top: 0; inset-inline-start: 1em; max-width: 100%; width: auto; height: 100%; text-align: start; cursor: text; pointer-events: none;",".sv_qstn .sv-q-col-1, .sv-question .sv-q-col-1":"width: 100%; display: inline-block; padding-right: 1em; box-sizing: border-box; word-break: break-word;",".sv_qstn .sv-q-col-2, .sv-question .sv-q-col-2":"width: calc(50% - 1em); display: inline-block; padding-right: 1em; box-sizing: border-box; word-break: break-word;",".sv_qstn .sv-q-col-3, .sv-question .sv-q-col-3":"width: calc(33.33333% - 1em); display: inline-block; padding-right: 1em; box-sizing: border-box; word-break: break-word;",".sv_qstn .sv-q-col-4, .sv-question .sv-q-col-4":"width: calc(25% - 1em); display: inline-block; padding-right: 1em; box-sizing: border-box; word-break: break-word;",".sv_qstn .sv-q-col-5, .sv-question .sv-q-col-5":"width: calc(20% - 1em); display: inline-block; padding-right: 1em; box-sizing: border-box; word-break: break-word;",".sv_qstn .sv-q-column-1, .sv-question .sv-q-column-1":"width: 100%; max-width: 100%; display: inline-block; padding-right: 1em; box-sizing: border-box; word-break: break-word;",".sv_qstn .sv-q-column-2, .sv-question .sv-q-column-2":"max-width: 50%; display: inline-block; padding-right: 1em; box-sizing: border-box; word-break: break-word;",".sv_qstn .sv-q-column-3, .sv-question .sv-q-column-3":"max-width: 33.33333%; display: inline-block; padding-right: 1em; box-sizing: border-box; word-break: break-word;",".sv_qstn .sv-q-column-4, .sv-question .sv-q-column-4":"max-width: 25%; display: inline-block; padding-right: 1em; box-sizing: border-box; word-break: break-word;",".sv_qstn .sv-q-column-5, .sv-question .sv-q-column-5":"max-width: 20%; display: inline-block; padding-right: 1em; box-sizing: border-box; word-break: break-word;",".sv_qstn .sv_q_file_input":"color: transparent;",".sv_qstn .sv_q_imgsel label > div":"overflow: hidden; white-space: nowrap; text-overflow: ellipsis; padding: 4px; border: 1px solid lightgray; border-radius: 4px;",".sv_qstn .sv_q_imgsel label > div > img, .sv_qstn .sv_q_imgsel label > div > embed":"display: block;",".sv_qstn table tr td .sv_q_m_cell_label":"position: absolute; left: 0; right: 0; top: 0; bottom: 0;","f-panel":"padding: 0.5em 1em; display: inline-block; line-height: 2em;",".sv_progress_bar > span":"white-space: nowrap;",".sv_progress-buttons__container-center":"text-align: center;",".sv_progress-buttons__container":"display: inline-block; font-size: 0; width: 100%; max-width: 1100px; white-space: nowrap; overflow: hidden;",".sv_progress-buttons__image-button-left":"display: inline-block; vertical-align: top; margin-top: 22px; font-size: 14px; width: 16px; height: 16px; cursor: pointer; background-image: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4NCjwhLS0gR2VuZXJhdG9yOiBBZG9iZSBJbGx1c3RyYXRvciAyMi4wLjEsIFNWRyBFeHBvcnQgUGx1Zy1JbiAuIFNWRyBWZXJzaW9uOiA2LjAwIEJ1aWxkIDApICAtLT4NCjxzdmcgdmVyc2lvbj0iMS4xIiBpZD0iTGF5ZXJfMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgeD0iMHB4IiB5PSIwcHgiDQoJIHZpZXdCb3g9IjAgMCAxNiAxNiIgc3R5bGU9ImVuYWJsZS1iYWNrZ3JvdW5kOm5ldyAwIDAgMTYgMTY7IiB4bWw6c3BhY2U9InByZXNlcnZlIj4NCjxwb2x5Z29uIHBvaW50cz0iMTEsMTIgOSwxNCAzLDggOSwyIDExLDQgNyw4ICIvPg0KPC9zdmc+DQo=);",".sv_progress-buttons__image-button-right":"display: inline-block; vertical-align: top; margin-top: 22px; font-size: 14px; width: 16px; height: 16px; cursor: pointer; background-image: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4NCjwhLS0gR2VuZXJhdG9yOiBBZG9iZSBJbGx1c3RyYXRvciAyMi4wLjEsIFNWRyBFeHBvcnQgUGx1Zy1JbiAuIFNWRyBWZXJzaW9uOiA2LjAwIEJ1aWxkIDApICAtLT4NCjxzdmcgdmVyc2lvbj0iMS4xIiBpZD0iTGF5ZXJfMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgeD0iMHB4IiB5PSIwcHgiDQoJIHZpZXdCb3g9IjAgMCAxNiAxNiIgc3R5bGU9ImVuYWJsZS1iYWNrZ3JvdW5kOm5ldyAwIDAgMTYgMTY7IiB4bWw6c3BhY2U9InByZXNlcnZlIj4NCjxwb2x5Z29uIHBvaW50cz0iNSw0IDcsMiAxMyw4IDcsMTQgNSwxMiA5LDggIi8+DQo8L3N2Zz4NCg==);",".sv_progress-buttons__image-button--hidden":"visibility: hidden;",".sv_progress-buttons__list-container":"max-width: calc(100% - 36px); display: inline-block; overflow: hidden;",".sv_progress-buttons__list":"display: inline-block; width: max-content; padding-left: 28px; padding-right: 28px; margin-top: 14px; margin-bottom: 14px;",".sv_progress-buttons__list li":"width: 138px; font-size: 14px; font-family: var(--font-family, $font-family); position: relative; text-align: center; vertical-align: top; display: inline-block;",".sv_progress-buttons__list li:before":"width: 24px; height: 24px; content: ''; line-height: 30px; display: block; margin: 0 auto 10px auto; border: 3px solid; border-radius: 50%; box-sizing: content-box; cursor: pointer;",".sv_progress-buttons__list li:after":"width: 73%; height: 3px; content: ''; position: absolute; top: 15px; left: -36.5%;",".sv_progress-buttons__list li:first-child:after":"content: none;",".sv_progress-buttons__list .sv_progress-buttons__page-title":"width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: bold;",".sv_progress-buttons__list .sv_progress-buttons__page-description":"width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;",".sv_progress-buttons__list li.sv_progress-buttons__list-element--nonclickable:before":"cursor: not-allowed;",".sv-ranking":"outline: none; user-select: none;",".sv-ranking-item":"cursor: pointer; position: relative;",".sv-ranking-item:focus .sv-ranking-item__icon--hover":"visibility: hidden;",".sv-ranking-item:hover .sv-ranking-item__icon--hover":"visibility: visible;",".sv-question--disabled .sv-ranking-item:hover .sv-ranking-item__icon--hover":"visibility: hidden;",".sv-ranking-item:focus":"outline: none;",".sv-ranking-item:focus .sv-ranking-item__icon--focus":"visibility: visible; top: 15px;",".sv-ranking-item:focus .sv-ranking-item__index":"background: white; border: 2px solid var(--primary, #19b394);",".sv-ranking-item__content":"display: flex; align-items: center; line-height: 1em; padding: 5px 0px; border-radius: 100px;",".sv-ranking-item__icon-container":"left: 0;top: 0;bottom: 0;width: calc(3 * var(--base-unit, 8px)); flex-shrink: 0;",".sv-ranking-item__icon":"visibility: hidden;top:20px; fill: var(--primary, #19b394); position: absolute;",".sv-ranking-item__index":"display: flex; flex-shrink: 0; align-items: center; justify-content: center; background: var(--primary-light, rgba(25, 179, 148, 0.1)); color: var(--foreground); border-radius: 100%; border:2px solid transparent; width: 40px; height: 40px; line-height: 1em;",".sv-ranking-item__text":"display: inline-block; overflow:hidden; text-overflow: ellipsis; white-space: nowrap; margin: 0 calc(2 * var(--base-unit, 8px));",".sv-ranking-item__ghost":"display: none; background-color: var(--background-dim, #f3f3f3); border-radius: 100px;width: 200px;height: 55px;z-index: 1;position: absolute;left: 25px;","[dir='rtl'] .sv-ranking-item__ghost":"left: initilal; right: 25px;",".sv-ranking-item--ghost .sv-ranking-item__ghost":"display: block;",".sv-ranking-item--ghost .sv-ranking-item__content":"visibility: hidden;",".sv-ranking-item--drag .sv-ranking-item__content":"box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.1);border-radius: 100px;",".sv-ranking--drag .sv-ranking-item:hover .sv-ranking-item__icon":"visibility: hidden;",".sv-ranking-item--drag .sv-ranking-item__icon--hover":"visibility: visible;",".sv-ranking--mobile .sv-ranking-item__icon--hover":"visibility:visible; fill:#9f9f9f;",".sv-ranking--mobile.sv-ranking--drag .sv-ranking-item--ghost .sv-ranking-item__icon.sv-ranking-item__icon--hover":"visibility:hidden;",".sv-ranking--mobile.sv-ranking-shortcut":"max-width: 80%;",".sv-ranking--design-mode .sv-ranking-item:hover .sv-ranking-item__icon":"visibility: hidden;",".sv-ranking--disabled":"opacity: 0.8;",".sv-ranking-shortcut .sv-ranking-item__icon":"fill: var(--primary, #19b394); ",".sv-ranking--drag-handle-area-icon .sv-ranking-item":"cursor: initial",".sv-ranking--drag-handle-area-icon .sv-ranking-item__icon--hover":"cursor: pointer;",".sv-dragged-element-shortcut":"height: 24px; min-width: 100px; border-radius: 36px; background-color: white; padding: 16px; cursor: grabbing; position: absolute; z-index: 10000; box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.1); font-family: var(--font-family, $font-family); font-size: 16px; padding-left: 20px;line-height: 24px;",".sv-matrixdynamic__drag-icon":"padding-top:14px",".sv-matrixdynamic__drag-icon:after":"content: ' '; display: block; height: 6px; width: 20px; border: 1px solid #e7e7e7; box-sizing: border-box; border-radius: 10px; cursor: move; margin-top: 12px;",".sv-matrix-row--drag-drop-ghost-mod td":"background-color: #f3f3f3;",".sv-matrix-row--drag-drop-ghost-mod td > *":"visibility: hidden",".sv_qstn .sv_q_select_column":"display: inline-block; vertical-align: top; min-width: 10%;",".sv_qstn .sv_q_select_column > *:not(.sv_technical)":"display: block;",".sv_main .sv_container .sv_body .sv_p_root .sv_qstn .sv_q_select_column textarea":"margin-left: 0; padding-left: 0; line-height: initial;",".sv_main .sv-hidden":"display: none !important;",".sv_main .sv-visuallyhidden":"position: absolute; height: 1px !important; width: 1px !important; overflow: hidden; clip: rect(1px 1px 1px 1px); clip: rect(1px, 1px, 1px, 1px);",".sv_main .sv-progress":"height: 0.19em; background-color: $header-background-color; position: relative;",".sv_main .sv-progress__bar":"background-color: $main-color; height: 100%; position: relative;",".sv_main .sv-paneldynamic__progress-container":"position: relative; display: inline-block; width: calc(100% - 250px); margin-top: 20px;",".sv_main .sv-paneldynamic__add-btn":"float: right;",".sv_main .sv-paneldynamic__add-btn--list-mode":"float: none; margin-top: 0;",".sv_main .sv-paneldynamic__remove-btn":"margin-top: 1.25em;",".sv_main .sv-paneldynamic__remove-btn--right":"margin-top: 0; margin-left: 1.25em;",".sv_main .sv-paneldynamic__prev-btn, .sv_main .sv-paneldynamic__next-btn":"box-sizing: border-box; display: inline-block; cursor: pointer; width: 0.7em; top: -0.28em; position: absolute;",".sv_main .sv-paneldynamic__prev-btn svg, .sv_main .sv-paneldynamic__next-btn svg":"width: 0.7em; height: 0.7em; display: block;",".sv_main .sv-paneldynamic__prev-btn":"left: -1.3em; transform: rotate(90deg);",".sv_main .sv-paneldynamic__next-btn ":"right: -1.3em; transform: rotate(270deg);",".sv_main .sv-paneldynamic__prev-btn.sv-paneldynamic__prev-btn--disabled, .sv_main .sv-paneldynamic__next-btn.sv-paneldynamic__next-btn--disabled":"cursor: auto;",".sv_main .sv-paneldynamic__progress-text":"font-weight: bold; font-size: 0.87em; margin-top: 0.69em; margin-left: 4em",".sv_main .sv-boolean__switch":"display: inline-block; box-sizing: border-box; width: 63px; height: 24px; margin-right: 17px; margin-left: 21px; padding: 2px 3px; vertical-align: middle; border-radius: 12px; cursor: pointer;",".sv_main .sv-boolean__slider":"display: inline-block; width: 20px; height: 20px; transition-duration: .4s; transition-property: margin-left; border: none; border-radius: 100%;",".sv_main .sv-boolean__label":"vertical-align: middle; cursor: pointer;",".sv_main .sv-boolean--indeterminate .sv-boolean__slider":"margin-left: calc(50% - 10px);",".sv_main .sv-boolean input:focus ~ .sv-boolean__switch":"outline-width: 1px; outline-style: solid; outline-offset: 1px;",".sv_main .sv-boolean--checked .sv-boolean__slider":"margin-left: calc(100% - 20px);","[dir='rtl'] .sv-boolean__label ":"float: right;","[dir='rtl'] .sv-boolean--indeterminate .sv-boolean__slider":"margin-right: calc(50% - 0.625em);","[dir='rtl'] .sv-boolean--checked .sv-boolean__slider":"margin-right: calc(100% - 1.25em);","[dir='rtl'] .sv-boolean__switch":"float: right;","[style*='direction:rtl'] .sv-boolean__label ":"float: right;","[style*='direction:rtl'] .sv-boolean--indeterminate .sv-boolean__slider":"margin-right: calc(50% - 0.625em);","[style*='direction:rtl'] .sv-boolean--checked .sv-boolean__slider":"margin-right: calc(100% - 1.25em);","[style*='direction:rtl'] .sv-boolean__switch":"float: right;",".sv_main .sv_q_num":"",".sv_main .sv_q_num + span":"",".sv_main .sjs_sp_container":"position: relative; box-sizing: content-box;",".sv_main .sjs_sp_controls":"position: absolute; left: 0; bottom: 0;",".sv_main .sjs_sp_controls > button":"user-select: none;",".sv_main .sjs_sp_container>div>canvas:focus":"outline: none;",".sv_main .sjs_sp_placeholder":"display: flex; align-items: center; justify-content: center; position: absolute; z-index: 0; user-select: none; pointer-events: none; width: 100%; height: 100%;",".sv_main .sjs_sp_canvas":"position: absolute; top: 0; left: 0;",".sv_main .sjs_sp__background-image":"position: absolute; top: 0; left: 0;",".sv_main .sv_logo":"",".sv_main .sv-logo--left":"display: inline-block; vertical-align: top; margin-right: 2em;",".sv_main .sv-logo--right":"display: inline-block; vertical-align: top; margin-left: 2em; ",".sv_main .sv-logo--top":"display: block; width: 100%; text-align: center;",".sv_main .sv-logo--bottom":"display: block; width: 100%; text-align: center;",".sv_main .sv_header__text":"display: inline-block; vertical-align: top; max-width: 100%; width: 100%",".sv_main .sv-expand-action:before":"content: \"\"; display: inline-block; background-image: url(\"data:image/svg+xml,%3C%3Fxml version='1.0' encoding='utf-8'%3F%3E%3C!-- Generator: Adobe Illustrator 21.1.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) --%3E%3Csvg version='1.1' id='Layer_1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' viewBox='0 0 10 10' style='enable-background:new 0 0 10 10;' xml:space='preserve'%3E%3Cstyle type='text/css'%3E .st0%7Bfill:%23404040;%7D%0A%3C/style%3E%3Cpolygon class='st0' points='2,2 0,4 5,9 10,4 8,2 5,5 '/%3E%3C/svg%3E%0A\"); background-repeat: no-repeat; background-position: center center; height: 10px; width: 12px; margin: auto 8px;",".sv_main .sv-expand-action--expanded:before":"transform: rotate(180deg);",".sv_main .sv-action-bar":"display: flex; position: relative; align-items: center; margin-left: auto; padding: 0 0 0 16px; overflow: hidden; white-space: nowrap;",".sv_main .sv-action-bar-separator":"display: inline-block; width: 1px; height: 24px; vertical-align: middle; margin-right: 16px; background-color: #d6d6d6;",".sv_main .sv-action-bar-item":"-webkit-appearance: none; -moz-appearance: none; appearance: none; display: flex; height: 40px; padding: 8px; box-sizing: border-box; margin-right: 16px; border: none; border-radius: 2px; background-color: transparent; cursor: pointer; line-height: 24px; font-size: 16px; overflow-x: hidden; white-space: nowrap; min-width: auto; font-weight: normal",".sv_main .sv-action-bar-item__title":"vertical-align: middle; white-space: nowrap;",".sv_main .sv-action-bar-item__title--with-icon":"margin-left: 8px;",".sv_main .sv-action__content":"display: flex; flex-direction: row; align-items: center;",".sv_main .sv-action__content > *":"flex: 0 0 auto;",".sv_main .sv-action--hidden":"width: 0px; height: 0px; overflow: hidden;",".sv_main .sv-action-bar-item__icon svg":"display: block;",".sv_main .sv-action-bar-item:active":"opacity: 0.5;",".sv_main .sv-action-bar-item:focus":"outline: none;",".sv_main .sv-title-actions":"display: flex; align-items: center; width: 100%;",".sv_main .sv-title-actions__title":"flex-wrap: wrap; max-width: 90%; min-width: 50%;",".sv_main .sv-title-actions__bar":"min-width: 56px;",".sv_main .sv-title-actions .sv-title-actions__title":"min-width: unset; max-width: unset; flex-wrap: wrap; flex: 0 0 auto;",".sv_main .sv-title-actions .sv-action-title-bar":"min-width: unset; flex: 1 1 auto; justify-content: flex-end;",".sv_main .sv_matrix_cell_actions .sv-action-bar":"margin-left: 0; padding-left: 0;",".sv_main .sv_p_wrapper_in_row":"display: flex; flex-direction: row; align-items: center;",".sv_main .sv_p_remove_btn_right":"margin-left: 1em;",".sv_main .sv-button-group":"display: flex; align-items: center; flex-direction: row; font-size: 16px; height: 48px; overflow: auto;",".sv_main .sv-button-group__item":"display: flex; box-sizing: border-box; flex-direction: row; justify-content: center; align-items: center; width: 100%; padding: 11px 16px; line-height: 24px; border-width: 1px; border-style: solid; outline: none; font-size: 16px; font-weight: 400; cursor: pointer; overflow: hidden;",".sv_main .sv-button-group__item:not(:first-of-type)":"margin-left: -1px;",".sv_main .sv-button-group__item-icon":"display: block; height: 24px;",".sv_main .sv-button-group__item--selected":"font-weight: 600;",".sv_main .sv-button-group__item-decorator":"display: flex; align-items: center; max-width: 100%;",".sv_main .sv-button-group__item-icon + .sv-button-group__item-caption":"margin-left: 8px",".sv_main .sv-button-group__item-caption":"display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;",".sv_main .sv-button-group__item--disabled":"color: cursor: default;","sv-popup":"display: block; position: absolute; z-index: -1;",".sv-popup":"position: fixed; left: 0; top: 0; width: 100vw; height: 100vh; outline: none; z-index: 1500;",".sv-popup.sv-dropdown-popup":"height: 0;",".sv-popup__container":"box-shadow: 0px 2px 6px rgba(0, 0, 0, 0.1); position: absolute; padding: 0;",".sv-popup__body-content":"background-color: var(--background, #fff); border-radius: calc(0.5 * var(--base-unit, 8px)); width: 100%; height: 100%; box-sizing: border-box; display: flex; flex-direction: column; max-height: 90vh; max-width: 100vw;",".sv-popup--modal .sv-list__filter":"padding-top: 8px;",".sv-popup--modal .sv-list__filter-icon":"top: 20px;",".sv-popup--overlay .sv-list__filter":"padding-top: 8px;",".sv-popup--overlay .sv-list__filter-icon":"top: 20px;",".sv-popup--modal":"display: flex; align-items: center; justify-content: center;",".sv-popup--modal .sv-popup__container":"position: static;",".sv-popup--modal .sv-popup__body-content":"padding: calc(4 * var(--base-unit, 8px));",".sv-popup--overlay":"width: 100%;",".sv-popup--overlay .sv-popup__container":"background: rgba(144, 144, 144, 0.5); max-width: 100vw; max-height: calc(100vh - 1 * var(--base-unit, 8px)); height: calc(100vh - 1 * var(--base-unit, 8px)); width: 100%; padding-top: calc(2 * var(--base-unit, 8px)); border: unset;",".sv-popup--overlay .sv-popup__body-content":"border-radius: calc(2 * var(--base-unit, 8px)) calc(2 * var(--base-unit, 8px)) 0px 0px; background: var(--background, #fff); box-shadow: 0px calc(1 * var(--base-unit, 8px)) calc(2 * var(--base-unit, 8px)) rgba(0, 0, 0, 0.1); padding: calc(3 * var(--base-unit, 8px)) calc(2 * var(--base-unit, 8px)) calc(2 * var(--base-unit, 8px)); height: calc(100% - calc(1 * var(--base-unit, 8px))); max-height: 100vh; max-width: 100vw;",".sv-popup--overlay .sv-popup__scrolling-content":"height: calc(100% - (10 * var(--base-unit, 8px)));",".sv-popup--overlay .sv-popup__body-footer":"margin-top: calc(2 * var(--base-unit, 8px));",".sv-popup--overlay .sv-popup__body-footer .sv-action":"width: 100%;",".sv-popup--overlay .sv-popup__body-footer .sv-action-bar":"width: 100%;",".sv-popup--overlay .sv-popup__body-footer-item":"width: 100%;",".sv-popup--overlay .sv-popup__button":"background-color: var(--primary, #19b394); border: 2px solid var(--primary, #19b394); color: var(--primary-foreground, #fff);",".sv-popup__scrolling-content":"height: 100%; overflow: auto; display: flex; flex-direction: column;",".sv-popup__scrolling-content::-webkit-scrollbar":"height: 6px; width: 6px; background-color: var(--background-dim, #f3f3f3);",".sv-popup__scrolling-content::-webkit-scrollbar-thumb":"background: var(--primary-light, rgba(25, 179, 148, 0.1));",".sv-popup__content":"min-width: 100%; height: 100%; display: flex; flex-direction: column; min-height: 0;
vendor: 17,516 bytes, line 16
16",".sv-popup--show-pointer.sv-popup--top .sv-popup__pointer":"transform: translate(calc(-1 * var(--base-unit, 8px))) rotate(180deg);",".sv-popup--show-pointer.sv-popup--bottom .sv-popup__pointer":"transform: translate(calc(-1 * var(--base-unit, 8px)), calc(-1 * var(--base-unit, 8px)));",".sv-popup--show-pointer.sv-popup--right":"transform: translate(calc(1 * var(--base-unit, 8px)));",".sv-popup--show-pointer.sv-popup--right .sv-popup__pointer":"transform: translate(-12px, -4px) rotate(-90deg);",".sv-popup--show-pointer.sv-popup--left":"transform: translate(calc(-1 * var(--base-unit, 8px)));",".sv-popup--show-pointer.sv-popup--left .sv-popup__pointer":"transform: translate(-4px, -4px) rotate(90deg);",".sv-popup__pointer":"display: block; position: absolute;",".sv-popup__pointer:after":"content: ' '; display: block; width: 0; height: 0; border-left: calc(1 * var(--base-unit, 8px)) solid transparent; border-right: calc(1 * var(--base-unit, 8px)) solid transparent; border-bottom: calc(1 * var(--base-unit, 8px)) solid var(--background, #fff); align-self: center;",".sv-popup__body-header":"font-family: var(--font-family, $font-family); font-size: calc(3 * var(--base-unit, 8px)); line-height: calc(4 * var(--base-unit, 8px)); font-style: normal; font-weight: 700; margin-bottom: calc(2 * var(--base-unit, 8px)); color: var(--foreground, #161616);",".sv-popup__body-footer":"display: flex; margin-top: calc(4 * var(--base-unit, 8px));",".sv-popup__body-footer .sv-action-bar":"gap: calc(1.5 * var(--base-unit, 8px));",".sv-popup__button":"padding: calc(2 * var(--base-unit, 8px)) calc(6 * var(--base-unit, 8px)); background: var(--background, #fff); box-shadow: 0px 1px 2px rgba(0, 0, 0, 0.15); border-radius: 4px; margin: 2px; cursor: pointer; font-family: var(--font-family, $font-family); font-style: normal; font-weight: 600; font-size: calc(2 * var(--base-unit, 8px)); line-height: calc(3 * var(--base-unit, 8px)); text-align: center; color: var(--primary, #19b394); border: none; outline: none;",".sv-popup__button:hover":"box-shadow: 0 0 0 2px var(--primary, #19b394);",".sv-popup__button:disabled":"color: var(--foreground-disabled, rgba(#161616, 0.16)); cursor: default;",".sv-popup__button:disabled:hover":"box-shadow: 0px 1px 2px rgba(0, 0, 0, 0.15);",".sv-popup__button.sv-popup__button--apply":"background-color: var(--primary, #19b394); color: var(--primary-foreground, #fff);",".sv-popup__button.sv-popup__button--apply:disabled":"background-color: var(--background-dim, #f3f3f3);",".sv-popup__button.sv-popup__button--danger":"background-color: var(--sjs-special-red, #E50A3E); color: var(--primary-foreground, #fff);",".sv-list":"padding: 0; margin: 0; background: var(--background, #fff); list-style-type: none; overflow-y: auto;",".sv-list__item--with-icon":"padding-top: 12px; padding-bottom: 12px;",".sv-list__item":"width: 100%; box-sizing: border-box; cursor: pointer; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;",".sv-list__item-body":"width: 100%; box-sizing: border-box; font-size: calc(2 * var(--base-unit, 8px)); line-height: calc(3 * var(--base-unit, 8px)); padding-top: calc(1 * var(--base-unit, 8px)); padding-bottom: calc(1 * var(--base-unit, 8px)); padding-inline-end: calc(8 * var(--base-unit, 8px)); padding-inline-start: calc(2 * var(--base-unit, 8px)); cursor: pointer; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; display: flex; gap: calc(2 * 8px);",".sv-list__item-icon":"float: left; width: calc(3 * 8px); height: calc(3 * 8px);",".sv-list__item-icon svg":"display: block;",".sv-list__item-icon use":"fill: #909090;",".sv-list__item:hover .sv-list__item-body":"background-color: var(--background-dim, #f3f3f3);",".sv-list__item.sv-list__item--focused .sv-list__item-body":"background-color: var(--background-dim, #f3f3f3);",".sv-list__loading-indicator":"pointer-events: none;",".sv-list__loading-indicator .sv-list__item-body":"background-color: transparent",".sv-list__item--selected .sv-list__item-icon use":"fill: var(--primary-foreground, #fff);",".sv-list__item.sv-list__item--disabled":"color: var(--foreground-light, #909090); cursor: default;",".sv-list__item span":"white-space: nowrap;",".sv-list__container":"position: relative; display: flex; flex-direction: column; height: 100%; display: flex; flex-direction: column; min-height: 0;",".sv-list__filter":"border-bottom: 1px solid rgba(0, 0, 0, 0.16); background: var(--background, #fff); padding-bottom: calcSize(1);",".sv-list__input":"-webkit-appearance: none; -moz-appearance: none; appearance: none; display: block; box-sizing: border-box; width: 100%; line-height: 24px; padding-left: 56px; padding-right: 24px; padding-top: 12px; padding-bottom: 12px; outline: none; font-size: 1em; border: none",".sv-list__filter-icon":"display: block; position: absolute; top: 12px; left: 16px;",".sv-list__filter-icon .sv-svg-icon":"width: 24px; height: 24px;",".sv-list__empty-container":"width: 100%; box-sizing: border-box; padding: 12px 64px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;",".sv-list__empty-text":"line-height: 24px; font-size: 16px; font-weight: 400; text-align: center; color: var(--foreground-light, #909090);",".sv-skeleton-element":"min-height: 50px;"}}var wp="bootstrap";ti[wp]=vp;var Pp={"$main-color":"#18a689","$text-color":"#404040;","$text-input-color":"#404040;","$progress-text-color":"#9d9d9d","$disable-color":"#dbdbdb","$header-background-color":"#e7e7e7","$disabled-label-color":"rgba(64, 64, 64, 0.5)","$slider-color":"white","$disabled-switch-color":"#9f9f9f","$disabled-slider-color":"#cfcfcf","$foreground-light":"#909090","$foreground-disabled":"#161616","$background-dim":"#f3f3f3","$progress-buttons-color":"#8dd6c7","$progress-buttons-line-color":"#d4d4d4"},kp={".sv_main .sv_q_imgsel.checked label>div":"background-color: $main-color",".sv_main .sv_p_description":"padding-left: 1.66em;",".sv_main .sv_qstn_error_bottom":"margin-top: 20px; margin-bottom: 0;",".sv_main .progress":"width: 60%;",".sv_main .progress-bar":"width: auto; margin-left: 2px; margin-right: 2px;",".sv_main .table>tbody>tr>td":"min-width: 90px;",".sv_main f-panel .sv_qstn":"padding: 0; vertical-align: middle;",".sv_main .sv_q_image":"display: inline-block;",".sv_main .sv_row .sv_qstn:first-child:last-child":"flex: none !important;",".sv_main .sv_row .sv_p_container:first-child:last-child":"flex: none !important;",".sv_main .sv-progress":"background-color: $header-background-color;",".sv_main .sv-progress__bar":"background-color: $main-color;",".sv_main .sv_progress-buttons__list li:before":"border-color: $progress-buttons-color; background-color: $progress-buttons-color;",".sv_main .sv_progress-buttons__list li:after":"background-color: $progress-buttons-line-color;",".sv_main .sv_progress-buttons__list .sv_progress-buttons__page-title":"color: $text-color;",".sv_main .sv_progress-buttons__list .sv_progress-buttons__page-description":"color: $text-color;",".sv_main .sv_progress-buttons__list li.sv_progress-buttons__list-element--passed:before":"border-color: $main-color; background-color: $main-color;",".sv_main .sv_progress-buttons__list li.sv_progress-buttons__list-element--passed + li:after":"background-color: $progress-buttons-color",".sv_main .sv_progress-buttons__list li.sv_progress-buttons__list-element--current:before":"border-color: $main-color; background-color: white;",".sv_main .sv_progress-buttons__list li.sv_progress-buttons__list-element--passed.sv_progress-buttons__list-element--current:before":"border-color: $main-color; background-color: white;",".sv_main .sv-paneldynamic__prev-btn.sv-paneldynamic__prev-btn--disabled, .sv_main .sv-paneldynamic__next-btn.sv-paneldynamic__next-btn--disabled":"fill: $disable-color;",".sv_main .sv-paneldynamic__progress-text":"color: $progress-text-color;",".sv_main .sv-paneldynamic__prev-btn, .sv_main .sv-paneldynamic__next-btn":"fill: $text-color",".sv_main .sv-boolean__switch":"background-color: $main-color;",".sv_main .sv-boolean__slider":"background-color: $slider-color;",".sv_main .sv-boolean__label--disabled":"color: $disabled-label-color;",".sv_main .sv-boolean--disabled .sv-boolean__switch":"background-color: $disabled-switch-color;",".sv_main .sv-boolean--disabled .sv-boolean__slider":"background-color: $disabled-slider-color;",".sv_main .sjs_sp_container":"border: 1px dashed $disable-color;",".sv_main .sjs_sp_placeholder":"color: $foreground-light;",".sv_main .sv_matrix_detail_row":"background-color: #ededed; border-top: 1px solid $header-background-color; border-bottom: 1px solid $header-background-color;",".sv_main .sv-action-bar-item":"color: $text-color;",".sv_main .sv-action-bar-item__icon use":"fill: $foreground-light;",".sv_main .sv-action-bar-item:hover":"background-color: $background-dim;",".sv-skeleton-element":"background-color: $background-dim;"};Cp(),xp(),gl.ThemeColors[wp]=Pp,gl.ThemeCss[wp]=kp;var Vp="bootstrapmaterial";ti[Vp]=bp;var _p={"$main-color":"#18a689","$text-color":"#404040;","$text-input-color":"#404040;","$progress-text-color":"#9d9d9d","$disable-color":"#dbdbdb","$header-background-color":"#e7e7e7","$disabled-label-color":"rgba(64, 64, 64, 0.5)","$slider-color":"white","$disabled-switch-color":"#9f9f9f","$disabled-slider-color":"#cfcfcf","$body-background-color":"#ffffff","$foreground-light":"#909090","$foreground-disabled":"#161616","$background-dim":"#f3f3f3","$progress-buttons-color":"#8dd6c7","$progress-buttons-line-color":"#d4d4d4"},Tp={".sv_main.sv_bootstrapmaterial_css .form-group.is-focused .form-control":"linear-gradient(0deg, $main-color 2px, $main-color 0),linear-gradient(0deg, #D2D2D2 1px, transparent 0);",".sv_main.sv_bootstrapmaterial_css .sv_qstn":"margin-bottom: 1rem;",".sv_main.sv_bootstrapmaterial_css .sv_qstn label.sv_q_m_label":"height: 100%;",".sv_main.sv_bootstrapmaterial_css .sv_q_image":"display: inline-block;",".sv_main .sv_row .sv_qstn:first-child:last-child":"flex: none !important;",".sv_main .sv_row .sv_p_container:first-child:last-child":"flex: none !important;",".sv_main.sv_bootstrapmaterial_css .checkbox input[type=checkbox]:checked + .checkbox-material .check":"border-color: $main-color;",".sv_main.sv_bootstrapmaterial_css label.checkbox-inline input[type=checkbox]:checked + .checkbox-material .check":"border-color: $main-color;",".sv_main.sv_bootstrapmaterial_css .checkbox input[type=checkbox]:checked + .checkbox-material .check:before":"color: $main-color;",".sv_main.sv_bootstrapmaterial_css label.checkbox-inline input[type=checkbox]:checked + .checkbox-material .check:before":"color: $main-color;",".sv_main.sv_bootstrapmaterial_css .radio input[type=radio]:checked ~ .circle":"border-color: $main-color;",".sv_main.sv_bootstrapmaterial_css label.radio-inline input[type=radio]:checked ~ .circle":"border-color: $main-color;",".sv_main.sv_bootstrapmaterial_css .radio input[type=radio]:checked ~ .check":"background-color: $main-color;",".sv_main.sv_bootstrapmaterial_css label.radio-inline input[type=radio]:checked ~ .check":"background-color: $main-color;",".sv_main.sv_bootstrapmaterial_css .btn-default.active":"background-color: $main-color; color: $body-background-color;",".sv_main.sv_bootstrapmaterial_css .btn-default:active":"background-color: $main-color; color: $body-background-color;",".sv_main.sv_bootstrapmaterial_css .btn-secondary.active":"background-color: $main-color; color: $body-background-color;",".sv_main.sv_bootstrapmaterial_css .btn-secondary:active":"background-color: $main-color; color: $body-background-color;",".sv_main.sv_bootstrapmaterial_css .open>.dropdown-toggle.btn-default":"background-color: $main-color; color: $body-background-color;",".sv_main.sv_bootstrapmaterial_css input[type='button'].btn-primary, .sv_main.sv_bootstrapmaterial_css button.btn-primary":"color: $body-background-color; background-color: $main-color;",".sv_main.sv_bootstrapmaterial_css input[type='button'].btn-primary:hover, .sv_main.sv_bootstrapmaterial_css button.btn-primary:hover":"background-color: $main-hover-color;",".sv_main .sv_q_imgsel.checked label>div":"background-color: $main-color;",".sv_main.sv_bootstrapmaterial_css .sv_q_file_remove:hover":"color: $main-color;",".sv_main.sv_bootstrapmaterial_css .form-group input[type=file]":"position: relative; opacity: 1;",".sv_main.sv_bootstrapmaterial_css .progress":"width: 60%; height: 1.5em;",".sv_main.sv_bootstrapmaterial_css .progress-bar":"width: auto; margin-left: 2px; margin-right: 2px;",".sv_main .sv-progress":"background-color: $header-background-color;",".sv_main .sv-progress__bar":"background-color: $main-color;",".sv_main.sv_bootstrapmaterial_css .sv_progress-buttons__list li:before":"border-color: $progress-buttons-color; background-color: $progress-buttons-color;",".sv_main.sv_bootstrapmaterial_css .sv_progress-buttons__list li:after":"background-color: $progress-buttons-line-color;",".sv_main.sv_bootstrapmaterial_css .sv_progress-buttons__list .sv_progress-buttons__page-title":"color: $text-color;",".sv_main.sv_bootstrapmaterial_css .sv_progress-buttons__list .sv_progress-buttons__page-description":"color: $text-color;",".sv_main.sv_bootstrapmaterial_css .sv_progress-buttons__list li.sv_progress-buttons__list-element--passed:before":"border-color: $main-color; background-color: $main-color;",".sv_main.sv_bootstrapmaterial_css .sv_progress-buttons__list li.sv_progress-buttons__list-element--passed + li:after":"background-color: $progress-buttons-color",".sv_main.sv_bootstrapmaterial_css .sv_progress-buttons__list li.sv_progress-buttons__list-element--current:before":"border-color: $main-color; background-color: white;",".sv_main.sv_bootstrapmaterial_css .sv_progress-buttons__list li.sv_progress-buttons__list-element--passed.sv_progress-buttons__list-element--current:before":"border-color: $main-color; background-color: white;",".sv_main .sv-paneldynamic__prev-btn.sv-paneldynamic__prev-btn--disabled, .sv_main .sv-paneldynamic__next-btn.sv-paneldynamic__next-btn--disabled":"fill: $disable-color;",".sv_main .sv-paneldynamic__progress-text":"color: $progress-text-color;",".sv_main .sv-paneldynamic__prev-btn, .sv_main .sv-paneldynamic__next-btn":"fill: $text-color",".sv_main .sv-boolean .checkbox-decorator":"display: none;",".sv_main .sv-boolean__switch":"background-color: $main-color;",".sv_main .sv-boolean__slider":"background-color: $slider-color;",".sv_main .sv-boolean__label.sv-boolean__label--disabled":"color: $disabled-label-color;",".sv_main .sv-boolean__label":"color: $text-color;",".sv_main .sv-boolean--disabled .sv-boolean__switch":"background-color: $disabled-switch-color;",".sv_main .sv-boolean--disabled .sv-boolean__slider":"background-color: $disabled-slider-color;",".sv_main .sv_matrix_detail_row":"background-color: #ededed; border-top: 1px solid $header-background-color; border-bottom: 1px solid $header-background-color;",".sv_main .sjs_sp_container":"border: 1px dashed $disable-color;",".sv_main .sjs_sp_placeholder":"color: $foreground-light;",".sv_main .sv-action-bar-item":"color: $text-color;",".sv_main .sv-action-bar-item__icon use":"fill: $foreground-light;",".sv_main .sv-action-bar-item:hover":"background-color: $background-dim;",".sv-skeleton-element":"background-color: $background-dim;"};Cp(),xp(),gl.ThemeColors[Vp]=_p,gl.ThemeCss[Vp]=Tp;var Sp=vp,Ep=bp;m({localeCode:"ar",strings:{pagePrevText:"Ø§ÙØ³Ø§Ø¨Ù",pageNextText:"Ø§ÙØªØ§ÙÙ",completeText:"Ø¥Ø±Ø³Ø§Ù Ø§ÙØ¨ÙØ§ÙØ§Øª",previewText:"Ù
عاÙÙØ©",editText:"تعدÙÙ",startSurveyText:"Ø¨Ø¯Ø§ÙØ©",otherItemText:"ÙØµ آخر",noneItemText:"ÙØ§ Ø´ÙØ¡",refuseItemText:"Ø±ÙØ¶ Ø§ÙØ¥Ø¬Ø§Ø¨Ø©",dontKnowItemText:"ÙØ§ أعرÙ",selectAllItemText:"اختر اÙÙÙ",deselectAllItemText:"Ø¥ÙØºØ§Ø¡ ØªØØ¯Ùد اÙÙÙ",progressText:"{1} ØµÙØØ© {0} Ù
Ù",indexText:"{0} Ù
Ù {1}",panelDynamicProgressText:"سج٠{0} Ù
Ù {1}",panelDynamicTabTextFormat:"ÙÙØØ© {باÙÙ Ø¥ÙØ¯Ùس}",questionsProgressText:"تÙ
ت Ø§ÙØ¥Ø¬Ø§Ø¨Ø© عÙÙ Ø£Ø³Ø¦ÙØ© {0} / {1}",emptySurvey:"ÙØ§ ØªÙØ¬Ø¯ ØµÙØØ© Ù
Ø±Ø¦ÙØ© أ٠سؤا٠Ù٠اÙÙÙ
ÙØ°Ø¬",completingSurvey:"Ø´ÙØ±Ø§ ÙÙÙ
ÙØ§Ø³ØªÙÙ
ا٠اÙÙÙ
ÙØ°Ø¬!",completingSurveyBefore:"ØªØ¸ÙØ± Ø³Ø¬ÙØ§ØªÙا Ø£ÙÙ ÙØ¯ Ø£ÙÙ
ÙØª ÙØ°Ø§ Ø§ÙØ§Ø³ØªØ·Ùاع باÙÙØ¹Ù.",loadingSurvey:"...ÙØªÙ
تØÙ
Ù٠اÙÙÙ
ÙØ°Ø¬",placeholder:"...اختر",ratingOptionsCaption:"اختار...",value:"اÙÙÙÙ
Ø©",requiredError:".ÙØ±Ø¬Ù Ø§ÙØ¥Ø¬Ø§Ø¨Ø© عÙÙ Ø§ÙØ³Ø¤Ø§Ù",requiredErrorInPanel:"Ø§ÙØ±Ø¬Ø§Ø¡ Ø§ÙØ¥Ø¬Ø§Ø¨Ø© عÙÙ Ø³Ø¤Ø§Ù ÙØ§ØØ¯ عÙÙ Ø§ÙØ£ÙÙ.",requiredInAllRowsError:"ÙØ±Ø¬Ù Ø§ÙØ¥Ø¬Ø§Ø¨Ø© عÙÙ Ø§ÙØ£Ø³Ø¦ÙØ© Ù٠جÙ
ÙØ¹ Ø§ÙØµÙÙÙ",eachRowUniqueError:"ÙØ¬Ø¨ Ø£Ù ÙÙÙÙ ÙÙ٠ص٠ÙÙÙ
Ø© ÙØ±Ùدة.",numericError:"ÙØ¬Ø¨ أ٠تÙÙ٠اÙÙÙÙ
Ø© رÙÙ
ÙØ©.",minError:"ÙØ¬Ø¨ Ø£ÙØ§ تÙ٠اÙÙÙÙ
Ø© ع٠{0}",maxError:"ÙØ¬Ø¨ Ø£ÙØ§ ØªØ²ÙØ¯ اÙÙÙÙ
Ø© ع٠{0}",textNoDigitsAllow:"Ø§ÙØ£Ø±ÙاÙ
ØºÙØ± Ù
سÙ
ÙØ Ø¨ÙØ§.",textMinLength:"Ø§ÙØ±Ø¬Ø§Ø¡ إدخا٠Ù
ا ÙØ§ ÙÙ٠ع٠{0} ØØ±ÙÙ",textMaxLength:"Ø§ÙØ±Ø¬Ø§Ø¡ إدخا٠أÙÙ Ù
Ù {0} ØØ±ÙÙ",textMinMaxLength:"ÙØ±Ø¬Ù Ø¥Ø¯Ø®Ø§Ù Ø£ÙØ«Ø± Ù
Ù {0} ÙØ£ÙÙ Ù
Ù {1} ØØ±ÙÙ",minRowCountError:"ÙØ±Ø¬Ù Ù
ÙØ¡ Ù
ا ÙØ§ ÙÙ٠ع٠{0} Ø§ÙØµÙÙÙ",minSelectError:"ÙØ±Ø¬Ù ØªØØ¯Ùد Ù
ا ÙØ§ ÙÙ٠ع٠{0} اÙÙ
ØªØºÙØ±Ø§Øª",maxSelectError:"ÙØ±Ø¬Ù ØªØØ¯Ùد Ù
ا ÙØ§ ÙØ²Ùد ع٠{0} اÙÙ
ØªØºÙØ±Ø§Øª",numericMinMax:"Ù'{0}' ÙØ¬Ø¨ أ٠تÙÙÙ Ù
ساÙÙØ© Ø£Ù Ø£ÙØ«Ø± Ù
Ù {1} ÙØªØ³Ø§Ù٠أ٠أÙÙ Ù
Ù {2}
vendor: 4,143 bytes, line 16
16ا",numericMin:"Ù'{0}' ÙØ¬Ø¨ أ٠تÙÙÙ Ù
ساÙÙØ© Ø£Ù Ø£ÙØ«Ø± Ù
Ù {1}ا",numericMax:"Ù'{0}' ÙØ¬Ø¨ أ٠تÙÙÙ Ù
ساÙÙØ© أ٠أÙÙ Ù
Ù {1}ا",invalidEmail:"Ø§ÙØ±Ø¬Ø§Ø¡ Ø¥Ø¯Ø®Ø§Ù Ø¨Ø±ÙØ¯ اÙÙØªØ±ÙÙ٠صØÙØ",invalidExpression:"ÙØ¬Ø¨ Ø£Ù ÙØ¹Ø±Ø¶ Ø§ÙØªØ¹Ø¨Ùر: {0} 'ØµÙØ§Ø¨'.",urlRequestError:"Ø·ÙØ¨ إرجاع خطأ '{0}'. {1}ا",urlGetChoicesError:"عاد Ø·ÙØ¨ Ø§ÙØ¨ÙØ§ÙØ§Øª ÙØ§Ø±Øº Ø£Ù 'اÙÙ
سار' ØºÙØ± صØÙØ ",exceedMaxSize:"ÙÙØ¨ØºÙ Ø£ÙØ§ ÙØªØ¬Ø§Ùز ØØ¬Ù
اÙÙ
ÙÙ {0}ا",noUploadFilesHandler:'ÙØ§ ÙÙ
Ù٠تØÙ
Ù٠اÙÙ
ÙÙØ§Øª. ÙØ±Ø¬Ù Ø¥Ø¶Ø§ÙØ© Ù
Ø¹Ø§ÙØ¬ ÙØØ¯Ø« "onUploadFiles".',otherRequiredError:"Ø§ÙØ±Ø¬Ø§Ø¡ إدخا٠ÙÙÙ
Ø© أخرÙ",uploadingFile:"تØÙ
Ù٠اÙÙ
ÙÙ Ø§ÙØ®Ø§Øµ بÙ. ÙØ±Ø¬Ù Ø§ÙØ§Ùتظار عدة Ø«ÙØ§Ù ÙØ§ÙÙ
ØØ§ÙÙØ© ÙØ§ØÙÙØ§",loadingFile:"جار Ø§ÙØªØÙ
ÙÙ...",chooseFile:"اختر اÙÙ
ÙÙØ§Øª...",noFileChosen:"ÙÙ
تÙÙ
Ø¨Ø§Ø®ØªÙØ§Ø± Ù
ÙÙ",filePlaceholder:"Ø§Ø³ØØ¨ Ù
ÙÙØ§ ÙØ£ÙÙØªÙ ÙÙØ§ أ٠اÙÙØ± ÙÙÙ Ø§ÙØ²Ø± Ø£Ø¯ÙØ§Ù ÙØ§Ø®ØªØ± Ù
ÙÙØ§ ÙØªØÙ
ÙÙÙ.",confirmDelete:"ÙÙ ØªØ±ÙØ¯ ØØ°Ù Ø§ÙØ³Ø¬ÙØ",keyDuplicationError:"ÙØ¬Ø¨ أ٠تÙÙÙ ÙØ°Ù اÙÙÙÙ
Ø© ÙØ±Ùدة.",addColumn:"Ø£Ø¶Ù Ø§ÙØ¹Ù
ÙØ¯",addRow:"Ø§Ø¶Ø§ÙØ© صÙ",removeRow:"Ø¥Ø²Ø§ÙØ© صÙ",emptyRowsText:"ÙØ§ ØªÙØ¬Ø¯ صÙÙÙ.",addPanel:"Ø§Ø¶Ù Ø¬Ø¯ÙØ¯",removePanel:"Ø¥Ø²Ø§ÙØ©",showDetails:"Ø§Ø¸ÙØ± Ø§ÙØªÙاصÙÙ",hideDetails:"Ø¥Ø®ÙØ§Ø¡ Ø§ÙØªÙاصÙÙ",choices_Item:"Ø¨ÙØ¯",matrix_column:"عÙ
ÙØ¯",matrix_row:"صÙ",multipletext_itemname:"ÙØµ",savingData:"ÙØªÙ
ØÙظ اÙÙØªØ§Ø¦Ø¬ عÙÙ Ø§ÙØ®Ø§Ø¯Ù
...",savingDataError:"ØØ¯Ø« خطأ ÙÙÙ
ÙØªÙ
ÙÙ Ù
Ù ØÙظ اÙÙØªØ§Ø¦Ø¬.",savingDataSuccess:"تÙ
ØÙظ اÙÙØªØ§Ø¦Ø¬ Ø¨ÙØ¬Ø§Ø!",savingExceedSize:"Ø±Ø¯Ù ÙØªØ¬Ø§Ùز 64 ÙÙÙÙØ¨Ø§Ùت. ÙØ±Ø¬Ù تÙÙÙÙ ØØ¬Ù
اÙÙ
ÙÙ (اÙÙ
ÙÙØ§Øª) ÙØ§ÙÙ
ØØ§ÙÙØ© Ù
رة Ø£Ø®Ø±Ù Ø£Ù Ø§ÙØ§ØªØµØ§Ù بÙ
اÙÙ Ø§ÙØ§Ø³ØªØ·Ùاع.",saveAgainButton:"ØØ§ÙÙ Ù
جددا",timerMin:"دÙÙÙØ©",timerSec:"ثاÙÙØ©",timerSpentAll:"ÙÙØ¯ Ø£ÙÙÙØª {0} عÙÙ ÙØ°Ù Ø§ÙØµÙØØ© Ù {1} إجÙ
Ø§ÙØ§Ù.",timerSpentPage:"ÙÙØ¯ Ø£ÙÙÙØª {0} عÙÙ ÙØ°Ù Ø§ÙØµÙØØ©.",timerSpentSurvey:"ÙÙØ¯ Ø£ÙÙÙØª {0} إجÙ
Ø§ÙØ§Ù.",timerLimitAll:"ÙÙØ¯ Ø£ÙÙÙØª {0} Ù
Ù {1} ÙÙ ÙØ°Ù Ø§ÙØµÙØØ© Ù {2} Ù
٠إجÙ
اÙÙ {3}.",timerLimitPage:"ÙÙØ¯ Ø£ÙÙÙØª {0} Ù
Ù {1} ÙÙ ÙØ°Ù Ø§ÙØµÙØØ©.",timerLimitSurvey:"ÙÙØ¯ Ø£ÙÙÙØª {0} Ù
٠إجÙ
اÙÙ {1}.",clearCaption:"ÙØ§Ø¶Ø",signaturePlaceHolder:"ÙÙØ¹ ÙÙØ§",signaturePlaceHolderReadOnly:"ÙØ§ ÙÙØ¬Ø¯ تÙÙÙØ¹",chooseFileCaption:"اختر Ù
ÙÙ",takePhotoCaption:"Ø§ÙØªÙاط ØµÙØ±Ø©",photoPlaceholder:"اÙÙØ± ÙÙÙ Ø§ÙØ²Ø± Ø£Ø¯ÙØ§Ù ÙØ§ÙØªÙØ§Ø· ØµÙØ±Ø© باستخداÙ
اÙÙØ§Ù
ÙØ±Ø§.",fileOrPhotoPlaceholder:"ÙÙ
Ø¨Ø³ØØ¨ Ù
ÙÙ ÙØ¥ÙÙØ§ØªÙ Ø£Ù ØªØØ¯ÙØ¯Ù ÙØªØÙ
ÙÙÙ Ø£Ù Ø§ÙØªÙاط ØµÙØ±Ø© باستخداÙ
اÙÙØ§Ù
ÙØ±Ø§.",replaceFileCaption:"استبدا٠اÙÙ
ÙÙ",removeFileCaption:"ÙÙ
Ø¨Ø¥Ø²Ø§ÙØ© ÙØ°Ø§ اÙÙ
ÙÙ",booleanCheckedLabel:"ÙØ¹Ù
",booleanUncheckedLabel:"ÙØ§",confirmRemoveFile:"ÙÙ Ø£ÙØª Ù
ØªØ£ÙØ¯ Ø£ÙÙ ØªØ±ÙØ¯ Ø¥Ø²Ø§ÙØ© ÙØ°Ø§ اÙÙ
ÙÙ: {0}Ø",confirmRemoveAllFiles:"ÙÙ Ø£ÙØª Ù
ØªØ£ÙØ¯ Ø£ÙÙ ØªØ±ÙØ¯ Ø¥Ø²Ø§ÙØ© ÙØ§ÙØ© اÙÙ
ÙÙØ§ØªØ",questionTitlePatternText:"عÙÙØ§Ù Ø§ÙØ³Ø¤Ø§Ù",modalCancelButtonText:"Ø¥ÙØºØ§Ø¡ Ø§ÙØ£Ù
ر",modalApplyButtonText:"طبÙ",filterStringPlaceholder:"Ø§ÙØªØ¨ ÙÙØ¨ØØ«...",emptyMessage:"ÙØ§ ØªÙØ¬Ø¯ Ø¨ÙØ§Ùات ÙÙØ¹Ø±Ø¶",noEntriesText:"ÙØ§ ØªÙØ¬Ø¯ Ø¥Ø¯Ø®Ø§ÙØ§Øª ØØªÙ Ø§ÙØ¢Ù.\nاÙÙØ± ÙÙÙ Ø§ÙØ²Ø± Ø£Ø¯ÙØ§Ù ÙØ¥Ø¶Ø§ÙØ© Ø¥Ø¯Ø®Ø§Ù Ø¬Ø¯ÙØ¯.",noEntriesReadonlyText:"ÙØ§ ØªÙØ¬Ø¯ Ø¥Ø¯Ø®Ø§ÙØ§Øª.",tabTitlePlaceholder:"ÙÙØØ© Ø¬Ø¯ÙØ¯Ø©",more:"Ø£ÙØ«Ø±",tagboxDoneButtonCaption:"Ù
ÙØ§ÙÙ",selectToRankEmptyRankedAreaText:"ÙØªÙ
ØªØ±ØªÙØ¨ جÙ
ÙØ¹ Ø§ÙØ®Ùارات",selectToRankEmptyUnrankedAreaText:"ÙÙ
Ø¨Ø³ØØ¨ ÙØ¥Ø³Ùاط Ø§ÙØ®Ùارات ÙÙØ§ ÙØªØ±ØªÙØ¨ÙØ§",ok:"Ù
ÙØ§ÙÙ",cancel:"Ø¥ÙØºØ§Ø¡ Ø§ÙØ£Ù
ر"},nativeName:"Ø§ÙØ¹Ø±Ø¨ÙØ©",englishName:"Arabic",rtl:!0});
vendor: 15,052 bytes, line 16
16m({localeCode:"eu",strings:{pagePrevText:"Aurrekoa",pageNextText:"Hurrengoa",completeText:"Bukatu",previewText:"Aurrebista",editText:"Editatu",startSurveyText:"Hasi",otherItemText:"Beste bat (zehaztu)",noneItemText:"Bat ere ez",refuseItemText:"Erantzuteari uko egin",dontKnowItemText:"Ez dakit",selectAllItemText:"Guztia hautatu",deselectAllItemText:"Guztiaren aukeraketa bertan behera utzi",progressText:"{1}-(e)tik {0} orrialde",indexText:"{1} {0}",panelDynamicProgressText:"{0} errigistro {1}-(e)tik",panelDynamicTabTextFormat:"Panel {panelIndex}",questionsProgressText:"Erantzundako galderak {0}/{1}",emptySurvey:"Ez dago orrialde bistaragarririk edo ez dago galderarik.",completingSurvey:"Eskerrik asko galdetegia erantzuteagatik!",completingSurveyBefore:"Gure datuek diote dagoeneko galdetegia erantzun duzula.",loadingSurvey:"Galdetegia kargatzen...",placeholder:"Hautatu...",ratingOptionsCaption:"Aukeratu...",value:"balioa",requiredError:"Mesedez, galdera erantzun.",requiredErrorInPanel:"Mesedez, gutxienez galdera bat erantzun.",requiredInAllRowsError:"Mesedez, errenkadako galdera guztiak erantzun.",eachRowUniqueError:"Ilara bakoitzak balio bakarra izan behar du.",numericError:"Estimazioa zenbakizkoa izan behar du.",minError:"Balioa ez da {0} baino txikiagoa izan behar",maxError:"Balioa ez da {0} baino handiagoa izan behar",textNoDigitsAllow:"Ezin da zenbakirik egin.",textMinLength:"Mesedez, gutxienez {0} karaktere erabili behar dira.",textMaxLength:"Mesedez, gehienez {0} karaktere erabili behar dira.",textMinMaxLength:"Mesedez, gehienez {0} eta gutxienez {1} karaktere erabili behar dira.",minRowCountError:"Mesedez, gutxienez {0} errenkada bete.",minSelectError:"Mesedez, gutxienez {0} aukera hautatu.",maxSelectError:"Mesedez, {0} aukera baino gehiago ez hautatu.",numericMinMax:"El '{0}' debe de ser igual o más de {1} y igual o menos de {2}",numericMin:"'{0}' {1} baino handiagoa edo berdin izan behar da",numericMax:"'{0}' {1} baino txikiago edo berdin izan behar da",invalidEmail:"Mesedez, baliozko emaila idatz ezazu.",invalidExpression:"{0} adierazpenak 'egiazkoa' itzuli beharko luke.",urlRequestError:"Eskaerak '{0}' errorea itzuli du. {1}",urlGetChoicesError:"La solicitud regresó vacÃo de data o la propiedad 'trayectoria' no es correcta",exceedMaxSize:"Fitxategiaren tamaina ez da {0} baino handiagoa izan behar.",noUploadFilesHandler:"Artxiboak ezin dira kargatu. Gaineratu kontrolatzaile bat 'onUploadFiles' ekitaldirako.",otherRequiredError:"Mesedez, beste estimazioa gehitu.",uploadingFile:"Zure fitxategia igotzen ari da. Mesedez, segundo batzuk itxaron eta saiatu berriro.",loadingFile:"Kargatzen...",chooseFile:"Fitxategia(k) hautatu...",noFileChosen:"Ez da inolako fitxategirik hautatu",filePlaceholder:"Arrastatu eta askatu artxibo bat hemen edo klik egin beheko botoian eta aukeratu artxibo bat kargatzeko.",confirmDelete:"¿Erregistroa borratu nahi al duzu?",keyDuplicationError:"Balio hau bakarra izan behar du.",addColumn:"Zutabe bat gehitu",addRow:"Errenkada bat gehitu",removeRow:"Errenkada bat kendu",emptyRowsText:"Ez dago errenkadarik.",addPanel:"Berria gehitu",removePanel:"Kendu",showDetails:"Xehetasunak erakutsi",hideDetails:"Xehetasunak ezkutatu",choices_Item:"artikulua",matrix_column:"Zutabea",matrix_row:"Errenkada",multipletext_itemname:"testua",savingData:"Erantzunak zerbitzarian gordetzen ari dira...",savingDataError:"Erroreren bat gertatu eta erantzunak ez dira zerbitzarian gorde ahal izan.",savingDataSuccess:"Erantzunak egoki gorde dira!",savingExceedSize:"Erantzuna 64 KB-tik gorakoa da. Murriztu artxiboaren tamaina, eta berriro saiatu edo jarri harremanetan inkesta baten jabearekin.",saveAgainButton:"Berriro saiatu.",timerMin:"min",timerSec:"seg",timerSpentAll:"{0} erabili duzu orrialde honetan eta orotara {1}.",timerSpentPage:"Zuk {0} erabili duzu.",timerSpentSurvey:"Orotara gastatu duzu.",timerLimitAll:"{0} gastatu duzu {1}-(e)tik orrialde honetan eta orotara {2} {3}-(e)tik.",timerLimitPage:"{0} gastatu duzu orrialde honetan {1}-(e)tik.",timerLimitSurvey:"Zuk orotara {0} gastatu duzu {1}-(e)tik.",clearCaption:"Hustu",signaturePlaceHolder:"Sinatu hemen",signaturePlaceHolderReadOnly:"Sinadurarik gabe",chooseFileCaption:"Fitxategia hautatu",takePhotoCaption:"Argazkia hartu",photoPlaceholder:"Egin klik beheko botoian, kamerarekin argazki bat hartzeko.",fileOrPhotoPlaceholder:"Arrastatu eta askatu artxibo bat kamerarekin argazki bat kargatzeko edo hartzeko.",replaceFileCaption:"Artxiboa ordeztu",removeFileCaption:"Fitxategi hau ezabatu",booleanCheckedLabel:"Bai",booleanUncheckedLabel:"Ez",confirmRemoveFile:"Ziur zaude hurrengo fitxategia ezabatu nahi duzula: {0}?",confirmRemoveAllFiles:"Ziur al zaude fitxategi guztiak ezabatu nahi dituzula?",questionTitlePatternText:"Galderaren izenburua",modalCancelButtonText:"Ezeztatu",modalApplyButtonText:"Ezarri",filterStringPlaceholder:"Idatzi bila...",emptyMessage:"Ez daturik erakusteko",noEntriesText:"Oraindik ez sarrerarik.\nKlik beheko botoian klik egin sarrera berri bat eransteko.",noEntriesReadonlyText:"Ez sarrerarik.",tabTitlePlaceholder:"Panel berria",more:"Gehiago",tagboxDoneButtonCaption:"Ados",selectToRankEmptyRankedAreaText:"Aukera guztiak sailkatuta daude",selectToRankEmptyUnrankedAreaText:"Arrastaka eta askatzen ditu hemen sailkatzeko",ok:"Ados",cancel:"Ezeztatu"},nativeName:"euskara",englishName:"Basque"});m({localeCode:"bg",strings:{pagePrevText:"Ðазад",pageNextText:"ÐапÑед",completeText:"ÐÑай",previewText:"ÐизÑализаÑиÑ",editText:"ÑедакÑиÑане",startSurveyText:"ÐаÑало",otherItemText:"ÐÑÑго (опиÑеÑе)",noneItemText:"ÐиÑо един",refuseItemText:"ÐÑказва да оÑговоÑи",dontKnowItemText:"Ðе знам",selectAllItemText:"ÐÑиÑки",deselectAllItemText:"ÐÑемаÑ
ване на избоÑа на вÑиÑки",progressText:"ÑÑÑ. {0}, обÑо ÑÑÑ. {1}",indexText:"{0} на {1}",panelDynamicProgressText:"ÐÐ°Ð¿Ð¸Ñ {0} Ð¾Ñ {1}",panelDynamicTabTextFormat:"Ðанел {panelIndex}",questionsProgressText:"ÐÑговоÑени на {0} / {1} вÑпÑоÑа",emptySurvey:"ÐнкеÑаÑа не ÑÑдÑÑжа видими ÑÑÑаниÑи или вÑпÑоÑи.",completingSurvey:"ÐлагодаÑим ви за ÑÑаÑÑиеÑо в анкеÑаÑа!",completingSurveyBefore:"Ðзглежда, Ñе вие веÑе ÑÑе попÑлнили анкеÑаÑа.",loadingSurvey:"ÐаÑеждане на анкеÑаÑа...",placeholder:"ÐзбеÑеÑе...",ratingOptionsCaption:"ÐÑбÑан...",value:"value",requiredError:"ÐолÑ, оÑговоÑеÑе на ÑÐ»ÐµÐ´Ð½Ð¸Ñ Ð²ÑпÑоÑ.",requiredErrorInPanel:"ÐолÑ, оÑговоÑеÑе поне на един Ð¾Ñ Ð²ÑпÑоÑиÑе.",requiredInAllRowsError:"ÐолÑ, оÑговоÑеÑе на вÑпÑоÑиÑе на вÑиÑки Ñедове.",eachRowUniqueError:"ÐÑеки Ñед ÑÑÑбва да има Ñникална ÑÑойноÑÑ.",numericError:"СÑойноÑÑÑа Ñледва да бÑде ÑиÑло.",minError:"СÑойноÑÑÑа не ÑÑÑбва да бÑде по-малка Ð¾Ñ {0}",maxError:"СÑойноÑÑÑа не ÑÑÑбва да бÑде по-голÑма Ð¾Ñ {0}",textNoDigitsAllow:"ÐомеÑаÑа не Ñа позволени.",textMinLength:"ÐолÑ, използвайÑе поне {0} Ñимвола.",textMaxLength:"ÐолÑ, използвайÑе не повеÑе Ð¾Ñ {0} Ñимвола.",textMinMaxLength:"ÐолÑ, използвайÑе повеÑе Ð¾Ñ {0} и по-малко Ð¾Ñ {1} Ñимвола.",minRowCountError:"ÐолÑ, попÑлнеÑе поне {0} Ñеда.",minSelectError:"ÐолÑ, избеÑеÑе поне {0} ваÑианÑа.",maxSelectError:"ÐолÑ, избеÑеÑе не повеÑе Ð¾Ñ {0} ваÑианÑа.",numericMinMax:"СÑойноÑÑÑа '{0}' Ñледва да бÑде Ñавна или по-голÑма Ð¾Ñ {1} и Ñавна или по-малка Ð¾Ñ {2}",numericMin:"СÑойноÑÑÑа '{0}' Ñледва да бÑде Ñавна или по-голÑма Ð¾Ñ {1}",numericMax:"СÑойноÑÑÑа '{0}' Ñледва да бÑде Ñавна или по-малка Ð¾Ñ {1}",invalidEmail:"ÐолÑ, вÑведеÑе валиден адÑÐµÑ Ð½Ð° елекÑÑонна поÑа.",invalidExpression:"ÐзÑазÑÑ: {0} ÑÑÑбва да дава ÑезÑлÑÐ°Ñ 'true' (иÑÑина).",urlRequestError:"ÐаÑвкаÑа води до гÑеÑка '{0}'. {1}",urlGetChoicesError:"ÐаÑвкаÑа не вÑÑÑа данни или ÑаÑÑÑа 'path' (пÑÑ Ð´Ð¾ ÑÑÑÑÐµÐ½Ð¸Ñ ÑеÑÑÑÑ Ð½Ð° ÑÑÑвÑÑа) е непÑавилно зададена",exceedMaxSize:"РазмеÑÑÑ Ð½Ð° Ñайла Ñледва да не пÑевиÑава {0}.",noUploadFilesHandler:'ФайловеÑе не Ð¼Ð¾Ð³Ð°Ñ Ð´Ð° бÑÐ´Ð°Ñ ÐºÐ°Ñени. ÐолÑ, добавеÑе манипÑлаÑÐ¾Ñ Ð·Ð° ÑÑбиÑиеÑо "onUploadFiles".',otherRequiredError:"ÐолÑ, вÑведеÑе дÑÑгаÑа ÑÑойноÑÑ.",uploadingFile:"ÐаÑÐ¸Ñ Ñайл Ñе заÑежда на ÑÑÑвÑÑа. ÐолÑ, изÑакайÑе нÑколко ÑекÑнди и Ñогава опиÑвайÑе оÑново.",loadingFile:"ÐаÑеждане...",chooseFile:"ÐзбеÑеÑе Ñайл(ове)...",noFileChosen:"ÐÑма избÑан Ñайл",filePlaceholder:"ÐлÑзнеÑе и пÑÑнеÑе Ñайл ÑÑк или ÑÑакнеÑе вÑÑÑ
Ñ Ð±ÑÑона по-Ð´Ð¾Ð»Ñ Ð¸ избеÑеÑе Ñайл за каÑване.",confirmDelete:"ÐелаеÑе ли да изÑÑиеÑе запиÑа?",keyDuplicationError:"СÑойноÑÑÑа Ñледва да бÑде Ñникална.",addColumn:"ÐобавÑне на колона",addRow:"ÐобавÑне на Ñед",removeRow:"ÐÑемаÑ
ване на Ñед",emptyRowsText:"ÐÑма Ñедове.",addPanel:"ÐобавÑне на панел",removePanel:"ÐÑемаÑ
ване на панел",showDetails:"Ðоказване на подÑобни данни",hideDetails:"СкÑий подÑобниÑе данни",choices_Item:"елеменÑ",matrix_column:"Ðолона",matrix_row:"Ред",multipletext_itemname:"ТекÑÑ",savingData:"РезÑлÑаÑиÑе Ñе Ð·Ð°Ð¿Ð°Ð·Ð²Ð°Ñ Ð½Ð° ÑÑÑвÑÑа...",savingDataError:"ÐоÑади вÑзникнала гÑеÑка ÑезÑлÑаÑиÑе не можаÑ
а да бÑÐ´Ð°Ñ Ð·Ð°Ð¿Ð°Ð·ÐµÐ½Ð¸.",savingDataSuccess:"РезÑлÑаÑиÑе бÑÑ
а запазени ÑÑпеÑно!",savingExceedSize:"ÐаÑиÑÑ Ð¾ÑÐ³Ð¾Ð²Ð¾Ñ Ð½Ð°Ð´Ñ
вÑÑÐ»Ñ 64KB. ÐамалеÑе ÑазмеÑа на ваÑиÑе Ñайлове и опиÑайÑе оÑново или Ñе ÑвÑÑжеÑе ÑÑÑ ÑобÑÑвеника на пÑоÑÑванеÑо.",saveAgainButton:"Ðов опиÑ",timerMin:"мин",timerSec:"Ñек",timerSpentAll:"Ðие използваÑ
Ñе {0} на Ñази ÑÑÑаниÑа и обÑо {1}.",timerSpentPage:"Ðие използваÑ
Ñе {0} на Ñази ÑÑÑаниÑа.",timerSpentSurvey:"Ðие използваÑ
Ñе обÑо {0}.",timerLimitAll:"Ðие изпозваÑ
Ñе {0} Ð¾Ñ {1} на Ñази ÑÑÑаниÑа и обÑо {2} Ð¾Ñ {3}.",timerLimitPage:"Ðие използваÑ
Ñе {0} Ð¾Ñ {1} на Ñази ÑÑÑаниÑа.",timerLimitSurvey:"Ðие използваÑ
Ñе обÑо {0} Ð¾Ñ {1}.",clearCaption:"ÐаÑално ÑÑÑÑоÑние",signaturePlaceHolder:"ÐодпиÑеÑе ÑÑк",signaturePlaceHolderReadOnly:"ÐÑма подпиÑ",chooseFileCaption:"ÐзбеÑеÑе Ñайл",takePhotoCaption:"ÐапÑавеÑе Ñнимка",photoPlaceholder:"ÐликнеÑе вÑÑÑ
Ñ Ð±ÑÑона по-долÑ, за да напÑавиÑе Ñнимка Ñ Ð¿Ð¾Ð¼Ð¾ÑÑа на камеÑаÑа.",fileOrPhotoPlaceholder:"ÐлÑзнеÑе и пÑÑнеÑе или избеÑеÑе Ñайл за каÑване или пÑавене на Ñнимка Ñ Ð¿Ð¾Ð¼Ð¾ÑÑа на камеÑаÑа.",replaceFileCaption:"ÐамеÑÑване на Ñайл",removeFileCaption:"ÐÑемаÑ
ване на Ñайла",booleanCheckedLabel:"Ðа",booleanUncheckedLabel:"Ðе",confirmRemoveFile:"ÐаиÑÑина ли иÑкаÑе да пÑемаÑ
неÑе Ñози Ñайл: {0}?",confirmRemoveAllFiles:"ÐаиÑÑина ли иÑкаÑе да пÑемаÑ
неÑе вÑиÑки Ñайлове?",questionTitlePatternText:"Ðаглавие на вÑпÑоÑа",modalCancelButtonText:"ÐÑмени",modalApplyButtonText:"ÐÑилагам",filterStringPlaceholder:"ÐÑведеÑе за ÑÑÑÑене...",emptyMessage:"ÐÑма данни за показване",noEntriesText:"ÐÑе оÑе нÑма запиÑи.\nЩÑакнеÑе вÑÑÑ
Ñ Ð±ÑÑона по-долÑ, за да добавиÑе нов запиÑ.",noEntriesReadonlyText:"ÐÑма запиÑи.",tabTitlePlaceholder:"Ðов панел",more:"ÐÑе",tagboxDoneButtonCaption:"ÐобÑе",selectToRankEmptyRankedAreaText:"ÐÑиÑки вÑзможноÑÑи за Ð¸Ð·Ð±Ð¾Ñ Ñа клаÑиÑани",selectToRankEmptyUnrankedAreaText:"ÐлÑзнеÑе и пÑÑнеÑе опÑии ÑÑк, за да ги клаÑиÑаÑе",ok:"ÐобÑе",cancel:"ÐÑмени"},nativeName:"бÑлгаÑÑки",englishName:"Bulgarian"});m({localeCode:"mm",strings:{pagePrevText:"áá±á¬ááºááá¯á·",pageNextText:"áá¾á±á·ááá¯á·",completeText:"áá¼á®á¸áá¯á¶á¸áá«áá¼á®",previewText:"áá¼áá¯áááºáá¼áá·áºáá¾á¯áááº",editText:"áááºá¸áá¼ááºáááº",startSurveyText:"á
áááºáááº",otherItemText:"á¡áá¼á¬á¸ (áá±á¬áºáá¼áá«)",noneItemText:"áá¬áá»á¾ááá¾ááá«",refuseItemText:"áá¼á±ááá¯áááºáá¼ááºá¸áááºáááº",dontKnowItemText:"ááááá«",selectAllItemText:"á¡á¬á¸áá¯á¶á¸áá½á±á¸áá»ááºáá«",deselectAllItemText:"á¡á¬á¸áá¯á¶á¸ááá½á±á¸áá»ááºáá«",progressText:"á
á¬áá»ááºáá¾á¬ {0}/{1}",indexText:"{0}/{1}",panelDynamicProgressText:"{0}/{1}",panelDynamicTabTextFormat:"áááºá¸ááẠ{panelIndex}",questionsProgressText:"áá±á¸áá½ááºá¸áá»á¬á¸ {0}/{1} áá¼á±ááá¯áá¼á®á¸áá¼á®",emptySurvey:"áá®á
á
áºáááºá¸áá½áẠáá¼ááºáá¬áá±á¸áá½ááºá¸áá»á¬á¸ááá¾ááá«á",completingSurvey:"á
á
áºáááºá¸ááá¯áá¼á®á¸áá¼á±á¬ááºá
á½á¬áá¼á±ááá¯áá±á¸áá²á·ááá·áºá¡áá½ááºáá»á±á¸áá°á¸áááºáá«áááºá",completingSurveyBefore:"áá®á
á
áºáááºá¸ááᯠáá»á¾áá±áá¼á®á¸áá¬á¸áá¼á±ááá¯áá¬á¸áá«áááºá",loadingSurvey:"á
á
áºáááºá¸ááá¯áá¯ááºáá±á¬ááºáá±áááº...",placeholder:"áá½á±á¸áá»ááºáá«...",ratingOptionsCaption:"áá½á±á¸áá»ááºáá«...",value:"áááºááá¯á¸",requiredError:"áá¼á±ááá¯áááºááá¯á¡ááºáá«áááºá",requiredErrorInPanel:"áá¼á±ááá¯áááºááá¯á¡ááºáá«ááẠ- á¡ááá
vendor: 4,614 bytes, line 16
16ºá¸áá¯á¶á¸áá
áºáá¯ááá¯áá¼á±ááá¯áá«á",requiredInAllRowsError:"á¡áááºá¸á¡á¬á¸áá¯á¶á¸áá½ááºáá¼á±ááá¯áááºááá¯á¡ááºáá«áááºá",eachRowUniqueError:"á¡áááºá¸ááá¯ááºá¸áá½ááºáááºáá°áá¼á±ááá¯áá¾á¯ááá¾áááá«á",numericError:"áááºááá¯á¸áááºááááºá¸ááááºá¸áá¼á
áºááá«áááºá",minError:"áááºááá¯á¸ááẠ{0} áááºááááºá¸ááá«á",maxError:"áááºááá¯á¸ááẠ{0} áááºááá»á±á¬áºááá«á",textNoDigitsAllow:"ááááºá¸ááááºá¸áá»á¬á¸ááá¯áá½áá·áºááá¼á¯áá«á",textMinLength:"á¡áááºá¸áá¯á¶á¸ {0} áá¯á¶á¸áá¼áá·áºá
á½ááºáá«á",textMaxLength:"á¡áá»á¬á¸áá¯á¶á¸ {0} áá¯á¶á¸áááá¬áá¼áá·áºá
á½ááºáá«á",textMinMaxLength:"á¡áááºá¸áá¯á¶á¸ {0} áá¾áá·áºá¡áá»á¬á¸áá¯á¶á¸ {1} áá¯á¶á¸áá¼áá·áºá
á½ááºáá«á",minRowCountError:"á¡áááºá¸áá¯á¶á¸ {0} á¡áááºá¸áá¼áá·áºá
á½ááºáá«á",minSelectError:"á¡áááºá¸áá¯á¶á¸ {0} áá½á±á¸áá»ááºáá»ááºáá»á¬á¸áá½á±á¸áá«á",maxSelectError:"á¡áá»á¬á¸áá¯á¶á¸ {0} áá½á±á¸áá»ááºáá»ááºáá»á¬á¸áá¬áá½á±á¸áá«á",numericMinMax:"â{0}â ááẠ{1} áá¾áá·áº {2} á¡áá¼á¬á¸áá¼á
áºááááºá",numericMin:"â{0}â ááẠ{1} áááºááááºá¸ááá«á",numericMax:"â{0}â ááẠ{1} áááºááá»á±á¬áºááá«á",invalidEmail:"ááá¬á¸áááºáá±á¬ á¡á®á¸áá±á¸ááºááááºá
á¬ááá¯ááá¯ááºááá·áºáá«á",invalidExpression:"á¡áá±á¬ááºá¡áá¬á¸ {0} ááẠ'true' áá¼ááºááá·áºáááºá",urlRequestError:"áá±á¬ááºá¸ááá¯áá¾á¯áá½áẠá¡áá¾á¬á¸ '{0}' áá¼á
áºáá²á·áááºá {1}",urlGetChoicesError:"áá±á¬ááºá¸ááá¯áá¾á¯áá½ááºáá±áá¬ááá¾ááá«á ááá¯á·ááá¯áẠ'path' ááá¯ááºááá¯ááºáá¾á¯áá¾á¬áá¾á¬á¸áá±áá«áááºá",exceedMaxSize:"ááá¯ááºá¡áá½ááºá¡á
á¬á¸ááẠ{0} áááºááá»á±á¬áºááá«á",noUploadFilesHandler:"ááá¯ááºáá»á¬á¸ááá¯á¡ááºáá¯ááºáá¯ááºáááááá¯ááºáá«á",otherRequiredError:"áá¼á±ááá¯áááºááá¯á¡ááºáá«áááºá áááºááá¯á¸áá
áºáá¯ááá¯ááºááá·áºáá«á",uploadingFile:"ááá¯ááºáááºáá±áááºá áááá
áºááá¯ááºá¸á
á±á¬ááºá·áá¼á®á¸áá¼ááºáá¼áá¯á¸á
á¬á¸áá«á",loadingFile:"áááºáá±áááº...",chooseFile:"ááá¯ááº(áá»á¬á¸) áá½á±á¸áá»ááºáá«...",noFileChosen:"ááá¯ááºááá½á±á¸ááá±á¸áá«",filePlaceholder:"ááá¯ááºáá
áºáá¯á¡á¬á¸á¤áá±áá¬áá½ááºáá½á²áá»áá¼á®á¸á¡á±á¬ááºáá½ááºáá¾ááá±á¬ááá¯ááºááá¯áá¾áááºáá«á",confirmDelete:"á¤áá¾ááºáááºá¸ááá¯áá»ááºáááºáá¾á¬ áá±áá»á¬áá«ááá¬á¸?",keyDuplicationError:"á¤áááºááá¯á¸áááºáá°á¸áá¼á¬á¸áá¼á
áºááá«áááºá",addColumn:"áá±á¬áºáá¶ááá·áºáááº",addRow:"áááºá¸ááá·áºáááº",removeRow:"áááºáá¾á¬á¸áááº",emptyRowsText:"áááºá¸áá»á¬á¸ááá¾ááá«á",addPanel:"á¡áá
áºááá·áºáá«",removePanel:"áááºáá¾á¬á¸áá«",showDetails:"á¡áá±á¸á
áááºáá¼áááº",hideDetails:"á¡áá±á¸á
áááºáá»á±á¬ááºáááº",choices_Item:"á¡áá¬",matrix_column:"áá±á¬áºáá¶",matrix_row:"áááºá¸",multipletext_itemname:"á
á¬áá¬á¸",savingData:"ááááºáá»á¬á¸ááá¯áá¬áá¬áá½ááºááááºá¸áááºá¸áá±áááº...",savingDataError:"á¡áá¾á¬á¸áá
áºáá¯áá¼á
áºáá¼á®á¸ ááááºáá»á¬á¸ááá¯ááááºá¸áááºá¸áááááá¯ááºáá«á",savingDataSuccess:"ááááºáá»á¬á¸ááá¯á¡á±á¬ááºáá¼ááºá
á½á¬ááááºá¸áááºá¸áá¼á®á¸áá«áá¼á®á",savingExceedSize:"ááá·áºáá¼á±ááá¯áá¾á¯ááẠ64KB áá»á±á¬áºáá±áá«áááºá",saveAgainButton:"áááºáá¼áá¯á¸á
á¬á¸áááº",timerMin:"áááá
áº",t
vendor: 60,495 bytes, line 16
16imerSec:"á
áá¹ááá·áº",clearCaption:"áá¾ááºá¸áááºá¸áááº",signaturePlaceHolder:"á¤áá±áá¬áá½ááºáááºáá¾ááºáá±á¸áá«",confirmRemoveFile:"á¤ááá¯ááºá¡á¬á¸áááºáá¾á¬á¸áááºáá¾á¬ áá±áá»á¬áá«ááá¬á¸: {0}?",ok:"á¡áá¯áá±",cancel:"áááºáá»ááºáá«"},nativeName:"áá¼ááºáá¬",englishName:"Burmese"});m({localeCode:"ca",strings:{pagePrevText:"Anterior",pageNextText:"Següent",completeText:"Complet",previewText:"Preestrena",editText:"Editar",startSurveyText:"Començar",otherItemText:"Un altre (descrigui)",noneItemText:"Cap",refuseItemText:"Negar-se a respondre",dontKnowItemText:"No sé",selectAllItemText:"Selecciona-ho tot",deselectAllItemText:"Desselecciona-ho tot",progressText:"Pà gina {0} de {1}",indexText:"{0} de {1}",panelDynamicProgressText:"{0} de {1}",panelDynamicTabTextFormat:"Panell {panelIndex}",questionsProgressText:"Respostes {0}/{1} preguntes",emptySurvey:"No hi ha cap pà gina visible o pregunta a l'enquesta.",completingSurvey:"Grà cies per completar l'enquesta!",completingSurveyBefore:"Els nostres registres mostren que ja heu completat aquesta enquesta.",loadingSurvey:"L'enquesta s'està carregant ...",placeholder:"Selecciona ...",ratingOptionsCaption:"Seleccionar...",value:"valor",requiredError:"Si us plau contesti la pregunta.",requiredErrorInPanel:"Resposta necessà ria: respondre almenys una pregunta.",requiredInAllRowsError:"Si us plau contesti les preguntes de cada filera.",eachRowUniqueError:"Cada fila ha de tenir un valor únic.",numericError:"L'estimació ha de ser numèrica.",minError:"El valor no ha de ser inferior a {0}",maxError:"El valor no ha de ser superior a {0}",textNoDigitsAllow:"No es permeten números.",textMinLength:"Si us plau entre almenys {0} sÃmbols.",textMaxLength:"Si us plau entre menys de {0} sÃmbols.",textMinMaxLength:"Si us plau entre més de {0} i menys de {1} sÃmbols.",minRowCountError:"Si us plau ompli almenys {0} fileres.",minSelectError:"Si us plau seleccioni almenys {0} variants.",maxSelectError:"Si us plau seleccioni no més de {0} variants.",numericMinMax:"El '{0}' deu ser igual o més de {1} i igual o menys de {2}",numericMin:"El '{0}' ha de ser igual o més de {1}",numericMax:"El '{0}' ha de ser igual o menys de {1}",invalidEmail:"Si us plau afegiu un correu electrònic và lid.",invalidExpression:"L'expressió: {0} ha de tornar 'veritable'.",urlRequestError:"La sol·licitud va tornar error '{0}'. {1}",urlGetChoicesError:"La sol·licitud va tornar buida de dates o la propietat 'trajectòria' no és correcta",exceedMaxSize:"La mida de l'arxiu no pot excedir {0}.",noUploadFilesHandler:"No es poden carregar fitxers. Afegiu un controlador per a l'esdeveniment 'onUploadFiles'.",otherRequiredError:"Si us plau afegiu l'altra estimació.",uploadingFile:"El seu arxiu s'està pujant. Si us plau esperi uns segons i intenteu-ho de nou.",loadingFile:"Cà rrega...",chooseFile:"Trieu fitxer(s)...",noFileChosen:"No s'ha triat cap fitxer",filePlaceholder:"Arrossegueu i deixeu anar un fitxer aquà o feu clic al botó següent i trieu un fitxer per carregar.",confirmDelete:"Vols eliminar el registre?",keyDuplicationError:"Aquest valor ha de ser únic.",addColumn:"Afegeix una columna",addRow:"Afegiu una filera",removeRow:"Eliminar una filera",emptyRowsText:"No hi ha files.",addPanel:"Afegeix un nou",removePanel:"Treure",showDetails:"Mostra els detalls",hideDetails:"Amaga els detalls",choices_Item:"Ãtem",matrix_column:"Columna",matrix_row:"Filera",multipletext_itemname:"SMS",savingData:"Els resultats s'estan guardant al servidor...",savingDataError:"S'ha produït un error i no hem pogut guardar els resultats.",savingDataSuccess:"Els resultats es van salvar amb èxit!",savingExceedSize:"La teva resposta supera els 64KB. Reduïu la mida dels fitxers i torneu-ho a provar o poseu-vos en contacte amb el propietari de l'enquesta.",saveAgainButton:"Prova una altra vegada",timerMin:"min",timerSec:"Seg",timerSpentAll:"Heu passat {0} en aquesta pà gina i {1} en total.",timerSpentPage:"Has passat {0} en aquesta pà gina.",timerSpentSurvey:"Has gastat {0} en total.",timerLimitAll:"Heu passat {0} de {1} en aquesta pà gina i {2} de {3} en total.",timerLimitPage:"Has passat {0} de {1} en aquesta pà gina.",timerLimitSurvey:"Has gastat {0} d'{1} en total.",clearCaption:"Clar",signaturePlaceHolder:"Inscriu-te aquÃ",signaturePlaceHolderReadOnly:"Sense signatura",chooseFileCaption:"Tria un fitxer",takePhotoCaption:"Fer foto",photoPlaceholder:"Feu clic al botó següent per fer una foto amb la cà mera.",fileOrPhotoPlaceholder:"Arrossegueu i deixeu anar o seleccioneu un fitxer per penjar-lo o fer-ne una foto amb la cà mera.",replaceFileCaption:"Substitueix el fitxer",removeFileCaption:"Suprimeix aquest fitxer",booleanCheckedLabel:"SÃ",booleanUncheckedLabel:"No",confirmRemoveFile:"Esteu segur que voleu eliminar aquest fitxer: {0}?",confirmRemoveAllFiles:"Esteu segur que voleu eliminar tots els fitxers?",questionTitlePatternText:"TÃtol de la pregunta",modalCancelButtonText:"Cancel·lar",modalApplyButtonText:"Aplicar",filterStringPlaceholder:"Escriviu per cercar...",emptyMessage:"No hi ha dades per mostrar",noEntriesText:"Encara no hi ha entrades.\nFeu clic al botó següent per afegir una entrada nova.",noEntriesReadonlyText:"No hi ha entrades.",tabTitlePlaceholder:"Nou Panell",more:"Més",tagboxDoneButtonCaption:"D'ACORD",selectToRankEmptyRankedAreaText:"Totes les opcions estan classificades",selectToRankEmptyUnrankedAreaText:"Arrossegueu i deixeu anar les opcions aquà per classificar-les",ok:"D'ACORD",cancel:"Cancel·lar"},nativeName:"català ",englishName:"Catalan"});m({localeCode:"hr",strings:{pagePrevText:"Prethodni",pageNextText:"SljedeÄi",completeText:"Kompletan",previewText:"Pregled",editText:"UreÄivanje",startSurveyText:"PoÄetak",otherItemText:"Ostali (opis)",noneItemText:"Nitko",refuseItemText:"Odbijte odgovoriti",dontKnowItemText:"Ne znam",selectAllItemText:"Select All",deselectAllItemText:"PoniÅ¡tite odabir svega",progressText:"Stranica {0} od {1}",indexText:"{0} {1}",panelDynamicProgressText:"Zapisa {0} od {1}",panelDynamicTabTextFormat:"PloÄa {panelIndex}",questionsProgressText:"Odgovorio na {0}/{1} pitanja",emptySurvey:"U anketi nema vidljive stranice ili pitanja.",completingSurvey:"Hvala vam Å¡to ste zavrÅ¡ili anketu!",completingSurveyBefore:"NaÅ¡i zapisi pokazuju da ste veÄ zavrÅ¡ili ovu anketu.",loadingSurvey:"Anketa o uÄitavanje...",placeholder:"Odaberite...",ratingOptionsCaption:"Odabirati...",value:"vrijednost",requiredError:"Molim vas odgovorite na pitanje.",requiredErrorInPanel:"Molim vas odgovorite na barem jedno pitanje.",requiredInAllRowsError:"Odgovorite na pitanja u svim redovima.",eachRowUniqueError:"Svaki redak mora imati jedinstvenu vrijednost.",numericError:"Vrijednost bi trebala biti brojÄana.",minError:"Vrijednost ne smije biti manja od {0}",maxError:"Vrijednost ne smije biti veÄa od {0}",textNoDigitsAllow:"Brojevi nisu dopuÅ¡teni.",textMinLength:"Unesite najmanje {0} znak(ova).",textMaxLength:"Unesite manje od {0} znak(ova).",textMinMaxLength:"Unesite viÅ¡e od {0} i manje od {1} znakova.",minRowCountError:"Molimo ispunite najmanje {0} redaka.",minSelectError:"Odaberite barem {0} varijante.",maxSelectError:"Odaberite ne viÅ¡e od {0} varijanti.",numericMinMax:"'{0}'bi trebao biti jednak ili viÅ¡e od {1} i jednak ili manji od {2}.",numericMin:"'{0}' bi trebao biti jednak ili viÅ¡e od {1}.",numericMax:"'{0}' bi trebao biti jednak ili manji od {1}",invalidEmail:"Unesite valjanu e-mail adresu.",invalidExpression:"Izraz: {0} treba vratiti 'true'.",urlRequestError:"Zahtjev vratio pogreÅ¡ku '{0}'. {1}",urlGetChoicesError:"Zahtjev je vratio prazne podatke ili je 'path' svojstvo netoÄna.",exceedMaxSize:"VeliÄina datoteke ne smije prelaziti {0}.",noUploadFilesHandler:"Datoteke se ne mogu prenijeti. Dodajte rukovatelja za dogaÄaj 'onUploadFiles'.",otherRequiredError:"Unesite drugu vrijednost.",uploadingFile:"VaÅ¡a datoteka se prenosi. PriÄekajte nekoliko sekundi i pokuÅ¡ajte ponovno.",loadingFile:"UÄitavanje...",chooseFile:"Odaberite datoteku...",noFileChosen:"Nije odabrana datoteka",filePlaceholder:"Povucite i ispustite datoteku ovdje ili kliknite donji gumb i odaberite datoteku koju želite prenijeti.",confirmDelete:"Želite li izbrisati zapis?",keyDuplicationError:"Ta bi vrijednost trebala biti jedinstvena.",addColumn:"Dodavanje stupca",addRow:"Dodavanje redaka",removeRow:"Ukloniti",emptyRowsText:"Nema redova.",addPanel:"Dodavanje novih",removePanel:"Ukloniti",showDetails:"Pokaži detalje",hideDetails:"Sakrij detalje",choices_Item:"stavku",matrix_column:"Stupca",matrix_row:"Redak",multipletext_itemname:"Tekstualna poruka",savingData:"Rezultati se spremaju na poslužitelju...",savingDataError:"DoÅ¡lo je do pogreÅ¡ke i nismo mogli spremiti rezultate.",savingDataSuccess:"Rezultati su uspjeÅ¡no spremljeni!",savingExceedSize:"VaÅ¡ odgovor premaÅ¡uje 64KB. Smanjite veliÄinu datoteka i pokuÅ¡ajte ponovno ili se obratite vlasniku upitnika.",saveAgainButton:"PokuÅ¡aj ponovo",timerMin:"min",timerSec:"sec",timerSpentAll:"Vi ste proveli {0} na ovoj stranici i {1} ukupno.",timerSpentPage:"PotroÅ¡ili ste {0} na ovu stranicu.",timerSpentSurvey:"You have spent {0} in total. {0}.",timerLimitAll:"Vi ste proveli {0} od {1} na ovoj stranici i {2} od {3} ukupno.",timerLimitPage:"PotroÅ¡io si {0} od {1} na ovoj stranici.",timerLimitSurvey:"Ukupno ste potroÅ¡ili {0} od {1}.",clearCaption:"OÄistiti",signaturePlaceHolder:"PotpiÅ¡i ovdje",signaturePlaceHolderReadOnly:"Bez potpisa",chooseFileCaption:"Odaberite datoteku",takePhotoCaption:"Snimi fotografiju",photoPlaceholder:"Kliknite donji gumb da biste snimili fotografiju pomoÄu kamere.",fileOrPhotoPlaceholder:"Povucite i ispustite ili odaberite datoteku za prijenos ili snimanje fotografije pomoÄu kamere.",replaceFileCaption:"Zamijeni datoteku",removeFileCaption:"Uklonite ovu datoteku",booleanCheckedLabel:"Da",booleanUncheckedLabel:"Ne",confirmRemoveFile:"Jeste li sigurni da želite ukloniti ovu datoteku: {0}?",confirmRemoveAllFiles:"Jeste li sigurni da želite ukloniti sve datoteke?",questionTitlePatternText:"Naslov pitanja",modalCancelButtonText:"Otkazati",modalApplyButtonText:"Primijeniti",filterStringPlaceholder:"UpiÅ¡ite za pretraživanje...",emptyMessage:"Nema podataka za prikaz",noEntriesText:"JoÅ¡ nema unosa.\nKliknite donji gumb da biste dodali novi unos.",noEntriesReadonlyText:"Nema unosa.",tabTitlePlaceholder:"Nova ploÄa",more:"ViÅ¡e",tagboxDoneButtonCaption:"OK",selectToRankEmptyRankedAreaText:"Svi izbori su rangirani",selectToRankEmptyUnrankedAreaText:"Ovdje povucite i ispustite odabire da biste ih rangirali",ok:"OK",cancel:"Otkazati"},nativeName:"hrvatski",englishName:"Croatian"});m({localeCode:"cs",strings:{pagePrevText:"PÅedchozÃ",pageNextText:"DalÅ¡Ã",completeText:"DokonÄit",previewText:"Náhled",editText:"Upravit",startSurveyText:"ZaÄÃt",otherItemText:"Jiná odpovÄÄ (napiÅ¡te)",noneItemText:"Žádný",refuseItemText:"OdmÃtnout odpovÄdÄt",dontKnowItemText:"NevÃm",selectAllItemText:"Vybrat vÅ¡e",deselectAllItemText:"ZruÅ¡it výbÄr vÅ¡ech",progressText:"Strana {0} z {1}",indexText:"{0} z {1}",panelDynamicProgressText:"Záznam {0} z {1}",panelDynamicTabTextFormat:"Panel {panelIndex}",questionsProgressText:"ZodpovÄzené otázky: {0} / {1}",emptySurvey:"Průzkum neobsahuje žádné otázky.",completingSurvey:"DÄkujeme za vyplnÄnà průzkumu!",completingSurveyBefore:"NaÅ¡e záznamy ukazujÃ, že jste tento průzkum již dokonÄil/a.",loadingSurvey:"ProbÃhá naÄÃtánà průzkumu...",placeholder:"Vyberte...",ratingOptionsCaption:"Vybrat...",value:"hodnota",requiredError:"OdpovÄzte prosÃm na otázku.",requiredErrorInPanel:"OdpovÄzte prosÃm alespoÅ jednu otázku.",requiredInAllRowsError:"OdpovÄzte prosÃm na vÅ¡echny otázky.",eachRowUniqueError:"Každý Åádek musà mÃt jedineÄnou hodnotu.",numericError:"V tomto poli lze zadat pouze ÄÃsla.",minError:"Hodnota by nemÄla být menšà než {0}",maxError:"Hodnota by nemÄla být vÄtšà než {0}",textNoDigitsAllow:"ÄÃsla nejsou povolena.",textMinLength:"Zadejte prosÃm alespoÅ {0} znaků.",textMaxLength:"Zadejte prosÃm ménÄ než {0} znaků.",textMinMaxLength:"Zadejte prosÃm vÃce než {0} a ménÄ než {1} znaků.",minRowCountError:"VyplÅte prosÃm alespoÅ {0} Åádků.",minSelectError:"Vyberte prosÃm alespoÅ {0} varianty.",maxSelectError:"NevybÃrejte prosÃm vÃce než {0} variant.",numericMinMax:"OdpovÄÄ '{0}' by mÄlo být vÄtšà nebo rovno {1} a menšà nebo rovno {2}",numericMin:"OdpovÄÄ '{0}' by mÄlo být vÄtšà nebo rovno {1}",numericMax:"OdpovÄÄ '{0}' by mÄlo být menšà nebo rovno {1}",invalidEmail:"Zadejte prosÃm platnou e-mailovou adresu.",invalidExpression:"Výraz: {0} by mÄl vrátit hodnotu âtrueâ.",urlRequestError:"Požadavek vrátil chybu '{0}'. {1}",urlGetChoicesError:"Požadavek nevrátil data nebo je neplatná vlastnost 'path'",exceedMaxSize:"Velikost souboru by nemÄla být vÄtšà než {0}.",noUploadFilesHandler:"Soubory nelze nahrát. PÅidejte obslužnou rutinu pro událost 'onUploadFiles'.",otherRequiredError:"Zadejte prosÃm jinou hodnotu.",uploadingFile:"Váš soubor se nahrává. Zkuste to prosÃm za nÄkolik sekund.",loadingFile:"NaÄÃtánÃ...",chooseFile:"Vyberte soubory...",noFileChosen:"Nenà zvolený žádný soubor",filePlaceholder:"PÅetáhnÄte sem soubor nebo kliknÄte na tlaÄÃtko nÞe a vyberte soubor, který chcete nahrát.",confirmDelete:"Chcete záznam smazat?",keyDuplicationError:"Tato hodnota by mÄla být unikátnÃ.",addColumn:"PÅidat sloupec",addRow:"PÅidat Åádek",removeRow:"Odstranit",emptyRowsText:"Neexistujà žádné Åádky.",addPanel:"PÅidat nový",removePanel:"Odstranit",showDetails:"Zobrazit podrobnosti",hideDetails:"Skrýt podrobnosti",choices_Item:"položka",matrix_column:"Sloupec",matrix_row:"Åádek",multipletext_itemname:"Text",savingData:"Výsledky se ukládajà na server...",savingDataError:"DoÅ¡lo k chybÄ a výsledky jsme nemohli uložit.",savingDataSuccess:"Výsledky byly úspÄÅ¡nÄ uloženy!",savingExceedSize:"VaÅ¡e odpovÄÄ pÅekraÄuje 64 kB. ZmenÅ¡ete prosÃm velikost svých souborů a zkuste to znovu nebo kontaktujte vlastnÃka průzkumu.",saveAgainButton:"Zkuste to znovu",timerMin:"min",timerSec:"sek",timerSpentAll:"Na této stránce jste strávil/a celkem {0} z {1}.",timerSpentPage:"Na této stránce jste strávil/a {0}.",timerSpentSurvey:"Celkem jste strávil/a {0}.",timerLimitAll:"Na této stránce jste strávil/a {0} z {1} a celkem {2} z {3}.",timerLimitPage:"Na této stránce jste strávil/a {0} z {1}.",timerLimitSurvey:"CelkovÄ jste strávil/a {0} z {1}.",clearCaption:"Vymazat",signaturePlaceHolder:"PodepiÅ¡te se zde",signaturePlaceHolderReadOnly:"Bez podpisu",chooseFileCaption:"Vyberte soubor",takePhotoCaption:"PoÅÃdit fotografii",photoPlaceholder:"KliknutÃm na tlaÄÃtko nÞe poÅÃdÃte fotografii pomocà fotoaparátu.",fileOrPhotoPlaceholder:"PÅetáhnÄte nebo vyberte soubor, který chcete nahrát nebo poÅiÄte fotografii pomocà fotoaparátu.",replaceFileCaption:"Nahradit soubor",removeFileCaption:"Odeberte tento soubor",booleanCheckedLabel:"Ano",booleanUncheckedLabel:"Ne",confirmRemoveFile:"Opravdu chcete odebrat tento soubor: {0}?",confirmRemoveAllFiles:"Opravdu chcete odstranit vÅ¡echny soubory?",questionTitlePatternText:"Název otázky",modalCancelButtonText:"ZruÅ¡it",modalApplyButtonText:"PoužÃt",filterStringPlaceholder:"Zadejte hledaný text...",emptyMessage:"Žádná data k zobrazenÃ",noEntriesText:"ZatÃm nejsou žádné záznamy.\nKliknutÃm na tlaÄÃtko nÞe pÅidáte novou položku.",noEntriesReadonlyText:"Nejsou zde žádné položky.",tabTitlePlaceholder:"Nový panel",more:"VÃce",tagboxDoneButtonCaption:"OK",selectToRankEmptyRankedAreaText:"VÅ¡echny možnosti jsou seÅazeny",selectToRankEmptyUnrankedAreaText:"PÅetáhnÄte volby zde a seÅaÄte je",ok:"OK",cancel:"ZruÅ¡it"},nativeName:"ÄeÅ¡tina",englishName:"Czech"});m({localeCode:"da",strings:{pagePrevText:"Tilbage",pageNextText:"Videre",completeText:"Færdig",previewText:"Forpremiere",editText:"Redigér",startSurveyText:"Start",otherItemText:"Valgfrit svar...",noneItemText:"Ingen",refuseItemText:"Nægt at svare",dontKnowItemText:"Ved ikke",selectAllItemText:"Vælg alle",deselectAllItemText:"Fravælg alle",progressText:"Side {0} af {1}",indexText:"{0} af {1}",panelDynamicProgressText:"Optag {0} af {1}",panelDynamicTabTextFormat:"Panel {panelIndex}",questionsProgressText:"Besvarede {0} / {1} spørgsmÃ¥l",emptySurvey:"Der er ingen synlige spørgsmÃ¥l.",completingSurvey:"Mange tak for din besvarelse!",completingSurveyBefore:"Vores data viser at du allerede har gennemført dette spørgeskema.",loadingSurvey:"Spørgeskemaet hentes fra serveren...",placeholder:"Vælg...",ratingOptionsCaption:"Markere...",value:"værdi",requiredError:"Besvar venligst spørgsmÃ¥let.",requiredErrorInPanel:"Besvar venligst mindst ét spørgsmÃ¥l.",requiredInAllRowsError:"Besvar venligst spørgsmÃ¥l i alle rækker.",eachRowUniqueError:"Hver række skal have en entydig værdi.",numericError:"Angiv et tal.",minError:"Værdien bør ikke være mindre end {0}",maxError:"Værdien bør ikke være større end {0}",textNoDigitsAllow:"Numre er ikke tilladt.",textMinLength:"Angiv mindst {0} tegn.",textMaxLength:"Please enter less than {0} characters.",textMinMaxLength:"Angiv mere end {0} og mindre end {1} tegn.",minRowCountError:"Udfyld mindst {0} rækker.",minSelectError:"Vælg venligst mindst {0} svarmulighed(er).",maxSelectError:"Vælg venligst færre {0} svarmuligheder(er).",numericMinMax:"'{0}' skal være lig med eller større end {1} og lig med eller mindre end {2}",numericMin:"'{0}' skal være lig med eller større end {1}",numericMax:"'{0}' skal være lig med eller mindre end {1}",invalidEmail:"Angiv venligst en gyldig e-mail adresse.",invalidExpression:"Udtrykket: {0} skal returnere 'true'.",urlRequestError:"Forespørgslen returnerede fejlen '{0}'. {1}",urlGetChoicesError:"Forespørgslen returnerede ingen data eller 'path' parameteren er forkert",exceedMaxSize:"Filstørrelsen mÃ¥ ikke overstige {0}.",noUploadFilesHandler:"Filer kan ikke uploades. Tilføj en handler for hændelsen 'onUploadFiles'.",otherRequiredError:"Angiv en værdi for dit valgfrie svar.",uploadingFile:"Din fil bliver uploadet. Vent nogle sekunder og prøv eventuelt igen.",loadingFile:"Indlæser...",chooseFile:"Vælg fil(er)...",noFileChosen:"Ingen fil er valgt",filePlaceholder:"Træk og slip en fil her, eller klik pÃ¥ knappen nedenfor, og vælg en fil, der skal uploades.",confirmDelete:"Vil du fjerne den?",keyDuplicationError:"Denne værdi skal være unik.",addColumn:"Tilføj kolonne",addRow:"Tilføj række",removeRow:"Fjern",emptyRowsText:"Der er ingen rækker.",addPanel:"Tilføj ny",removePanel:"Fjern",showDetails:"Vis detaljer",hideDetails:"Skjul detaljer",choices_Item:"valg",matrix_column:"Kolonne",matrix_row:"Række",multipletext_itemname:"Tekst",savingData:"Resultaterne bliver gemt pÃ¥ serveren...",savingDataError:"Der opstod en fejl og vi kunne ikke gemme resultatet.",savingDataSuccess:"Resultatet blev gemt!",savingExceedSize:"Dit svar overstiger 64 KB. Reducer størrelsen pÃ¥ din(e) fil(er), og prøv igen, eller kontakt en undersøgelsesejer.",saveAgainButton:"Prøv igen",timerMin:"min",timerSec:"sek",timerSpentAll:"Du har brugt {0} pÃ¥ denne side og {1} i alt.",timerSpentPage:"Du har brugt {0} pÃ¥ denne side.",timerSpentSurvey:"Du har brugt {0} i alt.",timerLimitAll:"Du har brugt {0} af {1} pÃ¥ denne side og {2} af {3} i alt.",timerLimitPage:"Du har brugt {0} af {1} pÃ¥ denne side.",timerLimitSurvey:"Du har brugt {0} af {1} i alt.",clearCaption:"Fjern",signaturePlaceHolder:"Tilmeld dig her",signaturePlaceHolderReadOnly:"Ingen underskrift",chooseFileCaption:"Vælg fil",takePhotoCaption:"Tag billede",photoPlaceholder:"Klik pÃ¥ knappen nedenfor for at tage et billede med kameraet.",fileOrPhotoPlaceholder:"Træk og slip, eller vælg en fil, der skal uploades, eller tag et billede med kameraet.",replaceFileCaption:"Erstat fil",removeFileCaption:"Fjern denne fil",booleanCheckedLabel:"Ja",booleanUncheckedLabel:"Ingen",confirmRemoveFile:"Er du sikker pÃ¥, at du vil fjerne denne fil: {0}?",confirmRemoveAllFiles:"Er du sikker pÃ¥, at du vil fjerne alle filer?",questionTitlePatternText:"SpørgsmÃ¥ls titel",modalCancelButtonText:"Aflyse",modalApplyButtonText:"Anvende",filterStringPlaceholder:"Skriv for at søge...",emptyMessage:"Ingen data at vise",noEntriesText:"Der er endnu ingen tilmeldinger.\nKlik pÃ¥ knappen nedenfor for at tilføje en ny post.",noEntriesReadonlyText:"Der er ingen poster.",tabTitlePlaceholder:"Nyt panel",more:"Mere",tagboxDoneButtonCaption:"OK",selectToRankEmptyRankedAreaText:"Alle valg er rangeret",selectToRankEmptyUnrankedAreaText:"Træk og slip valg her for at rangere dem",ok:"OK",cancel:"Aflyse"},nativeName:"dansk",englishName:"Danish"});var Rp={pagePrevText:"Vorige",pageNextText:"Volgende",completeText:"Verzenden",previewText:"Voorbeeld",editText:"Bewerk",startSurveyText:"Start",otherItemText:"Anders, nl.",noneItemText:"Geen",refuseItemText:"Weiger te antwoorden",dontKnowItemText:"Weet niet",selectAllItemText:"Selecteer Alles",deselectAllItemText:"Alles deselecteren",progressText:"Pagina {0} van {1}",indexText:"{0} van {1}",panelDynamicProgressText:"Record {0} of {1}",panelDynamicTabTextFormat:"Paneel {panelIndex}",questionsProgressText:"Geantwoord {0}/{1} vragen",emptySurvey:"Er is geen zichtbare pagina of vraag in deze vragenlijst",completingSurvey:"Bedankt voor het invullen van de vragenlijst",completingSurveyBefore:"Onze gegevens tonen aan dat je deze vragenlijst reeds beantwoord hebt.",loadingSurvey:"De vragenlijst is aan het laden...",placeholder:"Kies...",ratingOptionsCaption:"Selecteren...",value:"waarde",requiredError:"Dit is een vereiste vraag",requiredErrorInPanel:"Gelieve ten minste een vraag te beantwoorden.",requiredInAllRowsError:"Deze vraag vereist één antwoord per rij",eachRowUniqueError:"Elke rij moet een unieke waarde hebben.",numericError:"Het antwoord moet een getal zijn",minError:"De waarde mag niet lager zijn dan {0}",maxError:"De waarde mag niet groter zijn dan {0}",textNoDigitsAllow:"Nummers zijn niet toegestaan.",textMinLength:"Vul minstens {0} karakters in",textMaxLength:"Gelieve minder dan {0} karakters in te vullen.",textMinMaxLength:"Gelieve meer dan {0} en minder dan {1} karakters in te vullen.",minRowCountError:"Gelieve ten minste {0} rijen in te vullen.",minSelectError:"Selecteer minimum {0} antwoorden",maxSelectError:"Selecteer niet meer dan {0} antwoorden",numericMinMax:"Uw antwoord '{0}' moet groter of gelijk zijn aan {1} en kleiner of gelijk aan {2}",numericMin:"Uw antwoord '{0}' moet groter of gelijk zijn aan {1}",numericMax:"Uw antwoord '{0}' moet groter of gelijk zijn aan {1}",invalidEmail:"Vul een geldig e-mailadres in",invalidExpression:"De uitdrukking: {0} moet 'waar' teruggeven.",urlRequestError:"De vraag keerde een fout terug '{0}'. {1}",urlGetChoicesError:"De vraag gaf een leeg antwoord terug of de 'pad' eigenschap is niet correct",exceedMaxSize:"De grootte van het bestand mag niet groter zijn dan {0}",noUploadFilesHandler:"Bestanden kunnen niet worden geüpload. Voeg een handler toe voor de gebeurtenis 'onUploadFiles'.",otherRequiredError:"Vul het veld 'Anders, nl.' in",uploadingFile:"Uw bestand wordt geüpload. Gelieve enkele seconden te wachten en opnieuw te proberen.",loadingFile:"Laden...",chooseFile:"Kies uw bestand(en)...",noFileChosen:"Geen bestand gekozen",filePlaceholder:"Sleep het bestand naar hier",confirmDelete:"Wilt u deze gegevens verwijderen?",keyDuplicationError:"Deze waarde moet uniek zijn.",addColumn:"Voeg kolom toe",addRow:"Voeg rij toe",removeRow:"Verwijder",emptyRowsText:"Er zijn geen rijen.",addPanel:"Nieuwe toevoegen",removePanel:"Verwijder",showDetails:"Toon details",hideDetails:"Verberg details",choices_Item:"onderwerp",matrix_column:"Kolom",matrix_row:"Rij",multipletext_itemname:"Tekst",savingData:"De resultaten worden bewaard op de server...",savingDataError:"Er was een probleem en we konden de resultaten niet bewaren.",savingDataSuccess:"De resultaten werden succesvol bewaard!",savingExceedSize:"Uw antwoord is groter dan 64 kB. Verklein de grootte van uw bestand(en) en probeer het opnieuw of neem contact op met een enquête-eigenaar.",saveAgainButton:"Probeer opnieuw",timerMin:"minimum",timerSec:"sec",timerSpentAll:"U heeft {0} gespendeerd op deze pagina en {1} in totaal.",timerSpentPage:"U heeft {0} op deze pagina gespendeerd.",timerSpentSurvey:"U heeft in totaal {0} gespendeerd.",timerLimitAll:"U heeft {0} van {1} op deze pagina gespendeerd en {2} van {3} in totaal.",timerLimitPage:"U heeft {0} van {1} gespendeerd op deze pagina.",timerLimitSurvey:"U heeft {0} van {1} in het totaal.",clearCaption:"Verwijder",signaturePlaceHolder:"Hier tekenen",signaturePlaceHolderReadOnly:"Geen handtekening",chooseFileCaption:"Gekozen bestand",takePhotoCaption:"Foto maken",photoPlaceholder:"Klik op de onderstaande knop om een foto te maken met de camera.",fileOrPhotoPlaceholder:"Sleep en zet neer of selecteer een bestand om te uploaden of maak een foto met de camera.",replaceFileCaption:"Bestand vervangen",removeFileCaption:"Verwijder dit bestand",booleanCheckedLabel:"Ja",booleanUncheckedLabel:"Nee",confirmRemoveFile:"Weet u zeker dat u deze file wilt verwijderen: {0}?",confirmRemoveAllFiles:"Weet u zeker dat u al deze files wilt verwijderen?",questionTitlePatternText:"Titel van de vraag",modalCancelButtonText:"Annuleren",modalApplyButtonText:"Toepassen",filterStringPlaceholder:"Typ om te zoeken...",emptyMessage:"Geen gegevens om weer te geven",noEntriesText:"Er zijn nog geen inzendingen.\nKlik op de onderstaande knop om een nieuw item toe te voegen.",noEntriesReadonlyText:"Er zijn geen inzendingen.",tabTitlePlaceholder:"Nieuw paneel",more:"Meer",tagboxDoneButtonCaption:"OK",selectToRankEmptyRankedAreaText:"Alle keuzes zijn gerangschikt",selectToRankEmptyUnrankedAreaText:"Drag en drop keuzes hier om ze te rangschikken",ok:"OK",cancel:"Annuleren"};m({localeCode:"nl",strings:Rp,nativeName:"nederlands",englishName:"Dutch"}),m({localeCode:"nl-BE",strings:Rp,nativeName:"vlaams",englishName:"Flemish"});m({localeCode:"et",strings:{pagePrevText:"Tagasi",pageNextText:"Edasi",completeText:"Lõpeta",previewText:"Eelvaade",editText:"Muuda",startSurveyText:"Alusta",otherItemText:"Muu (täpsusta)",noneItemText:"Mitte midagi",refuseItemText:"Keeldu vastamast",dontKnowItemText:"Ei tea",selectAllItemText:"Vali kõik",deselectAllItemText:"Kõigi valiku tühistamine",progressText:"Lehekülg {0}/{1}",indexText:"{0} {1}",panelDynamicProgressText:"Kirje {0}/{1}",panelDynamicTabTextFormat:"Paneel {panelIndex}",questionsProgressText:"Vastatud {0} küsimust {1}-st",emptySurvey:"Selles uuringus ei ole ühtki nähtavat lehekülge või küsimust.",completingSurvey:"Aitäh, et vastasid ankeedile!",completingSurveyBefore:"Meie andmetel oled sa sellele ankeedile juba vastanud.",loadingSurvey:"Laen ankeeti...",placeholder:"Vali...",ratingOptionsCaption:"Valima...",value:"väärtus",requiredError:"Palun vasta küsimusele.",requiredErrorInPanel:"Palun vasta vähemalt ühele küsimusele.",requiredInAllRowsError:"Palun anna vastus igal real.",eachRowUniqueError:"Igal real peab olema kordumatu väärtus.",numericError:"See peaks olema numbriline väärtus.",minError:"Väärtus ei tohiks olla väiksem kui {0}",maxError:"Väärtus ei tohiks olla suurem kui {0}",textNoDigitsAllow:"Numbrid ei ole lubatud.",textMinLength:"Palun sisesta vähemalt {0} tähemärki.",textMaxLength:"Palun ära sisesta rohkem kui {0} tähemärki.",textMinMaxLength:"Sisesta palun {0} - {1} tähemärki.",minRowCountError:"Sisesta plaun vähemalt {0} rida.",minSelectError:"Palun vali vähemalt {0} varianti.",maxSelectError:"Palun vali kõige rohkem {0} varianti.",numericMinMax:"'{0}' peaks olema võrdne või suurem kui {1} ja võrdne või väiksem kui {2}",numericMin:"'{0}' peaks olema võrdne või suurem kui {1}",numericMax:"'{0}' peaks olema võrnde või väiksem kui {1}",invalidEmail:"Sisesta palun korrektne e-posti aadress.",invalidExpression:"Avaldis: {0} peaks tagastama tõese.",urlRequestError:"Taotlus tagastas vea â{0}â. {1}",urlGetChoicesError:"Taotlus tagastas tühjad andmed või atribuut 'path' on vale",exceedMaxSize:"Faili suurus ei tohi ületada {0}.",noUploadFilesHandler:'Faile ei saa üles laadida. Palun lisage sündmuse "onUploadFiles" jaoks käitleja.',otherRequiredError:"Sisesta palun muu vastus.",uploadingFile:"Sinu fail laeb üles. Palun oota mõned sekundid ning proovi seejärel uuesti.",loadingFile:"Laen...",chooseFile:"Vali fail(id)...",noFileChosen:"Faili pole valitud",filePlaceholder:"Pukseerige fail siia või klõpsake allolevat nuppu ja valige üleslaaditav fail.",confirmDelete:"Kas tahad kirje kustutada?",keyDuplicationError:"See väärtus peab olema unikaalne.",addColumn:"Lisa veerg",addRow:"Lisa rida",removeRow:"Eemalda",emptyRowsText:"Ridu pole.",addPanel:"Lisa uus",removePanel:"Eemalda",showDetails:"Näita detaile",hideDetails:"Peida üksikasjad",choices_Item:"üksus",matrix_column:"Veerg",matrix_row:"Rida",multipletext_itemname:"Tekst",savingData:"Salvestan andmed serveris...",savingDataError:"Tekkis viga ning me ei saanud vastuseid salvestada.",savingDataSuccess:"Vastuste salvestamine õnnestus!",savingExceedSize:"Teie vastus ületab 64 KB. Vähendage faili(de) mahtu ja proovige uuesti või võtke ühendust uuringu omanikuga.",saveAgainButton:"Proovi uuesti",timerMin:"min",timerSec:"sek",timerSpentAll:"Oled veetnud {0} sellel lehel ning kokku {1}.",timerSpentPage:"Oled veetnud {0} sellel lehel.",timerSpentSurvey:"Oled veetnud {0} kokku.",timerLimitAll:"Oled kulutanud {0} võimalikust {1} sellel lehel ning {2} võimalikust {3} kokku.",timerLimitPage:"Oled kulutanud {0} võimalikust {1} sellel lehel.",timerLimitSurvey:"Oled kulutanud {0} võimalikust {1} koguajast.",clearCaption:"Puhasta",signaturePlaceHolder:"Allkirjasta siin",signaturePlaceHolderReadOnly:"Allkiri puudub",chooseFileCaption:"Vali fail",takePhotoCaption:"Pildistamine",photoPlaceholder:"Kaamera abil pildistamiseks klõpsake allolevat nuppu.",fileOrPhotoPlaceholder:"Pukseerige või valige üleslaaditav fail või pildistage seda kaamera abil.",replaceFileCaption:"Asenda fail",removeFileCaption:"Eemalda see fail",booleanCheckedLabel:"Jah",booleanUncheckedLabel:"Ei",confirmRemoveFile:"Oled sa kindel, et soovid selle faili eemaldada: {0}?",confirmRemoveAllFiles:"Oled sa kindel, et soovid eemaldada kõik failid?",questionTitlePatternText:"Küsimuse pealkiri",modalCancelButtonText:"Tühistama",modalApplyButtonText:"Kohaldata",filterStringPlaceholder:"Tippige otsimiseks...",emptyMessage:"Kuvatavaid andmeid pole",noEntriesText:"Sissekandeid veel ei ole.\nUue kirje lisamiseks klõpsake allolevat nuppu.",noEntriesReadonlyText:"Kirjeid ei ole.",tabTitlePlaceholder:"Uus paneel",more:"Rohkem",tagboxDoneButtonCaption:"OK",selectToRankEmptyRankedAreaText:"Kõik valikud on järjestatud",selectToRankEmptyUnrankedAreaText:"Lohistage valikuid siia, et neid järjestada",ok:"OK",cancel:"Tühistama"},nativeName:"eesti keel",englishName:"Estonian"});m({localeCode:"fi",strings:{pagePrevText:"Edellinen",pageNextText:"Seuraava",completeText:"Valmis",previewText:"Esikatselu",editText:"Muokkaa",startSurveyText:"Aloita",otherItemText:"Muu (tarkenna)",noneItemText:"Ei mitään",refuseItemText:"Kieltäydy vastaamasta",dontKnowItemText:"Ei tiedä",selectAllItemText:"Valitse kaikki",deselectAllItemText:"Poista kaikkien valinta",progressText:"Sivu {0} / {1}",indexText:"{0} / {1}",panelDynamicProgressText:"Osio {0} / {1}",panelDynamicTabTextFormat:"Paneeli {panelIndex}",questionsProgressText:"Olet vastannut {0} / {1} kysymykseen.",emptySurvey:"Tässä kyselyssä ei ole yhtään näkyvillä olevaa sivua tai kysymystä.",completingSurvey:"Kiitos kyselyyn vastaamisesta!",completingSurveyBefore:"Tietojemme mukaan olet jo suorittanut tämän kyselyn.",loadingSurvey:"Kyselyä ladataan palvelimelta...",placeholder:"Valitse...",ratingOptionsCaption:"Arvioi napauttamalla tätä...",value:"arvo",requiredError:"Vastaa kysymykseen, kiitos.",requiredErrorInPanel:"Vastaa ainakin yhteen kysymykseen.",requiredInAllRowsError:"Vastaa kysymyksiin kaikilla riveillä.",eachRowUniqueError:"Jokaisella rivillä on oltava yksilöllinen arvo.",numericError:"Arvon tulee olla numeerinen.",minError:"Arvo ei saa olla pienempi kuin {0}",maxError:"Arvo ei saa olla suurempi kuin {0}",textNoDigitsAllow:"Numerot eivät ole sallittuja.",textMinLength:"Syötä vähintään {0} merkkiä.",textMaxLength:"Ãlä syötä yli {0} merkkiä.",textMinMaxLength:"Syötä vähintään {0} ja enintään {1} merkkiä.",minRowCountError:"Täytä vähintään {0} riviä.",minSelectError:"Valitse vähintään {0} vaihtoehtoa.",maxSelectError:"Valitse enintään {0} vaihtoehtoa.",numericMinMax:"Luvun '{0}' tulee olla vähintään {1} ja korkeintaan {2}.",numericMin:"Luvun '{0}' tulee olla vähintään {1}.",numericMax:"Luvun '{0}' tulee olla korkeintaan {1}.",invalidEmail:"Syötä validi sähköpostiosoite.",invalidExpression:"Lausekkeen: {0} pitäisi palauttaa 'true'.",urlRequestError:"Pyyntö palautti virheen {0}. {1}",urlGetChoicesError:"Pyyntö palautti tyhjän tiedoston tai 'path'-asetus on väärä",exceedMaxSize:"Tiedoston koko ei saa olla suurempi kuin {0}.",noUploadFilesHandler:"Tiedostoja ei voi ladata. Lisää käsittelijä onUploadFiles-tapahtumalle.",otherRequiredError:"Tarkenna vastaustasi tekstikenttään.",uploadingFile:"Tiedostoa lähetetään. Odota muutama sekunti ja yritä uudelleen.",loadingFile:"Ladataan...",chooseFile:"Valitse tiedosto(t)...",noFileChosen:"Ei tiedostoa valittuna",filePlaceholder:"Pudota tiedosto tähän tai lataa tiedosto napsauttamalla alla olevaa painiketta.",confirmDelete:"Haluatko poistaa osion?",keyDuplicationError:"Tämä arvo on jo käytössä. Syötä toinen arvo.",addColumn:"Lisää sarake",addRow:"Lisää rivi",removeRow:"Poista",emptyRowsText:"Ei rivejä",addPanel:"Lisää uusi",removePanel:"Poista",showDetails:"Näytä tiedot",hideDetails:"Piilota tiedot",choices_Item:"kohde",matrix_column:"Sarake",matrix_row:"Rivi",multipletext_itemname:"teksti",savingData:"Tietoja tallennetaan palvelimelle...",savingDataError:"Tapahtui virhe, emmekä voineet tallentaa kyselyn tietoja.",savingDataSuccess:"Tiedot tallennettiin onnistuneesti!",savingExceedSize:"Vastauksesi ylittää 64 kt. Pienennä tiedostojesi kokoa ja yritä uudelleen tai ota yhteyttä kyselyn omistajaan.",saveAgainButton:"Yritä uudelleen",timerMin:"min",timerSec:"sek",timerSpentAll:"Olet käyttänyt {0} tällä sivulla ja yhteensä {1}.",timerSpentPage:"Olet käyttänyt {0} tällä sivulla.",timerSpentSurvey:"Olet käyttänyt yhteensä {0}.",timerLimitAll:"Olet käyttänyt tällä sivulla {0} / {1} ja yhteensä {2} / {3}.",timerLimitPage:"Olet käyttänyt {0} / {1} tällä sivulla.",timerLimitSurvey:"Olet käyttänyt yhteensä {0} / {1}.",clearCaption:"Tyhjennä",signaturePlaceHolder:"Allekirjoita tähän",signaturePlaceHolderReadOnly:"Ei allekirjoitusta",chooseFileCaption:"Valitse tiedosto",takePhotoCaption:"Ota valokuva",photoPlaceholder:"Napsauta alla olevaa painiketta ottaaksesi valokuvan kameralla.",fileOrPhotoPlaceholder:"Vedä ja pudota tai valitse ladattava tiedosto tai ota valokuva kameralla.",replaceFileCaption:"Korvaa tiedosto",removeFileCaption:"Poista tämä tiedosto",booleanCheckedLabel:"Kyllä",booleanUncheckedLabel:"Ei",confirmRemoveFile:"Haluatko varmasti poistaa tämän tiedoston: {0}?",confirmRemoveAllFiles:"Haluatko varmasti poistaa kaikki tiedostot?",questionTitlePatternText:"Kysymyksen otsikko",modalCancelButtonText:"Peruuta",modalApplyButtonText:"Käytä",filterStringPlaceholder:"Hae kirjoittamalla...",emptyMessage:"Ei näytettäviä tietoja",noEntriesText:"Merkintöjä ei ole vielä.\nLisää uusi merkintä napsauttamalla alla olevaa painiketta.",noEntriesReadonlyText:"Merkintöjä ei ole.",tabTitlePlaceholder:"Uusi paneeli",more:"Enemmän",tagboxDoneButtonCaption:"OKEI",selectToRankEmptyRankedAreaText:"Kaikki valinnat asetetaan paremmuusjärjestykseen",selectToRankEmptyUnrankedAreaText:"Vedä ja pudota vaihtoehdot tähän luokitellaksesi ne",ok:"OKEI",cancel:"Perua"},nativeName:"suomi",englishName:"Finnish"});m({localeCode:"fr",strings:{pagePrevText:"Précédent",pageNextText:"Suivant",completeText:"Terminer",previewText:"Aperçu",editText:"Modifier",startSurveyText:"Commencer",otherItemText:"Autre (préciser)",noneItemText:"Aucun",refuseItemText:"Refuser de répondre",dontKnowItemText:"Sais pas",selectAllItemText:"Tout sélectionner",deselectAllItemText:"Désélectionner tout",progressText:"Page {0} sur {1}",indexText:"{0} sur {1}",panelDynamicProgressText:"Enregistrement {0} sur {1}",panelDynamicTabTextFormat:"Panel {panelIndex}",questionsProgressText:"{0}/{1} question(s) répondue(s)",emptySurvey:"Il n'y a ni page visible ni question visible dans ce questionnaire",completingSurvey:"Merci d'avoir répondu au questionnaire !",completingSurveyBefore:"Nos données indiquent que vous avez déjà rempli ce questionnaire.",loadingSurvey:"Le questionnaire est en cours de chargement...",placeholder:"Choisissez...",ratingOptionsCaption:"Appuyez ici pour noter...",value:"valeur",requiredError:"La réponse à cette question est obligatoire.",requiredErrorInPanel:"Merci de répondre au moins à une question.",requiredInAllRowsError:"Toutes les lignes sont obligatoires",eachRowUniqueError:"Chaque ligne doit avoir une valeur unique.",numericError:"La réponse doit être un nombre.",minError:"La valeur ne doit pas être inférieure à {0}",maxError:"La valeur ne doit pas être supérieure à {0}",textNoDigitsAllow:"Les numéros ne sont pas autorisés.",textMinLength:"Merci de saisir au moins {0} caractères.",textMaxLength:"Merci de saisir moins de {0} caractères.",textMinMaxLength:"Merci de saisir entre {0} et {1} caractères.",minRowCountError:"Merci de compléter au moins {0} lignes.",minSelectError:"Merci de sélectionner au minimum {0} réponses.",maxSelectError:"Merci de sélectionner au maximum {0} réponses.",numericMinMax:"Votre réponse '{0}' doit être supérieure ou égale à {1} et inférieure ou égale à {2}",numericMin:"Votre réponse '{0}' doit être supérieure ou égale à {1}",numericMax:"Votre réponse '{0}' doit être inférieure ou égale à {1}",invalidEmail:"Merci d'entrer une adresse mail valide.",invalidExpression:"L'expression: {0} doit retourner 'true'.",urlRequestError:"La requête a renvoyé une erreur '{0}'. {1}",urlGetChoicesError:"La requête a renvoyé des données vides ou la propriété 'path' est incorrecte",exceedMaxSize:"La taille du fichier ne doit pas excéder {0}.",noUploadFilesHandler:"Les fichiers ne peuvent pas être téléchargés. Veuillez ajouter un gestionnaire pour lâévénement 'onUploadFiles'.",otherRequiredError:"Merci de préciser le champ 'Autre'.",uploadingFile:"Votre fichier est en cours de chargement. Merci d'attendre quelques secondes et de réessayer.",loadingFile:"Chargement...",chooseFile:"Ajouter des fichiers...",noFileChosen:"Aucun fichier ajouté",filePlaceholder:"Déposez un fichier ici ou cliquez sur le bouton ci-dessous pour charger le fichier.",confirmDelete:"Voulez-vous supprimer cet enregistrement ?",keyDuplicationError:"Cette valeur doit être unique.",addColumn:"Ajouter une colonne",addRow:"Ajouter une ligne",removeRow:"Supprimer",emptyRowsText:"Il n'y a pas de lignes.",addPanel:"Ajouter",removePanel:"Supprimer",showDetails:"Afficher les détails",hideDetails:"Masquer les détails",choices_Item:"item",matrix_column:"Colonne",matrix_row:"Ligne",multipletext_itemname:"texte",savingData:"Les résultats sont en cours de sauvegarde sur le serveur...",savingDataError:"Une erreur est survenue et a empêché la sauvegarde des résultats.",savingDataSuccess:"Les résultats ont bien été enregistrés !",savingExceedSize:"Votre réponse dépasse 64 Ko. Veuillez réduire la taille de votre ou vos fichiers et réessayer ou contacter un propriétaire de sondage.",saveAgainButton:"Réessayer",timerMin:"min",timerSec:"sec",timerSpentAll:"Vous avez passé {0} sur cette page et {1} au total.",timerSpentPage:"Vous avez passé {0} sur cette page.",timerSpentSurvey:"Vous avez passé {0} au total.",timerLimitAll:"Vous avez passé {0} sur {1} sur cette page et {2} sur {3} au total.",timerLimitPage:"Vous avez passé {0} sur {1} sur cette page.",timerLimitSurvey:"Vous avez passé {0} sur {1} au total.",clearCaption:"Vider",signaturePlaceHolder:"Signez ici",signaturePlaceHolderReadOnly:"Pas de signature",chooseFileCaption:"Ajouter un fichier",takePhotoCaption:"Prendre une photo",photoPlaceholder:"Cliquez sur le bouton ci-dessous pour prendre une photo à lâaide de lâappareil photo.",fileOrPhotoPlaceholder:"Faites glisser et déposez ou sélectionnez un fichier à télécharger ou à prendre une photo à lâaide de lâappareil photo.",replaceFileCaption:"Remplacer le fichier",removeFileCaption:"Enlever ce fichier",booleanCheckedLabel:"Oui",booleanUncheckedLabel:"Non",confirmRemoveFile:"Ãtes-vous certains de vouloir supprimer ce fichier : {0}?",confirmRemoveAllFiles:"Ãtes-vous certains de vouloir supprimer tous les fichiers?",questionTitlePatternText:"Titre de la question",modalCancelButtonText:"Annuler",modalApplyButtonText:"Appliquer",filterStringPlaceholder:"Tapez pour rechercher...",emptyMessage:"Aucune donnée à afficher",noEntriesText:"Il n'y a pas encore d'entrées.\nCliquez sur le bouton ci-dessous pour ajouter une nouvelle entrée.",noEntriesReadonlyText:"Il nây a pas dâentrées.",tabTitlePlaceholder:"Nouveau panneau",more:"Plus",tagboxDoneButtonCaption:"DâACCORD",selectToRankEmptyRankedAreaText:"Tous les choix sont classés",selectToRankEmptyUnrankedAreaText:"Faites glisser et déposez les choix ici pour les classer",ok:"DâACCORD",cancel:"Annuler"},nativeName:"français",englishName:"French"});m({localeCode:"ka",strings:{pagePrevText:"á£ááá",pageNextText:"á¨ááááá",completeText:"ááá¡á á£áááá",previewText:"ááááá®áááá",editText:"á áááá¥á¢áá ááá",startSurveyText:"ááá¥áá¥áá",otherItemText:"á¡á®áá (ááá®ááá ááá£ááááá)",noneItemText:"áá áªáá áá",refuseItemText:"á£áá á ááá¡á£á®áá",dontKnowItemText:"áá áááªá",selectAllItemText:"á§ááááá¡ ááááá¨áá",deselectAllItemText:"á§ááááá¡ áá á©ááá",progressText:"áááá áá {0} / {1}",indexText:"{1} {0}",panelDynamicProgressText:"{1} {0}",panelDynamicTabTextFormat:"Panel {panelIndex}",questionsProgressText:"á£ááá¡á£á®áá {0}/{1} áááá®áááá¡",emptySurvey:"áá áªáá áá áááá®áá áá áá áá¡.",completingSurvey:"áááááááá áááá®ááá áá¡ á¨ááá¡áááá¡áááá¡!",completingSurveyBefore:"á©áááá á©áááá¬áá ááá áá©áááááá¡, á áá áá¥ááá á£ááá áááá¡á á£ááá áá¡ áááááááá®áá.",loadingSurvey:"á©áá¢ááá ááá á¡áá ááá áááá...",placeholder:"áá á©ááá...",ratingOptionsCaption:"ááá á©ááá...",value:"á¦áá ááá£áááá",requiredError:"ááá®ááá á£ááá¡á£á®áá áááá®ááá¡.",requiredErrorInPanel:"á¡áááá áá ááá¡á£á®á: á£ááá¡á£á®áá áááááá£á áá á áááá®ááá¡.",requiredInAllRowsError:"á¡áááá áá ááá¡á£á®á: á£ááá¡á£á®áá áááá®áááá¡ á§áááá á ááá¨á.",eachRowUniqueError:"áááááá£á á ááá¡ á£ááá á°á¥ááááá¡ á£áááááá£á á áááá¨ááááááá.",numericError:"ááá¡á£á®á á£ááá áá§áá¡ á ááªá®áá.",minError:"á¦áá ááá£áááá áá á£ááá áá§áá¡ ááááááá {0}",maxError:"á¦áá ááá£áááá áá á£ááá áá§áá¡ {0}",textNoDigitsAllow:"áááá ááá áá áá áá¡ ááá¨áááá£áá.",textMinLength:"ááá®ááá á¨ááá§ááááá áá ááááááá {0} á¡áááááá.",textMaxLength:"ááá®ááá, á¨ááá§ááááá áá áá£ááá¢áá¡ {0} á¡áááááá(áá)á.",textMinMaxLength:"ááá®ááá, á¨ááá§ááááá áááááá£á {0} áá áá áá£ááá¢áá¡ {1} á¡áááááá.",minRowCountError:"ááá®ááá á¨áááá¡áá áááááá£á {0} á ááá( áá)á.",minSelectError:"ááá®ááá ááá á©ááá áá ááááááá {0} ááá áááá¢á.",maxSelectError:"ááá®ááá ááá á©ááá áá áá£ááá¢áá¡ {0} ááá áááá¢á.",numericMinMax:"'{0}' á£ááá áá§áá¡ ááá¢á áá á¢ááá, áááá á {1}, áá ááááááá áá á¢ááá áááá á {2}",numericMin:"'{0}' á£ááá áá§áá¡ ááá¢á áá á¢ááá áááá á {1}",numericMax:"'{0}' á£ááá áá§áá¡ ááááááá áá á¢ááá áááá á {1}",invalidEmail:"ááá®ááá á¨ááá§ááááá áá. á¤áá¡á¢áá¡ á áááá£á á ááá¡áááá áá.",invalidExpression:'áááááá¥áá: {0} á£ááá áááá á£áááá¡ "ááá¨ááá áá¢á".',urlRequestError:"áááá®áááá ááá£áá á£ááá á¨ááªááááá¡ '{0}'. {1}",urlGetChoicesError:'áááá®ááááá ááá£áá á£áá áªáá áááá áááááªááááá áá "ááááááá¡" á¥ááááá áá áá¡á¬áá áá',exceedMaxSize:"á¤ááááá¡ áááá áá á£ááá áá¦áááá¢áááááá¡ {0}.",noUploadFilesHandler:"á¤ááááááá¡ áá¢ááá ááá á¨áá£á«ááááááá. ááá®ááá, áááááá¢áá ááááá£á¨ááááááá 'onUploadFiles' á¦áááá¡á«ááááá¡áááá¡.",otherRequiredError:"á¡áááá áá ááá¡á£á®á: á¨ááá§ááááá á¡á®áá áááá¨ááááááá.",uploadingFile:"áá¥áááá á¤áááá áá¢ááá áááá. ááá®ááá áááááááá á áááááááá á¬ááá¡ áá ááááá á¡áªáááá.",loadingFile:"áá¢ááá áááá...",chooseFile:"ááá á©ááá á¤áááá...",noFileChosen:"á¤ááááá¡ áá á©ááá áá áá áá¡",filePlaceholder:"áááááá¢áááá áá á©áááááááá á¤áááá áᥠáá áááááá áá á¥ááááá áááªááá£á á¦ááááá¡ áá ááá á©ááá á¤áááá áá¡áá¢ááá ááá.",confirmDelete:"áá¡á£á á á©áááá¬áá áá¡ á¬áá¨áá?",keyDuplicationError:"áá¡ áááá¨ááááááá á£ááá áá§áá¡ á£áááááá£á á.",addColumn:"á¡ááá¢áá¡ ááááá¢ááá",addRow:"á áááá¡ ááááá¢ááá",removeRow:"á¬áá¨áá",emptyRowsText:"á ááááá áá áá áá¡.",addPanel:"áá®ááá ááááá¢ááá",removePanel:"á¬áá¨áá",showDetails:"ááá¢áááááá¡ á©áááááá",hideDetails:"ááá¢áááááá¡ ááááááá",choices_Item:"ááááá",matrix_column:"á¡ááá¢á",matrix_row:"á ááá",multipletext_itemname:"á¢áá¥á¡á¢á",savingData:"á¨ááááááá áááá®ááá á¡áá ááá áá...",savingDataError:"ááá¤áá¥á¡áá áá á¨ááªáááá áá á¨ááááá ááá á¨áááááá®ááááá.",savingDataSuccess:"á¨ááááááá á¬áá ááá¢áááá áááááá á©áááá¡!",savingExceedSize:"áá¥áááá ááá¡á£á®á áá¦áááá¢ááá 64KB. ááá®ááá, á¨ááááªáá áá áá¥áááá á¤ááá(áá)áá¡ áááá áá á¡áªáááá á®áááá®áá áá ááá£áááá¨áá ááá áááááááá®ááá¡ áá¤áááááá¡.",saveAgainButton:"ááááá á¡áªááá",timerMin:"á¬á",timerSec:"á¬á",timerSpentAll:"áá¥ááá ááá®áá á¯áá {0} áá áááá ááá áá á¯ááá¨á {1}.",timerSpentPage:"áá¥ááá {0} ááá®áá á¯áá áá áááá ááá.",timerSpentSurvey:"áá¥ááá á¡á£á {0} ááá®áá á¯áá.",timerLimitAll:"áá¥ááá ááá®áá á¯áá {1} {0} áá áááá ááá áá á¯ááá¨á {3} {2}.",timerLimitPage:"áá¥ááá áá áááá ááá {1} {0} ááá®áá á¯áá.",timerLimitSurvey:"áá¥ááá á¡á£á {1} {0} ááá®áá á¯áá.",clearCaption:"ááá¬ááááááá áªá",signaturePlaceHolder:"á¨áá¡ááá áá¥",signaturePlaceHolderReadOnly:"á®ááááá¬áá á áá áá áá¡",chooseFileCaption:"ááá£á©áá áá¡ ááá®áá",takePhotoCaption:"áááááá¦áá á¤áá¢á",photoPlaceholder:"áááááá áá á¥ááááá áááªááá£á á¦ááááá¡, á áá áááááá¦áá á¤áá¢á ááááá áá¡ ááááá§áááááá.",fileOrPhotoPlaceholder:"áááááá¢áááá áá á©áááááááá áá á¨ááá á©ááá á¤áááá ááááá áá¡ ááááá§áááááá á¤áá¢áá¡ áá¡áá¢ááá ááá áá ááááá¡áá¦áááá.",replaceFileCaption:"á¤ááááá¡ á¨ááªááá",removeFileCaption:"áá á¤ááááá¡ á¬áá¨áá",booleanCheckedLabel:"áááá®",booleanUncheckedLabel:"áá á",confirmRemoveFile:"ááá á¬áá£áááá£áá á®áá á, á áá áá¡á£á á áá á¤ááááá¡ á¬áá¨áá: {0}?",confirmRemoveAllFiles:"ááá á¬áá£áááá£áá á®áá á, á áá áá¡á£á á á§áááá á¤ááááá¡ á¬áá¨áá?",questionTitlePatternText:"áááá®ááá¡ á¡áááá£á á",modalCancelButtonText:"ááá£á¥áááá",modalApplyButtonText:"ááá¦ááá",filterStringPlaceholder:"á©áá¬áá áá á«áááá...",emptyMessage:"áááááªááááá áá áá áá¡ á¡áá©áááááááá",noEntriesText:"á¯áá áá áá áá¡ á©áááá¬áá ááá.\náááááá áá á¥ááááá áááªááá£á á¦ááááá¡, á áá áááááá¢áá áá®ááá á©áááá¬áá á.",noEntriesReadonlyText:"áá áá á¡ááááá¡ á©áááá¬áá ááá.",tabTitlePlaceholder:"áá®ááá áááááá",more:"á¡á á£ááá",tagboxDoneButtonCaption:"ááá áá",selectToRankEmptyRankedAreaText:"á§áááá áá á©ááááá á ááááá ááá£ááá",selectToRankEmptyUnrankedAreaText:"áááááá¢áááá áá á©áááááááá áá á©ááááá áá¥, á áá áááá¡áá®áááá áá¡ááá",ok:"ááá áá",cancel:"ááá£á¥áááá"},nativeName:"á¥áá áá£áá",englishName:"Georgian"});m({localeCode:"de",strings:{pagePrevText:"Zurück",pageNextText:"Weiter",completeText:"AbschlieÃen",previewText:"Vorschau",editText:"Bearbeiten",startSurveyText:"Start",otherItemText:"Sonstiges (Bitte angeben)",noneItemText:"Nichts trifft zu",refuseItemText:"Antwort verweigern",dontKnowItemText:"Weià ich nicht",selectAllItemText:"Alles auswählen",deselectAllItemText:"Alle abwählen",progressText:"Seite {0} von {1}",indexText:"{0} von {1}",panelDynamicProgressText:"Eintrag {0} von {1}",panelDynamicTabTextFormat:"Bereich {panelIndex}",questionsProgressText:"{0}/{1} Fragen beantwortet",emptySurvey:"Es sind keine Fragen vorhanden.",completingSurvey:"Vielen Dank, dass Sie die Umfrage abgeschlossen haben!",completingSurveyBefore:"Sie haben diese Umfrage bereits abgeschlossen.",loadingSurvey:"Umfrage wird geladen...",placeholder:"Bitte auswählen...",ratingOptionsCaption:"Tippen Sie hier, um zu bewerten...",value:"Wert",requiredError:"Bitte beantworten Sie diese Frage.",requiredErrorInPanel:"Bitte beantworten Sie mindestens eine Frage.",requiredInAllRowsError:"Bitte beantworten Sie alle Fragen.",eachRowUniqueError:"Jede Zeile muss einen eindeutigen Wert haben.",numericError:"Der Wert muss eine Zahl sein.",minError:"Der Wert sollte nicht kleiner als {0} sein",maxError:"Der Wert sollte nicht gröÃer als {0} sein",textNoDigitsAllow:"Zahlen sind nicht erlaubt.",textMinLength:"Bitte geben Sie mindestens {0} Zeichen ein.",textMaxLength:"Bitte geben Sie nicht mehr als {0} Zeichen ein.",textMinMaxLength:"Bitte geben Sie mindestens {0} und maximal {1} Zeichen ein.",minRowCountError:"Bitte machen Sie in mindestens {0} Zeilen eine Eingabe.",minSelectError:"Bitte wählen Sie mindestens {0} Antwort(en) aus.",maxSelectError:"Bitte wählen Sie nicht mehr als {0} Antwort(en) aus.",numericMinMax:"'{0}' muss gröÃer oder gleich {1} und kleiner oder gleich {2} sein",numericMin:"'{0}' muss gröÃer oder gleich {1} sein",numericMax:"'{0}' muss kleiner oder gleich {1} sein",invalidEmail:"Bitte geben Sie eine gültige E-Mail-Adresse ein.",invalidExpression:"Der Ausdruck: {0} muss den Wert 'wahr' zurückgeben.",urlRequestError:"Ein Netzwerkdienst hat folgenden Fehler zurückgegeben '{0}'. {1}",urlGetChoicesError:"Eine Netzwerkdienst hat ungültige Daten zurückgegeben",exceedMaxSize:"Die Datei darf nicht gröÃer als {0} sein.",noUploadFilesHandler:"Dateien können nicht hochgeladen werden. Fügen Sie einen Handler für das Ereignis 'onUploadFiles' hinzu.",otherRequiredError:"Bitte geben Sie einen Wert an.",uploadingFile:"Bitte warten Sie bis der Upload Ihrer Dateien abgeschlossen ist.",loadingFile:"Wird hochgeladen...",chooseFile:"Datei(en) auswählen...",noFileChosen:"Keine Datei ausgewählt",filePlaceholder:"Legen Sie hier eine Datei ab oder klicken Sie auf die Schaltfläche unten, um die Datei zu laden.",confirmDelete:"Wollen Sie den Eintrag löschen?",keyDuplicationError:"Dieser Wert muss einmalig sein.",addColumn:"Spalte hinzufügen",addRow:"Zeile hinzufügen",removeRow:"Entfernen",emptyRowsText:"Es gibt keine Reihen.",addPanel:"Neu hinzufügen",removePanel:"Entfernen",showDetails:"Details anzeigen",hideDetails:"Details ausblenden",choices_Item:"Element",matrix_column:"Spalte",matrix_row:"Zeile",multipletext_itemname:"Text",savingData:"Die Ergebnisse werden auf dem Server gespeichert...",savingDataError:"Es ist ein Fehler aufgetreten. Die Ergebnisse konnten nicht gespeichert werden.",savingDataSuccess:"Die Ergebnisse wurden gespeichert!",savingExceedSize:"Ihre Antwort überschreitet 64 KB. Reduzieren Sie die GröÃe Ihrer Datei(en) und versuchen Sie es erneut, oder wenden Sie sich an den Umfragebesitzer.",saveAgainButton:"Erneut absenden",timerMin:"Min.",timerSec:"Sek.",timerSpentAll:"Sie waren {0} auf dieser Seite und brauchten insgesamt {1}.",timerSpentPage:"Sie waren {0} auf dieser Seite.",timerSpentSurvey:"Sie haben insgesamt {0} gebraucht.",timerLimitAll:"Sie waren {0} von {1} auf dieser Seite und brauchten insgesamt {2} von {3}.",timerLimitPage:"Sie waren {0} von {1} auf dieser Seite.",timerLimitSurvey:"Sie haben insgesamt {0} von {1} gebraucht.",clearCaption:"Auswahl entfernen",signaturePlaceHolder:"Hier unterschreiben",signaturePlaceHolderReadOnly:"Keine Unterschrift",chooseFileCaption:"Datei auswählen",takePhotoCaption:"Foto machen",photoPlaceholder:"Klicken Sie auf die Schaltfläche unten, um ein Foto mit der Kamera aufzunehmen.",fileOrPhotoPlaceholder:"Ziehen Sie eine Datei per Drag & Drop oder wählen Sie sie aus, um sie hochzuladen oder machen Sie ein Foto mit der Kamera.",replaceFileCaption:"Datei ersetzen",removeFileCaption:"Datei löschen",booleanCheckedLabel:"Ja",booleanUncheckedLabel:"Nein",confirmRemoveFile:"Sind Sie sicher, dass Sie diese Datei löschen möchten: {0}?",confirmRemoveAllFiles:"Sind Sie sicher, dass Sie alle Dateien löschen möchten?",questionTitlePatternText:"Fragentitel",modalCancelButtonText:"Abbrechen",modalApplyButtonText:"Anwenden",filterStringPlaceholder:"Tippen Sie, um zu suchen...",emptyMessage:"Es gibt noch keine Daten.",noEntriesText:"Es gibt noch keine Einträge.\nKlicken Sie auf die Schaltfläche unten, um einen neuen Eintrag hinzuzufügen.",noEntriesReadonlyText:"Es gibt keine Einträge.",tabTitlePlaceholder:"Neues Panel",more:"Mehr",tagboxDoneButtonCaption:"OK",selectToRankEmptyRankedAreaText:"Alle Auswahlmöglichkeiten sind in einer Rangfolge angeordnet",selectToRankEmptyUnrankedAreaText:"Ziehen Sie die Auswahl hierher, um sie zu ordnen",ok:"OK",cancel:"Abbrechen"},nativeName:"deutsch",englishName:"German"});m({localeCode:"el",strings:{pagePrevText:"Î ÏοηγοÏμενο",pageNextText:"ÎÏÏμενο",completeText:"ÎλοκλήÏÏÏη",previewText:"Î ÏοεÏιÏκÏÏηÏη",editText:"ÎÏεξεÏγαÏία",startSurveyText:"ÎÏÏή",otherItemText:"Îλλο (ÏαÏÎ±ÎºÎ±Î»Ï Î´Î¹ÎµÏ
κÏινίÏÏε)",noneItemText:"ÎανÎναÏ",refuseItemText:"ÎÏνηθείÏε να αÏανÏήÏεÏε",dontKnowItemText:"Îεν ξÎÏÏ",selectAllItemText:"ÎÏιλογή ÏλÏν",deselectAllItemText:"ÎÏοεÏιλογή ÏλÏν",progressText:"Σελίδα {0} αÏÏ {1}",indexText:"{0} αÏÏ {1}",panelDynamicProgressText:"ÎγγÏαÏή {0} αÏÏ {1}",panelDynamicTabTextFormat:"Î Î¯Î½Î±ÎºÎ±Ï {panelIndex}",questionsProgressText:"ÎÏανÏήθηκαν {0} / {1} εÏÏÏήÏειÏ",emptySurvey:"Îεν Ï
ÏάÏÏει καμία οÏαÏή Ïελίδα ή οÏαÏή εÏÏÏηÏη Ïε αÏ
ÏÏ Ïο εÏÏÏημαÏολÏγιο.",completingSurvey:"ÎÏ
ÏαÏιÏÏοÏμε για Ïην ÏÏ
μÏλήÏÏÏη αÏ
ÏÎ¿Ï ÏοÏ
εÏÏÏημαÏολογίοÏ
!",completingSurveyBefore:"Τα αÏÏεία Î¼Î±Ï Î´ÎµÎ¯ÏνοÏ
ν ÏÏι ÎÏεÏε ήδη ολοκληÏÏÏει αÏ
Ïήν Ïην ÎÏεÏ
να.",loadingSurvey:"Το εÏÏÏημαÏολÏγιο ÏοÏÏÏνεÏαι αÏο Ïο διακομιÏÏή...",placeholder:"ÎÏιλÎξÏε...",ratingOptionsCaption:"ΠαÏήÏÏε για να βαθμολογήÏεÏε εδÏ...",value:"Ïιμή",requiredError:"ΠαÏÎ±ÎºÎ±Î»Ï Î±ÏανÏήÏÏε ÏÏην εÏÏÏηÏη.",requiredErrorInPanel:"ÎÏανÏήÏÏε Ïε ÏοÏ
λάÏιÏÏον μία εÏÏÏηÏη.",requiredInAllRowsError:"ΠαÏÎ±ÎºÎ±Î»Ï Î±ÏανÏήÏÏε ÏÎ¹Ï ÎµÏÏÏήÏÎµÎ¹Ï Ïε ÏÎ»ÎµÏ ÏÎ¹Ï Î³ÏαμμÎÏ.",eachRowUniqueError:"Îάθε γÏαμμή ÏÏÎÏει να ÎÏει μια μοναδική Ïιμή.",numericError:"Î Ïιμή ÏÏÎÏει να είναι αÏιθμηÏική.",minError:"Î Ïιμή δεν ÏÏÎÏει να είναι μικÏÏÏεÏη αÏÏ {0}",maxError:"Î Ïιμή δεν ÏÏÎÏει να είναι μεγαλÏÏεÏη αÏÏ {0}",textNoDigitsAllow:"Îι αÏιθμοί δεν εÏιÏÏÎÏονÏαι.",textMinLength:"ΠαÏÎ±ÎºÎ±Î»Ï ÏÏ
μÏληÏÏÏÏε ÏοÏ
λάÏιÏÏον {0} ÏαÏακÏήÏεÏ.",textMaxLength:"ÎιÏαγάγεÏε λιγÏÏεÏοÏ
Ï Î±ÏÏ {0} ÏαÏακÏήÏεÏ.",textMinMaxLength:"ÎιÏαγάγεÏε ÏεÏιÏÏÏÏεÏοÏ
Ï Î±ÏÏ {0} και λιγÏÏεÏοÏ
Ï Î±ÏÏ {1} ÏαÏακÏήÏεÏ.",minRowCountError:"ΠαÏÎ±ÎºÎ±Î»Ï ÏÏ
μÏληÏÏÏÏε ÏοÏ
λάÏιÏÏον {0} γÏαμμÎÏ.",minSelectError:"ΠαÏÎ±ÎºÎ±Î»Ï ÎµÏιλÎξÏε ÏοÏ
λάÏιÏÏον {0} ÏαÏαλλαγÎÏ.",maxSelectError:"ΠαÏÎ±ÎºÎ±Î»Ï ÎµÏιλÎξÏε ÏÏι ÏαÏαÏÎ¬Î½Ï Î±Ïο {0} ÏαÏαλλαγÎÏ.",numericMinMax:"Το '{0}' θα ÏÏÎÏει να είναι ίÏο ή μεγαλÏÏεÏο αÏο Ïο {1} και ίÏο ή μικÏÏÏεÏο αÏο Ïο {2}",numericMin:"Το '{0}' ÏÏÎÏει να είναι μεγαλÏÏεÏο ή ιÏο με Ïο {1}",numericMax:"Το '{0}' ÏÏÎÏει να είναι μικÏÏÏεÏο ή ίÏο αÏο Ïο {1}
vendor: 4,590 bytes, line 16
16",invalidEmail:"ΠαÏÎ±ÎºÎ±Î»Ï Î´ÏÏÏε μια αÏοδεκÏή διεÏθÏ
νÏη e-mail.",invalidExpression:"Î ÎκÏÏαÏη: {0} θα ÏÏÎÏει να εÏιÏÏÏÎÏει 'true'.",urlRequestError:"ΠαίÏηÏη εÏÎÏÏÏεÏε ÏÏάλμα '{0}'. {1}",urlGetChoicesError:"ΠαίÏηÏη εÏÎÏÏÏεÏε κενά δεδομÎνα ή η ιδιÏÏηÏα 'μονοÏάÏι/path' είναι εÏÏαλμÎνη",exceedMaxSize:"Το μÎÎ³ÎµÎ¸Î¿Ï ÏοÏ
αÏÏείοÏ
δεν μÏοÏεί να Ï
ÏεÏβαίνει Ïα {0}.",noUploadFilesHandler:"Îεν είναι δÏ
ναÏή η αÏοÏÏολή αÏÏείÏν. Î ÏοÏθÎÏÏε Îνα ÏÏÏγÏαμμα ÏειÏιÏÎ¼Î¿Ï Î³Î¹Î± Ïο ÏÏ
μβάν 'onUploadFiles'.",otherRequiredError:"ΠαÏÎ±ÎºÎ±Î»Ï ÏÏ
μÏληÏÏÏÏε Ïην Ïιμή για Ïο Ïεδίο 'άλλο'.",uploadingFile:"Το αÏÏείο ÏÎ±Ï Î±Î½ÎµÎ²Î±Î¯Î½ÎµÎ¹. ΠαÏÎ±ÎºÎ±Î»Ï ÏεÏιμÎνεÏε μεÏικά δεÏ
ÏεÏÏλεÏÏα και δοκιμάÏÏε ξανά.",loadingFile:"ΦÏÏÏÏÏη...",chooseFile:"ÎÏιλογή αÏÏείÏν ...",noFileChosen:"Îεν ÎÏει εÏιλεγεί αÏÏείο",filePlaceholder:"ÎÏοθÎÏÏε Ïο αÏÏείο ÏÎ±Ï ÎµÎ´Ï Î® κάνÏε κλικ ÏÏο κοÏ
μÏί ÏαÏακάÏÏ Î³Î¹Î± να ÏοÏÏÏÏεÏε Ïο αÏÏείο.",confirmDelete:"ÎÎλεÏε να διαγÏάÏεÏε Ïην εγγÏαÏή;",keyDuplicationError:"ÎÏ
Ïή η Ïιμή ÏÏÎÏει να είναι μοναδική.",addColumn:"Î ÏοÏθήκη ÏÏήληÏ",addRow:"Î ÏοÏθήκη γÏαμμήÏ",removeRow:"ÎÏαίÏεÏη",emptyRowsText:"Îεν Ï
ÏάÏÏοÏ
ν εγγÏαÏÎÏ.",addPanel:"Î ÏοÏθÎÏÏε νÎο",removePanel:"ÎÏαίÏεÏη",showDetails:"ÎμÏάνιÏη λεÏÏομεÏειÏν",hideDetails:"ÎÏÏκÏÏ
Ïη λεÏÏομεÏειÏν",choices_Item:"είδοÏ",matrix_column:"ΣÏήλη",matrix_row:"ÎÏαμμή",multipletext_itemname:"κείμενο",savingData:"Τα αÏοÏελÎÏμαÏα αÏοθηκεÏονÏαι ÏÏον διακομιÏÏή ...",savingDataError:"ΠαÏοÏ
ÏιάÏÏηκε ÏÏάλμα και δεν ήÏαν δÏ
ναÏή η αÏοθήκεÏ
Ïη ÏÏν αÏοÏελεÏμάÏÏν.",savingDataSuccess:"Τα αÏοÏελÎÏμαÏα αÏοθηκεÏÏηκαν με εÏιÏÏ
Ïία!",savingExceedSize:"ΠαÏάνÏηÏή ÏÎ±Ï Ï
ÏεÏβαίνει Ïα 64KB. ÎειÏÏÏε Ïο μÎÎ³ÎµÎ¸Î¿Ï ÏÏν αÏÏείÏν ÏÎ±Ï ÎºÎ±Î¹ ÏÏοÏÏαθήÏÏε ξανά ή εÏικοινÏνήÏÏε με Îναν κάÏοÏο ÎÏεÏ
ναÏ.",saveAgainButton:"Î ÏοÏÏάθηÏε ξανά",timerMin:"ελάÏ",timerSec:"δεÏ
Ï",timerSpentAll:"ÎÏεÏε δαÏανήÏει {0} Ïε αÏ
Ïήν Ïη Ïελίδα και {1} ÏÏ
νολικά.",timerSpentPage:"ÎÏεÏε ξοδÎÏει {0} Ïε αÏ
Ïήν Ïη Ïελίδα.",timerSpentSurvey:"ÎÏεÏε ξοδÎÏει ÏÏ
νολικά {0}.",timerLimitAll:"ÎÏεÏε δαÏανήÏει {0} αÏÏ {1} Ïε αÏ
Ïήν Ïη Ïελίδα και {2} αÏÏ {3} ÏÏ
νολικά.",timerLimitPage:"ÎÏεÏε ξοδÎÏει {0} αÏÏ {1} Ïε αÏ
Ïήν Ïη Ïελίδα.",timerLimitSurvey:"ÎÏεÏε ξοδÎÏει {0} αÏÏ {1} ÏÏ
νολικά.",clearCaption:"ÎκκαθάÏιÏη",signaturePlaceHolder:"Î¥ÏογÏάÏÏε εδÏ",signaturePlaceHolderReadOnly:"ΧÏÏÎ¯Ï Ï
ÏογÏαÏή",chooseFileCaption:"ÎÏιλÎξÏε αÏÏείο",takePhotoCaption:"ÎήÏη ÏÏÏογÏαÏίαÏ",photoPlaceholder:"ÎάνÏε κλικ ÏÏο ÏαÏακάÏÏ ÎºÎ¿Ï
μÏί για να ÏÏαβήξεÏε μια ÏÏÏογÏαÏία ÏÏηÏιμοÏοιÏνÏÎ±Ï Ïην κάμεÏα.",fileOrPhotoPlaceholder:"ΣÏÏεÏε και αÏοθÎÏÏε ή εÏιλÎξÏε Îνα αÏÏείο για αÏοÏÏολή ή λήÏη ÏÏÏογÏαÏÎ¯Î±Ï ÏÏηÏιμοÏοιÏνÏÎ±Ï Ïην κάμεÏα.",replaceFileCaption:"ÎνÏικαÏάÏÏαÏη αÏÏείοÏ
",removeFileCaption:"ÎιαγÏάÏÏε αÏ
ÏÏ Ïο αÏÏείο",booleanCheckedLabel:"Îαι",booleanUncheckedLabel:"ÎÏι",confirmRemoveFile:"ÎίÏÏε βÎβαιοι ÏÏι θÎλεÏε να διαγÏάÏεÏε αÏ
ÏÏ Ïο αÏÏείο: {0};",confirmRemoveAllFiles:"ÎίÏÏε βÎβαιοι ÏÏι θÎλεÏε να διαγÏάÏεÏε Ïλα Ïα αÏÏεία;",questionTitlePatternText:"ΤίÏÎ»Î¿Ï ÎµÏÏÏηÏηÏ",modalCancelButtonText:"ÎκÏ
Ïο",modalApplyButtonText:"ÎÏαÏμογή",filterStringPlaceholder:"ΠληκÏÏολογήÏÏε για αναζήÏηÏη...",emptyMessage:"Îεν Ï
ÏάÏÏοÏ
ν δεδομÎÎ
vendor: 21,551 bytes, line 16
16½Î± ÏÏÎ¿Ï ÎµÎ¼ÏάνιÏη",noEntriesText:"Îεν Ï
ÏάÏÏοÏ
ν ακÏμη εγγÏαÏÎÏ.\nÎάνÏε κλικ ÏÏο κοÏ
μÏί ÏαÏακάÏÏ Î³Î¹Î± να ÏÏοÏθÎÏεÏε μια νÎα εγγÏαÏή.",noEntriesReadonlyText:"Îεν Ï
ÏάÏÏοÏ
ν καÏαÏÏÏήÏειÏ.",tabTitlePlaceholder:"ÎÎο Ïάνελ",more:"ΠεÏιÏÏÏÏεÏα",tagboxDoneButtonCaption:"ÎÎ",selectToRankEmptyRankedAreaText:"ÎÎ»ÎµÏ Î¿Î¹ εÏιλογÎÏ ÎºÎ±ÏαÏάÏÏονÏαι",selectToRankEmptyUnrankedAreaText:"ΣÏÏεÏε και αÏοθÎÏÏε εÏιλογÎÏ ÎµÎ´Ï Î³Î¹Î± να ÏÎ¹Ï ÎºÎ±ÏαÏάξεÏε",ok:"OK",cancel:"ÎκÏ
ÏÏνÏ"},nativeName:"ελληνικά",englishName:"Greek"});m({localeCode:"he",strings:{pagePrevText:"×××ר×",pageNextText:"×§××××",completeText:"ס×××",previewText:"תצ××× ××§××××",editText:"×ַעֲר×Ö¹×",startSurveyText:"×ַת×Ö¸×Ö¸×",otherItemText:"××ר (× × ×ת×ר)",noneItemText:"××£ ×××",refuseItemText:"×סר××× ××¢× ×ת",dontKnowItemText:"×× ××××¢",selectAllItemText:"××ר ×××",deselectAllItemText:"××× ×ת ×××××¨× ××××",progressText:"××£ {0} ×ת×× {1}",indexText:"{0} ×ת×× {1}",panelDynamicProgressText:"××§××× {0} ×ת×× {1}",panelDynamicTabTextFormat:"××× {panelIndex}",questionsProgressText:"×¢× × ×¢× ×©×××ת",emptySurvey:"××× ×©×××ת",completingSurvey:"ת××× ×¢× ××××× ×ש××××!",completingSurveyBefore:"×רש×××ת ש×× × ×ר××ת ש××ר ס×××ת ×ת ×סקר ×××.",loadingSurvey:"××¢×× × ××שרת...",placeholder:"××ר...",ratingOptionsCaption:"××ר...",value:"ער×",requiredError:"×× × ××©× ×¢× ×ש×××",requiredErrorInPanel:"×× × ×¢× × ×פ××ת ×¢× ×©××× ××ת.",requiredInAllRowsError:"×× × ×¢× × ×¢× ×©×××ת ××× ×ש×ר×ת.",eachRowUniqueError:"××× ×©××¨× ×××× ××××ת ×¢×¨× ××××××.",numericError:"×תש××× ×¦×¨××× ××××ת ×ספר.",minError:"××¢×¨× ×× ×¦×¨×× ××××ת ×§×× × {0}",maxError:"××¢×¨× ×× ×¦×¨×× ××××ת ×××× ×- {0}",textNoDigitsAllow:"×ספר×× ××× × ××תר××.",textMinLength:"××× ×פ××ת {0} ת××××.",textMaxLength:"××× ×¤××ת ×- {0} ת××××.",textMinMaxLength:"××× ××תר ×- {0} ×פ××ת ×- {1} ת××××.",minRowCountError:"×× × ××× ×פ××ת {0} ש×ר×ת.",minSelectError:"××ר ×פ××ת {0} ×פשר×××ת.",maxSelectError:"××ר ×¢× {0} ×פשר×××ת.",numericMinMax:"'{0}' ×××× ××××ת ש××× ×× ×××× × {1}, ×ש××× ×- {2} ×× ×¤××ת ×- {}}",numericMin:"'{0}' ×××× ××××ת ש××× ×× ×××× × {1}",numericMax:"'{0}' ×××× ××××ת ש××× ×× ×§×× × {1}",invalidEmail:'××× ×ת××ת ×××"× ×××§×ת.',invalidExpression:"××××××: {0} צר×× ×××××ר '××ת'.",urlRequestError:"×××§×©× ×××××¨× ×ת ×ש×××× '{0}'. {1}",urlGetChoicesError:"×××§×©× ×××××¨× × ×ª×× ×× ×¨××§×× ×× ×©×××פ××× '× ×ª××' ש×××",exceedMaxSize:"×××× ××§×××¥ ×× ××¢×× ×¢× {0}.",noUploadFilesHandler:"×× × ××ª× ×××¢××ת ×§×צ××. ×× × ××סף ×××¤× ×××ר××¢ 'onUploadFiles'.",otherRequiredError:'× × ××××× × ×ª×× ×× ×ש×× "××ר"',uploadingFile:"××§×××¥ ש×× × ××¢×. ×××ª× ×ספר ×©× ××ת ×× ×¡× ×©××.",loadingFile:"×××¢×...",chooseFile:"××××ר ×§×צ××...",noFileChosen:"×× × ××ר ×§×××¥",filePlaceholder:"×ר×ר ×ש×רר ×§×××¥ ×××× ×× ×××¥ ×¢× ××××¦× ×××× ×××ר ×§×××¥ ×××¢×××.",confirmDelete:"××× ××ª× ×¨××¦× ×××××§ ×ת ×רש×××?",keyDuplicationError:"×¢×¨× ×× ×¦×¨×× ××××ת ××××××.",addColumn:"××סף ×¢××××",addRow:"×××ס××£ ש×ר×",removeRow:"×Ö°×ַסִ×ר",emptyRowsText:"××× ×©×ר×ת.",addPanel:"××סף ××ש",removePanel:"×Ö°×ַסִ×ר",showDetails:"×ר×× ×¤×¨×××",hideDetails:"×סתר פר×××",choices_Item:"פר××",matrix_column:"××ר",matrix_row:"ש××ּרָ×",multipletext_itemname:"×קס×",savingData:"×ת×צ××ת × ×©×ר×ת ×שרת ...",savingDataError:"×××¨×¢× ×©×××× ××× ×צ××× × ×ש××ר ×ת ×ת×צ××ת.",savingDataSuccess:"×ת×צ××ת × ×©××¨× ××צ×××!",savingExceedSize:"ת××××ª× ×¢××× ×¢× 64KB. ××§×× ×ת ×××× ××§×צ×× ×©×× ×× ×¡× ×©×× ×× ×¤× × ×××¢××× ×©× ×¡×§×¨.",saveAgainButton:"× ×¡× ×©××",timerMin:"××§×",timerSec:"×©× ××ת",timerSpentAll:"××צ×ת {0} ×××£ ×× ×××¡× ××× {1}.",timerSpentPage:"××צ×ת {0} ×××£ ××.",timerSpentSurvey:"××צ×ת ס××× ×××× ×©× {0}.",timerLimitAll:"××צ×ת {0} ×ת×× {1} ×××£ ×× ×- {2} ×ת×× {3} ××¡× ×××.",timerLimitPage:"××צ×ת {0} ×ת×× {1} ×××£ ××.",timerLimitSurvey:"××צ×ת ס××× ×××× ×©× {0} ×ת×× {1}.",clearCaption:"×× ×§×ת",signaturePlaceHolder:"×ת×× ×××",signaturePlaceHolderReadOnly:"××× ×ת×××",chooseFileCaption:"××ר ×§×××¥",takePhotoCaption:"צ×× ×ª××× ×",photoPlaceholder:"×××¥ ×¢× ××××¦× ×××× ××× ×צ×× ×ª××× × ×××צע×ת ××צ×××.",fileOrPhotoPlaceholder:"×ר×ר ×ש×רר ×× ××ר ×§×××¥ ××× ×××¢××ת ×× ×צ×× ×ª××× × ×××צע×ת ××צ×××.",replaceFileCaption:"×××פת ×§×××¥",removeFileCaption:"×סר ×§×××¥ ××",booleanCheckedLabel:"××",booleanUncheckedLabel:"××",confirmRemoveFile:"××× ××ª× ×××× ×©×רצ×× × ××ס×ר ×§×××¥ ××: {0}?",confirmRemoveAllFiles:"××× ××ª× ×××× ×©×רצ×× × ××ס×ר ×ת ×× ××§×צ××?",questionTitlePatternText:"××תרת ש×××",modalCancelButtonText:"××××",modalApplyButtonText:"×××",filterStringPlaceholder:"××§×× ××× ××פש...",emptyMessage:"××× × ×ª×× ×× ××צ××",noEntriesText:"××× ×¢×××× ×¢×¨×××.\n×××¥ ×¢× ××××¦× ×××× ××× ×××ס××£ ×¢×¨× ××ש.",noEntriesReadonlyText:"××× ×¢×¨×××.",tabTitlePlaceholder:"פ×× × ××ש",more:"×¢××",tagboxDoneButtonCaption:"×××§××",selectToRankEmptyRankedAreaText:"×× ××פשר×××ת ×××ר××ת",selectToRankEmptyUnrankedAreaText:"×ר×ר ×ש×רר ×פשר×××ת ×××× ××× ×××¨× ××ת×",ok:"×××§××",cancel:"××××"},nativeName:"×¢×ר×ת",englishName:"Hebrew",rtl:!0});m({localeCode:"hi",strings:{pagePrevText:"पिà¤à¤²à¤¾",pageNextText:"à¤
à¤à¤²à¤¾",completeText:"पà¥à¤°à¤¾",previewText:"पà¥à¤°à¥à¤µà¤¸à¤®à¥à¤à¥à¤·à¤¾",editText:"सà¤à¤ªà¤¾à¤¦à¤¿à¤¤",startSurveyText:"शà¥à¤°à¥",otherItemText:"दà¥à¤¸à¤°à¤¾ (वरà¥à¤£à¤¨ à¤à¤°à¥à¤)",noneItemText:"à¤à¥à¤ नहà¥à¤",refuseItemText:"à¤à¤µà¤¾à¤¬ दà¥à¤¨à¥ सॠà¤à¤¨à¤à¤¾à¤°",dontKnowItemText:"नहà¥à¤ मालà¥à¤®",selectAllItemText:"सà¤à¥ à¤à¤¾ à¤à¤¯à¤¨ à¤à¤°à¥à¤",deselectAllItemText:"सà¤à¥ à¤à¥ à¤
à¤à¤¯à¤¨à¤¿à¤¤ à¤à¤°à¥à¤",progressText:"पà¥à¤·à¥à¤ 1 मà¥à¤ सॠ0",indexText:"{1} à¤à¤¾ {0}",panelDynamicProgressText:" दसà¥à¤¤à¤¾à¤µà¥à¤ {1} à¤à¥ {0}",panelDynamicTabTextFormat:"पà¥à¤¨à¤² {panelIndex}",questionsProgressText:"{1} सवालà¥à¤ मà¥à¤ सॠ{0} à¤à¥ à¤à¤µà¤¾à¤¬ दिà¤",emptySurvey:"सरà¥à¤µà¥à¤à¥à¤·à¤£ मà¥à¤ à¤à¥à¤ दà¥à¤¶à¥à¤¯à¤®à¤¾à¤¨ पà¥à¤·à¥à¤ या पà¥à¤°à¤¶à¥à¤¨ नहà¥à¤ हà¥",completingSurvey:"सरà¥à¤µà¥à¤à¥à¤·à¤£ à¤à¥ पà¥à¤°à¤¾ à¤à¤°à¤¨à¥ à¤à¥ लिठधनà¥à¤¯à¤µà¤¾à¤¦",completingSurveyBefore:" हमारॠरिà¤à¥à¤°à¥à¤¡ बतातॠहà¥à¤ à¤à¤¿ à¤à¤ª पहलॠहॠà¤à¤¸ सरà¥à¤µà¥à¤à¥à¤·à¤£ à¤à¥ पà¥à¤°à¤¾ à¤à¤° à¤à¥à¤à¥ हà¥à¤",loadingSurvey:"सरà¥à¤µà¥à¤à¥à¤·à¤£ à¤à¥à¤² रहा हà¥.â¦",placeholder:"à¤à¥à¤¨à¥à¤",ratingOptionsCaption:"à¤à¥à¤¨à¤¨à¤¾à¥¤à¥¤à¥¤",value:"मà¥à¤²à¥à¤¯",requiredError:"à¤à¥à¤ªà¤¯à¤¾ पà¥à¤°à¤¶à¥à¤¨ à¤à¤¾ à¤à¤¤à¥à¤¤à¤° दà¥à¤",requiredErrorInPanel:"à¤à¥à¤ªà¤¯à¤¾ à¤à¤® सॠà¤à¤® à¤à¤ पà¥à¤°à¤¶à¥à¤¨ à¤à¤¾ à¤à¤¤à¥à¤¤à¤° दà¥à¤",requiredInAllRowsError:"à¤à¥à¤ªà¤¯à¤¾ सà¤à¥ पà¤à¤à¥à¤¤à¤¿à¤¯à¥à¤ मà¥à¤ सवालà¥à¤ à¤à¥ à¤à¤µà¤¾à¤¬ दà¥à¤",eachRowUniqueError:"पà¥à¤°à¤¤à¥à¤¯à¥à¤ पà¤à¤à¥à¤¤à¤¿ à¤à¤¾ à¤à¤ à¤
दà¥à¤µà¤¿à¤¤à¥à¤¯ मान हà¥à¤¨à¤¾ à¤à¤¾à¤¹à¤¿à¤.",numericError:"मà¥à¤²à¥à¤¯ सà¤à¤à¥à¤¯à¤¾à¤¤à¥à¤®à¤ हà¥à¤¨à¤¾ à¤à¤¾à¤¹à¤¿à¤",minError:"मान {0} सॠà¤à¤® नहà¥à¤ हà¥à¤¨à¤¾ à¤à¤¾à¤¹à¤¿à¤",maxError:"मान {0} सॠà¤
धिठनहà¥à¤ हà¥à¤¨à¤¾ à¤à¤¾à¤¹à¤¿à¤",textNoDigitsAllow:"सà¤à¤à¥à¤¯à¤¾ à¤à¥ à¤
नà¥à¤®à¤¤à¤¿ नहà¥à¤ हà¥à¥¤",textMinLength:"à¤à¥à¤ªà¤¯à¤¾ à¤à¤® सॠà¤à¤® {0} वरà¥à¤£ दरà¥à¤ à¤à¤°à¥à¤",textMaxLength:"à¤à¥à¤ªà¤¯à¤¾ {0} सॠà¤à¤® वरà¥à¤£ दरà¥à¤ à¤à¤°à¥à¤",textMinMaxLength:"à¤à¥à¤ªà¤¯à¤¾ {0} सॠà¤
धिठà¤à¤° {1} सॠà¤à¤® पातà¥à¤°à¥à¤ मà¥à¤ पà¥à¤°à¤µà¥à¤¶ à¤à¤°à¥à¤",minRowCountError:"à¤à¥à¤ªà¤¯à¤¾ à¤à¤® सॠà¤à¤® {0} पà¤à¤à¥à¤¤à¤¿à¤¯à¥à¤ à¤à¥ à¤à¤°à¥à¤",minSelectError:"à¤à¥à¤ªà¤¯à¤¾ à¤à¤® सॠà¤à¤® {0} विà¤à¤²à¥à¤ª à¤à¤¾ à¤à¤¯à¤¨ à¤à¤°à¥à¤",maxSelectError:"à¤à¥à¤ªà¤¯à¤¾ {0} विà¤à¤²à¥à¤ªà¥à¤ सॠà¤
धिठनहà¥à¤ à¤à¥à¤¨à¥à¤",numericMinMax:"'{0}' {1} सॠबराबर या à¤
धिठà¤à¤° {2} सॠबराबर या à¤à¤® हà¥à¤¨à¤¾ à¤à¤¾à¤¹à¤¿à¤",numericMin:"'{0}' {1} सॠबराबर या à¤
धिठहà¥à¤¨à¤¾ à¤à¤¾à¤¹à¤¿à¤",numericMax:"'{0}' {1} सॠबराबर या à¤à¤® हà¥à¤¨à¤¾ à¤à¤¾à¤¹à¤¿à¤",invalidEmail:"à¤à¥à¤ªà¤¯à¤¾ à¤à¤ वà¥à¤§ à¤à¤®à¥à¤² पता दरà¥à¤ à¤à¤°à¥à¤",invalidExpression:"à¤
à¤à¤¿à¤µà¥à¤¯à¤à¥à¤¤à¤¿: {0} à¤à¥ ' सठ' लà¥à¤à¤¨à¤¾ à¤à¤¾à¤¹à¤¿à¤",urlRequestError:"à¤
नà¥à¤°à¥à¤§ लà¥à¤à¤¾à¤¯à¤¾ तà¥à¤°à¥à¤à¤¿ '{0}' . {1}",urlGetChoicesError:"à¤
नà¥à¤°à¥à¤§ नॠà¤à¤¾à¤²à¥ डà¥à¤à¤¾ वापस à¤à¤° दिया हॠ",exceedMaxSize:"फ़ाà¤à¤² à¤à¤¾ à¤à¤à¤¾à¤° {0} सॠà¤
धिठनहà¥à¤ हà¥à¤¨à¤¾ à¤à¤¾à¤¹à¤¿à¤ या फिर 'पाथ' पà¥à¤°à¥à¤ªà¤°à¥à¤à¥ à¤à¤²à¤¤ हà¥",noUploadFilesHandler:"फ़ाà¤à¤²à¥à¤ à¤
पलà¥à¤¡ नहà¥à¤ à¤à¥ à¤à¤¾ सà¤à¤¤à¥. à¤à¥à¤ªà¤¯à¤¾ 'onloadFiles' à¤à¤µà¥à¤à¤ à¤à¥ लिठà¤à¤ हà¥à¤à¤¡à¤²à¤° à¤à¥à¤¡à¤¼à¥à¤.",otherRequiredError:"à¤à¥à¤ªà¤¯à¤¾ दà¥à¤¸à¤°à¤¾ मà¥à¤²à¥à¤¯ दरà¥à¤ à¤à¤°à¥à¤",uploadingFile:"à¤à¤ªà¤à¥ फाà¤à¤² à¤
पलà¥à¤¡ हॠरहॠहà¥à¥¤ à¤à¥à¤ªà¤¯à¤¾ à¤à¤ सà¥à¤à¤à¤¡ à¤à¤à¤¤à¤à¤¾à¤° à¤à¤°à¥à¤ à¤à¤° फिर सॠपà¥à¤°à¤¯à¤¾à¤¸ à¤à¤°à¥à¤à¥¤",loadingFile:"लà¥à¤¡à¤¿à¤à¤",chooseFile:"फ़ाà¤à¤² à¤à¥à¤¨à¥à¤",noFileChosen:"à¤à¥à¤ फाà¤à¤² नहà¥à¤ à¤à¥à¤¨à¥ à¤à¤",filePlaceholder:"यहाठà¤à¤ फ़ाà¤à¤² à¤à¥à¤à¤à¥à¤ à¤à¤° à¤à¥à¤¡à¤¼à¥à¤ या नà¥à¤à¥ दिठà¤à¤ बà¤à¤¨ पर à¤à¥à¤²à¤¿à¤ à¤à¤°à¥à¤ à¤à¤° à¤
पलà¥à¤¡ à¤à¤°à¤¨à¥ à¤à¥ लिठà¤à¤ फ़ाà¤à¤² à¤à¥à¤¨à¥à¤à¥¤",confirmDelete:"à¤à¥à¤¯à¤¾ à¤à¤ª रिà¤à¥à¤°à¥à¤¡ हà¤à¤¾à¤¨à¤¾ à¤à¤¾à¤¹à¤¤à¥ हà¥à¤",keyDuplicationError:"यह मान à¤
नà¥à¤à¤¾ हà¥à¤¨à¤¾ à¤à¤¾à¤¹à¤¿à¤",addColumn:"à¤à¥à¤²à¤® à¤à¥à¤¡à¤¼à¥à¤",addRow:"पà¤à¤à¥à¤¤à¤¿ à¤à¥à¤¡à¤¼à¥à¤",removeRow:"हà¤à¤¾à¤",emptyRowsText:"à¤à¥à¤ पà¤à¤à¥à¤¤à¤¿à¤¯à¤¾à¤ नहà¥à¤ हà¥à¤.",addPanel:"नया à¤à¥à¤¡à¤¼à¥à¤",removePanel:"हà¤à¤¾à¤",showDetails:"विवरण दिà¤à¤¾à¤à¤",hideDetails:"विवरण à¤à¥à¤ªà¤¾à¤à¤",choices_Item:"मद",matrix_column:"à¤à¥à¤²à¤®",matrix_row:"पà¤à¤à¥à¤¤à¤¿",multipletext_itemname:"à¤à¥à¤à¥à¤¸à¥à¤",savingData:"परिणाम सरà¥à¤µà¤° पर सà¥à¤µ हॠरहॠहà¥à¤",savingDataError:"à¤à¤ तà¥à¤°à¥à¤à¤¿ हà¥à¤ à¤à¤° हम परिणामà¥à¤ à¤à¥ नहà¥à¤ सà¥à¤µ à¤à¤° सà¤à¥",savingDataSuccess:"परिणाम सफलतापà¥à¤°à¥à¤µà¤ सà¥à¤µ हॠà¤à¤",savingExceedSize:"à¤à¤ªà¤à¥ पà¥à¤°à¤¤à¤¿à¤à¥à¤°à¤¿à¤¯à¤¾ 64KB सॠà¤
धिठहà¥à¥¤ à¤à¥à¤ªà¤¯à¤¾ à¤
पनॠफ़ाà¤à¤²(फ़ाà¤à¤²à¥à¤) à¤à¤¾ à¤à¤à¤¾à¤° à¤à¤à¤¾à¤à¤ à¤à¤° पà¥à¤¨: पà¥à¤°à¤¯à¤¾à¤¸ à¤à¤°à¥à¤ या सरà¥à¤µà¥à¤à¥à¤·à¤£ सà¥à¤µà¤¾à¤®à¥ सॠसà¤à¤ªà¤°à¥à¤ à¤à¤°à¥à¤.",saveAgainButton:"फिर à¤à¥à¤¶à¤¿à¤¶ à¤à¤°à¥",timerMin:"मिनà¤",timerSec:"सà¥à¤à¤à¤¡",timerSpentAll:"à¤à¤ªà¤¨à¥ à¤à¤¸ पà¥à¤·à¥à¤ पर {0} à¤à¤°à¥à¤ à¤à¤¿à¤ हà¥à¤ à¤à¤° à¤à¥à¤² {1}",timerSpentPage:"à¤à¤ªà¤¨à¥ à¤à¤¸ पà¥à¤·à¥à¤ पर {0} à¤à¤°à¥à¤ à¤à¤¿à¤¯à¤¾ हà¥",timerSpentSurvey:"à¤à¤ªà¤¨à¥ à¤à¥à¤² {0} à¤à¤°à¥à¤ à¤à¤¿à¤¯à¤¾ हà¥",timerLimitAll:"à¤à¤ªà¤¨à¥ à¤à¤¸ पà¥à¤·à¥à¤ पर {1} à¤à¥ {0} à¤à¤° à¤à¥à¤² {3} à¤à¥ {2} à¤à¤°à¥à¤ à¤à¥ हà¥à¥¤",timerLimitPage:"à¤à¤ªà¤¨à¥ à¤à¤¸ पà¥à¤·à¥à¤ पर {1} à¤à¤¾ {0} à¤à¤°à¥à¤ à¤à¤¿à¤¯à¤¾ हà¥",timerLimitSurvey:"à¤à¤ªà¤¨à¥ à¤à¥à¤² {1} à¤à¥ {0} à¤à¤°à¥à¤ à¤à¥ हà¥",clearCaption:"सà¥à¤ªà¤·à¥à¤",signaturePlaceHolder:"यहाठसाà¤à¤¨ à¤à¤°à¥à¤",signaturePlaceHolderReadOnly:"à¤à¥à¤ हसà¥à¤¤à¤¾à¤à¥à¤·à¤° नहà¥à¤",chooseFileCaption:"फ़ाà¤à¤² à¤à¥à¤¨à¥à¤",takePhotoCaption:"फà¥à¤à¥ लॠलà¥",photoPlaceholder:"à¤à¥à¤®à¤°à¥ à¤à¤¾ à¤à¤ªà¤¯à¥à¤ à¤à¤°à¤à¥ फà¥à¤à¥ लà¥à¤¨à¥ à¤à¥ लिठनà¥à¤à¥ दिठà¤à¤ बà¤à¤¨ पर à¤à¥à¤²à¤¿à¤ à¤à¤°à¥à¤à¥¤",fileOrPhotoPlaceholder:"à¤à¥à¤®à¤°à¥ à¤à¤¾ à¤à¤ªà¤¯à¥à¤ à¤à¤°à¤à¥ फ़à¥à¤à¥ à¤
पलà¥à¤¡ à¤à¤°à¤¨à¥ या फ़à¥à¤à¥ लà¥à¤¨à¥ à¤à¥ लिठà¤à¤¿à¤¸à¥ फ़ाà¤à¤² à¤à¥ à¤à¥à¤à¤à¥à¤ à¤à¤° à¤à¥à¤¡à¤¼à¥à¤ या à¤à¥à¤¨à¥à¤.",replaceFileCaption:"फ़ाà¤à¤² बदलà¥à¤",removeFileCaption:"à¤à¤¸ फाà¤à¤² à¤à¥ निà¤à¤¾à¤²à¥à¤",booleanCheckedLabel:"हाà¤",booleanUncheckedLabel:"नहà¥à¤",confirmRemoveFile:"à¤à¥à¤¯à¤¾ à¤à¤ª सà¥à¤¨à¤¿à¤¶à¥à¤à¤¿à¤¤ हà¥à¤ à¤à¤¿ à¤à¤ª à¤à¤¸ फ़ाà¤à¤² à¤à¥ हà¤à¤¾à¤¨à¤¾ à¤à¤¾à¤¹à¤¤à¥ हà¥à¤: {0}",confirmRemoveAllFiles:"à¤à¥à¤¯à¤¾ à¤à¤ª सà¥à¤¨à¤¿à¤¶à¥à¤à¤¿à¤¤ हà¥à¤ à¤à¤¿ à¤à¤ª सà¤à¥ फ़ाà¤à¤²à¥à¤ à¤à¥ हà¤à¤¾à¤¨à¤¾ à¤à¤¾à¤¹à¤¤à¥ हà¥à¤",questionTitlePatternText:"पà¥à¤°à¤¶à¥à¤¨ à¤à¤¾ शà¥à¤°à¥à¤·à¤",modalCancelButtonText:"रदà¥à¤¦ à¤à¤°à¤¨à¤¾",modalApplyButtonText:"लाà¤à¥ à¤à¤°à¤¨à¤¾",filterStringPlaceholder:"à¤à¥à¤ à¤à¤°à¤¨à¥ à¤à¥ लिठà¤à¤¾à¤à¤ª à¤à¤°à¥à¤...",emptyMessage:"पà¥à¤°à¤¦à¤°à¥à¤¶à¤¿à¤¤ à¤à¤°à¤¨à¥ à¤à¥ लिठà¤à¥à¤ डà¥à¤à¤¾ नहà¥à¤",noEntriesText:"à¤
à¤à¥ तठà¤à¥à¤ पà¥à¤°à¤µà¤¿à¤·à¥à¤à¤¿à¤¯à¤¾à¤ नहà¥à¤ हà¥à¤à¥¤\nनठपà¥à¤°à¤µà¤¿à¤·à¥à¤à¤¿ à¤à¥à¤¡à¤¼à¤¨à¥ à¤à¥ लिठनà¥à¤à¥ दिठà¤à¤ बà¤à¤¨ पर à¤à¥à¤²à¤¿à¤ à¤à¤°à¥à¤.",noEntriesReadonlyText:"à¤à¥à¤ पà¥à¤°à¤µà¤¿à¤·à¥à¤à¤¿à¤¯à¤¾à¤ नहà¥à¤ हà¥à¤.",tabTitlePlaceholder:"नया पà¥à¤¨à¤²",more:"à¤
धिà¤",tagboxDoneButtonCaption:"ठà¥à¤ हà¥",selectToRankEmptyRankedAreaText:"सà¤à¥ विà¤à¤²à¥à¤ªà¥à¤ à¤à¥ रà¥à¤à¤ à¤à¤¿à¤¯à¤¾ à¤à¤¯à¤¾ हà¥",selectToRankEmptyUnrankedAreaText:"विà¤à¤²à¥à¤ªà¥à¤ à¤à¥ रà¥à¤à¤ à¤à¤°à¤¨à¥ à¤à¥ लिठà¤à¤¨à¥à¤¹à¥à¤ यहाठà¤à¥à¤à¤à¥à¤ à¤à¤° à¤à¥à¤¡à¤¼ दà¥à¤",ok:"ठà¥à¤ हà¥",cancel:"रदà¥à¤¦ à¤à¤°à¤¨à¤¾"},nativeName:"hindi",englishName:"Hindi"});m({localeCode:"hu",strings:{pagePrevText:"Vissza",pageNextText:"Tovább",completeText:"Kész",previewText:"ElÅnézet",editText:"Szerkesztés",startSurveyText:"Rajt",otherItemText:"Egyéb (adja meg)",noneItemText:"Egyik sem",refuseItemText:"A válaszadás megtagadása",dontKnowItemText:"Nem tudom",selectAllItemText:"Mindet kiválaszt",deselectAllItemText:"Az összes kijelölésének megszüntetése",progressText:"{0}./{1} oldal",indexText:"{0} {1} közül",panelDynamicProgressText:"{0} / {1} rekord",panelDynamicTabTextFormat:"Panel {panelIndex}",questionsProgressText:"Válaszolt kérdések: {0} / {1}",emptySurvey:"The survey doesn't contain any visible elements.",completingSurvey:"Köszönjük, hogy kitöltötte felmérésünket!",completingSurveyBefore:"Már kitöltötte a felmérést.",loadingSurvey:"Felmérés betöltése...",placeholder:"Válasszon...",ratingOptionsCaption:"Kiválaszt...",value:"érték",requiredError:"Kérjük, válaszolja meg ezt a kérdést!",requiredErrorInPanel:"Kérjük, válaszoljon legalább egy kérdésre.",requiredInAllRowsError:"Kérjük adjon választ minden sorban!",eachRowUniqueError:"Minden sornak egyedi értékkel kell rendelkeznie.",numericError:"Az érték szám kell, hogy legyen!",minError:"Az érték nem lehet kisebb, mint {0}",maxError:"Az érték nem lehet nagyobb, mint {0}",textNoDigitsAllow:"Számok nem engedélyezettek.",textMinLength:"Adjon meg legalább {0} karaktert!",textMaxLength:"Legfeljebb {0} karaktert adjon meg!",textMinMaxLength:"Adjon meg legalább {0}, de legfeljebb {1} karaktert!",minRowCountError:"Töltsön ki minimum {0} sort!",minSelectError:"Válasszon ki legalább {0} lehetÅséget!",maxSelectError:"Ne válasszon többet, mint {0} lehetÅség!",numericMinMax:"'{0}' legyen nagyobb, vagy egyenlÅ, mint {1} és kisebb, vagy egyenlÅ, mint {2}!",numericMin:"'{0}' legyen legalább {1}!",numericMax:"The '{0}' ne legyen nagyobb, mint {1}!",invalidEmail:"Adjon meg egy valós email cÃmet!",invalidExpression:"A következÅ kifejezés: {0} vissza kell adnia az âigazâ értéket.",urlRequestError:"A lekérdezés hibával tért vissza: '{0}'. {1}",urlGetChoicesError:"A lekérdezés üres adattal tért vissza, vagy a 'path' paraméter helytelen.",exceedMaxSize:"A méret nem lehet nagyobb, mint {0}.",noUploadFilesHandler:'A fájlok nem tölthetÅk fel. Adjon hozzá egy kezelÅt az "onUploadFiles" eseményhez.',otherRequiredError:"Adja meg az egyéb értéket!",uploadingFile:"Feltöltés folyamatban. Várjon pár másodpercet, majd próbálja újra.",loadingFile:"Betöltés...",chooseFile:"Fájlok kiválasztása ...",noFileChosen:"Nincs kiválasztva fájl",filePlaceholder:"Dobjon ide egy fájlt, vagy kattintson az alábbi gombra a fájl betöltéséhez.",confirmDelete:"Törli ezt a rekordot?",keyDuplicationError:"Az értéknek egyedinek kell lennie.",addColumn:"Oszlop hozzáadása",addRow:"Sor hozzáadása",removeRow:"EltávolÃtás",emptyRowsText:"Nincsenek sorok.",addPanel:"Ãj hozzáadása",removePanel:"EltávolÃtás",showDetails:"Mutasd a részleteket",hideDetails:"Részletek elrejtése",choices_Item:"elem",matrix_column:"Oszlop",matrix_row:"Sor",multipletext_itemname:"SMS",savingData:"Eredmény mentése a szerverre...",savingDataError:"Egy hiba folytán nem tudtuk elmenteni az eredményt.",savingDataSuccess:"Eredmény sikeresen mentve!",savingExceedSize:"A válasz meghaladja a 64 KB-ot. Kérjük, csökkentse a fájl(ok) méretét, és próbálja újra, vagy lépjen kapcsolatba egy felmérés tulajdonosával.",saveAgainButton:"Próbálja újra",timerMin:"min",timerSec:"sec",timerSpentAll:"Ãn {0} összeget költött ezen az oldalon, és összesen {1}.",timerSpentPage:"{0} összeget költött ezen az oldalon.",timerSpentSurvey:"Ãsszesen {0} költött.",timerLimitAll:"Ãn {0} / {1} összeget költött ezen az oldalon, és összesen {2} / {3}.",timerLimitPage:"Ãn {0} / {1} összeget költött ezen az oldalon.",timerLimitSurvey:"Ãsszesen {0} / {1} összeget költött el.",clearCaption:"Egyértelmű",signaturePlaceHolder:"Ãrja alá itt",signaturePlaceHolderReadOnly:"Nincs aláÃrás",chooseFileCaption:"Válassz fájlt",takePhotoCaption:"Fotó készÃtése",photoPlaceholder:"Kattintson az alábbi gombra, hogy fényképet készÃtsen a fényképezÅgéppel.",fileOrPhotoPlaceholder:"Húzzon át vagy válasszon ki egy fájlt, amelyet fel szeretne tölteni vagy fényképet szeretne készÃteni a kamerával.",replaceFileCaption:"Fájl cseréje",removeFileCaption:"TávolÃtsa el ezt a fájlt",booleanCheckedLabel:"Igen",booleanUncheckedLabel:"Nem",confirmRemoveFile:"Biztosan eltávolÃtja ezt a fájlt: {0}?",confirmRemoveAllFiles:"Biztosan el akarja távolÃtani az összes fájlt?",questionTitlePatternText:"Kérdés cÃme",modalCancelButtonText:"ÃrvénytelenÃt",modalApplyButtonText:"Alkalmaz",filterStringPlaceholder:"Ãrja be a kereséshez...",emptyMessage:"Nincs megjelenÃthetÅ adat",noEntriesText:"Még nincsenek bejegyzések.\nKattintson az alábbi gombra egy új bejegyzés hozzáadásához.",noEntriesReadonlyText:"Nincsenek bejegyzések.",tabTitlePlaceholder:"Ãj panel",more:"Több",tagboxDoneButtonCaption:"OKÃ",selectToRankEmptyRankedAreaText:"Minden választási lehetÅség rangsorolva van",selectToRankEmptyUnrankedAreaText:"Húzza ide a választási lehetÅségeket a rangsoroláshoz",ok:"OKÃ",cancel:"ÃrvénytelenÃt"},nativeName:"magyar",englishName:"Hungarian"});m({localeCode:"is",strings:{pagePrevText:"Tilbaka",pageNextText:"Ãfram",completeText:"Lokið",previewText:"Forskoða",editText:"Breyta",startSurveyText:"Byrjaðu",otherItemText:"Hinn (skýring)",
vendor: 4,383 bytes, line 16
16noneItemText:"Enginn",refuseItemText:"Neita að svara",dontKnowItemText:"Veit ekki",selectAllItemText:"Velja allt",deselectAllItemText:"Afveljið allt",progressText:"SÃða {0} of {1}",indexText:"{0} af {1}",panelDynamicProgressText:"Taka upp {0} af {1}",panelDynamicTabTextFormat:"Pallborð {panelIndex}",questionsProgressText:"Svarað {0} / {1} spurningum",emptySurvey:"Ãað er enginn sÃða eða spurningar à þessari könnun.",completingSurvey:"Takk fyrir að fyllja út þessa könnun!",completingSurveyBefore:"Skrár okkar sýna að þú hefur þegar lokið þessari könnun.",loadingSurvey:"Könnunin er að hlaða...",placeholder:"Veldu...",ratingOptionsCaption:"Velja...",value:"gildi",requiredError:"Vinsamlegast svarið spurningunni.",requiredErrorInPanel:"Vinsamlegast svaraðu að minnsta kosti einni spurningu.",requiredInAllRowsError:"Vinsamlegast svarið spurningum à öllum röðum.",eachRowUniqueError:"Hver lÃna verður að hafa einstakt gildi.",numericError:"Ãetta gildi verður að vera tala.",minError:"Gildið má ekki vera lægra en {0}",maxError:"Gildið má ekki vera hærra en {0}",textNoDigitsAllow:"Tölur eru ekki leyfðar.",textMinLength:"Ãað ætti að vera minnst {0} tákn.",textMaxLength:"Ãað ætti að vera mest {0} tákn.",textMinMaxLength:"Ãað ætti að vera fleiri en {0} og færri en {1} tákn.",minRowCountError:"Vinsamlegast fyllið úr að minnsta kosti {0} raðir.",minSelectError:"Vinsamlegast veljið að minnsta kosti {0} möguleika.",maxSelectError:"Vinsamlegast veljið ekki fleiri en {0} möguleika.",numericMinMax:"'{0}' ætti að vera meira en eða jafnt og {1} minna en eða jafnt og {2}",numericMin:"{0}' ætti að vera meira en eða jafnt og {1}",numericMax:"'{0}' ætti að vera minna en eða jafnt og {1}",invalidEmail:"Vinsamlegast sláið inn gilt netfang.",invalidExpression:"Tjáningin: {0} ætti að skila 'satt'.",urlRequestError:"Beiðninn skilaði eftirfaranadi villu '{0}'. {1}",urlGetChoicesError:"Beiðninng skilaði engum gögnum eða slóðinn var röng",exceedMaxSize:"Skráinn skal ekki vera stærri en {0}.",noUploadFilesHandler:"Ekki er hægt að hlaða upp skrám. Vinsamlegast bættu við rekli fyrir 'onUploadFiles' atvikið.",otherRequiredError:"Vinamlegast fyllið út hitt gildið.",uploadingFile:"Skráinn þÃn var send. Vinsamlegast bÃðið à nokkrar sekúndur og reynið aftur.",loadingFile:"Hleður ...",chooseFile:"Veldu skrár ...",noFileChosen:"Engin skrá valin",filePlaceholder:"Dragðu og slepptu skrá hér eða smelltu á hnappinn hér að neðan og veldu skrá til að hlaða upp.",confirmDelete:"Viltu eyða skránni?",keyDuplicationError:"Ãetta gildi ætti að vera einstakt.",addColumn:"Bæta við dálki",addRow:"Bæta við röð",removeRow:"Fjarlægja",emptyRowsText:"Ãað eru engar raðir.",addPanel:"Bæta við nýju",removePanel:"Fjarlægðu",showDetails:"Sýna upplýsingar",hideDetails:"Fela upplýsingar",choices_Item:"hlutur",matrix_column:"Dálkur",matrix_row:"Röð",multipletext_itemname:"Texti",savingData:"Niðurstöðurnar eru að spara á netþjóninum ... ",savingDataError:"Villa kom upp og við gátum ekki vistað niðurstöðurnar.",savingDataSuccess:"Ãrangurinn var vistaður með góðum árangri!",savingExceedSize:"Svar þitt fer yfir 64KB. Vinsamlegast minnkaðu stærð skráa þinna og reyndu aftur eða hafðu samband við eiganda könnunarinnar.",saveAgainButton:"Reyndu aftur",timerMin:"mÃn",timerSec:"sek",timerSpentAll:"Ãú hefur eytt {0} á þessari sÃðu og {1} samtals.",timerSpentPage:"Ãú hefur eytt {0} á þessari sÃðu.",timerSpentSurvey:"Ãú hefur eytt {0} samtals.",timerLimitAll:"Ãú hefur eytt {0} af {1} á þessari sÃðu og {2} af {3} samtals.",timerLimitPage:"Ãú hefur eytt {0} af {1} á þessari sÃðu.",timerLimitSurvey:"Ãú hefur eytt {0} af {1} samtals.",clearCaption:"Hreinsa",signaturePlaceHolder:"KvittaÄu hér",signaturePlaceHolderReadOnly:"Engin undirskrift",chooseFileCaption:"Veldu skrá",takePhotoCaption:"Taka mynd",photoPlaceholder:"Smelltu á hnappinn hér að neðan til að taka mynd með myndavélinni.",fileOrPhotoPlaceholder:"Dragðu og slepptu eða veldu skrá til að hlaða upp eða taka mynd með myndavélinni.",replaceFileCaption:"Skipta út skrá",removeFileCaption:"Fjarlægðu þessa skrá",booleanCheckedLabel:"Já",booleanUncheckedLabel:"Nei",confirmRemoveFile:"Ertu viss um að
vendor: 24,995 bytes, line 16
16þú viljir fjarlægja þessa skrá: {0}?",confirmRemoveAllFiles:"Ertu viss um að þú viljir fjarlægja allar skrár?",questionTitlePatternText:"Spurningartitill",modalCancelButtonText:"Afturkalla",modalApplyButtonText:"Nota",filterStringPlaceholder:"Sláðu inn til að leita...",emptyMessage:"Engin gögn til að birta",noEntriesText:"Ãað eru engar færslur ennþá.\nSmelltu á hnappinn hér að neðan til að bæta við nýrri færslu.",noEntriesReadonlyText:"Ãað eru engar færslur.",tabTitlePlaceholder:"Nýtt spjald",more:"Fleiri",tagboxDoneButtonCaption:"ÃKEI",selectToRankEmptyRankedAreaText:"Ãllum valkostum er raðað",selectToRankEmptyUnrankedAreaText:"Dragðu og slepptu valkostum hér til að raða þeim",ok:"ÃKEI",cancel:"Afturkalla"},nativeName:"Ãslenska",englishName:"Icelandic"});m({localeCode:"id",strings:{pagePrevText:"Sebelumnya",pageNextText:"Selanjutnya",completeText:"Selesai",previewText:"Pratinjau",editText:"Sunting",startSurveyText:"Mulai",otherItemText:"Lainnya (jelaskan)",noneItemText:"Tidak Ada",refuseItemText:"Menolak untuk menjawab",dontKnowItemText:"Tidak tahu",selectAllItemText:"Pilih Semua",deselectAllItemText:"Batalkan pilihan semua",progressText:"Halaman {0} dari {1}",indexText:"{0} dari {1}",panelDynamicProgressText:"Rekam {0} dari {1}",panelDynamicTabTextFormat:"Panel {panelIndex}",questionsProgressText:"Menjawab pertanyaan {0} / {1}",emptySurvey:"Tidak ada halaman atau pertanyaan dalam survei.",completingSurvey:"Terima kasih telah menyelesaikan survei!",completingSurveyBefore:"Catatan kami menunjukkan bahwa Anda telah menyelesaikan survei ini.",loadingSurvey:"Memuat survei...",placeholder:"Pilih...",ratingOptionsCaption:"Pilih...",value:"nilai",requiredError:"Silahkan jawab pertanyaan berikut.",requiredErrorInPanel:"Silahkan jawab setidaknya satu petanyaan.",requiredInAllRowsError:"Silahkan jawab pertanyaan pada semua baris.",eachRowUniqueError:"Setiap baris harus memiliki nilai unik.",numericError:"Nilai harus berupa angka.",minError:"Nilainya tidak boleh kurang dari {0}",maxError:"Nilai tidak boleh lebih besar dari {0}",textNoDigitsAllow:"Nomor tidak diperbolehkan.",textMinLength:"Silahkan masukkan setidaknya {0} karakter.",textMaxLength:"Silahkan masukkan kurang {0} karakter.",textMinMaxLength:"PSilahkan masukkan lebih dari {0} dan kurang dari {1} karakter.",minRowCountError:"Silahkan isi setidaknya {0} baris.",minSelectError:"Silahkan pilih setidaknya {0} varian.",maxSelectError:"Silahkan pilih tidak lebih dari {0} varian.",numericMinMax:"'{0}' harus sama dengan atau lebih dari {1} dan harus sama dengan atau kurang dari {2}",numericMin:"'{0}' harus sama dengan atau lebih dari {1}",numericMax:"'{0}' harus sama dengan atau kurang dari {1}",invalidEmail:"Silahkan masukkan e-mail yang benar.",invalidExpression:"Ekspresi: {0} harus mengembalikan 'benar'.",urlRequestError:"Permintaan mengembalikan kesalahan '{0}'. {1}",urlGetChoicesError:"Permintaan mengembalikan data kosong atau properti 'path' salah.",exceedMaxSize:"Ukuran berkas tidak boleh melebihi {0}.",noUploadFilesHandler:"File tidak dapat diunggah. Harap tambahkan handler untuk acara 'onUploadFiles'.",otherRequiredError:"Silahkan masukkan nilai lainnnya.",uploadingFile:"Berkas Anda sedang diunggah. Silahkan tunggu beberapa saat atau coba lagi.",loadingFile:"Memuat...",chooseFile:"Pilih berkas...",noFileChosen:"Tidak ada file yang dipilih",filePlaceholder:"Seret dan jatuhkan file di sini atau klik tombol di bawah ini dan pilih file yang akan diunggah.",confirmDelete:"Apakah Anda ingin menghapus catatan?",keyDuplicationError:"Nilai harus unik.",addColumn:"Tambah kolom",addRow:"Tambah baris",removeRow:"Hapus",emptyRowsText:"Tidak ada baris.",addPanel:"Tambah baru",removePanel:"Hapus",showDetails:"Tampilkan Detail",hideDetails:"Sembunyikan Detail",choices_Item:"item",matrix_column:"Kolom",matrix_row:"Baris",multipletext_itemname:"Teks",savingData:"Hasil sedang disimpan pada server...",savingDataError:"Kesalahan terjadi dan kami tidak dapat menyimpan hasil.",savingDataSuccess:"Hasil telah sukses disimpan!",savingExceedSize:"Respons Anda melebihi 64 KB. Harap kurangi ukuran file Anda dan coba lagi atau hubungi pemilik survei.",saveAgainButton:"Coba lagi",timerMin:"menit",timerSec:"detik",timerSpentAll:"Anda telah menghabiskan {0} pada halaman ini dan {1} secara keseluruhan.",timerSpentPage:"YAnda telah menghabiskan {0} pada halaman ini.",timerSpentSurvey:"Anda telah menghabiskan {0} secara keseluruhan.",timerLimitAll:"Anda telah menghabiskan {0} dari {1} pada halaman ini dan {2} dari {3} secara keseluruhan.",timerLimitPage:"Anda telah menghabiskan {0} dari {1} pada halaman ini.",timerLimitSurvey:"Anda telah menghabiskan {0} dari {1} secara keseluruhan.",clearCaption:"Bersihkan",signaturePlaceHolder:"Tanda tangan di sini",signaturePlaceHolderReadOnly:"Tidak ada tanda tangan",chooseFileCaption:"Pilih File",takePhotoCaption:"Ambil Foto",photoPlaceholder:"Klik tombol di bawah ini untuk mengambil foto menggunakan kamera.",fileOrPhotoPlaceholder:"Seret dan lepas atau pilih file untuk diunggah atau mengambil foto menggunakan kamera.",replaceFileCaption:"Ganti file",removeFileCaption:"Hapus berkas ini",booleanCheckedLabel:"Iya",booleanUncheckedLabel:"Tidak",confirmRemoveFile:"Anda yakin ingin menghapus file ini: {0}?",confirmRemoveAllFiles:"Anda yakin ingin menghapus semua file?",questionTitlePatternText:"Judul pertanyaan",modalCancelButtonText:"Membatalkan",modalApplyButtonText:"Berlaku",filterStringPlaceholder:"Ketik untuk mencari...",emptyMessage:"Tidak ada data untuk ditampilkan",noEntriesText:"Belum ada entri.\nKlik tombol di bawah ini untuk menambahkan entri baru.",noEntriesReadonlyText:"Tidak ada entri.",tabTitlePlaceholder:"Panel Baru",more:"Lebih",tagboxDoneButtonCaption:"OKE",selectToRankEmptyRankedAreaText:"Semua pilihan diberi peringkat",selectToRankEmptyUnrankedAreaText:"Seret dan lepas pilihan di sini untuk memberi peringkat",ok:"OKE",cancel:"Membatalkan"},nativeName:"bahasa indonesia",englishName:"Indonesian"});m({localeCode:"it",strings:{pagePrevText:"Precedente",pageNextText:"Successivo",completeText:"Salva",previewText:"Anteprima",editText:"Modifica",startSurveyText:"Inizio",otherItemText:"Altro (descrivi)",noneItemText:"Nessuno",refuseItemText:"Rifiuta di rispondere",dontKnowItemText:"Non lo so",selectAllItemText:"Seleziona tutti",deselectAllItemText:"Deseleziona tutto",progressText:"Pagina {0} di {1}",indexText:"{0} da {1}",panelDynamicProgressText:"Record di {0} di {1}",panelDynamicTabTextFormat:"Pannello {panelIndex}",questionsProgressText:"Risposte a {0}/{1} domande",emptySurvey:"Non ci sono pagine o domande visibili nel questionario.",completingSurvey:"Grazie per aver completato il questionario!",completingSurveyBefore:"I nostri records mostrano che hai già completato questo questionario.",loadingSurvey:"Caricamento del questionario in corso...",placeholder:"Scegli...",ratingOptionsCaption:"Tocca qui per valutare...",value:"valore",requiredError:"Campo obbligatorio",requiredErrorInPanel:"Per Favore, rispondi ad almeno una domanda.",requiredInAllRowsError:"Completare tutte le righe",eachRowUniqueError:"Ogni riga deve avere un valore univoco.",numericError:"Il valore deve essere numerico",minError:"Il valore non deve essere inferiore a {0}",maxError:"Il valore non deve essere maggiore di {0}",textNoDigitsAllow:"I numeri non sono ammessi.",textMinLength:"Inserire almeno {0} caratteri",textMaxLength:"Lunghezza massima consentita {0} caratteri",textMinMaxLength:"Inserire una stringa con minimo {0} e massimo {1} caratteri",minRowCountError:"Completare almeno {0} righe.",minSelectError:"Selezionare almeno {0} varianti.",maxSelectError:"Selezionare massimo {0} varianti.",numericMinMax:"'{0}' deve essere uguale o superiore a {1} e uguale o inferiore a {2}",numericMin:"'{0}' deve essere uguale o superiore a {1}",numericMax:"'{0}' deve essere uguale o inferiore a {1}",invalidEmail:"Inserire indirizzo mail valido",invalidExpression:"L'espressione: {0} dovrebbe tornare 'vero'.",urlRequestError:"La richiesta ha risposto con un errore '{0}'. {1}",urlGetChoicesError:"La richiesta ha risposto null oppure il percorso non è corretto",exceedMaxSize:"Il file non può eccedere {0}",noUploadFilesHandler:"I file non possono essere caricati. Aggiungere un gestore per l'evento 'onUploadFiles'.",otherRequiredError:"Inserire il valore 'altro'",uploadingFile:"File in caricamento. Attendi alcuni secondi e riprova",loadingFile:"Caricamento...",chooseFile:"Selezionare file(s)...",noFileChosen:"Nessun file selezionato",filePlaceholder:"Trascina un file qui o fai clic sul pulsante in basso per caricare il file.",confirmDelete:"Sei sicuro di voler elminare il record?",keyDuplicationError:"Questo valore deve essere univoco.",addColumn:"Aggiungi colonna",addRow:"Aggiungi riga",removeRow:"Rimuovi riga",emptyRowsText:"Non ci sono righe.",addPanel:"Aggiungi riga",removePanel:"Elimina",showDetails:"Mostra dettagli",hideDetails:"Nascondi dettagli",choices_Item:"Elemento",matrix_column:"Colonna",matrix_row:"Riga",multipletext_itemname:"testo",savingData:"Salvataggio dati sul server...",savingDataError:"Si è verificato un errore e non è stato possibile salvare i risultati.",savingDataSuccess:"I risultati sono stati salvati con successo!",savingExceedSize:"La tua risposta supera i 64 KB. Riduci le dimensioni dei tuoi file e riprova o contatta il proprietario di un'indagine.",saveAgainButton:"Riprova",timerMin:"min",timerSec:"sec",timerSpentAll:"Hai impiegato {0} su questa pagina e {1} in totale.",timerSpentPage:"Hai impiegato {0} su questa pagina.",timerSpentSurvey:"Hai impiegato {0} in totale.",timerLimitAll:"Hai impiegato {0} di {1} su questa pagina e {2} di {3} in totale.",timerLimitPage:"Hai impiegato {0} di {1} su questa pagina.",timerLimitSurvey:"Hai impiegato {0} di {1} in totale.",clearCaption:"Cancella",signaturePlaceHolder:"Firmare qui",signaturePlaceHolderReadOnly:"Nessuna firma",chooseFileCaption:"Scegliere il file",takePhotoCaption:"Scatta foto",photoPlaceholder:"Fai clic sul pulsante qui sotto per scattare una foto utilizzando la fotocamera.",fileOrPhotoPlaceholder:"Trascina e rilascia o seleziona un file da caricare o scattare una foto utilizzando la fotocamera.",replaceFileCaption:"Sostituisci file",removeFileCaption:"Rimuovere questo file",booleanCheckedLabel:"Sì",booleanUncheckedLabel:"No",confirmRemoveFile:"Sei sicuro di voler elminare questo file: {0}?",confirmRemoveAllFiles:"Sei sicuro di voler elminare tutti i files?",questionTitlePatternText:"Titolo della domanda",modalCancelButtonText:"Annulla",modalApplyButtonText:"Applicare",filterStringPlaceholder:"Digita per cercare...",emptyMessage:"Nessun dato da visualizzare",noEntriesText:"Non ci sono ancora voci.\nFai clic sul pulsante qui sotto per aggiungere una nuova voce.",noEntriesReadonlyText:"Non ci sono voci.",tabTitlePlaceholder:"Nuovo pannello",more:"Più",tagboxDoneButtonCaption:"OK",selectToRankEmptyRankedAreaText:"Tutte le scelte sono classificate",selectToRankEmptyUnrankedAreaText:"Trascina e rilascia le scelte qui per classificarle",ok:"OK",cancel:"Annulla"},nativeName:"italiano",englishName:"Italian"});m({localeCode:"ja",strings:{pagePrevText:"åã¸",pageNextText:"次ã¸",completeText:"å®äº",previewText:"ãã¬ãã¥ã¼",editText:"ç·¨é",startSurveyText:"ã¹ã¿ã¼ã",otherItemText:"ãã®ä»ï¼èª¬æï¼",noneItemText:"ãªã",refuseItemText:"åçãæå¦ãã",dontKnowItemText:"ããããªã",selectAllItemText:"ãã¹ã¦é¸æ",deselectAllItemText:"ãã¹ã¦é¸æè§£é¤",progressText:"ãã¼ã¸{0}/{1}",indexText:"{1}ã®{0}",panelDynamicProgressText:"{1}ã®{0}ãè¨é²ãã",panelDynamicTabTextFormat:"Panel {panelIndex}",questionsProgressText:"{0}/{1}ååçæ¸",emptySurvey:"ã¢ã³ã±ã¼ãã«è¡¨ç¤ºå¯è½ãªè¦ç´ ãããã¾ããã",completingSurvey:"ã¢ã³ã±ã¼ãã«ãååããã ãããããã¨ããããã¾ãã",completingSurveyBefore:"ãã®ã¢ã³ã±ã¼ãã¯ãã§ã«åçæ¸ã¿ã§ãã",loadingSurvey:"ã¢ã³ã±ã¼ããèªã¿è¾¼ãã§ãã¾ã...",placeholder:"鏿",ratingOptionsCaption:"鏿ããã",value:"å¤",requiredError:"åçãå¿
è¦ã§ã",requiredErrorInPanel:"åçãå¿
è¦ã§ãï¼å°ãªãã¨ã1ã¤ã®è³ªåã«çãã¦ãã ããã",requiredInAllRowsError:"åçãå¿
è¦ã§ãï¼ãã¹ã¦ã®è¡ã®è³ªåã«çãã¦ãã ããã",eachRowUniqueError:"åè¡ã«ä¸æã®å¤ãå
¥åãã¦ãã ããã",numericError:"æ°åã§ãè¨å
¥ä¸ãã",minError:"å¤ã¯ {0} 以ä¸ã§ããå¿
è¦ãããã¾ã",maxError:"å¤ã¯ {0} 以ä¸ã§ããå¿
è¦ãããã¾ã",textNoDigitsAllow:"æ°åã¯ä½¿ç¨ã§ãã¾ããã",textMinLength:"å°ãªãã¨ã {0} æåãå
¥åãã¦ãã ããã",textMaxLength:"{0} æå以å
ã§å
¥åãã¦ãã ããã",textMinMaxLength:"{0} æåä»¥ä¸ {1} æå以å
ã§å
¥åãã¦ãã ããã",minRowCountError:"å°ãªãã¨ã {0} è¡ãå
¥åãã¦ãã ããã",minSelectError:"å°ãªãã¨ã {0} åã®ãªãã·ã§ã³ã鏿ãã¦ãã ããã",maxSelectError:"{0} å以ä¸ã®é¸æè¢ã鏿ãã¦ãã ããã",numericMinMax:"'{0}' 㯠{1} ä»¥ä¸ {2} 以ä¸ã§ããå¿
è¦ãããã¾ã",numericMin:"'{0}' 㯠{1} 以ä¸ã§ããå¿
è¦ãããã¾ã",numericMax:"'{0}' 㯠{1} 以ä¸ã§ããå¿
è¦ãããã¾ã",invalidEmail:"æå¹ãªã¡ã¼ã«ã¢ãã¬ã¹ãå
¥åãã¦ãã ããã",invalidExpression:"å¼: {0} 㯠'true' ãè¿ãå¿
è¦ãããã¾ãã",urlRequestError:"ãªã¯ã¨ã¹ãã¯ã¨ã©ã¼ '{0}' ãè¿ãã¾ããã{1}",urlGetChoicesError:"ãªã¯ã¨ã¹ãã空ã®ãã¼ã¿ãè¿ãããã'path' ããããã£ãæ£ããããã¾ããã",exceedMaxSize:"ãã¡ã¤ã«ã®ãµã¤ãºã¯{0}ãè¶
ãã¦ã¯ããã¾ãã",noUploadFilesHandler:"ãã¡ã¤ã«ã¯ã¢ãããã¼ãã§ãã¾ããããonUploadFilesãã¤ãã³ãã®ãã³ãã©ã¼ã追å ãã¦ãã ããã",otherRequiredError:"åçãå¿
è¦ã§ãï¼ä»ã®å¤ãå
¥åãã¦ãã ããã",uploadingFile:"ãã¡ã¤ã«ãã¢ãããã¼ãä¸ã§ãããã°ãããã¦ããå度ã試ãä¸ãã",loadingFile:"èªã¿è¾¼ã¿ä¸",chooseFile:"ãã¡ã¤ã«ã鏿",noFileChosen:"鏿ããããã¡ã¤ã«ã¯ããã¾ãã",filePlaceholder:"ããã«ãã¡ã¤ã«ããã©ãã°&ããããããããä¸ã®ãã¿ã³ãã¯ãªãã¯ãã¦ã¢ãããã¼ããããã¡ã¤ã«ã鏿ãã¦ãã ããã",confirmDelete:"ã¬ã³ã¼ããåé¤ãã¾ããï¼",keyDuplicationError:"ãã®å¤ã¯ä¸æã§ãªããã°ãªãã¾ããã",addColumn:"åã®è¿½å ",addRow:"追å è¡",removeRow:"åé¤",emptyRowsText:"è¡ãããã¾ããã",addPanel:"æ°è¦è¿½å ",removePanel:"åé¤",showDetails:"詳細ã表示",hideDetails:"詳細ãé表示",choices_Item:"é
ç®",matrix_column:"å",matrix_row:"è¡",multipletext_itemname:"ããã¹ã",savingData:"çµæãä¿åä¸...ã",savingDataError:"ã¨ã©ã¼ãçºçããçµæãä¿åã§ãã¾ããã§ããã",savingDataSuccess:"çµæãæ£å¸¸ã«ä¿åããã¾ãã",savingExceedSize:"åç㯠64 KB ãè¶
ãã¦ãã¾ãããã¡ã¤ã«ã®ãµã¤ãºãå°ãããã¦ããä¸åº¦ã試ãããã ãããã¢ã³ã±ã¼ãã®ä½æè
ã«ãåãåãããã ããã",saveAgainButton:"ããä¸åº¦è©¦ãã¦ã¿ã¦ãã ããã",timerMin:"å
å°",timerSec:"ã»ãã¯",timerSpentAll:"ããªãã¯ãã®ãã¼ã¸ã«{0}ãè²»ãããåè¨ã§{1}ãè²»ããã¾ããã",timerSpentPage:"ããªãã¯ãã®ãã¼ã¸ã«{0}ãè²»ããã¾ããã",timerSpentSurvey:"åè¨ã§{0}ã使ã£ããã¨ã«ãªãã¾ãã",timerLimitAll:"ãã®ãã¼ã¸ã«{1}ã®ãã¡{0}ãè²»ããã{3}ã®ãã¡{2}ãåè¨ã§è²»ããã¾ããã",timerLimitPage:"ãã®ãã¼ã¸ã§{1}ã®{0}ã使ã£ããã¨ãããã¾ãã",timerLimitSurvey:"åè¨ã§{1}ã®{0}ã使ã£ããã¨ãããã¾ãã",clearCaption:"空ç½",signaturePlaceHolder:"ããã«ç½²å",signaturePlaceHolderReadOnly:"ç½²åãªã",chooseFileCaption:"ãã¡ã¤ã«ã鏿",takePhotoCaption:"åçãæ®ã",photoPlaceholder:"ä¸ã®ãã¿ã³ãã¯ãªãã¯ãã¦ã«ã¡ã©ã§åçãæ®å½±ãã¦ãã ããã",fileOrPhotoPlaceholder:"ãã¡ã¤ã«ããã©ãã°ï¼ããããã¾ãã¯é¸æãã¦ã¢ãããã¼ãããããã«ã¡ã©ã§åçãæ®å½±ãã¦ãã ããã",replaceFileCaption:"ãã¡ã¤ã«ãç½®æ",removeFileCaption:"ãã®ãã¡ã¤ã«ãåé¤",booleanCheckedLabel:"ã¯ã",booleanUncheckedLabel:"ããã",confirmRemoveFile:"ãã®ãã¡ã¤ã«ãåé¤ãã¦ãããããã§ããï¼{0}?",confirmRemoveAllFiles:"ãã¹ã¦ã®ãã¡ã¤ã«ãåé¤ãã¦ãããããã§ããï¼",questionTitlePatternText:"質åã®ã¿ã¤ãã«",modalCancelButtonText:"ãã£ã³ã»ã«",modalApplyButtonText:"ç³ãè¾¼ã",filterStringPlaceholder:"æ¤ç´¢ããã¿ã¤ã...",emptyMessage:"表示ãããã¼ã¿ãããã¾ãã",noEntriesText:"ã¨ã³ããªã¯ã¾ã ããã¾ããã\nä¸ã®ãã¿ã³ãã¯ãªãã¯ãã¦ãæ°ããã¨ã³ããªã追å ãã¾ãã",noEntriesReadonlyText:"ã¨ã³ããªã¯ããã¾ããã",tabTitlePlaceholder:"æ°ããããã«",more:"ç¶ããè¦ã",tagboxDoneButtonCaption:"ãããã¾ãã",selectToRankEmptyRankedAreaText:"ãã¹ã¦ã®é¸æè¢ãã©ã³ã¯ä»ãããã¾ã",selectToRankEmptyUnrankedAreaText:"ããã«é¸æè¢ããã©ãã°ã¢ã³ããããããã¦ã©ã³ã¯ä»ããã¾ã",ok:"ãããã¾ãã",cancel:"ãã£ã³ã»ã«"},nativeName:"æ¥æ¬èª",englishName:"Japanese"});m({localeCode:"kk",strings:{pagePrevText:"ÐÑÑÒа",pageNextText:"ÐелеÑÑ",completeText:"ÐайÑн",previewText:"ÐлдÑн ала ÒаÑаÑ",editText:"РедакÑиÑлаÑ",startSurveyText:"ÐаÑÑаÑ",otherItemText:"ÐаÑÒа (Ó©ÑÑнемÑз, жазÑÒ£Ñз)",noneItemText:"ÐоÒ",refuseItemText:"ÐаÑап беÑÑден Ð±Ð°Ñ ÑаÑÑÑ",dontKnowItemText:"ÐÑлмеймÑн",selectAllItemText:"ÐаÑлÑÒÑн ÑаңдаÑ",deselectAllItemText:"ÐаÑлÑÒÑн жоÒÒа ÑÑÒаÑÑ",progressText:"{0} ден {1} Ð±ÐµÑ ",indexText:"{1} {0}",panelDynamicProgressText:"{0} ден {1} жазба",panelDynamicTabTextFormat:"ÐÐ°Ð½ÐµÐ»Ñ {panelIndex}",questionsProgressText:"{0}/{1} ÑÒ±ÑаÒÑаÑÒа жаÑап",emptySurvey:"ÐÑÑ Ð´Ðµ бÑÑ ÑÒ±ÑÐ°Ò Ð¶Ð¾Ò.",completingSurvey:"СаÑÐ°Ð»Ð½Ð°Ð¼Ð°Ð½Ñ ÑолÑÑÑÒанÑÒ£Ñз Ò¯ÑÑн ÑаÑ
меÑ!",completingSurveyBefore:"СÑз бұл ÑаÑÐ°Ð»Ð½Ð°Ð¼Ð°Ð½Ñ Ó©ÑÑп ÒойдÑÒ£Ñз.",loadingSurvey:"СеÑвеÑден жүкÑеÑ...",placeholder:"ТаңдаÑ...",ratingOptionsCaption:"ТаңдаÑ...",value:"мÓнÑ",requiredError:"Ó¨ÑÑнемÑз, ÑÒ±ÑаÒÒа жаÑап беÑÑÒ£Ñз.",requiredErrorInPanel:"Ó¨ÑÑнемÑз, кем дегенде бÑÑ ÑÒ±ÑаÒÒа жаÑап беÑÑÒ£Ñз.",requiredInAllRowsError:"Ó¨ÑÑнемÑз, ÓÑбÑÑ Ð¶Ð¾Ð»Ð´ÑÒ£ ÑÒ±ÑаÒÐ°Ð½Ñ Ð¶Ð°Ñап беÑÑÒ£Ñз.",eachRowUniqueError:"ÓÑ Ð¶Ð¾Ð»Ð´ÑÒ£ бÑÑегей мÓÐ½Ñ Ð±Ð¾Ð»ÑÑ ÑиÑÑ.",numericError:"ÐаÑап Ñан ÑÒ¯ÑÑнде болÑÑ ÐºÐµÑек.",minError:"ÐÓÐ½Ñ {0} кем болмаÑÑ ÑиÑÑ",maxError:"ÐÓн {0} аÑÑÑÒ Ð±Ð¾Ð»Ð¼Ð°ÑÑ ÑиÑÑ",textNoDigitsAllow:"ÐөмÑÑлеÑÐ´Ñ Ð±ÐµÑÑге жол беÑÑлмейдÑ.",textMinLength:"Ó¨ÑÑнемÑз, {0} ден көп Ñаңба енгÑзÑÒ£Ñз.",textMaxLength:"Ó¨ÑÑнемÑз, {0} ден аз Ñаңба енгÑзÑÒ£Ñз.",textMinMaxLength:"Ó¨ÑÑнемÑз, {0} аз жÓне {1} көп Ñаңба енгÑзÑÒ£Ñз.",minRowCountError:"Ó¨ÑÑнемÑз, {0} ден кем ÐµÐ¼ÐµÑ Ð¶Ð¾Ð» ÑолÑÑÑÑÒ£Ñз.",minSelectError:"Ó¨ÑÑнемÑз, ÑÑм болмаÑа {0} нұÑÒа ÑаңдаңÑз.",maxSelectError:"Ó¨ÑÑнемÑз, {0} нұÑÒадан көп ÑаңдамаңÑз.",numericMinMax:"'{0}' {1} ден кем ÐµÐ¼ÐµÑ Ð¶Óне {2} ден көп ÐµÐ¼ÐµÑ Ð±Ð¾Ð»Ñ ÐºÐµÑек",numericMin:"'{0}' {1} ден кем ÐµÐ¼ÐµÑ Ð±Ð¾Ð»Ñ ÐºÐµÑек",numericMax:"'{0}' {1} ден көп ÐµÐ¼ÐµÑ Ð±Ð¾Ð»Ñ ÐºÐµÑек",invalidEmail:"Ó¨ÑÑнемÑз, жаÑÐ°Ð¼Ð´Ñ ÑлекÑÑондÑÒ Ð¿Ð¾ÑÑаңÑÐ·Ð´Ñ ÐµÐ½Ð³ÑзÑÒ£Ñз.",invalidExpression:"{0} Ó©ÑÐ½ÐµÐ³Ñ 'true' ÒайÑаÑÑ ÐºÐµÑек.",urlRequestError:"СұÑаÑÑм ÒаÑелÑкÑÑ ÒайÑаÑдÑ'{0}'. {1}",urlGetChoicesError:"СұÑаÑÑмÒа жаÑап Ð±Ð¾Ñ ÐºÐµÐ»Ð´Ñ Ð½ÐµÐ¼ÐµÑе 'path' ÒаÑиеÑÑ ÒаÑе көÑÑеÑÑлген ",exceedMaxSize:"ФайлдÑÒ£ мөлÑеÑÑ {0} аÑÐ¿Ð°Ñ ÐºÐµÑек.",noUploadFilesHandler:"ФайлдаÑÐ´Ñ ÐºÐµÑÑ Ð¶Ò¯ÐºÑÐµÑ Ð¼Ò¯Ð¼ÐºÑн емеÑ. 'OnUploadFiles' оÒиÒаÑÑна өңдеÑÑÑÐ½Ñ ÒоÑÑÑÒ£ÑÐ·Ð´Ñ ÑÒ±ÑаймÑз.",otherRequiredError:"Ó¨ÑÑнемÑз, âÐаÑÒаâ жолÑна деÑекÑÑ ÐµÐ½Ð³ÑзÑÒ£Ñз",uploadingFile:"СÑздÑÒ£ ÑайлÑÒ£Ñз жүкÑелÑп жаÑÑÑ. ÐÑÑнеÑе ÑекÑнд ÑоÑÑп, ÒайÑадан байÒап көÑÑÒ£Ñз.",loadingFile:"ÐүкÑеÑ...",chooseFile:"ФайлдаÑÐ´Ñ ÑаңдаңÑз...",noFileChosen:"Файл ÑаңдалÑнбадÑ",filePlaceholder:"Ð¤Ð°Ð¹Ð»Ð´Ñ Ð¾ÑÑ Ð¶ÐµÑге апаÑÑп ÑаÑÑаңÑз немеÑе ÑÓ©Ð¼ÐµÐ½Ð´ÐµÐ³Ñ ÑÒ¯Ð¹Ð¼ÐµÐ½Ñ Ð±Ð°ÑÑÒ£Ñз жÓне кеÑÑ Ð¶Ò¯ÐºÑÐµÑ Ò¯ÑÑн ÑÐ°Ð¹Ð»Ð´Ñ ÑаңдаңÑз.",confirmDelete:"СÑз Ð¶Ð°Ð·Ð±Ð°Ð½Ñ Ð¶Ð¾ÑÑÑнÑÒ£ÑзÒа ÑенÑмдÑÑÑз бе?",keyDuplicationError:"Ðұл мÓн бÑÑегей Ð±Ð¾Ð»Ñ ÐºÐµÑек.",addColumn:"ÐаÒана ÒоÑÑ",addRow:"ÐÐ¾Ð»Ð´Ñ ÒоÑÑ",removeRow:"Ó¨ÑÑÑÑ",emptyRowsText:"ÒаÑаÑÐ»Ð°Ñ Ð¶Ð¾Ò.",addPanel:"Ðаңа ÒоÑÑ",removePanel:"Ó¨ÑÑÑÑ",showDetails:"Ðгжей-ÑегжейÑн көÑÑеÑÑ",hideDetails:"Ðгжей- ÑегжейÑн жаÑÑ",choices_Item:"ÐÒ±ÑÒа",matrix_column:"ÐаÒана",matrix_row:"Ðол",multipletext_itemname:"мÓÑÑн",savingData:"ÐÓÑÐ¸Ð¶ÐµÐ»ÐµÑ ÑеÑвеÑде ÑаÒÑаладÑ...",savingDataError:"ÒаÑелÑк ÑÑÑндадÑ, нÓÑиже ÑаÒÑалÑнбадÑ.",savingDataSuccess:"ÐÓÑиже ойдаÒÑдай ÑаÒÑалдÑ!",savingExceedSize:"СÑздÑÒ£ жаÑабÑÒ£Ñз 64ÐÐ-Ñан аÑадÑ. ФайлдÑÒ£ өлÑемÑн азайÑÑп, ÒайÑалап көÑÑÒ£Ñз немеÑе ÑаÑалнама иеÑÑне Ñ
абаÑлаÑÑÒ£Ñз.",saveAgainButton:"ÒайÑадан байÒап көÑÑ",timerMin:"мин",timerSec:"Ñек",timerSpentAll:"СÑз бұл беÑÑе {0} кеÑÑÑдÑÒ£Ñз жÓне баÑлÑÒÑ {1}.",timerSpentPage:"СÑз бұл беÑÑе {0} кеÑÑÑдÑÒ£Ñз.",timerSpentSurvey:"СÑз ÑаÑалнама кезÑнде {0} кеÑÑÑдÑÒ£Ñз.",timerLimitAll:"СÑз бұл беÑÑе {0} ден {1} кеÑÑÑдÑÒ£Ñз жÓне {2} ден {3} бүкÑл ÑаÑалнама Ò¯ÑÑн.",timerLimitPage:"СÑз бұл беÑÑе {0} ден {1} кеÑÑÑдÑÒ£Ñз.",timerLimitSurvey:"СÑз бүкÑл ÑаÑалнама Ò¯ÑÑн {0} ден {1} кеÑÑÑдÑÒ£Ñз ",clearCaption:"ТазалаÑ",signaturePlaceHolder:"ÐÑÑнда кÑÑÑ",signaturePlaceHolderReadOnly:"ÒолдÑÒ£ No",chooseFileCaption:"Файл ÑаңдаңÑз",takePhotoCaption:"ФоÑоÑÑÑеÑке ÑÒ¯ÑÑ",photoPlaceholder:"ÐамеÑÐ°Ð½Ñ Ð¿Ð°Ð¹Ð´Ð°Ð»Ð°Ð½Ñп ÑÑÑеÑке ÑÒ¯ÑÑ Ò¯ÑÑн ÑÓ©Ð¼ÐµÐ½Ð´ÐµÐ³Ñ ÑÒ¯Ð¹Ð¼ÐµÐ½Ñ Ð±Ð°ÑÑÒ£Ñз.",fileOrPhotoPlaceholder:"ФоÑоаппаÑаÑÑÑ Ð¿Ð°Ð¹Ð´Ð°Ð»Ð°Ð½Ñп кеÑÑ Ð¶Ò¯ÐºÑÐµÑ Ð½ÐµÐ¼ÐµÑе ÑÑÑеÑке ÑÒ¯ÑÑÑÑ Ò¯ÑÑн ÑÐ°Ð¹Ð»Ð´Ñ Ð°Ð¿Ð°ÑÑп ÑаÑÑаÑÒ£Ñз немеÑе ÑаңдаңÑз.",replaceFileCaption:"Ð¤Ð°Ð¹Ð»Ð´Ñ Ð°ÑÑÑÑÑÑÑ",removeFileCaption:"Ð¤Ð°Ð¹Ð»Ð´Ñ Ð¶Ð¾Ð¹ÑÒ£Ñз",booleanCheckedLabel:"ÐÓ",booleanUncheckedLabel:"ÐоÒ",confirmRemoveFile:"СÑз бұл ÑÐ°Ð¹Ð»Ð´Ñ Ð¶Ð¾ÑÑÑнÑÒ£ÑзÒа ÑенÑмдÑÑÑз бе: {0}?",confirmRemoveAllFiles:"СÑз баÑлÑÒ ÑайлдаÑÐ´Ñ Ð¶Ð¾ÑÑÑнÑÒ£ÑзÒа ÑенÑмдÑÑÑз бе?",questionTitlePatternText:"СұÑаÒÑÑÒ£ аÑаÑÑ",modalCancelButtonText:"ÐолдÑÑмаÑ",modalApplyButtonText:"ÒолданÑ",filterStringPlaceholder:"ÐÐ·Ð´ÐµÑ Ò¯ÑÑн ÑеÑÑÒ£Ñз...",emptyMessage:"ÐÓ©ÑÑеÑÑлеÑÑн деÑекÑÐµÑ Ð¶Ð¾Ò",noEntriesText:"ÓзÑÑге Ð¶Ð°Ð·Ð±Ð°Ð»Ð°Ñ Ð¶Ð¾Ò.\nÐаңа Ð¶Ð°Ð·Ð±Ð°Ð½Ñ ÒоÑÑ Ò¯ÑÑн ÑÓ©Ð¼ÐµÐ½Ð´ÐµÐ³Ñ ÑүймеÑÑгÑÒ£Ð´Ñ Ð±Ð°ÑÑÒ£Ñз.",noEntriesReadonlyText:"ÐÐ°Ð·Ð±Ð°Ð»Ð°Ñ Ð¶Ð¾Ò.",tabTitlePlaceholder:"Ðаңа панелÑ",more:"ÒоÑÑмÑа",tagboxDoneButtonCaption:"ÐÐÒСЫ",selectToRankEmptyRankedAreaText:"ÐаÑлÑÒ ÑаңдаÑÐ»Ð°Ñ ÑанжиÑленген",selectToRankEmptyUnrankedAreaText:"ТаңдаÑÐ´Ñ ÑангÑÐµÑ Ò¯ÑÑн оÑÑнда апаÑÑп ÑаÑÑаÑ",ok:"ÐÐÒСЫ",cancel:"ÐолдÑÑмаÑ"},nativeName:"kazakh",englishName:"Kazakh"});m({localeCode:"ko",strings:{pagePrevText:"ì´ì ",pageNextText:"ë¤ì",completeText:"ìë£",previewText:"미리보기",editText:"ìì ",startSurveyText:"ìì",otherItemText:"기í (ì¤ëª
)",noneItemText:"ìì",refuseItemText:"ë
vendor: 4,190 bytes, line 16
16ëµ ê±°ë¶",dontKnowItemText:"모르ë¤",selectAllItemText:"모ë ì í",deselectAllItemText:"모ë ì í í´ì ",progressText:"íì´ì§ {1} / {0}",indexText:"{0} / {1}",panelDynamicProgressText:"{0} / {1}",panelDynamicTabTextFormat:"í¨ë {panelIndex}",questionsProgressText:"{0} / {1} ê°ì ì§ë¬¸ì ëµë³í¨",emptySurvey:"ì¤ë¬¸ì§ì ë³´ì¬ì§ë íì´ì§ë ì§ë¬¸ì´ ììµëë¤.",completingSurvey:"ì¤ë¬¸ì¡°ì¬ë¥¼ ìë£í´ 주ì
ì ê°ì¬í©ëë¤.",completingSurveyBefore:"기ë¡ì ë°ë¥´ë©´ ì´ë¯¸ ì¤ë¬¸ ì¡°ì¬ë¥¼ ë§ì¹ì
¨ìµëë¤.",loadingSurvey:"ì¤ë¬¸ì¡°ì¬ê° ë¡ëì¤ì
ëë¤...",placeholder:"ì í...",ratingOptionsCaption:"ë±ê¸ì ë§¤ê¸°ë ¤ë©´ ë르ì¸ì.",value:"ê°",requiredError:"ì§ë¬¸ì ëµíìì¤.",requiredErrorInPanel:"íë ì´ìì ì§ë¬¸ì ëµíììì¤.",requiredInAllRowsError:"모ë íì ìë ì§ë¬¸ì ëµíììì¤.",eachRowUniqueError:"ê° íìë ê³ ì í ê°ì´ ìì´ì¼ í©ëë¤.",numericError:"ê°ì ì«ìì¬ì¼ í©ëë¤.",minError:"ê°ì {0}ë³´ë¤ ìì¼ë©´ ìë©ëë¤.",maxError:"ê°ì {0}ë³´ë¤ í´ ì ììµëë¤.",textNoDigitsAllow:"ì«ìë íì©ëì§ ììµëë¤.",textMinLength:"ëµë³ì 길ì´ë ìµì {0}ìì¬ì¼ ì
ëë¤.",textMaxLength:"ëµë³ì 길ì´ë {0}ì를 ì´ê³¼ í ì ììµëë¤.",textMinMaxLength:"ëµë³ì 길ì´ë {0} - {1}ì ì¬ì´ì¬ì¼ í©ëë¤.",minRowCountError:"ìµì {0}ê°ì íì ì±ì°ììì¤",minSelectError:"ìµì {0}ê°ì ë³ì를 ì ííììì¤.",maxSelectError:"ìµë {0}ê°ì ë³ì를 ì ííììì¤.",numericMinMax:"'{0}'ì {1}ë³´ë¤ í¬ê±°ë ê°ê³ {2}ë³´ë¤ ìê±°ë ê°ìì¼í©ëë¤.",numericMin:"'{0}'ì {1}ë³´ë¤ í¬ê±°ë ê°ìì¼í©ëë¤.",numericMax:"'{0}'ì {1}ë³´ë¤ ìê±°ë ê°ìì¼í©ëë¤.",invalidEmail:"ì¬ë°ë¥¸ ì´ë©ì¼ 주ì를 ì
ë ¥íììì¤.",invalidExpression:"ííì: {0}ì 'ì°¸'ì´ì´ì¼ í©ëë¤.",urlRequestError:"'{0}'ì¼ë¡ ì못ë ìì²ì
ëë¤. {1}",urlGetChoicesError:"ë¹ì´ìë ë°ì´í°ë¥¼ ìì²íê±°ë ì못ë ìì±ì ê²½ë¡ì
ëë¤.",exceedMaxSize:"íì¼ í¬ê¸°ê° {0}ì ì´ê³¼ í ì ììµëë¤.",noUploadFilesHandler:"íì¼ì ì
ë¡ëí ì ììµëë¤. 'onUploadFiles'ì´ë²¤í¸ì ëí í¸ë¤ë¬ë¥¼ ì¶ê°íììì¤.",otherRequiredError:"ë¤ë¥¸ ì§ë¬¸ì ìì±íììì¤.",uploadingFile:"íì¼ ì
ë¡ë ì¤ì
ëë¤. ì ì í ë¤ì ìëíììì¤.",loadingFile:"ë¡ë ì¤...",chooseFile:"íì¼ ì í...",noFileChosen:"ì íë íì¼ì´ ììµëë¤.",filePlaceholder:"íì¼ì ì¬ê¸°ì ëê±°ë ìë ë²í¼ì í´ë¦íì¬ íì¼ì ë¶ë¬ì¤ì¸ì.",confirmDelete:"기ë¡ì ìì íìê² ìµëê¹?",keyDuplicationError:" ì´ ê°ì ê³ ì í´ì¼í©ëë¤.",addColumn:"ì´ ì¶ê°",addRow:"í ì¶ê°",removeRow:"ì ê±°",emptyRowsText:"íì´ ììµëë¤.",addPanel:"ì¶ê°",removePanel:"ì ê±°",showDetails:"ì¸ë¶ ì ë³´ íì",hideDetails:"ì¸ë¶ ì ë³´ ì¨ê¸°ê¸°",choices_Item:"í목",matrix_column:"ì´",matrix_row:"í",multipletext_itemname:"í
ì¤í¸",savingData:"ê²°ê³¼ê° ìë²ì ì ì¥ ì¤ì
ëë¤...",savingDataError:"ì¤ë¥ê° ë°ìíì¬ ê²°ê³¼ë¥¼ ì ì¥í ì ììµëë¤.",savingDataSuccess:"ê²°ê³¼ê° ì±ê³µì ì¼ë¡ ì ì¥ëììµëë¤.",savingExceedSize:"ìëµì´ 64KB를 ì´ê³¼í©ëë¤. íì¼ í¬ê¸°ë¥¼ ì¤ì¸ í ë¤ì ìëíê±°ë ì¤ë¬¸ì¡°ì¬ ìì ììê² ë¬¸ìíì¸ì.",saveAgainButton:"ë¤ì ìëíì¸ì.",timerMin:"ë¶",timerSec:"ì´",timerSpentAll:"íì¬ íì´ì§ìì {0}ì ììí´ ì´ {1}ì´ ê±¸ë ¸ìµëë¤.",timerSpentPage:"íì¬ íì´ì§ìì {0}ì´ ê±¸ë ¸ìµëë¤.",timerSpentSurvey:"ì´ {0}ì´ ê±¸ë ¸ìµëë¤.",timerLimitAll:"íì¬ íì´ì§ìì {0}/{1}ì ììí´ ì´ {2}/{3}ì´ ê±¸ë ¸ìµëë¤.",timerLimitPage:"íì¬ íì´ì§ìì {0}/{1}ì´ ê±¸ë ¸ìµëë¤.",timerLimitSurvey:"ì´ {0}/{1}ì´ ê±¸ë ¸ìµëë¤.",clearCaption:"ì§ì°ê¸°",signaturePlaceHolder:"ìëª
íì¸ì.",signaturePlaceHolderReadOnly:"ìëª
ìì",chooseFileCaption:"íì¼ ì í",takePhotoCaption:"ì¬ì§ ì°ê¸°",photoPlaceholder:"ìë ë²í¼ì í´ë¦íì¬ ì¹´ë©ë¼ë¡ ì¬ì§ì ì°ìµëë¤.",fileOrPhotoPlaceholder:"ì
ë¡ëí íì¼ì
vendor: 26,493 bytes, line 16
16 ëëê·¸ ì¤ ëë¡íê±°ë ì ííê±°ë ì¹´ë©ë¼ë¥¼ ì¬ì©íì¬ ì¬ì§ì ì°ìµëë¤.",replaceFileCaption:"íì¼ ë°ê¾¸ê¸°",removeFileCaption:"íì¼ ì ê±°",booleanCheckedLabel:"ì",booleanUncheckedLabel:"ìëì¤",confirmRemoveFile:"{0} íì¼ì ì ê±° íìê² ìµëê¹?",confirmRemoveAllFiles:"모ë íì¼ì ì ê±° íìê² ìµëê¹?",questionTitlePatternText:"ì§ë¬¸ ì 목",modalCancelButtonText:"ì·¨ì",modalApplyButtonText:"ì ì©",filterStringPlaceholder:"ê²ì ì í...",emptyMessage:"íìí ë°ì´í°ê° ììµëë¤.",noEntriesText:"ìì§ íëª©ì´ ììµëë¤.\nì í목ì ì¶ê°íë ¤ë©´ ìë ë²í¼ì í´ë¦íì¸ì.",noEntriesReadonlyText:"íëª©ì´ ììµëë¤.",tabTitlePlaceholder:"ì í¨ë",more:"ë보기",tagboxDoneButtonCaption:"ê·¸ë",selectToRankEmptyRankedAreaText:"모ë ì í íëª©ì´ ììê° ë§¤ê²¨ì§ëë¤.",selectToRankEmptyUnrankedAreaText:"ì¬ê¸°ì ì í í목ì ëì´ë¤ ëì ìì를 매ê¹ëë¤.",ok:"ê·¸ë",cancel:"ì·¨ì"},nativeName:"íêµì´",englishName:"Korean"});m({localeCode:"lv",strings:{pagePrevText:"IepriekÅ¡Äja lapa",pageNextText:"NÄkamÄ lapa",completeText:"Iesniegt",previewText:"PriekÅ¡skatÄ«jums",editText:"RediÄ£Ät",startSurveyText:"SÄkt",otherItemText:"Cits (lÅ«dzu, aprakstiet!)",noneItemText:"Nav",refuseItemText:"Atteikties atbildÄt",dontKnowItemText:"Es nezinu",selectAllItemText:"IzvÄlÄties visus",deselectAllItemText:"NoÅemt atlasi visiem",progressText:"{0}. lapa no {1}",indexText:"{0} no {1}",panelDynamicProgressText:"IerakstÄ«t {0} no {1}",panelDynamicTabTextFormat:"Panelis {panelIndex}",questionsProgressText:"AtbildÄts uz {0} / {1} jautÄjumiem",emptySurvey:"Nav neviena jautÄjuma.",completingSurvey:"Pateicamies Jums par anketas aizpildīšanu!",completingSurveyBefore:"MÅ«su ieraksti liecina, ka JÅ«s jau esat aizpildÄ«jis Å¡o aptauju.",loadingSurvey:"IelÄde no servera...",placeholder:"IzvÄlÄties...",ratingOptionsCaption:"Nospiediet Å¡eit, lai novÄrtÄtu...",value:"value",requiredError:"LÅ«dzu, atbildiet uz jautÄjumu!",requiredErrorInPanel:"LÅ«dzu, atbildiet uz vismaz vienu jautÄjumu.",requiredInAllRowsError:"LÅ«dzu, atbildiet uz jautÄjumiem visÄs rindÄs.",eachRowUniqueError:"Katrai rindai jÄbÅ«t unikÄlai vÄrtÄ«bai.",numericError:"Atbildei ir jÄbÅ«t skaitlim.",minError:"VÄrtÄ«ba nedrÄ«kst bÅ«t mazÄka par {0}",maxError:"VÄrtÄ«ba nedrÄ«kst bÅ«t lielÄka par {0}",textNoDigitsAllow:"Numuri nav atļauti.",textMinLength:"LÅ«dzu, ievadiet vismaz {0} simbolus.",textMaxLength:"LÅ«dzu, ievadiet mazÄk nekÄ {0} rakstzÄ«mes.",textMinMaxLength:"LÅ«dzu, ievadiet vairÄk nekÄ {0} rakstzÄ«mes un mazÄk nekÄ {1} rakstzÄ«mes.",minRowCountError:"LÅ«dzu, aizpildiet vismaz {0} rindas.",minSelectError:"LÅ«dzu, izvÄlieties vismaz {0} variantu.",maxSelectError:"LÅ«dzu, izvÄlieties ne vairak par {0} variantiem.",numericMinMax:"'{0}' jÄbÅ«t vienÄdam vai lielÄkam nekÄ {1}, un vienÄdam vai mazÄkam, nekÄ {2}",numericMin:"'{0}' jÄbÅ«t vienÄdam vai lielÄkam {1}",numericMax:"'{0}' jÄbÅ«t vienÄdam vai lielÄkam {1}",invalidEmail:"LÅ«dzu, ievadiet pareizu e-pasta adresi!",invalidExpression:"Izteicienam: {0} jÄatgriež âtrueâ.",urlRequestError:"PieprasÄ«jumÄ tika atgriezta kļūda â{0}â. {1}",urlGetChoicesError:"PieprasÄ«jums atgrieza tukÅ¡us datus vai rekvizÄ«ts âpathâ ir nepareizs",exceedMaxSize:"Faila lielums nedrÄ«kst pÄrsniegt {0}.",noUploadFilesHandler:'Failus nevar augÅ¡upielÄdÄt. LÅ«dzu, pievienojiet apdarinÄtÄju notikumam "onUploadFiles".',otherRequiredError:"LÅ«dzu, ievadiet datus laukÄ 'Cits'",uploadingFile:"JÅ«su fails tiek augÅ¡upielÄdÄts. LÅ«dzu, uzgaidiet dažas sekundes un mÄÄ£iniet vÄlreiz.",loadingFile:"Notiek ielÄde ...",chooseFile:"IzvÄlieties failus ...",noFileChosen:"Nav izvÄlÄts neviens fails",filePlaceholder:"Lai pievienotu, ievelciet failu Å¡eit vai arÄ« klikšķiniet uz zemÄk redzamÄs pogas",confirmDelete:"Vai vÄlaties izdzÄst ierakstu?",keyDuplicationError:"Å ai vÄrtÄ«bai jÄbÅ«t unikÄlai.",addColumn:"Pievienot kolonnu",addRow:"Pievienot rindu",removeRow:"NoÅemt",emptyRowsText:"Nav rindu.",addPanel:"Pievieno jaunu",removePanel:"NoÅemt",showDetails:"RÄdÄ«t detalizÄtu informÄciju",hideDetails:"SlÄpt detaļas",choices_Item:"vienums",matrix_column:"Sleja",matrix_row:"Rinda",multipletext_itemname:"teksts",savingData:"RezultÄti tiek saglabÄti serverÄ« ...",savingDataError:"RadÄs kļūda, un mÄs nevarÄjÄm saglabÄt rezultÄtus.",savingDataSuccess:"RezultÄti tika veiksmÄ«gi saglabÄti!",savingExceedSize:"JÅ«su atbilde pÄrsniedz 64 KB. LÅ«dzu, samaziniet sava(-u) faila(-u) lielumu un mÄÄ£iniet vÄlreiz vai sazinieties ar aptaujas Ä«paÅ¡nieku.",saveAgainButton:"MÄÄ£iniet vÄlreiz",timerMin:"min",timerSec:"sek",timerSpentAll:"Å ajÄ lapÄ esat iztÄrÄjis {0} un kopÄ {1}.",timerSpentPage:"Å ajÄ lapÄ esat iztÄrÄjis {0}.",timerSpentSurvey:"KopÄ esat iztÄrÄjis {0}.",timerLimitAll:"Å ajÄ lapÄ esat iztÄrÄjis {0} no {1} un kopÄ {2} no {3}.",timerLimitPage:"Å ajÄ lapÄ esat iztÄrÄjis {0} no {1}.",timerLimitSurvey:"KopÄ esat iztÄrÄjis {0} no {1}.",clearCaption:"IztÄ«rÄ«t",signaturePlaceHolder:"Parakstieties Å¡eit",signaturePlaceHolderReadOnly:"Nav paraksta",chooseFileCaption:"IzvÄlÄties failu",takePhotoCaption:"UzÅemt fotoattÄlu",photoPlaceholder:"Noklikšķiniet uz pogas zemÄk, lai uzÅemtu fotoattÄlu, izmantojot kameru.",fileOrPhotoPlaceholder:"Velciet un nometiet vai atlasiet failu, ko augÅ¡upielÄdÄt vai uzÅemt fotoattÄlu, izmantojot kameru.",replaceFileCaption:"AizstÄt failu",removeFileCaption:"NoÅemiet Å¡o failu",booleanCheckedLabel:"JÄ",booleanUncheckedLabel:"NÄ",confirmRemoveFile:"Vai tieÅ¡Äm vÄlaties noÅemt Å¡o failu: {0}?",confirmRemoveAllFiles:"Vai tieÅ¡Äm vÄlaties noÅemt visus failus?",questionTitlePatternText:"JautÄjuma nosaukums",modalCancelButtonText:"Atcelt",modalApplyButtonText:"Pielietot",filterStringPlaceholder:"Ierakstiet, lai meklÄtu...",emptyMessage:"Nav datu, ko rÄdÄ«t",noEntriesText:"VÄl nav neviena ieraksta.\nNoklikšķiniet uz zemÄk esoÅ¡Äs pogas, lai pievienotu jaunu ierakstu.",noEntriesReadonlyText:"Ierakstu nav.",tabTitlePlaceholder:"Jauns panelis",more:"VairÄk",tagboxDoneButtonCaption:"LABI",selectToRankEmptyRankedAreaText:"Visas izvÄles ir sarindotas",selectToRankEmptyUnrankedAreaText:"Velciet un nometiet izvÄles iespÄjas Å¡eit, lai tÄs sarindotu",ok:"LABI",cancel:"Atcelt"},nativeName:"latvieÅ¡u",englishName:"Latvian"});m({localeCode:"lt",strings:{pagePrevText:"Atgal",pageNextText:"Toliau",completeText:"Baigti",previewText:"PeržiÅ«ra",editText:"Redaguoti",startSurveyText:"PradÄti",otherItemText:"Kita (įvesti)",noneItemText:"NÄra",refuseItemText:"Atsisakyti atsakyti",dontKnowItemText:"Nežinau",selectAllItemText:"Pasirinkti visus",deselectAllItemText:"Panaikinkite visų žymÄjimÄ
",progressText:"Puslapis {0} iÅ¡ {1}",indexText:"{1} {0}",panelDynamicProgressText:"Ä®raÅ¡yti {0} iÅ¡ {1}",panelDynamicTabTextFormat:"Skydelis {panelIndex}",questionsProgressText:"AtsakÄ Ä¯ {0} / {1} klausimus",emptySurvey:"Apklausoje nÄra matomo puslapio ar klausimo.",completingSurvey:"DÄkojame už dalyvavimÄ
apklausoje!",completingSurveyBefore:"MÅ«sų įraÅ¡ai rodo, kad jau atlikote Å¡iÄ
apklausÄ
.",loadingSurvey:"PraÅ¡ome palaukti...",placeholder:"Pasirinkti...",ratingOptionsCaption:"ŽymÄti...",value:"reikÅ¡mÄ",requiredError:"BÅ«tina atsakyti į šį klausimÄ
.",requiredErrorInPanel:"BÅ«tina atsakyti bent į vienÄ
klausimÄ
.",requiredInAllRowsError:"PraÅ¡ome atsakyti į klausimus visose eilutÄse.",eachRowUniqueError:"Kiekviena eilutÄ turi turÄti unikaliÄ
reikÅ¡mÄ.",numericError:"Turi bÅ«ti skaiÄiai.",minError:"VertÄ neturÄtų bÅ«ti mažesnÄ nei {0}",maxError:"VertÄ neturÄtų bÅ«ti didesnÄ nei {0}",textNoDigitsAllow:"Numeriai neleidžiami.",textMinLength:"PraÅ¡ome suvesti bent {0} simbolius.",textMaxLength:"PraÅ¡ome suvesti mažiau nei {0} simbolių.",textMinMaxLength:"PraÅ¡ome suvesti daugiau nei {0} ir mažiau nei {1} simbolių.",minRowCountError:"PraÅ¡ome suvesti ne mažiau nei {0} eiluÄių.",minSelectError:"PraÅ¡ome pasirinkti bent {0} variantų.",maxSelectError:"Pasirinkite ne daugiau kaip {0} variantus.",numericMinMax:"'{0}' turi bÅ«ti lygus arba didesnis nei {1} ir lygus arba mažesnis nei {2}",numericMin:"'{0}' turÄtų bÅ«ti lygus arba didesnis nei {1}",numericMax:"'{0}' turÄtų bÅ«ti lygus ar mažesnis už {1}",invalidEmail:"PraÅ¡ome įvesti galiojantį elektroninio paÅ¡to adresÄ
.",invalidExpression:"ReikÅ¡mÄ: {0} turi grÄ
žinti 'true'.",urlRequestError:"Užklausa grÄ
žino klaidÄ
'{0}'. {1}",urlGetChoicesError:"Užklausa grÄ
žino tuÅ¡Äius duomenis arba 'path' savybÄ yra neteisinga",exceedMaxSize:"Failo dydis neturi virÅ¡yti {0}.",noUploadFilesHandler:'Failų įkelti negalima. PridÄkite įvykio "onUploadFiles" tvarkytojÄ
.',otherRequiredError:"Ä®veskite kitÄ
reikÅ¡mÄ.",uploadingFile:"JÅ«sų failas yra keliamas. Palaukite keletÄ
sekundžių ir bandykite dar kartÄ
.",loadingFile:"PraÅ¡ome palaukti...",chooseFile:"Pasirinkti failÄ
(us)...",noFileChosen:"Nepasirinktas joks failas",filePlaceholder:"Nuvilkite failÄ
Äia arba spustelÄkite žemiau esantį mygtukÄ
ir pasirinkite failÄ
, kurį norite įkelti.",confirmDelete:"Ar norite iÅ¡trinti įraÅ¡Ä
?",keyDuplicationError:"Å i reikÅ¡mÄ turÄtų bÅ«ti unikali.",addColumn:"PridÄti stulpelį",addRow:"PridÄti eilutÄ",removeRow:"IÅ¡trinti",emptyRowsText:"Eilių nÄra.",addPanel:"PridÄti naujÄ
",removePanel:"IÅ¡trinti",showDetails:"Rodyti iÅ¡samiÄ
informacijÄ
",hideDetails:"SlÄpti iÅ¡samiÄ
informacijÄ
",choices_Item:"elementas",matrix_column:"Stulpelis",matrix_row:"EilutÄ",multipletext_itemname:"SMS žinutÄ",savingData:"Rezultatai saugomi serveryje...",savingDataError:"Ä®vyko klaida ir mes negalÄjome iÅ¡saugoti rezultatų.",savingDataSuccess:"Rezultatai buvo iÅ¡saugoti sÄkmingai!",savingExceedSize:"JÅ«sų atsakymas virÅ¡ija 64 KB. Sumažinkite failo (-ų) dydį ir bandykite dar kartÄ
arba susisiekite su apklausos savininku.",saveAgainButton:"Bandyti dar kartÄ
",timerMin:"min",timerSec:"sek",timerSpentAll:"Praleidote {0} Å¡iame puslapyje ir {1} iÅ¡ viso.",timerSpentPage:"Praleidote {0} Å¡iame puslapyje.",timerSpentSurvey:"Praleidote {0} iÅ¡ viso.",timerLimitAll:"Praleidote {0} iÅ¡ {1} Å¡iame puslapyje ir {2} iÅ¡ {3} iÅ¡ viso.",timerLimitPage:"Praleidote {0} iÅ¡ {1} Å¡iame puslapyje.",timerLimitSurvey:"Praleidote {0} iÅ¡ {1} iÅ¡ viso.",clearCaption:"Valyti",signaturePlaceHolder:"PasiraÅ¡ykite Äia",signaturePlaceHolderReadOnly:"NÄra paraÅ¡o",chooseFileCaption:"Pasirinkti failÄ
",takePhotoCaption:"Fotografuoti",photoPlaceholder:"SpustelÄkite žemiau esantį mygtukÄ
, kad nufotografuotumÄte fotoaparatu.",fileOrPhotoPlaceholder:"Nuvilkite arba pasirinkite failÄ
, kurį norite įkelti arba nufotografuoti naudodami fotoaparatÄ
.",replaceFileCaption:"Pakeiskite failÄ
",removeFileCaption:"IÅ¡trinti šį failÄ
",booleanCheckedLabel:"Taip",booleanUncheckedLabel:"Ne",confirmRemoveFile:"Ar tikrai norite paÅ¡alinti šį failÄ
: {0}?",confirmRemoveAllFiles:"Ar tikrai norite paÅ¡alinti visus failus?",questionTitlePatternText:"Klausimo pavadinimas",modalCancelButtonText:"AtÅ¡aukti",modalApplyButtonText:"Vartoti",filterStringPlaceholder:"Ä®veskite, kad ieÅ¡kotumÄte...",emptyMessage:"NÄra rodomų duomenų",noEntriesText:"Ä®rašų dar nÄra.\nSpustelÄkite žemiau esantį mygtukÄ
, kad pridÄtumÄte naujÄ
įraÅ¡Ä
.",noEntriesReadonlyText:"Ä®rašų nÄra.",tabTitlePlaceholder:"Naujas skydelis",more:"Daugiau",tagboxDoneButtonCaption:"GERAI",selectToRankEmptyRankedAreaText:"Visi pasirinkimai yra reitinguojami",selectToRankEmptyUnrankedAreaText:"Nuvilkite pasirinkimus Äia, kad juos reitinguotumÄte",ok:"GERAI",cancel:"AtÅ¡aukti"},nativeName:"lietuvių",englishName:"Lithuanian"});m({localeCode:"mk",strings:{pagePrevText:"ÐÑеÑÑ
одна",pageNextText:"Следно",completeText:"ÐавÑÑи",previewText:"ÐÑеглед",editText:"УÑедÑваÑе",startSurveyText:"ÐапоÑнеÑе",otherItemText:"ÐÑÑго (опиÑи)",noneItemText:"ÐиÑÑо",refuseItemText:"ÐÐ´Ð±Ð¸Ñ Ð´Ð° одговоÑиÑ.",dontKnowItemText:"Ðе знам",selectAllItemText:"СелекÑиÑÐ°Ñ Ñе",deselectAllItemText:"ÐÑÑÑÑанеÑе ÑелекÑиÑа на ÑиÑе",progressText:"СÑÑаниÑа {0} од {1}",indexText:"{0} на {1}",panelDynamicProgressText:"Сними {0} од {1}",panelDynamicTabTextFormat:"Ðанел {панел ÐндекÑ}",questionsProgressText:"ÐдговоÑени на {0} / {1} пÑаÑаÑа",emptySurvey:"Ðема видлива ÑÑÑаниÑа или пÑаÑаÑе во иÑÑÑажÑваÑеÑо.",completingSurvey:"Ðи благодаÑиме ÑÑо го завÑÑивÑе иÑÑÑажÑваÑеÑо!",completingSurveyBefore:"ÐаÑиÑе запиÑи покажÑÐ²Ð°Ð°Ñ Ð´ÐµÐºÐ° веÑе ÑÑе го завÑÑиле ова иÑÑÑажÑваÑе.",loadingSurvey:"ÐнкеÑаÑа Ñе вÑиÑÑва ...",placeholder:"ÐзбеÑеÑе ...",ratingOptionsCaption:"ÐзбеÑеÑе...",value:"вÑедноÑÑ",requiredError:"Ðе молам, одговоÑеÑе на пÑаÑаÑеÑо.",requiredErrorInPanel:"Ðе молам, одговоÑеÑе баÑем на едно пÑаÑаÑе.",requiredInAllRowsError:"Ðе молиме, одговоÑеÑе на пÑаÑаÑа во ÑиÑе Ñедови.",eachRowUniqueError:"Ð¡ÐµÐºÐ¾Ñ Ñед моÑа да има ÑникаÑна вÑедноÑÑ.",numericError:"ÐÑедноÑÑа ÑÑеба да биде нÑмеÑиÑка.",minError:"ÐÑедноÑÑа не ÑÑеба да биде помала од {0}",maxError:"ÐÑедноÑÑа не ÑÑеба да биде поголема од {0}",textNoDigitsAllow:"ÐÑоевиÑе не Ñе дозволени.",textMinLength:"ÐнеÑеÑе наÑÐ¼Ð°Ð»ÐºÑ {0} знак/Ñи.",textMaxLength:"ÐнеÑеÑе не повеÑе од {0} знак/Ñи.",textMinMaxLength:"ÐнеÑеÑе наÑÐ¼Ð°Ð»ÐºÑ {0} и не повеÑе од {1} знаÑи.",minRowCountError:"ÐополнеÑе наÑÐ¼Ð°Ð»ÐºÑ {0} Ñед(ови).",minSelectError:"Ðе молиме избеÑеÑе наÑÐ¼Ð°Ð»ÐºÑ {0} ваÑиÑанÑа(и).",maxSelectError:"ÐзбеÑеÑе не повеÑе од {0} ваÑиÑанÑа(и).",numericMinMax:"'{0}' ÑÑеба да биде наÑÐ¼Ð°Ð»ÐºÑ {1} и наÑÐ¼Ð½Ð¾Ð³Ñ {2}",numericMin:"'{0}' ÑÑеба да биде наÑÐ¼Ð°Ð»ÐºÑ {1}",numericMax:"'{0}' ÑÑеба да биде наÑÐ¼Ð½Ð¾Ð³Ñ {1}",invalidEmail:"Ðе молиме внеÑеÑе валидна е-маил адÑеÑа.",invalidExpression:"ÐзÑазоÑ: {0} ÑÑеба да Ñе вÑаÑи 'true'.",urlRequestError:"ÐаÑаÑеÑо вÑаÑи гÑеÑка '{0}'. {1} ",urlGetChoicesError:"ÐаÑаÑеÑо вÑаÑи пÑазни подаÑоÑи или ÑвоÑÑÑвоÑо 'path' е неÑоÑно",exceedMaxSize:"ÐолеминаÑа на даÑоÑекаÑа не ÑÑеба да надминÑва {0}.",noUploadFilesHandler:"ФаÑловиÑе не Ð¼Ð¾Ð¶Ð°Ñ Ð´Ð° Ñе каÑÑвааÑ. Ðе молиме додадеÑе ÑаководиÑел за наÑÑÐ°Ð½Ð¾Ñ 'onUploadFiles'.",otherRequiredError:"ÐнеÑеÑе Ñа дÑÑгаÑа вÑедноÑÑ.",uploadingFile:"ÐаÑаÑа даÑоÑека Ñе поÑÑавÑва. Ðе молиме поÑекаÑÑе Ð½ÐµÐºÐ¾Ð»ÐºÑ ÑекÑнди и обидеÑе Ñе повÑоÑно.",loadingFile:"Се вÑиÑÑва ...",chooseFile:"ÐзбеÑеÑе даÑоÑека (и) ...",noFileChosen:"Ðе Ñе избÑани даÑоÑеки",filePlaceholder:"ÐÑÑÑеÑе даÑоÑека овде или кликнеÑе на копÑеÑо Ð¿Ð¾Ð´Ð¾Ð»Ñ Ð·Ð° да Ñа вÑиÑаÑе даÑоÑекаÑа.",confirmDelete:"Ðали ÑакаÑе да го избÑиÑеÑе запиÑоÑ?",keyDuplicationError:"Ðваа вÑедноÑÑ ÑÑеба да биде единÑÑвена.",addColumn:"ÐÐ¾Ð´Ð°Ñ ÐºÐ¾Ð»Ð¾Ð½Ð°",addRow:"Ðодади Ñед",removeRow:"ÐÑÑÑÑани",emptyRowsText:"Ðема Ñедови.",addPanel:"Ðодади ново",removePanel:"ÐÑÑÑÑани",showDetails:"ÐÑикажÑваÑе на деÑалиÑе",hideDetails:"СокÑÐ¸Ñ Ð³Ð¸ деÑалиÑе.",choices_Item:"ÑÑавка",matrix_column:"Ðолона",matrix_row:"Ред",multipletext_itemname:"ÑекÑÑ.",savingData:"РезÑлÑаÑиÑе Ñе заÑÑвÑÐ²Ð°Ð°Ñ Ð½Ð° ÑеÑвеÑÐ¾Ñ ...",savingDataError:"ÐаÑÑана гÑеÑка и не можевме да ги заÑÑваме ÑезÑлÑаÑиÑе.",savingDataSuccess:"РезÑлÑаÑиÑе беа ÑÑпеÑно заÑÑвани!",savingExceedSize:"ÐаÑÐ¸Ð¾Ñ Ð¾Ð´Ð³Ð¾Ð²Ð¾Ñ Ð½Ð°Ð´Ð¼Ð¸Ð½Ñва 64KB. Ðе молиме да Ñа намалиÑе големинаÑа на ваÑаÑа(иÑе) даÑоÑека(и) и обидеÑе Ñе повÑоÑно или конÑакÑиÑаÑÑе го ÑопÑÑÐ²ÐµÐ½Ð¸ÐºÐ¾Ñ Ð½Ð° иÑÑÑажÑваÑеÑо.",saveAgainButton:"Ðбиди Ñе повÑоÑно",timerMin:"мин",timerSec:"Ñек",timerSpentAll:"ÐоминавÑе {0} на оваа ÑÑÑаниÑа и вкÑпно {1}.",timerSpentPage:"ÐоминавÑе {0} на оваа ÑÑÑаниÑа.",timerSpentSurvey:"Ðие поÑÑоÑивÑе вкÑпно {0}.",timerLimitAll:"ÐоминавÑе {0} од {1} на оваа ÑÑÑаниÑа и {2} од {3} вкÑпно.",timerLimitPage:"ÐоминавÑе {0} од {1} на оваа ÑÑÑаниÑа.",timerLimitSurvey:"Ðие поÑÑоÑивÑе вкÑпно {0} од {1}.",clearCaption:"Ðа ÑаÑÑиÑÑи",signaturePlaceHolder:"ÐоÑпиÑи Ñе овде.",signaturePlaceHolderReadOnly:"Ðема поÑпиÑ",chooseFileCaption:"ÐзбеÑеÑе даÑоÑека",takePhotoCaption:"ФоÑогÑаÑиÑаÑÑе",photoPlaceholder:"ÐликнеÑе на копÑеÑо Ð¿Ð¾Ð´Ð¾Ð»Ñ Ð·Ð° да ÑоÑогÑаÑиÑаÑе коÑиÑÑеÑÑи Ñа камеÑаÑа.",fileOrPhotoPlaceholder:"ÐлеÑеÑе и ÑÑлаÑÑе или избеÑеÑе даÑоÑека за каÑÑваÑе или ÑоÑогÑаÑиÑаÑе коÑиÑÑеÑÑи Ñа камеÑаÑа.",replaceFileCaption:"ÐаменеÑе го ÑаÑлоÑ.",removeFileCaption:"ÐÑÑÑÑанеÑе Ñа оваа даÑоÑека",booleanCheckedLabel:"Ðа",booleanUncheckedLabel:"Ðе",confirmRemoveFile:"Ðали ÑÑе ÑигÑÑни дека ÑакаÑе да Ñа оÑÑÑÑаниÑе оваа даÑоÑека: {0}?",confirmRemoveAllFiles:"Ðали ÑÑе ÑигÑÑни дека ÑакаÑе да ги оÑÑÑÑаниÑе ÑиÑе даÑоÑеки?",questionTitlePatternText:"ÐаÑлов на пÑаÑаÑеÑо",modalCancelButtonText:"ÐÑкажи",modalApplyButtonText:"ÐплиÑиÑаÑ",filterStringPlaceholder:"Тип за пÑебаÑÑваÑе...",emptyMessage:"Ðема подаÑоÑи за пÑикажÑваÑе",noEntriesText:"СеÑÑÑе нема влезниÑи.\nÐликнеÑе на копÑеÑо Ð¿Ð¾Ð´Ð¾Ð»Ñ Ð·Ð° да додадеÑе нов влез.",noEntriesReadonlyText:"Ðема влезниÑи.",tabTitlePlaceholder:"Ðов панел",more:"ÐовеÑе",tagboxDoneButtonCaption:"ÐÐÐÐ Ð",selectToRankEmptyRankedAreaText:"СиÑе избоÑи Ñе ÑангиÑани",selectToRankEmptyUnrankedAreaText:"ÐлеÑеÑе и ÑÑлеÑе го избоÑÐ¾Ñ Ð¾Ð²Ð´Ðµ за да ги ÑангиÑаÑе",ok:"ÐÐÐÐ Ð",cancel:"ÐÑкажи"},nativeName:"македонÑки",englishName:"Macedonian"});m({localeCode:"ms",strings:{pagePrevText:"Sebelumnya",pageNextText:"Seterusnya",completeText:"Selesai",previewText:"Pratonton",editText:"Edit",startSurveyText:"Mula",otherItemText:"Lain (terangkan)",noneItemText:"Tiada",refuseItemText:"Enggan menjawab",dontKnowItemText:"Tak tahu",selectAllItemText:"Pilih Semua",deselectAllItemText:"Nyahpilih semua",progressText:"Halaman {0} daripada {1}",indexText:"{0} {1}",panelDynamicProgressText:"Rekod {0} daripada {1}",panelDynamicTabTextFormat:"Panel {panelIndex}",questionsProgressText:"{0}/{1} soalan telah dijawab",emptySurvey:"Tiada halaman atau soalan boleh dilihat dalam tinjauan.",completingSurvey:"Terima kasih kerana melengkapkan tinjauan!",completingSurveyBefore:"Rekod kami menunjukkan yang anda telah melengkapkan tinjauan ini.",loadingSurvey:"Memuatkan Tinjauan...",placeholder:"Pilih...",ratingOptionsCaption:"Pilih...",value:"nilai",requiredError:"Respons diperlukan.",requiredErrorInPanel:"Respons diperlukan: jawab sekurang-kurangnya satu soalan.",requiredInAllRowsError:"Respons diperlukan: jawab soalan dalam semua baris.",eachRowUniqueError:"Setiap baris mesti mempunyai nilai yang unik.",numericError:"Nilai mestilah numerik.",minError:"Nilai tidak boleh kurang daripada {0}",maxError:"Nilai tidak boleh lebih besar daripada {0}",textNoDigitsAllow:"Nombor tidak dibenarkan.",textMinLength:"Sila masukkan sekurang-kurangnya {0} aksara.",textMaxLength:"Sila masukkan tidak lebih daripada {0} aksara.",textMinMaxLength:"Sila masukkan sekurang-kurangnya {0} dan tidak lebih daripada {1} aksara.",minRowCountError:"Sila isikan sekurang-kurangnya {0} baris.",minSelectError:"Sila pilih sekurang-kurangnya {0} varian.",maxSelectError:"Sila pilih tidak lebih daripada {0} varian.",numericMinMax:"'{0}' mestilah sekurang-kurangnya {1} dan paling banyak {2}",numericMin:"'{0}' mestilah sekurang-kurangnya {1}",numericMax:"'{0}' mestilah paling banyak {1}",invalidEmail:"Sila masukkan alamat e-mel yang sah.",invalidExpression:"Ekspresi: {0} hendaklah mengembalikan nilai 'benar'.",urlRequestError:"Permintaan mengembalikan ralat '{0}'. {1}",urlGetChoicesError:"Permintaan mengembalikan data kosong atau ciri 'laluan' salah",exceedMaxSize:"Saiz fail hendaklah tidak melebihi {0}.",noUploadFilesHandler:"Fail tidak boleh dimuat naik. Sila tambah pengendali untuk acara 'onUploadFiles'.",otherRequiredError:"Respons diperlukan: masukkan nilai lain.",uploadingFile:"Fail anda sedang dimuat naik. Sila tunggu beberapa saat dan cuba lagi.",loadingFile:"Memuat...",chooseFile:"Pilih fail...",noFileChosen:"Tiada fail dipilih",filePlaceholder:"Letakkan fail di sini atau klik butang di bawah untuk memuatkan fail.",confirmDelete:"Adakah anda ingin memadamkan rekod?",keyDuplicationError:"Nilai ini hendaklah unik.",addColumn:"Tambahkan lajur",addRow:"Tambahkan baris",removeRow:"Alih keluar",emptyRowsText:"Tiada baris.",addPanel:"Tambah baharu",removePanel:"Alih keluar",showDetails:"Tunjukkan Butiran",hideDetails:"Sembunyikan Butiran",choices_Item:"item",matrix_column:"Lajur",matrix_row:"Baris",multipletext_itemname:"teks",savingData:"Keputusan sedang disimpan pada pelayan...",savingDataError:"Ralat berlaku dan kami tidak dapat menyimpan keputusan.",savingDataSuccess:"Keputusan berjaya disimpan!",savingExceedSize:"Jawapan anda melebihi 64KB. Sila kurangkan saiz fail anda dan cuba lagi atau hubungi pemilik tinjauan.",saveAgainButton:"Cuba lagi",timerMin:"min",timerSec:"saat",timerSpentAll:"Anda telah meluangkan {0} pada halaman ini dan {1} secara keseluruhan.",timerSpentPage:"Anda telah meluangkan {0} pada halaman ini.",timerSpentSurvey:"Anda telah meluangkan {0} secara keseluruhan.",timerLimitAll:"Anda telah meluangkan {0} daripada {1} pada halaman ini dan {2} daripada {3} secara keseluruhan.",timerLimitPage:"Anda telah meluangkan {0} daripada {1} pada halaman ini.",timerLimitSurvey:"Anda telah meluangkan {0} daripada {1} secara keseluruhan.",clearCaption:"Kosongkan",signaturePlaceHolder:"Tandatangan di sini",signaturePlaceHolderReadOnly:"Tiada tandatangan",chooseFileCaption:"Pilih fail",takePhotoCaption:"Ambil gambar",photoPlaceholder:"Klik butang di bawah untuk mengambil gambar menggunakan kamera.",fileOrPhotoPlaceholder:"Seret dan lepas atau pilih fail untuk memuat naik atau mengambil foto menggunakan kamera.",replaceFileCaption:"Gantikan fail",removeFileCaption:"Alih keluar fail ini",booleanCheckedLabel:"Ya",booleanUncheckedLabel:"Tidak",confirmRemoveFile:"Anda pasti ingin mengalih keluar fail ini: {0}?",confirmRemoveAllFiles:"Anda pasti ingin mengalih keluar semua fail?",questionTitlePatternText:"Tajuk Soalan",modalCancelButtonText:"Batal",modalApplyButtonText:"Guna",filterStringPlaceholder:"Taip untuk membuat carian...",emptyMessage:"Tiada data untuk dipaparkan",noEntriesText:"Belum ada entri.\nKlik butang di bawah untuk menambahkan entri.",noEntriesReadonlyText:"Tiada penyertaan.",tabTitlePlaceholder:"Panel Baru",more:"Lebih banyak",tagboxDoneButtonCaption:"OK",selectToRankEmptyRankedAreaText:"Semua pilihan disenaraikan",selectToRankEmptyUnrankedAreaText:"Seret dan lepaskan pilihan di sini untuk meletakkannya",ok:"OK",cancel:"Batal"},nativeName:"melayu",englishName:"Malay"});m({localeCode:"no",strings:{pagePrevText:"Forrige",pageNextText:"Neste",completeText:"Fullfør",previewText:"ForhÃ¥ndsvisning",editText:"Redigere",startSurveyText:"Start",otherItemText:"Annet (beskriv)",noneItemText:"Ingen",refuseItemText:"Nekter Ã¥ svare",dontKnowItemText:"Vet ikke",selectAllItemText:"Velg alle",deselectAllItemText:"Fjern merket for alle",progressText:"Side {0} av {1}",indexText:"{0} av {1}",panelDynamicProgressText:"Ta opp {0} av {1}",panelDynamicTabTextFormat:"Panel {panelIndex}",questionsProgressText:"Besvarte {0} / {1} spørsmÃ¥l",emptySurvey:"Det er ingen synlig side eller spørsmÃ¥l i undersøkelsen.",completingSurvey:"Takk for at du fullførte undersøkelsen!",completingSurveyBefore:"VÃ¥re data viser at du allerede har gjennomført denne undersøkelsen.",loadingSurvey:"Undersøkelsen laster...",placeholder:"Velg...",ratingOptionsCaption:"Velge...",value:"verdi",requiredError:"Vennligst svar pÃ¥ spørsmÃ¥let.",requiredErrorInPanel:"Vennligst svar pÃ¥ minst ett spørsmÃ¥l.",requiredInAllRowsError:"Vennligst svar pÃ¥ spørsmÃ¥l i alle rader.",eachRowUniqueError:"Hver rad mÃ¥ ha en unik verdi.",numericError:"Verdien skal være numerisk.",minError:"Verdien bør ikke være mindre enn {0}",maxError:"Verdien bør ikke være større enn {0}",textNoDigitsAllow:"Tall er ikke tillatt.",textMinLength:"Vennligst skriv inn minst {0} tegn.",textMaxLength:"Vennligst skriv inn mindre enn {0} tegn.",textMinMaxLength:"Vennligst skriv inn mer enn {0} og mindre enn {1} tegn.",minRowCountError:"Vennligst fyll inn minst {0} rader.",minSelectError:"Vennligst velg minst {0} varianter.",maxSelectError:"Vennligst ikke velg mer enn {0} varianter.",numericMinMax:"'{0}' bør være lik eller mer enn {1} og lik eller mindre enn {2}",numericMin:"'{0}' bør være lik eller mer enn {1}",numericMax:"'{0}' bør være lik eller mindre enn {1}
vendor: 2,830 bytes, line 16
16",invalidEmail:"Vennligst skriv inn en gyldig e-post adresse.",invalidExpression:"Uttrykket: {0} skal returnere 'sant'.",urlRequestError:"Forespørselen returnerte feilen '{0}'. {1}",urlGetChoicesError:"Forespørselen returnerte tomme data, eller 'sti' -egenskapen er feil",exceedMaxSize:"Filstørrelsen bør ikke overstige {0}.",noUploadFilesHandler:"Filer kan ikke lastes opp. Legg til et behandlingsprogram for onUploadFiles-hendelsen.",otherRequiredError:"Vennligst skriv inn den andre verdien.",uploadingFile:"Filen din lastes opp. Vennligst vent noen sekunder og prøv igjen.",loadingFile:"Laster inn ...",chooseFile:"Velg fil (er) ...",noFileChosen:"Ingen fil valgt",filePlaceholder:"Dra og slipp en fil her, eller klikk pÃ¥ knappen nedenfor og velg en fil du vil laste opp.",confirmDelete:"Ãnsker du Ã¥ slette posten?",keyDuplicationError:"Denne verdien skal være unik.",addColumn:"Legg til kolonne",addRow:"Legg til rad",removeRow:"Fjern",emptyRowsText:"Det er ingen rader.",addPanel:"Legg til ny",removePanel:"Fjerne",showDetails:"Vis detaljer",hideDetails:"Skjul detaljer",choices_Item:"element",matrix_column:"Kolonne",matrix_row:"Rad",multipletext_itemname:"Tekst",savingData:"Resultatene lagres pÃ¥ serveren ...",savingDataError:"Det oppsto en feil, og vi kunne ikke lagre resultatene.",savingDataSuccess:"Resultatene ble lagret!",savingExceedSize:"Svaret ditt overstiger 64 kB. Reduser størrelsen pÃ¥ filen(e) din(e), og prøv pÃ¥ nytt, eller kontakt eieren av en spørreundersøkelse.",saveAgainButton:"Prøv igjen",timerMin:"min",timerSec:"sek",timerSpentAll:"Du har tilbrakt {0} pÃ¥ denne siden og {1} totalt.",timerSpentPage:"Du har tilbrakt {0} pÃ¥ denne siden.",timerSpentSurvey:"Du har tilbrakt {0} totalt.",timerLimitAll:"Du har tilbrakt {0} av {1} pÃ¥ denne siden og totalt {2} av {3}.",timerLimitPage:"Du har tilbrakt {0} av {1} pÃ¥ denne siden.",timerLimitSurvey:"Du har tilbrakt {0} av {1} totalt.",clearCaption:"Klar",signaturePlaceHolder:"Logg inn her",signaturePlaceHolderReadOnly:"Ingen signatur",chooseFileCaption:"Velg Fil",takePhotoCaption:"Ta bilde",photoPlaceholder:"Klikk pÃ¥ knappen nedenfor for Ã¥ ta et bilde med kameraet.",fileOrPhotoPlaceholder:"Dra og slipp eller velg en fil for Ã¥ laste opp eller ta et bilde med kameraet.",replaceFileCaption:"Erstatt fil",removeFileCaption:"Fjern denne filen",booleanCheckedLabel:"Ja",booleanUncheckedLabel:"Nei",confirmRemoveFile:"Er du sikker pÃ¥ at du vil fjerne denne filen: {0}?",confirmRemoveAllFiles:"Er du sikker pÃ¥ at du vil fjerne alle filene?",questionTitlePatternText:"SpørsmÃ¥lstittel",modalCancelButtonText:"Annullere",modalApplyButtonText:"Bruke",filterStringPlaceholder:"Skriv for Ã¥ søke ...",emptyMessage:"Ingen data Ã¥ vise",noEntriesText:"Det er ingen oppføringer ennÃ¥.\nKlikk pÃ¥ knappen nedenfor for Ã¥ legge til en ny o
vendor: 30,933 bytes, line 16
16ppføring.",noEntriesReadonlyText:"Det er ingen oppføringer.",tabTitlePlaceholder:"Nytt panel",more:"Mer",tagboxDoneButtonCaption:"OK",selectToRankEmptyRankedAreaText:"Alle valg er rangert",selectToRankEmptyUnrankedAreaText:"Dra og slipp valg her for Ã¥ rangere dem",ok:"OK",cancel:"Annullere"},nativeName:"norsk",englishName:"Norwegian"});m({localeCode:"fa",strings:{pagePrevText:"ÙØ¨ÙÛ",pageNextText:"بعدÛ",completeText:"تکÙ
ÛÙ",previewText:"Ù¾ÛØ´ ÙÙ
Ø§ÛØ´",editText:"ÙÛØ±Ø§ÛØ´",startSurveyText:"Ø´Ø±ÙØ¹",otherItemText:"دÛگر(ØªÙØ¶ÛØ)",noneItemText:"ÙÛÚ",refuseItemText:"اÙ
ØªÙØ§Ø¹ از پاسخ دادÙ",dontKnowItemText:"ÙÙ
Û Ø¯Ø§ÙÙ
",selectAllItemText:"Ø§ÙØªØ®Ø§Ø¨ ÙÙ
Ù",deselectAllItemText:"ÙØºÙ Ø§ÙØªØ®Ø§Ø¨ ÙÙ
Ù",progressText:"ØµÙØÙ {0} از {1}",indexText:"{0} {1}",panelDynamicProgressText:"Ù
ÙØ±Ø¯ {0} از {1}",panelDynamicTabTextFormat:"Ù¾ÙÙ {panelIndex}",questionsProgressText:"تعداد پاسخ {0}/{1} Ø³ÙØ§Ù",emptySurvey:"ØµÙØÙ Ø§Û ÛØ§ گزÛÙÙ Ø§Û Ø¨Ø±Ø§Û Ø§ÛÙ Ù¾Ø±Ø³Ø´ÙØ§Ù
Ù Ù
ÙØ¬Ùد ÙÛØ³Øª.",completingSurvey:"از Ø´Ù
ا بابت تکÙ
Û٠اÛÙ Ù¾Ø±Ø³Ø´ÙØ§Ù
Ù Ù
تشکرÛÙ
",completingSurveyBefore:"Ø¨Ù ÙØ¸Ø± Ù
Û Ø±Ø³Ø¯ ÙÙ
ÙÙ
اکÙÙÙ Ù¾Ø±Ø³Ø´ÙØ§Ù
٠را تکÙ
ÛÙ Ú©Ø±Ø¯Ù Ø§ÛØ¯.",loadingSurvey:"Ø¯Ø±ØØ§Ù Ø§ÛØ¬Ø§Ø¯ Ù¾Ø±Ø³Ø´ÙØ§Ù
Ù",placeholder:"Ø§ÙØªØ®Ø§Ø¨ Ú©ÙÛØ¯...",ratingOptionsCaption:"Ø§ÙØªØ®Ø§Ø¨...",value:"Ù
ÙØ¯Ø§Ø±",requiredError:"ÙØ·Ùا Ø¨Ù Ø³ÙØ§Ù پاسخ دÙÛØ¯",requiredErrorInPanel:"ÙØ·Ùا ØØ¯Ø§Ù٠ب٠ÛÚ© Ø³ÙØ§Ù پاسخ دÙÛØ¯.",requiredInAllRowsError:"ÙØ·Ùا Ø³ÙØ§Ùات تÙ
اÙ
Ø³Ø·Ø±ÙØ§ را پاسخ دÙÛØ¯.",eachRowUniqueError:"ÙØ± سطر Ø¨Ø§ÛØ¯ ÛÚ© Ù
ÙØ¯Ø§Ø± Ù
ÙØØµØ± Ø¨Ù ÙØ±Ø¯ داشت٠باشد.",numericError:"Ù
ÙØ¯Ø§Ø± Ø¨Ø§ÛØ¯ Ø¹Ø¯Ø¯Û Ø¨Ø§Ø´Ø¯",minError:"ارزش ÙØ¨Ø§Ûد Ú©Ù
تر از {0}",maxError:"ارزش ÙØ¨Ø§Ûد Ø¨ÛØ´ØªØ± از {0}",textNoDigitsAllow:"Ø´Ù
Ø§Ø±Ù ÙØ§ Ù
جاز ÙÛØ³ØªÙد.",textMinLength:"ÙØ·Ùا ØØ¯Ø§ÙÙ {0} ØØ±Ù ÙØ§Ø±Ø¯ Ú©ÙÛØ¯",textMaxLength:"ÙØ·Ùا Ú©Ù
تر از {0} ØØ±Ù ÙØ§Ø±Ø¯ Ú©ÙÛØ¯.",textMinMaxLength:"ÙØ·Ùا Ø¨ÛØ´ØªØ± از {0} ØØ±Ù Ù Ú©Ù
تر از {1} ØØ±Ù ÙØ§Ø±Ø¯ Ú©ÙÛØ¯.",minRowCountError:"ÙØ·Ùا ØØ¯Ø§ÙÙ {0} سطر ÙØ§Ø±Ø¯ Ú©ÙÛØ¯.",minSelectError:"ØØ¯Ø§ÙÙ {0} Ø§ÙØªØ®Ø§Ø¨ Ú©ÙÛØ¯.",maxSelectError:"ÙØ·Ùا Ø¨ÛØ´ØªØ± از {0} Ø§ÙØªØ®Ø§Ø¨ Ú©ÙÛØ¯.",numericMinMax:"'{0}' Ø¨Ø§ÛØ¯ بÛÙ {1} Ù {2} باشد",numericMin:"'{0}' بزرگتر Ù
ساÙÛ {1} باشد",numericMax:"'{0}' Ø¨Ø§ÛØ¯ Ú©ÙÚکتر ÛØ§ Ù
ساÙÛ {1} باشد",invalidEmail:"ÙØ·Ùا اÛÙ
Û٠صØÛØ Ø¯Ø±Ø¬ Ú©ÙÛØ¯",invalidExpression:"عبارت: {0} پاسخ Ø¨Ø§ÛØ¯ 'true' باشد.",urlRequestError:"Ø¯Ø±Ø®ÙØ§Ø³Øª با خطا Ø±ÙØ¨Ø±Ù شد: '{0}'. {1}",urlGetChoicesError:"Ø¯Ø±Ø®ÙØ§Ø³Øª Ù
Ø³ÛØ±Û خاÙÛ Ø¨Ø§Ø²Ú¯Ø´Øª Ø¯Ø§Ø¯Ù ÛØ§ Ù
Ø³ÛØ± درست ØªÙØ¸ÛÙ
ÙØ´Ø¯Ù",exceedMaxSize:"Ø¨ÛØ´ØªØ±ÛÙ ØØ¬Ù
Ù
جاز ÙØ§ÛÙ: {0}",noUploadFilesHandler:'پرÙÙØ¯ÙÙØ§ را ÙÙ
ÛØªÙØ§Ù Ø¨Ø§Ø±Ú¯Ø°Ø§Ø±Û Ú©Ø±Ø¯. ÙØ·Ùا ÛÚ© گرداÙÙØ¯Ù Ø¨Ø±Ø§Û Ø±ÙÛØ¯Ø§Ø¯ "onUploadFiles" اضاÙÙ Ú©ÙÛØ¯.',otherRequiredError:"Ù
ÙØ¯Ø§Ø± 'دÛگر' را ÙØ§Ø±Ø¯ Ú©ÙÛØ¯",uploadingFile:"ÙØ§Û٠در ØØ§Ù Ø¢ÛÙÙØ¯ است. ÙØ·Ùا صبر Ú©ÙÛØ¯.",loadingFile:"Ø¨Ø§Ø±Ú¯ÛØ±Û...",chooseFile:"Ø§ÙØªØ®Ø§Ø¨ ÙØ§ÛÙ(ÙØ§)...",noFileChosen:"ÙÛÚ ÙØ§ÛÙÛ Ø§ÙØªØ®Ø§Ø¨ ÙØ´Ø¯Ù",filePlaceholder:"Ú©Ø´ÛØ¯Ù Ù Ø±ÙØ§ کرد٠ÛÚ© ÙØ§Û٠در اÛÙØ¬Ø§ Ù ÛØ§ Ú©ÙÛÚ© بر رÙÛ Ø¯Ú©Ù
Ù Ø²ÛØ± Ù ÛÚ© ÙØ§ÛÙ Ø¨Ø±Ø§Û Ø§Ù¾ÙÙØ¯ را Ø§ÙØªØ®Ø§Ø¨ Ú©ÙÛØ¯.",confirmDelete:"Ø¢ÛØ§ Ù
اÛÙ Ø¨Ù ØØ°Ù اÛ٠ردÛÙ ÙØ³ØªÛدØ",keyDuplicationError:"اÛÙ Ù
ÙØ¯Ø§Ø± Ø¨Ø§ÛØ¯ ØºÛØ± ØªÚ©Ø±Ø§Ø±Û Ø¨Ø§Ø´Ø¯",addColumn:"ستÙÙ Ø¬Ø¯ÛØ¯",addRow:"سطر Ø¬Ø¯ÛØ¯",removeRow:"ØØ°Ù",emptyRowsText:"ÙÛÚ Ø±Ø¯ÛÙÛ ÙØ¬Ùد ÙØ¯Ø§Ø±Ø¯.",addPanel:"Ø¬Ø¯ÛØ¯",removePanel:"ØØ°Ù",showDetails:"ÙÙ
Ø§ÛØ´ Ø¬Ø²Ø¦ÛØ§Øª",hideDetails:"Ù
Ø®ÙÛ Ú©Ø±Ø¯Ù Ø¬Ø²Ø¦ÛØ§Øª",choices_Item:"Ø¢ÛØªÙ
",matrix_column:"ستÙÙ",matrix_row:"سطر",multipletext_itemname:"Ù¾ÛØ§Ù
Ú©",savingData:"ÙØªØ§Ûج در ØØ§Ù Ø°Ø®ÛØ±Ù Ø³Ø§Ø²Û Ø¯Ø± Ø³Ø±ÙØ± است",savingDataError:"خطاÛÛ Ø¯Ø± Ø°Ø®ÛØ±Ù Ø³Ø§Ø²Û ÙØªØ§Ûج رخ داد٠است",savingDataSuccess:"ÙØªØ§Ûج با Ù
ÙÙÙÛØª Ø°Ø®ÛØ±Ù شد",savingExceedSize:"پاسخ Ø´Ù
ا Ø¨ÛØ´ از 64KB است. ÙØ·Ùا Ø§ÙØ¯Ø§Ø²Ù ÙØ§ÛÙ(ÙØ§Û) Ø®ÙØ¯ را Ú©Ø§ÙØ´ دÙÛØ¯ Ù Ø¯ÙØ¨Ø§Ø±Ù ØªÙØ§Ø´ Ú©ÙÛØ¯ ÛØ§ با ØµØ§ØØ¨ ÙØ¸Ø±Ø³ÙØ¬Û ØªÙ
اس Ø¨Ú¯ÛØ±Ûد.",saveAgainButton:"Ù
جدد ØªÙØ§Ø´ Ú©ÙÛØ¯",timerMin:"دÙÛÙÙ",timerSec:"ثاÙÛÙ",timerSpentAll:"Ø´Ù
ا Ù
دت {0} در اÛÙ ØµÙØÙ Ù Ù
دت {1} را در Ù
جÙ
ÙØ¹ Ø³Ù¾Ø±Û Ú©Ø±Ø¯Ù Ø§ÛØ¯.",timerSpentPage:"Ø´Ù
ا Ù
دت {0} را در اÛÙ ØµÙØÙ Ø³Ù¾Ø±Û Ú©Ø±Ø¯Ù Ø§ÛØ¯.",timerSpentSurvey:"Ø´Ù
ا Ù
دت {0} را در Ù
جÙ
ÙØ¹ Ø³Ù¾Ø±Û Ú©Ø±Ø¯Ù Ø§ÛØ¯.",timerLimitAll:"Ø´Ù
ا Ù
دت {0} از {1} در اÛÙ ØµÙØÙ Ù Ù
دت {2} از {3} را در Ù
جÙ
ÙØ¹ Ø³Ù¾Ø±Û Ú©Ø±Ø¯Ù Ø§ÛØ¯.",timerLimitPage:"Ø´Ù
ا Ù
دت {0} از {1} را در اÛÙ ØµÙØÙ Ø³Ù¾Ø±Û Ú©Ø±Ø¯Ù Ø§ÛØ¯.",timerLimitSurvey:"Ø´Ù
ا Ù
دت {0} از {1} را در Ù
جÙ
ÙØ¹ Ø³Ù¾Ø±Û Ú©Ø±Ø¯Ù Ø§ÛØ¯.",clearCaption:"خاÙÛ Ú©Ø±Ø¯Ù",signaturePlaceHolder:"اÛÙØ¬Ø§ را اÙ
ضا Ú©ÙÛØ¯",signaturePlaceHolderReadOnly:"بدÙ٠اÙ
ضا",chooseFileCaption:"Ø§ÙØªØ®Ø§Ø¨ ÙØ§ÛÙ",takePhotoCaption:"Ú¯Ø±ÙØªÙ عکس",photoPlaceholder:"رÙÛ Ø¯Ú©Ù
Ù Ø²ÛØ± Ú©ÙÛÚ© Ú©ÙÛØ¯ تا با Ø§Ø³ØªÙØ§Ø¯Ù از Ø¯ÙØ±Ø¨Û٠عکس Ø¨Ú¯ÛØ±Ûد.",fileOrPhotoPlaceholder:"Ú©Ø´ÛØ¯Ù Ù Ø±ÙØ§ Ú©Ø±Ø¯Ù ÛØ§ Ø§ÙØªØ®Ø§Ø¨ ÛÚ© ÙØ§ÛÙ Ø¨Ø±Ø§Û Ø§Ù¾ÙÙØ¯ ÛØ§ Ú¯Ø±ÙØªÙ عکس با Ø§Ø³ØªÙØ§Ø¯Ù از Ø¯ÙØ±Ø¨ÛÙ.",replaceFileCaption:"جاÛگزÛÙÛ Ù¾Ø±ÙÙØ¯Ù",removeFileCaption:"ØØ°Ù اÛÙ ÙØ§ÛÙ",booleanCheckedLabel:"بÙÙ",booleanUncheckedLabel:"Ø®ÛØ±",confirmRemoveFile:"Ø¢ÛØ§ Ù
ÛØ®ÙاÙÛØ¯ اÛÙ ÙØ§Û٠را پاک Ú©ÙÛØ¯: {0}?",confirmRemoveAllFiles:"Ø¢ÛØ§ Ù
ÛØ®ÙاÙÛØ¯ تÙ
اÙ
ÙØ§ÛÙ ÙØ§ را پاک Ú©ÙÛØ¯?",questionTitlePatternText:"عÙÙØ§Ù Ø³ÙØ§Ù",modalCancelButtonText:"ÙØºÙ",modalApplyButtonText:"Ø¯Ø±Ø®ÙØ§Ø³Øª",filterStringPlaceholder:"تاÛÙ¾ Ø¨Ø±Ø§Û Ø¬Ø³ØªØ¬Ù...",emptyMessage:"Ø¯Ø§Ø¯Ù Ø§Û Ø¨Ø±Ø§Û ÙÙ
Ø§ÛØ´ ÙØ¬Ùد ÙØ¯Ø§Ø±Ø¯",noEntriesText:"ÙÙÙØ² ÙÛÚ ÙØ±ÙØ¯Û ÙØ¬Ùد ÙØ¯Ø§Ø±Ø¯.\nرÙÛ Ø¯Ú©Ù
Ù Ø²ÛØ± Ú©ÙÛÚ© Ú©ÙÛØ¯ تا ÛÚ© ÙØ±ÙØ¯Û Ø¬Ø¯ÛØ¯ اضاÙÙ Ø´ÙØ¯.",noEntriesReadonlyText:"ÙÛÚ ÙØ±ÙØ¯Û ÙØ¬Ùد ÙØ¯Ø§Ø±Ø¯.",tabTitlePlaceholder:"Ù¾ÙÙ Ø¬Ø¯ÛØ¯",more:"Ø¨ÛØ´ØªØ±",tagboxDoneButtonCaption:"باشÙ",selectToRankEmptyRankedAreaText:"ÙÙ
Ù Ø§ÙØªØ®Ø§Ø¨ ÙØ§ Ø±ØªØ¨Ù Ø¨ÙØ¯Û Ù
Û Ø´ÙÙØ¯",selectToRankEmptyUnrankedAreaText:"Ø§ÙØªØ®Ø§Ø¨ ÙØ§Û Ú©Ø´ÛØ¯Ù Ù Ø±ÙØ§ کرد٠در اÛÙØ¬Ø§ Ø¨Ø±Ø§Û Ø±ØªØ¨Ù Ø¨ÙØ¯Û اÙÙØ§",ok:"باشÙ",cancel:"ÙØºÙ"},nativeName:"ÙØ§Ø±ÙسÙÙ",englishName:"Persian",rtl:!0});m({localeCode:"pl",strings:{pagePrevText:"Wstecz",pageNextText:"Dalej",completeText:"Gotowe",previewText:"Premiera",editText:"Edycja",startSurveyText:"Start",otherItemText:"Inna odpowiedź (wpisz)",noneItemText:"Brak",refuseItemText:"Odmów odpowiedzi",dontKnowItemText:"Nie wiem",selectAllItemText:"Wybierz wszystkie",deselectAllItemText:"Odznacz wszystko",progressText:"Strona {0} z {1}",indexText:"{0} od {1}",panelDynamicProgressText:"Zapis {0} z {1}",panelDynamicTabTextFormat:"Panel {panelIndex}",questionsProgressText:"Odpowiedzi na {0}/{1} pytania",emptySurvey:"Nie ma widocznych pytaÅ.",completingSurvey:"DziÄkujemy za wypeÅnienie ankiety!",completingSurveyBefore:"Z naszych zapisów wynika, że wypeÅniÅeÅ już tÄ ankietÄ.",loadingSurvey:"Trwa wczytywanie ankiety...",placeholder:"Wybierz...",ratingOptionsCaption:"Kliknij tutaj, aby oceniÄ...",value:"WartoÅÄ",requiredError:"ProszÄ odpowiedzieÄ na to pytanie.",requiredErrorInPanel:"ProszÄ odpowiedzieÄ na co najmniej jedno pytanie.",requiredInAllRowsError:"ProszÄ odpowiedzieÄ na wszystkie pytania.",eachRowUniqueError:"Każdy wiersz musi mieÄ unikatowÄ
wartoÅÄ.",numericError:"W tym polu można wpisaÄ tylko liczby.",minError:"WartoÅÄ nie powinna byÄ mniejsza niż {0}",maxError:"WartoÅÄ nie powinna byÄ wiÄksza niż {0}",textNoDigitsAllow:"Liczby sÄ
niedozwolone.",textMinLength:"ProszÄ wpisaÄ co najmniej {0} znaków.",textMaxLength:"ProszÄ wpisaÄ mniej niż {0} znaków.",textMinMaxLength:"ProszÄ wpisaÄ wiÄcej niż {0} i mniej niż {1} znaków.",minRowCountError:"ProszÄ uzupeÅniÄ przynajmniej {0} wierszy.",minSelectError:"ProszÄ wybraÄ co najmniej {0} pozycji.",maxSelectError:"ProszÄ wybraÄ nie wiÄcej niż {0} pozycji.",numericMinMax:"Odpowiedź '{0}' powinna byÄ wiÄksza lub równa {1} oraz mniejsza lub równa {2}",numericMin:"Odpowiedź '{0}' powinna byÄ wiÄksza lub równa {1}",numericMax:"Odpowiedź '{0}' powinna byÄ mniejsza lub równa {1}",invalidEmail:"ProszÄ podaÄ prawidÅowy adres email.",invalidExpression:"Wyrażenie: {0} powinno wracaÄ 'prawdziwe'.",urlRequestError:"Å»Ä
danie zwróciÅo bÅÄ
d '{0}'. {1}",urlGetChoicesError:"Å»Ä
danie nie zwróciÅo danych albo Åcieżka jest nieprawidÅowa",exceedMaxSize:"Rozmiar przesÅanego pliku nie może przekraczaÄ {0}.",noUploadFilesHandler:'Nie można przesÅaÄ plików. Dodaj moduÅ obsÅugi zdarzenia "onUploadFiles".',otherRequiredError:"ProszÄ podaÄ innÄ
odpowiedź.",uploadingFile:"Trwa przenoszenie Twojego pliku, proszÄ spróbowaÄ ponownie za kilka sekund.",loadingFile:"Åadowanie...",chooseFile:"Wybierz plik(i)...",noFileChosen:"Nie wybrano żadnego pliku",filePlaceholder:"UpuÅÄ plik tutaj lub kliknij przycisk poniżej, aby zaÅadowaÄ plik.",confirmDelete:"Chcesz skasowaÄ nagranie?",keyDuplicationError:"Ta wartoÅÄ powinna byÄ wyjÄ
tkowa.",addColumn:"Dodaj kolumnÄ",addRow:"Dodaj wiersz",removeRow:"UsuÅ",emptyRowsText:"Nie ma rzÄdów.",addPanel:"Dodaj panel",removePanel:"UsuÅ",showDetails:"Pokaż szczegóÅy",hideDetails:"Ukryj szczegóÅy",choices_Item:"element",matrix_column:"Kolumna",matrix_row:"Wiersz",multipletext_itemname:"tekst",savingData:"ZapisujÄ wyniki ankiety na serwerze...",savingDataError:"WystÄ
piÅ bÅÄ
d i wyniki nie mogÅy zostaÄ zapisane.",savingDataSuccess:"Wyniki zostaÅy poprawnie zapisane!",savingExceedSize:"Twoja odpowiedź przekracza 64 KB. Zmniejsz rozmiar plików i spróbuj ponownie lub skontaktuj siÄ z wÅaÅcicielem ankiety.",saveAgainButton:"Spróbuj ponownie",timerMin:"min",timerSec:"sek",timerSpentAll:"SpÄdziÅeÅ {0} na tej stronie a w sumie {1}.",timerSpentPage:"SpÄdziÅeÅ {0} na tej stronie.",timerSpentSurvey:"SpÄdziÅeÅ w sumie {0}.",timerLimitAll:"SpÄdziÅeÅ {0} z {1} na tej stronie a w sumie {2} z {3}.",timerLimitPage:"SpÄdziÅeÅ {0} z {1} na tej stronie",timerLimitSurvey:"SpÄdziÅeÅ {0} z {1}.",clearCaption:"WyczyÅÄ",signaturePlaceHolder:"Podpisz tutaj",signaturePlaceHolderReadOnly:"Brak podpisu",chooseFileCaption:"Wybierz plik",takePhotoCaption:"Zrób zdjÄcie",photoPlaceholder:"Kliknij przycisk poniżej, aby zrobiÄ zdjÄcie aparatem.",fileOrPhotoPlaceholder:"PrzeciÄ
gnij i upuÅÄ lub wybierz plik, który chcesz przesÅaÄ lub zrobiÄ zdjÄcie za pomocÄ
aparatu.",replaceFileCaption:"ZastÄ
p plik",removeFileCaption:"UsuÅ ten plik",booleanCheckedLabel:"Tak",booleanUncheckedLabel:"Nie",confirmRemoveFile:"JesteÅ pewien, że chcesz usunÄ
Ä ten plik: {0}?",confirmRemoveAllFiles:"JesteÅ pewien, że chcesz usunÄ
Ä wszystkie pliki?",questionTitlePatternText:"TytuÅ pytania",modalCancelButtonText:"AnulowaÄ",modalApplyButtonText:"ZastosowaÄ",filterStringPlaceholder:"Wpisz aby wyszukaÄ...",emptyMessage:"Brak danych do wyÅwietlenia",noEntriesText:"Nie ma jeszcze wpisów.\nKliknij przycisk poniżej, aby dodaÄ nowy wpis.",noEntriesReadonlyText:"Brak wpisów.",tabTitlePlaceholder:"Nowy panel",more:"WiÄcej",tagboxDoneButtonCaption:"OK",selectToRankEmptyRankedAreaText:"Wszystkie wybory sÄ
uszeregowane",selectToRankEmptyUnrankedAreaText:"PrzeciÄ
gnij i upuÅÄ tutaj wybory, aby je uszeregowaÄ",ok:"OK",cancel:"Anuluj"},nativeName:"polski",englishName:"Polish"});m({localeCode:"pt",strings:{pagePrevText:"Anterior",pageNextText:"Próximo",completeText:"Finalizar",previewText:"Pré-visualização",editText:"Editar",startSurveyText:"Começar",otherItemText:"Outros (descrever)",noneItemText:"Nenhum",refuseItemText:"Recusar-se a responder",dontKnowItemText:"Não sei",selectAllItemText:"Selecionar Todos",deselectAllItemText:"Desmarcar tudo",progressText:"Página {0} de {1}",indexText:"{0} de {1}",panelDynamicProgressText:"Registo {0} de {1}",panelDynamicTabTextFormat:"Painel {panelIndex}",questionsProgressText:"Respostas {0}/{1} perguntas",emptySurvey:"Não há página visÃvel ou pergunta no questionário.",completingSurvey:"Obrigado por finalizar o questionário!",completingSurveyBefore:"Os nossos registos mostram que já finalizou o questionário.",loadingSurvey:"O questionário está a carregar...",placeholder:"Selecione...",ratingOptionsCaption:"Selecione aqui para avaliar...",value:"valor",requiredError:"Por favor, responda à pergunta.",requiredErrorInPanel:"Por favor, responda pelo menos a uma pergunta.",requiredInAllRowsError:"Por favor, responda à s perguntas em todas as linhas.",eachRowUniqueError:"Cada linha deve ter um valor exclusivo.",numericError:"O valor deve ser numérico.",minError:"O valor não deverá ser menor que {0}",maxError:"O valor não deverá ser maior que {0}",textNoDigitsAllow:"Números não são permitidos.",textMinLength:"Por favor, insira pelo menos {0} caracteres.",textMaxLength:"Por favor, insira menos de {0} caracteres.",textMinMaxLength:"Por favor, insira mais de {0} e menos de {1} caracteres.",minRowCountError:"Preencha pelo menos {0} linhas.",minSelectError:"Selecione pelo menos {0} opções.",maxSelectError:"Por favor, selecione no máximo {0} opções.",numericMinMax:"O '{0}' deve ser igual ou superior a {1} e igual ou menor que {2}",numericMin:"O '{0}' deve ser igual ou superior a {1}",numericMax:"O '{0}' deve ser igual ou inferior a {1}",invalidEmail:"Por favor, insira um e-mail válido.",invalidExpression:"A expressão: {0} deve retornar 'verdadeiro'.",urlRequestError:"O pedido retornou o erro '{0}'. {1}",urlGetChoicesError:"O pedido não retornou dados ou o 'caminho' do pedido não está correto",exceedMaxSize:"O tamanho do arquivo não deve exceder {0}.",noUploadFilesHandler:"Os arquivos não podem ser carregados. Adicione um manipulador para o evento 'onUploadFiles'.",otherRequiredError:"Por favor, insira o outro valor.",uploadingFile:"O seu ficheiro está a carregar. Por favor, aguarde alguns segundos e tente novamente.",loadingFile:"A carregar...",chooseFile:"Selecione o(s) arquivo(s)...",noFileChosen:"Nenhum ficheiro escolhido",filePlaceholder:"Arraste um ficheiro aqui ou clique no botão abaixo para carregar o ficheiro.",confirmDelete:"Tem a certeza que deseja apagar?",keyDuplicationError:"Este valor deve ser único.",addColumn:"Adicionar coluna",addRow:"Adicionar linha",removeRow:"Remover linha",emptyRowsText:"Não existem linhas.",addPanel:"Adicionar novo",removePanel:"Remover",showDetails:"Mostrar detalhes",hideDetails:"Ocultar detalhes",choices_Item:"item",matrix_column:"Coluna",matrix_row:"Linha",multipletext_itemname:"texto",savingData:"Os resultados estão a ser guardados no servidor...",savingDataError:"Ocorreu um erro e não foi possÃvel guardar os resultados.",savingDataSuccess:"Os resultados foram guardados com sucesso!",savingExceedSize:"Sua resposta excede 64KB. Reduza o tamanho do(s) seu(s) arquivo(s) e tente novamente ou entre em contato com o proprietário do questionário.",saveAgainButton:"Tente novamente",timerMin:"min",timerSec:"seg",timerSpentAll:"Você gastou {0} nesta página e {1} no total.",timerSpentPage:"Você gastou {0} nesta página.",timerSpentSurvey:"Você gastou {0} no total.",timerLimitAll:"Você gastou {0} de {1} nesta página e {2} de {3} no total.",timerLimitPage:"Você gastou {0} de {1} nesta página.",timerLimitSurvey:"Você gastou {0} de {1} no total.",clearCaption:"Limpar",signaturePlaceHolder:"Assine aqui",signaturePlaceHolderReadOnly:"Sem assinatura",chooseFileCaption:"Escolher ficheiro",takePhotoCaption:"Tirar foto",photoPlaceholder:"Clique no botão abaixo para tirar uma foto usando a câmera.",fileOrPhotoPlaceholder:"Arraste e solte ou selecione um arquivo para carregar ou tirar uma foto usando a câmera.",replaceFileCaption:"Substituir arquivo",removeFileCaption:"Remover este ficheiro",booleanCheckedLabel:"Sim",booleanUncheckedLabel:"Não",confirmRemoveFile:"Tem a certeza que deseja remover este ficheiro: {0}?",confirmRemoveAllFiles:"Tem a certeza que deseja remover todos os ficheiros?",questionTitlePatternText:"TÃtulo da questão",modalCancelButtonText:"Cancelar",modalApplyButtonText:"Aplicar",filterStringPlaceholder:"Digite para pesquisar...",emptyMessage:"Não existe informação a mostrar",noEntriesText:"Ainda não existem registos.\nClique no botão abaixo para adicionar um novo registo.",noEntriesReadonlyText:"Não há entradas.",tabTitlePlaceholder:"Novo Painel",more:"Mais",tagboxDoneButtonCaption:"Terminado",selectToRankEmptyRankedAreaText:"Todas as opções são classificadas",selectToRankEmptyUnrankedAreaText:"Arraste e solte as opções aqui para classificá-las",ok:"OKEY",cancel:"Cancelar"},nativeName:"português",englishName:"Portuguese"});m({localeCode:"pt-br",strings:{pagePrevText:"Anterior",pageNextText:"Próximo",completeText:"Completar",previewText:"Visualizar",editText:"Editar",startSurveyText:"Começar",otherItemText:"Outros (descrever)",noneItemText:"Nenhum",refuseItemText:"Recusar-se a responder",dontKnowItemText:"Não sei",selectAllItemText:"Selecionar tudo",deselectAllItemText:"Desmarcar tudo",progressText:"Página {0} de {1}",indexText:"{0} de {1}",panelDynamicProgressText:"{0} de {1}",panelDynamicTabTextFormat:"Painel {panelIndex}",questionsProgressText:"Perguntas respondidas {0}/{1}",emptySurvey:"Não há página visÃvel ou pergunta na pesquisa.",completingSurvey:"Obrigado por finalizar a pesquisa!",completingSurveyBefore:"Nossos registros mostram que você já finalizou a pesquisa.",loadingSurvey:"A pesquisa está carregando...",placeholder:"Selecionar...",ratingOptionsCaption:"Selecionar...",value:"valor",requiredError:"Por favor, responda a pergunta.",requiredErrorInPanel:"Por favor, responda pelo menos uma pergunta.",requiredInAllRowsError:"Por favor, responda as perguntas em todas as linhas.",eachRowUniqueError:"Cada linha deve ter um valor exclusivo.",numericError:"O valor deve ser numérico.",minError:"O valor não deve ser inferior a {0}",maxError:"O valor não deve ser maior que {0}",textNoDigitsAllow:"Números não são permitidos.",textMinLength:"Introduza pelo menos {0} caractere(s).",textMaxLength:"Introduza no máximo {0} caractere(s).",textMinMaxLength:"Insira pelo menos {0} e não mais do que {1} caracteres.",minRowCountError:"Por favor, preencha pelo menos {0} linha(s).",minSelectError:"Selecione pelo menos {0} variante(s).",maxSelectError:"Por favor, selecione não mais do que {0} opções.",numericMinMax:'O "{0}" deve ser pelo menos {1} e no máximo {2}',numericMin:'O "{0}" deve ser pelo menos {1}',numericMax:'O "{0}" deve ser no máximo {1}',invalidEmail:"Por favor, informe um e-mail válido.",invalidExpression:"A expressão: {0} deve retornar 'verdadeiro'.",urlRequestError:"A requisição retornou o erro '{0}'. {1}",urlGetChoicesError:"A requisição não retornou dados ou o 'caminho' da requisição não está correto",exceedMaxSize:"O tamanho do arquivo não deve exceder {0}.",noUploadFilesHandler:"Os arquivos não podem ser carregados. Adicione um manipulador para o evento 'onUploadFiles'.",otherRequiredError:"Por favor, informe o outro valor.",uploadingFile:"Seu arquivo está sendo carregado. Por favor, aguarde alguns segundos e tente novamente.",loadingFile:"Carregando...",chooseFile:"Escolha o(s) arquivo(s)...",noFileChosen:"Nenhum arquivo escolhido",filePlaceholder:"Arraste e solte um arquivo aqui ou clique no botão abaixo e escolha um arquivo para carregar.",confirmDelete:"Tem certeza que deseja deletar?",keyDuplicationError:"Esse valor deve ser único.",addColumn:"Adicionar coluna",addRow:"Adicionar linha",removeRow:"Retirar",emptyRowsText:"Não há filas.",addPanel:"Adicionar novo",removePanel:"Retirar",showDetails:"Mostrar detalhes",hideDetails:"Ocultar detalhes",choices_Item:"item",matrix_column:"Coluna",matrix_row:"Remar",multipletext_itemname:"Texto",savingData:"Os resultados esto sendo salvos no servidor...",savingDataError:"Ocorreu um erro e não foi possÃvel salvar os resultados.",savingDataSuccess:"Os resultados foram salvos com sucesso!",savingExceedSize:"Sua resposta excede 64KB. Reduza o tamanho do(s) seu(s) arquivo(s) e tente novamente ou entre em contato com o proprietário do questionário.",saveAgainButton:"Tentar novamente",timerMin:"Min",timerSec:"segundo",timerSpentAll:"Você gastou {0} nesta página e {1} no total.",timerSpentPage:"Você passou {0} nesta página.",timerSpentSurvey:"Gastou {0} no total.",timerLimitAll:"Você gastou {0} de {1} nesta página e {2} de {3} no total.",timerLimitPage:"Você gastou {0} de {1} nesta página.",timerLimitSurvey:"Gastou {0} de {1} no total.",clearCaption:"Claro",signaturePlaceHolder:"Assine aqui",signaturePlaceHolderReadOnly:"Sem assinatura",chooseFileCaption:"Escolher arquivo",takePhotoCaption:"Tirar foto",photoPlaceholder:"Clique no botão abaixo para tirar uma foto usando a câmera.",fileOrPhotoPlaceholder:"Arraste e solte ou selecione um arquivo para carregar ou tirar uma foto usando a câmera.",replaceFileCaption:"Substituir arquivo",removeFileCaption:"Remover este arquivo",booleanCheckedLabel:"Sim",booleanUncheckedLabel:"Não",confirmRemoveFile:"Tem certeza que deseja remover este arquivo: {0}?",confirmRemoveAllFiles:"Tem certeza que deseja remover todos os arquivos?",questionTitlePatternText:"TÃtulo da pergunta",modalCancelButtonText:"Cancelar",modalApplyButtonText:"Aplicar",filterStringPlaceholder:"Digite para pesquisar...",emptyMessage:"Nenhum dado a ser exibido",noEntriesText:"Ainda não há inscrições.\nClique no botão abaixo para adicionar uma nova entrada.",noEntriesReadonlyText:"Não há entradas.",tabTitlePlaceholder:"Novo Painel",more:"Mais",tagboxDoneButtonCaption:"OKEY",selectToRankEmptyRankedAreaText:"Todas as opções são classificadas",selectToRankEmptyUnrankedAreaText:"Arraste e solte as opções aqui para classificá-las",ok:"OKEY",cancel:"Cancelar"},nativeName:"português brasileiro",englishName:"Brazilian Portuguese"});m({localeCode:"ro",strings:{pagePrevText:"Precedent",pageNextText:"UrmÄtor",completeText:"Finalizare",previewText:"previzualizare",editText:"EditaÈi",startSurveyText:"start",otherItemText:"Altul(precizaÅ£i)",noneItemText:"Nici unul",refuseItemText:"RefuzÄ sÄ rÄspundÄ",dontKnowItemText:"Nu Åtiu",selectAllItemText:"SelecteazÄ tot",deselectAllItemText:"DeselecteazÄ tot",progressText:"Pagina {0} din {1}",indexText:"{0} de {1}",panelDynamicProgressText:"Ãnregistrare {0} din {1}",panelDynamicTabTextFormat:"Panou {panelIndex}",questionsProgressText:"RÄspunsuri la {0} / {1} întrebÄri",emptySurvey:"Nu sunt întrebÄri pentru acest chestionar",completingSurvey:"VÄ mulÅ£umim pentru timpul acordat!",completingSurveyBefore:"Din înregistrÄrile noastre reiese cÄ aÈi completat deja acest chestionar.",loadingSurvey:"Chestionarul se încarcÄ...",placeholder:"AlegeÅ£i...",ratingOptionsCaption:"Alege...",value:"valoare",requiredError:"RÄspunsul la aceastÄ Ã®ntrebare este obligatoriu.",requiredErrorInPanel:"VÄ rugÄm sÄ rÄspundeÈi la cel puÈin o întrebare.",requiredInAllRowsError:"Toate rÄspunsurile sunt obligatorii",eachRowUniqueError:"Fiecare rând trebuie sÄ aibÄ o valoare unicÄ.",numericError:"RÄspunsul trebuie sÄ fie numeric.",minError:"Valoarea nu trebuie sÄ fie mai micÄ de {0}",maxError:"Valoarea nu trebuie sÄ fie mai mare de {0}",textNoDigitsAllow:"Numerele nu sunt permise.",textMinLength:"Trebuie sÄ introduceÈi minim {0} caractere.",textMaxLength:"Trebuie sÄ introduceÈi maxim {0} caractere.",textMinMaxLength:"Trebuie sÄ introduceÈi mai mult de {0} Èi mai puÈin de {1} caractere.",minRowCountError:"Trebuie sÄ completaÈi minim {0} rânduri.",minSelectError:"Trebuie sÄ selectaÈi minim {0} opÅ£iuni.",maxSelectError:"Trebuie sÄ selectaÈi maxim {0} opÅ£iuni.",numericMinMax:"RÄspunsul '{0}' trebuie sÄ fie mai mare sau egal ca {1} Åî mai mic sau egal cu {2}",numericMin:"RÄspunsul '{0}' trebuie sÄ fie mai mare sau egal ca {1}",numericMax:"RÄspunsul '{0}' trebuie sÄ fie mai mic sau egal ca {1}",invalidEmail:"Trebuie sÄ introduceÅ£i o adresa de email validÄ.",invalidExpression:"Expresia: {0} ar trebui sÄ returneze âadevÄratâ.",urlRequestError:"Request-ul a returnat eroarea '{0}'. {1}",urlGetChoicesError:"Request-ul nu a returnat date sau proprietatea 'path' este incorectÄ",exceedMaxSize:"Dimensiunea fiÅierului nu trebuie sÄ depÄÅeascÄ {0}.",noUploadFilesHandler:'FiÈierele nu pot fi încÄrcate. VÄ rugÄm sÄ adÄugaÈi un handler pentru evenimentul "onUploadFiles".',otherRequiredError:"Trebuie sÄ completaÈi câmpul 'Altul'.",uploadingFile:"FiÈierul dumneavoastrÄ este în curs de încÄrcare. VÄ rugÄm aÈteptaÈi câteva secunde Èi reveniÈi apoi.",loadingFile:"Se încarcÄ...",chooseFile:"Alege fisierele...",noFileChosen:"Niciun fiÈier ales",filePlaceholder:"GlisaÈi Èi fixaÈi un fiÈier aici sau faceÈi clic pe butonul de mai jos Èi alegeÈi un fiÈier de încÄrcat.",confirmDelete:"SunteÈi sigur cÄ doriÈi sÄ ÈtergeÈi înregistrarea?",keyDuplicationError:"Valoarea trebuie sÄ fie unicÄ.",addColumn:"AdÄugaÈi coloanÄ",addRow:"AdÄugare rând",removeRow:"Ètergere",emptyRowsText:"Nu existÄ rânduri.",addPanel:"AdÄugare",removePanel:"Ètergere",showDetails:"AratÄ detalii",hideDetails:"Ascunde detalii",choices_Item:"opÈiune",matrix_column:"ColoanÄ",matrix_row:"Rând",multipletext_itemname:"Text",savingData:"Rezultatele sunt în curs de salvare...",savingDataError:"A intervenit o eroare, rezultatele nu au putut fi salvate.",savingDataSuccess:"Rezultatele au fost salvate cu succes!",savingExceedSize:"RÄspunsul tÄu depÄÈeÈte 64KB. ReduceÈi dimensiunea fiÈierelor Èi încercaÈi din nou sau contactaÈi un proprietar de sondaj.",saveAgainButton:"ÃncercaÈi din nou",timerMin:"min",timerSec:"sec",timerSpentAll:"AÈi petrecut {0} pe aceastÄ paginÄ Èi {1} în total.",timerSpentPage:"AÈi petrecut {0} pe aceastÄ paginÄ.",timerSpentSurvey:"AÈi petrecut {0} în total.",timerLimitAll:"AÈi petrecut {0} din {1} pe aceastÄ paginÄ Èi {2} din {3} în total.",timerLimitPage:"AÈi petrecut {0} din {1} pe aceastÄ paginÄ.",timerLimitSurvey:"AÈi petrecut {0} din {1} în total.",clearCaption:"clar",signaturePlaceHolder:"SemneazÄ aici",signaturePlaceHolderReadOnly:"FÄrÄ semnÄturÄ",chooseFileCaption:"Alege fiÈierul",takePhotoCaption:"FaceÈi o fotografie",photoPlaceholder:"FaceÈi clic pe butonul de mai jos pentru a face o fotografie folosind camera.",fileOrPhotoPlaceholder:"GlisaÈi Èi fixaÈi sau selectaÈi un fiÈier pentru a încÄrca sau a face o fotografie folosind camera.",replaceFileCaption:"Ãnlocuire fiÈier",removeFileCaption:"EliminaÈi acest fiÈier",booleanCheckedLabel:"da",booleanUncheckedLabel:"Nu",confirmRemoveFile:"Sigur doriÈi sÄ eliminaÈi acest fiÈier: {0}?",confirmRemoveAllFiles:"Sigur doriÈi sÄ eliminaÈi toate fiÈierele?",questionTitlePatternText:"Titlul intrebarii",modalCancelButtonText:"Anula",modalApplyButtonText:"Aplica",filterStringPlaceholder:"TastaÈi pentru a cÄuta...",emptyMessage:"Nu existÄ date de afiÈat",noEntriesText:"Nu existÄ Ã®ncÄ intrÄri.\nFaceÈi clic pe butonul de mai jos pentru a adÄuga o intrare nouÄ.",noEntriesReadonlyText:"Nu existÄ intrÄri.",tabTitlePlaceholder:"Panou nou",more:"Mai mult",tagboxDoneButtonCaption:"OK",selectToRankEmptyRankedAreaText:"Toate opÈiunile sunt clasificate",selectToRankEmptyUnrankedAreaText:"GlisaÈi Èi fixaÈi opÈiunile aici pentru a le clasifica",ok:"OK",cancel:"Anula"},nativeName:"românÄ",englishName:"Romanian"});m({localeCode:"ru",strings:{pagePrevText:"Ðазад",pageNextText:"Ðалее",completeText:"ÐоÑово",previewText:"ÐÑедваÑиÑелÑнÑй пÑоÑмоÑÑ",editText:"РедакÑиÑование",startSurveyText:"ÐаÑаÑÑ",otherItemText:"ÐÑÑгое (пожалÑйÑÑа, опиÑиÑе)",noneItemText:"ÐеÑ",refuseItemText:"ÐÑказÑваÑÑÑ Ð¾ÑвеÑаÑÑ",dontKnowItemText:"Ðе знаÑ",selectAllItemText:"ÐÑбÑаÑÑ Ð²ÑÑ",deselectAllItemText:"ÐÑмена вÑбоÑа вÑеÑ
",progressText:"СÑÑаниÑа {0} из {1}",indexText:"{0} из {1}",panelDynamicProgressText:"ÐапиÑÑ {0} из {1}",panelDynamicTabTextFormat:"ÐÐ°Ð½ÐµÐ»Ñ {panelIndex}",questionsProgressText:"OÑвеÑено на {0}/{1} вопÑоÑов",emptySurvey:"ÐÐµÑ Ð½Ð¸ одного вопÑоÑа.",completingSurvey:"ÐлагодаÑим ÐÐ°Ñ Ð·Ð° заполнение анкеÑÑ!",completingSurveyBefore:"ÐÑ Ñже пÑоÑ
одили ÑÑÐ¾Ñ Ð¾Ð¿ÑоÑ.",loadingSurvey:"ÐагÑÑзка Ñ ÑеÑвеÑа...",placeholder:"ÐÑбÑаÑÑ...",ratingOptionsCaption:"ÐажмиÑе здеÑÑ, ÑÑÐ¾Ð±Ñ Ð¾ÑениÑÑ...",value:"знаÑение",requiredError:"ÐожалÑйÑÑа, оÑвеÑÑÑе на вопÑоÑ.",requiredErrorInPanel:"ÐожалÑйÑÑа, оÑвеÑÑÑе по кÑайней меÑе на один вопÑоÑ.",requiredInAllRowsError:"ÐожалÑйÑÑа, оÑвеÑÑÑе на вопÑоÑÑ Ð² каждой ÑÑÑоке.",eachRowUniqueError:"ÐÐ°Ð¶Ð´Ð°Ñ ÑÑÑока должна имеÑÑ ÑникалÑное знаÑение.",numericError:"ÐÑÐ²ÐµÑ Ð´Ð¾Ð»Ð¶ÐµÐ½ бÑÑÑ ÑиÑлом.",minError:"ÐнаÑение не должно бÑÑÑ Ð¼ÐµÐ½ÑÑе {0}.",maxError:"ÐнаÑение не должно пÑевÑÑаÑÑ {0}.",textNoDigitsAllow:"ÐомеÑа не допÑÑкаÑÑÑÑ.",textMinLength:"ÐожалÑйÑÑа введиÑе болÑÑе {0} Ñимволов.",textMaxLength:"ÐожалÑйÑÑа введиÑе менÑÑе {0} Ñимволов.",textMinMaxLength:"ÐожалÑйÑÑа введиÑе болÑÑе {0} и менÑÑе {1} Ñимволов.",minRowCountError:"ÐожалÑйÑÑа, заполниÑе не менÑÑе {0} ÑÑÑок.",minSelectError:"ÐожалÑйÑÑа, вÑбеÑиÑе Ñ
оÑÑ Ð±Ñ {0} ваÑианÑов.",maxSelectError:"ÐожалÑйÑÑа, вÑбеÑиÑе не более {0} ваÑианÑов.",numericMinMax:"'{0}' должно бÑÑÑ Ð½Ðµ менÑÑе Ñем {1}, и не болÑÑе Ñем {2}",numericMin:"'{0}' должно бÑÑÑ Ð½Ðµ менÑÑе Ñем {1}",numericMax:"'{0}' должно бÑÑÑ Ð½Ðµ болÑÑе Ñем {1}
vendor: 4,169 bytes, line 16
16",invalidEmail:"ÐожалÑйÑÑа, введиÑе дейÑÑвиÑелÑнÑй адÑÐµÑ ÑлекÑÑонной поÑÑÑ.",invalidExpression:"ÐÑÑажение {0} должно возвÑаÑаÑÑ 'true'.",urlRequestError:"ÐапÑÐ¾Ñ Ð²ÐµÑнÑл оÑÐ¸Ð±ÐºÑ '{0}'. {1}",urlGetChoicesError:"ÐÑÐ²ÐµÑ Ð½Ð° запÑÐ¾Ñ Ð¿ÑиÑел пÑÑÑой или ÑвойÑÑво 'path' Ñказано невеÑно",exceedMaxSize:"Ð Ð°Ð·Ð¼ÐµÑ Ñайла не должен пÑевÑÑаÑÑ {0}.",noUploadFilesHandler:"Ð¤Ð°Ð¹Ð»Ñ Ð½Ðµ могÑÑ Ð±ÑÑÑ Ð·Ð°Ð³ÑÑженÑ. ÐожалÑйÑÑа, добавÑÑе обÑабоÑÑик Ð´Ð»Ñ ÑобÑÑÐ¸Ñ 'onUploadFiles'.",otherRequiredError:"ÐожалÑйÑÑа, введиÑе даннÑе в поле 'ÐÑÑгое'",uploadingFile:"ÐÐ°Ñ Ñайл загÑÑжаеÑÑÑ. ÐодождиÑе неÑколÑко ÑекÑнд и попÑобÑйÑе Ñнова.",loadingFile:"ÐагÑÑзка...",chooseFile:"ÐÑбеÑиÑе Ñайл(Ñ)...",noFileChosen:"Файл не вÑбÑан",filePlaceholder:"ÐеÑеÑаÑиÑе Ñайл ÑÑда или нажмиÑе ÐºÐ½Ð¾Ð¿ÐºÑ Ð½Ð¸Ð¶Ðµ, ÑÑÐ¾Ð±Ñ Ð·Ð°Ð³ÑÑзиÑÑ Ñайл.",confirmDelete:"ÐÑ ÑоÑно Ñ
оÑиÑе ÑдалиÑÑ Ð·Ð°Ð¿Ð¸ÑÑ?",keyDuplicationError:"ÐÑо знаÑение должно бÑÑÑ ÑникалÑнÑм.",addColumn:"ÐобавиÑÑ ÐºÐ¾Ð»Ð¾Ð½ÐºÑ",addRow:"ÐобавиÑÑ ÑÑÑокÑ",removeRow:"УдалиÑÑ",emptyRowsText:"Ð Ñдов неÑ.",addPanel:"ÐобавиÑÑ Ð½Ð¾Ð²ÑÑ",removePanel:"УдалиÑÑ",showDetails:"ÐоказаÑÑ Ð¿Ð¾Ð´ÑобноÑÑи",hideDetails:"СкÑÑÑÑ Ð¿Ð¾Ð´ÑобноÑÑи",choices_Item:"ÐаÑианÑ",matrix_column:"Ðолонка",matrix_row:"СÑÑока",multipletext_itemname:"ÑекÑÑ",savingData:"РезÑлÑÑаÑÑ ÑоÑ
ÑанÑÑÑÑÑ Ð½Ð° ÑеÑвеÑ...",savingDataError:"ÐÑоизоÑла оÑибка, ÑезÑлÑÑÐ°Ñ Ð½Ðµ бÑл ÑоÑ
ÑанÑн.",savingDataSuccess:"РезÑлÑÑÐ°Ñ ÑÑпеÑно ÑоÑ
ÑанÑн!",savingExceedSize:"ÐÐ°Ñ Ð¾ÑÐ²ÐµÑ Ð¿ÑевÑÑÐ°ÐµÑ 64 ÐÐ. УменÑÑиÑе ÑÐ°Ð·Ð¼ÐµÑ Ñайла (Ñайлов) и повÑоÑиÑе попÑÑÐºÑ Ð¸Ð»Ð¸ обÑаÑиÑеÑÑ Ðº владелÑÑÑ Ð¾Ð¿ÑоÑа.",saveAgainButton:"ÐопÑобоваÑÑ Ñнова",timerMin:"мин",timerSec:"Ñек",timerSpentAll:"ÐÑ Ð¿Ð¾ÑÑаÑили {0} на ÑÑой ÑÑÑаниÑе и {1} вÑего.",timerSpentPage:"ÐÑ Ð¿Ð¾ÑÑаÑили {0} на ÑÑой ÑÑÑаниÑе.",timerSpentSurvey:"ÐÑ Ð¿Ð¾ÑÑаÑили {0} в ÑеÑение ÑеÑÑа.",timerLimitAll:"ÐÑ Ð¿Ð¾ÑÑаÑили {0} из {1} на ÑÑой ÑÑÑаниÑе и {2} из {3} Ð´Ð»Ñ Ð²Ñего ÑеÑÑа.",timerLimitPage:"ÐÑ Ð¿Ð¾ÑÑаÑили {0} из {1} на ÑÑой ÑÑÑаниÑе.",timerLimitSurvey:"ÐÑ Ð¿Ð¾ÑÑаÑили {0} из {1} Ð´Ð»Ñ Ð²Ñего ÑеÑÑа.",clearCaption:"ÐÑиÑÑиÑÑ",signaturePlaceHolder:"ÐодпиÑиÑе здеÑÑ",signaturePlaceHolderReadOnly:"Ðез подпиÑи",chooseFileCaption:"ÐÑбеÑиÑе Ñайл",takePhotoCaption:"СделаÑÑ ÑоÑо",photoPlaceholder:"ÐажмиÑе ÐºÐ½Ð¾Ð¿ÐºÑ Ð½Ð¸Ð¶Ðµ, ÑÑÐ¾Ð±Ñ ÑделаÑÑ Ñнимок Ñ Ð¿Ð¾Ð¼Ð¾ÑÑÑ ÐºÐ°Ð¼ÐµÑÑ.",fileOrPhotoPlaceholder:"ÐеÑеÑаÑиÑе или вÑбеÑиÑе Ñайл Ð´Ð»Ñ Ð·Ð°Ð³ÑÑзки или ÑÑемки Ñ Ð¿Ð¾Ð¼Ð¾ÑÑÑ ÐºÐ°Ð¼ÐµÑÑ.",replaceFileCaption:"ÐамениÑÑ Ñайл",removeFileCaption:"УдалиÑÑ Ñайл",booleanCheckedLabel:"Ðа",booleanUncheckedLabel:"ÐеÑ",confirmRemoveFile:"ÐÑ ÑвеÑенÑ, ÑÑо Ñ
оÑиÑе ÑдалиÑÑ ÑÑÐ¾Ñ Ñайл: {0}?",confirmRemoveAllFiles:"ÐÑ ÑвеÑенÑ, ÑÑо Ñ
оÑиÑе ÑдалиÑÑ Ð²Ñе ÑайлÑ?",questionTitlePatternText:"Ðазвание вопÑоÑа",modalCancelButtonText:"ÐÑмениÑÑ",modalApplyButtonText:"ÐÑименÑÑÑ",filterStringPlaceholder:"ÐведиÑе Ð´Ð»Ñ Ð¿Ð¾Ð¸Ñка...",emptyMessage:"ÐÐµÑ Ð´Ð°Ð½Ð½ÑÑ
Ð´Ð»Ñ Ð¾ÑобÑажениÑ",noEntriesText:"Ðока Ð½ÐµÑ Ð·Ð°Ð¿Ð¸Ñей.\nÐажмиÑе ÐºÐ½Ð¾Ð¿ÐºÑ Ð½Ð¸Ð¶Ðµ, ÑÑÐ¾Ð±Ñ Ð´Ð¾Ð±Ð°Ð²Ð¸ÑÑ Ð½Ð¾Ð²ÑÑ Ð·Ð°Ð¿Ð¸ÑÑ.",n
vendor: 10,013 bytes, line 16
16oEntriesReadonlyText:"ÐапиÑей неÑ.",tabTitlePlaceholder:"ÐÐ¾Ð²Ð°Ñ Ð¿Ð°Ð½ÐµÐ»Ñ",more:"ÐолÑÑе",tagboxDoneButtonCaption:"ХоÑоÑо",selectToRankEmptyRankedAreaText:"ÐÑе ваÑианÑÑ ÑанжиÑÑÑÑÑÑ",selectToRankEmptyUnrankedAreaText:"ÐеÑеÑаÑиÑе ÑÑда ваÑианÑÑ, ÑÑÐ¾Ð±Ñ ÑанжиÑоваÑÑ Ð¸Ñ
",ok:"ХоÑоÑо",cancel:"ÐÑмена"},nativeName:"ÑÑÑÑкий",englishName:"Russian"});m({localeCode:"sr",strings:{pagePrevText:"Nazad",pageNextText:"Dalje",completeText:"ZavrÅ¡i",previewText:"Pregledaj",editText:"Izmeni",startSurveyText:"ZapoÄni",otherItemText:"Drugo (upiÅ¡i)",noneItemText:"NiÅ¡ta",refuseItemText:"Odbijanje odgovora",dontKnowItemText:"Ne znam",selectAllItemText:"Izaberi sve",deselectAllItemText:"PoniÅ¡ti izbor svih",progressText:"Stranica {0} od {1}",indexText:"{0} {1}",panelDynamicProgressText:"Upis {0} od {1}",panelDynamicTabTextFormat:"Panel {panelIndex}",questionsProgressText:"Odgovoreno na {0}/{1} pitanja",emptySurvey:"Nema vidljivih stranica ili pitanja u anketi.",completingSurvey:"Hvala na popunjavanju ankete!",completingSurveyBefore:"Prema naÅ¡im podacima, veÄ ste popunili ovu anketu.",loadingSurvey:"UÄitavam anketu...",placeholder:"Izaberi...",ratingOptionsCaption:"Izaberite...",value:"vrednost",requiredError:"Molimo odgovorite na ovo pitanje.",requiredErrorInPanel:"Molimo odgovorite na bar jedno pitanje.",requiredInAllRowsError:"Molimo odgovorite na pitanja u svim redovima.",eachRowUniqueError:"Svaki red mora imati jedinstvenu vrednost.",numericError:"Vrednost bi trebalo da bude numeriÄka.",minError:"Vrednost ne bi trebalo da bude manja od {0}",maxError:"Vrednost ne bi trebalo da bude veÄa od {0}",textNoDigitsAllow:"Brojevi nisu dozvoljeni.",textMinLength:"Molimo unesite bar {0} znak(ov)a.",textMaxLength:"Molimo unesite najviÅ¡e {0} znak(ov)a.",textMinMaxLength:"Molimo unesite najmanje {0} i ne viÅ¡e od {1} znak(ov)a.",minRowCountError:"Molimo popunite najmanje {0} red(ova).",minSelectError:"Molimo izaberite najmanje {0} opcija/e.",maxSelectError:"Molimo izaberite najviÅ¡e {0} opcija/e.",numericMinMax:"'{0}' bi trebalo da bude najmanje {1} i najviÅ¡e {2}",numericMin:"'{0}' bi trebalo da bude najmanje {1}",numericMax:"'{0}' bi trebalo da bude najviÅ¡e {1}",invalidEmail:"Molimo unesite ispravnu e-mail adresu.",invalidExpression:"Izraz: {0} bi trebalo da bude taÄan.",urlRequestError:"Zahtev je naiÅ¡ao na greÅ¡ku '{0}'. {1}",urlGetChoicesError:"Zahtev nije pronaÅ¡ao podatke, ili je putanja netaÄna",exceedMaxSize:"VeliÄina fajla ne bi trebalo da prelazi {0}.",noUploadFilesHandler:'Nije moguÄe otpremiti datoteke. Dodajte rukovaoca za dogaÄaj "onUploadFiles".',otherRequiredError:"Molimo unesite drugu vrednost.",uploadingFile:"Fajl se Å¡alje. Molimo saÄekajte neko vreme i pokuÅ¡ajte ponovo.",loadingFile:"UÄitavanje...",chooseFile:"Izaberite fajlove...",noFileChosen:"Nije izabran nijedan fajl",filePlaceholder:"Prevucite i otpustite datoteku ovde ili kliknite na dugme ispod i odaberite datoteku za otpremanje.",confirmDelete:"Da li želite da izbriÅ¡ete unos?",keyDuplicationError:"Ova vrednost treba da bude jedinstvena.",addColumn:"Dodaj kolonu",addRow:"Dodaj red",removeRow:"Ukloni",emptyRowsText:"Nema redova.",addPanel:"Dodaj novo",removePanel:"Ukloni",showDetails:"Prikaži detalje",hideDetails:"Sakrij detalje",choices_Item:"stavka",matrix_column:"Kolona",matrix_row:"Red",multipletext_itemname:"tekst",savingData:"U toku je Äuvanje podataka na serveru...",savingDataError:"DoÅ¡lo je do greÅ¡ke i rezultati nisu saÄuvani.",savingDataSuccess:"Rezultati su uspeÅ¡no saÄuvani!",savingExceedSize:"VaÅ¡ odgovor premaÅ¡uje 64KB. Smanjite veliÄinu datoteka i pokuÅ¡ajte ponovo ili se obratite vlasniku ankete.",saveAgainButton:"PokuÅ¡ajte ponovo",timerMin:"min",timerSec:"sek",timerSpentAll:"Proveli ste {0} na ovoj stranici i {1} ukupno.",timerSpentPage:"Proveli ste {0} na ovoj stranici.",timerSpentSurvey:"Proveli ste {0} ukupno.",timerLimitAll:"Proveli ste {0} od {1} na ovoj stranici i {2} od {3} ukupno.",timerLimitPage:"Proveli ste {0} od {1} na ovoj stranici.",timerLimitSurvey:"Proveli ste {0} od {1} ukupno.",clearCaption:"PoniÅ¡ti",signaturePlaceHolder:"PotpiÅ¡ite ovde",signaturePlaceHolderReadOnly:"Bez potpisa",chooseFileCaption:"Izaberi fajl",takePhotoCaption:"Fotografisanje",photoPlaceholder:"Kliknite na dugme ispod da biste snimili fotografiju pomoÄu fotoaparata.",fileOrPhotoPlaceholder:"Prevucite i otpustite ili izaberite datoteku za otpremanje ili snimanje fotografije pomoÄu fotoaparata.",replaceFileCaption:"Zameni datoteku",removeFileCaption:"Ukloni ovaj fajl",booleanCheckedLabel:"Da",booleanUncheckedLabel:"Ne",confirmRemoveFile:"Da li ste sigurni da želite da uklonite ovaj fajl: {0}?",confirmRemoveAllFiles:"Da li ste sigurni da želite da uklonite sve fajlove?",questionTitlePatternText:"Naslov pitanja",modalCancelButtonText:"Otkaži",modalApplyButtonText:"Primeni",filterStringPlaceholder:"Otkucajte da biste pretražili...",emptyMessage:"Nema podataka za prikazivanje",noEntriesText:"JoÅ¡ uvek nema stavki.\nKliknite na dugme ispod da biste dodali novu stavku.",noEntriesReadonlyText:"Nema stavki.",tabTitlePlaceholder:"Nova tabla",more:"ViÑe",tagboxDoneButtonCaption:"U redu",selectToRankEmptyRankedAreaText:"Svi izbori su rangirani",selectToRankEmptyUnrankedAreaText:"Prevucite i otpustite izbor ovde da biste ih rangirali",ok:"U redu",cancel:"Otkaži"},nativeName:"srpski",englishName:"Serbian"});m({localeCode:"zh-cn",strings:{pagePrevText:"ä¸ä¸é¡µ",pageNextText:"ä¸ä¸é¡µ",completeText:"æäº¤é®å·",previewText:"é¢è§",editText:"ç¼è¾",startSurveyText:"å¼å§é®å·",otherItemText:"å¡«åå
¶ä»çæ¡",noneItemText:"æ ",refuseItemText:"æç»åç",dontKnowItemText:"ä¸ç¥é",selectAllItemText:"éæ©å
¨é¨",deselectAllItemText:"åæ¶å
¨é",progressText:"第 {0} 页, å
± {1} 页",indexText:"第 {0} 页ï¼å
± {1} 页",panelDynamicProgressText:"{0} of {1}",panelDynamicTabTextFormat:"颿¿ {颿¿ç´¢å¼}",questionsProgressText:"第 {0}/{1} é¢",emptySurvey:"é®å·ä¸æ²¡æé®é¢æé¡µé¢",completingSurvey:"æè°¢æ¨çåä¸!",completingSurveyBefore:"ä½ å·²å®æé®å·.",loadingSurvey:"é®å·æ£å¨å è½½ä¸...",placeholder:"è¯·éæ©...",ratingOptionsCaption:"éæ©ããã",value:"å¼",requiredError:"è¯·å¡«åæ¤é®é¢",requiredErrorInPanel:"è³å°åçä¸é¢.",requiredInAllRowsError:"è¯·å¡«åææè¡ä¸é®é¢",eachRowUniqueError:"æ¯è¡å¿
é¡»å
·æå¯ä¸å¼ã",numericError:"çæ¡å¿
é¡»æ¯ä¸ªæ°å",minError:"该å¼ä¸è½å°äº {0}",maxError:"该å¼ä¸è½å¤§äº {0}",textNoDigitsAllow:"ä¸å
è®¸ä½¿ç¨æ°åã",textMinLength:"çæ¡é¿åº¦è³å° {0} 个å符",textMaxLength:"çæ¡é¿åº¦ä¸è½è¶
è¿ {0} 个å符",textMinMaxLength:"çæ¡é¿åº¦å¿
é¡»å¨ {0} - {1} 个å符ä¹é´",minRowCountError:"æå°éè¦å¡«å {0} è¡çæ¡",minSelectError:"æå°éè¦éæ© {0} é¡¹çæ¡",maxSelectError:"æå¤åªè½éæ© {0} é¡¹çæ¡",numericMinMax:"çæ¡ '{0}' å¿
须大äºçäº {1} ä¸å°äºçäº {2}",numericMin:"çæ¡ '{0}' å¿
须大äºçäº {1}",numericMax:"çæ¡ '{0}' å¿
é¡»å°äºçäº {1}",invalidEmail:"请è¾å
¥ææç Email å°å",invalidExpression:"å
¬å¼: {0} æ æ.",urlRequestError:"è½½å
¥é项æ¶åçé误 '{0}': {1}",urlGetChoicesError:"æªè½è½½å
¥ææçé项æè¯·æ±åæ°è·¯å¾æè¯¯",exceedMaxSize:"æä»¶å¤§å°ä¸è½è¶
è¿ {0}",noUploadFilesHandler:"æ æ³ä¸ä¼ æä»¶ã请为âonUploadFilesâäºä»¶æ·»å å¤çç¨åºã",otherRequiredError:"è¯·å®æå
¶ä»é®é¢",uploadingFile:"æä»¶ä¸ä¼ ä¸... 请èå¿çå¾
å ç§åéè¯",loadingFile:"å è½½...",chooseFile:"éæ©æä»¶...",noFileChosen:"æªéæ©æä»¶",filePlaceholder:"å°æä»¶ææ¾å°æ¤å¤æåå»ä¸é¢çæé®å¹¶éæ©è¦ä¸ä¼ çæä»¶ã",confirmDelete:"å é¤è®°å½?",keyDuplicationError:"主é®ä¸è½éå¤",addColumn:"æ·»å å",addRow:"æ·»å è¡",removeRow:"å é¤çæ¡",emptyRowsText:"æ å
容",addPanel:"æ°æ·»",removePanel:"å é¤",showDetails:"æ¾ç¤ºè¯¦ç»ä¿¡æ¯",hideDetails:"éè详ç»ä¿¡æ¯",choices_Item:"é项",matrix_column:"å",matrix_row:"è¡",multipletext_itemname:"ææ¬",savingData:"æ£å¨å°ç»æä¿åå°æå¡å¨...",savingDataError:"å¨ä¿åç»æè¿ç¨ä¸åçäºé误ï¼ç»ææªè½ä¿å",savingDataSuccess:"ç»æä¿åæå!",savingExceedSize:"æ¨çåå¤è¶
è¿ 64KBã请åå°æä»¶ç大å°ï¼ç¶åéè¯æèç³»è°æ¥ææè
ã",saveAgainButton:"请éè¯",timerMin:"å",timerSec:"ç§",timerSpentAll:"æ¬é¡µç¨æ¶ {0} æ»è®¡ç¨æ¶{1} .",timerSpentPage:"æ¬é¡µç¨æ¶{0} .",timerSpentSurvey:"æ»è®¡ç¨æ¶ {0} .",timerLimitAll:"æ¬é¡µç¨æ¶ {0} å
± {1}ï¼ æ»è®¡ç¨æ¶ {2} å
± {3} .",timerLimitPage:"æ¬é¡µç¨æ¶ {0} å
± {1} .",timerLimitSurvey:"æ»è®¡ç¨æ¶ {0} å
± {1}.",clearCaption:"æ¸
é¤",signaturePlaceHolder:"卿¤ç¾å",signaturePlaceHolderReadOnly:"æ ç¾å",chooseFileCaption:"éæ©æä»¶",takePhotoCaption:"æç
§",photoPlaceholder:"åå»ä¸é¢çæé®ä½¿ç¨ç¸æºæç
§ã",fileOrPhotoPlaceholder:"ææ¾æéæ©è¦ä¸ä¼ çæä»¶æä½¿ç¨ç¸æºææç
§çã",replaceFileCaption:"æ¿æ¢æä»¶",removeFileCaption:"ç§»é¤æä»¶",booleanCheckedLabel:"æ¯",booleanUncheckedLabel:"å¦",confirmRemoveFile:"å 餿件: {0}?",confirmRemoveAllFiles:"å 餿ææä»¶?",questionTitlePatternText:"æ é¢",modalCancelButtonText:"åæ¶",modalApplyButtonText:"ç¡®å®",filterStringPlaceholder:"é®å
¥ä»¥æç´¢...",emptyMessage:"没æè¦æ¾ç¤ºçæ°æ®",noEntriesText:"å°æ æ¡ç®ã\nåå»ä¸é¢çæé®ä»¥æ·»å æ°æ¡ç®ã",noEntriesReadonlyText:"æ²¡ææ¡ç®ã",tabTitlePlaceholder:"æ°é¢æ¿",more:"æ´å¤",tagboxDoneButtonCaption:"è¿è¡",selectToRankEmptyRankedAreaText:"ææéæ©åå·²æå",selectToRankEmptyUnrankedAreaText:"å°éé¡¹ææ¾å°æ¤å¤è¿è¡æå",ok:"è¿è¡",cancel:"åæ¶"},nativeName:"ç®ä½ä¸æ",englishName:"Simplified Chinese"});m({localeCode:"sk",strings:{pagePrevText:"Predchádzajúca",pageNextText:"Äalej",completeText:"DokonÄené",previewText:"Ukážka",editText:"Uprav
vendor: 2,493 bytes, line 16
16iÅ¥",startSurveyText:"SpustiÅ¥",otherItemText:"Iné (opÃÅ¡te)",noneItemText:"Žiadne",refuseItemText:"OdmietnuÅ¥ odpovedaÅ¥",dontKnowItemText:"Neviem",selectAllItemText:"VybraÅ¥ vÅ¡etky",deselectAllItemText:"ZruÅ¡te výber vÅ¡etkých",progressText:"Strana {0} z {1}",indexText:"{0} {1}",panelDynamicProgressText:"Záznam {0} z {1}",panelDynamicTabTextFormat:"Panel {panelIndex}",questionsProgressText:"Zodpovedané otázky {0}/{1}",emptySurvey:"V prieskume nie je žiadna vidieľná stránka ani otázka.",completingSurvey:"Äakujeme vám za dokonÄenie prieskumu.",completingSurveyBefore:"Podľa naÅ¡ich záznamov ste už tento prieskum dokonÄili.",loadingSurvey:"NaÄÃtanie prieskumu...",placeholder:"VybraÅ¥...",ratingOptionsCaption:"VybraÅ¥...",value:"hodnota",requiredError:"Požaduje sa odozva.",requiredErrorInPanel:"Požaduje sa odozva: zodpovedajte aspoÅ jednu otázku.",requiredInAllRowsError:"Požaduje sa odozva: zodpovedajte otázky vo vÅ¡etkých riadkoch.",eachRowUniqueError:"Každý riadok musà maÅ¥ jedineÄnú hodnotu.",numericError:"Hodnota má byÅ¥ ÄÃselná.",minError:"Hodnota nemá byÅ¥ nižšia než {0}",maxError:"Hodnota nemá byÅ¥ vyššia než {0}",textNoDigitsAllow:"ÄÃsla nie sú povolené.",textMinLength:"Zadajte aspoÅ {0} znak(-y/-ov).",textMaxLength:"Nezadávajte viac než {0} znak(-y/-ov).",textMinMaxLength:"Zadajte aspoÅ {0} a nie viac než {1} znaky(-ov).",minRowCountError:"VyplÅte aspoÅ {0} riadok(-y/-ov).",minSelectError:"Vyberte aspoÅ {0} variant(-y/-ov).",maxSelectError:"Nevyberajte viac než {0} variant(-y/-ov).",numericMinMax:"â{0}â má byÅ¥ minimálne {1} a maximálne {2}",numericMin:"â{0}â má byÅ¥ minimálne {1}",numericMax:"â{0}â má byÅ¥ maximálne {1}",invalidEmail:"Zadajte platnú e-mailovú adresu.",invalidExpression:"Výraz: {0} má vrátiÅ¥ hodnotu âtrueâ.",urlRequestError:"Požiadavky vrátila hodnotu â{0}â. {1}",urlGetChoicesError:"Požiadavka vrátila prázdne údaje alebo je vlastnosÅ¥ âcestaâ nesprávna",exceedMaxSize:"VeľkosÅ¥ súboru nemá prekroÄiÅ¥ {0}.",noUploadFilesHandler:'Súbory nie je možné nahraÅ¥. Pridajte obslužný program pre udalosÅ¥ "onUploadFiles".',otherRequiredError:"Požaduje sa odozva: zadajte inú hodnotu.",uploadingFile:"Súbor sa odovzdáva. PoÄkajte niekoľko sekúnd a skúste to znova.",loadingFile:"NaÄÃtanie...",chooseFile:"Vyberte súbor(-y)...",noFileChosen:"Žiadny vybratý súbor",filePlaceholder:"PresuÅte súbor sem alebo kliknite na n
vendor: 41,443 bytes, line 16
16asledujúce tlaÄidlo a naÄÃtajte súbor.",confirmDelete:"Chcete záznam odstrániÅ¥?",keyDuplicationError:"Táto hodnota má byÅ¥ jedineÄná.",addColumn:"PridaÅ¥ stĺpec",addRow:"PridaÅ¥ riadok",removeRow:"OdstrániÅ¥",emptyRowsText:"K dispozÃcii nie sú žiadne riadky.",addPanel:"PridaÅ¥ nové",removePanel:"OdstrániÅ¥",showDetails:"ZobraziÅ¥ podrobnosti",hideDetails:"SkryÅ¥ podrobnosti",choices_Item:"položka",matrix_column:"Stĺpec",matrix_row:"Riadok",multipletext_itemname:"text",savingData:"Výsledky sa ukladajú na server...",savingDataError:"V dôsledku chyby sa nepodarilo výsledky uložiÅ¥.",savingDataSuccess:"Výsledky sa úspeÅ¡ne uložili.",savingExceedSize:"VaÅ¡a odpoveÄ presahuje 64 kB. ZmenÅ¡ite veľkosÅ¥ svojich súborov a skúste to znova alebo kontaktujte vlastnÃka prieskumu.",saveAgainButton:"Skúste to znova",timerMin:"min",timerSec:"s",timerSpentAll:"Na tejto stránke ste strávili {0} a celkovo {1}.",timerSpentPage:"Na tejto stránke ste strávili {0}.",timerSpentSurvey:"Celkovo ste strávili {0}.",timerLimitAll:"Na tejto stránke ste strávili {0} z {1} a celkovo {2} z {3}.",timerLimitPage:"Na tejto stránke ste strávili {0} z {1}.",timerLimitSurvey:"Celkovo ste strávili {0} z {1}.",clearCaption:"VymazaÅ¥",signaturePlaceHolder:"PodpÃsaÅ¥ tu",signaturePlaceHolderReadOnly:"Bez podpisu",chooseFileCaption:"VybraÅ¥ súbor",takePhotoCaption:"OdfotiÅ¥",photoPlaceholder:"KliknutÃm na tlaÄidlo nižšie nasnÃmate fotografiu pomocou fotoaparátu.",fileOrPhotoPlaceholder:"PresuÅte myÅ¡ou alebo vyberte súbor, ktorý chcete nahraÅ¥ alebo nasnÃmaÅ¥ fotografiu pomocou fotoaparátu.",replaceFileCaption:"Nahradenie súboru",removeFileCaption:"OdstrániÅ¥ tento súbor",booleanCheckedLabel:"Ãno",booleanUncheckedLabel:"Nie",confirmRemoveFile:"Naozaj chcete odstrániÅ¥ tento súbor: {0}?",confirmRemoveAllFiles:"Naozaj chcete odstrániÅ¥ vÅ¡etky súbory?",questionTitlePatternText:"Titul otázky",modalCancelButtonText:"ZruÅ¡iÅ¥",modalApplyButtonText:"PoužiÅ¥",filterStringPlaceholder:"Vyhľadávanie pÃsanÃm...",emptyMessage:"Žiadne údaje na zobrazenie",noEntriesText:"K dispozÃcii eÅ¡te nie sú žiadne zadania.\nKliknutÃm na nasledujúce tlaÄidlo pridajte nové zadanie.",noEntriesReadonlyText:"Nie sú k dispozÃcii žiadne záznamy.",tabTitlePlaceholder:"Nový panel",more:"Viacej",tagboxDoneButtonCaption:"OK",selectToRankEmptyRankedAreaText:"VÅ¡etky možnosti sú zoradené",selectToRankEmptyUnrankedAreaText:"PresuÅte sem voľby, aby ste ich zoradili",ok:"OK",cancel:"ZruÅ¡iÅ¥"},nativeName:"SlovenÄina",englishName:"Slovak"});m({localeCode:"es",strings:{pagePrevText:"Anterior",pageNextText:"Siguiente",completeText:"Completar",previewText:"Vista previa",editText:"Edita",startSurveyText:"Comienza",otherItemText:"Otro (describa)",noneItemText:"Ninguno",refuseItemText:"Negarse a responder",dontKnowItemText:"No sé",selectAllItemText:"Seleccionar todo",deselectAllItemText:"Anular la selección de todo",progressText:"Página {0} de {1}",indexText:"{0} de {1}",panelDynamicProgressText:"Registro {0} de {1}",panelDynamicTabTextFormat:"Panel {panelIndex}",questionsProgressText:"Respondió a {0}/{1} preguntas",emptySurvey:"No hay página visible o pregunta en la encuesta.",completingSurvey:"¡Gracias por completar la encuesta!",completingSurveyBefore:"Nuestros registros muestran que ya ha completado esta encuesta.",loadingSurvey:"La encuesta está cargando...",placeholder:"Seleccione...",ratingOptionsCaption:"Toca aquà para calificar...",value:"valor",requiredError:"Por favor conteste la pregunta.",requiredErrorInPanel:"Por favor, responda al menos una pregunta.",requiredInAllRowsError:"Por favor conteste las preguntas en cada hilera.",eachRowUniqueError:"Cada fila debe tener un valor único.",numericError:"La estimación debe ser numérica.",minError:"La estimación no debe ser menor que {0}",maxError:"La estimación no debe ser mayor que {0}",textNoDigitsAllow:"No se permiten números.",textMinLength:"Por favor entre por lo menos {0} sÃmbolos.",textMaxLength:"Por favor entre menos de {0} sÃmbolos.",textMinMaxLength:"Por favor entre más de {0} y menos de {1} sÃmbolos.",minRowCountError:"Por favor llene por lo menos {0} hileras.",minSelectError:"Por favor seleccione por lo menos {0} variantes.",maxSelectError:"Por favor seleccione no más de {0} variantes.",numericMinMax:"El '{0}' debe de ser igual o más de {1} y igual o menos de {2}",numericMin:"El '{0}' debe ser igual o más de {1}",numericMax:"El '{0}' debe ser igual o menos de {1}",invalidEmail:"Por favor agregue un correo electrónico válido.",invalidExpression:"La expresión: {0} deberÃa devolver 'verdadero'.",urlRequestError:"La solicitud regresó error '{0}'. {1}",urlGetChoicesError:"La solicitud regresó vacÃo de data o la propiedad 'trayectoria' no es correcta",exceedMaxSize:"El tamaño del archivo no debe de exceder {0}.",noUploadFilesHandler:"Los archivos no se pueden cargar. Agregue un controlador para el evento 'onUploadFiles'.",otherRequiredError:"Por favor agregue la otra estimación.",uploadingFile:"Su archivo se está subiendo. Por favor espere unos segundos e intente de nuevo.",loadingFile:"Cargando...",chooseFile:"Elija archivo(s)...",noFileChosen:"No se ha elegido ningún archivo",filePlaceholder:"Suelte un archivo aquà o haga clic en el botón de abajo para cargar el archivo",confirmDelete:"¿Quieres borrar el registro?",keyDuplicationError:"Este valor debe ser único.",addColumn:"Añadir columna",addRow:"Agregue una hilera",removeRow:"Eliminar una hilera",emptyRowsText:"No hay hileras.",addPanel:"Añadir nuevo",removePanel:"Retire",showDetails:"Mostrar detalles",hideDetails:"Ocultar detalles",choices_Item:"artÃculo",matrix_column:"Columna",matrix_row:"Hilera",multipletext_itemname:"texto",savingData:"Los resultados se están guardando en el servidor...",savingDataError:"Los resultados se están guardando en el servidor...",savingDataSuccess:"¡Los resultados se guardaron con éxito!",savingExceedSize:"Su respuesta supera los 64 KB. Reduzca el tamaño de su(s) archivo(s) e inténtelo de nuevo o póngase en contacto con el propietario de una encuesta.",saveAgainButton:"Inténtalo de nuevo.",timerMin:"min",timerSec:"sec",timerSpentAll:"Has gastado {0} en esta página y {1} en total.",timerSpentPage:"Usted ha pasado {0} en esta página.",timerSpentSurvey:"Has gastado en total.",timerLimitAll:"Has gastado {0} de {1} en esta página y {2} de {3} en total.",timerLimitPage:"Has gastado {0} de {1} en esta página.",timerLimitSurvey:"Usted ha gastado {0} de {1} en total.",clearCaption:"Borrar",signaturePlaceHolder:"Firma aqui",signaturePlaceHolderReadOnly:"Sin firma",chooseFileCaption:"Elija el archivo",takePhotoCaption:"Tomar foto",photoPlaceholder:"Haga clic en el botón de abajo para tomar una foto con la cámara.",fileOrPhotoPlaceholder:"Arrastre y suelte o seleccione un archivo para cargar o tomar una foto con la cámara.",replaceFileCaption:"Reemplazar archivo",removeFileCaption:"Elimina este archivo",booleanCheckedLabel:"SÃ",booleanUncheckedLabel:"No",confirmRemoveFile:"¿Estás seguro de que quieres eliminar este archivo: {0}?",confirmRemoveAllFiles:"¿Estás seguro de que quieres eliminar todos los archivos?",questionTitlePatternText:"TÃtulo de la pregunta",modalCancelButtonText:"Anular",modalApplyButtonText:"Aplicar",filterStringPlaceholder:"Escribe para buscar...",emptyMessage:"No hay datos para mostrar",noEntriesText:"Aún no hay entradas.\nHaga clic en el botón de abajo para agregar una nueva entrada.",noEntriesReadonlyText:"No hay entradas.",tabTitlePlaceholder:"Nuevo panel",more:"Más",tagboxDoneButtonCaption:"De acuerdo",selectToRankEmptyRankedAreaText:"Todas las opciones están clasificadas",selectToRankEmptyUnrankedAreaText:"Arrastra y suelta opciones aquà para clasificarlas",ok:"De acuerdo",cancel:"Cancelar"},nativeName:"español",englishName:"Spanish"});m({localeCode:"sw",strings:{pagePrevText:"Iliyotangulia",pageNextText:"Ifuatayo",completeText:"Kamili",previewText:"Hakiki",editText:"Hariri",startSurveyText:"Anza",otherItemText:"Nyingine (eleza)",noneItemText:"Hakuna",refuseItemText:"Kukataa kujibu",dontKnowItemText:"Sijui",selectAllItemText:"Chagua Zote",deselectAllItemText:"Delete All",progressText:"Ukurasa {0} wa {1}",indexText:"{0} ya {1}",panelDynamicProgressText:"Rekodi {0} ya {1}",panelDynamicTabTextFormat:"Panel {panelIndex}",questionsProgressText:"Yaliyojibiwa {0}/{1} maswali",emptySurvey:"Hakuna ukurasa unaoonekana au swali katika utafiti.",completingSurvey:"Asanti kwa kukamilisha utafiti!",completingSurveyBefore:"Recodi zetu zinatuonyesha tayari umekamilisha utafiti.",loadingSurvey:"Tunaandaa utafiti...",placeholder:"Chagua...",ratingOptionsCaption:"Teua...",value:"thamani",requiredError:"Tafadhali jibu hili swali.",requiredErrorInPanel:"Tafadhali jibu swali angalau moja.",requiredInAllRowsError:"Tafadhali jibu maswali katika safu zote.",eachRowUniqueError:"Kila safu lazima iwe na thamani ya kipekee.",numericError:"Thamani inapaswa kuwa ya nambari.",minError:"Thamani haipaswi kuwa chini ya {0}",maxError:"Thamani haipaswi kuwa kubwa kuliko {0}",textNoDigitsAllow:"Hesabu haziruhusiwi.",textMinLength:"Tafadhali ingiza angalau{0} husika.",textMaxLength:"Tafadhali ingiza isiozidi {0} husika.",textMinMaxLength:"Tafadhali ingiza kiwango zaidi ya {0} na kisichopungua {1} husika.",minRowCountError:"Tafadhali jaza isiopungua {0} safu.",minSelectError:"Tafadhali chagua angalau {0} lahaja.",maxSelectError:"Tafadhali changua isiozidi {0} lahaja.",numericMinMax:" '{0}' inapaswa kuwa sawa au zaidi ya {1} na sawa au chini ya {2}",numericMin:" '{0}'inapaswa kuwa sawa au zaidi ya {1}",numericMax:" '{0}'inapaswa kuwa sawa au chini ya {1}",invalidEmail:"Tafadhali ingiza anwani halali ya barua-pepe.",invalidExpression:"Usemi:{0} inapaswa kurudi 'kweli'.",urlRequestError:"Ombi lina kosa '{0}'. {1}",urlGetChoicesError:"Ombi lilirudisha data tupu au the 'path' mali ya njia sio sahihi",exceedMaxSize:"Saizi ya faili haipaswi kuzidi {0}.",noUploadFilesHandler:"Faili haziwezi kupakiwa. Tafadhali ongeza kishiko kwa tukio la 'onUploadFiles'.",otherRequiredError:"Tafadhali ingiza thamani nyingine.",uploadingFile:"Faili yako inapakia.Tafadhali subiri sekunde kadhaa na ujaribu tena.",loadingFile:"Inapakia...",chooseFile:"Chagua faili...",noFileChosen:"Hujachagua faili",filePlaceholder:"Buruta na udondoshe faili hapa au bofya kitufe hapa chini na uchague faili ya kupakia.",confirmDelete:"Je! Unataka kufuta rekodi?",keyDuplicationError:"Thamani hii inapaswa kuwa ya kipekee.",addColumn:"Ongeza Kolamu",addRow:"Ongeza safu",removeRow:"Toa",emptyRowsText:"Hakuna safu.",addPanel:"Ongeza mpya",removePanel:"Toa",showDetails:"Onyesha Maelezo",hideDetails:"Ficha Maelezo",choices_Item:"kitu",matrix_column:"Kolamu",matrix_row:"Safu",multipletext_itemname:"Ujumbe",savingData:"Matokeo yamehifadhiwa kwa seva...",savingDataError:"Kosa limetokea na hatukuweza kuhifadhi matokeo.",savingDataSuccess:"Matokeo yamehifadhiwa!",savingExceedSize:"Jibu lako ni zaidi ya 64KB. Tafadhali punguza ukubwa wa faili yako na jaribu tena au wasiliana na mmiliki wa utafiti.",saveAgainButton:"Jaribu tena",timerMin:"dakika",timerSec:"sekunde",timerSpentAll:"Umetumia {0} kwenye ukurasa huu na {1} kwa jumla.",timerSpentPage:"Umetumia {0} kwenye ukurasa huu.",timerSpentSurvey:"Umetumia {0} kwa jumla.",timerLimitAll:"Umetumia {0} ya {1} kwenye ukurasa huu {2} wa {3} kwa jumla.",timerLimitPage:"Umetumia {0} ya {1} kwenye ukurasa huu.",timerLimitSurvey:"Umetumia {0} ya {1} kwa jumla.",clearCaption:"Ondoa",signaturePlaceHolder:"Ingia hapa",signaturePlaceHolderReadOnly:"Hakuna saini",chooseFileCaption:"Chagua faili",takePhotoCaption:"Chukua Picha",photoPlaceholder:"Bonyeza kitufe hapa chini ili kupiga picha kwa kutumia kamera.",fileOrPhotoPlaceholder:"Drag na kuacha au kuchagua faili kupakia au kuchukua picha kwa kutumia kamera.",replaceFileCaption:"Badilisha faili",removeFileCaption:"Ondoa faili",booleanCheckedLabel:"Ndio",booleanUncheckedLabel:"Hapana",confirmRemoveFile:"Je! Una uhakika kuwa unataka kuondoa faili hii: {0}?",confirmRemoveAllFiles:"Je! Una uhakika kuwa unataka kuondoa faili zote?",questionTitlePatternText:"Kichwa cha Swali",modalCancelButtonText:"Katisha",modalApplyButtonText:"Tekeleza",filterStringPlaceholder:"Andika ili kutafuta...",emptyMessage:"Hakuna data ya kuonyesha",noEntriesText:"Hakuna maingizo kwa sasa.\nBofya kitufe hapa chini ili kuongeza ingizo jipya.",noEntriesReadonlyText:"Hakuna viingilio.",tabTitlePlaceholder:"Jopo Jipya",more:"Zaidi",tagboxDoneButtonCaption:"Sawa kabisa",selectToRankEmptyRankedAreaText:"Chaguzi zote zimeorodheshwa",selectToRankEmptyUnrankedAreaText:"Buruta na uache uchaguzi hapa ili kuziorodhesha",ok:"Sawa kabisa",cancel:"Katisha"},nativeName:"swahili",englishName:"Swahili"});m({localeCode:"sv",strings:{pagePrevText:"FöregÃ¥ende",pageNextText:"Nästa",completeText:"Slutför",previewText:"Förhandsvisning",editText:"Redigera",startSurveyText:"Börja",otherItemText:"Annat (beskriv)",noneItemText:"Ingen",refuseItemText:"Vägra svara",dontKnowItemText:"Vet inte",selectAllItemText:"Välj alla",deselectAllItemText:"Avmarkera alla",progressText:"Sida {0} av {1}",indexText:"{0} av {1}",panelDynamicProgressText:"{0} av {1}",panelDynamicTabTextFormat:"Panel {panelIndex}",questionsProgressText:"{0} / {1} frÃ¥gor besvarade",emptySurvey:"Det finns ingen synlig sida eller frÃ¥ga i enkäten.",completingSurvey:"Tack för att du genomfört enkäten!!",completingSurveyBefore:"VÃ¥ra register visar att du redan har slutfört denna undersökning.",loadingSurvey:"Enkäten laddas...",placeholder:"Välj...",ratingOptionsCaption:"Tryck här för att betygsätta...",value:"värde",requiredError:"FrÃ¥gan är obligatorisk.",requiredErrorInPanel:"Vänligen svara pÃ¥ minst en frÃ¥ga.",requiredInAllRowsError:"Var vänlig besvara frÃ¥gorna pÃ¥ alla rader.",eachRowUniqueError:"Varje rad mÃ¥ste ha ett unikt värde.",numericError:"Värdet ska vara numeriskt.",minError:"Värdet fÃ¥r inte vara mindre än {0}",maxError:"Värdet fÃ¥r inte vara större än {0}",textNoDigitsAllow:"Nummer är inte tillÃ¥tna.",textMinLength:"Ange minst {0} tecken.",textMaxLength:"Ange färre än {0} tecken.",textMinMaxLength:"Ange mer än {0} och färre än {1} tecken.",minRowCountError:"Var vänlig fyll i minst {0} rader.",minSelectError:"Var vänlig välj Ã¥tminstone {0} varianter.",maxSelectError:"Var vänlig välj inte fler än {0} varianter.",numericMinMax:"'{0}' ska vara lika med eller mer än {1} samt lika med eller mindre än {2}",numericMin:"'{0}' ska vara lika med eller mer än {1}",numericMax:"'{0}' ska vara lika med eller mindre än {1}",invalidEmail:"Var vänlig ange en korrekt e-postadress.",invalidExpression:"Uttrycket: {0} ska returnera 'true'.",urlRequestError:"FörfrÃ¥gan returnerade felet '{0}'. {1}",urlGetChoicesError:"Antingen returnerade förfrÃ¥gan ingen data eller sÃ¥ är egenskapen 'path' inte korrekt",exceedMaxSize:"Filstorleken fÃ¥r ej överstiga {0}.",noUploadFilesHandler:"Filer kan inte laddas upp. Lägg till en hanterare för händelsen 'onUploadFiles'.",otherRequiredError:"Var vänlig ange det andra värdet.",uploadingFile:"Din fil laddas upp. Var vänlig vänta nÃ¥gra sekunder och försök sedan igen.",loadingFile:"Laddar...",chooseFile:"Välj fil(er) ...",noFileChosen:"Ingen fil vald",filePlaceholder:"Dra och släpp en fil här eller klicka pÃ¥ knappen nedan och välj en fil att ladda upp.",confirmDelete:"Vill du radera posten?",keyDuplicationError:"Detta värde ska vara unikt.",addColumn:"Lägg till kolumn",addRow:"Lägg till rad",removeRow:"Ta bort",emptyRowsText:"Det finns inga rader.",addPanel:"Lägg till ny",removePanel:"Ta bort",showDetails:"Detaljer",hideDetails:"Göm detaljer",choices_Item:"Artikel",matrix_column:"Kolumn",matrix_row:"Rad",multipletext_itemname:"text",savingData:"Resultaten sparas pÃ¥ servern ...",savingDataError:"Ett fel inträffade och vi kunde inte spara resultaten.",savingDataSuccess:"Resultaten lyckades sparas!",savingExceedSize:"Ditt svar överskrider 64 kB. Minska storleken pÃ¥ dina filer och försök igen eller kontakta en undersökningsägare.",saveAgainButton:"Försök igen",timerMin:"min",timerSec:"sek",timerSpentAll:"Du har spenderat {0} pÃ¥ den här sidan och {1} totalt.",timerSpentPage:"Du har spenderat {0} pÃ¥ den här sidan.",timerSpentSurvey:"Du har spenderat {0} totalt.",timerLimitAll:"Du har spenderat {0} av {1} pÃ¥ den här sidan och {2} av {3} totalt.",timerLimitPage:"Du har spenderat {0} av {1} pÃ¥ den här sidan.",timerLimitSurvey:"Du har spenderat {0} av {1} totalt.",clearCaption:"Klar",signaturePlaceHolder:"Signera här",signaturePlaceHolderReadOnly:"Ingen signatur",chooseFileCaption:"Välj fil",takePhotoCaption:"Ta foto",photoPlaceholder:"Klicka pÃ¥ knappen nedan för att ta ett foto med kameran.",fileOrPhotoPlaceholder:"Dra och släpp eller välj en fil att ladda upp eller ta ett foto med kameran.",replaceFileCaption:"Ersätt fil",removeFileCaption:"Ta bort den här filen",booleanCheckedLabel:"Ja",booleanUncheckedLabel:"Nej",confirmRemoveFile:"Ãr du säker pÃ¥ att du vill ta bort den här filen: {0}?",confirmRemoveAllFiles:"Ãr du säker pÃ¥ att du vill ta bort alla filer?",questionTitlePatternText:"FrÃ¥getitel",modalCancelButtonText:"Avbryt",modalApplyButtonText:"Spara",filterStringPlaceholder:"Skriv för att söka...",emptyMessage:"Ingen data finns",noEntriesText:"Det finns inga värden än.\nKlicka pÃ¥ knappen nedan för att lägga till nytt värde.",noEntriesReadonlyText:"Det finns inga poster.",tabTitlePlaceholder:"Ny panel",more:"Mer",tagboxDoneButtonCaption:"OKEJ",selectToRankEmptyRankedAreaText:"Alla val rangordnas",selectToRankEmptyUnrankedAreaText:"Dra och släpp val här för att rangordna dem",ok:"OKEJ",cancel:"Annullera"},nativeName:"svenska",englishName:"Swedish"});m({localeCode:"tg",strings:{pagePrevText:"ÐозгаÑÑ",pageNextText:"ÐÑнда",completeText:"ÐÒ·Ñо ÑÑд",startSurveyText:"ÐÒоз",otherItemText:"ÐÐ¸Ð³Ð°Ñ (лÑÑÑан ÑавÑÐ¸Ñ ÐºÑнед)",noneItemText:"Ðе",selectAllItemText:"ҲамаÑо инÑиÑ
об каÑдан",progressText:"СаҳиÑаи {0} аз {1}",emptySurvey:"Ягон Ñавол вÑÒ·Ñд надоÑад.",completingSurvey:"ТаÑаккÑÑ Ð±Ð°Ñои пÑÑ ÐºÐ°Ñдани Ñаволнома!",completingSurveyBefore:"ШÑмо аллакай ин пÑÑÑиÑÑо анҷом додаед.",loadingSurvey:"ÐоÑгиÑÓ£ аз ÑеÑвеÑ...",placeholder:"ÐнÑиÑ
об каÑдан...",value:"ÒиммаÑ",requiredError:"ÐлÑимоÑ, ба Ñавол ҷавоб диҳед.",requiredErrorInPanel:"ÐлÑимоÑ, аÒалан ба Ñк Ñавол ҷавоб диҳед.",requiredInAllRowsError:"ÐлÑимоÑ, ба ҳамаи Ñаволҳо Ð´Ð°Ñ Ò³Ð°Ð¼Ð°Ð¸ ÑаÑÑҳо ҷавоб диҳед.",numericError:"Ҷавоб боÑд ÑаÒам боÑад.",textMinLength:"ÐлÑимоÑ, аз {0} зиÑдÑÐ°Ñ Ñамз воÑид кÑнед.",textMaxLength:"ÐлÑимоÑ, аз {0} камÑÐ°Ñ Ñамз воÑид кÑнед.",textMinMaxLength:"ÐлÑимоÑ, аз {0} зиÑдÑÐ°Ñ Ð²Ð° аз {1} камÑÐ°Ñ Ñамз воÑид кÑнед.",minRowCountError:"ÐлÑимоÑ, на камÑÐ°Ñ Ð°Ð· {0} ÑаÑÑ Ð¿ÑÑ ÐºÑнед.",minSelectError:"ÐлÑимоÑ, аÒалан {0} ваÑÐ¸Ð°Ð½Ñ Ð¸Ð½ÑиÑ
об кÑнед.",maxSelectError:"ÐлÑимоÑ, на зиÑдÑÐ°Ñ Ð°Ð· {0} ваÑÐ¸Ð°Ð½Ñ Ð¸Ð½ÑиÑ
об кÑнед.",numericMinMax:"'{0}' боÑд на кам аз {1} ва на биÑÑÑ Ð°Ð· {2} боÑад",numericMin:"'{0}' боÑд на кам аз {1} боÑад",numericMax:"'{0}' боÑд на зиÑд аз {1} боÑад",invalidEmail:"ÐлÑимоÑ, поÑÑаи ÑлекÑÑонии воÒеиÑо воÑид кÑнед.",invalidExpression:"ÐÑодаи {0} боÑд 'true' баÑгаÑдонад.",urlRequestError:"ÐаÑÑ
оÑÑ Ñ
аÑогӣ бозгаÑдонд '{0}'. {1}",urlGetChoicesError:"Ҷавоб ба даÑÑ
оÑÑ Ñ
олӣ омад Ñ Ñ
оÑиÑÑи 'path' нодÑÑÑÑÑ Ð¼ÑайÑн каÑда ÑÑдааÑÑ",exceedMaxSize:"Ðндозаи Ñайл боÑд на калон аз {0} боÑад.",otherRequiredError:"ÐлÑимоÑ, ба майдони 'ÐигаÑ' додаҳоÑо воÑид кÑнед",uploadingFile:"Файли ÑÑмо Ð±Ð¾Ñ ÑÑда иÑÑодааÑÑ. ЯкÑанд ÑÐ¾Ð½Ð¸Ñ Ð¸Ð½ÑÐ¸Ð·Ð¾Ñ Ñавед ва боÑи Ð´Ð¸Ð³Ð°Ñ ÐºÓ¯ÑÐ¸Ñ ÐºÑнед.",loadingFile:"ÐоÑкÑнӣ...",chooseFile:"Файл(ҳо)-Ñо инÑиÑ
об кÑнед...",confirmDelete:"ШÑмо мÑÑмаин ҳаÑÑед, ки меÑ
оҳед воÑидÑо Ñоза кÑнед?",keyDuplicationError:"Ðн аÑÐ·Ð¸Ñ Ð±Ð¾Ñд Ð±ÐµÐ½Ð°Ð·Ð¸Ñ Ð±Ð¾Ñад.",addColumn:"Ðловаи ÑÑÑÑн",addRow:"Ðловаи ÑаÑÑ",removeRow:"ÐеÑÑ ÐºÐ°Ñдан",addPanel:"Ðлова каÑдан",removePanel:"ÐеÑÑ ÐºÐ°Ñдан",choices_Item:"ÐаÑианÑ",matrix_column:"СÑÑÑн",matrix_row:"СаÑÑ",savingData:"ÐаÑиҷа ба ÑеÑÐ²ÐµÑ ÑÐ°Ð±Ñ ÑÑда иÑÑодаанд...",savingDataError:"ХаÑогӣ ба амал омад, наÑиҷа ÑÐ°Ð±Ñ Ð½Ð°ÑÑд.",savingDataSuccess:"ÐаÑиҷа бомÑваÑÑакиÑÑ ÑÐ°Ð±Ñ ÑÑд!",saveAgainButton:"ÐоÑи Ð´Ð¸Ð³Ð°Ñ ÐºÓ¯ÑÐ¸Ñ ÐºÐ°Ñданд",timerMin:"даÒ",timerSec:"Ñон",timerSpentAll:"ШÑмо {0} Ð´Ð°Ñ Ð¸Ð½ ÑаҳиÑа ва {1} Ð´Ð°Ñ ÑмÑм ÑаÑÑ ÐºÐ°Ñдед.",timerSpentPage:"ШÑмо {0} Ð´Ð°Ñ Ð¸Ð½ ÑаҳиÑа ÑаÑÑ ÐºÐ°Ñдед.",timerSpentSurvey:"ШÑмо {0} Ð´Ð°Ñ Ð¸Ð½ ÑеÑÑ ÑаÑÑ Ð½Ð°Ð¼Ñдед.",timerLimitAll:"ШÑмо {0} аз {1} Ð´Ð°Ñ Ð¸Ð½ ÑаҳиÑа ва {2} аз {3} Ð´Ð°Ñ ÑмÑм ÑаÑÑ ÐºÐ°Ñдед Ð´Ð°Ñ Ð´Ð¾Ñ
или ин ÑеÑÑ.",timerLimitPage:"ШÑмо {0} аз {1} Ð´Ð°Ñ Ð¸Ð½ ÑаҳиÑа ÑаÑÑ ÐºÐ°Ñдед.",timerLimitSurvey:"ШÑмо {0} аз {1} Ð´Ð°Ñ Ò³Ð°Ð¼Ð°Ð¸ ÑеÑÑ ÑаÑÑ ÐºÐ°Ñдед.",clearCaption:"Тоза каÑдан",removeFileCaption:"ФайлÑо неÑÑ ÐºÐ°Ñдан"},nativeName:"Ñоҷикӣ",englishName:"Tajik"});m({localeCode:"th",strings:{pagePrevText:"à¸à¹à¸à¸à¸«à¸à¹à¸²",pageNextText:"à¸à¸±à¸à¹à¸",completeText:"สำà¹à¸£à¹à¸",previewText:"à¸à¸¹à¸à¸±à¸§à¸à¸¢à¹à¸²à¸",editText:"à¹à¸à¹à¹à¸",startSurveyText:"à¹à¸£à¸´à¹à¸¡",otherItemText:"à¸à¸·à¹à¸à¹ (à¹à¸à¸£à¸à¸£à¸°à¸à¸¸)",noneItemText:"à¹à¸¡à¹à¸¡à¸µ",refuseItemText:"à¸à¸à¸´à¹à¸ªà¸à¸à¸µà¹à¸à¸°à¸à¸à¸",dontKnowItemText:"à¹à¸¡à¹à¸à¸£à¸²à¸",selectAllItemText:"à¹à¸¥à¸·à¸à¸à¸à¸±à¹à¸à¸«à¸¡à¸",deselectAllItemText:"ยà¸à¹à¸¥à¸´à¸à¸à¸²à¸£à¹à¸¥à¸·à¸à¸à¸à¸±à¹à¸à¸«à¸¡à¸",progressText:"หà¸à¹à¸²à¸à¸µà¹ {0} à¸à¸²à¸ {1}",indexText:"{0} of {1}",panelDynamicProgressText:"รายà¸à¸²à¸£à¸à¸µà¹ {0} à¸à¸²à¸ {1}",panelDynamicTabTextFormat:"à¹à¸à¸ {panelIndex}",questionsProgressText:"à¸à¸³à¸à¸à¸à¸à¸µà¹ {0}/{1} à¸à¸³à¸à¸§à¸à¸à¸³à¸à¸²à¸¡",emptySurvey:"à¹à¸¡à¹à¸¡à¸µà¸«à¸à¹à¸²à¹à¸à¸à¸à¸µà¹à¸¡à¸à¸à¹à¸«à¹à¸ หรืภà¸à¸³à¸à¸²à¸¡à¹à¸ survey à¸à¸µà¹",completingSurvey:"à¸à¸à¸à¸à¸¸à¸à¸à¸µà¹à¸à¸³ survey à¸à¸à¹à¸ªà¸£à¹à¸",completingSurveyBefore:"รายà¸à¸²à¸£à¸à¸à¸à¹à¸£à¸²à¹à¸ªà¸à¸à¸§à¹à¸²à¸à¸¸à¸à¹à¸à¹à¸à¸³ survey à¹à¸ªà¸£à¹à¸à¹à¸£à¸µà¸¢à¸à¸£à¹à¸à¸¢à¹à¸¥à¹à¸§",loadingSurvey:"à¸à¸³à¸¥à¸±à¸à¹à¸«à¸¥à¸ Survey...",placeholder:"à¹à¸¥à¸·à¸à¸...",ratingOptionsCaption:"à¹à¸¥à¸·à¸à¸ ",value:"à¸à¹à¸à¸¡à¸¹à¸¥",requiredError:"à¸à¸£à¸¸à¸à¸²à¸à¸à¸à¸à¸³à¸à¸²à¸¡",requiredErrorInPanel:"à¸à¸£à¸¸à¸à¸²à¸à¸à¸à¸à¸±à¹à¸à¸à¹à¸³à¸«à¸à¸¶à¹à¸à¸à¸³à¸à¸²à¸¡",requiredInAllRowsError:"à¸à¸£à¸¸à¸à¸²à¸à¸à¸à¸à¸³à¸à¸²à¸¡à¹à¸à¸à¸¸à¸à¹à¹à¸à¸§",eachRowUniqueError:"à¹à¸à¹à¸¥à¸°à¹à¸à¸§à¸à¹à¸à¸à¸¡à¸µà¸à¹à¸²à¸à¸µà¹à¹à¸¡à¹à¸à¹à¹à¸²à¸à¸±à¸",numericError:"à¸à¹à¸à¸¡à¸¹à¸¥à¸à¸µà¹à¹à¸ªà¹à¸à¹à¸à¸à¹à¸à¹à¸à¸à¸±à¸§à¹à¸¥à¸",minError:"à¸à¹à¸²à¹à¸¡à¹à¸à¸§à¸£à¸à¹à¸à¸¢à¸à¸§à¹à¸² {0}",maxError:"à¸à¹à¸²à¹à¸¡à¹à¸à¸§à¸£à¹à¸à¸´à¸{0}",textNoDigitsAllow:"à¹à¸¡à¹à¸à¸à¸¸à¸à¸²à¸à¹à¸«à¹à¹à¸à¹à¸«à¸¡à¸²à¸¢à¹à¸¥à¸",textMinLength:"à¸à¸£à¸¸à¸à¸²à¹à¸ªà¹à¸à¸±à¹à¸à¸à¹à¸³à¸à¸³à¸à¸§à¸ {0} à¸à¸±à¸§à¸à¸±à¸à¸©à¸£",textMaxLength:"à¸à¸£à¸¸à¸à¸²à¹à¸ªà¹à¹à¸¡à¹à¹à¸à¸´à¸à¸à¸³à¸à¸§à¸ {0} à¸à¸±à¸§à¸à¸±à¸à¸©à¸£",textMinMaxLength:"à¸à¸£à¸¸à¸à¸²à¹à¸ªà¹à¸à¸±à¹à¸à¸à¹à¸³à¸à¸³à¸à¸§à¸ {0} à¹à¸¥à¸°à¹à¸¡à¹à¹à¸à¸´à¸à¸à¸³à¸à¸§à¸ {1} à¸à¸±à¸§à¸à¸±à¸à¸©à¸£",minRowCountError:"à¸à¸£à¸¸à¸à¸²à¹à¸ªà¹à¸à¸±à¹à¸à¸à¹à¸³à¸à¸³à¸à¸§à¸ {0} à¹à¸à¸§",minSelectError:"à¸à¸£à¸¸à¸à¸²à¹à¸¥à¸·à¸à¸à¸à¸¢à¹à¸²à¸à¸à¹à¸à¸¢ {0} รายà¸à¸²à¸£",maxSelectError:"à¸à¸£à¸¸à¸à¸²à¹à¸¥à¸·à¸à¸à¹à¸¡à¹à¹à¸à¸´à¸ {0} รายà¸à¸²à¸£",numericMinMax:"'{0}' à¸à¹à¸à¸à¸¡à¸²à¸à¸à¸§à¹à¸²à¸«à¸£à¸·à¸à¹à¸à¹à¸²à¸à¸±à¸ {1} à¹à¸¥à¸°à¸à¹à¸à¸¢à¸à¸§à¹à¸²à¸«à¸£à¸·à¸à¹à¸à¹à¸²à¸à¸±à¸ {2}",numericMin:"'{0}' à¸à¹à¸à¸à¸¡à¸²à¸à¸à¸§à¹à¸²à¸«à¸£à¸·à¸à¹à¸à¹à¸²à¸à¸±à¸ {1}",numericMax:"'{0}' à¸à¹à¸à¸¢à¸à¸§à¹à¸²à¸«à¸£à¸·à¸à¹à¸à¹à¸²à¸à¸±à¸ {1}",invalidEmail:"à¸à¸£à¸¸à¸à¸²à¹à¸ªà¹à¸à¸µà¹à¸¡à¸¥à¹à¹à¸à¸à¹à¸à¸£à¸ªà¸à¸µà¹à¸à¸¹à¸à¸à¹à¸à¸",invalidExpression:"The expression: {0} à¸à¹à¸à¸à¸£à¸µà¹à¸à¸´à¸£à¹à¸ 'true'.",urlRequestError:"รีà¹à¸à¸§à¸ªà¸£à¸µà¹à¸à¸´à¸£à¹à¸ error '{0}'. {1}",urlGetChoicesError:"รีà¹à¸à¸§à¸ªà¸£à¸µà¹à¸à¸´à¸£à¹à¸à¸à¹à¸à¸¡à¸¹à¸¥à¸§à¹à¸²à¸à¹à¸à¸¥à¹à¸² หรืภ'path' property à¹à¸¡à¹à¸à¸¹à¸à¸à¹à¸à¸",exceedMaxSize:"à¸à¸à¸²à¸à¹à¸à¸¥à¹à¸à¹à¸à¸à¹à¸¡à¹à¹à¸à¸´à¸ {0}.",noUploadFilesHandler:"à¹à¸¡à¹à¸ªà¸²à¸¡à¸²à¸£à¸à¸à¸±à¸à¹à¸«à¸¥à¸à¹à¸à¸¥à¹à¹à¸à¹ à¹à¸à¸£à¸à¹à¸à¸´à¹à¸¡à¸à¸±à¸§à¸à¸±à¸à¸à¸²à¸£à¸ªà¹à¸²à¸«à¸£à¸±à¸à¹à¸«à¸à¸¸à¸à¸²à¸£à¸à¹ 'onUploadFiles'",otherRequiredError:"à¸à¸£à¸¸à¸à¸²à¹à¸ªà¹à¸à¹à¸²à¸à¸·à¹à¸",uploadingFile:"à¹à¸à¸¥à¹à¸à¸à¸à¸à¸¸à¸à¸à¸³à¸¥à¸±à¸à¸à¸±à¸à¹à¸«à¸¥à¸à¸à¸¢à¸¹à¹. à¸à¸£à¸¸à¸à¸²à¸£à¸à¸ªà¸±à¸à¸à¸£à¸¹à¹à¹à¸¥à¹à¸§à¸à¸³à¸à¸²à¸£à¸¥à¸à¸à¸à¸µà¸à¸à¸£à¸±à¹à¸",loadingFile:"à¸à¸³à¸¥à¸±à¸à¹à¸«à¸¥à¸...",chooseFile:"à¹à¸¥à¸·à¸à¸à¹à¸à¸¥à¹...",noFileChosen:"à¹à¸¡à¹à¹à¸à¸¥à¹à¸à¸µà¹à¹à¸¥à¸·à¸à¸",filePlaceholder:"ลาà¸à¹à¸¥à¸°à¸§à¸²à¸à¹à¸à¸¥à¹à¸à¸µà¹à¸à¸µà¹à¸«à¸£à¸·à¸à¸à¸¥à¸´à¸à¸à¸¸à¹à¸¡à¸à¹à¸²à¸à¸¥à¹à¸²à¸à¹à¸¥à¸°à¹à¸¥à¸·à¸à¸à¹à¸à¸¥à¹à¸à¸µà¹à¸à¸°à¸à¸±à¸à¹à¸«à¸¥à¸",confirmDelete:"à¸à¸¸à¸à¸à¹à¸à¸à¸à¸²à¸£à¸¥à¸à¸£à¸²à¸¢à¸à¸²à¸£à¸à¸µà¹à¸à¸£à¸´à¸à¸«à¸£à¸·à¸à¹à¸¡à¹?",keyDuplicationError:"à¸à¹à¸à¸¡à¸¹à¸¥à¸à¸µà¹à¸à¹à¸à¸à¹à¸à¹à¸ unique.",addColumn:"à¹à¸à¸´à¹à¸¡à¸à¸à¸¥à¸±à¸¡à¸à¹",addRow:"à¹à¸à¸´à¹à¸¡à¹à¸à¸§",removeRow:"ลà¸",emptyRowsText:"à¹à¸¡à¹à¸¡à¸µà¹à¸à¸§",addPanel:"à¹à¸à¸´à¹à¸¡",removePanel:"ลà¸",showDetails:"à¹à¸ªà¸à¸à¸£à¸²à¸¢à¸¥à¸°à¹à¸à¸µà¸¢à¸",hideDetails:"à¸à¹à¸à¸à¸£à¸²à¸¢à¸¥à¸°à¹à¸à¸µà¸¢à¸",choices_Item:"à¸à¸´à¹à¸",matrix_column:"à¸à¸à¸¥à¸±à¸¡à¸à¹",matrix_row:"à¹à¸à¸§",multipletext_itemname:"à¸à¹à¸à¸à¸§à¸²à¸¡",savingData:"à¸à¸¥à¸¥à¸±à¸à¸à¹à¸à¸³à¸¥à¸±à¸à¸à¸±à¸à¸à¸¶à¸à¸¥à¸à¸à¸µà¹à¹à¸à¸´à¸£à¹à¸à¹à¸§à¸à¸£à¹...",savingDataError:"มีà¸à¸§à¸²à¸¡à¸à¸´à¸à¸à¸¥à¸²à¸à¹à¸à¸´à¸à¸à¸¶à¹à¸à¸ªà¹à¸à¸à¸¥à¹à¸«à¹à¹à¸¡à¹à¸ªà¸²à¸¡à¸²à¸£à¸à¸à¸±à¸à¸à¸¶à¸à¸à¸¥à¹à¸à¹",savingDataSuccess:"à¸à¸±à¸à¸à¸¶à¸à¸ªà¸³à¹à¸£à¹à¸à¹à¸¥à¹à¸§",savingExceedSize:"à¸à¹à¸²à¸à¸à¸à¸à¸à¸à¸à¸¸à¸à¹à¸à¸´à¸ 64KB à¹à¸à¸£à¸à¸¥à¸à¸à¸à¸²à¸à¹à¸à¸¥à¹à¸à¸à¸à¸à¸¸à¸à¹à¸¥à¹à¸§à¸¥à¸à¸à¸à¸µà¸à¸à¸£à¸±à¹à¸à¸«à¸£à¸·à¸à¸à¸´à¸à¸à¹à¸à¹à¸à¹à¸²à¸à¸à¸à¹à¸à¸à¸ªà¹à¸²à¸£à¸§à¸",saveAgainButton:"รà¸à¸à¸§à¸à¸¥à¸à¸à¸à¸µà¸à¸à¸£à¸±à¹à¸",timerMin:"à¸à¸²à¸à¸µ",timerSec:"วิà¸à¸²à¸à¸µ",timerSpentAll:"à¸à¸¸à¸à¹à¸à¹à¹à¸§à¸¥à¸² {0} à¸à¸à¸«à¸à¹à¸²à¸à¸µà¹à¹à¸¥à¸° {1} รวมà¸à¸±à¹à¸à¸«à¸¡à¸",timerSpentPage:"à¸à¸¸à¸à¹à¸à¹à¹à¸§à¸¥à¸² {0} à¸à¸à¸«à¸à¹à¸²à¸à¸µà¹",timerSpentSurvey:"à¸à¸¸à¸à¹à¸à¹à¹à¸§à¸¥à¸² {0} รวมà¸à¸±à¹à¸à¸«à¸¡à¸",timerLimitAll:"à¸à¸¸à¸à¹à¸à¹à¹à¸§à¸¥à¸² {0} à¸à¸à¸ {1} à¸à¸à¸«à¸à¹à¸²à¸à¸µà¹à¹à¸¥à¸° {2} à¸à¸à¸ {3} รวมà¸à¸±à¹à¸à¸«à¸¡à¸",timerLimitPage:"à¸à¸¸à¸à¹à¸à¹à¹à¸§à¸¥à¸² {0} à¸à¸à¸ {1} à¸à¸à¸«à¸à¹à¸²à¸à¸µà¹",timerLimitSurvey:"à¸à¸¸à¸à¹à¸à¹à¹à¸§à¸¥à¸² {0} à¸à¸à¸ {1} รวมà¸à¸±à¹à¸à¸«à¸¡à¸",clearCaption:"à¹à¸à¸¥à¸µà¸¢à¸£à¹",signaturePlaceHolder:"ลà¸à¸à¸·à¹à¸à¸à¸µà¹à¸à¸µà¹",signaturePlaceHolderReadOnly:"à¹à¸¡à¹à¸¡à¸µà¸¥à¸²à¸¢à¹à¸à¹à¸",chooseFileCaption:"à¹à¸¥à¸·à¸à¸à¹à¸à¸¥à¹",takePhotoCaption:"à¸à¹à¸²à¸¢à¸£à¸¹à¸",photoPlaceholder:"à¸à¸¥à¸´à¸à¸à¸¸à¹à¸¡à¸à¹à¸²à¸à¸¥à¹à¸²à¸à¹à¸à¸·à¹à¸à¸à¹à¸²à¸¢à¸ าà¸à¹à¸à¸¢à¹à¸à¹à¸à¸¥à¹à¸à¸",fileOrPhotoPlaceholder:"ลาà¸à¹à¸¥à¸°à¸§à¸²à¸à¸«à¸£à¸·à¸à¹à¸¥à¸·à¸à¸à¹à¸à¸¥à¹à¸à¸µà¹à¸à¸°à¸à¸±à¸à¹à¸«à¸¥à¸à¸«à¸£à¸·à¸à¸à¹à¸²à¸¢à¸ าà¸à¹à¸à¸¢à¹à¸à¹à¸à¸¥à¹à¸à¸",replaceFileCaption:"à¹à¸à¸à¸à¸µà¹à¹à¸à¸¥à¹",removeFileCaption:"à¸à¸³à¹à¸à¸¥à¹à¸à¸µà¹à¸à¸à¸",booleanCheckedLabel:"à¹à¸à¹",booleanUncheckedLabel:"à¹à¸¡à¹à¹à¸à¹",confirmRemoveFile:"à¸à¸¸à¸à¹à¸à¹à¹à¸à¸à¸µà¹à¸à¸°à¸à¸³à¹à¸à¸¥à¹à¸à¸µà¹à¸à¸à¸à¹à¸à¹à¸«à¸£à¸·à¸à¹à¸¡à¹: {0}?",confirmRemoveAllFiles:"à¸à¸¸à¸à¹à¸à¹à¹à¸à¸à¸µà¹à¸à¸°à¸à¸³à¹à¸à¸¥à¹à¸à¸±à¹à¸à¸«à¸¡à¸à¸à¸à¸à¹à¸à¹à¸«à¸£à¸·à¸à¹à¸¡à¹",questionTitlePatternText:"à¸à¸·à¹à¸à¸à¸³à¸à¸²à¸¡",modalCancelButtonText:"ยà¸à¹à¸¥à¸´à¸",modalApplyButtonText:"à¹à¸à¹",filterStringPlaceholder:"à¸à¸´à¸¡à¸à¹à¹à¸à¸·à¹à¸à¸à¹à¸à¸«à¸²...",emptyMessage:"à¹à¸¡à¹à¸¡à¸µà¸à¹à¸à¸¡à¸¹à¸¥à¸à¸µà¹à¸à¸°à¹à¸ªà¸à¸",noEntriesText:"ยัà¸à¹à¸¡à¹à¸¡à¸µà¸£à¸²à¸¢à¸à¸²à¸£\nà¸à¸¥à¸´à¸à¸à¸¸à¹à¸¡à¸à¹à¸²à¸à¸¥à¹à¸²à¸à¹à¸à¸·à¹à¸à¹à¸à¸´à¹à¸¡à¸£à¸²à¸¢à¸à¸²à¸£à¹à¸«à¸¡à¹",noEntriesReadonlyText:"à¹à¸¡à¹à¸¡à¸µà¸£à¸²à¸¢à¸à¸²à¸£",tabTitlePlaceholder:"à¹à¸à¸à¹à¸«à¸¡à¹",more:"à¸à¸µà¸",tagboxDoneButtonCaption:"à¸à¸à¸¥à¸, à¹à¸à¹",selectToRankEmptyRankedAreaText:"à¸à¸±à¸§à¹à¸¥à¸·à¸à¸à¸à¸±à¹à¸à¸«à¸¡à¸à¸à¸°à¸à¸¹à¸à¸à¸±à¸à¸à¸±à¸à¸à¸±à¸",selectToRankEmptyUnrankedAreaText:"ลาà¸à¹à¸¥à¸°à¸§à¸²à¸à¸à¸±à¸§à¹à¸¥à¸·à¸à¸à¸à¸µà¹à¸à¸µà¹à¹à¸à¸·à¹à¸à¸à¸±à¸à¸à¸±à¸à¸à¸±à¸",ok:"à¸à¸à¸¥à¸, à¹à¸à¹",cancel:"ยà¸à¹à¸¥à¸´à¸"},nativeName:"à¹à¸à¸¢",englishName:"Thai"});m({localeCode:"zh-tw",strings:{pagePrevText:"ä¸ä¸é ",pageNextText:"ä¸ä¸é ",completeText:"æäº¤åå·",previewText:"é 覽",editText:"編輯",startSurveyText:"éå§",otherItemText:"填寫å
¶ä»çæ¡",noneItemText:"æ²æ",refuseItemText:"æçµåç",dontKnowItemText:"ä¸ç¥é",selectAllItemText:"å
¨é¸",deselectAllItemText:"åæ¶å
¨é¸",progressText:"第 {0} é , å
± {1} é ",indexText:"{1}{0}",panelDynamicProgressText:"{1}{0}",panelDynamicTabTextFormat:"颿¿ {颿¿ç´¢å¼}",questionsProgressText:"åçäº{0}/{1}åé¡",emptySurvey:"åå·ä¸æ²æå顿é é¢",completingSurvey:"æè¬æ¨çåè!",completingSurveyBefore:"æåçè¨é顯示æ¨å·²ç¶å®æäºæ¤èª¿æ¥ã",loadingSurvey:"åå·è¼å
¥ä¸...",placeholder:"è«é¸æ...",ratingOptionsCaption:"鏿ããã",value:"å¹å¼",requiredError:"è«å¡«å¯«æ¤åé¡",requiredErrorInPanel:"éè¦åçï¼è³å°åçä¸ååé¡ã",requiredInAllRowsError:"è«å¡«å¯«ææè¡ä¸åé¡",eachRowUniqueError:"æ¯è¡å¿
é å
·æå¯ä¸å¼ã",numericError:"çæ¡å¿
é æ¯åæ¸å",minError:"該å¼ä¸æå°æ¼ {0}",maxError:"該å¼ä¸æå¤§æ¼ {0}",textNoDigitsAllow:"ä¸å
è¨±ä½¿ç¨æ¸ä½ã",textMinLength:"çæ¡é·åº¦è³å° {0} ååå
",textMaxLength:"çæ¡é·åº¦ä¸è½è¶
é {0} ååå
",textMinMaxLength:"çæ¡é·åº¦å¿
é å¨ {0} - {1} ååå
ä¹é",minRowCountError:"æå°éè¦å¡«å¯« {0} è¡çæ¡",minSelectError:"æå°éè¦é¸æ {0} é
çæ¡",maxSelectError:"æå¤åªè½é¸æ {0} é
çæ¡",numericMinMax:"çæ¡ '{0}' å¿
é 大æ¼çæ¼ {1} ä¸å°æ¼çæ¼ {2}",numericMin:"çæ¡ '{0}' å¿
é 大æ¼çæ¼ {1}",numericMax:"çæ¡ '{0}' å¿
é å°æ¼çæ¼ {1}",invalidEmail:"è«è¼¸å
¥ææç Email å°å",invalidExpression:"表éå¼ï¼{0}æè¿åãtrueãã",urlRequestError:"è¼å
¥é¸é
æç¼çé¯èª¤ '{0}': {1}",urlGetChoicesError:"æªè½è¼å
¥ææçé¸é
æè«æ±åæ¸è·¯å¾æèª¤",exceedMaxSize:"æä»¶å¤§å°ä¸è½è¶
é {0}",noUploadFilesHandler:"ç¡æ³ä¸å³æªãè«çºãonUploadFilesãäºä»¶æ·»å èçç¨å¼ã",otherRequiredError:"è«å®æå
¶ä»åé¡",uploadingFile:"æä»¶ä¸å³ä¸... è«èå¿çå¾
å¹¾ç§å¾é試",loadingFile:"è£è¼ããã",chooseFile:"é¸ææªæ¡...",noFileChosen:"æªé¸æä»»ä½æª",filePlaceholder:"å°æªæ¡ææ¾å°æ¤èææä¸ä¸é¢çæé䏦鏿è¦ä¸å³çæªã",confirmDelete:"æ¯å¦è¦åªé¤è¨éï¼",keyDuplicationError:"æ¤å¼æè©²æ¯å¯ä¸çã",addColumn:"æ·»å å",addRow:"æ·»å çæ¡",removeRow:"åªé¤çæ¡",emptyRowsText:"æ²æè¡ã",addPanel:"æ°å¢",removePanel:"åªé¤",showDetails:"顯示詳細è³è¨",hideDetails:"é±è詳細è³è¨",choices_Item:"é¸é
",matrix_column:"å",matrix_row:"è¡",multipletext_itemname:"ç¼ç°¡è¨",savingData:"æ£å¨å°çµæä¿åå°æåå¨...",savingDataError:"å¨ä¿åçµæéç¨ä¸ç¼çäºé¯èª¤ï¼çµææªè½ä¿å",savingDataSuccess:"çµæä¿åæå!",savingExceedSize:"æ¨çå復è¶
é 64KBãè«æ¸å°æªç大å°ï¼ç¶å¾é試æè¯ç¹«èª¿æ¥ææè
ã",saveAgainButton:"è«é試",timerMin:"æå°",timerSec:"ç§",timerSpentAll:"æ¨å¨æ¤é é¢ä¸è±è²»äº{0}ï¼ç¸½å
±{1}ã",timerSpentPage:"æ¨å¨æ¤é é¢ä¸è±è²»äº{0}ã",timerSpentSurvey:"ä½ ç¸½å
±è±äº{0}ã",timerLimitAll:"æ¨å¨æ¤é é¢ä¸è±è²»äº{0}{1}ï¼ç¸½å
±è±è²»äº{2}{3}ã",timerLimitPage:"æ¨å¨æ¤é é¢ä¸è±è²»äº{0}{1}ã",timerLimitSurvey:"æ¨ç¸½å
±è±è²»äº{1}ç{0}ã",clearCaption:"æ¸
æ¥",signaturePlaceHolder:"卿¤ç°½å",signaturePlaceHolderReadOnly:"ç¡ç°½å",chooseFileCaption:"é¸ææªæ¡",takePhotoCaption:"æç
§",photoPlaceholder:"æä¸ä¸é¢çæé使ç¨ç¸æ©æç
§ã",fileOrPhotoPlaceholder:"ææ¾æé¸æè¦ä¸å³çæªæä½¿ç¨ç¸æ©ææç
§çã",replaceFileCaption:"æ¿ææª",removeFileCaption:"åªé¤æ¤æª",booleanCheckedLabel:"æ¯ç",booleanUncheckedLabel:"ä¸",confirmRemoveFile:"æ¯å¦ç¢ºå¯¦è¦åªé¤æ¤æªï¼{0}ï¼",confirmRemoveAllFiles:"æ¯å¦ç¢ºå¯¦è¦åªé¤æææªï¼",questionTitlePatternText:"å顿¨é¡",modalCancelButtonText:"åæ¶",modalApplyButtonText:"æç¨",filterStringPlaceholder:"éµå
¥ä»¥æå°...",emptyMessage:"æ²æè¦é¡¯ç¤ºçæ¸æ",noEntriesText:"å°ç¡æ¢ç®ã\næä¸ä¸é¢çæéä»¥æ·»å æ°æ¢ç®ã",noEntriesReadonlyText:"æ²ææ¢ç®ã",tabTitlePlaceholder:"æ°é¢æ¿",more:"æ´å¤",tagboxDoneButtonCaption:"éè¡",selectToRankEmptyRankedAreaText:"ææé¸æåå·²æå",selectToRankEmptyUnrankedAreaText:"å°é¸é
ææ¾å°æ¤èé²è¡æå",ok:"éè¡",cancel:"åæ¶"},nativeName:"ç¹é«ä¸æ",englishName:"Tranditional Chinese"});m({localeCode:"tr",strings:{pagePrevText:"Ãnceki",pageNextText:"Sonraki",completeText:"Tamamla",previewText:"Ãnizleme",editText:"Düzenle",startSurveyText:"BaÅlat",otherItemText:"DiÄer (açıklayınız)",noneItemText:"Hiçbiri",refuseItemText:"Cevap vermeyi reddet",dontKnowItemText:"Bilmiyorum",selectAllItemText:"Tümünü Seç",deselectAllItemText:"Tümünün seçimini kaldır",progressText:"Sayfa {0}/{1}",indexText:"{0}/{1}",panelDynamicProgressText:"{0}/{1}",panelDynamicTabTextFormat:"Panel {panelIndex}",questionsProgressText:"{0}/{1} soru yanıtlandı",emptySurvey:"Ankette görüntülenecek sayfa ya da soru mevcut deÄil.",completingSurvey:"Anketi tamamladıÄınız için teÅekkür ederiz",completingSurveyBefore:"Kayıtlarımız bu anketi zaten tamamladıÄınızı gösteriyor.",loadingSurvey:"Anket Yükleniyor...",placeholder:"Seçiniz...",ratingOptionsCaption:"Seçiniz...",value:"deÄer",requiredError:"Lütfen soruya cevap verin.",requiredErrorInPanel:"Lütfen en az bir soruyu yanıtlayın.",requiredInAllRowsError:"Lütfen tüm satırlardaki soruları cevaplayın.",eachRowUniqueError:"Her satırın benzersiz bir deÄeri olmalıdır.",numericError:"DeÄer sayısal olmalıdır.",minError:"DeÄer {0}'den küçük olmamalıdır",maxError:"DeÄer {0}'dan büyük olmamalıdır",textNoDigitsAllow:"Numaralara izin verilmez.",textMinLength:"Lütfen en az {0} karakter girin.",textMaxLength:"Lütfen en fazla {0} karakter girin.",textMinMaxLength:"Lütfen {0}âden fazla ve {1}âden az karakter girin.",minRowCountError:"Lütfen en az {0} satırı doldurun.",minSelectError:"Lütfen en az {0} seçeneÄi seçin.",maxSelectError:"Lütfen en fazla {0} seçeneÄi seçin.",numericMinMax:"'{0}', {1}'e eÅit veya daha büyük ve {2}'ye eÅit veya daha küçük olmalıdır",numericMin:"'{0}' deÄeri {1} deÄerine eÅit veya büyük olmalıdır",numericMax:"'{0}' deÄeri {1} deÄerine eÅit ya da küçük olmalıdır.",invalidEmail:"Lütfen geçerli bir e-posta adresi girin.",invalidExpression:"İfade: {0} 'true' döndürmelidir.",urlRequestError:"İstek '{0}' hatasını döndürdü. {1}",urlGetChoicesError:"İstek boÅ veri döndürdü veya 'path' özelliÄi yanlıÅ",exceedMaxSize:"Dosya boyutu {0} deÄerini geçemez.",noUploadFilesHandler:"Dosyalar yüklenemiyor. Lütfen 'onUploadFiles' olayı için bir iÅleyici ekleyin.",otherRequiredError:"Lütfen diÄer deÄerleri girin.",uploadingFile:"Dosyanız yükleniyor. Lütfen birkaç saniye bekleyin ve tekrar deneyin.",loadingFile:"Yükleniyor...",chooseFile:"Dosyaları seçin...",noFileChosen:"Dosya seçili deÄil",filePlaceholder:"Buraya bir dosya bırakın veya dosyayı yüklemek için aÅaÄıdaki düÄmeyi tıklayın.",confirmDelete:"Kaydı silmek istiyor musunuz?",keyDuplicationError:"Bu deÄer benzersiz olmalıdır.",addColumn:"Sütun Ekle",addRow:"Satır Ekle",removeRow:"Kaldır",emptyRowsText:"Satır yok.",addPanel:"Yeni ekle",removePanel:"Kaldır",showDetails:"Detayları göster",hideDetails:"Detayları Gizle",choices_Item:"öÄe",matrix_column:"Sütun",matrix_row:"Satır",multipletext_itemname:"metin",savingData:"Sonuçlar sunucuya kaydediliyor...",savingDataError:"Bir hata oluÅtu ve sonuçlar kaydedilemedi.",savingDataSuccess:"Sonuçlar baÅarıyla kaydedildi!",savingExceedSize:"Yanıtınız 64 KB'ı aÅıyor. Lütfen dosyalarınızın boyutunu küçültün ve tekrar deneyin veya bir anket sahibiyle iletiÅime geçin.",saveAgainButton:"Tekrar deneyin",timerMin:"dakika",timerSec:"saniye",timerSpentAll:"Bu sayfada {0} ve toplamda {1} harcadınız.",timerSpentPage:"Bu sayfaya {0} harcadınız.",timerSpentSurvey:"Toplamda {0} harcadınız.",timerLimitAll:"Bu sayfaya {0}/{1} ve toplamda {2}/{3} harcadınız.",timerLimitPage:"Bu sayfaya {0}/{1} harcadınız.",timerLimitSurvey:"Toplamda {0}/{1} harcadınız.",clearCaption:"Temizle",signaturePlaceHolder:"Burayı imzalayın",signaturePlaceHolderReadOnly:"İmza yok",chooseFileCaption:"Dosya seçin",takePhotoCaption:"FotoÄraf Ãekin",photoPlaceholder:"Kamerayı kullanarak fotoÄraf çekmek için aÅaÄıdaki düÄmeyi tıklayın.",fileOrPhotoPlaceholder:"Kamerayı kullanarak fotoÄraf yüklemek veya fotoÄraf çekmek için bir dosyayı sürükleyip bırakın veya seçin.",replaceFileCaption:"Dosyayı deÄiÅtir",removeFileCaption:"Bu dosyayı kaldır",booleanCheckedLabel:"Evet",booleanUncheckedLabel:"Hayır",confirmRemoveFile:"Bu dosyayı kaldırmak istediÄinizden emin misiniz: {0}?",confirmRemoveAllFiles:"Tüm dosyaları kaldırmak istediÄinizden emin misiniz?",questionTitlePatternText:"Soru BaÅlıÄı",modalCancelButtonText:"İptal",modalApplyButtonText:"Uygula",filterStringPlaceholder:"Aramak için yazın...",emptyMessage:"Görüntülenecek veri yok",noEntriesText:"Henüz giriÅ yok.\nYeni bir giriÅ eklemek için aÅaÄıdaki düÄmeyi tıklayın.",noEntriesReadonlyText:"GiriÅ yok.",tabTitlePlaceholder:"Yeni Panel",more:"Daha fazla",tagboxDoneButtonCaption:"TAMAM",selectToRankEmptyRankedAreaText:"Tüm seçenekler sıralanmıÅtır",selectToRankEmptyUnrankedAreaText:"Seçimleri sıralamak için buraya sürükleyip bırakın",ok:"TAMAM",cancel:"İptal"},nativeName:"türkçe",englishName:"Turkish"});m({localeCode:"uk",strings:{pagePrevText:"Ðазад",pageNextText:"ÐалÑ",completeText:"ÐавеÑÑиÑи",previewText:"ÐопеÑеднÑй пеÑеглÑд",editText:"РедагÑваÑи",startSurveyText:"ÐоÑаÑи",otherItemText:"ÐнÑе (бÑÐ´Ñ Ð»Ð°Ñка, опиÑÑÑÑ)",noneItemText:"Ðоден",refuseItemText:"ÐÑдмовÑеÑÑ Ð²ÑдповÑдаÑи",dontKnowItemText:"Ðе знаÑ",selectAllItemText:"ÐибÑаÑи вÑе",deselectAllItemText:"ÐнÑмÑÑÑ Ð¿Ð¾Ð·Ð½Ð°ÑÐºÑ Ð· ÑÑÑÑ
",progressText:"СÑоÑÑнка {0} з {1}",indexText:"{0} {1}",panelDynamicProgressText:"ÐÐ°Ð¿Ð¸Ñ {0} Ñз {1}",panelDynamicTabTextFormat:"ÐÐ°Ð½ÐµÐ»Ñ {panelIndex}",questionsProgressText:"ÐÑдповÑли на {0}/{1} пиÑанÑ",emptySurvey:"ÐÐµÐ¼Ð°Ñ Ð¶Ð¾Ð´Ð½Ð¾Ð³Ð¾ пиÑаннÑ.",completingSurvey:"ÐÑкÑÑмо Ðам за Ð·Ð°Ð¿Ð¾Ð²Ð½ÐµÐ½Ð½Ñ Ð°Ð½ÐºÐµÑи!",completingSurveyBefore:"Ðи вже пÑоÑ
одили Ñе опиÑÑваннÑ.",loadingSurvey:"ÐаванÑÐ°Ð¶ÐµÐ½Ð½Ñ Ð¾Ð¿Ð¸ÑÑваннÑ...",placeholder:"ÐибÑаÑи...",ratingOptionsCaption:"ÐибеÑÑÑÑ...",value:"знаÑеннÑ",requiredError:"ÐÑÐ´Ñ Ð»Ð°Ñка, дайÑе вÑ
vendor: 4,619 bytes, line 16
16дповÑдÑ.",requiredErrorInPanel:"ÐÑÐ´Ñ Ð»Ð°Ñка, дайÑе вÑдповÑÐ´Ñ Ñ
оÑа б на одне пиÑаннÑ.",requiredInAllRowsError:"ÐÑÐ´Ñ Ð»Ð°Ñка, дайÑе вÑдповÑÐ´Ñ Ð½Ð° пиÑÐ°Ð½Ð½Ñ Ð² ÐºÐ¾Ð¶Ð½Ð¾Ð¼Ñ ÑÑдкÑ.",eachRowUniqueError:"Ðожен ÑÑдок повинен маÑи ÑнÑкалÑне знаÑеннÑ.",numericError:"ÐÑдповÑÐ´Ñ Ð¿Ð¾Ð²Ð¸Ð½Ð½Ð° бÑÑи ÑиÑлом.",minError:"ÐнаÑÐµÐ½Ð½Ñ Ð½Ðµ повинно бÑÑи менÑе {0}",maxError:"ÐнаÑÐµÐ½Ð½Ñ Ð½Ðµ повинно бÑÑи бÑлÑÑе {0}",textNoDigitsAllow:"ÐомеÑи не допÑÑкаÑÑÑÑÑ.",textMinLength:"ÐÑÐ´Ñ Ð»Ð°Ñка введÑÑÑ Ð±ÑлÑÑе {0} ÑимволÑв.",textMaxLength:"ÐÑÐ´Ñ Ð»Ð°Ñка введÑÑÑ Ð¼ÐµÐ½Ñе {0} ÑимволÑв.",textMinMaxLength:"ÐÑÐ´Ñ Ð»Ð°Ñка введÑÑÑ Ð±ÑлÑÑе {0} и менÑе {1} ÑимволÑв.",minRowCountError:"ÐÑÐ´Ñ Ð»Ð°Ñка, заповнÑÑÑ Ð½Ðµ менÑе {0} ÑÑдкÑв.",minSelectError:"ÐÑÐ´Ñ Ð»Ð°Ñка, вибеÑÑÑÑ Ñ
оÑа б {0} ваÑÑанÑÑв.",maxSelectError:"ÐÑÐ´Ñ Ð»Ð°Ñка, вибеÑÑÑÑ Ð½Ðµ бÑлÑÑе {0} ваÑÑанÑÑв.",numericMinMax:"'{0}' повинно бÑÑи не менÑе нÑж {1}, Ñ Ð½Ðµ бÑлÑÑе нÑж {2}",numericMin:"'{0}' повинно бÑÑи не менÑе нÑж {1}",numericMax:"'{0}' повинно бÑÑи не бÑлÑÑе нÑж {1}",invalidEmail:"ÐÑÐ´Ñ Ð»Ð°Ñка, введÑÑÑ Ð´ÑйÑÐ½Ñ Ð°Ð´ÑеÑÑ ÐµÐ»ÐµÐºÑÑÐ¾Ð½Ð½Ð¾Ñ Ð¿Ð¾ÑÑи.",invalidExpression:"ÐиÑаз {0} повинен повеÑÑаÑи 'true'.",urlRequestError:"ÐÐ°Ð¿Ð¸Ñ Ð¿Ð¾Ð²ÐµÑнÑв Ð¿Ð¾Ð¼Ð¸Ð»ÐºÑ '{0}'. {1}",urlGetChoicesError:"ÐÑдповÑÐ´Ñ Ð½Ð° Ð·Ð°Ð¿Ð¸Ñ Ð¿Ð¾Ð²ÐµÑнÑлаÑÑ Ð¿Ð¾ÑожнÑÐ¾Ñ Ð°Ð±Ð¾ влаÑÑивÑÑÑ 'path' вказано невÑÑно",exceedMaxSize:"РозмÑÑ ÑÐ°Ð¹Ð»Ñ Ð½Ðµ повинен пеÑевиÑÑваÑи {0}.",noUploadFilesHandler:"Файли не можна заванÑажиÑи. ÐÑÐ´Ñ Ð»Ð°Ñка, додайÑе обÑобник Ð´Ð»Ñ Ð¿Ð¾Ð´ÑÑ 'onUploadFiles'.",otherRequiredError:"ÐÑÐ´Ñ Ð»Ð°Ñка, введÑÑÑ Ð´Ð°Ð½Ñ Ð² поле 'ÐнÑе'",uploadingFile:"ÐÐ°Ñ Ñайл заванÑажÑÑÑÑÑÑ. ÐаÑекайÑе декÑлÑка ÑекÑнд Ñ ÑпÑобÑйÑе зновÑ.",loadingFile:"ÐаванÑаженнÑ...",chooseFile:"ÐибеÑÑÑÑ Ñайл(и)...",noFileChosen:"Файл не вибÑано",filePlaceholder:"ÐеÑеÑÑгнÑÑÑ Ñайл ÑÑди або наÑиÑнÑÑÑ ÐºÐ½Ð¾Ð¿ÐºÑ Ð½Ð¸Ð¶Ñе Ñа вибеÑÑÑÑ Ñайл Ð´Ð»Ñ Ð·Ð°Ð²Ð°Ð½ÑаженнÑ.",confirmDelete:"Ðи Ñ
оÑеÑе видалиÑи запиÑ?",keyDuplicationError:"Це знаÑÐµÐ½Ð½Ñ Ð¿Ð¾Ð²Ð¸Ð½Ð½Ð¾ бÑÑи ÑнÑкалÑним.",addColumn:"ÐодаÑи колонкÑ",addRow:"ÐодаÑи ÑÑдок",removeRow:"ÐидалиÑи",emptyRowsText:"Ð ÑдÑв немаÑ.",addPanel:"ÐодаÑи новÑ",removePanel:"ÐидалиÑи",showDetails:"ÐоказаÑи подÑобиÑÑ",hideDetails:"СÑ
оваÑи подÑобиÑÑ",choices_Item:"ÐаÑÑанÑ",matrix_column:"Ðолонка",matrix_row:"Ð Ñдок",multipletext_itemname:"ТекÑÑ",savingData:"РезÑлÑÑаÑи збеÑÑгаÑÑÑÑÑ Ð½Ð° ÑеÑвеÑ...",savingDataError:"ÐÑдбÑлаÑÑ Ð¿Ð¾Ð¼Ð¸Ð»ÐºÐ°, ÑезÑлÑÑÐ°Ñ Ð½Ðµ бÑв збеÑежений.",savingDataSuccess:"РезвÑлÑÑÐ°Ñ ÑÑпÑÑно збеÑежений!",savingExceedSize:"ÐаÑа вÑдповÑÐ´Ñ Ð¿ÐµÑевиÑÑÑ 64 ÐÐ. ÐÑÐ´Ñ Ð»Ð°Ñка, зменÑÑÑÑ ÑозмÑÑ ÑÐ°Ð¹Ð»Ñ (ÑайлÑв) Ñ Ð¿Ð¾Ð²ÑоÑÑÑÑ ÑпÑÐ¾Ð±Ñ Ð°Ð±Ð¾ зв'ÑжÑÑÑÑÑ Ð· влаÑником опиÑÑваннÑ.",saveAgainButton:"СпÑобÑваÑи зновÑ",timerMin:"Ñ
в",timerSec:"Ñек",timerSpentAll:"Ðи виÑÑаÑили {0} на ÑÑй ÑÑоÑÑнÑÑ Ñ {1} загалом.",timerSpentPage:"Ðи виÑÑаÑили {0} на ÑÑй ÑÑоÑÑнÑÑ.",timerSpentSurvey:"Ðи виÑÑаÑили {0} пÑоÑÑгом ÑеÑÑÑ.",timerLimitAll:"Ðи виÑÑаÑили {0} з {1} на ÑÑй ÑÑоÑÑнÑÑ Ñ {2} з {3} Ð´Ð»Ñ Ð²ÑÑого ÑеÑÑÑ.",timerLimitPage:"Ðи виÑÑаÑили {0} з {1} на ÑÑй ÑÑоÑÑнÑÑ.",timerLimitSurvey:"Ðи виÑÑаÑили {0} з {1} Ð´Ð»Ñ Ð²ÑÑого ÑеÑÑÑ.",clearCaption:"ÐÑиÑÑиÑи",signaturePlaceHolder:"ÐÑдпиÑÑÑÑÑÑ ÑÑÑ",signaturePlaceHolderReadOnly:"Ðез пÑдпиÑÑ",chooseFileCaption:"ÐибеÑÑÑÑ Ñайл",takePhotoCaption:"ÐÑобиÑи ÑоÑо",ph
vendor: 13,051 bytes, line 16
16otoPlaceholder:"ÐаÑиÑнÑÑÑ ÐºÐ½Ð¾Ð¿ÐºÑ Ð½Ð¸Ð¶Ñе, Ñоб зÑобиÑи ÑоÑо за Ð´Ð¾Ð¿Ð¾Ð¼Ð¾Ð³Ð¾Ñ ÐºÐ°Ð¼ÐµÑи.",fileOrPhotoPlaceholder:"ÐеÑеÑÑгнÑÑÑ Ð°Ð±Ð¾ вибеÑÑÑÑ Ñайл, Ñоб заванÑажиÑи або зÑобиÑи ÑоÑогÑаÑÑÑ Ð·Ð° Ð´Ð¾Ð¿Ð¾Ð¼Ð¾Ð³Ð¾Ñ ÐºÐ°Ð¼ÐµÑи.",replaceFileCaption:"ÐамÑниÑи Ñайл",removeFileCaption:"ÐидалиÑи Ñайл",booleanCheckedLabel:"Так",booleanUncheckedLabel:"ÐÑ",confirmRemoveFile:"Ðи впевненÑ, Ñо Ñ
оÑеÑе видалиÑи Ñей Ñайл: {0}?",confirmRemoveAllFiles:"Ðи впевненÑ, Ñо Ñ
оÑеÑе видалиÑи вÑÑ Ñайли?",questionTitlePatternText:"Ðазва запиÑаннÑ",modalCancelButtonText:"СкаÑÑваÑи",modalApplyButtonText:"ÐаÑÑоÑовÑваÑи",filterStringPlaceholder:"ÐведÑÑÑ Ð´Ð»Ñ Ð¿Ð¾ÑÑкÑ...",emptyMessage:"ÐÐµÐ¼Ð°Ñ Ð´Ð°Ð½Ð¸Ñ
Ð´Ð»Ñ Ð²ÑдобÑаженнÑ",noEntriesText:"ÐапиÑÑв поки немаÑ.\nÐаÑиÑнÑÑÑ ÐºÐ½Ð¾Ð¿ÐºÑ Ð½Ð¸Ð¶Ñе, Ñоб додаÑи новий запиÑ.",noEntriesReadonlyText:"ÐапиÑÑв немаÑ.",tabTitlePlaceholder:"Ðова панелÑ",more:"ÐÑлÑÑе",tagboxDoneButtonCaption:"ÐÐÐ ÐÐÐ",selectToRankEmptyRankedAreaText:"ÐÑÑ Ð²Ð°ÑÑанÑи ÑанжÑÑÑÑÑÑ",selectToRankEmptyUnrankedAreaText:"ÐеÑеÑÑгнÑÑÑ Ð²Ð°ÑÑанÑи ÑÑÑ, Ñоб оÑÑниÑи ÑÑ
",ok:"ÐÐÐ ÐÐÐ",cancel:"СкаÑÑваÑи"},nativeName:"ÑкÑаÑнÑÑка",englishName:"Ukrainian"});m({localeCode:"vi",strings:{pagePrevText:"Trá» vá»",pageNextText:"Tiếp theo",completeText:"Hoà n thà nh",previewText:"Xem trưá»c",editText:"Chá»nh sá»a",startSurveyText:"Bắt Äầu",otherItemText:"Khác (mô tả)",noneItemText:"Trá»ng",refuseItemText:"Từ chá»i trả lá»i",dontKnowItemText:"Không biết",selectAllItemText:"Chá»n tất cả",deselectAllItemText:"Bá» chá»n tất cả",progressText:"Trang {0} / {1}",indexText:"{0} cá»§a {1}",panelDynamicProgressText:"Dòng {0} / {1}",panelDynamicTabTextFormat:"Bảng Äiá»u khiá»n {panelIndex}",questionsProgressText:"Äã trả lá»i {0}/{1} câu há»i",emptySurvey:"Không có trang hoặc câu há»i nà o ÄÆ°á»£c hiá»n thá» trong cuá»c khảo sát nà y.",completingSurvey:"Cảm Æ¡n Äã hoà n thà nh khảo sát!",completingSurveyBefore:"Há» sÆ¡ chúng tôi cho thấy rằng bạn Äã hoà n thà nh cuá»c khảo sát nà y.",loadingSurvey:"Äang tải khảo sát...",placeholder:"Chá»n...",ratingOptionsCaption:"Lá»±a...",value:"Giá trá»",requiredError:"Vui lòng trả lá»i câu há»i.",requiredErrorInPanel:"Vui lòng trả lá»i Ãt nhất má»t câu há»i.",requiredInAllRowsError:"Vui lòng trả lá»i các câu há»i trên tất cả các dòng.",eachRowUniqueError:"Má»i hà ng phải có má»t giá trá» duy nhất.",numericError:"Giá trá» nên là kiá»u sá».",minError:"Giá trá» không ÄÆ°á»£c nhá» hÆ¡n {0}",maxError:"Giá trá» không ÄÆ°á»£c lá»n hÆ¡n {0}",textNoDigitsAllow:"Sá» không ÄÆ°á»£c phép.",textMinLength:"Vui lòng nháºp Ãt nhất {0} kà tá»±.",textMaxLength:"Vui lòng nháºp Ãt hÆ¡n {0} kà tá»±.",textMinMaxLength:"Vui lòng nháºp nhiá»u hÆ¡n {0} hoặc Ãt hÆ¡n {1} kà tá»±.",minRowCountError:"Vui lòng nháºp Ãt nhất {0} dòng.",minSelectError:"Vui lòng chá»n Ãt nhất {0} loại.",maxSelectError:"Vui lòng không chá»n nhiá»u hÆ¡n {0} loại.",numericMinMax:"Giá trá» '{0}' nên bằng hoặc lá»n hÆ¡n {1} và bằng hoặc nhá» hÆ¡n {2}",numericMin:"Giá trá» '{0}' nên bằng hoặc lá»n hÆ¡n {1}",numericMax:"Giá trá» '{0}' nên bằng hoặc nhá» hÆ¡n {1}",invalidEmail:"Vui lòng Äiá»n Äá»a chá» email hợp lá».",invalidExpression:"Biá»u thức: {0} nên trả vá» 'true'.",urlRequestError:"Yêu cầu trả vá» lá»i '{0}'. {1}",urlGetChoicesError:"Yêu cầu trả vá» dữ liá»u trá»ng hoặc thuá»c tÃnh 'path' không Äúng",exceedMaxSize:"KÃch thưá»c táºp tin không nên vượt quá {0}.",noUploadFilesHandler:"Không thá» tải tá»p lên. Vui lòng thêm trình xá» lý cho sá»± kiá»n 'onUploadFiles'.",otherRequiredError:"Vui lòng Äiá»n giá trá» khác.",uploadingFile:"Táºp tin Äang ÄÆ°á»£c tải lên. Vui lòng chá» má»t lúc và thá» lại.",loadingFile:"Äang tải...",chooseFile:"Chá»n các táºp tin...",noFileChosen:"Không có táºp tin nà o ÄÆ°á»£c chá»n",filePlaceholder:"Kéo và thả tá»p và o Äây hoặc nhấp và o nút bên dưá»i và chá»n tá»p Äá» tải lên.",confirmDelete:"Bạn muá»n xóa dòng nà y?",keyDuplicationError:"Giá trá» nà y không nên bá» trùng lặp.",addColumn:"Thêm cá»t",addRow:"Thêm dòng",removeRow:"Xóa",emptyRowsText:"Không có hà ng.",addPanel:"Thêm má»i",removePanel:"Xóa",showDetails:"Hiá»n thá» chi tiết",hideDetails:"Ẩn chi tiết",choices_Item:"mục",matrix_column:"Cá»t",matrix_row:"Dòng",multipletext_itemname:"Nhắn tin",savingData:"Kết quả Äang lưu lại trên há» thá»ng...",savingDataError:"Có lá»i xảy ra và chúng ta không thá» lưu kết quả.",savingDataSuccess:"Kết quả Äã ÄÆ°á»£c lưu thà nh công!",savingExceedSize:"Phản há»i cá»§a bạn vượt quá 64KB. Vui lòng giảm kÃch thưá»c (các) tá»p cá»§a bạn và thá» lại hoặc liên há» vá»i chá»§ sá» hữu khảo sát.",saveAgainButton:"Thá» lại",timerMin:"phút",timerSec:"giây",timerSpentAll:"Bạn Äã sá» dụng {0} trên trang nà y và {1} trên toà n bá».",timerSpentPage:"Bạn Äã sá» dụng {0} trên trang.",timerSpentSurvey:"Bạn Äã sá» dụng {0} trên toà n bá».",timerLimitAll:"Bạn Äã sá» dụng {0} / {1} trên trang nà y và {2} / {3} trên toà n bá».",timerLimitPage:"Bạn Äã sá» dụng {0} / {1} trên trang nà y.",timerLimitSurvey:"Bạn Äã sá» dụng {0} / {1} trên toà n bá».",clearCaption:"Xóa",signaturePlaceHolder:"Ký tên tại Äây",signaturePlaceHolderReadOnly:"Không có chữ ký",chooseFileCaption:"Chá»n táºp tin",takePhotoCaption:"Chụp ảnh",photoPlaceholder:"Nhấp và o nút bên dưá»i Äá» chụp ảnh bằng máy ảnh.",fileOrPhotoPlaceholder:"Kéo và thả hoặc chá»n tá»p Äá» tải lên hoặc chụp ảnh bằng máy ảnh.",replaceFileCaption:"Thay thế táºp tin",removeFileCaption:"Xóa táºp tin",booleanCheckedLabel:"Có",booleanUncheckedLabel:"Không",confirmRemoveFile:"Bạn có chắc chắn muá»n xóa táºp tin nà y: {0}?",confirmRemoveAllFiles:"Bạn có chắc chắn muá»n xóa toà n bá» táºp tin?",questionTitlePatternText:"Tiêu Äá» câu há»i",modalCancelButtonText:"Há»§y",modalApplyButtonText:"Ãp dụng",filterStringPlaceholder:"Nháºp Äá» tìm kiếm...",emptyMessage:"Không có dữ liá»u Äá» hiá»n thá»",noEntriesText:"Chưa có mục nà o.\nNhấp và o nút bên dưá»i Äá» thêm mục nháºp má»i.",noEntriesReadonlyText:"Không có mục.",tabTitlePlaceholder:"Bảng Äiá»u khiá»n má»i",more:"Nhiá»u hÆ¡n",tagboxDoneButtonCaption:"OK",selectToRankEmptyRankedAreaText:"Tất cả các lá»±a chá»n ÄÆ°á»£c xếp hạng",selectToRankEmptyUnrankedAreaText:"Kéo và thả các lá»±a chá»n và o Äây Äá» xếp hạng chúng",ok:"OK",cancel:"Há»§y"},nativeName:"viá»t nam",englishName:"Vietnamese"});m({localeCode:"cy",strings:{pagePrevText:"Blaenorol",pageNextText:"Nesaf",completeText:"Cwblhau",previewText:"Rhagolwg",editText:"Golygu",startSurveyText:"Dechrau",otherItemText:"Arall (disgrifiwch)",noneItemText:"Dim",refuseItemText:"Gwrthod ateb",dontKnowItemText:"Ddim yn gwybod",selectAllItemText:"Dewis y Cyfan ",deselectAllItemText:"Dad-ddethol yr holl",progressText:"Tudalen {0} o {1}",indexText:"{0} o {1}",panelDynamicProgressText:"Cofnod {0} o {1}",panelDynamicTabTextFormat:"Panel {panelIndex}",questionsProgressText:"Wedi ateb {0}/{1} cwestiwn",emptySurvey:"Does dim modd gweld tudalen na chwestiwn yn yr arolwg.",completingSurvey:"Diolch am lenwiâr holiadur!",completingSurveyBefore:"Rydych chi wedi llenwiâr arolwg hwn yn barod yn ôl ein cofnodion.",loadingSurvey:"Wrthiân Llwythoâr Arolwg...",placeholder:"Dewiswch...",ratingOptionsCaption:"Dewis...",value:"gwerth",requiredError:"Atebwch y cwestiwn.",requiredErrorInPanel:"Atebwch o leiaf un cwestiwn.",requiredInAllRowsError:"Atebwch y cwestiynau ym mhob rhes.",eachRowUniqueError:"Rhaid i bob rhes fod â gwerth unigryw.",numericError:"Dylaiâr gwerth fod yn rhif.",minError:"Ni ddylai'r gwerth fod yn llai na {0}",maxError:"Ni ddylai'r gwerth fod yn fwy na {0}",textNoDigitsAllow:"Ni chaniateir rhifau.",textMinLength:"Rhowch o leiaf {0} nod.",textMaxLength:"Rhowch lai na {0} nod.",textMinMaxLength:"Rhowch o leiaf {0} nod ond dim mwy na {1}.",minRowCountError:"Llenwch o leiaf {0} rhes.",minSelectError:"Dewiswch o leiaf {0} amrywiolyn.",maxSelectError:"Peidiwch â dewis mwy na {0} amrywiolyn.",numericMinMax:"Dylaiâr '{0}' fod yr un fath â {1} neuân fwy, aâr fath â {2} neuân llai",numericMin:"Dylaiâr '{0}' fod yr un fath â {1} neuân fwy",numericMax:"Dylaiâr '{0}' fod yr un fath â {1} neuân llai",invalidEmail:"Rhowch gyfeiriad e-bost dilys.",invalidExpression:"Dylaiâr mynegiad {0} arwain at 'true'.",urlRequestError:"Roedd y cais wedi arwain at y gwall '{0}'. {1}",urlGetChoicesError:"Roedd y cais wedi arwain at ddata gwag neu mae priodwedd y âpathâ yn anghywir ",exceedMaxSize:"Ddylaiâr ffeil ddim bod yn fwy na {0}.",noUploadFilesHandler:"Ni ellir llwytho ffeiliau i fyny. Ychwanegwch handler ar gyfer y digwyddiad 'onUploadFiles'.",otherRequiredError:"Rhowch y gwerth arall.",uploadingFile:"Mae eich ffeil wrthiân llwytho i fyny. Arhoswch ychydig o eiliadau a rhoi cynnig arall arni.",loadingFile:"Wrthiân llwytho...",chooseFile:"Dewiswch ffeil(iau)...",noFileChosen:"Heb ddewis ffeil ",filePlaceholder:"Llusgwch a gollwng ffeil yma neu cliciwch y botwm isod a dewiswch ffeil i'w lanlwytho.",confirmDelete:"Ydych chi am ddileuâr cofnod?",keyDuplicationError:"Dylaiâr gwerth hwn fod yn unigryw.",addColumn:"Ychwanegu colofn ",addRow:"Ychwanegu rhes",removeRow:"Tynnu",emptyRowsText:"Nid oes unrhyw ffraeau.",addPanel:"Ychwanegu oâr newydd",removePanel:"Tynnu",showDetails:"Dangos manylion",hideDetails:"Manylion Cuddio",choices_Item:"eitem",matrix_column:"Colofn",matrix_row:"Rhes",multipletext_itemname:"Testun",savingData:"Maeâr canlyniadauân cael eu cadw ar y gweinydd...",savingDataError:"Roedd gwall a doedd dim modd cadwâr canlyniadau.",savingDataSuccess:"Wedi llwyddo i gadwâr canlyniadau!",savingExceedSize:"Mae eich ymateb yn fwy na 64KB. Lleihau maint eich ffeil(au) a cheisiwch eto neu cysylltwch â pherchennog yr arolwg.",saveAgainButton:"Rhowch gynnig arall arni",timerMin:"mun",timerSec:"eil",timerSpentAll:"Rydych chi wedi treulio {0} ar y dudalen hon a {1} gydaâi gilydd.",timerSpentPage:"Rydych chi wedi treulio {0} ar y dudalen hon.",timerSpentSurvey:"Rydych chi wedi treulio {0} gydaâi gilydd.",timerLimitAll:"Rydych chi wedi treulio {0} o {1} ar y dudalen hon a {2} o {3} gydaâi gilydd.",timerLimitPage:"Rydych chi wedi treulio {0} o {1} ar y dudalen hon.",timerLimitSurvey:"Rydych chi wedi treulio {0} o {1} gydaâi gilydd.",clearCaption:"Clirio",signaturePlaceHolder:"Arwydd yma",signaturePlaceHolderReadOnly:"Dim llofnod",chooseFileCaption:"Dewiswch ffeil ",takePhotoCaption:"Tynnu Llun",photoPlaceholder:"Cliciwch y botwm isod i dynnu llun gan ddefnyddio'r camera.",fileOrPhotoPlaceholder:"Llusgwch a gollwng neu dewiswch ffeil i lanlwytho neu dynnu llun gan ddefnyddio'r camera.",replaceFileCaption:"Amnewid ffeil",removeFileCaption:"Tynnuâr ffeil hon ",booleanCheckedLabel:"Iawn",booleanUncheckedLabel:"Na",confirmRemoveFile:"Ydych chiân siŵr eich bod am dynnuâr ffeil hon: {0}?",confirmRemoveAllFiles:"Ydych chiân siŵr eich bod am dynnu pob ffeil?",questionTitlePatternText:"Teitl y Cwestiwn ",modalCancelButtonText:"Canslo",modalApplyButtonText:"Cynnig",filterStringPlaceholder:"Teipiwch i chwilio...",emptyMessage:"Dim data i'w arddangos",noEntriesText:"Nid oes unrhyw gofnodion hyd yn hyn.\nCliciwch y botwm isod i ychwanegu cofnod newydd.",noEntriesReadonlyText:"Nid oes unrhyw gofnodion.",tabTitlePlaceholder:"Panel newydd",more:"Rhagor",tagboxDoneButtonCaption:"OCÃ",selectToRankEmptyRankedAreaText:"Mae'r holl ddewisiadau yn cael eu rhestru",selectToRankEmptyUnrankedAreaText:"Dewisiadau llusgo a gollwng yma i'w graddio",ok:"OCÃ",cancel:"Canslo"},nativeName:"cymraeg",englishName:"Welsh"});m({localeCode:"tel",strings:{pagePrevText:"à°µà±à°¨à°à°à°¿",pageNextText:"తరà±à°µà°¾à°¯",completeText:"à°ªà±à°°à±à°¤à°¿ à°à±à°¯à°à°¡à°¿",previewText:"à°®à±à°à°¦à±à°à°¾ à°µà±à°à±à°·à°¿à°à°à±",editText:"మారà±à°ªà±à°²à± à°à±à°¯à±à°¯à°¿",startSurveyText:"à°ªà±à°°à°¾à°°à°à°à°¿à°à°à±",otherItemText:"à°à°¤à°°à°®à±à°¨(వివరిà°à°à°à°¡à°¿)",noneItemText:"à°à°µà°°à± à°à°¾à°¦à±",refuseItemText:"సమాధానఠà°à°µà±à°µà°¡à°¾à°¨à°¿à°à°¿ నిరాà°à°°à°¿à°à°à°à°¡à°¿",dontKnowItemText:"à°¤à±à°²à°¿à°¯à°¦à±",
vendor: 5,482 bytes, line 16
16selectAllItemText:"à°
à°¨à±à°¨à°¿ à°à°à°à±à°à±",deselectAllItemText:"Deselect all",progressText:"à°ªà±à°à±{0}/{1}",indexText:"{1} {0}[మారà±à°à±]",panelDynamicProgressText:"దాà°à°²à°¾à°²à±{0}/{1}",panelDynamicTabTextFormat:"Panel {panelIndex}",questionsProgressText:"{0}/{1} à°ªà±à°°à°¶à±à°¨à°²à°à± à°à°µà°¾à°¬à± à°à°µà±à°µà°¡à° à°
యినది",emptySurvey:"ఠసరà±à°µà±à°²à± à°ªà±à°à±à°²à± à°à°¾à°¨à°¿ à°ªà±à°°à°¶à±à°¨à°²à± à°à°¾à°¨à°¿ à°à°¨à°¬à°¡à±à° à°²à±à°¦à±",completingSurvey:"సరà±à°µà±à°¨à± à°®à±à°à°¿à°à°à°¿ à°¨à°à°¦à±à°à± à°§à°¨à±à°¯à°µà°¾à°¦à°®à±à°²à±",completingSurveyBefore:" à°®à±à°°à± à°à°ªà±à°ªà°à°¿à°à± సరà±à°µà±à°¨à± à°®à±à°à°¿à°à°à°¿à°¨à°à±à°²à± మా à°°à°¿à°à°¾à°°à±à°¡à±à°²à± à°à±à°ªà°¿à°¸à±à°¤à±à°¨à±à°¨à°¾à°¯à°¿",loadingSurvey:"సరà±à°µà± à°²à±à°¡à± à°
à°µà±à°¤à±à°à°¦à°¿",placeholder:"à°à°¨à±à°¨à±à°à±à°à°¡à°¿",ratingOptionsCaption:"à°à°à°à±...",value:"విలà±à°µ",requiredError:"దయà°à±à°¸à°¿ à°ªà±à°°à°¶à±à°¨à°à± à°à°µà°¾à°¬à± à°à°µà±à°µà°à°¡à°¿",requiredErrorInPanel:"దయà°à±à°¸à°¿ à°à°¨à±à°¸à° à°à°à±à° à°ªà±à°°à°¶à±à°¨à°à±à°¨à°¾ à°à°µà°¾à°¬à± à°à°µà±à°µà°à°¡à°¿",requiredInAllRowsError:"దయà°à±à°¸à°¿ à°
à°¨à±à°¨à°¿ వరà±à°¸à°²à°²à± à°à°¨à±à°¨ à°ªà±à°°à°¶à±à°¨à°²à°à± à°à°µà°¾à°¬à± à°à°µà±à°µà°à°¡à°¿",eachRowUniqueError:"à°ªà±à°°à°¤à°¿ వరà±à°¸à°à± à°à° à°ªà±à°°à°¤à±à°¯à±à°à°®à±à°¨ విలà±à°µ à°à°à°¡à°¾à°²à°¿.",numericError:"విలà±à°µà°¨à± à°¸à°à°à±à°¯à°²à°²à± à°¤à±à°²à°¿à°¯à°à±à°¯à°à°¡à°¿",minError:"విలà±à°µ {0} à°à°à°à± à°¤à°à±à°à±à°µà°à°¾ à°à°à°¡à°à±à°¡à°¦à±.",maxError:"విలà±à°µ {0} à°à°à°à± à°à°à±à°à±à°µ à°à°à°¡à°à±à°¡à°¦à±.",textNoDigitsAllow:"à°
à°à°à±à°²à± à°
à°¨à±à°®à°¤à°¿à°à°à°¬à°¡à°µà±.",textMinLength:"దయà°à±à°¸à°¿ à°à°¨à±à°¸à° {0} à°
à°à±à°·à°°à°¾à°²à°¨à± నమà±à°¦à± à°à±à°¯à°à°¡à°¿",textMaxLength:"దయà°à±à°¸à°¿ {0} à°à°¨à±à°¨à°¾ à°¤à°à±à°à±à°µ à°
à°à±à°·à°°à°¾à°²à°¨à± నమà±à°¦à± à°à±à°¯à°à°¡à°¿",textMinMaxLength:"దయà°à±à°¸à°¿ {0} à°à°¨à±à°¨à°¾ à°à°à±à°à±à°µ మరియà±{1} à°à°¨à±à°¨à°¾ à°¤à°à±à°à±à°µ à°
à°à±à°·à°°à°¾à°²à°¨à± నమà±à°¦à± à°à±à°¯à°à°¡à°¿",minRowCountError:"దయà°à±à°¸à°¿ à°à°¨à±à°¸à° {0}వరà±à°¸à°²à°¨à± à°ªà±à°°à°¿à°à°à°à°¡à°¿",minSelectError:"దయà°à±à°¸à°¿ à°à°¨à±à°¸à°{0} à°°à°à°¾à°²à°¨à± à°à°¨à±à°¨à±à°à±à°à°¡à°¿",maxSelectError:"దయà°à±à°¸à°¿ {0} à°à°¨à±à°¨à°¾ à°à°à±à°à±à°µ à°°à°à°¾à°²à°¨à± à°à°¨à±à°¨à±à°à± à°à°à°¡à°¿",numericMinMax:"'{0}' {1}తౠసమానà°à°à°¾ à°²à±à°¦à°¾ {1} à°à°¨à±à°¨à°¾ à°à°à±à°à±à°µ à°à°¾ మరియౠ{2}à°à°¨à±à°¨à°¾ à°¤à°à±à°à±à°µ à°à°à°¡à°¾à°²à°¿ à°²à±à°¦à°¾ {2}తౠసమానà°à°à°¾ à°à°à°¡à°¾à°²à°¿",numericMin:"''{0}' {1}తౠసమానà°à°à°¾ à°²à±à°¦à°¾ {1}à°à°¨à±à°¨à°¾ à°à°à±à°à±à°µà°à°¾ à°à°à°¡à°¾à°²à°¿",numericMax:"'{0}' {1} à°¤à°à±à°à±à°µ à°²à±à°¦à°¾ సమానà°à°à°¾ à°à°à°¡à°¾à°²à°¿",invalidEmail:"దయà°à±à°¸à°¿ సరà±à°¨ à°à°®à±à°¯à°¿à°²à± నమà±à°¦à± à°à±à°¯à°à°¡à°¿",invalidExpression:"{0} 'నిà°à°' à°
ని తిరిà°à°¿à°µà±à°µà°¾à°²à°¿",urlRequestError:"వినà±à°¨à°ªà°®à± {0} ని తపà±à°ªà±à°à°¾ à°à±à°°à±à°¤à°¿à°à°à°¿à°à°¦à°¿ {1}",urlGetChoicesError:"వినà±à°¨à°ªà°®à± à°à°¾à°³à± à°¡à±à°à°¾à°¨à°¿ తిరిà°à°¿à°à±à°à°¿à°à°¦à°¿, à°²à±à°¦à°¾ path తపà±à°ªà±à°¨ ది",exceedMaxSize:"à°«à±à°²à± పరిమాణà°{0} à°à°à°à± à°ªà±à°¦à±à°¦à°¦à°¿à°à°¾ à°à°à°¡à°à±à°¡à°¦à±",noUploadFilesHandler:"à°«à±à°³à±à°²à°¨à± à°
పౠలà±à°¡à± à°à±à°¯à°²à±à°. దయà°à±à°¸à°¿ 'à°à°¨à± à°
పౠలà±à°¡à± à°«à±à°²à±à°¸à±' à°à°µà±à°à°à± à°à±à°°à°à± à°à° à°¹à±à°¯à°¾à°à°¡à±à°²à°°à± ని à°à±à°¡à°¿à°à°à°à°¡à°¿.",otherRequiredError:"దయà°à±à°¸à°¿ à°à°¤à°° విలà±à°µà°²à°¨à± నమౠదిà°à°à°à°¡à°¿",uploadingFile:"మౠఫà±à°²à± à°
à°ªà±à°²à±à°¡à± à°
à°µà±à°¤à±à°¨à±à°¨à°¦à°¿ దయà°à±à°¸à°¿ à°à±à°¨à±à°¨à°¿ à°¸à±à°à°à°¡à±à°²à± à°µà±à°à°¿ à°à°à°¡à°à°¡à°¿ మరియౠమళà±à°²à± à°ªà±à°°à°¯à°¤à±à°¨à°¿à°à°à°à°¡à°¿",loadingFile:"à°²à±à°¡à± à°
à°µà±à°¤à±à°¨à±à°¨à°¦à°¿",chooseFile:"à°«à±à°³à±à°²à°¨à± à°à°¨à±à°¨à±à°à±à°à°¡à°¿",noFileChosen:"à° à°«à±à°²à± à°à°¨à±à°¨à±à°à± à°²à±à°¦à±",filePlaceholder:"à°à°à±à°à°¡ à°à° à°«à±à°²à± నౠడà±à°°à°¾à°à± à°à±à°¸à°¿ à°¡à±à°°à°¾à°ªà± à°à±à°¯à°à°¡à°¿ à°²à±à°¦à°¾ దిà°à±à°µ à°¬à°à°¨à± à°à±à°²à°¿à°à± à°à±à°¯à°à°¡à°¿ మరియౠà°
పౠలà±à°¡à± à°à±à°¯à°¡à°¾à°¨à°¿à°à°¿ à°«à±à°²à± à°à°à°à±à°à±à°à°¡à°¿.",confirmDelete:"à°®à±à°°à± à°°à°¿à°à°¾à°°à±à°¡à±à°²à°¨à± à°¤à±à°²à°à°¿à°à°à°¾à°²à°¨à°¿ à°
à°¨à±à°à±à°à°à±à°¨à±à°¨à°¾à°°à°¾",keyDuplicationError:"విలà±à°µ à°ªà±à°°à°¤à±à°¯à±à°à°à°à°¾ à°à°à°¡à°¾à°²à°¿",addColumn:"à°à°¾à°²à° à°à±à°°à±à°ªà°¿à°à°à°à°¡à°¿",addRow:"వరà±à°¸à°²à± à°à±à°°à±à°ªà°¿à°à°à°à°¡à°¿",removeRow:"à°¤à±à°¸à±à°¯à°à°¡à°¿",emptyRowsText:"వరà±à°¸à°²à± à°²à±à°µà±.",addPanel:"à°à±à°¤à±à°¤ దానà±à°¨à°¿ à°à±à°°à±à°ªà°¿à°à°à°à°¡à°¿",removePanel:"à°¤à±à°¸à±à°¯à°à°¡à°¿",showDetail
vendor: 15,574 bytes, line 16
16s:"వివరాలౠà°à±à°ªà°¿à°à°à±",hideDetails:"వివరాలనౠదాà°à°à°¡à°¿",choices_Item:"వసà±à°¤à±à°µà±à°²à±",matrix_column:"à°à°¾à°²à° ",matrix_row:"వరà±à°¸",multipletext_itemname:"à°µà°à°¨à°",savingData:"ఫలితాà°à°¶à°¾à°²à± సరà±à°µà°°à±à°²à± à°¸à±à°µà± à°
à°µà±à°¤à±à°¨à±à°¨à°¾à°¯à°¿",savingDataError:"à°à° à°²à±à°ªà°®à± à°¸à°à°à°µà°¿à°à°à°¿à°¨à°¦à°¿ à°
à°à°¦à±à°à°¨à°¿ ఫలితాà°à°¶à°¾à°²à°¨à± à°¸à±à°µà± à°à±à°¯à°²à±à°à°ªà±à°¯à°¾à°®à± ",savingDataSuccess:"ఫలితాà°à°¶à°¾à°²à°¨à± విà°à°¯à°µà°à°¤à°à°à°¾ à°¸à±à°µà± à°à±à°¸à°¾à°®à±",savingExceedSize:"మౠపà±à°°à°¤à°¿à°¸à±à°ªà°à°¦à°¨ 64KBని మిà°à°à°¿à°ªà±à°¯à°¿à°à°¦à°¿. దయà°à±à°¸à°¿ మౠఫà±à°²à±(à°²à±) పరిమాణానà±à°¨à°¿ à°¤à°à±à°à°¿à°à°à°à°¡à°¿ మరియౠమళà±à°²à± à°ªà±à°°à°¯à°¤à±à°¨à°¿à°à°à°à°¡à°¿ à°²à±à°¦à°¾ సరà±à°µà± à°¯à°à°®à°¾à°¨à°¿à°¨à°¿ à°¸à°à°ªà±à°°à°¦à°¿à°à°à°à°¡à°¿.",saveAgainButton:"మళà±à°²à± à°ªà±à°°à°¯à°¤à±à°¨à°¿à°à°à±",timerMin:"నిమిషాలౠ",timerSec:"à°¸à±à°à°à°¡à±à°²à±",timerSpentAll:"à° à°ªà±à°à± à°ªà±à°¨ à°®à±à°°à±{0} à°à°ªà°¯à±à°à°¿à°à°à°¾à°°à± à°®à±à°¤à±à°¤à°à°à°¾ {1} à°à°ªà°¯à±à°à°¿à°à°à°¾à°°à±",timerSpentPage:"à° à°ªà±à°à± à°ªà±à°¨ à°®à±à°°à±{0} à°à°ªà°¯à±à°à°¿à°à°à°¾à°°à±",timerSpentSurvey:"à°®à±à°°à± à°®à±à°¤à±à°¤à°à°à°¾ {0} à°à°ªà°¯à±à°à°¿à°à°à°¾à°°à±",timerLimitAll:"à° à°ªà±à°à± à°ªà±à°¨ à°®à±à°°à± {1}లౠ{0} à°à°¾à°à°¾à°¨à±à°¨à°¿ à°à°ªà°¯à±à°à°¿à°à°à°¾à°°à±. à°®à±à°¤à°à°à°¾ {3}లౠ{2} à°à°¾à°à°¾à°¨à±à°¨à°¿ à°à°ªà°¯à±à°à°¿à°à°à°¾à°°à±.",timerLimitPage:"à° à°ªà±à°à±à°²à± à°®à±à°°à± {1}à°²à±à°¨à°¿{0} ని à°à°ªà°¯à±à°à°¿à°à°à°¾à°°à±",timerLimitSurvey:" à°®à±à°¤à±à°¤à°à°à°¾ à°®à±à°°à± {1} లౠ{0} ని à°à°ªà°¯à±à°à°¿à°à°à°¾à°°à± ",clearCaption:"à°¸à±à°ªà°·à±à°à°®à±",signaturePlaceHolder:"à°à°à±à°à°¡ à°¸à°à°¤à°à° à°à±à°¯à°à°¡à°¿",signaturePlaceHolderReadOnly:"à°¸à°à°¤à°à° à°²à±à°¦à±",chooseFileCaption:"à°«à±à°²à± à°à°à°à±à°à±à°à°¡à°¿",takePhotoCaption:"à°«à±à°à± à°¤à±à°¸à±à°à±à°à°¡à°¿",photoPlaceholder:"à°à±à°®à±à°°à°¾à°¨à± à°à°ªà°¯à±à°à°¿à°à°à°¿ à°«à±à°à± à°¤à±à°¯à°¡à°¾à°¨à°¿à°à°¿ దిà°à±à°µ à°¬à°à°¨à± à°®à±à°¦ à°à±à°²à°¿à°à± à°à±à°¯à°à°¡à°¿.",fileOrPhotoPlaceholder:"à°à±à°®à±à°°à°¾à°¨à± à°à°ªà°¯à±à°à°¿à°à°à°¿ à°«à±à°à±à°¨à± à°
పౠలà±à°¡à± à°à±à°¯à°¡à°¾à°¨à°¿à°à°¿ à°²à±à°¦à°¾ à°¤à±à°¯à°¡à°¾à°¨à°¿à°à°¿ à°«à±à°²à± నౠడà±à°°à°¾à°à± మరియౠడà±à°°à°¾à°ªà± à°à±à°¯à°à°¡à°¿ à°²à±à°¦à°¾ à°à°à°à±à°à±à°à°¡à°¿.",replaceFileCaption:"à°«à±à°²à± మారà±à°à°à°¡à°¿",removeFileCaption:"à° à°«à±à°²à± à°¤à±à°¸à±à°¯à°à°¡à°¿",booleanCheckedLabel:"à°
à°µà±à°¨à±",booleanUncheckedLabel:"à°²à±à°¦à±",confirmRemoveFile:" à° à°«à±à°²à±à°¨à°¿ à°¤à±à°¯à°¿à°à°à°¾à°²à°¨à°¿ à°®à±à°°à± à°à°à±à°à°¿à°¤à°à°à°¾ à°
à°¨à±à°à±à°à°à±à°¨à±à°¨à°¾à°°à°¾:{0} ?",confirmRemoveAllFiles:"à°
à°¨à±à°¨à°¿ à°«à±à°³à±à°²à°¨à± à°¤à±à°¸à±à°¯à°¾à°²à°¨à°¿ à°®à±à°°à± à°à°à±à°à°¿à°¤à°à°à°¾ à°
à°¨à±à°à±à°à°à±à°¨à±à°¨à°¾à°°à°¾",questionTitlePatternText:"à°ªà±à°°à°¶à±à°¨ à°¶à±à°°à±à°·à°¿à°",modalCancelButtonText:"à°°à°¦à±à°¦à±",modalApplyButtonText:"సరిపడà±",filterStringPlaceholder:"à°¶à±à°§à°¿à°à°à°¡à°¾à°¨à°¿à°à°¿ à°à±à°ªà± à°à±à°¯à°à°¡à°¿...",emptyMessage:"డిసౠపà±à°²à± à°à±à°¯à°¡à°¾à°¨à°¿à°à°¿ à°¡à±à°à°¾ à°²à±à°¦à±",noEntriesText:"à°à°à°à°¾ à°à°²à°¾à°à°à°¿ à°à°à°à±à°°à±à°²à± à°²à±à°µà±.\nà°à±à°¤à±à°¤ à°à°à°à±à°°à±à°¨à°¿ à°à±à°¡à°¿à°à°à°¡à° à°à±à°°à°à± దిà°à±à°µ à°¬à°à°¨à± à°®à±à°¦ à°à±à°²à°¿à°à± à°à±à°¯à°à°¡à°¿.",noEntriesReadonlyText:"à°à°²à°¾à°à°à°¿ à°à°à°à±à°°à±à°²à± à°²à±à°µà±.",tabTitlePlaceholder:"à°à±à°¤à±à°¤ à°ªà±à°¯à°¾à°¨à±à°²à±",more:"à°à°à±à°à±à°µ",tagboxDoneButtonCaption:"సరà±",selectToRankEmptyRankedAreaText:"à°
à°¨à±à°¨à°¿ à°à°à°ªà°¿à°à°²à± à°°à±à°¯à°¾à°à°à± à°à±à°¯à°¬à°¡à°¤à°¾à°¯à°¿",selectToRankEmptyUnrankedAreaText:"వాà°à°¿à°¨à°¿ à°°à±à°¯à°¾à°à°à± à°à±à°¯à°¡à° à°à±à°°à°à± à°à°à°ªà°¿à°à°²à°¨à± à°à°à±à°à°¡ à°¡à±à°°à°¾à°à± మరియౠడà±à°°à°¾à°ªà± à°à±à°¯à°à°¡à°¿",ok:"సరà±",cancel:"à°°à°¦à±à°¦à±"},nativeName:"telugu",englishName:"Telugu"});m({localeCode:"fil",strings:{pagePrevText:"Nakaraang",pageNextText:"Susunod",completeText:"Kumpleto",previewText:"Silipin",editText:"I-edit",startSurveyText:"Magsimula",otherItemText:"Iba pa (ilarawan)",noneItemText:"wala",refuseItemText:"Tumangging sumagot",dontKnowItemText:"hindi ko alam",selectAllItemText:"Piliin lahat",deselectAllItemText:"Alisin ang pagpili ng lahat",progressText:"Pahina {0} ng {1}",indexText:"{0} ng {1}",panelDynamicProgressText:"{0} ng {1}",panelDynamicTabTextFormat:"Panel {panelIndex}",questionsProgressText:"Sinagot ang {0}/{1} mga tanong",emptySurvey:"Ang survey ay hindi naglalaman ng anumang nakikitang elemento.",completingSurvey:"Salamat sa pagkumpleto ng survey",completingSurveyBefore:"Nakumpleto mo na ang survey na ito.",loadingSurvey:"Nilo-load ang Survey...",placeholder:"Pumili...",ratingOptionsCaption:"Pumili...",value:"halaga",requiredError:"Kinakailangan ang tugon.",requiredErrorInPanel:"Kinakailangan ang tugon: sagutin ang kahit isang tanong.",requiredInAllRowsError:"Kinakailangan ang tugon: sagutin ang mga tanong sa lahat ng row.",eachRowUniqueError:"Ang bawat hilera ay dapat may natatanging halaga.",numericError:"Ang halaga ay dapat na numero.",minError:"Ang halaga ay hindi dapat mas mababa sa {0}",maxError:"Ang halaga ay hindi dapat mas malaki sa {0}",textNoDigitsAllow:"Bawal ang mga numero.",textMinLength:"Mangyaring magpasok ng hindi bababa sa {0} (mga) character.",textMaxLength:"Mangyaring magpasok ng hindi hihigit sa {0} (mga) character.",textMinMaxLength:"Mangyaring magpasok ng hindi bababa sa {0} at hindi hihigit sa {1} (na) character.",minRowCountError:"Mangyaring punan ang hindi bababa sa {0} (na) hilera.",minSelectError:"Mangyaring pumili ng hindi bababa sa {0} (mga) opsyon.",maxSelectError:"Mangyaring pumili ng hindi hihigit sa {0} (mga) opsyon.",numericMinMax:"Ang '{0}' ay dapat na hindi bababa sa {1} at hindi hihigit sa {2}",numericMin:"Ang '{0}' ay dapat na hindi bababa sa {1}",numericMax:"Ang '{0}' ay dapat na hindi hihigit sa {1}",invalidEmail:"Mangyaring magpasok ng wastong e-mail address.",invalidExpression:"Ang expression na: {0} ay dapat magbalik ng 'true'.",urlRequestError:"Ang kahilingan ay nagbalik ng error na '{0}'. {1}",urlGetChoicesError:"Ang kahilingan ay nagbalik ng walang laman na data o ang 'path' property ay hindi tama",exceedMaxSize:"Ang laki ng file ay hindi dapat lumampas sa {0}.",noUploadFilesHandler:"Hindi ma-upload ang mga file. Mangyaring magdagdag ng handler para sa kaganapang 'onUploadFiles'.",otherRequiredError:"Kinakailangan ang tugon: maglagay ng isa pang halaga.",uploadingFile:"Ina-upload ang iyong file. Mangyaring maghintay ng ilang segundo at subukang muli.",loadingFile:"Naglo-load...",chooseFile:"Pumili ng (mga) file...",noFileChosen:"Walang napiling file",filePlaceholder:"I-drag at i-drop ang isang file dito o i-click ang button sa ibaba upang pumili ng file na ia-upload.",confirmDelete:"Sigurado ka bang gusto mong tanggalin ang talang ito?",keyDuplicationError:"Ang halagang ito ay dapat na natatangi.",addColumn:"Magdagdag ng Column",addRow:"Magdagdag ng hilera",removeRow:"Alisin",emptyRowsText:"Walang mga hilera.",addPanel:"Magdagdag ng bago",removePanel:"Alisin",showDetails:"Ipakita ang mga detalye",hideDetails:"Itago ang Mga Detalye",choices_Item:"aytem",matrix_column:"Kolum",matrix_row:"hilera",multipletext_itemname:"text",savingData:"Ang mga resulta ay sini-save sa server...",savingDataError:"May naganap na error at hindi namin mai-save ang mga resulta.",savingDataSuccess:"Matagumpay na na-save ang mga resulta!",savingExceedSize:"Ang iyong tugon ay lumampas sa 64KB. Mangyaring bawasan ang laki ng iyong (mga) file at subukang muli o makipag-ugnayan sa may-ari ng survey.",saveAgainButton:"Subukan muli",timerMin:"min",timerSec:"sec",timerSpentAll:"Gumastos ka ng {0} sa pahinang ito at {1} sa kabuuan.",timerSpentPage:"Gumastos ka ng {0} sa pahinang ito.",timerSpentSurvey:"Gumastos ka ng {0} sa kabuuan.",timerLimitAll:"Gumastos ka ng {0} ng {1} sa pahinang ito at {2} ng {3} sa kabuuan.",timerLimitPage:"Gumastos ka ng {0} sa {1} sa pahinang ito.",timerLimitSurvey:"Gumastos ka ng {0} sa {1} sa kabuuan.",clearCaption:"Maaliwalas",signaturePlaceHolder:"Pumirma dito",signaturePlaceHolderReadOnly:"Walang pirma",chooseFileCaption:"Piliin ang File",takePhotoCaption:"Kunan ng litrato",photoPlaceholder:"I-click ang button sa ibaba para kumuha ng larawan gamit ang camera.",fileOrPhotoPlaceholder:"I-drag at i-drop o pumili ng file na ia-upload o kumuha ng larawan gamit ang camera.",replaceFileCaption:"Palitan ang file",removeFileCaption:"Alisin ang file na ito",booleanCheckedLabel:"Oo",booleanUncheckedLabel:"Hindi",confirmRemoveFile:"Sigurado ka bang gusto mong alisin ang file na ito: {0}?",confirmRemoveAllFiles:"Sigurado ka bang gusto mong alisin ang lahat ng file?",questionTitlePatternText:"Pamagat ng Tanong",modalCancelButtonText:"Kanselahin",modalApplyButtonText:"Mag-apply",filterStringPlaceholder:"I-type para maghanap...",emptyMessage:"walang maipakitang datos",noEntriesText:"Wala pang entry.\nI-click ang button sa ibaba para magdagdag ng bagong entry.",noEntriesReadonlyText:"Walang entry",tabTitlePlaceholder:"Bagong Panel",more:"Higit pa",tagboxDoneButtonCaption:"OK",selectToRankEmptyRankedAreaText:"Ang lahat ng mga pagpipilian ay pinili para sa pagraranggo",selectToRankEmptyUnrankedAreaText:"I-drag ang mga pagpipilian dito upang i-rank ang mga ito",ok:"OK",cancel:"Kanselahin"},nativeName:"filipino",englishName:"Filipino"});m({localeCode:"sl",strings:{pagePrevText:"PrejÅ¡nja",pageNextText:"Naslednja",completeText:"ZakljuÄi",previewText:"Predogled",editText:"Uredi",startSurveyText:"ZaÄni",otherItemText:"Drugo (opiÅ¡ite)",noneItemText:"Noben",refuseItemText:"Zavrni odgovor",dontKnowItemText:"Ne vem",selectAllItemText:"Izberi vse",deselectAllItemText:"Odstrani izbiro",progressText:"Stran {0} od {1}",indexText:"{0} od {1}",panelDynamicProgressText:"{0} od {1}",panelDynamicTabTextFormat:"PloÅ¡Äa {panelIndex}",questionsProgressText:"Odgovorjeno {0}/{1} vpraÅ¡anj",emptySurvey:"Anketa ne vsebuje vidnih elementov.",completingSurvey:"Hvala, ker ste izpolnili anketo",completingSurveyBefore:"To anketo ste že izpolnili.",loadingSurvey:"Nalaganje ankete...",placeholder:"Izberite...",ratingOptionsCaption:"Izberite...",value:"vrednost",requiredError:"Odgovor je obvezen.",requiredErrorInPanel:"Obvezen odgovor: odgovorite na vsaj eno vpraÅ¡anje.",requiredInAllRowsError:"Obvezen odgovor: odgovorite na vsa vpraÅ¡anja v vrsticah.",eachRowUniqueError:"Vsaka vrstica mora imeti edinstveno vrednost.",numericError:"Vrednost mora biti Å¡tevilÄna.",minError:"Vrednost ne sme biti manjÅ¡a od {0}",maxError:"Vrednost ne sme biti veÄja od {0}",textNoDigitsAllow:"Å tevilke niso dovoljene.",textMinLength:"Vnesite vsaj {0} znakov.",textMaxLength:"Vnesite najveÄ {0} znakov.",textMinMaxLength:"Vnesite vsaj {0} in najveÄ {1} znakov.",minRowCountError:"Izpolnite vsaj {0} vrstic.",minSelectError:"Izberite vsaj {0} možnosti.",maxSelectError:"Izberite najveÄ {0} možnosti.",numericMinMax:"'{0}' mora biti vsaj {1} in najveÄ {2}",numericMin:"'{0}' mora biti vsaj {1}",numericMax:"'{0}' mora biti najveÄ {1}",invalidEmail:"Vnesite veljaven e-poÅ¡tni naslov.",invalidExpression:"Izraz: {0} mora vrniti 'true'.",urlRequestError:"Zahteva je vrnila napako '{0}'. {1}",urlGetChoicesError:"Zahteva je vrnila prazne podatke ali lastnost 'path' ni pravilna.",exceedMaxSize:"Velikost datoteke ne sme presegati {0}.",noUploadFilesHandler:"Datotek ni mogoÄe naložiti. Dodajte obravnavo za dogodek 'onUploadFiles'.",otherRequiredError:"Obvezen odgovor: vnesite drugo vrednost.",uploadingFile:"VaÅ¡a datoteka se nalaga. PoÄakajte nekaj sekund in poskusite znova.",loadingFile:"Nalaganje...",chooseFile:"Izberite datoteko...",noFileChosen:"Ni izbrane datoteke",filePlaceholder:"Povlecite in spustite datoteko tukaj ali kliknite spodnji gumb za izbiro datoteke za nalaganje.",confirmDelete:"Ste prepriÄani, da želite izbrisati ta zapis?",keyDuplicationError:"Ta vrednost mora biti edinstvena.",addColumn:"Dodaj stolpec",addRow:"Dodaj vrstico",removeRow:"Odstrani",noRowsText:"Ni vrstic.",addPanel:"Dodaj novo",removePanel:"Odstrani",showDetails:"Prikaži podrobnosti",hideDetails:"Skrij podrobnosti",choices_Item:"postavka",choices_Choice:"Možnost izbire",matrix_column:"Stolpec",matrix_row:"Vrstica",multipletext_itemname:"besedilo",savingData:"Rezultati se shranjujejo na strežnik...",savingDataError:"PriÅ¡lo je do napake in rezultatov ni bilo mogoÄe shraniti.",savingDataSuccess:"Rezultati so bili uspeÅ¡no shranjeni!",savingExceedSize:"VaÅ¡ odgovor presega 64 KB. ZmanjÅ¡ajte velikost datotek in poskusite znova ali se obrnite na lastnika ankete.",saveAgainButton:"Poskusite znova",timerMin:"min",timerSec:"sek",timerSpentAll:"Na tej strani ste porabili {0}, skupno {1}.",timerSpentPage:"Na tej strani ste porabili {0}.",timerSpentSurvey:"Skupaj ste porabili {0}.",timerLimitAll:"Na tej strani ste porabili {0} od {1} in skupno {2} od {3}.",timerLimitPage:"Na tej strani ste porabili {0} od {1}.",timerLimitSurvey:"Skupaj ste porabili {0} od {1}.",clearCaption:"PoÄisti",signaturePlaceHolder:"PodpiÅ¡ite se tukaj",signaturePlaceHolderReadOnly:"Ni podpisa",chooseFileCaption:"Izberi datoteko",takePhotoCaption:"Slikaj",photoPlaceholder:"Kliknite spodnji gumb, da posnamete fotografijo s kamero.",fileOrPhotoPlaceholder:"Povlecite in spustite datoteko za nalaganje ali posnemite fotografijo s kamero.",replaceFileCaption:"Zamenjaj datoteko",removeFileCaption:"Odstrani to datoteko",booleanCheckedLabel:"Da",booleanUncheckedLabel:"Ne",confirmRemoveFile:"Ste prepriÄani, da želite odstraniti to datoteko: {0}?",confirmRemoveAllFiles:"Ste prepriÄani, da želite odstraniti vse datoteke?",questionTitlePatternText:"Naslov vpraÅ¡anja",modalCancelButtonText:"PrekliÄi",modalApplyButtonText:"Uporabi",filterStringPlaceholder:"Vnesite za iskanje...",emptyMessage:"Ni podatkov za prikaz",noEntriesText:"Ni Å¡e vnosov.\nKliknite spodnji gumb za dodajanje novega vnosa.",noEntriesReadonlyText:"Ni vnosov",tabTitlePlaceholder:"Nova ploÅ¡Äa",more:"VeÄ",tagboxDoneButtonCaption:"V redu",selectToRankEmptyRankedAreaText:"Vse možnosti so izbrane za razvrÅ¡Äanje",selectToRankEmptyUnrankedAreaText:"Povlecite izbire sem, da jih razvrstite",ok:"V redu",cancel:"PrekliÄi"},nativeName:"slovenÅ¡Äina",englishName:"Slovenian"});var Ip=o;function Op(e){return this.each((function(){var t=e.model;t.updateSurvey(e);var n=e.popupModel||new Ml(null,t);void 0!==e.expanded&&(n.isExpanded=e.expanded),void 0!==e.isExpanded&&(n.isExpanded=e.isExpanded),void 0!==e.allowClose&&(n.allowClose=e.allowClose),void 0!==e.allowFullScreen&&(n.allowFullScreen=e.allowFullScreen),void 0!==e.closeOnCompleteTimeout&&(n.closeOnCompleteTimeout=e.closeOnCompleteTimeout),n.show()}))}r.a.fn.extend({Survey:function(e){return this.each((function(){var t=e.model;t.updateSurvey(e),t.render(this)}))},PopupSurvey:Op,SurveyWindow:Op}),Wi.platform="jquery",Al(o,Wi.platform)}])}));
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.