2024-10-04 08:47:17 +03:00
|
|
|
var ej=function(m){"use strict";var f="ej2_instances",y=0,_=!1;function v(e,t){return t.unshift(void 0),new(Function.prototype.bind.apply(e,t))}function b(t){var i,e=new Uint16Array(5),n=((window.msCrypto||window.crypto).getRandomValues(e),"ej2"+function(e){for(var t="",i=0;i<5;i++)t+=(i?",":"")+e[parseInt(i.toString(),10)];return t}(e)),o=function(e){e.source===window&&"string"==typeof e.data&&e.data.length<=32&&e.data===n&&(t(),i())};return window.addEventListener("message",o,!1),window.postMessage(n,"*"),i=function(){window.removeEventListener("message",o),t=o=n=void 0}}function B(e,t){for(var i=t,n=e.replace(/\[/g,".").replace(/\]/g,"").split("."),o=0;o<n.length&&!Y(i);o++)i=i[n[parseInt(o.toString(),10)]];return i}function x(e,t,i){for(var n,o=e.replace(/\[/g,".").replace(/\]/g,"").split("."),e=i||{},r=e,s=o.length,a=0;a<s;a++)n=o[parseInt(a.toString(),10)],a+1===s?r[""+n]=void 0===t?{}:t:ze(r[""+n])&&(r[""+n]={}),r=r[""+n];return e}function w(e,t){delete e[""+t]}var C="undefined"!=typeof window?window:{};function S(e){return!ze(e)&&e.constructor==={}.constructor}function D(e,t){return e[""+t]}function T(e,t){if(!ze(t))for(var i=e,n=t,o=0,r=Object.keys(t);o<r.length;o++){var s=r[o];ze(i.deepMerge)||-1===i.deepMerge.indexOf(s)||!S(n[""+s])&&!Array.isArray(n[""+s])?i[""+s]=n[""+s]:Ce(i[""+s],i[""+s],n[""+s],!0)}}function Ce(e,t,i,s){for(var a=e&&"object"==typeof e?e:{},n=arguments.length,o=[e,t,i,s],r=(s&&(n-=1),1);r<n;r++)!function(e){if(!o[parseInt(e.toString(),10)])return;var r=o[parseInt(e.toString(),10)];Object.keys(r).forEach(function(e){var t,i=a[""+e],n=r[""+e],o=Array.isArray(n)&&Array.isArray(i)&&n.length!==i.length,o=!_||!(i instanceof Event||o);s&&o&&(S(n)||Array.isArray(n))?S(n)?(t=i||{},Array.isArray(t)&&Object.prototype.hasOwnProperty.call(t,"isComplexArray")?Ce(t,{},n,s):a[""+e]=Ce(t,{},n,s)):(t=_?i&&Object.keys(n).length:i||[],a[""+e]=Ce([],t,n,t&&t.length||n&&n.length)):a[""+e]=n})}(r);return a}function ze(e){return null==e}function Y(e){return null==e}function k(e){return e+"_"+y++}function P(n,o){var r;return function(){for(var e=this,t=[],i=0;i<arguments.length;i++)t[i]=arguments[i];clearTimeout(r),r=setTimeout(function(){return r=null,n.apply(e,t)},o)}}function R(e){var t=Object.prototype.toString;return"[object Array]"===t.call(e)&&"[object Object]"===t.call(e[0])}function L(e,t){return e===t||!(e===document||!e)&&L(e.parentNode,t)}function O(e){try{throw new Error(e)}catch(e){throw new Error(e.message+"\n"+e.stack)}}function N(e,t){var i=document.createElement("div"),n=[].slice.call(document.getElementsByTagName("head")[0].querySelectorAll("base, link, style")),o=[].slice.call(document.getElementsByTagName("body")[0].querySelectorAll("link, style"));if(o.length)for(var r=0,s=o.length;r<s;r++)n.push(o[parseInt(r.toString(),10)]);var a="";ze(t)&&(t=window.open("","print","height=452,width=1024,tabbar=no")),i.appendChild(e.cloneNode(!0));for(var l=0,s=n.length;l<s;l++)a+=n[parseInt(l.toString(),10)].outerHTML;t.document.write("<!DOCTYPE html> <html><head>"+a+"</head><body>"+i.innerHTML+"<script> (function() { window.ready = true; })(); <\/script></body></html>"),t.document.close(),t.focus();var h=setInterval(function(){t.ready&&(t.print(),t.close(),clearInterval(h))},500);return t}function I(e){e+="";return e.match(/auto|cm|mm|in|px|pt|pc|%|em|ex|ch|rem|vw|vh|vmin|vmax/)?e:e+"px"}function V(){return _}function H(e){return e instanceof Node||!_||ze(e.xPath)?e:document.evaluate(e.xPath,document,null,XPathResult.FIRST_ORDERED_NODE_TYPE,null).singleNodeValue}function $(e,t){e="string"==typeof e?document.querySelector(e):e;if(e[f])for(var i=0,n=e[f];i<n.length;i++){var o=n[i];if(o instanceof t)return o}return null}function z(){var e;if("undefined"!=typeof window)return e=new Uint16Array(5),(window.msCrypto||window.crypto).getRandomValues(e)}var ee={latn:{_digits:"0123456789",_type:"numeric"}},ne={decimal:".",group:",",percentSign:"%",plusSign:"+",minusSign:"-",infinity:"∞",nan:"NaN",exponential:"E"},oe=[0,1,2,3,4,5,6,7,8,9],re=(se.getMainObject=function(e,t){return B(_?t:"main."+t,e)},se.getNumberin
|